@axzydev/axzy_ui_system 1.8.3 → 1.8.5

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 CHANGED
@@ -47,6 +47,8 @@ __export(index_exports, {
47
47
  ITBentoGauge: () => ITBentoGauge,
48
48
  ITBentoGrid: () => ITBentoGrid,
49
49
  ITBentoLive: () => ITBentoLive,
50
+ ITBentoPill: () => ITBentoPill,
51
+ ITBentoPillRow: () => ITBentoPillRow,
50
52
  ITBentoSegments: () => ITBentoSegments,
51
53
  ITBentoSpark: () => ITBentoSpark,
52
54
  ITBentoTile: () => ITBentoTile,
@@ -2227,16 +2229,14 @@ function ITBentoTile({
2227
2229
  }
2228
2230
  } : void 0,
2229
2231
  children: [
2230
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("h3", { className: "it-bento-tile__label", children: [
2232
+ label !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("h3", { className: "it-bento-tile__label", children: [
2231
2233
  icon,
2232
2234
  label
2233
2235
  ] }),
2234
2236
  children,
2235
2237
  (value !== void 0 || caption || aside) && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "it-bento-tile__foot", children: [
2236
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "flex items-baseline gap-2", children: [
2237
- value !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "it-bento-tile__value", children: value }),
2238
- caption && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("small", { className: "it-bento-tile__caption", children: caption })
2239
- ] }),
2238
+ value !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "it-bento-tile__value", children: value }),
2239
+ caption && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("small", { className: "it-bento-tile__caption ml-auto", children: caption }),
2240
2240
  aside
2241
2241
  ] })
2242
2242
  ]
@@ -2365,7 +2365,7 @@ function ITBentoWeekBars({
2365
2365
  {
2366
2366
  className: "w-full rounded-t-[5px] rounded-b-[2px] transition-[height] duration-700",
2367
2367
  style: {
2368
- height: `${Math.max(6, Math.round(item.value / max * BAR_MAX_PX))}px`,
2368
+ height: `${item.value === 0 ? 12 : Math.max(18, Math.round(item.value / max * BAR_MAX_PX))}px`,
2369
2369
  background: item.tone === "today" ? todayColor : item.tone === "future" ? "color-mix(in srgb, currentColor 14%, transparent)" : color,
2370
2370
  transitionDelay: `${i * 60 + 150}ms`
2371
2371
  }
@@ -2435,6 +2435,15 @@ function ITBentoFeed({ groups, onItemClick, maxHeight = 330 }) {
2435
2435
  ) }, item.id)) })
2436
2436
  ] }, group.key)) });
2437
2437
  }
2438
+ function ITBentoPill({ children, dot, color, className }) {
2439
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: (0, import_clsx9.default)("it-bento-pill", className), style: color ? { color } : void 0, children: [
2440
+ dot && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("i", { className: "it-bento-pill__dot", style: { background: dot }, "aria-hidden": true }),
2441
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "it-bento-pill__text", children })
2442
+ ] });
2443
+ }
2444
+ function ITBentoPillRow({ children, className }) {
2445
+ return /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: (0, import_clsx9.default)("flex flex-wrap items-center gap-1.5", className), children });
2446
+ }
2438
2447
  function ITBentoLive({ label, className }) {
2439
2448
  return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
2440
2449
  "span",
@@ -17961,6 +17970,8 @@ var createValidationSchema = (fields) => Yup.object().shape(
17961
17970
  ITBentoGauge,
17962
17971
  ITBentoGrid,
17963
17972
  ITBentoLive,
17973
+ ITBentoPill,
17974
+ ITBentoPillRow,
17964
17975
  ITBentoSegments,
17965
17976
  ITBentoSpark,
17966
17977
  ITBentoTile,