@lanaco/lnc-react-ui 4.0.202 → 4.0.203
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.
|
@@ -79,12 +79,12 @@
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
& .text__action {
|
|
82
|
-
background: var(--white);
|
|
83
|
-
color: var(--
|
|
82
|
+
background: var(--white, #fff);
|
|
83
|
+
color: var(--neutral-600, #0f2a46);
|
|
84
84
|
|
|
85
85
|
&:hover {
|
|
86
86
|
background: var(--primary-500, #f59e0b);
|
|
87
|
-
color: var(--white);
|
|
87
|
+
color: var(--white, #fff);
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
max-height: 14.5rem;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,
|
|
117
|
+
`,S=p.forwardRef(({title:r,imageUrl:t,description:a,buttonText:o,onSelectCard:c=()=>{},className:m,position:g,tag:l,backgroundColor:h,buttonLink:x,LinkComponent:u},f)=>{const _=u||"a",w=b.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(y,{ref:f,theme:w,className:m,position:g,backgroundColor:h,onClick:c,as:_,...u?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__text",children:[l&&e.jsx("div",{className:"text__tag",children:l}),e.jsx("div",{className:"text__title",children:r}),i.isDefinedNotEmptyString(a)&&e.jsx("div",{className:"text__description",children:a}),i.isDefinedNotEmptyString(o)&&e.jsx(j,{text:o,className:"text__action"})]})]})})}),k=s.styled.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-direction: column;
|
|
120
120
|
gap: 1.5rem;
|
|
@@ -179,4 +179,4 @@
|
|
|
179
179
|
flex-direction: column;
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
`,E=({keyPrefix:r})=>e.jsxs(v,{children:[e.jsx(n.SkeletonColumnWrapper,{children:e.jsx(n.SkeletonLinePlaceholder,{height:"31.25rem",className:"skeleton__big"},`${r}-1`)}),e.jsxs(n.SkeletonColumnWrapper,{children:[e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-3`)]}),e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-4`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-5`)]})]})]}),G=({keyPrefix:r,isLoading:t=!1,fallbackComponent:
|
|
182
|
+
`,E=({keyPrefix:r})=>e.jsxs(v,{children:[e.jsx(n.SkeletonColumnWrapper,{children:e.jsx(n.SkeletonLinePlaceholder,{height:"31.25rem",className:"skeleton__big"},`${r}-1`)}),e.jsxs(n.SkeletonColumnWrapper,{children:[e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-2`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-3`)]}),e.jsxs(n.SkeletonRowWrapper,{noGradient:!0,children:[e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-4`),e.jsx(n.SkeletonLinePlaceholder,{height:"15rem"},`${r}-5`)]})]})]}),G=({keyPrefix:r,isLoading:t=!1,fallbackComponent:a=e.jsx(e.Fragment,{}),children:o})=>e.jsx(p.Suspense,{fallbackComponent:a,children:t===!0?e.jsx(E,{keyPrefix:r}):o}),N=p.forwardRef(({title:r,items:t,isLoading:a=!1,limit:o=3,onSelectCard:c=()=>{},LinkComponent:m},g)=>e.jsxs(k,{ref:g,children:[e.jsx("div",{className:"regular-title",children:e.jsx("div",{className:"regular-title-text",children:e.jsx("span",{children:r})})}),e.jsx(G,{isLoading:a,keyPrefix:"masonry-general-cards-skeleton",children:e.jsx($,{limit:o,children:t&&(t==null?void 0:t.map((l,h)=>e.jsx(S,{...l,onSelectCard:()=>c(l),LinkComponent:m},`landing-page-masonry-general-card__${h+1}`)))})})]}));module.exports=N;
|
|
@@ -99,12 +99,12 @@ const z = s.a`
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
& .text__action {
|
|
102
|
-
background: var(--white);
|
|
103
|
-
color: var(--
|
|
102
|
+
background: var(--white, #fff);
|
|
103
|
+
color: var(--neutral-600, #0f2a46);
|
|
104
104
|
|
|
105
105
|
&:hover {
|
|
106
106
|
background: var(--primary-500, #f59e0b);
|
|
107
|
-
color: var(--white);
|
|
107
|
+
color: var(--white, #fff);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
@@ -139,12 +139,12 @@ const z = s.a`
|
|
|
139
139
|
title: e,
|
|
140
140
|
imageUrl: t,
|
|
141
141
|
description: a,
|
|
142
|
-
buttonText:
|
|
142
|
+
buttonText: n,
|
|
143
143
|
onSelectCard: c = () => {
|
|
144
144
|
},
|
|
145
145
|
className: g,
|
|
146
146
|
position: h,
|
|
147
|
-
tag:
|
|
147
|
+
tag: o,
|
|
148
148
|
backgroundColor: p,
|
|
149
149
|
buttonLink: x,
|
|
150
150
|
LinkComponent: u
|
|
@@ -168,13 +168,13 @@ const z = s.a`
|
|
|
168
168
|
children: [
|
|
169
169
|
/* @__PURE__ */ r("img", { src: t, className: "wrapper__image" }),
|
|
170
170
|
/* @__PURE__ */ i("div", { className: "wrapper__text", children: [
|
|
171
|
-
|
|
171
|
+
o && /* @__PURE__ */ r("div", { className: "text__tag", children: o }),
|
|
172
172
|
/* @__PURE__ */ r("div", { className: "text__title", children: e }),
|
|
173
173
|
w(a) && /* @__PURE__ */ r("div", { className: "text__description", children: a }),
|
|
174
|
-
w(
|
|
174
|
+
w(n) && /* @__PURE__ */ r(
|
|
175
175
|
C,
|
|
176
176
|
{
|
|
177
|
-
text:
|
|
177
|
+
text: n,
|
|
178
178
|
className: "text__action"
|
|
179
179
|
}
|
|
180
180
|
)
|
|
@@ -271,13 +271,13 @@ const z = s.a`
|
|
|
271
271
|
keyPrefix: e,
|
|
272
272
|
isLoading: t = !1,
|
|
273
273
|
fallbackComponent: a = /* @__PURE__ */ r($, {}),
|
|
274
|
-
children:
|
|
275
|
-
}) => /* @__PURE__ */ r(N, { fallbackComponent: a, children: t === !0 ? /* @__PURE__ */ r(R, { keyPrefix: e }) :
|
|
274
|
+
children: n
|
|
275
|
+
}) => /* @__PURE__ */ r(N, { fallbackComponent: a, children: t === !0 ? /* @__PURE__ */ r(R, { keyPrefix: e }) : n }), Z = v(
|
|
276
276
|
({
|
|
277
277
|
title: e,
|
|
278
278
|
items: t,
|
|
279
279
|
isLoading: a = !1,
|
|
280
|
-
limit:
|
|
280
|
+
limit: n = 3,
|
|
281
281
|
onSelectCard: c = () => {
|
|
282
282
|
},
|
|
283
283
|
LinkComponent: g
|
|
@@ -288,11 +288,11 @@ const z = s.a`
|
|
|
288
288
|
{
|
|
289
289
|
isLoading: a,
|
|
290
290
|
keyPrefix: "masonry-general-cards-skeleton",
|
|
291
|
-
children: /* @__PURE__ */ r(E, { limit:
|
|
291
|
+
children: /* @__PURE__ */ r(E, { limit: n, children: t && (t == null ? void 0 : t.map((o, p) => /* @__PURE__ */ r(
|
|
292
292
|
M,
|
|
293
293
|
{
|
|
294
|
-
...
|
|
295
|
-
onSelectCard: () => c(
|
|
294
|
+
...o,
|
|
295
|
+
onSelectCard: () => c(o),
|
|
296
296
|
LinkComponent: g
|
|
297
297
|
},
|
|
298
298
|
`landing-page-masonry-general-card__${p + 1}`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),a=require("react"),b=require("./Icon.cjs"),j=require("./Button.cjs"),q=require("./Popover.cjs"),N=require("./PopoverTrigger.cjs"),z=require("./PopoverContent.cjs"),P=require("./Drawer.cjs"),C=require("./useDetectMobile-zkbzoOGV.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),k=require("./consts-goSZX3xP.cjs"),p=require("./utils-RnrgDDZP.cjs"),$=_.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 3rem;
|
|
@@ -6,6 +6,46 @@
|
|
|
6
6
|
padding: 2rem;
|
|
7
7
|
background: #f4f6fb;
|
|
8
8
|
|
|
9
|
+
& .section__drawer {
|
|
10
|
+
background: white !important;
|
|
11
|
+
opacity: 1;
|
|
12
|
+
padding-top: 0.5rem;
|
|
13
|
+
padding-bottom: 2.125rem;
|
|
14
|
+
border-top-left-radius: 1rem;
|
|
15
|
+
border-top-right-radius: 1rem;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
|
|
19
|
+
& .drawer__image {
|
|
20
|
+
max-height: 4rem;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
& .drawer__content {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
gap: 1.25rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
& .drawer__description {
|
|
30
|
+
color: var(--gray-900, #0c1520);
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-size: 0.875rem;
|
|
33
|
+
leading-trim: none;
|
|
34
|
+
line-height: 1.25rem;
|
|
35
|
+
letter-spacing: 0.0156rem;
|
|
36
|
+
text-align: center;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& .drawer__action {
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
font-style: medium;
|
|
42
|
+
font-size: 0.875rem;
|
|
43
|
+
leading-trim: none;
|
|
44
|
+
line-height: 1.25rem;
|
|
45
|
+
letter-spacing: -0.0056rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
9
49
|
& .section__text {
|
|
10
50
|
display: flex;
|
|
11
51
|
flex-direction: column;
|
|
@@ -26,7 +66,7 @@
|
|
|
26
66
|
letter-spacing: 0%;
|
|
27
67
|
text-align: center;
|
|
28
68
|
color: var(--gray-900, #0c1520);
|
|
29
|
-
${
|
|
69
|
+
${p.truncateText()}
|
|
30
70
|
}
|
|
31
71
|
|
|
32
72
|
&::after {
|
|
@@ -52,7 +92,7 @@
|
|
|
52
92
|
letter-spacing: 0.0156rem;
|
|
53
93
|
text-align: center;
|
|
54
94
|
color: var(--gray-700, #424b56);
|
|
55
|
-
${
|
|
95
|
+
${p.truncateTextInRows(2)}
|
|
56
96
|
}
|
|
57
97
|
}
|
|
58
98
|
|
|
@@ -89,7 +129,7 @@
|
|
|
89
129
|
}
|
|
90
130
|
}
|
|
91
131
|
|
|
92
|
-
@media (max-width: ${
|
|
132
|
+
@media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
|
|
93
133
|
padding: 1rem;
|
|
94
134
|
|
|
95
135
|
& .section__text {
|
|
@@ -115,7 +155,7 @@
|
|
|
115
155
|
}
|
|
116
156
|
}
|
|
117
157
|
}
|
|
118
|
-
`,
|
|
158
|
+
`,I=_.styled.div`
|
|
119
159
|
width: 100%;
|
|
120
160
|
height: 100%;
|
|
121
161
|
max-width: 16.25rem;
|
|
@@ -131,4 +171,4 @@
|
|
|
131
171
|
line-height: 1rem;
|
|
132
172
|
letter-spacing: 0.025rem;
|
|
133
173
|
color: var(--gray-900, #0c1520);
|
|
134
|
-
`,
|
|
174
|
+
`,D=a.forwardRef(({icon:s,title:c,description:l,items:t,learnMoreText:u="Learn more",onSelectCard:d=()=>{}},M)=>{const g=C.useDetectMobile(),o=a.useRef(null),[x,m]=a.useState(null),[i,h]=a.useState(null),f=r=>{m(r)},w=()=>{m(null)},v=r=>{var n;h(r),(n=o==null?void 0:o.current)==null||n.open()},y=()=>{h(null)};return e.jsxs($,{children:[e.jsxs("div",{className:"section__text",children:[s&&e.jsx(b,{icon:s,sizeInUnits:"2.5rem",color:"warning",className:"section__icon"}),c&&e.jsx("div",{className:"section__title",children:e.jsx("span",{children:c})}),l&&e.jsx("div",{className:"section__description",children:l})]}),t&&(t==null?void 0:t.length)>0&&e.jsx("div",{className:"section__items",children:g?t==null?void 0:t.map((r,n)=>e.jsx("div",{className:"section__item",onClick:()=>v(r),children:e.jsx("img",{src:r==null?void 0:r.imageUrl,alt:`Partner card image ${n+1}`,loading:"lazy"})},`partner-cards-section-item__${n+1}`)):t==null?void 0:t.map((r,n)=>e.jsxs(q,{open:n===x,placement:"top-end",offsetValue:4,children:[e.jsx(N,{className:"section__trigger",children:e.jsx("div",{className:"section__item",onMouseEnter:()=>f(n),onMouseLeave:w,onClick:()=>d(r),children:e.jsx("img",{src:r==null?void 0:r.imageUrl,alt:`Partner card image ${n+1}`,loading:"lazy"})})}),e.jsx(z,{style:{padding:0,borderRadius:12},children:e.jsx(I,{children:r==null?void 0:r.description})})]},`partner-cards-section-item__${n+1}`))}),g&&e.jsxs(P,{ref:o,direction:"bottom",className:"section__drawer",onClose:y,children:[e.jsx("img",{src:i==null?void 0:i.imageUrl,alt:"Drawer image",className:"drawer__image",loading:"lazy"}),e.jsxs("div",{className:"drawer__content",children:[e.jsx("div",{className:"drawer__description",children:i==null?void 0:i.description}),e.jsx(j,{text:u,btnType:"outline",borderRadius:"curved",trailingIcon:"fa-light fa-up-right-from-square fa-xs",color:"neutral",className:"drawer__action",onClick:()=>d(i)})]})]})]})});module.exports=D;
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
|
|
1
|
+
import { jsxs as i, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as b, useRef as N, useState as h } from "react";
|
|
3
|
+
import z from "./Icon.js";
|
|
4
|
+
import P from "./Button.js";
|
|
5
|
+
import C from "./Popover.js";
|
|
6
|
+
import k from "./PopoverTrigger.js";
|
|
7
|
+
import $ from "./PopoverContent.js";
|
|
8
|
+
import I from "./Drawer.js";
|
|
9
|
+
import { u as j } from "./useDetectMobile-Bkvj0VMa.js";
|
|
10
|
+
import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
11
|
+
import { M } from "./consts-BuFChS64.js";
|
|
12
|
+
import { t as D, m as O } from "./utils-DtEfC-TX.js";
|
|
13
|
+
const R = f.div`
|
|
11
14
|
display: flex;
|
|
12
15
|
flex-direction: column;
|
|
13
16
|
gap: 3rem;
|
|
@@ -15,6 +18,46 @@ const P = l.div`
|
|
|
15
18
|
padding: 2rem;
|
|
16
19
|
background: #f4f6fb;
|
|
17
20
|
|
|
21
|
+
& .section__drawer {
|
|
22
|
+
background: white !important;
|
|
23
|
+
opacity: 1;
|
|
24
|
+
padding-top: 0.5rem;
|
|
25
|
+
padding-bottom: 2.125rem;
|
|
26
|
+
border-top-left-radius: 1rem;
|
|
27
|
+
border-top-right-radius: 1rem;
|
|
28
|
+
display: flex;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
|
|
31
|
+
& .drawer__image {
|
|
32
|
+
max-height: 4rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
& .drawer__content {
|
|
36
|
+
display: flex;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
gap: 1.25rem;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
& .drawer__description {
|
|
42
|
+
color: var(--gray-900, #0c1520);
|
|
43
|
+
font-weight: 400;
|
|
44
|
+
font-size: 0.875rem;
|
|
45
|
+
leading-trim: none;
|
|
46
|
+
line-height: 1.25rem;
|
|
47
|
+
letter-spacing: 0.0156rem;
|
|
48
|
+
text-align: center;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
& .drawer__action {
|
|
52
|
+
font-weight: 500;
|
|
53
|
+
font-style: medium;
|
|
54
|
+
font-size: 0.875rem;
|
|
55
|
+
leading-trim: none;
|
|
56
|
+
line-height: 1.25rem;
|
|
57
|
+
letter-spacing: -0.0056rem;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
18
61
|
& .section__text {
|
|
19
62
|
display: flex;
|
|
20
63
|
flex-direction: column;
|
|
@@ -35,7 +78,7 @@ const P = l.div`
|
|
|
35
78
|
letter-spacing: 0%;
|
|
36
79
|
text-align: center;
|
|
37
80
|
color: var(--gray-900, #0c1520);
|
|
38
|
-
${
|
|
81
|
+
${D()}
|
|
39
82
|
}
|
|
40
83
|
|
|
41
84
|
&::after {
|
|
@@ -61,7 +104,7 @@ const P = l.div`
|
|
|
61
104
|
letter-spacing: 0.0156rem;
|
|
62
105
|
text-align: center;
|
|
63
106
|
color: var(--gray-700, #424b56);
|
|
64
|
-
${
|
|
107
|
+
${O(2)}
|
|
65
108
|
}
|
|
66
109
|
}
|
|
67
110
|
|
|
@@ -98,7 +141,7 @@ const P = l.div`
|
|
|
98
141
|
}
|
|
99
142
|
}
|
|
100
143
|
|
|
101
|
-
@media (max-width: ${
|
|
144
|
+
@media (max-width: ${M + "px"}) {
|
|
102
145
|
padding: 1rem;
|
|
103
146
|
|
|
104
147
|
& .section__text {
|
|
@@ -124,7 +167,7 @@ const P = l.div`
|
|
|
124
167
|
}
|
|
125
168
|
}
|
|
126
169
|
}
|
|
127
|
-
`,
|
|
170
|
+
`, T = f.div`
|
|
128
171
|
width: 100%;
|
|
129
172
|
height: 100%;
|
|
130
173
|
max-width: 16.25rem;
|
|
@@ -140,64 +183,122 @@ const P = l.div`
|
|
|
140
183
|
line-height: 1rem;
|
|
141
184
|
letter-spacing: 0.025rem;
|
|
142
185
|
color: var(--gray-900, #0c1520);
|
|
143
|
-
`,
|
|
144
|
-
({
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
186
|
+
`, J = b(
|
|
187
|
+
({
|
|
188
|
+
icon: c,
|
|
189
|
+
title: l,
|
|
190
|
+
description: s,
|
|
191
|
+
items: t,
|
|
192
|
+
learnMoreText: _ = "Learn more",
|
|
193
|
+
onSelectCard: d = () => {
|
|
194
|
+
}
|
|
195
|
+
}, U) => {
|
|
196
|
+
const m = j(), a = N(null), [u, g] = h(null), [o, p] = h(null), x = (e) => {
|
|
197
|
+
g(e);
|
|
198
|
+
}, w = () => {
|
|
199
|
+
g(null);
|
|
200
|
+
}, v = (e) => {
|
|
201
|
+
var n;
|
|
202
|
+
p(e), (n = a == null ? void 0 : a.current) == null || n.open();
|
|
203
|
+
}, y = () => {
|
|
204
|
+
p(null);
|
|
150
205
|
};
|
|
151
|
-
return /* @__PURE__ */
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
|
|
154
|
-
|
|
206
|
+
return /* @__PURE__ */ i(R, { children: [
|
|
207
|
+
/* @__PURE__ */ i("div", { className: "section__text", children: [
|
|
208
|
+
c && /* @__PURE__ */ r(
|
|
209
|
+
z,
|
|
155
210
|
{
|
|
156
|
-
icon:
|
|
211
|
+
icon: c,
|
|
157
212
|
sizeInUnits: "2.5rem",
|
|
158
213
|
color: "warning",
|
|
159
214
|
className: "section__icon"
|
|
160
215
|
}
|
|
161
216
|
),
|
|
162
|
-
|
|
163
|
-
|
|
217
|
+
l && /* @__PURE__ */ r("div", { className: "section__title", children: /* @__PURE__ */ r("span", { children: l }) }),
|
|
218
|
+
s && /* @__PURE__ */ r("div", { className: "section__description", children: s })
|
|
164
219
|
] }),
|
|
165
|
-
|
|
166
|
-
|
|
220
|
+
t && (t == null ? void 0 : t.length) > 0 && /* @__PURE__ */ r("div", { className: "section__items", children: m ? t == null ? void 0 : t.map((e, n) => /* @__PURE__ */ r(
|
|
221
|
+
"div",
|
|
167
222
|
{
|
|
168
|
-
|
|
223
|
+
className: "section__item",
|
|
224
|
+
onClick: () => v(e),
|
|
225
|
+
children: /* @__PURE__ */ r(
|
|
226
|
+
"img",
|
|
227
|
+
{
|
|
228
|
+
src: e == null ? void 0 : e.imageUrl,
|
|
229
|
+
alt: `Partner card image ${n + 1}`,
|
|
230
|
+
loading: "lazy"
|
|
231
|
+
}
|
|
232
|
+
)
|
|
233
|
+
},
|
|
234
|
+
`partner-cards-section-item__${n + 1}`
|
|
235
|
+
)) : t == null ? void 0 : t.map((e, n) => /* @__PURE__ */ i(
|
|
236
|
+
C,
|
|
237
|
+
{
|
|
238
|
+
open: n === u,
|
|
169
239
|
placement: "top-end",
|
|
170
240
|
offsetValue: 4,
|
|
171
241
|
children: [
|
|
172
|
-
/* @__PURE__ */
|
|
242
|
+
/* @__PURE__ */ r(k, { className: "section__trigger", children: /* @__PURE__ */ r(
|
|
173
243
|
"div",
|
|
174
244
|
{
|
|
175
245
|
className: "section__item",
|
|
176
|
-
onMouseEnter: () =>
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
onClick: () => {
|
|
181
|
-
m(t);
|
|
182
|
-
},
|
|
183
|
-
children: /* @__PURE__ */ e(
|
|
246
|
+
onMouseEnter: () => x(n),
|
|
247
|
+
onMouseLeave: w,
|
|
248
|
+
onClick: () => d(e),
|
|
249
|
+
children: /* @__PURE__ */ r(
|
|
184
250
|
"img",
|
|
185
251
|
{
|
|
186
|
-
src:
|
|
187
|
-
alt: `Partner card image ${
|
|
252
|
+
src: e == null ? void 0 : e.imageUrl,
|
|
253
|
+
alt: `Partner card image ${n + 1}`,
|
|
188
254
|
loading: "lazy"
|
|
189
255
|
}
|
|
190
256
|
)
|
|
191
257
|
}
|
|
192
258
|
) }),
|
|
193
|
-
/* @__PURE__ */
|
|
259
|
+
/* @__PURE__ */ r($, { style: { padding: 0, borderRadius: 12 }, children: /* @__PURE__ */ r(T, { children: e == null ? void 0 : e.description }) })
|
|
194
260
|
]
|
|
195
261
|
},
|
|
196
|
-
`partner-cards-section-item__${
|
|
197
|
-
)) })
|
|
262
|
+
`partner-cards-section-item__${n + 1}`
|
|
263
|
+
)) }),
|
|
264
|
+
m && /* @__PURE__ */ i(
|
|
265
|
+
I,
|
|
266
|
+
{
|
|
267
|
+
ref: a,
|
|
268
|
+
direction: "bottom",
|
|
269
|
+
className: "section__drawer",
|
|
270
|
+
onClose: y,
|
|
271
|
+
children: [
|
|
272
|
+
/* @__PURE__ */ r(
|
|
273
|
+
"img",
|
|
274
|
+
{
|
|
275
|
+
src: o == null ? void 0 : o.imageUrl,
|
|
276
|
+
alt: "Drawer image",
|
|
277
|
+
className: "drawer__image",
|
|
278
|
+
loading: "lazy"
|
|
279
|
+
}
|
|
280
|
+
),
|
|
281
|
+
/* @__PURE__ */ i("div", { className: "drawer__content", children: [
|
|
282
|
+
/* @__PURE__ */ r("div", { className: "drawer__description", children: o == null ? void 0 : o.description }),
|
|
283
|
+
/* @__PURE__ */ r(
|
|
284
|
+
P,
|
|
285
|
+
{
|
|
286
|
+
text: _,
|
|
287
|
+
btnType: "outline",
|
|
288
|
+
borderRadius: "curved",
|
|
289
|
+
trailingIcon: "fa-light fa-up-right-from-square fa-xs",
|
|
290
|
+
color: "neutral",
|
|
291
|
+
className: "drawer__action",
|
|
292
|
+
onClick: () => d(o)
|
|
293
|
+
}
|
|
294
|
+
)
|
|
295
|
+
] })
|
|
296
|
+
]
|
|
297
|
+
}
|
|
298
|
+
)
|
|
198
299
|
] });
|
|
199
300
|
}
|
|
200
301
|
);
|
|
201
302
|
export {
|
|
202
|
-
|
|
303
|
+
J as default
|
|
203
304
|
};
|