@khanacademy/wonder-blocks-modal 4.0.6 → 4.0.8

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 CHANGED
@@ -1,5 +1,25 @@
1
1
  # @khanacademy/wonder-blocks-modal
2
2
 
3
+ ## 4.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - @khanacademy/wonder-blocks-breadcrumbs@2.0.8
8
+ - @khanacademy/wonder-blocks-icon@2.0.8
9
+ - @khanacademy/wonder-blocks-icon-button@4.0.8
10
+ - @khanacademy/wonder-blocks-layout@2.0.8
11
+ - @khanacademy/wonder-blocks-typography@2.0.8
12
+
13
+ ## 4.0.7
14
+
15
+ ### Patch Changes
16
+
17
+ - @khanacademy/wonder-blocks-breadcrumbs@2.0.7
18
+ - @khanacademy/wonder-blocks-icon@2.0.7
19
+ - @khanacademy/wonder-blocks-icon-button@4.0.7
20
+ - @khanacademy/wonder-blocks-layout@2.0.7
21
+ - @khanacademy/wonder-blocks-typography@2.0.7
22
+
3
23
  ## 4.0.6
4
24
 
5
25
  ### Patch Changes
@@ -49,7 +49,7 @@ declare type WithBreadcrumbs = {|
49
49
  /**
50
50
  * Adds a breadcrumb-trail, appearing in the ModalHeader, above the title.
51
51
  */
52
- breadcrumbs: React.Element<React.ElementProps<typeof Breadcrumbs>>,
52
+ breadcrumbs: React.Element<typeof Breadcrumbs>,
53
53
  |},
54
54
  |};
55
55
  declare type Props = Common | WithSubtitle | WithBreadcrumbs;
@@ -14,17 +14,17 @@ declare type Props = {|
14
14
  * The main contents of the ModalPanel. All other parts of the panel
15
15
  * are positioned around it.
16
16
  */
17
- content: React.Element<React.ElementProps<typeof ModalContent>> | React.Node,
17
+ content: React.Element<typeof ModalContent> | React.Node,
18
18
 
19
19
  /**
20
20
  * The modal header to show at the top of the panel.
21
21
  */
22
- header?: React.Element<React.ElementProps<typeof ModalHeader>> | React.Node,
22
+ header?: React.Element<typeof ModalHeader> | React.Node,
23
23
 
24
24
  /**
25
25
  * A footer to show beneath the contents.
26
26
  */
27
- footer?: React.Element<React.ElementProps<typeof ModalFooter>> | React.Node,
27
+ footer?: React.Element<typeof ModalFooter> | React.Node,
28
28
 
29
29
  /**
30
30
  * When true, the close button is shown; otherwise, the close button is not shown.
@@ -101,7 +101,7 @@ declare type WithBreadcrumbs = {|
101
101
  /**
102
102
  * Adds a breadcrumb-trail, appearing in the ModalHeader, above the title.
103
103
  */
104
- breadcrumbs: React.Element<React.ElementProps<typeof Breadcrumbs>>,
104
+ breadcrumbs: React.Element<typeof Breadcrumbs>,
105
105
  |},
106
106
  |};
107
107
  declare type Props = Common | WithSubtitle | WithBreadcrumbs;
@@ -143,6 +143,6 @@ declare export default class OnePaneDialog extends React.Component<Props> {
143
143
  static defaultProps: DefaultProps;
144
144
  renderHeader(
145
145
  uniqueId: string
146
- ): React.Element<React.ElementProps<typeof ModalHeader>>;
146
+ ): React.Element<typeof ModalHeader>;
147
147
  render(): React.Node;
148
148
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-modal",
3
- "version": "4.0.6",
3
+ "version": "4.0.8",
4
4
  "design": "v2",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,15 +16,15 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-breadcrumbs": "^2.0.6",
19
+ "@khanacademy/wonder-blocks-breadcrumbs": "^2.0.8",
20
20
  "@khanacademy/wonder-blocks-color": "^2.0.1",
21
21
  "@khanacademy/wonder-blocks-core": "^5.0.4",
22
- "@khanacademy/wonder-blocks-icon": "^2.0.6",
23
- "@khanacademy/wonder-blocks-icon-button": "^4.0.6",
24
- "@khanacademy/wonder-blocks-layout": "^2.0.6",
22
+ "@khanacademy/wonder-blocks-icon": "^2.0.8",
23
+ "@khanacademy/wonder-blocks-icon-button": "^4.0.8",
24
+ "@khanacademy/wonder-blocks-layout": "^2.0.8",
25
25
  "@khanacademy/wonder-blocks-spacing": "^4.0.1",
26
26
  "@khanacademy/wonder-blocks-timing": "^3.0.2",
27
- "@khanacademy/wonder-blocks-typography": "^2.0.6"
27
+ "@khanacademy/wonder-blocks-typography": "^2.0.8"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "aphrodite": "^1.2.5",
@@ -32,7 +32,7 @@
32
32
  "react-dom": "16.14.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@khanacademy/wonder-blocks-breadcrumbs": "^2.0.6",
36
- "wb-dev-build-settings": "^0.9.5"
35
+ "@khanacademy/wonder-blocks-breadcrumbs": "^2.0.8",
36
+ "wb-dev-build-settings": "^0.9.7"
37
37
  }
38
38
  }