oraculo-ui 0.2.50 → 0.2.51
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/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.es.js +7 -7
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -192,7 +192,7 @@ function ta({
|
|
|
192
192
|
subtitle: a,
|
|
193
193
|
maxSubtitleChars: n = 25
|
|
194
194
|
}) {
|
|
195
|
-
const o = !!(a && a.length
|
|
195
|
+
const o = !!(a && a.length >= n);
|
|
196
196
|
return /* @__PURE__ */ g("div", { className: be.contenedor, children: [
|
|
197
197
|
/* @__PURE__ */ t("span", { className: be.title, children: e }),
|
|
198
198
|
a && /* @__PURE__ */ g("div", { className: be.flexGroup, children: [
|
|
@@ -227,7 +227,7 @@ function aa({ text: e, color: a = "#ff3b3b", textColor: n = "#fff" }) {
|
|
|
227
227
|
fontSize: "12px",
|
|
228
228
|
lineHeight: "16px",
|
|
229
229
|
fontWeight: 700,
|
|
230
|
-
width: "
|
|
230
|
+
width: "42px",
|
|
231
231
|
height: "16px",
|
|
232
232
|
textAlign: "center"
|
|
233
233
|
},
|
|
@@ -256,10 +256,10 @@ function oa({ title: e, subtitle: a, live: n = !1, time: o = "", extra: i = "" }
|
|
|
256
256
|
alignItems: "center",
|
|
257
257
|
justifyContent: "space-between",
|
|
258
258
|
color: "#FFFFFF",
|
|
259
|
-
gap: "
|
|
259
|
+
gap: "5px"
|
|
260
260
|
},
|
|
261
261
|
children: [
|
|
262
|
-
/* @__PURE__ */ t(ta, { title: e, subtitle: a }),
|
|
262
|
+
/* @__PURE__ */ t(ta, { title: e, subtitle: a, maxSubtitleChars: i ? 17 : 24 }),
|
|
263
263
|
/* @__PURE__ */ t(na, { live: n, time: o, extra: i })
|
|
264
264
|
]
|
|
265
265
|
}
|
|
@@ -3654,8 +3654,8 @@ function yo({
|
|
|
3654
3654
|
W.push(...Y);
|
|
3655
3655
|
});
|
|
3656
3656
|
const V = {
|
|
3657
|
-
football:
|
|
3658
|
-
basketball:
|
|
3657
|
+
football: 2,
|
|
3658
|
+
basketball: 1,
|
|
3659
3659
|
tennis: 0
|
|
3660
3660
|
}, H = W.sort((G, D) => {
|
|
3661
3661
|
var E, C;
|
|
@@ -3684,7 +3684,7 @@ function yo({
|
|
|
3684
3684
|
// same as your previous BUFFER
|
|
3685
3685
|
debounceMs: 300
|
|
3686
3686
|
// same as your previous debouncedVisibleRange
|
|
3687
|
-
}), A = i || void 0, y = b === null, I = de(() => y ? Array(4).fill({}) : (b == null ? void 0 : b.slice(0,
|
|
3687
|
+
}), A = i || void 0, y = b === null, I = de(() => y ? Array(4).fill({}) : (b == null ? void 0 : b.slice(0, 50)) || [], [y, b]), F = Ne("(max-width:950px)");
|
|
3688
3688
|
return !y && b.length === 0 ? null : /* @__PURE__ */ t("section", { className: A, style: {
|
|
3689
3689
|
// paddingLeft: 16,
|
|
3690
3690
|
// paddingRight: 16,
|