@lanaco/lnc-react-ui 4.0.156 → 4.0.157
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/BlogCardsSponsoredSection.cjs +1 -1
- package/dist/BlogCardsSponsoredSection.js +1 -1
- package/dist/BlogListSection.cjs +1 -1
- package/dist/BlogListSection.js +1 -1
- package/dist/BlogsSectionDetailed.cjs +1 -1
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +1 -1
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/BlogsSectionWithFilters.cjs +1 -1
- package/dist/BlogsSectionWithFilters.js +1 -1
- package/dist/DetailedProductsInfinitiveSection.cjs +7 -2
- package/dist/DetailedProductsInfinitiveSection.js +60 -50
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +2 -2
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +1 -1
- package/dist/SalesCampaignsSection.js +63 -60
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/UrgentSaleProductsSection.cjs +1 -1
- package/dist/UrgentSaleProductsSection.js +1 -1
- package/dist/{style-DFPWLJBr.js → style-BLuyU97E.js} +4 -0
- package/dist/{style-CyHewQxg.cjs → style-lSjkOR95.cjs} +6 -2
- package/dist/{suspense-product-card-detailed-YJVsf2-a.js → suspense-product-card-detailed-BWoxabjZ.js} +162 -136
- package/dist/suspense-product-card-detailed-DYyH_jf5.cjs +300 -0
- package/package.json +1 -1
- package/dist/suspense-product-card-detailed-mCJwteOy.cjs +0 -265
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as n, jsxs as g, Fragment as ke } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as z, useRef as Ne, useEffect as Z, Fragment as Ie, createElement as De, useState as M, Suspense as Te, memo as Pe, useMemo as ze } from "react";
|
|
3
3
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { a as L, k as Y, l as Me, o as ce } from "./utils-BdsZgOUE.js";
|
|
@@ -155,10 +155,10 @@ const Ue = h.div`
|
|
|
155
155
|
gap: 0.25rem;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
|
-
`, oe = (e = !1,
|
|
158
|
+
`, oe = (e = !1, t = !1, o = !1) => `
|
|
159
159
|
display: flex;
|
|
160
|
-
${
|
|
161
|
-
${
|
|
160
|
+
${t ? "flex-wrap: wrap;" : ""}
|
|
161
|
+
${t ? "" : "flex-wrap: nowrap;"}
|
|
162
162
|
${e ? "align-items: center;" : ""}
|
|
163
163
|
${o ? "justify-content: center;" : ""}
|
|
164
164
|
`, je = h(de.div)`
|
|
@@ -259,7 +259,7 @@ const Ue = h.div`
|
|
|
259
259
|
& i {
|
|
260
260
|
font-size: 0.813rem;
|
|
261
261
|
}
|
|
262
|
-
`, Fe = z(({ src: e, ...
|
|
262
|
+
`, Fe = z(({ src: e, ...t }, o) => {
|
|
263
263
|
const i = Ne();
|
|
264
264
|
return Z(() => {
|
|
265
265
|
var f;
|
|
@@ -270,10 +270,10 @@ const Ue = h.div`
|
|
|
270
270
|
var s;
|
|
271
271
|
(s = i == null ? void 0 : i.current) == null || s.removeEventListener("error", l);
|
|
272
272
|
};
|
|
273
|
-
}, []), /* @__PURE__ */
|
|
273
|
+
}, []), /* @__PURE__ */ n(Ie, { ref: o, children: Y(e) ? /* @__PURE__ */ n("img", { ref: i, src: e, ...t }) : /* @__PURE__ */ n("img", { src: ne, ...t }) });
|
|
274
274
|
}), he = (e) => {
|
|
275
275
|
const {
|
|
276
|
-
uuid:
|
|
276
|
+
uuid: t,
|
|
277
277
|
hasPermission: o = !0,
|
|
278
278
|
isUser: i,
|
|
279
279
|
image: l,
|
|
@@ -311,11 +311,11 @@ const Ue = h.div`
|
|
|
311
311
|
isActive: I,
|
|
312
312
|
themeColor: (v == null ? void 0 : v.code) || "transparent"
|
|
313
313
|
},
|
|
314
|
-
/* @__PURE__ */
|
|
314
|
+
/* @__PURE__ */ n("div", { className: "logo-wrapper", children: Me(f) ? f : l }),
|
|
315
315
|
/* @__PURE__ */ g("div", { children: [
|
|
316
|
-
/* @__PURE__ */
|
|
317
|
-
!i && /* @__PURE__ */
|
|
318
|
-
m > 0 && /* @__PURE__ */
|
|
316
|
+
/* @__PURE__ */ n("div", { className: "name", children: s }),
|
|
317
|
+
!i && /* @__PURE__ */ n("div", { className: "description", children: b }),
|
|
318
|
+
m > 0 && /* @__PURE__ */ n("div", { className: "notifications-number", children: /* @__PURE__ */ n(Le, { className: "badge", color: "danger", size: "small", children: m > 99 ? "99+" : m }) })
|
|
319
319
|
] })
|
|
320
320
|
);
|
|
321
321
|
};
|
|
@@ -341,16 +341,16 @@ he.propTypes = {
|
|
|
341
341
|
onSelect: a.func,
|
|
342
342
|
hasPermission: a.bool
|
|
343
343
|
};
|
|
344
|
-
const ie = (e,
|
|
345
|
-
if (!e || !
|
|
346
|
-
const o = e.getTime() -
|
|
344
|
+
const ie = (e, t) => {
|
|
345
|
+
if (!e || !t) return null;
|
|
346
|
+
const o = e.getTime() - t.getTime(), i = 24 * 60 * 60 * 1e3;
|
|
347
347
|
return o >= 0 ? Math.ceil(o / i) : Math.floor(o / i);
|
|
348
348
|
}, se = (e) => {
|
|
349
349
|
if (e !== void 0) {
|
|
350
|
-
const
|
|
351
|
-
return `${String(
|
|
350
|
+
const t = new Date(e), o = t.getFullYear(), i = t.getMonth() + 1;
|
|
351
|
+
return `${String(t.getDate()).padStart(2)}. ${i}. ${o}.`;
|
|
352
352
|
}
|
|
353
|
-
}, pe = z((e,
|
|
353
|
+
}, pe = z((e, t) => {
|
|
354
354
|
var te;
|
|
355
355
|
const o = q(), {
|
|
356
356
|
// uuid,
|
|
@@ -414,22 +414,22 @@ const ie = (e, n) => {
|
|
|
414
414
|
return /* @__PURE__ */ g(
|
|
415
415
|
Ue,
|
|
416
416
|
{
|
|
417
|
-
ref:
|
|
417
|
+
ref: t,
|
|
418
418
|
theme: o,
|
|
419
419
|
className: w,
|
|
420
420
|
onClick: b,
|
|
421
421
|
...we,
|
|
422
422
|
children: [
|
|
423
423
|
/* @__PURE__ */ g(Oe, { theme: o, onClick: () => s == null ? void 0 : s(), children: [
|
|
424
|
-
/* @__PURE__ */
|
|
425
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ n("img", { src: f }),
|
|
425
|
+
/* @__PURE__ */ n(Re, { children: x == null ? void 0 : x.map(($, R) => {
|
|
426
426
|
var u, P;
|
|
427
|
-
return /* @__PURE__ */
|
|
427
|
+
return /* @__PURE__ */ n(
|
|
428
428
|
Be,
|
|
429
429
|
{
|
|
430
430
|
color: (u = p == null ? void 0 : p.find((C) => C.value === $)) == null ? void 0 : u.color,
|
|
431
431
|
theme: o,
|
|
432
|
-
children: /* @__PURE__ */
|
|
432
|
+
children: /* @__PURE__ */ n(
|
|
433
433
|
ge,
|
|
434
434
|
{
|
|
435
435
|
icon: (P = p == null ? void 0 : p.find((C) => C.value === $)) == null ? void 0 : P.icon
|
|
@@ -441,9 +441,9 @@ const ie = (e, n) => {
|
|
|
441
441
|
}) })
|
|
442
442
|
] }),
|
|
443
443
|
/* @__PURE__ */ g(Ee, { theme: o, children: [
|
|
444
|
-
/* @__PURE__ */
|
|
445
|
-
/* @__PURE__ */
|
|
446
|
-
/* @__PURE__ */
|
|
444
|
+
/* @__PURE__ */ n("div", { className: "text-block-wrapper", children: /* @__PURE__ */ g("div", { className: "title-block-wrapper", children: [
|
|
445
|
+
/* @__PURE__ */ n("div", { className: "campaign-title", children: (te = D ? _ : d) == null ? void 0 : te.toUpperCase() }),
|
|
446
|
+
/* @__PURE__ */ n("div", { className: "campaign-title-text", children: l }),
|
|
447
447
|
c && m && /* @__PURE__ */ g("div", { className: "campaign-date", children: [
|
|
448
448
|
se(m),
|
|
449
449
|
" - ",
|
|
@@ -458,7 +458,7 @@ const ie = (e, n) => {
|
|
|
458
458
|
"∙",
|
|
459
459
|
" "
|
|
460
460
|
] }),
|
|
461
|
-
/* @__PURE__ */
|
|
461
|
+
/* @__PURE__ */ n(
|
|
462
462
|
"span",
|
|
463
463
|
{
|
|
464
464
|
className: `duration-text ${ve ? "urgent" : ""} ${Q ? "" : "starts-in"}`,
|
|
@@ -487,11 +487,11 @@ const ie = (e, n) => {
|
|
|
487
487
|
)
|
|
488
488
|
] })
|
|
489
489
|
] }) }),
|
|
490
|
-
/* @__PURE__ */
|
|
490
|
+
/* @__PURE__ */ n(
|
|
491
491
|
he,
|
|
492
492
|
{
|
|
493
493
|
hasPermission: !0,
|
|
494
|
-
image: /* @__PURE__ */
|
|
494
|
+
image: /* @__PURE__ */ n(Fe, { src: y }),
|
|
495
495
|
imageComponent: I,
|
|
496
496
|
themeData: U,
|
|
497
497
|
isActive: !0,
|
|
@@ -613,48 +613,48 @@ const B = h.div`
|
|
|
613
613
|
display: flex;
|
|
614
614
|
gap: 1.5rem;
|
|
615
615
|
`, He = z(({}, e) => {
|
|
616
|
-
const
|
|
617
|
-
return /* @__PURE__ */ g(Ae, { ref: e, theme:
|
|
618
|
-
/* @__PURE__ */
|
|
616
|
+
const t = q();
|
|
617
|
+
return /* @__PURE__ */ g(Ae, { ref: e, theme: t, children: [
|
|
618
|
+
/* @__PURE__ */ n("div", { className: "campaign__left-section", children: /* @__PURE__ */ n(
|
|
619
619
|
le,
|
|
620
620
|
{
|
|
621
|
-
theme:
|
|
621
|
+
theme: t,
|
|
622
622
|
width: "15rem",
|
|
623
623
|
height: "15rem",
|
|
624
624
|
borderRadius: "edged"
|
|
625
625
|
}
|
|
626
626
|
) }),
|
|
627
627
|
/* @__PURE__ */ g("div", { className: "campaign__right-section", children: [
|
|
628
|
-
/* @__PURE__ */ g(We, { theme:
|
|
629
|
-
/* @__PURE__ */
|
|
630
|
-
/* @__PURE__ */
|
|
631
|
-
/* @__PURE__ */
|
|
628
|
+
/* @__PURE__ */ g(We, { theme: t, children: [
|
|
629
|
+
/* @__PURE__ */ n(B, { heightCoeff: 0.75, theme: t, width: "35%" }),
|
|
630
|
+
/* @__PURE__ */ n(B, { heightCoeff: 1.25, theme: t }),
|
|
631
|
+
/* @__PURE__ */ n(B, { heightCoeff: 3, theme: t })
|
|
632
632
|
] }),
|
|
633
633
|
/* @__PURE__ */ g("div", { className: "campaign__user", children: [
|
|
634
|
-
/* @__PURE__ */
|
|
634
|
+
/* @__PURE__ */ n(
|
|
635
635
|
le,
|
|
636
636
|
{
|
|
637
|
-
theme:
|
|
637
|
+
theme: t,
|
|
638
638
|
width: "2.5rem",
|
|
639
639
|
height: "2.5rem",
|
|
640
640
|
borderRadius: "curved"
|
|
641
641
|
}
|
|
642
642
|
),
|
|
643
|
-
/* @__PURE__ */
|
|
643
|
+
/* @__PURE__ */ n(B, { theme: t, width: "75%" })
|
|
644
644
|
] })
|
|
645
645
|
] })
|
|
646
646
|
] });
|
|
647
|
-
}), Ge = ({ itemsCount: e = 5, keyPrefix:
|
|
647
|
+
}), Ge = ({ itemsCount: e = 5, keyPrefix: t }) => /* @__PURE__ */ n(Ve, { children: Array.from({ length: e }, (o, i) => /* @__PURE__ */ n(
|
|
648
648
|
He,
|
|
649
649
|
{},
|
|
650
|
-
`${
|
|
650
|
+
`${t}-skeleton-campaign-card-${i}`
|
|
651
651
|
)) }), Xe = ({
|
|
652
652
|
children: e,
|
|
653
|
-
fallbackComponent:
|
|
653
|
+
fallbackComponent: t = /* @__PURE__ */ n(ke, {}),
|
|
654
654
|
isLoading: o = !1,
|
|
655
655
|
itemsCount: i = 5,
|
|
656
656
|
keyPrefix: l
|
|
657
|
-
}) => /* @__PURE__ */
|
|
657
|
+
}) => /* @__PURE__ */ n(Te, { fallback: t, children: o === !0 ? /* @__PURE__ */ n(Ge, { itemsCount: i, keyPrefix: l }) : e }), Ye = h.div`
|
|
658
658
|
margin: 0 auto;
|
|
659
659
|
display: flex;
|
|
660
660
|
flex-direction: column;
|
|
@@ -732,7 +732,7 @@ const B = h.div`
|
|
|
732
732
|
}
|
|
733
733
|
}
|
|
734
734
|
`, fe = z(
|
|
735
|
-
({ icon: e, title:
|
|
735
|
+
({ icon: e, title: t, numOfSlides: o = 2, showNavigation: i = !0, children: l }, f) => {
|
|
736
736
|
const [s, m] = M(0), [c, x] = M(1), [k, N] = M(null), [y, I] = M(null), w = me(), b = (l == null ? void 0 : l.length) ?? 1;
|
|
737
737
|
Z(() => {
|
|
738
738
|
const d = () => {
|
|
@@ -748,8 +748,8 @@ const B = h.div`
|
|
|
748
748
|
(p = d == null ? void 0 : d.target) == null || p.blur(), s - c >= 0 && m(s - c);
|
|
749
749
|
};
|
|
750
750
|
return /* @__PURE__ */ g(Ye, { ref: f, children: [
|
|
751
|
-
/* @__PURE__ */
|
|
752
|
-
Y(e) && /* @__PURE__ */
|
|
751
|
+
/* @__PURE__ */ n("div", { className: "scrollable-section__header", children: /* @__PURE__ */ g("div", { className: "scrollable-section__title", children: [
|
|
752
|
+
Y(e) && /* @__PURE__ */ n(
|
|
753
753
|
ge,
|
|
754
754
|
{
|
|
755
755
|
icon: e,
|
|
@@ -758,9 +758,12 @@ const B = h.div`
|
|
|
758
758
|
className: "title__icon"
|
|
759
759
|
}
|
|
760
760
|
),
|
|
761
|
-
Y(
|
|
761
|
+
Y(t) && /* @__PURE__ */ g("div", { className: "title__text", children: [
|
|
762
|
+
" ",
|
|
763
|
+
t
|
|
764
|
+
] })
|
|
762
765
|
] }) }),
|
|
763
|
-
/* @__PURE__ */
|
|
766
|
+
/* @__PURE__ */ n(
|
|
764
767
|
Ze,
|
|
765
768
|
{
|
|
766
769
|
numOfColumns: o,
|
|
@@ -779,7 +782,7 @@ const B = h.div`
|
|
|
779
782
|
`scrollable-section__content-${s}`
|
|
780
783
|
),
|
|
781
784
|
i && b > c && !w && /* @__PURE__ */ g("div", { className: "scrollable-section__navigation", children: [
|
|
782
|
-
/* @__PURE__ */
|
|
785
|
+
/* @__PURE__ */ n(
|
|
783
786
|
ae,
|
|
784
787
|
{
|
|
785
788
|
icon: "angle-left",
|
|
@@ -791,7 +794,7 @@ const B = h.div`
|
|
|
791
794
|
onClick: _
|
|
792
795
|
}
|
|
793
796
|
),
|
|
794
|
-
/* @__PURE__ */
|
|
797
|
+
/* @__PURE__ */ n(
|
|
795
798
|
ae,
|
|
796
799
|
{
|
|
797
800
|
icon: "angle-right",
|
|
@@ -834,19 +837,19 @@ const qe = h.div`
|
|
|
834
837
|
`, ue = z(
|
|
835
838
|
({
|
|
836
839
|
sectionName: e,
|
|
837
|
-
imageUrl:
|
|
840
|
+
imageUrl: t,
|
|
838
841
|
maxHeight: o = "16.25rem",
|
|
839
842
|
className: i = "",
|
|
840
843
|
handleClick: l = () => {
|
|
841
844
|
}
|
|
842
|
-
}, f) => /* @__PURE__ */
|
|
845
|
+
}, f) => /* @__PURE__ */ n(
|
|
843
846
|
qe,
|
|
844
847
|
{
|
|
845
848
|
ref: f,
|
|
846
849
|
maxHeight: o,
|
|
847
850
|
onClick: l,
|
|
848
851
|
className: `itemless-banner ${i}`,
|
|
849
|
-
children: /* @__PURE__ */
|
|
852
|
+
children: /* @__PURE__ */ n("img", { src: t, alt: `itemless-banner__${e}` })
|
|
850
853
|
}
|
|
851
854
|
)
|
|
852
855
|
);
|
|
@@ -860,7 +863,7 @@ ue.propTypes = {
|
|
|
860
863
|
const Je = Pe(pe), gr = z(
|
|
861
864
|
({
|
|
862
865
|
sellerType: e = "Shop",
|
|
863
|
-
items:
|
|
866
|
+
items: t = [],
|
|
864
867
|
title: o,
|
|
865
868
|
icon: i,
|
|
866
869
|
isLoading: l,
|
|
@@ -891,7 +894,7 @@ const Je = Pe(pe), gr = z(
|
|
|
891
894
|
}
|
|
892
895
|
}, K) => {
|
|
893
896
|
const T = me(), H = ze(() => {
|
|
894
|
-
let U =
|
|
897
|
+
let U = t == null ? void 0 : t.map((r, G) => /* @__PURE__ */ n(
|
|
895
898
|
Je,
|
|
896
899
|
{
|
|
897
900
|
className: "campaign-item",
|
|
@@ -932,9 +935,9 @@ const Je = Pe(pe), gr = z(
|
|
|
932
935
|
},
|
|
933
936
|
`campaign__item__${G}__${r == null ? void 0 : r.startDate}___${r == null ? void 0 : r.endDate}`
|
|
934
937
|
));
|
|
935
|
-
return (
|
|
938
|
+
return (t == null ? void 0 : t.length) < 2 && !T ? [
|
|
936
939
|
...U,
|
|
937
|
-
/* @__PURE__ */
|
|
940
|
+
/* @__PURE__ */ n(
|
|
938
941
|
ue,
|
|
939
942
|
{
|
|
940
943
|
imageUrl: A,
|
|
@@ -943,14 +946,14 @@ const Je = Pe(pe), gr = z(
|
|
|
943
946
|
}
|
|
944
947
|
)
|
|
945
948
|
] : U;
|
|
946
|
-
}, [
|
|
947
|
-
return /* @__PURE__ */
|
|
949
|
+
}, [t]);
|
|
950
|
+
return /* @__PURE__ */ n(
|
|
948
951
|
Xe,
|
|
949
952
|
{
|
|
950
953
|
isLoading: l,
|
|
951
954
|
itemsCount: T ? 1 : 2,
|
|
952
955
|
keyPrefix: "sales-camp",
|
|
953
|
-
children: /* @__PURE__ */
|
|
956
|
+
children: /* @__PURE__ */ n(
|
|
954
957
|
fe,
|
|
955
958
|
{
|
|
956
959
|
icon: i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-lSjkOR95.cjs"),v=require("./Button.cjs"),p=require("./suspense-categories-card-simple-CjGtzfzp.cjs"),M=w.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${a=>"repeat(6, minmax(0, 1fr))"};
|
|
4
4
|
gap: 2rem;
|
|
@@ -4,7 +4,7 @@ import { s as M } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as N } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import { k as p } from "./utils-BdsZgOUE.js";
|
|
7
|
-
import { R as I } from "./style-
|
|
7
|
+
import { R as I } from "./style-BLuyU97E.js";
|
|
8
8
|
import R from "./Button.js";
|
|
9
9
|
import { C as B, S as L } from "./suspense-categories-card-simple-BGj475Ca.js";
|
|
10
10
|
const P = M.div`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),n=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./Button.cjs"),S=require("./suspense-product-card-detailed-
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),n=require("react"),P=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),q=require("./Button.cjs"),S=require("./suspense-product-card-detailed-DYyH_jf5.cjs"),N=P.styled.div`
|
|
2
2
|
padding: 1.75rem 3rem;
|
|
3
3
|
display: grid;
|
|
4
4
|
grid-template-columns: ${o=>`repeat(${o.limit||5}, minmax(0, 1fr))`};
|
|
@@ -4,7 +4,7 @@ import { s as F } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as I, S as T } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as _ } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import B from "./Button.js";
|
|
7
|
-
import { D, S as E } from "./suspense-product-card-detailed-
|
|
7
|
+
import { D, S as E } from "./suspense-product-card-detailed-BWoxabjZ.js";
|
|
8
8
|
const j = F.div`
|
|
9
9
|
padding: 1.75rem 3rem;
|
|
10
10
|
display: grid;
|
|
@@ -62,6 +62,10 @@
|
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
+
& .button-link {
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
|
|
65
69
|
& i {
|
|
66
70
|
font-size: 1.5rem;
|
|
67
71
|
color: var(--primary-500, #f59e0b);
|
|
@@ -73,7 +77,7 @@
|
|
|
73
77
|
font-size: 1.375rem;
|
|
74
78
|
}
|
|
75
79
|
}
|
|
76
|
-
`,s=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",
|
|
80
|
+
`,s=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",o=t.styled.div`
|
|
77
81
|
font-size: 0.75rem;
|
|
78
82
|
font-weight: 500;
|
|
79
83
|
padding: 0 0.5rem;
|
|
@@ -85,4 +89,4 @@
|
|
|
85
89
|
max-width: 12.5rem;
|
|
86
90
|
${e=>s(e.color)}
|
|
87
91
|
${r.truncateText()}
|
|
88
|
-
`;exports.BlogTag=
|
|
92
|
+
`;exports.BlogTag=o;exports.RegulatTitleSectionWrapper=i;exports.TitleWithOptionsSectionWrapper=n;
|