@prokodo/ui 0.0.52 → 0.0.53
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/README.md +81 -81
- package/dist/components/accordion/Accordion.client.js +3 -1
- package/dist/components/accordion/Accordion.view.js +100 -81
- package/dist/components/animated/Animated.server.js +3 -1
- package/dist/components/animatedText/AnimatedText.client.js +1 -7
- package/dist/components/animatedText/AnimatedText.view.js +4 -1
- package/dist/components/avatar/Avatar.view.js +2 -2
- package/dist/components/base-link/BaseLink.view.js +1 -1
- package/dist/components/button/Button.server.js +1 -8
- package/dist/components/calendly/Calendly.client.js +63 -54
- package/dist/components/calendly/Calendly.server.js +3 -1
- package/dist/components/card/Card.client.js +2 -1
- package/dist/components/card/Card.effects.client.js +5 -1
- package/dist/components/card/Card.view.js +19 -2
- package/dist/components/carousel/Carousel.client.js +36 -12
- package/dist/components/chip/Chip.view.js +10 -6
- package/dist/components/datePicker/DatePicker.client.js +53 -37
- package/dist/components/datePicker/DatePicker.view.js +3 -1
- package/dist/components/dialog/Dialog.client.js +22 -14
- package/dist/components/dialog/Dialog.view.js +10 -2
- package/dist/components/drawer/Drawer.client.js +10 -2
- package/dist/components/drawer/Drawer.effects.client.js +7 -2
- package/dist/components/dynamic-list/DynamicList.client.js +8 -7
- package/dist/components/dynamic-list/DynamicList.server.js +10 -4
- package/dist/components/dynamic-list/DynamicList.view.js +1 -1
- package/dist/components/form/Form.client.js +16 -13
- package/dist/components/form/Form.view.js +8 -4
- package/dist/components/form/FormField.client.js +5 -5
- package/dist/components/form/FormField.server.js +3 -23
- package/dist/components/form/FormResponse.js +5 -1
- package/dist/components/grid/Grid.js +7 -2
- package/dist/components/grid/GridRow.js +12 -2
- package/dist/components/headline/Headline.js +3 -1
- package/dist/components/icon/Icon.js +8 -4
- package/dist/components/image-text/ImageText.js +5 -1
- package/dist/components/input/Input.client.js +52 -28
- package/dist/components/input/Input.view.js +92 -68
- package/dist/components/inputOTP/InputOTP.js +107 -90
- package/dist/components/label/Label.js +1 -8
- package/dist/components/link/Link.view.js +3 -1
- package/dist/components/list/List.js +94 -42
- package/dist/components/loading/Loading.client.js +15 -2
- package/dist/components/loading/Loading.server.js +8 -1
- package/dist/components/loading/Loading.view.js +30 -7
- package/dist/components/post-item/PostItem.client.js +18 -0
- package/dist/components/post-item/PostItem.js +7 -136
- package/dist/components/post-item/PostItem.lazy.js +14 -0
- package/dist/components/post-item/PostItem.module.scss.js +3 -1
- package/dist/components/post-item/PostItem.server.js +15 -0
- package/dist/components/post-item/PostItem.view.js +238 -0
- package/dist/components/post-item/PostItemAuthor.js +28 -22
- package/dist/components/post-teaser/PostTeaser.client.js +31 -0
- package/dist/components/post-teaser/PostTeaser.js +9 -169
- package/dist/components/post-teaser/PostTeaser.lazy.js +13 -0
- package/dist/components/post-teaser/PostTeaser.module.scss.js +3 -0
- package/dist/components/post-teaser/PostTeaser.server.js +23 -0
- package/dist/components/post-teaser/PostTeaser.view.js +252 -0
- package/dist/components/post-widget/PostWidget.client.js +9 -0
- package/dist/components/post-widget/PostWidget.js +11 -156
- package/dist/components/post-widget/PostWidget.lazy.js +13 -0
- package/dist/components/post-widget/PostWidget.module.scss.js +1 -0
- package/dist/components/post-widget/PostWidget.server.js +11 -0
- package/dist/components/post-widget/PostWidget.view.js +263 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.client.js +9 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +9 -160
- package/dist/components/post-widget-carousel/PostWidgetCarousel.lazy.js +13 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +3 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.server.js +11 -0
- package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +244 -0
- package/dist/components/rich-text/RichText.client.js +7 -2
- package/dist/components/select/Select.view.js +132 -116
- package/dist/components/sidenav/SideNav.client.js +19 -18
- package/dist/components/sidenav/SideNav.server.js +8 -1
- package/dist/components/sidenav/SideNav.view.js +21 -3
- package/dist/components/skeleton/Skeleton.effects.client.js +3 -1
- package/dist/components/slider/Slider.client.js +56 -38
- package/dist/components/slider/Slider.view.js +1 -7
- package/dist/components/snackbar/SnackbarProvider.client.js +21 -22
- package/dist/components/stepper/Stepper.client.js +1 -8
- package/dist/components/switch/Switch.client.js +1 -6
- package/dist/components/switch/Switch.server.js +1 -3
- package/dist/components/table/Table.js +3 -1
- package/dist/components/table/TableCell.js +13 -1
- package/dist/components/teaser/Teaser.js +1 -5
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +3 -1
- package/dist/helpers/createLazyWrapper.js +3 -1
- package/dist/helpers/date.js +21 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
- package/dist/types/components/animated/Animated.client.d.ts +2 -2
- package/dist/types/components/animated/Animated.model.d.ts +1 -1
- package/dist/types/components/button/Button.client.d.ts +1 -1
- package/dist/types/components/button/Button.d.ts +1 -1
- package/dist/types/components/button/Button.lazy.d.ts +1 -1
- package/dist/types/components/button/Button.server.d.ts +1 -1
- package/dist/types/components/button/Button.view.d.ts +1 -1
- package/dist/types/components/card/Card.effects.client.d.ts +1 -1
- package/dist/types/components/card/index.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.lazy.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.model.d.ts +4 -0
- package/dist/types/components/dialog/Dialog.client.d.ts +1 -1
- package/dist/types/components/dialog/Dialog.model.d.ts +4 -4
- package/dist/types/components/dialog/Dialog.view.d.ts +2 -2
- package/dist/types/components/drawer/Drawer.client.d.ts +1 -1
- package/dist/types/components/drawer/Drawer.d.ts +1 -1
- package/dist/types/components/drawer/Drawer.effects.client.d.ts +1 -1
- package/dist/types/components/drawer/Drawer.lazy.d.ts +1 -1
- package/dist/types/components/drawer/Drawer.model.d.ts +6 -6
- package/dist/types/components/drawer/Drawer.server.d.ts +1 -1
- package/dist/types/components/drawer/Drawer.view.d.ts +2 -2
- package/dist/types/components/drawer/index.d.ts +1 -1
- package/dist/types/components/icon/IconList.d.ts +1 -1
- package/dist/types/components/icon/index.d.ts +1 -1
- package/dist/types/components/image/Image.model.d.ts +2 -2
- package/dist/types/components/link/Link.d.ts +1 -1
- package/dist/types/components/link/Link.model.d.ts +1 -1
- package/dist/types/components/link/Link.server.d.ts +1 -1
- package/dist/types/components/loading/index.d.ts +1 -1
- package/dist/types/components/post-item/PostItem.client.d.ts +4 -0
- package/dist/types/components/post-item/PostItem.d.ts +3 -2
- package/dist/types/components/post-item/PostItem.lazy.d.ts +5 -0
- package/dist/types/components/post-item/PostItem.model.d.ts +46 -6
- package/dist/types/components/post-item/PostItem.server.d.ts +3 -0
- package/dist/types/components/post-item/PostItem.view.d.ts +3 -0
- package/dist/types/components/post-item/PostItemAuthor.model.d.ts +5 -8
- package/dist/types/components/post-item/index.d.ts +2 -2
- package/dist/types/components/post-teaser/PostTeaser.client.d.ts +4 -0
- package/dist/types/components/post-teaser/PostTeaser.d.ts +3 -2
- package/dist/types/components/post-teaser/PostTeaser.lazy.d.ts +5 -0
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +49 -3
- package/dist/types/components/post-teaser/PostTeaser.server.d.ts +3 -0
- package/dist/types/components/post-teaser/PostTeaser.view.d.ts +3 -0
- package/dist/types/components/post-teaser/index.d.ts +1 -1
- package/dist/types/components/post-widget/PostWidget.client.d.ts +4 -0
- package/dist/types/components/post-widget/PostWidget.d.ts +13 -3
- package/dist/types/components/post-widget/PostWidget.lazy.d.ts +14 -0
- package/dist/types/components/post-widget/PostWidget.model.d.ts +53 -3
- package/dist/types/components/post-widget/PostWidget.server.d.ts +3 -0
- package/dist/types/components/post-widget/PostWidget.view.d.ts +3 -0
- package/dist/types/components/post-widget/index.d.ts +1 -1
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.client.d.ts +3 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.d.ts +11 -3
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.lazy.d.ts +12 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.model.d.ts +39 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.server.d.ts +3 -0
- package/dist/types/components/post-widget-carousel/PostWidgetCarousel.view.d.ts +3 -0
- package/dist/types/components/post-widget-carousel/index.d.ts +1 -1
- package/dist/types/components/sidenav/index.d.ts +1 -1
- package/dist/types/components/skeleton/Skeleton.effects.client.d.ts +2 -2
- package/dist/types/helpers/createIsland.d.ts +1 -1
- package/dist/types/helpers/createLazyWrapper.d.ts +1 -1
- package/dist/types/helpers/date.d.ts +5 -0
- package/dist/ui.css +116 -35
- package/package.json +3 -2
|
@@ -1,21 +1,61 @@
|
|
|
1
1
|
import type { ButtonProps } from "../button";
|
|
2
|
+
import type { CardProps } from "../card";
|
|
2
3
|
import type { HeadlineProps } from "../headline";
|
|
3
4
|
import type { ImageProps } from "../image";
|
|
4
5
|
import type { PostItemAuthorProps } from "./PostItemAuthor.model";
|
|
5
|
-
import type { ComponentType } from "react";
|
|
6
6
|
export type PostItemHeadline = {
|
|
7
7
|
content: string;
|
|
8
8
|
} & Omit<HeadlineProps, "children">;
|
|
9
|
-
export type
|
|
9
|
+
export type PostItemClasses = {
|
|
10
|
+
root?: string;
|
|
11
|
+
grid?: string;
|
|
12
|
+
main?: string;
|
|
13
|
+
media?: string;
|
|
14
|
+
animation?: string;
|
|
15
|
+
headline?: string;
|
|
16
|
+
info?: string;
|
|
17
|
+
date?: string;
|
|
18
|
+
readingTime?: string;
|
|
19
|
+
readCount?: string;
|
|
20
|
+
contentParagraph?: string;
|
|
21
|
+
button?: string;
|
|
22
|
+
buttonContent?: string;
|
|
23
|
+
imageWrapper?: string;
|
|
24
|
+
imageContentWrapper?: string;
|
|
25
|
+
};
|
|
26
|
+
export type PostItemComponentsProps = {
|
|
27
|
+
card?: Partial<CardProps>;
|
|
28
|
+
headline?: Partial<HeadlineProps>;
|
|
29
|
+
button?: Partial<ButtonProps>;
|
|
30
|
+
image?: Partial<ImageProps>;
|
|
31
|
+
author?: Partial<PostItemAuthorProps>;
|
|
32
|
+
};
|
|
33
|
+
export type PostItemWithDate = {
|
|
34
|
+
date: string;
|
|
35
|
+
locale: Intl.LocalesArgument;
|
|
36
|
+
};
|
|
37
|
+
export type PostItemWithoutDate = {
|
|
38
|
+
date?: undefined;
|
|
39
|
+
locale?: never;
|
|
40
|
+
};
|
|
41
|
+
export type PostItemPropsBase = {
|
|
42
|
+
className?: string;
|
|
43
|
+
classes?: PostItemClasses;
|
|
44
|
+
componentsProps?: PostItemComponentsProps;
|
|
10
45
|
readCount?: number;
|
|
11
46
|
title: PostItemHeadline;
|
|
12
|
-
className?: string;
|
|
13
47
|
author?: PostItemAuthorProps;
|
|
14
48
|
category?: string;
|
|
15
49
|
content?: string;
|
|
16
|
-
date?: string;
|
|
17
50
|
metaDate?: string;
|
|
18
|
-
image?:
|
|
51
|
+
image?: string;
|
|
19
52
|
button?: ButtonProps;
|
|
20
|
-
|
|
53
|
+
structuredData?: boolean;
|
|
54
|
+
readingWpm?: number;
|
|
55
|
+
animate?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export type PostItemProps = PostItemPropsBase & (PostItemWithDate | PostItemWithoutDate);
|
|
58
|
+
export type PostItemViewPrivateProps = {
|
|
59
|
+
wordCount: number;
|
|
60
|
+
readMinutes: number;
|
|
21
61
|
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import type { AvatarProps } from "../avatar";
|
|
2
|
-
import type { ImageProps } from "../image";
|
|
3
|
-
import type { HTMLAttributes } from "react";
|
|
4
|
-
export type PostItemAuthorAvatar = Omit<ImageProps, "src" | "alt"> & {
|
|
5
|
-
src?: string;
|
|
6
|
-
alt?: string;
|
|
7
|
-
};
|
|
8
2
|
export type PostItemAuthorProps = {
|
|
9
3
|
className?: string;
|
|
10
|
-
avatar?:
|
|
4
|
+
avatar?: {
|
|
5
|
+
src?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
};
|
|
11
8
|
avatarProps?: AvatarProps;
|
|
12
9
|
name?: string;
|
|
13
|
-
nameProps?: HTMLAttributes<HTMLParagraphElement>;
|
|
10
|
+
nameProps?: React.HTMLAttributes<HTMLParagraphElement>;
|
|
14
11
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from "./PostItem";
|
|
2
2
|
export * from "./PostItemAuthor";
|
|
3
|
-
export type { PostItemProps, PostItemHeadline, } from "./PostItem.model";
|
|
4
|
-
export type {
|
|
3
|
+
export type { PostItemProps, PostItemHeadline, PostItemClasses, PostItemComponentsProps, PostItemPropsBase, PostItemWithDate, PostItemWithoutDate, PostItemViewPrivateProps, } from "./PostItem.model";
|
|
4
|
+
export type { PostItemAuthorProps } from "./PostItemAuthor.model";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { CardProps } from "../card";
|
|
2
|
+
import type { ChipProps } from "../chip";
|
|
1
3
|
import type { HeadlineProps } from "../headline";
|
|
2
4
|
import type { IconProps } from "../icon";
|
|
3
5
|
import type { ImageProps } from "../image";
|
|
@@ -10,16 +12,60 @@ export type PostTeaserRedirect = LinkProps & {
|
|
|
10
12
|
label?: string;
|
|
11
13
|
icon?: IconProps;
|
|
12
14
|
};
|
|
13
|
-
export type
|
|
15
|
+
export type PostTeaserClasses = {
|
|
16
|
+
root?: string;
|
|
17
|
+
cardContainer?: string;
|
|
18
|
+
card?: string;
|
|
19
|
+
header?: string;
|
|
20
|
+
imageWrapper?: string;
|
|
21
|
+
imageContainer?: string;
|
|
22
|
+
image?: string;
|
|
23
|
+
meta?: string;
|
|
24
|
+
metaCategory?: string;
|
|
25
|
+
headline?: string;
|
|
26
|
+
cardContent?: string;
|
|
27
|
+
content?: string;
|
|
28
|
+
cardFooter?: string;
|
|
29
|
+
date?: string;
|
|
30
|
+
link?: string;
|
|
31
|
+
linkIcon?: string;
|
|
32
|
+
};
|
|
33
|
+
export type PostTeaserComponentsProps = {
|
|
34
|
+
card?: Partial<CardProps>;
|
|
35
|
+
image?: Partial<ImageProps>;
|
|
36
|
+
headline?: Partial<HeadlineProps>;
|
|
37
|
+
categoryChip?: Partial<ChipProps>;
|
|
38
|
+
readCountChip?: Partial<ChipProps>;
|
|
39
|
+
linkIcon?: Partial<IconProps>;
|
|
40
|
+
};
|
|
41
|
+
export type PostTeaserWithDate = {
|
|
42
|
+
date: string;
|
|
43
|
+
locale: Intl.LocalesArgument;
|
|
44
|
+
};
|
|
45
|
+
export type PostTeaserWithoutDate = {
|
|
46
|
+
date?: undefined;
|
|
47
|
+
locale?: never;
|
|
48
|
+
};
|
|
49
|
+
export type PostTeaserPropsBase = {
|
|
14
50
|
className?: string;
|
|
51
|
+
classes?: PostTeaserClasses;
|
|
52
|
+
componentsProps?: PostTeaserComponentsProps;
|
|
15
53
|
readCount?: number;
|
|
16
54
|
title: PostTeaserHeadline;
|
|
17
55
|
content?: string;
|
|
18
56
|
hideCategory?: boolean;
|
|
19
57
|
category?: string;
|
|
20
|
-
date?: string;
|
|
21
|
-
metaDate?: string;
|
|
22
58
|
image?: PostTeaserImage;
|
|
23
59
|
onClick?: () => void;
|
|
24
60
|
redirect?: PostTeaserRedirect;
|
|
61
|
+
structuredData?: boolean;
|
|
62
|
+
readingWpm?: number;
|
|
63
|
+
};
|
|
64
|
+
export type PostTeaserProps = PostTeaserPropsBase & (PostTeaserWithDate | PostTeaserWithoutDate);
|
|
65
|
+
export type PostTeaserViewProps = PostTeaserProps & {
|
|
66
|
+
isHovered?: boolean;
|
|
67
|
+
wordCount: number;
|
|
68
|
+
readMinutes: number;
|
|
69
|
+
onMouseEnter?: () => void;
|
|
70
|
+
onMouseLeave?: () => void;
|
|
25
71
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./PostTeaser";
|
|
2
|
-
export type { PostTeaserProps, PostTeaserHeadline, PostTeaserImage, PostTeaserRedirect, } from "./PostTeaser.model";
|
|
2
|
+
export type { PostTeaserProps, PostTeaserHeadline, PostTeaserImage, PostTeaserRedirect, PostTeaserClasses, PostTeaserComponentsProps, PostTeaserPropsBase, PostTeaserWithDate, PostTeaserWithoutDate, PostTeaserViewProps, } from "./PostTeaser.model";
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const PostWidget: import("react").ComponentType<Omit<import("../card").CardProps, "children"> & {
|
|
2
|
+
fullWidth?: boolean;
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: import("./PostWidget.model").PostWidgetHeadline;
|
|
5
|
+
listClassName?: string;
|
|
6
|
+
contentClassName?: string;
|
|
7
|
+
items?: import("./PostWidget.model").PostWidgetItem[];
|
|
8
|
+
classes?: import("./PostWidget.model").PostWidgetClasses;
|
|
9
|
+
componentsProps?: import("./PostWidget.model").PostWidgetComponentsProps;
|
|
10
|
+
structuredData?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
priority?: boolean;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("react").ComponentType<Omit<import("../card").CardProps, "children"> & {
|
|
2
|
+
fullWidth?: boolean;
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: import("./PostWidget.model").PostWidgetHeadline;
|
|
5
|
+
listClassName?: string;
|
|
6
|
+
contentClassName?: string;
|
|
7
|
+
items?: import("./PostWidget.model").PostWidgetItem[];
|
|
8
|
+
classes?: import("./PostWidget.model").PostWidgetClasses;
|
|
9
|
+
componentsProps?: import("./PostWidget.model").PostWidgetComponentsProps;
|
|
10
|
+
structuredData?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
priority?: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
@@ -8,18 +8,68 @@ export type PostWidgetHeadline = {
|
|
|
8
8
|
} & Omit<HeadlineProps, "children">;
|
|
9
9
|
export type PostWidgetImage = ImageProps;
|
|
10
10
|
export type PostWidgetRedirect = LinkProps;
|
|
11
|
-
export type
|
|
11
|
+
export type PostWidgetItemDefault = {
|
|
12
12
|
title: PostWidgetHeadline;
|
|
13
13
|
category?: string;
|
|
14
|
-
date?: string;
|
|
15
|
-
dateProps?: TimeHTMLAttributes<HTMLTimeElement>;
|
|
16
14
|
image?: PostWidgetImage;
|
|
17
15
|
redirect: PostWidgetRedirect;
|
|
16
|
+
classes?: {
|
|
17
|
+
li?: string;
|
|
18
|
+
article?: string;
|
|
19
|
+
header?: string;
|
|
20
|
+
content?: string;
|
|
21
|
+
imageLink?: string;
|
|
22
|
+
image?: string;
|
|
23
|
+
headline?: string;
|
|
24
|
+
date?: string;
|
|
25
|
+
};
|
|
26
|
+
componentsProps?: {
|
|
27
|
+
image?: Partial<ImageProps>;
|
|
28
|
+
headline?: Partial<HeadlineProps>;
|
|
29
|
+
link?: Partial<LinkProps>;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export type PostWidgetItemDateProps = {
|
|
33
|
+
dateProps?: TimeHTMLAttributes<HTMLTimeElement>;
|
|
34
|
+
};
|
|
35
|
+
export type PostWidgetItemWithoutDate = PostWidgetItemDateProps & {
|
|
36
|
+
date?: undefined;
|
|
37
|
+
locale?: never;
|
|
38
|
+
};
|
|
39
|
+
export type PostWidgetItemWithDate = PostWidgetItemDateProps & {
|
|
40
|
+
date: string;
|
|
41
|
+
locale: Intl.LocalesArgument;
|
|
42
|
+
};
|
|
43
|
+
export type PostWidgetItem = PostWidgetItemDefault & (PostWidgetItemWithoutDate | PostWidgetItemWithDate);
|
|
44
|
+
export type PostWidgetClasses = {
|
|
45
|
+
root?: string;
|
|
46
|
+
cardContainer?: string;
|
|
47
|
+
card?: string;
|
|
48
|
+
title?: string;
|
|
49
|
+
list?: string;
|
|
50
|
+
listItem?: string;
|
|
51
|
+
listItemContent?: string;
|
|
52
|
+
imageLink?: string;
|
|
53
|
+
imageContainer?: string;
|
|
54
|
+
image?: string;
|
|
55
|
+
content?: string;
|
|
56
|
+
headline?: string;
|
|
57
|
+
date?: string;
|
|
58
|
+
};
|
|
59
|
+
export type PostWidgetComponentsProps = {
|
|
60
|
+
card?: Partial<CardProps>;
|
|
61
|
+
title?: Partial<HeadlineProps>;
|
|
62
|
+
image?: Partial<ImageProps>;
|
|
63
|
+
link?: Partial<LinkProps>;
|
|
18
64
|
};
|
|
19
65
|
export type PostWidgetProps = Omit<CardProps, "children"> & {
|
|
20
66
|
fullWidth?: boolean;
|
|
21
67
|
className?: string;
|
|
22
68
|
title?: PostWidgetHeadline;
|
|
23
69
|
listClassName?: string;
|
|
70
|
+
contentClassName?: string;
|
|
24
71
|
items?: PostWidgetItem[];
|
|
72
|
+
classes?: PostWidgetClasses;
|
|
73
|
+
componentsProps?: PostWidgetComponentsProps;
|
|
74
|
+
structuredData?: boolean;
|
|
25
75
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { type JSX } from "react";
|
|
2
|
+
import type { PostWidgetProps } from "./PostWidget.model";
|
|
3
|
+
export declare function PostWidgetView({ fullWidth, className, title, listClassName, contentClassName, items, classes, componentsProps, structuredData, ...rest }: PostWidgetProps): JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./PostWidget";
|
|
2
|
-
export type { PostWidgetProps, PostWidgetHeadline, PostWidgetImage,
|
|
2
|
+
export type { PostWidgetProps, PostWidgetItem, PostWidgetHeadline, PostWidgetImage, PostWidgetRedirect, PostWidgetClasses, PostWidgetComponentsProps, PostWidgetItemDefault, PostWidgetItemDateProps, PostWidgetItemWithoutDate, PostWidgetItemWithDate, } from "./PostWidget.model";
|
|
@@ -1,3 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const PostWidgetCarousel: import("react").ComponentType<Omit<import("../card").CardProps, "children"> & {
|
|
2
|
+
autoplay?: number;
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: import("./PostWidgetCarousel.model").PostWidgetCarouselHeadline;
|
|
5
|
+
items?: import("./PostWidgetCarousel.model").PostWidgetCarouselItem[];
|
|
6
|
+
classes?: import("./PostWidgetCarousel.model").PostWidgetCarouselClasses;
|
|
7
|
+
componentsProps?: import("./PostWidgetCarousel.model").PostWidgetCarouselComponentsProps;
|
|
8
|
+
structuredData?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
priority?: boolean;
|
|
11
|
+
}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: import("react").ComponentType<Omit<import("../card").CardProps, "children"> & {
|
|
2
|
+
autoplay?: number;
|
|
3
|
+
className?: string;
|
|
4
|
+
title?: import("./PostWidgetCarousel.model").PostWidgetCarouselHeadline;
|
|
5
|
+
items?: import("./PostWidgetCarousel.model").PostWidgetCarouselItem[];
|
|
6
|
+
classes?: import("./PostWidgetCarousel.model").PostWidgetCarouselClasses;
|
|
7
|
+
componentsProps?: import("./PostWidgetCarousel.model").PostWidgetCarouselComponentsProps;
|
|
8
|
+
structuredData?: boolean;
|
|
9
|
+
} & {
|
|
10
|
+
priority?: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ButtonProps } from "../button";
|
|
1
2
|
import type { CardProps } from "../card";
|
|
2
3
|
import type { HeadlineProps } from "../headline";
|
|
3
4
|
import type { ImageProps } from "../image";
|
|
@@ -11,10 +12,48 @@ export type PostWidgetCarouselItem = {
|
|
|
11
12
|
title: PostWidgetCarouselHeadline;
|
|
12
13
|
image?: PostWidgetCarouselImage;
|
|
13
14
|
redirect: PostWidgetCarouselRedirect;
|
|
15
|
+
classes?: {
|
|
16
|
+
slide?: string;
|
|
17
|
+
imageLink?: string;
|
|
18
|
+
image?: string;
|
|
19
|
+
link?: string;
|
|
20
|
+
headline?: string;
|
|
21
|
+
};
|
|
22
|
+
componentsProps?: {
|
|
23
|
+
image?: Partial<ImageProps>;
|
|
24
|
+
link?: Partial<LinkProps>;
|
|
25
|
+
headline?: Partial<HeadlineProps>;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export type PostWidgetCarouselClasses = {
|
|
29
|
+
root?: string;
|
|
30
|
+
cardContainer?: string;
|
|
31
|
+
card?: string;
|
|
32
|
+
title?: string;
|
|
33
|
+
carousel?: string;
|
|
34
|
+
carouselWrapper?: string;
|
|
35
|
+
carouselDots?: string;
|
|
36
|
+
carouselItem?: string;
|
|
37
|
+
carouselItemImageLink?: string;
|
|
38
|
+
carouselItemImage?: string;
|
|
39
|
+
carouselItemLink?: string;
|
|
40
|
+
carouselButtons?: string;
|
|
41
|
+
carouselButton?: string;
|
|
42
|
+
};
|
|
43
|
+
export type PostWidgetCarouselComponentsProps = {
|
|
44
|
+
card?: Partial<CardProps>;
|
|
45
|
+
title?: Partial<HeadlineProps>;
|
|
46
|
+
image?: Partial<ImageProps>;
|
|
47
|
+
link?: Partial<LinkProps>;
|
|
48
|
+
prevButton?: Partial<ButtonProps>;
|
|
49
|
+
nextButton?: Partial<ButtonProps>;
|
|
14
50
|
};
|
|
15
51
|
export type PostWidgetCarouselProps = Omit<CardProps, "children"> & {
|
|
16
52
|
autoplay?: number;
|
|
17
53
|
className?: string;
|
|
18
54
|
title?: PostWidgetCarouselHeadline;
|
|
19
55
|
items?: PostWidgetCarouselItem[];
|
|
56
|
+
classes?: PostWidgetCarouselClasses;
|
|
57
|
+
componentsProps?: PostWidgetCarouselComponentsProps;
|
|
58
|
+
structuredData?: boolean;
|
|
20
59
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./PostWidgetCarousel";
|
|
2
|
-
export type { PostWidgetCarouselProps, PostWidgetCarouselHeadline, PostWidgetCarouselImage,
|
|
2
|
+
export type { PostWidgetCarouselProps, PostWidgetCarouselItem, PostWidgetCarouselHeadline, PostWidgetCarouselImage, PostWidgetCarouselRedirect, PostWidgetCarouselClasses, PostWidgetCarouselComponentsProps, } from "./PostWidgetCarousel.model";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export * from "./SideNav";
|
|
2
|
-
export type { SideNavItem, SideNavProps
|
|
2
|
+
export type { SideNavItem, SideNavProps } from "./SideNav.model";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
type Anim =
|
|
2
|
-
export declare function SkeletonEffectsLoader({ animation }: {
|
|
1
|
+
type Anim = "wave" | "pulse" | "none" | undefined;
|
|
2
|
+
export declare function SkeletonEffectsLoader({ animation, }: {
|
|
3
3
|
animation: Anim;
|
|
4
4
|
}): null;
|
|
5
5
|
export {};
|