@embedreach/components 0.1.38 → 0.1.40
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/chunks/index.js +7 -1
- package/dist/index.umd.js +7 -1
- package/package.json +1 -1
package/dist/chunks/index.js
CHANGED
|
@@ -24261,10 +24261,16 @@ const buttonVariants = cva([styles$6.base], {
|
|
|
24261
24261
|
const Button$1 = React.forwardRef(
|
|
24262
24262
|
({ className: className2, variant, size: size2, asChild = false, ...props }, ref) => {
|
|
24263
24263
|
const Comp = asChild ? Slot$2 : "button";
|
|
24264
|
+
console.log(
|
|
24265
|
+
`BUTTON VARIANTS`,
|
|
24266
|
+
size2,
|
|
24267
|
+
variant,
|
|
24268
|
+
buttonVariants({ variant, size: size2 })
|
|
24269
|
+
);
|
|
24264
24270
|
return /* @__PURE__ */ jsx(
|
|
24265
24271
|
Comp,
|
|
24266
24272
|
{
|
|
24267
|
-
className: cn$1(buttonVariants({ variant, size: size2,
|
|
24273
|
+
className: cn$1(buttonVariants({ variant, size: size2 }), className2),
|
|
24268
24274
|
ref,
|
|
24269
24275
|
...props
|
|
24270
24276
|
}
|
package/dist/index.umd.js
CHANGED
|
@@ -24278,10 +24278,16 @@
|
|
|
24278
24278
|
const Button$2 = React__namespace.forwardRef(
|
|
24279
24279
|
({ className: className2, variant, size: size3, asChild = false, ...props }, ref) => {
|
|
24280
24280
|
const Comp = asChild ? Slot$2 : "button";
|
|
24281
|
+
console.log(
|
|
24282
|
+
`BUTTON VARIANTS`,
|
|
24283
|
+
size3,
|
|
24284
|
+
variant,
|
|
24285
|
+
buttonVariants({ variant, size: size3 })
|
|
24286
|
+
);
|
|
24281
24287
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24282
24288
|
Comp,
|
|
24283
24289
|
{
|
|
24284
|
-
className: cn$1(buttonVariants({ variant, size: size3,
|
|
24290
|
+
className: cn$1(buttonVariants({ variant, size: size3 }), className2),
|
|
24285
24291
|
ref,
|
|
24286
24292
|
...props
|
|
24287
24293
|
}
|