@prokodo/ui 0.1.14 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/LICENSE +187 -26
  2. package/NOTICE +24 -0
  3. package/README.md +32 -302
  4. package/dist/components/RTE/RTE.client.js +0 -1
  5. package/dist/components/RTE/RTE.css +180 -68
  6. package/dist/components/RTE/RTE.js +4 -1
  7. package/dist/components/RTE/RTE.module.css +180 -68
  8. package/dist/components/RTE/RTE.module.scss.js +10 -0
  9. package/dist/components/RTE/RTE.view.js +5 -1
  10. package/dist/components/accordion/Accordion.css +120 -67
  11. package/dist/components/accordion/Accordion.js +8 -2
  12. package/dist/components/accordion/Accordion.module.css +120 -67
  13. package/dist/components/accordion/Accordion.module.scss.js +12 -5
  14. package/dist/components/accordion/Accordion.view.js +4 -4
  15. package/dist/components/animated/Animated.client.js +13 -5
  16. package/dist/components/animated/Animated.js +8 -2
  17. package/dist/components/animatedText/AnimatedText.client.js +10 -2
  18. package/dist/components/animatedText/AnimatedText.js +8 -2
  19. package/dist/components/autocomplete/Autocomplete.client.js +5 -1
  20. package/dist/components/autocomplete/Autocomplete.css +111 -95
  21. package/dist/components/autocomplete/Autocomplete.js +4 -1
  22. package/dist/components/autocomplete/Autocomplete.module.css +111 -95
  23. package/dist/components/autocomplete/Autocomplete.module.scss.js +11 -4
  24. package/dist/components/autocomplete/Autocomplete.view.js +16 -5
  25. package/dist/components/avatar/Avatar.css +11 -8
  26. package/dist/components/avatar/Avatar.js +4 -1
  27. package/dist/components/avatar/Avatar.module.css +11 -8
  28. package/dist/components/avatar/Avatar.module.scss.js +1 -0
  29. package/dist/components/avatar/Avatar.view.js +22 -15
  30. package/dist/components/base-link/BaseLink.js +4 -1
  31. package/dist/components/base-link/BaseLink.view.js +3 -0
  32. package/dist/components/button/Button.client.js +12 -16
  33. package/dist/components/button/Button.css +85 -137
  34. package/dist/components/button/Button.js +4 -1
  35. package/dist/components/button/Button.module.css +85 -137
  36. package/dist/components/button/Button.module.scss.js +15 -19
  37. package/dist/components/button/Button.view.js +8 -2
  38. package/dist/components/calendly/Calendly.css +132 -0
  39. package/dist/components/calendly/Calendly.js +8 -2
  40. package/dist/components/calendly/Calendly.module.css +132 -0
  41. package/dist/components/calendly/Calendly.module.scss.js +6 -0
  42. package/dist/components/calendly/Calendly.view.js +12 -6
  43. package/dist/components/card/Card.client.js +6 -1
  44. package/dist/components/card/Card.css +67 -32
  45. package/dist/components/card/Card.js +11 -5
  46. package/dist/components/card/Card.module.css +67 -32
  47. package/dist/components/card/Card.module.scss.js +8 -2
  48. package/dist/components/card/Card.view.js +25 -8
  49. package/dist/components/carousel/Carousel.client.js +138 -129
  50. package/dist/components/carousel/Carousel.css +8 -4
  51. package/dist/components/carousel/Carousel.js +8 -2
  52. package/dist/components/carousel/Carousel.module.css +8 -4
  53. package/dist/components/carousel/Carousel.view.js +10 -0
  54. package/dist/components/checkbox/Checkbox.css +100 -79
  55. package/dist/components/checkbox/Checkbox.js +4 -1
  56. package/dist/components/checkbox/Checkbox.module.css +100 -79
  57. package/dist/components/checkbox/Checkbox.module.scss.js +11 -4
  58. package/dist/components/checkbox/Checkbox.view.js +7 -2
  59. package/dist/components/checkbox-group/CheckboxGroup.css +39 -6
  60. package/dist/components/checkbox-group/CheckboxGroup.js +4 -1
  61. package/dist/components/checkbox-group/CheckboxGroup.module.css +39 -6
  62. package/dist/components/checkbox-group/CheckboxGroup.module.scss.js +8 -0
  63. package/dist/components/checkbox-group/CheckboxGroup.view.js +7 -2
  64. package/dist/components/chip/Chip.css +185 -61
  65. package/dist/components/chip/Chip.js +4 -1
  66. package/dist/components/chip/Chip.module.css +185 -61
  67. package/dist/components/chip/Chip.module.scss.js +13 -17
  68. package/dist/components/chip/Chip.view.js +7 -4
  69. package/dist/components/datePicker/DatePicker.client.js +211 -66
  70. package/dist/components/datePicker/DatePicker.css +940 -0
  71. package/dist/components/datePicker/DatePicker.js +4 -1
  72. package/dist/components/datePicker/DatePicker.module.css +940 -0
  73. package/dist/components/datePicker/DatePicker.module.scss.js +62 -0
  74. package/dist/components/datePicker/DatePicker.server.js +31 -1
  75. package/dist/components/datePicker/DatePicker.utils.js +103 -0
  76. package/dist/components/datePicker/DatePicker.view.js +113 -41
  77. package/dist/components/datePicker/DatePickerDialog.view.js +291 -0
  78. package/dist/components/dialog/Dialog.css +107 -132
  79. package/dist/components/dialog/Dialog.js +8 -2
  80. package/dist/components/dialog/Dialog.module.css +107 -132
  81. package/dist/components/dialog/Dialog.module.scss.js +13 -8
  82. package/dist/components/dialog/Dialog.view.js +23 -5
  83. package/dist/components/drawer/Drawer.client.js +0 -1
  84. package/dist/components/drawer/Drawer.css +8 -8
  85. package/dist/components/drawer/Drawer.js +4 -1
  86. package/dist/components/drawer/Drawer.module.css +8 -8
  87. package/dist/components/drawer/Drawer.view.js +14 -3
  88. package/dist/components/dynamic-list/DynamicList.client.js +1 -0
  89. package/dist/components/dynamic-list/DynamicList.css +20 -12
  90. package/dist/components/dynamic-list/DynamicList.js +4 -1
  91. package/dist/components/dynamic-list/DynamicList.module.css +20 -12
  92. package/dist/components/dynamic-list/DynamicList.module.scss.js +1 -0
  93. package/dist/components/dynamic-list/DynamicList.view.js +89 -44
  94. package/dist/components/form/Form.client.js +4 -1
  95. package/dist/components/form/Form.js +4 -1
  96. package/dist/components/form/Form.view.js +6 -4
  97. package/dist/components/form/FormField.client.js +59 -4
  98. package/dist/components/form/FormField.js +4 -1
  99. package/dist/components/form/FormField.server.js +10 -4
  100. package/dist/components/form/FormResponse.js +6 -3
  101. package/dist/components/grid/Grid.css +1 -1
  102. package/dist/components/grid/Grid.module.css +1 -1
  103. package/dist/components/headline/Headline.css +16 -16
  104. package/dist/components/headline/Headline.js +13 -8
  105. package/dist/components/headline/Headline.module.css +16 -16
  106. package/dist/components/headline/Headline.module.scss.js +1 -1
  107. package/dist/components/headline/Headline.variants.js +4 -1
  108. package/dist/components/icon/Icon.css +14 -14
  109. package/dist/components/icon/Icon.js +8 -2
  110. package/dist/components/icon/Icon.module.css +14 -14
  111. package/dist/components/image/Image.client.js +9 -5
  112. package/dist/components/image/Image.css +4 -3
  113. package/dist/components/image/Image.js +8 -2
  114. package/dist/components/image/Image.module.css +4 -3
  115. package/dist/components/image/Image.server.js +2 -1
  116. package/dist/components/image-text/ImageText.css +43 -14
  117. package/dist/components/image-text/ImageText.js +68 -50
  118. package/dist/components/image-text/ImageText.module.css +43 -14
  119. package/dist/components/image-text/ImageText.module.scss.js +11 -2
  120. package/dist/components/input/Input.client.js +15 -2
  121. package/dist/components/input/Input.css +197 -115
  122. package/dist/components/input/Input.js +4 -1
  123. package/dist/components/input/Input.module.css +197 -115
  124. package/dist/components/input/Input.module.scss.js +19 -3
  125. package/dist/components/input/Input.view.js +102 -63
  126. package/dist/components/input/InputValidation.js +6 -2
  127. package/dist/components/inputOTP/InputOTP.client.js +165 -0
  128. package/dist/components/inputOTP/InputOTP.css +155 -7
  129. package/dist/components/inputOTP/InputOTP.js +10 -194
  130. package/dist/components/inputOTP/InputOTP.lazy.js +12 -0
  131. package/dist/components/inputOTP/InputOTP.module.css +155 -7
  132. package/dist/components/inputOTP/InputOTP.module.scss.js +14 -0
  133. package/dist/components/inputOTP/InputOTP.server.js +32 -0
  134. package/dist/components/inputOTP/InputOTP.view.js +117 -0
  135. package/dist/components/label/Label.css +33 -14
  136. package/dist/components/label/Label.js +37 -35
  137. package/dist/components/label/Label.module.css +33 -14
  138. package/dist/components/label/Label.module.scss.js +9 -2
  139. package/dist/components/link/Link.css +13 -13
  140. package/dist/components/link/Link.js +5 -3
  141. package/dist/components/link/Link.module.css +13 -13
  142. package/dist/components/link/Link.view.js +16 -13
  143. package/dist/components/list/List.css +71 -32
  144. package/dist/components/list/List.js +74 -28
  145. package/dist/components/list/List.module.css +71 -32
  146. package/dist/components/list/List.module.scss.js +1 -1
  147. package/dist/components/loading/Loading.js +4 -1
  148. package/dist/components/loading/Loading.view.js +47 -7
  149. package/dist/components/lottie/Lottie.css +16 -0
  150. package/dist/components/lottie/Lottie.js +9 -5
  151. package/dist/components/lottie/Lottie.module.css +16 -0
  152. package/dist/components/lottie/Lottie.module.scss.js +6 -2
  153. package/dist/components/map/Map.css +130 -0
  154. package/dist/components/map/Map.js +67 -46
  155. package/dist/components/map/Map.module.css +130 -0
  156. package/dist/components/map/Map.module.scss.js +6 -0
  157. package/dist/components/pagination/Pagination.css +127 -11
  158. package/dist/components/pagination/Pagination.js +4 -1
  159. package/dist/components/pagination/Pagination.module.css +127 -11
  160. package/dist/components/pagination/Pagination.module.scss.js +12 -4
  161. package/dist/components/pagination/Pagination.view.js +16 -2
  162. package/dist/components/post-item/PostItem.css +16 -16
  163. package/dist/components/post-item/PostItem.js +4 -1
  164. package/dist/components/post-item/PostItem.module.css +16 -16
  165. package/dist/components/post-item/PostItem.view.js +14 -5
  166. package/dist/components/post-item/PostItemAuthor.js +4 -1
  167. package/dist/components/post-teaser/PostTeaser.css +13 -13
  168. package/dist/components/post-teaser/PostTeaser.js +4 -1
  169. package/dist/components/post-teaser/PostTeaser.module.css +13 -13
  170. package/dist/components/post-teaser/PostTeaser.view.js +14 -5
  171. package/dist/components/post-widget/PostWidget.css +6 -8
  172. package/dist/components/post-widget/PostWidget.js +5 -3
  173. package/dist/components/post-widget/PostWidget.module.css +6 -8
  174. package/dist/components/post-widget/PostWidget.view.js +21 -8
  175. package/dist/components/post-widget-carousel/PostWidgetCarousel.css +7 -7
  176. package/dist/components/post-widget-carousel/PostWidgetCarousel.js +8 -2
  177. package/dist/components/post-widget-carousel/PostWidgetCarousel.module.css +7 -7
  178. package/dist/components/post-widget-carousel/PostWidgetCarousel.view.js +32 -14
  179. package/dist/components/progressBar/ProgressBar.css +4 -4
  180. package/dist/components/progressBar/ProgressBar.js +8 -2
  181. package/dist/components/progressBar/ProgressBar.module.css +4 -4
  182. package/dist/components/progressBar/ProgressBar.view.js +6 -3
  183. package/dist/components/quote/Quote.css +21 -6
  184. package/dist/components/quote/Quote.js +5 -5
  185. package/dist/components/quote/Quote.module.css +21 -6
  186. package/dist/components/quote/Quote.module.scss.js +5 -0
  187. package/dist/components/rating/Rating.client.js +6 -1
  188. package/dist/components/rating/Rating.css +34 -21
  189. package/dist/components/rating/Rating.js +4 -1
  190. package/dist/components/rating/Rating.module.css +34 -21
  191. package/dist/components/rating/Rating.module.scss.js +8 -0
  192. package/dist/components/rating/Rating.view.js +4 -2
  193. package/dist/components/rich-text/RichText.client.js +55 -20
  194. package/dist/components/rich-text/RichText.css +47 -31
  195. package/dist/components/rich-text/RichText.js +8 -2
  196. package/dist/components/rich-text/RichText.module.css +47 -31
  197. package/dist/components/rich-text/RichText.server.js +3 -0
  198. package/dist/components/select/Select.client.js +303 -102
  199. package/dist/components/select/Select.css +542 -221
  200. package/dist/components/select/Select.js +8 -2
  201. package/dist/components/select/Select.module.css +542 -221
  202. package/dist/components/select/Select.module.scss.js +57 -14
  203. package/dist/components/select/Select.view.js +75 -25
  204. package/dist/components/sidenav/SideNav.client.js +24 -1
  205. package/dist/components/sidenav/SideNav.css +89 -21
  206. package/dist/components/sidenav/SideNav.js +8 -2
  207. package/dist/components/sidenav/SideNav.module.css +89 -21
  208. package/dist/components/sidenav/SideNav.module.scss.js +6 -1
  209. package/dist/components/sidenav/SideNav.view.js +69 -14
  210. package/dist/components/skeleton/Skeleton.css +7 -7
  211. package/dist/components/skeleton/Skeleton.module.css +7 -7
  212. package/dist/components/slider/Slider.client.js +11 -2
  213. package/dist/components/slider/Slider.css +177 -112
  214. package/dist/components/slider/Slider.js +4 -1
  215. package/dist/components/slider/Slider.module.css +177 -112
  216. package/dist/components/slider/Slider.module.scss.js +11 -2
  217. package/dist/components/slider/Slider.view.js +140 -90
  218. package/dist/components/snackbar/Snackbar.client.js +5 -1
  219. package/dist/components/snackbar/Snackbar.css +125 -64
  220. package/dist/components/snackbar/Snackbar.js +4 -1
  221. package/dist/components/snackbar/Snackbar.module.css +125 -64
  222. package/dist/components/snackbar/Snackbar.module.scss.js +11 -13
  223. package/dist/components/snackbar/Snackbar.view.js +2 -2
  224. package/dist/components/snackbar/SnackbarProvider.js +8 -2
  225. package/dist/components/stepper/Stepper.client.js +27 -9
  226. package/dist/components/stepper/Stepper.css +46 -11
  227. package/dist/components/stepper/Stepper.js +4 -1
  228. package/dist/components/stepper/Stepper.module.css +46 -11
  229. package/dist/components/stepper/Stepper.module.scss.js +7 -0
  230. package/dist/components/stepper/Stepper.server.js +2 -0
  231. package/dist/components/stepper/Stepper.view.js +6 -1
  232. package/dist/components/switch/Switch.css +108 -84
  233. package/dist/components/switch/Switch.js +4 -1
  234. package/dist/components/switch/Switch.module.css +108 -84
  235. package/dist/components/switch/Switch.module.scss.js +14 -12
  236. package/dist/components/switch/Switch.view.js +10 -8
  237. package/dist/components/table/Table.css +19 -14
  238. package/dist/components/table/Table.js +1 -0
  239. package/dist/components/table/Table.module.css +19 -14
  240. package/dist/components/tabs/Tabs.client.js +1 -0
  241. package/dist/components/tabs/Tabs.css +53 -27
  242. package/dist/components/tabs/Tabs.js +8 -2
  243. package/dist/components/tabs/Tabs.module.css +53 -27
  244. package/dist/components/tabs/Tabs.module.scss.js +7 -2
  245. package/dist/components/tabs/Tabs.view.js +12 -4
  246. package/dist/components/teaser/Teaser.css +5 -5
  247. package/dist/components/teaser/Teaser.js +4 -4
  248. package/dist/components/teaser/Teaser.module.css +5 -5
  249. package/dist/components/tooltip/Tooltip.client.js +140 -95
  250. package/dist/components/tooltip/Tooltip.css +46 -9
  251. package/dist/components/tooltip/Tooltip.js +10 -4
  252. package/dist/components/tooltip/Tooltip.module.css +46 -9
  253. package/dist/components/tooltip/Tooltip.module.scss.js +5 -1
  254. package/dist/components/tooltip/Tooltip.view.js +7 -1
  255. package/dist/constants/project.js +1 -1
  256. package/dist/helpers/createIsland.js +1 -0
  257. package/dist/helpers/createLazyWrapper.js +1 -0
  258. package/dist/hooks/useGoogleMaps.js +0 -1
  259. package/dist/theme.css +3269 -1588
  260. package/dist/tsconfig.build.tsbuildinfo +1 -1
  261. package/dist/types/components/RTE/RTE.d.ts +6 -1
  262. package/dist/types/components/RTE/RTE.lazy.d.ts +6 -1
  263. package/dist/types/components/RTE/RTE.view.d.ts +1 -1
  264. package/dist/types/components/accordion/Accordion.d.ts +1 -1
  265. package/dist/types/components/accordion/Accordion.lazy.d.ts +1 -1
  266. package/dist/types/components/accordion/Accordion.model.d.ts +1 -1
  267. package/dist/types/components/accordion/Accordion.view.d.ts +1 -1
  268. package/dist/types/components/autocomplete/Autocomplete.model.d.ts +2 -0
  269. package/dist/types/components/autocomplete/Autocomplete.view.d.ts +1 -1
  270. package/dist/types/components/avatar/Avatar.d.ts +1 -1
  271. package/dist/types/components/avatar/Avatar.lazy.d.ts +1 -1
  272. package/dist/types/components/avatar/Avatar.model.d.ts +1 -1
  273. package/dist/types/components/avatar/Avatar.view.d.ts +1 -1
  274. package/dist/types/components/calendly/Calendly.view.d.ts +1 -1
  275. package/dist/types/components/card/Card.model.d.ts +1 -1
  276. package/dist/types/components/card/Card.view.d.ts +1 -1
  277. package/dist/types/components/carousel/Carousel.view.d.ts +1 -1
  278. package/dist/types/components/checkbox/Checkbox.d.ts +1 -0
  279. package/dist/types/components/checkbox/Checkbox.lazy.d.ts +1 -0
  280. package/dist/types/components/checkbox/Checkbox.model.d.ts +2 -0
  281. package/dist/types/components/checkbox/Checkbox.view.d.ts +1 -1
  282. package/dist/types/components/checkbox-group/CheckboxGroup.model.d.ts +2 -0
  283. package/dist/types/components/checkbox-group/CheckboxGroup.view.d.ts +1 -1
  284. package/dist/types/components/datePicker/DatePicker.model.d.ts +70 -1
  285. package/dist/types/components/datePicker/DatePicker.utils.d.ts +10 -0
  286. package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -4
  287. package/dist/types/components/datePicker/DatePickerDialog.view.d.ts +4 -0
  288. package/dist/types/components/dynamic-list/DynamicList.model.d.ts +3 -1
  289. package/dist/types/components/dynamic-list/DynamicList.view.d.ts +1 -1
  290. package/dist/types/components/form/Form.d.ts +1 -1
  291. package/dist/types/components/form/Form.lazy.d.ts +1 -1
  292. package/dist/types/components/form/Form.model.d.ts +19 -4
  293. package/dist/types/components/form/FormField.client.d.ts +2 -2
  294. package/dist/types/components/form/FormField.d.ts +1 -1
  295. package/dist/types/components/form/FormField.lazy.d.ts +1 -1
  296. package/dist/types/components/form/FormField.server.d.ts +2 -2
  297. package/dist/types/components/headline/Headline.model.d.ts +2 -2
  298. package/dist/types/components/input/Input.model.d.ts +8 -1
  299. package/dist/types/components/input/Input.view.d.ts +1 -1
  300. package/dist/types/components/inputOTP/InputOTP.client.d.ts +4 -0
  301. package/dist/types/components/inputOTP/InputOTP.d.ts +10 -3
  302. package/dist/types/components/inputOTP/InputOTP.lazy.d.ts +11 -0
  303. package/dist/types/components/inputOTP/InputOTP.model.d.ts +10 -0
  304. package/dist/types/components/inputOTP/InputOTP.server.d.ts +3 -0
  305. package/dist/types/components/inputOTP/InputOTP.view.d.ts +3 -0
  306. package/dist/types/components/inputOTP/index.d.ts +1 -1
  307. package/dist/types/components/label/Label.model.d.ts +2 -0
  308. package/dist/types/components/link/Link.model.d.ts +1 -1
  309. package/dist/types/components/link/Link.view.d.ts +1 -1
  310. package/dist/types/components/list/List.d.ts +1 -1
  311. package/dist/types/components/list/List.model.d.ts +14 -5
  312. package/dist/types/components/list/index.d.ts +1 -1
  313. package/dist/types/components/loading/Loading.model.d.ts +2 -0
  314. package/dist/types/components/loading/index.d.ts +1 -1
  315. package/dist/types/components/pagination/Pagination.model.d.ts +2 -0
  316. package/dist/types/components/pagination/Pagination.view.d.ts +1 -1
  317. package/dist/types/components/post-item/PostItem.model.d.ts +2 -1
  318. package/dist/types/components/post-teaser/PostTeaser.model.d.ts +2 -1
  319. package/dist/types/components/post-widget/PostWidget.view.d.ts +1 -1
  320. package/dist/types/components/progressBar/ProgressBar.d.ts +1 -1
  321. package/dist/types/components/progressBar/ProgressBar.lazy.d.ts +1 -1
  322. package/dist/types/components/progressBar/ProgressBar.model.d.ts +3 -2
  323. package/dist/types/components/progressBar/ProgressBar.view.d.ts +1 -1
  324. package/dist/types/components/progressBar/index.d.ts +1 -1
  325. package/dist/types/components/quote/Quote.model.d.ts +1 -1
  326. package/dist/types/components/rating/Rating.model.d.ts +2 -0
  327. package/dist/types/components/rich-text/RichText.client.d.ts +1 -1
  328. package/dist/types/components/rich-text/RichText.d.ts +1 -1
  329. package/dist/types/components/rich-text/RichText.lazy.d.ts +1 -1
  330. package/dist/types/components/rich-text/RichText.model.d.ts +1 -1
  331. package/dist/types/components/select/Select.model.d.ts +2 -0
  332. package/dist/types/components/select/Select.view.d.ts +1 -1
  333. package/dist/types/components/sidenav/SideNav.client.d.ts +1 -1
  334. package/dist/types/components/sidenav/SideNav.model.d.ts +16 -2
  335. package/dist/types/components/sidenav/SideNav.view.d.ts +1 -1
  336. package/dist/types/components/slider/Slider.model.d.ts +2 -0
  337. package/dist/types/components/snackbar/Snackbar.model.d.ts +3 -2
  338. package/dist/types/components/snackbar/Snackbar.view.d.ts +3 -2
  339. package/dist/types/components/snackbar/index.d.ts +1 -1
  340. package/dist/types/components/stepper/Stepper.d.ts +1 -0
  341. package/dist/types/components/stepper/Stepper.lazy.d.ts +1 -0
  342. package/dist/types/components/stepper/Stepper.model.d.ts +3 -0
  343. package/dist/types/components/stepper/Stepper.server.d.ts +1 -1
  344. package/dist/types/components/switch/Switch.d.ts +2 -2
  345. package/dist/types/components/switch/Switch.lazy.d.ts +2 -2
  346. package/dist/types/components/switch/Switch.model.d.ts +3 -4
  347. package/dist/types/components/tabs/Tabs.model.d.ts +2 -0
  348. package/dist/types/components/tabs/Tabs.view.d.ts +1 -1
  349. package/dist/types/components/teaser/Teaser.model.d.ts +1 -1
  350. package/dist/types/components/tooltip/Tooltip.model.d.ts +2 -0
  351. package/package.json +53 -24
@@ -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,21 +103,32 @@ 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;
116
- const key = `carousel-item-${((_a2 = item.title) == null ? void 0 : _a2.content) ?? idx}`;
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;
130
+ const key = `carousel-item-${((_a2 = item.title) == null ? void 0 : _a2.content) ?? /* istanbul ignore next */
131
+ idx}`;
117
132
  const imgBase = item.image;
118
133
  const imgMerged = imgBase ? {
119
134
  ...imgBase,
@@ -125,11 +140,11 @@ function PostWidgetCarouselView(props) {
125
140
  [
126
141
  imgBase.className,
127
142
  classes == null ? void 0 : classes.carouselItemImage,
128
- (_c = item.classes) == null ? void 0 : _c.image
143
+ (_c2 = item.classes) == null ? void 0 : _c2.image
129
144
  ].filter(Boolean).join(" ")
130
145
  ),
131
146
  containerClassName: bem("carousel__item__image__container"),
132
- 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",
133
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",
134
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"
135
150
  } : void 0;
@@ -193,7 +208,10 @@ function PostWidgetCarouselView(props) {
193
208
  (_t = item.classes) == null ? void 0 : _t.headline
194
209
  ].filter(Boolean).join(" ")
195
210
  ),
196
- 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",
197
215
  children: (_w = item.title) == null ? void 0 : _w.content
198
216
  }
199
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%;
@@ -5,8 +5,14 @@ import ProgressBarServer from "./ProgressBar.server.js";
5
5
  const ProgressBar = createIsland({
6
6
  name: "ProgressBar",
7
7
  Server: ProgressBarServer,
8
- loadLazy: /* @__PURE__ */ __name(() => import("./ProgressBar.lazy.js"), "loadLazy"),
9
- isInteractive: /* @__PURE__ */ __name(() => true, "isInteractive")
8
+ loadLazy: (
9
+ /* istanbul ignore next */
10
+ /* @__PURE__ */ __name(() => import("./ProgressBar.lazy.js"), "loadLazy")
11
+ ),
12
+ isInteractive: (
13
+ /* istanbul ignore next */
14
+ /* @__PURE__ */ __name(() => true, "isInteractive")
15
+ )
10
16
  });
11
17
  export {
12
18
  ProgressBar
@@ -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,17 +11,20 @@ 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
18
18
  }) {
19
19
  const safeValue = typeof value === "number" ? Math.min(100, Math.max(0, value)) : void 0;
20
20
  const isIndeterminate = safeValue === void 0;
21
+ const { "aria-label": ariaLabelFromRest, ...restWithoutAriaLabel } = domRest;
22
+ const computedAriaLabel = isString(label) ? label : ariaLabelFromRest;
21
23
  return /* @__PURE__ */ jsxs(
22
24
  "div",
23
25
  {
24
- ...domRest,
26
+ ...restWithoutAriaLabel,
27
+ "aria-label": computedAriaLabel,
25
28
  "aria-valuemax": 100,
26
29
  "aria-valuemin": 0,
27
30
  "aria-valuenow": safeValue ?? void 0,
@@ -36,7 +39,7 @@ function ProgressBarView({
36
39
  {
37
40
  style: !isIndeterminate ? { width: `${safeValue}%` } : void 0,
38
41
  className: bem("bar", {
39
- [`${variant}`]: true,
42
+ [`${color}`]: true,
40
43
  indeterminate: isIndeterminate,
41
44
  infinity: Boolean(infinity),
42
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",
@@ -44,7 +44,12 @@ function RatingClient({
44
44
  }, [value]);
45
45
  const runValidation = useCallback(
46
46
  (newVal) => {
47
- const numeric = isNumber(newVal) ? newVal : isString(newVal) ? Number(newVal) : void 0;
47
+ let numeric;
48
+ if (isNumber(newVal)) {
49
+ numeric = newVal;
50
+ } else {
51
+ numeric = isString(newVal) ? Number(newVal) : void 0;
52
+ }
48
53
  handleRatingValidation(
49
54
  name,
50
55
  numeric,
@@ -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
  }
@@ -5,7 +5,10 @@ import RatingServer from "./Rating.server.js";
5
5
  const Rating = createIsland({
6
6
  name: "Rating",
7
7
  Server: RatingServer,
8
- loadLazy: /* @__PURE__ */ __name(() => import("./Rating.lazy.js"), "loadLazy")
8
+ loadLazy: (
9
+ /* istanbul ignore next */
10
+ /* @__PURE__ */ __name(() => import("./Rating.lazy.js"), "loadLazy")
11
+ )
9
12
  });
10
13
  export {
11
14
  Rating
@@ -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
  }
@@ -1,6 +1,14 @@
1
1
  const styles = {
2
2
  "prokodo-Rating": "prokodo-Rating",
3
3
  "prokodo-Rating--full-width": "prokodo-Rating--full-width",
4
+ "prokodo-Rating--primary": "prokodo-Rating--primary",
5
+ "prokodo-Rating--secondary": "prokodo-Rating--secondary",
6
+ "prokodo-Rating--success": "prokodo-Rating--success",
7
+ "prokodo-Rating--warning": "prokodo-Rating--warning",
8
+ "prokodo-Rating--error": "prokodo-Rating--error",
9
+ "prokodo-Rating--info": "prokodo-Rating--info",
10
+ "prokodo-Rating--inherit": "prokodo-Rating--inherit",
11
+ "prokodo-Rating--white": "prokodo-Rating--white",
4
12
  "prokodo-Rating__inner": "prokodo-Rating__inner",
5
13
  "prokodo-Rating__label": "prokodo-Rating__label",
6
14
  "prokodo-Rating__field": "prokodo-Rating__field",