@lanaco/lnc-react-ui 4.0.121 → 4.0.122
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/BannerSectionGrid.cjs +3 -3
- package/dist/BannerSectionGrid.js +3 -3
- package/dist/BannerSectionSimple.cjs +40 -4
- package/dist/BannerSectionSimple.js +66 -29
- package/dist/BannerSectionWithList.cjs +42 -8
- package/dist/BannerSectionWithList.js +57 -22
- package/dist/BannerSectionWithListImage.cjs +23 -6
- package/dist/BannerSectionWithListImage.js +52 -35
- package/dist/BlogCardsSponsoredSection.cjs +13 -7
- package/dist/BlogCardsSponsoredSection.js +19 -13
- package/dist/BlogListSection.cjs +11 -3
- package/dist/BlogListSection.js +18 -10
- package/dist/BlogsSectionSimple.cjs +16 -7
- package/dist/BlogsSectionSimple.js +47 -32
- package/dist/BlogsSectionSimpleCentered.cjs +19 -10
- package/dist/BlogsSectionSimpleCentered.js +33 -24
- package/dist/FieldOfInterestsMasonrySection.cjs +22 -15
- package/dist/FieldOfInterestsMasonrySection.js +70 -63
- package/dist/FieldOfInterestsWithTagsCardsSection.cjs +9 -5
- package/dist/FieldOfInterestsWithTagsCardsSection.js +37 -33
- package/dist/OverlayGeneralCardsSection.cjs +5 -8
- package/dist/OverlayGeneralCardsSection.js +16 -19
- package/dist/SimpleProductsSection.cjs +1 -1
- package/dist/SimpleProductsSection.js +1 -1
- package/dist/{index-BaLBHyTh.cjs → index-CSgGox95.cjs} +6 -6
- package/dist/{index-CsrdUl1x.js → index-DK8dqEUQ.js} +5 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),j=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),s=require("./index-
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),j=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),k=require("./useDetectMobile-zkbzoOGV.cjs"),s=require("./index-CSgGox95.cjs"),q=w.styled.div`
|
|
2
2
|
display: grid;
|
|
3
3
|
grid-template-columns: repeat(2, 1fr);
|
|
4
4
|
gap: 0;
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
max-height: 11.25rem;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
& .
|
|
39
|
-
.
|
|
38
|
+
& .img-1,
|
|
39
|
+
.img-2 {
|
|
40
40
|
border-radius: 0.75rem;
|
|
41
41
|
}
|
|
42
42
|
|
|
@@ -3,7 +3,7 @@ import { forwardRef as w } from "react";
|
|
|
3
3
|
import { s as T } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as k } from "./consts-BuFChS64.js";
|
|
5
5
|
import { u as L } from "./useDetectMobile-Bkvj0VMa.js";
|
|
6
|
-
import { T as o } from "./index-
|
|
6
|
+
import { T as o } from "./index-DK8dqEUQ.js";
|
|
7
7
|
const N = T.div`
|
|
8
8
|
display: grid;
|
|
9
9
|
grid-template-columns: repeat(2, 1fr);
|
|
@@ -41,8 +41,8 @@ const N = T.div`
|
|
|
41
41
|
max-height: 11.25rem;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
& .
|
|
45
|
-
.
|
|
44
|
+
& .img-1,
|
|
45
|
+
.img-2 {
|
|
46
46
|
border-radius: 0.75rem;
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),j=require("react"),r=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./consts-goSZX3xP.cjs"),M=require("./Button.cjs"),z=require("./useDetectMobile-zkbzoOGV.cjs"),H=r.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
border-radius: 0.75rem;
|
|
4
4
|
background-color: ${e=>e.bgcolor||"transparent"};
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
min-height: unset;
|
|
31
31
|
max-height: unset;
|
|
32
32
|
border: none;
|
|
33
|
+
border-radius: 0;
|
|
33
34
|
|
|
34
35
|
& button {
|
|
35
36
|
width: fit-content;
|
|
@@ -42,7 +43,7 @@
|
|
|
42
43
|
min-height: ${e=>`${e.imgHMob}px`||"12.1rem"};
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
|
-
`,
|
|
46
|
+
`,B=r.styled.div`
|
|
46
47
|
padding: ${e=>e.smallPadding===!0?"2rem":"4rem 5rem"};
|
|
47
48
|
display: flex;
|
|
48
49
|
gap: 2rem;
|
|
@@ -51,27 +52,62 @@
|
|
|
51
52
|
|
|
52
53
|
${e=>e.isHorizontalContent===!0&&"justify-content: space-between;"}
|
|
53
54
|
|
|
55
|
+
& .header-button {
|
|
56
|
+
width: fit-content;
|
|
57
|
+
background: var(--gray-950, #14161a);
|
|
58
|
+
font-size: 0.875rem;
|
|
59
|
+
font-style: normal;
|
|
60
|
+
font-weight: 500;
|
|
61
|
+
line-height: 1.25rem;
|
|
62
|
+
letter-spacing: -0.09px;
|
|
63
|
+
white-space: pre;
|
|
64
|
+
|
|
65
|
+
&:hover {
|
|
66
|
+
background: var(--gray-700, #424b56);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
54
70
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
55
71
|
padding: 0;
|
|
56
72
|
flex-direction: column;
|
|
57
73
|
}
|
|
58
|
-
`,
|
|
74
|
+
`,_=r.styled.div`
|
|
59
75
|
display: flex;
|
|
60
76
|
flex-direction: column;
|
|
61
77
|
gap: 0.25rem;
|
|
62
78
|
|
|
63
79
|
& .header-title {
|
|
80
|
+
color: var(--gray-950, #14161a);
|
|
64
81
|
font-size: 1.75rem;
|
|
82
|
+
font-style: normal;
|
|
65
83
|
font-weight: 600;
|
|
84
|
+
line-height: 2.25rem;
|
|
85
|
+
letter-spacing: -0.0369rem;
|
|
66
86
|
}
|
|
67
87
|
|
|
68
88
|
& .header-subtitle {
|
|
69
89
|
color: var(--gray-950, #14161a);
|
|
70
90
|
font-size: 1rem;
|
|
91
|
+
font-style: normal;
|
|
71
92
|
font-weight: 500;
|
|
93
|
+
line-height: 1.5rem;
|
|
94
|
+
letter-spacing: -0.0112rem;
|
|
72
95
|
}
|
|
73
96
|
|
|
74
97
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
75
98
|
flex-direction: column;
|
|
99
|
+
|
|
100
|
+
& .header-title {
|
|
101
|
+
font-size: 1.375rem;
|
|
102
|
+
font-weight: 600;
|
|
103
|
+
line-height: 1.75rem;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
& .header-subtitle {
|
|
107
|
+
font-size: 1rem;
|
|
108
|
+
font-weight: 500;
|
|
109
|
+
line-height: 1.5rem;
|
|
110
|
+
letter-spacing: -0.0112rem;
|
|
111
|
+
}
|
|
76
112
|
}
|
|
77
|
-
`,
|
|
113
|
+
`,k=j.forwardRef((e,h)=>{const{title:d,subtitle:g,buttonText:c,buttonLink:x,onButtonAction:u=()=>{},imageUrl:n,imagePosition:a="right",hideImageForMobile:s=!1,sectionHeight:p="12.65625rem",imageWidth:b,imageHeightMobile:f,smallPadding:$=!1,isHorizontalContent:w=!1,backgroundColor:y,hasBorder:v=!1}=e,l=z.useDetectMobile();return t.jsxs(H,{ref:h,bgcolor:y,height:p,imgW:b,imgHMob:f,hasBorder:v,children:[a!=="right"&&!(s===!0&&l===!0)&&t.jsx("img",{src:n}),t.jsxs(B,{isHorizontalContent:w,smallPadding:$,children:[t.jsxs(_,{children:[t.jsx("div",{className:"header-title",children:d}),t.jsx("div",{className:"header-subitle",children:g})]}),t.jsx(M,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:i=>{var m;(m=i==null?void 0:i.target)==null||m.blur(),u(x)},children:c})]}),a==="right"&&!(s===!0&&l===!0)&&t.jsx("img",{src:n})]})});module.exports=k;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as H } from "react";
|
|
3
3
|
import { s as o } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
4
|
import { M as n } from "./consts-BuFChS64.js";
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
const
|
|
5
|
+
import M from "./Button.js";
|
|
6
|
+
import { u as k } from "./useDetectMobile-Bkvj0VMa.js";
|
|
7
|
+
const C = o.div`
|
|
8
8
|
display: flex;
|
|
9
9
|
border-radius: 0.75rem;
|
|
10
10
|
background-color: ${(e) => e.bgcolor || "transparent"};
|
|
@@ -36,6 +36,7 @@ const B = o.div`
|
|
|
36
36
|
min-height: unset;
|
|
37
37
|
max-height: unset;
|
|
38
38
|
border: none;
|
|
39
|
+
border-radius: 0;
|
|
39
40
|
|
|
40
41
|
& button {
|
|
41
42
|
width: fit-content;
|
|
@@ -48,7 +49,7 @@ const B = o.div`
|
|
|
48
49
|
min-height: ${(e) => `${e.imgHMob}px` || "12.1rem"};
|
|
49
50
|
}
|
|
50
51
|
}
|
|
51
|
-
`,
|
|
52
|
+
`, B = o.div`
|
|
52
53
|
padding: ${(e) => e.smallPadding === !0 ? "2rem" : "4rem 5rem"};
|
|
53
54
|
display: flex;
|
|
54
55
|
gap: 2rem;
|
|
@@ -57,6 +58,21 @@ const B = o.div`
|
|
|
57
58
|
|
|
58
59
|
${(e) => e.isHorizontalContent === !0 && "justify-content: space-between;"}
|
|
59
60
|
|
|
61
|
+
& .header-button {
|
|
62
|
+
width: fit-content;
|
|
63
|
+
background: var(--gray-950, #14161a);
|
|
64
|
+
font-size: 0.875rem;
|
|
65
|
+
font-style: normal;
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
line-height: 1.25rem;
|
|
68
|
+
letter-spacing: -0.09px;
|
|
69
|
+
white-space: pre;
|
|
70
|
+
|
|
71
|
+
&:hover {
|
|
72
|
+
background: var(--gray-700, #424b56);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
60
76
|
@media (max-width: ${n + "px"}) {
|
|
61
77
|
padding: 0;
|
|
62
78
|
flex-direction: column;
|
|
@@ -67,53 +83,73 @@ const B = o.div`
|
|
|
67
83
|
gap: 0.25rem;
|
|
68
84
|
|
|
69
85
|
& .header-title {
|
|
86
|
+
color: var(--gray-950, #14161a);
|
|
70
87
|
font-size: 1.75rem;
|
|
88
|
+
font-style: normal;
|
|
71
89
|
font-weight: 600;
|
|
90
|
+
line-height: 2.25rem;
|
|
91
|
+
letter-spacing: -0.0369rem;
|
|
72
92
|
}
|
|
73
93
|
|
|
74
94
|
& .header-subtitle {
|
|
75
95
|
color: var(--gray-950, #14161a);
|
|
76
96
|
font-size: 1rem;
|
|
97
|
+
font-style: normal;
|
|
77
98
|
font-weight: 500;
|
|
99
|
+
line-height: 1.5rem;
|
|
100
|
+
letter-spacing: -0.0112rem;
|
|
78
101
|
}
|
|
79
102
|
|
|
80
103
|
@media (max-width: ${n + "px"}) {
|
|
81
104
|
flex-direction: column;
|
|
105
|
+
|
|
106
|
+
& .header-title {
|
|
107
|
+
font-size: 1.375rem;
|
|
108
|
+
font-weight: 600;
|
|
109
|
+
line-height: 1.75rem;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
& .header-subtitle {
|
|
113
|
+
font-size: 1rem;
|
|
114
|
+
font-weight: 500;
|
|
115
|
+
line-height: 1.5rem;
|
|
116
|
+
letter-spacing: -0.0112rem;
|
|
117
|
+
}
|
|
82
118
|
}
|
|
83
|
-
`,
|
|
119
|
+
`, L = H((e, g) => {
|
|
84
120
|
const {
|
|
85
121
|
title: s,
|
|
86
122
|
subtitle: c,
|
|
87
|
-
buttonText:
|
|
88
|
-
buttonLink:
|
|
123
|
+
buttonText: p,
|
|
124
|
+
buttonLink: x,
|
|
89
125
|
onButtonAction: u = () => {
|
|
90
126
|
},
|
|
91
127
|
imageUrl: a,
|
|
92
128
|
imagePosition: m = "right",
|
|
93
|
-
hideImageForMobile:
|
|
94
|
-
sectionHeight:
|
|
95
|
-
imageWidth:
|
|
129
|
+
hideImageForMobile: l = !1,
|
|
130
|
+
sectionHeight: f = "12.65625rem",
|
|
131
|
+
imageWidth: b,
|
|
96
132
|
imageHeightMobile: $,
|
|
97
133
|
smallPadding: w = !1,
|
|
98
|
-
isHorizontalContent:
|
|
99
|
-
backgroundColor:
|
|
100
|
-
hasBorder:
|
|
101
|
-
} = e,
|
|
134
|
+
isHorizontalContent: y = !1,
|
|
135
|
+
backgroundColor: v,
|
|
136
|
+
hasBorder: z = !1
|
|
137
|
+
} = e, h = k();
|
|
102
138
|
return /* @__PURE__ */ r(
|
|
103
|
-
|
|
139
|
+
C,
|
|
104
140
|
{
|
|
105
141
|
ref: g,
|
|
106
|
-
bgcolor:
|
|
107
|
-
height:
|
|
108
|
-
imgW:
|
|
142
|
+
bgcolor: v,
|
|
143
|
+
height: f,
|
|
144
|
+
imgW: b,
|
|
109
145
|
imgHMob: $,
|
|
110
|
-
hasBorder:
|
|
146
|
+
hasBorder: z,
|
|
111
147
|
children: [
|
|
112
|
-
m !== "right" && !(
|
|
148
|
+
m !== "right" && !(l === !0 && h === !0) && /* @__PURE__ */ t("img", { src: a }),
|
|
113
149
|
/* @__PURE__ */ r(
|
|
114
|
-
|
|
150
|
+
B,
|
|
115
151
|
{
|
|
116
|
-
isHorizontalContent:
|
|
152
|
+
isHorizontalContent: y,
|
|
117
153
|
smallPadding: w,
|
|
118
154
|
children: [
|
|
119
155
|
/* @__PURE__ */ r(W, { children: [
|
|
@@ -121,26 +157,27 @@ const B = o.div`
|
|
|
121
157
|
/* @__PURE__ */ t("div", { className: "header-subitle", children: c })
|
|
122
158
|
] }),
|
|
123
159
|
/* @__PURE__ */ t(
|
|
124
|
-
|
|
160
|
+
M,
|
|
125
161
|
{
|
|
126
162
|
size: "medium",
|
|
127
163
|
color: "neutral",
|
|
128
164
|
type: "button",
|
|
165
|
+
className: "header-button",
|
|
129
166
|
onClick: (i) => {
|
|
130
|
-
var
|
|
131
|
-
(
|
|
167
|
+
var d;
|
|
168
|
+
(d = i == null ? void 0 : i.target) == null || d.blur(), u(x);
|
|
132
169
|
},
|
|
133
|
-
children:
|
|
170
|
+
children: p
|
|
134
171
|
}
|
|
135
172
|
)
|
|
136
173
|
]
|
|
137
174
|
}
|
|
138
175
|
),
|
|
139
|
-
m === "right" && !(
|
|
176
|
+
m === "right" && !(l === !0 && h === !0) && /* @__PURE__ */ t("img", { src: a })
|
|
140
177
|
]
|
|
141
178
|
}
|
|
142
179
|
);
|
|
143
180
|
});
|
|
144
181
|
export {
|
|
145
|
-
|
|
182
|
+
L as default
|
|
146
183
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),c=require("react"),o=require("./emotion-styled.browser.esm-BtEseadx.cjs"),a=require("./consts-goSZX3xP.cjs"),u=require("./Button.cjs"),i=require("./utils-CZynEOC_.cjs"),x=o.styled.div`
|
|
2
2
|
padding-bottom: 1.38rem;
|
|
3
3
|
text-align: center;
|
|
4
4
|
display: flex;
|
|
@@ -9,9 +9,20 @@
|
|
|
9
9
|
|
|
10
10
|
& button {
|
|
11
11
|
width: fit-content;
|
|
12
|
+
background: var(--gray-950, #14161a);
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 500;
|
|
16
|
+
line-height: 1.25rem;
|
|
17
|
+
letter-spacing: -0.09px;
|
|
18
|
+
white-space: pre;
|
|
19
|
+
|
|
20
|
+
&:hover {
|
|
21
|
+
background: var(--gray-700, #424b56);
|
|
22
|
+
}
|
|
12
23
|
}
|
|
13
24
|
|
|
14
|
-
@media (max-width: ${
|
|
25
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
15
26
|
padding-bottom: 0;
|
|
16
27
|
}
|
|
17
28
|
`,p=o.styled.div`
|
|
@@ -22,19 +33,36 @@
|
|
|
22
33
|
gap: 0.25rem;
|
|
23
34
|
|
|
24
35
|
& .header-title {
|
|
25
|
-
|
|
36
|
+
color: var(--gray-950, #14161a);
|
|
37
|
+
text-align: center;
|
|
38
|
+
font-size: 1.75rem;
|
|
39
|
+
font-style: normal;
|
|
26
40
|
font-weight: 600;
|
|
41
|
+
line-height: 2.25rem;
|
|
27
42
|
}
|
|
28
43
|
|
|
29
44
|
& .header-subtitle {
|
|
30
45
|
color: var(--gray-600, #676e79);
|
|
46
|
+
text-align: center;
|
|
31
47
|
font-size: 1rem;
|
|
48
|
+
font-style: normal;
|
|
32
49
|
font-weight: 500;
|
|
50
|
+
line-height: 1.5rem;
|
|
33
51
|
}
|
|
34
52
|
|
|
35
|
-
@media (max-width: ${
|
|
53
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
54
|
+
& .header-title {
|
|
55
|
+
font-size: 1.375rem;
|
|
56
|
+
line-height: 1.75rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
& .header-subtitle {
|
|
60
|
+
font-size: 0.875rem;
|
|
61
|
+
font-style: normal;
|
|
62
|
+
line-height: 1.25rem;
|
|
63
|
+
}
|
|
36
64
|
}
|
|
37
|
-
`,
|
|
65
|
+
`,y=o.styled.div`
|
|
38
66
|
text-align: center;
|
|
39
67
|
display: flex;
|
|
40
68
|
flex-direction: column;
|
|
@@ -47,14 +75,20 @@
|
|
|
47
75
|
& .list-item {
|
|
48
76
|
display: flex;
|
|
49
77
|
align-items: center;
|
|
78
|
+
color: var(--gray-950, #14161a);
|
|
79
|
+
font-size: 0.875rem;
|
|
80
|
+
font-style: normal;
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
line-height: 1.25rem;
|
|
83
|
+
letter-spacing: -0.0056rem;
|
|
50
84
|
|
|
51
85
|
& .mng {
|
|
52
86
|
font-size: 1.25rem;
|
|
53
|
-
color: var(--
|
|
87
|
+
color: var(--primary-600, #e86b1e);
|
|
54
88
|
}
|
|
55
89
|
}
|
|
56
90
|
|
|
57
|
-
@media (max-width: ${
|
|
91
|
+
@media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
|
|
58
92
|
& .list-item {
|
|
59
93
|
flex-direction: column;
|
|
60
94
|
text-align: center;
|
|
@@ -62,4 +96,4 @@
|
|
|
62
96
|
gap: 0;
|
|
63
97
|
}
|
|
64
98
|
}
|
|
65
|
-
`,
|
|
99
|
+
`,b=c.forwardRef((m,d)=>{const{title:r,subtitle:s,buttonText:h,list:l,buttonLink:g,onButtonAction:f=()=>{}}=m;return e.jsxs(x,{ref:d,children:[(i.isDefined(r)||i.isDefined(s))&&e.jsxs(p,{children:[i.isDefined(r)&&e.jsx("div",{className:"header-title",children:r}),i.isDefined(s)&&e.jsx("div",{className:"header-subitle",children:s})]}),e.jsx(y,{children:l==null?void 0:l.map((t,n)=>e.jsx(c.Fragment,{children:e.jsxs("div",{className:"list-item",children:[e.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),e.jsx("span",{children:t})]})},n))}),e.jsx(u,{size:"medium",color:"neutral",type:"button",className:"header-button",onClick:t=>{var n;(n=t==null?void 0:t.target)==null||n.blur(),f(g)},children:h})]})});module.exports=b;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { s as
|
|
4
|
-
import { M as
|
|
1
|
+
import { jsxs as l, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as p, Fragment as u } from "react";
|
|
3
|
+
import { s as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
4
|
+
import { M as s } from "./consts-BuFChS64.js";
|
|
5
5
|
import x from "./Button.js";
|
|
6
6
|
import { l as n } from "./utils-BbgAIA9N.js";
|
|
7
|
-
const y =
|
|
7
|
+
const y = m.div`
|
|
8
8
|
padding-bottom: 1.38rem;
|
|
9
9
|
text-align: center;
|
|
10
10
|
display: flex;
|
|
@@ -15,12 +15,23 @@ const y = c.div`
|
|
|
15
15
|
|
|
16
16
|
& button {
|
|
17
17
|
width: fit-content;
|
|
18
|
+
background: var(--gray-950, #14161a);
|
|
19
|
+
font-size: 0.875rem;
|
|
20
|
+
font-style: normal;
|
|
21
|
+
font-weight: 500;
|
|
22
|
+
line-height: 1.25rem;
|
|
23
|
+
letter-spacing: -0.09px;
|
|
24
|
+
white-space: pre;
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
background: var(--gray-700, #424b56);
|
|
28
|
+
}
|
|
18
29
|
}
|
|
19
30
|
|
|
20
|
-
@media (max-width: ${
|
|
31
|
+
@media (max-width: ${s + "px"}) {
|
|
21
32
|
padding-bottom: 0;
|
|
22
33
|
}
|
|
23
|
-
`, b =
|
|
34
|
+
`, b = m.div`
|
|
24
35
|
text-align: center;
|
|
25
36
|
display: flex;
|
|
26
37
|
justify-content: center;
|
|
@@ -28,19 +39,36 @@ const y = c.div`
|
|
|
28
39
|
gap: 0.25rem;
|
|
29
40
|
|
|
30
41
|
& .header-title {
|
|
31
|
-
|
|
42
|
+
color: var(--gray-950, #14161a);
|
|
43
|
+
text-align: center;
|
|
44
|
+
font-size: 1.75rem;
|
|
45
|
+
font-style: normal;
|
|
32
46
|
font-weight: 600;
|
|
47
|
+
line-height: 2.25rem;
|
|
33
48
|
}
|
|
34
49
|
|
|
35
50
|
& .header-subtitle {
|
|
36
51
|
color: var(--gray-600, #676e79);
|
|
52
|
+
text-align: center;
|
|
37
53
|
font-size: 1rem;
|
|
54
|
+
font-style: normal;
|
|
38
55
|
font-weight: 500;
|
|
56
|
+
line-height: 1.5rem;
|
|
39
57
|
}
|
|
40
58
|
|
|
41
|
-
@media (max-width: ${
|
|
59
|
+
@media (max-width: ${s + "px"}) {
|
|
60
|
+
& .header-title {
|
|
61
|
+
font-size: 1.375rem;
|
|
62
|
+
line-height: 1.75rem;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
& .header-subtitle {
|
|
66
|
+
font-size: 0.875rem;
|
|
67
|
+
font-style: normal;
|
|
68
|
+
line-height: 1.25rem;
|
|
69
|
+
}
|
|
42
70
|
}
|
|
43
|
-
`, v =
|
|
71
|
+
`, v = m.div`
|
|
44
72
|
text-align: center;
|
|
45
73
|
display: flex;
|
|
46
74
|
flex-direction: column;
|
|
@@ -53,14 +81,20 @@ const y = c.div`
|
|
|
53
81
|
& .list-item {
|
|
54
82
|
display: flex;
|
|
55
83
|
align-items: center;
|
|
84
|
+
color: var(--gray-950, #14161a);
|
|
85
|
+
font-size: 0.875rem;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
line-height: 1.25rem;
|
|
89
|
+
letter-spacing: -0.0056rem;
|
|
56
90
|
|
|
57
91
|
& .mng {
|
|
58
92
|
font-size: 1.25rem;
|
|
59
|
-
color: var(--
|
|
93
|
+
color: var(--primary-600, #e86b1e);
|
|
60
94
|
}
|
|
61
95
|
}
|
|
62
96
|
|
|
63
|
-
@media (max-width: ${
|
|
97
|
+
@media (max-width: ${s + "px"}) {
|
|
64
98
|
& .list-item {
|
|
65
99
|
flex-direction: column;
|
|
66
100
|
text-align: center;
|
|
@@ -68,22 +102,22 @@ const y = c.div`
|
|
|
68
102
|
gap: 0;
|
|
69
103
|
}
|
|
70
104
|
}
|
|
71
|
-
`,
|
|
105
|
+
`, L = p((c, d) => {
|
|
72
106
|
const {
|
|
73
107
|
title: r,
|
|
74
108
|
subtitle: o,
|
|
75
109
|
buttonText: f,
|
|
76
|
-
list:
|
|
77
|
-
buttonLink:
|
|
78
|
-
onButtonAction:
|
|
110
|
+
list: a,
|
|
111
|
+
buttonLink: h,
|
|
112
|
+
onButtonAction: g = () => {
|
|
79
113
|
}
|
|
80
|
-
} =
|
|
81
|
-
return /* @__PURE__ */
|
|
82
|
-
(n(r) || n(o)) && /* @__PURE__ */
|
|
114
|
+
} = c;
|
|
115
|
+
return /* @__PURE__ */ l(y, { ref: d, children: [
|
|
116
|
+
(n(r) || n(o)) && /* @__PURE__ */ l(b, { children: [
|
|
83
117
|
n(r) && /* @__PURE__ */ e("div", { className: "header-title", children: r }),
|
|
84
118
|
n(o) && /* @__PURE__ */ e("div", { className: "header-subitle", children: o })
|
|
85
119
|
] }),
|
|
86
|
-
/* @__PURE__ */ e(v, { children:
|
|
120
|
+
/* @__PURE__ */ e(v, { children: a == null ? void 0 : a.map((t, i) => /* @__PURE__ */ e(u, { children: /* @__PURE__ */ l("div", { className: "list-item", children: [
|
|
87
121
|
/* @__PURE__ */ e("i", { className: "mng mng-lnc-checkmark--filled" }),
|
|
88
122
|
/* @__PURE__ */ e("span", { children: t })
|
|
89
123
|
] }) }, i)) }),
|
|
@@ -93,9 +127,10 @@ const y = c.div`
|
|
|
93
127
|
size: "medium",
|
|
94
128
|
color: "neutral",
|
|
95
129
|
type: "button",
|
|
130
|
+
className: "header-button",
|
|
96
131
|
onClick: (t) => {
|
|
97
132
|
var i;
|
|
98
|
-
(i = t == null ? void 0 : t.target) == null || i.blur(),
|
|
133
|
+
(i = t == null ? void 0 : t.target) == null || i.blur(), g(h);
|
|
99
134
|
},
|
|
100
135
|
children: f
|
|
101
136
|
}
|
|
@@ -103,5 +138,5 @@ const y = c.div`
|
|
|
103
138
|
] });
|
|
104
139
|
});
|
|
105
140
|
export {
|
|
106
|
-
|
|
141
|
+
L as default
|
|
107
142
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const i=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";const i=require("react/jsx-runtime"),s=require("react"),n=require("./emotion-styled.browser.esm-BtEseadx.cjs"),o=require("./consts-goSZX3xP.cjs"),w=require("./Button.cjs"),j=n.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
border-radius: 0.75rem;
|
|
4
4
|
background-color: ${e=>(e==null?void 0:e.bgColor)||"transparent"};
|
|
@@ -23,6 +23,10 @@
|
|
|
23
23
|
|
|
24
24
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
25
25
|
flex-direction: column;
|
|
26
|
+
border-radius: 0;
|
|
27
|
+
border: none;
|
|
28
|
+
box-shadow: none;
|
|
29
|
+
|
|
26
30
|
& img {
|
|
27
31
|
max-width: 100%;
|
|
28
32
|
min-width: 100%;
|
|
@@ -39,7 +43,7 @@
|
|
|
39
43
|
flex-direction: column;
|
|
40
44
|
|
|
41
45
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
42
|
-
padding: 1.25rem;
|
|
46
|
+
padding: 0 0 1.25rem 0;
|
|
43
47
|
}
|
|
44
48
|
`,$=n.styled.div`
|
|
45
49
|
display: flex;
|
|
@@ -47,14 +51,21 @@
|
|
|
47
51
|
gap: 0.25rem;
|
|
48
52
|
|
|
49
53
|
& .header-title {
|
|
50
|
-
|
|
54
|
+
color: var(--gray-950, #14161a);
|
|
55
|
+
font-size: 1.75rem;
|
|
56
|
+
font-style: normal;
|
|
51
57
|
font-weight: 600;
|
|
58
|
+
line-height: 2.25rem;
|
|
59
|
+
letter-spacing: -0.5904px;
|
|
52
60
|
}
|
|
53
61
|
|
|
54
62
|
& .header-subtitle {
|
|
55
|
-
color: var(--gray-
|
|
63
|
+
color: var(--gray-950, #14161a);
|
|
56
64
|
font-size: 1rem;
|
|
65
|
+
font-style: normal;
|
|
57
66
|
font-weight: 500;
|
|
67
|
+
line-height: 1.5rem;
|
|
68
|
+
letter-spacing: -0.0112rem;
|
|
58
69
|
}
|
|
59
70
|
|
|
60
71
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
@@ -68,15 +79,21 @@
|
|
|
68
79
|
font-weight: 500;
|
|
69
80
|
|
|
70
81
|
& .list-item {
|
|
82
|
+
color: var(--gray-950, #14161a);
|
|
71
83
|
display: flex;
|
|
72
84
|
align-items: center;
|
|
85
|
+
font-size: 0.875rem;
|
|
86
|
+
font-style: normal;
|
|
87
|
+
font-weight: 500;
|
|
88
|
+
line-height: 1.25rem;
|
|
89
|
+
letter-spacing: -0.0056rem;
|
|
73
90
|
|
|
74
91
|
& .mng {
|
|
75
92
|
font-size: 1.25rem;
|
|
76
|
-
color: var(--info-600);
|
|
93
|
+
color: var(--info-600, #6d28d9);
|
|
77
94
|
}
|
|
78
95
|
}
|
|
79
96
|
|
|
80
97
|
@media (max-width: ${o.MOBILE_SIZE_PX+"px"}) {
|
|
81
98
|
}
|
|
82
|
-
`,B=
|
|
99
|
+
`,B=s.forwardRef((e,m)=>{const{title:l,subtitle:d,buttonText:c,list:a,imageUrl:g,imageHeight:h,imageWidth:x,imageHeightMobile:p,hasBorder:u=!0,backgroundColor:f="transparent",onButtonAction:b=()=>{},buttonLink:y}=e;return i.jsxs(j,{ref:m,imgH:h,imgW:x,imgHMob:p,hasBorder:u,bgColor:f,children:[i.jsxs(v,{children:[i.jsxs($,{children:[i.jsx("div",{className:"header-title",children:l}),i.jsx("div",{className:"header-subitle",children:d})]}),i.jsx(_,{children:a==null?void 0:a.map((t,r)=>i.jsx(s.Fragment,{children:i.jsxs("div",{className:"list-item",children:[i.jsx("i",{className:"mng mng-lnc-checkmark--filled"}),i.jsx("span",{children:t})]})},r))}),i.jsx(w,{size:"medium",color:"neutral",type:"button",btnType:"outline",onClick:t=>{var r;(r=t==null?void 0:t.target)==null||r.blur(),b(y)},children:c})]}),i.jsx("img",{src:g})]})});module.exports=B;
|