@linzjs/lui 22.4.1 → 22.4.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [22.4.2](https://github.com/linz/lui/compare/v22.4.1...v22.4.2) (2025-01-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * do a version bump for release ([#1194](https://github.com/linz/lui/issues/1194)) ([7b1fa4b](https://github.com/linz/lui/commit/7b1fa4b0ae832e27ad13217b66a50e66a21d4152))
7
+
1
8
  ## [22.4.1](https://github.com/linz/lui/compare/v22.4.0...v22.4.1) (2025-01-27)
2
9
 
3
10
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Lui - Linz User Interface!!
1
+ # Lui - Linz User Interface!
2
2
 
3
3
  > It's written in CSS and a React wrapper!
4
4
  >
@@ -3,4 +3,5 @@ import './../../scss/Components/LuiSwitchButton/LuiSwitchButton.scss';
3
3
  export declare const LuiSwitchButton: (props: {
4
4
  checked: boolean;
5
5
  onChange: (event: ChangeEvent<HTMLInputElement>) => any;
6
+ disabled?: boolean | undefined;
6
7
  }) => JSX.Element;
package/dist/index.js CHANGED
@@ -47156,7 +47156,7 @@ styleInject(css_248z$i);
47156
47156
  var LuiSwitchButton = function (props) {
47157
47157
  var generatedId = useGenerateOrDefaultId();
47158
47158
  return (React__default["default"].createElement(React__default["default"].Fragment, null,
47159
- React__default["default"].createElement("input", __assign({ className: "lui-switch-checkbox", type: "checkbox", "data-testid": 'lui-switch-new', id: generatedId }, props)),
47159
+ React__default["default"].createElement("input", __assign({ className: "lui-switch-checkbox", type: "checkbox", "data-testid": 'lui-switch-new', id: generatedId, disabled: props.disabled }, props)),
47160
47160
  React__default["default"].createElement("label", { "data-testid": "label", className: clsx('lui-switch-label', props.checked ? 'lui-switch-label-checked' : null), htmlFor: generatedId },
47161
47161
  React__default["default"].createElement("span", { className: "lui-switch-button" }))));
47162
47162
  };