@lanaco/lnc-react-ui 4.0.121 → 4.0.123

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.
Files changed (45) hide show
  1. package/dist/BannerSectionCarousel.cjs +112 -126
  2. package/dist/BannerSectionCarousel.js +654 -1509
  3. package/dist/BannerSectionGrid.cjs +3 -3
  4. package/dist/BannerSectionGrid.js +3 -3
  5. package/dist/BannerSectionSimple.cjs +40 -4
  6. package/dist/BannerSectionSimple.js +66 -29
  7. package/dist/BannerSectionWithList.cjs +42 -8
  8. package/dist/BannerSectionWithList.js +57 -22
  9. package/dist/BannerSectionWithListImage.cjs +23 -6
  10. package/dist/BannerSectionWithListImage.js +52 -35
  11. package/dist/BlogCardsSponsoredSection.cjs +13 -7
  12. package/dist/BlogCardsSponsoredSection.js +19 -13
  13. package/dist/BlogListSection.cjs +11 -3
  14. package/dist/BlogListSection.js +18 -10
  15. package/dist/BlogsSectionSimple.cjs +16 -7
  16. package/dist/BlogsSectionSimple.js +47 -32
  17. package/dist/BlogsSectionSimpleCentered.cjs +19 -10
  18. package/dist/BlogsSectionSimpleCentered.js +33 -24
  19. package/dist/DateInput.cjs +1 -1
  20. package/dist/DateInput.js +1 -1
  21. package/dist/FieldOfInterestsMasonrySection.cjs +22 -15
  22. package/dist/FieldOfInterestsMasonrySection.js +70 -63
  23. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +14 -9
  24. package/dist/FieldOfInterestsWithTagsCardsSection.js +49 -44
  25. package/dist/Kanban.cjs +1 -1
  26. package/dist/Kanban.js +2 -2
  27. package/dist/{KanbanCard-Crf-cTxA.js → KanbanCard-68kSAXL6.js} +1 -1
  28. package/dist/{KanbanCard-CP60mpJO.cjs → KanbanCard-BDvoqTDS.cjs} +1 -1
  29. package/dist/KanbanCard.cjs +1 -1
  30. package/dist/KanbanCard.js +1 -1
  31. package/dist/KanbanView.cjs +1 -1
  32. package/dist/KanbanView.js +1 -1
  33. package/dist/OverlayGeneralCardsSection.cjs +105 -63
  34. package/dist/OverlayGeneralCardsSection.js +172 -161
  35. package/dist/SimpleProductsSection.cjs +1 -1
  36. package/dist/SimpleProductsSection.js +1 -1
  37. package/dist/index-Bg5OOQN0.cjs +5 -0
  38. package/dist/{index-BaLBHyTh.cjs → index-CSgGox95.cjs} +6 -6
  39. package/dist/{index-CsrdUl1x.js → index-DK8dqEUQ.js} +5 -5
  40. package/dist/{index-BXrmgzsU.js → index-fN7hCOo3.js} +4 -5
  41. package/dist/index.cjs +1 -1
  42. package/dist/index.js +1 -1
  43. package/dist/style.css +1 -1
  44. package/package.json +2 -2
  45. package/dist/index-BZnmT78f.cjs +0 -5
@@ -1,91 +1,133 @@
1
- "use strict";const r=require("react/jsx-runtime"),l=require("react"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./consts-goSZX3xP.cjs"),f=require("./style-JqDQj4jh.cjs"),u=require("./utils-CZynEOC_.cjs"),p=require("./Button.cjs"),v=require("./ThemeProvider.cjs"),j=g.styled.div`
2
- display: grid;
3
- grid-template-columns: ${n=>`repeat(${n.limit}, auto)`};
4
- gap: 1.25rem;
5
- justify-items: center;
6
-
7
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
8
- display: flex;
9
- flex-direction: column;
10
- gap: 1rem;
11
- }
12
- `,h=g.styled.div`
13
- width: 100%;
14
- overflow: hidden;
15
- position: relative;
16
-
17
- border-radius: 0.75rem;
18
- background: ${n=>n==null?void 0:n.overlay};
1
+ "use strict";const n=require("react/jsx-runtime"),d=require("react"),t=require("./index-BpbMKBf_.cjs"),u=require("./Button.cjs"),g=require("./emotion-styled.browser.esm-BtEseadx.cjs"),f=require("./consts-goSZX3xP.cjs"),_=g.styled.div`
2
+ display: flex;
3
+ height: 28.75rem;
4
+ padding: 2.25rem;
5
+ align-items: flex-start;
6
+ flex-direction: column;
7
+ justify-content: space-between;
19
8
  cursor: pointer;
20
-
21
- & img {
22
- transition: var(--transition, all 0.3s ease);
23
- overflow: hidden;
24
- }
25
- overflow: hidden;
9
+ flex: 1;
10
+ flex-shrink: 0;
11
+ background: ${r=>r==null?void 0:r.backgroundColor}, url(${r=>r==null?void 0:r.backgroundImage});
12
+ background-size: cover;
13
+ background-repeat: no-repeat;
14
+ background-position: center;
15
+ border-radius: 0.75rem;
26
16
 
27
17
  &:hover {
28
- & img {
29
- transform: scale(1.1);
30
- }
18
+ flex: 2;
31
19
  }
32
20
 
33
- & .content-wrapper {
34
- position: absolute;
35
- right: 0;
36
- top: 0;
37
- padding: 2.25rem;
21
+ & .section__text {
38
22
  display: flex;
39
23
  flex-direction: column;
24
+ align-items: flex-start;
40
25
  gap: 1rem;
41
- justify-content: space-between;
42
- height: 100%;
43
- width: 100%;
26
+ align-self: stretch;
27
+
28
+ & .section__title {
29
+ color: var(--white, #fff);
30
+ font-size: 1rem;
31
+ font-style: normal;
32
+ font-weight: 500;
33
+ line-height: 1.5rem;
34
+ }
35
+
36
+ & .section__description {
37
+ color: var(--white, #fff);
38
+ font-size: 1.375rem;
39
+ font-style: normal;
40
+ font-weight: 600;
41
+ line-height: 1.75rem;
42
+ }
44
43
  }
45
44
 
46
- & button {
47
- width: fit-content;
48
- color: var(--gray-950, #14161a);
45
+ & .section__action {
49
46
  background: var(--white, #fff);
47
+ color: var(--gray-950, #14161a);
48
+ font-size: 0.875rem;
49
+ font-style: normal;
50
+ font-weight: 500;
51
+ line-height: 1.25rem;
50
52
 
51
53
  &:hover {
52
54
  color: var(--gray-700, #4e555f);
53
- background: var(--white, #fff);
55
+ }
56
+
57
+ &:focus {
58
+ outline: none;
54
59
  }
55
60
  }
56
61
 
57
- & .content-text {
58
- display: flex;
59
- flex-direction: column;
60
- gap: 1rem;
61
- color: var(--white, #fff);
62
- font-size: 1rem;
63
- font-weight: 500;
62
+ @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
63
+ padding: 2rem;
64
+ min-height: 17.5rem;
64
65
 
65
- & .content-text-title {
66
- font-weight: 600;
67
- ${u.truncateTextInRows(2)}
66
+ &:hover {
67
+ flex: 1;
68
+ }
69
+
70
+ & .section__text {
71
+ gap: 0.5rem;
72
+
73
+ & .section__title {
74
+ font-size: 0.875rem;
75
+ line-height: 1.25rem;
76
+ }
77
+
78
+ & .section__description {
79
+ font-size: 1rem;
80
+ line-height: 1.5rem;
81
+ }
68
82
  }
69
83
  }
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=g.styled.div`
85
+ display: flex;
86
+ flex-direction: column;
87
+ align-items: flex-start;
88
+ gap: 1.5rem;
70
89
 
71
- & img {
72
- aspect-ratio: 1 / 1;
73
- mix-blend-mode: multiply;
90
+ & .section__title {
91
+ color: var(--gray-950, #14161a);
92
+ font-size: 1.5rem;
93
+ font-style: normal;
94
+ font-weight: 600;
95
+ line-height: 2rem;
96
+ letter-spacing: -0.0294rem;
97
+ }
98
+
99
+ & .section__items {
100
+ display: flex;
101
+ align-items: center;
102
+ gap: 1rem;
74
103
  width: 100%;
75
- object-fit: cover;
76
104
  }
77
105
 
78
- & .img-skeleton {
79
- background-color: ${u.linearGradientAnimation("-90deg")};
80
- min-height: 28.75rem;
106
+ & .section__item {
107
+ background: lightblue;
108
+ height: 24rem;
109
+ transition: width 0.5s ease;
110
+ flex-shrink: 0;
111
+ display: flex;
112
+ justify-content: center;
113
+ align-items: center;
114
+ cursor: pointer;
115
+ flex: 1;
116
+
117
+ &:hover {
118
+ flex: 2;
119
+ transition: width 0.5s ease;
120
+ }
81
121
  }
82
122
 
83
- @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
84
- & img,
85
- .img.skeleton {
86
- aspect-ratio: unset;
87
- min-height: 28.75rem;
88
- max-height: 28.75rem;
123
+ @media (max-width: ${f.MOBILE_SIZE_PX+"px"}) {
124
+ & .section__title {
125
+ font-size: 1.375rem;
126
+ line-height: 1.75rem;
127
+ }
128
+
129
+ & .section__items {
130
+ flex-direction: column;
89
131
  }
90
132
  }
91
- `,y=l.forwardRef(({},n)=>r.jsx(h,{ref:n,children:r.jsx("div",{className:"img-skeleton"})})),w=({limit:n=2,isLoading:t=!1,keyPrefix:o})=>r.jsx(r.Fragment,{children:Array.from({length:n},(s,a)=>r.jsx(y,{isLoading:t},`${o}-skeleton-product-card-${a}`))}),m=({children:n,fallbackComponent:t=r.jsx(r.Fragment,{}),isLoading:o=!1,limit:s,keyPrefix:a})=>r.jsx(l.Suspense,{fallbackComponent:t,children:o===!0?r.jsx(w,{isLoading:o,limit:s,keyPrefix:a}):n}),k=l.forwardRef(({title:n,image:t,backgroundColor:o,description:s,buttonText:a,handleClick:i=()=>{},onButtonAction:c=()=>{}},e)=>{const{theme:d}=v.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(h,{ref:e,theme:d,overlay:o,onClick:i,children:[r.jsx("img",{src:t}),r.jsxs("div",{className:"content-wrapper",children:[r.jsxs("div",{className:"content-text",children:[r.jsx("div",{children:n}),r.jsx("div",{className:"content-text-title",children:s})]}),u.isDefinedNotEmptyString(a)&&r.jsx(p,{text:a,onClick:c,className:"text__action",size:"medium",color:"gray"})]})]})})}),b=l.forwardRef(({title:n,items:t,limit:o=2,onSelectCard:s=()=>{},isLoading:a=!1,onButtonAction:i=()=>{}},c)=>r.jsxs(f.RegulatTitleSectionWrapper,{ref:c,children:[r.jsx("div",{className:"regular-title center",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:n})})}),r.jsx(j,{limit:o,children:r.jsx(m,{isLoading:a,limit:o,keyPrefix:"explore-landing",children:t==null?void 0:t.map((e,d)=>r.jsx(k,{title:e==null?void 0:e.title,image:e==null?void 0:e.imageUrl,description:e==null?void 0:e.description,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleClick:()=>s(e==null?void 0:e.selectAction,e),onButtonAction:()=>i(e==null?void 0:e.buttonLink,e)},`landing-page-overlay-general-card__${d+1}`))})})]}));module.exports=b;
133
+ `,p=d.forwardRef(({title:r,items:o,onSelectCard:i=()=>{},onButtonAction:s=()=>{}},c)=>n.jsxs(x,{children:[n.jsx("div",{className:"section__title",children:r}),n.jsx("div",{className:"section__items",children:o==null?void 0:o.map((e,l)=>n.jsx(h,{title:e==null?void 0:e.title,description:e==null?void 0:e.description,imageUrl:e==null?void 0:e.imageUrl,buttonText:e==null?void 0:e.buttonText,backgroundColor:e==null?void 0:e.backgroundColor,handleSelectCard:()=>i(e),handleButtonAction:()=>s(e)},`overlay-general-card__${l+1}`))})]}));module.exports=p;
@@ -1,197 +1,208 @@
1
- import { jsx as r, Fragment as g, jsxs as i } from "react/jsx-runtime";
2
- import { forwardRef as p, Suspense as m } from "react";
3
- import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
1
+ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { P as t } from "./index-CblbdqjE.js";
4
+ import _ from "./Button.js";
5
+ import { s as g } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
6
  import { M as h } from "./consts-BuFChS64.js";
5
- import { R as v } from "./style-08foMKSd.js";
6
- import { p as x, o as y, k as w } from "./utils-BbgAIA9N.js";
7
- import k from "./Button.js";
8
- import { useTheme as b } from "./ThemeProvider.js";
9
- const $ = f.div`
10
- display: grid;
11
- grid-template-columns: ${(n) => `repeat(${n.limit}, auto)`};
12
- gap: 1.25rem;
13
- justify-items: center;
14
-
15
- @media (max-width: ${h + "px"}) {
16
- display: flex;
17
- flex-direction: column;
18
- gap: 1rem;
19
- }
20
- `, u = f.div`
21
- width: 100%;
22
- overflow: hidden;
23
- position: relative;
24
-
25
- border-radius: 0.75rem;
26
- background: ${(n) => n == null ? void 0 : n.overlay};
7
+ const u = g.div`
8
+ display: flex;
9
+ height: 28.75rem;
10
+ padding: 2.25rem;
11
+ align-items: flex-start;
12
+ flex-direction: column;
13
+ justify-content: space-between;
27
14
  cursor: pointer;
28
-
29
- & img {
30
- transition: var(--transition, all 0.3s ease);
31
- overflow: hidden;
32
- }
33
- overflow: hidden;
15
+ flex: 1;
16
+ flex-shrink: 0;
17
+ background: ${(r) => r == null ? void 0 : r.backgroundColor}, url(${(r) => r == null ? void 0 : r.backgroundImage});
18
+ background-size: cover;
19
+ background-repeat: no-repeat;
20
+ background-position: center;
21
+ border-radius: 0.75rem;
34
22
 
35
23
  &:hover {
36
- & img {
37
- transform: scale(1.1);
38
- }
24
+ flex: 2;
39
25
  }
40
26
 
41
- & .content-wrapper {
42
- position: absolute;
43
- right: 0;
44
- top: 0;
45
- padding: 2.25rem;
27
+ & .section__text {
46
28
  display: flex;
47
29
  flex-direction: column;
30
+ align-items: flex-start;
48
31
  gap: 1rem;
49
- justify-content: space-between;
50
- height: 100%;
51
- width: 100%;
32
+ align-self: stretch;
33
+
34
+ & .section__title {
35
+ color: var(--white, #fff);
36
+ font-size: 1rem;
37
+ font-style: normal;
38
+ font-weight: 500;
39
+ line-height: 1.5rem;
40
+ }
41
+
42
+ & .section__description {
43
+ color: var(--white, #fff);
44
+ font-size: 1.375rem;
45
+ font-style: normal;
46
+ font-weight: 600;
47
+ line-height: 1.75rem;
48
+ }
52
49
  }
53
50
 
54
- & button {
55
- width: fit-content;
56
- color: var(--gray-950, #14161a);
51
+ & .section__action {
57
52
  background: var(--white, #fff);
53
+ color: var(--gray-950, #14161a);
54
+ font-size: 0.875rem;
55
+ font-style: normal;
56
+ font-weight: 500;
57
+ line-height: 1.25rem;
58
58
 
59
59
  &:hover {
60
60
  color: var(--gray-700, #4e555f);
61
- background: var(--white, #fff);
61
+ }
62
+
63
+ &:focus {
64
+ outline: none;
62
65
  }
63
66
  }
64
67
 
65
- & .content-text {
66
- display: flex;
67
- flex-direction: column;
68
- gap: 1rem;
69
- color: var(--white, #fff);
70
- font-size: 1rem;
71
- font-weight: 500;
68
+ @media (max-width: ${h + "px"}) {
69
+ padding: 2rem;
70
+ min-height: 17.5rem;
72
71
 
73
- & .content-text-title {
74
- font-weight: 600;
75
- ${x(2)}
72
+ &:hover {
73
+ flex: 1;
74
+ }
75
+
76
+ & .section__text {
77
+ gap: 0.5rem;
78
+
79
+ & .section__title {
80
+ font-size: 0.875rem;
81
+ line-height: 1.25rem;
82
+ }
83
+
84
+ & .section__description {
85
+ font-size: 1rem;
86
+ line-height: 1.5rem;
87
+ }
76
88
  }
77
89
  }
90
+ `, m = f(
91
+ ({
92
+ title: r,
93
+ description: n,
94
+ buttonText: i,
95
+ imageUrl: a,
96
+ backgroundColor: d,
97
+ handleSelectCard: e = () => {
98
+ },
99
+ handleButtonAction: l = () => {
100
+ }
101
+ }, p) => /* @__PURE__ */ c(
102
+ u,
103
+ {
104
+ backgroundImage: a,
105
+ backgroundColor: d,
106
+ onClick: e,
107
+ children: [
108
+ /* @__PURE__ */ c("div", { className: "section__text", children: [
109
+ r && /* @__PURE__ */ o("div", { className: "section__title", children: r }),
110
+ n && /* @__PURE__ */ o("div", { className: "section__description", children: n })
111
+ ] }),
112
+ /* @__PURE__ */ o(
113
+ _,
114
+ {
115
+ text: i,
116
+ onClick: (s) => {
117
+ s == null || s.stopPropagation(), l();
118
+ },
119
+ borderRadius: "regular",
120
+ color: "gray",
121
+ className: "section__action"
122
+ }
123
+ )
124
+ ]
125
+ }
126
+ )
127
+ );
128
+ m.propTypes = {
129
+ title: t.string,
130
+ description: t.string,
131
+ buttonText: t.string,
132
+ imageUrl: t.string,
133
+ backgroundColor: t.string,
134
+ handleSelectCard: t.func,
135
+ handleButtonAction: t.func
136
+ };
137
+ const x = g.div`
138
+ display: flex;
139
+ flex-direction: column;
140
+ align-items: flex-start;
141
+ gap: 1.5rem;
142
+
143
+ & .section__title {
144
+ color: var(--gray-950, #14161a);
145
+ font-size: 1.5rem;
146
+ font-style: normal;
147
+ font-weight: 600;
148
+ line-height: 2rem;
149
+ letter-spacing: -0.0294rem;
150
+ }
78
151
 
79
- & img {
80
- aspect-ratio: 1 / 1;
81
- mix-blend-mode: multiply;
152
+ & .section__items {
153
+ display: flex;
154
+ align-items: center;
155
+ gap: 1rem;
82
156
  width: 100%;
83
- object-fit: cover;
84
157
  }
85
158
 
86
- & .img-skeleton {
87
- background-color: ${y("-90deg")};
88
- min-height: 28.75rem;
159
+ & .section__item {
160
+ background: lightblue;
161
+ height: 24rem;
162
+ transition: width 0.5s ease;
163
+ flex-shrink: 0;
164
+ display: flex;
165
+ justify-content: center;
166
+ align-items: center;
167
+ cursor: pointer;
168
+ flex: 1;
169
+
170
+ &:hover {
171
+ flex: 2;
172
+ transition: width 0.5s ease;
173
+ }
89
174
  }
90
175
 
91
176
  @media (max-width: ${h + "px"}) {
92
- & img,
93
- .img.skeleton {
94
- aspect-ratio: unset;
95
- min-height: 28.75rem;
96
- max-height: 28.75rem;
177
+ & .section__title {
178
+ font-size: 1.375rem;
179
+ line-height: 1.75rem;
97
180
  }
98
- }
99
- `, C = p(({}, n) => /* @__PURE__ */ r(u, { ref: n, children: /* @__PURE__ */ r("div", { className: "img-skeleton" }) })), N = ({ limit: n = 2, isLoading: o = !1, keyPrefix: t }) => /* @__PURE__ */ r(g, { children: Array.from({ length: n }, (l, a) => /* @__PURE__ */ r(
100
- C,
101
- {
102
- isLoading: o
103
- },
104
- `${t}-skeleton-product-card-${a}`
105
- )) }), S = ({
106
- children: n,
107
- fallbackComponent: o = /* @__PURE__ */ r(g, {}),
108
- isLoading: t = !1,
109
- limit: l,
110
- keyPrefix: a
111
- }) => /* @__PURE__ */ r(m, { fallbackComponent: o, children: t === !0 ? /* @__PURE__ */ r(
112
- N,
113
- {
114
- isLoading: t,
115
- limit: l,
116
- keyPrefix: a
117
- }
118
- ) : n }), _ = p(
119
- ({
120
- title: n,
121
- image: o,
122
- backgroundColor: t,
123
- description: l,
124
- buttonText: a,
125
- handleClick: c = () => {
126
- },
127
- onButtonAction: d = () => {
181
+
182
+ & .section__items {
183
+ flex-direction: column;
128
184
  }
129
- }, e) => {
130
- const { theme: s } = b();
131
- return /* @__PURE__ */ r(g, { children: /* @__PURE__ */ i(
132
- u,
133
- {
134
- ref: e,
135
- theme: s,
136
- overlay: t,
137
- onClick: c,
138
- children: [
139
- /* @__PURE__ */ r("img", { src: o }),
140
- /* @__PURE__ */ i("div", { className: "content-wrapper", children: [
141
- /* @__PURE__ */ i("div", { className: "content-text", children: [
142
- /* @__PURE__ */ r("div", { children: n }),
143
- /* @__PURE__ */ r("div", { className: "content-text-title", children: l })
144
- ] }),
145
- w(a) && /* @__PURE__ */ r(
146
- k,
147
- {
148
- text: a,
149
- onClick: d,
150
- className: "text__action",
151
- size: "medium",
152
- color: "gray"
153
- }
154
- )
155
- ] })
156
- ]
157
- }
158
- ) });
159
185
  }
160
- ), E = p(
161
- ({
162
- title: n,
163
- items: o,
164
- limit: t = 2,
165
- onSelectCard: l = () => {
166
- },
167
- isLoading: a = !1,
168
- onButtonAction: c = () => {
169
- }
170
- }, d) => /* @__PURE__ */ i(v, { ref: d, children: [
171
- /* @__PURE__ */ r("div", { className: "regular-title center", children: /* @__PURE__ */ r("div", { className: "regular-title-text", children: /* @__PURE__ */ r("span", { children: n }) }) }),
172
- /* @__PURE__ */ r($, { limit: t, children: /* @__PURE__ */ r(
173
- S,
186
+ `, z = f(
187
+ ({ title: r, items: n, onSelectCard: i = () => {
188
+ }, onButtonAction: a = () => {
189
+ } }, d) => /* @__PURE__ */ c(x, { children: [
190
+ /* @__PURE__ */ o("div", { className: "section__title", children: r }),
191
+ /* @__PURE__ */ o("div", { className: "section__items", children: n == null ? void 0 : n.map((e, l) => /* @__PURE__ */ o(
192
+ m,
174
193
  {
175
- isLoading: a,
176
- limit: t,
177
- keyPrefix: "explore-landing",
178
- children: o == null ? void 0 : o.map((e, s) => /* @__PURE__ */ r(
179
- _,
180
- {
181
- title: e == null ? void 0 : e.title,
182
- image: e == null ? void 0 : e.imageUrl,
183
- description: e == null ? void 0 : e.description,
184
- buttonText: e == null ? void 0 : e.buttonText,
185
- backgroundColor: e == null ? void 0 : e.backgroundColor,
186
- handleClick: () => l(e == null ? void 0 : e.selectAction, e),
187
- onButtonAction: () => c(e == null ? void 0 : e.buttonLink, e)
188
- },
189
- `landing-page-overlay-general-card__${s + 1}`
190
- ))
191
- }
192
- ) })
194
+ title: e == null ? void 0 : e.title,
195
+ description: e == null ? void 0 : e.description,
196
+ imageUrl: e == null ? void 0 : e.imageUrl,
197
+ buttonText: e == null ? void 0 : e.buttonText,
198
+ backgroundColor: e == null ? void 0 : e.backgroundColor,
199
+ handleSelectCard: () => i(e),
200
+ handleButtonAction: () => a(e)
201
+ },
202
+ `overlay-general-card__${l + 1}`
203
+ )) })
193
204
  ] })
194
205
  );
195
206
  export {
196
- E as default
207
+ z as default
197
208
  };
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),n=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./consts-goSZX3xP.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./index-B_HNDmXL.cjs"),N=require("./index-BaLBHyTh.cjs"),v=require("./suspense-product-card-simple-CJwnghtt.cjs"),T=k.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),n=require("react"),k=require("./emotion-styled.browser.esm-BtEseadx.cjs"),M=require("./consts-goSZX3xP.cjs"),U=require("./useDetectMobile-zkbzoOGV.cjs"),F=require("./index-B_HNDmXL.cjs"),N=require("./index-CSgGox95.cjs"),v=require("./suspense-product-card-simple-CJwnghtt.cjs"),T=k.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: repeat(6, 1fr);
4
4
  gap: 1.25rem;
@@ -4,7 +4,7 @@ import { s as v } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as B } from "./consts-BuFChS64.js";
5
5
  import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { S as L } from "./index-B2pFbNKc.js";
7
- import { T as j } from "./index-CsrdUl1x.js";
7
+ import { T as j } from "./index-DK8dqEUQ.js";
8
8
  import { S as z } from "./suspense-product-card-simple-Z-FddSb-.js";
9
9
  const C = v.div`
10
10
  display: grid;
@@ -0,0 +1,5 @@
1
+ "use strict";const a=require("./_commonjsHelpers-DwTZ_eVU.cjs");var i={exports:{}};/*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */(function(n){(function(){var c={}.hasOwnProperty;function e(){for(var t="",r=0;r<arguments.length;r++){var s=arguments[r];s&&(t=o(t,f(s)))}return t}function f(t){if(typeof t=="string"||typeof t=="number")return t;if(typeof t!="object")return"";if(Array.isArray(t))return e.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var r="";for(var s in t)c.call(t,s)&&t[s]&&(r=o(r,s));return r}function o(t,r){return r?t?t+" "+r:t+r:t}n.exports?(e.default=e,n.exports=e):window.classNames=e})()})(i);var u=i.exports;const p=a.getDefaultExportFromCjs(u);exports.classNames=p;
@@ -2,11 +2,11 @@
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: 1.25rem;
5
- color: var(--gray-950, #14161A);
5
+ color: var(--gray-950, #14161a);
6
6
  justify-content: center;
7
7
 
8
8
  & button {
9
- width: fit-content
9
+ width: fit-content;
10
10
  }
11
11
 
12
12
  & .block-group {
@@ -17,17 +17,17 @@
17
17
  & .txt-block-subtitle {
18
18
  font-size: 0.75rem;
19
19
  font-weight: 400;
20
- color: var(--gray-500);
20
+ color: var(--gray-500, #868c98);
21
21
  }
22
22
  & .txt-block-title {
23
23
  font-size: 1.5rem;
24
24
  font-weight: 600;
25
- color: var(--gray-950, #14161A);
25
+ color: var(--gray-950, #14161a);
26
26
  }
27
27
  & .txt-block-description {
28
28
  font-size: 0.875rem;
29
29
  font-weight: 400;
30
- color: var(--gray-700, #4E555F);
30
+ color: var(--gray-700, #4e555f);
31
31
  }
32
32
 
33
33
  @media (max-width: ${u.MOBILE_SIZE_PX+"px"}) {
@@ -37,4 +37,4 @@
37
37
  font-size: 1.375rem;
38
38
  }
39
39
  }
40
- `,f=a.forwardRef((e,m)=>{const{title:o,subtitle:r,description:i,buttonText:n,buttonLink:c,onButtonAction:s=()=>{},...l}=e;return t.jsxs(b,{...l,children:[t.jsxs("div",{className:"block-group",children:[t.jsx("div",{className:"txt-block-subtitle",children:r}),t.jsx("div",{className:"txt-block-title",children:o}),t.jsx("div",{className:"txt-block-description",children:i})]}),t.jsx(x,{type:"button",btnType:"outline",borderRadius:"curved",onClick:()=>s(c),color:"gray",children:n})]})});exports.TextBlockV1=f;
40
+ `,f=a.forwardRef((e,m)=>{const{title:o,subtitle:r,description:i,buttonText:c,buttonLink:n,onButtonAction:s=()=>{},...l}=e;return t.jsxs(b,{...l,children:[t.jsxs("div",{className:"block-group",children:[t.jsx("div",{className:"txt-block-subtitle",children:r}),t.jsx("div",{className:"txt-block-title",children:o}),t.jsx("div",{className:"txt-block-description",children:i})]}),t.jsx(x,{type:"button",btnType:"outline",borderRadius:"curved",onClick:()=>s(n),color:"gray",children:c})]})});exports.TextBlockV1=f;
@@ -7,11 +7,11 @@ const u = m.div`
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  gap: 1.25rem;
10
- color: var(--gray-950, #14161A);
10
+ color: var(--gray-950, #14161a);
11
11
  justify-content: center;
12
12
 
13
13
  & button {
14
- width: fit-content
14
+ width: fit-content;
15
15
  }
16
16
 
17
17
  & .block-group {
@@ -22,17 +22,17 @@ const u = m.div`
22
22
  & .txt-block-subtitle {
23
23
  font-size: 0.75rem;
24
24
  font-weight: 400;
25
- color: var(--gray-500);
25
+ color: var(--gray-500, #868c98);
26
26
  }
27
27
  & .txt-block-title {
28
28
  font-size: 1.5rem;
29
29
  font-weight: 600;
30
- color: var(--gray-950, #14161A);
30
+ color: var(--gray-950, #14161a);
31
31
  }
32
32
  & .txt-block-description {
33
33
  font-size: 0.875rem;
34
34
  font-weight: 400;
35
- color: var(--gray-700, #4E555F);
35
+ color: var(--gray-700, #4e555f);
36
36
  }
37
37
 
38
38
  @media (max-width: ${f + "px"}) {