@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
package/dist/ui.css
CHANGED
|
@@ -1412,7 +1412,6 @@ html[data-theme=dark] .prokodo-Button--has-variant-outlined {
|
|
|
1412
1412
|
background: none;
|
|
1413
1413
|
}
|
|
1414
1414
|
.prokodo-Button--has-icon {
|
|
1415
|
-
display: flex;
|
|
1416
1415
|
align-items: center;
|
|
1417
1416
|
}
|
|
1418
1417
|
.prokodo-Button--icon-only {
|
|
@@ -1785,7 +1784,6 @@ html[data-theme=dark] .prokodo-Button--icon-only {
|
|
|
1785
1784
|
display: flex;
|
|
1786
1785
|
justify-content: center;
|
|
1787
1786
|
align-items: center;
|
|
1788
|
-
padding: 0.5rem;
|
|
1789
1787
|
border-radius: 200px;
|
|
1790
1788
|
overflow: hidden;
|
|
1791
1789
|
background-color: var(--color-grey-100);
|
|
@@ -1812,7 +1810,6 @@ html[data-theme=dark] .prokodo-Button--icon-only {
|
|
|
1812
1810
|
background-color: var(--color-white);
|
|
1813
1811
|
}
|
|
1814
1812
|
.prokodo-Avatar--has-size-xs {
|
|
1815
|
-
padding: 0.25rem;
|
|
1816
1813
|
width: 30px;
|
|
1817
1814
|
height: 30px;
|
|
1818
1815
|
}
|
|
@@ -1833,8 +1830,14 @@ html[data-theme=dark] .prokodo-Button--icon-only {
|
|
|
1833
1830
|
height: 100px;
|
|
1834
1831
|
}
|
|
1835
1832
|
.prokodo-Avatar__image {
|
|
1833
|
+
width: 100%;
|
|
1834
|
+
height: 100%;
|
|
1835
|
+
display: block;
|
|
1836
1836
|
-o-object-fit: cover;
|
|
1837
1837
|
object-fit: cover;
|
|
1838
|
+
-o-object-position: center;
|
|
1839
|
+
object-position: center;
|
|
1840
|
+
border-radius: 100%;
|
|
1838
1841
|
}
|
|
1839
1842
|
.prokodo-Avatar__link {
|
|
1840
1843
|
box-shadow: var(--elevation-1);
|
|
@@ -2166,13 +2169,11 @@ html[data-theme=dark] .prokodo-Card--white {
|
|
|
2166
2169
|
background-repeat: no-repeat;
|
|
2167
2170
|
background-position: center;
|
|
2168
2171
|
background-size: cover;
|
|
2169
|
-
border-radius: 2rem;
|
|
2170
2172
|
}
|
|
2171
2173
|
html[data-theme=dark] .prokodo-Card__background {
|
|
2172
2174
|
opacity: 0.7;
|
|
2173
2175
|
}
|
|
2174
2176
|
.prokodo-Card__link {
|
|
2175
|
-
display: flex;
|
|
2176
2177
|
align-items: center;
|
|
2177
2178
|
}
|
|
2178
2179
|
.prokodo-Card__link:hover {
|
|
@@ -2196,7 +2197,10 @@ html[data-theme=dark] .prokodo-Card__background {
|
|
|
2196
2197
|
/* keep the gradient *class hooks*, but DO NOT include animated keyframes here */
|
|
2197
2198
|
}
|
|
2198
2199
|
.prokodo-Card__gradiant {
|
|
2199
|
-
position:
|
|
2200
|
+
position: absolute;
|
|
2201
|
+
width: 100%;
|
|
2202
|
+
height: 100%;
|
|
2203
|
+
top: 0;
|
|
2200
2204
|
border-radius: 2rem;
|
|
2201
2205
|
}
|
|
2202
2206
|
.prokodo-Card__gradiant--primary {
|
|
@@ -6951,7 +6955,8 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
6951
6955
|
.prokodo-InputOTP__input__node {
|
|
6952
6956
|
width: 100%;
|
|
6953
6957
|
padding: 0.5rem 1rem;
|
|
6954
|
-
}
|
|
6958
|
+
}
|
|
6959
|
+
/* stylelint-disable */
|
|
6955
6960
|
/**
|
|
6956
6961
|
* Calculates a rem-based value by a given pixel size.
|
|
6957
6962
|
*/
|
|
@@ -7078,23 +7083,48 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7078
7083
|
* content.
|
|
7079
7084
|
*/
|
|
7080
7085
|
.prokodo-PostItem__grid {
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
flex-direction: column-reverse
|
|
7086
|
+
/* Mobile: stacked, image on top via order */
|
|
7087
|
+
display: flex;
|
|
7088
|
+
flex-direction: column-reverse;
|
|
7089
|
+
gap: 1rem;
|
|
7090
|
+
align-items: stretch;
|
|
7084
7091
|
}
|
|
7085
7092
|
@media screen and (min-width: 960px) {
|
|
7086
7093
|
.prokodo-PostItem__grid {
|
|
7087
|
-
flex-direction: row
|
|
7094
|
+
flex-direction: row;
|
|
7095
|
+
align-items: flex-start;
|
|
7096
|
+
gap: 1.5rem;
|
|
7088
7097
|
}
|
|
7089
7098
|
}
|
|
7090
|
-
.prokodo-
|
|
7091
|
-
|
|
7099
|
+
.prokodo-PostItem__media {
|
|
7100
|
+
order: 1;
|
|
7101
|
+
width: 100%;
|
|
7102
|
+
min-width: 0;
|
|
7092
7103
|
}
|
|
7093
|
-
@media screen and (min-width:
|
|
7094
|
-
.prokodo-
|
|
7095
|
-
|
|
7104
|
+
@media screen and (min-width: 960px) {
|
|
7105
|
+
.prokodo-PostItem__media {
|
|
7106
|
+
order: 0;
|
|
7107
|
+
flex: 0 1 33.3333%;
|
|
7108
|
+
max-width: 33.333%;
|
|
7109
|
+
min-width: 0; /* prevent overflow pushing layout */
|
|
7096
7110
|
}
|
|
7097
7111
|
}
|
|
7112
|
+
.prokodo-PostItem__main {
|
|
7113
|
+
order: 0;
|
|
7114
|
+
width: 100%;
|
|
7115
|
+
min-width: 0;
|
|
7116
|
+
}
|
|
7117
|
+
@media screen and (min-width: 960px) {
|
|
7118
|
+
.prokodo-PostItem__main {
|
|
7119
|
+
order: 1;
|
|
7120
|
+
flex: 0 1 66.666%;
|
|
7121
|
+
max-width: 66.666%;
|
|
7122
|
+
min-width: 0;
|
|
7123
|
+
}
|
|
7124
|
+
}
|
|
7125
|
+
.prokodo-PostItem__animation {
|
|
7126
|
+
transform: none;
|
|
7127
|
+
}
|
|
7098
7128
|
.prokodo-PostItem__headline {
|
|
7099
7129
|
display: -webkit-box;
|
|
7100
7130
|
-webkit-line-clamp: 2;
|
|
@@ -7157,6 +7187,8 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7157
7187
|
.prokodo-PostItem__content {
|
|
7158
7188
|
display: flex;
|
|
7159
7189
|
align-items: center;
|
|
7190
|
+
min-width: 0; /* ← prevent long lines from forcing column wider */
|
|
7191
|
+
overflow-wrap: anywhere; /* ← allow breaking long words/URLs */
|
|
7160
7192
|
font-weight: 400;
|
|
7161
7193
|
font-size: 1.125rem;
|
|
7162
7194
|
font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
|
|
@@ -7186,28 +7218,29 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7186
7218
|
-webkit-box-orient: vertical;
|
|
7187
7219
|
overflow: hidden;
|
|
7188
7220
|
}
|
|
7221
|
+
.prokodo-PostItem__content__paragraph > p {
|
|
7222
|
+
margin: 0.5rem 0.25rem;
|
|
7223
|
+
}
|
|
7189
7224
|
.prokodo-PostItem__image {
|
|
7225
|
+
min-height: 300px;
|
|
7190
7226
|
min-height: 300px;
|
|
7191
7227
|
-o-object-fit: cover;
|
|
7192
7228
|
object-fit: cover;
|
|
7193
7229
|
}
|
|
7230
|
+
.prokodo-PostItem__image__content__wrapper {
|
|
7231
|
+
padding: 0;
|
|
7232
|
+
}
|
|
7194
7233
|
.prokodo-PostItem__image__wrapper {
|
|
7195
7234
|
width: 100%;
|
|
7235
|
+
min-width: 300px;
|
|
7196
7236
|
min-height: 300px;
|
|
7197
7237
|
border-radius: 25px;
|
|
7198
7238
|
overflow: hidden;
|
|
7199
|
-
transform:
|
|
7200
|
-
}
|
|
7201
|
-
@media screen and (min-width: 480px) {
|
|
7202
|
-
.prokodo-PostItem__image__wrapper {
|
|
7203
|
-
transform: translate(-20vh, 0);
|
|
7204
|
-
}
|
|
7205
|
-
}
|
|
7206
|
-
.prokodo-PostItem__image__content__wrapper {
|
|
7207
|
-
display: block;
|
|
7239
|
+
transform: none; /* prevent overlay */
|
|
7208
7240
|
}
|
|
7209
7241
|
.prokodo-PostItem__button {
|
|
7210
7242
|
width: 100%;
|
|
7243
|
+
margin-top: 1rem;
|
|
7211
7244
|
}
|
|
7212
7245
|
.prokodo-PostItem__button__content {
|
|
7213
7246
|
justify-content: flex-start;
|
|
@@ -7515,7 +7548,7 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7515
7548
|
align-items: center;
|
|
7516
7549
|
justify-content: space-between;
|
|
7517
7550
|
margin-top: auto;
|
|
7518
|
-
padding:
|
|
7551
|
+
padding: 1rem;
|
|
7519
7552
|
}
|
|
7520
7553
|
.prokodo-PostTeaser__meta {
|
|
7521
7554
|
position: absolute;
|
|
@@ -7535,7 +7568,17 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7535
7568
|
-webkit-box-orient: vertical;
|
|
7536
7569
|
overflow: hidden;
|
|
7537
7570
|
}
|
|
7571
|
+
.prokodo-PostTeaser__meta__readcount {
|
|
7572
|
+
margin: 0;
|
|
7573
|
+
}
|
|
7574
|
+
.prokodo-PostTeaser__meta__readcount__wrapper {
|
|
7575
|
+
display: flex;
|
|
7576
|
+
gap: 0.5rem;
|
|
7577
|
+
}
|
|
7538
7578
|
.prokodo-PostTeaser__image {
|
|
7579
|
+
display: block;
|
|
7580
|
+
width: 100%;
|
|
7581
|
+
height: 100%;
|
|
7539
7582
|
-o-object-fit: cover;
|
|
7540
7583
|
object-fit: cover;
|
|
7541
7584
|
}
|
|
@@ -7543,6 +7586,13 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7543
7586
|
position: relative;
|
|
7544
7587
|
width: 100%;
|
|
7545
7588
|
height: 230px;
|
|
7589
|
+
overflow: hidden;
|
|
7590
|
+
}
|
|
7591
|
+
.prokodo-PostTeaser__image__container {
|
|
7592
|
+
position: absolute;
|
|
7593
|
+
inset: 0;
|
|
7594
|
+
width: 100%;
|
|
7595
|
+
height: 100%;
|
|
7546
7596
|
}
|
|
7547
7597
|
.prokodo-PostTeaser__image__caption {
|
|
7548
7598
|
bottom: 0.5rem;
|
|
@@ -7612,7 +7662,8 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7612
7662
|
}
|
|
7613
7663
|
.prokodo-PostTeaser__link--is-hovered {
|
|
7614
7664
|
color: var(--color-primary-500) !important;
|
|
7615
|
-
}
|
|
7665
|
+
}
|
|
7666
|
+
/* stylelint-disable */
|
|
7616
7667
|
/**
|
|
7617
7668
|
* Calculates a rem-based value by a given pixel size.
|
|
7618
7669
|
*/
|
|
@@ -7746,19 +7797,27 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7746
7797
|
.prokodo-PostWidget__list--has-fullWidth {
|
|
7747
7798
|
display: flex;
|
|
7748
7799
|
flex-wrap: wrap;
|
|
7800
|
+
gap: 1rem;
|
|
7749
7801
|
}
|
|
7750
7802
|
.prokodo-PostWidget__list__item {
|
|
7751
7803
|
display: block;
|
|
7752
7804
|
margin-top: 1rem;
|
|
7753
7805
|
}
|
|
7754
7806
|
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
7755
|
-
width:
|
|
7807
|
+
width: 100%;
|
|
7808
|
+
}
|
|
7809
|
+
@media screen and (min-width: 480px) {
|
|
7810
|
+
.prokodo-PostWidget__list__item--has-fullWidth {
|
|
7811
|
+
width: calc(50% - 0.5rem);
|
|
7812
|
+
}
|
|
7756
7813
|
}
|
|
7757
7814
|
.prokodo-PostWidget__list__item__content {
|
|
7758
7815
|
display: flex;
|
|
7759
7816
|
justify-content: flex-start;
|
|
7760
7817
|
}
|
|
7761
7818
|
.prokodo-PostWidget__image {
|
|
7819
|
+
width: 100%;
|
|
7820
|
+
height: 100%;
|
|
7762
7821
|
-o-object-fit: cover;
|
|
7763
7822
|
object-fit: cover;
|
|
7764
7823
|
}
|
|
@@ -7772,10 +7831,20 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7772
7831
|
border-radius: 13px;
|
|
7773
7832
|
overflow: hidden;
|
|
7774
7833
|
}
|
|
7834
|
+
.prokodo-PostWidget__image {
|
|
7835
|
+
/* This is the Image component’s container to force fill */
|
|
7836
|
+
}
|
|
7837
|
+
.prokodo-PostWidget__image__container {
|
|
7838
|
+
position: absolute;
|
|
7839
|
+
inset: 0;
|
|
7840
|
+
width: 100%;
|
|
7841
|
+
height: 100%;
|
|
7842
|
+
}
|
|
7775
7843
|
.prokodo-PostWidget__content {
|
|
7776
7844
|
display: flex;
|
|
7777
7845
|
flex-direction: column;
|
|
7778
7846
|
justify-content: space-between;
|
|
7847
|
+
min-width: 0;
|
|
7779
7848
|
}
|
|
7780
7849
|
.prokodo-PostWidget__headline {
|
|
7781
7850
|
display: -webkit-box;
|
|
@@ -7934,25 +8003,37 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7934
8003
|
* This mixin specifies basic text-styles for components that render a richtext
|
|
7935
8004
|
* content.
|
|
7936
8005
|
*/
|
|
8006
|
+
.prokodo-PostWidgetCarousel__card {
|
|
8007
|
+
padding-bottom: 0;
|
|
8008
|
+
}
|
|
7937
8009
|
.prokodo-PostWidgetCarousel__carousel {
|
|
7938
8010
|
position: relative;
|
|
7939
|
-
width: 100%;
|
|
7940
|
-
overflow: hidden;
|
|
7941
8011
|
margin-top: 1.5rem;
|
|
7942
8012
|
}
|
|
8013
|
+
.prokodo-PostWidgetCarousel__carousel__wrapper {
|
|
8014
|
+
padding-bottom: 1rem;
|
|
8015
|
+
}
|
|
7943
8016
|
.prokodo-PostWidgetCarousel__carousel__item__image__link {
|
|
7944
8017
|
position: relative;
|
|
7945
8018
|
width: 100%;
|
|
7946
|
-
height:
|
|
8019
|
+
height: clamp(180px, 30vw, 420px);
|
|
7947
8020
|
display: block;
|
|
7948
8021
|
line-height: 0;
|
|
7949
8022
|
border-radius: 13px;
|
|
7950
8023
|
overflow: hidden;
|
|
7951
8024
|
}
|
|
7952
8025
|
.prokodo-PostWidgetCarousel__carousel__item__image {
|
|
8026
|
+
width: 100%;
|
|
8027
|
+
height: 100%;
|
|
7953
8028
|
-o-object-fit: cover;
|
|
7954
8029
|
object-fit: cover;
|
|
7955
8030
|
}
|
|
8031
|
+
.prokodo-PostWidgetCarousel__carousel__item__image__container {
|
|
8032
|
+
position: absolute;
|
|
8033
|
+
inset: 0;
|
|
8034
|
+
width: 100%;
|
|
8035
|
+
height: 100%;
|
|
8036
|
+
}
|
|
7956
8037
|
.prokodo-PostWidgetCarousel__carousel__item__link {
|
|
7957
8038
|
position: relative;
|
|
7958
8039
|
display: block;
|
|
@@ -7963,14 +8044,14 @@ html[data-theme=dark] .prokodo-List__item__icon {
|
|
|
7963
8044
|
.prokodo-PostWidgetCarousel__carousel__buttons {
|
|
7964
8045
|
position: absolute;
|
|
7965
8046
|
bottom: 0.75rem;
|
|
7966
|
-
right:
|
|
8047
|
+
right: 0.5rem;
|
|
7967
8048
|
display: flex;
|
|
7968
8049
|
flex-direction: row;
|
|
7969
|
-
|
|
7970
|
-
|
|
8050
|
+
max-width: 100px;
|
|
8051
|
+
gap: 0.5rem;
|
|
8052
|
+
z-index: 2;
|
|
7971
8053
|
}
|
|
7972
8054
|
.prokodo-PostWidgetCarousel__headline {
|
|
7973
|
-
width: 75%;
|
|
7974
8055
|
margin-top: 0.75rem !important;
|
|
7975
8056
|
display: -webkit-box;
|
|
7976
8057
|
-webkit-line-clamp: 2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prokodo/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.53",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "UI components for production-grade Next.js + Headless CMS (Strapi, Contentful, Headless WordPress) websites by prokodo – built for Core Web Vitals & SEO.",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -335,9 +335,10 @@
|
|
|
335
335
|
"build": "vite build && pnpm build:types && node tools/update-exports.mjs",
|
|
336
336
|
"build:types": "tsc --project tsconfig.build.json",
|
|
337
337
|
"typecheck": "tsc --project tsconfig.typecheck.json",
|
|
338
|
-
"test": "NODE_ENV=test jest --coverage --verbose && pnpm lint && pnpm typecheck",
|
|
338
|
+
"test": "NODE_ENV=test jest --coverage --verbose && pnpm format && pnpm lint && pnpm typecheck",
|
|
339
339
|
"test:watch": "NODE_ENV=test jest --watch",
|
|
340
340
|
"test:ci": "NODE_ENV=test jest --runInBand --ci",
|
|
341
|
+
"fix": "pnpm format:fix && pnpm lint:fix",
|
|
341
342
|
"lint": "eslint 'src/**/*.{ts,tsx}' --cache --cache-location .eslintcache",
|
|
342
343
|
"lint:fix": "eslint 'src/**/*.{ts,tsx}' --fix --cache --cache-location .eslintcache",
|
|
343
344
|
"format": "prettier --check .",
|