@public-ui/visual-tests 4.3.0-rc.0 → 4.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js +2 -0
- package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js.map +1 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js +2 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js.map +1 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js +2 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js.map +1 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js +2 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js.map +1 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js +2 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js.map +1 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js +2 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js.map +1 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js +2 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js.map +1 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js +2 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js.map +1 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js +2 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js.map +1 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js +2 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js.map +1 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js +2 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js.map +1 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js +2 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js.map +1 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js +2 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js.map +1 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js +2 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js.map +1 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js +2 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js.map +1 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js +2 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js.map +1 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js +2 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js.map +1 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js +2 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js.map +1 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js +2 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js.map +1 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js +2 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js.map +1 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js +2 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js.map +1 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js +2 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js.map +1 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js +2 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js.map +1 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js +2 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js.map +1 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js +15 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js.map +1 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js +2 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js.map +1 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js +2 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js.map +1 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js +2 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js.map +1 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js +2 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js.map +1 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js +2 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js.map +1 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js +2 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js.map +1 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js +2 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js.map +1 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js +2 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js.map +1 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js +2 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js.map +1 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js +14 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js.map +1 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js +14 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js.map +1 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js +2 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js.map +1 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js +2 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js.map +1 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js +2 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js.map +1 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js +2 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js.map +1 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js +2 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js.map +1 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js +2 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js.map +1 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js +2 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js.map +1 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js +2 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js.map +1 -0
- package/app/dist/assets/index-CLYw1HnO.js +168 -0
- package/app/dist/assets/index-CLYw1HnO.js.map +1 -0
- package/app/dist/assets/index-DntD6gvY.css +1 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js +2 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js.map +1 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js +2 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js.map +1 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js +2 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js.map +1 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js +379 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js.map +1 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js +379 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js.map +1 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js +2 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js.map +1 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js +417 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js.map +1 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js +232 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js.map +1 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js +392 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js.map +1 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js +423 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js.map +1 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js +416 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js.map +1 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js +2 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js.map +1 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js +398 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js.map +1 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js +2 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js.map +1 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js +426 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js.map +1 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js +2 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js.map +1 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js +539 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js.map +1 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js +470 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js.map +1 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js +2 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js.map +1 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js +439 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js.map +1 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js +468 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js.map +1 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js +454 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js.map +1 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js +213 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js.map +1 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js +106 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js.map +1 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js +215 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js.map +1 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js +608 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js.map +1 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js +483 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js.map +1 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js +492 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js.map +1 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js +466 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js.map +1 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js +518 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js.map +1 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js +480 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js.map +1 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js +476 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js.map +1 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js +584 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js.map +1 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js +516 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js.map +1 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js +466 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js.map +1 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js +219 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js.map +1 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js +398 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js.map +1 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js +2 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js.map +1 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js +412 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js.map +1 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js +312 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js.map +1 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js +439 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js.map +1 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js +415 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js.map +1 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js +2 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js.map +1 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js +515 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js.map +1 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js +2 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js.map +1 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js +423 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js.map +1 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js +293 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js.map +1 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js +229 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js.map +1 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js +2 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js.map +1 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js +480 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js.map +1 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js +547 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js.map +1 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js +2 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js.map +1 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js +431 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js.map +1 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js +358 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js.map +1 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js +413 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js.map +1 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js +2 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js.map +1 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js +847 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js.map +1 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js +2 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js.map +1 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js +712 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js.map +1 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js +437 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js.map +1 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js +464 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js.map +1 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js +427 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js.map +1 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js +437 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js.map +1 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js +2 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js.map +1 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js +2 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js.map +1 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js +341 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js.map +1 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js +2 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js.map +1 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js +219 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js.map +1 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js +208 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js.map +1 -0
- package/app/dist/assets/kolibri.ico +0 -0
- package/app/dist/assets/kolicons/kolicons.eot +0 -0
- package/app/dist/assets/kolicons/kolicons.json +29 -0
- package/app/dist/assets/kolicons/kolicons.svg +93 -0
- package/app/dist/assets/kolicons/kolicons.ttf +0 -0
- package/app/dist/assets/kolicons/kolicons.woff +0 -0
- package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/app/dist/assets/kolicons/style.css +49 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js +2 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js.map +1 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js +2 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js.map +1 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js +2 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js.map +1 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js +2 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js.map +1 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js +2 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js.map +1 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js +2 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js.map +1 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js +2 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js.map +1 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js +2 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js.map +1 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js +2 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js.map +1 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js +2 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js.map +1 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js +2 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js.map +1 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js +2 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js.map +1 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js +2 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js.map +1 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js +2 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js.map +1 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js +2 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js.map +1 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js +2 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js.map +1 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js +2 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js.map +1 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js +2 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js.map +1 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js +2 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js.map +1 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js +2 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js.map +1 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js +2 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js.map +1 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js +2 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js.map +1 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js +2 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js.map +1 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js +2 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js.map +1 -0
- package/app/dist/index.html +27 -0
- package/app/dist/robots.txt +2 -0
- package/app/dist/sample-image.png +0 -0
- package/app/index.html +26 -0
- package/app/public/assets/kolibri.ico +0 -0
- package/app/public/assets/kolicons/kolicons.eot +0 -0
- package/app/public/assets/kolicons/kolicons.json +29 -0
- package/app/public/assets/kolicons/kolicons.svg +93 -0
- package/app/public/assets/kolicons/kolicons.ttf +0 -0
- package/app/public/assets/kolicons/kolicons.woff +0 -0
- package/app/public/assets/kolicons/kolicons.woff2 +0 -0
- package/app/public/assets/kolicons/style.css +49 -0
- package/app/public/robots.txt +2 -0
- package/app/public/sample-image.png +0 -0
- package/app/src/@shared/_mixins.scss +3 -0
- package/app/src/empty-theme.ts +3 -0
- package/app/src/env.d.ts +3 -0
- package/app/src/main.ts +17 -0
- package/app/src/react.main.tsx +128 -0
- package/app/src/style.scss +117 -0
- package/app/tsconfig.json +31 -0
- package/app/unocss.config.ts +318 -0
- package/app/vite.config.ts +57 -0
- package/package.json +29 -9
- package/src/index.js +42 -16
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import{F as e,o as t,s as n}from"./index-CLYw1HnO.js";var r=`@charset "UTF-8";
|
|
2
|
+
/* forward the rem function */
|
|
3
|
+
/*
|
|
4
|
+
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
|
+
* The order is important as it determines the cascade priority.
|
|
6
|
+
*
|
|
7
|
+
* Layer order (lowest to highest priority):
|
|
8
|
+
* 1. kol-a11y - Accessibility defaults and requirements
|
|
9
|
+
* 2. kol-global - Global component styles and resets
|
|
10
|
+
* 3. kol-component - Component-specific styles
|
|
11
|
+
* 4. kol-theme-global - Theme-specific global styles
|
|
12
|
+
* 5. kol-theme-component - Theme-specific component styles
|
|
13
|
+
*/
|
|
14
|
+
@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;
|
|
15
|
+
/*
|
|
16
|
+
* This file contains all rules for accessibility.
|
|
17
|
+
*/
|
|
18
|
+
@layer kol-a11y {
|
|
19
|
+
:host {
|
|
20
|
+
/*
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The \`max(…, 44px)\` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* \`to-rem(44)\` runs the value through a \`calc()\` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
29
|
+
/*
|
|
30
|
+
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
31
|
+
* By initially setting the background color to white and the font color to black,
|
|
32
|
+
* the contrast ratio is ensured and explicit adjustment is forced.
|
|
33
|
+
*/
|
|
34
|
+
color: black;
|
|
35
|
+
background-color: white;
|
|
36
|
+
/*
|
|
37
|
+
* Verdana is an accessible font that can be used without requiring additional loading time.
|
|
38
|
+
*/
|
|
39
|
+
font-family: Verdana;
|
|
40
|
+
/*
|
|
41
|
+
* Letter spacing is required for all texts.
|
|
42
|
+
*/
|
|
43
|
+
letter-spacing: inherit;
|
|
44
|
+
/*
|
|
45
|
+
* Word spacing is required for all texts.
|
|
46
|
+
*/
|
|
47
|
+
word-spacing: inherit;
|
|
48
|
+
/*
|
|
49
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
50
|
+
*/
|
|
51
|
+
text-align: left;
|
|
52
|
+
}
|
|
53
|
+
* {
|
|
54
|
+
/*
|
|
55
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
56
|
+
*/
|
|
57
|
+
hyphens: auto;
|
|
58
|
+
/*
|
|
59
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
60
|
+
*/
|
|
61
|
+
word-break: break-word;
|
|
62
|
+
}
|
|
63
|
+
/*
|
|
64
|
+
* All interactive elements should have a minimum size of to-rem(44).
|
|
65
|
+
*/
|
|
66
|
+
/* input:not([type='checkbox'], [type='radio'], [type='range']), */
|
|
67
|
+
/* option, */
|
|
68
|
+
/* select, */
|
|
69
|
+
/* textarea, */
|
|
70
|
+
button,
|
|
71
|
+
.kol-input .input {
|
|
72
|
+
min-width: var(--a11y-min-size);
|
|
73
|
+
min-height: var(--a11y-min-size);
|
|
74
|
+
}
|
|
75
|
+
/*
|
|
76
|
+
* Some interactive elements should not inherit the font-family and font-size.
|
|
77
|
+
*/
|
|
78
|
+
a,
|
|
79
|
+
button,
|
|
80
|
+
h1,
|
|
81
|
+
h2,
|
|
82
|
+
h3,
|
|
83
|
+
h4,
|
|
84
|
+
h5,
|
|
85
|
+
h6,
|
|
86
|
+
input,
|
|
87
|
+
option,
|
|
88
|
+
select,
|
|
89
|
+
textarea {
|
|
90
|
+
/*
|
|
91
|
+
* All elements should inherit the text color from his parent element.
|
|
92
|
+
*/
|
|
93
|
+
color: inherit;
|
|
94
|
+
/*
|
|
95
|
+
* All elements should inherit the font family from his parent element.
|
|
96
|
+
*/
|
|
97
|
+
font-family: inherit;
|
|
98
|
+
/*
|
|
99
|
+
* All elements should inherit the font size from his parent element.
|
|
100
|
+
*/
|
|
101
|
+
font-size: inherit;
|
|
102
|
+
/*
|
|
103
|
+
* Letter spacing is required for all texts.
|
|
104
|
+
*/
|
|
105
|
+
letter-spacing: inherit;
|
|
106
|
+
/*
|
|
107
|
+
* Word spacing is required for all texts.
|
|
108
|
+
*/
|
|
109
|
+
word-spacing: inherit;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Sometimes we need the semantic element for accessibility reasons,
|
|
113
|
+
* but we don't want to show it.
|
|
114
|
+
*
|
|
115
|
+
* - https://www.a11yproject.com/posts/how-to-hide-content/
|
|
116
|
+
*/
|
|
117
|
+
.visually-hidden {
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
width: 1px;
|
|
122
|
+
height: 1px;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
clip-path: inset(50%);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@layer kol-global {
|
|
129
|
+
/*
|
|
130
|
+
* Dieses CSS stellt sicher, dass der Standard-Style
|
|
131
|
+
* von A und Button resettet werden.
|
|
132
|
+
*/
|
|
133
|
+
:is(a, button) {
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
width: 100%;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding: 0;
|
|
138
|
+
border: none;
|
|
139
|
+
/* 100% needed for custom width from outside */
|
|
140
|
+
}
|
|
141
|
+
/*
|
|
142
|
+
* Ensure elements with hidden attribute to be actually not visible
|
|
143
|
+
* @see https://meowni.ca/hidden.is.a.lie.html
|
|
144
|
+
*/
|
|
145
|
+
[hidden] {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
148
|
+
.badge-text-hint {
|
|
149
|
+
color: black;
|
|
150
|
+
background-color: white;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@layer kol-global {
|
|
154
|
+
:host {
|
|
155
|
+
/*
|
|
156
|
+
* The max-width is needed to prevent the table from overflowing the
|
|
157
|
+
* parent node, if the table is wider than the parent node.
|
|
158
|
+
*/
|
|
159
|
+
max-width: 100%;
|
|
160
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
161
|
+
}
|
|
162
|
+
* {
|
|
163
|
+
/*
|
|
164
|
+
* We prefer to box-sizing: border-box for all elements.
|
|
165
|
+
*/
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
}
|
|
168
|
+
.kol-span {
|
|
169
|
+
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-flow: column;
|
|
172
|
+
align-items: center;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
175
|
+
}
|
|
176
|
+
.kol-span__container {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
}
|
|
180
|
+
a,
|
|
181
|
+
button {
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
.kol-span .kol-span__label--hide-label .kol-span__label {
|
|
185
|
+
display: none;
|
|
186
|
+
}
|
|
187
|
+
/* Reset browser agent style. */
|
|
188
|
+
button:disabled {
|
|
189
|
+
color: unset;
|
|
190
|
+
}
|
|
191
|
+
.disabled label,
|
|
192
|
+
.disabled:focus-within label,
|
|
193
|
+
[aria-disabled=true],
|
|
194
|
+
[aria-disabled=true]:focus,
|
|
195
|
+
[disabled],
|
|
196
|
+
[disabled]:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
cursor: not-allowed;
|
|
199
|
+
}
|
|
200
|
+
[aria-disabled=true]:focus .kol-span,
|
|
201
|
+
[disabled]:focus .kol-span {
|
|
202
|
+
outline: none !important;
|
|
203
|
+
}
|
|
204
|
+
.hastooltip {
|
|
205
|
+
z-index: 900 !important;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@font-face {
|
|
209
|
+
font-family: "kolicons";
|
|
210
|
+
src: url("kolicons.eot?t=1782311579243"); /* IE9*/
|
|
211
|
+
src: url("kolicons.eot?t=1782311579243#iefix") format("embedded-opentype"), url("kolicons.woff2?t=1782311579243") format("woff2"), url("kolicons.woff?t=1782311579243") format("woff"), url("kolicons.ttf?t=1782311579243") format("truetype"), url("kolicons.svg?t=1782311579243#kolicons") format("svg"); /* iOS 4.1- */
|
|
212
|
+
}
|
|
213
|
+
@layer kol-component {
|
|
214
|
+
[class^=kolicon-], [class*=" kolicon-"] {
|
|
215
|
+
font-family: "kolicons";
|
|
216
|
+
font-style: normal;
|
|
217
|
+
font-weight: 400;
|
|
218
|
+
line-height: 1em;
|
|
219
|
+
-webkit-font-smoothing: antialiased;
|
|
220
|
+
-moz-osx-font-smoothing: grayscale;
|
|
221
|
+
}
|
|
222
|
+
.kolicon-alert-error::before {
|
|
223
|
+
content: "\\ea01";
|
|
224
|
+
}
|
|
225
|
+
.kolicon-alert-info::before {
|
|
226
|
+
content: "\\ea02";
|
|
227
|
+
}
|
|
228
|
+
.kolicon-alert-success::before {
|
|
229
|
+
content: "\\ea03";
|
|
230
|
+
}
|
|
231
|
+
.kolicon-alert-warning::before {
|
|
232
|
+
content: "\\ea04";
|
|
233
|
+
}
|
|
234
|
+
.kolicon-check::before {
|
|
235
|
+
content: "\\ea05";
|
|
236
|
+
}
|
|
237
|
+
.kolicon-chevron-double-left::before {
|
|
238
|
+
content: "\\ea06";
|
|
239
|
+
}
|
|
240
|
+
.kolicon-chevron-double-right::before {
|
|
241
|
+
content: "\\ea07";
|
|
242
|
+
}
|
|
243
|
+
.kolicon-chevron-down::before {
|
|
244
|
+
content: "\\ea08";
|
|
245
|
+
}
|
|
246
|
+
.kolicon-chevron-left::before {
|
|
247
|
+
content: "\\ea09";
|
|
248
|
+
}
|
|
249
|
+
.kolicon-chevron-right::before {
|
|
250
|
+
content: "\\ea0a";
|
|
251
|
+
}
|
|
252
|
+
.kolicon-chevron-up::before {
|
|
253
|
+
content: "\\ea0b";
|
|
254
|
+
}
|
|
255
|
+
.kolicon-cogwheel::before {
|
|
256
|
+
content: "\\ea0c";
|
|
257
|
+
}
|
|
258
|
+
.kolicon-cross::before {
|
|
259
|
+
content: "\\ea0d";
|
|
260
|
+
}
|
|
261
|
+
.kolicon-eye-closed::before {
|
|
262
|
+
content: "\\ea0e";
|
|
263
|
+
}
|
|
264
|
+
.kolicon-eye::before {
|
|
265
|
+
content: "\\ea0f";
|
|
266
|
+
}
|
|
267
|
+
.kolicon-house::before {
|
|
268
|
+
content: "\\ea10";
|
|
269
|
+
}
|
|
270
|
+
.kolicon-kolibri::before {
|
|
271
|
+
content: "\\ea11";
|
|
272
|
+
}
|
|
273
|
+
.kolicon-link-external::before {
|
|
274
|
+
content: "\\ea12";
|
|
275
|
+
}
|
|
276
|
+
.kolicon-link::before {
|
|
277
|
+
content: "\\ea13";
|
|
278
|
+
}
|
|
279
|
+
.kolicon-minus::before {
|
|
280
|
+
content: "\\ea14";
|
|
281
|
+
}
|
|
282
|
+
.kolicon-plus::before {
|
|
283
|
+
content: "\\ea15";
|
|
284
|
+
}
|
|
285
|
+
.kolicon-settings::before {
|
|
286
|
+
content: "\\ea16";
|
|
287
|
+
}
|
|
288
|
+
.kolicon-sort-asc::before {
|
|
289
|
+
content: "\\ea17";
|
|
290
|
+
}
|
|
291
|
+
.kolicon-sort-desc::before {
|
|
292
|
+
content: "\\ea18";
|
|
293
|
+
}
|
|
294
|
+
.kolicon-sort-neutral::before {
|
|
295
|
+
content: "\\ea19";
|
|
296
|
+
}
|
|
297
|
+
.kolicon-up::before {
|
|
298
|
+
content: "\\ea1a";
|
|
299
|
+
}
|
|
300
|
+
.kolicon-version::before {
|
|
301
|
+
content: "\\ea1b";
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
@layer kol-component {
|
|
305
|
+
.kol-icon {
|
|
306
|
+
color: inherit;
|
|
307
|
+
display: inline-block;
|
|
308
|
+
font-size: inherit;
|
|
309
|
+
font-weight: inherit;
|
|
310
|
+
line-height: inherit;
|
|
311
|
+
}
|
|
312
|
+
.kol-tree-item__link .kol-link {
|
|
313
|
+
display: inline-flex;
|
|
314
|
+
min-height: var(--a11y-min-size);
|
|
315
|
+
align-items: center;
|
|
316
|
+
text-decoration: none;
|
|
317
|
+
}
|
|
318
|
+
.kol-tree-item__link-inner {
|
|
319
|
+
display: flex;
|
|
320
|
+
align-items: center;
|
|
321
|
+
}
|
|
322
|
+
.kol-tree-item__children {
|
|
323
|
+
margin: 0;
|
|
324
|
+
padding: 0;
|
|
325
|
+
list-style: none;
|
|
326
|
+
}
|
|
327
|
+
.kol-tree-item .kol-span {
|
|
328
|
+
place-items: unset;
|
|
329
|
+
}
|
|
330
|
+
.kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder {
|
|
331
|
+
display: inline-flex;
|
|
332
|
+
min-width: var(--a11y-min-size);
|
|
333
|
+
min-height: var(--a11y-min-size);
|
|
334
|
+
align-items: center;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
}
|
|
337
|
+
.kol-tree-item__text {
|
|
338
|
+
text-decoration: underline;
|
|
339
|
+
}
|
|
340
|
+
}`,i=class{constructor(e){n(this,e)}async focus(e){return this.element?.focus(e)}async expand(){return Promise.resolve(this.element?.expand())}async collapse(){return Promise.resolve(this.element?.collapse())}async isOpen(){return await this.element?.isOpen()??!1}render(){return t(e,{key:`85b09f7121a7deda9d342ee60a8e8bdb4fec7465`,_active:this._active,_label:this._label,_open:this._open,_href:this._href,ref:e=>this.element=e},t(`slot`,{key:`87390d0ee5088434546b925b9d3381a04eeed0b9`}))}};i.style={default:r};export{i as kol_tree_item};
|
|
341
|
+
//# sourceMappingURL=kol-tree-item.entry-NCENwjq3.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-tree-item.entry-NCENwjq3.js","names":[],"sources":["../../../../../components/dist/esm/kol-tree-item.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-CwtGN7ID.js';\nimport { n as KolTreeItemWcTag } from './component-names-Dy77vq43.js';\nimport './common-DyILLof-.js';\n\nconst defaultStyleCss = \"@charset \\\"UTF-8\\\";\\n/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n *\\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\\n * rounding, dropping just below the required minimum.\\n */\\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: white;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n .hastooltip {\\n z-index: 900 !important;\\n }\\n}\\n@font-face {\\n font-family: \\\"kolicons\\\";\\n src: url(\\\"kolicons.eot?t=1782311579243\\\"); /* IE9*/\\n src: url(\\\"kolicons.eot?t=1782311579243#iefix\\\") format(\\\"embedded-opentype\\\"), url(\\\"kolicons.woff2?t=1782311579243\\\") format(\\\"woff2\\\"), url(\\\"kolicons.woff?t=1782311579243\\\") format(\\\"woff\\\"), url(\\\"kolicons.ttf?t=1782311579243\\\") format(\\\"truetype\\\"), url(\\\"kolicons.svg?t=1782311579243#kolicons\\\") format(\\\"svg\\\"); /* iOS 4.1- */\\n}\\n@layer kol-component {\\n [class^=kolicon-], [class*=\\\" kolicon-\\\"] {\\n font-family: \\\"kolicons\\\";\\n font-style: normal;\\n font-weight: 400;\\n line-height: 1em;\\n -webkit-font-smoothing: antialiased;\\n -moz-osx-font-smoothing: grayscale;\\n }\\n .kolicon-alert-error::before {\\n content: \\\"\\\\ea01\\\";\\n }\\n .kolicon-alert-info::before {\\n content: \\\"\\\\ea02\\\";\\n }\\n .kolicon-alert-success::before {\\n content: \\\"\\\\ea03\\\";\\n }\\n .kolicon-alert-warning::before {\\n content: \\\"\\\\ea04\\\";\\n }\\n .kolicon-check::before {\\n content: \\\"\\\\ea05\\\";\\n }\\n .kolicon-chevron-double-left::before {\\n content: \\\"\\\\ea06\\\";\\n }\\n .kolicon-chevron-double-right::before {\\n content: \\\"\\\\ea07\\\";\\n }\\n .kolicon-chevron-down::before {\\n content: \\\"\\\\ea08\\\";\\n }\\n .kolicon-chevron-left::before {\\n content: \\\"\\\\ea09\\\";\\n }\\n .kolicon-chevron-right::before {\\n content: \\\"\\\\ea0a\\\";\\n }\\n .kolicon-chevron-up::before {\\n content: \\\"\\\\ea0b\\\";\\n }\\n .kolicon-cogwheel::before {\\n content: \\\"\\\\ea0c\\\";\\n }\\n .kolicon-cross::before {\\n content: \\\"\\\\ea0d\\\";\\n }\\n .kolicon-eye-closed::before {\\n content: \\\"\\\\ea0e\\\";\\n }\\n .kolicon-eye::before {\\n content: \\\"\\\\ea0f\\\";\\n }\\n .kolicon-house::before {\\n content: \\\"\\\\ea10\\\";\\n }\\n .kolicon-kolibri::before {\\n content: \\\"\\\\ea11\\\";\\n }\\n .kolicon-link-external::before {\\n content: \\\"\\\\ea12\\\";\\n }\\n .kolicon-link::before {\\n content: \\\"\\\\ea13\\\";\\n }\\n .kolicon-minus::before {\\n content: \\\"\\\\ea14\\\";\\n }\\n .kolicon-plus::before {\\n content: \\\"\\\\ea15\\\";\\n }\\n .kolicon-settings::before {\\n content: \\\"\\\\ea16\\\";\\n }\\n .kolicon-sort-asc::before {\\n content: \\\"\\\\ea17\\\";\\n }\\n .kolicon-sort-desc::before {\\n content: \\\"\\\\ea18\\\";\\n }\\n .kolicon-sort-neutral::before {\\n content: \\\"\\\\ea19\\\";\\n }\\n .kolicon-up::before {\\n content: \\\"\\\\ea1a\\\";\\n }\\n .kolicon-version::before {\\n content: \\\"\\\\ea1b\\\";\\n }\\n}\\n@layer kol-component {\\n .kol-icon {\\n color: inherit;\\n display: inline-block;\\n font-size: inherit;\\n font-weight: inherit;\\n line-height: inherit;\\n }\\n .kol-tree-item__link .kol-link {\\n display: inline-flex;\\n min-height: var(--a11y-min-size);\\n align-items: center;\\n text-decoration: none;\\n }\\n .kol-tree-item__link-inner {\\n display: flex;\\n align-items: center;\\n }\\n .kol-tree-item__children {\\n margin: 0;\\n padding: 0;\\n list-style: none;\\n }\\n .kol-tree-item .kol-span {\\n place-items: unset;\\n }\\n .kol-tree-item__toggle-button, .kol-tree-item__toggle-button-placeholder {\\n display: inline-flex;\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n align-items: center;\\n justify-content: center;\\n }\\n .kol-tree-item__text {\\n text-decoration: underline;\\n }\\n}\";\n\nconst KolTreeItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n async focus(options) {\n var _a;\n return (_a = this.element) === null || _a === void 0 ? void 0 : _a.focus(options);\n }\n async expand() {\n var _a;\n return Promise.resolve((_a = this.element) === null || _a === void 0 ? void 0 : _a.expand());\n }\n async collapse() {\n var _a;\n return Promise.resolve((_a = this.element) === null || _a === void 0 ? void 0 : _a.collapse());\n }\n async isOpen() {\n var _a, _b;\n return (_b = (await ((_a = this.element) === null || _a === void 0 ? void 0 : _a.isOpen()))) !== null && _b !== void 0 ? _b : false;\n }\n render() {\n return (h(KolTreeItemWcTag, { key: '85b09f7121a7deda9d342ee60a8e8bdb4fec7465', _active: this._active, _label: this._label, _open: this._open, _href: this._href, ref: (element) => (this.element = element) }, h(\"slot\", { key: '87390d0ee5088434546b925b9d3381a04eeed0b9' })));\n }\n};\nKolTreeItem.style = {\n default: defaultStyleCss\n};\n\nexport { KolTreeItem as kol_tree_item };\n//# sourceMappingURL=kol-tree-item.entry.js.map\n"],"mappings":"sDAOA,IAAM,EAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAElB,EAAc,KAAM,CACtB,YAAY,EAAS,CACjB,EAAiB,KAAM,CAAO,CAClC,CACA,MAAM,MAAM,EAAS,CAEjB,OAAa,KAAK,SAAiD,MAAM,CAAO,CACpF,CACA,MAAM,QAAS,CAEX,OAAO,QAAQ,QAAc,KAAK,SAAiD,OAAO,CAAC,CAC/F,CACA,MAAM,UAAW,CAEb,OAAO,QAAQ,QAAc,KAAK,SAAiD,SAAS,CAAC,CACjG,CACA,MAAM,QAAS,CAEX,OAAc,MAAa,KAAK,SAAiD,OAAO,GAAsC,EAClI,CACA,QAAS,CACL,OAAQ,EAAE,EAAkB,CAAE,IAAK,2CAA4C,QAAS,KAAK,QAAS,OAAQ,KAAK,OAAQ,MAAO,KAAK,MAAO,MAAO,KAAK,MAAO,IAAM,GAAa,KAAK,QAAU,CAAS,EAAG,EAAE,OAAQ,CAAE,IAAK,0CAA2C,CAAC,CAAC,CACjR,CACJ,EACA,EAAY,MAAQ,CAChB,QAAS,CACb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{I as e,P as t,a as n,o as r,r as i,s as a}from"./index-CLYw1HnO.js";import{r as o}from"./label-BiOix5de-Bf1AwuDH.js";var s=class{constructor(e){a(this,e),this.state={_label:``},this.cacheValid=!1}validateLabel(e){o(this,e)}async focus(e){await((await this.getOpenTreeItemElements())?.[0])?.focus(e)}async invalidateOpenItemsCache(){await Promise.resolve(this.cacheValid=!1)}render(){return r(i,{key:`ee07abb3b748443010336d2d6b2cf99e6ad10d64`,onSlotchange:this.handleSlotchange.bind(this)},r(`nav`,{key:`aeb88ca3da07336fa1aa164723246bd7b69da7f3`,class:`kol-tree`,"aria-label":this.state._label},r(`ul`,{key:`108e2ede70e08f5e77ada9961b47e57fcad50a3a`,class:`kol-tree__treeview-navigation`,role:`tree`,"aria-label":this.state._label},r(`slot`,{key:`0b67541fbb1e2f5eab04837fe1478296256baed2`}))))}static isTreeItem(e){return e?.tagName===t.toUpperCase()}componentWillLoad(){this.validateLabel(this._label),this.handleTreeChange(),this.observeChildListMutations()}disconnectedCallback(){var e;(e=this.observer)==null||e.disconnect(),this.rafHandle!==void 0&&(cancelAnimationFrame(this.rafHandle),this.rafHandle=void 0)}observeChildListMutations(){this.observer=new MutationObserver(()=>this.scheduleTreeChange()),this.observeTopLevelItems()}handleSlotchange(){this.observeTopLevelItems(),this.scheduleTreeChange()}observeTopLevelItems(){var e;(e=this.getTopLevelTreeItems())==null||e.forEach(e=>{var t;(t=this.observer)==null||t.observe(e,{childList:!0,subtree:!0})})}scheduleTreeChange(){this.rafHandle&&cancelAnimationFrame(this.rafHandle),this.rafHandle=requestAnimationFrame(()=>{this.handleTreeChange()})}getTopLevelTreeItems(){var e;return(((e=this.host?.querySelector(`slot`))?.assignedNodes)?.call(e))?.filter(s.isTreeItem)}handleTreeChange(){this.treeItemElements=this.getTreeItemElements(),this.cacheValid=!1,this.ensureActiveItemVisibility()}getTreeItemElements(){return this.getTopLevelTreeItems()?.reduce((e,n)=>{let r=n.querySelectorAll(t);return[...e,n,...r]},[])}async getOpenTreeItemElements(){if(!this.treeItemElements)return;if(this.cacheValid&&this.cachedOpenItems)return this.cachedOpenItems;let e=async e=>{let t=e.parentElement;for(;t&&s.isTreeItem(t);){if(!await t.isOpen())return!1;t=t.parentElement}return!0};return this.cachedOpenItems=await Promise.all(this.treeItemElements.map(async t=>({item:t,isOpen:await e(t)}))).then(e=>e.filter(({isOpen:e})=>e).map(({item:e})=>e)),this.cacheValid=!0,this.cachedOpenItems}async handleKeyDown(e){let n=await this.getOpenTreeItemElements(),r=document.activeElement?.closest(t),i=e.metaKey||e.altKey||e.ctrlKey||e.shiftKey;if(!n||!r)return;let a=n?.findIndex(e=>e===r);switch(e.key){case`ArrowDown`:await n[a+1]?.focus(),e.preventDefault();break;case`ArrowUp`:await n[a-1]?.focus(),e.preventDefault();break;case`Right`:case`ArrowRight`:e.preventDefault(),await r.isOpen()?await n[a+1]?.focus():await r.expand();break;case`Left`:case`ArrowLeft`:if(e.preventDefault(),await r.isOpen())await r.collapse();else{let e=r.parentElement,t=e?n.indexOf(e):-1;t!==-1&&await n[t]?.focus()}break;case`Home`:await n[0]?.focus(),e.preventDefault();break;case`End`:await n[n.length-1]?.focus(),e.preventDefault();break;case e.key.match(/^[a-zA-Z0-9]$/)?.input:if(!i){let t=e.key.toLowerCase(),i=n.indexOf(r)+1,a=n.slice(i).findIndex(e=>e.getAttribute(`_label`)?.trim().toLowerCase().startsWith(t));a===-1?a=n.slice(0,i).findIndex(e=>e.getAttribute(`_label`)?.trim().toLowerCase().startsWith(t)):a+=i,a!==-1&&(await n[a]?.focus(),e.preventDefault())}break;case`*`:(r.parentElement?.querySelectorAll(t))?.forEach(e=>{e.expand()});break}}handleFocusIn(e){e.target===this.host&&!document.activeElement?.closest(t)&&requestAnimationFrame(()=>{this.focus()})}handleFocusOut(t){t.relatedTarget&&!t.relatedTarget.closest(e)&&this.ensureActiveItemVisibility()}ensureActiveItemVisibility(){let e=()=>{var e;let n=(((e=this.host?.querySelector(`slot`))?.assignedNodes)?.call(e))?.filter(s.isTreeItem)??[];for(let e of n){if(e._active)return e;let n=e.querySelector(`${t}[_active="true"]`);if(n&&n._active)return n}},n=e=>{s.isTreeItem(e.parentElement)&&(e.parentElement.expand(),n(e.parentElement))},r=e();r&&n(r)}get host(){return n(this)}static get watchers(){return{_label:[`validateLabel`]}}};export{s as kol_tree_wc};
|
|
2
|
+
//# sourceMappingURL=kol-tree-wc.entry-S2jMB-dn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-tree-wc.entry-S2jMB-dn.js","names":[],"sources":["../../../../../components/dist/esm/kol-tree-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host, g as getElement } from './index-CwtGN7ID.js';\nimport { v as KolTreeItemTag, u as KolTreeTag } from './component-names-Dy77vq43.js';\nimport './common-DyILLof-.js';\nimport { v as validateLabel } from './label-BiOix5de.js';\n\nconst KolTreeWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n this.cacheValid = false;\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n async focus(options) {\n var _a;\n const openItems = await this.getOpenTreeItemElements();\n await ((_a = openItems === null || openItems === void 0 ? void 0 : openItems[0]) === null || _a === void 0 ? void 0 : _a.focus(options));\n }\n async invalidateOpenItemsCache() {\n await Promise.resolve((this.cacheValid = false));\n }\n render() {\n return (h(Host, { key: 'ee07abb3b748443010336d2d6b2cf99e6ad10d64', onSlotchange: this.handleSlotchange.bind(this) }, h(\"nav\", { key: 'aeb88ca3da07336fa1aa164723246bd7b69da7f3', class: \"kol-tree\", \"aria-label\": this.state._label }, h(\"ul\", { key: '108e2ede70e08f5e77ada9961b47e57fcad50a3a', class: \"kol-tree__treeview-navigation\", role: \"tree\", \"aria-label\": this.state._label }, h(\"slot\", { key: '0b67541fbb1e2f5eab04837fe1478296256baed2' })))));\n }\n static isTreeItem(element) {\n return (element === null || element === void 0 ? void 0 : element.tagName) === KolTreeItemTag.toUpperCase();\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.handleTreeChange();\n this.observeChildListMutations();\n }\n disconnectedCallback() {\n var _a;\n (_a = this.observer) === null || _a === void 0 ? void 0 : _a.disconnect();\n if (this.rafHandle !== undefined) {\n cancelAnimationFrame(this.rafHandle);\n this.rafHandle = undefined;\n }\n }\n observeChildListMutations() {\n this.observer = new MutationObserver(() => this.scheduleTreeChange());\n this.observeTopLevelItems();\n }\n handleSlotchange() {\n this.observeTopLevelItems();\n this.scheduleTreeChange();\n }\n observeTopLevelItems() {\n var _a;\n (_a = this.getTopLevelTreeItems()) === null || _a === void 0 ? void 0 : _a.forEach((treeItem) => {\n var _a;\n (_a = this.observer) === null || _a === void 0 ? void 0 : _a.observe(treeItem, { childList: true, subtree: true });\n });\n }\n scheduleTreeChange() {\n if (this.rafHandle)\n cancelAnimationFrame(this.rafHandle);\n this.rafHandle = requestAnimationFrame(() => {\n this.handleTreeChange();\n });\n }\n getTopLevelTreeItems() {\n var _a, _b, _c, _d;\n return (_d = (_c = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelector('slot')) === null || _b === void 0 ? void 0 : _b.assignedNodes) === null || _c === void 0 ? void 0 : _c.call(_b)) === null || _d === void 0 ? void 0 : _d.filter(KolTreeWc.isTreeItem);\n }\n handleTreeChange() {\n this.treeItemElements = this.getTreeItemElements();\n this.cacheValid = false;\n void this.ensureActiveItemVisibility();\n }\n getTreeItemElements() {\n var _a;\n return (_a = this.getTopLevelTreeItems()) === null || _a === void 0 ? void 0 : _a.reduce((accumulator, currentValue) => {\n const children = currentValue.querySelectorAll(KolTreeItemTag);\n return [...accumulator, currentValue, ...children];\n }, []);\n }\n async getOpenTreeItemElements() {\n if (!this.treeItemElements) {\n return;\n }\n if (this.cacheValid && this.cachedOpenItems) {\n return this.cachedOpenItems;\n }\n const areAllParentsOpen = async (element) => {\n let parent = element.parentElement;\n while (parent && KolTreeWc.isTreeItem(parent)) {\n if (!(await parent.isOpen())) {\n return false;\n }\n parent = parent.parentElement;\n }\n return true;\n };\n this.cachedOpenItems = await Promise.all(this.treeItemElements.map(async (item) => ({\n item,\n isOpen: await areAllParentsOpen(item),\n }))).then((results) => results.filter(({ isOpen }) => isOpen).map(({ item }) => item));\n this.cacheValid = true;\n return this.cachedOpenItems;\n }\n async handleKeyDown(event) {\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;\n const openItems = await this.getOpenTreeItemElements();\n const currentTreeItem = (_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag);\n const hasModifierKeyPressed = event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;\n if (!openItems || !currentTreeItem) {\n return;\n }\n const currentIndex = openItems === null || openItems === void 0 ? void 0 : openItems.findIndex((elem) => elem === currentTreeItem);\n switch (event.key) {\n case 'ArrowDown': {\n await ((_b = openItems[currentIndex + 1]) === null || _b === void 0 ? void 0 : _b.focus());\n event.preventDefault();\n break;\n }\n case 'ArrowUp': {\n await ((_c = openItems[currentIndex - 1]) === null || _c === void 0 ? void 0 : _c.focus());\n event.preventDefault();\n break;\n }\n case 'Right':\n case 'ArrowRight': {\n event.preventDefault();\n if (await currentTreeItem.isOpen()) {\n await ((_d = openItems[currentIndex + 1]) === null || _d === void 0 ? void 0 : _d.focus());\n }\n else {\n await currentTreeItem.expand();\n }\n break;\n }\n case 'Left':\n case 'ArrowLeft': {\n event.preventDefault();\n if (await currentTreeItem.isOpen()) {\n await currentTreeItem.collapse();\n }\n else {\n const parentItem = currentTreeItem.parentElement;\n const parentIndex = parentItem ? openItems.indexOf(parentItem) : -1;\n if (parentIndex !== -1) {\n await ((_e = openItems[parentIndex]) === null || _e === void 0 ? void 0 : _e.focus());\n }\n }\n break;\n }\n case 'Home': {\n await ((_f = openItems[0]) === null || _f === void 0 ? void 0 : _f.focus());\n event.preventDefault();\n break;\n }\n case 'End': {\n await ((_g = openItems[openItems.length - 1]) === null || _g === void 0 ? void 0 : _g.focus());\n event.preventDefault();\n break;\n }\n case (_h = event.key.match(/^[a-zA-Z0-9]$/)) === null || _h === void 0 ? void 0 : _h.input: {\n if (!hasModifierKeyPressed) {\n const char = event.key.toLowerCase();\n const startIndex = openItems.indexOf(currentTreeItem) + 1;\n let matchIndex = openItems.slice(startIndex).findIndex((item) => { var _a; return (_a = item.getAttribute('_label')) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase().startsWith(char); });\n if (matchIndex === -1) {\n matchIndex = openItems.slice(0, startIndex).findIndex((item) => { var _a; return (_a = item.getAttribute('_label')) === null || _a === void 0 ? void 0 : _a.trim().toLowerCase().startsWith(char); });\n }\n else {\n matchIndex += startIndex;\n }\n if (matchIndex !== -1) {\n await ((_j = openItems[matchIndex]) === null || _j === void 0 ? void 0 : _j.focus());\n event.preventDefault();\n }\n }\n break;\n }\n case '*': {\n const siblings = (_k = currentTreeItem.parentElement) === null || _k === void 0 ? void 0 : _k.querySelectorAll(KolTreeItemTag);\n siblings === null || siblings === void 0 ? void 0 : siblings.forEach((element) => {\n void element.expand();\n });\n break;\n }\n }\n }\n handleFocusIn(event) {\n var _a;\n if (event.target === this.host && !((_a = document.activeElement) === null || _a === void 0 ? void 0 : _a.closest(KolTreeItemTag))) {\n requestAnimationFrame(() => {\n void this.focus();\n });\n }\n }\n handleFocusOut(event) {\n if (event.relatedTarget && !event.relatedTarget.closest(KolTreeTag)) {\n this.ensureActiveItemVisibility();\n }\n }\n ensureActiveItemVisibility() {\n const findActiveItem = () => {\n var _a, _b, _c, _d, _e;\n const rootNodes = (_e = (_d = (_c = (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.querySelector('slot')) === null || _b === void 0 ? void 0 : _b.assignedNodes) === null || _c === void 0 ? void 0 : _c.call(_b)) === null || _d === void 0 ? void 0 : _d.filter(KolTreeWc.isTreeItem)) !== null && _e !== void 0 ? _e : [];\n for (const rootNode of rootNodes) {\n if (rootNode._active) {\n return rootNode;\n }\n const childMatch = rootNode.querySelector(`${KolTreeItemTag}[_active=\"true\"]`);\n if (childMatch && childMatch._active) {\n return childMatch;\n }\n }\n };\n const expandParentElements = (element) => {\n if (KolTreeWc.isTreeItem(element.parentElement)) {\n void element.parentElement.expand();\n expandParentElements(element.parentElement);\n }\n };\n const target = findActiveItem();\n if (target) {\n expandParentElements(target);\n }\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolTreeWc as kol_tree_wc };\n//# sourceMappingURL=kol-tree-wc.entry.js.map\n"],"mappings":"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"}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import{L as e,a as t,o as n,s as r}from"./index-CLYw1HnO.js";import{t as i}from"./tslib.es6-QNbPBOk5-DpzS01Oy.js";import"./element-focus-BQXzaLL9-oq1SsV6e.js";import{r as a,t as o}from"./element-interaction-C5-6aPzz-CwUv4L8C.js";var s=`@charset "UTF-8";
|
|
2
|
+
/* forward the rem function */
|
|
3
|
+
/*
|
|
4
|
+
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
5
|
+
* The order is important as it determines the cascade priority.
|
|
6
|
+
*
|
|
7
|
+
* Layer order (lowest to highest priority):
|
|
8
|
+
* 1. kol-a11y - Accessibility defaults and requirements
|
|
9
|
+
* 2. kol-global - Global component styles and resets
|
|
10
|
+
* 3. kol-component - Component-specific styles
|
|
11
|
+
* 4. kol-theme-global - Theme-specific global styles
|
|
12
|
+
* 5. kol-theme-component - Theme-specific component styles
|
|
13
|
+
*/
|
|
14
|
+
@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;
|
|
15
|
+
/*
|
|
16
|
+
* This file contains all rules for accessibility.
|
|
17
|
+
*/
|
|
18
|
+
@layer kol-a11y {
|
|
19
|
+
:host {
|
|
20
|
+
/*
|
|
21
|
+
* Minimum size of interactive elements.
|
|
22
|
+
*
|
|
23
|
+
* The \`max(…, 44px)\` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:
|
|
24
|
+
* \`to-rem(44)\` runs the value through a \`calc()\` rem round-trip which can lose
|
|
25
|
+
* sub-pixel precision and resolve to e.g. 43.99px depending on the browser's
|
|
26
|
+
* rounding, dropping just below the required minimum.
|
|
27
|
+
*/
|
|
28
|
+
--a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);
|
|
29
|
+
/*
|
|
30
|
+
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
31
|
+
* By initially setting the background color to white and the font color to black,
|
|
32
|
+
* the contrast ratio is ensured and explicit adjustment is forced.
|
|
33
|
+
*/
|
|
34
|
+
color: black;
|
|
35
|
+
background-color: white;
|
|
36
|
+
/*
|
|
37
|
+
* Verdana is an accessible font that can be used without requiring additional loading time.
|
|
38
|
+
*/
|
|
39
|
+
font-family: Verdana;
|
|
40
|
+
/*
|
|
41
|
+
* Letter spacing is required for all texts.
|
|
42
|
+
*/
|
|
43
|
+
letter-spacing: inherit;
|
|
44
|
+
/*
|
|
45
|
+
* Word spacing is required for all texts.
|
|
46
|
+
*/
|
|
47
|
+
word-spacing: inherit;
|
|
48
|
+
/*
|
|
49
|
+
* Text should be aligned left by default to provide a predictable starting point.
|
|
50
|
+
*/
|
|
51
|
+
text-align: left;
|
|
52
|
+
}
|
|
53
|
+
* {
|
|
54
|
+
/*
|
|
55
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
56
|
+
*/
|
|
57
|
+
hyphens: auto;
|
|
58
|
+
/*
|
|
59
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
60
|
+
*/
|
|
61
|
+
word-break: break-word;
|
|
62
|
+
}
|
|
63
|
+
/*
|
|
64
|
+
* All interactive elements should have a minimum size of to-rem(44).
|
|
65
|
+
*/
|
|
66
|
+
/* input:not([type='checkbox'], [type='radio'], [type='range']), */
|
|
67
|
+
/* option, */
|
|
68
|
+
/* select, */
|
|
69
|
+
/* textarea, */
|
|
70
|
+
button,
|
|
71
|
+
.kol-input .input {
|
|
72
|
+
min-width: var(--a11y-min-size);
|
|
73
|
+
min-height: var(--a11y-min-size);
|
|
74
|
+
}
|
|
75
|
+
/*
|
|
76
|
+
* Some interactive elements should not inherit the font-family and font-size.
|
|
77
|
+
*/
|
|
78
|
+
a,
|
|
79
|
+
button,
|
|
80
|
+
h1,
|
|
81
|
+
h2,
|
|
82
|
+
h3,
|
|
83
|
+
h4,
|
|
84
|
+
h5,
|
|
85
|
+
h6,
|
|
86
|
+
input,
|
|
87
|
+
option,
|
|
88
|
+
select,
|
|
89
|
+
textarea {
|
|
90
|
+
/*
|
|
91
|
+
* All elements should inherit the text color from his parent element.
|
|
92
|
+
*/
|
|
93
|
+
color: inherit;
|
|
94
|
+
/*
|
|
95
|
+
* All elements should inherit the font family from his parent element.
|
|
96
|
+
*/
|
|
97
|
+
font-family: inherit;
|
|
98
|
+
/*
|
|
99
|
+
* All elements should inherit the font size from his parent element.
|
|
100
|
+
*/
|
|
101
|
+
font-size: inherit;
|
|
102
|
+
/*
|
|
103
|
+
* Letter spacing is required for all texts.
|
|
104
|
+
*/
|
|
105
|
+
letter-spacing: inherit;
|
|
106
|
+
/*
|
|
107
|
+
* Word spacing is required for all texts.
|
|
108
|
+
*/
|
|
109
|
+
word-spacing: inherit;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Sometimes we need the semantic element for accessibility reasons,
|
|
113
|
+
* but we don't want to show it.
|
|
114
|
+
*
|
|
115
|
+
* - https://www.a11yproject.com/posts/how-to-hide-content/
|
|
116
|
+
*/
|
|
117
|
+
.visually-hidden {
|
|
118
|
+
position: fixed;
|
|
119
|
+
top: 0;
|
|
120
|
+
left: 0;
|
|
121
|
+
width: 1px;
|
|
122
|
+
height: 1px;
|
|
123
|
+
overflow: hidden;
|
|
124
|
+
white-space: nowrap;
|
|
125
|
+
clip-path: inset(50%);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
@layer kol-global {
|
|
129
|
+
/*
|
|
130
|
+
* Dieses CSS stellt sicher, dass der Standard-Style
|
|
131
|
+
* von A und Button resettet werden.
|
|
132
|
+
*/
|
|
133
|
+
:is(a, button) {
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
width: 100%;
|
|
136
|
+
margin: 0;
|
|
137
|
+
padding: 0;
|
|
138
|
+
border: none;
|
|
139
|
+
/* 100% needed for custom width from outside */
|
|
140
|
+
}
|
|
141
|
+
/*
|
|
142
|
+
* Ensure elements with hidden attribute to be actually not visible
|
|
143
|
+
* @see https://meowni.ca/hidden.is.a.lie.html
|
|
144
|
+
*/
|
|
145
|
+
[hidden] {
|
|
146
|
+
display: none !important;
|
|
147
|
+
}
|
|
148
|
+
.badge-text-hint {
|
|
149
|
+
color: black;
|
|
150
|
+
background-color: white;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
@layer kol-global {
|
|
154
|
+
:host {
|
|
155
|
+
/*
|
|
156
|
+
* The max-width is needed to prevent the table from overflowing the
|
|
157
|
+
* parent node, if the table is wider than the parent node.
|
|
158
|
+
*/
|
|
159
|
+
max-width: 100%;
|
|
160
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
161
|
+
}
|
|
162
|
+
* {
|
|
163
|
+
/*
|
|
164
|
+
* We prefer to box-sizing: border-box for all elements.
|
|
165
|
+
*/
|
|
166
|
+
box-sizing: border-box;
|
|
167
|
+
}
|
|
168
|
+
.kol-span {
|
|
169
|
+
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-flow: column;
|
|
172
|
+
align-items: center;
|
|
173
|
+
justify-content: center;
|
|
174
|
+
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
175
|
+
}
|
|
176
|
+
.kol-span__container {
|
|
177
|
+
display: flex;
|
|
178
|
+
align-items: center;
|
|
179
|
+
}
|
|
180
|
+
a,
|
|
181
|
+
button {
|
|
182
|
+
cursor: pointer;
|
|
183
|
+
}
|
|
184
|
+
.kol-span .kol-span__label--hide-label .kol-span__label {
|
|
185
|
+
display: none;
|
|
186
|
+
}
|
|
187
|
+
/* Reset browser agent style. */
|
|
188
|
+
button:disabled {
|
|
189
|
+
color: unset;
|
|
190
|
+
}
|
|
191
|
+
.disabled label,
|
|
192
|
+
.disabled:focus-within label,
|
|
193
|
+
[aria-disabled=true],
|
|
194
|
+
[aria-disabled=true]:focus,
|
|
195
|
+
[disabled],
|
|
196
|
+
[disabled]:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
cursor: not-allowed;
|
|
199
|
+
}
|
|
200
|
+
[aria-disabled=true]:focus .kol-span,
|
|
201
|
+
[disabled]:focus .kol-span {
|
|
202
|
+
outline: none !important;
|
|
203
|
+
}
|
|
204
|
+
.hastooltip {
|
|
205
|
+
z-index: 900 !important;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@layer kol-component {
|
|
209
|
+
.kol-tree__treeview-navigation {
|
|
210
|
+
margin: 0;
|
|
211
|
+
padding: 0;
|
|
212
|
+
list-style: none;
|
|
213
|
+
}
|
|
214
|
+
.kol-tree:focus-within {
|
|
215
|
+
outline: 1px solid;
|
|
216
|
+
outline-offset: 2px;
|
|
217
|
+
}
|
|
218
|
+
}`,c=class{constructor(e){r(this,e),this.ctaRef=o()}async focus(e){}render(){return n(e,{key:`c3c1ea08961facbed8b660b2b5a9af5dd6662e3a`,_label:this._label,ref:this.ctaRef},n(`slot`,{key:`24592c12e290cbd9be0ea4825dcf651494c0ea1a`}))}get host(){return t(this)}};i([a(`ctaRef`)],c.prototype,`focus`,null),c.style={default:s};export{c as kol_tree};
|
|
219
|
+
//# sourceMappingURL=kol-tree.entry-C7uNfa7s.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-tree.entry-C7uNfa7s.js","names":[],"sources":["../../../../../components/dist/esm/kol-tree.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-CwtGN7ID.js';\nimport { _ as __decorate } from './tslib.es6-QNbPBOk5.js';\nimport { m as KolTreeWcTag } from './component-names-Dy77vq43.js';\nimport { d as delegateFocus, c as createCtaRef } from './element-interaction-C5-6aPzz.js';\nimport './common-DyILLof-.js';\nimport './element-focus-BQXzaLL9.js';\n\nconst defaultStyleCss = \"@charset \\\"UTF-8\\\";\\n/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n *\\n * The `max(…, 44px)` floor guarantees the WCAG 2.5.5 (AAA) target size of 44px:\\n * `to-rem(44)` runs the value through a `calc()` rem round-trip which can lose\\n * sub-pixel precision and resolve to e.g. 43.99px depending on the browser's\\n * rounding, dropping just below the required minimum.\\n */\\n --a11y-min-size: max(calc(44 * 1rem / var(--kolibri-root-font-size, 16)), 44px);\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n /*\\n * Text should be aligned left by default to provide a predictable starting point.\\n */\\n text-align: left;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the text color from his parent element.\\n */\\n color: inherit;\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: white;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: flex;\\n flex-flow: column;\\n align-items: center;\\n justify-content: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n align-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n .hastooltip {\\n z-index: 900 !important;\\n }\\n}\\n@layer kol-component {\\n .kol-tree__treeview-navigation {\\n margin: 0;\\n padding: 0;\\n list-style: none;\\n }\\n .kol-tree:focus-within {\\n outline: 1px solid;\\n outline-offset: 2px;\\n }\\n}\";\n\nconst KolTree = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.ctaRef = createCtaRef();\n }\n async focus(options) { }\n render() {\n return (h(KolTreeWcTag, { key: 'c3c1ea08961facbed8b660b2b5a9af5dd6662e3a', _label: this._label, ref: this.ctaRef }, h(\"slot\", { key: '24592c12e290cbd9be0ea4825dcf651494c0ea1a' })));\n }\n get host() { return getElement(this); }\n};\n__decorate([\n delegateFocus('ctaRef')\n], KolTree.prototype, \"focus\", null);\nKolTree.style = {\n default: defaultStyleCss\n};\n\nexport { KolTree as kol_tree };\n//# sourceMappingURL=kol-tree.entry.js.map\n"],"mappings":"qOAUA,IAAM,EAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAElB,EAAU,KAAM,CAClB,YAAY,EAAS,CACjB,EAAiB,KAAM,CAAO,EAC9B,KAAK,OAAS,EAAa,CAC/B,CACA,MAAM,MAAM,EAAS,CAAE,CACvB,QAAS,CACL,OAAQ,EAAE,EAAc,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,IAAK,KAAK,MAAO,EAAG,EAAE,OAAQ,CAAE,IAAK,0CAA2C,CAAC,CAAC,CACtL,CACA,IAAI,MAAO,CAAE,OAAO,EAAW,IAAI,CAAG,CAC1C,EACA,EAAW,CACP,EAAc,QAAQ,CAC1B,EAAG,EAAQ,UAAW,QAAS,IAAI,EACnC,EAAQ,MAAQ,CACZ,QAAS,CACb"}
|