@fluentui/react-portal-compat-context 9.0.5 → 9.0.7

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.json CHANGED
@@ -2,7 +2,96 @@
2
2
  "name": "@fluentui/react-portal-compat-context",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 21 Mar 2023 21:18:57 GMT",
5
+ "date": "Tue, 05 Sep 2023 13:23:04 GMT",
6
+ "tag": "@fluentui/react-portal-compat-context_v9.0.7",
7
+ "version": "9.0.7",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "bernardo.sunderhus@gmail.com",
12
+ "package": "@fluentui/react-portal-compat-context",
13
+ "commit": "b93c2ac22355b6cb6f33dd509c6cd9c21f4fffc8",
14
+ "comment": "bumps @swc/helpers version to 0.5.1"
15
+ },
16
+ {
17
+ "author": "bernardo.sunderhus@gmail.com",
18
+ "package": "@fluentui/react-portal-compat-context",
19
+ "commit": "eea6d93a62249ba4fba3347fb291c67ee1a3fb24",
20
+ "comment": "bumps react peer dependencies to v16.14.0"
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ {
26
+ "date": "Wed, 28 Jun 2023 11:12:30 GMT",
27
+ "tag": "@fluentui/react-portal-compat-context_v9.0.6",
28
+ "version": "9.0.6",
29
+ "comments": {
30
+ "none": [
31
+ {
32
+ "author": "martinhochel@microsoft.com",
33
+ "package": "@fluentui/react-portal-compat-context",
34
+ "commit": "fbe878e9c9785588197481f172c42c2c0a230292",
35
+ "comment": "fix: update .npmignore to unify v8 packages and exclude project.json"
36
+ }
37
+ ]
38
+ }
39
+ },
40
+ {
41
+ "date": "Wed, 24 May 2023 20:45:31 GMT",
42
+ "tag": "@fluentui/react-portal-compat-context_v9.0.6",
43
+ "version": "9.0.6",
44
+ "comments": {
45
+ "none": [
46
+ {
47
+ "author": "olfedias@microsoft.com",
48
+ "package": "@fluentui/react-portal-compat-context",
49
+ "commit": "69e0617a93cb44ef42f3bd19284b7dc5fe27fed3",
50
+ "comment": "chore: update test-ssr script"
51
+ }
52
+ ]
53
+ }
54
+ },
55
+ {
56
+ "date": "Thu, 18 May 2023 00:39:11 GMT",
57
+ "tag": "@fluentui/react-portal-compat-context_v9.0.6",
58
+ "version": "9.0.6",
59
+ "comments": {
60
+ "none": [
61
+ {
62
+ "author": "olfedias@microsoft.com",
63
+ "package": "@fluentui/react-portal-compat-context",
64
+ "commit": "06cd515eda59a3078bfe32f9cc7c1f281cd20208",
65
+ "comment": "chore: add test-ssr script to v9 packages"
66
+ }
67
+ ]
68
+ }
69
+ },
70
+ {
71
+ "date": "Fri, 12 May 2023 20:27:35 GMT",
72
+ "tag": "@fluentui/react-portal-compat-context_v9.0.6",
73
+ "version": "9.0.6",
74
+ "comments": {
75
+ "none": [
76
+ {
77
+ "author": "martinhochel@microsoft.com",
78
+ "package": "@fluentui/react-portal-compat-context",
79
+ "commit": "dbda7fa69e3000aaf8dd4a061e254ebd35198b8e",
80
+ "comment": "fix: update npmignore files to fix npm8/node16 regression how npm publish works"
81
+ }
82
+ ],
83
+ "patch": [
84
+ {
85
+ "author": "olfedias@microsoft.com",
86
+ "package": "@fluentui/react-portal-compat-context",
87
+ "commit": "c28decb23d191a0daaaf6d5d1832429715102129",
88
+ "comment": "chore: exclude .swcrc from being published"
89
+ }
90
+ ]
91
+ }
92
+ },
93
+ {
94
+ "date": "Tue, 21 Mar 2023 21:23:45 GMT",
6
95
  "tag": "@fluentui/react-portal-compat-context_v9.0.5",
7
96
  "version": "9.0.5",
8
97
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,31 @@
1
1
  # Change Log - @fluentui/react-portal-compat-context
2
2
 
3
- This log was last generated on Tue, 21 Mar 2023 21:18:57 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 05 Sep 2023 13:23:04 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.7)
8
+
9
+ Tue, 05 Sep 2023 13:23:04 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.6..@fluentui/react-portal-compat-context_v9.0.7)
11
+
12
+ ### Patches
13
+
14
+ - bumps @swc/helpers version to 0.5.1 ([PR #28989](https://github.com/microsoft/fluentui/pull/28989) by bernardo.sunderhus@gmail.com)
15
+ - bumps react peer dependencies to v16.14.0 ([PR #28959](https://github.com/microsoft/fluentui/pull/28959) by bernardo.sunderhus@gmail.com)
16
+
17
+ ## [9.0.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.6)
18
+
19
+ Fri, 12 May 2023 20:27:35 GMT
20
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.5..@fluentui/react-portal-compat-context_v9.0.6)
21
+
22
+ ### Patches
23
+
24
+ - chore: exclude .swcrc from being published ([PR #27740](https://github.com/microsoft/fluentui/pull/27740) by olfedias@microsoft.com)
25
+
7
26
  ## [9.0.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.5)
8
27
 
9
- Tue, 21 Mar 2023 21:18:57 GMT
28
+ Tue, 21 Mar 2023 21:23:45 GMT
10
29
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.4..@fluentui/react-portal-compat-context_v9.0.5)
11
30
 
12
31
  ### Patches
@@ -1,9 +1,8 @@
1
1
  import * as React from 'react';
2
- const PortalCompatContext = /*#__PURE__*/React.createContext(undefined);
3
- const portalCompatContextDefaultValue = () => () => undefined;
2
+ const PortalCompatContext = React.createContext(undefined);
3
+ const portalCompatContextDefaultValue = ()=>()=>undefined;
4
4
  export const PortalCompatContextProvider = PortalCompatContext.Provider;
5
5
  export function usePortalCompat() {
6
- var _React_useContext;
7
- return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
6
+ var _React_useContext;
7
+ return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
8
8
  }
9
- //# sourceMappingURL=PortalCompatContext.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","PortalCompatContext","createContext","undefined","portalCompatContextDefaultValue","PortalCompatContextProvider","Provider","usePortalCompat","_React_useContext","useContext"],"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() {\n return React.useContext(PortalCompatContext) ?? portalCompatContextDefaultValue;\n}\n"],"mappings":"AAAA,YAAYA,KAAA,MAAW;AAGvB,MAAMC,mBAAA,gBAAsBD,KAAA,CAAME,aAAa,CAC7CC,SAAA;AAGF,MAAMC,+BAAA,GAAkCA,CAAA,KAAM,MAAMD,SAAA;AAEpD,OAAO,MAAME,2BAAA,GAA8BJ,mBAAA,CAAoBK,QAAQ;AAEvE,OAAO,SAASC,gBAAA,EAAkB;MACzBC,iBAAA;EAAP,OAAO,CAAAA,iBAAA,GAAAR,KAAA,CAAMS,UAAU,CAACR,mBAAA,eAAjBO,iBAAA,cAAAA,iBAAA,GAAyCJ,+BAA+B;AACjF"}
1
+ {"version":3,"sources":["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() {\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,MAAMC,sBAAsBD,MAAME,aAAa,CAC7CC;AAGF,MAAMC,kCAAkC,IAAM,IAAMD;AAEpD,OAAO,MAAME,8BAA8BJ,oBAAoBK,QAAQ,CAAC;AAExE,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,kCAAjBD,+BAAAA,oBAAyCI;AAClD"}
package/lib/index.js CHANGED
@@ -1,2 +1 @@
1
1
  export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';
2
- //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":["PortalCompatContextProvider","usePortalCompat"],"sources":["../src/index.ts"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"],"mappings":"AAAA,SAASA,2BAA2B,EAAEC,eAAe,QAAQ"}
1
+ {"version":3,"sources":["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"}
package/lib/types.js CHANGED
@@ -1,2 +1 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
1
+ export { };
package/lib/types.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["../src/types.ts"],"sourcesContent":["export type RegisterPortalFn = (el: HTMLElement) => () => void;\n"],"mappings":"AAAA"}
1
+ {"version":3,"sources":["types.ts"],"sourcesContent":["export type RegisterPortalFn = (el: HTMLElement) => () => void;\n"],"names":[],"mappings":"AAAA,WAA+D"}
@@ -1,9 +1,9 @@
1
1
  define([
2
2
  "require",
3
3
  "exports",
4
- "@swc/helpers/src/_interop_require_wildcard.mjs",
4
+ "@swc/helpers/_/_interop_require_wildcard",
5
5
  "react"
6
- ], function(require, exports, _interopRequireWildcard, _react) {
6
+ ], function(require, exports, _interop_require_wildcard, _react) {
7
7
  "use strict";
8
8
  Object.defineProperty(exports, "__esModule", {
9
9
  value: true
@@ -15,18 +15,19 @@ define([
15
15
  });
16
16
  }
17
17
  _export(exports, {
18
- PortalCompatContextProvider: ()=>PortalCompatContextProvider,
19
- usePortalCompat: ()=>usePortalCompat
18
+ PortalCompatContextProvider: function() {
19
+ return PortalCompatContextProvider;
20
+ },
21
+ usePortalCompat: function() {
22
+ return usePortalCompat;
23
+ }
20
24
  });
21
- _interopRequireWildcard = _interopRequireWildcard.default;
22
- _react = /*#__PURE__*/ _interopRequireWildcard(_react);
25
+ _react = /*#__PURE__*/ _interop_require_wildcard._(_react);
23
26
  const PortalCompatContext = /*#__PURE__*/ _react.createContext(undefined);
24
27
  const portalCompatContextDefaultValue = ()=>()=>undefined;
25
28
  const PortalCompatContextProvider = PortalCompatContext.Provider;
26
29
  function usePortalCompat() {
27
30
  var _React_useContext;
28
31
  return (_React_useContext = _react.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
29
- } //# sourceMappingURL=PortalCompatContext.js.map
32
+ }
30
33
  });
31
-
32
- //# sourceMappingURL=PortalCompatContext.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/PortalCompatContext.js"],"sourcesContent":["import * as React from 'react';\nconst PortalCompatContext = /*#__PURE__*/React.createContext(undefined);\nconst portalCompatContextDefaultValue = () => () => undefined;\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\nexport function usePortalCompat() {\n var _React_useContext;\n return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;\n}\n//# sourceMappingURL=PortalCompatContext.js.map"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","_React_useContext","useContext"],"mappings":";;;;IAAuB;;;;;;;;;;;;;QAGVA,2BAA2B,MAA3BA;QACGC,eAAe,MAAfA;;;;IAHhB,MAAMC,sBAAsB,WAAW,GAAEC,OAAMC,aAAa,CAACC;IAC7D,MAAMC,kCAAkC,IAAM,IAAMD;IAC7C,MAAML,8BAA8BE,oBAAoBK,QAAQ;IAChE,SAASN,kBAAkB;QAChC,IAAIO;QACJ,OAAO,AAACA,CAAAA,oBAAoBL,OAAMM,UAAU,CAACP,oBAAmB,MAAO,IAAI,IAAIM,sBAAsB,KAAK,IAAIA,oBAAoBF,+BAA+B;IACnK,EACA,+CAA+C"}
1
+ {"version":3,"sources":["PortalCompatContext.js"],"sourcesContent":["import * as React from 'react';\nconst PortalCompatContext = React.createContext(undefined);\nconst portalCompatContextDefaultValue = ()=>()=>undefined;\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\nexport function usePortalCompat() {\n var _React_useContext;\n return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","_React_useContext","useContext"],"mappings":";;;;IAAuB;;;;;;;;;;;;;QAGVA,2BAA2B;mBAA3BA;;QACGC,eAAe;mBAAfA;;;;IAHhB,MAAMC,oCAAsBC,OAAMC,aAAa,CAACC;IAChD,MAAMC,kCAAkC,IAAI,IAAID;IACzC,MAAML,8BAA8BE,oBAAoBK,QAAQ;IAChE,SAASN;QACZ,IAAIO;QACJ,OAAO,AAACA,CAAAA,oBAAoBL,OAAMM,UAAU,CAACP,oBAAmB,MAAO,QAAQM,sBAAsB,KAAK,IAAIA,oBAAoBF;IACtI"}
package/lib-amd/index.js CHANGED
@@ -2,7 +2,7 @@ define([
2
2
  "require",
3
3
  "exports",
4
4
  "./PortalCompatContext"
5
- ], function(require, exports, _portalCompatContext) {
5
+ ], function(require, exports, _PortalCompatContext) {
6
6
  "use strict";
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
@@ -14,10 +14,11 @@ define([
14
14
  });
15
15
  }
16
16
  _export(exports, {
17
- PortalCompatContextProvider: ()=>_portalCompatContext.PortalCompatContextProvider,
18
- usePortalCompat: ()=>_portalCompatContext.usePortalCompat
17
+ PortalCompatContextProvider: function() {
18
+ return _PortalCompatContext.PortalCompatContextProvider;
19
+ },
20
+ usePortalCompat: function() {
21
+ return _PortalCompatContext.usePortalCompat;
22
+ }
19
23
  });
20
24
  });
21
- //# sourceMappingURL=index.js.map
22
-
23
- //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\n//# sourceMappingURL=index.js.map"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":";;;IAA6D;;;;;;;;;;;;;QAApDA,2BAA2B,MAA3BA,gDAA2B;QAAEC,eAAe,MAAfA,oCAAe;;;CACrD,iCAAiC"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\n"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":";;;IAA6D;;;;;;;;;;;;;QAApDA,2BAA2B;mBAA3BA,gDAA2B;;QAAEC,eAAe;mBAAfA,oCAAe"}
package/lib-amd/types.js CHANGED
@@ -7,6 +7,3 @@ define([
7
7
  value: true
8
8
  });
9
9
  });
10
- //# sourceMappingURL=types.js.map
11
-
12
- //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=types.js.map"],"names":[],"mappings":";;;;;;;;;CACA,iCAAiC"}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
@@ -9,17 +9,19 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- PortalCompatContextProvider: ()=>PortalCompatContextProvider,
13
- usePortalCompat: ()=>usePortalCompat
12
+ PortalCompatContextProvider: function() {
13
+ return PortalCompatContextProvider;
14
+ },
15
+ usePortalCompat: function() {
16
+ return usePortalCompat;
17
+ }
14
18
  });
15
- const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
16
- const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
19
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
20
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
17
21
  const PortalCompatContext = /*#__PURE__*/ _react.createContext(undefined);
18
22
  const portalCompatContextDefaultValue = ()=>()=>undefined;
19
23
  const PortalCompatContextProvider = PortalCompatContext.Provider;
20
24
  function usePortalCompat() {
21
25
  var _React_useContext;
22
26
  return (_React_useContext = _react.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
23
- } //# sourceMappingURL=PortalCompatContext.js.map
24
-
25
- //# sourceMappingURL=PortalCompatContext.js.map
27
+ }
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/PortalCompatContext.js"],"sourcesContent":["import * as React from 'react';\nconst PortalCompatContext = /*#__PURE__*/React.createContext(undefined);\nconst portalCompatContextDefaultValue = () => () => undefined;\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\nexport function usePortalCompat() {\n var _React_useContext;\n return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;\n}\n//# sourceMappingURL=PortalCompatContext.js.map"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","_React_useContext","useContext"],"mappings":";;;;;;;;;;;IAGaA,2BAA2B,MAA3BA;IACGC,eAAe,MAAfA;;;6DAJO;AACvB,MAAMC,sBAAsB,WAAW,GAAEC,OAAMC,aAAa,CAACC;AAC7D,MAAMC,kCAAkC,IAAM,IAAMD;AAC7C,MAAML,8BAA8BE,oBAAoBK,QAAQ;AAChE,SAASN,kBAAkB;IAChC,IAAIO;IACJ,OAAO,AAACA,CAAAA,oBAAoBL,OAAMM,UAAU,CAACP,oBAAmB,MAAO,IAAI,IAAIM,sBAAsB,KAAK,IAAIA,oBAAoBF,+BAA+B;AACnK,EACA,+CAA+C"}
1
+ {"version":3,"sources":["PortalCompatContext.js"],"sourcesContent":["import * as React from 'react';\nconst PortalCompatContext = React.createContext(undefined);\nconst portalCompatContextDefaultValue = ()=>()=>undefined;\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\nexport function usePortalCompat() {\n var _React_useContext;\n return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;\n}\n"],"names":["PortalCompatContextProvider","usePortalCompat","PortalCompatContext","React","createContext","undefined","portalCompatContextDefaultValue","Provider","_React_useContext","useContext"],"mappings":";;;;;;;;;;;IAGaA,2BAA2B;eAA3BA;;IACGC,eAAe;eAAfA;;;;iEAJO;AACvB,MAAMC,oCAAsBC,OAAMC,aAAa,CAACC;AAChD,MAAMC,kCAAkC,IAAI,IAAID;AACzC,MAAML,8BAA8BE,oBAAoBK,QAAQ;AAChE,SAASN;IACZ,IAAIO;IACJ,OAAO,AAACA,CAAAA,oBAAoBL,OAAMM,UAAU,CAACP,oBAAmB,MAAO,QAAQM,sBAAsB,KAAK,IAAIA,oBAAoBF;AACtI"}
@@ -9,10 +9,11 @@ function _export(target, all) {
9
9
  });
10
10
  }
11
11
  _export(exports, {
12
- PortalCompatContextProvider: ()=>_portalCompatContext.PortalCompatContextProvider,
13
- usePortalCompat: ()=>_portalCompatContext.usePortalCompat
12
+ PortalCompatContextProvider: function() {
13
+ return _PortalCompatContext.PortalCompatContextProvider;
14
+ },
15
+ usePortalCompat: function() {
16
+ return _PortalCompatContext.usePortalCompat;
17
+ }
14
18
  });
15
- const _portalCompatContext = require("./PortalCompatContext");
16
- //# sourceMappingURL=index.js.map
17
-
18
- //# sourceMappingURL=index.js.map
19
+ const _PortalCompatContext = require("./PortalCompatContext");
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/index.js"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\n//# sourceMappingURL=index.js.map"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":";;;;;;;;;;;IAASA,2BAA2B,MAA3BA,gDAA2B;IAAEC,eAAe,MAAfA,oCAAe;;qCAAQ;CAC7D,iCAAiC"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\n"],"names":["PortalCompatContextProvider","usePortalCompat"],"mappings":";;;;;;;;;;;IAASA,2BAA2B;eAA3BA,gDAA2B;;IAAEC,eAAe;eAAfA,oCAAe;;;qCAAQ"}
@@ -2,6 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- //# sourceMappingURL=types.js.map
6
-
7
- //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../lib/types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=types.js.map"],"names":[],"mappings":";;;;CACA,iCAAiC"}
1
+ {"version":3,"sources":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal-compat-context",
3
- "version": "9.0.5",
3
+ "version": "9.0.7",
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",
@@ -19,7 +19,8 @@
19
19
  "lint": "just-scripts lint",
20
20
  "test": "jest --passWithNoTests",
21
21
  "type-check": "tsc -b tsconfig.json",
22
- "generate-api": "just-scripts generate-api"
22
+ "generate-api": "just-scripts generate-api",
23
+ "test-ssr": "test-ssr \"./stories/**/*.stories.tsx\""
23
24
  },
24
25
  "devDependencies": {
25
26
  "@fluentui/eslint-plugin": "*",
@@ -27,11 +28,11 @@
27
28
  "@fluentui/scripts-tasks": "*"
28
29
  },
29
30
  "dependencies": {
30
- "@swc/helpers": "^0.4.14"
31
+ "@swc/helpers": "^0.5.1"
31
32
  },
32
33
  "peerDependencies": {
33
- "@types/react": ">=16.8.0 <19.0.0",
34
- "react": ">=16.8.0 <19.0.0"
34
+ "@types/react": ">=16.14.0 <19.0.0",
35
+ "react": ">=16.14.0 <19.0.0"
35
36
  },
36
37
  "beachball": {
37
38
  "disallowedChangeTypes": [
package/.swcrc DELETED
@@ -1,30 +0,0 @@
1
- {
2
- "$schema": "https://json.schemastore.org/swcrc",
3
- "exclude": [
4
- "/testing",
5
- "/**/*.cy.ts",
6
- "/**/*.cy.tsx",
7
- "/**/*.spec.ts",
8
- "/**/*.spec.tsx",
9
- "/**/*.test.ts",
10
- "/**/*.test.tsx"
11
- ],
12
- "jsc": {
13
- "parser": {
14
- "syntax": "typescript",
15
- "tsx": true,
16
- "decorators": false,
17
- "dynamicImport": false
18
- },
19
- "externalHelpers": true,
20
- "transform": {
21
- "react": {
22
- "runtime": "classic",
23
- "useSpread": true
24
- }
25
- },
26
- "target": "es2019"
27
- },
28
- "minify": false,
29
- "sourceMaps": true
30
- }