@eleven-labs/design-system 0.26.2 → 0.27.0
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/components/Molecules/Blocks/HomeIntroBlock/HomeIntroBlock.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +9 -1
- package/dist/index.es.js +48 -18
- package/dist/index.umd.cjs +3 -3
- package/dist/scss/abstracts/variables/_token-variables.scss +6 -2
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { BoxProps } from '../../../../components';
|
|
2
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
3
|
-
export interface HomeIntroBlockProps {
|
|
4
|
+
export interface HomeIntroBlockProps extends BoxProps {
|
|
4
5
|
intro: React.ReactNode;
|
|
5
6
|
title: React.ReactNode;
|
|
6
7
|
description: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Tue, 30 Jan 2024 07:18:09 GMT
|
|
4
4
|
*/
|
|
5
5
|
export declare const tokenVariables: {
|
|
6
6
|
asset: {
|
|
@@ -168,6 +168,11 @@ export declare const tokenVariables: {
|
|
|
168
168
|
};
|
|
169
169
|
};
|
|
170
170
|
desktop: {
|
|
171
|
+
base: {
|
|
172
|
+
'letter-spacing': {
|
|
173
|
+
value: string;
|
|
174
|
+
};
|
|
175
|
+
};
|
|
171
176
|
typography: {
|
|
172
177
|
heading: {
|
|
173
178
|
s: {
|
|
@@ -189,6 +194,9 @@ export declare const tokenVariables: {
|
|
|
189
194
|
'font-size': {
|
|
190
195
|
value: string;
|
|
191
196
|
};
|
|
197
|
+
'letter-spacing': {
|
|
198
|
+
value: string;
|
|
199
|
+
};
|
|
192
200
|
};
|
|
193
201
|
};
|
|
194
202
|
text: {
|
package/dist/index.es.js
CHANGED
|
@@ -353,12 +353,12 @@ const qe = {
|
|
|
353
353
|
value: "1.2"
|
|
354
354
|
},
|
|
355
355
|
"letter-spacing": {
|
|
356
|
-
value: "
|
|
356
|
+
value: "1px"
|
|
357
357
|
}
|
|
358
358
|
},
|
|
359
359
|
s: {
|
|
360
360
|
"font-size": {
|
|
361
|
-
value: "
|
|
361
|
+
value: "16px"
|
|
362
362
|
},
|
|
363
363
|
"font-weight": {
|
|
364
364
|
value: "700"
|
|
@@ -369,7 +369,7 @@ const qe = {
|
|
|
369
369
|
},
|
|
370
370
|
m: {
|
|
371
371
|
"font-size": {
|
|
372
|
-
value: "
|
|
372
|
+
value: "24px"
|
|
373
373
|
},
|
|
374
374
|
"font-weight": {
|
|
375
375
|
value: "700"
|
|
@@ -377,12 +377,12 @@ const qe = {
|
|
|
377
377
|
},
|
|
378
378
|
l: {
|
|
379
379
|
"font-size": {
|
|
380
|
-
value: "
|
|
380
|
+
value: "32px"
|
|
381
381
|
}
|
|
382
382
|
},
|
|
383
383
|
xl: {
|
|
384
384
|
"font-size": {
|
|
385
|
-
value: "
|
|
385
|
+
value: "32px"
|
|
386
386
|
},
|
|
387
387
|
"font-weight": {
|
|
388
388
|
value: "400"
|
|
@@ -391,7 +391,7 @@ const qe = {
|
|
|
391
391
|
value: "uppercase"
|
|
392
392
|
},
|
|
393
393
|
"letter-spacing": {
|
|
394
|
-
value: "
|
|
394
|
+
value: "2px"
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
},
|
|
@@ -428,6 +428,11 @@ const qe = {
|
|
|
428
428
|
}
|
|
429
429
|
},
|
|
430
430
|
desktop: {
|
|
431
|
+
base: {
|
|
432
|
+
"letter-spacing": {
|
|
433
|
+
value: "2px"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
431
436
|
typography: {
|
|
432
437
|
heading: {
|
|
433
438
|
s: {
|
|
@@ -448,6 +453,9 @@ const qe = {
|
|
|
448
453
|
xl: {
|
|
449
454
|
"font-size": {
|
|
450
455
|
value: "64px"
|
|
456
|
+
},
|
|
457
|
+
"letter-spacing": {
|
|
458
|
+
value: "3px"
|
|
451
459
|
}
|
|
452
460
|
}
|
|
453
461
|
},
|
|
@@ -4778,8 +4786,9 @@ const ns = ({
|
|
|
4778
4786
|
intro: e,
|
|
4779
4787
|
title: t,
|
|
4780
4788
|
description: n,
|
|
4781
|
-
elevenLabsLink: { label: i, ...o }
|
|
4782
|
-
|
|
4789
|
+
elevenLabsLink: { label: i, ...o },
|
|
4790
|
+
...r
|
|
4791
|
+
}) => /* @__PURE__ */ s(V, { className: "home-intro-block", ...r, children: /* @__PURE__ */ M(
|
|
4783
4792
|
F,
|
|
4784
4793
|
{
|
|
4785
4794
|
alignItems: "baseline",
|
|
@@ -4953,15 +4962,35 @@ const is = ({
|
|
|
4953
4962
|
description: n,
|
|
4954
4963
|
link: { label: i, ...o },
|
|
4955
4964
|
...r
|
|
4956
|
-
}) => /* @__PURE__ */ M(F, { ...r, alignItems: "center",
|
|
4957
|
-
/* @__PURE__ */
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
+
}) => /* @__PURE__ */ M(F, { ...r, alignItems: "center", gap: "s", px: "s", py: "m", bg: "white", className: "author-card", children: [
|
|
4966
|
+
t ? /* @__PURE__ */ s("img", { src: t, alt: e, className: "author-card__avatar-img" }) : /* @__PURE__ */ s("div", { className: "author-card__avatar-img author-card__avatar-img--empty" }),
|
|
4967
|
+
/* @__PURE__ */ M(
|
|
4968
|
+
F,
|
|
4969
|
+
{
|
|
4970
|
+
flexDirection: { xs: "column", md: "row" },
|
|
4971
|
+
flex: "1",
|
|
4972
|
+
justifyContent: "between",
|
|
4973
|
+
alignItems: { xs: "start", md: "center" },
|
|
4974
|
+
gap: "s",
|
|
4975
|
+
children: [
|
|
4976
|
+
/* @__PURE__ */ M(V, { children: [
|
|
4977
|
+
/* @__PURE__ */ s(Z, { color: "primary", size: "m", fontWeight: "semi-bold", children: e }),
|
|
4978
|
+
/* @__PURE__ */ s(Z, { as: "div", size: "xs", mt: "xxs-3", italic: !0, children: n })
|
|
4979
|
+
] }),
|
|
4980
|
+
/* @__PURE__ */ s(
|
|
4981
|
+
e0,
|
|
4982
|
+
{
|
|
4983
|
+
...o,
|
|
4984
|
+
px: { xs: "0", md: "m" },
|
|
4985
|
+
textTransform: "uppercase",
|
|
4986
|
+
"data-internal-link": "author",
|
|
4987
|
+
className: "author-card__link",
|
|
4988
|
+
children: i
|
|
4989
|
+
}
|
|
4990
|
+
)
|
|
4991
|
+
]
|
|
4992
|
+
}
|
|
4993
|
+
)
|
|
4965
4994
|
] });
|
|
4966
4995
|
const os = ({
|
|
4967
4996
|
title: e,
|
|
@@ -4977,6 +5006,7 @@ const os = ({
|
|
|
4977
5006
|
gap: "m",
|
|
4978
5007
|
textAlign: "center",
|
|
4979
5008
|
className: "contact-card__container",
|
|
5009
|
+
px: "m",
|
|
4980
5010
|
children: [
|
|
4981
5011
|
/* @__PURE__ */ s(we, { size: "l", color: "primary", children: e }),
|
|
4982
5012
|
/* @__PURE__ */ s(Z, { size: "s", children: t }),
|
|
@@ -7908,7 +7938,7 @@ const dc = ({
|
|
|
7908
7938
|
lastTutorialsBlock: n,
|
|
7909
7939
|
newsletterCard: i
|
|
7910
7940
|
}) => /* @__PURE__ */ M(Pe, { children: [
|
|
7911
|
-
/* @__PURE__ */ s(ns, { ...e }),
|
|
7941
|
+
/* @__PURE__ */ s(ns, { py: { xs: "0", md: "xl" }, ...e }),
|
|
7912
7942
|
/* @__PURE__ */ s(uc, { ...t }),
|
|
7913
7943
|
n && /* @__PURE__ */ s(dc, { ...n }),
|
|
7914
7944
|
/* @__PURE__ */ s(V, { my: "xl", mx: { xs: "s", md: "auto" }, width: { md: "content-container" }, children: /* @__PURE__ */ s(ut, { variant: "horizontal", ...i }) })
|