@fluentui/react-portal 9.0.0-alpha.50 → 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,46 @@
2
2
  "name": "@fluentui/react-portal",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 20 Sep 2021 07:35:22 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",
6
45
  "tag": "@fluentui/react-portal_v9.0.0-alpha.50",
7
46
  "version": "9.0.0-alpha.50",
8
47
  "comments": {
@@ -11,14 +50,14 @@
11
50
  "author": "lingfangao@hotmail.com",
12
51
  "package": "@fluentui/react-portal",
13
52
  "comment": "chore: use versioon eslint-plugin and react-conformance in dev dependencies",
14
- "commit": "4560b1fa7c9187216ce734c1f4435c1535fc4884"
53
+ "commit": "b8a304770f77c0353553a152dad34421070400a6"
15
54
  }
16
55
  ],
17
56
  "prerelease": [
18
57
  {
19
58
  "author": "lingfangao@hotmail.com",
20
59
  "package": "@fluentui/react-portal",
21
- "commit": "4560b1fa7c9187216ce734c1f4435c1535fc4884",
60
+ "commit": "b8a304770f77c0353553a152dad34421070400a6",
22
61
  "comment": "Bump @fluentui/react-portal to v9.0.0-alpha.50"
23
62
  }
24
63
  ]
package/CHANGELOG.md CHANGED
@@ -1,17 +1,30 @@
1
1
  # Change Log - @fluentui/react-portal
2
2
 
3
- This log was last generated on Mon, 20 Sep 2021 07:35:22 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
+
7
20
  ## [9.0.0-alpha.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.50)
8
21
 
9
- Mon, 20 Sep 2021 07:35:22 GMT
22
+ Mon, 20 Sep 2021 07:36:26 GMT
10
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)
11
24
 
12
25
  ### Changes
13
26
 
14
- - Bump @fluentui/react-portal to v9.0.0-alpha.50 ([PR #18290](https://github.com/microsoft/fluentui/pull/18290) by lingfangao@hotmail.com)
27
+ - Bump @fluentui/react-portal to v9.0.0-alpha.50 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
15
28
 
16
29
  ## [9.0.0-alpha.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-portal_v9.0.0-alpha.49)
17
30
 
@@ -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.50",
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",
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "devDependencies": {
28
28
  "@fluentui/eslint-plugin": "*",
29
- "@fluentui/jest-serializer-make-styles": "9.0.0-alpha.43",
29
+ "@fluentui/jest-serializer-make-styles": "9.0.0-alpha.44",
30
30
  "@fluentui/react-conformance": "*",
31
31
  "@fluentui/scripts": "^1.0.0",
32
32
  "@types/enzyme": "3.10.3",
@@ -41,9 +41,9 @@
41
41
  "react-test-renderer": "^16.3.0"
42
42
  },
43
43
  "dependencies": {
44
- "@fluentui/react-make-styles": "9.0.0-alpha.68",
45
- "@fluentui/react-shared-contexts": "9.0.0-alpha.24",
46
- "@fluentui/react-tabster": "9.0.0-alpha.62",
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
47
  "@fluentui/react-utilities": "9.0.0-alpha.49",
48
48
  "tslib": "^2.1.0"
49
49
  },