@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.d.cts CHANGED
@@ -391,7 +391,8 @@ declare function ITAccordion({ items, allowMultiple, defaultOpenIds, openIds, on
391
391
  /** Tono de superficie del mosaico: blanco por defecto o uno de marca. */
392
392
  type ITBentoTone = "plain" | "sea" | "lavender" | "mint" | "sun";
393
393
  interface ITBentoTileProps {
394
- label: ReactNode;
394
+ /** Etiqueta superior; si se omite, la tarjeta se maqueta con `children`. */
395
+ label?: ReactNode;
395
396
  /** Ícono de línea a la izquierda de la etiqueta. */
396
397
  icon?: ReactNode;
397
398
  /** Cuántas columnas del mosaico ocupa (1–12). */
package/dist/index.d.ts CHANGED
@@ -391,7 +391,8 @@ declare function ITAccordion({ items, allowMultiple, defaultOpenIds, openIds, on
391
391
  /** Tono de superficie del mosaico: blanco por defecto o uno de marca. */
392
392
  type ITBentoTone = "plain" | "sea" | "lavender" | "mint" | "sun";
393
393
  interface ITBentoTileProps {
394
- label: ReactNode;
394
+ /** Etiqueta superior; si se omite, la tarjeta se maqueta con `children`. */
395
+ label?: ReactNode;
395
396
  /** Ícono de línea a la izquierda de la etiqueta. */
396
397
  icon?: ReactNode;
397
398
  /** Cuántas columnas del mosaico ocupa (1–12). */
package/dist/index.js CHANGED
@@ -2059,16 +2059,14 @@ function ITBentoTile({
2059
2059
  }
2060
2060
  } : void 0,
2061
2061
  children: [
2062
- /* @__PURE__ */ jsxs6("h3", { className: "it-bento-tile__label", children: [
2062
+ label !== void 0 && /* @__PURE__ */ jsxs6("h3", { className: "it-bento-tile__label", children: [
2063
2063
  icon,
2064
2064
  label
2065
2065
  ] }),
2066
2066
  children,
2067
2067
  (value !== void 0 || caption || aside) && /* @__PURE__ */ jsxs6("div", { className: "it-bento-tile__foot", children: [
2068
- /* @__PURE__ */ jsxs6("div", { className: "flex items-baseline gap-2", children: [
2069
- value !== void 0 && /* @__PURE__ */ jsx12("div", { className: "it-bento-tile__value", children: value }),
2070
- caption && /* @__PURE__ */ jsx12("small", { className: "it-bento-tile__caption", children: caption })
2071
- ] }),
2068
+ value !== void 0 && /* @__PURE__ */ jsx12("div", { className: "it-bento-tile__value", children: value }),
2069
+ caption && /* @__PURE__ */ jsx12("small", { className: "it-bento-tile__caption ml-auto", children: caption }),
2072
2070
  aside
2073
2071
  ] })
2074
2072
  ]
@@ -2197,7 +2195,7 @@ function ITBentoWeekBars({
2197
2195
  {
2198
2196
  className: "w-full rounded-t-[5px] rounded-b-[2px] transition-[height] duration-700",
2199
2197
  style: {
2200
- height: `${Math.max(6, Math.round(item.value / max * BAR_MAX_PX))}px`,
2198
+ height: `${item.value === 0 ? 12 : Math.max(18, Math.round(item.value / max * BAR_MAX_PX))}px`,
2201
2199
  background: item.tone === "today" ? todayColor : item.tone === "future" ? "color-mix(in srgb, currentColor 14%, transparent)" : color,
2202
2200
  transitionDelay: `${i * 60 + 150}ms`
2203
2201
  }