@lanaco/lnc-react-ui 4.0.26 → 4.0.28

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/index9.cjs CHANGED
@@ -1,150 +1,98 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),x=require("./Button.cjs"),s=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),i=require("./utils-CE6bljYe.cjs"),h=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=require("./consts-dNz9tpt4.cjs"),f=s.newStyled.div`
2
- display: flex;
3
- flex-direction: column;
4
- align-items: flex-start;
1
+ "use strict";const t=require("react/jsx-runtime"),f=require("react"),u=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),a=require("./consts-dNz9tpt4.cjs"),d=require("./utils-CE6bljYe.cjs"),$=require("./index-BlV3tdJ8.cjs"),I=u.newStyled.div`
2
+ width: 100%;
3
+ height: 11.625rem;
5
4
  border-radius: 0.75rem;
6
- position: relative;
7
- box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
8
-
9
- grid-column: ${t=>{var e;return((e=t.position)==null?void 0:e.columnStart)||"1"}} /
10
- ${t=>{var e;return((e=t.position)==null?void 0:e.columnEnd)||"6"}};
11
- grid-row: ${t=>{var e;return((e=t.position)==null?void 0:e.rowStart)||"1"}} /
12
- ${t=>{var e;return((e=t.position)==null?void 0:e.rowEnd)||"1"}};
5
+ background: ${d.linearGradientAnimation("-90deg")};
6
+ `,A=u.newStyled.div`
7
+ width: 100%;
8
+ height: auto;
9
+ border-radius: 999px;
13
10
 
14
11
  & .wrapper__image {
15
- height: 100%;
16
12
  width: 100%;
13
+ aspect-ratio: 1 / 1;
17
14
  object-fit: cover;
18
- border-radius: 0.75rem;
15
+ border-radius: 999px;
16
+ max-height: 9.875rem;
19
17
  }
20
18
 
21
- & .wrapper__image--skeleton {
22
- width: 24.5rem;
23
- height: 30rem;
24
- border-radius: 0.75rem;
25
- background-color: ${i.linearGradientAnimation("-90deg")};
19
+ &.active {
20
+ border: var(--yellow-600, #d97706);
21
+ }
22
+
23
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
24
+ & .wrapper__image {
25
+ height: auto;
26
+ }
26
27
  }
28
+ `,F=u.newStyled.div`
29
+ width: 9.875rem;
30
+ height: 9.875rem;
31
+ border-radius: 999px;
32
+ background: ${d.linearGradientAnimation("-90deg")};
33
+
34
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
35
+ width: 4.5rem;
36
+ height: 4.5rem;
37
+ }
38
+ `,N=f.forwardRef(({},i)=>t.jsx(F,{})),k=f.forwardRef(({isActive:i,image:o,imageComponent:r,onSelectCard:l=()=>{}},_)=>t.jsx(A,{className:i?"active":"",onClick:l,children:d.isDefined(r)?r:t.jsx("img",{src:o,className:"wrapper__image"})})),C=f.forwardRef(({uuid:i,title:o,price:r,currency:l,isNegotiable:_,isFree:x,image:w,sellerUuid:s,onSelectCard:m=()=>{},imageComponent:p,negotiableText:y="Negotiable",freeText:g="Free"},h)=>t.jsx($.SimpleProductCard,{uuid:i,title:o,price:r,currency:l,isNegotiable:_,isFree:x,image:w,imageComponent:p,sellerUuid:s,onSelectCard:m,negotiableText:y,freeText:g})),W=f.forwardRef(({},i)=>t.jsx(I,{})),O=u.newStyled.div`
39
+ display: flex;
40
+ flex-direction: column;
41
+ align-items: center;
42
+ gap: 1.5rem;
27
43
 
28
- & .wrapper__text {
44
+ & .wrapper__heading {
29
45
  display: flex;
30
46
  flex-direction: column;
31
- align-items: flex-start;
32
- padding: 1rem;
33
- position: absolute;
34
- bottom: 0;
35
- left: 0;
36
- gap: 0.75rem;
37
-
38
- & .text__title {
39
- color: var(--white, #ffffff);
40
- font-size: 1rem;
41
- font-style: normal;
42
- font-weight: 500;
43
- line-height: 1.5rem;
44
- ${i.truncateTextInRows(2)}
45
- }
47
+ gap: 1rem;
48
+ text-align: center;
46
49
 
47
- & .text__tag {
48
- background-color: var(--warning-600, #d97706);
49
- color: var(--white, #ffffff);
50
- font-size: 0.875rem;
50
+ & .wrapper__title {
51
+ color: var(--gray-950, #14161a);
52
+ text-align: center;
53
+ font-size: 1.5rem;
51
54
  font-style: normal;
52
- font-weight: 500;
53
- line-height: 1.25rem;
54
- padding: 0.25rem 0.5rem;
55
-
56
- border-radius: 0.375rem;
57
- background: var(--warning-600, #d97706);
55
+ font-weight: 600;
56
+ line-height: 2rem;
57
+ letter-spacing: -0.47px;
58
58
  }
59
59
 
60
- & .text__description {
61
- color: var(--white);
60
+ & .wrapper__subtitle {
61
+ color: var(---gray-600, #676e79);
62
62
  font-size: 0.875rem;
63
63
  font-style: normal;
64
64
  font-weight: 400;
65
65
  line-height: 1.25rem;
66
- ${i.truncateTextInRows(2)}
67
- }
68
-
69
- & .text__action {
70
- background: var(--white);
71
- color: var(--black);
72
-
73
- &:hover {
74
- background: var(--primary-500, #f59e0b);
75
- color: var(--white);
76
- }
77
- }
78
-
79
- & .text__title--skeleton {
80
- background-color: ${i.linearGradientAnimation("-90deg")};
81
- height: 1rem;
82
- width: 9rem;
83
- }
84
-
85
- & .text__description--skeleton {
86
- background-color: ${i.linearGradientAnimation("-90deg")};
87
- height: 1rem;
88
- width: 12rem;
89
- }
90
-
91
- & .text__action--skeleton {
92
- background-color: ${i.linearGradientAnimation("-90deg")};
93
- height: 2rem;
94
- width: 9rem;
66
+ letter-spacing: 0.25px;
95
67
  }
96
68
  }
97
- `,u=c.forwardRef(({title:t,image:e,description:n,actionText:o,onSelectCard:a=()=>{},className:l,position:g,tag:d},y)=>{const p=h.useTheme();return r.jsx(r.Fragment,{children:r.jsxs(f,{theme:p,className:l,onClick:a,position:g,children:[r.jsx("img",{src:e,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__text",children:[d&&r.jsx("div",{className:"text__tag",children:d}),r.jsx("div",{className:"text__title",children:t}),i.isDefinedNotEmptyString(n)&&r.jsx("div",{className:"text__description",children:n}),i.isDefinedNotEmptyString(o)&&r.jsx(x,{text:o,onClick:a,className:"text__action"})]})]})})}),_=s.newStyled.div`
98
- display: flex;
99
- flex-direction: column;
100
- gap: 1.5rem;
101
69
 
102
- & .regular-title {
103
- display: flex;
104
- gap: 0.5rem;
70
+ & .wrapper__avatars {
71
+ display: grid;
72
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitAvatars}, minmax(0, 1fr))`};
73
+ gap: 2rem;
74
+ justify-items: center;
105
75
  align-items: center;
106
- justify-content: space-between;
107
- font-size: 1.5rem;
108
- font-weight: 600;
109
- & .regular-title-text {
110
- display: flex;
111
- gap: 0.5rem;
112
- align-items: center;
113
- }
114
-
115
- & i {
116
- font-size: 1.5rem;
117
- color: var(--primary-500, #f59e0b);
118
- }
119
76
  }
120
77
 
121
- @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
78
+ & .wrapper__cards {
79
+ display: grid;
80
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitCards}, minmax(0, 1fr))`};
122
81
  gap: 1.25rem;
82
+ justify-items: center;
83
+ align-items: center;
84
+ width: 100%;
85
+ }
123
86
 
124
- & .regular-title {
125
- font-size: 1.375rem;
126
-
127
- &.center {
128
- justify-content: center;
129
- }
87
+ @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
88
+ & .wrapper__avatars {
89
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitAvatarsForMobile}, minmax(0, 1fr))`};
90
+ gap: auto;
130
91
  }
131
- }
132
- `,w=s.newStyled.div`
133
- display: grid;
134
- grid-template-columns: repeat(12, 1fr);
135
- grid-template-rows: 15rem 15rem;
136
- grid-column-gap: 1.25rem;
137
- grid-row-gap: 1.25rem;
138
- height: 30rem;
139
- max-height: 30rem;
140
92
 
141
- @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
142
- display: flex;
143
- flex-direction: column;
144
- gap: 1rem;
145
- width: 100%;
146
- height: 100%;
147
- max-height: 100%;
148
- padding: 0 1rem;
93
+ & .wrapper__cards {
94
+ grid-template-columns: ${i=>`repeat(${i==null?void 0:i.limitCardsForMobile}, minmax(0, 1fr))`};
95
+ gap: 1rem;
96
+ }
149
97
  }
150
- `,b=c.forwardRef(({title:t,items:e,limit:n=3},o)=>r.jsxs(_,{children:[r.jsx("div",{className:"regular-title",children:r.jsx("div",{className:"regular-title-text",children:r.jsx("span",{children:t})})}),r.jsx(w,{limit:n,children:e&&(e==null?void 0:e.map((a,l)=>r.jsx(u,{...a},`landing-page-masonry-general-card__${l+1}`)))})]}));module.exports=b;
98
+ `,R=f.forwardRef(({title:i,subtitle:o,avatars:r=[],limitAvatars:l=4,limitCards:_=6,limitAvatarsForMobile:x=4,limitCardsForMobile:w=2,cards:s=[],onSelectAvatar:m=()=>{},onSelectCard:p=()=>{}},y)=>{var j,b;const g=e=>{m==null||m(e==null?void 0:e.uuid)},h=e=>{p==null||p(e==null?void 0:e.uuid)};return t.jsxs(O,{limitAvatars:l,limitAvatarsForMobile:x,limitCards:_,limitCardsForMobile:w,children:[t.jsxs("div",{className:"wrapper__heading",children:[i&&t.jsx("div",{className:"wrapper__title",children:i}),o&&t.jsx("div",{className:"wrapper__subtitle",children:o})]}),t.jsx("div",{className:"wrapper__avatars",children:r&&(r==null?void 0:r.length)>0?r==null?void 0:r.map((e,n)=>t.jsx(k,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:()=>g==null?void 0:g(e)},`field-of-interests-with-avatars-card-avatar__${n+1}`)):(j=Array.from("1234"))==null?void 0:j.map((e,n)=>t.jsx(N,{},`field-of-interests-with-avatars-card-avatar-skeleton__${n+1}`))}),t.jsx("div",{className:"wrapper__cards",children:s&&(s==null?void 0:s.length)>0?s==null?void 0:s.map((e,n)=>t.jsx(C,{uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.title,price:e==null?void 0:e.price,currency:e==null?void 0:e.currency,isNegotiable:e==null?void 0:e.isNegotiable,isFree:e==null?void 0:e.isFree,image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,sellerUuid:e==null?void 0:e.sellerUuid,negotiableText:e==null?void 0:e.negotiableText,freeText:e==null?void 0:e.freeText,onSelectCard:()=>h==null?void 0:h(e)},`field-of-interests-with-avatars-card__${n+1}`)):(b=Array.from("123456"))==null?void 0:b.map((e,n)=>t.jsx(W,{},`field-of-interests-with-avatars-card-skeleton__${n+1}`))})]})});module.exports=R;
package/dist/index9.js CHANGED
@@ -1,222 +1,221 @@
1
- import { jsx as t, Fragment as u, jsxs as m } from "react/jsx-runtime";
2
- import { forwardRef as p } from "react";
3
- import _ from "./Button.js";
4
- import { n as d } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
- import { m as o, t as c, k as g } from "./utils-DtEdJZWa.js";
6
- import { u as w } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
- import { M as f } from "./consts-DNVz1x1I.js";
8
- const b = d.div`
9
- display: flex;
10
- flex-direction: column;
11
- align-items: flex-start;
1
+ import { jsx as t, jsxs as y } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import { n as u } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { M as x } from "./consts-DNVz1x1I.js";
5
+ import { m as F, l as N } from "./utils-DtEdJZWa.js";
6
+ import { S as k } from "./index-DGl-lSfF.js";
7
+ const A = u.div`
8
+ width: 100%;
9
+ height: 11.625rem;
12
10
  border-radius: 0.75rem;
13
- position: relative;
14
- box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.06);
15
-
16
- grid-column: ${(r) => {
17
- var e;
18
- return ((e = r.position) == null ? void 0 : e.columnStart) || "1";
19
- }} /
20
- ${(r) => {
21
- var e;
22
- return ((e = r.position) == null ? void 0 : e.columnEnd) || "6";
23
- }};
24
- grid-row: ${(r) => {
25
- var e;
26
- return ((e = r.position) == null ? void 0 : e.rowStart) || "1";
27
- }} /
28
- ${(r) => {
29
- var e;
30
- return ((e = r.position) == null ? void 0 : e.rowEnd) || "1";
31
- }};
11
+ background: ${F("-90deg")};
12
+ `, C = u.div`
13
+ width: 100%;
14
+ height: auto;
15
+ border-radius: 999px;
32
16
 
33
17
  & .wrapper__image {
34
- height: 100%;
35
18
  width: 100%;
19
+ aspect-ratio: 1 / 1;
36
20
  object-fit: cover;
37
- border-radius: 0.75rem;
21
+ border-radius: 999px;
22
+ max-height: 9.875rem;
38
23
  }
39
24
 
40
- & .wrapper__image--skeleton {
41
- width: 24.5rem;
42
- height: 30rem;
43
- border-radius: 0.75rem;
44
- background-color: ${o("-90deg")};
25
+ &.active {
26
+ border: var(--yellow-600, #d97706);
45
27
  }
46
28
 
47
- & .wrapper__text {
29
+ @media (max-width: ${x + "px"}) {
30
+ & .wrapper__image {
31
+ height: auto;
32
+ }
33
+ }
34
+ `, W = u.div`
35
+ width: 9.875rem;
36
+ height: 9.875rem;
37
+ border-radius: 999px;
38
+ background: ${F("-90deg")};
39
+
40
+ @media (max-width: ${x + "px"}) {
41
+ width: 4.5rem;
42
+ height: 4.5rem;
43
+ }
44
+ `, I = f(({}, i) => /* @__PURE__ */ t(W, {})), v = f(
45
+ ({ isActive: i, image: s, imageComponent: r, onSelectCard: o = () => {
46
+ } }, h) => /* @__PURE__ */ t(
47
+ C,
48
+ {
49
+ className: i ? "active" : "",
50
+ onClick: o,
51
+ children: N(r) ? r : /* @__PURE__ */ t("img", { src: s, className: "wrapper__image" })
52
+ }
53
+ )
54
+ ), O = f(
55
+ ({
56
+ uuid: i,
57
+ title: s,
58
+ price: r,
59
+ currency: o,
60
+ isNegotiable: h,
61
+ isFree: w,
62
+ image: a,
63
+ sellerUuid: m,
64
+ onSelectCard: l = () => {
65
+ },
66
+ imageComponent: p,
67
+ negotiableText: d = "Negotiable",
68
+ freeText: g = "Free"
69
+ }, _) => /* @__PURE__ */ t(
70
+ k,
71
+ {
72
+ uuid: i,
73
+ title: s,
74
+ price: r,
75
+ currency: o,
76
+ isNegotiable: h,
77
+ isFree: w,
78
+ image: a,
79
+ imageComponent: p,
80
+ sellerUuid: m,
81
+ onSelectCard: l,
82
+ negotiableText: d,
83
+ freeText: g
84
+ }
85
+ )
86
+ ), j = f(({}, i) => /* @__PURE__ */ t(A, {})), M = u.div`
87
+ display: flex;
88
+ flex-direction: column;
89
+ align-items: center;
90
+ gap: 1.5rem;
91
+
92
+ & .wrapper__heading {
48
93
  display: flex;
49
94
  flex-direction: column;
50
- align-items: flex-start;
51
- padding: 1rem;
52
- position: absolute;
53
- bottom: 0;
54
- left: 0;
55
- gap: 0.75rem;
56
-
57
- & .text__title {
58
- color: var(--white, #ffffff);
59
- font-size: 1rem;
60
- font-style: normal;
61
- font-weight: 500;
62
- line-height: 1.5rem;
63
- ${c(2)}
64
- }
95
+ gap: 1rem;
96
+ text-align: center;
65
97
 
66
- & .text__tag {
67
- background-color: var(--warning-600, #d97706);
68
- color: var(--white, #ffffff);
69
- font-size: 0.875rem;
98
+ & .wrapper__title {
99
+ color: var(--gray-950, #14161a);
100
+ text-align: center;
101
+ font-size: 1.5rem;
70
102
  font-style: normal;
71
- font-weight: 500;
72
- line-height: 1.25rem;
73
- padding: 0.25rem 0.5rem;
74
-
75
- border-radius: 0.375rem;
76
- background: var(--warning-600, #d97706);
103
+ font-weight: 600;
104
+ line-height: 2rem;
105
+ letter-spacing: -0.47px;
77
106
  }
78
107
 
79
- & .text__description {
80
- color: var(--white);
108
+ & .wrapper__subtitle {
109
+ color: var(---gray-600, #676e79);
81
110
  font-size: 0.875rem;
82
111
  font-style: normal;
83
112
  font-weight: 400;
84
113
  line-height: 1.25rem;
85
- ${c(2)}
114
+ letter-spacing: 0.25px;
86
115
  }
116
+ }
87
117
 
88
- & .text__action {
89
- background: var(--white);
90
- color: var(--black);
91
-
92
- &:hover {
93
- background: var(--primary-500, #f59e0b);
94
- color: var(--white);
95
- }
96
- }
118
+ & .wrapper__avatars {
119
+ display: grid;
120
+ grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitAvatars}, minmax(0, 1fr))`};
121
+ gap: 2rem;
122
+ justify-items: center;
123
+ align-items: center;
124
+ }
97
125
 
98
- & .text__title--skeleton {
99
- background-color: ${o("-90deg")};
100
- height: 1rem;
101
- width: 9rem;
102
- }
126
+ & .wrapper__cards {
127
+ display: grid;
128
+ grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitCards}, minmax(0, 1fr))`};
129
+ gap: 1.25rem;
130
+ justify-items: center;
131
+ align-items: center;
132
+ width: 100%;
133
+ }
103
134
 
104
- & .text__description--skeleton {
105
- background-color: ${o("-90deg")};
106
- height: 1rem;
107
- width: 12rem;
135
+ @media (max-width: ${x + "px"}) {
136
+ & .wrapper__avatars {
137
+ grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitAvatarsForMobile}, minmax(0, 1fr))`};
138
+ gap: auto;
108
139
  }
109
140
 
110
- & .text__action--skeleton {
111
- background-color: ${o("-90deg")};
112
- height: 2rem;
113
- width: 9rem;
141
+ & .wrapper__cards {
142
+ grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitCardsForMobile}, minmax(0, 1fr))`};
143
+ gap: 1rem;
114
144
  }
115
145
  }
116
- `, v = p(
146
+ `, D = f(
117
147
  ({
118
- title: r,
119
- image: e,
120
- description: i,
121
- actionText: n,
122
- onSelectCard: a = () => {
148
+ title: i,
149
+ subtitle: s,
150
+ avatars: r = [],
151
+ limitAvatars: o = 4,
152
+ limitCards: h = 6,
153
+ limitAvatarsForMobile: w = 4,
154
+ limitCardsForMobile: a = 2,
155
+ cards: m = [],
156
+ onSelectAvatar: l = () => {
123
157
  },
124
- className: l,
125
- position: h,
126
- tag: s
127
- }, $) => {
128
- const x = w();
129
- return /* @__PURE__ */ t(u, { children: /* @__PURE__ */ m(
130
- b,
158
+ onSelectCard: p = () => {
159
+ }
160
+ }, d) => {
161
+ var $, b;
162
+ const g = (e) => {
163
+ l == null || l(e == null ? void 0 : e.uuid);
164
+ }, _ = (e) => {
165
+ p == null || p(e == null ? void 0 : e.uuid);
166
+ };
167
+ return /* @__PURE__ */ y(
168
+ M,
131
169
  {
132
- theme: x,
133
- className: l,
134
- onClick: a,
135
- position: h,
170
+ limitAvatars: o,
171
+ limitAvatarsForMobile: w,
172
+ limitCards: h,
173
+ limitCardsForMobile: a,
136
174
  children: [
137
- /* @__PURE__ */ t("img", { src: e, className: "wrapper__image" }),
138
- /* @__PURE__ */ m("div", { className: "wrapper__text", children: [
139
- s && /* @__PURE__ */ t("div", { className: "text__tag", children: s }),
140
- /* @__PURE__ */ t("div", { className: "text__title", children: r }),
141
- g(i) && /* @__PURE__ */ t("div", { className: "text__description", children: i }),
142
- g(n) && /* @__PURE__ */ t(
143
- _,
144
- {
145
- text: n,
146
- onClick: a,
147
- className: "text__action"
148
- }
149
- )
150
- ] })
175
+ /* @__PURE__ */ y("div", { className: "wrapper__heading", children: [
176
+ i && /* @__PURE__ */ t("div", { className: "wrapper__title", children: i }),
177
+ s && /* @__PURE__ */ t("div", { className: "wrapper__subtitle", children: s })
178
+ ] }),
179
+ /* @__PURE__ */ t("div", { className: "wrapper__avatars", children: r && (r == null ? void 0 : r.length) > 0 ? r == null ? void 0 : r.map((e, n) => /* @__PURE__ */ t(
180
+ v,
181
+ {
182
+ image: e == null ? void 0 : e.image,
183
+ imageComponent: e == null ? void 0 : e.imageComponent,
184
+ onSelectCard: () => g == null ? void 0 : g(e)
185
+ },
186
+ `field-of-interests-with-avatars-card-avatar__${n + 1}`
187
+ )) : ($ = Array.from("1234")) == null ? void 0 : $.map((e, n) => /* @__PURE__ */ t(
188
+ I,
189
+ {},
190
+ `field-of-interests-with-avatars-card-avatar-skeleton__${n + 1}`
191
+ )) }),
192
+ /* @__PURE__ */ t("div", { className: "wrapper__cards", children: m && (m == null ? void 0 : m.length) > 0 ? m == null ? void 0 : m.map((e, n) => /* @__PURE__ */ t(
193
+ O,
194
+ {
195
+ uuid: e == null ? void 0 : e.uuid,
196
+ title: e == null ? void 0 : e.title,
197
+ price: e == null ? void 0 : e.price,
198
+ currency: e == null ? void 0 : e.currency,
199
+ isNegotiable: e == null ? void 0 : e.isNegotiable,
200
+ isFree: e == null ? void 0 : e.isFree,
201
+ image: e == null ? void 0 : e.image,
202
+ imageComponent: e == null ? void 0 : e.imageComponent,
203
+ sellerUuid: e == null ? void 0 : e.sellerUuid,
204
+ negotiableText: e == null ? void 0 : e.negotiableText,
205
+ freeText: e == null ? void 0 : e.freeText,
206
+ onSelectCard: () => _ == null ? void 0 : _(e)
207
+ },
208
+ `field-of-interests-with-avatars-card__${n + 1}`
209
+ )) : (b = Array.from("123456")) == null ? void 0 : b.map((e, n) => /* @__PURE__ */ t(
210
+ j,
211
+ {},
212
+ `field-of-interests-with-avatars-card-skeleton__${n + 1}`
213
+ )) })
151
214
  ]
152
215
  }
153
- ) });
154
- }
155
- ), y = d.div`
156
- display: flex;
157
- flex-direction: column;
158
- gap: 1.5rem;
159
-
160
- & .regular-title {
161
- display: flex;
162
- gap: 0.5rem;
163
- align-items: center;
164
- justify-content: space-between;
165
- font-size: 1.5rem;
166
- font-weight: 600;
167
- & .regular-title-text {
168
- display: flex;
169
- gap: 0.5rem;
170
- align-items: center;
171
- }
172
-
173
- & i {
174
- font-size: 1.5rem;
175
- color: var(--primary-500, #f59e0b);
176
- }
216
+ );
177
217
  }
178
-
179
- @media (max-width: ${f + "px"}) {
180
- gap: 1.25rem;
181
-
182
- & .regular-title {
183
- font-size: 1.375rem;
184
-
185
- &.center {
186
- justify-content: center;
187
- }
188
- }
189
- }
190
- `, k = d.div`
191
- display: grid;
192
- grid-template-columns: repeat(12, 1fr);
193
- grid-template-rows: 15rem 15rem;
194
- grid-column-gap: 1.25rem;
195
- grid-row-gap: 1.25rem;
196
- height: 30rem;
197
- max-height: 30rem;
198
-
199
- @media (max-width: ${f + "px"}) {
200
- display: flex;
201
- flex-direction: column;
202
- gap: 1rem;
203
- width: 100%;
204
- height: 100%;
205
- max-height: 100%;
206
- padding: 0 1rem;
207
- }
208
- `, C = p(
209
- ({ title: r, items: e, limit: i = 3 }, n) => /* @__PURE__ */ m(y, { children: [
210
- /* @__PURE__ */ t("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: /* @__PURE__ */ t("span", { children: r }) }) }),
211
- /* @__PURE__ */ t(k, { limit: i, children: e && (e == null ? void 0 : e.map((a, l) => /* @__PURE__ */ t(
212
- v,
213
- {
214
- ...a
215
- },
216
- `landing-page-masonry-general-card__${l + 1}`
217
- ))) })
218
- ] })
219
218
  );
220
219
  export {
221
- C as default
220
+ D as default
222
221
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
- "version": "4.0.26",
3
+ "version": "4.0.28",
4
4
  "description": "React component library",
5
5
  "type": "module",
6
6
  "keywords": [
package/vite.config.js CHANGED
@@ -147,19 +147,19 @@ export default defineConfig({
147
147
  ),
148
148
  resolve(
149
149
  __dirname,
150
- "src/Landing Sections/products-sections/detailed-products-section/index.jsx"
150
+ "src/Landing Sections/products-sections/detailed-products-section/DetailedProductsSection.jsx"
151
151
  ),
152
152
  resolve(
153
153
  __dirname,
154
- "src/Landing Sections/products-sections/products-with-banner-section/index.jsx"
154
+ "src/Landing Sections/products-sections/products-with-banner-section/ProductsWithBannerSection.jsx"
155
155
  ),
156
156
  resolve(
157
157
  __dirname,
158
- "src/Landing Sections/products-sections/simple-products-section/index.jsx"
158
+ "src/Landing Sections/products-sections/simple-products-section/SimpleProductsSection.jsx"
159
159
  ),
160
160
  resolve(
161
161
  __dirname,
162
- "src/Landing Sections/products-sections/urgent-sale-products-section/index.jsx"
162
+ "src/Landing Sections/products-sections/urgent-sale-products-section/UrgentSaleProductsSection.jsx"
163
163
  ),
164
164
  resolve(
165
165
  __dirname,