@fluentui/react-portal-compat-context 9.0.15 → 9.74.3-experimental.esm.20260709-49ee7a20cf.0

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,12 +1,21 @@
1
1
  # Change Log - @fluentui/react-portal-compat-context
2
2
 
3
- This log was last generated on Thu, 02 Oct 2025 15:07:20 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 09 Jul 2026 17:34:13 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.74.3-experimental.esm.20260709-49ee7a20cf.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
8
+
9
+ Thu, 09 Jul 2026 17:34:13 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.15..@fluentui/react-portal-compat-context_v9.74.3-experimental.esm.20260709-49ee7a20cf.0)
11
+
12
+ ### Changes
13
+
14
+ - Release 9.74.3-experimental.esm.20260709-49ee7a20cf ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
+
7
16
  ## [9.0.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.15)
8
17
 
9
- Thu, 02 Oct 2025 15:07:20 GMT
18
+ Thu, 02 Oct 2025 15:12:30 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.14..@fluentui/react-portal-compat-context_v9.0.15)
11
20
 
12
21
  ### Patches
@@ -0,0 +1,9 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const PortalCompatContextProvider: React_2.Provider<RegisterPortalFn>;
4
+
5
+ export declare type RegisterPortalFn = (el: HTMLElement) => () => void;
6
+
7
+ export declare function usePortalCompat(): RegisterPortalFn;
8
+
9
+ export { }
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- import * as React from 'react';
2
+ import * as React from "react";
3
3
  var PortalCompatContext = React.createContext(undefined);
4
4
  var portalCompatContextDefaultValue = function() {
5
5
  return function() {
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';
1
+ export { PortalCompatContextProvider, usePortalCompat } from "./PortalCompatContext.js";
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":"AAAA,SAASA,2BAA2B,EAAEC,eAAe,QAAQ,wBAAwB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":"AAAA,SAASA,2BAA2B,EAAEC,eAAe,QAAQ,2BAAwB"}
package/lib-amd/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  define([
2
2
  "require",
3
3
  "exports",
4
- "./PortalCompatContext"
4
+ "./PortalCompatContext.js"
5
5
  ], function(require, exports, _PortalCompatContext) {
6
6
  "use strict";
7
7
  Object.defineProperty(exports, "__esModule", {
@@ -16,4 +16,4 @@ _export(exports, {
16
16
  return _PortalCompatContext.usePortalCompat;
17
17
  }
18
18
  });
19
- var _PortalCompatContext = require("./PortalCompatContext");
19
+ var _PortalCompatContext = require("./PortalCompatContext.cjs");
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal-compat-context",
3
- "version": "9.0.15",
3
+ "version": "9.74.3-experimental.esm.20260709-49ee7a20cf.0",
4
4
  "description": "A package that holds React context for compatibility of React Contexts",
5
- "main": "lib-commonjs/index.js",
5
+ "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "typings": "./dist/index.d.ts",
8
8
  "sideEffects": false,
@@ -11,10 +11,6 @@
11
11
  "url": "https://github.com/microsoft/fluentui"
12
12
  },
13
13
  "license": "MIT",
14
- "devDependencies": {
15
- "@fluentui/eslint-plugin": "*",
16
- "@fluentui/scripts-api-extractor": "*"
17
- },
18
14
  "dependencies": {
19
15
  "@swc/helpers": "^0.5.1"
20
16
  },
@@ -22,26 +18,27 @@
22
18
  "@types/react": ">=16.14.0 <20.0.0",
23
19
  "react": ">=16.14.0 <20.0.0"
24
20
  },
25
- "beachball": {
26
- "disallowedChangeTypes": [
27
- "major",
28
- "prerelease"
29
- ]
30
- },
21
+ "beachball": {},
31
22
  "exports": {
32
23
  ".": {
33
- "types": "./dist/index.d.ts",
34
- "node": "./lib-commonjs/index.js",
35
- "import": "./lib/index.js",
36
- "require": "./lib-commonjs/index.js"
24
+ "import": {
25
+ "types": "./dist/index.d.ts",
26
+ "default": "./lib/index.js"
27
+ },
28
+ "require": {
29
+ "types": "./dist/index.d.cts",
30
+ "default": "./lib-commonjs/index.cjs"
31
+ }
37
32
  },
38
33
  "./package.json": "./package.json"
39
34
  },
40
35
  "files": [
41
36
  "*.md",
42
37
  "dist/*.d.ts",
38
+ "dist/*.d.cts",
43
39
  "lib",
44
40
  "lib-amd",
45
41
  "lib-commonjs"
46
- ]
42
+ ],
43
+ "type": "module"
47
44
  }
File without changes
File without changes
File without changes