@bubo-squared/ui-framework 0.2.30 → 0.2.31
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.cjs +5 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +9 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -41,7 +41,7 @@ function spawnRipple(target, clientX, clientY, options = {}) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// src/components/ui/button.tsx
|
|
44
|
-
import "react";
|
|
44
|
+
import * as React from "react";
|
|
45
45
|
import { Slot } from "@radix-ui/react-slot";
|
|
46
46
|
import { cva } from "class-variance-authority";
|
|
47
47
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
@@ -72,17 +72,12 @@ var buttonVariants = cva(
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
);
|
|
75
|
-
|
|
76
|
-
className,
|
|
77
|
-
variant = "default",
|
|
78
|
-
size = "default",
|
|
79
|
-
asChild = false,
|
|
80
|
-
...props
|
|
81
|
-
}) {
|
|
75
|
+
var Button = React.forwardRef(({ className, variant = "default", size = "default", asChild = false, ...props }, ref) => {
|
|
82
76
|
const Comp = asChild ? Slot : "button";
|
|
83
77
|
return /* @__PURE__ */ jsx2(
|
|
84
78
|
Comp,
|
|
85
79
|
{
|
|
80
|
+
ref,
|
|
86
81
|
"data-slot": "button",
|
|
87
82
|
"data-variant": variant,
|
|
88
83
|
"data-size": size,
|
|
@@ -90,7 +85,8 @@ function Button({
|
|
|
90
85
|
...props
|
|
91
86
|
}
|
|
92
87
|
);
|
|
93
|
-
}
|
|
88
|
+
});
|
|
89
|
+
Button.displayName = "Button";
|
|
94
90
|
|
|
95
91
|
// src/components/Buttons/Button.tsx
|
|
96
92
|
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
@@ -2431,7 +2427,7 @@ import "react";
|
|
|
2431
2427
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2432
2428
|
|
|
2433
2429
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2434
|
-
import { forwardRef as
|
|
2430
|
+
import { forwardRef as forwardRef20, createElement as createElement2 } from "react";
|
|
2435
2431
|
|
|
2436
2432
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/shared/src/utils.js
|
|
2437
2433
|
var toKebabCase = (string) => string.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
@@ -2455,7 +2451,7 @@ var hasA11yProp = (props) => {
|
|
|
2455
2451
|
};
|
|
2456
2452
|
|
|
2457
2453
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2458
|
-
import { forwardRef as
|
|
2454
|
+
import { forwardRef as forwardRef19, createElement } from "react";
|
|
2459
2455
|
|
|
2460
2456
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/defaultAttributes.js
|
|
2461
2457
|
var defaultAttributes = {
|
|
@@ -2471,7 +2467,7 @@ var defaultAttributes = {
|
|
|
2471
2467
|
};
|
|
2472
2468
|
|
|
2473
2469
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/Icon.js
|
|
2474
|
-
var Icon2 =
|
|
2470
|
+
var Icon2 = forwardRef19(
|
|
2475
2471
|
({
|
|
2476
2472
|
color = "currentColor",
|
|
2477
2473
|
size = 24,
|
|
@@ -2503,7 +2499,7 @@ var Icon2 = forwardRef18(
|
|
|
2503
2499
|
|
|
2504
2500
|
// ../../node_modules/.pnpm/lucide-react@0.555.0_react@19.2.3/node_modules/lucide-react/dist/esm/createLucideIcon.js
|
|
2505
2501
|
var createLucideIcon = (iconName, iconNode) => {
|
|
2506
|
-
const Component =
|
|
2502
|
+
const Component = forwardRef20(
|
|
2507
2503
|
({ className, ...props }, ref) => createElement2(Icon2, {
|
|
2508
2504
|
ref,
|
|
2509
2505
|
iconNode,
|