@fluentui/react-portal-compat-context 9.0.14 → 9.0.15

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 Mon, 08 Sep 2025 12:41:55 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 02 Oct 2025 15:07:20 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.15)
8
+
9
+ Thu, 02 Oct 2025 15:07:20 GMT
10
+ [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
+
12
+ ### Patches
13
+
14
+ - feat: enforce usage of use client directive for files with client-only features ([PR #35173](https://github.com/microsoft/fluentui/pull/35173) by dmytrokirpa@microsoft.com)
15
+
7
16
  ## [9.0.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.14)
8
17
 
9
- Mon, 08 Sep 2025 12:41:55 GMT
18
+ Mon, 08 Sep 2025 12:51:15 GMT
10
19
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.13..@fluentui/react-portal-compat-context_v9.0.14)
11
20
 
12
21
  ### Patches
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import * as React from 'react';
2
3
  var PortalCompatContext = React.createContext(undefined);
3
4
  var portalCompatContextDefaultValue = function() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["React","PortalCompatContext","createContext","undefined","portalCompatContextDefaultValue","PortalCompatContextProvider","Provider","usePortalCompat","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAG/B,IAAMC,sBAAsBD,MAAME,aAAa,CAC7CC;AAGF,IAAMC,kCAAkC;WAAM;eAAMD;;;AAEpD,OAAO,IAAME,8BAA8BJ,oBAAoBK,QAAQ,CAAC;AAExE,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,kCAAjBD,+BAAAA,oBAAyCI;AAClD"}
1
+ {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["React","PortalCompatContext","createContext","undefined","portalCompatContextDefaultValue","PortalCompatContextProvider","Provider","usePortalCompat","useContext"],"mappings":"AAAA;AAEA,YAAYA,WAAW,QAAQ;AAG/B,IAAMC,sBAAsBD,MAAME,aAAa,CAC7CC;AAGF,IAAMC,kCAAkC;WAAM;eAAMD;;;AAEpD,OAAO,IAAME,8BAA8BJ,oBAAoBK,QAAQ,CAAC;AAExE,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,kCAAjBD,+BAAAA,oBAAyCI;AAClD"}
@@ -4,6 +4,7 @@ define([
4
4
  "@swc/helpers/_/_interop_require_wildcard",
5
5
  "react"
6
6
  ], function(require, exports, _interop_require_wildcard, _react) {
7
+ 'use client';
7
8
  "use strict";
8
9
  Object.defineProperty(exports, "__esModule", {
9
10
  value: true
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","useContext"],"mappings":";;;;IAAuB;;;;;;;;;;;;;QASVA,2BAA2B;mBAA3BA;;QAEGC,eAAe;mBAAfA;;;;IARhB,IAAMC,sBAAsBC,OAAMC,aAAa,CAC7CC;IAGF,IAAMC,kCAAkC;eAAM;mBAAMD;;;IAE7C,IAAML,8BAA8BE,oBAAoBK,QAAQ;IAEhE,SAASN;YACPE;QAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,kCAAjBC,+BAAAA,oBAAyCG;IAClD"}
1
+ {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","useContext"],"mappings":";;;;IAEuB;;IAFvB;;;;;;;;;;;;QAWaA,2BAA2B;mBAA3BA;;QAEGC,eAAe;mBAAfA;;;;IARhB,IAAMC,sBAAsBC,OAAMC,aAAa,CAC7CC;IAGF,IAAMC,kCAAkC;eAAM;mBAAMD;;;IAE7C,IAAML,8BAA8BE,oBAAoBK,QAAQ;IAEhE,SAASN;YACPE;QAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,kCAAjBC,+BAAAA,oBAAyCG;IAClD"}
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  "use strict";
2
3
  Object.defineProperty(exports, "__esModule", {
3
4
  value: true
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","useContext"],"mappings":";;;;;;;;;;;IASaA,2BAA2B;eAA3BA;;IAEGC,eAAe;eAAfA;;;;+DAXO;AAGvB,IAAMC,sBAAsBC,OAAMC,aAAa,CAC7CC;AAGF,IAAMC,kCAAkC;WAAM;eAAMD;;;AAE7C,IAAML,8BAA8BE,oBAAoBK,QAAQ;AAEhE,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,kCAAjBC,+BAAAA,oBAAyCG;AAClD"}
1
+ {"version":3,"sources":["../src/PortalCompatContext.ts"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn | undefined>(\n undefined,\n) as React.Context<RegisterPortalFn>;\n\nconst portalCompatContextDefaultValue = () => () => undefined;\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat(): RegisterPortalFn {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","useContext"],"mappings":"AAAA;;;;;;;;;;;;IAWaA,2BAA2B;eAA3BA;;IAEGC,eAAe;eAAfA;;;;+DAXO;AAGvB,IAAMC,sBAAsBC,OAAMC,aAAa,CAC7CC;AAGF,IAAMC,kCAAkC;WAAM;eAAMD;;;AAE7C,IAAML,8BAA8BE,oBAAoBK,QAAQ;AAEhE,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,kCAAjBC,+BAAAA,oBAAyCG;AAClD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal-compat-context",
3
- "version": "9.0.14",
3
+ "version": "9.0.15",
4
4
  "description": "A package that holds React context for compatibility of React Contexts",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",