@fluentui/react-button 0.0.0-nightlyc0273fdc6920211123.1 → 0.0.0-nightlyc49127232120220201.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +164 -21
- package/CHANGELOG.md +40 -13
- package/dist/react-button.d.ts +28 -28
- package/lib/components/Button/Button.js +6 -6
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.types.d.ts +5 -5
- package/lib/components/Button/index.d.ts +1 -1
- package/lib/components/Button/index.js +1 -1
- package/lib/components/Button/index.js.map +1 -1
- package/lib/components/Button/renderButton.d.ts +1 -1
- package/lib/components/Button/renderButton.js +6 -3
- package/lib/components/Button/renderButton.js.map +1 -1
- package/lib/components/Button/useButton.d.ts +1 -1
- package/lib/components/Button/useButton.js +3 -2
- package/lib/components/Button/useButton.js.map +1 -1
- package/lib/components/Button/useButtonStyles.d.ts +1 -1
- package/lib/components/Button/useButtonStyles.js +94 -59
- package/lib/components/Button/useButtonStyles.js.map +1 -1
- package/lib/components/CompoundButton/CompoundButton.js +6 -6
- package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/CompoundButton.types.d.ts +3 -3
- package/lib/components/CompoundButton/index.d.ts +1 -1
- package/lib/components/CompoundButton/index.js +1 -1
- package/lib/components/CompoundButton/index.js.map +1 -1
- package/lib/components/CompoundButton/renderCompoundButton.d.ts +1 -1
- package/lib/components/CompoundButton/renderCompoundButton.js +8 -3
- package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButton.d.ts +1 -1
- package/lib/components/CompoundButton/useCompoundButton.js +3 -3
- package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +8 -6
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.js +6 -6
- package/lib/components/MenuButton/MenuButton.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.types.d.ts +2 -2
- package/lib/components/MenuButton/index.d.ts +1 -1
- package/lib/components/MenuButton/index.js +1 -1
- package/lib/components/MenuButton/index.js.map +1 -1
- package/lib/components/MenuButton/renderMenuButton.d.ts +1 -1
- package/lib/components/MenuButton/renderMenuButton.js +6 -3
- package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButton.d.ts +1 -1
- package/lib/components/MenuButton/useMenuButton.js +5 -5
- package/lib/components/MenuButton/useMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
- package/lib/components/MenuButton/useMenuButtonStyles.js +4 -4
- package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib/components/SplitButton/SplitButton.js +6 -6
- package/lib/components/SplitButton/SplitButton.js.map +1 -1
- package/lib/components/SplitButton/SplitButton.types.d.ts +6 -4
- package/lib/components/SplitButton/index.d.ts +1 -1
- package/lib/components/SplitButton/index.js +1 -1
- package/lib/components/SplitButton/index.js.map +1 -1
- package/lib/components/SplitButton/renderSplitButton.d.ts +1 -1
- package/lib/components/SplitButton/renderSplitButton.js +6 -3
- package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButton.d.ts +1 -1
- package/lib/components/SplitButton/useSplitButton.js +1 -1
- package/lib/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
- package/lib/components/SplitButton/useSplitButtonStyles.js +3 -2
- package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib/components/ToggleButton/ToggleButton.js +6 -6
- package/lib/components/ToggleButton/ToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/index.d.ts +1 -1
- package/lib/components/ToggleButton/index.js +1 -1
- package/lib/components/ToggleButton/index.js.map +1 -1
- package/lib/components/ToggleButton/renderToggleButton.d.ts +1 -1
- package/lib/components/ToggleButton/renderToggleButton.js +1 -1
- package/lib/components/ToggleButton/renderToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButton.d.ts +1 -1
- package/lib/components/ToggleButton/useToggleButton.js +8 -4
- package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +35 -34
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/components/Button/Button.js +3 -3
- package/lib-commonjs/components/Button/Button.js.map +1 -1
- package/lib-commonjs/components/Button/Button.types.d.ts +5 -5
- package/lib-commonjs/components/Button/index.d.ts +1 -1
- package/lib-commonjs/components/Button/index.js +3 -3
- package/lib-commonjs/components/Button/index.js.map +1 -1
- package/lib-commonjs/components/Button/renderButton.d.ts +1 -1
- package/lib-commonjs/components/Button/renderButton.js +8 -5
- package/lib-commonjs/components/Button/renderButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButton.d.ts +1 -1
- package/lib-commonjs/components/Button/useButton.js +5 -4
- package/lib-commonjs/components/Button/useButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.d.ts +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.js +104 -68
- package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/CompoundButton.js +3 -3
- package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +3 -3
- package/lib-commonjs/components/CompoundButton/index.d.ts +1 -1
- package/lib-commonjs/components/CompoundButton/index.js +3 -3
- package/lib-commonjs/components/CompoundButton/index.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +1 -1
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +10 -5
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButton.js +4 -4
- package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +19 -16
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.js +3 -3
- package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +2 -2
- package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
- package/lib-commonjs/components/MenuButton/index.js +3 -3
- package/lib-commonjs/components/MenuButton/index.js.map +1 -1
- package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +1 -1
- package/lib-commonjs/components/MenuButton/renderMenuButton.js +8 -5
- package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +1 -1
- package/lib-commonjs/components/MenuButton/useMenuButton.js +5 -5
- package/lib-commonjs/components/MenuButton/useMenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +1 -1
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +8 -8
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib-commonjs/components/SplitButton/SplitButton.js +3 -3
- package/lib-commonjs/components/SplitButton/SplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +6 -4
- package/lib-commonjs/components/SplitButton/index.d.ts +1 -1
- package/lib-commonjs/components/SplitButton/index.js +3 -3
- package/lib-commonjs/components/SplitButton/index.js.map +1 -1
- package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +1 -1
- package/lib-commonjs/components/SplitButton/renderSplitButton.js +8 -5
- package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButton.js +3 -3
- package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +11 -9
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/ToggleButton.js +3 -3
- package/lib-commonjs/components/ToggleButton/ToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
- package/lib-commonjs/components/ToggleButton/index.js +3 -3
- package/lib-commonjs/components/ToggleButton/index.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +1 -1
- package/lib-commonjs/components/ToggleButton/renderToggleButton.js +3 -3
- package/lib-commonjs/components/ToggleButton/renderToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.js +9 -5
- package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +40 -38
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/package.json +12 -13
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -13
- package/lib/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -24
- package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -1,5 +1,6 @@
|
|
1
|
-
import { __styles, mergeClasses } from '@
|
1
|
+
import { shorthands, __styles, mergeClasses } from '@griffel/react';
|
2
2
|
import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
|
3
|
+
import { tokens } from '@fluentui/react-theme';
|
3
4
|
export const buttonClassName = 'fui-Button'; // TODO: These are named in design specs but not hoisted to global/alias yet.
|
4
5
|
// We're tracking these here to determine how we can hoist them.
|
5
6
|
|
@@ -23,33 +24,34 @@ const useRootStyles = /*#__PURE__*/__styles({
|
|
23
24
|
"jrapky": "f19f4twv",
|
24
25
|
"Frg6f3": ["f1tyq0we", "f11qmguv"],
|
25
26
|
"B2u0y6b": "f1n52uh2",
|
26
|
-
"
|
27
|
+
"B68tc82": "f1p9o1ba",
|
28
|
+
"Bmxbyg5": "f1sil6mw",
|
27
29
|
"ygn44y": "f1cmbuwj",
|
28
30
|
"Huce71": "fz5stix",
|
29
|
-
"
|
31
|
+
"De3pzq": "fxugw4r",
|
30
32
|
"sj55zd": "f19n0e5",
|
31
|
-
"g2u3we": "fj3muxo",
|
32
|
-
"h3c5rm": ["f1akhkt", "f1lxtadh"],
|
33
|
-
"B9xav0g": "f1aperda",
|
34
|
-
"zhjwy3": ["f1lxtadh", "f1akhkt"],
|
35
|
-
"icvyot": "fzkkow9",
|
36
|
-
"vrafjx": ["fcdblym", "fjik90z"],
|
37
|
-
"oivjwe": "fg706s2",
|
38
|
-
"wvpqe5": ["fjik90z", "fcdblym"],
|
39
33
|
"B4j52fo": "f192inf7",
|
40
34
|
"Bekrc4i": ["f5tn483", "f1ojsxk5"],
|
41
35
|
"Bn0qgzm": "f1vxd6vx",
|
42
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"],
|
43
45
|
"Bahqtrf": "fk6fouc",
|
44
46
|
"oeaueh": "f1s6fcnf",
|
45
|
-
"
|
47
|
+
"Jwef8y": "f1knas48",
|
46
48
|
"Bgoe8wy": "fvcxoqz",
|
47
49
|
"Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
|
48
50
|
"oetu4i": "f1xlaoq0",
|
49
51
|
"gg5e9n": ["f1m52nbi", "f1ub3y4t"],
|
50
52
|
"Bi91k9c": "fax3udt",
|
51
53
|
"eoavqd": "f8491dx",
|
52
|
-
"
|
54
|
+
"ecr2s2": "fb40n2d",
|
53
55
|
"B6oc9vd": "fvs00aa",
|
54
56
|
"ak43y8": ["f1assf6x", "f4ruux4"],
|
55
57
|
"wmxk5l": "fumykes",
|
@@ -62,24 +64,24 @@ const useRootStyles = /*#__PURE__*/__styles({
|
|
62
64
|
"a9b677": "fly5x3f"
|
63
65
|
},
|
64
66
|
"outline": {
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
67
|
+
"De3pzq": "f1c21dwh",
|
68
|
+
"Jwef8y": "fjxutwb",
|
69
|
+
"ecr2s2": "fophhak"
|
68
70
|
},
|
69
71
|
"primary": {
|
70
|
-
"
|
72
|
+
"De3pzq": "ffp7eso",
|
71
73
|
"g2u3we": "f1p3nwhy",
|
72
74
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
73
75
|
"B9xav0g": "f1q5o8ev",
|
74
76
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
75
77
|
"sj55zd": "f1phragk",
|
76
|
-
"
|
78
|
+
"Jwef8y": "f15wkkf3",
|
77
79
|
"Bgoe8wy": "f1s2uweq",
|
78
80
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
79
81
|
"oetu4i": "f1ukrpxl",
|
80
82
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
81
83
|
"Bi91k9c": "f1rq72xc",
|
82
|
-
"
|
84
|
+
"ecr2s2": "fsp1bjw",
|
83
85
|
"B6oc9vd": "ff472gp",
|
84
86
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
85
87
|
"wmxk5l": "fggejwh",
|
@@ -87,19 +89,19 @@ const useRootStyles = /*#__PURE__*/__styles({
|
|
87
89
|
"lj723h": "f18otbis"
|
88
90
|
},
|
89
91
|
"subtle": {
|
90
|
-
"
|
92
|
+
"De3pzq": "fhovq9v",
|
91
93
|
"g2u3we": "f1p3nwhy",
|
92
94
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
93
95
|
"B9xav0g": "f1q5o8ev",
|
94
96
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
95
97
|
"sj55zd": "fkfq4zb",
|
96
|
-
"
|
98
|
+
"Jwef8y": "f1t94bn6",
|
97
99
|
"Bgoe8wy": "f1s2uweq",
|
98
100
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
99
101
|
"oetu4i": "f1ukrpxl",
|
100
102
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
101
103
|
"Bi91k9c": "f139oj5f",
|
102
|
-
"
|
104
|
+
"ecr2s2": "f1wfn5kd",
|
103
105
|
"B6oc9vd": "ff472gp",
|
104
106
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
105
107
|
"wmxk5l": "fggejwh",
|
@@ -107,19 +109,19 @@ const useRootStyles = /*#__PURE__*/__styles({
|
|
107
109
|
"lj723h": "f19au66r"
|
108
110
|
},
|
109
111
|
"transparent": {
|
110
|
-
"
|
112
|
+
"De3pzq": "f1c21dwh",
|
111
113
|
"g2u3we": "f1p3nwhy",
|
112
114
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
113
115
|
"B9xav0g": "f1q5o8ev",
|
114
116
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
115
117
|
"sj55zd": "fkfq4zb",
|
116
|
-
"
|
118
|
+
"Jwef8y": "fjxutwb",
|
117
119
|
"Bgoe8wy": "f1s2uweq",
|
118
120
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
119
121
|
"oetu4i": "f1ukrpxl",
|
120
122
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
121
123
|
"Bi91k9c": "f139oj5f",
|
122
|
-
"
|
124
|
+
"ecr2s2": "fophhak",
|
123
125
|
"B6oc9vd": "ff472gp",
|
124
126
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
125
127
|
"wmxk5l": "fggejwh",
|
@@ -127,74 +129,92 @@ const useRootStyles = /*#__PURE__*/__styles({
|
|
127
129
|
"lj723h": "f19au66r"
|
128
130
|
},
|
129
131
|
"circular": {
|
130
|
-
"
|
132
|
+
"Bbmb7ep": ["f8fbkgy", "f1nfllo7"],
|
133
|
+
"Beyfa6y": ["f1nfllo7", "f8fbkgy"],
|
134
|
+
"B7oj6ja": ["f1djnp8u", "f1s8kh49"],
|
135
|
+
"Btl43ni": ["f1s8kh49", "f1djnp8u"]
|
131
136
|
},
|
132
137
|
"rounded": {},
|
133
138
|
"square": {
|
134
|
-
"
|
139
|
+
"Bbmb7ep": ["fzi6hpg", "fyowgf4"],
|
140
|
+
"Beyfa6y": ["fyowgf4", "fzi6hpg"],
|
141
|
+
"B7oj6ja": ["f3fg2lr", "f13av6d4"],
|
142
|
+
"Btl43ni": ["f13av6d4", "f3fg2lr"]
|
135
143
|
},
|
136
144
|
"small": {
|
137
|
-
"
|
145
|
+
"i8kkvl": "f1q8lukm",
|
146
|
+
"Belr9w4": "f1ma2n7n",
|
138
147
|
"z8tnut": "f1g0x7ka",
|
139
148
|
"z189sj": ["f19lj068", "f177v4lu"],
|
140
149
|
"Byoj8tv": "f1qch9an",
|
141
150
|
"uwmqm3": ["f177v4lu", "f19lj068"],
|
142
151
|
"Bqenvij": "frvgh55",
|
143
152
|
"Bf4jedk": "fh7ncta",
|
144
|
-
"
|
153
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
154
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
155
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
156
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
145
157
|
"Be2twd7": "fy9rknc",
|
146
158
|
"Bhrd7zp": "figsok6",
|
147
159
|
"Bg96gwp": "fwrc4pm"
|
148
160
|
},
|
149
161
|
"medium": {
|
150
|
-
"
|
162
|
+
"i8kkvl": "fgfbwa2",
|
163
|
+
"Belr9w4": "f1y3hx6l",
|
151
164
|
"z8tnut": "f1g0x7ka",
|
152
165
|
"z189sj": ["f11qrl6u", "fjlbh76"],
|
153
166
|
"Byoj8tv": "f1qch9an",
|
154
167
|
"uwmqm3": ["fjlbh76", "f11qrl6u"],
|
155
168
|
"Bqenvij": "f1d2rq10",
|
156
169
|
"Bf4jedk": "f14es27b",
|
157
|
-
"
|
170
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
171
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
172
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
173
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
158
174
|
"Be2twd7": "fkhj508",
|
159
175
|
"Bhrd7zp": "fl43uef",
|
160
176
|
"Bg96gwp": "f1i3iumi"
|
161
177
|
},
|
162
178
|
"large": {
|
163
|
-
"
|
179
|
+
"i8kkvl": "fgfbwa2",
|
180
|
+
"Belr9w4": "f1y3hx6l",
|
164
181
|
"z8tnut": "f1g0x7ka",
|
165
182
|
"z189sj": ["f1gbmcue", "f1rh9g5y"],
|
166
183
|
"Byoj8tv": "f1qch9an",
|
167
184
|
"uwmqm3": ["f1rh9g5y", "f1gbmcue"],
|
168
185
|
"Bqenvij": "fbhnoac",
|
169
186
|
"Bf4jedk": "f14es27b",
|
170
|
-
"
|
187
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
188
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
189
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
190
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
171
191
|
"Be2twd7": "fod5ikn",
|
172
192
|
"Bhrd7zp": "fl43uef",
|
173
193
|
"Bg96gwp": "faaz57k"
|
174
194
|
}
|
175
195
|
}, {
|
176
|
-
"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;}", ".
|
177
|
-
"h": [".
|
178
|
-
"a": [".
|
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);}"]
|
179
199
|
});
|
180
200
|
|
181
201
|
const useRootDisabledStyles = /*#__PURE__*/__styles({
|
182
202
|
"base": {
|
183
|
-
"
|
203
|
+
"De3pzq": "f1bg9a2p",
|
184
204
|
"g2u3we": "f1jj8ep1",
|
185
205
|
"h3c5rm": ["f15xbau", "fy0fskl"],
|
186
206
|
"B9xav0g": "f4ikngz",
|
187
207
|
"zhjwy3": ["fy0fskl", "f15xbau"],
|
188
208
|
"sj55zd": "f1s2aq7o",
|
189
209
|
"Bceei9c": "fdrzuqr",
|
190
|
-
"
|
210
|
+
"Jwef8y": "f1falr9n",
|
191
211
|
"Bgoe8wy": "f12mpcsy",
|
192
212
|
"Bwzppfd": ["f1gwvigk", "f18rmfxp"],
|
193
213
|
"oetu4i": "f1jnshp0",
|
194
214
|
"gg5e9n": ["f18rmfxp", "f1gwvigk"],
|
195
215
|
"Bi91k9c": "fvgxktp",
|
196
216
|
"eoavqd": "fphbwmw",
|
197
|
-
"
|
217
|
+
"ecr2s2": "f1ryyzvn",
|
198
218
|
"B6oc9vd": "fdi4vxw",
|
199
219
|
"ak43y8": ["f4ryxzl", "fkdgpbx"],
|
200
220
|
"wmxk5l": "fcmhn06",
|
@@ -203,9 +223,9 @@ const useRootDisabledStyles = /*#__PURE__*/__styles({
|
|
203
223
|
"Bwh3duv": "fq67hom"
|
204
224
|
},
|
205
225
|
"outline": {
|
206
|
-
"
|
207
|
-
"
|
208
|
-
"
|
226
|
+
"De3pzq": "f1c21dwh",
|
227
|
+
"Jwef8y": "fjxutwb",
|
228
|
+
"ecr2s2": "fophhak"
|
209
229
|
},
|
210
230
|
"primary": {
|
211
231
|
"g2u3we": "f1p3nwhy",
|
@@ -222,43 +242,43 @@ const useRootDisabledStyles = /*#__PURE__*/__styles({
|
|
222
242
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
223
243
|
},
|
224
244
|
"subtle": {
|
225
|
-
"
|
245
|
+
"De3pzq": "f3rmtva",
|
226
246
|
"g2u3we": "f1p3nwhy",
|
227
247
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
228
248
|
"B9xav0g": "f1q5o8ev",
|
229
249
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
230
|
-
"
|
250
|
+
"Jwef8y": "f1cio4g9",
|
231
251
|
"Bgoe8wy": "f1s2uweq",
|
232
252
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
233
253
|
"oetu4i": "f1ukrpxl",
|
234
254
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
235
|
-
"
|
255
|
+
"ecr2s2": "f1rot6hk",
|
236
256
|
"B6oc9vd": "ff472gp",
|
237
257
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
238
258
|
"wmxk5l": "fggejwh",
|
239
259
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
240
260
|
},
|
241
261
|
"transparent": {
|
242
|
-
"
|
262
|
+
"De3pzq": "f3rmtva",
|
243
263
|
"g2u3we": "f1p3nwhy",
|
244
264
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
245
265
|
"B9xav0g": "f1q5o8ev",
|
246
266
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
247
|
-
"
|
267
|
+
"Jwef8y": "f1cio4g9",
|
248
268
|
"Bgoe8wy": "f1s2uweq",
|
249
269
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
250
270
|
"oetu4i": "f1ukrpxl",
|
251
271
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
252
|
-
"
|
272
|
+
"ecr2s2": "f1rot6hk",
|
253
273
|
"B6oc9vd": "ff472gp",
|
254
274
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
255
275
|
"wmxk5l": "fggejwh",
|
256
276
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
257
277
|
}
|
258
278
|
}, {
|
259
|
-
"d": [".
|
260
|
-
"h": [".
|
261
|
-
"a": [".
|
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;}"]
|
262
282
|
});
|
263
283
|
|
264
284
|
const useRootFocusStyles = /*#__PURE__*/__styles({
|
@@ -268,15 +288,18 @@ const useRootFocusStyles = /*#__PURE__*/__styles({
|
|
268
288
|
"Jopkrh": ["f1781m5e", "flvaaa9"],
|
269
289
|
"hhrs2v": "f50u1b5",
|
270
290
|
"B7jbng7": ["flvaaa9", "f1781m5e"],
|
291
|
+
"Bh48x57": "f19j8a82",
|
271
292
|
"B32s92o": "f4mghqd",
|
272
293
|
"B5hngm5": "fhcq1yo",
|
273
|
-
"Bh48x57": "f19j8a82",
|
274
294
|
"D4py6b": "f9ycirn",
|
275
295
|
"Bgwpjed": "fpt6wn7"
|
276
296
|
},
|
277
297
|
"circular": {
|
278
298
|
"B486eqv": "f2hkw1w",
|
279
|
-
"
|
299
|
+
"B8j0l6": ["f11yy61d", "f5edc3x"],
|
300
|
+
"Ekyhi": ["f5edc3x", "f11yy61d"],
|
301
|
+
"Bmrpcm6": ["f1aea4n", "f4jo73o"],
|
302
|
+
"Beswxhl": ["f4jo73o", "f1aea4n"]
|
280
303
|
},
|
281
304
|
"rounded": {},
|
282
305
|
"primary": {
|
@@ -289,23 +312,35 @@ const useRootFocusStyles = /*#__PURE__*/__styles({
|
|
289
312
|
},
|
290
313
|
"square": {
|
291
314
|
"B486eqv": "f2hkw1w",
|
292
|
-
"
|
315
|
+
"B8j0l6": ["f5oco9f", "fiz44lb"],
|
316
|
+
"Ekyhi": ["fiz44lb", "f5oco9f"],
|
317
|
+
"Bmrpcm6": ["f1d1ywej", "flv4e1y"],
|
318
|
+
"Beswxhl": ["flv4e1y", "f1d1ywej"]
|
293
319
|
},
|
294
320
|
"small": {
|
295
321
|
"B486eqv": "f2hkw1w",
|
296
|
-
"
|
322
|
+
"B8j0l6": ["f1dzjeht", "f1fw97sp"],
|
323
|
+
"Ekyhi": ["f1fw97sp", "f1dzjeht"],
|
324
|
+
"Bmrpcm6": ["f1hr3vfr", "f1fepg9x"],
|
325
|
+
"Beswxhl": ["f1fepg9x", "f1hr3vfr"]
|
297
326
|
},
|
298
327
|
"medium": {
|
299
328
|
"B486eqv": "f2hkw1w",
|
300
|
-
"
|
329
|
+
"B8j0l6": ["f1ezw2km", "f18buiid"],
|
330
|
+
"Ekyhi": ["f18buiid", "f1ezw2km"],
|
331
|
+
"Bmrpcm6": ["f1hat8c3", "f10ee3ek"],
|
332
|
+
"Beswxhl": ["f10ee3ek", "f1hat8c3"]
|
301
333
|
},
|
302
334
|
"large": {
|
303
335
|
"B486eqv": "f2hkw1w",
|
304
|
-
"
|
336
|
+
"B8j0l6": ["f8iz5lg", "fzmqelg"],
|
337
|
+
"Ekyhi": ["fzmqelg", "f8iz5lg"],
|
338
|
+
"Bmrpcm6": ["f1ywuu4l", "f721nif"],
|
339
|
+
"Beswxhl": ["f721nif", "f1ywuu4l"]
|
305
340
|
}
|
306
341
|
}, {
|
307
342
|
"i": [".f2hkw1w:focus-visible{outline-style:none;}"],
|
308
|
-
"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] .
|
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);}"]
|
309
344
|
});
|
310
345
|
|
311
346
|
const useRootIconOnlyStyles = /*#__PURE__*/__styles({
|
@@ -362,7 +397,7 @@ const useIconStyles = /*#__PURE__*/__styles({
|
|
362
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;}"]
|
363
398
|
});
|
364
399
|
|
365
|
-
export const
|
400
|
+
export const useButtonStyles_unstable = state => {
|
366
401
|
const rootStyles = useRootStyles();
|
367
402
|
const rootDisabledStyles = useRootDisabledStyles();
|
368
403
|
const rootFocusStyles = useRootFocusStyles();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/Button/useButtonStyles.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"sources":["../../../src/components/Button/useButtonStyles.ts"],"names":[],"mappings":"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","sourceRoot":""}
|
@@ -1,15 +1,15 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
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
9
|
export const CompoundButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
10
|
-
const state =
|
11
|
-
|
12
|
-
return
|
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,
|
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,
|
1
|
+
import type { ComponentProps, ComponentState, IntrinsicSlotProps } 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?:
|
7
|
+
secondaryContent?: IntrinsicSlotProps<'span'>;
|
8
8
|
/**
|
9
9
|
* Container that wraps the children and the secondaryContent slot.
|
10
10
|
*/
|
11
|
-
contentContainer:
|
11
|
+
contentContainer: IntrinsicSlotProps<'span'>;
|
12
12
|
};
|
13
13
|
export declare type CompoundButtonProps = ComponentProps<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 { compoundButtonClassName,
|
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 { compoundButtonClassName,
|
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,
|
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
|
5
|
+
export declare const renderCompoundButton_unstable: (state: CompoundButtonState) => JSX.Element;
|
@@ -4,15 +4,20 @@ import { getSlots } from '@fluentui/react-utilities';
|
|
4
4
|
* Renders a CompoundButton component by passing the state defined props to the appropriate slots.
|
5
5
|
*/
|
6
6
|
|
7
|
-
export const
|
7
|
+
export const renderCompoundButton_unstable = state => {
|
8
8
|
const {
|
9
9
|
slots,
|
10
10
|
slotProps
|
11
|
-
} = getSlots(state
|
11
|
+
} = getSlots(state);
|
12
12
|
const {
|
13
13
|
iconOnly,
|
14
14
|
iconPosition
|
15
15
|
} = state;
|
16
|
-
return /*#__PURE__*/React.createElement(slots.root,
|
16
|
+
return /*#__PURE__*/React.createElement(slots.root, { ...slotProps.root
|
17
|
+
}, iconPosition !== 'after' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
|
18
|
+
}), !iconOnly && /*#__PURE__*/React.createElement(slots.contentContainer, { ...slotProps.contentContainer
|
19
|
+
}, slotProps.root.children, /*#__PURE__*/React.createElement(slots.secondaryContent, { ...slotProps.secondaryContent
|
20
|
+
})), iconPosition === 'after' && /*#__PURE__*/React.createElement(slots.icon, { ...slotProps.icon
|
21
|
+
}));
|
17
22
|
};
|
18
23
|
//# sourceMappingURL=renderCompoundButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CompoundButton/renderCompoundButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,
|
1
|
+
{"version":3,"sources":["../../../src/components/CompoundButton/renderCompoundButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,QAAT,QAAyB,2BAAzB;AAGA;;AAEG;;AACH,OAAO,MAAM,6BAA6B,GAAI,KAAD,IAA+B;AAC1E,QAAM;AAAE,IAAA,KAAF;AAAS,IAAA;AAAT,MAAuB,QAAQ,CAAsB,KAAtB,CAArC;AACA,QAAM;AAAE,IAAA,QAAF;AAAY,IAAA;AAAZ,MAA6B,KAAnC;AAEA,sBACE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,EACG,YAAY,KAAK,OAAjB,iBAA4B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAD/B,EAEG,CAAC,QAAD,iBACC,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,EACG,SAAS,CAAC,IAAV,CAAe,QADlB,eAEE,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,gBAAP,EAAuB,EAAA,GAAK,SAAS,CAAC;AAAf,GAAvB,CAFF,CAHJ,EAQG,YAAY,KAAK,OAAjB,iBAA4B,KAAA,CAAA,aAAA,CAAC,KAAK,CAAC,IAAP,EAAW,EAAA,GAAK,SAAS,CAAC;AAAf,GAAX,CAR/B,CADF;AAYD,CAhBM","sourceRoot":""}
|
@@ -5,4 +5,4 @@ import type { CompoundButtonProps, CompoundButtonState } from './CompoundButton.
|
|
5
5
|
* @param props - User provided props to the CompoundButton component.
|
6
6
|
* @param ref - User provided ref to be passed to the CompoundButton component.
|
7
7
|
*/
|
8
|
-
export declare const
|
8
|
+
export declare const useCompoundButton_unstable: ({ contentContainer, secondaryContent, ...props }: CompoundButtonProps, ref: React.Ref<HTMLButtonElement | HTMLAnchorElement>) => CompoundButtonState;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { resolveShorthand } from '@fluentui/react-utilities';
|
2
|
-
import {
|
2
|
+
import { useButton_unstable } from '../Button/index';
|
3
3
|
/**
|
4
4
|
* Given user props, defines default props for the CompoundButton, calls useButtonState, and returns processed state.
|
5
5
|
* @param props - User provided props to the CompoundButton component.
|
6
6
|
* @param ref - User provided ref to be passed to the CompoundButton component.
|
7
7
|
*/
|
8
8
|
|
9
|
-
export const
|
9
|
+
export const useCompoundButton_unstable = ({
|
10
10
|
contentContainer,
|
11
11
|
secondaryContent,
|
12
12
|
...props
|
13
13
|
}, ref) => {
|
14
14
|
return { // Button state
|
15
|
-
...
|
15
|
+
...useButton_unstable(props, ref),
|
16
16
|
// Slots definition
|
17
17
|
components: {
|
18
18
|
root: 'button',
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CompoundButton/useCompoundButton.ts"],"names":[],"mappings":"AACA,SAAS,gBAAT,QAAiC,2BAAjC;AAEA,SAAS,
|
1
|
+
{"version":3,"sources":["../../../src/components/CompoundButton/useCompoundButton.ts"],"names":[],"mappings":"AACA,SAAS,gBAAT,QAAiC,2BAAjC;AAEA,SAAS,kBAAT,QAAmC,iBAAnC;AAEA;;;;AAIG;;AACH,OAAO,MAAM,0BAA0B,GAAG,CACxC;AAAE,EAAA,gBAAF;AAAoB,EAAA,gBAApB;AAAsC,KAAG;AAAzC,CADwC,EAExC,GAFwC,KAGjB;AACvB,SAAO,EACL;AACA,OAAG,kBAAkB,CAAC,KAAD,EAAQ,GAAR,CAFhB;AAIL;AACA,IAAA,UAAU,EAAE;AACV,MAAA,IAAI,EAAE,QADI;AAEV,MAAA,IAAI,EAAE,MAFI;AAGV,MAAA,gBAAgB,EAAE,MAHR;AAIV,MAAA,gBAAgB,EAAE;AAJR,KALP;AAWL,IAAA,gBAAgB,EAAE,gBAAgB,CAAC,gBAAD,EAAmB;AAAE,MAAA,QAAQ,EAAE;AAAZ,KAAnB,CAX7B;AAYL,IAAA,gBAAgB,EAAE,gBAAgB,CAAC,gBAAD;AAZ7B,GAAP;AAcD,CAlBM","sourceRoot":""}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { CompoundButtonState } from './CompoundButton.types';
|
2
2
|
export declare const compoundButtonClassName = "fui-CompoundButton";
|
3
|
-
export declare const
|
3
|
+
export declare const useCompoundButtonStyles_unstable: (state: CompoundButtonState) => CompoundButtonState;
|