@stenajs-webui/panels 22.4.0 → 22.4.2

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.
@@ -4,6 +4,6 @@ export interface ProductCardProps extends PropsWithChildren {
4
4
  renderSelectedProductCard?: () => ReactNode;
5
5
  renderEditButton?: () => ReactNode;
6
6
  loading?: boolean;
7
- border?: boolean;
7
+ shadow?: boolean;
8
8
  }
9
9
  export declare const ProductCard: React.FC<ProductCardProps>;
@@ -1,6 +1,8 @@
1
1
  import * as React from "react";
2
2
  import "./ImageCarousel.module.css";
3
3
  import "yet-another-react-lightbox/styles.css";
4
+ import "yet-another-react-lightbox/plugins/counter.css";
5
+ import "yet-another-react-lightbox/plugins/captions.css";
4
6
  export interface CarouselImage {
5
7
  url: string;
6
8
  alt: string;
package/dist/index.es.js CHANGED
@@ -15,6 +15,8 @@ import Ye from "yet-another-react-lightbox/plugins/captions";
15
15
  import en from "yet-another-react-lightbox/plugins/counter";
16
16
  import nn from "yet-another-react-lightbox/plugins/zoom";
17
17
  import "yet-another-react-lightbox/styles.css";
18
+ import "yet-another-react-lightbox/plugins/counter.css";
19
+ import "yet-another-react-lightbox/plugins/captions.css";
18
20
  const te = ({
19
21
  renderItems: n,
20
22
  placement: t = "bottom",
@@ -27,10 +29,10 @@ const te = ({
27
29
  buttonRef: g,
28
30
  appendTo: b,
29
31
  zIndex: C,
30
- disableTrapFocus: w = !1,
32
+ disableTrapFocus: B = !1,
31
33
  ...k
32
34
  }) => {
33
- const [S, B, _, j] = fe(!1), F = Q(null), P = g ?? F, O = U(() => ({ open: B, close: _ }), [B, _]), L = (A) => {
35
+ const [S, w, _, j] = fe(!1), F = Q(null), P = g ?? F, O = U(() => ({ open: w, close: _ }), [w, _]), L = (A) => {
34
36
  s == null || s(A), j();
35
37
  };
36
38
  return /* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
@@ -58,13 +60,13 @@ const te = ({
58
60
  {
59
61
  width: l,
60
62
  top: a,
61
- trapFocus: !w,
63
+ trapFocus: !B,
62
64
  children: /* @__PURE__ */ e(ke.Provider, { value: O, children: n(_) })
63
65
  }
64
66
  )
65
67
  }
66
68
  ) });
67
- }, xt = (n) => /* @__PURE__ */ e(te, { buttonComponent: pe, ...n }), vt = (n) => /* @__PURE__ */ e(te, { buttonComponent: I, ...n }), tn = (n) => /* @__PURE__ */ e(te, { buttonComponent: E, ...n }), rn = "1px solid var(--lhds-color-ui-300)", Ct = ({
69
+ }, Ct = (n) => /* @__PURE__ */ e(te, { buttonComponent: pe, ...n }), _t = (n) => /* @__PURE__ */ e(te, { buttonComponent: I, ...n }), tn = (n) => /* @__PURE__ */ e(te, { buttonComponent: E, ...n }), rn = "1px solid var(--lhds-color-ui-300)", yt = ({
68
70
  renderMenu: n,
69
71
  ...t
70
72
  }) => /* @__PURE__ */ e(
@@ -103,7 +105,7 @@ const te = ({
103
105
  className: n,
104
106
  onClick: t
105
107
  }
106
- ), _t = ({
108
+ ), wt = ({
107
109
  left: n,
108
110
  className: t,
109
111
  showMenuButton: i = !1,
@@ -167,7 +169,7 @@ const te = ({
167
169
  }
168
170
  );
169
171
  }
170
- ), yt = (n) => /* @__PURE__ */ e(z, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), Bt = ({
172
+ ), Bt = (n) => /* @__PURE__ */ e(z, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), kt = ({
171
173
  content: n,
172
174
  children: t,
173
175
  appendTo: i,
@@ -194,7 +196,7 @@ const te = ({
194
196
  unread: hn,
195
197
  icon: pn,
196
198
  shake: mn
197
- }, wt = ee(function({
199
+ }, It = ee(function({
198
200
  count: n,
199
201
  unread: t = !1,
200
202
  className: i,
@@ -226,7 +228,7 @@ const te = ({
226
228
  navBarSearchFieldWrapper: bn,
227
229
  withButton: fn,
228
230
  clearButton: xn
229
- }, kt = ({
231
+ }, St = ({
230
232
  placeholder: n = "Search",
231
233
  className: t,
232
234
  wrapperClassName: i,
@@ -258,7 +260,7 @@ const te = ({
258
260
  }
259
261
  ), vn = "_navBarUserButton_10f9z_1", Cn = {
260
262
  navBarUserButton: vn
261
- }, It = ({
263
+ }, Nt = ({
262
264
  className: n,
263
265
  username: t,
264
266
  initials: i,
@@ -279,10 +281,10 @@ const te = ({
279
281
  ), _n = "_unreadDot_l8bni_1", yn = "_dot_l8bni_4", se = {
280
282
  unreadDot: _n,
281
283
  dot: yn
282
- }, Bn = ({ children: n }) => /* @__PURE__ */ r("div", { className: se.unreadDot, children: [
284
+ }, wn = ({ children: n }) => /* @__PURE__ */ r("div", { className: se.unreadDot, children: [
283
285
  n,
284
286
  /* @__PURE__ */ e("div", { className: se.dot })
285
- ] }), Be = ({
287
+ ] }), we = ({
286
288
  text: n,
287
289
  timestamp: t,
288
290
  icon: i,
@@ -300,13 +302,13 @@ const te = ({
300
302
  size: "small",
301
303
  icon: i,
302
304
  "aria-label": o,
303
- backgroundColor: b || wn(u, g)
305
+ backgroundColor: b || Bn(u, g)
304
306
  }
305
307
  ) : void 0;
306
308
  return /* @__PURE__ */ r(c, { alignItems: "flex-start", indent: 2, spacing: !0, children: [
307
309
  /* @__PURE__ */ r(c, { spacing: !0, gap: 2, flex: 1, alignItems: "flex-start", children: [
308
310
  l && /* @__PURE__ */ e(d, { minHeight: 20, justifyContent: "center", children: l }),
309
- !l && C && (u ? /* @__PURE__ */ e(Bn, { children: C }) : C),
311
+ !l && C && (u ? /* @__PURE__ */ e(wn, { children: C }) : C),
310
312
  /* @__PURE__ */ r(d, { minHeight: 20, justifyContent: "center", flex: 1, gap: 0.5, children: [
311
313
  /* @__PURE__ */ e(f, { variant: "bold", children: n }),
312
314
  t && /* @__PURE__ */ e(
@@ -332,7 +334,7 @@ const te = ({
332
334
  }
333
335
  )
334
336
  ] });
335
- }, wn = (n, t) => {
337
+ }, Bn = (n, t) => {
336
338
  if (!(!n && t === "standard"))
337
339
  return "--lhds-color-ui-50";
338
340
  }, kn = "_notification_1hao0_1", In = "_body_1hao0_7", Sn = "_standard_1hao0_13", Nn = "_unread_1hao0_14", Mn = "_danger_1hao0_19", W = {
@@ -341,7 +343,7 @@ const te = ({
341
343
  standard: Sn,
342
344
  unread: Nn,
343
345
  danger: Mn
344
- }, St = ({
346
+ }, Mt = ({
345
347
  variant: n = "standard",
346
348
  children: t,
347
349
  unread: i,
@@ -355,13 +357,13 @@ const te = ({
355
357
  i && W.unread
356
358
  ),
357
359
  children: [
358
- /* @__PURE__ */ e(Be, { ...o, unread: i, variant: n }),
360
+ /* @__PURE__ */ e(we, { ...o, unread: i, variant: n }),
359
361
  t && /* @__PURE__ */ e(p, { className: W.body, children: t })
360
362
  ]
361
363
  }
362
364
  ), Rn = "_notificationList_1rkvu_1", zn = {
363
365
  notificationList: Rn
364
- }, Nt = ({
366
+ }, Rt = ({
365
367
  children: n
366
368
  }) => /* @__PURE__ */ r("div", { className: zn.notificationList, children: [
367
369
  n,
@@ -369,7 +371,7 @@ const te = ({
369
371
  ] }), jn = "_clickable_1ijxc_1", Fn = "_nonClickable_1ijxc_27", V = {
370
372
  clickable: jn,
371
373
  nonClickable: Fn
372
- }, Mt = ({
374
+ }, zt = ({
373
375
  onClick: n,
374
376
  onClickAriaLabel: t,
375
377
  children: i,
@@ -387,7 +389,7 @@ const te = ({
387
389
  role: "alert",
388
390
  position: "relative",
389
391
  children: [
390
- /* @__PURE__ */ e(d, { className: v({ [V.nonClickable]: n }), children: /* @__PURE__ */ e(Be, { ...a }) }),
392
+ /* @__PURE__ */ e(d, { className: v({ [V.nonClickable]: n }), children: /* @__PURE__ */ e(we, { ...a }) }),
391
393
  i && /* @__PURE__ */ r(d, { indent: 3, className: v({ [V.nonClickable]: n }), children: [
392
394
  i,
393
395
  /* @__PURE__ */ e(x, { num: 2 })
@@ -415,9 +417,9 @@ const te = ({
415
417
  ...o
416
418
  }
417
419
  )
418
- ), Rt = ({
420
+ ), jt = ({
419
421
  children: n
420
- }) => /* @__PURE__ */ e(p, { gap: 1, children: n }), zt = ({
422
+ }) => /* @__PURE__ */ e(p, { gap: 1, children: n }), Ft = ({
421
423
  value: n,
422
424
  onValueChange: t,
423
425
  onChange: i,
@@ -442,7 +444,7 @@ const te = ({
442
444
  }
443
445
  ), An = "_sidebarMenuCollapsibleGroupBox_ikek9_1", $n = {
444
446
  sidebarMenuCollapsibleGroupBox: An
445
- }, Ln = ({ children: n }) => /* @__PURE__ */ e("div", { className: $n.sidebarMenuCollapsibleGroupBox, children: n }), jt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n }) }), Ft = ({ text: n = "No content" }) => /* @__PURE__ */ r(p, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
447
+ }, Ln = ({ children: n }) => /* @__PURE__ */ e("div", { className: $n.sidebarMenuCollapsibleGroupBox, children: n }), Pt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(f, { variant: "overline", size: "smaller", children: n }) }), At = ({ text: n = "No content" }) => /* @__PURE__ */ r(p, { indent: !0, spacing: !0, flex: 1, alignItems: "center", children: [
446
448
  /* @__PURE__ */ e(X, { icon: ze, color: m("--lhds-color-ui-500") }),
447
449
  /* @__PURE__ */ e(x, {}),
448
450
  /* @__PURE__ */ e(f, { size: "small", color: m("--lhds-color-ui-500"), children: n })
@@ -469,7 +471,7 @@ const te = ({
469
471
  o
470
472
  ] })
471
473
  ] }) }) });
472
- }, Pt = (n) => /* @__PURE__ */ e(
474
+ }, $t = (n) => /* @__PURE__ */ e(
473
475
  d,
474
476
  {
475
477
  width: "100%",
@@ -484,7 +486,7 @@ const te = ({
484
486
  /* @__PURE__ */ e(J, { size: "small" }),
485
487
  /* @__PURE__ */ e(x, { num: 4 }),
486
488
  /* @__PURE__ */ e(z, { variant: "h4", children: n })
487
- ] }), At = (n) => /* @__PURE__ */ e(
489
+ ] }), Lt = (n) => /* @__PURE__ */ e(
488
490
  d,
489
491
  {
490
492
  width: "100%",
@@ -493,7 +495,7 @@ const te = ({
493
495
  alignItems: "center",
494
496
  children: /* @__PURE__ */ e(Wn, { ...n })
495
497
  }
496
- ), $t = ({
498
+ ), Dt = ({
497
499
  renderBreadCrumbs: n,
498
500
  renderPageHeading: t,
499
501
  renderTabs: i,
@@ -509,7 +511,7 @@ const te = ({
509
511
  i == null ? void 0 : i()
510
512
  ] }),
511
513
  o
512
- ] }), Lt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Dt = ({
514
+ ] }), Wt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Ht = ({
513
515
  icon: n,
514
516
  heading: t,
515
517
  headingLevel: i = "h2",
@@ -548,7 +550,7 @@ const te = ({
548
550
  isPinned: n,
549
551
  onClick: t,
550
552
  label: i
551
- }) => /* @__PURE__ */ e(T, { onClick: t, label: i ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? be : $e }), Wt = ({
553
+ }) => /* @__PURE__ */ e(T, { onClick: t, label: i ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? be : $e }), Ut = ({
552
554
  className: n,
553
555
  children: t,
554
556
  onCloseClick: i,
@@ -586,7 +588,7 @@ const te = ({
586
588
  ] }), q = Ge(!1), ie = () => Oe(q), Kn = ({
587
589
  label: n,
588
590
  ...t
589
- }) => /* @__PURE__ */ e(_e, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(Y, { ...t }) }), Ht = ({
591
+ }) => /* @__PURE__ */ e(_e, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(Y, { ...t }) }), qt = ({
590
592
  closeButtonVisible: n,
591
593
  onClickCloseButton: t,
592
594
  onClickMenuButton: i,
@@ -632,7 +634,7 @@ const te = ({
632
634
  label: n,
633
635
  leftIcon: t,
634
636
  ...i
635
- }) => t == null ? null : /* @__PURE__ */ e(_e, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...i }) }), Ut = (n) => ie() ? /* @__PURE__ */ e(Qn, { ...n }) : /* @__PURE__ */ e(De, { ...n }), Tn = ({
637
+ }) => t == null ? null : /* @__PURE__ */ e(_e, { label: n, placement: "right", children: /* @__PURE__ */ e(Le, { icon: t, ...i }) }), Et = (n) => ie() ? /* @__PURE__ */ e(Qn, { ...n }) : /* @__PURE__ */ e(De, { ...n }), Tn = ({
636
638
  children: n,
637
639
  label: t,
638
640
  icon: i,
@@ -659,7 +661,7 @@ const te = ({
659
661
  }
660
662
  )
661
663
  }
662
- ), qt = ({
664
+ ), Gt = ({
663
665
  children: n,
664
666
  label: t,
665
667
  leftIcon: i,
@@ -680,13 +682,13 @@ const te = ({
680
682
  children: /* @__PURE__ */ e(Ln, { children: n })
681
683
  }
682
684
  );
683
- }, Et = (n) => /* @__PURE__ */ e(
685
+ }, Ot = (n) => /* @__PURE__ */ e(
684
686
  Ve,
685
687
  {
686
688
  color: m("--lhds-color-ui-400"),
687
689
  ...n
688
690
  }
689
- ), Gt = ({ numItemsSelected: n, label: t, afterLabelContent: i, rightContent: o }) => /* @__PURE__ */ r(
691
+ ), Vt = ({ numItemsSelected: n, label: t, afterLabelContent: i, rightContent: o }) => /* @__PURE__ */ r(
690
692
  c,
691
693
  {
692
694
  indent: 3,
@@ -714,23 +716,21 @@ const te = ({
714
716
  /* @__PURE__ */ e(c, { gap: 2, children: o })
715
717
  ]
716
718
  }
717
- ), Ot = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Xn = "_productCard_19x6b_1", Jn = {
719
+ ), Kt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Xn = "_productCard_19x6b_1", Jn = {
718
720
  productCard: Xn
719
- }, Vt = ({
721
+ }, Zt = ({
720
722
  renderSelectedProductCard: n,
721
723
  renderEditButton: t,
722
724
  children: i,
723
725
  loading: o,
724
- border: l,
726
+ shadow: l,
725
727
  ...a
726
728
  }) => /* @__PURE__ */ r(
727
729
  p,
728
730
  {
729
731
  "data-comp": "ProductCard",
730
732
  className: Jn.productCard,
731
- borderWidth: 1,
732
- borderColor: l ? m("--silver-light") : void 0,
733
- borderStyle: l ? "solid" : void 0,
733
+ shadow: l ? "box" : void 0,
734
734
  background: m("--moln"),
735
735
  borderRadius: "24px",
736
736
  overflow: "hidden",
@@ -759,7 +759,7 @@ const te = ({
759
759
  )
760
760
  ]
761
761
  }
762
- ), Yn = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Kt = ({
762
+ ), Yn = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Qt = ({
763
763
  description: n,
764
764
  subDescription: t,
765
765
  descriptionTags: i,
@@ -772,7 +772,7 @@ const te = ({
772
772
  children: b,
773
773
  headingLevel: C
774
774
  }) => {
775
- const w = i == null ? !1 : Array.isArray(i) ? i.length > 0 : !Ze(i);
775
+ const B = i == null ? !1 : Array.isArray(i) ? i.length > 0 : !Ze(i);
776
776
  return /* @__PURE__ */ r(p, { children: [
777
777
  g == null ? void 0 : g(),
778
778
  /* @__PURE__ */ r(d, { gap: 2, spacing: 4, indent: 4, background: m("--moln"), children: [
@@ -794,7 +794,7 @@ const te = ({
794
794
  ),
795
795
  u && /* @__PURE__ */ e(f, { variant: "bold", color: m("--silver-dark"), children: u })
796
796
  ] }),
797
- (w || o) && /* @__PURE__ */ r(p, { children: [
797
+ (B || o) && /* @__PURE__ */ r(p, { children: [
798
798
  /* @__PURE__ */ r(c, { gap: 1, flexWrap: "wrap", children: [
799
799
  i,
800
800
  o && /* @__PURE__ */ e(We, { label: o, variant: "passive" })
@@ -812,7 +812,7 @@ const te = ({
812
812
  b
813
813
  ] })
814
814
  ] });
815
- }, Zt = ({ renderImage: n }) => /* @__PURE__ */ r(p, { children: [
815
+ }, Tt = ({ renderImage: n }) => /* @__PURE__ */ r(p, { children: [
816
816
  n == null ? void 0 : n(),
817
817
  /* @__PURE__ */ r(d, { gap: 3, spacing: 4, indent: 4, background: m("--moln"), children: [
818
818
  /* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
@@ -835,13 +835,13 @@ const te = ({
835
835
  /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(R, { width: "150px", height: "1.4rem", borderRadius: "8px" }) }),
836
836
  /* @__PURE__ */ e(x, {})
837
837
  ] })
838
- ] }), Qt = ({
838
+ ] }), Xt = ({
839
839
  label: n,
840
840
  children: t
841
841
  }) => /* @__PURE__ */ r(d, { background: m("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
842
842
  /* @__PURE__ */ e(z, { variant: "h3", as: "h2", color: "white", children: n }),
843
843
  t
844
- ] }), Tt = ({
844
+ ] }), Jt = ({
845
845
  title: n,
846
846
  variant: t = "normal",
847
847
  loading: i,
@@ -854,11 +854,11 @@ const te = ({
854
854
  children: b,
855
855
  ...C
856
856
  }) => {
857
- const { fontSizeRatio: w } = Qe(), k = N({
857
+ const { fontSizeRatio: B } = Qe(), k = N({
858
858
  query: "(max-width: 460px)"
859
- }), B = N({
859
+ }), w = N({
860
860
  query: "(max-width: 360px)"
861
- }) || k && w > 1.2, _ = i ? "normal" : t, j = nt(_), F = m("--moln"), P = et(_);
861
+ }) || k && B > 1.2, _ = i ? "normal" : t, j = nt(_), F = m("--moln"), P = et(_);
862
862
  return /* @__PURE__ */ r(
863
863
  d,
864
864
  {
@@ -870,11 +870,11 @@ const te = ({
870
870
  ...ne(C),
871
871
  children: [
872
872
  /* @__PURE__ */ r(c, { flex: 1, children: [
873
- !B && /* @__PURE__ */ e(d, { flex: 2, justifyContent: "center", background: j, children: o && /* @__PURE__ */ e(X, { color: P, icon: o, size: 73 }) }),
873
+ !w && /* @__PURE__ */ e(d, { flex: 2, justifyContent: "center", background: j, children: o && /* @__PURE__ */ e(X, { color: P, icon: o, size: 73 }) }),
874
874
  /* @__PURE__ */ e(d, { flex: 4, indent: 2, spacing: 2, background: F, children: /* @__PURE__ */ r(p, { gap: 2, children: [
875
875
  n && /* @__PURE__ */ r(c, { justifyContent: "space-between", children: [
876
876
  /* @__PURE__ */ r(c, { gap: 2, alignItems: "center", children: [
877
- B && l && /* @__PURE__ */ e(G, { icon: l, size: "medium" }),
877
+ w && l && /* @__PURE__ */ e(G, { icon: l, size: "medium" }),
878
878
  /* @__PURE__ */ e(f, { variant: "bold", size: "large", children: n })
879
879
  ] }),
880
880
  _ == "normal" && (s == null ? void 0 : s())
@@ -936,7 +936,7 @@ const te = ({
936
936
  default:
937
937
  xe(n);
938
938
  }
939
- }, Xt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
939
+ }, Yt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
940
940
  d,
941
941
  {
942
942
  borderRadius: "16px",
@@ -980,7 +980,7 @@ const te = ({
980
980
  "tablet",
981
981
  "tablet-wide",
982
982
  "desktop"
983
- ], we = () => {
983
+ ], Be = () => {
984
984
  const n = N({
985
985
  query: "(max-width: 768px)"
986
986
  }), t = N({
@@ -991,15 +991,15 @@ const te = ({
991
991
  query: "(max-width: 1160px)"
992
992
  });
993
993
  return { deviceSize: t ? "small-mobile" : n ? "mobile" : i ? "tablet" : o ? "tablet-wide" : "desktop" };
994
- }, tt = (n, t) => n === t || de.indexOf(n) > de.indexOf(t), Jt = (n) => {
995
- const { deviceSize: t } = we();
994
+ }, tt = (n, t) => n === t || de.indexOf(n) > de.indexOf(t), ei = (n) => {
995
+ const { deviceSize: t } = Be();
996
996
  return {
997
997
  visible: U(
998
998
  () => tt(t, n),
999
999
  [t, n]
1000
1000
  )
1001
1001
  };
1002
- }, Yt = ({
1002
+ }, ni = ({
1003
1003
  images: n,
1004
1004
  altLabelPrevious: t,
1005
1005
  altLabelZoomIn: i,
@@ -1007,11 +1007,11 @@ const te = ({
1007
1007
  altLabelNext: l,
1008
1008
  altLabelClose: a
1009
1009
  }) => {
1010
- const s = Q(null), u = Q(null), { deviceSize: g } = we(), b = g !== "mobile", [C, w] = H(!1), [k, S] = H(0), [B, _] = H(0), j = le(() => {
1011
- _(k), w(!0);
1010
+ const s = Q(null), u = Q(null), { deviceSize: g } = Be(), b = g !== "mobile", [C, B] = H(!1), [k, S] = H(0), [w, _] = H(0), j = le(() => {
1011
+ _(k), B(!0);
1012
1012
  }, [k]), F = le(() => {
1013
- S(B), w(!1);
1014
- }, [B]), P = ({ index: h }) => S(h), O = ({ index: h }) => _(h), L = U(() => n.map(Z), [n]), A = U(
1013
+ S(w), B(!1);
1014
+ }, [w]), P = ({ index: h }) => S(h), O = ({ index: h }) => _(h), L = U(() => n.map(Z), [n]), A = U(
1015
1015
  () => n.map(
1016
1016
  (h) => h.fullscreenImage ? Z({
1017
1017
  ...h.fullscreenImage,
@@ -1082,7 +1082,7 @@ const te = ({
1082
1082
  {
1083
1083
  open: C,
1084
1084
  close: F,
1085
- index: B,
1085
+ index: w,
1086
1086
  plugins: [nn, en, Ye],
1087
1087
  slides: A ?? L,
1088
1088
  on: { view: O },
@@ -1174,52 +1174,52 @@ const te = ({
1174
1174
  });
1175
1175
  export {
1176
1176
  tn as ActionMenuFlatButton,
1177
- xt as ActionMenuPrimaryButton,
1178
- vt as ActionMenuSecondaryButton,
1179
- Ct as CheckboxMenu,
1177
+ Ct as ActionMenuPrimaryButton,
1178
+ _t as ActionMenuSecondaryButton,
1179
+ yt as CheckboxMenu,
1180
1180
  Pn as Collapsible,
1181
- Ft as CollapsibleEmptyContent,
1182
- jt as CollapsibleGroupHeading,
1183
- Rt as CollapsibleList,
1184
- zt as CollapsibleWithCheckbox,
1181
+ At as CollapsibleEmptyContent,
1182
+ Pt as CollapsibleGroupHeading,
1183
+ jt as CollapsibleList,
1184
+ Ft as CollapsibleWithCheckbox,
1185
1185
  Dn as ErrorPanel,
1186
- Pt as ErrorScreen,
1187
- Yt as ImageCarousel,
1186
+ $t as ErrorScreen,
1187
+ ni as ImageCarousel,
1188
1188
  Wn as LoadingPanel,
1189
- At as LoadingScreen,
1190
- _t as NavBar,
1189
+ Lt as LoadingScreen,
1190
+ wt as NavBar,
1191
1191
  dn as NavBarButton,
1192
- yt as NavBarHeading,
1193
- wt as NavBarNotificationButton,
1194
- Bt as NavBarPopoverButton,
1195
- kt as NavBarSearchField,
1196
- It as NavBarUserButton,
1197
- St as Notification,
1198
- Be as NotificationHeader,
1199
- Nt as NotificationList,
1200
- $t as PageHeader,
1201
- Lt as PageHeaderRow,
1202
- Dt as PageHeading,
1203
- Vt as ProductCard,
1204
- Kt as ProductCardContentItem,
1205
- Zt as ProductCardContentItemSkeletor,
1206
- Tt as ProductSummaryCard,
1207
- Xt as ProductSummaryCardSkeletor,
1208
- Ot as SelectedItemsActionsPadding,
1209
- Gt as SelectedItemsActionsPanel,
1210
- Qt as SelectedProductCard,
1211
- Wt as SidebarMenu,
1212
- qt as SidebarMenuCollapsible,
1192
+ Bt as NavBarHeading,
1193
+ It as NavBarNotificationButton,
1194
+ kt as NavBarPopoverButton,
1195
+ St as NavBarSearchField,
1196
+ Nt as NavBarUserButton,
1197
+ Mt as Notification,
1198
+ we as NotificationHeader,
1199
+ Rt as NotificationList,
1200
+ Dt as PageHeader,
1201
+ Wt as PageHeaderRow,
1202
+ Ht as PageHeading,
1203
+ Zt as ProductCard,
1204
+ Qt as ProductCardContentItem,
1205
+ Tt as ProductCardContentItemSkeletor,
1206
+ Jt as ProductSummaryCard,
1207
+ Yt as ProductSummaryCardSkeletor,
1208
+ Kt as SelectedItemsActionsPadding,
1209
+ Vt as SelectedItemsActionsPanel,
1210
+ Xt as SelectedProductCard,
1211
+ Ut as SidebarMenu,
1212
+ Gt as SidebarMenuCollapsible,
1213
1213
  Ln as SidebarMenuCollapsibleGroupBox,
1214
1214
  Zn as SidebarMenuHeading,
1215
- Ut as SidebarMenuLink,
1216
- Et as SidebarMenuSeparator,
1217
- Ht as SidebarRailMenu,
1218
- Mt as Toast,
1219
- Bn as UnreadDot,
1220
- wn as getIconBgColorFromVariant,
1215
+ Et as SidebarMenuLink,
1216
+ Ot as SidebarMenuSeparator,
1217
+ qt as SidebarRailMenu,
1218
+ zt as Toast,
1219
+ wn as UnreadDot,
1220
+ Bn as getIconBgColorFromVariant,
1221
1221
  tt as isDeviceSameOrLarger,
1222
- we as useDeviceSize,
1223
- Jt as useLayoutVisibility
1222
+ Be as useDeviceSize,
1223
+ ei as useLayoutVisibility
1224
1224
  };
1225
1225
  //# sourceMappingURL=index.es.js.map