@fluentui/react-portal 9.3.27 → 9.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -2
- package/dist/index.d.ts +5 -0
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +3 -0
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +11 -5
- package/CHANGELOG.json +0 -4188
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,28 @@
|
|
1
1
|
# Change Log - @fluentui/react-portal
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 09 Nov 2023 17:23:08 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.4.0)
|
8
|
+
|
9
|
+
Thu, 09 Nov 2023 17:23:08 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.3.27..@fluentui/react-portal_v9.4.0)
|
11
|
+
|
12
|
+
### Minor changes
|
13
|
+
|
14
|
+
- feat: export toMountNodeProps() ([PR #29772](https://github.com/microsoft/fluentui/pull/29772) by jaguilarvega@microsoft.com)
|
15
|
+
- Bump @fluentui/react-shared-contexts to v9.12.0 ([PR #29800](https://github.com/microsoft/fluentui/pull/29800) by beachball)
|
16
|
+
- Bump @fluentui/react-tabster to v9.14.4 ([PR #29800](https://github.com/microsoft/fluentui/pull/29800) by beachball)
|
17
|
+
- Bump @fluentui/react-utilities to v9.15.2 ([PR #29800](https://github.com/microsoft/fluentui/pull/29800) by beachball)
|
18
|
+
|
19
|
+
### Patches
|
20
|
+
|
21
|
+
- chore: use package.json#files setup instead of npmignore for all v9 libraries ([PR #29734](https://github.com/microsoft/fluentui/pull/29734) by martinhochel@microsoft.com)
|
22
|
+
|
7
23
|
## [9.3.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.3.27)
|
8
24
|
|
9
|
-
Wed, 01 Nov 2023 12:
|
25
|
+
Wed, 01 Nov 2023 12:55:59 GMT
|
10
26
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.3.26..@fluentui/react-portal_v9.3.27)
|
11
27
|
|
12
28
|
### Patches
|
package/dist/index.d.ts
CHANGED
@@ -41,6 +41,11 @@ export declare const renderPortal_unstable: (state: PortalState) => React_2.Reac
|
|
41
41
|
|
42
42
|
export { setVirtualParent }
|
43
43
|
|
44
|
+
export declare function toMountNodeProps(mountNode: PortalProps['mountNode']): {
|
45
|
+
element?: HTMLElement | null;
|
46
|
+
className?: string;
|
47
|
+
};
|
48
|
+
|
44
49
|
/**
|
45
50
|
* Create the state required to render Portal.
|
46
51
|
*
|
package/lib/index.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
export { elementContains, setVirtualParent } from '@fluentui/react-utilities';
|
2
|
-
export { Portal, renderPortal_unstable, usePortal_unstable } from './components/Portal/index';
|
2
|
+
export { Portal, renderPortal_unstable, toMountNodeProps, usePortal_unstable } from './components/Portal/index';
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export { elementContains, setVirtualParent } from '@fluentui/react-utilities';\nexport { Portal, renderPortal_unstable, usePortal_unstable } from './components/Portal/index';\nexport type { PortalProps, PortalState } from './components/Portal/index';\n"],"names":["elementContains","setVirtualParent","Portal","renderPortal_unstable","usePortal_unstable"],"mappings":"AAAA,SAASA,eAAe,EAAEC,gBAAgB,QAAQ,4BAA4B;AAC9E,SAASC,MAAM,EAAEC,qBAAqB,EAAEC,kBAAkB,QAAQ,4BAA4B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { elementContains, setVirtualParent } from '@fluentui/react-utilities';\nexport { Portal, renderPortal_unstable, toMountNodeProps, usePortal_unstable } from './components/Portal/index';\nexport type { PortalProps, PortalState } from './components/Portal/index';\n"],"names":["elementContains","setVirtualParent","Portal","renderPortal_unstable","toMountNodeProps","usePortal_unstable"],"mappings":"AAAA,SAASA,eAAe,EAAEC,gBAAgB,QAAQ,4BAA4B;AAC9E,SAASC,MAAM,EAAEC,qBAAqB,EAAEC,gBAAgB,EAAEC,kBAAkB,QAAQ,4BAA4B"}
|
package/lib-commonjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.js"],"sourcesContent":["export { elementContains, setVirtualParent } from '@fluentui/react-utilities';\nexport { Portal, renderPortal_unstable, usePortal_unstable } from './components/Portal/index';\n"],"names":["elementContains","setVirtualParent","Portal","renderPortal_unstable","usePortal_unstable"],"mappings":";;;;;;;;;;;IAASA,eAAe;eAAfA,+BAAe;;IAAEC,gBAAgB;eAAhBA,gCAAgB;;IACjCC,MAAM;eAANA,aAAM;;IAAEC,qBAAqB;eAArBA,4BAAqB;;IAAEC,kBAAkB;eAAlBA,yBAAkB;;;
|
1
|
+
{"version":3,"sources":["index.js"],"sourcesContent":["export { elementContains, setVirtualParent } from '@fluentui/react-utilities';\nexport { Portal, renderPortal_unstable, toMountNodeProps, usePortal_unstable } from './components/Portal/index';\n"],"names":["elementContains","setVirtualParent","Portal","renderPortal_unstable","toMountNodeProps","usePortal_unstable"],"mappings":";;;;;;;;;;;IAASA,eAAe;eAAfA,+BAAe;;IAAEC,gBAAgB;eAAhBA,gCAAgB;;IACjCC,MAAM;eAANA,aAAM;;IAAEC,qBAAqB;eAArBA,4BAAqB;;IAAEC,gBAAgB;eAAhBA,uBAAgB;;IAAEC,kBAAkB;eAAlBA,yBAAkB;;;gCAD1B;uBACkC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-portal",
|
3
|
-
"version": "9.
|
3
|
+
"version": "9.4.0",
|
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",
|
@@ -32,9 +32,9 @@
|
|
32
32
|
"@fluentui/scripts-tasks": "*"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
-
"@fluentui/react-shared-contexts": "^9.
|
36
|
-
"@fluentui/react-tabster": "^9.14.
|
37
|
-
"@fluentui/react-utilities": "^9.15.
|
35
|
+
"@fluentui/react-shared-contexts": "^9.12.0",
|
36
|
+
"@fluentui/react-tabster": "^9.14.4",
|
37
|
+
"@fluentui/react-utilities": "^9.15.2",
|
38
38
|
"@griffel/react": "^1.5.14",
|
39
39
|
"@swc/helpers": "^0.5.1",
|
40
40
|
"use-disposable": "^1.0.1"
|
@@ -59,5 +59,11 @@
|
|
59
59
|
"require": "./lib-commonjs/index.js"
|
60
60
|
},
|
61
61
|
"./package.json": "./package.json"
|
62
|
-
}
|
62
|
+
},
|
63
|
+
"files": [
|
64
|
+
"*.md",
|
65
|
+
"dist/*.d.ts",
|
66
|
+
"lib",
|
67
|
+
"lib-commonjs"
|
68
|
+
]
|
63
69
|
}
|