@stenajs-webui/panels 25.3.1 → 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 _e, 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";
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,7 +26,7 @@ import './index.css';const Q = ({
26
26
  appendTo: b,
27
27
  zIndex: f,
28
28
  disableTrapFocus: x = !1,
29
- ..._
29
+ ...w
30
30
  }) => {
31
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
32
  s?.(U), I();
@@ -38,7 +38,7 @@ import './index.css';const Q = ({
38
38
  r,
39
39
  {
40
40
  rightIcon: h ? void 0 : o,
41
- ..._,
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
- }, xt = (n) => /* @__PURE__ */ e(Q, { buttonComponent: ie, ...n }), vt = (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
+ }, 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
- ), yt = ({
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
- }, wt = 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
- ), _t = (n) => /* @__PURE__ */ e(P, { whiteSpace: "nowrap", variant: "h4", as: "h1", ...n }), It = ({
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
- }, St = 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
- }, kt = ({
244
+ }, Mt = ({
245
245
  placeholder: n = "Search",
246
246
  className: t,
247
247
  wrapperClassName: r,
@@ -252,16 +252,16 @@ 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
- _e,
264
+ we,
265
265
  {
266
266
  className: A.clearButton,
267
267
  icon: Ie,
@@ -273,7 +273,7 @@ import './index.css';const Q = ({
273
273
  }
274
274
  ), Bn = "_navBarUserButton_10f9z_1", yn = {
275
275
  navBarUserButton: Bn
276
- }, Rt = ({
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
- ), Mt = ({
307
+ ), Pt = ({
308
308
  children: n
309
- }) => /* @__PURE__ */ e(u, { gap: 1, children: n }), Nt = ({
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
- ), _n = "_sidebarMenuCollapsibleGroupBox_ikek9_1", In = {
333
- sidebarMenuCollapsibleGroupBox: _n
334
- }, Sn = ({ children: n }) => /* @__PURE__ */ e("div", { className: In.sidebarMenuCollapsibleGroupBox, children: n }), Pt = ({ children: n }) => /* @__PURE__ */ e(d, { spacing: !0, indent: !0, children: /* @__PURE__ */ e(C, { variant: "overline", size: "smaller", children: n }) }), Ft = ({ 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
- }, zt = (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
- ] }), jt = (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
- ), Lt = ({
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
- ] }), At = (n) => /* @__PURE__ */ e(c, { indent: 3, spacing: !0, ...n }), $t = ({
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
- }, Tt = ({
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 }), Ot = ({
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 }) }), qt = ({
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 }) }), Et = (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
- ), Ht = ({
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
- }, Wt = (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)), Ut = ({
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
- }, Gt = ({ 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
- }, Dt = ({
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 }), Kt = ({
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
- }, Vt = ({ 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,15 +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
- ] }), Zt = ({
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
- ] }), Dn = "_content_1m4r7_10", Kn = {
771
- content: Dn
772
- }, Qt = ({
772
+ ] }), Vn = "_content_1m4r7_10", Zn = {
773
+ content: Vn
774
+ }, Jt = ({
773
775
  title: n,
774
776
  variant: t = "normal",
775
777
  loading: r,
@@ -783,11 +785,11 @@ import './index.css';const Q = ({
783
785
  children: f,
784
786
  ...x
785
787
  }) => {
786
- const { fontSizeRatio: _ } = Qe(), S = M({
788
+ const { fontSizeRatio: w } = Qe(), S = M({
787
789
  query: "(max-width: 460px)"
788
790
  }), v = M({
789
791
  query: "(max-width: 360px)"
790
- }) || S && _ > 1.2, I = r ? "normal" : t, m = Zn(I), H = p("--moln"), W = Vn(I);
792
+ }) || S && w > 1.2, I = r ? "normal" : t, m = Xn(I), H = p("--moln"), W = Qn(I);
791
793
  return /* @__PURE__ */ i(
792
794
  d,
793
795
  {
@@ -814,7 +816,7 @@ import './index.css';const Q = ({
814
816
  /* @__PURE__ */ e(
815
817
  u,
816
818
  {
817
- className: Kn.content,
819
+ className: Zn.content,
818
820
  style: { opacity: r ? 0 : void 0 },
819
821
  children: f
820
822
  }
@@ -853,7 +855,7 @@ import './index.css';const Q = ({
853
855
  ]
854
856
  }
855
857
  );
856
- }, Vn = (n) => {
858
+ }, Qn = (n) => {
857
859
  switch (n) {
858
860
  case "edit":
859
861
  return p("--moln");
@@ -864,7 +866,7 @@ import './index.css';const Q = ({
864
866
  default:
865
867
  he(n);
866
868
  }
867
- }, Zn = (n) => {
869
+ }, Xn = (n) => {
868
870
  switch (n) {
869
871
  case "edit":
870
872
  return p("--mussla");
@@ -875,20 +877,20 @@ import './index.css';const Q = ({
875
877
  default:
876
878
  he(n);
877
879
  }
878
- }, Qn = "_productSummaryCardImage_1knc7_1", Xn = {
879
- productSummaryCardImage: Qn
880
- }, Jn = ({ src: n, alt: t }) => /* @__PURE__ */ e("img", { src: n, alt: t, className: Xn.productSummaryCardImage }), Yn = "_productSummaryCardImageButton_1mznn_11", et = {
881
- productSummaryCardImageButton: Yn
882
- }, Xt = ({ 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(
883
885
  "button",
884
886
  {
885
887
  type: "button",
886
- className: et.productSummaryCardImageButton,
888
+ className: tt.productSummaryCardImageButton,
887
889
  "aria-label": t,
888
890
  onClick: n,
889
- children: /* @__PURE__ */ e(Jn, { ...r })
891
+ children: /* @__PURE__ */ e(et, { ...r })
890
892
  }
891
- ), Jt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
893
+ ), er = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
892
894
  d,
893
895
  {
894
896
  borderRadius: "16px",
@@ -943,15 +945,15 @@ import './index.css';const Q = ({
943
945
  query: "(max-width: 1160px)"
944
946
  });
945
947
  return { deviceSize: t ? "small-mobile" : n ? "mobile" : r ? "tablet" : o ? "tablet-wide" : "desktop" };
946
- }, nt = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), Yt = (n) => {
948
+ }, rt = (n, t) => n === t || te.indexOf(n) > te.indexOf(t), nr = (n) => {
947
949
  const { deviceSize: t } = Ce();
948
950
  return {
949
951
  visible: j(
950
- () => nt(t, n),
952
+ () => rt(t, n),
951
953
  [t, n]
952
954
  )
953
955
  };
954
- }, tt = ({
956
+ }, ot = ({
955
957
  isOpen: n,
956
958
  initialIndex: t,
957
959
  onUpdateIndex: r,
@@ -963,9 +965,9 @@ import './index.css';const Q = ({
963
965
  onRequestClose: g,
964
966
  images: b
965
967
  }) => {
966
- const f = Z(null), { deviceSize: x } = Ce(), _ = 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 }) => {
967
969
  k(m), r?.(m);
968
- }, I = j(() => b.map((m) => rt(m)), [b]);
970
+ }, I = j(() => b.map((m) => it(m)), [b]);
969
971
  return /* @__PURE__ */ e(
970
972
  fe,
971
973
  {
@@ -992,7 +994,7 @@ import './index.css';const Q = ({
992
994
  }
993
995
  },
994
996
  render: {
995
- buttonZoom: (m) => _ && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
997
+ buttonZoom: (m) => w && /* @__PURE__ */ i(c, { gap: 1, indent: 2, children: [
996
998
  /* @__PURE__ */ e(
997
999
  R,
998
1000
  {
@@ -1012,7 +1014,7 @@ import './index.css';const Q = ({
1012
1014
  }
1013
1015
  )
1014
1016
  ] }),
1015
- buttonPrev: () => b.length > 1 && _ && /* @__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(
1016
1018
  R,
1017
1019
  {
1018
1020
  "aria-label": o,
@@ -1021,7 +1023,7 @@ import './index.css';const Q = ({
1021
1023
  onClick: () => f.current?.prev()
1022
1024
  }
1023
1025
  ) }),
1024
- buttonNext: () => b.length > 1 && _ && /* @__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(
1025
1027
  R,
1026
1028
  {
1027
1029
  "aria-label": s,
@@ -1043,14 +1045,14 @@ import './index.css';const Q = ({
1043
1045
  }
1044
1046
  }
1045
1047
  );
1046
- }, rt = (n) => ({
1048
+ }, it = (n) => ({
1047
1049
  src: n.url,
1048
1050
  width: n.width,
1049
1051
  height: n.height,
1050
1052
  alt: n.alt,
1051
1053
  title: n.title,
1052
1054
  description: n.description
1053
- }), er = ({
1055
+ }), tr = ({
1054
1056
  images: n,
1055
1057
  initialIndex: t,
1056
1058
  altLabelPrevious: r,
@@ -1059,7 +1061,7 @@ import './index.css';const Q = ({
1059
1061
  altLabelNext: a,
1060
1062
  altLabelClose: s
1061
1063
  }) => {
1062
- const h = Z(null), [g, b] = $(!1), [f, x] = $(t ?? 0), _ = J(() => {
1064
+ const h = Z(null), [g, b] = $(!1), [f, x] = $(t ?? 0), w = J(() => {
1063
1065
  b(!0);
1064
1066
  }, []), S = J(() => {
1065
1067
  b(!1);
@@ -1067,7 +1069,7 @@ import './index.css';const Q = ({
1067
1069
  Ue(() => {
1068
1070
  x(t ?? 0);
1069
1071
  }, [t]);
1070
- const v = j(() => n.map(ot), [n]), I = j(() => n.map(
1072
+ const v = j(() => n.map(lt), [n]), I = j(() => n.map(
1071
1073
  (m) => m.fullscreenImage ? {
1072
1074
  ...m,
1073
1075
  url: m.fullscreenImage.url,
@@ -1085,7 +1087,7 @@ import './index.css';const Q = ({
1085
1087
  plugins: [Ye],
1086
1088
  on: {
1087
1089
  view: k,
1088
- click: _
1090
+ click: w
1089
1091
  },
1090
1092
  carousel: {
1091
1093
  padding: 0,
@@ -1126,7 +1128,7 @@ import './index.css';const Q = ({
1126
1128
  }
1127
1129
  ),
1128
1130
  g && /* @__PURE__ */ e(
1129
- tt,
1131
+ ot,
1130
1132
  {
1131
1133
  isOpen: !0,
1132
1134
  onRequestClose: S,
@@ -1141,7 +1143,7 @@ import './index.css';const Q = ({
1141
1143
  }
1142
1144
  )
1143
1145
  ] });
1144
- }, ot = (n) => ({
1146
+ }, lt = (n) => ({
1145
1147
  src: n.url,
1146
1148
  width: n.width,
1147
1149
  height: n.height,
@@ -1151,51 +1153,51 @@ import './index.css';const Q = ({
1151
1153
  });
1152
1154
  export {
1153
1155
  rn as ActionMenuFlatButton,
1154
- xt as ActionMenuPrimaryButton,
1155
- vt as ActionMenuSecondaryButton,
1156
- Bt as CheckboxMenu,
1157
- wn as Collapsible,
1158
- Ft as CollapsibleEmptyContent,
1159
- Pt as CollapsibleGroupHeading,
1160
- Mt as CollapsibleList,
1161
- Nt 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,
1162
1164
  kn as ErrorPanel,
1163
- zt as ErrorScreen,
1164
- tt as FullscreenImageCarousel,
1165
- er as ImageCarousel,
1165
+ Lt as ErrorScreen,
1166
+ ot as FullscreenImageCarousel,
1167
+ tr as ImageCarousel,
1166
1168
  Rn as LoadingPanel,
1167
- jt as LoadingScreen,
1168
- yt as NavBar,
1169
+ At as LoadingScreen,
1170
+ wt as NavBar,
1169
1171
  un as NavBarButton,
1170
- _t as NavBarHeading,
1171
- wt as NavBarLink,
1172
- St as NavBarNotificationButton,
1173
- It as NavBarPopoverButton,
1174
- kt as NavBarSearchField,
1175
- Rt as NavBarUserButton,
1176
- Lt as PageHeader,
1177
- At as PageHeaderRow,
1178
- $t as PageHeading,
1179
- Dt as ProductCard,
1180
- Kt as ProductCardContentItem,
1181
- Vt as ProductCardContentItemSkeletor,
1182
- Qt as ProductSummaryCard,
1183
- Jn as ProductSummaryCardImage,
1184
- Xt as ProductSummaryCardImageButton,
1185
- Jt as ProductSummaryCardSkeletor,
1186
- Gt as SelectedItemsActionsPadding,
1187
- Ut as SelectedItemsActionsPanel,
1188
- Zt as SelectedProductCard,
1189
- Tt as SelectionRow,
1190
- Ot as SidebarMenu,
1191
- Ht 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,
1192
1194
  Sn as SidebarMenuCollapsibleGroupBox,
1193
1195
  On as SidebarMenuHeading,
1194
- Et as SidebarMenuLink,
1195
- Wt as SidebarMenuSeparator,
1196
- qt as SidebarRailMenu,
1197
- nt as isDeviceSameOrLarger,
1196
+ Wt as SidebarMenuLink,
1197
+ Gt as SidebarMenuSeparator,
1198
+ Ht as SidebarRailMenu,
1199
+ rt as isDeviceSameOrLarger,
1198
1200
  Ce as useDeviceSize,
1199
- Yt as useLayoutVisibility
1201
+ nr as useLayoutVisibility
1200
1202
  };
1201
1203
  //# sourceMappingURL=index.es.js.map