@fluentui/react-button 0.0.0-nightlyfe9829e48120211112.1 → 0.0.0-nightlyff78d1e27a20220217.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (182) hide show
  1. package/CHANGELOG.json +337 -26
  2. package/CHANGELOG.md +80 -14
  3. package/dist/react-button.d.ts +31 -33
  4. package/lib/Button.js.map +1 -1
  5. package/lib/CompoundButton.js.map +1 -1
  6. package/lib/MenuButton.js.map +1 -1
  7. package/lib/SplitButton.js.map +1 -1
  8. package/lib/ToggleButton.js.map +1 -1
  9. package/lib/components/Button/Button.js +6 -6
  10. package/lib/components/Button/Button.js.map +1 -1
  11. package/lib/components/Button/Button.types.d.ts +5 -5
  12. package/lib/components/Button/Button.types.js.map +1 -1
  13. package/lib/components/Button/index.d.ts +2 -2
  14. package/lib/components/Button/index.js +1 -2
  15. package/lib/components/Button/index.js.map +1 -1
  16. package/lib/components/Button/renderButton.d.ts +1 -1
  17. package/lib/components/Button/renderButton.js +6 -3
  18. package/lib/components/Button/renderButton.js.map +1 -1
  19. package/lib/components/Button/useButton.d.ts +1 -1
  20. package/lib/components/Button/useButton.js +3 -2
  21. package/lib/components/Button/useButton.js.map +1 -1
  22. package/lib/components/Button/useButtonStyles.d.ts +1 -9
  23. package/lib/components/Button/useButtonStyles.js +97 -72
  24. package/lib/components/Button/useButtonStyles.js.map +1 -1
  25. package/lib/components/CompoundButton/CompoundButton.js +6 -6
  26. package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
  27. package/lib/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  28. package/lib/components/CompoundButton/CompoundButton.types.js.map +1 -1
  29. package/lib/components/CompoundButton/index.d.ts +1 -1
  30. package/lib/components/CompoundButton/index.js +1 -1
  31. package/lib/components/CompoundButton/index.js.map +1 -1
  32. package/lib/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  33. package/lib/components/CompoundButton/renderCompoundButton.js +8 -3
  34. package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
  35. package/lib/components/CompoundButton/useCompoundButton.d.ts +1 -1
  36. package/lib/components/CompoundButton/useCompoundButton.js +3 -3
  37. package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
  38. package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
  39. package/lib/components/CompoundButton/useCompoundButtonStyles.js +14 -13
  40. package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  41. package/lib/components/MenuButton/MenuButton.js +6 -6
  42. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  43. package/lib/components/MenuButton/MenuButton.types.d.ts +3 -4
  44. package/lib/components/MenuButton/MenuButton.types.js.map +1 -1
  45. package/lib/components/MenuButton/index.d.ts +1 -1
  46. package/lib/components/MenuButton/index.js +1 -1
  47. package/lib/components/MenuButton/index.js.map +1 -1
  48. package/lib/components/MenuButton/renderMenuButton.d.ts +1 -1
  49. package/lib/components/MenuButton/renderMenuButton.js +6 -3
  50. package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
  51. package/lib/components/MenuButton/useMenuButton.d.ts +1 -1
  52. package/lib/components/MenuButton/useMenuButton.js +5 -5
  53. package/lib/components/MenuButton/useMenuButton.js.map +1 -1
  54. package/lib/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
  55. package/lib/components/MenuButton/useMenuButtonStyles.js +4 -4
  56. package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  57. package/lib/components/SplitButton/SplitButton.js +6 -6
  58. package/lib/components/SplitButton/SplitButton.js.map +1 -1
  59. package/lib/components/SplitButton/SplitButton.types.d.ts +6 -4
  60. package/lib/components/SplitButton/SplitButton.types.js.map +1 -1
  61. package/lib/components/SplitButton/index.d.ts +1 -1
  62. package/lib/components/SplitButton/index.js +1 -1
  63. package/lib/components/SplitButton/index.js.map +1 -1
  64. package/lib/components/SplitButton/renderSplitButton.d.ts +1 -1
  65. package/lib/components/SplitButton/renderSplitButton.js +6 -3
  66. package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
  67. package/lib/components/SplitButton/useSplitButton.d.ts +1 -1
  68. package/lib/components/SplitButton/useSplitButton.js +17 -5
  69. package/lib/components/SplitButton/useSplitButton.js.map +1 -1
  70. package/lib/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
  71. package/lib/components/SplitButton/useSplitButtonStyles.js +3 -2
  72. package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  73. package/lib/components/ToggleButton/ToggleButton.js +6 -6
  74. package/lib/components/ToggleButton/ToggleButton.js.map +1 -1
  75. package/lib/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  76. package/lib/components/ToggleButton/ToggleButton.types.js.map +1 -1
  77. package/lib/components/ToggleButton/index.d.ts +1 -1
  78. package/lib/components/ToggleButton/index.js +1 -1
  79. package/lib/components/ToggleButton/index.js.map +1 -1
  80. package/lib/components/ToggleButton/renderToggleButton.d.ts +1 -1
  81. package/lib/components/ToggleButton/renderToggleButton.js +1 -1
  82. package/lib/components/ToggleButton/renderToggleButton.js.map +1 -1
  83. package/lib/components/ToggleButton/useToggleButton.d.ts +1 -1
  84. package/lib/components/ToggleButton/useToggleButton.js +13 -9
  85. package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
  86. package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
  87. package/lib/components/ToggleButton/useToggleButtonStyles.js +35 -34
  88. package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  89. package/lib/index.js.map +1 -1
  90. package/lib-commonjs/Button.js.map +1 -1
  91. package/lib-commonjs/CompoundButton.js.map +1 -1
  92. package/lib-commonjs/MenuButton.js.map +1 -1
  93. package/lib-commonjs/SplitButton.js.map +1 -1
  94. package/lib-commonjs/ToggleButton.js.map +1 -1
  95. package/lib-commonjs/components/Button/Button.js +3 -3
  96. package/lib-commonjs/components/Button/Button.js.map +1 -1
  97. package/lib-commonjs/components/Button/Button.types.d.ts +5 -5
  98. package/lib-commonjs/components/Button/Button.types.js.map +1 -1
  99. package/lib-commonjs/components/Button/index.d.ts +2 -2
  100. package/lib-commonjs/components/Button/index.js +3 -5
  101. package/lib-commonjs/components/Button/index.js.map +1 -1
  102. package/lib-commonjs/components/Button/renderButton.d.ts +1 -1
  103. package/lib-commonjs/components/Button/renderButton.js +8 -5
  104. package/lib-commonjs/components/Button/renderButton.js.map +1 -1
  105. package/lib-commonjs/components/Button/useButton.d.ts +1 -1
  106. package/lib-commonjs/components/Button/useButton.js +5 -4
  107. package/lib-commonjs/components/Button/useButton.js.map +1 -1
  108. package/lib-commonjs/components/Button/useButtonStyles.d.ts +1 -9
  109. package/lib-commonjs/components/Button/useButtonStyles.js +106 -80
  110. package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
  111. package/lib-commonjs/components/CompoundButton/CompoundButton.js +3 -3
  112. package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
  113. package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  114. package/lib-commonjs/components/CompoundButton/CompoundButton.types.js.map +1 -1
  115. package/lib-commonjs/components/CompoundButton/index.d.ts +1 -1
  116. package/lib-commonjs/components/CompoundButton/index.js +3 -3
  117. package/lib-commonjs/components/CompoundButton/index.js.map +1 -1
  118. package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  119. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +10 -5
  120. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
  121. package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +1 -1
  122. package/lib-commonjs/components/CompoundButton/useCompoundButton.js +4 -4
  123. package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
  124. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
  125. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +25 -23
  126. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  127. package/lib-commonjs/components/MenuButton/MenuButton.js +3 -3
  128. package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
  129. package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +3 -4
  130. package/lib-commonjs/components/MenuButton/MenuButton.types.js.map +1 -1
  131. package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
  132. package/lib-commonjs/components/MenuButton/index.js +3 -3
  133. package/lib-commonjs/components/MenuButton/index.js.map +1 -1
  134. package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +1 -1
  135. package/lib-commonjs/components/MenuButton/renderMenuButton.js +8 -5
  136. package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
  137. package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +1 -1
  138. package/lib-commonjs/components/MenuButton/useMenuButton.js +5 -5
  139. package/lib-commonjs/components/MenuButton/useMenuButton.js.map +1 -1
  140. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
  141. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +8 -8
  142. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  143. package/lib-commonjs/components/SplitButton/SplitButton.js +3 -3
  144. package/lib-commonjs/components/SplitButton/SplitButton.js.map +1 -1
  145. package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +6 -4
  146. package/lib-commonjs/components/SplitButton/SplitButton.types.js.map +1 -1
  147. package/lib-commonjs/components/SplitButton/index.d.ts +1 -1
  148. package/lib-commonjs/components/SplitButton/index.js +3 -3
  149. package/lib-commonjs/components/SplitButton/index.js.map +1 -1
  150. package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +1 -1
  151. package/lib-commonjs/components/SplitButton/renderSplitButton.js +8 -5
  152. package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
  153. package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +1 -1
  154. package/lib-commonjs/components/SplitButton/useSplitButton.js +18 -6
  155. package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
  156. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
  157. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +11 -9
  158. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  159. package/lib-commonjs/components/ToggleButton/ToggleButton.js +3 -3
  160. package/lib-commonjs/components/ToggleButton/ToggleButton.js.map +1 -1
  161. package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  162. package/lib-commonjs/components/ToggleButton/ToggleButton.types.js.map +1 -1
  163. package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
  164. package/lib-commonjs/components/ToggleButton/index.js +3 -3
  165. package/lib-commonjs/components/ToggleButton/index.js.map +1 -1
  166. package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +1 -1
  167. package/lib-commonjs/components/ToggleButton/renderToggleButton.js +3 -3
  168. package/lib-commonjs/components/ToggleButton/renderToggleButton.js.map +1 -1
  169. package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +1 -1
  170. package/lib-commonjs/components/ToggleButton/useToggleButton.js +14 -10
  171. package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
  172. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
  173. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +40 -38
  174. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  175. package/lib-commonjs/index.js.map +1 -1
  176. package/package.json +12 -15
  177. package/lib/common/isConformant.d.ts +0 -4
  178. package/lib/common/isConformant.js +0 -13
  179. package/lib/common/isConformant.js.map +0 -1
  180. package/lib-commonjs/common/isConformant.d.ts +0 -4
  181. package/lib-commonjs/common/isConformant.js +0 -24
  182. package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.renderButton = void 0;
6
+ exports.renderButton_unstable = void 0;
7
7
 
8
8
  const React = /*#__PURE__*/require("react");
9
9
 
@@ -13,17 +13,20 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
13
13
  */
14
14
 
15
15
 
16
- const renderButton = state => {
16
+ const renderButton_unstable = state => {
17
17
  const {
18
18
  slots,
19
19
  slotProps
20
- } = react_utilities_1.getSlots(state, ['root', 'icon']);
20
+ } = react_utilities_1.getSlots(state);
21
21
  const {
22
22
  iconOnly,
23
23
  iconPosition
24
24
  } = state;
25
- return React.createElement(slots.root, Object.assign({}, slotProps.root), iconPosition !== 'after' && React.createElement(slots.icon, Object.assign({}, slotProps.icon)), !iconOnly && state.root.children, iconPosition === 'after' && React.createElement(slots.icon, Object.assign({}, slotProps.icon)));
25
+ return React.createElement(slots.root, { ...slotProps.root
26
+ }, iconPosition !== 'after' && slots.icon && React.createElement(slots.icon, { ...slotProps.icon
27
+ }), !iconOnly && state.root.children, iconPosition === 'after' && slots.icon && React.createElement(slots.icon, { ...slotProps.icon
28
+ }));
26
29
  };
27
30
 
28
- exports.renderButton = renderButton;
31
+ exports.renderButton_unstable = renderButton_unstable;
29
32
  //# sourceMappingURL=renderButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Button/renderButton.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,YAAY,GAAI,KAAD,IAAuB;AACjD,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAsB,KAAtB,EAA6B,CAAC,MAAD,EAAS,MAAT,CAA7B,CAA7B;AACA,QAAM;AAAE,IAAA,QAAF;AAAY,IAAA;AAAZ,MAA6B,KAAnC;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,EACG,YAAY,KAAK,OAAjB,IAA4B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAD/B,EAEG,CAAC,QAAD,IAAa,KAAK,CAAC,IAAN,CAAW,QAF3B,EAGG,YAAY,KAAK,OAAjB,IAA4B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,SAAS,CAAC,IAAf,CAAX,CAH/B,CADF;AAOD,CAXM;;AAAM,OAAA,CAAA,YAAA,GAAY,YAAZ","sourceRoot":""}
1
+ {"version":3,"sources":["components/Button/renderButton.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;AAEG;;;AACI,MAAM,qBAAqB,GAAI,KAAD,IAAuB;AAC1D,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,iBAAA,CAAA,QAAA,CAAsB,KAAtB,CAA7B;AACA,QAAM;AAAE,IAAA,QAAF;AAAY,IAAA;AAAZ,MAA6B,KAAnC;AAEA,SACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,YAAY,KAAK,OAAjB,IAA4B,KAAK,CAAC,IAAlC,IAA0C,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAD7C,EAEG,CAAC,QAAD,IAAa,KAAK,CAAC,IAAN,CAAW,QAF3B,EAGG,YAAY,KAAK,OAAjB,IAA4B,KAAK,CAAC,IAAlC,IAA0C,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAH7C,CADF;AAOD,CAXM;;AAAM,OAAA,CAAA,qBAAA,GAAqB,qBAArB","sourcesContent":["import * as React from 'react';\nimport { getSlots } from '@fluentui/react-utilities';\nimport type { ButtonSlots, ButtonState } from './Button.types';\n\n/**\n * Renders a Button component by passing the state defined props to the appropriate slots.\n */\nexport const renderButton_unstable = (state: ButtonState) => {\n const { slots, slotProps } = getSlots<ButtonSlots>(state);\n const { iconOnly, iconPosition } = state;\n\n return (\n <slots.root {...slotProps.root}>\n {iconPosition !== 'after' && slots.icon && <slots.icon {...slotProps.icon} />}\n {!iconOnly && state.root.children}\n {iconPosition === 'after' && slots.icon && <slots.icon {...slotProps.icon} />}\n </slots.root>\n );\n};\n"],"sourceRoot":"../src/"}
@@ -5,4 +5,4 @@ import type { ButtonProps, ButtonState } from './Button.types';
5
5
  * @param props - User provided props to the Button component.
6
6
  * @param ref - User provided ref to be passed to the Button component.
7
7
  */
8
- export declare const useButton: (props: ButtonProps, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => ButtonState;
8
+ export declare const useButton_unstable: (props: ButtonProps, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => ButtonState;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useButton = void 0;
6
+ exports.useButton_unstable = void 0;
7
7
 
8
8
  const react_aria_1 = /*#__PURE__*/require("@fluentui/react-aria");
9
9
 
@@ -15,7 +15,7 @@ const react_utilities_1 = /*#__PURE__*/require("@fluentui/react-utilities");
15
15
  */
16
16
 
17
17
 
18
- const useButton = (props, ref) => {
18
+ const useButton_unstable = (props, ref) => {
19
19
  const {
20
20
  appearance,
21
21
  as,
@@ -49,12 +49,13 @@ const useButton = (props, ref) => {
49
49
  defaultProps: {
50
50
  // useARIAButton isn't working with React.Ref<HTMLButtonElement | HTMLAnchorElement>
51
51
  ref: ref,
52
- type: 'button'
52
+ type: 'button' // This is added because the default for type is 'submit'
53
+
53
54
  }
54
55
  })),
55
56
  icon: iconShorthand
56
57
  };
57
58
  };
58
59
 
59
- exports.useButton = useButton;
60
+ exports.useButton_unstable = useButton_unstable;
60
61
  //# sourceMappingURL=useButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Button/useButton.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,YAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,SAAS,GAAG,CAAC,KAAD,EAAqB,GAArB,KAA2F;AAClH,QAAM;AACJ,IAAA,UADI;AAEJ,IAAA,EAFI;AAGJ,IAAA,KAAK,GAAG,KAHJ;AAIJ,IAAA,QAAQ,GAAG,KAJP;AAKJ,IAAA,iBAAiB,GAAG,KALhB;AAMJ,IAAA,IANI;AAOJ,IAAA,YAAY,GAAG,QAPX;AAQJ,IAAA,KAAK,GAAG,SARJ;AASJ,IAAA,IAAI,GAAG;AATH,MAUF,KAVJ;AAWA,QAAM,aAAa,GAAG,iBAAA,CAAA,gBAAA,CAAiB,IAAjB,CAAtB;AAEA,SAAO;AACL;AACA,IAAA,UAFK;AAGL,IAAA,KAHK;AAIL,IAAA,QAJK;AAKL,IAAA,iBALK;AAML,IAAA,YANK;AAOL,IAAA,KAPK;AAQL,IAAA,IARK;AAUL;AACA,IAAA,QAAQ,EAAE,OAAO,CAAC,CAAA,aAAa,KAAA,IAAb,IAAA,aAAa,KAAA,KAAA,CAAb,GAAa,KAAA,CAAb,GAAA,aAAa,CAAE,QAAf,KAA2B,CAAC,KAAK,CAAC,QAAnC,CAXZ;AAaL;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,QADI;AAEV,MAAA,IAAI,EAAE;AAFI,KAdP;AAmBL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CACJ,EAAE,IAAI,QADF,EAEJ,YAAA,CAAA,aAAA,CAAc,KAAd,EAAqB;AACnB,MAAA,QAAQ,EAAE,IADS;AAEnB,MAAA,YAAY,EAAE;AACZ;AACA,QAAA,GAAG,EAAE,GAFO;AAGZ,QAAA,IAAI,EAAE;AAHM;AAFK,KAArB,CAFI,CAnBD;AA8BL,IAAA,IAAI,EAAE;AA9BD,GAAP;AAgCD,CA9CM;;AAAM,OAAA,CAAA,SAAA,GAAS,SAAT","sourceRoot":""}
1
+ {"version":3,"sources":["components/Button/useButton.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,YAAA,gBAAA,OAAA,CAAA,sBAAA,CAAA;;AAEA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAG,CAChC,KADgC,EAEhC,GAFgC,KAGjB;AACf,QAAM;AACJ,IAAA,UADI;AAEJ,IAAA,EAFI;AAGJ,IAAA,KAAK,GAAG,KAHJ;AAIJ,IAAA,QAAQ,GAAG,KAJP;AAKJ,IAAA,iBAAiB,GAAG,KALhB;AAMJ,IAAA,IANI;AAOJ,IAAA,YAAY,GAAG,QAPX;AAQJ,IAAA,KAAK,GAAG,SARJ;AASJ,IAAA,IAAI,GAAG;AATH,MAUF,KAVJ;AAWA,QAAM,aAAa,GAAG,iBAAA,CAAA,gBAAA,CAAiB,IAAjB,CAAtB;AAEA,SAAO;AACL;AACA,IAAA,UAFK;AAGL,IAAA,KAHK;AAIL,IAAA,QAJK;AAKL,IAAA,iBALK;AAML,IAAA,YANK;AAOL,IAAA,KAPK;AAQL,IAAA,IARK;AAUL;AACA,IAAA,QAAQ,EAAE,OAAO,CAAC,CAAA,aAAa,KAAA,IAAb,IAAA,aAAa,KAAA,KAAA,CAAb,GAAa,KAAA,CAAb,GAAA,aAAa,CAAE,QAAf,KAA2B,CAAC,KAAK,CAAC,QAAnC,CAXZ;AAaL;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,QADI;AAEV,MAAA,IAAI,EAAE;AAFI,KAdP;AAmBL,IAAA,IAAI,EAAE,iBAAA,CAAA,qBAAA,CACJ,EAAE,IAAI,QADF,EAEJ,YAAA,CAAA,aAAA,CAAmC,KAAnC,EAA0C;AACxC,MAAA,QAAQ,EAAE,IAD8B;AAExC,MAAA,YAAY,EAAE;AACZ;AACA,QAAA,GAAG,EAAE,GAFO;AAGZ,QAAA,IAAI,EAAE,QAHM,CAGI;;AAHJ;AAF0B,KAA1C,CAFI,CAnBD;AA8BL,IAAA,IAAI,EAAE;AA9BD,GAAP;AAgCD,CAjDM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourcesContent":["import * as React from 'react';\nimport { useARIAButton } from '@fluentui/react-aria';\nimport type { ARIAButtonSlotProps } from '@fluentui/react-aria';\nimport { getNativeElementProps, resolveShorthand } from '@fluentui/react-utilities';\nimport type { ButtonProps, ButtonState } from './Button.types';\n\n/**\n * Given user props, defines default props for the Button, calls useButtonState, and returns processed state.\n * @param props - User provided props to the Button component.\n * @param ref - User provided ref to be passed to the Button component.\n */\nexport const useButton_unstable = (\n props: ButtonProps,\n ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>,\n): ButtonState => {\n const {\n appearance,\n as,\n block = false,\n disabled = false,\n disabledFocusable = false,\n icon,\n iconPosition = 'before',\n shape = 'rounded',\n size = 'medium',\n } = props;\n const iconShorthand = resolveShorthand(icon);\n\n return {\n // Props passed at the top-level\n appearance,\n block,\n disabled,\n disabledFocusable,\n iconPosition,\n shape,\n size,\n\n // State calculated from a set of props\n iconOnly: Boolean(iconShorthand?.children && !props.children),\n\n // Slots definition\n components: {\n root: 'button',\n icon: 'span',\n },\n\n root: getNativeElementProps(\n as || 'button',\n useARIAButton<ARIAButtonSlotProps>(props, {\n required: true,\n defaultProps: {\n // useARIAButton isn't working with React.Ref<HTMLButtonElement | HTMLAnchorElement>\n ref: ref as React.Ref<HTMLButtonElement>,\n type: 'button', // This is added because the default for type is 'submit'\n },\n }),\n ),\n icon: iconShorthand,\n };\n};\n"],"sourceRoot":"../src/"}
@@ -1,11 +1,3 @@
1
1
  import type { ButtonState } from './Button.types';
2
2
  export declare const buttonClassName = "fui-Button";
3
- export declare const buttonSpacing: {
4
- smallest: string;
5
- smaller: string;
6
- small: string;
7
- medium: string;
8
- large: string;
9
- larger: string;
10
- };
11
- export declare const useButtonStyles: (state: ButtonState) => ButtonState;
3
+ export declare const useButtonStyles_unstable: (state: ButtonState) => ButtonState;
@@ -3,25 +3,17 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.useButtonStyles = exports.buttonSpacing = exports.buttonClassName = void 0;
6
+ exports.useButtonStyles_unstable = exports.buttonClassName = void 0;
7
7
 
8
- const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
8
+ const react_1 = /*#__PURE__*/require("@griffel/react");
9
9
 
10
10
  const react_tabster_1 = /*#__PURE__*/require("@fluentui/react-tabster");
11
11
 
12
- exports.buttonClassName = 'fui-Button'; // TODO: These are named in design specs but not hoisted to global/alias yet.
13
- // We're tracking these here to determine how we can hoist them.
12
+ const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
14
13
 
15
- exports.buttonSpacing = {
16
- smallest: '2px',
17
- smaller: '4px',
18
- small: '6px',
19
- medium: '8px',
20
- large: '12px',
21
- larger: '16px'
22
- };
14
+ exports.buttonClassName = 'fui-Button';
23
15
 
24
- const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
16
+ const useRootStyles = /*#__PURE__*/react_1.__styles({
25
17
  "base": {
26
18
  "Bt984gj": "f122n59",
27
19
  "mc9l5x": "ftuwxu6",
@@ -32,33 +24,34 @@ const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
32
24
  "jrapky": "f19f4twv",
33
25
  "Frg6f3": ["f1tyq0we", "f11qmguv"],
34
26
  "B2u0y6b": "f1n52uh2",
35
- "Bpg54ce": "f1a3p1vp",
27
+ "B68tc82": "f1p9o1ba",
28
+ "Bmxbyg5": "f1sil6mw",
36
29
  "ygn44y": "f1cmbuwj",
37
30
  "Huce71": "fz5stix",
38
- "ayd6f0": "fcm7iae",
31
+ "De3pzq": "fxugw4r",
39
32
  "sj55zd": "f19n0e5",
40
- "g2u3we": "fj3muxo",
41
- "h3c5rm": ["f1akhkt", "f1lxtadh"],
42
- "B9xav0g": "f1aperda",
43
- "zhjwy3": ["f1lxtadh", "f1akhkt"],
44
- "icvyot": "fzkkow9",
45
- "vrafjx": ["fcdblym", "fjik90z"],
46
- "oivjwe": "fg706s2",
47
- "wvpqe5": ["fjik90z", "fcdblym"],
48
33
  "B4j52fo": "f192inf7",
49
34
  "Bekrc4i": ["f5tn483", "f1ojsxk5"],
50
35
  "Bn0qgzm": "f1vxd6vx",
51
36
  "ibv6hh": ["f1ojsxk5", "f5tn483"],
37
+ "icvyot": "fzkkow9",
38
+ "vrafjx": ["fcdblym", "fjik90z"],
39
+ "oivjwe": "fg706s2",
40
+ "wvpqe5": ["fjik90z", "fcdblym"],
41
+ "g2u3we": "fj3muxo",
42
+ "h3c5rm": ["f1akhkt", "f1lxtadh"],
43
+ "B9xav0g": "f1aperda",
44
+ "zhjwy3": ["f1lxtadh", "f1akhkt"],
52
45
  "Bahqtrf": "fk6fouc",
53
46
  "oeaueh": "f1s6fcnf",
54
- "v4pbla": "f56u8ty",
47
+ "Jwef8y": "f1knas48",
55
48
  "Bgoe8wy": "fvcxoqz",
56
49
  "Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
57
50
  "oetu4i": "f1xlaoq0",
58
51
  "gg5e9n": ["f1m52nbi", "f1ub3y4t"],
59
52
  "Bi91k9c": "fax3udt",
60
53
  "eoavqd": "f8491dx",
61
- "vv34bc": "fzgy25m",
54
+ "ecr2s2": "fb40n2d",
62
55
  "B6oc9vd": "fvs00aa",
63
56
  "ak43y8": ["f1assf6x", "f4ruux4"],
64
57
  "wmxk5l": "fumykes",
@@ -71,24 +64,24 @@ const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
71
64
  "a9b677": "fly5x3f"
72
65
  },
73
66
  "outline": {
74
- "ayd6f0": "f1gjiv6l",
75
- "v4pbla": "f62j56f",
76
- "vv34bc": "flt377r"
67
+ "De3pzq": "f1c21dwh",
68
+ "Jwef8y": "fjxutwb",
69
+ "ecr2s2": "fophhak"
77
70
  },
78
71
  "primary": {
79
- "ayd6f0": "f1tdnksq",
72
+ "De3pzq": "ffp7eso",
80
73
  "g2u3we": "f1p3nwhy",
81
74
  "h3c5rm": ["f11589ue", "f1pdflbu"],
82
75
  "B9xav0g": "f1q5o8ev",
83
76
  "zhjwy3": ["f1pdflbu", "f11589ue"],
84
77
  "sj55zd": "f1phragk",
85
- "v4pbla": "f1fitrdm",
78
+ "Jwef8y": "f15wkkf3",
86
79
  "Bgoe8wy": "f1s2uweq",
87
80
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
88
81
  "oetu4i": "f1ukrpxl",
89
82
  "gg5e9n": ["fecsdlb", "fr80ssc"],
90
83
  "Bi91k9c": "f1rq72xc",
91
- "vv34bc": "f4ihffn",
84
+ "ecr2s2": "fsp1bjw",
92
85
  "B6oc9vd": "ff472gp",
93
86
  "ak43y8": ["f4yyc7m", "ft2aflc"],
94
87
  "wmxk5l": "fggejwh",
@@ -96,19 +89,19 @@ const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
96
89
  "lj723h": "f18otbis"
97
90
  },
98
91
  "subtle": {
99
- "ayd6f0": "f11q0hf9",
92
+ "De3pzq": "fhovq9v",
100
93
  "g2u3we": "f1p3nwhy",
101
94
  "h3c5rm": ["f11589ue", "f1pdflbu"],
102
95
  "B9xav0g": "f1q5o8ev",
103
96
  "zhjwy3": ["f1pdflbu", "f11589ue"],
104
97
  "sj55zd": "fkfq4zb",
105
- "v4pbla": "f4wzgrt",
98
+ "Jwef8y": "f1t94bn6",
106
99
  "Bgoe8wy": "f1s2uweq",
107
100
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
108
101
  "oetu4i": "f1ukrpxl",
109
102
  "gg5e9n": ["fecsdlb", "fr80ssc"],
110
103
  "Bi91k9c": "f139oj5f",
111
- "vv34bc": "f1be4e1d",
104
+ "ecr2s2": "f1wfn5kd",
112
105
  "B6oc9vd": "ff472gp",
113
106
  "ak43y8": ["f4yyc7m", "ft2aflc"],
114
107
  "wmxk5l": "fggejwh",
@@ -116,19 +109,19 @@ const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
116
109
  "lj723h": "f19au66r"
117
110
  },
118
111
  "transparent": {
119
- "ayd6f0": "f1gjiv6l",
112
+ "De3pzq": "f1c21dwh",
120
113
  "g2u3we": "f1p3nwhy",
121
114
  "h3c5rm": ["f11589ue", "f1pdflbu"],
122
115
  "B9xav0g": "f1q5o8ev",
123
116
  "zhjwy3": ["f1pdflbu", "f11589ue"],
124
117
  "sj55zd": "fkfq4zb",
125
- "v4pbla": "f62j56f",
118
+ "Jwef8y": "fjxutwb",
126
119
  "Bgoe8wy": "f1s2uweq",
127
120
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
128
121
  "oetu4i": "f1ukrpxl",
129
122
  "gg5e9n": ["fecsdlb", "fr80ssc"],
130
123
  "Bi91k9c": "f139oj5f",
131
- "vv34bc": "flt377r",
124
+ "ecr2s2": "fophhak",
132
125
  "B6oc9vd": "ff472gp",
133
126
  "ak43y8": ["f4yyc7m", "ft2aflc"],
134
127
  "wmxk5l": "fggejwh",
@@ -136,74 +129,92 @@ const useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
136
129
  "lj723h": "f19au66r"
137
130
  },
138
131
  "circular": {
139
- "Dimara": "f44lkw9"
132
+ "Bbmb7ep": ["f8fbkgy", "f1nfllo7"],
133
+ "Beyfa6y": ["f1nfllo7", "f8fbkgy"],
134
+ "B7oj6ja": ["f1djnp8u", "f1s8kh49"],
135
+ "Btl43ni": ["f1s8kh49", "f1djnp8u"]
140
136
  },
141
137
  "rounded": {},
142
138
  "square": {
143
- "Dimara": "f1fabniw"
139
+ "Bbmb7ep": ["fzi6hpg", "fyowgf4"],
140
+ "Beyfa6y": ["fyowgf4", "fzi6hpg"],
141
+ "B7oj6ja": ["f3fg2lr", "f13av6d4"],
142
+ "Btl43ni": ["f13av6d4", "f3fg2lr"]
144
143
  },
145
144
  "small": {
146
- "rmohyg": "f4xv25i",
145
+ "i8kkvl": "f1q8lukm",
146
+ "Belr9w4": "f1ma2n7n",
147
147
  "z8tnut": "f1g0x7ka",
148
148
  "z189sj": ["f19lj068", "f177v4lu"],
149
149
  "Byoj8tv": "f1qch9an",
150
150
  "uwmqm3": ["f177v4lu", "f19lj068"],
151
151
  "Bqenvij": "frvgh55",
152
152
  "Bf4jedk": "fh7ncta",
153
- "Dimara": "fq9zq91",
153
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
154
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
155
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
156
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
154
157
  "Be2twd7": "fy9rknc",
155
158
  "Bhrd7zp": "figsok6",
156
159
  "Bg96gwp": "fwrc4pm"
157
160
  },
158
161
  "medium": {
159
- "rmohyg": "f19jf40t",
162
+ "i8kkvl": "fgfbwa2",
163
+ "Belr9w4": "f1y3hx6l",
160
164
  "z8tnut": "f1g0x7ka",
161
165
  "z189sj": ["f11qrl6u", "fjlbh76"],
162
166
  "Byoj8tv": "f1qch9an",
163
167
  "uwmqm3": ["fjlbh76", "f11qrl6u"],
164
168
  "Bqenvij": "f1d2rq10",
165
169
  "Bf4jedk": "f14es27b",
166
- "Dimara": "ft85np5",
170
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
171
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
172
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
173
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
167
174
  "Be2twd7": "fkhj508",
168
175
  "Bhrd7zp": "fl43uef",
169
176
  "Bg96gwp": "f1i3iumi"
170
177
  },
171
178
  "large": {
172
- "rmohyg": "f19jf40t",
179
+ "i8kkvl": "fgfbwa2",
180
+ "Belr9w4": "f1y3hx6l",
173
181
  "z8tnut": "f1g0x7ka",
174
182
  "z189sj": ["f1gbmcue", "f1rh9g5y"],
175
183
  "Byoj8tv": "f1qch9an",
176
184
  "uwmqm3": ["f1rh9g5y", "f1gbmcue"],
177
185
  "Bqenvij": "fbhnoac",
178
186
  "Bf4jedk": "f14es27b",
179
- "Dimara": "ft85np5",
187
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
188
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
189
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
190
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
180
191
  "Be2twd7": "fod5ikn",
181
192
  "Bhrd7zp": "fl43uef",
182
193
  "Bg96gwp": "faaz57k"
183
194
  }
184
195
  }, {
185
- "d": [".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".fmrv4ls{vertical-align:middle;}", ".f1hu3pq6{margin-top:0;}", ".f11qmguv{margin-right:0;}", ".f1tyq0we{margin-left:0;}", ".f19f4twv{margin-bottom:0;}", ".f1n52uh2{max-width:280px;}", ".f1a3p1vp{overflow:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".fz5stix{white-space:nowrap;}", ".fcm7iae{background:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fj3muxo{border-top-color:var(--colorNeutralStroke1);}", ".f1akhkt{border-right-color:var(--colorNeutralStroke1);}", ".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}", ".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1s6fcnf{outline-style:none;}", ".f6dzj5z{max-width:100%;}", ".fly5x3f{width:100%;}", ".f1gjiv6l{background:var(--colorTransparentBackground);}", ".f1tdnksq{background:var(--colorBrandBackground);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".f11q0hf9{background:var(--colorSubtleBackground);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".f44lkw9{border-radius:var(--borderRadiusCircular);}", ".f1fabniw{border-radius:var(--borderRadiusNone);}", ".f4xv25i{gap:4px;}", ".f1g0x7ka{padding-top:0;}", ".f19lj068{padding-right:8px;}", ".f177v4lu{padding-left:8px;}", ".f1qch9an{padding-bottom:0;}", ".frvgh55{height:24px;}", ".fh7ncta{min-width:64px;}", ".fq9zq91{border-radius:var(--borderRadiusSmall);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".f19jf40t{gap:6px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".f1d2rq10{height:32px;}", ".f14es27b{min-width:96px;}", ".ft85np5{border-radius:var(--borderRadiusMedium);}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fbhnoac{height:40px;}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}"],
186
- "h": [".f56u8ty:hover{background:var(--colorNeutralBackground1Hover);}", ".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}", ".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}", ".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}", ".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}", ".fax3udt:hover{color:var(--colorNeutralForeground1);}", ".f8491dx:hover{cursor:pointer;}", ".f62j56f:hover{background:var(--colorTransparentBackgroundHover);}", ".f1fitrdm:hover{background:var(--colorBrandBackgroundHover);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}", ".f4wzgrt:hover{background:var(--colorSubtleBackgroundHover);}", ".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}"],
187
- "a": [".fzgy25m:active{background:var(--colorNeutralBackground1Pressed);}", ".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}", ".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}", ".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}", ".fumykes:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}", ".f1r2dosr:active{color:var(--colorNeutralForeground1);}", ".fb0xa7e:active{outline-style:none;}", ".flt377r:active{background:var(--colorTransparentBackgroundPressed);}", ".f4ihffn:active{background:var(--colorBrandBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}", ".f1be4e1d:active{background:var(--colorSubtleBackgroundPressed);}", ".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}"]
196
+ "d": [".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".fmrv4ls{vertical-align:middle;}", ".f1hu3pq6{margin-top:0;}", ".f11qmguv{margin-right:0;}", ".f1tyq0we{margin-left:0;}", ".f19f4twv{margin-bottom:0;}", ".f1n52uh2{max-width:280px;}", ".f1p9o1ba{overflow-x:hidden;}", ".f1sil6mw{overflow-y:hidden;}", ".f1cmbuwj{text-overflow:ellipsis;}", ".fz5stix{white-space:nowrap;}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".f192inf7{border-top-width:var(--strokeWidthThin);}", ".f5tn483{border-right-width:var(--strokeWidthThin);}", ".f1ojsxk5{border-left-width:var(--strokeWidthThin);}", ".f1vxd6vx{border-bottom-width:var(--strokeWidthThin);}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fj3muxo{border-top-color:var(--colorNeutralStroke1);}", ".f1akhkt{border-right-color:var(--colorNeutralStroke1);}", ".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}", ".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}", ".fk6fouc{font-family:var(--fontFamilyBase);}", ".f1s6fcnf{outline-style:none;}", ".f6dzj5z{max-width:100%;}", ".fly5x3f{width:100%;}", ".f1c21dwh{background-color:var(--colorTransparentBackground);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fhovq9v{background-color:var(--colorSubtleBackground);}", ".fkfq4zb{color:var(--colorNeutralForeground2);}", ".f8fbkgy{border-bottom-right-radius:var(--borderRadiusCircular);}", ".f1nfllo7{border-bottom-left-radius:var(--borderRadiusCircular);}", ".f1djnp8u{border-top-right-radius:var(--borderRadiusCircular);}", ".f1s8kh49{border-top-left-radius:var(--borderRadiusCircular);}", ".fzi6hpg{border-bottom-right-radius:var(--borderRadiusNone);}", ".fyowgf4{border-bottom-left-radius:var(--borderRadiusNone);}", ".f3fg2lr{border-top-right-radius:var(--borderRadiusNone);}", ".f13av6d4{border-top-left-radius:var(--borderRadiusNone);}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1g0x7ka{padding-top:0;}", ".f19lj068{padding-right:8px;}", ".f177v4lu{padding-left:8px;}", ".f1qch9an{padding-bottom:0;}", ".frvgh55{height:24px;}", ".fh7ncta{min-width:64px;}", ".f1aa9q02{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f16jpd5f{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f1jar5jt{border-top-right-radius:var(--borderRadiusMedium);}", ".fyu767a{border-top-left-radius:var(--borderRadiusMedium);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fwrc4pm{line-height:var(--lineHeightBase200);}", ".fgfbwa2{-webkit-column-gap:6px;column-gap:6px;}", ".f1y3hx6l{row-gap:6px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".f1d2rq10{height:32px;}", ".f14es27b{min-width:96px;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fbhnoac{height:40px;}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}"],
197
+ "h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}", ".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}", ".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}", ".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}", ".fax3udt:hover{color:var(--colorNeutralForeground1);}", ".f8491dx:hover{cursor:pointer;}", ".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}", ".f15wkkf3:hover{background-color:var(--colorBrandBackgroundHover);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}", ".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}", ".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}"],
198
+ "a": [".fb40n2d:active{background-color:var(--colorNeutralBackground1Pressed);}", ".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}", ".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}", ".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}", ".fumykes:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}", ".f1r2dosr:active{color:var(--colorNeutralForeground1);}", ".fb0xa7e:active{outline-style:none;}", ".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}", ".fsp1bjw:active{background-color:var(--colorBrandBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}", ".f1wfn5kd:active{background-color:var(--colorSubtleBackgroundPressed);}", ".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}"]
188
199
  });
189
200
 
190
- const useRootDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
201
+ const useRootDisabledStyles = /*#__PURE__*/react_1.__styles({
191
202
  "base": {
192
- "ayd6f0": "fqst6tg",
203
+ "De3pzq": "f1bg9a2p",
193
204
  "g2u3we": "f1jj8ep1",
194
205
  "h3c5rm": ["f15xbau", "fy0fskl"],
195
206
  "B9xav0g": "f4ikngz",
196
207
  "zhjwy3": ["fy0fskl", "f15xbau"],
197
208
  "sj55zd": "f1s2aq7o",
198
209
  "Bceei9c": "fdrzuqr",
199
- "v4pbla": "f1nil5o8",
210
+ "Jwef8y": "f1falr9n",
200
211
  "Bgoe8wy": "f12mpcsy",
201
212
  "Bwzppfd": ["f1gwvigk", "f18rmfxp"],
202
213
  "oetu4i": "f1jnshp0",
203
214
  "gg5e9n": ["f18rmfxp", "f1gwvigk"],
204
215
  "Bi91k9c": "fvgxktp",
205
216
  "eoavqd": "fphbwmw",
206
- "vv34bc": "fkqx3al",
217
+ "ecr2s2": "f1ryyzvn",
207
218
  "B6oc9vd": "fdi4vxw",
208
219
  "ak43y8": ["f4ryxzl", "fkdgpbx"],
209
220
  "wmxk5l": "fcmhn06",
@@ -212,9 +223,9 @@ const useRootDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
212
223
  "Bwh3duv": "fq67hom"
213
224
  },
214
225
  "outline": {
215
- "ayd6f0": "f1gjiv6l",
216
- "v4pbla": "f62j56f",
217
- "vv34bc": "flt377r"
226
+ "De3pzq": "f1c21dwh",
227
+ "Jwef8y": "fjxutwb",
228
+ "ecr2s2": "fophhak"
218
229
  },
219
230
  "primary": {
220
231
  "g2u3we": "f1p3nwhy",
@@ -231,61 +242,64 @@ const useRootDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
231
242
  "B50zh58": ["ft2aflc", "f4yyc7m"]
232
243
  },
233
244
  "subtle": {
234
- "ayd6f0": "f1k2sg7s",
245
+ "De3pzq": "f3rmtva",
235
246
  "g2u3we": "f1p3nwhy",
236
247
  "h3c5rm": ["f11589ue", "f1pdflbu"],
237
248
  "B9xav0g": "f1q5o8ev",
238
249
  "zhjwy3": ["f1pdflbu", "f11589ue"],
239
- "v4pbla": "f1vc35iv",
250
+ "Jwef8y": "f1cio4g9",
240
251
  "Bgoe8wy": "f1s2uweq",
241
252
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
242
253
  "oetu4i": "f1ukrpxl",
243
254
  "gg5e9n": ["fecsdlb", "fr80ssc"],
244
- "vv34bc": "f17oliv9",
255
+ "ecr2s2": "f1rot6hk",
245
256
  "B6oc9vd": "ff472gp",
246
257
  "ak43y8": ["f4yyc7m", "ft2aflc"],
247
258
  "wmxk5l": "fggejwh",
248
259
  "B50zh58": ["ft2aflc", "f4yyc7m"]
249
260
  },
250
261
  "transparent": {
251
- "ayd6f0": "f1k2sg7s",
262
+ "De3pzq": "f3rmtva",
252
263
  "g2u3we": "f1p3nwhy",
253
264
  "h3c5rm": ["f11589ue", "f1pdflbu"],
254
265
  "B9xav0g": "f1q5o8ev",
255
266
  "zhjwy3": ["f1pdflbu", "f11589ue"],
256
- "v4pbla": "f1vc35iv",
267
+ "Jwef8y": "f1cio4g9",
257
268
  "Bgoe8wy": "f1s2uweq",
258
269
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
259
270
  "oetu4i": "f1ukrpxl",
260
271
  "gg5e9n": ["fecsdlb", "fr80ssc"],
261
- "vv34bc": "f17oliv9",
272
+ "ecr2s2": "f1rot6hk",
262
273
  "B6oc9vd": "ff472gp",
263
274
  "ak43y8": ["f4yyc7m", "ft2aflc"],
264
275
  "wmxk5l": "fggejwh",
265
276
  "B50zh58": ["ft2aflc", "f4yyc7m"]
266
277
  }
267
278
  }, {
268
- "d": [".fqst6tg{background:var(--colorNeutralBackgroundDisabled);}", ".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}", ".fdrzuqr{cursor:not-allowed;}", ".f1gjiv6l{background:var(--colorTransparentBackground);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1k2sg7s{background:none;}"],
269
- "h": [".f1nil5o8:hover{background:var(--colorNeutralBackgroundDisabled);}", ".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}", ".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}", ".fphbwmw:hover{cursor:not-allowed;}", ".f62j56f:hover{background:var(--colorTransparentBackgroundHover);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1vc35iv:hover{background:none;}"],
270
- "a": [".fkqx3al:active{background:var(--colorNeutralBackgroundDisabled);}", ".fdi4vxw:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f4ryxzl:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fkdgpbx:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".fcmhn06:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}", ".fq67hom:active{cursor:not-allowed;}", ".flt377r:active{background:var(--colorTransparentBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f17oliv9:active{background:none;}"]
279
+ "d": [".f1bg9a2p{background-color:var(--colorNeutralBackgroundDisabled);}", ".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}", ".fdrzuqr{cursor:not-allowed;}", ".f1c21dwh{background-color:var(--colorTransparentBackground);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f3rmtva{background-color:transparent;}"],
280
+ "h": [".f1falr9n:hover{background-color:var(--colorNeutralBackgroundDisabled);}", ".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}", ".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}", ".fphbwmw:hover{cursor:not-allowed;}", ".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1cio4g9:hover{background-color:transparent;}"],
281
+ "a": [".f1ryyzvn:active{background-color:var(--colorNeutralBackgroundDisabled);}", ".fdi4vxw:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f4ryxzl:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fkdgpbx:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".fcmhn06:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}", ".fq67hom:active{cursor:not-allowed;}", ".fophhak:active{background-color:var(--colorTransparentBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f1rot6hk:active{background-color:transparent;}"]
271
282
  });
272
283
 
273
- const useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
284
+ const useRootFocusStyles = /*#__PURE__*/react_1.__styles({
274
285
  "base": {
275
286
  "B486eqv": "f2hkw1w",
276
287
  "Bnmjwt4": "flfsvnh",
277
288
  "Jopkrh": ["f1781m5e", "flvaaa9"],
278
289
  "hhrs2v": "f50u1b5",
279
290
  "B7jbng7": ["flvaaa9", "f1781m5e"],
291
+ "Bh48x57": "f19j8a82",
280
292
  "B32s92o": "f4mghqd",
281
293
  "B5hngm5": "fhcq1yo",
282
- "Bh48x57": "f19j8a82",
283
- "D4py6b": ["f9ycirn", "fj27422"],
294
+ "D4py6b": "f9ycirn",
284
295
  "Bgwpjed": "fpt6wn7"
285
296
  },
286
297
  "circular": {
287
298
  "B486eqv": "f2hkw1w",
288
- "Big6zof": "f6dohij"
299
+ "B8j0l6": ["f11yy61d", "f5edc3x"],
300
+ "Ekyhi": ["f5edc3x", "f11yy61d"],
301
+ "Bmrpcm6": ["f1aea4n", "f4jo73o"],
302
+ "Beswxhl": ["f4jo73o", "f1aea4n"]
289
303
  },
290
304
  "rounded": {},
291
305
  "primary": {
@@ -294,30 +308,42 @@ const useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
294
308
  "Jopkrh": ["fhoxsto", "f19qf7vm"],
295
309
  "hhrs2v": "f1tl0rof",
296
310
  "B7jbng7": ["f19qf7vm", "fhoxsto"],
297
- "D4py6b": ["f15m8qn2", "f5p9mqa"]
311
+ "D4py6b": "f15m8qn2"
298
312
  },
299
313
  "square": {
300
314
  "B486eqv": "f2hkw1w",
301
- "Big6zof": "f1x6jsgk"
315
+ "B8j0l6": ["f5oco9f", "fiz44lb"],
316
+ "Ekyhi": ["fiz44lb", "f5oco9f"],
317
+ "Bmrpcm6": ["f1d1ywej", "flv4e1y"],
318
+ "Beswxhl": ["flv4e1y", "f1d1ywej"]
302
319
  },
303
320
  "small": {
304
321
  "B486eqv": "f2hkw1w",
305
- "Big6zof": "f1cqgkc0"
322
+ "B8j0l6": ["f1dzjeht", "f1fw97sp"],
323
+ "Ekyhi": ["f1fw97sp", "f1dzjeht"],
324
+ "Bmrpcm6": ["f1hr3vfr", "f1fepg9x"],
325
+ "Beswxhl": ["f1fepg9x", "f1hr3vfr"]
306
326
  },
307
327
  "medium": {
308
328
  "B486eqv": "f2hkw1w",
309
- "Big6zof": "fhf9ij9"
329
+ "B8j0l6": ["f1ezw2km", "f18buiid"],
330
+ "Ekyhi": ["f18buiid", "f1ezw2km"],
331
+ "Bmrpcm6": ["f1hat8c3", "f10ee3ek"],
332
+ "Beswxhl": ["f10ee3ek", "f1hat8c3"]
310
333
  },
311
334
  "large": {
312
335
  "B486eqv": "f2hkw1w",
313
- "Big6zof": "fnsjjqm"
336
+ "B8j0l6": ["f8iz5lg", "fzmqelg"],
337
+ "Ekyhi": ["fzmqelg", "f8iz5lg"],
338
+ "Bmrpcm6": ["f1ywuu4l", "f721nif"],
339
+ "Beswxhl": ["f721nif", "f1ywuu4l"]
314
340
  }
315
341
  }, {
316
342
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
317
- "d": ["[data-keyboard-nav] .flfsvnh:focus{border-top-color:transparent;}", "[data-keyboard-nav] .f1781m5e:focus{border-right-color:transparent;}", "[data-keyboard-nav] .flvaaa9:focus{border-left-color:transparent;}", "[data-keyboard-nav] .f50u1b5:focus{border-bottom-color:transparent;}", "[data-keyboard-nav] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fj27422:focus{box-shadow:var(--shadow-4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f6dohij:focus{border-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f5p9mqa:focus{box-shadow:var(--shadow-2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1x6jsgk:focus{border-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1cqgkc0:focus{border-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .fhf9ij9:focus{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .fnsjjqm:focus{border-radius:var(--borderRadiusLarge);}"]
343
+ "d": ["[data-keyboard-nav] .flfsvnh:focus{border-top-color:transparent;}", "[data-keyboard-nav] .f1781m5e:focus{border-right-color:transparent;}", "[data-keyboard-nav] .flvaaa9:focus{border-left-color:transparent;}", "[data-keyboard-nav] .f50u1b5:focus{border-bottom-color:transparent;}", "[data-keyboard-nav] .f19j8a82:focus{outline-color:transparent;}", "[data-keyboard-nav] .f4mghqd:focus{outline-width:2px;}", "[data-keyboard-nav] .fhcq1yo:focus{outline-style:solid;}", "[data-keyboard-nav] .f9ycirn:focus{box-shadow:var(--shadow4),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .fpt6wn7:focus{z-index:1;}", "[data-keyboard-nav] .f11yy61d:focus{border-bottom-right-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .f5edc3x:focus{border-bottom-left-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .f1aea4n:focus{border-top-right-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .f4jo73o:focus{border-top-left-radius:var(--borderRadiusCircular);}", "[data-keyboard-nav] .fbugrqt:focus{border-top-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .fhoxsto:focus{border-right-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f19qf7vm:focus{border-left-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f1tl0rof:focus{border-bottom-color:var(--colorNeutralForegroundOnBrand);}", "[data-keyboard-nav] .f15m8qn2:focus{box-shadow:var(--shadow2),0 0 0 2px var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f5oco9f:focus{border-bottom-right-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .fiz44lb:focus{border-bottom-left-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1d1ywej:focus{border-top-right-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .flv4e1y:focus{border-top-left-radius:var(--borderRadiusNone);}", "[data-keyboard-nav] .f1dzjeht:focus{border-bottom-right-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .f1fw97sp:focus{border-bottom-left-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .f1hr3vfr:focus{border-top-right-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .f1fepg9x:focus{border-top-left-radius:var(--borderRadiusSmall);}", "[data-keyboard-nav] .f1ezw2km:focus{border-bottom-right-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f18buiid:focus{border-bottom-left-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1hat8c3:focus{border-top-right-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f10ee3ek:focus{border-top-left-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f8iz5lg:focus{border-bottom-right-radius:var(--borderRadiusLarge);}", "[data-keyboard-nav] .fzmqelg:focus{border-bottom-left-radius:var(--borderRadiusLarge);}", "[data-keyboard-nav] .f1ywuu4l:focus{border-top-right-radius:var(--borderRadiusLarge);}", "[data-keyboard-nav] .f721nif:focus{border-top-left-radius:var(--borderRadiusLarge);}"]
318
344
  });
319
345
 
320
- const useRootIconOnlyStyles = /*#__PURE__*/react_make_styles_1.__styles({
346
+ const useRootIconOnlyStyles = /*#__PURE__*/react_1.__styles({
321
347
  "small": {
322
348
  "z8tnut": "f10ra9hq",
323
349
  "z189sj": ["f8wuabp", "fycuoez"],
@@ -346,7 +372,7 @@ const useRootIconOnlyStyles = /*#__PURE__*/react_make_styles_1.__styles({
346
372
  "d": [".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f107v6xj{min-width:28px;}", ".f17iyk3w{max-width:28px;}", ".fwbmr0d{min-width:32px;}", ".f44c6la{max-width:32px;}", ".f1xp5gbu{padding-top:6px;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1d7kygh{padding-bottom:6px;}", ".f12clzc2{min-width:40px;}", ".fjy1crr{max-width:40px;}"]
347
373
  });
348
374
 
349
- const useIconStyles = /*#__PURE__*/react_make_styles_1.__styles({
375
+ const useIconStyles = /*#__PURE__*/react_1.__styles({
350
376
  "base": {
351
377
  "Bt984gj": "f122n59",
352
378
  "mc9l5x": "ftuwxu6",
@@ -371,7 +397,7 @@ const useIconStyles = /*#__PURE__*/react_make_styles_1.__styles({
371
397
  "d": [".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".ftuwxu6{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}", ".f4d9j23{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-justify-content:center;justify-content:center;}", ".fe5j1ua{font-size:20px;}", ".fjamq6b{height:20px;}", ".f64fuq3{width:20px;}", ".f1rt2boy{font-size:24px;}", ".frvgh55{height:24px;}", ".fq4mcun{width:24px;}"]
372
398
  });
373
399
 
374
- const useButtonStyles = state => {
400
+ const useButtonStyles_unstable = state => {
375
401
  const rootStyles = useRootStyles();
376
402
  const rootDisabledStyles = useRootDisabledStyles();
377
403
  const rootFocusStyles = useRootFocusStyles();
@@ -386,7 +412,7 @@ const useButtonStyles = state => {
386
412
  shape,
387
413
  size
388
414
  } = state;
389
- state.root.className = react_make_styles_1.mergeClasses(exports.buttonClassName, // Root styles
415
+ state.root.className = react_1.mergeClasses(exports.buttonClassName, // Root styles
390
416
  rootStyles.base, block && rootStyles.block, appearance && rootStyles[appearance], rootStyles[size], rootStyles[shape], // Disabled styles
391
417
  (disabled || disabledFocusable) && rootDisabledStyles.base, appearance && (disabled || disabledFocusable) && rootDisabledStyles[appearance], // Focus styles
392
418
  rootFocusStyles.base, appearance === 'primary' && rootFocusStyles.primary, rootFocusStyles[size], rootFocusStyles[shape], // Icon-only styles
@@ -394,11 +420,11 @@ const useButtonStyles = state => {
394
420
  state.root.className);
395
421
 
396
422
  if (state.icon) {
397
- state.icon.className = react_make_styles_1.mergeClasses(iconStyles.base, iconStyles[size], state.icon.className);
423
+ state.icon.className = react_1.mergeClasses(iconStyles.base, iconStyles[size], state.icon.className);
398
424
  }
399
425
 
400
426
  return state;
401
427
  };
402
428
 
403
- exports.useButtonStyles = useButtonStyles;
429
+ exports.useButtonStyles_unstable = useButtonStyles_unstable;
404
430
  //# sourceMappingURL=useButtonStyles.js.map