@khanacademy/wonder-blocks-form 4.6.0 → 4.6.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 +12 -0
- package/dist/es/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/__tests__/__snapshots__/custom-snapshot.test.tsx.snap +165 -785
- package/src/__tests__/custom-snapshot.test.tsx +21 -23
- package/src/components/__tests__/labeled-text-field.test.tsx +41 -0
- package/src/components/labeled-text-field.tsx +10 -0
- package/tsconfig-build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-form
|
|
2
2
|
|
|
3
|
+
## 4.6.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8fda4a73: Fix onBlur and onFocus props so it gets properly called when it is defined in the call site
|
|
8
|
+
|
|
9
|
+
## 4.6.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 29563c0d: Fix onValidate prop so it gets properly called when it is defined in the call site
|
|
14
|
+
|
|
3
15
|
## 4.6.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/es/index.js
CHANGED
|
@@ -878,7 +878,7 @@ const styles = StyleSheet.create({
|
|
|
878
878
|
}
|
|
879
879
|
});
|
|
880
880
|
|
|
881
|
-
const _excluded = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby"];
|
|
881
|
+
const _excluded = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "onValidate", "onFocus", "onBlur"];
|
|
882
882
|
class LabeledTextField extends React.Component {
|
|
883
883
|
constructor(props) {
|
|
884
884
|
super(props);
|
package/dist/index.js
CHANGED
|
@@ -906,7 +906,7 @@ const styles = aphrodite.StyleSheet.create({
|
|
|
906
906
|
}
|
|
907
907
|
});
|
|
908
908
|
|
|
909
|
-
const _excluded = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby"];
|
|
909
|
+
const _excluded = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "onValidate", "onFocus", "onBlur"];
|
|
910
910
|
class LabeledTextField extends React__namespace.Component {
|
|
911
911
|
constructor(props) {
|
|
912
912
|
super(props);
|