@fluentui/react-portal-compat-context 9.0.0-rc.1 → 9.0.1
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 +46 -1
- package/CHANGELOG.md +29 -2
- package/{lib → dist}/tsdoc-metadata.json +0 -0
- package/lib/PortalCompatContext.js.map +1 -1
- package/lib-amd/PortalCompatContext.js +14 -0
- package/lib-amd/PortalCompatContext.js.map +1 -0
- package/lib-amd/index.js +8 -0
- package/lib-amd/index.js.map +1 -0
- package/lib-amd/types.js +5 -0
- package/lib-amd/types.js.map +1 -0
- package/lib-commonjs/PortalCompatContext.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +4 -5
- package/lib/PortalCompatContext.d.ts +0 -4
- package/lib/index.d.ts +0 -2
- package/lib/types.d.ts +0 -1
- package/lib-commonjs/PortalCompatContext.d.ts +0 -4
- package/lib-commonjs/index.d.ts +0 -2
- package/lib-commonjs/types.d.ts +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,52 @@
|
|
2
2
|
"name": "@fluentui/react-portal-compat-context",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Fri, 15 Jul 2022 18:27:18 GMT",
|
6
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.1",
|
7
|
+
"version": "9.0.1",
|
8
|
+
"comments": {
|
9
|
+
"patch": [
|
10
|
+
{
|
11
|
+
"author": "gcox@microsoft.com",
|
12
|
+
"package": "@fluentui/react-portal-compat-context",
|
13
|
+
"commit": "9252601953bb2462fec25d22748149665868fb89",
|
14
|
+
"comment": "Added mechanism for marking fluent-compatibility packages"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"date": "Tue, 28 Jun 2022 15:13:50 GMT",
|
21
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.0",
|
22
|
+
"version": "9.0.0",
|
23
|
+
"comments": {
|
24
|
+
"patch": [
|
25
|
+
{
|
26
|
+
"author": "lingfangao@hotmail.com",
|
27
|
+
"package": "@fluentui/react-portal-compat-context",
|
28
|
+
"commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
|
29
|
+
"comment": "feat: Initial 9.0.0 release"
|
30
|
+
}
|
31
|
+
]
|
32
|
+
}
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"date": "Mon, 23 May 2022 12:13:34 GMT",
|
36
|
+
"tag": "@fluentui/react-portal-compat-context_v9.0.0-rc.2",
|
37
|
+
"version": "9.0.0-rc.2",
|
38
|
+
"comments": {
|
39
|
+
"prerelease": [
|
40
|
+
{
|
41
|
+
"author": "martinhochel@microsoft.com",
|
42
|
+
"package": "@fluentui/react-portal-compat-context",
|
43
|
+
"commit": "e7b70cb06f4422e5574993fd2ad44d9073647417",
|
44
|
+
"comment": "feat: ship rolluped only dts"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"date": "Wed, 04 May 2022 13:26:46 GMT",
|
6
51
|
"tag": "@fluentui/react-portal-compat-context_v9.0.0-rc.1",
|
7
52
|
"version": "9.0.0-rc.1",
|
8
53
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,39 @@
|
|
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 Fri, 15 Jul 2022 18:27:18 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.1)
|
8
|
+
|
9
|
+
Fri, 15 Jul 2022 18:27:18 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.0..@fluentui/react-portal-compat-context_v9.0.1)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- Added mechanism for marking fluent-compatibility packages ([PR #23923](https://github.com/microsoft/fluentui/pull/23923) by gcox@microsoft.com)
|
15
|
+
|
16
|
+
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.0)
|
17
|
+
|
18
|
+
Tue, 28 Jun 2022 15:13:50 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.0-rc.2..@fluentui/react-portal-compat-context_v9.0.0)
|
20
|
+
|
21
|
+
### Patches
|
22
|
+
|
23
|
+
- feat: Initial 9.0.0 release ([PR #23733](https://github.com/microsoft/fluentui/pull/23733) by lingfangao@hotmail.com)
|
24
|
+
|
25
|
+
## [9.0.0-rc.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.0-rc.2)
|
26
|
+
|
27
|
+
Mon, 23 May 2022 12:13:34 GMT
|
28
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.0-rc.1..@fluentui/react-portal-compat-context_v9.0.0-rc.2)
|
29
|
+
|
30
|
+
### Changes
|
31
|
+
|
32
|
+
- feat: ship rolluped only dts ([PR #22828](https://github.com/microsoft/fluentui/pull/22828) by martinhochel@microsoft.com)
|
33
|
+
|
7
34
|
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.0-rc.1)
|
8
35
|
|
9
|
-
Wed, 04 May 2022 13:
|
36
|
+
Wed, 04 May 2022 13:26:46 GMT
|
10
37
|
|
11
38
|
### Changes
|
12
39
|
|
File without changes
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["PortalCompatContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,IAAM,mBAAmB,gBAAG,KAAK,CAAC,aAAN,EAC1B;AACA,YAAA;
|
1
|
+
{"version":3,"sources":["PortalCompatContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AAGA,IAAM,mBAAmB,gBAAG,KAAK,CAAC,aAAN,EAC1B;AACA,YAAA;EAAM,OAAA,YAAA,CAAA,CAAA;AAAQ,CAFY,CAA5B;AAKA,OAAO,IAAM,2BAA2B,GAAG,mBAAmB,CAAC,QAAxD;AAEP,OAAM,SAAU,eAAV,GAAyB;EAC7B,OAAO,KAAK,CAAC,UAAN,CAAiB,mBAAjB,CAAP;AACD","sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn>(\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n () => () => {},\n);\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat() {\n return React.useContext(PortalCompatContext);\n}\n"],"sourceRoot":"../src/"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
define(["require", "exports", "react"], function (require, exports, React) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.usePortalCompat = exports.PortalCompatContextProvider = void 0;
|
5
|
+
var PortalCompatContext = React.createContext(
|
6
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
7
|
+
function () { return function () { }; });
|
8
|
+
exports.PortalCompatContextProvider = PortalCompatContext.Provider;
|
9
|
+
function usePortalCompat() {
|
10
|
+
return React.useContext(PortalCompatContext);
|
11
|
+
}
|
12
|
+
exports.usePortalCompat = usePortalCompat;
|
13
|
+
});
|
14
|
+
//# sourceMappingURL=PortalCompatContext.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"PortalCompatContext.js","sourceRoot":"../src/","sources":["PortalCompatContext.ts"],"names":[],"mappings":";;;;IAGA,IAAM,mBAAmB,GAAG,KAAK,CAAC,aAAa;IAC7C,gEAAgE;IAChE,cAAM,OAAA,cAAO,CAAC,EAAR,CAAQ,CACf,CAAC;IAEW,QAAA,2BAA2B,GAAG,mBAAmB,CAAC,QAAQ,CAAC;IAExE,SAAgB,eAAe;QAC7B,OAAO,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAC;IAC/C,CAAC;IAFD,0CAEC","sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn>(\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n () => () => {},\n);\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat() {\n return React.useContext(PortalCompatContext);\n}\n"]}
|
package/lib-amd/index.js
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
define(["require", "exports", "./PortalCompatContext"], function (require, exports, PortalCompatContext_1) {
|
2
|
+
"use strict";
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4
|
+
exports.usePortalCompat = exports.PortalCompatContextProvider = void 0;
|
5
|
+
Object.defineProperty(exports, "PortalCompatContextProvider", { enumerable: true, get: function () { return PortalCompatContext_1.PortalCompatContextProvider; } });
|
6
|
+
Object.defineProperty(exports, "usePortalCompat", { enumerable: true, get: function () { return PortalCompatContext_1.usePortalCompat; } });
|
7
|
+
});
|
8
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":";;;;IAAS,kIAAA,2BAA2B,OAAA;IAAE,sHAAA,eAAe,OAAA","sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"]}
|
package/lib-amd/types.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"../src/","sources":["types.ts"],"names":[],"mappings":"","sourcesContent":["export type RegisterPortalFn = (el: HTMLElement) => () => void;\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["PortalCompatContext.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAGA,IAAM,mBAAmB,gBAAG,KAAK,CAAC,aAAN,EAC1B;AACA,YAAA;
|
1
|
+
{"version":3,"sources":["PortalCompatContext.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,KAAA,gBAAA,OAAA,CAAA,OAAA,CAAA;;AAGA,IAAM,mBAAmB,gBAAG,KAAK,CAAC,aAAN,EAC1B;AACA,YAAA;EAAM,OAAA,YAAA,CAAA,CAAA;AAAQ,CAFY,CAA5B;AAKa,OAAA,CAAA,2BAAA,GAA8B,mBAAmB,CAAC,QAAlD;;AAEb,SAAgB,eAAhB,GAA+B;EAC7B,OAAO,KAAK,CAAC,UAAN,CAAiB,mBAAjB,CAAP;AACD;;AAFD,OAAA,CAAA,eAAA,GAAA,eAAA","sourcesContent":["import * as React from 'react';\nimport type { RegisterPortalFn } from './types';\n\nconst PortalCompatContext = React.createContext<RegisterPortalFn>(\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n () => () => {},\n);\n\nexport const PortalCompatContextProvider = PortalCompatContext.Provider;\n\nexport function usePortalCompat() {\n return React.useContext(PortalCompatContext);\n}\n"],"sourceRoot":"../src/"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,qBAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,6BAAA,EAAA;
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,qBAAA,gBAAA,OAAA,CAAA,uBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,6BAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,qBAAA,CAAA,2BAAA;EAA2B;AAA3B,CAAA;AAA6B,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,iBAAA,EAAA;EAAA,UAAA,EAAA,IAAA;EAAA,GAAA,EAAA,YAAA;IAAA,OAAA,qBAAA,CAAA,eAAA;EAAe;AAAf,CAAA","sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"],"sourceRoot":"../src/"}
|
package/package.json
CHANGED
@@ -1,16 +1,17 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-portal-compat-context",
|
3
|
-
"version": "9.0.
|
3
|
+
"version": "9.0.1",
|
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",
|
7
|
-
"typings": "
|
7
|
+
"typings": "dist/index.d.ts",
|
8
8
|
"sideEffects": false,
|
9
9
|
"repository": {
|
10
10
|
"type": "git",
|
11
11
|
"url": "https://github.com/microsoft/fluentui"
|
12
12
|
},
|
13
13
|
"license": "MIT",
|
14
|
+
"fluent-compatibility": true,
|
14
15
|
"scripts": {
|
15
16
|
"build": "just-scripts build",
|
16
17
|
"clean": "just-scripts clean",
|
@@ -37,9 +38,7 @@
|
|
37
38
|
},
|
38
39
|
"beachball": {
|
39
40
|
"disallowedChangeTypes": [
|
40
|
-
"major"
|
41
|
-
"minor",
|
42
|
-
"patch"
|
41
|
+
"major"
|
43
42
|
]
|
44
43
|
}
|
45
44
|
}
|
package/lib/index.d.ts
DELETED
package/lib/types.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare type RegisterPortalFn = (el: HTMLElement) => () => void;
|
package/lib-commonjs/index.d.ts
DELETED
package/lib-commonjs/types.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare type RegisterPortalFn = (el: HTMLElement) => () => void;
|