@fluentui/react-popover 0.0.0-nightly8faa94d11420211118.1 → 0.0.0-nightlya0ab3454ed20211208.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.json +107 -24
- package/CHANGELOG.md +34 -15
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js +14 -9
- package/lib/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js +13 -8
- package/lib-commonjs/components/PopoverSurface/usePopoverSurfaceStyles.js.map +1 -1
- package/package.json +13 -12
- 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,92 @@
|
|
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": "Wed, 08 Dec 2021 04:18:24 GMT",
|
6
|
+
"tag": "@fluentui/react-popover_v0.0.0-nightlya0ab3454ed20211208.1",
|
7
|
+
"version": "0.0.0-nightlya0ab3454ed20211208.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-popover",
|
13
|
-
"commit": "
|
13
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-popover",
|
19
|
+
"commit": "ec0e785df9c70a2202dc5cc3cb4001d1ee635124",
|
20
|
+
"comment": "update styles to not use CSS shorthands"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-popover",
|
25
|
+
"comment": "Bump @fluentui/react-context-selector to v0.0.0-nightlya0ab3454ed20211208.1",
|
26
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-popover",
|
31
|
+
"comment": "Bump @fluentui/react-make-styles to v0.0.0-nightlya0ab3454ed20211208.1",
|
32
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-popover",
|
37
|
+
"comment": "Bump @fluentui/react-portal to v0.0.0-nightlya0ab3454ed20211208.1",
|
38
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-popover",
|
43
|
+
"comment": "Bump @fluentui/react-positioning to v0.0.0-nightlya0ab3454ed20211208.1",
|
44
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"author": "beachball",
|
48
|
+
"package": "@fluentui/react-popover",
|
49
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlya0ab3454ed20211208.1",
|
50
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
51
|
+
},
|
52
|
+
{
|
53
|
+
"author": "beachball",
|
54
|
+
"package": "@fluentui/react-popover",
|
55
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlya0ab3454ed20211208.1",
|
56
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-popover",
|
61
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlya0ab3454ed20211208.1",
|
62
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"author": "beachball",
|
66
|
+
"package": "@fluentui/react-popover",
|
67
|
+
"comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightlya0ab3454ed20211208.1",
|
68
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
69
|
+
},
|
70
|
+
{
|
71
|
+
"author": "beachball",
|
72
|
+
"package": "@fluentui/react-popover",
|
73
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlya0ab3454ed20211208.1",
|
74
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"author": "beachball",
|
78
|
+
"package": "@fluentui/react-popover",
|
79
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlya0ab3454ed20211208.1",
|
80
|
+
"commit": "bb962fc41a7769ab102b88c7cc76973034ede2d1"
|
81
|
+
}
|
82
|
+
]
|
83
|
+
}
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"date": "Thu, 25 Nov 2021 08:34:15 GMT",
|
87
|
+
"tag": "@fluentui/react-popover_v9.0.0-beta.5",
|
88
|
+
"version": "9.0.0-beta.5",
|
89
|
+
"comments": {
|
90
|
+
"prerelease": [
|
16
91
|
{
|
17
92
|
"author": "lingfangao@hotmail.com",
|
18
93
|
"package": "@fluentui/react-popover",
|
@@ -22,62 +97,70 @@
|
|
22
97
|
{
|
23
98
|
"author": "beachball",
|
24
99
|
"package": "@fluentui/react-popover",
|
25
|
-
"comment": "Bump @fluentui/react-context-selector to
|
26
|
-
"commit": "
|
100
|
+
"comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
|
101
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
27
102
|
},
|
28
103
|
{
|
29
104
|
"author": "beachball",
|
30
105
|
"package": "@fluentui/react-popover",
|
31
|
-
"comment": "Bump @fluentui/react-make-styles to
|
32
|
-
"commit": "
|
106
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
107
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
33
108
|
},
|
34
109
|
{
|
35
110
|
"author": "beachball",
|
36
111
|
"package": "@fluentui/react-popover",
|
37
|
-
"comment": "Bump @fluentui/react-portal to
|
38
|
-
"commit": "
|
112
|
+
"comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
|
113
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
39
114
|
},
|
40
115
|
{
|
41
116
|
"author": "beachball",
|
42
117
|
"package": "@fluentui/react-popover",
|
43
|
-
"comment": "Bump @fluentui/react-positioning to
|
44
|
-
"commit": "
|
118
|
+
"comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
|
119
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
45
120
|
},
|
46
121
|
{
|
47
122
|
"author": "beachball",
|
48
123
|
"package": "@fluentui/react-popover",
|
49
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
50
|
-
"commit": "
|
124
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
125
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
51
126
|
},
|
52
127
|
{
|
53
128
|
"author": "beachball",
|
54
129
|
"package": "@fluentui/react-popover",
|
55
|
-
"comment": "Bump @fluentui/react-tabster to
|
56
|
-
"commit": "
|
130
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
131
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
57
132
|
},
|
58
133
|
{
|
59
134
|
"author": "beachball",
|
60
135
|
"package": "@fluentui/react-popover",
|
61
|
-
"comment": "Bump @fluentui/react-utilities to
|
62
|
-
"commit": "
|
136
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
137
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
63
138
|
},
|
64
139
|
{
|
65
140
|
"author": "beachball",
|
66
141
|
"package": "@fluentui/react-popover",
|
67
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
68
|
-
"commit": "
|
142
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
143
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
69
144
|
},
|
70
145
|
{
|
71
146
|
"author": "beachball",
|
72
147
|
"package": "@fluentui/react-popover",
|
73
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
74
|
-
"commit": "
|
148
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
149
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
75
150
|
},
|
76
151
|
{
|
77
152
|
"author": "beachball",
|
78
153
|
"package": "@fluentui/react-popover",
|
79
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
80
|
-
"commit": "
|
154
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
155
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
156
|
+
}
|
157
|
+
],
|
158
|
+
"none": [
|
159
|
+
{
|
160
|
+
"author": "lingfangao@hotmail.com",
|
161
|
+
"package": "@fluentui/react-popover",
|
162
|
+
"commit": "8a141d14f3a14de2e1c4691dad908622f310a9d1",
|
163
|
+
"comment": "Migrate package to use solution tsconfigs"
|
81
164
|
}
|
82
165
|
]
|
83
166
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,28 +1,47 @@
|
|
1
1
|
# Change Log - @fluentui/react-popover
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Wed, 08 Dec 2021 04:18:24 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlya0ab3454ed20211208.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightlya0ab3454ed20211208.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.
|
9
|
+
Wed, 08 Dec 2021 04:18:24 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.5..@fluentui/react-popover_v0.0.0-nightlya0ab3454ed20211208.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by email not defined)
|
15
|
+
- update styles to not use CSS shorthands ([PR #20796](https://github.com/microsoft/fluentui/pull/20796) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/react-context-selector to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
17
|
+
- Bump @fluentui/react-make-styles to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
18
|
+
- Bump @fluentui/react-portal to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
19
|
+
- Bump @fluentui/react-positioning to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
20
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
21
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
22
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
23
|
+
- Bump @fluentui/babel-make-styles to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
24
|
+
- Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
25
|
+
- Bump @fluentui/react-conformance-make-styles to v0.0.0-nightlya0ab3454ed20211208.1 ([commit](https://github.com/microsoft/fluentui/commit/bb962fc41a7769ab102b88c7cc76973034ede2d1) by beachball)
|
26
|
+
|
27
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.5)
|
28
|
+
|
29
|
+
Thu, 25 Nov 2021 08:34:15 GMT
|
30
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.4..@fluentui/react-popover_v9.0.0-beta.5)
|
11
31
|
|
12
32
|
### Changes
|
13
33
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/a449bd93de8007bbeb4346e285638fdfd0f25f4d) by email not defined)
|
15
34
|
- Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
|
16
|
-
- Bump @fluentui/react-context-selector to
|
17
|
-
- Bump @fluentui/react-make-styles to
|
18
|
-
- Bump @fluentui/react-portal to
|
19
|
-
- Bump @fluentui/react-positioning to
|
20
|
-
- Bump @fluentui/react-shared-contexts to
|
21
|
-
- Bump @fluentui/react-tabster to
|
22
|
-
- Bump @fluentui/react-utilities to
|
23
|
-
- Bump @fluentui/babel-make-styles to
|
24
|
-
- Bump @fluentui/jest-serializer-make-styles to
|
25
|
-
- Bump @fluentui/react-conformance-make-styles to
|
35
|
+
- Bump @fluentui/react-context-selector to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
36
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
37
|
+
- Bump @fluentui/react-portal to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
38
|
+
- Bump @fluentui/react-positioning to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
39
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
40
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
41
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
42
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
43
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
44
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
26
45
|
|
27
46
|
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.4)
|
28
47
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __styles, mergeClasses } from '@fluentui/react-make-styles';
|
1
|
+
import { shorthands, __styles, mergeClasses } from '@fluentui/react-make-styles';
|
2
2
|
import { createArrowStyles } from '@fluentui/react-positioning';
|
3
3
|
export const popoverSurfaceClassName = 'fui-PopoverSurface';
|
4
4
|
export const arrowHeights = {
|
@@ -14,7 +14,10 @@ const useStyles = /*#__PURE__*/__styles({
|
|
14
14
|
"root": {
|
15
15
|
"De3pzq": "fxugw4r",
|
16
16
|
"E5pizo": "f1hg901r",
|
17
|
-
"
|
17
|
+
"Bbmb7ep": ["fff7au0", "f1bjk9e1"],
|
18
|
+
"Beyfa6y": ["f1bjk9e1", "fff7au0"],
|
19
|
+
"B7oj6ja": ["fwsfkhu", "f8wkphi"],
|
20
|
+
"Btl43ni": ["f8wkphi", "fwsfkhu"],
|
18
21
|
"B4j52fo": "f5ogflp",
|
19
22
|
"Bekrc4i": ["f1hqa2wf", "finvdd3"],
|
20
23
|
"Bn0qgzm": "f1f09k3d",
|
@@ -64,17 +67,19 @@ const useStyles = /*#__PURE__*/__styles({
|
|
64
67
|
},
|
65
68
|
"arrow": {
|
66
69
|
"qhf8xq": "f1euv43f",
|
67
|
-
"
|
70
|
+
"De3pzq": "f1u2r49w",
|
68
71
|
"Bcdw1i0": "fd7fpy0",
|
69
72
|
"Bj3rh1h": "f1bsuimh",
|
70
73
|
"rurcny": "fuzzvh5",
|
71
|
-
"
|
74
|
+
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
75
|
+
"B5c9fhp": ["fijcjxk", "f11y671q"],
|
76
|
+
"Bhe99jt": ["f1vtdej5", "f7y375m"],
|
77
|
+
"B2r1szc": ["f7y375m", "f1vtdej5"],
|
72
78
|
"xx9plb": "fxf9f1y",
|
73
79
|
"Bdn98qo": "f103af6e",
|
74
80
|
"Bbc2r3f": "f15umuo5",
|
75
|
-
"
|
81
|
+
"B1dvbpk": "f3wpjpt",
|
76
82
|
"Bex5imi": "fkk33zh",
|
77
|
-
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
78
83
|
"h6z6rw": "fzd2j21",
|
79
84
|
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
80
85
|
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
@@ -84,15 +89,15 @@ const useStyles = /*#__PURE__*/__styles({
|
|
84
89
|
"E11wbp": "f16xtfle",
|
85
90
|
"hl6cv3": "fotnskf",
|
86
91
|
"Bh2vraf": "f1n8855c",
|
87
|
-
"yayu3t":
|
92
|
+
"yayu3t": "fwwuk3n",
|
88
93
|
"wedwtw": "fsw6im5",
|
89
94
|
"rhl9o9": "ftghsr9",
|
90
95
|
"Bu8t5uz": "f159pzir",
|
91
|
-
"B6q6orb":
|
96
|
+
"B6q6orb": "fwghsev",
|
92
97
|
"Bwwlvwl": "fm1ycve"
|
93
98
|
}
|
94
99
|
}, {
|
95
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".
|
100
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-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;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fijcjxk:before{border-bottom-left-radius:4px;}", ".f11y671q:before{border-bottom-right-radius:4px;}", ".f1vtdej5:before{border-top-right-radius:4px;}", ".f7y375m:before{border-top-left-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".fkk33zh:before{visibility:visible;}", ".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\"] .fwwuk3n{left: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\"] .fwghsev{right:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
96
101
|
});
|
97
102
|
/**
|
98
103
|
* Apply styling to the PopoverSurface slots based on the state
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"sources":["../../../src/components/PopoverSurface/usePopoverSurfaceStyles.ts"],"names":[],"mappings":"AAAA,SAAS,UAAT,YAAiC,YAAjC,QAAqD,6BAArD;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;A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/react_make_styles_1.__styles({
|
|
23
23
|
"root": {
|
24
24
|
"De3pzq": "fxugw4r",
|
25
25
|
"E5pizo": "f1hg901r",
|
26
|
-
"
|
26
|
+
"Bbmb7ep": ["fff7au0", "f1bjk9e1"],
|
27
|
+
"Beyfa6y": ["f1bjk9e1", "fff7au0"],
|
28
|
+
"B7oj6ja": ["fwsfkhu", "f8wkphi"],
|
29
|
+
"Btl43ni": ["f8wkphi", "fwsfkhu"],
|
27
30
|
"B4j52fo": "f5ogflp",
|
28
31
|
"Bekrc4i": ["f1hqa2wf", "finvdd3"],
|
29
32
|
"Bn0qgzm": "f1f09k3d",
|
@@ -73,17 +76,19 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
73
76
|
},
|
74
77
|
"arrow": {
|
75
78
|
"qhf8xq": "f1euv43f",
|
76
|
-
"
|
79
|
+
"De3pzq": "f1u2r49w",
|
77
80
|
"Bcdw1i0": "fd7fpy0",
|
78
81
|
"Bj3rh1h": "f1bsuimh",
|
79
82
|
"rurcny": "fuzzvh5",
|
80
|
-
"
|
83
|
+
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
84
|
+
"B5c9fhp": ["fijcjxk", "f11y671q"],
|
85
|
+
"Bhe99jt": ["f1vtdej5", "f7y375m"],
|
86
|
+
"B2r1szc": ["f7y375m", "f1vtdej5"],
|
81
87
|
"xx9plb": "fxf9f1y",
|
82
88
|
"Bdn98qo": "f103af6e",
|
83
89
|
"Bbc2r3f": "f15umuo5",
|
84
|
-
"
|
90
|
+
"B1dvbpk": "f3wpjpt",
|
85
91
|
"Bex5imi": "fkk33zh",
|
86
|
-
"px8gyy": ["f5bg3dr", "f1rfdd74"],
|
87
92
|
"h6z6rw": "fzd2j21",
|
88
93
|
"Iykf4b": ["feexxpo", "f7s5fvx"],
|
89
94
|
"F42hee": ["f1jq8eg5", "f12n7c5j"],
|
@@ -93,15 +98,15 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
|
|
93
98
|
"E11wbp": "f16xtfle",
|
94
99
|
"hl6cv3": "fotnskf",
|
95
100
|
"Bh2vraf": "f1n8855c",
|
96
|
-
"yayu3t":
|
101
|
+
"yayu3t": "fwwuk3n",
|
97
102
|
"wedwtw": "fsw6im5",
|
98
103
|
"rhl9o9": "ftghsr9",
|
99
104
|
"Bu8t5uz": "f159pzir",
|
100
|
-
"B6q6orb":
|
105
|
+
"B6q6orb": "fwghsev",
|
101
106
|
"Bwwlvwl": "fm1ycve"
|
102
107
|
}
|
103
108
|
}, {
|
104
|
-
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".
|
109
|
+
"d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".fff7au0{border-bottom-right-radius:4px;}", ".f1bjk9e1{border-bottom-left-radius:4px;}", ".fwsfkhu{border-top-right-radius:4px;}", ".f8wkphi{border-top-left-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;}", ".f1u2r49w{background-color:inherit;}", ".fd7fpy0{visibility:hidden;}", ".f1bsuimh{z-index:-1;}", ".fuzzvh5:before{content:\"\";}", ".f5bg3dr:before{border-bottom-right-radius:var(--borderRadiusSmall);}", ".f1rfdd74:before{border-bottom-left-radius:var(--borderRadiusSmall);}", ".fijcjxk:before{border-bottom-left-radius:4px;}", ".f11y671q:before{border-bottom-right-radius:4px;}", ".f1vtdej5:before{border-top-right-radius:4px;}", ".f7y375m:before{border-top-left-radius:4px;}", ".fxf9f1y:before{position:absolute;}", ".f103af6e:before{width:inherit;}", ".f15umuo5:before{height:inherit;}", ".f3wpjpt:before{background-color:inherit;}", ".fkk33zh:before{visibility:visible;}", ".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\"] .fwwuk3n{left: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\"] .fwghsev{right:0;}", "[data-popper-placement^=\"left\"] .fm1ycve{--angle:270deg;}"]
|
105
110
|
});
|
106
111
|
/**
|
107
112
|
* 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;;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;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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-nightlya0ab3454ed20211208.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-nightlya0ab3454ed20211208.1",
|
30
31
|
"@fluentui/eslint-plugin": "*",
|
31
|
-
"@fluentui/jest-serializer-make-styles": "0.0.0-
|
32
|
+
"@fluentui/jest-serializer-make-styles": "0.0.0-nightlya0ab3454ed20211208.1",
|
32
33
|
"@fluentui/react-conformance": "*",
|
33
|
-
"@fluentui/react-conformance-make-styles": "0.0.0-
|
34
|
+
"@fluentui/react-conformance-make-styles": "0.0.0-nightlya0ab3454ed20211208.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-nightlya0ab3454ed20211208.1",
|
49
|
+
"@fluentui/react-make-styles": "0.0.0-nightlya0ab3454ed20211208.1",
|
50
|
+
"@fluentui/react-portal": "0.0.0-nightlya0ab3454ed20211208.1",
|
51
|
+
"@fluentui/react-positioning": "0.0.0-nightlya0ab3454ed20211208.1",
|
52
|
+
"@fluentui/react-shared-contexts": "0.0.0-nightlya0ab3454ed20211208.1",
|
53
|
+
"@fluentui/react-tabster": "0.0.0-nightlya0ab3454ed20211208.1",
|
54
|
+
"@fluentui/react-utilities": "0.0.0-nightlya0ab3454ed20211208.1",
|
54
55
|
"tslib": "^2.1.0"
|
55
56
|
},
|
56
57
|
"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
|
-
// 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":""}
|