@fluentui/react-portal-compat-context 0.0.0-nightly-20220715-0418.1 → 0.0.0-nightly-20221007-1237.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 CHANGED
@@ -2,13 +2,13 @@
2
2
  "name": "@fluentui/react-portal-compat-context",
3
3
  "entries": [
4
4
  {
5
- "date": "Fri, 15 Jul 2022 04:31:44 GMT",
6
- "tag": "@fluentui/react-portal-compat-context_v0.0.0-nightly-20220715-0418.1",
7
- "version": "0.0.0-nightly-20220715-0418.1",
5
+ "date": "Fri, 07 Oct 2022 12:44:22 GMT",
6
+ "tag": "@fluentui/react-portal-compat-context_v0.0.0-nightly-20221007-1237.1",
7
+ "version": "0.0.0-nightly-20221007-1237.1",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
11
+ "author": "fluentui-internal@service.microsoft.com",
12
12
  "package": "@fluentui/react-portal-compat-context",
13
13
  "commit": "not available",
14
14
  "comment": "Release nightly v9"
@@ -16,6 +16,77 @@
16
16
  ]
17
17
  }
18
18
  },
19
+ {
20
+ "date": "Thu, 15 Sep 2022 09:49:16 GMT",
21
+ "tag": "@fluentui/react-portal-compat-context_v9.0.2",
22
+ "version": "9.0.2",
23
+ "comments": {
24
+ "none": [
25
+ {
26
+ "author": "martinhochel@microsoft.com",
27
+ "package": "@fluentui/react-portal-compat-context",
28
+ "commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
29
+ "comment": "chore: update package scaffold"
30
+ }
31
+ ],
32
+ "patch": [
33
+ {
34
+ "author": "lingfangao@hotmail.com",
35
+ "package": "@fluentui/react-portal-compat-context",
36
+ "commit": "a0cfab0e5f74e3a3bfa9c269fff574295042d7f2",
37
+ "comment": "chore: fix no-context-default-value lint violations"
38
+ }
39
+ ]
40
+ }
41
+ },
42
+ {
43
+ "date": "Wed, 03 Aug 2022 16:03:55 GMT",
44
+ "tag": "@fluentui/react-portal-compat-context_v9.0.1",
45
+ "version": "9.0.1",
46
+ "comments": {
47
+ "none": [
48
+ {
49
+ "author": "bernardo.sunderhus@gmail.com",
50
+ "package": "@fluentui/react-portal-compat-context",
51
+ "commit": "d966ea3d9169f2e8d69f0d2a4daf86fe4ca328d6",
52
+ "comment": "disables eslint rule @fluentui/no-context-default-value for local component context"
53
+ },
54
+ {
55
+ "author": "lingfangao@hotmail.com",
56
+ "package": "@fluentui/react-portal-compat-context",
57
+ "commit": "99cc385631d04a76ee10ebc143cb9fecd99640b6",
58
+ "comment": "chore: Add `prerelease` as disallowed changetype for 9.0.0 packages"
59
+ },
60
+ {
61
+ "author": "martinhochel@microsoft.com",
62
+ "package": "@fluentui/react-portal-compat-context",
63
+ "commit": "30737a497e7787fe8b4efddeadb4a261ba19933f",
64
+ "comment": "refactor(scripts): replace isCompatibilityPackage with new --module build flag"
65
+ },
66
+ {
67
+ "author": "lingfangao@hotmail.com",
68
+ "package": "@fluentui/react-portal-compat-context",
69
+ "commit": "6731ada047afe1d79d2765d1464cfa9acb90bee8",
70
+ "comment": "chore: Explicitly enable AMD lint-imports rule"
71
+ }
72
+ ]
73
+ }
74
+ },
75
+ {
76
+ "date": "Fri, 15 Jul 2022 18:27:27 GMT",
77
+ "tag": "@fluentui/react-portal-compat-context_v9.0.1",
78
+ "version": "9.0.1",
79
+ "comments": {
80
+ "patch": [
81
+ {
82
+ "author": "gcox@microsoft.com",
83
+ "package": "@fluentui/react-portal-compat-context",
84
+ "commit": "9252601953bb2462fec25d22748149665868fb89",
85
+ "comment": "Added mechanism for marking fluent-compatibility packages"
86
+ }
87
+ ]
88
+ }
89
+ },
19
90
  {
20
91
  "date": "Tue, 28 Jun 2022 15:13:50 GMT",
21
92
  "tag": "@fluentui/react-portal-compat-context_v9.0.0",
package/CHANGELOG.md CHANGED
@@ -1,17 +1,35 @@
1
1
  # Change Log - @fluentui/react-portal-compat-context
2
2
 
3
- This log was last generated on Fri, 15 Jul 2022 04:31:44 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 07 Oct 2022 12:44:22 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [0.0.0-nightly-20220715-0418.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v0.0.0-nightly-20220715-0418.1)
7
+ ## [0.0.0-nightly-20221007-1237.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v0.0.0-nightly-20221007-1237.1)
8
8
 
9
- Fri, 15 Jul 2022 04:31:44 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.0..@fluentui/react-portal-compat-context_v0.0.0-nightly-20220715-0418.1)
9
+ Fri, 07 Oct 2022 12:44:22 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.2..@fluentui/react-portal-compat-context_v0.0.0-nightly-20221007-1237.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by email not defined)
14
+ - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/not available) by fluentui-internal@service.microsoft.com)
15
+
16
+ ## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.2)
17
+
18
+ Thu, 15 Sep 2022 09:49:16 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.1..@fluentui/react-portal-compat-context_v9.0.2)
20
+
21
+ ### Patches
22
+
23
+ - chore: fix no-context-default-value lint violations ([PR #24276](https://github.com/microsoft/fluentui/pull/24276) by lingfangao@hotmail.com)
24
+
25
+ ## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.1)
26
+
27
+ Fri, 15 Jul 2022 18:27:27 GMT
28
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal-compat-context_v9.0.0..@fluentui/react-portal-compat-context_v9.0.1)
29
+
30
+ ### Patches
31
+
32
+ - Added mechanism for marking fluent-compatibility packages ([PR #23923](https://github.com/microsoft/fluentui/pull/23923) by gcox@microsoft.com)
15
33
 
16
34
  ## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal-compat-context_v9.0.0)
17
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal-compat-context",
3
- "version": "0.0.0-nightly-20220715-0418.1",
3
+ "version": "0.0.0-nightly-20221007-1237.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",
@@ -12,16 +12,14 @@
12
12
  },
13
13
  "license": "MIT",
14
14
  "scripts": {
15
- "build": "just-scripts build",
15
+ "build": "just-scripts build --module esm,cjs,amd",
16
16
  "clean": "just-scripts clean",
17
17
  "code-style": "just-scripts code-style",
18
18
  "just": "just-scripts",
19
- "lint": "just-scripts lint",
20
- "start": "yarn storybook",
19
+ "lint": "just-scripts lint && just-scripts lint-imports",
21
20
  "test": "jest --passWithNoTests",
22
21
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
23
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/packages/react-components/react-portal-compat-context/src && yarn docs",
24
- "storybook": "node ../../../scripts/storybook/runner",
22
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-portal-compat-context/src && yarn docs",
25
23
  "type-check": "tsc -b tsconfig.json"
26
24
  },
27
25
  "devDependencies": {
@@ -35,9 +33,5 @@
35
33
  "@types/react": ">=16.8.0 <18.0.0",
36
34
  "react": ">=16.8.0 <18.0.0"
37
35
  },
38
- "beachball": {
39
- "disallowedChangeTypes": [
40
- "major"
41
- ]
42
- }
36
+ "beachball": {}
43
37
  }
package/dist/index.d.ts DELETED
@@ -1,9 +0,0 @@
1
- import * as React_2 from 'react';
2
-
3
- export declare const PortalCompatContextProvider: React_2.Provider<RegisterPortalFn>;
4
-
5
- export declare type RegisterPortalFn = (el: HTMLElement) => () => void;
6
-
7
- export declare function usePortalCompat(): RegisterPortalFn;
8
-
9
- export { }
@@ -1,11 +0,0 @@
1
- // This file is read by tools that parse documentation comments conforming to the TSDoc standard.
2
- // It should be published with your NPM package. It should not be tracked by Git.
3
- {
4
- "tsdocVersion": "0.12",
5
- "toolPackages": [
6
- {
7
- "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.18.1"
9
- }
10
- ]
11
- }
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- var PortalCompatContext = /*#__PURE__*/React.createContext( // eslint-disable-next-line @typescript-eslint/no-empty-function
3
- function () {
4
- return function () {};
5
- });
6
- export var PortalCompatContextProvider = PortalCompatContext.Provider;
7
- export function usePortalCompat() {
8
- return React.useContext(PortalCompatContext);
9
- }
10
- //# sourceMappingURL=PortalCompatContext.js.map
@@ -1 +0,0 @@
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/"}
package/lib/index.js DELETED
@@ -1,2 +0,0 @@
1
- export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';
2
- //# sourceMappingURL=index.js.map
package/lib/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC","sourcesContent":["export { PortalCompatContextProvider, usePortalCompat } from './PortalCompatContext';\nexport type { RegisterPortalFn } from './types';\n"]}
package/lib/types.js DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=types.js.map
package/lib/types.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.js","sourceRoot":"../src/","sources":["types.ts"],"names":[],"mappings":"","sourcesContent":["export type RegisterPortalFn = (el: HTMLElement) => () => void;\n"]}
@@ -1,21 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.usePortalCompat = exports.PortalCompatContextProvider = void 0;
7
-
8
- var React = /*#__PURE__*/require("react");
9
-
10
- var PortalCompatContext = /*#__PURE__*/React.createContext( // eslint-disable-next-line @typescript-eslint/no-empty-function
11
- function () {
12
- return function () {};
13
- });
14
- exports.PortalCompatContextProvider = PortalCompatContext.Provider;
15
-
16
- function usePortalCompat() {
17
- return React.useContext(PortalCompatContext);
18
- }
19
-
20
- exports.usePortalCompat = usePortalCompat;
21
- //# sourceMappingURL=PortalCompatContext.js.map
@@ -1 +0,0 @@
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,22 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.usePortalCompat = exports.PortalCompatContextProvider = void 0;
7
-
8
- var PortalCompatContext_1 = /*#__PURE__*/require("./PortalCompatContext");
9
-
10
- Object.defineProperty(exports, "PortalCompatContextProvider", {
11
- enumerable: true,
12
- get: function () {
13
- return PortalCompatContext_1.PortalCompatContextProvider;
14
- }
15
- });
16
- Object.defineProperty(exports, "usePortalCompat", {
17
- enumerable: true,
18
- get: function () {
19
- return PortalCompatContext_1.usePortalCompat;
20
- }
21
- });
22
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
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/"}
@@ -1,6 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- //# sourceMappingURL=types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourceRoot":"../src/"}