@public-ui/components 2.2.16-rc.1 → 2.2.16

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 (404) hide show
  1. package/custom-elements.json +37 -37
  2. package/dist/cjs/{Alert-32a5cc5e.js → Alert-5f3a4a55.js} +1 -1
  3. package/dist/cjs/{Alert-32a5cc5e.js.map → Alert-5f3a4a55.js.map} +1 -1
  4. package/dist/cjs/{Collapsible-c9efc75a.js → Collapsible-ff192a6a.js} +1 -1
  5. package/dist/cjs/Collapsible-ff192a6a.js.map +1 -0
  6. package/dist/cjs/{FormFieldMsg-4a4c8878.js → FormFieldMsg-a163eada.js} +1 -1
  7. package/dist/cjs/{FormFieldMsg-4a4c8878.js.map → FormFieldMsg-a163eada.js.map} +1 -1
  8. package/dist/cjs/{InternalUnderlinedBadgeText-09f44cd7.js → InternalUnderlinedBadgeText-9cf480bf.js} +1 -1
  9. package/dist/cjs/{InternalUnderlinedBadgeText-09f44cd7.js.map → InternalUnderlinedBadgeText-9cf480bf.js.map} +1 -1
  10. package/dist/cjs/access-and-short-key-d5fd6a06.js.map +1 -1
  11. package/dist/cjs/{app-globals-04bdffab.js → app-globals-af5298b1.js} +1 -1
  12. package/dist/cjs/{app-globals-04bdffab.js.map → app-globals-af5298b1.js.map} +1 -1
  13. package/dist/cjs/{dev.utils-2628f528.js → dev.utils-eea8731c.js} +1 -1
  14. package/dist/cjs/{dev.utils-2628f528.js.map → dev.utils-eea8731c.js.map} +1 -1
  15. package/dist/cjs/{devtools-5bf6ad87.js → devtools-c7d924a0.js} +1 -1
  16. package/dist/cjs/{devtools-5bf6ad87.js.map → devtools-c7d924a0.js.map} +1 -1
  17. package/dist/cjs/index-ab7cd6e6.js +4 -0
  18. package/dist/cjs/index-ab7cd6e6.js.map +1 -0
  19. package/dist/cjs/kol-abbr.cjs.entry.js +1 -1
  20. package/dist/cjs/kol-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/kol-alert-wc.cjs.entry.js +1 -1
  22. package/dist/cjs/kol-alert.cjs.entry.js +1 -1
  23. package/dist/cjs/kol-avatar-wc.cjs.entry.js +1 -1
  24. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  25. package/dist/cjs/kol-badge.cjs.entry.js +1 -1
  26. package/dist/cjs/kol-breadcrumb.cjs.entry.js +1 -1
  27. package/dist/cjs/kol-button-group-wc.cjs.entry.js +1 -1
  28. package/dist/cjs/kol-button-group.cjs.entry.js +1 -1
  29. package/dist/cjs/kol-button-link.cjs.entry.js +1 -1
  30. package/dist/cjs/kol-button-link.cjs.entry.js.map +1 -1
  31. package/dist/cjs/kol-button-wc.cjs.entry.js +1 -1
  32. package/dist/cjs/kol-button-wc.cjs.entry.js.map +1 -1
  33. package/dist/cjs/kol-button.cjs.entry.js +1 -1
  34. package/dist/cjs/kol-button.cjs.entry.js.map +1 -1
  35. package/dist/cjs/kol-card.cjs.entry.js +1 -1
  36. package/dist/cjs/kol-combobox.cjs.entry.js +1 -1
  37. package/dist/cjs/kol-combobox.cjs.entry.js.map +1 -1
  38. package/dist/cjs/kol-details.cjs.entry.js +1 -1
  39. package/dist/cjs/kol-drawer.cjs.entry.js +1 -1
  40. package/dist/cjs/kol-form.cjs.entry.js +1 -1
  41. package/dist/cjs/kol-heading-wc.cjs.entry.js +1 -1
  42. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  43. package/dist/cjs/kol-icon.cjs.entry.js +1 -1
  44. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  45. package/dist/cjs/kol-indented-text-wc.cjs.entry.js +1 -1
  46. package/dist/cjs/kol-indented-text.cjs.entry.js +1 -1
  47. package/dist/cjs/kol-input-checkbox.cjs.entry.js +1 -1
  48. package/dist/cjs/kol-input-checkbox.cjs.entry.js.map +1 -1
  49. package/dist/cjs/kol-input-color.cjs.entry.js +1 -1
  50. package/dist/cjs/kol-input-color.cjs.entry.js.map +1 -1
  51. package/dist/cjs/kol-input-date.cjs.entry.js +1 -1
  52. package/dist/cjs/kol-input-date.cjs.entry.js.map +1 -1
  53. package/dist/cjs/kol-input-email.cjs.entry.js +1 -1
  54. package/dist/cjs/kol-input-email.cjs.entry.js.map +1 -1
  55. package/dist/cjs/kol-input-file.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-input-file.cjs.entry.js.map +1 -1
  57. package/dist/cjs/kol-input-number.cjs.entry.js +1 -1
  58. package/dist/cjs/kol-input-number.cjs.entry.js.map +1 -1
  59. package/dist/cjs/kol-input-password.cjs.entry.js +1 -1
  60. package/dist/cjs/kol-input-password.cjs.entry.js.map +1 -1
  61. package/dist/cjs/kol-input-radio.cjs.entry.js +1 -1
  62. package/dist/cjs/kol-input-range.cjs.entry.js +1 -1
  63. package/dist/cjs/kol-input-range.cjs.entry.js.map +1 -1
  64. package/dist/cjs/kol-input-text.cjs.entry.js +1 -1
  65. package/dist/cjs/kol-input-text.cjs.entry.js.map +1 -1
  66. package/dist/cjs/kol-input.cjs.entry.js +1 -1
  67. package/dist/cjs/kol-input.cjs.entry.js.map +1 -1
  68. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  69. package/dist/cjs/kol-link-button.cjs.entry.js +1 -1
  70. package/dist/cjs/kol-link-button.cjs.entry.js.map +1 -1
  71. package/dist/cjs/kol-link-group.cjs.entry.js +1 -1
  72. package/dist/cjs/kol-link-wc.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-link-wc.cjs.entry.js.map +1 -1
  74. package/dist/cjs/kol-link.cjs.entry.js +1 -1
  75. package/dist/cjs/kol-link.cjs.entry.js.map +1 -1
  76. package/dist/cjs/kol-logo.cjs.entry.js +1 -1
  77. package/dist/cjs/kol-modal.cjs.entry.js +1 -1
  78. package/dist/cjs/kol-nav.cjs.entry.js +1 -1
  79. package/dist/cjs/kol-pagination.cjs.entry.js +1 -1
  80. package/dist/cjs/kol-popover-button.cjs.entry.js +1 -1
  81. package/dist/cjs/kol-popover-button.cjs.entry.js.map +1 -1
  82. package/dist/cjs/kol-popover-wc.cjs.entry.js +1 -1
  83. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  85. package/dist/cjs/kol-select.cjs.entry.js +1 -1
  86. package/dist/cjs/kol-select.cjs.entry.js.map +1 -1
  87. package/dist/cjs/kol-single-select.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-single-select.cjs.entry.js.map +1 -1
  89. package/dist/cjs/kol-skip-nav.cjs.entry.js +1 -1
  90. package/dist/cjs/kol-span-wc.cjs.entry.js +1 -1
  91. package/dist/cjs/kol-spin.cjs.entry.js +1 -1
  92. package/dist/cjs/kol-split-button.cjs.entry.js +1 -1
  93. package/dist/cjs/kol-symbol.cjs.entry.js +1 -1
  94. package/dist/cjs/kol-table-stateful.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-table-stateless.cjs.entry.js +1 -1
  97. package/dist/cjs/kol-table.cjs.entry.js +1 -1
  98. package/dist/cjs/kol-tabs.cjs.entry.js +1 -1
  99. package/dist/cjs/kol-textarea.cjs.entry.js +1 -1
  100. package/dist/cjs/kol-textarea.cjs.entry.js.map +1 -1
  101. package/dist/cjs/kol-toast-container.cjs.entry.js +1 -1
  102. package/dist/cjs/kol-toolbar.cjs.entry.js +1 -1
  103. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +1 -1
  105. package/dist/cjs/kol-tree-item.cjs.entry.js +1 -1
  106. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  107. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  108. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  109. package/dist/cjs/kolibri.cjs.js +1 -1
  110. package/dist/cjs/loader.cjs.js +1 -1
  111. package/dist/cjs/test-component.cjs.entry.js +1 -1
  112. package/dist/components/Collapsible.js.map +1 -1
  113. package/dist/components/access-and-short-key.js.map +1 -1
  114. package/dist/components/kol-button-link.js.map +1 -1
  115. package/dist/components/kol-button-wc.js +1 -1
  116. package/dist/components/kol-button-wc.js.map +1 -1
  117. package/dist/components/kol-button.js.map +1 -1
  118. package/dist/components/kol-combobox.js +1 -1
  119. package/dist/components/kol-combobox.js.map +1 -1
  120. package/dist/components/kol-input-checkbox.js +1 -1
  121. package/dist/components/kol-input-checkbox.js.map +1 -1
  122. package/dist/components/kol-input-color.js +1 -1
  123. package/dist/components/kol-input-color.js.map +1 -1
  124. package/dist/components/kol-input-date.js +1 -1
  125. package/dist/components/kol-input-date.js.map +1 -1
  126. package/dist/components/kol-input-email.js +1 -1
  127. package/dist/components/kol-input-email.js.map +1 -1
  128. package/dist/components/kol-input-file.js +1 -1
  129. package/dist/components/kol-input-file.js.map +1 -1
  130. package/dist/components/kol-input-number.js +1 -1
  131. package/dist/components/kol-input-number.js.map +1 -1
  132. package/dist/components/kol-input-password.js +1 -1
  133. package/dist/components/kol-input-password.js.map +1 -1
  134. package/dist/components/kol-input-range.js +1 -1
  135. package/dist/components/kol-input-range.js.map +1 -1
  136. package/dist/components/kol-input-text.js +1 -1
  137. package/dist/components/kol-input-text.js.map +1 -1
  138. package/dist/components/kol-input.js.map +1 -1
  139. package/dist/components/kol-link-button.js.map +1 -1
  140. package/dist/components/kol-link-wc.js +1 -1
  141. package/dist/components/kol-link-wc.js.map +1 -1
  142. package/dist/components/kol-link.js.map +1 -1
  143. package/dist/components/kol-popover-button.js.map +1 -1
  144. package/dist/components/kol-select.js +1 -1
  145. package/dist/components/kol-select.js.map +1 -1
  146. package/dist/components/kol-single-select.js +1 -1
  147. package/dist/components/kol-single-select.js.map +1 -1
  148. package/dist/components/kol-textarea.js +1 -1
  149. package/dist/components/kol-textarea.js.map +1 -1
  150. package/dist/esm/Alert-ba64e682.js +4 -0
  151. package/dist/esm/{Alert-9a37a638.js.map → Alert-ba64e682.js.map} +1 -1
  152. package/dist/esm/{Collapsible-29766e0c.js → Collapsible-96785702.js} +1 -1
  153. package/dist/esm/Collapsible-96785702.js.map +1 -0
  154. package/dist/esm/{FormFieldMsg-1c17f4ff.js → FormFieldMsg-f0879547.js} +1 -1
  155. package/dist/esm/{FormFieldMsg-1c17f4ff.js.map → FormFieldMsg-f0879547.js.map} +1 -1
  156. package/dist/esm/InternalUnderlinedBadgeText-669e7d65.js +4 -0
  157. package/dist/esm/{InternalUnderlinedBadgeText-40aac46d.js.map → InternalUnderlinedBadgeText-669e7d65.js.map} +1 -1
  158. package/dist/esm/access-and-short-key-914780a7.js.map +1 -1
  159. package/dist/esm/{app-globals-09d02b04.js → app-globals-b9beca2d.js} +1 -1
  160. package/dist/esm/{app-globals-09d02b04.js.map → app-globals-b9beca2d.js.map} +1 -1
  161. package/dist/esm/{dev.utils-da85e627.js → dev.utils-5bef3b78.js} +1 -1
  162. package/dist/esm/{dev.utils-da85e627.js.map → dev.utils-5bef3b78.js.map} +1 -1
  163. package/dist/esm/{devtools-0d36070b.js → devtools-a4a870b9.js} +1 -1
  164. package/dist/esm/{devtools-0d36070b.js.map → devtools-a4a870b9.js.map} +1 -1
  165. package/dist/esm/index-a69c328d.js +4 -0
  166. package/dist/esm/index-a69c328d.js.map +1 -0
  167. package/dist/esm/kol-abbr.entry.js +1 -1
  168. package/dist/esm/kol-accordion.entry.js +1 -1
  169. package/dist/esm/kol-alert-wc.entry.js +1 -1
  170. package/dist/esm/kol-alert.entry.js +1 -1
  171. package/dist/esm/kol-avatar-wc.entry.js +1 -1
  172. package/dist/esm/kol-avatar.entry.js +1 -1
  173. package/dist/esm/kol-badge.entry.js +1 -1
  174. package/dist/esm/kol-breadcrumb.entry.js +1 -1
  175. package/dist/esm/kol-button-group-wc.entry.js +1 -1
  176. package/dist/esm/kol-button-group.entry.js +1 -1
  177. package/dist/esm/kol-button-link.entry.js +1 -1
  178. package/dist/esm/kol-button-link.entry.js.map +1 -1
  179. package/dist/esm/kol-button-wc.entry.js +1 -1
  180. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  181. package/dist/esm/kol-button.entry.js +1 -1
  182. package/dist/esm/kol-button.entry.js.map +1 -1
  183. package/dist/esm/kol-card.entry.js +1 -1
  184. package/dist/esm/kol-combobox.entry.js +1 -1
  185. package/dist/esm/kol-combobox.entry.js.map +1 -1
  186. package/dist/esm/kol-details.entry.js +1 -1
  187. package/dist/esm/kol-drawer.entry.js +1 -1
  188. package/dist/esm/kol-form.entry.js +1 -1
  189. package/dist/esm/kol-heading-wc.entry.js +1 -1
  190. package/dist/esm/kol-heading.entry.js +1 -1
  191. package/dist/esm/kol-icon.entry.js +1 -1
  192. package/dist/esm/kol-image.entry.js +1 -1
  193. package/dist/esm/kol-indented-text-wc.entry.js +1 -1
  194. package/dist/esm/kol-indented-text.entry.js +1 -1
  195. package/dist/esm/kol-input-checkbox.entry.js +1 -1
  196. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  197. package/dist/esm/kol-input-color.entry.js +1 -1
  198. package/dist/esm/kol-input-color.entry.js.map +1 -1
  199. package/dist/esm/kol-input-date.entry.js +1 -1
  200. package/dist/esm/kol-input-date.entry.js.map +1 -1
  201. package/dist/esm/kol-input-email.entry.js +1 -1
  202. package/dist/esm/kol-input-email.entry.js.map +1 -1
  203. package/dist/esm/kol-input-file.entry.js +1 -1
  204. package/dist/esm/kol-input-file.entry.js.map +1 -1
  205. package/dist/esm/kol-input-number.entry.js +1 -1
  206. package/dist/esm/kol-input-number.entry.js.map +1 -1
  207. package/dist/esm/kol-input-password.entry.js +1 -1
  208. package/dist/esm/kol-input-password.entry.js.map +1 -1
  209. package/dist/esm/kol-input-radio.entry.js +1 -1
  210. package/dist/esm/kol-input-range.entry.js +1 -1
  211. package/dist/esm/kol-input-range.entry.js.map +1 -1
  212. package/dist/esm/kol-input-text.entry.js +1 -1
  213. package/dist/esm/kol-input-text.entry.js.map +1 -1
  214. package/dist/esm/kol-input.entry.js +1 -1
  215. package/dist/esm/kol-input.entry.js.map +1 -1
  216. package/dist/esm/kol-kolibri.entry.js +1 -1
  217. package/dist/esm/kol-link-button.entry.js +1 -1
  218. package/dist/esm/kol-link-button.entry.js.map +1 -1
  219. package/dist/esm/kol-link-group.entry.js +1 -1
  220. package/dist/esm/kol-link-wc.entry.js +1 -1
  221. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  222. package/dist/esm/kol-link.entry.js +1 -1
  223. package/dist/esm/kol-link.entry.js.map +1 -1
  224. package/dist/esm/kol-logo.entry.js +1 -1
  225. package/dist/esm/kol-modal.entry.js +1 -1
  226. package/dist/esm/kol-nav.entry.js +1 -1
  227. package/dist/esm/kol-pagination.entry.js +1 -1
  228. package/dist/esm/kol-popover-button.entry.js +1 -1
  229. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  230. package/dist/esm/kol-popover-wc.entry.js +1 -1
  231. package/dist/esm/kol-progress.entry.js +1 -1
  232. package/dist/esm/kol-quote.entry.js +1 -1
  233. package/dist/esm/kol-select.entry.js +1 -1
  234. package/dist/esm/kol-select.entry.js.map +1 -1
  235. package/dist/esm/kol-single-select.entry.js +1 -1
  236. package/dist/esm/kol-single-select.entry.js.map +1 -1
  237. package/dist/esm/kol-skip-nav.entry.js +1 -1
  238. package/dist/esm/kol-span-wc.entry.js +1 -1
  239. package/dist/esm/kol-spin.entry.js +1 -1
  240. package/dist/esm/kol-split-button.entry.js +1 -1
  241. package/dist/esm/kol-symbol.entry.js +1 -1
  242. package/dist/esm/kol-table-stateful.entry.js +1 -1
  243. package/dist/esm/kol-table-stateless-wc.entry.js +1 -1
  244. package/dist/esm/kol-table-stateless.entry.js +1 -1
  245. package/dist/esm/kol-table.entry.js +1 -1
  246. package/dist/esm/kol-tabs.entry.js +1 -1
  247. package/dist/esm/kol-textarea.entry.js +1 -1
  248. package/dist/esm/kol-textarea.entry.js.map +1 -1
  249. package/dist/esm/kol-toast-container.entry.js +1 -1
  250. package/dist/esm/kol-toolbar.entry.js +1 -1
  251. package/dist/esm/kol-tooltip-wc.entry.js +1 -1
  252. package/dist/esm/kol-tree-item-wc.entry.js +1 -1
  253. package/dist/esm/kol-tree-item.entry.js +1 -1
  254. package/dist/esm/kol-tree-wc.entry.js +1 -1
  255. package/dist/esm/kol-tree.entry.js +1 -1
  256. package/dist/esm/kol-version.entry.js +1 -1
  257. package/dist/esm/kolibri.js +1 -1
  258. package/dist/esm/loader.js +1 -1
  259. package/dist/esm/test-component.entry.js +1 -1
  260. package/dist/kolibri/{Alert-9a37a638.js → Alert-ba64e682.js} +1 -1
  261. package/dist/kolibri/{Collapsible-29766e0c.js → Collapsible-96785702.js} +1 -1
  262. package/dist/kolibri/Collapsible-96785702.js.map +1 -0
  263. package/dist/kolibri/FormFieldMsg-f0879547.js +4 -0
  264. package/dist/kolibri/InternalUnderlinedBadgeText-669e7d65.js +4 -0
  265. package/dist/kolibri/access-and-short-key-914780a7.js.map +1 -1
  266. package/dist/kolibri/app-globals-b9beca2d.js +4 -0
  267. package/dist/kolibri/{dev.utils-da85e627.js → dev.utils-5bef3b78.js} +1 -1
  268. package/dist/kolibri/{devtools-0d36070b.js → devtools-a4a870b9.js} +1 -1
  269. package/dist/kolibri/{index-e850ccc2.js → index-a69c328d.js} +2 -2
  270. package/dist/kolibri/index-a69c328d.js.map +1 -0
  271. package/dist/kolibri/kol-abbr.entry.js +1 -1
  272. package/dist/kolibri/kol-accordion.entry.js +1 -1
  273. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  274. package/dist/kolibri/kol-alert.entry.js +1 -1
  275. package/dist/kolibri/kol-avatar-wc.entry.js +1 -1
  276. package/dist/kolibri/kol-avatar.entry.js +1 -1
  277. package/dist/kolibri/kol-badge.entry.js +1 -1
  278. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  279. package/dist/kolibri/kol-button-group-wc.entry.js +1 -1
  280. package/dist/kolibri/kol-button-group.entry.js +1 -1
  281. package/dist/kolibri/kol-button-link.entry.js +1 -1
  282. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  283. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  284. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  285. package/dist/kolibri/kol-button.entry.js +1 -1
  286. package/dist/kolibri/kol-button.entry.js.map +1 -1
  287. package/dist/kolibri/kol-card.entry.js +1 -1
  288. package/dist/kolibri/kol-combobox.entry.js +1 -1
  289. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  290. package/dist/kolibri/kol-details.entry.js +1 -1
  291. package/dist/kolibri/kol-drawer.entry.js +1 -1
  292. package/dist/kolibri/kol-form.entry.js +1 -1
  293. package/dist/kolibri/kol-heading-wc.entry.js +1 -1
  294. package/dist/kolibri/kol-heading.entry.js +1 -1
  295. package/dist/kolibri/kol-icon.entry.js +1 -1
  296. package/dist/kolibri/kol-image.entry.js +1 -1
  297. package/dist/kolibri/kol-indented-text-wc.entry.js +1 -1
  298. package/dist/kolibri/kol-indented-text.entry.js +1 -1
  299. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  300. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  301. package/dist/kolibri/kol-input-color.entry.js +1 -1
  302. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  303. package/dist/kolibri/kol-input-date.entry.js +1 -1
  304. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  305. package/dist/kolibri/kol-input-email.entry.js +1 -1
  306. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  307. package/dist/kolibri/kol-input-file.entry.js +1 -1
  308. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  309. package/dist/kolibri/kol-input-number.entry.js +1 -1
  310. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  311. package/dist/kolibri/kol-input-password.entry.js +1 -1
  312. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  313. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  314. package/dist/kolibri/kol-input-range.entry.js +1 -1
  315. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  316. package/dist/kolibri/kol-input-text.entry.js +1 -1
  317. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  318. package/dist/kolibri/kol-input.entry.js +1 -1
  319. package/dist/kolibri/kol-input.entry.js.map +1 -1
  320. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  321. package/dist/kolibri/kol-link-button.entry.js +1 -1
  322. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  323. package/dist/kolibri/kol-link-group.entry.js +1 -1
  324. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  325. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  326. package/dist/kolibri/kol-link.entry.js +1 -1
  327. package/dist/kolibri/kol-link.entry.js.map +1 -1
  328. package/dist/kolibri/kol-logo.entry.js +1 -1
  329. package/dist/kolibri/kol-modal.entry.js +1 -1
  330. package/dist/kolibri/kol-nav.entry.js +1 -1
  331. package/dist/kolibri/kol-pagination.entry.js +1 -1
  332. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  333. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  334. package/dist/kolibri/kol-popover-wc.entry.js +1 -1
  335. package/dist/kolibri/kol-progress.entry.js +1 -1
  336. package/dist/kolibri/kol-quote.entry.js +1 -1
  337. package/dist/kolibri/kol-select.entry.js +1 -1
  338. package/dist/kolibri/kol-select.entry.js.map +1 -1
  339. package/dist/kolibri/kol-single-select.entry.js +1 -1
  340. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  341. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  342. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  343. package/dist/kolibri/kol-span-wc.entry.js +1 -1
  344. package/dist/kolibri/kol-spin.entry.js +1 -1
  345. package/dist/kolibri/kol-split-button.entry.js +1 -1
  346. package/dist/kolibri/kol-symbol.entry.js +1 -1
  347. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  348. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  349. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  350. package/dist/kolibri/kol-table.entry.js +1 -1
  351. package/dist/kolibri/kol-tabs.entry.js +1 -1
  352. package/dist/kolibri/kol-textarea.entry.js +1 -1
  353. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  354. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  355. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  356. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  357. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  358. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  359. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  360. package/dist/kolibri/kol-tree.entry.js +1 -1
  361. package/dist/kolibri/kol-version.entry.js +1 -1
  362. package/dist/kolibri/kolibri.esm.js +1 -1
  363. package/dist/kolibri/test-component.entry.js +1 -1
  364. package/dist/types/components.d.ts +84 -84
  365. package/dist/types/functional-components/Collapsible/Collapsible.d.ts +2 -1
  366. package/doc/button-link.md +2 -2
  367. package/doc/button.md +2 -2
  368. package/doc/combobox.md +2 -2
  369. package/doc/input-checkbox.md +2 -2
  370. package/doc/input-color.md +2 -2
  371. package/doc/input-date.md +2 -2
  372. package/doc/input-email.md +2 -2
  373. package/doc/input-file.md +2 -2
  374. package/doc/input-number.md +2 -2
  375. package/doc/input-password.md +2 -2
  376. package/doc/input-range.md +2 -2
  377. package/doc/input-text.md +2 -2
  378. package/doc/link-button.md +2 -2
  379. package/doc/link.md +2 -2
  380. package/doc/popover-button.md +2 -2
  381. package/doc/select.md +2 -2
  382. package/doc/single-select.md +2 -2
  383. package/doc/textarea.md +2 -2
  384. package/package.json +2 -2
  385. package/vscode-custom-data.json +36 -36
  386. package/dist/cjs/Collapsible-c9efc75a.js.map +0 -1
  387. package/dist/cjs/index-c776c56b.js +0 -4
  388. package/dist/cjs/index-c776c56b.js.map +0 -1
  389. package/dist/esm/Alert-9a37a638.js +0 -4
  390. package/dist/esm/Collapsible-29766e0c.js.map +0 -1
  391. package/dist/esm/InternalUnderlinedBadgeText-40aac46d.js +0 -4
  392. package/dist/esm/index-e850ccc2.js +0 -4
  393. package/dist/esm/index-e850ccc2.js.map +0 -1
  394. package/dist/kolibri/Collapsible-29766e0c.js.map +0 -1
  395. package/dist/kolibri/FormFieldMsg-1c17f4ff.js +0 -4
  396. package/dist/kolibri/InternalUnderlinedBadgeText-40aac46d.js +0 -4
  397. package/dist/kolibri/app-globals-09d02b04.js +0 -4
  398. package/dist/kolibri/index-e850ccc2.js.map +0 -1
  399. /package/dist/kolibri/{Alert-9a37a638.js.map → Alert-ba64e682.js.map} +0 -0
  400. /package/dist/kolibri/{FormFieldMsg-1c17f4ff.js.map → FormFieldMsg-f0879547.js.map} +0 -0
  401. /package/dist/kolibri/{InternalUnderlinedBadgeText-40aac46d.js.map → InternalUnderlinedBadgeText-669e7d65.js.map} +0 -0
  402. /package/dist/kolibri/{app-globals-09d02b04.js.map → app-globals-b9beca2d.js.map} +0 -0
  403. /package/dist/kolibri/{dev.utils-da85e627.js.map → dev.utils-5bef3b78.js.map} +0 -0
  404. /package/dist/kolibri/{devtools-0d36070b.js.map → devtools-a4a870b9.js.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "2.2.16-rc.1",
2
+ "version": "2.2.16",
3
3
  "tags": [
4
4
  {
5
5
  "name": "kol-abbr",
@@ -230,7 +230,7 @@
230
230
  {
231
231
  "name": "_access-key",
232
232
  "type": "string | undefined",
233
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
233
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
234
234
  "required": false
235
235
  },
236
236
  {
@@ -310,7 +310,7 @@
310
310
  {
311
311
  "name": "_short-key",
312
312
  "type": "string | undefined",
313
- "description": "Adds a visual short key hint to the component.",
313
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
314
314
  "required": false
315
315
  },
316
316
  {
@@ -386,7 +386,7 @@
386
386
  {
387
387
  "name": "_access-key",
388
388
  "type": "string | undefined",
389
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
389
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
390
390
  "required": false
391
391
  },
392
392
  {
@@ -460,7 +460,7 @@
460
460
  {
461
461
  "name": "_short-key",
462
462
  "type": "string | undefined",
463
- "description": "Adds a visual short key hint to the component.",
463
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
464
464
  "required": false
465
465
  },
466
466
  {
@@ -555,7 +555,7 @@
555
555
  {
556
556
  "name": "_access-key",
557
557
  "type": "string | undefined",
558
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
558
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
559
559
  "required": false
560
560
  },
561
561
  {
@@ -638,7 +638,7 @@
638
638
  {
639
639
  "name": "_short-key",
640
640
  "type": "string | undefined",
641
- "description": "Adds a visual short key hint to the component.",
641
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
642
642
  "required": false
643
643
  },
644
644
  {
@@ -962,7 +962,7 @@
962
962
  {
963
963
  "name": "_access-key",
964
964
  "type": "string | undefined",
965
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
965
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
966
966
  "required": false
967
967
  },
968
968
  {
@@ -1065,7 +1065,7 @@
1065
1065
  {
1066
1066
  "name": "_short-key",
1067
1067
  "type": "string | undefined",
1068
- "description": "Adds a visual short key hint to the component.",
1068
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1069
1069
  "required": false
1070
1070
  },
1071
1071
  {
@@ -1137,7 +1137,7 @@
1137
1137
  {
1138
1138
  "name": "_access-key",
1139
1139
  "type": "string | undefined",
1140
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
1140
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
1141
1141
  "required": false
1142
1142
  },
1143
1143
  {
@@ -1219,7 +1219,7 @@
1219
1219
  {
1220
1220
  "name": "_short-key",
1221
1221
  "type": "string | undefined",
1222
- "description": "Adds a visual short key hint to the component.",
1222
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1223
1223
  "required": false
1224
1224
  },
1225
1225
  {
@@ -1295,7 +1295,7 @@
1295
1295
  {
1296
1296
  "name": "_access-key",
1297
1297
  "type": "string | undefined",
1298
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
1298
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
1299
1299
  "required": false
1300
1300
  },
1301
1301
  {
@@ -1403,7 +1403,7 @@
1403
1403
  {
1404
1404
  "name": "_short-key",
1405
1405
  "type": "string | undefined",
1406
- "description": "Adds a visual short key hint to the component.",
1406
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1407
1407
  "required": false
1408
1408
  },
1409
1409
  {
@@ -1497,7 +1497,7 @@
1497
1497
  {
1498
1498
  "name": "_access-key",
1499
1499
  "type": "string | undefined",
1500
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
1500
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
1501
1501
  "required": false
1502
1502
  },
1503
1503
  {
@@ -1625,7 +1625,7 @@
1625
1625
  {
1626
1626
  "name": "_short-key",
1627
1627
  "type": "string | undefined",
1628
- "description": "Adds a visual short key hint to the component.",
1628
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1629
1629
  "required": false
1630
1630
  },
1631
1631
  {
@@ -1707,7 +1707,7 @@
1707
1707
  {
1708
1708
  "name": "_access-key",
1709
1709
  "type": "string | undefined",
1710
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
1710
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
1711
1711
  "required": false
1712
1712
  },
1713
1713
  {
@@ -1797,7 +1797,7 @@
1797
1797
  {
1798
1798
  "name": "_short-key",
1799
1799
  "type": "string | undefined",
1800
- "description": "Adds a visual short key hint to the component.",
1800
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1801
1801
  "required": false
1802
1802
  },
1803
1803
  {
@@ -1867,7 +1867,7 @@
1867
1867
  {
1868
1868
  "name": "_access-key",
1869
1869
  "type": "string | undefined",
1870
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
1870
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
1871
1871
  "required": false
1872
1872
  },
1873
1873
  {
@@ -1981,7 +1981,7 @@
1981
1981
  {
1982
1982
  "name": "_short-key",
1983
1983
  "type": "string | undefined",
1984
- "description": "Adds a visual short key hint to the component.",
1984
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
1985
1985
  "required": false
1986
1986
  },
1987
1987
  {
@@ -2063,7 +2063,7 @@
2063
2063
  {
2064
2064
  "name": "_access-key",
2065
2065
  "type": "string | undefined",
2066
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
2066
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
2067
2067
  "required": false
2068
2068
  },
2069
2069
  {
@@ -2184,7 +2184,7 @@
2184
2184
  {
2185
2185
  "name": "_short-key",
2186
2186
  "type": "string | undefined",
2187
- "description": "Adds a visual short key hint to the component.",
2187
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
2188
2188
  "required": false
2189
2189
  },
2190
2190
  {
@@ -2403,7 +2403,7 @@
2403
2403
  {
2404
2404
  "name": "_access-key",
2405
2405
  "type": "string | undefined",
2406
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
2406
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
2407
2407
  "required": false
2408
2408
  },
2409
2409
  {
@@ -2499,7 +2499,7 @@
2499
2499
  {
2500
2500
  "name": "_short-key",
2501
2501
  "type": "string | undefined",
2502
- "description": "Adds a visual short key hint to the component.",
2502
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
2503
2503
  "required": false
2504
2504
  },
2505
2505
  {
@@ -2575,7 +2575,7 @@
2575
2575
  {
2576
2576
  "name": "_access-key",
2577
2577
  "type": "string | undefined",
2578
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
2578
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
2579
2579
  "required": false
2580
2580
  },
2581
2581
  {
@@ -2696,7 +2696,7 @@
2696
2696
  {
2697
2697
  "name": "_short-key",
2698
2698
  "type": "string | undefined",
2699
- "description": "Adds a visual short key hint to the component.",
2699
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
2700
2700
  "required": false
2701
2701
  },
2702
2702
  {
@@ -2810,7 +2810,7 @@
2810
2810
  {
2811
2811
  "name": "_access-key",
2812
2812
  "type": "string | undefined",
2813
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
2813
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
2814
2814
  "required": false
2815
2815
  },
2816
2816
  {
@@ -2872,7 +2872,7 @@
2872
2872
  {
2873
2873
  "name": "_short-key",
2874
2874
  "type": "string | undefined",
2875
- "description": "Adds a visual short key hint to the component.",
2875
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
2876
2876
  "required": false
2877
2877
  },
2878
2878
  {
@@ -2919,7 +2919,7 @@
2919
2919
  {
2920
2920
  "name": "_access-key",
2921
2921
  "type": "string | undefined",
2922
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
2922
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
2923
2923
  "required": false
2924
2924
  },
2925
2925
  {
@@ -2987,7 +2987,7 @@
2987
2987
  {
2988
2988
  "name": "_short-key",
2989
2989
  "type": "string | undefined",
2990
- "description": "Adds a visual short key hint to the component.",
2990
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
2991
2991
  "required": false
2992
2992
  },
2993
2993
  {
@@ -3269,7 +3269,7 @@
3269
3269
  {
3270
3270
  "name": "_access-key",
3271
3271
  "type": "string | undefined",
3272
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
3272
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
3273
3273
  "required": false
3274
3274
  },
3275
3275
  {
@@ -3350,7 +3350,7 @@
3350
3350
  {
3351
3351
  "name": "_short-key",
3352
3352
  "type": "string | undefined",
3353
- "description": "Adds a visual short key hint to the component.",
3353
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
3354
3354
  "required": false
3355
3355
  },
3356
3356
  {
@@ -3483,7 +3483,7 @@
3483
3483
  {
3484
3484
  "name": "_access-key",
3485
3485
  "type": "string | undefined",
3486
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
3486
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
3487
3487
  "required": false
3488
3488
  },
3489
3489
  {
@@ -3585,7 +3585,7 @@
3585
3585
  {
3586
3586
  "name": "_short-key",
3587
3587
  "type": "string | undefined",
3588
- "description": "Adds a visual short key hint to the component.",
3588
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
3589
3589
  "required": false
3590
3590
  },
3591
3591
  {
@@ -3649,7 +3649,7 @@
3649
3649
  {
3650
3650
  "name": "_access-key",
3651
3651
  "type": "string | undefined",
3652
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
3652
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
3653
3653
  "required": false
3654
3654
  },
3655
3655
  {
@@ -3751,7 +3751,7 @@
3751
3751
  {
3752
3752
  "name": "_short-key",
3753
3753
  "type": "string | undefined",
3754
- "description": "Adds a visual short key hint to the component.",
3754
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
3755
3755
  "required": false
3756
3756
  },
3757
3757
  {
@@ -4232,7 +4232,7 @@
4232
4232
  {
4233
4233
  "name": "_access-key",
4234
4234
  "type": "string | undefined",
4235
- "description": "Defines which key combination can be used to trigger or focus the interactive element of the component.",
4235
+ "description": "Defines the key combination that can be used to trigger or focus the component’s interactive element.",
4236
4236
  "required": false
4237
4237
  },
4238
4238
  {
@@ -4361,7 +4361,7 @@
4361
4361
  {
4362
4362
  "name": "_short-key",
4363
4363
  "type": "string | undefined",
4364
- "description": "Adds a visual short key hint to the component.",
4364
+ "description": "Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.",
4365
4365
  "required": false
4366
4366
  },
4367
4367
  {
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),index=require("./index-c776c56b.js"),clsx=require("./clsx-dd4d6dd1.js"),index$1=require("./index-397ed1bf.js"),i18n=require("./i18n-ae496e9d.js"),componentNames=require("./component-names-2c750b1b.js"),Icon=({ariaLabel:e,icon:n})=>index.h(index.Fragment,null,index.h("span",{class:"visually-hidden"},e),index.h(componentNames.KolIconTag,{class:"heading-icon",_label:"",_icons:n})),AlertIcon=({type:e,label:n})=>{switch(e){case"error":return index.h(Icon,{ariaLabel:i18n.translate("kol-error"),icon:"codicon codicon-error",label:n});case"info":return index.h(Icon,{ariaLabel:i18n.translate("kol-info"),icon:"codicon codicon-info",label:n});case"warning":return index.h(Icon,{ariaLabel:i18n.translate("kol-warning"),icon:"codicon codicon-warning",label:n});case"success":return index.h(Icon,{ariaLabel:i18n.translate("kol-success"),icon:"codicon codicon-pass",label:n});default:return index.h(Icon,{ariaLabel:i18n.translate("kol-message"),icon:"codicon codicon-comment",label:n})}},KolAlertFc=(e,n)=>{const{class:l={},type:i="default",variant:o="msg",label:a,hasCloser:c,alert:s,onAlertTimeout:t,onCloserClick:r,level:d}=e,b=tslib_es6.__rest(e,["class","type","variant","label","hasCloser","alert","onAlertTimeout","onCloserClick","level"]);if(s){try{index$1.Log.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){index$1.Log.debug("Navigator does not support vibration.")}setTimeout(()=>{null==t||t()},1e4)}const u=Object.assign({class:clsx.clsx("kol-alert-wc","alert",i,o,{hasCloser:!!c},l),role:s?"alert":void 0},b);return index.h("div",Object.assign({},u),index.h("div",{class:"heading"},index.h(AlertIcon,{label:a,type:i}),index.h("div",{class:"heading-content"},a?index.h(componentNames.KolHeadingWcTag,{_label:a,_level:d}):null,"msg"===o&&index.h("div",{class:"content"},n)),c&&index.h(componentNames.KolButtonWcTag,{class:"close",_ariaDescription:(null==a?void 0:a.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close-alert"),_on:{onClick:r},_tooltipAlign:"left"})),"card"===o&&index.h("div",{class:"content"},n))};exports.KolAlertFc=KolAlertFc;
4
+ "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),index=require("./index-ab7cd6e6.js"),clsx=require("./clsx-dd4d6dd1.js"),index$1=require("./index-397ed1bf.js"),i18n=require("./i18n-ae496e9d.js"),componentNames=require("./component-names-2c750b1b.js"),Icon=({ariaLabel:e,icon:n})=>index.h(index.Fragment,null,index.h("span",{class:"visually-hidden"},e),index.h(componentNames.KolIconTag,{class:"heading-icon",_label:"",_icons:n})),AlertIcon=({type:e,label:n})=>{switch(e){case"error":return index.h(Icon,{ariaLabel:i18n.translate("kol-error"),icon:"codicon codicon-error",label:n});case"info":return index.h(Icon,{ariaLabel:i18n.translate("kol-info"),icon:"codicon codicon-info",label:n});case"warning":return index.h(Icon,{ariaLabel:i18n.translate("kol-warning"),icon:"codicon codicon-warning",label:n});case"success":return index.h(Icon,{ariaLabel:i18n.translate("kol-success"),icon:"codicon codicon-pass",label:n});default:return index.h(Icon,{ariaLabel:i18n.translate("kol-message"),icon:"codicon codicon-comment",label:n})}},KolAlertFc=(e,n)=>{const{class:l={},type:i="default",variant:o="msg",label:a,hasCloser:c,alert:s,onAlertTimeout:t,onCloserClick:r,level:d}=e,b=tslib_es6.__rest(e,["class","type","variant","label","hasCloser","alert","onAlertTimeout","onCloserClick","level"]);if(s){try{index$1.Log.debug(["Navigator should vibrate ...",navigator.vibrate([100,75,100,75,100])])}catch(e){index$1.Log.debug("Navigator does not support vibration.")}setTimeout(()=>{null==t||t()},1e4)}const u=Object.assign({class:clsx.clsx("kol-alert-wc","alert",i,o,{hasCloser:!!c},l),role:s?"alert":void 0},b);return index.h("div",Object.assign({},u),index.h("div",{class:"heading"},index.h(AlertIcon,{label:a,type:i}),index.h("div",{class:"heading-content"},a?index.h(componentNames.KolHeadingWcTag,{_label:a,_level:d}):null,"msg"===o&&index.h("div",{class:"content"},n)),c&&index.h(componentNames.KolButtonWcTag,{class:"close",_ariaDescription:(null==a?void 0:a.trim())||"",_hideLabel:!0,_icons:{left:{icon:"codicon codicon-close"}},_label:i18n.translate("kol-close-alert"),_on:{onClick:r},_tooltipAlign:"left"})),"card"===o&&index.h("div",{class:"content"},n))};exports.KolAlertFc=KolAlertFc;
@@ -1 +1 @@
1
- {"file":"Alert-32a5cc5e.js","mappings":";;;;;;;;;;;;AAUA,MAAM,IAAI,GAA4D,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE;IACzF,QACCA;QACCA,kBAAM,KAAK,EAAC,iBAAiB,IAAE,SAAS,CAAQ;QAChDA,QAACC,yBAAU,IAAC,KAAK,EAAC,cAAc,EAAC,MAAM,EAAC,EAAE,EAAC,MAAM,EAAE,IAAI,GAAI,CACzD,EACF;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAA6C,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE;IAC3E,QAAQ,IAAI;QACX,KAAK,OAAO;YACX,OAAOD,QAAC,IAAI,IAAC,SAAS,EAAEE,cAAS,CAAC,WAAW,CAAC,EAAE,IAAI,EAAC,uBAAuB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC;QAC/F,KAAK,MAAM;YACV,OAAOF,QAAC,I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AED,MAAM,SAAS,mBACd,KAAK,EAAEC,SAAI,CAAC,cAAc,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAE,UAAU,CAAC,EAC3F,IAAI,EAAE,KAAK,GAAG,OAAO,GAAG,SAAS,IAC9B,KAAK,CACR,CAAC;IAEF,QACCJ,iCAAS,SAAS;QACjBA,iBAAK,KAAK,EAAC,SAAS;YACnBA,QAAC,SAAS,IAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,IAAI,GAAI;YACvCA,iBAAK,KAAK,EAAC,iBAAiB;gBAC1B,KAAK,GAAGA,QAACK,8BAAe,IAAC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,GAAI,GAAG,IAAI;gBAChE,OAAO,KAAK,KAAK,IAAIL,iBAAK,KAAK,EAAC,SAAS,IAAE,QAAQ,CAAO,CACtD;YACL,SAAS,KACTA,QAACM,6BAAc,IACd,KAAK,EAAC,OAAO,EACb,gBAAgB,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,KAAI,EAAE,EACrC,UAAU,QACV,MAAM,EAAE;oBACP,IAAI,EAAE;wBACL,IAAI,EAAE,uBAAuB;qBAC7B;iBACD,EACD,MAAM,EAAEJ,cAAS,CAAC,iBAAiB,CAAC,EACpC,GAAG,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAC/B,aAAa,EAAC,MAAM,GACH,CAClB,CACI;QACL,OAAO,KAAK,MAAM,IAAIF,iBAAK,KAAK,EAAC,SAAS,IAAE,QAAQ,CAAO,CACvD,EACL;AACH;;;;","names":["h","KolIconTag","translate","Log","clsx","KolHeadingWcTag","KolButtonWcTag"],"sources":["src/functional-components/AlertIcon/AlertIcon.tsx","src/functional-components/Alert/Alert.tsx"],"sourcesContent":["import { Fragment, type FunctionalComponent as FC, h } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport type { AlertType } from '../../schema';\nimport { translate } from '../../i18n';\n\n/**\n * The icon uses a visually-hidden span instead of an aria-label because the Alert might be referenced as content for aria-describedby.\n * In this scenario, Firefox with NVDA does not properly read the aria-label, so the visually-hidden span ensures correct screen reader behavior.\n * @see https://github.com/public-ui/kolibri/issues/7119\n */\nconst Icon: FC<{ ariaLabel: string; icon: string; label?: string }> = ({ ariaLabel, icon }) => {\n\treturn (\n\t\t<>\n\t\t\t<span class=\"visually-hidden\">{ariaLabel}</span>\n\t\t\t<KolIconTag class=\"heading-icon\" _label=\"\" _icons={icon} />\n\t\t</>\n\t);\n};\n\nconst AlertIcon: FC<{ label?: string; type?: AlertType }> = ({ type, label }) => {\n\tswitch (type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translate('kol-error')} icon=\"codicon codicon-error\" label={label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translate('kol-info')} icon=\"codicon codicon-info\" label={label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translate('kol-warning')} icon=\"codicon codicon-warning\" label={label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translate('kol-success')} icon=\"codicon codicon-pass\" label={label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translate('kol-message')} icon=\"codicon codicon-comment\" label={label} />;\n\t}\n};\n\nexport default AlertIcon;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { InternalAlertProps } from '../../schema';\nimport { Log } from '../../schema';\nimport { translate } from '../../i18n';\nimport AlertIcon from '../AlertIcon';\nimport { KolButtonWcTag, KolHeadingWcTag } from '../../core/component-names';\n\nexport type KolAlertFcProps = JSXBase.HTMLAttributes<HTMLDivElement> &\n\tPartial<Omit<InternalAlertProps, 'on'>> & {\n\t\tonCloserClick?: () => void;\n\t\tonAlertTimeout?: () => void;\n\t};\n\nconst KolAlertFc: FC<KolAlertFcProps> = (props, children) => {\n\tconst { class: classNames = {}, type = 'default', variant = 'msg', label, hasCloser, alert, onAlertTimeout, onCloserClick, level, ...other } = props;\n\n\tif (alert) {\n\t\t/**\n\t\t * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n\t\t * - https://googlechrome.github.io/samples/vibration/\n\t\t */\n\t\ttry {\n\t\t\tLog.debug(['Navigator should vibrate ...', navigator.vibrate([100, 75, 100, 75, 100])]);\n\t\t} catch (e) {\n\t\t\tLog.debug('Navigator does not support vibration.');\n\t\t}\n\n\t\tsetTimeout(() => {\n\t\t\tonAlertTimeout?.();\n\t\t}, 10000);\n\t}\n\n\tconst rootProps: Partial<JSXBase.HTMLAttributes<HTMLDivElement>> = {\n\t\tclass: clsx('kol-alert-wc', 'alert', type, variant, { hasCloser: !!hasCloser }, classNames),\n\t\trole: alert ? 'alert' : undefined,\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<div {...rootProps}>\n\t\t\t<div class=\"heading\">\n\t\t\t\t<AlertIcon label={label} type={type} />\n\t\t\t\t<div class=\"heading-content\">\n\t\t\t\t\t{label ? <KolHeadingWcTag _label={label} _level={level} /> : null}\n\t\t\t\t\t{variant === 'msg' && <div class=\"content\">{children}</div>}\n\t\t\t\t</div>\n\t\t\t\t{hasCloser && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t_ariaDescription={label?.trim() || ''}\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translate('kol-close-alert')}\n\t\t\t\t\t\t_on={{ onClick: onCloserClick }}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t\t{variant === 'card' && <div class=\"content\">{children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,IACd,KAAK,EAAC,OAAO,EACb,gBAAgB,EAAE,CAAA,KAAK,aAAL,KAAK,uBAAL,KAAK,CAAE,IAAI,EAAE,KAAI,EAAE,EACrC,UAAU,QACV,MAAM,EAAE;oBACP,IAAI,EAAE;wBACL,IAAI,EAAE,uBAAuB;qBAC7B;iBACD,EACD,MAAM,EAAEJ,cAAS,CAAC,iBAAiB,CAAC,EACpC,GAAG,EAAE,EAAE,OAAO,EAAE,aAAa,EAAE,EAC/B,aAAa,EAAC,MAAM,GACH,CAClB,CACI;QACL,OAAO,KAAK,MAAM,IAAIF,iBAAK,KAAK,EAAC,SAAS,IAAE,QAAQ,CAAO,CACvD,EACL;AACH;;;;","names":["h","KolIconTag","translate","Log","clsx","KolHeadingWcTag","KolButtonWcTag"],"sources":["src/functional-components/AlertIcon/AlertIcon.tsx","src/functional-components/Alert/Alert.tsx"],"sourcesContent":["import { Fragment, type FunctionalComponent as FC, h } from '@stencil/core';\nimport { KolIconTag } from '../../core/component-names';\nimport type { AlertType } from '../../schema';\nimport { translate } from '../../i18n';\n\n/**\n * The icon uses a visually-hidden span instead of an aria-label because the Alert might be referenced as content for aria-describedby.\n * In this scenario, Firefox with NVDA does not properly read the aria-label, so the visually-hidden span ensures correct screen reader behavior.\n * @see https://github.com/public-ui/kolibri/issues/7119\n */\nconst Icon: FC<{ ariaLabel: string; icon: string; label?: string }> = ({ ariaLabel, icon }) => {\n\treturn (\n\t\t<>\n\t\t\t<span class=\"visually-hidden\">{ariaLabel}</span>\n\t\t\t<KolIconTag class=\"heading-icon\" _label=\"\" _icons={icon} />\n\t\t</>\n\t);\n};\n\nconst AlertIcon: FC<{ label?: string; type?: AlertType }> = ({ type, label }) => {\n\tswitch (type) {\n\t\tcase 'error':\n\t\t\treturn <Icon ariaLabel={translate('kol-error')} icon=\"codicon codicon-error\" label={label} />;\n\t\tcase 'info':\n\t\t\treturn <Icon ariaLabel={translate('kol-info')} icon=\"codicon codicon-info\" label={label} />;\n\t\tcase 'warning':\n\t\t\treturn <Icon ariaLabel={translate('kol-warning')} icon=\"codicon codicon-warning\" label={label} />;\n\t\tcase 'success':\n\t\t\treturn <Icon ariaLabel={translate('kol-success')} icon=\"codicon codicon-pass\" label={label} />;\n\t\tdefault:\n\t\t\treturn <Icon ariaLabel={translate('kol-message')} icon=\"codicon codicon-comment\" label={label} />;\n\t}\n};\n\nexport default AlertIcon;\n","import { h, type FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport type { InternalAlertProps } from '../../schema';\nimport { Log } from '../../schema';\nimport { translate } from '../../i18n';\nimport AlertIcon from '../AlertIcon';\nimport { KolButtonWcTag, KolHeadingWcTag } from '../../core/component-names';\n\nexport type KolAlertFcProps = JSXBase.HTMLAttributes<HTMLDivElement> &\n\tPartial<Omit<InternalAlertProps, 'on'>> & {\n\t\tonCloserClick?: () => void;\n\t\tonAlertTimeout?: () => void;\n\t};\n\nconst KolAlertFc: FC<KolAlertFcProps> = (props, children) => {\n\tconst { class: classNames = {}, type = 'default', variant = 'msg', label, hasCloser, alert, onAlertTimeout, onCloserClick, level, ...other } = props;\n\n\tif (alert) {\n\t\t/**\n\t\t * - https://developer.mozilla.org/de/docs/Web/API/Navigator/vibrate\n\t\t * - https://googlechrome.github.io/samples/vibration/\n\t\t */\n\t\ttry {\n\t\t\tLog.debug(['Navigator should vibrate ...', navigator.vibrate([100, 75, 100, 75, 100])]);\n\t\t} catch (e) {\n\t\t\tLog.debug('Navigator does not support vibration.');\n\t\t}\n\n\t\tsetTimeout(() => {\n\t\t\tonAlertTimeout?.();\n\t\t}, 10000);\n\t}\n\n\tconst rootProps: Partial<JSXBase.HTMLAttributes<HTMLDivElement>> = {\n\t\tclass: clsx('kol-alert-wc', 'alert', type, variant, { hasCloser: !!hasCloser }, classNames),\n\t\trole: alert ? 'alert' : undefined,\n\t\t...other,\n\t};\n\n\treturn (\n\t\t<div {...rootProps}>\n\t\t\t<div class=\"heading\">\n\t\t\t\t<AlertIcon label={label} type={type} />\n\t\t\t\t<div class=\"heading-content\">\n\t\t\t\t\t{label ? <KolHeadingWcTag _label={label} _level={level} /> : null}\n\t\t\t\t\t{variant === 'msg' && <div class=\"content\">{children}</div>}\n\t\t\t\t</div>\n\t\t\t\t{hasCloser && (\n\t\t\t\t\t<KolButtonWcTag\n\t\t\t\t\t\tclass=\"close\"\n\t\t\t\t\t\t_ariaDescription={label?.trim() || ''}\n\t\t\t\t\t\t_hideLabel\n\t\t\t\t\t\t_icons={{\n\t\t\t\t\t\t\tleft: {\n\t\t\t\t\t\t\t\ticon: 'codicon codicon-close',\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}}\n\t\t\t\t\t\t_label={translate('kol-close-alert')}\n\t\t\t\t\t\t_on={{ onClick: onCloserClick }}\n\t\t\t\t\t\t_tooltipAlign=\"left\"\n\t\t\t\t\t></KolButtonWcTag>\n\t\t\t\t)}\n\t\t\t</div>\n\t\t\t{variant === 'card' && <div class=\"content\">{children}</div>}\n\t\t</div>\n\t);\n};\n\nexport default KolAlertFc;\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),index=require("./index-c776c56b.js"),clsx=require("./clsx-dd4d6dd1.js"),componentNames=require("./component-names-2c750b1b.js"),KolCollapsibleFc=(l,s)=>{const{id:e,class:o,label:i,level:n=1,disabled:a,open:c,onClick:d,HeadingProps:r={},HeadingButtonProps:t={},ContentProps:p={}}=l,b=tslib_es6.__rest(l,["id","class","label","level","disabled","open","onClick","HeadingProps","HeadingButtonProps","ContentProps"]),x=c?"remove":"add";return index.h("div",Object.assign({id:e,class:clsx.clsx("collapsible",{disabled:!0===a,open:!0===c},o)},b),index.h(componentNames.KolHeadingWcTag,{ref:null==r?void 0:r.ref,_label:"",_level:n,class:clsx.clsx("collapsible__heading",null==r?void 0:r.class)},index.h(componentNames.KolButtonWcTag,{class:clsx.clsx("collapsible__heading-button",null==t?void 0:t.class),ref:null==t?void 0:t.ref,slot:"expert",_ariaControls:`${e}-control`,_ariaExpanded:c,_disabled:a,_icons:(null==t?void 0:t._icons)||`codicon codicon-${x}`,_label:i,_on:{onClick:d}})),index.h("div",{class:clsx.clsx("collapsible__wrapper",null==p?void 0:p.wrapperClass)},index.h("div",{class:clsx.clsx("collapsible__wrapper-animation",null==p?void 0:p.animationClass)},index.h("div",{"aria-hidden":!1===c?"true":void 0,class:clsx.clsx("collapsible__content",null==p?void 0:p.class),id:`${e}-control`},s))))};exports.KolCollapsibleFc=KolCollapsibleFc;
4
+ "use strict";const tslib_es6=require("./tslib.es6-5e301284.js"),index=require("./index-ab7cd6e6.js"),clsx=require("./clsx-dd4d6dd1.js"),componentNames=require("./component-names-2c750b1b.js"),KolCollapsibleFc=(l,s)=>{const{id:e,class:o,label:i,level:n=1,disabled:a,open:c,onClick:d,HeadingProps:r={},HeadingButtonProps:t={},ContentProps:p={}}=l,b=tslib_es6.__rest(l,["id","class","label","level","disabled","open","onClick","HeadingProps","HeadingButtonProps","ContentProps"]),x=c?"remove":"add";return index.h("div",Object.assign({id:e,class:clsx.clsx("collapsible",{disabled:!0===a,open:!0===c},o)},b),index.h(componentNames.KolHeadingWcTag,{ref:null==r?void 0:r.ref,_label:"",_level:n,class:clsx.clsx("collapsible__heading",null==r?void 0:r.class)},index.h(componentNames.KolButtonWcTag,{class:clsx.clsx("collapsible__heading-button",null==t?void 0:t.class),ref:null==t?void 0:t.ref,slot:"expert",_ariaControls:`${e}-control`,_ariaExpanded:c,_disabled:a,_icons:(null==t?void 0:t._icons)||`codicon codicon-${x}`,_label:i,_on:{onClick:d}})),index.h("div",{class:clsx.clsx("collapsible__wrapper",null==p?void 0:p.wrapperClass)},index.h("div",{class:clsx.clsx("collapsible__wrapper-animation",null==p?void 0:p.animationClass)},index.h("div",{"aria-hidden":!1===c?"true":void 0,class:clsx.clsx("collapsible__content",null==p?void 0:p.class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kB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,MAAM,KAAI,mBAAmB,IAAI,EAAE,EAC/D,MAAM,EAAE,KAAK,EACb,GAAG,EAAE,EAAE,OAAO,EAAE,GACC,CACD;QAClBD,iBAAK,KAAK,EAAEC,SAAI,CAAC,sBAAsB,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,YAAY,CAAC;YACnED,iBAAK,KAAK,EAAEC,SAAI,CAAC,gCAAgC,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,cAAc,CAAC;gBAC/ED,gCAAkB,IAAI,KAAK,KAAK,GAAG,MAAM,GAAG,SAAS,EAAE,KAAK,EAAEC,SAAI,CAAC,sBAAsB,EAAE,YAAY,aAAZ,YAAY,uBAAZ,YAAY,CAAE,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE,UAAU,IAClI,QAAQ,CACJ,CACD,CACD,CACD,EACL;AACH;;;;","names":["h","clsx","KolHeadingWcTag","KolButtonWcTag"],"sources":["src/functional-components/Collapsible/Collapsible.tsx"],"sourcesContent":["import { h } from '@stencil/core';\nimport type { FunctionalComponent as FC } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from 'clsx';\nimport { KolButtonWcTag, KolHeadingWcTag } from '../../core/component-names';\nimport type { HeadingLevel, IconsPropType } from '../../schema';\n\ntype ClassType =\n\t| string\n\t| {\n\t\t\t[className: string]: boolean;\n\t };\n\nexport type CollapsibleProps = Omit<JSXBase.HTMLAttributes<HTMLElement>, 'id' | 'onClick'> & {\n\tid: string;\n\topen?: boolean;\n\tdisabled?: boolean;\n\tlevel?: HeadingLevel;\n\tlabel: string;\n\tonClick?: (event: MouseEvent) => void;\n\n\tHeadingProps?: {\n\t\tref?: ((elm?: HTMLKolHeadingWcElement | undefined) => void) | undefined;\n\t\tclass?: ClassType;\n\t};\n\n\tHeadingButtonProps?: {\n\t\tref?: ((elm?: HTMLKolButtonWcElement | undefined) => void) | undefined;\n\t\tclass?: ClassType;\n\t\t_icons?: IconsPropType;\n\t};\n\n\tContentProps?: {\n\t\tclass?: ClassType;\n\t\tanimationClass?: ClassType;\n\t\twrapperClass?: ClassType;\n\t};\n};\n\nconst KolCollapsibleFc: FC<CollapsibleProps> = (props, children) => {\n\tconst { id, class: classNames, label, level = 1, disabled, open, onClick, HeadingProps = {}, HeadingButtonProps = {}, ContentProps = {}, ...other } = props;\n\tconst icon = open ? 'remove' : 'add';\n\n\treturn (\n\t\t<div\n\t\t\tid={id}\n\t\t\tclass={clsx(\n\t\t\t\t'collapsible',\n\t\t\t\t{\n\t\t\t\t\tdisabled: disabled === true,\n\t\t\t\t\topen: open === true,\n\t\t\t\t},\n\t\t\t\tclassNames,\n\t\t\t)}\n\t\t\t{...other}\n\t\t>\n\t\t\t<KolHeadingWcTag ref={HeadingProps?.ref} _label=\"\" _level={level} class={clsx('collapsible__heading', HeadingProps?.class)}>\n\t\t\t\t<KolButtonWcTag\n\t\t\t\t\tclass={clsx('collapsible__heading-button', HeadingButtonProps?.class)}\n\t\t\t\t\tref={HeadingButtonProps?.ref}\n\t\t\t\t\tslot=\"expert\"\n\t\t\t\t\t_ariaControls={`${id}-control`}\n\t\t\t\t\t_ariaExpanded={open}\n\t\t\t\t\t_disabled={disabled}\n\t\t\t\t\t_icons={HeadingButtonProps?._icons || `codicon codicon-${icon}`}\n\t\t\t\t\t_label={label}\n\t\t\t\t\t_on={{ onClick }}\n\t\t\t\t></KolButtonWcTag>\n\t\t\t</KolHeadingWcTag>\n\t\t\t<div class={clsx('collapsible__wrapper', ContentProps?.wrapperClass)}>\n\t\t\t\t<div class={clsx('collapsible__wrapper-animation', ContentProps?.animationClass)}>\n\t\t\t\t\t<div aria-hidden={open === false ? 'true' : undefined} class={clsx('collapsible__content', ContentProps?.class)} id={`${id}-control`}>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t);\n};\n\nexport default KolCollapsibleFc;\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const clsx=require("./clsx-dd4d6dd1.js"),index=require("./index-c776c56b.js"),Alert=require("./Alert-32a5cc5e.js");function transformObjectProperties(r){return Object.entries(r).reduce((r,[e,s])=>{const t=e.startsWith("_")?e.slice(1):e;return Object.assign(Object.assign({},r),{[t]:s})},{})}const FormFieldMsgFc=({_alert:r,_msg:e,_hideError:s,_id:t})=>{const c=transformObjectProperties(e||{});return index.h(Alert.KolAlertFc,Object.assign({id:`${t}-error`,alert:r,type:"error",class:clsx.clsx({error:!0,"visually-hidden":!0===s})},c),(null==e?void 0:e._description)||void 0)};exports.FormFieldMsgFc=FormFieldMsgFc;
4
+ "use strict";const clsx=require("./clsx-dd4d6dd1.js"),index=require("./index-ab7cd6e6.js"),Alert=require("./Alert-5f3a4a55.js");function transformObjectProperties(r){return Object.entries(r).reduce((r,[e,s])=>{const t=e.startsWith("_")?e.slice(1):e;return Object.assign(Object.assign({},r),{[t]:s})},{})}const FormFieldMsgFc=({_alert:r,_msg:e,_hideError:s,_id:t})=>{const i=transformObjectProperties(e||{});return index.h(Alert.KolAlertFc,Object.assign({id:`${t}-error`,alert:r,type:"error",class:clsx.clsx({error:!0,"visually-hidden":!0===s})},i),(null==e?void 0:e._description)||void 0)};exports.FormFieldMsgFc=FormFieldMsgFc;
@@ -1 +1 @@
1
- {"file":"FormFieldMsg-4a4c8878.js","mappings":";;;;;;;;;SAuBgB,yBAAyB,CACxC,GAAM;IAIN,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAChC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;QACjB,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;QACxD,uCACI,GAAG,KACN,CAAC,MAAM,GAAG,KAAK,IACd;KACF,EACD,EAEC,CACD,CAAC;AACH;;MC1BM,cAAc,GAA2C,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE;IAChG,MAAM,GAAG,GAAG,yBAAyB,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAElD,QACCA,QAACC,gBAAU,kBACV,EAAE,EAAE,GAAG,GAAG,QAAQ,EAClB,KAAK,EAAE,MAAM,EACb,IAAI,EAAC,OAAO,EACZ,KAAK,EAAEC,SAAI,CAAC;YACX,KAAK,EAAE,IAAI;YACX,iBAAiB,EAAE,UAAU,KAAK,IAAI;SACtC,CAAC,IACE,GAAG,GAEN,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,KAAI,SAAS,CACpB,EACZ;AACH;;;;","names":["h","KolAlertFc","clsx"],"sources":["src/utils/transformObjectProperties.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx"],"sourcesContent":["/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import clsx from 'clsx';\nimport type { AlertPropType, HideErrorPropType, IdPropType, MsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\ntype FormFieldMsgProps = {\n\t_alert?: AlertPropType;\n\t_msg?: MsgPropType;\n\t_hideError?: HideErrorPropType;\n\t_id: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ _alert, _msg, _hideError, _id }) => {\n\tconst msg = transformObjectProperties(_msg || {});\n\n\treturn (\n\t\t<KolAlertFc\n\t\t\tid={`${_id}-error`}\n\t\t\talert={_alert}\n\t\t\ttype=\"error\"\n\t\t\tclass={clsx({\n\t\t\t\terror: true,\n\t\t\t\t'visually-hidden': _hideError === true,\n\t\t\t})}\n\t\t\t{...msg}\n\t\t>\n\t\t\t{_msg?._description || undefined}\n\t\t</KolAlertFc>\n\t);\n};\n\nexport default FormFieldMsgFc;\n"],"version":3}
1
+ {"file":"FormFieldMsg-a163eada.js","mappings":";;;;;;;;;SAuBgB,yBAAyB,CACxC,GAAM;IAIN,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAChC,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC;QACjB,MAAM,MAAM,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC;QACxD,uCACI,GAAG,KACN,CAAC,MAAM,GAAG,KAAK,IACd;KACF,EACD,EAEC,CACD,CAAC;AACH;;MC1BM,cAAc,GAA2C,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,GAAG,EAAE;IAChG,MAAM,GAAG,GAAG,yBAAyB,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IAElD,QACCA,QAACC,gBAAU,kBACV,EAAE,EAAE,GAAG,GAAG,QAAQ,EAClB,KAAK,EAAE,MAAM,EACb,IAAI,EAAC,OAAO,EACZ,KAAK,EAAEC,SAAI,CAAC;YACX,KAAK,EAAE,IAAI;YACX,iBAAiB,EAAE,UAAU,KAAK,IAAI;SACtC,CAAC,IACE,GAAG,GAEN,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,KAAI,SAAS,CACpB,EACZ;AACH;;;;","names":["h","KolAlertFc","clsx"],"sources":["src/utils/transformObjectProperties.ts","src/functional-components/FormFieldMsg/FormFieldMsg.tsx"],"sourcesContent":["/**\n * Transforms keys with leading underscores, keeping non-underscore keys unchanged.\n *\n * @template K The original key type\n * @returns Transformed key type\n */\ntype TransformKeys<K> = K extends `_${infer Rest}` ? Rest : K;\n\n/**\n * Transforms object properties by removing leading underscores from key names.\n *\n * This method is useful for converting objects from a naming convention with leading underscores\n * (often used for private or internal properties) to a standard naming format.\n *\n * @param obj The input object with potential underscore prefixes\n * @returns A new object with underscores removed from key names\n *\n * @example\n * // Converts object with underscore-prefixed keys\n * const input = { _name: 'John', _age: 30 };\n * const result = transformObjectProperties(input);\n * // result is { name: 'John', age: 30 }\n */\nexport function transformObjectProperties<T extends Record<string, unknown>>(\n\tobj: T,\n): {\n\t[K in keyof T as TransformKeys<K>]: T[K];\n} {\n\treturn Object.entries(obj).reduce(\n\t\t(acc, [key, value]) => {\n\t\t\tconst newKey = key.startsWith('_') ? key.slice(1) : key;\n\t\t\treturn {\n\t\t\t\t...acc,\n\t\t\t\t[newKey]: value,\n\t\t\t};\n\t\t},\n\t\t{} as {\n\t\t\t[K in keyof T as TransformKeys<K>]: T[K];\n\t\t},\n\t);\n}\n","import clsx from 'clsx';\nimport type { AlertPropType, HideErrorPropType, IdPropType, MsgPropType } from '../../schema';\nimport type { FunctionalComponent } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport KolAlertFc from '../Alert';\nimport { transformObjectProperties } from '../../utils/transformObjectProperties';\n\ntype FormFieldMsgProps = {\n\t_alert?: AlertPropType;\n\t_msg?: MsgPropType;\n\t_hideError?: HideErrorPropType;\n\t_id: IdPropType;\n};\n\nconst FormFieldMsgFc: FunctionalComponent<FormFieldMsgProps> = ({ _alert, _msg, _hideError, _id }) => {\n\tconst msg = transformObjectProperties(_msg || {});\n\n\treturn (\n\t\t<KolAlertFc\n\t\t\tid={`${_id}-error`}\n\t\t\talert={_alert}\n\t\t\ttype=\"error\"\n\t\t\tclass={clsx({\n\t\t\t\terror: true,\n\t\t\t\t'visually-hidden': _hideError === true,\n\t\t\t})}\n\t\t\t{...msg}\n\t\t>\n\t\t\t{_msg?._description || undefined}\n\t\t</KolAlertFc>\n\t);\n};\n\nexport default FormFieldMsgFc;\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const index=require("./index-c776c56b.js"),InternalUnderlinedBadgeText=({badgeText:e,label:n})=>{const t=e;let[l,...d]=n.split(t);return 0===d.length&&(e=t.toUpperCase(),[l,...d]=n.split(t)),0===d.length&&(e=t.toLowerCase(),[l,...d]=n.split(t)),index.h(index.Fragment,null,l,d.length?index.h(index.Fragment,null,index.h("u",null,e),d.join(t)):null)};exports.InternalUnderlinedBadgeText=InternalUnderlinedBadgeText;
4
+ "use strict";const index=require("./index-ab7cd6e6.js"),InternalUnderlinedBadgeText=({badgeText:e,label:n})=>{const t=e;let[l,...d]=n.split(t);return 0===d.length&&(e=t.toUpperCase(),[l,...d]=n.split(t)),0===d.length&&(e=t.toLowerCase(),[l,...d]=n.split(t)),index.h(index.Fragment,null,l,d.length?index.h(index.Fragment,null,index.h("u",null,e),d.join(t)):null)};exports.InternalUnderlinedBadgeText=InternalUnderlinedBadgeText;
@@ -1 +1 @@
1
- {"file":"InternalUnderlinedBadgeText-09f44cd7.js","mappings":";;;;;;;MAOa,2BAA2B,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAS;IAEtE,MAAM,iBAAiB,GAAW,SAAS,CAAC;IAC5C,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACtD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAC5C,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KAClD;IACD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAC5C,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KAClD;IACD,QACCA;QACE,KAAK;QACL,IAAI,CAAC,MAAM,IACXA;YACCA,mBAAI,SAAS,CAAK;YACjB,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAC3B,IACA,IAAI,CACN,EACF;AACH;;;;","names":["h"],"sources":["src/components/span/InternalUnderlinedBadgeText.tsx"],"sourcesContent":["import { Fragment, h } from '@stencil/core';\nimport type { BadgeTextPropType } from '../../schema';\n\ntype Props = {\n\tbadgeText: BadgeTextPropType;\n\tlabel: string;\n};\nexport const InternalUnderlinedBadgeText = ({ badgeText, label }: Props) => {\n\t/* Prefer capitalization as defined in the badge Text, try uppercase/lowercase when there's no match. */\n\tconst badgeTextAsString: string = badgeText;\n\tlet [first, ...rest] = label.split(badgeTextAsString);\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toUpperCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toLowerCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\treturn (\n\t\t<>\n\t\t\t{first}\n\t\t\t{rest.length ? (\n\t\t\t\t<>\n\t\t\t\t\t<u>{badgeText}</u>\n\t\t\t\t\t{rest.join(badgeTextAsString)}\n\t\t\t\t</>\n\t\t\t) : null}\n\t\t</>\n\t);\n};\n"],"version":3}
1
+ {"file":"InternalUnderlinedBadgeText-9cf480bf.js","mappings":";;;;;;;MAOa,2BAA2B,GAAG,CAAC,EAAE,SAAS,EAAE,KAAK,EAAS;IAEtE,MAAM,iBAAiB,GAAW,SAAS,CAAC;IAC5C,IAAI,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACtD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAC5C,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KAClD;IACD,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,EAAE;QACtB,SAAS,GAAG,iBAAiB,CAAC,WAAW,EAAE,CAAC;QAC5C,CAAC,KAAK,EAAE,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;KAClD;IACD,QACCA;QACE,KAAK;QACL,IAAI,CAAC,MAAM,IACXA;YACCA,mBAAI,SAAS,CAAK;YACjB,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAC3B,IACA,IAAI,CACN,EACF;AACH;;;;","names":["h"],"sources":["src/components/span/InternalUnderlinedBadgeText.tsx"],"sourcesContent":["import { Fragment, h } from '@stencil/core';\nimport type { BadgeTextPropType } from '../../schema';\n\ntype Props = {\n\tbadgeText: BadgeTextPropType;\n\tlabel: string;\n};\nexport const InternalUnderlinedBadgeText = ({ badgeText, label }: Props) => {\n\t/* Prefer capitalization as defined in the badge Text, try uppercase/lowercase when there's no match. */\n\tconst badgeTextAsString: string = badgeText;\n\tlet [first, ...rest] = label.split(badgeTextAsString);\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toUpperCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\tif (rest.length === 0) {\n\t\tbadgeText = badgeTextAsString.toLowerCase();\n\t\t[first, ...rest] = label.split(badgeTextAsString);\n\t}\n\treturn (\n\t\t<>\n\t\t\t{first}\n\t\t\t{rest.length ? (\n\t\t\t\t<>\n\t\t\t\t\t<u>{badgeText}</u>\n\t\t\t\t\t{rest.join(badgeTextAsString)}\n\t\t\t\t</>\n\t\t\t) : null}\n\t\t</>\n\t);\n};\n"],"version":3}
@@ -1 +1 @@
1
- {"file":"access-and-short-key-d5fd6a06.js","mappings":";;;;;;;MAea,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAyB;IAChGA,iBAAW,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;AAC7C;;ACPA,MAAM,OAAO,GAAuB;IACnC,KAAK,EAAE;QACN,UAAU,EAAE,CAAC,KAAK;YACjB,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE;gBAChCC,cAAQ,CAAC,4GAA4G,CAAC,CAAC;aACvH;SACD;KACD;CACD,CAAC;MAKW,gBAAgB,GAAG,CAAC,SAAoC,EAAE,KAAc;IACpFC,iBAAW,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACrD;;MCXa,gBAAgB,GAAG,CAAC,SAAoC,EAAE,KAAwB;IAC9FF,iBAAW,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;AAC5C;;MCda,yBAAyB,GAAG,CAAC,SAA6B,EAAE,QAA2B;IACnG,IAAI,SAAS,IAAI,QAAQ,EAAE;QAC1B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KACzE;AACF;;;;;;;","names":["watchString","a11yHint","watchNumber"],"sources":["src/schema/props/access-key.ts","src/schema/validators/tab-index.ts","src/schema/props/short-key.ts","src/schema/validators/access-and-short-key.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AccessKeyPropType = string;\n\n/**\n * Defines which key combination can be used to trigger or focus the interactive element of the component.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey\n */\nexport type PropAccessKey = {\n\taccessKey: AccessKeyPropType;\n};\n\n/* validator */\nexport const validateAccessKey = (component: Generic.Element.Component, value?: AccessKeyPropType): void => {\n\twatchString(component, '_accessKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchNumberOptions } from '../utils';\nimport { a11yHint, watchNumber } from '../utils';\n\n/**\n * Accessibility hints\n * - https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html\n */\n\nconst options: WatchNumberOptions = {\n\thooks: {\n\t\tafterPatch: (value) => {\n\t\t\tif (value !== -1 && value !== 0) {\n\t\t\t\ta11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n\t\t\t}\n\t\t},\n\t},\n};\n\n/**\n * Diese Methode validiert das Property und setzt den State, wenn es valide ist.\n */\nexport const validateTabIndex = (component: Generic.Element.Component, value?: number): void => {\n\twatchNumber(component, '_tabIndex', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ShortKeyPropType = string;\n\n/**\n * Adds a visual short key hint to the component.\n */\nexport type PropShortKey = {\n\tshortKey: ShortKeyPropType;\n};\n\n/* validator */\nexport const validateShortKey = (component: Generic.Element.Component, value?: ShortKeyPropType): void => {\n\twatchString(component, '_shortKey', value);\n};\n","import type { AccessKeyPropType, ShortKeyPropType } from '../props';\n\nexport const validateAccessAndShortKey = (accessKey?: AccessKeyPropType, shortKey?: ShortKeyPropType) => {\n\tif (accessKey && shortKey) {\n\t\tthrow new Error('AccessKey and ShortKey are used. Only one is allowed.');\n\t}\n};\n"],"version":3}
1
+ {"file":"access-and-short-key-d5fd6a06.js","mappings":";;;;;;;MAea,iBAAiB,GAAG,CAAC,SAAoC,EAAE,KAAyB;IAChGA,iBAAW,CAAC,SAAS,EAAE,YAAY,EAAE,KAAK,CAAC,CAAC;AAC7C;;ACPA,MAAM,OAAO,GAAuB;IACnC,KAAK,EAAE;QACN,UAAU,EAAE,CAAC,KAAK;YACjB,IAAI,KAAK,KAAK,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,EAAE;gBAChCC,cAAQ,CAAC,4GAA4G,CAAC,CAAC;aACvH;SACD;KACD;CACD,CAAC;MAKW,gBAAgB,GAAG,CAAC,SAAoC,EAAE,KAAc;IACpFC,iBAAW,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC;AACrD;;MCXa,gBAAgB,GAAG,CAAC,SAAoC,EAAE,KAAwB;IAC9FF,iBAAW,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;AAC5C;;MCda,yBAAyB,GAAG,CAAC,SAA6B,EAAE,QAA2B;IACnG,IAAI,SAAS,IAAI,QAAQ,EAAE;QAC1B,MAAM,IAAI,KAAK,CAAC,uDAAuD,CAAC,CAAC;KACzE;AACF;;;;;;;","names":["watchString","a11yHint","watchNumber"],"sources":["src/schema/props/access-key.ts","src/schema/validators/tab-index.ts","src/schema/props/short-key.ts","src/schema/validators/access-and-short-key.ts"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type AccessKeyPropType = string;\n\n/**\n * Defines the key combination that can be used to trigger or focus the component’s interactive element.\n * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey\n */\nexport type PropAccessKey = {\n\taccessKey: AccessKeyPropType;\n};\n\n/* validator */\nexport const validateAccessKey = (component: Generic.Element.Component, value?: AccessKeyPropType): void => {\n\twatchString(component, '_accessKey', value);\n};\n","import type { Generic } from 'adopted-style-sheets';\n\nimport type { WatchNumberOptions } from '../utils';\nimport { a11yHint, watchNumber } from '../utils';\n\n/**\n * Accessibility hints\n * - https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html\n */\n\nconst options: WatchNumberOptions = {\n\thooks: {\n\t\tafterPatch: (value) => {\n\t\t\tif (value !== -1 && value !== 0) {\n\t\t\t\ta11yHint(`Don't Use Tabindex Greater than 0: https://adrianroselli.com/2014/11/dont-use-tabindex-greater-than-0.html`);\n\t\t\t}\n\t\t},\n\t},\n};\n\n/**\n * Diese Methode validiert das Property und setzt den State, wenn es valide ist.\n */\nexport const validateTabIndex = (component: Generic.Element.Component, value?: number): void => {\n\twatchNumber(component, '_tabIndex', value, options);\n};\n","import type { Generic } from 'adopted-style-sheets';\nimport { watchString } from '../utils';\n\n/* types */\nexport type ShortKeyPropType = string;\n\n/**\n * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n */\nexport type PropShortKey = {\n\tshortKey: ShortKeyPropType;\n};\n\n/* validator */\nexport const validateShortKey = (component: Generic.Element.Component, value?: ShortKeyPropType): void => {\n\twatchString(component, '_shortKey', value);\n};\n","import type { AccessKeyPropType, ShortKeyPropType } from '../props';\n\nexport const validateAccessAndShortKey = (accessKey?: AccessKeyPropType, shortKey?: ShortKeyPropType) => {\n\tif (accessKey && shortKey) {\n\t\tthrow new Error('AccessKey and ShortKey are used. Only one is allowed.');\n\t}\n};\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const index=require("./index-397ed1bf.js"),index$1=require("./index-c776c56b.js");index$1.setMode(e=>{try{e.shadowRoot instanceof ShadowRoot&&index.ne(e,index.b(e))}catch(e){}return"default"}),Promise.resolve().then(function(){return require("./devtools-5bf6ad87.js")}).then(e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()}).catch(e=>{index.Log.error(e)});const globalFn=()=>{},globalScripts=globalFn;exports.globalScripts=globalScripts;
4
+ "use strict";const index=require("./index-397ed1bf.js"),index$1=require("./index-ab7cd6e6.js");index$1.setMode(e=>{try{e.shadowRoot instanceof ShadowRoot&&index.ne(e,index.b(e))}catch(e){}return"default"}),Promise.resolve().then(function(){return require("./devtools-c7d924a0.js")}).then(e=>{"object"==typeof e&&null!==e&&"function"==typeof e.initialize&&e.initialize()}).catch(e=>{index.Log.error(e)});const globalFn=()=>{},globalScripts=globalFn;exports.globalScripts=globalScripts;
@@ -1 +1 @@
1
- {"file":"app-globals-04bdffab.js","mappings":";;;;;;;;AAKAA,eAAO,CAAC,CAAC,GAAG;IACX,IAAI;QACH,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;YACzCC,QAAa,CAAC,GAAG,EAAEC,OAAe,CAAC,GAAG,CAAC,CAAC,CAAC;SACzC;KACD;IAAC,OAAO,KAAK,EAAE;KAMf;IACD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,oDAAO,wBAAY,KAAC;KAClB,IAAI,CAAC,CAAC,QAAQ;IACd,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;QACnG,QAAQ,CAAC,UAAU,EAAE,CAAC;KACtB;AACF,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,KAAK;IACZC,SAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;;;AC3BQ,MAAC,aAAa,GAAGC;;;;","names":["setMode","setThemeStyle","getThemeDetails","Log","appGlobalScript"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
1
+ {"file":"app-globals-af5298b1.js","mappings":";;;;;;;;AAKAA,eAAO,CAAC,CAAC,GAAG;IACX,IAAI;QACH,IAAI,GAAG,CAAC,UAAU,YAAY,UAAU,EAAE;YACzCC,QAAa,CAAC,GAAG,EAAEC,OAAe,CAAC,GAAG,CAAC,CAAC,CAAC;SACzC;KACD;IAAC,OAAO,KAAK,EAAE;KAMf;IACD,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,oDAAO,wBAAY,KAAC;KAClB,IAAI,CAAC,CAAC,QAAQ;IACd,IAAI,OAAO,QAAQ,KAAK,QAAQ,IAAI,QAAQ,KAAK,IAAI,IAAI,OAAO,QAAQ,CAAC,UAAU,KAAK,UAAU,EAAE;QACnG,QAAQ,CAAC,UAAU,EAAE,CAAC;KACtB;AACF,CAAC,CAAC;KACD,KAAK,CAAC,CAAC,KAAK;IACZC,SAAG,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;;;AC3BQ,MAAC,aAAa,GAAGC;;;;","names":["setMode","setThemeStyle","getThemeDetails","Log","appGlobalScript"],"sources":["src/global/script.ts","@stencil/core/internal/app-globals"],"sourcesContent":["import { getThemeDetails, setThemeStyle } from 'adopted-style-sheets';\n\nimport { Log } from '../schema';\nimport { setMode } from '@stencil/core';\n\nsetMode((elm) => {\n\ttry {\n\t\tif (elm.shadowRoot instanceof ShadowRoot) {\n\t\t\tsetThemeStyle(elm, getThemeDetails(elm));\n\t\t}\n\t} catch (error) {\n\t\t/**\n\t\t * Try is needed for SSR.\n\t\t * - no HTMLElement is available\n\t\t * - no ShadowRoot is available\n\t\t */\n\t}\n\treturn 'default';\n});\n\nimport('./devtools')\n\t.then((devTools) => {\n\t\tif (typeof devTools === 'object' && devTools !== null && typeof devTools.initialize === 'function') {\n\t\t\tdevTools.initialize();\n\t\t}\n\t})\n\t.catch((error) => {\n\t\tLog.error(error);\n\t});\n","import appGlobalScript from '/home/runner/work/kolibri/kolibri/packages/components/src/global/script.ts';\nexport const globalScripts = appGlobalScript;\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const index=require("./index-397ed1bf.js"),index$1=require("./index-c776c56b.js"),initMeta=()=>{const e=index.getDocument().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const i=e.getAttribute("content");"string"==typeof i&&(index.setDevMode(i.includes("dev-mode=true")),index.setExperimentalMode(i.includes("experimental-mode=true")),index.setColorContrastAnalysis(i.includes("color-contrast-analysis=true")))}},getKoliBri=()=>{let e=index.getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(index.getWindow(),"KoliBri",{value:e,writable:!1})),e},initKoliBri=()=>{initMeta(),index.Log.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${index$1.Env.kolibriVersion}\n\t`,{forceLog:!0})},renderDevAdvice=()=>{!0!==getKoliBri().adviceShown&&(Object.defineProperty(getKoliBri(),"adviceShown",{get:function(){return!0}}),index.Log.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};exports.nonce=()=>Math.floor(16777215*Math.random()).toString(16),"test"===index.processEnv&&(exports.nonce=()=>"nonce"),exports.initKoliBri=initKoliBri,exports.renderDevAdvice=renderDevAdvice;
4
+ "use strict";const index=require("./index-397ed1bf.js"),index$1=require("./index-ab7cd6e6.js"),initMeta=()=>{const e=index.getDocument().querySelector('meta[name="kolibri"]');if(e&&e.hasAttribute("content")){const i=e.getAttribute("content");"string"==typeof i&&(index.setDevMode(i.includes("dev-mode=true")),index.setExperimentalMode(i.includes("experimental-mode=true")),index.setColorContrastAnalysis(i.includes("color-contrast-analysis=true")))}},getKoliBri=()=>{let e=index.getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(index.getWindow(),"KoliBri",{value:e,writable:!1})),e},initKoliBri=()=>{initMeta(),index.Log.debug(`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \`--' | |) /_ ,--.--. \`--'\n| . ' | .-. | | | ,--. | .-. \\ | .--' ,--.\n| |\\ \\ | '-' | | | | | | '--' / | | | |\n\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${index$1.Env.kolibriVersion}\n\t`,{forceLog:!0})},renderDevAdvice=()=>{!0!==getKoliBri().adviceShown&&(Object.defineProperty(getKoliBri(),"adviceShown",{get:function(){return!0}}),index.Log.debug("\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n"))};exports.nonce=()=>Math.floor(16777215*Math.random()).toString(16),"test"===index.processEnv&&(exports.nonce=()=>"nonce"),exports.initKoliBri=initKoliBri,exports.renderDevAdvice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BACJ,OAAO,IAAI,CAAC;aACZ;SACD,CAAC,CAAC;QACHD,SAAG,CAAC,KAAK,CACR;;;;;CAKF,CACE,CAAC;KACF;AACF,EAAE;AAEEE,aAAK,GAAG,MAAc,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE;AAE5E,IAAIC,gBAAU,KAAK,MAAM,EAAE;IAC1BD,aAAK,GAAG,MAAc,OAAO,CAAC;AAC/B;;;;;","names":["getDocument","setDevMode","setExperimentalMode","setColorContrastAnalysis","getWindow","Log","Env","nonce","processEnv"],"sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, processEnv, setColorContrastAnalysis, setDevMode, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\tconst meta = getDocument().querySelector('meta[name=\"kolibri\"]');\n\tif (meta && meta.hasAttribute('content')) {\n\t\tconst content = meta.getAttribute('content');\n\t\tif (typeof content === 'string') {\n\t\t\tsetDevMode(content.includes('dev-mode=true'));\n\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t}\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (processEnv === 'test') {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"version":3}
1
+ {"file":"dev.utils-eea8731c.js","mappings":";;;;;;;;AAKA,MAAM,QAAQ,GAAG;IAChB,MAAM,IAAI,GAAGA,iBAAW,EAAE,CAAC,aAAa,CAAC,sBAAsB,CAAC,CAAC;IACjE,IAAI,IAAI,IAAI,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,EAAE;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,SAAS,CAAC,CAAC;QAC7C,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;YAChCC,gBAAU,CAAC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAC,CAAC,CAAC;YAC9CC,yBAAmB,CAAC,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC,CAAC;YAChEC,8BAAwB,CAAC,OAAO,CAAC,QAAQ,CAAC,8BAA8B,CAAC,CAAC,CAAC;SAC3E;KACD;AACF,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAGC,eAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CAACA,eAAS,EAAE,EAAE,SAAS,EAAE;YAC7C,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,KAAK;SACf,CAAC,CAAC;KACH;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;MAIW,WAAW,GAAG;IAC1B,QAAQ,EAAE,CAAC;IACXC,SAAG,CAAC,KAAK,CACR;;;;;;qEAMmEC,WAAG,CAAC,cAAc;EACrF,EACA;QACC,QAAQ,EAAE,IAAI;KACd,CACD,CAAC;AACH,EAAE;MAEW,eAAe,GAAG;IAC9B,IAAI,UAAU,EAAE,CAAC,WAAW,KAAK,IAAI,EAAE;QACtC,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,aAAa,EAAE;YAClD,GAAG,EAAE;gBACJ,OAAO,IAAI,CAAC;aACZ;SACD,CAAC,CAAC;QACHD,SAAG,CAAC,KAAK,CACR;;;;;CAKF,CACE,CAAC;KACF;AACF,EAAE;AAEEE,aAAK,GAAG,MAAc,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,QAAQ,CAAC,CAAC,QAAQ,CAAC,EAAE,EAAE;AAE5E,IAAIC,gBAAU,KAAK,MAAM,EAAE;IAC1BD,aAAK,GAAG,MAAc,OAAO,CAAC;AAC/B;;;;;","names":["getDocument","setDevMode","setExperimentalMode","setColorContrastAnalysis","getWindow","Log","Env","nonce","processEnv"],"sources":["src/utils/dev.utils.ts"],"sourcesContent":["import { Log, getDocument, processEnv, setColorContrastAnalysis, setDevMode, setExperimentalMode } from '../schema';\n\nimport { getWindow } from '../schema';\nimport { Env } from '@stencil/core';\n\nconst initMeta = (): void => {\n\tconst meta = getDocument().querySelector('meta[name=\"kolibri\"]');\n\tif (meta && meta.hasAttribute('content')) {\n\t\tconst content = meta.getAttribute('content');\n\t\tif (typeof content === 'string') {\n\t\t\tsetDevMode(content.includes('dev-mode=true'));\n\t\t\tsetExperimentalMode(content.includes('experimental-mode=true'));\n\t\t\tsetColorContrastAnalysis(content.includes('color-contrast-analysis=true'));\n\t\t}\n\t}\n};\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nexport { getKoliBri };\n\nexport const initKoliBri = (): void => {\n\tinitMeta();\n\tLog.debug(\n\t\t`\n,--. ,--. ,--. ,--. ,-----. ,--.\n| .' / ,---. | | \\`--' | |) /_ ,--.--. \\`--'\n| . ' | .-. | | | ,--. | .-. \\\\ | .--' ,--.\n| |\\\\ \\\\ | '-' | | | | | | '--' / | | | |\n\\`--' \\`--´ \\`---´ \\`--' \\`--' \\`------´ \\`--' \\`--'\n🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${Env.kolibriVersion}\n\t`,\n\t\t{\n\t\t\tforceLog: true,\n\t\t},\n\t);\n};\n\nexport const renderDevAdvice = (): void => {\n\tif (getKoliBri().adviceShown !== true) {\n\t\tObject.defineProperty(getKoliBri(), 'adviceShown', {\n\t\t\tget: function () {\n\t\t\t\treturn true;\n\t\t\t},\n\t\t});\n\t\tLog.debug(\n\t\t\t`\nYou are using the KoliBri component library. If you have any suggestions for improvement or find a problem, please contact us:\n\nTicket: https://github.com/public-ui/kolibri/issues/new/choose (for privacy reasons, please use email)\nEmail: kolibri@itzbund.de\n`,\n\t\t);\n\t}\n};\n\nlet nonce = (): string => Math.floor(Math.random() * 16777215).toString(16);\n\nif (processEnv === 'test') {\n\tnonce = (): string => 'nonce';\n}\n\nexport { nonce };\n"],"version":3}
@@ -1,4 +1,4 @@
1
1
  /*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */
4
- "use strict";const index=require("./index-397ed1bf.js"),dev_utils=require("./dev.utils-2628f528.js");require("./index-c776c56b.js");const getKoliBri=()=>{let e=index.getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(index.getWindow(),"KoliBri",{value:e,writable:!1})),e};function prototypeKoliBri(e,t){try{Object.defineProperty(getKoliBri(),e,{get:function(){return t}})}catch(t){index.Log.debug(`KoliBri property ${e} is already bind.`)}}const metaModeLog=(e,t)=>index.Log.debug(`${e} ${t?"":"not "}activated`),initialize=()=>{if(dev_utils.initKoliBri(),index.getDevMode()){dev_utils.renderDevAdvice(),prototypeKoliBri("a11yColorContrast",index.koliBriA11yColorContrast),prototypeKoliBri("querySelector",index.koliBriQuerySelector),prototypeKoliBri("querySelectorAll",index.koliBriQuerySelectorAll),prototypeKoliBri("querySelectorColors",index.koliBriQuerySelectorColors),prototypeKoliBri("utils",function(){return index.KoliBriUtils}),prototypeKoliBri("parseJson",index.parseJson),prototypeKoliBri("stringifyJson",index.stringifyJson);const e=index.getDocument().body,t=index.getDocument().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',index.getDocument().body.appendChild(t),metaModeLog("Development mode",index.getDevMode()),metaModeLog("Experimental mode",index.getExperimentalMode()),metaModeLog("Color contrast analysis",index.getColorContrastAnalysis()),index.getColorContrastAnalysis()){const t=setTimeout(()=>{clearTimeout(t),setInterval(()=>{index.KoliBriUtils.queryHtmlElementColors(index.getDocument().createElement("div"),index.koliBriA11yColorContrast(e),!1,!1)},1e4)},2500)}}};exports.initialize=initialize;
4
+ "use strict";const index=require("./index-397ed1bf.js"),dev_utils=require("./dev.utils-eea8731c.js");require("./index-ab7cd6e6.js");const getKoliBri=()=>{let e=index.getWindow().KoliBri;return void 0===e&&(e={},Object.defineProperty(index.getWindow(),"KoliBri",{value:e,writable:!1})),e};function prototypeKoliBri(e,t){try{Object.defineProperty(getKoliBri(),e,{get:function(){return t}})}catch(t){index.Log.debug(`KoliBri property ${e} is already bind.`)}}const metaModeLog=(e,t)=>index.Log.debug(`${e} ${t?"":"not "}activated`),initialize=()=>{if(dev_utils.initKoliBri(),index.getDevMode()){dev_utils.renderDevAdvice(),prototypeKoliBri("a11yColorContrast",index.koliBriA11yColorContrast),prototypeKoliBri("querySelector",index.koliBriQuerySelector),prototypeKoliBri("querySelectorAll",index.koliBriQuerySelectorAll),prototypeKoliBri("querySelectorColors",index.koliBriQuerySelectorColors),prototypeKoliBri("utils",function(){return index.KoliBriUtils}),prototypeKoliBri("parseJson",index.parseJson),prototypeKoliBri("stringifyJson",index.stringifyJson);const e=index.getDocument().body,t=index.getDocument().createElement("svg");if(t.setAttribute("aria-label","KoliBri-DevTools"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("role","toolbar"),t.setAttribute("style","position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;"),t.innerHTML='<svg\n xmlns="http://www.w3.org/2000/svg"\n width="50"\n height="50"\n viewBox="0 0 600 600"\n>\n <path d="M353 322L213 304V434L353 322Z" fill="#047" />\n <path d="M209 564V304L149 434L209 564Z" fill="#047" />\n <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />\n <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />\n <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />\n <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />\n</svg>',index.getDocument().body.appendChild(t),metaModeLog("Development mode",index.getDevMode()),metaModeLog("Experimental mode",index.getExperimentalMode()),metaModeLog("Color contrast analysis",index.getColorContrastAnalysis()),index.getColorContrastAnalysis()){const t=setTimeout(()=>{clearTimeout(t),setInterval(()=>{index.KoliBriUtils.queryHtmlElementColors(index.getDocument().createElement("div"),index.koliBriA11yColorContrast(e),!1,!1)},1e4)},2500)}}};exports.initialize=initialize;
@@ -1 +1 @@
1
- {"file":"devtools-5bf6ad87.js","mappings":";;;;;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAGA,eAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CAACA,eAAS,EAAE,EAAE,SAAS,EAAE;YAC7C,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,KAAK;SACf,CAAC,CAAC;KACH;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAEF,SAAS,gBAAgB,CAAI,IAAY,EAAE,EAAK;IAC/C,IAAI;QACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE;YACzC,GAAG,EAAE;gBACJ,OAAO,EAAE,CAAC;aACV;SACD,CAAC,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACXC,SAAG,CAAC,KAAK,CAAC,oBAAoB,IAAI,mBAAmB,CAAC,CAAC;KACvD;AACF,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,MAAe,KAAKA,SAAG,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,MAAM,GAAG,EAAE,GAAG,MAAM,WAAW,CAAC,CAAC;MAEhG,UAAU,GAAG;IACzBC,qBAAW,EAAE,CAAC;IACd,IAAIC,gBAAU,EAAE,EAAE;QACjBC,yBAAe,EAAE,CAAC;QAElB,gBAAgB,CAAC,mBAAmB,E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W,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAEP,8BAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":["getWindow","Log","initKoliBri","getDevMode","renderDevAdvice","koliBriA11yColorContrast","koliBriQuerySelector","koliBriQuerySelectorAll","koliBriQuerySelectorColors","KoliBriUtils","parseJson","stringifyJson","getDocument","getExperimentalMode","getColorContrastAnalysis"],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}
1
+ {"file":"devtools-c7d924a0.js","mappings":";;;;;;;;;AAiBA,MAAM,UAAU,GAAG;IAClB,IAAI,OAAO,GAAGA,eAAS,EAAE,CAAC,OAAO,CAAC;IAClC,IAAI,OAAO,KAAK,SAAS,EAAE;QAC1B,OAAO,GAAG,EAAE,CAAC;QACb,MAAM,CAAC,cAAc,CAACA,eAAS,EAAE,EAAE,SAAS,EAAE;YAC7C,KAAK,EAAE,OAAO;YACd,QAAQ,EAAE,KAAK;SACf,CAAC,CAAC;KACH;IACD,OAAO,OAAO,CAAC;AAChB,CAAC,CAAC;AAEF,SAAS,gBAAgB,CAAI,IAAY,EAAE,EAAK;IAC/C,IAAI;QACH,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE;YACzC,GAAG,EAAE;gBACJ,OAAO,EAAE,CAAC;aACV;SACD,CAAC,CAAC;KACH;IAAC,OAAO,CAAC,EAAE;QACXC,SAAG,CAAC,KAAK,CAAC,oBAAoB,IAAI,mBAAmB,CAAC,CAAC;KACvD;AACF,CAAC;AAED,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,MAAe,KAAKA,SAAG,CAAC,KAAK,CAAC,GAAG,IAAI,IAAI,MAAM,GAAG,EAAE,GAAG,MA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8BAAwB,EAAE,EAAE;YAC/B,MAAM,OAAO,GAAG,UAAU,CAAC;gBAC1B,YAAY,CAAC,OAAO,CAAC,CAAC;gBACtB,WAAW,CAAC;oBACXL,kBAAY,CAAC,sBAAsB,CAACG,iBAAW,EAAE,CAAC,aAAa,CAAC,KAAK,CAAC,EAAEP,8BAAwB,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAC;iBACtH,EAAE,KAAK,CAAC,CAAC;aACV,EAAE,IAAI,CAAC,CAAC;SACT;KAmBD;AACF;;;;","names":["getWindow","Log","initKoliBri","getDevMode","renderDevAdvice","koliBriA11yColorContrast","koliBriQuerySelector","koliBriQuerySelectorAll","koliBriQuerySelectorColors","KoliBriUtils","parseJson","stringifyJson","getDocument","getExperimentalMode","getColorContrastAnalysis"],"sources":["src/global/devtools.ts"],"sourcesContent":["import {\n\tgetColorContrastAnalysis,\n\tgetDevMode,\n\tgetDocument,\n\tgetExperimentalMode,\n\tgetWindow,\n\tkoliBriA11yColorContrast,\n\tkoliBriQuerySelector,\n\tkoliBriQuerySelectorAll,\n\tkoliBriQuerySelectorColors,\n\tKoliBriUtils,\n\tLog,\n\tparseJson,\n\tstringifyJson,\n} from '../schema';\nimport { initKoliBri, renderDevAdvice } from '../utils/dev.utils';\n\nconst getKoliBri = (): Record<string, unknown> => {\n\tlet kolibri = getWindow().KoliBri;\n\tif (kolibri === undefined) {\n\t\tkolibri = {};\n\t\tObject.defineProperty(getWindow(), 'KoliBri', {\n\t\t\tvalue: kolibri,\n\t\t\twritable: false,\n\t\t});\n\t}\n\treturn kolibri;\n};\n\nfunction prototypeKoliBri<T>(name: string, cb: T) {\n\ttry {\n\t\tObject.defineProperty(getKoliBri(), name, {\n\t\t\tget: function () {\n\t\t\t\treturn cb;\n\t\t\t},\n\t\t});\n\t} catch (e) {\n\t\tLog.debug(`KoliBri property ${name} is already bind.`);\n\t}\n}\n\nconst metaModeLog = (name: string, active: boolean) => Log.debug(`${name} ${active ? '' : 'not '}activated`);\n\nexport const initialize = (): void => {\n\tinitKoliBri();\n\tif (getDevMode()) {\n\t\trenderDevAdvice();\n\n\t\tprototypeKoliBri('a11yColorContrast', koliBriA11yColorContrast);\n\t\tprototypeKoliBri('querySelector', koliBriQuerySelector);\n\t\tprototypeKoliBri('querySelectorAll', koliBriQuerySelectorAll);\n\t\tprototypeKoliBri('querySelectorColors', koliBriQuerySelectorColors);\n\t\tprototypeKoliBri('utils', function () {\n\t\t\treturn KoliBriUtils;\n\t\t});\n\t\tprototypeKoliBri('parseJson', parseJson);\n\t\tprototypeKoliBri('stringifyJson', stringifyJson);\n\n\t\tconst body = getDocument().body;\n\n\t\tconst div = getDocument().createElement('svg');\n\t\tdiv.setAttribute('aria-label', 'KoliBri-DevTools');\n\t\tdiv.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t\tdiv.setAttribute('role', 'toolbar');\n\t\tdiv.setAttribute('style', 'position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;');\n\t\tdiv.innerHTML = `<svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"50\"\n height=\"50\"\n viewBox=\"0 0 600 600\"\n>\n <path d=\"M353 322L213 304V434L353 322Z\" fill=\"#047\" />\n <path d=\"M209 564V304L149 434L209 564Z\" fill=\"#047\" />\n <path d=\"M357 316L417 250L361 210L275 244L357 316Z\" fill=\"#047\" />\n <path d=\"M353 318L35 36L213 300L353 318Z\" fill=\"#047\" />\n <path d=\"M329 218L237 92L250 222L272 241L329 218Z\" fill=\"#047\" />\n <path d=\"M391 286L565 272L421 252L391 286Z\" fill=\"#047\" />\n</svg>`;\n\n\t\tgetDocument().body.appendChild(div);\n\n\t\tmetaModeLog('Development mode', getDevMode());\n\t\tmetaModeLog('Experimental mode', getExperimentalMode());\n\t\tmetaModeLog('Color contrast analysis', getColorContrastAnalysis());\n\n\t\tif (getColorContrastAnalysis()) {\n\t\t\tconst timeout = setTimeout(() => {\n\t\t\t\tclearTimeout(timeout);\n\t\t\t\tsetInterval(() => {\n\t\t\t\t\tKoliBriUtils.queryHtmlElementColors(getDocument().createElement('div'), koliBriA11yColorContrast(body), false, false);\n\t\t\t\t}, 10000);\n\t\t\t}, 2500);\n\t\t}\n\n\t\t// setTimeout(() => {\n\t\t// const kolButton = koliBriQuerySelector<HTMLButtonElement>(document, '[_label=\"Aktion ausführen\"]');\n\t\t// if (kolButton) {\n\t\t// const button = koliBriQuerySelector<HTMLButtonElement>(kolButton?.shadowRoot as ShadowRoot, 'button');\n\t\t// if (button) {\n\t\t// kolButton.style.backgroundColor = '#988';\n\t\t// button.style.backgroundColor = 'inherit';\n\t\t// button.style.color = '#988';\n\t\t// const kolButtonColors = koliBriQuerySelectorColors('[_label=\"Aktion ausführen\"]');\n\t\t// console.log(\n\t\t// koliBriQuerySelectorColors('button', {\n\t\t// ...kolButtonColors,\n\t\t// })\n\t\t// );\n\t\t// }\n\t\t// }\n\t\t// }, 2500);\n\t}\n};\n"],"version":3}