@lanaco/lnc-react-ui 4.0.200 → 4.0.202
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/PartnerBannerSection.cjs +105 -0
- package/dist/PartnerBannerSection.js +159 -0
- package/dist/PartnerBrandsSection.cjs +62 -0
- package/dist/PartnerBrandsSection.js +154 -0
- package/dist/PartnerCardsSection.cjs +134 -0
- package/dist/PartnerCardsSection.js +203 -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 +43 -35
- package/dist/{style-CkcozOY6.cjs → style-B4kAj6YU.cjs} +38 -8
- package/dist/{style-Cmlod7oq.js → style-neMbLWE6.js} +42 -11
- package/package.json +6 -2
- package/vite.config.js +16 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),x=require("./Icon.cjs"),_=require("./Popover.cjs"),f=require("./PopoverTrigger.cjs"),u=require("./PopoverContent.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),l=require("./utils-RnrgDDZP.cjs"),y=d.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 3rem;
|
|
5
|
+
border-radius: 1.25rem;
|
|
6
|
+
padding: 2rem;
|
|
7
|
+
background: #f4f6fb;
|
|
8
|
+
|
|
9
|
+
& .section__text {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 0.75rem;
|
|
13
|
+
|
|
14
|
+
& .section__title {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
width: 100%;
|
|
19
|
+
gap: 1rem;
|
|
20
|
+
|
|
21
|
+
& span {
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-size: 1.5rem;
|
|
24
|
+
leading-trim: none;
|
|
25
|
+
line-height: 2rem;
|
|
26
|
+
letter-spacing: 0%;
|
|
27
|
+
text-align: center;
|
|
28
|
+
color: var(--gray-900, #0c1520);
|
|
29
|
+
${l.truncateText()}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&::after {
|
|
33
|
+
content: "";
|
|
34
|
+
flex: 1;
|
|
35
|
+
height: 0.0625rem;
|
|
36
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&::before {
|
|
40
|
+
content: "";
|
|
41
|
+
flex: 1;
|
|
42
|
+
height: 0.0625rem;
|
|
43
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
& .section__description {
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
font-size: 0.875rem;
|
|
50
|
+
leading-trim: none;
|
|
51
|
+
line-height: 1.25rem;
|
|
52
|
+
letter-spacing: 0.0156rem;
|
|
53
|
+
text-align: center;
|
|
54
|
+
color: var(--gray-700, #424b56);
|
|
55
|
+
${l.truncateTextInRows(2)}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& .section__items {
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: center;
|
|
62
|
+
flex-wrap: wrap;
|
|
63
|
+
gap: 1.5rem;
|
|
64
|
+
|
|
65
|
+
& .section__item {
|
|
66
|
+
width: 100%;
|
|
67
|
+
height: 100%;
|
|
68
|
+
max-width: 16.25rem;
|
|
69
|
+
max-height: 7.5rem;
|
|
70
|
+
border-radius: 0.5rem;
|
|
71
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
72
|
+
overflow: hidden;
|
|
73
|
+
|
|
74
|
+
& img {
|
|
75
|
+
object-fit: cover;
|
|
76
|
+
width: 100%;
|
|
77
|
+
height: 100%;
|
|
78
|
+
filter: grayscale(100%);
|
|
79
|
+
transition: filter 0.3s ease;
|
|
80
|
+
|
|
81
|
+
&:hover {
|
|
82
|
+
filter: grayscale(0%);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@media (max-width: ${v.MOBILE_SIZE_PX+"px"}) {
|
|
93
|
+
padding: 1rem;
|
|
94
|
+
|
|
95
|
+
& .section__text {
|
|
96
|
+
& .section__title {
|
|
97
|
+
font-size: 1.25rem;
|
|
98
|
+
line-height: 1.75rem;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
& .section__items {
|
|
103
|
+
display: grid;
|
|
104
|
+
grid-template-columns: ${()=>"repeat(2, minmax(0, auto))"};
|
|
105
|
+
justify-items: center;
|
|
106
|
+
gap: 1rem;
|
|
107
|
+
|
|
108
|
+
& .section__trigger {
|
|
109
|
+
width: 100% !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
& .section__item {
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
max-height: 5rem;
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
`,w=d.styled.div`
|
|
119
|
+
width: 100%;
|
|
120
|
+
height: 100%;
|
|
121
|
+
max-width: 16.25rem;
|
|
122
|
+
max-height: 12.5rem;
|
|
123
|
+
border-radius: 0.75rem;
|
|
124
|
+
padding: 1.25rem;
|
|
125
|
+
background: var(--gray-200, #e4e9f0);
|
|
126
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
127
|
+
|
|
128
|
+
font-weight: 400;
|
|
129
|
+
font-size: 0.75rem;
|
|
130
|
+
leading-trim: none;
|
|
131
|
+
line-height: 1rem;
|
|
132
|
+
letter-spacing: 0.025rem;
|
|
133
|
+
color: var(--gray-900, #0c1520);
|
|
134
|
+
`,j=c.forwardRef(({icon:o,title:s,description:i,items:r,onSelectCard:g=()=>{}},b)=>{const[m,a]=c.useState(null),h=t=>{a(t)},p=()=>{a(null)};return e.jsxs(y,{children:[e.jsxs("div",{className:"section__text",children:[o&&e.jsx(x,{icon:o,sizeInUnits:"2.5rem",color:"warning",className:"section__icon"}),s&&e.jsx("div",{className:"section__title",children:e.jsx("span",{children:s})}),i&&e.jsx("div",{className:"section__description",children:i})]}),r&&(r==null?void 0:r.length)>0&&e.jsx("div",{className:"section__items",children:r==null?void 0:r.map((t,n)=>e.jsxs(_,{open:n===m,placement:"top-end",offsetValue:4,children:[e.jsx(f,{className:"section__trigger",children:e.jsx("div",{className:"section__item",onMouseEnter:()=>{h(n)},onMouseLeave:p,onClick:()=>{g(t)},children:e.jsx("img",{src:t==null?void 0:t.imageUrl,alt:`Partner card image ${n+1}`,loading:"lazy"})})}),e.jsx(u,{style:{padding:0,borderRadius:12},children:e.jsx(w,{children:i})})]},`partner-cards-section-item__${n+1}`))})]})});module.exports=j;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as h, useState as f } from "react";
|
|
3
|
+
import _ from "./Icon.js";
|
|
4
|
+
import x from "./Popover.js";
|
|
5
|
+
import u from "./PopoverTrigger.js";
|
|
6
|
+
import v from "./PopoverContent.js";
|
|
7
|
+
import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
+
import { M as y } from "./consts-BuFChS64.js";
|
|
9
|
+
import { t as w, m as b } from "./utils-DtEfC-TX.js";
|
|
10
|
+
const P = l.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: 3rem;
|
|
14
|
+
border-radius: 1.25rem;
|
|
15
|
+
padding: 2rem;
|
|
16
|
+
background: #f4f6fb;
|
|
17
|
+
|
|
18
|
+
& .section__text {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: 0.75rem;
|
|
22
|
+
|
|
23
|
+
& .section__title {
|
|
24
|
+
display: flex;
|
|
25
|
+
justify-content: center;
|
|
26
|
+
align-items: center;
|
|
27
|
+
width: 100%;
|
|
28
|
+
gap: 1rem;
|
|
29
|
+
|
|
30
|
+
& span {
|
|
31
|
+
font-weight: 600;
|
|
32
|
+
font-size: 1.5rem;
|
|
33
|
+
leading-trim: none;
|
|
34
|
+
line-height: 2rem;
|
|
35
|
+
letter-spacing: 0%;
|
|
36
|
+
text-align: center;
|
|
37
|
+
color: var(--gray-900, #0c1520);
|
|
38
|
+
${w()}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&::after {
|
|
42
|
+
content: "";
|
|
43
|
+
flex: 1;
|
|
44
|
+
height: 0.0625rem;
|
|
45
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&::before {
|
|
49
|
+
content: "";
|
|
50
|
+
flex: 1;
|
|
51
|
+
height: 0.0625rem;
|
|
52
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
& .section__description {
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
font-size: 0.875rem;
|
|
59
|
+
leading-trim: none;
|
|
60
|
+
line-height: 1.25rem;
|
|
61
|
+
letter-spacing: 0.0156rem;
|
|
62
|
+
text-align: center;
|
|
63
|
+
color: var(--gray-700, #424b56);
|
|
64
|
+
${b(2)}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
& .section__items {
|
|
69
|
+
display: flex;
|
|
70
|
+
justify-content: center;
|
|
71
|
+
flex-wrap: wrap;
|
|
72
|
+
gap: 1.5rem;
|
|
73
|
+
|
|
74
|
+
& .section__item {
|
|
75
|
+
width: 100%;
|
|
76
|
+
height: 100%;
|
|
77
|
+
max-width: 16.25rem;
|
|
78
|
+
max-height: 7.5rem;
|
|
79
|
+
border-radius: 0.5rem;
|
|
80
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
|
|
83
|
+
& img {
|
|
84
|
+
object-fit: cover;
|
|
85
|
+
width: 100%;
|
|
86
|
+
height: 100%;
|
|
87
|
+
filter: grayscale(100%);
|
|
88
|
+
transition: filter 0.3s ease;
|
|
89
|
+
|
|
90
|
+
&:hover {
|
|
91
|
+
filter: grayscale(0%);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&:hover {
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@media (max-width: ${y + "px"}) {
|
|
102
|
+
padding: 1rem;
|
|
103
|
+
|
|
104
|
+
& .section__text {
|
|
105
|
+
& .section__title {
|
|
106
|
+
font-size: 1.25rem;
|
|
107
|
+
line-height: 1.75rem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
& .section__items {
|
|
112
|
+
display: grid;
|
|
113
|
+
grid-template-columns: ${() => "repeat(2, minmax(0, auto))"};
|
|
114
|
+
justify-items: center;
|
|
115
|
+
gap: 1rem;
|
|
116
|
+
|
|
117
|
+
& .section__trigger {
|
|
118
|
+
width: 100% !important;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
& .section__item {
|
|
122
|
+
max-width: 100%;
|
|
123
|
+
max-height: 5rem;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
`, N = l.div`
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
max-width: 16.25rem;
|
|
131
|
+
max-height: 12.5rem;
|
|
132
|
+
border-radius: 0.75rem;
|
|
133
|
+
padding: 1.25rem;
|
|
134
|
+
background: var(--gray-200, #e4e9f0);
|
|
135
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
136
|
+
|
|
137
|
+
font-weight: 400;
|
|
138
|
+
font-size: 0.75rem;
|
|
139
|
+
leading-trim: none;
|
|
140
|
+
line-height: 1rem;
|
|
141
|
+
letter-spacing: 0.025rem;
|
|
142
|
+
color: var(--gray-900, #0c1520);
|
|
143
|
+
`, S = h(
|
|
144
|
+
({ icon: a, title: c, description: n, items: r, onSelectCard: m = () => {
|
|
145
|
+
} }, j) => {
|
|
146
|
+
const [d, s] = f(null), g = (t) => {
|
|
147
|
+
s(t);
|
|
148
|
+
}, p = () => {
|
|
149
|
+
s(null);
|
|
150
|
+
};
|
|
151
|
+
return /* @__PURE__ */ o(P, { children: [
|
|
152
|
+
/* @__PURE__ */ o("div", { className: "section__text", children: [
|
|
153
|
+
a && /* @__PURE__ */ e(
|
|
154
|
+
_,
|
|
155
|
+
{
|
|
156
|
+
icon: a,
|
|
157
|
+
sizeInUnits: "2.5rem",
|
|
158
|
+
color: "warning",
|
|
159
|
+
className: "section__icon"
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
c && /* @__PURE__ */ e("div", { className: "section__title", children: /* @__PURE__ */ e("span", { children: c }) }),
|
|
163
|
+
n && /* @__PURE__ */ e("div", { className: "section__description", children: n })
|
|
164
|
+
] }),
|
|
165
|
+
r && (r == null ? void 0 : r.length) > 0 && /* @__PURE__ */ e("div", { className: "section__items", children: r == null ? void 0 : r.map((t, i) => /* @__PURE__ */ o(
|
|
166
|
+
x,
|
|
167
|
+
{
|
|
168
|
+
open: i === d,
|
|
169
|
+
placement: "top-end",
|
|
170
|
+
offsetValue: 4,
|
|
171
|
+
children: [
|
|
172
|
+
/* @__PURE__ */ e(u, { className: "section__trigger", children: /* @__PURE__ */ e(
|
|
173
|
+
"div",
|
|
174
|
+
{
|
|
175
|
+
className: "section__item",
|
|
176
|
+
onMouseEnter: () => {
|
|
177
|
+
g(i);
|
|
178
|
+
},
|
|
179
|
+
onMouseLeave: p,
|
|
180
|
+
onClick: () => {
|
|
181
|
+
m(t);
|
|
182
|
+
},
|
|
183
|
+
children: /* @__PURE__ */ e(
|
|
184
|
+
"img",
|
|
185
|
+
{
|
|
186
|
+
src: t == null ? void 0 : t.imageUrl,
|
|
187
|
+
alt: `Partner card image ${i + 1}`,
|
|
188
|
+
loading: "lazy"
|
|
189
|
+
}
|
|
190
|
+
)
|
|
191
|
+
}
|
|
192
|
+
) }),
|
|
193
|
+
/* @__PURE__ */ e(v, { style: { padding: 0, borderRadius: 12 }, children: /* @__PURE__ */ e(N, { children: n }) })
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
`partner-cards-section-item__${i + 1}`
|
|
197
|
+
)) })
|
|
198
|
+
] });
|
|
199
|
+
}
|
|
200
|
+
);
|
|
201
|
+
export {
|
|
202
|
+
S as default
|
|
203
|
+
};
|
|
@@ -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";
|