@public-ui/sample-react 4.0.0-alpha.0 → 5.0.0-alpha.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 (664) hide show
  1. package/README.md +20 -1
  2. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js +4 -0
  3. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js.map +1 -0
  4. package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js +4 -0
  5. package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js.map +1 -0
  6. package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js +4 -0
  7. package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js.map +1 -0
  8. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js +4 -0
  9. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js.map +1 -0
  10. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js +4 -0
  11. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js.map +1 -0
  12. package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js +4 -0
  13. package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js.map +1 -0
  14. package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js +4 -0
  15. package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js.map +1 -0
  16. package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js +4 -0
  17. package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js.map +1 -0
  18. package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js +4 -0
  19. package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js.map +1 -0
  20. package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js +4 -0
  21. package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js.map +1 -0
  22. package/dist/assets/README.md +1 -0
  23. package/dist/assets/Span-4JeabU4v-B4Ic693K.js +4 -0
  24. package/dist/assets/Span-4JeabU4v-B4Ic693K.js.map +1 -0
  25. package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js +4 -0
  26. package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js.map +1 -0
  27. package/dist/assets/align-CyK0wp7d-DAXTQf4t.js +4 -0
  28. package/dist/assets/align-CyK0wp7d-DAXTQf4t.js.map +1 -0
  29. package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js +4 -0
  30. package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js.map +1 -0
  31. package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js +4 -0
  32. package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js.map +1 -0
  33. package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js +4 -0
  34. package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js.map +1 -0
  35. package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +4 -0
  36. package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +1 -0
  37. package/dist/assets/codicons/codicon.css +54 -1
  38. package/dist/assets/codicons/codicon.csv +41 -0
  39. package/dist/assets/codicons/codicon.svg +1 -1
  40. package/dist/assets/codicons/codicon.ttf +0 -0
  41. package/dist/assets/color-C3pYZKV3-Boz82QD1.js +4 -0
  42. package/dist/assets/color-C3pYZKV3-Boz82QD1.js.map +1 -0
  43. package/dist/assets/controller-4o5NtKAV-D22HY-_r.js +4 -0
  44. package/dist/assets/controller-4o5NtKAV-D22HY-_r.js.map +1 -0
  45. package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js +4 -0
  46. package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js.map +1 -0
  47. package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js +4 -0
  48. package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js.map +1 -0
  49. package/dist/assets/controller-Dl3IUIE_-BJro71ic.js +4 -0
  50. package/dist/assets/controller-Dl3IUIE_-BJro71ic.js.map +1 -0
  51. package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js +4 -0
  52. package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js.map +1 -0
  53. package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js +4 -0
  54. package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js.map +1 -0
  55. package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js +16 -0
  56. package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js.map +1 -0
  57. package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js +16 -0
  58. package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js.map +1 -0
  59. package/dist/assets/disabled-BydergHu-DG5LdC-Q.js +4 -0
  60. package/dist/assets/disabled-BydergHu-DG5LdC-Q.js.map +1 -0
  61. package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js +4 -0
  62. package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js.map +1 -0
  63. package/dist/assets/hide-label-DRunOux4--dDsrCvo.js +4 -0
  64. package/dist/assets/hide-label-DRunOux4--dDsrCvo.js.map +1 -0
  65. package/dist/assets/href-zZq6HYWf-CJRn7KoA.js +4 -0
  66. package/dist/assets/href-zZq6HYWf-CJRn7KoA.js.map +1 -0
  67. package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js +4 -0
  68. package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js.map +1 -0
  69. package/dist/assets/icons-72ER78AW-DpSGILmm.js +4 -0
  70. package/dist/assets/icons-72ER78AW-DpSGILmm.js.map +1 -0
  71. package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js +4 -0
  72. package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js.map +1 -0
  73. package/dist/assets/index-BGOAkFhh.css +1 -0
  74. package/dist/assets/index-BcWoQyjV.js +14095 -0
  75. package/dist/assets/index-BcWoQyjV.js.map +1 -0
  76. package/dist/assets/isObject-DvSELytj-B0RigBxT.js +4 -0
  77. package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +1 -0
  78. package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +4 -0
  79. package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js.map +1 -0
  80. package/dist/assets/kol-abbr.entry-D1-px79M.js +237 -0
  81. package/dist/assets/kol-abbr.entry-D1-px79M.js.map +1 -0
  82. package/dist/assets/kol-accordion.entry-D5TwzVdy.js +249 -0
  83. package/dist/assets/kol-accordion.entry-D5TwzVdy.js.map +1 -0
  84. package/dist/assets/kol-alert-wc.entry-BRcerKE9.js +4 -0
  85. package/dist/assets/kol-alert-wc.entry-BRcerKE9.js.map +1 -0
  86. package/dist/assets/kol-alert.entry-DjTpHMvm.js +258 -0
  87. package/dist/assets/kol-alert.entry-DjTpHMvm.js.map +1 -0
  88. package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js +4 -0
  89. package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js.map +1 -0
  90. package/dist/assets/kol-avatar.entry-D-Hk8QoG.js +221 -0
  91. package/dist/assets/kol-avatar.entry-D-Hk8QoG.js.map +1 -0
  92. package/dist/assets/kol-badge.entry-BmtWYybc.js +248 -0
  93. package/dist/assets/kol-badge.entry-BmtWYybc.js.map +1 -0
  94. package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js +281 -0
  95. package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js.map +1 -0
  96. package/dist/assets/kol-button-link.entry-C4RHDvXg.js +267 -0
  97. package/dist/assets/kol-button-link.entry-C4RHDvXg.js.map +1 -0
  98. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js +4 -0
  99. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js.map +1 -0
  100. package/dist/assets/kol-button.entry-7-wx39q5.js +258 -0
  101. package/dist/assets/kol-button.entry-7-wx39q5.js.map +1 -0
  102. package/dist/assets/kol-card-wc.entry-PlaKhF5y.js +4 -0
  103. package/dist/assets/kol-card-wc.entry-PlaKhF5y.js.map +1 -0
  104. package/dist/assets/kol-card.entry-CyHtLWIW.js +250 -0
  105. package/dist/assets/kol-card.entry-CyHtLWIW.js.map +1 -0
  106. package/dist/assets/kol-combobox.entry-CpmqxpBN.js +343 -0
  107. package/dist/assets/kol-combobox.entry-CpmqxpBN.js.map +1 -0
  108. package/dist/assets/kol-details.entry-kQzWhN5P.js +260 -0
  109. package/dist/assets/kol-details.entry-kQzWhN5P.js.map +1 -0
  110. package/dist/assets/kol-drawer.entry-DxS7MGCL.js +289 -0
  111. package/dist/assets/kol-drawer.entry-DxS7MGCL.js.map +1 -0
  112. package/dist/assets/kol-form.entry-DFy3LYKz.js +283 -0
  113. package/dist/assets/kol-form.entry-DFy3LYKz.js.map +1 -0
  114. package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js +197 -0
  115. package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js.map +1 -0
  116. package/dist/assets/kol-icon.entry-C4kKMLmM.js +2376 -0
  117. package/dist/assets/kol-icon.entry-C4kKMLmM.js.map +1 -0
  118. package/dist/assets/kol-image.entry-DN85gHIY.js +199 -0
  119. package/dist/assets/kol-image.entry-DN85gHIY.js.map +1 -0
  120. package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js +435 -0
  121. package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js.map +1 -0
  122. package/dist/assets/kol-input-color.entry-CRrCLnIq.js +331 -0
  123. package/dist/assets/kol-input-color.entry-CRrCLnIq.js.map +1 -0
  124. package/dist/assets/kol-input-date.entry-GfOOymhn.js +313 -0
  125. package/dist/assets/kol-input-date.entry-GfOOymhn.js.map +1 -0
  126. package/dist/assets/kol-input-email.entry-PV2-V6ea.js +313 -0
  127. package/dist/assets/kol-input-email.entry-PV2-V6ea.js.map +1 -0
  128. package/dist/assets/kol-input-file.entry-BV9OeZr8.js +345 -0
  129. package/dist/assets/kol-input-file.entry-BV9OeZr8.js.map +1 -0
  130. package/dist/assets/kol-input-number.entry-RTzOX8E_.js +313 -0
  131. package/dist/assets/kol-input-number.entry-RTzOX8E_.js.map +1 -0
  132. package/dist/assets/kol-input-password.entry-P1D_zg4A.js +316 -0
  133. package/dist/assets/kol-input-password.entry-P1D_zg4A.js.map +1 -0
  134. package/dist/assets/kol-input-radio.entry-dTd41HrI.js +434 -0
  135. package/dist/assets/kol-input-radio.entry-dTd41HrI.js.map +1 -0
  136. package/dist/assets/kol-input-range.entry-DcGp-uOd.js +360 -0
  137. package/dist/assets/kol-input-range.entry-DcGp-uOd.js.map +1 -0
  138. package/dist/assets/kol-input-text.entry-TOkH_vFE.js +313 -0
  139. package/dist/assets/kol-input-text.entry-TOkH_vFE.js.map +1 -0
  140. package/dist/assets/kol-kolibri.entry-vnjBHTkR.js +203 -0
  141. package/dist/assets/kol-kolibri.entry-vnjBHTkR.js.map +1 -0
  142. package/dist/assets/kol-link-button.entry-CiZlKz0X.js +258 -0
  143. package/dist/assets/kol-link-button.entry-CiZlKz0X.js.map +1 -0
  144. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js +4 -0
  145. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js.map +1 -0
  146. package/dist/assets/kol-link.entry-CEbyTLtL.js +264 -0
  147. package/dist/assets/kol-link.entry-CEbyTLtL.js.map +1 -0
  148. package/dist/assets/kol-modal.entry-DxkjKvjF.js +265 -0
  149. package/dist/assets/kol-modal.entry-DxkjKvjF.js.map +1 -0
  150. package/dist/assets/kol-nav.entry-ETXrkvXL.js +280 -0
  151. package/dist/assets/kol-nav.entry-ETXrkvXL.js.map +1 -0
  152. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js +4 -0
  153. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js.map +1 -0
  154. package/dist/assets/kol-pagination.entry-CFi2-gxM.js +258 -0
  155. package/dist/assets/kol-pagination.entry-CFi2-gxM.js.map +1 -0
  156. package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js +4 -0
  157. package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js.map +1 -0
  158. package/dist/assets/kol-popover-button.entry-DxNtCQp-.js +266 -0
  159. package/dist/assets/kol-popover-button.entry-DxNtCQp-.js.map +1 -0
  160. package/dist/assets/kol-popover-wc.entry-DifxtFqF.js +4 -0
  161. package/dist/assets/kol-popover-wc.entry-DifxtFqF.js.map +1 -0
  162. package/dist/assets/kol-progress.entry-nca34a3W.js +275 -0
  163. package/dist/assets/kol-progress.entry-nca34a3W.js.map +1 -0
  164. package/dist/assets/kol-quote.entry-YXiTZNnm.js +220 -0
  165. package/dist/assets/kol-quote.entry-YXiTZNnm.js.map +1 -0
  166. package/dist/assets/kol-select.entry-BH_s2GX5.js +326 -0
  167. package/dist/assets/kol-select.entry-BH_s2GX5.js.map +1 -0
  168. package/dist/assets/kol-single-select.entry-DVUfcX_x.js +359 -0
  169. package/dist/assets/kol-single-select.entry-DVUfcX_x.js.map +1 -0
  170. package/dist/assets/kol-skip-nav.entry-CMICgsBM.js +213 -0
  171. package/dist/assets/kol-skip-nav.entry-CMICgsBM.js.map +1 -0
  172. package/dist/assets/kol-spin.entry-BibNCOH_.js +326 -0
  173. package/dist/assets/kol-spin.entry-BibNCOH_.js.map +1 -0
  174. package/dist/assets/kol-split-button.entry-CN1J8gkv.js +299 -0
  175. package/dist/assets/kol-split-button.entry-CN1J8gkv.js.map +1 -0
  176. package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js +4 -0
  177. package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js.map +1 -0
  178. package/dist/assets/kol-table-stateful.entry-DC6QZqed.js +478 -0
  179. package/dist/assets/kol-table-stateful.entry-DC6QZqed.js.map +1 -0
  180. package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js +4 -0
  181. package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js.map +1 -0
  182. package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js +437 -0
  183. package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js.map +1 -0
  184. package/dist/assets/kol-tabs.entry-ugHVPvjR.js +285 -0
  185. package/dist/assets/kol-tabs.entry-ugHVPvjR.js.map +1 -0
  186. package/dist/assets/kol-textarea.entry-BvcXAwnb.js +312 -0
  187. package/dist/assets/kol-textarea.entry-BvcXAwnb.js.map +1 -0
  188. package/dist/assets/kol-toast-container.entry-C3GIT1za.js +267 -0
  189. package/dist/assets/kol-toast-container.entry-C3GIT1za.js.map +1 -0
  190. package/dist/assets/kol-toolbar.entry-2hd718Om.js +271 -0
  191. package/dist/assets/kol-toolbar.entry-2hd718Om.js.map +1 -0
  192. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js +4 -0
  193. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js.map +1 -0
  194. package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js +4 -0
  195. package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js.map +1 -0
  196. package/dist/assets/kol-tree-item.entry-DmWUWFcB.js +230 -0
  197. package/dist/assets/kol-tree-item.entry-DmWUWFcB.js.map +1 -0
  198. package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js +4 -0
  199. package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js.map +1 -0
  200. package/dist/assets/kol-tree.entry-DtuEyjDz.js +203 -0
  201. package/dist/assets/kol-tree.entry-DtuEyjDz.js.map +1 -0
  202. package/dist/assets/kol-version.entry-BAe12zmq.js +192 -0
  203. package/dist/assets/kol-version.entry-BAe12zmq.js.map +1 -0
  204. package/dist/assets/kreon/OFL.txt +93 -93
  205. package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js +4 -0
  206. package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js.map +1 -0
  207. package/dist/assets/link-variant-H9yefO89-BVbfesoN.js +4 -0
  208. package/dist/assets/link-variant-H9yefO89-BVbfesoN.js.map +1 -0
  209. package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js +19 -0
  210. package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js.map +1 -0
  211. package/dist/assets/material-icons/css/_mixins.scss +2 -2
  212. package/dist/assets/material-icons/css/_variables.scss +3 -3
  213. package/dist/assets/material-icons/css/material-icons.scss +16 -22
  214. package/dist/assets/material-icons/iconfont/filled.scss +3 -3
  215. package/dist/assets/material-icons/iconfont/material-icons.scss +5 -5
  216. package/dist/assets/material-icons/iconfont/outlined.scss +3 -3
  217. package/dist/assets/material-icons/iconfont/round.scss +3 -3
  218. package/dist/assets/material-icons/iconfont/sharp.scss +3 -3
  219. package/dist/assets/material-icons/iconfont/two-tone.scss +3 -3
  220. package/dist/assets/material-symbols/index.scss +3 -3
  221. package/dist/assets/material-symbols/outlined.scss +2 -2
  222. package/dist/assets/material-symbols/rounded.scss +2 -2
  223. package/dist/assets/material-symbols/sharp.scss +2 -2
  224. package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js +4 -0
  225. package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js.map +1 -0
  226. package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js +4 -0
  227. package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js.map +1 -0
  228. package/dist/assets/noto-sans/fonts/OFL.txt +93 -93
  229. package/dist/assets/open-D9q98v46-Bj8Lg8iR.js +4 -0
  230. package/dist/assets/open-D9q98v46-Bj8Lg8iR.js.map +1 -0
  231. package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js +4 -0
  232. package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js.map +1 -0
  233. package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js +4 -0
  234. package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js.map +1 -0
  235. package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js +4 -0
  236. package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js.map +1 -0
  237. package/dist/assets/required-G86n77y0-D0bNZ_U9.js +4 -0
  238. package/dist/assets/required-G86n77y0-D0bNZ_U9.js.map +1 -0
  239. package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +4 -0
  240. package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js.map +1 -0
  241. package/dist/assets/roboto/LICENSE.txt +202 -202
  242. package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js +4 -0
  243. package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js.map +1 -0
  244. package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js +4 -0
  245. package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js.map +1 -0
  246. package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js +4 -0
  247. package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js.map +1 -0
  248. package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js +4 -0
  249. package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js.map +1 -0
  250. package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js +4 -0
  251. package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js.map +1 -0
  252. package/dist/assets/test-component.entry-XCdkvKax.js +4 -0
  253. package/dist/assets/test-component.entry-XCdkvKax.js.map +1 -0
  254. package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js +4 -0
  255. package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js.map +1 -0
  256. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +4 -0
  257. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +1 -0
  258. package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +4 -0
  259. package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js.map +1 -0
  260. package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js +4 -0
  261. package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js.map +1 -0
  262. package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js +4 -0
  263. package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js.map +1 -0
  264. package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js +4 -0
  265. package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js.map +1 -0
  266. package/dist/index.html +16 -14
  267. package/index.html +29 -0
  268. package/package.json +54 -48
  269. package/public/assets/README.md +1 -0
  270. package/public/assets/codicons/codicon.css +54 -1
  271. package/public/assets/codicons/codicon.csv +41 -0
  272. package/public/assets/codicons/codicon.svg +1 -1
  273. package/public/assets/codicons/codicon.ttf +0 -0
  274. package/public/assets/kreon/OFL.txt +93 -93
  275. package/public/assets/material-icons/css/_mixins.scss +2 -2
  276. package/public/assets/material-icons/css/_variables.scss +3 -3
  277. package/public/assets/material-icons/css/material-icons.scss +16 -22
  278. package/public/assets/material-icons/iconfont/filled.scss +3 -3
  279. package/public/assets/material-icons/iconfont/material-icons.scss +5 -5
  280. package/public/assets/material-icons/iconfont/outlined.scss +3 -3
  281. package/public/assets/material-icons/iconfont/round.scss +3 -3
  282. package/public/assets/material-icons/iconfont/sharp.scss +3 -3
  283. package/public/assets/material-icons/iconfont/two-tone.scss +3 -3
  284. package/public/assets/material-symbols/index.scss +3 -3
  285. package/public/assets/material-symbols/outlined.scss +2 -2
  286. package/public/assets/material-symbols/rounded.scss +2 -2
  287. package/public/assets/material-symbols/sharp.scss +2 -2
  288. package/public/assets/noto-sans/fonts/OFL.txt +93 -93
  289. package/public/assets/roboto/LICENSE.txt +202 -202
  290. package/src/App.tsx +2 -6
  291. package/src/components/BackPage.tsx +1 -1
  292. package/src/components/FormWrap.tsx +18 -16
  293. package/src/components/Navigation.tsx +1 -1
  294. package/src/components/SampleColumns.tsx +10 -0
  295. package/src/components/SampleDescription.tsx +28 -16
  296. package/src/components/Sidebar.tsx +32 -13
  297. package/src/components/abbr/basic.tsx +2 -2
  298. package/src/components/accordion/basic.tsx +1 -1
  299. package/src/components/accordion/headlines.tsx +1 -1
  300. package/src/components/alert/basic.tsx +5 -5
  301. package/src/components/alert/html.tsx +1 -1
  302. package/src/components/avatar/basic.tsx +1 -1
  303. package/src/components/badge/basic.tsx +2 -2
  304. package/src/components/badge/button.tsx +2 -2
  305. package/src/components/badge/formatted-label.tsx +19 -0
  306. package/src/components/badge/routes.ts +2 -0
  307. package/src/components/breadcrumb/basic.tsx +1 -1
  308. package/src/components/button/access-key.tsx +5 -4
  309. package/src/components/button/aria-description.tsx +1 -1
  310. package/src/components/button/baselined.tsx +2 -2
  311. package/src/components/button/icons.tsx +1 -1
  312. package/src/components/button/partials/cases.tsx +3 -3
  313. package/src/components/button/partials/variants.tsx +1 -1
  314. package/src/components/button/routes.ts +2 -0
  315. package/src/components/button/row-reverse-tooltip.tsx +26 -0
  316. package/src/components/button/short-key.tsx +108 -6
  317. package/src/components/button/width.tsx +1 -1
  318. package/src/components/button-link/aria-description.tsx +1 -1
  319. package/src/components/button-link/basic.tsx +9 -4
  320. package/src/components/button-link/icons.tsx +1 -1
  321. package/src/components/button-link/image.tsx +1 -1
  322. package/src/components/card/basic.tsx +1 -1
  323. package/src/components/combobox/basic.tsx +1 -6
  324. package/src/components/combobox/partials/cases.tsx +1 -1
  325. package/src/components/combobox/partials/variants.tsx +3 -2
  326. package/src/components/details/basic.tsx +1 -1
  327. package/src/components/drawer/basic.tsx +32 -30
  328. package/src/components/drawer/controlled.tsx +2 -13
  329. package/src/components/drawer/partials/align.tsx +1 -1
  330. package/src/components/drawer/routes.ts +2 -0
  331. package/src/components/drawer/scrolled.tsx +133 -0
  332. package/src/components/form/basic.tsx +1 -1
  333. package/src/components/form/error-list.tsx +66 -24
  334. package/src/components/handout/basic.tsx +27 -37
  335. package/src/components/heading/badged.tsx +1 -1
  336. package/src/components/heading/basic.tsx +1 -1
  337. package/src/components/heading/paragraph.tsx +1 -1
  338. package/src/components/heading/routes.ts +2 -0
  339. package/src/components/heading/secondary.tsx +20 -0
  340. package/src/components/icon/basic.tsx +3 -2
  341. package/src/components/image/basic.tsx +2 -2
  342. package/src/components/input-checkbox/basic.tsx +1 -1
  343. package/src/components/input-checkbox/button.tsx +1 -1
  344. package/src/components/input-checkbox/partials/cases.tsx +1 -1
  345. package/src/components/input-checkbox/partials/variants.tsx +5 -4
  346. package/src/components/input-checkbox/switch.tsx +1 -1
  347. package/src/components/input-color/basic.tsx +1 -1
  348. package/src/components/input-color/partials/cases.tsx +5 -3
  349. package/src/components/input-color/partials/variants.tsx +3 -2
  350. package/src/components/input-date/basic.tsx +1 -1
  351. package/src/components/input-date/copy-paste.tsx +172 -0
  352. package/src/components/input-date/partials/cases.tsx +8 -5
  353. package/src/components/input-date/partials/minMax.tsx +4 -4
  354. package/src/components/input-date/partials/variants.tsx +4 -3
  355. package/src/components/input-date/reset.tsx +1 -1
  356. package/src/components/input-date/routes.ts +4 -0
  357. package/src/components/input-date/show-hide-msg.tsx +59 -0
  358. package/src/components/input-email/basic.tsx +1 -1
  359. package/src/components/input-email/partials/cases.tsx +7 -4
  360. package/src/components/input-email/partials/variants.tsx +3 -2
  361. package/src/components/input-file/basic.tsx +1 -1
  362. package/src/components/input-file/partials/cases.tsx +7 -4
  363. package/src/components/input-file/partials/variants.tsx +3 -2
  364. package/src/components/input-number/basic.tsx +1 -1
  365. package/src/components/input-number/partials/cases.tsx +1 -1
  366. package/src/components/input-number/partials/variants.tsx +3 -2
  367. package/src/components/input-password/basic.tsx +1 -1
  368. package/src/components/input-password/partials/cases.tsx +9 -6
  369. package/src/components/input-password/partials/variants.tsx +3 -2
  370. package/src/components/input-password/show-password.tsx +9 -1
  371. package/src/components/input-radio/basic.tsx +1 -1
  372. package/src/components/input-radio/horizontal.tsx +3 -3
  373. package/src/components/input-radio/objectValue.tsx +1 -1
  374. package/src/components/input-radio/partials/cases.tsx +1 -14
  375. package/src/components/input-radio/partials/variants.tsx +11 -8
  376. package/src/components/input-range/basic.tsx +1 -1
  377. package/src/components/input-range/partials/cases.tsx +7 -4
  378. package/src/components/input-range/partials/variants.tsx +3 -2
  379. package/src/components/input-text/basic.tsx +1 -1
  380. package/src/components/input-text/expert-slot.tsx +1 -1
  381. package/src/components/input-text/{hide-errors.tsx → hide-msg.tsx} +6 -6
  382. package/src/components/input-text/partials/cases.tsx +4 -4
  383. package/src/components/input-text/partials/variants.tsx +3 -2
  384. package/src/components/input-text/routes.ts +2 -2
  385. package/src/components/input-text/smart-button.tsx +43 -14
  386. package/src/components/input-text/text-formatter.tsx +3 -4
  387. package/src/components/kolibri/basic.tsx +1 -1
  388. package/src/components/link/access-key.tsx +2 -4
  389. package/src/components/link/aria-description.tsx +1 -1
  390. package/src/components/link/basic.tsx +13 -11
  391. package/src/components/link/icons.tsx +1 -1
  392. package/src/components/link/image.tsx +1 -1
  393. package/src/components/link/link-react-router.tsx +31 -0
  394. package/src/components/link/routes.ts +2 -0
  395. package/src/components/link/short-key.tsx +2 -2
  396. package/src/components/link/target.tsx +1 -1
  397. package/src/components/link-button/aria-description.tsx +2 -2
  398. package/src/components/link-button/basic.tsx +9 -11
  399. package/src/components/modal/basic.tsx +41 -55
  400. package/src/components/nav/aria-current.tsx +1 -1
  401. package/src/components/nav/basic.tsx +20 -4
  402. package/src/components/nav/links.ts +61 -0
  403. package/src/components/nav/routes.ts +0 -2
  404. package/src/components/pagination/basic.tsx +2 -2
  405. package/src/components/popover-button/basic.tsx +62 -0
  406. package/src/components/popover-button/routes.ts +8 -0
  407. package/src/components/progress/basic.tsx +13 -6
  408. package/src/components/quote/basic.tsx +1 -1
  409. package/src/components/quote/block.tsx +1 -1
  410. package/src/components/select/basic.tsx +1 -1
  411. package/src/components/select/partials/cases.tsx +25 -6
  412. package/src/components/select/partials/variants.tsx +3 -2
  413. package/src/components/single-select/basic.tsx +1 -7
  414. package/src/components/single-select/partials/cases.tsx +10 -5
  415. package/src/components/single-select/partials/variants.tsx +8 -7
  416. package/src/components/skip-nav/basic.tsx +1 -1
  417. package/src/components/spin/basic.tsx +1 -1
  418. package/src/components/spin/custom.css +13 -12
  419. package/src/components/spin/custom.tsx +1 -1
  420. package/src/components/spin/cycle.tsx +1 -1
  421. package/src/components/spin/label.tsx +23 -0
  422. package/src/components/spin/routes.ts +2 -0
  423. package/src/components/split-button/basic.tsx +28 -17
  424. package/src/components/split-button/with-context.tsx +2 -2
  425. package/src/components/table/column-alignment.tsx +16 -13
  426. package/src/components/table/complex-headers.tsx +21 -10
  427. package/src/components/table/horizontal-scrollbar.tsx +50 -25
  428. package/src/components/table/interactive-child-elements.tsx +3 -3
  429. package/src/components/table/multi-sort.tsx +6 -4
  430. package/src/components/table/non-hidable-columns.tsx +35 -0
  431. package/src/components/table/pagination-position.tsx +26 -5
  432. package/src/components/table/predefined-settings.tsx +42 -0
  433. package/src/components/table/render-cell.tsx +4 -5
  434. package/src/components/table/routes.ts +17 -9
  435. package/src/components/table/sort-data.tsx +16 -18
  436. package/src/components/table/stateful-with-selection.tsx +10 -6
  437. package/src/components/table/stateful-with-single-selection.tsx +6 -5
  438. package/src/components/table/stateless-with-selection.tsx +11 -7
  439. package/src/components/table/stateless-with-settings-menu.tsx +52 -0
  440. package/src/components/table/stateless-with-single-selection.tsx +9 -6
  441. package/src/components/table/stateless.tsx +3 -2
  442. package/src/components/table/sticky-header.tsx +37 -0
  443. package/src/components/table/test-complex-data.ts +2214 -0
  444. package/src/components/table/with-footer.tsx +4 -3
  445. package/src/components/table/with-pagination.tsx +3 -3
  446. package/src/components/tabs/align.tsx +1 -1
  447. package/src/components/tabs/basic.tsx +1 -1
  448. package/src/components/tabs/behavior.tsx +1 -1
  449. package/src/components/tabs/create-button.tsx +42 -0
  450. package/src/components/tabs/icons-only.tsx +1 -1
  451. package/src/components/tabs/routes.ts +2 -0
  452. package/src/components/textarea/adjust-height.tsx +1 -1
  453. package/src/components/textarea/basic.tsx +1 -1
  454. package/src/components/textarea/partials/cases.tsx +10 -5
  455. package/src/components/textarea/partials/variants.tsx +3 -2
  456. package/src/components/textarea/resize.tsx +7 -6
  457. package/src/components/textarea/routes.ts +2 -2
  458. package/src/components/textarea/rows.tsx +1 -1
  459. package/src/components/textarea/with-counter.tsx +23 -0
  460. package/src/components/toast/basic.tsx +11 -38
  461. package/src/components/toast/configurator.tsx +84 -0
  462. package/src/components/toast/routes.ts +2 -0
  463. package/src/components/toolbar/basic.tsx +40 -40
  464. package/src/components/toolbar/disabled.tsx +2 -5
  465. package/src/components/tree/basic.tsx +3 -3
  466. package/src/components/version/basic.tsx +1 -1
  467. package/src/components/version/context.tsx +1 -1
  468. package/src/main.ts +11 -0
  469. package/src/react.main.tsx +59 -10
  470. package/src/scenarios/appointment-form/AppointmentForm.tsx +1 -1
  471. package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +1 -1
  472. package/src/scenarios/appointment-form/DistrictForm.tsx +2 -2
  473. package/src/scenarios/appointment-form/PersonalInformationForm.tsx +6 -3
  474. package/src/scenarios/appointment-form/Summary.tsx +1 -1
  475. package/src/scenarios/appointment-form/formUtils.ts +1 -1
  476. package/src/scenarios/change-tabindex.tsx +25 -23
  477. package/src/scenarios/custom-tooltip-width.tsx +1 -1
  478. package/src/scenarios/disabled-interactive-elements.tsx +1 -1
  479. package/src/scenarios/focus-elements.tsx +1 -1
  480. package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +10 -4
  481. package/src/scenarios/horizontal-scrollbar-advanced/layout.scss +7 -7
  482. package/src/scenarios/input-group-with-error.tsx +5 -5
  483. package/src/scenarios/inputs-get-value.tsx +11 -6
  484. package/src/scenarios/performance-test.tsx +27 -0
  485. package/src/scenarios/react-hook-form/basic.tsx +183 -0
  486. package/src/scenarios/routes.ts +16 -6
  487. package/src/scenarios/same-height-of-all-interactive-elements.tsx +62 -0
  488. package/src/scenarios/sample-form-with-validation.tsx +192 -0
  489. package/src/scenarios/static-form.tsx +1 -1
  490. package/src/scenarios/toolbar-item-order.tsx +64 -0
  491. package/src/scenarios/tooltip-positioning.tsx +29 -0
  492. package/src/shares/longOptions.ts +15 -0
  493. package/src/shares/routes.ts +3 -7
  494. package/src/shares/store.ts +0 -19
  495. package/src/shares/theme.ts +5 -9
  496. package/src/style.scss +36 -13
  497. package/tsconfig.json +2 -1
  498. package/unocss.config.ts +251 -153
  499. package/vite.config.ts +42 -0
  500. package/.eslintignore +0 -2
  501. package/.eslintrc.js +0 -33
  502. package/.gitignore +0 -41
  503. package/.prettierignore +0 -4
  504. package/dist/1487.js +0 -2
  505. package/dist/1487.js.LICENSE.txt +0 -3
  506. package/dist/1552.js +0 -2
  507. package/dist/1552.js.LICENSE.txt +0 -3
  508. package/dist/1596.js +0 -2
  509. package/dist/1596.js.LICENSE.txt +0 -3
  510. package/dist/1636.js +0 -2
  511. package/dist/1636.js.LICENSE.txt +0 -3
  512. package/dist/1792.js +0 -2
  513. package/dist/1792.js.LICENSE.txt +0 -3
  514. package/dist/2017.js +0 -2
  515. package/dist/2017.js.LICENSE.txt +0 -3
  516. package/dist/2207.js +0 -2
  517. package/dist/2207.js.LICENSE.txt +0 -3
  518. package/dist/2322.js +0 -2
  519. package/dist/2322.js.LICENSE.txt +0 -3
  520. package/dist/2538.js +0 -2
  521. package/dist/2538.js.LICENSE.txt +0 -3
  522. package/dist/2567.js +0 -2
  523. package/dist/2567.js.LICENSE.txt +0 -3
  524. package/dist/263.js +0 -2
  525. package/dist/263.js.LICENSE.txt +0 -3
  526. package/dist/2719.js +0 -2
  527. package/dist/2719.js.LICENSE.txt +0 -3
  528. package/dist/3064.js +0 -2
  529. package/dist/3064.js.LICENSE.txt +0 -3
  530. package/dist/3077.js +0 -2
  531. package/dist/3077.js.LICENSE.txt +0 -3
  532. package/dist/3238.js +0 -2
  533. package/dist/3238.js.LICENSE.txt +0 -3
  534. package/dist/3395.js +0 -2
  535. package/dist/3395.js.LICENSE.txt +0 -3
  536. package/dist/35.js +0 -2
  537. package/dist/35.js.LICENSE.txt +0 -3
  538. package/dist/3521.js +0 -2
  539. package/dist/3521.js.LICENSE.txt +0 -3
  540. package/dist/356.js +0 -2
  541. package/dist/356.js.LICENSE.txt +0 -3
  542. package/dist/3714.js +0 -2
  543. package/dist/3714.js.LICENSE.txt +0 -3
  544. package/dist/3735.js +0 -2
  545. package/dist/3735.js.LICENSE.txt +0 -3
  546. package/dist/3766.js +0 -2
  547. package/dist/3766.js.LICENSE.txt +0 -3
  548. package/dist/380.js +0 -2
  549. package/dist/380.js.LICENSE.txt +0 -3
  550. package/dist/3906.js +0 -2
  551. package/dist/3906.js.LICENSE.txt +0 -3
  552. package/dist/3994.js +0 -2
  553. package/dist/3994.js.LICENSE.txt +0 -3
  554. package/dist/4025.js +0 -2
  555. package/dist/4025.js.LICENSE.txt +0 -3
  556. package/dist/4058.js +0 -2
  557. package/dist/4058.js.LICENSE.txt +0 -3
  558. package/dist/4118.js +0 -2
  559. package/dist/4118.js.LICENSE.txt +0 -3
  560. package/dist/4182.js +0 -2
  561. package/dist/4182.js.LICENSE.txt +0 -3
  562. package/dist/4188.js +0 -2
  563. package/dist/4188.js.LICENSE.txt +0 -3
  564. package/dist/4332.js +0 -2
  565. package/dist/4332.js.LICENSE.txt +0 -3
  566. package/dist/4402.js +0 -2
  567. package/dist/4402.js.LICENSE.txt +0 -3
  568. package/dist/4818.js +0 -2
  569. package/dist/4818.js.LICENSE.txt +0 -3
  570. package/dist/4892.js +0 -2
  571. package/dist/4892.js.LICENSE.txt +0 -3
  572. package/dist/4933.js +0 -2
  573. package/dist/4933.js.LICENSE.txt +0 -3
  574. package/dist/4943.js +0 -2
  575. package/dist/4943.js.LICENSE.txt +0 -3
  576. package/dist/5034.js +0 -2
  577. package/dist/5034.js.LICENSE.txt +0 -3
  578. package/dist/5056.js +0 -2
  579. package/dist/5056.js.LICENSE.txt +0 -3
  580. package/dist/5157.js +0 -2
  581. package/dist/5157.js.LICENSE.txt +0 -3
  582. package/dist/5296.js +0 -2
  583. package/dist/5296.js.LICENSE.txt +0 -3
  584. package/dist/5356.js +0 -2
  585. package/dist/5356.js.LICENSE.txt +0 -3
  586. package/dist/5551.js +0 -2
  587. package/dist/5551.js.LICENSE.txt +0 -3
  588. package/dist/5835.js +0 -2
  589. package/dist/5835.js.LICENSE.txt +0 -3
  590. package/dist/5840.js +0 -2
  591. package/dist/5840.js.LICENSE.txt +0 -3
  592. package/dist/5889.js +0 -2
  593. package/dist/5889.js.LICENSE.txt +0 -3
  594. package/dist/5912.js +0 -2
  595. package/dist/5912.js.LICENSE.txt +0 -3
  596. package/dist/6082.js +0 -2
  597. package/dist/6082.js.LICENSE.txt +0 -3
  598. package/dist/6099.js +0 -2
  599. package/dist/6099.js.LICENSE.txt +0 -3
  600. package/dist/6181.js +0 -2
  601. package/dist/6181.js.LICENSE.txt +0 -3
  602. package/dist/619.js +0 -2
  603. package/dist/619.js.LICENSE.txt +0 -3
  604. package/dist/6671.js +0 -2
  605. package/dist/6671.js.LICENSE.txt +0 -3
  606. package/dist/6775.js +0 -2
  607. package/dist/6775.js.LICENSE.txt +0 -3
  608. package/dist/7274.js +0 -2
  609. package/dist/7274.js.LICENSE.txt +0 -3
  610. package/dist/7795.js +0 -2
  611. package/dist/7795.js.LICENSE.txt +0 -3
  612. package/dist/7802.js +0 -2
  613. package/dist/7802.js.LICENSE.txt +0 -3
  614. package/dist/7860.js +0 -2
  615. package/dist/7860.js.LICENSE.txt +0 -3
  616. package/dist/8092.js +0 -2
  617. package/dist/8092.js.LICENSE.txt +0 -3
  618. package/dist/8111.js +0 -2
  619. package/dist/8111.js.LICENSE.txt +0 -3
  620. package/dist/8146.js +0 -2
  621. package/dist/8146.js.LICENSE.txt +0 -3
  622. package/dist/8427.js +0 -2
  623. package/dist/8427.js.LICENSE.txt +0 -3
  624. package/dist/8495.js +0 -2
  625. package/dist/8495.js.LICENSE.txt +0 -3
  626. package/dist/8672.js +0 -2
  627. package/dist/8672.js.LICENSE.txt +0 -3
  628. package/dist/8737.js +0 -2
  629. package/dist/8737.js.LICENSE.txt +0 -3
  630. package/dist/8786.js +0 -2
  631. package/dist/8786.js.LICENSE.txt +0 -3
  632. package/dist/8796.js +0 -2
  633. package/dist/8796.js.LICENSE.txt +0 -3
  634. package/dist/8977.js +0 -2
  635. package/dist/8977.js.LICENSE.txt +0 -3
  636. package/dist/9333.js +0 -2
  637. package/dist/9333.js.LICENSE.txt +0 -3
  638. package/dist/9389.js +0 -2
  639. package/dist/9389.js.LICENSE.txt +0 -3
  640. package/dist/9561.js +0 -2
  641. package/dist/9561.js.LICENSE.txt +0 -3
  642. package/dist/9599.js +0 -2
  643. package/dist/9599.js.LICENSE.txt +0 -3
  644. package/dist/9612.js +0 -2
  645. package/dist/9612.js.LICENSE.txt +0 -3
  646. package/dist/9890.js +0 -2
  647. package/dist/9890.js.LICENSE.txt +0 -3
  648. package/dist/assets/codicons/codicon.html +0 -3911
  649. package/dist/main.css +0 -4
  650. package/dist/main.js +0 -2
  651. package/dist/main.js.LICENSE.txt +0 -64
  652. package/prettier.config.js +0 -5
  653. package/public/assets/codicons/codicon.html +0 -3911
  654. package/public/index.html +0 -28
  655. package/src/components/button-group/basic.tsx +0 -34
  656. package/src/components/button-group/routes.ts +0 -8
  657. package/src/components/indented-text/basic.tsx +0 -37
  658. package/src/components/indented-text/routes.ts +0 -8
  659. package/src/components/link-group/basic.tsx +0 -23
  660. package/src/components/link-group/horizontal.tsx +0 -23
  661. package/src/components/link-group/routes.ts +0 -10
  662. package/src/components/nav/horizontal.tsx +0 -24
  663. package/src/components/textarea/counter.tsx +0 -20
  664. package/webpack.config.js +0 -19
@@ -1,23 +1,21 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import { KolInputPassword } from '@public-ui/react-v19';
3
+ import type { Components } from '@public-ui/components';
2
4
 
3
- import { KolInputPassword } from '@public-ui/react';
4
-
5
- import { ERROR_MSG } from '../../../shares/constants';
5
+ import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
6
 
7
- import type { Components } from '@public-ui/components';
8
7
  export const InputPasswordCases = forwardRef<HTMLKolInputPasswordElement, Components.KolInputPassword>(function InputPasswordCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
11
10
  <div className="black-background">
12
11
  <KolInputPassword {...props} _label="Passwort (Black background test)" />
13
12
  </div>
14
- <KolInputPassword {...props} _disabled _msg={{ _type: 'error', _description: ERROR_MSG }} _label="Passwort (Disabled)" _touched />
15
- <KolInputPassword {...props} _readOnly _label="Passwort (Readonly)" />
16
13
  <KolInputPassword
17
14
  {...props}
18
15
  ref={ref}
19
16
  _accessKey="P"
20
17
  _required
18
+ _hint={HINT_MSG}
21
19
  _msg={{ _type: 'error', _description: ERROR_MSG }}
22
20
  _placeholder="Mit Icons"
23
21
  _label="Passwort"
@@ -31,6 +29,11 @@ export const InputPasswordCases = forwardRef<HTMLKolInputPasswordElement, Compon
31
29
  }}
32
30
  _touched
33
31
  />
32
+ <KolInputPassword {...props} _placeholder="Placeholder" _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Password" />
33
+ <KolInputPassword {...props} _placeholder="Placeholder" _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Password" />
34
+ <KolInputPassword {...props} _placeholder="Placeholder" _msg={{ _type: 'success', _description: 'Success message' }} _label="Password" />
35
+ <KolInputPassword {...props} _disabled _msg={{ _type: 'error', _description: ERROR_MSG }} _label="Passwort (Disabled)" _touched />
36
+ <KolInputPassword {...props} _readOnly _label="Passwort (Readonly)" />
34
37
  <KolInputPassword {...props} ref={ref} _shortKey="c" _label="With access key" />
35
38
  <KolInputPassword {...props} ref={ref} _shortKey="s" _label="With short key" />
36
39
  </div>
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputPasswordCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputPasswordVariants = forwardRef<HTMLKolInputPasswordElement, Components.KolInputPassword>(function InputPasswordVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Password</legend>
11
12
  <InputPasswordCases {...props} />
@@ -14,6 +15,6 @@ export const InputPasswordVariants = forwardRef<HTMLKolInputPasswordElement, Com
14
15
  <legend>Password (hideLabel)</legend>
15
16
  <InputPasswordCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -1,7 +1,7 @@
1
1
  import type { FC } from 'react';
2
2
  import React, { useRef } from 'react';
3
3
 
4
- import { KolForm, KolInputPassword } from '@public-ui/react';
4
+ import { KolForm, KolInputPassword } from '@public-ui/react-v19';
5
5
  import { SampleDescription } from '../SampleDescription';
6
6
 
7
7
  export const InputPasswordShowPassword: FC = () => {
@@ -18,6 +18,14 @@ export const InputPasswordShowPassword: FC = () => {
18
18
 
19
19
  <KolForm className="w-full">
20
20
  <KolInputPassword _placeholder="With 'Show password' button" _label="Password" ref={passwordRef} className="block" _variant="visibility-toggle" />
21
+ <KolInputPassword
22
+ _placeholder="With 'Show password' button"
23
+ _label="Password"
24
+ ref={passwordRef}
25
+ className="block"
26
+ _variant="visibility-toggle"
27
+ _value="Password"
28
+ />
21
29
  <KolInputPassword
22
30
  _placeholder="With 'Show password' button and disabled"
23
31
  _label="Password"
@@ -11,6 +11,6 @@ export const InputRadioBasic: FC = () => (
11
11
  <p>KolInputRadio renders a set of radio buttons. The sample shows KolInputRadio in a form context with all variations and states.</p>
12
12
  </SampleDescription>
13
13
 
14
- <FormWrap RefComponent={InputRadioVariants} />
14
+ <FormWrap RefComponent={InputRadioVariants} showButtons={false} />
15
15
  </>
16
16
  );
@@ -1,14 +1,14 @@
1
1
  import type { FC } from 'react';
2
2
  import React, { useState } from 'react';
3
3
 
4
- import { KolButton, KolForm, KolInputCheckbox, KolInputRadio } from '@public-ui/react';
4
+ import { KolButton, KolForm, KolInputCheckbox, KolInputRadio } from '@public-ui/react-v19';
5
5
 
6
6
  import { SampleDescription } from '../SampleDescription';
7
7
 
8
- import type { Orientation } from '@public-ui/components';
8
+ import type { OrientationPropType } from '@public-ui/components';
9
9
  export const InputRadioHorizontal: FC = () => {
10
10
  const [show, setShow] = useState(true);
11
- const [orientation, setOrientation] = useState<Orientation>('horizontal');
11
+ const [orientation, setOrientation] = useState<OrientationPropType>('horizontal');
12
12
 
13
13
  const options = [
14
14
  { label: 'Field 1', value: 1 },
@@ -1,7 +1,7 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolForm, KolInputRadio } from '@public-ui/react';
4
+ import { KolForm, KolInputRadio } from '@public-ui/react-v19';
5
5
 
6
6
  import { SampleDescription } from '../SampleDescription';
7
7
 
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
 
3
- import { KolInputRadio } from '@public-ui/react';
3
+ import { KolInputRadio } from '@public-ui/react-v19';
4
4
 
5
5
  import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
6
 
@@ -27,7 +27,6 @@ export const InputRadioCases = forwardRef<HTMLKolInputRadioElement, Components.K
27
27
  <KolInputRadio
28
28
  {...props}
29
29
  ref={ref}
30
- _accessKey="A"
31
30
  _orientation="horizontal"
32
31
  _required
33
32
  _value="Company"
@@ -68,18 +67,6 @@ export const InputRadioCases = forwardRef<HTMLKolInputRadioElement, Components.K
68
67
  _label="Salutation (horizontal with error hint and description)"
69
68
  _hint={HINT_MSG}
70
69
  />
71
- <KolInputRadio
72
- {...props}
73
- _options="[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]"
74
- _label="With access key"
75
- _accessKey="c"
76
- />
77
- <KolInputRadio
78
- {...props}
79
- _options="[{'disabled':true,'label':'Mrs. (disabled)','value':'Mrs.'},{'label':'Mr.'},{'label':'Company','value':'Company'}]"
80
- _label="With short key"
81
- _shortKey="s"
82
- />
83
70
  </div>
84
71
  );
85
72
  });
@@ -3,17 +3,20 @@ import React, { forwardRef } from 'react';
3
3
  import { InputRadioCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
7
+ import { KolHeading } from '@public-ui/react-v19';
8
+
6
9
  export const InputRadioVariants = forwardRef<HTMLKolInputRadioElement, Components.KolInputRadio>(function InputRadioVariant(props, ref) {
7
10
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
- <fieldset>
10
- <legend>Radio</legend>
11
+ <SampleColumns>
12
+ <div className="border border-solid border-dark-100 p-3">
13
+ <KolHeading _level={2} _label="Radio" className="block mb-2" />
11
14
  <InputRadioCases {...props} />
12
- </fieldset>
13
- <fieldset>
14
- <legend>Radio (hideLabel)</legend>
15
+ </div>
16
+ <div className="border border-solid border-dark-100 p-3">
17
+ <KolHeading _level={2} _label="Radio (hideLabel)" className="block mb-2" />
15
18
  <InputRadioCases ref={ref} {...props} _hideLabel />
16
- </fieldset>
17
- </div>
19
+ </div>
20
+ </SampleColumns>
18
21
  );
19
22
  });
@@ -14,6 +14,6 @@ export const InputRangeBasic: FC = () => (
14
14
  </p>
15
15
  </SampleDescription>
16
16
 
17
- <FormWrap RefComponent={InputRangeVariants} />
17
+ <FormWrap RefComponent={InputRangeVariants} showButtons={false} />
18
18
  </>
19
19
  );
@@ -1,10 +1,9 @@
1
1
  import React, { forwardRef } from 'react';
2
+ import { KolInputRange } from '@public-ui/react-v19';
3
+ import type { Components } from '@public-ui/components';
2
4
 
3
- import { KolInputRange } from '@public-ui/react';
4
-
5
- import { ERROR_MSG } from '../../../shares/constants';
5
+ import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
6
 
7
- import type { Components } from '@public-ui/components';
8
7
  export const InputRangeCases = forwardRef<HTMLKolInputRangeElement, Components.KolInputRange>(function InputRangeCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
@@ -33,10 +32,14 @@ export const InputRangeCases = forwardRef<HTMLKolInputRangeElement, Components.K
33
32
  _min={0}
34
33
  _max={50}
35
34
  _step={10}
35
+ _hint={HINT_MSG}
36
36
  _msg={{ _type: 'error', _description: ERROR_MSG }}
37
37
  _label="Slider with error"
38
38
  _touched
39
39
  />
40
+ <KolInputRange {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Slider" />
41
+ <KolInputRange {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Slider" />
42
+ <KolInputRange {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Slider" />
40
43
  <KolInputRange {...props} _disabled _min={0} _max={50} _label="Slider (disabled)" />
41
44
  <KolInputRange {...props} _min={0} _max={50} _label="With access key" _accessKey="c" />
42
45
  <KolInputRange {...props} _min={0} _max={50} _label="With short key" _shortKey="s" />
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputRangeCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputRangeVariants = forwardRef<HTMLKolInputRangeElement, Components.KolInputRange>(function InputRangeVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Range</legend>
11
12
  <InputRangeCases {...props} />
@@ -14,6 +15,6 @@ export const InputRangeVariants = forwardRef<HTMLKolInputRangeElement, Component
14
15
  <legend>Range (hideLabel)</legend>
15
16
  <InputRangeCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -11,6 +11,6 @@ export const InputTextBasic: FC = () => (
11
11
  <p>KolInputText renders a text input field. The sample shows KolInputText in a form context with all variations and states.</p>
12
12
  </SampleDescription>
13
13
 
14
- <FormWrap RefComponent={InputTextVariants} />
14
+ <FormWrap RefComponent={InputTextVariants} showButtons={false} />
15
15
  </>
16
16
  );
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SampleDescription } from '../SampleDescription';
3
- import { KolInputText } from '@public-ui/react';
3
+ import { KolInputText } from '@public-ui/react-v19';
4
4
 
5
5
  export const InputTextExpertSlot = () => {
6
6
  return (
@@ -1,14 +1,14 @@
1
- import { KolAlert, KolCard, KolInputText } from '@public-ui/react';
1
+ import { KolAlert, KolCard, KolInputText } from '@public-ui/react-v19';
2
2
  import type { FC } from 'react';
3
3
  import React from 'react';
4
4
  import { SampleDescription } from '../SampleDescription';
5
5
 
6
- export const InputTextHideErrors: FC = () => (
6
+ export const InputTextHideMsg: FC = () => (
7
7
  <div className="grid gap-4">
8
8
  <SampleDescription>
9
9
  <p>
10
- This sample shows the <code>_hideError</code> feature for KolInputText. It allows to hide the error message from an input field and can be used, when
11
- the error is already shown somewhere else, e.g. for a group of inputs.
10
+ This sample shows the <code>_hideMsg</code> feature for KolInputText. It allows to hide the message from an input field and can be used, when the
11
+ message (e.g. error) is already shown somewhere else, e.g. for a group of inputs.
12
12
  </p>
13
13
  </SampleDescription>
14
14
 
@@ -21,8 +21,8 @@ export const InputTextHideErrors: FC = () => (
21
21
  <KolAlert className="col-span-2" _level={0} _type="error">
22
22
  This is a combined error message
23
23
  </KolAlert>
24
- <KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideError _label="First input" _touched />
25
- <KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideError _label="Second input with error" _touched />
24
+ <KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="First input" _touched />
25
+ <KolInputText _msg={{ _type: 'error', _description: 'This is a combined error message' }} _hideMsg _label="Second input with error" _touched />
26
26
  </fieldset>
27
27
  </KolCard>
28
28
  </div>
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
 
3
- import { KolInputText } from '@public-ui/react';
3
+ import { KolInputText } from '@public-ui/react-v19';
4
4
 
5
5
  import { ERROR_MSG, HINT_MSG } from '../../../shares/constants';
6
6
 
@@ -14,13 +14,14 @@ export const InputTextCases = forwardRef<HTMLKolInputTextElement, Components.Kol
14
14
  <KolInputText
15
15
  {...props}
16
16
  _hint={HINT_MSG}
17
- _msg={{ _type: 'error', _description: ERROR_MSG, _label: 'test headline' }}
17
+ _msg={{ _type: 'error', _description: ERROR_MSG }}
18
18
  _placeholder="With icons"
19
19
  _icons={{
20
20
  right: {
21
21
  icon: 'codicon codicon-arrow-right',
22
22
  style: {
23
23
  'font-size': '200%',
24
+ 'margin-right': 'calc(-8rem / var(--kolibri-root-font-size, 16))',
24
25
  },
25
26
  },
26
27
  }}
@@ -41,14 +42,13 @@ export const InputTextCases = forwardRef<HTMLKolInputTextElement, Components.Kol
41
42
  <KolInputText {...props} _placeholder="Placeholder" _msg={{ _type: 'error', _description: ERROR_MSG }} _touched _type="url" _label="URL (url)" />
42
43
  <KolInputText {...props} _placeholder="Placeholder" _type="tel" _label="Telephone (tel)" _msg={{ _type: 'warning', _description: 'Small warning' }} />
43
44
  <KolInputText {...props} _placeholder="Placeholder" _type="tel" _label="Telephone (tel)" _msg={{ _type: 'success', _description: 'Success message' }} />
44
- <KolInputText {...props} _placeholder="Placeholder" _label="With counter" _hasCounter _maxLength={10} _value="Lorem Ipsum" />
45
+ <KolInputText {...props} _placeholder="Placeholder" _label="With counter" _maxLength={10} _value="Lorem Ipsum" />
45
46
  <KolInputText {...props} _placeholder="Placeholder" _readOnly _label="First name (text, readonly)" />
46
47
  <KolInputText {...props} _value="Value" _readOnly _label="First name (text, readonly)" />
47
48
  <KolInputText {...props} _placeholder="Placeholder" _disabled _label="First name (text, disabled)" />
48
49
  <KolInputText {...props} _value="Value" _disabled _label="First name (text, disabled)" />
49
50
  <KolInputText {...props} _value="Value" _label="With access key" _accessKey="c" />
50
51
  <KolInputText {...props} _value="Value" _label="With short key" _shortKey="s" />
51
- <KolInputText {...props} _value="Value" _label="With both key" _shortKey="d" _accessKey="e" />
52
52
  </div>
53
53
  );
54
54
  });
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputTextCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputTextVariants = forwardRef<HTMLKolInputTextElement, Components.KolInputText>(function InputTextVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Text</legend>
11
12
  <InputTextCases {...props} />
@@ -14,6 +15,6 @@ export const InputTextVariants = forwardRef<HTMLKolInputTextElement, Components.
14
15
  <legend>Text (hideLabel)</legend>
15
16
  <InputTextCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -1,6 +1,6 @@
1
1
  import { Routes } from '../../shares/types';
2
2
  import { InputTextBasic } from './basic';
3
- import { InputTextHideErrors } from './hide-errors';
3
+ import { InputTextHideMsg } from './hide-msg';
4
4
  import { InputTextFormatterDemo } from './text-formatter';
5
5
  import { InputTextSmartButton } from './smart-button';
6
6
  import { InputTextExpertSlot } from './expert-slot';
@@ -8,7 +8,7 @@ import { InputTextExpertSlot } from './expert-slot';
8
8
  export const INPUT_TEXT_ROUTES: Routes = {
9
9
  'input-text': {
10
10
  basic: InputTextBasic,
11
- 'hide-errors': InputTextHideErrors,
11
+ 'hide-msg': InputTextHideMsg,
12
12
  'text-formatter': InputTextFormatterDemo,
13
13
  'smart-button': InputTextSmartButton,
14
14
  'expert-slot': InputTextExpertSlot,
@@ -1,23 +1,32 @@
1
1
  import * as React from 'react';
2
2
  import { SampleDescription } from '../SampleDescription';
3
3
  import { ToasterService } from '@public-ui/components';
4
- import { KolInputText } from '@public-ui/react';
4
+ import { KolInputText } from '@public-ui/react-v19';
5
+
6
+ const smartButtonProps = {
7
+ _icons: 'codicon codicon-info',
8
+ _hideLabel: true,
9
+ };
10
+
11
+ const icons = {
12
+ left: {
13
+ icon: 'codicon codicon-arrow-left',
14
+ },
15
+ right: {
16
+ icon: 'codicon codicon-arrow-right',
17
+ },
18
+ };
5
19
 
6
20
  export const InputTextSmartButton = () => {
7
21
  const toaster = ToasterService.getInstance(document);
8
22
 
9
- const smartButton = {
10
- _icons: 'codicon codicon-info',
11
- _hideLabel: true,
12
- _label: 'Alert',
13
- _on: {
14
- onClick: () => {
15
- void toaster.enqueue({
16
- description: 'Smart-Button clicked',
17
- label: `Toaster`,
18
- type: 'default',
19
- });
20
- },
23
+ const handleClick = {
24
+ onClick: () => {
25
+ void toaster.enqueue({
26
+ description: 'Smart-Button clicked',
27
+ label: `Toaster`,
28
+ type: 'default',
29
+ });
21
30
  },
22
31
  };
23
32
 
@@ -27,7 +36,27 @@ export const InputTextSmartButton = () => {
27
36
  <p>This sample shows the smart button feature for KolInputText. It allows the usage of a button inside the bnput.</p>
28
37
  </SampleDescription>
29
38
 
30
- <KolInputText _label="With Smart Button" _type="text" _smartButton={smartButton}></KolInputText>
39
+ <div className="grid gap-4">
40
+ <KolInputText
41
+ _label="Input with button and icons"
42
+ _type="text"
43
+ _smartButton={{
44
+ ...smartButtonProps,
45
+ _label: 'Open Toast',
46
+ _on: handleClick,
47
+ }}
48
+ _icons={icons}
49
+ ></KolInputText>
50
+ <KolInputText
51
+ _label="Disabled input with button and without icons"
52
+ _disabled
53
+ _type="text"
54
+ _smartButton={{
55
+ ...smartButtonProps,
56
+ _label: 'Disabled Button',
57
+ }}
58
+ ></KolInputText>
59
+ </div>
31
60
  </>
32
61
  );
33
62
  };
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Formik, Field, type FieldProps } from 'formik';
3
- import { KolForm, KolHeading, KolInputText } from '@public-ui/react';
3
+ import { KolForm, KolHeading, KolInputText } from '@public-ui/react-v19';
4
4
  import { SampleDescription } from '../SampleDescription';
5
5
 
6
6
  import { NumericFormat, type NumberFormatValues } from 'react-number-format';
@@ -111,12 +111,11 @@ export function InputTextFormatterDemo() {
111
111
  {({ field }: FieldProps<CurrencyExampleFormValues['currency']>) => (
112
112
  <div className="block mt-2">
113
113
  <NumericFormat
114
- customInput={({ type, value, onBlur, onChange, onFocus, ...other }: any) => {
115
- console.log('OTHER: ', other);
114
+ customInput={({ type, value, onBlur, onChange, onFocus }: any) => {
116
115
  return <KolInputText _label="Currency" _type={type} _value={value} _on={{ onBlur, onChange, onFocus }} />;
117
116
  }}
118
117
  displayType="input"
119
- value={typeof field.value === 'number' ? Number(field.value).toFixed(2) : undefined}
118
+ value={typeof field.value === 'number' ? field.value.toFixed(2) : undefined}
120
119
  onBlur={() => {
121
120
  void form.setFieldTouched('currency', true);
122
121
  }}
@@ -1,7 +1,7 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolHeading, KolKolibri } from '@public-ui/react';
4
+ import { KolHeading, KolKolibri } from '@public-ui/react-v19';
5
5
 
6
6
  import { SampleDescription } from '../SampleDescription';
7
7
 
@@ -1,15 +1,13 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolLink } from '@public-ui/react';
4
+ import { KolLink } from '@public-ui/react-v19';
5
5
  import { SampleDescription } from '../SampleDescription';
6
6
 
7
7
  export const LinkAccessKey: FC = () => (
8
8
  <>
9
9
  <SampleDescription>
10
- <p>
11
- <p>This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.</p>
12
- </p>
10
+ <p>This sample shows KolLink with access key. The access keys can be used to trigger the buttons using the keyboard.</p>
13
11
  </SampleDescription>
14
12
 
15
13
  <div className="grid gap-4">
@@ -1,4 +1,4 @@
1
- import { KolLink } from '@public-ui/react';
1
+ import { KolLink } from '@public-ui/react-v19';
2
2
  import React from 'react';
3
3
  import type { FC } from 'react';
4
4
  import { SampleDescription } from '../SampleDescription';
@@ -1,7 +1,7 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolLink } from '@public-ui/react';
4
+ import { KolLink, KolHeading } from '@public-ui/react-v19';
5
5
  import { SampleDescription } from '../SampleDescription';
6
6
 
7
7
  export const LinkBasic: FC = () => (
@@ -13,23 +13,25 @@ export const LinkBasic: FC = () => (
13
13
  </SampleDescription>
14
14
 
15
15
  <div className="grid gap-4">
16
- <KolLink _href="#/back-page" _label="Simple Link" />
17
- <KolLink _disabled _href="#/back-page" _label="Simple Link (deaktiviert)" />
18
- <KolLink _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link" />
19
- <KolLink _disabled _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link (deaktiviert)" />
16
+ <KolHeading _level={2} _label="Links with variant 'standalone'" />
17
+ <KolLink _href="#/back-page" _label="Simple Link" _variant="standalone" />
18
+ <KolLink _disabled _href="#/back-page" _label="Simple Link (deaktiviert)" _variant="standalone" />
19
+ <KolLink _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link" _variant="standalone" />
20
+ <KolLink _disabled _hideLabel _icons="codicon codicon-home" _href="#/back-page" _label="Icon Link (deaktiviert)" _variant="standalone" />
21
+
22
+ <KolHeading _level={2} _label="Links with variant 'inline'" />
20
23
  <p>
21
- In this paragraph, a link is inserted that contains no additional attributes.
22
- <KolLink _href="#/back-page" _label="Simple Link" />
23
- It is rendered by default as a <strong>inline element</strong>.
24
+ In this paragraph, a link is inserted that contains no additional attributes. <KolLink _href="#/back-page" _label="Simple Link" /> It is rendered by
25
+ default as a <strong>inline element</strong>.
24
26
  </p>
25
27
  <p>
26
- In this paragraph, a link is inserted that is rendered as an inline-block element.
28
+ In this paragraph, a link is inserted that is rendered as an inline-block element.{' '}
27
29
  <KolLink class="d-inline-block" _accessKey="S" _href="#/back-page" _label="Simple Link" />. This allows you to assign width, height, and other
28
30
  properties to it using CSS styles.
29
31
  <br />
30
32
  <br />
31
- After that, there is a link that is rendered as a block element.
32
- <KolLink class="d-block" _href="#/back-page" _label="Simple Link" />, therefore, I span the entire width of the parent element, causing a line break.
33
+ After that, there is a link that is rendered as a block element. <KolLink class="d-block" _href="#/back-page" _label="Simple Link" />, therefore, I span
34
+ the entire width of the parent element, causing a line break.
33
35
  </p>
34
36
  </div>
35
37
  </>
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- import { KolLink } from '@public-ui/react';
3
+ import { KolLink } from '@public-ui/react-v19';
4
4
 
5
5
  import type { FC } from 'react';
6
6
  import { SampleDescription } from '../SampleDescription';
@@ -1,7 +1,7 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolLink } from '@public-ui/react';
4
+ import { KolLink } from '@public-ui/react-v19';
5
5
  import { SampleDescription } from '../SampleDescription';
6
6
 
7
7
  export const LinkImage: FC = () => (
@@ -0,0 +1,31 @@
1
+ import type { FC } from 'react';
2
+ import React from 'react';
3
+ import { useNavigate } from 'react-router-dom';
4
+ import { KolLink } from '@public-ui/react-v19';
5
+ import { SampleDescription } from '../SampleDescription';
6
+
7
+ export const LinkReactRouter: FC = () => {
8
+ const navigate = useNavigate();
9
+
10
+ const on = {
11
+ onClick: (event: Event) => {
12
+ event.preventDefault();
13
+ navigate('/back-page');
14
+ },
15
+ };
16
+
17
+ return (
18
+ <>
19
+ <SampleDescription>
20
+ <p>
21
+ This sample shows how KolLink works with react-router. Primary click uses preventDefault() and navigate(...), while right click open in new tab still
22
+ follows _href. Make sure _href and navigate(...) point to the same path.
23
+ </p>
24
+ </SampleDescription>
25
+
26
+ <div className="grid gap-4">
27
+ <KolLink _href="/back-page" _label="Go to overview" _variant="standalone" _on={on} />
28
+ </div>
29
+ </>
30
+ );
31
+ };
@@ -6,6 +6,7 @@ import { LinkTarget } from './target';
6
6
  import { LinkAriaDescription } from './aria-description';
7
7
  import { LinkAccessKey } from './access-key';
8
8
  import { LinkShortKey } from './short-key';
9
+ import { LinkReactRouter } from './link-react-router';
9
10
 
10
11
  export const LINK_ROUTES: Routes = {
11
12
  link: {
@@ -16,5 +17,6 @@ export const LINK_ROUTES: Routes = {
16
17
  'aria-description': LinkAriaDescription,
17
18
  'access-key': LinkAccessKey,
18
19
  'short-key': LinkShortKey,
20
+ 'react-router': LinkReactRouter,
19
21
  },
20
22
  };
@@ -1,14 +1,14 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
3
 
4
- import { KolLink } from '@public-ui/react';
4
+ import { KolLink } from '@public-ui/react-v19';
5
5
  import { SampleDescription } from '../SampleDescription';
6
6
 
7
7
  export const LinkShortKey: FC = () => (
8
8
  <>
9
9
  <SampleDescription>
10
10
  <p>
11
- This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.{' '}
11
+ This sample shows KolButton with short key without functionality. The short key is purely visual. Its functionality needs to be developed separately.
12
12
  </p>
13
13
  </SampleDescription>
14
14