@facter/ds-core 1.9.0 → 1.10.0
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.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +26 -21
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -7693,30 +7693,35 @@ var Wizard = Object.assign(WizardRoot, {
|
|
|
7693
7693
|
Progress: WizardProgress
|
|
7694
7694
|
});
|
|
7695
7695
|
var positionClasses = {
|
|
7696
|
-
"bottom-center": "bottom-6
|
|
7696
|
+
"bottom-center": "bottom-6 inset-x-0 flex justify-center",
|
|
7697
7697
|
"bottom-left": "bottom-6 left-6",
|
|
7698
7698
|
"bottom-right": "bottom-6 right-6"
|
|
7699
7699
|
};
|
|
7700
7700
|
var FloatingBar = React10.forwardRef(
|
|
7701
|
-
({ className, visible = true, position = "bottom-center", children, style, ...props }, ref) => {
|
|
7701
|
+
({ className, visible = true, position = "bottom-center", wrapperClassName, children, style, ...props }, ref) => {
|
|
7702
7702
|
return /* @__PURE__ */ jsx(
|
|
7703
7703
|
"div",
|
|
7704
7704
|
{
|
|
7705
7705
|
ref,
|
|
7706
|
-
className: cn(
|
|
7706
|
+
className: cn(
|
|
7707
|
+
"fixed z-50 pointer-events-none",
|
|
7708
|
+
positionClasses[position],
|
|
7709
|
+
wrapperClassName
|
|
7710
|
+
),
|
|
7707
7711
|
style,
|
|
7708
7712
|
...props,
|
|
7709
7713
|
children: /* @__PURE__ */ jsx(
|
|
7710
7714
|
"div",
|
|
7711
7715
|
{
|
|
7712
7716
|
className: cn(
|
|
7713
|
-
"
|
|
7714
|
-
"
|
|
7715
|
-
"
|
|
7716
|
-
"
|
|
7717
|
-
"
|
|
7718
|
-
"
|
|
7719
|
-
|
|
7717
|
+
"pointer-events-auto",
|
|
7718
|
+
"flex items-center gap-2 px-4 py-2.5 rounded-full",
|
|
7719
|
+
"bg-white/80 dark:bg-gray-900/80 backdrop-blur-xl",
|
|
7720
|
+
"border border-white/60 dark:border-white/10",
|
|
7721
|
+
"shadow-2xl shadow-black/15 dark:shadow-black/40",
|
|
7722
|
+
"ring-1 ring-black/[0.06] dark:ring-white/[0.06]",
|
|
7723
|
+
"transition-all duration-300",
|
|
7724
|
+
visible ? "translate-y-0 opacity-100 scale-100" : "translate-y-6 opacity-0 scale-95 pointer-events-none",
|
|
7720
7725
|
className
|
|
7721
7726
|
),
|
|
7722
7727
|
children
|
|
@@ -7728,18 +7733,18 @@ var FloatingBar = React10.forwardRef(
|
|
|
7728
7733
|
);
|
|
7729
7734
|
FloatingBar.displayName = "FloatingBar";
|
|
7730
7735
|
var actionVariants = cva(
|
|
7731
|
-
"inline-flex items-center gap-2 rounded-full font-medium transition-all duration-150 active:scale-[0.97] disabled:opacity-50 disabled:pointer-events-none",
|
|
7736
|
+
"inline-flex items-center gap-2 rounded-full font-medium transition-all duration-150 active:scale-[0.97] disabled:opacity-50 disabled:pointer-events-none cursor-pointer",
|
|
7732
7737
|
{
|
|
7733
7738
|
variants: {
|
|
7734
7739
|
variant: {
|
|
7735
|
-
default: "bg-primary hover:bg-primary/90 text-primary-foreground",
|
|
7736
|
-
success: "bg-emerald-600 hover:bg-emerald-700 text-white",
|
|
7737
|
-
destructive: "bg-red-600 hover:bg-red-700 text-white",
|
|
7740
|
+
default: "bg-primary hover:bg-primary/90 text-primary-foreground shadow-sm",
|
|
7741
|
+
success: "bg-emerald-600 hover:bg-emerald-700 text-white shadow-sm shadow-emerald-600/20",
|
|
7742
|
+
destructive: "bg-red-600 hover:bg-red-700 text-white shadow-sm shadow-red-600/20",
|
|
7738
7743
|
ghost: "hover:bg-accent text-foreground"
|
|
7739
7744
|
},
|
|
7740
7745
|
size: {
|
|
7741
|
-
default: "h-
|
|
7742
|
-
sm: "h-
|
|
7746
|
+
default: "h-9 px-5 text-sm",
|
|
7747
|
+
sm: "h-8 px-4 text-xs"
|
|
7743
7748
|
}
|
|
7744
7749
|
},
|
|
7745
7750
|
defaultVariants: {
|
|
@@ -7757,7 +7762,7 @@ var FloatingBarAction = React10.forwardRef(
|
|
|
7757
7762
|
className: cn(actionVariants({ variant, size, className })),
|
|
7758
7763
|
...props,
|
|
7759
7764
|
children: [
|
|
7760
|
-
Icon2 && /* @__PURE__ */ jsx(Icon2, { className: "h-
|
|
7765
|
+
Icon2 && /* @__PURE__ */ jsx(Icon2, { className: "h-4 w-4" }),
|
|
7761
7766
|
/* @__PURE__ */ jsx("span", { children })
|
|
7762
7767
|
]
|
|
7763
7768
|
}
|
|
@@ -7766,7 +7771,7 @@ var FloatingBarAction = React10.forwardRef(
|
|
|
7766
7771
|
);
|
|
7767
7772
|
FloatingBarAction.displayName = "FloatingBarAction";
|
|
7768
7773
|
var iconActionVariants = cva(
|
|
7769
|
-
"inline-flex items-center justify-center rounded-full transition-colors duration-150 disabled:opacity-50 disabled:pointer-events-none",
|
|
7774
|
+
"inline-flex items-center justify-center rounded-full transition-colors duration-150 cursor-pointer disabled:opacity-50 disabled:pointer-events-none",
|
|
7770
7775
|
{
|
|
7771
7776
|
variants: {
|
|
7772
7777
|
variant: {
|
|
@@ -7776,8 +7781,8 @@ var iconActionVariants = cva(
|
|
|
7776
7781
|
danger: "text-muted-foreground hover:text-destructive hover:bg-destructive/10"
|
|
7777
7782
|
},
|
|
7778
7783
|
size: {
|
|
7779
|
-
default: "h-
|
|
7780
|
-
sm: "h-
|
|
7784
|
+
default: "h-9 w-9",
|
|
7785
|
+
sm: "h-8 w-8"
|
|
7781
7786
|
}
|
|
7782
7787
|
},
|
|
7783
7788
|
defaultVariants: {
|
|
@@ -7808,7 +7813,7 @@ var FloatingBarDivider = React10.forwardRef(
|
|
|
7808
7813
|
"div",
|
|
7809
7814
|
{
|
|
7810
7815
|
ref,
|
|
7811
|
-
className: cn("w-px h-
|
|
7816
|
+
className: cn("w-px h-6 bg-border/60 mx-0.5", className),
|
|
7812
7817
|
...props
|
|
7813
7818
|
}
|
|
7814
7819
|
);
|