@khanacademy/wonder-blocks-form 4.0.3 → 4.0.5
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 +18 -0
- package/dist/components/checkbox-core.js.flow +1 -2
- package/dist/components/checkbox-group.js.flow +1 -2
- package/dist/components/checkbox.js.flow +1 -2
- package/dist/components/choice-internal.js.flow +1 -2
- package/dist/components/choice.js.flow +1 -2
- package/dist/components/field-heading.js.flow +1 -2
- package/dist/components/group-styles.js.flow +1 -2
- package/dist/components/labeled-text-field.js.flow +2 -6
- package/dist/components/radio-core.js.flow +1 -2
- package/dist/components/radio-group.js.flow +1 -2
- package/dist/components/radio.js.flow +1 -2
- package/dist/components/text-field.js.flow +2 -6
- package/dist/index.js.flow +1 -2
- package/dist/util/types.js.flow +1 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-form
|
|
2
2
|
|
|
3
|
+
## 4.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @khanacademy/wonder-blocks-clickable@3.0.5
|
|
8
|
+
- @khanacademy/wonder-blocks-icon@2.0.5
|
|
9
|
+
- @khanacademy/wonder-blocks-layout@2.0.5
|
|
10
|
+
- @khanacademy/wonder-blocks-typography@2.0.5
|
|
11
|
+
|
|
12
|
+
## 4.0.4
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- @khanacademy/wonder-blocks-clickable@3.0.4
|
|
17
|
+
- @khanacademy/wonder-blocks-icon@2.0.4
|
|
18
|
+
- @khanacademy/wonder-blocks-layout@2.0.4
|
|
19
|
+
- @khanacademy/wonder-blocks-typography@2.0.4
|
|
20
|
+
|
|
3
21
|
## 4.0.3
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { ChoiceCoreProps } from "../util/types";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import Choice from "./choice";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { AriaProps, StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type ChoiceComponentProps = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { AriaProps, StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import CheckboxCore from "./checkbox-core";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { AriaProps, StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import Checkbox from "./checkbox";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import type { StyleDeclaration } from "aphrodite";
|
|
9
8
|
declare var styles: StyleDeclaration;
|
|
10
9
|
declare export default typeof styles;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import { TextFieldType } from "./text-field";
|
|
@@ -174,10 +173,7 @@ declare class LabeledTextField
|
|
|
174
173
|
render(): React.Node;
|
|
175
174
|
}
|
|
176
175
|
declare type ExportProps = $Diff<
|
|
177
|
-
|
|
178
|
-
typeof LabeledTextField,
|
|
179
|
-
React.ElementProps<typeof LabeledTextField>
|
|
180
|
-
>,
|
|
176
|
+
React.ElementConfig<typeof LabeledTextField>,
|
|
181
177
|
{ forwardedRef: any }
|
|
182
178
|
>;
|
|
183
179
|
/**
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { ChoiceCoreProps } from "../util/types";
|
|
10
9
|
declare type Props = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
import Choice from "./choice";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { AriaProps, StyleType } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
declare type ChoiceComponentProps = {|
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import * as React from "react";
|
|
9
8
|
import type { StyleType, AriaProps } from "@khanacademy/wonder-blocks-core";
|
|
10
9
|
export type TextFieldType = "text" | "password" | "email" | "number" | "tel";
|
|
@@ -152,10 +151,7 @@ declare class TextField extends React.Component<PropsWithForwardRef, State> {
|
|
|
152
151
|
render(): React.Node;
|
|
153
152
|
}
|
|
154
153
|
declare type ExportProps = $Diff<
|
|
155
|
-
|
|
156
|
-
typeof TextField,
|
|
157
|
-
React.ElementProps<typeof TextField>
|
|
158
|
-
>,
|
|
154
|
+
React.ElementConfig<typeof TextField>,
|
|
159
155
|
{ forwardedRef: any }
|
|
160
156
|
>;
|
|
161
157
|
/**
|
package/dist/index.js.flow
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import Checkbox from "./components/checkbox";
|
|
9
8
|
import Choice from "./components/choice";
|
|
10
9
|
import CheckboxGroup from "./components/checkbox-group";
|
package/dist/util/types.js.flow
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Flowtype definitions for
|
|
2
|
+
* Flowtype definitions for data
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
4
|
* Flowgen v1.21.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
7
|
import type { AriaProps, StyleType } from "@khanacademy/wonder-blocks-core";
|
|
9
8
|
import Choice from "../components/choice";
|
|
10
9
|
export type ChoiceCoreProps = {|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-form",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.5",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"description": "Form components for Wonder Blocks.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime": "^7.18.6",
|
|
19
|
-
"@khanacademy/wonder-blocks-clickable": "^3.0.
|
|
19
|
+
"@khanacademy/wonder-blocks-clickable": "^3.0.5",
|
|
20
20
|
"@khanacademy/wonder-blocks-color": "^2.0.1",
|
|
21
21
|
"@khanacademy/wonder-blocks-core": "^5.0.3",
|
|
22
|
-
"@khanacademy/wonder-blocks-icon": "^2.0.
|
|
23
|
-
"@khanacademy/wonder-blocks-layout": "^2.0.
|
|
22
|
+
"@khanacademy/wonder-blocks-icon": "^2.0.5",
|
|
23
|
+
"@khanacademy/wonder-blocks-layout": "^2.0.5",
|
|
24
24
|
"@khanacademy/wonder-blocks-spacing": "^4.0.1",
|
|
25
|
-
"@khanacademy/wonder-blocks-typography": "^2.0.
|
|
25
|
+
"@khanacademy/wonder-blocks-typography": "^2.0.5"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"aphrodite": "^1.2.5",
|
|
29
29
|
"react": "16.14.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"wb-dev-build-settings": "^0.9.
|
|
32
|
+
"wb-dev-build-settings": "^0.9.4"
|
|
33
33
|
}
|
|
34
34
|
}
|