@ambuj.bhaskar/react-component-library 0.24.11-alpha → 0.24.12-alpha
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 +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +14 -11
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -24937,23 +24937,26 @@ const CPe = ({
|
|
|
24937
24937
|
},
|
|
24938
24938
|
color: r,
|
|
24939
24939
|
width: o,
|
|
24940
|
-
|
|
24941
|
-
|
|
24940
|
+
size: i = "s",
|
|
24941
|
+
gap: a
|
|
24942
|
+
}) => /* @__PURE__ */ z.jsx("div", { className: "button_group", style: { gap: a }, children: e == null ? void 0 : e.map((s, c) => /* @__PURE__ */ z.jsx(
|
|
24942
24943
|
_2,
|
|
24943
24944
|
{
|
|
24944
24945
|
variant: "primary",
|
|
24945
|
-
content:
|
|
24946
|
-
icon:
|
|
24947
|
-
iconPosition: (
|
|
24948
|
-
textColor:
|
|
24949
|
-
iconColor:
|
|
24950
|
-
onClick: () => n(
|
|
24946
|
+
content: s == null ? void 0 : s.label,
|
|
24947
|
+
icon: s == null ? void 0 : s.icon,
|
|
24948
|
+
iconPosition: (s == null ? void 0 : s.iconPosition) ?? "before",
|
|
24949
|
+
textColor: s == null ? void 0 : s.contentColor,
|
|
24950
|
+
iconColor: s == null ? void 0 : s.contentColor,
|
|
24951
|
+
onClick: () => n(s.value),
|
|
24951
24952
|
width: o,
|
|
24952
|
-
className: `button_group_button ${
|
|
24953
|
+
className: `button_group_button ${c == 0 ? "first" : ""} ${c == e.length - 1 ? "last" : ""} ${s.value == t ? "active" : ""}`,
|
|
24953
24954
|
backgroundColor: r,
|
|
24954
|
-
borderColor: r
|
|
24955
|
+
borderColor: r,
|
|
24956
|
+
disabled: s.disabled,
|
|
24957
|
+
size: i
|
|
24955
24958
|
},
|
|
24956
|
-
|
|
24959
|
+
s.value
|
|
24957
24960
|
)) });
|
|
24958
24961
|
/*!
|
|
24959
24962
|
* @kurkle/color v0.3.4
|