@eleven-labs/design-system 0.24.0 → 0.25.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.
@@ -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 ["primary", "secondary"];
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 Fri, 19 Jan 2024 17:00:47 GMT
3
+ * Generated on Mon, 29 Jan 2024 15:10:24 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;