@skhemata/skhemata-blog
Version:
Skhemata Blog Web Component. This web component provides several sub components in addition to main component, allowing featured blogs, blog listing and blog post display.
142 lines (141 loc) • 3.2 kB
TypeScript
import { TemplateResult } from '@skhemata/skhemata-base';
export interface API {
url?: string;
}
export interface ArgTypes {
apiWordpress?: API;
postsPerPage?: number;
pagerType?: string;
blogPagePath?: string;
postPagePath?: string;
slug?: string;
skhemataBlogTextColor?: string;
skhemataBlogLinkColor?: string;
skhemataBlogListTitleColor?: string;
skhemataBlogCategoriesBackgroundColor: string;
skhemataBlogCategoriesTextColor: string;
}
export interface Story<T> {
(args: T): TemplateResult;
args?: Partial<T>;
argTypes?: Record<string, unknown>;
parameters?: any;
}
export declare const argTypes: {
apiWordpress: {
name: string;
control: string;
table: {
category: string;
type: {
summary: string;
detail: string;
};
};
description: string;
};
pagerType: {
name: string;
control: string;
table: {
category: string;
type: {
summary: string;
};
};
description: string;
};
postsPerPage: {
name: string;
control: string;
table: {
category: string;
type: {
summary: string;
};
};
description: string;
};
blogPagePath: {
name: string;
table: {
category: string;
type: {
summary: string;
};
};
description: string;
};
slug: {
name: string;
control: string;
table: {
category: string;
type: {
summary: string;
};
};
description: string;
};
navigate: {
name: string;
table: {
category: string;
type: {
summary: string;
detail: string;
};
};
description: string;
};
skhemataBlogTextColor: {
name: string;
control: string;
description: string;
defaultValue: string;
table: {
category: string;
type: string;
};
};
skhemataBlogLinkColor: {
name: string;
control: string;
description: string;
defaultValue: string;
table: {
category: string;
type: string;
};
};
skhemataBlogListTitleColor: {
name: string;
control: string;
description: string;
defaultValue: string;
table: {
category: string;
type: string;
};
};
skhemataBlogCategoriesTextColor: {
name: string;
control: string;
description: string;
defaultValue: string;
table: {
category: string;
type: string;
};
};
skhemataBlogCategoriesBackgroundColor: {
name: string;
control: string;
description: string;
defaultValue: string;
table: {
category: string;
type: string;
};
};
};