@bubo-squared/ui-framework 0.2.16 → 0.2.18
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 +9 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +9 -3
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -108,6 +108,9 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
|
|
|
108
108
|
"btn-secondary",
|
|
109
109
|
"focus-ring-secondary"
|
|
110
110
|
],
|
|
111
|
+
ghost: [
|
|
112
|
+
"btn-ghost"
|
|
113
|
+
],
|
|
111
114
|
outline: [
|
|
112
115
|
"btn-outline",
|
|
113
116
|
"focus-ring-outline"
|
|
@@ -220,7 +223,7 @@ var import_react_slot2 = require("@radix-ui/react-slot");
|
|
|
220
223
|
var import_class_variance_authority3 = require("class-variance-authority");
|
|
221
224
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
222
225
|
var iconButtonVariants = (0, import_class_variance_authority3.cva)(
|
|
223
|
-
"inline-flex items-center justify-center whitespace-nowrap transition-colors disabled:pointer-events-none overflow-hidden p-
|
|
226
|
+
"inline-flex items-center justify-center whitespace-nowrap transition-colors disabled:pointer-events-none overflow-hidden p-2 cursor-pointer",
|
|
224
227
|
{
|
|
225
228
|
variants: {
|
|
226
229
|
variant: {
|
|
@@ -232,6 +235,9 @@ var iconButtonVariants = (0, import_class_variance_authority3.cva)(
|
|
|
232
235
|
"btn-secondary",
|
|
233
236
|
"focus-ring-secondary"
|
|
234
237
|
],
|
|
238
|
+
ghost: [
|
|
239
|
+
"btn-ghost"
|
|
240
|
+
],
|
|
235
241
|
outline: [
|
|
236
242
|
"btn-outline",
|
|
237
243
|
"focus-ring-outline"
|
|
@@ -3527,7 +3533,7 @@ var Slider = (props) => {
|
|
|
3527
3533
|
style: {
|
|
3528
3534
|
left: `${percent}%`,
|
|
3529
3535
|
top: `calc(50% - ${trackHeight / 2}px)`,
|
|
3530
|
-
"--slider-halo-color": "color-mix(in srgb, var(--color-brand)
|
|
3536
|
+
"--slider-halo-color": "color-mix(in srgb, var(--color-brand) 15%, transparent)"
|
|
3531
3537
|
},
|
|
3532
3538
|
onPointerEnter: () => {
|
|
3533
3539
|
setHoveredThumbIndex(index);
|
|
@@ -3560,7 +3566,7 @@ var Slider = (props) => {
|
|
|
3560
3566
|
offset: 8,
|
|
3561
3567
|
open: isTooltipVisible,
|
|
3562
3568
|
disableHoverableContent: true,
|
|
3563
|
-
className: "z-50",
|
|
3569
|
+
className: "z-50 pointer-events-none py-2",
|
|
3564
3570
|
children: handle
|
|
3565
3571
|
}
|
|
3566
3572
|
);
|