@prokodo/ui 0.1.15 → 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.
Files changed (283) hide show
  1. package/LICENSE +187 -26
  2. package/NOTICE +24 -0
  3. package/README.md +32 -302
  4. package/dist/components/RTE/RTE.css +180 -68
  5. package/dist/components/RTE/RTE.module.css +180 -68
  6. package/dist/components/RTE/RTE.module.scss.js +10 -0
  7. package/dist/components/RTE/RTE.view.js +5 -1
  8. package/dist/components/accordion/Accordion.css +120 -67
  9. package/dist/components/accordion/Accordion.module.css +120 -67
  10. package/dist/components/accordion/Accordion.module.scss.js +12 -5
  11. package/dist/components/accordion/Accordion.view.js +3 -3
  12. package/dist/components/autocomplete/Autocomplete.css +111 -95
  13. package/dist/components/autocomplete/Autocomplete.module.css +111 -95
  14. package/dist/components/autocomplete/Autocomplete.module.scss.js +11 -4
  15. package/dist/components/autocomplete/Autocomplete.view.js +3 -1
  16. package/dist/components/avatar/Avatar.css +11 -8
  17. package/dist/components/avatar/Avatar.module.css +11 -8
  18. package/dist/components/avatar/Avatar.module.scss.js +1 -0
  19. package/dist/components/avatar/Avatar.view.js +5 -5
  20. package/dist/components/button/Button.client.js +12 -16
  21. package/dist/components/button/Button.css +85 -137
  22. package/dist/components/button/Button.module.css +85 -137
  23. package/dist/components/button/Button.module.scss.js +15 -19
  24. package/dist/components/button/Button.view.js +6 -2
  25. package/dist/components/calendly/Calendly.css +132 -0
  26. package/dist/components/calendly/Calendly.module.css +132 -0
  27. package/dist/components/calendly/Calendly.module.scss.js +6 -0
  28. package/dist/components/calendly/Calendly.view.js +12 -6
  29. package/dist/components/card/Card.client.js +6 -1
  30. package/dist/components/card/Card.css +67 -32
  31. package/dist/components/card/Card.module.css +67 -32
  32. package/dist/components/card/Card.module.scss.js +8 -2
  33. package/dist/components/card/Card.view.js +3 -3
  34. package/dist/components/carousel/Carousel.client.js +2 -4
  35. package/dist/components/carousel/Carousel.css +8 -4
  36. package/dist/components/carousel/Carousel.module.css +8 -4
  37. package/dist/components/checkbox/Checkbox.css +100 -79
  38. package/dist/components/checkbox/Checkbox.module.css +100 -79
  39. package/dist/components/checkbox/Checkbox.module.scss.js +11 -4
  40. package/dist/components/checkbox/Checkbox.view.js +3 -1
  41. package/dist/components/checkbox-group/CheckboxGroup.css +39 -6
  42. package/dist/components/checkbox-group/CheckboxGroup.module.css +39 -6
  43. package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +8 -0
  44. package/dist/components/checkbox-group/CheckboxGroup.view.js +3 -1
  45. package/dist/components/chip/Chip.css +185 -61
  46. package/dist/components/chip/Chip.module.css +185 -61
  47. package/dist/components/chip/Chip.module.scss.js +13 -17
  48. package/dist/components/chip/Chip.view.js +3 -4
  49. package/dist/components/datePicker/DatePicker.client.js +211 -66
  50. package/dist/components/datePicker/DatePicker.css +940 -0
  51. package/dist/components/datePicker/DatePicker.module.css +940 -0
  52. package/dist/components/datePicker/DatePicker.module.scss.js +62 -0
  53. package/dist/components/datePicker/DatePicker.server.js +31 -1
  54. package/dist/components/datePicker/DatePicker.utils.js +103 -0
  55. package/dist/components/datePicker/DatePicker.view.js +113 -41
  56. package/dist/components/datePicker/DatePickerDialog.view.js +291 -0
  57. package/dist/components/dialog/Dialog.css +107 -132
  58. package/dist/components/dialog/Dialog.module.css +107 -132
  59. package/dist/components/dialog/Dialog.module.scss.js +13 -8
  60. package/dist/components/drawer/Drawer.css +8 -8
  61. package/dist/components/drawer/Drawer.module.css +8 -8
  62. package/dist/components/dynamic-list/DynamicList.css +20 -12
  63. package/dist/components/dynamic-list/DynamicList.module.css +20 -12
  64. package/dist/components/dynamic-list/DynamicList.module.scss.js +1 -0
  65. package/dist/components/dynamic-list/DynamicList.view.js +78 -46
  66. package/dist/components/form/Form.view.js +3 -3
  67. package/dist/components/form/FormField.client.js +51 -2
  68. package/dist/components/form/FormField.server.js +10 -4
  69. package/dist/components/form/FormResponse.js +2 -2
  70. package/dist/components/grid/Grid.css +1 -1
  71. package/dist/components/grid/Grid.module.css +1 -1
  72. package/dist/components/headline/Headline.css +16 -16
  73. package/dist/components/headline/Headline.js +5 -6
  74. package/dist/components/headline/Headline.module.css +16 -16
  75. package/dist/components/headline/Headline.module.scss.js +1 -1
  76. package/dist/components/headline/Headline.variants.js +4 -1
  77. package/dist/components/icon/Icon.css +14 -14
  78. package/dist/components/icon/Icon.module.css +14 -14
  79. package/dist/components/image/Image.css +4 -3
  80. package/dist/components/image/Image.module.css +4 -3
  81. package/dist/components/image-text/ImageText.css +43 -14
  82. package/dist/components/image-text/ImageText.js +61 -53
  83. package/dist/components/image-text/ImageText.module.css +43 -14
  84. package/dist/components/image-text/ImageText.module.scss.js +11 -2
  85. package/dist/components/input/Input.css +197 -115
  86. package/dist/components/input/Input.module.css +197 -115
  87. package/dist/components/input/Input.module.scss.js +19 -3
  88. package/dist/components/input/Input.view.js +87 -57
  89. package/dist/components/inputOTP/InputOTP.client.js +165 -0
  90. package/dist/components/inputOTP/InputOTP.css +155 -7
  91. package/dist/components/inputOTP/InputOTP.js +10 -195
  92. package/dist/components/inputOTP/InputOTP.lazy.js +12 -0
  93. package/dist/components/inputOTP/InputOTP.module.css +155 -7
  94. package/dist/components/inputOTP/InputOTP.module.scss.js +14 -0
  95. package/dist/components/inputOTP/InputOTP.server.js +32 -0
  96. package/dist/components/inputOTP/InputOTP.view.js +117 -0
  97. package/dist/components/label/Label.css +33 -14
  98. package/dist/components/label/Label.js +37 -35
  99. package/dist/components/label/Label.module.css +33 -14
  100. package/dist/components/label/Label.module.scss.js +9 -2
  101. package/dist/components/link/Link.css +13 -13
  102. package/dist/components/link/Link.module.css +13 -13
  103. package/dist/components/link/Link.view.js +14 -12
  104. package/dist/components/list/List.css +71 -32
  105. package/dist/components/list/List.js +25 -8
  106. package/dist/components/list/List.module.css +71 -32
  107. package/dist/components/list/List.module.scss.js +1 -1
  108. package/dist/components/loading/Loading.view.js +22 -2
  109. package/dist/components/lottie/Lottie.css +16 -0
  110. package/dist/components/lottie/Lottie.module.css +16 -0
  111. package/dist/components/lottie/Lottie.module.scss.js +6 -2
  112. package/dist/components/map/Map.css +130 -0
  113. package/dist/components/map/Map.js +5 -2
  114. package/dist/components/map/Map.module.css +130 -0
  115. package/dist/components/map/Map.module.scss.js +6 -0
  116. package/dist/components/pagination/Pagination.css +127 -11
  117. package/dist/components/pagination/Pagination.module.css +127 -11
  118. package/dist/components/pagination/Pagination.module.scss.js +12 -4
  119. package/dist/components/pagination/Pagination.view.js +13 -1
  120. package/dist/components/post-item/PostItem.css +16 -16
  121. package/dist/components/post-item/PostItem.module.css +16 -16
  122. package/dist/components/post-item/PostItem.view.js +14 -5
  123. package/dist/components/post-teaser/PostTeaser.css +13 -13
  124. package/dist/components/post-teaser/PostTeaser.module.css +13 -13
  125. package/dist/components/post-teaser/PostTeaser.view.js +10 -3
  126. package/dist/components/post-widget/PostWidget.css +6 -8
  127. package/dist/components/post-widget/PostWidget.module.css +6 -8
  128. package/dist/components/post-widget/PostWidget.view.js +12 -5
  129. package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -7
  130. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.css +7 -7
  131. package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +30 -13
  132. package/dist/components/progressBar/ProgressBar.css +4 -4
  133. package/dist/components/progressBar/ProgressBar.module.css +4 -4
  134. package/dist/components/progressBar/ProgressBar.view.js +2 -2
  135. package/dist/components/quote/Quote.css +21 -6
  136. package/dist/components/quote/Quote.js +5 -5
  137. package/dist/components/quote/Quote.module.css +21 -6
  138. package/dist/components/quote/Quote.module.scss.js +5 -0
  139. package/dist/components/rating/Rating.css +34 -21
  140. package/dist/components/rating/Rating.module.css +34 -21
  141. package/dist/components/rating/Rating.module.scss.js +8 -0
  142. package/dist/components/rating/Rating.view.js +4 -2
  143. package/dist/components/rich-text/RichText.client.js +3 -3
  144. package/dist/components/rich-text/RichText.css +47 -31
  145. package/dist/components/rich-text/RichText.module.css +47 -31
  146. package/dist/components/rich-text/RichText.server.js +1 -1
  147. package/dist/components/select/Select.client.js +154 -1
  148. package/dist/components/select/Select.css +542 -221
  149. package/dist/components/select/Select.module.css +542 -221
  150. package/dist/components/select/Select.module.scss.js +57 -14
  151. package/dist/components/select/Select.view.js +40 -14
  152. package/dist/components/sidenav/SideNav.client.js +24 -1
  153. package/dist/components/sidenav/SideNav.css +89 -21
  154. package/dist/components/sidenav/SideNav.module.css +89 -21
  155. package/dist/components/sidenav/SideNav.module.scss.js +6 -1
  156. package/dist/components/sidenav/SideNav.view.js +69 -14
  157. package/dist/components/skeleton/Skeleton.css +7 -7
  158. package/dist/components/skeleton/Skeleton.module.css +7 -7
  159. package/dist/components/slider/Slider.css +177 -112
  160. package/dist/components/slider/Slider.module.css +177 -112
  161. package/dist/components/slider/Slider.module.scss.js +11 -2
  162. package/dist/components/slider/Slider.view.js +113 -101
  163. package/dist/components/snackbar/Snackbar.css +125 -64
  164. package/dist/components/snackbar/Snackbar.module.css +125 -64
  165. package/dist/components/snackbar/Snackbar.module.scss.js +11 -13
  166. package/dist/components/snackbar/Snackbar.view.js +2 -2
  167. package/dist/components/stepper/Stepper.client.js +21 -6
  168. package/dist/components/stepper/Stepper.css +46 -11
  169. package/dist/components/stepper/Stepper.module.css +46 -11
  170. package/dist/components/stepper/Stepper.module.scss.js +7 -0
  171. package/dist/components/stepper/Stepper.server.js +2 -0
  172. package/dist/components/stepper/Stepper.view.js +6 -1
  173. package/dist/components/switch/Switch.css +108 -84
  174. package/dist/components/switch/Switch.module.css +108 -84
  175. package/dist/components/switch/Switch.module.scss.js +14 -12
  176. package/dist/components/switch/Switch.view.js +9 -8
  177. package/dist/components/table/Table.css +19 -14
  178. package/dist/components/table/Table.module.css +19 -14
  179. package/dist/components/tabs/Tabs.css +53 -27
  180. package/dist/components/tabs/Tabs.module.css +53 -27
  181. package/dist/components/tabs/Tabs.module.scss.js +7 -2
  182. package/dist/components/tabs/Tabs.view.js +4 -2
  183. package/dist/components/teaser/Teaser.css +5 -5
  184. package/dist/components/teaser/Teaser.js +4 -4
  185. package/dist/components/teaser/Teaser.module.css +5 -5
  186. package/dist/components/tooltip/Tooltip.client.js +14 -4
  187. package/dist/components/tooltip/Tooltip.css +46 -9
  188. package/dist/components/tooltip/Tooltip.module.css +46 -9
  189. package/dist/components/tooltip/Tooltip.module.scss.js +5 -1
  190. package/dist/components/tooltip/Tooltip.view.js +6 -1
  191. package/dist/constants/project.js +1 -1
  192. package/dist/theme.css +3269 -1588
  193. package/dist/tsconfig.build.tsbuildinfo +1 -1
  194. package/dist/types/components/RTE/RTE.d.ts +5 -0
  195. package/dist/types/components/RTE/RTE.lazy.d.ts +5 -0
  196. package/dist/types/components/RTE/RTE.view.d.ts +1 -1
  197. package/dist/types/components/accordion/Accordion.d.ts +1 -1
  198. package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
  199. package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
  200. package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
  201. package/dist/types/components/autocomplete/Autocomplete.model.d.ts +2 -0
  202. package/dist/types/components/autocomplete/Autocomplete.view.d.ts +1 -1
  203. package/dist/types/components/avatar/Avatar.d.ts +1 -1
  204. package/dist/types/components/avatar/Avatar.lazy.d.ts +1 -1
  205. package/dist/types/components/avatar/Avatar.model.d.ts +1 -1
  206. package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
  207. package/dist/types/components/calendly/Calendly.view.d.ts +1 -1
  208. package/dist/types/components/card/Card.model.d.ts +1 -1
  209. package/dist/types/components/card/Card.view.d.ts +1 -1
  210. package/dist/types/components/checkbox/Checkbox.d.ts +1 -0
  211. package/dist/types/components/checkbox/Checkbox.lazy.d.ts +1 -0
  212. package/dist/types/components/checkbox/Checkbox.model.d.ts +2 -0
  213. package/dist/types/components/checkbox/Checkbox.view.d.ts +1 -1
  214. package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +2 -0
  215. package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +1 -1
  216. package/dist/types/components/datePicker/DatePicker.model.d.ts +70 -1
  217. package/dist/types/components/datePicker/DatePicker.utils.d.ts +10 -0
  218. package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -4
  219. package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +4 -0
  220. package/dist/types/components/dynamic-list/DynamicList.model.d.ts +2 -0
  221. package/dist/types/components/dynamic-list/DynamicList.view.d.ts +1 -1
  222. package/dist/types/components/form/Form.d.ts +1 -1
  223. package/dist/types/components/form/Form.lazy.d.ts +1 -1
  224. package/dist/types/components/form/Form.model.d.ts +19 -4
  225. package/dist/types/components/form/FormField.client.d.ts +2 -2
  226. package/dist/types/components/form/FormField.d.ts +1 -1
  227. package/dist/types/components/form/FormField.lazy.d.ts +1 -1
  228. package/dist/types/components/form/FormField.server.d.ts +2 -2
  229. package/dist/types/components/headline/Headline.model.d.ts +1 -1
  230. package/dist/types/components/input/Input.model.d.ts +8 -1
  231. package/dist/types/components/input/Input.view.d.ts +1 -1
  232. package/dist/types/components/inputOTP/InputOTP.client.d.ts +4 -0
  233. package/dist/types/components/inputOTP/InputOTP.d.ts +10 -3
  234. package/dist/types/components/inputOTP/InputOTP.lazy.d.ts +11 -0
  235. package/dist/types/components/inputOTP/InputOTP.model.d.ts +10 -0
  236. package/dist/types/components/inputOTP/InputOTP.server.d.ts +3 -0
  237. package/dist/types/components/inputOTP/InputOTP.view.d.ts +3 -0
  238. package/dist/types/components/inputOTP/index.d.ts +1 -1
  239. package/dist/types/components/label/Label.model.d.ts +2 -0
  240. package/dist/types/components/link/Link.model.d.ts +1 -1
  241. package/dist/types/components/link/Link.view.d.ts +1 -1
  242. package/dist/types/components/list/List.d.ts +1 -1
  243. package/dist/types/components/list/List.model.d.ts +14 -5
  244. package/dist/types/components/list/index.d.ts +1 -1
  245. package/dist/types/components/loading/Loading.model.d.ts +2 -0
  246. package/dist/types/components/loading/index.d.ts +1 -1
  247. package/dist/types/components/pagination/Pagination.model.d.ts +2 -0
  248. package/dist/types/components/pagination/Pagination.view.d.ts +1 -1
  249. package/dist/types/components/post-item/PostItem.model.d.ts +2 -1
  250. package/dist/types/components/post-teaser/PostTeaser.model.d.ts +2 -1
  251. package/dist/types/components/post-widget/PostWidget.view.d.ts +1 -1
  252. package/dist/types/components/progressBar/ProgressBar.d.ts +1 -1
  253. package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +1 -1
  254. package/dist/types/components/progressBar/ProgressBar.model.d.ts +3 -2
  255. package/dist/types/components/progressBar/ProgressBar.view.d.ts +1 -1
  256. package/dist/types/components/progressBar/index.d.ts +1 -1
  257. package/dist/types/components/quote/Quote.model.d.ts +1 -1
  258. package/dist/types/components/rating/Rating.model.d.ts +2 -0
  259. package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
  260. package/dist/types/components/rich-text/RichText.d.ts +1 -1
  261. package/dist/types/components/rich-text/RichText.lazy.d.ts +1 -1
  262. package/dist/types/components/rich-text/RichText.model.d.ts +1 -1
  263. package/dist/types/components/select/Select.model.d.ts +2 -0
  264. package/dist/types/components/select/Select.view.d.ts +1 -1
  265. package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
  266. package/dist/types/components/sidenav/SideNav.model.d.ts +16 -2
  267. package/dist/types/components/sidenav/SideNav.view.d.ts +1 -1
  268. package/dist/types/components/slider/Slider.model.d.ts +2 -0
  269. package/dist/types/components/snackbar/Snackbar.model.d.ts +3 -2
  270. package/dist/types/components/snackbar/Snackbar.view.d.ts +3 -2
  271. package/dist/types/components/snackbar/index.d.ts +1 -1
  272. package/dist/types/components/stepper/Stepper.d.ts +1 -0
  273. package/dist/types/components/stepper/Stepper.lazy.d.ts +1 -0
  274. package/dist/types/components/stepper/Stepper.model.d.ts +3 -0
  275. package/dist/types/components/stepper/Stepper.server.d.ts +1 -1
  276. package/dist/types/components/switch/Switch.d.ts +2 -2
  277. package/dist/types/components/switch/Switch.lazy.d.ts +2 -2
  278. package/dist/types/components/switch/Switch.model.d.ts +3 -4
  279. package/dist/types/components/tabs/Tabs.model.d.ts +2 -0
  280. package/dist/types/components/tabs/Tabs.view.d.ts +1 -1
  281. package/dist/types/components/teaser/Teaser.model.d.ts +1 -1
  282. package/dist/types/components/tooltip/Tooltip.model.d.ts +2 -0
  283. package/package.json +37 -22
@@ -12,6 +12,7 @@ function PaginationView({
12
12
  totalPages,
13
13
  disabled,
14
14
  isPending,
15
+ color,
15
16
  siblingCount = 1,
16
17
  boundaryCount = 1,
17
18
  onPrev,
@@ -33,14 +34,23 @@ function PaginationView({
33
34
  return /* @__PURE__ */ jsxs(
34
35
  "nav",
35
36
  {
37
+ "aria-busy": isPending || void 0,
36
38
  "aria-label": (t == null ? void 0 : t.pagination) ?? "Pagination",
37
- className: bem(void 0, void 0, className),
39
+ className: bem(
40
+ void 0,
41
+ {
42
+ "is-pending": Boolean(isPending),
43
+ [`color-${color}`]: Boolean(color)
44
+ },
45
+ className
46
+ ),
38
47
  children: [
39
48
  /* @__PURE__ */ jsx(
40
49
  Button,
41
50
  {
42
51
  "aria-label": (t == null ? void 0 : t.prev) ?? "Previous page",
43
52
  className: bem("btn"),
53
+ color,
44
54
  disabled: isDisabled || safePage <= 1,
45
55
  iconProps: { name: "ArrowLeft01Icon" },
46
56
  variant: "outlined",
@@ -67,6 +77,7 @@ function PaginationView({
67
77
  {
68
78
  "aria-current": isActive ? "page" : void 0,
69
79
  className: bem("page", { active: isActive }),
80
+ color,
70
81
  disabled: isDisabled || isActive,
71
82
  title: (_a = it.value) == null ? void 0 : _a.toString(),
72
83
  variant: isActive ? "outlined" : "text",
@@ -82,6 +93,7 @@ function PaginationView({
82
93
  {
83
94
  "aria-label": (t == null ? void 0 : t.next) ?? "Next page",
84
95
  className: bem("btn"),
96
+ color,
85
97
  disabled: isDisabled || safePage >= safeTotal,
86
98
  iconProps: { name: "ArrowRight01Icon" },
87
99
  variant: "outlined",
@@ -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.
@@ -129,27 +128,29 @@
129
128
  /* Mobile: stacked, image on top via order */
130
129
  display: flex;
131
130
  flex-direction: column-reverse;
132
- gap: 1rem;
131
+ gap: var(--pk-space-lg);
133
132
  align-items: stretch;
134
133
  }
135
134
  @media screen and (min-width: 960px) {
136
135
  .prokodo-PostItem__grid {
137
136
  flex-direction: row;
138
137
  align-items: flex-start;
139
- gap: 1.5rem;
138
+ gap: var(--pk-space-xl);
140
139
  }
141
140
  }
142
141
  .prokodo-PostItem__media {
143
142
  order: 1;
144
143
  width: 100%;
145
144
  min-width: 0;
145
+ display: flex;
146
+ flex-direction: column;
146
147
  }
147
148
  @media screen and (min-width: 960px) {
148
149
  .prokodo-PostItem__media {
149
150
  order: 0;
150
151
  flex: 0 1 33.3333%;
151
152
  max-width: 33.333%;
152
- min-width: 0; /* prevent overflow pushing layout */
153
+ min-width: 0;
153
154
  }
154
155
  }
155
156
  .prokodo-PostItem__main {
@@ -179,7 +180,7 @@
179
180
  align-items: center;
180
181
  }
181
182
  .prokodo-PostItem__date {
182
- color: var(--color-grey-300);
183
+ color: var(--pk-color-muted);
183
184
  font-weight: 400;
184
185
  font-size: 1.125rem;
185
186
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -201,8 +202,8 @@
201
202
  }
202
203
  }
203
204
  .prokodo-PostItem__read__count {
204
- padding-left: 0.75rem;
205
- color: var(--color-grey-300);
205
+ padding-left: var(--pk-space-md);
206
+ color: var(--pk-color-muted);
206
207
  font-weight: 400;
207
208
  font-size: 1.125rem;
208
209
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -226,8 +227,8 @@
226
227
  .prokodo-PostItem__content {
227
228
  display: flex;
228
229
  align-items: center;
229
- min-width: 0; /* ← prevent long lines from forcing column wider */
230
- overflow-wrap: anywhere; /* ← allow breaking long words/URLs */
230
+ min-width: 0;
231
+ overflow-wrap: anywhere;
231
232
  font-weight: 400;
232
233
  font-size: 1.125rem;
233
234
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -249,17 +250,16 @@
249
250
  }
250
251
  }
251
252
  .prokodo-PostItem__content__paragraph {
252
- color: var(--color-grey-500);
253
+ color: var(--pk-color-muted);
253
254
  display: -webkit-box;
254
255
  -webkit-line-clamp: 3;
255
256
  -webkit-box-orient: vertical;
256
257
  overflow: hidden;
257
258
  }
258
259
  .prokodo-PostItem__content__paragraph > p {
259
- margin: 0.5rem 0.25rem;
260
+ margin: var(--pk-space-sm) var(--pk-space-xs);
260
261
  }
261
262
  .prokodo-PostItem__image {
262
- min-height: 300px;
263
263
  min-height: 300px;
264
264
  -o-object-fit: cover;
265
265
  object-fit: cover;
@@ -268,16 +268,16 @@
268
268
  padding: 0;
269
269
  }
270
270
  .prokodo-PostItem__image__wrapper {
271
+ flex: 1 1;
271
272
  width: 100%;
272
- min-width: 300px;
273
273
  min-height: 300px;
274
- border-radius: 25px;
274
+ border-radius: var(--pk-radius-lg);
275
275
  overflow: hidden;
276
- transform: none; /* prevent overlay */
276
+ transform: none;
277
277
  }
278
278
  .prokodo-PostItem__button {
279
279
  width: 100%;
280
- margin-top: 1rem;
280
+ margin-top: var(--pk-space-lg);
281
281
  }
282
282
  .prokodo-PostItem__button__content {
283
283
  justify-content: flex-start;
@@ -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.
@@ -129,27 +128,29 @@
129
128
  /* Mobile: stacked, image on top via order */
130
129
  display: flex;
131
130
  flex-direction: column-reverse;
132
- gap: 1rem;
131
+ gap: var(--pk-space-lg);
133
132
  align-items: stretch;
134
133
  }
135
134
  @media screen and (min-width: 960px) {
136
135
  .prokodo-PostItem__grid {
137
136
  flex-direction: row;
138
137
  align-items: flex-start;
139
- gap: 1.5rem;
138
+ gap: var(--pk-space-xl);
140
139
  }
141
140
  }
142
141
  .prokodo-PostItem__media {
143
142
  order: 1;
144
143
  width: 100%;
145
144
  min-width: 0;
145
+ display: flex;
146
+ flex-direction: column;
146
147
  }
147
148
  @media screen and (min-width: 960px) {
148
149
  .prokodo-PostItem__media {
149
150
  order: 0;
150
151
  flex: 0 1 33.3333%;
151
152
  max-width: 33.333%;
152
- min-width: 0; /* prevent overflow pushing layout */
153
+ min-width: 0;
153
154
  }
154
155
  }
155
156
  .prokodo-PostItem__main {
@@ -179,7 +180,7 @@
179
180
  align-items: center;
180
181
  }
181
182
  .prokodo-PostItem__date {
182
- color: var(--color-grey-300);
183
+ color: var(--pk-color-muted);
183
184
  font-weight: 400;
184
185
  font-size: 1.125rem;
185
186
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -201,8 +202,8 @@
201
202
  }
202
203
  }
203
204
  .prokodo-PostItem__read__count {
204
- padding-left: 0.75rem;
205
- color: var(--color-grey-300);
205
+ padding-left: var(--pk-space-md);
206
+ color: var(--pk-color-muted);
206
207
  font-weight: 400;
207
208
  font-size: 1.125rem;
208
209
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -226,8 +227,8 @@
226
227
  .prokodo-PostItem__content {
227
228
  display: flex;
228
229
  align-items: center;
229
- min-width: 0; /* ← prevent long lines from forcing column wider */
230
- overflow-wrap: anywhere; /* ← allow breaking long words/URLs */
230
+ min-width: 0;
231
+ overflow-wrap: anywhere;
231
232
  font-weight: 400;
232
233
  font-size: 1.125rem;
233
234
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -249,17 +250,16 @@
249
250
  }
250
251
  }
251
252
  .prokodo-PostItem__content__paragraph {
252
- color: var(--color-grey-500);
253
+ color: var(--pk-color-muted);
253
254
  display: -webkit-box;
254
255
  -webkit-line-clamp: 3;
255
256
  -webkit-box-orient: vertical;
256
257
  overflow: hidden;
257
258
  }
258
259
  .prokodo-PostItem__content__paragraph > p {
259
- margin: 0.5rem 0.25rem;
260
+ margin: var(--pk-space-sm) var(--pk-space-xs);
260
261
  }
261
262
  .prokodo-PostItem__image {
262
- min-height: 300px;
263
263
  min-height: 300px;
264
264
  -o-object-fit: cover;
265
265
  object-fit: cover;
@@ -268,16 +268,16 @@
268
268
  padding: 0;
269
269
  }
270
270
  .prokodo-PostItem__image__wrapper {
271
+ flex: 1 1;
271
272
  width: 100%;
272
- min-width: 300px;
273
273
  min-height: 300px;
274
- border-radius: 25px;
274
+ border-radius: var(--pk-radius-lg);
275
275
  overflow: hidden;
276
- transform: none; /* prevent overlay */
276
+ transform: none;
277
277
  }
278
278
  .prokodo-PostItem__button {
279
279
  width: 100%;
280
- margin-top: 1rem;
280
+ margin-top: var(--pk-space-lg);
281
281
  }
282
282
  .prokodo-PostItem__button__content {
283
283
  justify-content: flex-start;
@@ -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 variant narrow; if none is provided, let Card default handle it
42
- variant: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.variant) ?? (rest == null ? void 0 : rest.variant) ?? void 0
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
- (_e = componentsProps == null ? void 0 : componentsProps.button) == null ? void 0 : _e.className,
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) ?? ((_f = componentsProps == null ? void 0 : componentsProps.button) == null ? void 0 : _f.variant) ?? "outlined"
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
  ]
@@ -135,20 +135,20 @@
135
135
  overflow: hidden;
136
136
  }
137
137
  .prokodo-PostTeaser__card__content {
138
- padding: 0 1rem 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: 1rem;
145
+ padding: var(--pk-space-lg);
146
146
  }
147
147
  .prokodo-PostTeaser__meta {
148
148
  position: absolute;
149
- top: 1rem;
150
- left: 1rem;
151
- width: calc(100% - 2rem);
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: 0.5rem;
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: 0.5rem;
192
+ bottom: var(--pk-space-sm);
193
193
  text-align: right;
194
- padding-right: 0.5rem;
195
- width: calc(100% - 0.5rem);
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-grey-300);
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: 1rem 1rem 0;
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: 0.25rem;
253
+ margin-right: var(--pk-space-xs);
254
254
  }
255
255
  .prokodo-PostTeaser__link--is-hovered {
256
- color: var(--color-primary-500) !important;
256
+ color: var(--pk-color-brand) !important;
257
257
  }
@@ -135,20 +135,20 @@
135
135
  overflow: hidden;
136
136
  }
137
137
  .prokodo-PostTeaser__card__content {
138
- padding: 0 1rem 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: 1rem;
145
+ padding: var(--pk-space-lg);
146
146
  }
147
147
  .prokodo-PostTeaser__meta {
148
148
  position: absolute;
149
- top: 1rem;
150
- left: 1rem;
151
- width: calc(100% - 2rem);
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: 0.5rem;
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: 0.5rem;
192
+ bottom: var(--pk-space-sm);
193
193
  text-align: right;
194
- padding-right: 0.5rem;
195
- width: calc(100% - 0.5rem);
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-grey-300);
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: 1rem 1rem 0;
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: 0.25rem;
253
+ margin-right: var(--pk-space-xs);
254
254
  }
255
255
  .prokodo-PostTeaser__link--is-hovered {
256
- color: var(--color-primary-500) !important;
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
- variant: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.variant) ?? (cardRest == null ? void 0 : cardRest.variant) ?? "white"
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 ? {
@@ -166,7 +167,10 @@ function PostTeaserView(props) {
166
167
  void 0,
167
168
  [title == null ? void 0 : title.className, classes == null ? void 0 : classes.headline].filter(Boolean).join(" ")
168
169
  ),
169
- variant: (title == null ? void 0 : title.variant) ?? ((_b = componentsProps == null ? void 0 : componentsProps.headline) == null ? void 0 : _b.variant) ?? "secondary",
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",
170
174
  children: title == null ? void 0 : title.content
171
175
  }
172
176
  )
@@ -204,7 +208,6 @@ function PostTeaserView(props) {
204
208
  /* @__PURE__ */ jsx(
205
209
  Icon,
206
210
  {
207
- color: "primary",
208
211
  name: "ArrowRight01Icon",
209
212
  size: "xs",
210
213
  className: bem(
@@ -212,6 +215,10 @@ function PostTeaserView(props) {
212
215
  { "is-hovered": Boolean(isHovered) },
213
216
  classes == null ? void 0 : classes.linkIcon
214
217
  ),
218
+ color: (color && color !== "white" ? color : (
219
+ /* istanbul ignore next */
220
+ void 0
221
+ )) ?? "primary",
215
222
  ...componentsProps == null ? void 0 : componentsProps.linkIcon,
216
223
  ...redirect == null ? void 0 : redirect.icon
217
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: 1rem;
135
+ gap: var(--pk-space-lg);
137
136
  }
138
137
  .prokodo-PostWidget__list__item {
139
138
  display: block;
140
- margin-top: 1rem;
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% - 0.5rem);
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: 1rem;
164
+ margin-right: var(--pk-space-lg);
167
165
  line-height: 0;
168
- border-radius: 13px;
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-grey-300);
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;
@@ -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: 1rem;
135
+ gap: var(--pk-space-lg);
137
136
  }
138
137
  .prokodo-PostWidget__list__item {
139
138
  display: block;
140
- margin-top: 1rem;
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% - 0.5rem);
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: 1rem;
164
+ margin-right: var(--pk-space-lg);
167
165
  line-height: 0;
168
- border-radius: 13px;
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-grey-300);
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
- variant: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.variant) ?? (rest == null ? void 0 : rest.variant) ?? void 0
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
- variant: (title == null ? void 0 : title.variant) ?? ((_b = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _b.variant) ?? "secondary",
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,7 +122,10 @@ function PostWidgetView({
118
122
  const headlineMerged = {
119
123
  size: "sm",
120
124
  type: "h3",
121
- variant: "inherit",
125
+ color: (color && color !== "white" ? color : (
126
+ /* istanbul ignore next */
127
+ void 0
128
+ )) ?? "inherit",
122
129
  ...item.title ?? /* istanbul ignore next */
123
130
  {},
124
131
  ...(componentsProps == null ? void 0 : componentsProps.title) ?? {},