@public-ui/sample-react 2.2.17 → 2.2.18-rc.1
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/README.md +1 -1
- package/dist/assets/Alert-e1b49bee-CoPa5ozn.js +2 -0
- package/dist/assets/{Alert-0e712d66-uBEYhT93.js.map → Alert-e1b49bee-CoPa5ozn.js.map} +1 -1
- package/dist/assets/Collapsible-bb08ff2a-BtvMERmV.js +2 -0
- package/dist/assets/{Collapsible-18d9607a-amR5-Orl.js.map → Collapsible-bb08ff2a-BtvMERmV.js.map} +1 -1
- package/dist/assets/FormFieldMsg-a8373529-BukeU55L.js +2 -0
- package/dist/assets/{FormFieldMsg-c5be4e2c-D7DaZUCH.js.map → FormFieldMsg-a8373529-BukeU55L.js.map} +1 -1
- package/dist/assets/InternalUnderlinedBadgeText-c3028ba9-BL-gK81o.js +2 -0
- package/dist/assets/{InternalUnderlinedBadgeText-1fac598e-BG7MOeGO.js.map → InternalUnderlinedBadgeText-c3028ba9-BL-gK81o.js.map} +1 -1
- package/dist/assets/access-and-short-key-914780a7-DmaCMjF0.js +2 -0
- package/dist/assets/{access-and-short-key-914780a7-D_amaVwB.js.map → access-and-short-key-914780a7-DmaCMjF0.js.map} +1 -1
- package/dist/assets/align-f3101425-DKwd4Xuv.js +2 -0
- package/dist/assets/{align-f3101425-B4vHQ56A.js.map → align-f3101425-DKwd4Xuv.js.map} +1 -1
- package/dist/assets/align-floating-elements-a7a489c8-BwVnLea_.js +2 -0
- package/dist/assets/{align-floating-elements-a7a489c8-ByZWe2kh.js.map → align-floating-elements-a7a489c8-BwVnLea_.js.map} +1 -1
- package/dist/assets/associated.controller-d302adf7-D0bz3SOU.js +2 -0
- package/dist/assets/{associated.controller-d302adf7-CA_utPAF.js.map → associated.controller-d302adf7-D0bz3SOU.js.map} +1 -1
- package/dist/assets/badge-text-553534d4-DqkL8usP.js +2 -0
- package/dist/assets/{badge-text-553534d4-CMC8YLDf.js.map → badge-text-553534d4-DqkL8usP.js.map} +1 -1
- package/dist/assets/button-variant-ebe4a1ea-BqpaKoBx.js +2 -0
- package/dist/assets/{button-variant-ebe4a1ea-CWrzeNL5.js.map → button-variant-ebe4a1ea-BqpaKoBx.js.map} +1 -1
- package/dist/assets/clsx-09a06a12-B-dksMZM.js +2 -0
- package/dist/assets/clsx-09a06a12-B-dksMZM.js.map +1 -0
- package/dist/assets/color-48d7fdf1-CDg60V5_.js +2 -0
- package/dist/assets/{color-48d7fdf1-Bn8Gtu9P.js.map → color-48d7fdf1-CDg60V5_.js.map} +1 -1
- package/dist/assets/controller-6852ec73-Cg5R_nEy.js +2 -0
- package/dist/assets/controller-6852ec73-Cg5R_nEy.js.map +1 -0
- package/dist/assets/controller-728fbdd1-CvhEBH8w.js +2 -0
- package/dist/assets/{controller-728fbdd1-CXKcVRFp.js.map → controller-728fbdd1-CvhEBH8w.js.map} +1 -1
- package/dist/assets/controller-7a8fe823-BiPdKnO0.js +2 -0
- package/dist/assets/{controller-b19ef5c0-CJ2PcwNV.js.map → controller-7a8fe823-BiPdKnO0.js.map} +1 -1
- package/dist/assets/controller-b80ab45c-DYfo03w8.js +2 -0
- package/dist/assets/{controller-fa5508b8-CYjrNW9t.js.map → controller-b80ab45c-DYfo03w8.js.map} +1 -1
- package/dist/assets/controller-f2ec3fe1-7aWFqd8e.js +2 -0
- package/dist/assets/{controller-06c08e87-DgCcoVLc.js.map → controller-f2ec3fe1-7aWFqd8e.js.map} +1 -1
- package/dist/assets/controller-icon-cfb10b73-BflUPewj.js +2 -0
- package/dist/assets/{controller-icon-b3eb5a58-lNp5Jesx.js.map → controller-icon-cfb10b73-BflUPewj.js.map} +1 -1
- package/dist/assets/custom-class-14f41251-B32YP9I-.js +2 -0
- package/dist/assets/{custom-class-14f41251-CpMmOpkY.js.map → custom-class-14f41251-B32YP9I-.js.map} +1 -1
- package/dist/assets/debounce-99d34c2d-NsckRL5Q.js +2 -0
- package/dist/assets/{debounce-99d34c2d-OEdnHK1N.js.map → debounce-99d34c2d-NsckRL5Q.js.map} +1 -1
- package/dist/assets/{dev.utils-e0ebaf6c-CB7CgDLr.js → dev.utils-0183c4e9-BmQjDv4V.js} +2 -4
- package/dist/assets/{dev.utils-e0ebaf6c-CB7CgDLr.js.map → dev.utils-0183c4e9-BmQjDv4V.js.map} +1 -1
- package/dist/assets/devtools-58e36ed4-DUcQWQ7S.js +14 -0
- package/dist/assets/{devtools-9fd2762f--VxHs-M_.js.map → devtools-58e36ed4-DUcQWQ7S.js.map} +1 -1
- package/dist/assets/disabled-26405bb8-D5O0XqFK.js +2 -0
- package/dist/assets/{disabled-26405bb8-yLGjk0L4.js.map → disabled-26405bb8-D5O0XqFK.js.map} +1 -1
- package/dist/assets/events-29e84d75-CETYymUM.js +2 -0
- package/dist/assets/{events-29e84d75-BhxFwhXP.js.map → events-29e84d75-CETYymUM.js.map} +1 -1
- package/dist/assets/has-closer-602527ae-CQRnA1R4.js +2 -0
- package/dist/assets/{has-closer-602527ae-KyGw3ri5.js.map → has-closer-602527ae-CQRnA1R4.js.map} +1 -1
- package/dist/assets/hide-label-0d754c8e-D4BCE6fG.js +2 -0
- package/dist/assets/{hide-label-0d754c8e-boPBSzV4.js.map → hide-label-0d754c8e-D4BCE6fG.js.map} +1 -1
- package/dist/assets/href-3ee53c2c-DWIVNf_3.js +2 -0
- package/dist/assets/{href-3ee53c2c-CTJOUpja.js.map → href-3ee53c2c-DWIVNf_3.js.map} +1 -1
- package/dist/assets/i18n-3dd5729d-P_HRfCAe.js +2 -0
- package/dist/assets/{i18n-3dd5729d-DO6dvkOz.js.map → i18n-3dd5729d-P_HRfCAe.js.map} +1 -1
- package/dist/assets/icons-adcda9b0-Bl0_S8ZA.js +2 -0
- package/dist/assets/{icons-adcda9b0-DCcG5I_T.js.map → icons-adcda9b0-Bl0_S8ZA.js.map} +1 -1
- package/dist/assets/image-source-d9230e9b-Bd-fSrpD.js +2 -0
- package/dist/assets/{image-source-d9230e9b-C8Ni--uD.js.map → image-source-d9230e9b-Bd-fSrpD.js.map} +1 -1
- package/dist/assets/index-RX4JBqnI.css +1 -0
- package/dist/assets/{index-7WRSZKTT.js → index-mpn7FJjz.js} +243 -316
- package/dist/assets/index-mpn7FJjz.js.map +1 -0
- package/dist/assets/keyboard-77e19a81-BWwnOSNt.js +2 -0
- package/dist/assets/{keyboard-77e19a81-D1ah5412.js.map → keyboard-77e19a81-BWwnOSNt.js.map} +1 -1
- package/dist/assets/{kol-abbr.entry-nqIddTUy.js → kol-abbr.entry-C9HBCUAb.js} +25 -10
- package/dist/assets/{kol-abbr.entry-nqIddTUy.js.map → kol-abbr.entry-C9HBCUAb.js.map} +1 -1
- package/dist/assets/{kol-accordion.entry-CZ9MpF3N.js → kol-accordion.entry-D845zqNY.js} +2 -4
- package/dist/assets/{kol-accordion.entry-CZ9MpF3N.js.map → kol-accordion.entry-D845zqNY.js.map} +1 -1
- package/dist/assets/kol-alert-wc.entry-k-uzdepp.js +2 -0
- package/dist/assets/{kol-alert-wc.entry-BFCuKloN.js.map → kol-alert-wc.entry-k-uzdepp.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-BnmZKGuG.js → kol-alert.entry-DKsiNB_b.js} +26 -11
- package/dist/assets/{kol-alert.entry-BnmZKGuG.js.map → kol-alert.entry-DKsiNB_b.js.map} +1 -1
- package/dist/assets/kol-avatar-wc.entry-Boy9WCQa.js +2 -0
- package/dist/assets/{kol-avatar-wc.entry-BvgpNTZE.js.map → kol-avatar-wc.entry-Boy9WCQa.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-BEIJ42cm.js → kol-avatar.entry-BqOpdypX.js} +2 -4
- package/dist/assets/{kol-avatar.entry-BEIJ42cm.js.map → kol-avatar.entry-BqOpdypX.js.map} +1 -1
- package/dist/assets/{kol-badge.entry-BaEuYc9Y.js → kol-badge.entry-Cg75JGX9.js} +26 -11
- package/dist/assets/kol-badge.entry-Cg75JGX9.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-B1M-ICWk.js → kol-breadcrumb.entry-9NFrFUcW.js} +2 -4
- package/dist/assets/{kol-breadcrumb.entry-B1M-ICWk.js.map → kol-breadcrumb.entry-9NFrFUcW.js.map} +1 -1
- package/dist/assets/kol-button-group-wc.entry-D4znws2r.js +2 -0
- package/dist/assets/{kol-button-group-wc.entry-gxJB7Us_.js.map → kol-button-group-wc.entry-D4znws2r.js.map} +1 -1
- package/dist/assets/{kol-button-group.entry-7Kwq3b2J.js → kol-button-group.entry-CkaSDDbi.js} +2 -4
- package/dist/assets/{kol-button-group.entry-7Kwq3b2J.js.map → kol-button-group.entry-CkaSDDbi.js.map} +1 -1
- package/dist/assets/{kol-button-link.entry-CxDJpq2F.js → kol-button-link.entry-1SbZAYUg.js} +25 -10
- package/dist/assets/kol-button-link.entry-1SbZAYUg.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-DF07OJ_s.js +2 -0
- package/dist/assets/{kol-button-wc.entry-DL3fnwBe.js.map → kol-button-wc.entry-DF07OJ_s.js.map} +1 -1
- package/dist/assets/{kol-button.entry-CWgFvGjU.js → kol-button.entry-DYzax3G6.js} +26 -11
- package/dist/assets/kol-button.entry-DYzax3G6.js.map +1 -0
- package/dist/assets/{kol-card.entry-BcWCuGZJ.js → kol-card.entry-BSd5V-KY.js} +26 -11
- package/dist/assets/kol-card.entry-BSd5V-KY.js.map +1 -0
- package/dist/assets/{kol-combobox.entry-DmuLP5tq.js → kol-combobox.entry-vPb3LcCK.js} +26 -11
- package/dist/assets/kol-combobox.entry-vPb3LcCK.js.map +1 -0
- package/dist/assets/{kol-details.entry-FhRO6hlU.js → kol-details.entry-CgGIQFvJ.js} +2 -4
- package/dist/assets/{kol-details.entry-FhRO6hlU.js.map → kol-details.entry-CgGIQFvJ.js.map} +1 -1
- package/dist/assets/{kol-drawer.entry-DJ_RFkAW.js → kol-drawer.entry-C1MBk6Tn.js} +2 -4
- package/dist/assets/{kol-drawer.entry-DJ_RFkAW.js.map → kol-drawer.entry-C1MBk6Tn.js.map} +1 -1
- package/dist/assets/{kol-form.entry-BBTC6wUn.js → kol-form.entry-CUnlDfpB.js} +26 -11
- package/dist/assets/kol-form.entry-CUnlDfpB.js.map +1 -0
- package/dist/assets/kol-heading-wc.entry-CMCnOb4D.js +2 -0
- package/dist/assets/{kol-heading-wc.entry-m5Cf0Rnw.js.map → kol-heading-wc.entry-CMCnOb4D.js.map} +1 -1
- package/dist/assets/{kol-heading.entry-D5h4FaeZ.js → kol-heading.entry-BkTN2rMW.js} +2 -4
- package/dist/assets/{kol-heading.entry-D5h4FaeZ.js.map → kol-heading.entry-BkTN2rMW.js.map} +1 -1
- package/dist/assets/{kol-icon.entry-Cj5tF8hV.js → kol-icon.entry-B2A-Chx6.js} +2 -4
- package/dist/assets/{kol-icon.entry-Cj5tF8hV.js.map → kol-icon.entry-B2A-Chx6.js.map} +1 -1
- package/dist/assets/{kol-image.entry-C-N-n4dB.js → kol-image.entry-aEj8Md2a.js} +2 -4
- package/dist/assets/{kol-image.entry-C-N-n4dB.js.map → kol-image.entry-aEj8Md2a.js.map} +1 -1
- package/dist/assets/kol-indented-text-wc.entry-cgBQOQhf.js +2 -0
- package/dist/assets/{kol-indented-text-wc.entry-CvduLasQ.js.map → kol-indented-text-wc.entry-cgBQOQhf.js.map} +1 -1
- package/dist/assets/{kol-indented-text.entry-C_aJEJ-v.js → kol-indented-text.entry-CtLFE4l-.js} +2 -4
- package/dist/assets/{kol-indented-text.entry-C_aJEJ-v.js.map → kol-indented-text.entry-CtLFE4l-.js.map} +1 -1
- package/dist/assets/{kol-input-checkbox.entry-B76zrY_f.js → kol-input-checkbox.entry-D88457cb.js} +26 -11
- package/dist/assets/kol-input-checkbox.entry-D88457cb.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-B7ed7INr.js → kol-input-color.entry-C6KyXjxF.js} +26 -11
- package/dist/assets/kol-input-color.entry-C6KyXjxF.js.map +1 -0
- package/dist/assets/{kol-input-date.entry-BcZLewxN.js → kol-input-date.entry-CPnRWUgy.js} +26 -11
- package/dist/assets/kol-input-date.entry-CPnRWUgy.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-BH6tPw0I.js → kol-input-email.entry-FvsivjsA.js} +26 -11
- package/dist/assets/kol-input-email.entry-FvsivjsA.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-DSseO_Z5.js → kol-input-file.entry-Ci8JA1AN.js} +25 -10
- package/dist/assets/kol-input-file.entry-Ci8JA1AN.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-DidNuGEd.js → kol-input-number.entry-B9_Sp50Y.js} +26 -11
- package/dist/assets/kol-input-number.entry-B9_Sp50Y.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-BCHE1Iu3.js → kol-input-password.entry-UcE2a0-p.js} +26 -11
- package/dist/assets/kol-input-password.entry-UcE2a0-p.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-3WrdQ6DK.js → kol-input-radio.entry-BOg1TZ6l.js} +26 -11
- package/dist/assets/kol-input-radio.entry-BOg1TZ6l.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-Dy0wCxRM.js → kol-input-range.entry-B2VNOtgT.js} +25 -10
- package/dist/assets/kol-input-range.entry-B2VNOtgT.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-yfz2bq69.js → kol-input-text.entry-FBPc98QI.js} +26 -11
- package/dist/assets/kol-input-text.entry-FBPc98QI.js.map +1 -0
- package/dist/assets/kol-input.entry-BLj4WIgd.js +2 -0
- package/dist/assets/{kol-input.entry-CmqoapP2.js.map → kol-input.entry-BLj4WIgd.js.map} +1 -1
- package/dist/assets/{kol-kolibri.entry-BVJhe2AN.js → kol-kolibri.entry-BMrCY-bU.js} +2 -4
- package/dist/assets/{kol-kolibri.entry-BVJhe2AN.js.map → kol-kolibri.entry-BMrCY-bU.js.map} +1 -1
- package/dist/assets/{kol-link-button.entry-Brtza8KX.js → kol-link-button.entry-4Z6jNk-V.js} +26 -11
- package/dist/assets/{kol-link-button.entry-Brtza8KX.js.map → kol-link-button.entry-4Z6jNk-V.js.map} +1 -1
- package/dist/assets/{kol-link-group.entry-B5MTjjCt.js → kol-link-group.entry-C05lNDs2.js} +2 -4
- package/dist/assets/{kol-link-group.entry-B5MTjjCt.js.map → kol-link-group.entry-C05lNDs2.js.map} +1 -1
- package/dist/assets/kol-link-wc.entry-ChE-l-05.js +2 -0
- package/dist/assets/{kol-link-wc.entry-DeQ02o0Z.js.map → kol-link-wc.entry-ChE-l-05.js.map} +1 -1
- package/dist/assets/{kol-link.entry-DaI5E_CF.js → kol-link.entry-T3lnuoCj.js} +26 -11
- package/dist/assets/{kol-link.entry-DaI5E_CF.js.map → kol-link.entry-T3lnuoCj.js.map} +1 -1
- package/dist/assets/{kol-logo.entry-nf3bEdOr.js → kol-logo.entry-Br_ACUn3.js} +2 -4
- package/dist/assets/{kol-logo.entry-nf3bEdOr.js.map → kol-logo.entry-Br_ACUn3.js.map} +1 -1
- package/dist/assets/{kol-modal.entry-D9gmUEmt.js → kol-modal.entry-CjrQfapl.js} +2 -4
- package/dist/assets/{kol-modal.entry-D9gmUEmt.js.map → kol-modal.entry-CjrQfapl.js.map} +1 -1
- package/dist/assets/{kol-nav.entry-DonhfdBk.js → kol-nav.entry-DSKOB3w6.js} +26 -11
- package/dist/assets/kol-nav.entry-DSKOB3w6.js.map +1 -0
- package/dist/assets/{kol-pagination.entry-Cx0w89TI.js → kol-pagination.entry-C7yYJDCF.js} +26 -11
- package/dist/assets/kol-pagination.entry-C7yYJDCF.js.map +1 -0
- package/dist/assets/{kol-popover-button.entry-DguQ93pz.js → kol-popover-button.entry-BPuk5bzb.js} +26 -11
- package/dist/assets/kol-popover-button.entry-BPuk5bzb.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-BEb6BxJG.js +2 -0
- package/dist/assets/{kol-popover-wc.entry-DU2b6gWJ.js.map → kol-popover-wc.entry-BEb6BxJG.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-BzRrudIG.js → kol-progress.entry-Bn3O-bKZ.js} +2 -4
- package/dist/assets/{kol-progress.entry-BzRrudIG.js.map → kol-progress.entry-Bn3O-bKZ.js.map} +1 -1
- package/dist/assets/{kol-quote.entry-BJKqbnhH.js → kol-quote.entry-BtMzddJf.js} +2 -4
- package/dist/assets/{kol-quote.entry-BJKqbnhH.js.map → kol-quote.entry-BtMzddJf.js.map} +1 -1
- package/dist/assets/{kol-select.entry-jLG-26rN.js → kol-select.entry-Dn0259Rc.js} +26 -11
- package/dist/assets/kol-select.entry-Dn0259Rc.js.map +1 -0
- package/dist/assets/{kol-single-select.entry-DqWqzNN2.js → kol-single-select.entry-BuZNIOdM.js} +26 -11
- package/dist/assets/kol-single-select.entry-BuZNIOdM.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-ePu-ME-m.js → kol-skip-nav.entry-Kw1aRhvy.js} +3 -5
- package/dist/assets/{kol-skip-nav.entry-ePu-ME-m.js.map → kol-skip-nav.entry-Kw1aRhvy.js.map} +1 -1
- package/dist/assets/{kol-span-wc.entry-B_4lYSJa.js → kol-span-wc.entry-n2M8pf_M.js} +2 -4
- package/dist/assets/{kol-span-wc.entry-B_4lYSJa.js.map → kol-span-wc.entry-n2M8pf_M.js.map} +1 -1
- package/dist/assets/{kol-spin.entry-BDxEkQF7.js → kol-spin.entry-B6u-_3o0.js} +2 -4
- package/dist/assets/{kol-spin.entry-BDxEkQF7.js.map → kol-spin.entry-B6u-_3o0.js.map} +1 -1
- package/dist/assets/{kol-split-button.entry-DTs0Ge3U.js → kol-split-button.entry-DqHOSoG_.js} +25 -10
- package/dist/assets/kol-split-button.entry-DqHOSoG_.js.map +1 -0
- package/dist/assets/kol-symbol.entry-bFxG0YWM.js +2 -0
- package/dist/assets/{kol-symbol.entry-C7rPA17Z.js.map → kol-symbol.entry-bFxG0YWM.js.map} +1 -1
- package/dist/assets/{kol-table-stateful.entry-_YmOg_Zr.js → kol-table-stateful.entry-MDWEspMN.js} +26 -11
- package/dist/assets/kol-table-stateful.entry-MDWEspMN.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-BCftI1aw.js +2 -0
- package/dist/assets/kol-table-stateless-wc.entry-BCftI1aw.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-D-wrMsED.js → kol-table-stateless.entry-DPL5idce.js} +25 -10
- package/dist/assets/{kol-table-stateless.entry-D-wrMsED.js.map → kol-table-stateless.entry-DPL5idce.js.map} +1 -1
- package/dist/assets/kol-table.entry-BG8r3M1d.js +2 -0
- package/dist/assets/{kol-table.entry-BDD-wKwf.js.map → kol-table.entry-BG8r3M1d.js.map} +1 -1
- package/dist/assets/{kol-tabs.entry-CKKuTHqy.js → kol-tabs.entry-Dh4QuIwi.js} +27 -12
- package/dist/assets/kol-tabs.entry-Dh4QuIwi.js.map +1 -0
- package/dist/assets/{kol-textarea.entry-iqtysxgp.js → kol-textarea.entry-CgV9vlzM.js} +26 -11
- package/dist/assets/kol-textarea.entry-CgV9vlzM.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-BtT0mxOr.js → kol-toast-container.entry-BhU1cgSQ.js} +26 -11
- package/dist/assets/kol-toast-container.entry-BhU1cgSQ.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-BDZPg0Fn.js → kol-toolbar.entry-sT-n4iMe.js} +26 -11
- package/dist/assets/kol-toolbar.entry-sT-n4iMe.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-2nX0yN5f.js +2 -0
- package/dist/assets/kol-tooltip-wc.entry-2nX0yN5f.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-D26bOpjH.js +2 -0
- package/dist/assets/{kol-tree-item-wc.entry-B2NTruKX.js.map → kol-tree-item-wc.entry-D26bOpjH.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-BMq44t19.js → kol-tree-item.entry-BjYt7jlc.js} +2 -4
- package/dist/assets/{kol-tree-item.entry-BMq44t19.js.map → kol-tree-item.entry-BjYt7jlc.js.map} +1 -1
- package/dist/assets/kol-tree-wc.entry-RAsuuQRW.js +2 -0
- package/dist/assets/{kol-tree-wc.entry-CwqgyAyt.js.map → kol-tree-wc.entry-RAsuuQRW.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-BuMB_eH8.js → kol-tree.entry-BNNEX845.js} +2 -4
- package/dist/assets/{kol-tree.entry-BuMB_eH8.js.map → kol-tree.entry-BNNEX845.js.map} +1 -1
- package/dist/assets/{kol-version.entry-BqnUnYrZ.js → kol-version.entry-SZbczsFh.js} +2 -4
- package/dist/assets/{kol-version.entry-BqnUnYrZ.js.map → kol-version.entry-SZbczsFh.js.map} +1 -1
- package/dist/assets/label-7d1ce375-CRYhANwA.js +2 -0
- package/dist/assets/{label-7d1ce375-BFrJRMqI.js.map → label-7d1ce375-CRYhANwA.js.map} +1 -1
- package/dist/assets/material-icons/README.md +19 -14
- package/dist/assets/material-icons/_data/versions.json +2123 -2123
- package/dist/assets/material-icons/index.d.ts +2122 -2122
- package/dist/assets/material-icons/package.json +50 -50
- package/dist/assets/material-symbols/README.md +18 -11
- package/dist/assets/material-symbols/index.d.ts +2803 -2803
- package/dist/assets/material-symbols/package.json +39 -39
- package/dist/assets/open-74ada92d-CvZKHcmn.js +2 -0
- package/dist/assets/{open-74ada92d-BvcxmFHz.js.map → open-74ada92d-CvZKHcmn.js.map} +1 -1
- package/dist/assets/rows-8ed50d64-BuBNmTdC.js +2 -0
- package/dist/assets/{rows-8ed50d64-KjuVedIm.js.map → rows-8ed50d64-BuBNmTdC.js.map} +1 -1
- package/dist/assets/show-bfd36a90-7_tSd9_J.js +2 -0
- package/dist/assets/{show-bfd36a90-Kte4Wx63.js.map → show-bfd36a90-7_tSd9_J.js.map} +1 -1
- package/dist/assets/spell-check-82b14d35-BLTvDeaD.js +2 -0
- package/dist/assets/{spell-check-82b14d35-DZ5QRl6C.js.map → spell-check-82b14d35-BLTvDeaD.js.map} +1 -1
- package/dist/assets/suggestions-506c439a-D4Srro4q.js +2 -0
- package/dist/assets/{suggestions-506c439a-CQXDoQKd.js.map → suggestions-506c439a-D4Srro4q.js.map} +1 -1
- package/dist/assets/table-selection-0290d830-wKBE71Xx.js +2 -0
- package/dist/assets/{table-selection-0290d830-D2faY19K.js.map → table-selection-0290d830-wKBE71Xx.js.map} +1 -1
- package/dist/assets/test-component.entry-C7cBozuD.js +2 -0
- package/dist/assets/{test-component.entry-CcjZhfWm.js.map → test-component.entry-C7cBozuD.js.map} +1 -1
- package/dist/assets/tooltip-align-6964dd71-64os84J5.js +2 -0
- package/dist/assets/{tooltip-align-6964dd71-32NcQL5L.js.map → tooltip-align-6964dd71-64os84J5.js.map} +1 -1
- package/dist/assets/tooltip-open-tracking-23a84b19-DRkgcff2.js +2 -0
- package/dist/assets/{tooltip-open-tracking-23a84b19-CZrYVTp5.js.map → tooltip-open-tracking-23a84b19-DRkgcff2.js.map} +1 -1
- package/dist/assets/tslib.es6-1173d062-BGVaTf34.js +2 -0
- package/dist/assets/{tslib.es6-1173d062-BAJoBDh7.js.map → tslib.es6-1173d062-BGVaTf34.js.map} +1 -1
- package/dist/assets/unique-nav-labels-4be6182a-3Ql512Oy.js +2 -0
- package/dist/assets/{unique-nav-labels-4be6182a-BV8_F1jE.js.map → unique-nav-labels-4be6182a-3Ql512Oy.js.map} +1 -1
- package/dist/assets/validation-7170ea32-BHKlOJSv.js +2 -0
- package/dist/assets/{validation-7170ea32-DlT9y4Cy.js.map → validation-7170ea32-BHKlOJSv.js.map} +1 -1
- package/dist/assets/validation-b34ff01a-hddxmFqy.js +2 -0
- package/dist/assets/{validation-b34ff01a-Kth4YFP5.js.map → validation-b34ff01a-hddxmFqy.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +15 -15
- package/public/assets/material-icons/README.md +19 -14
- package/public/assets/material-icons/_data/versions.json +2123 -2123
- package/public/assets/material-icons/index.d.ts +2122 -2122
- package/public/assets/material-icons/package.json +50 -50
- package/public/assets/material-symbols/README.md +18 -11
- package/public/assets/material-symbols/index.d.ts +2803 -2803
- package/public/assets/material-symbols/package.json +39 -39
- package/src/components/skip-nav/basic.tsx +35 -26
- package/src/components/table/direction-aware-sort.tsx +65 -0
- package/src/components/table/horizontal-scrollbar.tsx +1 -6
- package/src/components/table/routes.ts +7 -5
- package/src/scenarios/custom-tooltip-css-properties.tsx +42 -0
- package/src/scenarios/date-in-form.tsx +24 -0
- package/src/scenarios/routes.ts +4 -2
- package/dist/assets/Alert-0e712d66-uBEYhT93.js +0 -4
- package/dist/assets/Collapsible-18d9607a-amR5-Orl.js +0 -4
- package/dist/assets/FormFieldMsg-c5be4e2c-D7DaZUCH.js +0 -4
- package/dist/assets/InternalUnderlinedBadgeText-1fac598e-BG7MOeGO.js +0 -4
- package/dist/assets/access-and-short-key-914780a7-D_amaVwB.js +0 -4
- package/dist/assets/align-f3101425-B4vHQ56A.js +0 -4
- package/dist/assets/align-floating-elements-a7a489c8-ByZWe2kh.js +0 -4
- package/dist/assets/associated.controller-d302adf7-CA_utPAF.js +0 -4
- package/dist/assets/badge-text-553534d4-CMC8YLDf.js +0 -4
- package/dist/assets/button-variant-ebe4a1ea-CWrzeNL5.js +0 -4
- package/dist/assets/clsx-09a06a12-BT_IL7Fz.js +0 -4
- package/dist/assets/clsx-09a06a12-BT_IL7Fz.js.map +0 -1
- package/dist/assets/color-48d7fdf1-Bn8Gtu9P.js +0 -4
- package/dist/assets/controller-06c08e87-DgCcoVLc.js +0 -4
- package/dist/assets/controller-728fbdd1-CXKcVRFp.js +0 -4
- package/dist/assets/controller-b19ef5c0-CJ2PcwNV.js +0 -4
- package/dist/assets/controller-c87b8bd9-CFkAiCfW.js +0 -4
- package/dist/assets/controller-c87b8bd9-CFkAiCfW.js.map +0 -1
- package/dist/assets/controller-fa5508b8-CYjrNW9t.js +0 -4
- package/dist/assets/controller-icon-b3eb5a58-lNp5Jesx.js +0 -4
- package/dist/assets/custom-class-14f41251-CpMmOpkY.js +0 -4
- package/dist/assets/debounce-99d34c2d-OEdnHK1N.js +0 -4
- package/dist/assets/devtools-9fd2762f--VxHs-M_.js +0 -16
- package/dist/assets/disabled-26405bb8-yLGjk0L4.js +0 -4
- package/dist/assets/events-29e84d75-BhxFwhXP.js +0 -4
- package/dist/assets/has-closer-602527ae-KyGw3ri5.js +0 -4
- package/dist/assets/hide-label-0d754c8e-boPBSzV4.js +0 -4
- package/dist/assets/href-3ee53c2c-CTJOUpja.js +0 -4
- package/dist/assets/i18n-3dd5729d-DO6dvkOz.js +0 -4
- package/dist/assets/icons-adcda9b0-DCcG5I_T.js +0 -4
- package/dist/assets/image-source-d9230e9b-C8Ni--uD.js +0 -4
- package/dist/assets/index-7WRSZKTT.js.map +0 -1
- package/dist/assets/index-vFkaXpMl.css +0 -1
- package/dist/assets/keyboard-77e19a81-D1ah5412.js +0 -4
- package/dist/assets/kol-alert-wc.entry-BFCuKloN.js +0 -4
- package/dist/assets/kol-avatar-wc.entry-BvgpNTZE.js +0 -4
- package/dist/assets/kol-badge.entry-BaEuYc9Y.js.map +0 -1
- package/dist/assets/kol-button-group-wc.entry-gxJB7Us_.js +0 -4
- package/dist/assets/kol-button-link.entry-CxDJpq2F.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-DL3fnwBe.js +0 -4
- package/dist/assets/kol-button.entry-CWgFvGjU.js.map +0 -1
- package/dist/assets/kol-card.entry-BcWCuGZJ.js.map +0 -1
- package/dist/assets/kol-combobox.entry-DmuLP5tq.js.map +0 -1
- package/dist/assets/kol-form.entry-BBTC6wUn.js.map +0 -1
- package/dist/assets/kol-heading-wc.entry-m5Cf0Rnw.js +0 -4
- package/dist/assets/kol-indented-text-wc.entry-CvduLasQ.js +0 -4
- package/dist/assets/kol-input-checkbox.entry-B76zrY_f.js.map +0 -1
- package/dist/assets/kol-input-color.entry-B7ed7INr.js.map +0 -1
- package/dist/assets/kol-input-date.entry-BcZLewxN.js.map +0 -1
- package/dist/assets/kol-input-email.entry-BH6tPw0I.js.map +0 -1
- package/dist/assets/kol-input-file.entry-DSseO_Z5.js.map +0 -1
- package/dist/assets/kol-input-number.entry-DidNuGEd.js.map +0 -1
- package/dist/assets/kol-input-password.entry-BCHE1Iu3.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-3WrdQ6DK.js.map +0 -1
- package/dist/assets/kol-input-range.entry-Dy0wCxRM.js.map +0 -1
- package/dist/assets/kol-input-text.entry-yfz2bq69.js.map +0 -1
- package/dist/assets/kol-input.entry-CmqoapP2.js +0 -4
- package/dist/assets/kol-link-wc.entry-DeQ02o0Z.js +0 -4
- package/dist/assets/kol-nav.entry-DonhfdBk.js.map +0 -1
- package/dist/assets/kol-pagination.entry-Cx0w89TI.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-DguQ93pz.js.map +0 -1
- package/dist/assets/kol-popover-wc.entry-DU2b6gWJ.js +0 -4
- package/dist/assets/kol-select.entry-jLG-26rN.js.map +0 -1
- package/dist/assets/kol-single-select.entry-DqWqzNN2.js.map +0 -1
- package/dist/assets/kol-split-button.entry-DTs0Ge3U.js.map +0 -1
- package/dist/assets/kol-symbol.entry-C7rPA17Z.js +0 -4
- package/dist/assets/kol-table-stateful.entry-_YmOg_Zr.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-BJoqdOUx.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-BJoqdOUx.js.map +0 -1
- package/dist/assets/kol-table.entry-BDD-wKwf.js +0 -4
- package/dist/assets/kol-tabs.entry-CKKuTHqy.js.map +0 -1
- package/dist/assets/kol-textarea.entry-iqtysxgp.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-BtT0mxOr.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-BDZPg0Fn.js.map +0 -1
- package/dist/assets/kol-tooltip-wc.entry-C61tRBS8.js +0 -4
- package/dist/assets/kol-tooltip-wc.entry-C61tRBS8.js.map +0 -1
- package/dist/assets/kol-tree-item-wc.entry-B2NTruKX.js +0 -4
- package/dist/assets/kol-tree-wc.entry-CwqgyAyt.js +0 -4
- package/dist/assets/label-7d1ce375-BFrJRMqI.js +0 -4
- package/dist/assets/open-74ada92d-BvcxmFHz.js +0 -4
- package/dist/assets/rows-8ed50d64-KjuVedIm.js +0 -4
- package/dist/assets/show-bfd36a90-Kte4Wx63.js +0 -4
- package/dist/assets/spell-check-82b14d35-DZ5QRl6C.js +0 -4
- package/dist/assets/suggestions-506c439a-CQXDoQKd.js +0 -4
- package/dist/assets/table-selection-0290d830-D2faY19K.js +0 -4
- package/dist/assets/test-component.entry-CcjZhfWm.js +0 -4
- package/dist/assets/tooltip-align-6964dd71-32NcQL5L.js +0 -4
- package/dist/assets/tooltip-open-tracking-23a84b19-CZrYVTp5.js +0 -4
- package/dist/assets/tslib.es6-1173d062-BAJoBDh7.js +0 -4
- package/dist/assets/unique-nav-labels-4be6182a-BV8_F1jE.js +0 -4
- package/dist/assets/validation-7170ea32-DlT9y4Cy.js +0 -4
- package/dist/assets/validation-b34ff01a-Kth4YFP5.js +0 -4
- package/src/scenarios/custom-tooltip-width.tsx +0 -33
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var n;(function(o){o.onBlur="onBlur",o.onChange="onChange",o.onClick="onClick",o.onDblClick="onDblClick",o.onFocus="onFocus",o.onInput="onInput",o.onKeyDown="onKeyDown",o.onKeyPress="onKeyPress",o.onKeyUp="onKeyUp",o.onMouseDown="onMouseDown",o.onMouseMove="onMouseMove",o.onMouseOut="onMouseOut",o.onMouseOver="onMouseOver",o.onMouseUp="onMouseUp",o.onReset="onReset",o.onSelect="onSelect",o.onSort="onSort",o.onSelectionChange="onSelectionChange",o.onSubmit="onSubmit",o.onToggle="onToggle",o.onClose="onClose"})(n||(n={}));var r;(function(o){o.ArrowDown="ArrowDown",o.ArrowLeft="ArrowLeft",o.ArrowRight="ArrowRight",o.ArrowUp="ArrowUp",o.Enter="Enter",o.Space=" "})(r||(r={}));export{n as E,r as K};
|
|
2
|
+
//# sourceMappingURL=keyboard-77e19a81-BWwnOSNt.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyboard-77e19a81-
|
|
1
|
+
{"version":3,"file":"keyboard-77e19a81-BWwnOSNt.js","sources":["../../../../components/dist/esm/keyboard-77e19a81.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nvar Events;\n(function (Events) {\n Events[\"onBlur\"] = \"onBlur\";\n Events[\"onChange\"] = \"onChange\";\n Events[\"onClick\"] = \"onClick\";\n Events[\"onDblClick\"] = \"onDblClick\";\n Events[\"onFocus\"] = \"onFocus\";\n Events[\"onInput\"] = \"onInput\";\n Events[\"onKeyDown\"] = \"onKeyDown\";\n Events[\"onKeyPress\"] = \"onKeyPress\";\n Events[\"onKeyUp\"] = \"onKeyUp\";\n Events[\"onMouseDown\"] = \"onMouseDown\";\n Events[\"onMouseMove\"] = \"onMouseMove\";\n Events[\"onMouseOut\"] = \"onMouseOut\";\n Events[\"onMouseOver\"] = \"onMouseOver\";\n Events[\"onMouseUp\"] = \"onMouseUp\";\n Events[\"onReset\"] = \"onReset\";\n Events[\"onSelect\"] = \"onSelect\";\n Events[\"onSort\"] = \"onSort\";\n Events[\"onSelectionChange\"] = \"onSelectionChange\";\n Events[\"onSubmit\"] = \"onSubmit\";\n Events[\"onToggle\"] = \"onToggle\";\n Events[\"onClose\"] = \"onClose\";\n})(Events || (Events = {}));\n\nvar KeyboardKey;\n(function (KeyboardKey) {\n KeyboardKey[\"ArrowDown\"] = \"ArrowDown\";\n KeyboardKey[\"ArrowLeft\"] = \"ArrowLeft\";\n KeyboardKey[\"ArrowRight\"] = \"ArrowRight\";\n KeyboardKey[\"ArrowUp\"] = \"ArrowUp\";\n KeyboardKey[\"Enter\"] = \"Enter\";\n KeyboardKey[\"Space\"] = \" \";\n})(KeyboardKey || (KeyboardKey = {}));\n\nexport { Events as E, KeyboardKey as K };\n\n//# sourceMappingURL=keyboard-77e19a81.js.map"],"names":["Events","KeyboardKey"],"mappings":"AAGG,IAACA,GACH,SAAUA,EAAQ,CACfA,EAAO,OAAY,SACnBA,EAAO,SAAc,WACrBA,EAAO,QAAa,UACpBA,EAAO,WAAgB,aACvBA,EAAO,QAAa,UACpBA,EAAO,QAAa,UACpBA,EAAO,UAAe,YACtBA,EAAO,WAAgB,aACvBA,EAAO,QAAa,UACpBA,EAAO,YAAiB,cACxBA,EAAO,YAAiB,cACxBA,EAAO,WAAgB,aACvBA,EAAO,YAAiB,cACxBA,EAAO,UAAe,YACtBA,EAAO,QAAa,UACpBA,EAAO,SAAc,WACrBA,EAAO,OAAY,SACnBA,EAAO,kBAAuB,oBAC9BA,EAAO,SAAc,WACrBA,EAAO,SAAc,WACrBA,EAAO,QAAa,SACxB,GAAGA,IAAWA,EAAS,CAAA,EAAG,EAEvB,IAACC,GACH,SAAUA,EAAa,CACpBA,EAAY,UAAe,YAC3BA,EAAY,UAAe,YAC3BA,EAAY,WAAgB,aAC5BA,EAAY,QAAa,UACzBA,EAAY,MAAW,QACvBA,EAAY,MAAW,GAC3B,GAAGA,IAAgBA,EAAc,CAAA,EAAG"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as e,h as t,K as i,H as o}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const r=`/*
|
|
1
|
+
import{r as e,h as t,K as i,H as o}from"./index-mpn7FJjz.js";import{n as a}from"./dev.utils-0183c4e9-BmQjDv4V.js";import{v as l}from"./label-7d1ce375-CRYhANwA.js";import{v as s}from"./tooltip-align-6964dd71-64os84J5.js";import"./align-f3101425-DKwd4Xuv.js";const r=`/*
|
|
4
2
|
* This file contains all rules for accessibility.
|
|
5
3
|
*/
|
|
6
4
|
@layer kol-a11y {
|
|
@@ -181,21 +179,29 @@ import{r as e,h as t,K as i,H as o}from"./index-7WRSZKTT.js";import{n as a}from"
|
|
|
181
179
|
display: contents;
|
|
182
180
|
}
|
|
183
181
|
.kol-tooltip-wc .tooltip-floating {
|
|
182
|
+
opacity: 0;
|
|
184
183
|
display: none;
|
|
185
184
|
position: fixed;
|
|
186
185
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
187
186
|
top: 0;
|
|
188
187
|
left: 0;
|
|
189
|
-
/* Can be used to specify the tooltip-width from the outside. Unset by default.
|
|
190
|
-
width: var(--kol-tooltip-width);
|
|
188
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
189
|
+
width: var(--kol-tooltip-width, unset);
|
|
191
190
|
max-width: 90vw;
|
|
192
191
|
max-height: 90vh;
|
|
193
|
-
|
|
194
|
-
animation
|
|
192
|
+
animation-direction: normal;
|
|
193
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
194
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
195
|
+
animation-fill-mode: forwards;
|
|
195
196
|
animation-iteration-count: 1;
|
|
196
|
-
animation-name: fadeInOpacity;
|
|
197
197
|
animation-timing-function: ease-in;
|
|
198
198
|
}
|
|
199
|
+
.kol-tooltip-wc .tooltip-floating.hide {
|
|
200
|
+
animation-name: hideTooltip;
|
|
201
|
+
}
|
|
202
|
+
.kol-tooltip-wc .tooltip-floating.show {
|
|
203
|
+
animation-name: showTooltip;
|
|
204
|
+
}
|
|
199
205
|
/* Shared between content and arrow */
|
|
200
206
|
.kol-tooltip-wc .tooltip-area {
|
|
201
207
|
color: #000;
|
|
@@ -212,7 +218,16 @@ import{r as e,h as t,K as i,H as o}from"./index-7WRSZKTT.js";import{n as a}from"
|
|
|
212
218
|
position: relative;
|
|
213
219
|
z-index: 1000;
|
|
214
220
|
}
|
|
215
|
-
@keyframes
|
|
221
|
+
@keyframes hideTooltip {
|
|
222
|
+
0% {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
}
|
|
225
|
+
100% {
|
|
226
|
+
opacity: 0;
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
@keyframes showTooltip {
|
|
216
231
|
0% {
|
|
217
232
|
opacity: 0;
|
|
218
233
|
}
|
|
@@ -226,4 +241,4 @@ import{r as e,h as t,K as i,H as o}from"./index-7WRSZKTT.js";import{n as a}from"
|
|
|
226
241
|
cursor: help;
|
|
227
242
|
}
|
|
228
243
|
}`,d=r,c=class{constructor(n){e(this,n),this.nonce=a(),this._label=void 0,this._tooltipAlign="top",this.state={_label:"",_tooltipAlign:"top"}}render(){return t(o,{key:"598d706f074db11649d068894821a214d3373d11",class:"kol-abbr"},t("abbr",{key:"cea033577a07ea9cbc48cf32f2afa798b2f70c1b","aria-labelledby":this.nonce,role:"definition",tabindex:"0",title:this.state._label},t("span",{key:"f28a0dacfb9e1d5807f763e03401e1b71c0414c3",title:""},t("slot",{key:"c72ee140bfc1c43d781a5309c07f9a47689d6f4e"}))),t(i,{key:"2743bb91c1b770375bda8e19668e7ad698b10baa",_align:this.state._tooltipAlign,_id:this.nonce,_label:this.state._label}))}validateLabel(n){l(this,n,{required:!0})}validateTooltipAlign(n){s(this,n)}componentWillLoad(){this.validateLabel(this._label),this.validateTooltipAlign(this._tooltipAlign)}static get watchers(){return{_label:["validateLabel"],_tooltipAlign:["validateTooltipAlign"]}}};c.style={default:d};export{c as kol_abbr};
|
|
229
|
-
//# sourceMappingURL=kol-abbr.entry-
|
|
244
|
+
//# sourceMappingURL=kol-abbr.entry-C9HBCUAb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-abbr.entry-nqIddTUy.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport './index-7a63e9eb.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { a as KolTooltipWcTag } from './component-names-4cb1c62b.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport { v as validateTooltipAlign } from './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\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 > abbr {\\n cursor: help;\\n }\\n}\";\nconst KolAbbrDefaultStyle0 = defaultStyleCss;\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this._label = undefined;\n this._tooltipAlign = 'top';\n this.state = {\n _label: '',\n _tooltipAlign: 'top',\n };\n }\n render() {\n return (h(Host, { key: '598d706f074db11649d068894821a214d3373d11', class: \"kol-abbr\" }, h(\"abbr\", { key: 'cea033577a07ea9cbc48cf32f2afa798b2f70c1b', \"aria-labelledby\": this.nonce, role: \"definition\", tabindex: \"0\", title: this.state._label }, h(\"span\", { key: 'f28a0dacfb9e1d5807f763e03401e1b71c0414c3', title: \"\" }, h(\"slot\", { key: 'c72ee140bfc1c43d781a5309c07f9a47689d6f4e' }))), h(KolTooltipWcTag, { key: '2743bb91c1b770375bda8e19668e7ad698b10baa', _align: this.state._tooltipAlign, _id: this.nonce, _label: this.state._label })));\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateTooltipAlign(value) {\n validateTooltipAlign(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateTooltipAlign(this._tooltipAlign);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_tooltipAlign\": [\"validateTooltipAlign\"]\n }; }\n};\nKolAbbr.style = {\n default: KolAbbrDefaultStyle0\n};\n\nexport { KolAbbr as kol_abbr };\n\n//# sourceMappingURL=kol-abbr.entry.js.map"],"names":["defaultStyleCss","KolAbbrDefaultStyle0","KolAbbr","hostRef","registerInstance","nonce","h","Host","KolTooltipWcTag","value","validateLabel","validateTooltipAlign"],"mappings":"iQAAA;AAAA;AAAA,GAWA,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;A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AAe,EAC1B,cAAiB,CAAC,sBAAsB,CAChD,CAAO,CACP,EACAP,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
1
|
+
{"version":3,"file":"kol-abbr.entry-C9HBCUAb.js","sources":["../../../../components/dist/esm/kol-abbr.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport './index-7a63e9eb.js';\nimport { n as nonce } from './dev.utils-0183c4e9.js';\nimport { a as KolTooltipWcTag } from './component-names-4cb1c62b.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport { v as validateTooltipAlign } from './tooltip-align-6964dd71.js';\nimport './align-f3101425.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n .kol-tooltip-wc {\\n display: contents;\\n }\\n .kol-tooltip-wc .tooltip-floating {\\n opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, unset);\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip-wc .tooltip-floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip-wc .tooltip-floating.show {\\n animation-name: showTooltip;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n :host > abbr {\\n cursor: help;\\n }\\n}\";\nconst KolAbbrDefaultStyle0 = defaultStyleCss;\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this._label = undefined;\n this._tooltipAlign = 'top';\n this.state = {\n _label: '',\n _tooltipAlign: 'top',\n };\n }\n render() {\n return (h(Host, { key: '598d706f074db11649d068894821a214d3373d11', class: \"kol-abbr\" }, h(\"abbr\", { key: 'cea033577a07ea9cbc48cf32f2afa798b2f70c1b', \"aria-labelledby\": this.nonce, role: \"definition\", tabindex: \"0\", title: this.state._label }, h(\"span\", { key: 'f28a0dacfb9e1d5807f763e03401e1b71c0414c3', title: \"\" }, h(\"slot\", { key: 'c72ee140bfc1c43d781a5309c07f9a47689d6f4e' }))), h(KolTooltipWcTag, { key: '2743bb91c1b770375bda8e19668e7ad698b10baa', _align: this.state._tooltipAlign, _id: this.nonce, _label: this.state._label })));\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateTooltipAlign(value) {\n validateTooltipAlign(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateTooltipAlign(this._tooltipAlign);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_tooltipAlign\": [\"validateTooltipAlign\"]\n }; }\n};\nKolAbbr.style = {\n default: KolAbbrDefaultStyle0\n};\n\nexport { KolAbbr as kol_abbr };\n\n//# sourceMappingURL=kol-abbr.entry.js.map"],"names":["defaultStyleCss","KolAbbrDefaultStyle0","KolAbbr","hostRef","registerInstance","nonce","h","Host","KolTooltipWcTag","value","validateLabel","validateTooltipAlign"],"mappings":"iQAWA,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;A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AAAA;AAAA,GAClBC,EAAuBD,EAEvBE,EAAU,KAAM,CAClB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQE,EAAK,EAClB,KAAK,OAAS,OACd,KAAK,cAAgB,MACrB,KAAK,MAAQ,CACT,OAAQ,GACR,cAAe,KAC3B,CACI,CACA,QAAS,CACL,OAAQC,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,UAAU,EAAID,EAAE,OAAQ,CAAE,IAAK,2CAA4C,kBAAmB,KAAK,MAAO,KAAM,aAAc,SAAU,IAAK,MAAO,KAAK,MAAM,MAAM,EAAIA,EAAE,OAAQ,CAAE,IAAK,2CAA4C,MAAO,IAAMA,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CAAC,EAAGA,EAAEE,EAAiB,CAAE,IAAK,2CAA4C,OAAQ,KAAK,MAAM,cAAe,IAAK,KAAK,MAAO,OAAQ,KAAK,MAAM,MAAM,CAAE,CAAC,CACxhB,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,qBAAqBA,EAAO,CACxBE,EAAqB,KAAMF,CAAK,CACpC,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,qBAAqB,KAAK,aAAa,CAChD,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,cAAiB,CAAC,sBAAsB,CAChD,CAAO,CACP,EACAP,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r,h as o,H as d,w as c,i as h,f as s}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const v=(n,t)=>{c(n,"_on",e=>h(e),new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},g=`/*
|
|
1
|
+
import{r,h as o,H as d,w as c,i as h,f as s}from"./index-mpn7FJjz.js";import{n as p}from"./dev.utils-0183c4e9-BmQjDv4V.js";import{w as b}from"./validation-b34ff01a-hddxmFqy.js";import{K as u}from"./Collapsible-bb08ff2a-BtvMERmV.js";import{v as m}from"./disabled-26405bb8-D5O0XqFK.js";import{v as f}from"./open-74ada92d-CvZKHcmn.js";import{v as w}from"./label-7d1ce375-CRYhANwA.js";import"./tslib.es6-1173d062-BGVaTf34.js";import"./clsx-09a06a12-B-dksMZM.js";const v=(n,t)=>{c(n,"_on",e=>h(e),new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},g=`/*
|
|
4
2
|
* This file contains all rules for accessibility.
|
|
5
3
|
*/
|
|
6
4
|
@layer kol-a11y {
|
|
@@ -233,4 +231,4 @@ import{r,h as o,H as d,w as c,i as h,f as s}from"./index-7WRSZKTT.js";import{n a
|
|
|
233
231
|
- onClick auf der KolAccordion anwenden
|
|
234
232
|
- Click-Event prüft den _open-Status der Accordions
|
|
235
233
|
- Logik Öffnet und Schließt entsprechend`);s("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const y=class{constructor(n){r(this,n),this.nonce=p(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,a;(a=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||a===void 0||a.call(e,t,this._open===!0)})},this._disabled=!1,this._label=void 0,this._level=0,this._on=void 0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async focus(){await this.kolFocus()}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:a}=this.state,i="accordion",l={id:this.nonce,label:t,open:n,disabled:e,level:a,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return o(d,{key:"7ddae7d5f74257c2b7c6210b99e2fe96664a92de",class:"kol-accordion"},o(u,Object.assign({key:"95da6a5f290091ac0356ba4481f6fed24cfe832e"},l),o("slot",{key:"cc563067a38896c68041a3a40a3cc3b5c3bc2353"})))}validateDisabled(n){m(this,n)}validateLabel(n){w(this,n,{required:!0})}validateLevel(n){b(this,n)}validateOn(n){v(this,n)}validateOpen(n){f(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};y.style={default:_};export{y as kol_accordion};
|
|
236
|
-
//# sourceMappingURL=kol-accordion.entry-
|
|
234
|
+
//# sourceMappingURL=kol-accordion.entry-D845zqNY.js.map
|
package/dist/assets/{kol-accordion.entry-CZ9MpF3N.js.map → kol-accordion.entry-D845zqNY.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-accordion.entry-CZ9MpF3N.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { w as watchValidator, i as isObject, h as featureHint } from './index-7a63e9eb.js';\nimport { n as nonce } from './dev.utils-e0ebaf6c.js';\nimport { w as watchHeadingLevel } from './validation-b34ff01a.js';\nimport { K as KolCollapsibleFc } from './Collapsible-18d9607a.js';\nimport { v as validateDisabled } from './disabled-26405bb8.js';\nimport { v as validateOpen } from './open-74ada92d.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport './tslib.es6-1173d062.js';\nimport './clsx-09a06a12.js';\nimport './component-names-4cb1c62b.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => isObject(value), new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n min-height: 0;\\n /**\\n * The `overflow: hidden` ensures that the content is not visible during the animated\\n * opening and closing. This should also cut off overlays containing content, but it\\n *does not.\\n */\\n overflow: hidden;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: visibility 0.3s;\\n }\\n .open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .open .collapsible__wrapper-animation {\\n visibility: visible;\\n }\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n @media print {\\n :not(.open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__heading-button button .kol-span-wc {\\n justify-items: start;\\n }\\n}\";\nconst KolAccordionDefaultStyle0 = defaultStyleCss;\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n });\n };\n this._disabled = false;\n this._label = undefined;\n this._level = 0;\n this._on = undefined;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(Host, { key: '7ddae7d5f74257c2b7c6210b99e2fe96664a92de', class: \"kol-accordion\" }, h(KolCollapsibleFc, Object.assign({ key: '95da6a5f290091ac0356ba4481f6fed24cfe832e' }, props), h(\"slot\", { key: 'cc563067a38896c68041a3a40a3cc3b5c3bc2353' }))));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: KolAccordionDefaultStyle0\n};\n\nexport { KolAccordion as kol_accordion };\n\n//# sourceMappingURL=kol-accordion.entry.js.map"],"names":["validateAccordionCallbacks","component","value","watchValidator","isObject","defaultStyleCss","KolAccordionDefaultStyle0","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","_open","_label","_disabled","_level","rootClass","props","h","Host","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen"],"mappings":"0cAAA;AAAA;AAAA,GAeA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAUE,EAASF,CAAK,EAAG,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAChI,EAEMG,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;AA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M,EAAa,MAAQ,CACjB,QAASF,CACb"}
|
|
1
|
+
{"version":3,"file":"kol-accordion.entry-D845zqNY.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport { w as watchValidator, i as isObject, h as featureHint } from './index-7a63e9eb.js';\nimport { n as nonce } from './dev.utils-0183c4e9.js';\nimport { w as watchHeadingLevel } from './validation-b34ff01a.js';\nimport { K as KolCollapsibleFc } from './Collapsible-bb08ff2a.js';\nimport { v as validateDisabled } from './disabled-26405bb8.js';\nimport { v as validateOpen } from './open-74ada92d.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport './tslib.es6-1173d062.js';\nimport './clsx-09a06a12.js';\nimport './component-names-4cb1c62b.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => isObject(value), new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n min-height: 0;\\n /**\\n * The `overflow: hidden` ensures that the content is not visible during the animated\\n * opening and closing. This should also cut off overlays containing content, but it\\n *does not.\\n */\\n overflow: hidden;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: visibility 0.3s;\\n }\\n .open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .open .collapsible__wrapper-animation {\\n visibility: visible;\\n }\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n @media print {\\n :not(.open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__heading-button button .kol-span-wc {\\n justify-items: start;\\n }\\n}\";\nconst KolAccordionDefaultStyle0 = defaultStyleCss;\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n });\n };\n this._disabled = false;\n this._label = undefined;\n this._level = 0;\n this._on = undefined;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async focus() {\n await this.kolFocus();\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(Host, { key: '7ddae7d5f74257c2b7c6210b99e2fe96664a92de', class: \"kol-accordion\" }, h(KolCollapsibleFc, Object.assign({ key: '95da6a5f290091ac0356ba4481f6fed24cfe832e' }, props), h(\"slot\", { key: 'cc563067a38896c68041a3a40a3cc3b5c3bc2353' }))));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: KolAccordionDefaultStyle0\n};\n\nexport { KolAccordion as kol_accordion };\n\n//# sourceMappingURL=kol-accordion.entry.js.map"],"names":["validateAccordionCallbacks","component","value","watchValidator","isObject","defaultStyleCss","KolAccordionDefaultStyle0","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","_open","_label","_disabled","_level","rootClass","props","h","Host","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen"],"mappings":"0cAeA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAUE,EAASF,CAAK,EAAG,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAChI,EAEMG,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;AA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AiBpB,EAAO,CACpBuB,EAAiB,KAAMvB,CAAK,CAChC,CACA,cAAcA,EAAO,CACjBwB,EAAc,KAAMxB,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,cAAcA,EAAO,CACjByB,EAAkB,KAAMzB,CAAK,CACjC,CACA,WAAW0B,EAAI,CACX5B,EAA2B,KAAM4B,CAAE,CACvC,CACA,aAAa1B,EAAO,CAChB2B,EAAa,KAAM3B,CAAK,CAC5B,CACA,mBAAoB,CAChB,KAAK,iBAAiB,KAAK,SAAS,EACpC,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,aAAa,KAAK,KAAK,CAChC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,UAAa,CAAC,kBAAkB,EAChC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,CAChC,CAAO,CACP,EACAM,EAAa,MAAQ,CACjB,QAASF,CACb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as v,h as l,H as c,q as _,s as p,w as i}from"./index-mpn7FJjz.js";import{w as f}from"./validation-b34ff01a-hddxmFqy.js";import{K as m}from"./Alert-e1b49bee-CoPa5ozn.js";import{v as b}from"./has-closer-602527ae-CQRnA1R4.js";import{v as y}from"./label-7d1ce375-CRYhANwA.js";import"./tslib.es6-1173d062-BGVaTf34.js";import"./i18n-3dd5729d-P_HRfCAe.js";import"./clsx-09a06a12-B-dksMZM.js";const s=["default","info","success","warning","error"],o=["card","msg"],H=class{constructor(t){v(this,t),this.close=()=>{var e,a;(a=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||a===void 0||a.call(e,new Event("Close"))},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this.validateOnValue=e=>typeof e=="object"&&e!==null&&typeof e.onClose=="function",this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){const{_alert:t,_hasCloser:e,_label:a,_level:r,_type:n,_variant:d}=this.state,h={alert:t,hasCloser:e,label:a,level:r,type:n,variant:d,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return l(c,{key:"93a18daf255ec95713c85ec926081163cb70df4a"},l(m,Object.assign({key:"dcfb772612cbe77e683b839474ce1e6e56e22dc4"},h),l("slot",{key:"daaca45ea2680f9f458dd24c41947214f391d8b2"})))}validateAlert(t){_(this,"_alert",t)}validateHasCloser(t){b(this,t)}validateLabel(t){y(this,t)}validateLevel(t){f(this,t)}validateOn(t){this.validateOnValue(t)&&p(this,"_on",{onClose:t.onClose})}validateType(t){i(this,"_type",e=>typeof e=="string"&&s.includes(e),new Set(`String {${s.join(", ")}`),t)}validateVariant(t){i(this,"_variant",e=>typeof e=="string"&&o.includes(e),new Set(`AlertVariant {${o.join(", ")}`),t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{H as kol_alert_wc};
|
|
2
|
+
//# sourceMappingURL=kol-alert-wc.entry-k-uzdepp.js.map
|
package/dist/assets/{kol-alert-wc.entry-BFCuKloN.js.map → kol-alert-wc.entry-k-uzdepp.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-alert-wc.entry-k-uzdepp.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport { j as watchBoolean, m as setState, w as watchValidator } from './index-7a63e9eb.js';\nimport { w as watchHeadingLevel } from './validation-b34ff01a.js';\nimport { K as KolAlertFc } from './Alert-e1b49bee.js';\nimport { v as validateHasCloser } from './has-closer-602527ae.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport './tslib.es6-1173d062.js';\nimport './clsx-09a06a12.js';\nimport './i18n-3dd5729d.js';\nimport './i18n-b14e6088.js';\nimport './component-names-4cb1c62b.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst alertVariantOptions = ['card', 'msg'];\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n this._alert = false;\n this._hasCloser = false;\n this._label = undefined;\n this._level = 1;\n this._on = undefined;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 1,\n };\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(Host, { key: '93a18daf255ec95713c85ec926081163cb70df4a' }, h(KolAlertFc, Object.assign({ key: 'dcfb772612cbe77e683b839474ce1e6e56e22dc4' }, props), h(\"slot\", { key: 'daaca45ea2680f9f458dd24c41947214f391d8b2' }))));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n watchValidator(this, '_type', (value) => typeof value === 'string' && alertTypeOptions.includes(value), new Set(`String {${alertTypeOptions.join(', ')}`), value);\n }\n validateVariant(value) {\n watchValidator(this, '_variant', (value) => typeof value === 'string' && alertVariantOptions.includes(value), new Set(`AlertVariant {${alertVariantOptions.join(', ')}`), value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n\n//# sourceMappingURL=kol-alert-wc.entry.js.map"],"names":["alertTypeOptions","alertVariantOptions","KolAlertWc","hostRef","registerInstance","_a","_b","value","_alert","_hasCloser","_label","_level","_type","_variant","props","h","Host","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","watchValidator"],"mappings":"0YAeA,MAAMA,EAAmB,CAAC,UAAW,OAAQ,UAAW,UAAW,OAAO,EACpEC,EAAsB,CAAC,OAAQ,KAAK,EAEpCC,EAAa,KAAM,CACrB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,IAAM,CACf,IAAIE,EAAIC,GACPA,GAAMD,EAAK,KAAK,OAAS,MAAQA,IAAO,OAAS,OAASA,EAAG,WAAa,MAAQC,IAAO,QAAkBA,EAAG,KAAKD,EAAI,IAAI,MAAM,OAAO,CAAC,CAC9I,EACA,KAAK,mBAAqB,IAAM,CAC5B,KAAK,cAAc,EAAK,CAC5B,EACA,KAAK,gBAAmBE,GAAU,OAAOA,GAAU,UAAYA,IA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AoB,KAAK,IAAI,CAAC,EAAE,EAAGM,CAAK,CACnL,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,kBAAkB,KAAK,UAAU,EACtC,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,WAAW,KAAK,GAAG,EACxB,KAAK,aAAa,KAAK,KAAK,EAC5B,KAAK,gBAAgB,KAAK,QAAQ,CACtC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,WAAc,CAAC,mBAAmB,EAClC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,EACxB,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,a as
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const a=`/*
|
|
1
|
+
import{r as t,h as n,a as o,H as i}from"./index-mpn7FJjz.js";const a=`/*
|
|
4
2
|
* This file contains all rules for accessibility.
|
|
5
3
|
*/
|
|
6
4
|
@layer kol-a11y {
|
|
@@ -186,21 +184,29 @@ import{r as t,h as n,a as i,H as o}from"./index-7WRSZKTT.js";/*!
|
|
|
186
184
|
display: contents;
|
|
187
185
|
}
|
|
188
186
|
.kol-tooltip-wc .tooltip-floating {
|
|
187
|
+
opacity: 0;
|
|
189
188
|
display: none;
|
|
190
189
|
position: fixed;
|
|
191
190
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
192
191
|
top: 0;
|
|
193
192
|
left: 0;
|
|
194
|
-
/* Can be used to specify the tooltip-width from the outside. Unset by default.
|
|
195
|
-
width: var(--kol-tooltip-width);
|
|
193
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
194
|
+
width: var(--kol-tooltip-width, unset);
|
|
196
195
|
max-width: 90vw;
|
|
197
196
|
max-height: 90vh;
|
|
198
|
-
|
|
199
|
-
animation
|
|
197
|
+
animation-direction: normal;
|
|
198
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
199
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
200
|
+
animation-fill-mode: forwards;
|
|
200
201
|
animation-iteration-count: 1;
|
|
201
|
-
animation-name: fadeInOpacity;
|
|
202
202
|
animation-timing-function: ease-in;
|
|
203
203
|
}
|
|
204
|
+
.kol-tooltip-wc .tooltip-floating.hide {
|
|
205
|
+
animation-name: hideTooltip;
|
|
206
|
+
}
|
|
207
|
+
.kol-tooltip-wc .tooltip-floating.show {
|
|
208
|
+
animation-name: showTooltip;
|
|
209
|
+
}
|
|
204
210
|
/* Shared between content and arrow */
|
|
205
211
|
.kol-tooltip-wc .tooltip-area {
|
|
206
212
|
color: #000;
|
|
@@ -217,7 +223,16 @@ import{r as t,h as n,a as i,H as o}from"./index-7WRSZKTT.js";/*!
|
|
|
217
223
|
position: relative;
|
|
218
224
|
z-index: 1000;
|
|
219
225
|
}
|
|
220
|
-
@keyframes
|
|
226
|
+
@keyframes hideTooltip {
|
|
227
|
+
0% {
|
|
228
|
+
opacity: 1;
|
|
229
|
+
}
|
|
230
|
+
100% {
|
|
231
|
+
opacity: 0;
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
@keyframes showTooltip {
|
|
221
236
|
0% {
|
|
222
237
|
opacity: 0;
|
|
223
238
|
}
|
|
@@ -241,5 +256,5 @@ import{r as t,h as n,a as i,H as o}from"./index-7WRSZKTT.js";/*!
|
|
|
241
256
|
/* Visible with forced colors */
|
|
242
257
|
outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));
|
|
243
258
|
}
|
|
244
|
-
}`,l=a,s=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){return n(
|
|
245
|
-
//# sourceMappingURL=kol-alert.entry-
|
|
259
|
+
}`,l=a,s=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._label=void 0,this._level=1,this._on=void 0,this._type="default",this._variant="msg",this.state={_level:1}}render(){return n(i,{key:"a982a3bcc1c141e059ac207df60455adcec5d402",class:"kol-alert"},n(o,{key:"e0d95edabcfd5d1aff26d51f9dee5ccbf3c91951",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},n("slot",{key:"149a58b2f2222989a7447cc6235b49f80b9f4fc1"})))}};s.style={default:l};export{s as kol_alert};
|
|
260
|
+
//# sourceMappingURL=kol-alert.entry-DKsiNB_b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert.entry-BnmZKGuG.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-25e94a16.js';\nimport { d as KolAlertWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\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 display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\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 .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\nconst KolAlertDefaultStyle0 = defaultStyleCss;\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._label = undefined;\n this._level = 1;\n this._on = undefined;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 1,\n };\n }\n render() {\n return (h(Host, { key: 'a982a3bcc1c141e059ac207df60455adcec5d402', class: \"kol-alert\" }, h(KolAlertWcTag, { key: 'e0d95edabcfd5d1aff26d51f9dee5ccbf3c91951', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: '149a58b2f2222989a7447cc6235b49f80b9f4fc1' }))));\n }\n};\nKolAlert.style = {\n default: KolAlertDefaultStyle0\n};\n\nexport { KolAlert as kol_alert };\n\n//# sourceMappingURL=kol-alert.entry.js.map"],"names":["defaultStyleCss","KolAlertDefaultStyle0","KolAlert","hostRef","registerInstance","h","Host","KolAlertWcTag"],"mappings":"6DAAA;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;AAA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EACd,KAAK,IAAM,OACX,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,WAAW,EAAID,EAAEE,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAIF,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CAAC,CACzX,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
1
|
+
{"version":3,"file":"kol-alert.entry-DKsiNB_b.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport { d as KolAlertWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\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 opacity: 0;\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width, unset);\\n max-width: 90vw;\\n max-height: 90vh;\\n animation-direction: normal;\\n /* Can be used to specify the animation duration from the outside. 250ms by default. */\\n animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);\\n animation-fill-mode: forwards;\\n animation-iteration-count: 1;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip-wc .tooltip-floating.hide {\\n animation-name: hideTooltip;\\n }\\n .kol-tooltip-wc .tooltip-floating.show {\\n animation-name: showTooltip;\\n }\\n /* Shared between content and arrow */\\n .kol-tooltip-wc .tooltip-area {\\n color: #000;\\n background-color: #fff;\\n }\\n .kol-tooltip-wc .tooltip-arrow {\\n transform: rotate(45deg);\\n position: absolute;\\n z-index: 999;\\n width: calc(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip-wc .tooltip-content {\\n position: relative;\\n z-index: 1000;\\n }\\n @keyframes hideTooltip {\\n 0% {\\n opacity: 1;\\n }\\n 100% {\\n opacity: 0;\\n display: none;\\n }\\n }\\n @keyframes showTooltip {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n}\\n@layer kol-component {\\n .kol-alert-wc {\\n display: grid;\\n }\\n .kol-alert-wc .heading {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert-wc .heading > div {\\n flex-grow: 1;\\n }\\n .close {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\nconst KolAlertDefaultStyle0 = defaultStyleCss;\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._label = undefined;\n this._level = 1;\n this._on = undefined;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 1,\n };\n }\n render() {\n return (h(Host, { key: 'a982a3bcc1c141e059ac207df60455adcec5d402', class: \"kol-alert\" }, h(KolAlertWcTag, { key: 'e0d95edabcfd5d1aff26d51f9dee5ccbf3c91951', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: '149a58b2f2222989a7447cc6235b49f80b9f4fc1' }))));\n }\n};\nKolAlert.style = {\n default: KolAlertDefaultStyle0\n};\n\nexport { KolAlert as kol_alert };\n\n//# sourceMappingURL=kol-alert.entry.js.map"],"names":["defaultStyleCss","KolAlertDefaultStyle0","KolAlert","hostRef","registerInstance","h","Host","KolAlertWcTag"],"mappings":"6DAMA,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;AA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AAA;AAAA;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,EAAwBD,EAExBE,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,OACd,KAAK,OAAS,EACd,KAAK,IAAM,OACX,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,WAAW,EAAID,EAAEE,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAIF,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CAAC,CACzX,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{r as l,h as e,H as c}from"./index-mpn7FJjz.js";import{t as n}from"./i18n-3dd5729d-P_HRfCAe.js";import{v as o}from"./image-source-d9230e9b-Bd-fSrpD.js";import{v as d}from"./label-7d1ce375-CRYhANwA.js";const s=a=>a.length===0?"":a[0].toUpperCase(),h=a=>{const t=a.split(/\s+/),r=t[0],i=t[t.length-1];return t.length>=2&&r&&i?`${s(r)}${s(i)}`:s(a)},u=class{constructor(a){l(this,a),this._src=void 0,this._label=void 0,this.state={_src:"",_label:""}}render(){return e(c,{key:"b45a03c214f69fa12120c1ab077cbdda68af4d03",class:"kol-avatar-wc"},e("div",{key:"11c5ec00e290a3e045ec6d355bd9afd9b65cb396","aria-label":n("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"container",role:"img"},this.state._src?e("img",{alt:"","aria-hidden":"true",class:"image",src:this.state._src}):e("span",{"aria-hidden":"true",class:"initials"},h(this.state._label.trim()))))}validateSrc(a){o(this,a)}validateLabel(a){d(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{u as kol_avatar_wc};
|
|
2
|
+
//# sourceMappingURL=kol-avatar-wc.entry-Boy9WCQa.js.map
|
package/dist/assets/{kol-avatar-wc.entry-BvgpNTZE.js.map → kol-avatar-wc.entry-Boy9WCQa.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-avatar-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-avatar-wc.entry-Boy9WCQa.js","sources":["../../../../components/dist/esm/kol-avatar-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport './index-7a63e9eb.js';\nimport { t as translate } from './i18n-3dd5729d.js';\nimport { v as validateImageSource } from './image-source-d9230e9b.js';\nimport { v as validateLabel } from './label-7d1ce375.js';\nimport './i18n-b14e6088.js';\n\nconst formatNameAsInitial = (name) => {\n if (name.length === 0) {\n return '';\n }\n return name[0].toUpperCase();\n};\nconst formatLabelAsInitials = (label) => {\n const names = label.split(/\\s+/);\n const first = names[0];\n const last = names[names.length - 1];\n if (names.length >= 2 && first && last) {\n return `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n }\n return formatNameAsInitial(label);\n};\n\nconst KolAvatarWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._src = undefined;\n this._label = undefined;\n this.state = {\n _src: '',\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: 'b45a03c214f69fa12120c1ab077cbdda68af4d03', class: \"kol-avatar-wc\" }, h(\"div\", { key: '11c5ec00e290a3e045ec6d355bd9afd9b65cb396', \"aria-label\": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: \"container\", role: \"img\" }, this.state._src ? (h(\"img\", { alt: \"\", \"aria-hidden\": \"true\", class: \"image\", src: this.state._src })) : (h(\"span\", { \"aria-hidden\": \"true\", class: \"initials\" }, formatLabelAsInitials(this.state._label.trim()))))));\n }\n validateSrc(value) {\n validateImageSource(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n componentWillLoad() {\n this.validateSrc(this._src);\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_src\": [\"validateSrc\"],\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolAvatarWc as kol_avatar_wc };\n\n//# sourceMappingURL=kol-avatar-wc.entry.js.map"],"names":["formatNameAsInitial","name","formatLabelAsInitials","label","names","first","last","KolAvatarWc","hostRef","registerInstance","h","Host","translate","value","validateImageSource","validateLabel"],"mappings":"+MAUA,MAAMA,EAAuBC,GACrBA,EAAK,SAAW,EACT,GAEJA,EAAK,CAAC,EAAE,YAAW,EAExBC,EAAyBC,GAAU,CACrC,MAAMC,EAAQD,EAAM,MAAM,KAAK,EACzBE,EAAQD,EAAM,CAAC,EACfE,EAAOF,EAAMA,EAAM,OAAS,CAAC,EACnC,OAAIA,EAAM,QAAU,GAAKC,GAASC,EACvB,GAAGN,EAAoBK,CAAK,CAAC,GAAGL,EAAoBM,CAAI,CAAC,GAE7DN,EAAoBG,CAAK,CACpC,EAEMI,EAAc,KAAM,CACtB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,KAAO,OACZ,KAAK,OAAS,OACd,KAAK,MAAQ,CACT,KAAM,GACN,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,eAAe,EAAID,EAAE,MAAO,CAAE,IAAK,2CAA4C,aAAcE,EAAU,iBAAkB,CAAE,aAAc,CAAE,KAAM,KAAK,MAAM,MAAM,EAAI,EAAG,MAAO,YAAa,KAAM,KAAK,EAAI,KAAK,MAAM,KAAQF,EAAE,MAAO,CAAE,IAAK,GAAI,cAAe,OAAQ,MAAO,QAAS,IAAK,KAAK,MAAM,IAAI,CAAE,EAAMA,EAAE,OAAQ,CAAE,cAAe,OAAQ,MAAO,UAAU,EAAIR,EAAsB,KAAK,MAAM,OAAO,KAAI,CAAE,CAAC,CAAE,CAAC,CAC9e,CACA,YAAYW,EAAO,CACfC,EAAoB,KAAMD,CAAK,CACnC,CACA,cAAcA,EAAO,CACjBE,EAAc,KAAMF,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,mBAAoB,CAChB,KAAK,YAAY,KAAK,IAAI,EAC1B,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,KAAQ,CAAC,aAAa,EACtB,OAAU,CAAC,eAAe,CAClC,CAAO,CACP"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,b as i,H as o}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const a=`/*
|
|
1
|
+
import{r as t,h as n,b as i,H as o}from"./index-mpn7FJjz.js";const a=`/*
|
|
4
2
|
* This file contains all rules for accessibility.
|
|
5
3
|
*/
|
|
6
4
|
@layer kol-a11y {
|
|
@@ -206,4 +204,4 @@ import{r as t,h as n,b as i,H as o}from"./index-7WRSZKTT.js";/*!
|
|
|
206
204
|
font-size: calc(40rem / var(--kolibri-root-font-size, 16));
|
|
207
205
|
}
|
|
208
206
|
}`,l=a,r=class{constructor(e){t(this,e),this._src=void 0,this._label=void 0}render(){return n(o,{key:"177cf2f61660902db5c1680e3e10fc7f3c567695",class:"kol-avatar"},n(i,{key:"9103d11ec31279584865dd3acf92a9ef0d04ca61",_src:this._src,_label:this._label}))}};r.style={default:l};export{r as kol_avatar};
|
|
209
|
-
//# sourceMappingURL=kol-avatar.entry-
|
|
207
|
+
//# sourceMappingURL=kol-avatar.entry-BqOpdypX.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-avatar.entry-
|
|
1
|
+
{"version":3,"file":"kol-avatar.entry-BqOpdypX.js","sources":["../../../../components/dist/esm/kol-avatar.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host } from './index-16f448fe.js';\nimport { e as KolAvatarWcTag } from './component-names-4cb1c62b.js';\n\nconst defaultStyleCss = \"/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\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 /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%; /* 100% needed for custom width from outside */\\n margin: 0;\\n padding: 0;\\n border: none;\\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 /*\\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(16rem / 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 /* 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 opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\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 color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .container,\\n .image,\\n .initials {\\n border-radius: 50%;\\n }\\n .image,\\n .initials {\\n width: 100%;\\n height: 100%;\\n }\\n .container {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n width: calc(100rem / var(--kolibri-root-font-size, 16));\\n height: calc(100rem / var(--kolibri-root-font-size, 16));\\n }\\n .initials {\\n background-color: #d3d3d3;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n font-size: calc(40rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\nconst KolAvatarDefaultStyle0 = defaultStyleCss;\n\nconst KolAvatar = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._src = undefined;\n this._label = undefined;\n }\n render() {\n return (h(Host, { key: '177cf2f61660902db5c1680e3e10fc7f3c567695', class: \"kol-avatar\" }, h(KolAvatarWcTag, { key: '9103d11ec31279584865dd3acf92a9ef0d04ca61', _src: this._src, _label: this._label })));\n }\n};\nKolAvatar.style = {\n default: KolAvatarDefaultStyle0\n};\n\nexport { KolAvatar as kol_avatar };\n\n//# sourceMappingURL=kol-avatar.entry.js.map"],"names":["defaultStyleCss","KolAvatarDefaultStyle0","KolAvatar","hostRef","registerInstance","h","Host","KolAvatarWcTag"],"mappings":"6DAMA,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;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AK,MAAM,CAAE,CAAC,CAC1M,CACJ,EACAL,EAAU,MAAQ,CACd,QAASD,CACb"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import{r as i,h as t,c as a,d as l,H as s,o as r,f as d,p as c,s as h}from"./index-
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/const f=`/*
|
|
1
|
+
import{r as i,h as t,c as a,d as l,H as s,o as r,f as d,p as c,s as h}from"./index-mpn7FJjz.js";import{n as u}from"./dev.utils-0183c4e9-BmQjDv4V.js";import{h as m,v as p}from"./color-48d7fdf1-CDg60V5_.js";const f=`/*
|
|
4
2
|
* This file contains all rules for accessibility.
|
|
5
3
|
*/
|
|
6
4
|
@layer kol-a11y {
|
|
@@ -181,21 +179,29 @@ import{r as i,h as t,c as a,d as l,H as s,o as r,f as d,p as c,s as h}from"./ind
|
|
|
181
179
|
display: contents;
|
|
182
180
|
}
|
|
183
181
|
.kol-tooltip-wc .tooltip-floating {
|
|
182
|
+
opacity: 0;
|
|
184
183
|
display: none;
|
|
185
184
|
position: fixed;
|
|
186
185
|
/* Avoid layout interference - see https://floating-ui.com/docs/computePosition */
|
|
187
186
|
top: 0;
|
|
188
187
|
left: 0;
|
|
189
|
-
/* Can be used to specify the tooltip-width from the outside. Unset by default.
|
|
190
|
-
width: var(--kol-tooltip-width);
|
|
188
|
+
/* Can be used to specify the tooltip-width from the outside. Unset by default. */
|
|
189
|
+
width: var(--kol-tooltip-width, unset);
|
|
191
190
|
max-width: 90vw;
|
|
192
191
|
max-height: 90vh;
|
|
193
|
-
|
|
194
|
-
animation
|
|
192
|
+
animation-direction: normal;
|
|
193
|
+
/* Can be used to specify the animation duration from the outside. 250ms by default. */
|
|
194
|
+
animation-duration: var(--kolibri-tooltip-animation-duration, 250ms);
|
|
195
|
+
animation-fill-mode: forwards;
|
|
195
196
|
animation-iteration-count: 1;
|
|
196
|
-
animation-name: fadeInOpacity;
|
|
197
197
|
animation-timing-function: ease-in;
|
|
198
198
|
}
|
|
199
|
+
.kol-tooltip-wc .tooltip-floating.hide {
|
|
200
|
+
animation-name: hideTooltip;
|
|
201
|
+
}
|
|
202
|
+
.kol-tooltip-wc .tooltip-floating.show {
|
|
203
|
+
animation-name: showTooltip;
|
|
204
|
+
}
|
|
199
205
|
/* Shared between content and arrow */
|
|
200
206
|
.kol-tooltip-wc .tooltip-area {
|
|
201
207
|
color: #000;
|
|
@@ -212,7 +218,16 @@ import{r as i,h as t,c as a,d as l,H as s,o as r,f as d,p as c,s as h}from"./ind
|
|
|
212
218
|
position: relative;
|
|
213
219
|
z-index: 1000;
|
|
214
220
|
}
|
|
215
|
-
@keyframes
|
|
221
|
+
@keyframes hideTooltip {
|
|
222
|
+
0% {
|
|
223
|
+
opacity: 1;
|
|
224
|
+
}
|
|
225
|
+
100% {
|
|
226
|
+
opacity: 0;
|
|
227
|
+
display: none;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
@keyframes showTooltip {
|
|
216
231
|
0% {
|
|
217
232
|
opacity: 0;
|
|
218
233
|
}
|
|
@@ -231,5 +246,5 @@ import{r as i,h as t,c as a,d as l,H as s,o as r,f as d,p as c,s as h}from"./ind
|
|
|
231
246
|
:host > span > .kol-button-wc button {
|
|
232
247
|
color: inherit;
|
|
233
248
|
}
|
|
234
|
-
}`,
|
|
235
|
-
//# sourceMappingURL=kol-badge.entry-
|
|
249
|
+
}`,b=f;d("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const g=class{constructor(n){i(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=u(),this.handleColorChange=e=>{const o=m(e);this.bgColorStr=o.backgroundColor,this.colorStr=o.foregroundColor},this._color="#000",this._icons=void 0,this._label=void 0,this._smartButton=void 0,this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"}}}renderSmartButton(n){return t(a,{_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_variant:n._variant})}render(){const n=typeof this.state._smartButton=="object"&&this.state._smartButton!==null;return t(s,{key:"e18cef57a5d00c73f9040d17f16e53a22bb21c2d",class:"kol-badge"},t("span",{key:"6375f9d2c8c8863165d6e0dce77ad89f708275b5",class:{"smart-button":typeof this.state._smartButton=="object"&&this.state._smartButton!==null},style:{backgroundColor:this.bgColorStr,color:this.colorStr}},t(l,{key:"a74d942a94c5bbeb002bbd42a5d45a9e75c704e8",id:n?this.id:void 0,_allowMarkdown:!0,_icons:this._icons,_label:this._label}),n&&this.renderSmartButton(this.state._smartButton)))}validateColor(n){p(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){r(n,()=>{try{n=c(n)}catch{}h(this,"_smartButton",n)})}componentWillLoad(){this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_color:["validateColor"],_smartButton:["validateSmartButton"]}}};g.style={default:b};export{g as kol_badge};
|
|
250
|
+
//# sourceMappingURL=kol-badge.entry-Cg75JGX9.js.map
|