@fluentui/react-button 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlycc44f3625c20211220.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/CHANGELOG.json +98 -21
  2. package/CHANGELOG.md +31 -13
  3. package/lib/components/Button/renderButton.js +4 -1
  4. package/lib/components/Button/renderButton.js.map +1 -1
  5. package/lib/components/Button/useButton.js +2 -1
  6. package/lib/components/Button/useButton.js.map +1 -1
  7. package/lib/components/Button/useButtonStyles.js +92 -58
  8. package/lib/components/Button/useButtonStyles.js.map +1 -1
  9. package/lib/components/CompoundButton/renderCompoundButton.js +6 -1
  10. package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
  11. package/lib/components/CompoundButton/useCompoundButtonStyles.js +4 -3
  12. package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  13. package/lib/components/MenuButton/renderMenuButton.js +4 -1
  14. package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
  15. package/lib/components/SplitButton/renderSplitButton.js +4 -1
  16. package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
  17. package/lib/components/ToggleButton/useToggleButtonStyles.js +31 -31
  18. package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
  19. package/lib-commonjs/components/Button/renderButton.js +4 -1
  20. package/lib-commonjs/components/Button/renderButton.js.map +1 -1
  21. package/lib-commonjs/components/Button/useButton.js +2 -1
  22. package/lib-commonjs/components/Button/useButton.js.map +1 -1
  23. package/lib-commonjs/components/Button/useButtonStyles.js +91 -57
  24. package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
  25. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +6 -1
  26. package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
  27. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +3 -2
  28. package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
  29. package/lib-commonjs/components/MenuButton/renderMenuButton.js +4 -1
  30. package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
  31. package/lib-commonjs/components/SplitButton/renderSplitButton.js +4 -1
  32. package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
  33. package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +30 -30
  34. package/package.json +14 -13
  35. package/lib/common/isConformant.d.ts +0 -4
  36. package/lib/common/isConformant.js +0 -13
  37. package/lib/common/isConformant.js.map +0 -1
  38. package/lib-commonjs/common/isConformant.d.ts +0 -4
  39. package/lib-commonjs/common/isConformant.js +0 -24
  40. package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -13,7 +13,7 @@ exports.toggleButtonClassName = 'fui-ToggleButton';
13
13
 
14
14
  const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
15
15
  "base": {
16
- "ayd6f0": "fg85c1j",
16
+ "De3pzq": "f1nfm20t",
17
17
  "g2u3we": "fj3muxo",
18
18
  "h3c5rm": ["f1akhkt", "f1lxtadh"],
19
19
  "B9xav0g": "f1aperda",
@@ -23,13 +23,13 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
23
23
  "Bekrc4i": ["f5tn483", "f1ojsxk5"],
24
24
  "Bn0qgzm": "f1vxd6vx",
25
25
  "ibv6hh": ["f1ojsxk5", "f5tn483"],
26
- "v4pbla": "f56u8ty",
26
+ "Jwef8y": "f1knas48",
27
27
  "Bgoe8wy": "fvcxoqz",
28
28
  "Bwzppfd": ["f1ub3y4t", "f1m52nbi"],
29
29
  "oetu4i": "f1xlaoq0",
30
30
  "gg5e9n": ["f1m52nbi", "f1ub3y4t"],
31
31
  "Bi91k9c": "fax3udt",
32
- "vv34bc": "fzgy25m",
32
+ "ecr2s2": "fb40n2d",
33
33
  "B6oc9vd": "fvs00aa",
34
34
  "ak43y8": ["f1assf6x", "f4ruux4"],
35
35
  "wmxk5l": "fumykes",
@@ -37,24 +37,24 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
37
37
  "lj723h": "f1r2dosr"
38
38
  },
39
39
  "outline": {
40
- "ayd6f0": "f6r4cvw",
41
- "v4pbla": "f62j56f",
42
- "vv34bc": "flt377r"
40
+ "De3pzq": "f1q9pm1r",
41
+ "Jwef8y": "fjxutwb",
42
+ "ecr2s2": "fophhak"
43
43
  },
44
44
  "primary": {
45
- "ayd6f0": "fvinvdn",
45
+ "De3pzq": "f8w4g0q",
46
46
  "g2u3we": "f1p3nwhy",
47
47
  "h3c5rm": ["f11589ue", "f1pdflbu"],
48
48
  "B9xav0g": "f1q5o8ev",
49
49
  "zhjwy3": ["f1pdflbu", "f11589ue"],
50
50
  "sj55zd": "f1phragk",
51
- "v4pbla": "f1fitrdm",
51
+ "Jwef8y": "f15wkkf3",
52
52
  "Bgoe8wy": "f1s2uweq",
53
53
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
54
54
  "oetu4i": "f1ukrpxl",
55
55
  "gg5e9n": ["fecsdlb", "fr80ssc"],
56
56
  "Bi91k9c": "f1rq72xc",
57
- "vv34bc": "f4ihffn",
57
+ "ecr2s2": "fsp1bjw",
58
58
  "B6oc9vd": "ff472gp",
59
59
  "ak43y8": ["f4yyc7m", "ft2aflc"],
60
60
  "wmxk5l": "fggejwh",
@@ -62,19 +62,19 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
62
62
  "lj723h": "f18otbis"
63
63
  },
64
64
  "subtle": {
65
- "ayd6f0": "f1n839y3",
65
+ "De3pzq": "fq5gl1p",
66
66
  "g2u3we": "f1p3nwhy",
67
67
  "h3c5rm": ["f11589ue", "f1pdflbu"],
68
68
  "B9xav0g": "f1q5o8ev",
69
69
  "zhjwy3": ["f1pdflbu", "f11589ue"],
70
70
  "sj55zd": "f1qj7y59",
71
- "v4pbla": "f4wzgrt",
71
+ "Jwef8y": "f1t94bn6",
72
72
  "Bgoe8wy": "f1s2uweq",
73
73
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
74
74
  "oetu4i": "f1ukrpxl",
75
75
  "gg5e9n": ["fecsdlb", "fr80ssc"],
76
76
  "Bi91k9c": "f139oj5f",
77
- "vv34bc": "f1be4e1d",
77
+ "ecr2s2": "f1wfn5kd",
78
78
  "B6oc9vd": "ff472gp",
79
79
  "ak43y8": ["f4yyc7m", "ft2aflc"],
80
80
  "wmxk5l": "fggejwh",
@@ -82,19 +82,19 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
82
82
  "lj723h": "f19au66r"
83
83
  },
84
84
  "transparent": {
85
- "ayd6f0": "f6r4cvw",
85
+ "De3pzq": "f1q9pm1r",
86
86
  "g2u3we": "f1p3nwhy",
87
87
  "h3c5rm": ["f11589ue", "f1pdflbu"],
88
88
  "B9xav0g": "f1q5o8ev",
89
89
  "zhjwy3": ["f1pdflbu", "f11589ue"],
90
90
  "sj55zd": "f1qj7y59",
91
- "v4pbla": "f62j56f",
91
+ "Jwef8y": "fjxutwb",
92
92
  "Bgoe8wy": "f1s2uweq",
93
93
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
94
94
  "oetu4i": "f1ukrpxl",
95
95
  "gg5e9n": ["fecsdlb", "fr80ssc"],
96
96
  "Bi91k9c": "f139oj5f",
97
- "vv34bc": "flt377r",
97
+ "ecr2s2": "fophhak",
98
98
  "B6oc9vd": "ff472gp",
99
99
  "ak43y8": ["f4yyc7m", "ft2aflc"],
100
100
  "wmxk5l": "fggejwh",
@@ -102,26 +102,26 @@ const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
102
102
  "lj723h": "f19au66r"
103
103
  }
104
104
  }, {
105
- "d": [".fg85c1j{background:var(--colorNeutralBackground1Selected);}", ".fj3muxo{border-top-color:var(--colorNeutralStroke1);}", ".f1akhkt{border-right-color:var(--colorNeutralStroke1);}", ".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}", ".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}", ".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);}", ".f6r4cvw{background:var(--colorTransparentBackgroundSelected);}", ".fvinvdn{background:var(--colorBrandBackgroundSelected);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".f1n839y3{background:var(--colorSubtleBackgroundSelected);}", ".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],
106
- "h": [".f56u8ty:hover{background:var(--colorNeutralBackground1Hover);}", ".fvcxoqz:hover{border-top-color:var(--colorNeutralStroke1Hover);}", ".f1ub3y4t:hover{border-right-color:var(--colorNeutralStroke1Hover);}", ".f1m52nbi:hover{border-left-color:var(--colorNeutralStroke1Hover);}", ".f1xlaoq0:hover{border-bottom-color:var(--colorNeutralStroke1Hover);}", ".fax3udt:hover{color:var(--colorNeutralForeground1);}", ".f62j56f:hover{background:var(--colorTransparentBackgroundHover);}", ".f1fitrdm:hover{background:var(--colorBrandBackgroundHover);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1rq72xc:hover{color:var(--colorNeutralForegroundOnBrand);}", ".f4wzgrt:hover{background:var(--colorSubtleBackgroundHover);}", ".f139oj5f:hover{color:var(--colorNeutralForeground2BrandHover);}"],
107
- "a": [".fzgy25m:active{background:var(--colorNeutralBackground1Pressed);}", ".fvs00aa:active{border-top-color:var(--colorNeutralStroke1Pressed);}", ".f1assf6x:active{border-right-color:var(--colorNeutralStroke1Pressed);}", ".f4ruux4:active{border-left-color:var(--colorNeutralStroke1Pressed);}", ".fumykes:active{border-bottom-color:var(--colorNeutralStroke1Pressed);}", ".f1r2dosr:active{color:var(--colorNeutralForeground1);}", ".flt377r:active{background:var(--colorTransparentBackgroundPressed);}", ".f4ihffn:active{background:var(--colorBrandBackgroundPressed);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f18otbis:active{color:var(--colorNeutralForegroundOnBrand);}", ".f1be4e1d:active{background:var(--colorSubtleBackgroundPressed);}", ".f19au66r:active{color:var(--colorNeutralForeground2BrandPressed);}"]
105
+ "d": [".f1nfm20t{background-color:var(--colorNeutralBackground1Selected);}", ".fj3muxo{border-top-color:var(--colorNeutralStroke1);}", ".f1akhkt{border-right-color:var(--colorNeutralStroke1);}", ".f1lxtadh{border-left-color:var(--colorNeutralStroke1);}", ".f1aperda{border-bottom-color:var(--colorNeutralStroke1);}", ".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);}", ".f1q9pm1r{background-color:var(--colorTransparentBackgroundSelected);}", ".f8w4g0q{background-color:var(--colorBrandBackgroundSelected);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fq5gl1p{background-color:var(--colorSubtleBackgroundSelected);}", ".f1qj7y59{color:var(--colorNeutralForeground2BrandSelected);}"],
106
+ "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);}", ".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);}"],
107
+ "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);}", ".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);}"]
108
108
  });
109
109
 
110
110
  const useDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
111
111
  "base": {
112
- "ayd6f0": "fqst6tg",
112
+ "De3pzq": "f1bg9a2p",
113
113
  "g2u3we": "f1jj8ep1",
114
114
  "h3c5rm": ["f15xbau", "fy0fskl"],
115
115
  "B9xav0g": "f4ikngz",
116
116
  "zhjwy3": ["fy0fskl", "f15xbau"],
117
117
  "sj55zd": "f1s2aq7o",
118
- "v4pbla": "f1nil5o8",
118
+ "Jwef8y": "f1falr9n",
119
119
  "Bgoe8wy": "f12mpcsy",
120
120
  "Bwzppfd": ["f1gwvigk", "f18rmfxp"],
121
121
  "oetu4i": "f1jnshp0",
122
122
  "gg5e9n": ["f18rmfxp", "f1gwvigk"],
123
123
  "Bi91k9c": "fvgxktp",
124
- "vv34bc": "fkqx3al",
124
+ "ecr2s2": "f1ryyzvn",
125
125
  "B6oc9vd": "fdi4vxw",
126
126
  "ak43y8": ["f4ryxzl", "fkdgpbx"],
127
127
  "wmxk5l": "fcmhn06",
@@ -144,43 +144,43 @@ const useDisabledStyles = /*#__PURE__*/react_make_styles_1.__styles({
144
144
  "B50zh58": ["ft2aflc", "f4yyc7m"]
145
145
  },
146
146
  "subtle": {
147
- "ayd6f0": "f1k2sg7s",
147
+ "De3pzq": "f3rmtva",
148
148
  "g2u3we": "f1p3nwhy",
149
149
  "h3c5rm": ["f11589ue", "f1pdflbu"],
150
150
  "B9xav0g": "f1q5o8ev",
151
151
  "zhjwy3": ["f1pdflbu", "f11589ue"],
152
- "v4pbla": "f1vc35iv",
152
+ "Jwef8y": "f1cio4g9",
153
153
  "Bgoe8wy": "f1s2uweq",
154
154
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
155
155
  "oetu4i": "f1ukrpxl",
156
156
  "gg5e9n": ["fecsdlb", "fr80ssc"],
157
- "vv34bc": "f17oliv9",
157
+ "ecr2s2": "f1rot6hk",
158
158
  "B6oc9vd": "ff472gp",
159
159
  "ak43y8": ["f4yyc7m", "ft2aflc"],
160
160
  "wmxk5l": "fggejwh",
161
161
  "B50zh58": ["ft2aflc", "f4yyc7m"]
162
162
  },
163
163
  "transparent": {
164
- "ayd6f0": "f1k2sg7s",
164
+ "De3pzq": "f3rmtva",
165
165
  "g2u3we": "f1p3nwhy",
166
166
  "h3c5rm": ["f11589ue", "f1pdflbu"],
167
167
  "B9xav0g": "f1q5o8ev",
168
168
  "zhjwy3": ["f1pdflbu", "f11589ue"],
169
- "v4pbla": "f1vc35iv",
169
+ "Jwef8y": "f1cio4g9",
170
170
  "Bgoe8wy": "f1s2uweq",
171
171
  "Bwzppfd": ["fr80ssc", "fecsdlb"],
172
172
  "oetu4i": "f1ukrpxl",
173
173
  "gg5e9n": ["fecsdlb", "fr80ssc"],
174
- "vv34bc": "f17oliv9",
174
+ "ecr2s2": "f1rot6hk",
175
175
  "B6oc9vd": "ff472gp",
176
176
  "ak43y8": ["f4yyc7m", "ft2aflc"],
177
177
  "wmxk5l": "fggejwh",
178
178
  "B50zh58": ["ft2aflc", "f4yyc7m"]
179
179
  }
180
180
  }, {
181
- "d": [".fqst6tg{background:var(--colorNeutralBackgroundDisabled);}", ".f1jj8ep1{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f15xbau{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fy0fskl{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f4ikngz{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f1k2sg7s{background:none;}"],
182
- "h": [".f1nil5o8:hover{background:var(--colorNeutralBackgroundDisabled);}", ".f12mpcsy:hover{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f1gwvigk:hover{border-right-color:var(--colorNeutralStrokeDisabled);}", ".f18rmfxp:hover{border-left-color:var(--colorNeutralStrokeDisabled);}", ".f1jnshp0:hover{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}", ".f1s2uweq:hover{border-top-color:transparent;}", ".fr80ssc:hover{border-right-color:transparent;}", ".fecsdlb:hover{border-left-color:transparent;}", ".f1ukrpxl:hover{border-bottom-color:transparent;}", ".f1vc35iv:hover{background:none;}"],
183
- "a": [".fkqx3al:active{background:var(--colorNeutralBackgroundDisabled);}", ".fdi4vxw:active{border-top-color:var(--colorNeutralStrokeDisabled);}", ".f4ryxzl:active{border-right-color:var(--colorNeutralStrokeDisabled);}", ".fkdgpbx:active{border-left-color:var(--colorNeutralStrokeDisabled);}", ".fcmhn06:active{border-bottom-color:var(--colorNeutralStrokeDisabled);}", ".f19wldhg:active{color:var(--colorNeutralForegroundDisabled);}", ".ff472gp:active{border-top-color:transparent;}", ".f4yyc7m:active{border-right-color:transparent;}", ".ft2aflc:active{border-left-color:transparent;}", ".fggejwh:active{border-bottom-color:transparent;}", ".f17oliv9:active{background:none;}"]
181
+ "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);}", ".f1p3nwhy{border-top-color:transparent;}", ".f11589ue{border-right-color:transparent;}", ".f1pdflbu{border-left-color:transparent;}", ".f1q5o8ev{border-bottom-color:transparent;}", ".f3rmtva{background-color:transparent;}"],
182
+ "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);}", ".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;}"],
183
+ "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);}", ".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;}"]
184
184
  });
185
185
 
186
186
  const useToggleButtonStyles = state => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-button",
3
- "version": "0.0.0-nightlyc9ccb6f37d20211122.1",
3
+ "version": "0.0.0-nightlycc44f3625c20211220.1",
4
4
  "description": "Fluent UI React Button component.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -19,18 +19,19 @@
19
19
  "just": "just-scripts",
20
20
  "lint": "just-scripts lint",
21
21
  "start": "yarn storybook",
22
- "test": "jest",
22
+ "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
- "build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/packages/react-button/src && yarn docs",
25
- "storybook": "start-storybook"
24
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-button/src && yarn docs",
25
+ "storybook": "start-storybook",
26
+ "type-check": "tsc -b tsconfig.json"
26
27
  },
27
28
  "devDependencies": {
28
29
  "@fluentui/a11y-testing": "^0.1.0",
29
- "@fluentui/babel-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
30
+ "@fluentui/babel-make-styles": "0.0.0-nightlycc44f3625c20211220.1",
30
31
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
32
+ "@fluentui/jest-serializer-make-styles": "0.0.0-nightlycc44f3625c20211220.1",
32
33
  "@fluentui/react-conformance": "*",
33
- "@fluentui/react-conformance-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
34
+ "@fluentui/react-conformance-make-styles": "0.0.0-nightlycc44f3625c20211220.1",
34
35
  "@fluentui/scripts": "^1.0.0",
35
36
  "@types/enzyme": "3.10.3",
36
37
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -44,12 +45,12 @@
44
45
  "react-test-renderer": "^16.3.0"
45
46
  },
46
47
  "dependencies": {
47
- "@fluentui/keyboard-keys": "0.0.0-nightlyc9ccb6f37d20211122.1",
48
- "@fluentui/react-aria": "0.0.0-nightlyc9ccb6f37d20211122.1",
49
- "@fluentui/react-icons": "^1.1.140",
50
- "@fluentui/react-make-styles": "0.0.0-nightlyc9ccb6f37d20211122.1",
51
- "@fluentui/react-tabster": "0.0.0-nightlyc9ccb6f37d20211122.1",
52
- "@fluentui/react-utilities": "0.0.0-nightlyc9ccb6f37d20211122.1",
48
+ "@fluentui/keyboard-keys": "0.0.0-nightlycc44f3625c20211220.1",
49
+ "@fluentui/react-aria": "0.0.0-nightlycc44f3625c20211220.1",
50
+ "@fluentui/react-icons": "^2.0.154-beta.5",
51
+ "@fluentui/react-make-styles": "0.0.0-nightlycc44f3625c20211220.1",
52
+ "@fluentui/react-tabster": "0.0.0-nightlycc44f3625c20211220.1",
53
+ "@fluentui/react-utilities": "0.0.0-nightlycc44f3625c20211220.1",
53
54
  "tslib": "^2.1.0"
54
55
  },
55
56
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,13 +0,0 @@
1
- import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
- import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
- export function isConformant(testInfo) {
4
- const defaultOptions = {
5
- asPropHandlesRef: true,
6
- componentPath: module.parent.filename.replace('.test', ''),
7
- disabledTests: ['has-docblock', 'kebab-aria-attributes'],
8
- extraTests: makeStylesTests,
9
- skipAsPropTests: true
10
- };
11
- baseIsConformant(defaultOptions, testInfo);
12
- }
13
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":"AAAA,SAAS,YAAY,IAAI,gBAAzB,QAAiD,6BAAjD;AAEA,OAAO,eAAP,MAA4B,yCAA5B;AAEA,OAAM,SAAU,YAAV,CACJ,QADI,EACqF;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,aAAa,EAAE,CAAC,cAAD,EAAiB,uBAAjB,CAH4C;AAI3D,IAAA,UAAU,EAAE,eAJ+C;AAK3D,IAAA,eAAe,EAAE;AAL0C,GAA7D;AAQA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
@@ -1,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isConformant = void 0;
7
-
8
- const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
-
10
- const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
-
12
- function isConformant(testInfo) {
13
- const defaultOptions = {
14
- asPropHandlesRef: true,
15
- componentPath: module.parent.filename.replace('.test', ''),
16
- disabledTests: ['has-docblock', 'kebab-aria-attributes'],
17
- extraTests: react_conformance_make_styles_1.default,
18
- skipAsPropTests: true
19
- };
20
- react_conformance_1.isConformant(defaultOptions, testInfo);
21
- }
22
-
23
- exports.isConformant = isConformant;
24
- //# sourceMappingURL=isConformant.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/common/isConformant.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAEA,MAAA,+BAAA,gBAAA,OAAA,CAAA,yCAAA,CAAA;;AAEA,SAAgB,YAAhB,CACE,QADF,EAC2F;AAEzF,QAAM,cAAc,GAAyC;AAC3D,IAAA,gBAAgB,EAAE,IADyC;AAE3D,IAAA,aAAa,EAAE,MAAO,CAAC,MAAR,CAAgB,QAAhB,CAAyB,OAAzB,CAAiC,OAAjC,EAA0C,EAA1C,CAF4C;AAG3D,IAAA,aAAa,EAAE,CAAC,cAAD,EAAiB,uBAAjB,CAH4C;AAI3D,IAAA,UAAU,EAAE,+BAAA,CAAA,OAJ+C;AAK3D,IAAA,eAAe,EAAE;AAL0C,GAA7D;AAQA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAZD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}