@khanacademy/wonder-blocks-form 4.1.1 → 4.1.2

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,11 @@
1
1
  # @khanacademy/wonder-blocks-form
2
2
 
3
+ ## 4.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 43f6328d: Fix flow types
8
+
3
9
  ## 4.1.1
4
10
 
5
11
  ### Patch Changes
@@ -8,7 +8,9 @@ import * as React from "react";
8
8
  import { StyleType } from "@khanacademy/wonder-blocks-core";
9
9
  import { TextFieldType } from "./text-field";
10
10
  declare type WithForwardRef = {|
11
- forwardedRef: React.Ref<HTMLInputElement>,
11
+ forwardedRef: {|
12
+ current: HTMLInputElement | null,
13
+ |},
12
14
  |};
13
15
  declare type Props = {|
14
16
  /**
@@ -8,7 +8,9 @@ import * as React from "react";
8
8
  import type { StyleType, AriaProps } from "@khanacademy/wonder-blocks-core";
9
9
  export type TextFieldType = "text" | "password" | "email" | "number" | "tel";
10
10
  declare type WithForwardRef = {|
11
- forwardedRef: React.Ref<HTMLInputElement>,
11
+ forwardedRef: {|
12
+ current: HTMLInputElement | null,
13
+ |},
12
14
  |};
13
15
  declare type Props = {|
14
16
  ...AriaProps,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@khanacademy/wonder-blocks-form",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "design": "v1",
5
5
  "description": "Form components for Wonder Blocks.",
6
6
  "main": "dist/index.js",