@fluentui/react-menu 0.0.0-nightlyc9ccb6f37d20211122.1 → 0.0.0-nightlyd3bf09bf8120211201.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +115 -26
- package/CHANGELOG.md +36 -16
- package/lib/components/MenuDivider/useMenuDividerStyles.js +1 -1
- package/lib/components/MenuDivider/useMenuDividerStyles.js.map +1 -1
- package/lib/components/MenuItem/useMenuItemStyles.js +8 -4
- package/lib/components/MenuItem/useMenuItemStyles.js.map +1 -1
- package/lib/components/MenuList/useMenuListStyles.js +4 -3
- package/lib/components/MenuList/useMenuListStyles.js.map +1 -1
- package/lib/components/MenuPopover/useMenuPopoverStyles.js +6 -3
- package/lib/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
- package/lib-commonjs/components/MenuItem/useMenuItemStyles.js +7 -3
- package/lib-commonjs/components/MenuItem/useMenuItemStyles.js.map +1 -1
- package/lib-commonjs/components/MenuList/useMenuListStyles.js +3 -2
- package/lib-commonjs/components/MenuList/useMenuListStyles.js.map +1 -1
- package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js +5 -2
- package/lib-commonjs/components/MenuPopover/useMenuPopoverStyles.js.map +1 -1
- package/package.json +16 -15
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -12
- package/lib/common/isConformant.js.map +0 -1
- package/lib/common/mockUseMenuContext.d.ts +0 -7
- package/lib/common/mockUseMenuContext.js +0 -29
- package/lib/common/mockUseMenuContext.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -23
- package/lib-commonjs/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/mockUseMenuContext.d.ts +0 -7
- package/lib-commonjs/common/mockUseMenuContext.js +0 -39
- package/lib-commonjs/common/mockUseMenuContext.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,82 +2,171 @@
|
|
2
2
|
"name": "@fluentui/react-menu",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-menu_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Wed, 01 Dec 2021 04:25:38 GMT",
|
6
|
+
"tag": "@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.1",
|
7
|
+
"version": "0.0.0-nightlyd3bf09bf8120211201.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-menu",
|
13
|
-
"commit": "
|
13
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-menu",
|
19
|
+
"commit": "7e0933ed386742df28c416e6b3a6903a0c041f28",
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-menu",
|
25
|
+
"comment": "Bump @fluentui/keyboard-keys to v0.0.0-nightlyd3bf09bf8120211201.1",
|
26
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-menu",
|
31
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlyd3bf09bf8120211201.1",
|
32
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-menu",
|
37
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
38
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-menu",
|
43
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightlyd3bf09bf8120211201.1",
|
44
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-menu",
|
49
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightlyd3bf09bf8120211201.1",
|
50
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-menu",
|
55
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyd3bf09bf8120211201.1",
|
56
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-menu",
|
61
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1",
|
62
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-menu",
|
67
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1",
|
68
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
69
|
+
},
|
16
70
|
{
|
17
71
|
"author": "beachball",
|
18
72
|
"package": "@fluentui/react-menu",
|
19
|
-
"comment": "Bump @fluentui/
|
20
|
-
"commit": "
|
73
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
74
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"author": "beachball",
|
78
|
+
"package": "@fluentui/react-menu",
|
79
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
80
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"author": "beachball",
|
84
|
+
"package": "@fluentui/react-menu",
|
85
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1",
|
86
|
+
"commit": "40bec5fdab524f928e775fb2ed002822255eb2a7"
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"date": "Thu, 25 Nov 2021 08:34:14 GMT",
|
93
|
+
"tag": "@fluentui/react-menu_v9.0.0-beta.5",
|
94
|
+
"version": "9.0.0-beta.5",
|
95
|
+
"comments": {
|
96
|
+
"none": [
|
97
|
+
{
|
98
|
+
"author": "lingfangao@hotmail.com",
|
99
|
+
"package": "@fluentui/react-menu",
|
100
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
101
|
+
"comment": "Migrate package to use solution tsconfigs"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"prerelease": [
|
105
|
+
{
|
106
|
+
"author": "ololubek@microsoft.com",
|
107
|
+
"package": "@fluentui/react-menu",
|
108
|
+
"commit": "ecab13cfd6ac22657020db8f86eb89f952b0f953",
|
109
|
+
"comment": "update react-icons dependency"
|
21
110
|
},
|
22
111
|
{
|
23
112
|
"author": "beachball",
|
24
113
|
"package": "@fluentui/react-menu",
|
25
|
-
"comment": "Bump @fluentui/react-context-selector to
|
26
|
-
"commit": "
|
114
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
|
115
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
27
116
|
},
|
28
117
|
{
|
29
118
|
"author": "beachball",
|
30
119
|
"package": "@fluentui/react-menu",
|
31
|
-
"comment": "Bump @fluentui/react-make-styles to
|
32
|
-
"commit": "
|
120
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
121
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
33
122
|
},
|
34
123
|
{
|
35
124
|
"author": "beachball",
|
36
125
|
"package": "@fluentui/react-menu",
|
37
|
-
"comment": "Bump @fluentui/react-portal to
|
38
|
-
"commit": "
|
126
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
127
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
39
128
|
},
|
40
129
|
{
|
41
130
|
"author": "beachball",
|
42
131
|
"package": "@fluentui/react-menu",
|
43
|
-
"comment": "Bump @fluentui/react-positioning to
|
44
|
-
"commit": "
|
132
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
133
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
45
134
|
},
|
46
135
|
{
|
47
136
|
"author": "beachball",
|
48
137
|
"package": "@fluentui/react-menu",
|
49
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
50
|
-
"commit": "
|
138
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
139
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
51
140
|
},
|
52
141
|
{
|
53
142
|
"author": "beachball",
|
54
143
|
"package": "@fluentui/react-menu",
|
55
|
-
"comment": "Bump @fluentui/react-tabster to
|
56
|
-
"commit": "
|
144
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
145
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
57
146
|
},
|
58
147
|
{
|
59
148
|
"author": "beachball",
|
60
149
|
"package": "@fluentui/react-menu",
|
61
|
-
"comment": "Bump @fluentui/react-utilities to
|
62
|
-
"commit": "
|
150
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
151
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
63
152
|
},
|
64
153
|
{
|
65
154
|
"author": "beachball",
|
66
155
|
"package": "@fluentui/react-menu",
|
67
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
68
|
-
"commit": "
|
156
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
157
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
69
158
|
},
|
70
159
|
{
|
71
160
|
"author": "beachball",
|
72
161
|
"package": "@fluentui/react-menu",
|
73
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
74
|
-
"commit": "
|
162
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
163
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
75
164
|
},
|
76
165
|
{
|
77
166
|
"author": "beachball",
|
78
167
|
"package": "@fluentui/react-menu",
|
79
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
80
|
-
"commit": "
|
168
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
169
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
81
170
|
}
|
82
171
|
]
|
83
172
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,28 +1,48 @@
|
|
1
1
|
# Change Log - @fluentui/react-menu
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 01 Dec 2021 04:25:38 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyd3bf09bf8120211201.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.
|
9
|
+
Wed, 01 Dec 2021 04:25:38 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.5..@fluentui/react-menu_v0.0.0-nightlyd3bf09bf8120211201.1)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/
|
15
|
-
-
|
16
|
-
- Bump @fluentui/
|
17
|
-
- Bump @fluentui/react-
|
18
|
-
- Bump @fluentui/react-
|
19
|
-
- Bump @fluentui/react-
|
20
|
-
- Bump @fluentui/react-
|
21
|
-
- Bump @fluentui/react-
|
22
|
-
- Bump @fluentui/react-
|
23
|
-
- Bump @fluentui/
|
24
|
-
- Bump @fluentui/
|
25
|
-
- Bump @fluentui/
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by email not defined)
|
15
|
+
- update styles to not use CSS shorthands ([PR #20820](https://github.com/microsoft/fluentui/pull/20820) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/keyboard-keys to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
17
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
18
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
19
|
+
- Bump @fluentui/react-portal to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
20
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
21
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
22
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
23
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
24
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
25
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
26
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlyd3bf09bf8120211201.1 ([commit](https://github.com/microsoft/fluentui/commit/40bec5fdab524f928e775fb2ed002822255eb2a7) by beachball)
|
27
|
+
|
28
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.5)
|
29
|
+
|
30
|
+
Thu, 25 Nov 2021 08:34:14 GMT
|
31
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-menu_v9.0.0-beta.4..@fluentui/react-menu_v9.0.0-beta.5)
|
32
|
+
|
33
|
+
### Changes
|
34
|
+
|
35
|
+
- update react-icons dependency ([PR #20563](https://github.com/microsoft/fluentui/pull/20563) by ololubek@microsoft.com)
|
36
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
40
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
41
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
42
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
43
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
44
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
45
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
26
46
|
|
27
47
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-menu_v9.0.0-beta.4)
|
28
48
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":"AAAA,SAAS,
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuDivider/useMenuDividerStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,6BAArD;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;;AASA,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA4B;AAC9D,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,oBAAD,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AAEA,SAAO,KAAP;AACD,CALM","sourceRoot":""}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
1
|
+
import { mergeClasses, __styles, shorthands } from '@fluentui/react-make-styles';
|
2
2
|
import { createFocusOutlineStyle } from '@fluentui/react-tabster';
|
3
3
|
export const menuItemClassName = 'fui-MenuItem';
|
4
4
|
|
@@ -33,7 +33,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
33
33
|
"B1a67j7": ["f12y1wz2", "fvabyfg"]
|
34
34
|
},
|
35
35
|
"root": {
|
36
|
-
"
|
36
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
37
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
38
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
39
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
37
40
|
"qhf8xq": "f10pi13n",
|
38
41
|
"sj55zd": "f19n0e5",
|
39
42
|
"De3pzq": "fxugw4r",
|
@@ -44,7 +47,8 @@ const useStyles = /*#__PURE__*/__styles({
|
|
44
47
|
"Bt984gj": "f122n59",
|
45
48
|
"Be2twd7": "fkhj508",
|
46
49
|
"Bceei9c": "f1k6fduh",
|
47
|
-
"
|
50
|
+
"i8kkvl": "f1q8lukm",
|
51
|
+
"Belr9w4": "f1ma2n7n",
|
48
52
|
"Jwef8y": "f1knas48",
|
49
53
|
"Bi91k9c": "fnwyq0v",
|
50
54
|
"famaaq": "f1xqy1su"
|
@@ -77,7 +81,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
77
81
|
}
|
78
82
|
}, {
|
79
83
|
"i": [".f2hkw1w:focus-visible{outline-style:none;}"],
|
80
|
-
"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] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".
|
84
|
+
"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] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".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);}", ".f10pi13n{position:relative;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f81rol6{padding-right:10px;}", ".frdkuqy{padding-left:10px;}", ".f1d2rq10{height:32px;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1k6fduh{cursor:pointer;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".f161knb0{padding-left:2px;}", ".f12huiiw{padding-right:2px;}", ".f3rmtva{background-color:transparent;}", ".fqerorx{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],
|
81
85
|
"h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}", ".f1jp5ecu:hover{color:var(--colorNeutralForeground3Hover);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}"],
|
82
86
|
"f": [".fc1cou1:focus{color:var(--colorNeutralForeground3Hover);}", ".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]
|
83
87
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuItem/useMenuItemStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuItem/useMenuItemStyles.ts"],"names":[],"mappings":"AAA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,EAE7C,KAAK,CAAC,gBAAN,CAAuB,SAFsB,CAA/C;AAID;;AAED,MAAI,KAAK,CAAC,IAAV,EAAgB;AACd,IAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,MAAM,CAAC,IAAR,EAAc,KAAK,CAAC,IAAN,CAAW,SAAzB,CAAnC;AACD;;AAED,MAAI,KAAK,CAAC,gBAAV,EAA4B;AAC1B,IAAA,KAAK,CAAC,gBAAN,CAAuB,SAAvB,GAAmC,YAAY,CAAC,MAAM,CAAC,gBAAR,EAA0B,KAAK,CAAC,gBAAN,CAAuB,SAAjD,CAA/C;AACD;AACF,CAxBM","sourceRoot":""}
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
1
|
+
import { mergeClasses, __styles, shorthands } from '@fluentui/react-make-styles';
|
2
2
|
export const menuListClassName = 'fui-MenuList';
|
3
3
|
|
4
4
|
const useStyles = /*#__PURE__*/__styles({
|
5
5
|
"root": {
|
6
6
|
"mc9l5x": "f22iagw",
|
7
7
|
"Beiy3e4": "f1vx9l62",
|
8
|
-
"
|
8
|
+
"i8kkvl": "f16mnhsx",
|
9
|
+
"Belr9w4": "fbi42co"
|
9
10
|
}
|
10
11
|
}, {
|
11
|
-
"d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".
|
12
|
+
"d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f16mnhsx{-webkit-column-gap:2px;column-gap:2px;}", ".fbi42co{row-gap:2px;}"]
|
12
13
|
});
|
13
14
|
/**
|
14
15
|
* Apply styling to the Menu slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":"AAAA,SAAS,YAAT,YAAmC,UAAnC,QAAqD,6BAArD;AAGA,OAAO,MAAM,iBAAiB,GAAG,cAA1B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACH,OAAO,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,iBAAD,EAAoB,MAAM,CAAC,IAA3B,EAAiC,KAAK,CAAC,IAAN,CAAW,SAA5C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
|
@@ -1,9 +1,12 @@
|
|
1
|
-
import { mergeClasses, __styles } from '@fluentui/react-make-styles';
|
1
|
+
import { shorthands, mergeClasses, __styles } from '@fluentui/react-make-styles';
|
2
2
|
export const menuPopoverClassName = 'fui-MenuPopover';
|
3
3
|
|
4
4
|
const useStyles = /*#__PURE__*/__styles({
|
5
5
|
"root": {
|
6
|
-
"
|
6
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
7
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
8
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
9
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
7
10
|
"De3pzq": "fxugw4r",
|
8
11
|
"Bf4jedk": "fkqu4gx",
|
9
12
|
"B2u0y6b": "f1kaai3v",
|
@@ -27,7 +30,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
27
30
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
28
31
|
}
|
29
32
|
}, {
|
30
|
-
"d": [".
|
33
|
+
"d": [".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);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
|
31
34
|
});
|
32
35
|
/**
|
33
36
|
* Apply styling to the Menu slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":"AAAA,SAAS,
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,EAAqB,YAArB,kBAAqD,6BAArD;AAGA,OAAO,MAAM,oBAAoB,GAAG,iBAA7B;;AAEP,MAAM,SAAS,gBAAG;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACH,OAAO,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CAAC,oBAAD,EAAuB,MAAM,CAAC,IAA9B,EAAoC,KAAK,CAAC,IAAN,CAAW,SAA/C,CAAnC;AACA,SAAO,KAAP;AACD,CAJM","sourceRoot":""}
|
@@ -42,7 +42,10 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
42
42
|
"B1a67j7": ["f12y1wz2", "fvabyfg"]
|
43
43
|
},
|
44
44
|
"root": {
|
45
|
-
"
|
45
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
46
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
47
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
48
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
46
49
|
"qhf8xq": "f10pi13n",
|
47
50
|
"sj55zd": "f19n0e5",
|
48
51
|
"De3pzq": "fxugw4r",
|
@@ -53,7 +56,8 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
53
56
|
"Bt984gj": "f122n59",
|
54
57
|
"Be2twd7": "fkhj508",
|
55
58
|
"Bceei9c": "f1k6fduh",
|
56
|
-
"
|
59
|
+
"i8kkvl": "f1q8lukm",
|
60
|
+
"Belr9w4": "f1ma2n7n",
|
57
61
|
"Jwef8y": "f1knas48",
|
58
62
|
"Bi91k9c": "fnwyq0v",
|
59
63
|
"famaaq": "f1xqy1su"
|
@@ -86,7 +90,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
86
90
|
}
|
87
91
|
}, {
|
88
92
|
"i": [".f2hkw1w:focus-visible{outline-style:none;}"],
|
89
|
-
"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] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".
|
93
|
+
"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] .f1pxpxw8:focus:after{content:\"\";}", "[data-keyboard-nav] .f1149fnl:focus:after{position:absolute;}", "[data-keyboard-nav] .fd1orka:focus:after{pointer-events:none;}", "[data-keyboard-nav] .fgtqheg:focus:after{box-sizing:outline-box;}", "[data-keyboard-nav] .fq7mjg8:focus:after{z-index:1;}", "[data-keyboard-nav] .fmqgchs:focus:after{border-top-style:solid;}", "[data-keyboard-nav] .f1lv6wi8:focus:after{border-right-style:solid;}", "[data-keyboard-nav] .famjx04:focus:after{border-left-style:solid;}", "[data-keyboard-nav] .f1nbyjd2:focus:after{border-bottom-style:solid;}", "[data-keyboard-nav] .f5n18is:focus:after{border-top-width:2px;}", "[data-keyboard-nav] .f13az7yk:focus:after{border-right-width:2px;}", "[data-keyboard-nav] .f14kwzu1:focus:after{border-left-width:2px;}", "[data-keyboard-nav] .fneogx5:focus:after{border-bottom-width:2px;}", "[data-keyboard-nav] .f1ha6shg:focus:after{border-radius:var(--borderRadiusMedium);}", "[data-keyboard-nav] .f1f43d5r:focus:after{border-top-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1ib27sc:focus:after{border-right-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f14s7j5v:focus:after{border-left-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f13oqbgc:focus:after{border-bottom-color:var(--colorStrokeFocus2);}", "[data-keyboard-nav] .f1284xzw:focus:after{top:-2px;}", "[data-keyboard-nav] .f14dru39:focus:after{bottom:-2px;}", "[data-keyboard-nav] .fvabyfg:focus:after{left:-2px;}", "[data-keyboard-nav] .f12y1wz2:focus:after{right:-2px;}", ".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);}", ".f10pi13n{position:relative;}", ".f19n0e5{color:var(--colorNeutralForeground1);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f81rol6{padding-right:10px;}", ".frdkuqy{padding-left:10px;}", ".f1d2rq10{height:32px;}", ".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f122n59{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}", ".fkhj508{font-size:var(--fontSizeBase300);}", ".f1k6fduh{cursor:pointer;}", ".f1q8lukm{-webkit-column-gap:4px;column-gap:4px;}", ".f1ma2n7n{row-gap:4px;}", ".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}", ".f161knb0{padding-left:2px;}", ".f12huiiw{padding-right:2px;}", ".f3rmtva{background-color:transparent;}", ".fqerorx{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}", ".f11d4kpn{color:var(--colorNeutralForeground3);}", ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f1s2aq7o{color:var(--colorNeutralForegroundDisabled);}"],
|
90
94
|
"h": [".f1knas48:hover{background-color:var(--colorNeutralBackground1Hover);}", ".fnwyq0v:hover{color:var(--colorNeutralForeground2Hover);}", ".f1jp5ecu:hover{color:var(--colorNeutralForeground3Hover);}", ".fvgxktp:hover{color:var(--colorNeutralForegroundDisabled);}"],
|
91
95
|
"f": [".fc1cou1:focus{color:var(--colorNeutralForeground3Hover);}", ".ft33916:focus{color:var(--colorNeutralForegroundDisabled);}"]
|
92
96
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuItem/useMenuItemStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAGa,OAAA,CAAA,iBAA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",
|
17
|
+
"Belr9w4": "fbi42co"
|
17
18
|
}
|
18
19
|
}, {
|
19
|
-
"d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".
|
20
|
+
"d": [".f22iagw{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;}", ".f1vx9l62{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}", ".f16mnhsx{-webkit-column-gap:2px;column-gap:2px;}", ".fbi42co{row-gap:2px;}"]
|
20
21
|
});
|
21
22
|
/**
|
22
23
|
* Apply styling to the Menu slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuList/useMenuListStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,iBAAA,GAAoB,cAApB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAQA;;AAEG;;;AACI,MAAM,iBAAiB,GAAI,KAAD,IAAwC;AACvE,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,iBAAb,EAAgC,MAAM,CAAC,IAAvC,EAA6C,KAAK,CAAC,IAAN,CAAW,SAAxD,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,iBAAA,GAAiB,iBAAjB","sourceRoot":""}
|
@@ -11,7 +11,10 @@ exports.menuPopoverClassName = 'fui-MenuPopover';
|
|
11
11
|
|
12
12
|
const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
13
13
|
"root": {
|
14
|
-
"
|
14
|
+
"Bbmb7ep": ["f1aa9q02", "f16jpd5f"],
|
15
|
+
"Beyfa6y": ["f16jpd5f", "f1aa9q02"],
|
16
|
+
"B7oj6ja": ["f1jar5jt", "fyu767a"],
|
17
|
+
"Btl43ni": ["fyu767a", "f1jar5jt"],
|
15
18
|
"De3pzq": "fxugw4r",
|
16
19
|
"Bf4jedk": "fkqu4gx",
|
17
20
|
"B2u0y6b": "f1kaai3v",
|
@@ -35,7 +38,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
35
38
|
"zhjwy3": ["fjscplz", "f1gn591s"]
|
36
39
|
}
|
37
40
|
}, {
|
38
|
-
"d": [".
|
41
|
+
"d": [".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);}", ".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".fkqu4gx{min-width:128px;}", ".f1kaai3v{max-width:300px;}", ".f1ahpp82{width:-webkit-max-content;width:-moz-max-content;width:max-content;}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f10ra9hq{padding-top:4px;}", ".f8wuabp{padding-right:4px;}", ".fycuoez{padding-left:4px;}", ".f1y2xyjm{padding-bottom:4px;}", ".f5ogflp{border-top-width:1px;}", ".f1hqa2wf{border-right-width:1px;}", ".finvdd3{border-left-width:1px;}", ".f1f09k3d{border-bottom-width:1px;}", ".fzkkow9{border-top-style:solid;}", ".fcdblym{border-right-style:solid;}", ".fjik90z{border-left-style:solid;}", ".fg706s2{border-bottom-style:solid;}", ".fghlq4f{border-top-color:var(--colorTransparentStroke);}", ".f1gn591s{border-right-color:var(--colorTransparentStroke);}", ".fjscplz{border-left-color:var(--colorTransparentStroke);}", ".fb073pr{border-bottom-color:var(--colorTransparentStroke);}"]
|
39
42
|
});
|
40
43
|
/**
|
41
44
|
* Apply styling to the Menu slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
|
1
|
+
{"version":3,"sources":["../../../src/components/MenuPopover/useMenuPopoverStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAGa,OAAA,CAAA,oBAAA,GAAuB,iBAAvB;;AAEb,MAAM,SAAS,gBAAG,mBAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AAaA;;AAEG;;;AACI,MAAM,oBAAoB,GAAI,KAAD,IAA8C;AAChF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CAAa,OAAA,CAAA,oBAAb,EAAmC,MAAM,CAAC,IAA1C,EAAgD,KAAK,CAAC,IAAN,CAAW,SAA3D,CAAvB;AACA,SAAO,KAAP;AACD,CAJM;;AAAM,OAAA,CAAA,oBAAA,GAAoB,oBAApB","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-menu",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightlyd3bf09bf8120211201.1",
|
4
4
|
"description": "Fluent UI menu component",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
"license": "MIT",
|
14
14
|
"scripts": {
|
15
15
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
16
|
-
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-menu/src && yarn docs",
|
16
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-menu/src && yarn docs",
|
17
17
|
"build": "just-scripts build",
|
18
18
|
"bundle-size": "bundle-size measure",
|
19
19
|
"clean": "just-scripts clean",
|
@@ -23,14 +23,15 @@
|
|
23
23
|
"lint": "just-scripts lint",
|
24
24
|
"start": "yarn storybook",
|
25
25
|
"storybook": "start-storybook",
|
26
|
-
"test": "jest"
|
26
|
+
"test": "jest",
|
27
|
+
"type-check": "tsc -b tsconfig.json"
|
27
28
|
},
|
28
29
|
"devDependencies": {
|
29
|
-
"@fluentui/babel-make-styles": "0.0.0-
|
30
|
+
"@fluentui/babel-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
|
30
31
|
"@fluentui/eslint-plugin": "*",
|
31
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
|
32
33
|
"@fluentui/react-conformance": "*",
|
33
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlyd3bf09bf8120211201.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,15 +45,15 @@
|
|
44
45
|
"react-test-renderer": "^16.3.0"
|
45
46
|
},
|
46
47
|
"dependencies": {
|
47
|
-
"@fluentui/keyboard-keys": "0.0.0-
|
48
|
-
"@fluentui/react-context-selector": "0.0.0-
|
49
|
-
"@fluentui/react-icons": "^
|
50
|
-
"@fluentui/react-make-styles": "0.0.0-
|
51
|
-
"@fluentui/react-portal": "0.0.0-
|
52
|
-
"@fluentui/react-positioning": "0.0.0-
|
53
|
-
"@fluentui/react-shared-contexts": "0.0.0-
|
54
|
-
"@fluentui/react-tabster": "0.0.0-
|
55
|
-
"@fluentui/react-utilities": "0.0.0-
|
48
|
+
"@fluentui/keyboard-keys": "0.0.0-nightlyd3bf09bf8120211201.1",
|
49
|
+
"@fluentui/react-context-selector": "0.0.0-nightlyd3bf09bf8120211201.1",
|
50
|
+
"@fluentui/react-icons": "^2.0.152-beta.3",
|
51
|
+
"@fluentui/react-make-styles": "0.0.0-nightlyd3bf09bf8120211201.1",
|
52
|
+
"@fluentui/react-portal": "0.0.0-nightlyd3bf09bf8120211201.1",
|
53
|
+
"@fluentui/react-positioning": "0.0.0-nightlyd3bf09bf8120211201.1",
|
54
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightlyd3bf09bf8120211201.1",
|
55
|
+
"@fluentui/react-tabster": "0.0.0-nightlyd3bf09bf8120211201.1",
|
56
|
+
"@fluentui/react-utilities": "0.0.0-nightlyd3bf09bf8120211201.1",
|
56
57
|
"tslib": "^2.1.0"
|
57
58
|
},
|
58
59
|
"peerDependencies": {
|
@@ -1,12 +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
|
-
skipAsPropTests: true,
|
8
|
-
extraTests: makeStylesTests
|
9
|
-
};
|
10
|
-
baseIsConformant(defaultOptions, testInfo);
|
11
|
-
}
|
12
|
-
//# 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,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE;AAJ+C,GAA7D;AAOA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { MenuContextValue } from '../contexts/menuContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the useMenuContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Menu context values to set for testing
|
6
|
-
*/
|
7
|
-
export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import { useMenuContext } from '../contexts/menuContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the useMenuContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Menu context values to set for testing
|
6
|
-
*/
|
7
|
-
|
8
|
-
export const mockUseMenuContext = (options = {}) => {
|
9
|
-
const mockContext = {
|
10
|
-
open: false,
|
11
|
-
setOpen: () => null,
|
12
|
-
triggerRef: {
|
13
|
-
current: null
|
14
|
-
},
|
15
|
-
menuPopoverRef: {
|
16
|
-
current: null
|
17
|
-
},
|
18
|
-
openOnContext: false,
|
19
|
-
openOnHover: false,
|
20
|
-
isSubmenu: false,
|
21
|
-
triggerId: 'id',
|
22
|
-
...options
|
23
|
-
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
24
|
-
|
25
|
-
useMenuContext.mockImplementation(selector => {
|
26
|
-
return selector(mockContext);
|
27
|
-
});
|
28
|
-
};
|
29
|
-
//# sourceMappingURL=mockUseMenuContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":"AACA,SAAS,cAAT,QAA+B,yBAA/B;AAGA;;;;AAIG;;AACH,OAAO,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,cAA4B,CAAC,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM","sourceRoot":""}
|
@@ -1,23 +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
|
-
skipAsPropTests: true,
|
17
|
-
extraTests: react_conformance_make_styles_1.default
|
18
|
-
};
|
19
|
-
react_conformance_1.isConformant(defaultOptions, testInfo);
|
20
|
-
}
|
21
|
-
|
22
|
-
exports.isConformant = isConformant;
|
23
|
-
//# 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,eAAe,EAAE,IAH0C;AAI3D,IAAA,UAAU,EAAE,+BAAA,CAAA;AAJ+C,GAA7D;AAOA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAXD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { MenuContextValue } from '../contexts/menuContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the useMenuContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Menu context values to set for testing
|
6
|
-
*/
|
7
|
-
export declare const mockUseMenuContext: (options?: Partial<MenuContextValue>) => void;
|
@@ -1,39 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.mockUseMenuContext = void 0;
|
7
|
-
|
8
|
-
const menuContext_1 = /*#__PURE__*/require("../contexts/menuContext");
|
9
|
-
/**
|
10
|
-
* A test utility to mock the useMenuContext hook that relies on context selector
|
11
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
12
|
-
* @param options Menu context values to set for testing
|
13
|
-
*/
|
14
|
-
|
15
|
-
|
16
|
-
const mockUseMenuContext = (options = {}) => {
|
17
|
-
const mockContext = {
|
18
|
-
open: false,
|
19
|
-
setOpen: () => null,
|
20
|
-
triggerRef: {
|
21
|
-
current: null
|
22
|
-
},
|
23
|
-
menuPopoverRef: {
|
24
|
-
current: null
|
25
|
-
},
|
26
|
-
openOnContext: false,
|
27
|
-
openOnHover: false,
|
28
|
-
isSubmenu: false,
|
29
|
-
triggerId: 'id',
|
30
|
-
...options
|
31
|
-
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
32
|
-
|
33
|
-
menuContext_1.useMenuContext.mockImplementation(selector => {
|
34
|
-
return selector(mockContext);
|
35
|
-
});
|
36
|
-
};
|
37
|
-
|
38
|
-
exports.mockUseMenuContext = mockUseMenuContext;
|
39
|
-
//# sourceMappingURL=mockUseMenuContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/common/mockUseMenuContext.ts"],"names":[],"mappings":";;;;;;;AACA,MAAA,aAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAqC,EAAtC,KAA4C;AAC5E,QAAM,WAAW,GAAqB;AACpC,IAAA,IAAI,EAAE,KAD8B;AAEpC,IAAA,OAAO,EAAE,MAAM,IAFqB;AAGpC,IAAA,UAAU,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAHuB;AAIpC,IAAA,cAAc,EAAG;AAAE,MAAA,OAAO,EAAE;AAAX,KAJmB;AAKpC,IAAA,aAAa,EAAE,KALqB;AAMpC,IAAA,WAAW,EAAE,KANuB;AAOpC,IAAA,SAAS,EAAE,KAPyB;AAQpC,IAAA,SAAS,EAAE,IARyB;AASpC,OAAG;AATiC,GAAtC,CAD4E,CAY5E;;AACC,EAAA,aAAA,CAAA,cAAA,CAA6B,kBAA7B,CAAiD,QAAD,IAAiD;AAChG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
|