@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.
- package/CHANGELOG.json +393 -24
- package/CHANGELOG.md +88 -18
- package/dist/react-button.d.ts +42 -34
- package/lib/components/Button/Button.js +7 -7
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.types.d.ts +6 -6
- package/lib/components/Button/index.d.ts +2 -2
- package/lib/components/Button/index.js +1 -2
- package/lib/components/Button/index.js.map +1 -1
- package/lib/components/Button/renderButton.d.ts +1 -1
- package/lib/components/Button/renderButton.js +13 -9
- package/lib/components/Button/renderButton.js.map +1 -1
- package/lib/components/Button/useButton.d.ts +1 -1
- package/lib/components/Button/useButton.js +22 -25
- package/lib/components/Button/useButton.js.map +1 -1
- package/lib/components/Button/useButtonStyles.d.ts +2 -9
- package/lib/components/Button/useButtonStyles.js +118 -90
- package/lib/components/Button/useButtonStyles.js.map +1 -1
- package/lib/components/CompoundButton/CompoundButton.js +7 -7
- package/lib/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/CompoundButton.types.d.ts +4 -4
- 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 +15 -9
- package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButton.d.ts +1 -1
- package/lib/components/CompoundButton/useCompoundButton.js +9 -9
- package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +2 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +52 -48
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.js +7 -7
- package/lib/components/MenuButton/MenuButton.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.types.d.ts +3 -4
- 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 +13 -9
- package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButton.d.ts +1 -1
- package/lib/components/MenuButton/useMenuButton.js +11 -11
- package/lib/components/MenuButton/useMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButtonStyles.d.ts +2 -1
- package/lib/components/MenuButton/useMenuButtonStyles.js +8 -6
- package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib/components/SplitButton/SplitButton.js +7 -7
- 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 +9 -7
- package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButton.d.ts +1 -1
- package/lib/components/SplitButton/useSplitButton.js +41 -45
- package/lib/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButtonStyles.d.ts +2 -1
- package/lib/components/SplitButton/useSplitButtonStyles.js +38 -34
- package/lib/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib/components/ToggleButton/ToggleButton.js +7 -7
- package/lib/components/ToggleButton/ToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/ToggleButton.types.d.ts +2 -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 +32 -30
- package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +2 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +47 -43
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/Button.js +1 -1
- package/lib-commonjs/CompoundButton.js +1 -1
- package/lib-commonjs/MenuButton.js +1 -1
- package/lib-commonjs/SplitButton.js +1 -1
- package/lib-commonjs/ToggleButton.js +1 -1
- package/lib-commonjs/components/Button/Button.js +8 -8
- package/lib-commonjs/components/Button/Button.js.map +1 -1
- package/lib-commonjs/components/Button/Button.types.d.ts +6 -6
- package/lib-commonjs/components/Button/index.d.ts +2 -2
- package/lib-commonjs/components/Button/index.js +10 -6
- 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 +17 -14
- 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 +26 -29
- package/lib-commonjs/components/Button/useButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.d.ts +2 -9
- package/lib-commonjs/components/Button/useButtonStyles.js +121 -92
- package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/CompoundButton.js +8 -8
- package/lib-commonjs/components/CompoundButton/CompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +4 -4
- package/lib-commonjs/components/CompoundButton/index.d.ts +1 -1
- package/lib-commonjs/components/CompoundButton/index.js +10 -4
- 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 +19 -14
- 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 +12 -13
- package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +2 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +58 -53
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.js +8 -8
- package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +3 -4
- package/lib-commonjs/components/MenuButton/index.d.ts +1 -1
- package/lib-commonjs/components/MenuButton/index.js +10 -4
- 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 +17 -14
- 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 +15 -16
- package/lib-commonjs/components/MenuButton/useMenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +2 -1
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js +12 -9
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib-commonjs/components/SplitButton/SplitButton.js +8 -8
- 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 +10 -4
- 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 +13 -12
- 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 +46 -51
- package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +2 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +44 -39
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/ToggleButton.js +8 -8
- package/lib-commonjs/components/ToggleButton/ToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +2 -1
- package/lib-commonjs/components/ToggleButton/index.d.ts +1 -1
- package/lib-commonjs/components/ToggleButton/index.js +10 -4
- 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 +36 -35
- package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +2 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +51 -45
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/package.json +12 -15
- 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
@@ -3,24 +3,17 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.useButtonStyles_unstable = exports.buttonClassName = void 0;
|
7
7
|
|
8
|
-
|
8
|
+
const react_1 = /*#__PURE__*/require("@griffel/react");
|
9
9
|
|
10
|
-
|
11
|
-
// We're tracking these here to determine how we can hoist them.
|
10
|
+
const react_tabster_1 = /*#__PURE__*/require("@fluentui/react-tabster");
|
12
11
|
|
12
|
+
const react_theme_1 = /*#__PURE__*/require("@fluentui/react-theme");
|
13
13
|
|
14
|
-
exports.
|
15
|
-
smallest: '2px',
|
16
|
-
smaller: '4px',
|
17
|
-
small: '6px',
|
18
|
-
medium: '8px',
|
19
|
-
large: '12px',
|
20
|
-
larger: '16px'
|
21
|
-
};
|
14
|
+
exports.buttonClassName = 'fui-Button';
|
22
15
|
|
23
|
-
|
16
|
+
const useRootStyles = /*#__PURE__*/react_1.__styles({
|
24
17
|
"base": {
|
25
18
|
"Bt984gj": "f122n59",
|
26
19
|
"mc9l5x": "ftuwxu6",
|
@@ -31,33 +24,34 @@ var useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
31
24
|
"jrapky": "f19f4twv",
|
32
25
|
"Frg6f3": ["f1tyq0we", "f11qmguv"],
|
33
26
|
"B2u0y6b": "f1n52uh2",
|
34
|
-
"
|
27
|
+
"B68tc82": "f1p9o1ba",
|
28
|
+
"Bmxbyg5": "f1sil6mw",
|
35
29
|
"ygn44y": "f1cmbuwj",
|
36
30
|
"Huce71": "fz5stix",
|
37
|
-
"
|
31
|
+
"De3pzq": "fxugw4r",
|
38
32
|
"sj55zd": "f19n0e5",
|
39
|
-
"g2u3we": "fj3muxo",
|
40
|
-
"h3c5rm": ["f1akhkt", "f1lxtadh"],
|
41
|
-
"B9xav0g": "f1aperda",
|
42
|
-
"zhjwy3": ["f1lxtadh", "f1akhkt"],
|
43
|
-
"icvyot": "fzkkow9",
|
44
|
-
"vrafjx": ["fcdblym", "fjik90z"],
|
45
|
-
"oivjwe": "fg706s2",
|
46
|
-
"wvpqe5": ["fjik90z", "fcdblym"],
|
47
33
|
"B4j52fo": "f192inf7",
|
48
34
|
"Bekrc4i": ["f5tn483", "f1ojsxk5"],
|
49
35
|
"Bn0qgzm": "f1vxd6vx",
|
50
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"],
|
51
45
|
"Bahqtrf": "fk6fouc",
|
52
46
|
"oeaueh": "f1s6fcnf",
|
53
|
-
"
|
47
|
+
"Jwef8y": "f1knas48",
|
54
48
|
"Bgoe8wy": "fvcxoqz",
|
55
49
|
"Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
|
56
50
|
"oetu4i": "f1xlaoq0",
|
57
51
|
"gg5e9n": ["f1m52nbi", "f1ub3y4t"],
|
58
52
|
"Bi91k9c": "fax3udt",
|
59
53
|
"eoavqd": "f8491dx",
|
60
|
-
"
|
54
|
+
"ecr2s2": "fb40n2d",
|
61
55
|
"B6oc9vd": "fvs00aa",
|
62
56
|
"ak43y8": ["f1assf6x", "f4ruux4"],
|
63
57
|
"wmxk5l": "fumykes",
|
@@ -70,24 +64,24 @@ var useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
70
64
|
"a9b677": "fly5x3f"
|
71
65
|
},
|
72
66
|
"outline": {
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"
|
67
|
+
"De3pzq": "f1c21dwh",
|
68
|
+
"Jwef8y": "fjxutwb",
|
69
|
+
"ecr2s2": "fophhak"
|
76
70
|
},
|
77
71
|
"primary": {
|
78
|
-
"
|
72
|
+
"De3pzq": "ffp7eso",
|
79
73
|
"g2u3we": "f1p3nwhy",
|
80
74
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
81
75
|
"B9xav0g": "f1q5o8ev",
|
82
76
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
83
77
|
"sj55zd": "f1phragk",
|
84
|
-
"
|
78
|
+
"Jwef8y": "f15wkkf3",
|
85
79
|
"Bgoe8wy": "f1s2uweq",
|
86
80
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
87
81
|
"oetu4i": "f1ukrpxl",
|
88
82
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
89
83
|
"Bi91k9c": "f1rq72xc",
|
90
|
-
"
|
84
|
+
"ecr2s2": "fsp1bjw",
|
91
85
|
"B6oc9vd": "ff472gp",
|
92
86
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
93
87
|
"wmxk5l": "fggejwh",
|
@@ -95,19 +89,19 @@ var useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
95
89
|
"lj723h": "f18otbis"
|
96
90
|
},
|
97
91
|
"subtle": {
|
98
|
-
"
|
92
|
+
"De3pzq": "fhovq9v",
|
99
93
|
"g2u3we": "f1p3nwhy",
|
100
94
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
101
95
|
"B9xav0g": "f1q5o8ev",
|
102
96
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
103
97
|
"sj55zd": "fkfq4zb",
|
104
|
-
"
|
98
|
+
"Jwef8y": "f1t94bn6",
|
105
99
|
"Bgoe8wy": "f1s2uweq",
|
106
100
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
107
101
|
"oetu4i": "f1ukrpxl",
|
108
102
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
109
103
|
"Bi91k9c": "f139oj5f",
|
110
|
-
"
|
104
|
+
"ecr2s2": "f1wfn5kd",
|
111
105
|
"B6oc9vd": "ff472gp",
|
112
106
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
113
107
|
"wmxk5l": "fggejwh",
|
@@ -115,19 +109,19 @@ var useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
115
109
|
"lj723h": "f19au66r"
|
116
110
|
},
|
117
111
|
"transparent": {
|
118
|
-
"
|
112
|
+
"De3pzq": "f1c21dwh",
|
119
113
|
"g2u3we": "f1p3nwhy",
|
120
114
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
121
115
|
"B9xav0g": "f1q5o8ev",
|
122
116
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
123
117
|
"sj55zd": "fkfq4zb",
|
124
|
-
"
|
118
|
+
"Jwef8y": "fjxutwb",
|
125
119
|
"Bgoe8wy": "f1s2uweq",
|
126
120
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
127
121
|
"oetu4i": "f1ukrpxl",
|
128
122
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
129
123
|
"Bi91k9c": "f139oj5f",
|
130
|
-
"
|
124
|
+
"ecr2s2": "fophhak",
|
131
125
|
"B6oc9vd": "ff472gp",
|
132
126
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
133
127
|
"wmxk5l": "fggejwh",
|
@@ -135,74 +129,92 @@ var useRootStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
135
129
|
"lj723h": "f19au66r"
|
136
130
|
},
|
137
131
|
"circular": {
|
138
|
-
"
|
132
|
+
"Bbmb7ep": ["f8fbkgy", "f1nfllo7"],
|
133
|
+
"Beyfa6y": ["f1nfllo7", "f8fbkgy"],
|
134
|
+
"B7oj6ja": ["f1djnp8u", "f1s8kh49"],
|
135
|
+
"Btl43ni": ["f1s8kh49", "f1djnp8u"]
|
139
136
|
},
|
140
137
|
"rounded": {},
|
141
138
|
"square": {
|
142
|
-
"
|
139
|
+
"Bbmb7ep": ["fzi6hpg", "fyowgf4"],
|
140
|
+
"Beyfa6y": ["fyowgf4", "fzi6hpg"],
|
141
|
+
"B7oj6ja": ["f3fg2lr", "f13av6d4"],
|
142
|
+
"Btl43ni": ["f13av6d4", "f3fg2lr"]
|
143
143
|
},
|
144
144
|
"small": {
|
145
|
-
"
|
145
|
+
"i8kkvl": "f1q8lukm",
|
146
|
+
"Belr9w4": "f1ma2n7n",
|
146
147
|
"z8tnut": "f1g0x7ka",
|
147
148
|
"z189sj": ["f19lj068", "f177v4lu"],
|
148
149
|
"Byoj8tv": "f1qch9an",
|
149
150
|
"uwmqm3": ["f177v4lu", "f19lj068"],
|
150
151
|
"Bqenvij": "frvgh55",
|
151
152
|
"Bf4jedk": "fh7ncta",
|
152
|
-
"
|
153
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
154
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
155
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
156
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
153
157
|
"Be2twd7": "fy9rknc",
|
154
158
|
"Bhrd7zp": "figsok6",
|
155
159
|
"Bg96gwp": "fwrc4pm"
|
156
160
|
},
|
157
161
|
"medium": {
|
158
|
-
"
|
162
|
+
"i8kkvl": "fgfbwa2",
|
163
|
+
"Belr9w4": "f1y3hx6l",
|
159
164
|
"z8tnut": "f1g0x7ka",
|
160
165
|
"z189sj": ["f11qrl6u", "fjlbh76"],
|
161
166
|
"Byoj8tv": "f1qch9an",
|
162
167
|
"uwmqm3": ["fjlbh76", "f11qrl6u"],
|
163
168
|
"Bqenvij": "f1d2rq10",
|
164
169
|
"Bf4jedk": "f14es27b",
|
165
|
-
"
|
170
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
171
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
172
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
173
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
166
174
|
"Be2twd7": "fkhj508",
|
167
175
|
"Bhrd7zp": "fl43uef",
|
168
176
|
"Bg96gwp": "f1i3iumi"
|
169
177
|
},
|
170
178
|
"large": {
|
171
|
-
"
|
179
|
+
"i8kkvl": "fgfbwa2",
|
180
|
+
"Belr9w4": "f1y3hx6l",
|
172
181
|
"z8tnut": "f1g0x7ka",
|
173
182
|
"z189sj": ["f1gbmcue", "f1rh9g5y"],
|
174
183
|
"Byoj8tv": "f1qch9an",
|
175
184
|
"uwmqm3": ["f1rh9g5y", "f1gbmcue"],
|
176
185
|
"Bqenvij": "fbhnoac",
|
177
186
|
"Bf4jedk": "f14es27b",
|
178
|
-
"
|
187
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
188
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
189
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
190
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
179
191
|
"Be2twd7": "fod5ikn",
|
180
192
|
"Bhrd7zp": "fl43uef",
|
181
193
|
"Bg96gwp": "faaz57k"
|
182
194
|
}
|
183
195
|
}, {
|
184
|
-
"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;}", ".
|
185
|
-
"h": [".
|
186
|
-
"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);}"]
|
187
199
|
});
|
188
200
|
|
189
|
-
|
201
|
+
const useRootDisabledStyles = /*#__PURE__*/react_1.__styles({
|
190
202
|
"base": {
|
191
|
-
"
|
203
|
+
"De3pzq": "f1bg9a2p",
|
192
204
|
"g2u3we": "f1jj8ep1",
|
193
205
|
"h3c5rm": ["f15xbau", "fy0fskl"],
|
194
206
|
"B9xav0g": "f4ikngz",
|
195
207
|
"zhjwy3": ["fy0fskl", "f15xbau"],
|
196
208
|
"sj55zd": "f1s2aq7o",
|
197
209
|
"Bceei9c": "fdrzuqr",
|
198
|
-
"
|
210
|
+
"Jwef8y": "f1falr9n",
|
199
211
|
"Bgoe8wy": "f12mpcsy",
|
200
212
|
"Bwzppfd": ["f1gwvigk", "f18rmfxp"],
|
201
213
|
"oetu4i": "f1jnshp0",
|
202
214
|
"gg5e9n": ["f18rmfxp", "f1gwvigk"],
|
203
215
|
"Bi91k9c": "fvgxktp",
|
204
216
|
"eoavqd": "fphbwmw",
|
205
|
-
"
|
217
|
+
"ecr2s2": "f1ryyzvn",
|
206
218
|
"B6oc9vd": "fdi4vxw",
|
207
219
|
"ak43y8": ["f4ryxzl", "fkdgpbx"],
|
208
220
|
"wmxk5l": "fcmhn06",
|
@@ -211,9 +223,9 @@ var useRootDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
211
223
|
"Bwh3duv": "fq67hom"
|
212
224
|
},
|
213
225
|
"outline": {
|
214
|
-
"
|
215
|
-
"
|
216
|
-
"
|
226
|
+
"De3pzq": "f1c21dwh",
|
227
|
+
"Jwef8y": "fjxutwb",
|
228
|
+
"ecr2s2": "fophhak"
|
217
229
|
},
|
218
230
|
"primary": {
|
219
231
|
"g2u3we": "f1p3nwhy",
|
@@ -230,61 +242,64 @@ var useRootDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
230
242
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
231
243
|
},
|
232
244
|
"subtle": {
|
233
|
-
"
|
245
|
+
"De3pzq": "f3rmtva",
|
234
246
|
"g2u3we": "f1p3nwhy",
|
235
247
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
236
248
|
"B9xav0g": "f1q5o8ev",
|
237
249
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
238
|
-
"
|
250
|
+
"Jwef8y": "f1cio4g9",
|
239
251
|
"Bgoe8wy": "f1s2uweq",
|
240
252
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
241
253
|
"oetu4i": "f1ukrpxl",
|
242
254
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
243
|
-
"
|
255
|
+
"ecr2s2": "f1rot6hk",
|
244
256
|
"B6oc9vd": "ff472gp",
|
245
257
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
246
258
|
"wmxk5l": "fggejwh",
|
247
259
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
248
260
|
},
|
249
261
|
"transparent": {
|
250
|
-
"
|
262
|
+
"De3pzq": "f3rmtva",
|
251
263
|
"g2u3we": "f1p3nwhy",
|
252
264
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
253
265
|
"B9xav0g": "f1q5o8ev",
|
254
266
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
255
|
-
"
|
267
|
+
"Jwef8y": "f1cio4g9",
|
256
268
|
"Bgoe8wy": "f1s2uweq",
|
257
269
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
258
270
|
"oetu4i": "f1ukrpxl",
|
259
271
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
260
|
-
"
|
272
|
+
"ecr2s2": "f1rot6hk",
|
261
273
|
"B6oc9vd": "ff472gp",
|
262
274
|
"ak43y8": ["f4yyc7m", "ft2aflc"],
|
263
275
|
"wmxk5l": "fggejwh",
|
264
276
|
"B50zh58": ["ft2aflc", "f4yyc7m"]
|
265
277
|
}
|
266
278
|
}, {
|
267
|
-
"d": [".
|
268
|
-
"h": [".
|
269
|
-
"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;}"]
|
270
282
|
});
|
271
283
|
|
272
|
-
|
284
|
+
const useRootFocusStyles = /*#__PURE__*/react_1.__styles({
|
273
285
|
"base": {
|
274
286
|
"B486eqv": "f2hkw1w",
|
275
287
|
"Bnmjwt4": "flfsvnh",
|
276
288
|
"Jopkrh": ["f1781m5e", "flvaaa9"],
|
277
289
|
"hhrs2v": "f50u1b5",
|
278
290
|
"B7jbng7": ["flvaaa9", "f1781m5e"],
|
291
|
+
"Bh48x57": "f19j8a82",
|
279
292
|
"B32s92o": "f4mghqd",
|
280
293
|
"B5hngm5": "fhcq1yo",
|
281
|
-
"
|
282
|
-
"D4py6b": ["f9ycirn", "fj27422"],
|
294
|
+
"D4py6b": "f9ycirn",
|
283
295
|
"Bgwpjed": "fpt6wn7"
|
284
296
|
},
|
285
297
|
"circular": {
|
286
298
|
"B486eqv": "f2hkw1w",
|
287
|
-
"
|
299
|
+
"B8j0l6": ["f11yy61d", "f5edc3x"],
|
300
|
+
"Ekyhi": ["f5edc3x", "f11yy61d"],
|
301
|
+
"Bmrpcm6": ["f1aea4n", "f4jo73o"],
|
302
|
+
"Beswxhl": ["f4jo73o", "f1aea4n"]
|
288
303
|
},
|
289
304
|
"rounded": {},
|
290
305
|
"primary": {
|
@@ -293,30 +308,42 @@ var useRootFocusStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
293
308
|
"Jopkrh": ["fhoxsto", "f19qf7vm"],
|
294
309
|
"hhrs2v": "f1tl0rof",
|
295
310
|
"B7jbng7": ["f19qf7vm", "fhoxsto"],
|
296
|
-
"D4py6b":
|
311
|
+
"D4py6b": "f15m8qn2"
|
297
312
|
},
|
298
313
|
"square": {
|
299
314
|
"B486eqv": "f2hkw1w",
|
300
|
-
"
|
315
|
+
"B8j0l6": ["f5oco9f", "fiz44lb"],
|
316
|
+
"Ekyhi": ["fiz44lb", "f5oco9f"],
|
317
|
+
"Bmrpcm6": ["f1d1ywej", "flv4e1y"],
|
318
|
+
"Beswxhl": ["flv4e1y", "f1d1ywej"]
|
301
319
|
},
|
302
320
|
"small": {
|
303
321
|
"B486eqv": "f2hkw1w",
|
304
|
-
"
|
322
|
+
"B8j0l6": ["f1dzjeht", "f1fw97sp"],
|
323
|
+
"Ekyhi": ["f1fw97sp", "f1dzjeht"],
|
324
|
+
"Bmrpcm6": ["f1hr3vfr", "f1fepg9x"],
|
325
|
+
"Beswxhl": ["f1fepg9x", "f1hr3vfr"]
|
305
326
|
},
|
306
327
|
"medium": {
|
307
328
|
"B486eqv": "f2hkw1w",
|
308
|
-
"
|
329
|
+
"B8j0l6": ["f1ezw2km", "f18buiid"],
|
330
|
+
"Ekyhi": ["f18buiid", "f1ezw2km"],
|
331
|
+
"Bmrpcm6": ["f1hat8c3", "f10ee3ek"],
|
332
|
+
"Beswxhl": ["f10ee3ek", "f1hat8c3"]
|
309
333
|
},
|
310
334
|
"large": {
|
311
335
|
"B486eqv": "f2hkw1w",
|
312
|
-
"
|
336
|
+
"B8j0l6": ["f8iz5lg", "fzmqelg"],
|
337
|
+
"Ekyhi": ["fzmqelg", "f8iz5lg"],
|
338
|
+
"Bmrpcm6": ["f1ywuu4l", "f721nif"],
|
339
|
+
"Beswxhl": ["f721nif", "f1ywuu4l"]
|
313
340
|
}
|
314
341
|
}, {
|
315
342
|
"i": [".f2hkw1w:focus-visible{outline-style:none;}"],
|
316
|
-
"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);}"]
|
317
344
|
});
|
318
345
|
|
319
|
-
|
346
|
+
const useRootIconOnlyStyles = /*#__PURE__*/react_1.__styles({
|
320
347
|
"small": {
|
321
348
|
"z8tnut": "f10ra9hq",
|
322
349
|
"z189sj": ["f8wuabp", "fycuoez"],
|
@@ -345,7 +372,7 @@ var useRootIconOnlyStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
345
372
|
"d": [".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f107v6xj{min-width:28px;}", ".f17iyk3w{max-width:28px;}", ".fwbmr0d{min-width:32px;}", ".f44c6la{max-width:32px;}", ".f1xp5gbu{padding-top:6px;}", ".f1sgzk6v{padding-right:6px;}", ".f1bg5zqg{padding-left:6px;}", ".f1d7kygh{padding-bottom:6px;}", ".f12clzc2{min-width:40px;}", ".fjy1crr{max-width:40px;}"]
|
346
373
|
});
|
347
374
|
|
348
|
-
|
375
|
+
const useIconStyles = /*#__PURE__*/react_1.__styles({
|
349
376
|
"base": {
|
350
377
|
"Bt984gj": "f122n59",
|
351
378
|
"mc9l5x": "ftuwxu6",
|
@@ -370,20 +397,22 @@ var useIconStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
370
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;}"]
|
371
398
|
});
|
372
399
|
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
400
|
+
const useButtonStyles_unstable = state => {
|
401
|
+
const rootStyles = useRootStyles();
|
402
|
+
const rootDisabledStyles = useRootDisabledStyles();
|
403
|
+
const rootFocusStyles = useRootFocusStyles();
|
404
|
+
const rootIconOnlyStyles = useRootIconOnlyStyles();
|
405
|
+
const iconStyles = useIconStyles();
|
406
|
+
const {
|
407
|
+
appearance,
|
408
|
+
block,
|
409
|
+
disabled,
|
410
|
+
disabledFocusable,
|
411
|
+
iconOnly,
|
412
|
+
shape,
|
413
|
+
size
|
414
|
+
} = state;
|
415
|
+
state.root.className = react_1.mergeClasses(exports.buttonClassName, // Root styles
|
387
416
|
rootStyles.base, block && rootStyles.block, appearance && rootStyles[appearance], rootStyles[size], rootStyles[shape], // Disabled styles
|
388
417
|
(disabled || disabledFocusable) && rootDisabledStyles.base, appearance && (disabled || disabledFocusable) && rootDisabledStyles[appearance], // Focus styles
|
389
418
|
rootFocusStyles.base, appearance === 'primary' && rootFocusStyles.primary, rootFocusStyles[size], rootFocusStyles[shape], // Icon-only styles
|
@@ -391,11 +420,11 @@ var useButtonStyles = function (state) {
|
|
391
420
|
state.root.className);
|
392
421
|
|
393
422
|
if (state.icon) {
|
394
|
-
state.icon.className =
|
423
|
+
state.icon.className = react_1.mergeClasses(iconStyles.base, iconStyles[size], state.icon.className);
|
395
424
|
}
|
396
425
|
|
397
426
|
return state;
|
398
427
|
};
|
399
428
|
|
400
|
-
exports.
|
429
|
+
exports.useButtonStyles_unstable = useButtonStyles_unstable;
|
401
430
|
//# sourceMappingURL=useButtonStyles.js.map
|
@@ -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":""}
|
@@ -5,22 +5,22 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.CompoundButton = void 0;
|
7
7
|
|
8
|
-
|
8
|
+
const React = /*#__PURE__*/require("react");
|
9
9
|
|
10
|
-
|
10
|
+
const renderCompoundButton_1 = /*#__PURE__*/require("./renderCompoundButton");
|
11
11
|
|
12
|
-
|
12
|
+
const useCompoundButton_1 = /*#__PURE__*/require("./useCompoundButton");
|
13
13
|
|
14
|
-
|
14
|
+
const useCompoundButtonStyles_1 = /*#__PURE__*/require("./useCompoundButtonStyles");
|
15
15
|
/**
|
16
16
|
* CompoundButtons are buttons that can have secondary content that adds extra information to the user.
|
17
17
|
*/
|
18
18
|
|
19
19
|
|
20
|
-
exports.CompoundButton = /*#__PURE__*/React.forwardRef(
|
21
|
-
|
22
|
-
useCompoundButtonStyles_1.
|
23
|
-
return renderCompoundButton_1.
|
20
|
+
exports.CompoundButton = /*#__PURE__*/React.forwardRef((props, ref) => {
|
21
|
+
const state = useCompoundButton_1.useCompoundButton_unstable(props, ref);
|
22
|
+
useCompoundButtonStyles_1.useCompoundButtonStyles_unstable(state);
|
23
|
+
return renderCompoundButton_1.renderCompoundButton_unstable(state); // Casting is required due to lack of distributive union to support unions on @types/react
|
24
24
|
});
|
25
25
|
exports.CompoundButton.displayName = 'CompoundButton';
|
26
26
|
//# sourceMappingURL=CompoundButton.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/CompoundButton/CompoundButton.tsx"],"names":[],"mappings":";;;;;;;AAAA,
|
1
|
+
{"version":3,"sources":["../../../src/components/CompoundButton/CompoundButton.tsx"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,sBAAA,gBAAA,OAAA,CAAA,wBAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,qBAAA,CAAA;;AACA,MAAA,yBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;AAIA;;AAEG;;;AACU,OAAA,CAAA,cAAA,gBAA2D,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;AACtG,QAAM,KAAK,GAAG,mBAAA,CAAA,0BAAA,CAA2B,KAA3B,EAAkC,GAAlC,CAAd;AAEA,EAAA,yBAAA,CAAA,gCAAA,CAAiC,KAAjC;AAEA,SAAO,sBAAA,CAAA,6BAAA,CAA8B,KAA9B,CAAP,CALsG,CAMtG;AACD,CAPuE,CAA3D;AASb,OAAA,CAAA,cAAA,CAAe,WAAf,GAA6B,gBAA7B","sourceRoot":""}
|
@@ -1,14 +1,14 @@
|
|
1
|
-
import type { ComponentProps, ComponentState,
|
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?:
|
7
|
+
secondaryContent?: Slot<'span'>;
|
8
8
|
/**
|
9
9
|
* Container that wraps the children and the secondaryContent slot.
|
10
10
|
*/
|
11
|
-
contentContainer:
|
11
|
+
contentContainer: NonNullable<Slot<'span'>>;
|
12
12
|
};
|
13
|
-
export declare type CompoundButtonProps = ComponentProps<CompoundButtonSlots
|
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 {
|
5
|
+
export { compoundButtonClassName, useCompoundButtonStyles_unstable } from './useCompoundButtonStyles';
|
@@ -3,9 +3,9 @@
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
4
4
|
value: true
|
5
5
|
});
|
6
|
-
exports.
|
6
|
+
exports.useCompoundButtonStyles_unstable = exports.compoundButtonClassName = void 0;
|
7
7
|
|
8
|
-
|
8
|
+
const tslib_1 = /*#__PURE__*/require("tslib");
|
9
9
|
|
10
10
|
tslib_1.__exportStar(require("./CompoundButton"), exports);
|
11
11
|
|
@@ -17,10 +17,16 @@ tslib_1.__exportStar(require("./useCompoundButton"), exports);
|
|
17
17
|
|
18
18
|
var useCompoundButtonStyles_1 = /*#__PURE__*/require("./useCompoundButtonStyles");
|
19
19
|
|
20
|
-
Object.defineProperty(exports, "
|
20
|
+
Object.defineProperty(exports, "compoundButtonClassName", {
|
21
21
|
enumerable: true,
|
22
22
|
get: function () {
|
23
|
-
return useCompoundButtonStyles_1.
|
23
|
+
return useCompoundButtonStyles_1.compoundButtonClassName;
|
24
|
+
}
|
25
|
+
});
|
26
|
+
Object.defineProperty(exports, "useCompoundButtonStyles_unstable", {
|
27
|
+
enumerable: true,
|
28
|
+
get: function () {
|
29
|
+
return useCompoundButtonStyles_1.useCompoundButtonStyles_unstable;
|
24
30
|
}
|
25
31
|
});
|
26
32
|
//# sourceMappingURL=index.js.map
|