@stenajs-webui/panels 19.0.0-next.5 → 19.0.0-next.7

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