@stenajs-webui/panels 22.4.1 → 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.
|
@@ -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",
|
|
@@ -64,7 +66,7 @@ const te = ({
|
|
|
64
66
|
)
|
|
65
67
|
}
|
|
66
68
|
) });
|
|
67
|
-
},
|
|
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
|
-
),
|
|
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
|
-
),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
263
|
+
}, Nt = ({
|
|
262
264
|
className: n,
|
|
263
265
|
username: t,
|
|
264
266
|
initials: i,
|
|
@@ -341,7 +343,7 @@ const te = ({
|
|
|
341
343
|
standard: Sn,
|
|
342
344
|
unread: Nn,
|
|
343
345
|
danger: Mn
|
|
344
|
-
},
|
|
346
|
+
}, Mt = ({
|
|
345
347
|
variant: n = "standard",
|
|
346
348
|
children: t,
|
|
347
349
|
unread: i,
|
|
@@ -361,7 +363,7 @@ const te = ({
|
|
|
361
363
|
}
|
|
362
364
|
), Rn = "_notificationList_1rkvu_1", zn = {
|
|
363
365
|
notificationList: Rn
|
|
364
|
-
},
|
|
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
|
-
},
|
|
374
|
+
}, zt = ({
|
|
373
375
|
onClick: n,
|
|
374
376
|
onClickAriaLabel: t,
|
|
375
377
|
children: i,
|
|
@@ -415,9 +417,9 @@ const te = ({
|
|
|
415
417
|
...o
|
|
416
418
|
}
|
|
417
419
|
)
|
|
418
|
-
),
|
|
420
|
+
), jt = ({
|
|
419
421
|
children: n
|
|
420
|
-
}) => /* @__PURE__ */ e(p, { gap: 1, children: n }),
|
|
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 }),
|
|
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
|
-
},
|
|
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
|
-
] }),
|
|
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
|
-
),
|
|
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
|
-
] }),
|
|
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 }),
|
|
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 }) }),
|
|
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 }) }),
|
|
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
|
-
),
|
|
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
|
-
},
|
|
685
|
+
}, Ot = (n) => /* @__PURE__ */ e(
|
|
684
686
|
Ve,
|
|
685
687
|
{
|
|
686
688
|
color: m("--lhds-color-ui-400"),
|
|
687
689
|
...n
|
|
688
690
|
}
|
|
689
|
-
),
|
|
691
|
+
), Vt = ({ numItemsSelected: n, label: t, afterLabelContent: i, rightContent: o }) => /* @__PURE__ */ r(
|
|
690
692
|
c,
|
|
691
693
|
{
|
|
692
694
|
indent: 3,
|
|
@@ -714,9 +716,9 @@ const te = ({
|
|
|
714
716
|
/* @__PURE__ */ e(c, { gap: 2, children: o })
|
|
715
717
|
]
|
|
716
718
|
}
|
|
717
|
-
),
|
|
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
|
-
},
|
|
721
|
+
}, Zt = ({
|
|
720
722
|
renderSelectedProductCard: n,
|
|
721
723
|
renderEditButton: t,
|
|
722
724
|
children: i,
|
|
@@ -757,7 +759,7 @@ const te = ({
|
|
|
757
759
|
)
|
|
758
760
|
]
|
|
759
761
|
}
|
|
760
|
-
), Yn = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }),
|
|
762
|
+
), Yn = ({ children: n }) => /* @__PURE__ */ e(f, { variant: "bold", style: { fontSize: "2.0rem" }, children: n }), Qt = ({
|
|
761
763
|
description: n,
|
|
762
764
|
subDescription: t,
|
|
763
765
|
descriptionTags: i,
|
|
@@ -810,7 +812,7 @@ const te = ({
|
|
|
810
812
|
b
|
|
811
813
|
] })
|
|
812
814
|
] });
|
|
813
|
-
},
|
|
815
|
+
}, Tt = ({ renderImage: n }) => /* @__PURE__ */ r(p, { children: [
|
|
814
816
|
n == null ? void 0 : n(),
|
|
815
817
|
/* @__PURE__ */ r(d, { gap: 3, spacing: 4, indent: 4, background: m("--moln"), children: [
|
|
816
818
|
/* @__PURE__ */ e(d, { gap: 0.5, children: /* @__PURE__ */ e(
|
|
@@ -833,13 +835,13 @@ const te = ({
|
|
|
833
835
|
/* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(R, { width: "150px", height: "1.4rem", borderRadius: "8px" }) }),
|
|
834
836
|
/* @__PURE__ */ e(x, {})
|
|
835
837
|
] })
|
|
836
|
-
] }),
|
|
838
|
+
] }), Xt = ({
|
|
837
839
|
label: n,
|
|
838
840
|
children: t
|
|
839
841
|
}) => /* @__PURE__ */ r(d, { background: m("--mussla"), indent: 2, spacing: 2, gap: 2, children: [
|
|
840
842
|
/* @__PURE__ */ e(z, { variant: "h3", as: "h2", color: "white", children: n }),
|
|
841
843
|
t
|
|
842
|
-
] }),
|
|
844
|
+
] }), Jt = ({
|
|
843
845
|
title: n,
|
|
844
846
|
variant: t = "normal",
|
|
845
847
|
loading: i,
|
|
@@ -934,7 +936,7 @@ const te = ({
|
|
|
934
936
|
default:
|
|
935
937
|
xe(n);
|
|
936
938
|
}
|
|
937
|
-
},
|
|
939
|
+
}, Yt = ({ iconLeft: n, ...t }) => /* @__PURE__ */ e(
|
|
938
940
|
d,
|
|
939
941
|
{
|
|
940
942
|
borderRadius: "16px",
|
|
@@ -989,7 +991,7 @@ const te = ({
|
|
|
989
991
|
query: "(max-width: 1160px)"
|
|
990
992
|
});
|
|
991
993
|
return { deviceSize: t ? "small-mobile" : n ? "mobile" : i ? "tablet" : o ? "tablet-wide" : "desktop" };
|
|
992
|
-
}, tt = (n, t) => n === t || de.indexOf(n) > de.indexOf(t),
|
|
994
|
+
}, tt = (n, t) => n === t || de.indexOf(n) > de.indexOf(t), ei = (n) => {
|
|
993
995
|
const { deviceSize: t } = Be();
|
|
994
996
|
return {
|
|
995
997
|
visible: U(
|
|
@@ -997,7 +999,7 @@ const te = ({
|
|
|
997
999
|
[t, n]
|
|
998
1000
|
)
|
|
999
1001
|
};
|
|
1000
|
-
},
|
|
1002
|
+
}, ni = ({
|
|
1001
1003
|
images: n,
|
|
1002
1004
|
altLabelPrevious: t,
|
|
1003
1005
|
altLabelZoomIn: i,
|
|
@@ -1172,52 +1174,52 @@ const te = ({
|
|
|
1172
1174
|
});
|
|
1173
1175
|
export {
|
|
1174
1176
|
tn as ActionMenuFlatButton,
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1177
|
+
Ct as ActionMenuPrimaryButton,
|
|
1178
|
+
_t as ActionMenuSecondaryButton,
|
|
1179
|
+
yt as CheckboxMenu,
|
|
1178
1180
|
Pn as Collapsible,
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1181
|
+
At as CollapsibleEmptyContent,
|
|
1182
|
+
Pt as CollapsibleGroupHeading,
|
|
1183
|
+
jt as CollapsibleList,
|
|
1184
|
+
Ft as CollapsibleWithCheckbox,
|
|
1183
1185
|
Dn as ErrorPanel,
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
+
$t as ErrorScreen,
|
|
1187
|
+
ni as ImageCarousel,
|
|
1186
1188
|
Wn as LoadingPanel,
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
+
Lt as LoadingScreen,
|
|
1190
|
+
wt as NavBar,
|
|
1189
1191
|
dn as NavBarButton,
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1192
|
+
Bt as NavBarHeading,
|
|
1193
|
+
It as NavBarNotificationButton,
|
|
1194
|
+
kt as NavBarPopoverButton,
|
|
1195
|
+
St as NavBarSearchField,
|
|
1196
|
+
Nt as NavBarUserButton,
|
|
1197
|
+
Mt as Notification,
|
|
1196
1198
|
we as NotificationHeader,
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
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,
|
|
1211
1213
|
Ln as SidebarMenuCollapsibleGroupBox,
|
|
1212
1214
|
Zn as SidebarMenuHeading,
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1215
|
+
Et as SidebarMenuLink,
|
|
1216
|
+
Ot as SidebarMenuSeparator,
|
|
1217
|
+
qt as SidebarRailMenu,
|
|
1218
|
+
zt as Toast,
|
|
1217
1219
|
wn as UnreadDot,
|
|
1218
1220
|
Bn as getIconBgColorFromVariant,
|
|
1219
1221
|
tt as isDeviceSameOrLarger,
|
|
1220
1222
|
Be as useDeviceSize,
|
|
1221
|
-
|
|
1223
|
+
ei as useLayoutVisibility
|
|
1222
1224
|
};
|
|
1223
1225
|
//# sourceMappingURL=index.es.js.map
|