@stenajs-webui/panels 19.0.0-next.43 → 19.0.0-next.44

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/dist/index.es.js CHANGED
@@ -1,61 +1,61 @@
1
- (function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode("._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_18iz9_1{--swui-nav-bar-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-button-background-color-focus: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-active: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-200);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-100 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-300 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-200 );--swui-flat-button-text-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-text-color-active: var(--swui-nav-bar-button-text-color);--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-active )}._navBarButton_18iz9_1._selected_18iz9_36{--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color-selected );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-selected-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-selected-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-selected-active )}._navBarNotificationButton_8ej1j_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var(--lhds-color-ui-400);--swui-nav-bar-notification-button-background-color-hover: var( --lhds-color-blue-900 );--swui-nav-bar-notification-button-background-color-focus: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-active: var( --lhds-color-blue-800 );--swui-nav-bar-notification-button-background-color-unread: var( --lhds-color-red-500 );--swui-nav-bar-notification-button-background-color-unread-hover: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-focus: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-active: var( --lhds-color-red-800 );--swui-flat-button-text-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-icon-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-text-color-active: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-active );--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_8ej1j_1._unread_8ej1j_54{--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color-unread );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-unread-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-unread-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-unread-active )}._navBarNotificationButton_8ej1j_1._unread_8ej1j_54._hasCount_8ej1j_68 ._icon_8ej1j_69{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_8ej1j_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes _shake_8ej1j_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}._navBarSearchFieldInput_16tw5_1._navBarSearchFieldInput_16tw5_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50);--swui-textinput-placeholder-color: var(--lhds-color-blue-800);padding:1px var(--swui-metrics-indent)}._navBarSearchFieldInput_16tw5_1._navBarSearchFieldInput_16tw5_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_16tw5_1{--swui-textinput-animation-time: var(--swui-animation-time-fast);--swui-textinput-placeholder-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-200);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent;padding:1px var(--swui-metrics-indent) 0;border-radius:var(--swui-max-border-radius)}._navBarSearchField_16tw5_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._navBarUserButton_afv8h_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-user-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-active: var(--lhds-color-ui-200);--swui-flat-button-text-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-text-color-active: var( --swui-nav-bar-user-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-user-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-user-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-user-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-user-button-background-color-active )}._navBarUserButton_afv8h_1._initials_afv8h_28{width:32px}._unreadDot_l8bni_1{position:relative}._unreadDot_l8bni_1 ._dot_l8bni_4{top:1px;right:1px;position:absolute;width:8px;height:8px;border-radius:var(--swui-max-border-radius);background:var(--lhds-color-blue-500)}._notification_1hao0_1{display:flex;flex-direction:column;width:100%;background:var(--lhds-color-ui-50)}._notification_1hao0_1 ._body_1hao0_7{padding-left:64px;padding-right:24px;padding-bottom:16px}._notification_1hao0_1._standard_1hao0_13._unread_1hao0_14{background:var(--lhds-color-blue-50)}._notification_1hao0_1._danger_1hao0_19{background:var(--lhds-color-red-100)}._notificationList_1rkvu_1{display:flex;flex-direction:column;gap:2px;background:var(--lhds-color-ui-200)}._clickable_1ijxc_1{--swui-toast-border-color: transparent;--swui-toast-item-border-color-hover: var(--lhds-color-blue-500);--current-border-color: var(--swui-toast-border-color);border-width:1px;border-style:solid;border-color:var(--current-border-color);position:absolute;top:0;left:0;right:0;bottom:0;border-radius:8px;background-color:transparent;width:100%;cursor:pointer}._clickable_1ijxc_1:hover{--current-border-color: var(--swui-toast-item-border-color-hover)}._nonClickable_1ijxc_27{position:relative;z-index:1;pointer-events:none}._nonClickable_1ijxc_27 a,._nonClickable_1ijxc_27 button{pointer-events:auto}._sidebarMenu_11tso_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active );background-color:var(--current-background-color);height:100dvh}._stenaFlag_108h7_1{height:32px}")),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { jsx as n, jsxs as a, Fragment as v } from "react/jsx-runtime";
3
- import { ActionMenu as q, ActionMenuContext as rn, stenaAngleDown as G, PrimaryButton as an, SecondaryButton as cn, FlatButton as C, stenaHamburger as J, stenaBellFilled as ln, stenaUserCircle as sn, CircledIcon as K, stenaTimes as Q, Icon as dn, stenaMail as un, MenuButton as L, Banner as hn, Spinner as pn, StenaFlag as gn, stenaAngleLeftDouble as V, stenaPin as fn, IconMenuButtonLink as mn, MenuButtonLink as vn, IconMenuButton as X } from "@stenajs-webui/elements";
1
+ (function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode("._navBar_kzibd_1{--swui-navbar-background-color: var(--lhds-color-ui-50);--swui-navbar-item-background-color-hover: var(--lhds-color-blue-700);--swui-navbar-item-background-color-selected: var(--lhds-color-blue-600);--swui-navbar-item-background-color-selected-hover: var( --lhds-color-blue-700 );--swui-nav-bar-height: 48px;background-color:var(--swui-navbar-background-color);height:var(--swui-nav-bar-height);min-height:var(--swui-nav-bar-height)}._navBarButton_18iz9_1{--swui-nav-bar-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-button-background-color: transparent;--swui-nav-bar-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-button-background-color-focus: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-active: var(--lhds-color-ui-200);--swui-nav-bar-button-background-color-selected: var(--lhds-color-blue-200);--swui-nav-bar-button-background-color-selected-hover: var( --lhds-color-blue-100 );--swui-nav-bar-button-background-color-selected-focus: var( --lhds-color-blue-300 );--swui-nav-bar-button-background-color-selected-active: var( --lhds-color-blue-200 );--swui-flat-button-text-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-button-text-color);--swui-flat-button-text-color-active: var(--swui-nav-bar-button-text-color);--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-active )}._navBarButton_18iz9_1._selected_18iz9_36{--swui-flat-button-background-color: var( --swui-nav-bar-button-background-color-selected );--swui-flat-button-background-color-hover: var( --swui-nav-bar-button-background-color-selected-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-button-background-color-selected-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-button-background-color-selected-active )}._navBarNotificationButton_8ej1j_1{--swui-nav-bar-notification-button-text-color: var(--lhds-color-ui-50);--swui-nav-bar-notification-button-background-color: var(--lhds-color-ui-400);--swui-nav-bar-notification-button-background-color-hover: var( --lhds-color-blue-900 );--swui-nav-bar-notification-button-background-color-focus: var( --lhds-color-blue-700 );--swui-nav-bar-notification-button-background-color-active: var( --lhds-color-blue-800 );--swui-nav-bar-notification-button-background-color-unread: var( --lhds-color-red-500 );--swui-nav-bar-notification-button-background-color-unread-hover: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-focus: var( --lhds-color-red-700 );--swui-nav-bar-notification-button-background-color-unread-active: var( --lhds-color-red-800 );--swui-flat-button-text-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-icon-color: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-text-color-active: var( --swui-nav-bar-notification-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-active );--swui-nav-bar-notification-shake-count: 3;transition:.5s width}._navBarNotificationButton_8ej1j_1._unread_8ej1j_54{--swui-flat-button-background-color: var( --swui-nav-bar-notification-button-background-color-unread );--swui-flat-button-background-color-hover: var( --swui-nav-bar-notification-button-background-color-unread-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-notification-button-background-color-unread-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-notification-button-background-color-unread-active )}._navBarNotificationButton_8ej1j_1._unread_8ej1j_54._hasCount_8ej1j_68 ._icon_8ej1j_69{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_8ej1j_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_8ej1j_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes _shake_8ej1j_1{0%{-webkit-transform:rotate(0);transform:rotate(0)}7%{-webkit-transform:rotate(20deg);transform:rotate(20deg)}15%{-webkit-transform:rotate(-20deg);transform:rotate(-20deg)}22%{-webkit-transform:rotate(16deg);transform:rotate(16deg)}30%{-webkit-transform:rotate(-16deg);transform:rotate(-16deg)}38%{-webkit-transform:rotate(6deg);transform:rotate(6deg)}42%{-webkit-transform:rotate(-6deg);transform:rotate(-6deg)}46%{-webkit-transform:rotate(2deg);transform:rotate(2deg)}to{-webkit-transform:rotate(0);transform:rotate(0)}}._navBarSearchFieldInput_q4zl6_1._navBarSearchFieldInput_q4zl6_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50);--swui-textinput-placeholder-color: var(--lhds-color-blue-800);padding:0 var(--swui-metrics-indent)}._navBarSearchFieldInput_q4zl6_1._navBarSearchFieldInput_q4zl6_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_q4zl6_1{--swui-textinput-animation-time: var(--swui-animation-time-fast);--swui-textinput-placeholder-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-200);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent;padding:0 var(--swui-metrics-indent);border-radius:var(--swui-max-border-radius)}._navBarSearchField_q4zl6_1._withButton_q4zl6_25{padding-right:1px}._navBarSearchField_q4zl6_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._clearButton_q4zl6_36{border-radius:var(--swui-max-border-radius)}._navBarUserButton_afv8h_1{--swui-nav-bar-user-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-user-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-user-button-background-color-hover: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-focus: var(--lhds-color-ui-100);--swui-nav-bar-user-button-background-color-active: var(--lhds-color-ui-200);--swui-flat-button-text-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-icon-color: var(--swui-nav-bar-user-button-text-color);--swui-flat-button-text-color-active: var( --swui-nav-bar-user-button-text-color );--swui-flat-button-background-color: var( --swui-nav-bar-user-button-background-color );--swui-flat-button-background-color-hover: var( --swui-nav-bar-user-button-background-color-hover );--swui-flat-button-background-color-focus: var( --swui-nav-bar-user-button-background-color-focus );--swui-flat-button-background-color-active: var( --swui-nav-bar-user-button-background-color-active )}._navBarUserButton_afv8h_1._initials_afv8h_28{width:32px}._unreadDot_l8bni_1{position:relative}._unreadDot_l8bni_1 ._dot_l8bni_4{top:1px;right:1px;position:absolute;width:8px;height:8px;border-radius:var(--swui-max-border-radius);background:var(--lhds-color-blue-500)}._notification_1hao0_1{display:flex;flex-direction:column;width:100%;background:var(--lhds-color-ui-50)}._notification_1hao0_1 ._body_1hao0_7{padding-left:64px;padding-right:24px;padding-bottom:16px}._notification_1hao0_1._standard_1hao0_13._unread_1hao0_14{background:var(--lhds-color-blue-50)}._notification_1hao0_1._danger_1hao0_19{background:var(--lhds-color-red-100)}._notificationList_1rkvu_1{display:flex;flex-direction:column;gap:2px;background:var(--lhds-color-ui-200)}._clickable_1ijxc_1{--swui-toast-border-color: transparent;--swui-toast-item-border-color-hover: var(--lhds-color-blue-500);--current-border-color: var(--swui-toast-border-color);border-width:1px;border-style:solid;border-color:var(--current-border-color);position:absolute;top:0;left:0;right:0;bottom:0;border-radius:8px;background-color:transparent;width:100%;cursor:pointer}._clickable_1ijxc_1:hover{--current-border-color: var(--swui-toast-item-border-color-hover)}._nonClickable_1ijxc_27{position:relative;z-index:1;pointer-events:none}._nonClickable_1ijxc_27 a,._nonClickable_1ijxc_27 button{pointer-events:auto}._sidebarMenu_11tso_1{--swui-sidebar-menu-separator-color: var(--swui-white);--swui-sidebar-menu-text-color: var(--lhds-color-ui-900);--swui-sidebar-menu-icon-color: var(--lhds-color-ui-900);--swui-sidebar-menu-background-color: transparent;--swui-sidebar-menu-background-color-hover: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-focus: var(--lhds-color-ui-400);--swui-sidebar-menu-background-color-active: var(--lhds-color-ui-300);--swui-sidebar-menu-background-selected: var(--lhds-color-blue-100);--swui-sidebar-menu-background-selected-hover: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-focus: var(--lhds-color-blue-200);--swui-sidebar-menu-background-selected-active: var(--lhds-color-blue-100);--current-separator-color: var(--swui-sidebar-menu-separator-color);--current-text-color: var(--swui-sidebar-menu-text-color);--current-icon-color: var(--swui-sidebar-menu-icon-color);--current-background-color: var(--swui-sidebar-menu-background-color);--current-background-color-hover: var( --swui-sidebar-menu-background-color-hover );--current-background-color-focus: var( --swui-sidebar-menu-background-color-focus );--current-background-color-active: var( --swui-sidebar-menu-background-color-active );--current-background-selected: var(--swui-sidebar-menu-background-selected);--current-background-selected-hover: var( --swui-sidebar-menu-background-selected-hover );--current-background-selected-focus: var( --swui-sidebar-menu-background-selected-focus );--current-background-selected-active: var( --swui-sidebar-menu-background-selected-active );background-color:var(--current-background-color);height:100dvh}._stenaFlag_108h7_1{height:32px}")),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { jsx as n, jsxs as r, Fragment as v } from "react/jsx-runtime";
3
+ import { ActionMenu as G, ActionMenuContext as an, stenaAngleDown as J, PrimaryButton as rn, SecondaryButton as cn, FlatButton as B, stenaHamburger as K, stenaBellFilled as ln, stenaTimes as z, stenaUserCircle as sn, CircledIcon as Q, Icon as dn, stenaMail as un, MenuButton as P, Banner as hn, Spinner as pn, StenaFlag as gn, stenaAngleLeftDouble as V, stenaPin as fn, IconMenuButtonLink as mn, MenuButtonLink as vn, IconMenuButton as X } from "@stenajs-webui/elements";
4
4
  import * as bn from "react";
5
- import { useRef as _n, useMemo as Cn, forwardRef as Bn, createContext as xn, useContext as yn, useState as kn } from "react";
6
- import { useBoolean as P, Column as g, Box as l, Row as s, Indent as x, Heading as z, Text as b, Space as _, SeparatorLine as In } from "@stenajs-webui/core";
7
- import { Popover as j, Tooltip as Nn } from "@stenajs-webui/tooltip";
8
- import { Checkbox as Y, TextInput as wn } from "@stenajs-webui/forms";
5
+ import { useRef as _n, useMemo as Bn, forwardRef as Cn, createContext as xn, useContext as yn, useState as kn } from "react";
6
+ import { useBoolean as $, Column as g, Box as l, Row as s, Indent as x, Heading as A, Text as b, Space as _, SeparatorLine as In } from "@stenajs-webui/core";
7
+ import { Popover as M, Tooltip as Nn } from "@stenajs-webui/tooltip";
8
+ import { Checkbox as Y, TextInput as wn, TextInputButton as Sn } from "@stenajs-webui/forms";
9
9
  import h from "classnames";
10
10
  import { cssColor as f } from "@stenajs-webui/theme";
11
- const $ = ({
11
+ const H = ({
12
12
  renderItems: e,
13
13
  placement: t = "bottom",
14
14
  buttonComponent: o,
15
- rightIcon: r = G,
15
+ rightIcon: a = J,
16
16
  portalTarget: i = "parent",
17
17
  zIndex: c,
18
18
  menuWidth: d,
19
19
  menuTop: u,
20
20
  onClick: p,
21
21
  disableArrow: m = !1,
22
- ...M
22
+ ...F
23
23
  }) => {
24
- const [H, E, y, nn] = P(!1), F = _n(null), en = {
24
+ const [U, D, y, nn] = $(!1), R = _n(null), en = {
25
25
  name: "focusManager",
26
26
  defaultValue: !0,
27
27
  fn({ popper: k }) {
28
28
  let N = !1;
29
- const U = (B) => {
30
- B.key === "Escape" && (N = !0, y()), (B.key === "Enter" || B.key === " ") && (N = !0);
29
+ const O = (C) => {
30
+ C.key === "Escape" && (N = !0, y()), (C.key === "Enter" || C.key === " ") && (N = !0);
31
31
  };
32
32
  return {
33
33
  onCreate() {
34
- k.addEventListener("keydown", U);
34
+ k.addEventListener("keydown", O);
35
35
  },
36
36
  onDestroy() {
37
- k.removeEventListener("keydown", U);
37
+ k.removeEventListener("keydown", O);
38
38
  },
39
39
  onMount() {
40
- var B;
41
- N = !1, (B = k.querySelector("button:not([disabled]), a[href]")) == null || B.focus();
40
+ var C;
41
+ N = !1, (C = k.querySelector("button:not([disabled]), a[href]")) == null || C.focus();
42
42
  },
43
43
  onHide() {
44
- F.current && N && F.current.focus();
44
+ R.current && N && R.current.focus();
45
45
  }
46
46
  };
47
47
  }
48
- }, tn = Cn(() => ({ open: E, close: y }), [E, y]), on = (k) => {
48
+ }, tn = Bn(() => ({ open: D, close: y }), [D, y]), on = (k) => {
49
49
  p == null || p(k), nn();
50
50
  };
51
51
  return /* @__PURE__ */ n(
52
- j,
52
+ M,
53
53
  {
54
54
  disablePadding: !0,
55
- visible: H,
55
+ visible: U,
56
56
  onClickOutside: y,
57
57
  placement: t,
58
- content: H && /* @__PURE__ */ n(q, { width: d, top: u, trapFocus: !0, children: /* @__PURE__ */ n(rn.Provider, { value: tn, children: e(y) }) }),
58
+ content: U && /* @__PURE__ */ n(G, { width: d, top: u, trapFocus: !0, children: /* @__PURE__ */ n(an.Provider, { value: tn, children: e(y) }) }),
59
59
  arrow: !1,
60
60
  appendTo: i,
61
61
  zIndex: c,
@@ -64,89 +64,89 @@ const $ = ({
64
64
  children: /* @__PURE__ */ n(
65
65
  o,
66
66
  {
67
- rightIcon: m ? void 0 : r,
68
- ...M,
69
- ref: F,
67
+ rightIcon: m ? void 0 : a,
68
+ ...F,
69
+ ref: R,
70
70
  onClick: on
71
71
  }
72
72
  )
73
73
  }
74
74
  );
75
- }, we = (e) => /* @__PURE__ */ n($, { buttonComponent: an, ...e }), Se = (e) => /* @__PURE__ */ n($, { buttonComponent: cn, ...e }), Sn = (e) => /* @__PURE__ */ n($, { buttonComponent: C, ...e }), jn = "1px solid var(--lhds-color-ui-300)", je = ({
75
+ }, Me = (e) => /* @__PURE__ */ n(H, { buttonComponent: rn, ...e }), Fe = (e) => /* @__PURE__ */ n(H, { buttonComponent: cn, ...e }), jn = (e) => /* @__PURE__ */ n(H, { buttonComponent: B, ...e }), Mn = "1px solid var(--lhds-color-ui-300)", Re = ({
76
76
  renderMenu: e,
77
77
  ...t
78
78
  }) => {
79
- const [o, r, i] = P(!1);
79
+ const [o, a, i] = $(!1);
80
80
  return /* @__PURE__ */ n(
81
- j,
81
+ M,
82
82
  {
83
83
  onClickOutside: i,
84
84
  arrow: !1,
85
85
  visible: o,
86
86
  disablePadding: !0,
87
- content: e ? /* @__PURE__ */ n(g, { children: /* @__PURE__ */ n(q, { children: e(i) }) }) : void 0,
87
+ content: e ? /* @__PURE__ */ n(g, { children: /* @__PURE__ */ n(G, { children: e(i) }) }) : void 0,
88
88
  placement: "bottom-start",
89
- children: /* @__PURE__ */ n(l, { display: "inline-block", children: /* @__PURE__ */ a(
89
+ children: /* @__PURE__ */ n(l, { display: "inline-block", children: /* @__PURE__ */ r(
90
90
  s,
91
91
  {
92
92
  spacing: 0.5,
93
93
  indent: !0,
94
94
  alignItems: "center",
95
- border: jn,
95
+ border: Mn,
96
96
  borderRadius: "4px",
97
97
  children: [
98
98
  /* @__PURE__ */ n(Y, { ...t }),
99
99
  /* @__PURE__ */ n(x, { num: 0.5 }),
100
- /* @__PURE__ */ n(C, { size: "small", onClick: r, leftIcon: G })
100
+ /* @__PURE__ */ n(B, { size: "small", onClick: a, leftIcon: J })
101
101
  ]
102
102
  }
103
103
  ) })
104
104
  }
105
105
  );
106
- }, Mn = "_navBar_kzibd_1", Fn = {
107
- navBar: Mn
108
- }, Rn = ({
106
+ }, Fn = "_navBar_kzibd_1", Rn = {
107
+ navBar: Fn
108
+ }, Ln = ({
109
109
  className: e,
110
110
  onClick: t
111
111
  }) => /* @__PURE__ */ n(
112
- C,
112
+ B,
113
113
  {
114
- leftIcon: J,
114
+ leftIcon: K,
115
115
  className: e,
116
116
  onClick: t
117
117
  }
118
- ), Me = ({
118
+ ), Le = ({
119
119
  left: e,
120
120
  className: t,
121
121
  showMenuButton: o = !1,
122
- children: r,
122
+ children: a,
123
123
  right: i,
124
124
  center: c,
125
125
  onClickMenuButton: d
126
126
  }) => {
127
127
  const u = c ? 1 : void 0;
128
- return /* @__PURE__ */ a(
128
+ return /* @__PURE__ */ r(
129
129
  s,
130
130
  {
131
131
  justifyContent: "space-between",
132
- className: h(Fn.navBar, t),
132
+ className: h(Rn.navBar, t),
133
133
  children: [
134
- /* @__PURE__ */ a(
134
+ /* @__PURE__ */ r(
135
135
  s,
136
136
  {
137
137
  flex: u,
138
138
  justifyContent: "flex-start",
139
139
  alignItems: "center",
140
140
  children: [
141
- /* @__PURE__ */ a(s, { width: "86px", alignItems: "center", children: [
141
+ /* @__PURE__ */ r(s, { width: "86px", alignItems: "center", children: [
142
142
  /* @__PURE__ */ n(x, {}),
143
- o && /* @__PURE__ */ n(Rn, { onClick: d })
143
+ o && /* @__PURE__ */ n(Ln, { onClick: d })
144
144
  ] }),
145
- e && /* @__PURE__ */ a(v, { children: [
145
+ e && /* @__PURE__ */ r(v, { children: [
146
146
  e,
147
147
  /* @__PURE__ */ n(x, { num: 2 })
148
148
  ] }),
149
- r && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: bn.Children.map(r, (p, m) => /* @__PURE__ */ a(v, { children: [
149
+ a && /* @__PURE__ */ n(v, { children: /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: bn.Children.map(a, (p, m) => /* @__PURE__ */ r(v, { children: [
150
150
  m > 0 && /* @__PURE__ */ n(x, {}),
151
151
  p
152
152
  ] })) }) })
@@ -154,67 +154,67 @@ const $ = ({
154
154
  }
155
155
  ),
156
156
  c && /* @__PURE__ */ n(s, { justifyContent: "center", alignItems: "center", children: c }),
157
- /* @__PURE__ */ a(s, { justifyContent: "flex-end", alignItems: "center", flex: u, children: [
157
+ /* @__PURE__ */ r(s, { justifyContent: "flex-end", alignItems: "center", flex: u, children: [
158
158
  i,
159
159
  /* @__PURE__ */ n(x, { num: 2 })
160
160
  ] })
161
161
  ]
162
162
  }
163
163
  );
164
- }, Ln = "_navBarButton_18iz9_1", Pn = "_selected_18iz9_36", D = {
165
- navBarButton: Ln,
164
+ }, zn = "_navBarButton_18iz9_1", Pn = "_selected_18iz9_36", T = {
165
+ navBarButton: zn,
166
166
  selected: Pn
167
- }, zn = ({
167
+ }, $n = ({
168
168
  selected: e,
169
169
  className: t,
170
170
  ...o
171
171
  }) => /* @__PURE__ */ n(
172
- C,
172
+ B,
173
173
  {
174
174
  ...o,
175
175
  className: h(
176
- D.navBarButton,
177
- e && D.selected,
176
+ T.navBarButton,
177
+ e && T.selected,
178
178
  t
179
179
  )
180
180
  }
181
- ), Fe = (e) => /* @__PURE__ */ n(z, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), Re = ({
181
+ ), ze = (e) => /* @__PURE__ */ n(A, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...e }), Pe = ({
182
182
  content: e,
183
183
  children: t,
184
184
  ...o
185
185
  }) => {
186
- const [r, , i, c] = P(!1);
186
+ const [a, , i, c] = $(!1);
187
187
  return /* @__PURE__ */ n(
188
- j,
188
+ M,
189
189
  {
190
190
  onClickOutside: i,
191
191
  triggerTarget: document.body,
192
- visible: r,
193
- content: /* @__PURE__ */ a(v, { children: [
192
+ visible: a,
193
+ content: /* @__PURE__ */ r(v, { children: [
194
194
  e && e({ close: i }),
195
195
  t
196
196
  ] }),
197
- children: /* @__PURE__ */ n(zn, { ...o, onClick: c })
197
+ children: /* @__PURE__ */ n($n, { ...o, onClick: c })
198
198
  }
199
199
  );
200
- }, $n = "_navBarNotificationButton_8ej1j_1", An = "_unread_8ej1j_54", Hn = "_hasCount_8ej1j_68", En = "_icon_8ej1j_69", Un = "_shake_8ej1j_1", I = {
201
- navBarNotificationButton: $n,
202
- unread: An,
203
- hasCount: Hn,
204
- icon: En,
205
- shake: Un
206
- }, Le = ({
200
+ }, An = "_navBarNotificationButton_8ej1j_1", Hn = "_unread_8ej1j_54", En = "_hasCount_8ej1j_68", Un = "_icon_8ej1j_69", Dn = "_shake_8ej1j_1", I = {
201
+ navBarNotificationButton: An,
202
+ unread: Hn,
203
+ hasCount: En,
204
+ icon: Un,
205
+ shake: Dn
206
+ }, $e = ({
207
207
  count: e,
208
208
  unread: t = !1,
209
209
  className: o,
210
- labelClassName: r,
210
+ labelClassName: a,
211
211
  iconClassName: i,
212
212
  icon: c = ln,
213
213
  ...d
214
214
  }) => {
215
215
  const u = e > 0;
216
216
  return /* @__PURE__ */ n(
217
- C,
217
+ B,
218
218
  {
219
219
  ...d,
220
220
  leftIcon: c,
@@ -225,62 +225,79 @@ const $ = ({
225
225
  o
226
226
  ),
227
227
  label: u ? String(e) : void 0,
228
- labelClassName: h(r, I.label),
228
+ labelClassName: h(a, I.label),
229
229
  iconClassName: h(i, I.icon)
230
230
  }
231
231
  );
232
- }, Dn = "_navBarSearchFieldInput_16tw5_1", On = "_navBarSearchField_16tw5_1", O = {
233
- navBarSearchFieldInput: Dn,
234
- navBarSearchField: On
235
- }, Pe = ({
232
+ }, On = "_navBarSearchFieldInput_q4zl6_1", Tn = "_navBarSearchField_q4zl6_1", qn = "_withButton_q4zl6_25", Wn = "_clearButton_q4zl6_36", w = {
233
+ navBarSearchFieldInput: On,
234
+ navBarSearchField: Tn,
235
+ withButton: qn,
236
+ clearButton: Wn
237
+ }, Ae = ({
236
238
  placeholder: e = "Search",
237
239
  className: t,
238
240
  wrapperClassName: o,
239
- ...r
241
+ showClearButton: a,
242
+ onClickClearButton: i,
243
+ ...c
240
244
  }) => /* @__PURE__ */ n(
241
245
  wn,
242
246
  {
243
- wrapperClassName: h(O.navBarSearchField, o),
244
- className: h(O.navBarSearchFieldInput, t),
247
+ wrapperClassName: h(
248
+ w.navBarSearchField,
249
+ a ? w.withButton : void 0,
250
+ o
251
+ ),
252
+ className: h(w.navBarSearchFieldInput, t),
245
253
  placeholder: e,
246
- ...r
254
+ buttonRight: a ? /* @__PURE__ */ n(
255
+ Sn,
256
+ {
257
+ className: w.clearButton,
258
+ icon: z,
259
+ variant: "danger",
260
+ onClick: i
261
+ }
262
+ ) : void 0,
263
+ ...c
247
264
  }
248
- ), Tn = "_navBarUserButton_afv8h_1", Wn = "_initials_afv8h_28", T = {
249
- navBarUserButton: Tn,
250
- initials: Wn
251
- }, ze = ({
265
+ ), Gn = "_navBarUserButton_afv8h_1", Jn = "_initials_afv8h_28", q = {
266
+ navBarUserButton: Gn,
267
+ initials: Jn
268
+ }, He = ({
252
269
  className: e,
253
270
  username: t,
254
271
  initials: o,
255
- icon: r = sn,
272
+ icon: a = sn,
256
273
  iconClassName: i,
257
274
  responsiveIconOnly: c = o == null,
258
275
  ...d
259
276
  }) => /* @__PURE__ */ n(
260
- Sn,
277
+ jn,
261
278
  {
262
279
  ...d,
263
280
  className: h(
264
- { [T.initials]: o != null },
265
- T.navBarUserButton,
281
+ { [q.initials]: o != null },
282
+ q.navBarUserButton,
266
283
  e
267
284
  ),
268
- leftIcon: t != null ? r : void 0,
285
+ leftIcon: t != null ? a : void 0,
269
286
  label: o != null ? o : t,
270
287
  responsiveIconOnly: c,
271
288
  disableArrow: !0
272
289
  }
273
- ), qn = "_unreadDot_l8bni_1", Gn = "_dot_l8bni_4", W = {
274
- unreadDot: qn,
275
- dot: Gn
276
- }, Jn = ({ children: e }) => /* @__PURE__ */ a("div", { className: W.unreadDot, children: [
290
+ ), Kn = "_unreadDot_l8bni_1", Qn = "_dot_l8bni_4", W = {
291
+ unreadDot: Kn,
292
+ dot: Qn
293
+ }, Vn = ({ children: e }) => /* @__PURE__ */ r("div", { className: W.unreadDot, children: [
277
294
  e,
278
295
  /* @__PURE__ */ n("div", { className: W.dot })
279
296
  ] }), Z = ({
280
297
  text: e,
281
298
  timestamp: t,
282
299
  icon: o,
283
- iconAriaLabel: r,
300
+ iconAriaLabel: a,
284
301
  contentLeft: i,
285
302
  contentRight: c,
286
303
  onClose: d,
@@ -288,19 +305,19 @@ const $ = ({
288
305
  variant: p
289
306
  }) => {
290
307
  const m = o ? /* @__PURE__ */ n(
291
- K,
308
+ Q,
292
309
  {
293
310
  size: "small",
294
311
  icon: o,
295
- "aria-label": r,
296
- backgroundColor: Kn(u, p)
312
+ "aria-label": a,
313
+ backgroundColor: Xn(u, p)
297
314
  }
298
315
  ) : void 0;
299
- return /* @__PURE__ */ a(s, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
300
- /* @__PURE__ */ a(s, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
316
+ return /* @__PURE__ */ r(s, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
317
+ /* @__PURE__ */ r(s, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
301
318
  i && /* @__PURE__ */ n(l, { minHeight: 20, justifyContent: "center", children: i }),
302
- !i && m && (u ? /* @__PURE__ */ n(Jn, { children: m }) : m),
303
- /* @__PURE__ */ a(l, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
319
+ !i && m && (u ? /* @__PURE__ */ n(Vn, { children: m }) : m),
320
+ /* @__PURE__ */ r(l, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
304
321
  /* @__PURE__ */ n(b, { variant: "bold", children: e }),
305
322
  t && /* @__PURE__ */ n(
306
323
  b,
@@ -322,9 +339,9 @@ const $ = ({
322
339
  justifyContent: "center",
323
340
  height: "calc(20px + 2 * var(--swui-metrics-spacing))",
324
341
  children: /* @__PURE__ */ n(
325
- C,
342
+ B,
326
343
  {
327
- leftIcon: Q,
344
+ leftIcon: z,
328
345
  onClick: d,
329
346
  "aria-label": "Close",
330
347
  variant: "danger"
@@ -333,63 +350,63 @@ const $ = ({
333
350
  }
334
351
  )
335
352
  ] });
336
- }, Kn = (e, t) => {
353
+ }, Xn = (e, t) => {
337
354
  if (!(!e && t === "standard"))
338
355
  return "--lhds-color-ui-50";
339
- }, Qn = "_notification_1hao0_1", Vn = "_body_1hao0_7", Xn = "_standard_1hao0_13", Yn = "_unread_1hao0_14", Zn = "_danger_1hao0_19", w = {
340
- notification: Qn,
341
- body: Vn,
342
- standard: Xn,
343
- unread: Yn,
344
- danger: Zn
345
- }, $e = ({
356
+ }, Yn = "_notification_1hao0_1", Zn = "_body_1hao0_7", ne = "_standard_1hao0_13", ee = "_unread_1hao0_14", te = "_danger_1hao0_19", S = {
357
+ notification: Yn,
358
+ body: Zn,
359
+ standard: ne,
360
+ unread: ee,
361
+ danger: te
362
+ }, Ee = ({
346
363
  variant: e = "standard",
347
364
  children: t,
348
365
  unread: o,
349
- ...r
350
- }) => /* @__PURE__ */ a(
366
+ ...a
367
+ }) => /* @__PURE__ */ r(
351
368
  "div",
352
369
  {
353
370
  className: h(
354
- w.notification,
355
- w[e],
356
- o && w.unread
371
+ S.notification,
372
+ S[e],
373
+ o && S.unread
357
374
  ),
358
375
  children: [
359
- /* @__PURE__ */ n(Z, { ...r, unread: o, variant: e }),
360
- t && /* @__PURE__ */ n(g, { className: w.body, children: t })
376
+ /* @__PURE__ */ n(Z, { ...a, unread: o, variant: e }),
377
+ t && /* @__PURE__ */ n(g, { className: S.body, children: t })
361
378
  ]
362
379
  }
363
- ), ne = "_notificationList_1rkvu_1", ee = {
364
- notificationList: ne
365
- }, Ae = ({
380
+ ), oe = "_notificationList_1rkvu_1", ae = {
381
+ notificationList: oe
382
+ }, Ue = ({
366
383
  children: e
367
- }) => /* @__PURE__ */ a("div", { className: ee.notificationList, children: [
384
+ }) => /* @__PURE__ */ r("div", { className: ae.notificationList, children: [
368
385
  e,
369
386
  /* @__PURE__ */ n("div", {})
370
- ] }), te = "_clickable_1ijxc_1", oe = "_nonClickable_1ijxc_27", R = {
371
- clickable: te,
372
- nonClickable: oe
373
- }, He = ({
387
+ ] }), re = "_clickable_1ijxc_1", ie = "_nonClickable_1ijxc_27", L = {
388
+ clickable: re,
389
+ nonClickable: ie
390
+ }, De = ({
374
391
  onClick: e,
375
392
  onClickAriaLabel: t,
376
393
  children: o,
377
- width: r = 264,
394
+ width: a = 264,
378
395
  maxWidth: i,
379
396
  ...c
380
- }) => /* @__PURE__ */ a(
397
+ }) => /* @__PURE__ */ r(
381
398
  l,
382
399
  {
383
400
  borderRadius: 8,
384
401
  background: f("--lhds-color-ui-50"),
385
402
  shadow: "popover",
386
- width: r,
403
+ width: a,
387
404
  maxWidth: i,
388
405
  role: "alert",
389
406
  position: "relative",
390
407
  children: [
391
- /* @__PURE__ */ n(l, { className: h({ [R.nonClickable]: e }), children: /* @__PURE__ */ n(Z, { ...c }) }),
392
- o && /* @__PURE__ */ a(l, { indent: 3, className: h({ [R.nonClickable]: e }), children: [
408
+ /* @__PURE__ */ n(l, { className: h({ [L.nonClickable]: e }), children: /* @__PURE__ */ n(Z, { ...c }) }),
409
+ o && /* @__PURE__ */ r(l, { indent: 3, className: h({ [L.nonClickable]: e }), children: [
393
410
  o,
394
411
  /* @__PURE__ */ n(_, { num: 2 })
395
412
  ] }),
@@ -397,34 +414,34 @@ const $ = ({
397
414
  "button",
398
415
  {
399
416
  onClick: e,
400
- className: R.clickable,
417
+ className: L.clickable,
401
418
  "aria-label": t
402
419
  }
403
420
  )
404
421
  ]
405
422
  }
406
- ), re = () => /* @__PURE__ */ a(g, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
423
+ ), ce = () => /* @__PURE__ */ r(g, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
407
424
  /* @__PURE__ */ n(dn, { icon: un, color: f("--lhds-color-ui-500") }),
408
425
  /* @__PURE__ */ n(_, {}),
409
426
  /* @__PURE__ */ n(b, { size: "small", color: f("--lhds-color-ui-500"), children: "No content" })
410
- ] }), ae = Bn(
427
+ ] }), le = Cn(
411
428
  function({
412
429
  label: t,
413
430
  contentLeft: o,
414
- contentRight: r,
431
+ contentRight: a,
415
432
  collapsed: i = !1,
416
433
  onClick: c,
417
434
  disabled: d = !1,
418
435
  children: u,
419
436
  autoFocus: p = !1,
420
437
  ...m
421
- }, M) {
438
+ }, F) {
422
439
  return /* @__PURE__ */ n(
423
- L,
440
+ P,
424
441
  {
425
442
  ...m,
426
443
  autoFocus: p,
427
- ref: M,
444
+ ref: F,
428
445
  label: t,
429
446
  onClick: c,
430
447
  disabled: d,
@@ -432,28 +449,28 @@ const $ = ({
432
449
  expanded: !i,
433
450
  selected: !i,
434
451
  left: o,
435
- right: r,
436
- children: u != null ? u : /* @__PURE__ */ n(re, {})
452
+ right: a,
453
+ children: u != null ? u : /* @__PURE__ */ n(ce, {})
437
454
  }
438
455
  );
439
456
  }
440
- ), Ee = ({
457
+ ), Oe = ({
441
458
  children: e
442
- }) => /* @__PURE__ */ n(g, { gap: 1, children: e }), Ue = ({
459
+ }) => /* @__PURE__ */ n(g, { gap: 1, children: e }), Te = ({
443
460
  value: e,
444
461
  onValueChange: t,
445
462
  onChange: o,
446
- indeterminate: r,
463
+ indeterminate: a,
447
464
  checkboxDisabled: i,
448
465
  ...c
449
466
  }) => /* @__PURE__ */ n(
450
- ae,
467
+ le,
451
468
  {
452
469
  contentLeft: /* @__PURE__ */ n(
453
470
  Y,
454
471
  {
455
472
  value: e,
456
- indeterminate: r,
473
+ indeterminate: a,
457
474
  onValueChange: t,
458
475
  onChange: o,
459
476
  disabled: i,
@@ -462,40 +479,40 @@ const $ = ({
462
479
  ),
463
480
  ...c
464
481
  }
465
- ), De = ({ children: e }) => /* @__PURE__ */ n(l, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e }) }), ie = ({
482
+ ), qe = ({ children: e }) => /* @__PURE__ */ n(l, { spacing: !0, indent: !0, children: /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e }) }), se = ({
466
483
  text: e = "Something unexpected happened."
467
- }) => /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(hn, { variant: "error", headerText: e }) }), Oe = (e) => /* @__PURE__ */ n(
484
+ }) => /* @__PURE__ */ n(l, { justifyContent: "center", alignItems: "center", children: /* @__PURE__ */ n(hn, { variant: "error", headerText: e }) }), We = (e) => /* @__PURE__ */ n(
468
485
  l,
469
486
  {
470
487
  width: "100%",
471
488
  height: "100%",
472
489
  justifyContent: "center",
473
490
  alignItems: "center",
474
- children: /* @__PURE__ */ n(ie, { ...e })
491
+ children: /* @__PURE__ */ n(se, { ...e })
475
492
  }
476
- ), ce = ({
493
+ ), de = ({
477
494
  text: e = "Loading..."
478
- }) => /* @__PURE__ */ a(l, { alignItems: "center", children: [
495
+ }) => /* @__PURE__ */ r(l, { alignItems: "center", children: [
479
496
  /* @__PURE__ */ n(pn, { size: "small" }),
480
497
  /* @__PURE__ */ n(_, { num: 4 }),
481
- /* @__PURE__ */ n(z, { variant: "h4", children: e })
482
- ] }), Te = (e) => /* @__PURE__ */ n(
498
+ /* @__PURE__ */ n(A, { variant: "h4", children: e })
499
+ ] }), Ge = (e) => /* @__PURE__ */ n(
483
500
  l,
484
501
  {
485
502
  width: "100%",
486
503
  height: "100%",
487
504
  justifyContent: "center",
488
505
  alignItems: "center",
489
- children: /* @__PURE__ */ n(ce, { ...e })
506
+ children: /* @__PURE__ */ n(de, { ...e })
490
507
  }
491
- ), We = ({
508
+ ), Je = ({
492
509
  renderBreadCrumbs: e,
493
510
  renderPageHeading: t,
494
511
  renderTabs: o,
495
- children: r
496
- }) => /* @__PURE__ */ a(l, { shadow: "bottom", background: f("--lhds-color-ui-50"), gap: 2, children: [
497
- /* @__PURE__ */ a(l, { indent: 3, children: [
498
- e && /* @__PURE__ */ a(s, { spacing: 1, alignItems: "center", children: [
512
+ children: a
513
+ }) => /* @__PURE__ */ r(l, { shadow: "bottom", background: f("--lhds-color-ui-50"), gap: 2, children: [
514
+ /* @__PURE__ */ r(l, { indent: 3, children: [
515
+ e && /* @__PURE__ */ r(s, { spacing: 1, alignItems: "center", children: [
499
516
  /* @__PURE__ */ n(s, { width: "64px", height: "16px" }),
500
517
  e()
501
518
  ] }),
@@ -503,27 +520,27 @@ const $ = ({
503
520
  o && /* @__PURE__ */ n(_, {}),
504
521
  o == null ? void 0 : o()
505
522
  ] }),
506
- r
507
- ] }), qe = (e) => /* @__PURE__ */ n(s, { indent: 3, spacing: !0, ...e }), Ge = ({
523
+ a
524
+ ] }), Ke = (e) => /* @__PURE__ */ n(s, { indent: 3, spacing: !0, ...e }), Qe = ({
508
525
  icon: e,
509
526
  heading: t,
510
527
  headingLevel: o = "h2",
511
- contentLeft: r,
528
+ contentLeft: a,
512
529
  contentRight: i
513
- }) => /* @__PURE__ */ a(s, { alignItems: "center", gap: 2, height: "64px", children: [
514
- /* @__PURE__ */ a(s, { alignItems: "center", children: [
515
- /* @__PURE__ */ n(s, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(K, { icon: e }) }),
516
- /* @__PURE__ */ n(z, { variant: "h3", as: o, children: t })
530
+ }) => /* @__PURE__ */ r(s, { alignItems: "center", gap: 2, height: "64px", children: [
531
+ /* @__PURE__ */ r(s, { alignItems: "center", children: [
532
+ /* @__PURE__ */ n(s, { width: "64px", alignItems: "center", children: e && /* @__PURE__ */ n(Q, { icon: e }) }),
533
+ /* @__PURE__ */ n(A, { variant: "h3", as: o, children: t })
517
534
  ] }),
518
- /* @__PURE__ */ n(s, { alignItems: "center", children: r }),
535
+ /* @__PURE__ */ n(s, { alignItems: "center", children: a }),
519
536
  /* @__PURE__ */ n(s, { style: { marginLeft: "auto" }, alignItems: "center", children: i })
520
- ] }), le = "_sidebarMenu_11tso_1", se = {
521
- sidebarMenu: le
522
- }, de = "_stenaFlag_108h7_1", ue = {
523
- stenaFlag: de
524
- }, he = ({ onClick: e }) => /* @__PURE__ */ a(g, { background: f("--lhds-color-ui-50"), children: [
537
+ ] }), ue = "_sidebarMenu_11tso_1", he = {
538
+ sidebarMenu: ue
539
+ }, pe = "_stenaFlag_108h7_1", ge = {
540
+ stenaFlag: pe
541
+ }, fe = ({ onClick: e }) => /* @__PURE__ */ r(g, { background: f("--lhds-color-ui-50"), children: [
525
542
  /* @__PURE__ */ n(_, {}),
526
- /* @__PURE__ */ a(
543
+ /* @__PURE__ */ r(
527
544
  s,
528
545
  {
529
546
  justifyContent: "space-between",
@@ -533,56 +550,56 @@ const $ = ({
533
550
  minHeight: "48px",
534
551
  children: [
535
552
  /* @__PURE__ */ n(
536
- C,
553
+ B,
537
554
  {
538
- leftIcon: Q,
555
+ leftIcon: z,
539
556
  onClick: e,
540
557
  variant: "danger"
541
558
  }
542
559
  ),
543
- /* @__PURE__ */ n(gn, { className: ue.stenaFlag })
560
+ /* @__PURE__ */ n(gn, { className: ge.stenaFlag })
544
561
  ]
545
562
  }
546
563
  )
547
- ] }), pe = ({
564
+ ] }), me = ({
548
565
  isPinned: e,
549
566
  onClick: t,
550
567
  label: o
551
568
  }) => {
552
- const r = e ? "Unpin menu" : "Pin menu", i = o != null ? o : r;
553
- return /* @__PURE__ */ n(L, { onClick: t, label: i, leftIcon: e ? V : fn });
554
- }, Je = ({
569
+ const a = e ? "Unpin menu" : "Pin menu", i = o != null ? o : a;
570
+ return /* @__PURE__ */ n(P, { onClick: t, label: i, leftIcon: e ? V : fn });
571
+ }, Ve = ({
555
572
  className: e,
556
573
  children: t,
557
574
  onCloseClick: o,
558
- variant: r = "standard",
575
+ variant: a = "standard",
559
576
  pinButtonVisible: i,
560
577
  onClickPinButton: c,
561
578
  bottomItems: d,
562
579
  isPinned: u,
563
580
  ...p
564
- }) => /* @__PURE__ */ a(
581
+ }) => /* @__PURE__ */ r(
565
582
  l,
566
583
  {
567
- className: h(se.sidebarMenu, e),
584
+ className: h(he.sidebarMenu, e),
568
585
  style: {
569
586
  ["--swui-sidebar-menu-item-height"]: "40px"
570
587
  },
571
588
  ...p,
572
589
  children: [
573
- /* @__PURE__ */ n(he, { onClick: o }),
590
+ /* @__PURE__ */ n(fe, { onClick: o }),
574
591
  /* @__PURE__ */ n(
575
592
  l,
576
593
  {
577
594
  height: "100%",
578
595
  background: "var(--current-background-color)",
579
596
  overflow: "auto",
580
- children: /* @__PURE__ */ a(g, { justifyContent: "space-between", flex: 1, gap: 1, indent: 1, children: [
597
+ children: /* @__PURE__ */ r(g, { justifyContent: "space-between", flex: 1, gap: 1, indent: 1, children: [
581
598
  /* @__PURE__ */ n(g, { gap: 1, children: t }),
582
- (d || i) && /* @__PURE__ */ a(g, { gap: 1, children: [
599
+ (d || i) && /* @__PURE__ */ r(g, { gap: 1, children: [
583
600
  d,
584
601
  i && /* @__PURE__ */ n(
585
- pe,
602
+ me,
586
603
  {
587
604
  isPinned: u,
588
605
  onClick: c
@@ -595,18 +612,18 @@ const $ = ({
595
612
  )
596
613
  ]
597
614
  }
598
- ), S = xn(!1), A = () => yn(S), ge = ({
615
+ ), j = xn(!1), E = () => yn(j), ve = ({
599
616
  label: e,
600
617
  leftIcon: t,
601
618
  ...o
602
- }) => t == null ? null : /* @__PURE__ */ n(Nn, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n(mn, { icon: t, ...o }) }), fe = (e) => A() ? /* @__PURE__ */ n(ge, { ...e }) : /* @__PURE__ */ n(vn, { ...e }), Ke = ({
619
+ }) => t == null ? null : /* @__PURE__ */ n(Nn, { label: e, placement: "right", appendTo: document.body, children: /* @__PURE__ */ n(mn, { icon: t, ...o }) }), be = (e) => E() ? /* @__PURE__ */ n(ve, { ...e }) : /* @__PURE__ */ n(vn, { ...e }), Xe = ({
603
620
  closeButtonVisible: e,
604
621
  onClickCloseButton: t,
605
622
  onClickMenuButton: o,
606
- children: r,
623
+ children: a,
607
624
  bottomItems: i,
608
625
  closeButtonTitle: c = "Unpin menu"
609
- }) => /* @__PURE__ */ a(
626
+ }) => /* @__PURE__ */ r(
610
627
  l,
611
628
  {
612
629
  position: "fixed",
@@ -619,13 +636,13 @@ const $ = ({
619
636
  shadow: "popover",
620
637
  background: f("--lhds-color-ui-50"),
621
638
  children: [
622
- /* @__PURE__ */ n(X, { onClick: o, icon: J }),
623
- /* @__PURE__ */ a(g, { justifyContent: "space-between", flex: 1, gap: 1, children: [
624
- /* @__PURE__ */ n(g, { gap: 1, children: /* @__PURE__ */ n(S.Provider, { value: !0, children: r }) }),
625
- /* @__PURE__ */ n(g, { gap: 1, children: (i || e) && /* @__PURE__ */ a(S.Provider, { value: !0, children: [
639
+ /* @__PURE__ */ n(X, { onClick: o, icon: K }),
640
+ /* @__PURE__ */ r(g, { justifyContent: "space-between", flex: 1, gap: 1, children: [
641
+ /* @__PURE__ */ n(g, { gap: 1, children: /* @__PURE__ */ n(j.Provider, { value: !0, children: a }) }),
642
+ /* @__PURE__ */ n(g, { gap: 1, children: (i || e) && /* @__PURE__ */ r(j.Provider, { value: !0, children: [
626
643
  i,
627
644
  e && /* @__PURE__ */ n(
628
- fe,
645
+ be,
629
646
  {
630
647
  leftIcon: V,
631
648
  label: c,
@@ -636,18 +653,18 @@ const $ = ({
636
653
  ] })
637
654
  ]
638
655
  }
639
- ), me = ({
656
+ ), _e = ({
640
657
  label: e
641
- }) => A() ? null : /* @__PURE__ */ a(l, { height: "32px", justifyContent: "center", indent: 1, children: [
658
+ }) => E() ? null : /* @__PURE__ */ r(l, { height: "32px", justifyContent: "center", indent: 1, children: [
642
659
  /* @__PURE__ */ n(_, {}),
643
660
  /* @__PURE__ */ n(b, { variant: "overline", size: "smaller", children: e })
644
- ] }), ve = ({
661
+ ] }), Be = ({
645
662
  children: e,
646
663
  label: t,
647
664
  icon: o,
648
- popupMinWidth: r = "200px"
665
+ popupMinWidth: a = "200px"
649
666
  }) => /* @__PURE__ */ n(
650
- j,
667
+ M,
651
668
  {
652
669
  appendTo: "parent",
653
670
  arrow: !1,
@@ -659,52 +676,52 @@ const $ = ({
659
676
  content: /* @__PURE__ */ n(
660
677
  l,
661
678
  {
662
- minWidth: r,
679
+ minWidth: a,
663
680
  shadow: "popover",
664
681
  spacing: 1,
665
682
  indent: 1,
666
683
  gap: 2,
667
- children: /* @__PURE__ */ a(S.Provider, { value: !1, children: [
668
- /* @__PURE__ */ n(me, { label: t }),
684
+ children: /* @__PURE__ */ r(j.Provider, { value: !1, children: [
685
+ /* @__PURE__ */ n(_e, { label: t }),
669
686
  e
670
687
  ] })
671
688
  }
672
689
  ),
673
690
  children: /* @__PURE__ */ n(X, { icon: o })
674
691
  }
675
- ), Qe = ({
692
+ ), Ye = ({
676
693
  children: e,
677
694
  label: t,
678
695
  leftIcon: o,
679
- className: r,
696
+ className: a,
680
697
  initialExpand: i = !1
681
698
  }) => {
682
699
  const [c, d] = kn(i);
683
- return A() ? o == null ? null : /* @__PURE__ */ n(ve, { label: t, icon: o, children: e }) : /* @__PURE__ */ n(
684
- L,
700
+ return E() ? o == null ? null : /* @__PURE__ */ n(Be, { label: t, icon: o, children: e }) : /* @__PURE__ */ n(
701
+ P,
685
702
  {
686
703
  label: t,
687
704
  onClick: () => d(!c),
688
705
  leftIcon: o,
689
- className: r,
706
+ className: a,
690
707
  expandable: !0,
691
708
  expanded: c,
692
709
  selected: c,
693
710
  children: e
694
711
  }
695
712
  );
696
- }, Ve = (e) => /* @__PURE__ */ n(
713
+ }, Ze = (e) => /* @__PURE__ */ n(
697
714
  In,
698
715
  {
699
716
  color: f("--lhds-color-ui-400"),
700
717
  ...e
701
718
  }
702
- ), be = `1px solid ${f("--lhds-color-orange-400")}`, Xe = ({
719
+ ), Ce = `1px solid ${f("--lhds-color-orange-400")}`, nt = ({
703
720
  numItemsSelected: e,
704
721
  label: t,
705
722
  afterLabelContent: o,
706
- rightContent: r
707
- }) => /* @__PURE__ */ a(
723
+ rightContent: a
724
+ }) => /* @__PURE__ */ r(
708
725
  s,
709
726
  {
710
727
  indent: 3,
@@ -712,64 +729,64 @@ const $ = ({
712
729
  minHeight: "56px",
713
730
  justifyContent: "space-between",
714
731
  alignItems: "center",
715
- borderTop: be,
732
+ borderTop: Ce,
716
733
  background: f("--lhds-color-orange-50"),
717
734
  children: [
718
- /* @__PURE__ */ a(s, { alignItems: "center", children: [
719
- e != null || t != null ? /* @__PURE__ */ n(v, { children: e != null ? /* @__PURE__ */ a(v, { children: [
735
+ /* @__PURE__ */ r(s, { alignItems: "center", children: [
736
+ e != null || t != null ? /* @__PURE__ */ n(v, { children: e != null ? /* @__PURE__ */ r(v, { children: [
720
737
  /* @__PURE__ */ n(b, { variant: "bold", children: e }),
721
738
  /* @__PURE__ */ n(_, {}),
722
- /* @__PURE__ */ a(b, { children: [
739
+ /* @__PURE__ */ r(b, { children: [
723
740
  "item",
724
741
  e === 1 ? "" : "s",
725
742
  " selected"
726
743
  ] })
727
744
  ] }) : t != null ? /* @__PURE__ */ n(v, { children: typeof t == "string" ? /* @__PURE__ */ n(b, { children: t }) : t }) : null }) : null,
728
- o ? /* @__PURE__ */ a(v, { children: [
745
+ o ? /* @__PURE__ */ r(v, { children: [
729
746
  /* @__PURE__ */ n(x, {}),
730
747
  /* @__PURE__ */ n(l, { children: o })
731
748
  ] }) : null
732
749
  ] }),
733
- /* @__PURE__ */ n(l, { children: r })
750
+ /* @__PURE__ */ n(l, { children: a })
734
751
  ]
735
752
  }
736
753
  );
737
754
  export {
738
- Sn as ActionMenuFlatButton,
739
- we as ActionMenuPrimaryButton,
740
- Se as ActionMenuSecondaryButton,
741
- je as CheckboxMenu,
742
- ae as Collapsible,
743
- re as CollapsibleEmptyContent,
744
- De as CollapsibleGroupHeading,
745
- Ee as CollapsibleList,
746
- Ue as CollapsibleWithCheckbox,
747
- ie as ErrorPanel,
748
- Oe as ErrorScreen,
749
- ce as LoadingPanel,
750
- Te as LoadingScreen,
751
- Me as NavBar,
752
- zn as NavBarButton,
753
- Fe as NavBarHeading,
754
- Le as NavBarNotificationButton,
755
- Re as NavBarPopoverButton,
756
- Pe as NavBarSearchField,
757
- ze as NavBarUserButton,
758
- $e as Notification,
755
+ jn as ActionMenuFlatButton,
756
+ Me as ActionMenuPrimaryButton,
757
+ Fe as ActionMenuSecondaryButton,
758
+ Re as CheckboxMenu,
759
+ le as Collapsible,
760
+ ce as CollapsibleEmptyContent,
761
+ qe as CollapsibleGroupHeading,
762
+ Oe as CollapsibleList,
763
+ Te as CollapsibleWithCheckbox,
764
+ se as ErrorPanel,
765
+ We as ErrorScreen,
766
+ de as LoadingPanel,
767
+ Ge as LoadingScreen,
768
+ Le as NavBar,
769
+ $n as NavBarButton,
770
+ ze as NavBarHeading,
771
+ $e as NavBarNotificationButton,
772
+ Pe as NavBarPopoverButton,
773
+ Ae as NavBarSearchField,
774
+ He as NavBarUserButton,
775
+ Ee as Notification,
759
776
  Z as NotificationHeader,
760
- Ae as NotificationList,
761
- We as PageHeader,
762
- qe as PageHeaderRow,
763
- Ge as PageHeading,
764
- Xe as SelectedItemsActionsPanel,
765
- Je as SidebarMenu,
766
- Qe as SidebarMenuCollapsible,
767
- me as SidebarMenuHeading,
768
- fe as SidebarMenuLink,
769
- Ve as SidebarMenuSeparator,
770
- Ke as SidebarRailMenu,
771
- He as Toast,
772
- Jn as UnreadDot,
773
- Kn as getIconBgColor
777
+ Ue as NotificationList,
778
+ Je as PageHeader,
779
+ Ke as PageHeaderRow,
780
+ Qe as PageHeading,
781
+ nt as SelectedItemsActionsPanel,
782
+ Ve as SidebarMenu,
783
+ Ye as SidebarMenuCollapsible,
784
+ _e as SidebarMenuHeading,
785
+ be as SidebarMenuLink,
786
+ Ze as SidebarMenuSeparator,
787
+ Xe as SidebarRailMenu,
788
+ De as Toast,
789
+ Vn as UnreadDot,
790
+ Xn as getIconBgColor
774
791
  };
775
792
  //# sourceMappingURL=index.es.js.map