@wavv/ui 1.6.2 → 1.6.4
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.
|
@@ -6,6 +6,10 @@ type SpinnerProps = {
|
|
|
6
6
|
size?: Sizes;
|
|
7
7
|
/** The color of the loading icon */
|
|
8
8
|
color?: string;
|
|
9
|
+
/** Center positions the Spinner absolutely */
|
|
10
|
+
center?: boolean;
|
|
11
|
+
/** If center positioned, adds a background overlay behind the spinner */
|
|
12
|
+
background?: string | boolean;
|
|
9
13
|
} & Margin & Position;
|
|
10
|
-
declare const Spinner: ({ size, color, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
14
|
+
declare const Spinner: ({ size, color, center, background, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
11
15
|
export default Spinner;
|
package/build/index.d.ts
CHANGED
|
@@ -2240,8 +2240,12 @@ type SpinnerProps = {
|
|
|
2240
2240
|
size?: Sizes;
|
|
2241
2241
|
/** The color of the loading icon */
|
|
2242
2242
|
color?: string;
|
|
2243
|
+
/** Center positions the Spinner absolutely */
|
|
2244
|
+
center?: boolean;
|
|
2245
|
+
/** If center positioned, adds a background overlay behind the spinner */
|
|
2246
|
+
background?: string | boolean;
|
|
2243
2247
|
} & Margin & Position$1;
|
|
2244
|
-
declare const Spinner: ({ size, color, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
2248
|
+
declare const Spinner: ({ size, color, center, background, margin, marginTop, marginBottom, marginRight, marginLeft, position, top, bottom, right, left, ...props }: SpinnerProps) => JSX.Element;
|
|
2245
2249
|
|
|
2246
2250
|
type Color = ColorNames | CSSProperties['color'];
|
|
2247
2251
|
type Item = {
|