@public-ui/components 3.0.0-rc.2 → 3.0.0-rc.3

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 (711) hide show
  1. package/custom-elements.json +21 -27
  2. package/dist/cjs/{Alert-9bb150c8.js → Alert-c27de938.js} +1 -1
  3. package/dist/cjs/{Alert-9bb150c8.js.map → Alert-c27de938.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-a2871736.js → Collapsible-55fa3efa.js} +1 -1
  5. package/dist/cjs/{Collapsible-a2871736.js.map → Collapsible-55fa3efa.js.map} +1 -1
  6. package/dist/cjs/FieldControlStateWrapper-9455d520.js +4 -0
  7. package/dist/cjs/FieldControlStateWrapper-9455d520.js.map +1 -0
  8. package/dist/cjs/FormFieldMsg-01eb416d.js +4 -0
  9. package/dist/cjs/FormFieldMsg-01eb416d.js.map +1 -0
  10. package/dist/cjs/{Heading-e094a82c.js → Heading-3ca40a2f.js} +1 -1
  11. package/dist/cjs/{Heading-e094a82c.js.map → Heading-3ca40a2f.js.map} +1 -1
  12. package/dist/cjs/Icon-32d99aab.js +4 -0
  13. package/dist/cjs/{Icon-1c216a0b.js.map → Icon-32d99aab.js.map} +1 -1
  14. package/dist/cjs/Input-a4e89629.js +4 -0
  15. package/dist/cjs/Input-a4e89629.js.map +1 -0
  16. package/dist/cjs/InputContainerStateWrapper-22ba3666.js +4 -0
  17. package/dist/cjs/InputContainerStateWrapper-22ba3666.js.map +1 -0
  18. package/dist/cjs/InputStateWrapper-d42c16fa.js +4 -0
  19. package/dist/cjs/InputStateWrapper-d42c16fa.js.map +1 -0
  20. package/dist/cjs/{InternalUnderlinedBadgeText-40b98d06.js → InternalUnderlinedBadgeText-ccc2e00b.js} +1 -1
  21. package/dist/cjs/{InternalUnderlinedBadgeText-40b98d06.js.map → InternalUnderlinedBadgeText-ccc2e00b.js.map} +1 -1
  22. package/dist/cjs/{Span-ce0201ad.js → Span-c07bdc7d.js} +1 -1
  23. package/dist/cjs/{Span-ce0201ad.js.map → Span-c07bdc7d.js.map} +1 -1
  24. package/dist/cjs/access-and-short-key-12a097ab.js.map +1 -1
  25. package/dist/cjs/align-b9732b91.js.map +1 -1
  26. package/dist/cjs/{align-floating-elements-fdc6eb39.js → align-floating-elements-1d37261b.js} +1 -1
  27. package/dist/cjs/align-floating-elements-1d37261b.js.map +1 -0
  28. package/dist/cjs/{app-globals-f7cbe009.js → app-globals-f0632f5b.js} +1 -1
  29. package/dist/cjs/{app-globals-f7cbe009.js.map → app-globals-f0632f5b.js.map} +1 -1
  30. package/dist/cjs/{controller-05315f00.js → controller-38fc5879.js} +1 -1
  31. package/dist/cjs/{controller-05315f00.js.map → controller-38fc5879.js.map} +1 -1
  32. package/dist/cjs/{controller-2522dc37.js → controller-7c927f9c.js} +1 -1
  33. package/dist/cjs/{controller-2522dc37.js.map → controller-7c927f9c.js.map} +1 -1
  34. package/dist/cjs/{controller-5e1e0ecf.js → controller-8146a18f.js} +1 -1
  35. package/dist/cjs/{controller-5e1e0ecf.js.map → controller-8146a18f.js.map} +1 -1
  36. package/dist/cjs/{controller-cdb37bb6.js → controller-b5cf9699.js} +1 -1
  37. package/dist/cjs/{controller-cdb37bb6.js.map → controller-b5cf9699.js.map} +1 -1
  38. package/dist/cjs/{controller-icon-3e50b371.js → controller-icon-b7e1a51b.js} +1 -1
  39. package/dist/cjs/{controller-icon-3e50b371.js.map → controller-icon-b7e1a51b.js.map} +1 -1
  40. package/dist/cjs/{dev.utils-6469f442.js → dev.utils-3a47cd09.js} +1 -1
  41. package/dist/cjs/{dev.utils-6469f442.js.map → dev.utils-3a47cd09.js.map} +1 -1
  42. package/dist/cjs/{devtools-b2565951.js → devtools-91a85d36.js} +1 -1
  43. package/dist/cjs/{devtools-b2565951.js.map → devtools-91a85d36.js.map} +1 -1
  44. package/dist/cjs/getRenderStates-5862fd91.js +4 -0
  45. package/dist/cjs/getRenderStates-5862fd91.js.map +1 -0
  46. package/dist/cjs/href-2485cb51.js.map +1 -1
  47. package/dist/cjs/{index-56ff9cf2.js → index-3b0357df.js} +1 -1
  48. package/dist/cjs/{index-56ff9cf2.js.map → index-3b0357df.js.map} +1 -1
  49. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-abbr.cjs.entry.js.map +1 -1
  51. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-accordion.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  55. package/dist/cjs/kol-alert.cjs.entry.js.map +1 -1
  56. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  57. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-avatar.cjs.entry.js.map +1 -1
  59. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-badge.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-breadcrumb.cjs.entry.js.map +1 -1
  63. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  64. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  65. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  66. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  67. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  68. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  69. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-card.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  73. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  74. package/dist/cjs/kol-details.cjs.entry.js.map +1 -1
  75. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  76. package/dist/cjs/kol-drawer.cjs.entry.js.map +1 -1
  77. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-form.cjs.entry.js.map +1 -1
  79. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-heading.cjs.entry.js.map +1 -1
  81. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  82. package/dist/cjs/kol-icon.cjs.entry.js.map +1 -1
  83. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-image.cjs.entry.js.map +1 -1
  85. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  91. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  93. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  95. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  97. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  99. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-input-radio.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  103. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  105. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  107. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-kolibri.cjs.entry.js.map +1 -1
  109. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  110. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  111. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  112. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  113. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  114. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  115. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-modal.cjs.entry.js.map +1 -1
  117. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  118. package/dist/cjs/kol-nav.cjs.entry.js.map +1 -1
  119. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  120. package/dist/cjs/kol-pagination.cjs.entry.js.map +1 -1
  121. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  122. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  123. package/dist/cjs/kol-progress.cjs.entry.js.map +1 -1
  124. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  125. package/dist/cjs/kol-quote.cjs.entry.js.map +1 -1
  126. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  127. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  128. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  129. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  130. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  131. package/dist/cjs/kol-skip-nav.cjs.entry.js.map +1 -1
  132. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  133. package/dist/cjs/kol-spin.cjs.entry.js.map +1 -1
  134. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  135. package/dist/cjs/kol-split-button.cjs.entry.js.map +1 -1
  136. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  137. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  138. package/dist/cjs/kol-table-stateful.cjs.entry.js.map +1 -1
  139. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  140. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  141. package/dist/cjs/kol-table-stateless.cjs.entry.js.map +1 -1
  142. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  143. package/dist/cjs/kol-tabs.cjs.entry.js.map +1 -1
  144. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  145. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  146. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  147. package/dist/cjs/kol-toast-container.cjs.entry.js.map +1 -1
  148. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  149. package/dist/cjs/kol-toolbar.cjs.entry.js.map +1 -1
  150. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  151. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  152. package/dist/cjs/kol-tree-item-wc.cjs.entry.js.map +1 -1
  153. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  154. package/dist/cjs/kol-tree-item.cjs.entry.js.map +1 -1
  155. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  156. package/dist/cjs/kol-tree-wc.cjs.entry.js.map +1 -1
  157. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  158. package/dist/cjs/kol-tree.cjs.entry.js.map +1 -1
  159. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  160. package/dist/cjs/kol-version.cjs.entry.js.map +1 -1
  161. package/dist/cjs/kolibri.cjs.js +1 -1
  162. package/dist/cjs/label-b8654499.js.map +1 -1
  163. package/dist/cjs/loader.cjs.js +1 -1
  164. package/dist/cjs/msg-3d7a0f7b.js +4 -0
  165. package/dist/{kolibri/msg-93978a32.js.map → cjs/msg-3d7a0f7b.js.map} +1 -1
  166. package/dist/cjs/open-5c1af49f.js.map +1 -1
  167. package/dist/cjs/test-component.cjs.entry.js +1 -1
  168. package/dist/components/FieldControlStateWrapper.js +4 -0
  169. package/dist/components/FieldControlStateWrapper.js.map +1 -0
  170. package/dist/components/FormFieldMsg.js +1 -1
  171. package/dist/components/FormFieldMsg.js.map +1 -1
  172. package/dist/components/Input.js +4 -0
  173. package/dist/components/Input.js.map +1 -0
  174. package/dist/components/InputContainerStateWrapper.js +1 -1
  175. package/dist/components/InputContainerStateWrapper.js.map +1 -1
  176. package/dist/components/InputStateWrapper.js +1 -1
  177. package/dist/components/InputStateWrapper.js.map +1 -1
  178. package/dist/components/access-and-short-key.js.map +1 -1
  179. package/dist/components/align-floating-elements.js +1 -1
  180. package/dist/components/align-floating-elements.js.map +1 -1
  181. package/dist/components/align.js.map +1 -1
  182. package/dist/components/getRenderStates.js +1 -1
  183. package/dist/components/getRenderStates.js.map +1 -1
  184. package/dist/components/href.js.map +1 -1
  185. package/dist/components/kol-abbr.js +1 -1
  186. package/dist/components/kol-abbr.js.map +1 -1
  187. package/dist/components/kol-accordion.js +1 -1
  188. package/dist/components/kol-accordion.js.map +1 -1
  189. package/dist/components/kol-alert.js +1 -1
  190. package/dist/components/kol-alert.js.map +1 -1
  191. package/dist/components/kol-avatar.js +1 -1
  192. package/dist/components/kol-avatar.js.map +1 -1
  193. package/dist/components/kol-badge.js +1 -1
  194. package/dist/components/kol-badge.js.map +1 -1
  195. package/dist/components/kol-breadcrumb.js +1 -1
  196. package/dist/components/kol-breadcrumb.js.map +1 -1
  197. package/dist/components/kol-button-link.js +1 -1
  198. package/dist/components/kol-button-link.js.map +1 -1
  199. package/dist/components/kol-button-wc.js.map +1 -1
  200. package/dist/components/kol-button.js +1 -1
  201. package/dist/components/kol-button.js.map +1 -1
  202. package/dist/components/kol-card.js +1 -1
  203. package/dist/components/kol-card.js.map +1 -1
  204. package/dist/components/kol-combobox.js +1 -1
  205. package/dist/components/kol-combobox.js.map +1 -1
  206. package/dist/components/kol-details.js +1 -1
  207. package/dist/components/kol-details.js.map +1 -1
  208. package/dist/components/kol-drawer.js +1 -1
  209. package/dist/components/kol-drawer.js.map +1 -1
  210. package/dist/components/kol-form.js +1 -1
  211. package/dist/components/kol-form.js.map +1 -1
  212. package/dist/components/kol-heading.js +1 -1
  213. package/dist/components/kol-heading.js.map +1 -1
  214. package/dist/components/kol-icon.js +1 -1
  215. package/dist/components/kol-icon.js.map +1 -1
  216. package/dist/components/kol-image.js +1 -1
  217. package/dist/components/kol-image.js.map +1 -1
  218. package/dist/components/kol-input-checkbox.js +1 -1
  219. package/dist/components/kol-input-checkbox.js.map +1 -1
  220. package/dist/components/kol-input-color.js +1 -1
  221. package/dist/components/kol-input-color.js.map +1 -1
  222. package/dist/components/kol-input-date.js +1 -1
  223. package/dist/components/kol-input-date.js.map +1 -1
  224. package/dist/components/kol-input-email.js +1 -1
  225. package/dist/components/kol-input-email.js.map +1 -1
  226. package/dist/components/kol-input-file.js +1 -1
  227. package/dist/components/kol-input-file.js.map +1 -1
  228. package/dist/components/kol-input-number.js +1 -1
  229. package/dist/components/kol-input-number.js.map +1 -1
  230. package/dist/components/kol-input-password.js +1 -1
  231. package/dist/components/kol-input-password.js.map +1 -1
  232. package/dist/components/kol-input-radio.js +1 -1
  233. package/dist/components/kol-input-radio.js.map +1 -1
  234. package/dist/components/kol-input-range.js +1 -1
  235. package/dist/components/kol-input-range.js.map +1 -1
  236. package/dist/components/kol-input-text.js +1 -1
  237. package/dist/components/kol-input-text.js.map +1 -1
  238. package/dist/components/kol-input.js +1 -1
  239. package/dist/components/kol-input.js.map +1 -1
  240. package/dist/components/kol-kolibri.js +1 -1
  241. package/dist/components/kol-kolibri.js.map +1 -1
  242. package/dist/components/kol-link-button.js +1 -1
  243. package/dist/components/kol-link-button.js.map +1 -1
  244. package/dist/components/kol-link-wc.js +1 -1
  245. package/dist/components/kol-link-wc.js.map +1 -1
  246. package/dist/components/kol-link.js +1 -1
  247. package/dist/components/kol-link.js.map +1 -1
  248. package/dist/components/kol-modal.js +1 -1
  249. package/dist/components/kol-modal.js.map +1 -1
  250. package/dist/components/kol-nav.js +1 -1
  251. package/dist/components/kol-nav.js.map +1 -1
  252. package/dist/components/kol-pagination.js +1 -1
  253. package/dist/components/kol-pagination.js.map +1 -1
  254. package/dist/components/kol-popover-wc.js +1 -1
  255. package/dist/components/kol-progress.js +1 -1
  256. package/dist/components/kol-progress.js.map +1 -1
  257. package/dist/components/kol-quote.js +1 -1
  258. package/dist/components/kol-quote.js.map +1 -1
  259. package/dist/components/kol-select.js +1 -1
  260. package/dist/components/kol-select.js.map +1 -1
  261. package/dist/components/kol-single-select.js +1 -1
  262. package/dist/components/kol-single-select.js.map +1 -1
  263. package/dist/components/kol-skip-nav.js +1 -1
  264. package/dist/components/kol-skip-nav.js.map +1 -1
  265. package/dist/components/kol-spin.js +1 -1
  266. package/dist/components/kol-spin.js.map +1 -1
  267. package/dist/components/kol-split-button.js +1 -1
  268. package/dist/components/kol-split-button.js.map +1 -1
  269. package/dist/components/kol-symbol.js +1 -1
  270. package/dist/components/kol-table-stateful.js +1 -1
  271. package/dist/components/kol-table-stateful.js.map +1 -1
  272. package/dist/components/kol-table-stateless-wc.js +1 -1
  273. package/dist/components/kol-table-stateless.js +1 -1
  274. package/dist/components/kol-table-stateless.js.map +1 -1
  275. package/dist/components/kol-tabs.js +1 -1
  276. package/dist/components/kol-tabs.js.map +1 -1
  277. package/dist/components/kol-textarea.js +1 -1
  278. package/dist/components/kol-textarea.js.map +1 -1
  279. package/dist/components/kol-toast-container.js +1 -1
  280. package/dist/components/kol-toast-container.js.map +1 -1
  281. package/dist/components/kol-toolbar.js +1 -1
  282. package/dist/components/kol-toolbar.js.map +1 -1
  283. package/dist/components/kol-tooltip-wc.js +1 -1
  284. package/dist/components/kol-tree-item-wc.js +1 -1
  285. package/dist/components/kol-tree-item-wc.js.map +1 -1
  286. package/dist/components/kol-tree-item.js +1 -1
  287. package/dist/components/kol-tree-item.js.map +1 -1
  288. package/dist/components/kol-tree-wc.js +1 -1
  289. package/dist/components/kol-tree-wc.js.map +1 -1
  290. package/dist/components/kol-tree.js +1 -1
  291. package/dist/components/kol-tree.js.map +1 -1
  292. package/dist/components/kol-version.js +1 -1
  293. package/dist/components/kol-version.js.map +1 -1
  294. package/dist/components/label.js.map +1 -1
  295. package/dist/components/msg.js +1 -1
  296. package/dist/components/msg.js.map +1 -1
  297. package/dist/components/open.js.map +1 -1
  298. package/dist/esm/{Alert-210f80e8.js → Alert-130db08c.js} +1 -1
  299. package/dist/esm/{Alert-210f80e8.js.map → Alert-130db08c.js.map} +1 -1
  300. package/dist/esm/{Collapsible-83f17a92.js → Collapsible-ec3d6bd1.js} +1 -1
  301. package/dist/esm/{Collapsible-83f17a92.js.map → Collapsible-ec3d6bd1.js.map} +1 -1
  302. package/dist/esm/FieldControlStateWrapper-5e88de58.js +4 -0
  303. package/dist/esm/FieldControlStateWrapper-5e88de58.js.map +1 -0
  304. package/dist/esm/FormFieldMsg-12e502c7.js +4 -0
  305. package/dist/esm/FormFieldMsg-12e502c7.js.map +1 -0
  306. package/dist/esm/{Heading-def0af88.js → Heading-401912a9.js} +1 -1
  307. package/dist/esm/{Heading-def0af88.js.map → Heading-401912a9.js.map} +1 -1
  308. package/dist/esm/Icon-0a8aaa01.js +4 -0
  309. package/dist/esm/{Icon-5d99f9b6.js.map → Icon-0a8aaa01.js.map} +1 -1
  310. package/dist/esm/Input-199b40e8.js +4 -0
  311. package/dist/esm/Input-199b40e8.js.map +1 -0
  312. package/dist/esm/InputContainerStateWrapper-5cf1f1e5.js +4 -0
  313. package/dist/esm/InputContainerStateWrapper-5cf1f1e5.js.map +1 -0
  314. package/dist/esm/InputStateWrapper-14a4f1d3.js +4 -0
  315. package/dist/esm/InputStateWrapper-14a4f1d3.js.map +1 -0
  316. package/dist/esm/InternalUnderlinedBadgeText-8e356b64.js +4 -0
  317. package/dist/esm/{InternalUnderlinedBadgeText-f618013b.js.map → InternalUnderlinedBadgeText-8e356b64.js.map} +1 -1
  318. package/dist/esm/{Span-0619f989.js → Span-13852fea.js} +1 -1
  319. package/dist/esm/{Span-0619f989.js.map → Span-13852fea.js.map} +1 -1
  320. package/dist/esm/access-and-short-key-9cca88b8.js.map +1 -1
  321. package/dist/esm/align-4719d626.js.map +1 -1
  322. package/dist/esm/{align-floating-elements-a8debc3a.js → align-floating-elements-db77d917.js} +1 -1
  323. package/dist/esm/align-floating-elements-db77d917.js.map +1 -0
  324. package/dist/esm/{app-globals-f90e0166.js → app-globals-3f2c3965.js} +1 -1
  325. package/dist/esm/{app-globals-f90e0166.js.map → app-globals-3f2c3965.js.map} +1 -1
  326. package/dist/esm/{controller-cc41fe9f.js → controller-0434e53f.js} +1 -1
  327. package/dist/esm/{controller-cc41fe9f.js.map → controller-0434e53f.js.map} +1 -1
  328. package/dist/esm/{controller-38dd835b.js → controller-4075dfc7.js} +1 -1
  329. package/dist/esm/{controller-38dd835b.js.map → controller-4075dfc7.js.map} +1 -1
  330. package/dist/esm/{controller-768ea58e.js → controller-73c1e790.js} +1 -1
  331. package/dist/esm/{controller-768ea58e.js.map → controller-73c1e790.js.map} +1 -1
  332. package/dist/esm/{controller-4af5f563.js → controller-fae9f200.js} +1 -1
  333. package/dist/esm/{controller-4af5f563.js.map → controller-fae9f200.js.map} +1 -1
  334. package/dist/esm/{controller-icon-ebd41784.js → controller-icon-d99920a4.js} +1 -1
  335. package/dist/esm/{controller-icon-ebd41784.js.map → controller-icon-d99920a4.js.map} +1 -1
  336. package/dist/esm/{dev.utils-47d07d5b.js → dev.utils-a3bfded4.js} +1 -1
  337. package/dist/esm/{dev.utils-47d07d5b.js.map → dev.utils-a3bfded4.js.map} +1 -1
  338. package/dist/esm/{devtools-17ed9dde.js → devtools-eb468601.js} +1 -1
  339. package/dist/esm/{devtools-17ed9dde.js.map → devtools-eb468601.js.map} +1 -1
  340. package/dist/esm/getRenderStates-f8d64e58.js +4 -0
  341. package/dist/esm/getRenderStates-f8d64e58.js.map +1 -0
  342. package/dist/esm/href-d8ec67f8.js.map +1 -1
  343. package/dist/esm/{index-8a5f476c.js → index-095473f8.js} +1 -1
  344. package/dist/esm/{index-8a5f476c.js.map → index-095473f8.js.map} +1 -1
  345. package/dist/esm/kol-abbr.entry.js +1 -1
  346. package/dist/esm/kol-abbr.entry.js.map +1 -1
  347. package/dist/esm/kol-accordion.entry.js +1 -1
  348. package/dist/esm/kol-accordion.entry.js.map +1 -1
  349. package/dist/esm/kol-alert-wc.entry.js +1 -1
  350. package/dist/esm/kol-alert.entry.js +1 -1
  351. package/dist/esm/kol-alert.entry.js.map +1 -1
  352. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  353. package/dist/esm/kol-avatar.entry.js +1 -1
  354. package/dist/esm/kol-avatar.entry.js.map +1 -1
  355. package/dist/esm/kol-badge.entry.js +1 -1
  356. package/dist/esm/kol-badge.entry.js.map +1 -1
  357. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  358. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  359. package/dist/esm/kol-button-link.entry.js +1 -1
  360. package/dist/esm/kol-button-link.entry.js.map +1 -1
  361. package/dist/esm/kol-button-wc.entry.js +1 -1
  362. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  363. package/dist/esm/kol-button.entry.js +1 -1
  364. package/dist/esm/kol-button.entry.js.map +1 -1
  365. package/dist/esm/kol-card.entry.js +1 -1
  366. package/dist/esm/kol-card.entry.js.map +1 -1
  367. package/dist/esm/kol-combobox.entry.js +1 -1
  368. package/dist/esm/kol-combobox.entry.js.map +1 -1
  369. package/dist/esm/kol-details.entry.js +1 -1
  370. package/dist/esm/kol-details.entry.js.map +1 -1
  371. package/dist/esm/kol-drawer.entry.js +1 -1
  372. package/dist/esm/kol-drawer.entry.js.map +1 -1
  373. package/dist/esm/kol-form.entry.js +1 -1
  374. package/dist/esm/kol-form.entry.js.map +1 -1
  375. package/dist/esm/kol-heading.entry.js +1 -1
  376. package/dist/esm/kol-heading.entry.js.map +1 -1
  377. package/dist/esm/kol-icon.entry.js +1 -1
  378. package/dist/esm/kol-icon.entry.js.map +1 -1
  379. package/dist/esm/kol-image.entry.js +1 -1
  380. package/dist/esm/kol-image.entry.js.map +1 -1
  381. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  382. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  383. package/dist/esm/kol-input-color.entry.js +1 -1
  384. package/dist/esm/kol-input-color.entry.js.map +1 -1
  385. package/dist/esm/kol-input-date.entry.js +1 -1
  386. package/dist/esm/kol-input-date.entry.js.map +1 -1
  387. package/dist/esm/kol-input-email.entry.js +1 -1
  388. package/dist/esm/kol-input-email.entry.js.map +1 -1
  389. package/dist/esm/kol-input-file.entry.js +1 -1
  390. package/dist/esm/kol-input-file.entry.js.map +1 -1
  391. package/dist/esm/kol-input-number.entry.js +1 -1
  392. package/dist/esm/kol-input-number.entry.js.map +1 -1
  393. package/dist/esm/kol-input-password.entry.js +1 -1
  394. package/dist/esm/kol-input-password.entry.js.map +1 -1
  395. package/dist/esm/kol-input-radio.entry.js +1 -1
  396. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  397. package/dist/esm/kol-input-range.entry.js +1 -1
  398. package/dist/esm/kol-input-range.entry.js.map +1 -1
  399. package/dist/esm/kol-input-text.entry.js +1 -1
  400. package/dist/esm/kol-input-text.entry.js.map +1 -1
  401. package/dist/esm/kol-input.entry.js +1 -1
  402. package/dist/esm/kol-input.entry.js.map +1 -1
  403. package/dist/esm/kol-kolibri.entry.js +1 -1
  404. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  405. package/dist/esm/kol-link-button.entry.js +1 -1
  406. package/dist/esm/kol-link-button.entry.js.map +1 -1
  407. package/dist/esm/kol-link-wc.entry.js +1 -1
  408. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  409. package/dist/esm/kol-link.entry.js +1 -1
  410. package/dist/esm/kol-link.entry.js.map +1 -1
  411. package/dist/esm/kol-modal.entry.js +1 -1
  412. package/dist/esm/kol-modal.entry.js.map +1 -1
  413. package/dist/esm/kol-nav.entry.js +1 -1
  414. package/dist/esm/kol-nav.entry.js.map +1 -1
  415. package/dist/esm/kol-pagination.entry.js +1 -1
  416. package/dist/esm/kol-pagination.entry.js.map +1 -1
  417. package/dist/esm/kol-popover-wc.entry.js +1 -1
  418. package/dist/esm/kol-progress.entry.js +1 -1
  419. package/dist/esm/kol-progress.entry.js.map +1 -1
  420. package/dist/esm/kol-quote.entry.js +1 -1
  421. package/dist/esm/kol-quote.entry.js.map +1 -1
  422. package/dist/esm/kol-select.entry.js +1 -1
  423. package/dist/esm/kol-select.entry.js.map +1 -1
  424. package/dist/esm/kol-single-select.entry.js +1 -1
  425. package/dist/esm/kol-single-select.entry.js.map +1 -1
  426. package/dist/esm/kol-skip-nav.entry.js +1 -1
  427. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  428. package/dist/esm/kol-spin.entry.js +1 -1
  429. package/dist/esm/kol-spin.entry.js.map +1 -1
  430. package/dist/esm/kol-split-button.entry.js +1 -1
  431. package/dist/esm/kol-split-button.entry.js.map +1 -1
  432. package/dist/esm/kol-symbol.entry.js +1 -1
  433. package/dist/esm/kol-table-stateful.entry.js +1 -1
  434. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  435. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  436. package/dist/esm/kol-table-stateless.entry.js +1 -1
  437. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  438. package/dist/esm/kol-tabs.entry.js +1 -1
  439. package/dist/esm/kol-tabs.entry.js.map +1 -1
  440. package/dist/esm/kol-textarea.entry.js +1 -1
  441. package/dist/esm/kol-textarea.entry.js.map +1 -1
  442. package/dist/esm/kol-toast-container.entry.js +1 -1
  443. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  444. package/dist/esm/kol-toolbar.entry.js +1 -1
  445. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  446. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  447. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  448. package/dist/esm/kol-tree-item-wc.entry.js.map +1 -1
  449. package/dist/esm/kol-tree-item.entry.js +1 -1
  450. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  451. package/dist/esm/kol-tree-wc.entry.js +1 -1
  452. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  453. package/dist/esm/kol-tree.entry.js +1 -1
  454. package/dist/esm/kol-tree.entry.js.map +1 -1
  455. package/dist/esm/kol-version.entry.js +1 -1
  456. package/dist/esm/kol-version.entry.js.map +1 -1
  457. package/dist/esm/kolibri.js +1 -1
  458. package/dist/esm/label-d0315384.js.map +1 -1
  459. package/dist/esm/loader.js +1 -1
  460. package/dist/esm/msg-0c13cf1c.js +4 -0
  461. package/dist/esm/msg-0c13cf1c.js.map +1 -0
  462. package/dist/esm/open-20d08415.js.map +1 -1
  463. package/dist/esm/test-component.entry.js +1 -1
  464. package/dist/kolibri/{Alert-210f80e8.js → Alert-130db08c.js} +1 -1
  465. package/dist/kolibri/{Collapsible-83f17a92.js → Collapsible-ec3d6bd1.js} +1 -1
  466. package/dist/kolibri/FieldControlStateWrapper-5e88de58.js +4 -0
  467. package/dist/kolibri/FieldControlStateWrapper-5e88de58.js.map +1 -0
  468. package/dist/kolibri/FormFieldMsg-12e502c7.js +4 -0
  469. package/dist/kolibri/FormFieldMsg-12e502c7.js.map +1 -0
  470. package/dist/kolibri/{Heading-def0af88.js → Heading-401912a9.js} +1 -1
  471. package/dist/kolibri/Icon-0a8aaa01.js +4 -0
  472. package/dist/kolibri/Input-199b40e8.js +4 -0
  473. package/dist/kolibri/Input-199b40e8.js.map +1 -0
  474. package/dist/kolibri/InputContainerStateWrapper-5cf1f1e5.js +4 -0
  475. package/dist/kolibri/InputContainerStateWrapper-5cf1f1e5.js.map +1 -0
  476. package/dist/kolibri/InputStateWrapper-14a4f1d3.js +4 -0
  477. package/dist/kolibri/InputStateWrapper-14a4f1d3.js.map +1 -0
  478. package/dist/kolibri/{InternalUnderlinedBadgeText-f618013b.js → InternalUnderlinedBadgeText-8e356b64.js} +1 -1
  479. package/dist/kolibri/{Span-0619f989.js → Span-13852fea.js} +1 -1
  480. package/dist/kolibri/access-and-short-key-9cca88b8.js.map +1 -1
  481. package/dist/kolibri/align-4719d626.js.map +1 -1
  482. package/dist/kolibri/align-floating-elements-db77d917.js +4 -0
  483. package/dist/kolibri/align-floating-elements-db77d917.js.map +1 -0
  484. package/dist/kolibri/app-globals-3f2c3965.js +4 -0
  485. package/dist/kolibri/{controller-cc41fe9f.js → controller-0434e53f.js} +1 -1
  486. package/dist/kolibri/{controller-38dd835b.js → controller-4075dfc7.js} +1 -1
  487. package/dist/kolibri/{controller-768ea58e.js → controller-73c1e790.js} +1 -1
  488. package/dist/kolibri/{controller-4af5f563.js → controller-fae9f200.js} +1 -1
  489. package/dist/kolibri/controller-icon-d99920a4.js +4 -0
  490. package/dist/kolibri/{dev.utils-47d07d5b.js → dev.utils-a3bfded4.js} +1 -1
  491. package/dist/kolibri/{devtools-17ed9dde.js → devtools-eb468601.js} +1 -1
  492. package/dist/kolibri/getRenderStates-f8d64e58.js +4 -0
  493. package/dist/kolibri/getRenderStates-f8d64e58.js.map +1 -0
  494. package/dist/kolibri/href-d8ec67f8.js.map +1 -1
  495. package/dist/kolibri/{index-8a5f476c.js → index-095473f8.js} +1 -1
  496. package/dist/kolibri/{index-8a5f476c.js.map → index-095473f8.js.map} +1 -1
  497. package/dist/kolibri/kol-abbr.entry.js +1 -1
  498. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  499. package/dist/kolibri/kol-accordion.entry.js +1 -1
  500. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  501. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  502. package/dist/kolibri/kol-alert-wc.entry.js.map +1 -1
  503. package/dist/kolibri/kol-alert.entry.js +1 -1
  504. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  505. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  506. package/dist/kolibri/kol-avatar.entry.js +1 -1
  507. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  508. package/dist/kolibri/kol-badge.entry.js +1 -1
  509. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  510. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  511. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  512. package/dist/kolibri/kol-button-link.entry.js +1 -1
  513. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  514. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  515. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  516. package/dist/kolibri/kol-button.entry.js +1 -1
  517. package/dist/kolibri/kol-button.entry.js.map +1 -1
  518. package/dist/kolibri/kol-card.entry.js +1 -1
  519. package/dist/kolibri/kol-card.entry.js.map +1 -1
  520. package/dist/kolibri/kol-combobox.entry.js +1 -1
  521. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  522. package/dist/kolibri/kol-details.entry.js +1 -1
  523. package/dist/kolibri/kol-details.entry.js.map +1 -1
  524. package/dist/kolibri/kol-drawer.entry.js +1 -1
  525. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  526. package/dist/kolibri/kol-form.entry.js +1 -1
  527. package/dist/kolibri/kol-form.entry.js.map +1 -1
  528. package/dist/kolibri/kol-heading.entry.js +1 -1
  529. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  530. package/dist/kolibri/kol-icon.entry.js +1 -1
  531. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  532. package/dist/kolibri/kol-image.entry.js +1 -1
  533. package/dist/kolibri/kol-image.entry.js.map +1 -1
  534. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  535. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  536. package/dist/kolibri/kol-input-color.entry.js +1 -1
  537. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  538. package/dist/kolibri/kol-input-date.entry.js +1 -1
  539. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  540. package/dist/kolibri/kol-input-email.entry.js +1 -1
  541. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  542. package/dist/kolibri/kol-input-file.entry.js +1 -1
  543. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  544. package/dist/kolibri/kol-input-number.entry.js +1 -1
  545. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  546. package/dist/kolibri/kol-input-password.entry.js +1 -1
  547. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  548. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  549. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  550. package/dist/kolibri/kol-input-range.entry.js +1 -1
  551. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  552. package/dist/kolibri/kol-input-text.entry.js +1 -1
  553. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  554. package/dist/kolibri/kol-input.entry.js +1 -1
  555. package/dist/kolibri/kol-input.entry.js.map +1 -1
  556. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  557. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  558. package/dist/kolibri/kol-link-button.entry.js +1 -1
  559. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  560. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  561. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  562. package/dist/kolibri/kol-link.entry.js +1 -1
  563. package/dist/kolibri/kol-link.entry.js.map +1 -1
  564. package/dist/kolibri/kol-modal.entry.js +1 -1
  565. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  566. package/dist/kolibri/kol-nav.entry.js +1 -1
  567. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  568. package/dist/kolibri/kol-pagination.entry.js +1 -1
  569. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  570. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  571. package/dist/kolibri/kol-progress.entry.js +1 -1
  572. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  573. package/dist/kolibri/kol-quote.entry.js +1 -1
  574. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  575. package/dist/kolibri/kol-select.entry.js +1 -1
  576. package/dist/kolibri/kol-select.entry.js.map +1 -1
  577. package/dist/kolibri/kol-single-select.entry.js +1 -1
  578. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  579. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  580. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  581. package/dist/kolibri/kol-spin.entry.js +1 -1
  582. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  583. package/dist/kolibri/kol-split-button.entry.js +1 -1
  584. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  585. package/dist/kolibri/kol-symbol.entry.js +1 -1
  586. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  587. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  588. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  589. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  590. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  591. package/dist/kolibri/kol-tabs.entry.js +1 -1
  592. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  593. package/dist/kolibri/kol-textarea.entry.js +1 -1
  594. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  595. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  596. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  597. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  598. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  599. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  600. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  601. package/dist/kolibri/kol-tree-item-wc.entry.js.map +1 -1
  602. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  603. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  604. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  605. package/dist/kolibri/kol-tree-wc.entry.js.map +1 -1
  606. package/dist/kolibri/kol-tree.entry.js +1 -1
  607. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  608. package/dist/kolibri/kol-version.entry.js +1 -1
  609. package/dist/kolibri/kol-version.entry.js.map +1 -1
  610. package/dist/kolibri/kolibri.esm.js +1 -1
  611. package/dist/kolibri/kolibri.esm.js.map +1 -1
  612. package/dist/kolibri/label-d0315384.js.map +1 -1
  613. package/dist/kolibri/msg-0c13cf1c.js +4 -0
  614. package/dist/kolibri/msg-0c13cf1c.js.map +1 -0
  615. package/dist/kolibri/open-20d08415.js.map +1 -1
  616. package/dist/kolibri/test-component.entry.js +1 -1
  617. package/dist/types/components/drawer/shadow.d.ts +4 -5
  618. package/dist/types/components/form/shadow.d.ts +3 -1
  619. package/dist/types/components/input-checkbox/shadow.d.ts +1 -1
  620. package/dist/types/components.d.ts +50 -58
  621. package/dist/types/functional-component-wrappers/CheckboxStateWrapper/CheckboxStateWrapper.d.ts +10 -0
  622. package/dist/types/functional-component-wrappers/CheckboxStateWrapper/index.d.ts +1 -0
  623. package/dist/types/functional-component-wrappers/FieldControlStateWrapper/FieldControlStateWrapper.d.ts +9 -0
  624. package/dist/types/functional-component-wrappers/FieldControlStateWrapper/index.d.ts +1 -0
  625. package/dist/types/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.d.ts +1 -1
  626. package/dist/types/functional-component-wrappers/InputStateWrapper/InputStateWrapper.d.ts +1 -1
  627. package/dist/types/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.d.ts +1 -1
  628. package/dist/types/functional-component-wrappers/TextAreaStateWrapper/TextAreaStateWrapper.d.ts +1 -1
  629. package/dist/types/functional-components/FieldControl/FieldControl.d.ts +31 -0
  630. package/dist/types/functional-components/FieldControl/index.d.ts +1 -0
  631. package/dist/types/functional-components/FormField/FormField.d.ts +2 -1
  632. package/dist/types/functional-components/FormFieldHint/FormFieldHint.d.ts +1 -0
  633. package/dist/types/functional-components/FormFieldLabel/FormFieldLabel.d.ts +3 -0
  634. package/dist/types/functional-components/InputContainer/InputContainer.d.ts +7 -0
  635. package/dist/types/functional-components/inputs/Checkbox/Checkbox.d.ts +10 -0
  636. package/dist/types/functional-components/inputs/Checkbox/index.d.ts +1 -0
  637. package/dist/types/functional-components/inputs/Input/Input.d.ts +3 -0
  638. package/dist/types/functional-components/inputs/NativeOption/NativeOption.d.ts +1 -0
  639. package/dist/types/functional-components/inputs/NativeOptionList/NativeOptionList.d.ts +1 -0
  640. package/dist/types/functional-components/inputs/NativeSelect/NativeSelect.d.ts +5 -1
  641. package/dist/types/functional-components/inputs/TextArea/TextArea.d.ts +3 -0
  642. package/dist/types/schema/components/drawer.d.ts +3 -3
  643. package/dist/types/schema/props/error-list.d.ts +2 -1
  644. package/dist/types/schema/props/msg.d.ts +1 -0
  645. package/doc/accordion.md +1 -1
  646. package/doc/button-link.md +1 -1
  647. package/doc/button.md +2 -2
  648. package/doc/combobox.md +1 -1
  649. package/doc/details.md +1 -1
  650. package/doc/drawer.md +2 -3
  651. package/doc/link-button.md +1 -1
  652. package/doc/link.md +2 -2
  653. package/doc/tabs.md +1 -1
  654. package/doc/toolbar.md +4 -4
  655. package/doc/tree-item.md +6 -6
  656. package/doc/tree.md +3 -3
  657. package/package.json +14 -1
  658. package/vscode-custom-data.json +20 -24
  659. package/dist/cjs/FormFieldMsg-b0b8219b.js +0 -4
  660. package/dist/cjs/FormFieldMsg-b0b8219b.js.map +0 -1
  661. package/dist/cjs/Icon-1c216a0b.js +0 -4
  662. package/dist/cjs/InputContainerStateWrapper-96ae5e62.js +0 -4
  663. package/dist/cjs/InputContainerStateWrapper-96ae5e62.js.map +0 -1
  664. package/dist/cjs/InputStateWrapper-2f2a6a4c.js +0 -4
  665. package/dist/cjs/InputStateWrapper-2f2a6a4c.js.map +0 -1
  666. package/dist/cjs/align-floating-elements-fdc6eb39.js.map +0 -1
  667. package/dist/cjs/getRenderStates-5aea416a.js +0 -4
  668. package/dist/cjs/getRenderStates-5aea416a.js.map +0 -1
  669. package/dist/cjs/msg-d4ce9850.js +0 -4
  670. package/dist/cjs/msg-d4ce9850.js.map +0 -1
  671. package/dist/esm/FormFieldMsg-6dafd67d.js +0 -4
  672. package/dist/esm/FormFieldMsg-6dafd67d.js.map +0 -1
  673. package/dist/esm/Icon-5d99f9b6.js +0 -4
  674. package/dist/esm/InputContainerStateWrapper-a321a9b8.js +0 -4
  675. package/dist/esm/InputContainerStateWrapper-a321a9b8.js.map +0 -1
  676. package/dist/esm/InputStateWrapper-2307118b.js +0 -4
  677. package/dist/esm/InputStateWrapper-2307118b.js.map +0 -1
  678. package/dist/esm/InternalUnderlinedBadgeText-f618013b.js +0 -4
  679. package/dist/esm/align-floating-elements-a8debc3a.js.map +0 -1
  680. package/dist/esm/getRenderStates-b24b4a43.js +0 -4
  681. package/dist/esm/getRenderStates-b24b4a43.js.map +0 -1
  682. package/dist/esm/msg-93978a32.js +0 -4
  683. package/dist/esm/msg-93978a32.js.map +0 -1
  684. package/dist/kolibri/FormFieldMsg-6dafd67d.js +0 -4
  685. package/dist/kolibri/FormFieldMsg-6dafd67d.js.map +0 -1
  686. package/dist/kolibri/Icon-5d99f9b6.js +0 -4
  687. package/dist/kolibri/InputContainerStateWrapper-a321a9b8.js +0 -4
  688. package/dist/kolibri/InputContainerStateWrapper-a321a9b8.js.map +0 -1
  689. package/dist/kolibri/InputStateWrapper-2307118b.js +0 -4
  690. package/dist/kolibri/InputStateWrapper-2307118b.js.map +0 -1
  691. package/dist/kolibri/align-floating-elements-a8debc3a.js +0 -4
  692. package/dist/kolibri/align-floating-elements-a8debc3a.js.map +0 -1
  693. package/dist/kolibri/app-globals-f90e0166.js +0 -4
  694. package/dist/kolibri/controller-icon-ebd41784.js +0 -4
  695. package/dist/kolibri/getRenderStates-b24b4a43.js +0 -4
  696. package/dist/kolibri/getRenderStates-b24b4a43.js.map +0 -1
  697. package/dist/kolibri/msg-93978a32.js +0 -4
  698. /package/dist/kolibri/{Alert-210f80e8.js.map → Alert-130db08c.js.map} +0 -0
  699. /package/dist/kolibri/{Collapsible-83f17a92.js.map → Collapsible-ec3d6bd1.js.map} +0 -0
  700. /package/dist/kolibri/{Heading-def0af88.js.map → Heading-401912a9.js.map} +0 -0
  701. /package/dist/kolibri/{Icon-5d99f9b6.js.map → Icon-0a8aaa01.js.map} +0 -0
  702. /package/dist/kolibri/{InternalUnderlinedBadgeText-f618013b.js.map → InternalUnderlinedBadgeText-8e356b64.js.map} +0 -0
  703. /package/dist/kolibri/{Span-0619f989.js.map → Span-13852fea.js.map} +0 -0
  704. /package/dist/kolibri/{app-globals-f90e0166.js.map → app-globals-3f2c3965.js.map} +0 -0
  705. /package/dist/kolibri/{controller-cc41fe9f.js.map → controller-0434e53f.js.map} +0 -0
  706. /package/dist/kolibri/{controller-38dd835b.js.map → controller-4075dfc7.js.map} +0 -0
  707. /package/dist/kolibri/{controller-768ea58e.js.map → controller-73c1e790.js.map} +0 -0
  708. /package/dist/kolibri/{controller-4af5f563.js.map → controller-fae9f200.js.map} +0 -0
  709. /package/dist/kolibri/{controller-icon-ebd41784.js.map → controller-icon-d99920a4.js.map} +0 -0
  710. /package/dist/kolibri/{dev.utils-47d07d5b.js.map → dev.utils-a3bfded4.js.map} +0 -0
  711. /package/dist/kolibri/{devtools-17ed9dde.js.map → devtools-eb468601.js.map} +0 -0
@@ -1,10 +1,13 @@
1
1
  import { type FunctionalComponent as FC } from '../../../stencil-public-runtime';
2
2
  import type { JSXBase, VNode } from '../../../stencil-public-runtime';
3
+ import { type InternMsgPropType } from '../../../schema';
3
4
  import type { DefaultInputProps } from '../_types';
4
5
  export type InputProps = DefaultInputProps<JSXBase.InputHTMLAttributes<HTMLInputElement>> & {
5
6
  value?: string | number | string[];
7
+ touched?: boolean;
6
8
  suggestions?: VNode;
7
9
  spellcheck?: boolean;
10
+ msg?: InternMsgPropType;
8
11
  } & {
9
12
  [key: `data-${string}`]: unknown;
10
13
  [key: `aria-${string}`]: unknown;
@@ -6,6 +6,7 @@ export type NativeOptionProps = Omit<JSXBase.OptionHTMLAttributes<HTMLOptionElem
6
6
  value: W3CInputValue;
7
7
  label: W3CInputValue;
8
8
  index?: string | number;
9
+ baseClassName?: 'kol-select' | 'kol-datalist';
9
10
  };
10
11
  declare const NativeOptionFc: FC<NativeOptionProps>;
11
12
  export default NativeOptionFc;
@@ -8,6 +8,7 @@ export type NativeOptionListProps = {
8
8
  options?: SelectOption<W3CInputValue>[];
9
9
  OptionProps?: Omit<JSXBase.OptionHTMLAttributes<HTMLOptionElement>, 'value' | 'label'>;
10
10
  OptionGroupProps?: Omit<JSXBase.OptgroupHTMLAttributes<HTMLOptGroupElement>, 'label'>;
11
+ baseClassName?: 'kol-select';
11
12
  };
12
13
  declare const NativeOptionListFc: FC<NativeOptionListProps>;
13
14
  export default NativeOptionListFc;
@@ -2,7 +2,11 @@ import { type FunctionalComponent as FC } from '../../../stencil-public-runtime'
2
2
  import type { JSXBase } from '../../../stencil-public-runtime';
3
3
  import type { DefaultInputProps } from '../_types';
4
4
  import { type NativeOptionListProps } from '../NativeOptionList';
5
+ import { type InternMsgPropType } from '../../../schema';
5
6
  type SelectAttributes = JSXBase.SelectHTMLAttributes<HTMLSelectElement>;
6
- export type SelectProps = DefaultInputProps<SelectAttributes> & NativeOptionListProps;
7
+ export type SelectProps = DefaultInputProps<SelectAttributes> & NativeOptionListProps & {
8
+ touched?: boolean;
9
+ msg?: InternMsgPropType;
10
+ };
7
11
  declare const NativeSelectFc: FC<SelectProps>;
8
12
  export default NativeSelectFc;
@@ -1,8 +1,11 @@
1
1
  import { type FunctionalComponent as FC } from '../../../stencil-public-runtime';
2
2
  import type { JSXBase } from '../../../stencil-public-runtime';
3
3
  import type { DefaultInputProps } from '../_types';
4
+ import { type InternMsgPropType } from '../../../schema';
4
5
  export type TextAreaProps = DefaultInputProps<JSXBase.TextareaHTMLAttributes<HTMLTextAreaElement>> & {
5
6
  value: string;
7
+ touched?: boolean;
8
+ msg?: InternMsgPropType;
6
9
  };
7
10
  declare const TextAreaFc: FC<TextAreaProps>;
8
11
  export default TextAreaFc;
@@ -1,12 +1,12 @@
1
1
  import type { Generic } from 'adopted-style-sheets';
2
- import type { PropLabel, PropOpen, PropAlign, PropModal } from '../props';
2
+ import type { PropLabel, PropOpen, PropAlign } from '../props';
3
3
  import type { KoliBriModalEventCallbacks } from '../types';
4
4
  type RequiredProps = PropLabel;
5
- type OptionalProps = PropAlign & PropOpen & PropModal & {
5
+ type OptionalProps = PropAlign & PropOpen & {
6
6
  on: KoliBriModalEventCallbacks;
7
7
  };
8
8
  type RequiredStates = PropAlign & PropOpen & PropLabel;
9
- type OptionalStates = PropModal & {
9
+ type OptionalStates = {
10
10
  on: KoliBriModalEventCallbacks;
11
11
  };
12
12
  export type DrawerProps = Generic.Element.Members<RequiredProps, OptionalProps>;
@@ -1,7 +1,8 @@
1
1
  import type { Generic } from 'adopted-style-sheets';
2
+ import { EventCallback } from '../types';
2
3
  export type ErrorListPropType = {
3
4
  message: string;
4
- selector: string;
5
+ selector: string | EventCallback<Event>;
5
6
  };
6
7
  export type PropErrorList = {
7
8
  errorList: ErrorListPropType[];
@@ -13,3 +13,4 @@ export type PropMsg = {
13
13
  export declare const validateMsg: (component: Generic.Element.Component, value?: Stringified<MsgPropType>) => void;
14
14
  export declare function isMsgEmpty(msg?: MsgPropType): boolean;
15
15
  export declare function convertMsgToInternMsg(msg?: MsgPropType): InternMsgPropType | undefined;
16
+ export declare function checkHasError(msg?: InternMsgPropType, touched?: boolean): boolean;
package/doc/accordion.md CHANGED
@@ -11,7 +11,7 @@
11
11
  | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
12
12
  | `_level` | `_level` | Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text. | `0` \| `1` \| `2` \| `3` \| `4` \| `5` \| `6` \| `undefined` | `1` |
13
13
  | `_on` | -- | Gibt die EventCallback-Funktionen an. | `undefined` \| `{ onClick?: EventValueOrEventCallback<MouseEvent, boolean>` \| `undefined; }` | `undefined` |
14
- | `_open` | `_open` | If set (to true) opens/expands the element, closes if not set (or set to false). | `boolean` \| `undefined` | `false` |
14
+ | `_open` | `_open` | Opens/expands the element when truthy, closes/collapses when falsy. | `boolean` \| `undefined` | `false` |
15
15
 
16
16
 
17
17
  ## Methods
@@ -7,7 +7,7 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | --------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
10
- | `_accessKey` | `_access-key` | Defines the elements access key. | `string` \| `undefined` | `undefined` |
10
+ | `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
11
11
  | `_ariaControls` | `_aria-controls` | Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls) | `string` \| `undefined` | `undefined` |
12
12
  | `_ariaDescription` | `_aria-description` | Defines the value for the aria-description attribute. | `string` \| `undefined` | `undefined` |
13
13
  | `_ariaExpanded` | `_aria-expanded` | Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded) | `boolean` \| `undefined` | `undefined` |
package/doc/button.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | --------------------- | ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------- |
10
- | `_accessKey` | `_access-key` | Defines the elements access key. | `string` \| `undefined` | `undefined` |
10
+ | `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
11
11
  | `_ariaControls` | `_aria-controls` | Defines which elements are controlled by this component. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-controls) | `string` \| `undefined` | `undefined` |
12
12
  | `_ariaDescription` | `_aria-description` | Defines the value for the aria-description attribute. | `string` \| `undefined` | `undefined` |
13
13
  | `_ariaExpanded` | `_aria-expanded` | Defines whether the interactive element of the component expanded something. (https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-expanded) | `boolean` \| `undefined` | `undefined` |
@@ -21,7 +21,7 @@
21
21
  | `_name` | `_name` | Defines the technical name of an input field. | `string` \| `undefined` | `undefined` |
22
22
  | `_on` | -- | Defines the callback functions for button events. | `undefined` \| `{ onClick?: EventValueOrEventCallback<MouseEvent, StencilUnknown>` \| `undefined; onMouseDown?: EventCallback<MouseEvent>` \| `undefined; }` | `undefined` |
23
23
  | `_role` | `_role` | Defines the role of the components primary element. | `"button"` \| `"link"` \| `"tab"` \| `"treeitem"` \| `undefined` | `undefined` |
24
- | `_shortKey` | `_short-key` | Defines the elements short key. | `string` \| `undefined` | `undefined` |
24
+ | `_shortKey` | `_short-key` | Adds a visual short key hint to the component. | `string` \| `undefined` | `undefined` |
25
25
  | `_tabIndex` | `_tab-index` | Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) | `number` \| `undefined` | `undefined` |
26
26
  | `_tooltipAlign` | `_tooltip-align` | Defines where to show the Tooltip preferably: top, right, bottom or left. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'top'` |
27
27
  | `_type` | `_type` | Defines either the type of the component or of the components interactive element. | `"button"` \| `"reset"` \| `"submit"` \| `undefined` | `'button'` |
package/doc/combobox.md CHANGED
@@ -21,7 +21,7 @@
21
21
  | `_placeholder` | `_placeholder` | Defines the placeholder for input field. To be shown when there's no value. | `string` \| `undefined` | `undefined` |
22
22
  | `_required` | `_required` | Makes the input element required. | `boolean` \| `undefined` | `false` |
23
23
  | `_shortKey` | `_short-key` | Adds a visual short key hint to the component. | `string` \| `undefined` | `undefined` |
24
- | `_suggestions` _(required)_ | `_suggestions` | Suggestions the user can choose from. | `W3CInputValue[]` \| `string` | `undefined` |
24
+ | `_suggestions` _(required)_ | `_suggestions` | Suggestions to provide for the input. | `W3CInputValue[]` \| `string` | `undefined` |
25
25
  | `_tabIndex` | `_tab-index` | Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) | `number` \| `undefined` | `undefined` |
26
26
  | `_tooltipAlign` | `_tooltip-align` | Defines where to show the Tooltip preferably: top, right, bottom or left. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'top'` |
27
27
  | `_touched` | `_touched` | Shows if the input was touched by a user. | `boolean` \| `undefined` | `false` |
package/doc/details.md CHANGED
@@ -11,7 +11,7 @@
11
11
  | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
12
12
  | `_level` | `_level` | Defines which H-level from 1-6 the heading has. 0 specifies no heading and is shown as bold text. | `0` \| `1` \| `2` \| `3` \| `4` \| `5` \| `6` \| `undefined` | `1` |
13
13
  | `_on` | -- | Defines the callback functions for details. | `undefined` \| `{ onToggle?: EventValueOrEventCallback<MouseEvent, boolean>` \| `undefined; }` | `undefined` |
14
- | `_open` | `_open` | If set (to true) opens/expands the element, closes if not set (or set to false). | `boolean` \| `undefined` | `false` |
14
+ | `_open` | `_open` | Opens/expands the element when truthy, closes/collapses when falsy. | `boolean` \| `undefined` | `false` |
15
15
 
16
16
 
17
17
  ## Methods
package/doc/drawer.md CHANGED
@@ -7,11 +7,10 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------- | ----------- |
10
- | `_align` | `_align` | Specifies the orientation of the drawer. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `undefined` |
10
+ | `_align` | `_align` | Defines the visual orientation of the component. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `undefined` |
11
11
  | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
12
- | `_modal` | `_modal` | Indicates whether the drawer is a modal. | `boolean` \| `undefined` | `undefined` |
13
12
  | `_on` | -- | Specifies the EventCallback function to be called when the drawer is closing. | `undefined` \| `({ onClose?: (() => void)` \| `undefined; })` | `undefined` |
14
- | `_open` | `_open` | Specifies the default open state of the drawer. | `boolean` \| `undefined` | `undefined` |
13
+ | `_open` | `_open` | Opens/expands the element when truthy, closes/collapses when falsy. | `boolean` \| `undefined` | `undefined` |
15
14
 
16
15
 
17
16
  ## Methods
@@ -7,7 +7,7 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ----------- |
10
- | `_accessKey` | `_access-key` | Defines the elements access key. | `string` \| `undefined` | `undefined` |
10
+ | `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
11
11
  | `_ariaCurrentValue` | `_aria-current-value` | Defines the value for the aria-current attribute. | `"date"` \| `"false"` \| `"location"` \| `"page"` \| `"step"` \| `"time"` \| `"true"` \| `undefined` | `undefined` |
12
12
  | `_ariaDescription` | `_aria-description` | Defines the value for the aria-description attribute. | `string` \| `undefined` | `undefined` |
13
13
  | `_customClass` | `_custom-class` | Defines the custom class attribute if _variant="custom" is set. | `string` \| `undefined` | `undefined` |
package/doc/link.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | -------------------- | --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------- | ----------- |
10
- | `_accessKey` | `_access-key` | Defines the elements access key. | `string` \| `undefined` | `undefined` |
10
+ | `_accessKey` | `_access-key` | Defines which key combination can be used to trigger or focus the interactive element of the component. | `string` \| `undefined` | `undefined` |
11
11
  | `_ariaCurrentValue` | `_aria-current-value` | Defines the value for the aria-current attribute. | `"date"` \| `"false"` \| `"location"` \| `"page"` \| `"step"` \| `"time"` \| `"true"` \| `undefined` | `undefined` |
12
12
  | `_ariaDescription` | `_aria-description` | Defines the value for the aria-description attribute. | `string` \| `undefined` | `undefined` |
13
13
  | `_disabled` | `_disabled` | Makes the element not focusable and ignore all events. | `boolean` \| `undefined` | `false` |
@@ -18,7 +18,7 @@
18
18
  | `_label` | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot. | `string` \| `undefined` | `undefined` |
19
19
  | `_on` | -- | Defines the callback functions for links. | `undefined` \| `{ onClick?: EventValueOrEventCallback<Event, string>` \| `undefined; }` | `undefined` |
20
20
  | `_role` | `_role` | Defines the role of the components primary element. | `"button"` \| `"link"` \| `"tab"` \| `"treeitem"` \| `undefined` | `undefined` |
21
- | `_shortKey` | `_short-key` | Defines the elements access key. | `string` \| `undefined` | `undefined` |
21
+ | `_shortKey` | `_short-key` | Adds a visual short key hint to the component. | `string` \| `undefined` | `undefined` |
22
22
  | `_tabIndex` | `_tab-index` | Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) | `number` \| `undefined` | `undefined` |
23
23
  | `_target` | `_target` | Defines where to open the link. | `string` \| `undefined` | `undefined` |
24
24
  | `_tooltipAlign` | `_tooltip-align` | Defines where to show the Tooltip preferably: top, right, bottom or left. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'right'` |
package/doc/tabs.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  | Property | Attribute | Description | Type | Default |
9
9
  | --------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
10
- | `_align` | `_align` | Defines the position of the tab captions. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'top'` |
10
+ | `_align` | `_align` | Defines the visual orientation of the component. | `"bottom"` \| `"left"` \| `"right"` \| `"top"` \| `undefined` | `'top'` |
11
11
  | `_behavior` | `_behavior` | Defines which behavior is active. | `"select-automatic"` \| `"select-manual"` \| `undefined` | `undefined` |
12
12
  | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
13
13
  | `_on` | -- | Gibt die Liste der Callback-Funktionen an, die auf Events aufgerufen werden sollen. | `undefined` \| `{ onCreate?: EventCallback<Event>` \| `{ label: string; callback: EventCallback<Event>; }` \| `undefined; } & { onSelect?: EventValueOrEventCallback<MouseEvent` \| `KeyboardEvent` \| `CustomEvent<any>` \| `PointerEvent, number>` \| `undefined; }` | `undefined` |
package/doc/toolbar.md CHANGED
@@ -5,10 +5,10 @@
5
5
 
6
6
  ## Properties
7
7
 
8
- | Property | Attribute | Description | Type | Default |
9
- | --------------------- | --------- | --------------------------------------------------------------------------------- | ----------------------- | ----------- |
10
- | `_items` _(required)_ | -- | Defines the functional elements of toolbar to render (e.g. kol-link, kol-button). | `ToolbarItemPropType[]` | `undefined` |
11
- | `_label` _(required)_ | `_label` | Defines the semantic aria-label of the component. | `string` | `undefined` |
8
+ | Property | Attribute | Description | Type | Default |
9
+ | --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------ | ----------------------- | ----------- |
10
+ | `_items` _(required)_ | -- | Defines the functional elements of toolbar to render (e.g. kol-link, kol-button). | `ToolbarItemPropType[]` | `undefined` |
11
+ | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
12
12
 
13
13
 
14
14
  ----------------------------------------------
package/doc/tree-item.md CHANGED
@@ -5,12 +5,12 @@
5
5
 
6
6
  ## Properties
7
7
 
8
- | Property | Attribute | Description | Type | Default |
9
- | --------------------- | --------- | -------------------------------------------------------------------------------- | ---------------------- | ----------- |
10
- | `_active` | `_active` | If set (to true) the tree item is the active one. | `boolean` \| `undefined` | `undefined` |
11
- | `_href` _(required)_ | `_href` | This property is used for a link from a reference to the target URL. | `string` | `undefined` |
12
- | `_label` _(required)_ | `_label` | Defines the label of the link. | `string` | `undefined` |
13
- | `_open` | `_open` | If set (to true) opens/expands the element, closes if not set (or set to false). | `boolean` \| `undefined` | `undefined` |
8
+ | Property | Attribute | Description | Type | Default |
9
+ | --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------ | ---------------------- | ----------- |
10
+ | `_active` | `_active` | If set (to true) the tree item is the active one. | `boolean` \| `undefined` | `undefined` |
11
+ | `_href` _(required)_ | `_href` | Defines the target URI of the link. | `string` | `undefined` |
12
+ | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
13
+ | `_open` | `_open` | Opens/expands the element when truthy, closes/collapses when falsy. | `boolean` \| `undefined` | `undefined` |
14
14
 
15
15
 
16
16
  ## Methods
package/doc/tree.md CHANGED
@@ -5,9 +5,9 @@
5
5
 
6
6
  ## Properties
7
7
 
8
- | Property | Attribute | Description | Type | Default |
9
- | --------------------- | --------- | ------------------------------ | -------- | ----------- |
10
- | `_label` _(required)_ | `_label` | Defines the label of the tree. | `string` | `undefined` |
8
+ | Property | Attribute | Description | Type | Default |
9
+ | --------------------- | --------- | ------------------------------------------------------------------------------------------------------------------ | -------- | ----------- |
10
+ | `_label` _(required)_ | `_label` | Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). | `string` | `undefined` |
11
11
 
12
12
 
13
13
  ----------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/components",
3
- "version": "3.0.0-rc.2",
3
+ "version": "3.0.0-rc.3",
4
4
  "license": "EUPL-1.2",
5
5
  "homepage": "https://public-ui.github.io",
6
6
  "repository": {
@@ -50,6 +50,19 @@
50
50
  "webstandard",
51
51
  "wcag"
52
52
  ],
53
+ "dependencies": {
54
+ "@floating-ui/dom": "1.6.13",
55
+ "adopted-style-sheets": "1.1.7",
56
+ "clsx": "2.1.1",
57
+ "color-convert": "2.0.1",
58
+ "color-rgba": "2.4.0",
59
+ "lodash-es": "4.17.21",
60
+ "markdown-it": "14.1.0",
61
+ "query-selector-all-shadow-root": "0.0.3",
62
+ "query-selector-shadow-root": "0.0.3",
63
+ "rgba-convert": "0.3.0",
64
+ "wcag-contrast": "3.0.0"
65
+ },
53
66
  "peerDependencies": {
54
67
  "adopted-style-sheets": "1.1.7"
55
68
  },
@@ -35,7 +35,7 @@
35
35
  },
36
36
  {
37
37
  "name": "_open",
38
- "description": "If set (to true) opens/expands the element, closes if not set (or set to false)."
38
+ "description": "Opens/expands the element when truthy, closes/collapses when falsy."
39
39
  }
40
40
  ]
41
41
  },
@@ -200,7 +200,7 @@
200
200
  "attributes": [
201
201
  {
202
202
  "name": "_access-key",
203
- "description": "Defines the elements access key."
203
+ "description": "Defines which key combination can be used to trigger or focus the interactive element of the component."
204
204
  },
205
205
  {
206
206
  "name": "_aria-controls",
@@ -266,7 +266,7 @@
266
266
  },
267
267
  {
268
268
  "name": "_short-key",
269
- "description": "Defines the elements short key."
269
+ "description": "Adds a visual short key hint to the component."
270
270
  },
271
271
  {
272
272
  "name": "_tab-index",
@@ -347,7 +347,7 @@
347
347
  "attributes": [
348
348
  {
349
349
  "name": "_access-key",
350
- "description": "Defines the elements access key."
350
+ "description": "Defines which key combination can be used to trigger or focus the interactive element of the component."
351
351
  },
352
352
  {
353
353
  "name": "_aria-controls",
@@ -553,7 +553,7 @@
553
553
  },
554
554
  {
555
555
  "name": "_suggestions",
556
- "description": "Suggestions the user can choose from."
556
+ "description": "Suggestions to provide for the input."
557
557
  },
558
558
  {
559
559
  "name": "_tab-index",
@@ -608,7 +608,7 @@
608
608
  },
609
609
  {
610
610
  "name": "_open",
611
- "description": "If set (to true) opens/expands the element, closes if not set (or set to false)."
611
+ "description": "Opens/expands the element when truthy, closes/collapses when falsy."
612
612
  }
613
613
  ]
614
614
  },
@@ -621,7 +621,7 @@
621
621
  "attributes": [
622
622
  {
623
623
  "name": "_align",
624
- "description": "Specifies the orientation of the drawer.",
624
+ "description": "Defines the visual orientation of the component.",
625
625
  "values": [
626
626
  {
627
627
  "name": "bottom"
@@ -641,13 +641,9 @@
641
641
  "name": "_label",
642
642
  "description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
643
643
  },
644
- {
645
- "name": "_modal",
646
- "description": "Indicates whether the drawer is a modal."
647
- },
648
644
  {
649
645
  "name": "_open",
650
- "description": "Specifies the default open state of the drawer."
646
+ "description": "Opens/expands the element when truthy, closes/collapses when falsy."
651
647
  }
652
648
  ]
653
649
  },
@@ -2423,7 +2419,7 @@
2423
2419
  "attributes": [
2424
2420
  {
2425
2421
  "name": "_access-key",
2426
- "description": "Defines the elements access key."
2422
+ "description": "Defines which key combination can be used to trigger or focus the interactive element of the component."
2427
2423
  },
2428
2424
  {
2429
2425
  "name": "_aria-current-value",
@@ -2500,7 +2496,7 @@
2500
2496
  },
2501
2497
  {
2502
2498
  "name": "_short-key",
2503
- "description": "Defines the elements access key."
2499
+ "description": "Adds a visual short key hint to the component."
2504
2500
  },
2505
2501
  {
2506
2502
  "name": "_tab-index",
@@ -2539,7 +2535,7 @@
2539
2535
  "attributes": [
2540
2536
  {
2541
2537
  "name": "_access-key",
2542
- "description": "Defines the elements access key."
2538
+ "description": "Defines which key combination can be used to trigger or focus the interactive element of the component."
2543
2539
  },
2544
2540
  {
2545
2541
  "name": "_aria-current-value",
@@ -3395,7 +3391,7 @@
3395
3391
  "attributes": [
3396
3392
  {
3397
3393
  "name": "_align",
3398
- "description": "Defines the position of the tab captions.",
3394
+ "description": "Defines the visual orientation of the component.",
3399
3395
  "values": [
3400
3396
  {
3401
3397
  "name": "bottom"
@@ -3594,7 +3590,7 @@
3594
3590
  "attributes": [
3595
3591
  {
3596
3592
  "name": "_label",
3597
- "description": "Defines the semantic aria-label of the component."
3593
+ "description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
3598
3594
  }
3599
3595
  ]
3600
3596
  },
@@ -3607,7 +3603,7 @@
3607
3603
  "attributes": [
3608
3604
  {
3609
3605
  "name": "_label",
3610
- "description": "Defines the label of the tree."
3606
+ "description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
3611
3607
  }
3612
3608
  ]
3613
3609
  },
@@ -3624,15 +3620,15 @@
3624
3620
  },
3625
3621
  {
3626
3622
  "name": "_href",
3627
- "description": "This property is used for a link from a reference to the target URL."
3623
+ "description": "Defines the target URI of the link."
3628
3624
  },
3629
3625
  {
3630
3626
  "name": "_label",
3631
- "description": "Defines the label of the link."
3627
+ "description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
3632
3628
  },
3633
3629
  {
3634
3630
  "name": "_open",
3635
- "description": "If set (to true) opens/expands the element, closes if not set (or set to false)."
3631
+ "description": "Opens/expands the element when truthy, closes/collapses when falsy."
3636
3632
  }
3637
3633
  ]
3638
3634
  },
@@ -3649,15 +3645,15 @@
3649
3645
  },
3650
3646
  {
3651
3647
  "name": "_href",
3652
- "description": "This property is used for a link from a reference to the target URL."
3648
+ "description": "Defines the target URI of the link."
3653
3649
  },
3654
3650
  {
3655
3651
  "name": "_label",
3656
- "description": "Defines the label of the link."
3652
+ "description": "Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.)."
3657
3653
  },
3658
3654
  {
3659
3655
  "name": "_open",
3660
- "description": "If set (to true) opens/expands the element, closes if not set (or set to false)."
3656
+ "description": "Opens/expands the element when truthy, closes/collapses when falsy."
3661
3657
  }
3662
3658
  ]
3663
3659
  },
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),clsx=require("./clsx-dd4d6dd1.js"),index=require("./index-56ff9cf2.js"),Alert=require("./Alert-9bb150c8.js"),FormFieldMsgFc=r=>{var{alert:e,msg:s,hideError:i,id:l,class:d}=r,t=tslib_es6.__rest(r,["alert","msg","hideError","id","class"]);return index.h(Alert.KolAlertFc,Object.assign({id:`${l}-error`,alert:e,type:"error",class:clsx.clsx({error:!0,"visually-hidden":!0===i},d)},s,t,{"aria-hidden":"true"}),(null==s?void 0:s.description)||void 0)},KolFormFieldMsgFc=FormFieldMsgFc;exports.KolFormFieldMsgFc=KolFormFieldMsgFc;
@@ -1 +0,0 @@
1
- {"file":"FormFieldMsg-b0b8219b.js","mappings":";;;;;;;;;;AAcA,MAAM,cAAc,GAA2C,CAAC,EAA0D;QAA1D,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,EAAE,EAAE,KAAK,EAAE,UAAU,OAAY,EAAP,KAAK,wBAAxD,4CAA0D,CAAF;IAAO,QAC9HA,QAACC,gBAAU,kBACV,EAAE,EAAE,GAAG,EAAE,QAAQ,EACjB,KAAK,EAAE,KAAK,EACZ,IAAI,EAAC,OAAO,EACZ,KAAK,EAAEC,SAAI,CACV;YACC,KAAK,EAAE,IAAI;YACX,iBAAiB,EAAE,SAAS,KAAK,IAAI;SACrC,EACD,UAAU,CACV,IACG,GAAG,EACH,KAAK,mBACG,MAAM,KAEjB,CAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,WAAW,KAAI,SAAS,CAClB,EACb;CAAA,CAAC;AAEF,0BAAe,cAAc;;;;","names":["h","KolAlertFc","clsx"],"sources":["src/functional-components/FormFieldMsg/FormFieldMsg.tsx"],"sourcesContent":["import clsx from 'clsx';\nimport type { AlertPropType, HideErrorPropType, IdPropType, InternMsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport type { JSXBase } from '@stencil/core/internal';\n\ntype FormFieldMsgProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\talert?: AlertPropType;\n\tmsg?: InternMsgPropType;\n\thideError?: HideErrorPropType;\n\tid: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ alert, msg, hideError, id, class: classNames, ...other }) => (\n\t<KolAlertFc\n\t\tid={`${id}-error`}\n\t\talert={alert}\n\t\ttype=\"error\"\n\t\tclass={clsx(\n\t\t\t{\n\t\t\t\terror: true,\n\t\t\t\t'visually-hidden': hideError === true,\n\t\t\t},\n\t\t\tclassNames,\n\t\t)}\n\t\t{...msg}\n\t\t{...other}\n\t\taria-hidden=\"true\"\n\t>\n\t\t{msg?.description || undefined}\n\t</KolAlertFc>\n);\n\nexport default FormFieldMsgFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const index=require("./index-56ff9cf2.js"),componentNames=require("./component-names-6f6ca767.js"),KolIconFc=c=>{const{class:o,style:n,icons:e,label:s,onClick:l}=c;return index.h(componentNames.KolIconTag,{class:o,style:n,onClick:l,_icons:e,_label:s})},KolIconFc$1=KolIconFc;exports.KolIconFc=KolIconFc$1;
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const index=require("./index-56ff9cf2.js"),isString=require("./isString-8ded65b8.js"),isObject=require("./isObject-6090b636.js"),tslib_es6=require("./tslib.es6-5e301284.js"),componentNames=require("./component-names-6f6ca767.js"),Icon=require("./Icon-1c216a0b.js"),clsx=require("./clsx-dd4d6dd1.js"),InputAdornment=(n,t)=>{var{position:e="start",class:o}=n,s=tslib_es6.__rest(n,["position","class"]);const i=`inputAdornment-${e}`;return index.h("div",Object.assign({class:clsx.clsx(i,o)},s),t)},InputAdornment$1=InputAdornment;function hasItems(n){return!!n&&(Array.isArray(n)?n.length>0:Boolean(n))}const KolInputContainerFc$1=(n,t)=>{const{class:e,startAdornment:o,endAdornment:s}=n,i=tslib_es6.__rest(n,["class","startAdornment","endAdornment"]);return hasItems(o)||hasItems(s)?index.h("div",Object.assign({class:clsx.clsx("input",e)},i),index.h(InputAdornment$1,{position:"start"},o),t,index.h(InputAdornment$1,{position:"end"},s)):index.h("div",Object.assign({class:clsx.clsx("input",e)},i),t)},KolInputContainerFc$2=KolInputContainerFc$1,KolButtonFc=n=>{const{label:t,icons:e,hideLabel:o,disabled:s,onClick:i}=n,c=tslib_es6.__rest(n,["label","icons","hideLabel","disabled","onClick"]);return index.h(componentNames.KolButtonWcTag,Object.assign({tabindex:0,_label:t,_disabled:s,_icons:e,_hideLabel:o,_on:{onClick:i}},c))},KolButtonFc$1=KolButtonFc,KolIconButtonFc=n=>{const{componentName:t="button",label:e,icon:o,onClick:s}=n,i=tslib_es6.__rest(n,["componentName","label","icon","onClick"]),c="button"===t?KolButtonFc$1:Icon.KolIconFc;return index.h(c,Object.assign({label:e||"",hideLabel:!0,icons:`codicon codicon-${o}`,onClick:s},i))},KolIconButtonFc$1=KolIconButtonFc;function getInputContainerProps(n){let t,e;return"_icons"in n&&(t=n._icons),"_smartButton"in n&&(e=n._smartButton),{icons:t,smartButton:e,disabled:n._disabled}}const InputContainerStateWrapperFc=({state:n,endAdornment:t},e)=>{const{icons:o,smartButton:s,disabled:i}=getInputContainerProps(n);let c=null==o?void 0:o.left;isString.isString(c)&&(c={icon:c});let r=null==o?void 0:o.right;isString.isString(r)&&(r={icon:r});const l=[],a=[];return t&&(Array.isArray(t)?a.push(...t):a.push(t)),c&&l.push(index.h(KolIconButtonFc$1,Object.assign({componentName:"icon"},isObject.isObject(c)?c:{}))),isObject.isObject(s)&&a.push(index.h(KolIconButtonFc$1,Object.assign({componentName:"button"},s,{hideLabel:!0,disabled:i}))),r&&a.push(index.h(KolIconButtonFc$1,Object.assign({componentName:"icon"},isObject.isObject(r)?r:{}))),index.h(KolInputContainerFc$2,{startAdornment:l,endAdornment:a},e)},KolInputContainerFc=InputContainerStateWrapperFc;exports.KolIconButtonFc=KolIconButtonFc$1,exports.KolInputContainerFc=KolInputContainerFc;
@@ -1 +0,0 @@
1
- {"file":"InputContainerStateWrapper-96ae5e62.js","mappings":";;;;;;;;;;;;;AAQA,MAAM,cAAc,GAA4B,CAAC,EAAkD,EAAE,QAAQ;QAA5D,EAAE,QAAQ,GAAG,OAAO,EAAE,KAAK,EAAE,SAAS,OAAY,EAAP,KAAK,wBAAhD,qBAAkD,CAAF;IAChG,MAAM,aAAa,GAAG,kBAAkB,QAAQ,EAAE,CAAC;IAEnD,QACCA,+BAAK,KAAK,EAAEC,SAAI,CAAC,aAAa,EAAE,SAAS,CAAC,IAAM,KAAK,GACnD,QAAQ,CACJ,EACL;AACH,CAAC,CAAC;AAEF,yBAAe,cAAc;;ACN7B,SAAS,QAAQ,CAAC,KAA0B;IAC3C,IAAI,CAAC,KAAK,EAAE;QACX,OAAO,KAAK,CAAC;KACb;IAED,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,MAAM,GAAG,CAAC,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC;AACjE,CAAC;AAED,MAAMC,qBAAmB,GAA4B,CAAC,KAAK,EAAE,QAAQ;IACpE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,YAAY,KAAe,KAAK,EAAf,KAAK,oBAAK,KAAK,EAArE,2CAA6D,CAAQ,CAAC;IAE5E,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,EAAE;QACzD,QACCF,+BAAK,KAAK,EAAEC,SAAI,CAAC,OAAO,EAAE,UAAU,CAAC,IAAM,KAAK,GAC9C,QAAQ,CACJ,EACL;KACF;IAED,QACCD,+BAAK,KAAK,EAAEC,SAAI,CAAC,OAAO,EAAE,UAAU,CAAC,IAAM,KAAK;QAC/CD,QAACG,gBAAc,IAAC,QAAQ,EAAC,OAAO,IAAE,cAAc,CAAkB;QACjE,QAAQ;QACTH,QAACG,gBAAc,IAAC,QAAQ,EAAC,KAAK,IAAE,YAAY,CAAkB,CACzD,EACL;AACH,CAAC,CAAC;AAEF,8BAAeD,qBAAmB;;AC9BlC,MAAM,WAAW,GAAoB,CAAC,KAAK;IAC1C,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,KAAe,KAAK,EAAf,KAAK,oBAAK,KAAK,EAAhE,sDAAwD,CAAQ,CAAC;IAEvE,OAAOF,QAACI,6BAAc,kBAAC,QAAQ,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,OAAO,EAAE,IAAM,KAAK,EAAI,CAAC;AAC/I,CAAC,CAAC;AAEF,sBAAe,WAAW;;AC+B1B,MAAM,eAAe,GAAwB,CAAC,KAAK;IAClD,MAAM,EAAE,aAAa,GAAG,QAAQ,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,KAAe,KAAK,EAAf,KAAK,oBAAK,KAAK,EAApE,6CAA4D,CAAQ,CAAC;IAC3E,MAAM,SAAS,GAAG,aAAa,KAAK,QAAQ,GAAGC,aAAW,GAAGC,cAAS,CAAC;IAEvE,OAAON,QAAC,SAAS,kBAAC,KAAK,EAAE,KAAK,IAAI,EAAE,EAAE,SAAS,QAAC,KAAK,EAAE,mBAAmB,IAAI,EAAE,EAAE,OAAO,EAAE,OAAO,IAAM,KAAK,EAAI,CAAC;AACnH,CAAC,CAAC;AAEF,0BAAe,eAAe;;ACnB9B,SAAS,sBAAsB,CAAC,KAAiB;IAChD,IAAI,KAAK,GAAuC,SAAS,CAAC;IAC1D,IAAI,WAAoC,CAAC;IAEzC,IAAI,QAAQ,IAAI,KAAK,EAAE;QACtB,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC;KACrB;IAED,IAAI,cAAc,IAAI,KAAK,EAAE;QAC5B,WAAW,GAAG,KAAK,CAAC,YAAY,CAAC;KACjC;IAED,OAAO,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;AAC1D,CAAC;AAED,MAAM,4BAA4B,GAAwC,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,EAAE,QAAQ;IAChI,MAAM,EAAE,KAAK,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,sBAAsB,CAAC,KAAK,CAAC,CAAC;IAEvE,IAAI,aAAa,GAAgC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,CAAC;IAC7D,IAAIO,iBAAQ,CAAC,aAAa,CAAC,EAAE;QAC5B,aAAa,GAAG,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC;KACxC;IAED,IAAI,cAAc,GAAgC,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,KAAK,CAAC;IAC/D,IAAIA,iBAAQ,CAAC,cAAc,CAAC,EAAE;QAC7B,cAAc,GAAG,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC;KAC1C;IAED,MAAM,cAAc,GAAG,EAAE,CAAC;IAC1B,MAAM,YAAY,GAAG,EAAE,CAAC;IAExB,IAAI,mBAAmB,EAAE;QACxB,IAAI,KAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC,EAAE;YACvC,YAAY,CAAC,IAAI,CAAC,GAAG,mBAAmB,CAAC,CAAC;SAC1C;aAAM;YACN,YAAY,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;SACvC;KACD;IAED,IAAI,aAAa,EAAE;QAClB,cAAc,CAAC,IAAI,CAACP,QAACQ,iBAAe,kBAAC,aAAa,EAAC,MAAM,KAAMC,iBAAQ,CAAC,aAAa,CAAC,GAAG,aAAa,GAAG,EAAE,GAAK,CAAC,CAAC;KAClH;IAED,IAAIA,iBAAQ,CAAC,WAAW,CAAC,EAAE;QAC1B,YAAY,CAAC,IAAI,CAACT,QAACQ,iBAAe,kBAAC,aAAa,EAAC,QAAQ,IAAK,WAAW,IAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,IAAI,CAAC,CAAC;KACpH;IAED,IAAI,cAAc,EAAE;QACnB,YAAY,CAAC,IAAI,CAACR,QAACQ,iBAAe,kBAAC,aAAa,EAAC,MAAM,KAAMC,iBAAQ,CAAC,cAAc,CAAC,GAAG,cAAc,GAAG,EAAE,GAAK,CAAC,CAAC;KAClH;IAED,QACCT,QAACE,qBAAmB,IAAC,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,IAC7E,QAAQ,CACY,EACrB;AACH,CAAC,CAAC;AAEF,4BAAe,4BAA4B;;;;;","names":["h","clsx","KolInputContainerFc","InputAdornment","KolButtonWcTag","KolButtonFc","KolIconFc","isString","KolIconButtonFc","isObject"],"sources":["src/functional-components/InputAdornment/InputAdornment.tsx","src/functional-components/InputContainer/InputContainer.tsx","src/functional-components/Button/Button.tsx","src/functional-components/IconButton/IconButton.tsx","src/functional-component-wrappers/InputContainerStateWrapper/InputContainerStateWrapper.tsx"],"sourcesContent":["import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\n\nexport type InputAdornmentProps = JSXBase.HTMLAttributes<HTMLDivElement> & {\n\tposition?: 'start' | 'end';\n};\n\nconst InputAdornment: FC<InputAdornmentProps> = ({ position = 'start', class: className, ...other }, children) => {\n\tconst rootClassName = `inputAdornment-${position}`;\n\n\treturn (\n\t\t<div class={clsx(rootClassName, className)} {...other}>\n\t\t\t{children}\n\t\t</div>\n\t);\n};\n\nexport default InputAdornment;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport clsx from 'clsx';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport InputAdornment from '../InputAdornment';\n\ntype InputAdornmentType = VNode | VNode[] | null;\n\nexport type InputContainerProps = JSXBase.HTMLAttributes & {\n\tstartAdornment?: InputAdornmentType;\n\tendAdornment?: InputAdornmentType;\n};\n\nfunction hasItems(items?: InputAdornmentType): boolean {\n\tif (!items) {\n\t\treturn false;\n\t}\n\n\treturn Array.isArray(items) ? items.length > 0 : Boolean(items);\n}\n\nconst KolInputContainerFc: FC<InputContainerProps> = (props, children) => {\n\tconst { class: classNames, startAdornment, endAdornment, ...other } = props;\n\n\tif (!hasItems(startAdornment) && !hasItems(endAdornment)) {\n\t\treturn (\n\t\t\t<div class={clsx('input', classNames)} {...other}>\n\t\t\t\t{children}\n\t\t\t</div>\n\t\t);\n\t}\n\n\treturn (\n\t\t<div class={clsx('input', classNames)} {...other}>\n\t\t\t<InputAdornment position=\"start\">{startAdornment}</InputAdornment>\n\t\t\t{children}\n\t\t\t<InputAdornment position=\"end\">{endAdornment}</InputAdornment>\n\t\t</div>\n\t);\n};\n\nexport default KolInputContainerFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport type { InternalButtonProps } from '../../schema';\n\nexport type ButtonProps = Partial<InternalButtonProps> & {\n\tlabel: string;\n\tclass?: string;\n\tonClick?: (event: MouseEvent) => void;\n};\n\nconst KolButtonFc: FC<ButtonProps> = (props) => {\n\tconst { label, icons, hideLabel, disabled, onClick, ...other } = props;\n\n\treturn <KolButtonWcTag tabindex={0} _label={label} _disabled={disabled} _icons={icons} _hideLabel={hideLabel} _on={{ onClick }} {...other} />;\n};\n\nexport default KolButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolButtonFc, { type ButtonProps } from '../Button';\nimport KolIconFc, { type IconProps } from '../Icon';\n\ntype IconType = Partial<Omit<IconProps, 'icons'>> & {\n\tcomponentName: 'icon';\n\ticon?: string;\n\tclass?: never;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\ntype ButtonType = Partial<Omit<ButtonProps, 'icons'>> & {\n\tcomponentName: 'button';\n\ticon?: string;\n\tlabel?: string;\n\tclass?: string;\n\n\tonClick?: (event: MouseEvent) => void;\n};\n\nexport type IconButtonProps = IconType | ButtonType;\n\n/**\n * `KolIconButtonFc` is a functional component that renders either a Button or an Icon based on the provided props.\n *\n * Depending on the value of the `componentName` prop, either a Button (`KolButtonFc`) or an Icon (`KolIconFc`) is rendered.\n * Both components support optional `icon` props for displaying an icon and an optional `onClick` handler for user interactions.\n *\n * This component combines the flexibility of rendering either a button with an optional label or a simple icon, while ensuring that unnecessary props for the selected element are not passed.\n *\n * Supported props:\n * - `componentName`: Specifies whether a 'button' or 'icon' should be rendered. Default is 'button'.\n * - `label`: An optional label, which is only shown for Buttons.\n * - `icon`: The name of the icon (e.g., \"home\", \"edit\") or the Codicon class used for the icon display.\n * - `class`: Optional CSS class for additional styling customization.\n * - `onClick`: Optional click handler for user interactions.\n *\n * Example usage:\n * ```tsx\n * <KolIconButtonFc componentName=\"button\" label=\"Submit\" icon=\"check\" onClick={handleClick} />\n * <KolIconButtonFc componentName=\"icon\" icon=\"alert\" onClick={handleClick} />\n * ```\n *\n * @param {IconButtonProps} props - The properties that customize the component, including the selection of the component type (Button or Icon) and other specific attributes.\n * @returns {JSX.Element} - The rendered JSX element (Button or Icon).\n */\nconst KolIconButtonFc: FC<IconButtonProps> = (props) => {\n\tconst { componentName = 'button', label, icon, onClick, ...other } = props;\n\tconst Component = componentName === 'button' ? KolButtonFc : KolIconFc;\n\n\treturn <Component label={label || ''} hideLabel icons={`codicon codicon-${icon}`} onClick={onClick} {...other} />;\n};\n\nexport default KolIconButtonFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type {\n\tButtonProps,\n\tIconOrIconClass,\n\tInputColorStates,\n\tInputEmailStates,\n\tInputFileStates,\n\tInputNumberStates,\n\tInputPasswordStates,\n\tInputRangeStates,\n\tInputTextStates,\n\tKoliBriHorizontalIcons,\n\tTextareaStates,\n\tSelectStates,\n} from '../../schema';\n\nimport KolInputContainerFc, { type InputContainerProps } from '../../functional-components/InputContainer';\nimport KolIconButtonFc from '../../functional-components/IconButton';\nimport { isObject, isString } from 'lodash-es';\n\ntype InputState =\n\t| TextareaStates\n\t| SelectStates\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates;\n\nexport type InputContainerStateWrapperProps = Partial<InputContainerProps> & {\n\tstate: InputState;\n};\n\nfunction getInputContainerProps(state: InputState): { icons?: KoliBriHorizontalIcons; smartButton?: ButtonProps; disabled?: boolean } {\n\tlet icons: KoliBriHorizontalIcons | undefined = undefined;\n\tlet smartButton: ButtonProps | undefined;\n\n\tif ('_icons' in state) {\n\t\ticons = state._icons;\n\t}\n\n\tif ('_smartButton' in state) {\n\t\tsmartButton = state._smartButton;\n\t}\n\n\treturn { icons, smartButton, disabled: state._disabled };\n}\n\nconst InputContainerStateWrapperFc: FC<InputContainerStateWrapperProps> = ({ state, endAdornment: defaultEndAdornment }, children) => {\n\tconst { icons, smartButton, disabled } = getInputContainerProps(state);\n\n\tlet leftIconProps: IconOrIconClass | undefined = icons?.left;\n\tif (isString(leftIconProps)) {\n\t\tleftIconProps = { icon: leftIconProps };\n\t}\n\n\tlet rightIconProps: IconOrIconClass | undefined = icons?.right;\n\tif (isString(rightIconProps)) {\n\t\trightIconProps = { icon: rightIconProps };\n\t}\n\n\tconst startAdornment = [];\n\tconst endAdornment = [];\n\n\tif (defaultEndAdornment) {\n\t\tif (Array.isArray(defaultEndAdornment)) {\n\t\t\tendAdornment.push(...defaultEndAdornment);\n\t\t} else {\n\t\t\tendAdornment.push(defaultEndAdornment);\n\t\t}\n\t}\n\n\tif (leftIconProps) {\n\t\tstartAdornment.push(<KolIconButtonFc componentName=\"icon\" {...(isObject(leftIconProps) ? leftIconProps : {})} />);\n\t}\n\n\tif (isObject(smartButton)) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"button\" {...smartButton} hideLabel={true} disabled={disabled} />);\n\t}\n\n\tif (rightIconProps) {\n\t\tendAdornment.push(<KolIconButtonFc componentName=\"icon\" {...(isObject(rightIconProps) ? rightIconProps : {})} />);\n\t}\n\n\treturn (\n\t\t<KolInputContainerFc startAdornment={startAdornment} endAdornment={endAdornment}>\n\t\t\t{children}\n\t\t</KolInputContainerFc>\n\t);\n};\n\nexport default InputContainerStateWrapperFc;\n"],"version":3}
@@ -1,4 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
4
- "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),index=require("./index-56ff9cf2.js"),getRenderStates=require("./getRenderStates-5aea416a.js"),InputFc=e=>{const{ariaDescribedBy:t,hideLabel:s,label:i,suggestions:n,value:a}=e,l=tslib_es6.__rest(e,["ariaDescribedBy","hideLabel","label","suggestions","value"]),r=Object.assign(Object.assign({type:"text",list:n?`${l.id}-list`:void 0},getRenderStates.getDefaultProps({ariaDescribedBy:t,hideLabel:s,label:i})),l);return index.h(index.Fragment,null,index.h("input",Object.assign({},r,{value:a})),n)},KolInputFc=InputFc,SuggestionsFc=e=>{var{id:t,suggestions:s}=e,i=tslib_es6.__rest(e,["id","suggestions"]);return s?index.h("datalist",Object.assign({id:`${t}-list`},i),s.map((e=>index.h("option",{value:e})))):null},KolSuggestionsFc=SuggestionsFc;function getInputProps(e){const{ariaDescribedBy:t}=getRenderStates.getRenderStates(e),s={id:e._id,hideLabel:e._hideLabel,label:e._label,accessKey:e._accessKey,disabled:e._disabled,name:e._name,ariaDescribedBy:t};if("_type"in e&&(s.type=e._type),"_value"in e&&(s.value=e._value),"_required"in e&&(s.required=e._required),"_maxLength"in e&&(s.maxlength=e._maxLength),"_placeholder"in e&&(s.placeholder=e._placeholder),"_autoComplete"in e&&(s.autoComplete=e._autoComplete),"_spellCheck"in e&&(s.spellcheck=e._spellCheck),"_pattern"in e&&(s.pattern=e._pattern),"_readOnly"in e&&(s.readOnly=e._readOnly),"_min"in e&&(s.min=e._min),"_max"in e&&(s.max=e._max),"_step"in e&&(s.step=e._step),"_multiple"in e&&(s.multiple=e._multiple),"_checked"in e&&(s.checked=e._checked),"_indeterminate"in e&&(s.indeterminate=e._indeterminate),"_suggestions"in e){Array.isArray(e._suggestions)&&e._suggestions.length>0&&(s.suggestions=index.h(KolSuggestionsFc,{id:e._id,suggestions:e._suggestions}))}return s}const InputStateWrapper=e=>{var{state:t}=e,s=tslib_es6.__rest(e,["state"]);return index.h(KolInputFc,Object.assign({},getInputProps(t),s))},KolInputStateWrapperFc=InputStateWrapper;exports.KolInputStateWrapperFc=KolInputStateWrapperFc,exports.KolSuggestionsFc=KolSuggestionsFc;
@@ -1 +0,0 @@
1
- {"file":"InputStateWrapper-2f2a6a4c.js","mappings":"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","names":["getDefaultProps","h","getRenderStates","SuggestionsFc"],"sources":["src/functional-components/inputs/Input/Input.tsx","src/functional-components/Suggestions/Suggestions.tsx","src/functional-component-wrappers/InputStateWrapper/InputStateWrapper.tsx"],"sourcesContent":["import { h, Fragment, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase, VNode } from '@stencil/core/internal';\nimport { getDefaultProps } from '../_helpers/getDefaultProps';\nimport type { DefaultInputProps } from '../_types';\n\nexport type InputProps = DefaultInputProps<JSXBase.InputHTMLAttributes<HTMLInputElement>> & {\n\tvalue?: string | number | string[];\n\tsuggestions?: VNode;\n\tspellcheck?: boolean;\n} & {\n\t[key: `data-${string}`]: unknown;\n\t[key: `aria-${string}`]: unknown;\n};\n\nconst InputFc: FC<InputProps> = (props) => {\n\tconst { ariaDescribedBy, hideLabel, label, suggestions, value, ...other } = props;\n\n\tconst inputProps: JSXBase.InputHTMLAttributes<HTMLInputElement> = {\n\t\ttype: 'text',\n\t\tlist: suggestions ? `${other.id}-list` : undefined,\n\t\t...getDefaultProps({ ariaDescribedBy, hideLabel, label }),\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t<input {...inputProps} value={value} />\n\t\t\t{suggestions}\n\t\t</>\n\t);\n};\n\nexport default InputFc;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport type { W3CInputValue } from '../../schema';\n\nexport type SuggestionsProps = JSXBase.HTMLAttributes<HTMLDataListElement> & {\n\tid: string;\n\tsuggestions: W3CInputValue[];\n};\n\nconst SuggestionsFc: FC<SuggestionsProps> = ({ id, suggestions, ...other }) => {\n\tif (!suggestions) {\n\t\treturn null;\n\t}\n\n\treturn (\n\t\t<datalist id={`${id}-list`} {...other}>\n\t\t\t{suggestions.map((option: W3CInputValue) => (\n\t\t\t\t<option value={option} />\n\t\t\t))}\n\t\t</datalist>\n\t);\n};\nexport default SuggestionsFc;\n","import type { VNode } from '@stencil/core';\nimport { h, type FunctionalComponent as FC } from '@stencil/core';\nimport KolInputFc, { type InputProps } from '../../functional-components/inputs/Input';\n\nimport type {\n\tInputColorStates,\n\tInputEmailStates,\n\tInputFileStates,\n\tInputNumberStates,\n\tInputPasswordStates,\n\tInputRangeStates,\n\tInputTextStates,\n\tInputCheckboxStates,\n\tInputRadioStates,\n} from '../../schema';\nimport { getRenderStates } from '../_helpers/getRenderStates';\nimport SuggestionsFc from '../../functional-components/Suggestions';\n\ntype InputState =\n\t| InputTextStates\n\t| InputEmailStates\n\t| InputPasswordStates\n\t| InputNumberStates\n\t| InputColorStates\n\t| InputFileStates\n\t| InputRangeStates\n\t| InputCheckboxStates\n\t| InputRadioStates;\n\nexport type InputStateWrapperProps = Partial<InputProps> & {\n\tstate: InputState;\n};\n\nfunction getInputProps(state: InputState): InputProps {\n\tconst { ariaDescribedBy } = getRenderStates(state);\n\n\tconst props: InputProps = {\n\t\tid: state._id,\n\t\thideLabel: state._hideLabel,\n\t\tlabel: state._label,\n\t\taccessKey: state._accessKey,\n\t\tdisabled: state._disabled,\n\t\tname: state._name,\n\n\t\tariaDescribedBy: ariaDescribedBy,\n\t};\n\n\tif ('_type' in state) props.type = state._type;\n\tif ('_value' in state) props.value = state._value as string | number | string[];\n\tif ('_required' in state) props.required = state._required;\n\tif ('_maxLength' in state) props.maxlength = state._maxLength;\n\tif ('_placeholder' in state) props.placeholder = state._placeholder;\n\tif ('_autoComplete' in state) props.autoComplete = state._autoComplete;\n\tif ('_spellCheck' in state) props.spellcheck = state._spellCheck;\n\tif ('_pattern' in state) props.pattern = state._pattern;\n\tif ('_readOnly' in state) props.readOnly = state._readOnly;\n\tif ('_min' in state) props.min = state._min;\n\tif ('_max' in state) props.max = state._max;\n\tif ('_step' in state) props.step = state._step;\n\tif ('_multiple' in state) props.multiple = state._multiple;\n\tif ('_checked' in state) props.checked = state._checked;\n\tif ('_indeterminate' in state) props.indeterminate = state._indeterminate;\n\n\tif ('_suggestions' in state) {\n\t\tconst hasSuggestions = Array.isArray(state._suggestions) && state._suggestions.length > 0;\n\t\tif (hasSuggestions) {\n\t\t\tprops.suggestions = (<SuggestionsFc id={state._id} suggestions={state._suggestions} />) as VNode;\n\t\t}\n\t}\n\n\treturn props;\n}\n\nconst InputStateWrapper: FC<InputStateWrapperProps> = ({ state, ...other }) => {\n\treturn <KolInputFc {...getInputProps(state)} {...other} />;\n};\n\nexport default InputStateWrapper;\n"],"version":3}