@prokodo/ui 0.1.14 → 1.0.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/LICENSE +187 -26
- package/NOTICE +24 -0
- package/README.md +32 -302
- package/dist/components/RTE/RTE.client.js +0 -1
- package/dist/components/RTE/RTE.css +180 -68
- package/dist/components/RTE/RTE.js +4 -1
- package/dist/components/RTE/RTE.module.css +180 -68
- package/dist/components/RTE/RTE.module.scss.js +10 -0
- package/dist/components/RTE/RTE.view.js +5 -1
- package/dist/components/accordion/Accordion.css +120 -67
- package/dist/components/accordion/Accordion.js +8 -2
- package/dist/components/accordion/Accordion.module.css +120 -67
- package/dist/components/accordion/Accordion.module.scss.js +12 -5
- package/dist/components/accordion/Accordion.view.js +4 -4
- package/dist/components/animated/Animated.client.js +13 -5
- package/dist/components/animated/Animated.js +8 -2
- package/dist/components/animatedText/AnimatedText.client.js +10 -2
- package/dist/components/animatedText/AnimatedText.js +8 -2
- package/dist/components/autocomplete/Autocomplete.client.js +5 -1
- package/dist/components/autocomplete/Autocomplete.css +111 -95
- package/dist/components/autocomplete/Autocomplete.js +4 -1
- package/dist/components/autocomplete/Autocomplete.module.css +111 -95
- package/dist/components/autocomplete/Autocomplete.module.scss.js +11 -4
- package/dist/components/autocomplete/Autocomplete.view.js +16 -5
- package/dist/components/avatar/Avatar.css +11 -8
- package/dist/components/avatar/Avatar.js +4 -1
- package/dist/components/avatar/Avatar.module.css +11 -8
- package/dist/components/avatar/Avatar.module.scss.js +1 -0
- package/dist/components/avatar/Avatar.view.js +22 -15
- package/dist/components/base-link/BaseLink.js +4 -1
- package/dist/components/base-link/BaseLink.view.js +3 -0
- package/dist/components/button/Button.client.js +12 -16
- package/dist/components/button/Button.css +85 -137
- package/dist/components/button/Button.js +4 -1
- package/dist/components/button/Button.module.css +85 -137
- package/dist/components/button/Button.module.scss.js +15 -19
- package/dist/components/button/Button.view.js +8 -2
- package/dist/components/calendly/Calendly.css +132 -0
- package/dist/components/calendly/Calendly.js +8 -2
- package/dist/components/calendly/Calendly.module.css +132 -0
- package/dist/components/calendly/Calendly.module.scss.js +6 -0
- package/dist/components/calendly/Calendly.view.js +12 -6
- package/dist/components/card/Card.client.js +6 -1
- package/dist/components/card/Card.css +67 -32
- package/dist/components/card/Card.js +11 -5
- package/dist/components/card/Card.module.css +67 -32
- package/dist/components/card/Card.module.scss.js +8 -2
- package/dist/components/card/Card.view.js +25 -8
- package/dist/components/carousel/Carousel.client.js +138 -129
- package/dist/components/carousel/Carousel.css +8 -4
- package/dist/components/carousel/Carousel.js +8 -2
- package/dist/components/carousel/Carousel.module.css +8 -4
- package/dist/components/carousel/Carousel.view.js +10 -0
- package/dist/components/checkbox/Checkbox.css +100 -79
- package/dist/components/checkbox/Checkbox.js +4 -1
- package/dist/components/checkbox/Checkbox.module.css +100 -79
- package/dist/components/checkbox/Checkbox.module.scss.js +11 -4
- package/dist/components/checkbox/Checkbox.view.js +7 -2
- package/dist/components/checkbox-group/CheckboxGroup.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.js +4 -1
- package/dist/components/checkbox-group/CheckboxGroup.module.css +39 -6
- package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +8 -0
- package/dist/components/checkbox-group/CheckboxGroup.view.js +7 -2
- package/dist/components/chip/Chip.css +185 -61
- package/dist/components/chip/Chip.js +4 -1
- package/dist/components/chip/Chip.module.css +185 -61
- package/dist/components/chip/Chip.module.scss.js +13 -17
- package/dist/components/chip/Chip.view.js +7 -4
- package/dist/components/datePicker/DatePicker.client.js +211 -66
- package/dist/components/datePicker/DatePicker.css +940 -0
- package/dist/components/datePicker/DatePicker.js +4 -1
- package/dist/components/datePicker/DatePicker.module.css +940 -0
- package/dist/components/datePicker/DatePicker.module.scss.js +62 -0
- package/dist/components/datePicker/DatePicker.server.js +31 -1
- package/dist/components/datePicker/DatePicker.utils.js +103 -0
- package/dist/components/datePicker/DatePicker.view.js +113 -41
- package/dist/components/datePicker/DatePickerDialog.view.js +291 -0
- package/dist/components/dialog/Dialog.css +107 -132
- package/dist/components/dialog/Dialog.js +8 -2
- package/dist/components/dialog/Dialog.module.css +107 -132
- package/dist/components/dialog/Dialog.module.scss.js +13 -8
- package/dist/components/dialog/Dialog.view.js +23 -5
- package/dist/components/drawer/Drawer.client.js +0 -1
- package/dist/components/drawer/Drawer.css +8 -8
- package/dist/components/drawer/Drawer.js +4 -1
- package/dist/components/drawer/Drawer.module.css +8 -8
- package/dist/components/drawer/Drawer.view.js +14 -3
- package/dist/components/dynamic-list/DynamicList.client.js +1 -0
- package/dist/components/dynamic-list/DynamicList.css +20 -12
- package/dist/components/dynamic-list/DynamicList.js +4 -1
- package/dist/components/dynamic-list/DynamicList.module.css +20 -12
- package/dist/components/dynamic-list/DynamicList.module.scss.js +1 -0
- package/dist/components/dynamic-list/DynamicList.view.js +89 -44
- package/dist/components/form/Form.client.js +4 -1
- package/dist/components/form/Form.js +4 -1
- package/dist/components/form/Form.view.js +6 -4
- package/dist/components/form/FormField.client.js +59 -4
- package/dist/components/form/FormField.js +4 -1
- package/dist/components/form/FormField.server.js +10 -4
- package/dist/components/form/FormResponse.js +6 -3
- package/dist/components/grid/Grid.css +1 -1
- package/dist/components/grid/Grid.module.css +1 -1
- package/dist/components/headline/Headline.css +16 -16
- package/dist/components/headline/Headline.js +13 -8
- package/dist/components/headline/Headline.module.css +16 -16
- package/dist/components/headline/Headline.module.scss.js +1 -1
- package/dist/components/headline/Headline.variants.js +4 -1
- package/dist/components/icon/Icon.css +14 -14
- package/dist/components/icon/Icon.js +8 -2
- package/dist/components/icon/Icon.module.css +14 -14
- package/dist/components/image/Image.client.js +9 -5
- package/dist/components/image/Image.css +4 -3
- package/dist/components/image/Image.js +8 -2
- package/dist/components/image/Image.module.css +4 -3
- package/dist/components/image/Image.server.js +2 -1
- package/dist/components/image-text/ImageText.css +43 -14
- package/dist/components/image-text/ImageText.js +68 -50
- package/dist/components/image-text/ImageText.module.css +43 -14
- package/dist/components/image-text/ImageText.module.scss.js +11 -2
- package/dist/components/input/Input.client.js +15 -2
- package/dist/components/input/Input.css +197 -115
- package/dist/components/input/Input.js +4 -1
- package/dist/components/input/Input.module.css +197 -115
- package/dist/components/input/Input.module.scss.js +19 -3
- package/dist/components/input/Input.view.js +102 -63
- package/dist/components/input/InputValidation.js +6 -2
- package/dist/components/inputOTP/InputOTP.client.js +165 -0
- package/dist/components/inputOTP/InputOTP.css +155 -7
- package/dist/components/inputOTP/InputOTP.js +10 -194
- package/dist/components/inputOTP/InputOTP.lazy.js +12 -0
- package/dist/components/inputOTP/InputOTP.module.css +155 -7
- package/dist/components/inputOTP/InputOTP.module.scss.js +14 -0
- package/dist/components/inputOTP/InputOTP.server.js +32 -0
- package/dist/components/inputOTP/InputOTP.view.js +117 -0
- package/dist/components/label/Label.css +33 -14
- package/dist/components/label/Label.js +37 -35
- package/dist/components/label/Label.module.css +33 -14
- package/dist/components/label/Label.module.scss.js +9 -2
- package/dist/components/link/Link.css +13 -13
- package/dist/components/link/Link.js +5 -3
- package/dist/components/link/Link.module.css +13 -13
- package/dist/components/link/Link.view.js +16 -13
- package/dist/components/list/List.css +71 -32
- package/dist/components/list/List.js +74 -28
- package/dist/components/list/List.module.css +71 -32
- package/dist/components/list/List.module.scss.js +1 -1
- package/dist/components/loading/Loading.js +4 -1
- package/dist/components/loading/Loading.view.js +47 -7
- package/dist/components/lottie/Lottie.css +16 -0
- package/dist/components/lottie/Lottie.js +9 -5
- package/dist/components/lottie/Lottie.module.css +16 -0
- package/dist/components/lottie/Lottie.module.scss.js +6 -2
- package/dist/components/map/Map.css +130 -0
- package/dist/components/map/Map.js +67 -46
- package/dist/components/map/Map.module.css +130 -0
- package/dist/components/map/Map.module.scss.js +6 -0
- package/dist/components/pagination/Pagination.css +127 -11
- package/dist/components/pagination/Pagination.js +4 -1
- package/dist/components/pagination/Pagination.module.css +127 -11
- package/dist/components/pagination/Pagination.module.scss.js +12 -4
- package/dist/components/pagination/Pagination.view.js +16 -2
- package/dist/components/post-item/PostItem.css +16 -16
- package/dist/components/post-item/PostItem.js +4 -1
- package/dist/components/post-item/PostItem.module.css +16 -16
- package/dist/components/post-item/PostItem.view.js +14 -5
- package/dist/components/post-item/PostItemAuthor.js +4 -1
- package/dist/components/post-teaser/PostTeaser.css +13 -13
- package/dist/components/post-teaser/PostTeaser.js +4 -1
- package/dist/components/post-teaser/PostTeaser.module.css +13 -13
- package/dist/components/post-teaser/PostTeaser.view.js +14 -5
- package/dist/components/post-widget/PostWidget.css +6 -8
- package/dist/components/post-widget/PostWidget.js +5 -3
- package/dist/components/post-widget/PostWidget.module.css +6 -8
- package/dist/components/post-widget/PostWidget.view.js +21 -8
- package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +8 -2
- package/dist/components/post-widget-carousel/PostWidgetCarousel.module.css +7 -7
- package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +32 -14
- package/dist/components/progressBar/ProgressBar.css +4 -4
- package/dist/components/progressBar/ProgressBar.js +8 -2
- package/dist/components/progressBar/ProgressBar.module.css +4 -4
- package/dist/components/progressBar/ProgressBar.view.js +6 -3
- package/dist/components/quote/Quote.css +21 -6
- package/dist/components/quote/Quote.js +5 -5
- package/dist/components/quote/Quote.module.css +21 -6
- package/dist/components/quote/Quote.module.scss.js +5 -0
- package/dist/components/rating/Rating.client.js +6 -1
- package/dist/components/rating/Rating.css +34 -21
- package/dist/components/rating/Rating.js +4 -1
- package/dist/components/rating/Rating.module.css +34 -21
- package/dist/components/rating/Rating.module.scss.js +8 -0
- package/dist/components/rating/Rating.view.js +4 -2
- package/dist/components/rich-text/RichText.client.js +55 -20
- package/dist/components/rich-text/RichText.css +47 -31
- package/dist/components/rich-text/RichText.js +8 -2
- package/dist/components/rich-text/RichText.module.css +47 -31
- package/dist/components/rich-text/RichText.server.js +3 -0
- package/dist/components/select/Select.client.js +303 -102
- package/dist/components/select/Select.css +542 -221
- package/dist/components/select/Select.js +8 -2
- package/dist/components/select/Select.module.css +542 -221
- package/dist/components/select/Select.module.scss.js +57 -14
- package/dist/components/select/Select.view.js +75 -25
- package/dist/components/sidenav/SideNav.client.js +24 -1
- package/dist/components/sidenav/SideNav.css +89 -21
- package/dist/components/sidenav/SideNav.js +8 -2
- package/dist/components/sidenav/SideNav.module.css +89 -21
- package/dist/components/sidenav/SideNav.module.scss.js +6 -1
- package/dist/components/sidenav/SideNav.view.js +69 -14
- package/dist/components/skeleton/Skeleton.css +7 -7
- package/dist/components/skeleton/Skeleton.module.css +7 -7
- package/dist/components/slider/Slider.client.js +11 -2
- package/dist/components/slider/Slider.css +177 -112
- package/dist/components/slider/Slider.js +4 -1
- package/dist/components/slider/Slider.module.css +177 -112
- package/dist/components/slider/Slider.module.scss.js +11 -2
- package/dist/components/slider/Slider.view.js +140 -90
- package/dist/components/snackbar/Snackbar.client.js +5 -1
- package/dist/components/snackbar/Snackbar.css +125 -64
- package/dist/components/snackbar/Snackbar.js +4 -1
- package/dist/components/snackbar/Snackbar.module.css +125 -64
- package/dist/components/snackbar/Snackbar.module.scss.js +11 -13
- package/dist/components/snackbar/Snackbar.view.js +2 -2
- package/dist/components/snackbar/SnackbarProvider.js +8 -2
- package/dist/components/stepper/Stepper.client.js +27 -9
- package/dist/components/stepper/Stepper.css +46 -11
- package/dist/components/stepper/Stepper.js +4 -1
- package/dist/components/stepper/Stepper.module.css +46 -11
- package/dist/components/stepper/Stepper.module.scss.js +7 -0
- package/dist/components/stepper/Stepper.server.js +2 -0
- package/dist/components/stepper/Stepper.view.js +6 -1
- package/dist/components/switch/Switch.css +108 -84
- package/dist/components/switch/Switch.js +4 -1
- package/dist/components/switch/Switch.module.css +108 -84
- package/dist/components/switch/Switch.module.scss.js +14 -12
- package/dist/components/switch/Switch.view.js +10 -8
- package/dist/components/table/Table.css +19 -14
- package/dist/components/table/Table.js +1 -0
- package/dist/components/table/Table.module.css +19 -14
- package/dist/components/tabs/Tabs.client.js +1 -0
- package/dist/components/tabs/Tabs.css +53 -27
- package/dist/components/tabs/Tabs.js +8 -2
- package/dist/components/tabs/Tabs.module.css +53 -27
- package/dist/components/tabs/Tabs.module.scss.js +7 -2
- package/dist/components/tabs/Tabs.view.js +12 -4
- package/dist/components/teaser/Teaser.css +5 -5
- package/dist/components/teaser/Teaser.js +4 -4
- package/dist/components/teaser/Teaser.module.css +5 -5
- package/dist/components/tooltip/Tooltip.client.js +140 -95
- package/dist/components/tooltip/Tooltip.css +46 -9
- package/dist/components/tooltip/Tooltip.js +10 -4
- package/dist/components/tooltip/Tooltip.module.css +46 -9
- package/dist/components/tooltip/Tooltip.module.scss.js +5 -1
- package/dist/components/tooltip/Tooltip.view.js +7 -1
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +1 -0
- package/dist/helpers/createLazyWrapper.js +1 -0
- package/dist/hooks/useGoogleMaps.js +0 -1
- package/dist/theme.css +3269 -1588
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/RTE/RTE.d.ts +6 -1
- package/dist/types/components/RTE/RTE.lazy.d.ts +6 -1
- package/dist/types/components/RTE/RTE.view.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
- package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
- package/dist/types/components/autocomplete/Autocomplete.model.d.ts +2 -0
- package/dist/types/components/autocomplete/Autocomplete.view.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.lazy.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.model.d.ts +1 -1
- package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
- package/dist/types/components/calendly/Calendly.view.d.ts +1 -1
- package/dist/types/components/card/Card.model.d.ts +1 -1
- package/dist/types/components/card/Card.view.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.view.d.ts +1 -1
- package/dist/types/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.lazy.d.ts +1 -0
- package/dist/types/components/checkbox/Checkbox.model.d.ts +2 -0
- package/dist/types/components/checkbox/Checkbox.view.d.ts +1 -1
- package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +2 -0
- package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +1 -1
- package/dist/types/components/datePicker/DatePicker.model.d.ts +70 -1
- package/dist/types/components/datePicker/DatePicker.utils.d.ts +10 -0
- package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -4
- package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +4 -0
- package/dist/types/components/dynamic-list/DynamicList.model.d.ts +3 -1
- package/dist/types/components/dynamic-list/DynamicList.view.d.ts +1 -1
- package/dist/types/components/form/Form.d.ts +1 -1
- package/dist/types/components/form/Form.lazy.d.ts +1 -1
- package/dist/types/components/form/Form.model.d.ts +19 -4
- package/dist/types/components/form/FormField.client.d.ts +2 -2
- package/dist/types/components/form/FormField.d.ts +1 -1
- package/dist/types/components/form/FormField.lazy.d.ts +1 -1
- package/dist/types/components/form/FormField.server.d.ts +2 -2
- package/dist/types/components/headline/Headline.model.d.ts +2 -2
- package/dist/types/components/input/Input.model.d.ts +8 -1
- package/dist/types/components/input/Input.view.d.ts +1 -1
- package/dist/types/components/inputOTP/InputOTP.client.d.ts +4 -0
- package/dist/types/components/inputOTP/InputOTP.d.ts +10 -3
- package/dist/types/components/inputOTP/InputOTP.lazy.d.ts +11 -0
- package/dist/types/components/inputOTP/InputOTP.model.d.ts +10 -0
- package/dist/types/components/inputOTP/InputOTP.server.d.ts +3 -0
- package/dist/types/components/inputOTP/InputOTP.view.d.ts +3 -0
- package/dist/types/components/inputOTP/index.d.ts +1 -1
- package/dist/types/components/label/Label.model.d.ts +2 -0
- package/dist/types/components/link/Link.model.d.ts +1 -1
- package/dist/types/components/link/Link.view.d.ts +1 -1
- package/dist/types/components/list/List.d.ts +1 -1
- package/dist/types/components/list/List.model.d.ts +14 -5
- package/dist/types/components/list/index.d.ts +1 -1
- package/dist/types/components/loading/Loading.model.d.ts +2 -0
- package/dist/types/components/loading/index.d.ts +1 -1
- package/dist/types/components/pagination/Pagination.model.d.ts +2 -0
- package/dist/types/components/pagination/Pagination.view.d.ts +1 -1
- package/dist/types/components/post-item/PostItem.model.d.ts +2 -1
- package/dist/types/components/post-teaser/PostTeaser.model.d.ts +2 -1
- package/dist/types/components/post-widget/PostWidget.view.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +1 -1
- package/dist/types/components/progressBar/ProgressBar.model.d.ts +3 -2
- package/dist/types/components/progressBar/ProgressBar.view.d.ts +1 -1
- package/dist/types/components/progressBar/index.d.ts +1 -1
- package/dist/types/components/quote/Quote.model.d.ts +1 -1
- package/dist/types/components/rating/Rating.model.d.ts +2 -0
- package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.lazy.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.model.d.ts +1 -1
- package/dist/types/components/select/Select.model.d.ts +2 -0
- package/dist/types/components/select/Select.view.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.model.d.ts +16 -2
- package/dist/types/components/sidenav/SideNav.view.d.ts +1 -1
- package/dist/types/components/slider/Slider.model.d.ts +2 -0
- package/dist/types/components/snackbar/Snackbar.model.d.ts +3 -2
- package/dist/types/components/snackbar/Snackbar.view.d.ts +3 -2
- package/dist/types/components/snackbar/index.d.ts +1 -1
- package/dist/types/components/stepper/Stepper.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.lazy.d.ts +1 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.server.d.ts +1 -1
- package/dist/types/components/switch/Switch.d.ts +2 -2
- package/dist/types/components/switch/Switch.lazy.d.ts +2 -2
- package/dist/types/components/switch/Switch.model.d.ts +3 -4
- package/dist/types/components/tabs/Tabs.model.d.ts +2 -0
- package/dist/types/components/tabs/Tabs.view.d.ts +1 -1
- package/dist/types/components/teaser/Teaser.model.d.ts +1 -1
- package/dist/types/components/tooltip/Tooltip.model.d.ts +2 -0
- package/package.json +53 -24
|
@@ -13,7 +13,7 @@ import { RichText } from "../rich-text/RichText.js";
|
|
|
13
13
|
import { Card } from "../card/Card.js";
|
|
14
14
|
const bem = create(styles, "PostItem");
|
|
15
15
|
function PostItemView(props) {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f;
|
|
16
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
17
17
|
const {
|
|
18
18
|
locale,
|
|
19
19
|
className,
|
|
@@ -33,13 +33,14 @@ function PostItemView(props) {
|
|
|
33
33
|
// public opts
|
|
34
34
|
structuredData = true,
|
|
35
35
|
animate = true,
|
|
36
|
+
color,
|
|
36
37
|
...rest
|
|
37
38
|
} = props;
|
|
38
39
|
const cardMerged = {
|
|
39
40
|
...componentsProps == null ? void 0 : componentsProps.card,
|
|
40
41
|
...rest,
|
|
41
|
-
// keep
|
|
42
|
-
|
|
42
|
+
// keep color narrow; if none is provided, let Card default handle it
|
|
43
|
+
color: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.color) ?? (rest == null ? void 0 : rest.color) ?? color ?? void 0
|
|
43
44
|
};
|
|
44
45
|
const ArticleWrapper = animate ? Animated : ({
|
|
45
46
|
children,
|
|
@@ -82,6 +83,10 @@ function PostItemView(props) {
|
|
|
82
83
|
classes == null ? void 0 : classes.headline
|
|
83
84
|
].filter(Boolean).join(" ")
|
|
84
85
|
),
|
|
86
|
+
color: (title == null ? void 0 : title.color) ?? ((_e = componentsProps == null ? void 0 : componentsProps.headline) == null ? void 0 : _e.color) ?? (color && color !== "white" ? color : (
|
|
87
|
+
/* istanbul ignore next */
|
|
88
|
+
void 0
|
|
89
|
+
)) ?? "inherit",
|
|
85
90
|
children: title.content
|
|
86
91
|
}
|
|
87
92
|
),
|
|
@@ -172,16 +177,20 @@ function PostItemView(props) {
|
|
|
172
177
|
void 0,
|
|
173
178
|
[
|
|
174
179
|
button == null ? void 0 : button.className,
|
|
175
|
-
(
|
|
180
|
+
(_f = componentsProps == null ? void 0 : componentsProps.button) == null ? void 0 : _f.className,
|
|
176
181
|
classes == null ? void 0 : classes.button
|
|
177
182
|
].filter(Boolean).join(" ")
|
|
178
183
|
),
|
|
184
|
+
color: (button == null ? void 0 : button.color) ?? ((_g = componentsProps == null ? void 0 : componentsProps.button) == null ? void 0 : _g.color) ?? (color && color !== "white" ? color : (
|
|
185
|
+
/* istanbul ignore next */
|
|
186
|
+
void 0
|
|
187
|
+
)),
|
|
179
188
|
contentClassName: bem(
|
|
180
189
|
"button__content",
|
|
181
190
|
void 0,
|
|
182
191
|
[button == null ? void 0 : button.contentClassName, classes == null ? void 0 : classes.buttonContent].filter(Boolean).join(" ")
|
|
183
192
|
),
|
|
184
|
-
variant: (button == null ? void 0 : button.variant) ?? ((
|
|
193
|
+
variant: (button == null ? void 0 : button.variant) ?? ((_h = componentsProps == null ? void 0 : componentsProps.button) == null ? void 0 : _h.variant) ?? "outlined"
|
|
185
194
|
}
|
|
186
195
|
)
|
|
187
196
|
]
|
|
@@ -19,7 +19,10 @@ const PostItemAuthor = memo(
|
|
|
19
19
|
/* @__PURE__ */ jsx(
|
|
20
20
|
Avatar,
|
|
21
21
|
{
|
|
22
|
-
image: (
|
|
22
|
+
image: (
|
|
23
|
+
/* istanbul ignore next */
|
|
24
|
+
(avatar == null ? void 0 : avatar.src) !== void 0 && isString(avatar == null ? void 0 : avatar.src) ? { src: avatar == null ? void 0 : avatar.src, alt: (avatar == null ? void 0 : avatar.alt) ?? authorName ?? "" } : void 0
|
|
25
|
+
),
|
|
23
26
|
...avatarProps
|
|
24
27
|
}
|
|
25
28
|
),
|
|
@@ -135,20 +135,20 @@
|
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
}
|
|
137
137
|
.prokodo-PostTeaser__card__content {
|
|
138
|
-
padding: 0
|
|
138
|
+
padding: 0 var(--pk-space-lg) 0;
|
|
139
139
|
}
|
|
140
140
|
.prokodo-PostTeaser__card__footer {
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
justify-content: space-between;
|
|
144
144
|
margin-top: auto;
|
|
145
|
-
padding:
|
|
145
|
+
padding: var(--pk-space-lg);
|
|
146
146
|
}
|
|
147
147
|
.prokodo-PostTeaser__meta {
|
|
148
148
|
position: absolute;
|
|
149
|
-
top:
|
|
150
|
-
left:
|
|
151
|
-
width: calc(100% -
|
|
149
|
+
top: var(--pk-space-lg);
|
|
150
|
+
left: var(--pk-space-lg);
|
|
151
|
+
width: calc(100% - 2 * var(--pk-space-lg));
|
|
152
152
|
display: flex;
|
|
153
153
|
align-items: center;
|
|
154
154
|
justify-content: space-between;
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
.prokodo-PostTeaser__meta__readcount__wrapper {
|
|
169
169
|
display: flex;
|
|
170
|
-
gap:
|
|
170
|
+
gap: var(--pk-space-sm);
|
|
171
171
|
}
|
|
172
172
|
.prokodo-PostTeaser__image {
|
|
173
173
|
display: block;
|
|
@@ -189,14 +189,14 @@
|
|
|
189
189
|
height: 100%;
|
|
190
190
|
}
|
|
191
191
|
.prokodo-PostTeaser__image__caption {
|
|
192
|
-
bottom:
|
|
192
|
+
bottom: var(--pk-space-sm);
|
|
193
193
|
text-align: right;
|
|
194
|
-
padding-right:
|
|
195
|
-
width: calc(100% -
|
|
194
|
+
padding-right: var(--pk-space-sm);
|
|
195
|
+
width: calc(100% - var(--pk-space-sm));
|
|
196
196
|
}
|
|
197
197
|
.prokodo-PostTeaser__date {
|
|
198
198
|
padding: 0;
|
|
199
|
-
color: var(--color-
|
|
199
|
+
color: var(--pk-color-muted);
|
|
200
200
|
font-weight: 400;
|
|
201
201
|
font-size: 1rem;
|
|
202
202
|
font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
height: 230px;
|
|
213
213
|
}
|
|
214
214
|
.prokodo-PostTeaser__headline {
|
|
215
|
-
padding:
|
|
215
|
+
padding: var(--pk-space-lg) var(--pk-space-lg) 0;
|
|
216
216
|
display: -webkit-box;
|
|
217
217
|
-webkit-line-clamp: 1;
|
|
218
218
|
-webkit-box-orient: vertical;
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
align-items: center;
|
|
251
251
|
}
|
|
252
252
|
.prokodo-PostTeaser__link__icon {
|
|
253
|
-
margin-right:
|
|
253
|
+
margin-right: var(--pk-space-xs);
|
|
254
254
|
}
|
|
255
255
|
.prokodo-PostTeaser__link--is-hovered {
|
|
256
|
-
color: var(--color-
|
|
256
|
+
color: var(--pk-color-brand) !important;
|
|
257
257
|
}
|
|
@@ -5,7 +5,10 @@ import PostTeaserServer from "./PostTeaser.server.js";
|
|
|
5
5
|
const PostTeaser = createIsland({
|
|
6
6
|
name: "PostTeaser",
|
|
7
7
|
Server: PostTeaserServer,
|
|
8
|
-
loadLazy:
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./PostTeaser.lazy.js"), "loadLazy")
|
|
11
|
+
)
|
|
9
12
|
});
|
|
10
13
|
export {
|
|
11
14
|
PostTeaser
|
|
@@ -135,20 +135,20 @@
|
|
|
135
135
|
overflow: hidden;
|
|
136
136
|
}
|
|
137
137
|
.prokodo-PostTeaser__card__content {
|
|
138
|
-
padding: 0
|
|
138
|
+
padding: 0 var(--pk-space-lg) 0;
|
|
139
139
|
}
|
|
140
140
|
.prokodo-PostTeaser__card__footer {
|
|
141
141
|
display: flex;
|
|
142
142
|
align-items: center;
|
|
143
143
|
justify-content: space-between;
|
|
144
144
|
margin-top: auto;
|
|
145
|
-
padding:
|
|
145
|
+
padding: var(--pk-space-lg);
|
|
146
146
|
}
|
|
147
147
|
.prokodo-PostTeaser__meta {
|
|
148
148
|
position: absolute;
|
|
149
|
-
top:
|
|
150
|
-
left:
|
|
151
|
-
width: calc(100% -
|
|
149
|
+
top: var(--pk-space-lg);
|
|
150
|
+
left: var(--pk-space-lg);
|
|
151
|
+
width: calc(100% - 2 * var(--pk-space-lg));
|
|
152
152
|
display: flex;
|
|
153
153
|
align-items: center;
|
|
154
154
|
justify-content: space-between;
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
}
|
|
168
168
|
.prokodo-PostTeaser__meta__readcount__wrapper {
|
|
169
169
|
display: flex;
|
|
170
|
-
gap:
|
|
170
|
+
gap: var(--pk-space-sm);
|
|
171
171
|
}
|
|
172
172
|
.prokodo-PostTeaser__image {
|
|
173
173
|
display: block;
|
|
@@ -189,14 +189,14 @@
|
|
|
189
189
|
height: 100%;
|
|
190
190
|
}
|
|
191
191
|
.prokodo-PostTeaser__image__caption {
|
|
192
|
-
bottom:
|
|
192
|
+
bottom: var(--pk-space-sm);
|
|
193
193
|
text-align: right;
|
|
194
|
-
padding-right:
|
|
195
|
-
width: calc(100% -
|
|
194
|
+
padding-right: var(--pk-space-sm);
|
|
195
|
+
width: calc(100% - var(--pk-space-sm));
|
|
196
196
|
}
|
|
197
197
|
.prokodo-PostTeaser__date {
|
|
198
198
|
padding: 0;
|
|
199
|
-
color: var(--color-
|
|
199
|
+
color: var(--pk-color-muted);
|
|
200
200
|
font-weight: 400;
|
|
201
201
|
font-size: 1rem;
|
|
202
202
|
font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
height: 230px;
|
|
213
213
|
}
|
|
214
214
|
.prokodo-PostTeaser__headline {
|
|
215
|
-
padding:
|
|
215
|
+
padding: var(--pk-space-lg) var(--pk-space-lg) 0;
|
|
216
216
|
display: -webkit-box;
|
|
217
217
|
-webkit-line-clamp: 1;
|
|
218
218
|
-webkit-box-orient: vertical;
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
align-items: center;
|
|
251
251
|
}
|
|
252
252
|
.prokodo-PostTeaser__link__icon {
|
|
253
|
-
margin-right:
|
|
253
|
+
margin-right: var(--pk-space-xs);
|
|
254
254
|
}
|
|
255
255
|
.prokodo-PostTeaser__link--is-hovered {
|
|
256
|
-
color: var(--color-
|
|
256
|
+
color: var(--pk-color-brand) !important;
|
|
257
257
|
}
|
|
@@ -30,6 +30,7 @@ function PostTeaserView(props) {
|
|
|
30
30
|
onClick,
|
|
31
31
|
redirect,
|
|
32
32
|
structuredData = true,
|
|
33
|
+
color,
|
|
33
34
|
// private
|
|
34
35
|
isHovered,
|
|
35
36
|
readMinutes,
|
|
@@ -41,7 +42,7 @@ function PostTeaserView(props) {
|
|
|
41
42
|
const cardMerged = {
|
|
42
43
|
...componentsProps == null ? void 0 : componentsProps.card,
|
|
43
44
|
...cardRest,
|
|
44
|
-
|
|
45
|
+
color: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.color) ?? (cardRest == null ? void 0 : cardRest.color) ?? color ?? "white"
|
|
45
46
|
};
|
|
46
47
|
const baseImg = image;
|
|
47
48
|
const imageMerged = baseImg ? {
|
|
@@ -145,8 +146,10 @@ function PostTeaserView(props) {
|
|
|
145
146
|
Image,
|
|
146
147
|
{
|
|
147
148
|
...imageMerged,
|
|
148
|
-
alt: (imageMerged == null ? void 0 : imageMerged.alt) ??
|
|
149
|
-
|
|
149
|
+
alt: (imageMerged == null ? void 0 : imageMerged.alt) ?? /* istanbul ignore next */
|
|
150
|
+
"",
|
|
151
|
+
src: (imageMerged == null ? void 0 : imageMerged.src) ?? /* istanbul ignore next */
|
|
152
|
+
""
|
|
150
153
|
}
|
|
151
154
|
)
|
|
152
155
|
]
|
|
@@ -164,7 +167,10 @@ function PostTeaserView(props) {
|
|
|
164
167
|
void 0,
|
|
165
168
|
[title == null ? void 0 : title.className, classes == null ? void 0 : classes.headline].filter(Boolean).join(" ")
|
|
166
169
|
),
|
|
167
|
-
|
|
170
|
+
color: (title == null ? void 0 : title.color) ?? ((_b = componentsProps == null ? void 0 : componentsProps.headline) == null ? void 0 : _b.color) ?? (color && color !== "white" ? color : (
|
|
171
|
+
/* istanbul ignore next */
|
|
172
|
+
void 0
|
|
173
|
+
)) ?? "secondary",
|
|
168
174
|
children: title == null ? void 0 : title.content
|
|
169
175
|
}
|
|
170
176
|
)
|
|
@@ -202,7 +208,6 @@ function PostTeaserView(props) {
|
|
|
202
208
|
/* @__PURE__ */ jsx(
|
|
203
209
|
Icon,
|
|
204
210
|
{
|
|
205
|
-
color: "primary",
|
|
206
211
|
name: "ArrowRight01Icon",
|
|
207
212
|
size: "xs",
|
|
208
213
|
className: bem(
|
|
@@ -210,6 +215,10 @@ function PostTeaserView(props) {
|
|
|
210
215
|
{ "is-hovered": Boolean(isHovered) },
|
|
211
216
|
classes == null ? void 0 : classes.linkIcon
|
|
212
217
|
),
|
|
218
|
+
color: (color && color !== "white" ? color : (
|
|
219
|
+
/* istanbul ignore next */
|
|
220
|
+
void 0
|
|
221
|
+
)) ?? "primary",
|
|
213
222
|
...componentsProps == null ? void 0 : componentsProps.linkIcon,
|
|
214
223
|
...redirect == null ? void 0 : redirect.icon
|
|
215
224
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
/* stylelint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Calculates a rem-based value by a given pixel size.
|
|
@@ -133,18 +132,18 @@
|
|
|
133
132
|
.prokodo-PostWidget__list--has-fullWidth {
|
|
134
133
|
display: flex;
|
|
135
134
|
flex-wrap: wrap;
|
|
136
|
-
gap:
|
|
135
|
+
gap: var(--pk-space-lg);
|
|
137
136
|
}
|
|
138
137
|
.prokodo-PostWidget__list__item {
|
|
139
138
|
display: block;
|
|
140
|
-
margin-top:
|
|
139
|
+
margin-top: var(--pk-space-lg);
|
|
141
140
|
}
|
|
142
141
|
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
143
142
|
width: 100%;
|
|
144
143
|
}
|
|
145
144
|
@media screen and (min-width: 480px) {
|
|
146
145
|
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
147
|
-
width: calc(50% -
|
|
146
|
+
width: calc(50% - var(--pk-space-lg) / 2);
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
.prokodo-PostWidget__list__item__content {
|
|
@@ -156,16 +155,15 @@
|
|
|
156
155
|
height: 100%;
|
|
157
156
|
-o-object-fit: cover;
|
|
158
157
|
object-fit: cover;
|
|
159
|
-
/* This is the Image component’s container to force fill */
|
|
160
158
|
}
|
|
161
159
|
.prokodo-PostWidget__image__link {
|
|
162
160
|
position: relative;
|
|
163
161
|
display: block;
|
|
164
162
|
width: 80px;
|
|
165
163
|
height: 80px;
|
|
166
|
-
margin-right:
|
|
164
|
+
margin-right: var(--pk-space-lg);
|
|
167
165
|
line-height: 0;
|
|
168
|
-
border-radius:
|
|
166
|
+
border-radius: var(--pk-radius-md);
|
|
169
167
|
overflow: hidden;
|
|
170
168
|
}
|
|
171
169
|
.prokodo-PostWidget__image__container {
|
|
@@ -189,7 +187,7 @@
|
|
|
189
187
|
.prokodo-PostWidget__date {
|
|
190
188
|
display: block;
|
|
191
189
|
margin: 0;
|
|
192
|
-
color: var(--color-
|
|
190
|
+
color: var(--pk-color-muted);
|
|
193
191
|
font-weight: 400;
|
|
194
192
|
font-size: 1rem;
|
|
195
193
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -5,9 +5,11 @@ import PostWidgetServer from "./PostWidget.server.js";
|
|
|
5
5
|
const PostWidget = createIsland({
|
|
6
6
|
name: "PostWidget",
|
|
7
7
|
Server: PostWidgetServer,
|
|
8
|
-
loadLazy:
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./PostWidget.lazy.js"), "loadLazy")
|
|
11
|
+
)
|
|
12
|
+
// Only hydrate if the top-level Card gets interactive handlers isInteractive: /* istanbul ignore next */ p => typeof (p as PostWidgetProps).onClick === "function",
|
|
11
13
|
});
|
|
12
14
|
export {
|
|
13
15
|
PostWidget
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
1
|
/* stylelint-disable */
|
|
3
2
|
/**
|
|
4
3
|
* Calculates a rem-based value by a given pixel size.
|
|
@@ -133,18 +132,18 @@
|
|
|
133
132
|
.prokodo-PostWidget__list--has-fullWidth {
|
|
134
133
|
display: flex;
|
|
135
134
|
flex-wrap: wrap;
|
|
136
|
-
gap:
|
|
135
|
+
gap: var(--pk-space-lg);
|
|
137
136
|
}
|
|
138
137
|
.prokodo-PostWidget__list__item {
|
|
139
138
|
display: block;
|
|
140
|
-
margin-top:
|
|
139
|
+
margin-top: var(--pk-space-lg);
|
|
141
140
|
}
|
|
142
141
|
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
143
142
|
width: 100%;
|
|
144
143
|
}
|
|
145
144
|
@media screen and (min-width: 480px) {
|
|
146
145
|
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
147
|
-
width: calc(50% -
|
|
146
|
+
width: calc(50% - var(--pk-space-lg) / 2);
|
|
148
147
|
}
|
|
149
148
|
}
|
|
150
149
|
.prokodo-PostWidget__list__item__content {
|
|
@@ -156,16 +155,15 @@
|
|
|
156
155
|
height: 100%;
|
|
157
156
|
-o-object-fit: cover;
|
|
158
157
|
object-fit: cover;
|
|
159
|
-
/* This is the Image component’s container to force fill */
|
|
160
158
|
}
|
|
161
159
|
.prokodo-PostWidget__image__link {
|
|
162
160
|
position: relative;
|
|
163
161
|
display: block;
|
|
164
162
|
width: 80px;
|
|
165
163
|
height: 80px;
|
|
166
|
-
margin-right:
|
|
164
|
+
margin-right: var(--pk-space-lg);
|
|
167
165
|
line-height: 0;
|
|
168
|
-
border-radius:
|
|
166
|
+
border-radius: var(--pk-radius-md);
|
|
169
167
|
overflow: hidden;
|
|
170
168
|
}
|
|
171
169
|
.prokodo-PostWidget__image__container {
|
|
@@ -189,7 +187,7 @@
|
|
|
189
187
|
.prokodo-PostWidget__date {
|
|
190
188
|
display: block;
|
|
191
189
|
margin: 0;
|
|
192
|
-
color: var(--color-
|
|
190
|
+
color: var(--pk-color-muted);
|
|
193
191
|
font-weight: 400;
|
|
194
192
|
font-size: 1rem;
|
|
195
193
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -22,6 +22,7 @@ function PostWidgetView({
|
|
|
22
22
|
classes,
|
|
23
23
|
componentsProps,
|
|
24
24
|
structuredData = true,
|
|
25
|
+
color,
|
|
25
26
|
...rest
|
|
26
27
|
}) {
|
|
27
28
|
var _a, _b;
|
|
@@ -30,7 +31,7 @@ function PostWidgetView({
|
|
|
30
31
|
enableShadow: true,
|
|
31
32
|
...componentsProps == null ? void 0 : componentsProps.card,
|
|
32
33
|
...rest,
|
|
33
|
-
|
|
34
|
+
color: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.color) ?? (rest == null ? void 0 : rest.color) ?? color ?? void 0
|
|
34
35
|
};
|
|
35
36
|
return /* @__PURE__ */ jsxs(
|
|
36
37
|
"section",
|
|
@@ -58,16 +59,19 @@ function PostWidgetView({
|
|
|
58
59
|
Headline,
|
|
59
60
|
{
|
|
60
61
|
highlight: true,
|
|
61
|
-
size: "md",
|
|
62
|
-
type: "h2",
|
|
63
62
|
...{ ...title, ...(componentsProps == null ? void 0 : componentsProps.title) ?? {} },
|
|
64
63
|
itemProp: "headline",
|
|
64
|
+
size: "md",
|
|
65
|
+
type: "h2",
|
|
65
66
|
className: bem(
|
|
66
67
|
"title",
|
|
67
68
|
void 0,
|
|
68
69
|
[title == null ? void 0 : title.className, classes == null ? void 0 : classes.title].filter(Boolean).join(" ")
|
|
69
70
|
),
|
|
70
|
-
|
|
71
|
+
color: (title == null ? void 0 : title.color) ?? ((_b = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _b.color) ?? (color && color !== "white" ? color : (
|
|
72
|
+
/* istanbul ignore next */
|
|
73
|
+
void 0
|
|
74
|
+
)) ?? "inherit",
|
|
71
75
|
children: title == null ? void 0 : title.content
|
|
72
76
|
}
|
|
73
77
|
),
|
|
@@ -118,8 +122,12 @@ function PostWidgetView({
|
|
|
118
122
|
const headlineMerged = {
|
|
119
123
|
size: "sm",
|
|
120
124
|
type: "h3",
|
|
121
|
-
|
|
122
|
-
|
|
125
|
+
color: (color && color !== "white" ? color : (
|
|
126
|
+
/* istanbul ignore next */
|
|
127
|
+
void 0
|
|
128
|
+
)) ?? "inherit",
|
|
129
|
+
...item.title ?? /* istanbul ignore next */
|
|
130
|
+
{},
|
|
123
131
|
...(componentsProps == null ? void 0 : componentsProps.title) ?? {},
|
|
124
132
|
...((_o = item.componentsProps) == null ? void 0 : _o.headline) ?? {},
|
|
125
133
|
className: bem(
|
|
@@ -134,7 +142,11 @@ function PostWidgetView({
|
|
|
134
142
|
};
|
|
135
143
|
let formattedDate;
|
|
136
144
|
if (isString(item == null ? void 0 : item.date)) {
|
|
137
|
-
formattedDate = localizeDate(
|
|
145
|
+
formattedDate = localizeDate(
|
|
146
|
+
(item == null ? void 0 : item.locale) ?? /* istanbul ignore next */
|
|
147
|
+
"en-GB",
|
|
148
|
+
item == null ? void 0 : item.date
|
|
149
|
+
);
|
|
138
150
|
}
|
|
139
151
|
return /* @__PURE__ */ jsx(
|
|
140
152
|
"li",
|
|
@@ -208,7 +220,8 @@ function PostWidgetView({
|
|
|
208
220
|
}
|
|
209
221
|
)
|
|
210
222
|
},
|
|
211
|
-
`post-widget-item-${((_y = item.title) == null ? void 0 : _y.content) ??
|
|
223
|
+
`post-widget-item-${((_y = item.title) == null ? void 0 : _y.content) ?? /* istanbul ignore next */
|
|
224
|
+
i}`
|
|
212
225
|
);
|
|
213
226
|
})
|
|
214
227
|
}
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
}
|
|
130
130
|
.prokodo-PostWidgetCarousel__carousel {
|
|
131
131
|
position: relative;
|
|
132
|
-
margin-top:
|
|
132
|
+
margin-top: var(--pk-space-xl);
|
|
133
133
|
}
|
|
134
134
|
.prokodo-PostWidgetCarousel__carousel__wrapper {
|
|
135
|
-
padding-bottom:
|
|
135
|
+
padding-bottom: var(--pk-space-lg);
|
|
136
136
|
}
|
|
137
137
|
.prokodo-PostWidgetCarousel__carousel__item__image__link {
|
|
138
138
|
position: relative;
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
height: clamp(180px, 30vw, 420px);
|
|
141
141
|
display: block;
|
|
142
142
|
line-height: 0;
|
|
143
|
-
border-radius:
|
|
143
|
+
border-radius: var(--pk-radius-md);
|
|
144
144
|
overflow: hidden;
|
|
145
145
|
}
|
|
146
146
|
.prokodo-PostWidgetCarousel__carousel__item__image {
|
|
@@ -164,16 +164,16 @@
|
|
|
164
164
|
}
|
|
165
165
|
.prokodo-PostWidgetCarousel__carousel__buttons {
|
|
166
166
|
position: absolute;
|
|
167
|
-
bottom:
|
|
168
|
-
right:
|
|
167
|
+
bottom: var(--pk-space-md);
|
|
168
|
+
right: var(--pk-space-sm);
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: row;
|
|
171
171
|
max-width: 100px;
|
|
172
|
-
gap:
|
|
172
|
+
gap: var(--pk-space-sm);
|
|
173
173
|
z-index: 2;
|
|
174
174
|
}
|
|
175
175
|
.prokodo-PostWidgetCarousel__headline {
|
|
176
|
-
margin-top:
|
|
176
|
+
margin-top: var(--pk-space-md) !important;
|
|
177
177
|
display: -webkit-box;
|
|
178
178
|
-webkit-line-clamp: 2;
|
|
179
179
|
-webkit-box-orient: vertical;
|
|
@@ -5,9 +5,15 @@ import PostWidgetCarouselServer from "./PostWidgetCarousel.server.js";
|
|
|
5
5
|
const PostWidgetCarousel = createIsland({
|
|
6
6
|
name: "PostWidgetCarousel",
|
|
7
7
|
Server: PostWidgetCarouselServer,
|
|
8
|
-
loadLazy:
|
|
8
|
+
loadLazy: (
|
|
9
|
+
/* istanbul ignore next */
|
|
10
|
+
/* @__PURE__ */ __name(() => import("./PostWidgetCarousel.lazy.js"), "loadLazy")
|
|
11
|
+
),
|
|
9
12
|
// Carousel is interactive; render server first then hydrate when visible
|
|
10
|
-
isInteractive:
|
|
13
|
+
isInteractive: (
|
|
14
|
+
/* istanbul ignore next */
|
|
15
|
+
/* @__PURE__ */ __name(() => true, "isInteractive")
|
|
16
|
+
)
|
|
11
17
|
});
|
|
12
18
|
export {
|
|
13
19
|
PostWidgetCarousel
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
}
|
|
130
130
|
.prokodo-PostWidgetCarousel__carousel {
|
|
131
131
|
position: relative;
|
|
132
|
-
margin-top:
|
|
132
|
+
margin-top: var(--pk-space-xl);
|
|
133
133
|
}
|
|
134
134
|
.prokodo-PostWidgetCarousel__carousel__wrapper {
|
|
135
|
-
padding-bottom:
|
|
135
|
+
padding-bottom: var(--pk-space-lg);
|
|
136
136
|
}
|
|
137
137
|
.prokodo-PostWidgetCarousel__carousel__item__image__link {
|
|
138
138
|
position: relative;
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
height: clamp(180px, 30vw, 420px);
|
|
141
141
|
display: block;
|
|
142
142
|
line-height: 0;
|
|
143
|
-
border-radius:
|
|
143
|
+
border-radius: var(--pk-radius-md);
|
|
144
144
|
overflow: hidden;
|
|
145
145
|
}
|
|
146
146
|
.prokodo-PostWidgetCarousel__carousel__item__image {
|
|
@@ -164,16 +164,16 @@
|
|
|
164
164
|
}
|
|
165
165
|
.prokodo-PostWidgetCarousel__carousel__buttons {
|
|
166
166
|
position: absolute;
|
|
167
|
-
bottom:
|
|
168
|
-
right:
|
|
167
|
+
bottom: var(--pk-space-md);
|
|
168
|
+
right: var(--pk-space-sm);
|
|
169
169
|
display: flex;
|
|
170
170
|
flex-direction: row;
|
|
171
171
|
max-width: 100px;
|
|
172
|
-
gap:
|
|
172
|
+
gap: var(--pk-space-sm);
|
|
173
173
|
z-index: 2;
|
|
174
174
|
}
|
|
175
175
|
.prokodo-PostWidgetCarousel__headline {
|
|
176
|
-
margin-top:
|
|
176
|
+
margin-top: var(--pk-space-md) !important;
|
|
177
177
|
display: -webkit-box;
|
|
178
178
|
-webkit-line-clamp: 2;
|
|
179
179
|
-webkit-box-orient: vertical;
|