@vectramindnpm/unified-design-system 0.2.2 → 0.2.3

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 CHANGED
@@ -738,6 +738,7 @@ TooltipContent.displayName = "TooltipContent";
738
738
  // src/components/ui/button.tsx
739
739
  var import_jsx_runtime4 = require("react/jsx-runtime");
740
740
  var { color: color3 } = semanticTokens_default;
741
+ var DEFAULT_VARIANT = "ghost";
741
742
  var buttonVariants = (0, import_class_variance_authority2.cva)(
742
743
  "",
743
744
  {
@@ -777,7 +778,7 @@ var buttonVariants = (0, import_class_variance_authority2.cva)(
777
778
  }
778
779
  },
779
780
  defaultVariants: {
780
- variant: "primary",
781
+ variant: DEFAULT_VARIANT,
781
782
  size: "default",
782
783
  shape: "default"
783
784
  }
@@ -836,7 +837,7 @@ var pillDisabled = "opacity-50 cursor-not-allowed";
836
837
  var selectedGradient = "border border-interactive-brand bg-gradient-to-r from-[var(--color-button-selected-gradient-start)] via-[var(--color-button-selected-gradient-mid)] to-interactive-brand text-white font-extrabold";
837
838
  var Button = React4.forwardRef(
838
839
  ({ className, variant, size, shape, asChild = false, children, style, selected, tooltipText, ...props }, ref) => {
839
- const finalVariant = variant ?? "primary";
840
+ const finalVariant = variant ?? DEFAULT_VARIANT;
840
841
  const finalSize = size ?? "default";
841
842
  const isPill = shape === "pill";
842
843
  const isLink = finalVariant === "link";