@stenajs-webui/panels 19.0.0-next.20 → 19.0.0-next.22

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