@fluentui/react-portal 9.0.0-rc.5 → 9.0.0-rc.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/CHANGELOG.json +104 -1
  2. package/CHANGELOG.md +105 -72
  3. package/dist/{react-portal.d.ts → index.d.ts} +1 -1
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/components/Portal/Portal.types.js.map +1 -1
  6. package/lib/components/Portal/usePortalMountNode.js +1 -1
  7. package/lib/components/Portal/usePortalMountNode.js.map +1 -1
  8. package/lib-commonjs/components/Portal/usePortalMountNode.js +1 -1
  9. package/lib-commonjs/components/Portal/usePortalMountNode.js.map +1 -1
  10. package/package.json +8 -18
  11. package/lib/Portal.d.ts +0 -1
  12. package/lib/components/Portal/Portal.d.ts +0 -7
  13. package/lib/components/Portal/Portal.types.d.ts +0 -22
  14. package/lib/components/Portal/index.d.ts +0 -4
  15. package/lib/components/Portal/renderPortal.d.ts +0 -6
  16. package/lib/components/Portal/usePortal.d.ts +0 -9
  17. package/lib/components/Portal/usePortalMountNode.d.ts +0 -10
  18. package/lib/index.d.ts +0 -2
  19. package/lib/virtualParent/elementContains.d.ts +0 -7
  20. package/lib/virtualParent/getParent.d.ts +0 -5
  21. package/lib/virtualParent/getVirtualParent.d.ts +0 -4
  22. package/lib/virtualParent/index.d.ts +0 -5
  23. package/lib/virtualParent/isVirtualElement.d.ts +0 -5
  24. package/lib/virtualParent/setVirtualParent.d.ts +0 -7
  25. package/lib/virtualParent/types.d.ts +0 -5
  26. package/lib-commonjs/Portal.d.ts +0 -1
  27. package/lib-commonjs/components/Portal/Portal.d.ts +0 -7
  28. package/lib-commonjs/components/Portal/Portal.types.d.ts +0 -22
  29. package/lib-commonjs/components/Portal/index.d.ts +0 -4
  30. package/lib-commonjs/components/Portal/renderPortal.d.ts +0 -6
  31. package/lib-commonjs/components/Portal/usePortal.d.ts +0 -9
  32. package/lib-commonjs/components/Portal/usePortalMountNode.d.ts +0 -10
  33. package/lib-commonjs/index.d.ts +0 -2
  34. package/lib-commonjs/virtualParent/elementContains.d.ts +0 -7
  35. package/lib-commonjs/virtualParent/getParent.d.ts +0 -5
  36. package/lib-commonjs/virtualParent/getVirtualParent.d.ts +0 -4
  37. package/lib-commonjs/virtualParent/index.d.ts +0 -5
  38. package/lib-commonjs/virtualParent/isVirtualElement.d.ts +0 -5
  39. package/lib-commonjs/virtualParent/setVirtualParent.d.ts +0 -7
  40. package/lib-commonjs/virtualParent/types.d.ts +0 -5
package/CHANGELOG.json CHANGED
@@ -2,7 +2,110 @@
2
2
  "name": "@fluentui/react-portal",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 04 Mar 2022 05:15:53 GMT",
5
+ "date": "Wed, 04 May 2022 13:24:15 GMT",
6
+ "tag": "@fluentui/react-portal_v9.0.0-rc.8",
7
+ "version": "9.0.0-rc.8",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "martinhochel@microsoft.com",
12
+ "package": "@fluentui/react-portal",
13
+ "commit": "773b889cd09d46934feeabdbbc389c678b80f7a0",
14
+ "comment": "feat: ship rolluped only dts"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-portal",
19
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.6",
20
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-portal",
25
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.8",
26
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-portal",
31
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.7",
32
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
33
+ }
34
+ ],
35
+ "none": [
36
+ {
37
+ "author": "tristan.watanabe@gmail.com",
38
+ "package": "@fluentui/react-portal",
39
+ "commit": "e74b180720cb9aec8df21753a55449849041af82",
40
+ "comment": "react-portal: Move to new common folder."
41
+ }
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "date": "Mon, 25 Apr 2022 09:32:19 GMT",
47
+ "tag": "@fluentui/react-portal_v9.0.0-rc.7",
48
+ "version": "9.0.0-rc.7",
49
+ "comments": {
50
+ "prerelease": [
51
+ {
52
+ "author": "beachball",
53
+ "package": "@fluentui/react-portal",
54
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.7",
55
+ "commit": "02ca1d3c198452c1693067f5f18bd01b2ed5d6e6"
56
+ }
57
+ ]
58
+ }
59
+ },
60
+ {
61
+ "date": "Tue, 19 Apr 2022 19:16:48 GMT",
62
+ "tag": "@fluentui/react-portal_v9.0.0-rc.6",
63
+ "version": "9.0.0-rc.6",
64
+ "comments": {
65
+ "prerelease": [
66
+ {
67
+ "author": "olfedias@microsoft.com",
68
+ "package": "@fluentui/react-portal",
69
+ "commit": "8e3c8527ab8f6779dc3db03fd14d1d77b7fcf709",
70
+ "comment": "update `mountNode` types to accept HTMLElement"
71
+ },
72
+ {
73
+ "author": "beachball",
74
+ "package": "@fluentui/react-portal",
75
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.5",
76
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
77
+ },
78
+ {
79
+ "author": "beachball",
80
+ "package": "@fluentui/react-portal",
81
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.6",
82
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
83
+ },
84
+ {
85
+ "author": "beachball",
86
+ "package": "@fluentui/react-portal",
87
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.6",
88
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
89
+ }
90
+ ],
91
+ "none": [
92
+ {
93
+ "author": "mgodbolt@microsoft.com",
94
+ "package": "@fluentui/react-portal",
95
+ "commit": "905e46db07ada986fd7885531f72a71b7bbaabdc",
96
+ "comment": "create v9 api extractor config and set all v9 packags to use it, suppress forgotten export"
97
+ },
98
+ {
99
+ "author": "elcraig@microsoft.com",
100
+ "package": "@fluentui/react-portal",
101
+ "commit": "b7f17e976f9e058f39c9fce4f0f9bb6eb4dfa577",
102
+ "comment": "Update React dev deps and hoist them to the repo root"
103
+ }
104
+ ]
105
+ }
106
+ },
107
+ {
108
+ "date": "Fri, 04 Mar 2022 05:17:38 GMT",
6
109
  "tag": "@fluentui/react-portal_v9.0.0-rc.5",
7
110
  "version": "9.0.0-rc.5",
8
111
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,45 @@
1
1
  # Change Log - @fluentui/react-portal
2
2
 
3
- This log was last generated on Fri, 04 Mar 2022 05:15:53 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 04 May 2022 13:24:15 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.8)
8
+
9
+ Wed, 04 May 2022 13:24:15 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.7..@fluentui/react-portal_v9.0.0-rc.8)
11
+
12
+ ### Changes
13
+
14
+ - feat: ship rolluped only dts ([PR #22791](https://github.com/microsoft/fluentui/pull/22791) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.0.0-rc.8 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
17
+ - Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
18
+
19
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.7)
20
+
21
+ Mon, 25 Apr 2022 09:32:19 GMT
22
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.6..@fluentui/react-portal_v9.0.0-rc.7)
23
+
24
+ ### Changes
25
+
26
+ - Bump @fluentui/react-tabster to v9.0.0-rc.7 ([PR #22601](https://github.com/microsoft/fluentui/pull/22601) by beachball)
27
+
28
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.6)
29
+
30
+ Tue, 19 Apr 2022 19:16:48 GMT
31
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.5..@fluentui/react-portal_v9.0.0-rc.6)
32
+
33
+ ### Changes
34
+
35
+ - update `mountNode` types to accept HTMLElement ([PR #22153](https://github.com/microsoft/fluentui/pull/22153) by olfedias@microsoft.com)
36
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
37
+ - Bump @fluentui/react-tabster to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
38
+ - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
39
+
7
40
  ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.5)
8
41
 
9
- Fri, 04 Mar 2022 05:15:53 GMT
42
+ Fri, 04 Mar 2022 05:17:38 GMT
10
43
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.4..@fluentui/react-portal_v9.0.0-rc.5)
11
44
 
12
45
  ### Changes
@@ -18,7 +51,7 @@ Fri, 04 Mar 2022 05:15:53 GMT
18
51
 
19
52
  ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.4)
20
53
 
21
- Tue, 01 Mar 2022 02:17:40 GMT
54
+ Tue, 01 Mar 2022 02:17:40 GMT
22
55
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.3..@fluentui/react-portal_v9.0.0-rc.4)
23
56
 
24
57
  ### Changes
@@ -28,7 +61,7 @@ Tue, 01 Mar 2022 02:17:40 GMT
28
61
 
29
62
  ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.3)
30
63
 
31
- Fri, 18 Feb 2022 13:35:33 GMT
64
+ Fri, 18 Feb 2022 13:35:33 GMT
32
65
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-rc.1..@fluentui/react-portal_v9.0.0-rc.3)
33
66
 
34
67
  ### Changes
@@ -40,12 +73,12 @@ Fri, 18 Feb 2022 13:35:33 GMT
40
73
 
41
74
  ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-rc.1)
42
75
 
43
- Thu, 10 Feb 2022 08:50:38 GMT
76
+ Thu, 10 Feb 2022 08:50:38 GMT
44
77
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-beta.5..@fluentui/react-portal_v9.0.0-rc.1)
45
78
 
46
79
  ### Changes
47
80
 
48
- - BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
81
+ - BREAKING: Rename component hooks add the suffix \_unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
49
82
  - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
50
83
  - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
51
84
  - remove unused dependency on Griffel ([PR #21393](https://github.com/microsoft/fluentui/pull/21393) by olfedias@microsoft.com)
@@ -55,7 +88,7 @@ Thu, 10 Feb 2022 08:50:38 GMT
55
88
 
56
89
  ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-beta.5)
57
90
 
58
- Thu, 25 Nov 2021 08:34:15 GMT
91
+ Thu, 25 Nov 2021 08:34:15 GMT
59
92
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-beta.4..@fluentui/react-portal_v9.0.0-beta.5)
60
93
 
61
94
  ### Changes
@@ -69,7 +102,7 @@ Thu, 25 Nov 2021 08:34:15 GMT
69
102
 
70
103
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-beta.4)
71
104
 
72
- Fri, 12 Nov 2021 13:25:29 GMT
105
+ Fri, 12 Nov 2021 13:25:29 GMT
73
106
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-beta.3..@fluentui/react-portal_v9.0.0-beta.4)
74
107
 
75
108
  ### Changes
@@ -84,7 +117,7 @@ Fri, 12 Nov 2021 13:25:29 GMT
84
117
 
85
118
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-beta.3)
86
119
 
87
- Wed, 27 Oct 2021 12:14:21 GMT
120
+ Wed, 27 Oct 2021 12:14:21 GMT
88
121
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-beta.2..@fluentui/react-portal_v9.0.0-beta.3)
89
122
 
90
123
  ### Changes
@@ -99,7 +132,7 @@ Wed, 27 Oct 2021 12:14:21 GMT
99
132
 
100
133
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-beta.2)
101
134
 
102
- Tue, 12 Oct 2021 19:45:58 GMT
135
+ Tue, 12 Oct 2021 19:45:58 GMT
103
136
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-beta.1..@fluentui/react-portal_v9.0.0-beta.2)
104
137
 
105
138
  ### Changes
@@ -108,7 +141,7 @@ Tue, 12 Oct 2021 19:45:58 GMT
108
141
 
109
142
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-beta.1)
110
143
 
111
- Wed, 06 Oct 2021 10:37:22 GMT
144
+ Wed, 06 Oct 2021 10:37:22 GMT
112
145
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.61..@fluentui/react-portal_v9.0.0-beta.1)
113
146
 
114
147
  ### Changes
@@ -122,7 +155,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
122
155
 
123
156
  ## [9.0.0-alpha.61](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.61)
124
157
 
125
- Tue, 05 Oct 2021 12:47:58 GMT
158
+ Tue, 05 Oct 2021 12:47:58 GMT
126
159
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.60..@fluentui/react-portal_v9.0.0-alpha.61)
127
160
 
128
161
  ### Changes
@@ -133,7 +166,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
133
166
 
134
167
  ## [9.0.0-alpha.60](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.60)
135
168
 
136
- Tue, 05 Oct 2021 09:28:07 GMT
169
+ Tue, 05 Oct 2021 09:28:07 GMT
137
170
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.59..@fluentui/react-portal_v9.0.0-alpha.60)
138
171
 
139
172
  ### Changes
@@ -145,7 +178,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
145
178
 
146
179
  ## [9.0.0-alpha.59](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.59)
147
180
 
148
- Fri, 01 Oct 2021 14:13:08 GMT
181
+ Fri, 01 Oct 2021 14:13:08 GMT
149
182
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.57..@fluentui/react-portal_v9.0.0-alpha.59)
150
183
 
151
184
  ### Changes
@@ -159,7 +192,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
159
192
 
160
193
  ## [9.0.0-alpha.57](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.57)
161
194
 
162
- Fri, 01 Oct 2021 09:44:56 GMT
195
+ Fri, 01 Oct 2021 09:44:56 GMT
163
196
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.56..@fluentui/react-portal_v9.0.0-alpha.57)
164
197
 
165
198
  ### Changes
@@ -168,7 +201,7 @@ Fri, 01 Oct 2021 09:44:56 GMT
168
201
 
169
202
  ## [9.0.0-alpha.56](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.56)
170
203
 
171
- Wed, 29 Sep 2021 08:06:11 GMT
204
+ Wed, 29 Sep 2021 08:06:11 GMT
172
205
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.55..@fluentui/react-portal_v9.0.0-alpha.56)
173
206
 
174
207
  ### Changes
@@ -180,7 +213,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
180
213
 
181
214
  ## [9.0.0-alpha.55](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.55)
182
215
 
183
- Mon, 27 Sep 2021 08:06:00 GMT
216
+ Mon, 27 Sep 2021 08:06:00 GMT
184
217
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.54..@fluentui/react-portal_v9.0.0-alpha.55)
185
218
 
186
219
  ### Changes
@@ -192,7 +225,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
192
225
 
193
226
  ## [9.0.0-alpha.54](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.54)
194
227
 
195
- Fri, 24 Sep 2021 09:17:17 GMT
228
+ Fri, 24 Sep 2021 09:17:17 GMT
196
229
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.53..@fluentui/react-portal_v9.0.0-alpha.54)
197
230
 
198
231
  ### Changes
@@ -204,7 +237,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
204
237
 
205
238
  ## [9.0.0-alpha.53](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.53)
206
239
 
207
- Thu, 23 Sep 2021 08:21:34 GMT
240
+ Thu, 23 Sep 2021 08:21:34 GMT
208
241
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.52..@fluentui/react-portal_v9.0.0-alpha.53)
209
242
 
210
243
  ### Changes
@@ -216,7 +249,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
216
249
 
217
250
  ## [9.0.0-alpha.52](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.52)
218
251
 
219
- Wed, 22 Sep 2021 10:10:07 GMT
252
+ Wed, 22 Sep 2021 10:10:07 GMT
220
253
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.51..@fluentui/react-portal_v9.0.0-alpha.52)
221
254
 
222
255
  ### Changes
@@ -228,7 +261,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
228
261
 
229
262
  ## [9.0.0-alpha.51](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.51)
230
263
 
231
- Tue, 21 Sep 2021 07:42:34 GMT
264
+ Tue, 21 Sep 2021 07:42:34 GMT
232
265
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.50..@fluentui/react-portal_v9.0.0-alpha.51)
233
266
 
234
267
  ### Changes
@@ -241,7 +274,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
241
274
 
242
275
  ## [9.0.0-alpha.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.50)
243
276
 
244
- Mon, 20 Sep 2021 07:36:26 GMT
277
+ Mon, 20 Sep 2021 07:36:26 GMT
245
278
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.49..@fluentui/react-portal_v9.0.0-alpha.50)
246
279
 
247
280
  ### Changes
@@ -250,7 +283,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
250
283
 
251
284
  ## [9.0.0-alpha.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.49)
252
285
 
253
- Fri, 17 Sep 2021 07:35:26 GMT
286
+ Fri, 17 Sep 2021 07:35:26 GMT
254
287
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.48..@fluentui/react-portal_v9.0.0-alpha.49)
255
288
 
256
289
  ### Changes
@@ -259,7 +292,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
259
292
 
260
293
  ## [9.0.0-alpha.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.48)
261
294
 
262
- Thu, 16 Sep 2021 07:38:39 GMT
295
+ Thu, 16 Sep 2021 07:38:39 GMT
263
296
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.47..@fluentui/react-portal_v9.0.0-alpha.48)
264
297
 
265
298
  ### Changes
@@ -268,7 +301,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
268
301
 
269
302
  ## [9.0.0-alpha.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.47)
270
303
 
271
- Tue, 14 Sep 2021 20:09:02 GMT
304
+ Tue, 14 Sep 2021 20:09:02 GMT
272
305
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.46..@fluentui/react-portal_v9.0.0-alpha.47)
273
306
 
274
307
  ### Changes
@@ -277,7 +310,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
277
310
 
278
311
  ## [9.0.0-alpha.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.46)
279
312
 
280
- Fri, 10 Sep 2021 16:31:53 GMT
313
+ Fri, 10 Sep 2021 16:31:53 GMT
281
314
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.45..@fluentui/react-portal_v9.0.0-alpha.46)
282
315
 
283
316
  ### Changes
@@ -288,7 +321,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
288
321
 
289
322
  ## [9.0.0-alpha.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.45)
290
323
 
291
- Fri, 10 Sep 2021 07:39:51 GMT
324
+ Fri, 10 Sep 2021 07:39:51 GMT
292
325
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.44..@fluentui/react-portal_v9.0.0-alpha.45)
293
326
 
294
327
  ### Changes
@@ -297,7 +330,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
297
330
 
298
331
  ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.44)
299
332
 
300
- Mon, 06 Sep 2021 07:34:53 GMT
333
+ Mon, 06 Sep 2021 07:34:53 GMT
301
334
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.43..@fluentui/react-portal_v9.0.0-alpha.44)
302
335
 
303
336
  ### Changes
@@ -306,7 +339,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
306
339
 
307
340
  ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.43)
308
341
 
309
- Thu, 02 Sep 2021 07:36:46 GMT
342
+ Thu, 02 Sep 2021 07:36:46 GMT
310
343
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.42..@fluentui/react-portal_v9.0.0-alpha.43)
311
344
 
312
345
  ### Patches
@@ -315,7 +348,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
315
348
 
316
349
  ## [9.0.0-alpha.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.42)
317
350
 
318
- Wed, 01 Sep 2021 07:39:56 GMT
351
+ Wed, 01 Sep 2021 07:39:56 GMT
319
352
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.41..@fluentui/react-portal_v9.0.0-alpha.42)
320
353
 
321
354
  ### Changes
@@ -324,7 +357,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
324
357
 
325
358
  ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.41)
326
359
 
327
- Tue, 31 Aug 2021 07:37:47 GMT
360
+ Tue, 31 Aug 2021 07:37:47 GMT
328
361
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.40..@fluentui/react-portal_v9.0.0-alpha.41)
329
362
 
330
363
  ### Changes
@@ -333,7 +366,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
333
366
 
334
367
  ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.40)
335
368
 
336
- Tue, 24 Aug 2021 07:34:48 GMT
369
+ Tue, 24 Aug 2021 07:34:48 GMT
337
370
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.39..@fluentui/react-portal_v9.0.0-alpha.40)
338
371
 
339
372
  ### Changes
@@ -342,7 +375,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
342
375
 
343
376
  ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.39)
344
377
 
345
- Fri, 20 Aug 2021 07:37:28 GMT
378
+ Fri, 20 Aug 2021 07:37:28 GMT
346
379
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.38..@fluentui/react-portal_v9.0.0-alpha.39)
347
380
 
348
381
  ### Changes
@@ -351,7 +384,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
351
384
 
352
385
  ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.38)
353
386
 
354
- Thu, 19 Aug 2021 07:41:35 GMT
387
+ Thu, 19 Aug 2021 07:41:35 GMT
355
388
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.37..@fluentui/react-portal_v9.0.0-alpha.38)
356
389
 
357
390
  ### Changes
@@ -360,7 +393,7 @@ Thu, 19 Aug 2021 07:41:35 GMT
360
393
 
361
394
  ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.37)
362
395
 
363
- Fri, 13 Aug 2021 07:36:34 GMT
396
+ Fri, 13 Aug 2021 07:36:34 GMT
364
397
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.36..@fluentui/react-portal_v9.0.0-alpha.37)
365
398
 
366
399
  ### Changes
@@ -369,7 +402,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
369
402
 
370
403
  ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.36)
371
404
 
372
- Fri, 06 Aug 2021 07:35:14 GMT
405
+ Fri, 06 Aug 2021 07:35:14 GMT
373
406
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.35..@fluentui/react-portal_v9.0.0-alpha.36)
374
407
 
375
408
  ### Changes
@@ -378,7 +411,7 @@ Fri, 06 Aug 2021 07:35:14 GMT
378
411
 
379
412
  ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.35)
380
413
 
381
- Tue, 03 Aug 2021 07:39:30 GMT
414
+ Tue, 03 Aug 2021 07:39:30 GMT
382
415
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.34..@fluentui/react-portal_v9.0.0-alpha.35)
383
416
 
384
417
  ### Patches
@@ -393,7 +426,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
393
426
 
394
427
  ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.34)
395
428
 
396
- Mon, 02 Aug 2021 07:36:20 GMT
429
+ Mon, 02 Aug 2021 07:36:20 GMT
397
430
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.33..@fluentui/react-portal_v9.0.0-alpha.34)
398
431
 
399
432
  ### Changes
@@ -402,7 +435,7 @@ Mon, 02 Aug 2021 07:36:20 GMT
402
435
 
403
436
  ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.33)
404
437
 
405
- Mon, 26 Jul 2021 07:37:30 GMT
438
+ Mon, 26 Jul 2021 07:37:30 GMT
406
439
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.32..@fluentui/react-portal_v9.0.0-alpha.33)
407
440
 
408
441
  ### Changes
@@ -411,7 +444,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
411
444
 
412
445
  ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.32)
413
446
 
414
- Fri, 23 Jul 2021 07:38:19 GMT
447
+ Fri, 23 Jul 2021 07:38:19 GMT
415
448
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.31..@fluentui/react-portal_v9.0.0-alpha.32)
416
449
 
417
450
  ### Changes
@@ -420,7 +453,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
420
453
 
421
454
  ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.31)
422
455
 
423
- Thu, 22 Jul 2021 07:36:55 GMT
456
+ Thu, 22 Jul 2021 07:36:55 GMT
424
457
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.30..@fluentui/react-portal_v9.0.0-alpha.31)
425
458
 
426
459
  ### Changes
@@ -429,7 +462,7 @@ Thu, 22 Jul 2021 07:36:55 GMT
429
462
 
430
463
  ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.30)
431
464
 
432
- Thu, 15 Jul 2021 07:36:18 GMT
465
+ Thu, 15 Jul 2021 07:36:18 GMT
433
466
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.29..@fluentui/react-portal_v9.0.0-alpha.30)
434
467
 
435
468
  ### Changes
@@ -438,7 +471,7 @@ Thu, 15 Jul 2021 07:36:18 GMT
438
471
 
439
472
  ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.29)
440
473
 
441
- Tue, 13 Jul 2021 22:32:58 GMT
474
+ Tue, 13 Jul 2021 22:32:58 GMT
442
475
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.28..@fluentui/react-portal_v9.0.0-alpha.29)
443
476
 
444
477
  ### Patches
@@ -447,7 +480,7 @@ Tue, 13 Jul 2021 22:32:58 GMT
447
480
 
448
481
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.28)
449
482
 
450
- Tue, 13 Jul 2021 07:35:36 GMT
483
+ Tue, 13 Jul 2021 07:35:36 GMT
451
484
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.27..@fluentui/react-portal_v9.0.0-alpha.28)
452
485
 
453
486
  ### Changes
@@ -456,7 +489,7 @@ Tue, 13 Jul 2021 07:35:36 GMT
456
489
 
457
490
  ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.27)
458
491
 
459
- Fri, 09 Jul 2021 07:39:31 GMT
492
+ Fri, 09 Jul 2021 07:39:31 GMT
460
493
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.26..@fluentui/react-portal_v9.0.0-alpha.27)
461
494
 
462
495
  ### Patches
@@ -471,7 +504,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
471
504
 
472
505
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.26)
473
506
 
474
- Fri, 02 Jul 2021 23:15:55 GMT
507
+ Fri, 02 Jul 2021 23:15:55 GMT
475
508
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.25..@fluentui/react-portal_v9.0.0-alpha.26)
476
509
 
477
510
  ### Changes
@@ -480,7 +513,7 @@ Fri, 02 Jul 2021 23:15:55 GMT
480
513
 
481
514
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.25)
482
515
 
483
- Fri, 02 Jul 2021 07:37:06 GMT
516
+ Fri, 02 Jul 2021 07:37:06 GMT
484
517
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.24..@fluentui/react-portal_v9.0.0-alpha.25)
485
518
 
486
519
  ### Changes
@@ -489,7 +522,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
489
522
 
490
523
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.24)
491
524
 
492
- Thu, 01 Jul 2021 07:35:05 GMT
525
+ Thu, 01 Jul 2021 07:35:05 GMT
493
526
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.23..@fluentui/react-portal_v9.0.0-alpha.24)
494
527
 
495
528
  ### Changes
@@ -498,7 +531,7 @@ Thu, 01 Jul 2021 07:35:05 GMT
498
531
 
499
532
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.23)
500
533
 
501
- Wed, 30 Jun 2021 07:38:35 GMT
534
+ Wed, 30 Jun 2021 07:38:35 GMT
502
535
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.22..@fluentui/react-portal_v9.0.0-alpha.23)
503
536
 
504
537
  ### Changes
@@ -507,7 +540,7 @@ Wed, 30 Jun 2021 07:38:35 GMT
507
540
 
508
541
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.22)
509
542
 
510
- Tue, 29 Jun 2021 07:33:32 GMT
543
+ Tue, 29 Jun 2021 07:33:32 GMT
511
544
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.21..@fluentui/react-portal_v9.0.0-alpha.22)
512
545
 
513
546
  ### Changes
@@ -516,7 +549,7 @@ Tue, 29 Jun 2021 07:33:32 GMT
516
549
 
517
550
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.21)
518
551
 
519
- Tue, 15 Jun 2021 07:40:20 GMT
552
+ Tue, 15 Jun 2021 07:40:20 GMT
520
553
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.20..@fluentui/react-portal_v9.0.0-alpha.21)
521
554
 
522
555
  ### Changes
@@ -525,7 +558,7 @@ Tue, 15 Jun 2021 07:40:20 GMT
525
558
 
526
559
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.20)
527
560
 
528
- Mon, 07 Jun 2021 07:38:15 GMT
561
+ Mon, 07 Jun 2021 07:38:15 GMT
529
562
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.19..@fluentui/react-portal_v9.0.0-alpha.20)
530
563
 
531
564
  ### Patches
@@ -540,7 +573,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
540
573
 
541
574
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.19)
542
575
 
543
- Fri, 04 Jun 2021 07:37:23 GMT
576
+ Fri, 04 Jun 2021 07:37:23 GMT
544
577
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.18..@fluentui/react-portal_v9.0.0-alpha.19)
545
578
 
546
579
  ### Changes
@@ -549,7 +582,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
549
582
 
550
583
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.18)
551
584
 
552
- Thu, 03 Jun 2021 07:36:03 GMT
585
+ Thu, 03 Jun 2021 07:36:03 GMT
553
586
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.17..@fluentui/react-portal_v9.0.0-alpha.18)
554
587
 
555
588
  ### Changes
@@ -558,7 +591,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
558
591
 
559
592
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.17)
560
593
 
561
- Wed, 02 Jun 2021 07:37:15 GMT
594
+ Wed, 02 Jun 2021 07:37:15 GMT
562
595
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.16..@fluentui/react-portal_v9.0.0-alpha.17)
563
596
 
564
597
  ### Changes
@@ -567,7 +600,7 @@ Wed, 02 Jun 2021 07:37:15 GMT
567
600
 
568
601
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.16)
569
602
 
570
- Wed, 26 May 2021 07:35:43 GMT
603
+ Wed, 26 May 2021 07:35:43 GMT
571
604
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.15..@fluentui/react-portal_v9.0.0-alpha.16)
572
605
 
573
606
  ### Changes
@@ -576,7 +609,7 @@ Wed, 26 May 2021 07:35:43 GMT
576
609
 
577
610
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.15)
578
611
 
579
- Fri, 21 May 2021 07:34:54 GMT
612
+ Fri, 21 May 2021 07:34:54 GMT
580
613
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.14..@fluentui/react-portal_v9.0.0-alpha.15)
581
614
 
582
615
  ### Changes
@@ -585,7 +618,7 @@ Fri, 21 May 2021 07:34:54 GMT
585
618
 
586
619
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.14)
587
620
 
588
- Thu, 20 May 2021 07:41:54 GMT
621
+ Thu, 20 May 2021 07:41:54 GMT
589
622
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.13..@fluentui/react-portal_v9.0.0-alpha.14)
590
623
 
591
624
  ### Patches
@@ -600,7 +633,7 @@ Thu, 20 May 2021 07:41:54 GMT
600
633
 
601
634
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.13)
602
635
 
603
- Wed, 19 May 2021 07:34:20 GMT
636
+ Wed, 19 May 2021 07:34:20 GMT
604
637
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.12..@fluentui/react-portal_v9.0.0-alpha.13)
605
638
 
606
639
  ### Patches
@@ -613,7 +646,7 @@ Wed, 19 May 2021 07:34:20 GMT
613
646
 
614
647
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.12)
615
648
 
616
- Tue, 18 May 2021 07:34:38 GMT
649
+ Tue, 18 May 2021 07:34:38 GMT
617
650
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.11..@fluentui/react-portal_v9.0.0-alpha.12)
618
651
 
619
652
  ### Changes
@@ -622,7 +655,7 @@ Tue, 18 May 2021 07:34:38 GMT
622
655
 
623
656
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.11)
624
657
 
625
- Thu, 13 May 2021 07:36:55 GMT
658
+ Thu, 13 May 2021 07:36:55 GMT
626
659
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.10..@fluentui/react-portal_v9.0.0-alpha.11)
627
660
 
628
661
  ### Changes
@@ -631,7 +664,7 @@ Thu, 13 May 2021 07:36:55 GMT
631
664
 
632
665
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.10)
633
666
 
634
- Wed, 12 May 2021 07:36:20 GMT
667
+ Wed, 12 May 2021 07:36:20 GMT
635
668
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.9..@fluentui/react-portal_v9.0.0-alpha.10)
636
669
 
637
670
  ### Changes
@@ -640,7 +673,7 @@ Wed, 12 May 2021 07:36:20 GMT
640
673
 
641
674
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.9)
642
675
 
643
- Mon, 10 May 2021 07:36:07 GMT
676
+ Mon, 10 May 2021 07:36:07 GMT
644
677
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.8..@fluentui/react-portal_v9.0.0-alpha.9)
645
678
 
646
679
  ### Changes
@@ -649,7 +682,7 @@ Mon, 10 May 2021 07:36:07 GMT
649
682
 
650
683
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.8)
651
684
 
652
- Wed, 05 May 2021 07:36:50 GMT
685
+ Wed, 05 May 2021 07:36:50 GMT
653
686
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.7..@fluentui/react-portal_v9.0.0-alpha.8)
654
687
 
655
688
  ### Changes
@@ -658,7 +691,7 @@ Wed, 05 May 2021 07:36:50 GMT
658
691
 
659
692
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.7)
660
693
 
661
- Mon, 03 May 2021 07:45:19 GMT
694
+ Mon, 03 May 2021 07:45:19 GMT
662
695
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.6..@fluentui/react-portal_v9.0.0-alpha.7)
663
696
 
664
697
  ### Changes
@@ -667,7 +700,7 @@ Mon, 03 May 2021 07:45:19 GMT
667
700
 
668
701
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.6)
669
702
 
670
- Fri, 30 Apr 2021 07:42:23 GMT
703
+ Fri, 30 Apr 2021 07:42:23 GMT
671
704
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.5..@fluentui/react-portal_v9.0.0-alpha.6)
672
705
 
673
706
  ### Patches
@@ -682,7 +715,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
682
715
 
683
716
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.5)
684
717
 
685
- Tue, 27 Apr 2021 07:34:03 GMT
718
+ Tue, 27 Apr 2021 07:34:03 GMT
686
719
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.4..@fluentui/react-portal_v9.0.0-alpha.5)
687
720
 
688
721
  ### Changes
@@ -691,7 +724,7 @@ Tue, 27 Apr 2021 07:34:03 GMT
691
724
 
692
725
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.4)
693
726
 
694
- Mon, 26 Apr 2021 07:34:31 GMT
727
+ Mon, 26 Apr 2021 07:34:31 GMT
695
728
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.3..@fluentui/react-portal_v9.0.0-alpha.4)
696
729
 
697
730
  ### Changes
@@ -700,7 +733,7 @@ Mon, 26 Apr 2021 07:34:31 GMT
700
733
 
701
734
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.3)
702
735
 
703
- Fri, 23 Apr 2021 07:37:10 GMT
736
+ Fri, 23 Apr 2021 07:37:10 GMT
704
737
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.2..@fluentui/react-portal_v9.0.0-alpha.3)
705
738
 
706
739
  ### Patches
@@ -715,7 +748,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
715
748
 
716
749
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.2)
717
750
 
718
- Thu, 22 Apr 2021 07:33:28 GMT
751
+ Thu, 22 Apr 2021 07:33:28 GMT
719
752
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.1..@fluentui/react-portal_v9.0.0-alpha.2)
720
753
 
721
754
  ### Changes
@@ -724,7 +757,7 @@ Thu, 22 Apr 2021 07:33:28 GMT
724
757
 
725
758
  ## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.1)
726
759
 
727
- Wed, 21 Apr 2021 07:31:50 GMT
760
+ Wed, 21 Apr 2021 07:31:50 GMT
728
761
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.0..@fluentui/react-portal_v9.0.0-alpha.1)
729
762
 
730
763
  ### Changes
@@ -733,7 +766,7 @@ Wed, 21 Apr 2021 07:31:50 GMT
733
766
 
734
767
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.0)
735
768
 
736
- Tue, 20 Apr 2021 07:31:35 GMT
769
+ Tue, 20 Apr 2021 07:31:35 GMT
737
770
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.0..@fluentui/react-portal_v9.0.0-alpha.0)
738
771
 
739
772
  ### Changes
@@ -23,7 +23,7 @@ declare type PortalCommons = {
23
23
  * Where the portal children are mounted on DOM
24
24
  * @defaultValue a new element on document.body without any styling
25
25
  */
26
- mountNode: HTMLDivElement | undefined;
26
+ mountNode: HTMLElement | null;
27
27
  };
28
28
 
29
29
  export declare type PortalProps = Partial<PortalCommons>;
File without changes
@@ -1 +1 @@
1
- {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\ntype PortalCommons = {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n};\n\nexport type PortalProps = Partial<PortalCommons>;\n\nexport type PortalState = PortalCommons & {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n};\n"]}
1
+ {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\ntype PortalCommons = {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLElement | null;\n};\n\nexport type PortalProps = Partial<PortalCommons>;\n\nexport type PortalState = PortalCommons & {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n};\n"]}
@@ -14,7 +14,7 @@ export const usePortalMountNode = options => {
14
14
  } = useFluent();
15
15
  const element = React.useMemo(() => {
16
16
  if (targetDocument === undefined || options.disabled) {
17
- return undefined;
17
+ return null;
18
18
  }
19
19
 
20
20
  const newElement = targetDocument.createElement('div');
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Portal/usePortalMountNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,yBAAT,QAA0C,2BAA1C;AACA,SAAS,iBAAT,EAA4B,SAA5B,QAA6C,iCAA7C;AACA,SAAS,uBAAT,QAAwC,yBAAxC;AASA;;AAEG;;AACH,OAAO,MAAM,kBAAkB,GAAI,OAAD,IAAuC;AACvE,QAAM,cAAc,GAAG,iBAAiB,EAAxC;AACA,QAAM;AAAE,IAAA,cAAF;AAAkB,IAAA;AAAlB,MAA0B,SAAS,EAAzC;AAEA,QAAM,OAAO,GAAG,KAAK,CAAC,OAAN,CAAc,MAAK;AACjC,QAAI,cAAc,KAAK,SAAnB,IAAgC,OAAO,CAAC,QAA5C,EAAsD;AACpD,aAAO,SAAP;AACD;;AAED,UAAM,UAAU,GAAG,cAAc,CAAC,aAAf,CAA6B,KAA7B,CAAnB;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,OAAxB,EAAiC,cAAjC;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,KAAxB,EAA+B,GAA/B;AACA,IAAA,cAAc,CAAC,IAAf,CAAoB,WAApB,CAAgC,UAAhC;AAEA,WAAO,UAAP;AACD,GAXe,EAWb,CAAC,cAAD,EAAiB,cAAjB,EAAiC,GAAjC,EAAsC,OAAO,CAAC,QAA9C,CAXa,CAAhB;AAaC,EAAA,uBAAuB,GAA2C,OAAlE,GAA4E,OAA5E;AAED,EAAA,yBAAyB,CAAC,MAAK;AAC7B,WAAO,MAAK;;;AACV,OAAA,EAAA,GAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,aAAT,MAAsB,IAAtB,IAAsB,EAAA,KAAA,KAAA,CAAtB,GAAsB,KAAA,CAAtB,GAAsB,EAAA,CAAE,WAAF,CAAc,OAAd,CAAtB;AACD,KAFD;AAGD,GAJwB,EAItB,CAAC,OAAD,CAJsB,CAAzB;AAMA,SAAO,OAAP;AACD,CA1BM","sourcesContent":["import * as React from 'react';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-utilities';\nimport { useThemeClassName, useFluent } from '@fluentui/react-shared-contexts';\nimport { useKeyboardNavAttribute } from '@fluentui/react-tabster';\n\nexport type UsePortalMountNodeOptions = {\n /**\n * Since hooks cannot be called conditionally use this flag to disable creating the node\n */\n disabled?: boolean;\n};\n\n/**\n * Creates a new element on a document.body to mount portals\n */\nexport const usePortalMountNode = (options: UsePortalMountNodeOptions) => {\n const themeClassName = useThemeClassName();\n const { targetDocument, dir } = useFluent();\n\n const element = React.useMemo(() => {\n if (targetDocument === undefined || options.disabled) {\n return undefined;\n }\n\n const newElement = targetDocument.createElement('div');\n newElement.setAttribute('class', themeClassName);\n newElement.setAttribute('dir', dir);\n targetDocument.body.appendChild(newElement);\n\n return newElement;\n }, [targetDocument, themeClassName, dir, options.disabled]);\n\n (useKeyboardNavAttribute() as React.MutableRefObject<HTMLElement>).current = element!;\n\n useIsomorphicLayoutEffect(() => {\n return () => {\n element?.parentElement?.removeChild(element);\n };\n }, [element]);\n\n return element;\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Portal/usePortalMountNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,yBAAT,QAA0C,2BAA1C;AACA,SAAS,iBAAT,EAA4B,SAA5B,QAA6C,iCAA7C;AACA,SAAS,uBAAT,QAAwC,yBAAxC;AASA;;AAEG;;AACH,OAAO,MAAM,kBAAkB,GAAI,OAAD,IAA2D;AAC3F,QAAM,cAAc,GAAG,iBAAiB,EAAxC;AACA,QAAM;AAAE,IAAA,cAAF;AAAkB,IAAA;AAAlB,MAA0B,SAAS,EAAzC;AAEA,QAAM,OAAO,GAAG,KAAK,CAAC,OAAN,CAAc,MAAK;AACjC,QAAI,cAAc,KAAK,SAAnB,IAAgC,OAAO,CAAC,QAA5C,EAAsD;AACpD,aAAO,IAAP;AACD;;AAED,UAAM,UAAU,GAAG,cAAc,CAAC,aAAf,CAA6B,KAA7B,CAAnB;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,OAAxB,EAAiC,cAAjC;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,KAAxB,EAA+B,GAA/B;AACA,IAAA,cAAc,CAAC,IAAf,CAAoB,WAApB,CAAgC,UAAhC;AAEA,WAAO,UAAP;AACD,GAXe,EAWb,CAAC,cAAD,EAAiB,cAAjB,EAAiC,GAAjC,EAAsC,OAAO,CAAC,QAA9C,CAXa,CAAhB;AAaC,EAAA,uBAAuB,GAA2C,OAAlE,GAA4E,OAA5E;AAED,EAAA,yBAAyB,CAAC,MAAK;AAC7B,WAAO,MAAK;;;AACV,OAAA,EAAA,GAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,aAAT,MAAsB,IAAtB,IAAsB,EAAA,KAAA,KAAA,CAAtB,GAAsB,KAAA,CAAtB,GAAsB,EAAA,CAAE,WAAF,CAAc,OAAd,CAAtB;AACD,KAFD;AAGD,GAJwB,EAItB,CAAC,OAAD,CAJsB,CAAzB;AAMA,SAAO,OAAP;AACD,CA1BM","sourcesContent":["import * as React from 'react';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-utilities';\nimport { useThemeClassName, useFluent } from '@fluentui/react-shared-contexts';\nimport { useKeyboardNavAttribute } from '@fluentui/react-tabster';\n\nexport type UsePortalMountNodeOptions = {\n /**\n * Since hooks cannot be called conditionally use this flag to disable creating the node\n */\n disabled?: boolean;\n};\n\n/**\n * Creates a new element on a document.body to mount portals\n */\nexport const usePortalMountNode = (options: UsePortalMountNodeOptions): HTMLElement | null => {\n const themeClassName = useThemeClassName();\n const { targetDocument, dir } = useFluent();\n\n const element = React.useMemo(() => {\n if (targetDocument === undefined || options.disabled) {\n return null;\n }\n\n const newElement = targetDocument.createElement('div');\n newElement.setAttribute('class', themeClassName);\n newElement.setAttribute('dir', dir);\n targetDocument.body.appendChild(newElement);\n\n return newElement;\n }, [targetDocument, themeClassName, dir, options.disabled]);\n\n (useKeyboardNavAttribute() as React.MutableRefObject<HTMLElement>).current = element!;\n\n useIsomorphicLayoutEffect(() => {\n return () => {\n element?.parentElement?.removeChild(element);\n };\n }, [element]);\n\n return element;\n};\n"],"sourceRoot":"../src/"}
@@ -25,7 +25,7 @@ const usePortalMountNode = options => {
25
25
  } = react_shared_contexts_1.useFluent();
26
26
  const element = React.useMemo(() => {
27
27
  if (targetDocument === undefined || options.disabled) {
28
- return undefined;
28
+ return null;
29
29
  }
30
30
 
31
31
  const newElement = targetDocument.createElement('div');
@@ -1 +1 @@
1
- {"version":3,"sources":["components/Portal/usePortalMountNode.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AASA;;AAEG;;;AACI,MAAM,kBAAkB,GAAI,OAAD,IAAuC;AACvE,QAAM,cAAc,GAAG,uBAAA,CAAA,iBAAA,EAAvB;AACA,QAAM;AAAE,IAAA,cAAF;AAAkB,IAAA;AAAlB,MAA0B,uBAAA,CAAA,SAAA,EAAhC;AAEA,QAAM,OAAO,GAAG,KAAK,CAAC,OAAN,CAAc,MAAK;AACjC,QAAI,cAAc,KAAK,SAAnB,IAAgC,OAAO,CAAC,QAA5C,EAAsD;AACpD,aAAO,SAAP;AACD;;AAED,UAAM,UAAU,GAAG,cAAc,CAAC,aAAf,CAA6B,KAA7B,CAAnB;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,OAAxB,EAAiC,cAAjC;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,KAAxB,EAA+B,GAA/B;AACA,IAAA,cAAc,CAAC,IAAf,CAAoB,WAApB,CAAgC,UAAhC;AAEA,WAAO,UAAP;AACD,GAXe,EAWb,CAAC,cAAD,EAAiB,cAAjB,EAAiC,GAAjC,EAAsC,OAAO,CAAC,QAA9C,CAXa,CAAhB;AAaC,EAAA,eAAA,CAAA,uBAAA,GAAkE,OAAlE,GAA4E,OAA5E;AAED,EAAA,iBAAA,CAAA,yBAAA,CAA0B,MAAK;AAC7B,WAAO,MAAK;;;AACV,OAAA,EAAA,GAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,aAAT,MAAsB,IAAtB,IAAsB,EAAA,KAAA,KAAA,CAAtB,GAAsB,KAAA,CAAtB,GAAsB,EAAA,CAAE,WAAF,CAAc,OAAd,CAAtB;AACD,KAFD;AAGD,GAJD,EAIG,CAAC,OAAD,CAJH;AAMA,SAAO,OAAP;AACD,CA1BM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourcesContent":["import * as React from 'react';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-utilities';\nimport { useThemeClassName, useFluent } from '@fluentui/react-shared-contexts';\nimport { useKeyboardNavAttribute } from '@fluentui/react-tabster';\n\nexport type UsePortalMountNodeOptions = {\n /**\n * Since hooks cannot be called conditionally use this flag to disable creating the node\n */\n disabled?: boolean;\n};\n\n/**\n * Creates a new element on a document.body to mount portals\n */\nexport const usePortalMountNode = (options: UsePortalMountNodeOptions) => {\n const themeClassName = useThemeClassName();\n const { targetDocument, dir } = useFluent();\n\n const element = React.useMemo(() => {\n if (targetDocument === undefined || options.disabled) {\n return undefined;\n }\n\n const newElement = targetDocument.createElement('div');\n newElement.setAttribute('class', themeClassName);\n newElement.setAttribute('dir', dir);\n targetDocument.body.appendChild(newElement);\n\n return newElement;\n }, [targetDocument, themeClassName, dir, options.disabled]);\n\n (useKeyboardNavAttribute() as React.MutableRefObject<HTMLElement>).current = element!;\n\n useIsomorphicLayoutEffect(() => {\n return () => {\n element?.parentElement?.removeChild(element);\n };\n }, [element]);\n\n return element;\n};\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["components/Portal/usePortalMountNode.ts"],"names":[],"mappings":";;;;;;;AAAA,MAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AACA,MAAA,iBAAA,gBAAA,OAAA,CAAA,2BAAA,CAAA;;AACA,MAAA,uBAAA,gBAAA,OAAA,CAAA,iCAAA,CAAA;;AACA,MAAA,eAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;AASA;;AAEG;;;AACI,MAAM,kBAAkB,GAAI,OAAD,IAA2D;AAC3F,QAAM,cAAc,GAAG,uBAAA,CAAA,iBAAA,EAAvB;AACA,QAAM;AAAE,IAAA,cAAF;AAAkB,IAAA;AAAlB,MAA0B,uBAAA,CAAA,SAAA,EAAhC;AAEA,QAAM,OAAO,GAAG,KAAK,CAAC,OAAN,CAAc,MAAK;AACjC,QAAI,cAAc,KAAK,SAAnB,IAAgC,OAAO,CAAC,QAA5C,EAAsD;AACpD,aAAO,IAAP;AACD;;AAED,UAAM,UAAU,GAAG,cAAc,CAAC,aAAf,CAA6B,KAA7B,CAAnB;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,OAAxB,EAAiC,cAAjC;AACA,IAAA,UAAU,CAAC,YAAX,CAAwB,KAAxB,EAA+B,GAA/B;AACA,IAAA,cAAc,CAAC,IAAf,CAAoB,WAApB,CAAgC,UAAhC;AAEA,WAAO,UAAP;AACD,GAXe,EAWb,CAAC,cAAD,EAAiB,cAAjB,EAAiC,GAAjC,EAAsC,OAAO,CAAC,QAA9C,CAXa,CAAhB;AAaC,EAAA,eAAA,CAAA,uBAAA,GAAkE,OAAlE,GAA4E,OAA5E;AAED,EAAA,iBAAA,CAAA,yBAAA,CAA0B,MAAK;AAC7B,WAAO,MAAK;;;AACV,OAAA,EAAA,GAAA,OAAO,KAAA,IAAP,IAAA,OAAO,KAAA,KAAA,CAAP,GAAO,KAAA,CAAP,GAAA,OAAO,CAAE,aAAT,MAAsB,IAAtB,IAAsB,EAAA,KAAA,KAAA,CAAtB,GAAsB,KAAA,CAAtB,GAAsB,EAAA,CAAE,WAAF,CAAc,OAAd,CAAtB;AACD,KAFD;AAGD,GAJD,EAIG,CAAC,OAAD,CAJH;AAMA,SAAO,OAAP;AACD,CA1BM;;AAAM,OAAA,CAAA,kBAAA,GAAkB,kBAAlB","sourcesContent":["import * as React from 'react';\nimport { useIsomorphicLayoutEffect } from '@fluentui/react-utilities';\nimport { useThemeClassName, useFluent } from '@fluentui/react-shared-contexts';\nimport { useKeyboardNavAttribute } from '@fluentui/react-tabster';\n\nexport type UsePortalMountNodeOptions = {\n /**\n * Since hooks cannot be called conditionally use this flag to disable creating the node\n */\n disabled?: boolean;\n};\n\n/**\n * Creates a new element on a document.body to mount portals\n */\nexport const usePortalMountNode = (options: UsePortalMountNodeOptions): HTMLElement | null => {\n const themeClassName = useThemeClassName();\n const { targetDocument, dir } = useFluent();\n\n const element = React.useMemo(() => {\n if (targetDocument === undefined || options.disabled) {\n return null;\n }\n\n const newElement = targetDocument.createElement('div');\n newElement.setAttribute('class', themeClassName);\n newElement.setAttribute('dir', dir);\n targetDocument.body.appendChild(newElement);\n\n return newElement;\n }, [targetDocument, themeClassName, dir, options.disabled]);\n\n (useKeyboardNavAttribute() as React.MutableRefObject<HTMLElement>).current = element!;\n\n useIsomorphicLayoutEffect(() => {\n return () => {\n element?.parentElement?.removeChild(element);\n };\n }, [element]);\n\n return element;\n};\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal",
3
- "version": "9.0.0-rc.5",
3
+ "version": "9.0.0-rc.8",
4
4
  "description": "A utility component that creates portals compatible with Fluent UI",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -21,29 +21,19 @@
21
21
  "start": "yarn storybook",
22
22
  "test": "jest --passWithNoTests",
23
23
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
24
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-portal/src && yarn docs",
25
- "storybook": "node ../../scripts/storybook/runner",
24
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-portal/src && yarn docs",
25
+ "storybook": "node ../../../scripts/storybook/runner",
26
26
  "type-check": "tsc -b tsconfig.json"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
30
  "@fluentui/react-conformance": "*",
31
- "@fluentui/scripts": "^1.0.0",
32
- "@types/enzyme": "3.10.3",
33
- "@types/enzyme-adapter-react-16": "1.0.3",
34
- "@types/react": "16.9.42",
35
- "@types/react-dom": "16.9.10",
36
- "@types/react-test-renderer": "^16.0.0",
37
- "enzyme": "~3.10.0",
38
- "enzyme-adapter-react-16": "^1.15.0",
39
- "react": "16.8.6",
40
- "react-dom": "16.8.6",
41
- "react-test-renderer": "^16.3.0"
31
+ "@fluentui/scripts": "^1.0.0"
42
32
  },
43
33
  "dependencies": {
44
- "@fluentui/react-shared-contexts": "9.0.0-rc.4",
45
- "@fluentui/react-tabster": "9.0.0-rc.5",
46
- "@fluentui/react-utilities": "9.0.0-rc.5",
34
+ "@fluentui/react-shared-contexts": "9.0.0-rc.6",
35
+ "@fluentui/react-tabster": "9.0.0-rc.8",
36
+ "@fluentui/react-utilities": "9.0.0-rc.7",
47
37
  "tslib": "^2.1.0"
48
38
  },
49
39
  "peerDependencies": {
package/lib/Portal.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components/Portal/index';
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import type { PortalProps } from './Portal.types';
3
- /**
4
- * A portal provides a way to render children into a DOM node
5
- * that exists outside the DOM hierarchy of the parent component.
6
- */
7
- export declare const Portal: React.FC<PortalProps>;
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- declare type PortalCommons = {
3
- /**
4
- * React children
5
- */
6
- children: React.ReactNode;
7
- /**
8
- * Where the portal children are mounted on DOM
9
- * @defaultValue a new element on document.body without any styling
10
- */
11
- mountNode: HTMLDivElement | undefined;
12
- };
13
- export declare type PortalProps = Partial<PortalCommons>;
14
- export declare type PortalState = PortalCommons & {
15
- /** Indicates if a Portal should be rendered. */
16
- shouldRender: boolean;
17
- /**
18
- * Ref to the root span element as virtual parent
19
- */
20
- virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;
21
- };
22
- export {};
@@ -1,4 +0,0 @@
1
- export * from './Portal';
2
- export * from './Portal.types';
3
- export * from './renderPortal';
4
- export * from './usePortal';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import type { PortalState } from './Portal.types';
3
- /**
4
- * Render the final JSX of Portal
5
- */
6
- export declare const renderPortal_unstable: (state: PortalState) => React.ReactElement;
@@ -1,9 +0,0 @@
1
- import type { PortalProps, PortalState } from './Portal.types';
2
- /**
3
- * Create the state required to render Portal.
4
- *
5
- * The returned state can be modified with hooks such as usePortalStyles, before being passed to renderPortal_unstable.
6
- *
7
- * @param props - props from this instance of Portal
8
- */
9
- export declare const usePortal_unstable: (props: PortalProps) => PortalState;
@@ -1,10 +0,0 @@
1
- export declare type UsePortalMountNodeOptions = {
2
- /**
3
- * Since hooks cannot be called conditionally use this flag to disable creating the node
4
- */
5
- disabled?: boolean;
6
- };
7
- /**
8
- * Creates a new element on a document.body to mount portals
9
- */
10
- export declare const usePortalMountNode: (options: UsePortalMountNodeOptions) => HTMLDivElement | undefined;
package/lib/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './components/Portal/index';
2
- export { elementContains, setVirtualParent } from './virtualParent/index';
@@ -1,7 +0,0 @@
1
- /**
2
- * Similar functionality to `element.contains` DOM API for use with out of order DOM elements that
3
- * checks the virtual parent hierarchy. If a virtual parents exists, it is chosen over the actual parent
4
- *
5
- * @returns true if the child can find the parent in its virtual hierarchy
6
- */
7
- export declare function elementContains(parent: HTMLElement | null, child: HTMLElement | null): boolean;
@@ -1,5 +0,0 @@
1
- /**
2
- * Gets the element which is the parent of a given element.
3
- * This method prefers the virtual parent over real DOM parent when present.
4
- */
5
- export declare function getParent(child: HTMLElement | null): HTMLElement | null;
@@ -1,4 +0,0 @@
1
- /**
2
- * Gets the virtual parent given the child element, if it exists.
3
- */
4
- export declare function getVirtualParent(child: HTMLElement): HTMLElement | undefined;
@@ -1,5 +0,0 @@
1
- export * from './elementContains';
2
- export * from './getParent';
3
- export * from './getVirtualParent';
4
- export * from './isVirtualElement';
5
- export * from './setVirtualParent';
@@ -1,5 +0,0 @@
1
- import type { VirtualElement } from './types';
2
- /**
3
- * Determines whether or not an element has the virtual hierarchy extension.
4
- */
5
- export declare function isVirtualElement(element: HTMLElement | VirtualElement): element is VirtualElement;
@@ -1,7 +0,0 @@
1
- /**
2
- * Sets the virtual parent of an element.
3
- *
4
- * @param child - Theme element to set the virtual parent
5
- * @param parent - The virtual parent, use `undefined` to remove a virtual parent relationship
6
- */
7
- export declare function setVirtualParent(child: HTMLElement, parent?: HTMLElement): void;
@@ -1,5 +0,0 @@
1
- export interface VirtualElement extends HTMLElement {
2
- _virtual: {
3
- parent?: HTMLElement;
4
- };
5
- }
@@ -1 +0,0 @@
1
- export * from './components/Portal/index';
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- import type { PortalProps } from './Portal.types';
3
- /**
4
- * A portal provides a way to render children into a DOM node
5
- * that exists outside the DOM hierarchy of the parent component.
6
- */
7
- export declare const Portal: React.FC<PortalProps>;
@@ -1,22 +0,0 @@
1
- import * as React from 'react';
2
- declare type PortalCommons = {
3
- /**
4
- * React children
5
- */
6
- children: React.ReactNode;
7
- /**
8
- * Where the portal children are mounted on DOM
9
- * @defaultValue a new element on document.body without any styling
10
- */
11
- mountNode: HTMLDivElement | undefined;
12
- };
13
- export declare type PortalProps = Partial<PortalCommons>;
14
- export declare type PortalState = PortalCommons & {
15
- /** Indicates if a Portal should be rendered. */
16
- shouldRender: boolean;
17
- /**
18
- * Ref to the root span element as virtual parent
19
- */
20
- virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;
21
- };
22
- export {};
@@ -1,4 +0,0 @@
1
- export * from './Portal';
2
- export * from './Portal.types';
3
- export * from './renderPortal';
4
- export * from './usePortal';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import type { PortalState } from './Portal.types';
3
- /**
4
- * Render the final JSX of Portal
5
- */
6
- export declare const renderPortal_unstable: (state: PortalState) => React.ReactElement;
@@ -1,9 +0,0 @@
1
- import type { PortalProps, PortalState } from './Portal.types';
2
- /**
3
- * Create the state required to render Portal.
4
- *
5
- * The returned state can be modified with hooks such as usePortalStyles, before being passed to renderPortal_unstable.
6
- *
7
- * @param props - props from this instance of Portal
8
- */
9
- export declare const usePortal_unstable: (props: PortalProps) => PortalState;
@@ -1,10 +0,0 @@
1
- export declare type UsePortalMountNodeOptions = {
2
- /**
3
- * Since hooks cannot be called conditionally use this flag to disable creating the node
4
- */
5
- disabled?: boolean;
6
- };
7
- /**
8
- * Creates a new element on a document.body to mount portals
9
- */
10
- export declare const usePortalMountNode: (options: UsePortalMountNodeOptions) => HTMLDivElement | undefined;
@@ -1,2 +0,0 @@
1
- export * from './components/Portal/index';
2
- export { elementContains, setVirtualParent } from './virtualParent/index';
@@ -1,7 +0,0 @@
1
- /**
2
- * Similar functionality to `element.contains` DOM API for use with out of order DOM elements that
3
- * checks the virtual parent hierarchy. If a virtual parents exists, it is chosen over the actual parent
4
- *
5
- * @returns true if the child can find the parent in its virtual hierarchy
6
- */
7
- export declare function elementContains(parent: HTMLElement | null, child: HTMLElement | null): boolean;
@@ -1,5 +0,0 @@
1
- /**
2
- * Gets the element which is the parent of a given element.
3
- * This method prefers the virtual parent over real DOM parent when present.
4
- */
5
- export declare function getParent(child: HTMLElement | null): HTMLElement | null;
@@ -1,4 +0,0 @@
1
- /**
2
- * Gets the virtual parent given the child element, if it exists.
3
- */
4
- export declare function getVirtualParent(child: HTMLElement): HTMLElement | undefined;
@@ -1,5 +0,0 @@
1
- export * from './elementContains';
2
- export * from './getParent';
3
- export * from './getVirtualParent';
4
- export * from './isVirtualElement';
5
- export * from './setVirtualParent';
@@ -1,5 +0,0 @@
1
- import type { VirtualElement } from './types';
2
- /**
3
- * Determines whether or not an element has the virtual hierarchy extension.
4
- */
5
- export declare function isVirtualElement(element: HTMLElement | VirtualElement): element is VirtualElement;
@@ -1,7 +0,0 @@
1
- /**
2
- * Sets the virtual parent of an element.
3
- *
4
- * @param child - Theme element to set the virtual parent
5
- * @param parent - The virtual parent, use `undefined` to remove a virtual parent relationship
6
- */
7
- export declare function setVirtualParent(child: HTMLElement, parent?: HTMLElement): void;
@@ -1,5 +0,0 @@
1
- export interface VirtualElement extends HTMLElement {
2
- _virtual: {
3
- parent?: HTMLElement;
4
- };
5
- }