@yakavkaz/uikit 0.0.25 → 0.0.26

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.js CHANGED
@@ -1657,7 +1657,7 @@ const Ce = c(function({ asChild: g = !1, children: i, className: M, ...Y }, x) {
1657
1657
  );
1658
1658
  Ge.displayName = "Checkbox";
1659
1659
  const D = c(
1660
- ({ asChild: e, onClick: g, variant: i = "primary", fullWidth: M, className: Y, disabled: x, ...m }, n) => {
1660
+ ({ asChild: e, onClick: g, variant: i = "primary", size: M = "md", className: Y, disabled: x, ...m }, n) => {
1661
1661
  const h = e ? R : "button", w = (G) => {
1662
1662
  x && G.preventDefault();
1663
1663
  }, J = I(
@@ -1677,14 +1677,18 @@ const D = c(
1677
1677
  className: I(
1678
1678
  // Base style
1679
1679
  "box-border inline-flex items-center justify-center gap-2.5 text-center text-xs leading-6 font-semibold whitespace-nowrap",
1680
- "cursor-pointer px-4 py-3 outline-none",
1680
+ "cursor-pointer outline-none",
1681
1681
  {
1682
1682
  // Primary
1683
1683
  "hover:bg-success-600 active:bg-success-800 focus:ring-success-800 bg-success-700 text-light-100 focus:bg-success-700 disabled:bg-success-300 font-semibold focus:ring-2 disabled:text-gray-300": i === "primary",
1684
1684
  //Outline or outlineBlackText
1685
1685
  [J]: i === "outline" || i === "outlineBlackText"
1686
1686
  },
1687
- M && "w-full text-center",
1687
+ {
1688
+ "px-4 py-2": M === "sm",
1689
+ "px-6 py-3": M === "md",
1690
+ "px-8 py-4": M === "lg"
1691
+ },
1688
1692
  Y,
1689
1693
  e && x && "pointer-events-none cursor-not-allowed"
1690
1694
  )