@stenajs-webui/panels 20.2.0 → 20.3.1

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