@fluentui/react-button 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. package/CHANGELOG.json +393 -24
  2. package/CHANGELOG.md +88 -18
  3. package/dist/react-button.d.ts +42 -34
  4. package/lib/components/Button/Button.js +7 -7
  5. package/lib/components/Button/Button.js.map +1 -1
  6. package/lib/components/Button/Button.types.d.ts +6 -6
  7. package/lib/components/Button/index.d.ts +2 -2
  8. package/lib/components/Button/index.js +1 -2
  9. package/lib/components/Button/index.js.map +1 -1
  10. package/lib/components/Button/renderButton.d.ts +1 -1
  11. package/lib/components/Button/renderButton.js +13 -9
  12. package/lib/components/Button/renderButton.js.map +1 -1
  13. package/lib/components/Button/useButton.d.ts +1 -1
  14. package/lib/components/Button/useButton.js +22 -25
  15. package/lib/components/Button/useButton.js.map +1 -1
  16. package/lib/components/Button/useButtonStyles.d.ts +2 -9
  17. package/lib/components/Button/useButtonStyles.js +118 -90
  18. package/lib/components/Button/useButtonStyles.js.map +1 -1
  19. package/lib/components/CompoundButton/CompoundButton.js +7 -7
  20. package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
  21. package/lib/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  22. package/lib/components/CompoundButton/index.d.ts +1 -1
  23. package/lib/components/CompoundButton/index.js +1 -1
  24. package/lib/components/CompoundButton/index.js.map +1 -1
  25. package/lib/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  26. package/lib/components/CompoundButton/renderCompoundButton.js +15 -9
  27. package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
  28. package/lib/components/CompoundButton/useCompoundButton.d.ts +1 -1
  29. package/lib/components/CompoundButton/useCompoundButton.js +9 -9
  30. package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
  31. package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +2 -1
  32. package/lib/components/CompoundButton/useCompoundButtonStyles.js +52 -48
  33. package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  34. package/lib/components/MenuButton/MenuButton.js +7 -7
  35. package/lib/components/MenuButton/MenuButton.js.map +1 -1
  36. package/lib/components/MenuButton/MenuButton.types.d.ts +3 -4
  37. package/lib/components/MenuButton/index.d.ts +1 -1
  38. package/lib/components/MenuButton/index.js +1 -1
  39. package/lib/components/MenuButton/index.js.map +1 -1
  40. package/lib/components/MenuButton/renderMenuButton.d.ts +1 -1
  41. package/lib/components/MenuButton/renderMenuButton.js +13 -9
  42. package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
  43. package/lib/components/MenuButton/useMenuButton.d.ts +1 -1
  44. package/lib/components/MenuButton/useMenuButton.js +11 -11
  45. package/lib/components/MenuButton/useMenuButton.js.map +1 -1
  46. package/lib/components/MenuButton/useMenuButtonStyles.d.ts +2 -1
  47. package/lib/components/MenuButton/useMenuButtonStyles.js +8 -6
  48. package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  49. package/lib/components/SplitButton/SplitButton.js +7 -7
  50. package/lib/components/SplitButton/SplitButton.js.map +1 -1
  51. package/lib/components/SplitButton/SplitButton.types.d.ts +6 -4
  52. package/lib/components/SplitButton/index.d.ts +1 -1
  53. package/lib/components/SplitButton/index.js +1 -1
  54. package/lib/components/SplitButton/index.js.map +1 -1
  55. package/lib/components/SplitButton/renderSplitButton.d.ts +1 -1
  56. package/lib/components/SplitButton/renderSplitButton.js +9 -7
  57. package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
  58. package/lib/components/SplitButton/useSplitButton.d.ts +1 -1
  59. package/lib/components/SplitButton/useSplitButton.js +41 -45
  60. package/lib/components/SplitButton/useSplitButton.js.map +1 -1
  61. package/lib/components/SplitButton/useSplitButtonStyles.d.ts +2 -1
  62. package/lib/components/SplitButton/useSplitButtonStyles.js +38 -34
  63. package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  64. package/lib/components/ToggleButton/ToggleButton.js +7 -7
  65. package/lib/components/ToggleButton/ToggleButton.js.map +1 -1
  66. package/lib/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  67. package/lib/components/ToggleButton/index.d.ts +1 -1
  68. package/lib/components/ToggleButton/index.js +1 -1
  69. package/lib/components/ToggleButton/index.js.map +1 -1
  70. package/lib/components/ToggleButton/renderToggleButton.d.ts +1 -1
  71. package/lib/components/ToggleButton/renderToggleButton.js +1 -1
  72. package/lib/components/ToggleButton/renderToggleButton.js.map +1 -1
  73. package/lib/components/ToggleButton/useToggleButton.d.ts +1 -1
  74. package/lib/components/ToggleButton/useToggleButton.js +32 -30
  75. package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
  76. package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +2 -1
  77. package/lib/components/ToggleButton/useToggleButtonStyles.js +47 -43
  78. package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  79. package/lib-commonjs/Button.js +1 -1
  80. package/lib-commonjs/CompoundButton.js +1 -1
  81. package/lib-commonjs/MenuButton.js +1 -1
  82. package/lib-commonjs/SplitButton.js +1 -1
  83. package/lib-commonjs/ToggleButton.js +1 -1
  84. package/lib-commonjs/components/Button/Button.js +8 -8
  85. package/lib-commonjs/components/Button/Button.js.map +1 -1
  86. package/lib-commonjs/components/Button/Button.types.d.ts +6 -6
  87. package/lib-commonjs/components/Button/index.d.ts +2 -2
  88. package/lib-commonjs/components/Button/index.js +10 -6
  89. package/lib-commonjs/components/Button/index.js.map +1 -1
  90. package/lib-commonjs/components/Button/renderButton.d.ts +1 -1
  91. package/lib-commonjs/components/Button/renderButton.js +17 -14
  92. package/lib-commonjs/components/Button/renderButton.js.map +1 -1
  93. package/lib-commonjs/components/Button/useButton.d.ts +1 -1
  94. package/lib-commonjs/components/Button/useButton.js +26 -29
  95. package/lib-commonjs/components/Button/useButton.js.map +1 -1
  96. package/lib-commonjs/components/Button/useButtonStyles.d.ts +2 -9
  97. package/lib-commonjs/components/Button/useButtonStyles.js +121 -92
  98. package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
  99. package/lib-commonjs/components/CompoundButton/CompoundButton.js +8 -8
  100. package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
  101. package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +4 -4
  102. package/lib-commonjs/components/CompoundButton/index.d.ts +1 -1
  103. package/lib-commonjs/components/CompoundButton/index.js +10 -4
  104. package/lib-commonjs/components/CompoundButton/index.js.map +1 -1
  105. package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +1 -1
  106. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +19 -14
  107. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
  108. package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +1 -1
  109. package/lib-commonjs/components/CompoundButton/useCompoundButton.js +12 -13
  110. package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
  111. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +2 -1
  112. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +58 -53
  113. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  114. package/lib-commonjs/components/MenuButton/MenuButton.js +8 -8
  115. package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
  116. package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +3 -4
  117. package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
  118. package/lib-commonjs/components/MenuButton/index.js +10 -4
  119. package/lib-commonjs/components/MenuButton/index.js.map +1 -1
  120. package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +1 -1
  121. package/lib-commonjs/components/MenuButton/renderMenuButton.js +17 -14
  122. package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
  123. package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +1 -1
  124. package/lib-commonjs/components/MenuButton/useMenuButton.js +15 -16
  125. package/lib-commonjs/components/MenuButton/useMenuButton.js.map +1 -1
  126. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +2 -1
  127. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +12 -9
  128. package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
  129. package/lib-commonjs/components/SplitButton/SplitButton.js +8 -8
  130. package/lib-commonjs/components/SplitButton/SplitButton.js.map +1 -1
  131. package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +6 -4
  132. package/lib-commonjs/components/SplitButton/index.d.ts +1 -1
  133. package/lib-commonjs/components/SplitButton/index.js +10 -4
  134. package/lib-commonjs/components/SplitButton/index.js.map +1 -1
  135. package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +1 -1
  136. package/lib-commonjs/components/SplitButton/renderSplitButton.js +13 -12
  137. package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
  138. package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +1 -1
  139. package/lib-commonjs/components/SplitButton/useSplitButton.js +46 -51
  140. package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
  141. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +2 -1
  142. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +44 -39
  143. package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
  144. package/lib-commonjs/components/ToggleButton/ToggleButton.js +8 -8
  145. package/lib-commonjs/components/ToggleButton/ToggleButton.js.map +1 -1
  146. package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +2 -1
  147. package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
  148. package/lib-commonjs/components/ToggleButton/index.js +10 -4
  149. package/lib-commonjs/components/ToggleButton/index.js.map +1 -1
  150. package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +1 -1
  151. package/lib-commonjs/components/ToggleButton/renderToggleButton.js +3 -3
  152. package/lib-commonjs/components/ToggleButton/renderToggleButton.js.map +1 -1
  153. package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +1 -1
  154. package/lib-commonjs/components/ToggleButton/useToggleButton.js +36 -35
  155. package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
  156. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +2 -1
  157. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +51 -45
  158. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  159. package/lib-commonjs/index.js +1 -1
  160. package/package.json +12 -15
  161. package/lib/common/isConformant.d.ts +0 -4
  162. package/lib/common/isConformant.js +0 -13
  163. package/lib/common/isConformant.js.map +0 -1
  164. package/lib-commonjs/common/isConformant.d.ts +0 -4
  165. package/lib-commonjs/common/isConformant.js +0 -24
  166. package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -1,17 +1,9 @@
1
- import { __styles, mergeClasses } from '@fluentui/react-make-styles';
2
- import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster'; // TODO: These are named in design specs but not hoisted to global/alias yet.
3
- // We're tracking these here to determine how we can hoist them.
1
+ import { shorthands, __styles, mergeClasses } from '@griffel/react';
2
+ import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
3
+ import { tokens } from '@fluentui/react-theme';
4
+ export const buttonClassName = 'fui-Button';
4
5
 
5
- export var buttonSpacing = {
6
- smallest: '2px',
7
- smaller: '4px',
8
- small: '6px',
9
- medium: '8px',
10
- large: '12px',
11
- larger: '16px'
12
- };
13
-
14
- var useRootStyles = /*#__PURE__*/__styles({
6
+ const useRootStyles = /*#__PURE__*/__styles({
15
7
  "base": {
16
8
  "Bt984gj": "f122n59",
17
9
  "mc9l5x": "ftuwxu6",
@@ -22,33 +14,34 @@ var useRootStyles = /*#__PURE__*/__styles({
22
14
  "jrapky": "f19f4twv",
23
15
  "Frg6f3": ["f1tyq0we", "f11qmguv"],
24
16
  "B2u0y6b": "f1n52uh2",
25
- "Bpg54ce": "f1a3p1vp",
17
+ "B68tc82": "f1p9o1ba",
18
+ "Bmxbyg5": "f1sil6mw",
26
19
  "ygn44y": "f1cmbuwj",
27
20
  "Huce71": "fz5stix",
28
- "ayd6f0": "fcm7iae",
21
+ "De3pzq": "fxugw4r",
29
22
  "sj55zd": "f19n0e5",
30
- "g2u3we": "fj3muxo",
31
- "h3c5rm": ["f1akhkt", "f1lxtadh"],
32
- "B9xav0g": "f1aperda",
33
- "zhjwy3": ["f1lxtadh", "f1akhkt"],
34
- "icvyot": "fzkkow9",
35
- "vrafjx": ["fcdblym", "fjik90z"],
36
- "oivjwe": "fg706s2",
37
- "wvpqe5": ["fjik90z", "fcdblym"],
38
23
  "B4j52fo": "f192inf7",
39
24
  "Bekrc4i": ["f5tn483", "f1ojsxk5"],
40
25
  "Bn0qgzm": "f1vxd6vx",
41
26
  "ibv6hh": ["f1ojsxk5", "f5tn483"],
27
+ "icvyot": "fzkkow9",
28
+ "vrafjx": ["fcdblym", "fjik90z"],
29
+ "oivjwe": "fg706s2",
30
+ "wvpqe5": ["fjik90z", "fcdblym"],
31
+ "g2u3we": "fj3muxo",
32
+ "h3c5rm": ["f1akhkt", "f1lxtadh"],
33
+ "B9xav0g": "f1aperda",
34
+ "zhjwy3": ["f1lxtadh", "f1akhkt"],
42
35
  "Bahqtrf": "fk6fouc",
43
36
  "oeaueh": "f1s6fcnf",
44
- "v4pbla": "f56u8ty",
37
+ "Jwef8y": "f1knas48",
45
38
  "Bgoe8wy": "fvcxoqz",
46
39
  "Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
47
40
  "oetu4i": "f1xlaoq0",
48
41
  "gg5e9n": ["f1m52nbi", "f1ub3y4t"],
49
42
  "Bi91k9c": "fax3udt",
50
43
  "eoavqd": "f8491dx",
51
- "vv34bc": "fzgy25m",
44
+ "ecr2s2": "fb40n2d",
52
45
  "B6oc9vd": "fvs00aa",
53
46
  "ak43y8": ["f1assf6x", "f4ruux4"],
54
47
  "wmxk5l": "fumykes",
@@ -61,24 +54,24 @@ var useRootStyles = /*#__PURE__*/__styles({
61
54
  "a9b677": "fly5x3f"
62
55
  },
63
56
  "outline": {
64
- "ayd6f0": "f1gjiv6l",
65
- "v4pbla": "f62j56f",
66
- "vv34bc": "flt377r"
57
+ "De3pzq": "f1c21dwh",
58
+ "Jwef8y": "fjxutwb",
59
+ "ecr2s2": "fophhak"
67
60
  },
68
61
  "primary": {
69
- "ayd6f0": "f1tdnksq",
62
+ "De3pzq": "ffp7eso",
70
63
  "g2u3we": "f1p3nwhy",
71
64
  "h3c5rm": ["f11589ue", "f1pdflbu"],
72
65
  "B9xav0g": "f1q5o8ev",
73
66
  "zhjwy3": ["f1pdflbu", "f11589ue"],
74
67
  "sj55zd": "f1phragk",
75
- "v4pbla": "f1fitrdm",
68
+ "Jwef8y": "f15wkkf3",
76
69
  "Bgoe8wy": "f1s2uweq",
77
70
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
78
71
  "oetu4i": "f1ukrpxl",
79
72
  "gg5e9n": ["fecsdlb", "fr80ssc"],
80
73
  "Bi91k9c": "f1rq72xc",
81
- "vv34bc": "f4ihffn",
74
+ "ecr2s2": "fsp1bjw",
82
75
  "B6oc9vd": "ff472gp",
83
76
  "ak43y8": ["f4yyc7m", "ft2aflc"],
84
77
  "wmxk5l": "fggejwh",
@@ -86,19 +79,19 @@ var useRootStyles = /*#__PURE__*/__styles({
86
79
  "lj723h": "f18otbis"
87
80
  },
88
81
  "subtle": {
89
- "ayd6f0": "f11q0hf9",
82
+ "De3pzq": "fhovq9v",
90
83
  "g2u3we": "f1p3nwhy",
91
84
  "h3c5rm": ["f11589ue", "f1pdflbu"],
92
85
  "B9xav0g": "f1q5o8ev",
93
86
  "zhjwy3": ["f1pdflbu", "f11589ue"],
94
87
  "sj55zd": "fkfq4zb",
95
- "v4pbla": "f4wzgrt",
88
+ "Jwef8y": "f1t94bn6",
96
89
  "Bgoe8wy": "f1s2uweq",
97
90
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
98
91
  "oetu4i": "f1ukrpxl",
99
92
  "gg5e9n": ["fecsdlb", "fr80ssc"],
100
93
  "Bi91k9c": "f139oj5f",
101
- "vv34bc": "f1be4e1d",
94
+ "ecr2s2": "f1wfn5kd",
102
95
  "B6oc9vd": "ff472gp",
103
96
  "ak43y8": ["f4yyc7m", "ft2aflc"],
104
97
  "wmxk5l": "fggejwh",
@@ -106,19 +99,19 @@ var useRootStyles = /*#__PURE__*/__styles({
106
99
  "lj723h": "f19au66r"
107
100
  },
108
101
  "transparent": {
109
- "ayd6f0": "f1gjiv6l",
102
+ "De3pzq": "f1c21dwh",
110
103
  "g2u3we": "f1p3nwhy",
111
104
  "h3c5rm": ["f11589ue", "f1pdflbu"],
112
105
  "B9xav0g": "f1q5o8ev",
113
106
  "zhjwy3": ["f1pdflbu", "f11589ue"],
114
107
  "sj55zd": "fkfq4zb",
115
- "v4pbla": "f62j56f",
108
+ "Jwef8y": "fjxutwb",
116
109
  "Bgoe8wy": "f1s2uweq",
117
110
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
118
111
  "oetu4i": "f1ukrpxl",
119
112
  "gg5e9n": ["fecsdlb", "fr80ssc"],
120
113
  "Bi91k9c": "f139oj5f",
121
- "vv34bc": "flt377r",
114
+ "ecr2s2": "fophhak",
122
115
  "B6oc9vd": "ff472gp",
123
116
  "ak43y8": ["f4yyc7m", "ft2aflc"],
124
117
  "wmxk5l": "fggejwh",
@@ -126,74 +119,92 @@ var useRootStyles = /*#__PURE__*/__styles({
126
119
  "lj723h": "f19au66r"
127
120
  },
128
121
  "circular": {
129
- "Dimara": "f44lkw9"
122
+ "Bbmb7ep": ["f8fbkgy", "f1nfllo7"],
123
+ "Beyfa6y": ["f1nfllo7", "f8fbkgy"],
124
+ "B7oj6ja": ["f1djnp8u", "f1s8kh49"],
125
+ "Btl43ni": ["f1s8kh49", "f1djnp8u"]
130
126
  },
131
127
  "rounded": {},
132
128
  "square": {
133
- "Dimara": "f1fabniw"
129
+ "Bbmb7ep": ["fzi6hpg", "fyowgf4"],
130
+ "Beyfa6y": ["fyowgf4", "fzi6hpg"],
131
+ "B7oj6ja": ["f3fg2lr", "f13av6d4"],
132
+ "Btl43ni": ["f13av6d4", "f3fg2lr"]
134
133
  },
135
134
  "small": {
136
- "rmohyg": "f4xv25i",
135
+ "i8kkvl": "f1q8lukm",
136
+ "Belr9w4": "f1ma2n7n",
137
137
  "z8tnut": "f1g0x7ka",
138
138
  "z189sj": ["f19lj068", "f177v4lu"],
139
139
  "Byoj8tv": "f1qch9an",
140
140
  "uwmqm3": ["f177v4lu", "f19lj068"],
141
141
  "Bqenvij": "frvgh55",
142
142
  "Bf4jedk": "fh7ncta",
143
- "Dimara": "fq9zq91",
143
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
144
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
145
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
146
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
144
147
  "Be2twd7": "fy9rknc",
145
148
  "Bhrd7zp": "figsok6",
146
149
  "Bg96gwp": "fwrc4pm"
147
150
  },
148
151
  "medium": {
149
- "rmohyg": "f19jf40t",
152
+ "i8kkvl": "fgfbwa2",
153
+ "Belr9w4": "f1y3hx6l",
150
154
  "z8tnut": "f1g0x7ka",
151
155
  "z189sj": ["f11qrl6u", "fjlbh76"],
152
156
  "Byoj8tv": "f1qch9an",
153
157
  "uwmqm3": ["fjlbh76", "f11qrl6u"],
154
158
  "Bqenvij": "f1d2rq10",
155
159
  "Bf4jedk": "f14es27b",
156
- "Dimara": "ft85np5",
160
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
161
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
162
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
163
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
157
164
  "Be2twd7": "fkhj508",
158
165
  "Bhrd7zp": "fl43uef",
159
166
  "Bg96gwp": "f1i3iumi"
160
167
  },
161
168
  "large": {
162
- "rmohyg": "f19jf40t",
169
+ "i8kkvl": "fgfbwa2",
170
+ "Belr9w4": "f1y3hx6l",
163
171
  "z8tnut": "f1g0x7ka",
164
172
  "z189sj": ["f1gbmcue", "f1rh9g5y"],
165
173
  "Byoj8tv": "f1qch9an",
166
174
  "uwmqm3": ["f1rh9g5y", "f1gbmcue"],
167
175
  "Bqenvij": "fbhnoac",
168
176
  "Bf4jedk": "f14es27b",
169
- "Dimara": "ft85np5",
177
+ "Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
178
+ "Beyfa6y": ["f16jpd5f", "f1aa9q02"],
179
+ "B7oj6ja": ["f1jar5jt", "fyu767a"],
180
+ "Btl43ni": ["fyu767a", "f1jar5jt"],
170
181
  "Be2twd7": "fod5ikn",
171
182
  "Bhrd7zp": "fl43uef",
172
183
  "Bg96gwp": "faaz57k"
173
184
  }
174
185
  }, {
175
- "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);}"],
176
- "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);}"],
177
- "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);}"]
186
+ "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);}"],
187
+ "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);}"],
188
+ "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);}"]
178
189
  });
179
190
 
180
- var useRootDisabledStyles = /*#__PURE__*/__styles({
191
+ const useRootDisabledStyles = /*#__PURE__*/__styles({
181
192
  "base": {
182
- "ayd6f0": "fqst6tg",
193
+ "De3pzq": "f1bg9a2p",
183
194
  "g2u3we": "f1jj8ep1",
184
195
  "h3c5rm": ["f15xbau", "fy0fskl"],
185
196
  "B9xav0g": "f4ikngz",
186
197
  "zhjwy3": ["fy0fskl", "f15xbau"],
187
198
  "sj55zd": "f1s2aq7o",
188
199
  "Bceei9c": "fdrzuqr",
189
- "v4pbla": "f1nil5o8",
200
+ "Jwef8y": "f1falr9n",
190
201
  "Bgoe8wy": "f12mpcsy",
191
202
  "Bwzppfd": ["f1gwvigk", "f18rmfxp"],
192
203
  "oetu4i": "f1jnshp0",
193
204
  "gg5e9n": ["f18rmfxp", "f1gwvigk"],
194
205
  "Bi91k9c": "fvgxktp",
195
206
  "eoavqd": "fphbwmw",
196
- "vv34bc": "fkqx3al",
207
+ "ecr2s2": "f1ryyzvn",
197
208
  "B6oc9vd": "fdi4vxw",
198
209
  "ak43y8": ["f4ryxzl", "fkdgpbx"],
199
210
  "wmxk5l": "fcmhn06",
@@ -202,9 +213,9 @@ var useRootDisabledStyles = /*#__PURE__*/__styles({
202
213
  "Bwh3duv": "fq67hom"
203
214
  },
204
215
  "outline": {
205
- "ayd6f0": "f1gjiv6l",
206
- "v4pbla": "f62j56f",
207
- "vv34bc": "flt377r"
216
+ "De3pzq": "f1c21dwh",
217
+ "Jwef8y": "fjxutwb",
218
+ "ecr2s2": "fophhak"
208
219
  },
209
220
  "primary": {
210
221
  "g2u3we": "f1p3nwhy",
@@ -221,61 +232,64 @@ var useRootDisabledStyles = /*#__PURE__*/__styles({
221
232
  "B50zh58": ["ft2aflc", "f4yyc7m"]
222
233
  },
223
234
  "subtle": {
224
- "ayd6f0": "f1k2sg7s",
235
+ "De3pzq": "f3rmtva",
225
236
  "g2u3we": "f1p3nwhy",
226
237
  "h3c5rm": ["f11589ue", "f1pdflbu"],
227
238
  "B9xav0g": "f1q5o8ev",
228
239
  "zhjwy3": ["f1pdflbu", "f11589ue"],
229
- "v4pbla": "f1vc35iv",
240
+ "Jwef8y": "f1cio4g9",
230
241
  "Bgoe8wy": "f1s2uweq",
231
242
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
232
243
  "oetu4i": "f1ukrpxl",
233
244
  "gg5e9n": ["fecsdlb", "fr80ssc"],
234
- "vv34bc": "f17oliv9",
245
+ "ecr2s2": "f1rot6hk",
235
246
  "B6oc9vd": "ff472gp",
236
247
  "ak43y8": ["f4yyc7m", "ft2aflc"],
237
248
  "wmxk5l": "fggejwh",
238
249
  "B50zh58": ["ft2aflc", "f4yyc7m"]
239
250
  },
240
251
  "transparent": {
241
- "ayd6f0": "f1k2sg7s",
252
+ "De3pzq": "f3rmtva",
242
253
  "g2u3we": "f1p3nwhy",
243
254
  "h3c5rm": ["f11589ue", "f1pdflbu"],
244
255
  "B9xav0g": "f1q5o8ev",
245
256
  "zhjwy3": ["f1pdflbu", "f11589ue"],
246
- "v4pbla": "f1vc35iv",
257
+ "Jwef8y": "f1cio4g9",
247
258
  "Bgoe8wy": "f1s2uweq",
248
259
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
249
260
  "oetu4i": "f1ukrpxl",
250
261
  "gg5e9n": ["fecsdlb", "fr80ssc"],
251
- "vv34bc": "f17oliv9",
262
+ "ecr2s2": "f1rot6hk",
252
263
  "B6oc9vd": "ff472gp",
253
264
  "ak43y8": ["f4yyc7m", "ft2aflc"],
254
265
  "wmxk5l": "fggejwh",
255
266
  "B50zh58": ["ft2aflc", "f4yyc7m"]
256
267
  }
257
268
  }, {
258
- "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;}"],
259
- "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;}"],
260
- "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;}"]
269
+ "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;}"],
270
+ "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;}"],
271
+ "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;}"]
261
272
  });
262
273
 
263
- var useRootFocusStyles = /*#__PURE__*/__styles({
274
+ const useRootFocusStyles = /*#__PURE__*/__styles({
264
275
  "base": {
265
276
  "B486eqv": "f2hkw1w",
266
277
  "Bnmjwt4": "flfsvnh",
267
278
  "Jopkrh": ["f1781m5e", "flvaaa9"],
268
279
  "hhrs2v": "f50u1b5",
269
280
  "B7jbng7": ["flvaaa9", "f1781m5e"],
281
+ "Bh48x57": "f19j8a82",
270
282
  "B32s92o": "f4mghqd",
271
283
  "B5hngm5": "fhcq1yo",
272
- "Bh48x57": "f19j8a82",
273
- "D4py6b": ["f9ycirn", "fj27422"],
284
+ "D4py6b": "f9ycirn",
274
285
  "Bgwpjed": "fpt6wn7"
275
286
  },
276
287
  "circular": {
277
288
  "B486eqv": "f2hkw1w",
278
- "Big6zof": "f6dohij"
289
+ "B8j0l6": ["f11yy61d", "f5edc3x"],
290
+ "Ekyhi": ["f5edc3x", "f11yy61d"],
291
+ "Bmrpcm6": ["f1aea4n", "f4jo73o"],
292
+ "Beswxhl": ["f4jo73o", "f1aea4n"]
279
293
  },
280
294
  "rounded": {},
281
295
  "primary": {
@@ -284,30 +298,42 @@ var useRootFocusStyles = /*#__PURE__*/__styles({
284
298
  "Jopkrh": ["fhoxsto", "f19qf7vm"],
285
299
  "hhrs2v": "f1tl0rof",
286
300
  "B7jbng7": ["f19qf7vm", "fhoxsto"],
287
- "D4py6b": ["f15m8qn2", "f5p9mqa"]
301
+ "D4py6b": "f15m8qn2"
288
302
  },
289
303
  "square": {
290
304
  "B486eqv": "f2hkw1w",
291
- "Big6zof": "f1x6jsgk"
305
+ "B8j0l6": ["f5oco9f", "fiz44lb"],
306
+ "Ekyhi": ["fiz44lb", "f5oco9f"],
307
+ "Bmrpcm6": ["f1d1ywej", "flv4e1y"],
308
+ "Beswxhl": ["flv4e1y", "f1d1ywej"]
292
309
  },
293
310
  "small": {
294
311
  "B486eqv": "f2hkw1w",
295
- "Big6zof": "f1cqgkc0"
312
+ "B8j0l6": ["f1dzjeht", "f1fw97sp"],
313
+ "Ekyhi": ["f1fw97sp", "f1dzjeht"],
314
+ "Bmrpcm6": ["f1hr3vfr", "f1fepg9x"],
315
+ "Beswxhl": ["f1fepg9x", "f1hr3vfr"]
296
316
  },
297
317
  "medium": {
298
318
  "B486eqv": "f2hkw1w",
299
- "Big6zof": "fhf9ij9"
319
+ "B8j0l6": ["f1ezw2km", "f18buiid"],
320
+ "Ekyhi": ["f18buiid", "f1ezw2km"],
321
+ "Bmrpcm6": ["f1hat8c3", "f10ee3ek"],
322
+ "Beswxhl": ["f10ee3ek", "f1hat8c3"]
300
323
  },
301
324
  "large": {
302
325
  "B486eqv": "f2hkw1w",
303
- "Big6zof": "fnsjjqm"
326
+ "B8j0l6": ["f8iz5lg", "fzmqelg"],
327
+ "Ekyhi": ["fzmqelg", "f8iz5lg"],
328
+ "Bmrpcm6": ["f1ywuu4l", "f721nif"],
329
+ "Beswxhl": ["f721nif", "f1ywuu4l"]
304
330
  }
305
331
  }, {
306
332
  "i": [".f2hkw1w:focus-visible{outline-style:none;}"],
307
- "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);}"]
333
+ "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);}"]
308
334
  });
309
335
 
310
- var useRootIconOnlyStyles = /*#__PURE__*/__styles({
336
+ const useRootIconOnlyStyles = /*#__PURE__*/__styles({
311
337
  "small": {
312
338
  "z8tnut": "f10ra9hq",
313
339
  "z189sj": ["f8wuabp", "fycuoez"],
@@ -336,7 +362,7 @@ var useRootIconOnlyStyles = /*#__PURE__*/__styles({
336
362
  "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;}"]
337
363
  });
338
364
 
339
- var useIconStyles = /*#__PURE__*/__styles({
365
+ const useIconStyles = /*#__PURE__*/__styles({
340
366
  "base": {
341
367
  "Bt984gj": "f122n59",
342
368
  "mc9l5x": "ftuwxu6",
@@ -361,20 +387,22 @@ var useIconStyles = /*#__PURE__*/__styles({
361
387
  "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;}"]
362
388
  });
363
389
 
364
- export var useButtonStyles = function (state) {
365
- var rootStyles = useRootStyles();
366
- var rootDisabledStyles = useRootDisabledStyles();
367
- var rootFocusStyles = useRootFocusStyles();
368
- var rootIconOnlyStyles = useRootIconOnlyStyles();
369
- var iconStyles = useIconStyles();
370
- var appearance = state.appearance,
371
- block = state.block,
372
- disabled = state.disabled,
373
- disabledFocusable = state.disabledFocusable,
374
- iconOnly = state.iconOnly,
375
- shape = state.shape,
376
- size = state.size;
377
- state.root.className = mergeClasses( // Root styles
390
+ export const useButtonStyles_unstable = state => {
391
+ const rootStyles = useRootStyles();
392
+ const rootDisabledStyles = useRootDisabledStyles();
393
+ const rootFocusStyles = useRootFocusStyles();
394
+ const rootIconOnlyStyles = useRootIconOnlyStyles();
395
+ const iconStyles = useIconStyles();
396
+ const {
397
+ appearance,
398
+ block,
399
+ disabled,
400
+ disabledFocusable,
401
+ iconOnly,
402
+ shape,
403
+ size
404
+ } = state;
405
+ state.root.className = mergeClasses(buttonClassName, // Root styles
378
406
  rootStyles.base, block && rootStyles.block, appearance && rootStyles[appearance], rootStyles[size], rootStyles[shape], // Disabled styles
379
407
  (disabled || disabledFocusable) && rootDisabledStyles.base, appearance && (disabled || disabledFocusable) && rootDisabledStyles[appearance], // Focus styles
380
408
  rootFocusStyles.base, appearance === 'primary' && rootFocusStyles.primary, rootFocusStyles[size], rootFocusStyles[shape], // Icon-only styles
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/Button/useButtonStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AACA,SAAS,+BAAT,QAAgD,yBAAhD,C,CAGA;AACA;;AACA,OAAO,IAAM,aAAa,GAAG;AAC3B,EAAA,QAAQ,EAAE,KADiB;AAE3B,EAAA,OAAO,EAAE,KAFkB;AAG3B,EAAA,KAAK,E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AC,KAAD,CAlBkB,EAoBjC;AACA,EAAA,QAAQ,IAAI,kBAAkB,CAAC,IAAD,CArBG,EAuBjC;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAxBsB,CAAnC;;AA2BA,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,UAAU,CAAC,IAAZ,EAAkB,UAAU,CAAC,IAAD,CAA5B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AACD;;AAED,SAAO,KAAP;AACD,CAzCM","sourceRoot":""}
@@ -1,15 +1,15 @@
1
1
  import * as React from 'react';
2
- import { renderCompoundButton } from './renderCompoundButton';
3
- import { useCompoundButton } from './useCompoundButton';
4
- import { useCompoundButtonStyles } from './useCompoundButtonStyles';
2
+ import { renderCompoundButton_unstable } from './renderCompoundButton';
3
+ import { useCompoundButton_unstable } from './useCompoundButton';
4
+ import { useCompoundButtonStyles_unstable } from './useCompoundButtonStyles';
5
5
  /**
6
6
  * CompoundButtons are buttons that can have secondary content that adds extra information to the user.
7
7
  */
8
8
 
9
- export var CompoundButton = /*#__PURE__*/React.forwardRef(function (props, ref) {
10
- var state = useCompoundButton(props, ref);
11
- useCompoundButtonStyles(state);
12
- return renderCompoundButton(state); // Casting is required due to lack of distributive union to support unions on @types/react
9
+ export const CompoundButton = /*#__PURE__*/React.forwardRef((props, ref) => {
10
+ const state = useCompoundButton_unstable(props, ref);
11
+ useCompoundButtonStyles_unstable(state);
12
+ return renderCompoundButton_unstable(state); // Casting is required due to lack of distributive union to support unions on @types/react
13
13
  });
14
14
  CompoundButton.displayName = 'CompoundButton';
15
15
  //# sourceMappingURL=CompoundButton.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/components/CompoundButton/CompoundButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AACA,SAAS,uBAAT,QAAwC,2BAAxC;AAIA;;AAEG;;AACH,OAAO,IAAM,cAAc,gBAA6C,KAAK,CAAC,UAAN,CAAiB,UAAC,KAAD,EAAQ,GAAR,EAAW;AAClG,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,CAA/B;AAEA,EAAA,uBAAuB,CAAC,KAAD,CAAvB;AAEA,SAAO,oBAAoB,CAAC,KAAD,CAA3B,CALkG,CAMlG;AACD,CAPuE,CAAjE;AASP,cAAc,CAAC,WAAf,GAA6B,gBAA7B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/components/CompoundButton/CompoundButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,6BAAT,QAA8C,wBAA9C;AACA,SAAS,0BAAT,QAA2C,qBAA3C;AACA,SAAS,gCAAT,QAAiD,2BAAjD;AAIA;;AAEG;;AACH,OAAO,MAAM,cAAc,gBAA6C,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACtG,QAAM,KAAK,GAAG,0BAA0B,CAAC,KAAD,EAAQ,GAAR,CAAxC;AAEA,EAAA,gCAAgC,CAAC,KAAD,CAAhC;AAEA,SAAO,6BAA6B,CAAC,KAAD,CAApC,CALsG,CAMtG;AACD,CAPuE,CAAjE;AASP,cAAc,CAAC,WAAf,GAA6B,gBAA7B","sourceRoot":""}
@@ -1,14 +1,14 @@
1
- import type { ComponentProps, ComponentState, IntrinsicShorthandProps } from '@fluentui/react-utilities';
1
+ import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
2
2
  import type { ButtonCommons, ButtonSlots, ButtonState } from '../Button/Button.types';
3
3
  export declare type CompoundButtonSlots = ButtonSlots & {
4
4
  /**
5
5
  * Second line of text that describes the action this button takes.
6
6
  */
7
- secondaryContent?: IntrinsicShorthandProps<'span'>;
7
+ secondaryContent?: Slot<'span'>;
8
8
  /**
9
9
  * Container that wraps the children and the secondaryContent slot.
10
10
  */
11
- contentContainer: IntrinsicShorthandProps<'span'>;
11
+ contentContainer: NonNullable<Slot<'span'>>;
12
12
  };
13
- export declare type CompoundButtonProps = ComponentProps<CompoundButtonSlots> & Partial<ButtonCommons>;
13
+ export declare type CompoundButtonProps = ComponentProps<Partial<CompoundButtonSlots>> & Partial<ButtonCommons>;
14
14
  export declare type CompoundButtonState = ComponentState<CompoundButtonSlots> & Omit<ButtonState, keyof ButtonSlots | 'components'>;
@@ -2,4 +2,4 @@ export * from './CompoundButton';
2
2
  export * from './CompoundButton.types';
3
3
  export * from './renderCompoundButton';
4
4
  export * from './useCompoundButton';
5
- export { useCompoundButtonStyles } from './useCompoundButtonStyles';
5
+ export { compoundButtonClassName, useCompoundButtonStyles_unstable } from './useCompoundButtonStyles';
@@ -2,5 +2,5 @@ export * from './CompoundButton';
2
2
  export * from './CompoundButton.types';
3
3
  export * from './renderCompoundButton';
4
4
  export * from './useCompoundButton';
5
- export { useCompoundButtonStyles } from './useCompoundButtonStyles';
5
+ export { compoundButtonClassName, useCompoundButtonStyles_unstable } from './useCompoundButtonStyles';
6
6
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CompoundButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/CompoundButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,OAAO,EAAE,uBAAuB,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC"}
@@ -2,4 +2,4 @@ import type { CompoundButtonState } from './CompoundButton.types';
2
2
  /**
3
3
  * Renders a CompoundButton component by passing the state defined props to the appropriate slots.
4
4
  */
5
- export declare const renderCompoundButton: (state: CompoundButtonState) => JSX.Element;
5
+ export declare const renderCompoundButton_unstable: (state: CompoundButtonState) => JSX.Element;
@@ -1,17 +1,23 @@
1
- import { __assign } from "tslib";
2
1
  import * as React from 'react';
3
2
  import { getSlots } from '@fluentui/react-utilities';
4
3
  /**
5
4
  * Renders a CompoundButton component by passing the state defined props to the appropriate slots.
6
5
  */
7
6
 
8
- export var renderCompoundButton = function (state) {
9
- var _a = getSlots(state, ['root', 'contentContainer', 'icon', 'secondaryContent']),
10
- slots = _a.slots,
11
- slotProps = _a.slotProps;
12
-
13
- var iconOnly = state.iconOnly,
14
- iconPosition = state.iconPosition;
15
- return /*#__PURE__*/React.createElement(slots.root, __assign({}, slotProps.root), iconPosition !== 'after' && /*#__PURE__*/React.createElement(slots.icon, __assign({}, slotProps.icon)), !iconOnly && /*#__PURE__*/React.createElement(slots.contentContainer, __assign({}, slotProps.contentContainer), slotProps.root.children, /*#__PURE__*/React.createElement(slots.secondaryContent, __assign({}, slotProps.secondaryContent))), iconPosition === 'after' && /*#__PURE__*/React.createElement(slots.icon, __assign({}, slotProps.icon)));
7
+ export const renderCompoundButton_unstable = state => {
8
+ const {
9
+ slots,
10
+ slotProps
11
+ } = getSlots(state);
12
+ const {
13
+ iconOnly,
14
+ iconPosition
15
+ } = state;
16
+ return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
17
+ }, iconPosition !== 'after' && slots.icon && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
18
+ }), !iconOnly && /*#__PURE__*/React.createElement(slots.contentContainer, { ...slotProps.contentContainer
19
+ }, slotProps.root.children, slots.secondaryContent && /*#__PURE__*/React.createElement(slots.secondaryContent, { ...slotProps.secondaryContent
20
+ })), iconPosition === 'after' && slots.icon && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
21
+ }));
16
22
  };
17
23
  //# sourceMappingURL=renderCompoundButton.js.map