@axzydev/axzy_ui_system 1.8.3 → 1.8.4
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 +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/organisms/bento/bento.tsx +11 -10
package/dist/index.cjs
CHANGED
|
@@ -2227,16 +2227,14 @@ function ITBentoTile({
|
|
|
2227
2227
|
}
|
|
2228
2228
|
} : void 0,
|
|
2229
2229
|
children: [
|
|
2230
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("h3", { className: "it-bento-tile__label", children: [
|
|
2230
|
+
label !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("h3", { className: "it-bento-tile__label", children: [
|
|
2231
2231
|
icon,
|
|
2232
2232
|
label
|
|
2233
2233
|
] }),
|
|
2234
2234
|
children,
|
|
2235
2235
|
(value !== void 0 || caption || aside) && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "it-bento-tile__foot", children: [
|
|
2236
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.
|
|
2237
|
-
|
|
2238
|
-
caption && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("small", { className: "it-bento-tile__caption", children: caption })
|
|
2239
|
-
] }),
|
|
2236
|
+
value !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "it-bento-tile__value", children: value }),
|
|
2237
|
+
caption && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("small", { className: "it-bento-tile__caption ml-auto", children: caption }),
|
|
2240
2238
|
aside
|
|
2241
2239
|
] })
|
|
2242
2240
|
]
|
|
@@ -2365,7 +2363,7 @@ function ITBentoWeekBars({
|
|
|
2365
2363
|
{
|
|
2366
2364
|
className: "w-full rounded-t-[5px] rounded-b-[2px] transition-[height] duration-700",
|
|
2367
2365
|
style: {
|
|
2368
|
-
height: `${Math.max(
|
|
2366
|
+
height: `${item.value === 0 ? 12 : Math.max(18, Math.round(item.value / max * BAR_MAX_PX))}px`,
|
|
2369
2367
|
background: item.tone === "today" ? todayColor : item.tone === "future" ? "color-mix(in srgb, currentColor 14%, transparent)" : color,
|
|
2370
2368
|
transitionDelay: `${i * 60 + 150}ms`
|
|
2371
2369
|
}
|