@linzjs/lui 22.4.0 → 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,17 @@
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
+
8
+ ## [22.4.1](https://github.com/linz/lui/compare/v22.4.0...v22.4.1) (2025-01-27)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * clean up most lui build warnings ([#1192](https://github.com/linz/lui/issues/1192)) ([53d44ad](https://github.com/linz/lui/commit/53d44ad2a35191b1ba5694d5b8d4de0a0e0a07b8))
14
+
1
15
  # [22.4.0](https://github.com/linz/lui/compare/v22.3.0...v22.4.0) (2025-01-27)
2
16
 
3
17
 
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
  };
@@ -54894,7 +54894,7 @@ var LuiMultiSwitch = function (_a) {
54894
54894
  React__default["default"].createElement("div", { className: clsx('LuiMultiSwitch-labels', disabled && 'LuiMultiSwitch-disabled') }, options === null || options === void 0 ? void 0 : options.map(function (option, i) { return (React__default["default"].createElement("label", { role: 'radio', key: i, htmlFor: id.current, "aria-disabled": option.disabled || disabled, "aria-checked": selectedIndex === i, className: option.className, onClick: function () { return select(i); }, onTouchStart: function () { return select(i); } }, option.text)); }))));
54895
54895
  };
54896
54896
 
54897
- var css_248z$g = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiListBox {\n padding: 0;\n list-style: none;\n}\n.LuiListBox .LuiListBoxItem {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n user-select: none;\n color: #2a292c;\n line-height: 24px;\n outline: none;\n padding: 0.5rem 0.75rem;\n border: 2px solid transparent;\n}\n.LuiListBox .LuiListBoxItem:focus-visible {\n border-color: #007198;\n}\n.LuiListBox .LuiListBoxItem.LuiListBoxItem-selected {\n background: #e2f3f7;\n}\n.LuiListBox .LuiListBoxItem:hover, .LuiListBox .LuiListBoxItem.LuiListBoxItem-selected:hover {\n background: #d6eef4;\n}\n.LuiListBox .LuiListBoxItem.LuiListBoxItem-disabled {\n background: #eaeaea;\n}\n.LuiListBox .LuiListBox-emptyIndicator, .LuiListBox .LuiListBox-loadingIndicator {\n padding: 0.5rem 0.75rem;\n}\n.LuiListBox .LuiListBoxGroup .LuiListBoxGroup-heading {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n user-select: none;\n color: #6b6966;\n line-height: 16px;\n padding: 0.5rem 0.5rem;\n}";
54897
+ var css_248z$g = "/**\n @deprecated\n */\n/**\n @deprecated\n */\n/**\n @deprecated\n */\n.LuiListBox {\n padding: 0;\n list-style: none;\n}\n.LuiListBox .LuiListBoxItem {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n user-select: none;\n color: #2a292c;\n line-height: 24px;\n outline: none;\n padding: 0.5rem 0.75rem;\n border: 2px solid transparent;\n}\n.LuiListBox .LuiListBoxItem:focus-visible {\n border-color: #007198;\n}\n.LuiListBox .LuiListBoxItem.LuiListBoxItem-selected {\n background: #e2f3f7;\n}\n.LuiListBox .LuiListBoxItem:hover, .LuiListBox .LuiListBoxItem.LuiListBoxItem-selected:hover {\n background: rgb(214.0081081081, 238.0378378378, 243.6918918919);\n}\n.LuiListBox .LuiListBoxItem.LuiListBoxItem-disabled {\n background: #eaeaea;\n}\n.LuiListBox .LuiListBox-emptyIndicator, .LuiListBox .LuiListBox-loadingIndicator {\n padding: 0.5rem 0.75rem;\n}\n.LuiListBox .LuiListBoxGroup .LuiListBoxGroup-heading {\n font-family: \"Open Sans\", system-ui, sans-serif;\n font-style: normal;\n font-weight: normal;\n font-size: 14px;\n user-select: none;\n color: #6b6966;\n line-height: 16px;\n padding: 0.5rem 0.5rem;\n}";
54898
54898
  styleInject(css_248z$g);
54899
54899
 
54900
54900
  function $c1d7fb2ec91bae71$var$Item(props) {