@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.
- 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/index.es.js +636 -646
- 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/variables/_token-variables.scss +1 -1
- 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
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { NewsletterCardProps } from '../../components/Molecules/Cards/NewsletterCard';
|
|
3
|
-
|
|
4
|
-
export
|
|
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,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CategoryIntroBlockProps } from '../../components';
|
|
3
3
|
import type { NewsletterCardProps } from '../../components/Molecules/Cards/NewsletterCard';
|
|
4
|
-
|
|
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,25 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
|
|
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,12 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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>;
|