@eleven-labs/design-system 0.29.0 → 0.30.1

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.
@@ -4,5 +4,6 @@ export interface BreadcrumbProps extends MarginSystemProps {
4
4
  items: ({
5
5
  label: string;
6
6
  } & ComponentPropsWithoutRef<'a'>)[];
7
+ className?: string;
7
8
  }
8
9
  export declare const Breadcrumb: React.FC<BreadcrumbProps>;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface PictureProps {
3
+ img: React.ComponentPropsWithoutRef<'img'>;
4
+ sources?: React.ComponentPropsWithoutRef<'source'>[];
5
+ }
6
+ export declare const Picture: React.FC<PictureProps>;
@@ -0,0 +1 @@
1
+ export * from './Picture';
@@ -10,3 +10,4 @@ export * from './Divider';
10
10
  export * from './BurgerButton';
11
11
  export * from './CloseButton';
12
12
  export * from './Breadcrumb';
13
+ export * from './Picture';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
- import type { BoxProps } from '../../../../components';
2
+ import type { FlexProps } from '../../../../components';
3
3
  import type { ComponentPropsWithoutRef } from '../../../../types';
4
- export interface HomeIntroBlockProps extends BoxProps {
4
+ export interface HomeIntroBlockProps extends FlexProps {
5
5
  intro: React.ReactNode;
6
6
  title: React.ReactNode;
7
7
  description: React.ReactNode;
@@ -1,12 +1,12 @@
1
1
  import React from 'react';
2
- import type { BoxProps } from '../../../../components';
2
+ import type { BoxProps, PictureProps } from '../../../../components';
3
3
  import type { ComponentPropsWithoutRef } from '../../../../types';
4
4
  export declare const postCardVariant: readonly ["highlight-light", "highlight-dark", "side-image"];
5
5
  export type PostCardVariantType = (typeof postCardVariant)[number];
6
6
  export interface PostCardProps extends BoxProps {
7
7
  contentType?: 'article' | 'tutorial';
8
8
  variant?: PostCardVariantType;
9
- cover?: ComponentPropsWithoutRef<'img'>;
9
+ cover?: PictureProps;
10
10
  slug?: string;
11
11
  title?: string;
12
12
  excerpt?: string;
@@ -0,0 +1 @@
1
+ export * from './LastArticlesBlock';
@@ -0,0 +1 @@
1
+ export * from './LastTutorialsBlock';
@@ -0,0 +1,2 @@
1
+ export * from './LastArticlesBlock';
2
+ export * from './LastTutorialsBlock';
@@ -2,3 +2,4 @@ export * from './PostCardList';
2
2
  export * from './Autocomplete';
3
3
  export * from './Header';
4
4
  export * from './Footer';
5
+ export * from './Blocks';
@@ -1,8 +1,8 @@
1
1
  export declare const colorTokenNameList: readonly ("primary" | "primary-dark" | "primary-very-dark" | "secondary" | "secondary-dark" | "info" | "accent" | "ultra-light-grey" | "light-grey" | "grey" | "dark-grey" | "ultra-dark-grey" | "black" | "white")[];
2
2
  export declare const spacingTokenNameList: readonly ("0" | "xs" | "xxs-3" | "xxs-2" | "xxs" | "s" | "m" | "l" | "xl" | "xxl" | "xxl-2" | "xxl-3")[];
3
- export declare const widthTokenNameList: readonly ("full" | "screen" | "content-container")[];
3
+ export declare const widthTokenNameList: readonly ("full" | "screen")[];
4
4
  export declare const heightTokenNameList: readonly ("full" | "screen")[];
5
5
  export declare const fontWeightTokenNameList: readonly ("regular" | "medium" | "semi-bold" | "bold")[];
6
6
  export declare const iconTokenNameList: readonly ("access-time" | "calendar" | "facebook" | "language" | "link" | "linkedin" | "rss" | "message" | "person" | "search" | "twitter" | "welcometothejungle" | "github" | "arrow" | "underline")[];
7
- export declare const headingSizeTokenNameList: readonly ("s" | "m" | "l" | "xl" | "base")[];
7
+ export declare const headingSizeTokenNameList: readonly ("xs" | "s" | "m" | "l" | "xl" | "base")[];
8
8
  export declare const textSizeTokenNameList: readonly ("xs" | "s" | "m" | "base")[];
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 30 Jan 2024 15:02:37 GMT
3
+ * Generated on Tue, 05 Mar 2024 13:17:51 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
6
  asset: {
@@ -147,6 +147,17 @@ export declare const tokenVariables: {
147
147
  value: string;
148
148
  };
149
149
  };
150
+ xs: {
151
+ 'font-family': {
152
+ value: string;
153
+ };
154
+ 'font-size': {
155
+ value: string;
156
+ };
157
+ 'font-weight': {
158
+ value: string;
159
+ };
160
+ };
150
161
  s: {
151
162
  'font-size': {
152
163
  value: string;
@@ -357,8 +368,5 @@ export declare const tokenVariables: {
357
368
  screen: {
358
369
  value: string;
359
370
  };
360
- 'content-container': {
361
- value: string;
362
- };
363
371
  };
364
372
  };
@@ -1,41 +1,178 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Tue, 30 Jan 2024 15:02:37 GMT
3
+ * Generated on Tue, 05 Mar 2024 13:17:51 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
+ asset: {
7
+ icon: {
8
+ 'access-time': {
9
+ value: string;
10
+ };
11
+ calendar: {
12
+ value: string;
13
+ };
14
+ facebook: {
15
+ value: string;
16
+ };
17
+ language: {
18
+ value: string;
19
+ };
20
+ link: {
21
+ value: string;
22
+ };
23
+ linkedin: {
24
+ value: string;
25
+ };
26
+ rss: {
27
+ value: string;
28
+ };
29
+ message: {
30
+ value: string;
31
+ };
32
+ person: {
33
+ value: string;
34
+ };
35
+ search: {
36
+ value: string;
37
+ };
38
+ twitter: {
39
+ value: string;
40
+ };
41
+ welcometothejungle: {
42
+ value: string;
43
+ };
44
+ github: {
45
+ value: string;
46
+ };
47
+ arrow: {
48
+ value: string;
49
+ };
50
+ underline: {
51
+ value: string;
52
+ };
53
+ };
54
+ };
55
+ 'font-family': {
56
+ base: {
57
+ value: string;
58
+ name: string;
59
+ weights: string[];
60
+ };
61
+ heading: {
62
+ value: string;
63
+ name: string;
64
+ weights: string[];
65
+ };
66
+ blockquote: {
67
+ value: string;
68
+ name: string;
69
+ weights: string[];
70
+ };
71
+ };
72
+ 'font-weight': {
73
+ regular: {
74
+ value: string;
75
+ };
76
+ medium: {
77
+ value: string;
78
+ };
79
+ 'semi-bold': {
80
+ value: string;
81
+ };
82
+ bold: {
83
+ value: string;
84
+ };
85
+ };
6
86
  typography: {
7
87
  'heading-markup': {
88
+ base: {
89
+ 'line-height': {
90
+ value: string;
91
+ };
92
+ 'font-weight': {
93
+ value: string;
94
+ };
95
+ 'margin-top': {
96
+ value: string;
97
+ };
98
+ };
8
99
  s: {
9
100
  'font-size': {
10
101
  value: string;
11
102
  };
103
+ 'margin-bottom': {
104
+ value: string;
105
+ };
12
106
  };
13
107
  m: {
14
108
  'font-size': {
15
109
  value: string;
16
110
  };
111
+ 'margin-bottom': {
112
+ value: string;
113
+ };
17
114
  };
18
115
  l: {
19
116
  'font-size': {
20
117
  value: string;
21
118
  };
119
+ 'font-weight': {
120
+ value: string;
121
+ };
122
+ 'margin-bottom': {
123
+ value: string;
124
+ };
22
125
  };
23
126
  xl: {
24
127
  'font-size': {
25
128
  value: string;
26
129
  };
130
+ 'font-weight': {
131
+ value: string;
132
+ };
133
+ 'margin-bottom': {
134
+ value: string;
135
+ };
27
136
  };
28
137
  };
29
138
  heading: {
139
+ base: {
140
+ 'font-family': {
141
+ value: string;
142
+ };
143
+ 'line-height': {
144
+ value: string;
145
+ };
146
+ 'letter-spacing': {
147
+ value: string;
148
+ };
149
+ };
150
+ xs: {
151
+ 'font-family': {
152
+ value: string;
153
+ };
154
+ 'font-size': {
155
+ value: string;
156
+ };
157
+ 'font-weight': {
158
+ value: string;
159
+ };
160
+ };
30
161
  s: {
31
162
  'font-size': {
32
163
  value: string;
33
164
  };
165
+ 'font-weight': {
166
+ value: string;
167
+ };
34
168
  };
35
169
  m: {
36
170
  'font-size': {
37
171
  value: string;
38
172
  };
173
+ 'font-weight': {
174
+ value: string;
175
+ };
39
176
  };
40
177
  l: {
41
178
  'font-size': {
@@ -46,12 +183,23 @@ export declare const tokenVariables: {
46
183
  'font-size': {
47
184
  value: string;
48
185
  };
186
+ 'font-weight': {
187
+ value: string;
188
+ };
189
+ 'text-transform': {
190
+ value: string;
191
+ };
49
192
  'letter-spacing': {
50
193
  value: string;
51
194
  };
52
195
  };
53
196
  };
54
197
  text: {
198
+ base: {
199
+ 'line-height': {
200
+ value: string;
201
+ };
202
+ };
55
203
  xs: {
56
204
  'font-size': {
57
205
  value: string;
@@ -83,4 +231,147 @@ export declare const tokenVariables: {
83
231
  };
84
232
  };
85
233
  };
234
+ 'line-height': {
235
+ base: {
236
+ value: string;
237
+ };
238
+ medium: {
239
+ value: string;
240
+ };
241
+ large: {
242
+ value: string;
243
+ };
244
+ };
245
+ breakpoint: {
246
+ xs: {
247
+ value: string;
248
+ description: string;
249
+ };
250
+ sm: {
251
+ value: string;
252
+ description: string;
253
+ };
254
+ md: {
255
+ value: string;
256
+ description: string;
257
+ };
258
+ lg: {
259
+ value: string;
260
+ description: string;
261
+ };
262
+ };
263
+ color: {
264
+ primary: {
265
+ value: string;
266
+ };
267
+ 'primary-dark': {
268
+ value: string;
269
+ };
270
+ 'primary-very-dark': {
271
+ value: string;
272
+ };
273
+ secondary: {
274
+ value: string;
275
+ };
276
+ 'secondary-dark': {
277
+ value: string;
278
+ };
279
+ info: {
280
+ value: string;
281
+ description: string;
282
+ };
283
+ accent: {
284
+ value: string;
285
+ description: string;
286
+ };
287
+ 'ultra-light-grey': {
288
+ value: string;
289
+ };
290
+ 'light-grey': {
291
+ value: string;
292
+ };
293
+ grey: {
294
+ value: string;
295
+ };
296
+ 'dark-grey': {
297
+ value: string;
298
+ };
299
+ 'ultra-dark-grey': {
300
+ value: string;
301
+ };
302
+ black: {
303
+ value: string;
304
+ };
305
+ white: {
306
+ value: string;
307
+ };
308
+ };
309
+ height: {
310
+ full: {
311
+ value: string;
312
+ };
313
+ screen: {
314
+ value: string;
315
+ };
316
+ };
317
+ radius: {
318
+ xs: {
319
+ value: string;
320
+ description: string;
321
+ };
322
+ s: {
323
+ value: string;
324
+ description: string;
325
+ };
326
+ 'full-rounded': {
327
+ value: string;
328
+ description: string;
329
+ };
330
+ };
331
+ spacing: {
332
+ '0': {
333
+ value: string;
334
+ };
335
+ 'xxs-3': {
336
+ value: string;
337
+ };
338
+ 'xxs-2': {
339
+ value: string;
340
+ };
341
+ xxs: {
342
+ value: string;
343
+ };
344
+ xs: {
345
+ value: string;
346
+ };
347
+ s: {
348
+ value: string;
349
+ };
350
+ m: {
351
+ value: string;
352
+ };
353
+ l: {
354
+ value: string;
355
+ };
356
+ xl: {
357
+ value: string;
358
+ };
359
+ xxl: {
360
+ value: string;
361
+ };
362
+ 'xxl-2': {
363
+ value: string;
364
+ };
365
+ 'xxl-3': {
366
+ value: string;
367
+ };
368
+ };
369
+ width: {
370
+ full: {
371
+ value: string;
372
+ };
373
+ screen: {
374
+ value: string;
375
+ };
376
+ };
86
377
  };