@khanacademy/wonder-blocks-modal 8.7.8 → 8.7.10
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/.turbo/turbo-build$colon$css.log +1 -1
- package/CHANGELOG.md +26 -0
- package/dist/components/drawer-launcher.d.ts +13 -13
- package/dist/components/flexible-panel.d.ts +1 -1
- package/dist/components/modal-footer.d.ts +1 -1
- package/dist/components/modal-launcher.d.ts +9 -9
- package/dist/components/modal-panel.d.ts +1 -1
- package/package.json +7 -7
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @khanacademy/wonder-blocks-modal@8.7.
|
|
2
|
+
> @khanacademy/wonder-blocks-modal@8.7.10 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-modal
|
|
3
3
|
> pnpm exec wonder-blocks-tokens .
|
|
4
4
|
|
|
5
5
|
CSS variables generated successfully in: /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-modal/dist/css
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-modal
|
|
2
2
|
|
|
3
|
+
## 8.7.10
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [3e7925e]
|
|
8
|
+
- @khanacademy/wonder-blocks-tokens@17.2.0
|
|
9
|
+
- @khanacademy/wonder-blocks-breadcrumbs@3.2.26
|
|
10
|
+
- @khanacademy/wonder-blocks-icon-button@11.4.4
|
|
11
|
+
- @khanacademy/wonder-blocks-layout@3.1.59
|
|
12
|
+
- @khanacademy/wonder-blocks-styles@0.2.52
|
|
13
|
+
- @khanacademy/wonder-blocks-typography@5.0.2
|
|
14
|
+
- @khanacademy/wonder-blocks-announcer@1.1.1
|
|
15
|
+
|
|
16
|
+
## 8.7.9
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [dfcf49b]
|
|
21
|
+
- @khanacademy/wonder-blocks-tokens@17.1.0
|
|
22
|
+
- @khanacademy/wonder-blocks-breadcrumbs@3.2.25
|
|
23
|
+
- @khanacademy/wonder-blocks-icon-button@11.4.3
|
|
24
|
+
- @khanacademy/wonder-blocks-layout@3.1.58
|
|
25
|
+
- @khanacademy/wonder-blocks-styles@0.2.51
|
|
26
|
+
- @khanacademy/wonder-blocks-typography@5.0.1
|
|
27
|
+
- @khanacademy/wonder-blocks-announcer@1.1.1
|
|
28
|
+
|
|
3
29
|
## 8.7.8
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -25,22 +25,22 @@ type DrawerModalFunction = (props: {
|
|
|
25
25
|
}) => DrawerModalElement;
|
|
26
26
|
declare const _default: {
|
|
27
27
|
(props: {
|
|
28
|
-
children?: ((arg1: {
|
|
29
|
-
openModal: () => unknown;
|
|
30
|
-
}) => React.ReactNode) | undefined;
|
|
31
|
-
readonly testId?: string | undefined;
|
|
32
|
-
readonly initialFocusId?: string | undefined;
|
|
33
|
-
onClose?: (() => unknown) | (() => unknown) | undefined;
|
|
34
28
|
readonly modal: DrawerModalElement | DrawerModalFunction;
|
|
35
|
-
readonly
|
|
36
|
-
readonly closedFocusId?: string | undefined;
|
|
37
|
-
opened?: boolean | undefined;
|
|
29
|
+
readonly alignment: DrawerAlignment;
|
|
38
30
|
readonly styles?: {
|
|
39
31
|
container?: StyleType;
|
|
40
|
-
}
|
|
41
|
-
readonly
|
|
42
|
-
readonly animated?: boolean
|
|
43
|
-
readonly
|
|
32
|
+
};
|
|
33
|
+
readonly timingDuration?: number;
|
|
34
|
+
readonly animated?: boolean;
|
|
35
|
+
readonly backdropDismissEnabled?: boolean;
|
|
36
|
+
readonly initialFocusId?: string;
|
|
37
|
+
readonly closedFocusId?: string;
|
|
38
|
+
readonly testId?: string;
|
|
39
|
+
opened?: boolean | undefined;
|
|
40
|
+
onClose?: (() => unknown) | (() => unknown) | undefined;
|
|
41
|
+
children?: ((arg1: {
|
|
42
|
+
openModal: () => unknown;
|
|
43
|
+
}) => React.ReactNode) | undefined;
|
|
44
44
|
}): React.JSX.Element;
|
|
45
45
|
displayName: string;
|
|
46
46
|
};
|
|
@@ -62,9 +62,9 @@ type Props = {
|
|
|
62
62
|
* ```
|
|
63
63
|
*/
|
|
64
64
|
declare function FlexiblePanel({ closeButtonVisible, content, title, onClose, styles, testId, }: Props): React.JSX.Element;
|
|
65
|
+
export default FlexiblePanel;
|
|
65
66
|
declare namespace FlexiblePanel {
|
|
66
67
|
var defaultProps: {
|
|
67
68
|
closeButtonVisible: boolean;
|
|
68
69
|
};
|
|
69
70
|
}
|
|
70
|
-
export default FlexiblePanel;
|
|
@@ -20,8 +20,8 @@ type Props = {
|
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
22
|
declare function ModalFooter({ children }: Props): React.JSX.Element;
|
|
23
|
+
export default ModalFooter;
|
|
23
24
|
declare namespace ModalFooter {
|
|
24
25
|
var __IS_MODAL_FOOTER__: boolean;
|
|
25
26
|
var isComponentOf: (instance: any) => boolean;
|
|
26
27
|
}
|
|
27
|
-
export default ModalFooter;
|
|
@@ -2,18 +2,18 @@ import * as React from "react";
|
|
|
2
2
|
import type { ModalElement } from "../util/types";
|
|
3
3
|
declare const _default: {
|
|
4
4
|
(props: {
|
|
5
|
-
readonly children?: ((arg1: {
|
|
6
|
-
openModal: () => unknown;
|
|
7
|
-
}) => React.ReactNode) | undefined;
|
|
8
|
-
readonly testId?: string | undefined;
|
|
9
|
-
readonly initialFocusId?: string | undefined;
|
|
10
|
-
readonly onClose?: (() => unknown) | undefined;
|
|
11
5
|
readonly modal: ModalElement | ((props: {
|
|
12
6
|
closeModal: () => void;
|
|
13
7
|
}) => ModalElement);
|
|
14
|
-
readonly backdropDismissEnabled?: boolean
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
8
|
+
readonly backdropDismissEnabled?: boolean;
|
|
9
|
+
readonly initialFocusId?: string;
|
|
10
|
+
readonly closedFocusId?: string;
|
|
11
|
+
readonly testId?: string;
|
|
12
|
+
readonly opened?: boolean;
|
|
13
|
+
readonly onClose?: () => unknown;
|
|
14
|
+
readonly children?: (arg1: {
|
|
15
|
+
openModal: () => unknown;
|
|
16
|
+
}) => React.ReactNode;
|
|
17
17
|
}): React.JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
@@ -70,10 +70,10 @@ type Props = {
|
|
|
70
70
|
* ```
|
|
71
71
|
*/
|
|
72
72
|
declare function ModalPanel({ closeButtonVisible, scrollOverflow, content, footer, header, onClose, style, testId, }: Props): React.JSX.Element;
|
|
73
|
+
export default ModalPanel;
|
|
73
74
|
declare namespace ModalPanel {
|
|
74
75
|
var defaultProps: {
|
|
75
76
|
closeButtonVisible: boolean;
|
|
76
77
|
scrollOverflow: boolean;
|
|
77
78
|
};
|
|
78
79
|
}
|
|
79
|
-
export default ModalPanel;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "8.7.
|
|
6
|
+
"version": "8.7.10",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@khanacademy/wonder-blocks-announcer": "1.1.1",
|
|
32
|
-
"@khanacademy/wonder-blocks-breadcrumbs": "3.2.
|
|
32
|
+
"@khanacademy/wonder-blocks-breadcrumbs": "3.2.26",
|
|
33
33
|
"@khanacademy/wonder-blocks-core": "12.4.4",
|
|
34
|
-
"@khanacademy/wonder-blocks-icon-button": "11.4.
|
|
35
|
-
"@khanacademy/wonder-blocks-layout": "3.1.
|
|
36
|
-
"@khanacademy/wonder-blocks-styles": "0.2.
|
|
34
|
+
"@khanacademy/wonder-blocks-icon-button": "11.4.4",
|
|
35
|
+
"@khanacademy/wonder-blocks-layout": "3.1.59",
|
|
36
|
+
"@khanacademy/wonder-blocks-styles": "0.2.52",
|
|
37
37
|
"@khanacademy/wonder-blocks-timing": "7.1.0",
|
|
38
|
-
"@khanacademy/wonder-blocks-tokens": "17.
|
|
39
|
-
"@khanacademy/wonder-blocks-typography": "5.0.
|
|
38
|
+
"@khanacademy/wonder-blocks-tokens": "17.2.0",
|
|
39
|
+
"@khanacademy/wonder-blocks-typography": "5.0.2"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@phosphor-icons/core": "^2.0.2",
|