dibk-design 1.0.4 → 1.0.7
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/dist/components/Button.module.scss +1 -1
- package/dist/components/CheckBoxIcon.js +1 -0
- package/dist/components/CheckBoxInput.js +2 -2
- package/dist/components/CheckBoxInput.module.scss +4 -2
- package/dist/components/CheckBoxListItem.module.scss +0 -4
- package/dist/components/RadioButtonInput.js +2 -2
- package/dist/components/RadioButtonInput.module.scss +4 -2
- package/dist/components/RadioButtonListItem.module.scss +0 -4
- package/dist/style/abstracts/variables/_colors.scss +2 -0
- package/package.json +1 -1
|
@@ -76,6 +76,7 @@ var CheckBoxIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
76
76
|
style: inlineStyle
|
|
77
77
|
};
|
|
78
78
|
return /*#__PURE__*/_react.default.createElement("span", props, /*#__PURE__*/_react.default.createElement("span", {
|
|
79
|
+
"aria-hidden": true,
|
|
79
80
|
className: _CheckBoxIconModule.default.checkmark
|
|
80
81
|
}, this.props.checked ? this.props.checkmarkCharacter : ''));
|
|
81
82
|
}
|
|
@@ -70,7 +70,7 @@ var CheckBoxInput = /*#__PURE__*/function (_React$Component) {
|
|
|
70
70
|
checked: this.props.checked,
|
|
71
71
|
disabled: this.props.disabled,
|
|
72
72
|
onChange: this.props.onChange,
|
|
73
|
-
"aria-
|
|
73
|
+
"aria-description": this.props["aria-description"],
|
|
74
74
|
"aria-controls": this.props["aria-controls"]
|
|
75
75
|
};
|
|
76
76
|
return /*#__PURE__*/_react.default.createElement("label", labelProps, !this.props.contentOnly ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_CheckBoxIcon.default, iconProps), /*#__PURE__*/_react.default.createElement("input", inputProps)) : /*#__PURE__*/_react.default.createElement(_CheckBoxIcon.default, iconProps), /*#__PURE__*/_react.default.createElement("span", null, this.props.children));
|
|
@@ -90,7 +90,7 @@ CheckBoxInput.propTypes = {
|
|
|
90
90
|
hasErrors: _propTypes.default.bool,
|
|
91
91
|
theme: _propTypes.default.object,
|
|
92
92
|
checkmarkCharacter: _propTypes.default.string,
|
|
93
|
-
"aria-
|
|
93
|
+
"aria-description": _propTypes.default.string,
|
|
94
94
|
"aria-controls": _propTypes.default.string
|
|
95
95
|
};
|
|
96
96
|
CheckBoxInput.defaultProps = {
|
|
@@ -69,7 +69,7 @@ var RadioButtonInput = /*#__PURE__*/function (_React$Component) {
|
|
|
69
69
|
checked: this.props.checked,
|
|
70
70
|
disabled: this.props.disabled,
|
|
71
71
|
onChange: this.props.onChange,
|
|
72
|
-
"aria-
|
|
72
|
+
"aria-description": this.props["aria-description"],
|
|
73
73
|
"aria-controls": this.props["aria-controls"]
|
|
74
74
|
};
|
|
75
75
|
return /*#__PURE__*/_react.default.createElement("label", labelProps, !this.props.contentOnly ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_RadioButtonIcon.default, iconProps), /*#__PURE__*/_react.default.createElement("input", inputProps)) : null, /*#__PURE__*/_react.default.createElement("span", null, this.props.children));
|
|
@@ -89,7 +89,7 @@ RadioButtonInput.propTypes = {
|
|
|
89
89
|
hasErrors: _propTypes.default.bool,
|
|
90
90
|
theme: _propTypes.default.object,
|
|
91
91
|
inputValue: _propTypes.default.string.isRequired,
|
|
92
|
-
"aria-
|
|
92
|
+
"aria-description": _propTypes.default.string,
|
|
93
93
|
"aria-controls": _propTypes.default.string
|
|
94
94
|
};
|
|
95
95
|
RadioButtonInput.defaultProps = {
|