@gardenfi/garden-book 0.1.100-beta.0 → 0.1.100-beta.2

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
- type SizeVariants = "h1" | "h2" | "h3" | "h4" | "h5";
2
- type WeightVariants = "bold" | "medium";
1
+ type SizeVariants = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
2
+ type WeightVariants = "thin" | "light" | "regular" | "medium" | "semibold" | "bold" | "heavy" | "black";
3
3
  type breakpointVariants = "xs" | "sm" | "md" | "lg" | "xl";
4
4
  type Breakpoints = {
5
5
  [K in breakpointVariants]?: SizeVariants;
@@ -8,14 +8,14 @@ type TypographyProps = React.HTMLAttributes<HTMLDivElement | HTMLSpanElement | H
8
8
  size?: SizeVariants;
9
9
  weight?: WeightVariants;
10
10
  breakpoints?: Breakpoints;
11
- as?: "div" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "h5";
11
+ as?: "div" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
12
12
  };
13
13
  /**
14
14
  * Typography component
15
- * @param size - default size of the text => "h1" | "h2" | "h3" | "h4" | "h5"
16
- * @param weight - weight of the text => "bold" | "medium"
15
+ * @param size - default size of the text => "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
16
+ * @param weight - weight of the text => "thin" | "light" | "regular" | "medium" | "semibold" | "bold" | "heavy" | "black"
17
17
  * @param breakpoints - Breakpoints for the text size => { [key in ["xs","sm","md","lg","xl"]]: SizeVariants }
18
- * @param as -HTML element to render as => "div" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "h5"
18
+ * @param as -HTML element to render as => "div" | "span" | "p" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"
19
19
  * @default size - "h3" weight - "medium" as - "span"
20
20
  */
21
21
  export declare const Typography: React.FC<TypographyProps>;
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file