@fluentui/react-portal 9.0.0-alpha.48 → 9.0.0-alpha.51

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.json CHANGED
@@ -2,7 +2,84 @@
2
2
  "name": "@fluentui/react-portal",
3
3
  "entries": [
4
4
  {
5
- "date": "Thu, 16 Sep 2021 07:35:43 GMT",
5
+ "date": "Tue, 21 Sep 2021 07:40:35 GMT",
6
+ "tag": "@fluentui/react-portal_v9.0.0-alpha.51",
7
+ "version": "9.0.0-alpha.51",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "gcox@microsoft.com",
12
+ "package": "@fluentui/react-portal",
13
+ "comment": "Updating to types over interfaces",
14
+ "commit": "7ac237dbe5b9a3e452581f7478f811f43bba9f19"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-portal",
19
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-alpha.69",
20
+ "commit": "7ac237dbe5b9a3e452581f7478f811f43bba9f19"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-portal",
25
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-alpha.25",
26
+ "commit": "7ac237dbe5b9a3e452581f7478f811f43bba9f19"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-portal",
31
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-alpha.63",
32
+ "commit": "7ac237dbe5b9a3e452581f7478f811f43bba9f19"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-portal",
37
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44",
38
+ "commit": "7ac237dbe5b9a3e452581f7478f811f43bba9f19"
39
+ }
40
+ ]
41
+ }
42
+ },
43
+ {
44
+ "date": "Mon, 20 Sep 2021 07:36:26 GMT",
45
+ "tag": "@fluentui/react-portal_v9.0.0-alpha.50",
46
+ "version": "9.0.0-alpha.50",
47
+ "comments": {
48
+ "none": [
49
+ {
50
+ "author": "lingfangao@hotmail.com",
51
+ "package": "@fluentui/react-portal",
52
+ "comment": "chore: use versioon eslint-plugin and react-conformance in dev dependencies",
53
+ "commit": "b8a304770f77c0353553a152dad34421070400a6"
54
+ }
55
+ ],
56
+ "prerelease": [
57
+ {
58
+ "author": "lingfangao@hotmail.com",
59
+ "package": "@fluentui/react-portal",
60
+ "commit": "b8a304770f77c0353553a152dad34421070400a6",
61
+ "comment": "Bump @fluentui/react-portal to v9.0.0-alpha.50"
62
+ }
63
+ ]
64
+ }
65
+ },
66
+ {
67
+ "date": "Fri, 17 Sep 2021 07:35:26 GMT",
68
+ "tag": "@fluentui/react-portal_v9.0.0-alpha.49",
69
+ "version": "9.0.0-alpha.49",
70
+ "comments": {
71
+ "prerelease": [
72
+ {
73
+ "author": "Humberto.Morimoto@microsoft.com",
74
+ "package": "@fluentui/react-portal",
75
+ "commit": "90d71a0914acbb73a0365d60a85237e3d58ef575",
76
+ "comment": "Bump @fluentui/react-portal to v9.0.0-alpha.49"
77
+ }
78
+ ]
79
+ }
80
+ },
81
+ {
82
+ "date": "Thu, 16 Sep 2021 07:38:39 GMT",
6
83
  "tag": "@fluentui/react-portal_v9.0.0-alpha.48",
7
84
  "version": "9.0.0-alpha.48",
8
85
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,43 @@
1
1
  # Change Log - @fluentui/react-portal
2
2
 
3
- This log was last generated on Thu, 16 Sep 2021 07:35:43 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 21 Sep 2021 07:40:35 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-alpha.51](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.51)
8
+
9
+ Tue, 21 Sep 2021 07:40:35 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.50..@fluentui/react-portal_v9.0.0-alpha.51)
11
+
12
+ ### Changes
13
+
14
+ - Updating to types over interfaces ([PR #19880](https://github.com/microsoft/fluentui/pull/19880) by gcox@microsoft.com)
15
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19880](https://github.com/microsoft/fluentui/pull/19880) by beachball)
16
+ - Bump @fluentui/react-shared-contexts to v9.0.0-alpha.25 ([PR #19880](https://github.com/microsoft/fluentui/pull/19880) by beachball)
17
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.63 ([PR #19880](https://github.com/microsoft/fluentui/pull/19880) by beachball)
18
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19880](https://github.com/microsoft/fluentui/pull/19880) by beachball)
19
+
20
+ ## [9.0.0-alpha.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.50)
21
+
22
+ Mon, 20 Sep 2021 07:36:26 GMT
23
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.49..@fluentui/react-portal_v9.0.0-alpha.50)
24
+
25
+ ### Changes
26
+
27
+ - Bump @fluentui/react-portal to v9.0.0-alpha.50 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
28
+
29
+ ## [9.0.0-alpha.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.49)
30
+
31
+ Fri, 17 Sep 2021 07:35:26 GMT
32
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.48..@fluentui/react-portal_v9.0.0-alpha.49)
33
+
34
+ ### Changes
35
+
36
+ - Bump @fluentui/react-portal to v9.0.0-alpha.49 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
37
+
7
38
  ## [9.0.0-alpha.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.48)
8
39
 
9
- Thu, 16 Sep 2021 07:35:43 GMT
40
+ Thu, 16 Sep 2021 07:38:39 GMT
10
41
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-portal_v9.0.0-alpha.47..@fluentui/react-portal_v9.0.0-alpha.48)
11
42
 
12
43
  ### Changes
@@ -13,7 +13,7 @@ export declare function elementContains(parent: HTMLElement | null, child: HTMLE
13
13
  */
14
14
  export declare const Portal: React_2.FC<PortalProps>;
15
15
 
16
- export declare interface PortalCommons {
16
+ export declare type PortalCommons = {
17
17
  /**
18
18
  * React children
19
19
  */
@@ -23,19 +23,18 @@ export declare interface PortalCommons {
23
23
  * @defaultValue a new element on document.body without any styling
24
24
  */
25
25
  mountNode: HTMLDivElement | undefined;
26
- }
26
+ };
27
27
 
28
- export declare interface PortalProps extends Partial<PortalCommons> {
29
- }
28
+ export declare type PortalProps = Partial<PortalCommons>;
30
29
 
31
- export declare interface PortalState extends PortalCommons {
30
+ export declare type PortalState = PortalCommons & {
32
31
  /** Indicates if a Portal should be rendered. */
33
32
  shouldRender: boolean;
34
33
  /**
35
34
  * Ref to the root span element as virtual parent
36
35
  */
37
36
  virtualParentRootRef: React_2.MutableRefObject<HTMLSpanElement | null>;
38
- }
37
+ };
39
38
 
40
39
  /**
41
40
  * Render the final JSX of Portal
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface PortalCommons {
2
+ export declare type PortalCommons = {
3
3
  /**
4
4
  * React children
5
5
  */
@@ -9,14 +9,13 @@ export interface PortalCommons {
9
9
  * @defaultValue a new element on document.body without any styling
10
10
  */
11
11
  mountNode: HTMLDivElement | undefined;
12
- }
13
- export interface PortalProps extends Partial<PortalCommons> {
14
- }
15
- export interface PortalState extends PortalCommons {
12
+ };
13
+ export declare type PortalProps = Partial<PortalCommons>;
14
+ export declare type PortalState = PortalCommons & {
16
15
  /** Indicates if a Portal should be rendered. */
17
16
  shouldRender: boolean;
18
17
  /**
19
18
  * Ref to the root span element as virtual parent
20
19
  */
21
20
  virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;
22
- }
21
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport interface PortalCommons {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n}\n\nexport interface PortalProps extends Partial<PortalCommons> {}\n\nexport interface PortalState extends PortalCommons {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n}\n"]}
1
+ {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport type PortalCommons = {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n};\n\nexport type PortalProps = Partial<PortalCommons>;\n\nexport type PortalState = PortalCommons & {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface PortalCommons {
2
+ export declare type PortalCommons = {
3
3
  /**
4
4
  * React children
5
5
  */
@@ -9,14 +9,13 @@ export interface PortalCommons {
9
9
  * @defaultValue a new element on document.body without any styling
10
10
  */
11
11
  mountNode: HTMLDivElement | undefined;
12
- }
13
- export interface PortalProps extends Partial<PortalCommons> {
14
- }
15
- export interface PortalState extends PortalCommons {
12
+ };
13
+ export declare type PortalProps = Partial<PortalCommons>;
14
+ export declare type PortalState = PortalCommons & {
16
15
  /** Indicates if a Portal should be rendered. */
17
16
  shouldRender: boolean;
18
17
  /**
19
18
  * Ref to the root span element as virtual parent
20
19
  */
21
20
  virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;
22
- }
21
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport interface PortalCommons {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n}\n\nexport interface PortalProps extends Partial<PortalCommons> {}\n\nexport interface PortalState extends PortalCommons {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n}\n"]}
1
+ {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport type PortalCommons = {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n};\n\nexport type PortalProps = Partial<PortalCommons>;\n\nexport type PortalState = PortalCommons & {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n};\n"]}
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export interface PortalCommons {
2
+ export declare type PortalCommons = {
3
3
  /**
4
4
  * React children
5
5
  */
@@ -9,14 +9,13 @@ export interface PortalCommons {
9
9
  * @defaultValue a new element on document.body without any styling
10
10
  */
11
11
  mountNode: HTMLDivElement | undefined;
12
- }
13
- export interface PortalProps extends Partial<PortalCommons> {
14
- }
15
- export interface PortalState extends PortalCommons {
12
+ };
13
+ export declare type PortalProps = Partial<PortalCommons>;
14
+ export declare type PortalState = PortalCommons & {
16
15
  /** Indicates if a Portal should be rendered. */
17
16
  shouldRender: boolean;
18
17
  /**
19
18
  * Ref to the root span element as virtual parent
20
19
  */
21
20
  virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;
22
- }
21
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport interface PortalCommons {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n}\n\nexport interface PortalProps extends Partial<PortalCommons> {}\n\nexport interface PortalState extends PortalCommons {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n}\n"]}
1
+ {"version":3,"file":"Portal.types.js","sourceRoot":"../src/","sources":["components/Portal/Portal.types.ts"],"names":[],"mappings":"","sourcesContent":["import * as React from 'react';\n\nexport type PortalCommons = {\n /**\n * React children\n */\n children: React.ReactNode;\n /**\n * Where the portal children are mounted on DOM\n * @defaultValue a new element on document.body without any styling\n */\n mountNode: HTMLDivElement | undefined;\n};\n\nexport type PortalProps = Partial<PortalCommons>;\n\nexport type PortalState = PortalCommons & {\n /** Indicates if a Portal should be rendered. */\n shouldRender: boolean;\n\n /**\n * Ref to the root span element as virtual parent\n */\n virtualParentRootRef: React.MutableRefObject<HTMLSpanElement | null>;\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-portal",
3
- "version": "9.0.0-alpha.48",
3
+ "version": "9.0.0-alpha.51",
4
4
  "description": "A utility component that creates portals compatible with Fluent UI",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -25,9 +25,9 @@
25
25
  "storybook": "start-storybook"
26
26
  },
27
27
  "devDependencies": {
28
- "@fluentui/eslint-plugin": "^1.4.1",
29
- "@fluentui/jest-serializer-make-styles": "9.0.0-alpha.41",
30
- "@fluentui/react-conformance": "^0.5.0",
28
+ "@fluentui/eslint-plugin": "*",
29
+ "@fluentui/jest-serializer-make-styles": "9.0.0-alpha.44",
30
+ "@fluentui/react-conformance": "*",
31
31
  "@fluentui/scripts": "^1.0.0",
32
32
  "@types/enzyme": "3.10.3",
33
33
  "@types/enzyme-adapter-react-16": "1.0.3",
@@ -41,10 +41,10 @@
41
41
  "react-test-renderer": "^16.3.0"
42
42
  },
43
43
  "dependencies": {
44
- "@fluentui/react-make-styles": "9.0.0-alpha.66",
45
- "@fluentui/react-shared-contexts": "9.0.0-alpha.24",
46
- "@fluentui/react-tabster": "9.0.0-alpha.60",
47
- "@fluentui/react-utilities": "9.0.0-alpha.48",
44
+ "@fluentui/react-make-styles": "9.0.0-alpha.69",
45
+ "@fluentui/react-shared-contexts": "9.0.0-alpha.25",
46
+ "@fluentui/react-tabster": "9.0.0-alpha.63",
47
+ "@fluentui/react-utilities": "9.0.0-alpha.49",
48
48
  "tslib": "^2.1.0"
49
49
  },
50
50
  "peerDependencies": {