@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.
Files changed (156) hide show
  1. package/README.md +81 -81
  2. package/dist/components/accordion/Accordion.client.js +3 -1
  3. package/dist/components/accordion/Accordion.view.js +100 -81
  4. package/dist/components/animated/Animated.server.js +3 -1
  5. package/dist/components/animatedText/AnimatedText.client.js +1 -7
  6. package/dist/components/animatedText/AnimatedText.view.js +4 -1
  7. package/dist/components/avatar/Avatar.view.js +2 -2
  8. package/dist/components/base-link/BaseLink.view.js +1 -1
  9. package/dist/components/button/Button.server.js +1 -8
  10. package/dist/components/calendly/Calendly.client.js +63 -54
  11. package/dist/components/calendly/Calendly.server.js +3 -1
  12. package/dist/components/card/Card.client.js +2 -1
  13. package/dist/components/card/Card.effects.client.js +5 -1
  14. package/dist/components/card/Card.view.js +19 -2
  15. package/dist/components/carousel/Carousel.client.js +36 -12
  16. package/dist/components/chip/Chip.view.js +10 -6
  17. package/dist/components/datePicker/DatePicker.client.js +53 -37
  18. package/dist/components/datePicker/DatePicker.view.js +3 -1
  19. package/dist/components/dialog/Dialog.client.js +22 -14
  20. package/dist/components/dialog/Dialog.view.js +10 -2
  21. package/dist/components/drawer/Drawer.client.js +10 -2
  22. package/dist/components/drawer/Drawer.effects.client.js +7 -2
  23. package/dist/components/dynamic-list/DynamicList.client.js +8 -7
  24. package/dist/components/dynamic-list/DynamicList.server.js +10 -4
  25. package/dist/components/dynamic-list/DynamicList.view.js +1 -1
  26. package/dist/components/form/Form.client.js +16 -13
  27. package/dist/components/form/Form.view.js +8 -4
  28. package/dist/components/form/FormField.client.js +5 -5
  29. package/dist/components/form/FormField.server.js +3 -23
  30. package/dist/components/form/FormResponse.js +5 -1
  31. package/dist/components/grid/Grid.js +7 -2
  32. package/dist/components/grid/GridRow.js +12 -2
  33. package/dist/components/headline/Headline.js +3 -1
  34. package/dist/components/icon/Icon.js +8 -4
  35. package/dist/components/image-text/ImageText.js +5 -1
  36. package/dist/components/input/Input.client.js +52 -28
  37. package/dist/components/input/Input.view.js +92 -68
  38. package/dist/components/inputOTP/InputOTP.js +107 -90
  39. package/dist/components/label/Label.js +1 -8
  40. package/dist/components/link/Link.view.js +3 -1
  41. package/dist/components/list/List.js +94 -42
  42. package/dist/components/loading/Loading.client.js +15 -2
  43. package/dist/components/loading/Loading.server.js +8 -1
  44. package/dist/components/loading/Loading.view.js +30 -7
  45. package/dist/components/post-item/PostItem.client.js +18 -0
  46. package/dist/components/post-item/PostItem.js +7 -136
  47. package/dist/components/post-item/PostItem.lazy.js +14 -0
  48. package/dist/components/post-item/PostItem.module.scss.js +3 -1
  49. package/dist/components/post-item/PostItem.server.js +15 -0
  50. package/dist/components/post-item/PostItem.view.js +238 -0
  51. package/dist/components/post-item/PostItemAuthor.js +28 -22
  52. package/dist/components/post-teaser/PostTeaser.client.js +31 -0
  53. package/dist/components/post-teaser/PostTeaser.js +9 -169
  54. package/dist/components/post-teaser/PostTeaser.lazy.js +13 -0
  55. package/dist/components/post-teaser/PostTeaser.module.scss.js +3 -0
  56. package/dist/components/post-teaser/PostTeaser.server.js +23 -0
  57. package/dist/components/post-teaser/PostTeaser.view.js +252 -0
  58. package/dist/components/post-widget/PostWidget.client.js +9 -0
  59. package/dist/components/post-widget/PostWidget.js +11 -156
  60. package/dist/components/post-widget/PostWidget.lazy.js +13 -0
  61. package/dist/components/post-widget/PostWidget.module.scss.js +1 -0
  62. package/dist/components/post-widget/PostWidget.server.js +11 -0
  63. package/dist/components/post-widget/PostWidget.view.js +263 -0
  64. package/dist/components/post-widget-carousel/PostWidgetCarousel.client.js +9 -0
  65. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +9 -160
  66. package/dist/components/post-widget-carousel/PostWidgetCarousel.lazy.js +13 -0
  67. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.scss.js +3 -0
  68. package/dist/components/post-widget-carousel/PostWidgetCarousel.server.js +11 -0
  69. package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +244 -0
  70. package/dist/components/rich-text/RichText.client.js +7 -2
  71. package/dist/components/select/Select.view.js +132 -116
  72. package/dist/components/sidenav/SideNav.client.js +19 -18
  73. package/dist/components/sidenav/SideNav.server.js +8 -1
  74. package/dist/components/sidenav/SideNav.view.js +21 -3
  75. package/dist/components/skeleton/Skeleton.effects.client.js +3 -1
  76. package/dist/components/slider/Slider.client.js +56 -38
  77. package/dist/components/slider/Slider.view.js +1 -7
  78. package/dist/components/snackbar/SnackbarProvider.client.js +21 -22
  79. package/dist/components/stepper/Stepper.client.js +1 -8
  80. package/dist/components/switch/Switch.client.js +1 -6
  81. package/dist/components/switch/Switch.server.js +1 -3
  82. package/dist/components/table/Table.js +3 -1
  83. package/dist/components/table/TableCell.js +13 -1
  84. package/dist/components/teaser/Teaser.js +1 -5
  85. package/dist/constants/project.js +1 -1
  86. package/dist/helpers/createIsland.js +3 -1
  87. package/dist/helpers/createLazyWrapper.js +3 -1
  88. package/dist/helpers/date.js +21 -0
  89. package/dist/tsconfig.build.tsbuildinfo +1 -1
  90. package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
  91. package/dist/types/components/animated/Animated.client.d.ts +2 -2
  92. package/dist/types/components/animated/Animated.model.d.ts +1 -1
  93. package/dist/types/components/button/Button.client.d.ts +1 -1
  94. package/dist/types/components/button/Button.d.ts +1 -1
  95. package/dist/types/components/button/Button.lazy.d.ts +1 -1
  96. package/dist/types/components/button/Button.server.d.ts +1 -1
  97. package/dist/types/components/button/Button.view.d.ts +1 -1
  98. package/dist/types/components/card/Card.effects.client.d.ts +1 -1
  99. package/dist/types/components/card/index.d.ts +1 -1
  100. package/dist/types/components/carousel/Carousel.d.ts +3 -0
  101. package/dist/types/components/carousel/Carousel.lazy.d.ts +3 -0
  102. package/dist/types/components/carousel/Carousel.model.d.ts +4 -0
  103. package/dist/types/components/dialog/Dialog.client.d.ts +1 -1
  104. package/dist/types/components/dialog/Dialog.model.d.ts +4 -4
  105. package/dist/types/components/dialog/Dialog.view.d.ts +2 -2
  106. package/dist/types/components/drawer/Drawer.client.d.ts +1 -1
  107. package/dist/types/components/drawer/Drawer.d.ts +1 -1
  108. package/dist/types/components/drawer/Drawer.effects.client.d.ts +1 -1
  109. package/dist/types/components/drawer/Drawer.lazy.d.ts +1 -1
  110. package/dist/types/components/drawer/Drawer.model.d.ts +6 -6
  111. package/dist/types/components/drawer/Drawer.server.d.ts +1 -1
  112. package/dist/types/components/drawer/Drawer.view.d.ts +2 -2
  113. package/dist/types/components/drawer/index.d.ts +1 -1
  114. package/dist/types/components/icon/IconList.d.ts +1 -1
  115. package/dist/types/components/icon/index.d.ts +1 -1
  116. package/dist/types/components/image/Image.model.d.ts +2 -2
  117. package/dist/types/components/link/Link.d.ts +1 -1
  118. package/dist/types/components/link/Link.model.d.ts +1 -1
  119. package/dist/types/components/link/Link.server.d.ts +1 -1
  120. package/dist/types/components/loading/index.d.ts +1 -1
  121. package/dist/types/components/post-item/PostItem.client.d.ts +4 -0
  122. package/dist/types/components/post-item/PostItem.d.ts +3 -2
  123. package/dist/types/components/post-item/PostItem.lazy.d.ts +5 -0
  124. package/dist/types/components/post-item/PostItem.model.d.ts +46 -6
  125. package/dist/types/components/post-item/PostItem.server.d.ts +3 -0
  126. package/dist/types/components/post-item/PostItem.view.d.ts +3 -0
  127. package/dist/types/components/post-item/PostItemAuthor.model.d.ts +5 -8
  128. package/dist/types/components/post-item/index.d.ts +2 -2
  129. package/dist/types/components/post-teaser/PostTeaser.client.d.ts +4 -0
  130. package/dist/types/components/post-teaser/PostTeaser.d.ts +3 -2
  131. package/dist/types/components/post-teaser/PostTeaser.lazy.d.ts +5 -0
  132. package/dist/types/components/post-teaser/PostTeaser.model.d.ts +49 -3
  133. package/dist/types/components/post-teaser/PostTeaser.server.d.ts +3 -0
  134. package/dist/types/components/post-teaser/PostTeaser.view.d.ts +3 -0
  135. package/dist/types/components/post-teaser/index.d.ts +1 -1
  136. package/dist/types/components/post-widget/PostWidget.client.d.ts +4 -0
  137. package/dist/types/components/post-widget/PostWidget.d.ts +13 -3
  138. package/dist/types/components/post-widget/PostWidget.lazy.d.ts +14 -0
  139. package/dist/types/components/post-widget/PostWidget.model.d.ts +53 -3
  140. package/dist/types/components/post-widget/PostWidget.server.d.ts +3 -0
  141. package/dist/types/components/post-widget/PostWidget.view.d.ts +3 -0
  142. package/dist/types/components/post-widget/index.d.ts +1 -1
  143. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.client.d.ts +3 -0
  144. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.d.ts +11 -3
  145. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.lazy.d.ts +12 -0
  146. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.model.d.ts +39 -0
  147. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.server.d.ts +3 -0
  148. package/dist/types/components/post-widget-carousel/PostWidgetCarousel.view.d.ts +3 -0
  149. package/dist/types/components/post-widget-carousel/index.d.ts +1 -1
  150. package/dist/types/components/sidenav/index.d.ts +1 -1
  151. package/dist/types/components/skeleton/Skeleton.effects.client.d.ts +2 -2
  152. package/dist/types/helpers/createIsland.d.ts +1 -1
  153. package/dist/types/helpers/createLazyWrapper.d.ts +1 -1
  154. package/dist/types/helpers/date.d.ts +5 -0
  155. package/dist/ui.css +116 -35
  156. package/package.json +3 -2
@@ -0,0 +1,5 @@
1
+ import type { PostItemProps } from "./PostItem.model";
2
+ declare const _default: import("react").ComponentType<PostItemProps & {
3
+ priority?: boolean;
4
+ }>;
5
+ export default _default;
@@ -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 PostItemProps = {
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?: ImageProps;
51
+ image?: string;
19
52
  button?: ButtonProps;
20
- imageComponent?: ComponentType<ImageProps>;
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
  };
@@ -0,0 +1,3 @@
1
+ import type { PostItemProps } from "./PostItem.model";
2
+ import type { JSX } from "react";
3
+ export default function PostItemServer(p: PostItemProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import type { PostItemProps, PostItemViewPrivateProps } from "./PostItem.model";
2
+ import type { JSX } from "react";
3
+ export declare function PostItemView(props: PostItemProps & PostItemViewPrivateProps): JSX.Element;
@@ -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?: PostItemAuthorAvatar;
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 { PostItemAuthorAvatar, PostItemAuthorProps, } from "./PostItemAuthor.model";
3
+ export type { PostItemProps, PostItemHeadline, PostItemClasses, PostItemComponentsProps, PostItemPropsBase, PostItemWithDate, PostItemWithoutDate, PostItemViewPrivateProps, } from "./PostItem.model";
4
+ export type { PostItemAuthorProps } from "./PostItemAuthor.model";
@@ -0,0 +1,4 @@
1
+ import { type FC } from "react";
2
+ import type { PostTeaserProps } from "./PostTeaser.model";
3
+ declare const PostTeaserClient: FC<PostTeaserProps>;
4
+ export default PostTeaserClient;
@@ -1,3 +1,4 @@
1
- import { type FC } from "react";
2
1
  import type { PostTeaserProps } from "./PostTeaser.model";
3
- export declare const PostTeaser: FC<PostTeaserProps>;
2
+ export declare const PostTeaser: import("react").ComponentType<PostTeaserProps & {
3
+ priority?: boolean;
4
+ }>;
@@ -0,0 +1,5 @@
1
+ import type { PostTeaserProps } from "./PostTeaser.model";
2
+ declare const _default: import("react").ComponentType<PostTeaserProps & {
3
+ priority?: boolean;
4
+ }>;
5
+ export default _default;
@@ -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 PostTeaserProps = {
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
  };
@@ -0,0 +1,3 @@
1
+ import type { PostTeaserProps } from "./PostTeaser.model";
2
+ import type { JSX } from "react";
3
+ export default function PostTeaserServer(p: PostTeaserProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type JSX } from "react";
2
+ import type { PostTeaserViewProps } from "./PostTeaser.model";
3
+ export declare function PostTeaserView(props: PostTeaserViewProps): JSX.Element;
@@ -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";
@@ -0,0 +1,4 @@
1
+ import { type FC } from "react";
2
+ import type { PostWidgetProps } from "./PostWidget.model";
3
+ declare const PostWidgetClient: FC<PostWidgetProps>;
4
+ export default PostWidgetClient;
@@ -1,3 +1,13 @@
1
- import { type FC } from "react";
2
- import type { PostWidgetProps } from "./PostWidget.model";
3
- export declare const PostWidget: FC<PostWidgetProps>;
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 PostWidgetItem = {
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 { PostWidgetProps } from "./PostWidget.model";
2
+ import type { JSX } from "react";
3
+ export default function PostWidgetServer(p: PostWidgetProps): JSX.Element;
@@ -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, PostWidgetItem, PostWidgetRedirect, } from "./PostWidget.model";
2
+ export type { PostWidgetProps, PostWidgetItem, PostWidgetHeadline, PostWidgetImage, PostWidgetRedirect, PostWidgetClasses, PostWidgetComponentsProps, PostWidgetItemDefault, PostWidgetItemDateProps, PostWidgetItemWithoutDate, PostWidgetItemWithDate, } from "./PostWidget.model";
@@ -0,0 +1,3 @@
1
+ import type { PostWidgetCarouselProps } from "./PostWidgetCarousel.model";
2
+ declare const PostWidgetCarouselClient: import("react").MemoExoticComponent<(props: PostWidgetCarouselProps) => import("react").JSX.Element>;
3
+ export default PostWidgetCarouselClient;
@@ -1,3 +1,11 @@
1
- import { type FC } from "react";
2
- import type { PostWidgetCarouselProps } from "./PostWidgetCarousel.model";
3
- export declare const PostWidgetCarousel: FC<PostWidgetCarouselProps>;
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
  };
@@ -0,0 +1,3 @@
1
+ import type { PostWidgetCarouselProps } from "./PostWidgetCarousel.model";
2
+ import type { JSX } from "react";
3
+ export default function PostWidgetCarouselServer(p: PostWidgetCarouselProps): JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { type JSX } from "react";
2
+ import type { PostWidgetCarouselProps } from "./PostWidgetCarousel.model";
3
+ export declare function PostWidgetCarouselView(props: PostWidgetCarouselProps): JSX.Element;
@@ -1,2 +1,2 @@
1
1
  export * from "./PostWidgetCarousel";
2
- export type { PostWidgetCarouselProps, PostWidgetCarouselHeadline, PostWidgetCarouselImage, PostWidgetCarouselItem, PostWidgetCarouselRedirect, } from "./PostWidgetCarousel.model";
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, } from "./SideNav.model";
2
+ export type { SideNavItem, SideNavProps } from "./SideNav.model";
@@ -1,5 +1,5 @@
1
- type Anim = 'wave' | 'pulse' | 'none' | undefined;
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 {};
@@ -1,4 +1,4 @@
1
- import { type ComponentType } from 'react';
1
+ import { type ComponentType } from "react";
2
2
  export interface IslandOptions<P extends object> {
3
3
  name: string;
4
4
  Server: ComponentType<P>;
@@ -1,4 +1,4 @@
1
- import { type ComponentType } from 'react';
1
+ import { type ComponentType } from "react";
2
2
  export interface LazyWrapperOptions<P extends object> {
3
3
  name: string;
4
4
  Client: ComponentType<P>;
@@ -0,0 +1,5 @@
1
+ export type LocalizedDate = {
2
+ locale: string;
3
+ meta: string;
4
+ };
5
+ export declare const localizeDate: (locale: Intl.LocalesArgument, date?: string) => LocalizedDate | undefined;