@lanaco/lnc-react-ui 4.0.201 → 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.
- package/dist/MasonryGeneralCardsSection.cjs +5 -5
- package/dist/MasonryGeneralCardsSection.js +14 -14
- package/dist/PartnerBannerSection.cjs +105 -0
- package/dist/PartnerBannerSection.js +159 -0
- package/dist/PartnerCardsSection.cjs +174 -0
- package/dist/PartnerCardsSection.js +304 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +33 -29
- package/package.json +3 -1
- package/vite.config.js +8 -0
|
@@ -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}`
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),m=require("react"),d=require("./Icon.cjs"),g=require("./Button.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),h=_.styled.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
height: 100%;
|
|
4
|
+
max-height: 19rem;
|
|
5
|
+
padding: 2rem;
|
|
6
|
+
align-items: flex-start;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
background: ${e=>e!=null&&e.imageUrl?`url("${e==null?void 0:e.imageUrl}")`:"white"};
|
|
10
|
+
background-size: cover;
|
|
11
|
+
background-repeat: no-repeat;
|
|
12
|
+
background-position: center;
|
|
13
|
+
border-radius: 1.25rem;
|
|
14
|
+
gap: 2rem;
|
|
15
|
+
|
|
16
|
+
& .section__text {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
align-items: flex-start;
|
|
20
|
+
gap: 1rem;
|
|
21
|
+
align-self: stretch;
|
|
22
|
+
max-width: 50rem;
|
|
23
|
+
|
|
24
|
+
& .section__title {
|
|
25
|
+
color: var(--white, #fff);
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
font-size: 2rem;
|
|
28
|
+
leading-trim: none;
|
|
29
|
+
line-height: 2.5rem;
|
|
30
|
+
letter-spacing: 0%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
& .section__description {
|
|
34
|
+
color: var(--white, #fff);
|
|
35
|
+
font-weight: 400;
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
leading-trim: none;
|
|
38
|
+
line-height: 1.25rem;
|
|
39
|
+
letter-spacing: 0.0156rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
& .section__items {
|
|
44
|
+
display: grid;
|
|
45
|
+
grid-template-columns: ${()=>"repeat(2, minmax(0, auto))"};
|
|
46
|
+
row-gap: 0.75rem;
|
|
47
|
+
column-gap: 3rem;
|
|
48
|
+
|
|
49
|
+
& .section__item {
|
|
50
|
+
display: flex;
|
|
51
|
+
gap: 0.5rem;
|
|
52
|
+
|
|
53
|
+
& .item__text {
|
|
54
|
+
color: var(--white, #fff);
|
|
55
|
+
font-weight: 400;
|
|
56
|
+
font-size: 0.75rem;
|
|
57
|
+
leading-trim: none;
|
|
58
|
+
line-height: 1rem;
|
|
59
|
+
letter-spacing: 0.025rem;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
& .section__action {
|
|
65
|
+
background: var(--white, #fff);
|
|
66
|
+
color: var(--gray-950, #14161a);
|
|
67
|
+
font-size: 0.875rem;
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
line-height: 1.25rem;
|
|
71
|
+
|
|
72
|
+
&:hover {
|
|
73
|
+
color: var(--gray-700, #4e555f);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:focus {
|
|
77
|
+
outline: none;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
@media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
|
|
82
|
+
max-height: 100%;
|
|
83
|
+
padding: 1.5rem;
|
|
84
|
+
|
|
85
|
+
& .section__text {
|
|
86
|
+
max-width: 100%;
|
|
87
|
+
|
|
88
|
+
& .section__title {
|
|
89
|
+
font-size: 1.375rem;
|
|
90
|
+
line-height: 1.75rem;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
& .section__items {
|
|
95
|
+
display: flex;
|
|
96
|
+
flex-direction: column;
|
|
97
|
+
gap: 0.75rem;
|
|
98
|
+
|
|
99
|
+
& .section__item {
|
|
100
|
+
display: flex;
|
|
101
|
+
gap: 0.5rem;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
`,x=m.forwardRef(({title:e,description:r,imageUrl:s,items:t,buttonText:n,buttonLink:o,onButtonAction:a=()=>{}},u)=>i.jsxs(h,{imageUrl:s,children:[i.jsxs("div",{className:"section__text",children:[e&&i.jsx("div",{className:"section__title",children:e}),r&&i.jsx("div",{className:"section__description",children:r})]}),t&&(t==null?void 0:t.length)>0&&i.jsx("div",{className:"section__items",children:t==null?void 0:t.map((c,l)=>i.jsxs("div",{className:"section__item",children:[i.jsx(d,{icon:" mng-lnc-checkmark--outline",sizeInUnits:"1rem",color:"success",className:"item__icon"}),i.jsx("div",{className:"item__text",children:c})]},`partner-banner-section-item__${l+1}`))}),n&&o&&i.jsx(g,{text:n,onClick:()=>a(o),borderRadius:"curved",color:"gray",className:"section__action"})]}));module.exports=x;
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as d } from "react";
|
|
3
|
+
import f from "./Icon.js";
|
|
4
|
+
import g from "./Button.js";
|
|
5
|
+
import { s as _ } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
6
|
+
import { M as h } from "./consts-BuFChS64.js";
|
|
7
|
+
const p = _.div`
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 100%;
|
|
10
|
+
max-height: 19rem;
|
|
11
|
+
padding: 2rem;
|
|
12
|
+
align-items: flex-start;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
justify-content: space-between;
|
|
15
|
+
background: ${(e) => e != null && e.imageUrl ? `url("${e == null ? void 0 : e.imageUrl}")` : "white"};
|
|
16
|
+
background-size: cover;
|
|
17
|
+
background-repeat: no-repeat;
|
|
18
|
+
background-position: center;
|
|
19
|
+
border-radius: 1.25rem;
|
|
20
|
+
gap: 2rem;
|
|
21
|
+
|
|
22
|
+
& .section__text {
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
gap: 1rem;
|
|
27
|
+
align-self: stretch;
|
|
28
|
+
max-width: 50rem;
|
|
29
|
+
|
|
30
|
+
& .section__title {
|
|
31
|
+
color: var(--white, #fff);
|
|
32
|
+
font-weight: 600;
|
|
33
|
+
font-size: 2rem;
|
|
34
|
+
leading-trim: none;
|
|
35
|
+
line-height: 2.5rem;
|
|
36
|
+
letter-spacing: 0%;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
& .section__description {
|
|
40
|
+
color: var(--white, #fff);
|
|
41
|
+
font-weight: 400;
|
|
42
|
+
font-size: 0.875rem;
|
|
43
|
+
leading-trim: none;
|
|
44
|
+
line-height: 1.25rem;
|
|
45
|
+
letter-spacing: 0.0156rem;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .section__items {
|
|
50
|
+
display: grid;
|
|
51
|
+
grid-template-columns: ${() => "repeat(2, minmax(0, auto))"};
|
|
52
|
+
row-gap: 0.75rem;
|
|
53
|
+
column-gap: 3rem;
|
|
54
|
+
|
|
55
|
+
& .section__item {
|
|
56
|
+
display: flex;
|
|
57
|
+
gap: 0.5rem;
|
|
58
|
+
|
|
59
|
+
& .item__text {
|
|
60
|
+
color: var(--white, #fff);
|
|
61
|
+
font-weight: 400;
|
|
62
|
+
font-size: 0.75rem;
|
|
63
|
+
leading-trim: none;
|
|
64
|
+
line-height: 1rem;
|
|
65
|
+
letter-spacing: 0.025rem;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
& .section__action {
|
|
71
|
+
background: var(--white, #fff);
|
|
72
|
+
color: var(--gray-950, #14161a);
|
|
73
|
+
font-size: 0.875rem;
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 500;
|
|
76
|
+
line-height: 1.25rem;
|
|
77
|
+
|
|
78
|
+
&:hover {
|
|
79
|
+
color: var(--gray-700, #4e555f);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&:focus {
|
|
83
|
+
outline: none;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@media (max-width: ${h + "px"}) {
|
|
88
|
+
max-height: 100%;
|
|
89
|
+
padding: 1.5rem;
|
|
90
|
+
|
|
91
|
+
& .section__text {
|
|
92
|
+
max-width: 100%;
|
|
93
|
+
|
|
94
|
+
& .section__title {
|
|
95
|
+
font-size: 1.375rem;
|
|
96
|
+
line-height: 1.75rem;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
& .section__items {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-direction: column;
|
|
103
|
+
gap: 0.75rem;
|
|
104
|
+
|
|
105
|
+
& .section__item {
|
|
106
|
+
display: flex;
|
|
107
|
+
gap: 0.5rem;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
`, k = d(
|
|
112
|
+
({
|
|
113
|
+
title: e,
|
|
114
|
+
description: n,
|
|
115
|
+
imageUrl: c,
|
|
116
|
+
items: i,
|
|
117
|
+
buttonText: o,
|
|
118
|
+
buttonLink: a,
|
|
119
|
+
onButtonAction: l = () => {
|
|
120
|
+
}
|
|
121
|
+
}, x) => /* @__PURE__ */ r(p, { imageUrl: c, children: [
|
|
122
|
+
/* @__PURE__ */ r("div", { className: "section__text", children: [
|
|
123
|
+
e && /* @__PURE__ */ t("div", { className: "section__title", children: e }),
|
|
124
|
+
n && /* @__PURE__ */ t("div", { className: "section__description", children: n })
|
|
125
|
+
] }),
|
|
126
|
+
i && (i == null ? void 0 : i.length) > 0 && /* @__PURE__ */ t("div", { className: "section__items", children: i == null ? void 0 : i.map((s, m) => /* @__PURE__ */ r(
|
|
127
|
+
"div",
|
|
128
|
+
{
|
|
129
|
+
className: "section__item",
|
|
130
|
+
children: [
|
|
131
|
+
/* @__PURE__ */ t(
|
|
132
|
+
f,
|
|
133
|
+
{
|
|
134
|
+
icon: " mng-lnc-checkmark--outline",
|
|
135
|
+
sizeInUnits: "1rem",
|
|
136
|
+
color: "success",
|
|
137
|
+
className: "item__icon"
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
/* @__PURE__ */ t("div", { className: "item__text", children: s })
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
`partner-banner-section-item__${m + 1}`
|
|
144
|
+
)) }),
|
|
145
|
+
o && a && /* @__PURE__ */ t(
|
|
146
|
+
g,
|
|
147
|
+
{
|
|
148
|
+
text: o,
|
|
149
|
+
onClick: () => l(a),
|
|
150
|
+
borderRadius: "curved",
|
|
151
|
+
color: "gray",
|
|
152
|
+
className: "section__action"
|
|
153
|
+
}
|
|
154
|
+
)
|
|
155
|
+
] })
|
|
156
|
+
);
|
|
157
|
+
export {
|
|
158
|
+
k as default
|
|
159
|
+
};
|
|
@@ -0,0 +1,174 @@
|
|
|
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
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 3rem;
|
|
5
|
+
border-radius: 1.25rem;
|
|
6
|
+
padding: 2rem;
|
|
7
|
+
background: #f4f6fb;
|
|
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
|
+
|
|
49
|
+
& .section__text {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
gap: 0.75rem;
|
|
53
|
+
|
|
54
|
+
& .section__title {
|
|
55
|
+
display: flex;
|
|
56
|
+
justify-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
width: 100%;
|
|
59
|
+
gap: 1rem;
|
|
60
|
+
|
|
61
|
+
& span {
|
|
62
|
+
font-weight: 600;
|
|
63
|
+
font-size: 1.5rem;
|
|
64
|
+
leading-trim: none;
|
|
65
|
+
line-height: 2rem;
|
|
66
|
+
letter-spacing: 0%;
|
|
67
|
+
text-align: center;
|
|
68
|
+
color: var(--gray-900, #0c1520);
|
|
69
|
+
${p.truncateText()}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&::after {
|
|
73
|
+
content: "";
|
|
74
|
+
flex: 1;
|
|
75
|
+
height: 0.0625rem;
|
|
76
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&::before {
|
|
80
|
+
content: "";
|
|
81
|
+
flex: 1;
|
|
82
|
+
height: 0.0625rem;
|
|
83
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
& .section__description {
|
|
88
|
+
font-weight: 400;
|
|
89
|
+
font-size: 0.875rem;
|
|
90
|
+
leading-trim: none;
|
|
91
|
+
line-height: 1.25rem;
|
|
92
|
+
letter-spacing: 0.0156rem;
|
|
93
|
+
text-align: center;
|
|
94
|
+
color: var(--gray-700, #424b56);
|
|
95
|
+
${p.truncateTextInRows(2)}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
& .section__items {
|
|
100
|
+
display: flex;
|
|
101
|
+
justify-content: center;
|
|
102
|
+
flex-wrap: wrap;
|
|
103
|
+
gap: 1.5rem;
|
|
104
|
+
|
|
105
|
+
& .section__item {
|
|
106
|
+
width: 100%;
|
|
107
|
+
height: 100%;
|
|
108
|
+
max-width: 16.25rem;
|
|
109
|
+
max-height: 7.5rem;
|
|
110
|
+
border-radius: 0.5rem;
|
|
111
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
|
|
114
|
+
& img {
|
|
115
|
+
object-fit: cover;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 100%;
|
|
118
|
+
filter: grayscale(100%);
|
|
119
|
+
transition: filter 0.3s ease;
|
|
120
|
+
|
|
121
|
+
&:hover {
|
|
122
|
+
filter: grayscale(0%);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&:hover {
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
@media (max-width: ${k.MOBILE_SIZE_PX+"px"}) {
|
|
133
|
+
padding: 1rem;
|
|
134
|
+
|
|
135
|
+
& .section__text {
|
|
136
|
+
& .section__title {
|
|
137
|
+
font-size: 1.25rem;
|
|
138
|
+
line-height: 1.75rem;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
& .section__items {
|
|
143
|
+
display: grid;
|
|
144
|
+
grid-template-columns: ${()=>"repeat(2, minmax(0, auto))"};
|
|
145
|
+
justify-items: center;
|
|
146
|
+
gap: 1rem;
|
|
147
|
+
|
|
148
|
+
& .section__trigger {
|
|
149
|
+
width: 100% !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
& .section__item {
|
|
153
|
+
max-width: 100%;
|
|
154
|
+
max-height: 5rem;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
`,I=_.styled.div`
|
|
159
|
+
width: 100%;
|
|
160
|
+
height: 100%;
|
|
161
|
+
max-width: 16.25rem;
|
|
162
|
+
max-height: 12.5rem;
|
|
163
|
+
border-radius: 0.75rem;
|
|
164
|
+
padding: 1.25rem;
|
|
165
|
+
background: var(--gray-200, #e4e9f0);
|
|
166
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
167
|
+
|
|
168
|
+
font-weight: 400;
|
|
169
|
+
font-size: 0.75rem;
|
|
170
|
+
leading-trim: none;
|
|
171
|
+
line-height: 1rem;
|
|
172
|
+
letter-spacing: 0.025rem;
|
|
173
|
+
color: var(--gray-900, #0c1520);
|
|
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;
|
|
@@ -0,0 +1,304 @@
|
|
|
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`
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: 3rem;
|
|
17
|
+
border-radius: 1.25rem;
|
|
18
|
+
padding: 2rem;
|
|
19
|
+
background: #f4f6fb;
|
|
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
|
+
|
|
61
|
+
& .section__text {
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-direction: column;
|
|
64
|
+
gap: 0.75rem;
|
|
65
|
+
|
|
66
|
+
& .section__title {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
width: 100%;
|
|
71
|
+
gap: 1rem;
|
|
72
|
+
|
|
73
|
+
& span {
|
|
74
|
+
font-weight: 600;
|
|
75
|
+
font-size: 1.5rem;
|
|
76
|
+
leading-trim: none;
|
|
77
|
+
line-height: 2rem;
|
|
78
|
+
letter-spacing: 0%;
|
|
79
|
+
text-align: center;
|
|
80
|
+
color: var(--gray-900, #0c1520);
|
|
81
|
+
${D()}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&::after {
|
|
85
|
+
content: "";
|
|
86
|
+
flex: 1;
|
|
87
|
+
height: 0.0625rem;
|
|
88
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&::before {
|
|
92
|
+
content: "";
|
|
93
|
+
flex: 1;
|
|
94
|
+
height: 0.0625rem;
|
|
95
|
+
background-color: var(--gray-200, #e4e9f0);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
& .section__description {
|
|
100
|
+
font-weight: 400;
|
|
101
|
+
font-size: 0.875rem;
|
|
102
|
+
leading-trim: none;
|
|
103
|
+
line-height: 1.25rem;
|
|
104
|
+
letter-spacing: 0.0156rem;
|
|
105
|
+
text-align: center;
|
|
106
|
+
color: var(--gray-700, #424b56);
|
|
107
|
+
${O(2)}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
& .section__items {
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: center;
|
|
114
|
+
flex-wrap: wrap;
|
|
115
|
+
gap: 1.5rem;
|
|
116
|
+
|
|
117
|
+
& .section__item {
|
|
118
|
+
width: 100%;
|
|
119
|
+
height: 100%;
|
|
120
|
+
max-width: 16.25rem;
|
|
121
|
+
max-height: 7.5rem;
|
|
122
|
+
border-radius: 0.5rem;
|
|
123
|
+
border: 1px solid var(--gray-200, #e4e9f0);
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
|
|
126
|
+
& img {
|
|
127
|
+
object-fit: cover;
|
|
128
|
+
width: 100%;
|
|
129
|
+
height: 100%;
|
|
130
|
+
filter: grayscale(100%);
|
|
131
|
+
transition: filter 0.3s ease;
|
|
132
|
+
|
|
133
|
+
&:hover {
|
|
134
|
+
filter: grayscale(0%);
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&:hover {
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
@media (max-width: ${M + "px"}) {
|
|
145
|
+
padding: 1rem;
|
|
146
|
+
|
|
147
|
+
& .section__text {
|
|
148
|
+
& .section__title {
|
|
149
|
+
font-size: 1.25rem;
|
|
150
|
+
line-height: 1.75rem;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
& .section__items {
|
|
155
|
+
display: grid;
|
|
156
|
+
grid-template-columns: ${() => "repeat(2, minmax(0, auto))"};
|
|
157
|
+
justify-items: center;
|
|
158
|
+
gap: 1rem;
|
|
159
|
+
|
|
160
|
+
& .section__trigger {
|
|
161
|
+
width: 100% !important;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
& .section__item {
|
|
165
|
+
max-width: 100%;
|
|
166
|
+
max-height: 5rem;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
`, T = f.div`
|
|
171
|
+
width: 100%;
|
|
172
|
+
height: 100%;
|
|
173
|
+
max-width: 16.25rem;
|
|
174
|
+
max-height: 12.5rem;
|
|
175
|
+
border-radius: 0.75rem;
|
|
176
|
+
padding: 1.25rem;
|
|
177
|
+
background: var(--gray-200, #e4e9f0);
|
|
178
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
|
|
179
|
+
|
|
180
|
+
font-weight: 400;
|
|
181
|
+
font-size: 0.75rem;
|
|
182
|
+
leading-trim: none;
|
|
183
|
+
line-height: 1rem;
|
|
184
|
+
letter-spacing: 0.025rem;
|
|
185
|
+
color: var(--gray-900, #0c1520);
|
|
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);
|
|
205
|
+
};
|
|
206
|
+
return /* @__PURE__ */ i(R, { children: [
|
|
207
|
+
/* @__PURE__ */ i("div", { className: "section__text", children: [
|
|
208
|
+
c && /* @__PURE__ */ r(
|
|
209
|
+
z,
|
|
210
|
+
{
|
|
211
|
+
icon: c,
|
|
212
|
+
sizeInUnits: "2.5rem",
|
|
213
|
+
color: "warning",
|
|
214
|
+
className: "section__icon"
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
l && /* @__PURE__ */ r("div", { className: "section__title", children: /* @__PURE__ */ r("span", { children: l }) }),
|
|
218
|
+
s && /* @__PURE__ */ r("div", { className: "section__description", children: s })
|
|
219
|
+
] }),
|
|
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",
|
|
222
|
+
{
|
|
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,
|
|
239
|
+
placement: "top-end",
|
|
240
|
+
offsetValue: 4,
|
|
241
|
+
children: [
|
|
242
|
+
/* @__PURE__ */ r(k, { className: "section__trigger", children: /* @__PURE__ */ r(
|
|
243
|
+
"div",
|
|
244
|
+
{
|
|
245
|
+
className: "section__item",
|
|
246
|
+
onMouseEnter: () => x(n),
|
|
247
|
+
onMouseLeave: w,
|
|
248
|
+
onClick: () => d(e),
|
|
249
|
+
children: /* @__PURE__ */ r(
|
|
250
|
+
"img",
|
|
251
|
+
{
|
|
252
|
+
src: e == null ? void 0 : e.imageUrl,
|
|
253
|
+
alt: `Partner card image ${n + 1}`,
|
|
254
|
+
loading: "lazy"
|
|
255
|
+
}
|
|
256
|
+
)
|
|
257
|
+
}
|
|
258
|
+
) }),
|
|
259
|
+
/* @__PURE__ */ r($, { style: { padding: 0, borderRadius: 12 }, children: /* @__PURE__ */ r(T, { children: e == null ? void 0 : e.description }) })
|
|
260
|
+
]
|
|
261
|
+
},
|
|
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
|
+
)
|
|
299
|
+
] });
|
|
300
|
+
}
|
|
301
|
+
);
|
|
302
|
+
export {
|
|
303
|
+
J as default
|
|
304
|
+
};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),S=require("./TextInput.cjs"),l=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),B=require("./DataView.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./CheckBoxInput.cjs"),t=require("./ColorInput.cjs"),e=require("./DateInput.cjs"),n=require("./DecimalInput.cjs"),i=require("./DecimalInputV2.cjs"),c=require("./FileInput.cjs"),a=require("./NumberInput.cjs"),s=require("./PasswordInput.cjs"),u=require("./RadioInput.cjs"),d=require("./RangeSlider.cjs"),q=require("./TextAreaInput.cjs"),S=require("./TextInput.cjs"),l=require("./TimeInput.cjs"),p=require("./Badge.cjs"),g=require("./Chip.cjs"),B=require("./DataView.cjs"),C=require("./DetailsView.cjs"),m=require("./EditableTable.cjs"),I=require("./FormView.cjs"),D=require("./Kanban.cjs"),P=require("./KanbanCard-DihrKn-I.cjs"),b=require("./KanbanHeader.cjs"),T=require("./KanbanFooter.cjs"),F=require("./KanbanView.cjs"),w=require("./KanbanActionsToolbar.cjs"),h=require("./Table.cjs"),f=require("./TableView.cjs"),M=require("./ActionsToolbar.cjs"),A=require("./Alert.cjs"),v=require("./Notification.cjs"),G=require("./NotificationContainer.cjs"),x=require("./NotificationMessage.cjs"),L=require("./ProgressBar.cjs"),N=require("./Spinner.cjs"),y=require("./Avatar.cjs"),K=require("./Button.cjs"),V=require("./Icon.cjs"),W=require("./IconButton.cjs"),k=require("./Link.cjs"),H=require("./Surface.cjs"),R=require("./UploadedFile.cjs"),O=require("./DoubleRangeSlider.cjs"),E=require("./DragAndDropFile.cjs"),Q=require("./DragDropFiles.cjs"),U=require("./Dropdown.cjs"),z=require("./DropdownLookup.cjs"),j=require("./MultiSelectDropdown.cjs"),J=require("./MultiSelectDropdownLookup.cjs"),X=require("./RadioGroup.cjs"),Y=require("./SearchBar.cjs"),Z=require("./Toggle.cjs"),_=require("./ButtonGroup.cjs"),$=require("./Content.cjs"),ee=require("./FlexBox.cjs"),re=require("./FlexGrid.cjs"),oe=require("./FlexGridItem.cjs"),te=require("./Footer.cjs"),ne=require("./FormField.cjs"),ie=require("./Grid.cjs"),ce=require("./GridItem.cjs"),ae=require("./Header.cjs"),se=require("./PageLayout.cjs"),ue=require("./Sidebar.cjs"),de=require("./Tabs.cjs"),qe=require("./TabItem.cjs"),Se=require("./Accordion.cjs"),le=require("./AccordionSummary.cjs"),pe=require("./AccordionDetails.cjs"),ge=require("./Breadcrumbs.cjs"),Be=require("./ConfirmationForm.cjs"),Ce=require("./Drawer.cjs"),me=require("./DropdownMenu.cjs"),Ie=require("./DropdownItem.cjs"),De=require("./NestedDropdownItem.cjs"),Pe=require("./Separator.cjs"),be=require("./Modal.cjs"),Te=require("./Pagination.cjs"),Fe=require("./Popover.cjs"),we=require("./PopoverClose.cjs"),he=require("./PopoverHeading.cjs"),fe=require("./PopoverContent.cjs"),Me=require("./PopoverTrigger.cjs"),Ae=require("./PopoverDescription.cjs"),ve=require("./SwipeableDrawer.cjs"),Ge=require("./TreeMenu.cjs"),xe=require("./MenuItem.cjs"),Le=require("./NestedMenuItem.cjs"),Ne=require("./TreeMenuSeparator.cjs"),ye=require("./MasonryGeneralCardsSection.cjs"),Ke=require("./DetailedProductsSection.cjs"),Ve=require("./DetailedProductsInfinitiveSection.cjs"),We=require("./ProductsWithBannerSection.cjs"),ke=require("./SimpleProductsSection.cjs"),He=require("./UrgentSaleProductsSection.cjs"),Re=require("./BannerSectionCarousel.cjs"),Oe=require("./BannerSectionGrid.cjs"),Ee=require("./BannerSectionSimple.cjs"),Qe=require("./BannerSectionWithList.cjs"),Ue=require("./BannerSectionWithListImage.cjs"),ze=require("./GiftCardsSection.cjs"),je=require("./BrandHitsSection.cjs"),Je=require("./FieldOfInterestsMasonrySection.cjs"),Xe=require("./FieldOfInterestsWithAvatarsCardsSection.cjs"),Ye=require("./FieldOfInterestsWithTagsCardsSection.cjs"),Ze=require("./BannerSectionBasic.cjs"),_e=require("./GeneralWithTagsCardsSection.cjs"),$e=require("./ShopCardsSection.cjs"),er=require("./QuizSection.cjs"),rr=require("./SalesCampaignsSection.cjs"),or=require("./CalorieCalculatorSection.cjs"),tr=require("./BlogCategoryCardsSection.cjs"),nr=require("./BlogProductCardsSection.cjs"),ir=require("./BlogShopCardsSection.cjs"),cr=require("./BlogCardsSponsoredSection.cjs"),ar=require("./BlogListSection.cjs"),sr=require("./AdBannerSection.cjs"),ur=require("./QuattroCardsSection.cjs"),dr=require("./FeedbackSection.cjs"),qr=require("./HelpBannerSection.cjs"),Sr=require("./ContactSection.cjs"),lr=require("./FaqSection.cjs"),pr=require("./SearchSection-B94YN_6P.cjs"),gr=require("./StatsSection.cjs"),Br=require("./ToggleSection.cjs"),Cr=require("./BlogExploreSection.cjs"),mr=require("./BlogImagePathSection.cjs"),Ir=require("./BannerNextSection.cjs"),Dr=require("./PartnerCardsSection.cjs"),Pr=require("./PartnerBannerSection.cjs"),br=require("./PartnerStatsSection.cjs"),Tr=require("./PartnerBrandsSection.cjs"),r=require("./ThemeProvider.cjs"),Fr=require("./CustomStyles-C86XQqBE.cjs");exports.CheckBoxInput=o;exports.ColorInput=t;exports.DateInput=e.default;exports.registerLocale=e.registerLocale;exports.DecimalInput=n;exports.DecimalInputV2=i;exports.FileInput=c;exports.NumberInput=a;exports.PasswordInput=s;exports.RadioInput=u;exports.RangeSlider=d;exports.TextAreaInput=q;exports.TextInput=S;exports.TimeInput=l;exports.Badge=p;exports.Chip=g;exports.DataView=B;exports.DetailsView=C;exports.EditableTable=m;exports.FormView=I;exports.Kanban=D;exports.KanbanCard=P.KanbanCard;exports.KanbanHeader=b;exports.KanbanFooter=T;exports.KanbanView=F;exports.KanbanActionsToolbar=w;exports.Table=h.default;exports.TableView=f;exports.ActionsToolbar=M;exports.Alert=A;exports.Notification=v;exports.NotificationContainer=G;exports.NotificationMessage=x;exports.ProgressBar=L;exports.Spinner=N;exports.Avatar=y;exports.Button=K;exports.Icon=V;exports.IconButton=W;exports.Link=k;exports.Surface=H;exports.UploadedFile=R;exports.DoubleRangeSlider=O;exports.DragAndDropFile=E;exports.DragDropFiles=Q;exports.Dropdown=U.default;exports.DropdownLookup=z;exports.MultiSelectDropdown=j;exports.MultiSelectDropdownLookup=J;exports.RadioGroup=X;exports.SearchBar=Y;exports.Toggle=Z;exports.ButtonGroup=_;exports.Content=$;exports.FlexBox=ee;exports.FlexGrid=re;exports.FlexGridItem=oe;exports.Footer=te;exports.FormField=ne;exports.Grid=ie;exports.GridItem=ce;exports.Header=ae;exports.PageLayout=se;exports.Sidebar=ue;exports.Tabs=de;exports.TabItem=qe;exports.Accordion=Se;exports.AccordionSummary=le;exports.AccordionDetails=pe.default;exports.Breadcrumbs=ge;exports.ConfirmationForm=Be;exports.Drawer=Ce;exports.DropdownMenu=me;exports.DropdownItem=Ie;exports.NestedDropdownItem=De;exports.Separator=Pe;exports.Modal=be;exports.Pagination=Te;exports.Popover=Fe;exports.PopoverClose=we;exports.PopoverHeading=he;exports.PopoverContent=fe;exports.PopoverTrigger=Me;exports.PopoverDescription=Ae;exports.SwipeableDrawer=ve;exports.TreeMenu=Ge;exports.MenuItem=xe;exports.NestedMenuItem=Le;exports.TreeMenuSeparator=Ne;exports.MasonryGeneralCardsSection=ye;exports.DetailedProductsSection=Ke;exports.DetailedProductsInfinitiveSection=Ve;exports.ProductsWithBannerSection=We;exports.SimpleProductsSection=ke;exports.UrgentSaleProductsSection=He;exports.BannerSectionCarousel=Re;exports.BannerSectionGrid=Oe;exports.BannerSectionSimple=Ee;exports.BannerSectionWithList=Qe;exports.BannerSectionWithListImage=Ue;exports.GiftCardsSection=ze;exports.BrandHitsSection=je;exports.FieldOfInterestsMasonrySection=Je;exports.FieldOfInterestsWithAvatarsCardsSection=Xe;exports.FieldOfInterestsWithTagsCardsSection=Ye;exports.BannerSectionBasic=Ze;exports.GeneralWithTagsCardsSection=_e;exports.ShopCardsSection=$e;exports.QuizSection=er;exports.SalesCampaignsSection=rr;exports.CalorieCalculatorSection=or;exports.BlogCategoryCardsSection=tr;exports.BlogProductCardsSection=nr;exports.BlogShopCardsSection=ir;exports.BlogCardsSponsoredSection=cr;exports.BlogListSection=ar;exports.AdBannerSection=sr;exports.QuattroCardsSection=ur;exports.FeedbackSection=dr;exports.HelpBannerSection=qr;exports.ContactSection=Sr;exports.FaqSection=lr;exports.SearchSection=pr.SearchSection;exports.StatsSection=gr;exports.ToggleSection=Br;exports.BlogExploreSection=Cr;exports.BlogImagePathSection=mr;exports.BannerNextSection=Ir;exports.PartnerCardsSection=Dr;exports.PartnerBannerSection=Pr;exports.PartnerStatsSection=br;exports.PartnerBrandsSection=Tr;exports.ThemeProvider=r.default;exports.useTheme=r.useTheme;exports.components=Fr.components;
|
package/dist/index.js
CHANGED
|
@@ -6,9 +6,9 @@ import { default as m } from "./DecimalInputV2.js";
|
|
|
6
6
|
import { default as x } from "./FileInput.js";
|
|
7
7
|
import { default as c } from "./NumberInput.js";
|
|
8
8
|
import { default as g } from "./PasswordInput.js";
|
|
9
|
-
import { default as
|
|
9
|
+
import { default as C } from "./RadioInput.js";
|
|
10
10
|
import { default as D } from "./RangeSlider.js";
|
|
11
|
-
import { default as
|
|
11
|
+
import { default as b } from "./TextAreaInput.js";
|
|
12
12
|
import { default as F } from "./TextInput.js";
|
|
13
13
|
import { default as h } from "./TimeInput.js";
|
|
14
14
|
import { default as M } from "./Badge.js";
|
|
@@ -33,9 +33,9 @@ import { default as me } from "./NotificationMessage.js";
|
|
|
33
33
|
import { default as xe } from "./ProgressBar.js";
|
|
34
34
|
import { default as ce } from "./Spinner.js";
|
|
35
35
|
import { default as ge } from "./Avatar.js";
|
|
36
|
-
import { default as
|
|
36
|
+
import { default as Ce } from "./Button.js";
|
|
37
37
|
import { default as De } from "./Icon.js";
|
|
38
|
-
import { default as
|
|
38
|
+
import { default as be } from "./IconButton.js";
|
|
39
39
|
import { default as Fe } from "./Link.js";
|
|
40
40
|
import { default as he } from "./Surface.js";
|
|
41
41
|
import { default as Me } from "./UploadedFile.js";
|
|
@@ -60,8 +60,8 @@ import { default as no } from "./Grid.js";
|
|
|
60
60
|
import { default as io } from "./GridItem.js";
|
|
61
61
|
import { default as So } from "./Header.js";
|
|
62
62
|
import { default as Bo } from "./PageLayout.js";
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as
|
|
63
|
+
import { default as Io } from "./Sidebar.js";
|
|
64
|
+
import { default as Po } from "./Tabs.js";
|
|
65
65
|
import { default as To } from "./TabItem.js";
|
|
66
66
|
import { default as wo } from "./Accordion.js";
|
|
67
67
|
import { default as Ao } from "./AccordionSummary.js";
|
|
@@ -87,8 +87,8 @@ import { default as nt } from "./MenuItem.js";
|
|
|
87
87
|
import { default as it } from "./NestedMenuItem.js";
|
|
88
88
|
import { default as St } from "./TreeMenuSeparator.js";
|
|
89
89
|
import { default as Bt } from "./MasonryGeneralCardsSection.js";
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
90
|
+
import { default as It } from "./DetailedProductsSection.js";
|
|
91
|
+
import { default as Pt } from "./DetailedProductsInfinitiveSection.js";
|
|
92
92
|
import { default as Tt } from "./ProductsWithBannerSection.js";
|
|
93
93
|
import { default as wt } from "./SimpleProductsSection.js";
|
|
94
94
|
import { default as At } from "./UrgentSaleProductsSection.js";
|
|
@@ -114,8 +114,8 @@ import { default as nr } from "./BlogShopCardsSection.js";
|
|
|
114
114
|
import { default as ir } from "./BlogCardsSponsoredSection.js";
|
|
115
115
|
import { default as Sr } from "./BlogListSection.js";
|
|
116
116
|
import { default as Br } from "./AdBannerSection.js";
|
|
117
|
-
import { default as
|
|
118
|
-
import { default as
|
|
117
|
+
import { default as Ir } from "./QuattroCardsSection.js";
|
|
118
|
+
import { default as Pr } from "./FeedbackSection.js";
|
|
119
119
|
import { default as Tr } from "./HelpBannerSection.js";
|
|
120
120
|
import { default as wr } from "./ContactSection.js";
|
|
121
121
|
import { default as Ar } from "./FaqSection.js";
|
|
@@ -125,10 +125,12 @@ import { default as Nr } from "./ToggleSection.js";
|
|
|
125
125
|
import { default as Wr } from "./BlogExploreSection.js";
|
|
126
126
|
import { default as yr } from "./BlogImagePathSection.js";
|
|
127
127
|
import { default as Rr } from "./BannerNextSection.js";
|
|
128
|
-
import { default as Er } from "./
|
|
129
|
-
import { default as Ur } from "./
|
|
130
|
-
import { default as zr
|
|
131
|
-
import {
|
|
128
|
+
import { default as Er } from "./PartnerCardsSection.js";
|
|
129
|
+
import { default as Ur } from "./PartnerBannerSection.js";
|
|
130
|
+
import { default as zr } from "./PartnerStatsSection.js";
|
|
131
|
+
import { default as Jr } from "./PartnerBrandsSection.js";
|
|
132
|
+
import { default as Yr, useTheme as Zr } from "./ThemeProvider.js";
|
|
133
|
+
import { c as $r } from "./CustomStyles-DtWxboEM.js";
|
|
132
134
|
export {
|
|
133
135
|
wo as Accordion,
|
|
134
136
|
vo as AccordionDetails,
|
|
@@ -154,7 +156,7 @@ export {
|
|
|
154
156
|
nr as BlogShopCardsSection,
|
|
155
157
|
Et as BrandHitsSection,
|
|
156
158
|
Lo as Breadcrumbs,
|
|
157
|
-
|
|
159
|
+
Ce as Button,
|
|
158
160
|
Ze as ButtonGroup,
|
|
159
161
|
dr as CalorieCalculatorSection,
|
|
160
162
|
t as CheckBoxInput,
|
|
@@ -167,8 +169,8 @@ export {
|
|
|
167
169
|
d as DateInput,
|
|
168
170
|
p as DecimalInput,
|
|
169
171
|
m as DecimalInputV2,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
+
Pt as DetailedProductsInfinitiveSection,
|
|
173
|
+
It as DetailedProductsSection,
|
|
172
174
|
V as DetailsView,
|
|
173
175
|
Ge as DoubleRangeSlider,
|
|
174
176
|
Ke as DragAndDropFile,
|
|
@@ -180,7 +182,7 @@ export {
|
|
|
180
182
|
yo as DropdownMenu,
|
|
181
183
|
k as EditableTable,
|
|
182
184
|
Ar as FaqSection,
|
|
183
|
-
|
|
185
|
+
Pr as FeedbackSection,
|
|
184
186
|
Ut as FieldOfInterestsMasonrySection,
|
|
185
187
|
zt as FieldOfInterestsWithAvatarsCardsSection,
|
|
186
188
|
Jt as FieldOfInterestsWithTagsCardsSection,
|
|
@@ -198,7 +200,7 @@ export {
|
|
|
198
200
|
So as Header,
|
|
199
201
|
Tr as HelpBannerSection,
|
|
200
202
|
De as Icon,
|
|
201
|
-
|
|
203
|
+
be as IconButton,
|
|
202
204
|
O as Kanban,
|
|
203
205
|
Z as KanbanActionsToolbar,
|
|
204
206
|
Q as KanbanCard,
|
|
@@ -219,8 +221,10 @@ export {
|
|
|
219
221
|
c as NumberInput,
|
|
220
222
|
Bo as PageLayout,
|
|
221
223
|
Jo as Pagination,
|
|
222
|
-
Ur as
|
|
223
|
-
|
|
224
|
+
Ur as PartnerBannerSection,
|
|
225
|
+
Jr as PartnerBrandsSection,
|
|
226
|
+
Er as PartnerCardsSection,
|
|
227
|
+
zr as PartnerStatsSection,
|
|
224
228
|
g as PasswordInput,
|
|
225
229
|
Yo as Popover,
|
|
226
230
|
_o as PopoverClose,
|
|
@@ -230,17 +234,17 @@ export {
|
|
|
230
234
|
at as PopoverTrigger,
|
|
231
235
|
Tt as ProductsWithBannerSection,
|
|
232
236
|
xe as ProgressBar,
|
|
233
|
-
|
|
237
|
+
Ir as QuattroCardsSection,
|
|
234
238
|
tr as QuizSection,
|
|
235
239
|
qe as RadioGroup,
|
|
236
|
-
|
|
240
|
+
C as RadioInput,
|
|
237
241
|
D as RangeSlider,
|
|
238
242
|
ar as SalesCampaignsSection,
|
|
239
243
|
je as SearchBar,
|
|
240
244
|
vr as SearchSection,
|
|
241
245
|
Uo as Separator,
|
|
242
246
|
er as ShopCardsSection,
|
|
243
|
-
|
|
247
|
+
Io as Sidebar,
|
|
244
248
|
wt as SimpleProductsSection,
|
|
245
249
|
ce as Spinner,
|
|
246
250
|
Lr as StatsSection,
|
|
@@ -249,10 +253,10 @@ export {
|
|
|
249
253
|
To as TabItem,
|
|
250
254
|
$ as Table,
|
|
251
255
|
oe as TableView,
|
|
252
|
-
|
|
253
|
-
|
|
256
|
+
Po as Tabs,
|
|
257
|
+
b as TextAreaInput,
|
|
254
258
|
F as TextInput,
|
|
255
|
-
|
|
259
|
+
Yr as ThemeProvider,
|
|
256
260
|
h as TimeInput,
|
|
257
261
|
Xe as Toggle,
|
|
258
262
|
Nr as ToggleSection,
|
|
@@ -260,7 +264,7 @@ export {
|
|
|
260
264
|
St as TreeMenuSeparator,
|
|
261
265
|
Me as UploadedFile,
|
|
262
266
|
At as UrgentSaleProductsSection,
|
|
263
|
-
|
|
267
|
+
$r as components,
|
|
264
268
|
s as registerLocale,
|
|
265
|
-
|
|
269
|
+
Zr as useTheme
|
|
266
270
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lanaco/lnc-react-ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.203",
|
|
4
4
|
"description": "React component library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"keywords": [
|
|
@@ -168,6 +168,8 @@
|
|
|
168
168
|
"./BlogExploreSection": "./dist/BlogExploreSection.js",
|
|
169
169
|
"./BlogImagePathSection": "./dist/BlogImagePathSection.js",
|
|
170
170
|
"./BannerNextSection": "./dist/BannerNextSection.js",
|
|
171
|
+
"./PartnerCardsSection": "./dist/PartnerCardsSection.js",
|
|
172
|
+
"./PartnerBannerSection": "./dist/PartnerBannerSection.js",
|
|
171
173
|
"./PartnerStatsSection": "./dist/PartnerStatsSection.js",
|
|
172
174
|
"./PartnerBrandsSection": "./dist/PartnerBrandsSection.js"
|
|
173
175
|
},
|
package/vite.config.js
CHANGED
|
@@ -351,6 +351,14 @@ export default defineConfig({
|
|
|
351
351
|
__dirname,
|
|
352
352
|
"src/Landing Sections/banners-sections/banner-next-section/BannerNextSection.jsx",
|
|
353
353
|
),
|
|
354
|
+
resolve(
|
|
355
|
+
__dirname,
|
|
356
|
+
"src/Landing Sections/partner-sections/partner-cards-section/PartnerCardsSection.jsx",
|
|
357
|
+
),
|
|
358
|
+
resolve(
|
|
359
|
+
__dirname,
|
|
360
|
+
"src/Landing Sections/partner-sections/partner-banner-section/PartnerBannerSection.jsx",
|
|
361
|
+
),
|
|
354
362
|
resolve(
|
|
355
363
|
__dirname,
|
|
356
364
|
"src/Landing Sections/partner-sections/partner-stats-section/PartnerStatsSection.jsx",
|