@lanaco/lnc-react-ui 4.0.128 → 4.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BannerSectionCarousel.cjs +7 -9
- package/dist/BannerSectionCarousel.js +63 -65
- package/dist/BannerSectionSimple.cjs +26 -7
- package/dist/BannerSectionSimple.js +65 -42
- package/dist/BlogExploreSection.cjs +3 -3
- package/dist/BlogExploreSection.js +62 -60
- package/dist/BlogListSection.cjs +3 -1
- package/dist/BlogListSection.js +2 -0
- package/dist/BlogsSectionDetailed.cjs +4 -4
- package/dist/BlogsSectionDetailed.js +1 -1
- package/dist/BlogsSectionSimple.cjs +2 -2
- package/dist/BlogsSectionSimple.js +1 -1
- package/dist/OverlayGeneralCardsSection.cjs +7 -5
- package/dist/OverlayGeneralCardsSection.js +4 -2
- package/dist/SalesCampaignsSection.cjs +1 -0
- package/dist/SalesCampaignsSection.js +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const n=require("react/jsx-runtime"),d=require("react"),t=require("./index-BpbMKBf_.cjs"),u=require("./Button.cjs"),
|
|
1
|
+
"use strict";const n=require("react/jsx-runtime"),d=require("react"),t=require("./index-BpbMKBf_.cjs"),u=require("./Button.cjs"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),_=f.styled.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
height: 28.75rem;
|
|
4
4
|
padding: 2.25rem;
|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
cursor: pointer;
|
|
9
9
|
flex: 1;
|
|
10
10
|
flex-shrink: 0;
|
|
11
|
-
background: ${r=>r==null?void 0:r.backgroundColor}, url(${r=>r==null?void 0:r.backgroundImage});
|
|
11
|
+
background: ${r=>r==null?void 0:r.backgroundColor}, url("${r=>r==null?void 0:r.backgroundImage}");
|
|
12
12
|
background-size: cover;
|
|
13
13
|
background-repeat: no-repeat;
|
|
14
14
|
background-position: center;
|
|
15
15
|
border-radius: 0.75rem;
|
|
16
|
+
transition: flex 0.3s ease;
|
|
16
17
|
|
|
17
18
|
&:hover {
|
|
18
19
|
flex: 2;
|
|
@@ -59,9 +60,10 @@
|
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
@media (max-width: ${
|
|
63
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
63
64
|
padding: 2rem;
|
|
64
65
|
min-height: 17.5rem;
|
|
66
|
+
width: 100%;
|
|
65
67
|
|
|
66
68
|
&:hover {
|
|
67
69
|
flex: 1;
|
|
@@ -81,7 +83,7 @@
|
|
|
81
83
|
}
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
|
-
`,h=d.forwardRef(({title:r,description:o,buttonText:i,imageUrl:s,backgroundColor:c,handleSelectCard:e=()=>{},handleButtonAction:l=()=>{}},m)=>n.jsxs(_,{backgroundImage:s,backgroundColor:c,onClick:e,children:[n.jsxs("div",{className:"section__text",children:[r&&n.jsx("div",{className:"section__title",children:r}),o&&n.jsx("div",{className:"section__description",children:o})]}),n.jsx(u,{text:i,onClick:a=>{a==null||a.stopPropagation(),l()},borderRadius:"regular",color:"gray",className:"section__action"})]}));h.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,buttonText:t.PropTypes.string,imageUrl:t.PropTypes.string,backgroundColor:t.PropTypes.string,handleSelectCard:t.PropTypes.func,handleButtonAction:t.PropTypes.func};const x=
|
|
86
|
+
`,h=d.forwardRef(({title:r,description:o,buttonText:i,imageUrl:s,backgroundColor:c="none",handleSelectCard:e=()=>{},handleButtonAction:l=()=>{}},m)=>n.jsxs(_,{backgroundImage:s,backgroundColor:c,onClick:e,children:[n.jsxs("div",{className:"section__text",children:[r&&n.jsx("div",{className:"section__title",children:r}),o&&n.jsx("div",{className:"section__description",children:o})]}),n.jsx(u,{text:i,onClick:a=>{a==null||a.stopPropagation(),l()},borderRadius:"regular",color:"gray",className:"section__action"})]}));h.propTypes={title:t.PropTypes.string,description:t.PropTypes.string,buttonText:t.PropTypes.string,imageUrl:t.PropTypes.string,backgroundColor:t.PropTypes.string,handleSelectCard:t.PropTypes.func,handleButtonAction:t.PropTypes.func};const x=f.styled.div`
|
|
85
87
|
display: flex;
|
|
86
88
|
flex-direction: column;
|
|
87
89
|
align-items: flex-start;
|
|
@@ -120,7 +122,7 @@
|
|
|
120
122
|
}
|
|
121
123
|
}
|
|
122
124
|
|
|
123
|
-
@media (max-width: ${
|
|
125
|
+
@media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
|
|
124
126
|
& .section__title {
|
|
125
127
|
font-size: 1.375rem;
|
|
126
128
|
line-height: 1.75rem;
|
|
@@ -14,11 +14,12 @@ const u = g.div`
|
|
|
14
14
|
cursor: pointer;
|
|
15
15
|
flex: 1;
|
|
16
16
|
flex-shrink: 0;
|
|
17
|
-
background: ${(r) => r == null ? void 0 : r.backgroundColor}, url(${(r) => r == null ? void 0 : r.backgroundImage});
|
|
17
|
+
background: ${(r) => r == null ? void 0 : r.backgroundColor}, url("${(r) => r == null ? void 0 : r.backgroundImage}");
|
|
18
18
|
background-size: cover;
|
|
19
19
|
background-repeat: no-repeat;
|
|
20
20
|
background-position: center;
|
|
21
21
|
border-radius: 0.75rem;
|
|
22
|
+
transition: flex 0.3s ease;
|
|
22
23
|
|
|
23
24
|
&:hover {
|
|
24
25
|
flex: 2;
|
|
@@ -68,6 +69,7 @@ const u = g.div`
|
|
|
68
69
|
@media (max-width: ${h + "px"}) {
|
|
69
70
|
padding: 2rem;
|
|
70
71
|
min-height: 17.5rem;
|
|
72
|
+
width: 100%;
|
|
71
73
|
|
|
72
74
|
&:hover {
|
|
73
75
|
flex: 1;
|
|
@@ -93,7 +95,7 @@ const u = g.div`
|
|
|
93
95
|
description: n,
|
|
94
96
|
buttonText: i,
|
|
95
97
|
imageUrl: a,
|
|
96
|
-
backgroundColor: d,
|
|
98
|
+
backgroundColor: d = "none",
|
|
97
99
|
handleSelectCard: e = () => {
|
|
98
100
|
},
|
|
99
101
|
handleButtonAction: l = () => {
|
|
@@ -371,6 +371,7 @@
|
|
|
371
371
|
display: grid;
|
|
372
372
|
grid-template-columns: repeat(${e=>e==null?void 0:e.numOfColumns}, 1fr);
|
|
373
373
|
gap: 1.5rem;
|
|
374
|
+
width: 100%;
|
|
374
375
|
|
|
375
376
|
@media (max-width: ${M.MOBILE_SIZE_PX+"px"}) {
|
|
376
377
|
grid-template-columns: repeat(${e=>e==null?void 0:e.numOfColumnsForMobile}, 1fr);
|
|
@@ -678,6 +678,7 @@ const G = m.div`
|
|
|
678
678
|
display: grid;
|
|
679
679
|
grid-template-columns: repeat(${(e) => e == null ? void 0 : e.numOfColumns}, 1fr);
|
|
680
680
|
gap: 1.5rem;
|
|
681
|
+
width: 100%;
|
|
681
682
|
|
|
682
683
|
@media (max-width: ${M + "px"}) {
|
|
683
684
|
grid-template-columns: repeat(${(e) => e == null ? void 0 : e.numOfColumnsForMobile}, 1fr);
|