@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.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 left-1/2 -translate-x-1/2",
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("fixed z-50", positionClasses[position]),
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
- "flex items-center gap-1.5 px-2 py-1.5 rounded-full",
7714
- "bg-white/70 dark:bg-gray-900/70 backdrop-blur-xl",
7715
- "border border-white/50 dark:border-white/10",
7716
- "shadow-xl shadow-black/10 dark:shadow-black/30",
7717
- "ring-1 ring-black/5 dark:ring-white/5",
7718
- "transition-all duration-300 ease-out",
7719
- visible ? "translate-y-0 opacity-100" : "translate-y-4 opacity-0 pointer-events-none",
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-8 px-4 text-sm",
7742
- sm: "h-7 px-3 text-xs"
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-3.5 w-3.5" }),
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-8 w-8",
7780
- sm: "h-7 w-7"
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-5 bg-border mx-0.5", className),
7816
+ className: cn("w-px h-6 bg-border/60 mx-0.5", className),
7812
7817
  ...props
7813
7818
  }
7814
7819
  );