@eleven-labs/design-system 0.21.0 → 0.23.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/Blocks/CategoryEndingBlock/CategoryEndingBlock.d.ts +2 -2
- package/dist/components/Molecules/Blocks/CategoryIntroBlock/CategoryIntroBlock.d.ts +2 -2
- package/dist/components/Molecules/Blocks/HomeIntroBlock/HomeIntroBlock.d.ts +3 -3
- package/dist/components/Molecules/Cards/AuthorCard/AuthorCard.d.ts +1 -1
- package/dist/components/Molecules/Cards/ContactCard/ContactCard.d.ts +3 -3
- package/dist/components/Molecules/Cards/NewsletterCard/NewsletterCard.d.ts +2 -2
- package/dist/components/Molecules/Link/Link.d.ts +1 -1
- package/dist/components/Organisms/Autocomplete/AutocompleteResult/AutocompleteResult.d.ts +2 -2
- package/dist/components/Organisms/Blocks/LastArticlesBlock/LastArticlesBlock.d.ts +1 -1
- package/dist/components/Organisms/Blocks/LastTutorialsBlock/LastTutorialsBlock.d.ts +2 -2
- package/dist/constants/tokenVariables.d.ts +1 -1
- package/dist/imgs/category-intro-block-desktop.jpg +0 -0
- package/dist/imgs/category-intro-block-mobile.jpg +0 -0
- package/dist/index.es.js +1082 -1095
- package/dist/index.umd.cjs +14 -14
- package/dist/pages/AuthorPage/AuthorPage.d.ts +3 -17
- package/dist/pages/AuthorPage/AuthorPageContent.d.ts +19 -0
- package/dist/pages/AuthorPage/index.d.ts +1 -0
- package/dist/pages/CategoryPage/CategoryPage.d.ts +4 -6
- package/dist/pages/CategoryPage/CategoryPageContent.d.ts +8 -0
- package/dist/pages/CategoryPage/index.d.ts +1 -0
- package/dist/pages/PostPage/PostPage.d.ts +3 -21
- package/dist/pages/PostPage/PostPageContent.d.ts +24 -0
- package/dist/pages/PostPage/index.d.ts +1 -0
- package/dist/pages/SearchPage/SearchPage.d.ts +4 -10
- package/dist/pages/SearchPage/SearchPageContent.d.ts +10 -0
- package/dist/pages/SearchPage/index.d.ts +1 -0
- package/dist/scss/abstracts/functions/_index.scss +0 -1
- package/dist/scss/abstracts/variables/_token-variables.scss +1 -2
- package/dist/scss/abstracts/variables/_variables.scss +1 -1
- package/dist/style.css +1 -1
- package/dist/templates/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/helpers/getCdnAssetsFile.d.ts +0 -1
- package/dist/imgs/category-intro-block-desktop.png +0 -0
- package/dist/imgs/category-intro-block-mobile.png +0 -0
- package/dist/scss/abstracts/functions/_get-cdn-assets-file.scss +0 -9
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import type { BoxProps } from '../../../../components';
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
4
|
export interface CategoryEndingBlockProps extends BoxProps {
|
|
5
|
-
title:
|
|
6
|
-
description:
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
description: React.ReactNode;
|
|
7
7
|
expertiseLink: {
|
|
8
8
|
label: string;
|
|
9
9
|
} & ComponentPropsWithoutRef<'a'>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { BoxProps, BreadcrumbProps } from '../../../../components';
|
|
3
3
|
export interface CategoryIntroBlockProps extends BoxProps {
|
|
4
|
-
title:
|
|
5
|
-
description:
|
|
4
|
+
title: React.ReactNode;
|
|
5
|
+
description: React.ReactNode;
|
|
6
6
|
breadcrumb: BreadcrumbProps;
|
|
7
7
|
}
|
|
8
8
|
export declare const CategoryIntroBlock: React.FC<CategoryIntroBlockProps>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
3
3
|
export interface HomeIntroBlockProps {
|
|
4
|
-
intro:
|
|
5
|
-
title:
|
|
6
|
-
description:
|
|
4
|
+
intro: React.ReactNode;
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
description: React.ReactNode;
|
|
7
7
|
elevenLabsLink: {
|
|
8
8
|
label: string;
|
|
9
9
|
} & ComponentPropsWithoutRef<'a'>;
|
|
@@ -3,7 +3,7 @@ import type { FlexProps } from '../../../../components';
|
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
4
|
export interface AuthorCardProps extends FlexProps {
|
|
5
5
|
name: string;
|
|
6
|
-
description:
|
|
6
|
+
description: React.ReactNode;
|
|
7
7
|
avatarImageUrl?: string;
|
|
8
8
|
link: {
|
|
9
9
|
label: string;
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import type { FlexProps } from '../../../../components';
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
4
|
export type ContactCardProps = {
|
|
5
|
-
title:
|
|
6
|
-
subtitle:
|
|
7
|
-
description:
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
subtitle: React.ReactNode;
|
|
7
|
+
description: React.ReactNode;
|
|
8
8
|
link: {
|
|
9
9
|
label: React.ReactNode;
|
|
10
10
|
} & ComponentPropsWithoutRef<'a'>;
|
|
@@ -3,8 +3,8 @@ import type { FlexProps } from '../../../../components';
|
|
|
3
3
|
export declare const newsletterCardVariant: readonly ["horizontal", "vertical"];
|
|
4
4
|
export type NewsletterCardVariantType = (typeof newsletterCardVariant)[number];
|
|
5
5
|
export interface NewsletterCardProps extends Omit<FlexProps, 'title'> {
|
|
6
|
-
title:
|
|
7
|
-
description:
|
|
6
|
+
title: React.ReactNode;
|
|
7
|
+
description: React.ReactNode;
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
variant?: NewsletterCardVariantType;
|
|
10
10
|
}
|
|
@@ -4,6 +4,6 @@ import type { IconNameType } from '../../../types';
|
|
|
4
4
|
export interface LinkProps extends BoxProps {
|
|
5
5
|
className?: string;
|
|
6
6
|
icon?: IconNameType;
|
|
7
|
-
children
|
|
7
|
+
children?: React.ReactNode;
|
|
8
8
|
}
|
|
9
9
|
export declare const Link: import("react-polymorphed").PolyForwardComponent<"a", LinkProps, React.ElementType<any>>;
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { BoxProps, PostCardProps } from '../../../../components';
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
4
|
export interface LastArticlesBlockProps extends BoxProps {
|
|
5
|
-
title:
|
|
5
|
+
title: React.ReactNode;
|
|
6
6
|
posts: Partial<PostCardProps>[];
|
|
7
7
|
linkSeeMore: {
|
|
8
8
|
label: string;
|
|
@@ -2,8 +2,8 @@ import React from 'react';
|
|
|
2
2
|
import type { FlexProps, PostCardProps } from '../../../../components';
|
|
3
3
|
import type { ComponentPropsWithoutRef } from '../../../../types';
|
|
4
4
|
export interface LastTutorialsBlockProps extends FlexProps {
|
|
5
|
-
title:
|
|
6
|
-
description:
|
|
5
|
+
title: React.ReactNode;
|
|
6
|
+
description: React.ReactNode;
|
|
7
7
|
posts: Partial<PostCardProps>[];
|
|
8
8
|
tutorialLabel: string;
|
|
9
9
|
linkSeeMore: {
|
|
Binary file
|
|
Binary file
|