@khanacademy/wonder-blocks-clickable 2.4.7 → 3.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,26 @@
1
1
  # @khanacademy/wonder-blocks-clickable
2
2
 
3
+ ## 3.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
+
15
+ ## 2.4.8
16
+
17
+ ### Patch Changes
18
+
19
+ - b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
20
+ - Updated dependencies [b5ba5568]
21
+ - @khanacademy/wonder-blocks-color@1.2.3
22
+ - @khanacademy/wonder-blocks-core@4.9.1
23
+
3
24
  ## 2.4.7
4
25
 
5
26
  ### Patch Changes
@@ -26,7 +26,7 @@ declare type Props = {
26
26
  children: (
27
27
  state: ClickableState,
28
28
  childrenProps: ChildrenProps
29
- ) => React.Element<>,
29
+ ) => React.Element<any>,
30
30
 
31
31
  /**
32
32
  * Whether the component is disabled.
@@ -292,5 +292,5 @@ declare export default class ClickableBehavior
292
292
  handleKeyUp: (e: React.KeyboardEvent<>) => void;
293
293
  handleFocus: (e: React.FocusEvent<>) => void;
294
294
  handleBlur: (e: React.FocusEvent<>) => void;
295
- render(): React.Element<>;
295
+ render(): React.Element<any>;
296
296
  }
@@ -170,7 +170,7 @@ declare export default class Clickable extends React.Component<Props> {
170
170
  commonProps: {
171
171
  [key: string]: any,
172
172
  }
173
- ) => React.Element<>;
173
+ ) => React.Element<any>;
174
174
  renderClickableBehavior(router: any): React.Node;
175
- render(): React.Element<>;
175
+ render(): React.Element<any>;
176
176
  }
@@ -12,8 +12,5 @@ declare export default function getClickableBehavior(
12
12
  skipClientNav?: boolean,
13
13
  router?: any
14
14
  ): React.ComponentType<
15
- JSX.LibraryManagedAttributes<
16
- typeof ClickableBehavior,
17
- React.ComponentProps<typeof ClickableBehavior>
18
- >
15
+ React.ElementConfig<typeof ClickableBehavior>
19
16
  >;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-clickable",
3
- "version": "2.4.7",
3
+ "version": "3.0.0",
4
4
  "design": "v1",
5
5
  "description": "Clickable component for Wonder-Blocks.",
6
6
  "main": "dist/index.js",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@babel/runtime": "^7.18.6",
19
- "@khanacademy/wonder-blocks-color": "^1.2.2",
20
- "@khanacademy/wonder-blocks-core": "^4.9.0"
19
+ "@khanacademy/wonder-blocks-color": "^2.0.0",
20
+ "@khanacademy/wonder-blocks-core": "^5.0.0"
21
21
  },
22
22
  "peerDependencies": {
23
23
  "aphrodite": "^1.2.5",
@@ -27,6 +27,6 @@
27
27
  "react-router-dom": "5.3.0"
28
28
  },
29
29
  "devDependencies": {
30
- "wb-dev-build-settings": "^0.7.3"
30
+ "wb-dev-build-settings": "^0.8.0"
31
31
  }
32
32
  }