@stenajs-webui/panels 19.0.0-next.13 → 19.0.0-next.15

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