burne-ui 1.7.2 → 1.7.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.
@@ -1,12 +1,11 @@
1
1
  import { ElementType } from 'react';
2
2
  import { TextVariant } from './textTypes';
3
3
  /**
4
- * Size + weight only. Line-height is a separate `leading-*` class so callers
5
- * (and panel titles) can override via `cn` / twMerge without `!important`.
4
+ * Kit typography roles (`@utility text-*` / `@theme` `text-base`).
5
+ * Full face (size + line-height + weight) so `cn(..., "text-large")` twMerges the variant.
6
+ * Line-height / weight remain overridable via `leading-*` / `font-*` (`--tw-leading` / `--tw-font-weight`).
6
7
  */
7
- export declare const TEXT_VARIANT_FACE_CLASS: Record<TextVariant, string>;
8
- /** Default role line-height — swapped out when `className` has another `leading-*`. */
9
- export declare const TEXT_VARIANT_LEADING_CLASS: Record<TextVariant, string>;
8
+ export declare const TEXT_VARIANT_CLASS: Record<TextVariant, string>;
10
9
  export declare const TEXT_VARIANT_DEFAULT_AS: Record<TextVariant, ElementType>;
11
10
  export declare const TEXT_FOREGROUND_CLASS = "text-foreground";
12
11
  export declare function textRootClass(variant: TextVariant, inheritColor: boolean | undefined, className?: string): string;