@linzjs/lui 21.7.0 → 21.8.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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [21.8.1](https://github.com/linz/lui/compare/v21.8.0...v21.8.1) (2023-11-02)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * Fixed issue with the switch not being correctly imported ([#1040](https://github.com/linz/lui/issues/1040)) ([c091526](https://github.com/linz/lui/commit/c091526ae2a9fdec9bc210bed9828db76159cd85))
7
+
8
+ # [21.8.0](https://github.com/linz/lui/compare/v21.7.0...v21.8.0) (2023-11-01)
9
+
10
+
11
+ ### Features
12
+
13
+ * LuiAlertModal passes props through to underlying LuiModal ([#1039](https://github.com/linz/lui/issues/1039)) ([4a0b185](https://github.com/linz/lui/commit/4a0b1853c6e5d1cb2f97c1fc4080fb95cf05ffc0))
14
+
1
15
  # [21.7.0](https://github.com/linz/lui/compare/v21.6.0...v21.7.0) (2023-11-01)
2
16
 
3
17
 
package/dist/index.d.ts CHANGED
@@ -8,7 +8,7 @@ export { LuiButtonGroup } from './components/LuiButton/LuiButton';
8
8
  export { LuiExpandableBanner } from './components/LuiExpandableBanner/LuiExpandableBanner';
9
9
  export { LuiMenu, LuiControlledMenu } from './components/LuiMenu/LuiMenu';
10
10
  export { LuiResizableLayout, SplitPanelState, } from './components/LuiResizableLayout/LuiResizableLayout';
11
- export { LuiSelectMenu, LuiSelectMenuItem, LuiSelectSubMenuItem, } from './components/LuiSelectMenu/LuiSelectMenu';
11
+ export { LuiSelectMenu, LuiSelectMenuItem, LuiSelectMenuItemSwitch, LuiSelectSubMenuItem, } from './components/LuiSelectMenu/LuiSelectMenu';
12
12
  export { LuiSelectDataMenu } from './components/LuiSelectMenu/LuiSelectDataMenu';
13
13
  export { LuiFilterMenu } from './components/LuiFilterMenu/LuiFilterMenu';
14
14
  export { LuiTabs, LuiTabsContext } from './components/LuiTabs/LuiTabs';
package/dist/index.js CHANGED
@@ -42121,9 +42121,10 @@ var LuiModal = function (props) {
42121
42121
  };
42122
42122
  var LuiAlertModal = function (props) {
42123
42123
  var materialIcon = getMaterialIconForLevel(props.level);
42124
- return (React__default["default"].createElement(LuiModal, { key: props.key, shouldCloseOnOverlayClick: props.shouldCloseOnOverlayClick, onClose: props.onClose, className: clsx("lui-modal-".concat(props.level), props.className), appendToElement: props.appendToElement },
42125
- React__default["default"].createElement(LuiIcon, { name: "ic_".concat(materialIcon), alt: "".concat(props.level, " status icon"), size: "lg", className: "lui-msg-status-icon" }),
42126
- props.children));
42124
+ var level = props.level, className = props.className, children = props.children, rest = __rest(props, ["level", "className", "children"]);
42125
+ return (React__default["default"].createElement(LuiModal, __assign({}, rest, { className: clsx("lui-modal-".concat(level), className) }),
42126
+ React__default["default"].createElement(LuiIcon, { name: "ic_".concat(materialIcon), alt: "".concat(level, " status icon"), size: "lg", className: "lui-msg-status-icon" }),
42127
+ children));
42127
42128
  };
42128
42129
  var LuiAlertModalButtons = function (props) {
42129
42130
  return React__default["default"].createElement("div", { className: "modal-btn-row" }, props.children);
@@ -58777,6 +58778,7 @@ exports.LuiSelectDataMenu = LuiSelectDataMenu;
58777
58778
  exports.LuiSelectInput = LuiSelectInput;
58778
58779
  exports.LuiSelectMenu = LuiSelectMenu;
58779
58780
  exports.LuiSelectMenuItem = LuiSelectMenuItem;
58781
+ exports.LuiSelectMenuItemSwitch = LuiSelectMenuItemSwitch;
58780
58782
  exports.LuiSelectSubMenuItem = LuiSelectSubMenuItem;
58781
58783
  exports.LuiShadow = LuiShadow;
58782
58784
  exports.LuiSideMenu = LuiSideMenu;