Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit d7b429b

Browse files
authored
Move Spinner to components package (#11317)
1 parent 577279e commit d7b429b

File tree

6 files changed

+3
-3
lines changed

6 files changed

+3
-3
lines changed

assets/js/base/components/button/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
import { Button as WPButton } from 'wordpress-components';
55
import type { Button as WPButtonType } from '@wordpress/components';
66
import classNames from 'classnames';
7-
import Spinner from '@woocommerce/base-components/spinner';
87

98
/**
109
* Internal dependencies
1110
*/
1211
import './style.scss';
12+
import Spinner from '../../../../../packages/components/spinner';
1313

1414
export interface ButtonProps
1515
extends Omit< WPButtonType.ButtonProps, 'variant' | 'href' > {

assets/js/base/components/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export * from './reviews';
3030
export * from './sidebar-layout';
3131
export * from './snackbar-list';
3232
export * from './sort-select';
33-
export * from './spinner';
3433
export * from './state-input';
3534
export * from './summary';
3635
export * from './tabs';

assets/js/base/components/loading-mask/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
*/
44
import { __ } from '@wordpress/i18n';
55
import classNames from 'classnames';
6+
import { Spinner } from '@woocommerce/blocks-components';
67

78
/**
89
* Internal dependencies
910
*/
1011
import './style.scss';
11-
import Spinner from '../spinner';
1212

1313
interface LoadingMaskProps {
1414
children?: React.ReactNode | React.ReactNode[];

packages/components/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export { default as CheckboxList } from './checkbox-list';
22
export { default as FormattedMonetaryAmount } from './formatted-monetary-amount';
33
export { Chip, RemovableChip } from './chip';
4+
export { default as Spinner } from './spinner';
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)