enefit-design-system 0.0.8 → 0.0.11
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/breakpoints.css +6 -0
- package/dist/index.d.ts +7 -4
- package/dist/index.js +1578 -1567
- package/dist/styles.css +1 -1
- package/package.json +8 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
import { JSX as JSX_2 } from 'react';
|
|
4
4
|
import { ReactNode } from 'react';
|
|
5
5
|
import { SVGProps } from 'react';
|
|
6
|
+
import { default as tailwind } from '../output/variables/tailwind.json';
|
|
6
7
|
|
|
7
8
|
export declare function Heading({ variant, as, className, children, ...props }: {
|
|
8
9
|
variant: 'display' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'leadtext' | 'subheadline';
|
|
9
10
|
as?: React.ElementType;
|
|
10
11
|
className?: string;
|
|
11
|
-
children
|
|
12
|
+
children?: ReactNode;
|
|
12
13
|
[key: string]: any;
|
|
13
14
|
}): JSX_2.Element;
|
|
14
15
|
|
|
@@ -1574,19 +1575,21 @@ export declare function Label({ size, weight, className, children, ...props }: {
|
|
|
1574
1575
|
size?: 'tiny' | 'small' | 'default' | 'large';
|
|
1575
1576
|
weight?: 400 | 600;
|
|
1576
1577
|
className?: string;
|
|
1577
|
-
children
|
|
1578
|
+
children?: ReactNode;
|
|
1578
1579
|
[key: string]: any;
|
|
1579
1580
|
}): JSX_2.Element;
|
|
1580
1581
|
|
|
1582
|
+
export { tailwind }
|
|
1583
|
+
|
|
1581
1584
|
declare function Text_2({ variant, size, weight, italic, underline, as, className, children, ...props }: {
|
|
1582
1585
|
variant?: 'p' | 'line';
|
|
1583
1586
|
size?: 'tiny' | 'small' | 'default' | 'large';
|
|
1584
|
-
weight?: 400 | 600;
|
|
1587
|
+
weight?: 400 | 600 | '400' | '600';
|
|
1585
1588
|
italic?: boolean;
|
|
1586
1589
|
underline?: boolean;
|
|
1587
1590
|
as?: React.ElementType;
|
|
1588
1591
|
className?: string;
|
|
1589
|
-
children
|
|
1592
|
+
children?: ReactNode;
|
|
1590
1593
|
[key: string]: any;
|
|
1591
1594
|
}): JSX_2.Element;
|
|
1592
1595
|
export { Text_2 as Text }
|