@stenajs-webui/panels 19.0.0-next.65 → 19.0.0-next.67

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