@public-ui/sample-react 3.0.7-rc.0 → 5.0.0-alpha.0

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 (269) hide show
  1. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js +4 -0
  2. package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js.map +1 -0
  3. package/dist/assets/{Collapsible-VwOBRTg--D0SKccok.js → Collapsible-BdJSqZfQ-CW3zh1sv.js} +2 -2
  4. package/dist/assets/{Collapsible-VwOBRTg--D0SKccok.js.map → Collapsible-BdJSqZfQ-CW3zh1sv.js.map} +1 -1
  5. package/dist/assets/{CustomSuggestionsToggle-BtYSYCn5-CY0JlDPW.js → CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js} +2 -2
  6. package/dist/assets/{CustomSuggestionsToggle-BtYSYCn5-CY0JlDPW.js.map → CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js.map} +1 -1
  7. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js +4 -0
  8. package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js.map +1 -0
  9. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js +4 -0
  10. package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js.map +1 -0
  11. package/dist/assets/{Heading-CMd-jtC1-BWK_kciH.js → Heading-E6VPUTCQ-B1xNnKja.js} +2 -2
  12. package/dist/assets/{Heading-CMd-jtC1-BWK_kciH.js.map → Heading-E6VPUTCQ-B1xNnKja.js.map} +1 -1
  13. package/dist/assets/{Icon-BQRZwXjg-DUkDYGjS.js → Icon-CZGGWMvI-CpggmwQf.js} +2 -2
  14. package/dist/assets/{Icon-BQRZwXjg-DUkDYGjS.js.map → Icon-CZGGWMvI-CpggmwQf.js.map} +1 -1
  15. package/dist/assets/{Input-BQNyXbdV-DSNVapbe.js → Input-B9Wel4KN-CD5ZpCgM.js} +2 -2
  16. package/dist/assets/{Input-BQNyXbdV-DSNVapbe.js.map → Input-B9Wel4KN-CD5ZpCgM.js.map} +1 -1
  17. package/dist/assets/{InputStateWrapper-5DGko7Ry-BHXVLFy_.js → InputStateWrapper-tA40Qb4L-B2T4BcML.js} +2 -2
  18. package/dist/assets/{InputStateWrapper-5DGko7Ry-BHXVLFy_.js.map → InputStateWrapper-tA40Qb4L-B2T4BcML.js.map} +1 -1
  19. package/dist/assets/{InternalUnderlinedBadgeText-DeV9AANw-wEHwgbnZ.js → InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js} +2 -2
  20. package/dist/assets/{InternalUnderlinedBadgeText-DeV9AANw-wEHwgbnZ.js.map → InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js.map} +1 -1
  21. package/dist/assets/{Span-9Jbefwfo-NyeuKlZ0.js → Span-4JeabU4v-B4Ic693K.js} +2 -2
  22. package/dist/assets/{Span-9Jbefwfo-NyeuKlZ0.js.map → Span-4JeabU4v-B4Ic693K.js.map} +1 -1
  23. package/dist/assets/{access-and-short-key-bcID78Ha-C130xYiQ.js → access-and-short-key-bcID78Ha-DEFKt7Bg.js} +2 -2
  24. package/dist/assets/{access-and-short-key-bcID78Ha-C130xYiQ.js.map → access-and-short-key-bcID78Ha-DEFKt7Bg.js.map} +1 -1
  25. package/dist/assets/{align-CyK0wp7d-DbhDqGrG.js → align-CyK0wp7d-DAXTQf4t.js} +2 -2
  26. package/dist/assets/{align-CyK0wp7d-DbhDqGrG.js.map → align-CyK0wp7d-DAXTQf4t.js.map} +1 -1
  27. package/dist/assets/{align-floating-elements-Bx4ukVlr-FjEmjkUG.js → align-floating-elements-Bx4ukVlr-CL_0eU3g.js} +2 -2
  28. package/dist/assets/{align-floating-elements-Bx4ukVlr-FjEmjkUG.js.map → align-floating-elements-Bx4ukVlr-CL_0eU3g.js.map} +1 -1
  29. package/dist/assets/{associated.controller-BKIODHIT-CP4fv7ts.js → associated.controller-BKIODHIT-Di-mnA6P.js} +2 -2
  30. package/dist/assets/{associated.controller-BKIODHIT-CP4fv7ts.js.map → associated.controller-BKIODHIT-Di-mnA6P.js.map} +1 -1
  31. package/dist/assets/{auto-complete-BsG3RQJ3-pHLpl9cd.js → auto-complete-BsG3RQJ3-Bomu057n.js} +2 -2
  32. package/dist/assets/{auto-complete-BsG3RQJ3-pHLpl9cd.js.map → auto-complete-BsG3RQJ3-Bomu057n.js.map} +1 -1
  33. package/dist/assets/{color-C3pYZKV3-BGmCwfod.js → color-C3pYZKV3-Boz82QD1.js} +2 -2
  34. package/dist/assets/{color-C3pYZKV3-BGmCwfod.js.map → color-C3pYZKV3-Boz82QD1.js.map} +1 -1
  35. package/dist/assets/{controller-C7skty3T-3w3vcTk5.js → controller-4o5NtKAV-D22HY-_r.js} +2 -2
  36. package/dist/assets/{controller-C7skty3T-3w3vcTk5.js.map → controller-4o5NtKAV-D22HY-_r.js.map} +1 -1
  37. package/dist/assets/{controller-BMZRH6Si-B5Tb77rU.js → controller-CAN1DW3L-B9N3aOv7.js} +2 -2
  38. package/dist/assets/{controller-BMZRH6Si-B5Tb77rU.js.map → controller-CAN1DW3L-B9N3aOv7.js.map} +1 -1
  39. package/dist/assets/{controller-CV2y9Ae_-BvODZRBq.js → controller-CV2y9Ae_-C2Ci0S_1.js} +2 -2
  40. package/dist/assets/{controller-CV2y9Ae_-BvODZRBq.js.map → controller-CV2y9Ae_-C2Ci0S_1.js.map} +1 -1
  41. package/dist/assets/{controller-B_Bwl5E9-CBgf6Hfe.js → controller-Dl3IUIE_-BJro71ic.js} +2 -2
  42. package/dist/assets/{controller-B_Bwl5E9-CBgf6Hfe.js.map → controller-Dl3IUIE_-BJro71ic.js.map} +1 -1
  43. package/dist/assets/{controller-icon-DcftMfhw-DppVXxu6.js → controller-icon-Dl7OIeHN-B8sxZuO8.js} +2 -2
  44. package/dist/assets/{controller-icon-DcftMfhw-DppVXxu6.js.map → controller-icon-Dl7OIeHN-B8sxZuO8.js.map} +1 -1
  45. package/dist/assets/{custom-class-CA0KGtrM-B2Km4gsc.js → custom-class-CA0KGtrM-CKVUEgqH.js} +2 -2
  46. package/dist/assets/{custom-class-CA0KGtrM-B2Km4gsc.js.map → custom-class-CA0KGtrM-CKVUEgqH.js.map} +1 -1
  47. package/dist/assets/{dev.utils-D2H-D7vZ-B1-EwTKq.js → dev.utils-CeYsnaLz-_oCb7mSZ.js} +2 -2
  48. package/dist/assets/{dev.utils-D2H-D7vZ-B1-EwTKq.js.map → dev.utils-CeYsnaLz-_oCb7mSZ.js.map} +1 -1
  49. package/dist/assets/{devtools-Bv4R5yuw-ByKEpxpX.js → devtools-DAp5aq4j-B34OXP1z.js} +2 -2
  50. package/dist/assets/{devtools-Bv4R5yuw-ByKEpxpX.js.map → devtools-DAp5aq4j-B34OXP1z.js.map} +1 -1
  51. package/dist/assets/{disabled-BydergHu-D-dcqpPL.js → disabled-BydergHu-DG5LdC-Q.js} +2 -2
  52. package/dist/assets/{disabled-BydergHu-D-dcqpPL.js.map → disabled-BydergHu-DG5LdC-Q.js.map} +1 -1
  53. package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js +4 -0
  54. package/dist/assets/{has-closer-BBMh8HY3-CC9A9PeT.js.map → has-closer-BBMh8HY3-X-04kzoH.js.map} +1 -1
  55. package/dist/assets/{hide-label-DRunOux4-B8y3Ehgs.js → hide-label-DRunOux4--dDsrCvo.js} +2 -2
  56. package/dist/assets/{hide-label-DRunOux4-B8y3Ehgs.js.map → hide-label-DRunOux4--dDsrCvo.js.map} +1 -1
  57. package/dist/assets/{href-zZq6HYWf-DuQLYdN_.js → href-zZq6HYWf-CJRn7KoA.js} +2 -2
  58. package/dist/assets/{href-zZq6HYWf-DuQLYdN_.js.map → href-zZq6HYWf-CJRn7KoA.js.map} +1 -1
  59. package/dist/assets/{i18n-CdSCDnmA-D_Ak1YX2.js → i18n-CdSCDnmA-DXZ5RBs2.js} +2 -2
  60. package/dist/assets/{i18n-CdSCDnmA-D_Ak1YX2.js.map → i18n-CdSCDnmA-DXZ5RBs2.js.map} +1 -1
  61. package/dist/assets/{icons-72ER78AW-DZDBahe5.js → icons-72ER78AW-DpSGILmm.js} +2 -2
  62. package/dist/assets/{icons-72ER78AW-DZDBahe5.js.map → icons-72ER78AW-DpSGILmm.js.map} +1 -1
  63. package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js +4 -0
  64. package/dist/assets/{image-source-RWPv7frZ-BZfVa5YS.js.map → image-source-RWPv7frZ-DPAFBpz5.js.map} +1 -1
  65. package/dist/assets/index-BGOAkFhh.css +1 -0
  66. package/dist/assets/{index-Cuz1_aaZ.js → index-BcWoQyjV.js} +266 -265
  67. package/dist/assets/index-BcWoQyjV.js.map +1 -0
  68. package/dist/assets/{kol-abbr.entry-CDYF09M6.js → kol-abbr.entry-D1-px79M.js} +2 -2
  69. package/dist/assets/{kol-abbr.entry-CDYF09M6.js.map → kol-abbr.entry-D1-px79M.js.map} +1 -1
  70. package/dist/assets/{kol-accordion.entry-DiNvSycn.js → kol-accordion.entry-D5TwzVdy.js} +7 -7
  71. package/dist/assets/{kol-accordion.entry-DiNvSycn.js.map → kol-accordion.entry-D5TwzVdy.js.map} +1 -1
  72. package/dist/assets/{kol-alert-wc.entry-Bm7bVx42.js → kol-alert-wc.entry-BRcerKE9.js} +2 -2
  73. package/dist/assets/{kol-alert-wc.entry-Bm7bVx42.js.map → kol-alert-wc.entry-BRcerKE9.js.map} +1 -1
  74. package/dist/assets/{kol-alert.entry-C_LnZQMR.js → kol-alert.entry-DjTpHMvm.js} +2 -2
  75. package/dist/assets/{kol-alert.entry-C_LnZQMR.js.map → kol-alert.entry-DjTpHMvm.js.map} +1 -1
  76. package/dist/assets/{kol-avatar-wc.entry-BTkbktI1.js → kol-avatar-wc.entry-DL1FiK4Y.js} +2 -2
  77. package/dist/assets/{kol-avatar-wc.entry-BTkbktI1.js.map → kol-avatar-wc.entry-DL1FiK4Y.js.map} +1 -1
  78. package/dist/assets/{kol-avatar.entry-wzugi-ff.js → kol-avatar.entry-D-Hk8QoG.js} +2 -2
  79. package/dist/assets/{kol-avatar.entry-wzugi-ff.js.map → kol-avatar.entry-D-Hk8QoG.js.map} +1 -1
  80. package/dist/assets/{kol-badge.entry-DVoJvgzC.js → kol-badge.entry-BmtWYybc.js} +2 -2
  81. package/dist/assets/{kol-badge.entry-DVoJvgzC.js.map → kol-badge.entry-BmtWYybc.js.map} +1 -1
  82. package/dist/assets/{kol-breadcrumb.entry-DspXS-ov.js → kol-breadcrumb.entry-4_4wJ1V7.js} +3 -2
  83. package/dist/assets/{kol-breadcrumb.entry-DspXS-ov.js.map → kol-breadcrumb.entry-4_4wJ1V7.js.map} +1 -1
  84. package/dist/assets/{kol-button-link.entry-Yms_sApD.js → kol-button-link.entry-C4RHDvXg.js} +3 -2
  85. package/dist/assets/{kol-button-link.entry-Yms_sApD.js.map → kol-button-link.entry-C4RHDvXg.js.map} +1 -1
  86. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js +4 -0
  87. package/dist/assets/kol-button-wc.entry-CO1HKaP-.js.map +1 -0
  88. package/dist/assets/{kol-button.entry-DI56_s8m.js → kol-button.entry-7-wx39q5.js} +2 -2
  89. package/dist/assets/{kol-button.entry-DI56_s8m.js.map → kol-button.entry-7-wx39q5.js.map} +1 -1
  90. package/dist/assets/kol-card-wc.entry-PlaKhF5y.js +4 -0
  91. package/dist/assets/{kol-card-wc.entry-CDrpLONC.js.map → kol-card-wc.entry-PlaKhF5y.js.map} +1 -1
  92. package/dist/assets/{kol-card.entry-3kIYUSix.js → kol-card.entry-CyHtLWIW.js} +3 -3
  93. package/dist/assets/{kol-card.entry-3kIYUSix.js.map → kol-card.entry-CyHtLWIW.js.map} +1 -1
  94. package/dist/assets/{kol-combobox.entry-BKP1VAxl.js → kol-combobox.entry-CpmqxpBN.js} +3 -3
  95. package/dist/assets/{kol-combobox.entry-BKP1VAxl.js.map → kol-combobox.entry-CpmqxpBN.js.map} +1 -1
  96. package/dist/assets/{kol-details.entry-Cv0WbfSH.js → kol-details.entry-kQzWhN5P.js} +8 -8
  97. package/dist/assets/{kol-details.entry-Cv0WbfSH.js.map → kol-details.entry-kQzWhN5P.js.map} +1 -1
  98. package/dist/assets/{kol-drawer.entry-CHWD05cU.js → kol-drawer.entry-DxS7MGCL.js} +4 -4
  99. package/dist/assets/kol-drawer.entry-DxS7MGCL.js.map +1 -0
  100. package/dist/assets/{kol-form.entry-B1q6qhol.js → kol-form.entry-DFy3LYKz.js} +4 -3
  101. package/dist/assets/kol-form.entry-DFy3LYKz.js.map +1 -0
  102. package/dist/assets/{kol-heading.entry-DmjiOztc.js → kol-heading.entry-Bz6Uz9Xb.js} +3 -3
  103. package/dist/assets/{kol-heading.entry-DmjiOztc.js.map → kol-heading.entry-Bz6Uz9Xb.js.map} +1 -1
  104. package/dist/assets/{kol-icon.entry-BEjfo0G6.js → kol-icon.entry-C4kKMLmM.js} +4 -4
  105. package/dist/assets/{kol-icon.entry-BEjfo0G6.js.map → kol-icon.entry-C4kKMLmM.js.map} +1 -1
  106. package/dist/assets/{kol-image.entry-BSIVz8mw.js → kol-image.entry-DN85gHIY.js} +3 -3
  107. package/dist/assets/{kol-image.entry-BSIVz8mw.js.map → kol-image.entry-DN85gHIY.js.map} +1 -1
  108. package/dist/assets/{kol-input-checkbox.entry-C2dsUMpB.js → kol-input-checkbox.entry-BB36qYTr.js} +3 -3
  109. package/dist/assets/{kol-input-checkbox.entry-C2dsUMpB.js.map → kol-input-checkbox.entry-BB36qYTr.js.map} +1 -1
  110. package/dist/assets/{kol-input-color.entry-j-2La6yx.js → kol-input-color.entry-CRrCLnIq.js} +3 -3
  111. package/dist/assets/{kol-input-color.entry-j-2La6yx.js.map → kol-input-color.entry-CRrCLnIq.js.map} +1 -1
  112. package/dist/assets/{kol-input-date.entry-DiL7z-A9.js → kol-input-date.entry-GfOOymhn.js} +3 -3
  113. package/dist/assets/{kol-input-date.entry-DiL7z-A9.js.map → kol-input-date.entry-GfOOymhn.js.map} +1 -1
  114. package/dist/assets/{kol-input-email.entry-NqnUVX0g.js → kol-input-email.entry-PV2-V6ea.js} +3 -3
  115. package/dist/assets/{kol-input-email.entry-NqnUVX0g.js.map → kol-input-email.entry-PV2-V6ea.js.map} +1 -1
  116. package/dist/assets/{kol-input-file.entry-DW7UhGD1.js → kol-input-file.entry-BV9OeZr8.js} +3 -3
  117. package/dist/assets/{kol-input-file.entry-DW7UhGD1.js.map → kol-input-file.entry-BV9OeZr8.js.map} +1 -1
  118. package/dist/assets/{kol-input-number.entry-BaZ3sKXG.js → kol-input-number.entry-RTzOX8E_.js} +4 -4
  119. package/dist/assets/{kol-input-number.entry-BaZ3sKXG.js.map → kol-input-number.entry-RTzOX8E_.js.map} +1 -1
  120. package/dist/assets/{kol-input-password.entry-LFN7CWLE.js → kol-input-password.entry-P1D_zg4A.js} +3 -3
  121. package/dist/assets/{kol-input-password.entry-LFN7CWLE.js.map → kol-input-password.entry-P1D_zg4A.js.map} +1 -1
  122. package/dist/assets/{kol-input-radio.entry-7uz1BXPD.js → kol-input-radio.entry-dTd41HrI.js} +3 -3
  123. package/dist/assets/{kol-input-radio.entry-7uz1BXPD.js.map → kol-input-radio.entry-dTd41HrI.js.map} +1 -1
  124. package/dist/assets/{kol-input-range.entry-Ct22UEK1.js → kol-input-range.entry-DcGp-uOd.js} +3 -3
  125. package/dist/assets/{kol-input-range.entry-Ct22UEK1.js.map → kol-input-range.entry-DcGp-uOd.js.map} +1 -1
  126. package/dist/assets/{kol-input-text.entry-BfhtVlV6.js → kol-input-text.entry-TOkH_vFE.js} +3 -3
  127. package/dist/assets/{kol-input-text.entry-BfhtVlV6.js.map → kol-input-text.entry-TOkH_vFE.js.map} +1 -1
  128. package/dist/assets/{kol-kolibri.entry-FiUt9h9Z.js → kol-kolibri.entry-vnjBHTkR.js} +3 -3
  129. package/dist/assets/{kol-kolibri.entry-FiUt9h9Z.js.map → kol-kolibri.entry-vnjBHTkR.js.map} +1 -1
  130. package/dist/assets/{kol-link-button.entry-EKXrQYWi.js → kol-link-button.entry-CiZlKz0X.js} +3 -3
  131. package/dist/assets/{kol-link-button.entry-EKXrQYWi.js.map → kol-link-button.entry-CiZlKz0X.js.map} +1 -1
  132. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js +4 -0
  133. package/dist/assets/kol-link-wc.entry-gCO8GEIA.js.map +1 -0
  134. package/dist/assets/{kol-link.entry-B5hSjd-o.js → kol-link.entry-CEbyTLtL.js} +4 -3
  135. package/dist/assets/{kol-link.entry-B5hSjd-o.js.map → kol-link.entry-CEbyTLtL.js.map} +1 -1
  136. package/dist/assets/{kol-modal.entry-D_BfBMkS.js → kol-modal.entry-DxkjKvjF.js} +4 -4
  137. package/dist/assets/kol-modal.entry-DxkjKvjF.js.map +1 -0
  138. package/dist/assets/{kol-nav.entry-CTzU6VoY.js → kol-nav.entry-ETXrkvXL.js} +4 -4
  139. package/dist/assets/kol-nav.entry-ETXrkvXL.js.map +1 -0
  140. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js +4 -0
  141. package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js.map +1 -0
  142. package/dist/assets/{kol-pagination.entry-BHJy3ud9.js → kol-pagination.entry-CFi2-gxM.js} +3 -3
  143. package/dist/assets/{kol-pagination.entry-BHJy3ud9.js.map → kol-pagination.entry-CFi2-gxM.js.map} +1 -1
  144. package/dist/assets/{kol-popover-button-wc.entry-YBUoaQbf.js → kol-popover-button-wc.entry-ChSU6IFm.js} +3 -3
  145. package/dist/assets/{kol-popover-button-wc.entry-YBUoaQbf.js.map → kol-popover-button-wc.entry-ChSU6IFm.js.map} +1 -1
  146. package/dist/assets/{kol-popover-button.entry-bN4qCl8m.js → kol-popover-button.entry-DxNtCQp-.js} +3 -3
  147. package/dist/assets/{kol-popover-button.entry-bN4qCl8m.js.map → kol-popover-button.entry-DxNtCQp-.js.map} +1 -1
  148. package/dist/assets/{kol-popover-wc.entry-CbHLANd0.js → kol-popover-wc.entry-DifxtFqF.js} +3 -3
  149. package/dist/assets/{kol-popover-wc.entry-CbHLANd0.js.map → kol-popover-wc.entry-DifxtFqF.js.map} +1 -1
  150. package/dist/assets/{kol-progress.entry-BhEOF17k.js → kol-progress.entry-nca34a3W.js} +3 -3
  151. package/dist/assets/{kol-progress.entry-BhEOF17k.js.map → kol-progress.entry-nca34a3W.js.map} +1 -1
  152. package/dist/assets/{kol-quote.entry-iHbat58_.js → kol-quote.entry-YXiTZNnm.js} +4 -4
  153. package/dist/assets/{kol-quote.entry-iHbat58_.js.map → kol-quote.entry-YXiTZNnm.js.map} +1 -1
  154. package/dist/assets/{kol-select.entry-CKKnrifZ.js → kol-select.entry-BH_s2GX5.js} +4 -4
  155. package/dist/assets/{kol-select.entry-CKKnrifZ.js.map → kol-select.entry-BH_s2GX5.js.map} +1 -1
  156. package/dist/assets/{kol-single-select.entry-nQ1wRf_E.js → kol-single-select.entry-DVUfcX_x.js} +3 -3
  157. package/dist/assets/{kol-single-select.entry-nQ1wRf_E.js.map → kol-single-select.entry-DVUfcX_x.js.map} +1 -1
  158. package/dist/assets/{kol-skip-nav.entry-B2bsiO8u.js → kol-skip-nav.entry-CMICgsBM.js} +3 -3
  159. package/dist/assets/{kol-skip-nav.entry-B2bsiO8u.js.map → kol-skip-nav.entry-CMICgsBM.js.map} +1 -1
  160. package/dist/assets/{kol-spin.entry-CZdTcUrs.js → kol-spin.entry-BibNCOH_.js} +3 -3
  161. package/dist/assets/{kol-spin.entry-CZdTcUrs.js.map → kol-spin.entry-BibNCOH_.js.map} +1 -1
  162. package/dist/assets/{kol-split-button.entry-D2JCJ1Z_.js → kol-split-button.entry-CN1J8gkv.js} +3 -3
  163. package/dist/assets/{kol-split-button.entry-D2JCJ1Z_.js.map → kol-split-button.entry-CN1J8gkv.js.map} +1 -1
  164. package/dist/assets/{kol-table-settings-wc.entry-tP7STHNV.js → kol-table-settings-wc.entry-DzYEaUnI.js} +3 -3
  165. package/dist/assets/{kol-table-settings-wc.entry-tP7STHNV.js.map → kol-table-settings-wc.entry-DzYEaUnI.js.map} +1 -1
  166. package/dist/assets/{kol-table-stateful.entry-CY70UPdZ.js → kol-table-stateful.entry-DC6QZqed.js} +3 -3
  167. package/dist/assets/{kol-table-stateful.entry-CY70UPdZ.js.map → kol-table-stateful.entry-DC6QZqed.js.map} +1 -1
  168. package/dist/assets/{kol-table-stateless-wc.entry-DtXNSDzY.js → kol-table-stateless-wc.entry-BKTtdiXs.js} +3 -3
  169. package/dist/assets/{kol-table-stateless-wc.entry-DtXNSDzY.js.map → kol-table-stateless-wc.entry-BKTtdiXs.js.map} +1 -1
  170. package/dist/assets/{kol-table-stateless.entry-DbCRETh2.js → kol-table-stateless.entry-ceyX4Pr1.js} +3 -3
  171. package/dist/assets/{kol-table-stateless.entry-DbCRETh2.js.map → kol-table-stateless.entry-ceyX4Pr1.js.map} +1 -1
  172. package/dist/assets/{kol-tabs.entry-DM6Uc80G.js → kol-tabs.entry-ugHVPvjR.js} +3 -3
  173. package/dist/assets/{kol-tabs.entry-DM6Uc80G.js.map → kol-tabs.entry-ugHVPvjR.js.map} +1 -1
  174. package/dist/assets/{kol-textarea.entry-E_1sFuyJ.js → kol-textarea.entry-BvcXAwnb.js} +3 -3
  175. package/dist/assets/{kol-textarea.entry-E_1sFuyJ.js.map → kol-textarea.entry-BvcXAwnb.js.map} +1 -1
  176. package/dist/assets/{kol-toast-container.entry-BUdzaMuB.js → kol-toast-container.entry-C3GIT1za.js} +4 -4
  177. package/dist/assets/{kol-toast-container.entry-BUdzaMuB.js.map → kol-toast-container.entry-C3GIT1za.js.map} +1 -1
  178. package/dist/assets/{kol-toolbar.entry-D67v6u-8.js → kol-toolbar.entry-2hd718Om.js} +3 -3
  179. package/dist/assets/{kol-toolbar.entry-D67v6u-8.js.map → kol-toolbar.entry-2hd718Om.js.map} +1 -1
  180. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js +4 -0
  181. package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js.map +1 -0
  182. package/dist/assets/{kol-tree-item-wc.entry-DKoKfts1.js → kol-tree-item-wc.entry-Cr2lH6I6.js} +3 -3
  183. package/dist/assets/{kol-tree-item-wc.entry-DKoKfts1.js.map → kol-tree-item-wc.entry-Cr2lH6I6.js.map} +1 -1
  184. package/dist/assets/{kol-tree-item.entry-Djke4A3b.js → kol-tree-item.entry-DmWUWFcB.js} +3 -3
  185. package/dist/assets/{kol-tree-item.entry-Djke4A3b.js.map → kol-tree-item.entry-DmWUWFcB.js.map} +1 -1
  186. package/dist/assets/{kol-tree-wc.entry-uk0FxE09.js → kol-tree-wc.entry-BxjlLj3I.js} +3 -3
  187. package/dist/assets/{kol-tree-wc.entry-uk0FxE09.js.map → kol-tree-wc.entry-BxjlLj3I.js.map} +1 -1
  188. package/dist/assets/{kol-tree.entry-Chg5xrSR.js → kol-tree.entry-DtuEyjDz.js} +3 -3
  189. package/dist/assets/{kol-tree.entry-Chg5xrSR.js.map → kol-tree.entry-DtuEyjDz.js.map} +1 -1
  190. package/dist/assets/{kol-version.entry-qtZUGKBb.js → kol-version.entry-BAe12zmq.js} +3 -3
  191. package/dist/assets/{kol-version.entry-qtZUGKBb.js.map → kol-version.entry-BAe12zmq.js.map} +1 -1
  192. package/dist/assets/{label-CdtNxOKu-C0Uq4kJW.js → label-CdtNxOKu-pHFEuQ3R.js} +2 -2
  193. package/dist/assets/{label-CdtNxOKu-C0Uq4kJW.js.map → label-CdtNxOKu-pHFEuQ3R.js.map} +1 -1
  194. package/dist/assets/{link-variant-H9yefO89-Dc46rCQB.js → link-variant-H9yefO89-BVbfesoN.js} +2 -2
  195. package/dist/assets/{link-variant-H9yefO89-Dc46rCQB.js.map → link-variant-H9yefO89-BVbfesoN.js.map} +1 -1
  196. package/dist/assets/{markdown-DL-PkOqb-Cfi-IobI.js → markdown-DL-PkOqb-4V8Cu5gn.js} +2 -2
  197. package/dist/assets/{markdown-DL-PkOqb-Cfi-IobI.js.map → markdown-DL-PkOqb-4V8Cu5gn.js.map} +1 -1
  198. package/dist/assets/{max-length-behavior-BmNWss6T-D3Me1kCn.js → max-length-behavior-BmNWss6T-BiOjdIG-.js} +2 -2
  199. package/dist/assets/{max-length-behavior-BmNWss6T-D3Me1kCn.js.map → max-length-behavior-BmNWss6T-BiOjdIG-.js.map} +1 -1
  200. package/dist/assets/{multiple-bcm5IaCN-BL-rJSXJ.js → multiple-bcm5IaCN-BM-5Peyu.js} +2 -2
  201. package/dist/assets/{multiple-bcm5IaCN-BL-rJSXJ.js.map → multiple-bcm5IaCN-BM-5Peyu.js.map} +1 -1
  202. package/dist/assets/{open-D9q98v46-VLX9RDQU.js → open-D9q98v46-Bj8Lg8iR.js} +2 -2
  203. package/dist/assets/{open-D9q98v46-VLX9RDQU.js.map → open-D9q98v46-Bj8Lg8iR.js.map} +1 -1
  204. package/dist/assets/{orientation-5kQWqijN-D7EKzV_l.js → orientation-5kQWqijN-b_j8C7_r.js} +2 -2
  205. package/dist/assets/{orientation-5kQWqijN-D7EKzV_l.js.map → orientation-5kQWqijN-b_j8C7_r.js.map} +1 -1
  206. package/dist/assets/{placeholder-6URRds0_-0bxiEHiH.js → placeholder-6URRds0_-BkuOrv2r.js} +2 -2
  207. package/dist/assets/{placeholder-6URRds0_-0bxiEHiH.js.map → placeholder-6URRds0_-BkuOrv2r.js.map} +1 -1
  208. package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js +4 -0
  209. package/dist/assets/{read-only-CcRldJ9w-BKw3S46M.js.map → read-only-CcRldJ9w-CcImKy3V.js.map} +1 -1
  210. package/dist/assets/required-G86n77y0-D0bNZ_U9.js +4 -0
  211. package/dist/assets/{required-G86n77y0-CGPyKIYu.js.map → required-G86n77y0-D0bNZ_U9.js.map} +1 -1
  212. package/dist/assets/{rows-P4l3PNiA-1ULQqpAT.js → rows-P4l3PNiA-BMhEFcD5.js} +2 -2
  213. package/dist/assets/{rows-P4l3PNiA-1ULQqpAT.js.map → rows-P4l3PNiA-BMhEFcD5.js.map} +1 -1
  214. package/dist/assets/{show-DsV_Vx8g-DiMq1_s_.js → show-DsV_Vx8g-Dv3aCZCZ.js} +2 -2
  215. package/dist/assets/{show-DsV_Vx8g-DiMq1_s_.js.map → show-DsV_Vx8g-Dv3aCZCZ.js.map} +1 -1
  216. package/dist/assets/{spell-check-DIsLAYgk-CNNuzmlI.js → spell-check-DIsLAYgk-nyUkR3AD.js} +2 -2
  217. package/dist/assets/{spell-check-DIsLAYgk-CNNuzmlI.js.map → spell-check-DIsLAYgk-nyUkR3AD.js.map} +1 -1
  218. package/dist/assets/{suggestions-DfF4lcNG-BAWSaTQv.js → suggestions-DfF4lcNG-DtOaXua3.js} +2 -2
  219. package/dist/assets/{suggestions-DfF4lcNG-BAWSaTQv.js.map → suggestions-DfF4lcNG-DtOaXua3.js.map} +1 -1
  220. package/dist/assets/{table-settings-DSZObo-2-GnkW56H8.js → table-settings-DSZObo-2-CG57c-Iz.js} +2 -2
  221. package/dist/assets/{table-settings-DSZObo-2-GnkW56H8.js.map → table-settings-DSZObo-2-CG57c-Iz.js.map} +1 -1
  222. package/dist/assets/{test-component.entry-7k3T1rVH.js → test-component.entry-XCdkvKax.js} +2 -2
  223. package/dist/assets/{test-component.entry-7k3T1rVH.js.map → test-component.entry-XCdkvKax.js.map} +1 -1
  224. package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js +4 -0
  225. package/dist/assets/{tooltip-align-_VI7LehI-CoBIm-Yw.js.map → tooltip-align-_VI7LehI-CnTmBpTY.js.map} +1 -1
  226. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +4 -0
  227. package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +1 -0
  228. package/dist/assets/{unique-nav-labels-C_NhdgGz-Bue2PH5M.js → unique-nav-labels-C_NhdgGz-CJHm2FuG.js} +2 -2
  229. package/dist/assets/{unique-nav-labels-C_NhdgGz-Bue2PH5M.js.map → unique-nav-labels-C_NhdgGz-CJHm2FuG.js.map} +1 -1
  230. package/dist/assets/{validation-CW_RXPSn-D_6FnYWY.js → validation-CW_RXPSn-jNLxrEvl.js} +2 -2
  231. package/dist/assets/{validation-CW_RXPSn-D_6FnYWY.js.map → validation-CW_RXPSn-jNLxrEvl.js.map} +1 -1
  232. package/dist/assets/{validation-DoIjmu3L-BKzT8Xr7.js → validation-DoIjmu3L-CXCVI4ek.js} +2 -2
  233. package/dist/assets/{validation-DoIjmu3L-BKzT8Xr7.js.map → validation-DoIjmu3L-CXCVI4ek.js.map} +1 -1
  234. package/dist/index.html +2 -2
  235. package/package.json +9 -10
  236. package/src/components/link/link-react-router.tsx +31 -0
  237. package/src/components/link/routes.ts +2 -0
  238. package/src/components/table/routes.ts +2 -0
  239. package/src/components/table/sticky-header.tsx +37 -0
  240. package/src/components/table/test-complex-data.ts +2214 -0
  241. package/src/components/toast/basic.tsx +6 -36
  242. package/src/components/toast/configurator.tsx +84 -0
  243. package/src/components/toast/routes.ts +2 -0
  244. package/dist/assets/Alert-qJPuIv8b-Cf1Dz4Bo.js +0 -4
  245. package/dist/assets/Alert-qJPuIv8b-Cf1Dz4Bo.js.map +0 -1
  246. package/dist/assets/FieldControlStateWrapper-CIWPKSbC-DcHGRl6R.js +0 -4
  247. package/dist/assets/FieldControlStateWrapper-CIWPKSbC-DcHGRl6R.js.map +0 -1
  248. package/dist/assets/FormFieldStateWrapper-CKwM-DIl-BUCjWcxC.js +0 -4
  249. package/dist/assets/FormFieldStateWrapper-CKwM-DIl-BUCjWcxC.js.map +0 -1
  250. package/dist/assets/has-closer-BBMh8HY3-CC9A9PeT.js +0 -4
  251. package/dist/assets/image-source-RWPv7frZ-BZfVa5YS.js +0 -4
  252. package/dist/assets/index-BAl2VGOM.css +0 -1
  253. package/dist/assets/index-Cuz1_aaZ.js.map +0 -1
  254. package/dist/assets/kol-button-wc.entry-Cdc8JUW4.js +0 -4
  255. package/dist/assets/kol-button-wc.entry-Cdc8JUW4.js.map +0 -1
  256. package/dist/assets/kol-card-wc.entry-CDrpLONC.js +0 -4
  257. package/dist/assets/kol-drawer.entry-CHWD05cU.js.map +0 -1
  258. package/dist/assets/kol-form.entry-B1q6qhol.js.map +0 -1
  259. package/dist/assets/kol-link-wc.entry-BY1QaToe.js +0 -4
  260. package/dist/assets/kol-link-wc.entry-BY1QaToe.js.map +0 -1
  261. package/dist/assets/kol-modal.entry-D_BfBMkS.js.map +0 -1
  262. package/dist/assets/kol-nav.entry-CTzU6VoY.js.map +0 -1
  263. package/dist/assets/kol-pagination-wc.entry-BdT0MOmj.js +0 -4
  264. package/dist/assets/kol-pagination-wc.entry-BdT0MOmj.js.map +0 -1
  265. package/dist/assets/kol-tooltip-wc.entry-BIb_Tp2q.js +0 -4
  266. package/dist/assets/kol-tooltip-wc.entry-BIb_Tp2q.js.map +0 -1
  267. package/dist/assets/read-only-CcRldJ9w-BKw3S46M.js +0 -4
  268. package/dist/assets/required-G86n77y0-CGPyKIYu.js +0 -4
  269. package/dist/assets/tooltip-align-_VI7LehI-CoBIm-Yw.js +0 -4
@@ -1,4 +1,4 @@
1
- import{r as t,h as n,K as i,H as o}from"./index-Cuz1_aaZ.js";import{v as a}from"./label-CdtNxOKu-C0Uq4kJW.js";/*!
1
+ import{r as t,h as n,K as i,H as o}from"./index-BcWoQyjV.js";import{v as a}from"./label-CdtNxOKu-pHFEuQ3R.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const l=`/*
4
4
  * This file defines the layer order for all CSS layers used in KoliBri.
@@ -234,4 +234,4 @@ import{r as t,h as n,K as i,H as o}from"./index-Cuz1_aaZ.js";import{v as a}from"
234
234
  z-index: 1000;
235
235
  }
236
236
  }`,s=class{constructor(e){t(this,e),this.state={_label:""}}render(){return n(o,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},n("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},n("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?n(i,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(e){a(this,e)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};s.style={default:l};export{s as kol_abbr};
237
- //# sourceMappingURL=kol-abbr.entry-CDYF09M6.js.map
237
+ //# sourceMappingURL=kol-abbr.entry-D1-px79M.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-abbr.entry-CDYF09M6.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-DKFHNf-G.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAAA;AAAA;AAAA,GAQA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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AK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
1
+ {"version":3,"file":"kol-abbr.entry-D1-px79M.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-Rpv6usqv.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAAA;AAAA;AAAA,GAQA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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AAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
@@ -1,4 +1,4 @@
1
- import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Cuz1_aaZ.js";import{v as m}from"./disabled-BydergHu-D-dcqpPL.js";import{v as b}from"./label-CdtNxOKu-C0Uq4kJW.js";import{v as u}from"./open-D9q98v46-VLX9RDQU.js";import{n as f}from"./dev.utils-D2H-D7vZ-B1-EwTKq.js";import{w as g}from"./validation-CW_RXPSn-D_6FnYWY.js";import{K as v}from"./Collapsible-VwOBRTg--D0SKccok.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";import"./Heading-CMd-jtC1-BWK_kciH.js";/*!
1
+ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-BcWoQyjV.js";import{v as m}from"./disabled-BydergHu-DG5LdC-Q.js";import{v as b}from"./label-CdtNxOKu-pHFEuQ3R.js";import{v as u}from"./open-D9q98v46-Bj8Lg8iR.js";import{n as f}from"./dev.utils-CeYsnaLz-_oCb7mSZ.js";import{w as g}from"./validation-CW_RXPSn-jNLxrEvl.js";import{K as v}from"./Collapsible-BdJSqZfQ-CW3zh1sv.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";import"./Heading-E6VPUTCQ-B1xNnKja.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const w=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},y=`/*
4
4
  * This file defines the layer order for all CSS layers used in KoliBri.
@@ -217,17 +217,17 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Cuz1_aaZ.js";import{v
217
217
  /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */
218
218
  transform: translateZ(0);
219
219
  display: grid;
220
+ grid-template-rows: 0fr;
221
+ transition: grid-template-rows 0.3s;
222
+ }
223
+ .collapsible__wrapper-animation {
224
+ min-height: 0;
220
225
  /**
221
226
  * The \`overflow: hidden\` ensures that the content is not visible during the animated
222
227
  * opening and closing. This should also cut off overlays containing content, but it
223
228
  *does not.
224
229
  */
225
230
  overflow: hidden;
226
- grid-template-rows: 0fr;
227
- transition: grid-template-rows 0.3s;
228
- }
229
- .collapsible__wrapper-animation {
230
- min-height: 0;
231
231
  /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */
232
232
  visibility: hidden;
233
233
  transition: visibility 0.3s;
@@ -246,4 +246,4 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Cuz1_aaZ.js";import{v
246
246
  - onClick auf der KolAccordion anwenden
247
247
  - Click-Event prüft den _open-Status der Accordions
248
248
  - Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=f(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,o;(o=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||o===void 0||o.call(e,t,this._open===!0),this.host&&d(this.host,c.click,this._open===!0)})},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:o}=this.state,i="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:e,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return a(v,Object.assign({key:"750cf0bb226ec5139c7098bd44e2a64546888a32"},s),a("slot",{key:"08908025b6753ebe36defc6e2d210736eabff629"}))}validateDisabled(n){m(this,n)}validateLabel(n){b(this,n,{required:!0})}validateLevel(n){g(this,n)}validateOn(n){w(this,n)}validateOpen(n){u(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return h(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};_.style={default:y};export{_ as kol_accordion};
249
- //# sourceMappingURL=kol-accordion.entry-DiNvSycn.js.map
249
+ //# sourceMappingURL=kol-accordion.entry-D5TwzVdy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-accordion.entry-DiNvSycn.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-DKFHNf-G.js';\nimport { w as watchValidator, f as featureHint } from './common-8fBdMvJM.js';\nimport { v as validateDisabled } from './disabled-BydergHu.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { v as validateOpen } from './open-D9q98v46.js';\nimport { n as nonce } from './dev.utils-D2H-D7vZ.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolCollapsibleFc } from './Collapsible-VwOBRTg-.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './Heading-CMd-jtC1.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n @media print {\\n :not(.collapsible--open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n /**\\n * The `overflow: hidden` ensures that the content is not visible during the animated\\n * opening and closing. This should also cut off overlays containing content, but it\\n *does not.\\n */\\n overflow: hidden;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n min-height: 0;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: visibility 0.3s;\\n }\\n .collapsible--open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .collapsible--open .collapsible__wrapper-animation {\\n visibility: visible;\\n }\\n .collapsible__heading-button button .kol-span {\\n justify-items: start;\\n }\\n}\";\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.click, this._open === true);\n }\n });\n };\n this._disabled = false;\n this._level = 0;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'kol-accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: '750cf0bb226ec5139c7098bd44e2a64546888a32' }, props), h(\"slot\", { key: '08908025b6753ebe36defc6e2d210736eabff629' })));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: defaultStyleCss\n};\n\nexport { KolAccordion as kol_accordion };\n//# sourceMappingURL=kol-accordion.entry.js.map\n"],"names":["validateAccordionCallbacks","component","value","watchValidator","defaultStyleCss","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"mfAAA;AAAA;AAAA,GAiBA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAU,OAAOA,GAAU,UAAYA,IAAU,KAAM,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAC5J,EAEME,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,iBAAiB,KAAK,SAAS,EACpC,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,aAAa,KAAK,KAAK,CAChC,CACA,IAAI,MAAO,CAAE,OAAO2B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,UAAa,CAAC,kBAAkB,EAChC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,CAChC,CAAO,CACP,EACAvB,EAAa,MAAQ,CACjB,QAASF,CACb"}
1
+ {"version":3,"file":"kol-accordion.entry-D5TwzVdy.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-Rpv6usqv.js';\nimport { w as watchValidator, f as featureHint } from './common-8fBdMvJM.js';\nimport { v as validateDisabled } from './disabled-BydergHu.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { v as validateOpen } from './open-D9q98v46.js';\nimport { n as nonce } from './dev.utils-CeYsnaLz.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolCollapsibleFc } from './Collapsible-BdJSqZfQ.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './Heading-E6VPUTCQ.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n @media print {\\n :not(.collapsible--open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n min-height: 0;\\n /**\\n * The `overflow: hidden` ensures that the content is not visible during the animated\\n * opening and closing. This should also cut off overlays containing content, but it\\n *does not.\\n */\\n overflow: hidden;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: visibility 0.3s;\\n }\\n .collapsible--open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .collapsible--open .collapsible__wrapper-animation {\\n visibility: visible;\\n }\\n .collapsible__heading-button button .kol-span {\\n justify-items: start;\\n }\\n}\";\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.click, this._open === true);\n }\n });\n };\n this._disabled = false;\n this._level = 0;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'kol-accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: '750cf0bb226ec5139c7098bd44e2a64546888a32' }, props), h(\"slot\", { key: '08908025b6753ebe36defc6e2d210736eabff629' })));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: defaultStyleCss\n};\n\nexport { KolAccordion as kol_accordion };\n//# sourceMappingURL=kol-accordion.entry.js.map\n"],"names":["validateAccordionCallbacks","component","value","watchValidator","defaultStyleCss","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"mfAAA;AAAA;AAAA,GAiBA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAU,OAAOA,GAAU,UAAYA,IAAU,KAAM,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAC5J,EAEME,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,UAAW,CAAE,MAAO,CAC3B,UAAa,CAAC,kBAAkB,EAChC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,CAChC,CAAO,CACP,EACAvB,EAAa,MAAQ,CACjB,QAASF,CACb"}
@@ -1,4 +1,4 @@
1
- import{r as d,d as c,a as p,h as s,m as _,s as f,g as m,w as l}from"./index-Cuz1_aaZ.js";import{v as y}from"./has-closer-BBMh8HY3-CC9A9PeT.js";import{v as C}from"./label-CdtNxOKu-C0Uq4kJW.js";import{w as u}from"./validation-CW_RXPSn-D_6FnYWY.js";import{K as b}from"./Alert-qJPuIv8b-Cf1Dz4Bo.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./i18n-CdSCDnmA-D_Ak1YX2.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";import"./Heading-CMd-jtC1-BWK_kciH.js";/*!
1
+ import{r as d,d as c,a as p,h as s,m as _,s as f,g as m,w as l}from"./index-BcWoQyjV.js";import{v as y}from"./has-closer-BBMh8HY3-X-04kzoH.js";import{v as C}from"./label-CdtNxOKu-pHFEuQ3R.js";import{w as u}from"./validation-CW_RXPSn-jNLxrEvl.js";import{K as b}from"./Alert-CPAV4jP0-CLk7QYp0.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./i18n-CdSCDnmA-DXZ5RBs2.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";import"./Heading-E6VPUTCQ-B1xNnKja.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const i=["default","info","success","warning","error"],A=t=>typeof t=="string"&&i.includes(t),g=(t,e)=>{l(t,"_type",A,new Set(i),e)},o=["card","msg"],w=t=>typeof t=="string"&&o.includes(t),T=(t,e)=>{l(t,"_variant",w,new Set(o),e)},P=class{constructor(t){d(this,t),this.close=()=>{var e,a;(a=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||a===void 0||a.call(e,new Event("Close")),this.host&&c(this.host,p.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0},this.validateOnValue=e=>typeof e=="object"&&e!==null&&typeof e.onClose=="function"}render(){const{_alert:t,_hasCloser:e,_label:a,_level:r,_type:n,_variant:h}=this.state,v={alert:t,hasCloser:e,label:a,level:r,type:n,variant:h,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return s(b,Object.assign({key:"2f36ca7164492eb43c7942db6e0cb0c231dc9088"},v),s("slot",{key:"626fc6293d159c137669aa44e30a7f122e64f7ef"}))}validateAlert(t){_(this,"_alert",t)}validateHasCloser(t){y(this,t)}validateLabel(t){C(this,t)}validateLevel(t){u(this,t)}validateOn(t){this.validateOnValue(t)&&f(this,"_on",{onClose:t.onClose})}validateType(t){g(this,t)}validateVariant(t){T(this,t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}get host(){return m(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{P as kol_alert_wc};
4
- //# sourceMappingURL=kol-alert-wc.entry-Bm7bVx42.js.map
4
+ //# sourceMappingURL=kol-alert-wc.entry-BRcerKE9.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-alert-wc.entry-Bm7bVx42.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-DKFHNf-G.js';\nimport { w as watchValidator, d as watchBoolean, s as setState } from './common-8fBdMvJM.js';\nimport { v as validateHasCloser } from './has-closer-BBMh8HY3.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolAlertFc } from './Alert-qJPuIv8b.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\nimport './bem-CHTjklyp.js';\nimport './browser-Ba2Wl_kh.js';\nimport './Heading-CMd-jtC1.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst isAlertTypePropType = (value) => {\n return typeof value === 'string' && alertTypeOptions.includes(value);\n};\nconst validateAlertType = (component, value) => {\n watchValidator(component, '_type', isAlertTypePropType, new Set(alertTypeOptions), value);\n};\n\nconst alertVariantOptions = ['card', 'msg'];\nconst isAlertVariantPropType = (value) => {\n return typeof value === 'string' && alertVariantOptions.includes(value);\n};\nconst validateAlertVariant = (component, value) => {\n watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);\n};\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(KolAlertFc, Object.assign({ key: '2f36ca7164492eb43c7942db6e0cb0c231dc9088' }, props), h(\"slot\", { key: '626fc6293d159c137669aa44e30a7f122e64f7ef' })));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n validateAlertType(this, value);\n }\n validateVariant(value) {\n validateAlertVariant(this, value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n//# sourceMappingURL=kol-alert-wc.entry.js.map\n"],"names":["alertTypeOptions","isAlertTypePropType","value","validateAlertType","component","watchValidator","alertVariantOptions","isAlertVariantPropType","validateAlertVariant","KolAlertWc","hostRef","registerInstance","_a","_b","dispatchDomEvent","KolEvent","_alert","_hasCloser","_label","_level","_type","_variant","props","h","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","getElement"],"mappings":"+bAAA;AAAA;AAAA,GAmBA,MAAMA,EAAmB,CAAC,UAAW,OAAQ,UAAW,UAAW,OAAO,EACpEC,EAAuBC,GAClB,OAAOA,GAAU,UAAYF,EAAiB,SAASE,CAAK,EAEjEC,EAAoB,CAACC,EAAWF,IAAU,CAC5CG,EAAeD,EAAW,QAASH,EAAqB,IAAI,IAAID,CA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AK,CACtC,CACA,kBAAkBA,EAAO,CACrBwB,EAAkB,KAAMxB,CAAK,CACjC,CACA,cAAcA,EAAO,CACjByB,EAAc,KAAMzB,CAAK,CAC7B,CACA,cAAcA,EAAO,CACjB0B,EAAkB,KAAM1B,CAAK,CACjC,CACA,WAAWA,EAAO,CACV,KAAK,gBAAgBA,CAAK,GAC1B2B,EAAS,KAAM,MAAO,CAClB,QAAS3B,EAAM,OAC/B,CAAa,CAET,CACA,aAAaA,EAAO,CAChBC,EAAkB,KAAMD,CAAK,CACjC,CACA,gBAAgBA,EAAO,CACnBM,EAAqB,KAAMN,CAAK,CACpC,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,kBAAkB,KAAK,UAAU,EACtC,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,aAAa,KAAK,KAAK,EAC5B,KAAK,gBAAgB,KAAK,QAAQ,CACtC,CACA,IAAI,MAAO,CAAE,OAAO4B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,WAAc,CAAC,mBAAmB,EAClC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,EACxB,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP"}
1
+ {"version":3,"file":"kol-alert-wc.entry-BRcerKE9.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-Rpv6usqv.js';\nimport { w as watchValidator, d as watchBoolean, s as setState } from './common-8fBdMvJM.js';\nimport { v as validateHasCloser } from './has-closer-BBMh8HY3.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolAlertFc } from './Alert-CPAV4jP0.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\nimport './bem-CHTjklyp.js';\nimport './browser-Ba2Wl_kh.js';\nimport './Heading-E6VPUTCQ.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst isAlertTypePropType = (value) => {\n return typeof value === 'string' && alertTypeOptions.includes(value);\n};\nconst validateAlertType = (component, value) => {\n watchValidator(component, '_type', isAlertTypePropType, new Set(alertTypeOptions), value);\n};\n\nconst alertVariantOptions = ['card', 'msg'];\nconst isAlertVariantPropType = (value) => {\n return typeof value === 'string' && alertVariantOptions.includes(value);\n};\nconst validateAlertVariant = (component, value) => {\n watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);\n};\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(KolAlertFc, Object.assign({ key: '2f36ca7164492eb43c7942db6e0cb0c231dc9088' }, props), h(\"slot\", { key: '626fc6293d159c137669aa44e30a7f122e64f7ef' })));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n validateAlertType(this, value);\n }\n validateVariant(value) {\n validateAlertVariant(this, value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n//# sourceMappingURL=kol-alert-wc.entry.js.map\n"],"names":["alertTypeOptions","isAlertTypePropType","value","validateAlertType","component","watchValidator","alertVariantOptions","isAlertVariantPropType","validateAlertVariant","KolAlertWc","hostRef","registerInstance","_a","_b","dispatchDomEvent","KolEvent","_alert","_hasCloser","_label","_level","_type","_variant","props","h","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","getElement"],"mappings":"+bAAA;AAAA;AAAA,GAmBA,MAAMA,EAAmB,CAAC,UAAW,OAAQ,UAAW,UAAW,OAAO,EACpEC,EAAuBC,GAClB,OAAOA,GAAU,UAAYF,EAAiB,SAASE,CAAK,EAEjEC,EAAoB,CAACC,EAAWF,IAAU,CAC5CG,EAAeD,EAAW,QAASH,EAAqB,IAAI,IAAID,CAAgB,EAAGE,CAAK,C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kBA,EAAO,CACrBwB,EAAkB,KAAMxB,CAAK,CACjC,CACA,cAAcA,EAAO,CACjByB,EAAc,KAAMzB,CAAK,CAC7B,CACA,cAAcA,EAAO,CACjB0B,EAAkB,KAAM1B,CAAK,CACjC,CACA,WAAWA,EAAO,CACV,KAAK,gBAAgBA,CAAK,GAC1B2B,EAAS,KAAM,MAAO,CAClB,QAAS3B,EAAM,OAC/B,CAAa,CAET,CACA,aAAaA,EAAO,CAChBC,EAAkB,KAAMD,CAAK,CACjC,CACA,gBAAgBA,EAAO,CACnBM,EAAqB,KAAMN,CAAK,CACpC,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,kBAAkB,KAAK,UAAU,EACtC,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,aAAa,KAAK,KAAK,EAC5B,KAAK,gBAAgB,KAAK,QAAQ,CACtC,CACA,IAAI,MAAO,CAAE,OAAO4B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,WAAc,CAAC,mBAAmB,EAClC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,EACxB,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP"}
@@ -1,4 +1,4 @@
1
- import{r as t,h as n,b as o}from"./index-Cuz1_aaZ.js";/*!
1
+ import{r as t,h as n,b as o}from"./index-BcWoQyjV.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const i=`/*
4
4
  * This file defines the layer order for all CSS layers used in KoliBri.
@@ -255,4 +255,4 @@ import{r as t,h as n,b as o}from"./index-Cuz1_aaZ.js";/*!
255
255
  outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
256
256
  }
257
257
  }`,l=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return n(o,{key:"b876c431070858a6e60733568c4d3c1e111def08",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},n("slot",{key:"d73c1cbe7087c77ce5c43e41c9aa60c652e1c451"}))}};l.style={default:i};export{l as kol_alert};
258
- //# sourceMappingURL=kol-alert.entry-C_LnZQMR.js.map
258
+ //# sourceMappingURL=kol-alert.entry-DjTpHMvm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-alert.entry-C_LnZQMR.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-DKFHNf-G.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'b876c431070858a6e60733568c4d3c1e111def08', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'd73c1cbe7087c77ce5c43e41c9aa60c652e1c451' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defaultStyleCss","KolAlert","hostRef","registerInstance","h","KolAlertWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
1
+ {"version":3,"file":"kol-alert.entry-DjTpHMvm.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-Rpv6usqv.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'b876c431070858a6e60733568c4d3c1e111def08', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'd73c1cbe7087c77ce5c43e41c9aa60c652e1c451' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defaultStyleCss","KolAlert","hostRef","registerInstance","h","KolAlertWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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AAA;AAAA;AAAA;AAAA,GAElBC,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
@@ -1,4 +1,4 @@
1
- import{r as l,h as e}from"./index-Cuz1_aaZ.js";import{v as o}from"./image-source-RWPv7frZ-BZfVa5YS.js";import{v as c}from"./label-CdtNxOKu-C0Uq4kJW.js";import{t as n}from"./i18n-CdSCDnmA-D_Ak1YX2.js";/*!
1
+ import{r as l,h as e}from"./index-BcWoQyjV.js";import{v as o}from"./image-source-RWPv7frZ-DPAFBpz5.js";import{v as c}from"./label-CdtNxOKu-pHFEuQ3R.js";import{t as n}from"./i18n-CdSCDnmA-DXZ5RBs2.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const r=a=>a.length===0?"":a[0].toUpperCase(),d=a=>{const t=a.split(/\s+/),s=t[0],i=t[t.length-1];return t.length>=2&&s&&i?`${r(s)}${r(i)}`:r(a)},b=class{constructor(a){l(this,a),this.state={_src:"",_label:""}}render(){return e("div",{key:"b9ad63a1fb9190d47524deae8e59a00d2a14fa83","aria-label":n("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img"},this.state._src?e("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):e("span",{"aria-hidden":"true",class:"kol-avatar__initials"},d(this.state._label.trim())))}validateSrc(a){o(this,a)}validateLabel(a){c(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{b as kol_avatar_wc};
4
- //# sourceMappingURL=kol-avatar-wc.entry-BTkbktI1.js.map
4
+ //# sourceMappingURL=kol-avatar-wc.entry-DL1FiK4Y.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-avatar-wc.entry-BTkbktI1.js","sources":["../../../../components/dist/esm/kol-avatar-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-DKFHNf-G.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateImageSource } from './image-source-RWPv7frZ.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { t as translate } from './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst formatNameAsInitial = (name) => {\n if (name.length === 0) {\n return '';\n }\n return name[0].toUpperCase();\n};\nconst formatLabelAsInitials = (label) => {\n const names = label.split(/\\s+/);\n const first = names[0];\n const last = names[names.length - 1];\n if (names.length >= 2 && first && last) {\n return `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n }\n return formatNameAsInitial(label);\n};\n\nconst KolAvatarWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _src: '',\n _label: '',\n };\n }\n render() {\n return (h(\"div\", { key: 'b9ad63a1fb9190d47524deae8e59a00d2a14fa83', \"aria-label\": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: \"kol-avatar\", role: \"img\" }, this.state._src ? (h(\"img\", { alt: \"\", \"aria-hidden\": \"true\", class: \"kol-avatar__image\", src: this.state._src })) : (h(\"span\", { \"aria-hidden\": \"true\", class: \"kol-avatar__initials\" }, formatLabelAsInitials(this.state._label.trim())))));\n }\n validateSrc(value) {\n validateImageSource(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n componentWillLoad() {\n this.validateSrc(this._src);\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_src\": [\"validateSrc\"],\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolAvatarWc as kol_avatar_wc };\n//# sourceMappingURL=kol-avatar-wc.entry.js.map\n"],"names":["formatNameAsInitial","name","formatLabelAsInitials","label","names","first","last","KolAvatarWc","hostRef","registerInstance","h","translate","value","validateImageSource","validateLabel"],"mappings":"wMAAA;AAAA;AAAA,GAUA,MAAMA,EAAuBC,GACrBA,EAAK,SAAW,EACT,GAEJA,EAAK,CAAC,EAAE,YAAW,EAExBC,EAAyBC,GAAU,CACrC,MAAMC,EAAQD,EAAM,MAAM,KAAK,EACzBE,EAAQD,EAAM,CAAC,EACfE,EAAOF,EAAMA,EAAM,OAAS,CAAC,EACnC,OAAIA,EAAM,QAAU,GAAKC,GAASC,EACvB,GAAGN,EAAoBK,CAAK,CAAC,GAAGL,EAAoBM,CAAI,CAAC,GAE7DN,EAAoBG,CAAK,CACpC,EAEMI,EAAc,KAAM,CACtB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,KAAM,GACN,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAE,MAAO,CAAE,IAAK,2CAA4C,aAAcC,EAAU,iBAAkB,CAAE,aAAc,CAAE,KAAM,KAAK,MAAM,OAAQ,CAAE,EAAG,MAAO,aAAc,KAAM,KAAK,EAAI,KAAK,MAAM,KAAQD,EAAE,MAAO,CAAE,IAAK,GAAI,cAAe,OAAQ,MAAO,oBAAqB,IAAK,KAAK,MAAM,IAAI,CAAE,EAAMA,EAAE,OAAQ,CAAE,cAAe,OAAQ,MAAO,sBAAsB,EAAIR,EAAsB,KAAK,MAAM,OAAO,KAAI,CAAE,CAAC,CAAE,CACjb,CACA,YAAYU,EAAO,CACfC,EAAoB,KAAMD,CAAK,CACnC,CACA,cAAcA,EAAO,CACjBE,EAAc,KAAMF,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,mBAAoB,CAChB,KAAK,YAAY,KAAK,IAAI,EAC1B,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,KAAQ,CAAC,aAAa,EACtB,OAAU,CAAC,eAAe,CAClC,CAAO,CACP"}
1
+ {"version":3,"file":"kol-avatar-wc.entry-DL1FiK4Y.js","sources":["../../../../components/dist/esm/kol-avatar-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-Rpv6usqv.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateImageSource } from './image-source-RWPv7frZ.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { t as translate } from './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst formatNameAsInitial = (name) => {\n if (name.length === 0) {\n return '';\n }\n return name[0].toUpperCase();\n};\nconst formatLabelAsInitials = (label) => {\n const names = label.split(/\\s+/);\n const first = names[0];\n const last = names[names.length - 1];\n if (names.length >= 2 && first && last) {\n return `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n }\n return formatNameAsInitial(label);\n};\n\nconst KolAvatarWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _src: '',\n _label: '',\n };\n }\n render() {\n return (h(\"div\", { key: 'b9ad63a1fb9190d47524deae8e59a00d2a14fa83', \"aria-label\": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: \"kol-avatar\", role: \"img\" }, this.state._src ? (h(\"img\", { alt: \"\", \"aria-hidden\": \"true\", class: \"kol-avatar__image\", src: this.state._src })) : (h(\"span\", { \"aria-hidden\": \"true\", class: \"kol-avatar__initials\" }, formatLabelAsInitials(this.state._label.trim())))));\n }\n validateSrc(value) {\n validateImageSource(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n componentWillLoad() {\n this.validateSrc(this._src);\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_src\": [\"validateSrc\"],\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolAvatarWc as kol_avatar_wc };\n//# sourceMappingURL=kol-avatar-wc.entry.js.map\n"],"names":["formatNameAsInitial","name","formatLabelAsInitials","label","names","first","last","KolAvatarWc","hostRef","registerInstance","h","translate","value","validateImageSource","validateLabel"],"mappings":"wMAAA;AAAA;AAAA,GAUA,MAAMA,EAAuBC,GACrBA,EAAK,SAAW,EACT,GAEJA,EAAK,CAAC,EAAE,YAAW,EAExBC,EAAyBC,GAAU,CACrC,MAAMC,EAAQD,EAAM,MAAM,KAAK,EACzBE,EAAQD,EAAM,CAAC,EACfE,EAAOF,EAAMA,EAAM,OAAS,CAAC,EACnC,OAAIA,EAAM,QAAU,GAAKC,GAASC,EACvB,GAAGN,EAAoBK,CAAK,CAAC,GAAGL,EAAoBM,CAAI,CAAC,GAE7DN,EAAoBG,CAAK,CACpC,EAEMI,EAAc,KAAM,CACtB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,KAAM,GACN,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAE,MAAO,CAAE,IAAK,2CAA4C,aAAcC,EAAU,iBAAkB,CAAE,aAAc,CAAE,KAAM,KAAK,MAAM,OAAQ,CAAE,EAAG,MAAO,aAAc,KAAM,KAAK,EAAI,KAAK,MAAM,KAAQD,EAAE,MAAO,CAAE,IAAK,GAAI,cAAe,OAAQ,MAAO,oBAAqB,IAAK,KAAK,MAAM,IAAI,CAAE,EAAMA,EAAE,OAAQ,CAAE,cAAe,OAAQ,MAAO,sBAAsB,EAAIR,EAAsB,KAAK,MAAM,OAAO,KAAI,CAAE,CAAC,CAAE,CACjb,CACA,YAAYU,EAAO,CACfC,EAAoB,KAAMD,CAAK,CACnC,CACA,cAAcA,EAAO,CACjBE,EAAc,KAAMF,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,mBAAoB,CAChB,KAAK,YAAY,KAAK,IAAI,EAC1B,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,KAAQ,CAAC,aAAa,EACtB,OAAU,CAAC,eAAe,CAClC,CAAO,CACP"}
@@ -1,4 +1,4 @@
1
- import{r as e,h as t,c as i}from"./index-Cuz1_aaZ.js";/*!
1
+ import{r as e,h as t,c as i}from"./index-BcWoQyjV.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const o=`/* forward the rem function */
4
4
  /*
@@ -218,4 +218,4 @@ import{r as e,h as t,c as i}from"./index-Cuz1_aaZ.js";/*!
218
218
  font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));
219
219
  }
220
220
  }`,a=class{constructor(n){e(this,n)}render(){return t(i,{key:"c4547a5724ed8d947c20de5128227bc71c14d401",_src:this._src,_label:this._label})}};a.style={default:o};export{a as kol_avatar};
221
- //# sourceMappingURL=kol-avatar.entry-wzugi-ff.js.map
221
+ //# sourceMappingURL=kol-avatar.entry-D-Hk8QoG.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-avatar.entry-wzugi-ff.js","sources":["../../../../components/dist/esm/kol-avatar.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-DKFHNf-G.js';\nimport { c as KolAvatarWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-avatar,\\n .kol-avatar__image,\\n .kol-avatar__initials {\\n border-radius: 50%;\\n }\\n .kol-avatar {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-avatar__image, .kol-avatar__initials {\\n width: 100%;\\n height: 100%;\\n }\\n .kol-avatar__initials {\\n background-color: #d3d3d3;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAvatar = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return h(KolAvatarWcTag, { key: 'c4547a5724ed8d947c20de5128227bc71c14d401', _src: this._src, _label: this._label });\n }\n};\nKolAvatar.style = {\n default: defaultStyleCss\n};\n\nexport { KolAvatar as kol_avatar };\n//# sourceMappingURL=kol-avatar.entry.js.map\n"],"names":["defaultStyleCss","KolAvatar","hostRef","registerInstance","h","KolAvatarWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAY,KAAM,CACpB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,CAClC,CACA,QAAS,CACL,OAAOE,EAAEC,EAAgB,CAAE,IAAK,2CAA4C,KAAM,KAAK,KAAM,OAAQ,KAAK,MAAM,CAAE,CACtH,CACJ,EACAJ,EAAU,MAAQ,CACd,QAASD,CACb"}
1
+ {"version":3,"file":"kol-avatar.entry-D-Hk8QoG.js","sources":["../../../../components/dist/esm/kol-avatar.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-Rpv6usqv.js';\nimport { c as KolAvatarWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-avatar,\\n .kol-avatar__image,\\n .kol-avatar__initials {\\n border-radius: 50%;\\n }\\n .kol-avatar {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-avatar__image, .kol-avatar__initials {\\n width: 100%;\\n height: 100%;\\n }\\n .kol-avatar__initials {\\n background-color: #d3d3d3;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAvatar = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return h(KolAvatarWcTag, { key: 'c4547a5724ed8d947c20de5128227bc71c14d401', _src: this._src, _label: this._label });\n }\n};\nKolAvatar.style = {\n default: defaultStyleCss\n};\n\nexport { KolAvatar as kol_avatar };\n//# sourceMappingURL=kol-avatar.entry.js.map\n"],"names":["defaultStyleCss","KolAvatar","hostRef","registerInstance","h","KolAvatarWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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e5.js";import"./Alert-qJPuIv8b-Cf1Dz4Bo.js";import{c as u}from"./clsx-eK3rPvPS-BT_IL7Fz.js";import{K as b}from"./Span-9Jbefwfo-NyeuKlZ0.js";import"./i18n-CdSCDnmA-D_Ak1YX2.js";import{n as f}from"./dev.utils-D2H-D7vZ-B1-EwTKq.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./markdown-DL-PkOqb-Cfi-IobI.js";import"./isObject-DvSELytj-B0RigBxT.js";import"./Heading-CMd-jtC1-BWK_kciH.js";import"./Icon-BQRZwXjg-DUkDYGjS.js";import"./reuse-CX4AQDkS-Cyh-fyjG.js";import"./InternalUnderlinedBadgeText-DeV9AANw-wEHwgbnZ.js";/*!
1
+ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-BcWoQyjV.js";import{h as c,v as h}from"./color-C3pYZKV3-Boz82QD1.js";import{v as m}from"./icons-72ER78AW-DpSGILmm.js";import"./Alert-CPAV4jP0-CLk7QYp0.js";import{c as u}from"./clsx-eK3rPvPS-BT_IL7Fz.js";import{K as b}from"./Span-4JeabU4v-B4Ic693K.js";import"./i18n-CdSCDnmA-DXZ5RBs2.js";import{n as f}from"./dev.utils-CeYsnaLz-_oCb7mSZ.js";import"./tslib.es6-CxX45GIN-BAJoBDh7.js";import"./markdown-DL-PkOqb-4V8Cu5gn.js";import"./isObject-DvSELytj-B0RigBxT.js";import"./Heading-E6VPUTCQ-B1xNnKja.js";import"./Icon-CZGGWMvI-CpggmwQf.js";import"./reuse-CX4AQDkS-Cyh-fyjG.js";import"./InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const p=`/* forward the rem function */
4
4
  /*
@@ -245,4 +245,4 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Cuz1_aaZ.js
245
245
  color: inherit;
246
246
  }
247
247
  }`;r("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const g=class{constructor(n){i(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=f(),this._color="#000",this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}},this.handleColorChange=e=>{const o=c(e);this.bgColorStr=o.backgroundColor,this.colorStr=o.foregroundColor}}renderSmartButton(n){return t(a,{class:"kol-badge__smart-button",_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_buttonVariant:n._variant})}render(){const n=typeof this.state._smartButton=="object"&&this.state._smartButton!==null;return t("span",{key:"5887c57c800757a960919276d5422054b6d7c17f",class:u("kol-badge",{"kol-badge--has-smart-button":typeof this.state._smartButton=="object"&&this.state._smartButton!==null}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},t(b,{key:"d6650fca7447ba669d77f8c81cfbc70a67622b0b",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){m(this,n)}validateColor(n){h(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){l(n,()=>{try{n=s(n)}catch{}d(this,"_smartButton",n)})}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};g.style={default:p};export{g as kol_badge};
248
- //# sourceMappingURL=kol-badge.entry-DVoJvgzC.js.map
248
+ //# sourceMappingURL=kol-badge.entry-BmtWYybc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-badge.entry-DVoJvgzC.js","sources":["../../../../components/dist/esm/kol-badge.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-DKFHNf-G.js';\nimport { f as featureHint, o as objectObjectHandler, p as parseJson, s as setState } from './common-8fBdMvJM.js';\nimport { h as handleColorChange, v as validateColor } from './color-C3pYZKV3.js';\nimport { v as validateIcons } from './icons-72ER78AW.js';\nimport './Alert-qJPuIv8b.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolSpanFc } from './Span-9Jbefwfo.js';\nimport './i18n-CdSCDnmA.js';\nimport { n as nonce } from './dev.utils-D2H-D7vZ.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './bem-CHTjklyp.js';\nimport './browser-Ba2Wl_kh.js';\nimport './Heading-CMd-jtC1.js';\nimport './Icon-BQRZwXjg.js';\nimport './reuse-CX4AQDkS.js';\nimport './markdown-DL-PkOqb.js';\nimport './InternalUnderlinedBadgeText-DeV9AANw.js';\nimport './isObject-DvSELytj.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-badge {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n display: inline-flex;\\n place-items: center;\\n }\\n .kol-badge .kol-badge__smart-button .button {\\n color: inherit;\\n }\\n}\";\n\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\nconst KolBadge = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bgColorStr = '#000';\n this.colorStr = '#fff';\n this.id = nonce();\n this._color = '#000';\n this.state = {\n _color: {\n backgroundColor: '#000',\n foregroundColor: '#fff',\n },\n _icons: {},\n };\n this.handleColorChange = (value) => {\n const colorPair = handleColorChange(value);\n this.bgColorStr = colorPair.backgroundColor;\n this.colorStr = colorPair.foregroundColor;\n };\n }\n renderSmartButton(props) {\n return (h(KolButtonWcTag, { class: \"kol-badge__smart-button\", _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _buttonVariant: props._variant }));\n }\n render() {\n const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n return (h(\"span\", { key: '5887c57c800757a960919276d5422054b6d7c17f', class: clsx('kol-badge', {\n 'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n }), style: {\n backgroundColor: this.bgColorStr,\n color: this.colorStr,\n } }, h(KolSpanFc, { key: 'd6650fca7447ba669d77f8c81cfbc70a67622b0b', class: \"kol-badge__label\", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));\n }\n validateIcons(value) {\n validateIcons(this, value);\n }\n validateColor(value) {\n validateColor(this, value, {\n defaultValue: '#000',\n hooks: {\n beforePatch: this.handleColorChange,\n },\n });\n }\n validateSmartButton(value) {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (e) {\n }\n setState(this, '_smartButton', value);\n });\n }\n componentWillLoad() {\n this.validateIcons(this._icons);\n this.validateColor(this._color);\n this.validateSmartButton(this._smartButton);\n }\n static get watchers() { return {\n \"_icons\": [\"validateIcons\"],\n \"_color\": [\"validateColor\"],\n \"_smartButton\": [\"validateSmartButton\"]\n }; }\n};\nKolBadge.style = {\n default: defaultStyleCss\n};\n\nexport { KolBadge as kol_badge };\n//# sourceMappingURL=kol-badge.entry.js.map\n"],"names":["defaultStyleCss","featureHint","KolBadge","hostRef","registerInstance","nonce","value","colorPair","handleColorChange","props","h","KolButtonWcTag","hasSmartButton","clsx","KolSpanFc","validateIcons","validateColor","objectObjectHandler","parseJson","setState"],"mappings":"6rBAAA;AAAA;AAAA,GAwBA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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B,aAAgB,CAAC,qBAAqB,CAC9C,CAAO,CACP,EACAJ,EAAS,MAAQ,CACb,QAASF,CACb"}
1
+ {"version":3,"file":"kol-badge.entry-BmtWYybc.js","sources":["../../../../components/dist/esm/kol-badge.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-Rpv6usqv.js';\nimport { f as featureHint, o as objectObjectHandler, p as parseJson, s as setState } from './common-8fBdMvJM.js';\nimport { h as handleColorChange, v as validateColor } from './color-C3pYZKV3.js';\nimport { v as validateIcons } from './icons-72ER78AW.js';\nimport './Alert-CPAV4jP0.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolSpanFc } from './Span-4JeabU4v.js';\nimport './i18n-CdSCDnmA.js';\nimport { n as nonce } from './dev.utils-CeYsnaLz.js';\nimport './tslib.es6-CxX45GIN.js';\nimport './bem-CHTjklyp.js';\nimport './browser-Ba2Wl_kh.js';\nimport './Heading-E6VPUTCQ.js';\nimport './Icon-CZGGWMvI.js';\nimport './reuse-CX4AQDkS.js';\nimport './markdown-DL-PkOqb.js';\nimport './InternalUnderlinedBadgeText-CAeB1moW.js';\nimport './isObject-DvSELytj.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-badge {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n display: inline-flex;\\n place-items: center;\\n }\\n .kol-badge .kol-badge__smart-button .button {\\n color: inherit;\\n }\\n}\";\n\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\nconst KolBadge = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bgColorStr = '#000';\n this.colorStr = '#fff';\n this.id = nonce();\n this._color = '#000';\n this.state = {\n _color: {\n backgroundColor: '#000',\n foregroundColor: '#fff',\n },\n _icons: {},\n };\n this.handleColorChange = (value) => {\n const colorPair = handleColorChange(value);\n this.bgColorStr = colorPair.backgroundColor;\n this.colorStr = colorPair.foregroundColor;\n };\n }\n renderSmartButton(props) {\n return (h(KolButtonWcTag, { class: \"kol-badge__smart-button\", _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _buttonVariant: props._variant }));\n }\n render() {\n const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n return (h(\"span\", { key: '5887c57c800757a960919276d5422054b6d7c17f', class: clsx('kol-badge', {\n 'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n }), style: {\n backgroundColor: this.bgColorStr,\n color: this.colorStr,\n } }, h(KolSpanFc, { key: 'd6650fca7447ba669d77f8c81cfbc70a67622b0b', class: \"kol-badge__label\", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));\n }\n validateIcons(value) {\n validateIcons(this, value);\n }\n validateColor(value) {\n validateColor(this, value, {\n defaultValue: '#000',\n hooks: {\n beforePatch: this.handleColorChange,\n },\n });\n }\n validateSmartButton(value) {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (e) {\n }\n setState(this, '_smartButton', value);\n });\n }\n componentWillLoad() {\n this.validateIcons(this._icons);\n this.validateColor(this._color);\n this.validateSmartButton(this._smartButton);\n }\n static get watchers() { return {\n \"_icons\": [\"validateIcons\"],\n \"_color\": [\"validateColor\"],\n \"_smartButton\": [\"validateSmartButton\"]\n }; }\n};\nKolBadge.style = {\n default: defaultStyleCss\n};\n\nexport { KolBadge as kol_badge };\n//# sourceMappingURL=kol-badge.entry.js.map\n"],"names":["defaultStyleCss","featureHint","KolBadge","hostRef","registerInstance","nonce","value","colorPair","handleColorChange","props","h","KolButtonWcTag","hasSmartButton","clsx","KolSpanFc","validateIcons","validateColor","objectObjectHandler","parseJson","setState"],"mappings":"6rBAAA;AAAA;AAAA,GAwBA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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EAAQY,EAAUZ,CAAK,CAC3B,MACU,CACV,CACAa,EAAS,KAAM,eAAgBb,CAAK,CACxC,CAAC,CACL,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,oBAAoB,KAAK,YAAY,CAC9C,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,aAAgB,CAAC,qBAAqB,CAC9C,CAAO,CACP,EACAJ,EAAS,MAAQ,CACb,QAASF,CACb"}
@@ -1,4 +1,4 @@
1
- import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Cuz1_aaZ.js";import{v as h}from"./label-CdtNxOKu-C0Uq4kJW.js";import{r as a,a as b}from"./unique-nav-labels-C_NhdgGz-Bue2PH5M.js";import{w as m}from"./validation-DoIjmu3L-BKzT8Xr7.js";/*!
1
+ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-BcWoQyjV.js";import{v as h}from"./label-CdtNxOKu-pHFEuQ3R.js";import{r as a,a as b}from"./unique-nav-labels-C_NhdgGz-CJHm2FuG.js";import{w as m}from"./validation-DoIjmu3L-CXCVI4ek.js";/*!
2
2
  * KoliBri - The accessible HTML-Standard
3
3
  */const p=`/*
4
4
  * This file defines the layer order for all CSS layers used in KoliBri.
@@ -240,6 +240,7 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Cuz1_aaZ.js";impor
240
240
  }
241
241
  .kol-link {
242
242
  display: inline-flex;
243
+ max-width: fit-content;
243
244
  align-items: baseline;
244
245
  place-items: center;
245
246
  text-align: left;
@@ -277,4 +278,4 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Cuz1_aaZ.js";impor
277
278
  font-family: "Font Awesome 6 Free";
278
279
  }
279
280
  }`,f=class{constructor(t){s(this,t),this.renderLink=(e,i)=>{const l=this.state._links.length-1;return n("li",{class:"kol-breadcrumb__list-element",key:i},i!==0&&n(o,{class:"kol-breadcrumb__icon",_label:"",_icons:"codicon codicon-chevron-right"}),i===l?n("span",{class:"kol-breadcrumb__list-element-span","aria-current":"page"},e._hideLabel?n(o,{class:"kol-breadcrumb__icon",_label:e._label,_icons:typeof e._icons=="string"?e._icons:"codicon codicon-symbol-event"}):n(r,null,e._label)):n(d,Object.assign({class:"kol-breadcrumb__link",_linkVariant:"standalone"},e)))},this.state={_label:"",_links:[]}}render(){return n("nav",{key:"2aa677c03f9df0fcca0ab77dacc43c27c2d16d89",class:"kol-breadcrumb","aria-label":this.state._label},n("ul",{key:"70aad9485b495366f0458769da35c8841111a816",class:"kol-breadcrumb__list"},this.state._links.length===0&&n("li",{key:"b78a562b80efff67fc05e5b9ad0b50c19db2a21d"},n(o,{key:"915a3797feadfe8fbb81878a63af7cfd8ef9f60a",class:"kol-breadcrumb_icon",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(t,e,i=!1){i||a(this.state._label),h(this,t,{required:!0}),c(t),b(this.state._label)}validateLinks(t){m("KolBreadcrumb",this,t)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){a(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};f.style={default:p};export{f as kol_breadcrumb};
280
- //# sourceMappingURL=kol-breadcrumb.entry-DspXS-ov.js.map
281
+ //# sourceMappingURL=kol-breadcrumb.entry-4_4wJ1V7.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"kol-breadcrumb.entry-DspXS-ov.js","sources":["../../../../components/dist/esm/kol-breadcrumb.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, F as Fragment } from './index-DKFHNf-G.js';\nimport { c as a11yHintLabelingLandmarks } from './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { r as removeNavLabel, a as addNavLabel } from './unique-nav-labels-C_NhdgGz.js';\nimport { w as watchNavLinks } from './validation-DoIjmu3L.js';\nimport { e as KolIconTag, f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n .kol-link {\\n display: inline-flex;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n .kol-link--standalone {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n .kol-link__text .kol-span__label {\\n text-decoration-line: underline;\\n }\\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\\n text-decoration-thickness: 0.2em;\\n }\\n .kol-link__icon {\\n display: inline-flex;\\n margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\\n display: flex;\\n margin: 0;\\n padding: 0;\\n gap: 0.5em;\\n flex-wrap: wrap;\\n place-items: center;\\n list-style: none;\\n }\\n .kol-breadcrumb__icon::part(separator) {\\n font-size: 0.7em;\\n font-weight: 900;\\n }\\n .kol-breadcrumb__icon::part(separator):before {\\n content: \\\"\\\\f054\\\";\\n font-family: \\\"Font Awesome 6 Free\\\";\\n }\\n}\";\n\nconst KolBreadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.renderLink = (link, index) => {\n const lastIndex = this.state._links.length - 1;\n return (h(\"li\", { class: \"kol-breadcrumb__list-element\", key: index }, index !== 0 && h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: \"\", _icons: \"codicon codicon-chevron-right\" }), index === lastIndex ? (h(\"span\", { class: \"kol-breadcrumb__list-element-span\", \"aria-current\": \"page\" }, link._hideLabel ? (h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (h(Fragment, null, link._label)))) : (h(KolLinkWcTag, Object.assign({ class: \"kol-breadcrumb__link\", _linkVariant: \"standalone\" }, link)))));\n };\n this.state = {\n _label: '',\n _links: [],\n };\n }\n render() {\n return (h(\"nav\", { key: '2aa677c03f9df0fcca0ab77dacc43c27c2d16d89', class: \"kol-breadcrumb\", \"aria-label\": this.state._label }, h(\"ul\", { key: '70aad9485b495366f0458769da35c8841111a816', class: \"kol-breadcrumb__list\" }, this.state._links.length === 0 && (h(\"li\", { key: 'b78a562b80efff67fc05e5b9ad0b50c19db2a21d' }, h(KolIconTag, { key: '915a3797feadfe8fbb81878a63af7cfd8ef9f60a', class: \"kol-breadcrumb_icon\", _label: \"\", _icons: \"codicon codicon-home\" }), \"\\u2026\")), this.state._links.map(this.renderLink))));\n }\n validateLabel(value, _oldValue, initial = false) {\n if (!initial) {\n removeNavLabel(this.state._label);\n }\n validateLabel(this, value, {\n required: true,\n });\n a11yHintLabelingLandmarks(value);\n addNavLabel(this.state._label);\n }\n validateLinks(value) {\n watchNavLinks('KolBreadcrumb', this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label, undefined, true);\n this.validateLinks(this._links);\n }\n disconnectedCallback() {\n removeNavLabel(this.state._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_links\": [\"validateLinks\"]\n }; }\n};\nKolBreadcrumb.style = {\n default: defaultStyleCss\n};\n\nexport { KolBreadcrumb as kol_breadcrumb };\n//# sourceMappingURL=kol-breadcrumb.entry.js.map\n"],"names":["defaultStyleCss","KolBreadcrumb","hostRef","registerInstance","link","index","lastIndex","h","KolIconTag","Fragment","KolLinkWcTag","value","_oldValue","initial","removeNavLabel","validateLabel","a11yHintLabelingLandmarks","addNavLabel","watchNavLinks"],"mappings":"sPAAA;AAAA;AAAA,GAUA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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G,EAAe,KAAK,MAAM,MAAM,CACpC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAb,EAAc,MAAQ,CAClB,QAASD,CACb"}
1
+ {"version":3,"file":"kol-breadcrumb.entry-4_4wJ1V7.js","sources":["../../../../components/dist/esm/kol-breadcrumb.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, F as Fragment } from './index-Rpv6usqv.js';\nimport { c as a11yHintLabelingLandmarks } from './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { r as removeNavLabel, a as addNavLabel } from './unique-nav-labels-C_NhdgGz.js';\nimport { w as watchNavLinks } from './validation-DoIjmu3L.js';\nimport { e as KolIconTag, f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, max-content);\\n min-width: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n .kol-link {\\n display: inline-flex;\\n max-width: fit-content;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n .kol-link--standalone {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n .kol-link__text .kol-span__label {\\n text-decoration-line: underline;\\n }\\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\\n text-decoration-thickness: 0.2em;\\n }\\n .kol-link__icon {\\n display: inline-flex;\\n margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\\n display: flex;\\n margin: 0;\\n padding: 0;\\n gap: 0.5em;\\n flex-wrap: wrap;\\n place-items: center;\\n list-style: none;\\n }\\n .kol-breadcrumb__icon::part(separator) {\\n font-size: 0.7em;\\n font-weight: 900;\\n }\\n .kol-breadcrumb__icon::part(separator):before {\\n content: \\\"\\\\f054\\\";\\n font-family: \\\"Font Awesome 6 Free\\\";\\n }\\n}\";\n\nconst KolBreadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.renderLink = (link, index) => {\n const lastIndex = this.state._links.length - 1;\n return (h(\"li\", { class: \"kol-breadcrumb__list-element\", key: index }, index !== 0 && h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: \"\", _icons: \"codicon codicon-chevron-right\" }), index === lastIndex ? (h(\"span\", { class: \"kol-breadcrumb__list-element-span\", \"aria-current\": \"page\" }, link._hideLabel ? (h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (h(Fragment, null, link._label)))) : (h(KolLinkWcTag, Object.assign({ class: \"kol-breadcrumb__link\", _linkVariant: \"standalone\" }, link)))));\n };\n this.state = {\n _label: '',\n _links: [],\n };\n }\n render() {\n return (h(\"nav\", { key: '2aa677c03f9df0fcca0ab77dacc43c27c2d16d89', class: \"kol-breadcrumb\", \"aria-label\": this.state._label }, h(\"ul\", { key: '70aad9485b495366f0458769da35c8841111a816', class: \"kol-breadcrumb__list\" }, this.state._links.length === 0 && (h(\"li\", { key: 'b78a562b80efff67fc05e5b9ad0b50c19db2a21d' }, h(KolIconTag, { key: '915a3797feadfe8fbb81878a63af7cfd8ef9f60a', class: \"kol-breadcrumb_icon\", _label: \"\", _icons: \"codicon codicon-home\" }), \"\\u2026\")), this.state._links.map(this.renderLink))));\n }\n validateLabel(value, _oldValue, initial = false) {\n if (!initial) {\n removeNavLabel(this.state._label);\n }\n validateLabel(this, value, {\n required: true,\n });\n a11yHintLabelingLandmarks(value);\n addNavLabel(this.state._label);\n }\n validateLinks(value) {\n watchNavLinks('KolBreadcrumb', this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label, undefined, true);\n this.validateLinks(this._links);\n }\n disconnectedCallback() {\n removeNavLabel(this.state._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_links\": [\"validateLinks\"]\n }; }\n};\nKolBreadcrumb.style = {\n default: defaultStyleCss\n};\n\nexport { KolBreadcrumb as kol_breadcrumb };\n//# sourceMappingURL=kol-breadcrumb.entry.js.map\n"],"names":["defaultStyleCss","KolBreadcrumb","hostRef","registerInstance","link","index","lastIndex","h","KolIconTag","Fragment","KolLinkWcTag","value","_oldValue","initial","removeNavLabel","validateLabel","a11yHintLabelingLandmarks","addNavLabel","watchNavLinks"],"mappings":"sPAAA;AAAA;AAAA,GAUA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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