@rehagro/ui 1.0.18 → 1.0.20

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.d.mts CHANGED
@@ -633,7 +633,7 @@ declare const Table: <T>(props: TableProps<T> & {
633
633
  ref?: React__default.ForwardedRef<HTMLTableElement>;
634
634
  }) => React__default.ReactElement;
635
635
 
636
- type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "body" | "bodyLg" | "label" | "caption";
636
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "label" | "labelSm" | "caption" | "captionSm" | "menu" | "overline";
637
637
  type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
638
638
  type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
639
639
  /** Typographic variant */
package/dist/index.d.ts CHANGED
@@ -633,7 +633,7 @@ declare const Table: <T>(props: TableProps<T> & {
633
633
  ref?: React__default.ForwardedRef<HTMLTableElement>;
634
634
  }) => React__default.ReactElement;
635
635
 
636
- type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "body" | "bodyLg" | "label" | "caption";
636
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "body" | "bodyLg" | "label" | "labelSm" | "caption" | "captionSm" | "menu" | "overline";
637
637
  type TypographyColor = "default" | "muted" | "primary" | "danger" | "success" | "warning";
638
638
  type TypographyProps = React__default.HTMLAttributes<HTMLElement> & {
639
639
  /** Typographic variant */
package/dist/index.js CHANGED
@@ -2734,20 +2734,51 @@ var defaultElements = {
2734
2734
  h2: "h2",
2735
2735
  h3: "h3",
2736
2736
  h4: "h4",
2737
+ h5: "h5",
2738
+ h6: "h6",
2737
2739
  bodyLg: "p",
2738
2740
  body: "p",
2739
2741
  label: "span",
2740
- caption: "span"
2742
+ labelSm: "span",
2743
+ caption: "span",
2744
+ captionSm: "span",
2745
+ menu: "span",
2746
+ overline: "span"
2741
2747
  };
2742
2748
  var variantClasses4 = {
2749
+ // Headings - Sora font
2743
2750
  h1: "rh-text-4xl rh-font-bold rh-leading-tight rh-font-display",
2751
+ // 32px
2744
2752
  h2: "rh-text-2xl rh-font-bold rh-leading-snug rh-font-display",
2753
+ // 24px
2745
2754
  h3: "rh-text-xl rh-font-semibold rh-leading-snug rh-font-display",
2755
+ // 20px
2746
2756
  h4: "rh-text-lg rh-font-semibold rh-leading-snug rh-font-display",
2757
+ // 18px
2758
+ h5: "rh-text-base rh-font-bold rh-leading-normal rh-font-display",
2759
+ // 16px Sora Bold
2760
+ h6: "rh-text-sm rh-font-bold rh-leading-normal rh-font-display",
2761
+ // 14px Sora Bold
2762
+ // Body - Inter font
2747
2763
  bodyLg: "rh-text-base rh-font-normal rh-leading-normal rh-font-body",
2764
+ // 16px
2748
2765
  body: "rh-text-sm rh-font-normal rh-leading-normal rh-font-body",
2766
+ // 14px
2767
+ // Labels - Inter font
2749
2768
  label: "rh-text-sm rh-font-medium rh-leading-normal rh-font-body",
2750
- caption: "rh-text-xs rh-font-normal rh-leading-normal rh-font-body"
2769
+ // 14px Medium
2770
+ labelSm: "rh-text-sm rh-font-semibold rh-leading-normal rh-font-body",
2771
+ // 14px SemiBold
2772
+ // Captions - Inter font
2773
+ caption: "rh-text-xs rh-font-normal rh-leading-normal rh-font-body",
2774
+ // 12px
2775
+ captionSm: "rh-text-2xs rh-font-normal rh-leading-tight rh-font-body",
2776
+ // 10px
2777
+ // Special - Sora/Inter font
2778
+ menu: "rh-text-xs rh-font-bold rh-leading-normal rh-font-display",
2779
+ // 12px Sora Bold
2780
+ overline: "rh-text-2xs rh-font-semibold rh-leading-tight rh-font-body rh-tracking-wide"
2781
+ // 10px Inter SemiBold
2751
2782
  };
2752
2783
  var colorClasses2 = {
2753
2784
  default: "rh-text-text",