@yakavkaz/uikit 0.0.25 → 0.0.28
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/components/button/Button.d.ts +7 -1
- package/dist/components/button/Button.d.ts.map +1 -1
- package/dist/components/header/parts/headerProfile.d.ts +2 -1
- package/dist/components/header/parts/headerProfile.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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",
|
|
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
|
|
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
|
-
|
|
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
|
)
|
|
@@ -2036,9 +2040,10 @@ function Pe({
|
|
|
2036
2040
|
onClick: e,
|
|
2037
2041
|
label: g = "Войти",
|
|
2038
2042
|
variant: i = "outlineBlackText",
|
|
2039
|
-
className: M
|
|
2043
|
+
className: M,
|
|
2044
|
+
size: Y = "lg"
|
|
2040
2045
|
}) {
|
|
2041
|
-
return /* @__PURE__ */ A(D, { type: "button", onClick: e, variant: i, className: M, children: g });
|
|
2046
|
+
return /* @__PURE__ */ A(D, { type: "button", size: Y, onClick: e, variant: i, className: M, children: g });
|
|
2042
2047
|
}
|
|
2043
2048
|
function be({
|
|
2044
2049
|
userName: e,
|