@prokodo/ui 0.1.15 → 1.0.1

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
@@ -129,10 +129,10 @@
129
129
  }
130
130
  .prokodo-PostWidgetCarousel__carousel {
131
131
  position: relative;
132
- margin-top: 1.5rem;
132
+ margin-top: var(--pk-space-xl);
133
133
  }
134
134
  .prokodo-PostWidgetCarousel__carousel__wrapper {
135
- padding-bottom: 1rem;
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: 13px;
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: 0.75rem;
168
- right: 0.5rem;
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: 0.5rem;
172
+ gap: var(--pk-space-sm);
173
173
  z-index: 2;
174
174
  }
175
175
  .prokodo-PostWidgetCarousel__headline {
176
- margin-top: 0.75rem !important;
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;
@@ -129,10 +129,10 @@
129
129
  }
130
130
  .prokodo-PostWidgetCarousel__carousel {
131
131
  position: relative;
132
- margin-top: 1.5rem;
132
+ margin-top: var(--pk-space-xl);
133
133
  }
134
134
  .prokodo-PostWidgetCarousel__carousel__wrapper {
135
- padding-bottom: 1rem;
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: 13px;
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: 0.75rem;
168
- right: 0.5rem;
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: 0.5rem;
172
+ gap: var(--pk-space-sm);
173
173
  z-index: 2;
174
174
  }
175
175
  .prokodo-PostWidgetCarousel__headline {
176
- margin-top: 0.75rem !important;
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;
@@ -11,7 +11,7 @@ import { Link } from "../link/Link.js";
11
11
  import { Image } from "../image/Image.js";
12
12
  const bem = create(styles, "PostWidgetCarousel");
13
13
  function PostWidgetCarouselView(props) {
14
- var _a, _b;
14
+ var _a, _b, _c, _d;
15
15
  const {
16
16
  autoplay = 5e3,
17
17
  className,
@@ -20,6 +20,7 @@ function PostWidgetCarouselView(props) {
20
20
  classes,
21
21
  componentsProps,
22
22
  structuredData = true,
23
+ color,
23
24
  ...rest
24
25
  } = props;
25
26
  const cardMerged = {
@@ -27,7 +28,7 @@ function PostWidgetCarouselView(props) {
27
28
  enableShadow: true,
28
29
  ...componentsProps == null ? void 0 : componentsProps.card,
29
30
  ...rest,
30
- variant: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.variant) ?? (rest == null ? void 0 : rest.variant) ?? "white"
31
+ color: ((_a = componentsProps == null ? void 0 : componentsProps.card) == null ? void 0 : _a.color) ?? (rest == null ? void 0 : rest.color) ?? color ?? "white"
31
32
  };
32
33
  return /* @__PURE__ */ jsxs(
33
34
  "section",
@@ -51,16 +52,19 @@ function PostWidgetCarouselView(props) {
51
52
  Headline,
52
53
  {
53
54
  highlight: true,
54
- size: "md",
55
- type: "h2",
56
55
  ...{ ...title, ...(componentsProps == null ? void 0 : componentsProps.title) ?? {} },
57
56
  itemProp: "headline",
57
+ size: "md",
58
+ type: "h2",
58
59
  className: bem(
59
60
  "title",
60
61
  void 0,
61
62
  [title == null ? void 0 : title.className, classes == null ? void 0 : classes.title].filter(Boolean).join(" ")
62
63
  ),
63
- variant: (title == null ? void 0 : title.variant) ?? ((_b = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _b.variant) ?? "secondary",
64
+ color: (title == null ? void 0 : title.color) ?? ((_b = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _b.color) ?? (color && color !== "white" ? color : (
65
+ /* istanbul ignore next */
66
+ void 0
67
+ )) ?? "inherit",
64
68
  children: title == null ? void 0 : title.content
65
69
  }
66
70
  ),
@@ -99,20 +103,30 @@ function PostWidgetCarouselView(props) {
99
103
  ),
100
104
  nextButton: {
101
105
  variant: "contained",
102
- color: "primary",
106
+ color: (color && color !== "white" ? color : (
107
+ /* istanbul ignore next */
108
+ void 0
109
+ )) ?? "primary",
110
+ ...componentsProps == null ? void 0 : componentsProps.nextButton,
103
111
  iconProps: {
104
- size: "sm"
112
+ size: "sm",
113
+ ...(_c = componentsProps == null ? void 0 : componentsProps.nextButton) == null ? void 0 : _c.iconProps
105
114
  }
106
115
  },
107
116
  prevButton: {
108
117
  variant: "contained",
109
- color: "primary",
118
+ color: (color && color !== "white" ? color : (
119
+ /* istanbul ignore next */
120
+ void 0
121
+ )) ?? "primary",
122
+ ...componentsProps == null ? void 0 : componentsProps.prevButton,
110
123
  iconProps: {
111
- size: "sm"
124
+ size: "sm",
125
+ ...(_d = componentsProps == null ? void 0 : componentsProps.prevButton) == null ? void 0 : _d.iconProps
112
126
  }
113
127
  },
114
128
  children: items.map((item, idx) => {
115
- var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
129
+ var _a2, _b2, _c2, _d2, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v, _w;
116
130
  const key = `carousel-item-${((_a2 = item.title) == null ? void 0 : _a2.content) ?? /* istanbul ignore next */
117
131
  idx}`;
118
132
  const imgBase = item.image;
@@ -126,11 +140,11 @@ function PostWidgetCarouselView(props) {
126
140
  [
127
141
  imgBase.className,
128
142
  classes == null ? void 0 : classes.carouselItemImage,
129
- (_c = item.classes) == null ? void 0 : _c.image
143
+ (_c2 = item.classes) == null ? void 0 : _c2.image
130
144
  ].filter(Boolean).join(" ")
131
145
  ),
132
146
  containerClassName: bem("carousel__item__image__container"),
133
- decoding: ((_e = (_d = item.componentsProps) == null ? void 0 : _d.image) == null ? void 0 : _e.decoding) ?? ((_f = componentsProps == null ? void 0 : componentsProps.image) == null ? void 0 : _f.decoding) ?? imgBase.decoding ?? "async",
147
+ decoding: ((_e = (_d2 = item.componentsProps) == null ? void 0 : _d2.image) == null ? void 0 : _e.decoding) ?? ((_f = componentsProps == null ? void 0 : componentsProps.image) == null ? void 0 : _f.decoding) ?? imgBase.decoding ?? "async",
134
148
  loading: ((_h = (_g = item.componentsProps) == null ? void 0 : _g.image) == null ? void 0 : _h.loading) ?? ((_i = componentsProps == null ? void 0 : componentsProps.image) == null ? void 0 : _i.loading) ?? imgBase.loading ?? "lazy",
135
149
  sizes: ((_k = (_j = item.componentsProps) == null ? void 0 : _j.image) == null ? void 0 : _k.sizes) ?? ((_l = componentsProps == null ? void 0 : componentsProps.image) == null ? void 0 : _l.sizes) ?? imgBase.sizes ?? "(max-width: 960px) 100vw, 100vw"
136
150
  } : void 0;
@@ -194,7 +208,10 @@ function PostWidgetCarouselView(props) {
194
208
  (_t = item.classes) == null ? void 0 : _t.headline
195
209
  ].filter(Boolean).join(" ")
196
210
  ),
197
- variant: ((_u = item.title) == null ? void 0 : _u.variant) ?? ((_v = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _v.variant) ?? "inherit",
211
+ color: ((_u = item.title) == null ? void 0 : _u.color) ?? ((_v = componentsProps == null ? void 0 : componentsProps.title) == null ? void 0 : _v.color) ?? (color && color !== "white" ? color : (
212
+ /* istanbul ignore next */
213
+ void 0
214
+ )) ?? "inherit",
198
215
  children: (_w = item.title) == null ? void 0 : _w.content
199
216
  }
200
217
  )
@@ -147,11 +147,11 @@
147
147
  }
148
148
  .prokodo-ProgressBar__track {
149
149
  width: 100%;
150
- height: 1rem;
151
- border-radius: 0.75rem;
152
- background-color: var(--color-grey-100);
150
+ height: var(--pk-progressbar-height, 1rem);
151
+ border-radius: var(--pk-progressbar-radius, 0.75rem);
152
+ background-color: var(--pk-progressbar-track-bg);
153
153
  overflow: hidden;
154
- box-shadow: var(--elevation-2);
154
+ box-shadow: var(--pk-progressbar-shadow);
155
155
  }
156
156
  .prokodo-ProgressBar__bar {
157
157
  height: 100%;
@@ -147,11 +147,11 @@
147
147
  }
148
148
  .prokodo-ProgressBar__track {
149
149
  width: 100%;
150
- height: 1rem;
151
- border-radius: 0.75rem;
152
- background-color: var(--color-grey-100);
150
+ height: var(--pk-progressbar-height, 1rem);
151
+ border-radius: var(--pk-progressbar-radius, 0.75rem);
152
+ background-color: var(--pk-progressbar-track-bg);
153
153
  overflow: hidden;
154
- box-shadow: var(--elevation-2);
154
+ box-shadow: var(--pk-progressbar-shadow);
155
155
  }
156
156
  .prokodo-ProgressBar__bar {
157
157
  height: 100%;
@@ -11,7 +11,7 @@ function ProgressBarView({
11
11
  label,
12
12
  hideLabel,
13
13
  infinity,
14
- variant = "primary",
14
+ color = "primary",
15
15
  animated = true,
16
16
  className,
17
17
  ...domRest
@@ -39,7 +39,7 @@ function ProgressBarView({
39
39
  {
40
40
  style: !isIndeterminate ? { width: `${safeValue}%` } : void 0,
41
41
  className: bem("bar", {
42
- [`${variant}`]: true,
42
+ [`${color}`]: true,
43
43
  indeterminate: isIndeterminate,
44
44
  infinity: Boolean(infinity),
45
45
  "indeterminate--infinity": isIndeterminate && Boolean(infinity)
@@ -127,14 +127,29 @@
127
127
  .prokodo-Quote {
128
128
  margin: 0;
129
129
  }
130
+ .prokodo-Quote--secondary {
131
+ --gradient-border-4: var(--gradient-border-6);
132
+ }
133
+ .prokodo-Quote--success {
134
+ --gradient-border-4: var(--gradient-border-success);
135
+ }
136
+ .prokodo-Quote--warning {
137
+ --gradient-border-4: var(--gradient-border-warning);
138
+ }
139
+ .prokodo-Quote--error {
140
+ --gradient-border-4: var(--gradient-border-error);
141
+ }
142
+ .prokodo-Quote--info {
143
+ --gradient-border-4: var(--gradient-border-info);
144
+ }
130
145
  .prokodo-Quote__headline {
131
- padding-bottom: 1rem;
146
+ padding-bottom: var(--pk-space-lg);
132
147
  }
133
148
  .prokodo-Quote__quote {
134
149
  margin: 0;
135
150
  }
136
151
  .prokodo-Quote__quote__content {
137
- margin: 0 0 1rem 0;
152
+ margin: 0 0 var(--pk-space-lg) 0;
138
153
  font-weight: 400;
139
154
  font-size: 1rem;
140
155
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -159,14 +174,14 @@
159
174
  display: flex;
160
175
  }
161
176
  .prokodo-Quote__caption__avatar {
162
- margin-right: 1rem;
177
+ margin-right: var(--pk-space-lg);
163
178
  }
164
179
  .prokodo-Quote__caption__author {
165
180
  display: flex;
166
181
  flex-direction: column;
167
182
  }
168
183
  .prokodo-Quote__caption__author__name {
169
- color: var(--color-grey-900);
184
+ color: var(--pk-color-fg);
170
185
  font-weight: 400;
171
186
  font-size: 1rem;
172
187
  font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -178,8 +193,8 @@
178
193
  text-decoration: none;
179
194
  }
180
195
  .prokodo-Quote__caption__author__position {
181
- padding-top: 0.25rem;
182
- color: var(--color-grey-500);
196
+ padding-top: var(--pk-space-xs);
197
+ color: var(--pk-color-muted);
183
198
  font-weight: 400;
184
199
  font-size: 1.125rem;
185
200
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -11,7 +11,7 @@ import { Avatar } from "../avatar/Avatar.js";
11
11
  const bem = create(styles, "Quote");
12
12
  const Quote = /* @__PURE__ */ __name(({
13
13
  className,
14
- variant = "primary",
14
+ color = "primary",
15
15
  title,
16
16
  subTitle,
17
17
  content,
@@ -20,7 +20,7 @@ const Quote = /* @__PURE__ */ __name(({
20
20
  "figure",
21
21
  {
22
22
  itemScope: true,
23
- className: bem(void 0, void 0, className),
23
+ className: bem(void 0, { [color]: true }, className),
24
24
  itemType: "https://schema.org/Quotation",
25
25
  children: [
26
26
  subTitle && /* @__PURE__ */ jsx(
@@ -31,7 +31,7 @@ const Quote = /* @__PURE__ */ __name(({
31
31
  size: "sm",
32
32
  type: "h3",
33
33
  ...subTitle,
34
- variant: subTitle.variant ?? variant,
34
+ color: subTitle.color ?? color,
35
35
  children: subTitle == null ? void 0 : subTitle.content
36
36
  }
37
37
  ),
@@ -51,9 +51,9 @@ const Quote = /* @__PURE__ */ __name(({
51
51
  animated: true,
52
52
  highlight: true,
53
53
  className: bem("card__container"),
54
+ color: "white",
54
55
  contentClassName: bem("card"),
55
56
  customAnimation: "left-right",
56
- variant: "white",
57
57
  children: [
58
58
  /* @__PURE__ */ jsx("blockquote", { className: bem("quote"), children: /* @__PURE__ */ jsx(RichText, { className: bem("quote__content"), itemProp: "text", children: content }) }),
59
59
  author && /* @__PURE__ */ jsx("figcaption", { children: /* @__PURE__ */ jsxs(
@@ -68,7 +68,7 @@ const Quote = /* @__PURE__ */ __name(({
68
68
  {
69
69
  className: bem("caption__avatar"),
70
70
  ...author.avatar,
71
- variant
71
+ color
72
72
  }
73
73
  ),
74
74
  /* @__PURE__ */ jsxs("div", { className: bem("caption__author"), children: [
@@ -127,14 +127,29 @@
127
127
  .prokodo-Quote {
128
128
  margin: 0;
129
129
  }
130
+ .prokodo-Quote--secondary {
131
+ --gradient-border-4: var(--gradient-border-6);
132
+ }
133
+ .prokodo-Quote--success {
134
+ --gradient-border-4: var(--gradient-border-success);
135
+ }
136
+ .prokodo-Quote--warning {
137
+ --gradient-border-4: var(--gradient-border-warning);
138
+ }
139
+ .prokodo-Quote--error {
140
+ --gradient-border-4: var(--gradient-border-error);
141
+ }
142
+ .prokodo-Quote--info {
143
+ --gradient-border-4: var(--gradient-border-info);
144
+ }
130
145
  .prokodo-Quote__headline {
131
- padding-bottom: 1rem;
146
+ padding-bottom: var(--pk-space-lg);
132
147
  }
133
148
  .prokodo-Quote__quote {
134
149
  margin: 0;
135
150
  }
136
151
  .prokodo-Quote__quote__content {
137
- margin: 0 0 1rem 0;
152
+ margin: 0 0 var(--pk-space-lg) 0;
138
153
  font-weight: 400;
139
154
  font-size: 1rem;
140
155
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -159,14 +174,14 @@
159
174
  display: flex;
160
175
  }
161
176
  .prokodo-Quote__caption__avatar {
162
- margin-right: 1rem;
177
+ margin-right: var(--pk-space-lg);
163
178
  }
164
179
  .prokodo-Quote__caption__author {
165
180
  display: flex;
166
181
  flex-direction: column;
167
182
  }
168
183
  .prokodo-Quote__caption__author__name {
169
- color: var(--color-grey-900);
184
+ color: var(--pk-color-fg);
170
185
  font-weight: 400;
171
186
  font-size: 1rem;
172
187
  font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -178,8 +193,8 @@
178
193
  text-decoration: none;
179
194
  }
180
195
  .prokodo-Quote__caption__author__position {
181
- padding-top: 0.25rem;
182
- color: var(--color-grey-500);
196
+ padding-top: var(--pk-space-xs);
197
+ color: var(--pk-color-muted);
183
198
  font-weight: 400;
184
199
  font-size: 1.125rem;
185
200
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -1,5 +1,10 @@
1
1
  const styles = {
2
2
  "prokodo-Quote": "prokodo-Quote",
3
+ "prokodo-Quote--secondary": "prokodo-Quote--secondary",
4
+ "prokodo-Quote--success": "prokodo-Quote--success",
5
+ "prokodo-Quote--warning": "prokodo-Quote--warning",
6
+ "prokodo-Quote--error": "prokodo-Quote--error",
7
+ "prokodo-Quote--info": "prokodo-Quote--info",
3
8
  "prokodo-Quote__headline": "prokodo-Quote__headline",
4
9
  "prokodo-Quote__quote": "prokodo-Quote__quote",
5
10
  "prokodo-Quote__quote__content": "prokodo-Quote__quote__content",
@@ -133,20 +133,33 @@
133
133
  .prokodo-Rating--full-width {
134
134
  width: 100%;
135
135
  }
136
+ .prokodo-Rating--primary {
137
+ --pk-rating-icon-fg-filled: var(--pk-color-brand);
138
+ }
139
+ .prokodo-Rating--secondary {
140
+ --pk-rating-icon-fg-filled: var(--pk-color-accent);
141
+ }
142
+ .prokodo-Rating--success {
143
+ --pk-rating-icon-fg-filled: var(--pk-color-success);
144
+ }
145
+ .prokodo-Rating--warning {
146
+ --pk-rating-icon-fg-filled: var(--pk-color-warning);
147
+ }
148
+ .prokodo-Rating--error {
149
+ --pk-rating-icon-fg-filled: var(--pk-color-error);
150
+ }
151
+ .prokodo-Rating--info, .prokodo-Rating--inherit, .prokodo-Rating--white {
152
+ --pk-rating-icon-fg-filled: var(--pk-color-muted);
153
+ }
136
154
  .prokodo-Rating__inner {
137
155
  position: relative;
138
156
  }
139
157
  .prokodo-Rating__label {
140
- padding-bottom: 0.5rem;
141
- color: var(--color-grey-600);
158
+ padding-bottom: var(--pk-rating-label-pb);
159
+ color: var(--pk-color-muted);
142
160
  z-index: 1;
143
161
  pointer-events: none;
144
- }
145
- @media screen and (min-width: 960px) {
146
- .prokodo-Rating__label {
147
- font-size: 1.125rem;
148
- padding: 0;
149
- }
162
+ font-size: 1.125rem;
150
163
  }
151
164
  .prokodo-Rating__field {
152
165
  position: relative;
@@ -154,8 +167,8 @@
154
167
  .prokodo-Rating__group {
155
168
  display: flex;
156
169
  align-items: center;
157
- gap: 1rem;
158
- padding: 0.75rem 0;
170
+ gap: var(--pk-rating-gap);
171
+ padding: var(--pk-rating-padding-y) 0;
159
172
  }
160
173
  .prokodo-Rating__icon {
161
174
  border: none;
@@ -163,12 +176,12 @@
163
176
  padding: 0;
164
177
  margin: 0;
165
178
  cursor: pointer;
166
- font-size: 1.5rem;
179
+ font-size: var(--pk-rating-icon-size);
167
180
  line-height: 1;
168
181
  display: inline-flex;
169
182
  align-items: center;
170
183
  justify-content: center;
171
- color: var(--color-grey-300);
184
+ color: var(--pk-rating-icon-fg);
172
185
  transition: transform 0.1s ease, color 0.15s ease;
173
186
  }
174
187
  .prokodo-Rating__icon__symbol {
@@ -183,14 +196,14 @@
183
196
  text-indent: -99999px;
184
197
  }
185
198
  .prokodo-Rating__icon--filled {
186
- color: var(--color-primary-500);
199
+ color: var(--pk-rating-icon-fg-filled);
187
200
  }
188
201
  .prokodo-Rating__icon--selected {
189
202
  transform: scale(1.05);
190
203
  }
191
204
  .prokodo-Rating__icon--disabled {
192
205
  cursor: not-allowed;
193
- color: var(--color-grey-200);
206
+ color: var(--pk-rating-icon-fg-disabled);
194
207
  }
195
208
  .prokodo-Rating__icon--readonly {
196
209
  cursor: default;
@@ -199,7 +212,7 @@
199
212
  transform: scale(1.05);
200
213
  }
201
214
  .prokodo-Rating__icon:focus-visible {
202
- outline: 2px solid var(--color-primary-500);
215
+ outline: 2px solid var(--pk-rating-focus-ring);
203
216
  outline-offset: 2px;
204
217
  border-radius: 999px;
205
218
  }
@@ -207,13 +220,13 @@
207
220
  width: 100%;
208
221
  display: flex;
209
222
  justify-content: flex-start;
210
- padding-top: 0.5rem;
223
+ padding-top: var(--pk-rating-footer-pt);
211
224
  }
212
225
  .prokodo-Rating__helperText {
213
226
  width: 100%;
214
- padding-top: 0.75rem;
227
+ padding-top: var(--pk-rating-helper-pt);
215
228
  display: flex;
216
- color: var(--color-grey-300);
229
+ color: var(--pk-rating-helper-fg);
217
230
  font-weight: 400;
218
231
  font-size: 1rem;
219
232
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -236,12 +249,12 @@
236
249
  line-height: 1.4;
237
250
  }
238
251
  }
239
- html[data-theme=dark] .prokodo-Rating__helperText {
240
- color: var(--color-grey-700);
252
+ [data-theme="dark"] .prokodo-Rating__helperText, .pk-theme-dark .prokodo-Rating__helperText {
253
+ color: var(--pk-palette-grey-400);
241
254
  }
242
255
  .prokodo-Rating__helperText__content {
243
256
  width: 100%;
244
257
  }
245
258
  .prokodo-Rating__helperText__content--is-error {
246
- color: var(--color-error);
259
+ color: var(--pk-rating-error-fg);
247
260
  }
@@ -133,20 +133,33 @@
133
133
  .prokodo-Rating--full-width {
134
134
  width: 100%;
135
135
  }
136
+ .prokodo-Rating--primary {
137
+ --pk-rating-icon-fg-filled: var(--pk-color-brand);
138
+ }
139
+ .prokodo-Rating--secondary {
140
+ --pk-rating-icon-fg-filled: var(--pk-color-accent);
141
+ }
142
+ .prokodo-Rating--success {
143
+ --pk-rating-icon-fg-filled: var(--pk-color-success);
144
+ }
145
+ .prokodo-Rating--warning {
146
+ --pk-rating-icon-fg-filled: var(--pk-color-warning);
147
+ }
148
+ .prokodo-Rating--error {
149
+ --pk-rating-icon-fg-filled: var(--pk-color-error);
150
+ }
151
+ .prokodo-Rating--info, .prokodo-Rating--inherit, .prokodo-Rating--white {
152
+ --pk-rating-icon-fg-filled: var(--pk-color-muted);
153
+ }
136
154
  .prokodo-Rating__inner {
137
155
  position: relative;
138
156
  }
139
157
  .prokodo-Rating__label {
140
- padding-bottom: 0.5rem;
141
- color: var(--color-grey-600);
158
+ padding-bottom: var(--pk-rating-label-pb);
159
+ color: var(--pk-color-muted);
142
160
  z-index: 1;
143
161
  pointer-events: none;
144
- }
145
- @media screen and (min-width: 960px) {
146
- .prokodo-Rating__label {
147
- font-size: 1.125rem;
148
- padding: 0;
149
- }
162
+ font-size: 1.125rem;
150
163
  }
151
164
  .prokodo-Rating__field {
152
165
  position: relative;
@@ -154,8 +167,8 @@
154
167
  .prokodo-Rating__group {
155
168
  display: flex;
156
169
  align-items: center;
157
- gap: 1rem;
158
- padding: 0.75rem 0;
170
+ gap: var(--pk-rating-gap);
171
+ padding: var(--pk-rating-padding-y) 0;
159
172
  }
160
173
  .prokodo-Rating__icon {
161
174
  border: none;
@@ -163,12 +176,12 @@
163
176
  padding: 0;
164
177
  margin: 0;
165
178
  cursor: pointer;
166
- font-size: 1.5rem;
179
+ font-size: var(--pk-rating-icon-size);
167
180
  line-height: 1;
168
181
  display: inline-flex;
169
182
  align-items: center;
170
183
  justify-content: center;
171
- color: var(--color-grey-300);
184
+ color: var(--pk-rating-icon-fg);
172
185
  transition: transform 0.1s ease, color 0.15s ease;
173
186
  }
174
187
  .prokodo-Rating__icon__symbol {
@@ -183,14 +196,14 @@
183
196
  text-indent: -99999px;
184
197
  }
185
198
  .prokodo-Rating__icon--filled {
186
- color: var(--color-primary-500);
199
+ color: var(--pk-rating-icon-fg-filled);
187
200
  }
188
201
  .prokodo-Rating__icon--selected {
189
202
  transform: scale(1.05);
190
203
  }
191
204
  .prokodo-Rating__icon--disabled {
192
205
  cursor: not-allowed;
193
- color: var(--color-grey-200);
206
+ color: var(--pk-rating-icon-fg-disabled);
194
207
  }
195
208
  .prokodo-Rating__icon--readonly {
196
209
  cursor: default;
@@ -199,7 +212,7 @@
199
212
  transform: scale(1.05);
200
213
  }
201
214
  .prokodo-Rating__icon:focus-visible {
202
- outline: 2px solid var(--color-primary-500);
215
+ outline: 2px solid var(--pk-rating-focus-ring);
203
216
  outline-offset: 2px;
204
217
  border-radius: 999px;
205
218
  }
@@ -207,13 +220,13 @@
207
220
  width: 100%;
208
221
  display: flex;
209
222
  justify-content: flex-start;
210
- padding-top: 0.5rem;
223
+ padding-top: var(--pk-rating-footer-pt);
211
224
  }
212
225
  .prokodo-Rating__helperText {
213
226
  width: 100%;
214
- padding-top: 0.75rem;
227
+ padding-top: var(--pk-rating-helper-pt);
215
228
  display: flex;
216
- color: var(--color-grey-300);
229
+ color: var(--pk-rating-helper-fg);
217
230
  font-weight: 400;
218
231
  font-size: 1rem;
219
232
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -236,12 +249,12 @@
236
249
  line-height: 1.4;
237
250
  }
238
251
  }
239
- html[data-theme=dark] .prokodo-Rating__helperText {
240
- color: var(--color-grey-700);
252
+ [data-theme="dark"] .prokodo-Rating__helperText, .pk-theme-dark .prokodo-Rating__helperText {
253
+ color: var(--pk-palette-grey-400);
241
254
  }
242
255
  .prokodo-Rating__helperText__content {
243
256
  width: 100%;
244
257
  }
245
258
  .prokodo-Rating__helperText__content--is-error {
246
- color: var(--color-error);
259
+ color: var(--pk-rating-error-fg);
247
260
  }