@public-ui/sample-react 3.0.0-rc.0 → 3.0.0-rc.10

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 (587) hide show
  1. package/README.md +8 -0
  2. package/dist/1006.js +2 -0
  3. package/dist/1114.js +2 -0
  4. package/dist/1752.js +2 -0
  5. package/dist/1932.js +2 -0
  6. package/dist/2069.js +2 -0
  7. package/dist/2212.js +2 -0
  8. package/dist/2231.js +2 -0
  9. package/dist/2321.js +2 -0
  10. package/dist/2596.js +2 -0
  11. package/dist/2827.js +2 -0
  12. package/dist/2894.js +2 -0
  13. package/dist/3099.js +2 -0
  14. package/dist/3151.js +2 -0
  15. package/dist/3203.js +2 -0
  16. package/dist/3540.js +2 -0
  17. package/dist/373.js +2 -0
  18. package/dist/3918.js +2 -0
  19. package/dist/3920.js +2 -0
  20. package/dist/4030.js +2 -0
  21. package/dist/4048.js +2 -0
  22. package/dist/4201.js +2 -0
  23. package/dist/4260.js +2 -0
  24. package/dist/4361.js +2 -0
  25. package/dist/4587.js +2 -0
  26. package/dist/4611.js +2 -0
  27. package/dist/4641.js +2 -0
  28. package/dist/4876.js +2 -0
  29. package/dist/5143.js +2 -0
  30. package/dist/5249.js +2 -0
  31. package/dist/5301.js +1 -1
  32. package/dist/5690.js +2 -0
  33. package/dist/5746.js +2 -0
  34. package/dist/6047.js +2 -0
  35. package/dist/6066.js +2 -0
  36. package/dist/6256.js +2 -0
  37. package/dist/6304.js +2 -0
  38. package/dist/6781.js +2 -0
  39. package/dist/6790.js +2 -0
  40. package/dist/6984.js +2 -0
  41. package/dist/7013.js +2 -0
  42. package/dist/7178.js +2 -0
  43. package/dist/7347.js +2 -0
  44. package/dist/740.js +2 -0
  45. package/dist/7444.js +2 -0
  46. package/dist/7533.js +2 -0
  47. package/dist/7535.js +2 -0
  48. package/dist/775.js +2 -0
  49. package/dist/8137.js +2 -0
  50. package/dist/8180.js +2 -0
  51. package/dist/8192.js +2 -0
  52. package/dist/8246.js +1 -0
  53. package/dist/833.js +2 -0
  54. package/dist/8378.js +2 -0
  55. package/dist/8605.js +2 -0
  56. package/dist/8625.js +2 -0
  57. package/dist/8840.js +2 -0
  58. package/dist/907.js +2 -0
  59. package/dist/9108.js +2 -0
  60. package/dist/9255.js +2 -0
  61. package/dist/9322.js +2 -0
  62. package/dist/9581.js +2 -0
  63. package/dist/9719.js +2 -0
  64. package/dist/9731.js +2 -0
  65. package/dist/9907.js +2 -0
  66. package/dist/9930.js +2 -0
  67. package/dist/9938.js +2 -0
  68. package/dist/index.html +1 -0
  69. package/dist/main.css +3 -3
  70. package/dist/main.js +1 -1
  71. package/dist/main.js.LICENSE.txt +2 -2
  72. package/package.json +33 -25
  73. package/public/index.html +1 -0
  74. package/src/App.tsx +1 -3
  75. package/src/components/SampleColumns.tsx +10 -0
  76. package/src/components/SampleDescription.tsx +27 -15
  77. package/src/components/Sidebar.tsx +29 -10
  78. package/src/components/badge/basic.tsx +1 -1
  79. package/src/components/badge/button.tsx +1 -1
  80. package/src/components/button/baselined.tsx +1 -1
  81. package/src/components/button/partials/cases.tsx +2 -2
  82. package/src/components/button/short-key.tsx +104 -3
  83. package/src/components/combobox/partials/variants.tsx +3 -2
  84. package/src/components/drawer/basic.tsx +9 -25
  85. package/src/components/drawer/controlled.tsx +0 -8
  86. package/src/components/form/error-list.tsx +66 -24
  87. package/src/components/handout/basic.tsx +25 -30
  88. package/src/components/icon/basic.tsx +2 -1
  89. package/src/components/image/basic.tsx +1 -1
  90. package/src/components/input-checkbox/partials/variants.tsx +5 -4
  91. package/src/components/input-color/partials/cases.tsx +4 -2
  92. package/src/components/input-color/partials/variants.tsx +3 -2
  93. package/src/components/input-date/partials/cases.tsx +7 -4
  94. package/src/components/input-date/partials/minMax.tsx +3 -3
  95. package/src/components/input-date/partials/variants.tsx +4 -3
  96. package/src/components/input-date/show-hide-msg.tsx +1 -2
  97. package/src/components/input-email/partials/cases.tsx +6 -3
  98. package/src/components/input-email/partials/variants.tsx +3 -2
  99. package/src/components/input-file/partials/cases.tsx +6 -3
  100. package/src/components/input-file/partials/variants.tsx +3 -2
  101. package/src/components/input-number/partials/variants.tsx +3 -2
  102. package/src/components/input-password/partials/cases.tsx +8 -5
  103. package/src/components/input-password/partials/variants.tsx +3 -2
  104. package/src/components/input-radio/partials/variants.tsx +11 -8
  105. package/src/components/input-range/partials/cases.tsx +6 -3
  106. package/src/components/input-range/partials/variants.tsx +3 -2
  107. package/src/components/input-text/{hide-errors.tsx → hide-msg.tsx} +5 -5
  108. package/src/components/input-text/partials/cases.tsx +1 -1
  109. package/src/components/input-text/partials/variants.tsx +3 -2
  110. package/src/components/input-text/routes.ts +2 -2
  111. package/src/components/input-text/smart-button.tsx +14 -1
  112. package/src/components/input-text/text-formatter.tsx +1 -2
  113. package/src/components/link/access-key.tsx +1 -3
  114. package/src/components/link/short-key.tsx +1 -1
  115. package/src/components/link-button/aria-description.tsx +1 -1
  116. package/src/components/link-button/basic.tsx +8 -10
  117. package/src/components/modal/basic.tsx +28 -12
  118. package/src/components/nav/basic.tsx +8 -2
  119. package/src/components/nav/horizontal.tsx +2 -2
  120. package/src/components/pagination/basic.tsx +1 -1
  121. package/src/components/popover-button/basic.tsx +55 -0
  122. package/src/components/popover-button/routes.ts +8 -0
  123. package/src/components/progress/basic.tsx +12 -5
  124. package/src/components/select/partials/cases.tsx +22 -4
  125. package/src/components/select/partials/variants.tsx +3 -2
  126. package/src/components/single-select/partials/cases.tsx +8 -4
  127. package/src/components/single-select/partials/variants.tsx +8 -7
  128. package/src/components/split-button/basic.tsx +2 -2
  129. package/src/components/table/column-alignment.tsx +16 -12
  130. package/src/components/table/complex-headers.tsx +4 -3
  131. package/src/components/table/horizontal-scrollbar.tsx +12 -6
  132. package/src/components/table/interactive-child-elements.tsx +2 -0
  133. package/src/components/table/multi-sort.tsx +6 -4
  134. package/src/components/table/pagination-position.tsx +26 -5
  135. package/src/components/table/predefined-settings.tsx +41 -0
  136. package/src/components/table/render-cell.tsx +5 -5
  137. package/src/components/table/routes.ts +6 -4
  138. package/src/components/table/sort-data.tsx +16 -18
  139. package/src/components/table/stateful-with-selection.tsx +10 -6
  140. package/src/components/table/stateful-with-single-selection.tsx +6 -5
  141. package/src/components/table/stateless-with-selection.tsx +11 -7
  142. package/src/components/table/stateless-with-single-selection.tsx +9 -6
  143. package/src/components/table/stateless.tsx +1 -0
  144. package/src/components/table/with-footer.tsx +4 -3
  145. package/src/components/table/with-pagination.tsx +3 -3
  146. package/src/components/textarea/partials/cases.tsx +9 -4
  147. package/src/components/textarea/partials/variants.tsx +3 -2
  148. package/src/components/tree/basic.tsx +2 -1
  149. package/src/react.main.tsx +4 -9
  150. package/src/scenarios/appointment-form/PersonalInformationForm.tsx +4 -1
  151. package/src/scenarios/change-tabindex.tsx +24 -22
  152. package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +2 -2
  153. package/src/scenarios/horizontal-scrollbar-advanced/layout.scss +4 -4
  154. package/src/scenarios/input-group-with-error.tsx +4 -4
  155. package/src/scenarios/routes.ts +2 -0
  156. package/src/scenarios/same-height-of-all-interactive-elements.tsx +62 -0
  157. package/src/shares/longOptions.ts +15 -0
  158. package/src/shares/routes.ts +3 -7
  159. package/src/shares/theme.ts +4 -8
  160. package/src/style.scss +21 -6
  161. package/unocss.config.ts +67 -68
  162. package/webpack.config.js +13 -2
  163. package/dist/1073.js +0 -2
  164. package/dist/1325.js +0 -2
  165. package/dist/1392.js +0 -2
  166. package/dist/1604.js +0 -2
  167. package/dist/175.js +0 -2
  168. package/dist/178.js +0 -2
  169. package/dist/1791.js +0 -2
  170. package/dist/2220.js +0 -2
  171. package/dist/2444.js +0 -2
  172. package/dist/2450.js +0 -2
  173. package/dist/2794.js +0 -2
  174. package/dist/2986.js +0 -2
  175. package/dist/3030.js +0 -2
  176. package/dist/3270.js +0 -2
  177. package/dist/3340.js +0 -2
  178. package/dist/3392.js +0 -2
  179. package/dist/3529.js +0 -2
  180. package/dist/3756.js +0 -2
  181. package/dist/3960.js +0 -2
  182. package/dist/399.js +0 -2
  183. package/dist/4145.js +0 -2
  184. package/dist/4539.js +0 -2
  185. package/dist/4563.js +0 -2
  186. package/dist/4571.js +0 -2
  187. package/dist/5260.js +0 -2
  188. package/dist/5333.js +0 -2
  189. package/dist/5523.js +0 -2
  190. package/dist/5551.js +0 -2
  191. package/dist/5575.js +0 -2
  192. package/dist/5665.js +0 -2
  193. package/dist/572.js +0 -2
  194. package/dist/5873.js +0 -2
  195. package/dist/5879.js +0 -2
  196. package/dist/5964.js +0 -2
  197. package/dist/618.js +0 -2
  198. package/dist/623.js +0 -2
  199. package/dist/643.js +0 -2
  200. package/dist/6610.js +0 -2
  201. package/dist/6618.js +0 -2
  202. package/dist/6711.js +0 -2
  203. package/dist/6740.js +0 -2
  204. package/dist/6786.js +0 -2
  205. package/dist/685.js +0 -2
  206. package/dist/6950.js +0 -2
  207. package/dist/7055.js +0 -2
  208. package/dist/7106.js +0 -2
  209. package/dist/7141.js +0 -2
  210. package/dist/7146.js +0 -2
  211. package/dist/7287.js +0 -2
  212. package/dist/7473.js +0 -2
  213. package/dist/7599.js +0 -2
  214. package/dist/7648.js +0 -2
  215. package/dist/7668.js +0 -2
  216. package/dist/7855.js +0 -2
  217. package/dist/7965.js +0 -2
  218. package/dist/8165.js +0 -2
  219. package/dist/8177.js +0 -2
  220. package/dist/8306.js +0 -2
  221. package/dist/8543.js +0 -2
  222. package/dist/866.js +0 -2
  223. package/dist/8859.js +0 -2
  224. package/dist/904.js +0 -2
  225. package/dist/9148.js +0 -2
  226. package/dist/9522.js +0 -2
  227. package/dist/9625.js +0 -2
  228. package/dist/9625.js.LICENSE.txt +0 -3
  229. package/dist/971.js +0 -2
  230. package/dist/971.js.LICENSE.txt +0 -3
  231. package/dist/9712.js +0 -2
  232. package/dist/9712.js.LICENSE.txt +0 -3
  233. package/dist/976.js +0 -2
  234. package/dist/976.js.LICENSE.txt +0 -3
  235. package/dist/982.js +0 -2
  236. package/dist/982.js.LICENSE.txt +0 -3
  237. package/dist/986.js +0 -2
  238. package/dist/986.js.LICENSE.txt +0 -3
  239. package/dist/assets/README.md +0 -1
  240. package/dist/assets/fontawesome-free/LICENSE.txt +0 -165
  241. package/dist/assets/fontawesome-free/css/all.css +0 -7831
  242. package/dist/assets/fontawesome-free/css/all.min.css +0 -6
  243. package/dist/assets/fontawesome-free/css/brands.css +0 -1432
  244. package/dist/assets/fontawesome-free/css/brands.min.css +0 -6
  245. package/dist/assets/fontawesome-free/css/fontawesome.css +0 -6338
  246. package/dist/assets/fontawesome-free/css/fontawesome.min.css +0 -6
  247. package/dist/assets/fontawesome-free/css/regular.css +0 -19
  248. package/dist/assets/fontawesome-free/css/regular.min.css +0 -6
  249. package/dist/assets/fontawesome-free/css/solid.css +0 -19
  250. package/dist/assets/fontawesome-free/css/solid.min.css +0 -6
  251. package/dist/assets/fontawesome-free/css/svg-with-js.css +0 -634
  252. package/dist/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
  253. package/dist/assets/fontawesome-free/css/v4-font-face.css +0 -26
  254. package/dist/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
  255. package/dist/assets/fontawesome-free/css/v4-shims.css +0 -2146
  256. package/dist/assets/fontawesome-free/css/v4-shims.min.css +0 -6
  257. package/dist/assets/fontawesome-free/css/v5-font-face.css +0 -22
  258. package/dist/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
  259. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
  260. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
  261. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
  262. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
  263. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
  264. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
  265. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
  266. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
  267. package/dist/assets/icofont/demo.html +0 -18939
  268. package/dist/assets/icofont/fonts/icofont.eot +0 -0
  269. package/dist/assets/icofont/fonts/icofont.svg +0 -2105
  270. package/dist/assets/icofont/fonts/icofont.ttf +0 -0
  271. package/dist/assets/icofont/fonts/icofont.woff +0 -0
  272. package/dist/assets/icofont/fonts/icofont.woff2 +0 -0
  273. package/dist/assets/icofont/icofont.css +0 -10757
  274. package/dist/assets/icofont/icofont.min.css +0 -7
  275. package/dist/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
  276. package/dist/assets/kreon/OFL.txt +0 -93
  277. package/dist/assets/kreon/README.txt +0 -67
  278. package/dist/assets/kreon/static/Kreon-Bold.ttf +0 -0
  279. package/dist/assets/kreon/static/Kreon-Light.ttf +0 -0
  280. package/dist/assets/kreon/static/Kreon-Medium.ttf +0 -0
  281. package/dist/assets/kreon/static/Kreon-Regular.ttf +0 -0
  282. package/dist/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
  283. package/dist/assets/kreon/style.css +0 -41
  284. package/dist/assets/material-icons/LICENSE +0 -202
  285. package/dist/assets/material-icons/README.md +0 -129
  286. package/dist/assets/material-icons/_data/versions.json +0 -2124
  287. package/dist/assets/material-icons/css/_codepoints.scss +0 -2279
  288. package/dist/assets/material-icons/css/_mixins.scss +0 -13
  289. package/dist/assets/material-icons/css/_variables.scss +0 -6
  290. package/dist/assets/material-icons/css/material-icons.css +0 -9208
  291. package/dist/assets/material-icons/css/material-icons.min.css +0 -1
  292. package/dist/assets/material-icons/css/material-icons.scss +0 -39
  293. package/dist/assets/material-icons/iconfont/_mixins.scss +0 -55
  294. package/dist/assets/material-icons/iconfont/_variables.scss +0 -3
  295. package/dist/assets/material-icons/iconfont/filled.css +0 -24
  296. package/dist/assets/material-icons/iconfont/filled.scss +0 -4
  297. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
  298. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
  299. package/dist/assets/material-icons/iconfont/material-icons-round.woff +0 -0
  300. package/dist/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
  301. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
  302. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
  303. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
  304. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
  305. package/dist/assets/material-icons/iconfont/material-icons.css +0 -124
  306. package/dist/assets/material-icons/iconfont/material-icons.scss +0 -5
  307. package/dist/assets/material-icons/iconfont/material-icons.woff +0 -0
  308. package/dist/assets/material-icons/iconfont/material-icons.woff2 +0 -0
  309. package/dist/assets/material-icons/iconfont/outlined.css +0 -24
  310. package/dist/assets/material-icons/iconfont/outlined.scss +0 -4
  311. package/dist/assets/material-icons/iconfont/round.css +0 -24
  312. package/dist/assets/material-icons/iconfont/round.scss +0 -4
  313. package/dist/assets/material-icons/iconfont/sharp.css +0 -24
  314. package/dist/assets/material-icons/iconfont/sharp.scss +0 -4
  315. package/dist/assets/material-icons/iconfont/two-tone.css +0 -24
  316. package/dist/assets/material-icons/iconfont/two-tone.scss +0 -4
  317. package/dist/assets/material-icons/index.d.ts +0 -2128
  318. package/dist/assets/material-icons/package.json +0 -52
  319. package/dist/assets/material-symbols/LICENSE +0 -202
  320. package/dist/assets/material-symbols/README.md +0 -114
  321. package/dist/assets/material-symbols/_core.scss +0 -46
  322. package/dist/assets/material-symbols/index.css +0 -74
  323. package/dist/assets/material-symbols/index.d.ts +0 -2809
  324. package/dist/assets/material-symbols/index.scss +0 -3
  325. package/dist/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
  326. package/dist/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
  327. package/dist/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
  328. package/dist/assets/material-symbols/outlined.css +0 -24
  329. package/dist/assets/material-symbols/outlined.scss +0 -3
  330. package/dist/assets/material-symbols/package.json +0 -41
  331. package/dist/assets/material-symbols/rounded.css +0 -24
  332. package/dist/assets/material-symbols/rounded.scss +0 -3
  333. package/dist/assets/material-symbols/sharp.css +0 -24
  334. package/dist/assets/material-symbols/sharp.scss +0 -3
  335. package/dist/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
  336. package/dist/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
  337. package/dist/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
  338. package/dist/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
  339. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
  340. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
  341. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
  342. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
  343. package/dist/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
  344. package/dist/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
  345. package/dist/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
  346. package/dist/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
  347. package/dist/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
  348. package/dist/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
  349. package/dist/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
  350. package/dist/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
  351. package/dist/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
  352. package/dist/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
  353. package/dist/assets/noto-sans/fonts/OFL.txt +0 -93
  354. package/dist/assets/noto-sans/noto-sans.css +0 -11
  355. package/dist/assets/roboto/LICENSE.txt +0 -202
  356. package/dist/assets/roboto/Roboto-Black.ttf +0 -0
  357. package/dist/assets/roboto/Roboto-BlackItalic.ttf +0 -0
  358. package/dist/assets/roboto/Roboto-Bold.ttf +0 -0
  359. package/dist/assets/roboto/Roboto-BoldItalic.ttf +0 -0
  360. package/dist/assets/roboto/Roboto-Italic.ttf +0 -0
  361. package/dist/assets/roboto/Roboto-Light.ttf +0 -0
  362. package/dist/assets/roboto/Roboto-LightItalic.ttf +0 -0
  363. package/dist/assets/roboto/Roboto-Medium.ttf +0 -0
  364. package/dist/assets/roboto/Roboto-MediumItalic.ttf +0 -0
  365. package/dist/assets/roboto/Roboto-Regular.ttf +0 -0
  366. package/dist/assets/roboto/Roboto-Thin.ttf +0 -0
  367. package/dist/assets/roboto/Roboto-ThinItalic.ttf +0 -0
  368. package/dist/assets/roboto/roboto.css +0 -27
  369. package/dist/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  370. package/dist/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  371. package/dist/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  372. package/dist/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  373. package/dist/assets/tabler-icons/tabler-icons.css +0 -16056
  374. package/dist/assets/tabler-icons/tabler-icons.html +0 -36226
  375. package/dist/assets/tabler-icons/tabler-icons.min.css +0 -4
  376. package/dist/assets/tabler-icons/tabler-icons.png +0 -0
  377. package/dist/assets/tabler-icons/tabler-icons.scss +0 -8058
  378. package/public/assets/README.md +0 -1
  379. package/public/assets/fontawesome-free/LICENSE.txt +0 -165
  380. package/public/assets/fontawesome-free/css/all.css +0 -7831
  381. package/public/assets/fontawesome-free/css/all.min.css +0 -6
  382. package/public/assets/fontawesome-free/css/brands.css +0 -1432
  383. package/public/assets/fontawesome-free/css/brands.min.css +0 -6
  384. package/public/assets/fontawesome-free/css/fontawesome.css +0 -6338
  385. package/public/assets/fontawesome-free/css/fontawesome.min.css +0 -6
  386. package/public/assets/fontawesome-free/css/regular.css +0 -19
  387. package/public/assets/fontawesome-free/css/regular.min.css +0 -6
  388. package/public/assets/fontawesome-free/css/solid.css +0 -19
  389. package/public/assets/fontawesome-free/css/solid.min.css +0 -6
  390. package/public/assets/fontawesome-free/css/svg-with-js.css +0 -634
  391. package/public/assets/fontawesome-free/css/svg-with-js.min.css +0 -6
  392. package/public/assets/fontawesome-free/css/v4-font-face.css +0 -26
  393. package/public/assets/fontawesome-free/css/v4-font-face.min.css +0 -6
  394. package/public/assets/fontawesome-free/css/v4-shims.css +0 -2146
  395. package/public/assets/fontawesome-free/css/v4-shims.min.css +0 -6
  396. package/public/assets/fontawesome-free/css/v5-font-face.css +0 -22
  397. package/public/assets/fontawesome-free/css/v5-font-face.min.css +0 -6
  398. package/public/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
  399. package/public/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
  400. package/public/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
  401. package/public/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
  402. package/public/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
  403. package/public/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
  404. package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
  405. package/public/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
  406. package/public/assets/icofont/demo.html +0 -18939
  407. package/public/assets/icofont/fonts/icofont.eot +0 -0
  408. package/public/assets/icofont/fonts/icofont.svg +0 -2105
  409. package/public/assets/icofont/fonts/icofont.ttf +0 -0
  410. package/public/assets/icofont/fonts/icofont.woff +0 -0
  411. package/public/assets/icofont/fonts/icofont.woff2 +0 -0
  412. package/public/assets/icofont/icofont.css +0 -10757
  413. package/public/assets/icofont/icofont.min.css +0 -7
  414. package/public/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
  415. package/public/assets/kreon/OFL.txt +0 -93
  416. package/public/assets/kreon/README.txt +0 -67
  417. package/public/assets/kreon/static/Kreon-Bold.ttf +0 -0
  418. package/public/assets/kreon/static/Kreon-Light.ttf +0 -0
  419. package/public/assets/kreon/static/Kreon-Medium.ttf +0 -0
  420. package/public/assets/kreon/static/Kreon-Regular.ttf +0 -0
  421. package/public/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
  422. package/public/assets/kreon/style.css +0 -41
  423. package/public/assets/material-icons/LICENSE +0 -202
  424. package/public/assets/material-icons/README.md +0 -129
  425. package/public/assets/material-icons/_data/versions.json +0 -2124
  426. package/public/assets/material-icons/css/_codepoints.scss +0 -2279
  427. package/public/assets/material-icons/css/_mixins.scss +0 -13
  428. package/public/assets/material-icons/css/_variables.scss +0 -6
  429. package/public/assets/material-icons/css/material-icons.css +0 -9208
  430. package/public/assets/material-icons/css/material-icons.min.css +0 -1
  431. package/public/assets/material-icons/css/material-icons.scss +0 -39
  432. package/public/assets/material-icons/iconfont/_mixins.scss +0 -55
  433. package/public/assets/material-icons/iconfont/_variables.scss +0 -3
  434. package/public/assets/material-icons/iconfont/filled.css +0 -24
  435. package/public/assets/material-icons/iconfont/filled.scss +0 -4
  436. package/public/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
  437. package/public/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
  438. package/public/assets/material-icons/iconfont/material-icons-round.woff +0 -0
  439. package/public/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
  440. package/public/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
  441. package/public/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
  442. package/public/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
  443. package/public/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
  444. package/public/assets/material-icons/iconfont/material-icons.css +0 -124
  445. package/public/assets/material-icons/iconfont/material-icons.scss +0 -5
  446. package/public/assets/material-icons/iconfont/material-icons.woff +0 -0
  447. package/public/assets/material-icons/iconfont/material-icons.woff2 +0 -0
  448. package/public/assets/material-icons/iconfont/outlined.css +0 -24
  449. package/public/assets/material-icons/iconfont/outlined.scss +0 -4
  450. package/public/assets/material-icons/iconfont/round.css +0 -24
  451. package/public/assets/material-icons/iconfont/round.scss +0 -4
  452. package/public/assets/material-icons/iconfont/sharp.css +0 -24
  453. package/public/assets/material-icons/iconfont/sharp.scss +0 -4
  454. package/public/assets/material-icons/iconfont/two-tone.css +0 -24
  455. package/public/assets/material-icons/iconfont/two-tone.scss +0 -4
  456. package/public/assets/material-icons/index.d.ts +0 -2128
  457. package/public/assets/material-icons/package.json +0 -52
  458. package/public/assets/material-symbols/LICENSE +0 -202
  459. package/public/assets/material-symbols/README.md +0 -114
  460. package/public/assets/material-symbols/_core.scss +0 -46
  461. package/public/assets/material-symbols/index.css +0 -74
  462. package/public/assets/material-symbols/index.d.ts +0 -2809
  463. package/public/assets/material-symbols/index.scss +0 -3
  464. package/public/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
  465. package/public/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
  466. package/public/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
  467. package/public/assets/material-symbols/outlined.css +0 -24
  468. package/public/assets/material-symbols/outlined.scss +0 -3
  469. package/public/assets/material-symbols/package.json +0 -41
  470. package/public/assets/material-symbols/rounded.css +0 -24
  471. package/public/assets/material-symbols/rounded.scss +0 -3
  472. package/public/assets/material-symbols/sharp.css +0 -24
  473. package/public/assets/material-symbols/sharp.scss +0 -3
  474. package/public/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
  475. package/public/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
  476. package/public/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
  477. package/public/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
  478. package/public/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
  479. package/public/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
  480. package/public/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
  481. package/public/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
  482. package/public/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
  483. package/public/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
  484. package/public/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
  485. package/public/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
  486. package/public/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
  487. package/public/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
  488. package/public/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
  489. package/public/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
  490. package/public/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
  491. package/public/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
  492. package/public/assets/noto-sans/fonts/OFL.txt +0 -93
  493. package/public/assets/noto-sans/noto-sans.css +0 -11
  494. package/public/assets/roboto/LICENSE.txt +0 -202
  495. package/public/assets/roboto/Roboto-Black.ttf +0 -0
  496. package/public/assets/roboto/Roboto-BlackItalic.ttf +0 -0
  497. package/public/assets/roboto/Roboto-Bold.ttf +0 -0
  498. package/public/assets/roboto/Roboto-BoldItalic.ttf +0 -0
  499. package/public/assets/roboto/Roboto-Italic.ttf +0 -0
  500. package/public/assets/roboto/Roboto-Light.ttf +0 -0
  501. package/public/assets/roboto/Roboto-LightItalic.ttf +0 -0
  502. package/public/assets/roboto/Roboto-Medium.ttf +0 -0
  503. package/public/assets/roboto/Roboto-MediumItalic.ttf +0 -0
  504. package/public/assets/roboto/Roboto-Regular.ttf +0 -0
  505. package/public/assets/roboto/Roboto-Thin.ttf +0 -0
  506. package/public/assets/roboto/Roboto-ThinItalic.ttf +0 -0
  507. package/public/assets/roboto/roboto.css +0 -27
  508. package/public/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  509. package/public/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  510. package/public/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  511. package/public/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  512. package/public/assets/tabler-icons/tabler-icons.css +0 -16056
  513. package/public/assets/tabler-icons/tabler-icons.html +0 -36226
  514. package/public/assets/tabler-icons/tabler-icons.min.css +0 -4
  515. package/public/assets/tabler-icons/tabler-icons.png +0 -0
  516. package/public/assets/tabler-icons/tabler-icons.scss +0 -8058
  517. package/src/components/button-group/basic.tsx +0 -34
  518. package/src/components/button-group/routes.ts +0 -8
  519. package/src/components/indented-text/basic.tsx +0 -37
  520. package/src/components/indented-text/routes.ts +0 -8
  521. package/src/components/link-group/basic.tsx +0 -23
  522. package/src/components/link-group/horizontal.tsx +0 -23
  523. package/src/components/link-group/routes.ts +0 -10
  524. /package/dist/{1073.js.LICENSE.txt → 1006.js.LICENSE.txt} +0 -0
  525. /package/dist/{1325.js.LICENSE.txt → 1114.js.LICENSE.txt} +0 -0
  526. /package/dist/{1392.js.LICENSE.txt → 1752.js.LICENSE.txt} +0 -0
  527. /package/dist/{1604.js.LICENSE.txt → 1932.js.LICENSE.txt} +0 -0
  528. /package/dist/{175.js.LICENSE.txt → 2069.js.LICENSE.txt} +0 -0
  529. /package/dist/{178.js.LICENSE.txt → 2212.js.LICENSE.txt} +0 -0
  530. /package/dist/{1791.js.LICENSE.txt → 2231.js.LICENSE.txt} +0 -0
  531. /package/dist/{2220.js.LICENSE.txt → 2321.js.LICENSE.txt} +0 -0
  532. /package/dist/{2444.js.LICENSE.txt → 2596.js.LICENSE.txt} +0 -0
  533. /package/dist/{2450.js.LICENSE.txt → 2827.js.LICENSE.txt} +0 -0
  534. /package/dist/{2794.js.LICENSE.txt → 2894.js.LICENSE.txt} +0 -0
  535. /package/dist/{2986.js.LICENSE.txt → 3099.js.LICENSE.txt} +0 -0
  536. /package/dist/{3030.js.LICENSE.txt → 3151.js.LICENSE.txt} +0 -0
  537. /package/dist/{3270.js.LICENSE.txt → 3203.js.LICENSE.txt} +0 -0
  538. /package/dist/{3340.js.LICENSE.txt → 3540.js.LICENSE.txt} +0 -0
  539. /package/dist/{3392.js.LICENSE.txt → 373.js.LICENSE.txt} +0 -0
  540. /package/dist/{3529.js.LICENSE.txt → 3918.js.LICENSE.txt} +0 -0
  541. /package/dist/{3756.js.LICENSE.txt → 3920.js.LICENSE.txt} +0 -0
  542. /package/dist/{3960.js.LICENSE.txt → 4030.js.LICENSE.txt} +0 -0
  543. /package/dist/{399.js.LICENSE.txt → 4048.js.LICENSE.txt} +0 -0
  544. /package/dist/{4145.js.LICENSE.txt → 4201.js.LICENSE.txt} +0 -0
  545. /package/dist/{4539.js.LICENSE.txt → 4260.js.LICENSE.txt} +0 -0
  546. /package/dist/{4563.js.LICENSE.txt → 4361.js.LICENSE.txt} +0 -0
  547. /package/dist/{4571.js.LICENSE.txt → 4587.js.LICENSE.txt} +0 -0
  548. /package/dist/{5260.js.LICENSE.txt → 4611.js.LICENSE.txt} +0 -0
  549. /package/dist/{5333.js.LICENSE.txt → 4641.js.LICENSE.txt} +0 -0
  550. /package/dist/{5523.js.LICENSE.txt → 4876.js.LICENSE.txt} +0 -0
  551. /package/dist/{5551.js.LICENSE.txt → 5143.js.LICENSE.txt} +0 -0
  552. /package/dist/{5575.js.LICENSE.txt → 5249.js.LICENSE.txt} +0 -0
  553. /package/dist/{5665.js.LICENSE.txt → 5690.js.LICENSE.txt} +0 -0
  554. /package/dist/{572.js.LICENSE.txt → 5746.js.LICENSE.txt} +0 -0
  555. /package/dist/{5873.js.LICENSE.txt → 6047.js.LICENSE.txt} +0 -0
  556. /package/dist/{5879.js.LICENSE.txt → 6066.js.LICENSE.txt} +0 -0
  557. /package/dist/{5964.js.LICENSE.txt → 6256.js.LICENSE.txt} +0 -0
  558. /package/dist/{618.js.LICENSE.txt → 6304.js.LICENSE.txt} +0 -0
  559. /package/dist/{623.js.LICENSE.txt → 6781.js.LICENSE.txt} +0 -0
  560. /package/dist/{643.js.LICENSE.txt → 6790.js.LICENSE.txt} +0 -0
  561. /package/dist/{6610.js.LICENSE.txt → 6984.js.LICENSE.txt} +0 -0
  562. /package/dist/{6618.js.LICENSE.txt → 7013.js.LICENSE.txt} +0 -0
  563. /package/dist/{6711.js.LICENSE.txt → 7178.js.LICENSE.txt} +0 -0
  564. /package/dist/{6740.js.LICENSE.txt → 7347.js.LICENSE.txt} +0 -0
  565. /package/dist/{6786.js.LICENSE.txt → 740.js.LICENSE.txt} +0 -0
  566. /package/dist/{685.js.LICENSE.txt → 7444.js.LICENSE.txt} +0 -0
  567. /package/dist/{6950.js.LICENSE.txt → 7533.js.LICENSE.txt} +0 -0
  568. /package/dist/{7055.js.LICENSE.txt → 7535.js.LICENSE.txt} +0 -0
  569. /package/dist/{7106.js.LICENSE.txt → 775.js.LICENSE.txt} +0 -0
  570. /package/dist/{7141.js.LICENSE.txt → 8137.js.LICENSE.txt} +0 -0
  571. /package/dist/{7146.js.LICENSE.txt → 8180.js.LICENSE.txt} +0 -0
  572. /package/dist/{7287.js.LICENSE.txt → 8192.js.LICENSE.txt} +0 -0
  573. /package/dist/{7473.js.LICENSE.txt → 833.js.LICENSE.txt} +0 -0
  574. /package/dist/{7599.js.LICENSE.txt → 8378.js.LICENSE.txt} +0 -0
  575. /package/dist/{7648.js.LICENSE.txt → 8605.js.LICENSE.txt} +0 -0
  576. /package/dist/{7668.js.LICENSE.txt → 8625.js.LICENSE.txt} +0 -0
  577. /package/dist/{7855.js.LICENSE.txt → 8840.js.LICENSE.txt} +0 -0
  578. /package/dist/{7965.js.LICENSE.txt → 907.js.LICENSE.txt} +0 -0
  579. /package/dist/{8165.js.LICENSE.txt → 9108.js.LICENSE.txt} +0 -0
  580. /package/dist/{8177.js.LICENSE.txt → 9255.js.LICENSE.txt} +0 -0
  581. /package/dist/{8306.js.LICENSE.txt → 9322.js.LICENSE.txt} +0 -0
  582. /package/dist/{8543.js.LICENSE.txt → 9581.js.LICENSE.txt} +0 -0
  583. /package/dist/{866.js.LICENSE.txt → 9719.js.LICENSE.txt} +0 -0
  584. /package/dist/{8859.js.LICENSE.txt → 9731.js.LICENSE.txt} +0 -0
  585. /package/dist/{904.js.LICENSE.txt → 9907.js.LICENSE.txt} +0 -0
  586. /package/dist/{9148.js.LICENSE.txt → 9930.js.LICENSE.txt} +0 -0
  587. /package/dist/{9522.js.LICENSE.txt → 9938.js.LICENSE.txt} +0 -0
@@ -1,28 +1,70 @@
1
+ import { KolButton, KolForm, KolInputText } from '@public-ui/react';
1
2
  import type { FC } from 'react';
2
- import React from 'react';
3
+ import React, { useEffect, useRef } from 'react';
3
4
  import { SampleDescription } from '../SampleDescription';
4
- import { KolForm, KolInputText } from '@public-ui/react';
5
5
 
6
- export const FormErrorList: FC = () => (
7
- <>
8
- <SampleDescription>
9
- <p>This sample shows a form with error messages.</p>
10
- </SampleDescription>
6
+ export const FormErrorList: FC = () => {
7
+ const formRef = useRef<HTMLKolFormElement | null>(null);
11
8
 
12
- <KolForm
13
- className="w-full"
14
- _errorList={[
15
- {
16
- message: 'Error in Input 2',
17
- selector: '#input2',
18
- },
19
- ]}
20
- >
21
- <div className="grid gap-2">
22
- <KolInputText id="input1" _label="Input 1" />
23
- <KolInputText id="input2" _label="Input 2" _touched _msg={{ _description: 'Input error', _type: 'error' }} />
24
- <KolInputText id="input3" _label="Input 3" />
25
- </div>
26
- </KolForm>
27
- </>
28
- );
9
+ const scrollTo = () => {
10
+ formRef.current?.focusErrorList();
11
+ };
12
+
13
+ /**
14
+ * Simulate the form submission
15
+ */
16
+ useEffect(() => {
17
+ formRef.current?.focusErrorList();
18
+ }, []);
19
+
20
+ return (
21
+ <>
22
+ <SampleDescription>
23
+ <p>This sample shows a form with error messages.</p>
24
+ </SampleDescription>
25
+
26
+ <KolForm
27
+ className="w-full"
28
+ ref={formRef}
29
+ _on={{
30
+ onSubmit: scrollTo,
31
+ }}
32
+ _errorList={[
33
+ {
34
+ message: 'Error in Input 2',
35
+ selector: '#input2',
36
+ },
37
+ {
38
+ message: 'Error in Input 3',
39
+ selector: () => alert('Error in Input 3'),
40
+ },
41
+ ]}
42
+ >
43
+ <div className="grid gap-2">
44
+ <KolInputText id="input1" _label="Input 1" />
45
+ <KolInputText
46
+ id="input2"
47
+ _label="Input 2"
48
+ _touched
49
+ _msg={{
50
+ _description: 'Input error',
51
+ _type: 'error',
52
+ }}
53
+ />
54
+ <KolInputText
55
+ id="input3"
56
+ _label="Input 3"
57
+ _touched
58
+ _msg={{
59
+ _description: 'Input error',
60
+ _type: 'error',
61
+ }}
62
+ />
63
+ <div>
64
+ <KolButton _label="ScrollTo" _type="submit" />
65
+ </div>
66
+ </div>
67
+ </KolForm>
68
+ </>
69
+ );
70
+ };
@@ -29,7 +29,7 @@ import {
29
29
  KolNav,
30
30
  KolProgress,
31
31
  KolSelect,
32
- KolTable,
32
+ KolTableStateful,
33
33
  KolTabs,
34
34
  KolTextarea,
35
35
  KolVersion,
@@ -73,16 +73,14 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
73
73
  el.appendChild(renderElement);
74
74
  getRoot(renderElement).render(<KolButtonWrapper _label={cell.label} style={{ fontSize: '75%' }} />);
75
75
  },
76
- sort: (data) => {
77
- return data.sort((first, second) => {
78
- if ((first as TableDataType).monday < (second as TableDataType).monday) {
79
- return -1;
80
- }
81
- if ((first as TableDataType).monday > (second as TableDataType).monday) {
82
- return 1;
83
- }
84
- return 0;
85
- });
76
+ compareFn: (first, second) => {
77
+ if ((first as TableDataType).monday < (second as TableDataType).monday) {
78
+ return -1;
79
+ }
80
+ if ((first as TableDataType).monday > (second as TableDataType).monday) {
81
+ return 1;
82
+ }
83
+ return 0;
86
84
  },
87
85
  sortDirection: 'ASC',
88
86
  textAlign: 'right',
@@ -97,16 +95,14 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
97
95
  el.appendChild(renderElement);
98
96
  getRoot(renderElement).render(<KolBadge _color="#060" _label={cell.label}></KolBadge>);
99
97
  },
100
- sort: (data) => {
101
- return data.sort((first, second) => {
102
- if ((first as TableDataType).tuesday < (second as TableDataType).tuesday) {
103
- return -1;
104
- }
105
- if ((first as TableDataType).tuesday > (second as TableDataType).tuesday) {
106
- return 1;
107
- }
108
- return 0;
109
- });
98
+ compareFn: (first, second) => {
99
+ if ((first as TableDataType).tuesday < (second as TableDataType).tuesday) {
100
+ return -1;
101
+ }
102
+ if ((first as TableDataType).tuesday > (second as TableDataType).tuesday) {
103
+ return 1;
104
+ }
105
+ return 0;
110
106
  },
111
107
  sortDirection: 'DESC',
112
108
  },
@@ -194,7 +190,7 @@ export const HandoutBasic: FC = () => {
194
190
 
195
191
  return (
196
192
  <div className="grid gap-4">
197
- <div className="grid gap-4 grid-cols-[auto_1fr_1fr] items-center">
193
+ <div className="grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center">
198
194
  <KolKolibri className="block w-75px" _labeled={false}></KolKolibri>
199
195
  <KolHeading _label="" _level={1}>
200
196
  <span slot="expert">
@@ -252,10 +248,8 @@ export const HandoutBasic: FC = () => {
252
248
  <p>
253
249
  I am <KolAbbr>e.g.</KolAbbr> an abbreviation without label.
254
250
  </p>
255
- <div className="grid grid-cols-2 items-center">
256
- <KolProgress _variant="bar" _max={100} _value={33} _label="Progress" />
257
- <KolProgress _variant="cycle" _max={100} _value={66} _label="Progress" />
258
- </div>
251
+ <KolProgress _variant="bar" _max={100} _value={33} _label="Progress" />
252
+ <KolProgress _variant="cycle" _max={100} _value={66} _label="Progress" />
259
253
  </div>
260
254
  </KolCard>
261
255
  <KolCard className="col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3" _label="Button, LinkButton and Tab" _level={2}>
@@ -430,7 +424,6 @@ export const HandoutBasic: FC = () => {
430
424
  />
431
425
  </div>
432
426
  {/* <KolSkipNav></KolSkipNav> */}
433
- {/* <KolLinkGroup _label=""></KolLinkGroup> */}
434
427
  <div>
435
428
  <KolBreadcrumb
436
429
  _label="Breadcrumb aus Text-Links"
@@ -448,7 +441,7 @@ export const HandoutBasic: FC = () => {
448
441
  </KolCard>
449
442
  <KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Input" _level={2}>
450
443
  <KolForm slot="">
451
- <div className="grid gap-4 grid-cols-3 p-2">
444
+ <div className="grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2">
452
445
  <KolInputColor _label={`Color`} />
453
446
  <KolInputFile _label={`Upload file`} />
454
447
  <KolInputNumber _label={`Number input`} />
@@ -467,7 +460,9 @@ export const HandoutBasic: FC = () => {
467
460
  <div className="grid gap-4">
468
461
  <KolInputRadio _orientation="horizontal" _options="[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]" _value="0" _label={`Salutation`} />
469
462
  <KolInputCheckbox _label="">
470
- I accept the <KolAbbr _label="General Terms and Conditions">AGB</KolAbbr>.
463
+ <span slot="expert">
464
+ I accept the <KolAbbr _label="General Terms and Conditions">AGB</KolAbbr>.
465
+ </span>
471
466
  </KolInputCheckbox>
472
467
  </div>
473
468
  <KolTextarea _rows={4} _label={`Textarea`} />
@@ -476,7 +471,7 @@ export const HandoutBasic: FC = () => {
476
471
  </KolCard>
477
472
  <KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Table with Pagination" _level={2}>
478
473
  <div slot="" className="grid gap-2 p-2">
479
- <KolTable _label="Table" _headers={TABLE_HEADERS} _data={TABLE_DATA} _pagination></KolTable>
474
+ <KolTableStateful _label="Table" _minWidth="auto" _headers={TABLE_HEADERS} _data={TABLE_DATA} _pagination></KolTableStateful>
480
475
  </div>
481
476
  </KolCard>
482
477
  </div>
@@ -12,8 +12,9 @@ export const IconBasic: FC = () => (
12
12
  </SampleDescription>
13
13
 
14
14
  <div className="grid gap-4">
15
- <KolIcon _label="" _icons="codicon codicon-home" />
15
+ <KolIcon className="block w-[1em] h-[1em]" _label="" _icons="codicon codicon-home" />
16
16
  <KolIcon
17
+ className="block w-[1em] h-[1em]"
17
18
  style={{
18
19
  color: 'red',
19
20
  }}
@@ -9,6 +9,6 @@ export const ImageBasic: FC = () => (
9
9
  <p>KolImage renders an image. The sample shows an image with alternative text.</p>
10
10
  </SampleDescription>
11
11
 
12
- <KolImage className="w-80%" _src="abgrenzung.jpg" _alt="Darstellung des KoliBri-Theming" />
12
+ <KolImage className="w-image" _src="abgrenzung.jpg" _alt="Darstellung des KoliBri-Theming" />
13
13
  </>
14
14
  );
@@ -3,10 +3,11 @@ import React, { forwardRef } from 'react';
3
3
  import { InputCheckboxCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxVariant(props, ref) {
7
8
  return (
8
9
  <>
9
- <div className="grid md:grid-cols-2 gap-4">
10
+ <SampleColumns>
10
11
  <fieldset>
11
12
  <legend>Label align &quot;left&quot; with label</legend>
12
13
  <InputCheckboxCases {...props} _labelAlign="left" />
@@ -15,8 +16,8 @@ export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Com
15
16
  <legend>Label align &quot;left&quot; without Label (hideLabel)</legend>
16
17
  <InputCheckboxCases ref={ref} {...props} _hideLabel _labelAlign="left" />
17
18
  </fieldset>
18
- </div>
19
- <div className="grid md:grid-cols-2 gap-4">
19
+ </SampleColumns>
20
+ <SampleColumns>
20
21
  <fieldset>
21
22
  <legend>Label align &quot;right&quot; with label</legend>
22
23
  <InputCheckboxCases {...props} />
@@ -25,7 +26,7 @@ export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Com
25
26
  <legend>Label align &quot;right&quot; without Label (hideLabel)</legend>
26
27
  <InputCheckboxCases ref={ref} {...props} _hideLabel />
27
28
  </fieldset>
28
- </div>
29
+ </SampleColumns>
29
30
  </>
30
31
  );
31
32
  });
@@ -1,10 +1,9 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputColor } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
4
 
5
5
  import { ERROR_MSG } from '../../../shares/constants';
6
6
 
7
- import type { Components } from '@public-ui/components';
8
7
  export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
@@ -26,6 +25,9 @@ export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.K
26
25
  _suggestions="['#000000','#f08080', '#0000ff','#00ff00']"
27
26
  _touched
28
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" />
29
31
  <KolInputColor {...props} ref={ref} _accessKey="C" _hint="Hint text" _label="Color with hint" _value="#f08080" />
30
32
  <KolInputColor {...props} _disabled _label="Color (Disabled)" _value="#f08080" />
31
33
  <KolInputColor {...props} _label="With access key" _accessKey="c"></KolInputColor>
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputColorCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Color</legend>
11
12
  <InputColorCases {...props} />
@@ -14,6 +15,6 @@ export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Component
14
15
  <legend>Color (hideLabel)</legend>
15
16
  <InputColorCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -1,26 +1,29 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputDate } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
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 InputDateCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
11
10
  <div className="black-background">
12
- <KolInputDate {...props} _type="date" _label="Date input (Black background test)" _required />{' '}
11
+ <KolInputDate {...props} _type="date" _label="Date input (Black background test)" _required />
13
12
  </div>
14
13
  <KolInputDate {...props} _type="datetime-local" _label="Local-Datetime (Standard)" _required />
15
14
  <KolInputDate
16
15
  {...props}
17
16
  _step={1}
18
17
  _type="datetime-local"
18
+ _hint={HINT_MSG}
19
19
  _msg={{ _type: 'error', _description: ERROR_MSG }}
20
20
  _label="Local datetime (with seconds)"
21
21
  _required
22
22
  _touched
23
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" />
24
27
  <KolInputDate {...props} _type="month" _label="Month" _required />
25
28
  <KolInputDate {...props} ref={ref} _accessKey="W" _type="week" _label="Week" _required />
26
29
  <KolInputDate {...props} _type="time" _label="Time (standard)" _required />
@@ -1,8 +1,8 @@
1
- import React, { forwardRef } from 'react';
1
+ import React from 'react';
2
2
  import { KolInputDate } from '@public-ui/react';
3
3
  import type { Components } from '@public-ui/components';
4
4
 
5
- export const InputDateMinMaxCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props) {
5
+ export const InputDateMinMaxCases = (props: Components.KolInputDate) => {
6
6
  const minDateIso = '2024-09-26';
7
7
  const maxDateIso = '2024-09-27';
8
8
 
@@ -38,4 +38,4 @@ export const InputDateMinMaxCases = forwardRef<HTMLKolInputDateElement, Componen
38
38
  <KolInputDate {...props} _type="month" _label="Month with Date" _min={minDate} _max={maxDate} />
39
39
  </div>
40
40
  );
41
- });
41
+ };
@@ -4,9 +4,10 @@ import { InputDateCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
6
  import { InputDateMinMaxCases } from './minMax';
7
+ import { SampleColumns } from '../../SampleColumns';
7
8
  export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
8
9
  return (
9
- <div className="grid md:grid-cols-2 gap-4">
10
+ <SampleColumns>
10
11
  <fieldset>
11
12
  <legend>Date</legend>
12
13
  <InputDateCases {...props} />
@@ -17,8 +18,8 @@ export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.
17
18
  </fieldset>
18
19
  <fieldset>
19
20
  <legend>Date (with min/max)</legend>
20
- <InputDateMinMaxCases ref={ref} {...props} />
21
+ <InputDateMinMaxCases {...props} />
21
22
  </fieldset>
22
- </div>
23
+ </SampleColumns>
23
24
  );
24
25
  });
@@ -37,11 +37,10 @@ export const InputDateShowHideMsg = () => {
37
37
  Error-Message visible: {showMsg && isTouched && !hideMsg ? 'Yes' : 'No'} (showMsg: {showMsg ? 'Yes' : 'No'}, isTouched: {isTouched ? 'Yes' : 'No'},
38
38
  hideMsg: {hideMsg ? 'Yes' : 'No'})
39
39
  </pre>
40
- <KolInputDate _error={showMsg ? 'error message' : undefined} _hideError={hideMsg} _label="Date (_error)" _touched={isTouched} />
41
40
  {msgTypes.map((type) => (
42
41
  <KolInputDate
43
42
  key={type}
44
- _hideError={hideMsg}
43
+ _hideMsg={hideMsg}
45
44
  _label={`Date (_msg, ${type})`}
46
45
  _msg={
47
46
  showMsg
@@ -1,10 +1,9 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputEmail } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
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 InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
@@ -18,6 +17,7 @@ export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.K
18
17
  _placeholder="elke@mustermann.de"
19
18
  _suggestions="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
20
19
  _label="E-Mail (list)"
20
+ _hint={HINT_MSG}
21
21
  _msg={{ _type: 'error', _description: ERROR_MSG }}
22
22
  _touched
23
23
  _icons={{
@@ -29,6 +29,9 @@ export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.K
29
29
  },
30
30
  }}
31
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" />
32
35
  <KolInputEmail {...props} _disabled _value="test@mail.de" _label="E-Mail (Disabled)" />
33
36
  <KolInputEmail {...props} _readOnly _value="test@mail.de" _label="E-Mail (Readonly)" />
34
37
  <KolInputEmail {...props} _value="test@mail.de" _label="With access key" _accessKey="c" />
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputEmailCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputEmailVariants = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Email</legend>
11
12
  <InputEmailCases {...props} />
@@ -14,6 +15,6 @@ export const InputEmailVariants = forwardRef<HTMLKolInputEmailElement, Component
14
15
  <legend>Email (hideLabel)</legend>
15
16
  <InputEmailCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -1,10 +1,9 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputFile } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
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 InputFileCases = forwardRef<HTMLKolInputFileElement, Components.KolInputFile>(function InputFileCases(props, ref) {
9
8
  return (
10
9
  <div className="grid gap-4">
@@ -23,6 +22,7 @@ export const InputFileCases = forwardRef<HTMLKolInputFileElement, Components.Kol
23
22
  <KolInputFile
24
23
  {...props}
25
24
  _required
25
+ _hint={HINT_MSG}
26
26
  _msg={{ _type: 'error', _description: ERROR_MSG }}
27
27
  _label="Upload file (Black background test)"
28
28
  _icons={{
@@ -32,6 +32,9 @@ export const InputFileCases = forwardRef<HTMLKolInputFileElement, Components.Kol
32
32
  }}
33
33
  _touched
34
34
  />
35
+ <KolInputFile {...props} _msg={{ _type: 'info', _description: 'Just a hint' }} _label="Upload file" />
36
+ <KolInputFile {...props} _msg={{ _type: 'warning', _description: 'Small warning' }} _label="Upload file" />
37
+ <KolInputFile {...props} _msg={{ _type: 'success', _description: 'Success message' }} _label="Upload file" />
35
38
  <KolInputFile {...props} ref={ref} _accessKey="h" _multiple _msg={{ _type: 'error', _description: ERROR_MSG }} _label="Upload file (Multiple)" />
36
39
  <KolInputFile {...props} _disabled _label="Upload file (Disabled)" />
37
40
  <KolInputFile {...props} _label="With access key" _accessKey="c" />
@@ -1,11 +1,12 @@
1
1
  import React, { forwardRef } from 'react';
2
2
 
3
3
  import { InputFileCases } from './cases';
4
+ import { SampleColumns } from '../../SampleColumns';
4
5
 
5
6
  import type { Components } from '@public-ui/components';
6
7
  export const InputFileVariants = forwardRef<HTMLKolInputFileElement, Components.KolInputFile>(function InputFileVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>File</legend>
11
12
  <InputFileCases {...props} />
@@ -14,6 +15,6 @@ export const InputFileVariants = forwardRef<HTMLKolInputFileElement, Components.
14
15
  <legend>File (hideLabel)</legend>
15
16
  <InputFileCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -3,9 +3,10 @@ import React, { forwardRef } from 'react';
3
3
  import { InputNumberCases } from './cases';
4
4
 
5
5
  import type { Components } from '@public-ui/components';
6
+ import { SampleColumns } from '../../SampleColumns';
6
7
  export const InputNumberVariants = forwardRef<HTMLKolInputNumberElement, Components.KolInputNumber>(function InputNumberVariant(props, ref) {
7
8
  return (
8
- <div className="grid md:grid-cols-2 gap-4">
9
+ <SampleColumns>
9
10
  <fieldset>
10
11
  <legend>Number</legend>
11
12
  <InputNumberCases {...props} />
@@ -14,6 +15,6 @@ export const InputNumberVariants = forwardRef<HTMLKolInputNumberElement, Compone
14
15
  <legend>Number (hideLabel)</legend>
15
16
  <InputNumberCases ref={ref} {...props} _hideLabel />
16
17
  </fieldset>
17
- </div>
18
+ </SampleColumns>
18
19
  );
19
20
  });
@@ -1,23 +1,21 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputPassword } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
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
  });
@@ -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';
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
  });
@@ -1,10 +1,9 @@
1
1
  import React, { forwardRef } from 'react';
2
-
3
2
  import { KolInputRange } from '@public-ui/react';
3
+ import type { Components } from '@public-ui/components';
4
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" />