@khanacademy/wonder-blocks-grid 1.0.41 → 2.0.0

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,19 @@
1
1
  # @khanacademy/wonder-blocks-grid
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 1ca4d7e3: Fix minor issue with generate Flow types (this is a major bump b/c I forgot to do one after doing the TS conversion)
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [1ca4d7e3]
12
+ - @khanacademy/wonder-blocks-color@2.0.0
13
+ - @khanacademy/wonder-blocks-core@5.0.0
14
+ - @khanacademy/wonder-blocks-layout@2.0.0
15
+ - @khanacademy/wonder-blocks-spacing@4.0.0
16
+
3
17
  ## 1.0.41
4
18
 
5
19
  ### Patch Changes
@@ -41,7 +41,7 @@ declare type Props = {
41
41
  totalColumns: number,
42
42
  cols: number,
43
43
  ...
44
- }) => React.Element<>),
44
+ }) => React.Element<any>),
45
45
 
46
46
  /**
47
47
  * The styling to apply to the cell.
@@ -78,5 +78,5 @@ declare export default class Cell extends React.Component<Props> {
78
78
  static shouldDisplay(props: Props, mediaSize: MediaSize): boolean;
79
79
  static defaultProps: DefaultProps;
80
80
  static __IS_CELL__: boolean;
81
- render(): React.Element<> | null;
81
+ render(): React.Element<any> | null;
82
82
  }
@@ -33,5 +33,5 @@ declare type DefaultProps = {
33
33
  */
34
34
  declare export default class Gutter extends React.Component<Props> {
35
35
  static defaultProps: DefaultProps;
36
- render(): React.Element<> | null;
36
+ render(): React.Element<any> | null;
37
37
  }
@@ -27,7 +27,7 @@ declare type Props = {
27
27
  mediaSize: MediaSize,
28
28
  totalColumns: number,
29
29
  ...
30
- }) => React.Element<>),
30
+ }) => React.Element<any>),
31
31
 
32
32
  /**
33
33
  * The styling to apply to the row.
@@ -59,5 +59,5 @@ declare type DefaultProps = {
59
59
  */
60
60
  declare export default class Row extends React.Component<Props> {
61
61
  static defaultProps: DefaultProps;
62
- render(): React.Element<> | null;
62
+ render(): React.Element<any> | null;
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-grid",
3
- "version": "1.0.41",
3
+ "version": "2.0.0",
4
4
  "design": "v1",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -16,16 +16,16 @@
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-color": "^1.2.3",
20
- "@khanacademy/wonder-blocks-core": "^4.9.1",
21
- "@khanacademy/wonder-blocks-layout": "^1.4.19",
22
- "@khanacademy/wonder-blocks-spacing": "^3.0.7"
19
+ "@khanacademy/wonder-blocks-color": "^2.0.0",
20
+ "@khanacademy/wonder-blocks-core": "^5.0.0",
21
+ "@khanacademy/wonder-blocks-layout": "^2.0.0",
22
+ "@khanacademy/wonder-blocks-spacing": "^4.0.0"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "aphrodite": "^1.2.5",
26
26
  "react": "16.14.0"
27
27
  },
28
28
  "devDependencies": {
29
- "wb-dev-build-settings": "^0.7.4"
29
+ "wb-dev-build-settings": "^0.8.0"
30
30
  }
31
31
  }