@overmap-ai/blocks 1.0.36-improvements.4 → 1.0.36-improvements.6

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.
@@ -1,5 +1,5 @@
1
1
  export declare const badge: (props?: ({
2
2
  icon?: boolean | null | undefined;
3
3
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
4
- variant?: "solid" | "soft" | "outline" | "surface" | null | undefined;
4
+ variant?: "fill" | "solid" | "soft" | "outline" | "surface" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import { ComponentRadius } from '../Provider';
2
2
  import { AccentColorProps } from '../typings';
3
3
  export type BadgeSize = "xs" | "sm" | "md" | "lg" | "xl";
4
- export type BadgeVariant = "solid" | "soft" | "outline" | "surface";
4
+ export type BadgeVariant = "solid" | "soft" | "outline" | "surface" | "fill";
5
5
  export interface BadgeVariantProps extends AccentColorProps {
6
6
  size?: BadgeSize;
7
7
  variant?: BadgeVariant;
package/dist/blocks.js CHANGED
@@ -575,7 +575,8 @@ const badge = cva(["inline-flex", "items-center", "shrink-0", "whitespace-nowrap
575
575
  solid: ["bg-(--accent-9)", "text-(--accent-contrast)"],
576
576
  soft: ["bg-(--accent-a3)", "text-(--accent-a11)"],
577
577
  outline: ["bg-transparent", "inset-ring", "inset-ring-(--accent-a7)", "text-(--accent-a11)"],
578
- surface: ["bg-(--accent-surface)", "inset-ring", "inset-ring-(--accent-a7)", "text-(--accent-a11)"]
578
+ surface: ["bg-(--accent-surface)", "inset-ring", "inset-ring-(--accent-a7)", "text-(--accent-a11)"],
579
+ fill: ["bg-transparent", "inset-ring", "inset-ring-(--accent-a3)", "text-(--accent-a11)"]
579
580
  }
580
581
  },
581
582
  compoundVariants: [
@@ -663,8 +664,8 @@ Badge.displayName = "Badge";
663
664
  const cardCva = cva([], {
664
665
  variants: {
665
666
  variant: {
666
- soft: ["bg-(--accent-2)"],
667
- surface: ["bg-(--accent-2)", "inset-ring", "inset-ring-(--accent-6)"],
667
+ soft: ["bg-(--accent-a2)"],
668
+ surface: ["bg-(--accent-a2)", "inset-ring", "inset-ring-(--accent-6)"],
668
669
  outline: ["inset-ring-1", "inset-ring-(--accent-6)"]
669
670
  },
670
671
  size: {