@linzjs/lui 22.9.2 → 22.10.0

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.10.0](https://github.com/linz/lui/compare/v22.9.3...v22.10.0) (2025-03-30)
2
+
3
+
4
+ ### Features
5
+
6
+ * **LuiSelectMenu:** add interactive and link styles ([#1204](https://github.com/linz/lui/issues/1204)) ([99e4ff8](https://github.com/linz/lui/commit/99e4ff8ff72a64791d8bf2e1976336a8b6b5a8cc))
7
+
8
+ ## [22.9.3](https://github.com/linz/lui/compare/v22.9.2...v22.9.3) (2025-03-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * removed logo link from maintenance page ([#1203](https://github.com/linz/lui/issues/1203)) ([4a629a3](https://github.com/linz/lui/commit/4a629a33788ca3efdaefe102c054328c05964851))
14
+
1
15
  ## [22.9.2](https://github.com/linz/lui/compare/v22.9.1...v22.9.2) (2025-03-19)
2
16
 
3
17
 
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  export interface ILuiSelectMenuItemProps extends MenuItemProps {
4
4
  children: React.ReactNode;
5
5
  iconName?: string;
6
- level?: 'primary' | 'error';
6
+ level?: 'primary' | 'error' | 'interactive' | 'link';
7
7
  iconAlt?: string;
8
8
  className?: string;
9
9
  showHeader?: boolean;
package/dist/index.js CHANGED
@@ -31521,7 +31521,8 @@ var LuiSelectMenuItem = function (_a) {
31521
31521
  loading ? (React__default["default"].createElement(LuiMiniSpinner, { size: 24, divProps: { className: 'lui-select-icon' } })) : iconName ? (React__default["default"].createElement(LuiIcon, { className: "lui-select-icon", name: iconName, alt: iconAlt ? iconAlt : '', size: "md" })) : (''),
31522
31522
  React__default["default"].createElement("p", { className: clsx('lui-select-menuItemText', 'lui-select-wrapword', {
31523
31523
  'lui-select-menuItemText--noPadding': noPadding
31524
- }) }, rest.children)));
31524
+ }) }, rest.children),
31525
+ level === 'link' && (React__default["default"].createElement(LuiIcon, { alt: "Open in new tab", name: "ic_launch_new window_open", size: "md", className: "new-tab-link" }))));
31525
31526
  };
31526
31527
  var LuiSelectMenuItemSwitch = function (_a) {
31527
31528
  var _b = _a.checked, checked = _b === void 0 ? false : _b, children = _a.children, className = _a.className, props = __rest(_a, ["checked", "children", "className"]);