@fluentui/react-portal 0.0.0-nightly-20231107-0406.1 → 0.0.0-nightly-20231109-0405.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,21 +1,21 @@
1
1
  # Change Log - @fluentui/react-portal
2
2
 
3
- This log was last generated on Tue, 07 Nov 2023 04:20:16 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 09 Nov 2023 04:19:08 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20231107-0406.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v0.0.0-nightly-20231107-0406.1)
7
+ ## [0.0.0-nightly-20231109-0405.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v0.0.0-nightly-20231109-0405.1)
8
8
 
9
- Tue, 07 Nov 2023 04:20:16 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.3.27..@fluentui/react-portal_v0.0.0-nightly-20231107-0406.1)
9
+ Thu, 09 Nov 2023 04:19:08 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.3.27..@fluentui/react-portal_v0.0.0-nightly-20231109-0405.1)
11
11
 
12
12
  ### Changes
13
13
 
14
14
  - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
- - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20231107-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c32c6398abe541a13a8e64576351b3c548c222c8) by beachball)
16
- - Bump @fluentui/react-tabster to v0.0.0-nightly-20231107-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c32c6398abe541a13a8e64576351b3c548c222c8) by beachball)
17
- - Bump @fluentui/react-utilities to v0.0.0-nightly-20231107-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c32c6398abe541a13a8e64576351b3c548c222c8) by beachball)
18
- - Bump @fluentui/react-conformance to v0.0.0-nightly-20231107-0406.1 ([commit](https://github.com/microsoft/fluentui/commit/c32c6398abe541a13a8e64576351b3c548c222c8) by beachball)
15
+ - Bump @fluentui/react-shared-contexts to v0.0.0-nightly-20231109-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/fbf06b9e7543b49f391a2a1f0ad7dae278b4372d) by beachball)
16
+ - Bump @fluentui/react-tabster to v0.0.0-nightly-20231109-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/fbf06b9e7543b49f391a2a1f0ad7dae278b4372d) by beachball)
17
+ - Bump @fluentui/react-utilities to v0.0.0-nightly-20231109-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/fbf06b9e7543b49f391a2a1f0ad7dae278b4372d) by beachball)
18
+ - Bump @fluentui/react-conformance to v0.0.0-nightly-20231109-0405.1 ([commit](https://github.com/microsoft/fluentui/commit/fbf06b9e7543b49f391a2a1f0ad7dae278b4372d) by beachball)
19
19
 
20
20
  ## [9.3.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.3.27)
21
21
 
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"}
@@ -21,6 +21,9 @@ _export(exports, {
21
21
  renderPortal_unstable: function() {
22
22
  return _index.renderPortal_unstable;
23
23
  },
24
+ toMountNodeProps: function() {
25
+ return _index.toMountNodeProps;
26
+ },
24
27
  usePortal_unstable: function() {
25
28
  return _index.usePortal_unstable;
26
29
  }
@@ -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;;;gCADR;uBACgB"}
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": "0.0.0-nightly-20231107-0406.1",
3
+ "version": "0.0.0-nightly-20231109-0405.1",
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",
@@ -27,14 +27,14 @@
27
27
  },
28
28
  "devDependencies": {
29
29
  "@fluentui/eslint-plugin": "*",
30
- "@fluentui/react-conformance": "0.0.0-nightly-20231107-0406.1",
30
+ "@fluentui/react-conformance": "0.0.0-nightly-20231109-0405.1",
31
31
  "@fluentui/scripts-api-extractor": "*",
32
32
  "@fluentui/scripts-tasks": "*"
33
33
  },
34
34
  "dependencies": {
35
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20231107-0406.1",
36
- "@fluentui/react-tabster": "0.0.0-nightly-20231107-0406.1",
37
- "@fluentui/react-utilities": "0.0.0-nightly-20231107-0406.1",
35
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20231109-0405.1",
36
+ "@fluentui/react-tabster": "0.0.0-nightly-20231109-0405.1",
37
+ "@fluentui/react-utilities": "0.0.0-nightly-20231109-0405.1",
38
38
  "@griffel/react": "^1.5.14",
39
39
  "@swc/helpers": "^0.5.1",
40
40
  "use-disposable": "^1.0.1"
@@ -54,5 +54,11 @@
54
54
  "require": "./lib-commonjs/index.js"
55
55
  },
56
56
  "./package.json": "./package.json"
57
- }
57
+ },
58
+ "files": [
59
+ "*.md",
60
+ "dist/*.d.ts",
61
+ "lib",
62
+ "lib-commonjs"
63
+ ]
58
64
  }