@eleven-labs/design-system 0.10.2 → 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 Tue, 02 Jan 2024 17:39:32 GMT
3
+ * Generated on Thu, 04 Jan 2024 13:09:15 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
6
  asset: {
@@ -298,6 +298,9 @@ export declare const tokenVariables: {
298
298
  navy: {
299
299
  value: string;
300
300
  };
301
+ seashell: {
302
+ value: string;
303
+ };
301
304
  };
302
305
  secondary: {
303
306
  lavender: {
@@ -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;