@fluentui/react-portal-compat 9.2.44 → 9.2.45

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,24 @@
1
1
  # Change Log - @fluentui/react-portal-compat
2
2
 
3
- This log was last generated on Tue, 04 Aug 2026 10:10:13 GMT and should not be manually modified.
3
+ <!-- This log was last generated on Tue, 11 Aug 2026 17:16:02 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.2.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.2.45)
8
+
9
+ Tue, 11 Aug 2026 17:16:02 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat_v9.2.44..@fluentui/react-portal-compat_v9.2.45)
11
+
12
+ ### Patches
13
+
14
+ - Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-portal-compat-context to v9.0.16 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.26.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-components to v9.74.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+
7
19
  ## [9.2.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat_v9.2.44)
8
20
 
9
- Tue, 04 Aug 2026 10:10:13 GMT
21
+ Tue, 04 Aug 2026 10:12:26 GMT
10
22
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat_v9.2.43..@fluentui/react-portal-compat_v9.2.44)
11
23
 
12
24
  ### Patches
@@ -0,0 +1,7 @@
1
+ import * as React_2 from 'react';
2
+
3
+ export declare const PortalCompatProvider: React_2.FC<{
4
+ children?: React_2.ReactNode;
5
+ }>;
6
+
7
+ export { }
@@ -1,8 +1,8 @@
1
1
  'use client';
2
- import * as React from 'react';
3
- import { fluentProviderClassNames, useThemeClassName } from '@fluentui/react-components';
4
- import { PortalCompatContextProvider } from '@fluentui/react-portal-compat-context';
5
- import { applyFocusVisiblePolyfill } from '@fluentui/react-tabster';
2
+ import * as React from "react";
3
+ import { fluentProviderClassNames, useThemeClassName } from "@fluentui/react-components";
4
+ import { PortalCompatContextProvider } from "@fluentui/react-portal-compat-context";
5
+ import { applyFocusVisiblePolyfill } from "@fluentui/react-tabster";
6
6
  const CLASS_NAME_REGEX = new RegExp(`([^\\s]*${fluentProviderClassNames.root}\\w+)`, 'g');
7
7
  export function useProviderThemeClasses() {
8
8
  const themeClassName = useThemeClassName();
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- export { PortalCompatProvider } from './PortalCompatProvider';
1
+ export { PortalCompatProvider } from "./PortalCompatProvider.js";
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { PortalCompatProvider } from './PortalCompatProvider';\n"],"names":["PortalCompatProvider"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,yBAAyB"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export { PortalCompatProvider } from './PortalCompatProvider';\n"],"names":["PortalCompatProvider"],"mappings":"AAAA,SAASA,oBAAoB,QAAQ,4BAAyB"}
package/lib-amd/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  define([
2
2
  "require",
3
3
  "exports",
4
- "./PortalCompatProvider"
4
+ "./PortalCompatProvider.js"
5
5
  ], function(require, exports, _PortalCompatProvider) {
6
6
  "use strict";
7
7
  Object.defineProperty(exports, "__esModule", {
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "PortalCompatProvider", {
8
8
  return _PortalCompatProvider.PortalCompatProvider;
9
9
  }
10
10
  });
11
- const _PortalCompatProvider = require("./PortalCompatProvider");
11
+ const _PortalCompatProvider = require("./PortalCompatProvider.cjs");
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal-compat",
3
- "version": "9.2.44",
3
+ "version": "9.2.45",
4
4
  "description": "A package that contains compatibility layer for React Portals",
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,
@@ -12,12 +12,12 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "dependencies": {
15
- "@fluentui/react-portal-compat-context": "^9.0.15",
16
- "@fluentui/react-tabster": "^9.26.16",
15
+ "@fluentui/react-portal-compat-context": "^9.0.16",
16
+ "@fluentui/react-tabster": "^9.26.17",
17
17
  "@swc/helpers": "^0.5.1"
18
18
  },
19
19
  "peerDependencies": {
20
- "@fluentui/react-components": "^9.74.5",
20
+ "@fluentui/react-components": "^9.74.6",
21
21
  "@types/react": ">=16.14.0 <20.0.0",
22
22
  "react": ">=16.14.0 <20.0.0"
23
23
  },
@@ -29,18 +29,24 @@
29
29
  },
30
30
  "exports": {
31
31
  ".": {
32
- "types": "./dist/index.d.ts",
33
- "node": "./lib-commonjs/index.js",
34
- "import": "./lib/index.js",
35
- "require": "./lib-commonjs/index.js"
32
+ "import": {
33
+ "types": "./dist/index.d.ts",
34
+ "default": "./lib/index.js"
35
+ },
36
+ "require": {
37
+ "types": "./dist/index.d.cts",
38
+ "default": "./lib-commonjs/index.cjs"
39
+ }
36
40
  },
37
41
  "./package.json": "./package.json"
38
42
  },
39
43
  "files": [
40
44
  "*.md",
41
45
  "dist/*.d.ts",
46
+ "dist/*.d.cts",
42
47
  "lib",
43
48
  "lib-amd",
44
49
  "lib-commonjs"
45
- ]
50
+ ],
51
+ "type": "module"
46
52
  }
File without changes