@public-ui/sample-react 5.0.0-alpha.0 → 5.1.0-rc.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 (908) hide show
  1. package/LICENSE +287 -0
  2. package/README.md +11 -5
  3. package/assets/img_avatar.jpg +0 -0
  4. package/assets/sample-image.png +0 -0
  5. package/package.json +37 -55
  6. package/src/@shared/demo-table-wc.ts +142 -0
  7. package/src/App.tsx +139 -82
  8. package/src/components/FormWrap.tsx +3 -3
  9. package/src/components/InputEventValueDemo.tsx +46 -0
  10. package/src/components/Navigation.tsx +76 -18
  11. package/src/components/SampleBlock.tsx +81 -0
  12. package/src/components/SampleColumns.tsx +2 -3
  13. package/src/components/SampleDescription.tsx +3 -3
  14. package/src/components/SampleGroup.tsx +27 -0
  15. package/src/components/Sidebar.tsx +110 -13
  16. package/src/components/abbr/basic.tsx +7 -8
  17. package/src/components/abbr/routes.ts +1 -1
  18. package/src/components/accordion/basic.tsx +14 -7
  19. package/src/components/accordion/headlines.tsx +9 -8
  20. package/src/components/accordion/multiple.tsx +48 -0
  21. package/src/components/accordion/routes.ts +3 -1
  22. package/src/components/alert/basic.tsx +19 -16
  23. package/src/components/alert/card-msg.tsx +1 -1
  24. package/src/components/alert/routes.ts +1 -3
  25. package/src/components/avatar/basic.tsx +11 -6
  26. package/src/components/avatar/routes.ts +3 -1
  27. package/src/components/avatar/size.tsx +27 -0
  28. package/src/components/badge/basic.tsx +48 -7
  29. package/src/components/badge/routes.ts +1 -5
  30. package/src/components/breadcrumb/basic.tsx +6 -4
  31. package/src/components/breadcrumb/json-links.tsx +28 -0
  32. package/src/components/breadcrumb/routes.ts +3 -1
  33. package/src/components/button/access-key.tsx +35 -20
  34. package/src/components/button/aria-description.tsx +15 -7
  35. package/src/components/button/baselined.tsx +15 -11
  36. package/src/components/button/basic.tsx +95 -13
  37. package/src/components/button/buttons-in-fixed-grid.tsx +27 -0
  38. package/src/components/button/disabled.tsx +42 -0
  39. package/src/components/button/expert-slot.tsx +50 -11
  40. package/src/components/button/focus-options.tsx +182 -0
  41. package/src/components/button/hide-label.tsx +55 -0
  42. package/src/components/button/icons.tsx +102 -26
  43. package/src/components/button/pin-toggle.tsx +43 -0
  44. package/src/components/button/routes.ts +18 -4
  45. package/src/components/button/row-reverse-tooltip.tsx +10 -10
  46. package/src/components/button/short-key.tsx +75 -116
  47. package/src/components/button/spinner.tsx +117 -0
  48. package/src/components/button/tooltip-align.tsx +30 -0
  49. package/src/components/button/width.tsx +25 -21
  50. package/src/components/button-link/aria-description.tsx +4 -3
  51. package/src/components/button-link/basic.tsx +37 -32
  52. package/src/components/button-link/icons.tsx +22 -10
  53. package/src/components/button-link/routes.ts +2 -4
  54. package/src/components/card/basic.tsx +4 -3
  55. package/src/components/card/closer-callback.tsx +43 -0
  56. package/src/components/card/headlines.tsx +47 -0
  57. package/src/components/card/linked.tsx +27 -0
  58. package/src/components/card/routes.ts +7 -1
  59. package/src/components/combobox/basic.tsx +1 -1
  60. package/src/components/combobox/html.tsx +35 -0
  61. package/src/components/combobox/lazy-loaded.tsx +56 -0
  62. package/src/components/combobox/partials/cases.tsx +41 -15
  63. package/src/components/combobox/partials/variants.tsx +9 -10
  64. package/src/components/combobox/routes.ts +5 -1
  65. package/src/components/details/basic.tsx +18 -11
  66. package/src/components/details/routes.ts +1 -1
  67. package/src/components/dialog/basic.tsx +71 -0
  68. package/src/components/dialog/routes.ts +12 -0
  69. package/src/components/dialog/scroll-lock.tsx +46 -0
  70. package/src/components/dialog/with-alert.tsx +81 -0
  71. package/src/components/drawer/basic.tsx +7 -6
  72. package/src/components/drawer/big-content.tsx +82 -0
  73. package/src/components/drawer/controlled.tsx +3 -3
  74. package/src/components/drawer/routes.ts +3 -1
  75. package/src/components/drawer/scrolled.tsx +1 -1
  76. package/src/components/form/basic.tsx +25 -15
  77. package/src/components/form/error-list-scroll.tsx +87 -0
  78. package/src/components/form/error-list.tsx +56 -42
  79. package/src/components/form/routes.ts +3 -1
  80. package/src/components/handout/basic.tsx +100 -110
  81. package/src/components/handout/routes.ts +1 -1
  82. package/src/components/heading/badged.tsx +3 -2
  83. package/src/components/heading/basic.tsx +3 -2
  84. package/src/components/heading/paragraph.tsx +3 -2
  85. package/src/components/heading/routes.ts +1 -1
  86. package/src/components/heading/secondary.tsx +3 -2
  87. package/src/components/icon/all-kolicons.tsx +59 -0
  88. package/src/components/icon/basic.tsx +12 -4
  89. package/src/components/icon/font.tsx +76 -0
  90. package/src/components/icon/routes.ts +5 -1
  91. package/src/components/image/basic.tsx +9 -2
  92. package/src/components/image/events.tsx +51 -0
  93. package/src/components/image/routes.ts +3 -1
  94. package/src/components/input-checkbox/basic.tsx +1 -2
  95. package/src/components/input-checkbox/button.tsx +1 -1
  96. package/src/components/input-checkbox/focus-events.tsx +46 -0
  97. package/src/components/input-checkbox/get-value.tsx +17 -0
  98. package/src/components/input-checkbox/partials/cases.tsx +75 -17
  99. package/src/components/input-checkbox/partials/variants.tsx +13 -16
  100. package/src/components/input-checkbox/routes.ts +5 -1
  101. package/src/components/input-checkbox/switch.tsx +1 -1
  102. package/src/components/input-color/basic.tsx +1 -1
  103. package/src/components/input-color/get-value.tsx +17 -0
  104. package/src/components/input-color/partials/cases.tsx +64 -20
  105. package/src/components/input-color/partials/variants.tsx +7 -8
  106. package/src/components/input-color/routes.ts +3 -1
  107. package/src/components/input-date/basic.tsx +1 -1
  108. package/src/components/input-date/copy-paste.tsx +5 -3
  109. package/src/components/input-date/get-value.tsx +17 -0
  110. package/src/components/input-date/partials/cases.tsx +72 -27
  111. package/src/components/input-date/partials/minMax.tsx +40 -13
  112. package/src/components/input-date/partials/variants.tsx +11 -13
  113. package/src/components/input-date/reset.tsx +1 -1
  114. package/src/components/input-date/routes.ts +4 -2
  115. package/src/components/input-email/basic.tsx +1 -1
  116. package/src/components/input-email/counter.tsx +17 -0
  117. package/src/components/input-email/get-value.tsx +17 -0
  118. package/src/components/input-email/partials/cases.tsx +71 -31
  119. package/src/components/input-email/partials/variants.tsx +7 -8
  120. package/src/components/input-email/routes.ts +5 -1
  121. package/src/components/input-file/basic.tsx +1 -1
  122. package/src/components/input-file/get-value.tsx +17 -0
  123. package/src/components/input-file/partials/cases.tsx +68 -26
  124. package/src/components/input-file/partials/variants.tsx +8 -9
  125. package/src/components/input-file/routes.ts +3 -1
  126. package/src/components/input-number/basic.tsx +1 -0
  127. package/src/components/input-number/get-value.tsx +17 -0
  128. package/src/components/input-number/number-formatter.tsx +216 -0
  129. package/src/components/input-number/partials/cases.tsx +72 -29
  130. package/src/components/input-number/partials/variants.tsx +7 -8
  131. package/src/components/input-number/routes.ts +5 -1
  132. package/src/components/input-password/basic.tsx +1 -1
  133. package/src/components/input-password/counter.tsx +17 -0
  134. package/src/components/input-password/get-value.tsx +17 -0
  135. package/src/components/input-password/partials/cases.tsx +69 -31
  136. package/src/components/input-password/partials/variants.tsx +7 -8
  137. package/src/components/input-password/routes.ts +5 -1
  138. package/src/components/input-password/show-password.tsx +22 -19
  139. package/src/components/input-radio/basic.tsx +1 -1
  140. package/src/components/input-radio/get-value.tsx +29 -0
  141. package/src/components/input-radio/horizontal.tsx +3 -2
  142. package/src/components/input-radio/objectValue.tsx +5 -4
  143. package/src/components/input-radio/option-values.tsx +46 -0
  144. package/src/components/input-radio/partials/cases.tsx +86 -55
  145. package/src/components/input-radio/partials/variants.tsx +7 -9
  146. package/src/components/input-radio/routes.ts +5 -1
  147. package/src/components/input-range/basic.tsx +1 -1
  148. package/src/components/input-range/get-value.tsx +17 -0
  149. package/src/components/input-range/partials/cases.tsx +64 -25
  150. package/src/components/input-range/partials/variants.tsx +7 -8
  151. package/src/components/input-range/routes.ts +3 -1
  152. package/src/components/input-text/access-short-key.tsx +26 -0
  153. package/src/components/input-text/aria-details.tsx +62 -0
  154. package/src/components/input-text/background-test.tsx +22 -0
  155. package/src/components/input-text/basic.tsx +60 -7
  156. package/src/components/input-text/clear-button.tsx +29 -0
  157. package/src/components/input-text/counter.tsx +17 -0
  158. package/src/components/input-text/disabled.tsx +26 -0
  159. package/src/components/input-text/expert-slot.tsx +49 -7
  160. package/src/components/input-text/get-value.tsx +17 -0
  161. package/src/components/input-text/hide-label.tsx +49 -0
  162. package/src/components/input-text/hide-msg.tsx +6 -5
  163. package/src/components/input-text/message-types.tsx +29 -0
  164. package/src/components/input-text/msg-and-counter.tsx +30 -0
  165. package/src/components/input-text/pattern.tsx +33 -0
  166. package/src/components/input-text/placeholder.tsx +29 -0
  167. package/src/components/input-text/readonly.tsx +32 -0
  168. package/src/components/input-text/routes.ts +33 -3
  169. package/src/components/input-text/select-range.tsx +37 -0
  170. package/src/components/input-text/smart-button.tsx +14 -10
  171. package/src/components/input-text/text-formatter.tsx +247 -108
  172. package/src/components/input-text/variant.tsx +93 -0
  173. package/src/components/kolibri/basic.tsx +9 -6
  174. package/src/components/kolibri/routes.ts +1 -1
  175. package/src/components/link/access-key.tsx +1 -1
  176. package/src/components/link/aria-description.tsx +1 -1
  177. package/src/components/link/basic.tsx +14 -13
  178. package/src/components/link/icons.tsx +19 -18
  179. package/src/components/link/image.tsx +10 -4
  180. package/src/components/link/link-react-router.tsx +3 -3
  181. package/src/components/link/linked-headline.tsx +79 -0
  182. package/src/components/link/on-click.tsx +166 -0
  183. package/src/components/link/routes.ts +11 -5
  184. package/src/components/link/short-key.tsx +1 -1
  185. package/src/components/link/target.tsx +6 -5
  186. package/src/components/link/variant.tsx +35 -0
  187. package/src/components/link-button/aria-description.tsx +8 -2
  188. package/src/components/link-button/basic.tsx +57 -20
  189. package/src/components/link-button/routes.ts +4 -2
  190. package/src/components/link-button/target.tsx +19 -0
  191. package/src/components/meter/basic.tsx +23 -0
  192. package/src/components/meter/clamped.tsx +27 -0
  193. package/src/components/meter/dynamic.tsx +29 -0
  194. package/src/components/meter/optimum.tsx +42 -0
  195. package/src/components/meter/orientation.tsx +34 -0
  196. package/src/components/meter/routes.ts +16 -0
  197. package/src/components/modal/basic.tsx +15 -58
  198. package/src/components/modal/routes.ts +1 -1
  199. package/src/components/nav/aria-current.tsx +18 -15
  200. package/src/components/nav/basic.tsx +10 -12
  201. package/src/components/nav/links.ts +11 -11
  202. package/src/components/nav/routes.ts +1 -1
  203. package/src/components/pagination/basic.tsx +82 -9
  204. package/src/components/pagination/button-visibility.tsx +119 -0
  205. package/src/components/pagination/routes.ts +5 -1
  206. package/src/components/pagination/sibling-boundary.tsx +123 -0
  207. package/src/components/popover-button/align.tsx +31 -0
  208. package/src/components/popover-button/basic.tsx +28 -21
  209. package/src/components/popover-button/inline.tsx +35 -0
  210. package/src/components/popover-button/routes.ts +5 -1
  211. package/src/components/progress/basic.tsx +9 -4
  212. package/src/components/progress/changing.tsx +34 -0
  213. package/src/components/progress/routes.ts +3 -1
  214. package/src/components/quote/basic.tsx +4 -1
  215. package/src/components/quote/block.tsx +9 -6
  216. package/src/components/quote/routes.ts +1 -1
  217. package/src/components/select/basic.tsx +1 -1
  218. package/src/components/select/get-value.tsx +30 -0
  219. package/src/components/select/multiple-dropdown.tsx +36 -0
  220. package/src/components/select/partials/cases.tsx +77 -33
  221. package/src/components/select/partials/variants.tsx +7 -8
  222. package/src/components/select/routes.ts +5 -1
  223. package/src/components/single-select/basic.tsx +1 -1
  224. package/src/components/single-select/get-value.tsx +29 -0
  225. package/src/components/single-select/lazy-loaded.tsx +56 -0
  226. package/src/components/single-select/option-values.tsx +46 -0
  227. package/src/components/single-select/partials/cases.tsx +148 -32
  228. package/src/components/single-select/partials/variants.tsx +8 -9
  229. package/src/components/single-select/routes.ts +7 -1
  230. package/src/components/skip-nav/basic.tsx +35 -26
  231. package/src/components/skip-nav/routes.ts +1 -1
  232. package/src/components/spin/basic.tsx +34 -3
  233. package/src/components/spin/routes.ts +1 -7
  234. package/src/components/split-button/basic.tsx +14 -9
  235. package/src/components/split-button/routes.ts +1 -1
  236. package/src/components/split-button/with-context.tsx +0 -2
  237. package/src/components/table/action-columns-performance.tsx +192 -0
  238. package/src/components/table/action-columns.tsx +108 -0
  239. package/src/components/table/action-render.tsx +81 -0
  240. package/src/components/table/aria-labelledby.tsx +108 -0
  241. package/src/components/table/big-table.tsx +112 -0
  242. package/src/components/table/column-alignment.tsx +16 -19
  243. package/src/components/table/complex-headers.tsx +32 -4
  244. package/src/components/table/direction-aware-sort.tsx +66 -0
  245. package/src/components/table/empty.tsx +31 -0
  246. package/src/components/table/highlight-row.tsx +177 -0
  247. package/src/components/table/horizontal-scrollbar.tsx +55 -48
  248. package/src/components/table/interactive-child-elements.tsx +34 -21
  249. package/src/components/table/multi-sort.tsx +125 -88
  250. package/src/components/table/non-hidable-columns.tsx +18 -16
  251. package/src/components/table/pagination-position.tsx +40 -21
  252. package/src/components/table/predefined-settings.tsx +4 -14
  253. package/src/components/table/render-cell.tsx +49 -35
  254. package/src/components/table/routes.ts +38 -2
  255. package/src/components/table/settings-column-options.tsx +48 -0
  256. package/src/components/table/sort-data.tsx +25 -23
  257. package/src/components/table/state-columns.tsx +79 -0
  258. package/src/components/table/stateful-async.tsx +50 -0
  259. package/src/components/table/stateful-export.tsx +89 -0
  260. package/src/components/table/stateful-reset-sort.tsx +73 -0
  261. package/src/components/table/stateful-settings-persistence.tsx +76 -0
  262. package/src/components/table/stateful-with-selection.tsx +76 -79
  263. package/src/components/table/stateful-with-single-selection.tsx +76 -77
  264. package/src/components/table/stateless-async-paging.tsx +72 -0
  265. package/src/components/table/stateless-with-selection.tsx +29 -23
  266. package/src/components/table/stateless-with-settings-menu.tsx +69 -9
  267. package/src/components/table/stateless-with-single-selection.tsx +35 -29
  268. package/src/components/table/stateless.tsx +9 -9
  269. package/src/components/table/sticky-col.tsx +52 -0
  270. package/src/components/table/sticky-header.tsx +31 -15
  271. package/src/components/table/test-complex-data.ts +216 -2142
  272. package/src/components/table/variant.tsx +67 -0
  273. package/src/components/table/with-footer.tsx +74 -66
  274. package/src/components/table/with-pagination.tsx +7 -6
  275. package/src/components/table/with-toolbar.tsx +204 -0
  276. package/src/components/tabs/align.tsx +5 -5
  277. package/src/components/tabs/basic.tsx +21 -16
  278. package/src/components/tabs/behavior.tsx +4 -4
  279. package/src/components/tabs/create-button.tsx +13 -10
  280. package/src/components/tabs/icons-only.tsx +22 -14
  281. package/src/components/tabs/routes.ts +3 -3
  282. package/src/components/textarea/adjust-height.tsx +8 -4
  283. package/src/components/textarea/basic.tsx +1 -1
  284. package/src/components/textarea/get-value.tsx +17 -0
  285. package/src/components/textarea/partials/cases.tsx +65 -16
  286. package/src/components/textarea/partials/variants.tsx +7 -8
  287. package/src/components/textarea/resize.tsx +3 -2
  288. package/src/components/textarea/routes.ts +4 -2
  289. package/src/components/textarea/rows.tsx +6 -3
  290. package/src/components/textarea/with-counter.tsx +3 -2
  291. package/src/components/toast/basic.tsx +12 -3
  292. package/src/components/toast/configurator.tsx +9 -2
  293. package/src/components/toast/routes.ts +1 -1
  294. package/src/components/toolbar/basic.tsx +32 -8
  295. package/src/components/toolbar/disabled.tsx +42 -34
  296. package/src/components/toolbar/routes.ts +1 -1
  297. package/src/components/tree/basic.tsx +34 -31
  298. package/src/components/tree/routes.ts +1 -1
  299. package/src/components/version/basic.tsx +4 -1
  300. package/src/components/version/context.tsx +8 -5
  301. package/src/components/version/routes.ts +1 -1
  302. package/src/hooks/{useToasterService.ts → useAlert.ts} +2 -10
  303. package/src/hooks/useColorScheme.ts +56 -0
  304. package/src/hooks/useMobile.ts +3 -5
  305. package/src/hooks/useVisualBlockOutline.ts +38 -0
  306. package/src/index.ts +2 -0
  307. package/src/scenarios/accordionComponentContent.tsx +42 -0
  308. package/src/scenarios/appointment-form/AppointmentForm.tsx +115 -97
  309. package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +83 -75
  310. package/src/scenarios/appointment-form/DistrictForm.tsx +50 -50
  311. package/src/scenarios/appointment-form/PersonalInformationForm.tsx +111 -145
  312. package/src/scenarios/appointment-form/Summary.tsx +11 -10
  313. package/src/scenarios/appointment-form/appointmentService.ts +1 -1
  314. package/src/scenarios/appointment-form/formUtils.ts +26 -7
  315. package/src/scenarios/button-shortkey-table.tsx +130 -0
  316. package/src/scenarios/change-tabindex.tsx +6 -8
  317. package/src/scenarios/custom-tooltip-css-properties.tsx +36 -0
  318. package/src/scenarios/date-in-form.tsx +24 -0
  319. package/src/scenarios/disabled-interactive-elements.tsx +10 -10
  320. package/src/scenarios/focus-elements.tsx +97 -33
  321. package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +11 -22
  322. package/src/scenarios/input-group-with-error.tsx +3 -3
  323. package/src/scenarios/inputs-get-value.tsx +6 -6
  324. package/src/scenarios/label-lang.tsx +156 -0
  325. package/src/scenarios/performance-test.tsx +85 -13
  326. package/src/scenarios/react-hook-form/basic.tsx +78 -67
  327. package/src/scenarios/react-hook-form/disabled.tsx +52 -0
  328. package/src/scenarios/routes.ts +21 -7
  329. package/src/scenarios/same-height-of-all-form-elements-with-label.tsx +46 -0
  330. package/src/scenarios/same-height-of-all-interactive-elements.tsx +18 -18
  331. package/src/scenarios/skeleton.tsx +199 -0
  332. package/src/scenarios/static-form.tsx +2 -2
  333. package/src/scenarios/toolbar-item-order.tsx +18 -25
  334. package/src/scenarios/tooltip-positioning.tsx +2 -2
  335. package/src/scenarios/z-index.tsx +51 -0
  336. package/src/shares/colorScheme.ts +60 -0
  337. package/src/shares/country.ts +1 -1
  338. package/src/shares/fetchVariantData.ts +10 -0
  339. package/src/shares/react-roots.ts +2 -1
  340. package/src/shares/routes.ts +9 -6
  341. package/src/shares/sampleAppDataService.ts +58 -0
  342. package/src/shares/store.ts +39 -9
  343. package/src/shares/theme.ts +29 -24
  344. package/src/shares/utils.ts +7 -0
  345. package/src/shares/visualBlockOutline.ts +75 -0
  346. package/tsconfig.json +1 -1
  347. package/dist/.htaccess +0 -3
  348. package/dist/abgrenzung.jpg +0 -0
  349. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js +0 -4
  350. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js.map +0 -1
  351. package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js +0 -4
  352. package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js.map +0 -1
  353. package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js +0 -4
  354. package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js.map +0 -1
  355. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js +0 -4
  356. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js.map +0 -1
  357. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js +0 -4
  358. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js.map +0 -1
  359. package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js +0 -4
  360. package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js.map +0 -1
  361. package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js +0 -4
  362. package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js.map +0 -1
  363. package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js +0 -4
  364. package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js.map +0 -1
  365. package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js +0 -4
  366. package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js.map +0 -1
  367. package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js +0 -4
  368. package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js.map +0 -1
  369. package/dist/assets/README.md +0 -1
  370. package/dist/assets/Span-4JeabU4v-B4Ic693K.js +0 -4
  371. package/dist/assets/Span-4JeabU4v-B4Ic693K.js.map +0 -1
  372. package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js +0 -4
  373. package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js.map +0 -1
  374. package/dist/assets/align-CyK0wp7d-DAXTQf4t.js +0 -4
  375. package/dist/assets/align-CyK0wp7d-DAXTQf4t.js.map +0 -1
  376. package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js +0 -4
  377. package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js.map +0 -1
  378. package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js +0 -4
  379. package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js.map +0 -1
  380. package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js +0 -4
  381. package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js.map +0 -1
  382. package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +0 -4
  383. package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +0 -1
  384. package/dist/assets/codicons/LICENSE +0 -395
  385. package/dist/assets/codicons/LICENSE-CODE +0 -21
  386. package/dist/assets/codicons/codicon.css +0 -635
  387. package/dist/assets/codicons/codicon.csv +0 -467
  388. package/dist/assets/codicons/codicon.svg +0 -1
  389. package/dist/assets/codicons/codicon.ttf +0 -0
  390. package/dist/assets/color-C3pYZKV3-Boz82QD1.js +0 -4
  391. package/dist/assets/color-C3pYZKV3-Boz82QD1.js.map +0 -1
  392. package/dist/assets/controller-4o5NtKAV-D22HY-_r.js +0 -4
  393. package/dist/assets/controller-4o5NtKAV-D22HY-_r.js.map +0 -1
  394. package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js +0 -4
  395. package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js.map +0 -1
  396. package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js +0 -4
  397. package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js.map +0 -1
  398. package/dist/assets/controller-Dl3IUIE_-BJro71ic.js +0 -4
  399. package/dist/assets/controller-Dl3IUIE_-BJro71ic.js.map +0 -1
  400. package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js +0 -4
  401. package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js.map +0 -1
  402. package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js +0 -4
  403. package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js.map +0 -1
  404. package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js +0 -16
  405. package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js.map +0 -1
  406. package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js +0 -16
  407. package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js.map +0 -1
  408. package/dist/assets/disabled-BydergHu-DG5LdC-Q.js +0 -4
  409. package/dist/assets/disabled-BydergHu-DG5LdC-Q.js.map +0 -1
  410. package/dist/assets/fontawesome-free/LICENSE.txt +0 -165
  411. package/dist/assets/fontawesome-free/css/all.css +0 -7831
  412. package/dist/assets/fontawesome-free/css/all.min.css +0 -6
  413. package/dist/assets/fontawesome-free/css/brands.css +0 -1432
  414. package/dist/assets/fontawesome-free/css/brands.min.css +0 -6
  415. package/dist/assets/fontawesome-free/css/fontawesome.css +0 -6338
  416. package/dist/assets/fontawesome-free/css/fontawesome.min.css +0 -6
  417. package/dist/assets/fontawesome-free/css/regular.css +0 -19
  418. package/dist/assets/fontawesome-free/css/regular.min.css +0 -6
  419. package/dist/assets/fontawesome-free/css/solid.css +0 -19
  420. package/dist/assets/fontawesome-free/css/solid.min.css +0 -6
  421. package/dist/assets/fontawesome-free/css/svg-with-js.css +0 -634
  422. package/dist/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
  423. package/dist/assets/fontawesome-free/css/v4-font-face.css +0 -26
  424. package/dist/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
  425. package/dist/assets/fontawesome-free/css/v4-shims.css +0 -2146
  426. package/dist/assets/fontawesome-free/css/v4-shims.min.css +0 -6
  427. package/dist/assets/fontawesome-free/css/v5-font-face.css +0 -22
  428. package/dist/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
  429. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
  430. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
  431. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
  432. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
  433. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
  434. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
  435. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
  436. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
  437. package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js +0 -4
  438. package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js.map +0 -1
  439. package/dist/assets/hide-label-DRunOux4--dDsrCvo.js +0 -4
  440. package/dist/assets/hide-label-DRunOux4--dDsrCvo.js.map +0 -1
  441. package/dist/assets/href-zZq6HYWf-CJRn7KoA.js +0 -4
  442. package/dist/assets/href-zZq6HYWf-CJRn7KoA.js.map +0 -1
  443. package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js +0 -4
  444. package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js.map +0 -1
  445. package/dist/assets/icofont/demo.html +0 -18939
  446. package/dist/assets/icofont/fonts/icofont.eot +0 -0
  447. package/dist/assets/icofont/fonts/icofont.svg +0 -2105
  448. package/dist/assets/icofont/fonts/icofont.ttf +0 -0
  449. package/dist/assets/icofont/fonts/icofont.woff +0 -0
  450. package/dist/assets/icofont/fonts/icofont.woff2 +0 -0
  451. package/dist/assets/icofont/icofont.css +0 -10757
  452. package/dist/assets/icofont/icofont.min.css +0 -7
  453. package/dist/assets/icons-72ER78AW-DpSGILmm.js +0 -4
  454. package/dist/assets/icons-72ER78AW-DpSGILmm.js.map +0 -1
  455. package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js +0 -4
  456. package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js.map +0 -1
  457. package/dist/assets/index-BGOAkFhh.css +0 -1
  458. package/dist/assets/index-BcWoQyjV.js +0 -14095
  459. package/dist/assets/index-BcWoQyjV.js.map +0 -1
  460. package/dist/assets/isObject-DvSELytj-B0RigBxT.js +0 -4
  461. package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +0 -1
  462. package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +0 -4
  463. package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js.map +0 -1
  464. package/dist/assets/kol-abbr.entry-D1-px79M.js +0 -237
  465. package/dist/assets/kol-abbr.entry-D1-px79M.js.map +0 -1
  466. package/dist/assets/kol-accordion.entry-D5TwzVdy.js +0 -249
  467. package/dist/assets/kol-accordion.entry-D5TwzVdy.js.map +0 -1
  468. package/dist/assets/kol-alert-wc.entry-BRcerKE9.js +0 -4
  469. package/dist/assets/kol-alert-wc.entry-BRcerKE9.js.map +0 -1
  470. package/dist/assets/kol-alert.entry-DjTpHMvm.js +0 -258
  471. package/dist/assets/kol-alert.entry-DjTpHMvm.js.map +0 -1
  472. package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js +0 -4
  473. package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js.map +0 -1
  474. package/dist/assets/kol-avatar.entry-D-Hk8QoG.js +0 -221
  475. package/dist/assets/kol-avatar.entry-D-Hk8QoG.js.map +0 -1
  476. package/dist/assets/kol-badge.entry-BmtWYybc.js +0 -248
  477. package/dist/assets/kol-badge.entry-BmtWYybc.js.map +0 -1
  478. package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js +0 -281
  479. package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js.map +0 -1
  480. package/dist/assets/kol-button-link.entry-C4RHDvXg.js +0 -267
  481. package/dist/assets/kol-button-link.entry-C4RHDvXg.js.map +0 -1
  482. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js +0 -4
  483. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js.map +0 -1
  484. package/dist/assets/kol-button.entry-7-wx39q5.js +0 -258
  485. package/dist/assets/kol-button.entry-7-wx39q5.js.map +0 -1
  486. package/dist/assets/kol-card-wc.entry-PlaKhF5y.js +0 -4
  487. package/dist/assets/kol-card-wc.entry-PlaKhF5y.js.map +0 -1
  488. package/dist/assets/kol-card.entry-CyHtLWIW.js +0 -250
  489. package/dist/assets/kol-card.entry-CyHtLWIW.js.map +0 -1
  490. package/dist/assets/kol-combobox.entry-CpmqxpBN.js +0 -343
  491. package/dist/assets/kol-combobox.entry-CpmqxpBN.js.map +0 -1
  492. package/dist/assets/kol-details.entry-kQzWhN5P.js +0 -260
  493. package/dist/assets/kol-details.entry-kQzWhN5P.js.map +0 -1
  494. package/dist/assets/kol-drawer.entry-DxS7MGCL.js +0 -289
  495. package/dist/assets/kol-drawer.entry-DxS7MGCL.js.map +0 -1
  496. package/dist/assets/kol-form.entry-DFy3LYKz.js +0 -283
  497. package/dist/assets/kol-form.entry-DFy3LYKz.js.map +0 -1
  498. package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js +0 -197
  499. package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js.map +0 -1
  500. package/dist/assets/kol-icon.entry-C4kKMLmM.js +0 -2376
  501. package/dist/assets/kol-icon.entry-C4kKMLmM.js.map +0 -1
  502. package/dist/assets/kol-image.entry-DN85gHIY.js +0 -199
  503. package/dist/assets/kol-image.entry-DN85gHIY.js.map +0 -1
  504. package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js +0 -435
  505. package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js.map +0 -1
  506. package/dist/assets/kol-input-color.entry-CRrCLnIq.js +0 -331
  507. package/dist/assets/kol-input-color.entry-CRrCLnIq.js.map +0 -1
  508. package/dist/assets/kol-input-date.entry-GfOOymhn.js +0 -313
  509. package/dist/assets/kol-input-date.entry-GfOOymhn.js.map +0 -1
  510. package/dist/assets/kol-input-email.entry-PV2-V6ea.js +0 -313
  511. package/dist/assets/kol-input-email.entry-PV2-V6ea.js.map +0 -1
  512. package/dist/assets/kol-input-file.entry-BV9OeZr8.js +0 -345
  513. package/dist/assets/kol-input-file.entry-BV9OeZr8.js.map +0 -1
  514. package/dist/assets/kol-input-number.entry-RTzOX8E_.js +0 -313
  515. package/dist/assets/kol-input-number.entry-RTzOX8E_.js.map +0 -1
  516. package/dist/assets/kol-input-password.entry-P1D_zg4A.js +0 -316
  517. package/dist/assets/kol-input-password.entry-P1D_zg4A.js.map +0 -1
  518. package/dist/assets/kol-input-radio.entry-dTd41HrI.js +0 -434
  519. package/dist/assets/kol-input-radio.entry-dTd41HrI.js.map +0 -1
  520. package/dist/assets/kol-input-range.entry-DcGp-uOd.js +0 -360
  521. package/dist/assets/kol-input-range.entry-DcGp-uOd.js.map +0 -1
  522. package/dist/assets/kol-input-text.entry-TOkH_vFE.js +0 -313
  523. package/dist/assets/kol-input-text.entry-TOkH_vFE.js.map +0 -1
  524. package/dist/assets/kol-kolibri.entry-vnjBHTkR.js +0 -203
  525. package/dist/assets/kol-kolibri.entry-vnjBHTkR.js.map +0 -1
  526. package/dist/assets/kol-link-button.entry-CiZlKz0X.js +0 -258
  527. package/dist/assets/kol-link-button.entry-CiZlKz0X.js.map +0 -1
  528. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js +0 -4
  529. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js.map +0 -1
  530. package/dist/assets/kol-link.entry-CEbyTLtL.js +0 -264
  531. package/dist/assets/kol-link.entry-CEbyTLtL.js.map +0 -1
  532. package/dist/assets/kol-modal.entry-DxkjKvjF.js +0 -265
  533. package/dist/assets/kol-modal.entry-DxkjKvjF.js.map +0 -1
  534. package/dist/assets/kol-nav.entry-ETXrkvXL.js +0 -280
  535. package/dist/assets/kol-nav.entry-ETXrkvXL.js.map +0 -1
  536. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js +0 -4
  537. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js.map +0 -1
  538. package/dist/assets/kol-pagination.entry-CFi2-gxM.js +0 -258
  539. package/dist/assets/kol-pagination.entry-CFi2-gxM.js.map +0 -1
  540. package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js +0 -4
  541. package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js.map +0 -1
  542. package/dist/assets/kol-popover-button.entry-DxNtCQp-.js +0 -266
  543. package/dist/assets/kol-popover-button.entry-DxNtCQp-.js.map +0 -1
  544. package/dist/assets/kol-popover-wc.entry-DifxtFqF.js +0 -4
  545. package/dist/assets/kol-popover-wc.entry-DifxtFqF.js.map +0 -1
  546. package/dist/assets/kol-progress.entry-nca34a3W.js +0 -275
  547. package/dist/assets/kol-progress.entry-nca34a3W.js.map +0 -1
  548. package/dist/assets/kol-quote.entry-YXiTZNnm.js +0 -220
  549. package/dist/assets/kol-quote.entry-YXiTZNnm.js.map +0 -1
  550. package/dist/assets/kol-select.entry-BH_s2GX5.js +0 -326
  551. package/dist/assets/kol-select.entry-BH_s2GX5.js.map +0 -1
  552. package/dist/assets/kol-single-select.entry-DVUfcX_x.js +0 -359
  553. package/dist/assets/kol-single-select.entry-DVUfcX_x.js.map +0 -1
  554. package/dist/assets/kol-skip-nav.entry-CMICgsBM.js +0 -213
  555. package/dist/assets/kol-skip-nav.entry-CMICgsBM.js.map +0 -1
  556. package/dist/assets/kol-spin.entry-BibNCOH_.js +0 -326
  557. package/dist/assets/kol-spin.entry-BibNCOH_.js.map +0 -1
  558. package/dist/assets/kol-split-button.entry-CN1J8gkv.js +0 -299
  559. package/dist/assets/kol-split-button.entry-CN1J8gkv.js.map +0 -1
  560. package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js +0 -4
  561. package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js.map +0 -1
  562. package/dist/assets/kol-table-stateful.entry-DC6QZqed.js +0 -478
  563. package/dist/assets/kol-table-stateful.entry-DC6QZqed.js.map +0 -1
  564. package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js +0 -4
  565. package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js.map +0 -1
  566. package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js +0 -437
  567. package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js.map +0 -1
  568. package/dist/assets/kol-tabs.entry-ugHVPvjR.js +0 -285
  569. package/dist/assets/kol-tabs.entry-ugHVPvjR.js.map +0 -1
  570. package/dist/assets/kol-textarea.entry-BvcXAwnb.js +0 -312
  571. package/dist/assets/kol-textarea.entry-BvcXAwnb.js.map +0 -1
  572. package/dist/assets/kol-toast-container.entry-C3GIT1za.js +0 -267
  573. package/dist/assets/kol-toast-container.entry-C3GIT1za.js.map +0 -1
  574. package/dist/assets/kol-toolbar.entry-2hd718Om.js +0 -271
  575. package/dist/assets/kol-toolbar.entry-2hd718Om.js.map +0 -1
  576. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js +0 -4
  577. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js.map +0 -1
  578. package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js +0 -4
  579. package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js.map +0 -1
  580. package/dist/assets/kol-tree-item.entry-DmWUWFcB.js +0 -230
  581. package/dist/assets/kol-tree-item.entry-DmWUWFcB.js.map +0 -1
  582. package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js +0 -4
  583. package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js.map +0 -1
  584. package/dist/assets/kol-tree.entry-DtuEyjDz.js +0 -203
  585. package/dist/assets/kol-tree.entry-DtuEyjDz.js.map +0 -1
  586. package/dist/assets/kol-version.entry-BAe12zmq.js +0 -192
  587. package/dist/assets/kol-version.entry-BAe12zmq.js.map +0 -1
  588. package/dist/assets/kolibri.ico +0 -0
  589. package/dist/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
  590. package/dist/assets/kreon/OFL.txt +0 -93
  591. package/dist/assets/kreon/README.txt +0 -67
  592. package/dist/assets/kreon/static/Kreon-Bold.ttf +0 -0
  593. package/dist/assets/kreon/static/Kreon-Light.ttf +0 -0
  594. package/dist/assets/kreon/static/Kreon-Medium.ttf +0 -0
  595. package/dist/assets/kreon/static/Kreon-Regular.ttf +0 -0
  596. package/dist/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
  597. package/dist/assets/kreon/style.css +0 -41
  598. package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js +0 -4
  599. package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js.map +0 -1
  600. package/dist/assets/link-variant-H9yefO89-BVbfesoN.js +0 -4
  601. package/dist/assets/link-variant-H9yefO89-BVbfesoN.js.map +0 -1
  602. package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js +0 -19
  603. package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js.map +0 -1
  604. package/dist/assets/material-icons/LICENSE +0 -202
  605. package/dist/assets/material-icons/README.md +0 -129
  606. package/dist/assets/material-icons/_data/versions.json +0 -2124
  607. package/dist/assets/material-icons/css/_codepoints.scss +0 -2279
  608. package/dist/assets/material-icons/css/_mixins.scss +0 -13
  609. package/dist/assets/material-icons/css/_variables.scss +0 -6
  610. package/dist/assets/material-icons/css/material-icons.css +0 -9208
  611. package/dist/assets/material-icons/css/material-icons.min.css +0 -1
  612. package/dist/assets/material-icons/css/material-icons.scss +0 -33
  613. package/dist/assets/material-icons/iconfont/_mixins.scss +0 -55
  614. package/dist/assets/material-icons/iconfont/_variables.scss +0 -3
  615. package/dist/assets/material-icons/iconfont/filled.css +0 -24
  616. package/dist/assets/material-icons/iconfont/filled.scss +0 -4
  617. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
  618. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
  619. package/dist/assets/material-icons/iconfont/material-icons-round.woff +0 -0
  620. package/dist/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
  621. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
  622. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
  623. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
  624. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
  625. package/dist/assets/material-icons/iconfont/material-icons.css +0 -124
  626. package/dist/assets/material-icons/iconfont/material-icons.scss +0 -5
  627. package/dist/assets/material-icons/iconfont/material-icons.woff +0 -0
  628. package/dist/assets/material-icons/iconfont/material-icons.woff2 +0 -0
  629. package/dist/assets/material-icons/iconfont/outlined.css +0 -24
  630. package/dist/assets/material-icons/iconfont/outlined.scss +0 -4
  631. package/dist/assets/material-icons/iconfont/round.css +0 -24
  632. package/dist/assets/material-icons/iconfont/round.scss +0 -4
  633. package/dist/assets/material-icons/iconfont/sharp.css +0 -24
  634. package/dist/assets/material-icons/iconfont/sharp.scss +0 -4
  635. package/dist/assets/material-icons/iconfont/two-tone.css +0 -24
  636. package/dist/assets/material-icons/iconfont/two-tone.scss +0 -4
  637. package/dist/assets/material-icons/index.d.ts +0 -2128
  638. package/dist/assets/material-icons/package.json +0 -52
  639. package/dist/assets/material-symbols/LICENSE +0 -202
  640. package/dist/assets/material-symbols/README.md +0 -114
  641. package/dist/assets/material-symbols/_core.scss +0 -46
  642. package/dist/assets/material-symbols/index.css +0 -74
  643. package/dist/assets/material-symbols/index.d.ts +0 -2809
  644. package/dist/assets/material-symbols/index.scss +0 -3
  645. package/dist/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
  646. package/dist/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
  647. package/dist/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
  648. package/dist/assets/material-symbols/outlined.css +0 -24
  649. package/dist/assets/material-symbols/outlined.scss +0 -3
  650. package/dist/assets/material-symbols/package.json +0 -41
  651. package/dist/assets/material-symbols/rounded.css +0 -24
  652. package/dist/assets/material-symbols/rounded.scss +0 -3
  653. package/dist/assets/material-symbols/sharp.css +0 -24
  654. package/dist/assets/material-symbols/sharp.scss +0 -3
  655. package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js +0 -4
  656. package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js.map +0 -1
  657. package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js +0 -4
  658. package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js.map +0 -1
  659. package/dist/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
  660. package/dist/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
  661. package/dist/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
  662. package/dist/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
  663. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
  664. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
  665. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
  666. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
  667. package/dist/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
  668. package/dist/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
  669. package/dist/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
  670. package/dist/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
  671. package/dist/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
  672. package/dist/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
  673. package/dist/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
  674. package/dist/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
  675. package/dist/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
  676. package/dist/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
  677. package/dist/assets/noto-sans/fonts/OFL.txt +0 -93
  678. package/dist/assets/noto-sans/noto-sans.css +0 -11
  679. package/dist/assets/open-D9q98v46-Bj8Lg8iR.js +0 -4
  680. package/dist/assets/open-D9q98v46-Bj8Lg8iR.js.map +0 -1
  681. package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js +0 -4
  682. package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js.map +0 -1
  683. package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js +0 -4
  684. package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js.map +0 -1
  685. package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js +0 -4
  686. package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js.map +0 -1
  687. package/dist/assets/required-G86n77y0-D0bNZ_U9.js +0 -4
  688. package/dist/assets/required-G86n77y0-D0bNZ_U9.js.map +0 -1
  689. package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +0 -4
  690. package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js.map +0 -1
  691. package/dist/assets/roboto/LICENSE.txt +0 -202
  692. package/dist/assets/roboto/Roboto-Black.ttf +0 -0
  693. package/dist/assets/roboto/Roboto-BlackItalic.ttf +0 -0
  694. package/dist/assets/roboto/Roboto-Bold.ttf +0 -0
  695. package/dist/assets/roboto/Roboto-BoldItalic.ttf +0 -0
  696. package/dist/assets/roboto/Roboto-Italic.ttf +0 -0
  697. package/dist/assets/roboto/Roboto-Light.ttf +0 -0
  698. package/dist/assets/roboto/Roboto-LightItalic.ttf +0 -0
  699. package/dist/assets/roboto/Roboto-Medium.ttf +0 -0
  700. package/dist/assets/roboto/Roboto-MediumItalic.ttf +0 -0
  701. package/dist/assets/roboto/Roboto-Regular.ttf +0 -0
  702. package/dist/assets/roboto/Roboto-Thin.ttf +0 -0
  703. package/dist/assets/roboto/Roboto-ThinItalic.ttf +0 -0
  704. package/dist/assets/roboto/roboto.css +0 -27
  705. package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js +0 -4
  706. package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js.map +0 -1
  707. package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js +0 -4
  708. package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js.map +0 -1
  709. package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js +0 -4
  710. package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js.map +0 -1
  711. package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js +0 -4
  712. package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js.map +0 -1
  713. package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js +0 -4
  714. package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js.map +0 -1
  715. package/dist/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  716. package/dist/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  717. package/dist/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  718. package/dist/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  719. package/dist/assets/tabler-icons/tabler-icons.css +0 -16056
  720. package/dist/assets/tabler-icons/tabler-icons.html +0 -36226
  721. package/dist/assets/tabler-icons/tabler-icons.min.css +0 -4
  722. package/dist/assets/tabler-icons/tabler-icons.png +0 -0
  723. package/dist/assets/tabler-icons/tabler-icons.scss +0 -8058
  724. package/dist/assets/test-component.entry-XCdkvKax.js +0 -4
  725. package/dist/assets/test-component.entry-XCdkvKax.js.map +0 -1
  726. package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js +0 -4
  727. package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js.map +0 -1
  728. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +0 -4
  729. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +0 -1
  730. package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +0 -4
  731. package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js.map +0 -1
  732. package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js +0 -4
  733. package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js.map +0 -1
  734. package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js +0 -4
  735. package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js.map +0 -1
  736. package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js +0 -4
  737. package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js.map +0 -1
  738. package/dist/index.html +0 -30
  739. package/dist/robots.txt +0 -2
  740. package/index.html +0 -29
  741. package/public/.htaccess +0 -3
  742. package/public/abgrenzung.jpg +0 -0
  743. package/public/assets/README.md +0 -1
  744. package/public/assets/codicons/LICENSE +0 -395
  745. package/public/assets/codicons/LICENSE-CODE +0 -21
  746. package/public/assets/codicons/codicon.css +0 -635
  747. package/public/assets/codicons/codicon.csv +0 -467
  748. package/public/assets/codicons/codicon.svg +0 -1
  749. package/public/assets/codicons/codicon.ttf +0 -0
  750. package/public/assets/fontawesome-free/LICENSE.txt +0 -165
  751. package/public/assets/fontawesome-free/css/all.css +0 -7831
  752. package/public/assets/fontawesome-free/css/all.min.css +0 -6
  753. package/public/assets/fontawesome-free/css/brands.css +0 -1432
  754. package/public/assets/fontawesome-free/css/brands.min.css +0 -6
  755. package/public/assets/fontawesome-free/css/fontawesome.css +0 -6338
  756. package/public/assets/fontawesome-free/css/fontawesome.min.css +0 -6
  757. package/public/assets/fontawesome-free/css/regular.css +0 -19
  758. package/public/assets/fontawesome-free/css/regular.min.css +0 -6
  759. package/public/assets/fontawesome-free/css/solid.css +0 -19
  760. package/public/assets/fontawesome-free/css/solid.min.css +0 -6
  761. package/public/assets/fontawesome-free/css/svg-with-js.css +0 -634
  762. package/public/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
  763. package/public/assets/fontawesome-free/css/v4-font-face.css +0 -26
  764. package/public/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
  765. package/public/assets/fontawesome-free/css/v4-shims.css +0 -2146
  766. package/public/assets/fontawesome-free/css/v4-shims.min.css +0 -6
  767. package/public/assets/fontawesome-free/css/v5-font-face.css +0 -22
  768. package/public/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
  769. package/public/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
  770. package/public/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
  771. package/public/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
  772. package/public/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
  773. package/public/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
  774. package/public/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
  775. package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
  776. package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
  777. package/public/assets/icofont/demo.html +0 -18939
  778. package/public/assets/icofont/fonts/icofont.eot +0 -0
  779. package/public/assets/icofont/fonts/icofont.svg +0 -2105
  780. package/public/assets/icofont/fonts/icofont.ttf +0 -0
  781. package/public/assets/icofont/fonts/icofont.woff +0 -0
  782. package/public/assets/icofont/fonts/icofont.woff2 +0 -0
  783. package/public/assets/icofont/icofont.css +0 -10757
  784. package/public/assets/icofont/icofont.min.css +0 -7
  785. package/public/assets/kolibri.ico +0 -0
  786. package/public/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
  787. package/public/assets/kreon/OFL.txt +0 -93
  788. package/public/assets/kreon/README.txt +0 -67
  789. package/public/assets/kreon/static/Kreon-Bold.ttf +0 -0
  790. package/public/assets/kreon/static/Kreon-Light.ttf +0 -0
  791. package/public/assets/kreon/static/Kreon-Medium.ttf +0 -0
  792. package/public/assets/kreon/static/Kreon-Regular.ttf +0 -0
  793. package/public/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
  794. package/public/assets/kreon/style.css +0 -41
  795. package/public/assets/material-icons/LICENSE +0 -202
  796. package/public/assets/material-icons/README.md +0 -129
  797. package/public/assets/material-icons/_data/versions.json +0 -2124
  798. package/public/assets/material-icons/css/_codepoints.scss +0 -2279
  799. package/public/assets/material-icons/css/_mixins.scss +0 -13
  800. package/public/assets/material-icons/css/_variables.scss +0 -6
  801. package/public/assets/material-icons/css/material-icons.css +0 -9208
  802. package/public/assets/material-icons/css/material-icons.min.css +0 -1
  803. package/public/assets/material-icons/css/material-icons.scss +0 -33
  804. package/public/assets/material-icons/iconfont/_mixins.scss +0 -55
  805. package/public/assets/material-icons/iconfont/_variables.scss +0 -3
  806. package/public/assets/material-icons/iconfont/filled.css +0 -24
  807. package/public/assets/material-icons/iconfont/filled.scss +0 -4
  808. package/public/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
  809. package/public/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
  810. package/public/assets/material-icons/iconfont/material-icons-round.woff +0 -0
  811. package/public/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
  812. package/public/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
  813. package/public/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
  814. package/public/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
  815. package/public/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
  816. package/public/assets/material-icons/iconfont/material-icons.css +0 -124
  817. package/public/assets/material-icons/iconfont/material-icons.scss +0 -5
  818. package/public/assets/material-icons/iconfont/material-icons.woff +0 -0
  819. package/public/assets/material-icons/iconfont/material-icons.woff2 +0 -0
  820. package/public/assets/material-icons/iconfont/outlined.css +0 -24
  821. package/public/assets/material-icons/iconfont/outlined.scss +0 -4
  822. package/public/assets/material-icons/iconfont/round.css +0 -24
  823. package/public/assets/material-icons/iconfont/round.scss +0 -4
  824. package/public/assets/material-icons/iconfont/sharp.css +0 -24
  825. package/public/assets/material-icons/iconfont/sharp.scss +0 -4
  826. package/public/assets/material-icons/iconfont/two-tone.css +0 -24
  827. package/public/assets/material-icons/iconfont/two-tone.scss +0 -4
  828. package/public/assets/material-icons/index.d.ts +0 -2128
  829. package/public/assets/material-icons/package.json +0 -52
  830. package/public/assets/material-symbols/LICENSE +0 -202
  831. package/public/assets/material-symbols/README.md +0 -114
  832. package/public/assets/material-symbols/_core.scss +0 -46
  833. package/public/assets/material-symbols/index.css +0 -74
  834. package/public/assets/material-symbols/index.d.ts +0 -2809
  835. package/public/assets/material-symbols/index.scss +0 -3
  836. package/public/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
  837. package/public/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
  838. package/public/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
  839. package/public/assets/material-symbols/outlined.css +0 -24
  840. package/public/assets/material-symbols/outlined.scss +0 -3
  841. package/public/assets/material-symbols/package.json +0 -41
  842. package/public/assets/material-symbols/rounded.css +0 -24
  843. package/public/assets/material-symbols/rounded.scss +0 -3
  844. package/public/assets/material-symbols/sharp.css +0 -24
  845. package/public/assets/material-symbols/sharp.scss +0 -3
  846. package/public/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
  847. package/public/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
  848. package/public/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
  849. package/public/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
  850. package/public/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
  851. package/public/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
  852. package/public/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
  853. package/public/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
  854. package/public/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
  855. package/public/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
  856. package/public/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
  857. package/public/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
  858. package/public/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
  859. package/public/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
  860. package/public/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
  861. package/public/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
  862. package/public/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
  863. package/public/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
  864. package/public/assets/noto-sans/fonts/OFL.txt +0 -93
  865. package/public/assets/noto-sans/noto-sans.css +0 -11
  866. package/public/assets/roboto/LICENSE.txt +0 -202
  867. package/public/assets/roboto/Roboto-Black.ttf +0 -0
  868. package/public/assets/roboto/Roboto-BlackItalic.ttf +0 -0
  869. package/public/assets/roboto/Roboto-Bold.ttf +0 -0
  870. package/public/assets/roboto/Roboto-BoldItalic.ttf +0 -0
  871. package/public/assets/roboto/Roboto-Italic.ttf +0 -0
  872. package/public/assets/roboto/Roboto-Light.ttf +0 -0
  873. package/public/assets/roboto/Roboto-LightItalic.ttf +0 -0
  874. package/public/assets/roboto/Roboto-Medium.ttf +0 -0
  875. package/public/assets/roboto/Roboto-MediumItalic.ttf +0 -0
  876. package/public/assets/roboto/Roboto-Regular.ttf +0 -0
  877. package/public/assets/roboto/Roboto-Thin.ttf +0 -0
  878. package/public/assets/roboto/Roboto-ThinItalic.ttf +0 -0
  879. package/public/assets/roboto/roboto.css +0 -27
  880. package/public/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  881. package/public/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  882. package/public/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  883. package/public/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  884. package/public/assets/tabler-icons/tabler-icons.css +0 -16056
  885. package/public/assets/tabler-icons/tabler-icons.html +0 -36226
  886. package/public/assets/tabler-icons/tabler-icons.min.css +0 -4
  887. package/public/assets/tabler-icons/tabler-icons.png +0 -0
  888. package/public/assets/tabler-icons/tabler-icons.scss +0 -8058
  889. package/public/robots.txt +0 -2
  890. package/src/components/alert/html.tsx +0 -37
  891. package/src/components/badge/button.tsx +0 -34
  892. package/src/components/badge/formatted-label.tsx +0 -19
  893. package/src/components/button/partials/cases.tsx +0 -37
  894. package/src/components/button/partials/type.ts +0 -4
  895. package/src/components/button/partials/variants.tsx +0 -25
  896. package/src/components/button-link/image.tsx +0 -21
  897. package/src/components/input-text/partials/cases.tsx +0 -54
  898. package/src/components/input-text/partials/variants.tsx +0 -20
  899. package/src/components/spin/custom.tsx +0 -23
  900. package/src/components/spin/cycle.tsx +0 -16
  901. package/src/components/spin/label.tsx +0 -23
  902. package/src/main.ts +0 -16
  903. package/src/react.main.tsx +0 -143
  904. package/src/scenarios/custom-tooltip-width.tsx +0 -33
  905. package/src/scenarios/sample-form-with-validation.tsx +0 -192
  906. package/src/style.scss +0 -99
  907. package/unocss.config.ts +0 -318
  908. package/vite.config.ts +0 -42
@@ -1,37 +1,81 @@
1
- import React, { forwardRef } from 'react';
2
- import { KolInputColor } from '@public-ui/react-v19';
3
1
  import type { Components } from '@public-ui/components';
2
+ import { KolInputColor } from '@public-ui/react-v19';
3
+ import React, { forwardRef } from 'react';
4
4
 
5
5
  import { ERROR_MSG } from '../../../shares/constants';
6
+ import { SampleBlock } from '../../SampleBlock';
7
+
8
+ type InputColorCasesProps = Components.KolInputColor & {
9
+ /** Prefixes the visual block ids so the same cases can be rendered more than once per route. */
10
+ blockIdPrefix: string;
11
+ /**
12
+ * Restricts the snapshots of this rendering to the case with this id; every other block is
13
+ * rendered with `skipSnapshot`. Used for the `_hideLabel` groups: hiding the label mainly
14
+ * changes how the message is laid out, so snapshotting every case a second time would only
15
+ * duplicate the labelled group.
16
+ */
17
+ snapshotOnly?: string;
18
+ };
6
19
 
7
- export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorCases(props, ref) {
20
+ export const InputColorCases = forwardRef<HTMLKolInputColorElement, InputColorCasesProps>(function InputColorCases(
21
+ { blockIdPrefix, snapshotOnly, ...props },
22
+ ref,
23
+ ) {
24
+ // Blocks outside `snapshotOnly` stay visible in the sample but are excluded from the snapshots.
25
+ const block = (caseId: string) => ({ id: `${blockIdPrefix}-${caseId}`, skipSnapshot: snapshotOnly !== undefined && caseId !== snapshotOnly });
8
26
  return (
9
27
  <div className="grid gap-4">
10
- <div className="black-background">
28
+ <SampleBlock {...block('black-bg')} className="black-background">
11
29
  <KolInputColor
12
30
  {...props}
13
31
  _msg={{ _type: 'error', _description: ERROR_MSG }}
14
32
  _icons={{
15
- left: 'codicon codicon-symbol-color',
33
+ left: 'kolicon-kolibri',
16
34
  }}
17
35
  _label="Color (Black background test)"
18
36
  _value="#f08080"
19
37
  />
20
- </div>
21
- <KolInputColor
22
- {...props}
23
- _msg={{ _type: 'error', _description: ERROR_MSG }}
24
- _label="Color with error"
25
- _suggestions="['#000000','#f08080', '#0000ff','#00ff00']"
26
- _touched
27
- />
28
- <KolInputColor {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Color" />
29
- <KolInputColor {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Color" />
30
- <KolInputColor {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Color" />
31
- <KolInputColor {...props} ref={ref} _accessKey="C" _hint="Hint text" _label="Color with hint" _value="#f08080" />
32
- <KolInputColor {...props} _disabled _label="Color (Disabled)" _value="#f08080" />
33
- <KolInputColor {...props} _label="With access key" _accessKey="c"></KolInputColor>
34
- <KolInputColor {...props} _label="With short key" _shortKey="s"></KolInputColor>
38
+ </SampleBlock>
39
+ <SampleBlock {...block('suggestions-error')}>
40
+ <KolInputColor
41
+ {...props}
42
+ _msg={{ _type: 'error', _description: ERROR_MSG }}
43
+ _label="Color with error and suggestions"
44
+ _suggestions="['#000000','#f08080', '#0000ff','#00ff00']"
45
+ _touched
46
+ />
47
+ </SampleBlock>
48
+ <SampleBlock {...block('msg-info')}>
49
+ <KolInputColor {...props} _msg={{ _type: 'info', _description: 'Just a hint message.' }} _label="Color" _touched />
50
+ </SampleBlock>
51
+ <SampleBlock {...block('msg-warning')}>
52
+ <KolInputColor {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Color" _touched />
53
+ </SampleBlock>
54
+ <SampleBlock {...block('msg-success')}>
55
+ <KolInputColor {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Color" _touched />
56
+ </SampleBlock>
57
+ <SampleBlock {...block('msg-default')}>
58
+ <KolInputColor {...props} _msg={{ _type: 'default', _description: 'Default message' }} _label="Color" _touched />
59
+ </SampleBlock>
60
+ <SampleBlock {...block('hint')}>
61
+ <KolInputColor {...props} ref={ref} _accessKey="C" _hint="Hint text" _label="Color with hint" _value="#f08080" />
62
+ </SampleBlock>
63
+ <SampleBlock {...block('disabled')}>
64
+ <KolInputColor {...props} _disabled _label="Color (Disabled)" _value="#f08080" />
65
+ </SampleBlock>
66
+ <SampleBlock {...block('access-key')}>
67
+ <KolInputColor {...props} _label="With access key" _accessKey="c"></KolInputColor>
68
+ </SampleBlock>
69
+ <SampleBlock {...block('short-key')}>
70
+ <KolInputColor {...props} _label="With short key" _shortKey="s"></KolInputColor>
71
+ </SampleBlock>
72
+ <SampleBlock {...block('info-popover')}>
73
+ <KolInputColor
74
+ {...props}
75
+ _label="With short popover"
76
+ _infoPopover={{ _label: 'hint', _content: 'Ich bin ein Hinweis.', _icons: 'kolicon-alert-info' }}
77
+ ></KolInputColor>
78
+ </SampleBlock>
35
79
  </div>
36
80
  );
37
81
  });
@@ -4,17 +4,16 @@ import { InputColorCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
6
  import { SampleColumns } from '../../SampleColumns';
7
+ import { SampleGroup } from '../../SampleGroup';
7
8
  export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorVariant(props, ref) {
8
9
  return (
9
10
  <SampleColumns>
10
- <fieldset>
11
- <legend>Color</legend>
12
- <InputColorCases {...props} />
13
- </fieldset>
14
- <fieldset>
15
- <legend>Color (hideLabel)</legend>
16
- <InputColorCases ref={ref} {...props} _hideLabel />
17
- </fieldset>
11
+ <SampleGroup heading="Color">
12
+ <InputColorCases blockIdPrefix="label" {...props} />
13
+ </SampleGroup>
14
+ <SampleGroup heading="Color (hideLabel)">
15
+ <InputColorCases blockIdPrefix="hide-label" snapshotOnly="suggestions-error" ref={ref} {...props} _hideLabel />
16
+ </SampleGroup>
18
17
  </SampleColumns>
19
18
  );
20
19
  });
@@ -1,8 +1,10 @@
1
- import { Routes } from '../../shares/types';
1
+ import type { Routes } from '../../shares/types';
2
2
  import { InputColorBasic } from './basic';
3
+ import { InputColorOnInputOnChange } from './get-value';
3
4
 
4
5
  export const INPUT_COLOR_ROUTES: Routes = {
5
6
  'input-color': {
6
7
  basic: InputColorBasic,
8
+ 'get-value': InputColorOnInputOnChange,
7
9
  },
8
10
  };
@@ -2,8 +2,8 @@ import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
4
  import { FormWrap } from '../FormWrap';
5
- import { InputDateVariants } from './partials/variants';
6
5
  import { SampleDescription } from '../SampleDescription';
6
+ import { InputDateVariants } from './partials/variants';
7
7
 
8
8
  export const InputDateBasic: FC = () => (
9
9
  <>
@@ -1,5 +1,5 @@
1
- import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
2
1
  import { KolButton, KolInputDate, KolInputText } from '@public-ui/react-v19';
2
+ import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
3
3
  import { SampleDescription } from '../SampleDescription';
4
4
 
5
5
  /** -----------------------------
@@ -152,10 +152,12 @@ export const InputDateCopyPaste: React.FC = () => {
152
152
  }}
153
153
  />
154
154
 
155
- <small className="opacity-80">Click the button to copy the exact German date, then paste it into the date field below.</small>
155
+ <p className="opacity-80" id="button-desc">
156
+ Click the button to copy the exact German date, then paste it into the date field below.
157
+ </p>
156
158
 
157
159
  <div className="flex items-center gap-2">
158
- <KolButton _label="Copy to Clipboard" _on={{ onClick: () => copyToClipboard(deValue) }} />
160
+ <KolButton _label="Copy to Clipboard" _on={{ onClick: () => copyToClipboard(deValue) }} aria-describedby="button-desc" />
159
161
  {!isoFromDe && <span className="text-red-600">Invalid date</span>}
160
162
  </div>
161
163
 
@@ -0,0 +1,17 @@
1
+ import { KolInputDate } from '@public-ui/react-v19';
2
+ import type { FC } from 'react';
3
+ import React from 'react';
4
+ import { InputEventValueDemo } from '../InputEventValueDemo';
5
+ import { SampleDescription } from '../SampleDescription';
6
+
7
+ export const InputDateOnInputOnChange: FC = () => (
8
+ <>
9
+ <SampleDescription>
10
+ <p>
11
+ Shows the callback value from <code>onInput</code> while typing and from <code>onChange</code> after leaving the field.
12
+ </p>
13
+ </SampleDescription>
14
+
15
+ <InputEventValueDemo label="KolInputDate" renderInput={(handlers) => <KolInputDate _label="Date" _on={handlers} />} />
16
+ </>
17
+ );
@@ -1,37 +1,82 @@
1
- import React, { forwardRef } from 'react';
2
- import { KolInputDate } from '@public-ui/react-v19';
3
1
  import type { Components } from '@public-ui/components';
2
+ import { KolInputDate } from '@public-ui/react-v19';
3
+ import React, { forwardRef } from 'react';
4
4
 
5
5
  import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
+ import { SampleBlock } from '../../SampleBlock';
7
+
8
+ type InputDateCasesProps = Components.KolInputDate & {
9
+ /** Prefixes the visual block ids so the same cases can be rendered more than once per route. */
10
+ blockIdPrefix: string;
11
+ /**
12
+ * Restricts the snapshots of this rendering to the case with this id; every other block is
13
+ * rendered with `skipSnapshot`. Used for the `_hideLabel` groups: hiding the label mainly
14
+ * changes how the message is laid out, so snapshotting every case a second time would only
15
+ * duplicate the labelled group.
16
+ */
17
+ snapshotOnly?: string;
18
+ };
6
19
 
7
- export const InputDateCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props, ref) {
20
+ export const InputDateCases = forwardRef<HTMLKolInputDateElement, InputDateCasesProps>(function InputDateCases({ blockIdPrefix, snapshotOnly, ...props }, ref) {
21
+ // Blocks outside `snapshotOnly` stay visible in the sample but are excluded from the snapshots.
22
+ const block = (caseId: string) => ({ id: `${blockIdPrefix}-${caseId}`, skipSnapshot: snapshotOnly !== undefined && caseId !== snapshotOnly });
8
23
  return (
9
24
  <div className="grid gap-4">
10
- <div className="black-background">
25
+ <SampleBlock {...block('black-bg')} className="black-background">
11
26
  <KolInputDate {...props} _type="date" _label="Date input (Black background test)" _required />
12
- </div>
13
- <KolInputDate {...props} _type="datetime-local" _label="Local-Datetime (Standard)" _required />
14
- <KolInputDate
15
- {...props}
16
- _step={1}
17
- _type="datetime-local"
18
- _hint={HINT_MSG}
19
- _msg={{ _type: 'error', _description: ERROR_MSG }}
20
- _label="Local datetime (with seconds)"
21
- _required
22
- _touched
23
- />
24
- <KolInputDate {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Color" />
25
- <KolInputDate {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Color" />
26
- <KolInputDate {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Color" />
27
- <KolInputDate {...props} _type="month" _label="Month" _required />
28
- <KolInputDate {...props} ref={ref} _accessKey="W" _type="week" _label="Week" _required />
29
- <KolInputDate {...props} _type="time" _label="Time (standard)" _required />
30
- <KolInputDate {...props} _step={1} _type="time" _label="Time (with seconds)" _required />
31
- <KolInputDate {...props} _readOnly _label="Date input (read-only)" _required />
32
- <KolInputDate {...props} _disabled _label="Date input (Disabled)" _required />
33
- <KolInputDate {...props} _label="With access key" _accessKey="s" />
34
- <KolInputDate {...props} _label="With short key" _shortKey="s" />
27
+ </SampleBlock>
28
+ <SampleBlock {...block('datetime-local')}>
29
+ <KolInputDate {...props} _type="datetime-local" _label="Local-Datetime (Standard)" _required />
30
+ </SampleBlock>
31
+ <SampleBlock {...block('datetime-seconds')}>
32
+ <KolInputDate
33
+ {...props}
34
+ _step={1}
35
+ _type="datetime-local"
36
+ _hint={HINT_MSG}
37
+ _msg={{ _type: 'error', _description: ERROR_MSG }}
38
+ _label="Local datetime (with seconds)"
39
+ _required
40
+ _touched
41
+ _infoPopover={{ _label: 'hint', _content: 'Ich bin ein Hinweis.', _icons: 'kolicon-alert-info' }}
42
+ />
43
+ </SampleBlock>
44
+ <SampleBlock {...block('msg-info')}>
45
+ <KolInputDate {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Date" _touched />
46
+ </SampleBlock>
47
+ <SampleBlock {...block('msg-warning')}>
48
+ <KolInputDate {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Date" _touched />
49
+ </SampleBlock>
50
+ <SampleBlock {...block('msg-success')}>
51
+ <KolInputDate {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Date" _touched />
52
+ </SampleBlock>
53
+ <SampleBlock {...block('msg-default')}>
54
+ <KolInputDate {...props} _msg={{ _type: 'default', _description: 'Default message' }} _label="Date" _touched />
55
+ </SampleBlock>
56
+ <SampleBlock {...block('month')}>
57
+ <KolInputDate {...props} _type="month" _label="Month" _required />
58
+ </SampleBlock>
59
+ <SampleBlock {...block('week')}>
60
+ <KolInputDate {...props} ref={ref} _accessKey="W" _type="week" _label="Week" _required />
61
+ </SampleBlock>
62
+ <SampleBlock {...block('time')}>
63
+ <KolInputDate {...props} _type="time" _label="Time (standard)" _required />
64
+ </SampleBlock>
65
+ <SampleBlock {...block('time-seconds')}>
66
+ <KolInputDate {...props} _step={1} _type="time" _label="Time (with seconds)" _required />
67
+ </SampleBlock>
68
+ <SampleBlock {...block('readonly')}>
69
+ <KolInputDate {...props} _readOnly _label="Date input (read-only)" _required />
70
+ </SampleBlock>
71
+ <SampleBlock {...block('disabled')}>
72
+ <KolInputDate {...props} _disabled _label="Date input (Disabled)" _required />
73
+ </SampleBlock>
74
+ <SampleBlock {...block('access-key')}>
75
+ <KolInputDate {...props} _label="With access key" _accessKey="s" />
76
+ </SampleBlock>
77
+ <SampleBlock {...block('short-key')}>
78
+ <KolInputDate {...props} _label="With short key" _shortKey="s" />
79
+ </SampleBlock>
35
80
  </div>
36
81
  );
37
82
  });
@@ -1,8 +1,15 @@
1
- import React from 'react';
2
- import { KolInputDate } from '@public-ui/react-v19';
3
1
  import type { Components } from '@public-ui/components';
2
+ import { KolInputDate } from '@public-ui/react-v19';
3
+ import React from 'react';
4
+
5
+ import { SampleBlock } from '../../SampleBlock';
6
+
7
+ type InputDateMinMaxCasesProps = Components.KolInputDate & {
8
+ /** Prefixes the visual block ids so the same cases can be rendered more than once per route. */
9
+ blockIdPrefix: string;
10
+ };
4
11
 
5
- export const InputDateMinMaxCases = (props: Components.KolInputDate) => {
12
+ export const InputDateMinMaxCases = ({ blockIdPrefix, ...props }: InputDateMinMaxCasesProps) => {
6
13
  const minDateIso = '2024-09-26';
7
14
  const maxDateIso = '2024-09-27';
8
15
 
@@ -22,20 +29,40 @@ export const InputDateMinMaxCases = (props: Components.KolInputDate) => {
22
29
  const maxDate = new Date('October 20, 2024, 15:00');
23
30
  return (
24
31
  <div className="grid gap-4">
25
- <KolInputDate {...props} _type="date" _label="Date with Iso" _min={minDateIso} _max={maxDateIso} />
26
- <KolInputDate {...props} _type="date" _label="Date with Date" _min={minDate} _max={maxDate} />
32
+ <SampleBlock id={`${blockIdPrefix}-date-iso`}>
33
+ <KolInputDate {...props} _type="date" _label="Date with Iso" _min={minDateIso} _max={maxDateIso} />
34
+ </SampleBlock>
35
+ <SampleBlock id={`${blockIdPrefix}-date-object`}>
36
+ <KolInputDate {...props} _type="date" _label="Date with Date" _min={minDate} _max={maxDate} />
37
+ </SampleBlock>
27
38
 
28
- <KolInputDate {...props} _type="time" _label="Time with Iso" _min={minTimeIso} _max={maxTimeIso} />
29
- <KolInputDate {...props} _type="time" _label="Time with Date" _min={minDate} _max={maxDate} />
39
+ <SampleBlock id={`${blockIdPrefix}-time-iso`}>
40
+ <KolInputDate {...props} _type="time" _label="Time with Iso" _min={minTimeIso} _max={maxTimeIso} />
41
+ </SampleBlock>
42
+ <SampleBlock id={`${blockIdPrefix}-time-object`}>
43
+ <KolInputDate {...props} _type="time" _label="Time with Date" _min={minDate} _max={maxDate} />
44
+ </SampleBlock>
30
45
 
31
- <KolInputDate {...props} _type="datetime-local" _label="DayTime with Iso" _min={minDayTimeIso} _max={maxDaytimeIso} />
32
- <KolInputDate {...props} _type="datetime-local" _label="DayTime with Date" _min={minDate} _max={maxDate} />
46
+ <SampleBlock id={`${blockIdPrefix}-datetime-iso`}>
47
+ <KolInputDate {...props} _type="datetime-local" _label="DayTime with Iso" _min={minDayTimeIso} _max={maxDaytimeIso} />
48
+ </SampleBlock>
49
+ <SampleBlock id={`${blockIdPrefix}-datetime-object`}>
50
+ <KolInputDate {...props} _type="datetime-local" _label="DayTime with Date" _min={minDate} _max={maxDate} />
51
+ </SampleBlock>
33
52
 
34
- <KolInputDate {...props} _type="week" _label="Week with Iso" _min={minWeekIso} _max={maxWeekIso} />
35
- <KolInputDate {...props} _type="week" _label="Week with Date" _min={minDate} _max={maxDate} />
53
+ <SampleBlock id={`${blockIdPrefix}-week-iso`}>
54
+ <KolInputDate {...props} _type="week" _label="Week with Iso" _min={minWeekIso} _max={maxWeekIso} />
55
+ </SampleBlock>
56
+ <SampleBlock id={`${blockIdPrefix}-week-object`}>
57
+ <KolInputDate {...props} _type="week" _label="Week with Date" _min={minDate} _max={maxDate} />
58
+ </SampleBlock>
36
59
 
37
- <KolInputDate {...props} _type="month" _label="Month with Iso" _min={minMonthIso} _max={maxMonthIso} />
38
- <KolInputDate {...props} _type="month" _label="Month with Date" _min={minDate} _max={maxDate} />
60
+ <SampleBlock id={`${blockIdPrefix}-month-iso`}>
61
+ <KolInputDate {...props} _type="month" _label="Month with Iso" _min={minMonthIso} _max={maxMonthIso} />
62
+ </SampleBlock>
63
+ <SampleBlock id={`${blockIdPrefix}-month-object`}>
64
+ <KolInputDate {...props} _type="month" _label="Month with Date" _min={minDate} _max={maxDate} />
65
+ </SampleBlock>
39
66
  </div>
40
67
  );
41
68
  };
@@ -3,23 +3,21 @@ import React, { forwardRef } from 'react';
3
3
  import { InputDateCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
- import { InputDateMinMaxCases } from './minMax';
7
6
  import { SampleColumns } from '../../SampleColumns';
7
+ import { SampleGroup } from '../../SampleGroup';
8
+ import { InputDateMinMaxCases } from './minMax';
8
9
  export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
9
10
  return (
10
11
  <SampleColumns>
11
- <fieldset>
12
- <legend>Date</legend>
13
- <InputDateCases {...props} />
14
- </fieldset>
15
- <fieldset>
16
- <legend>Date (hideLabel)</legend>
17
- <InputDateCases ref={ref} {...props} _hideLabel />
18
- </fieldset>
19
- <fieldset>
20
- <legend>Date (with min/max)</legend>
21
- <InputDateMinMaxCases {...props} />
22
- </fieldset>
12
+ <SampleGroup heading="Date">
13
+ <InputDateCases blockIdPrefix="label" {...props} />
14
+ </SampleGroup>
15
+ <SampleGroup heading="Date (hideLabel)">
16
+ <InputDateCases blockIdPrefix="hide-label" snapshotOnly="datetime-seconds" ref={ref} {...props} _hideLabel />
17
+ </SampleGroup>
18
+ <SampleGroup heading="Date (with min/max)">
19
+ <InputDateMinMaxCases blockIdPrefix="min-max" {...props} />
20
+ </SampleGroup>
23
21
  </SampleColumns>
24
22
  );
25
23
  });
@@ -1,5 +1,5 @@
1
- import React, { useRef } from 'react';
2
1
  import { KolButton, KolInputDate } from '@public-ui/react-v19';
2
+ import React, { useRef } from 'react';
3
3
  import { SampleDescription } from '../SampleDescription';
4
4
 
5
5
  export const InputDateReset = () => {
@@ -1,12 +1,14 @@
1
- import { Routes } from '../../shares/types';
1
+ import type { Routes } from '../../shares/types';
2
2
  import { InputDateBasic } from './basic';
3
+ import { InputDateCopyPaste } from './copy-paste';
4
+ import { InputDateOnInputOnChange } from './get-value';
3
5
  import { InputDateReset } from './reset';
4
6
  import { InputDateShowHideMsg } from './show-hide-msg';
5
- import { InputDateCopyPaste } from './copy-paste';
6
7
 
7
8
  export const INPUT_DATE_ROUTES: Routes = {
8
9
  'input-date': {
9
10
  basic: InputDateBasic,
11
+ 'get-value': InputDateOnInputOnChange,
10
12
  'copy-paste': InputDateCopyPaste,
11
13
  reset: InputDateReset,
12
14
  'show-hide-msg': InputDateShowHideMsg,
@@ -2,8 +2,8 @@ import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
4
  import { FormWrap } from '../FormWrap';
5
- import { InputEmailVariants } from './partials/variants';
6
5
  import { SampleDescription } from '../SampleDescription';
6
+ import { InputEmailVariants } from './partials/variants';
7
7
 
8
8
  export const InputEmailBasic: FC = () => (
9
9
  <>
@@ -0,0 +1,17 @@
1
+ import { KolInputEmail } from '@public-ui/react-v19';
2
+ import type { FC } from 'react';
3
+ import React from 'react';
4
+ import { SampleBlock } from '../SampleBlock';
5
+ import { SampleDescription } from '../SampleDescription';
6
+
7
+ export const InputEmailCounter: FC = () => (
8
+ <>
9
+ <SampleDescription>
10
+ <p>This story showcases an email input with a counter for the chars in the field. Maximal length is 30.</p>
11
+ </SampleDescription>
12
+
13
+ <SampleBlock id="counter">
14
+ <KolInputEmail _label="E-Mail" _value="anderson@example.com" _hasCounter _maxLength={30} />
15
+ </SampleBlock>
16
+ </>
17
+ );
@@ -0,0 +1,17 @@
1
+ import { KolInputEmail } from '@public-ui/react-v19';
2
+ import type { FC } from 'react';
3
+ import React from 'react';
4
+ import { InputEventValueDemo } from '../InputEventValueDemo';
5
+ import { SampleDescription } from '../SampleDescription';
6
+
7
+ export const InputEmailOnInputOnChange: FC = () => (
8
+ <>
9
+ <SampleDescription>
10
+ <p>
11
+ Shows the callback value from <code>onInput</code> while typing and from <code>onChange</code> after leaving the field.
12
+ </p>
13
+ </SampleDescription>
14
+
15
+ <InputEventValueDemo label="KolInputEmail" renderInput={(handlers) => <KolInputEmail _label="E-Mail" _on={handlers} />} />
16
+ </>
17
+ );
@@ -1,41 +1,81 @@
1
- import React, { forwardRef } from 'react';
2
- import { KolInputEmail } from '@public-ui/react-v19';
3
1
  import type { Components } from '@public-ui/components';
2
+ import { KolInputEmail } from '@public-ui/react-v19';
3
+ import React, { forwardRef } from 'react';
4
4
 
5
5
  import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
+ import { SampleBlock } from '../../SampleBlock';
7
+
8
+ type InputEmailCasesProps = Components.KolInputEmail & {
9
+ /** Prefixes the visual block ids so the same cases can be rendered more than once per route. */
10
+ blockIdPrefix: string;
11
+ /**
12
+ * Restricts the snapshots of this rendering to the case with this id; every other block is
13
+ * rendered with `skipSnapshot`. Used for the `_hideLabel` groups: hiding the label mainly
14
+ * changes how the message is laid out, so snapshotting every case a second time would only
15
+ * duplicate the labelled group.
16
+ */
17
+ snapshotOnly?: string;
18
+ };
6
19
 
7
- export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailCases(props, ref) {
20
+ export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, InputEmailCasesProps>(function InputEmailCases(
21
+ { blockIdPrefix, snapshotOnly, ...props },
22
+ ref,
23
+ ) {
24
+ // Blocks outside `snapshotOnly` stay visible in the sample but are excluded from the snapshots.
25
+ const block = (caseId: string) => ({ id: `${blockIdPrefix}-${caseId}`, skipSnapshot: snapshotOnly !== undefined && caseId !== snapshotOnly });
8
26
  return (
9
27
  <div className="grid gap-4">
10
- <div className="black-background">
28
+ <SampleBlock {...block('black-bg')} className="black-background">
11
29
  <KolInputEmail {...props} _required _value="test@mail.de" _msg={{ _type: 'error', _description: ERROR_MSG }} _label="E-Mail (Black background test)" />
12
- </div>
13
- <KolInputEmail
14
- {...props}
15
- ref={ref}
16
- _accessKey="M"
17
- _placeholder="elke@mustermann.de"
18
- _suggestions="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
19
- _label="E-Mail (list)"
20
- _hint={HINT_MSG}
21
- _msg={{ _type: 'error', _description: ERROR_MSG }}
22
- _touched
23
- _icons={{
24
- left: {
25
- icon: 'codicon codicon-arrow-left',
26
- },
27
- right: {
28
- icon: 'codicon codicon-arrow-right',
29
- },
30
- }}
31
- />
32
- <KolInputEmail {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="E-Mail" />
33
- <KolInputEmail {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="E-Mail" />
34
- <KolInputEmail {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="E-Mail" />
35
- <KolInputEmail {...props} _disabled _value="test@mail.de" _label="E-Mail (Disabled)" />
36
- <KolInputEmail {...props} _readOnly _value="test@mail.de" _label="E-Mail (Readonly)" />
37
- <KolInputEmail {...props} _value="test@mail.de" _label="With access key" _accessKey="c" />
38
- <KolInputEmail {...props} _value="test@mail.de" _label="With short key" _shortKey="s" />
30
+ </SampleBlock>
31
+ <SampleBlock {...block('suggestions')}>
32
+ <KolInputEmail
33
+ {...props}
34
+ ref={ref}
35
+ _accessKey="M"
36
+ _placeholder="elke@mustermann.de"
37
+ _suggestions="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
38
+ _label="E-Mail (list)"
39
+ _hint={HINT_MSG}
40
+ _msg={{ _type: 'error', _description: ERROR_MSG }}
41
+ _touched
42
+ _icons={{
43
+ left: {
44
+ icon: 'kolicon-chevron-left',
45
+ },
46
+ right: {
47
+ icon: 'kolicon-chevron-right',
48
+ },
49
+ }}
50
+ />
51
+ </SampleBlock>
52
+ <SampleBlock {...block('info-popover')}>
53
+ <KolInputEmail {...props} _required _label="E-Mail" _infoPopover={{ _label: 'hint', _content: 'Ich bin ein Hinweis.', _icons: 'kolicon-alert-info' }} />
54
+ </SampleBlock>
55
+ <SampleBlock {...block('msg-info')}>
56
+ <KolInputEmail {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="E-Mail" _touched />
57
+ </SampleBlock>
58
+ <SampleBlock {...block('msg-warning')}>
59
+ <KolInputEmail {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="E-Mail" _touched />
60
+ </SampleBlock>
61
+ <SampleBlock {...block('msg-success')}>
62
+ <KolInputEmail {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="E-Mail" _touched />
63
+ </SampleBlock>
64
+ <SampleBlock {...block('msg-default')}>
65
+ <KolInputEmail {...props} _msg={{ _type: 'default', _description: 'Default message' }} _label="E-Mail" _touched />
66
+ </SampleBlock>
67
+ <SampleBlock {...block('disabled')}>
68
+ <KolInputEmail {...props} _disabled _value="test@mail.de" _label="E-Mail (Disabled)" />
69
+ </SampleBlock>
70
+ <SampleBlock {...block('readonly')}>
71
+ <KolInputEmail {...props} _readOnly _value="test@mail.de" _label="E-Mail (Readonly)" />
72
+ </SampleBlock>
73
+ <SampleBlock {...block('access-key')}>
74
+ <KolInputEmail {...props} _value="test@mail.de" _label="With access key" _accessKey="c" />
75
+ </SampleBlock>
76
+ <SampleBlock {...block('short-key')}>
77
+ <KolInputEmail {...props} _value="test@mail.de" _label="With short key" _shortKey="s" />
78
+ </SampleBlock>
39
79
  </div>
40
80
  );
41
81
  });
@@ -4,17 +4,16 @@ import { InputEmailCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
6
  import { SampleColumns } from '../../SampleColumns';
7
+ import { SampleGroup } from '../../SampleGroup';
7
8
  export const InputEmailVariants = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailVariant(props, ref) {
8
9
  return (
9
10
  <SampleColumns>
10
- <fieldset>
11
- <legend>Email</legend>
12
- <InputEmailCases {...props} />
13
- </fieldset>
14
- <fieldset>
15
- <legend>Email (hideLabel)</legend>
16
- <InputEmailCases ref={ref} {...props} _hideLabel />
17
- </fieldset>
11
+ <SampleGroup heading="Email">
12
+ <InputEmailCases blockIdPrefix="label" {...props} />
13
+ </SampleGroup>
14
+ <SampleGroup heading="Email (hideLabel)">
15
+ <InputEmailCases blockIdPrefix="hide-label" snapshotOnly="suggestions" ref={ref} {...props} _hideLabel />
16
+ </SampleGroup>
18
17
  </SampleColumns>
19
18
  );
20
19
  });