@lanaco/lnc-react-ui 4.0.62 → 4.0.63
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/BlogListSection.cjs
CHANGED
package/dist/BlogListSection.js
CHANGED
|
@@ -18,6 +18,7 @@ const L = y.div`
|
|
|
18
18
|
background: var(--white, #fff);
|
|
19
19
|
min-height: 10.5rem;
|
|
20
20
|
position: relative;
|
|
21
|
+
width: 100%;
|
|
21
22
|
|
|
22
23
|
&:hover {
|
|
23
24
|
cursor: pointer;
|
|
@@ -133,8 +134,8 @@ const L = y.div`
|
|
|
133
134
|
publishedAt: l,
|
|
134
135
|
timeToReadText: s = "{0} min read",
|
|
135
136
|
timeToRead: o = 0,
|
|
136
|
-
numberOfLikes:
|
|
137
|
-
numberOfComments:
|
|
137
|
+
numberOfLikes: d = 0,
|
|
138
|
+
numberOfComments: c = 0,
|
|
138
139
|
onSelectCard: p = () => {
|
|
139
140
|
},
|
|
140
141
|
onSelectOption: u = () => {
|
|
@@ -169,11 +170,11 @@ const L = y.div`
|
|
|
169
170
|
/* @__PURE__ */ i("div", { className: "info__text", children: [
|
|
170
171
|
/* @__PURE__ */ i("div", { children: [
|
|
171
172
|
/* @__PURE__ */ t(h, { icon: " mng-lnc-thumbs-up", sizeInUnits: "1rem" }),
|
|
172
|
-
w(
|
|
173
|
+
w(d)
|
|
173
174
|
] }),
|
|
174
175
|
/* @__PURE__ */ i("div", { children: [
|
|
175
176
|
/* @__PURE__ */ t(h, { icon: " mng-lnc-messages", sizeInUnits: "1rem" }),
|
|
176
|
-
w(
|
|
177
|
+
w(c)
|
|
177
178
|
] })
|
|
178
179
|
] })
|
|
179
180
|
] }),
|
|
@@ -240,8 +241,8 @@ const L = y.div`
|
|
|
240
241
|
},
|
|
241
242
|
onBookmark: o = () => {
|
|
242
243
|
},
|
|
243
|
-
isLoading:
|
|
244
|
-
getImage:
|
|
244
|
+
isLoading: d = !1,
|
|
245
|
+
getImage: c = () => {
|
|
245
246
|
},
|
|
246
247
|
isSeparated: p = !0
|
|
247
248
|
}, u) => {
|
|
@@ -261,14 +262,14 @@ const L = y.div`
|
|
|
261
262
|
onSelectOption: (r) => l == null ? void 0 : l(r),
|
|
262
263
|
onShare: () => s == null ? void 0 : s(e == null ? void 0 : e.uuid),
|
|
263
264
|
onBookmark: () => o == null ? void 0 : o(e == null ? void 0 : e.uuid),
|
|
264
|
-
imageUrl:
|
|
265
|
+
imageUrl: c(e == null ? void 0 : e.imageUrl, e == null ? void 0 : e.uuid) || null
|
|
265
266
|
},
|
|
266
267
|
`blog-card-item__${_ + 1}`
|
|
267
268
|
)), [n]);
|
|
268
269
|
return /* @__PURE__ */ t(U, { className: p ? "separated" : "", children: /* @__PURE__ */ t(
|
|
269
270
|
$,
|
|
270
271
|
{
|
|
271
|
-
isLoading:
|
|
272
|
+
isLoading: d,
|
|
272
273
|
limit: 5,
|
|
273
274
|
keyPrefix: "blog-section",
|
|
274
275
|
children: f
|