@khanacademy/wonder-blocks-modal 4.0.4 → 4.0.6
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.md +24 -0
- package/dist/components/close-button.js.flow +1 -2
- package/dist/components/focus-trap.js.flow +1 -2
- package/dist/components/modal-backdrop.js.flow +1 -2
- package/dist/components/modal-content.js.flow +1 -2
- package/dist/components/modal-context.js.flow +1 -2
- package/dist/components/modal-dialog.js.flow +1 -2
- package/dist/components/modal-footer.js.flow +1 -2
- package/dist/components/modal-header.js.flow +1 -2
- package/dist/components/modal-launcher.js.flow +1 -2
- package/dist/components/modal-panel.js.flow +1 -2
- package/dist/components/one-pane-dialog.js.flow +1 -2
- package/dist/components/scroll-disabler.js.flow +1 -2
- package/dist/es/index.js +120 -202
- package/dist/index.js +134 -216
- package/dist/index.js.flow +1 -2
- package/dist/util/constants.js.flow +1 -2
- package/dist/util/find-focusable-nodes.js.flow +1 -2
- package/dist/util/maybe-get-portal-mounted-modal-host-element.js.flow +1 -2
- package/dist/util/types.js.flow +1 -2
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-modal
|
|
2
2
|
|
|
3
|
+
## 4.0.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
8
|
+
- Updated dependencies [c20f48f3]
|
|
9
|
+
- @khanacademy/wonder-blocks-breadcrumbs@2.0.6
|
|
10
|
+
- @khanacademy/wonder-blocks-core@5.0.4
|
|
11
|
+
- @khanacademy/wonder-blocks-icon@2.0.6
|
|
12
|
+
- @khanacademy/wonder-blocks-icon-button@4.0.6
|
|
13
|
+
- @khanacademy/wonder-blocks-layout@2.0.6
|
|
14
|
+
- @khanacademy/wonder-blocks-timing@3.0.2
|
|
15
|
+
- @khanacademy/wonder-blocks-typography@2.0.6
|
|
16
|
+
|
|
17
|
+
## 4.0.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- @khanacademy/wonder-blocks-breadcrumbs@2.0.5
|
|
22
|
+
- @khanacademy/wonder-blocks-icon@2.0.5
|
|
23
|
+
- @khanacademy/wonder-blocks-icon-button@4.0.5
|
|
24
|
+
- @khanacademy/wonder-blocks-layout@2.0.5
|
|
25
|
+
- @khanacademy/wonder-blocks-typography@2.0.5
|
|
26
|
+
|
|
3
27
|
## 4.0.4
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { ModalElement } from "../util/types";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
declare type ContextType = {|
|
|
10
9
|
closeModal?: () => mixed,
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import { Breadcrumbs } from "@khanacademy/wonder-blocks-breadcrumbs";
|
|
10
9
|
declare type Common = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { ModalElement } from "../util/types";
|
|
10
9
|
declare var _default: React.ForwardRefExoticComponent<{|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import ModalContent from "./modal-content";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import { Breadcrumbs } from "@khanacademy/wonder-blocks-breadcrumbs";
|
|
10
9
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
declare type Props = { [key: any]: any };
|
|
10
9
|
declare class ScrollDisabler extends React.Component<Props> {
|