@linzjs/lui 15.1.0 → 15.1.1
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 +7 -0
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.css +30 -52
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +5 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/LuiFormElements/LuiCheckboxInput/LuiCheckboxInput.scss +48 -58
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [15.1.1](https://github.com/linz/lui/compare/v15.1.0...v15.1.1) (2022-03-02)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* Changes the labels on LuiCheckboxInput to regular ([#597](https://github.com/linz/lui/issues/597)) ([2812b72](https://github.com/linz/lui/commit/2812b72c08c19af6dedd9d305333d8073f2724ce))
|
|
7
|
+
|
|
1
8
|
# [15.1.0](https://github.com/linz/lui/compare/v15.0.7...v15.1.0) (2022-03-02)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.js
CHANGED
|
@@ -867,10 +867,14 @@ var LuiCheckboxInput = function (props) {
|
|
|
867
867
|
return (React__default["default"].createElement("div", { className: clsx('LuiCheckboxInput', {
|
|
868
868
|
'LuiCheckboxInput--isChecked': props.isChecked,
|
|
869
869
|
'LuiCheckboxInput--hasError': !!props.error,
|
|
870
|
+
'LuiCheckboxInput--isDisabled': !!props.isDisabled,
|
|
870
871
|
}) },
|
|
871
872
|
React__default["default"].createElement("label", { htmlFor: id, className: "LuiCheckboxInput-group" },
|
|
872
873
|
React__default["default"].createElement("input", __assign({ className: clsx('LuiCheckboxInput-input'), id: id, type: "checkbox", value: props.value, onChange: props.onChange, checked: props.isChecked, disabled: props.isDisabled }, props.inputProps)),
|
|
873
|
-
React__default["default"].createElement("span", { className: "LuiCheckboxInput-label" },
|
|
874
|
+
React__default["default"].createElement("span", { className: "LuiCheckboxInput-label" },
|
|
875
|
+
props.label,
|
|
876
|
+
' ',
|
|
877
|
+
React__default["default"].createElement(LuiIcon, { name: "ic_check", size: "md", alt: "Check", className: "LuiCheckboxInput-labelCheck" }))),
|
|
874
878
|
props.error && (React__default["default"].createElement(LuiError, { className: "LuiCheckboxInput", error: props.error }))));
|
|
875
879
|
};
|
|
876
880
|
|