@fluentui/react-button 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.11
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +914 -24
- package/CHANGELOG.md +388 -180
- package/README.md +80 -18
- package/dist/{react-button.d.ts → index.d.ts} +72 -59
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/Button.js.map +1 -1
- package/lib/CompoundButton.js.map +1 -1
- package/lib/MenuButton.js.map +1 -1
- package/lib/SplitButton.js.map +1 -1
- package/lib/ToggleButton.js.map +1 -1
- package/lib/components/Button/Button.js +7 -7
- package/lib/components/Button/Button.js.map +1 -1
- package/lib/components/Button/Button.types.js.map +1 -1
- package/lib/components/Button/index.js +1 -2
- package/lib/components/Button/index.js.map +1 -1
- package/lib/components/Button/renderButton.js +13 -9
- package/lib/components/Button/renderButton.js.map +1 -1
- package/lib/components/Button/useButton.js +20 -25
- package/lib/components/Button/useButton.js.map +1 -1
- package/lib/components/Button/useButtonStyles.js +240 -165
- 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.js.map +1 -1
- package/lib/components/CompoundButton/index.js +1 -1
- package/lib/components/CompoundButton/index.js.map +1 -1
- package/lib/components/CompoundButton/renderCompoundButton.js +15 -9
- package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButton.js +13 -8
- package/lib/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +96 -75
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.js +9 -8
- package/lib/components/MenuButton/MenuButton.js.map +1 -1
- package/lib/components/MenuButton/MenuButton.types.js.map +1 -1
- package/lib/components/MenuButton/index.js +1 -1
- package/lib/components/MenuButton/index.js.map +1 -1
- package/lib/components/MenuButton/renderMenuButton.js +13 -9
- package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButton.js +11 -11
- package/lib/components/MenuButton/useMenuButton.js.map +1 -1
- package/lib/components/MenuButton/useMenuButtonStyles.js +39 -17
- package/lib/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib/components/SplitButton/SplitButton.js +8 -8
- package/lib/components/SplitButton/SplitButton.js.map +1 -1
- package/lib/components/SplitButton/SplitButton.types.js.map +1 -1
- package/lib/components/SplitButton/index.js +1 -1
- package/lib/components/SplitButton/index.js.map +1 -1
- package/lib/components/SplitButton/renderSplitButton.js +9 -7
- package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButton.js +54 -49
- package/lib/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib/components/SplitButton/useSplitButtonStyles.js +46 -39
- 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.js.map +1 -1
- package/lib/components/ToggleButton/index.js +1 -1
- package/lib/components/ToggleButton/index.js.map +1 -1
- package/lib/components/ToggleButton/renderToggleButton.js +1 -1
- package/lib/components/ToggleButton/renderToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButton.js +5 -41
- package/lib/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +110 -86
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib/index.js +6 -5
- package/lib/index.js.map +1 -1
- package/lib/utils/index.js +2 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/useToggleState.js +37 -0
- package/lib/utils/useToggleState.js.map +1 -0
- package/lib-commonjs/Button.js +1 -1
- package/lib-commonjs/Button.js.map +1 -1
- package/lib-commonjs/CompoundButton.js +1 -1
- package/lib-commonjs/CompoundButton.js.map +1 -1
- package/lib-commonjs/MenuButton.js +1 -1
- package/lib-commonjs/MenuButton.js.map +1 -1
- package/lib-commonjs/SplitButton.js +1 -1
- package/lib-commonjs/SplitButton.js.map +1 -1
- package/lib-commonjs/ToggleButton.js +1 -1
- package/lib-commonjs/ToggleButton.js.map +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.js.map +1 -1
- 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.js +17 -14
- package/lib-commonjs/components/Button/renderButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButton.js +24 -29
- package/lib-commonjs/components/Button/useButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.js +243 -166
- 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.js.map +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.js +19 -14
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButton.js +16 -12
- package/lib-commonjs/components/CompoundButton/useCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +99 -77
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.js +10 -9
- package/lib-commonjs/components/MenuButton/MenuButton.js.map +1 -1
- package/lib-commonjs/components/MenuButton/MenuButton.types.js.map +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.js +17 -14
- package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +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.js +43 -19
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.js.map +1 -1
- package/lib-commonjs/components/SplitButton/SplitButton.js +9 -9
- package/lib-commonjs/components/SplitButton/SplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/SplitButton.types.js.map +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.js +13 -12
- package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButton.js +58 -54
- package/lib-commonjs/components/SplitButton/useSplitButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.js +50 -42
- 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.js.map +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.js +3 -3
- package/lib-commonjs/components/ToggleButton/renderToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.js +7 -45
- package/lib-commonjs/components/ToggleButton/useToggleButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +114 -86
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/index.js +169 -6
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/utils/index.js +10 -0
- package/lib-commonjs/utils/index.js.map +1 -0
- package/lib-commonjs/utils/useToggleState.js +48 -0
- package/lib-commonjs/utils/useToggleState.js.map +1 -0
- package/package.json +22 -27
- package/dist/demo/index.html +0 -71
- package/dist/demo/react-dom.development.js +0 -21413
- package/dist/demo/react.development.js +0 -3155
- package/lib/Button.d.ts +0 -1
- package/lib/CompoundButton.d.ts +0 -1
- package/lib/MenuButton.d.ts +0 -1
- package/lib/SplitButton.d.ts +0 -1
- package/lib/ToggleButton.d.ts +0 -1
- 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/components/Button/Button.d.ts +0 -6
- package/lib/components/Button/Button.types.d.ts +0 -62
- package/lib/components/Button/index.d.ts +0 -5
- package/lib/components/Button/renderButton.d.ts +0 -5
- package/lib/components/Button/useButton.d.ts +0 -8
- package/lib/components/Button/useButtonStyles.d.ts +0 -10
- package/lib/components/CompoundButton/CompoundButton.d.ts +0 -6
- package/lib/components/CompoundButton/CompoundButton.types.d.ts +0 -14
- package/lib/components/CompoundButton/index.d.ts +0 -5
- package/lib/components/CompoundButton/renderCompoundButton.d.ts +0 -5
- package/lib/components/CompoundButton/useCompoundButton.d.ts +0 -8
- package/lib/components/CompoundButton/useCompoundButtonStyles.d.ts +0 -2
- package/lib/components/MenuButton/MenuButton.d.ts +0 -6
- package/lib/components/MenuButton/MenuButton.types.d.ts +0 -11
- package/lib/components/MenuButton/index.d.ts +0 -5
- package/lib/components/MenuButton/renderMenuButton.d.ts +0 -5
- package/lib/components/MenuButton/useMenuButton.d.ts +0 -6
- package/lib/components/MenuButton/useMenuButtonStyles.d.ts +0 -2
- package/lib/components/SplitButton/SplitButton.d.ts +0 -7
- package/lib/components/SplitButton/SplitButton.types.d.ts +0 -19
- package/lib/components/SplitButton/index.d.ts +0 -5
- package/lib/components/SplitButton/renderSplitButton.d.ts +0 -5
- package/lib/components/SplitButton/useSplitButton.d.ts +0 -8
- package/lib/components/SplitButton/useSplitButtonStyles.d.ts +0 -2
- package/lib/components/ToggleButton/ToggleButton.d.ts +0 -6
- package/lib/components/ToggleButton/ToggleButton.types.d.ts +0 -19
- package/lib/components/ToggleButton/index.d.ts +0 -5
- package/lib/components/ToggleButton/renderToggleButton.d.ts +0 -1
- package/lib/components/ToggleButton/useToggleButton.d.ts +0 -9
- package/lib/components/ToggleButton/useToggleButtonStyles.d.ts +0 -2
- package/lib/index.d.ts +0 -5
- package/lib-commonjs/Button.d.ts +0 -1
- package/lib-commonjs/CompoundButton.d.ts +0 -1
- package/lib-commonjs/MenuButton.d.ts +0 -1
- package/lib-commonjs/SplitButton.d.ts +0 -1
- package/lib-commonjs/ToggleButton.d.ts +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
- package/lib-commonjs/components/Button/Button.d.ts +0 -6
- package/lib-commonjs/components/Button/Button.types.d.ts +0 -62
- package/lib-commonjs/components/Button/index.d.ts +0 -5
- package/lib-commonjs/components/Button/renderButton.d.ts +0 -5
- package/lib-commonjs/components/Button/useButton.d.ts +0 -8
- package/lib-commonjs/components/Button/useButtonStyles.d.ts +0 -10
- package/lib-commonjs/components/CompoundButton/CompoundButton.d.ts +0 -6
- package/lib-commonjs/components/CompoundButton/CompoundButton.types.d.ts +0 -14
- package/lib-commonjs/components/CompoundButton/index.d.ts +0 -5
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.d.ts +0 -5
- package/lib-commonjs/components/CompoundButton/useCompoundButton.d.ts +0 -8
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.d.ts +0 -2
- package/lib-commonjs/components/MenuButton/MenuButton.d.ts +0 -6
- package/lib-commonjs/components/MenuButton/MenuButton.types.d.ts +0 -11
- package/lib-commonjs/components/MenuButton/index.d.ts +0 -5
- package/lib-commonjs/components/MenuButton/renderMenuButton.d.ts +0 -5
- package/lib-commonjs/components/MenuButton/useMenuButton.d.ts +0 -6
- package/lib-commonjs/components/MenuButton/useMenuButtonStyles.d.ts +0 -2
- package/lib-commonjs/components/SplitButton/SplitButton.d.ts +0 -7
- package/lib-commonjs/components/SplitButton/SplitButton.types.d.ts +0 -19
- package/lib-commonjs/components/SplitButton/index.d.ts +0 -5
- package/lib-commonjs/components/SplitButton/renderSplitButton.d.ts +0 -5
- package/lib-commonjs/components/SplitButton/useSplitButton.d.ts +0 -8
- package/lib-commonjs/components/SplitButton/useSplitButtonStyles.d.ts +0 -2
- package/lib-commonjs/components/ToggleButton/ToggleButton.d.ts +0 -6
- package/lib-commonjs/components/ToggleButton/ToggleButton.types.d.ts +0 -19
- package/lib-commonjs/components/ToggleButton/index.d.ts +0 -5
- package/lib-commonjs/components/ToggleButton/renderToggleButton.d.ts +0 -1
- package/lib-commonjs/components/ToggleButton/useToggleButton.d.ts +0 -9
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.d.ts +0 -2
- package/lib-commonjs/index.d.ts +0 -5
@@ -1,17 +1,14 @@
|
|
1
|
-
import {
|
2
|
-
import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
|
3
|
-
|
4
|
-
|
5
|
-
export
|
6
|
-
|
7
|
-
|
8
|
-
small: '6px',
|
9
|
-
medium: '8px',
|
10
|
-
large: '12px',
|
11
|
-
larger: '16px'
|
1
|
+
import { iconFilledClassName, iconRegularClassName } from '@fluentui/react-icons';
|
2
|
+
import { createCustomFocusIndicatorStyle } from '@fluentui/react-tabster';
|
3
|
+
import { tokens } from '@fluentui/react-theme';
|
4
|
+
import { shorthands, __styles, mergeClasses } from '@griffel/react';
|
5
|
+
export const buttonClassNames = {
|
6
|
+
root: 'fui-Button',
|
7
|
+
icon: 'fui-Button__icon'
|
12
8
|
};
|
9
|
+
const iconSpacingVar = '--fui-Button__icon--spacing';
|
13
10
|
|
14
|
-
|
11
|
+
const useRootStyles = /*#__PURE__*/__styles({
|
15
12
|
"base": {
|
16
13
|
"Bt984gj": "f122n59",
|
17
14
|
"mc9l5x": "ftuwxu6",
|
@@ -22,189 +19,240 @@ var useRootStyles = /*#__PURE__*/__styles({
|
|
22
19
|
"jrapky": "f19f4twv",
|
23
20
|
"Frg6f3": ["f1tyq0we", "f11qmguv"],
|
24
21
|
"B2u0y6b": "f1n52uh2",
|
25
|
-
"
|
22
|
+
"B68tc82": "f1p9o1ba",
|
23
|
+
"Bmxbyg5": "f1sil6mw",
|
26
24
|
"ygn44y": "f1cmbuwj",
|
27
25
|
"Huce71": "fz5stix",
|
28
|
-
"
|
26
|
+
"De3pzq": "fxugw4r",
|
29
27
|
"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
28
|
"B4j52fo": "f192inf7",
|
39
29
|
"Bekrc4i": ["f5tn483", "f1ojsxk5"],
|
40
30
|
"Bn0qgzm": "f1vxd6vx",
|
41
31
|
"ibv6hh": ["f1ojsxk5", "f5tn483"],
|
32
|
+
"icvyot": "fzkkow9",
|
33
|
+
"vrafjx": ["fcdblym", "fjik90z"],
|
34
|
+
"oivjwe": "fg706s2",
|
35
|
+
"wvpqe5": ["fjik90z", "fcdblym"],
|
36
|
+
"g2u3we": "fj3muxo",
|
37
|
+
"h3c5rm": ["f1akhkt", "f1lxtadh"],
|
38
|
+
"B9xav0g": "f1aperda",
|
39
|
+
"zhjwy3": ["f1lxtadh", "f1akhkt"],
|
42
40
|
"Bahqtrf": "fk6fouc",
|
43
41
|
"oeaueh": "f1s6fcnf",
|
44
|
-
"
|
42
|
+
"Jwef8y": "f1knas48",
|
45
43
|
"Bgoe8wy": "fvcxoqz",
|
46
44
|
"Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
|
47
45
|
"oetu4i": "f1xlaoq0",
|
48
46
|
"gg5e9n": ["f1m52nbi", "f1ub3y4t"],
|
49
|
-
"Bi91k9c": "
|
47
|
+
"Bi91k9c": "feu1g3u",
|
50
48
|
"eoavqd": "f8491dx",
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
49
|
+
"Bk3fhr4": "ft1hn21",
|
50
|
+
"Bmfj8id": "fuxngvv",
|
51
|
+
"iro3zm": "f141de4g",
|
52
|
+
"b661bw": "f11v6sdu",
|
53
|
+
"Bk6r4ia": ["f9yn8i4", "f1ajwf28"],
|
54
|
+
"B9zn80p": "f1uwu36w",
|
55
|
+
"Bpld233": ["f1ajwf28", "f9yn8i4"],
|
56
|
+
"B2d53fq": "f9olfzr",
|
57
|
+
"Bx68yb": "fiu5zv5",
|
58
|
+
"em6i61": "f1dfjoow",
|
59
|
+
"vm6p8p": "f1j98vj9"
|
58
60
|
},
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
61
|
+
"highContrast": {
|
62
|
+
"G867l3": "f8rnyb3",
|
63
|
+
"gdbnj": ["fhb3ry5", "f11223yd"],
|
64
|
+
"mxns5l": "f16e7g02",
|
65
|
+
"o3nasb": ["f11223yd", "fhb3ry5"],
|
66
|
+
"pgvf35": "ff1wgvm",
|
67
|
+
"Bh7lczh": ["fiob0tu", "f1x4h75k"],
|
68
|
+
"dpv3f4": "f1j6scgf",
|
69
|
+
"Bpnjhaq": ["f1x4h75k", "fiob0tu"],
|
70
|
+
"ze5xyy": "f4xjyn1",
|
71
|
+
"pc6evw": "f9ddjv3"
|
62
72
|
},
|
63
73
|
"outline": {
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
74
|
+
"De3pzq": "f1c21dwh",
|
75
|
+
"Jwef8y": "fjxutwb",
|
76
|
+
"iro3zm": "fwiml72"
|
67
77
|
},
|
68
78
|
"primary": {
|
69
|
-
"
|
79
|
+
"De3pzq": "ffp7eso",
|
70
80
|
"g2u3we": "f1p3nwhy",
|
71
81
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
72
82
|
"B9xav0g": "f1q5o8ev",
|
73
83
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
74
84
|
"sj55zd": "f1phragk",
|
75
|
-
"
|
85
|
+
"Jwef8y": "f15wkkf3",
|
76
86
|
"Bgoe8wy": "f1s2uweq",
|
77
87
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
78
88
|
"oetu4i": "f1ukrpxl",
|
79
89
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
80
90
|
"Bi91k9c": "f1rq72xc",
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
84
|
-
"
|
85
|
-
"
|
86
|
-
"
|
91
|
+
"iro3zm": "fnp9lpt",
|
92
|
+
"b661bw": "f1h0usnq",
|
93
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
94
|
+
"B9zn80p": "f16h9ulv",
|
95
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"],
|
96
|
+
"B2d53fq": "f1d6v5y2"
|
87
97
|
},
|
98
|
+
"secondary": {},
|
88
99
|
"subtle": {
|
89
|
-
"
|
100
|
+
"De3pzq": "fhovq9v",
|
90
101
|
"g2u3we": "f1p3nwhy",
|
91
102
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
92
103
|
"B9xav0g": "f1q5o8ev",
|
93
104
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
94
105
|
"sj55zd": "fkfq4zb",
|
95
|
-
"
|
106
|
+
"Jwef8y": "f1t94bn6",
|
96
107
|
"Bgoe8wy": "f1s2uweq",
|
97
108
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
98
109
|
"oetu4i": "f1ukrpxl",
|
99
110
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
100
111
|
"Bi91k9c": "f139oj5f",
|
101
|
-
"
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"
|
105
|
-
"
|
106
|
-
"
|
112
|
+
"iro3zm": "fsv2rcd",
|
113
|
+
"b661bw": "f1h0usnq",
|
114
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
115
|
+
"B9zn80p": "f16h9ulv",
|
116
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"],
|
117
|
+
"B2d53fq": "f1fg1p5m"
|
107
118
|
},
|
108
119
|
"transparent": {
|
109
|
-
"
|
120
|
+
"De3pzq": "f1c21dwh",
|
110
121
|
"g2u3we": "f1p3nwhy",
|
111
122
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
112
123
|
"B9xav0g": "f1q5o8ev",
|
113
124
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
114
125
|
"sj55zd": "fkfq4zb",
|
115
|
-
"
|
126
|
+
"Jwef8y": "fjxutwb",
|
116
127
|
"Bgoe8wy": "f1s2uweq",
|
117
128
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
118
129
|
"oetu4i": "f1ukrpxl",
|
119
130
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
120
131
|
"Bi91k9c": "f139oj5f",
|
121
|
-
"
|
122
|
-
"
|
123
|
-
"
|
124
|
-
"
|
125
|
-
"
|
126
|
-
"
|
132
|
+
"iro3zm": "fwiml72",
|
133
|
+
"b661bw": "f1h0usnq",
|
134
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
135
|
+
"B9zn80p": "f16h9ulv",
|
136
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"],
|
137
|
+
"B2d53fq": "f1fg1p5m"
|
127
138
|
},
|
128
139
|
"circular": {
|
129
|
-
"
|
140
|
+
"Bbmb7ep": ["f8fbkgy", "f1nfllo7"],
|
141
|
+
"Beyfa6y": ["f1nfllo7", "f8fbkgy"],
|
142
|
+
"B7oj6ja": ["f1djnp8u", "f1s8kh49"],
|
143
|
+
"Btl43ni": ["f1s8kh49", "f1djnp8u"]
|
130
144
|
},
|
131
145
|
"rounded": {},
|
132
146
|
"square": {
|
133
|
-
"
|
147
|
+
"Bbmb7ep": ["fzi6hpg", "fyowgf4"],
|
148
|
+
"Beyfa6y": ["fyowgf4", "fzi6hpg"],
|
149
|
+
"B7oj6ja": ["f3fg2lr", "f13av6d4"],
|
150
|
+
"Btl43ni": ["f13av6d4", "f3fg2lr"]
|
134
151
|
},
|
135
152
|
"small": {
|
136
|
-
"
|
137
|
-
"
|
138
|
-
"
|
139
|
-
"
|
140
|
-
"uwmqm3": ["f177v4lu", "f19lj068"],
|
153
|
+
"z8tnut": "fztplxc",
|
154
|
+
"z189sj": ["f1vdfbxk", "f1f5gg8d"],
|
155
|
+
"Byoj8tv": "f9g1xly",
|
156
|
+
"uwmqm3": ["f1f5gg8d", "f1vdfbxk"],
|
141
157
|
"Bqenvij": "frvgh55",
|
142
158
|
"Bf4jedk": "fh7ncta",
|
143
|
-
"
|
159
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
160
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
161
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
162
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
144
163
|
"Be2twd7": "fy9rknc",
|
145
164
|
"Bhrd7zp": "figsok6",
|
146
165
|
"Bg96gwp": "fwrc4pm"
|
147
166
|
},
|
148
167
|
"medium": {
|
149
|
-
"
|
150
|
-
"
|
151
|
-
"
|
152
|
-
"
|
153
|
-
"uwmqm3": ["fjlbh76", "f11qrl6u"],
|
168
|
+
"z8tnut": "fztplxc",
|
169
|
+
"z189sj": ["fw5db7e", "f1uw59to"],
|
170
|
+
"Byoj8tv": "f9g1xly",
|
171
|
+
"uwmqm3": ["f1uw59to", "fw5db7e"],
|
154
172
|
"Bqenvij": "f1d2rq10",
|
155
173
|
"Bf4jedk": "f14es27b",
|
156
|
-
"
|
174
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
175
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
176
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
177
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
157
178
|
"Be2twd7": "fkhj508",
|
158
179
|
"Bhrd7zp": "fl43uef",
|
159
180
|
"Bg96gwp": "f1i3iumi"
|
160
181
|
},
|
161
182
|
"large": {
|
162
|
-
"
|
163
|
-
"
|
164
|
-
"
|
165
|
-
"
|
166
|
-
"uwmqm3": ["f1rh9g5y", "f1gbmcue"],
|
183
|
+
"z8tnut": "fztplxc",
|
184
|
+
"z189sj": ["fjodcmx", "fhx4nu"],
|
185
|
+
"Byoj8tv": "f9g1xly",
|
186
|
+
"uwmqm3": ["fhx4nu", "fjodcmx"],
|
167
187
|
"Bqenvij": "fbhnoac",
|
168
188
|
"Bf4jedk": "f14es27b",
|
169
|
-
"
|
189
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
190
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
191
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
192
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
170
193
|
"Be2twd7": "fod5ikn",
|
171
194
|
"Bhrd7zp": "fl43uef",
|
172
195
|
"Bg96gwp": "faaz57k"
|
173
196
|
}
|
174
197
|
}, {
|
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;}", ".
|
176
|
-
"h": [".
|
177
|
-
"
|
198
|
+
"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;}", ".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);}", ".fztplxc{padding-top:var(--spacingVerticalNone);}", ".f1vdfbxk{padding-right:var(--spacingHorizontalS);}", ".f1f5gg8d{padding-left:var(--spacingHorizontalS);}", ".f9g1xly{padding-bottom:var(--spacingVerticalNone);}", ".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);}", ".fw5db7e{padding-right:var(--spacingHorizontalM);}", ".f1uw59to{padding-left:var(--spacingHorizontalM);}", ".f1d2rq10{height:32px;}", ".f14es27b{min-width:96px;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1i3iumi{line-height:var(--lineHeightBase300);}", ".fjodcmx{padding-right:var(--spacingHorizontalL);}", ".fhx4nu{padding-left:var(--spacingHorizontalL);}", ".fbhnoac{height:40px;}", ".fod5ikn{font-size:var(--fontSizeBase400);}", ".faaz57k{line-height:var(--lineHeightBase400);}"],
|
199
|
+
"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);}", ".feu1g3u:hover{color:var(--colorNeutralForeground1Hover);}", ".f8491dx:hover{cursor:pointer;}", ".ft1hn21:hover .fui-Icon-filled{display:inline;}", ".fuxngvv:hover .fui-Icon-regular{display:none;}", ".f141de4g:hover:active{background-color:var(--colorNeutralBackground1Pressed);}", ".f11v6sdu:hover:active{border-top-color:var(--colorNeutralStroke1Pressed);}", ".f9yn8i4:hover:active{border-right-color:var(--colorNeutralStroke1Pressed);}", ".f1ajwf28:hover:active{border-left-color:var(--colorNeutralStroke1Pressed);}", ".f1uwu36w:hover:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}", ".f9olfzr:hover:active{color:var(--colorNeutralForeground1Pressed);}", ".fiu5zv5:hover:active{outline-style:none;}", ".f1dfjoow:hover:active .fui-Icon-filled{display:inline;}", ".f1j98vj9:hover:active .fui-Icon-regular{display:none;}", ".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}", ".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}", ".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);}", ".fnp9lpt:hover:active{background-color:var(--colorBrandBackgroundPressed);}", ".f1h0usnq:hover:active{border-top-color:transparent;}", ".fs4ktlq:hover:active{border-right-color:transparent;}", ".fx2bmrt:hover:active{border-left-color:transparent;}", ".f16h9ulv:hover:active{border-bottom-color:transparent;}", ".f1d6v5y2:hover:active{color:var(--colorNeutralForegroundOnBrand);}", ".f1t94bn6:hover{background-color:var(--colorSubtleBackgroundHover);}", ".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}", ".fsv2rcd:hover:active{background-color:var(--colorSubtleBackgroundPressed);}", ".f1fg1p5m:hover:active{color:var(--colorNeutralForeground2BrandPressed);}"],
|
200
|
+
"t": ["@media (forced-colors: active){.f8rnyb3:focus{border-top-color:ButtonText;}}", "@media (forced-colors: active){.fhb3ry5:focus{border-right-color:ButtonText;}.f11223yd:focus{border-left-color:ButtonText;}}", "@media (forced-colors: active){.f16e7g02:focus{border-bottom-color:ButtonText;}}", "@media (forced-colors: active){.f11223yd:focus{border-left-color:ButtonText;}.fhb3ry5:focus{border-right-color:ButtonText;}}", "@media (forced-colors: active){.ff1wgvm:hover{border-top-color:Highlight;}}", "@media (forced-colors: active){.fiob0tu:hover{border-right-color:Highlight;}.f1x4h75k:hover{border-left-color:Highlight;}}", "@media (forced-colors: active){.f1j6scgf:hover{border-bottom-color:Highlight;}}", "@media (forced-colors: active){.f1x4h75k:hover{border-left-color:Highlight;}.fiob0tu:hover{border-right-color:Highlight;}}", "@media (forced-colors: active){.f4xjyn1:hover{color:Highlight;}}", "@media (forced-colors: active){.f9ddjv3:hover:active{color:Highlight;}}"]
|
178
201
|
});
|
179
202
|
|
180
|
-
|
203
|
+
const useRootDisabledStyles = /*#__PURE__*/__styles({
|
181
204
|
"base": {
|
182
|
-
"
|
205
|
+
"De3pzq": "f1bg9a2p",
|
183
206
|
"g2u3we": "f1jj8ep1",
|
184
207
|
"h3c5rm": ["f15xbau", "fy0fskl"],
|
185
208
|
"B9xav0g": "f4ikngz",
|
186
209
|
"zhjwy3": ["fy0fskl", "f15xbau"],
|
187
210
|
"sj55zd": "f1s2aq7o",
|
188
211
|
"Bceei9c": "fdrzuqr",
|
189
|
-
"
|
212
|
+
"Jwef8y": "f1falr9n",
|
190
213
|
"Bgoe8wy": "f12mpcsy",
|
191
214
|
"Bwzppfd": ["f1gwvigk", "f18rmfxp"],
|
192
215
|
"oetu4i": "f1jnshp0",
|
193
216
|
"gg5e9n": ["f18rmfxp", "f1gwvigk"],
|
194
217
|
"Bi91k9c": "fvgxktp",
|
195
218
|
"eoavqd": "fphbwmw",
|
196
|
-
"
|
197
|
-
"
|
198
|
-
"
|
199
|
-
"
|
200
|
-
"
|
201
|
-
"
|
202
|
-
"
|
219
|
+
"Bk3fhr4": "f19vpps7",
|
220
|
+
"Bmfj8id": "fv5swzo",
|
221
|
+
"iro3zm": "f1t6o4dc",
|
222
|
+
"b661bw": "f10ztigi",
|
223
|
+
"Bk6r4ia": ["f1ft5sdu", "f1gzf82w"],
|
224
|
+
"B9zn80p": "f12zbtn2",
|
225
|
+
"Bpld233": ["f1gzf82w", "f1ft5sdu"],
|
226
|
+
"B2d53fq": "fcvwxyo",
|
227
|
+
"c3iz72": "f8w4c43",
|
228
|
+
"em6i61": "f1ol4fw6",
|
229
|
+
"vm6p8p": "f1q1lw4e"
|
230
|
+
},
|
231
|
+
"highContrast": {
|
232
|
+
"Bjwas2f": "fg455y9",
|
233
|
+
"Bn1d65q": ["f1rvyvqg", "f14g86mu"],
|
234
|
+
"Bxeuatn": "f1cwzwz",
|
235
|
+
"n51gp8": ["f14g86mu", "f1rvyvqg"],
|
236
|
+
"Bbusuzp": "f1dcs8yz",
|
237
|
+
"G867l3": "fjwq6ea",
|
238
|
+
"gdbnj": ["f1lr3nhc", "f1mbxvi6"],
|
239
|
+
"mxns5l": "fn5gmvv",
|
240
|
+
"o3nasb": ["f1mbxvi6", "f1lr3nhc"],
|
241
|
+
"pgvf35": "f53ppgq",
|
242
|
+
"Bh7lczh": ["f1663y11", "f80fkiy"],
|
243
|
+
"dpv3f4": "f18v5270",
|
244
|
+
"Bpnjhaq": ["f80fkiy", "f1663y11"],
|
245
|
+
"ze5xyy": "f1kc2mi9",
|
246
|
+
"Bf756sw": "fihuait",
|
247
|
+
"Bow2dr7": ["fnxhupq", "fyd6l6x"],
|
248
|
+
"Bvhedfk": "fx507ft",
|
249
|
+
"Gye4lf": ["fyd6l6x", "fnxhupq"],
|
250
|
+
"pc6evw": "fb3rf2x"
|
203
251
|
},
|
204
252
|
"outline": {
|
205
|
-
"
|
206
|
-
"
|
207
|
-
"
|
253
|
+
"De3pzq": "f1c21dwh",
|
254
|
+
"Jwef8y": "fjxutwb",
|
255
|
+
"iro3zm": "fwiml72"
|
208
256
|
},
|
209
257
|
"primary": {
|
210
258
|
"g2u3we": "f1p3nwhy",
|
@@ -215,67 +263,71 @@ var useRootDisabledStyles = /*#__PURE__*/__styles({
|
|
215
263
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
216
264
|
"oetu4i": "f1ukrpxl",
|
217
265
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
218
|
-
"
|
219
|
-
"
|
220
|
-
"
|
221
|
-
"
|
266
|
+
"b661bw": "f1h0usnq",
|
267
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
268
|
+
"B9zn80p": "f16h9ulv",
|
269
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"]
|
222
270
|
},
|
271
|
+
"secondary": {},
|
223
272
|
"subtle": {
|
224
|
-
"
|
273
|
+
"De3pzq": "f3rmtva",
|
225
274
|
"g2u3we": "f1p3nwhy",
|
226
275
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
227
276
|
"B9xav0g": "f1q5o8ev",
|
228
277
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
229
|
-
"
|
278
|
+
"Jwef8y": "f1cio4g9",
|
230
279
|
"Bgoe8wy": "f1s2uweq",
|
231
280
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
232
281
|
"oetu4i": "f1ukrpxl",
|
233
282
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
234
|
-
"
|
235
|
-
"
|
236
|
-
"
|
237
|
-
"
|
238
|
-
"
|
283
|
+
"iro3zm": "fvaszet",
|
284
|
+
"b661bw": "f1h0usnq",
|
285
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
286
|
+
"B9zn80p": "f16h9ulv",
|
287
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"]
|
239
288
|
},
|
240
289
|
"transparent": {
|
241
|
-
"
|
290
|
+
"De3pzq": "f3rmtva",
|
242
291
|
"g2u3we": "f1p3nwhy",
|
243
292
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
244
293
|
"B9xav0g": "f1q5o8ev",
|
245
294
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
246
|
-
"
|
295
|
+
"Jwef8y": "f1cio4g9",
|
247
296
|
"Bgoe8wy": "f1s2uweq",
|
248
297
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
249
298
|
"oetu4i": "f1ukrpxl",
|
250
299
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
251
|
-
"
|
252
|
-
"
|
253
|
-
"
|
254
|
-
"
|
255
|
-
"
|
300
|
+
"iro3zm": "fvaszet",
|
301
|
+
"b661bw": "f1h0usnq",
|
302
|
+
"Bk6r4ia": ["fs4ktlq", "fx2bmrt"],
|
303
|
+
"B9zn80p": "f16h9ulv",
|
304
|
+
"Bpld233": ["fx2bmrt", "fs4ktlq"]
|
256
305
|
}
|
257
306
|
}, {
|
258
|
-
"d": [".
|
259
|
-
"h": [".
|
260
|
-
"
|
307
|
+
"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;}"],
|
308
|
+
"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;}", ".f19vpps7:hover .fui-Icon-filled{display:none;}", ".fv5swzo:hover .fui-Icon-regular{display:inline;}", ".f1t6o4dc:hover:active{background-color:var(--colorNeutralBackgroundDisabled);}", ".f10ztigi:hover:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f1ft5sdu:hover:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".f1gzf82w:hover:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f12zbtn2:hover:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".fcvwxyo:hover:active{color:var(--colorNeutralForegroundDisabled);}", ".f8w4c43:hover:active{cursor:not-allowed;}", ".f1ol4fw6:hover:active .fui-Icon-filled{display:none;}", ".f1q1lw4e:hover:active .fui-Icon-regular{display:inline;}", ".fjxutwb:hover{background-color:var(--colorTransparentBackgroundHover);}", ".fwiml72:hover:active{background-color:var(--colorTransparentBackgroundPressed);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1h0usnq:hover:active{border-top-color:transparent;}", ".fs4ktlq:hover:active{border-right-color:transparent;}", ".fx2bmrt:hover:active{border-left-color:transparent;}", ".f16h9ulv:hover:active{border-bottom-color:transparent;}", ".f1cio4g9:hover{background-color:transparent;}", ".fvaszet:hover:active{background-color:transparent;}"],
|
309
|
+
"t": ["@media (forced-colors: active){.fg455y9{border-top-color:GrayText;}}", "@media (forced-colors: active){.f1rvyvqg{border-right-color:GrayText;}.f14g86mu{border-left-color:GrayText;}}", "@media (forced-colors: active){.f1cwzwz{border-bottom-color:GrayText;}}", "@media (forced-colors: active){.f14g86mu{border-left-color:GrayText;}.f1rvyvqg{border-right-color:GrayText;}}", "@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}", "@media (forced-colors: active){.fjwq6ea:focus{border-top-color:GrayText;}}", "@media (forced-colors: active){.f1lr3nhc:focus{border-right-color:GrayText;}.f1mbxvi6:focus{border-left-color:GrayText;}}", "@media (forced-colors: active){.fn5gmvv:focus{border-bottom-color:GrayText;}}", "@media (forced-colors: active){.f1mbxvi6:focus{border-left-color:GrayText;}.f1lr3nhc:focus{border-right-color:GrayText;}}", "@media (forced-colors: active){.f53ppgq:hover{border-top-color:GrayText;}}", "@media (forced-colors: active){.f1663y11:hover{border-right-color:GrayText;}.f80fkiy:hover{border-left-color:GrayText;}}", "@media (forced-colors: active){.f18v5270:hover{border-bottom-color:GrayText;}}", "@media (forced-colors: active){.f80fkiy:hover{border-left-color:GrayText;}.f1663y11:hover{border-right-color:GrayText;}}", "@media (forced-colors: active){.f1kc2mi9:hover{color:GrayText;}}", "@media (forced-colors: active){.fihuait:hover:active{border-top-color:GrayText;}}", "@media (forced-colors: active){.fnxhupq:hover:active{border-right-color:GrayText;}.fyd6l6x:hover:active{border-left-color:GrayText;}}", "@media (forced-colors: active){.fx507ft:hover:active{border-bottom-color:GrayText;}}", "@media (forced-colors: active){.fyd6l6x:hover:active{border-left-color:GrayText;}.fnxhupq:hover:active{border-right-color:GrayText;}}", "@media (forced-colors: active){.fb3rf2x:hover:active{color:GrayText;}}"]
|
261
310
|
});
|
262
311
|
|
263
|
-
|
312
|
+
const useRootFocusStyles = /*#__PURE__*/__styles({
|
264
313
|
"base": {
|
265
314
|
"B486eqv": "f2hkw1w",
|
266
315
|
"Bnmjwt4": "flfsvnh",
|
267
316
|
"Jopkrh": ["f1781m5e", "flvaaa9"],
|
268
317
|
"hhrs2v": "f50u1b5",
|
269
318
|
"B7jbng7": ["flvaaa9", "f1781m5e"],
|
270
|
-
"B32s92o": "f4mghqd",
|
271
|
-
"B5hngm5": "fhcq1yo",
|
272
319
|
"Bh48x57": "f19j8a82",
|
273
|
-
"
|
320
|
+
"B32s92o": "fgeg2qa",
|
321
|
+
"B5hngm5": "fhcq1yo",
|
322
|
+
"D4py6b": "f9ycirn",
|
274
323
|
"Bgwpjed": "fpt6wn7"
|
275
324
|
},
|
276
325
|
"circular": {
|
277
326
|
"B486eqv": "f2hkw1w",
|
278
|
-
"
|
327
|
+
"B8j0l6": ["f11yy61d", "f5edc3x"],
|
328
|
+
"Ekyhi": ["f5edc3x", "f11yy61d"],
|
329
|
+
"Bmrpcm6": ["f1aea4n", "f4jo73o"],
|
330
|
+
"Beswxhl": ["f4jo73o", "f1aea4n"]
|
279
331
|
},
|
280
332
|
"rounded": {},
|
281
333
|
"primary": {
|
@@ -284,59 +336,71 @@ var useRootFocusStyles = /*#__PURE__*/__styles({
|
|
284
336
|
"Jopkrh": ["fhoxsto", "f19qf7vm"],
|
285
337
|
"hhrs2v": "f1tl0rof",
|
286
338
|
"B7jbng7": ["f19qf7vm", "fhoxsto"],
|
287
|
-
"D4py6b":
|
339
|
+
"D4py6b": "f15m8qn2"
|
288
340
|
},
|
289
341
|
"square": {
|
290
342
|
"B486eqv": "f2hkw1w",
|
291
|
-
"
|
343
|
+
"B8j0l6": ["f5oco9f", "fiz44lb"],
|
344
|
+
"Ekyhi": ["fiz44lb", "f5oco9f"],
|
345
|
+
"Bmrpcm6": ["f1d1ywej", "flv4e1y"],
|
346
|
+
"Beswxhl": ["flv4e1y", "f1d1ywej"]
|
292
347
|
},
|
293
348
|
"small": {
|
294
349
|
"B486eqv": "f2hkw1w",
|
295
|
-
"
|
350
|
+
"B8j0l6": ["f1dzjeht", "f1fw97sp"],
|
351
|
+
"Ekyhi": ["f1fw97sp", "f1dzjeht"],
|
352
|
+
"Bmrpcm6": ["f1hr3vfr", "f1fepg9x"],
|
353
|
+
"Beswxhl": ["f1fepg9x", "f1hr3vfr"]
|
296
354
|
},
|
297
355
|
"medium": {
|
298
356
|
"B486eqv": "f2hkw1w",
|
299
|
-
"
|
357
|
+
"B8j0l6": ["f1ezw2km", "f18buiid"],
|
358
|
+
"Ekyhi": ["f18buiid", "f1ezw2km"],
|
359
|
+
"Bmrpcm6": ["f1hat8c3", "f10ee3ek"],
|
360
|
+
"Beswxhl": ["f10ee3ek", "f1hat8c3"]
|
300
361
|
},
|
301
362
|
"large": {
|
302
363
|
"B486eqv": "f2hkw1w",
|
303
|
-
"
|
364
|
+
"B8j0l6": ["f8iz5lg", "fzmqelg"],
|
365
|
+
"Ekyhi": ["fzmqelg", "f8iz5lg"],
|
366
|
+
"Bmrpcm6": ["f1ywuu4l", "f721nif"],
|
367
|
+
"Beswxhl": ["f721nif", "f1ywuu4l"]
|
304
368
|
}
|
305
369
|
}, {
|
306
370
|
"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] .
|
371
|
+
"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] .fgeg2qa:focus{outline-width:var(--strokeWidthThick);}", "[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
372
|
});
|
309
373
|
|
310
|
-
|
374
|
+
const useRootIconOnlyStyles = /*#__PURE__*/__styles({
|
311
375
|
"small": {
|
312
|
-
"z8tnut": "
|
313
|
-
"z189sj": ["
|
314
|
-
"Byoj8tv": "
|
315
|
-
"uwmqm3": ["
|
376
|
+
"z8tnut": "f1x4af0m",
|
377
|
+
"z189sj": ["f7x41pl", "fruq291"],
|
378
|
+
"Byoj8tv": "fd55psn",
|
379
|
+
"uwmqm3": ["fruq291", "f7x41pl"],
|
316
380
|
"Bf4jedk": "f107v6xj",
|
317
381
|
"B2u0y6b": "f17iyk3w"
|
318
382
|
},
|
319
383
|
"medium": {
|
320
|
-
"z8tnut": "
|
321
|
-
"z189sj": ["
|
322
|
-
"Byoj8tv": "
|
323
|
-
"uwmqm3": ["
|
384
|
+
"z8tnut": "f1x4af0m",
|
385
|
+
"z189sj": ["f7x41pl", "fruq291"],
|
386
|
+
"Byoj8tv": "fd55psn",
|
387
|
+
"uwmqm3": ["fruq291", "f7x41pl"],
|
324
388
|
"Bf4jedk": "fwbmr0d",
|
325
389
|
"B2u0y6b": "f44c6la"
|
326
390
|
},
|
327
391
|
"large": {
|
328
|
-
"z8tnut": "
|
329
|
-
"z189sj": ["
|
330
|
-
"Byoj8tv": "
|
331
|
-
"uwmqm3": ["
|
392
|
+
"z8tnut": "f16k8034",
|
393
|
+
"z189sj": ["fdw0yi8", "fk8j09s"],
|
394
|
+
"Byoj8tv": "f1angvds",
|
395
|
+
"uwmqm3": ["fk8j09s", "fdw0yi8"],
|
332
396
|
"Bf4jedk": "f12clzc2",
|
333
397
|
"B2u0y6b": "fjy1crr"
|
334
398
|
}
|
335
399
|
}, {
|
336
|
-
"d": [".
|
400
|
+
"d": [".f1x4af0m{padding-top:var(--spacingHorizontalXS);}", ".f7x41pl{padding-right:var(--spacingHorizontalXS);}", ".fruq291{padding-left:var(--spacingHorizontalXS);}", ".fd55psn{padding-bottom:var(--spacingHorizontalXS);}", ".f107v6xj{min-width:28px;}", ".f17iyk3w{max-width:28px;}", ".fwbmr0d{min-width:32px;}", ".f44c6la{max-width:32px;}", ".f16k8034{padding-top:var(--spacingHorizontalSNudge);}", ".fdw0yi8{padding-right:var(--spacingHorizontalSNudge);}", ".fk8j09s{padding-left:var(--spacingHorizontalSNudge);}", ".f1angvds{padding-bottom:var(--spacingHorizontalSNudge);}", ".f12clzc2{min-width:40px;}", ".fjy1crr{max-width:40px;}"]
|
337
401
|
});
|
338
402
|
|
339
|
-
|
403
|
+
const useIconStyles = /*#__PURE__*/__styles({
|
340
404
|
"base": {
|
341
405
|
"Bt984gj": "f122n59",
|
342
406
|
"mc9l5x": "ftuwxu6",
|
@@ -345,44 +409,55 @@ var useIconStyles = /*#__PURE__*/__styles({
|
|
345
409
|
"small": {
|
346
410
|
"Be2twd7": "fe5j1ua",
|
347
411
|
"Bqenvij": "fjamq6b",
|
348
|
-
"a9b677": "f64fuq3"
|
412
|
+
"a9b677": "f64fuq3",
|
413
|
+
"Bqrlyyl": "fbaiahx"
|
349
414
|
},
|
350
415
|
"medium": {
|
351
416
|
"Be2twd7": "fe5j1ua",
|
352
417
|
"Bqenvij": "fjamq6b",
|
353
|
-
"a9b677": "f64fuq3"
|
418
|
+
"a9b677": "f64fuq3",
|
419
|
+
"Bqrlyyl": "f1exjqw5"
|
354
420
|
},
|
355
421
|
"large": {
|
356
422
|
"Be2twd7": "f1rt2boy",
|
357
423
|
"Bqenvij": "frvgh55",
|
358
|
-
"a9b677": "fq4mcun"
|
424
|
+
"a9b677": "fq4mcun",
|
425
|
+
"Bqrlyyl": "f1exjqw5"
|
426
|
+
},
|
427
|
+
"before": {
|
428
|
+
"t21cq0": ["f1nizpg2", "f1a695kz"]
|
429
|
+
},
|
430
|
+
"after": {
|
431
|
+
"Frg6f3": ["f1a695kz", "f1nizpg2"]
|
359
432
|
}
|
360
433
|
}, {
|
361
|
-
"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;}"]
|
434
|
+
"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;}", ".fbaiahx{--fui-Button__icon--spacing:var(--spacingHorizontalXS);}", ".f1exjqw5{--fui-Button__icon--spacing:var(--spacingHorizontalSNudge);}", ".f1rt2boy{font-size:24px;}", ".frvgh55{height:24px;}", ".fq4mcun{width:24px;}", ".f1nizpg2{margin-right:var(--fui-Button__icon--spacing);}", ".f1a695kz{margin-left:var(--fui-Button__icon--spacing);}"]
|
362
435
|
});
|
363
436
|
|
364
|
-
export
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
437
|
+
export const useButtonStyles_unstable = state => {
|
438
|
+
const rootStyles = useRootStyles();
|
439
|
+
const rootDisabledStyles = useRootDisabledStyles();
|
440
|
+
const rootFocusStyles = useRootFocusStyles();
|
441
|
+
const rootIconOnlyStyles = useRootIconOnlyStyles();
|
442
|
+
const iconStyles = useIconStyles();
|
443
|
+
const {
|
444
|
+
appearance,
|
445
|
+
disabled,
|
446
|
+
disabledFocusable,
|
447
|
+
iconOnly,
|
448
|
+
iconPosition,
|
449
|
+
shape,
|
450
|
+
size
|
451
|
+
} = state;
|
452
|
+
state.root.className = mergeClasses(buttonClassNames.root, // Root styles
|
453
|
+
rootStyles.base, rootStyles.highContrast, appearance && rootStyles[appearance], rootStyles[size], rootStyles[shape], // Disabled styles
|
454
|
+
(disabled || disabledFocusable) && rootDisabledStyles.base, (disabled || disabledFocusable) && rootDisabledStyles.highContrast, appearance && (disabled || disabledFocusable) && rootDisabledStyles[appearance], // Focus styles
|
380
455
|
rootFocusStyles.base, appearance === 'primary' && rootFocusStyles.primary, rootFocusStyles[size], rootFocusStyles[shape], // Icon-only styles
|
381
456
|
iconOnly && rootIconOnlyStyles[size], // User provided class name
|
382
457
|
state.root.className);
|
383
458
|
|
384
459
|
if (state.icon) {
|
385
|
-
state.icon.className = mergeClasses(iconStyles.base, iconStyles[size], state.icon.className);
|
460
|
+
state.icon.className = mergeClasses(buttonClassNames.icon, iconStyles.base, state.root.children !== undefined && state.root.children !== null && iconStyles[iconPosition], iconStyles[size], state.icon.className);
|
386
461
|
}
|
387
462
|
|
388
463
|
return state;
|