@lanaco/lnc-react-ui 4.0.200 → 4.0.201
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/BannerSectionCarousel.cjs +4 -4
- package/dist/BannerSectionCarousel.js +51 -542
- 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/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/GiftCardsSection.cjs +1 -1
- package/dist/GiftCardsSection.js +1 -1
- package/dist/PartnerBrandsSection.cjs +62 -0
- package/dist/PartnerBrandsSection.js +154 -0
- package/dist/PartnerStatsSection.cjs +100 -0
- package/dist/PartnerStatsSection.js +124 -0
- package/dist/ProductsWithBannerSection.cjs +1 -1
- package/dist/ProductsWithBannerSection.js +1 -1
- package/dist/SalesCampaignsSection.cjs +36 -26
- package/dist/SalesCampaignsSection.js +226 -213
- package/dist/SimpleCategoriesSection.cjs +1 -1
- package/dist/SimpleCategoriesSection.js +1 -1
- package/dist/index-BppfjY8h.js +497 -0
- package/dist/index-DeS-oqJB.cjs +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +23 -19
- package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
- package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
- package/package.json +4 -2
- package/vite.config.js +8 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),d=require("react"),s=require("./utils-RnrgDDZP.cjs"),y=require("./Icon.cjs"),x=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),d=require("react"),s=require("./utils-RnrgDDZP.cjs"),y=require("./Icon.cjs"),x=require("./style-B4kAj6YU.cjs"),R=require("./index-uwl7BjRF.cjs"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),N=require("./consts-goSZX3xP.cjs"),$=require("./Button.cjs"),z=require("./index-D0IYt1s3.cjs"),I=j.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
|
@@ -2,7 +2,7 @@ import { jsxs as a, jsx as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef as z, useRef as I, memo as R, useMemo as B } from "react";
|
|
3
3
|
import { m as S, q as C, s as O, v as N, k as b } from "./utils-DtEfC-TX.js";
|
|
4
4
|
import v from "./Icon.js";
|
|
5
|
-
import { B as U } from "./style-
|
|
5
|
+
import { B as U } from "./style-neMbLWE6.js";
|
|
6
6
|
import { P as M } from "./index-B22BZVBG.js";
|
|
7
7
|
import { s as $ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
8
|
import { M as k } from "./consts-BuFChS64.js";
|
package/dist/BlogListSection.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),a=require("react"),P=require("./Icon.cjs"),R=require("./IconButton.cjs"),d=require("./utils-RnrgDDZP.cjs"),N=require("./index-uwl7BjRF.cjs"),q=require("./style-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),a=require("react"),P=require("./Icon.cjs"),R=require("./IconButton.cjs"),d=require("./utils-RnrgDDZP.cjs"),N=require("./index-uwl7BjRF.cjs"),q=require("./style-B4kAj6YU.cjs"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),W=require("./consts-goSZX3xP.cjs"),t=require("./style-BAcV7F53.cjs"),B=x.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
color: var(--gray-950);
|
|
4
4
|
display: flex;
|
package/dist/BlogListSection.js
CHANGED
|
@@ -4,7 +4,7 @@ import I from "./Icon.js";
|
|
|
4
4
|
import j from "./IconButton.js";
|
|
5
5
|
import { m as q, q as A, s as F, v as L, l as X } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import { P as Z } from "./index-B22BZVBG.js";
|
|
7
|
-
import { B as H } from "./style-
|
|
7
|
+
import { B as H } from "./style-neMbLWE6.js";
|
|
8
8
|
import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
9
9
|
import { M as T } from "./consts-BuFChS64.js";
|
|
10
10
|
import { b as s, S as l, c as g, a as i } from "./style-BwQ4djFC.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),u=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./consts-goSZX3xP.cjs"),L=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./utils-RnrgDDZP.cjs"),k=require("./style-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),u=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),R=require("./consts-goSZX3xP.cjs"),L=require("./useDetectMobile-zkbzoOGV.cjs"),a=require("./utils-RnrgDDZP.cjs"),k=require("./style-B4kAj6YU.cjs"),O=require("./Button.cjs"),q=require("./index-uwl7BjRF.cjs"),B=require("./index-D-3I_Ppj.cjs"),D=v.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${o=>`repeat(${o.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -4,7 +4,7 @@ import { s as C } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as L } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as D } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import { m as M, s as j, q as I, v as S, k as N } from "./utils-DtEfC-TX.js";
|
|
7
|
-
import { B as P, R as U } from "./style-
|
|
7
|
+
import { B as P, R as U } from "./style-neMbLWE6.js";
|
|
8
8
|
import W from "./Button.js";
|
|
9
9
|
import { P as E } from "./index-B22BZVBG.js";
|
|
10
10
|
import { S as _ } from "./index-CBMsUFkS.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),p=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),g=require("./utils-RnrgDDZP.cjs"),C=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),p=require("react"),j=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),R=require("./useDetectMobile-zkbzoOGV.cjs"),g=require("./utils-RnrgDDZP.cjs"),C=require("./style-B4kAj6YU.cjs"),M=require("./Button.cjs"),$=require("./Link.cjs"),T=require("./index-uwl7BjRF.cjs"),E=require("./index-D-3I_Ppj.cjs"),I=j.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -4,7 +4,7 @@ import { s as y } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as B } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as P } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import { w as U, m as W, k as v } from "./utils-DtEfC-TX.js";
|
|
7
|
-
import { B as z, R as j } from "./style-
|
|
7
|
+
import { B as z, R as j } from "./style-neMbLWE6.js";
|
|
8
8
|
import D from "./Button.js";
|
|
9
9
|
import E from "./Link.js";
|
|
10
10
|
import { P as A } from "./index-B22BZVBG.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),a=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),W=require("./useDetectMobile-zkbzoOGV.cjs"),k=require("./utils-RnrgDDZP.cjs"),T=require("./style-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),a=require("react"),S=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),W=require("./useDetectMobile-zkbzoOGV.cjs"),k=require("./utils-RnrgDDZP.cjs"),T=require("./style-B4kAj6YU.cjs"),E=require("./Button.cjs"),I=require("./Link.cjs"),M=require("./index-uwl7BjRF.cjs"),P=require("./index-CRk3vcd4.cjs"),s=require("./style-BAcV7F53.cjs"),O=S.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${r=>`repeat(${r.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -4,7 +4,7 @@ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
|
4
4
|
import { M as $ } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as U } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
6
|
import { m as D, k as C } from "./utils-DtEfC-TX.js";
|
|
7
|
-
import { T as K } from "./style-
|
|
7
|
+
import { T as K } from "./style-neMbLWE6.js";
|
|
8
8
|
import G from "./Button.js";
|
|
9
9
|
import H from "./Link.js";
|
|
10
10
|
import { P } from "./index-B22BZVBG.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),c=require("react"),Q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),W=require("./Button.cjs"),l=require("./utils-RnrgDDZP.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),G=require("./style-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),c=require("react"),Q=require("./emotion-styled.browser.esm-BtEseadx.cjs"),K=require("./consts-goSZX3xP.cjs"),W=require("./Button.cjs"),l=require("./utils-RnrgDDZP.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),G=require("./style-B4kAj6YU.cjs"),j=require("./index-CS4w87SW.cjs"),V=require("./index-CRk3vcd4.cjs"),X=require("./index-oYE1Pl7q.cjs"),Z=Q.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
|
@@ -5,7 +5,7 @@ import { M as G } from "./consts-BuFChS64.js";
|
|
|
5
5
|
import V from "./Button.js";
|
|
6
6
|
import { k as c } from "./utils-DtEfC-TX.js";
|
|
7
7
|
import { u as X } from "./useDetectMobile-Bkvj0VMa.js";
|
|
8
|
-
import { T as Z } from "./style-
|
|
8
|
+
import { T as Z } from "./style-neMbLWE6.js";
|
|
9
9
|
import { D as H, S as J } from "./index-BASX-BjS.js";
|
|
10
10
|
import { S as Y } from "./index-CwMCk9wV.js";
|
|
11
11
|
import { S as x } from "./index-4wvppFLx.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),f=require("react"),C=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),f=require("react"),C=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-B4kAj6YU.cjs"),u=require("./utils-RnrgDDZP.cjs"),R=require("./Button.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),t=require("./style-BAcV7F53.cjs"),L=g.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: ${i=>`repeat(${i.limit}, minmax(0, 1fr))`};
|
|
4
4
|
gap: 1.25rem;
|
package/dist/GiftCardsSection.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as i, jsx as r, Fragment as R } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as C, Suspense as $ } from "react";
|
|
3
3
|
import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
|
|
4
|
-
import { R as N } from "./style-
|
|
4
|
+
import { R as N } from "./style-neMbLWE6.js";
|
|
5
5
|
import { p as A, G as L, k as b } from "./utils-DtEfC-TX.js";
|
|
6
6
|
import W from "./Button.js";
|
|
7
7
|
import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),h=require("react"),g=require("./index-DeS-oqJB.cjs"),_=require("./Button.cjs"),p=require("./useDetectMobile-zkbzoOGV.cjs"),u=require("./style-B4kAj6YU.cjs"),b=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=b.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 1.5rem;
|
|
5
|
+
|
|
6
|
+
& .section__slider {
|
|
7
|
+
position: relative;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
& .slider__gradient {
|
|
11
|
+
position: absolute;
|
|
12
|
+
width: 7.5rem;
|
|
13
|
+
height: 100%;
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
z-index: 1;
|
|
16
|
+
opacity: 0.4;
|
|
17
|
+
top: 0;
|
|
18
|
+
|
|
19
|
+
&.left {
|
|
20
|
+
left: 0;
|
|
21
|
+
background: linear-gradient(to left, transparent, white);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&.right {
|
|
25
|
+
right: 0;
|
|
26
|
+
background: linear-gradient(to right, transparent, white);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.slider__container {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.slider__item {
|
|
35
|
+
padding-right: 1rem;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
& .section__item {
|
|
39
|
+
width: 100%;
|
|
40
|
+
height: 100%;
|
|
41
|
+
max-height: 3.75rem;
|
|
42
|
+
border-radius: 0.5rem;
|
|
43
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
44
|
+
overflow: hidden;
|
|
45
|
+
|
|
46
|
+
& img {
|
|
47
|
+
object-fit: cover;
|
|
48
|
+
width: 100%;
|
|
49
|
+
height: 100%;
|
|
50
|
+
filter: grayscale(100%);
|
|
51
|
+
transition: filter 0.3s ease;
|
|
52
|
+
|
|
53
|
+
&:hover {
|
|
54
|
+
filter: grayscale(0%);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&:hover {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
`,x=h.forwardRef(({title:l,buttonText:n,buttonLink:o,items:e,onSelectCard:d=()=>{},onButtonAction:t=()=>{}},m)=>{const c=p.useDetectMobile()?2:7,a=(e==null?void 0:e.length)>c;return r.jsxs(f,{children:[r.jsxs(u.SectionHeadingContainer,{children:[l&&r.jsx("div",{className:"heading__title",children:l}),n&&o&&r.jsx(_,{text:n,borderRadius:"curved",btnType:"tinted",className:"heading__action",color:"neutral",onClick:i=>{var s;(s=i==null?void 0:i.target)==null||s.blur(),t==null||t(o)}})]}),e&&(e==null?void 0:e.length)>0&&r.jsxs("div",{className:"section__slider",children:[a&&r.jsx("div",{className:"slider__gradient left"}),r.jsx(g.Carousel,{responsive:{desktop:{breakpoint:{max:9999,min:801},items:7,slidesToSlide:1,partialVisibilityGutter:10},mobile:{breakpoint:{max:800,min:0},items:2,slidesToSlide:1,partialVisibilityGutter:20}},draggable:!1,swipeable:!1,arrows:!1,infinite:a,autoPlay:a,autoPlaySpeed:2e3,partialVisible:a,customTransition:"transform 500ms linear",transitionDuration:500,containerClass:"slider__container",itemClass:"slider__item",children:e==null?void 0:e.map((i,s)=>r.jsx("div",{className:"section__item",onClick:()=>d(i),children:r.jsx("img",{src:i==null?void 0:i.imageUrl,alt:`Partner brand image ${s+1}`,loading:"lazy"})},`partner-brands-section-item__${s+1}`))}),a&&r.jsx("div",{className:"slider__gradient right"})]})]})});module.exports=x;
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { jsxs as s, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as g } from "react";
|
|
3
|
+
import { C as p } from "./index-BppfjY8h.js";
|
|
4
|
+
import f from "./Button.js";
|
|
5
|
+
import { u as m } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
+
import { S as _ } from "./style-neMbLWE6.js";
|
|
7
|
+
import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
+
const u = b.div`
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
gap: 1.5rem;
|
|
12
|
+
|
|
13
|
+
& .section__slider {
|
|
14
|
+
position: relative;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
& .slider__gradient {
|
|
18
|
+
position: absolute;
|
|
19
|
+
width: 7.5rem;
|
|
20
|
+
height: 100%;
|
|
21
|
+
pointer-events: none;
|
|
22
|
+
z-index: 1;
|
|
23
|
+
opacity: 0.4;
|
|
24
|
+
top: 0;
|
|
25
|
+
|
|
26
|
+
&.left {
|
|
27
|
+
left: 0;
|
|
28
|
+
background: linear-gradient(to left, transparent, white);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&.right {
|
|
32
|
+
right: 0;
|
|
33
|
+
background: linear-gradient(to right, transparent, white);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.slider__container {
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.slider__item {
|
|
42
|
+
padding-right: 1rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
& .section__item {
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
max-height: 3.75rem;
|
|
49
|
+
border-radius: 0.5rem;
|
|
50
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
|
|
53
|
+
& img {
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
width: 100%;
|
|
56
|
+
height: 100%;
|
|
57
|
+
filter: grayscale(100%);
|
|
58
|
+
transition: filter 0.3s ease;
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
filter: grayscale(0%);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
cursor: pointer;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
`, j = g(
|
|
70
|
+
({
|
|
71
|
+
title: o,
|
|
72
|
+
buttonText: n,
|
|
73
|
+
buttonLink: d,
|
|
74
|
+
items: e,
|
|
75
|
+
onSelectCard: c = () => {
|
|
76
|
+
},
|
|
77
|
+
onButtonAction: l = () => {
|
|
78
|
+
}
|
|
79
|
+
}, v) => {
|
|
80
|
+
const h = m() ? 2 : 7, a = (e == null ? void 0 : e.length) > h;
|
|
81
|
+
return /* @__PURE__ */ s(u, { children: [
|
|
82
|
+
/* @__PURE__ */ s(_, { children: [
|
|
83
|
+
o && /* @__PURE__ */ i("div", { className: "heading__title", children: o }),
|
|
84
|
+
n && d && /* @__PURE__ */ i(
|
|
85
|
+
f,
|
|
86
|
+
{
|
|
87
|
+
text: n,
|
|
88
|
+
borderRadius: "curved",
|
|
89
|
+
btnType: "tinted",
|
|
90
|
+
className: "heading__action",
|
|
91
|
+
color: "neutral",
|
|
92
|
+
onClick: (r) => {
|
|
93
|
+
var t;
|
|
94
|
+
(t = r == null ? void 0 : r.target) == null || t.blur(), l == null || l(d);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
99
|
+
e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ s("div", { className: "section__slider", children: [
|
|
100
|
+
a && /* @__PURE__ */ i("div", { className: "slider__gradient left" }),
|
|
101
|
+
/* @__PURE__ */ i(
|
|
102
|
+
p,
|
|
103
|
+
{
|
|
104
|
+
responsive: {
|
|
105
|
+
desktop: {
|
|
106
|
+
breakpoint: { max: 9999, min: 801 },
|
|
107
|
+
items: 7,
|
|
108
|
+
slidesToSlide: 1,
|
|
109
|
+
partialVisibilityGutter: 10
|
|
110
|
+
},
|
|
111
|
+
mobile: {
|
|
112
|
+
breakpoint: { max: 800, min: 0 },
|
|
113
|
+
items: 2,
|
|
114
|
+
slidesToSlide: 1,
|
|
115
|
+
partialVisibilityGutter: 20
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
draggable: !1,
|
|
119
|
+
swipeable: !1,
|
|
120
|
+
arrows: !1,
|
|
121
|
+
infinite: a,
|
|
122
|
+
autoPlay: a,
|
|
123
|
+
autoPlaySpeed: 2e3,
|
|
124
|
+
partialVisible: a,
|
|
125
|
+
customTransition: "transform 500ms linear",
|
|
126
|
+
transitionDuration: 500,
|
|
127
|
+
containerClass: "slider__container",
|
|
128
|
+
itemClass: "slider__item",
|
|
129
|
+
children: e == null ? void 0 : e.map((r, t) => /* @__PURE__ */ i(
|
|
130
|
+
"div",
|
|
131
|
+
{
|
|
132
|
+
className: "section__item",
|
|
133
|
+
onClick: () => c(r),
|
|
134
|
+
children: /* @__PURE__ */ i(
|
|
135
|
+
"img",
|
|
136
|
+
{
|
|
137
|
+
src: r == null ? void 0 : r.imageUrl,
|
|
138
|
+
alt: `Partner brand image ${t + 1}`,
|
|
139
|
+
loading: "lazy"
|
|
140
|
+
}
|
|
141
|
+
)
|
|
142
|
+
},
|
|
143
|
+
`partner-brands-section-item__${t + 1}`
|
|
144
|
+
))
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
a && /* @__PURE__ */ i("div", { className: "slider__gradient right" })
|
|
148
|
+
] })
|
|
149
|
+
] });
|
|
150
|
+
}
|
|
151
|
+
);
|
|
152
|
+
export {
|
|
153
|
+
j as default
|
|
154
|
+
};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),l=require("react"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),n=require("./utils-RnrgDDZP.cjs"),_=c.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: flex-start;
|
|
5
|
+
gap: 2rem;
|
|
6
|
+
align-self: stretch;
|
|
7
|
+
|
|
8
|
+
& .section__text {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
align-items: flex-start;
|
|
12
|
+
gap: 1rem;
|
|
13
|
+
align-self: stretch;
|
|
14
|
+
max-width: 50rem;
|
|
15
|
+
|
|
16
|
+
& .section__title {
|
|
17
|
+
color: var(--gray-900, #0c1520);
|
|
18
|
+
font-size: 2rem;
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 600;
|
|
21
|
+
line-height: 2.5rem;
|
|
22
|
+
${n.truncateTextInRows(2)}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
& .section__description {
|
|
26
|
+
color: var(--gray-700, #424b56);
|
|
27
|
+
font-size: 0.875rem;
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
line-height: 1.25rem;
|
|
31
|
+
letter-spacing: 0.0156rem;
|
|
32
|
+
${n.truncateTextInRows(2)}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
& .section__items {
|
|
37
|
+
display: flex;
|
|
38
|
+
|
|
39
|
+
& .section__item {
|
|
40
|
+
border-left: 4px solid #ffa36a;
|
|
41
|
+
height: 3rem;
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
align-items: flex-start;
|
|
45
|
+
flex: 1 0 0;
|
|
46
|
+
min-width: 12.5rem;
|
|
47
|
+
padding-left: 0.75rem;
|
|
48
|
+
|
|
49
|
+
& .item__title {
|
|
50
|
+
color: var(--gray-900, #0c1520);
|
|
51
|
+
font-size: 1.375rem;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
font-weight: 600;
|
|
54
|
+
line-height: 1.75rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
& .item__description {
|
|
58
|
+
color: var(--gray-600, #5a6573);
|
|
59
|
+
font-size: 0.875rem;
|
|
60
|
+
font-style: normal;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
line-height: 1.25rem;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
68
|
+
gap: 1.25rem;
|
|
69
|
+
|
|
70
|
+
& .section__text {
|
|
71
|
+
& .section__title {
|
|
72
|
+
font-size: 1.375rem;
|
|
73
|
+
line-height: 1.75rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
& .section__description {
|
|
77
|
+
${n.truncateTextInRows(5)}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
& .section__items {
|
|
82
|
+
& .section__item {
|
|
83
|
+
height: 3.5rem;
|
|
84
|
+
min-width: auto;
|
|
85
|
+
|
|
86
|
+
& .item__title {
|
|
87
|
+
font-size: 1rem;
|
|
88
|
+
line-height: 1.5rem;
|
|
89
|
+
letter-spacing: 0.0063rem;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
& .item__description {
|
|
93
|
+
font-size: 12px;
|
|
94
|
+
line-height: 1rem;
|
|
95
|
+
letter-spacing: 0.0313rem;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
`,m=l.forwardRef(({title:r,description:s,items:t},d)=>e.jsxs(_,{children:[e.jsxs("div",{className:"section__text",children:[r&&e.jsx("div",{className:"section__title",children:r}),s&&e.jsx("div",{className:"section__description",children:s})]}),t&&(t==null?void 0:t.length)>0&&e.jsx("div",{className:"section__items",children:t==null?void 0:t.map((i,o)=>e.jsxs("div",{className:"section__item",children:[e.jsx("div",{className:"item__title",children:i==null?void 0:i.title}),e.jsx("div",{className:"item__description",children:i==null?void 0:i.description})]},`partner-stats-section-item__${o+1}`))})]}));module.exports=m;
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { jsxs as r, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as a } from "react";
|
|
3
|
+
import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as m } from "./consts-BuFChS64.js";
|
|
5
|
+
import { m as n } from "./utils-DtEfC-TX.js";
|
|
6
|
+
const _ = c.div`
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
align-items: flex-start;
|
|
10
|
+
gap: 2rem;
|
|
11
|
+
align-self: stretch;
|
|
12
|
+
|
|
13
|
+
& .section__text {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: flex-start;
|
|
17
|
+
gap: 1rem;
|
|
18
|
+
align-self: stretch;
|
|
19
|
+
max-width: 50rem;
|
|
20
|
+
|
|
21
|
+
& .section__title {
|
|
22
|
+
color: var(--gray-900, #0c1520);
|
|
23
|
+
font-size: 2rem;
|
|
24
|
+
font-style: normal;
|
|
25
|
+
font-weight: 600;
|
|
26
|
+
line-height: 2.5rem;
|
|
27
|
+
${n(2)}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
& .section__description {
|
|
31
|
+
color: var(--gray-700, #424b56);
|
|
32
|
+
font-size: 0.875rem;
|
|
33
|
+
font-style: normal;
|
|
34
|
+
font-weight: 400;
|
|
35
|
+
line-height: 1.25rem;
|
|
36
|
+
letter-spacing: 0.0156rem;
|
|
37
|
+
${n(2)}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .section__items {
|
|
42
|
+
display: flex;
|
|
43
|
+
|
|
44
|
+
& .section__item {
|
|
45
|
+
border-left: 4px solid #ffa36a;
|
|
46
|
+
height: 3rem;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: column;
|
|
49
|
+
align-items: flex-start;
|
|
50
|
+
flex: 1 0 0;
|
|
51
|
+
min-width: 12.5rem;
|
|
52
|
+
padding-left: 0.75rem;
|
|
53
|
+
|
|
54
|
+
& .item__title {
|
|
55
|
+
color: var(--gray-900, #0c1520);
|
|
56
|
+
font-size: 1.375rem;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
font-weight: 600;
|
|
59
|
+
line-height: 1.75rem;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
& .item__description {
|
|
63
|
+
color: var(--gray-600, #5a6573);
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
line-height: 1.25rem;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@media (max-width: ${m + "px"}) {
|
|
73
|
+
gap: 1.25rem;
|
|
74
|
+
|
|
75
|
+
& .section__text {
|
|
76
|
+
& .section__title {
|
|
77
|
+
font-size: 1.375rem;
|
|
78
|
+
line-height: 1.75rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
& .section__description {
|
|
82
|
+
${n(5)}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
& .section__items {
|
|
87
|
+
& .section__item {
|
|
88
|
+
height: 3.5rem;
|
|
89
|
+
min-width: auto;
|
|
90
|
+
|
|
91
|
+
& .item__title {
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
line-height: 1.5rem;
|
|
94
|
+
letter-spacing: 0.0063rem;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
& .item__description {
|
|
98
|
+
font-size: 12px;
|
|
99
|
+
line-height: 1rem;
|
|
100
|
+
letter-spacing: 0.0313rem;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`, y = a(({ title: o, description: l, items: e }, d) => /* @__PURE__ */ r(_, { children: [
|
|
106
|
+
/* @__PURE__ */ r("div", { className: "section__text", children: [
|
|
107
|
+
o && /* @__PURE__ */ i("div", { className: "section__title", children: o }),
|
|
108
|
+
l && /* @__PURE__ */ i("div", { className: "section__description", children: l })
|
|
109
|
+
] }),
|
|
110
|
+
e && (e == null ? void 0 : e.length) > 0 && /* @__PURE__ */ i("div", { className: "section__items", children: e == null ? void 0 : e.map((t, s) => /* @__PURE__ */ r(
|
|
111
|
+
"div",
|
|
112
|
+
{
|
|
113
|
+
className: "section__item",
|
|
114
|
+
children: [
|
|
115
|
+
/* @__PURE__ */ i("div", { className: "item__title", children: t == null ? void 0 : t.title }),
|
|
116
|
+
/* @__PURE__ */ i("div", { className: "item__description", children: t == null ? void 0 : t.description })
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
`partner-stats-section-item__${s + 1}`
|
|
120
|
+
)) })
|
|
121
|
+
] }));
|
|
122
|
+
export {
|
|
123
|
+
y as default
|
|
124
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),d=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),w=require("./useDetectMobile-zkbzoOGV.cjs"),f=require("./style-
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),w=require("./useDetectMobile-zkbzoOGV.cjs"),f=require("./style-B4kAj6YU.cjs"),c=require("./utils-RnrgDDZP.cjs"),L=require("./index-uwl7BjRF.cjs"),i=require("./style-BAcV7F53.cjs"),W=g.styled.div`
|
|
2
2
|
width: 100%;
|
|
3
3
|
height: 22.5rem;
|
|
4
4
|
min-height: 22.5rem;
|
|
@@ -3,7 +3,7 @@ import { forwardRef as W, useRef as N, Suspense as U, memo as G, useMemo as M }
|
|
|
3
3
|
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as R } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as _ } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { R as j } from "./style-
|
|
6
|
+
import { R as j } from "./style-neMbLWE6.js";
|
|
7
7
|
import { m as B, l as I, k as C } from "./utils-DtEfC-TX.js";
|
|
8
8
|
import { P as L } from "./index-B22BZVBG.js";
|
|
9
9
|
import { b as s, a as i, S as u, c as b } from "./style-BwQ4djFC.js";
|