@lanaco/lnc-react-ui 4.0.207 → 4.0.208

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.
@@ -119,8 +119,9 @@
119
119
  @media ${t.down("M")} {
120
120
  & .carousel-item .section__card,
121
121
  & .carousel-item:not(.react-multi-carousel-item--active) .section__card {
122
- height: 26rem;
122
+ height: 100%;
123
123
  }
124
+
124
125
  & .carousel-item .section__card .section__image {
125
126
  object-fit: cover;
126
127
  object-position: center;
@@ -127,8 +127,9 @@ const $ = h.div`
127
127
  @media ${a("M")} {
128
128
  & .carousel-item .section__card,
129
129
  & .carousel-item:not(.react-multi-carousel-item--active) .section__card {
130
- height: 26rem;
130
+ height: 100%;
131
131
  }
132
+
132
133
  & .carousel-item .section__card .section__image {
133
134
  object-fit: cover;
134
135
  object-position: center;
@@ -17,7 +17,7 @@
17
17
  }
18
18
 
19
19
  @media ${j.down("M")} {
20
- grid-template-columns: repeat(3, minmax(0, 1fr));
20
+ grid-template-columns: repeat(4, minmax(0, 1fr));
21
21
  }
22
22
 
23
23
  @media ${j.down("S")} {
@@ -28,7 +28,7 @@ const ee = G.div`
28
28
  }
29
29
 
30
30
  @media ${w("M")} {
31
- grid-template-columns: repeat(3, minmax(0, 1fr));
31
+ grid-template-columns: repeat(4, minmax(0, 1fr));
32
32
  }
33
33
 
34
34
  @media ${w("S")} {
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("react/jsx-runtime"),p=require("react"),j=require("./Button.cjs"),d=require("./emotion-styled.browser.esm-BtEseadx.cjs"),i=require("./utils-CITgSxXe.cjs"),s=require("./breakpoints-CcVm-gVm.cjs"),b=require("./emotion-element-f0de968e.browser.esm-B7k6i6lC.cjs"),n=require("./style-BAcV7F53.cjs"),y=d.styled.a`
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 ${s.down("S")} {
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=d.styled.div`
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 ${s.down("S")} {
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
- `,$=d.styled.div`
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 ${s.down("M")} {
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=d.styled(n.SkeletonRowWrapper)`
173
- @media ${s.down("S")} {
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 as m } from "./emotion-styled.browser.esm-BNN1dTl3.js";
5
- import { w as s, n as _, l as w } from "./utils-B2fsQ6PS.js";
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 = m.a`
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: ${s("-90deg")};
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: ${s("-90deg")};
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: ${s("-90deg")};
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: ${s("-90deg")};
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 ${d("S")} {
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
- ), M = m.div`
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 ${d("S")} {
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
- `, W = m.div`
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 ${d("M")} {
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 = m(f)`
242
- @media ${d("S")} {
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(M, { ref: h, children: [
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(W, { limit: n, children: t && (t == null ? void 0 : t.map((o, p) => /* @__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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lanaco/lnc-react-ui",
3
- "version": "4.0.207",
3
+ "version": "4.0.208",
4
4
  "description": "React component library",
5
5
  "type": "module",
6
6
  "keywords": [