@eleven-labs/design-system 0.24.0 → 0.26.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/Cards/PostCard/PostCard.d.ts +2 -1
- package/dist/components/Molecules/ShareLinks/ShareLinks.d.ts +0 -3
- package/dist/components/Organisms/Autocomplete/Autocomplete.d.ts +1 -1
- package/dist/constants/tokenVariables.d.ts +21 -1
- package/dist/imgs/wave-background.png +0 -0
- package/dist/index.es.js +2772 -3721
- package/dist/index.umd.cjs +16 -16
- package/dist/pages/AuthorPage/AuthorPageContent.d.ts +0 -1
- package/dist/pages/PostPage/PostPage.d.ts +0 -2
- package/dist/pages/PostPage/PostPageContent.d.ts +3 -0
- package/dist/scss/abstracts/variables/_token-variables.scss +10 -3
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/svgs/access-time.svg +1 -1
- package/dist/svgs/arrow.svg +1 -1
- package/dist/svgs/calendar.svg +1 -1
- package/dist/svgs/facebook.svg +1 -1
- package/dist/svgs/language.svg +1 -1
- package/dist/svgs/link.svg +1 -1
- package/dist/svgs/linkedin.svg +1 -1
- package/dist/svgs/message.svg +1 -1
- package/dist/svgs/person.svg +1 -1
- package/dist/svgs/search.svg +1 -1
- package/dist/svgs/twitter.svg +1 -1
- package/dist/svgs/underline.svg +1 -1
- package/package.json +1 -2
- package/dist/hooks/useCopyToClipboard.d.ts +0 -5
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BoxProps } from '../../../../components';
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
|
-
export declare const postCardVariant: readonly ["
|
|
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
10
|
slug?: string;
|
|
10
11
|
title?: string;
|
|
11
12
|
excerpt?: string;
|
|
@@ -3,12 +3,9 @@ import type { MarginSystemProps } from '../../../types';
|
|
|
3
3
|
export interface ShareLinksProps extends MarginSystemProps {
|
|
4
4
|
urlToShare: string;
|
|
5
5
|
shares: {
|
|
6
|
-
copyLink?: boolean;
|
|
7
6
|
twitter?: boolean;
|
|
8
7
|
facebook?: boolean;
|
|
9
8
|
linkedIn?: boolean;
|
|
10
|
-
reddit?: boolean;
|
|
11
9
|
};
|
|
12
|
-
copiedLabel?: string;
|
|
13
10
|
}
|
|
14
11
|
export declare const ShareLinks: React.FC<ShareLinksProps>;
|
|
@@ -8,5 +8,5 @@ export type AutocompleteOptions = {
|
|
|
8
8
|
defaultValue?: string;
|
|
9
9
|
onEnter?: (value: string) => void;
|
|
10
10
|
};
|
|
11
|
-
export type AutocompleteProps = BoxProps & AutocompleteOptions & Omit<AutocompleteResultOptions, 'highlightedIndex' | 'searchLink'> & Pick<UseComboboxProps<AutocompleteItem>, 'onInputValueChange' | 'onSelectedItemChange'>;
|
|
11
|
+
export type AutocompleteProps = BoxProps & AutocompleteOptions & Omit<AutocompleteResultOptions, 'highlightedIndex' | 'searchLink'> & Pick<UseComboboxProps<AutocompleteItem>, 'onInputValueChange' | 'onSelectedItemChange' | 'isOpen'>;
|
|
12
12
|
export declare const Autocomplete: import("react-polymorphed").PolyForwardComponent<"div", AutocompleteProps, React.ElementType<any>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 29 Jan 2024 15:56:26 GMT
|
|
4
4
|
*/
|
|
5
5
|
export declare const tokenVariables: {
|
|
6
6
|
asset: {
|
|
@@ -92,6 +92,9 @@ export declare const tokenVariables: {
|
|
|
92
92
|
'line-height': {
|
|
93
93
|
value: string;
|
|
94
94
|
};
|
|
95
|
+
'letter-spacing': {
|
|
96
|
+
value: string;
|
|
97
|
+
};
|
|
95
98
|
};
|
|
96
99
|
s: {
|
|
97
100
|
'font-size': {
|
|
@@ -127,6 +130,9 @@ export declare const tokenVariables: {
|
|
|
127
130
|
'text-transform': {
|
|
128
131
|
value: string;
|
|
129
132
|
};
|
|
133
|
+
'letter-spacing': {
|
|
134
|
+
value: string;
|
|
135
|
+
};
|
|
130
136
|
};
|
|
131
137
|
};
|
|
132
138
|
text: {
|
|
@@ -296,6 +302,20 @@ export declare const tokenVariables: {
|
|
|
296
302
|
value: string;
|
|
297
303
|
};
|
|
298
304
|
};
|
|
305
|
+
radius: {
|
|
306
|
+
xs: {
|
|
307
|
+
value: string;
|
|
308
|
+
description: string;
|
|
309
|
+
};
|
|
310
|
+
s: {
|
|
311
|
+
value: string;
|
|
312
|
+
description: string;
|
|
313
|
+
};
|
|
314
|
+
'full-rounded': {
|
|
315
|
+
value: string;
|
|
316
|
+
description: string;
|
|
317
|
+
};
|
|
318
|
+
};
|
|
299
319
|
spacing: {
|
|
300
320
|
'0': {
|
|
301
321
|
value: string;
|
|
Binary file
|