@public-ui/visual-tests 4.3.1-rc.4 → 4.4.0-rc.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 (396) hide show
  1. package/README.md +16 -0
  2. package/app/dist/assets/{Alert-BUOtAOEU-kzPY6B3e.js → Alert-Brd6Seck-Nv0nNliS.js} +2 -2
  3. package/app/dist/assets/{Alert-BUOtAOEU-kzPY6B3e.js.map → Alert-Brd6Seck-Nv0nNliS.js.map} +1 -1
  4. package/app/dist/assets/{Collapsible-JODPbWD_-C-swtaKA.js → Collapsible-uqCd1X9D-D0zUY3Vo.js} +2 -2
  5. package/app/dist/assets/{Collapsible-JODPbWD_-C-swtaKA.js.map → Collapsible-uqCd1X9D-D0zUY3Vo.js.map} +1 -1
  6. package/app/dist/assets/{CustomSuggestionsOptionsGroup-uIBVxXva-B6Aeu6bh.js → CustomSuggestionsOptionsGroup-C0DCbpZw-BV-hb2DQ.js} +2 -2
  7. package/app/dist/assets/{CustomSuggestionsOptionsGroup-uIBVxXva-B6Aeu6bh.js.map → CustomSuggestionsOptionsGroup-C0DCbpZw-BV-hb2DQ.js.map} +1 -1
  8. package/app/dist/assets/{FieldControlStateWrapper-B5wxkm5C-BXVFLVAT.js → FieldControlStateWrapper-BYA-EUbJ-Boyxu2AJ.js} +2 -2
  9. package/app/dist/assets/{FieldControlStateWrapper-B5wxkm5C-BXVFLVAT.js.map → FieldControlStateWrapper-BYA-EUbJ-Boyxu2AJ.js.map} +1 -1
  10. package/app/dist/assets/{FormFieldStateWrapper-ClHy49ac-5OSRc2Go.js → FormFieldStateWrapper-CgQd1-xm-BQW1cqF1.js} +2 -2
  11. package/app/dist/assets/{FormFieldStateWrapper-ClHy49ac-5OSRc2Go.js.map → FormFieldStateWrapper-CgQd1-xm-BQW1cqF1.js.map} +1 -1
  12. package/app/dist/assets/{Heading-_wdE01Ba-DU9kPTv-.js → Heading-daxHO4c7-CrdtMyMz.js} +2 -2
  13. package/app/dist/assets/{Heading-_wdE01Ba-DU9kPTv-.js.map → Heading-daxHO4c7-CrdtMyMz.js.map} +1 -1
  14. package/app/dist/assets/{Input-Us8iV6NH-CAflJNcg.js → Input-BFEZcF7E-BUTlbqU1.js} +2 -2
  15. package/app/dist/assets/{Input-Us8iV6NH-CAflJNcg.js.map → Input-BFEZcF7E-BUTlbqU1.js.map} +1 -1
  16. package/app/dist/assets/{InputStateWrapper-CxmgEntV-Bx1NFfqs.js → InputStateWrapper-DlCKK6Hj-DGgk5T6W.js} +2 -2
  17. package/app/dist/assets/{InputStateWrapper-CxmgEntV-Bx1NFfqs.js.map → InputStateWrapper-DlCKK6Hj-DGgk5T6W.js.map} +1 -1
  18. package/app/dist/assets/{align-BNmcYY75-C1Bxu7tt.js → align-C8fl12z_-CD2kTyPk.js} +2 -2
  19. package/app/dist/assets/{align-BNmcYY75-C1Bxu7tt.js.map → align-C8fl12z_-CD2kTyPk.js.map} +1 -1
  20. package/app/dist/assets/{align-floating-elements-CONjGoNm-DdHFdizc.js → align-floating-elements-CBhVmYjn-DPkldP4s.js} +2 -2
  21. package/app/dist/assets/{align-floating-elements-CONjGoNm-DdHFdizc.js.map → align-floating-elements-CBhVmYjn-DPkldP4s.js.map} +1 -1
  22. package/app/dist/assets/{aria-details-o1tujJRX-0WksECwx.js → aria-details-hRfn8aN9-CfXCghlT.js} +2 -2
  23. package/app/dist/assets/{aria-details-o1tujJRX-0WksECwx.js.map → aria-details-hRfn8aN9-CfXCghlT.js.map} +1 -1
  24. package/app/dist/assets/{aria-labelledby-CuNgjL1c-CVY8e--7.js → aria-labelledby-D6AMAZtK-CiJJB-6n.js} +2 -2
  25. package/app/dist/assets/{aria-labelledby-CuNgjL1c-CVY8e--7.js.map → aria-labelledby-D6AMAZtK-CiJJB-6n.js.map} +1 -1
  26. package/app/dist/assets/{associated.controller-DSw2jkQs-Dcq9v3BI.js → associated.controller-FCQDejnI-BCBJBFTD.js} +2 -2
  27. package/app/dist/assets/{associated.controller-DSw2jkQs-Dcq9v3BI.js.map → associated.controller-FCQDejnI-BCBJBFTD.js.map} +1 -1
  28. package/app/dist/assets/{auto-complete-BBkbC-F2-AwUtU0hN.js → auto-complete-C-QNfuIh-rujoNUxC.js} +2 -2
  29. package/app/dist/assets/{auto-complete-BBkbC-F2-AwUtU0hN.js.map → auto-complete-C-QNfuIh-rujoNUxC.js.map} +1 -1
  30. package/app/dist/assets/{behavior-Ctzwvpyr-CiEV5sh1.js → behavior-Co00uT-D-DO01rD5H.js} +2 -2
  31. package/app/dist/assets/{behavior-Ctzwvpyr-CiEV5sh1.js.map → behavior-Co00uT-D-DO01rD5H.js.map} +1 -1
  32. package/app/dist/assets/{color-CrduxZp0-CLtNYHpU.js → color-DfMsiiGq-CK_1RY2e.js} +2 -2
  33. package/app/dist/assets/{color-CrduxZp0-CLtNYHpU.js.map → color-DfMsiiGq-CK_1RY2e.js.map} +1 -1
  34. package/app/dist/assets/{component-Dk2wt0bc-BdJ7JGYq.js → component-BGR8kQ7--B-T3Q-uU.js} +2 -2
  35. package/app/dist/assets/{component-Dk2wt0bc-BdJ7JGYq.js.map → component-BGR8kQ7--B-T3Q-uU.js.map} +1 -1
  36. package/app/dist/assets/component-C0wbBaCr-zoCXRV1Q.js +2 -0
  37. package/app/dist/assets/component-C0wbBaCr-zoCXRV1Q.js.map +1 -0
  38. package/app/dist/assets/{component-U1HX1ZbW-CU81pnJ2.js → component-D7nT-6lG-CSLZAoZK.js} +2 -2
  39. package/app/dist/assets/{component-U1HX1ZbW-CU81pnJ2.js.map → component-D7nT-6lG-CSLZAoZK.js.map} +1 -1
  40. package/app/dist/assets/{component-DxelloF0-DrwZRA4G.js → component-D8uE-jGD-DnQ1CNbe.js} +2 -2
  41. package/app/dist/assets/{component-DxelloF0-DrwZRA4G.js.map → component-D8uE-jGD-DnQ1CNbe.js.map} +1 -1
  42. package/app/dist/assets/{component-CqTwHM6Q-96RW8wdj.js → component-DzyFeBD2-DL70d7yH.js} +2 -2
  43. package/app/dist/assets/{component-CqTwHM6Q-96RW8wdj.js.map → component-DzyFeBD2-DL70d7yH.js.map} +1 -1
  44. package/app/dist/assets/{component-CbvU8i7s-gRdyuRxF.js → component-OSBqCRA5-CB3h2irP.js} +2 -2
  45. package/app/dist/assets/{component-CbvU8i7s-gRdyuRxF.js.map → component-OSBqCRA5-CB3h2irP.js.map} +1 -1
  46. package/app/dist/assets/contrast-D_JyeI-Q-CiS7Nglr.js +2 -0
  47. package/app/dist/assets/{contrast-BQCqf-V1-rHLpcsSg.js.map → contrast-D_JyeI-Q-CiS7Nglr.js.map} +1 -1
  48. package/app/dist/assets/{controller-Bh5fBUBi-DL5Czej-.js → controller-BLYviJtY-BtA_uFo3.js} +2 -2
  49. package/app/dist/assets/{controller-Bh5fBUBi-DL5Czej-.js.map → controller-BLYviJtY-BtA_uFo3.js.map} +1 -1
  50. package/app/dist/assets/{controller-CfLL4URL-Cp3nruI2.js → controller-DWVgACel-9pGvk1U3.js} +2 -2
  51. package/app/dist/assets/{controller-CfLL4URL-Cp3nruI2.js.map → controller-DWVgACel-9pGvk1U3.js.map} +1 -1
  52. package/app/dist/assets/controller-D__mtOju-DFmuTk6G.js +2 -0
  53. package/app/dist/assets/{controller-CrEJoj-8-BFxggnRR.js.map → controller-D__mtOju-DFmuTk6G.js.map} +1 -1
  54. package/app/dist/assets/{controller-icon-g6dhLeRs-Bng6NuvB.js → controller-icon-CJA3QnNw-Cc5sj13c.js} +2 -2
  55. package/app/dist/assets/{controller-icon-g6dhLeRs-Bng6NuvB.js.map → controller-icon-CJA3QnNw-Cc5sj13c.js.map} +1 -1
  56. package/app/dist/assets/{controller-CMXAgKAz-vIAaKRNN.js → controller-uhkWXfnu-EjinPLJH.js} +2 -2
  57. package/app/dist/assets/{controller-CMXAgKAz-vIAaKRNN.js.map → controller-uhkWXfnu-EjinPLJH.js.map} +1 -1
  58. package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Bw8uSUWC.js → counter-dom-updater-osLR7-G0-CZlxVh3h.js} +2 -2
  59. package/app/dist/assets/{counter-dom-updater-Cydd4Jex-Bw8uSUWC.js.map → counter-dom-updater-osLR7-G0-CZlxVh3h.js.map} +1 -1
  60. package/app/dist/assets/custom-class-BtoZpwyq-Ds4bKW6h.js +2 -0
  61. package/app/dist/assets/custom-class-BtoZpwyq-Ds4bKW6h.js.map +1 -0
  62. package/app/dist/assets/{dev.utils-CiiFii6l-B0m7ELY5.js → dev.utils-xbtFeGNM-Bcnp9mZu.js} +4 -4
  63. package/app/dist/assets/{dev.utils-CiiFii6l-B0m7ELY5.js.map → dev.utils-xbtFeGNM-Bcnp9mZu.js.map} +1 -1
  64. package/app/dist/assets/devtools-CN6xORYP-BRouuaE4.js +14 -0
  65. package/app/dist/assets/{devtools-BQLYa7H7-eju7LOL4.js.map → devtools-CN6xORYP-BRouuaE4.js.map} +1 -1
  66. package/app/dist/assets/disabled-CL52u2mm-BMzjGGqI.js +2 -0
  67. package/app/dist/assets/{disabled-DVZ7p0bI-DSOY_v9_.js.map → disabled-CL52u2mm-BMzjGGqI.js.map} +1 -1
  68. package/app/dist/assets/has-closer-DoXfZcmn-C84Bir90.js +2 -0
  69. package/app/dist/assets/has-closer-DoXfZcmn-C84Bir90.js.map +1 -0
  70. package/app/dist/assets/hide-label-CRGm6KGP-C8QDNuNK.js +2 -0
  71. package/app/dist/assets/hide-label-CRGm6KGP-C8QDNuNK.js.map +1 -0
  72. package/app/dist/assets/href-B7u09W3s-BgNlVCif.js +2 -0
  73. package/app/dist/assets/href-B7u09W3s-BgNlVCif.js.map +1 -0
  74. package/app/dist/assets/href-C9xfRiDr-DU-ErN4i.js +2 -0
  75. package/app/dist/assets/href-C9xfRiDr-DU-ErN4i.js.map +1 -0
  76. package/app/dist/assets/i18n-CvFPh0g5-CRe8dtFM.js +2 -0
  77. package/app/dist/assets/{i18n-CrXMv0tS-CxVCCSU6.js.map → i18n-CvFPh0g5-CRe8dtFM.js.map} +1 -1
  78. package/app/dist/assets/icons-mXXqyviE-fSil5SbD.js +2 -0
  79. package/app/dist/assets/{icons-DT5u2gpq-DobMcobp.js.map → icons-mXXqyviE-fSil5SbD.js.map} +1 -1
  80. package/app/dist/assets/index-6ZEKlyWb.css +1 -0
  81. package/app/dist/assets/{index-Cdaohn0f.js → index-DwLBfsie.js} +9 -9
  82. package/app/dist/assets/index-DwLBfsie.js.map +1 -0
  83. package/app/dist/assets/inline-DCDQA_d_-DhGE45qE.js +2 -0
  84. package/app/dist/assets/{inline-CqNhbN6Q-BbncbNr5.js.map → inline-DCDQA_d_-DhGE45qE.js.map} +1 -1
  85. package/app/dist/assets/{kol-abbr.entry-DH9MExYA.js → kol-abbr.entry-CSsdgvXa.js} +45 -5
  86. package/app/dist/assets/kol-abbr.entry-CSsdgvXa.js.map +1 -0
  87. package/app/dist/assets/{kol-accordion.entry-BlaM5sKZ.js → kol-accordion.entry-DbThEtBS.js} +47 -7
  88. package/app/dist/assets/kol-accordion.entry-DbThEtBS.js.map +1 -0
  89. package/app/dist/assets/{kol-alert-wc.entry-D_MP_PAs.js → kol-alert-wc.entry-3pQ1RSIL.js} +2 -2
  90. package/app/dist/assets/{kol-alert-wc.entry-D_MP_PAs.js.map → kol-alert-wc.entry-3pQ1RSIL.js.map} +1 -1
  91. package/app/dist/assets/{kol-alert.entry-CrPFtrCN.js → kol-alert.entry-CwvsiAWt.js} +45 -5
  92. package/app/dist/assets/kol-alert.entry-CwvsiAWt.js.map +1 -0
  93. package/app/dist/assets/{kol-avatar.entry-CHRbXCss.js → kol-avatar.entry-BGhGQ_Ce.js} +43 -3
  94. package/app/dist/assets/kol-avatar.entry-BGhGQ_Ce.js.map +1 -0
  95. package/app/dist/assets/{kol-badge.entry-Ks05mMtG.js → kol-badge.entry-DQWq3y7p.js} +46 -6
  96. package/app/dist/assets/kol-badge.entry-DQWq3y7p.js.map +1 -0
  97. package/app/dist/assets/{kol-breadcrumb.entry-DZ0BLCkV.js → kol-breadcrumb.entry-C7xsf1lP.js} +46 -6
  98. package/app/dist/assets/kol-breadcrumb.entry-C7xsf1lP.js.map +1 -0
  99. package/app/dist/assets/{kol-button-link.entry-XEpEqRJk.js → kol-button-link.entry-Bl02VYdF.js} +45 -5
  100. package/app/dist/assets/kol-button-link.entry-Bl02VYdF.js.map +1 -0
  101. package/app/dist/assets/{kol-button-wc.entry-CoLa4oxf.js → kol-button-wc.entry-BLSGgrYb.js} +2 -2
  102. package/app/dist/assets/{kol-button-wc.entry-CoLa4oxf.js.map → kol-button-wc.entry-BLSGgrYb.js.map} +1 -1
  103. package/app/dist/assets/{kol-button.entry-CmlSfFJH.js → kol-button.entry-d_CwXFHB.js} +45 -5
  104. package/app/dist/assets/kol-button.entry-d_CwXFHB.js.map +1 -0
  105. package/app/dist/assets/kol-card-wc.entry-E3ZxZMMO.js +2 -0
  106. package/app/dist/assets/{kol-card-wc.entry-j9JNvbtk.js.map → kol-card-wc.entry-E3ZxZMMO.js.map} +1 -1
  107. package/app/dist/assets/{kol-card.entry-RMUN0wR4.js → kol-card.entry-BVV6uOqb.js} +45 -5
  108. package/app/dist/assets/kol-card.entry-BVV6uOqb.js.map +1 -0
  109. package/app/dist/assets/kol-click-button.entry-oKsVcbAS.js +2 -0
  110. package/app/dist/assets/kol-click-button.entry-oKsVcbAS.js.map +1 -0
  111. package/app/dist/assets/{kol-combobox.entry-PulN-UNS.js → kol-combobox.entry-32xJnX28.js} +47 -7
  112. package/app/dist/assets/kol-combobox.entry-32xJnX28.js.map +1 -0
  113. package/app/dist/assets/{kol-details.entry-BOdqbE8K.js → kol-details.entry-T1GhO3CP.js} +46 -6
  114. package/app/dist/assets/kol-details.entry-T1GhO3CP.js.map +1 -0
  115. package/app/dist/assets/kol-dialog-wc.entry-D3IGfa2D.js +2 -0
  116. package/app/dist/assets/{kol-dialog-wc.entry-DitW5IJY.js.map → kol-dialog-wc.entry-D3IGfa2D.js.map} +1 -1
  117. package/app/dist/assets/{kol-dialog.entry-B89BKPJD.js → kol-dialog.entry-_3WCXpuw.js} +45 -5
  118. package/app/dist/assets/kol-dialog.entry-_3WCXpuw.js.map +1 -0
  119. package/app/dist/assets/{kol-drawer.entry-BCzZjbQK.js → kol-drawer.entry-CoHU0Xms.js} +46 -6
  120. package/app/dist/assets/kol-drawer.entry-CoHU0Xms.js.map +1 -0
  121. package/app/dist/assets/{kol-form.entry-DAjWoOnq.js → kol-form.entry-4e1MJ-HS.js} +46 -6
  122. package/app/dist/assets/kol-form.entry-4e1MJ-HS.js.map +1 -0
  123. package/app/dist/assets/{kol-heading.entry-BZCn8JKO.js → kol-heading.entry-Dt7eZiA_.js} +43 -3
  124. package/app/dist/assets/kol-heading.entry-Dt7eZiA_.js.map +1 -0
  125. package/app/dist/assets/{kol-icon.entry-BVT3ncay.js → kol-icon.entry-DmoCwF7A.js} +4 -4
  126. package/app/dist/assets/kol-icon.entry-DmoCwF7A.js.map +1 -0
  127. package/app/dist/assets/{kol-image.entry-Dj7DjLa8.js → kol-image.entry-CeAgNXc_.js} +43 -3
  128. package/app/dist/assets/kol-image.entry-CeAgNXc_.js.map +1 -0
  129. package/app/dist/assets/{kol-input-checkbox.entry-I4lyw9MT.js → kol-input-checkbox.entry-DJSWVN2F.js} +47 -7
  130. package/app/dist/assets/kol-input-checkbox.entry-DJSWVN2F.js.map +1 -0
  131. package/app/dist/assets/{kol-input-color.entry-YSKcFvFN.js → kol-input-color.entry-LRIg6k-t.js} +47 -18
  132. package/app/dist/assets/kol-input-color.entry-LRIg6k-t.js.map +1 -0
  133. package/app/dist/assets/{kol-input-date.entry-B6oXHv9T.js → kol-input-date.entry-C3msOWRw.js} +47 -7
  134. package/app/dist/assets/kol-input-date.entry-C3msOWRw.js.map +1 -0
  135. package/app/dist/assets/{kol-input-email.entry-C1-4X45E.js → kol-input-email.entry-CI9QKAV9.js} +47 -7
  136. package/app/dist/assets/kol-input-email.entry-CI9QKAV9.js.map +1 -0
  137. package/app/dist/assets/{kol-input-file.entry-BRYfEAhh.js → kol-input-file.entry-Dsl00Vw2.js} +47 -7
  138. package/app/dist/assets/kol-input-file.entry-Dsl00Vw2.js.map +1 -0
  139. package/app/dist/assets/{kol-input-number.entry-R8nXo7HL.js → kol-input-number.entry-DPFg0X5X.js} +47 -7
  140. package/app/dist/assets/kol-input-number.entry-DPFg0X5X.js.map +1 -0
  141. package/app/dist/assets/{kol-input-password.entry-Dsd_OlMo.js → kol-input-password.entry-DnrI7UeG.js} +47 -7
  142. package/app/dist/assets/kol-input-password.entry-DnrI7UeG.js.map +1 -0
  143. package/app/dist/assets/{kol-input-radio.entry-CWE2df0f.js → kol-input-radio.entry-DBN_hfee.js} +47 -7
  144. package/app/dist/assets/kol-input-radio.entry-DBN_hfee.js.map +1 -0
  145. package/app/dist/assets/{kol-input-range.entry-Cxu0KFGB.js → kol-input-range.entry-DzCbgzDF.js} +47 -7
  146. package/app/dist/assets/kol-input-range.entry-DzCbgzDF.js.map +1 -0
  147. package/app/dist/assets/{kol-input-text.entry-CTi1AxHI.js → kol-input-text.entry-DNopApv2.js} +47 -7
  148. package/app/dist/assets/kol-input-text.entry-DNopApv2.js.map +1 -0
  149. package/app/dist/assets/{kol-kolibri.entry-DXCO1xgC.js → kol-kolibri.entry-Dw8Sbo3S.js} +44 -4
  150. package/app/dist/assets/kol-kolibri.entry-Dw8Sbo3S.js.map +1 -0
  151. package/app/dist/assets/{kol-link-button.entry-B1vkHkDx.js → kol-link-button.entry-C9lio0uq.js} +46 -6
  152. package/app/dist/assets/kol-link-button.entry-C9lio0uq.js.map +1 -0
  153. package/app/dist/assets/kol-link-wc.entry-C0zyO3KS.js +2 -0
  154. package/app/dist/assets/kol-link-wc.entry-C0zyO3KS.js.map +1 -0
  155. package/app/dist/assets/{kol-link.entry-C3NCuP24.js → kol-link.entry-a5DnkIK6.js} +46 -6
  156. package/app/dist/assets/kol-link.entry-a5DnkIK6.js.map +1 -0
  157. package/app/dist/assets/{kol-meter.entry--lFP5-U3.js → kol-meter.entry-DMS-4OZi.js} +44 -4
  158. package/app/dist/assets/kol-meter.entry-DMS-4OZi.js.map +1 -0
  159. package/app/dist/assets/{kol-modal.entry-CL1Au6FV.js → kol-modal.entry-ixJCFdoj.js} +46 -6
  160. package/app/dist/assets/kol-modal.entry-ixJCFdoj.js.map +1 -0
  161. package/app/dist/assets/{kol-nav.entry-CGYV919Z.js → kol-nav.entry-C6poqgHA.js} +46 -6
  162. package/app/dist/assets/kol-nav.entry-C6poqgHA.js.map +1 -0
  163. package/app/dist/assets/{kol-pagination-wc.entry-DGZy9TWG.js → kol-pagination-wc.entry-CB0zea4m.js} +2 -2
  164. package/app/dist/assets/{kol-pagination-wc.entry-DGZy9TWG.js.map → kol-pagination-wc.entry-CB0zea4m.js.map} +1 -1
  165. package/app/dist/assets/{kol-pagination.entry-CEV6G9vy.js → kol-pagination.entry-BdOCzzvq.js} +47 -7
  166. package/app/dist/assets/kol-pagination.entry-BdOCzzvq.js.map +1 -0
  167. package/app/dist/assets/{kol-popover-button-wc.entry-BTLYJ42Y.js → kol-popover-button-wc.entry-BH1VNrgs.js} +2 -2
  168. package/app/dist/assets/{kol-popover-button-wc.entry-BTLYJ42Y.js.map → kol-popover-button-wc.entry-BH1VNrgs.js.map} +1 -1
  169. package/app/dist/assets/{kol-popover-button.entry-hB1NgLEG.js → kol-popover-button.entry-Zg5VEdpR.js} +46 -6
  170. package/app/dist/assets/kol-popover-button.entry-Zg5VEdpR.js.map +1 -0
  171. package/app/dist/assets/{kol-progress.entry-hhIEUy9q.js → kol-progress.entry-Cp9d8iys.js} +44 -4
  172. package/app/dist/assets/kol-progress.entry-Cp9d8iys.js.map +1 -0
  173. package/app/dist/assets/{kol-quote.entry-DvrFhjWe.js → kol-quote.entry-efGAYRIN.js} +44 -4
  174. package/app/dist/assets/kol-quote.entry-efGAYRIN.js.map +1 -0
  175. package/app/dist/assets/{kol-select-wc.entry-CgNSg2La.js → kol-select-wc.entry-DmOZqm2L.js} +2 -2
  176. package/app/dist/assets/{kol-select-wc.entry-CgNSg2La.js.map → kol-select-wc.entry-DmOZqm2L.js.map} +1 -1
  177. package/app/dist/assets/{kol-select.entry-BuB8K9TC.js → kol-select.entry-CHAA87vJ.js} +47 -7
  178. package/app/dist/assets/kol-select.entry-CHAA87vJ.js.map +1 -0
  179. package/app/dist/assets/{kol-single-select.entry-Cn1_7JVd.js → kol-single-select.entry-CDK3lvPn.js} +47 -7
  180. package/app/dist/assets/kol-single-select.entry-CDK3lvPn.js.map +1 -0
  181. package/app/dist/assets/{kol-skeleton.entry-DppGTvoS.js → kol-skeleton.entry-BMR-wWOR.js} +2 -2
  182. package/app/dist/assets/{kol-skeleton.entry-DppGTvoS.js.map → kol-skeleton.entry-BMR-wWOR.js.map} +1 -1
  183. package/app/dist/assets/{kol-skip-nav.entry-CUJevI3p.js → kol-skip-nav.entry-D67yktjz.js} +46 -6
  184. package/app/dist/assets/kol-skip-nav.entry-D67yktjz.js.map +1 -0
  185. package/app/dist/assets/{kol-spin.entry-BMZoggw_.js → kol-spin.entry-D33gQDLq.js} +44 -4
  186. package/app/dist/assets/kol-spin.entry-D33gQDLq.js.map +1 -0
  187. package/app/dist/assets/{kol-split-button.entry-D1pNKo08.js → kol-split-button.entry-B0y017pR.js} +46 -6
  188. package/app/dist/assets/kol-split-button.entry-B0y017pR.js.map +1 -0
  189. package/app/dist/assets/kol-table-settings-wc.entry-CetFxi-k.js +2 -0
  190. package/app/dist/assets/kol-table-settings-wc.entry-CetFxi-k.js.map +1 -0
  191. package/app/dist/assets/{kol-table-stateful.entry-jJGWEBX1.js → kol-table-stateful.entry-BFvFinWW.js} +154 -10
  192. package/app/dist/assets/kol-table-stateful.entry-BFvFinWW.js.map +1 -0
  193. package/app/dist/assets/kol-table-stateless-wc.entry-BorqwM9Y.js +2 -0
  194. package/app/dist/assets/{kol-table-stateless-wc.entry-BiukCl0Y.js.map → kol-table-stateless-wc.entry-BorqwM9Y.js.map} +1 -1
  195. package/app/dist/assets/{kol-table-stateless.entry-LWr--bOb.js → kol-table-stateless.entry-Lvbm8ktk.js} +153 -9
  196. package/app/dist/assets/kol-table-stateless.entry-Lvbm8ktk.js.map +1 -0
  197. package/app/dist/assets/{kol-tabs.entry-f1pe6CTY.js → kol-tabs.entry-DJOqrEiN.js} +46 -6
  198. package/app/dist/assets/kol-tabs.entry-DJOqrEiN.js.map +1 -0
  199. package/app/dist/assets/{kol-textarea.entry-CeuGZNCL.js → kol-textarea.entry-UfEUPrL9.js} +47 -7
  200. package/app/dist/assets/kol-textarea.entry-UfEUPrL9.js.map +1 -0
  201. package/app/dist/assets/{kol-toast-container.entry-CtXatQZD.js → kol-toast-container.entry-DZMC14Ds.js} +46 -6
  202. package/app/dist/assets/kol-toast-container.entry-DZMC14Ds.js.map +1 -0
  203. package/app/dist/assets/{kol-toolbar.entry-B1JqlbG2.js → kol-toolbar.entry-CMst-3ZH.js} +46 -6
  204. package/app/dist/assets/kol-toolbar.entry-CMst-3ZH.js.map +1 -0
  205. package/app/dist/assets/kol-tooltip-wc.entry-CDCnElaG.js +2 -0
  206. package/app/dist/assets/kol-tooltip-wc.entry-CDCnElaG.js.map +1 -0
  207. package/app/dist/assets/kol-tree-item-wc.entry-DwVzE5xY.js +2 -0
  208. package/app/dist/assets/{kol-tree-item-wc.entry-QBLT_amL.js.map → kol-tree-item-wc.entry-DwVzE5xY.js.map} +1 -1
  209. package/app/dist/assets/{kol-tree-item.entry-DAVjOve5.js → kol-tree-item.entry-B25ECvUU.js} +46 -6
  210. package/app/dist/assets/kol-tree-item.entry-B25ECvUU.js.map +1 -0
  211. package/app/dist/assets/kol-tree-wc.entry-mYCO6RV2.js +2 -0
  212. package/app/dist/assets/{kol-tree-wc.entry-Dnk82ZUU.js.map → kol-tree-wc.entry-mYCO6RV2.js.map} +1 -1
  213. package/app/dist/assets/{kol-tree.entry-B2kuXlZ0.js → kol-tree.entry-DJlsO1jC.js} +44 -4
  214. package/app/dist/assets/kol-tree.entry-DJlsO1jC.js.map +1 -0
  215. package/app/dist/assets/{kol-version.entry-Cj_4-5kF.js → kol-version.entry-CTpzemvQ.js} +44 -4
  216. package/app/dist/assets/kol-version.entry-CTpzemvQ.js.map +1 -0
  217. package/app/dist/assets/kolicons/kolicons.eot +0 -0
  218. package/app/dist/assets/kolicons/kolicons.ttf +0 -0
  219. package/app/dist/assets/kolicons/kolicons.woff +0 -0
  220. package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
  221. package/app/dist/assets/kolicons/style.css +6 -6
  222. package/app/dist/assets/label-FtX-skKy-CBksWfis.js +2 -0
  223. package/app/dist/assets/label-FtX-skKy-CBksWfis.js.map +1 -0
  224. package/app/dist/assets/label-w3T7Y2ih-C6IcSlgv.js +2 -0
  225. package/app/dist/assets/{label-lhyZhbiM-DPY3OKvG.js.map → label-w3T7Y2ih-C6IcSlgv.js.map} +1 -1
  226. package/app/dist/assets/label-with-expert-slot-CU-oeLnm-5nRlA7B2.js +2 -0
  227. package/app/dist/assets/label-with-expert-slot-CU-oeLnm-5nRlA7B2.js.map +1 -0
  228. package/app/dist/assets/level-Cj2m5HKt-uDBymheT.js +2 -0
  229. package/app/dist/assets/{level-B2RyXnam-nmNm8fqn.js.map → level-Cj2m5HKt-uDBymheT.js.map} +1 -1
  230. package/app/dist/assets/multiple-BZRAazRb-9umacxt-.js +2 -0
  231. package/app/dist/assets/multiple-BZRAazRb-9umacxt-.js.map +1 -0
  232. package/app/dist/assets/{normalizers-DWPxOTIP-7Jt7UZ66.js → normalizers-BNeak4hj-7ZIaVLo9.js} +2 -2
  233. package/app/dist/assets/{normalizers-DWPxOTIP-7Jt7UZ66.js.map → normalizers-BNeak4hj-7ZIaVLo9.js.map} +1 -1
  234. package/app/dist/assets/open-BRQrMgjX-D7wT0M7l.js +2 -0
  235. package/app/dist/assets/open-BRQrMgjX-D7wT0M7l.js.map +1 -0
  236. package/app/dist/assets/{orientation-Dw3BhNjY-BtxgCx-g.js → orientation-CfF8dz-f-CTeeWcpq.js} +2 -2
  237. package/app/dist/assets/{orientation-Dw3BhNjY-BtxgCx-g.js.map → orientation-CfF8dz-f-CTeeWcpq.js.map} +1 -1
  238. package/app/dist/assets/placeholder-CmUUN-3U-Bdmos3Nf.js +2 -0
  239. package/app/dist/assets/placeholder-CmUUN-3U-Bdmos3Nf.js.map +1 -0
  240. package/app/dist/assets/read-only-DyDY-E9H-DI6eGSJa.js +2 -0
  241. package/app/dist/assets/read-only-DyDY-E9H-DI6eGSJa.js.map +1 -0
  242. package/app/dist/assets/required-CGf-IRxL-B7cHlvuR.js +2 -0
  243. package/app/dist/assets/required-CGf-IRxL-B7cHlvuR.js.map +1 -0
  244. package/app/dist/assets/rows-DlWRIMNQ-BDiS4iy2.js +2 -0
  245. package/app/dist/assets/rows-DlWRIMNQ-BDiS4iy2.js.map +1 -0
  246. package/app/dist/assets/spell-check-6kYqpIpx-BUXRQD3n.js +2 -0
  247. package/app/dist/assets/spell-check-6kYqpIpx-BUXRQD3n.js.map +1 -0
  248. package/app/dist/assets/src-BnjoA2Q6-B1TdR3nz.js +2 -0
  249. package/app/dist/assets/src-BnjoA2Q6-B1TdR3nz.js.map +1 -0
  250. package/app/dist/assets/{suggestions-ofHp_5qm-DLCcthXe.js → suggestions-CKylTAKv-CfCU-eEE.js} +2 -2
  251. package/app/dist/assets/{suggestions-ofHp_5qm-DLCcthXe.js.map → suggestions-CKylTAKv-CfCU-eEE.js.map} +1 -1
  252. package/app/dist/assets/table-selection-CB6W390S-DfMkIOX2.js +2 -0
  253. package/app/dist/assets/{table-selection-CHYGiAxJ-XHyRoDA9.js.map → table-selection-CB6W390S-DfMkIOX2.js.map} +1 -1
  254. package/app/dist/assets/test-component.entry-YBulQ-J0.js +2 -0
  255. package/app/dist/assets/{test-component.entry-DCBNgjfC.js.map → test-component.entry-YBulQ-J0.js.map} +1 -1
  256. package/app/dist/assets/tooltip-align-BQmLWbBy-DYWf5Hgk.js +2 -0
  257. package/app/dist/assets/tooltip-align-BQmLWbBy-DYWf5Hgk.js.map +1 -0
  258. package/app/dist/assets/{unique-nav-labels-B0tCIm30-DiAR5X0b.js → unique-nav-labels-B6_Oto5e-Dg2ecaYv.js} +2 -2
  259. package/app/dist/assets/{unique-nav-labels-B0tCIm30-DiAR5X0b.js.map → unique-nav-labels-B6_Oto5e-Dg2ecaYv.js.map} +1 -1
  260. package/app/dist/assets/validation-BZPzOg5I-CA0jvQRY.js +2 -0
  261. package/app/dist/assets/validation-BZPzOg5I-CA0jvQRY.js.map +1 -0
  262. package/app/dist/assets/validation-Cnndf99L-bPCe_wdH.js +2 -0
  263. package/app/dist/assets/validation-Cnndf99L-bPCe_wdH.js.map +1 -0
  264. package/app/dist/assets/value-number-clamped-Fuextuj1-BdbBvyue.js +2 -0
  265. package/app/dist/assets/{value-number-clamped-D39JJzpQ-BSijI_H6.js.map → value-number-clamped-Fuextuj1-BdbBvyue.js.map} +1 -1
  266. package/app/dist/assets/{variant-class-name-B0Wpr2i8-B_scadkx.js → variant-class-name-9qZ5egaq-CgKcHk9w.js} +2 -2
  267. package/app/dist/assets/{variant-class-name-B0Wpr2i8-B_scadkx.js.map → variant-class-name-9qZ5egaq-CgKcHk9w.js.map} +1 -1
  268. package/app/dist/assets/{variant-quote-CRKM9QG2-B6JOYZXg.js → variant-quote-ClYWonZq-Dc-wCuZR.js} +2 -2
  269. package/app/dist/assets/{variant-quote-CRKM9QG2-B6JOYZXg.js.map → variant-quote-ClYWonZq-Dc-wCuZR.js.map} +1 -1
  270. package/app/dist/index.html +2 -2
  271. package/app/public/assets/kolicons/kolicons.eot +0 -0
  272. package/app/public/assets/kolicons/kolicons.ttf +0 -0
  273. package/app/public/assets/kolicons/kolicons.woff +0 -0
  274. package/app/public/assets/kolicons/kolicons.woff2 +0 -0
  275. package/app/public/assets/kolicons/style.css +6 -6
  276. package/package.json +11 -7
  277. package/playwright.config.js +23 -3
  278. package/src/visual-reporter.js +348 -0
  279. package/tests/sample-app.routes.js +2 -3
  280. package/tests/theme-snapshots.spec.js +25 -6
  281. package/app/dist/assets/component-oWROUiYq-BGP4lc3y.js +0 -2
  282. package/app/dist/assets/component-oWROUiYq-BGP4lc3y.js.map +0 -1
  283. package/app/dist/assets/contrast-BQCqf-V1-rHLpcsSg.js +0 -2
  284. package/app/dist/assets/controller-CrEJoj-8-BFxggnRR.js +0 -2
  285. package/app/dist/assets/custom-class-DpFc73O_-C1V4f-sI.js +0 -2
  286. package/app/dist/assets/custom-class-DpFc73O_-C1V4f-sI.js.map +0 -1
  287. package/app/dist/assets/devtools-BQLYa7H7-eju7LOL4.js +0 -14
  288. package/app/dist/assets/disabled-DVZ7p0bI-DSOY_v9_.js +0 -2
  289. package/app/dist/assets/has-closer-DyXBWIQh-Bwidy-vD.js +0 -2
  290. package/app/dist/assets/has-closer-DyXBWIQh-Bwidy-vD.js.map +0 -1
  291. package/app/dist/assets/hide-label-LlZnbrzc-DPKAaQGf.js +0 -2
  292. package/app/dist/assets/hide-label-LlZnbrzc-DPKAaQGf.js.map +0 -1
  293. package/app/dist/assets/href-BKrnu0s2-CRQ4yt4G.js +0 -2
  294. package/app/dist/assets/href-BKrnu0s2-CRQ4yt4G.js.map +0 -1
  295. package/app/dist/assets/href-CBdHcGY_-DVRbUmEl.js +0 -2
  296. package/app/dist/assets/href-CBdHcGY_-DVRbUmEl.js.map +0 -1
  297. package/app/dist/assets/i18n-CrXMv0tS-CxVCCSU6.js +0 -2
  298. package/app/dist/assets/icons-DT5u2gpq-DobMcobp.js +0 -2
  299. package/app/dist/assets/index-Cdaohn0f.js.map +0 -1
  300. package/app/dist/assets/index-DLX1rUfi.css +0 -1
  301. package/app/dist/assets/inline-CqNhbN6Q-BbncbNr5.js +0 -2
  302. package/app/dist/assets/kol-abbr.entry-DH9MExYA.js.map +0 -1
  303. package/app/dist/assets/kol-accordion.entry-BlaM5sKZ.js.map +0 -1
  304. package/app/dist/assets/kol-alert.entry-CrPFtrCN.js.map +0 -1
  305. package/app/dist/assets/kol-avatar.entry-CHRbXCss.js.map +0 -1
  306. package/app/dist/assets/kol-badge.entry-Ks05mMtG.js.map +0 -1
  307. package/app/dist/assets/kol-breadcrumb.entry-DZ0BLCkV.js.map +0 -1
  308. package/app/dist/assets/kol-button-link.entry-XEpEqRJk.js.map +0 -1
  309. package/app/dist/assets/kol-button.entry-CmlSfFJH.js.map +0 -1
  310. package/app/dist/assets/kol-card-wc.entry-j9JNvbtk.js +0 -2
  311. package/app/dist/assets/kol-card.entry-RMUN0wR4.js.map +0 -1
  312. package/app/dist/assets/kol-click-button.entry-01fwFS7l.js +0 -2
  313. package/app/dist/assets/kol-click-button.entry-01fwFS7l.js.map +0 -1
  314. package/app/dist/assets/kol-combobox.entry-PulN-UNS.js.map +0 -1
  315. package/app/dist/assets/kol-details.entry-BOdqbE8K.js.map +0 -1
  316. package/app/dist/assets/kol-dialog-wc.entry-DitW5IJY.js +0 -2
  317. package/app/dist/assets/kol-dialog.entry-B89BKPJD.js.map +0 -1
  318. package/app/dist/assets/kol-drawer.entry-BCzZjbQK.js.map +0 -1
  319. package/app/dist/assets/kol-form.entry-DAjWoOnq.js.map +0 -1
  320. package/app/dist/assets/kol-heading.entry-BZCn8JKO.js.map +0 -1
  321. package/app/dist/assets/kol-icon.entry-BVT3ncay.js.map +0 -1
  322. package/app/dist/assets/kol-image.entry-Dj7DjLa8.js.map +0 -1
  323. package/app/dist/assets/kol-input-checkbox.entry-I4lyw9MT.js.map +0 -1
  324. package/app/dist/assets/kol-input-color.entry-YSKcFvFN.js.map +0 -1
  325. package/app/dist/assets/kol-input-date.entry-B6oXHv9T.js.map +0 -1
  326. package/app/dist/assets/kol-input-email.entry-C1-4X45E.js.map +0 -1
  327. package/app/dist/assets/kol-input-file.entry-BRYfEAhh.js.map +0 -1
  328. package/app/dist/assets/kol-input-number.entry-R8nXo7HL.js.map +0 -1
  329. package/app/dist/assets/kol-input-password.entry-Dsd_OlMo.js.map +0 -1
  330. package/app/dist/assets/kol-input-radio.entry-CWE2df0f.js.map +0 -1
  331. package/app/dist/assets/kol-input-range.entry-Cxu0KFGB.js.map +0 -1
  332. package/app/dist/assets/kol-input-text.entry-CTi1AxHI.js.map +0 -1
  333. package/app/dist/assets/kol-kolibri.entry-DXCO1xgC.js.map +0 -1
  334. package/app/dist/assets/kol-link-button.entry-B1vkHkDx.js.map +0 -1
  335. package/app/dist/assets/kol-link-wc.entry-Dg8sB7yS.js +0 -2
  336. package/app/dist/assets/kol-link-wc.entry-Dg8sB7yS.js.map +0 -1
  337. package/app/dist/assets/kol-link.entry-C3NCuP24.js.map +0 -1
  338. package/app/dist/assets/kol-meter.entry--lFP5-U3.js.map +0 -1
  339. package/app/dist/assets/kol-modal.entry-CL1Au6FV.js.map +0 -1
  340. package/app/dist/assets/kol-nav.entry-CGYV919Z.js.map +0 -1
  341. package/app/dist/assets/kol-pagination.entry-CEV6G9vy.js.map +0 -1
  342. package/app/dist/assets/kol-popover-button.entry-hB1NgLEG.js.map +0 -1
  343. package/app/dist/assets/kol-progress.entry-hhIEUy9q.js.map +0 -1
  344. package/app/dist/assets/kol-quote.entry-DvrFhjWe.js.map +0 -1
  345. package/app/dist/assets/kol-select.entry-BuB8K9TC.js.map +0 -1
  346. package/app/dist/assets/kol-single-select.entry-Cn1_7JVd.js.map +0 -1
  347. package/app/dist/assets/kol-skip-nav.entry-CUJevI3p.js.map +0 -1
  348. package/app/dist/assets/kol-spin.entry-BMZoggw_.js.map +0 -1
  349. package/app/dist/assets/kol-split-button.entry-D1pNKo08.js.map +0 -1
  350. package/app/dist/assets/kol-table-settings-wc.entry-CPJQuyuY.js +0 -2
  351. package/app/dist/assets/kol-table-settings-wc.entry-CPJQuyuY.js.map +0 -1
  352. package/app/dist/assets/kol-table-stateful.entry-jJGWEBX1.js.map +0 -1
  353. package/app/dist/assets/kol-table-stateless-wc.entry-BiukCl0Y.js +0 -2
  354. package/app/dist/assets/kol-table-stateless.entry-LWr--bOb.js.map +0 -1
  355. package/app/dist/assets/kol-tabs.entry-f1pe6CTY.js.map +0 -1
  356. package/app/dist/assets/kol-textarea.entry-CeuGZNCL.js.map +0 -1
  357. package/app/dist/assets/kol-toast-container.entry-CtXatQZD.js.map +0 -1
  358. package/app/dist/assets/kol-toolbar.entry-B1JqlbG2.js.map +0 -1
  359. package/app/dist/assets/kol-tooltip-wc.entry-DOhdh9yD.js +0 -2
  360. package/app/dist/assets/kol-tooltip-wc.entry-DOhdh9yD.js.map +0 -1
  361. package/app/dist/assets/kol-tree-item-wc.entry-QBLT_amL.js +0 -2
  362. package/app/dist/assets/kol-tree-item.entry-DAVjOve5.js.map +0 -1
  363. package/app/dist/assets/kol-tree-wc.entry-Dnk82ZUU.js +0 -2
  364. package/app/dist/assets/kol-tree.entry-B2kuXlZ0.js.map +0 -1
  365. package/app/dist/assets/kol-version.entry-Cj_4-5kF.js.map +0 -1
  366. package/app/dist/assets/label-BE6oW-7F-CwQCeDhV.js +0 -2
  367. package/app/dist/assets/label-BE6oW-7F-CwQCeDhV.js.map +0 -1
  368. package/app/dist/assets/label-lhyZhbiM-DPY3OKvG.js +0 -2
  369. package/app/dist/assets/label-with-expert-slot-3VWute5S-B96IG_yG.js +0 -2
  370. package/app/dist/assets/label-with-expert-slot-3VWute5S-B96IG_yG.js.map +0 -1
  371. package/app/dist/assets/level-B2RyXnam-nmNm8fqn.js +0 -2
  372. package/app/dist/assets/multiple-RvvepSN9-Ddl_37df.js +0 -2
  373. package/app/dist/assets/multiple-RvvepSN9-Ddl_37df.js.map +0 -1
  374. package/app/dist/assets/open-CA1J3ZTK-Cg8A8U8K.js +0 -2
  375. package/app/dist/assets/open-CA1J3ZTK-Cg8A8U8K.js.map +0 -1
  376. package/app/dist/assets/placeholder-JIf_Jr3v-BYL_TiSE.js +0 -2
  377. package/app/dist/assets/placeholder-JIf_Jr3v-BYL_TiSE.js.map +0 -1
  378. package/app/dist/assets/read-only-CxpGC8Fy-X90W-zGk.js +0 -2
  379. package/app/dist/assets/read-only-CxpGC8Fy-X90W-zGk.js.map +0 -1
  380. package/app/dist/assets/required-DGhzuKQB-CqAmcTdR.js +0 -2
  381. package/app/dist/assets/required-DGhzuKQB-CqAmcTdR.js.map +0 -1
  382. package/app/dist/assets/rows-BRaIYumW-BISxH7Qm.js +0 -2
  383. package/app/dist/assets/rows-BRaIYumW-BISxH7Qm.js.map +0 -1
  384. package/app/dist/assets/spell-check-BYuCSD3X-B81WKJ9F.js +0 -2
  385. package/app/dist/assets/spell-check-BYuCSD3X-B81WKJ9F.js.map +0 -1
  386. package/app/dist/assets/src-DugryP6L-BoOoareH.js +0 -2
  387. package/app/dist/assets/src-DugryP6L-BoOoareH.js.map +0 -1
  388. package/app/dist/assets/table-selection-CHYGiAxJ-XHyRoDA9.js +0 -2
  389. package/app/dist/assets/test-component.entry-DCBNgjfC.js +0 -2
  390. package/app/dist/assets/tooltip-align-DWAWPZn0-DLBIgYne.js +0 -2
  391. package/app/dist/assets/tooltip-align-DWAWPZn0-DLBIgYne.js.map +0 -1
  392. package/app/dist/assets/validation-BFb56Yd7-BBzLlnFV.js +0 -2
  393. package/app/dist/assets/validation-BFb56Yd7-BBzLlnFV.js.map +0 -1
  394. package/app/dist/assets/validation-BT4VYADp-BjgQRsq-.js +0 -2
  395. package/app/dist/assets/validation-BT4VYADp-BjgQRsq-.js.map +0 -1
  396. package/app/dist/assets/value-number-clamped-D39JJzpQ-BSijI_H6.js +0 -2
@@ -0,0 +1,348 @@
1
+ /**
2
+ * Playwright reporter that turns the screenshot comparison of theme-snapshots.spec.js into a
3
+ * machine-readable report (`visual-report/report.json`) plus the PNGs a reviewer needs.
4
+ *
5
+ * Playwright itself only reports pass/fail per test. Everything a review UI needs is derived here:
6
+ *
7
+ * - `changed` – the block was captured and differs from the baseline (expected/actual/diff copied)
8
+ * - `added` – the block was captured, but the baseline has no file for it (actual copied)
9
+ * - `removed` – the baseline has a file, but no test captured that block any more (expected copied)
10
+ * - `unchanged` – the block was captured and matched the baseline
11
+ * - `error` – the baseline has a file, but its route failed before the block could be captured
12
+ *
13
+ * Classification relies on structured data only: the `-expected`/`-actual`/`-diff` attachments a failed
14
+ * comparison leaves behind and the baseline listing taken before the run. Playwright's free-text error
15
+ * messages merely add numbers (`diffPixels`, `diffRatio`, `sizeMismatch`) – a reworded message after a
16
+ * Playwright upgrade costs those numbers, not the classification.
17
+ *
18
+ * Every item carries a content hash. Approvals are bound to those hashes, not to commits, so a new push
19
+ * that leaves an approved screenshot untouched keeps its approval.
20
+ *
21
+ * The spec announces every captured screenshot through a `visual-snapshot` annotation, because a passing
22
+ * `toHaveScreenshot` leaves no trace (no attachment, no error) – without that signal "unchanged" and
23
+ * "removed" would be indistinguishable. A test in test/visual-reporter.test.mjs guards that convention.
24
+ *
25
+ * With `--update-snapshots` (baseline generation) the reporter writes a manifest of the generated files
26
+ * instead; its digest is what the baseline artifact carries as identity.
27
+ */
28
+ import * as crypto from 'node:crypto';
29
+ import * as fs from 'node:fs';
30
+ import * as path from 'node:path';
31
+
32
+ const SCHEMA_VERSION = 1;
33
+ export const SNAPSHOT_ANNOTATION = 'visual-snapshot';
34
+ export const SPEC_FILE = 'theme-snapshots.spec.js';
35
+
36
+ const ATTACHMENT_SUFFIX = /-(expected|actual|diff|previous)\.png$/;
37
+ /* Wording of playwright-core's compareImages(); both sentences appear together when the size differs. */
38
+ const PIXEL_MISMATCH = /(\d+) pixels \(ratio ([\d.]+) of all image pixels\) are different/;
39
+ const SIZE_MISMATCH = /Expected an image (\d+)px by (\d+)px, received (\d+)px by (\d+)px/;
40
+ const TEST_TITLE = /^snapshot for (.+)$/;
41
+ // eslint-disable-next-line no-control-regex -- Playwright colours its messages; the escape character is the point here
42
+ const ANSI_SEQUENCE = /\u001b\[[0-9;]*m/g;
43
+
44
+ /**
45
+ * File name of a route: `button/variants?x=1` → `button-variants-x-1`. Shared with the spec, which names
46
+ * the snapshot files, so both sides can never drift apart. Consecutive delimiters collapse into one dash:
47
+ * the route part of a name must never contain the `--` that separates route and block id.
48
+ */
49
+ export function routeToSnapshotName(route) {
50
+ return route.replace(/[/?&=]+/g, '-');
51
+ }
52
+
53
+ function sha256(buffer) {
54
+ return `sha256:${crypto.createHash('sha256').update(buffer).digest('hex')}`;
55
+ }
56
+
57
+ function hashFile(file) {
58
+ return sha256(fs.readFileSync(file));
59
+ }
60
+
61
+ /** Width × height from the PNG header – enough to turn Playwright's 2-decimal ratio into an exact one. */
62
+ function pngPixelCount(file) {
63
+ try {
64
+ const fd = fs.openSync(file, 'r');
65
+ const header = Buffer.alloc(24);
66
+ fs.readSync(fd, header, 0, 24, 0);
67
+ fs.closeSync(fd);
68
+ if (header.toString('latin1', 1, 4) !== 'PNG') return null;
69
+ return header.readUInt32BE(16) * header.readUInt32BE(20);
70
+ } catch {
71
+ return null;
72
+ }
73
+ }
74
+
75
+ function errorMessage(error) {
76
+ return (error?.message ?? String(error ?? 'unknown error')).replace(ANSI_SEQUENCE, '');
77
+ }
78
+
79
+ export default class VisualReporter {
80
+ /**
81
+ * @param {{ outputDir: string, snapshotDir: string, themeDir: string, packageName?: string, packageDir?: string }} options
82
+ */
83
+ constructor(options) {
84
+ this.outputDir = options.outputDir;
85
+ this.baselineDir = path.join(options.snapshotDir, options.themeDir);
86
+ this.themeDir = options.themeDir;
87
+ this.packageDir = options.packageDir ?? process.cwd();
88
+ this.packageName = options.packageName ?? readPackageName(this.packageDir);
89
+ this.results = new Map(); // test id → { test, result } of the last attempt
90
+ }
91
+
92
+ printsToStdio() {
93
+ return false;
94
+ }
95
+
96
+ onBegin(config, suite) {
97
+ this.updateMode = config.updateSnapshots === 'all' || config.updateSnapshots === 'changed';
98
+ this.platform = process.platform;
99
+ const projects = runningProjects(config, suite);
100
+ if (projects.length !== 1) {
101
+ throw new Error(
102
+ `Visual reporter: snapshot names carry no project name, so exactly one Playwright project can run at a time (got: ${projects.join(', ') || 'none'}). Extend the item keys of the reporter before enabling another project.`,
103
+ );
104
+ }
105
+ this.projects = projects;
106
+ this.fileSuffixSource = `-${escapeRegExp(projects[0])}-${escapeRegExp(this.platform)}\\.png`;
107
+ this.fileSuffix = new RegExp(`${this.fileSuffixSource}$`);
108
+ // The baseline must be listed before any test runs: Playwright writes missing snapshots into the
109
+ // very same folder, and those must not masquerade as baseline files.
110
+ this.baseline = this.scanBaseline();
111
+ this.baselineMeta = readJson(path.join(this.outputDir, 'baseline.json'));
112
+ fs.rmSync(this.outputDir, { recursive: true, force: true });
113
+ fs.mkdirSync(this.outputDir, { recursive: true });
114
+ if (this.baselineMeta) {
115
+ fs.writeFileSync(path.join(this.outputDir, 'baseline.json'), JSON.stringify(this.baselineMeta, null, '\t'));
116
+ }
117
+ }
118
+
119
+ onTestEnd(test, result) {
120
+ if (!isSnapshotTest(test)) return;
121
+ const previous = this.results.get(test.id);
122
+ if (!previous || previous.result.retry <= result.retry) {
123
+ this.results.set(test.id, { test, result });
124
+ }
125
+ }
126
+
127
+ onEnd() {
128
+ const report = this.updateMode ? this.buildManifest() : this.buildReport();
129
+ fs.writeFileSync(path.join(this.outputDir, 'report.json'), JSON.stringify(report, null, '\t'));
130
+ }
131
+
132
+ scanBaseline() {
133
+ const files = new Map();
134
+ if (!fs.existsSync(this.baselineDir)) return files;
135
+ for (const entry of fs.readdirSync(this.baselineDir)) {
136
+ if (!this.fileSuffix.test(entry)) continue;
137
+ files.set(entry.replace(this.fileSuffix, ''), path.join(this.baselineDir, entry));
138
+ }
139
+ return files;
140
+ }
141
+
142
+ baseReport(mode, baselineFiles) {
143
+ return {
144
+ schema: SCHEMA_VERSION,
145
+ mode,
146
+ package: this.packageName,
147
+ themeDir: this.themeDir,
148
+ generatedAt: new Date().toISOString(),
149
+ platform: this.platform,
150
+ projects: this.projects,
151
+ baseline: {
152
+ dir: path.relative(this.packageDir, this.baselineDir).split(path.sep).join('/'),
153
+ files: baselineFiles,
154
+ meta: this.baselineMeta,
155
+ },
156
+ };
157
+ }
158
+
159
+ /** Update mode: the folder after the run is the new baseline, so every count describes that state. */
160
+ buildManifest() {
161
+ const generated = this.scanBaseline();
162
+ const items = [...generated.entries()].map(([name, file]) => ({ name, status: 'baseline', hash: hashFile(file) })).sort(byName);
163
+ return { ...this.baseReport('update', generated.size), summary: { baseline: items.length }, digest: digestOf(items), items, errors: [] };
164
+ }
165
+
166
+ buildReport() {
167
+ const items = new Map(); // name → item
168
+ const errors = [];
169
+ const seen = new Set();
170
+
171
+ for (const { test, result } of this.results.values()) {
172
+ if (result.status === 'skipped') continue;
173
+ const route = test.title.match(TEST_TITLE)?.[1] ?? test.title;
174
+ const snapshotName = routeToSnapshotName(route);
175
+
176
+ for (const annotation of [...test.annotations, ...(result.annotations ?? [])]) {
177
+ if (annotation.type === SNAPSHOT_ANNOTATION && annotation.description) {
178
+ seen.add(annotation.description.replace(/\.png$/, ''));
179
+ }
180
+ }
181
+
182
+ // A failed comparison always attaches the actual image; the baseline listing tells changed from added.
183
+ const groups = groupAttachments(result.attachments);
184
+ for (const [name, files] of groups) {
185
+ if (!files.actual) continue;
186
+ seen.add(name);
187
+ items.set(name, this.baseline.has(name) ? this.changedItem(name, route, files) : this.addedItem(name, route, files));
188
+ }
189
+
190
+ const hardErrors = [];
191
+ for (const error of result.errors) {
192
+ const message = errorMessage(error);
193
+ const name = this.snapshotNameIn(message, groups);
194
+ if (name && items.has(name)) {
195
+ Object.assign(items.get(name), comparisonDetails(message, groups.get(name)));
196
+ } else {
197
+ hardErrors.push(firstLine(message));
198
+ }
199
+ }
200
+ if (hardErrors.length === 0 && (result.status === 'timedOut' || result.status === 'interrupted')) {
201
+ hardErrors.push(`Test ${result.status}`);
202
+ }
203
+ for (const message of hardErrors) {
204
+ errors.push({ test: test.title, route, message });
205
+ }
206
+ if (hardErrors.length > 0) {
207
+ // Every baseline file of this route that was not captured is unknown territory, not "removed".
208
+ for (const [name, file] of this.baseline) {
209
+ if (!seen.has(name) && belongsToRoute(name, snapshotName)) {
210
+ items.set(name, { name, route, status: 'error', hash: hashFile(file), message: hardErrors[0] });
211
+ seen.add(name);
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ for (const [name, file] of this.baseline) {
218
+ if (items.has(name)) continue;
219
+ if (seen.has(name)) {
220
+ items.set(name, { name, route: routeOf(name), status: 'unchanged', hash: hashFile(file) });
221
+ } else {
222
+ items.set(name, { name, route: routeOf(name), status: 'removed', hash: hashFile(file), expected: this.copyImage(file, name, 'expected') });
223
+ }
224
+ }
225
+
226
+ const sorted = [...items.values()].sort(byName);
227
+ const summary = { unchanged: 0, changed: 0, added: 0, removed: 0, error: 0 };
228
+ for (const item of sorted) summary[item.status] += 1;
229
+
230
+ return { ...this.baseReport('compare', this.baseline.size), summary, digest: digestOf(sorted), items: sorted, errors };
231
+ }
232
+
233
+ changedItem(name, route, files) {
234
+ return {
235
+ name,
236
+ route,
237
+ status: 'changed',
238
+ hash: hashFile(files.actual),
239
+ expected: this.copyImage(files.expected ?? this.baseline.get(name), name, 'expected'),
240
+ actual: this.copyImage(files.actual, name, 'actual'),
241
+ diff: files.diff ? this.copyImage(files.diff, name, 'diff') : undefined,
242
+ };
243
+ }
244
+
245
+ addedItem(name, route, files) {
246
+ return { name, route, status: 'added', hash: hashFile(files.actual), actual: this.copyImage(files.actual, name, 'actual') };
247
+ }
248
+
249
+ /** The attachment group an error message talks about – by file name (`x.png`) or baseline path (`x-firefox-linux.png`). */
250
+ snapshotNameIn(message, groups) {
251
+ for (const name of groups.keys()) {
252
+ if (new RegExp(`${escapeRegExp(name)}(\\.png|${this.fileSuffixSource})`).test(message)) return name;
253
+ }
254
+ return null;
255
+ }
256
+
257
+ copyImage(source, name, kind) {
258
+ if (!source || !fs.existsSync(source)) return undefined;
259
+ const relative = `${this.packageName}/${name}.${kind}.png`;
260
+ const target = path.join(this.outputDir, relative);
261
+ fs.mkdirSync(path.dirname(target), { recursive: true });
262
+ fs.copyFileSync(source, target);
263
+ return relative;
264
+ }
265
+ }
266
+
267
+ /**
268
+ * Numbers from Playwright's message. Both sentences appear when the size differs; the pixels are then
269
+ * counted on a canvas padded to the larger of both sizes, which is what the ratio has to be based on.
270
+ */
271
+ function comparisonDetails(message, files) {
272
+ const details = {};
273
+ const size = message.match(SIZE_MISMATCH);
274
+ const pixel = message.match(PIXEL_MISMATCH);
275
+ if (size) {
276
+ details.sizeMismatch = { expected: [Number(size[1]), Number(size[2])], actual: [Number(size[3]), Number(size[4])] };
277
+ }
278
+ if (pixel) {
279
+ details.diffPixels = Number(pixel[1]);
280
+ const total = size
281
+ ? Math.max(details.sizeMismatch.expected[0], details.sizeMismatch.actual[0]) * Math.max(details.sizeMismatch.expected[1], details.sizeMismatch.actual[1])
282
+ : pngPixelCount(files.actual);
283
+ details.diffRatio = total ? Number((details.diffPixels / total).toFixed(6)) : Number(pixel[2]);
284
+ }
285
+ return details;
286
+ }
287
+
288
+ /** Projects that actually run (the root suite has one child per project); `--project` filters are respected. */
289
+ function runningProjects(config, suite) {
290
+ const fromSuite = (suite?.suites ?? []).map((child) => child.project?.()?.name).filter(Boolean);
291
+ const names = fromSuite.length > 0 ? fromSuite : config.projects.map((project) => project.name);
292
+ return [...new Set(names)];
293
+ }
294
+
295
+ function isSnapshotTest(test) {
296
+ return path.basename(test.location?.file ?? '') === SPEC_FILE;
297
+ }
298
+
299
+ function groupAttachments(attachments) {
300
+ const groups = new Map();
301
+ for (const attachment of attachments) {
302
+ const match = attachment.name.match(ATTACHMENT_SUFFIX);
303
+ if (!attachment.path || !match) continue;
304
+ const name = attachment.name.replace(ATTACHMENT_SUFFIX, '');
305
+ if (!groups.has(name)) groups.set(name, {});
306
+ groups.get(name)[match[1]] = attachment.path;
307
+ }
308
+ return groups;
309
+ }
310
+
311
+ /** `button-basic--variants` and `button-basic--variants-320` belong to route name `button-basic`; so does the full-page `button-basic`. */
312
+ function belongsToRoute(name, snapshotName) {
313
+ return name === snapshotName || name.startsWith(`${snapshotName}--`);
314
+ }
315
+
316
+ function routeOf(name) {
317
+ return name.split('--')[0];
318
+ }
319
+
320
+ function digestOf(items) {
321
+ const lines = items.map((item) => `${item.name}:${item.hash}`).sort();
322
+ return sha256(Buffer.from(lines.join('\n')));
323
+ }
324
+
325
+ function byName(a, b) {
326
+ return a.name.localeCompare(b.name);
327
+ }
328
+
329
+ function firstLine(message) {
330
+ return message.split('\n')[0].trim();
331
+ }
332
+
333
+ function escapeRegExp(text) {
334
+ return text.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
335
+ }
336
+
337
+ function readJson(file) {
338
+ try {
339
+ return JSON.parse(fs.readFileSync(file, 'utf8'));
340
+ } catch {
341
+ return null;
342
+ }
343
+ }
344
+
345
+ function readPackageName(dir) {
346
+ const pkg = readJson(path.join(dir, 'package.json'));
347
+ return (pkg?.name ?? path.basename(dir)).replace(/^@public-ui\//, '');
348
+ }
@@ -136,9 +136,8 @@ ROUTES.set('heading/basic', {
136
136
  ROUTES.set('heading/secondary');
137
137
  ROUTES.set('icon/font', {
138
138
  snapshot: {
139
- // The "unstyled" package (see packages/unstyled/theme.ts) registers no theme at all, so this
140
- // route – which lists the active theme's icon font variants – has no blocks to capture there.
141
- skip: process.env.THEME_EXPORT === 'UNSTYLED',
139
+ // Breaks when a theme has no custom icon font
140
+ skip: true,
142
141
  viewportSize: {
143
142
  width: 250,
144
143
  height: 345,
@@ -1,4 +1,5 @@
1
1
  import { expect, test } from '@playwright/test';
2
+ import { SNAPSHOT_ANNOTATION, routeToSnapshotName } from '../src/visual-reporter.js';
2
3
  import { ROUTES } from './sample-app.routes.js';
3
4
 
4
5
  // https://playwright.dev/docs/emulation
@@ -51,6 +52,22 @@ const NARROW_SELECTOR = '[data-visual-block][data-visual-narrow]';
51
52
  const NARROW_VIEWPORT = { width: 320, height: 256 };
52
53
  const BLOCK_VISIBLE_TIMEOUT = 10000;
53
54
 
55
+ /**
56
+ * Captures one screenshot and announces it to the visual reporter. Every screenshot of this spec must go
57
+ * through here (guarded by a test in test/visual-reporter.test.mjs):
58
+ *
59
+ * - `expect.soft`: a mismatch is a review case, not a reason to abort the route, so the remaining blocks
60
+ * are still captured and the report lists every changed block of a route at once. Retries stay at the
61
+ * global setting – a differing route re-renders on retry, but so does a block that was slow to appear.
62
+ * - the annotation: a passing comparison leaves no attachment behind, so it is the only signal that the
63
+ * snapshot was compared at all – without it the reporter could not tell an unchanged block from a
64
+ * removed one.
65
+ */
66
+ async function captureSnapshot(target, fileName, options) {
67
+ await expect.soft(target).toHaveScreenshot(fileName, options);
68
+ test.info().annotations.push({ type: SNAPSHOT_ANNOTATION, description: fileName });
69
+ }
70
+
54
71
  /** Reads the `data-visual-block` ids of all elements matching `selector`, in document order. */
55
72
  async function readBlockIds(page, selector) {
56
73
  return page.$$eval(selector, (elements) => elements.map((element) => element.getAttribute('data-visual-block')));
@@ -70,7 +87,7 @@ async function captureBlocks(page, route, blockIds, snapshotName, suffix, option
70
87
  `Route "${route}": data-visual-block "${blockId}" is not visible or has zero size${suffix ? ` at ${NARROW_VIEWPORT.width}px viewport width` : ''}`,
71
88
  );
72
89
  }
73
- await expect(block).toHaveScreenshot(`${snapshotName}--${blockId}${suffix}.png`, options);
90
+ await captureSnapshot(block, `${snapshotName}--${blockId}${suffix}.png`, options);
74
91
  }
75
92
  }
76
93
 
@@ -98,11 +115,13 @@ ROUTES.forEach((options, route) => {
98
115
  if (options?.snapshot?.waitForTimeout) {
99
116
  await page.waitForTimeout(options?.snapshot?.waitForTimeout);
100
117
  }
118
+ if (options?.snapshot?.emulateMedia) {
119
+ await page.emulateMedia(options.snapshot.emulateMedia);
120
+ }
101
121
 
102
- /**
103
- * We would like to use a readable name for the snapshot file, e.g. `button-basic` for `button/basic`.
104
- */
105
- const snapshotName = route.replace(/(\/|\?|&|=)/g, '-');
122
+ /* A readable file name, e.g. `button-basic` for `button/basic` – the reporter derives the same name from
123
+ the test title to match baseline files, so both sides share the one function. */
124
+ const snapshotName = routeToSnapshotName(route);
106
125
 
107
126
  const SNAPSHOT_OPTIONS = {
108
127
  ...DEFAULT_SNAPSHOT_OPTIONS,
@@ -111,7 +130,7 @@ ROUTES.forEach((options, route) => {
111
130
  const { fullPage: _fullPage, ...ELEMENT_SNAPSHOT_OPTIONS } = SNAPSHOT_OPTIONS; // fullPage is not allowed for element screenshots
112
131
 
113
132
  if (options?.snapshot?.forceFullPage === true) {
114
- await expect(page).toHaveScreenshot(`${snapshotName}.png`, SNAPSHOT_OPTIONS);
133
+ await captureSnapshot(page, `${snapshotName}.png`, SNAPSHOT_OPTIONS);
115
134
  return; // Whole-page routes have no blocks, so there is nothing to capture at narrow width either.
116
135
  }
117
136
 
@@ -1,2 +0,0 @@
1
- import{G as e,o as t,u as n}from"./index-Cdaohn0f.js";import{t as r}from"./clsx-COFh-Vc8-DWAop4cA.js";import{i,n as a,o,r as s,s as c}from"./normalizers-DWPxOTIP-7Jt7UZ66.js";import{t as l}from"./i18n-CrXMv0tS-CxVCCSU6.js";import{t as u}from"./component-CqTwHM6Q-96RW8wdj.js";import"./variant-quote-CRKM9QG2-B6JOYZXg.js";import{t as d}from"./component-DxelloF0-DrwZRA4G.js";import{t as f}from"./align-BNmcYY75-C1Bxu7tt.js";import{t as p}from"./variant-class-name-B0Wpr2i8-B_scadkx.js";import{t as m}from"./component-Dk2wt0bc-BdJ7JGYq.js";import{t as h}from"./label-with-expert-slot-3VWute5S-B96IG_yG.js";import{t as g}from"./href-CBdHcGY_-DVRbUmEl.js";var _=a(`accessKey`,``,c),v=a(`ariaControls`,``,c),y=[`date`,`location`,`page`,`step`,`time`,`true`,`false`];function b(e){let t=c(e);return y.includes(t)?t:`page`}var x=a(`ariaCurrentValue`,`page`,b),S=a(`ariaDescription`,``,c);function C(e){return e===!0||e===`true`?`true`:e===!1||e===`false`?`false`:``}var w=a(`ariaExpanded`,``,C),T=a(`ariaOwns`,``,c),E=/^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/,D=e=>typeof e==`string`&&E.test(e);function O(e){return e===``||D(e)}var k=a(`customClass`,``,c,O),A=a(`disabled`,!1,s),j=a(`download`,``,c),M=a(`hideLabel`,!1,s),N=a(`inline`,!0,s);function P(e){if(typeof e==`object`&&e)return e;throw Error(`Invalid on callbacks: expected object, got ${typeof e}`)}var F=a(`on`,{},P),I=[`tab`,`treeitem`];function L(e){return typeof e==`string`&&I.includes(e)?e:``}var R=a(`role`,``,L),z=a(`target`,``,c),B=a(`shortKey`,``,c);function V(e){if(!e||typeof e==`string`&&e===``)return{};if(typeof e==`string`)return c(e);if(typeof e==`object`)return o(e);throw Error(`Invalid icons: ${typeof e}`)}function H(e){return typeof e==`string`?e.length>0:typeof e==`object`&&!!e}var U=a(`icons`,{},V,H),W=a(`tabIndex`,0,i);function G(e){let t=c(e);return f.includes(t)?t:`right`}var K=a(`tooltipAlign`,`right`,G,e=>f.includes(e));function q(e){return Array.isArray(e)?e:typeof e==`string`?e.split(` `):[]}function J(e){return e.length===0||e.every(D)}var Y=a(`variant`,[],q,J),X={required:[g],optional:[_,v,x,S,w,T,k,A,j,M,U,N,h,F,R,z,B,W,K,Y]},Z=({block:e,modifiers:i,class:a},o)=>{let s=n.forBlock(e);return t(`div`,{class:r(s(i),a)},o)},Q=n=>{let{accessKey:i,ariaControls:a,ariaCurrent:o,ariaDescription:s,ariaDescriptionId:c,ariaExpanded:f,ariaOwns:h,customClass:g,disabled:_,download:v,handleAnchorClick:y,hideLabel:b,href:x,icons:S,inline:C,label:w,on:T,refAnchor:E,refTooltip:D,role:O,shortKey:k,tabIndex:A,target:j,variant:M,expertSlot:N}=n,P=l(`kol-open-link-in-tab`),F=typeof j==`string`&&j.length>0&&j!==`_self`,I={href:typeof x==`string`&&x.length>0?x:`javascript:void(0);`,target:typeof j==`string`&&j.length>0?j:void 0,rel:F?`noopener`:void 0,download:typeof v==`string`&&v.length>0?v:void 0};b===!0&&!w&&e(`[KolLink] An aria-label must be set when _hide-label is set.`);let L=s?.trim(),R=O||void 0;return t(Z,{block:`kol-link`,class:r({[g]:M.includes(`custom`)&&g.length>0,[p(M,`link`)]:M.length>0}),modifiers:{disabled:_===!0,"external-link":F,"hide-label":b===!0,inline:C===!0,standalone:C===!1}},t(`a`,Object.assign({ref:E},I,{accessKey:i||void 0,"aria-current":o||void 0,"aria-controls":a||void 0,"aria-describedby":L?c:void 0,"aria-disabled":_?`true`:void 0,"aria-expanded":f===``?void 0:f,"aria-owns":h||void 0,"aria-label":b&&typeof w==`string`?`${w}${F?` (${P})`:``}`:void 0,"aria-keyshortcuts":k||void 0,class:`kol-link__anchor`},T,{onClick:y,role:R,tabIndex:_?-1:A}),t(d,{class:`kol-link__text`,badgeText:i||k,icons:S,hideLabel:b,label:N?``:w||x},t(`slot`,{name:`expert`,slot:`expert`})),F&&t(u,{class:`kol-link__icon`,label:b?``:P,icons:`kolicon-link-external`,"aria-hidden":b})),b===!0&&!N&&t(`div`,{class:`kol-link__tooltip`},t(m,{badgeText:i||k||``,label:typeof w==`string`?w:typeof x==`string`?x:``,refFloating:D})),L&&t(`span`,{class:`visually-hidden`,id:c},L))};export{B as _,S as a,K as b,k as c,M as d,N as f,z as g,R as h,x as i,A as l,X as m,_ as n,w as o,F as p,v as r,T as s,Q as t,j as u,U as v,Y as x,W as y};
2
- //# sourceMappingURL=component-oWROUiYq-BGP4lc3y.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-oWROUiYq-BGP4lc3y.js","names":[],"sources":["../../../../../components/dist/esm/component-oWROUiYq.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { c as createPropDefinition, n as normalizeString, b as normalizeBoolean, d as normalizeObject, a as normalizeInteger } from './normalizers-DWPxOTIP.js';\nimport { j as devHint } from './common-noYAs-wc.js';\nimport { h as hrefProp } from './href-CBdHcGY_.js';\nimport { l as labelWithExpertSlotProp } from './label-with-expert-slot-3VWute5S.js';\nimport './variant-quote-CRKM9QG2.js';\nimport { a as alignPropTypeOptions } from './align-BNmcYY75.js';\nimport { h } from './index-CLHqy-2_.js';\nimport { t as translate } from './i18n-CrXMv0tS.js';\nimport { c as classNameFromVariant } from './variant-class-name-B0Wpr2i8.js';\nimport { c as clsx } from './clsx-COFh-Vc8.js';\nimport { b as bem } from './bem-registry-DGv3NmGE.js';\nimport { I as IconFC } from './component-CqTwHM6Q.js';\nimport { S as SpanFC } from './component-DxelloF0.js';\nimport { T as TooltipFC } from './component-Dk2wt0bc.js';\n\nconst accessKeyProp = createPropDefinition('accessKey', '', normalizeString);\n\nconst ariaControlsProp = createPropDefinition('ariaControls', '', normalizeString);\n\nconst ARIA_CURRENT_VALUE_OPTIONS = ['date', 'location', 'page', 'step', 'time', 'true', 'false'];\nfunction normalizeAriaCurrentValue(value) {\n const str = normalizeString(value);\n return ARIA_CURRENT_VALUE_OPTIONS.includes(str) ? str : 'page';\n}\nconst ariaCurrentValueProp = createPropDefinition('ariaCurrentValue', 'page', normalizeAriaCurrentValue);\n\nconst ariaDescriptionProp = createPropDefinition('ariaDescription', '', normalizeString);\n\nfunction normalizeAriaExpanded(value) {\n if (value === true || value === 'true') {\n return 'true';\n }\n if (value === false || value === 'false') {\n return 'false';\n }\n return '';\n}\nconst ariaExpandedProp = createPropDefinition('ariaExpanded', '', normalizeAriaExpanded);\n\nconst ariaOwnsProp = createPropDefinition('ariaOwns', '', normalizeString);\n\nconst SAFE_CLASS_NAME_RE = /^[a-zA-Z][a-zA-Z0-9_-]{0,60}$/;\nconst isSafeClassName = (value) => typeof value === 'string' && SAFE_CLASS_NAME_RE.test(value);\n\nfunction validateCustomClass(value) {\n return value === '' || isSafeClassName(value);\n}\nconst customClassProp = createPropDefinition('customClass', '', normalizeString, validateCustomClass);\n\nconst disabledProp = createPropDefinition('disabled', false, normalizeBoolean);\n\nconst downloadProp = createPropDefinition('download', '', normalizeString);\n\nconst hideLabelProp = createPropDefinition('hideLabel', false, normalizeBoolean);\n\nconst inlineProp = createPropDefinition('inline', true, normalizeBoolean);\n\nfunction normalizeLinkCallbacks(value) {\n if (typeof value === 'object' && value !== null) {\n return value;\n }\n throw new Error(`Invalid on callbacks: expected object, got ${typeof value}`);\n}\nconst linkCallbacksProp = createPropDefinition('on', {}, normalizeLinkCallbacks);\n\nconst LINK_ROLE_OPTIONS = ['tab', 'treeitem'];\nfunction normalizeLinkRole(value) {\n return typeof value === 'string' && LINK_ROLE_OPTIONS.includes(value) ? value : '';\n}\nconst linkRoleProp = createPropDefinition('role', '', normalizeLinkRole);\n\nconst linkTargetProp = createPropDefinition('target', '', normalizeString);\n\nconst shortKeyProp = createPropDefinition('shortKey', '', normalizeString);\n\nfunction normalizeSpanIcons(value) {\n if (!value || (typeof value === 'string' && value === '')) {\n return {};\n }\n if (typeof value === 'string') {\n return normalizeString(value);\n }\n if (typeof value === 'object') {\n return normalizeObject(value);\n }\n throw new Error(`Invalid icons: ${typeof value}`);\n}\nfunction validateSpanIcons(value) {\n if (typeof value === 'string') {\n return value.length > 0;\n }\n return typeof value === 'object' && value !== null;\n}\nconst spanIconsProp = createPropDefinition('icons', {}, normalizeSpanIcons, validateSpanIcons);\n\nconst tabIndexProp = createPropDefinition('tabIndex', 0, normalizeInteger);\n\nfunction normalizeTooltipAlign(value) {\n const str = normalizeString(value);\n if (alignPropTypeOptions.includes(str)) {\n return str;\n }\n return 'right';\n}\nconst tooltipAlignProp = createPropDefinition('tooltipAlign', 'right', normalizeTooltipAlign, (v) => alignPropTypeOptions.includes(v));\n\nfunction normalizeVariant(value) {\n if (Array.isArray(value)) {\n return value;\n }\n if (typeof value === 'string') {\n return value.split(' ');\n }\n return [];\n}\nfunction validateVariant(value) {\n return value.length === 0 || value.every(isSafeClassName);\n}\nconst variantProp = createPropDefinition('variant', [], normalizeVariant, validateVariant);\n\nconst linkPropsConfig = {\n required: [hrefProp],\n optional: [\n accessKeyProp,\n ariaControlsProp,\n ariaCurrentValueProp,\n ariaDescriptionProp,\n ariaExpandedProp,\n ariaOwnsProp,\n customClassProp,\n disabledProp,\n downloadProp,\n hideLabelProp,\n spanIconsProp,\n inlineProp,\n labelWithExpertSlotProp,\n linkCallbacksProp,\n linkRoleProp,\n linkTargetProp,\n shortKeyProp,\n tabIndexProp,\n tooltipAlignProp,\n variantProp,\n ],\n};\n\nconst BemRootNodeFC = ({ block, modifiers, class: hostClass }, children) => {\n const blockBem = bem.forBlock(block);\n return h(\"div\", { class: clsx(blockBem(modifiers), hostClass) }, children);\n};\n\nconst LinkFC = (props) => {\n const { accessKey, ariaControls, ariaCurrent, ariaDescription, ariaDescriptionId, ariaExpanded, ariaOwns, customClass, disabled, download, handleAnchorClick, hideLabel, href, icons, inline, label, on, refAnchor, refTooltip, role, shortKey, tabIndex, target, variant, expertSlot, } = props;\n const translateOpenLinkInTab = translate('kol-open-link-in-tab');\n const isExternal = typeof target === 'string' && target.length > 0 && target !== '_self';\n const tagAttrs = {\n href: typeof href === 'string' && href.length > 0 ? href : 'javascript:void(0);',\n target: typeof target === 'string' && target.length > 0 ? target : undefined,\n rel: isExternal ? 'noopener' : undefined,\n download: typeof download === 'string' && download.length > 0 ? download : undefined,\n };\n if (hideLabel === true && !label) {\n devHint(`[KolLink] An aria-label must be set when _hide-label is set.`);\n }\n const trimmedAriaDescription = ariaDescription === null || ariaDescription === void 0 ? void 0 : ariaDescription.trim();\n const roleValue = role || undefined;\n return (h(BemRootNodeFC, { block: \"kol-link\", class: clsx({\n [customClass]: variant.includes('custom') && customClass.length > 0,\n [classNameFromVariant(variant, 'link')]: variant.length > 0,\n }), modifiers: {\n disabled: disabled === true,\n 'external-link': isExternal,\n 'hide-label': hideLabel === true,\n inline: inline === true,\n standalone: inline === false,\n } }, h(\"a\", Object.assign({ ref: refAnchor }, tagAttrs, { accessKey: accessKey || undefined, \"aria-current\": ariaCurrent || undefined, \"aria-controls\": ariaControls || undefined, \"aria-describedby\": trimmedAriaDescription ? ariaDescriptionId : undefined, \"aria-disabled\": disabled ? 'true' : undefined, \"aria-expanded\": ariaExpanded === '' ? undefined : ariaExpanded, \"aria-owns\": ariaOwns || undefined, \"aria-label\": hideLabel && typeof label === 'string' ? `${label}${isExternal ? ` (${translateOpenLinkInTab})` : ''}` : undefined, \"aria-keyshortcuts\": shortKey || undefined, class: \"kol-link__anchor\" }, on, { onClick: handleAnchorClick, role: roleValue, tabIndex: disabled ? -1 : tabIndex }), h(SpanFC, { class: \"kol-link__text\", badgeText: accessKey || shortKey, icons: icons, hideLabel: hideLabel, label: expertSlot ? '' : label || href }, h(\"slot\", { name: \"expert\", slot: \"expert\" })), isExternal && (h(IconFC, { class: \"kol-link__icon\", label: hideLabel ? '' : translateOpenLinkInTab, icons: 'kolicon-link-external', \"aria-hidden\": hideLabel }))), hideLabel === true && !expertSlot && (h(\"div\", { class: \"kol-link__tooltip\" }, h(TooltipFC, { badgeText: accessKey || shortKey || '', label: typeof label === 'string' ? label : typeof href === 'string' ? href : '', refFloating: refTooltip }))), trimmedAriaDescription && (h(\"span\", { class: \"visually-hidden\", id: ariaDescriptionId }, trimmedAriaDescription))));\n};\n\nexport { LinkFC as L, accessKeyProp as a, ariaControlsProp as b, ariaCurrentValueProp as c, ariaDescriptionProp as d, ariaExpandedProp as e, disabledProp as f, downloadProp as g, hideLabelProp as h, inlineProp as i, linkCallbacksProp as j, shortKeyProp as k, linkPropsConfig as l, linkTargetProp as m, ariaOwnsProp as n, customClassProp as o, linkRoleProp as p, tabIndexProp as q, spanIconsProp as s, tooltipAlignProp as t, variantProp as v };\n//# sourceMappingURL=component-oWROUiYq.js.map\n\n//# sourceMappingURL=component-oWROUiYq.js.map"],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- import{_t as e,et as t,gt as n,ht as r,pt as i}from"./index-Cdaohn0f.js";function a(e){Array.isArray(e)&&e.raw&&(e=String.raw(...arguments));var n,a=i(e);if(!a.space)return[];let o=a.space[0]===`h`?t.min:r.min,s=a.space[0]===`h`?t.max:r.max;return n=[,,,],n[0]=Math.min(Math.max(a.values[0],o[0]),s[0]),n[1]=Math.min(Math.max(a.values[1],o[1]),s[1]),n[2]=Math.min(Math.max(a.values[2],o[2]),s[2]),a.space[0]===`h`&&(n=t.rgb(n)),n.push(Math.min(Math.max(a.alpha,0),1)),n}var o=(e,t,n)=>(e*299+t*587+n*114)/1e3>=128?-1:1,s=(t,r,i,a=1)=>{let o=[Math.max(Math.min(Math.round(r[0]+a*Math.max(1,r[0]/100)),255),0),Math.max(Math.min(Math.round(r[1]+a*Math.max(1,r[1]/100)),255),0),Math.max(Math.min(Math.round(r[2]+a*Math.max(1,r[2]/100)),255),0)],c=e(n.hex(`rgba(${t.join(`,`)},1)`),n.hex(`rgba(${o.join(`,`)},1)`)),l=o[0]+o[1]+o[2];return l===0||l===765||c>i?{background:t,foreground:o,contrast:c}:s(t,o,i,a)},c=new Map,l=(e,t,n,r=1)=>{if(c.has(e))return c.get(e);let i=s(e,t,n,r);return c.set(e,i),i},u=(e,t=7)=>{let r=[0,0,0,1],i=[255,255,255,1];typeof e==`string`?(r=a(e),i=r):typeof e==`object`&&e&&typeof e.background==`string`&&typeof e.foreground==`string`&&(r=a(e.background),i=typeof e.foreground==`string`?a(e.foreground):r);let s=o(r[0],r[1],r[2]),c=l([r[0],r[1],r[2]],[i[0],i[1],i[2]],t,s);return i=[...c.foreground,1],{background:n.hex(`rgba(${r.join(`,`)})`),foreground:n.hex(`rgba(${i.join(`,`)})`),contrast:c.contrast}};export{a as n,u as t};
2
- //# sourceMappingURL=contrast-BQCqf-V1-rHLpcsSg.js.map
@@ -1,2 +0,0 @@
1
- import{G as e,I as t,Q as n,R as r,b as i,yt as a}from"./index-Cdaohn0f.js";var o=t=>{for(n()&&(e(`↓ Search form element start.`),r.debug(t));t instanceof HTMLElement&&t.tagName!==`FORM`&&t.tagName!==i.toUpperCase();){try{t=t.parentElement instanceof HTMLElement?t.parentElement:t.parentNode instanceof ShadowRoot?t.parentNode.host:null}catch{}n()&&r.debug(t)}return n()&&e(`↑ Search form element finished.`),t},s=(e={})=>{var n;let r=o(e.form);if(r instanceof HTMLElement){let e=new Event(`reset`,{bubbles:!0,cancelable:!0});if(r.tagName===`FORM`)a(e,r),r.dispatchEvent(e);else if(r.tagName===i.toUpperCase()){a(e,t.querySelector(`form`,r));let i=r;typeof i._on?.onReset==`function`&&((n=i._on)==null||n.onReset(e))}}},c=(r={})=>{let s=o(r.form);if(s instanceof HTMLElement){let r=new SubmitEvent(`submit`,{bubbles:!0,cancelable:!0,submitter:s});if(s.tagName===`FORM`)n()&&s.noValidate===!1&&e(`If you have not focusable or hidden form fields in your form, you should enable noValidate for your form.`,{force:!0}),setTimeout(()=>{typeof s.requestSubmit==`function`?s.requestSubmit():(a(r,s),s.dispatchEvent(r))});else if(s.tagName===i.toUpperCase()){a(r,t.querySelector(`form`,s));let e=s;setTimeout(()=>{var t;typeof e._on?.onSubmit==`function`&&((t=e._on)==null||t.onSubmit(r))})}}};export{c as n,s as t};
2
- //# sourceMappingURL=controller-CrEJoj-8-BFxggnRR.js.map
@@ -1,2 +0,0 @@
1
- import{Ot as e}from"./index-Cdaohn0f.js";var t=(t,n)=>{e(t,`_customClass`,n,{defaultValue:``})};export{t};
2
- //# sourceMappingURL=custom-class-DpFc73O_-C1V4f-sI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"custom-class-DpFc73O_-C1V4f-sI.js","names":[],"sources":["../../../../../components/dist/esm/custom-class-DpFc73O_.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { g as watchString } from './common-noYAs-wc.js';\n\nconst validateCustomClass = (component, value) => {\n watchString(component, '_customClass', value, {\n defaultValue: '',\n });\n};\n\nexport { validateCustomClass as v };\n//# sourceMappingURL=custom-class-DpFc73O_.js.map\n\n//# sourceMappingURL=custom-class-DpFc73O_.js.map"],"mappings":"yCAKA,IAAM,GAAuB,EAAW,IAAU,CAC9C,EAAY,EAAW,eAAgB,EAAO,CAC1C,aAAc,EAClB,CAAC,CACL"}
@@ -1,14 +0,0 @@
1
- import{$ as e,L as t,Q as n,R as r,St as i,Y as a,Z as o,ct as s,lt as c,mt as l,ot as u,st as d,tt as f}from"./index-Cdaohn0f.js";import{a as p,r as m}from"./dev.utils-CiiFii6l-B0m7ELY5.js";var h=()=>{let t=e().KoliBri;return t===void 0&&(t={},Object.defineProperty(e(),"KoliBri",{value:t,writable:!1})),t};function g(e,t){try{Object.defineProperty(h(),e,{get:function(){return t}})}catch{r.debug(`KoliBri property ${e} is already bind.`)}}var _=(e,t)=>r.debug(`${e} ${t?``:`not `}activated`),v=()=>{if(m(),f()&&(p(),g(`a11yColorContrast`,u),g(`querySelector`,d),g(`querySelectorAll`,s),g(`querySelectorColors`,c),g(`utils`,function(){return t}),g(`parseJson`,l),g(`stringifyJson`,i),_(`Development mode`,f()),_(`Experimental mode`,n()),_(`Color contrast analysis`,a()),setTimeout(()=>{try{let e=o(),t=e?.body;if(e&&t&&typeof e.createElement==`function`){let n=e.createElement(`svg`);n.setAttribute(`aria-label`,`KoliBri-DevTools`),n.setAttribute(`xmlns`,`http://www.w3.org/2000/svg`),n.setAttribute(`role`,`toolbar`),n.setAttribute(`style`,`position: fixed;color: black;font-size: 200%;bottom: 0.25rem;right: 0.25rem;`),n.innerHTML=`<svg
2
- xmlns="http://www.w3.org/2000/svg"
3
- width="50"
4
- height="50"
5
- viewBox="0 0 600 600"
6
- >
7
- <path d="M353 322L213 304V434L353 322Z" fill="#047" />
8
- <path d="M209 564V304L149 434L209 564Z" fill="#047" />
9
- <path d="M357 316L417 250L361 210L275 244L357 316Z" fill="#047" />
10
- <path d="M353 318L35 36L213 300L353 318Z" fill="#047" />
11
- <path d="M329 218L237 92L250 222L272 241L329 218Z" fill="#047" />
12
- <path d="M391 286L565 272L421 252L391 286Z" fill="#047" />
13
- </svg>`,t.appendChild(n)}}catch(e){r.debug([`Could not initialize DevTools UI (likely in SSR/test environment):`,e])}},100),a())){let e=setTimeout(()=>{clearTimeout(e);try{let e=o(),n=e?.body;e&&n&&typeof e.createElement==`function`&&setInterval(()=>{t.queryHtmlElementColors(e.createElement(`div`),u(n),!1,!1)},1e4)}catch(e){r.debug([`Could not initialize color contrast analysis:`,e])}},2500)}};export{v as initialize};
14
- //# sourceMappingURL=devtools-BQLYa7H7-eju7LOL4.js.map
@@ -1,2 +0,0 @@
1
- import{H as e,Tt as t}from"./index-Cdaohn0f.js";var n=(n,r)=>{t(n,`_disabled`,r,{hooks:{afterPatch:t=>{t===!0&&e()}}})};export{n as t};
2
- //# sourceMappingURL=disabled-DVZ7p0bI-DSOY_v9_.js.map
@@ -1,2 +0,0 @@
1
- import{Tt as e}from"./index-Cdaohn0f.js";var t=(t,n)=>{e(t,`_hasCloser`,n)};export{t};
2
- //# sourceMappingURL=has-closer-DyXBWIQh-Bwidy-vD.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"has-closer-DyXBWIQh-Bwidy-vD.js","names":[],"sources":["../../../../../components/dist/esm/has-closer-DyXBWIQh.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { e as watchBoolean } from './common-noYAs-wc.js';\n\nconst validateHasCloser = (component, value) => {\n watchBoolean(component, '_hasCloser', value);\n};\n\nexport { validateHasCloser as v };\n//# sourceMappingURL=has-closer-DyXBWIQh.js.map\n\n//# sourceMappingURL=has-closer-DyXBWIQh.js.map"],"mappings":"yCAKA,IAAM,GAAqB,EAAW,IAAU,CAC5C,EAAa,EAAW,aAAc,CAAK,CAC/C"}
@@ -1,2 +0,0 @@
1
- import{Tt as e}from"./index-Cdaohn0f.js";var t=(t,n,r={})=>{e(t,`_hideLabel`,n,r)};export{t};
2
- //# sourceMappingURL=hide-label-LlZnbrzc-DPKAaQGf.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"hide-label-LlZnbrzc-DPKAaQGf.js","names":[],"sources":["../../../../../components/dist/esm/hide-label-LlZnbrzc.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { e as watchBoolean } from './common-noYAs-wc.js';\n\nconst validateHideLabel = (component, value, options = {}) => {\n watchBoolean(component, '_hideLabel', value, options);\n};\n\nexport { validateHideLabel as v };\n//# sourceMappingURL=hide-label-LlZnbrzc.js.map\n\n//# sourceMappingURL=hide-label-LlZnbrzc.js.map"],"mappings":"yCAKA,IAAM,GAAqB,EAAW,EAAO,EAAU,CAAC,IAAM,CAC1D,EAAa,EAAW,aAAc,EAAO,CAAO,CACxD"}
@@ -1,2 +0,0 @@
1
- import{Ot as e}from"./index-Cdaohn0f.js";var t=(t,n,r={})=>{e(t,`_href`,n,r)};export{t};
2
- //# sourceMappingURL=href-BKrnu0s2-CRQ4yt4G.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"href-BKrnu0s2-CRQ4yt4G.js","names":[],"sources":["../../../../../components/dist/esm/href-BKrnu0s2.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { g as watchString } from './common-noYAs-wc.js';\n\nconst validateHref = (component, value, options = {}) => {\n watchString(component, '_href', value, options);\n};\n\nexport { validateHref as v };\n//# sourceMappingURL=href-BKrnu0s2.js.map\n\n//# sourceMappingURL=href-BKrnu0s2.js.map"],"mappings":"yCAKA,IAAM,GAAgB,EAAW,EAAO,EAAU,CAAC,IAAM,CACrD,EAAY,EAAW,QAAS,EAAO,CAAO,CAClD"}
@@ -1,2 +0,0 @@
1
- import{n as e,s as t}from"./normalizers-DWPxOTIP-7Jt7UZ66.js";var n=e(`href`,``,t,e=>typeof e==`string`,{required:!0});export{n as t};
2
- //# sourceMappingURL=href-CBdHcGY_-DVRbUmEl.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"href-CBdHcGY_-DVRbUmEl.js","names":[],"sources":["../../../../../components/dist/esm/href-CBdHcGY_.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { c as createPropDefinition, n as normalizeString } from './normalizers-DWPxOTIP.js';\n\nconst hrefProp = createPropDefinition('href', '', normalizeString, (v) => typeof v === 'string', { required: true });\n\nexport { hrefProp as h };\n//# sourceMappingURL=href-CBdHcGY_.js.map\n\n//# sourceMappingURL=href-CBdHcGY_.js.map"],"mappings":"8DAKA,IAAM,EAAW,EAAqB,OAAQ,GAAI,EAAkB,GAAM,OAAO,GAAM,SAAU,CAAE,SAAU,EAAK,CAAC"}
@@ -1,2 +0,0 @@
1
- import{at as e,f as t,p as n}from"./index-Cdaohn0f.js";var r=(e,r)=>(t()??n(`de`)).translate(e,r);e()&&(r=e=>e);export{r as t};
2
- //# sourceMappingURL=i18n-CrXMv0tS-CxVCCSU6.js.map
@@ -1,2 +0,0 @@
1
- import{ft as e,it as t,kt as n,mt as r,nt as i,rt as a}from"./index-Cdaohn0f.js";var o=(e,t,n)=>{i(n)?e[t]=n:a(n,1)&&(e[t]={icon:n})},s=e=>{let t={};return a(e,1)?t={left:{icon:e}}:typeof e==`object`&&e&&(o(t,`top`,e.top),o(t,`right`,e.right),o(t,`bottom`,e.bottom),o(t,`left`,e.left)),t},c=e=>{var t;if(e.nextState?.has(`_icons`)){let n=e.nextState?.get(`_icons`);(t=e.nextState)==null||t.set(`_icons`,s(n))}},l=e=>typeof e==`object`&&!!e&&(e.style===void 0||t(e.style))&&(e.label===void 0||a(e.label))&&a(e.icon,1),u=(t,i,o={})=>{e(i,()=>{try{i=r(i)}catch{}n(t,`_icons`,e=>{let t=typeof e==`object`&&!!e&&Object.keys(e).length===0;return e===null||t||a(e,1)||typeof e==`object`&&!!e&&(a(e.left,0)||l(e.left)||a(e.right,0)||l(e.right)||a(e.top,0)||l(e.top)||a(e.bottom,0)||l(e.bottom))},new Set([`KoliBriIcon`]),i,Object.assign(Object.assign({},o),{defaultValue:{},hooks:{afterPatch:o.hooks?.afterPatch,beforePatch:(e,t,n,r)=>{var i;typeof o.hooks?.beforePatch==`function`&&((i=o.hooks)==null||i.beforePatch(e,t,n,r)),c(n)}}}))})};export{u as t};
2
- //# sourceMappingURL=icons-DT5u2gpq-DobMcobp.js.map