@khanacademy/wonder-blocks-form 4.9.4 → 4.10.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 +6 -0
- package/dist/components/labeled-text-field.d.ts +4 -0
- package/dist/es/index.js +5 -3
- package/dist/index.js +5 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/es/index.js
CHANGED
|
@@ -916,7 +916,7 @@ const styles$1 = StyleSheet.create({
|
|
|
916
916
|
}
|
|
917
917
|
});
|
|
918
918
|
|
|
919
|
-
const _excluded$1 = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "onValidate", "onFocus", "onBlur"];
|
|
919
|
+
const _excluded$1 = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "name", "onValidate", "onFocus", "onBlur"];
|
|
920
920
|
class LabeledTextField extends React.Component {
|
|
921
921
|
constructor(props) {
|
|
922
922
|
super(props);
|
|
@@ -981,7 +981,8 @@ class LabeledTextField extends React.Component {
|
|
|
981
981
|
readOnly,
|
|
982
982
|
autoComplete,
|
|
983
983
|
forwardedRef,
|
|
984
|
-
ariaDescribedby
|
|
984
|
+
ariaDescribedby,
|
|
985
|
+
name
|
|
985
986
|
} = _this$props,
|
|
986
987
|
otherProps = _objectWithoutPropertiesLoose(_this$props, _excluded$1);
|
|
987
988
|
return React.createElement(IDProvider, {
|
|
@@ -1011,7 +1012,8 @@ class LabeledTextField extends React.Component {
|
|
|
1011
1012
|
light: light,
|
|
1012
1013
|
readOnly: readOnly,
|
|
1013
1014
|
autoComplete: autoComplete,
|
|
1014
|
-
ref: forwardedRef
|
|
1015
|
+
ref: forwardedRef,
|
|
1016
|
+
name: name
|
|
1015
1017
|
}, otherProps)),
|
|
1016
1018
|
label: label,
|
|
1017
1019
|
description: description,
|
package/dist/index.js
CHANGED
|
@@ -946,7 +946,7 @@ const styles$1 = aphrodite.StyleSheet.create({
|
|
|
946
946
|
}
|
|
947
947
|
});
|
|
948
948
|
|
|
949
|
-
const _excluded$1 = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "onValidate", "onFocus", "onBlur"];
|
|
949
|
+
const _excluded$1 = ["id", "type", "label", "description", "value", "disabled", "required", "validate", "onChange", "onKeyDown", "placeholder", "light", "style", "testId", "readOnly", "autoComplete", "forwardedRef", "ariaDescribedby", "name", "onValidate", "onFocus", "onBlur"];
|
|
950
950
|
class LabeledTextField extends React__namespace.Component {
|
|
951
951
|
constructor(props) {
|
|
952
952
|
super(props);
|
|
@@ -1011,7 +1011,8 @@ class LabeledTextField extends React__namespace.Component {
|
|
|
1011
1011
|
readOnly,
|
|
1012
1012
|
autoComplete,
|
|
1013
1013
|
forwardedRef,
|
|
1014
|
-
ariaDescribedby
|
|
1014
|
+
ariaDescribedby,
|
|
1015
|
+
name
|
|
1015
1016
|
} = _this$props,
|
|
1016
1017
|
otherProps = _objectWithoutPropertiesLoose__default["default"](_this$props, _excluded$1);
|
|
1017
1018
|
return React__namespace.createElement(wonderBlocksCore.IDProvider, {
|
|
@@ -1041,7 +1042,8 @@ class LabeledTextField extends React__namespace.Component {
|
|
|
1041
1042
|
light: light,
|
|
1042
1043
|
readOnly: readOnly,
|
|
1043
1044
|
autoComplete: autoComplete,
|
|
1044
|
-
ref: forwardedRef
|
|
1045
|
+
ref: forwardedRef,
|
|
1046
|
+
name: name
|
|
1045
1047
|
}, otherProps)),
|
|
1046
1048
|
label: label,
|
|
1047
1049
|
description: description,
|