oneslash-design-system 1.1.10 → 1.1.12
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/components/button.tsx +3 -23
- package/components/iconButton.tsx +2 -2
- package/components/menuItem.tsx +0 -1
- package/components/modal.tsx +14 -17
- package/components/popover.tsx +1 -5
- package/components/tab.tsx +2 -2
- package/components/tag.tsx +0 -2
- package/dist/components/alert.d.ts +9 -0
- package/dist/components/alert.jsx +38 -0
- package/dist/components/button.d.ts +13 -0
- package/dist/components/button.jsx +141 -0
- package/dist/components/checkBox.d.ts +7 -0
- package/dist/components/checkBox.jsx +29 -0
- package/dist/components/emptyBox.d.ts +7 -0
- package/dist/components/emptyBox.jsx +17 -0
- package/dist/components/iconButton.d.ts +11 -0
- package/dist/components/iconButton.jsx +126 -0
- package/dist/components/loadingScreen.d.ts +3 -0
- package/dist/components/loadingScreen.jsx +14 -0
- package/dist/components/menuItem.d.ts +12 -0
- package/dist/components/menuItem.jsx +100 -0
- package/dist/components/modal.d.ts +11 -0
- package/dist/components/modal.jsx +47 -0
- package/dist/components/popover.d.ts +10 -0
- package/dist/components/popover.jsx +52 -0
- package/dist/components/radioGroup.d.ts +13 -0
- package/dist/components/radioGroup.jsx +17 -0
- package/dist/components/tab.d.ts +12 -0
- package/dist/components/tab.jsx +113 -0
- package/dist/components/tag.d.ts +14 -0
- package/dist/components/tag.jsx +123 -0
- package/dist/components/textField.d.ts +20 -0
- package/dist/components/textField.jsx +55 -0
- package/dist/components/timeStamp.d.ts +7 -0
- package/dist/components/timeStamp.jsx +58 -0
- package/dist/components/tooltip.d.ts +7 -0
- package/dist/components/tooltip.jsx +41 -0
- package/dist/components/userImage.d.ts +7 -0
- package/dist/components/userImage.jsx +13 -0
- package/dist/designTokens.d.ts +354 -0
- package/dist/designTokens.js +232 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +17 -0
- package/dist/output.css +1185 -0
- package/dist/tailwind.config.d.ts +3 -0
- package/dist/tailwind.config.js +202 -0
- package/package.json +1 -1
- package/{tailwind.config.js → tailwind.config.ts} +7 -99
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default function TimeStamp(_a) {
|
|
4
|
+
var createdAt = _a.createdAt, dateFormat = _a.dateFormat;
|
|
5
|
+
// absolute timestamp
|
|
6
|
+
var absoluteTimeStamp = function (createdAt) {
|
|
7
|
+
var date = new Date(createdAt);
|
|
8
|
+
var month = (date.getMonth() + 1).toString().padStart(2, '0');
|
|
9
|
+
var day = date.getDate().toString().padStart(2, '0');
|
|
10
|
+
var year = date.getFullYear();
|
|
11
|
+
var hours = date.getHours();
|
|
12
|
+
var minutes = date.getMinutes();
|
|
13
|
+
var formattedHours = hours.toString().padStart(2, '0');
|
|
14
|
+
var formattedMinutes = minutes.toString().padStart(2, '0');
|
|
15
|
+
var daysOfWeek = ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'];
|
|
16
|
+
var dayOfWeek = daysOfWeek[date.getDay()];
|
|
17
|
+
return "".concat(month, "/").concat(day, "/").concat(year, " ").concat(dayOfWeek, " ").concat(formattedHours, ":").concat(formattedMinutes);
|
|
18
|
+
};
|
|
19
|
+
// relative timestamp
|
|
20
|
+
var relativeTimeStamp = function (createdAt) {
|
|
21
|
+
var date = new Date(createdAt);
|
|
22
|
+
var now = new Date();
|
|
23
|
+
var diff = now.getTime() - date.getTime();
|
|
24
|
+
var seconds = Math.floor(diff / 1000);
|
|
25
|
+
var minutes = Math.floor(seconds / 60);
|
|
26
|
+
var hours = Math.floor(minutes / 60);
|
|
27
|
+
var days = Math.floor(hours / 24);
|
|
28
|
+
var weeks = Math.floor(days / 7);
|
|
29
|
+
var months = Math.floor(days / 30);
|
|
30
|
+
var years = Math.floor(days / 365);
|
|
31
|
+
if (years > 0) {
|
|
32
|
+
return "".concat(years, " year").concat(years > 1 ? 's' : '', " ago");
|
|
33
|
+
}
|
|
34
|
+
else if (months > 0) {
|
|
35
|
+
return "".concat(months, " month").concat(months > 1 ? 's' : '', " ago");
|
|
36
|
+
}
|
|
37
|
+
else if (weeks > 0) {
|
|
38
|
+
return "".concat(weeks, " week").concat(weeks > 1 ? 's' : '', " ago");
|
|
39
|
+
}
|
|
40
|
+
else if (days > 0) {
|
|
41
|
+
return "".concat(days, " day").concat(days > 1 ? 's' : '', " ago");
|
|
42
|
+
}
|
|
43
|
+
else if (hours > 0) {
|
|
44
|
+
return "".concat(hours, " hour").concat(hours > 1 ? 's' : '', " ago");
|
|
45
|
+
}
|
|
46
|
+
else if (minutes > 0) {
|
|
47
|
+
return "".concat(minutes, " minute").concat(minutes > 1 ? 's' : '', " ago");
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
return "".concat(seconds, " second").concat(seconds > 1 ? 's' : '', " ago");
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
var timeStamp = dateFormat === 'absolute' ? absoluteTimeStamp(createdAt) : relativeTimeStamp(createdAt);
|
|
54
|
+
return (<p className="text-caption text-light-text-secondary dark:text-dark-text-secondary">
|
|
55
|
+
{timeStamp}
|
|
56
|
+
</p>);
|
|
57
|
+
}
|
|
58
|
+
;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
+
export default function Tooltip(_a) {
|
|
4
|
+
var title = _a.title, children = _a.children;
|
|
5
|
+
var _b = useState(false), visible = _b[0], setVisible = _b[1];
|
|
6
|
+
var _c = useState('bottom'), position = _c[0], setPosition = _c[1];
|
|
7
|
+
var tooltipRef = useRef(null);
|
|
8
|
+
var buttonRef = useRef(null);
|
|
9
|
+
useEffect(function () {
|
|
10
|
+
var handlePosition = function () {
|
|
11
|
+
if (tooltipRef.current && buttonRef.current) {
|
|
12
|
+
var tooltipRect = tooltipRef.current.getBoundingClientRect();
|
|
13
|
+
var buttonRect = buttonRef.current.getBoundingClientRect();
|
|
14
|
+
// Check if there's enough space below; if not, place tooltip above
|
|
15
|
+
if (window.innerHeight - buttonRect.bottom < tooltipRect.height + 8) {
|
|
16
|
+
setPosition('top');
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
setPosition('bottom');
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
if (visible) {
|
|
24
|
+
handlePosition();
|
|
25
|
+
}
|
|
26
|
+
}, [visible]);
|
|
27
|
+
var handleClick = function () {
|
|
28
|
+
setVisible(false); // Hide tooltip on click
|
|
29
|
+
};
|
|
30
|
+
return (<div ref={buttonRef} onMouseEnter={function () { return setVisible(true); }} onMouseLeave={function () { return setVisible(false); }} onClick={handleClick} className="relative inline-block">
|
|
31
|
+
{children}
|
|
32
|
+
{visible && (<div ref={tooltipRef} className={"absolute whitespace-nowrap text-caption rounded-[8px] py-1 px-2 z-50\n dark:bg-light-background-accent300 bg-dark-background-accent300 \n dark:text-light-text-primary text-dark-text-primary\n\t\t\t\t\t\t\t".concat(position === 'bottom' ? 'mt-1' : 'mb-1')} style={{
|
|
33
|
+
bottom: position === 'top' ? '100%' : undefined,
|
|
34
|
+
top: position === 'bottom' ? '100%' : undefined,
|
|
35
|
+
left: '50%',
|
|
36
|
+
transform: 'translateX(-50%)',
|
|
37
|
+
}}>
|
|
38
|
+
{title}
|
|
39
|
+
</div>)}
|
|
40
|
+
</div>);
|
|
41
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default function UserImage(_a) {
|
|
4
|
+
var userHandle = _a.userHandle, userImgUrl = _a.userImgUrl;
|
|
5
|
+
var defaultInitial = userHandle.charAt(0).toUpperCase();
|
|
6
|
+
return (<div className="flex items-center justify-center w-6 h-6 rounded-full overflow-hidden
|
|
7
|
+
bg-light-background-accent200 dark:bg-dark-background-accent200
|
|
8
|
+
text-light-text-secondary dark:text-dark-text-secondary ">
|
|
9
|
+
{userImgUrl ? (<img src={userImgUrl} alt={userHandle} className="w-full h-full object-cover rounded-full"/>) : (<span className="text-body1">
|
|
10
|
+
{defaultInitial}
|
|
11
|
+
</span>)}
|
|
12
|
+
</div>);
|
|
13
|
+
}
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
export namespace colors {
|
|
2
|
+
export namespace light {
|
|
3
|
+
export namespace text {
|
|
4
|
+
let primary: string;
|
|
5
|
+
let secondary: string;
|
|
6
|
+
let disabled: string;
|
|
7
|
+
let contrast: string;
|
|
8
|
+
}
|
|
9
|
+
export namespace accent {
|
|
10
|
+
export let main: string;
|
|
11
|
+
export let dark: string;
|
|
12
|
+
let light_1: string;
|
|
13
|
+
export { light_1 as light };
|
|
14
|
+
let contrast_1: string;
|
|
15
|
+
export { contrast_1 as contrast };
|
|
16
|
+
}
|
|
17
|
+
export namespace primary_1 {
|
|
18
|
+
let main_1: string;
|
|
19
|
+
export { main_1 as main };
|
|
20
|
+
let dark_1: string;
|
|
21
|
+
export { dark_1 as dark };
|
|
22
|
+
let light_2: string;
|
|
23
|
+
export { light_2 as light };
|
|
24
|
+
}
|
|
25
|
+
export { primary_1 as primary };
|
|
26
|
+
export namespace secondary_1 {
|
|
27
|
+
let main_2: string;
|
|
28
|
+
export { main_2 as main };
|
|
29
|
+
let dark_2: string;
|
|
30
|
+
export { dark_2 as dark };
|
|
31
|
+
let light_3: string;
|
|
32
|
+
export { light_3 as light };
|
|
33
|
+
}
|
|
34
|
+
export { secondary_1 as secondary };
|
|
35
|
+
export namespace error {
|
|
36
|
+
let main_3: string;
|
|
37
|
+
export { main_3 as main };
|
|
38
|
+
let dark_3: string;
|
|
39
|
+
export { dark_3 as dark };
|
|
40
|
+
let light_4: string;
|
|
41
|
+
export { light_4 as light };
|
|
42
|
+
}
|
|
43
|
+
export namespace warning {
|
|
44
|
+
let main_4: string;
|
|
45
|
+
export { main_4 as main };
|
|
46
|
+
let dark_4: string;
|
|
47
|
+
export { dark_4 as dark };
|
|
48
|
+
let light_5: string;
|
|
49
|
+
export { light_5 as light };
|
|
50
|
+
}
|
|
51
|
+
export namespace info {
|
|
52
|
+
let main_5: string;
|
|
53
|
+
export { main_5 as main };
|
|
54
|
+
let dark_5: string;
|
|
55
|
+
export { dark_5 as dark };
|
|
56
|
+
let light_6: string;
|
|
57
|
+
export { light_6 as light };
|
|
58
|
+
}
|
|
59
|
+
export namespace success {
|
|
60
|
+
let main_6: string;
|
|
61
|
+
export { main_6 as main };
|
|
62
|
+
let dark_6: string;
|
|
63
|
+
export { dark_6 as dark };
|
|
64
|
+
let light_7: string;
|
|
65
|
+
export { light_7 as light };
|
|
66
|
+
}
|
|
67
|
+
export namespace background {
|
|
68
|
+
let _default: string;
|
|
69
|
+
export { _default as default };
|
|
70
|
+
export let accent100: string;
|
|
71
|
+
export let accent200: string;
|
|
72
|
+
export let accent300: string;
|
|
73
|
+
}
|
|
74
|
+
export namespace action {
|
|
75
|
+
export let active: string;
|
|
76
|
+
export let hover: string;
|
|
77
|
+
export let selected: string;
|
|
78
|
+
export let disabledBackground: string;
|
|
79
|
+
let disabled_1: string;
|
|
80
|
+
export { disabled_1 as disabled };
|
|
81
|
+
}
|
|
82
|
+
export namespace actionBackground {
|
|
83
|
+
export let enabled: string;
|
|
84
|
+
export let hovered: string;
|
|
85
|
+
let selected_1: string;
|
|
86
|
+
export { selected_1 as selected };
|
|
87
|
+
let disabled_2: string;
|
|
88
|
+
export { disabled_2 as disabled };
|
|
89
|
+
}
|
|
90
|
+
export namespace actionOutlinedBorder {
|
|
91
|
+
let enabled_1: string;
|
|
92
|
+
export { enabled_1 as enabled };
|
|
93
|
+
let hovered_1: string;
|
|
94
|
+
export { hovered_1 as hovered };
|
|
95
|
+
let selected_2: string;
|
|
96
|
+
export { selected_2 as selected };
|
|
97
|
+
let disabled_3: string;
|
|
98
|
+
export { disabled_3 as disabled };
|
|
99
|
+
}
|
|
100
|
+
export namespace misc {
|
|
101
|
+
let divider: string;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
export namespace dark_7 {
|
|
105
|
+
export namespace text_1 {
|
|
106
|
+
let primary_2: string;
|
|
107
|
+
export { primary_2 as primary };
|
|
108
|
+
let secondary_2: string;
|
|
109
|
+
export { secondary_2 as secondary };
|
|
110
|
+
let disabled_4: string;
|
|
111
|
+
export { disabled_4 as disabled };
|
|
112
|
+
let contrast_2: string;
|
|
113
|
+
export { contrast_2 as contrast };
|
|
114
|
+
}
|
|
115
|
+
export { text_1 as text };
|
|
116
|
+
export namespace accent_1 {
|
|
117
|
+
let main_7: string;
|
|
118
|
+
export { main_7 as main };
|
|
119
|
+
let dark_8: string;
|
|
120
|
+
export { dark_8 as dark };
|
|
121
|
+
let light_8: string;
|
|
122
|
+
export { light_8 as light };
|
|
123
|
+
let contrast_3: string;
|
|
124
|
+
export { contrast_3 as contrast };
|
|
125
|
+
}
|
|
126
|
+
export { accent_1 as accent };
|
|
127
|
+
export namespace primary_3 {
|
|
128
|
+
let main_8: string;
|
|
129
|
+
export { main_8 as main };
|
|
130
|
+
let dark_9: string;
|
|
131
|
+
export { dark_9 as dark };
|
|
132
|
+
let light_9: string;
|
|
133
|
+
export { light_9 as light };
|
|
134
|
+
}
|
|
135
|
+
export { primary_3 as primary };
|
|
136
|
+
export namespace secondary_3 {
|
|
137
|
+
let main_9: string;
|
|
138
|
+
export { main_9 as main };
|
|
139
|
+
let dark_10: string;
|
|
140
|
+
export { dark_10 as dark };
|
|
141
|
+
let light_10: string;
|
|
142
|
+
export { light_10 as light };
|
|
143
|
+
}
|
|
144
|
+
export { secondary_3 as secondary };
|
|
145
|
+
export namespace error_1 {
|
|
146
|
+
let main_10: string;
|
|
147
|
+
export { main_10 as main };
|
|
148
|
+
let dark_11: string;
|
|
149
|
+
export { dark_11 as dark };
|
|
150
|
+
let light_11: string;
|
|
151
|
+
export { light_11 as light };
|
|
152
|
+
}
|
|
153
|
+
export { error_1 as error };
|
|
154
|
+
export namespace warning_1 {
|
|
155
|
+
let main_11: string;
|
|
156
|
+
export { main_11 as main };
|
|
157
|
+
let dark_12: string;
|
|
158
|
+
export { dark_12 as dark };
|
|
159
|
+
let light_12: string;
|
|
160
|
+
export { light_12 as light };
|
|
161
|
+
}
|
|
162
|
+
export { warning_1 as warning };
|
|
163
|
+
export namespace info_1 {
|
|
164
|
+
let main_12: string;
|
|
165
|
+
export { main_12 as main };
|
|
166
|
+
let dark_13: string;
|
|
167
|
+
export { dark_13 as dark };
|
|
168
|
+
let light_13: string;
|
|
169
|
+
export { light_13 as light };
|
|
170
|
+
}
|
|
171
|
+
export { info_1 as info };
|
|
172
|
+
export namespace success_1 {
|
|
173
|
+
let main_13: string;
|
|
174
|
+
export { main_13 as main };
|
|
175
|
+
let dark_14: string;
|
|
176
|
+
export { dark_14 as dark };
|
|
177
|
+
let light_14: string;
|
|
178
|
+
export { light_14 as light };
|
|
179
|
+
}
|
|
180
|
+
export { success_1 as success };
|
|
181
|
+
export namespace background_1 {
|
|
182
|
+
let _default_1: string;
|
|
183
|
+
export { _default_1 as default };
|
|
184
|
+
let accent100_1: string;
|
|
185
|
+
export { accent100_1 as accent100 };
|
|
186
|
+
let accent200_1: string;
|
|
187
|
+
export { accent200_1 as accent200 };
|
|
188
|
+
let accent300_1: string;
|
|
189
|
+
export { accent300_1 as accent300 };
|
|
190
|
+
}
|
|
191
|
+
export { background_1 as background };
|
|
192
|
+
export namespace action_1 {
|
|
193
|
+
let active_1: string;
|
|
194
|
+
export { active_1 as active };
|
|
195
|
+
let hover_1: string;
|
|
196
|
+
export { hover_1 as hover };
|
|
197
|
+
let selected_3: string;
|
|
198
|
+
export { selected_3 as selected };
|
|
199
|
+
let disabledBackground_1: string;
|
|
200
|
+
export { disabledBackground_1 as disabledBackground };
|
|
201
|
+
let disabled_5: string;
|
|
202
|
+
export { disabled_5 as disabled };
|
|
203
|
+
}
|
|
204
|
+
export { action_1 as action };
|
|
205
|
+
export namespace actionBackground_1 {
|
|
206
|
+
let enabled_2: string;
|
|
207
|
+
export { enabled_2 as enabled };
|
|
208
|
+
let hovered_2: string;
|
|
209
|
+
export { hovered_2 as hovered };
|
|
210
|
+
let selected_4: string;
|
|
211
|
+
export { selected_4 as selected };
|
|
212
|
+
let disabled_6: string;
|
|
213
|
+
export { disabled_6 as disabled };
|
|
214
|
+
}
|
|
215
|
+
export { actionBackground_1 as actionBackground };
|
|
216
|
+
export namespace actionOutlinedBorder_1 {
|
|
217
|
+
let enabled_3: string;
|
|
218
|
+
export { enabled_3 as enabled };
|
|
219
|
+
let hovered_3: string;
|
|
220
|
+
export { hovered_3 as hovered };
|
|
221
|
+
let selected_5: string;
|
|
222
|
+
export { selected_5 as selected };
|
|
223
|
+
let disabled_7: string;
|
|
224
|
+
export { disabled_7 as disabled };
|
|
225
|
+
}
|
|
226
|
+
export { actionOutlinedBorder_1 as actionOutlinedBorder };
|
|
227
|
+
export namespace misc_1 {
|
|
228
|
+
let divider_1: string;
|
|
229
|
+
export { divider_1 as divider };
|
|
230
|
+
}
|
|
231
|
+
export { misc_1 as misc };
|
|
232
|
+
}
|
|
233
|
+
export { dark_7 as dark };
|
|
234
|
+
}
|
|
235
|
+
export namespace spacing {
|
|
236
|
+
let small: string;
|
|
237
|
+
let medium: string;
|
|
238
|
+
let large: string;
|
|
239
|
+
}
|
|
240
|
+
export namespace typography {
|
|
241
|
+
let family: string;
|
|
242
|
+
namespace h1 {
|
|
243
|
+
let weight: string;
|
|
244
|
+
let size: string;
|
|
245
|
+
let lineHeight: string;
|
|
246
|
+
let letterSpacing: string;
|
|
247
|
+
}
|
|
248
|
+
namespace h2 {
|
|
249
|
+
let weight_1: string;
|
|
250
|
+
export { weight_1 as weight };
|
|
251
|
+
let size_1: string;
|
|
252
|
+
export { size_1 as size };
|
|
253
|
+
let lineHeight_1: string;
|
|
254
|
+
export { lineHeight_1 as lineHeight };
|
|
255
|
+
let letterSpacing_1: string;
|
|
256
|
+
export { letterSpacing_1 as letterSpacing };
|
|
257
|
+
}
|
|
258
|
+
namespace h3 {
|
|
259
|
+
let weight_2: string;
|
|
260
|
+
export { weight_2 as weight };
|
|
261
|
+
let size_2: string;
|
|
262
|
+
export { size_2 as size };
|
|
263
|
+
let lineHeight_2: string;
|
|
264
|
+
export { lineHeight_2 as lineHeight };
|
|
265
|
+
let letterSpacing_2: string;
|
|
266
|
+
export { letterSpacing_2 as letterSpacing };
|
|
267
|
+
}
|
|
268
|
+
namespace h4 {
|
|
269
|
+
let weight_3: string;
|
|
270
|
+
export { weight_3 as weight };
|
|
271
|
+
let size_3: string;
|
|
272
|
+
export { size_3 as size };
|
|
273
|
+
let lineHeight_3: string;
|
|
274
|
+
export { lineHeight_3 as lineHeight };
|
|
275
|
+
let letterSpacing_3: string;
|
|
276
|
+
export { letterSpacing_3 as letterSpacing };
|
|
277
|
+
}
|
|
278
|
+
namespace h5 {
|
|
279
|
+
let weight_4: string;
|
|
280
|
+
export { weight_4 as weight };
|
|
281
|
+
let size_4: string;
|
|
282
|
+
export { size_4 as size };
|
|
283
|
+
let lineHeight_4: string;
|
|
284
|
+
export { lineHeight_4 as lineHeight };
|
|
285
|
+
let letterSpacing_4: string;
|
|
286
|
+
export { letterSpacing_4 as letterSpacing };
|
|
287
|
+
}
|
|
288
|
+
namespace h6 {
|
|
289
|
+
let weight_5: string;
|
|
290
|
+
export { weight_5 as weight };
|
|
291
|
+
let size_5: string;
|
|
292
|
+
export { size_5 as size };
|
|
293
|
+
let lineHeight_5: string;
|
|
294
|
+
export { lineHeight_5 as lineHeight };
|
|
295
|
+
let letterSpacing_5: string;
|
|
296
|
+
export { letterSpacing_5 as letterSpacing };
|
|
297
|
+
}
|
|
298
|
+
namespace subtitle1 {
|
|
299
|
+
let weight_6: string;
|
|
300
|
+
export { weight_6 as weight };
|
|
301
|
+
let size_6: string;
|
|
302
|
+
export { size_6 as size };
|
|
303
|
+
let lineHeight_6: string;
|
|
304
|
+
export { lineHeight_6 as lineHeight };
|
|
305
|
+
let letterSpacing_6: string;
|
|
306
|
+
export { letterSpacing_6 as letterSpacing };
|
|
307
|
+
}
|
|
308
|
+
namespace subtitle2 {
|
|
309
|
+
let weight_7: string;
|
|
310
|
+
export { weight_7 as weight };
|
|
311
|
+
let size_7: string;
|
|
312
|
+
export { size_7 as size };
|
|
313
|
+
let lineHeight_7: string;
|
|
314
|
+
export { lineHeight_7 as lineHeight };
|
|
315
|
+
let letterSpacing_7: string;
|
|
316
|
+
export { letterSpacing_7 as letterSpacing };
|
|
317
|
+
}
|
|
318
|
+
namespace body1 {
|
|
319
|
+
let weight_8: string;
|
|
320
|
+
export { weight_8 as weight };
|
|
321
|
+
let size_8: string;
|
|
322
|
+
export { size_8 as size };
|
|
323
|
+
let lineHeight_8: string;
|
|
324
|
+
export { lineHeight_8 as lineHeight };
|
|
325
|
+
let letterSpacing_8: string;
|
|
326
|
+
export { letterSpacing_8 as letterSpacing };
|
|
327
|
+
}
|
|
328
|
+
namespace body2 {
|
|
329
|
+
let weight_9: string;
|
|
330
|
+
export { weight_9 as weight };
|
|
331
|
+
let size_9: string;
|
|
332
|
+
export { size_9 as size };
|
|
333
|
+
let lineHeight_9: string;
|
|
334
|
+
export { lineHeight_9 as lineHeight };
|
|
335
|
+
let letterSpacing_9: string;
|
|
336
|
+
export { letterSpacing_9 as letterSpacing };
|
|
337
|
+
}
|
|
338
|
+
namespace caption {
|
|
339
|
+
let weight_10: string;
|
|
340
|
+
export { weight_10 as weight };
|
|
341
|
+
let size_10: string;
|
|
342
|
+
export { size_10 as size };
|
|
343
|
+
let lineHeight_10: string;
|
|
344
|
+
export { lineHeight_10 as lineHeight };
|
|
345
|
+
let letterSpacing_10: string;
|
|
346
|
+
export { letterSpacing_10 as letterSpacing };
|
|
347
|
+
}
|
|
348
|
+
namespace alignments {
|
|
349
|
+
let left: string;
|
|
350
|
+
let center: string;
|
|
351
|
+
let right: string;
|
|
352
|
+
let justify: string;
|
|
353
|
+
}
|
|
354
|
+
}
|