@overmap-ai/blocks 1.0.31-tailwind-components.18 → 1.0.31-tailwind-components.19

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 linkCva: (props?: ({
2
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
2
+ size?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | null | undefined;
3
3
  weight?: "bold" | "medium" | "light" | "regular" | null | undefined;
4
4
  align?: "right" | "left" | "center" | null | undefined;
5
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from "class-variance-authority";
2
2
  import { linkCva } from "./cva";
3
3
  type LinkVariants = VariantProps<typeof linkCva>;
4
- export type LinkSize = NonNullable<LinkVariants["size"]>;
4
+ export type LinkSize = Exclude<NonNullable<LinkVariants["size"]>, "none">;
5
5
  export type LinkWeight = NonNullable<LinkVariants["weight"]>;
6
6
  export type LinkAlign = NonNullable<LinkVariants["align"]>;
7
7
  export interface LinkVariantProps {
package/dist/blocks.js CHANGED
@@ -1693,6 +1693,7 @@ const Layout = {
1693
1693
  const linkCva = cva(["cursor-pointer"], {
1694
1694
  variants: {
1695
1695
  size: {
1696
+ none: ["[font-size:inherit]", "leading-[inherit]"],
1696
1697
  xs: ["text-xs"],
1697
1698
  sm: ["text-sm"],
1698
1699
  md: ["text-base"],
@@ -1720,7 +1721,7 @@ const linkCva = cva(["cursor-pointer"], {
1720
1721
  }
1721
1722
  },
1722
1723
  defaultVariants: {
1723
- size: "xl",
1724
+ size: "none",
1724
1725
  weight: "regular",
1725
1726
  align: "left"
1726
1727
  }
@@ -1729,7 +1730,7 @@ const Link = forwardRef((props, ref) => {
1729
1730
  const providerContext = useProvider();
1730
1731
  const {
1731
1732
  className,
1732
- size: size2 = "md",
1733
+ size: size2,
1733
1734
  weight = "regular",
1734
1735
  align = "left",
1735
1736
  highContrast = false,