@public-ui/sample-react 2.2.12 → 2.2.13-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.
- package/dist/assets/Alert-a6848745-ChrZEM69.js +4 -0
- package/dist/assets/Alert-a6848745-ChrZEM69.js.map +1 -0
- package/dist/assets/Collapsible-54678189-CzJpWLMJ.js +4 -0
- package/dist/assets/Collapsible-54678189-CzJpWLMJ.js.map +1 -0
- package/dist/assets/FormFieldMsg-40c5fb14-D4xK3XLd.js +4 -0
- package/dist/assets/FormFieldMsg-40c5fb14-D4xK3XLd.js.map +1 -0
- package/dist/assets/InternalUnderlinedBadgeText-5c3ce08a-B2s62pih.js +4 -0
- package/dist/assets/InternalUnderlinedBadgeText-5c3ce08a-B2s62pih.js.map +1 -0
- package/dist/assets/access-and-short-key-25e651f4-CO7t6jfN.js +4 -0
- package/dist/assets/access-and-short-key-25e651f4-CO7t6jfN.js.map +1 -0
- package/dist/assets/align-d80dfc19-BPR7NM6-.js +4 -0
- package/dist/assets/align-d80dfc19-BPR7NM6-.js.map +1 -0
- package/dist/assets/align-floating-elements-f5502865-CAr9dRJh.js +4 -0
- package/dist/assets/align-floating-elements-f5502865-CAr9dRJh.js.map +1 -0
- package/dist/assets/associated.controller-2ad4f930-YNkB_bYO.js +4 -0
- package/dist/assets/associated.controller-2ad4f930-YNkB_bYO.js.map +1 -0
- package/dist/assets/badge-text-4cf87dc1-BGgGcN_M.js +4 -0
- package/dist/assets/badge-text-4cf87dc1-BGgGcN_M.js.map +1 -0
- package/dist/assets/button-variant-fa29de43-C1Fh6dCG.js +4 -0
- package/dist/assets/button-variant-fa29de43-C1Fh6dCG.js.map +1 -0
- package/dist/assets/clsx-09a06a12-BT_IL7Fz.js +4 -0
- package/dist/assets/clsx-09a06a12-BT_IL7Fz.js.map +1 -0
- package/dist/assets/color-9352cce1-BKBlEBTi.js +4 -0
- package/dist/assets/color-9352cce1-BKBlEBTi.js.map +1 -0
- package/dist/assets/controller-5c44e017-BBGztty6.js +4 -0
- package/dist/assets/controller-5c44e017-BBGztty6.js.map +1 -0
- package/dist/assets/controller-cbb66178-BPEJVmqC.js +4 -0
- package/dist/assets/controller-cbb66178-BPEJVmqC.js.map +1 -0
- package/dist/assets/controller-d5636bab-BywBs6DK.js +4 -0
- package/dist/assets/controller-d5636bab-BywBs6DK.js.map +1 -0
- package/dist/assets/controller-d9005336-AEpbs-Uq.js +4 -0
- package/dist/assets/controller-d9005336-AEpbs-Uq.js.map +1 -0
- package/dist/assets/controller-e284d179-FPEkGcg2.js +4 -0
- package/dist/assets/controller-e284d179-FPEkGcg2.js.map +1 -0
- package/dist/assets/controller-icon-22e2a4c6-DOqkvSAP.js +4 -0
- package/dist/assets/controller-icon-22e2a4c6-DOqkvSAP.js.map +1 -0
- package/dist/assets/custom-class-349f0572-DUzXd_yW.js +4 -0
- package/dist/assets/custom-class-349f0572-DUzXd_yW.js.map +1 -0
- package/dist/assets/dev.utils-ca6328e7-CHU4njpz.js +16 -0
- package/dist/assets/dev.utils-ca6328e7-CHU4njpz.js.map +1 -0
- package/dist/assets/devtools-3033ee89-BcggoE27.js +16 -0
- package/dist/assets/devtools-3033ee89-BcggoE27.js.map +1 -0
- package/dist/assets/disabled-ad5b6199-C_wEAx8e.js +4 -0
- package/dist/assets/disabled-ad5b6199-C_wEAx8e.js.map +1 -0
- package/dist/assets/events-29e84d75-BhxFwhXP.js +4 -0
- package/dist/assets/events-29e84d75-BhxFwhXP.js.map +1 -0
- package/dist/assets/has-closer-229bd67f-D0hZ2C6q.js +4 -0
- package/dist/assets/has-closer-229bd67f-D0hZ2C6q.js.map +1 -0
- package/dist/assets/has-counter-451a5ec0-D32j5JiB.js +4 -0
- package/dist/assets/has-counter-451a5ec0-D32j5JiB.js.map +1 -0
- package/dist/assets/hide-label-e3ae2cf6-Cn_YU1L2.js +4 -0
- package/dist/assets/hide-label-e3ae2cf6-Cn_YU1L2.js.map +1 -0
- package/dist/assets/href-1819d882-_e2v8LSF.js +4 -0
- package/dist/assets/href-1819d882-_e2v8LSF.js.map +1 -0
- package/dist/assets/i18n-0835cc3b-DKpqqbhz.js +4 -0
- package/dist/assets/i18n-0835cc3b-DKpqqbhz.js.map +1 -0
- package/dist/assets/icons-e36b4959-D4AYWGyH.js +4 -0
- package/dist/assets/icons-e36b4959-D4AYWGyH.js.map +1 -0
- package/dist/assets/image-source-aecd6893-tw-_yN4H.js +4 -0
- package/dist/assets/image-source-aecd6893-tw-_yN4H.js.map +1 -0
- package/dist/assets/index-Bvb9XsoR.js +23020 -0
- package/dist/assets/index-Bvb9XsoR.js.map +1 -0
- package/dist/assets/index-D6lIshvf.css +1 -0
- package/dist/assets/keyboard-77e19a81-D1ah5412.js +4 -0
- package/dist/assets/keyboard-77e19a81-D1ah5412.js.map +1 -0
- package/dist/assets/kol-abbr.entry-BiD-Ff_2.js +222 -0
- package/dist/assets/kol-abbr.entry-BiD-Ff_2.js.map +1 -0
- package/dist/assets/kol-accordion.entry-BF_QPz0A.js +224 -0
- package/dist/assets/kol-accordion.entry-BF_QPz0A.js.map +1 -0
- package/dist/assets/kol-alert-wc.entry-BKjsKtET.js +4 -0
- package/dist/assets/kol-alert-wc.entry-BKjsKtET.js.map +1 -0
- package/dist/assets/kol-alert.entry-Cxqq2tPd.js +239 -0
- package/dist/assets/kol-alert.entry-Cxqq2tPd.js.map +1 -0
- package/dist/assets/kol-avatar-wc.entry-DjoY6k29.js +4 -0
- package/dist/assets/kol-avatar-wc.entry-DjoY6k29.js.map +1 -0
- package/dist/assets/kol-avatar.entry-BHdq15KU.js +202 -0
- package/dist/assets/kol-avatar.entry-BHdq15KU.js.map +1 -0
- package/dist/assets/kol-badge.entry-DzxCHfk-.js +228 -0
- package/dist/assets/kol-badge.entry-DzxCHfk-.js.map +1 -0
- package/dist/assets/kol-breadcrumb.entry-DtsRJdV3.js +192 -0
- package/dist/assets/kol-breadcrumb.entry-DtsRJdV3.js.map +1 -0
- package/dist/assets/kol-button-group-wc.entry-CnRjB19C.js +4 -0
- package/dist/assets/kol-button-group-wc.entry-CnRjB19C.js.map +1 -0
- package/dist/assets/kol-button-group.entry-BLdpOeGO.js +178 -0
- package/dist/assets/kol-button-group.entry-BLdpOeGO.js.map +1 -0
- package/dist/assets/kol-button-link.entry-rI4OhCUY.js +253 -0
- package/dist/assets/kol-button-link.entry-rI4OhCUY.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-Biu9C5nD.js +4 -0
- package/dist/assets/kol-button-wc.entry-Biu9C5nD.js.map +1 -0
- package/dist/assets/kol-button.entry-ghJbzwzP.js +238 -0
- package/dist/assets/kol-button.entry-ghJbzwzP.js.map +1 -0
- package/dist/assets/kol-card.entry-D6cnBsM8.js +230 -0
- package/dist/assets/kol-card.entry-D6cnBsM8.js.map +1 -0
- package/dist/assets/kol-combobox.entry-BGdi1kH3.js +367 -0
- package/dist/assets/kol-combobox.entry-BGdi1kH3.js.map +1 -0
- package/dist/assets/kol-details.entry-HUPcrjHG.js +235 -0
- package/dist/assets/kol-details.entry-HUPcrjHG.js.map +1 -0
- package/dist/assets/kol-drawer.entry-BcBVb1JS.js +224 -0
- package/dist/assets/kol-drawer.entry-BcBVb1JS.js.map +1 -0
- package/dist/assets/kol-form.entry-jYCokTEH.js +275 -0
- package/dist/assets/kol-form.entry-jYCokTEH.js.map +1 -0
- package/dist/assets/kol-heading-wc.entry-CZdQoW0t.js +4 -0
- package/dist/assets/kol-heading-wc.entry-CZdQoW0t.js.map +1 -0
- package/dist/assets/kol-heading.entry-CLsOfD4P.js +172 -0
- package/dist/assets/kol-heading.entry-CLsOfD4P.js.map +1 -0
- package/dist/assets/kol-icon.entry-DFoRHTFZ.js +2375 -0
- package/dist/assets/kol-icon.entry-DFoRHTFZ.js.map +1 -0
- package/dist/assets/kol-image.entry--Wa32B2T.js +181 -0
- package/dist/assets/kol-image.entry--Wa32B2T.js.map +1 -0
- package/dist/assets/kol-indented-text-wc.entry-DDduTSf5.js +4 -0
- package/dist/assets/kol-indented-text-wc.entry-DDduTSf5.js.map +1 -0
- package/dist/assets/kol-indented-text.entry-CjUyjY4u.js +183 -0
- package/dist/assets/kol-indented-text.entry-CjUyjY4u.js.map +1 -0
- package/dist/assets/kol-input-checkbox.entry-QPntqK2d.js +464 -0
- package/dist/assets/kol-input-checkbox.entry-QPntqK2d.js.map +1 -0
- package/dist/assets/kol-input-color.entry-TmqeWBNf.js +323 -0
- package/dist/assets/kol-input-color.entry-TmqeWBNf.js.map +1 -0
- package/dist/assets/kol-input-date.entry-C87d8ETg.js +323 -0
- package/dist/assets/kol-input-date.entry-C87d8ETg.js.map +1 -0
- package/dist/assets/kol-input-email.entry-GfvOL0-Y.js +323 -0
- package/dist/assets/kol-input-email.entry-GfvOL0-Y.js.map +1 -0
- package/dist/assets/kol-input-file.entry-CsZGFEEt.js +336 -0
- package/dist/assets/kol-input-file.entry-CsZGFEEt.js.map +1 -0
- package/dist/assets/kol-input-number.entry-DF-vpiqS.js +323 -0
- package/dist/assets/kol-input-number.entry-DF-vpiqS.js.map +1 -0
- package/dist/assets/kol-input-password.entry-D4J-V8C_.js +333 -0
- package/dist/assets/kol-input-password.entry-D4J-V8C_.js.map +1 -0
- package/dist/assets/kol-input-radio.entry-B_8nJ0WP.js +348 -0
- package/dist/assets/kol-input-radio.entry-B_8nJ0WP.js.map +1 -0
- package/dist/assets/kol-input-range.entry-D6QCZ77w.js +374 -0
- package/dist/assets/kol-input-range.entry-D6QCZ77w.js.map +1 -0
- package/dist/assets/kol-input-text.entry-C44Qfapr.js +323 -0
- package/dist/assets/kol-input-text.entry-C44Qfapr.js.map +1 -0
- package/dist/assets/kol-input.entry-utrZPG-l.js +4 -0
- package/dist/assets/kol-input.entry-utrZPG-l.js.map +1 -0
- package/dist/assets/kol-kolibri.entry-Vk3aSeuU.js +185 -0
- package/dist/assets/kol-kolibri.entry-Vk3aSeuU.js.map +1 -0
- package/dist/assets/kol-link-button.entry-CO7ivunM.js +238 -0
- package/dist/assets/kol-link-button.entry-CO7ivunM.js.map +1 -0
- package/dist/assets/kol-link-group.entry-ChHsWaBe.js +201 -0
- package/dist/assets/kol-link-group.entry-ChHsWaBe.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-Dl_nyQRQ.js +4 -0
- package/dist/assets/kol-link-wc.entry-Dl_nyQRQ.js.map +1 -0
- package/dist/assets/kol-link.entry-CWXXA2Ud.js +253 -0
- package/dist/assets/kol-link.entry-CWXXA2Ud.js.map +1 -0
- package/dist/assets/kol-logo.entry-GjW6ZD77.js +238 -0
- package/dist/assets/kol-logo.entry-GjW6ZD77.js.map +1 -0
- package/dist/assets/kol-modal.entry-Ct_22Dlt.js +181 -0
- package/dist/assets/kol-modal.entry-Ct_22Dlt.js.map +1 -0
- package/dist/assets/kol-nav.entry-IcpibHev.js +249 -0
- package/dist/assets/kol-nav.entry-IcpibHev.js.map +1 -0
- package/dist/assets/kol-pagination.entry-7_5B3Gvs.js +238 -0
- package/dist/assets/kol-pagination.entry-7_5B3Gvs.js.map +1 -0
- package/dist/assets/kol-popover-button.entry-BakTw53k.js +248 -0
- package/dist/assets/kol-popover-button.entry-BakTw53k.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-Cfu3e-qY.js +4 -0
- package/dist/assets/kol-popover-wc.entry-Cfu3e-qY.js.map +1 -0
- package/dist/assets/kol-progress.entry-BbS5ru0f.js +254 -0
- package/dist/assets/kol-progress.entry-BbS5ru0f.js.map +1 -0
- package/dist/assets/kol-quote.entry-DoPY1sLr.js +197 -0
- package/dist/assets/kol-quote.entry-DoPY1sLr.js.map +1 -0
- package/dist/assets/kol-select.entry-CGMtM5T2.js +329 -0
- package/dist/assets/kol-select.entry-CGMtM5T2.js.map +1 -0
- package/dist/assets/kol-single-select.entry-CMTD4-Jq.js +367 -0
- package/dist/assets/kol-single-select.entry-CMTD4-Jq.js.map +1 -0
- package/dist/assets/kol-skip-nav.entry-B6v4FgCO.js +194 -0
- package/dist/assets/kol-skip-nav.entry-B6v4FgCO.js.map +1 -0
- package/dist/assets/kol-span-wc.entry-BPNTeypv.js +19 -0
- package/dist/assets/kol-span-wc.entry-BPNTeypv.js.map +1 -0
- package/dist/assets/kol-spin.entry-CieKcpIC.js +309 -0
- package/dist/assets/kol-spin.entry-CieKcpIC.js.map +1 -0
- package/dist/assets/kol-split-button.entry-DB3LbyAP.js +272 -0
- package/dist/assets/kol-split-button.entry-DB3LbyAP.js.map +1 -0
- package/dist/assets/kol-symbol.entry-mZCPt9H8.js +4 -0
- package/dist/assets/kol-symbol.entry-mZCPt9H8.js.map +1 -0
- package/dist/assets/kol-table-stateful.entry-9AmDqsJO.js +372 -0
- package/dist/assets/kol-table-stateful.entry-9AmDqsJO.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-BeCReDi3.js +4 -0
- package/dist/assets/kol-table-stateless-wc.entry-BeCReDi3.js.map +1 -0
- package/dist/assets/kol-table-stateless.entry-DLoiCcKo.js +347 -0
- package/dist/assets/kol-table-stateless.entry-DLoiCcKo.js.map +1 -0
- package/dist/assets/kol-table.entry-DVVBQ-gH.js +4 -0
- package/dist/assets/kol-table.entry-DVVBQ-gH.js.map +1 -0
- package/dist/assets/kol-tabs.entry-BOEtl29T.js +305 -0
- package/dist/assets/kol-tabs.entry-BOEtl29T.js.map +1 -0
- package/dist/assets/kol-textarea.entry-D_yWg_HA.js +323 -0
- package/dist/assets/kol-textarea.entry-D_yWg_HA.js.map +1 -0
- package/dist/assets/kol-toast-container.entry-O7QO9qvL.js +250 -0
- package/dist/assets/kol-toast-container.entry-O7QO9qvL.js.map +1 -0
- package/dist/assets/kol-toolbar.entry-fwGjXOXX.js +250 -0
- package/dist/assets/kol-toolbar.entry-fwGjXOXX.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-BQ0yZemT.js +4 -0
- package/dist/assets/kol-tooltip-wc.entry-BQ0yZemT.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-Dw_LImrP.js +4 -0
- package/dist/assets/kol-tree-item-wc.entry-Dw_LImrP.js.map +1 -0
- package/dist/assets/kol-tree-item.entry-ZamQ-ZND.js +213 -0
- package/dist/assets/kol-tree-item.entry-ZamQ-ZND.js.map +1 -0
- package/dist/assets/kol-tree-wc.entry-BFFzGCTE.js +4 -0
- package/dist/assets/kol-tree-wc.entry-BFFzGCTE.js.map +1 -0
- package/dist/assets/kol-tree.entry-CvfY8ec_.js +183 -0
- package/dist/assets/kol-tree.entry-CvfY8ec_.js.map +1 -0
- package/dist/assets/kol-version.entry-LHG3URfj.js +172 -0
- package/dist/assets/kol-version.entry-LHG3URfj.js.map +1 -0
- package/dist/assets/label-c2f427ab-CqjOOKaa.js +4 -0
- package/dist/assets/label-c2f427ab-CqjOOKaa.js.map +1 -0
- package/dist/assets/open-8d886d18-g3t9NCQh.js +4 -0
- package/dist/assets/open-8d886d18-g3t9NCQh.js.map +1 -0
- package/dist/assets/rows-11065067-EwHVZIWc.js +4 -0
- package/dist/assets/rows-11065067-EwHVZIWc.js.map +1 -0
- package/dist/assets/show-37e6b447-BMdbDuN6.js +4 -0
- package/dist/assets/show-37e6b447-BMdbDuN6.js.map +1 -0
- package/dist/assets/spell-check-99498ed1-BgRiBK3B.js +4 -0
- package/dist/assets/spell-check-99498ed1-BgRiBK3B.js.map +1 -0
- package/dist/assets/suggestions-3d93a5ce-sG8bkPPU.js +4 -0
- package/dist/assets/suggestions-3d93a5ce-sG8bkPPU.js.map +1 -0
- package/dist/assets/table-selection-94fe9747-CuuwK6yB.js +4 -0
- package/dist/assets/table-selection-94fe9747-CuuwK6yB.js.map +1 -0
- package/dist/assets/test-component.entry-DGt78rvu.js +4 -0
- package/dist/assets/test-component.entry-DGt78rvu.js.map +1 -0
- package/dist/assets/tooltip-align-86e888fb-CTMgUNsU.js +4 -0
- package/dist/assets/tooltip-align-86e888fb-CTMgUNsU.js.map +1 -0
- package/dist/assets/tslib.es6-1173d062-BAJoBDh7.js +4 -0
- package/dist/assets/tslib.es6-1173d062-BAJoBDh7.js.map +1 -0
- package/dist/assets/unique-nav-labels-2ea6b853-C67PyND8.js +4 -0
- package/dist/assets/unique-nav-labels-2ea6b853-C67PyND8.js.map +1 -0
- package/dist/assets/validation-8a691044-DlsyEjHH.js +4 -0
- package/dist/assets/validation-8a691044-DlsyEjHH.js.map +1 -0
- package/dist/assets/validation-c5900dbf-DVj847E9.js +4 -0
- package/dist/assets/validation-c5900dbf-DVj847E9.js.map +1 -0
- package/dist/index.html +15 -13
- package/package.json +15 -24
- package/src/components/abbr/basic.tsx +12 -12
- package/src/react.main.tsx +1 -1
- package/src/shares/routes.ts +1 -1
- package/tsconfig.json +1 -1
- package/unocss.config.ts +248 -149
- package/vite.config.ts +32 -0
- package/.eslintignore +0 -2
- package/.eslintrc.js +0 -36
- package/.gitignore +0 -41
- package/.prettierignore +0 -4
- package/dist/1266.js +0 -2
- package/dist/1266.js.LICENSE.txt +0 -3
- package/dist/1601.js +0 -2
- package/dist/1601.js.LICENSE.txt +0 -3
- package/dist/1786.js +0 -2
- package/dist/1786.js.LICENSE.txt +0 -3
- package/dist/1797.js +0 -2
- package/dist/1797.js.LICENSE.txt +0 -3
- package/dist/1832.js +0 -2
- package/dist/1832.js.LICENSE.txt +0 -3
- package/dist/2441.js +0 -2
- package/dist/2441.js.LICENSE.txt +0 -3
- package/dist/2462.js +0 -2
- package/dist/2462.js.LICENSE.txt +0 -3
- package/dist/2605.js +0 -2
- package/dist/2605.js.LICENSE.txt +0 -3
- package/dist/2728.js +0 -2
- package/dist/2728.js.LICENSE.txt +0 -3
- package/dist/2960.js +0 -2
- package/dist/2960.js.LICENSE.txt +0 -3
- package/dist/343.js +0 -2
- package/dist/343.js.LICENSE.txt +0 -3
- package/dist/3440.js +0 -2
- package/dist/3440.js.LICENSE.txt +0 -3
- package/dist/3460.js +0 -2
- package/dist/3460.js.LICENSE.txt +0 -3
- package/dist/3492.js +0 -2
- package/dist/3492.js.LICENSE.txt +0 -3
- package/dist/3503.js +0 -2
- package/dist/3503.js.LICENSE.txt +0 -3
- package/dist/3845.js +0 -2
- package/dist/3845.js.LICENSE.txt +0 -3
- package/dist/3882.js +0 -2
- package/dist/3882.js.LICENSE.txt +0 -3
- package/dist/3965.js +0 -2
- package/dist/3965.js.LICENSE.txt +0 -3
- package/dist/4181.js +0 -2
- package/dist/4181.js.LICENSE.txt +0 -3
- package/dist/4294.js +0 -2
- package/dist/4294.js.LICENSE.txt +0 -3
- package/dist/4604.js +0 -2
- package/dist/4604.js.LICENSE.txt +0 -3
- package/dist/4714.js +0 -2
- package/dist/4714.js.LICENSE.txt +0 -3
- package/dist/4737.js +0 -2
- package/dist/4737.js.LICENSE.txt +0 -3
- package/dist/4972.js +0 -2
- package/dist/4972.js.LICENSE.txt +0 -3
- package/dist/5076.js +0 -2
- package/dist/5076.js.LICENSE.txt +0 -3
- package/dist/5204.js +0 -2
- package/dist/5204.js.LICENSE.txt +0 -3
- package/dist/5399.js +0 -2
- package/dist/5399.js.LICENSE.txt +0 -3
- package/dist/5431.js +0 -2
- package/dist/5431.js.LICENSE.txt +0 -3
- package/dist/5514.js +0 -2
- package/dist/5514.js.LICENSE.txt +0 -3
- package/dist/5522.js +0 -2
- package/dist/5522.js.LICENSE.txt +0 -3
- package/dist/5677.js +0 -2
- package/dist/5677.js.LICENSE.txt +0 -3
- package/dist/5781.js +0 -2
- package/dist/5781.js.LICENSE.txt +0 -3
- package/dist/5813.js +0 -2
- package/dist/5813.js.LICENSE.txt +0 -3
- package/dist/5829.js +0 -2
- package/dist/5829.js.LICENSE.txt +0 -3
- package/dist/6199.js +0 -2
- package/dist/6199.js.LICENSE.txt +0 -3
- package/dist/6320.js +0 -2
- package/dist/6320.js.LICENSE.txt +0 -3
- package/dist/6473.js +0 -2
- package/dist/6473.js.LICENSE.txt +0 -3
- package/dist/6567.js +0 -2
- package/dist/6567.js.LICENSE.txt +0 -3
- package/dist/6649.js +0 -2
- package/dist/6649.js.LICENSE.txt +0 -3
- package/dist/6705.js +0 -2
- package/dist/6705.js.LICENSE.txt +0 -3
- package/dist/6717.js +0 -2
- package/dist/6717.js.LICENSE.txt +0 -3
- package/dist/6731.js +0 -2
- package/dist/6731.js.LICENSE.txt +0 -3
- package/dist/6974.js +0 -2
- package/dist/6974.js.LICENSE.txt +0 -3
- package/dist/7157.js +0 -2
- package/dist/7157.js.LICENSE.txt +0 -3
- package/dist/7162.js +0 -2
- package/dist/7162.js.LICENSE.txt +0 -3
- package/dist/7163.js +0 -2
- package/dist/7163.js.LICENSE.txt +0 -3
- package/dist/7183.js +0 -2
- package/dist/7183.js.LICENSE.txt +0 -3
- package/dist/7192.js +0 -2
- package/dist/7192.js.LICENSE.txt +0 -3
- package/dist/7310.js +0 -2
- package/dist/7310.js.LICENSE.txt +0 -3
- package/dist/7391.js +0 -2
- package/dist/7391.js.LICENSE.txt +0 -3
- package/dist/7461.js +0 -2
- package/dist/7461.js.LICENSE.txt +0 -3
- package/dist/7560.js +0 -2
- package/dist/7560.js.LICENSE.txt +0 -3
- package/dist/7582.js +0 -2
- package/dist/7582.js.LICENSE.txt +0 -3
- package/dist/7609.js +0 -2
- package/dist/7609.js.LICENSE.txt +0 -3
- package/dist/8100.js +0 -2
- package/dist/8100.js.LICENSE.txt +0 -3
- package/dist/8116.js +0 -2
- package/dist/8116.js.LICENSE.txt +0 -3
- package/dist/8126.js +0 -2
- package/dist/8126.js.LICENSE.txt +0 -3
- package/dist/8191.js +0 -2
- package/dist/8191.js.LICENSE.txt +0 -3
- package/dist/8210.js +0 -2
- package/dist/8210.js.LICENSE.txt +0 -3
- package/dist/8286.js +0 -2
- package/dist/8286.js.LICENSE.txt +0 -3
- package/dist/8471.js +0 -2
- package/dist/8471.js.LICENSE.txt +0 -3
- package/dist/85.js +0 -2
- package/dist/85.js.LICENSE.txt +0 -3
- package/dist/8799.js +0 -2
- package/dist/8799.js.LICENSE.txt +0 -3
- package/dist/8902.js +0 -2
- package/dist/8902.js.LICENSE.txt +0 -3
- package/dist/8956.js +0 -2
- package/dist/8956.js.LICENSE.txt +0 -3
- package/dist/92.js +0 -2
- package/dist/92.js.LICENSE.txt +0 -3
- package/dist/9558.js +0 -2
- package/dist/9558.js.LICENSE.txt +0 -3
- package/dist/9768.js +0 -2
- package/dist/9768.js.LICENSE.txt +0 -3
- package/dist/9818.js +0 -2
- package/dist/9818.js.LICENSE.txt +0 -3
- package/dist/9849.js +0 -2
- package/dist/9849.js.LICENSE.txt +0 -3
- package/dist/9857.js +0 -2
- package/dist/9857.js.LICENSE.txt +0 -3
- package/dist/989.js +0 -2
- package/dist/989.js.LICENSE.txt +0 -3
- package/dist/9980.js +0 -2
- package/dist/9980.js.LICENSE.txt +0 -3
- package/dist/main.css +0 -4
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -42
- package/prettier.config.js +0 -5
- package/public/index.html +0 -28
- package/webpack.config.js +0 -32
|
@@ -0,0 +1,347 @@
|
|
|
1
|
+
import{r as e,h as n,ac as i,H as o}from"./index-Bvb9XsoR.js";/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/const a=`/*
|
|
4
|
+
* This file contains all rules for accessibility.
|
|
5
|
+
*/
|
|
6
|
+
@layer kol-global {
|
|
7
|
+
:host {
|
|
8
|
+
/*
|
|
9
|
+
* Minimum size of interactive elements.
|
|
10
|
+
*/
|
|
11
|
+
--a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));
|
|
12
|
+
/*
|
|
13
|
+
* No element should be used without a background and font color whose contrast ratio has
|
|
14
|
+
* not been checked. By initially setting the background color to white and the font color
|
|
15
|
+
* to black, the contrast ratio is ensured and explicit adjustment is forced.
|
|
16
|
+
*/
|
|
17
|
+
background-color: white;
|
|
18
|
+
color: black;
|
|
19
|
+
}
|
|
20
|
+
* {
|
|
21
|
+
/*
|
|
22
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
23
|
+
*/
|
|
24
|
+
hyphens: auto;
|
|
25
|
+
/*
|
|
26
|
+
* Verdana is an accessible font that can be used without requiring additional loading time.
|
|
27
|
+
*/
|
|
28
|
+
font-family: Verdana;
|
|
29
|
+
/*
|
|
30
|
+
* Letter spacing is required for all texts.
|
|
31
|
+
*/
|
|
32
|
+
letter-spacing: inherit;
|
|
33
|
+
/*
|
|
34
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
35
|
+
*/
|
|
36
|
+
word-break: break-word;
|
|
37
|
+
/*
|
|
38
|
+
* Word spacing is required for all texts.
|
|
39
|
+
*/
|
|
40
|
+
word-spacing: inherit;
|
|
41
|
+
}
|
|
42
|
+
/*
|
|
43
|
+
* All interactive elements should have a minimum size of rem(44).
|
|
44
|
+
*/
|
|
45
|
+
/* input:not([type='checkbox'], [type='radio'], [type='range']), */
|
|
46
|
+
/* option, */
|
|
47
|
+
/* select, */
|
|
48
|
+
/* textarea, */
|
|
49
|
+
[role=button],
|
|
50
|
+
button:not([role=link]),
|
|
51
|
+
.kol-input .input {
|
|
52
|
+
min-height: var(--a11y-min-size);
|
|
53
|
+
min-width: var(--a11y-min-size);
|
|
54
|
+
}
|
|
55
|
+
/*
|
|
56
|
+
* Some interactive elements should not inherit the font-family and font-size.
|
|
57
|
+
*/
|
|
58
|
+
a,
|
|
59
|
+
button,
|
|
60
|
+
h1,
|
|
61
|
+
h2,
|
|
62
|
+
h3,
|
|
63
|
+
h4,
|
|
64
|
+
h5,
|
|
65
|
+
h6,
|
|
66
|
+
input,
|
|
67
|
+
option,
|
|
68
|
+
select,
|
|
69
|
+
textarea {
|
|
70
|
+
/*
|
|
71
|
+
* All elements should inherit the font family from his parent element.
|
|
72
|
+
*/
|
|
73
|
+
font-family: inherit;
|
|
74
|
+
/*
|
|
75
|
+
* All elements should inherit the font size from his parent element.
|
|
76
|
+
*/
|
|
77
|
+
font-size: inherit;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Sometimes we need the semantic element for accessibility reasons,
|
|
82
|
+
* but we don't want to show it.
|
|
83
|
+
*
|
|
84
|
+
* - https://www.a11yproject.com/posts/how-to-hide-content/
|
|
85
|
+
*/
|
|
86
|
+
.visually-hidden {
|
|
87
|
+
clip: rect(0 0 0 0);
|
|
88
|
+
clip-path: inset(50%);
|
|
89
|
+
height: 1px;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
position: absolute;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
width: 1px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@layer kol-global {
|
|
97
|
+
/*
|
|
98
|
+
* Dieses CSS stellt sicher, dass der Standard-Style
|
|
99
|
+
* von A und Button resettet werden.
|
|
100
|
+
*/
|
|
101
|
+
:is(a, button) {
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
border: none;
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0;
|
|
106
|
+
width: 100%; /* 100% needed for custom width from outside */
|
|
107
|
+
}
|
|
108
|
+
/*
|
|
109
|
+
* Ensure elements with hidden attribute to be actually not visible
|
|
110
|
+
* @see https://meowni.ca/hidden.is.a.lie.html
|
|
111
|
+
*/
|
|
112
|
+
[hidden] {
|
|
113
|
+
display: none !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@layer kol-global {
|
|
117
|
+
:host {
|
|
118
|
+
font-size: calc(16rem / var(--kolibri-root-font-size, 16));
|
|
119
|
+
/*
|
|
120
|
+
* The max-width is needed to prevent the table from overflowing the
|
|
121
|
+
* parent node, if the table is wider than the parent node.
|
|
122
|
+
*/
|
|
123
|
+
max-width: 100%;
|
|
124
|
+
}
|
|
125
|
+
* {
|
|
126
|
+
/*
|
|
127
|
+
* We prefer to box-sizing: border-box for all elements.
|
|
128
|
+
*/
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
}
|
|
131
|
+
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
132
|
+
.kol-span-wc {
|
|
133
|
+
display: grid;
|
|
134
|
+
place-items: center;
|
|
135
|
+
}
|
|
136
|
+
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
137
|
+
.kol-span-wc > span {
|
|
138
|
+
display: flex;
|
|
139
|
+
place-items: center;
|
|
140
|
+
}
|
|
141
|
+
a,
|
|
142
|
+
button {
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
145
|
+
/* This is the text label. */
|
|
146
|
+
.hide-label > .kol-span-wc > span > span {
|
|
147
|
+
display: none;
|
|
148
|
+
}
|
|
149
|
+
/* Reset browser agent style. */
|
|
150
|
+
button:disabled {
|
|
151
|
+
color: unset;
|
|
152
|
+
}
|
|
153
|
+
.disabled label,
|
|
154
|
+
.disabled:focus-within label,
|
|
155
|
+
[aria-disabled=true],
|
|
156
|
+
[aria-disabled=true]:focus,
|
|
157
|
+
[disabled],
|
|
158
|
+
[disabled]:focus {
|
|
159
|
+
cursor: not-allowed;
|
|
160
|
+
opacity: 0.5;
|
|
161
|
+
outline: none;
|
|
162
|
+
}
|
|
163
|
+
[aria-disabled=true]:focus .kol-span-wc,
|
|
164
|
+
[disabled]:focus .kol-span-wc {
|
|
165
|
+
outline: none !important;
|
|
166
|
+
}
|
|
167
|
+
.badge-text-hint {
|
|
168
|
+
background-color: lightgray;
|
|
169
|
+
color: black;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
@layer kol-component {
|
|
173
|
+
:host {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@layer kol-component {
|
|
178
|
+
.kol-tooltip-wc {
|
|
179
|
+
display: contents;
|
|
180
|
+
}
|
|
181
|
+
.kol-tooltip-wc .tooltip-floating {
|
|
182
|
+
animation-duration: 0.25s;
|
|
183
|
+
animation-iteration-count: 1;
|
|
184
|
+
animation-name: fadeInOpacity;
|
|
185
|
+
animation-timing-function: ease-in;
|
|
186
|
+
display: none;
|
|
187
|
+
position: fixed;
|
|
188
|
+
visibility: hidden;
|
|
189
|
+
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
190
|
+
top: 0;
|
|
191
|
+
left: 0;
|
|
192
|
+
max-width: 90vw;
|
|
193
|
+
max-height: 90vh;
|
|
194
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
195
|
+
width: var(--kol-tooltip-width);
|
|
196
|
+
}
|
|
197
|
+
/* Shared between content and arrow */
|
|
198
|
+
.kol-tooltip-wc .tooltip-area {
|
|
199
|
+
background-color: #fff;
|
|
200
|
+
color: #000;
|
|
201
|
+
}
|
|
202
|
+
.kol-tooltip-wc .tooltip-arrow {
|
|
203
|
+
height: calc(10rem / var(--kolibri-root-font-size, 16));
|
|
204
|
+
position: absolute;
|
|
205
|
+
transform: rotate(45deg);
|
|
206
|
+
width: calc(10rem / var(--kolibri-root-font-size, 16));
|
|
207
|
+
z-index: 999;
|
|
208
|
+
}
|
|
209
|
+
.kol-tooltip-wc .tooltip-content {
|
|
210
|
+
position: relative;
|
|
211
|
+
z-index: 1000;
|
|
212
|
+
}
|
|
213
|
+
@keyframes fadeInOpacity {
|
|
214
|
+
0% {
|
|
215
|
+
opacity: 0;
|
|
216
|
+
}
|
|
217
|
+
100% {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
@layer kol-component {
|
|
223
|
+
:host,
|
|
224
|
+
.kol-table-stateless-wc {
|
|
225
|
+
display: block;
|
|
226
|
+
}
|
|
227
|
+
.table {
|
|
228
|
+
max-width: 100%;
|
|
229
|
+
overflow-x: auto;
|
|
230
|
+
overflow-y: hidden;
|
|
231
|
+
}
|
|
232
|
+
table {
|
|
233
|
+
width: 100%;
|
|
234
|
+
}
|
|
235
|
+
caption {
|
|
236
|
+
text-align: start;
|
|
237
|
+
}
|
|
238
|
+
.focus-element {
|
|
239
|
+
font-size: 0;
|
|
240
|
+
}
|
|
241
|
+
.focus-element:focus {
|
|
242
|
+
outline: 0 !important;
|
|
243
|
+
}
|
|
244
|
+
.table:has(.focus-element:focus) {
|
|
245
|
+
/* @see https://remysharp.com/til/css/focus-ring-default-styles */
|
|
246
|
+
outline: 5px auto Highlight;
|
|
247
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
248
|
+
outline-offset: 2px;
|
|
249
|
+
}
|
|
250
|
+
.table-sort-button .button {
|
|
251
|
+
color: inherit;
|
|
252
|
+
}
|
|
253
|
+
tbody th,
|
|
254
|
+
th.align-left {
|
|
255
|
+
text-align: left;
|
|
256
|
+
}
|
|
257
|
+
tbody th .table-sort-button .button-inner,
|
|
258
|
+
th.align-left .table-sort-button .button-inner {
|
|
259
|
+
justify-items: start;
|
|
260
|
+
}
|
|
261
|
+
th.align-center {
|
|
262
|
+
text-align: center;
|
|
263
|
+
}
|
|
264
|
+
th.align-center .table-sort-button .button-inner {
|
|
265
|
+
justify-items: center;
|
|
266
|
+
}
|
|
267
|
+
th.align-right {
|
|
268
|
+
text-align: right;
|
|
269
|
+
}
|
|
270
|
+
th.align-right .table-sort-button .button-inner {
|
|
271
|
+
justify-items: end;
|
|
272
|
+
}
|
|
273
|
+
tr.foot-spacer,
|
|
274
|
+
tr.head-spacer {
|
|
275
|
+
display: none;
|
|
276
|
+
}
|
|
277
|
+
.selection-header-cell {
|
|
278
|
+
width: 0;
|
|
279
|
+
}
|
|
280
|
+
.selection-cell {
|
|
281
|
+
width: var(--a11y-min-size);
|
|
282
|
+
height: var(--a11y-min-size);
|
|
283
|
+
white-space: nowrap;
|
|
284
|
+
}
|
|
285
|
+
.input label {
|
|
286
|
+
align-items: center;
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
display: flex;
|
|
289
|
+
height: var(--a11y-min-size);
|
|
290
|
+
justify-content: center;
|
|
291
|
+
position: relative;
|
|
292
|
+
width: var(--a11y-min-size);
|
|
293
|
+
}
|
|
294
|
+
.input .icon {
|
|
295
|
+
display: block;
|
|
296
|
+
inset: auto;
|
|
297
|
+
position: absolute;
|
|
298
|
+
z-index: 1;
|
|
299
|
+
}
|
|
300
|
+
.input input {
|
|
301
|
+
appearance: none;
|
|
302
|
+
border-style: solid;
|
|
303
|
+
cursor: pointer;
|
|
304
|
+
margin: 0;
|
|
305
|
+
}
|
|
306
|
+
.input input:before {
|
|
307
|
+
content: "";
|
|
308
|
+
}
|
|
309
|
+
.input input[type=checkbox] {
|
|
310
|
+
position: relative;
|
|
311
|
+
display: flex;
|
|
312
|
+
height: calc(var(--a11y-min-size) / 2);
|
|
313
|
+
width: calc(var(--a11y-min-size) / 2);
|
|
314
|
+
align-items: center;
|
|
315
|
+
justify-content: center;
|
|
316
|
+
background-color: rgb(255, 255, 255);
|
|
317
|
+
border-width: 2px;
|
|
318
|
+
line-height: 1.5;
|
|
319
|
+
transition: all 0.5s ease 0s;
|
|
320
|
+
}
|
|
321
|
+
.input input[type=radio] {
|
|
322
|
+
display: flex;
|
|
323
|
+
border-width: 2px;
|
|
324
|
+
border-radius: 100%;
|
|
325
|
+
height: 1.5em;
|
|
326
|
+
min-height: 1.5em;
|
|
327
|
+
min-width: 1.5em;
|
|
328
|
+
padding: 0;
|
|
329
|
+
width: 1.5em;
|
|
330
|
+
}
|
|
331
|
+
.input input[type=radio]:before {
|
|
332
|
+
border-radius: 100%;
|
|
333
|
+
margin: auto;
|
|
334
|
+
height: 0.75em;
|
|
335
|
+
width: 0.75em;
|
|
336
|
+
}
|
|
337
|
+
.input input[type=radio]:checked:before {
|
|
338
|
+
background-color: #000;
|
|
339
|
+
}
|
|
340
|
+
@media (forced-colors: active) {
|
|
341
|
+
.input input[type=radio]:checked:before {
|
|
342
|
+
/* Give it a visible background in forced colors mode */
|
|
343
|
+
background-color: selectedItem !important;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}`,l=a,s=class{constructor(t){e(this,t),this._data=void 0,this._dataFoot=void 0,this._headerCells=void 0,this._label=void 0,this._minWidth=void 0,this._on=void 0,this._selection=void 0}render(){return n(o,{key:"ca6a12ebf0f5e0d90586e3128ea55b001449e024",class:"kol-table-stateless"},n(i,{key:"a58a5f21f2f33194313c1ab7840475c8cc6c016c",_data:this._data,_dataFoot:this._dataFoot,_headerCells:this._headerCells,_label:this._label,_minWidth:this._minWidth,_on:this._on,_selection:this._selection}))}};s.style={default:l};export{s as kol_table_stateless};
|
|
347
|
+
//# sourceMappingURL=kol-table-stateless.entry-DLoiCcKo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-table-stateless.entry-DLoiCcKo.js","sources":["../../../../components/dist/esm/kol-table-stateless.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-3be16660.js';\nimport { r as KolTableStatelessWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-global {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n color: black;\\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 * 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 * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-height: var(--a11y-min-size);\\n min-width: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n }\\n}\\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 clip: rect(0 0 0 0);\\n clip-path: inset(50%);\\n height: 1px;\\n overflow: hidden;\\n position: absolute;\\n white-space: nowrap;\\n width: 1px;\\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 border: none;\\n margin: 0;\\n padding: 0;\\n width: 100%; /* 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}\\n@layer kol-global {\\n :host {\\n font-size: calc(16rem / var(--kolibri-root-font-size, 16));\\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 }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n .kol-span-wc {\\n display: grid;\\n place-items: center;\\n }\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n .kol-span-wc > span {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n /* This is the text label. */\\n .hide-label > .kol-span-wc > span > span {\\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 cursor: not-allowed;\\n opacity: 0.5;\\n outline: none;\\n }\\n [aria-disabled=true]:focus .kol-span-wc,\\n [disabled]:focus .kol-span-wc {\\n outline: none !important;\\n }\\n .badge-text-hint {\\n background-color: lightgray;\\n color: black;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n display: none;\\n position: fixed;\\n visibility: hidden;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n max-width: 90vw;\\n max-height: 90vh;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n background-color: #fff;\\n color: #000;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n position: absolute;\\n transform: rotate(45deg);\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n z-index: 999;\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host,\\n .kol-table-stateless-wc {\\n display: block;\\n }\\n .table {\\n max-width: 100%;\\n overflow-x: auto;\\n overflow-y: hidden;\\n }\\n table {\\n width: 100%;\\n }\\n caption {\\n text-align: start;\\n }\\n .focus-element {\\n font-size: 0;\\n }\\n .focus-element:focus {\\n outline: 0 !important;\\n }\\n .table:has(.focus-element:focus) {\\n /* @see https://remysharp.com/til/css/focus-ring-default-styles */\\n outline: 5px auto Highlight;\\n outline: 5px auto -webkit-focus-ring-color;\\n outline-offset: 2px;\\n }\\n .table-sort-button .button {\\n color: inherit;\\n }\\n tbody th,\\n th.align-left {\\n text-align: left;\\n }\\n tbody th .table-sort-button .button-inner,\\n th.align-left .table-sort-button .button-inner {\\n justify-items: start;\\n }\\n th.align-center {\\n text-align: center;\\n }\\n th.align-center .table-sort-button .button-inner {\\n justify-items: center;\\n }\\n th.align-right {\\n text-align: right;\\n }\\n th.align-right .table-sort-button .button-inner {\\n justify-items: end;\\n }\\n tr.foot-spacer,\\n tr.head-spacer {\\n display: none;\\n }\\n .selection-header-cell {\\n width: 0;\\n }\\n .selection-cell {\\n width: var(--a11y-min-size);\\n height: var(--a11y-min-size);\\n white-space: nowrap;\\n }\\n .input label {\\n align-items: center;\\n cursor: pointer;\\n display: flex;\\n height: var(--a11y-min-size);\\n justify-content: center;\\n position: relative;\\n width: var(--a11y-min-size);\\n }\\n .input .icon {\\n display: block;\\n inset: auto;\\n position: absolute;\\n z-index: 1;\\n }\\n .input input {\\n appearance: none;\\n border-style: solid;\\n cursor: pointer;\\n margin: 0;\\n }\\n .input input:before {\\n content: \\\"\\\";\\n }\\n .input input[type=checkbox] {\\n position: relative;\\n display: flex;\\n height: calc(var(--a11y-min-size) / 2);\\n width: calc(var(--a11y-min-size) / 2);\\n align-items: center;\\n justify-content: center;\\n background-color: rgb(255, 255, 255);\\n border-width: 2px;\\n line-height: 1.5;\\n transition: all 0.5s ease 0s;\\n }\\n .input input[type=radio] {\\n display: flex;\\n border-width: 2px;\\n border-radius: 100%;\\n height: 1.5em;\\n min-height: 1.5em;\\n min-width: 1.5em;\\n padding: 0;\\n width: 1.5em;\\n }\\n .input input[type=radio]:before {\\n border-radius: 100%;\\n margin: auto;\\n height: 0.75em;\\n width: 0.75em;\\n }\\n .input input[type=radio]:checked:before {\\n background-color: #000;\\n }\\n @media (forced-colors: active) {\\n .input input[type=radio]:checked:before {\\n /* Give it a visible background in forced colors mode */\\n background-color: selectedItem !important;\\n }\\n }\\n}\";\nconst KolTableStatelessDefaultStyle0 = defaultStyleCss;\n\nconst KolTableStateless = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._data = undefined;\n this._dataFoot = undefined;\n this._headerCells = undefined;\n this._label = undefined;\n this._minWidth = undefined;\n this._on = undefined;\n this._selection = undefined;\n }\n render() {\n return (h(Host, { key: 'ca6a12ebf0f5e0d90586e3128ea55b001449e024', class: \"kol-table-stateless\" }, h(KolTableStatelessWcTag, { key: 'a58a5f21f2f33194313c1ab7840475c8cc6c016c', _data: this._data, _dataFoot: this._dataFoot, _headerCells: this._headerCells, _label: this._label, _minWidth: this._minWidth, _on: this._on, _selection: this._selection })));\n }\n};\nKolTableStateless.style = {\n default: KolTableStatelessDefaultStyle0\n};\n\nexport { KolTableStateless as kol_table_stateless };\n\n//# sourceMappingURL=kol-table-stateless.entry.js.map"],"names":["defaultStyleCss","KolTableStatelessDefaultStyle0","KolTableStateless","hostRef","registerInstance","h","Host","KolTableStatelessWcTag"],"mappings":"8DAAA;AAAA;AAAA,GAMA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAClBC,EAAiCD,EAEjCE,EAAoB,KAAM,CAC5B,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,OACb,KAAK,UAAY,OACjB,KAAK,aAAe,OACpB,KAAK,OAAS,OACd,KAAK,UAAY,OACjB,KAAK,IAAM,OACX,KAAK,WAAa,MAC1B,CACI,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,qBAAuB,EAAED,EAAEE,EAAwB,CAAE,IAAK,2CAA4C,MAAO,KAAK,MAAO,UAAW,KAAK,UAAW,aAAc,KAAK,aAAc,OAAQ,KAAK,OAAQ,UAAW,KAAK,UAAW,IAAK,KAAK,IAAK,WAAY,KAAK,UAAU,CAAE,CAAC,CACpW,CACA,EACAL,EAAkB,MAAQ,CACtB,QAASD,CACb"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{r as i,h as a,a9 as e}from"./index-Bvb9XsoR.js";/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/const o=class{constructor(t){i(this,t),this._allowMultiSort=void 0,this._data=void 0,this._dataFoot=void 0,this._headers=void 0,this._label=void 0,this._minWidth=void 0,this._pagination=void 0,this._paginationPosition="bottom",this._selection=void 0,this._on=void 0}render(){return a(e,{key:"2a0229eb463970a0b26a500059e5ca20fe665dd4",_allowMultiSort:this._allowMultiSort,_data:this._data,_dataFoot:this._dataFoot,_headers:this._headers,_label:this._label,_minWidth:this._minWidth,_pagination:this._pagination,_paginationPosition:this._paginationPosition,_selection:this._selection,_on:this._on})}};export{o as kol_table};
|
|
4
|
+
//# sourceMappingURL=kol-table.entry-DVVBQ-gH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-table.entry-DVVBQ-gH.js","sources":["../../../../components/dist/esm/kol-table.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-3be16660.js';\nimport { p as KolTableStatefulTag } from './component-names-4cb1c62b.js';\n\nconst KolTable = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._allowMultiSort = undefined;\n this._data = undefined;\n this._dataFoot = undefined;\n this._headers = undefined;\n this._label = undefined;\n this._minWidth = undefined;\n this._pagination = undefined;\n this._paginationPosition = 'bottom';\n this._selection = undefined;\n this._on = undefined;\n }\n render() {\n return (h(KolTableStatefulTag, { key: '2a0229eb463970a0b26a500059e5ca20fe665dd4', _allowMultiSort: this._allowMultiSort, _data: this._data, _dataFoot: this._dataFoot, _headers: this._headers, _label: this._label, _minWidth: this._minWidth, _pagination: this._pagination, _paginationPosition: this._paginationPosition, _selection: this._selection, _on: this._on }));\n }\n};\n\nexport { KolTable as kol_table };\n\n//# sourceMappingURL=kol-table.entry.js.map"],"names":["KolTable","hostRef","registerInstance","h","KolTableStatefulTag"],"mappings":"uDAAA;AAAA;AAAA,GAMK,MAACA,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,gBAAkB,OACvB,KAAK,MAAQ,OACb,KAAK,UAAY,OACjB,KAAK,SAAW,OAChB,KAAK,OAAS,OACd,KAAK,UAAY,OACjB,KAAK,YAAc,OACnB,KAAK,oBAAsB,SAC3B,KAAK,WAAa,OAClB,KAAK,IAAM,MACnB,CACI,QAAS,CACL,OAAQE,EAAEC,EAAqB,CAAE,IAAK,2CAA4C,gBAAiB,KAAK,gBAAiB,MAAO,KAAK,MAAO,UAAW,KAAK,UAAW,SAAU,KAAK,SAAU,OAAQ,KAAK,OAAQ,UAAW,KAAK,UAAW,YAAa,KAAK,YAAa,oBAAqB,KAAK,oBAAqB,WAAY,KAAK,WAAY,IAAK,KAAK,IAAK,CAClX,CACA"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import{r as u,B as f,h as l,c as h,H as p,f as g,L as b,s as m,A as v,W as y,X as _,ad as w,l as k,w as T}from"./index-Bvb9XsoR.js";import{t as x}from"./i18n-0835cc3b-DKpqqbhz.js";import{K as r}from"./keyboard-77e19a81-D1ah5412.js";import{v as C}from"./align-d80dfc19-BPR7NM6-.js";import{v as P}from"./label-c2f427ab-CqjOOKaa.js";/*!
|
|
2
|
+
* KoliBri - The accessible HTML-Standard
|
|
3
|
+
*/const c=["select-automatic","select-manual"],S=(e,t)=>{T(e,"_behavior",n=>typeof n=="string"&&c.includes(n),new Set([`KoliBriTabBehavior {${c.join(", ")}`]),t)},A=`/*
|
|
4
|
+
* This file contains all rules for accessibility.
|
|
5
|
+
*/
|
|
6
|
+
@layer kol-global {
|
|
7
|
+
:host {
|
|
8
|
+
/*
|
|
9
|
+
* Minimum size of interactive elements.
|
|
10
|
+
*/
|
|
11
|
+
--a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));
|
|
12
|
+
/*
|
|
13
|
+
* No element should be used without a background and font color whose contrast ratio has
|
|
14
|
+
* not been checked. By initially setting the background color to white and the font color
|
|
15
|
+
* to black, the contrast ratio is ensured and explicit adjustment is forced.
|
|
16
|
+
*/
|
|
17
|
+
background-color: white;
|
|
18
|
+
color: black;
|
|
19
|
+
}
|
|
20
|
+
* {
|
|
21
|
+
/*
|
|
22
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
23
|
+
*/
|
|
24
|
+
hyphens: auto;
|
|
25
|
+
/*
|
|
26
|
+
* Verdana is an accessible font that can be used without requiring additional loading time.
|
|
27
|
+
*/
|
|
28
|
+
font-family: Verdana;
|
|
29
|
+
/*
|
|
30
|
+
* Letter spacing is required for all texts.
|
|
31
|
+
*/
|
|
32
|
+
letter-spacing: inherit;
|
|
33
|
+
/*
|
|
34
|
+
* This rule enables the word dividing for all texts. That is important for high zoom levels.
|
|
35
|
+
*/
|
|
36
|
+
word-break: break-word;
|
|
37
|
+
/*
|
|
38
|
+
* Word spacing is required for all texts.
|
|
39
|
+
*/
|
|
40
|
+
word-spacing: inherit;
|
|
41
|
+
}
|
|
42
|
+
/*
|
|
43
|
+
* All interactive elements should have a minimum size of rem(44).
|
|
44
|
+
*/
|
|
45
|
+
/* input:not([type='checkbox'], [type='radio'], [type='range']), */
|
|
46
|
+
/* option, */
|
|
47
|
+
/* select, */
|
|
48
|
+
/* textarea, */
|
|
49
|
+
[role=button],
|
|
50
|
+
button:not([role=link]),
|
|
51
|
+
.kol-input .input {
|
|
52
|
+
min-height: var(--a11y-min-size);
|
|
53
|
+
min-width: var(--a11y-min-size);
|
|
54
|
+
}
|
|
55
|
+
/*
|
|
56
|
+
* Some interactive elements should not inherit the font-family and font-size.
|
|
57
|
+
*/
|
|
58
|
+
a,
|
|
59
|
+
button,
|
|
60
|
+
h1,
|
|
61
|
+
h2,
|
|
62
|
+
h3,
|
|
63
|
+
h4,
|
|
64
|
+
h5,
|
|
65
|
+
h6,
|
|
66
|
+
input,
|
|
67
|
+
option,
|
|
68
|
+
select,
|
|
69
|
+
textarea {
|
|
70
|
+
/*
|
|
71
|
+
* All elements should inherit the font family from his parent element.
|
|
72
|
+
*/
|
|
73
|
+
font-family: inherit;
|
|
74
|
+
/*
|
|
75
|
+
* All elements should inherit the font size from his parent element.
|
|
76
|
+
*/
|
|
77
|
+
font-size: inherit;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Sometimes we need the semantic element for accessibility reasons,
|
|
82
|
+
* but we don't want to show it.
|
|
83
|
+
*
|
|
84
|
+
* - https://www.a11yproject.com/posts/how-to-hide-content/
|
|
85
|
+
*/
|
|
86
|
+
.visually-hidden {
|
|
87
|
+
clip: rect(0 0 0 0);
|
|
88
|
+
clip-path: inset(50%);
|
|
89
|
+
height: 1px;
|
|
90
|
+
overflow: hidden;
|
|
91
|
+
position: absolute;
|
|
92
|
+
white-space: nowrap;
|
|
93
|
+
width: 1px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@layer kol-global {
|
|
97
|
+
/*
|
|
98
|
+
* Dieses CSS stellt sicher, dass der Standard-Style
|
|
99
|
+
* von A und Button resettet werden.
|
|
100
|
+
*/
|
|
101
|
+
:is(a, button) {
|
|
102
|
+
background-color: transparent;
|
|
103
|
+
border: none;
|
|
104
|
+
margin: 0;
|
|
105
|
+
padding: 0;
|
|
106
|
+
width: 100%; /* 100% needed for custom width from outside */
|
|
107
|
+
}
|
|
108
|
+
/*
|
|
109
|
+
* Ensure elements with hidden attribute to be actually not visible
|
|
110
|
+
* @see https://meowni.ca/hidden.is.a.lie.html
|
|
111
|
+
*/
|
|
112
|
+
[hidden] {
|
|
113
|
+
display: none !important;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
@layer kol-global {
|
|
117
|
+
:host {
|
|
118
|
+
font-size: calc(16rem / var(--kolibri-root-font-size, 16));
|
|
119
|
+
/*
|
|
120
|
+
* The max-width is needed to prevent the table from overflowing the
|
|
121
|
+
* parent node, if the table is wider than the parent node.
|
|
122
|
+
*/
|
|
123
|
+
max-width: 100%;
|
|
124
|
+
}
|
|
125
|
+
* {
|
|
126
|
+
/*
|
|
127
|
+
* We prefer to box-sizing: border-box for all elements.
|
|
128
|
+
*/
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
}
|
|
131
|
+
/* KolSpan is a layout component with icons in all directions and a label text in the middle. */
|
|
132
|
+
.kol-span-wc {
|
|
133
|
+
display: grid;
|
|
134
|
+
place-items: center;
|
|
135
|
+
}
|
|
136
|
+
/* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */
|
|
137
|
+
.kol-span-wc > span {
|
|
138
|
+
display: flex;
|
|
139
|
+
place-items: center;
|
|
140
|
+
}
|
|
141
|
+
a,
|
|
142
|
+
button {
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
145
|
+
/* This is the text label. */
|
|
146
|
+
.hide-label > .kol-span-wc > span > span {
|
|
147
|
+
display: none;
|
|
148
|
+
}
|
|
149
|
+
/* Reset browser agent style. */
|
|
150
|
+
button:disabled {
|
|
151
|
+
color: unset;
|
|
152
|
+
}
|
|
153
|
+
.disabled label,
|
|
154
|
+
.disabled:focus-within label,
|
|
155
|
+
[aria-disabled=true],
|
|
156
|
+
[aria-disabled=true]:focus,
|
|
157
|
+
[disabled],
|
|
158
|
+
[disabled]:focus {
|
|
159
|
+
cursor: not-allowed;
|
|
160
|
+
opacity: 0.5;
|
|
161
|
+
outline: none;
|
|
162
|
+
}
|
|
163
|
+
[aria-disabled=true]:focus .kol-span-wc,
|
|
164
|
+
[disabled]:focus .kol-span-wc {
|
|
165
|
+
outline: none !important;
|
|
166
|
+
}
|
|
167
|
+
.badge-text-hint {
|
|
168
|
+
background-color: lightgray;
|
|
169
|
+
color: black;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
@layer kol-component {
|
|
173
|
+
:host {
|
|
174
|
+
display: block;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
@layer kol-component {
|
|
178
|
+
.kol-tooltip-wc {
|
|
179
|
+
display: contents;
|
|
180
|
+
}
|
|
181
|
+
.kol-tooltip-wc .tooltip-floating {
|
|
182
|
+
animation-duration: 0.25s;
|
|
183
|
+
animation-iteration-count: 1;
|
|
184
|
+
animation-name: fadeInOpacity;
|
|
185
|
+
animation-timing-function: ease-in;
|
|
186
|
+
display: none;
|
|
187
|
+
position: fixed;
|
|
188
|
+
visibility: hidden;
|
|
189
|
+
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
190
|
+
top: 0;
|
|
191
|
+
left: 0;
|
|
192
|
+
max-width: 90vw;
|
|
193
|
+
max-height: 90vh;
|
|
194
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
195
|
+
width: var(--kol-tooltip-width);
|
|
196
|
+
}
|
|
197
|
+
/* Shared between content and arrow */
|
|
198
|
+
.kol-tooltip-wc .tooltip-area {
|
|
199
|
+
background-color: #fff;
|
|
200
|
+
color: #000;
|
|
201
|
+
}
|
|
202
|
+
.kol-tooltip-wc .tooltip-arrow {
|
|
203
|
+
height: calc(10rem / var(--kolibri-root-font-size, 16));
|
|
204
|
+
position: absolute;
|
|
205
|
+
transform: rotate(45deg);
|
|
206
|
+
width: calc(10rem / var(--kolibri-root-font-size, 16));
|
|
207
|
+
z-index: 999;
|
|
208
|
+
}
|
|
209
|
+
.kol-tooltip-wc .tooltip-content {
|
|
210
|
+
position: relative;
|
|
211
|
+
z-index: 1000;
|
|
212
|
+
}
|
|
213
|
+
@keyframes fadeInOpacity {
|
|
214
|
+
0% {
|
|
215
|
+
opacity: 0;
|
|
216
|
+
}
|
|
217
|
+
100% {
|
|
218
|
+
opacity: 1;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
@layer kol-component {
|
|
223
|
+
:host > div {
|
|
224
|
+
display: grid;
|
|
225
|
+
}
|
|
226
|
+
.tabs-content {
|
|
227
|
+
overflow: auto;
|
|
228
|
+
}
|
|
229
|
+
.tabs-button-group {
|
|
230
|
+
display: flex;
|
|
231
|
+
flex-wrap: wrap;
|
|
232
|
+
}
|
|
233
|
+
.tabs-button-group button {
|
|
234
|
+
border-bottom-color: transparent;
|
|
235
|
+
border-bottom-style: solid;
|
|
236
|
+
display: block;
|
|
237
|
+
}
|
|
238
|
+
div.grid,
|
|
239
|
+
div[role=tabpanel] {
|
|
240
|
+
height: 100%;
|
|
241
|
+
}
|
|
242
|
+
:host > .tabs-align-right {
|
|
243
|
+
display: grid;
|
|
244
|
+
grid-template-columns: 1fr auto;
|
|
245
|
+
}
|
|
246
|
+
:host > .tabs-align-right .tabs-button-group {
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
order: 2;
|
|
249
|
+
}
|
|
250
|
+
:host > .tabs-align-right .tabs-button-group .kol-button-wc {
|
|
251
|
+
width: 100%;
|
|
252
|
+
}
|
|
253
|
+
:host > .tabs-align-left {
|
|
254
|
+
display: grid;
|
|
255
|
+
grid-template-columns: auto 1fr;
|
|
256
|
+
}
|
|
257
|
+
:host > .tabs-align-left .tabs-button-group {
|
|
258
|
+
flex-direction: column;
|
|
259
|
+
order: 0;
|
|
260
|
+
}
|
|
261
|
+
:host > .tabs-align-left .tabs-button-group .kol-button-wc {
|
|
262
|
+
width: 100%;
|
|
263
|
+
}
|
|
264
|
+
:host > .tabs-align-bottom {
|
|
265
|
+
display: grid;
|
|
266
|
+
grid-template-rows: 1fr auto;
|
|
267
|
+
}
|
|
268
|
+
:host > .tabs-align-bottom .tabs-button-group {
|
|
269
|
+
order: 2;
|
|
270
|
+
}
|
|
271
|
+
:host > .tabs-align-bottom .tabs-button-group > div {
|
|
272
|
+
display: flex;
|
|
273
|
+
margin: 0 1em;
|
|
274
|
+
}
|
|
275
|
+
:host > .tabs-align-bottom .tabs-button-group > div > div:first-child {
|
|
276
|
+
margin: 0 1em 0 0;
|
|
277
|
+
}
|
|
278
|
+
:host > .tabs-align-top {
|
|
279
|
+
display: grid;
|
|
280
|
+
grid-template-rows: auto 1fr;
|
|
281
|
+
}
|
|
282
|
+
:host > .tabs-align-top .tabs-button-group {
|
|
283
|
+
order: 0;
|
|
284
|
+
}
|
|
285
|
+
:host > .tabs-align-top .tabs-button-group > div {
|
|
286
|
+
display: flex;
|
|
287
|
+
}
|
|
288
|
+
:host > .tabs-align-top .tabs-button-group > div > div {
|
|
289
|
+
margin: 0 1em;
|
|
290
|
+
}
|
|
291
|
+
:host > .tabs-align-top .tabs-button-group > div > div:first-child {
|
|
292
|
+
margin: 0 1em 0 0;
|
|
293
|
+
}
|
|
294
|
+
}`,z=A,B=class{constructor(e){u(this,e),this.onCreateLabel=`${x("kol-new")} …`,this.showCreateTab=!1,this.nextPossibleTabIndex=(t,n,a=1)=>{const i=n+a;return i<t.length?t[i]._disabled?this.nextPossibleTabIndex(t,n,a+1):i:n},this.prevPossibleTabIndex=(t,n,a=1)=>{const i=n-a;return i>=0?t[i]._disabled?this.prevPossibleTabIndex(t,n,a+1):i:n},this.onKeyDown=t=>{switch(t.key){case r.ArrowRight:this.goToNextTab(t);break;case r.ArrowLeft:this.goToPreviousTab(t);break;case r.Space:case r.Enter:this.activateFocusedTab(t);break}},this.onClickSelect=(t,n)=>{this.selectNextTabEvent(t,n)},this.onMouseDown=t=>{t.preventDefault(),t.stopPropagation()},this.callbacks={onClick:this.onClickSelect,onMouseDown:this.onMouseDown},this.catchTabPanelHost=t=>{this.tabPanelHost=t},this.selectNextNotDisabledTab=(t,n,a=!0,i)=>{if(t>n.length-1&&(t=n.length-1),t<0&&(t=0),Array.isArray(n)&&n[t]&&n[t]._disabled){if(a===!0){if(t<n.length-1)return this.selectNextNotDisabledTab(t+1,n,!0,i||t);t=i||t,a=!1}if(a===!1){if(t>0)return this.selectNextNotDisabledTab(t-1,n,!1,i||t);f("[KolTabs] All tabs are disabled, and therefore no tab can be displayed.")}}return t},this.syncSelectedAndTabs=(t,n,a,i)=>{let o;i==="_selected"?o=t:o=this.state._selected;let s;i==="_tabs"?s=t:s=this.state._tabs,s.length>0&&n.set("_selected",this.selectNextNotDisabledTab(o,s))},this.refreshTabPanels=()=>{var t,n,a,i;if(this.tabPanelHost){for(;this.tabPanelHost.firstChild;)this.tabPanelHost.removeChild(this.tabPanelHost.firstChild);for(let o=0;o<((t=this.state._tabs)===null||t===void 0?void 0:t.length);o++){const s=document.createElement("div");s.setAttribute("aria-labelledby",`${this.state._label.replace(/\s/g,"-")}-tab-${o}`),s.setAttribute("id",`tabpanel-${o}`),s.setAttribute("role","tabpanel"),s.setAttribute("hidden","");const d=document.createElement("slot");d.setAttribute("name",`tabpanel-slot-${o}`),s.appendChild(d),(n=this.tabPanelHost)===null||n===void 0||n.appendChild(s),typeof HTMLCollection<"u"&&((a=this.host)===null||a===void 0?void 0:a.children)instanceof HTMLCollection&&(!((i=this.host)===null||i===void 0)&&i.children[o])&&this.host.children[o].setAttribute("slot",`tabpanel-slot-${o}`)}this.updateVisiblePanel()}},this.updateVisiblePanel=()=>{this.tabPanelHost&&Array.from(this.tabPanelHost.children).forEach((t,n)=>{n===this.state._selected?t.removeAttribute("hidden"):t.setAttribute("hidden","")})},this.onCreate=t=>{var n,a;t.preventDefault(),t.stopPropagation(),typeof((n=this.state._on)===null||n===void 0?void 0:n.onCreate)=="function"&&((a=this.state._on)===null||a===void 0||a.onCreate(t))},this.onBlur=()=>{this.currentFocusIndex=void 0},this._align="top",this._behavior=void 0,this._label=void 0,this._on=void 0,this._selected=0,this._tabs=void 0,this.state={_align:"top",_label:"",_selected:0,_tabs:[]}}getCurrentFocusIndex(){return typeof this.currentFocusIndex=="number"?this.currentFocusIndex:this.state._selected}getKeyboardTabChangeMode(){return this._behavior==="select-manual"?"selectFocusOnly":"activateCompletely"}goToNextTab(e){const t=this.nextPossibleTabIndex(this.state._tabs,this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}goToPreviousTab(e){const t=this.prevPossibleTabIndex(this.state._tabs,this.getCurrentFocusIndex());this.selectNextTabEvent(e,t,this.getKeyboardTabChangeMode())}activateFocusedTab(e){typeof this.currentFocusIndex=="number"&&this.onSelect(e,this.currentFocusIndex)}selectNextTabEvent(e,t,n="activateCompletely"){var a,i;this.currentFocusIndex=t,this.focusTabById(t),n==="activateCompletely"&&(this._selected=t,(i=(a=this.state._tabs[t]._on)===null||a===void 0?void 0:a.onSelect)===null||i===void 0||i.call(a,e,t),this.onSelect(e,t))}renderButtonGroup(){return l("div",{"aria-label":this.state._label,class:"tabs-button-group kol-button-group-wc",role:"tablist",onKeyDown:this.onKeyDown,onBlur:this.onBlur},this.state._tabs.map((e,t)=>l(h,{_disabled:e._disabled,_icons:e._icons,_hideLabel:e._hideLabel,_label:e._label,_on:this.callbacks,_tabIndex:this.state._selected===t?0:-1,_tooltipAlign:e._tooltipAlign,_variant:this.state._selected===t?"custom":void 0,_customClass:this.state._selected===t?"selected":void 0,_ariaControls:`tabpanel-${t}`,_ariaSelected:this.state._selected===t,_id:`${this.state._label.replace(/\s/g,"-")}-tab-${t}`,_role:"tab",_value:t})),this.showCreateTab&&l(h,{class:"create-button",_label:this.onCreateLabel,_on:{onClick:this.onCreate}}))}render(){return l(p,{key:"c8a57c143bad6f393f32b5dabb73aa4b85283678",class:"kol-tabs"},l("div",{key:"4bf7d0d4d05cd9978838cd19fefd308426b41ffd",ref:e=>{this.tabPanelsElement=e},class:{[`tabs-align-${this.state._align}`]:!0}},this.renderButtonGroup(),l("div",{key:"5b5b9731a0523296c14429e8f636e6898d8f6400",class:"tabs-content",ref:this.catchTabPanelHost})))}validateAlign(e){C(this,e)}validateBehavior(e){S(this,e)}validateLabel(e){P(this,e,{required:!0})}validateOn(e){if(typeof e=="object"&&e!==null){g("[KolTabs] Prüfen, wie man auch einen EventCallback einzeln ändern kann.");const t={};(typeof e.onCreate=="function"||typeof e.onCreate=="object")&&(typeof e.onCreate=="object"?(typeof e.onCreate.label=="string"&&e.onCreate.label.length>0?this.onCreateLabel=e.onCreate.label:b.debug(`[KolTabs] The label text for New in {
|
|
295
|
+
onCreate: {
|
|
296
|
+
label: string (!),
|
|
297
|
+
callback: Function
|
|
298
|
+
}
|
|
299
|
+
} is not set correctly.`),typeof e.onCreate.callback=="function"?t.onCreate=e.onCreate.callback:b.debug(`[KolTabs] The onCreate callback function for New in {
|
|
300
|
+
onCreate: {
|
|
301
|
+
label: string,
|
|
302
|
+
callback: Function (!)
|
|
303
|
+
}
|
|
304
|
+
} is not set correctly.`)):t.onCreate=e.onCreate,this.showCreateTab=typeof t.onCreate=="function"),typeof e.onSelect=="function"&&(t.onSelect=e.onSelect),m(this,"_on",t)}}validateSelected(e){v(this,"_selected",e,{hooks:{beforePatch:this.syncSelectedAndTabs}})}validateTabs(e){y(this,"_tabs",t=>typeof t=="object"&&t!==null&&typeof t._label=="string"&&t._label.length>0,e,void 0,{hooks:{beforePatch:this.syncSelectedAndTabs,afterPatch:this.refreshTabPanels}}),_("KolTabs",this.state._tabs.length)}componentWillLoad(){this.validateAlign(this._align),this.validateLabel(this._label),this.validateOn(this._on),this.validateSelected(this._selected),this.validateTabs(this._tabs),this.validateBehavior(this._behavior)}componentDidRender(){this.refreshTabPanels()}focusTabById(e){if(this.tabPanelsElement){const t=w(`button#${this.state._label.replace(/\s/g,"-")}-tab-${e}`,this.tabPanelsElement);t==null||t.focus()}}onSelect(e,t){var n,a;(a=(n=this._on)===null||n===void 0?void 0:n.onSelect)===null||a===void 0||a.call(n,e,t),this.focusTabById(t)}get host(){return k(this)}static get watchers(){return{_align:["validateAlign"],_behavior:["validateBehavior"],_label:["validateLabel"],_on:["validateOn"],_selected:["validateSelected"],_tabs:["validateTabs"]}}};B.style={default:z};export{B as kol_tabs};
|
|
305
|
+
//# sourceMappingURL=kol-tabs.entry-BOEtl29T.js.map
|