@eleven-labs/design-system 0.10.1 → 0.10.3

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,8 +1,8 @@
1
1
  import * as React from 'react';
2
- import type { SpacingSystemProps } from '../../../types';
2
+ import type { BoxProps } from '../../../components';
3
3
  export declare const buttonVariant: readonly ["primary", "secondary"];
4
4
  export type ButtonVariantType = (typeof buttonVariant)[number];
5
- export interface ButtonProps extends SpacingSystemProps {
5
+ export interface ButtonProps extends BoxProps {
6
6
  className?: string;
7
7
  variant?: ButtonVariantType;
8
8
  isChoiceChip?: boolean;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { BoxProps } from '../../../../components';
3
- import type { DisplayType, FlexBoxSystemProps, TypeWithMediaQueriesType } from '../../../../types';
4
- export interface FlexProps extends Omit<BoxProps, 'display'>, FlexBoxSystemProps {
3
+ import type { DisplayType, TypeWithMediaQueriesType } from '../../../../types';
4
+ export interface FlexProps extends Omit<BoxProps, 'display'> {
5
5
  display?: TypeWithMediaQueriesType<Extract<DisplayType, 'flex' | 'inline-flex'>>;
6
6
  }
7
7
  export declare const Flex: import("react-polymorphed").PolyForwardComponent<"div", FlexProps, React.ElementType<any>>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { BoxProps } from '../../../../components';
3
- import type { HeadingSizeType, TypographySystemProps } from '../../../../types';
4
- export interface HeadingProps extends BoxProps, TypographySystemProps {
3
+ import type { HeadingSizeType } from '../../../../types';
4
+ export interface HeadingProps extends Omit<BoxProps, 'textSize'> {
5
5
  size?: HeadingSizeType;
6
6
  }
7
7
  export declare const Heading: import("react-polymorphed").PolyForwardComponent<"h1", HeadingProps, React.ElementType<any>>;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import type { BoxProps } from '../../../../components';
3
- import type { TextSizeType, TypographySystemProps } from '../../../../types';
4
- export interface TextProps extends BoxProps, TypographySystemProps {
3
+ import type { TextSizeType } from '../../../../types';
4
+ export interface TextProps extends Omit<BoxProps, 'textSize'> {
5
5
  size?: TextSizeType;
6
6
  }
7
7
  export declare const Text: import("react-polymorphed").PolyForwardComponent<"p", TextProps, React.ElementType<any>>;
@@ -1,6 +1,7 @@
1
1
  import * as React from 'react';
2
+ import type { BoxProps } from '../../../components';
2
3
  import type { IconNameType } from '../../../types';
3
- export interface LinkProps {
4
+ export interface LinkProps extends BoxProps {
4
5
  className?: string;
5
6
  icon?: IconNameType;
6
7
  children: React.ReactNode;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 06 Nov 2023 12:39:00 GMT
3
+ * Generated on Thu, 04 Jan 2024 13:09:15 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
6
  asset: {
@@ -75,114 +75,6 @@ export declare const tokenVariables: {
75
75
  };
76
76
  };
77
77
  };
78
- breakpoint: {
79
- xs: {
80
- value: string;
81
- description: string;
82
- };
83
- sm: {
84
- value: string;
85
- description: string;
86
- };
87
- md: {
88
- value: string;
89
- description: string;
90
- };
91
- lg: {
92
- value: string;
93
- description: string;
94
- };
95
- };
96
- color: {
97
- primary: {
98
- azure: {
99
- value: string;
100
- };
101
- navy: {
102
- value: string;
103
- };
104
- };
105
- secondary: {
106
- lavender: {
107
- value: string;
108
- };
109
- amaranth: {
110
- value: string;
111
- };
112
- yellow: {
113
- value: string;
114
- };
115
- };
116
- greyscale: {
117
- 'ultra-light-grey': {
118
- value: string;
119
- };
120
- 'light-grey': {
121
- value: string;
122
- };
123
- grey: {
124
- value: string;
125
- };
126
- 'dark-grey': {
127
- value: string;
128
- };
129
- 'ultra-dark-grey': {
130
- value: string;
131
- };
132
- black: {
133
- value: string;
134
- };
135
- white: {
136
- value: string;
137
- };
138
- };
139
- };
140
- height: {
141
- full: {
142
- value: string;
143
- };
144
- screen: {
145
- value: string;
146
- };
147
- };
148
- spacing: {
149
- '0': {
150
- value: string;
151
- };
152
- 'xxs-3': {
153
- value: string;
154
- };
155
- 'xxs-2': {
156
- value: string;
157
- };
158
- xxs: {
159
- value: string;
160
- };
161
- xs: {
162
- value: string;
163
- };
164
- s: {
165
- value: string;
166
- };
167
- m: {
168
- value: string;
169
- };
170
- l: {
171
- value: string;
172
- };
173
- xl: {
174
- value: string;
175
- };
176
- xxl: {
177
- value: string;
178
- };
179
- 'xxl-2': {
180
- value: string;
181
- };
182
- 'xxl-3': {
183
- value: string;
184
- };
185
- };
186
78
  'font-family': {
187
79
  base: {
188
80
  value: string;
@@ -380,6 +272,117 @@ export declare const tokenVariables: {
380
272
  value: string;
381
273
  };
382
274
  };
275
+ breakpoint: {
276
+ xs: {
277
+ value: string;
278
+ description: string;
279
+ };
280
+ sm: {
281
+ value: string;
282
+ description: string;
283
+ };
284
+ md: {
285
+ value: string;
286
+ description: string;
287
+ };
288
+ lg: {
289
+ value: string;
290
+ description: string;
291
+ };
292
+ };
293
+ color: {
294
+ primary: {
295
+ azure: {
296
+ value: string;
297
+ };
298
+ navy: {
299
+ value: string;
300
+ };
301
+ seashell: {
302
+ value: string;
303
+ };
304
+ };
305
+ secondary: {
306
+ lavender: {
307
+ value: string;
308
+ };
309
+ amaranth: {
310
+ value: string;
311
+ };
312
+ yellow: {
313
+ value: string;
314
+ };
315
+ };
316
+ greyscale: {
317
+ 'ultra-light-grey': {
318
+ value: string;
319
+ };
320
+ 'light-grey': {
321
+ value: string;
322
+ };
323
+ grey: {
324
+ value: string;
325
+ };
326
+ 'dark-grey': {
327
+ value: string;
328
+ };
329
+ 'ultra-dark-grey': {
330
+ value: string;
331
+ };
332
+ black: {
333
+ value: string;
334
+ };
335
+ white: {
336
+ value: string;
337
+ };
338
+ };
339
+ };
340
+ height: {
341
+ full: {
342
+ value: string;
343
+ };
344
+ screen: {
345
+ value: string;
346
+ };
347
+ };
348
+ spacing: {
349
+ '0': {
350
+ value: string;
351
+ };
352
+ 'xxs-3': {
353
+ value: string;
354
+ };
355
+ 'xxs-2': {
356
+ value: string;
357
+ };
358
+ xxs: {
359
+ value: string;
360
+ };
361
+ xs: {
362
+ value: string;
363
+ };
364
+ s: {
365
+ value: string;
366
+ };
367
+ m: {
368
+ value: string;
369
+ };
370
+ l: {
371
+ value: string;
372
+ };
373
+ xl: {
374
+ value: string;
375
+ };
376
+ xxl: {
377
+ value: string;
378
+ };
379
+ 'xxl-2': {
380
+ value: string;
381
+ };
382
+ 'xxl-3': {
383
+ value: string;
384
+ };
385
+ };
383
386
  width: {
384
387
  full: {
385
388
  value: string;
@@ -1,2 +1,2 @@
1
1
  import type { TypographySystemProps } from '../../types';
2
- export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, ...props }: TProps) => string;
2
+ export declare const typographySystemClassName: <TProps extends TypographySystemProps>({ textAlign, textSize, ...props }: TProps) => string;