@lanaco/lnc-react-ui 4.0.160 → 4.0.162

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 (43) 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 +2 -2
  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 +2 -2
  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/LocationSearchSection.cjs +1 -1
  22. package/dist/LocationSearchSection.js +1 -1
  23. package/dist/MasonryGeneralCardsSection.cjs +1 -3
  24. package/dist/MasonryGeneralCardsSection.js +9 -11
  25. package/dist/ProductsWithBannerSection.cjs +17 -24
  26. package/dist/ProductsWithBannerSection.js +60 -67
  27. package/dist/QuattroCardsSection.cjs +2 -0
  28. package/dist/QuattroCardsSection.js +2 -0
  29. package/dist/SalesCampaignsSection.cjs +35 -33
  30. package/dist/SalesCampaignsSection.js +272 -249
  31. package/dist/ShopCardsSection.cjs +3 -1
  32. package/dist/ShopCardsSection.js +2 -0
  33. package/dist/SimpleCategoriesSection.cjs +1 -1
  34. package/dist/SimpleCategoriesSection.js +1 -1
  35. package/dist/index-Be-_NM9Q.cjs +4 -0
  36. package/dist/index-BvQx3xAm.cjs +95 -0
  37. package/dist/index-C0LcDEqa.js +47 -0
  38. package/dist/index-dXWRbvgi.js +345 -0
  39. package/dist/{style-BLuyU97E.js → style-DKAOBWn3.js} +1 -0
  40. package/dist/{style-lSjkOR95.cjs → style-Db3VFbfP.cjs} +1 -0
  41. package/package.json +1 -1
  42. package/dist/index-D0xXo7W6.cjs +0 -98
  43. package/dist/index-Dweo-G3H.js +0 -384
@@ -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-BvQx3xAm.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,11 +4,11 @@ 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";
11
- import { S as X } from "./index-Dweo-G3H.js";
11
+ import { S as X } from "./index-dXWRbvgi.js";
12
12
  const Z = S.div`
13
13
  display: grid;
14
14
  grid-template-columns: ${(i) => `repeat(${i.limit}, minmax(0, 1fr))`};
@@ -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-BvQx3xAm.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,9 +5,9 @@ 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
- import { S as A } from "./index-Dweo-G3H.js";
10
+ import { S as A } from "./index-dXWRbvgi.js";
11
11
  const K = I.div`
12
12
  display: grid;
13
13
  grid-template-columns: ${(n) => `repeat(${n.limit}, minmax(0, 1fr))`};
@@ -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";
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),l=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),v=require("./index-D0xXo7W6.cjs"),w=i.styled.div`
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),i=require("./emotion-styled.browser.esm-BtEseadx.cjs"),d=require("./consts-goSZX3xP.cjs"),v=require("./index-BvQx3xAm.cjs"),w=i.styled.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding: 1.25rem;
@@ -2,7 +2,7 @@ import { jsxs as t, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as w, Fragment as S } from "react";
3
3
  import { s as l } from "./emotion-styled.browser.esm-BNN1dTl3.js";
4
4
  import { M as p } from "./consts-BuFChS64.js";
5
- import { S as N } from "./index-Dweo-G3H.js";
5
+ import { S as N } from "./index-dXWRbvgi.js";
6
6
  const C = l.div`
7
7
  display: flex;
8
8
  flex-direction: column;
@@ -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%;