@tutti-os/ui-system 0.0.173 → 0.0.175
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.
|
@@ -92,7 +92,15 @@ var bareIconButtonVariants = cva2(
|
|
|
92
92
|
}
|
|
93
93
|
);
|
|
94
94
|
var BareIconButton = React.forwardRef(
|
|
95
|
-
({
|
|
95
|
+
({
|
|
96
|
+
className,
|
|
97
|
+
size = "md",
|
|
98
|
+
asChild = false,
|
|
99
|
+
type = "button",
|
|
100
|
+
title,
|
|
101
|
+
"aria-label": ariaLabel,
|
|
102
|
+
...props
|
|
103
|
+
}, ref) => {
|
|
96
104
|
const Comp = asChild ? Slot2.Root : "button";
|
|
97
105
|
return /* @__PURE__ */ jsx2(
|
|
98
106
|
Comp,
|
|
@@ -101,6 +109,8 @@ var BareIconButton = React.forwardRef(
|
|
|
101
109
|
"data-slot": "bare-icon-button",
|
|
102
110
|
"data-size": size,
|
|
103
111
|
type,
|
|
112
|
+
"aria-label": ariaLabel,
|
|
113
|
+
title: title ?? ariaLabel,
|
|
104
114
|
className: cn(bareIconButtonVariants({ size, className })),
|
|
105
115
|
...props
|
|
106
116
|
}
|
|
@@ -4263,4 +4273,4 @@ export {
|
|
|
4263
4273
|
UnderlineTabs,
|
|
4264
4274
|
ViewportMenuSurface
|
|
4265
4275
|
};
|
|
4266
|
-
//# sourceMappingURL=chunk-
|
|
4276
|
+
//# sourceMappingURL=chunk-45TFBBVS.js.map
|