@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.
- package/dist/components/Atoms/Button/Button.d.ts +2 -2
- package/dist/components/Atoms/Layout/Flex/Flex.d.ts +2 -2
- package/dist/components/Atoms/Typography/Heading/Heading.d.ts +2 -2
- package/dist/components/Atoms/Typography/Text/Text.d.ts +2 -2
- package/dist/components/Molecules/Link/Link.d.ts +2 -1
- package/dist/constants/tokenVariables.d.ts +4 -1
- package/dist/helpers/systemPropsHelper/typographySystemClassName.d.ts +1 -1
- package/dist/index.es.js +444 -423
- package/dist/index.umd.cjs +9 -9
- package/dist/scss/abstracts/variables/_token-variables.scss +3 -2
- package/dist/scss/abstracts/variables/_variables.scss +4 -2
- package/dist/style.css +1 -1
- package/dist/types/SystemProps/ColorSystemProps.d.ts +1 -1
- package/dist/types/SystemProps/SystemProps.d.ts +7 -2
- package/package.json +2 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type {
|
|
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
|
|
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,
|
|
4
|
-
export interface FlexProps extends Omit<BoxProps, 'display'
|
|
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
|
|
4
|
-
export interface HeadingProps extends BoxProps,
|
|
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
|
|
4
|
-
export interface TextProps extends BoxProps,
|
|
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
|
|
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;
|