@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
@@ -137,6 +137,41 @@
137
137
  flex-direction: row;
138
138
  }
139
139
  }
140
+ .prokodo-Stepper--primary {
141
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-brand) 0%, var(--pk-color-accent) 100%);
142
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-brand) 0%, var(--pk-color-accent) 100%);
143
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-brand), var(--pk-color-accent), var(--pk-color-brand));
144
+ }
145
+ .prokodo-Stepper--secondary {
146
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-accent) 0%, var(--pk-color-brand) 100%);
147
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-accent) 0%, var(--pk-color-brand) 100%);
148
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-accent), var(--pk-color-brand), var(--pk-color-accent));
149
+ }
150
+ .prokodo-Stepper--success {
151
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-success) 0%, #10CCB8 100%);
152
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-success) 0%, #10CCB8 100%);
153
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-success), #10CCB8, var(--pk-color-success));
154
+ }
155
+ .prokodo-Stepper--warning {
156
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-warning) 0%, #f7cc6a 100%);
157
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-warning) 0%, #f7cc6a 100%);
158
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-warning), #f7cc6a, var(--pk-color-warning));
159
+ }
160
+ .prokodo-Stepper--error {
161
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-error) 0%, #ff6b6b 100%);
162
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-error) 0%, #ff6b6b 100%);
163
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-error), #ff6b6b, var(--pk-color-error));
164
+ }
165
+ .prokodo-Stepper--info {
166
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-fg) 0%, var(--pk-color-muted) 100%);
167
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-fg) 0%, var(--pk-color-muted) 100%);
168
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-fg), var(--pk-color-muted), var(--pk-color-fg));
169
+ }
170
+ .prokodo-Stepper--inherit {
171
+ --gradient-border-1: linear-gradient(180deg, var(--pk-color-border) 0%, var(--pk-color-muted) 100%);
172
+ --gradient-border-5: linear-gradient(90deg, var(--pk-color-border) 0%, var(--pk-color-muted) 100%);
173
+ --gradient-border-7: linear-gradient(90deg, var(--pk-color-border), var(--pk-color-muted), var(--pk-color-border));
174
+ }
140
175
  .prokodo-Stepper__step {
141
176
  position: relative;
142
177
  height: 100%;
@@ -195,7 +230,7 @@
195
230
  width: 2.5rem;
196
231
  height: 2.5rem;
197
232
  border-radius: 9999px;
198
- margin-bottom: 0.75rem;
233
+ margin-bottom: var(--pk-stepper-icon-mb);
199
234
  }
200
235
  .prokodo-Stepper__icon__container::before {
201
236
  content: "";
@@ -207,13 +242,13 @@
207
242
  border-radius: inherit;
208
243
  padding: 3px;
209
244
  background: var(--gradient-border-7);
210
- -webkit-mask: linear-gradient(var(--color-white) 0 0) content-box, linear-gradient(var(--color-white) 0 0);
211
- mask: linear-gradient(var(--color-white) 0 0) content-box, linear-gradient(var(--color-white) 0 0);
245
+ -webkit-mask: linear-gradient(var(--pk-stepper-icon-mask-bg) 0 0) content-box, linear-gradient(var(--pk-stepper-icon-mask-bg) 0 0);
246
+ mask: linear-gradient(var(--pk-stepper-icon-mask-bg) 0 0) content-box, linear-gradient(var(--pk-stepper-icon-mask-bg) 0 0);
212
247
  -webkit-mask-composite: xor;
213
248
  mask-composite: exclude;
214
249
  }
215
250
  .prokodo-Stepper__icon__container--is-active {
216
- box-shadow: var(--elevation-1);
251
+ box-shadow: var(--pk-stepper-shadow);
217
252
  }
218
253
  .prokodo-Stepper__icon__container--is-active::before {
219
254
  background: var(--gradient-border-1);
@@ -227,7 +262,7 @@
227
262
  right: 4px;
228
263
  bottom: 4px;
229
264
  border-radius: inherit;
230
- box-shadow: var(--elevation-1--inset);
265
+ box-shadow: var(--pk-stepper-shadow-inset);
231
266
  }
232
267
  .prokodo-Stepper__icon__container:focus {
233
268
  border-radius: 9999px;
@@ -239,7 +274,7 @@
239
274
  display: flex;
240
275
  justify-content: center;
241
276
  align-items: center;
242
- color: var(--color-grey-700);
277
+ color: var(--pk-stepper-label-color);
243
278
  font-weight: 400;
244
279
  font-size: 1rem;
245
280
  font-family: var(--font-primary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -251,7 +286,7 @@
251
286
  text-decoration: none;
252
287
  }
253
288
  .prokodo-Stepper__icon__label--is-active {
254
- color: var(--color-grey-900);
289
+ color: var(--pk-stepper-label-color-active);
255
290
  }
256
291
  .prokodo-Stepper__icon__completed {
257
292
  visibility: hidden;
@@ -284,7 +319,7 @@
284
319
  font-family: !important;
285
320
  font-size: 1rem !important;
286
321
  line-height: 1.45 !important;
287
- color: var(--color-grey-600) !important;
322
+ color: var(--pk-stepper-label-color) !important;
288
323
  font-weight: 400;
289
324
  font-size: 1rem;
290
325
  font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
@@ -308,10 +343,10 @@
308
343
  }
309
344
  }
310
345
  .prokodo-Stepper__label--is-active {
311
- color: var(--color-grey-800) !important;
346
+ color: var(--pk-stepper-label-color-active) !important;
312
347
  }
313
348
  .prokodo-Stepper__label__text {
314
- color: var(--color-grey-700) !important;
349
+ color: var(--pk-stepper-label-color) !important;
315
350
  position: absolute;
316
351
  top: auto;
317
352
  left: -99999px;
@@ -320,7 +355,7 @@
320
355
  text-indent: -99999px;
321
356
  }
322
357
  .prokodo-Stepper__label__text--is-active {
323
- color: var(--color-grey-900) !important;
358
+ color: var(--pk-stepper-label-color-active) !important;
324
359
  }
325
360
  @media screen and (min-width: 375px) {
326
361
  .prokodo-Stepper__label__text {
@@ -1,5 +1,12 @@
1
1
  const styles = {
2
2
  "prokodo-Stepper": "prokodo-Stepper",
3
+ "prokodo-Stepper--primary": "prokodo-Stepper--primary",
4
+ "prokodo-Stepper--secondary": "prokodo-Stepper--secondary",
5
+ "prokodo-Stepper--success": "prokodo-Stepper--success",
6
+ "prokodo-Stepper--warning": "prokodo-Stepper--warning",
7
+ "prokodo-Stepper--error": "prokodo-Stepper--error",
8
+ "prokodo-Stepper--info": "prokodo-Stepper--info",
9
+ "prokodo-Stepper--inherit": "prokodo-Stepper--inherit",
3
10
  "prokodo-Stepper__step": "prokodo-Stepper__step",
4
11
  "prokodo-Stepper__step--is-active": "prokodo-Stepper__step--is-active",
5
12
  "prokodo-Stepper__icon": "prokodo-Stepper__icon",
@@ -7,6 +7,7 @@ function StepperServer({
7
7
  initialStep = 0,
8
8
  translations,
9
9
  className,
10
+ color,
10
11
  ...rootProps
11
12
  }) {
12
13
  const serverSteps = steps.map((step) => ({
@@ -21,6 +22,7 @@ function StepperServer({
21
22
  ...rootProps,
22
23
  activeStep: initialStep,
23
24
  className,
25
+ color,
24
26
  stepRefs: emptyStepRefs,
25
27
  steps: serverSteps,
26
28
  translations
@@ -10,6 +10,7 @@ const StepperView = /* @__PURE__ */ __name(({
10
10
  activeStep,
11
11
  translations,
12
12
  className,
13
+ color,
13
14
  ...props
14
15
  }) => {
15
16
  const rootProps = props;
@@ -27,7 +28,11 @@ const StepperView = /* @__PURE__ */ __name(({
27
28
  {
28
29
  ...rootProps,
29
30
  "aria-label": t.stepper,
30
- className: bem(void 0, void 0, className),
31
+ className: bem(
32
+ void 0,
33
+ { ...color ? { [color]: true } : {} },
34
+ className
35
+ ),
31
36
  children: steps.map((step, i) => {
32
37
  const {
33
38
  key,
@@ -125,132 +125,156 @@
125
125
  * content.
126
126
  */
127
127
  .prokodo-Switch {
128
- position: relative;
129
- display: flex;
128
+ width: 100%;
129
+ display: inline-flex;
130
+ flex-direction: row;
130
131
  align-items: center;
132
+ justify-content: space-between;
133
+ gap: var(--pk-space-sm);
134
+ cursor: pointer;
135
+ -webkit-user-select: none;
136
+ -moz-user-select: none;
137
+ user-select: none;
138
+ }
139
+ .prokodo-Switch--primary {
140
+ --pk-switch-active: var(--pk-color-brand);
141
+ }
142
+ .prokodo-Switch--secondary {
143
+ --pk-switch-active: var(--pk-color-accent);
144
+ }
145
+ .prokodo-Switch--success {
146
+ --pk-switch-active: var(--pk-color-success, #22c55e);
147
+ }
148
+ .prokodo-Switch--error {
149
+ --pk-switch-active: var(--pk-color-error, #ef4444);
150
+ }
151
+ .prokodo-Switch--info {
152
+ --pk-switch-active: var(--pk-palette-grey-500);
153
+ }
154
+ .prokodo-Switch--warning {
155
+ --pk-switch-active: var(--pk-color-warning, #f59e0b);
156
+ }
157
+ .prokodo-Switch--inherit {
158
+ --pk-switch-active: currentColor;
159
+ }
160
+ [data-theme="dark"] .prokodo-Switch--info, .pk-theme-dark .prokodo-Switch--info {
161
+ --pk-switch-active: var(--pk-palette-grey-300);
162
+ }
163
+ [data-theme="dark"] .prokodo-Switch--inherit, .pk-theme-dark .prokodo-Switch--inherit {
164
+ --pk-switch-active: var(--pk-color-fg);
131
165
  }
132
166
  .prokodo-Switch__label {
133
- width: 100%;
134
- display: grid;
135
- font-size: 1rem;
136
- grid-template-columns: 100%;
137
- grid-gap: 16px;
138
- gap: 16px;
139
- padding-bottom: 0;
167
+ color: var(--pk-switch-active);
168
+ font-weight: 400;
169
+ font-size: 1.125rem;
170
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
171
+ font-style: normal;
172
+ line-height: 1.55;
173
+ letter-spacing: 0.03em;
174
+ text-transform: none;
175
+ text-align: left;
176
+ text-decoration: none;
140
177
  }
141
178
  @media screen and (min-width: 480px) {
142
179
  .prokodo-Switch__label {
143
- grid-template-columns: 80% 20%;
180
+ font-size: 1rem;
144
181
  }
145
182
  }
146
183
  @media screen and (min-width: 960px) {
147
184
  .prokodo-Switch__label {
148
- grid-template-columns: 90% 10%;
185
+ font-size: 1rem;
149
186
  }
150
187
  }
151
- .prokodo-Switch__label__content {
152
- padding-right: 1rem;
153
- }
154
188
  .prokodo-Switch__control {
155
189
  position: relative;
156
- width: 42px;
157
- height: 26px;
158
- min-width: 42px;
159
- background-color: var(--color-grey-500);
160
- border-radius: 13px;
161
- transition: background-color 0.3s ease;
190
+ display: inline-flex;
191
+ align-items: center;
192
+ width: var(--pk-switch-track-width);
193
+ height: var(--pk-switch-track-height);
194
+ flex-shrink: 0;
162
195
  }
163
- .prokodo-Switch__control:focus-within {
164
- outline: 3px solid #1E90FF;
165
- outline-offset: 4px;
166
- border-radius: 1.5rem;
167
- border-radius: 13px;
196
+ .prokodo-Switch__track {
197
+ position: absolute;
198
+ inset: 0;
199
+ border-radius: var(--pk-switch-track-radius);
200
+ background-color: var(--pk-switch-track-bg);
201
+ transition: background-color var(--pk-switch-timing) ease;
168
202
  }
169
- .prokodo-Switch__control--checked {
170
- background: var(--gradient-border-4);
203
+ .prokodo-Switch__track--checked {
204
+ background: linear-gradient(90deg, var(--pk-switch-active), color-mix(in srgb, var(--pk-switch-active) 75%, white 25%));
171
205
  }
172
- .prokodo-Switch__control--disabled {
173
- background-color: var(--color-grey-300);
174
- cursor: not-allowed;
206
+ .prokodo-Switch__track--disabled {
207
+ opacity: 0.4;
175
208
  }
176
209
  .prokodo-Switch__input {
177
210
  position: absolute;
178
- top: 0;
179
- left: 0;
211
+ inset: 0;
212
+ opacity: 0;
180
213
  width: 100%;
181
214
  height: 100%;
182
- opacity: 0;
183
215
  margin: 0;
184
- padding: 0;
185
216
  cursor: pointer;
186
- z-index: 2; /* over track but under thumb */
217
+ z-index: 2;
218
+ }
219
+ .prokodo-Switch__input:disabled {
220
+ cursor: not-allowed;
221
+ }
222
+ .prokodo-Switch__control {
223
+ box-shadow: 0 2px 8px color-mix(in srgb, var(--pk-switch-active) 30%, transparent), 0 1px 3px color-mix(in srgb, var(--pk-switch-active) 15%, transparent);
224
+ border-radius: var(--pk-switch-track-radius);
225
+ transition: box-shadow var(--pk-switch-timing) ease;
226
+ }
227
+ .prokodo-Switch__control:hover {
228
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--pk-switch-active) 40%, transparent), 0 0 5px color-mix(in srgb, var(--pk-switch-active) 30%, transparent);
229
+ }
230
+ .prokodo-Switch__control:focus-within {
231
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--pk-switch-active) 40%, transparent), 0 0 5px color-mix(in srgb, var(--pk-switch-active) 30%, transparent);
187
232
  }
188
233
  .prokodo-Switch__thumb {
189
234
  position: absolute;
235
+ left: 3px;
190
236
  top: 50%;
191
- left: 2px; /* default (unchecked) */
192
- width: 22px;
193
- height: 22px;
194
- background-color: #FFFFFF;
195
- border-radius: 50%;
196
237
  transform: translateY(-50%);
197
- transition: transform 0.3s ease, background-color 0.3s ease;
198
- z-index: 3; /* always on top */
199
- /* If checked, shift thumb to the right */
238
+ width: var(--pk-switch-thumb-size);
239
+ height: var(--pk-switch-thumb-size);
240
+ border-radius: 50%;
241
+ background-color: var(--pk-switch-thumb-bg);
242
+ box-shadow: var(--pk-shadow-sm);
243
+ z-index: 1;
244
+ display: flex;
245
+ align-items: center;
246
+ justify-content: center;
247
+ transition: left var(--pk-switch-timing) ease, background-color var(--pk-switch-timing) ease, box-shadow var(--pk-switch-timing) ease;
200
248
  }
201
249
  .prokodo-Switch__thumb--checked {
202
- transform: translateY(-50%) translateX(13px);
203
- left: 5px;
250
+ left: calc(var(--pk-switch-track-width) - var(--pk-switch-thumb-size) - 3px);
251
+ background-color: var(--pk-switch-thumb-checked-bg);
204
252
  }
205
253
  .prokodo-Switch__thumb--disabled {
206
- background-color: var(--color-grey-600);
207
- }
208
- .prokodo-Switch__thumb {
209
- /* Center child icon */
210
- display: flex;
211
- align-items: center;
212
- justify-content: center;
213
- pointer-events: none;
254
+ opacity: 0.6;
214
255
  }
215
256
  .prokodo-Switch__icon__wrapper {
216
257
  display: flex;
217
258
  align-items: center;
218
259
  justify-content: center;
219
- width: 100%;
220
- height: 100%;
260
+ color: var(--pk-color-fg);
221
261
  }
222
- .prokodo-Switch__icon--primary {
223
- color: var(--color-primary-500);
262
+ .prokodo-Switch__icon--isActive {
263
+ color: var(--pk-color-fg);
224
264
  }
225
- .prokodo-Switch__icon--secondary {
226
- color: var(--color-secondary-500);
265
+ [data-theme="dark"] .prokodo-Switch__thumb, .pk-theme-dark .prokodo-Switch__thumb {
266
+ --pk-switch-thumb-bg: #ffffff;
267
+ --pk-switch-thumb-checked-bg: #ffffff;
227
268
  }
228
- .prokodo-Switch__icon--success {
229
- color: var(--color-success);
269
+ [data-theme="dark"] .prokodo-Switch__icon__wrapper, .pk-theme-dark .prokodo-Switch__icon__wrapper, [data-theme="dark"] .prokodo-Switch__icon, .pk-theme-dark .prokodo-Switch__icon {
270
+ color: #000000;
230
271
  }
231
- .prokodo-Switch__icon--error {
232
- color: var(--color-error);
272
+ [data-theme="dark"] .prokodo-Switch--inherit .prokodo-Switch__thumb--checked, .pk-theme-dark .prokodo-Switch--inherit .prokodo-Switch__thumb--checked {
273
+ --pk-switch-thumb-checked-bg: #000000;
233
274
  }
234
- .prokodo-Switch__icon--info {
235
- color: var(--color-grey-300);
275
+ [data-theme="dark"] .prokodo-Switch--inherit .prokodo-Switch__icon--isActive, .pk-theme-dark .prokodo-Switch--inherit .prokodo-Switch__icon--isActive {
276
+ color: #ffffff;
236
277
  }
237
- .prokodo-Switch__icon--warning {
238
- color: var(--color-warning);
239
- }
240
- .prokodo-Switch__track {
241
- position: absolute;
242
- top: 0;
243
- left: 0;
244
- width: 100%;
245
- height: 100%;
246
- background-color: var(--color-grey-300);
247
- border-radius: 13px;
248
- transition: background-color 0.3s ease;
249
- z-index: 1;
250
- }
251
- .prokodo-Switch__track--checked {
252
- background-color: var(--color-primary-500);
253
- }
254
- .prokodo-Switch__track--disabled {
255
- background-color: var(--color-grey-200);
278
+ .prokodo-Switch--disabled, .prokodo-Switch__control--disabled {
279
+ cursor: not-allowed;
256
280
  }
@@ -125,132 +125,156 @@
125
125
  * content.
126
126
  */
127
127
  .prokodo-Switch {
128
- position: relative;
129
- display: flex;
128
+ width: 100%;
129
+ display: inline-flex;
130
+ flex-direction: row;
130
131
  align-items: center;
132
+ justify-content: space-between;
133
+ gap: var(--pk-space-sm);
134
+ cursor: pointer;
135
+ -webkit-user-select: none;
136
+ -moz-user-select: none;
137
+ user-select: none;
138
+ }
139
+ .prokodo-Switch--primary {
140
+ --pk-switch-active: var(--pk-color-brand);
141
+ }
142
+ .prokodo-Switch--secondary {
143
+ --pk-switch-active: var(--pk-color-accent);
144
+ }
145
+ .prokodo-Switch--success {
146
+ --pk-switch-active: var(--pk-color-success, #22c55e);
147
+ }
148
+ .prokodo-Switch--error {
149
+ --pk-switch-active: var(--pk-color-error, #ef4444);
150
+ }
151
+ .prokodo-Switch--info {
152
+ --pk-switch-active: var(--pk-palette-grey-500);
153
+ }
154
+ .prokodo-Switch--warning {
155
+ --pk-switch-active: var(--pk-color-warning, #f59e0b);
156
+ }
157
+ .prokodo-Switch--inherit {
158
+ --pk-switch-active: currentColor;
159
+ }
160
+ [data-theme="dark"] .prokodo-Switch--info, .pk-theme-dark .prokodo-Switch--info {
161
+ --pk-switch-active: var(--pk-palette-grey-300);
162
+ }
163
+ [data-theme="dark"] .prokodo-Switch--inherit, .pk-theme-dark .prokodo-Switch--inherit {
164
+ --pk-switch-active: var(--pk-color-fg);
131
165
  }
132
166
  .prokodo-Switch__label {
133
- width: 100%;
134
- display: grid;
135
- font-size: 1rem;
136
- grid-template-columns: 100%;
137
- grid-gap: 16px;
138
- gap: 16px;
139
- padding-bottom: 0;
167
+ color: var(--pk-switch-active);
168
+ font-weight: 400;
169
+ font-size: 1.125rem;
170
+ font-family: var(--font-secondary), -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
171
+ font-style: normal;
172
+ line-height: 1.55;
173
+ letter-spacing: 0.03em;
174
+ text-transform: none;
175
+ text-align: left;
176
+ text-decoration: none;
140
177
  }
141
178
  @media screen and (min-width: 480px) {
142
179
  .prokodo-Switch__label {
143
- grid-template-columns: 80% 20%;
180
+ font-size: 1rem;
144
181
  }
145
182
  }
146
183
  @media screen and (min-width: 960px) {
147
184
  .prokodo-Switch__label {
148
- grid-template-columns: 90% 10%;
185
+ font-size: 1rem;
149
186
  }
150
187
  }
151
- .prokodo-Switch__label__content {
152
- padding-right: 1rem;
153
- }
154
188
  .prokodo-Switch__control {
155
189
  position: relative;
156
- width: 42px;
157
- height: 26px;
158
- min-width: 42px;
159
- background-color: var(--color-grey-500);
160
- border-radius: 13px;
161
- transition: background-color 0.3s ease;
190
+ display: inline-flex;
191
+ align-items: center;
192
+ width: var(--pk-switch-track-width);
193
+ height: var(--pk-switch-track-height);
194
+ flex-shrink: 0;
162
195
  }
163
- .prokodo-Switch__control:focus-within {
164
- outline: 3px solid #1E90FF;
165
- outline-offset: 4px;
166
- border-radius: 1.5rem;
167
- border-radius: 13px;
196
+ .prokodo-Switch__track {
197
+ position: absolute;
198
+ inset: 0;
199
+ border-radius: var(--pk-switch-track-radius);
200
+ background-color: var(--pk-switch-track-bg);
201
+ transition: background-color var(--pk-switch-timing) ease;
168
202
  }
169
- .prokodo-Switch__control--checked {
170
- background: var(--gradient-border-4);
203
+ .prokodo-Switch__track--checked {
204
+ background: linear-gradient(90deg, var(--pk-switch-active), color-mix(in srgb, var(--pk-switch-active) 75%, white 25%));
171
205
  }
172
- .prokodo-Switch__control--disabled {
173
- background-color: var(--color-grey-300);
174
- cursor: not-allowed;
206
+ .prokodo-Switch__track--disabled {
207
+ opacity: 0.4;
175
208
  }
176
209
  .prokodo-Switch__input {
177
210
  position: absolute;
178
- top: 0;
179
- left: 0;
211
+ inset: 0;
212
+ opacity: 0;
180
213
  width: 100%;
181
214
  height: 100%;
182
- opacity: 0;
183
215
  margin: 0;
184
- padding: 0;
185
216
  cursor: pointer;
186
- z-index: 2; /* over track but under thumb */
217
+ z-index: 2;
218
+ }
219
+ .prokodo-Switch__input:disabled {
220
+ cursor: not-allowed;
221
+ }
222
+ .prokodo-Switch__control {
223
+ box-shadow: 0 2px 8px color-mix(in srgb, var(--pk-switch-active) 30%, transparent), 0 1px 3px color-mix(in srgb, var(--pk-switch-active) 15%, transparent);
224
+ border-radius: var(--pk-switch-track-radius);
225
+ transition: box-shadow var(--pk-switch-timing) ease;
226
+ }
227
+ .prokodo-Switch__control:hover {
228
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--pk-switch-active) 40%, transparent), 0 0 5px color-mix(in srgb, var(--pk-switch-active) 30%, transparent);
229
+ }
230
+ .prokodo-Switch__control:focus-within {
231
+ box-shadow: 0 4px 12px color-mix(in srgb, var(--pk-switch-active) 40%, transparent), 0 0 5px color-mix(in srgb, var(--pk-switch-active) 30%, transparent);
187
232
  }
188
233
  .prokodo-Switch__thumb {
189
234
  position: absolute;
235
+ left: 3px;
190
236
  top: 50%;
191
- left: 2px; /* default (unchecked) */
192
- width: 22px;
193
- height: 22px;
194
- background-color: #FFFFFF;
195
- border-radius: 50%;
196
237
  transform: translateY(-50%);
197
- transition: transform 0.3s ease, background-color 0.3s ease;
198
- z-index: 3; /* always on top */
199
- /* If checked, shift thumb to the right */
238
+ width: var(--pk-switch-thumb-size);
239
+ height: var(--pk-switch-thumb-size);
240
+ border-radius: 50%;
241
+ background-color: var(--pk-switch-thumb-bg);
242
+ box-shadow: var(--pk-shadow-sm);
243
+ z-index: 1;
244
+ display: flex;
245
+ align-items: center;
246
+ justify-content: center;
247
+ transition: left var(--pk-switch-timing) ease, background-color var(--pk-switch-timing) ease, box-shadow var(--pk-switch-timing) ease;
200
248
  }
201
249
  .prokodo-Switch__thumb--checked {
202
- transform: translateY(-50%) translateX(13px);
203
- left: 5px;
250
+ left: calc(var(--pk-switch-track-width) - var(--pk-switch-thumb-size) - 3px);
251
+ background-color: var(--pk-switch-thumb-checked-bg);
204
252
  }
205
253
  .prokodo-Switch__thumb--disabled {
206
- background-color: var(--color-grey-600);
207
- }
208
- .prokodo-Switch__thumb {
209
- /* Center child icon */
210
- display: flex;
211
- align-items: center;
212
- justify-content: center;
213
- pointer-events: none;
254
+ opacity: 0.6;
214
255
  }
215
256
  .prokodo-Switch__icon__wrapper {
216
257
  display: flex;
217
258
  align-items: center;
218
259
  justify-content: center;
219
- width: 100%;
220
- height: 100%;
260
+ color: var(--pk-color-fg);
221
261
  }
222
- .prokodo-Switch__icon--primary {
223
- color: var(--color-primary-500);
262
+ .prokodo-Switch__icon--isActive {
263
+ color: var(--pk-color-fg);
224
264
  }
225
- .prokodo-Switch__icon--secondary {
226
- color: var(--color-secondary-500);
265
+ [data-theme="dark"] .prokodo-Switch__thumb, .pk-theme-dark .prokodo-Switch__thumb {
266
+ --pk-switch-thumb-bg: #ffffff;
267
+ --pk-switch-thumb-checked-bg: #ffffff;
227
268
  }
228
- .prokodo-Switch__icon--success {
229
- color: var(--color-success);
269
+ [data-theme="dark"] .prokodo-Switch__icon__wrapper, .pk-theme-dark .prokodo-Switch__icon__wrapper, [data-theme="dark"] .prokodo-Switch__icon, .pk-theme-dark .prokodo-Switch__icon {
270
+ color: #000000;
230
271
  }
231
- .prokodo-Switch__icon--error {
232
- color: var(--color-error);
272
+ [data-theme="dark"] .prokodo-Switch--inherit .prokodo-Switch__thumb--checked, .pk-theme-dark .prokodo-Switch--inherit .prokodo-Switch__thumb--checked {
273
+ --pk-switch-thumb-checked-bg: #000000;
233
274
  }
234
- .prokodo-Switch__icon--info {
235
- color: var(--color-grey-300);
275
+ [data-theme="dark"] .prokodo-Switch--inherit .prokodo-Switch__icon--isActive, .pk-theme-dark .prokodo-Switch--inherit .prokodo-Switch__icon--isActive {
276
+ color: #ffffff;
236
277
  }
237
- .prokodo-Switch__icon--warning {
238
- color: var(--color-warning);
239
- }
240
- .prokodo-Switch__track {
241
- position: absolute;
242
- top: 0;
243
- left: 0;
244
- width: 100%;
245
- height: 100%;
246
- background-color: var(--color-grey-300);
247
- border-radius: 13px;
248
- transition: background-color 0.3s ease;
249
- z-index: 1;
250
- }
251
- .prokodo-Switch__track--checked {
252
- background-color: var(--color-primary-500);
253
- }
254
- .prokodo-Switch__track--disabled {
255
- background-color: var(--color-grey-200);
278
+ .prokodo-Switch--disabled, .prokodo-Switch__control--disabled {
279
+ cursor: not-allowed;
256
280
  }