@axzydev/axzy_ui_system 1.8.9 → 1.8.11
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 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/layered.css +1 -1
- package/package.json +1 -1
- package/src/components/molecules/card/card.props.ts +2 -0
- package/src/components/molecules/card/card.tsx +3 -1
- package/src/components/organisms/bento/bento.tsx +1 -1
- package/src/index.css +8 -0
package/dist/index.cjs
CHANGED
|
@@ -1689,7 +1689,8 @@ function ITCard({
|
|
|
1689
1689
|
titleClassName,
|
|
1690
1690
|
contentClassName,
|
|
1691
1691
|
actionClassName,
|
|
1692
|
-
onClick
|
|
1692
|
+
onClick,
|
|
1693
|
+
style
|
|
1693
1694
|
}) {
|
|
1694
1695
|
const { t } = useITTranslation();
|
|
1695
1696
|
const [isHovered, setIsHovered] = (0, import_react11.useState)(false);
|
|
@@ -1737,7 +1738,7 @@ function ITCard({
|
|
|
1737
1738
|
}
|
|
1738
1739
|
} : void 0,
|
|
1739
1740
|
className: (0, import_clsx2.default)("overflow-hidden flex flex-col", className),
|
|
1740
|
-
style: containerStyle,
|
|
1741
|
+
style: style ? { ...containerStyle, ...style } : containerStyle,
|
|
1741
1742
|
children: [
|
|
1742
1743
|
image && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
1743
1744
|
"img",
|
|
@@ -2443,7 +2444,7 @@ function ITBentoStatStrip({ items, activeId, onSelect, stack = false, stackItems
|
|
|
2443
2444
|
const total = parts.reduce((acc, item) => acc + (typeof item.value === "number" ? item.value : 0), 0);
|
|
2444
2445
|
const clickable = typeof onSelect === "function";
|
|
2445
2446
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: (0, import_clsx9.default)("it-bento-statstrip", className), children: [
|
|
2446
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "it-bento-statstrip__grid", style: { ["--it-bento-cols"]: Math.min(items.length,
|
|
2447
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "it-bento-statstrip__grid", style: { ["--it-bento-cols"]: Math.min(items.length, 6) }, children: items.map((item) => {
|
|
2447
2448
|
const on = item.id === activeId;
|
|
2448
2449
|
const Tag = clickable ? "button" : "div";
|
|
2449
2450
|
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|