@lanaco/lnc-react-ui 4.0.160 → 4.0.161

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 (35) hide show
  1. package/dist/BlogCardsSponsoredSection.cjs +4 -2
  2. package/dist/BlogCardsSponsoredSection.js +4 -2
  3. package/dist/BlogListSection.cjs +1 -1
  4. package/dist/BlogListSection.js +1 -1
  5. package/dist/BlogsSectionDetailed.cjs +1 -1
  6. package/dist/BlogsSectionDetailed.js +1 -1
  7. package/dist/BlogsSectionSimple.cjs +1 -1
  8. package/dist/BlogsSectionSimple.js +1 -1
  9. package/dist/BlogsSectionWithFilters.cjs +1 -1
  10. package/dist/BlogsSectionWithFilters.js +1 -1
  11. package/dist/DetailedProductsInfinitiveSection.cjs +2 -0
  12. package/dist/DetailedProductsInfinitiveSection.js +2 -0
  13. package/dist/DetailedProductsSection.cjs +1 -1
  14. package/dist/DetailedProductsSection.js +1 -1
  15. package/dist/FieldOfInterestsMasonrySection.cjs +20 -12
  16. package/dist/FieldOfInterestsMasonrySection.js +35 -27
  17. package/dist/FieldOfInterestsWithTagsCardsSection.cjs +2 -0
  18. package/dist/FieldOfInterestsWithTagsCardsSection.js +5 -3
  19. package/dist/GiftCardsSection.cjs +1 -1
  20. package/dist/GiftCardsSection.js +1 -1
  21. package/dist/MasonryGeneralCardsSection.cjs +1 -3
  22. package/dist/MasonryGeneralCardsSection.js +9 -11
  23. package/dist/ProductsWithBannerSection.cjs +17 -24
  24. package/dist/ProductsWithBannerSection.js +60 -67
  25. package/dist/QuattroCardsSection.cjs +2 -0
  26. package/dist/QuattroCardsSection.js +2 -0
  27. package/dist/SalesCampaignsSection.cjs +2 -0
  28. package/dist/SalesCampaignsSection.js +2 -0
  29. package/dist/ShopCardsSection.cjs +3 -1
  30. package/dist/ShopCardsSection.js +2 -0
  31. package/dist/SimpleCategoriesSection.cjs +1 -1
  32. package/dist/SimpleCategoriesSection.js +1 -1
  33. package/dist/{style-BLuyU97E.js → style-DKAOBWn3.js} +1 -0
  34. package/dist/{style-lSjkOR95.cjs → style-Db3VFbfP.cjs} +1 -0
  35. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),l=require("./utils-Dl9xPH4c.cjs"),w=require("./Icon.cjs"),R=require("./style-lSjkOR95.cjs"),x=require("./index-BueKsXT8.cjs"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),S=require("./suspense-large-CFmcSzX-.cjs"),z=require("./Button.cjs"),I=v.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),d=require("react"),l=require("./utils-Dl9xPH4c.cjs"),w=require("./Icon.cjs"),R=require("./style-Db3VFbfP.cjs"),x=require("./index-BueKsXT8.cjs"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),y=require("./consts-goSZX3xP.cjs"),S=require("./suspense-large-CFmcSzX-.cjs"),z=require("./Button.cjs"),I=v.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -192,6 +192,8 @@
192
192
  }
193
193
 
194
194
  @media (max-width: ${y.MOBILE_SIZE_PX+"px"}) {
195
+ gap: 1.25rem;
196
+
195
197
  & .wrapper__title {
196
198
  & .title__text {
197
199
  font-size: 1.375rem;
@@ -200,7 +202,7 @@
200
202
 
201
203
  & .wrapper__cards {
202
204
  grid-template-columns: repeat(1, minmax(0, 1fr));
203
- gap: 1rem;
205
+ gap: 1.5rem;
204
206
  }
205
207
  }
206
208
  `,$=d.memo(q),L=d.forwardRef(({title:s,subtitle:m,icon:n,buttonText:_,buttonLink:f,timeToReadText:u="{0} min read",items:o,onButtonAction:c=()=>{},onSelectCard:p=()=>{},isLoading:h=!1,getImage:t=()=>{},componentName:b},g)=>{const i=d.useMemo(()=>{var a;return(a=o==null?void 0:o.slice(0,4))==null?void 0:a.map((e,j)=>r.jsx($,{title:e==null?void 0:e.title,titleSlug:e==null?void 0:e.titleSlug,options:e==null?void 0:e.options,publishedAt:e==null?void 0:e.publishedAt,timeToReadText:u,timeToRead:e==null?void 0:e.timeToRead,numberOfLikes:e==null?void 0:e.numberOfLikes,numberOfComments:e==null?void 0:e.numberOfComments,isSponsored:e==null?void 0:e.isSponsored,onSelectCard:(O,N)=>p==null?void 0:p(e,N),imageUrl:t(e==null?void 0:e.imageUrl,e==null?void 0:e.uuid)||null,metadata:{name:b,accessor:e==null?void 0:e.accessor}},`blog-card-sponsored__${j+1}`))},[o]);return r.jsxs(k,{ref:g,children:[r.jsxs("div",{className:"wrapper__heading",children:[r.jsxs("div",{className:"wrapper__title",children:[s&&r.jsxs("div",{className:"title__text",children:[l.isDefinedNotEmptyString(n)&&r.jsx("i",{className:n}),r.jsx("span",{children:s})]}),c&&r.jsx(z,{text:_,borderRadius:"curved",btnType:"tinted",className:"title__action",color:"neutral",onClick:a=>{var e;(e=a==null?void 0:a.target)==null||e.blur(),c==null||c(f)}})]}),m&&r.jsx("div",{className:"wrapper__subtitle",children:m})]}),r.jsx("div",{className:"wrapper__cards",children:r.jsx(S.SuspenseBlogLarge,{isLoading:h,limit:4,keyPrefix:"blog-section",children:i})})]})});module.exports=L;
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as v, useRef as $, memo as j, useMemo as I } from "react";
3
3
  import { p as y, s as R, v as L, w as b, k as O } from "./utils-BdsZgOUE.js";
4
4
  import w from "./Icon.js";
5
- import { B as T } from "./style-BLuyU97E.js";
5
+ import { B as T } from "./style-DKAOBWn3.js";
6
6
  import { P as U } from "./index-CF3HhgvN.js";
7
7
  import { s as N } from "./emotion-styled.browser.esm-BNN1dTl3.js";
8
8
  import { M as z } from "./consts-BuFChS64.js";
@@ -254,6 +254,8 @@ const M = N.div`
254
254
  }
255
255
 
256
256
  @media (max-width: ${z + "px"}) {
257
+ gap: 1.25rem;
258
+
257
259
  & .wrapper__title {
258
260
  & .title__text {
259
261
  font-size: 1.375rem;
@@ -262,7 +264,7 @@ const M = N.div`
262
264
 
263
265
  & .wrapper__cards {
264
266
  grid-template-columns: repeat(1, minmax(0, 1fr));
265
- gap: 1rem;
267
+ gap: 1.5rem;
266
268
  }
267
269
  }
268
270
  `, W = j(P), Y = v(
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),a=require("react"),k=require("./Icon.cjs"),N=require("./IconButton.cjs"),o=require("./utils-Dl9xPH4c.cjs"),q=require("./index-BueKsXT8.cjs"),I=require("./style-lSjkOR95.cjs"),B=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./consts-goSZX3xP.cjs"),C=require("./suspense-large-CFmcSzX-.cjs"),L=B.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),a=require("react"),k=require("./Icon.cjs"),N=require("./IconButton.cjs"),o=require("./utils-Dl9xPH4c.cjs"),q=require("./index-BueKsXT8.cjs"),I=require("./style-Db3VFbfP.cjs"),B=require("./emotion-styled.browser.esm-BtEseadx.cjs"),$=require("./consts-goSZX3xP.cjs"),C=require("./suspense-large-CFmcSzX-.cjs"),L=B.styled.div`
2
2
  display: flex;
3
3
  padding: 1rem;
4
4
  align-items: center;
@@ -4,7 +4,7 @@ import N from "./Icon.js";
4
4
  import B from "./IconButton.js";
5
5
  import { p as T, s as O, v as S, w as $, l as E } from "./utils-BdsZgOUE.js";
6
6
  import { P as M } from "./index-CF3HhgvN.js";
7
- import { B as U } from "./style-BLuyU97E.js";
7
+ import { B as U } from "./style-DKAOBWn3.js";
8
8
  import { s as I } from "./emotion-styled.browser.esm-BNN1dTl3.js";
9
9
  import { M as W } from "./consts-BuFChS64.js";
10
10
  import { S as A } from "./suspense-large-BMO7JH52.js";
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),A=require("./useDetectMobile-zkbzoOGV.cjs"),i=require("./utils-Dl9xPH4c.cjs"),R=require("./style-lSjkOR95.cjs"),$=require("./Button.cjs"),B=require("./index-BueKsXT8.cjs"),D=v.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),v=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),A=require("./useDetectMobile-zkbzoOGV.cjs"),i=require("./utils-Dl9xPH4c.cjs"),R=require("./style-Db3VFbfP.cjs"),$=require("./Button.cjs"),B=require("./index-BueKsXT8.cjs"),D=v.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${s=>`repeat(${s.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -4,7 +4,7 @@ import { s as R } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as $ } from "./consts-BuFChS64.js";
5
5
  import { u as I } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { o as y, p as U, v as W, s as j, w as T, k as N } from "./utils-BdsZgOUE.js";
7
- import { B as E, R as _ } from "./style-BLuyU97E.js";
7
+ import { B as E, R as _ } from "./style-DKAOBWn3.js";
8
8
  import G from "./Button.js";
9
9
  import { P as F } from "./index-CF3HhgvN.js";
10
10
  const X = R.div`
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),c=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),f=require("./utils-Dl9xPH4c.cjs"),k=require("./style-lSjkOR95.cjs"),T=require("./Button.cjs"),$=require("./Link.cjs"),I=require("./index-BueKsXT8.cjs"),P=w.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),c=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),v=require("./consts-goSZX3xP.cjs"),M=require("./useDetectMobile-zkbzoOGV.cjs"),f=require("./utils-Dl9xPH4c.cjs"),k=require("./style-Db3VFbfP.cjs"),T=require("./Button.cjs"),$=require("./Link.cjs"),I=require("./index-BueKsXT8.cjs"),P=w.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -4,7 +4,7 @@ import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as C } from "./consts-BuFChS64.js";
5
5
  import { u as W } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { o as j, p as A, k as y } from "./utils-BdsZgOUE.js";
7
- import { B as E, R as L } from "./style-BLuyU97E.js";
7
+ import { B as E, R as L } from "./style-DKAOBWn3.js";
8
8
  import _ from "./Button.js";
9
9
  import D from "./Link.js";
10
10
  import { P as G } from "./index-CF3HhgvN.js";
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),l=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),W=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-Dl9xPH4c.cjs"),A=require("./style-lSjkOR95.cjs"),I=require("./Button.cjs"),_=require("./Link.cjs"),z=require("./index-BueKsXT8.cjs"),E=require("./index-D0xXo7W6.cjs"),P=x.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),l=require("react"),x=require("./emotion-styled.browser.esm-BtEseadx.cjs"),S=require("./consts-goSZX3xP.cjs"),W=require("./useDetectMobile-zkbzoOGV.cjs"),m=require("./utils-Dl9xPH4c.cjs"),A=require("./style-Db3VFbfP.cjs"),I=require("./Button.cjs"),_=require("./Link.cjs"),z=require("./index-BueKsXT8.cjs"),E=require("./index-D0xXo7W6.cjs"),P=x.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${n=>`repeat(${n.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -4,7 +4,7 @@ import { s as S } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as $ } from "./consts-BuFChS64.js";
5
5
  import { u as U } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { o as k, p as _, k as T } from "./utils-BdsZgOUE.js";
7
- import { T as D } from "./style-BLuyU97E.js";
7
+ import { T as D } from "./style-DKAOBWn3.js";
8
8
  import G from "./Button.js";
9
9
  import H from "./Link.js";
10
10
  import { P as K } from "./index-CF3HhgvN.js";
@@ -48,6 +48,8 @@
48
48
  }
49
49
 
50
50
  @media (max-width: ${M.MOBILE_SIZE_PX+"px"}) {
51
+ gap: 1.25rem;
52
+
51
53
  & .section__items {
52
54
  display: flex;
53
55
  gap: 1rem;
@@ -57,6 +57,8 @@ const A = L.div`
57
57
  }
58
58
 
59
59
  @media (max-width: ${T + "px"}) {
60
+ gap: 1.25rem;
61
+
60
62
  & .section__items {
61
63
  display: flex;
62
64
  gap: 1rem;
@@ -1,4 +1,4 @@
1
- "use strict";const o=require("react/jsx-runtime"),l=require("react"),T=require("./emotion-styled.browser.esm-BtEseadx.cjs"),F=require("./consts-goSZX3xP.cjs"),B=require("./Button.cjs"),f=require("./utils-Dl9xPH4c.cjs"),E=require("./useDetectMobile-zkbzoOGV.cjs"),R=require("./style-lSjkOR95.cjs"),j=require("./suspense-product-card-detailed-D-pjVe22.cjs"),I=require("./index-D0xXo7W6.cjs"),_=T.styled.div`
1
+ "use strict";const o=require("react/jsx-runtime"),l=require("react"),T=require("./emotion-styled.browser.esm-BtEseadx.cjs"),F=require("./consts-goSZX3xP.cjs"),B=require("./Button.cjs"),f=require("./utils-Dl9xPH4c.cjs"),E=require("./useDetectMobile-zkbzoOGV.cjs"),R=require("./style-Db3VFbfP.cjs"),j=require("./suspense-product-card-detailed-D-pjVe22.cjs"),I=require("./index-D0xXo7W6.cjs"),_=T.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -5,7 +5,7 @@ import { M as O } from "./consts-BuFChS64.js";
5
5
  import R from "./Button.js";
6
6
  import { k as h } from "./utils-BdsZgOUE.js";
7
7
  import { u as W } from "./useDetectMobile-Bkvj0VMa.js";
8
- import { T as $ } from "./style-BLuyU97E.js";
8
+ import { T as $ } from "./style-DKAOBWn3.js";
9
9
  import { D as j, S as z } from "./suspense-product-card-detailed-BZtObEfA.js";
10
10
  import { S as A } from "./index-Dweo-G3H.js";
11
11
  const K = I.div`
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),s=require("react"),l=require("./utils-Dl9xPH4c.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),g=require("./consts-goSZX3xP.cjs"),q=require("./Icon.cjs"),z=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),R=_.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),l=require("react"),s=require("./utils-Dl9xPH4c.cjs"),_=require("./emotion-styled.browser.esm-BtEseadx.cjs"),x=require("./consts-goSZX3xP.cjs"),R=require("./Icon.cjs"),q=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),z=_.styled.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: fit-content;
@@ -37,7 +37,7 @@
37
37
  font-style: normal;
38
38
  font-weight: 500;
39
39
  line-height: 1.5rem;
40
- ${l.truncateTextInRows(2)}
40
+ ${s.truncateTextInRows(2)}
41
41
  }
42
42
 
43
43
  & .wrapper__description {
@@ -47,11 +47,11 @@
47
47
  font-weight: 400;
48
48
  line-height: 1rem;
49
49
  letter-spacing: 0.025rem;
50
- ${l.truncateTextInRows(2)}
50
+ ${s.truncateTextInRows(2)}
51
51
  }
52
52
  }
53
53
 
54
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
54
+ @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
55
55
  & .wrapper__content {
56
56
  & .wrapper__title {
57
57
  font-size: 0.875rem;
@@ -67,13 +67,15 @@
67
67
  width: 100%;
68
68
  height: 11.625rem;
69
69
  border-radius: 0.75rem;
70
- background: ${l.linearGradientAnimation("-90deg")};
70
+ background: ${s.linearGradientAnimation("-90deg")};
71
71
  `,C=_.styled.div`
72
72
  display: flex;
73
73
  flex-direction: column;
74
74
  align-items: center;
75
75
  gap: 0.75rem;
76
76
  height: 100%;
77
+ max-width: 8rem;
78
+ min-width: 8rem;
77
79
 
78
80
  &:hover {
79
81
  cursor: pointer;
@@ -106,6 +108,8 @@
106
108
  font-style: normal;
107
109
  font-weight: 400;
108
110
  line-height: 1.5rem;
111
+ max-width: 8rem;
112
+ ${s.truncateTextInRows(2)}
109
113
  }
110
114
 
111
115
  &.active {
@@ -115,7 +119,9 @@
115
119
  }
116
120
  }
117
121
 
118
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
122
+ @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
123
+ max-width: unset;
124
+ min-width: unset;
119
125
  flex-direction: row;
120
126
  align-items: center;
121
127
  gap: 0.25rem;
@@ -150,19 +156,20 @@
150
156
  font-size: 0.875rem;
151
157
  line-height: 1.25rem;
152
158
  white-space: nowrap;
159
+ max-width: unset;
153
160
  }
154
161
  }
155
162
  `,L=_.styled.div`
156
163
  width: 7.5rem;
157
164
  width: 7.5rem;
158
165
  border-radius: 999px;
159
- background: ${l.linearGradientAnimation("-90deg")};
166
+ background: ${s.linearGradientAnimation("-90deg")};
160
167
 
161
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
168
+ @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
162
169
  width: 7.5rem;
163
170
  height: 2.5rem;
164
171
  }
165
- `,O=s.forwardRef(({},t)=>r.jsx(L,{})),F=s.forwardRef(({text:t,isActive:o=!1,icon:i,onSelectCard:n=()=>{}},d)=>r.jsxs(C,{ref:d,className:o?"active":"",onClick:n,children:[r.jsx(q,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=s.forwardRef(({image:t,imageComponent:o,title:i,description:n,className:d,onSelectCard:x=()=>{}},u)=>{const{theme:y}=z.useTheme();return r.jsxs(R,{ref:u,theme:y,className:d,onClick:x,children:[l.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),T=s.forwardRef(({},t)=>r.jsxs(S,{children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__title"}),r.jsx("div",{className:"wrapper__description"})]})]})),W=_.styled.div`
172
+ `,O=l.forwardRef(({},t)=>r.jsx(L,{})),F=l.forwardRef(({text:t,isActive:o=!1,icon:i,onSelectCard:n=()=>{}},d)=>r.jsxs(C,{ref:d,className:o?"active":"",onClick:n,children:[r.jsx(R,{icon:i,className:"wrapper__icon"}),r.jsx("div",{className:"wrapper__text",children:t})]})),A=l.forwardRef(({image:t,imageComponent:o,title:i,description:n,className:d,onSelectCard:g=()=>{}},u)=>{const{theme:y}=q.useTheme();return r.jsxs(z,{ref:u,theme:y,className:d,onClick:g,children:[s.isDefined(o)?o:r.jsx("img",{src:t,className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[i&&r.jsx("div",{className:"wrapper__title",children:i}),n&&r.jsx("div",{className:"wrapper__description",children:n})]})]})}),T=l.forwardRef(({},t)=>r.jsxs(S,{children:[r.jsx("div",{className:"wrapper__image"}),r.jsxs("div",{className:"wrapper__content",children:[r.jsx("div",{className:"wrapper__title"}),r.jsx("div",{className:"wrapper__description"})]})]})),W=_.styled.div`
166
173
  display: flex;
167
174
  flex-direction: column;
168
175
  align-items: center;
@@ -201,7 +208,6 @@
201
208
  & .wrapper__tags {
202
209
  display: flex;
203
210
  justify-content: center;
204
- align-items: center;
205
211
  gap: 0.75rem;
206
212
  }
207
213
 
@@ -218,7 +224,9 @@
218
224
  }
219
225
  }
220
226
 
221
- @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
227
+ @media (max-width: ${x.MOBILE_SIZE_PX+"px"}) {
228
+ gap: 1rem;
229
+
222
230
  & .wrapper__tags {
223
231
  overflow-x: scroll;
224
232
  justify-content: flex-start;
@@ -243,4 +251,4 @@
243
251
  grid-template-columns: ${t=>`repeat(${t==null?void 0:t.limitCardsForMobile}, minmax(0, 1fr))`};
244
252
  }
245
253
  }
246
- `,B=s.forwardRef(({title:t,subtitle:o,tags:i=[],items:n=[],limitTags:d=5,limitTagsForMobile:x=5,limit:u=3,limitForMobile:y=2,selectedTag:E,onSelectTag:v=()=>{},onSelectCard:b=()=>{},className:p},I)=>{var k,$;return s.useLayoutEffect(()=>{if(!l.isDefinedNotEmptyString(p))return;const e=()=>{const c=document.querySelector(`.${p} .wrapper__cards`),m=c.querySelectorAll(".wrapper__card");m.forEach(w=>{const N=w.getBoundingClientRect().height,M=Math.ceil((N+10)/20);w.style.gridRowEnd=`span ${M}`});const j=m==null?void 0:m[m.length-1];if(j){const w=j.offsetTop+j.offsetHeight;c.style.height=`${w}px`}},f=document.querySelector(`.${p} .wrapper__cards`).querySelectorAll(".wrapper__image");let h=0;return f.length===0?e():(f.forEach(c=>{c.complete?h++:c.addEventListener("load",()=>{h++,h===f.length&&e()})}),h===f.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[p,n]),r.jsxs(W,{ref:I,limitTags:d,limitTagsForMobile:x,limitCards:u,limitCardsForMobile:y,className:p,numberOfTags:i==null?void 0:i.length,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__tags__external",children:r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,a)=>r.jsx(F,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===E,onSelectCard:()=>v==null?void 0:v(e)},`field-of-interests-masonry-tag__${a+1}`)):(k=Array.from("12345"))==null?void 0:k.map((e,a)=>r.jsx(O,{},`field-of-interests-masonry-tag-skeleton__${a+1}`))})}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,a)=>r.jsx(A,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>b==null?void 0:b(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${a+1}`)):($=Array.from("12345"))==null?void 0:$.map((e,a)=>r.jsx(T,{},`field-of-interests-with-tags-card-skeleton__${a+1}`))})]})});module.exports=B;
254
+ `,B=l.forwardRef(({title:t,subtitle:o,tags:i=[],items:n=[],limitTags:d=5,limitTagsForMobile:g=5,limit:u=3,limitForMobile:y=2,selectedTag:I,onSelectTag:v=()=>{},onSelectCard:b=()=>{},className:p},E)=>{var k,$;return l.useLayoutEffect(()=>{if(!s.isDefinedNotEmptyString(p))return;const e=()=>{const c=document.querySelector(`.${p} .wrapper__cards`),m=c.querySelectorAll(".wrapper__card");m.forEach(f=>{const N=f.getBoundingClientRect().height,M=Math.ceil((N+10)/20);f.style.gridRowEnd=`span ${M}`});const j=m==null?void 0:m[m.length-1];if(j){const f=j.offsetTop+j.offsetHeight;c.style.height=`${f}px`}},h=document.querySelector(`.${p} .wrapper__cards`).querySelectorAll(".wrapper__image");let w=0;return h.length===0?e():(h.forEach(c=>{c.complete?w++:c.addEventListener("load",()=>{w++,w===h.length&&e()})}),w===h.length&&e()),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[p,n]),r.jsxs(W,{ref:E,limitTags:d,limitTagsForMobile:g,limitCards:u,limitCardsForMobile:y,className:p,numberOfTags:i==null?void 0:i.length,children:[r.jsxs("div",{className:"wrapper__heading",children:[t&&r.jsx("div",{className:"wrapper__title",children:t}),o&&r.jsx("div",{className:"wrapper__subtitle",children:o})]}),r.jsx("div",{className:"wrapper__tags__external",children:r.jsx("div",{className:"wrapper__tags",children:i&&(i==null?void 0:i.length)>0?i==null?void 0:i.map((e,a)=>r.jsx(F,{icon:e==null?void 0:e.icon,text:e==null?void 0:e.title,isActive:(e==null?void 0:e.code)===I,onSelectCard:()=>v==null?void 0:v(e)},`field-of-interests-masonry-tag__${a+1}`)):(k=Array.from("12345"))==null?void 0:k.map((e,a)=>r.jsx(O,{},`field-of-interests-masonry-tag-skeleton__${a+1}`))})}),r.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,a)=>r.jsx(A,{image:e==null?void 0:e.image,imageComponent:e==null?void 0:e.imageComponent,title:e==null?void 0:e.title,description:e==null?void 0:e.description,onSelectCard:()=>b==null?void 0:b(e),className:"wrapper__card"},`field-of-interests-with-tags-card__${a+1}`)):($=Array.from("12345"))==null?void 0:$.map((e,a)=>r.jsx(T,{},`field-of-interests-with-tags-card-skeleton__${a+1}`))})]})});module.exports=B;
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, jsxs as l } from "react/jsx-runtime";
2
- import { forwardRef as m, useLayoutEffect as L } from "react";
3
- import { p as z, o as E, l as O, k as S } from "./utils-BdsZgOUE.js";
4
- import { s as f } from "./emotion-styled.browser.esm-BNN1dTl3.js";
2
+ import { forwardRef as c, useLayoutEffect as L } from "react";
3
+ import { p as $, o as E, l as O, k as S } from "./utils-BdsZgOUE.js";
4
+ import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
5
  import { M as g } from "./consts-BuFChS64.js";
6
6
  import A from "./Icon.js";
7
7
  import { u as W } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
8
- const T = f.div`
8
+ const T = h.div`
9
9
  display: flex;
10
10
  width: 100%;
11
11
  height: fit-content;
@@ -44,7 +44,7 @@ const T = f.div`
44
44
  font-style: normal;
45
45
  font-weight: 500;
46
46
  line-height: 1.5rem;
47
- ${z(2)}
47
+ ${$(2)}
48
48
  }
49
49
 
50
50
  & .wrapper__description {
@@ -54,7 +54,7 @@ const T = f.div`
54
54
  font-weight: 400;
55
55
  line-height: 1rem;
56
56
  letter-spacing: 0.025rem;
57
- ${z(2)}
57
+ ${$(2)}
58
58
  }
59
59
  }
60
60
 
@@ -70,17 +70,19 @@ const T = f.div`
70
70
  }
71
71
  }
72
72
  }
73
- `, j = f.div`
73
+ `, j = h.div`
74
74
  width: 100%;
75
75
  height: 11.625rem;
76
76
  border-radius: 0.75rem;
77
77
  background: ${E("-90deg")};
78
- `, q = f.div`
78
+ `, q = h.div`
79
79
  display: flex;
80
80
  flex-direction: column;
81
81
  align-items: center;
82
82
  gap: 0.75rem;
83
83
  height: 100%;
84
+ max-width: 8rem;
85
+ min-width: 8rem;
84
86
 
85
87
  &:hover {
86
88
  cursor: pointer;
@@ -113,6 +115,8 @@ const T = f.div`
113
115
  font-style: normal;
114
116
  font-weight: 400;
115
117
  line-height: 1.5rem;
118
+ max-width: 8rem;
119
+ ${$(2)}
116
120
  }
117
121
 
118
122
  &.active {
@@ -123,6 +127,8 @@ const T = f.div`
123
127
  }
124
128
 
125
129
  @media (max-width: ${g + "px"}) {
130
+ max-width: unset;
131
+ min-width: unset;
126
132
  flex-direction: row;
127
133
  align-items: center;
128
134
  gap: 0.25rem;
@@ -157,9 +163,10 @@ const T = f.div`
157
163
  font-size: 0.875rem;
158
164
  line-height: 1.25rem;
159
165
  white-space: nowrap;
166
+ max-width: unset;
160
167
  }
161
168
  }
162
- `, R = f.div`
169
+ `, R = h.div`
163
170
  width: 7.5rem;
164
171
  width: 7.5rem;
165
172
  border-radius: 999px;
@@ -169,7 +176,7 @@ const T = f.div`
169
176
  width: 7.5rem;
170
177
  height: 2.5rem;
171
178
  }
172
- `, B = m(({}, i) => /* @__PURE__ */ r(R, {})), D = m(
179
+ `, B = c(({}, i) => /* @__PURE__ */ r(R, {})), D = c(
173
180
  ({ text: i, isActive: o = !1, icon: t, onSelectCard: a = () => {
174
181
  } }, s) => /* @__PURE__ */ l(
175
182
  q,
@@ -183,7 +190,7 @@ const T = f.div`
183
190
  ]
184
191
  }
185
192
  )
186
- ), G = m(
193
+ ), G = c(
187
194
  ({
188
195
  image: i,
189
196
  imageComponent: o,
@@ -211,13 +218,13 @@ const T = f.div`
211
218
  }
212
219
  );
213
220
  }
214
- ), H = m(({}, i) => /* @__PURE__ */ l(j, { children: [
221
+ ), H = c(({}, i) => /* @__PURE__ */ l(j, { children: [
215
222
  /* @__PURE__ */ r("div", { className: "wrapper__image" }),
216
223
  /* @__PURE__ */ l("div", { className: "wrapper__content", children: [
217
224
  /* @__PURE__ */ r("div", { className: "wrapper__title" }),
218
225
  /* @__PURE__ */ r("div", { className: "wrapper__description" })
219
226
  ] })
220
- ] })), P = f.div`
227
+ ] })), P = h.div`
221
228
  display: flex;
222
229
  flex-direction: column;
223
230
  align-items: center;
@@ -256,7 +263,6 @@ const T = f.div`
256
263
  & .wrapper__tags {
257
264
  display: flex;
258
265
  justify-content: center;
259
- align-items: center;
260
266
  gap: 0.75rem;
261
267
  }
262
268
 
@@ -274,6 +280,8 @@ const T = f.div`
274
280
  }
275
281
 
276
282
  @media (max-width: ${g + "px"}) {
283
+ gap: 1rem;
284
+
277
285
  & .wrapper__tags {
278
286
  overflow-x: scroll;
279
287
  justify-content: flex-start;
@@ -298,7 +306,7 @@ const T = f.div`
298
306
  grid-template-columns: ${(i) => `repeat(${i == null ? void 0 : i.limitCardsForMobile}, minmax(0, 1fr))`};
299
307
  }
300
308
  }
301
- `, Y = m(
309
+ `, Y = c(
302
310
  ({
303
311
  title: i,
304
312
  subtitle: o,
@@ -315,28 +323,28 @@ const T = f.div`
315
323
  },
316
324
  className: p
317
325
  }, C) => {
318
- var $, N;
326
+ var N, z;
319
327
  return L(() => {
320
328
  if (!S(p))
321
329
  return;
322
330
  const e = () => {
323
- const d = document.querySelector(`.${p} .wrapper__cards`), c = d.querySelectorAll(".wrapper__card");
324
- c.forEach((w) => {
331
+ const d = document.querySelector(`.${p} .wrapper__cards`), m = d.querySelectorAll(".wrapper__card");
332
+ m.forEach((w) => {
325
333
  const M = w.getBoundingClientRect().height, F = Math.ceil((M + 10) / 20);
326
334
  w.style.gridRowEnd = `span ${F}`;
327
335
  });
328
- const k = c == null ? void 0 : c[c.length - 1];
336
+ const k = m == null ? void 0 : m[m.length - 1];
329
337
  if (k) {
330
338
  const w = k.offsetTop + k.offsetHeight;
331
339
  d.style.height = `${w}px`;
332
340
  }
333
- }, _ = document.querySelector(`.${p} .wrapper__cards`).querySelectorAll(".wrapper__image");
334
- let h = 0;
335
- return _.length === 0 ? e() : (_.forEach((d) => {
336
- d.complete ? h++ : d.addEventListener("load", () => {
337
- h++, h === _.length && e();
341
+ }, f = document.querySelector(`.${p} .wrapper__cards`).querySelectorAll(".wrapper__image");
342
+ let _ = 0;
343
+ return f.length === 0 ? e() : (f.forEach((d) => {
344
+ d.complete ? _++ : d.addEventListener("load", () => {
345
+ _++, _ === f.length && e();
338
346
  });
339
- }), h === _.length && e()), window.addEventListener("resize", e), () => {
347
+ }), _ === f.length && e()), window.addEventListener("resize", e), () => {
340
348
  window.removeEventListener("resize", e);
341
349
  };
342
350
  }, [p, a]), /* @__PURE__ */ l(
@@ -363,7 +371,7 @@ const T = f.div`
363
371
  onSelectCard: () => y == null ? void 0 : y(e)
364
372
  },
365
373
  `field-of-interests-masonry-tag__${n + 1}`
366
- )) : ($ = Array.from("12345")) == null ? void 0 : $.map((e, n) => /* @__PURE__ */ r(
374
+ )) : (N = Array.from("12345")) == null ? void 0 : N.map((e, n) => /* @__PURE__ */ r(
367
375
  B,
368
376
  {},
369
377
  `field-of-interests-masonry-tag-skeleton__${n + 1}`
@@ -379,7 +387,7 @@ const T = f.div`
379
387
  className: "wrapper__card"
380
388
  },
381
389
  `field-of-interests-with-tags-card__${n + 1}`
382
- )) : (N = Array.from("12345")) == null ? void 0 : N.map((e, n) => /* @__PURE__ */ r(
390
+ )) : (z = Array.from("12345")) == null ? void 0 : z.map((e, n) => /* @__PURE__ */ r(
383
391
  H,
384
392
  {},
385
393
  `field-of-interests-with-tags-card-skeleton__${n + 1}`
@@ -163,6 +163,8 @@
163
163
  }
164
164
 
165
165
  @media (max-width: ${g.MOBILE_SIZE_PX+"px"}) {
166
+ gap: 1rem;
167
+
166
168
  & .wrapper__tags {
167
169
  overflow-x: scroll;
168
170
  justify-content: flex-start;
@@ -197,6 +197,8 @@ const W = c.div`
197
197
  }
198
198
 
199
199
  @media (max-width: ${v + "px"}) {
200
+ gap: 1rem;
201
+
200
202
  & .wrapper__tags {
201
203
  overflow-x: scroll;
202
204
  justify-content: flex-start;
@@ -240,7 +242,7 @@ const W = c.div`
240
242
  onSelectCard: _ = () => {
241
243
  }
242
244
  }, k) => {
243
- var w, g;
245
+ var g, w;
244
246
  return /* @__PURE__ */ m(
245
247
  M,
246
248
  {
@@ -264,7 +266,7 @@ const W = c.div`
264
266
  onSelectCard: () => h == null ? void 0 : h(e)
265
267
  },
266
268
  `field-of-interests-with-tags-card-tag__${l + 1}`
267
- )) : (w = Array.from("123")) == null ? void 0 : w.map((e, l) => /* @__PURE__ */ i(
269
+ )) : (g = Array.from("123")) == null ? void 0 : g.map((e, l) => /* @__PURE__ */ i(
268
270
  z,
269
271
  {},
270
272
  `field-of-interests-with-tags-card-tag-skeleton__${l + 1}`
@@ -279,7 +281,7 @@ const W = c.div`
279
281
  onSelectCard: () => _ == null ? void 0 : _(e)
280
282
  },
281
283
  `field-of-interests-with-tags-card__${l + 1}`
282
- )) : (g = Array.from("123")) == null ? void 0 : g.map((e, l) => /* @__PURE__ */ i(
284
+ )) : (w = Array.from("123")) == null ? void 0 : w.map((e, l) => /* @__PURE__ */ i(
283
285
  E,
284
286
  {},
285
287
  `field-of-interests-with-tags-card-skeleton__${l + 1}`
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-lSjkOR95.cjs"),o=require("./utils-Dl9xPH4c.cjs"),j=require("./Button.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),S=c.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),f=require("react"),w=require("./useDetectMobile-zkbzoOGV.cjs"),v=require("./style-Db3VFbfP.cjs"),o=require("./utils-Dl9xPH4c.cjs"),j=require("./Button.cjs"),c=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),S=c.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${a=>`repeat(${a.limit}, minmax(0, 1fr))`};
4
4
  gap: 1.25rem;
@@ -1,7 +1,7 @@
1
1
  import { jsxs as n, jsx as t } from "react/jsx-runtime";
2
2
  import { forwardRef as h } from "react";
3
3
  import { u as C } from "./useDetectMobile-Bkvj0VMa.js";
4
- import { R as k } from "./style-BLuyU97E.js";
4
+ import { R as k } from "./style-DKAOBWn3.js";
5
5
  import { o as b, q as G, G as S, k as u } from "./utils-BdsZgOUE.js";
6
6
  import N from "./Button.js";
7
7
  import { s as c } from "./emotion-styled.browser.esm-BNN1dTl3.js";
@@ -137,8 +137,6 @@
137
137
  }
138
138
 
139
139
  @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
140
- gap: 1.25rem;
141
-
142
140
  & .regular-title {
143
141
  font-size: 1.375rem;
144
142
 
@@ -160,7 +158,7 @@
160
158
  @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
161
159
  display: flex;
162
160
  flex-direction: column;
163
- gap: 1rem;
161
+ gap: 1.25rem;
164
162
  width: 100%;
165
163
  height: 100%;
166
164
  max-height: 100%;
@@ -1,4 +1,4 @@
1
- import { jsx as t, Fragment as w, jsxs as d } from "react/jsx-runtime";
1
+ import { jsx as t, Fragment as w, jsxs as m } from "react/jsx-runtime";
2
2
  import { forwardRef as f } from "react";
3
3
  import b from "./Button.js";
4
4
  import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
@@ -140,23 +140,23 @@ const y = s.div`
140
140
  onSelectCard: l = () => {
141
141
  },
142
142
  className: o,
143
- position: m,
143
+ position: d,
144
144
  tag: g,
145
145
  backgroundColor: x
146
146
  }, u) => {
147
147
  const _ = v();
148
- return /* @__PURE__ */ t(w, { children: /* @__PURE__ */ d(
148
+ return /* @__PURE__ */ t(w, { children: /* @__PURE__ */ m(
149
149
  y,
150
150
  {
151
151
  ref: u,
152
152
  theme: _,
153
153
  className: o,
154
- position: m,
154
+ position: d,
155
155
  backgroundColor: x,
156
156
  onClick: l,
157
157
  children: [
158
158
  /* @__PURE__ */ t("img", { src: e, className: "wrapper__image" }),
159
- /* @__PURE__ */ d("div", { className: "wrapper__text", children: [
159
+ /* @__PURE__ */ m("div", { className: "wrapper__text", children: [
160
160
  g && /* @__PURE__ */ t("div", { className: "text__tag", children: g }),
161
161
  /* @__PURE__ */ t("div", { className: "text__title", children: r }),
162
162
  h(i) && /* @__PURE__ */ t("div", { className: "text__description", children: i }),
@@ -197,8 +197,6 @@ const y = s.div`
197
197
  }
198
198
 
199
199
  @media (max-width: ${c + "px"}) {
200
- gap: 1.25rem;
201
-
202
200
  & .regular-title {
203
201
  font-size: 1.375rem;
204
202
 
@@ -220,22 +218,22 @@ const y = s.div`
220
218
  @media (max-width: ${c + "px"}) {
221
219
  display: flex;
222
220
  flex-direction: column;
223
- gap: 1rem;
221
+ gap: 1.25rem;
224
222
  width: 100%;
225
223
  height: 100%;
226
224
  max-height: 100%;
227
225
  }
228
226
  `, I = f(
229
227
  ({ title: r, items: e, limit: i = 3, onSelectCard: a = () => {
230
- } }, l) => /* @__PURE__ */ d($, { ref: l, children: [
228
+ } }, l) => /* @__PURE__ */ m($, { ref: l, children: [
231
229
  /* @__PURE__ */ t("div", { className: "regular-title", children: /* @__PURE__ */ t("div", { className: "regular-title-text", children: /* @__PURE__ */ t("span", { children: r }) }) }),
232
- /* @__PURE__ */ t(N, { limit: i, children: e && (e == null ? void 0 : e.map((o, m) => /* @__PURE__ */ t(
230
+ /* @__PURE__ */ t(N, { limit: i, children: e && (e == null ? void 0 : e.map((o, d) => /* @__PURE__ */ t(
233
231
  k,
234
232
  {
235
233
  ...o,
236
234
  onSelectCard: () => a(o)
237
235
  },
238
- `landing-page-masonry-general-card__${m + 1}`
236
+ `landing-page-masonry-general-card__${d + 1}`
239
237
  ))) })
240
238
  ] })
241
239
  );
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("react/jsx-runtime"),d=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),y=require("./useDetectMobile-zkbzoOGV.cjs"),P=require("./style-lSjkOR95.cjs"),l=require("./utils-Dl9xPH4c.cjs"),N=require("./index-BueKsXT8.cjs"),I=f.styled.div`
1
+ "use strict";const r=require("react/jsx-runtime"),o=require("react"),f=require("./emotion-styled.browser.esm-BtEseadx.cjs"),j=require("./consts-goSZX3xP.cjs"),v=require("./useDetectMobile-zkbzoOGV.cjs"),y=require("./style-Db3VFbfP.cjs"),c=require("./utils-Dl9xPH4c.cjs"),N=require("./index-BueKsXT8.cjs"),$=f.styled.div`
2
2
  width: 100%;
3
3
  height: 22.5rem;
4
4
  min-height: 22.5rem;
@@ -21,32 +21,25 @@
21
21
  min-height: 100%;
22
22
  max-height: 100%;
23
23
  aspect-ratio: 1 / 1;
24
+
25
+ & .product-card {
26
+ & img {
27
+ width: 100%;
28
+ height: 100%;
29
+ min-width: 100%;
30
+ min-height: 100%;
31
+ }
32
+ }
24
33
  }
25
- `,$=f.styled.div`
34
+ `,I=f.styled.div`
26
35
  display: grid;
27
36
  grid-template-columns: ${t=>`repeat(${t.limit}, minmax(0, 1fr))`};
28
37
  gap: 1.25rem;
29
38
 
30
39
  @media (max-width: ${j.MOBILE_SIZE_PX+"px"}) {
31
- display: flex;
32
- gap: 1rem;
33
- overflow-x: auto;
34
-
35
- -webkit-overflow-scrolling: touch;
36
- ::-webkit-scrollbar {
37
- -webkit-appearance: none;
38
- }
39
- -ms-overflow-style: none;
40
- /* Internet Explorer 10+ */
41
- scrollbar-width: none;
42
- /* Firefox */
43
-
44
- &::-webkit-scrollbar {
45
- display: none;
46
- /* Safari and Chrome */
47
- }
40
+ grid-template-columns: repeat(2, minmax(0, 1fr));
48
41
  }
49
- `,k=f.styled.div`
42
+ `,C=f.styled.div`
50
43
  display: flex;
51
44
  flex-direction: column;
52
45
  gap: 0.5rem;
@@ -62,17 +55,17 @@
62
55
  & .card-title {
63
56
  font-size: 0.875rem;
64
57
  font-weight: 600;
65
- ${l.truncateTextInRows(2)}
58
+ ${c.truncateTextInRows(2)}
66
59
  }
67
60
 
68
61
  & .skeleton-img {
69
- background-color: ${l.linearGradientAnimation("-90deg")};
62
+ background-color: ${c.linearGradientAnimation("-90deg")};
70
63
  border-radius: 0.75rem;
71
64
  border: 1px solid white;
72
65
  }
73
66
 
74
67
  & .skeleton-title {
75
- background-color: ${l.linearGradientAnimation("-90deg")};
68
+ background-color: ${c.linearGradientAnimation("-90deg")};
76
69
  width: 100%;
77
70
  height: 1.25rem;
78
71
  }
@@ -88,4 +81,4 @@
88
81
  object-fit: cover;
89
82
  }
90
83
  }
91
- `,R=d.forwardRef((t,o)=>{const{uuid:a,title:i,image:s,sellerUuid:w,onSelectCard:c=()=>{},imageComponent:m,metadata:n}=t,u=d.useRef(null);return r.jsxs(k,{ref:u,className:"product-card",name:n==null?void 0:n.name,"data-accessor":n==null?void 0:n.accessor,onClick:g=>c(g,o),children:[l.isDefined(m)?m:r.jsx(N.ProductImageWrapper,{src:s}),r.jsx("div",{className:"card-title",children:i})]})}),_=d.forwardRef(({},t)=>r.jsxs(k,{className:"product-card",children:[r.jsx("img",{className:"skeleton-img"}),r.jsx("div",{className:"skeleton-title"})]})),q=({limit:t=4,isLoading:o=!1,keyPrefix:a})=>r.jsx(r.Fragment,{children:Array.from({length:t},(i,s)=>r.jsx(_,{isLoading:o},`${a}-skeleton-product-card-${s}`))}),E=({children:t,fallbackComponent:o=r.jsx(r.Fragment,{}),isLoading:a=!1,limit:i,keyPrefix:s})=>r.jsx(d.Suspense,{fallbackComponent:o,children:a===!0?r.jsx(q,{isLoading:a,limit:i,keyPrefix:s}):t}),S=d.memo(R),M=d.forwardRef((t,o)=>{const{icon:a,items:i,limit:s=4,imageUrl:w,onSelectCard:c=()=>{},title:m="Season inspiration",isLoading:n=!1,getImage:u=()=>{},componentName:g}=t,b=y.useDetectMobile(),v=d.useMemo(()=>r.jsx(r.Fragment,{children:b===!0?i==null?void 0:i.map((e,h)=>r.jsx(S,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(C,p)=>c({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:p}),image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:g,accessor:e==null?void 0:e.accessor}},h)):i==null?void 0:i.slice(0,s).map((e,h)=>r.jsx(S,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(C,p)=>c({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:p}),image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:g,accessor:e==null?void 0:e.accessor}},h))}),[i,b,s]);return r.jsxs(P.RegulatTitleSectionWrapper,{ref:o,children:[r.jsx("div",{className:"regular-title",children:r.jsxs("div",{className:"regular-title-text",children:[l.isDefinedNotEmptyString(a)&&r.jsx("i",{className:a}),r.jsx("span",{children:m})]})}),r.jsx(I,{className:"products-banner",children:r.jsx("img",{src:w})}),r.jsx($,{limit:s,children:r.jsx(E,{isLoading:n,limit:s,keyPrefix:"explore-landing",children:v})})]})});module.exports=M;
84
+ `,R=o.forwardRef((t,d)=>{const{uuid:a,title:i,image:s,sellerUuid:w,onSelectCard:l=()=>{},imageComponent:m,metadata:n}=t,u=o.useRef(null);return r.jsxs(C,{ref:u,className:"product-card",name:n==null?void 0:n.name,"data-accessor":n==null?void 0:n.accessor,onClick:g=>l(g,d),children:[c.isDefined(m)?m:r.jsx(N.ProductImageWrapper,{src:s}),r.jsx("div",{className:"card-title",children:i})]})}),_=o.forwardRef(({},t)=>r.jsxs(C,{className:"product-card",children:[r.jsx("img",{className:"skeleton-img"}),r.jsx("div",{className:"skeleton-title"})]})),q=({limit:t=4,isLoading:d=!1,keyPrefix:a})=>r.jsx(r.Fragment,{children:Array.from({length:t},(i,s)=>r.jsx(_,{isLoading:d},`${a}-skeleton-product-card-${s}`))}),M=({children:t,fallbackComponent:d=r.jsx(r.Fragment,{}),isLoading:a=!1,limit:i,keyPrefix:s})=>r.jsx(o.Suspense,{fallbackComponent:d,children:a===!0?r.jsx(q,{isLoading:a,limit:i,keyPrefix:s}):t}),b=o.memo(R),U=o.forwardRef((t,d)=>{const{icon:a,items:i,limit:s=4,imageUrl:w,onSelectCard:l=()=>{},title:m="Season inspiration",isLoading:n=!1,getImage:u=()=>{},componentName:g}=t,S=v.useDetectMobile(),P=o.useMemo(()=>r.jsx(r.Fragment,{children:S===!0?i==null?void 0:i.map((e,h)=>r.jsx(b,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(k,p)=>l({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:p}),image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:g,accessor:e==null?void 0:e.accessor}},h)):i==null?void 0:i.slice(0,s).map((e,h)=>r.jsx(b,{title:e==null?void 0:e.name,sellerUuid:e==null?void 0:e.sellerUuid,uuid:e==null?void 0:e.uuid,onSelectCard:(k,p)=>l({uuid:e==null?void 0:e.uuid,nameSlug:e==null?void 0:e.nameSlug,cardRef:p}),image:u(e==null?void 0:e.image,e==null?void 0:e.uuid,e==null?void 0:e.sellerUuid)||null,metadata:{name:g,accessor:e==null?void 0:e.accessor}},h))}),[i,S,s]);return r.jsxs(y.RegulatTitleSectionWrapper,{ref:d,children:[r.jsx("div",{className:"regular-title",children:r.jsxs("div",{className:"regular-title-text",children:[c.isDefinedNotEmptyString(a)&&r.jsx("i",{className:a}),r.jsx("span",{children:m})]})}),r.jsx($,{className:"products-banner",children:r.jsx("img",{src:w})}),r.jsx(I,{limit:s,children:r.jsx(M,{isLoading:n,limit:s,keyPrefix:"explore-landing",children:P})})]})});module.exports=U;
@@ -1,12 +1,12 @@
1
1
  import { jsxs as u, jsx as r, Fragment as h } from "react/jsx-runtime";
2
- import { forwardRef as f, useRef as $, Suspense as U, memo as I, useMemo as M } from "react";
3
- import { s as b } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
- import { M as w } from "./consts-BuFChS64.js";
5
- import { u as R } from "./useDetectMobile-Bkvj0VMa.js";
6
- import { R as W } from "./style-BLuyU97E.js";
7
- import { p as j, o as v, l as E, k as z } from "./utils-BdsZgOUE.js";
8
- import { P as B } from "./index-CF3HhgvN.js";
9
- const D = b.div`
2
+ import { forwardRef as f, useRef as U, Suspense as y, memo as M, useMemo as R } from "react";
3
+ import { s as w } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
+ import { M as b } from "./consts-BuFChS64.js";
5
+ import { u as W } from "./useDetectMobile-Bkvj0VMa.js";
6
+ import { R as j } from "./style-DKAOBWn3.js";
7
+ import { p as I, o as k, l as z, k as B } from "./utils-BdsZgOUE.js";
8
+ import { P as D } from "./index-CF3HhgvN.js";
9
+ const E = w.div`
10
10
  width: 100%;
11
11
  height: 22.5rem;
12
12
  min-height: 22.5rem;
@@ -24,37 +24,30 @@ const D = b.div`
24
24
  object-fit: cover;
25
25
  }
26
26
 
27
- @media (max-width: ${w + "px"}) {
27
+ @media (max-width: ${b + "px"}) {
28
28
  height: 100%;
29
29
  min-height: 100%;
30
30
  max-height: 100%;
31
31
  aspect-ratio: 1 / 1;
32
+
33
+ & .product-card {
34
+ & img {
35
+ width: 100%;
36
+ height: 100%;
37
+ min-width: 100%;
38
+ min-height: 100%;
39
+ }
40
+ }
32
41
  }
33
- `, _ = b.div`
42
+ `, _ = w.div`
34
43
  display: grid;
35
44
  grid-template-columns: ${(t) => `repeat(${t.limit}, minmax(0, 1fr))`};
36
45
  gap: 1.25rem;
37
46
 
38
- @media (max-width: ${w + "px"}) {
39
- display: flex;
40
- gap: 1rem;
41
- overflow-x: auto;
42
-
43
- -webkit-overflow-scrolling: touch;
44
- ::-webkit-scrollbar {
45
- -webkit-appearance: none;
46
- }
47
- -ms-overflow-style: none;
48
- /* Internet Explorer 10+ */
49
- scrollbar-width: none;
50
- /* Firefox */
51
-
52
- &::-webkit-scrollbar {
53
- display: none;
54
- /* Safari and Chrome */
55
- }
47
+ @media (max-width: ${b + "px"}) {
48
+ grid-template-columns: repeat(2, minmax(0, 1fr));
56
49
  }
57
- `, P = b.div`
50
+ `, P = w.div`
58
51
  display: flex;
59
52
  flex-direction: column;
60
53
  gap: 0.5rem;
@@ -70,22 +63,22 @@ const D = b.div`
70
63
  & .card-title {
71
64
  font-size: 0.875rem;
72
65
  font-weight: 600;
73
- ${j(2)}
66
+ ${I(2)}
74
67
  }
75
68
 
76
69
  & .skeleton-img {
77
- background-color: ${v("-90deg")};
70
+ background-color: ${k("-90deg")};
78
71
  border-radius: 0.75rem;
79
72
  border: 1px solid white;
80
73
  }
81
74
 
82
75
  & .skeleton-title {
83
- background-color: ${v("-90deg")};
76
+ background-color: ${k("-90deg")};
84
77
  width: 100%;
85
78
  height: 1.25rem;
86
79
  }
87
80
 
88
- @media (max-width: ${w + "px"}) {
81
+ @media (max-width: ${b + "px"}) {
89
82
  & img {
90
83
  width: 8.875rem;
91
84
  height: 8.875rem;
@@ -96,107 +89,107 @@ const D = b.div`
96
89
  object-fit: cover;
97
90
  }
98
91
  }
99
- `, A = f((t, l) => {
92
+ `, A = f((t, n) => {
100
93
  const {
101
94
  uuid: o,
102
95
  title: i,
103
96
  image: a,
104
97
  sellerUuid: S,
105
- onSelectCard: d = () => {
98
+ onSelectCard: m = () => {
106
99
  },
107
100
  imageComponent: s,
108
- metadata: n
109
- } = t, m = $(null);
101
+ metadata: d
102
+ } = t, l = U(null);
110
103
  return /* @__PURE__ */ u(
111
104
  P,
112
105
  {
113
- ref: m,
106
+ ref: l,
114
107
  className: "product-card",
115
- name: n == null ? void 0 : n.name,
116
- "data-accessor": n == null ? void 0 : n.accessor,
117
- onClick: (c) => d(c, l),
108
+ name: d == null ? void 0 : d.name,
109
+ "data-accessor": d == null ? void 0 : d.accessor,
110
+ onClick: (c) => m(c, n),
118
111
  children: [
119
- E(s) ? s : /* @__PURE__ */ r(B, { src: a }),
112
+ z(s) ? s : /* @__PURE__ */ r(D, { src: a }),
120
113
  /* @__PURE__ */ r("div", { className: "card-title", children: i })
121
114
  ]
122
115
  }
123
116
  );
124
- }), F = f(({}, t) => /* @__PURE__ */ u(P, { className: "product-card", children: [
117
+ }), G = f(({}, t) => /* @__PURE__ */ u(P, { className: "product-card", children: [
125
118
  /* @__PURE__ */ r("img", { className: "skeleton-img" }),
126
119
  /* @__PURE__ */ r("div", { className: "skeleton-title" })
127
- ] })), G = ({ limit: t = 4, isLoading: l = !1, keyPrefix: o }) => /* @__PURE__ */ r(h, { children: Array.from({ length: t }, (i, a) => /* @__PURE__ */ r(
128
- F,
120
+ ] })), T = ({ limit: t = 4, isLoading: n = !1, keyPrefix: o }) => /* @__PURE__ */ r(h, { children: Array.from({ length: t }, (i, a) => /* @__PURE__ */ r(
121
+ G,
129
122
  {
130
- isLoading: l
123
+ isLoading: n
131
124
  },
132
125
  `${o}-skeleton-product-card-${a}`
133
- )) }), T = ({
126
+ )) }), F = ({
134
127
  children: t,
135
- fallbackComponent: l = /* @__PURE__ */ r(h, {}),
128
+ fallbackComponent: n = /* @__PURE__ */ r(h, {}),
136
129
  isLoading: o = !1,
137
130
  limit: i,
138
131
  keyPrefix: a
139
- }) => /* @__PURE__ */ r(U, { fallbackComponent: l, children: o === !0 ? /* @__PURE__ */ r(
140
- G,
132
+ }) => /* @__PURE__ */ r(y, { fallbackComponent: n, children: o === !0 ? /* @__PURE__ */ r(
133
+ T,
141
134
  {
142
135
  isLoading: o,
143
136
  limit: i,
144
137
  keyPrefix: a
145
138
  }
146
- ) : t }), C = I(A), Q = f((t, l) => {
139
+ ) : t }), v = M(A), Q = f((t, n) => {
147
140
  const {
148
141
  icon: o,
149
142
  items: i,
150
143
  limit: a = 4,
151
144
  imageUrl: S,
152
- onSelectCard: d = () => {
145
+ onSelectCard: m = () => {
153
146
  },
154
147
  title: s = "Season inspiration",
155
- isLoading: n = !1,
156
- getImage: m = () => {
148
+ isLoading: d = !1,
149
+ getImage: l = () => {
157
150
  },
158
151
  componentName: c
159
- } = t, k = R(), N = M(() => /* @__PURE__ */ r(h, { children: k === !0 ? i == null ? void 0 : i.map((e, p) => /* @__PURE__ */ r(
160
- C,
152
+ } = t, C = W(), N = R(() => /* @__PURE__ */ r(h, { children: C === !0 ? i == null ? void 0 : i.map((e, p) => /* @__PURE__ */ r(
153
+ v,
161
154
  {
162
155
  title: e == null ? void 0 : e.name,
163
156
  sellerUuid: e == null ? void 0 : e.sellerUuid,
164
157
  uuid: e == null ? void 0 : e.uuid,
165
- onSelectCard: (y, g) => d({
158
+ onSelectCard: ($, g) => m({
166
159
  uuid: e == null ? void 0 : e.uuid,
167
160
  nameSlug: e == null ? void 0 : e.nameSlug,
168
161
  cardRef: g
169
162
  }),
170
- image: m(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
163
+ image: l(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
171
164
  metadata: { name: c, accessor: e == null ? void 0 : e.accessor }
172
165
  },
173
166
  p
174
167
  )) : i == null ? void 0 : i.slice(0, a).map((e, p) => /* @__PURE__ */ r(
175
- C,
168
+ v,
176
169
  {
177
170
  title: e == null ? void 0 : e.name,
178
171
  sellerUuid: e == null ? void 0 : e.sellerUuid,
179
172
  uuid: e == null ? void 0 : e.uuid,
180
- onSelectCard: (y, g) => d({
173
+ onSelectCard: ($, g) => m({
181
174
  uuid: e == null ? void 0 : e.uuid,
182
175
  nameSlug: e == null ? void 0 : e.nameSlug,
183
176
  cardRef: g
184
177
  }),
185
- image: m(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
178
+ image: l(e == null ? void 0 : e.image, e == null ? void 0 : e.uuid, e == null ? void 0 : e.sellerUuid) || null,
186
179
  metadata: { name: c, accessor: e == null ? void 0 : e.accessor }
187
180
  },
188
181
  p
189
- )) }), [i, k, a]);
190
- return /* @__PURE__ */ u(W, { ref: l, children: [
182
+ )) }), [i, C, a]);
183
+ return /* @__PURE__ */ u(j, { ref: n, children: [
191
184
  /* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ u("div", { className: "regular-title-text", children: [
192
- z(o) && /* @__PURE__ */ r("i", { className: o }),
185
+ B(o) && /* @__PURE__ */ r("i", { className: o }),
193
186
  /* @__PURE__ */ r("span", { children: s })
194
187
  ] }) }),
195
- /* @__PURE__ */ r(D, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: S }) }),
188
+ /* @__PURE__ */ r(E, { className: "products-banner", children: /* @__PURE__ */ r("img", { src: S }) }),
196
189
  /* @__PURE__ */ r(_, { limit: a, children: /* @__PURE__ */ r(
197
- T,
190
+ F,
198
191
  {
199
- isLoading: n,
192
+ isLoading: d,
200
193
  limit: a,
201
194
  keyPrefix: "explore-landing",
202
195
  children: N
@@ -155,6 +155,8 @@
155
155
  }
156
156
 
157
157
  @media (max-width: ${m.MOBILE_SIZE_PX+"px"}) {
158
+ gap: 1.25rem;
159
+
158
160
  & .wrapper__cards {
159
161
  grid-template-columns: repeat(1, minmax(0, 1fr));
160
162
  gap: 1rem;
@@ -174,6 +174,8 @@ const y = c.div`
174
174
  }
175
175
 
176
176
  @media (max-width: ${m + "px"}) {
177
+ gap: 1.25rem;
178
+
177
179
  & .wrapper__cards {
178
180
  grid-template-columns: repeat(1, minmax(0, 1fr));
179
181
  gap: 1rem;
@@ -385,6 +385,8 @@
385
385
  }
386
386
 
387
387
  @media (max-width: ${P.MOBILE_SIZE_PX+"px"}) {
388
+ gap: 1.25rem;
389
+
388
390
  & .scrollable-section__header {
389
391
  & .scrollable-section__title {
390
392
  & .title__text {
@@ -697,6 +697,8 @@ const F = h.div`
697
697
  }
698
698
 
699
699
  @media (max-width: ${k + "px"}) {
700
+ gap: 1.25rem;
701
+
700
702
  & .scrollable-section__header {
701
703
  & .scrollable-section__title {
702
704
  & .title__text {
@@ -84,6 +84,8 @@
84
84
  }
85
85
 
86
86
  @media (max-width: ${S.MOBILE_SIZE_PX+"px"}) {
87
+ gap: 1.25rem;
88
+
87
89
  & .wrapper__view-all {
88
90
  display: unset;
89
91
  }
@@ -126,4 +128,4 @@
126
128
  }`}
127
129
  }
128
130
  }
129
- `,q=d.forwardRef(({title:i,subtitle:o,items:n,limit:g=4,limitForMobile:w=2,buttonText:a="Show More",onSelectCard:f=()=>{},onButtonAction:l=()=>{},icon:p,getImage:h=()=>{},getProductImage:x=()=>{},hideProducts:y=!1,showRating:c=!0,gridView:r=!1,componentName:v},b)=>{var m;return t.jsxs(N,{ref:b,limitCards:g,limitCardsForMobile:w,gridView:r,children:[t.jsxs("div",{className:"wrapper__heading",children:[t.jsxs("div",{className:"wrapper__title",children:[i&&t.jsxs("div",{className:"title__text",children:[C.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:i})]}),l&&t.jsx(u,{text:a,color:"neutral",borderRadius:"curved",btnType:"tinted",className:`title__action ${r?"grid":""}`,onClick:l})]}),o&&t.jsx("div",{className:"wrapper__subtitle",children:o})]}),t.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>t.jsx(_.ShopCard,{showRating:c,uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.ratingArithmeticMean,reviewCount:e==null?void 0:e.reviewCount,products:e==null?void 0:e.products,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:($,j)=>f(e==null?void 0:e.uuid,j),image:h(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,getProductImage:x,canAcceptPayments:e==null?void 0:e.canAcceptPayments,hideProducts:y,metadata:{name:v,accessor:e==null?void 0:e.accessor}},`shop-card__${s+1}`)):(m=Array.from("1234"))==null?void 0:m.map((e,s)=>t.jsx(_.ShopCardSkeleton,{},`shop-card-skeleton__${s+1}`))}),r&&l&&t.jsx(u,{text:a,borderRadius:"curved",btnType:"basic",color:"neutral",className:"wrapper__view-all",onClick:l})]})});module.exports=q;
131
+ `,q=d.forwardRef(({title:i,subtitle:o,items:n,limit:g=4,limitForMobile:w=2,buttonText:a="Show More",onSelectCard:f=()=>{},onButtonAction:r=()=>{},icon:p,getImage:h=()=>{},getProductImage:x=()=>{},hideProducts:y=!1,showRating:c=!0,gridView:l=!1,componentName:v},b)=>{var m;return t.jsxs(N,{ref:b,limitCards:g,limitCardsForMobile:w,gridView:l,children:[t.jsxs("div",{className:"wrapper__heading",children:[t.jsxs("div",{className:"wrapper__title",children:[i&&t.jsxs("div",{className:"title__text",children:[C.isDefinedNotEmptyString(p)&&t.jsx("i",{className:p}),t.jsx("span",{children:i})]}),r&&t.jsx(u,{text:a,color:"neutral",borderRadius:"curved",btnType:"tinted",className:`title__action ${l?"grid":""}`,onClick:r})]}),o&&t.jsx("div",{className:"wrapper__subtitle",children:o})]}),t.jsx("div",{className:"wrapper__cards",children:n&&(n==null?void 0:n.length)>0?n==null?void 0:n.map((e,s)=>t.jsx(_.ShopCard,{showRating:c,uuid:e==null?void 0:e.uuid,title:e==null?void 0:e.name,subtitle:e==null?void 0:e.shortDescription,rating:e==null?void 0:e.ratingArithmeticMean,reviewCount:e==null?void 0:e.reviewCount,products:e==null?void 0:e.products,imageComponent:e==null?void 0:e.imageComponent,onSelectCard:($,j)=>f(e==null?void 0:e.uuid,j),image:h(e==null?void 0:e.profileImage,e==null?void 0:e.uuid)||null,getProductImage:x,canAcceptPayments:e==null?void 0:e.canAcceptPayments,hideProducts:y,metadata:{name:v,accessor:e==null?void 0:e.accessor}},`shop-card__${s+1}`)):(m=Array.from("1234"))==null?void 0:m.map((e,s)=>t.jsx(_.ShopCardSkeleton,{},`shop-card-skeleton__${s+1}`))}),l&&r&&t.jsx(u,{text:a,borderRadius:"curved",btnType:"basic",color:"neutral",className:"wrapper__view-all",onClick:r})]})});module.exports=q;
@@ -91,6 +91,8 @@ const j = $.div`
91
91
  }
92
92
 
93
93
  @media (max-width: ${M + "px"}) {
94
+ gap: 1.25rem;
95
+
94
96
  & .wrapper__view-all {
95
97
  display: unset;
96
98
  }
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-lSjkOR95.cjs"),v=require("./Button.cjs"),p=require("./suspense-categories-card-simple-CjGtzfzp.cjs"),M=w.styled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),s=require("react"),w=require("./emotion-styled.browser.esm-BtEseadx.cjs"),C=require("./consts-goSZX3xP.cjs"),q=require("./useDetectMobile-zkbzoOGV.cjs"),d=require("./utils-Dl9xPH4c.cjs"),k=require("./style-Db3VFbfP.cjs"),v=require("./Button.cjs"),p=require("./suspense-categories-card-simple-CjGtzfzp.cjs"),M=w.styled.div`
2
2
  display: grid;
3
3
  grid-template-columns: ${a=>"repeat(6, minmax(0, 1fr))"};
4
4
  gap: 2rem;
@@ -4,7 +4,7 @@ import { s as M } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as N } from "./consts-BuFChS64.js";
5
5
  import { u as E } from "./useDetectMobile-Bkvj0VMa.js";
6
6
  import { k as p } from "./utils-BdsZgOUE.js";
7
- import { R as I } from "./style-BLuyU97E.js";
7
+ import { R as I } from "./style-DKAOBWn3.js";
8
8
  import R from "./Button.js";
9
9
  import { C as B, S as L } from "./suspense-categories-card-simple-BGj475Ca.js";
10
10
  const P = M.div`
@@ -78,6 +78,7 @@ const o = a.div`
78
78
  @media (max-width: ${t + "px"}) {
79
79
  & .regular-title {
80
80
  font-size: 1.375rem;
81
+ padding-bottom: 0.5rem;
81
82
  }
82
83
  }
83
84
  `, i = (e) => (e == null ? void 0 : e.toLowerCase()) == "success" ? "color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);" : (e == null ? void 0 : e.toLowerCase()) == "warning" ? "color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);" : (e == null ? void 0 : e.toLowerCase()) == "info" ? "color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);" : (e == null ? void 0 : e.toLowerCase()) == "danger" ? "color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);" : (e == null ? void 0 : e.toLowerCase()) == "secondary" ? "color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);" : "color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);", g = a.div`
@@ -75,6 +75,7 @@
75
75
  @media (max-width: ${a.MOBILE_SIZE_PX+"px"}) {
76
76
  & .regular-title {
77
77
  font-size: 1.375rem;
78
+ padding-bottom: 0.5rem;
78
79
  }
79
80
  }
80
81
  `,s=e=>(e==null?void 0:e.toLowerCase())=="success"?"color: var(--success-700, #047857); border: 1px solid var(--success-600, #059669); background-color: var(--sucess-60008, #05966914);":(e==null?void 0:e.toLowerCase())=="warning"?"color: var(--warning-600, #d97706); border: 1px solid var(--warning-500, #f59e0b); background-color: var(--warning-50012, #f59e0b1f);":(e==null?void 0:e.toLowerCase())=="info"?"color: var(--info-700, #6d28d9); border: 1px solid var(--info-600, #7c3aed); background-color: var(--info-60012, #7c3aed1f);":(e==null?void 0:e.toLowerCase())=="danger"?"color: var(--danger-600, #e11d48); border: 1px solid var(--danger-500, #f43f5e); background-color: var(--danger-5008, #f43f5e14);":(e==null?void 0:e.toLowerCase())=="secondary"?"color: var(--secondary-700, #2667a0); border: 1px solid var(--secondary-600, #3284cb); background-color: var(--secondary-60012, #3284cb1f);":"color: var(--gray-950, #14161A); border: 1px solid var(--gray-200, #dddfe4); background-color: var(--white, #fff);",o=t.styled.div`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
- "version": "4.0.160",
3
+ "version": "4.0.161",
4
4
  "description": "React component library",
5
5
  "type": "module",
6
6
  "keywords": [