react-magma-dom 5.1.0-rc.34 → 5.1.0-rc.35
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/dist/components/LoadingIndicator/index.d.ts +3 -3
- package/dist/components/Spinner/index.d.ts +4 -0
- package/dist/esm/index.js +1276 -45
- package/dist/esm/index.js.map +1 -1
- package/dist/properties.json +3 -3
- package/dist/react-magma-dom.cjs.development.js +57 -43
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -5,12 +5,12 @@ export interface LoadingIndicatorProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
5
5
|
*/
|
|
6
6
|
css?: any;
|
|
7
7
|
/**
|
|
8
|
-
* Message displayed for the first
|
|
8
|
+
* Message displayed for the first 5 seconds
|
|
9
9
|
* @default "Loading..."
|
|
10
10
|
*/
|
|
11
11
|
message1?: string;
|
|
12
12
|
/**
|
|
13
|
-
* Message displayed
|
|
13
|
+
* Message displayed after 5 seconds
|
|
14
14
|
* @default "Thank you for your patience. Still loading..."
|
|
15
15
|
*/
|
|
16
16
|
message2?: string;
|
|
@@ -20,7 +20,7 @@ export interface LoadingIndicatorProps extends React.HTMLAttributes<HTMLDivEleme
|
|
|
20
20
|
*/
|
|
21
21
|
message3?: string;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Value between 0 and 100 representing the percentage of progress
|
|
24
24
|
* @default 0
|
|
25
25
|
*/
|
|
26
26
|
percentage?: number;
|
|
@@ -25,5 +25,9 @@ export interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
25
25
|
* @internal
|
|
26
26
|
*/
|
|
27
27
|
testId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
hasMessage?: boolean;
|
|
28
32
|
}
|
|
29
33
|
export declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;
|