@stenajs-webui/panels 19.0.0-next.2 → 19.0.0-next.3

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,108 +1,108 @@
1
- (function(){"use strict";try{var o=document.createElement("style");o.appendChild(document.createTextNode('._navBar_1bafw_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 );background-color:var(--swui-navbar-background-color)}._sidebarMenuButton_d43s4_1{--swui-nav-bar-side-menu-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-side-menu-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-side-menu-button-background-color-hover: var( --lhds-color-ui-100 );--swui-nav-bar-side-menu-button-background-color-focus: var( --lhds-color-ui-200 );--swui-nav-bar-side-menu-button-background-color-active: var( --lhds-color-ui-200 );--current-background-color: var( --swui-nav-bar-side-menu-button-background-color );display:flex;align-items:center;justify-content:center;line-height:10px;background-color:var(--current-background-color);color:var(--swui-nav-bar-side-menu-button-text-color);cursor:pointer;height:var(--swui-nav-bar-height);width:var(--swui-nav-bar-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuButton_d43s4_1:hover{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-hover )}._sidebarMenuButton_d43s4_1:focus-visible{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-focus )}._sidebarMenuButton_d43s4_1:active{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-active )}._sidebarMenuButton_d43s4_1 ._icon_d43s4_55 path{fill:var(--swui-nav-bar-side-menu-button-text-color)}._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_17zoz_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-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px;--swui-nav-bar-notification-shake-count: 3;transition:.5s width;width:32px}._navBarNotificationButton_17zoz_1._hasCount_17zoz_58{width:56px}._navBarNotificationButton_17zoz_1._unread_17zoz_62{--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_17zoz_1._unread_17zoz_62._hasCount_17zoz_58 ._icon_17zoz_77{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_17zoz_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_17zoz_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_rcj0j_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_rcj0j_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_rcj0j_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-blue-50);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_rcj0j_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-icon-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._navBarUserButton_1cwhm_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 );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px}._navBarUserButton_1cwhm_1._initials_1cwhm_31{width:32px}._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}._collapsible_1nroa_1{--swui-collapsible-animation-time: var(--swui-animation-time-fast);--swui-collapsible-expanded-line-background-color: var( --swui-primary-action-color );--swui-collapsible-header-text-color: var(--lhds-color-ui-900);--swui-collapsible-header-background-color: var(--swui-white);--swui-collapsible-header-background-color-hover: var(--lhds-color-blue-100);--swui-collapsible-header-background-color-active: var(--lhds-color-blue-100);--swui-collapsible-header-border-color: var(--lhds-color-ui-300);--swui-collapsible-header-border-color-focus: var( --swui-primary-action-color );--swui-collapsible-header-focus-shadow: var(--swui-field-focus-shadow);--swui-collapsible-header-content-margin: calc( var(--swui-metrics-indent) * 2 );--swui-collapsible-header-font-weight: var(--swui-font-weight-text-bold);--swui-collapsible-header-indicator-color: var(--swui-primary-action-color);--swui-collapsible-header-indicator-color-collapsed: var(--lhds-color-ui-500);--swui-collapsible-header-indicator-color-hover: var( --swui-primary-action-color );--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0;--swui-collapsible-content-background-color: var(--lhds-color-ui-100);--swui-collapsible-content-border-color: var(--lhds-color-ui-300);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2);--swui-collapsible-groupheading-font-size: var(--swui-font-size-smaller);--swui-collapsible-groupheading-text-color: var(--lhds-color-ui-600);--swui-collapsible-min-height: 40px}._collapsible_1nroa_1 ._header_1nroa_46{background-color:var(--swui-collapsible-header-background-color);width:100%;text-align:left;min-height:var(--swui-collapsible-min-height);box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--swui-collapsible-header-border-color);padding:var(--swui-collapsible-header-padding)}._collapsible_1nroa_1 ._header_1nroa_46 ._indicator_1nroa_59{transition:all var(--swui-collapsible-animation-time) ease-in-out;margin-left:var(--swui-collapsible-header-content-margin);color:var(--swui-collapsible-header-indicator-color)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active){background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active) ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 ._header_1nroa_46:active{background:var(--swui-collapsible-header-background-color-active)}._collapsible_1nroa_1 ._header_1nroa_46:disabled{cursor:not-allowed}._collapsible_1nroa_1{position:relative}._collapsible_1nroa_1:before{content:"";position:absolute;width:2px;background:var(--swui-collapsible-expanded-line-background-color);top:0;bottom:0;left:0;z-index:1}._collapsible_1nroa_1 ._headerText_1nroa_103{font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1[aria-expanded=false]{--swui-collapsible-expanded-line-background-color: transparent}._collapsible_1nroa_1[aria-expanded=false] ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-collapsed)}._collapsible_1nroa_1 ._label_1nroa_114{margin-right:auto}._collapsible_1nroa_1 ._label_1nroa_114 span{--current-line-height: 1;font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1 ._contentLeft_1nroa_123,._collapsible_1nroa_1 ._contentRight_1nroa_124{display:flex}._collapsible_1nroa_1 ._contentLeft_1nroa_123 button,._collapsible_1nroa_1 ._contentRight_1nroa_124 button{cursor:pointer}._collapsible_1nroa_1 ._contentLeft_1nroa_123{margin-right:var(--swui-collapsible-header-content-margin)}._collapsible_1nroa_1 ._contentRight_1nroa_124{margin-left:auto}._collapsible_1nroa_1 ._content_1nroa_123{display:flex;align-items:center;justify-content:stretch;background:var(--swui-collapsible-content-background-color);padding:var(--swui-collapsible-content-padding);min-height:var(--swui-collapsible-min-height);box-sizing:border-box}._collapsible_1nroa_1 ._content_1nroa_123:last-child{border-bottom:1px solid var(--swui-collapsible-content-border-color)}._collapsible_1nroa_1 ._content_1nroa_123._groupHeading_1nroa_155{border:none;font-size:var(--swui-collapsible-groupheading-font-size);font-family:var(--swui-font-primary);color:var(--swui-collapsible-groupheading-text-color);text-transform:uppercase;font-weight:var(--swui-font-weight-text-bold);letter-spacing:.1rem}._collapsible_1nroa_1 ._content_1nroa_123 [data-hidden=true]{display:none}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hover=true]{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._contentEnter_1nroa_180{opacity:0}._collapsible_1nroa_1 ._contentEnterActive_1nroa_184{opacity:1;transition:opacity var(--swui-collapsible-animation-time) ease-in-out}._collapsible_1nroa_1 ._contentExitDone_1nroa_189{display:none}._collapsible_1nroa_1 button._content_1nroa_123{font-family:var(--swui-font-primary);font-size:inherit;width:100%;text-align:left}._collapsible_1nroa_1 button._content_1nroa_123:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 button._content_1nroa_123:not(:disabled):hover{background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 button._content_1nroa_123:disabled{cursor:not-allowed}._collapsible_1nroa_1 button._content_1nroa_123:focus-within [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-background-color: var( --swui-collapsible-content-background-color );--swui-collapsible-header-font-weight: normal}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 4);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 6)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 6);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 8)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 8);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 10)}._sidebarMenu_tg9i7_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:100vh}._sidebarMenu_tg9i7_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_tg9i7_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._stenaFlag_108h7_1{height:32px}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
- import { ActionMenu as Y, ActionMenuContext as he, stenaAngleDown as ee, PrimaryButton as pe, SecondaryButton as me, FlatButton as k, stenaBellFilled as ge, Icon as z, stenaSearch as fe, stenaUserCircle as be, stenaTimes as ne, Banner as ve, Spinner as _e, StenaFlag as Ce, MenuButtonLink as Be, MenuButton as xe } from "@stenajs-webui/elements";
3
- import * as L from "react";
4
- import { useRef as ye, useMemo as Ne, forwardRef as we, useState as ke } from "react";
5
- import { useBoolean as D, Column as F, Box as l, Row as u, Indent as b, Heading as U, Clickable as V, Txt as G, Space as f, Text as w, SeparatorLine as te, exhaustSwitchCaseElseThrow as oe } from "@stenajs-webui/core";
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)}._sidebarMenuButton_d43s4_1{--swui-nav-bar-side-menu-button-text-color: var(--lhds-color-blue-600);--swui-nav-bar-side-menu-button-background-color: var(--lhds-color-ui-50);--swui-nav-bar-side-menu-button-background-color-hover: var( --lhds-color-ui-100 );--swui-nav-bar-side-menu-button-background-color-focus: var( --lhds-color-ui-200 );--swui-nav-bar-side-menu-button-background-color-active: var( --lhds-color-ui-200 );--current-background-color: var( --swui-nav-bar-side-menu-button-background-color );display:flex;align-items:center;justify-content:center;line-height:10px;background-color:var(--current-background-color);color:var(--swui-nav-bar-side-menu-button-text-color);cursor:pointer;height:var(--swui-nav-bar-height);width:var(--swui-nav-bar-height);padding:0;margin:0;box-sizing:border-box;border-radius:0;outline:none;border:none}._sidebarMenuButton_d43s4_1:hover{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-hover )}._sidebarMenuButton_d43s4_1:focus-visible{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-focus )}._sidebarMenuButton_d43s4_1:active{--current-background-color: var( --swui-nav-bar-side-menu-button-background-color-active )}._sidebarMenuButton_d43s4_1 ._icon_d43s4_55 path{fill:var(--swui-nav-bar-side-menu-button-text-color)}._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_17zoz_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-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px;--swui-nav-bar-notification-shake-count: 3;transition:.5s width;width:32px}._navBarNotificationButton_17zoz_1._hasCount_17zoz_58{width:56px}._navBarNotificationButton_17zoz_1._unread_17zoz_62{--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_17zoz_1._unread_17zoz_62._hasCount_17zoz_58 ._icon_17zoz_77{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count);animation:_shake_17zoz_1 1.5s ease-in-out var(--swui-nav-bar-notification-shake-count)}@-webkit-keyframes _shake_17zoz_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_17zoz_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_rcj0j_1{--swui-textinput-line-height: 2.7rem;--swui-textinput-text-color: var(--lhds-color-ui-50)}._navBarSearchFieldInput_rcj0j_1:focus{--swui-textinput-text-color: var(--lhds-color-ui-800)}._navBarSearchField_rcj0j_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-blue-50);--swui-textinput-border-color: transparent;--swui-textinput-border-color-hover: transparent}._navBarSearchField_rcj0j_1:focus-within{--swui-textinput-text-color: var(--lhds-color-ui-800);--swui-field-text-color: var(--swui-field-text-color);--swui-textinput-icon-color: var(--lhds-color-ui-500);--swui-textinput-bg-color: var(--lhds-color-ui-50)}._navBarUserButton_1cwhm_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 );--swui-button-border-radius: 16px;--swui-button-border-radius-icon-only: 16px}._navBarUserButton_1cwhm_1._initials_1cwhm_31{width:32px}._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}._collapsible_1nroa_1{--swui-collapsible-animation-time: var(--swui-animation-time-fast);--swui-collapsible-expanded-line-background-color: var( --swui-primary-action-color );--swui-collapsible-header-text-color: var(--lhds-color-ui-900);--swui-collapsible-header-background-color: var(--swui-white);--swui-collapsible-header-background-color-hover: var(--lhds-color-blue-100);--swui-collapsible-header-background-color-active: var(--lhds-color-blue-100);--swui-collapsible-header-border-color: var(--lhds-color-ui-300);--swui-collapsible-header-border-color-focus: var( --swui-primary-action-color );--swui-collapsible-header-focus-shadow: var(--swui-field-focus-shadow);--swui-collapsible-header-content-margin: calc( var(--swui-metrics-indent) * 2 );--swui-collapsible-header-font-weight: var(--swui-font-weight-text-bold);--swui-collapsible-header-indicator-color: var(--swui-primary-action-color);--swui-collapsible-header-indicator-color-collapsed: var(--lhds-color-ui-500);--swui-collapsible-header-indicator-color-hover: var( --swui-primary-action-color );--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0;--swui-collapsible-content-background-color: var(--lhds-color-ui-100);--swui-collapsible-content-border-color: var(--lhds-color-ui-300);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2);--swui-collapsible-groupheading-font-size: var(--swui-font-size-smaller);--swui-collapsible-groupheading-text-color: var(--lhds-color-ui-600);--swui-collapsible-min-height: 40px}._collapsible_1nroa_1 ._header_1nroa_46{background-color:var(--swui-collapsible-header-background-color);width:100%;text-align:left;min-height:var(--swui-collapsible-min-height);box-sizing:border-box;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--swui-collapsible-header-border-color);padding:var(--swui-collapsible-header-padding)}._collapsible_1nroa_1 ._header_1nroa_46 ._indicator_1nroa_59{transition:all var(--swui-collapsible-animation-time) ease-in-out;margin-left:var(--swui-collapsible-header-content-margin);color:var(--swui-collapsible-header-indicator-color)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active){background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:not(:disabled):hover:not(:active) ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._header_1nroa_46:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 ._header_1nroa_46:active{background:var(--swui-collapsible-header-background-color-active)}._collapsible_1nroa_1 ._header_1nroa_46:disabled{cursor:not-allowed}._collapsible_1nroa_1{position:relative}._collapsible_1nroa_1:before{content:"";position:absolute;width:2px;background:var(--swui-collapsible-expanded-line-background-color);top:0;bottom:0;left:0;z-index:1}._collapsible_1nroa_1 ._headerText_1nroa_103{font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1[aria-expanded=false]{--swui-collapsible-expanded-line-background-color: transparent}._collapsible_1nroa_1[aria-expanded=false] ._indicator_1nroa_59{color:var(--swui-collapsible-header-indicator-color-collapsed)}._collapsible_1nroa_1 ._label_1nroa_114{margin-right:auto}._collapsible_1nroa_1 ._label_1nroa_114 span{--current-line-height: 1;font-weight:var(--swui-collapsible-header-font-weight)}._collapsible_1nroa_1 ._contentLeft_1nroa_123,._collapsible_1nroa_1 ._contentRight_1nroa_124{display:flex}._collapsible_1nroa_1 ._contentLeft_1nroa_123 button,._collapsible_1nroa_1 ._contentRight_1nroa_124 button{cursor:pointer}._collapsible_1nroa_1 ._contentLeft_1nroa_123{margin-right:var(--swui-collapsible-header-content-margin)}._collapsible_1nroa_1 ._contentRight_1nroa_124{margin-left:auto}._collapsible_1nroa_1 ._content_1nroa_123{display:flex;align-items:center;justify-content:stretch;background:var(--swui-collapsible-content-background-color);padding:var(--swui-collapsible-content-padding);min-height:var(--swui-collapsible-min-height);box-sizing:border-box}._collapsible_1nroa_1 ._content_1nroa_123:last-child{border-bottom:1px solid var(--swui-collapsible-content-border-color)}._collapsible_1nroa_1 ._content_1nroa_123._groupHeading_1nroa_155{border:none;font-size:var(--swui-collapsible-groupheading-font-size);font-family:var(--swui-font-primary);color:var(--swui-collapsible-groupheading-text-color);text-transform:uppercase;font-weight:var(--swui-font-weight-text-bold);letter-spacing:.1rem}._collapsible_1nroa_1 ._content_1nroa_123 [data-hidden=true]{display:none}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._content_1nroa_123:hover [data-hover=true]{color:var(--swui-collapsible-header-indicator-color-hover)}._collapsible_1nroa_1 ._contentEnter_1nroa_180{opacity:0}._collapsible_1nroa_1 ._contentEnterActive_1nroa_184{opacity:1;transition:opacity var(--swui-collapsible-animation-time) ease-in-out}._collapsible_1nroa_1 ._contentExitDone_1nroa_189{display:none}._collapsible_1nroa_1 button._content_1nroa_123{font-family:var(--swui-font-primary);font-size:inherit;width:100%;text-align:left}._collapsible_1nroa_1 button._content_1nroa_123:focus-visible{outline:1px solid var(--swui-collapsible-header-border-color-focus);outline-offset:-1px;box-shadow:var(--swui-collapsible-header-focus-shadow)}._collapsible_1nroa_1 button._content_1nroa_123:not(:disabled):hover{background-color:var(--swui-collapsible-header-background-color-hover)}._collapsible_1nroa_1 button._content_1nroa_123:disabled{cursor:not-allowed}._collapsible_1nroa_1 button._content_1nroa_123:focus-within [data-hidden=true]{display:inherit}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-background-color: var( --swui-collapsible-content-background-color );--swui-collapsible-header-font-weight: normal}._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 4)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 4);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 6)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 6);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 8)}._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1 ._collapsible_1nroa_1{--swui-collapsible-header-padding: 0 calc(var(--swui-metrics-indent) * 2) 0 calc(var(--swui-metrics-indent) * 8);--swui-collapsible-content-padding: var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 2) var(--swui-metrics-indent) calc(var(--swui-metrics-indent) * 10)}._sidebarMenu_tg9i7_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:100vh}._sidebarMenu_tg9i7_1[data-collapsed]{width:var(--swui-sidebar-menu-item-height)}._sidebarMenu_tg9i7_1 button{--swui-button-text-color: var(--swui-white);--swui-button-background-color-hover: var( --swui-sidebar-menu-background-color-hover )}._stenaFlag_108h7_1{height:32px}')),document.head.appendChild(o)}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { ActionMenu as Y, ActionMenuContext as de, stenaAngleDown as Z, PrimaryButton as he, SecondaryButton as pe, FlatButton as x, Icon as E, stenaHamburger as me, stenaBellFilled as ge, stenaSearch as fe, stenaUserCircle as be, stenaTimes as ee, Banner as _e, Spinner as ve, StenaFlag as Ce, MenuButtonLink as Be, MenuButton as xe } from "@stenajs-webui/elements";
3
+ import * as ne from "react";
4
+ import { useRef as ye, useMemo as Ne, forwardRef as ke, useState as Se } from "react";
5
+ import { useBoolean as L, Column as M, Box as l, Row as d, Indent as b, Heading as D, Clickable as U, Txt as G, Space as v, Text as B, SeparatorLine as te, exhaustSwitchCaseElseThrow as oe } from "@stenajs-webui/core";
6
6
  import { Popover as R } from "@stenajs-webui/tooltip";
7
7
  import { jsx as e, jsxs as c, Fragment as m } from "react/jsx-runtime";
8
- import { Checkbox as re, TextInput as Se } from "@stenajs-webui/forms";
8
+ import { Checkbox as re, TextInput as we } from "@stenajs-webui/forms";
9
9
  import h from "classnames";
10
- import { cssColor as v } from "@stenajs-webui/theme";
10
+ import { cssColor as _ } from "@stenajs-webui/theme";
11
11
  import { faChevronDown as Ie } from "@fortawesome/free-solid-svg-icons";
12
12
  import { faChevronUp as Me } from "@fortawesome/free-solid-svg-icons/faChevronUp";
13
13
  import { CSSTransition as Ee } from "react-transition-group";
14
14
  import { faInbox as Fe } from "@fortawesome/free-solid-svg-icons/faInbox";
15
- const W = ({
15
+ const V = ({
16
16
  renderItems: n,
17
17
  placement: t = "bottom",
18
18
  buttonComponent: o,
19
- rightIcon: r = ee,
19
+ rightIcon: r = Z,
20
20
  portalTarget: a = "parent",
21
21
  zIndex: i,
22
- menuWidth: s,
22
+ menuWidth: u,
23
23
  menuTop: p,
24
- onClick: _,
25
- disableArrow: B = !1,
26
- ...C
24
+ onClick: f,
25
+ disableArrow: y = !1,
26
+ ...N
27
27
  }) => {
28
- const [x, y, g, H] = D(!1), S = ye(null), A = {
28
+ const [F, j, g, A] = L(!1), k = ye(null), H = {
29
29
  name: "focusManager",
30
30
  defaultValue: !0,
31
31
  fn({
32
- popper: M
32
+ popper: w
33
33
  }) {
34
- let j = !1;
35
- const q = (N) => {
36
- N.key === "Escape" && (j = !0, g()), (N.key === "Enter" || N.key === " ") && (j = !0);
34
+ let z = !1;
35
+ const q = (C) => {
36
+ C.key === "Escape" && (z = !0, g()), (C.key === "Enter" || C.key === " ") && (z = !0);
37
37
  };
38
38
  return {
39
39
  onCreate() {
40
- M.addEventListener("keydown", q);
40
+ w.addEventListener("keydown", q);
41
41
  },
42
42
  onDestroy() {
43
- M.removeEventListener("keydown", q);
43
+ w.removeEventListener("keydown", q);
44
44
  },
45
45
  onMount() {
46
- var N;
47
- j = !1, (N = M.querySelector("button:not([disabled]), a[href]")) == null || N.focus();
46
+ var C;
47
+ z = !1, (C = w.querySelector("button:not([disabled]), a[href]")) == null || C.focus();
48
48
  },
49
49
  onHide() {
50
- S.current && j && S.current.focus();
50
+ k.current && z && k.current.focus();
51
51
  }
52
52
  };
53
53
  }
54
- }, I = Ne(() => ({
55
- open: y,
54
+ }, S = Ne(() => ({
55
+ open: j,
56
56
  close: g
57
- }), [y, g]), P = (M) => {
58
- _ == null || _(M), H();
57
+ }), [j, g]), P = (w) => {
58
+ f == null || f(w), A();
59
59
  };
60
60
  return /* @__PURE__ */ e(R, {
61
61
  disablePadding: !0,
62
- visible: x,
62
+ visible: F,
63
63
  onClickOutside: g,
64
64
  placement: t,
65
- content: x && /* @__PURE__ */ e(Y, {
66
- width: s,
65
+ content: F && /* @__PURE__ */ e(Y, {
66
+ width: u,
67
67
  top: p,
68
68
  trapFocus: !0,
69
- children: /* @__PURE__ */ e(he.Provider, {
70
- value: I,
69
+ children: /* @__PURE__ */ e(de.Provider, {
70
+ value: S,
71
71
  children: n(g)
72
72
  })
73
73
  }),
74
74
  arrow: !1,
75
75
  appendTo: a,
76
76
  zIndex: i,
77
- plugins: [A],
77
+ plugins: [H],
78
78
  lazy: !0,
79
79
  children: /* @__PURE__ */ e(o, {
80
- rightIcon: B ? void 0 : r,
81
- ...C,
82
- ref: S,
80
+ rightIcon: y ? void 0 : r,
81
+ ...N,
82
+ ref: k,
83
83
  onClick: P
84
84
  })
85
85
  });
86
- }, An = (n) => /* @__PURE__ */ e(W, {
87
- buttonComponent: pe,
86
+ }, An = (n) => /* @__PURE__ */ e(V, {
87
+ buttonComponent: he,
88
88
  ...n
89
- }), Pn = (n) => /* @__PURE__ */ e(W, {
90
- buttonComponent: me,
89
+ }), Hn = (n) => /* @__PURE__ */ e(V, {
90
+ buttonComponent: pe,
91
91
  ...n
92
- }), je = (n) => /* @__PURE__ */ e(W, {
93
- buttonComponent: k,
92
+ }), je = (n) => /* @__PURE__ */ e(V, {
93
+ buttonComponent: x,
94
94
  ...n
95
- }), Le = "1px solid var(--lhds-color-ui-300)", Tn = ({
95
+ }), ze = "1px solid var(--lhds-color-ui-300)", Pn = ({
96
96
  renderMenu: n,
97
97
  ...t
98
98
  }) => {
99
- const [o, r, a] = D(!1);
99
+ const [o, r, a] = L(!1);
100
100
  return /* @__PURE__ */ e(R, {
101
101
  onClickOutside: a,
102
102
  arrow: !1,
103
103
  visible: o,
104
104
  disablePadding: !0,
105
- content: n ? /* @__PURE__ */ e(F, {
105
+ content: n ? /* @__PURE__ */ e(M, {
106
106
  children: /* @__PURE__ */ e(Y, {
107
107
  children: n(a)
108
108
  })
@@ -110,81 +110,62 @@ const W = ({
110
110
  placement: "bottom-start",
111
111
  children: /* @__PURE__ */ e(l, {
112
112
  display: "inline-block",
113
- children: /* @__PURE__ */ c(u, {
113
+ children: /* @__PURE__ */ c(d, {
114
114
  spacing: 0.5,
115
115
  indent: !0,
116
116
  alignItems: "center",
117
- border: Le,
117
+ border: ze,
118
118
  borderRadius: "4px",
119
119
  children: [/* @__PURE__ */ e(re, {
120
120
  ...t
121
121
  }), /* @__PURE__ */ e(b, {
122
122
  num: 0.5
123
- }), /* @__PURE__ */ e(k, {
123
+ }), /* @__PURE__ */ e(x, {
124
124
  size: "small",
125
125
  onClick: r,
126
- leftIcon: ee
126
+ leftIcon: Z
127
127
  })]
128
128
  })
129
129
  })
130
130
  });
131
- }, ze = "_navBar_1bafw_1", Re = {
132
- navBar: ze
133
- }, He = "_sidebarMenuButton_d43s4_1", Ae = "_icon_d43s4_55", J = {
131
+ }, Re = "_navBar_kzibd_1", Ae = {
132
+ navBar: Re
133
+ }, He = "_sidebarMenuButton_d43s4_1", Pe = "_icon_d43s4_55", J = {
134
134
  sidebarMenuButton: He,
135
- icon: Ae
136
- }, Pe = (n) => /* @__PURE__ */ L.createElement("svg", {
137
- xmlns: "http://www.w3.org/2000/svg",
138
- width: 16,
139
- height: 16,
140
- viewBox: "0 0 24 24",
141
- ...n
142
- }, /* @__PURE__ */ L.createElement("path", {
143
- fill: "#FFF",
144
- fillRule: "evenodd",
145
- d: "M22,5 L2,5 C2.11992373,5 2,4.85076158 2,5 L2,3 C2,3.14923842 2.11992373,3 2,3 L22,3 C21.8800763,3 22,3.14923842 22,3 L22,5 C22,4.85076158 21.8800763,5 22,5 Z M22,13 L2,13 C2.11992373,13 2,12.8507616 2,13 L2,11 C2,11.1492384 2.11992373,11 2,11 L22,11 C21.8800763,11 22,11.1492384 22,11 L22,13 C22,12.8507616 21.8800763,13 22,13 Z M22,21 L2,21 C2.11992373,21 2,20.8507616 2,21 L2,19 C2,19.1492384 2.11992373,19 2,19 L22,19 C21.8800763,19 22,19.1492384 22,19 L22,21 C22,20.8507616 21.8800763,21 22,21 Z"
146
- })), ae = ({
135
+ icon: Pe
136
+ }, ae = ({
147
137
  className: n,
148
138
  onClick: t
149
139
  }) => /* @__PURE__ */ e("button", {
150
140
  onClick: t,
151
141
  className: h(J.sidebarMenuButton, n),
152
- children: /* @__PURE__ */ e(Pe, {
153
- className: J.icon
142
+ children: /* @__PURE__ */ e(E, {
143
+ className: J.icon,
144
+ icon: me
154
145
  })
155
- }), Te = {
156
- compact: 32,
157
- standard: 40,
158
- relaxed: 64
159
- }, ce = (n) => Te[n] + "px", On = ({
146
+ }), Tn = ({
160
147
  left: n,
161
148
  className: t,
162
149
  showMenuButton: o = !1,
163
150
  menuButtonVisibility: r = "visible",
164
151
  children: a,
165
152
  right: i,
166
- center: s,
167
- variant: p = "standard",
168
- onClickMenuButton: _
153
+ center: u,
154
+ onClickMenuButton: p
169
155
  }) => {
170
- const B = s ? 1 : void 0, C = ce(p);
171
- return /* @__PURE__ */ c(u, {
172
- height: C,
173
- minHeight: C,
156
+ const f = u ? 1 : void 0;
157
+ return /* @__PURE__ */ c(d, {
174
158
  justifyContent: "space-between",
175
- style: {
176
- ["--swui-nav-bar-height"]: C
177
- },
178
- className: h(Re.navBar, t),
179
- children: [/* @__PURE__ */ c(u, {
180
- flex: B,
159
+ className: h(Ae.navBar, t),
160
+ children: [/* @__PURE__ */ c(d, {
161
+ flex: f,
181
162
  justifyContent: "flex-start",
182
163
  alignItems: "center",
183
164
  children: [o ? /* @__PURE__ */ c(m, {
184
165
  children: [r === "hidden" ? /* @__PURE__ */ e(l, {
185
166
  width: "var(--swui-nav-bar-height)"
186
167
  }) : /* @__PURE__ */ e(ae, {
187
- onClick: _
168
+ onClick: p
188
169
  }), /* @__PURE__ */ e(b, {})]
189
170
  }) : /* @__PURE__ */ e(b, {
190
171
  num: 2
@@ -195,47 +176,47 @@ const W = ({
195
176
  }) : /* @__PURE__ */ e(b, {
196
177
  num: 2
197
178
  }), a && /* @__PURE__ */ e(m, {
198
- children: /* @__PURE__ */ e(u, {
179
+ children: /* @__PURE__ */ e(d, {
199
180
  justifyContent: "center",
200
181
  alignItems: "center",
201
- children: L.Children.map(a, (x, y) => /* @__PURE__ */ c(m, {
202
- children: [y > 0 && /* @__PURE__ */ e(b, {}), x]
182
+ children: ne.Children.map(a, (y, N) => /* @__PURE__ */ c(m, {
183
+ children: [N > 0 && /* @__PURE__ */ e(b, {}), y]
203
184
  }))
204
185
  })
205
186
  })]
206
- }), s && /* @__PURE__ */ e(u, {
187
+ }), u && /* @__PURE__ */ e(d, {
207
188
  justifyContent: "center",
208
189
  alignItems: "center",
209
- children: s
210
- }), /* @__PURE__ */ c(u, {
190
+ children: u
191
+ }), /* @__PURE__ */ c(d, {
211
192
  justifyContent: "flex-end",
212
193
  alignItems: "center",
213
- flex: B,
194
+ flex: f,
214
195
  children: [i, /* @__PURE__ */ e(b, {
215
196
  num: 2
216
197
  })]
217
198
  })]
218
199
  });
219
- }, Oe = "_navBarButton_18iz9_1", $e = "_selected_18iz9_36", K = {
220
- navBarButton: Oe,
221
- selected: $e
222
- }, De = ({
200
+ }, Te = "_navBarButton_18iz9_1", Oe = "_selected_18iz9_36", K = {
201
+ navBarButton: Te,
202
+ selected: Oe
203
+ }, $e = ({
223
204
  selected: n,
224
205
  className: t,
225
206
  ...o
226
- }) => /* @__PURE__ */ e(k, {
207
+ }) => /* @__PURE__ */ e(x, {
227
208
  ...o,
228
209
  className: h(K.navBarButton, n && K.selected, t)
229
- }), $n = (n) => /* @__PURE__ */ e(U, {
210
+ }), On = (n) => /* @__PURE__ */ e(D, {
230
211
  whiteSpace: "nowrap",
231
212
  color: "#fff",
232
213
  ...n
233
- }), Dn = ({
214
+ }), $n = ({
234
215
  content: n,
235
216
  children: t,
236
217
  ...o
237
218
  }) => {
238
- const [r, , a, i] = D(!1);
219
+ const [r, , a, i] = L(!1);
239
220
  return /* @__PURE__ */ e(R, {
240
221
  onClickOutside: a,
241
222
  triggerTarget: document.body,
@@ -245,57 +226,57 @@ const W = ({
245
226
  close: a
246
227
  }), t]
247
228
  }),
248
- children: /* @__PURE__ */ e(De, {
229
+ children: /* @__PURE__ */ e($e, {
249
230
  ...o,
250
231
  onClick: i
251
232
  })
252
233
  });
253
- }, Ue = "_navBarNotificationButton_17zoz_1", Ve = "_hasCount_17zoz_58", We = "_unread_17zoz_62", Ze = "_icon_17zoz_77", qe = "_shake_17zoz_1", E = {
254
- navBarNotificationButton: Ue,
255
- hasCount: Ve,
256
- unread: We,
257
- icon: Ze,
258
- shake: qe
259
- }, Un = ({
234
+ }, Le = "_navBarNotificationButton_17zoz_1", De = "_hasCount_17zoz_58", Ue = "_unread_17zoz_62", Ve = "_icon_17zoz_77", We = "_shake_17zoz_1", I = {
235
+ navBarNotificationButton: Le,
236
+ hasCount: De,
237
+ unread: Ue,
238
+ icon: Ve,
239
+ shake: We
240
+ }, Ln = ({
260
241
  count: n,
261
242
  unread: t = !1,
262
243
  className: o,
263
244
  labelClassName: r,
264
245
  iconClassName: a,
265
246
  icon: i = ge,
266
- ...s
247
+ ...u
267
248
  }) => {
268
249
  const p = n > 0;
269
- return /* @__PURE__ */ e(k, {
270
- ...s,
250
+ return /* @__PURE__ */ e(x, {
251
+ ...u,
271
252
  leftIcon: i,
272
- className: h(t && E.unread, p && E.hasCount, E.navBarNotificationButton, o),
253
+ className: h(t && I.unread, p && I.hasCount, I.navBarNotificationButton, o),
273
254
  label: p ? String(n) : void 0,
274
- labelClassName: h(r, E.label),
275
- iconClassName: h(a, E.icon)
255
+ labelClassName: h(r, I.label),
256
+ iconClassName: h(a, I.icon)
276
257
  });
277
- }, Ge = "_navBarSearchFieldInput_rcj0j_1", Je = "_navBarSearchField_rcj0j_1", Q = {
278
- navBarSearchFieldInput: Ge,
279
- navBarSearchField: Je
280
- }, Vn = ({
258
+ }, qe = "_navBarSearchFieldInput_rcj0j_1", Ge = "_navBarSearchField_rcj0j_1", Q = {
259
+ navBarSearchFieldInput: qe,
260
+ navBarSearchField: Ge
261
+ }, Dn = ({
281
262
  placeholder: n = "Search...",
282
263
  className: t,
283
264
  wrapperClassName: o,
284
265
  ...r
285
- }) => /* @__PURE__ */ e(Se, {
266
+ }) => /* @__PURE__ */ e(we, {
286
267
  wrapperClassName: h(Q.navBarSearchField, o),
287
268
  className: h(Q.navBarSearchFieldInput, t),
288
269
  placeholder: n,
289
- contentRight: /* @__PURE__ */ e(V, {
290
- children: /* @__PURE__ */ e(z, {
270
+ contentRight: /* @__PURE__ */ e(U, {
271
+ children: /* @__PURE__ */ e(E, {
291
272
  icon: fe
292
273
  })
293
274
  }),
294
275
  ...r
295
- }), Ke = "_navBarUserButton_1cwhm_1", Qe = "_initials_1cwhm_31", X = {
296
- navBarUserButton: Ke,
297
- initials: Qe
298
- }, Wn = ({
276
+ }), Je = "_navBarUserButton_1cwhm_1", Ke = "_initials_1cwhm_31", X = {
277
+ navBarUserButton: Je,
278
+ initials: Ke
279
+ }, Un = ({
299
280
  className: n,
300
281
  username: t,
301
282
  initials: o,
@@ -310,20 +291,20 @@ const W = ({
310
291
  leftIcon: t != null ? r : void 0,
311
292
  label: o != null ? o : t,
312
293
  disableArrow: !0
313
- }), ie = ({
294
+ }), ce = ({
314
295
  text: n,
315
296
  timestamp: t,
316
297
  icon: o,
317
298
  iconAriaLabel: r,
318
299
  iconColor: a,
319
300
  contentLeft: i,
320
- contentRight: s,
301
+ contentRight: u,
321
302
  onClose: p
322
- }) => /* @__PURE__ */ c(u, {
303
+ }) => /* @__PURE__ */ c(d, {
323
304
  alignItems: "flex-start",
324
305
  indent: !0,
325
306
  spacing: !0,
326
- children: [/* @__PURE__ */ c(u, {
307
+ children: [/* @__PURE__ */ c(d, {
327
308
  indent: 2,
328
309
  spacing: !0,
329
310
  gap: 2,
@@ -333,7 +314,7 @@ const W = ({
333
314
  minHeight: 20,
334
315
  justifyContent: "center",
335
316
  children: i
336
- }), !i && o && /* @__PURE__ */ e(z, {
317
+ }), !i && o && /* @__PURE__ */ e(E, {
337
318
  icon: o,
338
319
  size: 20,
339
320
  color: a,
@@ -348,40 +329,40 @@ const W = ({
348
329
  children: n
349
330
  }), t && /* @__PURE__ */ e(G, {
350
331
  size: "small",
351
- color: v("--lhds-color-ui-600"),
332
+ color: _("--lhds-color-ui-600"),
352
333
  children: t
353
334
  })]
354
- }), s]
335
+ }), u]
355
336
  }), p && /* @__PURE__ */ e(l, {
356
337
  flex: "none",
357
338
  justifyContent: "center",
358
339
  style: {
359
340
  height: "calc(20px + 2 * var(--swui-metrics-spacing))"
360
341
  },
361
- children: /* @__PURE__ */ e(k, {
362
- leftIcon: ne,
342
+ children: /* @__PURE__ */ e(x, {
343
+ leftIcon: ee,
363
344
  onClick: p,
364
345
  "aria-label": "Close"
365
346
  })
366
347
  })]
367
- }), Zn = ({
348
+ }), Vn = ({
368
349
  children: n,
369
350
  ...t
370
- }) => /* @__PURE__ */ c(F, {
351
+ }) => /* @__PURE__ */ c(M, {
371
352
  background: "var(--lhds-color-ui-50)",
372
353
  borderRadius: "var(--swui-border-radius)",
373
- children: [/* @__PURE__ */ e(ie, {
354
+ children: [/* @__PURE__ */ e(ce, {
374
355
  ...t
375
- }), n && /* @__PURE__ */ c(F, {
356
+ }), n && /* @__PURE__ */ c(M, {
376
357
  indent: 3,
377
- children: [n, /* @__PURE__ */ e(f, {
358
+ children: [n, /* @__PURE__ */ e(v, {
378
359
  num: 2
379
360
  })]
380
361
  })]
381
- }), Xe = "_clickable_1ijxc_1", Ye = "_nonClickable_1ijxc_27", T = {
382
- clickable: Xe,
383
- nonClickable: Ye
384
- }, qn = ({
362
+ }), Qe = "_clickable_1ijxc_1", Xe = "_nonClickable_1ijxc_27", T = {
363
+ clickable: Qe,
364
+ nonClickable: Xe
365
+ }, Wn = ({
385
366
  onClick: n,
386
367
  onClickAriaLabel: t,
387
368
  children: o,
@@ -390,7 +371,7 @@ const W = ({
390
371
  ...i
391
372
  }) => /* @__PURE__ */ c(l, {
392
373
  borderRadius: 8,
393
- background: v("--lhds-color-ui-50"),
374
+ background: _("--lhds-color-ui-50"),
394
375
  shadow: "popover",
395
376
  width: r,
396
377
  maxWidth: a,
@@ -400,7 +381,7 @@ const W = ({
400
381
  className: h({
401
382
  [T.nonClickable]: n
402
383
  }),
403
- children: /* @__PURE__ */ e(ie, {
384
+ children: /* @__PURE__ */ e(ce, {
404
385
  ...i
405
386
  })
406
387
  }), o && /* @__PURE__ */ c(l, {
@@ -408,7 +389,7 @@ const W = ({
408
389
  className: h({
409
390
  [T.nonClickable]: n
410
391
  }),
411
- children: [o, /* @__PURE__ */ e(f, {
392
+ children: [o, /* @__PURE__ */ e(v, {
412
393
  num: 2
413
394
  })]
414
395
  }), n && /* @__PURE__ */ e("button", {
@@ -416,49 +397,49 @@ const W = ({
416
397
  className: T.clickable,
417
398
  "aria-label": t
418
399
  })]
419
- }), en = "_collapsible_1nroa_1", nn = "_header_1nroa_46", tn = "_indicator_1nroa_59", on = "_headerText_1nroa_103", rn = "_label_1nroa_114", an = "_contentLeft_1nroa_123", cn = "_contentRight_1nroa_124", ln = "_content_1nroa_123", sn = "_groupHeading_1nroa_155", dn = "_contentEnter_1nroa_180", un = "_contentEnterActive_1nroa_184", hn = "_contentExitDone_1nroa_189", d = {
420
- collapsible: en,
421
- header: nn,
422
- indicator: tn,
423
- headerText: on,
424
- label: rn,
425
- contentLeft: an,
426
- contentRight: cn,
427
- content: ln,
428
- groupHeading: sn,
429
- contentEnter: dn,
430
- contentEnterActive: un,
431
- contentExitDone: hn
432
- }, Z = () => /* @__PURE__ */ c(F, {
400
+ }), Ye = "_collapsible_1nroa_1", Ze = "_header_1nroa_46", en = "_indicator_1nroa_59", nn = "_headerText_1nroa_103", tn = "_label_1nroa_114", on = "_contentLeft_1nroa_123", rn = "_contentRight_1nroa_124", an = "_content_1nroa_123", cn = "_groupHeading_1nroa_155", ln = "_contentEnter_1nroa_180", sn = "_contentEnterActive_1nroa_184", un = "_contentExitDone_1nroa_189", s = {
401
+ collapsible: Ye,
402
+ header: Ze,
403
+ indicator: en,
404
+ headerText: nn,
405
+ label: tn,
406
+ contentLeft: on,
407
+ contentRight: rn,
408
+ content: an,
409
+ groupHeading: cn,
410
+ contentEnter: ln,
411
+ contentEnterActive: sn,
412
+ contentExitDone: un
413
+ }, W = () => /* @__PURE__ */ c(M, {
433
414
  indent: !0,
434
415
  spacing: !0,
435
416
  flex: 1,
436
417
  alignItems: "center",
437
- children: [/* @__PURE__ */ e(z, {
418
+ children: [/* @__PURE__ */ e(E, {
438
419
  icon: Fe,
439
- color: v("--lhds-color-ui-500")
440
- }), /* @__PURE__ */ e(f, {}), /* @__PURE__ */ e(w, {
420
+ color: _("--lhds-color-ui-500")
421
+ }), /* @__PURE__ */ e(v, {}), /* @__PURE__ */ e(B, {
441
422
  size: "small",
442
- color: v("--lhds-color-ui-500"),
423
+ color: _("--lhds-color-ui-500"),
443
424
  children: "No content"
444
425
  })]
445
- }), le = ({
426
+ }), ie = ({
446
427
  contentLeft: n,
447
428
  contentRight: t,
448
429
  className: o,
449
430
  children: r,
450
431
  ...a
451
432
  }) => /* @__PURE__ */ c("div", {
452
- className: h(d.content, o),
433
+ className: h(s.content, o),
453
434
  ...a,
454
435
  children: [n && /* @__PURE__ */ e("div", {
455
- className: d.contentLeft,
436
+ className: s.contentLeft,
456
437
  children: n
457
- }), r != null ? r : /* @__PURE__ */ e(Z, {}), t && /* @__PURE__ */ e("div", {
458
- className: d.contentRight,
438
+ }), r != null ? r : /* @__PURE__ */ e(W, {}), t && /* @__PURE__ */ e("div", {
439
+ className: s.contentRight,
459
440
  children: t
460
441
  })]
461
- }), pn = (n) => {
442
+ }), dn = (n) => {
462
443
  const t = parseFloat(n), o = n.match(/m?s/);
463
444
  switch (o == null ? void 0 : o[0]) {
464
445
  case "s":
@@ -468,54 +449,54 @@ const W = ({
468
449
  default:
469
450
  return 0;
470
451
  }
471
- }, mn = we(function({
452
+ }, hn = ke(function({
472
453
  label: t,
473
454
  contentLeft: o,
474
455
  contentRight: r,
475
456
  collapsed: a = !1,
476
457
  onClick: i,
477
- className: s,
458
+ className: u,
478
459
  disabled: p = !1,
479
- unmountOnCollapse: _ = !1,
480
- mountOnEnter: B = !0,
481
- icon: C = Me,
482
- iconCollapsed: x = Ie,
483
- iconSize: y = 8,
460
+ unmountOnCollapse: f = !1,
461
+ mountOnEnter: y = !0,
462
+ icon: N = Me,
463
+ iconCollapsed: F = Ie,
464
+ iconSize: j = 8,
484
465
  children: g,
485
- autoFocus: H = !1,
486
- ...S
487
- }, A) {
488
- const I = L.useRef(null), P = I.current ? pn(getComputedStyle(I.current).getPropertyValue("--swui-collapsible-animation-time")) : void 0;
466
+ autoFocus: A = !1,
467
+ ...k
468
+ }, H) {
469
+ const S = ne.useRef(null), P = S.current ? dn(getComputedStyle(S.current).getPropertyValue("--swui-collapsible-animation-time")) : void 0;
489
470
  return /* @__PURE__ */ c("div", {
490
- className: h(d.collapsible, s),
471
+ className: h(s.collapsible, u),
491
472
  "aria-expanded": !a,
492
- ref: I,
493
- ...S,
494
- children: [/* @__PURE__ */ c(V, {
473
+ ref: S,
474
+ ...k,
475
+ children: [/* @__PURE__ */ c(U, {
495
476
  disableFocusHighlight: !0,
496
477
  disableOpacityOnClick: !0,
497
- className: d.header,
478
+ className: s.header,
498
479
  onClick: i,
499
480
  disabled: p,
500
- autoFocus: H,
501
- ref: A,
481
+ autoFocus: A,
482
+ ref: H,
502
483
  children: [o && /* @__PURE__ */ e("div", {
503
- className: d.contentLeft,
484
+ className: s.contentLeft,
504
485
  children: o
505
486
  }), /* @__PURE__ */ e("div", {
506
- className: d.label,
507
- children: /* @__PURE__ */ e(w, {
487
+ className: s.label,
488
+ children: /* @__PURE__ */ e(B, {
508
489
  color: "var(--swui-collapsible-header-text-color)",
509
- className: d.headerText,
490
+ className: s.headerText,
510
491
  children: t
511
492
  })
512
493
  }), r && /* @__PURE__ */ e("div", {
513
- className: d.contentRight,
494
+ className: s.contentRight,
514
495
  children: r
515
- }), /* @__PURE__ */ e(z, {
516
- icon: a ? x : C,
517
- className: d.indicator,
518
- size: y,
496
+ }), /* @__PURE__ */ e(E, {
497
+ icon: a ? F : N,
498
+ className: s.indicator,
499
+ size: j,
519
500
  fixedWidth: !0
520
501
  })]
521
502
  }), /* @__PURE__ */ e(Ee, {
@@ -524,248 +505,239 @@ const W = ({
524
505
  enter: P
525
506
  },
526
507
  classNames: {
527
- enter: d.contentEnter,
528
- enterActive: d.contentEnterActive,
529
- exit: d.contentExit,
530
- exitActive: d.contentExitActive,
531
- exitDone: d.contentExitDone
508
+ enter: s.contentEnter,
509
+ enterActive: s.contentEnterActive,
510
+ exit: s.contentExit,
511
+ exitActive: s.contentExitActive,
512
+ exitDone: s.contentExitDone
532
513
  },
533
- mountOnEnter: B,
534
- unmountOnExit: _,
514
+ mountOnEnter: y,
515
+ unmountOnExit: f,
535
516
  children: /* @__PURE__ */ e("div", {
536
517
  role: "region",
537
- children: g != null ? g : /* @__PURE__ */ e(le, {
538
- children: /* @__PURE__ */ e(Z, {})
518
+ children: g != null ? g : /* @__PURE__ */ e(ie, {
519
+ children: /* @__PURE__ */ e(W, {})
539
520
  })
540
521
  })
541
522
  })]
542
523
  });
543
- }), Gn = ({
524
+ }), qn = ({
544
525
  value: n,
545
526
  onValueChange: t,
546
527
  onChange: o,
547
528
  indeterminate: r,
548
529
  checkboxDisabled: a,
549
530
  ...i
550
- }) => /* @__PURE__ */ e(mn, {
531
+ }) => /* @__PURE__ */ e(hn, {
551
532
  contentLeft: /* @__PURE__ */ e(re, {
552
533
  value: n,
553
534
  indeterminate: r,
554
535
  onValueChange: t,
555
536
  onChange: o,
556
537
  disabled: a,
557
- onClick: (s) => s.stopPropagation()
538
+ onClick: (u) => u.stopPropagation()
558
539
  }),
559
540
  ...i
560
- }), Jn = ({
541
+ }), Gn = ({
561
542
  contentLeft: n,
562
543
  contentRight: t,
563
544
  className: o,
564
545
  onClick: r,
565
546
  children: a,
566
547
  ...i
567
- }) => /* @__PURE__ */ c(V, {
548
+ }) => /* @__PURE__ */ c(U, {
568
549
  disableFocusHighlight: !0,
569
550
  disableOpacityOnClick: !0,
570
- className: h(d.content, o),
551
+ className: h(s.content, o),
571
552
  onClick: r,
572
553
  ...i,
573
554
  children: [n && /* @__PURE__ */ e("div", {
574
- className: d.contentLeft,
555
+ className: s.contentLeft,
575
556
  children: n
576
- }), a != null ? a : /* @__PURE__ */ e(Z, {}), t && /* @__PURE__ */ e("div", {
577
- className: d.contentRight,
557
+ }), a != null ? a : /* @__PURE__ */ e(W, {}), t && /* @__PURE__ */ e("div", {
558
+ className: s.contentRight,
578
559
  children: t
579
560
  })]
580
- }), Kn = ({
561
+ }), Jn = ({
581
562
  className: n,
582
563
  ...t
583
- }) => /* @__PURE__ */ e(le, {
584
- className: h(d.groupHeading, n),
564
+ }) => /* @__PURE__ */ e(ie, {
565
+ className: h(s.groupHeading, n),
585
566
  ...t
586
- }), gn = ({
567
+ }), pn = ({
587
568
  text: n = "Something unexpected happened."
588
569
  }) => /* @__PURE__ */ e(l, {
589
570
  justifyContent: "center",
590
571
  alignItems: "center",
591
- children: /* @__PURE__ */ e(ve, {
572
+ children: /* @__PURE__ */ e(_e, {
592
573
  variant: "error",
593
574
  headerText: n
594
575
  })
595
- }), Qn = (n) => /* @__PURE__ */ e(l, {
576
+ }), Kn = (n) => /* @__PURE__ */ e(l, {
596
577
  width: "100%",
597
578
  height: "100%",
598
579
  justifyContent: "center",
599
580
  alignItems: "center",
600
- children: /* @__PURE__ */ e(gn, {
581
+ children: /* @__PURE__ */ e(pn, {
601
582
  ...n
602
583
  })
603
- }), fn = ({
584
+ }), mn = ({
604
585
  text: n = "Loading..."
605
586
  }) => /* @__PURE__ */ c(l, {
606
587
  alignItems: "center",
607
- children: [/* @__PURE__ */ e(_e, {
588
+ children: [/* @__PURE__ */ e(ve, {
608
589
  size: "small"
609
- }), /* @__PURE__ */ e(f, {
590
+ }), /* @__PURE__ */ e(v, {
610
591
  num: 4
611
- }), /* @__PURE__ */ e(U, {
592
+ }), /* @__PURE__ */ e(D, {
612
593
  variant: "h4",
613
594
  children: n
614
595
  })]
615
- }), Xn = (n) => /* @__PURE__ */ e(l, {
596
+ }), Qn = (n) => /* @__PURE__ */ e(l, {
616
597
  width: "100%",
617
598
  height: "100%",
618
599
  justifyContent: "center",
619
600
  alignItems: "center",
620
- children: /* @__PURE__ */ e(fn, {
601
+ children: /* @__PURE__ */ e(mn, {
621
602
  ...n
622
603
  })
623
- }), Yn = ({
604
+ }), Xn = ({
624
605
  renderBreadCrumbs: n,
625
606
  renderPageHeading: t,
626
607
  renderTabs: o,
627
608
  children: r
628
609
  }) => /* @__PURE__ */ c(l, {
629
610
  shadow: "box",
630
- background: v("--lhds-color-ui-50"),
611
+ background: _("--lhds-color-ui-50"),
631
612
  children: [/* @__PURE__ */ c(l, {
632
613
  indent: 3,
633
- children: [n && /* @__PURE__ */ e(u, {
614
+ children: [n && /* @__PURE__ */ e(d, {
634
615
  spacing: 1.25,
635
616
  children: n()
636
617
  }), t == null ? void 0 : t(), o == null ? void 0 : o()]
637
618
  }), r && /* @__PURE__ */ c(m, {
638
- children: [!o && n && /* @__PURE__ */ e(f, {}), /* @__PURE__ */ e(te, {}), r]
619
+ children: [!o && n && /* @__PURE__ */ e(v, {}), /* @__PURE__ */ e(te, {}), r]
639
620
  })]
640
- }), et = (n) => /* @__PURE__ */ e(u, {
621
+ }), Yn = (n) => /* @__PURE__ */ e(d, {
641
622
  indent: 3,
642
623
  spacing: !0,
643
624
  ...n
644
- }), bn = {
625
+ }), gn = {
645
626
  compact: 1,
646
627
  standard: 1.5,
647
628
  relaxed: 2
648
- }, nt = ({
629
+ }, Zn = ({
649
630
  heading: n,
650
631
  headingLevel: t = "h1",
651
632
  variant: o = "standard",
652
633
  contentLeft: r,
653
634
  contentRight: a
654
- }) => /* @__PURE__ */ c(u, {
655
- spacing: bn[o],
635
+ }) => /* @__PURE__ */ c(d, {
636
+ spacing: gn[o],
656
637
  alignItems: "center",
657
638
  gap: 2,
658
- children: [/* @__PURE__ */ e(U, {
639
+ children: [/* @__PURE__ */ e(D, {
659
640
  variant: "h3",
660
641
  as: t,
661
642
  children: n
662
- }), /* @__PURE__ */ e(u, {
643
+ }), /* @__PURE__ */ e(d, {
663
644
  alignItems: "center",
664
645
  children: r
665
- }), /* @__PURE__ */ e(u, {
646
+ }), /* @__PURE__ */ e(d, {
666
647
  style: {
667
648
  marginLeft: "auto"
668
649
  },
669
650
  alignItems: "center",
670
651
  children: a
671
652
  })]
672
- }), vn = "_sidebarMenu_tg9i7_1", O = {
673
- sidebarMenu: vn
674
- }, _n = "_stenaFlag_108h7_1", Cn = {
675
- stenaFlag: _n
676
- }, Bn = ({
653
+ }), fn = "_sidebarMenu_tg9i7_1", O = {
654
+ sidebarMenu: fn
655
+ }, bn = "_stenaFlag_108h7_1", _n = {
656
+ stenaFlag: bn
657
+ }, vn = ({
677
658
  onClick: n
678
- }) => /* @__PURE__ */ c(u, {
659
+ }) => /* @__PURE__ */ c(d, {
679
660
  justifyContent: "space-between",
680
661
  alignItems: "center",
681
662
  flex: 1,
682
663
  indent: 1,
683
- children: [/* @__PURE__ */ e(k, {
684
- leftIcon: ne,
664
+ minHeight: "48px",
665
+ children: [/* @__PURE__ */ e(x, {
666
+ leftIcon: ee,
685
667
  onClick: n,
686
668
  variant: "danger"
687
669
  }), /* @__PURE__ */ e(Ce, {
688
- className: Cn.stenaFlag
670
+ className: _n.stenaFlag
689
671
  })]
690
- }), xn = ({
672
+ }), Cn = ({
691
673
  className: n,
692
674
  children: t,
693
675
  onCloseClick: o,
694
676
  collapsed: r = !1,
695
- hideCloseButton: a = !1,
696
- variant: i = "standard",
697
- ...s
698
- }) => {
699
- const p = ce(i);
700
- return /* @__PURE__ */ c(l, {
701
- indent: 1,
702
- className: h(O.sidebarMenu, r ? O.collapsed : null, n),
703
- style: {
704
- ["--swui-sidebar-menu-item-height"]: p,
705
- ["--swui-nav-bar-height"]: p
706
- },
707
- "data-collapsed": r || void 0,
708
- ...s,
709
- children: [/* @__PURE__ */ e(f, {
710
- num: 1.5
711
- }), !a && /* @__PURE__ */ c(m, {
712
- children: [/* @__PURE__ */ e(Bn, {
713
- onClick: o
714
- }), /* @__PURE__ */ e(f, {
715
- num: 1.5
716
- })]
717
- }), /* @__PURE__ */ e(l, {
718
- className: O.sidebarMenuContent,
719
- height: "100%",
720
- background: "var(--current-background-color)",
721
- children: /* @__PURE__ */ e(F, {
722
- flex: 1,
723
- gap: 1,
724
- children: t
725
- })
726
- })]
727
- });
728
- }, tt = ({
677
+ variant: a = "standard",
678
+ ...i
679
+ }) => /* @__PURE__ */ c(l, {
680
+ indent: 1,
681
+ className: h(O.sidebarMenu, r ? O.collapsed : null, n),
682
+ style: {
683
+ ["--swui-sidebar-menu-item-height"]: "40px"
684
+ },
685
+ "data-collapsed": r || void 0,
686
+ ...i,
687
+ children: [/* @__PURE__ */ e(v, {
688
+ num: 1
689
+ }), /* @__PURE__ */ e(vn, {
690
+ onClick: o
691
+ }), /* @__PURE__ */ e(l, {
692
+ className: O.sidebarMenuContent,
693
+ height: "100%",
694
+ background: "var(--current-background-color)",
695
+ children: /* @__PURE__ */ e(M, {
696
+ flex: 1,
697
+ gap: 1,
698
+ children: t
699
+ })
700
+ })]
701
+ }), et = ({
729
702
  variant: n,
730
703
  onClickMenuButton: t,
731
704
  children: o
732
- }) => /* @__PURE__ */ c(xn, {
705
+ }) => /* @__PURE__ */ c(Cn, {
733
706
  collapsed: !0,
734
707
  position: "fixed",
735
708
  left: 0,
736
709
  top: 0,
737
- hideCloseButton: !0,
738
710
  variant: n,
739
711
  children: [/* @__PURE__ */ e(ae, {
740
712
  onClick: t
741
713
  }), o]
742
714
  }), $ = (n) => /* @__PURE__ */ e(Be, {
743
715
  ...n
744
- }), se = ({
716
+ }), le = ({
745
717
  label: n
746
718
  }) => /* @__PURE__ */ c(l, {
747
719
  height: "32px",
748
720
  justifyContent: "center",
749
721
  indent: 1,
750
- children: [/* @__PURE__ */ e(f, {}), /* @__PURE__ */ e(w, {
722
+ children: [/* @__PURE__ */ e(v, {}), /* @__PURE__ */ e(B, {
751
723
  variant: "overline",
752
724
  size: "smaller",
753
725
  children: n
754
726
  })]
755
- }), de = (n) => /* @__PURE__ */ e(te, {
756
- color: v("--lhds-color-ui-400"),
727
+ }), se = (n) => /* @__PURE__ */ e(te, {
728
+ color: _("--lhds-color-ui-400"),
757
729
  ...n
758
- }), yn = ({
730
+ }), Bn = ({
759
731
  children: n,
760
732
  label: t,
761
733
  leftIcon: o,
762
734
  className: r,
763
735
  initialExpand: a = !1
764
736
  }) => {
765
- const [i, s] = ke(a);
737
+ const [i, u] = Se(a);
766
738
  return /* @__PURE__ */ e(xe, {
767
739
  label: t,
768
- onClick: () => s(!i),
740
+ onClick: () => u(!i),
769
741
  leftIcon: o,
770
742
  className: r,
771
743
  expandable: !0,
@@ -776,11 +748,11 @@ const W = ({
776
748
  }, ue = (n) => n.map((t, o) => {
777
749
  switch (t.type) {
778
750
  case "heading":
779
- return /* @__PURE__ */ e(se, {
751
+ return /* @__PURE__ */ e(le, {
780
752
  label: t.label
781
753
  }, o);
782
754
  case "separator":
783
- return /* @__PURE__ */ e(de, {}, o);
755
+ return /* @__PURE__ */ e(se, {}, o);
784
756
  case "link": {
785
757
  const {
786
758
  type: r,
@@ -791,7 +763,7 @@ const W = ({
791
763
  }, o);
792
764
  }
793
765
  case "grouped":
794
- return /* @__PURE__ */ e(yn, {
766
+ return /* @__PURE__ */ e(Bn, {
795
767
  leftIcon: t.leftIcon,
796
768
  label: t.label,
797
769
  initialExpand: !0,
@@ -800,24 +772,24 @@ const W = ({
800
772
  default:
801
773
  return oe(t);
802
774
  }
803
- }), ot = (n, {
775
+ }), nt = (n, {
804
776
  popupMinWidth: t
805
777
  }) => n.map((o, r) => {
806
778
  switch (o.type) {
807
779
  case "heading":
808
780
  return null;
809
781
  case "separator":
810
- return /* @__PURE__ */ e(de, {}, r);
782
+ return /* @__PURE__ */ e(se, {}, r);
811
783
  case "link": {
812
784
  const {
813
785
  type: a,
814
786
  label: i,
815
- ...s
787
+ ...u
816
788
  } = o;
817
789
  return /* @__PURE__ */ e($, {
818
790
  title: i,
819
791
  label: i,
820
- ...s
792
+ ...u
821
793
  }, r);
822
794
  }
823
795
  case "grouped":
@@ -833,7 +805,7 @@ const W = ({
833
805
  content: /* @__PURE__ */ c(l, {
834
806
  minWidth: t,
835
807
  background: "var(--lhds-color-blue-500)",
836
- children: [/* @__PURE__ */ e(se, {
808
+ children: [/* @__PURE__ */ e(le, {
837
809
  label: o.label
838
810
  }), ue(o.items)]
839
811
  }),
@@ -847,31 +819,31 @@ const W = ({
847
819
  default:
848
820
  return oe(o);
849
821
  }
850
- }), Nn = `1px solid ${v("--lhds-color-orange-400")}`, rt = ({
822
+ }), xn = `1px solid ${_("--lhds-color-orange-400")}`, tt = ({
851
823
  numItemsSelected: n,
852
824
  label: t,
853
825
  afterLabelContent: o,
854
826
  rightContent: r
855
- }) => /* @__PURE__ */ c(u, {
827
+ }) => /* @__PURE__ */ c(d, {
856
828
  indent: 3,
857
829
  spacing: !0,
858
830
  minHeight: "56px",
859
831
  justifyContent: "space-between",
860
832
  alignItems: "center",
861
- borderTop: Nn,
862
- background: v("--lhds-color-orange-50"),
863
- children: [/* @__PURE__ */ c(u, {
833
+ borderTop: xn,
834
+ background: _("--lhds-color-orange-50"),
835
+ children: [/* @__PURE__ */ c(d, {
864
836
  alignItems: "center",
865
837
  children: [n != null || t != null ? /* @__PURE__ */ e(m, {
866
838
  children: n != null ? /* @__PURE__ */ c(m, {
867
- children: [/* @__PURE__ */ e(w, {
839
+ children: [/* @__PURE__ */ e(B, {
868
840
  variant: "bold",
869
841
  children: n
870
- }), /* @__PURE__ */ e(f, {}), /* @__PURE__ */ c(w, {
842
+ }), /* @__PURE__ */ e(v, {}), /* @__PURE__ */ c(B, {
871
843
  children: ["item", n === 1 ? "" : "s", " selected"]
872
844
  })]
873
845
  }) : t != null ? /* @__PURE__ */ e(m, {
874
- children: typeof t == "string" ? /* @__PURE__ */ e(w, {
846
+ children: typeof t == "string" ? /* @__PURE__ */ e(B, {
875
847
  children: t
876
848
  }) : t
877
849
  }) : null
@@ -887,39 +859,39 @@ const W = ({
887
859
  export {
888
860
  je as ActionMenuFlatButton,
889
861
  An as ActionMenuPrimaryButton,
890
- Pn as ActionMenuSecondaryButton,
891
- Tn as CheckboxMenu,
892
- mn as Collapsible,
893
- Jn as CollapsibleClickableContent,
894
- le as CollapsibleContent,
895
- Z as CollapsibleEmptyContent,
896
- Kn as CollapsibleGroupHeading,
897
- Gn as CollapsibleWithCheckbox,
898
- gn as ErrorPanel,
899
- Qn as ErrorScreen,
900
- fn as LoadingPanel,
901
- Xn as LoadingScreen,
902
- On as NavBar,
903
- De as NavBarButton,
904
- $n as NavBarHeading,
905
- Un as NavBarNotificationButton,
906
- Dn as NavBarPopoverButton,
907
- Vn as NavBarSearchField,
908
- Wn as NavBarUserButton,
909
- Zn as Notification,
910
- Yn as PageHeader,
911
- et as PageHeaderRow,
912
- nt as PageHeading,
913
- rt as SelectedItemsActionsPanel,
914
- xn as SidebarMenu,
915
- yn as SidebarMenuCollapsible,
916
- se as SidebarMenuHeading,
862
+ Hn as ActionMenuSecondaryButton,
863
+ Pn as CheckboxMenu,
864
+ hn as Collapsible,
865
+ Gn as CollapsibleClickableContent,
866
+ ie as CollapsibleContent,
867
+ W as CollapsibleEmptyContent,
868
+ Jn as CollapsibleGroupHeading,
869
+ qn as CollapsibleWithCheckbox,
870
+ pn as ErrorPanel,
871
+ Kn as ErrorScreen,
872
+ mn as LoadingPanel,
873
+ Qn as LoadingScreen,
874
+ Tn as NavBar,
875
+ $e as NavBarButton,
876
+ On as NavBarHeading,
877
+ Ln as NavBarNotificationButton,
878
+ $n as NavBarPopoverButton,
879
+ Dn as NavBarSearchField,
880
+ Un as NavBarUserButton,
881
+ Vn as Notification,
882
+ Xn as PageHeader,
883
+ Yn as PageHeaderRow,
884
+ Zn as PageHeading,
885
+ tt as SelectedItemsActionsPanel,
886
+ Cn as SidebarMenu,
887
+ Bn as SidebarMenuCollapsible,
888
+ le as SidebarMenuHeading,
917
889
  $ as SidebarMenuLink,
918
- de as SidebarMenuSeparator,
919
- tt as SidebarRailMenu,
920
- qn as Toast,
921
- pn as mapCSSTime,
890
+ se as SidebarMenuSeparator,
891
+ et as SidebarRailMenu,
892
+ Wn as Toast,
893
+ dn as mapCSSTime,
922
894
  ue as renderItemsExpanded,
923
- ot as renderItemsInRail
895
+ nt as renderItemsInRail
924
896
  };
925
897
  //# sourceMappingURL=index.es.js.map