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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) 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/custom-elements.json +1 -1
  7. package/dist/cjs/{Alert-B9H54lf8.js → Alert-YbZanKrb.js} +5 -5
  8. package/dist/cjs/{Alert-B9H54lf8.js.map → Alert-YbZanKrb.js.map} +1 -1
  9. package/dist/cjs/{Collapsible-CoqLEXrI.js → Collapsible-DgxSki5n.js} +5 -5
  10. package/dist/cjs/{Collapsible-CoqLEXrI.js.map → Collapsible-DgxSki5n.js.map} +1 -1
  11. package/dist/cjs/{CustomSuggestionsOptionsGroup-HTg1nuQE.js → CustomSuggestionsOptionsGroup-Iigxu1-N.js} +3 -3
  12. package/dist/cjs/{CustomSuggestionsOptionsGroup-HTg1nuQE.js.map → CustomSuggestionsOptionsGroup-Iigxu1-N.js.map} +1 -1
  13. package/dist/cjs/{FieldControlStateWrapper-tz4jt1Vw.js → FieldControlStateWrapper-Q7Vd4IXA.js} +7 -7
  14. package/dist/cjs/{FieldControlStateWrapper-tz4jt1Vw.js.map → FieldControlStateWrapper-Q7Vd4IXA.js.map} +1 -1
  15. package/dist/cjs/{FormFieldStateWrapper-Du0t5Gwq.js → FormFieldStateWrapper-F9ed86Yp.js} +7 -7
  16. package/dist/cjs/{FormFieldStateWrapper-Du0t5Gwq.js.map → FormFieldStateWrapper-F9ed86Yp.js.map} +1 -1
  17. package/dist/cjs/{Heading-CtWRbSBg.js → Heading-H4oou8q1.js} +3 -3
  18. package/dist/cjs/{Heading-CtWRbSBg.js.map → Heading-H4oou8q1.js.map} +1 -1
  19. package/dist/cjs/{Input-D8WGn84v.js → Input-nf-dg6bZ.js} +5 -5
  20. package/dist/cjs/{Input-D8WGn84v.js.map → Input-nf-dg6bZ.js.map} +1 -1
  21. package/dist/cjs/{InputStateWrapper-DvDPx6ED.js → InputStateWrapper-g3S5YMih.js} +6 -6
  22. package/dist/cjs/{InputStateWrapper-DvDPx6ED.js.map → InputStateWrapper-g3S5YMih.js.map} +1 -1
  23. package/dist/cjs/{app-globals-ezeTfcSE.js → app-globals-BLA3ORRe.js} +4 -4
  24. package/dist/cjs/{app-globals-ezeTfcSE.js.map → app-globals-BLA3ORRe.js.map} +1 -1
  25. package/dist/cjs/{component-ts-nCO-F.js → component-11svherw.js} +4 -4
  26. package/dist/cjs/{component-ts-nCO-F.js.map → component-11svherw.js.map} +1 -1
  27. package/dist/cjs/{component-Bjpk6NcE.js → component-4kvV_nRs.js} +6 -6
  28. package/dist/cjs/{component-Bjpk6NcE.js.map → component-4kvV_nRs.js.map} +1 -1
  29. package/dist/cjs/{component-Cwiow2eD.js → component-BycTswC4.js} +3 -3
  30. package/dist/cjs/{component-Cwiow2eD.js.map → component-BycTswC4.js.map} +1 -1
  31. package/dist/cjs/{component-CIPdC4D5.js → component-CW5wb_pp.js} +3 -3
  32. package/dist/cjs/{component-CIPdC4D5.js.map → component-CW5wb_pp.js.map} +1 -1
  33. package/dist/cjs/{component-BeYj5Mj7.js → component-Cil9gb9B.js} +4 -4
  34. package/dist/cjs/{component-BeYj5Mj7.js.map → component-Cil9gb9B.js.map} +1 -1
  35. package/dist/cjs/{component-CkmMBS21.js → component-DiZZuyvd.js} +3 -3
  36. package/dist/cjs/{component-CkmMBS21.js.map → component-DiZZuyvd.js.map} +1 -1
  37. package/dist/cjs/{controller-EGjo0CNU.js → controller-D7fs-zAg.js} +3 -3
  38. package/dist/cjs/{controller-EGjo0CNU.js.map → controller-D7fs-zAg.js.map} +1 -1
  39. package/dist/cjs/{controller-BYJQU8MT.js → controller-FOi3Zxee.js} +3 -3
  40. package/dist/cjs/{controller-BYJQU8MT.js.map → controller-FOi3Zxee.js.map} +1 -1
  41. package/dist/cjs/{controller-CgMfd7AP.js → controller-W_SatpiR.js} +3 -3
  42. package/dist/cjs/{controller-CgMfd7AP.js.map → controller-W_SatpiR.js.map} +1 -1
  43. package/dist/cjs/{controller-icon-BhrXaquh.js → controller-icon-DV98fpYu.js} +6 -6
  44. package/dist/cjs/{controller-icon-BhrXaquh.js.map → controller-icon-DV98fpYu.js.map} +1 -1
  45. package/dist/cjs/{dev.utils-jDR6dPer.js → dev.utils-DveAli4I.js} +3 -3
  46. package/dist/cjs/{dev.utils-jDR6dPer.js.map → dev.utils-DveAli4I.js.map} +1 -1
  47. package/dist/cjs/{devtools-tZgX441T.js → devtools-Bvyq4hbv.js} +4 -4
  48. package/dist/cjs/{devtools-tZgX441T.js.map → devtools-Bvyq4hbv.js.map} +1 -1
  49. package/dist/cjs/{index-D_V4aONe.js → index-DPv13Qg6.js} +3 -3
  50. package/dist/cjs/{index-D_V4aONe.js.map → index-DPv13Qg6.js.map} +1 -1
  51. package/dist/cjs/kol-abbr.cjs.entry.js +2 -2
  52. package/dist/cjs/kol-accordion.cjs.entry.js +5 -5
  53. package/dist/cjs/kol-alert-wc.cjs.entry.js +4 -4
  54. package/dist/cjs/kol-alert.cjs.entry.js +2 -2
  55. package/dist/cjs/kol-avatar.cjs.entry.js +1 -1
  56. package/dist/cjs/kol-badge.cjs.entry.js +5 -5
  57. package/dist/cjs/kol-breadcrumb.cjs.entry.js +3 -3
  58. package/dist/cjs/kol-button-link.cjs.entry.js +2 -2
  59. package/dist/cjs/kol-button-wc.cjs.entry.js +5 -5
  60. package/dist/cjs/kol-button.cjs.entry.js +2 -2
  61. package/dist/cjs/kol-card-wc.cjs.entry.js +6 -6
  62. package/dist/cjs/kol-card.cjs.entry.js +2 -2
  63. package/dist/cjs/kol-click-button.cjs.entry.js +2 -2
  64. package/dist/cjs/kol-combobox.cjs.entry.js +13 -13
  65. package/dist/cjs/kol-details.cjs.entry.js +5 -5
  66. package/dist/cjs/kol-dialog-wc.cjs.entry.js +2 -2
  67. package/dist/cjs/kol-dialog.cjs.entry.js +2 -2
  68. package/dist/cjs/kol-drawer.cjs.entry.js +3 -3
  69. package/dist/cjs/kol-form.cjs.entry.js +5 -5
  70. package/dist/cjs/kol-heading.cjs.entry.js +1 -1
  71. package/dist/cjs/kol-icon.cjs.entry.js +3 -3
  72. package/dist/cjs/kol-image.cjs.entry.js +1 -1
  73. package/dist/cjs/kol-input-checkbox.cjs.entry.js +12 -12
  74. package/dist/cjs/kol-input-color.cjs.entry.js +12 -12
  75. package/dist/cjs/kol-input-date.cjs.entry.js +12 -12
  76. package/dist/cjs/kol-input-email.cjs.entry.js +14 -14
  77. package/dist/cjs/kol-input-file.cjs.entry.js +12 -12
  78. package/dist/cjs/kol-input-number.cjs.entry.js +12 -12
  79. package/dist/cjs/kol-input-password.cjs.entry.js +13 -13
  80. package/dist/cjs/kol-input-radio.cjs.entry.js +12 -12
  81. package/dist/cjs/kol-input-range.cjs.entry.js +12 -12
  82. package/dist/cjs/kol-input-text.cjs.entry.js +14 -14
  83. package/dist/cjs/kol-kolibri.cjs.entry.js +1 -1
  84. package/dist/cjs/kol-link-button.cjs.entry.js +2 -2
  85. package/dist/cjs/kol-link-wc.cjs.entry.js +6 -6
  86. package/dist/cjs/kol-link.cjs.entry.js +7 -7
  87. package/dist/cjs/kol-meter.cjs.entry.js +1 -1
  88. package/dist/cjs/kol-modal.cjs.entry.js +2 -2
  89. package/dist/cjs/kol-nav.cjs.entry.js +3 -3
  90. package/dist/cjs/kol-pagination-wc.cjs.entry.js +2 -2
  91. package/dist/cjs/kol-pagination.cjs.entry.js +2 -2
  92. package/dist/cjs/kol-popover-button-wc.cjs.entry.js +2 -2
  93. package/dist/cjs/kol-popover-button.cjs.entry.js +2 -2
  94. package/dist/cjs/kol-progress.cjs.entry.js +1 -1
  95. package/dist/cjs/kol-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/kol-select-wc.cjs.entry.js +10 -10
  97. package/dist/cjs/kol-select.cjs.entry.js +2 -2
  98. package/dist/cjs/kol-single-select.cjs.entry.js +14 -14
  99. package/dist/cjs/kol-skeleton.cjs.entry.js +2 -2
  100. package/dist/cjs/kol-skip-nav.cjs.entry.js +2 -2
  101. package/dist/cjs/kol-spin.cjs.entry.js +2 -2
  102. package/dist/cjs/kol-split-button.cjs.entry.js +2 -2
  103. package/dist/cjs/kol-table-settings-wc.cjs.entry.js +1 -1
  104. package/dist/cjs/kol-table-stateful.cjs.entry.js +2 -2
  105. package/dist/cjs/kol-table-stateless-wc.cjs.entry.js +6 -6
  106. package/dist/cjs/kol-table-stateless.cjs.entry.js +2 -2
  107. package/dist/cjs/kol-tabs.cjs.entry.js +3 -3
  108. package/dist/cjs/kol-textarea.cjs.entry.js +10 -10
  109. package/dist/cjs/kol-toast-container.cjs.entry.js +7 -7
  110. package/dist/cjs/kol-toolbar.cjs.entry.js +2 -2
  111. package/dist/cjs/kol-tooltip-wc.cjs.entry.js +4 -4
  112. package/dist/cjs/kol-tree-item-wc.cjs.entry.js +3 -3
  113. package/dist/cjs/kol-tree-item.cjs.entry.js +2 -2
  114. package/dist/cjs/kol-tree-wc.cjs.entry.js +1 -1
  115. package/dist/cjs/kol-tree.cjs.entry.js +1 -1
  116. package/dist/cjs/kol-version.cjs.entry.js +1 -1
  117. package/dist/cjs/kolibri.cjs.js +2 -2
  118. package/dist/cjs/loader.cjs.js +2 -2
  119. package/dist/cjs/test-component.cjs.entry.js +1 -1
  120. package/dist/collection/components/abbr/style.css +2 -2
  121. package/dist/collection/components/accordion/style.css +2 -2
  122. package/dist/collection/components/alert/style.css +2 -2
  123. package/dist/collection/components/badge/style.css +2 -2
  124. package/dist/collection/components/breadcrumb/style.css +2 -2
  125. package/dist/collection/components/button/style.css +2 -2
  126. package/dist/collection/components/button-link/style.css +2 -2
  127. package/dist/collection/components/card/style.css +2 -2
  128. package/dist/collection/components/combobox/style.css +2 -2
  129. package/dist/collection/components/details/style.css +2 -2
  130. package/dist/collection/components/dialog/style.css +2 -2
  131. package/dist/collection/components/drawer/style.css +2 -2
  132. package/dist/collection/components/form/style.css +2 -2
  133. package/dist/collection/components/icon/style.css +2 -2
  134. package/dist/collection/components/input-checkbox/style.css +2 -2
  135. package/dist/collection/components/input-color/style.css +2 -2
  136. package/dist/collection/components/input-date/style.css +2 -2
  137. package/dist/collection/components/input-email/style.css +2 -2
  138. package/dist/collection/components/input-file/style.css +2 -2
  139. package/dist/collection/components/input-number/style.css +2 -2
  140. package/dist/collection/components/input-password/style.css +2 -2
  141. package/dist/collection/components/input-radio/style.css +2 -2
  142. package/dist/collection/components/input-range/style.css +2 -2
  143. package/dist/collection/components/input-text/style.css +2 -2
  144. package/dist/collection/components/link/style.css +2 -2
  145. package/dist/collection/components/link-button/style.css +2 -2
  146. package/dist/collection/components/modal/style.css +2 -2
  147. package/dist/collection/components/nav/style.css +2 -2
  148. package/dist/collection/components/pagination/style.css +2 -2
  149. package/dist/collection/components/popover-button/style.css +2 -2
  150. package/dist/collection/components/select/style.css +2 -2
  151. package/dist/collection/components/single-select/style.css +2 -2
  152. package/dist/collection/components/skip-nav/style.css +2 -2
  153. package/dist/collection/components/split-button/style.css +2 -2
  154. package/dist/collection/components/table-stateful/style.css +2 -2
  155. package/dist/collection/components/table-stateless/style.css +2 -2
  156. package/dist/collection/components/tabs/style.css +2 -2
  157. package/dist/collection/components/textarea/style.css +2 -2
  158. package/dist/collection/components/toaster/style.css +2 -2
  159. package/dist/collection/components/toolbar/style.css +2 -2
  160. package/dist/collection/components/tree-item/style.css +2 -2
  161. package/dist/components/kol-abbr.js +1 -1
  162. package/dist/components/kol-accordion.js +1 -1
  163. package/dist/components/kol-alert.js +1 -1
  164. package/dist/components/kol-badge.js +1 -1
  165. package/dist/components/kol-breadcrumb.js +1 -1
  166. package/dist/components/kol-button-link.js +1 -1
  167. package/dist/components/kol-button.js +1 -1
  168. package/dist/components/kol-card.js +1 -1
  169. package/dist/components/kol-combobox.js +1 -1
  170. package/dist/components/kol-details.js +1 -1
  171. package/dist/components/kol-dialog.js +1 -1
  172. package/dist/components/kol-drawer.js +1 -1
  173. package/dist/components/kol-form.js +1 -1
  174. package/dist/components/kol-icon.js +1 -1
  175. package/dist/components/kol-input-checkbox.js +1 -1
  176. package/dist/components/kol-input-color.js +1 -1
  177. package/dist/components/kol-input-date.js +1 -1
  178. package/dist/components/kol-input-email.js +1 -1
  179. package/dist/components/kol-input-file.js +1 -1
  180. package/dist/components/kol-input-number.js +1 -1
  181. package/dist/components/kol-input-password.js +1 -1
  182. package/dist/components/kol-input-radio.js +1 -1
  183. package/dist/components/kol-input-range.js +1 -1
  184. package/dist/components/kol-input-text.js +1 -1
  185. package/dist/components/kol-link-button.js +1 -1
  186. package/dist/components/kol-link.js +1 -1
  187. package/dist/components/kol-modal.js +1 -1
  188. package/dist/components/kol-nav.js +1 -1
  189. package/dist/components/kol-pagination.js +1 -1
  190. package/dist/components/kol-popover-button.js +1 -1
  191. package/dist/components/kol-select.js +1 -1
  192. package/dist/components/kol-single-select.js +1 -1
  193. package/dist/components/kol-skip-nav.js +1 -1
  194. package/dist/components/kol-split-button.js +1 -1
  195. package/dist/components/kol-table-stateful.js +1 -1
  196. package/dist/components/kol-table-stateless.js +1 -1
  197. package/dist/components/kol-tabs.js +1 -1
  198. package/dist/components/kol-textarea.js +1 -1
  199. package/dist/components/kol-toast-container.js +1 -1
  200. package/dist/components/kol-toolbar.js +1 -1
  201. package/dist/components/kol-tree-item.js +1 -1
  202. package/dist/esm/{Alert-XvOlPesJ.js → Alert-nHFVx_cd.js} +5 -5
  203. package/dist/{kolibri/Alert-XvOlPesJ.js.map → esm/Alert-nHFVx_cd.js.map} +1 -1
  204. package/dist/esm/{Collapsible-DoZaXLnb.js → Collapsible-S595Ij0G.js} +5 -5
  205. package/dist/{kolibri/Collapsible-DoZaXLnb.js.map → esm/Collapsible-S595Ij0G.js.map} +1 -1
  206. package/dist/esm/{CustomSuggestionsOptionsGroup-OlSJMJOe.js → CustomSuggestionsOptionsGroup-DInsCHfV.js} +3 -3
  207. package/dist/{kolibri/CustomSuggestionsOptionsGroup-OlSJMJOe.js.map → esm/CustomSuggestionsOptionsGroup-DInsCHfV.js.map} +1 -1
  208. package/dist/esm/{FieldControlStateWrapper-MPQg1DYb.js → FieldControlStateWrapper-BwI1wlul.js} +7 -7
  209. package/dist/esm/{FieldControlStateWrapper-MPQg1DYb.js.map → FieldControlStateWrapper-BwI1wlul.js.map} +1 -1
  210. package/dist/esm/{FormFieldStateWrapper-DuENCjwI.js → FormFieldStateWrapper-BgGFJdrm.js} +7 -7
  211. package/dist/{kolibri/FormFieldStateWrapper-DuENCjwI.js.map → esm/FormFieldStateWrapper-BgGFJdrm.js.map} +1 -1
  212. package/dist/esm/{Heading-BGtN1KkQ.js → Heading-_y3UeyOX.js} +3 -3
  213. package/dist/{kolibri/Heading-BGtN1KkQ.js.map → esm/Heading-_y3UeyOX.js.map} +1 -1
  214. package/dist/esm/{Input-DdJF9sdj.js → Input-B_-Gm6vX.js} +5 -5
  215. package/dist/{kolibri/Input-DdJF9sdj.js.map → esm/Input-B_-Gm6vX.js.map} +1 -1
  216. package/dist/esm/{InputStateWrapper-CJkVS_go.js → InputStateWrapper-0kxDqz6v.js} +6 -6
  217. package/dist/esm/{InputStateWrapper-CJkVS_go.js.map → InputStateWrapper-0kxDqz6v.js.map} +1 -1
  218. package/dist/esm/{app-globals-DJgPFDlb.js → app-globals-DM7hvTkz.js} +4 -4
  219. package/dist/esm/{app-globals-DJgPFDlb.js.map → app-globals-DM7hvTkz.js.map} +1 -1
  220. package/dist/esm/{component-B07x6VKl.js → component-BEhd79LB.js} +4 -4
  221. package/dist/esm/{component-B07x6VKl.js.map → component-BEhd79LB.js.map} +1 -1
  222. package/dist/esm/{component-DzjceEod.js → component-BzYogsT5.js} +3 -3
  223. package/dist/esm/{component-DzjceEod.js.map → component-BzYogsT5.js.map} +1 -1
  224. package/dist/esm/{component-B1AXhKT6.js → component-C6NzmBat.js} +3 -3
  225. package/dist/{kolibri/component-B1AXhKT6.js.map → esm/component-C6NzmBat.js.map} +1 -1
  226. package/dist/esm/{component-bmRP9KF4.js → component-CNKaHhqg.js} +6 -6
  227. package/dist/{kolibri/component-bmRP9KF4.js.map → esm/component-CNKaHhqg.js.map} +1 -1
  228. package/dist/esm/{component-BXlOrqPl.js → component-DKJS-qmN.js} +3 -3
  229. package/dist/{kolibri/component-BXlOrqPl.js.map → esm/component-DKJS-qmN.js.map} +1 -1
  230. package/dist/esm/{component-GMs5JPFl.js → component-DNnhKlmT.js} +4 -4
  231. package/dist/{kolibri/component-GMs5JPFl.js.map → esm/component-DNnhKlmT.js.map} +1 -1
  232. package/dist/esm/{controller-3veggkEZ.js → controller-BR59sUZB.js} +3 -3
  233. package/dist/esm/{controller-3veggkEZ.js.map → controller-BR59sUZB.js.map} +1 -1
  234. package/dist/esm/{controller-0l-d2tR9.js → controller-D-dRxA7h.js} +3 -3
  235. package/dist/{kolibri/controller-0l-d2tR9.js.map → esm/controller-D-dRxA7h.js.map} +1 -1
  236. package/dist/esm/{controller-CiQZpznm.js → controller-Duc5w-PB.js} +3 -3
  237. package/dist/esm/{controller-CiQZpznm.js.map → controller-Duc5w-PB.js.map} +1 -1
  238. package/dist/esm/{controller-icon-UG0vqWJT.js → controller-icon-BXPxRfrr.js} +6 -6
  239. package/dist/{kolibri/controller-icon-UG0vqWJT.js.map → esm/controller-icon-BXPxRfrr.js.map} +1 -1
  240. package/dist/esm/{dev.utils-BiOBe0-3.js → dev.utils-B-Wujhy_.js} +3 -3
  241. package/dist/esm/{dev.utils-BiOBe0-3.js.map → dev.utils-B-Wujhy_.js.map} +1 -1
  242. package/dist/esm/{devtools-DliuAd6t.js → devtools-Buor-bvV.js} +4 -4
  243. package/dist/{kolibri/devtools-DliuAd6t.js.map → esm/devtools-Buor-bvV.js.map} +1 -1
  244. package/dist/esm/{index-Dj5WSwnc.js → index-DaiXwseL.js} +3 -3
  245. package/dist/{kolibri/index-Dj5WSwnc.js.map → esm/index-DaiXwseL.js.map} +1 -1
  246. package/dist/esm/kol-abbr.entry.js +2 -2
  247. package/dist/esm/kol-accordion.entry.js +5 -5
  248. package/dist/esm/kol-alert-wc.entry.js +4 -4
  249. package/dist/esm/kol-alert.entry.js +2 -2
  250. package/dist/esm/kol-avatar.entry.js +1 -1
  251. package/dist/esm/kol-badge.entry.js +5 -5
  252. package/dist/esm/kol-breadcrumb.entry.js +3 -3
  253. package/dist/esm/kol-button-link.entry.js +2 -2
  254. package/dist/esm/kol-button-wc.entry.js +5 -5
  255. package/dist/esm/kol-button.entry.js +2 -2
  256. package/dist/esm/kol-card-wc.entry.js +6 -6
  257. package/dist/esm/kol-card.entry.js +2 -2
  258. package/dist/esm/kol-click-button.entry.js +2 -2
  259. package/dist/esm/kol-combobox.entry.js +13 -13
  260. package/dist/esm/kol-details.entry.js +5 -5
  261. package/dist/esm/kol-dialog-wc.entry.js +2 -2
  262. package/dist/esm/kol-dialog.entry.js +2 -2
  263. package/dist/esm/kol-drawer.entry.js +3 -3
  264. package/dist/esm/kol-form.entry.js +5 -5
  265. package/dist/esm/kol-heading.entry.js +1 -1
  266. package/dist/esm/kol-icon.entry.js +3 -3
  267. package/dist/esm/kol-image.entry.js +1 -1
  268. package/dist/esm/kol-input-checkbox.entry.js +12 -12
  269. package/dist/esm/kol-input-color.entry.js +12 -12
  270. package/dist/esm/kol-input-date.entry.js +12 -12
  271. package/dist/esm/kol-input-email.entry.js +14 -14
  272. package/dist/esm/kol-input-file.entry.js +12 -12
  273. package/dist/esm/kol-input-number.entry.js +12 -12
  274. package/dist/esm/kol-input-password.entry.js +13 -13
  275. package/dist/esm/kol-input-radio.entry.js +12 -12
  276. package/dist/esm/kol-input-range.entry.js +12 -12
  277. package/dist/esm/kol-input-text.entry.js +14 -14
  278. package/dist/esm/kol-kolibri.entry.js +1 -1
  279. package/dist/esm/kol-link-button.entry.js +2 -2
  280. package/dist/esm/kol-link-wc.entry.js +6 -6
  281. package/dist/esm/kol-link.entry.js +7 -7
  282. package/dist/esm/kol-meter.entry.js +1 -1
  283. package/dist/esm/kol-modal.entry.js +2 -2
  284. package/dist/esm/kol-nav.entry.js +3 -3
  285. package/dist/esm/kol-pagination-wc.entry.js +2 -2
  286. package/dist/esm/kol-pagination.entry.js +2 -2
  287. package/dist/esm/kol-popover-button-wc.entry.js +2 -2
  288. package/dist/esm/kol-popover-button.entry.js +2 -2
  289. package/dist/esm/kol-progress.entry.js +1 -1
  290. package/dist/esm/kol-quote.entry.js +1 -1
  291. package/dist/esm/kol-select-wc.entry.js +10 -10
  292. package/dist/esm/kol-select.entry.js +2 -2
  293. package/dist/esm/kol-single-select.entry.js +14 -14
  294. package/dist/esm/kol-skeleton.entry.js +2 -2
  295. package/dist/esm/kol-skip-nav.entry.js +2 -2
  296. package/dist/esm/kol-spin.entry.js +2 -2
  297. package/dist/esm/kol-split-button.entry.js +2 -2
  298. package/dist/esm/kol-table-settings-wc.entry.js +1 -1
  299. package/dist/esm/kol-table-stateful.entry.js +2 -2
  300. package/dist/esm/kol-table-stateless-wc.entry.js +6 -6
  301. package/dist/esm/kol-table-stateless.entry.js +2 -2
  302. package/dist/esm/kol-tabs.entry.js +3 -3
  303. package/dist/esm/kol-textarea.entry.js +10 -10
  304. package/dist/esm/kol-toast-container.entry.js +7 -7
  305. package/dist/esm/kol-toolbar.entry.js +2 -2
  306. package/dist/esm/kol-tooltip-wc.entry.js +4 -4
  307. package/dist/esm/kol-tree-item-wc.entry.js +3 -3
  308. package/dist/esm/kol-tree-item.entry.js +2 -2
  309. package/dist/esm/kol-tree-wc.entry.js +1 -1
  310. package/dist/esm/kol-tree.entry.js +1 -1
  311. package/dist/esm/kol-version.entry.js +1 -1
  312. package/dist/esm/kolibri.js +3 -3
  313. package/dist/esm/loader.js +3 -3
  314. package/dist/esm/test-component.entry.js +1 -1
  315. package/dist/kolibri/{Alert-XvOlPesJ.js → Alert-nHFVx_cd.js} +2 -2
  316. package/dist/{esm/Alert-XvOlPesJ.js.map → kolibri/Alert-nHFVx_cd.js.map} +1 -1
  317. package/dist/kolibri/{Collapsible-DoZaXLnb.js → Collapsible-S595Ij0G.js} +2 -2
  318. package/dist/{esm/Collapsible-DoZaXLnb.js.map → kolibri/Collapsible-S595Ij0G.js.map} +1 -1
  319. package/dist/kolibri/CustomSuggestionsOptionsGroup-DInsCHfV.js +5 -0
  320. package/dist/{esm/CustomSuggestionsOptionsGroup-OlSJMJOe.js.map → kolibri/CustomSuggestionsOptionsGroup-DInsCHfV.js.map} +1 -1
  321. package/dist/kolibri/FieldControlStateWrapper-BwI1wlul.js +5 -0
  322. package/dist/kolibri/{FieldControlStateWrapper-MPQg1DYb.js.map → FieldControlStateWrapper-BwI1wlul.js.map} +1 -1
  323. package/dist/kolibri/FormFieldStateWrapper-BgGFJdrm.js +5 -0
  324. package/dist/{esm/FormFieldStateWrapper-DuENCjwI.js.map → kolibri/FormFieldStateWrapper-BgGFJdrm.js.map} +1 -1
  325. package/dist/kolibri/Heading-_y3UeyOX.js +5 -0
  326. package/dist/{esm/Heading-BGtN1KkQ.js.map → kolibri/Heading-_y3UeyOX.js.map} +1 -1
  327. package/dist/kolibri/Input-B_-Gm6vX.js +5 -0
  328. package/dist/{esm/Input-DdJF9sdj.js.map → kolibri/Input-B_-Gm6vX.js.map} +1 -1
  329. package/dist/kolibri/InputStateWrapper-0kxDqz6v.js +5 -0
  330. package/dist/kolibri/{InputStateWrapper-CJkVS_go.js.map → InputStateWrapper-0kxDqz6v.js.map} +1 -1
  331. package/dist/kolibri/app-globals-DM7hvTkz.js +5 -0
  332. package/dist/kolibri/{app-globals-DJgPFDlb.js.map → app-globals-DM7hvTkz.js.map} +1 -1
  333. package/dist/kolibri/{component-B07x6VKl.js → component-BEhd79LB.js} +2 -2
  334. package/dist/kolibri/{component-B07x6VKl.js.map → component-BEhd79LB.js.map} +1 -1
  335. package/dist/kolibri/component-BzYogsT5.js +5 -0
  336. package/dist/kolibri/{component-DzjceEod.js.map → component-BzYogsT5.js.map} +1 -1
  337. package/dist/kolibri/component-C6NzmBat.js +5 -0
  338. package/dist/{esm/component-B1AXhKT6.js.map → kolibri/component-C6NzmBat.js.map} +1 -1
  339. package/dist/kolibri/component-CNKaHhqg.js +5 -0
  340. package/dist/{esm/component-bmRP9KF4.js.map → kolibri/component-CNKaHhqg.js.map} +1 -1
  341. package/dist/kolibri/{component-BXlOrqPl.js → component-DKJS-qmN.js} +2 -2
  342. package/dist/{esm/component-BXlOrqPl.js.map → kolibri/component-DKJS-qmN.js.map} +1 -1
  343. package/dist/kolibri/{component-GMs5JPFl.js → component-DNnhKlmT.js} +2 -2
  344. package/dist/{esm/component-GMs5JPFl.js.map → kolibri/component-DNnhKlmT.js.map} +1 -1
  345. package/dist/kolibri/{controller-3veggkEZ.js → controller-BR59sUZB.js} +2 -2
  346. package/dist/kolibri/{controller-3veggkEZ.js.map → controller-BR59sUZB.js.map} +1 -1
  347. package/dist/kolibri/{controller-0l-d2tR9.js → controller-D-dRxA7h.js} +2 -2
  348. package/dist/{esm/controller-0l-d2tR9.js.map → kolibri/controller-D-dRxA7h.js.map} +1 -1
  349. package/dist/kolibri/{controller-CiQZpznm.js → controller-Duc5w-PB.js} +2 -2
  350. package/dist/kolibri/{controller-CiQZpznm.js.map → controller-Duc5w-PB.js.map} +1 -1
  351. package/dist/kolibri/controller-icon-BXPxRfrr.js +5 -0
  352. package/dist/{esm/controller-icon-UG0vqWJT.js.map → kolibri/controller-icon-BXPxRfrr.js.map} +1 -1
  353. package/dist/kolibri/{dev.utils-BiOBe0-3.js → dev.utils-B-Wujhy_.js} +2 -2
  354. package/dist/kolibri/{dev.utils-BiOBe0-3.js.map → dev.utils-B-Wujhy_.js.map} +1 -1
  355. package/dist/kolibri/{devtools-DliuAd6t.js → devtools-Buor-bvV.js} +2 -2
  356. package/dist/{esm/devtools-DliuAd6t.js.map → kolibri/devtools-Buor-bvV.js.map} +1 -1
  357. package/dist/kolibri/{index-Dj5WSwnc.js → index-DaiXwseL.js} +2 -2
  358. package/dist/{esm/index-Dj5WSwnc.js.map → kolibri/index-DaiXwseL.js.map} +1 -1
  359. package/dist/kolibri/kol-abbr.entry.js +1 -1
  360. package/dist/kolibri/kol-accordion.entry.js +1 -1
  361. package/dist/kolibri/kol-alert-wc.entry.js +1 -1
  362. package/dist/kolibri/kol-alert.entry.js +1 -1
  363. package/dist/kolibri/kol-avatar.entry.js +1 -1
  364. package/dist/kolibri/kol-badge.entry.js +1 -1
  365. package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
  366. package/dist/kolibri/kol-button-link.entry.js +1 -1
  367. package/dist/kolibri/kol-button-wc.entry.js +1 -1
  368. package/dist/kolibri/kol-button.entry.js +1 -1
  369. package/dist/kolibri/kol-card-wc.entry.js +1 -1
  370. package/dist/kolibri/kol-card.entry.js +1 -1
  371. package/dist/kolibri/kol-click-button.entry.js +1 -1
  372. package/dist/kolibri/kol-combobox.entry.js +1 -1
  373. package/dist/kolibri/kol-details.entry.js +1 -1
  374. package/dist/kolibri/kol-dialog-wc.entry.js +1 -1
  375. package/dist/kolibri/kol-dialog.entry.js +1 -1
  376. package/dist/kolibri/kol-drawer.entry.js +1 -1
  377. package/dist/kolibri/kol-form.entry.js +1 -1
  378. package/dist/kolibri/kol-heading.entry.js +1 -1
  379. package/dist/kolibri/kol-icon.entry.js +1 -1
  380. package/dist/kolibri/kol-image.entry.js +1 -1
  381. package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
  382. package/dist/kolibri/kol-input-color.entry.js +1 -1
  383. package/dist/kolibri/kol-input-date.entry.js +1 -1
  384. package/dist/kolibri/kol-input-email.entry.js +1 -1
  385. package/dist/kolibri/kol-input-email.entry.js.map +1 -1
  386. package/dist/kolibri/kol-input-file.entry.js +1 -1
  387. package/dist/kolibri/kol-input-number.entry.js +1 -1
  388. package/dist/kolibri/kol-input-password.entry.js +1 -1
  389. package/dist/kolibri/kol-input-radio.entry.js +1 -1
  390. package/dist/kolibri/kol-input-range.entry.js +1 -1
  391. package/dist/kolibri/kol-input-text.entry.js +1 -1
  392. package/dist/kolibri/kol-kolibri.entry.js +1 -1
  393. package/dist/kolibri/kol-link-button.entry.js +1 -1
  394. package/dist/kolibri/kol-link-wc.entry.js +1 -1
  395. package/dist/kolibri/kol-link.entry.js +1 -1
  396. package/dist/kolibri/kol-link.entry.js.map +1 -1
  397. package/dist/kolibri/kol-meter.entry.js +1 -1
  398. package/dist/kolibri/kol-modal.entry.js +1 -1
  399. package/dist/kolibri/kol-nav.entry.js +1 -1
  400. package/dist/kolibri/kol-pagination-wc.entry.js +1 -1
  401. package/dist/kolibri/kol-pagination.entry.js +1 -1
  402. package/dist/kolibri/kol-popover-button-wc.entry.js +1 -1
  403. package/dist/kolibri/kol-popover-button.entry.js +1 -1
  404. package/dist/kolibri/kol-progress.entry.js +1 -1
  405. package/dist/kolibri/kol-quote.entry.js +1 -1
  406. package/dist/kolibri/kol-select-wc.entry.js +1 -1
  407. package/dist/kolibri/kol-select.entry.js +1 -1
  408. package/dist/kolibri/kol-single-select.entry.js +1 -1
  409. package/dist/kolibri/kol-skeleton.entry.js +1 -1
  410. package/dist/kolibri/kol-skip-nav.entry.js +1 -1
  411. package/dist/kolibri/kol-spin.entry.js +1 -1
  412. package/dist/kolibri/kol-split-button.entry.js +1 -1
  413. package/dist/kolibri/kol-table-settings-wc.entry.js +1 -1
  414. package/dist/kolibri/kol-table-stateful.entry.js +1 -1
  415. package/dist/kolibri/kol-table-stateless-wc.entry.js +1 -1
  416. package/dist/kolibri/kol-table-stateless.entry.js +1 -1
  417. package/dist/kolibri/kol-tabs.entry.js +1 -1
  418. package/dist/kolibri/kol-textarea.entry.js +1 -1
  419. package/dist/kolibri/kol-toast-container.entry.js +1 -1
  420. package/dist/kolibri/kol-toolbar.entry.js +1 -1
  421. package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
  422. package/dist/kolibri/kol-tree-item-wc.entry.js +1 -1
  423. package/dist/kolibri/kol-tree-item.entry.js +1 -1
  424. package/dist/kolibri/kol-tree-wc.entry.js +1 -1
  425. package/dist/kolibri/kol-tree.entry.js +1 -1
  426. package/dist/kolibri/kol-version.entry.js +1 -1
  427. package/dist/kolibri/kolibri.esm.js +1 -1
  428. package/dist/kolibri/test-component.entry.js +1 -1
  429. package/package.json +1 -1
  430. package/dist/kolibri/CustomSuggestionsOptionsGroup-OlSJMJOe.js +0 -5
  431. package/dist/kolibri/FieldControlStateWrapper-MPQg1DYb.js +0 -5
  432. package/dist/kolibri/FormFieldStateWrapper-DuENCjwI.js +0 -5
  433. package/dist/kolibri/Heading-BGtN1KkQ.js +0 -5
  434. package/dist/kolibri/Input-DdJF9sdj.js +0 -5
  435. package/dist/kolibri/InputStateWrapper-CJkVS_go.js +0 -5
  436. package/dist/kolibri/app-globals-DJgPFDlb.js +0 -5
  437. package/dist/kolibri/component-B1AXhKT6.js +0 -5
  438. package/dist/kolibri/component-DzjceEod.js +0 -5
  439. package/dist/kolibri/component-bmRP9KF4.js +0 -5
  440. package/dist/kolibri/controller-icon-UG0vqWJT.js +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"component-Bjpk6NcE.js","sources":["src/internal/props/access-key.ts","src/internal/props/aria-controls.ts","src/internal/props/aria-current-value.ts","src/internal/props/aria-description.ts","src/internal/props/aria-expanded.ts","src/internal/props/aria-owns.ts","src/internal/props/helpers/validators.ts","src/internal/props/custom-class.ts","src/internal/props/disabled.ts","src/internal/props/download.ts","src/internal/props/hide-label.ts","src/internal/props/inline.ts","src/internal/props/link-callbacks.ts","src/internal/props/link-role.ts","src/internal/props/link-target.ts","src/internal/props/short-key.ts","src/internal/props/span-icons.ts","src/internal/props/tab-index.ts","src/internal/props/tooltip-align.ts","src/internal/props/variant.ts","src/internal/functional-components/link/api.tsx","src/internal/functional-components/bem-root-node/component.tsx","src/internal/functional-components/link/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AccessKeyProp = SimpleProp<'accessKey', string>;\nexport const accessKeyProp = createPropDefinition<AccessKeyProp>('accessKey', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaControlsProp = SimpleProp<'ariaControls', string>;\nexport const ariaControlsProp = createPropDefinition<AriaControlsProp>('ariaControls', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * The allowed values for the aria-current attribute.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current\n */\nexport const ARIA_CURRENT_VALUE_OPTIONS = ['date', 'location', 'page', 'step', 'time', 'true', 'false'] as const;\nexport type AriaCurrentValuePropType = (typeof ARIA_CURRENT_VALUE_OPTIONS)[number];\n\nexport type AriaCurrentValueProp = SimpleProp<'ariaCurrentValue', AriaCurrentValuePropType>;\n\n/**\n * Normalizes the value to a valid aria-current value.\n *\n * Graceful degradation: when the (already normalized, non-null) string is not one of the\n * allowed options, falls back to the default `'page'` instead of throwing. The factory's\n * `apply` handles undefined/null before this is reached.\n */\nfunction normalizeAriaCurrentValue(value: unknown): AriaCurrentValuePropType {\n\tconst str = normalizeString(value);\n\treturn (ARIA_CURRENT_VALUE_OPTIONS as readonly string[]).includes(str) ? (str as AriaCurrentValuePropType) : 'page';\n}\n\nexport const ariaCurrentValueProp = createPropDefinition<AriaCurrentValueProp>('ariaCurrentValue', 'page', normalizeAriaCurrentValue);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaDescriptionProp = SimpleProp<'ariaDescription', string>;\nexport const ariaDescriptionProp = createPropDefinition<AriaDescriptionProp>('ariaDescription', '', normalizeString);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The internal type uses the sentinel `''` for \"not set\" because the prop-definition factory\n * requires a non-undefined default value (same pattern as `linkRoleProp`). A plain link must\n * not render `aria-expanded=\"false\"` — assistive technologies would announce a collapsed\n * state that the link does not actually manage.\n */\nexport type AriaExpandedProp = Prop<'ariaExpanded', boolean | undefined, 'true' | 'false' | ''>;\n\n/**\n * Normalizes the value to the aria-expanded tokens.\n *\n * Booleans and their string equivalents map to `'true'`/`'false'`; anything else degrades to\n * the sentinel `''` so the attribute is omitted. undefined/null are handled by the factory's\n * `apply` before this is reached.\n */\nfunction normalizeAriaExpanded(value: unknown): 'true' | 'false' | '' {\n\tif (value === true || value === 'true') {\n\t\treturn 'true';\n\t}\n\tif (value === false || value === 'false') {\n\t\treturn 'false';\n\t}\n\treturn '';\n}\n\nexport const ariaExpandedProp = createPropDefinition<AriaExpandedProp>('ariaExpanded', '', normalizeAriaExpanded);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaOwnsProp = SimpleProp<'ariaOwns', string>;\nexport const ariaOwnsProp = createPropDefinition<AriaOwnsProp>('ariaOwns', '', normalizeString);\n","/**\n * Shared validators for prop definitions.\n * Centralized here so custom-class and variant props share one regex\n * (avoids the SAFE_CLASS_NAME_RE duplication flagged in PR #10110).\n *\n * Why the minimum length is `{0,60}` (1–61 chars) and not the legacy variant-only `{3,60}`:\n * on develop the two props were validated differently — `_variant` used the strict regex,\n * `_customClass` had no regex at all (`watchString` accepted any string). Unifying them under\n * the strict regex would have silently REJECTED short custom-class values (e.g. `\"abc\"`) that\n * were valid on develop; the relaxed minimum is the lesser behavior change. The relaxation also\n * widens `_variant` (1–3 char variant names are now valid), which is accepted: no component\n * uses variant names that short through this definition. Note that multi-class values like\n * `\"foo bar\"` are rejected for `_customClass` (single safe class name only) — stricter than\n * develop's `watchString`, but consistent with `_variant` semantics. Pinned by tests in\n * `validators.spec.ts`.\n */\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;\n\nexport const isSafeClassName = (value: unknown): value is string => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\nimport { isSafeClassName } from './helpers/validators';\n\nexport type CustomClassProp = SimpleProp<'customClass', string>;\n\n/**\n * Validates the normalized custom-class value. An empty string is valid (means no custom class);\n * any non-empty value must be a single safe class name.\n */\nfunction validateCustomClass(value: string): boolean {\n\treturn value === '' || isSafeClassName(value);\n}\n\nexport const customClassProp = createPropDefinition<CustomClassProp>('customClass', '', normalizeString, validateCustomClass);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type DisabledProp = SimpleProp<'disabled', boolean>;\nexport const disabledProp = createPropDefinition<DisabledProp>('disabled', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type DownloadProp = SimpleProp<'download', string>;\nexport const downloadProp = createPropDefinition<DownloadProp>('download', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\n/**\n * Hide Label prop for controlling label visibility\n *\n * Description:\n * Specifies whether the label should be visually hidden.\n * When enabled, the label is not displayed but remains accessible to screen readers.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Default: false (label is visible)\n * - When true: label is hidden visually but remains available to assistive technologies (WCAG 1.3.1)\n * - The label content is still used for accessibility purposes\n * - Expert slot becomes visible when label is hidden\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n * @see https://www.a11yproject.com/posts/how-to-hide-content/\n */\nexport type HideLabelProp = SimpleProp<'hideLabel', boolean>;\nexport const hideLabelProp = createPropDefinition<HideLabelProp>('hideLabel', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type InlineProp = SimpleProp<'inline', boolean>;\nexport const inlineProp = createPropDefinition<InlineProp>('inline', true, normalizeBoolean);\n","import type { LinkOnCallbacksPropType } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\nexport type LinkCallbacksProp = SimpleProp<'on', LinkOnCallbacksPropType>;\n\n/**\n * Normalizes the callbacks object. The factory's `apply` handles undefined/null (falling back to\n * the default `{}`) before this is reached, so we only need to verify a non-null value is an object.\n */\nfunction normalizeLinkCallbacks(value: unknown): LinkOnCallbacksPropType {\n\tif (typeof value === 'object' && value !== null) {\n\t\treturn value as LinkOnCallbacksPropType;\n\t}\n\tthrow new Error(`Invalid on callbacks: expected object, got ${typeof value}`);\n}\n\nexport const linkCallbacksProp = createPropDefinition<LinkCallbacksProp>('on', {}, normalizeLinkCallbacks);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The allowed role values for a link/button that takes the place of an ARIA role.\n */\nexport type AlternativeButtonLinkRolePropType = 'tab' | 'treeitem';\n\nconst LINK_ROLE_OPTIONS: readonly AlternativeButtonLinkRolePropType[] = ['tab', 'treeitem'];\n\n/**\n * Role prop for kol-link.\n *\n * The external type is the optional union `'tab' | 'treeitem' | undefined`. Internally we use the\n * sentinel empty string `''` to represent \"no role\" because the prop-definition factory types the\n * default through `NonNullable<...>`, which does not admit `undefined`. Consumers that read the\n * normalized value should treat `''` as \"no explicit role\".\n */\nexport type LinkRoleProp = Prop<'role', AlternativeButtonLinkRolePropType | undefined, '' | AlternativeButtonLinkRolePropType>;\n\n/**\n * Normalizes the role value.\n *\n * Graceful degradation: when the value is one of the allowed roles it is returned; otherwise\n * (including any non-member string) the sentinel `''` is returned so the component renders\n * without an explicit role. The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeLinkRole(value: unknown): '' | AlternativeButtonLinkRolePropType {\n\treturn typeof value === 'string' && (LINK_ROLE_OPTIONS as readonly string[]).includes(value) ? (value as AlternativeButtonLinkRolePropType) : '';\n}\n\nexport const linkRoleProp = createPropDefinition<LinkRoleProp>('role', '', normalizeLinkRole);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type LinkTargetProp = SimpleProp<'target', string>;\nexport const linkTargetProp = createPropDefinition<LinkTargetProp>('target', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type ShortKeyProp = SimpleProp<'shortKey', string>;\nexport const shortKeyProp = createPropDefinition<ShortKeyProp>('shortKey', '', normalizeString);\n","import type { KoliBriIconsProp } from '../../schema/types';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeObject, normalizeString } from './helpers/normalizers';\n\n/**\n * Icons prop for multi-directional icon display\n *\n * Description:\n * Specifies icons to display in one or more directions (top, right, bottom, left).\n * Can accept either a single icon class or an object with directional icon specifications.\n *\n * Usage:\n * - String: A single icon class name (displayed on the left by default)\n * - Object: Directional icons (e.g., { top: 'icon-class', left: 'icon-class' })\n * - Default: empty object (no icons)\n *\n * Accessibility:\n * - Icons must have descriptive labels to meet WCAG 1.1.1\n * - Use the label prop to provide text alternatives\n * - Icons should not be the sole means of conveying information (WCAG 1.3.3)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html\n */\nexport type SpanIconsProp = SimpleProp<'icons', KoliBriIconsProp>;\n\nfunction normalizeSpanIcons(value: unknown): KoliBriIconsProp | never {\n\tif (!value || (typeof value === 'string' && value === '')) {\n\t\treturn {};\n\t}\n\t// If it's a string, return it as-is\n\tif (typeof value === 'string') {\n\t\treturn normalizeString(value);\n\t}\n\t// If it's an object, normalize it\n\tif (typeof value === 'object') {\n\t\treturn normalizeObject(value) as KoliBriIconsProp;\n\t}\n\tthrow new Error(`Invalid icons: ${typeof value}`);\n}\n\nfunction validateSpanIcons(value: KoliBriIconsProp): boolean {\n\t// String is valid if it's non-empty\n\tif (typeof value === 'string') {\n\t\treturn value.length > 0;\n\t}\n\t// Object is always valid (even if empty)\n\treturn typeof value === 'object' && value !== null;\n}\n\nexport const spanIconsProp = createPropDefinition<SpanIconsProp>('icons', {} as KoliBriIconsProp, normalizeSpanIcons, validateSpanIcons);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeInteger } from './helpers/normalizers';\n\nexport type TabIndexProp = SimpleProp<'tabIndex', number>;\nexport const tabIndexProp = createPropDefinition<TabIndexProp>('tabIndex', 0, normalizeInteger);\n","import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Tooltip align prop for kol-link.\n *\n * Same valid values as {@link alignProp} ('top' | 'right' | 'bottom' | 'left') but defaults to\n * `'right'` to match the legacy `_tooltipAlign` default on kol-link.\n */\nexport type TooltipAlignProp = SimpleProp<'tooltipAlign', AlignPropType>;\n\nfunction normalizeTooltipAlign(value: unknown): AlignPropType {\n\tconst str = normalizeString(value);\n\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\treturn str as AlignPropType;\n\t}\n\treturn 'right';\n}\n\nexport const tooltipAlignProp = createPropDefinition<TooltipAlignProp>('tooltipAlign', 'right', normalizeTooltipAlign, (v) =>\n\t(alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { isSafeClassName } from './helpers/validators';\n\n/**\n * Variant prop for class-name based variants (e.g. kol-link, kol-button).\n *\n * External type: `string | string[]` — a space-separated string of variant names or an array.\n * Internal type: `string[]` — always normalized to an array. An empty array means \"no variant\".\n *\n * This mirrors the legacy `validateVariantClassName` → `beforePatchString` pipeline, which split\n * strings by spaces into arrays before storing them in state. The `classNameFromVariant` renderer\n * only processes arrays, so normalizing here ensures the variant classes are always applied.\n */\nexport type VariantProp = Prop<'variant', string | string[], string[]>;\n\n/**\n * Normalizes the variant value to an array of variant tokens.\n *\n * - Arrays are passed through as-is.\n * - Strings are split by spaces into tokens (matches `beforePatchString`).\n * - The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeVariant(value: unknown): string[] {\n\tif (Array.isArray(value)) {\n\t\treturn value as string[];\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.split(' ');\n\t}\n\treturn [];\n}\n\n/**\n * Validates the normalized variant value.\n *\n * - Empty array means \"no variant\" and is valid.\n * - Non-empty arrays must consist entirely of safe class names.\n */\nfunction validateVariant(value: string[]): boolean {\n\treturn value.length === 0 || value.every(isSafeClassName);\n}\n\nexport const variantProp = createPropDefinition<VariantProp>('variant', [], normalizeVariant, validateVariant);\n","import {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaCurrentValueProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaOwnsProp,\n\tcustomClassProp,\n\tdisabledProp,\n\tdownloadProp,\n\thideLabelProp,\n\threfProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkCallbacksProp,\n\tlinkRoleProp,\n\tlinkTargetProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\n/**\n * Props configuration for the link component.\n *\n * `href` is the only required prop. All others are optional.\n *\n * Notes on prop choices:\n * - `labelWithExpertSlotProp` (not `labelProp`): no min/max length restriction, matching the\n * original `validateLabelWithExpertSlot`. The empty string enables the expert slot; this is\n * tracked separately via the `expertSlot` state because the factory collapses undefined → ''\n * (the default), which would wrongly enable the expert slot when no label was passed.\n * - `spanIconsProp` (not `iconsProp`): icons are `KoliBriIconsProp` (object), not a plain string.\n * - `tooltipAlignProp`: same valid values as `alignProp` but defaults to `'right'` (matching the\n * legacy `_tooltipAlign` default).\n */\nexport const linkPropsConfig = {\n\trequired: [hrefProp],\n\toptional: [\n\t\taccessKeyProp,\n\t\tariaControlsProp,\n\t\tariaCurrentValueProp,\n\t\tariaDescriptionProp,\n\t\tariaExpandedProp,\n\t\tariaOwnsProp,\n\t\tcustomClassProp,\n\t\tdisabledProp,\n\t\tdownloadProp,\n\t\thideLabelProp,\n\t\tspanIconsProp,\n\t\tinlineProp,\n\t\tlabelWithExpertSlotProp,\n\t\tlinkCallbacksProp,\n\t\tlinkRoleProp,\n\t\tlinkTargetProp,\n\t\tshortKeyProp,\n\t\ttabIndexProp,\n\t\ttooltipAlignProp,\n\t\tvariantProp,\n\t],\n} as const satisfies PropsConfigShape;\n\nexport type LinkApi = ApiFromConfig<\n\ttypeof linkPropsConfig,\n\t{\n\t\tCallbacks: {\n\t\t\t/**\n\t\t\t * Click handler bound to the anchor element. Implemented by the web component\n\t\t\t * (`handleAnchorClick`), which also dispatches the custom `KolEvent.click` event\n\t\t\t * on the host element.\n\t\t\t */\n\t\t\tanchorClick: (event: Event) => void;\n\t\t};\n\t\tMethods: {\n\t\t\tfocus: (options?: FocusOptions) => void;\n\t\t\tclick: () => void;\n\t\t};\n\t\tRefs: {\n\t\t\tanchor: HTMLAnchorElement;\n\t\t\ttooltip: HTMLDivElement;\n\t\t};\n\t\tStates: {\n\t\t\t/**\n\t\t\t * Derived aria-current value: one of the aria-current tokens when the link's href\n\t\t\t * matches the current location, otherwise an empty string (rendered as undefined →\n\t\t\t * no aria-current attribute). Managed via setState for reactivity.\n\t\t\t */\n\t\t\tariaCurrent: string;\n\t\t\t/**\n\t\t\t * DOM id of the visually-hidden span that carries the aria description. Generated\n\t\t\t * once per web component instance and referenced by the anchor's aria-describedby\n\t\t\t * attribute, since aria-description lacks screen reader support.\n\t\t\t */\n\t\t\tariaDescriptionId: string;\n\t\t\t/**\n\t\t\t * Whether the expert slot should be rendered. True only when the consumer explicitly\n\t\t\t * passed an empty-string label. When the label is undefined (default ''), the expert\n\t\t\t * slot stays off and the href is used as the fallback label text.\n\t\t\t */\n\t\t\texpertSlot: boolean;\n\t\t};\n\t}\n>;\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\n\nimport type { KoliBriComponentsBemSchema } from '../../../schema/bem-registry';\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\n\ntype FCChildren = Parameters<FC>[1];\n\ntype KeysOfSet<T> = T extends Set<infer U> ? U : never;\n\n/**\n * Extracts the valid block modifier keys for a given registered BEM block.\n * Mirrors the conditional type used by typed-bem so that the types align exactly.\n */\nexport type BlockModifiers<TBlock extends keyof KoliBriComponentsBemSchema> =\n\tKeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']> extends never\n\t\t? undefined\n\t\t: Partial<Record<KeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']>, boolean>>;\n\ntype BemRootNodeFCProps<TBlock extends keyof KoliBriComponentsBemSchema> = {\n\t/**\n\t * BEM block name — must be a key registered in `KoliBriComponentsBemSchema`.\n\t * Constrains `modifiers` to the exact modifier set defined in `bem-registry.ts`.\n\t */\n\tblock: TBlock;\n\t/**\n\t * BEM block modifiers. Keys are validated against the schema (e.g. `'disabled'`, `'inline'`).\n\t * No `kol-link--` prefix needed — typed-bem adds it automatically.\n\t */\n\tmodifiers?: BlockModifiers<TBlock>;\n\t/**\n\t * Additional classes forwarded 1:1 from the FC tag onto the root `<div>`.\n\t * Typically the `class` prop received by the surrounding Functional Component\n\t * (i.e. the `class` attribute set by a parent component).\n\t */\n\tclass?: JSXBase.HTMLAttributes<HTMLElement>['class'];\n};\n\n/**\n * Single-Root BEM wrapper for all Skeleton Functional Components.\n *\n * Responsibilities:\n * - Renders exactly one `<div>` root node — enforcing the Single-Root FC rule.\n * - Accepts a `block` name and typed `modifiers` from `KoliBriComponentsBemSchema`.\n * - Calls `bem.forBlock(block)(modifiers)` internally to generate the class string.\n * - Merges the result with the optional `class` prop.\n *\n * Usage:\n * ```tsx\n * export const LinkFC: FC<LinkFCProps> = ({ ..., class: hostClass, disabled }, children) => (\n * <BemRootNodeFC\n * block=\"kol-link\"\n * modifiers={{ disabled, 'external-link': isExternal }}\n * class={hostClass}\n * >\n * <a class=\"kol-link__anchor\">…</a>\n * </BemRootNodeFC>\n * );\n * ```\n */\nexport const BemRootNodeFC = <TBlock extends keyof KoliBriComponentsBemSchema>(\n\t{ block, modifiers, class: hostClass }: BemRootNodeFCProps<TBlock>,\n\tchildren: FCChildren,\n) => {\n\tconst blockBem = bem.forBlock(block);\n\treturn <div class={clsx(blockBem(modifiers as BlockModifiers<TBlock>), hostClass)}>{children}</div>;\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { devHint } from '../../../schema';\nimport { classNameFromVariant } from '../../../schema/props/variant-class-name';\nimport clsx from '../../../utils/clsx';\nimport { BemRootNodeFC } from '../bem-root-node/component';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { IconFC } from '../icon/component';\nimport { SpanFC } from '../span/component';\nimport { TooltipFC } from '../tooltip/component';\nimport type { LinkApi } from './api';\n\nexport const LinkFC: FC<FunctionalComponentProps<LinkApi>> = (props) => {\n\tconst {\n\t\taccessKey,\n\t\tariaControls,\n\t\tariaCurrent,\n\t\tariaDescription,\n\t\tariaDescriptionId,\n\t\tariaExpanded,\n\t\tariaOwns,\n\t\tcustomClass,\n\t\tdisabled,\n\t\tdownload,\n\t\thandleAnchorClick,\n\t\thideLabel,\n\t\thref,\n\t\ticons,\n\t\tinline,\n\t\tlabel,\n\t\ton,\n\t\trefAnchor,\n\t\trefTooltip,\n\t\trole,\n\t\tshortKey,\n\t\ttabIndex,\n\t\ttarget,\n\t\tvariant,\n\t\texpertSlot,\n\t} = props;\n\n\tconst translateOpenLinkInTab = translate('kol-open-link-in-tab');\n\n\tconst isExternal = typeof target === 'string' && target.length > 0 && target !== '_self';\n\n\tconst tagAttrs = {\n\t\thref: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',\n\t\ttarget: typeof target === 'string' && target.length > 0 ? target : undefined,\n\t\trel: isExternal ? 'noopener' : undefined,\n\t\tdownload: typeof download === 'string' && download.length > 0 ? download : undefined,\n\t};\n\n\tif (hideLabel === true && !label) {\n\t\tdevHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n\t}\n\n\tconst trimmedAriaDescription = ariaDescription?.trim();\n\tconst roleValue = role || undefined;\n\treturn (\n\t\t<BemRootNodeFC\n\t\t\tblock=\"kol-link\"\n\t\t\tclass={clsx({\n\t\t\t\t[customClass]: variant.includes('custom') && customClass.length > 0,\n\t\t\t\t[classNameFromVariant(variant, 'link')]: variant.length > 0,\n\t\t\t})}\n\t\t\tmodifiers={{\n\t\t\t\tdisabled: disabled === true,\n\t\t\t\t'external-link': isExternal,\n\t\t\t\t'hide-label': hideLabel === true,\n\t\t\t\tinline: inline === true,\n\t\t\t\tstandalone: inline === false,\n\t\t\t}}\n\t\t>\n\t\t\t{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events -- <a href> is natively keyboard-accessible (Enter triggers click); onKeyPress would cause a double-dispatch bug. */}\n\t\t\t<a\n\t\t\t\tref={refAnchor}\n\t\t\t\t{...tagAttrs}\n\t\t\t\taccessKey={accessKey || undefined}\n\t\t\t\taria-current={ariaCurrent || undefined}\n\t\t\t\taria-controls={ariaControls || undefined}\n\t\t\t\taria-describedby={trimmedAriaDescription ? ariaDescriptionId : undefined}\n\t\t\t\taria-disabled={disabled ? 'true' : undefined}\n\t\t\t\taria-expanded={ariaExpanded === '' ? undefined : ariaExpanded}\n\t\t\t\taria-owns={ariaOwns || undefined}\n\t\t\t\taria-label={hideLabel && typeof label === 'string' ? `${label}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined}\n\t\t\t\taria-keyshortcuts={shortKey || undefined}\n\t\t\t\tclass=\"kol-link__anchor\"\n\t\t\t\t{...on}\n\t\t\t\tonClick={handleAnchorClick}\n\t\t\t\trole={roleValue}\n\t\t\t\ttabIndex={disabled ? -1 : tabIndex}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-link__text\" badgeText={accessKey || shortKey} icons={icons} hideLabel={hideLabel} label={expertSlot ? '' : label || href}>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</SpanFC>\n\t\t\t\t{isExternal && (\n\t\t\t\t\t<IconFC class=\"kol-link__icon\" label={hideLabel ? '' : translateOpenLinkInTab} icons={'kolicon-link-external'} aria-hidden={hideLabel} />\n\t\t\t\t)}\n\t\t\t</a>\n\t\t\t{hideLabel === true && !expertSlot && (\n\t\t\t\t<div class=\"kol-link__tooltip\">\n\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\tbadgeText={accessKey || shortKey || ''}\n\t\t\t\t\t\tlabel={typeof label === 'string' ? label : typeof href === 'string' ? href : ''}\n\t\t\t\t\t\trefFloating={refTooltip}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{trimmedAriaDescription && (\n\t\t\t\t<span class=\"visually-hidden\" id={ariaDescriptionId}>\n\t\t\t\t\t{trimmedAriaDescription}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</BemRootNodeFC>\n\t);\n};\n"],"names":["createPropDefinition","normalizeString","normalizeBoolean","normalizeObject","normalizeInteger","alignPropTypeOptions","hrefProp","labelWithExpertSlotProp","bem","h","clsx","translate","devHint","classNameFromVariant","SpanFC","IconFC","TooltipFC"],"mappings":";;;;;;;;;;;;;;;;;;;;AAKO,MAAM,aAAa,GAAGA,gCAAoB,CAAgB,WAAW,EAAE,EAAE,EAAEC,2BAAe;;ACA1F,MAAM,gBAAgB,GAAGD,gCAAoB,CAAmB,cAAc,EA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AI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CACjC,EACR,UAAU,KACVA,OAAC,CAAAM,kBAAM,EAAC,EAAA,KAAK,EAAC,gBAAgB,EAAC,KAAK,EAAE,SAAS,GAAG,EAAE,GAAG,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAe,aAAA,EAAA,SAAS,EAAI,CAAA,CACzI,CACE,EACH,SAAS,KAAK,IAAI,IAAI,CAAC,UAAU,KACjCN,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,mBAAmB,EAAA,EAC7BA,OAAA,CAACO,mBAAS,EACT,EAAA,SAAS,EAAE,SAAS,IAAI,QAAQ,IAAI,EAAE,EACtC,KAAK,EAAE,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,IAAI,KAAK,QAAQ,GAAG,IAAI,GAAG,EAAE,EAC/E,WAAW,EAAE,UAAU,EAAA,CACtB,CACG,CACN,EACA,sBAAsB,KACtBP,OAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,iBAAiB,EAAC,EAAE,EAAE,iBAAiB,IACjD,sBAAsB,CACjB,CACP,CACc;AAElB;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"component-4kvV_nRs.js","sources":["src/internal/props/access-key.ts","src/internal/props/aria-controls.ts","src/internal/props/aria-current-value.ts","src/internal/props/aria-description.ts","src/internal/props/aria-expanded.ts","src/internal/props/aria-owns.ts","src/internal/props/helpers/validators.ts","src/internal/props/custom-class.ts","src/internal/props/disabled.ts","src/internal/props/download.ts","src/internal/props/hide-label.ts","src/internal/props/inline.ts","src/internal/props/link-callbacks.ts","src/internal/props/link-role.ts","src/internal/props/link-target.ts","src/internal/props/short-key.ts","src/internal/props/span-icons.ts","src/internal/props/tab-index.ts","src/internal/props/tooltip-align.ts","src/internal/props/variant.ts","src/internal/functional-components/link/api.tsx","src/internal/functional-components/bem-root-node/component.tsx","src/internal/functional-components/link/component.tsx"],"sourcesContent":["import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AccessKeyProp = SimpleProp<'accessKey', string>;\nexport const accessKeyProp = createPropDefinition<AccessKeyProp>('accessKey', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaControlsProp = SimpleProp<'ariaControls', string>;\nexport const ariaControlsProp = createPropDefinition<AriaControlsProp>('ariaControls', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * The allowed values for the aria-current attribute.\n * @see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current\n */\nexport const ARIA_CURRENT_VALUE_OPTIONS = ['date', 'location', 'page', 'step', 'time', 'true', 'false'] as const;\nexport type AriaCurrentValuePropType = (typeof ARIA_CURRENT_VALUE_OPTIONS)[number];\n\nexport type AriaCurrentValueProp = SimpleProp<'ariaCurrentValue', AriaCurrentValuePropType>;\n\n/**\n * Normalizes the value to a valid aria-current value.\n *\n * Graceful degradation: when the (already normalized, non-null) string is not one of the\n * allowed options, falls back to the default `'page'` instead of throwing. The factory's\n * `apply` handles undefined/null before this is reached.\n */\nfunction normalizeAriaCurrentValue(value: unknown): AriaCurrentValuePropType {\n\tconst str = normalizeString(value);\n\treturn (ARIA_CURRENT_VALUE_OPTIONS as readonly string[]).includes(str) ? (str as AriaCurrentValuePropType) : 'page';\n}\n\nexport const ariaCurrentValueProp = createPropDefinition<AriaCurrentValueProp>('ariaCurrentValue', 'page', normalizeAriaCurrentValue);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaDescriptionProp = SimpleProp<'ariaDescription', string>;\nexport const ariaDescriptionProp = createPropDefinition<AriaDescriptionProp>('ariaDescription', '', normalizeString);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The internal type uses the sentinel `''` for \"not set\" because the prop-definition factory\n * requires a non-undefined default value (same pattern as `linkRoleProp`). A plain link must\n * not render `aria-expanded=\"false\"` — assistive technologies would announce a collapsed\n * state that the link does not actually manage.\n */\nexport type AriaExpandedProp = Prop<'ariaExpanded', boolean | undefined, 'true' | 'false' | ''>;\n\n/**\n * Normalizes the value to the aria-expanded tokens.\n *\n * Booleans and their string equivalents map to `'true'`/`'false'`; anything else degrades to\n * the sentinel `''` so the attribute is omitted. undefined/null are handled by the factory's\n * `apply` before this is reached.\n */\nfunction normalizeAriaExpanded(value: unknown): 'true' | 'false' | '' {\n\tif (value === true || value === 'true') {\n\t\treturn 'true';\n\t}\n\tif (value === false || value === 'false') {\n\t\treturn 'false';\n\t}\n\treturn '';\n}\n\nexport const ariaExpandedProp = createPropDefinition<AriaExpandedProp>('ariaExpanded', '', normalizeAriaExpanded);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type AriaOwnsProp = SimpleProp<'ariaOwns', string>;\nexport const ariaOwnsProp = createPropDefinition<AriaOwnsProp>('ariaOwns', '', normalizeString);\n","/**\n * Shared validators for prop definitions.\n * Centralized here so custom-class and variant props share one regex\n * (avoids the SAFE_CLASS_NAME_RE duplication flagged in PR #10110).\n *\n * Why the minimum length is `{0,60}` (1–61 chars) and not the legacy variant-only `{3,60}`:\n * on develop the two props were validated differently — `_variant` used the strict regex,\n * `_customClass` had no regex at all (`watchString` accepted any string). Unifying them under\n * the strict regex would have silently REJECTED short custom-class values (e.g. `\"abc\"`) that\n * were valid on develop; the relaxed minimum is the lesser behavior change. The relaxation also\n * widens `_variant` (1–3 char variant names are now valid), which is accepted: no component\n * uses variant names that short through this definition. Note that multi-class values like\n * `\"foo bar\"` are rejected for `_customClass` (single safe class name only) — stricter than\n * develop's `watchString`, but consistent with `_variant` semantics. Pinned by tests in\n * `validators.spec.ts`.\n */\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;\n\nexport const isSafeClassName = (value: unknown): value is string => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\nimport { isSafeClassName } from './helpers/validators';\n\nexport type CustomClassProp = SimpleProp<'customClass', string>;\n\n/**\n * Validates the normalized custom-class value. An empty string is valid (means no custom class);\n * any non-empty value must be a single safe class name.\n */\nfunction validateCustomClass(value: string): boolean {\n\treturn value === '' || isSafeClassName(value);\n}\n\nexport const customClassProp = createPropDefinition<CustomClassProp>('customClass', '', normalizeString, validateCustomClass);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type DisabledProp = SimpleProp<'disabled', boolean>;\nexport const disabledProp = createPropDefinition<DisabledProp>('disabled', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type DownloadProp = SimpleProp<'download', string>;\nexport const downloadProp = createPropDefinition<DownloadProp>('download', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\n/**\n * Hide Label prop for controlling label visibility\n *\n * Description:\n * Specifies whether the label should be visually hidden.\n * When enabled, the label is not displayed but remains accessible to screen readers.\n *\n * Usage (according to WCAG 2.1 and WAI-ARIA):\n * - Default: false (label is visible)\n * - When true: label is hidden visually but remains available to assistive technologies (WCAG 1.3.1)\n * - The label content is still used for accessibility purposes\n * - Expert slot becomes visible when label is hidden\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships.html\n * @see https://www.a11yproject.com/posts/how-to-hide-content/\n */\nexport type HideLabelProp = SimpleProp<'hideLabel', boolean>;\nexport const hideLabelProp = createPropDefinition<HideLabelProp>('hideLabel', false, normalizeBoolean);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeBoolean } from './helpers/normalizers';\n\nexport type InlineProp = SimpleProp<'inline', boolean>;\nexport const inlineProp = createPropDefinition<InlineProp>('inline', true, normalizeBoolean);\n","import type { LinkOnCallbacksPropType } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\nexport type LinkCallbacksProp = SimpleProp<'on', LinkOnCallbacksPropType>;\n\n/**\n * Normalizes the callbacks object. The factory's `apply` handles undefined/null (falling back to\n * the default `{}`) before this is reached, so we only need to verify a non-null value is an object.\n */\nfunction normalizeLinkCallbacks(value: unknown): LinkOnCallbacksPropType {\n\tif (typeof value === 'object' && value !== null) {\n\t\treturn value as LinkOnCallbacksPropType;\n\t}\n\tthrow new Error(`Invalid on callbacks: expected object, got ${typeof value}`);\n}\n\nexport const linkCallbacksProp = createPropDefinition<LinkCallbacksProp>('on', {}, normalizeLinkCallbacks);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\n\n/**\n * The allowed role values for a link/button that takes the place of an ARIA role.\n */\nexport type AlternativeButtonLinkRolePropType = 'tab' | 'treeitem';\n\nconst LINK_ROLE_OPTIONS: readonly AlternativeButtonLinkRolePropType[] = ['tab', 'treeitem'];\n\n/**\n * Role prop for kol-link.\n *\n * The external type is the optional union `'tab' | 'treeitem' | undefined`. Internally we use the\n * sentinel empty string `''` to represent \"no role\" because the prop-definition factory types the\n * default through `NonNullable<...>`, which does not admit `undefined`. Consumers that read the\n * normalized value should treat `''` as \"no explicit role\".\n */\nexport type LinkRoleProp = Prop<'role', AlternativeButtonLinkRolePropType | undefined, '' | AlternativeButtonLinkRolePropType>;\n\n/**\n * Normalizes the role value.\n *\n * Graceful degradation: when the value is one of the allowed roles it is returned; otherwise\n * (including any non-member string) the sentinel `''` is returned so the component renders\n * without an explicit role. The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeLinkRole(value: unknown): '' | AlternativeButtonLinkRolePropType {\n\treturn typeof value === 'string' && (LINK_ROLE_OPTIONS as readonly string[]).includes(value) ? (value as AlternativeButtonLinkRolePropType) : '';\n}\n\nexport const linkRoleProp = createPropDefinition<LinkRoleProp>('role', '', normalizeLinkRole);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type LinkTargetProp = SimpleProp<'target', string>;\nexport const linkTargetProp = createPropDefinition<LinkTargetProp>('target', '', normalizeString);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\nexport type ShortKeyProp = SimpleProp<'shortKey', string>;\nexport const shortKeyProp = createPropDefinition<ShortKeyProp>('shortKey', '', normalizeString);\n","import type { KoliBriIconsProp } from '../../schema/types';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeObject, normalizeString } from './helpers/normalizers';\n\n/**\n * Icons prop for multi-directional icon display\n *\n * Description:\n * Specifies icons to display in one or more directions (top, right, bottom, left).\n * Can accept either a single icon class or an object with directional icon specifications.\n *\n * Usage:\n * - String: A single icon class name (displayed on the left by default)\n * - Object: Directional icons (e.g., { top: 'icon-class', left: 'icon-class' })\n * - Default: empty object (no icons)\n *\n * Accessibility:\n * - Icons must have descriptive labels to meet WCAG 1.1.1\n * - Use the label prop to provide text alternatives\n * - Icons should not be the sole means of conveying information (WCAG 1.3.3)\n *\n * @see https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html\n */\nexport type SpanIconsProp = SimpleProp<'icons', KoliBriIconsProp>;\n\nfunction normalizeSpanIcons(value: unknown): KoliBriIconsProp | never {\n\tif (!value || (typeof value === 'string' && value === '')) {\n\t\treturn {};\n\t}\n\t// If it's a string, return it as-is\n\tif (typeof value === 'string') {\n\t\treturn normalizeString(value);\n\t}\n\t// If it's an object, normalize it\n\tif (typeof value === 'object') {\n\t\treturn normalizeObject(value) as KoliBriIconsProp;\n\t}\n\tthrow new Error(`Invalid icons: ${typeof value}`);\n}\n\nfunction validateSpanIcons(value: KoliBriIconsProp): boolean {\n\t// String is valid if it's non-empty\n\tif (typeof value === 'string') {\n\t\treturn value.length > 0;\n\t}\n\t// Object is always valid (even if empty)\n\treturn typeof value === 'object' && value !== null;\n}\n\nexport const spanIconsProp = createPropDefinition<SpanIconsProp>('icons', {} as KoliBriIconsProp, normalizeSpanIcons, validateSpanIcons);\n","import type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeInteger } from './helpers/normalizers';\n\nexport type TabIndexProp = SimpleProp<'tabIndex', number>;\nexport const tabIndexProp = createPropDefinition<TabIndexProp>('tabIndex', 0, normalizeInteger);\n","import type { AlignPropType } from '../../schema';\nimport { alignPropTypeOptions } from '../../schema';\nimport type { SimpleProp } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { normalizeString } from './helpers/normalizers';\n\n/**\n * Tooltip align prop for kol-link.\n *\n * Same valid values as {@link alignProp} ('top' | 'right' | 'bottom' | 'left') but defaults to\n * `'right'` to match the legacy `_tooltipAlign` default on kol-link.\n */\nexport type TooltipAlignProp = SimpleProp<'tooltipAlign', AlignPropType>;\n\nfunction normalizeTooltipAlign(value: unknown): AlignPropType {\n\tconst str = normalizeString(value);\n\tif ((alignPropTypeOptions as readonly string[]).includes(str)) {\n\t\treturn str as AlignPropType;\n\t}\n\treturn 'right';\n}\n\nexport const tooltipAlignProp = createPropDefinition<TooltipAlignProp>('tooltipAlign', 'right', normalizeTooltipAlign, (v) =>\n\t(alignPropTypeOptions as readonly string[]).includes(v),\n);\n","import type { Prop } from './helpers/factory';\nimport { createPropDefinition } from './helpers/factory';\nimport { isSafeClassName } from './helpers/validators';\n\n/**\n * Variant prop for class-name based variants (e.g. kol-link, kol-button).\n *\n * External type: `string | string[]` — a space-separated string of variant names or an array.\n * Internal type: `string[]` — always normalized to an array. An empty array means \"no variant\".\n *\n * This mirrors the legacy `validateVariantClassName` → `beforePatchString` pipeline, which split\n * strings by spaces into arrays before storing them in state. The `classNameFromVariant` renderer\n * only processes arrays, so normalizing here ensures the variant classes are always applied.\n */\nexport type VariantProp = Prop<'variant', string | string[], string[]>;\n\n/**\n * Normalizes the variant value to an array of variant tokens.\n *\n * - Arrays are passed through as-is.\n * - Strings are split by spaces into tokens (matches `beforePatchString`).\n * - The factory's `apply` handles undefined/null before this is reached.\n */\nfunction normalizeVariant(value: unknown): string[] {\n\tif (Array.isArray(value)) {\n\t\treturn value as string[];\n\t}\n\tif (typeof value === 'string') {\n\t\treturn value.split(' ');\n\t}\n\treturn [];\n}\n\n/**\n * Validates the normalized variant value.\n *\n * - Empty array means \"no variant\" and is valid.\n * - Non-empty arrays must consist entirely of safe class names.\n */\nfunction validateVariant(value: string[]): boolean {\n\treturn value.length === 0 || value.every(isSafeClassName);\n}\n\nexport const variantProp = createPropDefinition<VariantProp>('variant', [], normalizeVariant, validateVariant);\n","import {\n\taccessKeyProp,\n\tariaControlsProp,\n\tariaCurrentValueProp,\n\tariaDescriptionProp,\n\tariaExpandedProp,\n\tariaOwnsProp,\n\tcustomClassProp,\n\tdisabledProp,\n\tdownloadProp,\n\thideLabelProp,\n\threfProp,\n\tinlineProp,\n\tlabelWithExpertSlotProp,\n\tlinkCallbacksProp,\n\tlinkRoleProp,\n\tlinkTargetProp,\n\tshortKeyProp,\n\tspanIconsProp,\n\ttabIndexProp,\n\ttooltipAlignProp,\n\tvariantProp,\n} from '../../props';\nimport type { ApiFromConfig, PropsConfigShape } from '../generic-types';\n\n/**\n * Props configuration for the link component.\n *\n * `href` is the only required prop. All others are optional.\n *\n * Notes on prop choices:\n * - `labelWithExpertSlotProp` (not `labelProp`): no min/max length restriction, matching the\n * original `validateLabelWithExpertSlot`. The empty string enables the expert slot; this is\n * tracked separately via the `expertSlot` state because the factory collapses undefined → ''\n * (the default), which would wrongly enable the expert slot when no label was passed.\n * - `spanIconsProp` (not `iconsProp`): icons are `KoliBriIconsProp` (object), not a plain string.\n * - `tooltipAlignProp`: same valid values as `alignProp` but defaults to `'right'` (matching the\n * legacy `_tooltipAlign` default).\n */\nexport const linkPropsConfig = {\n\trequired: [hrefProp],\n\toptional: [\n\t\taccessKeyProp,\n\t\tariaControlsProp,\n\t\tariaCurrentValueProp,\n\t\tariaDescriptionProp,\n\t\tariaExpandedProp,\n\t\tariaOwnsProp,\n\t\tcustomClassProp,\n\t\tdisabledProp,\n\t\tdownloadProp,\n\t\thideLabelProp,\n\t\tspanIconsProp,\n\t\tinlineProp,\n\t\tlabelWithExpertSlotProp,\n\t\tlinkCallbacksProp,\n\t\tlinkRoleProp,\n\t\tlinkTargetProp,\n\t\tshortKeyProp,\n\t\ttabIndexProp,\n\t\ttooltipAlignProp,\n\t\tvariantProp,\n\t],\n} as const satisfies PropsConfigShape;\n\nexport type LinkApi = ApiFromConfig<\n\ttypeof linkPropsConfig,\n\t{\n\t\tCallbacks: {\n\t\t\t/**\n\t\t\t * Click handler bound to the anchor element. Implemented by the web component\n\t\t\t * (`handleAnchorClick`), which also dispatches the custom `KolEvent.click` event\n\t\t\t * on the host element.\n\t\t\t */\n\t\t\tanchorClick: (event: Event) => void;\n\t\t};\n\t\tMethods: {\n\t\t\tfocus: (options?: FocusOptions) => void;\n\t\t\tclick: () => void;\n\t\t};\n\t\tRefs: {\n\t\t\tanchor: HTMLAnchorElement;\n\t\t\ttooltip: HTMLDivElement;\n\t\t};\n\t\tStates: {\n\t\t\t/**\n\t\t\t * Derived aria-current value: one of the aria-current tokens when the link's href\n\t\t\t * matches the current location, otherwise an empty string (rendered as undefined →\n\t\t\t * no aria-current attribute). Managed via setState for reactivity.\n\t\t\t */\n\t\t\tariaCurrent: string;\n\t\t\t/**\n\t\t\t * DOM id of the visually-hidden span that carries the aria description. Generated\n\t\t\t * once per web component instance and referenced by the anchor's aria-describedby\n\t\t\t * attribute, since aria-description lacks screen reader support.\n\t\t\t */\n\t\t\tariaDescriptionId: string;\n\t\t\t/**\n\t\t\t * Whether the expert slot should be rendered. True only when the consumer explicitly\n\t\t\t * passed an empty-string label. When the label is undefined (default ''), the expert\n\t\t\t * slot stays off and the href is used as the fallback label text.\n\t\t\t */\n\t\t\texpertSlot: boolean;\n\t\t};\n\t}\n>;\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\nimport type { JSXBase } from '@stencil/core/internal';\n\nimport type { KoliBriComponentsBemSchema } from '../../../schema/bem-registry';\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\n\ntype FCChildren = Parameters<FC>[1];\n\ntype KeysOfSet<T> = T extends Set<infer U> ? U : never;\n\n/**\n * Extracts the valid block modifier keys for a given registered BEM block.\n * Mirrors the conditional type used by typed-bem so that the types align exactly.\n */\nexport type BlockModifiers<TBlock extends keyof KoliBriComponentsBemSchema> =\n\tKeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']> extends never\n\t\t? undefined\n\t\t: Partial<Record<KeysOfSet<KoliBriComponentsBemSchema[TBlock]['modifiers']>, boolean>>;\n\ntype BemRootNodeFCProps<TBlock extends keyof KoliBriComponentsBemSchema> = {\n\t/**\n\t * BEM block name — must be a key registered in `KoliBriComponentsBemSchema`.\n\t * Constrains `modifiers` to the exact modifier set defined in `bem-registry.ts`.\n\t */\n\tblock: TBlock;\n\t/**\n\t * BEM block modifiers. Keys are validated against the schema (e.g. `'disabled'`, `'inline'`).\n\t * No `kol-link--` prefix needed — typed-bem adds it automatically.\n\t */\n\tmodifiers?: BlockModifiers<TBlock>;\n\t/**\n\t * Additional classes forwarded 1:1 from the FC tag onto the root `<div>`.\n\t * Typically the `class` prop received by the surrounding Functional Component\n\t * (i.e. the `class` attribute set by a parent component).\n\t */\n\tclass?: JSXBase.HTMLAttributes<HTMLElement>['class'];\n};\n\n/**\n * Single-Root BEM wrapper for all Skeleton Functional Components.\n *\n * Responsibilities:\n * - Renders exactly one `<div>` root node — enforcing the Single-Root FC rule.\n * - Accepts a `block` name and typed `modifiers` from `KoliBriComponentsBemSchema`.\n * - Calls `bem.forBlock(block)(modifiers)` internally to generate the class string.\n * - Merges the result with the optional `class` prop.\n *\n * Usage:\n * ```tsx\n * export const LinkFC: FC<LinkFCProps> = ({ ..., class: hostClass, disabled }, children) => (\n * <BemRootNodeFC\n * block=\"kol-link\"\n * modifiers={{ disabled, 'external-link': isExternal }}\n * class={hostClass}\n * >\n * <a class=\"kol-link__anchor\">…</a>\n * </BemRootNodeFC>\n * );\n * ```\n */\nexport const BemRootNodeFC = <TBlock extends keyof KoliBriComponentsBemSchema>(\n\t{ block, modifiers, class: hostClass }: BemRootNodeFCProps<TBlock>,\n\tchildren: FCChildren,\n) => {\n\tconst blockBem = bem.forBlock(block);\n\treturn <div class={clsx(blockBem(modifiers as BlockModifiers<TBlock>), hostClass)}>{children}</div>;\n};\n","import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport { devHint } from '../../../schema';\nimport { classNameFromVariant } from '../../../schema/props/variant-class-name';\nimport clsx from '../../../utils/clsx';\nimport { BemRootNodeFC } from '../bem-root-node/component';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport { IconFC } from '../icon/component';\nimport { SpanFC } from '../span/component';\nimport { TooltipFC } from '../tooltip/component';\nimport type { LinkApi } from './api';\n\nexport const LinkFC: FC<FunctionalComponentProps<LinkApi>> = (props) => {\n\tconst {\n\t\taccessKey,\n\t\tariaControls,\n\t\tariaCurrent,\n\t\tariaDescription,\n\t\tariaDescriptionId,\n\t\tariaExpanded,\n\t\tariaOwns,\n\t\tcustomClass,\n\t\tdisabled,\n\t\tdownload,\n\t\thandleAnchorClick,\n\t\thideLabel,\n\t\thref,\n\t\ticons,\n\t\tinline,\n\t\tlabel,\n\t\ton,\n\t\trefAnchor,\n\t\trefTooltip,\n\t\trole,\n\t\tshortKey,\n\t\ttabIndex,\n\t\ttarget,\n\t\tvariant,\n\t\texpertSlot,\n\t} = props;\n\n\tconst translateOpenLinkInTab = translate('kol-open-link-in-tab');\n\n\tconst isExternal = typeof target === 'string' && target.length > 0 && target !== '_self';\n\n\tconst tagAttrs = {\n\t\thref: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',\n\t\ttarget: typeof target === 'string' && target.length > 0 ? target : undefined,\n\t\trel: isExternal ? 'noopener' : undefined,\n\t\tdownload: typeof download === 'string' && download.length > 0 ? download : undefined,\n\t};\n\n\tif (hideLabel === true && !label) {\n\t\tdevHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n\t}\n\n\tconst trimmedAriaDescription = ariaDescription?.trim();\n\tconst roleValue = role || undefined;\n\treturn (\n\t\t<BemRootNodeFC\n\t\t\tblock=\"kol-link\"\n\t\t\tclass={clsx({\n\t\t\t\t[customClass]: variant.includes('custom') && customClass.length > 0,\n\t\t\t\t[classNameFromVariant(variant, 'link')]: variant.length > 0,\n\t\t\t})}\n\t\t\tmodifiers={{\n\t\t\t\tdisabled: disabled === true,\n\t\t\t\t'external-link': isExternal,\n\t\t\t\t'hide-label': hideLabel === true,\n\t\t\t\tinline: inline === true,\n\t\t\t\tstandalone: inline === false,\n\t\t\t}}\n\t\t>\n\t\t\t{/* eslint-disable-next-line jsx-a11y/click-events-have-key-events -- <a href> is natively keyboard-accessible (Enter triggers click); onKeyPress would cause a double-dispatch bug. */}\n\t\t\t<a\n\t\t\t\tref={refAnchor}\n\t\t\t\t{...tagAttrs}\n\t\t\t\taccessKey={accessKey || undefined}\n\t\t\t\taria-current={ariaCurrent || undefined}\n\t\t\t\taria-controls={ariaControls || undefined}\n\t\t\t\taria-describedby={trimmedAriaDescription ? ariaDescriptionId : undefined}\n\t\t\t\taria-disabled={disabled ? 'true' : undefined}\n\t\t\t\taria-expanded={ariaExpanded === '' ? undefined : ariaExpanded}\n\t\t\t\taria-owns={ariaOwns || undefined}\n\t\t\t\taria-label={hideLabel && typeof label === 'string' ? `${label}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined}\n\t\t\t\taria-keyshortcuts={shortKey || undefined}\n\t\t\t\tclass=\"kol-link__anchor\"\n\t\t\t\t{...on}\n\t\t\t\tonClick={handleAnchorClick}\n\t\t\t\trole={roleValue}\n\t\t\t\ttabIndex={disabled ? -1 : tabIndex}\n\t\t\t>\n\t\t\t\t<SpanFC class=\"kol-link__text\" badgeText={accessKey || shortKey} icons={icons} hideLabel={hideLabel} label={expertSlot ? '' : label || href}>\n\t\t\t\t\t<slot name=\"expert\" slot=\"expert\"></slot>\n\t\t\t\t</SpanFC>\n\t\t\t\t{isExternal && (\n\t\t\t\t\t<IconFC class=\"kol-link__icon\" label={hideLabel ? '' : translateOpenLinkInTab} icons={'kolicon-link-external'} aria-hidden={hideLabel} />\n\t\t\t\t)}\n\t\t\t</a>\n\t\t\t{hideLabel === true && !expertSlot && (\n\t\t\t\t<div class=\"kol-link__tooltip\">\n\t\t\t\t\t<TooltipFC\n\t\t\t\t\t\tbadgeText={accessKey || shortKey || ''}\n\t\t\t\t\t\tlabel={typeof label === 'string' ? label : typeof href === 'string' ? href : ''}\n\t\t\t\t\t\trefFloating={refTooltip}\n\t\t\t\t\t/>\n\t\t\t\t</div>\n\t\t\t)}\n\t\t\t{trimmedAriaDescription && (\n\t\t\t\t<span class=\"visually-hidden\" id={ariaDescriptionId}>\n\t\t\t\t\t{trimmedAriaDescription}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</BemRootNodeFC>\n\t);\n};\n"],"names":["createPropDefinition","normalizeString","normalizeBoolean","normalizeObject","normalizeInteger","alignPropTypeOptions","hrefProp","labelWithExpertSlotProp","bem","h","clsx","translate","devHint","classNameFromVariant","SpanFC","IconFC","TooltipFC"],"mappings":";;;;;;;;;;;;;;;;;;;;AAKO,MAAM,aAAa,GAAG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AE,KAAK,EAAE,UAAU,GAAG,EAAE,GAAG,KAAK,IAAI,IAAI,EAAA,EAC1IL,OAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,QAAQ,GAAQ,CACjC,EACR,UAAU,KACVA,OAAC,CAAAM,kBAAM,EAAC,EAAA,KAAK,EAAC,gBAAgB,EAAC,KAAK,EAAE,SAAS,GAAG,EAAE,GAAG,sBAAsB,EAAE,KAAK,EAAE,uBAAuB,EAAe,aAAA,EAAA,SAAS,EAAI,CAAA,CACzI,CACE,EACH,SAAS,KAAK,IAAI,IAAI,CAAC,UAAU,KACjCN,OAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,mBAAmB,EAAA,EAC7BA,OAAA,CAACO,mBAAS,EACT,EAAA,SAAS,EAAE,SAAS,IAAI,QAAQ,IAAI,EAAE,EACtC,KAAK,EAAE,OAAO,KAAK,KAAK,QAAQ,GAAG,KAAK,GAAG,OAAO,IAAI,KAAK,QAAQ,GAAG,IAAI,GAAG,EAAE,EAC/E,WAAW,EAAE,UAAU,EAAA,CACtB,CACG,CACN,EACA,sBAAsB,KACtBP,OAAA,CAAA,MAAA,EAAA,EAAM,KAAK,EAAC,iBAAiB,EAAC,EAAE,EAAE,iBAAiB,IACjD,sBAAsB,CACjB,CACP,CACc;AAElB;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,7 +3,7 @@
3
3
  */
4
4
  'use strict';
5
5
 
6
- var index = require('./index-D_V4aONe.js');
6
+ var index = require('./index-DPv13Qg6.js');
7
7
  var i18n = require('./i18n-CdBTfXYx.js');
8
8
 
9
9
  function renderSpinVariant(variant) {
@@ -34,6 +34,6 @@ const SpinFC = (props) => {
34
34
  };
35
35
 
36
36
  exports.SpinFC = SpinFC;
37
- //# sourceMappingURL=component-Cwiow2eD.js.map
37
+ //# sourceMappingURL=component-BycTswC4.js.map
38
38
 
39
- //# sourceMappingURL=component-Cwiow2eD.js.map
39
+ //# sourceMappingURL=component-BycTswC4.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-Cwiow2eD.js","sources":["src/internal/functional-components/spin/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { Fragment, h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { SpinApi } from './api';\n\nfunction renderSpinVariant(variant: string): unknown {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class={`kol-spin__loader kol-spin__spinner--${variant}__element`}></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--1\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--1`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--2\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--2`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--3\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--3`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--neutral\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--4`}\n\t\t\t\t\t></span>\n\t\t\t\t</>\n\t\t\t);\n\t}\n}\n\nexport const SpinFC: FC<FunctionalComponentProps<SpinApi>> = (props) => {\n\tconst { show, label, variant } = props;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{show ? (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class={`kol-spin__spinner kol-spin__spinner--${variant}`}>{renderSpinVariant(variant)}</span>\n\t\t\t\t\t<span aria-busy=\"true\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-running')}\n\t\t\t\t\t</span>\n\t\t\t\t</Fragment>\n\t\t\t) : (\n\t\t\t\t<span aria-busy=\"false\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t{label || translate('kol-action-done')}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</Fragment>\n\t);\n};\n"],"names":["h","Fragment","translate"],"mappings":";;;;;;;;AAOA,SAAS,iBAAiB,CAAC,OAAe,EAAA;IACzC,QAAQ,OAAO;AACd,QAAA,KAAK,OAAO;AACX,YAAA,OAAOA,kBAAM,KAAK,EAAE,CAAA,oCAAA,EAAuC,OAAO,CAAA,SAAA,CAAW,GAAS;AACvF,QAAA,KAAK,MAAM;YACV,OAAOA,OAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAQ;AACnC,QAAA;AACC,YAAA,QACCA,OAAA,CAAAC,cAAA,EAAA,IAAA,EACCD,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;4BACP,OAAO,CAAA,YAAA,CAAc,EACpC,CAAA,EACRA,OAAA,CAAA,MAAA,EAAA,EACC,KAAK,EAAE,CAAA;;4BAEe,OAAO,CAAA;AACP,0BAAA,EAAA,OAAO,CAAc,YAAA,CAAA,EAAA,CACpC,CACN;;AAGP;AAEa,MAAA,MAAM,GAA0C,CAAC,KAAK,KAAI;IACtE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,GAAG,KAAK;IAEtC,QACCA,OAAC,CAAAC,cAAQ,EACP,IAAA,EAAA,IAAI,IACJD,OAAA,CAACC,cAAQ,EAAA,IAAA,EACRD,OAAM,CAAA,MAAA,EAAA,EAAA,KAAK,EAAE,wCAAwC,OAAO,CAAA,CAAE,IAAG,iBAAiB,CAAC,OAAO,CAAC,CAAQ,EACnGA,OAAgB,CAAA,MAAA,EAAA,EAAA,WAAA,EAAA,MAAM,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EACzD,KAAK,IAAIE,cAAS,CAAC,oBAAoB,CAAC,CACnC,CACG,KAEXF,OAAgB,CAAA,MAAA,EAAA,EAAA,WAAA,EAAA,OAAO,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC1D,KAAK,IAAIE,cAAS,CAAC,iBAAiB,CAAC,CAChC,CACP,CACS;AAEb;;;;"}
1
+ {"version":3,"file":"component-BycTswC4.js","sources":["src/internal/functional-components/spin/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { Fragment, h } from '@stencil/core';\n\nimport { translate } from '../../../i18n';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { SpinApi } from './api';\n\nfunction renderSpinVariant(variant: string): unknown {\n\tswitch (variant) {\n\t\tcase 'cycle':\n\t\t\treturn <span class={`kol-spin__loader kol-spin__spinner--${variant}__element`}></span>;\n\t\tcase 'none':\n\t\t\treturn <slot name=\"expert\"></slot>;\n\t\tdefault:\n\t\t\treturn (\n\t\t\t\t<>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--1\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--1`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--2\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--2`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--3\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--3`}\n\t\t\t\t\t></span>\n\t\t\t\t\t<span\n\t\t\t\t\t\tclass={`kol-spin__spinner-element\n\t\t\t\t\t\t\tkol-spin__spinner-element--neutral\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element\n\t\t\t\t\t\t\tkol-spin__spinner--${variant}__element--4`}\n\t\t\t\t\t></span>\n\t\t\t\t</>\n\t\t\t);\n\t}\n}\n\nexport const SpinFC: FC<FunctionalComponentProps<SpinApi>> = (props) => {\n\tconst { show, label, variant } = props;\n\n\treturn (\n\t\t<Fragment>\n\t\t\t{show ? (\n\t\t\t\t<Fragment>\n\t\t\t\t\t<span class={`kol-spin__spinner kol-spin__spinner--${variant}`}>{renderSpinVariant(variant)}</span>\n\t\t\t\t\t<span aria-busy=\"true\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t\t{label || translate('kol-action-running')}\n\t\t\t\t\t</span>\n\t\t\t\t</Fragment>\n\t\t\t) : (\n\t\t\t\t<span aria-busy=\"false\" class=\"visually-hidden\" role=\"alert\">\n\t\t\t\t\t{label || translate('kol-action-done')}\n\t\t\t\t</span>\n\t\t\t)}\n\t\t</Fragment>\n\t);\n};\n"],"names":["h","Fragment","translate"],"mappings":";;;;;;;;AAOA,SAAS,iBAAiB,CA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E,cAAS,CAAC,oBAAoB,CAAC,CACnC,CACG,KAEXF,OAAgB,CAAA,MAAA,EAAA,EAAA,WAAA,EAAA,OAAO,EAAC,KAAK,EAAC,iBAAiB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC1D,KAAK,IAAIE,cAAS,CAAC,iBAAiB,CAAC,CAChC,CACP,CACS;AAEb;;;;"}
@@ -4,7 +4,7 @@
4
4
  'use strict';
5
5
 
6
6
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
7
- var index = require('./index-D_V4aONe.js');
7
+ var index = require('./index-DPv13Qg6.js');
8
8
  var bemRegistry = require('./bem-registry-CzxkcRDq.js');
9
9
  var clsx = require('./clsx-Bm_HQUnh.js');
10
10
 
@@ -18,6 +18,6 @@ const IconFC = (_a) => {
18
18
  };
19
19
 
20
20
  exports.IconFC = IconFC;
21
- //# sourceMappingURL=component-CIPdC4D5.js.map
21
+ //# sourceMappingURL=component-CW5wb_pp.js.map
22
22
 
23
- //# sourceMappingURL=component-CIPdC4D5.js.map
23
+ //# sourceMappingURL=component-CW5wb_pp.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-CIPdC4D5.js","sources":["src/internal/functional-components/icon/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { IconApi } from './api';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\n\nexport const IconFC: FC<FunctionalComponentProps<IconApi>> = ({ class: classNames, icons, label, ...htmlAttributes }) => {\n\t// label is always a normalized string ('' when unset — see labelProp definition)\n\tconst hasAriaLabel = label?.length > 0;\n\treturn (\n\t\t<i\n\t\t\t{...htmlAttributes}\n\t\t\t/**\n\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t *\n\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t */\n\t\t\taria-hidden={hasAriaLabel ? undefined : 'true'}\n\t\t\taria-label={hasAriaLabel ? label : undefined}\n\t\t\tclass={clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames)}\n\t\t\trole={hasAriaLabel ? 'img' : 'presentation'}\n\t\t/>\n\t);\n};\n"],"names":["bem","__rest","h","clsx"],"mappings":";;;;;;;;;;AAQA,MAAM,OAAO,GAAGA,eAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,EAAE;AAChC,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;AAE/B,MAAA,MAAM,GAA0C,CAAC,EAAsD,KAAI;IAA1D,IAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAA,GAAA,EAAqB,EAAhB,cAAc,GAApDC,gBAAA,CAAA,EAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,OAAA,CAAsD,CAAF;IAEjH,MAAM,YAAY,GAAG,CAAA,KAAK,KAAL,IAAA,IAAA,KAAK,KAAL,MAAA,GAAA,MAAA,GAAA,KAAK,CAAE,MAAM,IAAG,CAAC;AACtC,IAAA,QACCC,+BACK,cAAc,EAAA,EAAA,aAAA,EAOL,YAAY,GAAG,SAAS,GAAG,MAAM,EAAA,YAAA,EAClC,YAAY,GAAG,KAAK,GAAG,SAAS,EAC5C,KAAK,EAAEC,SAAI,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,CAAC,EACpE,IAAI,EAAE,YAAY,GAAG,KAAK,GAAG,cAAc,EAC1C,CAAA,CAAA;AAEJ;;;;"}
1
+ {"version":3,"file":"component-CW5wb_pp.js","sources":["src/internal/functional-components/icon/component.tsx"],"sourcesContent":["import type { FunctionalComponent as FC } from '@stencil/core';\nimport { h } from '@stencil/core';\n\nimport { bem } from '../../../schema/bem-registry';\nimport clsx from '../../../utils/clsx';\nimport type { FunctionalComponentProps } from '../generic-types';\nimport type { IconApi } from './api';\n\nconst iconBem = bem.forBlock('kol-icon');\nconst BEM_CLASS_ICON = iconBem();\nconst BEM_CLASS_ICON__ICON = iconBem('icon');\n\nexport const IconFC: FC<FunctionalComponentProps<IconApi>> = ({ class: classNames, icons, label, ...htmlAttributes }) => {\n\t// label is always a normalized string ('' when unset — see labelProp definition)\n\tconst hasAriaLabel = label?.length > 0;\n\treturn (\n\t\t<i\n\t\t\t{...htmlAttributes}\n\t\t\t/**\n\t\t\t * Die Auszeichnung `aria-hidden` ist eigentlich nicht erforderlich, da die aktuellen\n\t\t\t * Screenreader, wie NVDA und JAWS, es auch ohne `aria-hidden` nicht vorlesen.\n\t\t\t *\n\t\t\t * Referenz: https://www.w3.org/TR/wai-aria/states_and_properties#aria-hidden\n\t\t\t */\n\t\t\taria-hidden={hasAriaLabel ? undefined : 'true'}\n\t\t\taria-label={hasAriaLabel ? label : undefined}\n\t\t\tclass={clsx(BEM_CLASS_ICON, BEM_CLASS_ICON__ICON, icons, classNames)}\n\t\t\trole={hasAriaLabel ? 'img' : 'presentation'}\n\t\t/>\n\t);\n};\n"],"names":["bem","__rest","h","clsx"],"mappings":";;;;;;;;;;AAQA,MAAM,OAAO,GAAGA,eAAG,CAAC,QAAQ,CAAC,UAAU,CAAC;AACxC,MAAM,cAAc,GAAG,OAAO,EAAE;AAChC,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC;AAE/B,MAAA,MAAM,GAA0C,CAAC,EAAsD,KAAI;IAA1D,IAAA,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,KAAK,EAAA,GAAA,EAAqB,EAAhB,cAAc,GAApDC,gBAAA,CAAA,EAAA,EAAA,CAAA,OAAA,EAAA,OAAA,EAAA,OAAA,CAAsD,CAAF;IAEjH,MAAM,YAAY,GAAG,CAAA,KAAK,KAAL,IAAA,IAAA,KAAK,KAAL,MAAA,GAAA,MAAA,GAAA,KAAK,CAAE,MAAM,IAAG,CAAC;AACtC,IAAA,QACCC,+BACK,cAAc,EAAA,EAAA,aAAA,EAOL,YAAY,GAAG,SAAS,GAAG,MAAM,EAAA,YAAA,EAClC,YAAY,GAAG,KAAK,GAAG,SAAS,EAC5C,KAAK,EAAEC,SAAI,CAAC,cAAc,EAAE,oBAAoB,EAAE,KAAK,EAAE,UAAU,CAAC,EACpE,IAAI,EAAE,YAAY,GAAG,KAAK,GAAG,cAAc,EAC1C,CAAA,CAAA;AAEJ;;;;"}
@@ -4,11 +4,11 @@
4
4
  'use strict';
5
5
 
6
6
  var tslib_es6 = require('./tslib.es6-Cm0ytgPY.js');
7
- var index = require('./index-D_V4aONe.js');
7
+ var index = require('./index-DPv13Qg6.js');
8
8
  var common = require('./common-D8VSsOzq.js');
9
9
  var bemRegistry = require('./bem-registry-CzxkcRDq.js');
10
10
  var clsx = require('./clsx-Bm_HQUnh.js');
11
- var component = require('./component-CIPdC4D5.js');
11
+ var component = require('./component-CW5wb_pp.js');
12
12
  var isArray = require('./isArray-BOIOdEQh.js');
13
13
 
14
14
  function _mergeNamespaces(n, m) {
@@ -9156,6 +9156,6 @@ exports.SpanFC = SpanFC;
9156
9156
  exports.buildBadgeTextString = buildBadgeTextString;
9157
9157
  exports.isString = isString$1;
9158
9158
  exports.showExpertSlot = showExpertSlot;
9159
- //# sourceMappingURL=component-BeYj5Mj7.js.map
9159
+ //# sourceMappingURL=component-Cil9gb9B.js.map
9160
9160
 
9161
- //# sourceMappingURL=component-BeYj5Mj7.js.map
9161
+ //# sourceMappingURL=component-Cil9gb9B.js.map