@fluentui/react-popover 0.0.0-nightly9edaf68d4420211116.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 CHANGED
@@ -2,76 +2,165 @@
2
2
  "name": "@fluentui/react-popover",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 16 Nov 2021 04:18:28 GMT",
6
- "tag": "@fluentui/react-popover_v0.0.0-nightly9edaf68d4420211116.1",
7
- "version": "0.0.0-nightly9edaf68d4420211116.1",
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": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb",
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": [
91
+ {
92
+ "author": "lingfangao@hotmail.com",
93
+ "package": "@fluentui/react-popover",
94
+ "commit": "58db204f28af1d68df7260ff580cf91f0adcfb66",
95
+ "comment": "Add transparent outline to arrow for HC"
96
+ },
16
97
  {
17
98
  "author": "beachball",
18
99
  "package": "@fluentui/react-popover",
19
- "comment": "Bump @fluentui/react-context-selector to v0.0.0-nightly9edaf68d4420211116.1",
20
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
100
+ "comment": "Bump @fluentui/react-context-selector to v9.0.0-beta.4",
101
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
21
102
  },
22
103
  {
23
104
  "author": "beachball",
24
105
  "package": "@fluentui/react-popover",
25
- "comment": "Bump @fluentui/react-make-styles to v0.0.0-nightly9edaf68d4420211116.1",
26
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
106
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
107
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
27
108
  },
28
109
  {
29
110
  "author": "beachball",
30
111
  "package": "@fluentui/react-popover",
31
- "comment": "Bump @fluentui/react-portal to v0.0.0-nightly9edaf68d4420211116.1",
32
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
112
+ "comment": "Bump @fluentui/react-portal to v9.0.0-beta.5",
113
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
33
114
  },
34
115
  {
35
116
  "author": "beachball",
36
117
  "package": "@fluentui/react-popover",
37
- "comment": "Bump @fluentui/react-positioning to v0.0.0-nightly9edaf68d4420211116.1",
38
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
118
+ "comment": "Bump @fluentui/react-positioning to v9.0.0-beta.4",
119
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
39
120
  },
40
121
  {
41
122
  "author": "beachball",
42
123
  "package": "@fluentui/react-popover",
43
- "comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightly9edaf68d4420211116.1",
44
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
124
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
125
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
45
126
  },
46
127
  {
47
128
  "author": "beachball",
48
129
  "package": "@fluentui/react-popover",
49
- "comment": "Bump @fluentui/react-tabster to v0.0.0-nightly9edaf68d4420211116.1",
50
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
130
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
131
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
51
132
  },
52
133
  {
53
134
  "author": "beachball",
54
135
  "package": "@fluentui/react-popover",
55
- "comment": "Bump @fluentui/react-utilities to v0.0.0-nightly9edaf68d4420211116.1",
56
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
136
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
137
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
57
138
  },
58
139
  {
59
140
  "author": "beachball",
60
141
  "package": "@fluentui/react-popover",
61
- "comment": "Bump @fluentui/babel-make-styles to v0.0.0-nightly9edaf68d4420211116.1",
62
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
142
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
143
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
63
144
  },
64
145
  {
65
146
  "author": "beachball",
66
147
  "package": "@fluentui/react-popover",
67
- "comment": "Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly9edaf68d4420211116.1",
68
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
148
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
149
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
69
150
  },
70
151
  {
71
152
  "author": "beachball",
72
153
  "package": "@fluentui/react-popover",
73
- "comment": "Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly9edaf68d4420211116.1",
74
- "commit": "5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb"
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"
75
164
  }
76
165
  ]
77
166
  }
package/CHANGELOG.md CHANGED
@@ -1,27 +1,47 @@
1
1
  # Change Log - @fluentui/react-popover
2
2
 
3
- This log was last generated on Tue, 16 Nov 2021 04:18:28 GMT and should not be manually modified.
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-nightly9edaf68d4420211116.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightly9edaf68d4420211116.1)
7
+ ## [0.0.0-nightlya0ab3454ed20211208.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v0.0.0-nightlya0ab3454ed20211208.1)
8
8
 
9
- Tue, 16 Nov 2021 04:18:28 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-popover_v9.0.0-beta.4..@fluentui/react-popover_v0.0.0-nightly9edaf68d4420211116.1)
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
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by email not defined)
15
- - Bump @fluentui/react-context-selector to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
16
- - Bump @fluentui/react-make-styles to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
17
- - Bump @fluentui/react-portal to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
18
- - Bump @fluentui/react-positioning to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
19
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
20
- - Bump @fluentui/react-tabster to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
21
- - Bump @fluentui/react-utilities to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
22
- - Bump @fluentui/babel-make-styles to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
23
- - Bump @fluentui/jest-serializer-make-styles to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
24
- - Bump @fluentui/react-conformance-make-styles to v0.0.0-nightly9edaf68d4420211116.1 ([commit](https://github.com/microsoft/fluentui/commit/5833e6990fdc70fd5e4b99c4780af6bb12e8fdbb) by beachball)
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)
31
+
32
+ ### Changes
33
+
34
+ - Add transparent outline to arrow for HC ([PR #20541](https://github.com/microsoft/fluentui/pull/20541) by lingfangao@hotmail.com)
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)
25
45
 
26
46
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-popover_v9.0.0-beta.4)
27
47
 
@@ -1,4 +1,5 @@
1
- import { __styles, mergeClasses } from '@fluentui/react-make-styles';
1
+ import { shorthands, __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,8 +13,11 @@ export const arrowHeights = {
12
13
  const useStyles = /*#__PURE__*/__styles({
13
14
  "root": {
14
15
  "De3pzq": "fxugw4r",
15
- "E5pizo": ["f1hg901r", "f136t921"],
16
- "Dimara": "ff3glw6",
16
+ "E5pizo": "f1hg901r",
17
+ "Bbmb7ep": ["fff7au0", "f1bjk9e1"],
18
+ "Beyfa6y": ["f1bjk9e1", "fff7au0"],
19
+ "B7oj6ja": ["fwsfkhu", "f8wkphi"],
20
+ "Btl43ni": ["f8wkphi", "fwsfkhu"],
17
21
  "B4j52fo": "f5ogflp",
18
22
  "Bekrc4i": ["f1hqa2wf", "finvdd3"],
19
23
  "Bn0qgzm": "f1f09k3d",
@@ -63,29 +67,37 @@ const useStyles = /*#__PURE__*/__styles({
63
67
  },
64
68
  "arrow": {
65
69
  "qhf8xq": "f1euv43f",
66
- "ayd6f0": "f1uo6wrk",
70
+ "De3pzq": "f1u2r49w",
67
71
  "Bcdw1i0": "fd7fpy0",
68
72
  "Bj3rh1h": "f1bsuimh",
69
73
  "rurcny": "fuzzvh5",
70
- "zf3lio": "f1qudtws",
74
+ "px8gyy": ["f5bg3dr", "f1rfdd74"],
75
+ "B5c9fhp": ["fijcjxk", "f11y671q"],
76
+ "Bhe99jt": ["f1vtdej5", "f7y375m"],
77
+ "B2r1szc": ["f7y375m", "f1vtdej5"],
71
78
  "xx9plb": "fxf9f1y",
72
79
  "Bdn98qo": "f103af6e",
73
80
  "Bbc2r3f": "f15umuo5",
74
- "B4zgs9e": "ffo048g",
81
+ "B1dvbpk": "f3wpjpt",
75
82
  "Bex5imi": "fkk33zh",
76
- "px8gyy": ["f5bg3dr", "f1rfdd74"],
77
- "h6z6rw": ["fzd2j21", "f2549he"],
83
+ "h6z6rw": "fzd2j21",
84
+ "Iykf4b": ["feexxpo", "f7s5fvx"],
85
+ "F42hee": ["f1jq8eg5", "f12n7c5j"],
86
+ "Blxsnla": ["f1wv7y6t", "fi4qyh6"],
87
+ "t2scew": "fcvru7r",
88
+ "Emsed9": "f7ybgnc",
89
+ "E11wbp": "f16xtfle",
78
90
  "hl6cv3": "fotnskf",
79
91
  "Bh2vraf": "f1n8855c",
80
- "yayu3t": ["f1nq055x", "f13ohf3"],
92
+ "yayu3t": "fwwuk3n",
81
93
  "wedwtw": "fsw6im5",
82
94
  "rhl9o9": "ftghsr9",
83
95
  "Bu8t5uz": "f159pzir",
84
- "B6q6orb": ["f1l8vbt4", "fsxzh25"],
96
+ "B6q6orb": "fwghsev",
85
97
  "Bwwlvwl": "fm1ycve"
86
98
  }
87
99
  }, {
88
- "d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f136t921{box-shadow:var(--shadow-16);}", ".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);}", ".f2549he: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^=\"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;}"]
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;}"]
89
101
  });
90
102
  /**
91
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,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;AAqEA;;AAEG;;;AACH,OAAO,MAAM,uBAAu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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,8 +22,11 @@ exports.arrowHeights = {
20
22
  const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
21
23
  "root": {
22
24
  "De3pzq": "fxugw4r",
23
- "E5pizo": ["f1hg901r", "f136t921"],
24
- "Dimara": "ff3glw6",
25
+ "E5pizo": "f1hg901r",
26
+ "Bbmb7ep": ["fff7au0", "f1bjk9e1"],
27
+ "Beyfa6y": ["f1bjk9e1", "fff7au0"],
28
+ "B7oj6ja": ["fwsfkhu", "f8wkphi"],
29
+ "Btl43ni": ["f8wkphi", "fwsfkhu"],
25
30
  "B4j52fo": "f5ogflp",
26
31
  "Bekrc4i": ["f1hqa2wf", "finvdd3"],
27
32
  "Bn0qgzm": "f1f09k3d",
@@ -71,29 +76,37 @@ const useStyles = /*#__PURE__*/react_make_styles_1.__styles({
71
76
  },
72
77
  "arrow": {
73
78
  "qhf8xq": "f1euv43f",
74
- "ayd6f0": "f1uo6wrk",
79
+ "De3pzq": "f1u2r49w",
75
80
  "Bcdw1i0": "fd7fpy0",
76
81
  "Bj3rh1h": "f1bsuimh",
77
82
  "rurcny": "fuzzvh5",
78
- "zf3lio": "f1qudtws",
83
+ "px8gyy": ["f5bg3dr", "f1rfdd74"],
84
+ "B5c9fhp": ["fijcjxk", "f11y671q"],
85
+ "Bhe99jt": ["f1vtdej5", "f7y375m"],
86
+ "B2r1szc": ["f7y375m", "f1vtdej5"],
79
87
  "xx9plb": "fxf9f1y",
80
88
  "Bdn98qo": "f103af6e",
81
89
  "Bbc2r3f": "f15umuo5",
82
- "B4zgs9e": "ffo048g",
90
+ "B1dvbpk": "f3wpjpt",
83
91
  "Bex5imi": "fkk33zh",
84
- "px8gyy": ["f5bg3dr", "f1rfdd74"],
85
- "h6z6rw": ["fzd2j21", "f2549he"],
92
+ "h6z6rw": "fzd2j21",
93
+ "Iykf4b": ["feexxpo", "f7s5fvx"],
94
+ "F42hee": ["f1jq8eg5", "f12n7c5j"],
95
+ "Blxsnla": ["f1wv7y6t", "fi4qyh6"],
96
+ "t2scew": "fcvru7r",
97
+ "Emsed9": "f7ybgnc",
98
+ "E11wbp": "f16xtfle",
86
99
  "hl6cv3": "fotnskf",
87
100
  "Bh2vraf": "f1n8855c",
88
- "yayu3t": ["f1nq055x", "f13ohf3"],
101
+ "yayu3t": "fwwuk3n",
89
102
  "wedwtw": "fsw6im5",
90
103
  "rhl9o9": "ftghsr9",
91
104
  "Bu8t5uz": "f159pzir",
92
- "B6q6orb": ["f1l8vbt4", "fsxzh25"],
105
+ "B6q6orb": "fwghsev",
93
106
  "Bwwlvwl": "fm1ycve"
94
107
  }
95
108
  }, {
96
- "d": [".fxugw4r{background-color:var(--colorNeutralBackground1);}", ".f1hg901r{box-shadow:var(--shadow16);}", ".f136t921{box-shadow:var(--shadow-16);}", ".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);}", ".f2549he: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^=\"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;}"]
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;}"]
97
110
  });
98
111
  /**
99
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;;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;AAqEA;;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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AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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-nightly9edaf68d4420211116.1",
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-nightly9edaf68d4420211116.1",
30
+ "@fluentui/babel-make-styles": "0.0.0-nightlya0ab3454ed20211208.1",
30
31
  "@fluentui/eslint-plugin": "*",
31
- "@fluentui/jest-serializer-make-styles": "0.0.0-nightly9edaf68d4420211116.1",
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-nightly9edaf68d4420211116.1",
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-nightly9edaf68d4420211116.1",
48
- "@fluentui/react-make-styles": "0.0.0-nightly9edaf68d4420211116.1",
49
- "@fluentui/react-portal": "0.0.0-nightly9edaf68d4420211116.1",
50
- "@fluentui/react-positioning": "0.0.0-nightly9edaf68d4420211116.1",
51
- "@fluentui/react-shared-contexts": "0.0.0-nightly9edaf68d4420211116.1",
52
- "@fluentui/react-tabster": "0.0.0-nightly9edaf68d4420211116.1",
53
- "@fluentui/react-utilities": "0.0.0-nightly9edaf68d4420211116.1",
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,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,13 +0,0 @@
1
- import { isConformant as baseIsConformant } from '@fluentui/react-conformance';
2
- import makeStylesTests from '@fluentui/react-conformance-make-styles';
3
- export function isConformant(testInfo) {
4
- const defaultOptions = {
5
- asPropHandlesRef: true,
6
- componentPath: module.parent.filename.replace('.test', ''),
7
- // 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,4 +0,0 @@
1
- import type { IsConformantOptions } from '@fluentui/react-conformance';
2
- export declare function isConformant<TProps = {}>(testInfo: Omit<IsConformantOptions<TProps>, 'componentPath'> & {
3
- componentPath?: string;
4
- }): void;
@@ -1,24 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isConformant = void 0;
7
-
8
- const react_conformance_1 = /*#__PURE__*/require("@fluentui/react-conformance");
9
-
10
- const react_conformance_make_styles_1 = /*#__PURE__*/require("@fluentui/react-conformance-make-styles");
11
-
12
- function isConformant(testInfo) {
13
- const defaultOptions = {
14
- asPropHandlesRef: true,
15
- componentPath: module.parent.filename.replace('.test', ''),
16
- // 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":""}