@public-ui/sample-react 1.7.0-rc.9 → 1.7.1

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 (455) hide show
  1. package/.eslintrc.js +5 -0
  2. package/dist/.htaccess +3 -0
  3. package/dist/1159.js +2 -0
  4. package/dist/1159.js.LICENSE.txt +3 -0
  5. package/dist/1474.js +2 -0
  6. package/dist/1474.js.LICENSE.txt +3 -0
  7. package/dist/183.js +2 -0
  8. package/dist/183.js.LICENSE.txt +3 -0
  9. package/dist/2337.js +2 -0
  10. package/dist/2337.js.LICENSE.txt +3 -0
  11. package/dist/2412.js +2 -0
  12. package/dist/2412.js.LICENSE.txt +3 -0
  13. package/dist/3153.js +2 -0
  14. package/dist/3153.js.LICENSE.txt +3 -0
  15. package/dist/3303.js +2 -0
  16. package/dist/3303.js.LICENSE.txt +3 -0
  17. package/dist/3325.js +2 -0
  18. package/dist/3325.js.LICENSE.txt +3 -0
  19. package/dist/3429.js +2 -0
  20. package/dist/3429.js.LICENSE.txt +3 -0
  21. package/dist/3459.js +2 -0
  22. package/dist/3459.js.LICENSE.txt +3 -0
  23. package/dist/3537.js +2 -0
  24. package/dist/3537.js.LICENSE.txt +3 -0
  25. package/dist/3932.js +2 -0
  26. package/dist/3932.js.LICENSE.txt +3 -0
  27. package/dist/4021.js +2 -0
  28. package/dist/4021.js.LICENSE.txt +3 -0
  29. package/dist/4022.js +2 -0
  30. package/dist/4022.js.LICENSE.txt +3 -0
  31. package/dist/4195.js +2 -0
  32. package/dist/4195.js.LICENSE.txt +3 -0
  33. package/dist/4291.js +2 -0
  34. package/dist/4291.js.LICENSE.txt +3 -0
  35. package/dist/4323.js +2 -0
  36. package/dist/4323.js.LICENSE.txt +3 -0
  37. package/dist/4355.js +2 -0
  38. package/dist/4355.js.LICENSE.txt +3 -0
  39. package/dist/4436.js +2 -0
  40. package/dist/4436.js.LICENSE.txt +3 -0
  41. package/dist/4477.js +2 -0
  42. package/dist/4477.js.LICENSE.txt +3 -0
  43. package/dist/4564.js +2 -0
  44. package/dist/4564.js.LICENSE.txt +3 -0
  45. package/dist/4864.js +2 -0
  46. package/dist/4864.js.LICENSE.txt +3 -0
  47. package/dist/4891.js +2 -0
  48. package/dist/4891.js.LICENSE.txt +3 -0
  49. package/dist/5183.js +2 -0
  50. package/dist/5183.js.LICENSE.txt +3 -0
  51. package/dist/5293.js +2 -0
  52. package/dist/5293.js.LICENSE.txt +3 -0
  53. package/dist/5369.js +2 -0
  54. package/dist/5369.js.LICENSE.txt +3 -0
  55. package/dist/5390.js +2 -0
  56. package/dist/5390.js.LICENSE.txt +3 -0
  57. package/dist/540.js +2 -0
  58. package/dist/540.js.LICENSE.txt +3 -0
  59. package/dist/5862.js +2 -0
  60. package/dist/5862.js.LICENSE.txt +3 -0
  61. package/dist/5866.js +2 -0
  62. package/dist/5866.js.LICENSE.txt +3 -0
  63. package/dist/6012.js +2 -0
  64. package/dist/6012.js.LICENSE.txt +3 -0
  65. package/dist/6068.js +2 -0
  66. package/dist/6068.js.LICENSE.txt +3 -0
  67. package/dist/6210.js +2 -0
  68. package/dist/6210.js.LICENSE.txt +3 -0
  69. package/dist/6320.js +2 -0
  70. package/dist/6320.js.LICENSE.txt +3 -0
  71. package/dist/6558.js +2 -0
  72. package/dist/6558.js.LICENSE.txt +3 -0
  73. package/dist/6655.js +2 -0
  74. package/dist/6655.js.LICENSE.txt +3 -0
  75. package/dist/6813.js +2 -0
  76. package/dist/6813.js.LICENSE.txt +3 -0
  77. package/dist/6908.js +2 -0
  78. package/dist/6908.js.LICENSE.txt +3 -0
  79. package/dist/7029.js +2 -0
  80. package/dist/7029.js.LICENSE.txt +3 -0
  81. package/dist/7255.js +2 -0
  82. package/dist/7255.js.LICENSE.txt +3 -0
  83. package/dist/7447.js +2 -0
  84. package/dist/7447.js.LICENSE.txt +3 -0
  85. package/dist/7715.js +2 -0
  86. package/dist/7715.js.LICENSE.txt +3 -0
  87. package/dist/7722.js +2 -0
  88. package/dist/7722.js.LICENSE.txt +3 -0
  89. package/dist/7801.js +2 -0
  90. package/dist/7801.js.LICENSE.txt +3 -0
  91. package/dist/7858.js +2 -0
  92. package/dist/7858.js.LICENSE.txt +3 -0
  93. package/dist/7955.js +2 -0
  94. package/dist/7955.js.LICENSE.txt +3 -0
  95. package/dist/7958.js +2 -0
  96. package/dist/7958.js.LICENSE.txt +3 -0
  97. package/dist/7995.js +2 -0
  98. package/dist/7995.js.LICENSE.txt +3 -0
  99. package/dist/8061.js +2 -0
  100. package/dist/8061.js.LICENSE.txt +3 -0
  101. package/dist/8065.js +2 -0
  102. package/dist/8065.js.LICENSE.txt +3 -0
  103. package/dist/8073.js +2 -0
  104. package/dist/8073.js.LICENSE.txt +3 -0
  105. package/dist/8099.js +2 -0
  106. package/dist/8099.js.LICENSE.txt +3 -0
  107. package/dist/8111.js +2 -0
  108. package/dist/8111.js.LICENSE.txt +3 -0
  109. package/dist/8255.js +2 -0
  110. package/dist/8255.js.LICENSE.txt +3 -0
  111. package/dist/8291.js +2 -0
  112. package/dist/8291.js.LICENSE.txt +3 -0
  113. package/dist/8408.js +2 -0
  114. package/dist/8408.js.LICENSE.txt +3 -0
  115. package/dist/8709.js +1 -0
  116. package/dist/8761.js +2 -0
  117. package/dist/8761.js.LICENSE.txt +3 -0
  118. package/dist/9106.js +2 -0
  119. package/dist/9106.js.LICENSE.txt +3 -0
  120. package/dist/9230.js +2 -0
  121. package/dist/9230.js.LICENSE.txt +3 -0
  122. package/dist/9329.js +2 -0
  123. package/dist/9329.js.LICENSE.txt +3 -0
  124. package/dist/9598.js +2 -0
  125. package/dist/9598.js.LICENSE.txt +3 -0
  126. package/dist/9734.js +2 -0
  127. package/dist/9734.js.LICENSE.txt +3 -0
  128. package/dist/9747.js +2 -0
  129. package/dist/9747.js.LICENSE.txt +3 -0
  130. package/dist/9792.js +2 -0
  131. package/dist/9792.js.LICENSE.txt +3 -0
  132. package/dist/9895.js +2 -0
  133. package/dist/9895.js.LICENSE.txt +3 -0
  134. package/dist/9963.js +2 -0
  135. package/dist/9963.js.LICENSE.txt +3 -0
  136. package/dist/9972.js +2 -0
  137. package/dist/9972.js.LICENSE.txt +3 -0
  138. package/dist/assets/bundes/LICENSE.md +1 -0
  139. package/dist/assets/bundes/sans/BundesSans-Web-Black.ttf +0 -0
  140. package/dist/assets/bundes/sans/BundesSans-Web-Black.woff +0 -0
  141. package/dist/assets/bundes/sans/BundesSans-Web-Black.woff2 +0 -0
  142. package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.ttf +0 -0
  143. package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.woff +0 -0
  144. package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.woff2 +0 -0
  145. package/dist/assets/bundes/sans/BundesSans-Web-Bold.ttf +0 -0
  146. package/dist/assets/bundes/sans/BundesSans-Web-Bold.woff +0 -0
  147. package/dist/assets/bundes/sans/BundesSans-Web-Bold.woff2 +0 -0
  148. package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.ttf +0 -0
  149. package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.woff +0 -0
  150. package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.woff2 +0 -0
  151. package/dist/assets/bundes/sans/BundesSans-Web-Light.ttf +0 -0
  152. package/dist/assets/bundes/sans/BundesSans-Web-Light.woff +0 -0
  153. package/dist/assets/bundes/sans/BundesSans-Web-Light.woff2 +0 -0
  154. package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.ttf +0 -0
  155. package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.woff +0 -0
  156. package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.woff2 +0 -0
  157. package/dist/assets/bundes/sans/BundesSans-Web-Medium.ttf +0 -0
  158. package/dist/assets/bundes/sans/BundesSans-Web-Medium.woff +0 -0
  159. package/dist/assets/bundes/sans/BundesSans-Web-Medium.woff2 +0 -0
  160. package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.ttf +0 -0
  161. package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.woff +0 -0
  162. package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.woff2 +0 -0
  163. package/dist/assets/bundes/sans/BundesSans-Web-Regular.ttf +0 -0
  164. package/dist/assets/bundes/sans/BundesSans-Web-Regular.woff +0 -0
  165. package/dist/assets/bundes/sans/BundesSans-Web-Regular.woff2 +0 -0
  166. package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.ttf +0 -0
  167. package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.woff +0 -0
  168. package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.woff2 +0 -0
  169. package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.ttf +0 -0
  170. package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff +0 -0
  171. package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff2 +0 -0
  172. package/dist/assets/bundes/serif/BundesSerif-Web-Bold.ttf +0 -0
  173. package/dist/assets/bundes/serif/BundesSerif-Web-Bold.woff +0 -0
  174. package/dist/assets/bundes/serif/BundesSerif-Web-Bold.woff2 +0 -0
  175. package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.ttf +0 -0
  176. package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff +0 -0
  177. package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff2 +0 -0
  178. package/dist/assets/bundes/serif/BundesSerif-Web-Italic.ttf +0 -0
  179. package/dist/assets/bundes/serif/BundesSerif-Web-Italic.woff +0 -0
  180. package/dist/assets/bundes/serif/BundesSerif-Web-Italic.woff2 +0 -0
  181. package/dist/assets/bundes/serif/BundesSerif-Web-Regular.ttf +0 -0
  182. package/dist/assets/bundes/serif/BundesSerif-Web-Regular.woff +0 -0
  183. package/dist/assets/bundes/serif/BundesSerif-Web-Regular.woff2 +0 -0
  184. package/dist/assets/bundes/style.css +84 -0
  185. package/dist/assets/codicons/LICENSE +395 -0
  186. package/dist/assets/codicons/LICENSE-CODE +21 -0
  187. package/dist/assets/codicons/codicon.css +582 -0
  188. package/dist/assets/codicons/codicon.csv +426 -0
  189. package/dist/assets/codicons/codicon.html +3911 -0
  190. package/dist/assets/codicons/codicon.svg +1 -0
  191. package/dist/assets/codicons/codicon.ttf +0 -0
  192. package/dist/assets/fontawesome-free/LICENSE.txt +165 -0
  193. package/dist/assets/fontawesome-free/css/all.css +7831 -0
  194. package/dist/assets/fontawesome-free/css/all.min.css +6 -0
  195. package/dist/assets/fontawesome-free/css/brands.css +1432 -0
  196. package/dist/assets/fontawesome-free/css/brands.min.css +6 -0
  197. package/dist/assets/fontawesome-free/css/fontawesome.css +6338 -0
  198. package/dist/assets/fontawesome-free/css/fontawesome.min.css +6 -0
  199. package/dist/assets/fontawesome-free/css/regular.css +19 -0
  200. package/dist/assets/fontawesome-free/css/regular.min.css +6 -0
  201. package/dist/assets/fontawesome-free/css/solid.css +19 -0
  202. package/dist/assets/fontawesome-free/css/solid.min.css +6 -0
  203. package/dist/assets/fontawesome-free/css/svg-with-js.css +634 -0
  204. package/dist/assets/fontawesome-free/css/svg-with-js.min.css +6 -0
  205. package/dist/assets/fontawesome-free/css/v4-font-face.css +26 -0
  206. package/dist/assets/fontawesome-free/css/v4-font-face.min.css +6 -0
  207. package/dist/assets/fontawesome-free/css/v4-shims.css +2146 -0
  208. package/dist/assets/fontawesome-free/css/v4-shims.min.css +6 -0
  209. package/dist/assets/fontawesome-free/css/v5-font-face.css +22 -0
  210. package/dist/assets/fontawesome-free/css/v5-font-face.min.css +6 -0
  211. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
  212. package/dist/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
  213. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
  214. package/dist/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
  215. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
  216. package/dist/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
  217. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
  218. package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
  219. package/dist/assets/icofont/demo.html +18939 -0
  220. package/dist/assets/icofont/fonts/icofont.eot +0 -0
  221. package/dist/assets/icofont/fonts/icofont.svg +2105 -0
  222. package/dist/assets/icofont/fonts/icofont.ttf +0 -0
  223. package/dist/assets/icofont/fonts/icofont.woff +0 -0
  224. package/dist/assets/icofont/fonts/icofont.woff2 +0 -0
  225. package/dist/assets/icofont/icofont.css +10757 -0
  226. package/dist/assets/icofont/icofont.min.css +7 -0
  227. package/dist/assets/kolibri.ico +0 -0
  228. package/dist/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
  229. package/dist/assets/kreon/OFL.txt +93 -0
  230. package/dist/assets/kreon/README.txt +67 -0
  231. package/dist/assets/kreon/static/Kreon-Bold.ttf +0 -0
  232. package/dist/assets/kreon/static/Kreon-Light.ttf +0 -0
  233. package/dist/assets/kreon/static/Kreon-Medium.ttf +0 -0
  234. package/dist/assets/kreon/static/Kreon-Regular.ttf +0 -0
  235. package/dist/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
  236. package/dist/assets/kreon/style.css +41 -0
  237. package/dist/assets/material-icons/LICENSE +202 -0
  238. package/dist/assets/material-icons/README.md +129 -0
  239. package/dist/assets/material-icons/_data/versions.json +2124 -0
  240. package/dist/assets/material-icons/css/_codepoints.scss +2279 -0
  241. package/dist/assets/material-icons/css/_mixins.scss +13 -0
  242. package/dist/assets/material-icons/css/_variables.scss +6 -0
  243. package/dist/assets/material-icons/css/material-icons.css +9208 -0
  244. package/dist/assets/material-icons/css/material-icons.min.css +1 -0
  245. package/dist/assets/material-icons/css/material-icons.scss +39 -0
  246. package/dist/assets/material-icons/iconfont/_mixins.scss +55 -0
  247. package/dist/assets/material-icons/iconfont/_variables.scss +3 -0
  248. package/dist/assets/material-icons/iconfont/filled.css +24 -0
  249. package/dist/assets/material-icons/iconfont/filled.scss +4 -0
  250. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
  251. package/dist/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
  252. package/dist/assets/material-icons/iconfont/material-icons-round.woff +0 -0
  253. package/dist/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
  254. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
  255. package/dist/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
  256. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
  257. package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
  258. package/dist/assets/material-icons/iconfont/material-icons.css +124 -0
  259. package/dist/assets/material-icons/iconfont/material-icons.scss +5 -0
  260. package/dist/assets/material-icons/iconfont/material-icons.woff +0 -0
  261. package/dist/assets/material-icons/iconfont/material-icons.woff2 +0 -0
  262. package/dist/assets/material-icons/iconfont/outlined.css +24 -0
  263. package/dist/assets/material-icons/iconfont/outlined.scss +4 -0
  264. package/dist/assets/material-icons/iconfont/round.css +24 -0
  265. package/dist/assets/material-icons/iconfont/round.scss +4 -0
  266. package/dist/assets/material-icons/iconfont/sharp.css +24 -0
  267. package/dist/assets/material-icons/iconfont/sharp.scss +4 -0
  268. package/dist/assets/material-icons/iconfont/two-tone.css +24 -0
  269. package/dist/assets/material-icons/iconfont/two-tone.scss +4 -0
  270. package/dist/assets/material-icons/index.d.ts +2128 -0
  271. package/dist/assets/material-icons/package.json +52 -0
  272. package/dist/assets/material-symbols/LICENSE +202 -0
  273. package/dist/assets/material-symbols/README.md +114 -0
  274. package/dist/assets/material-symbols/_core.scss +47 -0
  275. package/dist/assets/material-symbols/index.css +74 -0
  276. package/dist/assets/material-symbols/index.d.ts +2809 -0
  277. package/dist/assets/material-symbols/index.scss +3 -0
  278. package/dist/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
  279. package/dist/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
  280. package/dist/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
  281. package/dist/assets/material-symbols/outlined.css +24 -0
  282. package/dist/assets/material-symbols/outlined.scss +3 -0
  283. package/dist/assets/material-symbols/package.json +41 -0
  284. package/dist/assets/material-symbols/rounded.css +24 -0
  285. package/dist/assets/material-symbols/rounded.scss +3 -0
  286. package/dist/assets/material-symbols/sharp.css +24 -0
  287. package/dist/assets/material-symbols/sharp.scss +3 -0
  288. package/dist/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
  289. package/dist/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
  290. package/dist/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
  291. package/dist/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
  292. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
  293. package/dist/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
  294. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
  295. package/dist/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
  296. package/dist/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
  297. package/dist/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
  298. package/dist/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
  299. package/dist/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
  300. package/dist/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
  301. package/dist/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
  302. package/dist/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
  303. package/dist/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
  304. package/dist/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
  305. package/dist/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
  306. package/dist/assets/noto-sans/fonts/OFL.txt +93 -0
  307. package/dist/assets/noto-sans/noto-sans.css +11 -0
  308. package/dist/assets/roboto/LICENSE.txt +202 -0
  309. package/dist/assets/roboto/Roboto-Black.ttf +0 -0
  310. package/dist/assets/roboto/Roboto-BlackItalic.ttf +0 -0
  311. package/dist/assets/roboto/Roboto-Bold.ttf +0 -0
  312. package/dist/assets/roboto/Roboto-BoldItalic.ttf +0 -0
  313. package/dist/assets/roboto/Roboto-Italic.ttf +0 -0
  314. package/dist/assets/roboto/Roboto-Light.ttf +0 -0
  315. package/dist/assets/roboto/Roboto-LightItalic.ttf +0 -0
  316. package/dist/assets/roboto/Roboto-Medium.ttf +0 -0
  317. package/dist/assets/roboto/Roboto-MediumItalic.ttf +0 -0
  318. package/dist/assets/roboto/Roboto-Regular.ttf +0 -0
  319. package/dist/assets/roboto/Roboto-Thin.ttf +0 -0
  320. package/dist/assets/roboto/Roboto-ThinItalic.ttf +0 -0
  321. package/dist/assets/roboto/roboto.css +27 -0
  322. package/dist/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
  323. package/dist/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
  324. package/dist/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
  325. package/dist/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
  326. package/dist/assets/tabler-icons/tabler-icons.css +16056 -0
  327. package/dist/assets/tabler-icons/tabler-icons.html +36226 -0
  328. package/dist/assets/tabler-icons/tabler-icons.min.css +4 -0
  329. package/dist/assets/tabler-icons/tabler-icons.png +0 -0
  330. package/dist/assets/tabler-icons/tabler-icons.scss +8058 -0
  331. package/dist/index.html +28 -0
  332. package/dist/main.css +3 -0
  333. package/dist/main.js +2374 -0
  334. package/dist/main.js.LICENSE.txt +57 -0
  335. package/dist/robots.txt +2 -0
  336. package/package.json +61 -63
  337. package/public/index.html +1 -1
  338. package/src/App.tsx +12 -4
  339. package/src/components/FocusInput.tsx +20 -0
  340. package/src/components/FormWrap.tsx +21 -0
  341. package/src/components/Sidebar.tsx +2 -2
  342. package/src/components/alert/basic.tsx +6 -0
  343. package/src/components/alert/card-msg.tsx +0 -1
  344. package/src/components/alert/html.tsx +3 -3
  345. package/src/components/badge/button.tsx +1 -1
  346. package/src/components/breadcrumb/basic.tsx +2 -2
  347. package/src/components/button/basic.tsx +4 -28
  348. package/src/components/button/hide-label.tsx +1 -1
  349. package/src/components/button/icons.tsx +1 -1
  350. package/src/components/button/partials/cases.tsx +16 -0
  351. package/src/components/button/partials/variants.tsx +27 -0
  352. package/src/components/button/width.tsx +1 -1
  353. package/src/components/button-group/basic.tsx +2 -2
  354. package/src/components/button-link/basic.tsx +5 -5
  355. package/src/components/button-link/icons.tsx +5 -5
  356. package/src/components/button-link/image.tsx +2 -2
  357. package/src/components/button-link/routes.ts +0 -3
  358. package/src/components/card/confirm.tsx +1 -1
  359. package/src/components/card/selection.tsx +4 -4
  360. package/src/components/handout/basic.tsx +42 -42
  361. package/src/components/heading/badged.tsx +6 -6
  362. package/src/components/icon/basic.tsx +2 -2
  363. package/src/components/image/basic.tsx +5 -0
  364. package/src/components/image/routes.ts +9 -0
  365. package/src/components/input-checkbox/basic.tsx +4 -36
  366. package/src/components/input-checkbox/button.tsx +5 -0
  367. package/src/components/input-checkbox/partials/cases.tsx +62 -0
  368. package/src/components/input-checkbox/partials/variants.tsx +19 -0
  369. package/src/components/input-checkbox/routes.ts +4 -0
  370. package/src/components/input-checkbox/switch.tsx +5 -0
  371. package/src/components/input-color/basic.tsx +4 -28
  372. package/src/components/input-color/partials/cases.tsx +25 -0
  373. package/src/components/input-color/partials/variants.tsx +19 -0
  374. package/src/components/input-date/basic.tsx +4 -19
  375. package/src/components/input-date/partials/cases.tsx +22 -0
  376. package/src/components/input-date/partials/variants.tsx +19 -0
  377. package/src/components/input-email/basic.tsx +4 -29
  378. package/src/components/input-email/partials/cases.tsx +33 -0
  379. package/src/components/input-email/partials/variants.tsx +19 -0
  380. package/src/components/input-file/basic.tsx +4 -24
  381. package/src/components/input-file/partials/cases.tsx +27 -0
  382. package/src/components/input-file/partials/variants.tsx +19 -0
  383. package/src/components/input-number/basic.tsx +4 -29
  384. package/src/components/input-number/partials/cases.tsx +32 -0
  385. package/src/components/input-number/partials/variants.tsx +19 -0
  386. package/src/components/input-password/basic.tsx +4 -27
  387. package/src/components/input-password/partials/cases.tsx +32 -0
  388. package/src/components/input-password/partials/variants.tsx +19 -0
  389. package/src/components/input-password/show-password.tsx +3 -2
  390. package/src/components/input-radio/basic.tsx +4 -45
  391. package/src/components/input-radio/horizontal.tsx +9 -6
  392. package/src/components/input-radio/partials/cases.tsx +56 -0
  393. package/src/components/input-radio/partials/variants.tsx +19 -0
  394. package/src/components/input-radio/select.tsx +1 -1
  395. package/src/components/input-range/basic.tsx +4 -28
  396. package/src/components/input-range/partials/cases.tsx +31 -0
  397. package/src/components/input-range/partials/variants.tsx +19 -0
  398. package/src/components/input-text/basic.tsx +4 -71
  399. package/src/components/input-text/blur.tsx +2 -4
  400. package/src/components/input-text/focus.tsx +8 -6
  401. package/src/components/input-text/partials/cases.tsx +47 -0
  402. package/src/components/input-text/partials/variants.tsx +19 -0
  403. package/src/components/input-text/routes.ts +0 -3
  404. package/src/components/kolibri/animated.tsx +4 -0
  405. package/src/components/kolibri/basic.tsx +4 -0
  406. package/src/components/kolibri/no-label.tsx +4 -0
  407. package/src/components/kolibri/routes.ts +13 -0
  408. package/src/components/link/icons.tsx +5 -5
  409. package/src/components/link/image.tsx +1 -2
  410. package/src/components/link/target.tsx +5 -6
  411. package/src/components/link-group/basic.tsx +9 -0
  412. package/src/components/link-group/horizontal.tsx +9 -0
  413. package/src/components/link-group/routes.ts +6 -1
  414. package/src/components/logo/basic.tsx +5 -0
  415. package/src/components/logo/routes.ts +9 -0
  416. package/src/components/modal/basic.tsx +37 -0
  417. package/src/components/modal/routes.ts +9 -0
  418. package/src/components/nav/active.tsx +2 -2
  419. package/src/components/nav/basic.tsx +2 -2
  420. package/src/components/pagination/basic.tsx +4 -3
  421. package/src/components/popover/basic.tsx +5 -5
  422. package/src/components/quote/basic.tsx +6 -0
  423. package/src/components/quote/block.tsx +17 -0
  424. package/src/components/quote/routes.ts +11 -0
  425. package/src/components/select/basic.tsx +4 -50
  426. package/src/components/select/partials/cases.tsx +67 -0
  427. package/src/components/select/partials/variants.tsx +19 -0
  428. package/src/components/split-button/basic.tsx +7 -35
  429. package/src/components/table/badge-size.tsx +2 -2
  430. package/src/components/table/render-cell.tsx +3 -3
  431. package/src/components/table/routes.ts +4 -2
  432. package/src/components/table/sort-date.tsx +1 -1
  433. package/src/components/table/with-pagination.tsx +22 -0
  434. package/src/components/tabs/basic.tsx +30 -0
  435. package/src/components/tabs/icons-only.tsx +34 -0
  436. package/src/components/tabs/routes.ts +11 -0
  437. package/src/components/textarea/adjust-height.tsx +2 -2
  438. package/src/components/textarea/basic.tsx +4 -10
  439. package/src/components/textarea/counter.tsx +6 -0
  440. package/src/components/textarea/disabled.tsx +1 -1
  441. package/src/components/textarea/partials/cases.tsx +14 -0
  442. package/src/components/textarea/partials/variants.tsx +19 -0
  443. package/src/components/textarea/placeholder.tsx +1 -1
  444. package/src/components/textarea/readonly.tsx +1 -1
  445. package/src/components/textarea/resize.tsx +4 -4
  446. package/src/components/textarea/routes.ts +2 -0
  447. package/src/components/textarea/rows.tsx +1 -1
  448. package/src/components/toast/basic.tsx +2 -2
  449. package/src/components/types.tsx +42 -0
  450. package/src/shares/routes.ts +15 -3
  451. package/src/style.scss +10 -5
  452. package/tsconfig.json +2 -3
  453. package/src/components/button-link/target.tsx +0 -16
  454. package/src/components/input-text/hidden-label.tsx +0 -66
  455. package/test-build.sh +0 -2
@@ -785,56 +785,56 @@ export const HandoutBasic: FC = () => (
785
785
  <KolTabs _ariaLabel="" _selected={0} _tabs={[{ _label: 'Button' }, { _label: 'LinkButton' }, { _label: 'Disabled Tab', _disabled: true }]}>
786
786
  <div className="grid gap-2 py-2">
787
787
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
788
- <KolButton _icon={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
789
- <KolButton _disabled _icon={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
790
- <KolButton _hideLabel _icon="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolButton>
788
+ <KolButton _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
789
+ <KolButton _disabled _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
790
+ <KolButton _hideLabel _icons="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolButton>
791
791
  </div>
792
792
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
793
- <KolButton _icon={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
794
- <KolButton _disabled _icon={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
795
- <KolButton _hideLabel _icon="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolButton>
793
+ <KolButton _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
794
+ <KolButton _disabled _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
795
+ <KolButton _hideLabel _icons="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolButton>
796
796
  </div>
797
797
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
798
- <KolButton _icon={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
799
- <KolButton _disabled _icon={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
800
- <KolButton _hideLabel _icon="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolButton>
798
+ <KolButton _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
799
+ <KolButton _disabled _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
800
+ <KolButton _hideLabel _icons="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolButton>
801
801
  </div>
802
802
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
803
- <KolButton _icon={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
804
- <KolButton _disabled _icon={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
805
- <KolButton _hideLabel _icon="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolButton>
803
+ <KolButton _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
804
+ <KolButton _disabled _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
805
+ <KolButton _hideLabel _icons="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolButton>
806
806
  </div>
807
807
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
808
808
  <KolButton _label="ghost" _variant="ghost"></KolButton>
809
809
  <KolButton _disabled _label="ghost" _variant="ghost"></KolButton>
810
- <KolButton _icon="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolButton>
810
+ <KolButton _icons="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolButton>
811
811
  </div>
812
812
  </div>
813
813
  <div className="grid gap-2 py-2">
814
814
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
815
- <KolLinkButton _href="#" _icon={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
816
- <KolLinkButton _href="#" _disabled _icon={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
817
- <KolLinkButton _href="#" _hideLabel _icon="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolLinkButton>
815
+ <KolLinkButton _href="#" _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
816
+ <KolLinkButton _href="#" _disabled _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
817
+ <KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolLinkButton>
818
818
  </div>
819
819
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
820
- <KolLinkButton _href="#" _icon={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
821
- <KolLinkButton _href="#" _disabled _icon={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
822
- <KolLinkButton _href="#" _hideLabel _icon="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolLinkButton>
820
+ <KolLinkButton _href="#" _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
821
+ <KolLinkButton _href="#" _disabled _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
822
+ <KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolLinkButton>
823
823
  </div>
824
824
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
825
- <KolLinkButton _href="#" _icon={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
826
- <KolLinkButton _href="#" _disabled _icon={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
827
- <KolLinkButton _href="#" _hideLabel _icon="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolLinkButton>
825
+ <KolLinkButton _href="#" _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
826
+ <KolLinkButton _href="#" _disabled _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
827
+ <KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolLinkButton>
828
828
  </div>
829
829
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
830
- <KolLinkButton _href="#" _icon={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
831
- <KolLinkButton _href="#" _disabled _icon={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
832
- <KolLinkButton _href="#" _hideLabel _icon="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolLinkButton>
830
+ <KolLinkButton _href="#" _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
831
+ <KolLinkButton _href="#" _disabled _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
832
+ <KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolLinkButton>
833
833
  </div>
834
834
  <div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
835
835
  <KolLinkButton _href="#" _label="ghost" _variant="ghost"></KolLinkButton>
836
836
  <KolLinkButton _href="#" _disabled _label="ghost" _variant="ghost"></KolLinkButton>
837
- <KolLinkButton _href="#" _icon="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolLinkButton>
837
+ <KolLinkButton _href="#" _icons="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolLinkButton>
838
838
  </div>
839
839
  </div>
840
840
  </KolTabs>
@@ -845,8 +845,8 @@ export const HandoutBasic: FC = () => (
845
845
  <KolAccordion _heading="Links" _level={3} _open>
846
846
  <div className="grid gap-2" slot="content">
847
847
  <KolLink _href="#" _label="Linktext"></KolLink>
848
- <KolLink _href="#" _icon="codicon codicon-home" _label="Linktext mit Icon"></KolLink>
849
- <KolLink _href="#" _icon="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolLink>
848
+ <KolLink _href="#" _icons="codicon codicon-home" _label="Linktext mit Icon"></KolLink>
849
+ <KolLink _href="#" _icons="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolLink>
850
850
  <KolLink _href="/" _label="Besuchter Link"></KolLink>
851
851
  <p>
852
852
  Ich bin ein <KolLink _href="#" _label="externer Link" _target="w3c"></KolLink> im Fließtext.
@@ -859,8 +859,8 @@ export const HandoutBasic: FC = () => (
859
859
  <KolAccordion _heading="ButtonLinks" _level={3}>
860
860
  <div className="grid gap-2" slot="content">
861
861
  <KolButtonLink _label="Linktext"></KolButtonLink>
862
- <KolButtonLink _icon="codicon codicon-home" _label="Linktext mit Icon"></KolButtonLink>
863
- <KolButtonLink _icon="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolButtonLink>
862
+ <KolButtonLink _icons="codicon codicon-home" _label="Linktext mit Icon"></KolButtonLink>
863
+ <KolButtonLink _icons="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolButtonLink>
864
864
  <p>
865
865
  Ich bin ein <KolButtonLink _label="Link"></KolButtonLink> im Fließtext.
866
866
  </p>
@@ -868,7 +868,7 @@ export const HandoutBasic: FC = () => (
868
868
  <KolLogo slot="expert" class="inline-flex w-50" _org={Bundesanstalt['Informationstechnikzentrum Bund']} />
869
869
  </KolButtonLink>
870
870
  <KolButtonLink
871
- _icon={{
871
+ _icons={{
872
872
  left: 'codicon codicon-arrow-left',
873
873
  right: 'codicon codicon-arrow-right',
874
874
  top: 'codicon codicon-arrow-up',
@@ -905,48 +905,48 @@ export const HandoutBasic: FC = () => (
905
905
  _links={[
906
906
  {
907
907
  _label: 'Homepage',
908
- _icon: 'codicon codicon-home',
908
+ _icons: 'codicon codicon-home',
909
909
  _href: '#/',
910
910
  },
911
911
  {
912
912
  _label: '2 Navigation point',
913
- _icon: 'codicon codicon-home',
913
+ _icons: 'codicon codicon-home',
914
914
  _href: '#/untermenu',
915
915
  },
916
916
  {
917
917
  _active: true,
918
918
  _label: '3 Navigation point',
919
919
  _href: '#abc',
920
- _icon: 'codicon codicon-home',
920
+ _icons: 'codicon codicon-home',
921
921
  _children: [
922
922
  {
923
923
  _label: '3.1 Navigation point',
924
- _icon: 'codicon codicon-home',
924
+ _icons: 'codicon codicon-home',
925
925
  _href: '#/',
926
926
  },
927
927
  {
928
928
  _label: '3.2 External navigation point',
929
- _icon: 'codicon codicon-home',
929
+ _icons: 'codicon codicon-home',
930
930
  _href: '#abc',
931
931
  _target: '_blank',
932
932
  },
933
933
  {
934
934
  _label: '3.3 Navigation point',
935
935
  _href: '#abc',
936
- _icon: 'codicon codicon-home',
936
+ _icons: 'codicon codicon-home',
937
937
  _children: [
938
938
  {
939
939
  _active: true,
940
940
  _label: '3.3.1 Navigation point (active)',
941
- _icon: 'codicon codicon-home',
941
+ _icons: 'codicon codicon-home',
942
942
  _href: '#abc',
943
943
  },
944
- { _label: '3.3.2 Navigation point', _icon: 'codicon codicon-home', _href: '#abc' },
944
+ { _label: '3.3.2 Navigation point', _icons: 'codicon codicon-home', _href: '#abc' },
945
945
  ],
946
946
  },
947
947
  ],
948
948
  },
949
- { _label: '3 Navigation point', _icon: 'codicon codicon-home', _href: '#abc' },
949
+ { _label: '3 Navigation point', _icons: 'codicon codicon-home', _href: '#abc' },
950
950
  ]}
951
951
  _hasCompactButton
952
952
  />
@@ -975,7 +975,7 @@ export const HandoutBasic: FC = () => (
975
975
  <KolInputFile>Datei hochladen</KolInputFile>
976
976
  <KolInputNumber>Zahleneingabe</KolInputNumber>
977
977
  <KolInputDate _type="date">Datum</KolInputDate>
978
- <KolInputEmail _icon="{'left': 'codicon codicon-home'}" _error="Test einer Fehlermeldung" _touched>
978
+ <KolInputEmail _icons="{'left': 'codicon codicon-home'}" _error="Test einer Fehlermeldung" _touched>
979
979
  E-Mail-Adresse
980
980
  </KolInputEmail>
981
981
  <KolInputText _hint="Ich bin ein Hinweis.">Vorname</KolInputText>
@@ -1005,7 +1005,7 @@ export const HandoutBasic: FC = () => (
1005
1005
  </div>
1006
1006
  </KolCard>
1007
1007
  </div>
1008
- <KolVersion _version={PackageJson.version}></KolVersion>
1008
+ <KolVersion _version="5.0.2-test.2"></KolVersion>
1009
1009
  {/* <KolImage _src="assets/images/abgrenzung.jpg" _alt="KoliBri Darstellung"></KolImage> */}
1010
1010
  {/* <KolIndentedText></KolIndentedText> */}
1011
1011
  {/* <KolQuote></KolQuote> */}
@@ -6,22 +6,22 @@ import { FC } from 'react';
6
6
  export const HeadingBadged: FC = () => (
7
7
  <div className="grid gap-4">
8
8
  <KolHeading _label="" _level={1}>
9
- Eine Überschrift mit einem <KolBadge _color="red" _label="Label"></KolBadge>
9
+ Eine Überschrift mit einem <KolBadge _color="#f00" _label="Label"></KolBadge>
10
10
  </KolHeading>
11
11
  <KolHeading _label="" _level={2}>
12
- Eine Überschrift mit einem <KolBadge _color="green" _label="Label"></KolBadge>
12
+ Eine Überschrift mit einem <KolBadge _color="#0f0" _label="Label"></KolBadge>
13
13
  </KolHeading>
14
14
  <KolHeading _label="" _level={3}>
15
- Eine Überschrift mit einem <KolBadge _color="blue" _label="Label"></KolBadge>
15
+ Eine Überschrift mit einem <KolBadge _color="#00f" _label="Label"></KolBadge>
16
16
  </KolHeading>
17
17
  <KolHeading _label="" _level={4}>
18
- Eine Überschrift mit einem <KolBadge _color="purple" _label="Label"></KolBadge>
18
+ Eine Überschrift mit einem <KolBadge _color="#800080" _label="Label"></KolBadge>
19
19
  </KolHeading>
20
20
  <KolHeading _label="" _level={5}>
21
- Eine Überschrift mit einem <KolBadge _color="yellow" _label="Label"></KolBadge>
21
+ Eine Überschrift mit einem <KolBadge _color="#ff0" _label="Label"></KolBadge>
22
22
  </KolHeading>
23
23
  <KolHeading _label="" _level={6}>
24
- Eine Überschrift mit einem <KolBadge _color="pink" _label="Label"></KolBadge>
24
+ Eine Überschrift mit einem <KolBadge _color="#ffc0cb" _label="Label"></KolBadge>
25
25
  </KolHeading>
26
26
  </div>
27
27
  );
@@ -5,13 +5,13 @@ import { FC } from 'react';
5
5
 
6
6
  export const IconBasic: FC = () => (
7
7
  <div className="grid gap-4">
8
- <KolIcon _ariaLabel="" _icon="codicon codicon-home" />
8
+ <KolIcon _ariaLabel="" _icons="codicon codicon-home" />
9
9
  <KolIcon
10
10
  style={{
11
11
  color: 'red',
12
12
  }}
13
13
  _ariaLabel=""
14
- _icon="codicon codicon-home"
14
+ _icons="codicon codicon-home"
15
15
  />
16
16
  </div>
17
17
  );
@@ -0,0 +1,5 @@
1
+ import { FC } from 'react';
2
+ import { KolImage } from '@public-ui/react';
3
+ import React from 'react';
4
+
5
+ export const ImageBasic: FC = () => <KolImage _src="https://placehold.co/100x100/cc006e/white" _alt="Beispielbild: 100 × 100" />;
@@ -0,0 +1,9 @@
1
+ import { Routes } from '../../shares/types';
2
+
3
+ import { ImageBasic } from './basic';
4
+
5
+ export const IMAGE_ROUTES: Routes = {
6
+ image: {
7
+ basic: ImageBasic,
8
+ },
9
+ };
@@ -1,37 +1,5 @@
1
- import React from 'react';
2
- import { KolInputCheckbox } from '@public-ui/react';
1
+ import React, { FC } from 'react';
2
+ import { FormWrap } from '../FormWrap';
3
+ import { InputCheckboxVariants } from './partials/variants';
3
4
 
4
- import { FC } from 'react';
5
-
6
- import { ERROR_MSG } from '../../shares/constants';
7
-
8
- export const InputCheckboxBasic: FC = () => (
9
- <>
10
- <fieldset>
11
- <legend>Checkbox</legend>
12
- <KolInputCheckbox _variant="checkbox" _label="Nicht ausgewählt" _value={false} />
13
- <KolInputCheckbox _variant="checkbox" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
14
- <KolInputCheckbox _variant="checkbox" _label="Ausgewählt" _value={true} _checked />
15
- <KolInputCheckbox _variant="checkbox" _label="Disabled" _value={true} _disabled />
16
- <KolInputCheckbox _variant="checkbox" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
17
- </fieldset>
18
-
19
- <fieldset>
20
- <legend>Switch</legend>
21
- <KolInputCheckbox _variant="switch" _label="Nicht ausgewählt" _value={false} />
22
- <KolInputCheckbox _variant="switch" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
23
- <KolInputCheckbox _variant="switch" _label="Ausgewählt" _value={true} _checked />
24
- <KolInputCheckbox _variant="switch" _label="Disabled" _value={true} _disabled />
25
- <KolInputCheckbox _variant="switch" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
26
- </fieldset>
27
-
28
- <fieldset>
29
- <legend>Button</legend>
30
- <KolInputCheckbox _variant="button" _label="Nicht ausgewählt" _value={false} />
31
- <KolInputCheckbox _variant="button" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
32
- <KolInputCheckbox _variant="button" _label="Ausgewählt" _value={true} _checked />
33
- <KolInputCheckbox _variant="button" _label="Disabled" _value={true} _disabled />
34
- <KolInputCheckbox _variant="button" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
35
- </fieldset>
36
- </>
37
- );
5
+ export const InputCheckboxBasic: FC = () => <FormWrap RefComponent={InputCheckboxVariants} />;
@@ -0,0 +1,5 @@
1
+ import React, { FC } from 'react';
2
+ import { FormWrap } from '../FormWrap';
3
+ import { InputCheckboxVariants } from './partials/variants';
4
+
5
+ export const InputCheckboxButton: FC = () => <FormWrap RefComponent={InputCheckboxVariants} _variant="button" />;
@@ -0,0 +1,62 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { KolInputCheckbox } from '@public-ui/react';
4
+
5
+ import { Components } from '@public-ui/components';
6
+ import { ERROR_MSG } from '../../../shares/constants';
7
+
8
+ export const InputCheckboxCases = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxCases(props, ref) {
9
+ return (
10
+ <div className="grid gap-4">
11
+ <KolInputCheckbox
12
+ {...props}
13
+ _icons={{
14
+ unchecked: 'codicon codicon-close',
15
+ }}
16
+ _label="Nicht ausgewählt"
17
+ _value={false}
18
+ />
19
+ <KolInputCheckbox
20
+ {...props}
21
+ _icons={{
22
+ unchecked: 'codicon codicon-close',
23
+ }}
24
+ _label="Unbestimmt (Indeterminate)"
25
+ _value={null}
26
+ _indeterminate
27
+ />
28
+ <KolInputCheckbox
29
+ {...props}
30
+ ref={ref}
31
+ _checked
32
+ _icons={{
33
+ unchecked: 'codicon codicon-close',
34
+ }}
35
+ _label="Ausgewählt"
36
+ _tooltipAlign="right"
37
+ _value={true}
38
+ />
39
+ <KolInputCheckbox
40
+ {...props}
41
+ _disabled
42
+ _icons={{
43
+ unchecked: 'codicon codicon-close',
44
+ }}
45
+ _label="Disabled"
46
+ _value={true}
47
+ _hint="Hint text"
48
+ />
49
+ <KolInputCheckbox
50
+ {...props}
51
+ _error={ERROR_MSG}
52
+ _icons={{
53
+ unchecked: 'codicon codicon-close',
54
+ }}
55
+ _label="Mit Fehler"
56
+ _touched
57
+ _value={true}
58
+ _hint="Hint text"
59
+ />
60
+ </div>
61
+ );
62
+ });
@@ -0,0 +1,19 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { Components } from '@public-ui/components';
4
+ import { InputCheckboxCases } from './cases';
5
+
6
+ export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxVariant(props, ref) {
7
+ return (
8
+ <div className="grid md:grid-cols-2 gap-4">
9
+ <fieldset>
10
+ <legend>Checkbox</legend>
11
+ <InputCheckboxCases {...props} />
12
+ </fieldset>
13
+ <fieldset>
14
+ <legend>Checkbox (hideLabel)</legend>
15
+ <InputCheckboxCases ref={ref} {...props} _hideLabel />
16
+ </fieldset>
17
+ </div>
18
+ );
19
+ });
@@ -1,9 +1,13 @@
1
1
  import { Routes } from '../../shares/types';
2
2
 
3
3
  import { InputCheckboxBasic } from './basic';
4
+ import { InputCheckboxButton } from './button';
5
+ import { InputCheckboxSwitch } from './switch';
4
6
 
5
7
  export const INPUT_CHECKBOX_ROUTES: Routes = {
6
8
  'input-checkbox': {
7
9
  basic: InputCheckboxBasic,
10
+ switch: InputCheckboxSwitch,
11
+ button: InputCheckboxButton,
8
12
  },
9
13
  };
@@ -0,0 +1,5 @@
1
+ import React, { FC } from 'react';
2
+ import { InputCheckboxVariants } from './partials/variants';
3
+ import { FormWrap } from '../FormWrap';
4
+
5
+ export const InputCheckboxSwitch: FC = () => <FormWrap RefComponent={InputCheckboxVariants} _variant="switch" />;
@@ -1,29 +1,5 @@
1
- import React from 'react';
2
- import { KolForm, KolInputColor } from '@public-ui/react';
1
+ import React, { FC } from 'react';
2
+ import { FormWrap } from '../FormWrap';
3
+ import { InputColorVariants } from './partials/variants';
3
4
 
4
- import { FC } from 'react';
5
-
6
- import { ERROR_MSG } from '../../shares/constants';
7
-
8
- export const InputColorBasic: FC = () => (
9
- <KolForm className="grid gap-4">
10
- <KolInputColor
11
- _id="farbe"
12
- _name="farbe"
13
- _value="#ff0000"
14
- _error={ERROR_MSG}
15
- _label="Farbe"
16
- _icon={{
17
- left: {
18
- icon: 'codicon codicon-arrow-left',
19
- },
20
- right: {
21
- icon: 'codicon codicon-arrow-right',
22
- },
23
- }}
24
- />
25
- <KolInputColor _id="farb1" _label="Farbe" _list="['#000000','#ff0000', '#0000ff','#00ff00']" _error={ERROR_MSG} />
26
- <KolInputColor _id="farbe2" _hint="Hilfetext" _value="#ff0000" _label="Farbe (Disabled)" />
27
- <KolInputColor _disabled _id="farbe3" _value="#ff0000" _label="Farbe (Disabled)" />
28
- </KolForm>
29
- );
5
+ export const InputColorBasic: FC = () => <FormWrap RefComponent={InputColorVariants} />;
@@ -0,0 +1,25 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { KolInputColor } from '@public-ui/react';
4
+
5
+ import { Components } from '@public-ui/components';
6
+ import { ERROR_MSG } from '../../../shares/constants';
7
+
8
+ export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorCases(props, ref) {
9
+ return (
10
+ <div className="grid gap-4">
11
+ <KolInputColor
12
+ {...props}
13
+ _error={ERROR_MSG}
14
+ _icons={{
15
+ left: 'codicon codicon-symbol-color',
16
+ }}
17
+ _label="Color"
18
+ _value="#f08080"
19
+ />
20
+ <KolInputColor {...props} _error={ERROR_MSG} _label="Color with error" _list="['#000000','#f08080', '#0000ff','#00ff00']" _touched />
21
+ <KolInputColor {...props} ref={ref} _hint="Hint text" _label="Color with hint" _value="#f08080" />
22
+ <KolInputColor {...props} _disabled _label="Color (Disabled)" _value="#f08080" />
23
+ </div>
24
+ );
25
+ });
@@ -0,0 +1,19 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { Components } from '@public-ui/components';
4
+ import { InputColorCases } from './cases';
5
+
6
+ export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorVariant(props, ref) {
7
+ return (
8
+ <div className="grid md:grid-cols-2 gap-4">
9
+ <fieldset>
10
+ <legend>Color</legend>
11
+ <InputColorCases {...props} />
12
+ </fieldset>
13
+ <fieldset>
14
+ <legend>Color (hideLabel)</legend>
15
+ <InputColorCases ref={ref} {...props} _hideLabel />
16
+ </fieldset>
17
+ </div>
18
+ );
19
+ });
@@ -1,20 +1,5 @@
1
- import React from 'react';
2
- import { KolForm, KolInputDate } from '@public-ui/react';
1
+ import React, { FC } from 'react';
2
+ import { FormWrap } from '../FormWrap';
3
+ import { InputDateVariants } from './partials/variants';
3
4
 
4
- import { FC } from 'react';
5
-
6
- import { ERROR_MSG } from '../../shares/constants';
7
-
8
- export const InputDateBasic: FC = () => (
9
- <KolForm className="grid gap-4">
10
- <KolInputDate _id="date1" _type="date" _label="Datumseingabe" />
11
- <KolInputDate _id="datetime-local1" _type="datetime-local" _label="Local-Datetime (Standard)" />
12
- <KolInputDate _id="datetime-local2" _step={1} _type="datetime-local" _error={ERROR_MSG} _label="Local-Datetime (mit Sekunden)" />
13
- <KolInputDate _id="month" _type="month" _label="Monat" />
14
- <KolInputDate _id="week" _type="week" _label="Woche" />
15
- <KolInputDate _id="time" _type="time" _label="Zeit (Standard)" />
16
- <KolInputDate _id="time" _step={1} _type="time" _label="Zeit (mit Sekunden)" />
17
- <KolInputDate _id="date2" _read-only _label="Zahleneingabe (Readonly)" />
18
- <KolInputDate _disabled _id="date3" _label="Zahleneingabe (Disabled)" />
19
- </KolForm>
20
- );
5
+ export const InputDateBasic: FC = () => <FormWrap RefComponent={InputDateVariants} />;
@@ -0,0 +1,22 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { KolInputDate } from '@public-ui/react';
4
+
5
+ import { Components } from '@public-ui/components';
6
+ import { ERROR_MSG } from '../../../shares/constants';
7
+
8
+ export const InputDateCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props, ref) {
9
+ return (
10
+ <div className="grid gap-4">
11
+ <KolInputDate {...props} _type="date" _label="Datumseingabe" _required />
12
+ <KolInputDate {...props} _type="datetime-local" _label="Local-Datetime (Standard)" _required />
13
+ <KolInputDate {...props} _step={1} _type="datetime-local" _error={ERROR_MSG} _label="Local-Datetime (mit Sekunden)" _required _touched />
14
+ <KolInputDate {...props} _type="month" _label="Monat" _required />
15
+ <KolInputDate {...props} ref={ref} _type="week" _label="Woche" _required />
16
+ <KolInputDate {...props} _type="time" _label="Zeit (Standard)" _required />
17
+ <KolInputDate {...props} _step={1} _type="time" _label="Zeit (mit Sekunden)" _required />
18
+ <KolInputDate {...props} _readOnly _label="Zahleneingabe (Readonly)" _required />
19
+ <KolInputDate {...props} _disabled _label="Zahleneingabe (Disabled)" _required />
20
+ </div>
21
+ );
22
+ });
@@ -0,0 +1,19 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { Components } from '@public-ui/components';
4
+ import { InputDateCases } from './cases';
5
+
6
+ export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
7
+ return (
8
+ <div className="grid md:grid-cols-2 gap-4">
9
+ <fieldset>
10
+ <legend>Date</legend>
11
+ <InputDateCases {...props} />
12
+ </fieldset>
13
+ <fieldset>
14
+ <legend>Date (hideLabel)</legend>
15
+ <InputDateCases ref={ref} {...props} _hideLabel />
16
+ </fieldset>
17
+ </div>
18
+ );
19
+ });
@@ -1,30 +1,5 @@
1
- import React from 'react';
2
- import { KolInputEmail, KolForm } from '@public-ui/react';
1
+ import React, { FC } from 'react';
2
+ import { FormWrap } from '../FormWrap';
3
+ import { InputEmailVariants } from './partials/variants';
3
4
 
4
- import { FC } from 'react';
5
-
6
- import { ERROR_MSG } from '../../shares/constants';
7
-
8
- export const InputEmailBasic: FC = () => (
9
- <KolForm className="grid gap-4">
10
- <KolInputEmail _id="email" _required _value="test@mail.de" _error={ERROR_MSG} _label="E-Mail" />
11
- <KolInputEmail
12
- _id="email1"
13
- _name="email1"
14
- _placeholder="elke@mustermann.de"
15
- _list="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
16
- _label="E-Mail (Liste)"
17
- _error={ERROR_MSG}
18
- _icon={{
19
- left: {
20
- icon: 'codicon codicon-arrow-left',
21
- },
22
- right: {
23
- icon: 'codicon codicon-arrow-right',
24
- },
25
- }}
26
- />
27
- <KolInputEmail _disabled _id="email2" _value="test@mail.de" _label="E-Mail (Disabled)" />
28
- <KolInputEmail _id="email3" _read-only _value="test@mail.de" _label="E-Mail (Readonly)" />
29
- </KolForm>
30
- );
5
+ export const InputEmailBasic: FC = () => <FormWrap RefComponent={InputEmailVariants} />;
@@ -0,0 +1,33 @@
1
+ import React, { forwardRef } from 'react';
2
+
3
+ import { KolInputEmail } from '@public-ui/react';
4
+
5
+ import { Components } from '@public-ui/components';
6
+ import { ERROR_MSG } from '../../../shares/constants';
7
+
8
+ export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailCases(props, ref) {
9
+ return (
10
+ <div className="grid gap-4">
11
+ <KolInputEmail {...props} _required _value="test@mail.de" _error={ERROR_MSG} _label="E-Mail" />
12
+ <KolInputEmail
13
+ {...props}
14
+ ref={ref}
15
+ _placeholder="elke@mustermann.de"
16
+ _list="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
17
+ _label="E-Mail (Liste)"
18
+ _error={ERROR_MSG}
19
+ _touched
20
+ _icons={{
21
+ left: {
22
+ icon: 'codicon codicon-arrow-left',
23
+ },
24
+ right: {
25
+ icon: 'codicon codicon-arrow-right',
26
+ },
27
+ }}
28
+ />
29
+ <KolInputEmail {...props} _disabled _value="test@mail.de" _label="E-Mail (Disabled)" />
30
+ <KolInputEmail {...props} _readOnly _value="test@mail.de" _label="E-Mail (Readonly)" />
31
+ </div>
32
+ );
33
+ });