@stenajs-webui/panels 25.0.0 → 25.1.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,11 +1,11 @@
1
1
  import { jsx as e, Fragment as z, jsxs as i } from "react/jsx-runtime";
2
- import { ActionMenu as re, ActionMenuContext as Ce, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, FlatButtonLink as Be, BaseButton as we, stenaBellFilled as ye, TextInputButton as Ie, stenaTimes as _e, stenaUserCircle as Se, MenuButton as D, Icon as K, stenaMail as ke, Card as Re, CardBody as Me, CircledIcon as q, stenaTripFerryXl as Ne, ScreenSpinner as Pe, CloseButton as Fe, StenaFlag as ze, stenaAngleLeftDouble as ae, stenaPin as je, IconMenuButton as V, IconMenuButtonLink as Le, MenuButtonLink as Ae, Spinner as ce, Tag as Te, ShimmerBox as N, stenaTimesThick as $e, stenaAngleRight as se, stenaAngleLeft as de, stenaSearchPlus as Oe, stenaSearchMinus as qe } from "@stenajs-webui/elements";
2
+ import { ActionMenu as re, ActionMenuContext as ve, stenaAngleDown as oe, PrimaryButton as ie, SecondaryButton as R, FlatButton as O, stenaHamburger as le, FlatButtonLink as Be, BaseButton as ye, stenaBellFilled as we, TextInputButton as Ie, stenaTimes as _e, stenaUserCircle as Se, MenuButton as D, Icon as K, stenaMail as ke, Card as Re, CardBody as Me, CircledIcon as q, stenaTripFerryXl as Ne, ScreenSpinner as Pe, CloseButton as Fe, StenaFlag as ze, stenaAngleLeftDouble as ae, stenaPin as je, IconMenuButton as V, IconMenuButtonLink as Le, MenuButtonLink as Ae, Spinner as ce, Tag as $e, ShimmerBox as N, stenaTimesThick as Te, stenaAngleRight as se, stenaAngleLeft as de, stenaSearchPlus as Oe, stenaSearchMinus as qe } from "@stenajs-webui/elements";
3
3
  import * as Ee from "react";
4
- import { useRef as Z, useMemo as j, forwardRef as E, createContext as He, useContext as We, useState as T, useCallback as J, useEffect as Ue } from "react";
5
- import { useBoolean as ue, Column as u, Row as c, Indent as w, Heading as P, Box as d, Text as x, Space as B, getDataProps as L, SeparatorLine as Ge, pluralFormatter as De, selectPluralRule as Ke, Spacing as Ve, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as he, BlockKeyboardEvents as Xe } from "@stenajs-webui/core";
4
+ import { useRef as Z, useMemo as j, forwardRef as E, createContext as He, useContext as We, useState as $, useCallback as J, useEffect as Ue } from "react";
5
+ import { useBoolean as ue, Column as u, Row as c, Indent as y, Heading as P, Box as d, Text as C, Space as B, getDataProps as L, SeparatorLine as Ge, pluralFormatter as De, selectPluralRule as Ke, Spacing as Ve, isEmptyFragment as Ze, useAccessibleFontSizeContext as Qe, exhaustSwitchCaseElseThrow as he, BlockKeyboardEvents as Xe } from "@stenajs-webui/core";
6
6
  import { ControlledPopover as pe, Popover as me, Tooltip as ge } from "@stenajs-webui/tooltip";
7
7
  import { Checkbox as be, TextInput as Je } from "@stenajs-webui/forms";
8
- import y from "classnames";
8
+ import w from "classnames";
9
9
  import { cssColor as p } from "@stenajs-webui/theme";
10
10
  import { useMediaQuery as M } from "react-responsive";
11
11
  import fe from "yet-another-react-lightbox";
@@ -25,10 +25,10 @@ import './index.css';const Q = ({
25
25
  buttonRef: g,
26
26
  appendTo: b,
27
27
  zIndex: f,
28
- disableTrapFocus: v = !1,
28
+ disableTrapFocus: x = !1,
29
29
  ...I
30
30
  }) => {
31
- const [S, k, C, _] = ue(!1), m = Z(null), H = g ?? m, W = j(() => ({ open: k, close: C }), [k, C]), ve = (U) => {
31
+ const [S, k, v, _] = ue(!1), m = Z(null), H = g ?? m, W = j(() => ({ open: k, close: v }), [k, v]), xe = (U) => {
32
32
  s?.(U), _();
33
33
  };
34
34
  return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
@@ -40,14 +40,14 @@ import './index.css';const Q = ({
40
40
  rightIcon: h ? void 0 : o,
41
41
  ...I,
42
42
  ref: H,
43
- onClick: ve,
43
+ onClick: xe,
44
44
  ...U
45
45
  }
46
46
  ),
47
47
  hideArrow: !0,
48
48
  disablePadding: !0,
49
49
  open: S,
50
- onRequestClose: C,
50
+ onRequestClose: v,
51
51
  placement: t,
52
52
  appendTo: b,
53
53
  zIndex: f,
@@ -56,13 +56,13 @@ import './index.css';const Q = ({
56
56
  {
57
57
  width: l,
58
58
  top: a,
59
- trapFocus: !v,
60
- children: /* @__PURE__ */ e(Ce.Provider, { value: W, children: n(C) })
59
+ trapFocus: !x,
60
+ children: /* @__PURE__ */ e(ve.Provider, { value: W, children: n(v) })
61
61
  }
62
62
  )
63
63
  }
64
64
  ) });
65
- }, mt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), gt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), rn = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), on = "1px solid var(--lhds-color-ui-300)", bt = ({
65
+ }, ft = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), Ct = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), rn = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), on = "1px solid var(--lhds-color-ui-300)", xt = ({
66
66
  renderMenu: n,
67
67
  ...t
68
68
  }) => /* @__PURE__ */ e(
@@ -79,7 +79,7 @@ import './index.css';const Q = ({
79
79
  borderRadius: "4px",
80
80
  children: [
81
81
  /* @__PURE__ */ e(be, { ...t }),
82
- /* @__PURE__ */ e(w, { num: 0.5 }),
82
+ /* @__PURE__ */ e(y, { num: 0.5 }),
83
83
  /* @__PURE__ */ e(O, { size: "small", leftIcon: oe, ...r })
84
84
  ]
85
85
  }
@@ -101,7 +101,7 @@ import './index.css';const Q = ({
101
101
  className: n,
102
102
  onClick: t
103
103
  }
104
- ), ft = ({
104
+ ), vt = ({
105
105
  left: n,
106
106
  className: t,
107
107
  showMenuButton: r = !1,
@@ -115,7 +115,7 @@ import './index.css';const Q = ({
115
115
  c,
116
116
  {
117
117
  justifyContent: "space-between",
118
- className: y(an.navBar, t),
118
+ className: w(an.navBar, t),
119
119
  children: [
120
120
  /* @__PURE__ */ i(
121
121
  c,
@@ -125,15 +125,15 @@ import './index.css';const Q = ({
125
125
  alignItems: "center",
126
126
  children: [
127
127
  r && /* @__PURE__ */ i(c, { width: "86px", alignItems: "center", children: [
128
- /* @__PURE__ */ e(w, {}),
128
+ /* @__PURE__ */ e(y, {}),
129
129
  /* @__PURE__ */ e(cn, { onClick: s })
130
130
  ] }),
131
131
  n && /* @__PURE__ */ i(z, { children: [
132
132
  n,
133
- /* @__PURE__ */ e(w, { num: 2 })
133
+ /* @__PURE__ */ e(y, { num: 2 })
134
134
  ] }),
135
135
  o && /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: Ee.Children.map(o, (g, b) => /* @__PURE__ */ i(z, { children: [
136
- b > 0 && /* @__PURE__ */ e(w, {}),
136
+ b > 0 && /* @__PURE__ */ e(y, {}),
137
137
  g
138
138
  ] })) }) })
139
139
  ]
@@ -142,7 +142,7 @@ import './index.css';const Q = ({
142
142
  a && /* @__PURE__ */ e(c, { justifyContent: "center", alignItems: "center", children: a }),
143
143
  /* @__PURE__ */ i(c, { justifyContent: "flex-end", alignItems: "center", flex: h, children: [
144
144
  l,
145
- /* @__PURE__ */ e(w, { num: 2 })
145
+ /* @__PURE__ */ e(y, { num: 2 })
146
146
  ] })
147
147
  ]
148
148
  }
@@ -157,7 +157,7 @@ import './index.css';const Q = ({
157
157
  {
158
158
  ...r,
159
159
  ref: o,
160
- className: y(
160
+ className: w(
161
161
  Y.navBarButton,
162
162
  n && Y.selected,
163
163
  t
@@ -168,14 +168,14 @@ import './index.css';const Q = ({
168
168
  ), hn = "_navBarLink_1u1b2_1", pn = "_selected_1u1b2_14", ee = {
169
169
  navBarLink: hn,
170
170
  selected: pn
171
- }, xt = E(
171
+ }, Bt = E(
172
172
  function({ selected: t, className: r, ...o }, l) {
173
173
  return /* @__PURE__ */ e(
174
174
  Be,
175
175
  {
176
176
  ...o,
177
177
  ref: l,
178
- className: y(
178
+ className: w(
179
179
  ee.navBarLink,
180
180
  t && ee.selected,
181
181
  r
@@ -183,7 +183,7 @@ import './index.css';const Q = ({
183
183
  }
184
184
  );
185
185
  }
186
- ), vt = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), Ct = ({
186
+ ), yt = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), wt = ({
187
187
  content: n,
188
188
  children: t,
189
189
  appendTo: r,
@@ -209,39 +209,39 @@ import './index.css';const Q = ({
209
209
  navBarNotificationButton: mn,
210
210
  unread: gn,
211
211
  icon: bn
212
- }, Bt = E(function({
212
+ }, It = E(function({
213
213
  count: n,
214
214
  unread: t = !1,
215
215
  className: r,
216
216
  labelClassName: o,
217
217
  iconClassName: l,
218
- icon: a = ye,
218
+ icon: a = we,
219
219
  ...s
220
220
  }, h) {
221
221
  const g = n > 1;
222
222
  return /* @__PURE__ */ e(
223
- we,
223
+ ye,
224
224
  {
225
225
  ...s,
226
226
  ref: h,
227
227
  leftIcon: a,
228
- className: y(
228
+ className: w(
229
229
  F.navBarNotificationButton,
230
230
  t && F.unread,
231
231
  g && F.hasCount,
232
232
  r
233
233
  ),
234
234
  label: g ? String(n) : void 0,
235
- labelClassName: y(o, F.label),
236
- iconClassName: y(l, F.icon)
235
+ labelClassName: w(o, F.label),
236
+ iconClassName: w(l, F.icon)
237
237
  }
238
238
  );
239
- }), fn = "_navBarSearchFieldInput_1rp8g_1", xn = "_navBarSearchFieldWrapper_1rp8g_12", vn = "_withButton_1rp8g_24", Cn = "_clearButton_1rp8g_33", A = {
239
+ }), fn = "_navBarSearchFieldInput_1rp8g_1", Cn = "_navBarSearchFieldWrapper_1rp8g_12", xn = "_withButton_1rp8g_24", vn = "_clearButton_1rp8g_33", A = {
240
240
  navBarSearchFieldInput: fn,
241
- navBarSearchFieldWrapper: xn,
242
- withButton: vn,
243
- clearButton: Cn
244
- }, wt = ({
241
+ navBarSearchFieldWrapper: Cn,
242
+ withButton: xn,
243
+ clearButton: vn
244
+ }, _t = ({
245
245
  placeholder: n = "Search",
246
246
  className: t,
247
247
  wrapperClassName: r,
@@ -252,12 +252,12 @@ import './index.css';const Q = ({
252
252
  }) => /* @__PURE__ */ e(
253
253
  Je,
254
254
  {
255
- wrapperClassName: y(
255
+ wrapperClassName: w(
256
256
  A.navBarSearchFieldWrapper,
257
257
  o ? A.withButton : void 0,
258
258
  r
259
259
  ),
260
- className: y(A.navBarSearchFieldInput, t),
260
+ className: w(A.navBarSearchFieldInput, t),
261
261
  placeholder: n,
262
262
  value: a,
263
263
  buttonRight: a && o ? /* @__PURE__ */ e(
@@ -271,9 +271,9 @@ import './index.css';const Q = ({
271
271
  ) : void 0,
272
272
  ...s
273
273
  }
274
- ), Bn = "_navBarUserButton_10f9z_1", wn = {
274
+ ), Bn = "_navBarUserButton_10f9z_1", yn = {
275
275
  navBarUserButton: Bn
276
- }, yt = ({
276
+ }, St = ({
277
277
  className: n,
278
278
  username: t,
279
279
  initials: r,
@@ -284,14 +284,14 @@ import './index.css';const Q = ({
284
284
  rn,
285
285
  {
286
286
  ...a,
287
- className: y(wn.navBarUserButton, n),
287
+ className: w(yn.navBarUserButton, n),
288
288
  leftIcon: t != null ? o : void 0,
289
289
  label: r ?? t,
290
290
  forceRound: r != null,
291
291
  responsiveIconOnly: l,
292
292
  disableArrow: !0
293
293
  }
294
- ), yn = E(
294
+ ), wn = E(
295
295
  ({ contentLeft: n, contentRight: t, collapsed: r = !1, ...o }, l) => /* @__PURE__ */ e(
296
296
  D,
297
297
  {
@@ -304,9 +304,9 @@ import './index.css';const Q = ({
304
304
  ...o
305
305
  }
306
306
  )
307
- ), It = ({
307
+ ), kt = ({
308
308
  children: n
309
- }) => /* @__PURE__ */ e(u, { gap: 1, children: n }), _t = ({
309
+ }) => /* @__PURE__ */ e(u, { gap: 1, children: n }), Rt = ({
310
310
  value: n,
311
311
  onValueChange: t,
312
312
  onChange: r,
@@ -314,7 +314,7 @@ import './index.css';const Q = ({
314
314
  checkboxDisabled: l,
315
315
  ...a
316
316
  }) => /* @__PURE__ */ e(
317
- yn,
317
+ wn,
318
318
  {
319
319
  contentLeft: /* @__PURE__ */ e(
320
320
  be,
@@ -331,10 +331,10 @@ import './index.css';const Q = ({
331
331
  }
332
332
  ), In = "_sidebarMenuCollapsibleGroupBox_ikek9_1", _n = {
333
333
  sidebarMenuCollapsibleGroupBox: In
334
- }, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: _n.sidebarMenuCollapsibleGroupBox, children: n }), St = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n }) }), kt = ({ text: n = "No content" }) => /* @__PURE__ */ i(u, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
334
+ }, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: _n.sidebarMenuCollapsibleGroupBox, children: n }), Mt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n }) }), Nt = ({ text: n = "No content" }) => /* @__PURE__ */ i(u, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
335
335
  /* @__PURE__ */ e(K, { icon: ke, color: p("--lhds-color-ui-500") }),
336
336
  /* @__PURE__ */ e(B, {}),
337
- /* @__PURE__ */ e(x, { size: "small", color: p("--lhds-color-ui-500"), children: n })
337
+ /* @__PURE__ */ e(C, { size: "small", color: p("--lhds-color-ui-500"), children: n })
338
338
  ] }), kn = ({
339
339
  text: n,
340
340
  heading: t,
@@ -351,14 +351,14 @@ import './index.css';const Q = ({
351
351
  /* @__PURE__ */ e(q, { icon: l, size: "xl" })
352
352
  ] }),
353
353
  t && /* @__PURE__ */ e(P, { as: a, children: t }),
354
- h && /* @__PURE__ */ e(x, { textAlign: "center", children: h }),
354
+ h && /* @__PURE__ */ e(C, { textAlign: "center", children: h }),
355
355
  r,
356
356
  o && /* @__PURE__ */ i(d, { children: [
357
357
  /* @__PURE__ */ e(B, { num: 2 }),
358
358
  /* @__PURE__ */ e(d, { gap: 2, children: o })
359
359
  ] })
360
360
  ] }) }) });
361
- }, Rt = (n) => /* @__PURE__ */ e(
361
+ }, Pt = (n) => /* @__PURE__ */ e(
362
362
  d,
363
363
  {
364
364
  width: "100%",
@@ -377,7 +377,7 @@ import './index.css';const Q = ({
377
377
  /* @__PURE__ */ e(B, { num: 4 }),
378
378
  /* @__PURE__ */ e(P, { variant: "h4", children: n })
379
379
  ] })
380
- ] }), Mt = (n) => /* @__PURE__ */ e(
380
+ ] }), Ft = (n) => /* @__PURE__ */ e(
381
381
  d,
382
382
  {
383
383
  width: "100%",
@@ -387,7 +387,7 @@ import './index.css';const Q = ({
387
387
  alignItems: "center",
388
388
  children: /* @__PURE__ */ e(Rn, { ...n })
389
389
  }
390
- ), Nt = ({
390
+ ), zt = ({
391
391
  renderBreadCrumbs: n,
392
392
  renderPageHeading: t,
393
393
  renderTabs: r,
@@ -400,7 +400,7 @@ import './index.css';const Q = ({
400
400
  r?.()
401
401
  ] }),
402
402
  o
403
- ] }), Pt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Ft = ({
403
+ ] }), jt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Lt = ({
404
404
  icon: n,
405
405
  heading: t,
406
406
  headingLevel: r = "h2",
@@ -416,7 +416,7 @@ import './index.css';const Q = ({
416
416
  ] }), Mn = "_selectionRow_eqiow_1", Nn = "_iconColumn_eqiow_10", ne = {
417
417
  selectionRow: Mn,
418
418
  iconColumn: Nn
419
- }, zt = ({
419
+ }, At = ({
420
420
  icon: n,
421
421
  heading: t,
422
422
  description: r,
@@ -437,8 +437,8 @@ import './index.css';const Q = ({
437
437
  }
438
438
  ),
439
439
  /* @__PURE__ */ e("label", { htmlFor: l, children: /* @__PURE__ */ i(u, { gap: 0.5, children: [
440
- /* @__PURE__ */ e(x, { variant: "bold", children: t }),
441
- typeof r == "string" ? /* @__PURE__ */ e(x, { color: p("--silver-dark"), children: r }) : r
440
+ /* @__PURE__ */ e(C, { variant: "bold", children: t }),
441
+ typeof r == "string" ? /* @__PURE__ */ e(C, { color: p("--silver-dark"), children: r }) : r
442
442
  ] }) })
443
443
  ] }),
444
444
  /* @__PURE__ */ e(c, { flex: 1, justifyContent: "flex-end", children: o })
@@ -464,11 +464,11 @@ import './index.css';const Q = ({
464
464
  ]
465
465
  }
466
466
  )
467
- ] }), Tn = ({
467
+ ] }), $n = ({
468
468
  isPinned: n,
469
469
  onClick: t,
470
470
  label: r
471
- }) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae : je }), jt = ({
471
+ }) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae : je }), $t = ({
472
472
  className: n,
473
473
  children: t,
474
474
  onCloseClick: r,
@@ -477,7 +477,7 @@ import './index.css';const Q = ({
477
477
  bottomItems: a,
478
478
  isPinned: s,
479
479
  ...h
480
- }) => /* @__PURE__ */ i(d, { ...h, className: y(G.sidebarMenu, n), children: [
480
+ }) => /* @__PURE__ */ i(d, { ...h, className: w(G.sidebarMenu, n), children: [
481
481
  /* @__PURE__ */ e(An, { onClick: r }),
482
482
  /* @__PURE__ */ e(d, { className: G.scrollContainer, children: /* @__PURE__ */ i(
483
483
  u,
@@ -492,7 +492,7 @@ import './index.css';const Q = ({
492
492
  (a || o) && /* @__PURE__ */ i(u, { gap: 1, children: [
493
493
  a,
494
494
  o && /* @__PURE__ */ e(
495
- Tn,
495
+ $n,
496
496
  {
497
497
  isPinned: s,
498
498
  onClick: l
@@ -503,10 +503,10 @@ import './index.css';const Q = ({
503
503
  ]
504
504
  }
505
505
  ) })
506
- ] }), $ = He(!1), X = () => We($), $n = ({
506
+ ] }), T = He(!1), X = () => We(T), Tn = ({
507
507
  label: n,
508
508
  ...t
509
- }) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), Lt = ({
509
+ }) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), Tt = ({
510
510
  closeButtonVisible: n,
511
511
  onClickCloseButton: t,
512
512
  onClickMenuButton: r,
@@ -528,11 +528,11 @@ import './index.css';const Q = ({
528
528
  children: [
529
529
  /* @__PURE__ */ e(V, { onClick: r, icon: le }),
530
530
  /* @__PURE__ */ i(u, { justifyContent: "space-between", flex: 1, gap: 1, children: [
531
- /* @__PURE__ */ e(u, { gap: 1, children: /* @__PURE__ */ e($.Provider, { value: !0, children: o }) }),
532
- /* @__PURE__ */ e(u, { gap: 1, children: (l || n) && /* @__PURE__ */ i($.Provider, { value: !0, children: [
531
+ /* @__PURE__ */ e(u, { gap: 1, children: /* @__PURE__ */ e(T.Provider, { value: !0, children: o }) }),
532
+ /* @__PURE__ */ e(u, { gap: 1, children: (l || n) && /* @__PURE__ */ i(T.Provider, { value: !0, children: [
533
533
  l,
534
534
  n && /* @__PURE__ */ e(
535
- $n,
535
+ Tn,
536
536
  {
537
537
  icon: ae,
538
538
  label: a,
@@ -547,12 +547,12 @@ import './index.css';const Q = ({
547
547
  label: n
548
548
  }) => X() ? null : /* @__PURE__ */ i(d, { height: "32px", justifyContent: "center", indent: 1, children: [
549
549
  /* @__PURE__ */ e(B, {}),
550
- /* @__PURE__ */ e(x, { variant: "overline", size: "smaller", children: n })
550
+ /* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n })
551
551
  ] }), qn = ({
552
552
  label: n,
553
553
  leftIcon: t,
554
554
  ...r
555
- }) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...r }) }), At = (n) => X() ? /* @__PURE__ */ e(qn, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), En = ({
555
+ }) => t == null ? null : /* @__PURE__ */ e(ge, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...r }) }), Ot = (n) => X() ? /* @__PURE__ */ e(qn, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), En = ({
556
556
  children: n,
557
557
  label: t,
558
558
  icon: r,
@@ -572,21 +572,21 @@ import './index.css';const Q = ({
572
572
  spacing: 1,
573
573
  indent: 1,
574
574
  gap: 2,
575
- children: /* @__PURE__ */ i($.Provider, { value: !1, children: [
575
+ children: /* @__PURE__ */ i(T.Provider, { value: !1, children: [
576
576
  /* @__PURE__ */ e(On, { label: t }),
577
577
  n
578
578
  ] })
579
579
  }
580
580
  )
581
581
  }
582
- ), Tt = ({
582
+ ), qt = ({
583
583
  children: n,
584
584
  label: t,
585
585
  leftIcon: r,
586
586
  className: o,
587
587
  initialExpand: l = !1
588
588
  }) => {
589
- const [a, s] = T(l);
589
+ const [a, s] = $(l);
590
590
  return X() ? r == null ? null : /* @__PURE__ */ e(En, { label: t, icon: r, children: n }) : /* @__PURE__ */ e(
591
591
  D,
592
592
  {
@@ -600,13 +600,13 @@ import './index.css';const Q = ({
600
600
  children: /* @__PURE__ */ e(Sn, { children: n })
601
601
  }
602
602
  );
603
- }, $t = (n) => /* @__PURE__ */ e(
603
+ }, Et = (n) => /* @__PURE__ */ e(
604
604
  Ge,
605
605
  {
606
606
  color: p("--lhds-color-ui-400"),
607
607
  ...n
608
608
  }
609
- ), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Ot = ({
609
+ ), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Ht = ({
610
610
  numItemsSelected: n,
611
611
  label: t,
612
612
  selectedLabel: r = {
@@ -636,16 +636,16 @@ import './index.css';const Q = ({
636
636
  borderRadius: "var(--swui-border-radius)",
637
637
  children: [
638
638
  /* @__PURE__ */ i(c, { alignItems: "center", gap: 2, children: [
639
- n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(x, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(x, { children: t }) : t : null }) : null,
639
+ n != null || t != null ? /* @__PURE__ */ e(c, { alignItems: "center", children: n != null ? /* @__PURE__ */ e(C, { children: s }) : t != null ? typeof t == "string" ? /* @__PURE__ */ e(C, { children: t }) : t : null }) : null,
640
640
  o && /* @__PURE__ */ e(c, { children: o })
641
641
  ] }),
642
642
  /* @__PURE__ */ e(c, { gap: 2, children: l })
643
643
  ]
644
644
  }
645
645
  );
646
- }, qt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Wn = "_productCard_19x6b_1", Un = {
646
+ }, Wt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Wn = "_productCard_19x6b_1", Un = {
647
647
  productCard: Wn
648
- }, Et = ({
648
+ }, Ut = ({
649
649
  renderSelectedProductCard: n,
650
650
  renderEditButton: t,
651
651
  children: r,
@@ -686,7 +686,7 @@ import './index.css';const Q = ({
686
686
  )
687
687
  ]
688
688
  }
689
- ), Gn = ({ children: n }) => /* @__PURE__ */ e(x, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Ht = ({
689
+ ), Gn = ({ children: n }) => /* @__PURE__ */ e(C, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Gt = ({
690
690
  description: n,
691
691
  subDescription: t,
692
692
  descriptionTags: r,
@@ -699,7 +699,7 @@ import './index.css';const Q = ({
699
699
  children: b,
700
700
  headingLevel: f
701
701
  }) => {
702
- const v = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !Ze(r);
702
+ const x = r == null ? !1 : Array.isArray(r) ? r.length > 0 : !Ze(r);
703
703
  return /* @__PURE__ */ i(u, { children: [
704
704
  g?.(),
705
705
  /* @__PURE__ */ i(d, { gap: 2, spacing: 4, indent: 4, background: p("--moln"), children: [
@@ -719,27 +719,27 @@ import './index.css';const Q = ({
719
719
  ]
720
720
  }
721
721
  ),
722
- h && /* @__PURE__ */ e(x, { variant: "bold", color: p("--silver-dark"), children: h })
722
+ h && /* @__PURE__ */ e(C, { variant: "bold", color: p("--silver-dark"), children: h })
723
723
  ] }),
724
- (v || o) && /* @__PURE__ */ i(u, { children: [
724
+ (x || o) && /* @__PURE__ */ i(u, { children: [
725
725
  /* @__PURE__ */ i(c, { gap: 1, flexWrap: "wrap", children: [
726
726
  r,
727
- o && /* @__PURE__ */ e(Te, { label: o, variant: "passive" })
727
+ o && /* @__PURE__ */ e($e, { label: o, variant: "passive" })
728
728
  ] }),
729
729
  /* @__PURE__ */ e(B, {})
730
730
  ] }),
731
731
  n && /* @__PURE__ */ i(u, { children: [
732
- /* @__PURE__ */ e(x, { children: n }),
732
+ /* @__PURE__ */ e(C, { children: n }),
733
733
  /* @__PURE__ */ e(B, {})
734
734
  ] }),
735
735
  t && /* @__PURE__ */ i(u, { children: [
736
- /* @__PURE__ */ e(x, { children: t }),
736
+ /* @__PURE__ */ e(C, { children: t }),
737
737
  /* @__PURE__ */ e(B, {})
738
738
  ] }),
739
739
  b
740
740
  ] })
741
741
  ] });
742
- }, Wt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
742
+ }, Dt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
743
743
  n?.(),
744
744
  /* @__PURE__ */ i(d, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
745
745
  /* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
@@ -761,13 +761,13 @@ import './index.css';const Q = ({
761
761
  /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
762
762
  /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
763
763
  ] })
764
- ] }), Ut = ({
764
+ ] }), Kt = ({
765
765
  label: n,
766
766
  children: t
767
767
  }) => /* @__PURE__ */ i(d, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
768
768
  /* @__PURE__ */ e(P, { variant: "h3", as: "h2", color: "white", children: n }),
769
769
  t
770
- ] }), Gt = ({
770
+ ] }), Vt = ({
771
771
  title: n,
772
772
  variant: t = "normal",
773
773
  loading: r,
@@ -779,11 +779,11 @@ import './index.css';const Q = ({
779
779
  renderMandatoryTag: g,
780
780
  renderContentLeftOfButton: b,
781
781
  children: f,
782
- ...v
782
+ ...x
783
783
  }) => {
784
784
  const { fontSizeRatio: I } = Qe(), S = M({
785
785
  query: "(max-width: 460px)"
786
- }), C = M({
786
+ }), v = M({
787
787
  query: "(max-width: 360px)"
788
788
  }) || S && I > 1.2, _ = r ? "normal" : t, m = Kn(_), H = p("--moln"), W = Dn(_);
789
789
  return /* @__PURE__ */ i(
@@ -794,18 +794,18 @@ import './index.css';const Q = ({
794
794
  shadow: "box",
795
795
  overflow: "hidden",
796
796
  position: r ? "relative" : void 0,
797
- ...L(v),
797
+ ...L(x),
798
798
  children: [
799
799
  /* @__PURE__ */ i(c, { flex: 1, children: [
800
- !C && /* @__PURE__ */ i(d, { flex: 2, justifyContent: "center", background: m, children: [
800
+ !v && /* @__PURE__ */ i(d, { flex: 2, justifyContent: "center", background: m, children: [
801
801
  a?.(),
802
802
  o && /* @__PURE__ */ e(K, { color: W, icon: o, size: 73 })
803
803
  ] }),
804
804
  /* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: H, children: /* @__PURE__ */ i(u, { gap: 2, children: [
805
805
  n && /* @__PURE__ */ i(c, { justifyContent: "space-between", children: [
806
806
  /* @__PURE__ */ i(c, { gap: 2, alignItems: "center", children: [
807
- C && l && /* @__PURE__ */ e(q, { icon: l, size: "medium" }),
808
- /* @__PURE__ */ e(x, { variant: "bold", size: "large", children: n })
807
+ v && l && /* @__PURE__ */ e(q, { icon: l, size: "medium" }),
808
+ /* @__PURE__ */ e(C, { variant: "bold", size: "large", children: n })
809
809
  ] }),
810
810
  _ == "normal" && h?.()
811
811
  ] }),
@@ -868,7 +868,18 @@ import './index.css';const Q = ({
868
868
  }
869
869
  }, Vn = "_productSummaryCardImage_1knc7_1", Zn = {
870
870
  productSummaryCardImage: Vn
871
- }, Dt = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Zn.productSummaryCardImage }), Kt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
871
+ }, Qn = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Zn.productSummaryCardImage }), Xn = "_productSummaryCardImageButton_1mznn_11", Jn = {
872
+ productSummaryCardImageButton: Xn
873
+ }, Zt = ({ onClick: n, ariaLabel: t, ...r }) => /* @__PURE__ */ e(
874
+ "button",
875
+ {
876
+ type: "button",
877
+ className: Jn.productSummaryCardImageButton,
878
+ "aria-label": t,
879
+ onClick: n,
880
+ children: /* @__PURE__ */ e(Qn, { ...r })
881
+ }
882
+ ), Qt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
872
883
  d,
873
884
  {
874
885
  borderRadius: "16px",
@@ -912,7 +923,7 @@ import './index.css';const Q = ({
912
923
  "tablet",
913
924
  "tablet-wide",
914
925
  "desktop"
915
- ], xe = () => {
926
+ ], Ce = () => {
916
927
  const n = M({
917
928
  query: "(max-width: 768px)"
918
929
  }), t = M({
@@ -923,15 +934,15 @@ import './index.css';const Q = ({
923
934
  query: "(max-width: 1160px)"
924
935
  });
925
936
  return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
926
- }, Qn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Vt = (n) => {
927
- const { deviceSize: t } = xe();
937
+ }, Yn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Xt = (n) => {
938
+ const { deviceSize: t } = Ce();
928
939
  return {
929
940
  visible: j(
930
- () => Qn(t, n),
941
+ () => Yn(t, n),
931
942
  [t, n]
932
943
  )
933
944
  };
934
- }, Xn = ({
945
+ }, et = ({
935
946
  isOpen: n,
936
947
  initialIndex: t,
937
948
  onUpdateIndex: r,
@@ -943,9 +954,9 @@ import './index.css';const Q = ({
943
954
  onRequestClose: g,
944
955
  images: b
945
956
  }) => {
946
- const f = Z(null), { deviceSize: v } = xe(), I = v !== "mobile", [S, k] = T(t ?? 0), C = ({ index: m }) => {
957
+ const f = Z(null), { deviceSize: x } = Ce(), I = x !== "mobile", [S, k] = $(t ?? 0), v = ({ index: m }) => {
947
958
  k(m), r?.(m);
948
- }, _ = j(() => b.map((m) => Jn(m)), [b]);
959
+ }, _ = j(() => b.map((m) => nt(m)), [b]);
949
960
  return /* @__PURE__ */ e(
950
961
  fe,
951
962
  {
@@ -954,7 +965,7 @@ import './index.css';const Q = ({
954
965
  index: S,
955
966
  plugins: [en, nn, tn],
956
967
  slides: _,
957
- on: { view: C },
968
+ on: { view: v },
958
969
  animation: { fade: 0 },
959
970
  controller: {
960
971
  closeOnPullDown: !0,
@@ -992,7 +1003,7 @@ import './index.css';const Q = ({
992
1003
  }
993
1004
  )
994
1005
  ] }),
995
- buttonPrev: () => b.length > 1 && I && /* @__PURE__ */ e(w, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
1006
+ buttonPrev: () => b.length > 1 && I && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
996
1007
  R,
997
1008
  {
998
1009
  "aria-label": o,
@@ -1001,7 +1012,7 @@ import './index.css';const Q = ({
1001
1012
  onClick: () => f.current?.prev()
1002
1013
  }
1003
1014
  ) }),
1004
- buttonNext: () => b.length > 1 && I && /* @__PURE__ */ e(w, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1015
+ buttonNext: () => b.length > 1 && I && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1005
1016
  R,
1006
1017
  {
1007
1018
  "aria-label": s,
@@ -1010,12 +1021,12 @@ import './index.css';const Q = ({
1010
1021
  onClick: () => f.current?.next()
1011
1022
  }
1012
1023
  ) }),
1013
- buttonClose: () => /* @__PURE__ */ e(w, { children: /* @__PURE__ */ e(
1024
+ buttonClose: () => /* @__PURE__ */ e(y, { children: /* @__PURE__ */ e(
1014
1025
  ie,
1015
1026
  {
1016
1027
  variant: "danger",
1017
1028
  "aria-label": h,
1018
- leftIcon: $e,
1029
+ leftIcon: Te,
1019
1030
  size: "large",
1020
1031
  onClick: () => f.current?.close()
1021
1032
  }
@@ -1023,14 +1034,14 @@ import './index.css';const Q = ({
1023
1034
  }
1024
1035
  }
1025
1036
  );
1026
- }, Jn = (n) => ({
1037
+ }, nt = (n) => ({
1027
1038
  src: n.url,
1028
1039
  width: n.width,
1029
1040
  height: n.height,
1030
1041
  alt: n.alt,
1031
1042
  title: n.title,
1032
1043
  description: n.description
1033
- }), Zt = ({
1044
+ }), Jt = ({
1034
1045
  images: n,
1035
1046
  initialIndex: t,
1036
1047
  altLabelPrevious: r,
@@ -1039,15 +1050,15 @@ import './index.css';const Q = ({
1039
1050
  altLabelNext: a,
1040
1051
  altLabelClose: s
1041
1052
  }) => {
1042
- const h = Z(null), [g, b] = T(!1), [f, v] = T(t ?? 0), I = J(() => {
1053
+ const h = Z(null), [g, b] = $(!1), [f, x] = $(t ?? 0), I = J(() => {
1043
1054
  b(!0);
1044
1055
  }, []), S = J(() => {
1045
1056
  b(!1);
1046
- }, []), k = ({ index: m }) => v(m);
1057
+ }, []), k = ({ index: m }) => x(m);
1047
1058
  Ue(() => {
1048
- v(t ?? 0);
1059
+ x(t ?? 0);
1049
1060
  }, [t]);
1050
- const C = j(() => n.map(Yn), [n]), _ = j(() => n.map(
1061
+ const v = j(() => n.map(tt), [n]), _ = j(() => n.map(
1051
1062
  (m) => m.fullscreenImage ? {
1052
1063
  ...m,
1053
1064
  url: m.fullscreenImage.url,
@@ -1061,7 +1072,7 @@ import './index.css';const Q = ({
1061
1072
  {
1062
1073
  controller: { ref: h },
1063
1074
  index: f,
1064
- slides: C,
1075
+ slides: v,
1065
1076
  plugins: [Ye],
1066
1077
  on: {
1067
1078
  view: k,
@@ -1073,7 +1084,7 @@ import './index.css';const Q = ({
1073
1084
  imageFit: "cover"
1074
1085
  },
1075
1086
  render: {
1076
- buttonPrev: () => n.length > 1 && /* @__PURE__ */ e(w, { className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
1087
+ buttonPrev: () => n.length > 1 && /* @__PURE__ */ e(y, { className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
1077
1088
  R,
1078
1089
  {
1079
1090
  "aria-label": r,
@@ -1081,7 +1092,7 @@ import './index.css';const Q = ({
1081
1092
  onClick: () => h.current?.prev()
1082
1093
  }
1083
1094
  ) }),
1084
- buttonNext: () => n.length > 1 && /* @__PURE__ */ e(w, { className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1095
+ buttonNext: () => n.length > 1 && /* @__PURE__ */ e(y, { className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1085
1096
  R,
1086
1097
  {
1087
1098
  "aria-label": a,
@@ -1106,12 +1117,12 @@ import './index.css';const Q = ({
1106
1117
  }
1107
1118
  ),
1108
1119
  g && /* @__PURE__ */ e(
1109
- Xn,
1120
+ et,
1110
1121
  {
1111
1122
  isOpen: !0,
1112
1123
  onRequestClose: S,
1113
1124
  initialIndex: f,
1114
- onUpdateIndex: v,
1125
+ onUpdateIndex: x,
1115
1126
  images: _,
1116
1127
  altLabelPrevious: r,
1117
1128
  altLabelNext: a,
@@ -1121,7 +1132,7 @@ import './index.css';const Q = ({
1121
1132
  }
1122
1133
  )
1123
1134
  ] });
1124
- }, Yn = (n) => ({
1135
+ }, tt = (n) => ({
1125
1136
  src: n.url,
1126
1137
  width: n.width,
1127
1138
  height: n.height,
@@ -1131,50 +1142,51 @@ import './index.css';const Q = ({
1131
1142
  });
1132
1143
  export {
1133
1144
  rn as ActionMenuFlatButton,
1134
- mt as ActionMenuPrimaryButton,
1135
- gt as ActionMenuSecondaryButton,
1136
- bt as CheckboxMenu,
1137
- yn as Collapsible,
1138
- kt as CollapsibleEmptyContent,
1139
- St as CollapsibleGroupHeading,
1140
- It as CollapsibleList,
1141
- _t as CollapsibleWithCheckbox,
1145
+ ft as ActionMenuPrimaryButton,
1146
+ Ct as ActionMenuSecondaryButton,
1147
+ xt as CheckboxMenu,
1148
+ wn as Collapsible,
1149
+ Nt as CollapsibleEmptyContent,
1150
+ Mt as CollapsibleGroupHeading,
1151
+ kt as CollapsibleList,
1152
+ Rt as CollapsibleWithCheckbox,
1142
1153
  kn as ErrorPanel,
1143
- Rt as ErrorScreen,
1144
- Xn as FullscreenImageCarousel,
1145
- Zt as ImageCarousel,
1154
+ Pt as ErrorScreen,
1155
+ et as FullscreenImageCarousel,
1156
+ Jt as ImageCarousel,
1146
1157
  Rn as LoadingPanel,
1147
- Mt as LoadingScreen,
1148
- ft as NavBar,
1158
+ Ft as LoadingScreen,
1159
+ vt as NavBar,
1149
1160
  un as NavBarButton,
1150
- vt as NavBarHeading,
1151
- xt as NavBarLink,
1152
- Bt as NavBarNotificationButton,
1153
- Ct as NavBarPopoverButton,
1154
- wt as NavBarSearchField,
1155
- yt as NavBarUserButton,
1156
- Nt as PageHeader,
1157
- Pt as PageHeaderRow,
1158
- Ft as PageHeading,
1159
- Et as ProductCard,
1160
- Ht as ProductCardContentItem,
1161
- Wt as ProductCardContentItemSkeletor,
1162
- Gt as ProductSummaryCard,
1163
- Dt as ProductSummaryCardImage,
1164
- Kt as ProductSummaryCardSkeletor,
1165
- qt as SelectedItemsActionsPadding,
1166
- Ot as SelectedItemsActionsPanel,
1167
- Ut as SelectedProductCard,
1168
- zt as SelectionRow,
1169
- jt as SidebarMenu,
1170
- Tt as SidebarMenuCollapsible,
1161
+ yt as NavBarHeading,
1162
+ Bt as NavBarLink,
1163
+ It as NavBarNotificationButton,
1164
+ wt as NavBarPopoverButton,
1165
+ _t as NavBarSearchField,
1166
+ St as NavBarUserButton,
1167
+ zt as PageHeader,
1168
+ jt as PageHeaderRow,
1169
+ Lt as PageHeading,
1170
+ Ut as ProductCard,
1171
+ Gt as ProductCardContentItem,
1172
+ Dt as ProductCardContentItemSkeletor,
1173
+ Vt as ProductSummaryCard,
1174
+ Qn as ProductSummaryCardImage,
1175
+ Zt as ProductSummaryCardImageButton,
1176
+ Qt as ProductSummaryCardSkeletor,
1177
+ Wt as SelectedItemsActionsPadding,
1178
+ Ht as SelectedItemsActionsPanel,
1179
+ Kt as SelectedProductCard,
1180
+ At as SelectionRow,
1181
+ $t as SidebarMenu,
1182
+ qt as SidebarMenuCollapsible,
1171
1183
  Sn as SidebarMenuCollapsibleGroupBox,
1172
1184
  On as SidebarMenuHeading,
1173
- At as SidebarMenuLink,
1174
- $t as SidebarMenuSeparator,
1175
- Lt as SidebarRailMenu,
1176
- Qn as isDeviceSameOrLarger,
1177
- xe as useDeviceSize,
1178
- Vt as useLayoutVisibility
1185
+ Ot as SidebarMenuLink,
1186
+ Et as SidebarMenuSeparator,
1187
+ Tt as SidebarRailMenu,
1188
+ Yn as isDeviceSameOrLarger,
1189
+ Ce as useDeviceSize,
1190
+ Xt as useLayoutVisibility
1179
1191
  };
1180
1192
  //# sourceMappingURL=index.es.js.map