@stenajs-webui/panels 25.3.0 → 25.3.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.
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 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";
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 _e, TextInputButton as we, stenaTimes as Ie, 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
4
  import { useRef as Z, useMemo as j, forwardRef as E, useContext as He, createContext as We, useState as $, useCallback as J, useEffect as Ue } from "react";
5
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 w from "classnames";
8
+ import _ 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";
@@ -26,10 +26,10 @@ import './index.css';const Q = ({
26
26
  appendTo: b,
27
27
  zIndex: f,
28
28
  disableTrapFocus: x = !1,
29
- ...I
29
+ ...w
30
30
  }) => {
31
- const [S, k, v, _] = ue(!1), m = Z(null), H = g ?? m, W = j(() => ({ open: k, close: v }), [k, v]), xe = (U) => {
32
- s?.(U), _();
31
+ const [S, k, v, I] = ue(!1), m = Z(null), H = g ?? m, W = j(() => ({ open: k, close: v }), [k, v]), xe = (U) => {
32
+ s?.(U), I();
33
33
  };
34
34
  return /* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(
35
35
  pe,
@@ -38,7 +38,7 @@ import './index.css';const Q = ({
38
38
  r,
39
39
  {
40
40
  rightIcon: h ? void 0 : o,
41
- ...I,
41
+ ...w,
42
42
  ref: H,
43
43
  onClick: xe,
44
44
  ...U
@@ -62,7 +62,7 @@ import './index.css';const Q = ({
62
62
  )
63
63
  }
64
64
  ) });
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 = ({
65
+ }, Bt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), yt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: R, ...n }), rn = (n) => /* @__PURE__ */ e(Q, { buttonComponent: O, ...n }), on = "1px solid var(--lhds-color-ui-300)", _t = ({
66
66
  renderMenu: n,
67
67
  ...t
68
68
  }) => /* @__PURE__ */ e(
@@ -101,7 +101,7 @@ import './index.css';const Q = ({
101
101
  className: n,
102
102
  onClick: t
103
103
  }
104
- ), vt = ({
104
+ ), wt = ({
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: w(an.navBar, t),
118
+ className: _(an.navBar, t),
119
119
  children: [
120
120
  /* @__PURE__ */ i(
121
121
  c,
@@ -157,7 +157,7 @@ import './index.css';const Q = ({
157
157
  {
158
158
  ...r,
159
159
  ref: o,
160
- className: w(
160
+ className: _(
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
- }, Bt = E(
171
+ }, It = 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: w(
178
+ className: _(
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
- ), yt = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), wt = ({
186
+ ), St = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), kt = ({
187
187
  content: n,
188
188
  children: t,
189
189
  appendTo: r,
@@ -209,13 +209,13 @@ import './index.css';const Q = ({
209
209
  navBarNotificationButton: mn,
210
210
  unread: gn,
211
211
  icon: bn
212
- }, It = E(function({
212
+ }, Rt = 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 = we,
218
+ icon: a = _e,
219
219
  ...s
220
220
  }, h) {
221
221
  const g = n > 1;
@@ -225,15 +225,15 @@ import './index.css';const Q = ({
225
225
  ...s,
226
226
  ref: h,
227
227
  leftIcon: a,
228
- className: w(
228
+ className: _(
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: w(o, F.label),
236
- iconClassName: w(l, F.icon)
235
+ labelClassName: _(o, F.label),
236
+ iconClassName: _(l, F.icon)
237
237
  }
238
238
  );
239
239
  }), fn = "_navBarSearchFieldInput_1rp8g_1", Cn = "_navBarSearchFieldWrapper_1rp8g_12", xn = "_withButton_1rp8g_24", vn = "_clearButton_1rp8g_33", A = {
@@ -241,7 +241,7 @@ import './index.css';const Q = ({
241
241
  navBarSearchFieldWrapper: Cn,
242
242
  withButton: xn,
243
243
  clearButton: vn
244
- }, _t = ({
244
+ }, Mt = ({
245
245
  placeholder: n = "Search",
246
246
  className: t,
247
247
  wrapperClassName: r,
@@ -252,19 +252,19 @@ import './index.css';const Q = ({
252
252
  }) => /* @__PURE__ */ e(
253
253
  Je,
254
254
  {
255
- wrapperClassName: w(
255
+ wrapperClassName: _(
256
256
  A.navBarSearchFieldWrapper,
257
257
  o ? A.withButton : void 0,
258
258
  r
259
259
  ),
260
- className: w(A.navBarSearchFieldInput, t),
260
+ className: _(A.navBarSearchFieldInput, t),
261
261
  placeholder: n,
262
262
  value: a,
263
263
  buttonRight: a && o ? /* @__PURE__ */ e(
264
- Ie,
264
+ we,
265
265
  {
266
266
  className: A.clearButton,
267
- icon: _e,
267
+ icon: Ie,
268
268
  variant: "error",
269
269
  onClick: l
270
270
  }
@@ -273,7 +273,7 @@ import './index.css';const Q = ({
273
273
  }
274
274
  ), Bn = "_navBarUserButton_10f9z_1", yn = {
275
275
  navBarUserButton: Bn
276
- }, St = ({
276
+ }, Nt = ({
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: w(yn.navBarUserButton, n),
287
+ className: _(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
- ), wn = E(
294
+ ), _n = 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
- ), kt = ({
307
+ ), Pt = ({
308
308
  children: n
309
- }) => /* @__PURE__ */ e(u, { gap: 1, children: n }), Rt = ({
309
+ }) => /* @__PURE__ */ e(u, { gap: 1, children: n }), Ft = ({
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
- wn,
317
+ _n,
318
318
  {
319
319
  contentLeft: /* @__PURE__ */ e(
320
320
  be,
@@ -329,9 +329,9 @@ import './index.css';const Q = ({
329
329
  ),
330
330
  ...a
331
331
  }
332
- ), In = "_sidebarMenuCollapsibleGroupBox_ikek9_1", _n = {
333
- sidebarMenuCollapsibleGroupBox: In
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: [
332
+ ), wn = "_sidebarMenuCollapsibleGroupBox_ikek9_1", In = {
333
+ sidebarMenuCollapsibleGroupBox: wn
334
+ }, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: In.sidebarMenuCollapsibleGroupBox, children: n }), zt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n }) }), jt = ({ 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
337
  /* @__PURE__ */ e(C, { size: "small", color: p("--lhds-color-ui-500"), children: n })
@@ -358,7 +358,7 @@ import './index.css';const Q = ({
358
358
  /* @__PURE__ */ e(d, { gap: 2, children: o })
359
359
  ] })
360
360
  ] }) }) });
361
- }, Pt = (n) => /* @__PURE__ */ e(
361
+ }, Lt = (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
- ] }), Ft = (n) => /* @__PURE__ */ e(
380
+ ] }), At = (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
- ), zt = ({
390
+ ), $t = ({
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
- ] }), jt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Lt = ({
403
+ ] }), Tt = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), Ot = ({
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
- }, At = ({
419
+ }, qt = ({
420
420
  icon: n,
421
421
  heading: t,
422
422
  description: r,
@@ -468,7 +468,7 @@ import './index.css';const Q = ({
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 }), $t = ({
471
+ }) => /* @__PURE__ */ e(D, { onClick: t, label: r ?? (n ? "Unpin menu" : "Pin menu"), leftIcon: n ? ae : je }), Et = ({
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: w(G.sidebarMenu, n), children: [
480
+ }) => /* @__PURE__ */ i(d, { ...h, className: _(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,
@@ -506,7 +506,7 @@ import './index.css';const Q = ({
506
506
  ] }), T = We(!1), X = () => He(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 }) }), Tt = ({
509
+ }) => /* @__PURE__ */ e(ge, { label: n, placement: "right", appendTo: document.body, children: /* @__PURE__ */ e(V, { ...t }) }), Ht = ({
510
510
  closeButtonVisible: n,
511
511
  onClickCloseButton: t,
512
512
  onClickMenuButton: r,
@@ -552,7 +552,7 @@ import './index.css';const Q = ({
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 }) }), Ot = (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 }) }), Wt = (n) => X() ? /* @__PURE__ */ e(qn, { ...n }) : /* @__PURE__ */ e(Ae, { ...n }), En = ({
556
556
  children: n,
557
557
  label: t,
558
558
  icon: r,
@@ -579,7 +579,7 @@ import './index.css';const Q = ({
579
579
  }
580
580
  )
581
581
  }
582
- ), qt = ({
582
+ ), Ut = ({
583
583
  children: n,
584
584
  label: t,
585
585
  leftIcon: r,
@@ -600,13 +600,13 @@ import './index.css';const Q = ({
600
600
  children: /* @__PURE__ */ e(Sn, { children: n })
601
601
  }
602
602
  );
603
- }, Et = (n) => /* @__PURE__ */ e(
603
+ }, Gt = (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)), Ht = ({
609
+ ), Hn = (n, t, r) => n == null ? "" : (De(Ke(r))(n, t) ?? "").replace("{ITEMS}", String(n)), Dt = ({
610
610
  numItemsSelected: n,
611
611
  label: t,
612
612
  selectedLabel: r = {
@@ -643,9 +643,9 @@ import './index.css';const Q = ({
643
643
  ]
644
644
  }
645
645
  );
646
- }, Wt = ({ children: n }) => /* @__PURE__ */ e(c, { spacing: 0.5, indent: 0.5, flex: 1, children: n }), Wn = "_productCard_19x6b_1", Un = {
646
+ }, Kt = ({ 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
- }, Ut = ({
648
+ }, Vt = ({
649
649
  renderSelectedProductCard: n,
650
650
  renderEditButton: t,
651
651
  children: r,
@@ -686,7 +686,9 @@ import './index.css';const Q = ({
686
686
  )
687
687
  ]
688
688
  }
689
- ), Gn = ({ children: n }) => /* @__PURE__ */ e(C, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Gt = ({
689
+ ), Gn = ({ children: n }) => /* @__PURE__ */ e(C, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Dn = "_price_181ks_15", Kn = {
690
+ price: Dn
691
+ }, Zt = ({
690
692
  description: n,
691
693
  subDescription: t,
692
694
  descriptionTags: r,
@@ -712,7 +714,7 @@ import './index.css';const Q = ({
712
714
  gap: 2,
713
715
  children: [
714
716
  /* @__PURE__ */ e(P, { variant: "h3", as: f, children: s }),
715
- /* @__PURE__ */ i(c, { gap: 2, children: [
717
+ /* @__PURE__ */ i(c, { gap: 2, className: Kn.price, children: [
716
718
  l && /* @__PURE__ */ e(u, { justifyContent: "center", children: l }),
717
719
  /* @__PURE__ */ e(Gn, { children: a })
718
720
  ] })
@@ -739,7 +741,7 @@ import './index.css';const Q = ({
739
741
  b
740
742
  ] })
741
743
  ] });
742
- }, Dt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
744
+ }, Qt = ({ renderImage: n }) => /* @__PURE__ */ i(u, { children: [
743
745
  n?.(),
744
746
  /* @__PURE__ */ i(d, { gap: 3, spacing: 4, indent: 4, background: p("--moln"), children: [
745
747
  /* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
@@ -761,13 +763,15 @@ import './index.css';const Q = ({
761
763
  /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "180px", height: "2.0rem", borderRadius: "8px" }) }),
762
764
  /* @__PURE__ */ e(u, { children: /* @__PURE__ */ e(N, { width: "150px", height: "1.4rem", borderRadius: "8px" }) })
763
765
  ] })
764
- ] }), Kt = ({
766
+ ] }), Xt = ({
765
767
  label: n,
766
768
  children: t
767
769
  }) => /* @__PURE__ */ i(d, { background: p("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
768
770
  /* @__PURE__ */ e(P, { variant: "h3", as: "h2", color: "white", children: n }),
769
771
  t
770
- ] }), Vt = ({
772
+ ] }), Vn = "_content_1m4r7_10", Zn = {
773
+ content: Vn
774
+ }, Jt = ({
771
775
  title: n,
772
776
  variant: t = "normal",
773
777
  loading: r,
@@ -781,11 +785,11 @@ import './index.css';const Q = ({
781
785
  children: f,
782
786
  ...x
783
787
  }) => {
784
- const { fontSizeRatio: I } = Qe(), S = M({
788
+ const { fontSizeRatio: w } = Qe(), S = M({
785
789
  query: "(max-width: 460px)"
786
790
  }), v = M({
787
791
  query: "(max-width: 360px)"
788
- }) || S && I > 1.2, _ = r ? "normal" : t, m = Kn(_), H = p("--moln"), W = Dn(_);
792
+ }) || S && w > 1.2, I = r ? "normal" : t, m = Xn(I), H = p("--moln"), W = Qn(I);
789
793
  return /* @__PURE__ */ i(
790
794
  d,
791
795
  {
@@ -807,9 +811,16 @@ import './index.css';const Q = ({
807
811
  v && l && /* @__PURE__ */ e(q, { icon: l, size: "medium" }),
808
812
  /* @__PURE__ */ e(C, { variant: "bold", size: "large", children: n })
809
813
  ] }),
810
- _ == "normal" && h?.()
814
+ I == "normal" && h?.()
811
815
  ] }),
812
- /* @__PURE__ */ e(u, { style: { opacity: r ? 0 : void 0 }, children: f }),
816
+ /* @__PURE__ */ e(
817
+ u,
818
+ {
819
+ className: Zn.content,
820
+ style: { opacity: r ? 0 : void 0 },
821
+ children: f
822
+ }
823
+ ),
813
824
  g && /* @__PURE__ */ e(c, { style: { opacity: r ? 0 : void 0 }, children: g() }),
814
825
  /* @__PURE__ */ e("div", {}),
815
826
  /* @__PURE__ */ i(
@@ -844,7 +855,7 @@ import './index.css';const Q = ({
844
855
  ]
845
856
  }
846
857
  );
847
- }, Dn = (n) => {
858
+ }, Qn = (n) => {
848
859
  switch (n) {
849
860
  case "edit":
850
861
  return p("--moln");
@@ -855,7 +866,7 @@ import './index.css';const Q = ({
855
866
  default:
856
867
  he(n);
857
868
  }
858
- }, Kn = (n) => {
869
+ }, Xn = (n) => {
859
870
  switch (n) {
860
871
  case "edit":
861
872
  return p("--mussla");
@@ -866,20 +877,20 @@ import './index.css';const Q = ({
866
877
  default:
867
878
  he(n);
868
879
  }
869
- }, Vn = "_productSummaryCardImage_1knc7_1", Zn = {
870
- productSummaryCardImage: Vn
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(
880
+ }, Jn = "_productSummaryCardImage_1knc7_1", Yn = {
881
+ productSummaryCardImage: Jn
882
+ }, et = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Yn.productSummaryCardImage }), nt = "_productSummaryCardImageButton_1mznn_11", tt = {
883
+ productSummaryCardImageButton: nt
884
+ }, Yt = ({ onClick: n, ariaLabel: t, ...r }) => /* @__PURE__ */ e(
874
885
  "button",
875
886
  {
876
887
  type: "button",
877
- className: Jn.productSummaryCardImageButton,
888
+ className: tt.productSummaryCardImageButton,
878
889
  "aria-label": t,
879
890
  onClick: n,
880
- children: /* @__PURE__ */ e(Qn, { ...r })
891
+ children: /* @__PURE__ */ e(et, { ...r })
881
892
  }
882
- ), Qt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
893
+ ), er = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
883
894
  d,
884
895
  {
885
896
  borderRadius: "16px",
@@ -934,15 +945,15 @@ import './index.css';const Q = ({
934
945
  query: "(max-width: 1160px)"
935
946
  });
936
947
  return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
937
- }, Yn = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Xt = (n) => {
948
+ }, rt = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), nr = (n) => {
938
949
  const { deviceSize: t } = Ce();
939
950
  return {
940
951
  visible: j(
941
- () => Yn(t, n),
952
+ () => rt(t, n),
942
953
  [t, n]
943
954
  )
944
955
  };
945
- }, et = ({
956
+ }, ot = ({
946
957
  isOpen: n,
947
958
  initialIndex: t,
948
959
  onUpdateIndex: r,
@@ -954,9 +965,9 @@ import './index.css';const Q = ({
954
965
  onRequestClose: g,
955
966
  images: b
956
967
  }) => {
957
- const f = Z(null), { deviceSize: x } = Ce(), I = x !== "mobile", [S, k] = $(t ?? 0), v = ({ index: m }) => {
968
+ const f = Z(null), { deviceSize: x } = Ce(), w = x !== "mobile", [S, k] = $(t ?? 0), v = ({ index: m }) => {
958
969
  k(m), r?.(m);
959
- }, _ = j(() => b.map((m) => nt(m)), [b]);
970
+ }, I = j(() => b.map((m) => it(m)), [b]);
960
971
  return /* @__PURE__ */ e(
961
972
  fe,
962
973
  {
@@ -964,7 +975,7 @@ import './index.css';const Q = ({
964
975
  close: g,
965
976
  index: S,
966
977
  plugins: [en, nn, tn],
967
- slides: _,
978
+ slides: I,
968
979
  on: { view: v },
969
980
  animation: { fade: 0 },
970
981
  controller: {
@@ -983,7 +994,7 @@ import './index.css';const Q = ({
983
994
  }
984
995
  },
985
996
  render: {
986
- buttonZoom: (m) => I && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
997
+ buttonZoom: (m) => w && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
987
998
  /* @__PURE__ */ e(
988
999
  R,
989
1000
  {
@@ -1003,7 +1014,7 @@ import './index.css';const Q = ({
1003
1014
  }
1004
1015
  )
1005
1016
  ] }),
1006
- buttonPrev: () => b.length > 1 && I && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
1017
+ buttonPrev: () => b.length > 1 && w && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_prev", children: /* @__PURE__ */ e(
1007
1018
  R,
1008
1019
  {
1009
1020
  "aria-label": o,
@@ -1012,7 +1023,7 @@ import './index.css';const Q = ({
1012
1023
  onClick: () => f.current?.prev()
1013
1024
  }
1014
1025
  ) }),
1015
- buttonNext: () => b.length > 1 && I && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1026
+ buttonNext: () => b.length > 1 && w && /* @__PURE__ */ e(y, { num: 4, className: "yarl__navigation_next", children: /* @__PURE__ */ e(
1016
1027
  R,
1017
1028
  {
1018
1029
  "aria-label": s,
@@ -1034,14 +1045,14 @@ import './index.css';const Q = ({
1034
1045
  }
1035
1046
  }
1036
1047
  );
1037
- }, nt = (n) => ({
1048
+ }, it = (n) => ({
1038
1049
  src: n.url,
1039
1050
  width: n.width,
1040
1051
  height: n.height,
1041
1052
  alt: n.alt,
1042
1053
  title: n.title,
1043
1054
  description: n.description
1044
- }), Jt = ({
1055
+ }), tr = ({
1045
1056
  images: n,
1046
1057
  initialIndex: t,
1047
1058
  altLabelPrevious: r,
@@ -1050,7 +1061,7 @@ import './index.css';const Q = ({
1050
1061
  altLabelNext: a,
1051
1062
  altLabelClose: s
1052
1063
  }) => {
1053
- const h = Z(null), [g, b] = $(!1), [f, x] = $(t ?? 0), I = J(() => {
1064
+ const h = Z(null), [g, b] = $(!1), [f, x] = $(t ?? 0), w = J(() => {
1054
1065
  b(!0);
1055
1066
  }, []), S = J(() => {
1056
1067
  b(!1);
@@ -1058,7 +1069,7 @@ import './index.css';const Q = ({
1058
1069
  Ue(() => {
1059
1070
  x(t ?? 0);
1060
1071
  }, [t]);
1061
- const v = j(() => n.map(tt), [n]), _ = j(() => n.map(
1072
+ const v = j(() => n.map(lt), [n]), I = j(() => n.map(
1062
1073
  (m) => m.fullscreenImage ? {
1063
1074
  ...m,
1064
1075
  url: m.fullscreenImage.url,
@@ -1076,7 +1087,7 @@ import './index.css';const Q = ({
1076
1087
  plugins: [Ye],
1077
1088
  on: {
1078
1089
  view: k,
1079
- click: I
1090
+ click: w
1080
1091
  },
1081
1092
  carousel: {
1082
1093
  padding: 0,
@@ -1117,13 +1128,13 @@ import './index.css';const Q = ({
1117
1128
  }
1118
1129
  ),
1119
1130
  g && /* @__PURE__ */ e(
1120
- et,
1131
+ ot,
1121
1132
  {
1122
1133
  isOpen: !0,
1123
1134
  onRequestClose: S,
1124
1135
  initialIndex: f,
1125
1136
  onUpdateIndex: x,
1126
- images: _,
1137
+ images: I,
1127
1138
  altLabelPrevious: r,
1128
1139
  altLabelNext: a,
1129
1140
  altLabelClose: s,
@@ -1132,7 +1143,7 @@ import './index.css';const Q = ({
1132
1143
  }
1133
1144
  )
1134
1145
  ] });
1135
- }, tt = (n) => ({
1146
+ }, lt = (n) => ({
1136
1147
  src: n.url,
1137
1148
  width: n.width,
1138
1149
  height: n.height,
@@ -1142,51 +1153,51 @@ import './index.css';const Q = ({
1142
1153
  });
1143
1154
  export {
1144
1155
  rn as ActionMenuFlatButton,
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,
1156
+ Bt as ActionMenuPrimaryButton,
1157
+ yt as ActionMenuSecondaryButton,
1158
+ _t as CheckboxMenu,
1159
+ _n as Collapsible,
1160
+ jt as CollapsibleEmptyContent,
1161
+ zt as CollapsibleGroupHeading,
1162
+ Pt as CollapsibleList,
1163
+ Ft as CollapsibleWithCheckbox,
1153
1164
  kn as ErrorPanel,
1154
- Pt as ErrorScreen,
1155
- et as FullscreenImageCarousel,
1156
- Jt as ImageCarousel,
1165
+ Lt as ErrorScreen,
1166
+ ot as FullscreenImageCarousel,
1167
+ tr as ImageCarousel,
1157
1168
  Rn as LoadingPanel,
1158
- Ft as LoadingScreen,
1159
- vt as NavBar,
1169
+ At as LoadingScreen,
1170
+ wt as NavBar,
1160
1171
  un as NavBarButton,
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,
1172
+ St as NavBarHeading,
1173
+ It as NavBarLink,
1174
+ Rt as NavBarNotificationButton,
1175
+ kt as NavBarPopoverButton,
1176
+ Mt as NavBarSearchField,
1177
+ Nt as NavBarUserButton,
1178
+ $t as PageHeader,
1179
+ Tt as PageHeaderRow,
1180
+ Ot as PageHeading,
1181
+ Vt as ProductCard,
1182
+ Zt as ProductCardContentItem,
1183
+ Qt as ProductCardContentItemSkeletor,
1184
+ Jt as ProductSummaryCard,
1185
+ et as ProductSummaryCardImage,
1186
+ Yt as ProductSummaryCardImageButton,
1187
+ er as ProductSummaryCardSkeletor,
1188
+ Kt as SelectedItemsActionsPadding,
1189
+ Dt as SelectedItemsActionsPanel,
1190
+ Xt as SelectedProductCard,
1191
+ qt as SelectionRow,
1192
+ Et as SidebarMenu,
1193
+ Ut as SidebarMenuCollapsible,
1183
1194
  Sn as SidebarMenuCollapsibleGroupBox,
1184
1195
  On as SidebarMenuHeading,
1185
- Ot as SidebarMenuLink,
1186
- Et as SidebarMenuSeparator,
1187
- Tt as SidebarRailMenu,
1188
- Yn as isDeviceSameOrLarger,
1196
+ Wt as SidebarMenuLink,
1197
+ Gt as SidebarMenuSeparator,
1198
+ Ht as SidebarRailMenu,
1199
+ rt as isDeviceSameOrLarger,
1189
1200
  Ce as useDeviceSize,
1190
- Xt as useLayoutVisibility
1201
+ nr as useLayoutVisibility
1191
1202
  };
1192
1203
  //# sourceMappingURL=index.es.js.map