@lanaco/lnc-react-ui 4.0.207 → 4.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BannerSectionCarousel.cjs +11 -10
- package/dist/BannerSectionCarousel.js +39 -36
- package/dist/DetailedProductsSection.cjs +1 -1
- package/dist/DetailedProductsSection.js +1 -1
- package/dist/MasonryGeneralCardsSection.cjs +8 -12
- package/dist/MasonryGeneralCardsSection.js +17 -21
- package/package.json +1 -1
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
"use strict";const r=require("react/jsx-runtime"),d=require("react"),x=require("./index-DeS-oqJB.cjs"),
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),d=require("react"),x=require("./index-DeS-oqJB.cjs"),u=require("./style-BAcV7F53.cjs"),h=require("./emotion-styled.browser.esm-BtEseadx.cjs"),t=require("./breakpoints-CcVm-gVm.cjs"),v=require("./Button.cjs"),y=require("./useDetectMobile-DYV6V1yw.cjs"),w=require("./utils-CITgSxXe.cjs"),j=h.styled(u.SkeletonColumnWrapper)`
|
|
2
|
+
@media ${t.down("S")} {
|
|
3
|
+
& > div {
|
|
4
|
+
height: 100%;
|
|
5
|
+
aspect-ratio: 1 / 1;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
`,k=({keyPrefix:i})=>r.jsx(j,{noGradient:!0,children:r.jsx(u.SkeletonLinePlaceholder,{keyPrefix:`${i}-1`,height:"22.5rem"})}),S=({keyPrefix:i,isLoading:o=!1,fallbackComponent:n=r.jsx(r.Fragment,{}),children:a})=>r.jsx(d.Suspense,{fallbackComponent:n,children:o===!0?r.jsx(k,{keyPrefix:i}):a}),C=h.styled.div`
|
|
2
9
|
&:hover {
|
|
3
10
|
cursor: pointer;
|
|
4
11
|
|
|
@@ -119,8 +126,9 @@
|
|
|
119
126
|
@media ${t.down("M")} {
|
|
120
127
|
& .carousel-item .section__card,
|
|
121
128
|
& .carousel-item:not(.react-multi-carousel-item--active) .section__card {
|
|
122
|
-
height:
|
|
129
|
+
height: 100%;
|
|
123
130
|
}
|
|
131
|
+
|
|
124
132
|
& .carousel-item .section__card .section__image {
|
|
125
133
|
object-fit: cover;
|
|
126
134
|
object-position: center;
|
|
@@ -188,11 +196,4 @@
|
|
|
188
196
|
}
|
|
189
197
|
}
|
|
190
198
|
}
|
|
191
|
-
`,
|
|
192
|
-
@media ${t.down("S")} {
|
|
193
|
-
& > div {
|
|
194
|
-
height: 100%;
|
|
195
|
-
aspect-ratio: 1 / 1;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
`,k=({keyPrefix:i})=>r.jsx(j,{noGradient:!0,children:r.jsx(m.SkeletonLinePlaceholder,{keyPrefix:`${i}-1`,height:"22.5rem"})}),S=({keyPrefix:i,isLoading:o=!1,fallbackComponent:a=r.jsx(r.Fragment,{}),children:n})=>r.jsx(d.Suspense,{fallbackComponent:a,children:o===!0?r.jsx(k,{keyPrefix:i}):n}),C=d.forwardRef(({items:i=[],isLoading:o=!1,deviceType:a,partialVisible:n=!0,fallbackComponent:h=r.jsx(r.Fragment,{}),onSelectItem:_=()=>{},onButtonAction:p=()=>{},carouselProps:g},f)=>{const b={desktop:{breakpoint:{max:3e3,min:t.screenSizes.M.max},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:t.screenSizes.M.max,min:t.screenSizes.S.min},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:t.screenSizes.XS.max,min:0},items:1,partialVisibilityGutter:64}},c=w.useDetectMobile();return r.jsx(y,{ref:f,children:r.jsx(S,{fallbackComponent:h,keyPrefix:"banner-carousel-skeleton",isLoading:o,children:r.jsx(x.Carousel,{responsive:b,deviceType:a,removeArrowOnDeviceType:["tablet","mobile"],infinite:!c,keyBoardControl:!0,autoPlay:!0,partialVisible:n,customTransition:"transform 500ms ease-in-out",sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",rewind:!0,rewindWithAnimation:!0,...g,children:i==null?void 0:i.map((e,l)=>r.jsxs("div",{className:"section__card",onClick:()=>_(e),children:[r.jsx("img",{src:e==null?void 0:e.imageUrl,alt:`Slide ${l+1}`,className:"section__image"}),r.jsxs("div",{className:"card__content",children:[r.jsxs("div",{className:"card__text",children:[(e==null?void 0:e.title)&&r.jsx("div",{className:"card__title",children:e==null?void 0:e.title}),(e==null?void 0:e.title)&&r.jsx("div",{className:"card__description",children:e==null?void 0:e.description})]}),(e==null?void 0:e.buttonText)&&r.jsx(v,{text:e==null?void 0:e.buttonText,className:"card__action",size:"medium",onClick:s=>{s==null||s.stopPropagation(),p(e)}})]})]},`banner-section-carousel-item__${l+1}`))})})},`banner-section-carousel__${c}`)});module.exports=C;
|
|
199
|
+
`,q=d.forwardRef(({items:i=[],isLoading:o=!1,deviceType:n,partialVisible:a=!0,fallbackComponent:m=r.jsx(r.Fragment,{}),onSelectItem:_=()=>{},onButtonAction:g=()=>{},carouselProps:p},f)=>{const b={desktop:{breakpoint:{max:3e3,min:t.screenSizes.M.max},items:1,partialVisibilityGutter:0},tablet:{breakpoint:{max:t.screenSizes.M.max,min:t.screenSizes.S.min},items:1,partialVisibilityGutter:0},mobile:{breakpoint:{max:t.screenSizes.XS.max,min:0},items:1,partialVisibilityGutter:64}},c=y.useDetectMobile();return r.jsx(C,{ref:f,children:r.jsx(S,{fallbackComponent:m,keyPrefix:"banner-carousel-skeleton",isLoading:o,children:r.jsx(x.Carousel,{responsive:b,deviceType:n,removeArrowOnDeviceType:["tablet","mobile"],infinite:!c,keyBoardControl:!0,autoPlay:!0,partialVisible:a,customTransition:"transform 500ms ease-in-out",sliderClass:"carousel-slider",itemClass:"carousel-item",containerClass:"carousel-container",rewind:!0,rewindWithAnimation:!0,...p,children:i==null?void 0:i.map((e,l)=>r.jsxs("div",{className:"section__card",onClick:()=>_(e),children:[w.isDefined(e==null?void 0:e.imageComponent)?e==null?void 0:e.imageComponent:r.jsx("img",{src:e==null?void 0:e.imageUrl,alt:`Slide ${l+1}`,loading:"lazy",className:"section__image"}),r.jsxs("div",{className:"card__content",children:[r.jsxs("div",{className:"card__text",children:[(e==null?void 0:e.title)&&r.jsx("div",{className:"card__title",children:e==null?void 0:e.title}),(e==null?void 0:e.title)&&r.jsx("div",{className:"card__description",children:e==null?void 0:e.description})]}),(e==null?void 0:e.buttonText)&&r.jsx(v,{text:e==null?void 0:e.buttonText,className:"card__action",size:"medium",onClick:s=>{s==null||s.stopPropagation(),g(e)}})]})]},`banner-section-carousel-item__${l+1}`))})})},`banner-section-carousel__${c}`)});module.exports=q;
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
import { jsx as r, Fragment as u, jsxs as l } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense as v, forwardRef as y } from "react";
|
|
3
3
|
import { C as w } from "./index-BppfjY8h.js";
|
|
4
|
-
import k from "./
|
|
5
|
-
import { u as C } from "./useDetectMobile-CcVo3PNi.js";
|
|
6
|
-
import { d as a, s as i } from "./breakpoints-ff0SIcV3.js";
|
|
4
|
+
import { b as k, a as C } from "./style-BwQ4djFC.js";
|
|
7
5
|
import { s as h } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
8
|
-
import {
|
|
9
|
-
|
|
6
|
+
import { d as o, s as i } from "./breakpoints-ff0SIcV3.js";
|
|
7
|
+
import S from "./Button.js";
|
|
8
|
+
import { u as j } from "./useDetectMobile-CcVo3PNi.js";
|
|
9
|
+
import { m as $ } from "./utils-B2fsQ6PS.js";
|
|
10
|
+
const N = h(k)`
|
|
11
|
+
@media ${o("S")} {
|
|
12
|
+
& > div {
|
|
13
|
+
height: 100%;
|
|
14
|
+
aspect-ratio: 1 / 1;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`, z = ({ keyPrefix: t }) => /* @__PURE__ */ r(N, { noGradient: !0, children: /* @__PURE__ */ r(C, { keyPrefix: `${t}-1`, height: "22.5rem" }) }), B = ({
|
|
18
|
+
keyPrefix: t,
|
|
19
|
+
isLoading: a = !1,
|
|
20
|
+
fallbackComponent: n = /* @__PURE__ */ r(u, {}),
|
|
21
|
+
children: s
|
|
22
|
+
}) => /* @__PURE__ */ r(v, { fallbackComponent: n, children: a === !0 ? /* @__PURE__ */ r(z, { keyPrefix: t }) : s }), M = h.div`
|
|
10
23
|
&:hover {
|
|
11
24
|
cursor: pointer;
|
|
12
25
|
|
|
@@ -124,25 +137,26 @@ const $ = h.div`
|
|
|
124
137
|
right: 1rem;
|
|
125
138
|
}
|
|
126
139
|
|
|
127
|
-
@media ${
|
|
140
|
+
@media ${o("M")} {
|
|
128
141
|
& .carousel-item .section__card,
|
|
129
142
|
& .carousel-item:not(.react-multi-carousel-item--active) .section__card {
|
|
130
|
-
height:
|
|
143
|
+
height: 100%;
|
|
131
144
|
}
|
|
145
|
+
|
|
132
146
|
& .carousel-item .section__card .section__image {
|
|
133
147
|
object-fit: cover;
|
|
134
148
|
object-position: center;
|
|
135
149
|
}
|
|
136
150
|
}
|
|
137
151
|
|
|
138
|
-
@media ${
|
|
152
|
+
@media ${o("S")} {
|
|
139
153
|
& .carousel-item .section__card .section__image {
|
|
140
154
|
object-fit: cover;
|
|
141
155
|
object-position: center;
|
|
142
156
|
}
|
|
143
157
|
}
|
|
144
158
|
|
|
145
|
-
@media ${
|
|
159
|
+
@media ${o("XS")} {
|
|
146
160
|
& .carousel-container {
|
|
147
161
|
min-height: 23.4375rem;
|
|
148
162
|
}
|
|
@@ -196,28 +210,16 @@ const $ = h.div`
|
|
|
196
210
|
}
|
|
197
211
|
}
|
|
198
212
|
}
|
|
199
|
-
`,
|
|
200
|
-
@media ${a("S")} {
|
|
201
|
-
& > div {
|
|
202
|
-
height: 100%;
|
|
203
|
-
aspect-ratio: 1 / 1;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
`, z = ({ keyPrefix: t }) => /* @__PURE__ */ r(N, { noGradient: !0, children: /* @__PURE__ */ r(j, { keyPrefix: `${t}-1`, height: "22.5rem" }) }), B = ({
|
|
207
|
-
keyPrefix: t,
|
|
208
|
-
isLoading: o = !1,
|
|
209
|
-
fallbackComponent: n = /* @__PURE__ */ r(u, {}),
|
|
210
|
-
children: c
|
|
211
|
-
}) => /* @__PURE__ */ r(v, { fallbackComponent: n, children: o === !0 ? /* @__PURE__ */ r(z, { keyPrefix: t }) : c }), W = y(
|
|
213
|
+
`, F = y(
|
|
212
214
|
({
|
|
213
215
|
items: t = [],
|
|
214
|
-
isLoading:
|
|
216
|
+
isLoading: a = !1,
|
|
215
217
|
deviceType: n,
|
|
216
|
-
partialVisible:
|
|
218
|
+
partialVisible: s = !0,
|
|
217
219
|
fallbackComponent: p = /* @__PURE__ */ r(u, {}),
|
|
218
|
-
onSelectItem:
|
|
220
|
+
onSelectItem: f = () => {
|
|
219
221
|
},
|
|
220
|
-
onButtonAction:
|
|
222
|
+
onButtonAction: _ = () => {
|
|
221
223
|
},
|
|
222
224
|
carouselProps: g
|
|
223
225
|
}, b) => {
|
|
@@ -237,13 +239,13 @@ const $ = h.div`
|
|
|
237
239
|
items: 1,
|
|
238
240
|
partialVisibilityGutter: 64
|
|
239
241
|
}
|
|
240
|
-
}, d =
|
|
241
|
-
return /* @__PURE__ */ r(
|
|
242
|
+
}, d = j();
|
|
243
|
+
return /* @__PURE__ */ r(M, { ref: b, children: /* @__PURE__ */ r(
|
|
242
244
|
B,
|
|
243
245
|
{
|
|
244
246
|
fallbackComponent: p,
|
|
245
247
|
keyPrefix: "banner-carousel-skeleton",
|
|
246
|
-
isLoading:
|
|
248
|
+
isLoading: a,
|
|
247
249
|
children: /* @__PURE__ */ r(
|
|
248
250
|
w,
|
|
249
251
|
{
|
|
@@ -253,7 +255,7 @@ const $ = h.div`
|
|
|
253
255
|
infinite: !d,
|
|
254
256
|
keyBoardControl: !0,
|
|
255
257
|
autoPlay: !0,
|
|
256
|
-
partialVisible:
|
|
258
|
+
partialVisible: s,
|
|
257
259
|
customTransition: "transform 500ms ease-in-out",
|
|
258
260
|
sliderClass: "carousel-slider",
|
|
259
261
|
itemClass: "carousel-item",
|
|
@@ -265,13 +267,14 @@ const $ = h.div`
|
|
|
265
267
|
"div",
|
|
266
268
|
{
|
|
267
269
|
className: "section__card",
|
|
268
|
-
onClick: () =>
|
|
270
|
+
onClick: () => f(e),
|
|
269
271
|
children: [
|
|
270
|
-
/* @__PURE__ */ r(
|
|
272
|
+
$(e == null ? void 0 : e.imageComponent) ? e == null ? void 0 : e.imageComponent : /* @__PURE__ */ r(
|
|
271
273
|
"img",
|
|
272
274
|
{
|
|
273
275
|
src: e == null ? void 0 : e.imageUrl,
|
|
274
276
|
alt: `Slide ${m + 1}`,
|
|
277
|
+
loading: "lazy",
|
|
275
278
|
className: "section__image"
|
|
276
279
|
}
|
|
277
280
|
),
|
|
@@ -281,13 +284,13 @@ const $ = h.div`
|
|
|
281
284
|
(e == null ? void 0 : e.title) && /* @__PURE__ */ r("div", { className: "card__description", children: e == null ? void 0 : e.description })
|
|
282
285
|
] }),
|
|
283
286
|
(e == null ? void 0 : e.buttonText) && /* @__PURE__ */ r(
|
|
284
|
-
|
|
287
|
+
S,
|
|
285
288
|
{
|
|
286
289
|
text: e == null ? void 0 : e.buttonText,
|
|
287
290
|
className: "card__action",
|
|
288
291
|
size: "medium",
|
|
289
|
-
onClick: (
|
|
290
|
-
|
|
292
|
+
onClick: (c) => {
|
|
293
|
+
c == null || c.stopPropagation(), _(e);
|
|
291
294
|
}
|
|
292
295
|
}
|
|
293
296
|
)
|
|
@@ -303,5 +306,5 @@ const $ = h.div`
|
|
|
303
306
|
}
|
|
304
307
|
);
|
|
305
308
|
export {
|
|
306
|
-
|
|
309
|
+
F as default
|
|
307
310
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),s=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-CITgSxXe.cjs"),d=require("./breakpoints-CcVm-gVm.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-BAcV7F53.cjs"),y=s.styled.a`
|
|
2
2
|
text-decoration: none;
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
@@ -108,13 +108,13 @@
|
|
|
108
108
|
}
|
|
109
109
|
cursor: pointer;
|
|
110
110
|
|
|
111
|
-
@media ${
|
|
111
|
+
@media ${d.down("S")} {
|
|
112
112
|
& .wrapper__image {
|
|
113
113
|
height: 100%;
|
|
114
114
|
max-height: 14.5rem;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
|
-
`,k=p.forwardRef(({title:r,imageUrl:t,description:o,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:l,backgroundColor:h,buttonLink:x,LinkComponent:u},f)=>{const w=u||"a",_=b.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(y,{ref:f,theme:_,className:m,position:g,backgroundColor:h,onClick:c,as:w,...u?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__text",children:[l&&e.jsx("div",{className:"text__tag",children:l}),e.jsx("div",{className:"text__title",children:r}),i.isDefinedNotEmptyString(o)&&e.jsx("div",{className:"text__description",children:o}),i.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action"})]})]})})}),S=
|
|
117
|
+
`,k=p.forwardRef(({title:r,imageUrl:t,description:o,buttonText:a,onSelectCard:c=()=>{},className:m,position:g,tag:l,backgroundColor:h,buttonLink:x,LinkComponent:u},f)=>{const w=u||"a",_=b.useTheme();return e.jsx(e.Fragment,{children:e.jsxs(y,{ref:f,theme:_,className:m,position:g,backgroundColor:h,onClick:c,as:w,...u?{to:`/${x}`}:{href:`/${x}`},children:[e.jsx("img",{src:t,className:"wrapper__image"}),e.jsxs("div",{className:"wrapper__text",children:[l&&e.jsx("div",{className:"text__tag",children:l}),e.jsx("div",{className:"text__title",children:r}),i.isDefinedNotEmptyString(o)&&e.jsx("div",{className:"text__description",children:o}),i.isDefinedNotEmptyString(a)&&e.jsx(j,{text:a,className:"text__action"})]})]})})}),S=s.styled.div`
|
|
118
118
|
display: flex;
|
|
119
119
|
flex-direction: column;
|
|
120
120
|
gap: 1.5rem;
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
@media ${
|
|
141
|
+
@media ${d.down("S")} {
|
|
142
142
|
& .regular-title {
|
|
143
143
|
font-size: 1.375rem;
|
|
144
144
|
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
|
-
`,$=
|
|
150
|
+
`,$=s.styled.div`
|
|
151
151
|
display: grid;
|
|
152
152
|
grid-template-columns: ${()=>"repeat(12, minmax(0, 1fr))"};
|
|
153
153
|
|
|
@@ -157,11 +157,7 @@
|
|
|
157
157
|
height: 30rem;
|
|
158
158
|
max-height: 30rem;
|
|
159
159
|
|
|
160
|
-
@media ${
|
|
161
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
@media ${s.down("S")} {
|
|
160
|
+
@media ${d.down("S")} {
|
|
165
161
|
display: flex;
|
|
166
162
|
flex-direction: column;
|
|
167
163
|
gap: 1.25rem;
|
|
@@ -169,8 +165,8 @@
|
|
|
169
165
|
height: 100%;
|
|
170
166
|
max-height: 100%;
|
|
171
167
|
}
|
|
172
|
-
`,v=
|
|
173
|
-
@media ${
|
|
168
|
+
`,v=s.styled(n.SkeletonRowWrapper)`
|
|
169
|
+
@media ${d.down("S")} {
|
|
174
170
|
flex-direction: column;
|
|
175
171
|
|
|
176
172
|
& .skeleton__big {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r, Fragment as $, jsxs as i } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as v, Suspense as N } from "react";
|
|
3
3
|
import C from "./Button.js";
|
|
4
|
-
import { s
|
|
5
|
-
import { w as
|
|
6
|
-
import { d } from "./breakpoints-ff0SIcV3.js";
|
|
4
|
+
import { s } from "./emotion-styled.browser.esm-BNN1dTl3.js";
|
|
5
|
+
import { w as d, n as _, l as w } from "./utils-B2fsQ6PS.js";
|
|
6
|
+
import { d as m } from "./breakpoints-ff0SIcV3.js";
|
|
7
7
|
import { u as G } from "./emotion-element-f0de968e.browser.esm-CkCiQliQ.js";
|
|
8
8
|
import { S as f, b, a as l } from "./style-BwQ4djFC.js";
|
|
9
|
-
const z =
|
|
9
|
+
const z = s.a`
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
display: flex;
|
|
12
12
|
flex-direction: column;
|
|
@@ -53,7 +53,7 @@ const z = m.a`
|
|
|
53
53
|
width: 24.5rem;
|
|
54
54
|
height: 30rem;
|
|
55
55
|
border-radius: 0.75rem;
|
|
56
|
-
background-color: ${
|
|
56
|
+
background-color: ${d("-90deg")};
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
& .wrapper__text {
|
|
@@ -109,26 +109,26 @@ const z = m.a`
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
& .text__title--skeleton {
|
|
112
|
-
background-color: ${
|
|
112
|
+
background-color: ${d("-90deg")};
|
|
113
113
|
height: 1rem;
|
|
114
114
|
width: 9rem;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
& .text__description--skeleton {
|
|
118
|
-
background-color: ${
|
|
118
|
+
background-color: ${d("-90deg")};
|
|
119
119
|
height: 1rem;
|
|
120
120
|
width: 12rem;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
& .text__action--skeleton {
|
|
124
|
-
background-color: ${
|
|
124
|
+
background-color: ${d("-90deg")};
|
|
125
125
|
height: 2rem;
|
|
126
126
|
width: 9rem;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
cursor: pointer;
|
|
130
130
|
|
|
131
|
-
@media ${
|
|
131
|
+
@media ${m("S")} {
|
|
132
132
|
& .wrapper__image {
|
|
133
133
|
height: 100%;
|
|
134
134
|
max-height: 14.5rem;
|
|
@@ -183,7 +183,7 @@ const z = m.a`
|
|
|
183
183
|
}
|
|
184
184
|
) });
|
|
185
185
|
}
|
|
186
|
-
),
|
|
186
|
+
), W = s.div`
|
|
187
187
|
display: flex;
|
|
188
188
|
flex-direction: column;
|
|
189
189
|
gap: 1.5rem;
|
|
@@ -207,7 +207,7 @@ const z = m.a`
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
@media ${
|
|
210
|
+
@media ${m("S")} {
|
|
211
211
|
& .regular-title {
|
|
212
212
|
font-size: 1.375rem;
|
|
213
213
|
|
|
@@ -216,7 +216,7 @@ const z = m.a`
|
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
`,
|
|
219
|
+
`, M = s.div`
|
|
220
220
|
display: grid;
|
|
221
221
|
grid-template-columns: ${() => "repeat(12, minmax(0, 1fr))"};
|
|
222
222
|
|
|
@@ -226,11 +226,7 @@ const z = m.a`
|
|
|
226
226
|
height: 30rem;
|
|
227
227
|
max-height: 30rem;
|
|
228
228
|
|
|
229
|
-
@media ${
|
|
230
|
-
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
@media ${d("S")} {
|
|
229
|
+
@media ${m("S")} {
|
|
234
230
|
display: flex;
|
|
235
231
|
flex-direction: column;
|
|
236
232
|
gap: 1.25rem;
|
|
@@ -238,8 +234,8 @@ const z = m.a`
|
|
|
238
234
|
height: 100%;
|
|
239
235
|
max-height: 100%;
|
|
240
236
|
}
|
|
241
|
-
`, R =
|
|
242
|
-
@media ${
|
|
237
|
+
`, R = s(f)`
|
|
238
|
+
@media ${m("S")} {
|
|
243
239
|
flex-direction: column;
|
|
244
240
|
|
|
245
241
|
& .skeleton__big {
|
|
@@ -285,14 +281,14 @@ const z = m.a`
|
|
|
285
281
|
onSelectCard: c = () => {
|
|
286
282
|
},
|
|
287
283
|
LinkComponent: g
|
|
288
|
-
}, h) => /* @__PURE__ */ i(
|
|
284
|
+
}, h) => /* @__PURE__ */ i(W, { ref: h, children: [
|
|
289
285
|
/* @__PURE__ */ r("div", { className: "regular-title", children: /* @__PURE__ */ r("div", { className: "regular-title-text", children: /* @__PURE__ */ r("span", { children: e }) }) }),
|
|
290
286
|
/* @__PURE__ */ r(
|
|
291
287
|
T,
|
|
292
288
|
{
|
|
293
289
|
isLoading: a,
|
|
294
290
|
keyPrefix: "masonry-general-cards-skeleton",
|
|
295
|
-
children: /* @__PURE__ */ r(
|
|
291
|
+
children: /* @__PURE__ */ r(M, { limit: n, children: t && (t == null ? void 0 : t.map((o, p) => /* @__PURE__ */ r(
|
|
296
292
|
j,
|
|
297
293
|
{
|
|
298
294
|
...o,
|