@fluentui/react-portal-compat-context 9.0.4 → 9.0.5
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/.swcrc +30 -0
- package/CHANGELOG.json +88 -1
- package/CHANGELOG.md +12 -2
- package/lib/PortalCompatContext.js +5 -12
- package/lib/PortalCompatContext.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/types.js.map +1 -1
- package/lib-amd/PortalCompatContext.js +28 -10
- package/lib-amd/PortalCompatContext.js.map +1 -1
- package/lib-amd/index.js +20 -5
- package/lib-amd/index.js.map +1 -1
- package/lib-amd/types.js +9 -2
- package/lib-amd/types.js.map +1 -1
- package/lib-commonjs/PortalCompatContext.js +19 -21
- package/lib-commonjs/PortalCompatContext.js.map +1 -1
- package/lib-commonjs/index.js +13 -17
- package/lib-commonjs/index.js.map +1 -1
- package/lib-commonjs/types.js +3 -2
- package/lib-commonjs/types.js.map +1 -1
- package/package.json +8 -7
package/.swcrc
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
}
|
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,94 @@
|
|
|
2
2
|
"name": "@fluentui/react-portal-compat-context",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Tue, 21 Mar 2023 21:18:57 GMT",
|
|
6
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.5",
|
|
7
|
+
"version": "9.0.5",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"author": "tristan.watanabe@gmail.com",
|
|
12
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
13
|
+
"commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
|
|
14
|
+
"comment": "fix: add node field to package.json exports map."
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "tristan.watanabe@gmail.com",
|
|
18
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
19
|
+
"commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
|
|
20
|
+
"comment": "chore: migrate to swc transpilation approach."
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"date": "Wed, 08 Mar 2023 17:42:37 GMT",
|
|
27
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.4",
|
|
28
|
+
"version": "9.0.4",
|
|
29
|
+
"comments": {
|
|
30
|
+
"none": [
|
|
31
|
+
{
|
|
32
|
+
"author": "martinhochel@microsoft.com",
|
|
33
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
34
|
+
"commit": "db203b7c6eae1174b0bb910bf49eaee4dde14786",
|
|
35
|
+
"comment": "chore: re-enable AMD import checks for only mixed and v8 packages"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"date": "Mon, 16 Jan 2023 08:39:06 GMT",
|
|
42
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.4",
|
|
43
|
+
"version": "9.0.4",
|
|
44
|
+
"comments": {
|
|
45
|
+
"none": [
|
|
46
|
+
{
|
|
47
|
+
"author": "martinhochel@microsoft.com",
|
|
48
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
49
|
+
"commit": "64bb45980d68de1219c6b36a7db5363f0a9cff9f",
|
|
50
|
+
"comment": "chore: migrate to packaged scripts"
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"date": "Wed, 04 Jan 2023 01:40:19 GMT",
|
|
57
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.4",
|
|
58
|
+
"version": "9.0.4",
|
|
59
|
+
"comments": {
|
|
60
|
+
"none": [
|
|
61
|
+
{
|
|
62
|
+
"author": "martinhochel@microsoft.com",
|
|
63
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
64
|
+
"commit": "4ec2b998b294d6d9c3196d3d82893bdd97d0c105",
|
|
65
|
+
"comment": "chore(scripts): move index.ts to to follow sub-folder domain packaging"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"author": "martinhochel@microsoft.com",
|
|
69
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
70
|
+
"commit": "194b0cf0cc27c1c1233aa945f09b3ad29778d8ca",
|
|
71
|
+
"comment": "chore(scripts): use for @fluentui/scripts version within all package.json"
|
|
72
|
+
}
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"date": "Thu, 17 Nov 2022 23:05:44 GMT",
|
|
78
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.4",
|
|
79
|
+
"version": "9.0.4",
|
|
80
|
+
"comments": {
|
|
81
|
+
"none": [
|
|
82
|
+
{
|
|
83
|
+
"author": "martinhochel@microsoft.com",
|
|
84
|
+
"package": "@fluentui/react-portal-compat-context",
|
|
85
|
+
"commit": "ea768501802d65d63ddc63fff3816fb6b5008ae4",
|
|
86
|
+
"comment": "chore: update package scaffold"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"date": "Fri, 11 Nov 2022 14:57:32 GMT",
|
|
6
93
|
"tag": "@fluentui/react-portal-compat-context_v9.0.4",
|
|
7
94
|
"version": "9.0.4",
|
|
8
95
|
"comments": {
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-portal-compat-context
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 21 Mar 2023 21:18:57 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.5)
|
|
8
|
+
|
|
9
|
+
Tue, 21 Mar 2023 21:18:57 GMT
|
|
10
|
+
[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
|
+
|
|
12
|
+
### Patches
|
|
13
|
+
|
|
14
|
+
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
|
|
15
|
+
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
|
|
16
|
+
|
|
7
17
|
## [9.0.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.4)
|
|
8
18
|
|
|
9
|
-
Fri, 11 Nov 2022 14:
|
|
19
|
+
Fri, 11 Nov 2022 14:57:32 GMT
|
|
10
20
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.3..@fluentui/react-portal-compat-context_v9.0.4)
|
|
11
21
|
|
|
12
22
|
### Patches
|
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
return function () {
|
|
6
|
-
return undefined;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
export var PortalCompatContextProvider = PortalCompatContext.Provider;
|
|
2
|
+
const PortalCompatContext = /*#__PURE__*/React.createContext(undefined);
|
|
3
|
+
const portalCompatContextDefaultValue = () => () => undefined;
|
|
4
|
+
export const PortalCompatContextProvider = PortalCompatContext.Provider;
|
|
11
5
|
export function usePortalCompat() {
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
return (_a = React.useContext(PortalCompatContext)) !== null && _a !== void 0 ? _a : portalCompatContextDefaultValue;
|
|
6
|
+
var _React_useContext;
|
|
7
|
+
return (_React_useContext = React.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
|
|
15
8
|
}
|
|
16
9
|
//# sourceMappingURL=PortalCompatContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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"}
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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"}
|
package/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["../src/types.ts"],"sourcesContent":["export type RegisterPortalFn = (el: HTMLElement) => () => void;\n"],"mappings":"AAAA"}
|
|
@@ -1,14 +1,32 @@
|
|
|
1
|
-
define([
|
|
1
|
+
define([
|
|
2
|
+
"require",
|
|
3
|
+
"exports",
|
|
4
|
+
"@swc/helpers/src/_interop_require_wildcard.mjs",
|
|
5
|
+
"react"
|
|
6
|
+
], function(require, exports, _interopRequireWildcard, _react) {
|
|
2
7
|
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
Object.defineProperty(exports, "__esModule", {
|
|
9
|
+
value: true
|
|
10
|
+
});
|
|
11
|
+
function _export(target, all) {
|
|
12
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: all[name]
|
|
15
|
+
});
|
|
11
16
|
}
|
|
12
|
-
exports
|
|
17
|
+
_export(exports, {
|
|
18
|
+
PortalCompatContextProvider: ()=>PortalCompatContextProvider,
|
|
19
|
+
usePortalCompat: ()=>usePortalCompat
|
|
20
|
+
});
|
|
21
|
+
_interopRequireWildcard = _interopRequireWildcard.default;
|
|
22
|
+
_react = /*#__PURE__*/ _interopRequireWildcard(_react);
|
|
23
|
+
const PortalCompatContext = /*#__PURE__*/ _react.createContext(undefined);
|
|
24
|
+
const portalCompatContextDefaultValue = ()=>()=>undefined;
|
|
25
|
+
const PortalCompatContextProvider = PortalCompatContext.Provider;
|
|
26
|
+
function usePortalCompat() {
|
|
27
|
+
var _React_useContext;
|
|
28
|
+
return (_React_useContext = _react.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
|
|
29
|
+
} //# sourceMappingURL=PortalCompatContext.js.map
|
|
13
30
|
});
|
|
31
|
+
|
|
14
32
|
//# sourceMappingURL=PortalCompatContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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"}
|
package/lib-amd/index.js
CHANGED
|
@@ -1,8 +1,23 @@
|
|
|
1
|
-
define([
|
|
1
|
+
define([
|
|
2
|
+
"require",
|
|
3
|
+
"exports",
|
|
4
|
+
"./PortalCompatContext"
|
|
5
|
+
], function(require, exports, _portalCompatContext) {
|
|
2
6
|
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
Object.defineProperty(exports, "__esModule", {
|
|
8
|
+
value: true
|
|
9
|
+
});
|
|
10
|
+
function _export(target, all) {
|
|
11
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: all[name]
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
_export(exports, {
|
|
17
|
+
PortalCompatContextProvider: ()=>_portalCompatContext.PortalCompatContextProvider,
|
|
18
|
+
usePortalCompat: ()=>_portalCompatContext.usePortalCompat
|
|
19
|
+
});
|
|
7
20
|
});
|
|
21
|
+
//# sourceMappingURL=index.js.map
|
|
22
|
+
|
|
8
23
|
//# sourceMappingURL=index.js.map
|
package/lib-amd/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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"}
|
package/lib-amd/types.js
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
define([
|
|
1
|
+
define([
|
|
2
|
+
"require",
|
|
3
|
+
"exports"
|
|
4
|
+
], function(require, exports) {
|
|
2
5
|
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
4
9
|
});
|
|
10
|
+
//# sourceMappingURL=types.js.map
|
|
11
|
+
|
|
5
12
|
//# sourceMappingURL=types.js.map
|
package/lib-amd/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"sources":["../lib/types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=types.js.map"],"names":[],"mappings":";;;;;;;;;CACA,iCAAiC"}
|
|
@@ -1,27 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
5
4
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
var portalCompatContextDefaultValue = function () {
|
|
13
|
-
return function () {
|
|
14
|
-
return undefined;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
exports.PortalCompatContextProvider = PortalCompatContext.Provider;
|
|
19
|
-
|
|
20
|
-
function usePortalCompat() {
|
|
21
|
-
var _a;
|
|
22
|
-
|
|
23
|
-
return (_a = React.useContext(PortalCompatContext)) !== null && _a !== void 0 ? _a : portalCompatContextDefaultValue;
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
24
10
|
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
PortalCompatContextProvider: ()=>PortalCompatContextProvider,
|
|
13
|
+
usePortalCompat: ()=>usePortalCompat
|
|
14
|
+
});
|
|
15
|
+
const _interopRequireWildcard = require("@swc/helpers/lib/_interop_require_wildcard.js").default;
|
|
16
|
+
const _react = /*#__PURE__*/ _interopRequireWildcard(require("react"));
|
|
17
|
+
const PortalCompatContext = /*#__PURE__*/ _react.createContext(undefined);
|
|
18
|
+
const portalCompatContextDefaultValue = ()=>()=>undefined;
|
|
19
|
+
const PortalCompatContextProvider = PortalCompatContext.Provider;
|
|
20
|
+
function usePortalCompat() {
|
|
21
|
+
var _React_useContext;
|
|
22
|
+
return (_React_useContext = _react.useContext(PortalCompatContext)) !== null && _React_useContext !== void 0 ? _React_useContext : portalCompatContextDefaultValue;
|
|
23
|
+
} //# sourceMappingURL=PortalCompatContext.js.map
|
|
25
24
|
|
|
26
|
-
exports.usePortalCompat = usePortalCompat;
|
|
27
25
|
//# sourceMappingURL=PortalCompatContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["PortalCompatContext.
|
|
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"}
|
package/lib-commonjs/index.js
CHANGED
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
|
|
3
|
+
value: true
|
|
5
4
|
});
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "usePortalCompat", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return PortalCompatContext_1.usePortalCompat;
|
|
20
|
-
}
|
|
5
|
+
function _export(target, all) {
|
|
6
|
+
for(var name in all)Object.defineProperty(target, name, {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: all[name]
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
_export(exports, {
|
|
12
|
+
PortalCompatContextProvider: ()=>_portalCompatContext.PortalCompatContextProvider,
|
|
13
|
+
usePortalCompat: ()=>_portalCompatContext.usePortalCompat
|
|
21
14
|
});
|
|
15
|
+
const _portalCompatContext = require("./PortalCompatContext");
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
17
|
+
|
|
22
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.
|
|
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"}
|
package/lib-commonjs/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"
|
|
1
|
+
{"version":3,"sources":["../lib/types.js"],"sourcesContent":["export {};\n//# sourceMappingURL=types.js.map"],"names":[],"mappings":";;;;CACA,iCAAiC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-portal-compat-context",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.5",
|
|
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",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"clean": "just-scripts clean",
|
|
17
17
|
"code-style": "just-scripts code-style",
|
|
18
18
|
"just": "just-scripts",
|
|
19
|
-
"lint": "just-scripts lint
|
|
19
|
+
"lint": "just-scripts lint",
|
|
20
20
|
"test": "jest --passWithNoTests",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"type-check": "tsc -b tsconfig.json"
|
|
21
|
+
"type-check": "tsc -b tsconfig.json",
|
|
22
|
+
"generate-api": "just-scripts generate-api"
|
|
24
23
|
},
|
|
25
24
|
"devDependencies": {
|
|
26
25
|
"@fluentui/eslint-plugin": "*",
|
|
27
|
-
"@fluentui/scripts": "
|
|
26
|
+
"@fluentui/scripts-api-extractor": "*",
|
|
27
|
+
"@fluentui/scripts-tasks": "*"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"
|
|
30
|
+
"@swc/helpers": "^0.4.14"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
33
|
"@types/react": ">=16.8.0 <19.0.0",
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
"exports": {
|
|
43
43
|
".": {
|
|
44
44
|
"types": "./dist/index.d.ts",
|
|
45
|
+
"node": "./lib-commonjs/index.js",
|
|
45
46
|
"import": "./lib/index.js",
|
|
46
47
|
"require": "./lib-commonjs/index.js"
|
|
47
48
|
},
|