@fluentui/react-button 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlyf1be0a972820211214.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +98 -21
- package/CHANGELOG.md +31 -13
- package/lib/components/Button/renderButton.js +4 -1
- package/lib/components/Button/renderButton.js.map +1 -1
- package/lib/components/Button/useButton.js +2 -1
- package/lib/components/Button/useButton.js.map +1 -1
- package/lib/components/Button/useButtonStyles.js +92 -58
- package/lib/components/Button/useButtonStyles.js.map +1 -1
- package/lib/components/CompoundButton/renderCompoundButton.js +6 -1
- package/lib/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib/components/CompoundButton/useCompoundButtonStyles.js +4 -3
- package/lib/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib/components/MenuButton/renderMenuButton.js +4 -1
- package/lib/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib/components/SplitButton/renderSplitButton.js +4 -1
- package/lib/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib/components/ToggleButton/useToggleButtonStyles.js +31 -31
- package/lib/components/ToggleButton/useToggleButtonStyles.js.map +1 -1
- package/lib-commonjs/components/Button/renderButton.js +4 -1
- package/lib-commonjs/components/Button/renderButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButton.js +2 -1
- package/lib-commonjs/components/Button/useButton.js.map +1 -1
- package/lib-commonjs/components/Button/useButtonStyles.js +91 -57
- package/lib-commonjs/components/Button/useButtonStyles.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.js +6 -1
- package/lib-commonjs/components/CompoundButton/renderCompoundButton.js.map +1 -1
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js +3 -2
- package/lib-commonjs/components/CompoundButton/useCompoundButtonStyles.js.map +1 -1
- package/lib-commonjs/components/MenuButton/renderMenuButton.js +4 -1
- package/lib-commonjs/components/MenuButton/renderMenuButton.js.map +1 -1
- package/lib-commonjs/components/SplitButton/renderSplitButton.js +4 -1
- package/lib-commonjs/components/SplitButton/renderSplitButton.js.map +1 -1
- package/lib-commonjs/components/ToggleButton/useToggleButtonStyles.js +30 -30
- package/package.json +14 -13
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -13
- package/lib/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -24
- package/lib-commonjs/common/isConformant.js.map +0 -1
@@ -13,7 +13,7 @@ exports.toggleButtonClassName = 'fui-ToggleButton';
|
|
13
13
|
|
14
14
|
const useCheckedStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
15
15
|
"base": {
|
16
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
41
|
-
"
|
42
|
-
"
|
40
|
+
"De3pzq": "f1q9pm1r",
|
41
|
+
"Jwef8y": "fjxutwb",
|
42
|
+
"ecr2s2": "fophhak"
|
43
43
|
},
|
44
44
|
"primary": {
|
45
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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": [".
|
106
|
-
"h": [".
|
107
|
-
"a": [".
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
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
|
-
"
|
147
|
+
"De3pzq": "f3rmtva",
|
148
148
|
"g2u3we": "f1p3nwhy",
|
149
149
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
150
150
|
"B9xav0g": "f1q5o8ev",
|
151
151
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
152
|
-
"
|
152
|
+
"Jwef8y": "f1cio4g9",
|
153
153
|
"Bgoe8wy": "f1s2uweq",
|
154
154
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
155
155
|
"oetu4i": "f1ukrpxl",
|
156
156
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
157
|
-
"
|
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
|
-
"
|
164
|
+
"De3pzq": "f3rmtva",
|
165
165
|
"g2u3we": "f1p3nwhy",
|
166
166
|
"h3c5rm": ["f11589ue", "f1pdflbu"],
|
167
167
|
"B9xav0g": "f1q5o8ev",
|
168
168
|
"zhjwy3": ["f1pdflbu", "f11589ue"],
|
169
|
-
"
|
169
|
+
"Jwef8y": "f1cio4g9",
|
170
170
|
"Bgoe8wy": "f1s2uweq",
|
171
171
|
"Bwzppfd": ["fr80ssc", "fecsdlb"],
|
172
172
|
"oetu4i": "f1ukrpxl",
|
173
173
|
"gg5e9n": ["fecsdlb", "fr80ssc"],
|
174
|
-
"
|
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": [".
|
182
|
-
"h": [".
|
183
|
-
"a": [".
|
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-
|
3
|
+
"version": "0.0.0-nightlyf1be0a972820211214.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-
|
30
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyf1be0a972820211214.1",
|
30
31
|
"@fluentui/eslint-plugin": "*",
|
31
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlyf1be0a972820211214.1",
|
32
33
|
"@fluentui/react-conformance": "*",
|
33
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlyf1be0a972820211214.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-
|
48
|
-
"@fluentui/react-aria": "0.0.0-
|
49
|
-
"@fluentui/react-icons": "^
|
50
|
-
"@fluentui/react-make-styles": "0.0.0-
|
51
|
-
"@fluentui/react-tabster": "0.0.0-
|
52
|
-
"@fluentui/react-utilities": "0.0.0-
|
48
|
+
"@fluentui/keyboard-keys": "0.0.0-nightlyf1be0a972820211214.1",
|
49
|
+
"@fluentui/react-aria": "0.0.0-nightlyf1be0a972820211214.1",
|
50
|
+
"@fluentui/react-icons": "^2.0.154-beta.5",
|
51
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyf1be0a972820211214.1",
|
52
|
+
"@fluentui/react-tabster": "0.0.0-nightlyf1be0a972820211214.1",
|
53
|
+
"@fluentui/react-utilities": "0.0.0-nightlyf1be0a972820211214.1",
|
53
54
|
"tslib": "^2.1.0"
|
54
55
|
},
|
55
56
|
"peerDependencies": {
|
@@ -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,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":""}
|