@fluentui/react-popover 0.0.0-nightly627ad67f1120211109.1 → 0.0.0-nightly99adff5a9a20211125.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +117 -34
- package/CHANGELOG.md +33 -15
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js +10 -3
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js +11 -3
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/package.json +13 -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/common/mockUsePopoverContext.d.ts +0 -7
- package/lib/common/mockUsePopoverContext.js +0 -31
- package/lib/common/mockUsePopoverContext.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
- package/lib-commonjs/common/mockUsePopoverContext.d.ts +0 -7
- package/lib-commonjs/common/mockUsePopoverContext.js +0 -41
- package/lib-commonjs/common/mockUsePopoverContext.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,108 @@
|
|
2
2
|
"name": "@fluentui/react-popover",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-popover_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Thu, 25 Nov 2021 04:13:55 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v0.0.0-nightly99adff5a9a20211125.1",
|
7
|
+
"version": "0.0.0-nightly99adff5a9a20211125.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
|
-
"author": "
|
11
|
+
"author": "lingfangao@hotmail.com",
|
12
|
+
"package": "@fluentui/react-popover",
|
13
|
+
"commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
|
14
|
+
"comment": "Add transparent outline to arrow for HC"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-popover",
|
19
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly99adff5a9a20211125.1",
|
20
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-popover",
|
25
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly99adff5a9a20211125.1",
|
26
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-popover",
|
31
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightly99adff5a9a20211125.1",
|
32
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-popover",
|
37
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightly99adff5a9a20211125.1",
|
38
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-popover",
|
43
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly99adff5a9a20211125.1",
|
44
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-popover",
|
49
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightly99adff5a9a20211125.1",
|
50
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-popover",
|
55
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightly99adff5a9a20211125.1",
|
56
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-popover",
|
61
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly99adff5a9a20211125.1",
|
62
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
12
66
|
"package": "@fluentui/react-popover",
|
13
|
-
"
|
14
|
-
"
|
67
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly99adff5a9a20211125.1",
|
68
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
15
69
|
},
|
70
|
+
{
|
71
|
+
"author": "beachball",
|
72
|
+
"package": "@fluentui/react-popover",
|
73
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly99adff5a9a20211125.1",
|
74
|
+
"commit": "82edadbaa0875da8b96295c6b41be3e0b2728832"
|
75
|
+
}
|
76
|
+
],
|
77
|
+
"none": [
|
78
|
+
{
|
79
|
+
"author": "lingfangao@hotmail.com",
|
80
|
+
"package": "@fluentui/react-popover",
|
81
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
82
|
+
"comment": "Migrate package to use solution tsconfigs"
|
83
|
+
}
|
84
|
+
]
|
85
|
+
}
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"date": "Fri, 12 Nov 2021 13:25:28 GMT",
|
89
|
+
"tag": "@fluentui/react-popover_v9.0.0-beta.4",
|
90
|
+
"version": "9.0.0-beta.4",
|
91
|
+
"comments": {
|
92
|
+
"none": [
|
93
|
+
{
|
94
|
+
"author": "mgodbolt@microsoft.com",
|
95
|
+
"package": "@fluentui/react-popover",
|
96
|
+
"commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
|
97
|
+
"comment": "update docs descriptions"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"author": "lingfangao@hotmail.com",
|
101
|
+
"package": "@fluentui/react-popover",
|
102
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
103
|
+
"comment": "Remove beta release tag"
|
104
|
+
}
|
105
|
+
],
|
106
|
+
"prerelease": [
|
16
107
|
{
|
17
108
|
"author": "gcox@microsoft.com",
|
18
109
|
"package": "@fluentui/react-popover",
|
@@ -34,70 +125,62 @@
|
|
34
125
|
{
|
35
126
|
"author": "beachball",
|
36
127
|
"package": "@fluentui/react-popover",
|
37
|
-
"comment": "Bump @fluentui/react-context-selector to
|
38
|
-
"commit": "
|
128
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.3",
|
129
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
39
130
|
},
|
40
131
|
{
|
41
132
|
"author": "beachball",
|
42
133
|
"package": "@fluentui/react-popover",
|
43
|
-
"comment": "Bump @fluentui/react-make-styles to
|
44
|
-
"commit": "
|
134
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
135
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
45
136
|
},
|
46
137
|
{
|
47
138
|
"author": "beachball",
|
48
139
|
"package": "@fluentui/react-popover",
|
49
|
-
"comment": "Bump @fluentui/react-portal to
|
50
|
-
"commit": "
|
140
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.4",
|
141
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
51
142
|
},
|
52
143
|
{
|
53
144
|
"author": "beachball",
|
54
145
|
"package": "@fluentui/react-popover",
|
55
|
-
"comment": "Bump @fluentui/react-positioning to
|
56
|
-
"commit": "
|
146
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.3",
|
147
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
57
148
|
},
|
58
149
|
{
|
59
150
|
"author": "beachball",
|
60
151
|
"package": "@fluentui/react-popover",
|
61
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
62
|
-
"commit": "
|
152
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
153
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
63
154
|
},
|
64
155
|
{
|
65
156
|
"author": "beachball",
|
66
157
|
"package": "@fluentui/react-popover",
|
67
|
-
"comment": "Bump @fluentui/react-tabster to
|
68
|
-
"commit": "
|
158
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
159
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
69
160
|
},
|
70
161
|
{
|
71
162
|
"author": "beachball",
|
72
163
|
"package": "@fluentui/react-popover",
|
73
|
-
"comment": "Bump @fluentui/react-utilities to
|
74
|
-
"commit": "
|
164
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
165
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
75
166
|
},
|
76
167
|
{
|
77
168
|
"author": "beachball",
|
78
169
|
"package": "@fluentui/react-popover",
|
79
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
80
|
-
"commit": "
|
170
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
171
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
81
172
|
},
|
82
173
|
{
|
83
174
|
"author": "beachball",
|
84
175
|
"package": "@fluentui/react-popover",
|
85
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
86
|
-
"commit": "
|
176
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
177
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
87
178
|
},
|
88
179
|
{
|
89
180
|
"author": "beachball",
|
90
181
|
"package": "@fluentui/react-popover",
|
91
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
92
|
-
"commit": "
|
93
|
-
}
|
94
|
-
],
|
95
|
-
"none": [
|
96
|
-
{
|
97
|
-
"author": "mgodbolt@microsoft.com",
|
98
|
-
"package": "@fluentui/react-popover",
|
99
|
-
"commit": "7fafe76eb2c09f9d17a03c11ba73729d91ef411e",
|
100
|
-
"comment": "update docs descriptions"
|
182
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
183
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
101
184
|
}
|
102
185
|
]
|
103
186
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,30 +1,48 @@
|
|
1
1
|
# Change Log - @fluentui/react-popover
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 25 Nov 2021 04:13:55 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightly99adff5a9a20211125.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly99adff5a9a20211125.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.
|
9
|
+
Thu, 25 Nov 2021 04:13:55 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.4..@fluentui/react-popover_v0.0.0-nightly99adff5a9a20211125.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
15
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
16
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
17
|
+
- Bump @fluentui/react-portal to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
18
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
19
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
20
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
21
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
22
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
23
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
24
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly99adff5a9a20211125.1 ([commit](https://github.com/microsoft/fluentui/commit/82edadbaa0875da8b96295c6b41be3e0b2728832) by beachball)
|
25
|
+
|
26
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.4)
|
27
|
+
|
28
|
+
Fri, 12 Nov 2021 13:25:28 GMT
|
29
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.3..@fluentui/react-popover_v9.0.0-beta.4)
|
11
30
|
|
12
31
|
### Changes
|
13
32
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/5e2f04f4741a9e3b98463480f9c1926ea2006337) by email not defined)
|
15
33
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
16
34
|
- fix(Popover): use `dialog` as value for `aria-haspopup` for focus trap ([PR #20494](https://github.com/microsoft/fluentui/pull/20494) by lingfangao@hotmail.com)
|
17
35
|
- export static classes for components ([PR #20450](https://github.com/microsoft/fluentui/pull/20450) by olfedias@microsoft.com)
|
18
|
-
- Bump @fluentui/react-context-selector to
|
19
|
-
- Bump @fluentui/react-make-styles to
|
20
|
-
- Bump @fluentui/react-portal to
|
21
|
-
- Bump @fluentui/react-positioning to
|
22
|
-
- Bump @fluentui/react-shared-contexts to
|
23
|
-
- Bump @fluentui/react-tabster to
|
24
|
-
- Bump @fluentui/react-utilities to
|
25
|
-
- Bump @fluentui/babel-make-styles to
|
26
|
-
- Bump @fluentui/jest-serializer-make-styles to
|
27
|
-
- Bump @fluentui/react-conformance-make-styles to
|
36
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
37
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
38
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
39
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
40
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
41
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
42
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
43
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
44
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
45
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
28
46
|
|
29
47
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.3)
|
30
48
|
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import { __styles, mergeClasses } from '@fluentui/react-make-styles';
|
2
|
+
import { createArrowStyles } from '@fluentui/react-positioning';
|
2
3
|
export const popoverSurfaceClassName = 'fui-PopoverSurface';
|
3
4
|
export const arrowHeights = {
|
4
5
|
small: 6,
|
@@ -12,7 +13,7 @@ export const arrowHeights = {
|
|
12
13
|
const useStyles = /*#__PURE__*/__styles({
|
13
14
|
"root": {
|
14
15
|
"De3pzq": "fxugw4r",
|
15
|
-
"E5pizo":
|
16
|
+
"E5pizo": "f1hg901r",
|
16
17
|
"Dimara": "ff3glw6",
|
17
18
|
"B4j52fo": "f5ogflp",
|
18
19
|
"Bekrc4i": ["f1hqa2wf", "finvdd3"],
|
@@ -74,7 +75,13 @@ const useStyles = /*#__PURE__*/__styles({
|
|
74
75
|
"B4zgs9e": "ffo048g",
|
75
76
|
"Bex5imi": "fkk33zh",
|
76
77
|
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
77
|
-
"h6z6rw":
|
78
|
+
"h6z6rw": "fzd2j21",
|
79
|
+
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
80
|
+
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
81
|
+
"Blxsnla": ["f1wv7y6t", "fi4qyh6"],
|
82
|
+
"t2scew": "fcvru7r",
|
83
|
+
"Emsed9": "f7ybgnc",
|
84
|
+
"E11wbp": "f16xtfle",
|
78
85
|
"hl6cv3": "fotnskf",
|
79
86
|
"Bh2vraf": "f1n8855c",
|
80
87
|
"yayu3t": ["f1nq055x", "f13ohf3"],
|
@@ -85,7 +92,7 @@ const useStyles = /*#__PURE__*/__styles({
|
|
85
92
|
"Bwwlvwl": "fm1ycve"
|
86
93
|
}
|
87
94
|
}, {
|
88
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".
|
95
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".ff3glw6{border-radius: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);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1smug5u{width:8.485281374238571px;}", ".f11ci07v{height:8.485281374238571px;}", ".ftmg478{width:11.313708498984761px;}", ".f7bsbfx{height:11.313708498984761px;}", ".f1euv43f{position:absolute;}", ".f1uo6wrk{background:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".f1qudtws:before{border-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".ffo048g:before{background:inherit;}", ".fkk33zh:before{visibility:visible;}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement] .feexxpo:before{border-right-width:1px;}", "[data-popper-placement] .f7s5fvx:before{border-left-width:1px;}", "[data-popper-placement] .f1jq8eg5:before{border-right-style:solid;}", "[data-popper-placement] .f12n7c5j:before{border-left-style:solid;}", "[data-popper-placement] .f1wv7y6t:before{border-right-color:transparent;}", "[data-popper-placement] .fi4qyh6:before{border-left-color:transparent;}", "[data-popper-placement] .fcvru7r:before{border-bottom-width:1px;}", "[data-popper-placement] .f7ybgnc:before{border-bottom-style:solid;}", "[data-popper-placement] .f16xtfle:before{border-bottom-color:transparent;}", "[data-popper-placement^=\"top\"] .fotnskf{bottom:0;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1nq055x{left:0;}", "[data-popper-placement^=\"right\"] .f13ohf3{right:0;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .ftghsr9{top:0;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f1l8vbt4{right:0;}", "[data-popper-placement^=\"left\"] .fsxzh25{left:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
89
96
|
});
|
90
97
|
/**
|
91
98
|
* Apply styling to the PopoverSurface slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AAIA,OAAO,MAAM,uBAAuB,GAAG,oBAAhC;AAEP,OAAO,MAAM,YAAY,GAAgC;AACvD,EAAA,KAAK,EAAE,CADgD;AAEvD,EAAA,MAAM,EAAE,CAF+C;AAGvD,EAAA,KAAK,EAAE;AAHgD,CAAlD;AAMP;;AAEG;;AACH,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;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":"AAAA,mBAAqB,YAArB,QAAyC,6BAAzC;AACA,SAAS,iBAAT,QAAkC,6BAAlC;AAIA,OAAO,MAAM,uBAAuB,GAAG,oBAAhC;AAEP,OAAO,MAAM,YAAY,GAAgC;AACvD,EAAA,KAAK,EAAE,CADgD;AAEvD,EAAA,MAAM,EAAE,CAF+C;AAGvD,EAAA,KAAK,EAAE;AAHgD,CAAlD;AAMP;;AAEG;;AACH,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;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AA6CA;;AAEG;;;AACH,OAAO,MAAM,uBAAuB,GAAI,KAAD,IAAoD;AACzF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,YAAY,CACjC,uBADiC,EAEjC,MAAM,CAAC,IAF0B,EAGjC,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,MAAM,CAAC,YAHA,EAIjC,KAAK,CAAC,IAAN,KAAe,QAAf,IAA2B,MAAM,CAAC,aAJD,EAKjC,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,MAAM,CAAC,YALA,EAMjC,KAAK,CAAC,UAAN,KAAqB,UAArB,IAAmC,MAAM,CAAC,QANT,EAOjC,KAAK,CAAC,UAAN,KAAqB,OAArB,IAAgC,MAAM,CAAC,KAPN,EAQjC,KAAK,CAAC,IAAN,CAAW,SARsB,CAAnC;AAWA,EAAA,KAAK,CAAC,cAAN,GAAuB,YAAY,CACjC,MAAM,CAAC,KAD0B,EAEjC,KAAK,CAAC,IAAN,KAAe,OAAf,GAAyB,MAAM,CAAC,UAAhC,GAA6C,MAAM,CAAC,gBAFnB,CAAnC;AAKA,SAAO,KAAP;AACD,CAnBM","sourceRoot":""}
|
@@ -7,6 +7,8 @@ exports.usePopoverSurfaceStyles = exports.arrowHeights = exports.popoverSurfaceC
|
|
7
7
|
|
8
8
|
const react_make_styles_1 = /*#__PURE__*/require("@fluentui/react-make-styles");
|
9
9
|
|
10
|
+
const react_positioning_1 = /*#__PURE__*/require("@fluentui/react-positioning");
|
11
|
+
|
10
12
|
exports.popoverSurfaceClassName = 'fui-PopoverSurface';
|
11
13
|
exports.arrowHeights = {
|
12
14
|
small: 6,
|
@@ -20,7 +22,7 @@ exports.arrowHeights = {
|
|
20
22
|
const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
21
23
|
"root": {
|
22
24
|
"De3pzq": "fxugw4r",
|
23
|
-
"E5pizo":
|
25
|
+
"E5pizo": "f1hg901r",
|
24
26
|
"Dimara": "ff3glw6",
|
25
27
|
"B4j52fo": "f5ogflp",
|
26
28
|
"Bekrc4i": ["f1hqa2wf", "finvdd3"],
|
@@ -82,7 +84,13 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
82
84
|
"B4zgs9e": "ffo048g",
|
83
85
|
"Bex5imi": "fkk33zh",
|
84
86
|
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
85
|
-
"h6z6rw":
|
87
|
+
"h6z6rw": "fzd2j21",
|
88
|
+
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
89
|
+
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
90
|
+
"Blxsnla": ["f1wv7y6t", "fi4qyh6"],
|
91
|
+
"t2scew": "fcvru7r",
|
92
|
+
"Emsed9": "f7ybgnc",
|
93
|
+
"E11wbp": "f16xtfle",
|
86
94
|
"hl6cv3": "fotnskf",
|
87
95
|
"Bh2vraf": "f1n8855c",
|
88
96
|
"yayu3t": ["f1nq055x", "f13ohf3"],
|
@@ -93,7 +101,7 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
93
101
|
"Bwwlvwl": "fm1ycve"
|
94
102
|
}
|
95
103
|
}, {
|
96
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".
|
104
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".ff3glw6{border-radius: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);}", ".f1c73kur{background-color:var(--colorNeutralForeground1);}", ".fqpbvvt{color:var(--colorNeutralForegroundInverted);}", ".ffp7eso{background-color:var(--colorBrandBackground);}", ".f1kcqot9{padding-top:12px;}", ".f11qrl6u{padding-right:12px;}", ".fjlbh76{padding-left:12px;}", ".fpe6lb7{padding-bottom:12px;}", ".fqag9an{padding-top:16px;}", ".f1gbmcue{padding-right:16px;}", ".f1rh9g5y{padding-left:16px;}", ".fp67ikv{padding-bottom:16px;}", ".fc7z3ec{padding-top:20px;}", ".fat0sn4{padding-right:20px;}", ".fekwl8i{padding-left:20px;}", ".fe2my4m{padding-bottom:20px;}", ".f1smug5u{width:8.485281374238571px;}", ".f11ci07v{height:8.485281374238571px;}", ".ftmg478{width:11.313708498984761px;}", ".f7bsbfx{height:11.313708498984761px;}", ".f1euv43f{position:absolute;}", ".f1uo6wrk{background:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".f1qudtws:before{border-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".ffo048g:before{background:inherit;}", ".fkk33zh:before{visibility:visible;}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fzd2j21:before{-webkit-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-moz-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);-ms-transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);transform:rotate(var(--angle)) translate(0, 50%) rotate(45deg);}", "[data-popper-placement] .feexxpo:before{border-right-width:1px;}", "[data-popper-placement] .f7s5fvx:before{border-left-width:1px;}", "[data-popper-placement] .f1jq8eg5:before{border-right-style:solid;}", "[data-popper-placement] .f12n7c5j:before{border-left-style:solid;}", "[data-popper-placement] .f1wv7y6t:before{border-right-color:transparent;}", "[data-popper-placement] .fi4qyh6:before{border-left-color:transparent;}", "[data-popper-placement] .fcvru7r:before{border-bottom-width:1px;}", "[data-popper-placement] .f7ybgnc:before{border-bottom-style:solid;}", "[data-popper-placement] .f16xtfle:before{border-bottom-color:transparent;}", "[data-popper-placement^=\"top\"] .fotnskf{bottom:0;}", "[data-popper-placement^=\"top\"] .f1n8855c{--angle:0;}", "[data-popper-placement^=\"right\"] .f1nq055x{left:0;}", "[data-popper-placement^=\"right\"] .f13ohf3{right:0;}", "[data-popper-placement^=\"right\"] .fsw6im5{--angle:90deg;}", "[data-popper-placement^=\"bottom\"] .ftghsr9{top:0;}", "[data-popper-placement^=\"bottom\"] .f159pzir{--angle:180deg;}", "[data-popper-placement^=\"left\"] .f1l8vbt4{right:0;}", "[data-popper-placement^=\"left\"] .fsxzh25{left:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
97
105
|
});
|
98
106
|
/**
|
99
107
|
* Apply styling to the PopoverSurface slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAIa,OAAA,CAAA,uBAAA,GAA0B,oBAA1B;AAEA,OAAA,CAAA,YAAA,GAA4C;AACvD,EAAA,KAAK,EAAE,CADgD;AAEvD,EAAA,MAAM,EAAE,CAF+C;AAGvD,EAAA,KAAK,EAAE;AAHgD,CAA5C;AAMb;;AAEG;;AACH,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;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AACA,MAAA,mBAAA,gBAAA,OAAA,CAAA,6BAAA,CAAA;;AAIa,OAAA,CAAA,uBAAA,GAA0B,oBAA1B;AAEA,OAAA,CAAA,YAAA,GAA4C;AACvD,EAAA,KAAK,EAAE,CADgD;AAEvD,EAAA,MAAM,EAAE,CAF+C;AAGvD,EAAA,KAAK,EAAE;AAHgD,CAA5C;AAMb;;AAEG;;AACH,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;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAAlB;AA6CA;;AAEG;;;AACI,MAAM,uBAAuB,GAAI,KAAD,IAAoD;AACzF,QAAM,MAAM,GAAG,SAAS,EAAxB;AACA,EAAA,KAAK,CAAC,IAAN,CAAW,SAAX,GAAuB,mBAAA,CAAA,YAAA,CACrB,OAAA,CAAA,uBADqB,EAErB,MAAM,CAAC,IAFc,EAGrB,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,MAAM,CAAC,YAHZ,EAIrB,KAAK,CAAC,IAAN,KAAe,QAAf,IAA2B,MAAM,CAAC,aAJb,EAKrB,KAAK,CAAC,IAAN,KAAe,OAAf,IAA0B,MAAM,CAAC,YALZ,EAMrB,KAAK,CAAC,UAAN,KAAqB,UAArB,IAAmC,MAAM,CAAC,QANrB,EAOrB,KAAK,CAAC,UAAN,KAAqB,OAArB,IAAgC,MAAM,CAAC,KAPlB,EAQrB,KAAK,CAAC,IAAN,CAAW,SARU,CAAvB;AAWA,EAAA,KAAK,CAAC,cAAN,GAAuB,mBAAA,CAAA,YAAA,CACrB,MAAM,CAAC,KADc,EAErB,KAAK,CAAC,IAAN,KAAe,OAAf,GAAyB,MAAM,CAAC,UAAhC,GAA6C,MAAM,CAAC,gBAF/B,CAAvB;AAKA,SAAO,KAAP;AACD,CAnBM;;AAAM,OAAA,CAAA,uBAAA,GAAuB,uBAAvB","sourceRoot":""}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-popover",
|
3
|
-
"version": "0.0.0-
|
3
|
+
"version": "0.0.0-nightly99adff5a9a20211125.1",
|
4
4
|
"description": "Popover component for Fluent UI",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -23,14 +23,15 @@
|
|
23
23
|
"storybook": "start-storybook",
|
24
24
|
"test": "jest",
|
25
25
|
"docs": "api-extractor run --config=config/api-extractor.local.json --local",
|
26
|
-
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-popover/src && yarn docs"
|
26
|
+
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-popover/src && yarn docs",
|
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-nightly99adff5a9a20211125.1",
|
30
31
|
"@fluentui/eslint-plugin": "*",
|
31
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightly99adff5a9a20211125.1",
|
32
33
|
"@fluentui/react-conformance": "*",
|
33
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightly99adff5a9a20211125.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,13 +45,13 @@
|
|
44
45
|
"react-test-renderer": "^16.3.0"
|
45
46
|
},
|
46
47
|
"dependencies": {
|
47
|
-
"@fluentui/react-context-selector": "0.0.0-
|
48
|
-
"@fluentui/react-make-styles": "0.0.0-
|
49
|
-
"@fluentui/react-portal": "0.0.0-
|
50
|
-
"@fluentui/react-positioning": "0.0.0-
|
51
|
-
"@fluentui/react-shared-contexts": "0.0.0-
|
52
|
-
"@fluentui/react-tabster": "0.0.0-
|
53
|
-
"@fluentui/react-utilities": "0.0.0-
|
48
|
+
"@fluentui/react-context-selector": "0.0.0-nightly99adff5a9a20211125.1",
|
49
|
+
"@fluentui/react-make-styles": "0.0.0-nightly99adff5a9a20211125.1",
|
50
|
+
"@fluentui/react-portal": "0.0.0-nightly99adff5a9a20211125.1",
|
51
|
+
"@fluentui/react-positioning": "0.0.0-nightly99adff5a9a20211125.1",
|
52
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightly99adff5a9a20211125.1",
|
53
|
+
"@fluentui/react-tabster": "0.0.0-nightly99adff5a9a20211125.1",
|
54
|
+
"@fluentui/react-utilities": "0.0.0-nightly99adff5a9a20211125.1",
|
54
55
|
"tslib": "^2.1.0"
|
55
56
|
},
|
56
57
|
"peerDependencies": {
|
@@ -60,7 +61,6 @@
|
|
60
61
|
"react-dom": ">=16.8.0 <18.0.0"
|
61
62
|
},
|
62
63
|
"beachball": {
|
63
|
-
"tag": "beta",
|
64
64
|
"disallowedChangeTypes": [
|
65
65
|
"major",
|
66
66
|
"minor",
|
@@ -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
|
-
// TODO // https://github.com/microsoft/fluentui/issues/19522
|
8
|
-
skipAsPropTests: true,
|
9
|
-
extraTests: makeStylesTests
|
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;AACA,IAAA,eAAe,EAAE,IAJ0C;AAK3D,IAAA,UAAU,EAAE;AAL+C,GAA7D;AAQA,EAAA,gBAAgB,CAAC,cAAD,EAAiB,QAAjB,CAAhB;AACD","sourceRoot":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { PopoverContextValue } from '../popoverContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the usePopoverContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Popover context values to set for testing
|
6
|
-
*/
|
7
|
-
export declare const mockPopoverContext: (options?: Partial<PopoverContextValue>) => void;
|
@@ -1,31 +0,0 @@
|
|
1
|
-
import { usePopoverContext } from '../popoverContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the usePopoverContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Popover context values to set for testing
|
6
|
-
*/
|
7
|
-
|
8
|
-
export const mockPopoverContext = (options = {}) => {
|
9
|
-
const mockContext = {
|
10
|
-
open: false,
|
11
|
-
setOpen: () => null,
|
12
|
-
triggerRef: {
|
13
|
-
current: null
|
14
|
-
},
|
15
|
-
contentRef: {
|
16
|
-
current: null
|
17
|
-
},
|
18
|
-
arrowRef: {
|
19
|
-
current: null
|
20
|
-
},
|
21
|
-
openOnContext: false,
|
22
|
-
openOnHover: false,
|
23
|
-
size: 'medium',
|
24
|
-
...options
|
25
|
-
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
26
|
-
|
27
|
-
usePopoverContext.mockImplementation(selector => {
|
28
|
-
return selector(mockContext);
|
29
|
-
});
|
30
|
-
};
|
31
|
-
//# sourceMappingURL=mockUsePopoverContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/common/mockUsePopoverContext.ts"],"names":[],"mappings":"AAAA,SAAS,iBAAT,QAAkC,mBAAlC;AAGA;;;;AAIG;;AACH,OAAO,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAwC,EAAzC,KAA+C;AAC/E,QAAM,WAAW,GAAwB;AACvC,IAAA,IAAI,EAAE,KADiC;AAEvC,IAAA,OAAO,EAAE,MAAM,IAFwB;AAGvC,IAAA,UAAU,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAH2B;AAIvC,IAAA,UAAU,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAJ2B;AAKvC,IAAA,QAAQ,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAL6B;AAMvC,IAAA,aAAa,EAAE,KANwB;AAOvC,IAAA,WAAW,EAAE,KAP0B;AAQvC,IAAA,IAAI,EAAE,QARiC;AASvC,OAAG;AAToC,GAAzC,CAD+E,CAY/E;;AACC,EAAA,iBAA+B,CAAC,kBAAhC,CAAoD,QAAD,IAAoD;AACtG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM","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
|
-
// TODO // https://github.com/microsoft/fluentui/issues/19522
|
17
|
-
skipAsPropTests: true,
|
18
|
-
extraTests: react_conformance_make_styles_1.default
|
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;AACA,IAAA,eAAe,EAAE,IAJ0C;AAK3D,IAAA,UAAU,EAAE,+BAAA,CAAA;AAL+C,GAA7D;AAQA,EAAA,mBAAA,CAAA,YAAA,CAAiB,cAAjB,EAAiC,QAAjC;AACD;;AAZD,OAAA,CAAA,YAAA,GAAA,YAAA","sourceRoot":""}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import type { PopoverContextValue } from '../popoverContext';
|
2
|
-
/**
|
3
|
-
* A test utility to mock the usePopoverContext hook that relies on context selector
|
4
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
5
|
-
* @param options Popover context values to set for testing
|
6
|
-
*/
|
7
|
-
export declare const mockPopoverContext: (options?: Partial<PopoverContextValue>) => void;
|
@@ -1,41 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
4
|
-
value: true
|
5
|
-
});
|
6
|
-
exports.mockPopoverContext = void 0;
|
7
|
-
|
8
|
-
const popoverContext_1 = /*#__PURE__*/require("../popoverContext");
|
9
|
-
/**
|
10
|
-
* A test utility to mock the usePopoverContext hook that relies on context selector
|
11
|
-
* Don't forget to call `jest.mock(**\/popupContext.ts)` while using this
|
12
|
-
* @param options Popover context values to set for testing
|
13
|
-
*/
|
14
|
-
|
15
|
-
|
16
|
-
const mockPopoverContext = (options = {}) => {
|
17
|
-
const mockContext = {
|
18
|
-
open: false,
|
19
|
-
setOpen: () => null,
|
20
|
-
triggerRef: {
|
21
|
-
current: null
|
22
|
-
},
|
23
|
-
contentRef: {
|
24
|
-
current: null
|
25
|
-
},
|
26
|
-
arrowRef: {
|
27
|
-
current: null
|
28
|
-
},
|
29
|
-
openOnContext: false,
|
30
|
-
openOnHover: false,
|
31
|
-
size: 'medium',
|
32
|
-
...options
|
33
|
-
}; // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
34
|
-
|
35
|
-
popoverContext_1.usePopoverContext.mockImplementation(selector => {
|
36
|
-
return selector(mockContext);
|
37
|
-
});
|
38
|
-
};
|
39
|
-
|
40
|
-
exports.mockPopoverContext = mockPopoverContext;
|
41
|
-
//# sourceMappingURL=mockUsePopoverContext.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"sources":["../../src/common/mockUsePopoverContext.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,gBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;AAGA;;;;AAIG;;;AACI,MAAM,kBAAkB,GAAG,CAAC,OAAA,GAAwC,EAAzC,KAA+C;AAC/E,QAAM,WAAW,GAAwB;AACvC,IAAA,IAAI,EAAE,KADiC;AAEvC,IAAA,OAAO,EAAE,MAAM,IAFwB;AAGvC,IAAA,UAAU,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAH2B;AAIvC,IAAA,UAAU,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAJ2B;AAKvC,IAAA,QAAQ,EAAE;AAAE,MAAA,OAAO,EAAE;AAAX,KAL6B;AAMvC,IAAA,aAAa,EAAE,KANwB;AAOvC,IAAA,WAAW,EAAE,KAP0B;AAQvC,IAAA,IAAI,EAAE,QARiC;AASvC,OAAG;AAToC,GAAzC,CAD+E,CAY/E;;AACC,EAAA,gBAAA,CAAA,iBAAA,CAAgC,kBAAhC,CAAoD,QAAD,IAAoD;AACtG,WAAO,QAAQ,CAAC,WAAD,CAAf;AACD,GAFA;AAGF,CAhBM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourceRoot":""}
|