@wavv/ui 1.6.4 → 1.6.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +3 -3
- package/build/cjs/types/components/Spinner.d.ts +3 -1
- package/build/cjs/types/index.d.ts +1 -0
- package/build/cjs/types/utils/index.d.ts +1 -0
- package/build/cjs/types/utils/numberWithCommas.d.ts +2 -0
- package/build/esm/index.js +3 -3
- package/build/esm/types/components/Spinner.d.ts +3 -1
- package/build/esm/types/index.d.ts +1 -0
- package/build/esm/types/utils/index.d.ts +1 -0
- package/build/esm/types/utils/numberWithCommas.d.ts +2 -0
- package/build/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -10,6 +10,8 @@ type SpinnerProps = {
|
|
|
10
10
|
center?: boolean;
|
|
11
11
|
/** If center positioned, adds a background overlay behind the spinner */
|
|
12
12
|
background?: string | boolean;
|
|
13
|
+
/** If center positioned, specifies the zIndex of the spinner */
|
|
14
|
+
zIndex?: number;
|
|
13
15
|
} & Margin & Position;
|
|
14
|
-
declare const Spinner: ({ size, color, center, background, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
16
|
+
declare const Spinner: ({ size, color, center, background, zIndex, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
15
17
|
export default Spinner;
|
|
@@ -53,4 +53,5 @@ export { default as useConfirm } from './hooks/useConfirm';
|
|
|
53
53
|
export { default as useElementObserver } from './hooks/useElementObserver';
|
|
54
54
|
export { default as formatDate } from './utils/formatDate';
|
|
55
55
|
export { default as copyToClipboard } from './utils/copyToClipboard';
|
|
56
|
+
export { default as numberWithCommas } from './utils/numberWithCommas';
|
|
56
57
|
export { widthHeightProps, paddingProps, marginProps, positionProps } from './components/helpers/styledProps';
|
|
@@ -2,3 +2,4 @@ export { default as chunk } from './chunk';
|
|
|
2
2
|
export { default as range } from './range';
|
|
3
3
|
export { default as formatDate } from './formatDate';
|
|
4
4
|
export { default as copyToClipboard } from './copyToClipboard';
|
|
5
|
+
export { default as numberWithCommas } from './numberWithCommas';
|