@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
@@ -1,21 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { NewsletterCardProps } from '../../components/Molecules/Cards/NewsletterCard';
3
- export type SocialNetworkName = 'github' | 'twitter' | 'linkedin';
4
- export type AuthorPageProps = {
5
- author: {
6
- username: string;
7
- name: string;
8
- avatarImageUrl?: string;
9
- content: string;
10
- socialNetworks?: {
11
- name: SocialNetworkName;
12
- url: string;
13
- username: string;
14
- }[];
15
- };
16
- emptyAvatarImageUrl: string;
17
- title: React.ReactNode;
18
- postCardList: React.ReactNode;
3
+ import type { AuthorPageContentProps } from './AuthorPageContent';
4
+ export interface AuthorPageProps extends AuthorPageContentProps {
19
5
  newsletterCard: NewsletterCardProps;
20
- };
6
+ }
21
7
  export declare const AuthorPage: React.FC<AuthorPageProps>;
@@ -0,0 +1,19 @@
1
+ import React from 'react';
2
+ export type SocialNetworkName = 'github' | 'twitter' | 'linkedin';
3
+ export type AuthorPageContentProps = {
4
+ author: {
5
+ username: string;
6
+ name: string;
7
+ avatarImageUrl?: string;
8
+ content: React.ReactNode;
9
+ socialNetworks?: {
10
+ name: SocialNetworkName;
11
+ url: string;
12
+ username: string;
13
+ }[];
14
+ };
15
+ emptyAvatarImageUrl: string;
16
+ title: React.ReactNode;
17
+ postCardList: React.ReactNode;
18
+ };
19
+ export declare const AuthorPageContent: React.FC<AuthorPageContentProps>;
@@ -1 +1,2 @@
1
1
  export * from './AuthorPage';
2
+ export * from './AuthorPageContent';
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
- import type { CategoryEndingBlockProps, CategoryIntroBlockProps } from '../../components';
2
+ import type { CategoryIntroBlockProps } from '../../components';
3
3
  import type { NewsletterCardProps } from '../../components/Molecules/Cards/NewsletterCard';
4
- export type CategoryPageProps = {
4
+ import type { CategoryPageContentProps } from './CategoryPageContent';
5
+ export interface CategoryPageProps extends CategoryPageContentProps {
5
6
  categoryIntroBlock: CategoryIntroBlockProps;
6
- categoryEndingBlock: CategoryEndingBlockProps;
7
- title: React.ReactNode;
8
- postCardList: React.ReactNode;
9
7
  newsletterCard: NewsletterCardProps;
10
- };
8
+ }
11
9
  export declare const CategoryPage: React.FC<CategoryPageProps>;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import type { CategoryEndingBlockProps } from '../../components';
3
+ export type CategoryPageContentProps = {
4
+ categoryEndingBlock?: CategoryEndingBlockProps;
5
+ title: React.ReactNode;
6
+ postCardList: React.ReactNode;
7
+ };
8
+ export declare const CategoryPageContent: React.FC<CategoryPageContentProps>;
@@ -1 +1,2 @@
1
1
  export * from './CategoryPage';
2
+ export * from './CategoryPageContent';
@@ -1,25 +1,7 @@
1
1
  import React from 'react';
2
- import type { BreadcrumbProps, ContactCardProps, SummaryCardProps } from '../../components';
3
- import type { ComponentPropsWithoutRef } from '../../types';
4
- import type { PostFooterProps } from './PostFooter';
5
- import type { PostHeaderProps } from './PostHeader';
6
- import type { RelatedPostListProps } from './RelatedPostList';
7
- export declare const postPageVariant: readonly ["article", "tutorial"];
8
- export type PostPageVariantType = (typeof postPageVariant)[number];
9
- export interface PostPageProps {
10
- variant: PostPageVariantType;
11
- breadcrumb: BreadcrumbProps;
12
- header: Omit<PostHeaderProps, 'contentType'>;
13
- children: React.ReactNode;
14
- footer: PostFooterProps;
15
- contactCard: ContactCardProps;
16
- relatedPostList: RelatedPostListProps;
2
+ import type { SummaryCardProps } from '../../components';
3
+ import type { PostPageContentProps } from './PostPageContent';
4
+ export interface PostPageProps extends PostPageContentProps {
17
5
  summary: SummaryCardProps;
18
- previousLink?: {
19
- label: string;
20
- } & ComponentPropsWithoutRef<'a'>;
21
- nextLink?: {
22
- label: string;
23
- } & ComponentPropsWithoutRef<'a'>;
24
6
  }
25
7
  export declare const PostPage: React.FC<PostPageProps>;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import type { BreadcrumbProps, ContactCardProps } from '../../components';
3
+ import type { ComponentPropsWithoutRef } from '../../types';
4
+ import type { PostFooterProps } from './PostFooter';
5
+ import type { PostHeaderProps } from './PostHeader';
6
+ import type { RelatedPostListProps } from './RelatedPostList';
7
+ export declare const postPageVariant: readonly ["article", "tutorial"];
8
+ export type PostPageVariantType = (typeof postPageVariant)[number];
9
+ export interface PostPageContentProps {
10
+ variant: PostPageVariantType;
11
+ breadcrumb: BreadcrumbProps;
12
+ header: Omit<PostHeaderProps, 'contentType'>;
13
+ children: React.ReactNode;
14
+ footer: PostFooterProps;
15
+ contactCard: ContactCardProps;
16
+ relatedPostList: RelatedPostListProps;
17
+ previousLink?: {
18
+ label: string;
19
+ } & ComponentPropsWithoutRef<'a'>;
20
+ nextLink?: {
21
+ label: string;
22
+ } & ComponentPropsWithoutRef<'a'>;
23
+ }
24
+ export declare const PostPageContent: React.FC<PostPageContentProps>;
@@ -1 +1,2 @@
1
1
  export * from './PostPage';
2
+ export * from './PostPageContent';
@@ -1,12 +1,6 @@
1
1
  import React from 'react';
2
- import type { NotFoundBlockProps } from '../../components';
3
- import { type NewsletterCardProps } from '../../components/Molecules/Cards/NewsletterCard';
4
- export type SearchPageProps = {
5
- title: React.ReactNode;
6
- description: React.ReactNode;
7
- postCardList: React.ReactNode;
8
- newsletterCard: NewsletterCardProps;
9
- searchNotFound?: NotFoundBlockProps;
10
- isLoading?: boolean;
11
- };
2
+ import type { SearchPageContentProps } from './SearchPageContent';
3
+ export interface SearchPageProps extends SearchPageContentProps {
4
+ sidebar: React.ReactNode;
5
+ }
12
6
  export declare const SearchPage: React.FC<SearchPageProps>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { NotFoundBlockProps } from '../../components';
3
+ export type SearchPageContentProps = {
4
+ title: React.ReactNode;
5
+ description: React.ReactNode;
6
+ postCardList: React.ReactNode;
7
+ searchNotFound?: NotFoundBlockProps;
8
+ isLoading?: boolean;
9
+ };
10
+ export declare const SearchPageContent: React.FC<SearchPageContentProps>;
@@ -1 +1,2 @@
1
1
  export * from './SearchPage';
2
+ export * from './SearchPageContent';
@@ -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
 
6
6
  $token-variables: (
@@ -1,7 +1,7 @@
1
1
 
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Wed, 17 Jan 2024 08:04:41 GMT
4
+ * Generated on Fri, 19 Jan 2024 10:37:41 GMT
5
5
  */
6
6
 
7
7
  $white: #FFF !default;