@linzjs/lui 22.9.3 → 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 +7 -0
- package/dist/components/LuiSelectMenu/LuiSelectMenu.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/lui.css +8 -1
- package/dist/lui.css.map +1 -1
- package/dist/lui.esm.js +2 -1
- package/dist/lui.esm.js.map +1 -1
- package/dist/scss/Components/ContextMenu/context-menu.scss +14 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
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
|
+
|
|
1
8
|
## [22.9.3](https://github.com/linz/lui/compare/v22.9.2...v22.9.3) (2025-03-25)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -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"]);
|