@eleven-labs/design-system 0.22.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.
Files changed (30) hide show
  1. package/dist/components/Molecules/Blocks/CategoryEndingBlock/CategoryEndingBlock.d.ts +2 -2
  2. package/dist/components/Molecules/Blocks/CategoryIntroBlock/CategoryIntroBlock.d.ts +2 -2
  3. package/dist/components/Molecules/Blocks/HomeIntroBlock/HomeIntroBlock.d.ts +3 -3
  4. package/dist/components/Molecules/Cards/AuthorCard/AuthorCard.d.ts +1 -1
  5. package/dist/components/Molecules/Cards/ContactCard/ContactCard.d.ts +3 -3
  6. package/dist/components/Molecules/Cards/NewsletterCard/NewsletterCard.d.ts +2 -2
  7. package/dist/components/Molecules/Link/Link.d.ts +1 -1
  8. package/dist/components/Organisms/Autocomplete/AutocompleteResult/AutocompleteResult.d.ts +2 -2
  9. package/dist/components/Organisms/Blocks/LastArticlesBlock/LastArticlesBlock.d.ts +1 -1
  10. package/dist/components/Organisms/Blocks/LastTutorialsBlock/LastTutorialsBlock.d.ts +2 -2
  11. package/dist/constants/tokenVariables.d.ts +1 -1
  12. package/dist/index.es.js +636 -646
  13. package/dist/index.umd.cjs +14 -14
  14. package/dist/pages/AuthorPage/AuthorPage.d.ts +3 -17
  15. package/dist/pages/AuthorPage/AuthorPageContent.d.ts +19 -0
  16. package/dist/pages/AuthorPage/index.d.ts +1 -0
  17. package/dist/pages/CategoryPage/CategoryPage.d.ts +4 -6
  18. package/dist/pages/CategoryPage/CategoryPageContent.d.ts +8 -0
  19. package/dist/pages/CategoryPage/index.d.ts +1 -0
  20. package/dist/pages/PostPage/PostPage.d.ts +3 -21
  21. package/dist/pages/PostPage/PostPageContent.d.ts +24 -0
  22. package/dist/pages/PostPage/index.d.ts +1 -0
  23. package/dist/pages/SearchPage/SearchPage.d.ts +4 -10
  24. package/dist/pages/SearchPage/SearchPageContent.d.ts +10 -0
  25. package/dist/pages/SearchPage/index.d.ts +1 -0
  26. package/dist/scss/abstracts/variables/_token-variables.scss +1 -1
  27. package/dist/scss/abstracts/variables/_variables.scss +1 -1
  28. package/dist/style.css +1 -1
  29. package/dist/templates/index.d.ts +1 -0
  30. package/package.json +1 -1
@@ -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: string;
6
- description: string;
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: string;
5
- description: string;
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: string;
5
- title: string;
6
- description: string;
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: string;
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: string;
6
- subtitle: string;
7
- description: string;
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: string;
7
- description: string;
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: React.ReactNode;
7
+ children?: React.ReactNode;
8
8
  }
9
9
  export declare const Link: import("react-polymorphed").PolyForwardComponent<"a", LinkProps, React.ElementType<any>>;
@@ -19,8 +19,8 @@ export type AutocompleteResultOptions = {
19
19
  label: string;
20
20
  };
21
21
  searchNotFound?: {
22
- title: string;
23
- description: string;
22
+ title: React.ReactNode;
23
+ description: React.ReactNode;
24
24
  };
25
25
  highlightedIndex?: number;
26
26
  };
@@ -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: string;
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: string;
6
- description: string;
5
+ title: React.ReactNode;
6
+ description: React.ReactNode;
7
7
  posts: Partial<PostCardProps>[];
8
8
  tutorialLabel: string;
9
9
  linkSeeMore: {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 17 Jan 2024 08:04:41 GMT
3
+ * Generated on Fri, 19 Jan 2024 10:37:41 GMT
4
4
  */
5
5
  export declare const tokenVariables: {
6
6
  asset: {