@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.d.ts CHANGED
@@ -675,6 +675,7 @@ export declare type ButtonGroupProps = {
675
675
  color?: Color;
676
676
  gap?: CSSstring;
677
677
  width?: CSSstring;
678
+ size?: ButtonProps["size"];
678
679
  };
679
680
 
680
681
  export declare type ButtonProps = HTMLButtonProps & {
package/dist/index.js CHANGED
@@ -24937,23 +24937,26 @@ const CPe = ({
24937
24937
  },
24938
24938
  color: r,
24939
24939
  width: o,
24940
- gap: i
24941
- }) => /* @__PURE__ */ z.jsx("div", { className: "button_group", style: { gap: i }, children: e == null ? void 0 : e.map((a, s) => /* @__PURE__ */ z.jsx(
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: a == null ? void 0 : a.label,
24946
- icon: a == null ? void 0 : a.icon,
24947
- iconPosition: (a == null ? void 0 : a.iconPosition) ?? "before",
24948
- textColor: a == null ? void 0 : a.contentColor,
24949
- iconColor: a == null ? void 0 : a.contentColor,
24950
- onClick: () => n(a.value),
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 ${s == 0 ? "first" : ""} ${s == e.length - 1 ? "last" : ""} ${a.value == t ? "active" : ""}`,
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
- a.value
24959
+ s.value
24957
24960
  )) });
24958
24961
  /*!
24959
24962
  * @kurkle/color v0.3.4