@public-ui/components 4.3.0-rc.1 → 4.3.0-rc.2

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 (1315) hide show
  1. package/assets/kolicons/kolicons.eot +0 -0
  2. package/assets/kolicons/kolicons.ttf +0 -0
  3. package/assets/kolicons/kolicons.woff +0 -0
  4. package/assets/kolicons/kolicons.woff2 +0 -0
  5. package/assets/kolicons/style.css +6 -6
  6. package/copy-assets.mjs +93 -0
  7. package/custom-elements.json +86 -2
  8. package/dist/cjs/{Alert-DGeuWGwx.js → Alert-sCyOqN4Y.js} +7 -7
  9. package/dist/cjs/{Alert-DGeuWGwx.js.map → Alert-sCyOqN4Y.js.map} +1 -1
  10. package/dist/cjs/{Collapsible-D5MJpSsb.js → Collapsible-CXL7ivPf.js} +5 -5
  11. package/dist/cjs/{Collapsible-D5MJpSsb.js.map → Collapsible-CXL7ivPf.js.map} +1 -1
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js → CustomSuggestionsOptionsGroup-IZUE2a0s.js} +3 -3
  13. package/dist/cjs/{CustomSuggestionsOptionsGroup-CXqRxSlV.js.map → CustomSuggestionsOptionsGroup-IZUE2a0s.js.map} +1 -1
  14. package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js → FieldControlStateWrapper-BO2aCnw8.js} +10 -10
  15. package/dist/cjs/{FieldControlStateWrapper-9AbnJdJw.js.map → FieldControlStateWrapper-BO2aCnw8.js.map} +1 -1
  16. package/dist/cjs/{FormFieldStateWrapper-D8PA3SkL.js → FormFieldStateWrapper-6k6Tq8hj.js} +37 -26
  17. package/dist/cjs/FormFieldStateWrapper-6k6Tq8hj.js.map +1 -0
  18. package/dist/cjs/{Heading-D9SmGbfD.js → Heading-B6Xi_fyv.js} +3 -3
  19. package/dist/cjs/{Heading-D9SmGbfD.js.map → Heading-B6Xi_fyv.js.map} +1 -1
  20. package/dist/cjs/{Input-7dreufF0.js → Input-C1rCVtkO.js} +5 -5
  21. package/dist/cjs/{Input-7dreufF0.js.map → Input-C1rCVtkO.js.map} +1 -1
  22. package/dist/cjs/{InputStateWrapper-ntE05AJl.js → InputStateWrapper-CpejkP8n.js} +6 -6
  23. package/dist/cjs/{InputStateWrapper-ntE05AJl.js.map → InputStateWrapper-CpejkP8n.js.map} +1 -1
  24. package/dist/cjs/{app-globals-DS0A1y3l.js → app-globals-DY0OQlRq.js} +4 -4
  25. package/dist/cjs/{app-globals-DS0A1y3l.js.map → app-globals-DY0OQlRq.js.map} +1 -1
  26. package/dist/cjs/aria-details-BmkDULud.js +26 -0
  27. package/dist/cjs/aria-details-BmkDULud.js.map +1 -0
  28. package/dist/cjs/{aria-labelledby-BhnM3OnL.js → aria-labelledby-B9XsjpBQ.js} +3 -19
  29. package/dist/cjs/aria-labelledby-B9XsjpBQ.js.map +1 -0
  30. package/dist/cjs/aria-labelledby-BcORen6I.js +26 -0
  31. package/dist/cjs/aria-labelledby-BcORen6I.js.map +1 -0
  32. package/dist/cjs/{associated.controller-CUvZCmFF.js → associated.controller-CszW50pZ.js} +9 -3
  33. package/dist/cjs/associated.controller-CszW50pZ.js.map +1 -0
  34. package/dist/cjs/{variant-quote-DUWZtljE.js → base-web-component-BJNHmpIo.js} +10 -10
  35. package/dist/cjs/base-web-component-BJNHmpIo.js.map +1 -0
  36. package/dist/cjs/{bem-registry-D9uDM1GJ.js → bem-registry-bkUwdl0m.js} +5 -2
  37. package/dist/cjs/bem-registry-bkUwdl0m.js.map +1 -0
  38. package/dist/cjs/{bootstrap-De2npoa_.js → bootstrap-C8choj80.js} +3 -3
  39. package/dist/cjs/{bootstrap-De2npoa_.js.map → bootstrap-C8choj80.js.map} +1 -1
  40. package/dist/cjs/{component-BpTg8PCv.js → component-D25hbRHL.js} +4 -4
  41. package/dist/cjs/{component-BpTg8PCv.js.map → component-D25hbRHL.js.map} +1 -1
  42. package/dist/cjs/{component-BEcrKHc2.js → component-D40K1uIa.js} +5 -5
  43. package/dist/cjs/{component-BEcrKHc2.js.map → component-D40K1uIa.js.map} +1 -1
  44. package/dist/cjs/{component-DA5ZXmFP.js → component-DprxeWfH.js} +4 -4
  45. package/dist/cjs/{component-DA5ZXmFP.js.map → component-DprxeWfH.js.map} +1 -1
  46. package/dist/cjs/{component-U7UWIKdR.js → component-b-BmClT0.js} +4 -4
  47. package/dist/cjs/{component-U7UWIKdR.js.map → component-b-BmClT0.js.map} +1 -1
  48. package/dist/cjs/{controller-DmoMYYzy.js → controller-DZKfoc-4.js} +3 -3
  49. package/dist/cjs/{controller-DmoMYYzy.js.map → controller-DZKfoc-4.js.map} +1 -1
  50. package/dist/cjs/{controller-DHsc-8t1.js → controller-Dkyvgyzl.js} +15 -15
  51. package/dist/cjs/controller-Dkyvgyzl.js.map +1 -0
  52. package/dist/cjs/{controller-CWTdHXvg.js → controller-DmyMo0CO.js} +3 -3
  53. package/dist/cjs/{controller-CWTdHXvg.js.map → controller-DmyMo0CO.js.map} +1 -1
  54. package/dist/cjs/{controller-Br37uto2.js → controller-MC2o6IAB.js} +3 -3
  55. package/dist/cjs/{controller-Br37uto2.js.map → controller-MC2o6IAB.js.map} +1 -1
  56. package/dist/cjs/{controller-icon-CdwPO8hD.js → controller-icon-DyQbzU-v.js} +6 -6
  57. package/dist/cjs/{controller-icon-CdwPO8hD.js.map → controller-icon-DyQbzU-v.js.map} +1 -1
  58. package/dist/cjs/{dev.utils-BaRzDChI.js → dev.utils-DvNz4B2G.js} +3 -3
  59. package/dist/cjs/{dev.utils-BaRzDChI.js.map → dev.utils-DvNz4B2G.js.map} +1 -1
  60. package/dist/cjs/{devtools-Ch90JQxx.js → devtools-DpjUkBF_.js} +4 -4
  61. package/dist/cjs/{devtools-Ch90JQxx.js.map → devtools-DpjUkBF_.js.map} +1 -1
  62. package/dist/cjs/element-focus-B4BhAkh_.js.map +1 -1
  63. package/dist/cjs/{i18n-DL7vJXNn.js → i18n-BVrSOH9l.js} +3 -3
  64. package/dist/cjs/{i18n-DL7vJXNn.js.map → i18n-BVrSOH9l.js.map} +1 -1
  65. package/dist/cjs/{i18n-CgUN6lev.js → i18n-D1iTbPTC.js} +4 -2
  66. package/dist/cjs/i18n-D1iTbPTC.js.map +1 -0
  67. package/dist/cjs/{index-Dk00HcEs.js → index-Bo9_lDIt.js} +3 -3
  68. package/dist/cjs/{index-Dk00HcEs.js.map → index-Bo9_lDIt.js.map} +1 -1
  69. package/dist/cjs/index.cjs.js +3 -3
  70. package/dist/cjs/kol-abbr.cjs.entry.js +45 -26
  71. package/dist/cjs/kol-abbr.entry.cjs.js.map +1 -1
  72. package/dist/cjs/kol-accordion.cjs.entry.js +6 -6
  73. package/dist/cjs/kol-accordion.entry.cjs.js.map +1 -1
  74. package/dist/cjs/kol-alert-wc.cjs.entry.js +8 -8
  75. package/dist/cjs/kol-alert.cjs.entry.js +3 -3
  76. package/dist/cjs/kol-alert.entry.cjs.js.map +1 -1
  77. package/dist/cjs/kol-avatar.cjs.entry.js +8 -8
  78. package/dist/cjs/kol-avatar.entry.cjs.js.map +1 -1
  79. package/dist/cjs/kol-badge.cjs.entry.js +8 -8
  80. package/dist/cjs/kol-badge.entry.cjs.js.map +1 -1
  81. package/dist/cjs/kol-breadcrumb.cjs.entry.js +5 -5
  82. package/dist/cjs/kol-breadcrumb.entry.cjs.js.map +1 -1
  83. package/dist/cjs/kol-button-link.cjs.entry.js +3 -3
  84. package/dist/cjs/kol-button-link.entry.cjs.js.map +1 -1
  85. package/dist/cjs/kol-button-wc.cjs.entry.js +15 -13
  86. package/dist/cjs/kol-button-wc.entry.cjs.js.map +1 -1
  87. package/dist/cjs/kol-button.cjs.entry.js +3 -3
  88. package/dist/cjs/kol-button.entry.cjs.js.map +1 -1
  89. package/dist/cjs/kol-card-wc.cjs.entry.js +11 -11
  90. package/dist/cjs/kol-card.cjs.entry.js +3 -3
  91. package/dist/cjs/kol-card.entry.cjs.js.map +1 -1
  92. package/dist/cjs/kol-click-button.cjs.entry.js +7 -7
  93. package/dist/cjs/kol-click-button.entry.cjs.js.map +1 -1
  94. package/dist/cjs/kol-combobox.cjs.entry.js +53 -44
  95. package/dist/cjs/kol-combobox.entry.cjs.js.map +1 -1
  96. package/dist/cjs/kol-details.cjs.entry.js +6 -6
  97. package/dist/cjs/kol-details.entry.cjs.js.map +1 -1
  98. package/dist/cjs/kol-dialog-wc.cjs.entry.js +4 -4
  99. package/dist/cjs/kol-dialog.cjs.entry.js +3 -3
  100. package/dist/cjs/kol-dialog.entry.cjs.js.map +1 -1
  101. package/dist/cjs/kol-drawer.cjs.entry.js +4 -4
  102. package/dist/cjs/kol-drawer.entry.cjs.js.map +1 -1
  103. package/dist/cjs/kol-form.cjs.entry.js +20 -22
  104. package/dist/cjs/kol-form.entry.cjs.js.map +1 -1
  105. package/dist/cjs/kol-heading.cjs.entry.js +5 -5
  106. package/dist/cjs/kol-heading.entry.cjs.js.map +1 -1
  107. package/dist/cjs/kol-icon.cjs.entry.js +7 -7
  108. package/dist/cjs/kol-icon.entry.cjs.js.map +1 -1
  109. package/dist/cjs/kol-image.cjs.entry.js +7 -7
  110. package/dist/cjs/kol-image.entry.cjs.js.map +1 -1
  111. package/dist/cjs/kol-input-checkbox.cjs.entry.js +27 -20
  112. package/dist/cjs/kol-input-checkbox.entry.cjs.js.map +1 -1
  113. package/dist/cjs/kol-input-color.cjs.entry.js +27 -20
  114. package/dist/cjs/kol-input-color.entry.cjs.js.map +1 -1
  115. package/dist/cjs/kol-input-date.cjs.entry.js +27 -20
  116. package/dist/cjs/kol-input-date.entry.cjs.js.map +1 -1
  117. package/dist/cjs/kol-input-email.cjs.entry.js +29 -22
  118. package/dist/cjs/kol-input-email.entry.cjs.js.map +1 -1
  119. package/dist/cjs/kol-input-file.cjs.entry.js +27 -20
  120. package/dist/cjs/kol-input-file.entry.cjs.js.map +1 -1
  121. package/dist/cjs/kol-input-number.cjs.entry.js +27 -20
  122. package/dist/cjs/kol-input-number.entry.cjs.js.map +1 -1
  123. package/dist/cjs/kol-input-password.cjs.entry.js +28 -21
  124. package/dist/cjs/kol-input-password.entry.cjs.js.map +1 -1
  125. package/dist/cjs/kol-input-radio.cjs.entry.js +27 -20
  126. package/dist/cjs/kol-input-radio.entry.cjs.js.map +1 -1
  127. package/dist/cjs/kol-input-range.cjs.entry.js +29 -21
  128. package/dist/cjs/kol-input-range.entry.cjs.js.map +1 -1
  129. package/dist/cjs/kol-input-text.cjs.entry.js +29 -22
  130. package/dist/cjs/kol-input-text.entry.cjs.js.map +1 -1
  131. package/dist/cjs/kol-kolibri.cjs.entry.js +5 -5
  132. package/dist/cjs/kol-kolibri.entry.cjs.js.map +1 -1
  133. package/dist/cjs/kol-link-button.cjs.entry.js +3 -3
  134. package/dist/cjs/kol-link-button.entry.cjs.js.map +1 -1
  135. package/dist/cjs/kol-link-wc.cjs.entry.js +12 -12
  136. package/dist/cjs/kol-link-wc.entry.cjs.js.map +1 -1
  137. package/dist/cjs/kol-link.cjs.entry.js +3 -3
  138. package/dist/cjs/kol-link.entry.cjs.js.map +1 -1
  139. package/dist/cjs/kol-meter.cjs.entry.js +13 -9
  140. package/dist/cjs/kol-meter.entry.cjs.js.map +1 -1
  141. package/dist/cjs/kol-modal.cjs.entry.js +3 -3
  142. package/dist/cjs/kol-modal.entry.cjs.js.map +1 -1
  143. package/dist/cjs/kol-nav.cjs.entry.js +7 -7
  144. package/dist/cjs/kol-nav.entry.cjs.js.map +1 -1
  145. package/dist/cjs/kol-pagination-wc.cjs.entry.js +4 -4
  146. package/dist/cjs/kol-pagination.cjs.entry.js +3 -3
  147. package/dist/cjs/kol-pagination.entry.cjs.js.map +1 -1
  148. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +4 -4
  149. package/dist/cjs/kol-popover-button-wc.entry.cjs.js.map +1 -1
  150. package/dist/cjs/kol-popover-button.cjs.entry.js +3 -3
  151. package/dist/cjs/kol-popover-button.entry.cjs.js.map +1 -1
  152. package/dist/cjs/kol-progress.cjs.entry.js +7 -7
  153. package/dist/cjs/kol-progress.entry.cjs.js.map +1 -1
  154. package/dist/cjs/kol-quote.cjs.entry.js +8 -8
  155. package/dist/cjs/kol-quote.entry.cjs.js.map +1 -1
  156. package/dist/cjs/kol-select-wc.cjs.entry.js +27 -20
  157. package/dist/cjs/kol-select-wc.entry.cjs.js.map +1 -1
  158. package/dist/cjs/kol-select.cjs.entry.js +11 -3
  159. package/dist/cjs/kol-select.entry.cjs.js.map +1 -1
  160. package/dist/cjs/kol-single-select.cjs.entry.js +31 -24
  161. package/dist/cjs/kol-single-select.entry.cjs.js.map +1 -1
  162. package/dist/cjs/kol-skeleton.cjs.entry.js +6 -6
  163. package/dist/cjs/kol-skeleton.entry.cjs.js.map +1 -1
  164. package/dist/cjs/kol-skip-nav.cjs.entry.js +3 -3
  165. package/dist/cjs/kol-skip-nav.entry.cjs.js.map +1 -1
  166. package/dist/cjs/kol-spin.cjs.entry.js +9 -17
  167. package/dist/cjs/kol-spin.entry.cjs.js.map +1 -1
  168. package/dist/cjs/kol-split-button.cjs.entry.js +6 -6
  169. package/dist/cjs/kol-split-button.entry.cjs.js.map +1 -1
  170. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +6 -5
  171. package/dist/cjs/kol-table-settings-wc.entry.cjs.js.map +1 -1
  172. package/dist/cjs/kol-table-stateful.cjs.entry.js +8 -7
  173. package/dist/cjs/kol-table-stateful.entry.cjs.js.map +1 -1
  174. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +14 -14
  175. package/dist/cjs/kol-table-stateless-wc.entry.cjs.js.map +1 -1
  176. package/dist/cjs/kol-table-stateless.cjs.entry.js +6 -5
  177. package/dist/cjs/kol-table-stateless.entry.cjs.js.map +1 -1
  178. package/dist/cjs/kol-tabs.cjs.entry.js +6 -6
  179. package/dist/cjs/kol-tabs.entry.cjs.js.map +1 -1
  180. package/dist/cjs/kol-textarea.cjs.entry.js +25 -18
  181. package/dist/cjs/kol-textarea.entry.cjs.js.map +1 -1
  182. package/dist/cjs/kol-toast-container.cjs.entry.js +12 -12
  183. package/dist/cjs/kol-toast-container.entry.cjs.js.map +1 -1
  184. package/dist/cjs/kol-toolbar.cjs.entry.js +3 -3
  185. package/dist/cjs/kol-toolbar.entry.cjs.js.map +1 -1
  186. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +9 -9
  187. package/dist/cjs/kol-tooltip-wc.entry.cjs.js.map +1 -1
  188. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +7 -7
  189. package/dist/cjs/kol-tree-item.cjs.entry.js +3 -3
  190. package/dist/cjs/kol-tree-item.entry.cjs.js.map +1 -1
  191. package/dist/cjs/kol-tree-wc.cjs.entry.js +2 -2
  192. package/dist/cjs/kol-tree-wc.entry.cjs.js.map +1 -1
  193. package/dist/cjs/kol-tree.cjs.entry.js +3 -3
  194. package/dist/cjs/kol-tree.entry.cjs.js.map +1 -1
  195. package/dist/cjs/kol-version.cjs.entry.js +5 -5
  196. package/dist/cjs/kol-version.entry.cjs.js.map +1 -1
  197. package/dist/cjs/kolibri.cjs.js +3 -3
  198. package/dist/cjs/loader.cjs.js +3 -3
  199. package/dist/cjs/test-component.cjs.entry.js +1 -1
  200. package/dist/collection/collection-manifest.json +1 -1
  201. package/dist/collection/components/@deprecated/input/controller.js +25 -14
  202. package/dist/collection/components/@deprecated/input/controller.js.map +1 -1
  203. package/dist/collection/components/_skeleton/web-components/click-button/component.js +2 -2
  204. package/dist/collection/components/_skeleton/web-components/click-button/component.js.map +1 -1
  205. package/dist/collection/components/_skeleton/web-components/skeleton/component.js +1 -1
  206. package/dist/collection/components/abbr/{shadow.js → component.js} +15 -21
  207. package/dist/collection/components/abbr/component.js.map +1 -0
  208. package/dist/collection/components/abbr/style.css +11 -5
  209. package/dist/collection/components/accordion/shadow.js +1 -1
  210. package/dist/collection/components/accordion/shadow.js.map +1 -1
  211. package/dist/collection/components/accordion/style.css +11 -5
  212. package/dist/collection/components/alert/component.js +1 -1
  213. package/dist/collection/components/alert/shadow.js +1 -1
  214. package/dist/collection/components/alert/style.css +10 -5
  215. package/dist/collection/components/avatar/component.js +1 -1
  216. package/dist/collection/components/avatar/style.css +9 -3
  217. package/dist/collection/components/badge/shadow.js +2 -2
  218. package/dist/collection/components/badge/style.css +11 -5
  219. package/dist/collection/components/breadcrumb/shadow.js +1 -1
  220. package/dist/collection/components/breadcrumb/style.css +11 -5
  221. package/dist/collection/components/button/component.js +2 -2
  222. package/dist/collection/components/button/component.js.map +1 -1
  223. package/dist/collection/components/button/shadow.js +1 -1
  224. package/dist/collection/components/button/shadow.js.map +1 -1
  225. package/dist/collection/components/button/style.css +10 -5
  226. package/dist/collection/components/button-link/shadow.js +1 -1
  227. package/dist/collection/components/button-link/shadow.js.map +1 -1
  228. package/dist/collection/components/button-link/style.css +11 -5
  229. package/dist/collection/components/card/component.js +1 -1
  230. package/dist/collection/components/card/shadow.js +1 -1
  231. package/dist/collection/components/card/style.css +10 -5
  232. package/dist/collection/components/combobox/shadow.js +58 -24
  233. package/dist/collection/components/combobox/shadow.js.map +1 -1
  234. package/dist/collection/components/combobox/style.css +11 -6
  235. package/dist/collection/components/component-list.js +1 -1
  236. package/dist/collection/components/component-list.js.map +1 -1
  237. package/dist/collection/components/details/shadow.js +1 -1
  238. package/dist/collection/components/details/shadow.js.map +1 -1
  239. package/dist/collection/components/details/style.css +10 -5
  240. package/dist/collection/components/dialog/component.js +2 -2
  241. package/dist/collection/components/dialog/shadow.js +1 -1
  242. package/dist/collection/components/dialog/style.css +10 -5
  243. package/dist/collection/components/drawer/shadow.js +1 -1
  244. package/dist/collection/components/drawer/style.css +10 -5
  245. package/dist/collection/components/form/shadow.js +23 -16
  246. package/dist/collection/components/form/shadow.js.map +1 -1
  247. package/dist/collection/components/form/style.css +10 -5
  248. package/dist/collection/components/heading/component.js +1 -1
  249. package/dist/collection/components/heading/style.css +9 -3
  250. package/dist/collection/components/icon/component.js +1 -1
  251. package/dist/collection/components/icon/style.css +2 -2
  252. package/dist/collection/components/image/component.js +1 -1
  253. package/dist/collection/components/image/style.css +9 -3
  254. package/dist/collection/components/input-adapter-leanup/associated.controller.js +6 -0
  255. package/dist/collection/components/input-adapter-leanup/associated.controller.js.map +1 -1
  256. package/dist/collection/components/input-checkbox/shadow.js +33 -1
  257. package/dist/collection/components/input-checkbox/shadow.js.map +1 -1
  258. package/dist/collection/components/input-checkbox/style.css +13 -10
  259. package/dist/collection/components/input-color/shadow.js +33 -1
  260. package/dist/collection/components/input-color/shadow.js.map +1 -1
  261. package/dist/collection/components/input-color/style.css +11 -6
  262. package/dist/collection/components/input-date/controller.js.map +1 -1
  263. package/dist/collection/components/input-date/shadow.js +33 -1
  264. package/dist/collection/components/input-date/shadow.js.map +1 -1
  265. package/dist/collection/components/input-date/style.css +11 -6
  266. package/dist/collection/components/input-email/shadow.js +33 -1
  267. package/dist/collection/components/input-email/shadow.js.map +1 -1
  268. package/dist/collection/components/input-email/style.css +11 -6
  269. package/dist/collection/components/input-file/shadow.js +33 -1
  270. package/dist/collection/components/input-file/shadow.js.map +1 -1
  271. package/dist/collection/components/input-file/style.css +11 -6
  272. package/dist/collection/components/input-number/shadow.js +33 -1
  273. package/dist/collection/components/input-number/shadow.js.map +1 -1
  274. package/dist/collection/components/input-number/style.css +11 -6
  275. package/dist/collection/components/input-password/shadow.js +33 -1
  276. package/dist/collection/components/input-password/shadow.js.map +1 -1
  277. package/dist/collection/components/input-password/style.css +11 -6
  278. package/dist/collection/components/input-radio/shadow.js +33 -1
  279. package/dist/collection/components/input-radio/shadow.js.map +1 -1
  280. package/dist/collection/components/input-radio/style.css +13 -10
  281. package/dist/collection/components/input-range/shadow.js +35 -2
  282. package/dist/collection/components/input-range/shadow.js.map +1 -1
  283. package/dist/collection/components/input-range/style.css +14 -6
  284. package/dist/collection/components/input-text/shadow.js +33 -1
  285. package/dist/collection/components/input-text/shadow.js.map +1 -1
  286. package/dist/collection/components/input-text/style.css +11 -6
  287. package/dist/collection/components/kolibri/shadow.js +1 -1
  288. package/dist/collection/components/kolibri/style.css +9 -3
  289. package/dist/collection/components/link/component.js +2 -2
  290. package/dist/collection/components/link/component.js.map +1 -1
  291. package/dist/collection/components/link/shadow.js +1 -1
  292. package/dist/collection/components/link/shadow.js.map +1 -1
  293. package/dist/collection/components/link/style.css +11 -5
  294. package/dist/collection/components/link-button/shadow.js +1 -1
  295. package/dist/collection/components/link-button/shadow.js.map +1 -1
  296. package/dist/collection/components/link-button/style.css +10 -5
  297. package/dist/collection/components/meter/component.js +2 -2
  298. package/dist/collection/components/meter/component.js.map +1 -1
  299. package/dist/collection/components/meter/style.css +9 -3
  300. package/dist/collection/components/modal/shadow.js +1 -1
  301. package/dist/collection/components/modal/style.css +10 -5
  302. package/dist/collection/components/nav/shadow.js +2 -2
  303. package/dist/collection/components/nav/style.css +11 -5
  304. package/dist/collection/components/pagination/shadow.js +1 -1
  305. package/dist/collection/components/pagination/style.css +11 -6
  306. package/dist/collection/components/popover-button/component.js +2 -2
  307. package/dist/collection/components/popover-button/component.js.map +1 -1
  308. package/dist/collection/components/popover-button/shadow.js +1 -1
  309. package/dist/collection/components/popover-button/shadow.js.map +1 -1
  310. package/dist/collection/components/popover-button/style.css +10 -5
  311. package/dist/collection/components/progress/component.js +1 -1
  312. package/dist/collection/components/progress/style.css +9 -3
  313. package/dist/collection/components/quote/component.js +1 -1
  314. package/dist/collection/components/quote/style.css +8 -3
  315. package/dist/collection/components/select/component.js +34 -2
  316. package/dist/collection/components/select/component.js.map +1 -1
  317. package/dist/collection/components/select/shadow.js +36 -1
  318. package/dist/collection/components/select/shadow.js.map +1 -1
  319. package/dist/collection/components/select/style.css +11 -6
  320. package/dist/collection/components/single-select/shadow.js +35 -3
  321. package/dist/collection/components/single-select/shadow.js.map +1 -1
  322. package/dist/collection/components/single-select/style.css +11 -6
  323. package/dist/collection/components/skip-nav/shadow.js +1 -1
  324. package/dist/collection/components/skip-nav/shadow.js.map +1 -1
  325. package/dist/collection/components/skip-nav/style.css +11 -5
  326. package/dist/collection/components/spin/component.js +1 -1
  327. package/dist/collection/components/spin/component.js.map +1 -1
  328. package/dist/collection/components/spin/style.css +9 -3
  329. package/dist/collection/components/split-button/shadow.js +2 -2
  330. package/dist/collection/components/split-button/shadow.js.map +1 -1
  331. package/dist/collection/components/split-button/style.css +11 -5
  332. package/dist/collection/components/table-stateful/shadow.js +1 -1
  333. package/dist/collection/components/table-stateful/style.css +11 -6
  334. package/dist/collection/components/table-stateless/component.js +6 -6
  335. package/dist/collection/components/table-stateless/component.js.map +1 -1
  336. package/dist/collection/components/table-stateless/shadow.js +1 -1
  337. package/dist/collection/components/table-stateless/style.css +10 -5
  338. package/dist/collection/components/table-stateless/table-settings.js +3 -2
  339. package/dist/collection/components/table-stateless/table-settings.js.map +1 -1
  340. package/dist/collection/components/tabs/shadow.js +2 -2
  341. package/dist/collection/components/tabs/shadow.js.map +1 -1
  342. package/dist/collection/components/tabs/style.css +11 -5
  343. package/dist/collection/components/textarea/shadow.js +33 -1
  344. package/dist/collection/components/textarea/shadow.js.map +1 -1
  345. package/dist/collection/components/textarea/style.css +11 -6
  346. package/dist/collection/components/toaster/shadow.js +1 -1
  347. package/dist/collection/components/toaster/style.css +10 -5
  348. package/dist/collection/components/toolbar/shadow.js +1 -1
  349. package/dist/collection/components/toolbar/shadow.js.map +1 -1
  350. package/dist/collection/components/toolbar/style.css +10 -5
  351. package/dist/collection/components/tooltip/component.js +1 -1
  352. package/dist/collection/components/tree/component.js +1 -1
  353. package/dist/collection/components/tree/component.js.map +1 -1
  354. package/dist/collection/components/tree/shadow.js +1 -1
  355. package/dist/collection/components/tree/shadow.js.map +1 -1
  356. package/dist/collection/components/tree/style.css +9 -3
  357. package/dist/collection/components/tree-item/component.js +3 -3
  358. package/dist/collection/components/tree-item/shadow.js +1 -1
  359. package/dist/collection/components/tree-item/style.css +11 -5
  360. package/dist/collection/components/version/shadow.js +1 -1
  361. package/dist/collection/components/version/style.css +9 -3
  362. package/dist/collection/e2e/index.js +0 -1
  363. package/dist/collection/e2e/index.js.map +1 -1
  364. package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js +1 -1
  365. package/dist/collection/functional-component-wrappers/SelectStateWrapper/SelectStateWrapper.js.map +1 -1
  366. package/dist/collection/index.js.map +1 -1
  367. package/dist/collection/internal/functional-components/abbr/api.js +8 -0
  368. package/dist/collection/internal/functional-components/abbr/api.js.map +1 -0
  369. package/dist/collection/internal/functional-components/abbr/component.js +9 -0
  370. package/dist/collection/internal/functional-components/abbr/component.js.map +1 -0
  371. package/dist/collection/internal/functional-components/abbr/controller.js +20 -0
  372. package/dist/collection/internal/functional-components/abbr/controller.js.map +1 -0
  373. package/dist/collection/internal/functional-components/meter/component.js +5 -1
  374. package/dist/collection/internal/functional-components/meter/component.js.map +1 -1
  375. package/dist/collection/internal/functional-components/meter/controller.js.map +1 -1
  376. package/dist/collection/internal/functional-components/progress/controller.js.map +1 -1
  377. package/dist/collection/internal/functional-components/spin/api.js.map +1 -1
  378. package/dist/collection/internal/functional-components/spin/component.js +3 -2
  379. package/dist/collection/internal/functional-components/spin/component.js.map +1 -1
  380. package/dist/collection/internal/functional-components/spin/controller.js +0 -9
  381. package/dist/collection/internal/functional-components/spin/controller.js.map +1 -1
  382. package/dist/collection/locales/de.js +1 -0
  383. package/dist/collection/locales/de.js.map +1 -1
  384. package/dist/collection/locales/en.js +1 -0
  385. package/dist/collection/locales/en.js.map +1 -1
  386. package/dist/collection/schema/bem-registry.js +3 -0
  387. package/dist/collection/schema/bem-registry.js.map +1 -1
  388. package/dist/collection/schema/components/combobox.js.map +1 -1
  389. package/dist/collection/schema/components/input-checkbox.js.map +1 -1
  390. package/dist/collection/schema/components/input-color.js.map +1 -1
  391. package/dist/collection/schema/components/input-date.js.map +1 -1
  392. package/dist/collection/schema/components/input-email.js.map +1 -1
  393. package/dist/collection/schema/components/input-file.js.map +1 -1
  394. package/dist/collection/schema/components/input-number.js.map +1 -1
  395. package/dist/collection/schema/components/input-password.js.map +1 -1
  396. package/dist/collection/schema/components/input-radio.js.map +1 -1
  397. package/dist/collection/schema/components/input-range.js.map +1 -1
  398. package/dist/collection/schema/components/input-text.js.map +1 -1
  399. package/dist/collection/schema/components/select.js.map +1 -1
  400. package/dist/collection/schema/components/single-select.js.map +1 -1
  401. package/dist/collection/schema/components/textarea.js.map +1 -1
  402. package/dist/collection/schema/interfaces/ClickableElement.js +2 -0
  403. package/dist/collection/schema/interfaces/ClickableElement.js.map +1 -0
  404. package/dist/collection/schema/interfaces/index.js +1 -0
  405. package/dist/collection/schema/interfaces/index.js.map +1 -1
  406. package/dist/collection/schema/props/aria-details.js +19 -0
  407. package/dist/collection/schema/props/aria-details.js.map +1 -0
  408. package/dist/collection/schema/props/error-list.js.map +1 -1
  409. package/dist/collection/schema/props/index.js +1 -0
  410. package/dist/collection/schema/props/index.js.map +1 -1
  411. package/dist/collection/utils/aria-labelledby.js.map +1 -1
  412. package/dist/collection/utils/element-click.js.map +1 -1
  413. package/dist/components/FieldControlStateWrapper.js +1 -1
  414. package/dist/components/access-and-short-key.js +1 -1
  415. package/dist/components/align-floating-elements.js +1 -1
  416. package/dist/components/aria-details.js +24 -0
  417. package/dist/components/aria-details.js.map +1 -0
  418. package/dist/components/aria-labelledby.js +1 -17
  419. package/dist/components/aria-labelledby.js.map +1 -1
  420. package/dist/components/aria-labelledby2.js +24 -0
  421. package/dist/components/aria-labelledby2.js.map +1 -0
  422. package/dist/components/associated.controller.js +6 -0
  423. package/dist/components/associated.controller.js.map +1 -1
  424. package/dist/components/{variant-quote.js → base-web-component.js} +11 -11
  425. package/dist/components/base-web-component.js.map +1 -0
  426. package/dist/components/bem-registry.js +3 -0
  427. package/dist/components/bem-registry.js.map +1 -1
  428. package/dist/components/color.js +1 -1
  429. package/dist/components/controller.js +14 -14
  430. package/dist/components/controller.js.map +1 -1
  431. package/dist/components/controller3.js +28 -17
  432. package/dist/components/controller3.js.map +1 -1
  433. package/dist/components/controller4.js +2 -2
  434. package/dist/components/dev.utils.js +1 -1
  435. package/dist/components/disabled.js +1 -1
  436. package/dist/components/element-focus.js.map +1 -1
  437. package/dist/components/i18n.js +1 -1
  438. package/dist/components/i18n2.js +2 -0
  439. package/dist/components/i18n2.js.map +1 -1
  440. package/dist/components/kol-abbr.js +45 -25
  441. package/dist/components/kol-abbr.js.map +1 -1
  442. package/dist/components/kol-accordion.js +3 -3
  443. package/dist/components/kol-accordion.js.map +1 -1
  444. package/dist/components/kol-alert-wc.js +2 -2
  445. package/dist/components/kol-alert.js +2 -2
  446. package/dist/components/kol-alert.js.map +1 -1
  447. package/dist/components/kol-avatar.js +4 -4
  448. package/dist/components/kol-avatar.js.map +1 -1
  449. package/dist/components/kol-badge.js +3 -3
  450. package/dist/components/kol-badge.js.map +1 -1
  451. package/dist/components/kol-breadcrumb.js +3 -3
  452. package/dist/components/kol-breadcrumb.js.map +1 -1
  453. package/dist/components/kol-button-link.js +2 -2
  454. package/dist/components/kol-button-link.js.map +1 -1
  455. package/dist/components/kol-button-wc.js +4 -4
  456. package/dist/components/kol-button-wc.js.map +1 -1
  457. package/dist/components/kol-button.js +2 -2
  458. package/dist/components/kol-button.js.map +1 -1
  459. package/dist/components/kol-card-wc.js +3 -3
  460. package/dist/components/kol-card.js +2 -2
  461. package/dist/components/kol-card.js.map +1 -1
  462. package/dist/components/kol-click-button.js +4 -4
  463. package/dist/components/kol-click-button.js.map +1 -1
  464. package/dist/components/kol-combobox.js +34 -25
  465. package/dist/components/kol-combobox.js.map +1 -1
  466. package/dist/components/kol-details.js +3 -3
  467. package/dist/components/kol-details.js.map +1 -1
  468. package/dist/components/kol-dialog-wc.js +3 -3
  469. package/dist/components/kol-dialog.js +2 -2
  470. package/dist/components/kol-dialog.js.map +1 -1
  471. package/dist/components/kol-drawer.js +3 -3
  472. package/dist/components/kol-drawer.js.map +1 -1
  473. package/dist/components/kol-form.js +13 -15
  474. package/dist/components/kol-form.js.map +1 -1
  475. package/dist/components/kol-heading.js +3 -3
  476. package/dist/components/kol-heading.js.map +1 -1
  477. package/dist/components/kol-icon.js +4 -4
  478. package/dist/components/kol-image.js +3 -3
  479. package/dist/components/kol-image.js.map +1 -1
  480. package/dist/components/kol-input-checkbox.js +9 -2
  481. package/dist/components/kol-input-checkbox.js.map +1 -1
  482. package/dist/components/kol-input-color.js +9 -2
  483. package/dist/components/kol-input-color.js.map +1 -1
  484. package/dist/components/kol-input-date.js +9 -2
  485. package/dist/components/kol-input-date.js.map +1 -1
  486. package/dist/components/kol-input-email.js +9 -2
  487. package/dist/components/kol-input-email.js.map +1 -1
  488. package/dist/components/kol-input-file.js +9 -2
  489. package/dist/components/kol-input-file.js.map +1 -1
  490. package/dist/components/kol-input-number.js +9 -2
  491. package/dist/components/kol-input-number.js.map +1 -1
  492. package/dist/components/kol-input-password.js +9 -2
  493. package/dist/components/kol-input-password.js.map +1 -1
  494. package/dist/components/kol-input-radio.js +9 -2
  495. package/dist/components/kol-input-radio.js.map +1 -1
  496. package/dist/components/kol-input-range.js +11 -3
  497. package/dist/components/kol-input-range.js.map +1 -1
  498. package/dist/components/kol-input-text.js +9 -2
  499. package/dist/components/kol-input-text.js.map +1 -1
  500. package/dist/components/kol-kolibri.js +2 -2
  501. package/dist/components/kol-kolibri.js.map +1 -1
  502. package/dist/components/kol-link-button.js +2 -2
  503. package/dist/components/kol-link-button.js.map +1 -1
  504. package/dist/components/kol-link-wc.js +4 -4
  505. package/dist/components/kol-link-wc.js.map +1 -1
  506. package/dist/components/kol-link.js +2 -2
  507. package/dist/components/kol-link.js.map +1 -1
  508. package/dist/components/kol-meter.js +10 -6
  509. package/dist/components/kol-meter.js.map +1 -1
  510. package/dist/components/kol-modal.js +2 -2
  511. package/dist/components/kol-modal.js.map +1 -1
  512. package/dist/components/kol-nav.js +4 -4
  513. package/dist/components/kol-nav.js.map +1 -1
  514. package/dist/components/kol-pagination-wc.js +1 -1
  515. package/dist/components/kol-pagination.js +2 -2
  516. package/dist/components/kol-pagination.js.map +1 -1
  517. package/dist/components/kol-popover-button-wc.js +2 -2
  518. package/dist/components/kol-popover-button-wc.js.map +1 -1
  519. package/dist/components/kol-popover-button.js +2 -2
  520. package/dist/components/kol-popover-button.js.map +1 -1
  521. package/dist/components/kol-progress.js +4 -4
  522. package/dist/components/kol-progress.js.map +1 -1
  523. package/dist/components/kol-quote.js +4 -4
  524. package/dist/components/kol-quote.js.map +1 -1
  525. package/dist/components/kol-select-wc.js +10 -3
  526. package/dist/components/kol-select-wc.js.map +1 -1
  527. package/dist/components/kol-select.js +12 -2
  528. package/dist/components/kol-select.js.map +1 -1
  529. package/dist/components/kol-single-select.js +11 -4
  530. package/dist/components/kol-single-select.js.map +1 -1
  531. package/dist/components/kol-skeleton.js +2 -2
  532. package/dist/components/kol-skip-nav.js +3 -3
  533. package/dist/components/kol-skip-nav.js.map +1 -1
  534. package/dist/components/kol-spin.js +6 -14
  535. package/dist/components/kol-spin.js.map +1 -1
  536. package/dist/components/kol-split-button.js +3 -3
  537. package/dist/components/kol-split-button.js.map +1 -1
  538. package/dist/components/kol-table-settings-wc.js +3 -2
  539. package/dist/components/kol-table-settings-wc.js.map +1 -1
  540. package/dist/components/kol-table-stateful.js +5 -4
  541. package/dist/components/kol-table-stateful.js.map +1 -1
  542. package/dist/components/kol-table-stateless-wc.js +7 -7
  543. package/dist/components/kol-table-stateless-wc.js.map +1 -1
  544. package/dist/components/kol-table-stateless.js +4 -3
  545. package/dist/components/kol-table-stateless.js.map +1 -1
  546. package/dist/components/kol-tabs.js +4 -4
  547. package/dist/components/kol-tabs.js.map +1 -1
  548. package/dist/components/kol-textarea.js +9 -2
  549. package/dist/components/kol-textarea.js.map +1 -1
  550. package/dist/components/kol-toast-container.js +3 -3
  551. package/dist/components/kol-toast-container.js.map +1 -1
  552. package/dist/components/kol-toolbar.js +3 -3
  553. package/dist/components/kol-toolbar.js.map +1 -1
  554. package/dist/components/kol-tooltip-wc.js +2 -2
  555. package/dist/components/kol-tree-item-wc.js +4 -4
  556. package/dist/components/kol-tree-item.js +2 -2
  557. package/dist/components/kol-tree-item.js.map +1 -1
  558. package/dist/components/kol-tree-wc.js +2 -2
  559. package/dist/components/kol-tree-wc.js.map +1 -1
  560. package/dist/components/kol-tree.js +2 -2
  561. package/dist/components/kol-tree.js.map +1 -1
  562. package/dist/components/kol-version.js +3 -3
  563. package/dist/components/kol-version.js.map +1 -1
  564. package/dist/components/label.js +3 -37
  565. package/dist/components/label.js.map +1 -1
  566. package/dist/components/label2.js +37 -3
  567. package/dist/components/label2.js.map +1 -1
  568. package/dist/components/prop.validators.js +1 -1
  569. package/dist/components/suggestions.js +1 -1
  570. package/dist/esm/{Alert-2bYvhb8i.js → Alert-LeFfZ8Oj.js} +7 -7
  571. package/dist/{kolibri/Alert-2bYvhb8i.js.map → esm/Alert-LeFfZ8Oj.js.map} +1 -1
  572. package/dist/esm/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +5 -5
  573. package/dist/{kolibri/Collapsible-OjK6lDr2.js.map → esm/Collapsible-BG8kZny4.js.map} +1 -1
  574. package/dist/esm/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +3 -3
  575. package/dist/{kolibri/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → esm/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
  576. package/dist/esm/{FieldControlStateWrapper-CU6OjlrU.js → FieldControlStateWrapper-BJghqA8K.js} +10 -10
  577. package/dist/{kolibri/FieldControlStateWrapper-CU6OjlrU.js.map → esm/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
  578. package/dist/esm/{FormFieldStateWrapper-C31luuWs.js → FormFieldStateWrapper-D1Q6Lpff.js} +43 -32
  579. package/dist/esm/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
  580. package/dist/esm/{Heading-C9p_CRv4.js → Heading-uCdB_mbH.js} +3 -3
  581. package/dist/esm/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
  582. package/dist/esm/{Input-CwcyFZhB.js → Input-Cu811opH.js} +6 -6
  583. package/dist/{kolibri/Input-CwcyFZhB.js.map → esm/Input-Cu811opH.js.map} +1 -1
  584. package/dist/esm/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +6 -6
  585. package/dist/esm/{InputStateWrapper-CcDZH7W5.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
  586. package/dist/esm/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +3 -3
  587. package/dist/esm/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
  588. package/dist/esm/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +3 -3
  589. package/dist/esm/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
  590. package/dist/esm/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +3 -3
  591. package/dist/{kolibri/align-floating-elements-DTTpkCAK.js.map → esm/align-floating-elements-CqZdcuwL.js.map} +1 -1
  592. package/dist/esm/{app-globals-Cwf240Bw.js → app-globals-DMlUA9Gw.js} +5 -5
  593. package/dist/esm/{app-globals-Cwf240Bw.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
  594. package/dist/esm/aria-details-CG4GFq8t.js +24 -0
  595. package/dist/esm/aria-details-CG4GFq8t.js.map +1 -0
  596. package/dist/esm/{aria-expanded--y6Ce39-.js → aria-expanded-BwKOdsiZ.js} +3 -3
  597. package/dist/{kolibri/aria-expanded--y6Ce39-.js.map → esm/aria-expanded-BwKOdsiZ.js.map} +1 -1
  598. package/dist/esm/{aria-labelledby-BUOJRaGL.js → aria-labelledby-6-ki3akM.js} +3 -19
  599. package/dist/esm/aria-labelledby-6-ki3akM.js.map +1 -0
  600. package/dist/esm/aria-labelledby-BuvPnlu7.js +24 -0
  601. package/dist/esm/aria-labelledby-BuvPnlu7.js.map +1 -0
  602. package/dist/esm/{associated.controller-D55JWKjs.js → associated.controller-Da2zylzp.js} +10 -4
  603. package/dist/esm/associated.controller-Da2zylzp.js.map +1 -0
  604. package/dist/esm/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +3 -3
  605. package/dist/esm/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
  606. package/dist/esm/{variant-quote-BMV8GZX8.js → base-web-component-CArCAUxk.js} +11 -11
  607. package/dist/esm/base-web-component-CArCAUxk.js.map +1 -0
  608. package/dist/esm/{bem-registry-B9CzNnO1.js → bem-registry-CqAKWtWY.js} +6 -3
  609. package/dist/esm/bem-registry-CqAKWtWY.js.map +1 -0
  610. package/dist/esm/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +4 -4
  611. package/dist/esm/{bootstrap-UOb6OarC.js.map → bootstrap-C2nJoN6K.js.map} +1 -1
  612. package/dist/esm/{color-Df2awjVY.js → color-CftCtla8.js} +4 -4
  613. package/dist/{kolibri/color-Df2awjVY.js.map → esm/color-CftCtla8.js.map} +1 -1
  614. package/dist/esm/{common-DEEjER7G.js → common-DyILLof-.js} +3 -3
  615. package/dist/esm/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
  616. package/dist/esm/{component-j5NhcleS.js → component-2ImIjrdm.js} +4 -4
  617. package/dist/{kolibri/component-j5NhcleS.js.map → esm/component-2ImIjrdm.js.map} +1 -1
  618. package/dist/esm/{component-ijX_kUom.js → component-DI3pO3QY.js} +4 -4
  619. package/dist/esm/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
  620. package/dist/esm/{component-4RtkhTfb.js → component-DbrY6RW_.js} +6 -6
  621. package/dist/{kolibri/component-4RtkhTfb.js.map → esm/component-DbrY6RW_.js.map} +1 -1
  622. package/dist/esm/{component-BFsdrctP.js → component-fsnfw59D.js} +4 -4
  623. package/dist/esm/{component-BFsdrctP.js.map → component-fsnfw59D.js.map} +1 -1
  624. package/dist/esm/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +3 -3
  625. package/dist/esm/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
  626. package/dist/esm/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +3 -3
  627. package/dist/esm/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
  628. package/dist/esm/{controller-DvdfA2RR.js → controller-B2Qb2oqz.js} +7 -7
  629. package/dist/{kolibri/controller-DvdfA2RR.js.map → esm/controller-B2Qb2oqz.js.map} +1 -1
  630. package/dist/esm/{controller-B4DO-yV0.js → controller-BuikHDKh.js} +6 -6
  631. package/dist/{kolibri/controller-B4DO-yV0.js.map → esm/controller-BuikHDKh.js.map} +1 -1
  632. package/dist/esm/{controller-oT8Y98Yc.js → controller-CJs4fTO0.js} +20 -20
  633. package/dist/esm/controller-CJs4fTO0.js.map +1 -0
  634. package/dist/esm/{controller-CcrsrzWi.js → controller-DiWO-Gw_.js} +10 -10
  635. package/dist/esm/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
  636. package/dist/esm/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +8 -8
  637. package/dist/esm/{controller-icon-D3_aQk9W.js.map → controller-icon-DaBPXypo.js.map} +1 -1
  638. package/dist/esm/{custom-class-RTVG26D_.js → custom-class-DRA8ZYTU.js} +3 -3
  639. package/dist/esm/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
  640. package/dist/esm/{dev.utils-Cv9uCwkA.js → dev.utils-Ce_5C3Pe.js} +4 -4
  641. package/dist/{kolibri/dev.utils-Cv9uCwkA.js.map → esm/dev.utils-Ce_5C3Pe.js.map} +1 -1
  642. package/dist/esm/{devtools-BOWjtOAI.js → devtools-yLGw7QsN.js} +5 -5
  643. package/dist/esm/{devtools-BOWjtOAI.js.map → devtools-yLGw7QsN.js.map} +1 -1
  644. package/dist/esm/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +3 -3
  645. package/dist/esm/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
  646. package/dist/esm/element-focus-BQXzaLL9.js.map +1 -1
  647. package/dist/esm/{has-closer-GBI76y-L.js → has-closer-COzVY-FT.js} +3 -3
  648. package/dist/esm/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
  649. package/dist/esm/{hide-label-CWFMK5Iz.js → hide-label-jbOZNqJV.js} +3 -3
  650. package/dist/esm/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
  651. package/dist/esm/{href-yQN98Z4F.js → href-CMm8l_Io.js} +3 -3
  652. package/dist/esm/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
  653. package/dist/esm/{i18n-CaL2ODdQ.js → i18n-BkwRYsvE.js} +4 -4
  654. package/dist/esm/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
  655. package/dist/esm/{i18n-B2d_exHc.js → i18n-CMA39edx.js} +4 -2
  656. package/dist/esm/i18n-CMA39edx.js.map +1 -0
  657. package/dist/esm/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +3 -3
  658. package/dist/{kolibri/icons-DOGnS2Iv.js.map → esm/icons-BfxrxChI.js.map} +1 -1
  659. package/dist/esm/{index-DqvPZ16l.js → index-CwtGN7ID.js} +4 -4
  660. package/dist/esm/{index-DqvPZ16l.js.map → index-CwtGN7ID.js.map} +1 -1
  661. package/dist/esm/index.js +6 -6
  662. package/dist/esm/{inline-D3v7pifU.js → inline-CIEtzpMz.js} +3 -3
  663. package/dist/esm/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
  664. package/dist/esm/kol-abbr.entry.js +48 -29
  665. package/dist/esm/kol-abbr.entry.js.map +1 -1
  666. package/dist/esm/kol-accordion.entry.js +13 -13
  667. package/dist/esm/kol-accordion.entry.js.map +1 -1
  668. package/dist/esm/kol-alert-wc.entry.js +14 -14
  669. package/dist/esm/kol-alert.entry.js +4 -4
  670. package/dist/esm/kol-alert.entry.js.map +1 -1
  671. package/dist/esm/kol-avatar.entry.js +12 -12
  672. package/dist/esm/kol-avatar.entry.js.map +1 -1
  673. package/dist/esm/kol-badge.entry.js +12 -12
  674. package/dist/esm/kol-badge.entry.js.map +1 -1
  675. package/dist/esm/kol-breadcrumb.entry.js +9 -9
  676. package/dist/esm/kol-breadcrumb.entry.js.map +1 -1
  677. package/dist/esm/kol-button-link.entry.js +4 -4
  678. package/dist/esm/kol-button-link.entry.js.map +1 -1
  679. package/dist/esm/kol-button-wc.entry.js +30 -28
  680. package/dist/esm/kol-button-wc.entry.js.map +1 -1
  681. package/dist/esm/kol-button.entry.js +4 -4
  682. package/dist/esm/kol-button.entry.js.map +1 -1
  683. package/dist/esm/kol-card-wc.entry.js +17 -17
  684. package/dist/esm/kol-card.entry.js +4 -4
  685. package/dist/esm/kol-card.entry.js.map +1 -1
  686. package/dist/esm/kol-click-button.entry.js +9 -9
  687. package/dist/esm/kol-click-button.entry.js.map +1 -1
  688. package/dist/esm/kol-combobox.entry.js +68 -59
  689. package/dist/esm/kol-combobox.entry.js.map +1 -1
  690. package/dist/esm/kol-details.entry.js +13 -13
  691. package/dist/esm/kol-details.entry.js.map +1 -1
  692. package/dist/esm/kol-dialog-wc.entry.js +9 -9
  693. package/dist/esm/kol-dialog.entry.js +4 -4
  694. package/dist/esm/kol-dialog.entry.js.map +1 -1
  695. package/dist/esm/kol-drawer.entry.js +12 -12
  696. package/dist/esm/kol-drawer.entry.js.map +1 -1
  697. package/dist/esm/kol-form.entry.js +21 -23
  698. package/dist/esm/kol-form.entry.js.map +1 -1
  699. package/dist/esm/kol-heading.entry.js +7 -7
  700. package/dist/esm/kol-heading.entry.js.map +1 -1
  701. package/dist/esm/kol-icon.entry.js +9 -9
  702. package/dist/esm/kol-image.entry.js +7 -7
  703. package/dist/esm/kol-image.entry.js.map +1 -1
  704. package/dist/esm/kol-input-checkbox.entry.js +41 -34
  705. package/dist/esm/kol-input-checkbox.entry.js.map +1 -1
  706. package/dist/esm/kol-input-color.entry.js +41 -34
  707. package/dist/esm/kol-input-color.entry.js.map +1 -1
  708. package/dist/esm/kol-input-date.entry.js +44 -37
  709. package/dist/esm/kol-input-date.entry.js.map +1 -1
  710. package/dist/esm/kol-input-email.entry.js +50 -43
  711. package/dist/esm/kol-input-email.entry.js.map +1 -1
  712. package/dist/esm/kol-input-file.entry.js +41 -34
  713. package/dist/esm/kol-input-file.entry.js.map +1 -1
  714. package/dist/esm/kol-input-number.entry.js +45 -38
  715. package/dist/esm/kol-input-number.entry.js.map +1 -1
  716. package/dist/esm/kol-input-password.entry.js +46 -39
  717. package/dist/esm/kol-input-password.entry.js.map +1 -1
  718. package/dist/esm/kol-input-radio.entry.js +41 -34
  719. package/dist/esm/kol-input-radio.entry.js.map +1 -1
  720. package/dist/esm/kol-input-range.entry.js +44 -36
  721. package/dist/esm/kol-input-range.entry.js.map +1 -1
  722. package/dist/esm/kol-input-text.entry.js +49 -42
  723. package/dist/esm/kol-input-text.entry.js.map +1 -1
  724. package/dist/esm/kol-kolibri.entry.js +8 -8
  725. package/dist/esm/kol-kolibri.entry.js.map +1 -1
  726. package/dist/esm/kol-link-button.entry.js +4 -4
  727. package/dist/esm/kol-link-button.entry.js.map +1 -1
  728. package/dist/esm/kol-link-wc.entry.js +27 -27
  729. package/dist/esm/kol-link-wc.entry.js.map +1 -1
  730. package/dist/esm/kol-link.entry.js +4 -4
  731. package/dist/esm/kol-link.entry.js.map +1 -1
  732. package/dist/esm/kol-meter.entry.js +16 -12
  733. package/dist/esm/kol-meter.entry.js.map +1 -1
  734. package/dist/esm/kol-modal.entry.js +4 -4
  735. package/dist/esm/kol-modal.entry.js.map +1 -1
  736. package/dist/esm/kol-nav.entry.js +12 -12
  737. package/dist/esm/kol-nav.entry.js.map +1 -1
  738. package/dist/esm/kol-pagination-wc.entry.js +10 -10
  739. package/dist/esm/kol-pagination.entry.js +4 -4
  740. package/dist/esm/kol-pagination.entry.js.map +1 -1
  741. package/dist/esm/kol-popover-button-wc.entry.js +8 -8
  742. package/dist/esm/kol-popover-button-wc.entry.js.map +1 -1
  743. package/dist/esm/kol-popover-button.entry.js +4 -4
  744. package/dist/esm/kol-popover-button.entry.js.map +1 -1
  745. package/dist/esm/kol-progress.entry.js +10 -10
  746. package/dist/esm/kol-progress.entry.js.map +1 -1
  747. package/dist/esm/kol-quote.entry.js +8 -8
  748. package/dist/esm/kol-quote.entry.js.map +1 -1
  749. package/dist/esm/kol-select-wc.entry.js +44 -37
  750. package/dist/esm/kol-select-wc.entry.js.map +1 -1
  751. package/dist/esm/kol-select.entry.js +12 -4
  752. package/dist/esm/kol-select.entry.js.map +1 -1
  753. package/dist/esm/kol-single-select.entry.js +46 -39
  754. package/dist/esm/kol-single-select.entry.js.map +1 -1
  755. package/dist/esm/kol-skeleton.entry.js +7 -7
  756. package/dist/esm/kol-skip-nav.entry.js +7 -7
  757. package/dist/esm/kol-skip-nav.entry.js.map +1 -1
  758. package/dist/esm/kol-spin.entry.js +11 -19
  759. package/dist/esm/kol-spin.entry.js.map +1 -1
  760. package/dist/esm/kol-split-button.entry.js +7 -7
  761. package/dist/esm/kol-split-button.entry.js.map +1 -1
  762. package/dist/esm/kol-table-settings-wc.entry.js +7 -6
  763. package/dist/esm/kol-table-settings-wc.entry.js.map +1 -1
  764. package/dist/esm/kol-table-stateful.entry.js +10 -9
  765. package/dist/esm/kol-table-stateful.entry.js.map +1 -1
  766. package/dist/esm/kol-table-stateless-wc.entry.js +18 -18
  767. package/dist/esm/kol-table-stateless-wc.entry.js.map +1 -1
  768. package/dist/esm/kol-table-stateless.entry.js +6 -5
  769. package/dist/esm/kol-table-stateless.entry.js.map +1 -1
  770. package/dist/esm/kol-tabs.entry.js +9 -9
  771. package/dist/esm/kol-tabs.entry.js.map +1 -1
  772. package/dist/esm/kol-textarea.entry.js +43 -36
  773. package/dist/esm/kol-textarea.entry.js.map +1 -1
  774. package/dist/esm/kol-toast-container.entry.js +14 -14
  775. package/dist/esm/kol-toast-container.entry.js.map +1 -1
  776. package/dist/esm/kol-toolbar.entry.js +6 -6
  777. package/dist/esm/kol-toolbar.entry.js.map +1 -1
  778. package/dist/esm/kol-tooltip-wc.entry.js +13 -13
  779. package/dist/esm/kol-tree-item-wc.entry.js +11 -11
  780. package/dist/esm/kol-tree-item.entry.js +4 -4
  781. package/dist/esm/kol-tree-item.entry.js.map +1 -1
  782. package/dist/esm/kol-tree-wc.entry.js +4 -4
  783. package/dist/esm/kol-tree-wc.entry.js.map +1 -1
  784. package/dist/esm/kol-tree.entry.js +4 -4
  785. package/dist/esm/kol-tree.entry.js.map +1 -1
  786. package/dist/esm/kol-version.entry.js +7 -7
  787. package/dist/esm/kol-version.entry.js.map +1 -1
  788. package/dist/esm/kolibri.js +5 -5
  789. package/dist/esm/{label-DPd4-fag.js → label-BT-6lb8r.js} +3 -3
  790. package/dist/esm/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
  791. package/dist/esm/{label-Cg7TG_7b.js → label-BiOix5de.js} +3 -3
  792. package/dist/{kolibri/label-Cg7TG_7b.js.map → esm/label-BiOix5de.js.map} +1 -1
  793. package/dist/esm/{level-CfQolHx4.js → level-Kr0RFikR.js} +3 -3
  794. package/dist/esm/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
  795. package/dist/esm/loader.js +5 -5
  796. package/dist/esm/{max-length-behavior-426q5CU6.js → max-length-behavior-CRJOkECl.js} +3 -3
  797. package/dist/esm/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
  798. package/dist/esm/{multiple-LEiooHN4.js → multiple-hxH51udE.js} +3 -3
  799. package/dist/esm/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
  800. package/dist/esm/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +3 -3
  801. package/dist/esm/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
  802. package/dist/esm/{open-Djbpz6kg.js → open-DZ2Z5a7z.js} +3 -3
  803. package/dist/esm/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
  804. package/dist/esm/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +3 -3
  805. package/dist/esm/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
  806. package/dist/esm/{placeholder-CSgrK1Zh.js → placeholder-B4wceSsL.js} +3 -3
  807. package/dist/esm/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
  808. package/dist/esm/{read-only-DyuIPHMt.js → read-only-DIC7Vhiy.js} +3 -3
  809. package/dist/esm/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
  810. package/dist/esm/{required-DAsW5lI1.js → required-By197yB9.js} +3 -3
  811. package/dist/esm/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
  812. package/dist/esm/{rows-Bdp885AQ.js → rows-BwZCT-gJ.js} +3 -3
  813. package/dist/esm/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
  814. package/dist/esm/{spell-check-CSnDB95u.js → spell-check-CKvoSTJE.js} +3 -3
  815. package/dist/esm/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
  816. package/dist/esm/{src-C8dP-FLK.js → src-DH5c0A9H.js} +3 -3
  817. package/dist/esm/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
  818. package/dist/esm/{suggestions-Cnn1r8zc.js → suggestions-C2o-U3UR.js} +3 -3
  819. package/dist/esm/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
  820. package/dist/esm/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +3 -3
  821. package/dist/esm/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
  822. package/dist/esm/test-component.entry.js +2 -2
  823. package/dist/esm/{tooltip-align-DzHPWEpv.js → tooltip-align-BZrIplzz.js} +4 -4
  824. package/dist/esm/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
  825. package/dist/esm/{unique-nav-labels-7ifGcuBZ.js → unique-nav-labels-OKhw3uEq.js} +3 -3
  826. package/dist/esm/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
  827. package/dist/esm/{validation-B8MhupBp.js → validation-DFynMQYA.js} +3 -3
  828. package/dist/esm/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
  829. package/dist/esm/{validation-VhuthteS.js → validation-D_PYegRV.js} +4 -4
  830. package/dist/esm/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
  831. package/dist/esm/{value-number-clamped-BQ9jw4HR.js → value-number-clamped-eznLHU11.js} +3 -3
  832. package/dist/esm/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
  833. package/dist/esm/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +3 -3
  834. package/dist/esm/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
  835. package/dist/kolibri/Alert-LeFfZ8Oj.js +5 -0
  836. package/dist/{esm/Alert-2bYvhb8i.js.map → kolibri/Alert-LeFfZ8Oj.js.map} +1 -1
  837. package/dist/kolibri/{Collapsible-OjK6lDr2.js → Collapsible-BG8kZny4.js} +2 -2
  838. package/dist/{esm/Collapsible-OjK6lDr2.js.map → kolibri/Collapsible-BG8kZny4.js.map} +1 -1
  839. package/dist/kolibri/{CustomSuggestionsOptionsGroup-Cw_y_smw.js → CustomSuggestionsOptionsGroup--3PdjAdp.js} +2 -2
  840. package/dist/{esm/CustomSuggestionsOptionsGroup-Cw_y_smw.js.map → kolibri/CustomSuggestionsOptionsGroup--3PdjAdp.js.map} +1 -1
  841. package/dist/kolibri/FieldControlStateWrapper-BJghqA8K.js +5 -0
  842. package/dist/{esm/FieldControlStateWrapper-CU6OjlrU.js.map → kolibri/FieldControlStateWrapper-BJghqA8K.js.map} +1 -1
  843. package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js +5 -0
  844. package/dist/kolibri/FormFieldStateWrapper-D1Q6Lpff.js.map +1 -0
  845. package/dist/kolibri/{Heading-C9p_CRv4.js → Heading-uCdB_mbH.js} +2 -2
  846. package/dist/kolibri/{Heading-C9p_CRv4.js.map → Heading-uCdB_mbH.js.map} +1 -1
  847. package/dist/kolibri/Input-Cu811opH.js +5 -0
  848. package/dist/{esm/Input-CwcyFZhB.js.map → kolibri/Input-Cu811opH.js.map} +1 -1
  849. package/dist/kolibri/{InputStateWrapper-CcDZH7W5.js → InputStateWrapper-Cl_V9Vuo.js} +2 -2
  850. package/dist/kolibri/{InputStateWrapper-CcDZH7W5.js.map → InputStateWrapper-Cl_V9Vuo.js.map} +1 -1
  851. package/dist/kolibri/{access-and-short-key-CnWGdP5U.js → access-and-short-key-C7QS_Tel.js} +2 -2
  852. package/dist/kolibri/{access-and-short-key-CnWGdP5U.js.map → access-and-short-key-C7QS_Tel.js.map} +1 -1
  853. package/dist/kolibri/{align-ChLoh-Dq.js → align-DdWzcKWR.js} +2 -2
  854. package/dist/kolibri/{align-ChLoh-Dq.js.map → align-DdWzcKWR.js.map} +1 -1
  855. package/dist/kolibri/{align-floating-elements-DTTpkCAK.js → align-floating-elements-CqZdcuwL.js} +2 -2
  856. package/dist/{esm/align-floating-elements-DTTpkCAK.js.map → kolibri/align-floating-elements-CqZdcuwL.js.map} +1 -1
  857. package/dist/kolibri/app-globals-DMlUA9Gw.js +5 -0
  858. package/dist/kolibri/{app-globals-Cwf240Bw.js.map → app-globals-DMlUA9Gw.js.map} +1 -1
  859. package/dist/kolibri/aria-details-CG4GFq8t.js +5 -0
  860. package/dist/kolibri/aria-details-CG4GFq8t.js.map +1 -0
  861. package/dist/kolibri/aria-expanded-BwKOdsiZ.js +5 -0
  862. package/dist/{esm/aria-expanded--y6Ce39-.js.map → kolibri/aria-expanded-BwKOdsiZ.js.map} +1 -1
  863. package/dist/kolibri/aria-labelledby-6-ki3akM.js +5 -0
  864. package/dist/kolibri/aria-labelledby-6-ki3akM.js.map +1 -0
  865. package/dist/kolibri/aria-labelledby-BuvPnlu7.js +5 -0
  866. package/dist/kolibri/aria-labelledby-BuvPnlu7.js.map +1 -0
  867. package/dist/kolibri/associated.controller-Da2zylzp.js +5 -0
  868. package/dist/kolibri/associated.controller-Da2zylzp.js.map +1 -0
  869. package/dist/kolibri/{auto-complete-CrQJr3SH.js → auto-complete-p-8iouPy.js} +2 -2
  870. package/dist/kolibri/{auto-complete-CrQJr3SH.js.map → auto-complete-p-8iouPy.js.map} +1 -1
  871. package/dist/kolibri/base-web-component-CArCAUxk.js +5 -0
  872. package/dist/kolibri/base-web-component-CArCAUxk.js.map +1 -0
  873. package/dist/kolibri/bem-registry-CqAKWtWY.js +5 -0
  874. package/dist/kolibri/bem-registry-CqAKWtWY.js.map +1 -0
  875. package/dist/kolibri/{bootstrap-UOb6OarC.js → bootstrap-C2nJoN6K.js} +2 -2
  876. package/dist/kolibri/{bootstrap-UOb6OarC.js.map → bootstrap-C2nJoN6K.js.map} +1 -1
  877. package/dist/kolibri/{color-Df2awjVY.js → color-CftCtla8.js} +2 -2
  878. package/dist/{esm/color-Df2awjVY.js.map → kolibri/color-CftCtla8.js.map} +1 -1
  879. package/dist/kolibri/{common-DEEjER7G.js → common-DyILLof-.js} +2 -2
  880. package/dist/kolibri/{common-DEEjER7G.js.map → common-DyILLof-.js.map} +1 -1
  881. package/dist/kolibri/component-2ImIjrdm.js +5 -0
  882. package/dist/{esm/component-j5NhcleS.js.map → kolibri/component-2ImIjrdm.js.map} +1 -1
  883. package/dist/kolibri/component-DI3pO3QY.js +5 -0
  884. package/dist/kolibri/{component-ijX_kUom.js.map → component-DI3pO3QY.js.map} +1 -1
  885. package/dist/kolibri/{component-4RtkhTfb.js → component-DbrY6RW_.js} +2 -2
  886. package/dist/{esm/component-4RtkhTfb.js.map → kolibri/component-DbrY6RW_.js.map} +1 -1
  887. package/dist/kolibri/component-fsnfw59D.js +5 -0
  888. package/dist/kolibri/{component-BFsdrctP.js.map → component-fsnfw59D.js.map} +1 -1
  889. package/dist/kolibri/{contrast-C0oqtcfU.js → contrast-D1msrkD4.js} +2 -2
  890. package/dist/kolibri/{contrast-C0oqtcfU.js.map → contrast-D1msrkD4.js.map} +1 -1
  891. package/dist/kolibri/{controller-D0y9uwX0.js → controller-B21n_zqt.js} +2 -2
  892. package/dist/kolibri/{controller-D0y9uwX0.js.map → controller-B21n_zqt.js.map} +1 -1
  893. package/dist/kolibri/controller-B2Qb2oqz.js +5 -0
  894. package/dist/{esm/controller-DvdfA2RR.js.map → kolibri/controller-B2Qb2oqz.js.map} +1 -1
  895. package/dist/kolibri/controller-BuikHDKh.js +5 -0
  896. package/dist/{esm/controller-B4DO-yV0.js.map → kolibri/controller-BuikHDKh.js.map} +1 -1
  897. package/dist/kolibri/controller-CJs4fTO0.js +5 -0
  898. package/dist/kolibri/controller-CJs4fTO0.js.map +1 -0
  899. package/dist/kolibri/{controller-CcrsrzWi.js → controller-DiWO-Gw_.js} +2 -2
  900. package/dist/kolibri/{controller-CcrsrzWi.js.map → controller-DiWO-Gw_.js.map} +1 -1
  901. package/dist/kolibri/{controller-icon-D3_aQk9W.js → controller-icon-DaBPXypo.js} +2 -2
  902. package/dist/kolibri/{controller-icon-D3_aQk9W.js.map → controller-icon-DaBPXypo.js.map} +1 -1
  903. package/dist/kolibri/custom-class-DRA8ZYTU.js +5 -0
  904. package/dist/kolibri/{custom-class-RTVG26D_.js.map → custom-class-DRA8ZYTU.js.map} +1 -1
  905. package/dist/kolibri/dev.utils-Ce_5C3Pe.js +5 -0
  906. package/dist/{esm/dev.utils-Cv9uCwkA.js.map → kolibri/dev.utils-Ce_5C3Pe.js.map} +1 -1
  907. package/dist/kolibri/devtools-yLGw7QsN.js +5 -0
  908. package/dist/kolibri/{devtools-BOWjtOAI.js.map → devtools-yLGw7QsN.js.map} +1 -1
  909. package/dist/kolibri/{disabled-CtaJsBT2.js → disabled-DzYBnXfG.js} +2 -2
  910. package/dist/kolibri/{disabled-CtaJsBT2.js.map → disabled-DzYBnXfG.js.map} +1 -1
  911. package/dist/kolibri/element-focus-BQXzaLL9.js.map +1 -1
  912. package/dist/kolibri/has-closer-COzVY-FT.js +5 -0
  913. package/dist/kolibri/{has-closer-GBI76y-L.js.map → has-closer-COzVY-FT.js.map} +1 -1
  914. package/dist/kolibri/hide-label-jbOZNqJV.js +5 -0
  915. package/dist/kolibri/{hide-label-CWFMK5Iz.js.map → hide-label-jbOZNqJV.js.map} +1 -1
  916. package/dist/kolibri/href-CMm8l_Io.js +5 -0
  917. package/dist/kolibri/{href-yQN98Z4F.js.map → href-CMm8l_Io.js.map} +1 -1
  918. package/dist/kolibri/i18n-BkwRYsvE.js +5 -0
  919. package/dist/kolibri/{i18n-CaL2ODdQ.js.map → i18n-BkwRYsvE.js.map} +1 -1
  920. package/dist/kolibri/i18n-CMA39edx.js +5 -0
  921. package/dist/kolibri/i18n-CMA39edx.js.map +1 -0
  922. package/dist/kolibri/{icons-DOGnS2Iv.js → icons-BfxrxChI.js} +2 -2
  923. package/dist/{esm/icons-DOGnS2Iv.js.map → kolibri/icons-BfxrxChI.js.map} +1 -1
  924. package/dist/kolibri/{index-DqvPZ16l.js → index-CwtGN7ID.js} +3 -3
  925. package/dist/kolibri/{index-DqvPZ16l.js.map → index-CwtGN7ID.js.map} +1 -1
  926. package/dist/kolibri/index.esm.js +1 -1
  927. package/dist/kolibri/inline-CIEtzpMz.js +5 -0
  928. package/dist/kolibri/{inline-D3v7pifU.js.map → inline-CIEtzpMz.js.map} +1 -1
  929. package/dist/kolibri/kol-abbr.entry.esm.js.map +1 -1
  930. package/dist/kolibri/kol-abbr.entry.js +1 -1
  931. package/dist/kolibri/kol-abbr.entry.js.map +1 -1
  932. package/dist/kolibri/kol-accordion.entry.esm.js.map +1 -1
  933. package/dist/kolibri/kol-accordion.entry.js +1 -1
  934. package/dist/kolibri/kol-accordion.entry.js.map +1 -1
  935. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  936. package/dist/kolibri/kol-alert.entry.esm.js.map +1 -1
  937. package/dist/kolibri/kol-alert.entry.js +1 -1
  938. package/dist/kolibri/kol-alert.entry.js.map +1 -1
  939. package/dist/kolibri/kol-avatar.entry.esm.js.map +1 -1
  940. package/dist/kolibri/kol-avatar.entry.js +1 -1
  941. package/dist/kolibri/kol-avatar.entry.js.map +1 -1
  942. package/dist/kolibri/kol-badge.entry.esm.js.map +1 -1
  943. package/dist/kolibri/kol-badge.entry.js +1 -1
  944. package/dist/kolibri/kol-badge.entry.js.map +1 -1
  945. package/dist/kolibri/kol-breadcrumb.entry.esm.js.map +1 -1
  946. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  947. package/dist/kolibri/kol-breadcrumb.entry.js.map +1 -1
  948. package/dist/kolibri/kol-button-link.entry.esm.js.map +1 -1
  949. package/dist/kolibri/kol-button-link.entry.js +1 -1
  950. package/dist/kolibri/kol-button-link.entry.js.map +1 -1
  951. package/dist/kolibri/kol-button-wc.entry.esm.js.map +1 -1
  952. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  953. package/dist/kolibri/kol-button-wc.entry.js.map +1 -1
  954. package/dist/kolibri/kol-button.entry.esm.js.map +1 -1
  955. package/dist/kolibri/kol-button.entry.js +1 -1
  956. package/dist/kolibri/kol-button.entry.js.map +1 -1
  957. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  958. package/dist/kolibri/kol-card-wc.entry.js.map +1 -1
  959. package/dist/kolibri/kol-card.entry.esm.js.map +1 -1
  960. package/dist/kolibri/kol-card.entry.js +1 -1
  961. package/dist/kolibri/kol-card.entry.js.map +1 -1
  962. package/dist/kolibri/kol-click-button.entry.esm.js.map +1 -1
  963. package/dist/kolibri/kol-click-button.entry.js +1 -1
  964. package/dist/kolibri/kol-click-button.entry.js.map +1 -1
  965. package/dist/kolibri/kol-combobox.entry.esm.js.map +1 -1
  966. package/dist/kolibri/kol-combobox.entry.js +1 -1
  967. package/dist/kolibri/kol-combobox.entry.js.map +1 -1
  968. package/dist/kolibri/kol-details.entry.esm.js.map +1 -1
  969. package/dist/kolibri/kol-details.entry.js +1 -1
  970. package/dist/kolibri/kol-details.entry.js.map +1 -1
  971. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  972. package/dist/kolibri/kol-dialog.entry.esm.js.map +1 -1
  973. package/dist/kolibri/kol-dialog.entry.js +1 -1
  974. package/dist/kolibri/kol-dialog.entry.js.map +1 -1
  975. package/dist/kolibri/kol-drawer.entry.esm.js.map +1 -1
  976. package/dist/kolibri/kol-drawer.entry.js +1 -1
  977. package/dist/kolibri/kol-drawer.entry.js.map +1 -1
  978. package/dist/kolibri/kol-form.entry.esm.js.map +1 -1
  979. package/dist/kolibri/kol-form.entry.js +1 -1
  980. package/dist/kolibri/kol-form.entry.js.map +1 -1
  981. package/dist/kolibri/kol-heading.entry.esm.js.map +1 -1
  982. package/dist/kolibri/kol-heading.entry.js +1 -1
  983. package/dist/kolibri/kol-heading.entry.js.map +1 -1
  984. package/dist/kolibri/kol-icon.entry.js +1 -1
  985. package/dist/kolibri/kol-icon.entry.js.map +1 -1
  986. package/dist/kolibri/kol-image.entry.esm.js.map +1 -1
  987. package/dist/kolibri/kol-image.entry.js +1 -1
  988. package/dist/kolibri/kol-image.entry.js.map +1 -1
  989. package/dist/kolibri/kol-input-checkbox.entry.esm.js.map +1 -1
  990. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  991. package/dist/kolibri/kol-input-checkbox.entry.js.map +1 -1
  992. package/dist/kolibri/kol-input-color.entry.esm.js.map +1 -1
  993. package/dist/kolibri/kol-input-color.entry.js +1 -1
  994. package/dist/kolibri/kol-input-color.entry.js.map +1 -1
  995. package/dist/kolibri/kol-input-date.entry.esm.js.map +1 -1
  996. package/dist/kolibri/kol-input-date.entry.js +1 -1
  997. package/dist/kolibri/kol-input-date.entry.js.map +1 -1
  998. package/dist/kolibri/kol-input-email.entry.esm.js.map +1 -1
  999. package/dist/kolibri/kol-input-email.entry.js +1 -1
  1000. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  1001. package/dist/kolibri/kol-input-file.entry.esm.js.map +1 -1
  1002. package/dist/kolibri/kol-input-file.entry.js +1 -1
  1003. package/dist/kolibri/kol-input-file.entry.js.map +1 -1
  1004. package/dist/kolibri/kol-input-number.entry.esm.js.map +1 -1
  1005. package/dist/kolibri/kol-input-number.entry.js +1 -1
  1006. package/dist/kolibri/kol-input-number.entry.js.map +1 -1
  1007. package/dist/kolibri/kol-input-password.entry.esm.js.map +1 -1
  1008. package/dist/kolibri/kol-input-password.entry.js +1 -1
  1009. package/dist/kolibri/kol-input-password.entry.js.map +1 -1
  1010. package/dist/kolibri/kol-input-radio.entry.esm.js.map +1 -1
  1011. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  1012. package/dist/kolibri/kol-input-radio.entry.js.map +1 -1
  1013. package/dist/kolibri/kol-input-range.entry.esm.js.map +1 -1
  1014. package/dist/kolibri/kol-input-range.entry.js +1 -1
  1015. package/dist/kolibri/kol-input-range.entry.js.map +1 -1
  1016. package/dist/kolibri/kol-input-text.entry.esm.js.map +1 -1
  1017. package/dist/kolibri/kol-input-text.entry.js +1 -1
  1018. package/dist/kolibri/kol-input-text.entry.js.map +1 -1
  1019. package/dist/kolibri/kol-kolibri.entry.esm.js.map +1 -1
  1020. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  1021. package/dist/kolibri/kol-kolibri.entry.js.map +1 -1
  1022. package/dist/kolibri/kol-link-button.entry.esm.js.map +1 -1
  1023. package/dist/kolibri/kol-link-button.entry.js +1 -1
  1024. package/dist/kolibri/kol-link-button.entry.js.map +1 -1
  1025. package/dist/kolibri/kol-link-wc.entry.esm.js.map +1 -1
  1026. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  1027. package/dist/kolibri/kol-link-wc.entry.js.map +1 -1
  1028. package/dist/kolibri/kol-link.entry.esm.js.map +1 -1
  1029. package/dist/kolibri/kol-link.entry.js +1 -1
  1030. package/dist/kolibri/kol-link.entry.js.map +1 -1
  1031. package/dist/kolibri/kol-meter.entry.esm.js.map +1 -1
  1032. package/dist/kolibri/kol-meter.entry.js +1 -1
  1033. package/dist/kolibri/kol-meter.entry.js.map +1 -1
  1034. package/dist/kolibri/kol-modal.entry.esm.js.map +1 -1
  1035. package/dist/kolibri/kol-modal.entry.js +1 -1
  1036. package/dist/kolibri/kol-modal.entry.js.map +1 -1
  1037. package/dist/kolibri/kol-nav.entry.esm.js.map +1 -1
  1038. package/dist/kolibri/kol-nav.entry.js +1 -1
  1039. package/dist/kolibri/kol-nav.entry.js.map +1 -1
  1040. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  1041. package/dist/kolibri/kol-pagination.entry.esm.js.map +1 -1
  1042. package/dist/kolibri/kol-pagination.entry.js +1 -1
  1043. package/dist/kolibri/kol-pagination.entry.js.map +1 -1
  1044. package/dist/kolibri/kol-popover-button-wc.entry.esm.js.map +1 -1
  1045. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  1046. package/dist/kolibri/kol-popover-button-wc.entry.js.map +1 -1
  1047. package/dist/kolibri/kol-popover-button.entry.esm.js.map +1 -1
  1048. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  1049. package/dist/kolibri/kol-popover-button.entry.js.map +1 -1
  1050. package/dist/kolibri/kol-progress.entry.esm.js.map +1 -1
  1051. package/dist/kolibri/kol-progress.entry.js +1 -1
  1052. package/dist/kolibri/kol-progress.entry.js.map +1 -1
  1053. package/dist/kolibri/kol-quote.entry.esm.js.map +1 -1
  1054. package/dist/kolibri/kol-quote.entry.js +1 -1
  1055. package/dist/kolibri/kol-quote.entry.js.map +1 -1
  1056. package/dist/kolibri/kol-select-wc.entry.esm.js.map +1 -1
  1057. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  1058. package/dist/kolibri/kol-select-wc.entry.js.map +1 -1
  1059. package/dist/kolibri/kol-select.entry.esm.js.map +1 -1
  1060. package/dist/kolibri/kol-select.entry.js +1 -1
  1061. package/dist/kolibri/kol-select.entry.js.map +1 -1
  1062. package/dist/kolibri/kol-single-select.entry.esm.js.map +1 -1
  1063. package/dist/kolibri/kol-single-select.entry.js +1 -1
  1064. package/dist/kolibri/kol-single-select.entry.js.map +1 -1
  1065. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  1066. package/dist/kolibri/kol-skeleton.entry.js.map +1 -1
  1067. package/dist/kolibri/kol-skip-nav.entry.esm.js.map +1 -1
  1068. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  1069. package/dist/kolibri/kol-skip-nav.entry.js.map +1 -1
  1070. package/dist/kolibri/kol-spin.entry.esm.js.map +1 -1
  1071. package/dist/kolibri/kol-spin.entry.js +1 -1
  1072. package/dist/kolibri/kol-spin.entry.js.map +1 -1
  1073. package/dist/kolibri/kol-split-button.entry.esm.js.map +1 -1
  1074. package/dist/kolibri/kol-split-button.entry.js +1 -1
  1075. package/dist/kolibri/kol-split-button.entry.js.map +1 -1
  1076. package/dist/kolibri/kol-table-settings-wc.entry.esm.js.map +1 -1
  1077. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  1078. package/dist/kolibri/kol-table-settings-wc.entry.js.map +1 -1
  1079. package/dist/kolibri/kol-table-stateful.entry.esm.js.map +1 -1
  1080. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  1081. package/dist/kolibri/kol-table-stateful.entry.js.map +1 -1
  1082. package/dist/kolibri/kol-table-stateless-wc.entry.esm.js.map +1 -1
  1083. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  1084. package/dist/kolibri/kol-table-stateless-wc.entry.js.map +1 -1
  1085. package/dist/kolibri/kol-table-stateless.entry.esm.js.map +1 -1
  1086. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  1087. package/dist/kolibri/kol-table-stateless.entry.js.map +1 -1
  1088. package/dist/kolibri/kol-tabs.entry.esm.js.map +1 -1
  1089. package/dist/kolibri/kol-tabs.entry.js +1 -1
  1090. package/dist/kolibri/kol-tabs.entry.js.map +1 -1
  1091. package/dist/kolibri/kol-textarea.entry.esm.js.map +1 -1
  1092. package/dist/kolibri/kol-textarea.entry.js +1 -1
  1093. package/dist/kolibri/kol-textarea.entry.js.map +1 -1
  1094. package/dist/kolibri/kol-toast-container.entry.esm.js.map +1 -1
  1095. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  1096. package/dist/kolibri/kol-toast-container.entry.js.map +1 -1
  1097. package/dist/kolibri/kol-toolbar.entry.esm.js.map +1 -1
  1098. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  1099. package/dist/kolibri/kol-toolbar.entry.js.map +1 -1
  1100. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  1101. package/dist/kolibri/kol-tooltip-wc.entry.js.map +1 -1
  1102. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  1103. package/dist/kolibri/kol-tree-item.entry.esm.js.map +1 -1
  1104. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  1105. package/dist/kolibri/kol-tree-item.entry.js.map +1 -1
  1106. package/dist/kolibri/kol-tree-wc.entry.esm.js.map +1 -1
  1107. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  1108. package/dist/kolibri/kol-tree.entry.esm.js.map +1 -1
  1109. package/dist/kolibri/kol-tree.entry.js +1 -1
  1110. package/dist/kolibri/kol-tree.entry.js.map +1 -1
  1111. package/dist/kolibri/kol-version.entry.esm.js.map +1 -1
  1112. package/dist/kolibri/kol-version.entry.js +1 -1
  1113. package/dist/kolibri/kol-version.entry.js.map +1 -1
  1114. package/dist/kolibri/kolibri.esm.js +1 -1
  1115. package/dist/kolibri/{label-DPd4-fag.js → label-BT-6lb8r.js} +2 -2
  1116. package/dist/kolibri/{label-DPd4-fag.js.map → label-BT-6lb8r.js.map} +1 -1
  1117. package/dist/kolibri/label-BiOix5de.js +5 -0
  1118. package/dist/{esm/label-Cg7TG_7b.js.map → kolibri/label-BiOix5de.js.map} +1 -1
  1119. package/dist/kolibri/{level-CfQolHx4.js → level-Kr0RFikR.js} +2 -2
  1120. package/dist/kolibri/{level-CfQolHx4.js.map → level-Kr0RFikR.js.map} +1 -1
  1121. package/dist/kolibri/max-length-behavior-CRJOkECl.js +5 -0
  1122. package/dist/kolibri/{max-length-behavior-426q5CU6.js.map → max-length-behavior-CRJOkECl.js.map} +1 -1
  1123. package/dist/kolibri/multiple-hxH51udE.js +5 -0
  1124. package/dist/kolibri/{multiple-LEiooHN4.js.map → multiple-hxH51udE.js.map} +1 -1
  1125. package/dist/kolibri/{normalizers-pgU77mXp.js → normalizers-B5NKuJgN.js} +2 -2
  1126. package/dist/kolibri/{normalizers-pgU77mXp.js.map → normalizers-B5NKuJgN.js.map} +1 -1
  1127. package/dist/kolibri/open-DZ2Z5a7z.js +5 -0
  1128. package/dist/kolibri/{open-Djbpz6kg.js.map → open-DZ2Z5a7z.js.map} +1 -1
  1129. package/dist/kolibri/{orientation-BzQXB0-V.js → orientation-BptN6AOK.js} +2 -2
  1130. package/dist/kolibri/{orientation-BzQXB0-V.js.map → orientation-BptN6AOK.js.map} +1 -1
  1131. package/dist/kolibri/placeholder-B4wceSsL.js +5 -0
  1132. package/dist/kolibri/{placeholder-CSgrK1Zh.js.map → placeholder-B4wceSsL.js.map} +1 -1
  1133. package/dist/kolibri/read-only-DIC7Vhiy.js +5 -0
  1134. package/dist/kolibri/{read-only-DyuIPHMt.js.map → read-only-DIC7Vhiy.js.map} +1 -1
  1135. package/dist/kolibri/required-By197yB9.js +5 -0
  1136. package/dist/kolibri/{required-DAsW5lI1.js.map → required-By197yB9.js.map} +1 -1
  1137. package/dist/kolibri/rows-BwZCT-gJ.js +5 -0
  1138. package/dist/kolibri/{rows-Bdp885AQ.js.map → rows-BwZCT-gJ.js.map} +1 -1
  1139. package/dist/kolibri/spell-check-CKvoSTJE.js +5 -0
  1140. package/dist/kolibri/{spell-check-CSnDB95u.js.map → spell-check-CKvoSTJE.js.map} +1 -1
  1141. package/dist/kolibri/src-DH5c0A9H.js +5 -0
  1142. package/dist/kolibri/{src-C8dP-FLK.js.map → src-DH5c0A9H.js.map} +1 -1
  1143. package/dist/kolibri/suggestions-C2o-U3UR.js +5 -0
  1144. package/dist/kolibri/{suggestions-Cnn1r8zc.js.map → suggestions-C2o-U3UR.js.map} +1 -1
  1145. package/dist/kolibri/{table-selection-DlaNrAWM.js → table-selection-G45AEZGP.js} +2 -2
  1146. package/dist/kolibri/{table-selection-DlaNrAWM.js.map → table-selection-G45AEZGP.js.map} +1 -1
  1147. package/dist/kolibri/test-component.entry.js +1 -1
  1148. package/dist/kolibri/tooltip-align-BZrIplzz.js +5 -0
  1149. package/dist/kolibri/{tooltip-align-DzHPWEpv.js.map → tooltip-align-BZrIplzz.js.map} +1 -1
  1150. package/dist/kolibri/unique-nav-labels-OKhw3uEq.js +5 -0
  1151. package/dist/kolibri/{unique-nav-labels-7ifGcuBZ.js.map → unique-nav-labels-OKhw3uEq.js.map} +1 -1
  1152. package/dist/kolibri/validation-DFynMQYA.js +5 -0
  1153. package/dist/kolibri/{validation-B8MhupBp.js.map → validation-DFynMQYA.js.map} +1 -1
  1154. package/dist/kolibri/validation-D_PYegRV.js +5 -0
  1155. package/dist/kolibri/{validation-VhuthteS.js.map → validation-D_PYegRV.js.map} +1 -1
  1156. package/dist/kolibri/value-number-clamped-eznLHU11.js +5 -0
  1157. package/dist/kolibri/{value-number-clamped-BQ9jw4HR.js.map → value-number-clamped-eznLHU11.js.map} +1 -1
  1158. package/dist/kolibri/{variant-class-name-CkfE8oGZ.js → variant-class-name-B1jsQGPM.js} +2 -2
  1159. package/dist/kolibri/{variant-class-name-CkfE8oGZ.js.map → variant-class-name-B1jsQGPM.js.map} +1 -1
  1160. package/dist/types/components/@deprecated/input/controller.d.ts +5 -4
  1161. package/dist/types/components/abbr/component.d.ts +17 -0
  1162. package/dist/types/components/accordion/shadow.d.ts +2 -2
  1163. package/dist/types/components/button/component.d.ts +2 -2
  1164. package/dist/types/components/button/shadow.d.ts +2 -2
  1165. package/dist/types/components/button-link/shadow.d.ts +2 -2
  1166. package/dist/types/components/combobox/shadow.d.ts +4 -2
  1167. package/dist/types/components/component-list.d.ts +1 -1
  1168. package/dist/types/components/details/shadow.d.ts +2 -2
  1169. package/dist/types/components/form/shadow.d.ts +3 -2
  1170. package/dist/types/components/input-adapter-leanup/associated.controller.d.ts +3 -0
  1171. package/dist/types/components/input-checkbox/shadow.d.ts +4 -2
  1172. package/dist/types/components/input-color/shadow.d.ts +4 -2
  1173. package/dist/types/components/input-date/controller.d.ts +1 -1
  1174. package/dist/types/components/input-date/shadow.d.ts +4 -2
  1175. package/dist/types/components/input-email/shadow.d.ts +4 -2
  1176. package/dist/types/components/input-file/shadow.d.ts +4 -2
  1177. package/dist/types/components/input-number/shadow.d.ts +4 -2
  1178. package/dist/types/components/input-password/shadow.d.ts +4 -2
  1179. package/dist/types/components/input-radio/shadow.d.ts +4 -2
  1180. package/dist/types/components/input-range/shadow.d.ts +4 -2
  1181. package/dist/types/components/input-text/shadow.d.ts +4 -2
  1182. package/dist/types/components/link/component.d.ts +2 -2
  1183. package/dist/types/components/link/shadow.d.ts +1 -1
  1184. package/dist/types/components/link-button/shadow.d.ts +2 -2
  1185. package/dist/types/components/popover-button/component.d.ts +2 -2
  1186. package/dist/types/components/popover-button/shadow.d.ts +2 -2
  1187. package/dist/types/components/select/component.d.ts +4 -2
  1188. package/dist/types/components/select/shadow.d.ts +4 -2
  1189. package/dist/types/components/single-select/shadow.d.ts +4 -2
  1190. package/dist/types/components/skip-nav/shadow.d.ts +1 -1
  1191. package/dist/types/components/split-button/shadow.d.ts +2 -2
  1192. package/dist/types/components/tabs/shadow.d.ts +2 -2
  1193. package/dist/types/components/textarea/shadow.d.ts +4 -2
  1194. package/dist/types/components/toolbar/shadow.d.ts +2 -2
  1195. package/dist/types/components/tree/component.d.ts +1 -1
  1196. package/dist/types/components/tree/shadow.d.ts +1 -1
  1197. package/dist/types/components.d.ts +123 -3
  1198. package/dist/types/e2e/index.d.ts +0 -1
  1199. package/dist/types/index.d.ts +1 -1
  1200. package/dist/types/internal/functional-components/abbr/api.d.ts +9 -0
  1201. package/dist/types/internal/functional-components/abbr/component.d.ts +4 -0
  1202. package/dist/types/internal/functional-components/abbr/controller.d.ts +8 -0
  1203. package/dist/types/internal/functional-components/meter/controller.d.ts +2 -1
  1204. package/dist/types/internal/functional-components/progress/controller.d.ts +2 -1
  1205. package/dist/types/internal/functional-components/spin/api.d.ts +0 -4
  1206. package/dist/types/internal/functional-components/spin/controller.d.ts +2 -5
  1207. package/dist/types/locales/de.d.ts +1 -0
  1208. package/dist/types/locales/en.d.ts +1 -0
  1209. package/dist/types/schema/bem-registry.d.ts +3 -0
  1210. package/dist/types/schema/components/combobox.d.ts +2 -2
  1211. package/dist/types/schema/components/input-checkbox.d.ts +2 -2
  1212. package/dist/types/schema/components/input-color.d.ts +2 -2
  1213. package/dist/types/schema/components/input-date.d.ts +2 -2
  1214. package/dist/types/schema/components/input-email.d.ts +2 -2
  1215. package/dist/types/schema/components/input-file.d.ts +2 -2
  1216. package/dist/types/schema/components/input-number.d.ts +2 -2
  1217. package/dist/types/schema/components/input-password.d.ts +2 -2
  1218. package/dist/types/schema/components/input-radio.d.ts +2 -2
  1219. package/dist/types/schema/components/input-range.d.ts +2 -2
  1220. package/dist/types/schema/components/input-text.d.ts +3 -3
  1221. package/dist/types/schema/components/select.d.ts +3 -3
  1222. package/dist/types/schema/components/single-select.d.ts +2 -2
  1223. package/dist/types/schema/components/textarea.d.ts +2 -2
  1224. package/dist/types/schema/interfaces/ClickableElement.d.ts +3 -0
  1225. package/dist/types/schema/interfaces/index.d.ts +1 -0
  1226. package/dist/types/schema/props/aria-details.d.ts +6 -0
  1227. package/dist/types/schema/props/error-list.d.ts +2 -0
  1228. package/dist/types/schema/props/index.d.ts +1 -0
  1229. package/dist/types/utils/aria-labelledby.d.ts +3 -2
  1230. package/dist/types/utils/element-click.d.ts +0 -3
  1231. package/doc/combobox.md +1 -0
  1232. package/doc/form.md +7 -1
  1233. package/doc/input-checkbox.md +22 -21
  1234. package/doc/input-color.md +21 -20
  1235. package/doc/input-date.md +27 -26
  1236. package/doc/input-email.md +29 -28
  1237. package/doc/input-file.md +21 -20
  1238. package/doc/input-number.md +27 -26
  1239. package/doc/input-password.md +28 -27
  1240. package/doc/input-radio.md +18 -17
  1241. package/doc/input-range.md +23 -22
  1242. package/doc/input-text.md +1 -0
  1243. package/doc/select.md +1 -0
  1244. package/doc/single-select.md +23 -22
  1245. package/doc/textarea.md +1 -0
  1246. package/package.json +12 -14
  1247. package/vscode-custom-data.json +56 -0
  1248. package/dist/cjs/FormFieldStateWrapper-D8PA3SkL.js.map +0 -1
  1249. package/dist/cjs/aria-labelledby-BhnM3OnL.js.map +0 -1
  1250. package/dist/cjs/associated.controller-CUvZCmFF.js.map +0 -1
  1251. package/dist/cjs/bem-registry-D9uDM1GJ.js.map +0 -1
  1252. package/dist/cjs/controller-DHsc-8t1.js.map +0 -1
  1253. package/dist/cjs/i18n-CgUN6lev.js.map +0 -1
  1254. package/dist/cjs/variant-quote-DUWZtljE.js.map +0 -1
  1255. package/dist/collection/components/abbr/shadow.js.map +0 -1
  1256. package/dist/collection/e2e/input-callbacks-and-events.js +0 -56
  1257. package/dist/collection/e2e/input-callbacks-and-events.js.map +0 -1
  1258. package/dist/components/variant-quote.js.map +0 -1
  1259. package/dist/esm/FormFieldStateWrapper-C31luuWs.js.map +0 -1
  1260. package/dist/esm/aria-labelledby-BUOJRaGL.js.map +0 -1
  1261. package/dist/esm/associated.controller-D55JWKjs.js.map +0 -1
  1262. package/dist/esm/bem-registry-B9CzNnO1.js.map +0 -1
  1263. package/dist/esm/controller-oT8Y98Yc.js.map +0 -1
  1264. package/dist/esm/i18n-B2d_exHc.js.map +0 -1
  1265. package/dist/esm/variant-quote-BMV8GZX8.js.map +0 -1
  1266. package/dist/kolibri/Alert-2bYvhb8i.js +0 -5
  1267. package/dist/kolibri/FieldControlStateWrapper-CU6OjlrU.js +0 -5
  1268. package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js +0 -5
  1269. package/dist/kolibri/FormFieldStateWrapper-C31luuWs.js.map +0 -1
  1270. package/dist/kolibri/Input-CwcyFZhB.js +0 -5
  1271. package/dist/kolibri/app-globals-Cwf240Bw.js +0 -5
  1272. package/dist/kolibri/aria-expanded--y6Ce39-.js +0 -5
  1273. package/dist/kolibri/aria-labelledby-BUOJRaGL.js +0 -5
  1274. package/dist/kolibri/aria-labelledby-BUOJRaGL.js.map +0 -1
  1275. package/dist/kolibri/associated.controller-D55JWKjs.js +0 -5
  1276. package/dist/kolibri/associated.controller-D55JWKjs.js.map +0 -1
  1277. package/dist/kolibri/bem-registry-B9CzNnO1.js +0 -5
  1278. package/dist/kolibri/bem-registry-B9CzNnO1.js.map +0 -1
  1279. package/dist/kolibri/component-BFsdrctP.js +0 -5
  1280. package/dist/kolibri/component-ijX_kUom.js +0 -5
  1281. package/dist/kolibri/component-j5NhcleS.js +0 -5
  1282. package/dist/kolibri/controller-B4DO-yV0.js +0 -5
  1283. package/dist/kolibri/controller-DvdfA2RR.js +0 -5
  1284. package/dist/kolibri/controller-oT8Y98Yc.js +0 -5
  1285. package/dist/kolibri/controller-oT8Y98Yc.js.map +0 -1
  1286. package/dist/kolibri/custom-class-RTVG26D_.js +0 -5
  1287. package/dist/kolibri/dev.utils-Cv9uCwkA.js +0 -5
  1288. package/dist/kolibri/devtools-BOWjtOAI.js +0 -5
  1289. package/dist/kolibri/has-closer-GBI76y-L.js +0 -5
  1290. package/dist/kolibri/hide-label-CWFMK5Iz.js +0 -5
  1291. package/dist/kolibri/href-yQN98Z4F.js +0 -5
  1292. package/dist/kolibri/i18n-B2d_exHc.js +0 -5
  1293. package/dist/kolibri/i18n-B2d_exHc.js.map +0 -1
  1294. package/dist/kolibri/i18n-CaL2ODdQ.js +0 -5
  1295. package/dist/kolibri/inline-D3v7pifU.js +0 -5
  1296. package/dist/kolibri/label-Cg7TG_7b.js +0 -5
  1297. package/dist/kolibri/max-length-behavior-426q5CU6.js +0 -5
  1298. package/dist/kolibri/multiple-LEiooHN4.js +0 -5
  1299. package/dist/kolibri/open-Djbpz6kg.js +0 -5
  1300. package/dist/kolibri/placeholder-CSgrK1Zh.js +0 -5
  1301. package/dist/kolibri/read-only-DyuIPHMt.js +0 -5
  1302. package/dist/kolibri/required-DAsW5lI1.js +0 -5
  1303. package/dist/kolibri/rows-Bdp885AQ.js +0 -5
  1304. package/dist/kolibri/spell-check-CSnDB95u.js +0 -5
  1305. package/dist/kolibri/src-C8dP-FLK.js +0 -5
  1306. package/dist/kolibri/suggestions-Cnn1r8zc.js +0 -5
  1307. package/dist/kolibri/tooltip-align-DzHPWEpv.js +0 -5
  1308. package/dist/kolibri/unique-nav-labels-7ifGcuBZ.js +0 -5
  1309. package/dist/kolibri/validation-B8MhupBp.js +0 -5
  1310. package/dist/kolibri/validation-VhuthteS.js +0 -5
  1311. package/dist/kolibri/value-number-clamped-BQ9jw4HR.js +0 -5
  1312. package/dist/kolibri/variant-quote-BMV8GZX8.js +0 -5
  1313. package/dist/kolibri/variant-quote-BMV8GZX8.js.map +0 -1
  1314. package/dist/types/components/abbr/shadow.d.ts +0 -14
  1315. package/dist/types/e2e/input-callbacks-and-events.d.ts +0 -19
@@ -1 +1 @@
1
- {"version":3,"file":"kol-pagination.entry.cjs.js","sources":["src/components/pagination/style.scss?tag=kol-pagination&mode=default&encapsulation=shadow","src/components/pagination/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../tooltip/style.scss' as *;\n@use '../@shared/pagination.mixin' as *;\n\n@layer kol-component {\n\t@include kol-pagination-styles;\n}\n","import type {\n\tCustomClassPropType,\n\tKoliBriPaginationButtonCallbacks,\n\tLabelPropType,\n\tMaxPropType,\n\tPaginationHasButton,\n\tPaginationProps,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Prop } from '@stencil/core';\n\nimport { KolPaginationWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-pagination',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPagination implements PaginationProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolPaginationWcTag\n\t\t\t\t_boundaryCount={this._boundaryCount}\n\t\t\t\t_label={this._label}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_on={this._on}\n\t\t\t\t_hasButtons={this._hasButtons}\n\t\t\t\t_page={this._page}\n\t\t\t\t_pageSize={this._pageSize}\n\t\t\t\t_pageSizeOptions={this._pageSizeOptions}\n\t\t\t\t_siblingCount={this._siblingCount}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_max={this._max}\n\t\t\t></KolPaginationWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the amount of pages to show next to the outer arrow buttons.\n\t */\n\t@Prop() public _boundaryCount?: number = 1;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which navigation buttons to render (first, last, next, previous buttons).\n\t */\n\t@Prop() public _hasButtons?: boolean | Stringified<PaginationHasButton> = true;\n\n\t/**\n\t * Defines the current page.\n\t */\n\t@Prop() public _page!: number;\n\n\t/**\n\t * Defines the amount of entries to show per page.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _pageSize = 1;\n\n\t/**\n\t * Defines the options for the page-size-select.\n\t */\n\t@Prop() public _pageSizeOptions: Stringified<number[]> = [];\n\n\t/**\n\t * Gibt an, auf welche Callback-Events reagiert werden.\n\t */\n\t@Prop() public _on!: KoliBriPaginationButtonCallbacks;\n\n\t/**\n\t * Defines the amount of pages to show next to the current page.\n\t */\n\t@Prop() public _siblingCount?: number = 1;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop() public _max!: MaxPropType;\n}\n"],"names":["h","KolPaginationWcTag"],"mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,q4ZAAq4Z;;MCuBh5Z,aAAa,GAAA,MAAA;AAP1B,IAAA,WAAA,CAAA,OAAA,EAAA;;AA6BgB,QAAA,IAAc,CAAA,cAAA,GAAY,CAAC;AAe3B,QAAA,IAAW,CAAA,WAAA,GAAgD,IAAI;AAU9B,QAAA,IAAS,CAAA,SAAA,GAAG,CAAC;AAK9C,QAAA,IAAgB,CAAA,gBAAA,GAA0B,EAAE;AAU5C,QAAA,IAAa,CAAA,aAAA,GAAY,CAAC;AAK1B,QAAA,IAAa,CAAA,aAAA,GAA0B,KAAK;AAM3D;IAxEO,MAAM,GAAA;AACZ,QAAA,QACCA,OAAA,CAACC,iCAAkB,EAAA,EAAA,GAAA,EAAA,0CAAA,EAClB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAA,CACM;;;;;;;;;"}
1
+ {"version":3,"file":"kol-pagination.entry.cjs.js","sources":["src/components/pagination/style.scss?tag=kol-pagination&mode=default&encapsulation=shadow","src/components/pagination/shadow.tsx"],"sourcesContent":["@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n@use '../tooltip/style.scss' as *;\n@use '../@shared/pagination.mixin' as *;\n\n@layer kol-component {\n\t@include kol-pagination-styles;\n}\n","import type {\n\tCustomClassPropType,\n\tKoliBriPaginationButtonCallbacks,\n\tLabelPropType,\n\tMaxPropType,\n\tPaginationHasButton,\n\tPaginationProps,\n\tStringified,\n\tTooltipAlignPropType,\n} from '../../schema';\n\nimport type { JSX } from '@stencil/core';\nimport { Component, h, Prop } from '@stencil/core';\n\nimport { KolPaginationWcTag } from '../../core/component-names';\n\n@Component({\n\ttag: 'kol-pagination',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPagination implements PaginationProps {\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolPaginationWcTag\n\t\t\t\t_boundaryCount={this._boundaryCount}\n\t\t\t\t_label={this._label}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_on={this._on}\n\t\t\t\t_hasButtons={this._hasButtons}\n\t\t\t\t_page={this._page}\n\t\t\t\t_pageSize={this._pageSize}\n\t\t\t\t_pageSizeOptions={this._pageSizeOptions}\n\t\t\t\t_siblingCount={this._siblingCount}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_max={this._max}\n\t\t\t></KolPaginationWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the amount of pages to show next to the outer arrow buttons.\n\t */\n\t@Prop() public _boundaryCount?: number = 1;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop() public _label?: LabelPropType;\n\n\t/**\n\t * Defines which navigation buttons to render (first, last, next, previous buttons).\n\t */\n\t@Prop() public _hasButtons?: boolean | Stringified<PaginationHasButton> = true;\n\n\t/**\n\t * Defines the current page.\n\t */\n\t@Prop() public _page!: number;\n\n\t/**\n\t * Defines the amount of entries to show per page.\n\t */\n\t@Prop({ mutable: true, reflect: false }) public _pageSize = 1;\n\n\t/**\n\t * Defines the options for the page-size-select.\n\t */\n\t@Prop() public _pageSizeOptions: Stringified<number[]> = [];\n\n\t/**\n\t * Gibt an, auf welche Callback-Events reagiert werden.\n\t */\n\t@Prop() public _on!: KoliBriPaginationButtonCallbacks;\n\n\t/**\n\t * Defines the amount of pages to show next to the current page.\n\t */\n\t@Prop() public _siblingCount?: number = 1;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop() public _max!: MaxPropType;\n}\n"],"names":["h","KolPaginationWcTag"],"mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,ssaAAssa;;MCuBjta,aAAa,GAAA,MAAA;AAP1B,IAAA,WAAA,CAAA,OAAA,EAAA;;AA6BgB,QAAA,IAAc,CAAA,cAAA,GAAY,CAAC;AAe3B,QAAA,IAAW,CAAA,WAAA,GAAgD,IAAI;AAU9B,QAAA,IAAS,CAAA,SAAA,GAAG,CAAC;AAK9C,QAAA,IAAgB,CAAA,gBAAA,GAA0B,EAAE;AAU5C,QAAA,IAAa,CAAA,aAAA,GAAY,CAAC;AAK1B,QAAA,IAAa,CAAA,aAAA,GAA0B,KAAK;AAM3D;IAxEO,MAAM,GAAA;AACZ,QAAA,QACCA,OAAA,CAACC,iCAAkB,EAAA,EAAA,GAAA,EAAA,0CAAA,EAClB,cAAc,EAAE,IAAI,CAAC,cAAc,EACnC,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,YAAY,EAAE,IAAI,CAAC,YAAY,EAC/B,GAAG,EAAE,IAAI,CAAC,GAAG,EACb,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAA,CACM;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Dk00HcEs.js');
6
+ var index = require('./index-Bo9_lDIt.js');
7
7
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
8
8
  var componentNames = require('./component-names-5KS_pYRF.js');
9
9
  var clsx = require('./clsx-Bm_HQUnh.js');
@@ -11,7 +11,7 @@ var alignFloatingElements = require('./align-floating-elements-DfUaAAqe.js');
11
11
  require('./common-DAAt5YQ7.js');
12
12
  var inline = require('./inline-1X3ssV6v.js');
13
13
  var align = require('./align-e4FQ7dUp.js');
14
- var dev_utils = require('./dev.utils-BaRzDChI.js');
14
+ var dev_utils = require('./dev.utils-DvNz4B2G.js');
15
15
  var elementInteraction = require('./element-interaction-CmOQWzhR.js');
16
16
  require('./element-focus-B4BhAkh_.js');
17
17
 
@@ -158,11 +158,11 @@ const KolPopoverButtonWc = class {
158
158
  async focus(options) { }
159
159
  async click() { }
160
160
  render() {
161
- return (index.h(index.Fragment, null, index.h(componentNames.KolButtonWcTag, { key: '9e1a7324de0e3164562d41b81d9b794304508658', class: clsx.clsx('kol-popover-button', {
161
+ return (index.h(index.Fragment, null, index.h(componentNames.KolButtonWcTag, { key: '2d1b167c6ced479392dd8764e284e6e098803e17', class: clsx.clsx('kol-popover-button', {
162
162
  'kol-popover-button--open': this.popoverOpen,
163
163
  'kol-popover-button--inline': this.state._inline === true,
164
164
  'kol-popover-button--standalone': this.state._inline === false,
165
- }), _accessKey: this._accessKey, _ariaControls: this.popoverId, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, ref: this.setButtonElementRef }, index.h("slot", { key: '647d8e36914dd39d3b5ed610051ba0a3fb081052', name: "expert", slot: "expert" })), index.h(PopoverFC, { key: '4158958c2efaf7f7bf7c02537e9aa4c45b855c88', align: this.state._popoverAlign || 'bottom', popoverRef: this.setPopoverElementRef, class: "kol-popover-button__popover", id: this.popoverId }, index.h("slot", { key: '0cc270905c7835fc7db5119b7609553d86b49050' }))));
165
+ }), _accessKey: this._accessKey, _ariaControls: this.popoverId, _ariaDescription: this._ariaDescription, _ariaExpanded: this.popoverOpen, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _inline: this._inline, _label: this._label, _name: this._name, _on: this.on, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant, ref: this.setButtonElementRef }, index.h("slot", { key: '30edf43ae3c307ad352e2731d1a378bd3bf114af', name: "expert", slot: "expert" })), index.h(PopoverFC, { key: '939edeb43402a010d9a15ebfb98aaf4c07df3ff1', align: this.state._popoverAlign || 'bottom', popoverRef: this.setPopoverElementRef, class: "kol-popover-button__popover", id: this.popoverId }, index.h("slot", { key: '48827da834b0eddb7052fb6a4718d8c16a1d9089' }))));
166
166
  }
167
167
  validateInline(value) {
168
168
  inline.validateInline(this, value, {
@@ -1 +1 @@
1
- {"version":3,"file":"kol-popover-button-wc.entry.cjs.js","sources":["src/schema/props/popover-align.ts","src/internal/functional-components/popover/component.tsx","src/internal/functional-components/popover/controller.ts","src/components/popover-button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { validateAlignment } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type PopoverAlignPropType = AlignPropType;\n\n/**\n * Defines where to show the popover preferably: top, right, bottom or left.\n */\nexport type PropPopoverAlign = {\n\tpopoverAlign: PopoverAlignPropType;\n};\n\n/* validator */\nexport const validatePopoverAlign = (component: Generic.Element.Component, value?: PopoverAlignPropType): void => {\n\tvalidateAlignment(component, '_popoverAlign', value);\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { PopoverApi } from './api';\n\nexport type PopoverFCProps = FunctionalComponentProps<PopoverApi> &\n\tJSXBase.HTMLAttributes<HTMLDivElement> & {\n\t\tpopoverRef?: (el?: HTMLDivElement) => void;\n\t\tarrowRef?: (el?: HTMLDivElement) => void;\n\t};\n\nexport const PopoverFC: FC<PopoverFCProps> = (props) => {\n\tconst { align = 'bottom', popoverRef, arrowRef, class: classNames, ...rest } = props;\n\n\treturn (\n\t\t<div {...rest} class={clsx('kol-popover', classNames)} ref={popoverRef} popover=\"auto\">\n\t\t\t<div class={clsx('kol-popover__arrow', `kol-popover__arrow--${align}`)} ref={arrowRef} />\n\t\t\t<slot />\n\t\t</div>\n\t);\n};\n","import { autoUpdate } from '@floating-ui/dom';\nimport type { AlignPropType } from '../../../schema';\nimport { alignFloatingElements } from '../../../utils/align-floating-elements';\n\nexport class PopoverController {\n\tprivate show: boolean = false;\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate arrowElement?: HTMLDivElement;\n\tprivate triggerElement?: HTMLElement;\n\tprivate align: AlignPropType = 'bottom';\n\tprivate cleanupAutoUpdate?: () => void;\n\n\tpublic setShow(value: boolean): void {\n\t\tthis.show = value;\n\t\tif (!this.popoverElement) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst toggleVisibility = (): void => {\n\t\t\tif (!this.popoverElement) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst isOpen = this.popoverElement.matches(':popover-open');\n\t\t\tif (this.show) {\n\t\t\t\tif (!isOpen) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.popoverElement.showPopover();\n\t\t\t\t\t\tthis.setupAutoUpdate();\n\t\t\t\t\t\tvoid this.alignPopover();\n\t\t\t\t\t} catch {\n\t\t\t\t\t\t// Ignore DOMException if already open\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (isOpen) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.popoverElement.hidePopover();\n\t\t\t\t\t\tthis.cleanupAutoUpdate?.();\n\t\t\t\t\t\tthis.cleanupAutoUpdate = undefined;\n\t\t\t\t\t} catch {\n\t\t\t\t\t\t// Ignore DOMException if already closed\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tif (this.popoverElement.isConnected) {\n\t\t\ttoggleVisibility();\n\t\t} else {\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\ttoggleVisibility();\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic setPopoverElementRef = (element?: HTMLDivElement): void => {\n\t\tthis.popoverElement = element;\n\t\tthis.arrowElement = element?.querySelector('.kol-popover__arrow') as HTMLDivElement | undefined;\n\t};\n\n\tpublic setTriggerElement = (element?: HTMLElement): void => {\n\t\tthis.triggerElement = element;\n\t};\n\n\tpublic setAlign = (align: AlignPropType): void => {\n\t\tthis.align = align;\n\t};\n\n\tprivate alignPopover = async (): Promise<void> => {\n\t\tif (!this.popoverElement || !this.triggerElement) {\n\t\t\treturn;\n\t\t}\n\n\t\tawait alignFloatingElements({\n\t\t\talign: this.align,\n\t\t\treferenceElement: this.triggerElement,\n\t\t\tarrowElement: this.arrowElement,\n\t\t\tfloatingElement: this.popoverElement,\n\t\t});\n\t};\n\n\tprivate setupAutoUpdate = (): void => {\n\t\tif (!this.popoverElement || !this.triggerElement || this.cleanupAutoUpdate) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.cleanupAutoUpdate = autoUpdate(this.triggerElement, this.popoverElement, () => {\n\t\t\tvoid this.alignPopover();\n\t\t});\n\t};\n\n\tpublic destroy(): void {\n\t\tthis.cleanupAutoUpdate?.();\n\t\tthis.cleanupAutoUpdate = undefined;\n\t\tthis.popoverElement = undefined;\n\t\tthis.arrowElement = undefined;\n\t\tthis.triggerElement = undefined;\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Fragment, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { PopoverFC } from '../../internal/functional-components/popover/component';\nimport { PopoverController } from '../../internal/functional-components/popover/controller';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateInline, validatePopoverAlign } from '../../schema';\nimport type { PopoverButtonProps, PopoverButtonStates } from '../../schema/components/popover-button';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\n\n/**\n * @internal\n * @slot - The popover content.\n *\n * **Note:** The `_on` button callback prop is not supported. The button's `onClick` is reserved for toggling the popover.\n * Manage the popover visibility state and coordinate with the internal popover element.\n */\n@Component({\n\ttag: 'kol-popover-button-wc',\n\tshadow: false,\n})\n// class implementing PopoverButtonProps and not API because we don't want to repeat the entire state and validation for button props\nexport class KolPopoverButtonWc implements PopoverButtonProps, FocusableElement {\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\tprivate readonly popoverCtrl = new PopoverController();\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate readonly popoverId = createUniqueId('popover');\n\n\tprivate readonly setPopoverElementRef = (element?: HTMLDivElement) => {\n\t\tthis.popoverElement = element;\n\t\tthis.popoverCtrl.setPopoverElementRef(element);\n\t};\n\n\tprivate readonly setButtonElementRef = (element?: HTMLKolButtonWcElement) => {\n\t\tthis.ctaRef(element);\n\t\tif (element) {\n\t\t\tthis.popoverCtrl.setTriggerElement(element as HTMLElement);\n\t\t}\n\t};\n\n\tprivate on: ButtonCallbacksPropType<StencilUnknown> = {\n\t\tonClick: () => {\n\t\t\tthis.popoverCtrl.setShow(!this.popoverOpen);\n\t\t},\n\t};\n\n\t@State() public state: PopoverButtonStates = {\n\t\t_label: '',\n\t\t_popoverAlign: 'bottom',\n\t\t_inline: false,\n\t};\n\t@State() private popoverOpen = false;\n\n\t/**\n\t * Hides the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.popoverCtrl.setShow(false);\n\t}\n\n\t/**\n\t * Show the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.popoverCtrl.setShow(true);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate handleToggle = (event: Event): void => {\n\t\tthis.popoverOpen = (event as ToggleEvent).newState === 'open';\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<KolButtonWcTag\n\t\t\t\t\tclass={clsx('kol-popover-button', {\n\t\t\t\t\t\t'kol-popover-button--open': this.popoverOpen,\n\t\t\t\t\t\t'kol-popover-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-popover-button--standalone': this.state._inline === false,\n\t\t\t\t\t})}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this.popoverId}\n\t\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t\t_ariaExpanded={this.popoverOpen}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_icons={this._icons}\n\t\t\t\t\t_id={this._id}\n\t\t\t\t\t_inline={this._inline}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.on}\n\t\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t\tref={this.setButtonElementRef}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</KolButtonWcTag>\n\t\t\t\t<PopoverFC align={this.state._popoverAlign || 'bottom'} popoverRef={this.setPopoverElementRef} class=\"kol-popover-button__popover\" id={this.popoverId}>\n\t\t\t\t\t<slot />\n\t\t\t\t</PopoverFC>\n\t\t\t</>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_popoverAlign')\n\tpublic validatePopoverAlign(value?: PopoverAlignPropType): void {\n\t\tvalidatePopoverAlign(this, value);\n\t\tif (value) {\n\t\t\tthis.popoverCtrl.setAlign(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad() {\n\t\tthis.validateInline(this._inline);\n\t\tthis.validatePopoverAlign(this._popoverAlign);\n\t}\n\n\tpublic componentDidRender() {\n\t\t// The popoverElement is already set via popoverRef callback from PopoverFC.\n\t\t// Register the toggle listener once the popover element is available.\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.addEventListener('toggle', this.handleToggle);\n\t\t}\n\t\t// Ensure align value is synced with controller\n\t\tif (this.state._popoverAlign) {\n\t\t\tthis.popoverCtrl.setAlign(this.state._popoverAlign);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback() {\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.removeEventListener('toggle', this.handleToggle);\n\t\t}\n\t\tthis.popoverCtrl.destroy();\n\t\tthis.popoverElement = undefined;\n\t}\n}\n"],"names":["validateAlignment","h","clsx","alignFloatingElements","autoUpdate","createCtaRef","createUniqueId","Fragment","KolButtonWcTag","validateInline","__decorate","directFocus","directClick"],"mappings":";;;;;;;;;;;;;;;;;AAiBO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAAA,uBAAiB,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AACrD,CAAC;;ACLM,MAAM,SAAS,GAAuB,CAAC,KAAK,KAAI;AACtD,IAA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,WAAW,CAAC,OAAO,EAAE;AAC1B,QAAA,IAAI,CAAC,cAAc,GAAG,SAAS;;;;;;;AAxLnBC,oBAAA,CAAA;IAHZC,8BAAW,CAAC,QAAQ;CAG0C,EAAA,kBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlDD,oBAAA,CAAA;IADZE,8BAAW,CAAC,QAAQ;CACiB,EAAA,kBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;"}
1
+ {"version":3,"file":"kol-popover-button-wc.entry.cjs.js","sources":["src/schema/props/popover-align.ts","src/internal/functional-components/popover/component.tsx","src/internal/functional-components/popover/controller.ts","src/components/popover-button/component.tsx"],"sourcesContent":["import type { Generic } from 'adopted-style-sheets';\n\nimport { validateAlignment } from '../validators';\n\nimport type { AlignPropType } from './align';\n\n/* types */\nexport type PopoverAlignPropType = AlignPropType;\n\n/**\n * Defines where to show the popover preferably: top, right, bottom or left.\n */\nexport type PropPopoverAlign = {\n\tpopoverAlign: PopoverAlignPropType;\n};\n\n/* validator */\nexport const validatePopoverAlign = (component: Generic.Element.Component, value?: PopoverAlignPropType): void => {\n\tvalidateAlignment(component, '_popoverAlign', value);\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport type { JSXBase } from '@stencil/core/internal';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { PopoverApi } from './api';\n\nexport type PopoverFCProps = FunctionalComponentProps<PopoverApi> &\n\tJSXBase.HTMLAttributes<HTMLDivElement> & {\n\t\tpopoverRef?: (el?: HTMLDivElement) => void;\n\t\tarrowRef?: (el?: HTMLDivElement) => void;\n\t};\n\nexport const PopoverFC: FC<PopoverFCProps> = (props) => {\n\tconst { align = 'bottom', popoverRef, arrowRef, class: classNames, ...rest } = props;\n\n\treturn (\n\t\t<div {...rest} class={clsx('kol-popover', classNames)} ref={popoverRef} popover=\"auto\">\n\t\t\t<div class={clsx('kol-popover__arrow', `kol-popover__arrow--${align}`)} ref={arrowRef} />\n\t\t\t<slot />\n\t\t</div>\n\t);\n};\n","import { autoUpdate } from '@floating-ui/dom';\nimport type { AlignPropType } from '../../../schema';\nimport { alignFloatingElements } from '../../../utils/align-floating-elements';\n\nexport class PopoverController {\n\tprivate show: boolean = false;\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate arrowElement?: HTMLDivElement;\n\tprivate triggerElement?: HTMLElement;\n\tprivate align: AlignPropType = 'bottom';\n\tprivate cleanupAutoUpdate?: () => void;\n\n\tpublic setShow(value: boolean): void {\n\t\tthis.show = value;\n\t\tif (!this.popoverElement) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst toggleVisibility = (): void => {\n\t\t\tif (!this.popoverElement) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst isOpen = this.popoverElement.matches(':popover-open');\n\t\t\tif (this.show) {\n\t\t\t\tif (!isOpen) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.popoverElement.showPopover();\n\t\t\t\t\t\tthis.setupAutoUpdate();\n\t\t\t\t\t\tvoid this.alignPopover();\n\t\t\t\t\t} catch {\n\t\t\t\t\t\t// Ignore DOMException if already open\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (isOpen) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tthis.popoverElement.hidePopover();\n\t\t\t\t\t\tthis.cleanupAutoUpdate?.();\n\t\t\t\t\t\tthis.cleanupAutoUpdate = undefined;\n\t\t\t\t\t} catch {\n\t\t\t\t\t\t// Ignore DOMException if already closed\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tif (this.popoverElement.isConnected) {\n\t\t\ttoggleVisibility();\n\t\t} else {\n\t\t\trequestAnimationFrame(() => {\n\t\t\t\ttoggleVisibility();\n\t\t\t});\n\t\t}\n\t}\n\n\tpublic setPopoverElementRef = (element?: HTMLDivElement): void => {\n\t\tthis.popoverElement = element;\n\t\tthis.arrowElement = element?.querySelector('.kol-popover__arrow') as HTMLDivElement | undefined;\n\t};\n\n\tpublic setTriggerElement = (element?: HTMLElement): void => {\n\t\tthis.triggerElement = element;\n\t};\n\n\tpublic setAlign = (align: AlignPropType): void => {\n\t\tthis.align = align;\n\t};\n\n\tprivate alignPopover = async (): Promise<void> => {\n\t\tif (!this.popoverElement || !this.triggerElement) {\n\t\t\treturn;\n\t\t}\n\n\t\tawait alignFloatingElements({\n\t\t\talign: this.align,\n\t\t\treferenceElement: this.triggerElement,\n\t\t\tarrowElement: this.arrowElement,\n\t\t\tfloatingElement: this.popoverElement,\n\t\t});\n\t};\n\n\tprivate setupAutoUpdate = (): void => {\n\t\tif (!this.popoverElement || !this.triggerElement || this.cleanupAutoUpdate) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.cleanupAutoUpdate = autoUpdate(this.triggerElement, this.popoverElement, () => {\n\t\t\tvoid this.alignPopover();\n\t\t});\n\t};\n\n\tpublic destroy(): void {\n\t\tthis.cleanupAutoUpdate?.();\n\t\tthis.cleanupAutoUpdate = undefined;\n\t\tthis.popoverElement = undefined;\n\t\tthis.arrowElement = undefined;\n\t\tthis.triggerElement = undefined;\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Fragment, h, Method, Prop, State, Watch } from '@stencil/core';\nimport { KolButtonWcTag } from '../../core/component-names';\nimport { PopoverFC } from '../../internal/functional-components/popover/component';\nimport { PopoverController } from '../../internal/functional-components/popover/controller';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonCallbacksPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tIdPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport { validateInline, validatePopoverAlign } from '../../schema';\nimport type { PopoverButtonProps, PopoverButtonStates } from '../../schema/components/popover-button';\nimport clsx from '../../utils/clsx';\nimport { createUniqueId } from '../../utils/dev.utils';\nimport { createCtaRef, directClick, directFocus } from '../../utils/element-interaction';\n\n/**\n * @internal\n * @slot - The popover content.\n *\n * **Note:** The `_on` button callback prop is not supported. The button's `onClick` is reserved for toggling the popover.\n * Manage the popover visibility state and coordinate with the internal popover element.\n */\n@Component({\n\ttag: 'kol-popover-button-wc',\n\tshadow: false,\n})\n// class implementing PopoverButtonProps and not API because we don't want to repeat the entire state and validation for button props\nexport class KolPopoverButtonWc implements ClickableElement, FocusableElement, PopoverButtonProps {\n\tprotected readonly ctaRef = createCtaRef<HTMLKolButtonWcElement>();\n\tprivate readonly popoverCtrl = new PopoverController();\n\tprivate popoverElement?: HTMLDivElement;\n\tprivate readonly popoverId = createUniqueId('popover');\n\n\tprivate readonly setPopoverElementRef = (element?: HTMLDivElement) => {\n\t\tthis.popoverElement = element;\n\t\tthis.popoverCtrl.setPopoverElementRef(element);\n\t};\n\n\tprivate readonly setButtonElementRef = (element?: HTMLKolButtonWcElement) => {\n\t\tthis.ctaRef(element);\n\t\tif (element) {\n\t\t\tthis.popoverCtrl.setTriggerElement(element as HTMLElement);\n\t\t}\n\t};\n\n\tprivate on: ButtonCallbacksPropType<StencilUnknown> = {\n\t\tonClick: () => {\n\t\t\tthis.popoverCtrl.setShow(!this.popoverOpen);\n\t\t},\n\t};\n\n\t@State() public state: PopoverButtonStates = {\n\t\t_label: '',\n\t\t_popoverAlign: 'bottom',\n\t\t_inline: false,\n\t};\n\t@State() private popoverOpen = false;\n\n\t/**\n\t * Hides the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tthis.popoverCtrl.setShow(false);\n\t}\n\n\t/**\n\t * Show the popover programmatically by calling the PopoverController.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tthis.popoverCtrl.setShow(true);\n\t}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@directFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@directClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\tprivate handleToggle = (event: Event): void => {\n\t\tthis.popoverOpen = (event as ToggleEvent).newState === 'open';\n\t};\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<>\n\t\t\t\t<KolButtonWcTag\n\t\t\t\t\tclass={clsx('kol-popover-button', {\n\t\t\t\t\t\t'kol-popover-button--open': this.popoverOpen,\n\t\t\t\t\t\t'kol-popover-button--inline': this.state._inline === true,\n\t\t\t\t\t\t'kol-popover-button--standalone': this.state._inline === false,\n\t\t\t\t\t})}\n\t\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t\t_ariaControls={this.popoverId}\n\t\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t\t_ariaExpanded={this.popoverOpen}\n\t\t\t\t\t_customClass={this._customClass}\n\t\t\t\t\t_disabled={this._disabled}\n\t\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t\t_icons={this._icons}\n\t\t\t\t\t_id={this._id}\n\t\t\t\t\t_inline={this._inline}\n\t\t\t\t\t_label={this._label}\n\t\t\t\t\t_name={this._name}\n\t\t\t\t\t_on={this.on}\n\t\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t\t_type={this._type}\n\t\t\t\t\t_value={this._value}\n\t\t\t\t\t_variant={this._variant}\n\t\t\t\t\tref={this.setButtonElementRef}\n\t\t\t\t>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</KolButtonWcTag>\n\t\t\t\t<PopoverFC align={this.state._popoverAlign || 'bottom'} popoverRef={this.setPopoverElementRef} class=\"kol-popover-button__popover\" id={this.popoverId}>\n\t\t\t\t\t<slot />\n\t\t\t\t</PopoverFC>\n\t\t\t</>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines the internal ID of the primary component element.\n\t * @internal\n\t */\n\t@Prop() public _id?: IdPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n\n\t@Watch('_inline')\n\tpublic validateInline(value?: InlinePropType): void {\n\t\tvalidateInline(this, value, {\n\t\t\tdefaultValue: false,\n\t\t});\n\t}\n\n\t@Watch('_popoverAlign')\n\tpublic validatePopoverAlign(value?: PopoverAlignPropType): void {\n\t\tvalidatePopoverAlign(this, value);\n\t\tif (value) {\n\t\t\tthis.popoverCtrl.setAlign(value);\n\t\t}\n\t}\n\n\tpublic componentWillLoad() {\n\t\tthis.validateInline(this._inline);\n\t\tthis.validatePopoverAlign(this._popoverAlign);\n\t}\n\n\tpublic componentDidRender() {\n\t\t// The popoverElement is already set via popoverRef callback from PopoverFC.\n\t\t// Register the toggle listener once the popover element is available.\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.addEventListener('toggle', this.handleToggle);\n\t\t}\n\t\t// Ensure align value is synced with controller\n\t\tif (this.state._popoverAlign) {\n\t\t\tthis.popoverCtrl.setAlign(this.state._popoverAlign);\n\t\t}\n\t}\n\n\tpublic disconnectedCallback() {\n\t\tif (this.popoverElement) {\n\t\t\tthis.popoverElement.removeEventListener('toggle', this.handleToggle);\n\t\t}\n\t\tthis.popoverCtrl.destroy();\n\t\tthis.popoverElement = undefined;\n\t}\n}\n"],"names":["validateAlignment","h","clsx","alignFloatingElements","autoUpdate","createCtaRef","createUniqueId","Fragment","KolButtonWcTag","validateInline","__decorate","directFocus","directClick"],"mappings":";;;;;;;;;;;;;;;;;AAiBO,MAAM,oBAAoB,GAAG,CAAC,SAAoC,EAAE,KAA4B,KAAU;AAChH,IAAAA,uBAAiB,CAAC,SAAS,EAAE,eAAe,EAAE,KAAK,CAAC;AACrD,CAAC;;ACLM,MAAM,SAAS,GAAuB,CAAC,KAAK,KAAI;AACtD,IAAA,MAAM,EAAE,KAAK,GAAG,QAAQ,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAA,GAAc,KAAK,EAAd,IAAI,oBAAK,KAAK,EAA9E,CAAsE,OAAA,EAAA,YAAA,EAAA,UAAA,EAAA,OAAA,CAAA,CAAQ;AAEpF,IAAA,QACCC,OAAS,CAAA,KAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,IAAI,IAAE,KAAK,EAAEC,SAAI,CAAC,aAAa,EAAE,UAAU,CAAC,EAAE,GAAG,EAAE,UAAU,EAAE,OAAO,EAAC,MAAM,EAAA,CAAA,EACrFD,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAEC,SAAI,CAAC,oBAAoB,EAAE,CAAA,oBAAA,EAAuB,KAAK,CAAE,CAAA,CAAC,EAAE,GAAG,EAAE,QAAQ,EAAI,CAAA,EACzFD,OAAQ,CAAA,MAAA,EAAA,IAAA,CAAA,CACH;AAER,CAAC;;MCnBY,iBAAiB,CAAA;AAA9B,IAAA,WAAA,GAAA;AACS,QAAA,IAAI,CAAA,IAAA,GAAY,KAAK;AAIrB,QAAA,IAAK,CAAA,KAAA,GAAkB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,CAAC,IAAI,CAAC,aAAa,CAAC;;IAGvC,kBAAkB,GAAA;AAGxB,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;YACxB,IAAI,CAAC,cAAc,CAAC,gBAAgB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;;AAGlE,QAAA,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,EAAE;YAC7B,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC;;;IAI9C,oBAAoB,GAAA;AAC1B,QAAA,IAAI,IAAI,CAAC,cAAc,EAAE;YACxB,IAAI,CAAC,cAAc,CAAC,mBAAmB,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;;AAErE,QAAA,IAAI,CAAC,WAAW,CAAC,OAAO,EAAE;AAC1B,QAAA,IAAI,CAAC,cAAc,GAAG,SAAS;;;;;;;AAxLnBC,oBAAA,CAAA;IAHZC,8BAAW,CAAC,QAAQ;CAG0C,EAAA,kBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AAOlDD,oBAAA,CAAA;IADZE,8BAAW,CAAC,QAAQ;CACiB,EAAA,kBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;"}
@@ -3,14 +3,14 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Dk00HcEs.js');
6
+ var index = require('./index-Bo9_lDIt.js');
7
7
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
8
8
  var componentNames = require('./component-names-5KS_pYRF.js');
9
9
  var elementInteraction = require('./element-interaction-CmOQWzhR.js');
10
10
  require('./common-DAAt5YQ7.js');
11
11
  require('./element-focus-B4BhAkh_.js');
12
12
 
13
- const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1780919027063\"); /* IE9*/\n src: url(\"kolicons.eot?t=1780919027063#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1780919027063\") format(\"woff2\"), url(\"kolicons.woff?t=1780919027063\") format(\"woff\"), url(\"kolicons.ttf?t=1780919027063\") format(\"truetype\"), url(\"kolicons.svg?t=1780919027063#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-popover-button__popover {\n margin: 0;\n padding: 0;\n border: 0;\n }\n .kol-popover-button--inline .kol-popover-button__button {\n display: inline;\n }\n .kol-popover {\n opacity: 0;\n transition: 0.2s ease-out opacity;\n }\n .kol-popover-button--open + .kol-popover {\n opacity: 1;\n }\n .kol-popover-button--open .kol-button__tooltip {\n display: none;\n }\n .kol-popover-button--inline {\n display: inline-block;\n }\n .kol-popover-button--inline .kol-button {\n min-width: 0;\n min-height: 1em;\n }\n}";
13
+ const defaultStyleCss = "@charset \"UTF-8\";\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/* forward the rem function */\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@font-face {\n font-family: \"kolicons\";\n src: url(\"kolicons.eot?t=1782311579243\"); /* IE9*/\n src: url(\"kolicons.eot?t=1782311579243#iefix\") format(\"embedded-opentype\"), url(\"kolicons.woff2?t=1782311579243\") format(\"woff2\"), url(\"kolicons.woff?t=1782311579243\") format(\"woff\"), url(\"kolicons.ttf?t=1782311579243\") format(\"truetype\"), url(\"kolicons.svg?t=1782311579243#kolicons\") format(\"svg\"); /* iOS 4.1- */\n}\n@layer kol-component {\n [class^=kolicon-], [class*=\" kolicon-\"] {\n font-family: \"kolicons\";\n font-style: normal;\n font-weight: 400;\n line-height: 1em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n .kolicon-alert-error::before {\n content: \"\\ea01\";\n }\n .kolicon-alert-info::before {\n content: \"\\ea02\";\n }\n .kolicon-alert-success::before {\n content: \"\\ea03\";\n }\n .kolicon-alert-warning::before {\n content: \"\\ea04\";\n }\n .kolicon-check::before {\n content: \"\\ea05\";\n }\n .kolicon-chevron-double-left::before {\n content: \"\\ea06\";\n }\n .kolicon-chevron-double-right::before {\n content: \"\\ea07\";\n }\n .kolicon-chevron-down::before {\n content: \"\\ea08\";\n }\n .kolicon-chevron-left::before {\n content: \"\\ea09\";\n }\n .kolicon-chevron-right::before {\n content: \"\\ea0a\";\n }\n .kolicon-chevron-up::before {\n content: \"\\ea0b\";\n }\n .kolicon-cogwheel::before {\n content: \"\\ea0c\";\n }\n .kolicon-cross::before {\n content: \"\\ea0d\";\n }\n .kolicon-eye-closed::before {\n content: \"\\ea0e\";\n }\n .kolicon-eye::before {\n content: \"\\ea0f\";\n }\n .kolicon-house::before {\n content: \"\\ea10\";\n }\n .kolicon-kolibri::before {\n content: \"\\ea11\";\n }\n .kolicon-link-external::before {\n content: \"\\ea12\";\n }\n .kolicon-link::before {\n content: \"\\ea13\";\n }\n .kolicon-minus::before {\n content: \"\\ea14\";\n }\n .kolicon-plus::before {\n content: \"\\ea15\";\n }\n .kolicon-settings::before {\n content: \"\\ea16\";\n }\n .kolicon-sort-asc::before {\n content: \"\\ea17\";\n }\n .kolicon-sort-desc::before {\n content: \"\\ea18\";\n }\n .kolicon-sort-neutral::before {\n content: \"\\ea19\";\n }\n .kolicon-up::before {\n content: \"\\ea1a\";\n }\n .kolicon-version::before {\n content: \"\\ea1b\";\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n .kol-tooltip {\n display: contents;\n }\n .kol-tooltip__floating {\n opacity: 0;\n display: none;\n position: fixed;\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\n top: 0;\n left: 0;\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\n width: var(--kol-tooltip-width, max-content);\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\n max-width: 90vw;\n max-height: 90vh;\n animation-direction: normal;\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\n animation-fill-mode: forwards;\n animation-iteration-count: 1;\n animation-timing-function: ease-in;\n }\n .kol-tooltip__floating.hide {\n animation-name: hideTooltip;\n }\n .kol-tooltip__floating.show {\n animation-name: showTooltip;\n }\n .kol-tooltip__arrow {\n transform: rotate(45deg);\n color: black;\n background-color: white;\n position: absolute;\n z-index: 999;\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\n }\n .kol-tooltip__content {\n color: black;\n background-color: white;\n position: relative;\n z-index: 1000;\n }\n @keyframes hideTooltip {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n display: none;\n }\n }\n @keyframes showTooltip {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n}\n@layer kol-component {\n .kol-icon {\n color: inherit;\n display: inline-block;\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n }\n :host {\n display: inline-block;\n }\n .kol-button {\n display: flex;\n min-height: var(--a11y-min-size);\n font-style: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n text-decoration-line: none;\n }\n .kol-button::before {\n /* Render zero-width character as first element to set the baseline correctly. */\n content: \"​\";\n }\n .kol-button__text {\n flex: 1 0 100%;\n }\n .kol-popover-button__popover {\n margin: 0;\n padding: 0;\n border: 0;\n }\n .kol-popover-button--inline .kol-popover-button__button {\n display: inline;\n }\n .kol-popover {\n opacity: 0;\n transition: 0.2s ease-out opacity;\n }\n .kol-popover-button--open + .kol-popover {\n opacity: 1;\n }\n .kol-popover-button--open .kol-button__tooltip {\n display: none;\n }\n .kol-popover-button--inline {\n display: inline-block;\n }\n .kol-popover-button--inline .kol-button {\n min-width: 0;\n min-height: 1em;\n }\n}";
14
14
 
15
15
  const KolPopoverButton = class {
16
16
  constructor(hostRef) {
@@ -35,7 +35,7 @@ const KolPopoverButton = class {
35
35
  async click() { }
36
36
  async focus(options) { }
37
37
  render() {
38
- return (index.h(componentNames.KolPopoverButtonWcTag, { key: '31a6eafd923d75089ccfb44e87945efec18702dd', ref: this.ctaRef, _accessKey: this._accessKey, _ariaDescription: this._ariaDescription, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _popoverAlign: this._popoverAlign, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, index.h("slot", { key: 'eea141f244c65bd7cf21a63e8346df619fba2c89', name: "expert", slot: "expert" }), index.h("slot", { key: '2a4f7297ed377a7a58ce30a3a30806a35761bd71' })));
38
+ return (index.h(componentNames.KolPopoverButtonWcTag, { key: '31f3f10dd9eee8e1e3432b78f0fc1474476e8024', ref: this.ctaRef, _accessKey: this._accessKey, _ariaDescription: this._ariaDescription, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _inline: this._inline, _label: this._label, _name: this._name, _popoverAlign: this._popoverAlign, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tabIndex: this._tabIndex, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _variant: this._variant }, index.h("slot", { key: 'dd9f7dddf8364233210c1674b9a64f32cbb50b7b', name: "expert", slot: "expert" }), index.h("slot", { key: '2e2fe5c0f3d3ec6b370e446dbcad0479d76b244d' })));
39
39
  }
40
40
  get host() { return index.getElement(this); }
41
41
  };
@@ -1 +1 @@
1
- {"version":3,"file":"kol-popover-button.entry.cjs.js","sources":["src/components/popover-button/style.scss?tag=kol-popover-button&mode=default&encapsulation=shadow","src/components/popover-button/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/button.mixin' as *;\n@use '../@shared/popover-button.mixin' as *;\n@use '../tooltip/style' as *;\n\n@layer kol-component {\n\t@include kol-button-styles('kol-button');\n\t@include kol-popover-button-styles;\n\n\t.kol-popover-button {\n\t\t&--open {\n\t\t\t.kol-button__tooltip {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\n\t\t&--inline {\n\t\t\tdisplay: inline-block;\n\n\t\t\t.kol-button {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmin-height: 1em;\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolPopoverButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { PopoverButtonProps } from '../../schema/components/popover-button';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * A button that toggles the visibility of a popover overlay containing arbitrary content.\n * The popover uses the native HTML Popover API for lightweight, non-modal overlays.\n *\n * @slot - The popover content (displayed when the button is clicked).\n * @slot expert - Custom label content for the button (when `_label` is `false`).\n */\n@Component({\n\ttag: 'kol-popover-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPopoverButton implements PopoverButtonProps, FocusableElement {\n\t@Element() protected readonly host?: HTMLKolPopoverButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolPopoverButtonWcElement>();\n\n\t/**\n\t * Hides the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tvoid this.ctaRef.el?.hidePopover();\n\t}\n\n\t/**\n\t * Shows the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tvoid this.ctaRef.el?.showPopover();\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolPopoverButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_popoverAlign={this._popoverAlign}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t<slot />\n\t\t\t</KolPopoverButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = 'normal';\n}\n"],"names":["createCtaRef","h","KolPopoverButtonWcTag","__decorate","delegateClick","delegateFocus"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,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvBD,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAQ,CAAA,EACzCA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACe;;;;AAnCbE,oBAAA,CAAA;IADZC,gCAAa,CAAC,QAAQ;CACe,EAAA,gBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AASzBD,oBAAA,CAAA;IAHZE,gCAAa,CAAC,QAAQ;CAGwC,EAAA,gBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
1
+ {"version":3,"file":"kol-popover-button.entry.cjs.js","sources":["src/components/popover-button/style.scss?tag=kol-popover-button&mode=default&encapsulation=shadow","src/components/popover-button/shadow.tsx"],"sourcesContent":["@use '../@shared/global' as *;\n@use '../@shared/button.mixin' as *;\n@use '../@shared/popover-button.mixin' as *;\n@use '../tooltip/style' as *;\n\n@layer kol-component {\n\t@include kol-button-styles('kol-button');\n\t@include kol-popover-button-styles;\n\n\t.kol-popover-button {\n\t\t&--open {\n\t\t\t.kol-button__tooltip {\n\t\t\t\tdisplay: none;\n\t\t\t}\n\t\t}\n\n\t\t&--inline {\n\t\t\tdisplay: inline-block;\n\n\t\t\t.kol-button {\n\t\t\t\tmin-width: 0;\n\t\t\t\tmin-height: 1em;\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, Element, h, Method, Prop } from '@stencil/core';\nimport { KolPopoverButtonWcTag } from '../../core/component-names';\nimport type {\n\tAccessKeyPropType,\n\tAriaDescriptionPropType,\n\tButtonTypePropType,\n\tButtonVariantPropType,\n\tClickableElement,\n\tCustomClassPropType,\n\tFocusableElement,\n\tIconsPropType,\n\tInlinePropType,\n\tKolFocusOptions,\n\tLabelWithExpertSlotPropType,\n\tPopoverAlignPropType,\n\tShortKeyPropType,\n\tStencilUnknown,\n\tSyncValueBySelectorPropType,\n\tTooltipAlignPropType,\n} from '../../schema';\nimport type { PopoverButtonProps } from '../../schema/components/popover-button';\nimport { createCtaRef, delegateClick, delegateFocus } from '../../utils/element-interaction';\n\n/**\n * A button that toggles the visibility of a popover overlay containing arbitrary content.\n * The popover uses the native HTML Popover API for lightweight, non-modal overlays.\n *\n * @slot - The popover content (displayed when the button is clicked).\n * @slot expert - Custom label content for the button (when `_label` is `false`).\n */\n@Component({\n\ttag: 'kol-popover-button',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolPopoverButton implements ClickableElement, FocusableElement, PopoverButtonProps {\n\t@Element() protected readonly host?: HTMLKolPopoverButtonElement;\n\tprotected readonly ctaRef = createCtaRef<HTMLKolPopoverButtonWcElement>();\n\n\t/**\n\t * Hides the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async hidePopover() {\n\t\tvoid this.ctaRef.el?.hidePopover();\n\t}\n\n\t/**\n\t * Shows the popover programmatically by forwarding the call to the web component.\n\t */\n\t@Method()\n\t// eslint-disable-next-line @typescript-eslint/require-await\n\tpublic async showPopover() {\n\t\tvoid this.ctaRef.el?.showPopover();\n\t}\n\n\t/**\n\t * Clicks the primary interactive element inside this component.\n\t */\n\t@Method()\n\t@delegateClick('ctaRef')\n\tpublic async click(): Promise<void> {}\n\n\t/**\n\t * Sets focus on the internal element.\n\t */\n\t@Method()\n\t@delegateFocus('ctaRef')\n\t// @ts-expect-error: options parameter will be implemented by the decorator.\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tpublic async focus(options?: KolFocusOptions): Promise<void> {}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<KolPopoverButtonWcTag\n\t\t\t\tref={this.ctaRef}\n\t\t\t\t_accessKey={this._accessKey}\n\t\t\t\t_ariaDescription={this._ariaDescription}\n\t\t\t\t_customClass={this._customClass}\n\t\t\t\t_disabled={this._disabled}\n\t\t\t\t_hideLabel={this._hideLabel}\n\t\t\t\t_icons={this._icons}\n\t\t\t\t_inline={this._inline}\n\t\t\t\t_label={this._label}\n\t\t\t\t_name={this._name}\n\t\t\t\t_popoverAlign={this._popoverAlign}\n\t\t\t\t_shortKey={this._shortKey}\n\t\t\t\t_syncValueBySelector={this._syncValueBySelector}\n\t\t\t\t_tabIndex={this._tabIndex}\n\t\t\t\t_tooltipAlign={this._tooltipAlign}\n\t\t\t\t_type={this._type}\n\t\t\t\t_value={this._value}\n\t\t\t\t_variant={this._variant}\n\t\t\t>\n\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t<slot />\n\t\t\t</KolPopoverButtonWcTag>\n\t\t);\n\t}\n\n\t/**\n\t * Defines the key combination that can be used to trigger or focus the component's interactive element.\n\t */\n\t@Prop() public _accessKey?: AccessKeyPropType;\n\n\t/**\n\t * Defines the value for the aria-description attribute.\n\t */\n\t@Prop() public _ariaDescription?: AriaDescriptionPropType;\n\n\t/**\n\t * Defines the custom class attribute if _variant=\"custom\" is set.\n\t */\n\t@Prop() public _customClass?: CustomClassPropType;\n\n\t/**\n\t * Makes the element not focusable and ignore all events.\n\t */\n\t@Prop() public _disabled?: boolean = false;\n\n\t/**\n\t * Hides the caption by default and displays the caption text with a tooltip when the\n\t * interactive element is focused or the mouse is over it.\n\t * @TODO: Change type back to `HideLabelPropType` after Stencil#4663 has been resolved.\n\t */\n\t@Prop() public _hideLabel?: boolean = false;\n\n\t/**\n\t * Defines the icon classnames (e.g. `_icons=\"fa-solid fa-user\"`).\n\t */\n\t@Prop() public _icons?: IconsPropType;\n\n\t/**\n\t * Defines whether the component is displayed as a standalone block or inline without enforcing a minimum size of 44px.\n\t */\n\t@Prop() public _inline?: InlinePropType = false;\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.). Set to `false` to enable the expert slot.\n\t */\n\t@Prop() public _label!: LabelWithExpertSlotPropType;\n\n\t/**\n\t * Defines the technical name of an input field.\n\t */\n\t@Prop() public _name?: string;\n\n\t/**\n\t * Defines where to show the Popover preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _popoverAlign?: PopoverAlignPropType = 'bottom';\n\n\t/**\n\t * Adds a visual shortcut hint after the label and instructs the screen reader to read the shortcut aloud.\n\t */\n\t@Prop() public _shortKey?: ShortKeyPropType;\n\n\t/**\n\t * Selector for synchronizing the value with another input element.\n\t * @internal\n\t */\n\t@Prop() public _syncValueBySelector?: SyncValueBySelectorPropType;\n\n\t/**\n\t * Defines which tab-index the primary element of the component has. (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex)\n\t */\n\t@Prop() public _tabIndex?: number;\n\n\t/**\n\t * Defines where to show the Tooltip preferably: top, right, bottom or left.\n\t */\n\t@Prop() public _tooltipAlign?: TooltipAlignPropType = 'top';\n\n\t/**\n\t * Defines either the type of the component or of the components interactive element.\n\t */\n\t@Prop() public _type?: ButtonTypePropType = 'button';\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop() public _value?: StencilUnknown;\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop() public _variant?: ButtonVariantPropType = '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YAAY,EAC/B,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,UAAU,EAAE,IAAI,CAAC,UAAU,EAC3B,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EAAA,EAEvBD,OAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,EAAQ,CAAA,EACzCA,OAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACe;;;;AAnCbE,oBAAA,CAAA;IADZC,gCAAa,CAAC,QAAQ;CACe,EAAA,gBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;AASzBD,oBAAA,CAAA;IAHZE,gCAAa,CAAC,QAAQ;CAGwC,EAAA,gBAAA,CAAA,SAAA,EAAA,OAAA,EAAA,IAAA,CAAA;;;;;;;"}
@@ -3,15 +3,15 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Dk00HcEs.js');
7
- var variantQuote = require('./variant-quote-DUWZtljE.js');
8
- var i18n = require('./i18n-DL7vJXNn.js');
6
+ var index = require('./index-Bo9_lDIt.js');
7
+ var baseWebComponent = require('./base-web-component-BJNHmpIo.js');
8
+ var i18n = require('./i18n-BVrSOH9l.js');
9
9
  require('./common-DAAt5YQ7.js');
10
10
  var label = require('./label-CrUhy8f0.js');
11
11
  var valueNumberClamped = require('./value-number-clamped-B6AfADe2.js');
12
12
  var normalizers = require('./normalizers-R90MJyQR.js');
13
13
  var baseController = require('./base-controller-DAzsTqX9.js');
14
- require('./i18n-CgUN6lev.js');
14
+ require('./i18n-D1iTbPTC.js');
15
15
  require('./_Uint8Array-BAQUGozM.js');
16
16
  require('./isArray-BOIOdEQh.js');
17
17
 
@@ -115,9 +115,9 @@ class ProgressController extends baseController.BaseController {
115
115
  }
116
116
  }
117
117
 
118
- const defaultStyleCss = "/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-progress {\n --color-bar: var(--kol-progress-color-bar, #0075ff);\n }\n .kol-progress__bar {\n display: grid;\n align-items: center;\n grid-template-areas: \"LABEL LABEL LABEL\" \"BAR VALUE UNIT\";\n grid-template-columns: 1fr auto;\n }\n .kol-progress__bar-label {\n grid-column-end: 2;\n grid-area: LABEL;\n }\n .kol-progress__bar svg {\n grid-area: BAR;\n }\n .kol-progress__bar-value {\n grid-area: VALUE;\n text-align: right;\n }\n .kol-progress__bar-unit {\n grid-area: UNIT;\n }\n .kol-progress__bar-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__bar-background {\n fill: white;\n stroke: white;\n }\n .kol-progress__bar-progress {\n fill: var(--color-bar);\n stroke: transparent;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__bar-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n .kol-progress__cycle {\n display: grid;\n align-content: center;\n justify-items: center;\n grid-template-areas: \"ALL\";\n grid-template-columns: auto;\n }\n .kol-progress__cycle > * {\n grid-area: ALL;\n }\n .kol-progress__cycle-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: x-small;\n text-align: center;\n }\n .kol-progress__cycle-text * {\n background-color: white;\n }\n .kol-progress__cycle-background {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__cycle-whitespace {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-progress {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n fill: transparent;\n stroke: var(--color-bar);\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__cycle-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n}";
118
+ const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-progress {\n --color-bar: var(--kol-progress-color-bar, #0075ff);\n }\n .kol-progress__bar {\n display: grid;\n align-items: center;\n grid-template-areas: \"LABEL LABEL LABEL\" \"BAR VALUE UNIT\";\n grid-template-columns: 1fr auto;\n }\n .kol-progress__bar-label {\n grid-column-end: 2;\n grid-area: LABEL;\n }\n .kol-progress__bar svg {\n grid-area: BAR;\n }\n .kol-progress__bar-value {\n grid-area: VALUE;\n text-align: right;\n }\n .kol-progress__bar-unit {\n grid-area: UNIT;\n }\n .kol-progress__bar-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__bar-background {\n fill: white;\n stroke: white;\n }\n .kol-progress__bar-progress {\n fill: var(--color-bar);\n stroke: transparent;\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__bar-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n .kol-progress__cycle {\n display: grid;\n align-content: center;\n justify-items: center;\n grid-template-areas: \"ALL\";\n grid-template-columns: auto;\n }\n .kol-progress__cycle > * {\n grid-area: ALL;\n }\n .kol-progress__cycle-text {\n display: flex;\n flex-direction: column;\n justify-content: center;\n font-size: x-small;\n text-align: center;\n }\n .kol-progress__cycle-text * {\n background-color: white;\n }\n .kol-progress__cycle-background {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-border {\n fill: transparent;\n stroke: black;\n }\n .kol-progress__cycle-whitespace {\n fill: transparent;\n stroke: white;\n }\n .kol-progress__cycle-progress {\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n fill: transparent;\n stroke: var(--color-bar);\n }\n @media (prefers-reduced-motion: no-preference) {\n .kol-progress__cycle-progress {\n transition: 250ms ease-in-out 50ms;\n }\n }\n}";
119
119
 
120
- const KolProgress = class extends variantQuote.BaseWebComponent {
120
+ const KolProgress = class extends baseWebComponent.BaseWebComponent {
121
121
  constructor(hostRef) {
122
122
  super();
123
123
  index.registerInstance(this, hostRef);
@@ -152,7 +152,7 @@ const KolProgress = class extends variantQuote.BaseWebComponent {
152
152
  this.ctrl.destroy();
153
153
  }
154
154
  render() {
155
- return (index.h(index.Host, { key: '875e3cb3b7b18f3a73be1115a577e7681e7f2c6d' }, index.h(ProgressFC, { key: '89fc086cc42ec754a47faf0ee6ba99800aac90dd', label: this.ctrl.getRenderProp('label'), max: this.ctrl.getRenderProp('max'), unit: this.ctrl.getRenderProp('unit'), value: this.ctrl.getRenderProp('value'), variant: this.ctrl.getRenderProp('variant'), liveValue: this.liveValue })));
155
+ return (index.h(index.Host, { key: '70710a5592ba3177b7d4e657c36ee496c92fb879' }, index.h(ProgressFC, { key: '19414781e2a8b8b4daa4df4ca0734afcc7507830', label: this.ctrl.getRenderProp('label'), max: this.ctrl.getRenderProp('max'), unit: this.ctrl.getRenderProp('unit'), value: this.ctrl.getRenderProp('value'), variant: this.ctrl.getRenderProp('variant'), liveValue: this.liveValue })));
156
156
  }
157
157
  static get watchers() { return {
158
158
  "_label": ["watchLabel"],
@@ -1 +1 @@
1
- {"version":3,"file":"kol-progress.entry.cjs.js","sources":["src/internal/props/variant-progress.ts","src/internal/functional-components/progress/component.tsx","src/internal/functional-components/progress/api.tsx","src/internal/functional-components/progress/controller.ts","src/components/progress/style.scss?tag=kol-progress&mode=default&encapsulation=shadow","src/components/progress/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Variant prop for progress display style\n *\n * Description:\n * Determines the visual presentation of a progress indicator. Both variants use the\n * WAI-ARIA progressbar role and convey the same semantic information to assistive technologies.\n *\n * Usage (according to W3C HTML specification and WAI-ARIA):\n * - \"bar\": Linear horizontal progress bar (default)\n * - \"cycle\": Circular/radial progress indicator\n * - Both variants must expose role=\"progressbar\" with aria-valuenow, aria-valuemin, and aria-valuemax\n * - The visual variant choice is presentation-only and does not affect the accessible semantics\n *\n * Accessibility:\n * - Progress state must be announced to screen readers (WCAG 4.1.3 Status Messages)\n * - The progress indicator must be perceivable through non-visual means (WCAG 1.1.1 Non-text Content)\n * - Animation in the cycle variant must respect prefers-reduced-motion (WCAG 2.3.3 Animation from Interactions)\n *\n * @see https://html.spec.whatwg.org/multipage/form-elements.html#the-progress-element\n * @see https://www.w3.org/TR/wai-aria-1.2/#progressbar\n * @see https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html\n */\nexport const progressVariantOptions = ['bar', 'cycle'] as const;\nexport type ProgressVariantType = (typeof progressVariantOptions)[number];\n\nexport type VariantProgressProp = SimpleProp<'variant', ProgressVariantType>;\nexport const variantProgressProp = createPropDefinition<VariantProgressProp>(\n\t'variant',\n\t'bar',\n\t(value: unknown) => {\n\t\tconst str = normalizeString(value);\n\t\tif (progressVariantOptions.includes(str as ProgressVariantType)) {\n\t\t\treturn str as ProgressVariantType;\n\t\t}\n\t\tthrow new Error(`Invalid progress variant: ${str}`);\n\t},\n\t() => true,\n);\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport { translate } from '../../../i18n';\n\nimport type { ProgressVariantType } from '../../props';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ProgressApi } from './api';\n\nconst FULL_CIRCLE = 342;\n\nconst CycleSvg: FC<{ max: number; value: number }> = ({ max, value }) => (\n\t<svg width=\"100\" viewBox=\"0 0 120 120\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<circle class=\"kol-progress__cycle-background\" cx=\"60\" cy=\"60\" r=\"54.5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"8\"></circle>\n\t\t<circle class=\"kol-progress__cycle-whitespace\" cx=\"60\" cy=\"60\" r=\"59\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"3\"></circle>\n\t\t<circle class=\"kol-progress__cycle-border\" cx=\"60\" cy=\"60\" r=\"59\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle class=\"kol-progress__cycle-whitespace\" cx=\"60\" cy=\"60\" r=\"51\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle class=\"kol-progress__cycle-border\" cx=\"60\" cy=\"60\" r=\"50\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle\n\t\t\tclass=\"kol-progress__cycle-progress\"\n\t\t\tfill=\"currentColor\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-dasharray={`${Math.round((value / max) * FULL_CIRCLE)}px ${FULL_CIRCLE}px`}\n\t\t\tstroke-width=\"6\"\n\t\t\tcx=\"60\"\n\t\t\tcy=\"60\"\n\t\t\tr=\"54.5\"\n\t\t></circle>\n\t</svg>\n);\n\nconst BarSvg: FC<{ max: number; value: number }> = ({ max, value }) => {\n\tconst percentage = 100 * (value / max);\n\treturn (\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"12\" overflow=\"visible\">\n\t\t\t<rect class=\"kol-progress__bar-background\" x=\"1\" y=\"1\" height=\"11\" rx=\"5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"3\" width=\"100%\"></rect>\n\t\t\t<rect class=\"kol-progress__bar-border\" x=\"1\" y=\"1\" height=\"11\" rx=\"5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\" width=\"100%\"></rect>\n\t\t\t<rect\n\t\t\t\tclass=\"kol-progress__bar-progress\"\n\t\t\t\tx=\"3\"\n\t\t\t\ty=\"3\"\n\t\t\t\theight=\"7\"\n\t\t\t\trx=\"3.5\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\tstroke=\"currentColor\"\n\t\t\t\tstroke-width=\"3\"\n\t\t\t\tstyle={{ width: `calc(${percentage}% - 4px)` }}\n\t\t\t></rect>\n\t\t</svg>\n\t);\n};\n\nconst createProgressSVG = (variant: ProgressVariantType, max: number, value: number) => {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <CycleSvg max={max} value={value} />;\n\t\tcase 'bar':\n\t\t\treturn <BarSvg max={max} value={value} />;\n\t\tdefault:\n\t\t\tthrow new Error(`Progress variant ${variant as string} not implemented.`);\n\t}\n};\n\nexport const ProgressFC: FC<FunctionalComponentProps<ProgressApi>> = (props) => {\n\tconst { label, max, unit, value, variant, liveValue } = props;\n\tconst isPercentage = unit === '%';\n\tconst liveProgressValue = isPercentage ? `${Math.round((liveValue / max) * 100)}` : liveValue;\n\tconst displayValue = isPercentage ? Math.round((value / max) * 100) : value;\n\tconst valueColumnWidth = `${`${(isPercentage ? 100 : max) + 1}`.length}ch`;\n\n\tconst liveValueText = isPercentage\n\t\t? translate('kol-live-value', { placeholders: { value: String(liveProgressValue), unit } })\n\t\t: translate('kol-live-value-bounded', { placeholders: { value: String(liveProgressValue), max: String(max), unit } });\n\n\treturn (\n\t\t<div class=\"kol-progress\">\n\t\t\t<div\n\t\t\t\taria-hidden=\"true\"\n\t\t\t\tclass={{\n\t\t\t\t\t'kol-progress__cycle': variant === 'cycle',\n\t\t\t\t\t'kol-progress__bar': variant === 'bar',\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{variant === 'bar' && label && <div class=\"kol-progress__bar-label\">{label}</div>}\n\t\t\t\t{createProgressSVG(variant, max, value)}\n\t\t\t\t{variant === 'cycle' && (\n\t\t\t\t\t<div class=\"kol-progress__cycle-text\">\n\t\t\t\t\t\t{label && <div class=\"kol-progress__cycle-label\">{label}</div>}\n\t\t\t\t\t\t<div class=\"kol-progress__cycle-value\">{`${displayValue} ${unit}`}</div>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t{variant === 'bar' && (\n\t\t\t\t\t<div class=\"kol-progress__bar-value\" style={{ width: valueColumnWidth }}>\n\t\t\t\t\t\t{displayValue}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t{variant === 'bar' && <div class=\"kol-progress__bar-unit\">{unit}</div>}\n\t\t\t</div>\n\n\t\t\t{/* https://css-tricks.com/html5-progress-element/ */}\n\t\t\t<progress class=\"visually-hidden\" aria-busy={value < max ? 'true' : 'false'} max={max} value={value}></progress>\n\t\t\t<span aria-live=\"polite\" aria-relevant=\"removals text\" class=\"visually-hidden\">\n\t\t\t\t{liveValueText}\n\t\t\t</span>\n\t\t</div>\n\t);\n};\n","import { clampedNumberValueProp, labelProp, maxProp, unitProp, variantProgressProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const progressPropsConfig = {\n\toptional: [labelProp, unitProp, variantProgressProp],\n\trequired: [maxProp, clampedNumberValueProp],\n} as const satisfies PropsConfigShape;\n\nexport type ProgressApi = ApiFromConfig<typeof progressPropsConfig, { States: { liveValue: number } }>;\n","import { clampedNumberValueProp, labelProp, maxProp, unitProp, variantProgressProp } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { ProgressApi } from './api';\nimport { progressPropsConfig } from './api';\n\nexport class ProgressController extends BaseController<ProgressApi> implements ControllerInterface<ProgressApi> {\n\tprivate interval?: ReturnType<typeof setInterval>;\n\n\tpublic constructor(stateAccess: StateAccess<ProgressApi>) {\n\t\tsuper(stateAccess, progressPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ProgressApi>): void {\n\t\tconst { label, max, unit, value, variant } = props;\n\t\tthis.watchLabel(label);\n\t\tthis.watchMax(max);\n\t\tthis.watchUnit(unit);\n\t\tthis.watchValue(value);\n\t\tthis.watchVariant(variant);\n\n\t\tthis.setState('liveValue', this.getRenderProp('value'));\n\t\tthis.startLiveValueInterval();\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchMax(value?: number): void {\n\t\tmaxProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('max', v);\n\t\t\tthis.watchValue(this.getRawProp('value'));\n\t\t});\n\t}\n\n\tpublic watchUnit(value?: string): void {\n\t\tunitProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('unit', v);\n\t\t});\n\t}\n\n\tpublic watchValue(value?: number): void {\n\t\tthis.setRawProp('value', value);\n\t\tclampedNumberValueProp.apply(\n\t\t\tvalue,\n\t\t\t(v) => {\n\t\t\t\tthis.setRenderProp('value', v);\n\t\t\t},\n\t\t\t{ min: 0, max: this.getRenderProp('max') },\n\t\t);\n\t}\n\n\tpublic watchVariant(value?: string): void {\n\t\tvariantProgressProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('variant', v);\n\t\t});\n\t}\n\n\t// a11y: says the value of the component every 5s\n\tprivate startLiveValueInterval(): void {\n\t\tthis.interval = setInterval(() => {\n\t\t\tconst value = this.getRenderProp('value');\n\t\t\tthis.setState('liveValue', value);\n\t\t}, 5000);\n\t}\n\n\tpublic destroy(): void {\n\t\tif (this.interval) {\n\t\t\tclearInterval(this.interval);\n\t\t\tthis.interval = undefined;\n\t\t}\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-progress {\n\t\t--color-bar: var(--kol-progress-color-bar, #0075ff);\n\n\t\t&__bar {\n\t\t\tdisplay: grid;\n\t\t\talign-items: center;\n\t\t\tgrid-template-areas:\n\t\t\t\t'LABEL LABEL LABEL'\n\t\t\t\t'BAR VALUE UNIT';\n\t\t\tgrid-template-columns: 1fr auto;\n\n\t\t\t&-label {\n\t\t\t\tgrid-column-end: 2;\n\t\t\t\tgrid-area: LABEL;\n\t\t\t}\n\n\t\t\tsvg {\n\t\t\t\tgrid-area: BAR;\n\t\t\t}\n\n\t\t\t&-value {\n\t\t\t\tgrid-area: VALUE;\n\t\t\t\ttext-align: right;\n\t\t\t}\n\n\t\t\t&-unit {\n\t\t\t\tgrid-area: UNIT;\n\t\t\t}\n\n\t\t\t&-border {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: black;\n\t\t\t}\n\n\t\t\t&-background {\n\t\t\t\tfill: white;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-progress {\n\t\t\t\tfill: var(--color-bar);\n\t\t\t\tstroke: transparent;\n\n\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\ttransition: 250ms ease-in-out 50ms;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__cycle {\n\t\t\tdisplay: grid;\n\t\t\talign-content: center;\n\t\t\tjustify-items: center;\n\t\t\tgrid-template-areas: 'ALL';\n\t\t\tgrid-template-columns: auto;\n\n\t\t\t> * {\n\t\t\t\tgrid-area: ALL;\n\t\t\t}\n\n\t\t\t&-text {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\tjustify-content: center;\n\n\t\t\t\tfont-size: x-small;\n\t\t\t\ttext-align: center;\n\n\t\t\t\t* {\n\t\t\t\t\tbackground-color: white;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-background {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-border {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: black;\n\t\t\t}\n\n\t\t\t&-whitespace {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-progress {\n\t\t\t\ttransform: rotate(-90deg);\n\t\t\t\ttransform-origin: 50% 50%;\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: var(--color-bar);\n\n\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\ttransition: 250ms ease-in-out 50ms;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ProgressApi } from '../../internal/functional-components/progress/api';\nimport { ProgressFC } from '../../internal/functional-components/progress/component';\nimport { ProgressController } from '../../internal/functional-components/progress/controller';\nimport type { ProgressVariantType } from '../../internal/props';\n\n/**\n * The **Progress** component visualizes the completion status of a task or process. It supports both determinate (percentage-based) and indeterminate variants.\n */\n@Component({\n\ttag: 'kol-progress',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolProgress extends BaseWebComponent<ProgressApi> implements WebComponentInterface<ProgressApi> {\n\tprivate readonly ctrl = new ProgressController(this.stateAccess);\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop()\n\tpublic _label?: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop()\n\tpublic _max!: number;\n\n\t@Watch('_max')\n\tpublic watchMax(value?: number): void {\n\t\tthis.ctrl.watchMax(value);\n\t}\n\n\t/**\n\t * Defines the unit of the step values (not shown).\n\t */\n\t@Prop()\n\tpublic _unit?: string;\n\n\t@Watch('_unit')\n\tpublic watchUnit(value?: string): void {\n\t\tthis.ctrl.watchUnit(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop()\n\tpublic _value!: number;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: number): void {\n\t\tthis.ctrl.watchValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop()\n\tpublic _variant?: ProgressVariantType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: ProgressVariantType): void {\n\t\tthis.ctrl.watchVariant(value);\n\t}\n\n\t/**\n\t * A11y: Aria live value\n\t */\n\t@State()\n\tpublic liveValue: number = 0;\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tlabel: this._label,\n\t\t\tmax: this._max,\n\t\t\tunit: this._unit,\n\t\t\tvalue: this._value,\n\t\t\tvariant: this._variant,\n\t\t});\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.ctrl.destroy();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<ProgressFC\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tmax={this.ctrl.getRenderProp('max')}\n\t\t\t\t\tunit={this.ctrl.getRenderProp('unit')}\n\t\t\t\t\tvalue={this.ctrl.getRenderProp('value')}\n\t\t\t\t\tvariant={this.ctrl.getRenderProp('variant')}\n\t\t\t\t\tliveValue={this.liveValue}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["createPropDefinition","normalizeString","h","translate","labelProp","unitProp","maxProp","clampedNumberValueProp","BaseController","BaseWebComponent","Host"],"mappings":";;;;;;;;;;;;;;;;;AA0BO,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE,OAAO,CAAU;AAIxD,MAAM,mBAAmB,GAAGA,gCAAoB,CACtD,SAAS,EACT,KAAK,EACL,CAAC,KAAc,KAAI;AAClB,IAAA,MAAM,GAAG,GAAGC,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,IAAI,sBAAsB,CAAC,QAAQ,CAAC,GAA0B,CAAC,EAAE;AAChE,QAAA,OAAO,GAA0B;;AAElC,IAAA,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,CAAA,CAAE,CAAC;AACpD,CAAC,E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AG,EAAE,IAAI,CAAC,IAAI;YACd,IAAI,EAAE,IAAI,CAAC,KAAK;YAChB,KAAK,EAAE,IAAI,CAAC,MAAM;YAClB,OAAO,EAAE,IAAI,CAAC,QAAQ;AACtB,SAAA,CAAC;;IAGI,oBAAoB,GAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;;IAGb,MAAM,GAAA;AACZ,QAAA,QACCP,QAACQ,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJR,OAAA,CAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EACV,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EACnC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EACrC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,EAC3C,SAAS,EAAE,IAAI,CAAC,SAAS,EACxB,CAAA,CACI;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"kol-progress.entry.cjs.js","sources":["src/internal/props/variant-progress.ts","src/internal/functional-components/progress/component.tsx","src/internal/functional-components/progress/api.tsx","src/internal/functional-components/progress/controller.ts","src/components/progress/style.scss?tag=kol-progress&mode=default&encapsulation=shadow","src/components/progress/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Variant prop for progress display style\n *\n * Description:\n * Determines the visual presentation of a progress indicator. Both variants use the\n * WAI-ARIA progressbar role and convey the same semantic information to assistive technologies.\n *\n * Usage (according to W3C HTML specification and WAI-ARIA):\n * - \"bar\": Linear horizontal progress bar (default)\n * - \"cycle\": Circular/radial progress indicator\n * - Both variants must expose role=\"progressbar\" with aria-valuenow, aria-valuemin, and aria-valuemax\n * - The visual variant choice is presentation-only and does not affect the accessible semantics\n *\n * Accessibility:\n * - Progress state must be announced to screen readers (WCAG 4.1.3 Status Messages)\n * - The progress indicator must be perceivable through non-visual means (WCAG 1.1.1 Non-text Content)\n * - Animation in the cycle variant must respect prefers-reduced-motion (WCAG 2.3.3 Animation from Interactions)\n *\n * @see https://html.spec.whatwg.org/multipage/form-elements.html#the-progress-element\n * @see https://www.w3.org/TR/wai-aria-1.2/#progressbar\n * @see https://www.w3.org/WAI/WCAG21/Understanding/status-messages.html\n */\nexport const progressVariantOptions = ['bar', 'cycle'] as const;\nexport type ProgressVariantType = (typeof progressVariantOptions)[number];\n\nexport type VariantProgressProp = SimpleProp<'variant', ProgressVariantType>;\nexport const variantProgressProp = createPropDefinition<VariantProgressProp>(\n\t'variant',\n\t'bar',\n\t(value: unknown) => {\n\t\tconst str = normalizeString(value);\n\t\tif (progressVariantOptions.includes(str as ProgressVariantType)) {\n\t\t\treturn str as ProgressVariantType;\n\t\t}\n\t\tthrow new Error(`Invalid progress variant: ${str}`);\n\t},\n\t() => true,\n);\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport { translate } from '../../../i18n';\n\nimport type { ProgressVariantType } from '../../props';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { ProgressApi } from './api';\n\nconst FULL_CIRCLE = 342;\n\nconst CycleSvg: FC<{ max: number; value: number }> = ({ max, value }) => (\n\t<svg width=\"100\" viewBox=\"0 0 120 120\" xmlns=\"http://www.w3.org/2000/svg\">\n\t\t<circle class=\"kol-progress__cycle-background\" cx=\"60\" cy=\"60\" r=\"54.5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"8\"></circle>\n\t\t<circle class=\"kol-progress__cycle-whitespace\" cx=\"60\" cy=\"60\" r=\"59\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"3\"></circle>\n\t\t<circle class=\"kol-progress__cycle-border\" cx=\"60\" cy=\"60\" r=\"59\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle class=\"kol-progress__cycle-whitespace\" cx=\"60\" cy=\"60\" r=\"51\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle class=\"kol-progress__cycle-border\" cx=\"60\" cy=\"60\" r=\"50\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\"></circle>\n\t\t<circle\n\t\t\tclass=\"kol-progress__cycle-progress\"\n\t\t\tfill=\"currentColor\"\n\t\t\tstroke=\"currentColor\"\n\t\t\tstroke-linecap=\"round\"\n\t\t\tstroke-dasharray={`${Math.round((value / max) * FULL_CIRCLE)}px ${FULL_CIRCLE}px`}\n\t\t\tstroke-width=\"6\"\n\t\t\tcx=\"60\"\n\t\t\tcy=\"60\"\n\t\t\tr=\"54.5\"\n\t\t></circle>\n\t</svg>\n);\n\nconst BarSvg: FC<{ max: number; value: number }> = ({ max, value }) => {\n\tconst percentage = 100 * (value / max);\n\treturn (\n\t\t<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"100%\" height=\"12\" overflow=\"visible\">\n\t\t\t<rect class=\"kol-progress__bar-background\" x=\"1\" y=\"1\" height=\"11\" rx=\"5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"3\" width=\"100%\"></rect>\n\t\t\t<rect class=\"kol-progress__bar-border\" x=\"1\" y=\"1\" height=\"11\" rx=\"5\" fill=\"currentColor\" stroke=\"currentColor\" stroke-width=\"1\" width=\"100%\"></rect>\n\t\t\t<rect\n\t\t\t\tclass=\"kol-progress__bar-progress\"\n\t\t\t\tx=\"3\"\n\t\t\t\ty=\"3\"\n\t\t\t\theight=\"7\"\n\t\t\t\trx=\"3.5\"\n\t\t\t\tfill=\"currentColor\"\n\t\t\t\tstroke=\"currentColor\"\n\t\t\t\tstroke-width=\"3\"\n\t\t\t\tstyle={{ width: `calc(${percentage}% - 4px)` }}\n\t\t\t></rect>\n\t\t</svg>\n\t);\n};\n\nconst createProgressSVG = (variant: ProgressVariantType, max: number, value: number) => {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <CycleSvg max={max} value={value} />;\n\t\tcase 'bar':\n\t\t\treturn <BarSvg max={max} value={value} />;\n\t\tdefault:\n\t\t\tthrow new Error(`Progress variant ${variant as string} not implemented.`);\n\t}\n};\n\nexport const ProgressFC: FC<FunctionalComponentProps<ProgressApi>> = (props) => {\n\tconst { label, max, unit, value, variant, liveValue } = props;\n\tconst isPercentage = unit === '%';\n\tconst liveProgressValue = isPercentage ? `${Math.round((liveValue / max) * 100)}` : liveValue;\n\tconst displayValue = isPercentage ? Math.round((value / max) * 100) : value;\n\tconst valueColumnWidth = `${`${(isPercentage ? 100 : max) + 1}`.length}ch`;\n\n\tconst liveValueText = isPercentage\n\t\t? translate('kol-live-value', { placeholders: { value: String(liveProgressValue), unit } })\n\t\t: translate('kol-live-value-bounded', { placeholders: { value: String(liveProgressValue), max: String(max), unit } });\n\n\treturn (\n\t\t<div class=\"kol-progress\">\n\t\t\t<div\n\t\t\t\taria-hidden=\"true\"\n\t\t\t\tclass={{\n\t\t\t\t\t'kol-progress__cycle': variant === 'cycle',\n\t\t\t\t\t'kol-progress__bar': variant === 'bar',\n\t\t\t\t}}\n\t\t\t>\n\t\t\t\t{variant === 'bar' && label && <div class=\"kol-progress__bar-label\">{label}</div>}\n\t\t\t\t{createProgressSVG(variant, max, value)}\n\t\t\t\t{variant === 'cycle' && (\n\t\t\t\t\t<div class=\"kol-progress__cycle-text\">\n\t\t\t\t\t\t{label && <div class=\"kol-progress__cycle-label\">{label}</div>}\n\t\t\t\t\t\t<div class=\"kol-progress__cycle-value\">{`${displayValue} ${unit}`}</div>\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t{variant === 'bar' && (\n\t\t\t\t\t<div class=\"kol-progress__bar-value\" style={{ width: valueColumnWidth }}>\n\t\t\t\t\t\t{displayValue}\n\t\t\t\t\t</div>\n\t\t\t\t)}\n\t\t\t\t{variant === 'bar' && <div class=\"kol-progress__bar-unit\">{unit}</div>}\n\t\t\t</div>\n\n\t\t\t{/* https://css-tricks.com/html5-progress-element/ */}\n\t\t\t<progress class=\"visually-hidden\" aria-busy={value < max ? 'true' : 'false'} max={max} value={value}></progress>\n\t\t\t<span aria-live=\"polite\" aria-relevant=\"removals text\" class=\"visually-hidden\">\n\t\t\t\t{liveValueText}\n\t\t\t</span>\n\t\t</div>\n\t);\n};\n","import { clampedNumberValueProp, labelProp, maxProp, unitProp, variantProgressProp } from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\nexport const progressPropsConfig = {\n\toptional: [labelProp, unitProp, variantProgressProp],\n\trequired: [maxProp, clampedNumberValueProp],\n} as const satisfies PropsConfigShape;\n\nexport type ProgressApi = ApiFromConfig<typeof progressPropsConfig, { States: { liveValue: number } }>;\n","import { clampedNumberValueProp, labelProp, maxProp, unitProp, variantProgressProp, type ProgressVariantType } from '../../props';\nimport { BaseController } from '../base-controller';\nimport type { ControllerInterface, ResolvedInputProps, StateAccess } from '../generic-types';\nimport type { ProgressApi } from './api';\nimport { progressPropsConfig } from './api';\n\nexport class ProgressController extends BaseController<ProgressApi> implements ControllerInterface<ProgressApi> {\n\tprivate interval?: ReturnType<typeof setInterval>;\n\n\tpublic constructor(stateAccess: StateAccess<ProgressApi>) {\n\t\tsuper(stateAccess, progressPropsConfig);\n\t}\n\n\tpublic componentWillLoad(props: ResolvedInputProps<ProgressApi>): void {\n\t\tconst { label, max, unit, value, variant } = props;\n\t\tthis.watchLabel(label);\n\t\tthis.watchMax(max);\n\t\tthis.watchUnit(unit);\n\t\tthis.watchValue(value);\n\t\tthis.watchVariant(variant);\n\n\t\tthis.setState('liveValue', this.getRenderProp('value'));\n\t\tthis.startLiveValueInterval();\n\t}\n\n\tpublic watchLabel(value?: string): void {\n\t\tlabelProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('label', v);\n\t\t});\n\t}\n\n\tpublic watchMax(value?: number): void {\n\t\tmaxProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('max', v);\n\t\t\tthis.watchValue(this.getRawProp('value'));\n\t\t});\n\t}\n\n\tpublic watchUnit(value?: string): void {\n\t\tunitProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('unit', v);\n\t\t});\n\t}\n\n\tpublic watchValue(value?: number): void {\n\t\tthis.setRawProp('value', value);\n\t\tclampedNumberValueProp.apply(\n\t\t\tvalue,\n\t\t\t(v) => {\n\t\t\t\tthis.setRenderProp('value', v);\n\t\t\t},\n\t\t\t{ min: 0, max: this.getRenderProp('max') },\n\t\t);\n\t}\n\n\tpublic watchVariant(value?: ProgressVariantType): void {\n\t\tvariantProgressProp.apply(value, (v) => {\n\t\t\tthis.setRenderProp('variant', v);\n\t\t});\n\t}\n\n\t// a11y: says the value of the component every 5s\n\tprivate startLiveValueInterval(): void {\n\t\tthis.interval = setInterval(() => {\n\t\t\tconst value = this.getRenderProp('value');\n\t\t\tthis.setState('liveValue', value);\n\t\t}, 5000);\n\t}\n\n\tpublic destroy(): void {\n\t\tif (this.interval) {\n\t\t\tclearInterval(this.interval);\n\t\t\tthis.interval = undefined;\n\t\t}\n\t}\n}\n","@use '../@shared/mixins' as *;\n@use '../@shared/global' as *;\n\n@layer kol-component {\n\t.kol-progress {\n\t\t--color-bar: var(--kol-progress-color-bar, #0075ff);\n\n\t\t&__bar {\n\t\t\tdisplay: grid;\n\t\t\talign-items: center;\n\t\t\tgrid-template-areas:\n\t\t\t\t'LABEL LABEL LABEL'\n\t\t\t\t'BAR VALUE UNIT';\n\t\t\tgrid-template-columns: 1fr auto;\n\n\t\t\t&-label {\n\t\t\t\tgrid-column-end: 2;\n\t\t\t\tgrid-area: LABEL;\n\t\t\t}\n\n\t\t\tsvg {\n\t\t\t\tgrid-area: BAR;\n\t\t\t}\n\n\t\t\t&-value {\n\t\t\t\tgrid-area: VALUE;\n\t\t\t\ttext-align: right;\n\t\t\t}\n\n\t\t\t&-unit {\n\t\t\t\tgrid-area: UNIT;\n\t\t\t}\n\n\t\t\t&-border {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: black;\n\t\t\t}\n\n\t\t\t&-background {\n\t\t\t\tfill: white;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-progress {\n\t\t\t\tfill: var(--color-bar);\n\t\t\t\tstroke: transparent;\n\n\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\ttransition: 250ms ease-in-out 50ms;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&__cycle {\n\t\t\tdisplay: grid;\n\t\t\talign-content: center;\n\t\t\tjustify-items: center;\n\t\t\tgrid-template-areas: 'ALL';\n\t\t\tgrid-template-columns: auto;\n\n\t\t\t> * {\n\t\t\t\tgrid-area: ALL;\n\t\t\t}\n\n\t\t\t&-text {\n\t\t\t\tdisplay: flex;\n\t\t\t\tflex-direction: column;\n\t\t\t\tjustify-content: center;\n\n\t\t\t\tfont-size: x-small;\n\t\t\t\ttext-align: center;\n\n\t\t\t\t* {\n\t\t\t\t\tbackground-color: white;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&-background {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-border {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: black;\n\t\t\t}\n\n\t\t\t&-whitespace {\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: white;\n\t\t\t}\n\n\t\t\t&-progress {\n\t\t\t\ttransform: rotate(-90deg);\n\t\t\t\ttransform-origin: 50% 50%;\n\t\t\t\tfill: transparent;\n\t\t\t\tstroke: var(--color-bar);\n\n\t\t\t\t@media (prefers-reduced-motion: no-preference) {\n\t\t\t\t\ttransition: 250ms ease-in-out 50ms;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n","import type { JSX } from '@stencil/core';\nimport { Component, h, Host, Prop, State, Watch } from '@stencil/core';\nimport { BaseWebComponent } from '../../internal/functional-components/base-web-component';\nimport type { WebComponentInterface } from '../../internal/functional-components/generic-types';\nimport type { ProgressApi } from '../../internal/functional-components/progress/api';\nimport { ProgressFC } from '../../internal/functional-components/progress/component';\nimport { ProgressController } from '../../internal/functional-components/progress/controller';\nimport type { ProgressVariantType } from '../../internal/props';\n\n/**\n * The **Progress** component visualizes the completion status of a task or process. It supports both determinate (percentage-based) and indeterminate variants.\n */\n@Component({\n\ttag: 'kol-progress',\n\tstyleUrls: {\n\t\tdefault: './style.scss',\n\t},\n\tshadow: true,\n})\nexport class KolProgress extends BaseWebComponent<ProgressApi> implements WebComponentInterface<ProgressApi> {\n\tprivate readonly ctrl = new ProgressController(this.stateAccess);\n\n\t/**\n\t * Defines the visible or semantic label of the component (e.g. aria-label, label, headline, caption, summary, etc.).\n\t */\n\t@Prop()\n\tpublic _label?: string;\n\n\t@Watch('_label')\n\tpublic watchLabel(value?: string): void {\n\t\tthis.ctrl.watchLabel(value);\n\t}\n\n\t/**\n\t * Defines the maximum value of the element.\n\t */\n\t@Prop()\n\tpublic _max!: number;\n\n\t@Watch('_max')\n\tpublic watchMax(value?: number): void {\n\t\tthis.ctrl.watchMax(value);\n\t}\n\n\t/**\n\t * Defines the unit of the step values (not shown).\n\t */\n\t@Prop()\n\tpublic _unit?: string;\n\n\t@Watch('_unit')\n\tpublic watchUnit(value?: string): void {\n\t\tthis.ctrl.watchUnit(value);\n\t}\n\n\t/**\n\t * Defines the value of the element.\n\t */\n\t@Prop()\n\tpublic _value!: number;\n\n\t@Watch('_value')\n\tpublic watchValue(value?: number): void {\n\t\tthis.ctrl.watchValue(value);\n\t}\n\n\t/**\n\t * Defines which variant should be used for presentation.\n\t */\n\t@Prop()\n\tpublic _variant?: ProgressVariantType;\n\n\t@Watch('_variant')\n\tpublic watchVariant(value?: ProgressVariantType): void {\n\t\tthis.ctrl.watchVariant(value);\n\t}\n\n\t/**\n\t * A11y: Aria live value\n\t */\n\t@State()\n\tpublic liveValue: number = 0;\n\n\tpublic componentWillLoad(): void {\n\t\tthis.ctrl.componentWillLoad({\n\t\t\tlabel: this._label,\n\t\t\tmax: this._max,\n\t\t\tunit: this._unit,\n\t\t\tvalue: this._value,\n\t\t\tvariant: this._variant,\n\t\t});\n\t}\n\n\tpublic disconnectedCallback(): void {\n\t\tthis.ctrl.destroy();\n\t}\n\n\tpublic render(): JSX.Element {\n\t\treturn (\n\t\t\t<Host>\n\t\t\t\t<ProgressFC\n\t\t\t\t\tlabel={this.ctrl.getRenderProp('label')}\n\t\t\t\t\tmax={this.ctrl.getRenderProp('max')}\n\t\t\t\t\tunit={this.ctrl.getRenderProp('unit')}\n\t\t\t\t\tvalue={this.ctrl.getRenderProp('value')}\n\t\t\t\t\tvariant={this.ctrl.getRenderProp('variant')}\n\t\t\t\t\tliveValue={this.liveValue}\n\t\t\t\t/>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"names":["createPropDefinition","normalizeString","h","translate","labelProp","unitProp","maxProp","clampedNumberValueProp","BaseController","BaseWebComponent","Host"],"mappings":";;;;;;;;;;;;;;;;;AA0BO,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE,OAAO,CAAU;AAIxD,MAAM,mBAAmB,GAAGA,gCAAoB,CACtD,SAAS,EACT,KAAK,EACL,CAAC,KAAc,KAAI;AAClB,IAAA,MAAM,GAAG,GAAGC,2BAAe,CAAC,KAAK,CAAC;AAClC,IAAA,IAAI,sBAAsB,CAAC,QAAQ,CAAC,GAA0B,CAAC,EAAE;AAChE,QAAA,OAAO,GAA0B;;AAElC,IAAA,MAAM,IAAI,KAAK,CAAC,6BAA6B,GAAG,CAAA,CAAE,CAAC;AACpD,CAAC,EACD,MAAM,IAAI,CACV;;ACjCD,MAAM,WAAW,GAAG,GAAG;AAEvB,MAAM,QAAQ,GAAuC,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,MACnEC,OAAK,CAAA,KAA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ACtB,SAAA,CAAC;;IAGI,oBAAoB,GAAA;AAC1B,QAAA,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;;IAGb,MAAM,GAAA;AACZ,QAAA,QACCP,QAACQ,UAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACJR,OAAA,CAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EACV,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,EACnC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EACrC,KAAK,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,OAAO,CAAC,EACvC,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,EAC3C,SAAS,EAAE,IAAI,CAAC,SAAS,EACxB,CAAA,CACI;;;;;;;;;;;;;;;;"}
@@ -3,10 +3,10 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-Dk00HcEs.js');
7
- var variantQuote = require('./variant-quote-DUWZtljE.js');
6
+ var index = require('./index-Bo9_lDIt.js');
7
+ var baseWebComponent = require('./base-web-component-BJNHmpIo.js');
8
8
  var componentNames = require('./component-names-5KS_pYRF.js');
9
- var bemRegistry = require('./bem-registry-D9uDM1GJ.js');
9
+ var bemRegistry = require('./bem-registry-bkUwdl0m.js');
10
10
  require('./common-DAAt5YQ7.js');
11
11
  var normalizers = require('./normalizers-R90MJyQR.js');
12
12
  var label = require('./label-CrUhy8f0.js');
@@ -31,7 +31,7 @@ const QuoteFC = (props) => {
31
31
  };
32
32
 
33
33
  const quotePropsConfig = {
34
- optional: [label.labelProp, variantQuote.variantQuoteProp],
34
+ optional: [label.labelProp, baseWebComponent.variantQuoteProp],
35
35
  required: [hrefProp, quoteProp],
36
36
  };
37
37
 
@@ -62,18 +62,18 @@ class QuoteController extends baseController.BaseController {
62
62
  });
63
63
  }
64
64
  watchVariant(value) {
65
- variantQuote.variantQuoteProp.apply(value, (v) => {
65
+ baseWebComponent.variantQuoteProp.apply(value, (v) => {
66
66
  this.setRenderProp('variant', v);
67
67
  });
68
68
  }
69
69
  }
70
70
 
71
- const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n */\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-quote {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__cite::before {\n content: \"—\";\n }\n .kol-quote--block .kol-quote__figcaption {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__blockquote::before {\n content: open-quote;\n }\n .kol-quote__blockquote::after {\n content: close-quote;\n }\n}";
71
+ const defaultStyleCss = "@charset \"UTF-8\";\n/* forward the rem function */\n/*\n* This file defines the layer order for all CSS layers used in KoliBri.\n* The order is important as it determines the cascade priority.\n*\n* Layer order (lowest to highest priority):\n* 1. kol-a11y - Accessibility defaults and requirements\n* 2. kol-global - Global component styles and resets\n* 3. kol-component - Component-specific styles\n* 4. kol-theme-global - Theme-specific global styles\n* 5. kol-theme-component - Theme-specific component styles\n*/\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\n/*\n * This file contains all rules for accessibility.\n */\n@layer kol-a11y {\n :host {\n /*\n * Minimum size of interactive elements.\n *\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\n * rounding, dropping just below the required minimum.\n */\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\n /*\n * No element should be used without verifying the contrast ratio of its background and font colors.\n * By initially setting the background color to white and the font color to black,\n * the contrast ratio is ensured and explicit adjustment is forced.\n */\n color: black;\n background-color: white;\n /*\n * Verdana is an accessible font that can be used without requiring additional loading time.\n */\n font-family: Verdana;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n /*\n * Text should be aligned left by default to provide a predictable starting point.\n */\n text-align: left;\n }\n * {\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n hyphens: auto;\n /*\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\n */\n word-break: break-word;\n }\n /*\n * All interactive elements should have a minimum size of to-rem(44).\n */\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\n /* option, */\n /* select, */\n /* textarea, */\n button,\n .kol-input .input {\n min-width: var(--a11y-min-size);\n min-height: var(--a11y-min-size);\n }\n /*\n * Some interactive elements should not inherit the font-family and font-size.\n */\n a,\n button,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n input,\n option,\n select,\n textarea {\n /*\n * All elements should inherit the text color from his parent element.\n */\n color: inherit;\n /*\n * All elements should inherit the font family from his parent element.\n */\n font-family: inherit;\n /*\n * All elements should inherit the font size from his parent element.\n */\n font-size: inherit;\n /*\n * Letter spacing is required for all texts.\n */\n letter-spacing: inherit;\n /*\n * Word spacing is required for all texts.\n */\n word-spacing: inherit;\n }\n /**\n * Sometimes we need the semantic element for accessibility reasons,\n * but we don't want to show it.\n *\n * - https://www.a11yproject.com/posts/how-to-hide-content/\n */\n .visually-hidden {\n position: fixed;\n top: 0;\n left: 0;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip-path: inset(50%);\n }\n}\n@layer kol-global {\n /*\n * Dieses CSS stellt sicher, dass der Standard-Style\n * von A und Button resettet werden.\n */\n :is(a, button) {\n background-color: transparent;\n width: 100%;\n margin: 0;\n padding: 0;\n border: none;\n /* 100% needed for custom width from outside */\n }\n /*\n * Ensure elements with hidden attribute to be actually not visible\n * @see https://meowni.ca/hidden.is.a.lie.html\n */\n [hidden] {\n display: none !important;\n }\n .badge-text-hint {\n color: black;\n background-color: white;\n }\n}\n@layer kol-global {\n :host {\n /*\n * The max-width is needed to prevent the table from overflowing the\n * parent node, if the table is wider than the parent node.\n */\n max-width: 100%;\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\n }\n * {\n /*\n * We prefer to box-sizing: border-box for all elements.\n */\n box-sizing: border-box;\n }\n .kol-span {\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\n display: flex;\n flex-flow: column;\n align-items: center;\n justify-content: center;\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\n }\n .kol-span__container {\n display: flex;\n align-items: center;\n }\n a,\n button {\n cursor: pointer;\n }\n .kol-span .kol-span__label--hide-label .kol-span__label {\n display: none;\n }\n /* Reset browser agent style. */\n button:disabled {\n color: unset;\n }\n .disabled label,\n .disabled:focus-within label,\n [aria-disabled=true],\n [aria-disabled=true]:focus,\n [disabled],\n [disabled]:focus {\n outline: none;\n cursor: not-allowed;\n }\n [aria-disabled=true]:focus .kol-span,\n [disabled]:focus .kol-span {\n outline: none !important;\n }\n .hastooltip {\n z-index: 900 !important;\n }\n}\n@layer kol-component {\n .kol-quote {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__cite::before {\n content: \"—\";\n }\n .kol-quote--block .kol-quote__figcaption {\n display: inline;\n margin: 0;\n padding: 0;\n }\n .kol-quote__blockquote::before {\n content: open-quote;\n }\n .kol-quote__blockquote::after {\n content: close-quote;\n }\n}";
72
72
 
73
73
  const KolQuote = class {
74
74
  constructor(hostRef) {
75
75
  index.registerInstance(this, hostRef);
76
- this.ctrl = new QuoteController(variantQuote.BaseWebComponent.stateLess);
76
+ this.ctrl = new QuoteController(baseWebComponent.BaseWebComponent.stateLess);
77
77
  this._variant = 'inline';
78
78
  }
79
79
  watchHref(value) {
@@ -97,7 +97,7 @@ const KolQuote = class {
97
97
  });
98
98
  }
99
99
  render() {
100
- return (index.h(index.Host, { key: '6dbdd16912a99997f52326f7cca426f704a7357b' }, index.h(QuoteFC, { key: 'a523fb0f75067faad16629169193f76e9e879ace', href: this.ctrl.getRenderProp('href'), label: this.ctrl.getRenderProp('label'), quote: this.ctrl.getRenderProp('quote'), variant: this.ctrl.getRenderProp('variant') })));
100
+ return (index.h(index.Host, { key: '0e6593206846694c7a999d1a00d1776c5507112c' }, index.h(QuoteFC, { key: '8e4b699204dd80e609632c82ab6e3db688d0c3ef', href: this.ctrl.getRenderProp('href'), label: this.ctrl.getRenderProp('label'), quote: this.ctrl.getRenderProp('quote'), variant: this.ctrl.getRenderProp('variant') })));
101
101
  }
102
102
  static get watchers() { return {
103
103
  "_href": ["watchHref"],