enefit-design-system 0.0.6 → 0.0.10

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.ts CHANGED
@@ -4,9 +4,11 @@ import { JSX as JSX_2 } from 'react';
4
4
  import { ReactNode } from 'react';
5
5
  import { SVGProps } from 'react';
6
6
 
7
- export declare function Heading({ variant, children, ...props }: {
8
- variant: 'display' | 'h1' | 'h2';
9
- children: ReactNode;
7
+ export declare function Heading({ variant, as, className, children, ...props }: {
8
+ variant: 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'leadtext' | 'subheadline';
9
+ as?: React.ElementType;
10
+ className?: string;
11
+ children?: ReactNode;
10
12
  [key: string]: any;
11
13
  }): JSX_2.Element;
12
14
 
@@ -1568,20 +1570,23 @@ export declare const IconXMd: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
1568
1570
 
1569
1571
  export declare const IconXXl: (props: SVGProps<SVGSVGElement>) => JSX_2.Element;
1570
1572
 
1571
- export declare function Label({ size, weight, children, ...props }: {
1573
+ export declare function Label({ size, weight, className, children, ...props }: {
1572
1574
  size?: 'tiny' | 'small' | 'default' | 'large';
1573
1575
  weight?: 400 | 600;
1574
- children: ReactNode;
1576
+ className?: string;
1577
+ children?: ReactNode;
1575
1578
  [key: string]: any;
1576
1579
  }): JSX_2.Element;
1577
1580
 
1578
- declare function Text_2({ variant, size, weight, italic, underline, children, ...props }: {
1581
+ declare function Text_2({ variant, size, weight, italic, underline, as, className, children, ...props }: {
1579
1582
  variant?: 'p' | 'line';
1580
1583
  size?: 'tiny' | 'small' | 'default' | 'large';
1581
- weight?: 400 | 600;
1584
+ weight?: 400 | 600 | '400' | '600';
1582
1585
  italic?: boolean;
1583
1586
  underline?: boolean;
1584
- children: ReactNode;
1587
+ as?: React.ElementType;
1588
+ className?: string;
1589
+ children?: ReactNode;
1585
1590
  [key: string]: any;
1586
1591
  }): JSX_2.Element;
1587
1592
  export { Text_2 as Text }