@fluentui/react-spinner 9.0.0-beta.9 → 9.0.0-rc.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.
Files changed (38) hide show
  1. package/CHANGELOG.json +144 -1
  2. package/CHANGELOG.md +42 -2
  3. package/README.md +8 -7
  4. package/Spec.md +0 -2
  5. package/dist/index.d.ts +5 -12
  6. package/{lib → dist}/tsdoc-metadata.json +0 -0
  7. package/lib/components/Spinner/Spinner.types.js.map +1 -1
  8. package/lib/components/Spinner/renderSpinner.js +2 -3
  9. package/lib/components/Spinner/renderSpinner.js.map +1 -1
  10. package/lib/components/Spinner/useSpinner.js +1 -3
  11. package/lib/components/Spinner/useSpinner.js.map +1 -1
  12. package/lib/components/Spinner/useSpinnerStyles.js +41 -54
  13. package/lib/components/Spinner/useSpinnerStyles.js.map +1 -1
  14. package/lib-commonjs/components/Spinner/renderSpinner.js +2 -3
  15. package/lib-commonjs/components/Spinner/renderSpinner.js.map +1 -1
  16. package/lib-commonjs/components/Spinner/useSpinner.js +1 -3
  17. package/lib-commonjs/components/Spinner/useSpinner.js.map +1 -1
  18. package/lib-commonjs/components/Spinner/useSpinnerStyles.js +40 -53
  19. package/lib-commonjs/components/Spinner/useSpinnerStyles.js.map +1 -1
  20. package/package.json +7 -7
  21. package/lib/Spinner.d.ts +0 -1
  22. package/lib/components/Spinner/DefaultSvg.d.ts +0 -1
  23. package/lib/components/Spinner/Spinner.d.ts +0 -6
  24. package/lib/components/Spinner/Spinner.types.d.ts +0 -51
  25. package/lib/components/Spinner/index.d.ts +0 -5
  26. package/lib/components/Spinner/renderSpinner.d.ts +0 -5
  27. package/lib/components/Spinner/useSpinner.d.ts +0 -12
  28. package/lib/components/Spinner/useSpinnerStyles.d.ts +0 -7
  29. package/lib/index.d.ts +0 -2
  30. package/lib-commonjs/Spinner.d.ts +0 -1
  31. package/lib-commonjs/components/Spinner/DefaultSvg.d.ts +0 -1
  32. package/lib-commonjs/components/Spinner/Spinner.d.ts +0 -6
  33. package/lib-commonjs/components/Spinner/Spinner.types.d.ts +0 -51
  34. package/lib-commonjs/components/Spinner/index.d.ts +0 -5
  35. package/lib-commonjs/components/Spinner/renderSpinner.d.ts +0 -5
  36. package/lib-commonjs/components/Spinner/useSpinner.d.ts +0 -12
  37. package/lib-commonjs/components/Spinner/useSpinnerStyles.d.ts +0 -7
  38. package/lib-commonjs/index.d.ts +0 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,150 @@
2
2
  "name": "@fluentui/react-spinner",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 05 May 2022 18:24:37 GMT",
5
+ "date": "Thu, 26 May 2022 21:00:05 GMT",
6
+ "tag": "@fluentui/react-spinner_v9.0.0-rc.4",
7
+ "version": "9.0.0-rc.4",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "author": "sarah.higley@microsoft.com",
12
+ "package": "@fluentui/react-spinner",
13
+ "commit": "557ee9e396b4072ce539e5a2f8230d78d644adeb",
14
+ "comment": "fix Spinner on Firefox: add px units to r values"
15
+ },
16
+ {
17
+ "author": "sarah.higley@microsoft.com",
18
+ "package": "@fluentui/react-spinner",
19
+ "commit": "016c8e6d0984c27bfb0bb95abf207ce5a5a2c077",
20
+ "comment": "add prefers-reduced-motion to spinner"
21
+ },
22
+ {
23
+ "author": "olfedias@microsoft.com",
24
+ "package": "@fluentui/react-spinner",
25
+ "commit": "519ec97161849b2d6adbaa6ef56d28c92b10d71e",
26
+ "comment": "updates to docs"
27
+ }
28
+ ],
29
+ "prerelease": [
30
+ {
31
+ "author": "ololubek@microsoft.com",
32
+ "package": "@fluentui/react-spinner",
33
+ "commit": "d5593311dc3a5f63d3b239e52a5c34db33af54c2",
34
+ "comment": "BREAKING: Remove `status` prop in Spinner"
35
+ },
36
+ {
37
+ "author": "beachball",
38
+ "package": "@fluentui/react-spinner",
39
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.4",
40
+ "commit": "3cf55ce998048554bf6a550de44403843ea8ede0"
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "date": "Mon, 23 May 2022 18:56:51 GMT",
47
+ "tag": "@fluentui/react-spinner_v9.0.0-rc.3",
48
+ "version": "9.0.0-rc.3",
49
+ "comments": {
50
+ "prerelease": [
51
+ {
52
+ "author": "beachball",
53
+ "package": "@fluentui/react-spinner",
54
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
55
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
56
+ },
57
+ {
58
+ "author": "beachball",
59
+ "package": "@fluentui/react-spinner",
60
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.3",
61
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
62
+ },
63
+ {
64
+ "author": "beachball",
65
+ "package": "@fluentui/react-spinner",
66
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7",
67
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
68
+ }
69
+ ]
70
+ }
71
+ },
72
+ {
73
+ "date": "Mon, 23 May 2022 12:13:44 GMT",
74
+ "tag": "@fluentui/react-spinner_v9.0.0-rc.2",
75
+ "version": "9.0.0-rc.2",
76
+ "comments": {
77
+ "prerelease": [
78
+ {
79
+ "author": "olfedias@microsoft.com",
80
+ "package": "@fluentui/react-spinner",
81
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
82
+ "comment": "chore: Update Griffel to latest version"
83
+ },
84
+ {
85
+ "author": "olfedias@microsoft.com",
86
+ "package": "@fluentui/react-spinner",
87
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
88
+ "comment": "chore: Update Griffel to latest version"
89
+ },
90
+ {
91
+ "author": "ololubek@microsoft.com",
92
+ "package": "@fluentui/react-spinner",
93
+ "commit": "8ab3a2ac23ee12d9b5fbd72d3b4593fb3691209b",
94
+ "comment": "Migrate react-spinner to rc"
95
+ },
96
+ {
97
+ "author": "Humberto.Morimoto@microsoft.com",
98
+ "package": "@fluentui/react-spinner",
99
+ "commit": "7327426c7b1a5469fb25f705ef2c1c1367b1633d",
100
+ "comment": "Removing SpinnerCommons type."
101
+ },
102
+ {
103
+ "author": "esteban.230@hotmail.com",
104
+ "package": "@fluentui/react-spinner",
105
+ "commit": "0fac2d7a6f35c5fcebaf30da68b9604410fe0eb9",
106
+ "comment": "Updated react-label package version to RC."
107
+ },
108
+ {
109
+ "author": "gcox@microsoft.com",
110
+ "package": "@fluentui/react-spinner",
111
+ "commit": "06e13fdfd614eb965e922dec138a1e6df902b16e",
112
+ "comment": "Updated to use tokens were possible"
113
+ },
114
+ {
115
+ "author": "martinhochel@microsoft.com",
116
+ "package": "@fluentui/react-spinner",
117
+ "commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
118
+ "comment": "feat: ship rolluped only dts"
119
+ },
120
+ {
121
+ "author": "beachball",
122
+ "package": "@fluentui/react-spinner",
123
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
124
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
125
+ },
126
+ {
127
+ "author": "beachball",
128
+ "package": "@fluentui/react-spinner",
129
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.2",
130
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
131
+ },
132
+ {
133
+ "author": "beachball",
134
+ "package": "@fluentui/react-spinner",
135
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
136
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
137
+ },
138
+ {
139
+ "author": "beachball",
140
+ "package": "@fluentui/react-spinner",
141
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6",
142
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
143
+ }
144
+ ]
145
+ }
146
+ },
147
+ {
148
+ "date": "Thu, 05 May 2022 18:26:30 GMT",
6
149
  "tag": "@fluentui/react-spinner_v9.0.0-beta.9",
7
150
  "version": "9.0.0-beta.9",
8
151
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,52 @@
1
1
  # Change Log - @fluentui/react-spinner
2
2
 
3
- This log was last generated on Thu, 05 May 2022 18:24:37 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 26 May 2022 21:00:05 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v9.0.0-rc.4)
8
+
9
+ Thu, 26 May 2022 21:00:05 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-rc.3..@fluentui/react-spinner_v9.0.0-rc.4)
11
+
12
+ ### Changes
13
+
14
+ - BREAKING: Remove `status` prop in Spinner ([PR #23204](https://github.com/microsoft/fluentui/pull/23204) by ololubek@microsoft.com)
15
+ - Bump @fluentui/react-label to v9.0.0-rc.4 ([PR #23267](https://github.com/microsoft/fluentui/pull/23267) by beachball)
16
+
17
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v9.0.0-rc.3)
18
+
19
+ Mon, 23 May 2022 18:56:51 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-rc.2..@fluentui/react-spinner_v9.0.0-rc.3)
21
+
22
+ ### Changes
23
+
24
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
25
+ - Bump @fluentui/react-label to v9.0.0-rc.3 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
26
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
27
+
28
+ ## [9.0.0-rc.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v9.0.0-rc.2)
29
+
30
+ Mon, 23 May 2022 12:13:44 GMT
31
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-beta.9..@fluentui/react-spinner_v9.0.0-rc.2)
32
+
33
+ ### Changes
34
+
35
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
36
+ - chore: Update Griffel to latest version ([PR #23029](https://github.com/microsoft/fluentui/pull/23029) by olfedias@microsoft.com)
37
+ - Migrate react-spinner to rc ([PR #23009](https://github.com/microsoft/fluentui/pull/23009) by ololubek@microsoft.com)
38
+ - Removing SpinnerCommons type. ([PR #22954](https://github.com/microsoft/fluentui/pull/22954) by Humberto.Morimoto@microsoft.com)
39
+ - Updated react-label package version to RC. ([PR #22865](https://github.com/microsoft/fluentui/pull/22865) by esteban.230@hotmail.com)
40
+ - Updated to use tokens were possible ([PR #22949](https://github.com/microsoft/fluentui/pull/22949) by gcox@microsoft.com)
41
+ - feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
42
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
43
+ - Bump @fluentui/react-label to v9.0.0-rc.2 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
44
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
45
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
46
+
7
47
  ## [9.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-spinner_v9.0.0-beta.9)
8
48
 
9
- Thu, 05 May 2022 18:24:37 GMT
49
+ Thu, 05 May 2022 18:26:30 GMT
10
50
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-spinner_v9.0.0-beta.8..@fluentui/react-spinner_v9.0.0-beta.9)
11
51
 
12
52
  ### Changes
package/README.md CHANGED
@@ -4,8 +4,6 @@
4
4
 
5
5
  The Spinner is an outline of a circle which animates around itself indicating to the user that things are processing. Spinner is typically an indeterminate ProgressIndicator that is used when it is unknown how long a task will take to complete. They can be various sizes, located inline with content or centered. They generally appear while an action is being processed or committed. They are subtle and generally do not take up much space, but are transitions from the completed task
6
6
 
7
- These are not production-ready components and **should never be used in product**. This space is useful for testing new components whose APIs might change before final release.
8
-
9
7
  ## Usage
10
8
 
11
9
  To import Spinner:
@@ -14,15 +12,18 @@ To import Spinner:
14
12
  import { Spinner } from '@fluentui/react-spinner';
15
13
  ```
16
14
 
17
- Once the Spinner component is ready for production use, the component will be available at:
15
+ ### Examples
18
16
 
19
17
  ```js
20
- import { Spinner } from '@fluentui/react-components';
18
+ <Spinner label="Loading..." />
19
+ <Spinner size="large" />
21
20
  ```
22
21
 
23
- ### Examples
22
+ #### Rendering Spinner without the animated circle
23
+
24
+ You can directly override the Spinner slot to render a Spinner without the animated circle, as shown below
24
25
 
25
26
  ```js
26
- <Spinner label="Loading..." />
27
- <Spinner size="large" />
27
+ <Spinner spinner='' appearance="primary" label="Primary Spinner" />
28
+ <Spinner spinner={{style:{visibility: 'hidden'}}} appearance="inverted" label="Inverted Spinner" />
28
29
  ```
package/Spec.md CHANGED
@@ -88,8 +88,6 @@ export type SpinnerProps = ComponentProps &
88
88
  /* The size prop sets the size of the Spinner
89
89
  * @defaultValue "medium"*/
90
90
  size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge',
91
- // inactive ? : boolean
92
- status?: 'active' | 'inactive',
93
91
  };
94
92
  ```
95
93
 
package/dist/index.d.ts CHANGED
@@ -18,7 +18,10 @@ export declare const Spinner: ForwardRefComponent<SpinnerProps>;
18
18
 
19
19
  export declare const spinnerClassNames: SlotClassNames<SpinnerSlots>;
20
20
 
21
- declare type SpinnerCommons = {
21
+ /**
22
+ * Spinner Props
23
+ */
24
+ export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {
22
25
  /**
23
26
  * The appearance of the Spinner.
24
27
  * @default 'primary'
@@ -34,18 +37,8 @@ declare type SpinnerCommons = {
34
37
  * @default 'medium'
35
38
  */
36
39
  size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';
37
- /**
38
- * The status of the Spinner.
39
- * @default 'active'
40
- */
41
- status?: 'active' | 'inactive';
42
40
  };
43
41
 
44
- /**
45
- * Spinner Props
46
- */
47
- export declare type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;
48
-
49
42
  export declare type SpinnerSlots = {
50
43
  /**
51
44
  * The root of the Spinner.
@@ -68,7 +61,7 @@ export declare type SpinnerSlots = {
68
61
  /**
69
62
  * State used in rendering Spinner
70
63
  */
71
- export declare type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;
64
+ export declare type SpinnerState = ComponentState<SpinnerSlots> & Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size'>>;
72
65
 
73
66
  /**
74
67
  * Create the state required to render Spinner.
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.types.js","sourceRoot":"../src/","sources":["components/Spinner/Spinner.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { Label } from '@fluentui/react-label';\n\nexport type SpinnerSlots = {\n /**\n * The root of the Spinner.\n * The root slot receives the `className` and `style` specified directly on the `<Spinner>`.\n */\n root: NonNullable<Slot<'div'>>;\n /**\n * The slot for the animated svg.\n * The spinner slot receives the `className` and `style` that handles the spinning animation.\n * An svg is also rendered as a child of this slot\n */\n spinner?: Slot<'span'>;\n /**\n * The label of the Slider.\n * The label slot receives the styling related to the text associated with the Spinner.\n */\n label?: Slot<typeof Label>;\n};\n\ntype SpinnerCommons = {\n /**\n * The appearance of the Spinner.\n * @default 'primary'\n */\n appearance?: 'primary' | 'inverted';\n\n /**\n * Where the label is positioned relative to the Spinner\n * @default 'after'\n */\n labelPosition?: 'above' | 'below' | 'before' | 'after';\n\n /**\n * The size of the spinner.\n * @default 'medium'\n */\n size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n\n /**\n * The status of the Spinner.\n * @default 'active'\n */\n status?: 'active' | 'inactive';\n};\n\n/**\n * Spinner Props\n */\nexport type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & Partial<SpinnerCommons>;\n\n/**\n * State used in rendering Spinner\n */\nexport type SpinnerState = ComponentState<SpinnerSlots> & SpinnerCommons;\n"]}
1
+ {"version":3,"file":"Spinner.types.js","sourceRoot":"../src/","sources":["components/Spinner/Spinner.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\nimport { Label } from '@fluentui/react-label';\n\nexport type SpinnerSlots = {\n /**\n * The root of the Spinner.\n * The root slot receives the `className` and `style` specified directly on the `<Spinner>`.\n */\n root: NonNullable<Slot<'div'>>;\n /**\n * The slot for the animated svg.\n * The spinner slot receives the `className` and `style` that handles the spinning animation.\n * An svg is also rendered as a child of this slot\n */\n spinner?: Slot<'span'>;\n /**\n * The label of the Slider.\n * The label slot receives the styling related to the text associated with the Spinner.\n */\n label?: Slot<typeof Label>;\n};\n\n/**\n * Spinner Props\n */\nexport type SpinnerProps = Omit<ComponentProps<SpinnerSlots>, 'size'> & {\n /**\n * The appearance of the Spinner.\n * @default 'primary'\n */\n appearance?: 'primary' | 'inverted';\n\n /**\n * Where the label is positioned relative to the Spinner\n * @default 'after'\n */\n labelPosition?: 'above' | 'below' | 'before' | 'after';\n\n /**\n * The size of the spinner.\n * @default 'medium'\n */\n size?: 'tiny' | 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large' | 'huge';\n};\n\n/**\n * State used in rendering Spinner\n */\nexport type SpinnerState = ComponentState<SpinnerSlots> &\n Required<Pick<SpinnerProps, 'appearance' | 'labelPosition' | 'size'>>;\n"]}
@@ -10,12 +10,11 @@ export const renderSpinner_unstable = state => {
10
10
  slotProps
11
11
  } = getSlots(state);
12
12
  const {
13
- labelPosition,
14
- status
13
+ labelPosition
15
14
  } = state;
16
15
  return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
17
16
  }, slots.label && (labelPosition === 'above' || labelPosition === 'before') && /*#__PURE__*/React.createElement(slots.label, { ...slotProps.label
18
- }), slots.spinner && status === 'active' && /*#__PURE__*/React.createElement(slots.spinner, { ...slotProps.spinner
17
+ }), slots.spinner && /*#__PURE__*/React.createElement(slots.spinner, { ...slotProps.spinner
19
18
  }), slots.label && (labelPosition === 'below' || labelPosition === 'after') && /*#__PURE__*/React.createElement(slots.label, { ...slotProps.label
20
19
  }));
21
20
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Spinner/renderSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,sBAAsB,GAAI,KAAD,IAAwB;AAC5D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAe,KAAf,CAArC;AACA,QAAM;AAAE,IAAA,aAAF;AAAiB,IAAA;AAAjB,MAA4B,KAAlC;AACA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,KAAN,KAAgB,aAAa,KAAK,OAAlB,IAA6B,aAAa,KAAK,QAA/D,kBAA4E,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CAD/E,EAEG,KAAK,CAAC,OAAN,IAAiB,MAAM,KAAK,QAA5B,iBAAwC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAF3C,EAGG,KAAK,CAAC,KAAN,KAAgB,aAAa,KAAK,OAAlB,IAA6B,aAAa,KAAK,OAA/D,kBAA2E,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CAH9E,CADF;AAOD,CAVM","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { SpinnerState, SpinnerSlots } from './Spinner.types';\n\n/**\n * Render the final JSX of Spinner\n */\nexport const renderSpinner_unstable = (state: SpinnerState) => {\n const { slots, slotProps } = getSlots<SpinnerSlots>(state);\n const { labelPosition, status } = state;\n return (\n <slots.root {...slotProps.root}>\n {slots.label && (labelPosition === 'above' || labelPosition === 'before') && <slots.label {...slotProps.label} />}\n {slots.spinner && status === 'active' && <slots.spinner {...slotProps.spinner} />}\n {slots.label && (labelPosition === 'below' || labelPosition === 'after') && <slots.label {...slotProps.label} />}\n </slots.root>\n );\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Spinner/renderSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,sBAAsB,GAAI,KAAD,IAAwB;AAC5D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAe,KAAf,CAArC;AACA,QAAM;AAAE,IAAA;AAAF,MAAoB,KAA1B;AACA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,KAAK,CAAC,KAAN,KAAgB,aAAa,KAAK,OAAlB,IAA6B,aAAa,KAAK,QAA/D,kBAA4E,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CAD/E,EAEG,KAAK,CAAC,OAAN,iBAAiB,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,OAAP,EAAc,EAAA,GAAK,SAAS,CAAC;AAAf,GAAd,CAFpB,EAGG,KAAK,CAAC,KAAN,KAAgB,aAAa,KAAK,OAAlB,IAA6B,aAAa,KAAK,OAA/D,kBAA2E,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,KAAP,EAAY,EAAA,GAAK,SAAS,CAAC;AAAf,GAAZ,CAH9E,CADF;AAOD,CAVM","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { SpinnerState, SpinnerSlots } from './Spinner.types';\n\n/**\n * Render the final JSX of Spinner\n */\nexport const renderSpinner_unstable = (state: SpinnerState) => {\n const { slots, slotProps } = getSlots<SpinnerSlots>(state);\n const { labelPosition } = state;\n return (\n <slots.root {...slotProps.root}>\n {slots.label && (labelPosition === 'above' || labelPosition === 'before') && <slots.label {...slotProps.label} />}\n {slots.spinner && <slots.spinner {...slotProps.spinner} />}\n {slots.label && (labelPosition === 'below' || labelPosition === 'after') && <slots.label {...slotProps.label} />}\n </slots.root>\n );\n};\n"],"sourceRoot":"../src/"}
@@ -17,8 +17,7 @@ export const useSpinner_unstable = (props, ref) => {
17
17
  const {
18
18
  appearance = 'primary',
19
19
  labelPosition = 'after',
20
- size = 'medium',
21
- status = 'active'
20
+ size = 'medium'
22
21
  } = props;
23
22
  const baseId = useId('spinner');
24
23
  const {
@@ -51,7 +50,6 @@ export const useSpinner_unstable = (props, ref) => {
51
50
  appearance,
52
51
  labelPosition,
53
52
  size,
54
- status,
55
53
  components: {
56
54
  root: 'div',
57
55
  spinner: 'span',
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Spinner/useSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,gBAAhC,EAAkD,KAAlD,QAA+D,2BAA/D;AAEA,SAAS,KAAT,QAAsB,uBAAtB;AACA,SAAS,UAAT,QAA2B,cAA3B;AAEA;;;;;;;;AAQG;;AACH,OAAO,MAAM,mBAAmB,GAAG,CAAC,KAAD,EAAsB,GAAtB,KAAmE;AACpG;AACA,QAAM;AAAE,IAAA,UAAU,GAAG,SAAf;AAA0B,IAAA,aAAa,GAAG,OAA1C;AAAmD,IAAA,IAAI,GAAG,QAA1D;AAAoE,IAAA,MAAM,GAAG;AAA7E,MAA0F,KAAhG;AACA,QAAM,MAAM,GAAG,KAAK,CAAC,SAAD,CAApB;AAEA,QAAM;AAAE,IAAA,QAAF;AAAY,OAAG;AAAf,MAAwB,KAA9B;AACA,QAAM,UAAU,GAAG,qBAAqB,CAAC,KAAD,EAAQ;AAAE,IAAA,GAAF;AAAO,OAAG;AAAV,GAAR,EAA0B,CAAC,MAAD,CAA1B,CAAxC;AAEA,QAAM,cAAc,GAAG,gBAAgB,CAAC,KAAK,CAAC,KAAP,EAAc;AACnD,IAAA,YAAY,EAAE;AACZ,MAAA,EAAE,EAAE;AADQ,KADqC;AAInD,IAAA,QAAQ,EAAE;AAJyC,GAAd,CAAvC;AAOA,QAAM,gBAAgB,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAP,EAAgB;AACvD,IAAA,QAAQ,EAAE,IAD6C;AAEvD,IAAA,YAAY,EAAE;AACZ,MAAA,QAAQ,eAAE,KAAA,CAAA,aAAA,CAAC,UAAD,EAAW,IAAX,CADE;AAEZ,MAAA;AAFY;AAFyC,GAAhB,CAAzC;;AAQA,MAAI,cAAc,IAAI,gBAAlB,IAAsC,CAAC,gBAAgB,CAAC,iBAAD,CAA3D,EAAgF;AAC9E,IAAA,gBAAgB,CAAC,iBAAD,CAAhB,GAAsC,cAAc,CAAC,EAArD;AACD;;AAED,QAAM,KAAK,GAAiB;AAC1B,IAAA,UAD0B;AAE1B,IAAA,aAF0B;AAG1B,IAAA,IAH0B;AAI1B,IAAA,MAJ0B;AAK1B,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,OAAO,EAAE,MAFC;AAGV,MAAA,KAAK,EAAE;AAHG,KALc;AAU1B,IAAA,IAAI,EAAE,UAVoB;AAW1B,IAAA,OAAO,EAAE,gBAXiB;AAY1B,IAAA,KAAK,EAAE;AAZmB,GAA5B;AAcA,SAAO,KAAP;AACD,CA1CM","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-utilities';\nimport type { SpinnerProps, SpinnerState } from './Spinner.types';\nimport { Label } from '@fluentui/react-label';\nimport { DefaultSvg } from './DefaultSvg';\n\n/**\n * Create the state required to render Spinner.\n *\n * The returned state can be modified with hooks such as useSpinnerStyles_unstable,\n * before being passed to renderSpinner_unstable.\n *\n * @param props - props from this instance of Spinner\n * @param ref - reference to root HTMLElement of Spinner\n */\nexport const useSpinner_unstable = (props: SpinnerProps, ref: React.Ref<HTMLElement>): SpinnerState => {\n // Props\n const { appearance = 'primary', labelPosition = 'after', size = 'medium', status = 'active' } = props;\n const baseId = useId('spinner');\n\n const { tabIndex, ...rest } = props;\n const nativeRoot = getNativeElementProps('div', { ref, ...rest }, ['size']);\n\n const labelShorthand = resolveShorthand(props.label, {\n defaultProps: {\n id: baseId,\n },\n required: false,\n });\n\n const spinnerShortHand = resolveShorthand(props.spinner, {\n required: true,\n defaultProps: {\n children: <DefaultSvg />,\n tabIndex,\n },\n });\n\n if (labelShorthand && spinnerShortHand && !spinnerShortHand['aria-labelledby']) {\n spinnerShortHand['aria-labelledby'] = labelShorthand.id;\n }\n\n const state: SpinnerState = {\n appearance,\n labelPosition,\n size,\n status,\n components: {\n root: 'div',\n spinner: 'span',\n label: Label,\n },\n root: nativeRoot,\n spinner: spinnerShortHand,\n label: labelShorthand,\n };\n return state;\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Spinner/useSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,qBAAT,EAAgC,gBAAhC,EAAkD,KAAlD,QAA+D,2BAA/D;AAEA,SAAS,KAAT,QAAsB,uBAAtB;AACA,SAAS,UAAT,QAA2B,cAA3B;AAEA;;;;;;;;AAQG;;AACH,OAAO,MAAM,mBAAmB,GAAG,CAAC,KAAD,EAAsB,GAAtB,KAAmE;AACpG;AACA,QAAM;AAAE,IAAA,UAAU,GAAG,SAAf;AAA0B,IAAA,aAAa,GAAG,OAA1C;AAAmD,IAAA,IAAI,GAAG;AAA1D,MAAuE,KAA7E;AACA,QAAM,MAAM,GAAG,KAAK,CAAC,SAAD,CAApB;AAEA,QAAM;AAAE,IAAA,QAAF;AAAY,OAAG;AAAf,MAAwB,KAA9B;AACA,QAAM,UAAU,GAAG,qBAAqB,CAAC,KAAD,EAAQ;AAAE,IAAA,GAAF;AAAO,OAAG;AAAV,GAAR,EAA0B,CAAC,MAAD,CAA1B,CAAxC;AAEA,QAAM,cAAc,GAAG,gBAAgB,CAAC,KAAK,CAAC,KAAP,EAAc;AACnD,IAAA,YAAY,EAAE;AACZ,MAAA,EAAE,EAAE;AADQ,KADqC;AAInD,IAAA,QAAQ,EAAE;AAJyC,GAAd,CAAvC;AAOA,QAAM,gBAAgB,GAAG,gBAAgB,CAAC,KAAK,CAAC,OAAP,EAAgB;AACvD,IAAA,QAAQ,EAAE,IAD6C;AAEvD,IAAA,YAAY,EAAE;AACZ,MAAA,QAAQ,eAAE,KAAA,CAAA,aAAA,CAAC,UAAD,EAAW,IAAX,CADE;AAEZ,MAAA;AAFY;AAFyC,GAAhB,CAAzC;;AAQA,MAAI,cAAc,IAAI,gBAAlB,IAAsC,CAAC,gBAAgB,CAAC,iBAAD,CAA3D,EAAgF;AAC9E,IAAA,gBAAgB,CAAC,iBAAD,CAAhB,GAAsC,cAAc,CAAC,EAArD;AACD;;AAED,QAAM,KAAK,GAAiB;AAC1B,IAAA,UAD0B;AAE1B,IAAA,aAF0B;AAG1B,IAAA,IAH0B;AAI1B,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,KADI;AAEV,MAAA,OAAO,EAAE,MAFC;AAGV,MAAA,KAAK,EAAE;AAHG,KAJc;AAS1B,IAAA,IAAI,EAAE,UAToB;AAU1B,IAAA,OAAO,EAAE,gBAViB;AAW1B,IAAA,KAAK,EAAE;AAXmB,GAA5B;AAaA,SAAO,KAAP;AACD,CAzCM","sourcesContent":["import * as React from 'react';\nimport { getNativeElementProps, resolveShorthand, useId } from '@fluentui/react-utilities';\nimport type { SpinnerProps, SpinnerState } from './Spinner.types';\nimport { Label } from '@fluentui/react-label';\nimport { DefaultSvg } from './DefaultSvg';\n\n/**\n * Create the state required to render Spinner.\n *\n * The returned state can be modified with hooks such as useSpinnerStyles_unstable,\n * before being passed to renderSpinner_unstable.\n *\n * @param props - props from this instance of Spinner\n * @param ref - reference to root HTMLElement of Spinner\n */\nexport const useSpinner_unstable = (props: SpinnerProps, ref: React.Ref<HTMLElement>): SpinnerState => {\n // Props\n const { appearance = 'primary', labelPosition = 'after', size = 'medium' } = props;\n const baseId = useId('spinner');\n\n const { tabIndex, ...rest } = props;\n const nativeRoot = getNativeElementProps('div', { ref, ...rest }, ['size']);\n\n const labelShorthand = resolveShorthand(props.label, {\n defaultProps: {\n id: baseId,\n },\n required: false,\n });\n\n const spinnerShortHand = resolveShorthand(props.spinner, {\n required: true,\n defaultProps: {\n children: <DefaultSvg />,\n tabIndex,\n },\n });\n\n if (labelShorthand && spinnerShortHand && !spinnerShortHand['aria-labelledby']) {\n spinnerShortHand['aria-labelledby'] = labelShorthand.id;\n }\n\n const state: SpinnerState = {\n appearance,\n labelPosition,\n size,\n components: {\n root: 'div',\n spinner: 'span',\n label: Label,\n },\n root: nativeRoot,\n spinner: spinnerShortHand,\n label: labelShorthand,\n };\n return state;\n};\n"],"sourceRoot":"../src/"}
@@ -1,5 +1,5 @@
1
1
  import { __styles, mergeClasses, shorthands } from '@griffel/react';
2
- import { tokens } from '@fluentui/react-theme';
2
+ import { tokens, typographyStyles } from '@fluentui/react-theme';
3
3
  export const spinnerClassNames = {
4
4
  root: 'fui-Spinner',
5
5
  spinner: 'fui-Spinner__spinner',
@@ -11,13 +11,13 @@ export const spinnerClassNames = {
11
11
  */
12
12
 
13
13
  const rValues = {
14
- tiny: '9',
15
- extraSmall: '11',
16
- small: '13',
17
- medium: '14.5',
18
- large: '16.5',
19
- extraLarge: '18.5',
20
- huge: '20'
14
+ tiny: '9px',
15
+ extraSmall: '11px',
16
+ small: '13px',
17
+ medium: '14.5px',
18
+ large: '16.5px',
19
+ extraLarge: '18.5px',
20
+ huge: '20px'
21
21
  };
22
22
  /*
23
23
  * TODO: Update with proper tokens when added
@@ -33,16 +33,6 @@ const spinnnerSizes = {
33
33
  extraLarge: '40px',
34
34
  huge: '44px'
35
35
  };
36
- /*
37
- * TODO: Update with proper tokens when added
38
- * Stroke widths for the Spinner
39
- */
40
-
41
- const spinnerStrokeWidth = {
42
- sWidth: '2px',
43
- mWidth: '3px',
44
- lWidth: '4px'
45
- };
46
36
  /*
47
37
  * TODO: Update with proper tokens when added
48
38
  * Animation for Spinner
@@ -56,25 +46,6 @@ const spinnerAnimation = {
56
46
  backgroundColor: 'transparent'
57
47
  }
58
48
  };
59
- /*
60
- * TODO: Update with proper tokens when added
61
- * Label sizes for the Spinner
62
- */
63
-
64
- const labelSizeTokens = {
65
- body1: {
66
- fontSize: tokens.fontSizeBase300,
67
- lineHeight: tokens.lineHeightBase300
68
- },
69
- subtitle2: {
70
- fontSize: tokens.fontSizeBase400,
71
- lineHeight: tokens.lineHeightBase400
72
- },
73
- subtitle1: {
74
- fontSize: tokens.fontSizeBase500,
75
- lineHeight: tokens.lineHeightBase500
76
- }
77
- };
78
49
  /**
79
50
  * Styles for the root slot
80
51
  */
@@ -112,49 +83,49 @@ const useLoaderStyles = /*#__PURE__*/__styles({
112
83
  "tiny": {
113
84
  "Bah9ito": "f1j4wmu2",
114
85
  "ut6tcf": "f1vppzuq",
115
- "B7p06xz": "f1subliv",
116
- "B807ibg": "fd2apu6"
86
+ "B7p06xz": "fv1u54w",
87
+ "B807ibg": "fngtx1d"
117
88
  },
118
89
  "extraSmall": {
119
90
  "Bah9ito": "fmpqlna",
120
91
  "ut6tcf": "f15z5jzu",
121
- "B7p06xz": "f1subliv",
122
- "B807ibg": "fm96dlc"
92
+ "B7p06xz": "fv1u54w",
93
+ "B807ibg": "fadawes"
123
94
  },
124
95
  "small": {
125
96
  "Bah9ito": "fo52gbo",
126
97
  "ut6tcf": "f1b41i3v",
127
- "B7p06xz": "f1subliv",
128
- "B807ibg": "f1i91flz"
98
+ "B7p06xz": "fv1u54w",
99
+ "B807ibg": "f1xqyyrl"
129
100
  },
130
101
  "medium": {
131
102
  "Bah9ito": "f1aiqagr",
132
103
  "ut6tcf": "f1wtx80b",
133
- "B7p06xz": "f17vzdod",
134
- "B807ibg": "fjlkznx"
104
+ "B7p06xz": "f1flujpd",
105
+ "B807ibg": "f1u06hy7"
135
106
  },
136
107
  "large": {
137
108
  "Bah9ito": "f1trdq7b",
138
109
  "ut6tcf": "f9e0mc5",
139
- "B7p06xz": "f17vzdod",
140
- "B807ibg": "f1upeyd8"
110
+ "B7p06xz": "f1flujpd",
111
+ "B807ibg": "f13pmvhl"
141
112
  },
142
113
  "extraLarge": {
143
114
  "Bah9ito": "f89rf2a",
144
115
  "ut6tcf": "f1w2xg3q",
145
- "B7p06xz": "f17vzdod",
146
- "B807ibg": "f1r2vitc"
116
+ "B7p06xz": "f1flujpd",
117
+ "B807ibg": "fmn74v6"
147
118
  },
148
119
  "huge": {
149
120
  "Bah9ito": "f1rx7k5y",
150
121
  "ut6tcf": "f1vtyt49",
151
- "B7p06xz": "f1l9ujyx",
152
- "B807ibg": "fmhqutl"
122
+ "B7p06xz": "f1owbg48",
123
+ "B807ibg": "f1fr1izd"
153
124
  }
154
125
  }, {
155
126
  "i": [".f1nahjz1:focus-visible{outline-style:3px solid transparent;}"],
156
127
  "k": ["@-webkit-keyframes fb7n1on{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}", "@-webkit-keyframes f1gx3jof{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(-360deg);-moz-transform:rotate(-360deg);-ms-transform:rotate(-360deg);transform:rotate(-360deg);}}", "@keyframes fb7n1on{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-moz-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}", "@keyframes f1gx3jof{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(-360deg);-moz-transform:rotate(-360deg);-ms-transform:rotate(-360deg);transform:rotate(-360deg);}}"],
157
- "d": [".f5tbecn>svg{-webkit-animation-name:fb7n1on;animation-name:fb7n1on;}", ".f15qb8s7>svg{-webkit-animation-name:f1gx3jof;animation-name:f1gx3jof;}", ".fn4mtlg>svg{-webkit-animation-duration:3s;animation-duration:3s;}", ".f1y80fxs>svg{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;}", ".f1r2crtq>svg{-webkit-animation-timing-function:linear;animation-timing-function:linear;}", ".f1wsi8sr>svg{background-color:transparent;}", ".f1da2vov>svg>circle{cx:50%;}", ".f11rfva0>svg>circle{cy:50%;}", ".f1exc66>svg>circle{fill:none;}", ".f1j4wmu2>svg{height:20px;}", ".f1vppzuq>svg{width:20px;}", ".f1subliv>svg>circle{stroke-width:2px;}", ".fd2apu6>svg>circle{r:9;}", ".fmpqlna>svg{height:24px;}", ".f15z5jzu>svg{width:24px;}", ".fm96dlc>svg>circle{r:11;}", ".fo52gbo>svg{height:28px;}", ".f1b41i3v>svg{width:28px;}", ".f1i91flz>svg>circle{r:13;}", ".f1aiqagr>svg{height:32px;}", ".f1wtx80b>svg{width:32px;}", ".f17vzdod>svg>circle{stroke-width:3px;}", ".fjlkznx>svg>circle{r:14.5;}", ".f1trdq7b>svg{height:36px;}", ".f9e0mc5>svg{width:36px;}", ".f1upeyd8>svg>circle{r:16.5;}", ".f89rf2a>svg{height:40px;}", ".f1w2xg3q>svg{width:40px;}", ".f1r2vitc>svg>circle{r:18.5;}", ".f1rx7k5y>svg{height:44px;}", ".f1vtyt49>svg{width:44px;}", ".f1l9ujyx>svg>circle{stroke-width:4px;}", ".fmhqutl>svg>circle{r:20;}"]
128
+ "d": [".f5tbecn>svg{-webkit-animation-name:fb7n1on;animation-name:fb7n1on;}", ".f15qb8s7>svg{-webkit-animation-name:f1gx3jof;animation-name:f1gx3jof;}", ".fn4mtlg>svg{-webkit-animation-duration:3s;animation-duration:3s;}", ".f1y80fxs>svg{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;}", ".f1r2crtq>svg{-webkit-animation-timing-function:linear;animation-timing-function:linear;}", ".f1wsi8sr>svg{background-color:transparent;}", ".f1da2vov>svg>circle{cx:50%;}", ".f11rfva0>svg>circle{cy:50%;}", ".f1exc66>svg>circle{fill:none;}", ".f1j4wmu2>svg{height:20px;}", ".f1vppzuq>svg{width:20px;}", ".fv1u54w>svg>circle{stroke-width:var(--strokeWidthThick);}", ".fngtx1d>svg>circle{r:9px;}", ".fmpqlna>svg{height:24px;}", ".f15z5jzu>svg{width:24px;}", ".fadawes>svg>circle{r:11px;}", ".fo52gbo>svg{height:28px;}", ".f1b41i3v>svg{width:28px;}", ".f1xqyyrl>svg>circle{r:13px;}", ".f1aiqagr>svg{height:32px;}", ".f1wtx80b>svg{width:32px;}", ".f1flujpd>svg>circle{stroke-width:var(--strokeWidthThicker);}", ".f1u06hy7>svg>circle{r:14.5px;}", ".f1trdq7b>svg{height:36px;}", ".f9e0mc5>svg{width:36px;}", ".f13pmvhl>svg>circle{r:16.5px;}", ".f89rf2a>svg{height:40px;}", ".f1w2xg3q>svg{width:40px;}", ".fmn74v6>svg>circle{r:18.5px;}", ".f1rx7k5y>svg{height:44px;}", ".f1vtyt49>svg{width:44px;}", ".f1owbg48>svg>circle{stroke-width:var(--strokeWidthThickest);}", ".f1fr1izd>svg>circle{r:20px;}"]
158
129
  });
159
130
 
160
131
  const useTrackStyles = /*#__PURE__*/__styles({
@@ -179,46 +150,62 @@ const useTrackStyles = /*#__PURE__*/__styles({
179
150
  "B8001xd": "fu3xdw0",
180
151
  "Bdordwa": ["f1ttdh6v", "fmyjox0"],
181
152
  "Bo2mdfu": "f1eseayc",
153
+ "E10nrc": "folzdkc",
154
+ "Bwl7w15": "fhlfkde",
182
155
  "Bksq7rz": "f12uf417",
183
156
  "y14cdu": "flglbw1"
184
157
  }
185
158
  }, {
186
159
  "d": [".f1jvpmnu>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}", ".fq8a5sv>svg>circle.fui-Spinner__Tail{-webkit-animation-name:f1v1ql0f;animation-name:f1v1ql0f;}", ".f1b4lwqj>svg>circle.fui-Spinner__Tail{-webkit-animation-duration:1.5s;animation-duration:1.5s;}", ".f1najlst>svg>circle.fui-Spinner__Tail{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;}", ".f10r9z1l>svg>circle.fui-Spinner__Tail{-webkit-animation-timing-function:cubic-bezier(0.33,0,0.67,1);animation-timing-function:cubic-bezier(0.33,0,0.67,1);}", ".fu3xdw0>svg>circle.fui-Spinner__Tail{stroke-linecap:round;}", ".f1ttdh6v>svg>circle.fui-Spinner__Tail{-webkit-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}", ".fmyjox0>svg>circle.fui-Spinner__Tail{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}", ".f1eseayc>svg>circle.fui-Spinner__Tail{transform-origin:50% 50%;}", ".f1iqpjmu>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}", ".f11ditju>svg>circle.fui-Spinner__Tail{stroke:var(--colorBrandStroke1);}", ".f12uf417>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackground4);}"],
187
160
  "k": ["@-webkit-keyframes f1v1ql0f{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}", "@keyframes f1v1ql0f{0%{stroke-dasharray:1,150;stroke-dashoffset:0;}50%{stroke-dasharray:90,150;stroke-dashoffset:-35;}100%{stroke-dasharray:90,150;stroke-dashoffset:-124;}}"],
188
- "t": ["@media screen and (forced-colors: active){.f1m9nikz>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}}", "@media screen and (forced-colors: active){.flglbw1>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}}"]
161
+ "t": ["@media screen and (forced-colors: active){.f1m9nikz>svg>circle.fui-Spinner__Tail{stroke:var(--colorNeutralStrokeOnBrand2);}}", "@media screen and (prefers-reduced-motion: reduce){.folzdkc>svg>circle.fui-Spinner__Tail{-webkit-animation-duration:0.01ms;animation-duration:0.01ms;}}", "@media screen and (prefers-reduced-motion: reduce){.fhlfkde>svg>circle.fui-Spinner__Tail{-webkit-animation-iteration-count:1;animation-iteration-count:1;}}", "@media screen and (forced-colors: active){.flglbw1>svg>circle.fui-Spinner__Track{stroke:var(--colorNeutralBackgroundInverted);}}"]
189
162
  });
190
163
 
191
164
  const useLabelStyles = /*#__PURE__*/__styles({
192
165
  "tiny": {
166
+ "Bahqtrf": "fk6fouc",
193
167
  "Be2twd7": "fkhj508",
168
+ "Bhrd7zp": "figsok6",
194
169
  "Bg96gwp": "f1i3iumi"
195
170
  },
196
171
  "extraSmall": {
172
+ "Bahqtrf": "fk6fouc",
197
173
  "Be2twd7": "fkhj508",
174
+ "Bhrd7zp": "figsok6",
198
175
  "Bg96gwp": "f1i3iumi"
199
176
  },
200
177
  "small": {
178
+ "Bahqtrf": "fk6fouc",
201
179
  "Be2twd7": "fkhj508",
180
+ "Bhrd7zp": "figsok6",
202
181
  "Bg96gwp": "f1i3iumi"
203
182
  },
204
183
  "medium": {
184
+ "Bahqtrf": "fk6fouc",
205
185
  "Be2twd7": "fod5ikn",
186
+ "Bhrd7zp": "fl43uef",
206
187
  "Bg96gwp": "faaz57k"
207
188
  },
208
189
  "large": {
190
+ "Bahqtrf": "fk6fouc",
209
191
  "Be2twd7": "fod5ikn",
192
+ "Bhrd7zp": "fl43uef",
210
193
  "Bg96gwp": "faaz57k"
211
194
  },
212
195
  "extraLarge": {
196
+ "Bahqtrf": "fk6fouc",
213
197
  "Be2twd7": "fod5ikn",
198
+ "Bhrd7zp": "fl43uef",
214
199
  "Bg96gwp": "faaz57k"
215
200
  },
216
201
  "huge": {
202
+ "Bahqtrf": "fk6fouc",
217
203
  "Be2twd7": "f1pp30po",
204
+ "Bhrd7zp": "fl43uef",
218
205
  "Bg96gwp": "f106mvju"
219
206
  }
220
207
  }, {
221
- "d": [".fkhj508{font-size:var(--fontSizeBase300);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}"]
208
+ "d": [".fk6fouc{font-family:var(--fontFamilyBase);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".faaz57k{line-height:var(--lineHeightBase400);}", ".f1pp30po{font-size:var(--fontSizeBase500);}", ".f106mvju{line-height:var(--lineHeightBase500);}"]
222
209
  });
223
210
  /**
224
211
  * Apply styling to the Spinner slots based on the state