@konturio/ui-kit
Advanced tools
Comparing version 5.0.0 to 5.1.0
{ | ||
"name": "@konturio/ui-kit", | ||
"version": "5.0.0", | ||
"version": "5.1.0", | ||
"repository": { | ||
@@ -36,3 +36,3 @@ "type": "git", | ||
}, | ||
"gitHead": "23724c883e78cea3251fa98a032ca282a874be77" | ||
"gitHead": "b55ef3523c2194711ad23842cc822920cdd5c032" | ||
} |
@@ -10,8 +10,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
[s.buttonDark]: dark, | ||
}, s[variant], s[size], className, { | ||
}, s[variant], s[size], { | ||
[s.active]: active, | ||
[s.withContent]: hasContent, | ||
[s.withIcon]: hasIcon, | ||
}), ...props, children: _jsxs("div", { className: cn(s.buttonInner), children: [iconBefore && _jsx("div", { className: s.iconBefore, children: iconBefore }), hasContent && _jsx("span", { className: s.buttonContent, children: children }), iconAfter && _jsx("div", { className: s.iconAfter, children: iconAfter })] }) })); | ||
}, className), ...props, children: _jsxs("div", { className: cn(s.buttonInner), children: [iconBefore && _jsx("div", { className: s.iconBefore, children: iconBefore }), hasContent && _jsx("span", { className: s.buttonContent, children: children }), iconAfter && _jsx("div", { className: s.iconAfter, children: iconAfter })] }) })); | ||
}); | ||
Button.displayName = 'Button'; |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
409
421065
8028