@mirohq/design-system-base-button
Advanced tools
Comparing version 0.4.32 to 0.4.33
@@ -143,3 +143,12 @@ 'use strict'; | ||
ref: forwardRef, | ||
children: asLink ? /* @__PURE__ */ jsxRuntime.jsx("a", { href, target, rel: relProp, children }) : children | ||
children: asLink ? /* @__PURE__ */ jsxRuntime.jsx( | ||
designSystemPrimitive.Primitive.a, | ||
{ | ||
href, | ||
target, | ||
rel: relProp, | ||
asChild, | ||
children | ||
} | ||
) : children | ||
} | ||
@@ -146,0 +155,0 @@ ); |
@@ -135,3 +135,12 @@ import { jsx } from 'react/jsx-runtime'; | ||
ref: forwardRef, | ||
children: asLink ? /* @__PURE__ */ jsx("a", { href, target, rel: relProp, children }) : children | ||
children: asLink ? /* @__PURE__ */ jsx( | ||
Primitive.a, | ||
{ | ||
href, | ||
target, | ||
rel: relProp, | ||
asChild, | ||
children | ||
} | ||
) : children | ||
} | ||
@@ -138,0 +147,0 @@ ); |
@@ -511,4 +511,4 @@ import * as react from 'react'; | ||
declare type BaseButtonProps = AsButtonProps | AsLinkProps; | ||
declare const BaseButton: react__default.ForwardRefExoticComponent<(Omit<AsButtonProps, "ref"> | Omit<AsLinkProps, "ref">) & react__default.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>; | ||
declare const BaseButton: react__default.ForwardRefExoticComponent<(Omit<AsButtonProps, "ref"> | Omit<AsLinkProps, "ref">) & react__default.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>; | ||
export { BaseButton, BaseButtonProps, sizes }; |
{ | ||
"name": "@mirohq/design-system-base-button", | ||
"version": "0.4.32", | ||
"version": "0.4.33", | ||
"description": "", | ||
@@ -33,4 +33,4 @@ "author": "Miro", | ||
"@mirohq/design-system-primitive": "^1.1.1", | ||
"@mirohq/design-system-stitches": "^2.6.0", | ||
"@mirohq/design-system-types": "^0.6.2" | ||
"@mirohq/design-system-types": "^0.6.2", | ||
"@mirohq/design-system-stitches": "^2.6.0" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
46284
813