@grupor5/raya 0.2.1 → 0.2.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.
- package/README.md +47 -4
- package/dist/atoms/avatar/index.d.mts +12 -0
- package/dist/atoms/avatar/index.d.ts +12 -0
- package/dist/atoms/avatar/index.js +99 -0
- package/dist/atoms/avatar/index.mjs +76 -0
- package/dist/atoms/badge/index.d.mts +16 -0
- package/dist/atoms/badge/index.d.ts +16 -0
- package/dist/atoms/badge/index.js +149 -0
- package/dist/atoms/badge/index.mjs +146 -0
- package/dist/atoms/button/index.d.mts +11 -0
- package/dist/atoms/button/index.d.ts +11 -0
- package/dist/atoms/button/index.js +307 -0
- package/dist/atoms/button/index.mjs +301 -0
- package/dist/atoms/checkbox/index.d.mts +6 -0
- package/dist/atoms/checkbox/index.d.ts +6 -0
- package/dist/atoms/checkbox/index.js +98 -0
- package/dist/atoms/checkbox/index.mjs +75 -0
- package/dist/atoms/input/index.d.mts +12 -0
- package/dist/atoms/input/index.d.ts +12 -0
- package/dist/atoms/input/index.js +104 -0
- package/dist/atoms/input/index.mjs +82 -0
- package/dist/atoms/label/index.d.mts +8 -0
- package/dist/atoms/label/index.d.ts +8 -0
- package/dist/atoms/label/index.js +77 -0
- package/dist/atoms/label/index.mjs +54 -0
- package/dist/atoms/radio/index.d.mts +7 -0
- package/dist/atoms/radio/index.d.ts +7 -0
- package/dist/atoms/radio/index.js +97 -0
- package/dist/atoms/radio/index.mjs +73 -0
- package/dist/atoms/switch/index.d.mts +6 -0
- package/dist/atoms/switch/index.d.ts +6 -0
- package/dist/atoms/switch/index.js +97 -0
- package/dist/atoms/switch/index.mjs +74 -0
- package/dist/atoms/tag/index.d.mts +14 -0
- package/dist/atoms/tag/index.d.ts +14 -0
- package/dist/atoms/tag/index.js +128 -0
- package/dist/atoms/tag/index.mjs +122 -0
- package/dist/atoms/textarea/index.d.mts +11 -0
- package/dist/atoms/textarea/index.d.ts +11 -0
- package/dist/atoms/textarea/index.js +125 -0
- package/dist/atoms/textarea/index.mjs +103 -0
- package/dist/atoms/typography/index.d.mts +20 -0
- package/dist/atoms/typography/index.d.ts +20 -0
- package/dist/atoms/typography/index.js +140 -0
- package/dist/atoms/typography/index.mjs +115 -0
- package/dist/hooks/index.d.mts +1 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +17 -0
- package/dist/hooks/index.mjs +15 -0
- package/dist/hooks/use-pagination.d.mts +10 -0
- package/dist/hooks/use-pagination.d.ts +10 -0
- package/dist/hooks/use-pagination.js +54 -0
- package/dist/hooks/use-pagination.mjs +51 -0
- package/dist/hooks/use-toast.d.mts +2 -0
- package/dist/hooks/use-toast.d.ts +2 -0
- package/dist/hooks/use-toast.js +2 -0
- package/dist/hooks/use-toast.mjs +1 -0
- package/dist/hooks/useModal.d.mts +7 -0
- package/dist/hooks/useModal.d.ts +7 -0
- package/dist/hooks/useModal.js +17 -0
- package/dist/hooks/useModal.mjs +15 -0
- package/dist/index.d.mts +50 -1298
- package/dist/index.d.ts +50 -1298
- package/dist/molecules/accordion/index.d.mts +17 -0
- package/dist/molecules/accordion/index.d.ts +17 -0
- package/dist/molecules/accordion/index.js +154 -0
- package/dist/molecules/accordion/index.mjs +128 -0
- package/dist/molecules/alert/index.d.mts +14 -0
- package/dist/molecules/alert/index.d.ts +14 -0
- package/dist/molecules/alert/index.js +425 -0
- package/dist/molecules/alert/index.mjs +402 -0
- package/dist/molecules/card/index.d.mts +10 -0
- package/dist/molecules/card/index.d.ts +10 -0
- package/dist/molecules/card/index.js +128 -0
- package/dist/molecules/card/index.mjs +101 -0
- package/dist/molecules/chart/index.d.mts +80 -0
- package/dist/molecules/chart/index.d.ts +80 -0
- package/dist/molecules/chart/index.js +300 -0
- package/dist/molecules/chart/index.mjs +272 -0
- package/dist/molecules/data-table/index.d.mts +57 -0
- package/dist/molecules/data-table/index.d.ts +57 -0
- package/dist/molecules/data-table/index.js +1456 -0
- package/dist/molecules/data-table/index.mjs +1430 -0
- package/dist/molecules/date-picker/index.d.mts +12 -0
- package/dist/molecules/date-picker/index.d.ts +12 -0
- package/dist/molecules/date-picker/index.js +756 -0
- package/dist/molecules/date-picker/index.mjs +734 -0
- package/dist/molecules/dropdown/index.d.mts +21 -0
- package/dist/molecules/dropdown/index.d.ts +21 -0
- package/dist/molecules/dropdown/index.js +221 -0
- package/dist/molecules/dropdown/index.mjs +198 -0
- package/dist/molecules/form/index.d.mts +19 -0
- package/dist/molecules/form/index.d.ts +19 -0
- package/dist/molecules/form/index.js +139 -0
- package/dist/molecules/form/index.mjs +114 -0
- package/dist/molecules/pagination/index.d.mts +15 -0
- package/dist/molecules/pagination/index.d.ts +15 -0
- package/dist/molecules/pagination/index.js +605 -0
- package/dist/molecules/pagination/index.mjs +583 -0
- package/dist/molecules/progress-bar/index.d.mts +15 -0
- package/dist/molecules/progress-bar/index.d.ts +15 -0
- package/dist/molecules/progress-bar/index.js +166 -0
- package/dist/molecules/progress-bar/index.mjs +144 -0
- package/dist/molecules/select/index.d.mts +15 -0
- package/dist/molecules/select/index.d.ts +15 -0
- package/dist/molecules/select/index.js +201 -0
- package/dist/molecules/select/index.mjs +169 -0
- package/dist/molecules/stepper/index.d.mts +67 -0
- package/dist/molecules/stepper/index.d.ts +67 -0
- package/dist/molecules/stepper/index.js +287 -0
- package/dist/molecules/stepper/index.mjs +260 -0
- package/dist/molecules/tabs/index.d.mts +9 -0
- package/dist/molecules/tabs/index.d.ts +9 -0
- package/dist/molecules/tabs/index.js +112 -0
- package/dist/molecules/tabs/index.mjs +86 -0
- package/dist/tokens/badge.d.mts +39 -0
- package/dist/tokens/badge.d.ts +39 -0
- package/dist/tokens/badge.js +61 -0
- package/dist/tokens/badge.mjs +59 -0
- package/dist/tokens/buttons.d.mts +277 -0
- package/dist/tokens/buttons.d.ts +277 -0
- package/dist/tokens/buttons.js +191 -0
- package/dist/tokens/buttons.mjs +173 -0
- package/dist/tokens/colors.d.mts +65 -0
- package/dist/tokens/colors.d.ts +65 -0
- package/dist/tokens/colors.js +68 -0
- package/dist/tokens/colors.mjs +66 -0
- package/dist/tokens/effects.d.mts +124 -0
- package/dist/tokens/effects.d.ts +124 -0
- package/dist/tokens/effects.js +130 -0
- package/dist/tokens/effects.mjs +115 -0
- package/dist/tokens/grids.d.mts +331 -0
- package/dist/tokens/grids.d.ts +331 -0
- package/dist/tokens/grids.js +305 -0
- package/dist/tokens/grids.mjs +292 -0
- package/dist/tokens/icons.d.mts +134 -0
- package/dist/tokens/icons.d.ts +134 -0
- package/dist/tokens/icons.js +108 -0
- package/dist/tokens/icons.mjs +97 -0
- package/dist/tokens/index.d.mts +6 -0
- package/dist/tokens/index.d.ts +6 -0
- package/dist/tokens/index.js +775 -0
- package/dist/tokens/index.mjs +743 -0
- package/dist/tokens/progress-bar.d.mts +31 -0
- package/dist/tokens/progress-bar.d.ts +31 -0
- package/dist/tokens/progress-bar.js +70 -0
- package/dist/tokens/progress-bar.mjs +68 -0
- package/dist/tokens/spacing.d.mts +90 -0
- package/dist/tokens/spacing.d.ts +90 -0
- package/dist/tokens/spacing.js +120 -0
- package/dist/tokens/spacing.mjs +109 -0
- package/dist/tokens/stroke.d.mts +292 -0
- package/dist/tokens/stroke.d.ts +292 -0
- package/dist/tokens/stroke.js +202 -0
- package/dist/tokens/stroke.mjs +186 -0
- package/dist/tokens/tab.d.mts +31 -0
- package/dist/tokens/tab.d.ts +31 -0
- package/dist/tokens/tab.js +48 -0
- package/dist/tokens/tab.mjs +46 -0
- package/dist/tokens/tag.d.mts +53 -0
- package/dist/tokens/tag.d.ts +53 -0
- package/dist/tokens/tag.js +80 -0
- package/dist/tokens/tag.mjs +78 -0
- package/dist/tokens/typography.d.mts +394 -0
- package/dist/tokens/typography.d.ts +394 -0
- package/dist/tokens/typography.js +302 -0
- package/dist/tokens/typography.mjs +292 -0
- package/dist/utils/classNames.d.mts +3 -0
- package/dist/utils/classNames.d.ts +3 -0
- package/dist/utils/classNames.js +8 -0
- package/dist/utils/classNames.mjs +6 -0
- package/dist/utils/cn.d.mts +5 -0
- package/dist/utils/cn.d.ts +5 -0
- package/dist/utils/cn.js +11 -0
- package/dist/utils/cn.mjs +9 -0
- package/dist/utils/index.d.mts +3 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +15 -0
- package/dist/utils/index.mjs +12 -0
- package/package.json +34 -1
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
// src/tokens/colors.ts
|
|
4
|
+
var colors = {
|
|
5
|
+
primary: {
|
|
6
|
+
200: "#eeedf1",
|
|
7
|
+
300: "#dbd9e1",
|
|
8
|
+
700: "#706984",
|
|
9
|
+
900: "#423e4e",
|
|
10
|
+
1200: "#222028"
|
|
11
|
+
},
|
|
12
|
+
red: {
|
|
13
|
+
600: "#dc2626",
|
|
14
|
+
100: "#f3b7b7"
|
|
15
|
+
},
|
|
16
|
+
yellow: {
|
|
17
|
+
300: "#f59e0b",
|
|
18
|
+
100: "#fcdfae"},
|
|
19
|
+
green: {
|
|
20
|
+
600: "#096849",
|
|
21
|
+
100: "#D0FAE5"}
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
// src/tokens/tag.ts
|
|
25
|
+
var tagTokens = {
|
|
26
|
+
colors: {
|
|
27
|
+
default: {
|
|
28
|
+
background: colors.primary[200],
|
|
29
|
+
text: colors.primary[900],
|
|
30
|
+
bullet: colors.primary[1200],
|
|
31
|
+
closeIconBorder: colors.primary[300],
|
|
32
|
+
hover: {
|
|
33
|
+
background: colors.primary[300],
|
|
34
|
+
closeIconBorder: colors.primary[700]
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
success: {
|
|
38
|
+
background: colors.green[100],
|
|
39
|
+
text: colors.green[600],
|
|
40
|
+
bullet: colors.green[600],
|
|
41
|
+
closeIconBorder: colors.green[600],
|
|
42
|
+
hover: {
|
|
43
|
+
background: "#a7f3d0",
|
|
44
|
+
// Valor cercano a un "green-200"
|
|
45
|
+
closeIconBorder: colors.green[600]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
warning: {
|
|
49
|
+
background: colors.yellow[100],
|
|
50
|
+
text: colors.yellow[300],
|
|
51
|
+
bullet: colors.yellow[300],
|
|
52
|
+
closeIconBorder: colors.yellow[300],
|
|
53
|
+
hover: {
|
|
54
|
+
background: "#fde68a",
|
|
55
|
+
// Valor cercano a un "yellow-200"
|
|
56
|
+
closeIconBorder: colors.yellow[300]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
danger: {
|
|
60
|
+
background: colors.red[100],
|
|
61
|
+
text: colors.red[600],
|
|
62
|
+
bullet: colors.red[600],
|
|
63
|
+
closeIconBorder: colors.red[600],
|
|
64
|
+
hover: {
|
|
65
|
+
background: "#fecaca",
|
|
66
|
+
// Valor cercano a un "red-200"
|
|
67
|
+
closeIconBorder: colors.red[600]
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
fontSize: "12px",
|
|
72
|
+
padding: {
|
|
73
|
+
x: "8px",
|
|
74
|
+
y: "0px"
|
|
75
|
+
},
|
|
76
|
+
borderRadius: "6px",
|
|
77
|
+
iconSize: "12px"
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
exports.tagTokens = tagTokens;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
// src/tokens/colors.ts
|
|
2
|
+
var colors = {
|
|
3
|
+
primary: {
|
|
4
|
+
200: "#eeedf1",
|
|
5
|
+
300: "#dbd9e1",
|
|
6
|
+
700: "#706984",
|
|
7
|
+
900: "#423e4e",
|
|
8
|
+
1200: "#222028"
|
|
9
|
+
},
|
|
10
|
+
red: {
|
|
11
|
+
600: "#dc2626",
|
|
12
|
+
100: "#f3b7b7"
|
|
13
|
+
},
|
|
14
|
+
yellow: {
|
|
15
|
+
300: "#f59e0b",
|
|
16
|
+
100: "#fcdfae"},
|
|
17
|
+
green: {
|
|
18
|
+
600: "#096849",
|
|
19
|
+
100: "#D0FAE5"}
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
// src/tokens/tag.ts
|
|
23
|
+
var tagTokens = {
|
|
24
|
+
colors: {
|
|
25
|
+
default: {
|
|
26
|
+
background: colors.primary[200],
|
|
27
|
+
text: colors.primary[900],
|
|
28
|
+
bullet: colors.primary[1200],
|
|
29
|
+
closeIconBorder: colors.primary[300],
|
|
30
|
+
hover: {
|
|
31
|
+
background: colors.primary[300],
|
|
32
|
+
closeIconBorder: colors.primary[700]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
success: {
|
|
36
|
+
background: colors.green[100],
|
|
37
|
+
text: colors.green[600],
|
|
38
|
+
bullet: colors.green[600],
|
|
39
|
+
closeIconBorder: colors.green[600],
|
|
40
|
+
hover: {
|
|
41
|
+
background: "#a7f3d0",
|
|
42
|
+
// Valor cercano a un "green-200"
|
|
43
|
+
closeIconBorder: colors.green[600]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
warning: {
|
|
47
|
+
background: colors.yellow[100],
|
|
48
|
+
text: colors.yellow[300],
|
|
49
|
+
bullet: colors.yellow[300],
|
|
50
|
+
closeIconBorder: colors.yellow[300],
|
|
51
|
+
hover: {
|
|
52
|
+
background: "#fde68a",
|
|
53
|
+
// Valor cercano a un "yellow-200"
|
|
54
|
+
closeIconBorder: colors.yellow[300]
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
danger: {
|
|
58
|
+
background: colors.red[100],
|
|
59
|
+
text: colors.red[600],
|
|
60
|
+
bullet: colors.red[600],
|
|
61
|
+
closeIconBorder: colors.red[600],
|
|
62
|
+
hover: {
|
|
63
|
+
background: "#fecaca",
|
|
64
|
+
// Valor cercano a un "red-200"
|
|
65
|
+
closeIconBorder: colors.red[600]
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
fontSize: "12px",
|
|
70
|
+
padding: {
|
|
71
|
+
x: "8px",
|
|
72
|
+
y: "0px"
|
|
73
|
+
},
|
|
74
|
+
borderRadius: "6px",
|
|
75
|
+
iconSize: "12px"
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export { tagTokens };
|
|
@@ -0,0 +1,394 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Raya Design System - Typography Tokens
|
|
3
|
+
* Font Family: Rubik
|
|
4
|
+
* Based on the official Raya typography system palette from Figma
|
|
5
|
+
*/
|
|
6
|
+
declare const typography: {
|
|
7
|
+
fontFamily: {
|
|
8
|
+
primary: string[];
|
|
9
|
+
};
|
|
10
|
+
fontWeight: {
|
|
11
|
+
light: number;
|
|
12
|
+
regular: number;
|
|
13
|
+
medium: number;
|
|
14
|
+
semibold: number;
|
|
15
|
+
bold: number;
|
|
16
|
+
};
|
|
17
|
+
fontSize: {
|
|
18
|
+
display: {
|
|
19
|
+
l: string;
|
|
20
|
+
};
|
|
21
|
+
heading: {
|
|
22
|
+
xl: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
md: string;
|
|
25
|
+
sm: string;
|
|
26
|
+
};
|
|
27
|
+
subheading: {
|
|
28
|
+
lg: string;
|
|
29
|
+
md: string;
|
|
30
|
+
sm: string;
|
|
31
|
+
};
|
|
32
|
+
body: {
|
|
33
|
+
'bold-lg': string;
|
|
34
|
+
'bold-md': string;
|
|
35
|
+
'bold-sm': string;
|
|
36
|
+
'bold-xs': string;
|
|
37
|
+
lg: string;
|
|
38
|
+
md: string;
|
|
39
|
+
sm: string;
|
|
40
|
+
xs: string;
|
|
41
|
+
};
|
|
42
|
+
caption: {
|
|
43
|
+
c1: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
lineHeight: {
|
|
47
|
+
display: {
|
|
48
|
+
l: string;
|
|
49
|
+
};
|
|
50
|
+
heading: {
|
|
51
|
+
xl: string;
|
|
52
|
+
lg: string;
|
|
53
|
+
md: string;
|
|
54
|
+
sm: string;
|
|
55
|
+
};
|
|
56
|
+
subheading: {
|
|
57
|
+
lg: string;
|
|
58
|
+
md: string;
|
|
59
|
+
sm: string;
|
|
60
|
+
};
|
|
61
|
+
body: {
|
|
62
|
+
lg: string;
|
|
63
|
+
md: string;
|
|
64
|
+
sm: string;
|
|
65
|
+
xs: string;
|
|
66
|
+
};
|
|
67
|
+
caption: {
|
|
68
|
+
c1: string;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
letterSpacing: {
|
|
72
|
+
normal: string;
|
|
73
|
+
caption: string;
|
|
74
|
+
};
|
|
75
|
+
presets: {
|
|
76
|
+
'display-l': {
|
|
77
|
+
fontSize: string;
|
|
78
|
+
lineHeight: string;
|
|
79
|
+
fontWeight: number;
|
|
80
|
+
letterSpacing: string;
|
|
81
|
+
};
|
|
82
|
+
'heading-xl': {
|
|
83
|
+
fontSize: string;
|
|
84
|
+
lineHeight: string;
|
|
85
|
+
fontWeight: number;
|
|
86
|
+
letterSpacing: string;
|
|
87
|
+
};
|
|
88
|
+
'heading-lg': {
|
|
89
|
+
fontSize: string;
|
|
90
|
+
lineHeight: string;
|
|
91
|
+
fontWeight: number;
|
|
92
|
+
letterSpacing: string;
|
|
93
|
+
};
|
|
94
|
+
'heading-md': {
|
|
95
|
+
fontSize: string;
|
|
96
|
+
lineHeight: string;
|
|
97
|
+
fontWeight: number;
|
|
98
|
+
letterSpacing: string;
|
|
99
|
+
};
|
|
100
|
+
'heading-sm': {
|
|
101
|
+
fontSize: string;
|
|
102
|
+
lineHeight: string;
|
|
103
|
+
fontWeight: number;
|
|
104
|
+
letterSpacing: string;
|
|
105
|
+
};
|
|
106
|
+
'subheading-lg': {
|
|
107
|
+
fontSize: string;
|
|
108
|
+
lineHeight: string;
|
|
109
|
+
fontWeight: number;
|
|
110
|
+
letterSpacing: string;
|
|
111
|
+
};
|
|
112
|
+
'subheading-md': {
|
|
113
|
+
fontSize: string;
|
|
114
|
+
lineHeight: string;
|
|
115
|
+
fontWeight: number;
|
|
116
|
+
letterSpacing: string;
|
|
117
|
+
};
|
|
118
|
+
'subheading-sm': {
|
|
119
|
+
fontSize: string;
|
|
120
|
+
lineHeight: string;
|
|
121
|
+
fontWeight: number;
|
|
122
|
+
letterSpacing: string;
|
|
123
|
+
};
|
|
124
|
+
'body-bold-lg': {
|
|
125
|
+
fontSize: string;
|
|
126
|
+
lineHeight: string;
|
|
127
|
+
fontWeight: number;
|
|
128
|
+
letterSpacing: string;
|
|
129
|
+
};
|
|
130
|
+
'body-bold-md': {
|
|
131
|
+
fontSize: string;
|
|
132
|
+
lineHeight: string;
|
|
133
|
+
fontWeight: number;
|
|
134
|
+
letterSpacing: string;
|
|
135
|
+
};
|
|
136
|
+
'body-bold-sm': {
|
|
137
|
+
fontSize: string;
|
|
138
|
+
lineHeight: string;
|
|
139
|
+
fontWeight: number;
|
|
140
|
+
letterSpacing: string;
|
|
141
|
+
};
|
|
142
|
+
'body-bold-xs': {
|
|
143
|
+
fontSize: string;
|
|
144
|
+
lineHeight: string;
|
|
145
|
+
fontWeight: number;
|
|
146
|
+
letterSpacing: string;
|
|
147
|
+
};
|
|
148
|
+
'body-lg': {
|
|
149
|
+
fontSize: string;
|
|
150
|
+
lineHeight: string;
|
|
151
|
+
fontWeight: number;
|
|
152
|
+
letterSpacing: string;
|
|
153
|
+
};
|
|
154
|
+
'body-md': {
|
|
155
|
+
fontSize: string;
|
|
156
|
+
lineHeight: string;
|
|
157
|
+
fontWeight: number;
|
|
158
|
+
letterSpacing: string;
|
|
159
|
+
};
|
|
160
|
+
'body-sm': {
|
|
161
|
+
fontSize: string;
|
|
162
|
+
lineHeight: string;
|
|
163
|
+
fontWeight: number;
|
|
164
|
+
letterSpacing: string;
|
|
165
|
+
};
|
|
166
|
+
'body-xs': {
|
|
167
|
+
fontSize: string;
|
|
168
|
+
lineHeight: string;
|
|
169
|
+
fontWeight: number;
|
|
170
|
+
letterSpacing: string;
|
|
171
|
+
};
|
|
172
|
+
'caption-c1': {
|
|
173
|
+
fontSize: string;
|
|
174
|
+
lineHeight: string;
|
|
175
|
+
fontWeight: number;
|
|
176
|
+
letterSpacing: string;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
};
|
|
180
|
+
declare const typographyVars: {
|
|
181
|
+
'--font-primary': string;
|
|
182
|
+
'--font-weight-light': number;
|
|
183
|
+
'--font-weight-regular': number;
|
|
184
|
+
'--font-weight-medium': number;
|
|
185
|
+
'--font-weight-semibold': number;
|
|
186
|
+
'--font-weight-bold': number;
|
|
187
|
+
'--text-display-l': string;
|
|
188
|
+
'--text-heading-xl': string;
|
|
189
|
+
'--text-heading-lg': string;
|
|
190
|
+
'--text-heading-md': string;
|
|
191
|
+
'--text-heading-sm': string;
|
|
192
|
+
'--text-subheading-lg': string;
|
|
193
|
+
'--text-subheading-md': string;
|
|
194
|
+
'--text-subheading-sm': string;
|
|
195
|
+
'--text-body-bold-lg': string;
|
|
196
|
+
'--text-body-bold-md': string;
|
|
197
|
+
'--text-body-bold-sm': string;
|
|
198
|
+
'--text-body-bold-xs': string;
|
|
199
|
+
'--text-body-lg': string;
|
|
200
|
+
'--text-body-md': string;
|
|
201
|
+
'--text-body-sm': string;
|
|
202
|
+
'--text-body-xs': string;
|
|
203
|
+
'--text-caption-c1': string;
|
|
204
|
+
'--leading-display-l': string;
|
|
205
|
+
'--leading-heading-xl': string;
|
|
206
|
+
'--leading-heading-lg': string;
|
|
207
|
+
'--leading-heading-md': string;
|
|
208
|
+
'--leading-heading-sm': string;
|
|
209
|
+
'--leading-subheading-lg': string;
|
|
210
|
+
'--leading-subheading-md': string;
|
|
211
|
+
'--leading-subheading-sm': string;
|
|
212
|
+
'--leading-body-lg': string;
|
|
213
|
+
'--leading-body-md': string;
|
|
214
|
+
'--leading-body-sm': string;
|
|
215
|
+
'--leading-body-xs': string;
|
|
216
|
+
'--leading-caption-c1': string;
|
|
217
|
+
'--tracking-normal': string;
|
|
218
|
+
'--tracking-caption': string;
|
|
219
|
+
};
|
|
220
|
+
declare const generateTypographyCSS: () => string;
|
|
221
|
+
declare const fontFamily: {
|
|
222
|
+
primary: string[];
|
|
223
|
+
};
|
|
224
|
+
declare const fontWeight: {
|
|
225
|
+
light: number;
|
|
226
|
+
regular: number;
|
|
227
|
+
medium: number;
|
|
228
|
+
semibold: number;
|
|
229
|
+
bold: number;
|
|
230
|
+
};
|
|
231
|
+
declare const fontSize: {
|
|
232
|
+
display: {
|
|
233
|
+
l: string;
|
|
234
|
+
};
|
|
235
|
+
heading: {
|
|
236
|
+
xl: string;
|
|
237
|
+
lg: string;
|
|
238
|
+
md: string;
|
|
239
|
+
sm: string;
|
|
240
|
+
};
|
|
241
|
+
subheading: {
|
|
242
|
+
lg: string;
|
|
243
|
+
md: string;
|
|
244
|
+
sm: string;
|
|
245
|
+
};
|
|
246
|
+
body: {
|
|
247
|
+
'bold-lg': string;
|
|
248
|
+
'bold-md': string;
|
|
249
|
+
'bold-sm': string;
|
|
250
|
+
'bold-xs': string;
|
|
251
|
+
lg: string;
|
|
252
|
+
md: string;
|
|
253
|
+
sm: string;
|
|
254
|
+
xs: string;
|
|
255
|
+
};
|
|
256
|
+
caption: {
|
|
257
|
+
c1: string;
|
|
258
|
+
};
|
|
259
|
+
};
|
|
260
|
+
declare const lineHeight: {
|
|
261
|
+
display: {
|
|
262
|
+
l: string;
|
|
263
|
+
};
|
|
264
|
+
heading: {
|
|
265
|
+
xl: string;
|
|
266
|
+
lg: string;
|
|
267
|
+
md: string;
|
|
268
|
+
sm: string;
|
|
269
|
+
};
|
|
270
|
+
subheading: {
|
|
271
|
+
lg: string;
|
|
272
|
+
md: string;
|
|
273
|
+
sm: string;
|
|
274
|
+
};
|
|
275
|
+
body: {
|
|
276
|
+
lg: string;
|
|
277
|
+
md: string;
|
|
278
|
+
sm: string;
|
|
279
|
+
xs: string;
|
|
280
|
+
};
|
|
281
|
+
caption: {
|
|
282
|
+
c1: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
declare const letterSpacing: {
|
|
286
|
+
normal: string;
|
|
287
|
+
caption: string;
|
|
288
|
+
};
|
|
289
|
+
declare const presets: {
|
|
290
|
+
'display-l': {
|
|
291
|
+
fontSize: string;
|
|
292
|
+
lineHeight: string;
|
|
293
|
+
fontWeight: number;
|
|
294
|
+
letterSpacing: string;
|
|
295
|
+
};
|
|
296
|
+
'heading-xl': {
|
|
297
|
+
fontSize: string;
|
|
298
|
+
lineHeight: string;
|
|
299
|
+
fontWeight: number;
|
|
300
|
+
letterSpacing: string;
|
|
301
|
+
};
|
|
302
|
+
'heading-lg': {
|
|
303
|
+
fontSize: string;
|
|
304
|
+
lineHeight: string;
|
|
305
|
+
fontWeight: number;
|
|
306
|
+
letterSpacing: string;
|
|
307
|
+
};
|
|
308
|
+
'heading-md': {
|
|
309
|
+
fontSize: string;
|
|
310
|
+
lineHeight: string;
|
|
311
|
+
fontWeight: number;
|
|
312
|
+
letterSpacing: string;
|
|
313
|
+
};
|
|
314
|
+
'heading-sm': {
|
|
315
|
+
fontSize: string;
|
|
316
|
+
lineHeight: string;
|
|
317
|
+
fontWeight: number;
|
|
318
|
+
letterSpacing: string;
|
|
319
|
+
};
|
|
320
|
+
'subheading-lg': {
|
|
321
|
+
fontSize: string;
|
|
322
|
+
lineHeight: string;
|
|
323
|
+
fontWeight: number;
|
|
324
|
+
letterSpacing: string;
|
|
325
|
+
};
|
|
326
|
+
'subheading-md': {
|
|
327
|
+
fontSize: string;
|
|
328
|
+
lineHeight: string;
|
|
329
|
+
fontWeight: number;
|
|
330
|
+
letterSpacing: string;
|
|
331
|
+
};
|
|
332
|
+
'subheading-sm': {
|
|
333
|
+
fontSize: string;
|
|
334
|
+
lineHeight: string;
|
|
335
|
+
fontWeight: number;
|
|
336
|
+
letterSpacing: string;
|
|
337
|
+
};
|
|
338
|
+
'body-bold-lg': {
|
|
339
|
+
fontSize: string;
|
|
340
|
+
lineHeight: string;
|
|
341
|
+
fontWeight: number;
|
|
342
|
+
letterSpacing: string;
|
|
343
|
+
};
|
|
344
|
+
'body-bold-md': {
|
|
345
|
+
fontSize: string;
|
|
346
|
+
lineHeight: string;
|
|
347
|
+
fontWeight: number;
|
|
348
|
+
letterSpacing: string;
|
|
349
|
+
};
|
|
350
|
+
'body-bold-sm': {
|
|
351
|
+
fontSize: string;
|
|
352
|
+
lineHeight: string;
|
|
353
|
+
fontWeight: number;
|
|
354
|
+
letterSpacing: string;
|
|
355
|
+
};
|
|
356
|
+
'body-bold-xs': {
|
|
357
|
+
fontSize: string;
|
|
358
|
+
lineHeight: string;
|
|
359
|
+
fontWeight: number;
|
|
360
|
+
letterSpacing: string;
|
|
361
|
+
};
|
|
362
|
+
'body-lg': {
|
|
363
|
+
fontSize: string;
|
|
364
|
+
lineHeight: string;
|
|
365
|
+
fontWeight: number;
|
|
366
|
+
letterSpacing: string;
|
|
367
|
+
};
|
|
368
|
+
'body-md': {
|
|
369
|
+
fontSize: string;
|
|
370
|
+
lineHeight: string;
|
|
371
|
+
fontWeight: number;
|
|
372
|
+
letterSpacing: string;
|
|
373
|
+
};
|
|
374
|
+
'body-sm': {
|
|
375
|
+
fontSize: string;
|
|
376
|
+
lineHeight: string;
|
|
377
|
+
fontWeight: number;
|
|
378
|
+
letterSpacing: string;
|
|
379
|
+
};
|
|
380
|
+
'body-xs': {
|
|
381
|
+
fontSize: string;
|
|
382
|
+
lineHeight: string;
|
|
383
|
+
fontWeight: number;
|
|
384
|
+
letterSpacing: string;
|
|
385
|
+
};
|
|
386
|
+
'caption-c1': {
|
|
387
|
+
fontSize: string;
|
|
388
|
+
lineHeight: string;
|
|
389
|
+
fontWeight: number;
|
|
390
|
+
letterSpacing: string;
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
|
|
394
|
+
export { fontFamily, fontSize, fontWeight, generateTypographyCSS, letterSpacing, lineHeight, presets, typography, typographyVars };
|