@public-ui/sample-react 3.0.6-rc.1 → 3.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{Alert-B377MRFO-CosMJANV.js → Alert-R2nEqfd2-D16I8H-s.js} +2 -2
- package/dist/assets/{Alert-B377MRFO-CosMJANV.js.map → Alert-R2nEqfd2-D16I8H-s.js.map} +1 -1
- package/dist/assets/{Collapsible-C7BOCNYK-BVkfpfy3.js → Collapsible-B4WnEb_T-CKg6FAHF.js} +2 -2
- package/dist/assets/{Collapsible-C7BOCNYK-BVkfpfy3.js.map → Collapsible-B4WnEb_T-CKg6FAHF.js.map} +1 -1
- package/dist/assets/{CustomSuggestionsToggle-BNy3sFNW-DgCsiRkk.js → CustomSuggestionsToggle-Dez_Y4wT-BnmTJzIm.js} +2 -2
- package/dist/assets/{CustomSuggestionsToggle-BNy3sFNW-DgCsiRkk.js.map → CustomSuggestionsToggle-Dez_Y4wT-BnmTJzIm.js.map} +1 -1
- package/dist/assets/{FieldControlStateWrapper-DRnIsegE-Dj1-0MgG.js → FieldControlStateWrapper-CwL8LaZs-38VTRTM_.js} +2 -2
- package/dist/assets/{FieldControlStateWrapper-DRnIsegE-Dj1-0MgG.js.map → FieldControlStateWrapper-CwL8LaZs-38VTRTM_.js.map} +1 -1
- package/dist/assets/{FormFieldStateWrapper-DiolLYSq-BRrr5AoA.js → FormFieldStateWrapper-B7PqxuTo-B9gPPu8s.js} +2 -2
- package/dist/assets/{FormFieldStateWrapper-DiolLYSq-BRrr5AoA.js.map → FormFieldStateWrapper-B7PqxuTo-B9gPPu8s.js.map} +1 -1
- package/dist/assets/{Heading-BX2W3g7O-DmGaCsu_.js → Heading-DT8fK42U-BBz359Il.js} +2 -2
- package/dist/assets/{Heading-BX2W3g7O-DmGaCsu_.js.map → Heading-DT8fK42U-BBz359Il.js.map} +1 -1
- package/dist/assets/{Icon-Dh17fWbe-hlL-6PVL.js → Icon-oHNRs_Az-BbbmR1N5.js} +2 -2
- package/dist/assets/{Icon-Dh17fWbe-hlL-6PVL.js.map → Icon-oHNRs_Az-BbbmR1N5.js.map} +1 -1
- package/dist/assets/{Input-45FxkhGc-DnOrocJd.js → Input-Dfunc1i_--f2frXLw.js} +2 -2
- package/dist/assets/{Input-45FxkhGc-DnOrocJd.js.map → Input-Dfunc1i_--f2frXLw.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-7LSQHzG0-t3PirBly.js → InputStateWrapper--oSOR1R1-CC4JSxji.js} +3 -3
- package/dist/assets/InputStateWrapper--oSOR1R1-CC4JSxji.js.map +1 -0
- package/dist/assets/{InternalUnderlinedBadgeText-CLrx-9jT-CzekU_Jw.js → InternalUnderlinedBadgeText-dfa2g8TL-B5v3VETx.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-CLrx-9jT-CzekU_Jw.js.map → InternalUnderlinedBadgeText-dfa2g8TL-B5v3VETx.js.map} +1 -1
- package/dist/assets/{Span-DBghS6-J-BkQF5yFk.js → Span-43sGxXr7-LxLqNQk3.js} +2 -2
- package/dist/assets/{Span-DBghS6-J-BkQF5yFk.js.map → Span-43sGxXr7-LxLqNQk3.js.map} +1 -1
- package/dist/assets/{access-and-short-key-bcID78Ha-xYFWbYJ9.js → access-and-short-key-bcID78Ha-DRTQwReg.js} +2 -2
- package/dist/assets/{access-and-short-key-bcID78Ha-xYFWbYJ9.js.map → access-and-short-key-bcID78Ha-DRTQwReg.js.map} +1 -1
- package/dist/assets/{align-CyK0wp7d-DgCnwXrQ.js → align-CyK0wp7d-DT9btF96.js} +2 -2
- package/dist/assets/{align-CyK0wp7d-DgCnwXrQ.js.map → align-CyK0wp7d-DT9btF96.js.map} +1 -1
- package/dist/assets/{align-floating-elements-Bx4ukVlr-CXqnM4Ec.js → align-floating-elements-Bx4ukVlr-CFQB2kd1.js} +2 -2
- package/dist/assets/{align-floating-elements-Bx4ukVlr-CXqnM4Ec.js.map → align-floating-elements-Bx4ukVlr-CFQB2kd1.js.map} +1 -1
- package/dist/assets/{associated.controller-BKIODHIT-DJuV9WSE.js → associated.controller-BKIODHIT-CszLNc8h.js} +2 -2
- package/dist/assets/{associated.controller-BKIODHIT-DJuV9WSE.js.map → associated.controller-BKIODHIT-CszLNc8h.js.map} +1 -1
- package/dist/assets/{auto-complete-BsG3RQJ3-5H8iH3Dd.js → auto-complete-BsG3RQJ3-Db9k4ev4.js} +2 -2
- package/dist/assets/{auto-complete-BsG3RQJ3-5H8iH3Dd.js.map → auto-complete-BsG3RQJ3-Db9k4ev4.js.map} +1 -1
- package/dist/assets/{color-C3pYZKV3-BQ9-OCnv.js → color-C3pYZKV3-aJLNMMif.js} +2 -2
- package/dist/assets/{color-C3pYZKV3-BQ9-OCnv.js.map → color-C3pYZKV3-aJLNMMif.js.map} +1 -1
- package/dist/assets/{controller-mAs3LHlE-MlcRDmBJ.js → controller-BdRR-y_g-CmsXASTa.js} +2 -2
- package/dist/assets/{controller-mAs3LHlE-MlcRDmBJ.js.map → controller-BdRR-y_g-CmsXASTa.js.map} +1 -1
- package/dist/assets/{controller-BD70cDIh-CmJenNFY.js → controller-CBa44cbK-CNF745q7.js} +2 -2
- package/dist/assets/{controller-BD70cDIh-CmJenNFY.js.map → controller-CBa44cbK-CNF745q7.js.map} +1 -1
- package/dist/assets/{controller-CV2y9Ae_-DGzIJTRQ.js → controller-CV2y9Ae_-BNmL_fSv.js} +2 -2
- package/dist/assets/{controller-CV2y9Ae_-DGzIJTRQ.js.map → controller-CV2y9Ae_-BNmL_fSv.js.map} +1 -1
- package/dist/assets/{controller-CUCw249W-Btur6e9v.js → controller-DspJt0fi-egWtZj7e.js} +2 -2
- package/dist/assets/{controller-CUCw249W-Btur6e9v.js.map → controller-DspJt0fi-egWtZj7e.js.map} +1 -1
- package/dist/assets/{controller-icon-bVTIf-z3-LN0D0FY5.js → controller-icon-aakQFHso-ZEJpn981.js} +2 -2
- package/dist/assets/{controller-icon-bVTIf-z3-LN0D0FY5.js.map → controller-icon-aakQFHso-ZEJpn981.js.map} +1 -1
- package/dist/assets/{custom-class-CA0KGtrM-CDsKmbql.js → custom-class-CA0KGtrM-BnkI2sg6.js} +2 -2
- package/dist/assets/{custom-class-CA0KGtrM-CDsKmbql.js.map → custom-class-CA0KGtrM-BnkI2sg6.js.map} +1 -1
- package/dist/assets/{dev.utils-BxUNRHGK-D61wuTtu.js → dev.utils-Bbi3sn8s-CRUPlhXY.js} +2 -2
- package/dist/assets/{dev.utils-BxUNRHGK-D61wuTtu.js.map → dev.utils-Bbi3sn8s-CRUPlhXY.js.map} +1 -1
- package/dist/assets/{devtools-CJch3vCJ-B-6lyjqj.js → devtools-D10LWpor-DWtw-ZUC.js} +2 -2
- package/dist/assets/{devtools-CJch3vCJ-B-6lyjqj.js.map → devtools-D10LWpor-DWtw-ZUC.js.map} +1 -1
- package/dist/assets/{disabled-BydergHu-DRNpUAHX.js → disabled-BydergHu-CzPvfAdo.js} +2 -2
- package/dist/assets/{disabled-BydergHu-DRNpUAHX.js.map → disabled-BydergHu-CzPvfAdo.js.map} +1 -1
- package/dist/assets/has-closer-BBMh8HY3-BfJZyIrp.js +4 -0
- package/dist/assets/{has-closer-BBMh8HY3-CATV6KYG.js.map → has-closer-BBMh8HY3-BfJZyIrp.js.map} +1 -1
- package/dist/assets/{hide-label-DRunOux4-CxA1-Ubo.js → hide-label-DRunOux4-CU6Cpw9a.js} +2 -2
- package/dist/assets/{hide-label-DRunOux4-CxA1-Ubo.js.map → hide-label-DRunOux4-CU6Cpw9a.js.map} +1 -1
- package/dist/assets/{href-zZq6HYWf-6XHOGu0g.js → href-zZq6HYWf-Ck9QiEBy.js} +2 -2
- package/dist/assets/{href-zZq6HYWf-6XHOGu0g.js.map → href-zZq6HYWf-Ck9QiEBy.js.map} +1 -1
- package/dist/assets/{i18n-CdSCDnmA-BOSyN94s.js → i18n-CdSCDnmA-Bln0Fy0B.js} +2 -2
- package/dist/assets/{i18n-CdSCDnmA-BOSyN94s.js.map → i18n-CdSCDnmA-Bln0Fy0B.js.map} +1 -1
- package/dist/assets/{icons-72ER78AW-Dq7JoONG.js → icons-72ER78AW-BvK8yAOn.js} +2 -2
- package/dist/assets/{icons-72ER78AW-Dq7JoONG.js.map → icons-72ER78AW-BvK8yAOn.js.map} +1 -1
- package/dist/assets/image-source-RWPv7frZ-awO_r7fQ.js +4 -0
- package/dist/assets/{image-source-RWPv7frZ-ncCOd3un.js.map → image-source-RWPv7frZ-awO_r7fQ.js.map} +1 -1
- package/dist/assets/index-DscFWUNz.js +14094 -0
- package/dist/assets/index-DscFWUNz.js.map +1 -0
- package/dist/assets/index-Q8qjo_bZ.css +1 -0
- package/dist/assets/{kol-abbr.entry-pqWeHdHY.js → kol-abbr.entry-DTI4g4Nn.js} +6 -6
- package/dist/assets/kol-abbr.entry-DTI4g4Nn.js.map +1 -0
- package/dist/assets/{kol-accordion.entry-D3lsMJVi.js → kol-accordion.entry-BU0e05D8.js} +4 -4
- package/dist/assets/kol-accordion.entry-BU0e05D8.js.map +1 -0
- package/dist/assets/{kol-alert-wc.entry-UpomKVaW.js → kol-alert-wc.entry-msSyCOPF.js} +2 -2
- package/dist/assets/{kol-alert-wc.entry-UpomKVaW.js.map → kol-alert-wc.entry-msSyCOPF.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-5pL39fKy.js → kol-alert.entry-DKLZM9PM.js} +7 -7
- package/dist/assets/kol-alert.entry-DKLZM9PM.js.map +1 -0
- package/dist/assets/{kol-avatar-wc.entry-yBoIJyPv.js → kol-avatar-wc.entry-BJwQ_ZJG.js} +2 -2
- package/dist/assets/{kol-avatar-wc.entry-yBoIJyPv.js.map → kol-avatar-wc.entry-BJwQ_ZJG.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-C9vGCTSs.js → kol-avatar.entry-CqDq3TkJ.js} +8 -8
- package/dist/assets/kol-avatar.entry-CqDq3TkJ.js.map +1 -0
- package/dist/assets/{kol-badge.entry-1GKm9Thm.js → kol-badge.entry-Do6C__Cp.js} +7 -7
- package/dist/assets/kol-badge.entry-Do6C__Cp.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-CbxuyMY3.js → kol-breadcrumb.entry-lprgYhyL.js} +7 -7
- package/dist/assets/kol-breadcrumb.entry-lprgYhyL.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-D3iTrw-3.js → kol-button-link.entry-CR3gtszy.js} +7 -7
- package/dist/assets/kol-button-link.entry-CR3gtszy.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-CKcpC5gJ.js +4 -0
- package/dist/assets/kol-button-wc.entry-CKcpC5gJ.js.map +1 -0
- package/dist/assets/{kol-button.entry-eL6SQRJ1.js → kol-button.entry-CrCbdJ0A.js} +7 -7
- package/dist/assets/kol-button.entry-CrCbdJ0A.js.map +1 -0
- package/dist/assets/{kol-card-wc.entry-Qdyh1rGd.js → kol-card-wc.entry-Ciw7Fjbs.js} +2 -2
- package/dist/assets/{kol-card-wc.entry-Qdyh1rGd.js.map → kol-card-wc.entry-Ciw7Fjbs.js.map} +1 -1
- package/dist/assets/{kol-card.entry-DOmfaF5l.js → kol-card.entry-K_ofDQ9S.js} +7 -7
- package/dist/assets/kol-card.entry-K_ofDQ9S.js.map +1 -0
- package/dist/assets/{kol-combobox.entry-PzscHJj3.js → kol-combobox.entry-CteNRAG0.js} +9 -9
- package/dist/assets/kol-combobox.entry-CteNRAG0.js.map +1 -0
- package/dist/assets/{kol-details.entry-BVg4eiLc.js → kol-details.entry-CFfa1wye.js} +4 -4
- package/dist/assets/kol-details.entry-CFfa1wye.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-CHriz9nU.js → kol-drawer.entry-D3jsE1E8.js} +7 -7
- package/dist/assets/kol-drawer.entry-D3jsE1E8.js.map +1 -0
- package/dist/assets/{kol-form.entry-BHGZrLgf.js → kol-form.entry-BPPUZJ6f.js} +8 -8
- package/dist/assets/kol-form.entry-BPPUZJ6f.js.map +1 -0
- package/dist/assets/{kol-heading.entry-T9oj8sLP.js → kol-heading.entry-BBhfs2KW.js} +4 -4
- package/dist/assets/kol-heading.entry-BBhfs2KW.js.map +1 -0
- package/dist/assets/{kol-icon.entry-BQY0zUkv.js → kol-icon.entry-BNQ3pYD2.js} +2 -2
- package/dist/assets/{kol-icon.entry-BQY0zUkv.js.map → kol-icon.entry-BNQ3pYD2.js.map} +1 -1
- package/dist/assets/{kol-image.entry-CdcRQjUv.js → kol-image.entry-BFPrjk6d.js} +4 -4
- package/dist/assets/kol-image.entry-BFPrjk6d.js.map +1 -0
- package/dist/assets/{kol-input-checkbox.entry-CU-zKhtQ.js → kol-input-checkbox.entry-BjcrdS5B.js} +13 -13
- package/dist/assets/kol-input-checkbox.entry-BjcrdS5B.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-e86TAlku.js → kol-input-color.entry-BxgE1jkI.js} +9 -9
- package/dist/assets/kol-input-color.entry-BxgE1jkI.js.map +1 -0
- package/dist/assets/{kol-input-date.entry-5c7Wfdmw.js → kol-input-date.entry-D2OWmrgr.js} +7 -7
- package/dist/assets/kol-input-date.entry-D2OWmrgr.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-CRiiqWdc.js → kol-input-email.entry-CrXatHoa.js} +7 -7
- package/dist/assets/kol-input-email.entry-CrXatHoa.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-mVwpHqRn.js → kol-input-file.entry-avgBV_av.js} +9 -9
- package/dist/assets/kol-input-file.entry-avgBV_av.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-DKvI39VH.js → kol-input-number.entry-pte5HANx.js} +7 -7
- package/dist/assets/kol-input-number.entry-pte5HANx.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-BfS_KVCb.js → kol-input-password.entry-Dad9jzVe.js} +8 -8
- package/dist/assets/kol-input-password.entry-Dad9jzVe.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-D6Wy9N2F.js → kol-input-radio.entry-D-tfIP6w.js} +7 -7
- package/dist/assets/kol-input-radio.entry-D-tfIP6w.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-DqeNAiYM.js → kol-input-range.entry-DsK7gJLN.js} +12 -12
- package/dist/assets/kol-input-range.entry-DsK7gJLN.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-Ws2b8ak9.js → kol-input-text.entry-BtjekZRS.js} +7 -7
- package/dist/assets/kol-input-text.entry-BtjekZRS.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-C13zyPqm.js → kol-kolibri.entry-BDFUVSOF.js} +5 -5
- package/dist/assets/kol-kolibri.entry-BDFUVSOF.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-PYU_OtMi.js → kol-link-button.entry-DL-qdJmH.js} +7 -7
- package/dist/assets/kol-link-button.entry-DL-qdJmH.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-AiwgHp04.js +4 -0
- package/dist/assets/kol-link-wc.entry-AiwgHp04.js.map +1 -0
- package/dist/assets/{kol-link.entry-C6g51_W-.js → kol-link.entry-6xwolxhB.js} +7 -7
- package/dist/assets/kol-link.entry-6xwolxhB.js.map +1 -0
- package/dist/assets/{kol-modal.entry-DR8EgW0U.js → kol-modal.entry-DX9zDEd_.js} +9 -9
- package/dist/assets/kol-modal.entry-DX9zDEd_.js.map +1 -0
- package/dist/assets/{kol-nav.entry-CRNlGy6F.js → kol-nav.entry-DYondlfV.js} +18 -8
- package/dist/assets/kol-nav.entry-DYondlfV.js.map +1 -0
- package/dist/assets/{kol-pagination-wc.entry-C1v0a_rv.js → kol-pagination-wc.entry-BIm2cfdP.js} +2 -2
- package/dist/assets/{kol-pagination-wc.entry-C1v0a_rv.js.map → kol-pagination-wc.entry-BIm2cfdP.js.map} +1 -1
- package/dist/assets/{kol-pagination.entry-CJ0xi9S9.js → kol-pagination.entry-CmQzpXmb.js} +7 -7
- package/dist/assets/kol-pagination.entry-CmQzpXmb.js.map +1 -0
- package/dist/assets/{kol-popover-button-wc.entry-D4Ux1T1Z.js → kol-popover-button-wc.entry-CViB3RdU.js} +2 -2
- package/dist/assets/{kol-popover-button-wc.entry-D4Ux1T1Z.js.map → kol-popover-button-wc.entry-CViB3RdU.js.map} +1 -1
- package/dist/assets/{kol-popover-button.entry-BxtZYCe8.js → kol-popover-button.entry-DqpN2a9Y.js} +7 -7
- package/dist/assets/kol-popover-button.entry-DqpN2a9Y.js.map +1 -0
- package/dist/assets/{kol-popover-wc.entry-BeANwGc5.js → kol-popover-wc.entry-CPriy6s9.js} +2 -2
- package/dist/assets/{kol-popover-wc.entry-BeANwGc5.js.map → kol-popover-wc.entry-CPriy6s9.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-CmIRJSbN.js → kol-progress.entry-D_8D4JUa.js} +4 -4
- package/dist/assets/kol-progress.entry-D_8D4JUa.js.map +1 -0
- package/dist/assets/{kol-quote.entry-CT09TQPB.js → kol-quote.entry-BynWXfqu.js} +4 -4
- package/dist/assets/kol-quote.entry-BynWXfqu.js.map +1 -0
- package/dist/assets/{kol-select.entry-B6DUpd5P.js → kol-select.entry-DN-lcFAe.js} +9 -9
- package/dist/assets/kol-select.entry-DN-lcFAe.js.map +1 -0
- package/dist/assets/kol-single-select.entry-DmxfwpzU.js +358 -0
- package/dist/assets/kol-single-select.entry-DmxfwpzU.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-SFIAwWGo.js → kol-skip-nav.entry-cNqfmYNs.js} +5 -5
- package/dist/assets/kol-skip-nav.entry-cNqfmYNs.js.map +1 -0
- package/dist/assets/{kol-spin.entry-BwlQgtiS.js → kol-spin.entry-ZmUyivQu.js} +18 -18
- package/dist/assets/kol-spin.entry-ZmUyivQu.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-CwCK3sMv.js → kol-split-button.entry-D1Pby1T4.js} +7 -7
- package/dist/assets/kol-split-button.entry-D1Pby1T4.js.map +1 -0
- package/dist/assets/{kol-table-settings-wc.entry-CToKQhut.js → kol-table-settings-wc.entry-Bf35xSww.js} +2 -2
- package/dist/assets/{kol-table-settings-wc.entry-CToKQhut.js.map → kol-table-settings-wc.entry-Bf35xSww.js.map} +1 -1
- package/dist/assets/{kol-table-stateful.entry-DhTIenbI.js → kol-table-stateful.entry-CI2YvXhI.js} +16 -16
- package/dist/assets/kol-table-stateful.entry-CI2YvXhI.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-BkufQnLb.js +4 -0
- package/dist/assets/kol-table-stateless-wc.entry-BkufQnLb.js.map +1 -0
- package/dist/assets/{kol-table-stateless.entry-dIjDpySQ.js → kol-table-stateless.entry-DHR1J-8H.js} +14 -14
- package/dist/assets/kol-table-stateless.entry-DHR1J-8H.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-BQwJTvDZ.js → kol-tabs.entry-9kE1VpQ8.js} +6 -6
- package/dist/assets/kol-tabs.entry-9kE1VpQ8.js.map +1 -0
- package/dist/assets/{kol-textarea.entry-Q3JS9WH_.js → kol-textarea.entry-BfQs7ns0.js} +8 -8
- package/dist/assets/kol-textarea.entry-BfQs7ns0.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-CbPJ9yCG.js → kol-toast-container.entry-K5ahuN_V.js} +7 -7
- package/dist/assets/kol-toast-container.entry-K5ahuN_V.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-DdgircwO.js → kol-toolbar.entry-DYyaRPHR.js} +7 -7
- package/dist/assets/kol-toolbar.entry-DYyaRPHR.js.map +1 -0
- package/dist/assets/{kol-tooltip-wc.entry-BkaiIC4a.js → kol-tooltip-wc.entry-W1G2F19J.js} +2 -2
- package/dist/assets/{kol-tooltip-wc.entry-BkaiIC4a.js.map → kol-tooltip-wc.entry-W1G2F19J.js.map} +1 -1
- package/dist/assets/{kol-tree-item-wc.entry-sfYpgesU.js → kol-tree-item-wc.entry-M_2D25XL.js} +2 -2
- package/dist/assets/{kol-tree-item-wc.entry-sfYpgesU.js.map → kol-tree-item-wc.entry-M_2D25XL.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-CDa_Wja4.js → kol-tree-item.entry-CwgRrP4P.js} +8 -8
- package/dist/assets/kol-tree-item.entry-CwgRrP4P.js.map +1 -0
- package/dist/assets/{kol-tree-wc.entry-CgfFZjXW.js → kol-tree-wc.entry-CDVBvDDx.js} +2 -2
- package/dist/assets/{kol-tree-wc.entry-CgfFZjXW.js.map → kol-tree-wc.entry-CDVBvDDx.js.map} +1 -1
- package/dist/assets/{kol-tree.entry-B2kzYZ7s.js → kol-tree.entry-9E5wemWr.js} +4 -4
- package/dist/assets/kol-tree.entry-9E5wemWr.js.map +1 -0
- package/dist/assets/{kol-version.entry-Cb6I9JdW.js → kol-version.entry-CukVKwzk.js} +4 -4
- package/dist/assets/kol-version.entry-CukVKwzk.js.map +1 -0
- package/dist/assets/{label-CdtNxOKu-mnnOiAtb.js → label-CdtNxOKu-DuSxxbJz.js} +2 -2
- package/dist/assets/{label-CdtNxOKu-mnnOiAtb.js.map → label-CdtNxOKu-DuSxxbJz.js.map} +1 -1
- package/dist/assets/{link-variant-B9BZOLu--BmyzjnTY.js → link-variant-B9BZOLu--D12PTs40.js} +2 -2
- package/dist/assets/{link-variant-B9BZOLu--BmyzjnTY.js.map → link-variant-B9BZOLu--D12PTs40.js.map} +1 -1
- package/dist/assets/{markdown-DL-PkOqb-BQgVzpf6.js → markdown-DL-PkOqb-zRCMnbWa.js} +2 -2
- package/dist/assets/{markdown-DL-PkOqb-BQgVzpf6.js.map → markdown-DL-PkOqb-zRCMnbWa.js.map} +1 -1
- package/dist/assets/{max-length-behavior-BmNWss6T-B57cXZPU.js → max-length-behavior-BmNWss6T-C6Ixe_n4.js} +2 -2
- package/dist/assets/{max-length-behavior-BmNWss6T-B57cXZPU.js.map → max-length-behavior-BmNWss6T-C6Ixe_n4.js.map} +1 -1
- package/dist/assets/{multiple-bcm5IaCN-CgBqIy4g.js → multiple-bcm5IaCN-BuaY4QVO.js} +2 -2
- package/dist/assets/{multiple-bcm5IaCN-CgBqIy4g.js.map → multiple-bcm5IaCN-BuaY4QVO.js.map} +1 -1
- package/dist/assets/{open-D9q98v46-DwgDYTCi.js → open-D9q98v46-B5otfJDq.js} +2 -2
- package/dist/assets/{open-D9q98v46-DwgDYTCi.js.map → open-D9q98v46-B5otfJDq.js.map} +1 -1
- package/dist/assets/{orientation-5kQWqijN-D2oQXVKZ.js → orientation-5kQWqijN-DhiB1QfB.js} +2 -2
- package/dist/assets/{orientation-5kQWqijN-D2oQXVKZ.js.map → orientation-5kQWqijN-DhiB1QfB.js.map} +1 -1
- package/dist/assets/{placeholder-6URRds0_-Dgv_Mmng.js → placeholder-6URRds0_-DZlfATlW.js} +2 -2
- package/dist/assets/{placeholder-6URRds0_-Dgv_Mmng.js.map → placeholder-6URRds0_-DZlfATlW.js.map} +1 -1
- package/dist/assets/read-only-CcRldJ9w-BbbZIav_.js +4 -0
- package/dist/assets/{read-only-CcRldJ9w-B_j_7ibF.js.map → read-only-CcRldJ9w-BbbZIav_.js.map} +1 -1
- package/dist/assets/required-G86n77y0-C51wbbnh.js +4 -0
- package/dist/assets/{required-G86n77y0-BQbgB8oo.js.map → required-G86n77y0-C51wbbnh.js.map} +1 -1
- package/dist/assets/{rows-P4l3PNiA-_6y1alv6.js → rows-P4l3PNiA-pEjM2ooU.js} +2 -2
- package/dist/assets/{rows-P4l3PNiA-_6y1alv6.js.map → rows-P4l3PNiA-pEjM2ooU.js.map} +1 -1
- package/dist/assets/{show-DsV_Vx8g-B7xr12Zr.js → show-DsV_Vx8g-SdAZ1_a3.js} +2 -2
- package/dist/assets/{show-DsV_Vx8g-B7xr12Zr.js.map → show-DsV_Vx8g-SdAZ1_a3.js.map} +1 -1
- package/dist/assets/{spell-check-DIsLAYgk-DRnhwzbY.js → spell-check-DIsLAYgk-Gl3GQAJe.js} +2 -2
- package/dist/assets/{spell-check-DIsLAYgk-DRnhwzbY.js.map → spell-check-DIsLAYgk-Gl3GQAJe.js.map} +1 -1
- package/dist/assets/{suggestions-DfF4lcNG-C4hk-nBP.js → suggestions-DfF4lcNG-oXYEJ9Q5.js} +2 -2
- package/dist/assets/{suggestions-DfF4lcNG-C4hk-nBP.js.map → suggestions-DfF4lcNG-oXYEJ9Q5.js.map} +1 -1
- package/dist/assets/table-settings-DSZObo-2-Cp_zllcr.js +4 -0
- package/dist/assets/table-settings-DSZObo-2-Cp_zllcr.js.map +1 -0
- package/dist/assets/{test-component.entry-RR_avJOI.js → test-component.entry-keBI0BAp.js} +2 -2
- package/dist/assets/{test-component.entry-RR_avJOI.js.map → test-component.entry-keBI0BAp.js.map} +1 -1
- package/dist/assets/tooltip-align-_VI7LehI-Bs86JxeC.js +4 -0
- package/dist/assets/{tooltip-align-_VI7LehI-BeWSUaFb.js.map → tooltip-align-_VI7LehI-Bs86JxeC.js.map} +1 -1
- package/dist/assets/{unique-nav-labels-C_NhdgGz-BEq7xPIG.js → unique-nav-labels-C_NhdgGz-r2_CvnMZ.js} +2 -2
- package/dist/assets/{unique-nav-labels-C_NhdgGz-BEq7xPIG.js.map → unique-nav-labels-C_NhdgGz-r2_CvnMZ.js.map} +1 -1
- package/dist/assets/{validation-CW_RXPSn-BRQUnvTk.js → validation-CW_RXPSn-B3S3ukiD.js} +2 -2
- package/dist/assets/{validation-CW_RXPSn-BRQUnvTk.js.map → validation-CW_RXPSn-B3S3ukiD.js.map} +1 -1
- package/dist/assets/{validation-DoIjmu3L-DZs09xJa.js → validation-DoIjmu3L-BXKVFtky.js} +2 -2
- package/dist/assets/{validation-DoIjmu3L-DZs09xJa.js.map → validation-DoIjmu3L-BXKVFtky.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +5 -4
- package/src/components/input-date/copy-paste.tsx +172 -0
- package/src/components/input-date/routes.ts +2 -0
- package/src/components/nav/basic.tsx +11 -1
- package/src/components/nav/horizontal.tsx +5 -1
- package/src/components/nav/links.ts +61 -0
- package/src/components/table/predefined-settings.tsx +1 -0
- package/src/components/table/routes.ts +2 -0
- package/src/components/table/sort-data.tsx +2 -0
- package/src/components/table/stateless-with-settings-menu.tsx +52 -0
- package/src/scenarios/react-hook-form/basic.tsx +183 -0
- package/src/scenarios/routes.ts +3 -1
- package/dist/assets/InputStateWrapper-7LSQHzG0-t3PirBly.js.map +0 -1
- package/dist/assets/has-closer-BBMh8HY3-CATV6KYG.js +0 -4
- package/dist/assets/image-source-RWPv7frZ-ncCOd3un.js +0 -4
- package/dist/assets/index-Ci3EIMY6.js +0 -14089
- package/dist/assets/index-Ci3EIMY6.js.map +0 -1
- package/dist/assets/index-D3y4o-X5.css +0 -1
- package/dist/assets/kol-abbr.entry-pqWeHdHY.js.map +0 -1
- package/dist/assets/kol-accordion.entry-D3lsMJVi.js.map +0 -1
- package/dist/assets/kol-alert.entry-5pL39fKy.js.map +0 -1
- package/dist/assets/kol-avatar.entry-C9vGCTSs.js.map +0 -1
- package/dist/assets/kol-badge.entry-1GKm9Thm.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-CbxuyMY3.js.map +0 -1
- package/dist/assets/kol-button-link.entry-D3iTrw-3.js.map +0 -1
- package/dist/assets/kol-button-wc.entry-BlY2Rxq3.js +0 -4
- package/dist/assets/kol-button-wc.entry-BlY2Rxq3.js.map +0 -1
- package/dist/assets/kol-button.entry-eL6SQRJ1.js.map +0 -1
- package/dist/assets/kol-card.entry-DOmfaF5l.js.map +0 -1
- package/dist/assets/kol-combobox.entry-PzscHJj3.js.map +0 -1
- package/dist/assets/kol-details.entry-BVg4eiLc.js.map +0 -1
- package/dist/assets/kol-drawer.entry-CHriz9nU.js.map +0 -1
- package/dist/assets/kol-form.entry-BHGZrLgf.js.map +0 -1
- package/dist/assets/kol-heading.entry-T9oj8sLP.js.map +0 -1
- package/dist/assets/kol-image.entry-CdcRQjUv.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-CU-zKhtQ.js.map +0 -1
- package/dist/assets/kol-input-color.entry-e86TAlku.js.map +0 -1
- package/dist/assets/kol-input-date.entry-5c7Wfdmw.js.map +0 -1
- package/dist/assets/kol-input-email.entry-CRiiqWdc.js.map +0 -1
- package/dist/assets/kol-input-file.entry-mVwpHqRn.js.map +0 -1
- package/dist/assets/kol-input-number.entry-DKvI39VH.js.map +0 -1
- package/dist/assets/kol-input-password.entry-BfS_KVCb.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-D6Wy9N2F.js.map +0 -1
- package/dist/assets/kol-input-range.entry-DqeNAiYM.js.map +0 -1
- package/dist/assets/kol-input-text.entry-Ws2b8ak9.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-C13zyPqm.js.map +0 -1
- package/dist/assets/kol-link-button.entry-PYU_OtMi.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-CG8Ip3HJ.js +0 -4
- package/dist/assets/kol-link-wc.entry-CG8Ip3HJ.js.map +0 -1
- package/dist/assets/kol-link.entry-C6g51_W-.js.map +0 -1
- package/dist/assets/kol-modal.entry-DR8EgW0U.js.map +0 -1
- package/dist/assets/kol-nav.entry-CRNlGy6F.js.map +0 -1
- package/dist/assets/kol-pagination.entry-CJ0xi9S9.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-BxtZYCe8.js.map +0 -1
- package/dist/assets/kol-progress.entry-CmIRJSbN.js.map +0 -1
- package/dist/assets/kol-quote.entry-CT09TQPB.js.map +0 -1
- package/dist/assets/kol-select.entry-B6DUpd5P.js.map +0 -1
- package/dist/assets/kol-single-select.entry-CCljVrrq.js +0 -358
- package/dist/assets/kol-single-select.entry-CCljVrrq.js.map +0 -1
- package/dist/assets/kol-skip-nav.entry-SFIAwWGo.js.map +0 -1
- package/dist/assets/kol-spin.entry-BwlQgtiS.js.map +0 -1
- package/dist/assets/kol-split-button.entry-CwCK3sMv.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-DhTIenbI.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-DB2wl8Kj.js +0 -4
- package/dist/assets/kol-table-stateless-wc.entry-DB2wl8Kj.js.map +0 -1
- package/dist/assets/kol-table-stateless.entry-dIjDpySQ.js.map +0 -1
- package/dist/assets/kol-tabs.entry-BQwJTvDZ.js.map +0 -1
- package/dist/assets/kol-textarea.entry-Q3JS9WH_.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-CbPJ9yCG.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-DdgircwO.js.map +0 -1
- package/dist/assets/kol-tree-item.entry-CDa_Wja4.js.map +0 -1
- package/dist/assets/kol-tree.entry-B2kzYZ7s.js.map +0 -1
- package/dist/assets/kol-version.entry-Cb6I9JdW.js.map +0 -1
- package/dist/assets/read-only-CcRldJ9w-B_j_7ibF.js +0 -4
- package/dist/assets/required-G86n77y0-BQbgB8oo.js +0 -4
- package/dist/assets/table-settings-PrIyAPEe-CcBEQ0Rw.js +0 -4
- package/dist/assets/table-settings-PrIyAPEe-CcBEQ0Rw.js.map +0 -1
- package/dist/assets/tooltip-align-_VI7LehI-BeWSUaFb.js +0 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5)}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}.static{position:static}.grid{display:grid}.col-span-2{grid-column:span 2/span 2}.col-span-3{grid-column:span 3/span 3}.col-span-6{grid-column:span 6/span 6}.grid-cols-\[4fr_4fr_1fr\]{grid-template-columns:4fr 4fr 1fr}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.mx-auto{margin-left:auto;margin-right:auto}.me{margin-inline-end:calc(16rem / var(--kolibri-root-font-size, 16))}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[1em\]{height:1em}.ha{height:auto}.max-w-2xl{max-width:42rem}.max-w-3xl{max-width:48rem}.max-w-xl{max-width:36rem}.w-\[1em\]{width:1em}.w-\[400px\]{width:400px}.w-75px{width:75px}.w-fit{width:fit-content}.w-full{width:100%}.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.items-end{align-items:flex-end}.flex-items-center,.items-center{align-items:center}.items-stretch{align-items:stretch}.flex-justify-between,.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.b,.border{border-width:1px}.border-b-1{border-bottom-width:1px}.border-dark-100{--un-border-opacity:1;border-color:rgb(60 60 60 / var(--un-border-opacity))}.border-gray{--un-border-opacity:1;border-color:rgb(156 163 175 / var(--un-border-opacity))}.rounded{border-radius:calc(4rem / var(--kolibri-root-font-size, 16))}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-gray-200{--un-bg-opacity:1;background-color:rgb(229 231 235 / var(--un-bg-opacity))}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.px{padding-left:calc(16rem / var(--kolibri-root-font-size, 16));padding-right:calc(16rem / var(--kolibri-root-font-size, 16))}.pb-sm{padding-bottom:calc(14rem / var(--kolibri-root-font-size, 16))}.text-center{text-align:center}.text-base{font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:1.5}.text-lg{font-size:calc(18rem / var(--kolibri-root-font-size, 16));line-height:1.75}.text-sm{font-size:calc(14rem / var(--kolibri-root-font-size, 16));line-height:1.25}.text-red-600{--un-text-opacity:1;color:rgb(220 38 38 / var(--un-text-opacity))}.color-gray-5{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.font-semibold{font-weight:600}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.tab-0{-moz-tab-size:0;-o-tab-size:0;tab-size:0}.tab-1{-moz-tab-size:1;-o-tab-size:1;tab-size:1}.tab-2{-moz-tab-size:2;-o-tab-size:2;tab-size:2}.tab-3{-moz-tab-size:3;-o-tab-size:3;tab-size:3}.opacity-80{opacity:.8}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.p-0{padding:calc(0rem / var(--kolibri-root-font-size, 16))}.p-2{padding:calc(8rem / var(--kolibri-root-font-size, 16))}.p-3{padding:calc(12rem / var(--kolibri-root-font-size, 16))}.p-4{padding:calc(16rem / var(--kolibri-root-font-size, 16))}.p-6{padding:calc(24rem / var(--kolibri-root-font-size, 16))}.py-2{padding-top:calc(8rem / var(--kolibri-root-font-size, 16));padding-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.pl-5{padding-left:calc(20rem / var(--kolibri-root-font-size, 16))}.m-0{margin:calc(0rem / var(--kolibri-root-font-size, 16))}.m-4{margin:calc(16rem / var(--kolibri-root-font-size, 16))}.my-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.my-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16));margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mt,.mt-4{margin-top:calc(16rem / var(--kolibri-root-font-size, 16))}.mr{margin-right:calc(16rem / var(--kolibri-root-font-size, 16))}.mt-0{margin-top:calc(0rem / var(--kolibri-root-font-size, 16))}.m-t-2,.mt-2{margin-top:calc(8rem / var(--kolibri-root-font-size, 16))}.mt-6{margin-top:calc(24rem / var(--kolibri-root-font-size, 16))}.mb-2{margin-bottom:calc(8rem / var(--kolibri-root-font-size, 16))}.mb-3{margin-bottom:calc(12rem / var(--kolibri-root-font-size, 16))}.mb-4{margin-bottom:calc(16rem / var(--kolibri-root-font-size, 16))}.mb-8{margin-bottom:calc(32rem / var(--kolibri-root-font-size, 16))}.gap-14{gap:calc(56rem / var(--kolibri-root-font-size, 16))}.gap-2{gap:calc(8rem / var(--kolibri-root-font-size, 16))}.gap-3{gap:calc(12rem / var(--kolibri-root-font-size, 16))}.gap-4{gap:calc(16rem / var(--kolibri-root-font-size, 16))}.gap-8{gap:calc(32rem / var(--kolibri-root-font-size, 16))}.w-8rem{width:calc(128rem / var(--kolibri-root-font-size, 16))}.w-sm{width:calc(384rem / var(--kolibri-root-font-size, 16))}@media (min-width: 640px){.sm\:col-span-6{grid-column:span 6/span 6}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.sm\:flex{display:flex}}@media (min-width: 768px){.md\:col-span-2{grid-column:span 2/span 2}.md\:col-span-3{grid-column:span 3/span 3}.md\:col-span-4{grid-column:span 4/span 4}.md\:col-span-6{grid-column:span 6/span 6}.md\:grid-cols-\[auto_1fr_1fr\]{grid-template-columns:auto 1fr 1fr}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:col-span-2{grid-column:span 2/span 2}.xl\:col-span-3{grid-column:span 3/span 3}.xl\:col-span-5{grid-column:span 5/span 5}.xl\:grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}}:root{--kolibri-root-font-size: 100;font-size:625%}body{margin:0;font-family:Verdana;font-size:calc(16rem / var(--kolibri-root-font-size, 16));line-height:normal}dl,hr{margin:0}.grid-cols-2{grid-template-columns:auto auto}.indented-text p{margin:0}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip-path:inset(50%)}.black-background{background-color:#000;display:flex;padding:calc(8rem / var(--kolibri-root-font-size, 16));flex-direction:column}.w-image{width:500px}.drawer-content-vertical{width:calc(400rem / var(--kolibri-root-font-size, 16))}.list-none{margin:0;padding:0;list-style:none}@media (min-width: 1024px){.app-container{display:grid;height:100%;min-height:100vh;grid-template-columns:calc(360rem / var(--kolibri-root-font-size, 16)) calc(100% - 360rem / var(--kolibri-root-font-size, 16))}.app-sidebar{position:relative;z-index:1;border-right:1px solid gray}.app-sidebar .scrollable-container-wrapper{display:flex;position:fixed;top:0;bottom:0;left:0;width:calc(330rem / var(--kolibri-root-font-size, 16));margin:calc(16rem / var(--kolibri-root-font-size, 16));flex-direction:column}.app-sidebar .scrollable-container-wrapper .scrollable-container{overflow:auto;flex:1 auto}}@media print{.no-print,.no-print *{display:none!important}}.mainlayout{display:grid;width:100%;min-height:calc(100vh - 32rem / var(--kolibri-root-font-size, 16));column-gap:calc(16rem / var(--kolibri-root-font-size, 16));grid-template-areas:"nav content";grid-template-columns:calc(400rem / var(--kolibri-root-font-size, 16)) calc(100% - 460rem / var(--kolibri-root-font-size, 16));grid-template-rows:1fr}.mainlayout>.nav-area{grid-area:nav}.mainlayout>.content{grid-area:content}.loader{border-radius:50%;display:inline-block;position:relative;box-sizing:border-box;width:48px;height:48px;animation:pulse 1s linear infinite;border:5px solid #333}.loader:after{transform:translate(-50%,-50%);border-radius:50%;display:inline-block;position:absolute;top:50%;left:50%;box-sizing:border-box;width:48px;height:48px;content:"";animation:scaleUp 1s linear infinite;border:5px solid #f00}@keyframes scaleUp{0%{transform:translate(-50%,-50%) scale(0)}60%,to{transform:translate(-50%,-50%) scale(1)}}@keyframes pulse{0%,60%,to{transform:scale(1)}80%{transform:scale(1.2)}}@media (prefers-reduced-motion){.loader,.loader:after{animation-duration:2s}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,K as i,H as o}from"./index-
|
|
1
|
+
import{r as t,h as n,K as i,H as o}from"./index-DscFWUNz.js";import{v as a}from"./label-CdtNxOKu-DuSxxbJz.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const l=`/*
|
|
4
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -21,7 +21,7 @@ import{r as t,h as n,K as i,H as o}from"./index-Ci3EIMY6.js";import{v as a}from"
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r as t,h as n,K as i,H as o}from"./index-Ci3EIMY6.js";import{v as a}from"
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -223,8 +223,8 @@ import{r as t,h as n,K as i,H as o}from"./index-Ci3EIMY6.js";import{v as a}from"
|
|
|
223
223
|
background-color: #fff;
|
|
224
224
|
position: absolute;
|
|
225
225
|
z-index: 999;
|
|
226
|
-
width: calc(
|
|
227
|
-
height: calc(
|
|
226
|
+
width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
227
|
+
height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
228
228
|
}
|
|
229
229
|
.kol-tooltip__content {
|
|
230
230
|
color: #000;
|
|
@@ -233,4 +233,4 @@ import{r as t,h as n,K as i,H as o}from"./index-Ci3EIMY6.js";import{v as a}from"
|
|
|
233
233
|
z-index: 1000;
|
|
234
234
|
}
|
|
235
235
|
}`,s=class{constructor(e){t(this,e),this.state={_label:""}}render(){return n(o,{key:"7f764ad6e259ac460dcd1f133da2ef8ad41b74b7",class:"kol-abbr"},n("abbr",{key:"3f49be16f6bbbd0d2cbd953319f6b23a8766a241",tabIndex:this.state._label?0:void 0},n("slot",{key:"81175d6ce9217f34e4faaa6aa08597e63f07389e"})),this.state._label?n(i,{"aria-hidden":"true",_label:this.state._label}):null)}validateLabel(e){a(this,e)}componentWillLoad(){this.validateLabel(this._label)}static get watchers(){return{_label:["validateLabel"]}}};s.style={default:l};export{s as kol_abbr};
|
|
236
|
-
//# sourceMappingURL=kol-abbr.entry-
|
|
236
|
+
//# sourceMappingURL=kol-abbr.entry-DTI4g4Nn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-abbr.entry-DTI4g4Nn.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-44UAWlcO.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\";\n\nconst KolAbbr = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _label: '',\n };\n }\n render() {\n return (h(Host, { key: '7f764ad6e259ac460dcd1f133da2ef8ad41b74b7', class: \"kol-abbr\" }, h(\"abbr\", { key: '3f49be16f6bbbd0d2cbd953319f6b23a8766a241', tabIndex: this.state._label ? 0 : undefined }, h(\"slot\", { key: '81175d6ce9217f34e4faaa6aa08597e63f07389e' })), this.state._label ? h(KolTooltipWcTag, { \"aria-hidden\": \"true\", _label: this.state._label }) : null));\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"]\n }; }\n};\nKolAbbr.style = {\n default: defaultStyleCss\n};\n\nexport { KolAbbr as kol_abbr };\n//# sourceMappingURL=kol-abbr.entry.js.map\n"],"names":["defaultStyleCss","KolAbbr","hostRef","registerInstance","h","Host","KolTooltipWcTag","value","validateLabel"],"mappings":"8GAAA;AAAA;AAAA,GAQA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAU,KAAM,CAClB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAM,CAAE,IAAK,2CAA4C,MAAO,UAAU,EAAID,EAAE,OAAQ,CAAE,IAAK,2CAA4C,SAAU,KAAK,MAAM,OAAS,EAAI,MAAS,EAAIA,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,EAAG,KAAK,MAAM,OAASA,EAAEE,EAAiB,CAAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAC5W,CACA,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CAC7B,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAO,CACP,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-
|
|
1
|
+
import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-DscFWUNz.js";import{v as b}from"./disabled-BydergHu-CzPvfAdo.js";import{v as m}from"./label-CdtNxOKu-DuSxxbJz.js";import{v as u}from"./open-D9q98v46-B5otfJDq.js";import{n as f}from"./dev.utils-Bbi3sn8s-CRUPlhXY.js";import{w as g}from"./validation-CW_RXPSn-B3S3ukiD.js";import{K as v}from"./Collapsible-B4WnEb_T-CKg6FAHF.js";import"./Heading-DT8fK42U-BBz359Il.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const w=(n,t)=>{p(n,"_on",e=>typeof e=="object"&&e!==null,new Set(["AccordionCallbacksPropType {Events.onClick}"]),t)},y=`/*
|
|
4
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -21,7 +21,7 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Ci3EIMY6.js";import{v
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Ci3EIMY6.js";import{v
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -246,4 +246,4 @@ import{r,d,a as c,h as a,g as h,w as p,f as l}from"./index-Ci3EIMY6.js";import{v
|
|
|
246
246
|
- onClick auf der KolAccordion anwenden
|
|
247
247
|
- Click-Event prüft den _open-Status der Accordions
|
|
248
248
|
- Logik Öffnet und Schließt entsprechend`);l("[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.");const _=class{constructor(n){r(this,n),this.nonce=f(),this.catchRef=t=>{this.buttonWcRef=t},this.handleOnClick=t=>{this._open=!this._open,setTimeout(()=>{var e,o;(o=(e=this.state._on)===null||e===void 0?void 0:e.onClick)===null||o===void 0||o.call(e,t,this._open===!0),this.host&&d(this.host,c.click,this._open===!0)})},this._disabled=!1,this._level=0,this._open=!1,this.state={_label:"",_level:0,_on:{}}}async kolFocus(){var n;await((n=this.buttonWcRef)===null||n===void 0?void 0:n.kolFocus())}render(){const{_open:n,_label:t,_disabled:e,_level:o}=this.state,i="kol-accordion",s={id:this.nonce,label:t,open:n,disabled:e,level:o,onClick:this.handleOnClick,class:i,HeadingProps:{class:`${i}__heading`},HeadingButtonProps:{ref:this.catchRef,class:`${i}__heading-button`},ContentProps:{class:`${i}__content`,wrapperClass:`${i}__wrapper`,animationClass:`${i}__wrapper-animation`}};return a(v,Object.assign({key:"750cf0bb226ec5139c7098bd44e2a64546888a32"},s),a("slot",{key:"08908025b6753ebe36defc6e2d210736eabff629"}))}validateDisabled(n){b(this,n)}validateLabel(n){m(this,n,{required:!0})}validateLevel(n){g(this,n)}validateOn(n){w(this,n)}validateOpen(n){u(this,n)}componentWillLoad(){this.validateDisabled(this._disabled),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateOpen(this._open)}get host(){return h(this)}static get watchers(){return{_disabled:["validateDisabled"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_open:["validateOpen"]}}};_.style={default:y};export{_ as kol_accordion};
|
|
249
|
-
//# sourceMappingURL=kol-accordion.entry-
|
|
249
|
+
//# sourceMappingURL=kol-accordion.entry-BU0e05D8.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-accordion.entry-BU0e05D8.js","sources":["../../../../components/dist/esm/kol-accordion.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-44UAWlcO.js';\nimport { w as watchValidator, f as featureHint } from './common-8fBdMvJM.js';\nimport { v as validateDisabled } from './disabled-BydergHu.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { v as validateOpen } from './open-D9q98v46.js';\nimport { n as nonce } from './dev.utils-Bbi3sn8s.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolCollapsibleFc } from './Collapsible-B4WnEb_T.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './Heading-DT8fK42U.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\n\nconst validateAccordionCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['AccordionCallbacksPropType {Events.onClick}']), value);\n};\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n/* For animation technique see https://css-tricks.com/css-grid-can-do-auto-height-transitions/ */\\n@layer kol-component {\\n .collapsible {\\n /* @see https://github.com/public-ui/kolibri/issues/5952 */\\n /*\\n * Inside a button, the caption text is always centered.\\n * So we have to align the text to the left.\\n */\\n }\\n @media (prefers-reduced-motion) {\\n .collapsible__wrapper-animation, .collapsible__wrapper {\\n transition-duration: 0s;\\n }\\n }\\n @media print {\\n :not(.collapsible--open) .collapsible__wrapper-animation {\\n display: none;\\n }\\n }\\n .collapsible__wrapper {\\n /* Forces the element into its own GPU compositing layer (via 3D transform). Helps prevent rendering/layout bugs (e.g. #7511) and may improve animation performance. */\\n transform: translateZ(0);\\n display: grid;\\n /**\\n * The `overflow: hidden` ensures that the content is not visible during the animated\\n * opening and closing. This should also cut off overlays containing content, but it\\n *does not.\\n */\\n overflow: hidden;\\n grid-template-rows: 0fr;\\n transition: grid-template-rows 0.3s;\\n }\\n .collapsible__wrapper-animation {\\n min-height: 0;\\n /* This property is important to keep in sync with the visual transition (template-rows). Without it interactive elements within the accordion would stay focusable. */\\n visibility: hidden;\\n transition: visibility 0.3s;\\n }\\n .collapsible--open .collapsible__wrapper {\\n grid-template-rows: 1fr;\\n }\\n .collapsible--open .collapsible__wrapper-animation {\\n visibility: visible;\\n }\\n .collapsible__heading-button button .kol-span {\\n justify-items: start;\\n }\\n}\";\n\nfeatureHint(`[KolAccordion] Anfrage nach einer KolAccordionGroup bei dem immer nur ein Accordion geöffnet ist.\n\n- onClick auf der KolAccordion anwenden\n- Click-Event prüft den _open-Status der Accordions\n- Logik Öffnet und Schließt entsprechend`);\nfeatureHint(`[KolAccordion] Tab-Sperre des Inhalts im geschlossenen Zustand.`);\nconst KolAccordion = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.nonce = nonce();\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this.handleOnClick = (event) => {\n this._open = !this._open;\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onClick) === null || _b === void 0 ? void 0 : _b.call(_a, event, this._open === true);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.click, this._open === true);\n }\n });\n };\n this._disabled = false;\n this._level = 0;\n this._open = false;\n this.state = {\n _label: '',\n _level: 0,\n _on: {},\n };\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n const { _open, _label, _disabled, _level } = this.state;\n const rootClass = 'kol-accordion';\n const props = {\n id: this.nonce,\n label: _label,\n open: _open,\n disabled: _disabled,\n level: _level,\n onClick: this.handleOnClick,\n class: rootClass,\n HeadingProps: { class: `${rootClass}__heading` },\n HeadingButtonProps: {\n ref: this.catchRef,\n class: `${rootClass}__heading-button`,\n },\n ContentProps: {\n class: `${rootClass}__content`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: '750cf0bb226ec5139c7098bd44e2a64546888a32' }, props), h(\"slot\", { key: '08908025b6753ebe36defc6e2d210736eabff629' })));\n }\n validateDisabled(value) {\n validateDisabled(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(on) {\n validateAccordionCallbacks(this, on);\n }\n validateOpen(value) {\n validateOpen(this, value);\n }\n componentWillLoad() {\n this.validateDisabled(this._disabled);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateOpen(this._open);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_disabled\": [\"validateDisabled\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_open\": [\"validateOpen\"]\n }; }\n};\nKolAccordion.style = {\n default: defaultStyleCss\n};\n\nexport { KolAccordion as kol_accordion };\n//# sourceMappingURL=kol-accordion.entry.js.map\n"],"names":["validateAccordionCallbacks","component","value","watchValidator","defaultStyleCss","featureHint","KolAccordion","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"0cAAA;AAAA;AAAA,GAgBA,MAAMA,EAA6B,CAACC,EAAWC,IAAU,CACrDC,EAAeF,EAAW,MAAQC,GAAU,OAAOA,GAAU,UAAYA,IAAU,KAAM,IAAI,IAAI,CAAC,6CAA6C,CAAC,EAAGA,CAAK,CAC5J,EAEME,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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K,0CAA0C,EAAIF,CAAK,EAAGC,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACzK,CACA,iBAAiBpB,EAAO,CACpBsB,EAAiB,KAAMtB,CAAK,CAChC,CACA,cAAcA,EAAO,CACjBuB,EAAc,KAAMvB,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,cAAcA,EAAO,CACjBwB,EAAkB,KAAMxB,CAAK,CACjC,CACA,WAAWyB,EAAI,CACX3B,EAA2B,KAAM2B,CAAE,CACvC,CACA,aAAazB,EAAO,CAChB0B,EAAa,KAAM1B,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,IAAI,MAAO,CAAE,OAAO2B,EAAW,IAAI,CAAG,CACtC,WAAW,UAAW,CAAE,MAAO,CAC3B,UAAa,CAAC,kBAAkB,EAChC,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,IAAO,CAAC,YAAY,EACpB,MAAS,CAAC,cAAc,CAChC,CAAO,CACP,EACAvB,EAAa,MAAQ,CACjB,QAASF,CACb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,d as c,a as p,h as s,m as _,s as f,g as m,w as l}from"./index-
|
|
1
|
+
import{r as d,d as c,a as p,h as s,m as _,s as f,g as m,w as l}from"./index-DscFWUNz.js";import{v as y}from"./has-closer-BBMh8HY3-BfJZyIrp.js";import{v as C}from"./label-CdtNxOKu-DuSxxbJz.js";import{w as u}from"./validation-CW_RXPSn-B3S3ukiD.js";import{K as b}from"./Alert-R2nEqfd2-D16I8H-s.js";import"./Heading-DT8fK42U-BBz359Il.js";import"./i18n-CdSCDnmA-Bln0Fy0B.js";import"./clsx-eK3rPvPS-BT_IL7Fz.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const i=["default","info","success","warning","error"],A=t=>typeof t=="string"&&i.includes(t),g=(t,e)=>{l(t,"_type",A,new Set(i),e)},o=["card","msg"],w=t=>typeof t=="string"&&o.includes(t),T=(t,e)=>{l(t,"_variant",w,new Set(o),e)},j=class{constructor(t){d(this,t),this.close=()=>{var e,a;(a=(e=this._on)===null||e===void 0?void 0:e.onClose)===null||a===void 0||a.call(e,new Event("Close")),this.host&&c(this.host,p.close)},this.handleAlertTimeout=()=>{this.validateAlert(!1)},this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0},this.validateOnValue=e=>typeof e=="object"&&e!==null&&typeof e.onClose=="function"}render(){const{_alert:t,_hasCloser:e,_label:a,_level:r,_type:n,_variant:h}=this.state,v={alert:t,hasCloser:e,label:a,level:r,type:n,variant:h,onCloserClick:this.close,onAlertTimeout:this.handleAlertTimeout};return s(b,Object.assign({key:"2f36ca7164492eb43c7942db6e0cb0c231dc9088"},v),s("slot",{key:"626fc6293d159c137669aa44e30a7f122e64f7ef"}))}validateAlert(t){_(this,"_alert",t)}validateHasCloser(t){y(this,t)}validateLabel(t){C(this,t)}validateLevel(t){u(this,t)}validateOn(t){this.validateOnValue(t)&&f(this,"_on",{onClose:t.onClose})}validateType(t){g(this,t)}validateVariant(t){T(this,t)}componentWillLoad(){this.validateAlert(this._alert),this.validateHasCloser(this._hasCloser),this.validateLabel(this._label),this.validateLevel(this._level),this.validateOn(this._on),this.validateType(this._type),this.validateVariant(this._variant)}get host(){return m(this)}static get watchers(){return{_alert:["validateAlert"],_hasCloser:["validateHasCloser"],_label:["validateLabel"],_level:["validateLevel"],_on:["validateOn"],_type:["validateType"],_variant:["validateVariant"]}}};export{j as kol_alert_wc};
|
|
4
|
-
//# sourceMappingURL=kol-alert-wc.entry-
|
|
4
|
+
//# sourceMappingURL=kol-alert-wc.entry-msSyCOPF.js.map
|
package/dist/assets/{kol-alert-wc.entry-UpomKVaW.js.map → kol-alert-wc.entry-msSyCOPF.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-alert-wc.entry-msSyCOPF.js","sources":["../../../../components/dist/esm/kol-alert-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-44UAWlcO.js';\nimport { w as watchValidator, d as watchBoolean, s as setState } from './common-8fBdMvJM.js';\nimport { v as validateHasCloser } from './has-closer-BBMh8HY3.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { w as watchHeadingLevel } from './validation-CW_RXPSn.js';\nimport { K as KolAlertFc } from './Alert-R2nEqfd2.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './Heading-DT8fK42U.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\nimport './bem-DhwfdDrM.js';\nimport './browser-DeS_gcJV.js';\n\nconst alertTypeOptions = ['default', 'info', 'success', 'warning', 'error'];\nconst isAlertTypePropType = (value) => {\n return typeof value === 'string' && alertTypeOptions.includes(value);\n};\nconst validateAlertType = (component, value) => {\n watchValidator(component, '_type', isAlertTypePropType, new Set(alertTypeOptions), value);\n};\n\nconst alertVariantOptions = ['card', 'msg'];\nconst isAlertVariantPropType = (value) => {\n return typeof value === 'string' && alertVariantOptions.includes(value);\n};\nconst validateAlertVariant = (component, value) => {\n watchValidator(component, '_variant', isAlertVariantPropType, new Set(alertVariantOptions), value);\n};\n\nconst KolAlertWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.close = () => {\n var _a, _b;\n (_b = (_a = this._on) === null || _a === void 0 ? void 0 : _a.onClose) === null || _b === void 0 ? void 0 : _b.call(_a, new Event('Close'));\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n };\n this.handleAlertTimeout = () => {\n this.validateAlert(false);\n };\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n this.validateOnValue = (value) => typeof value === 'object' && value !== null && typeof value.onClose === 'function';\n }\n render() {\n const { _alert, _hasCloser, _label, _level, _type, _variant } = this.state;\n const props = {\n alert: _alert,\n hasCloser: _hasCloser,\n label: _label,\n level: _level,\n type: _type,\n variant: _variant,\n onCloserClick: this.close,\n onAlertTimeout: this.handleAlertTimeout,\n };\n return (h(KolAlertFc, Object.assign({ key: '2f36ca7164492eb43c7942db6e0cb0c231dc9088' }, props), h(\"slot\", { key: '626fc6293d159c137669aa44e30a7f122e64f7ef' })));\n }\n validateAlert(value) {\n watchBoolean(this, '_alert', value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateOn(value) {\n if (this.validateOnValue(value)) {\n setState(this, '_on', {\n onClose: value.onClose,\n });\n }\n }\n validateType(value) {\n validateAlertType(this, value);\n }\n validateVariant(value) {\n validateAlertVariant(this, value);\n }\n componentWillLoad() {\n this.validateAlert(this._alert);\n this.validateHasCloser(this._hasCloser);\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateOn(this._on);\n this.validateType(this._type);\n this.validateVariant(this._variant);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_alert\": [\"validateAlert\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_on\": [\"validateOn\"],\n \"_type\": [\"validateType\"],\n \"_variant\": [\"validateVariant\"]\n }; }\n};\n\nexport { KolAlertWc as kol_alert_wc };\n//# sourceMappingURL=kol-alert-wc.entry.js.map\n"],"names":["alertTypeOptions","isAlertTypePropType","value","validateAlertType","component","watchValidator","alertVariantOptions","isAlertVariantPropType","validateAlertVariant","KolAlertWc","hostRef","registerInstance","_a","_b","dispatchDomEvent","KolEvent","_alert","_hasCloser","_label","_level","_type","_variant","props","h","KolAlertFc","watchBoolean","validateHasCloser","validateLabel","watchHeadingLevel","setState","getElement"],"mappings":"sZAAA;AAAA;AAAA,GAkBA,MAAMA,EAAmB,CAAC,UAAW,OAAQ,UAAW,UAAW,OAAO,EACpEC,EAAuBC,GAClB,OAAOA,GAAU,UAAYF,EAAiB,SAASE,CAAK,EAEjEC,EAAoB,CAACC,EAAWF,IAAU,CAC5CG,EAAeD,EAAW,QAASH,EAAqB,IAAI,IAAID,CAAgB,EAAGE,CAAK,CAC5F,EAEMI,EAAsB,CAAC,OAAQ,KAAK,EACpCC,EAA0BL,GACrB,OAAOA,GAAU,UAAYI,EAAoB,SAASJ,CAAK,EAEpEM,EAAuB,CAACJ,EAAWF,IAAU,CAC/CG,EAAeD,EAAW,WAAYG,EAAwB,IAAI,IAAID,CAAmB,EAAGJ,CAAK,CACrG,EAEMO,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,EACtI,KAAK,MACLE,EAAiB,KAAK,KAAMC,EAAS,KAAK,CAElD,EACA,KAAK,mBAAqB,IAAM,CAC5B,KAAK,cAAc,EAAK,CAC5B,EACA,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,EACQ,KAAK,gBAAmBb,GAAU,OAAOA,GAAU,UAAYA,IAAU,MAAQ,OAAOA,EAAM,SAAY,UAC9G,CACA,QAAS,CACL,KAAM,CAAE,OA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Y,EACpB,MAAS,CAAC,cAAc,EACxB,SAAY,CAAC,iBAAiB,CACtC,CAAO,CACP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as t,h as n,b as o}from"./index-
|
|
1
|
+
import{r as t,h as n,b as o}from"./index-DscFWUNz.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const i=`/*
|
|
4
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -21,7 +21,7 @@ import{r as t,h as n,b as o}from"./index-Ci3EIMY6.js";/*!
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r as t,h as n,b as o}from"./index-Ci3EIMY6.js";/*!
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -228,8 +228,8 @@ import{r as t,h as n,b as o}from"./index-Ci3EIMY6.js";/*!
|
|
|
228
228
|
background-color: #fff;
|
|
229
229
|
position: absolute;
|
|
230
230
|
z-index: 999;
|
|
231
|
-
width: calc(
|
|
232
|
-
height: calc(
|
|
231
|
+
width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
232
|
+
height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
233
233
|
}
|
|
234
234
|
.kol-tooltip__content {
|
|
235
235
|
color: #000;
|
|
@@ -251,7 +251,7 @@ import{r as t,h as n,b as o}from"./index-Ci3EIMY6.js";/*!
|
|
|
251
251
|
}
|
|
252
252
|
.kol-alert__closer {
|
|
253
253
|
/* Visible with forced colors */
|
|
254
|
-
outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));
|
|
254
|
+
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
255
255
|
}
|
|
256
256
|
}`,l=class{constructor(e){t(this,e),this._alert=!1,this._hasCloser=!1,this._level=0,this._type="default",this._variant="msg",this.state={_level:0}}render(){return n(o,{key:"b876c431070858a6e60733568c4d3c1e111def08",_alert:this._alert,_hasCloser:this._hasCloser,_label:this._label,_level:this._level,_on:this._on,_type:this._type,_variant:this._variant},n("slot",{key:"d73c1cbe7087c77ce5c43e41c9aa60c652e1c451"}))}};l.style={default:i};export{l as kol_alert};
|
|
257
|
-
//# sourceMappingURL=kol-alert.entry-
|
|
257
|
+
//# sourceMappingURL=kol-alert.entry-DKLZM9PM.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-alert.entry-DKLZM9PM.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-44UAWlcO.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-alert {\\n display: grid;\\n }\\n .kol-alert__container {\\n display: flex;\\n place-items: center;\\n }\\n .kol-alert__container-content {\\n flex-grow: 1;\\n }\\n .kol-alert__closer {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAlert = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._alert = false;\n this._hasCloser = false;\n this._level = 0;\n this._type = 'default';\n this._variant = 'msg';\n this.state = {\n _level: 0,\n };\n }\n render() {\n return (h(KolAlertWcTag, { key: 'b876c431070858a6e60733568c4d3c1e111def08', _alert: this._alert, _hasCloser: this._hasCloser, _label: this._label, _level: this._level, _on: this._on, _type: this._type, _variant: this._variant }, h(\"slot\", { key: 'd73c1cbe7087c77ce5c43e41c9aa60c652e1c451' })));\n }\n};\nKolAlert.style = {\n default: defaultStyleCss\n};\n\nexport { KolAlert as kol_alert };\n//# sourceMappingURL=kol-alert.entry.js.map\n"],"names":["defaultStyleCss","KolAlert","hostRef","registerInstance","h","KolAlertWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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A;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAW,KAAM,CACnB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,OAAS,GACd,KAAK,WAAa,GAClB,KAAK,OAAS,EACd,KAAK,MAAQ,UACb,KAAK,SAAW,MAChB,KAAK,MAAQ,CACT,OAAQ,CACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAEC,EAAe,CAAE,IAAK,2CAA4C,OAAQ,KAAK,OAAQ,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,SAAU,KAAK,QAAQ,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA0C,CAAE,CAAC,CACvS,CACJ,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as l,h as e}from"./index-
|
|
1
|
+
import{r as l,h as e}from"./index-DscFWUNz.js";import{v as o}from"./image-source-RWPv7frZ-awO_r7fQ.js";import{v as c}from"./label-CdtNxOKu-DuSxxbJz.js";import{t as n}from"./i18n-CdSCDnmA-Bln0Fy0B.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const r=a=>a.length===0?"":a[0].toUpperCase(),d=a=>{const t=a.split(/\s+/),s=t[0],i=t[t.length-1];return t.length>=2&&s&&i?`${r(s)}${r(i)}`:r(a)},b=class{constructor(a){l(this,a),this.state={_src:"",_label:""}}render(){return e("div",{key:"b9ad63a1fb9190d47524deae8e59a00d2a14fa83","aria-label":n("kol-avatar-alt",{placeholders:{name:this.state._label}}),class:"kol-avatar",role:"img"},this.state._src?e("img",{alt:"","aria-hidden":"true",class:"kol-avatar__image",src:this.state._src}):e("span",{"aria-hidden":"true",class:"kol-avatar__initials"},d(this.state._label.trim())))}validateSrc(a){o(this,a)}validateLabel(a){c(this,a,{required:!0})}componentWillLoad(){this.validateSrc(this._src),this.validateLabel(this._label)}static get watchers(){return{_src:["validateSrc"],_label:["validateLabel"]}}};export{b as kol_avatar_wc};
|
|
4
|
-
//# sourceMappingURL=kol-avatar-wc.entry-
|
|
4
|
+
//# sourceMappingURL=kol-avatar-wc.entry-BJwQ_ZJG.js.map
|
package/dist/assets/{kol-avatar-wc.entry-yBoIJyPv.js.map → kol-avatar-wc.entry-BJwQ_ZJG.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kol-avatar-wc.entry-
|
|
1
|
+
{"version":3,"file":"kol-avatar-wc.entry-BJwQ_ZJG.js","sources":["../../../../components/dist/esm/kol-avatar-wc.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-44UAWlcO.js';\nimport './common-8fBdMvJM.js';\nimport { v as validateImageSource } from './image-source-RWPv7frZ.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { t as translate } from './i18n-CdSCDnmA.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst formatNameAsInitial = (name) => {\n if (name.length === 0) {\n return '';\n }\n return name[0].toUpperCase();\n};\nconst formatLabelAsInitials = (label) => {\n const names = label.split(/\\s+/);\n const first = names[0];\n const last = names[names.length - 1];\n if (names.length >= 2 && first && last) {\n return `${formatNameAsInitial(first)}${formatNameAsInitial(last)}`;\n }\n return formatNameAsInitial(label);\n};\n\nconst KolAvatarWc = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.state = {\n _src: '',\n _label: '',\n };\n }\n render() {\n return (h(\"div\", { key: 'b9ad63a1fb9190d47524deae8e59a00d2a14fa83', \"aria-label\": translate('kol-avatar-alt', { placeholders: { name: this.state._label } }), class: \"kol-avatar\", role: \"img\" }, this.state._src ? (h(\"img\", { alt: \"\", \"aria-hidden\": \"true\", class: \"kol-avatar__image\", src: this.state._src })) : (h(\"span\", { \"aria-hidden\": \"true\", class: \"kol-avatar__initials\" }, formatLabelAsInitials(this.state._label.trim())))));\n }\n validateSrc(value) {\n validateImageSource(this, value);\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n componentWillLoad() {\n this.validateSrc(this._src);\n this.validateLabel(this._label);\n }\n static get watchers() { return {\n \"_src\": [\"validateSrc\"],\n \"_label\": [\"validateLabel\"]\n }; }\n};\n\nexport { KolAvatarWc as kol_avatar_wc };\n//# sourceMappingURL=kol-avatar-wc.entry.js.map\n"],"names":["formatNameAsInitial","name","formatLabelAsInitials","label","names","first","last","KolAvatarWc","hostRef","registerInstance","h","translate","value","validateImageSource","validateLabel"],"mappings":"wMAAA;AAAA;AAAA,GAUA,MAAMA,EAAuBC,GACrBA,EAAK,SAAW,EACT,GAEJA,EAAK,CAAC,EAAE,YAAW,EAExBC,EAAyBC,GAAU,CACrC,MAAMC,EAAQD,EAAM,MAAM,KAAK,EACzBE,EAAQD,EAAM,CAAC,EACfE,EAAOF,EAAMA,EAAM,OAAS,CAAC,EACnC,OAAIA,EAAM,QAAU,GAAKC,GAASC,EACvB,GAAGN,EAAoBK,CAAK,CAAC,GAAGL,EAAoBM,CAAI,CAAC,GAE7DN,EAAoBG,CAAK,CACpC,EAEMI,EAAc,KAAM,CACtB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,MAAQ,CACT,KAAM,GACN,OAAQ,EACpB,CACI,CACA,QAAS,CACL,OAAQE,EAAE,MAAO,CAAE,IAAK,2CAA4C,aAAcC,EAAU,iBAAkB,CAAE,aAAc,CAAE,KAAM,KAAK,MAAM,OAAQ,CAAE,EAAG,MAAO,aAAc,KAAM,KAAK,EAAI,KAAK,MAAM,KAAQD,EAAE,MAAO,CAAE,IAAK,GAAI,cAAe,OAAQ,MAAO,oBAAqB,IAAK,KAAK,MAAM,IAAI,CAAE,EAAMA,EAAE,OAAQ,CAAE,cAAe,OAAQ,MAAO,sBAAsB,EAAIR,EAAsB,KAAK,MAAM,OAAO,KAAI,CAAE,CAAC,CAAE,CACjb,CACA,YAAYU,EAAO,CACfC,EAAoB,KAAMD,CAAK,CACnC,CACA,cAAcA,EAAO,CACjBE,EAAc,KAAMF,EAAO,CACvB,SAAU,EACtB,CAAS,CACL,CACA,mBAAoB,CAChB,KAAK,YAAY,KAAK,IAAI,EAC1B,KAAK,cAAc,KAAK,MAAM,CAClC,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,KAAQ,CAAC,aAAa,EACtB,OAAU,CAAC,eAAe,CAClC,CAAO,CACP"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as e,h as t,c as i}from"./index-
|
|
1
|
+
import{r as e,h as t,c as i}from"./index-DscFWUNz.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const o=`/* forward the rem function */
|
|
4
4
|
/*
|
|
@@ -21,7 +21,7 @@ import{r as e,h as t,c as i}from"./index-Ci3EIMY6.js";/*!
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r as e,h as t,c as i}from"./index-Ci3EIMY6.js";/*!
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -202,9 +202,9 @@ import{r as e,h as t,c as i}from"./index-Ci3EIMY6.js";/*!
|
|
|
202
202
|
}
|
|
203
203
|
.kol-avatar {
|
|
204
204
|
/* Visible with forced colors */
|
|
205
|
-
outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));
|
|
206
|
-
width: calc(
|
|
207
|
-
height: calc(
|
|
205
|
+
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
206
|
+
width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));
|
|
207
|
+
height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));
|
|
208
208
|
}
|
|
209
209
|
.kol-avatar__image, .kol-avatar__initials {
|
|
210
210
|
width: 100%;
|
|
@@ -215,7 +215,7 @@ import{r as e,h as t,c as i}from"./index-Ci3EIMY6.js";/*!
|
|
|
215
215
|
display: flex;
|
|
216
216
|
align-items: center;
|
|
217
217
|
justify-content: center;
|
|
218
|
-
font-size: calc(
|
|
218
|
+
font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));
|
|
219
219
|
}
|
|
220
220
|
}`,a=class{constructor(n){e(this,n)}render(){return t(i,{key:"c4547a5724ed8d947c20de5128227bc71c14d401",_src:this._src,_label:this._label})}};a.style={default:o};export{a as kol_avatar};
|
|
221
|
-
//# sourceMappingURL=kol-avatar.entry-
|
|
221
|
+
//# sourceMappingURL=kol-avatar.entry-CqDq3TkJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-avatar.entry-CqDq3TkJ.js","sources":["../../../../components/dist/esm/kol-avatar.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-44UAWlcO.js';\nimport { c as KolAvatarWcTag } from './component-names-CkE54Ym7.js';\nimport './common-8fBdMvJM.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: block;\\n }\\n}\\n@layer kol-component {\\n .kol-avatar,\\n .kol-avatar__image,\\n .kol-avatar__initials {\\n border-radius: 50%;\\n }\\n .kol-avatar {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n width: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(100 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-avatar__image, .kol-avatar__initials {\\n width: 100%;\\n height: 100%;\\n }\\n .kol-avatar__initials {\\n background-color: #d3d3d3;\\n display: flex;\\n align-items: center;\\n justify-content: center;\\n font-size: calc(40 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolAvatar = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return h(KolAvatarWcTag, { key: 'c4547a5724ed8d947c20de5128227bc71c14d401', _src: this._src, _label: this._label });\n }\n};\nKolAvatar.style = {\n default: defaultStyleCss\n};\n\nexport { KolAvatar as kol_avatar };\n//# sourceMappingURL=kol-avatar.entry.js.map\n"],"names":["defaultStyleCss","KolAvatar","hostRef","registerInstance","h","KolAvatarWcTag"],"mappings":"sDAAA;AAAA;AAAA,GAOA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA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";import{v as m}from"./icons-72ER78AW-BvK8yAOn.js";import"./Alert-R2nEqfd2-D16I8H-s.js";import{c as u}from"./clsx-eK3rPvPS-BT_IL7Fz.js";import{K as b}from"./Span-43sGxXr7-LxLqNQk3.js";import"./i18n-CdSCDnmA-Bln0Fy0B.js";import{n as f}from"./dev.utils-Bbi3sn8s-CRUPlhXY.js";import"./Heading-DT8fK42U-BBz359Il.js";import"./markdown-DL-PkOqb-zRCMnbWa.js";import"./isObject-DvSELytj-B0RigBxT.js";import"./Icon-oHNRs_Az-BbbmR1N5.js";import"./reuse-CX4AQDkS-Cyh-fyjG.js";import"./InternalUnderlinedBadgeText-dfa2g8TL-B5v3VETx.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const p=`/* forward the rem function */
|
|
4
4
|
/*
|
|
@@ -21,7 +21,7 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Ci3EIMY6.js
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Ci3EIMY6.js
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -223,8 +223,8 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Ci3EIMY6.js
|
|
|
223
223
|
background-color: #fff;
|
|
224
224
|
position: absolute;
|
|
225
225
|
z-index: 999;
|
|
226
|
-
width: calc(
|
|
227
|
-
height: calc(
|
|
226
|
+
width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
227
|
+
height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
228
228
|
}
|
|
229
229
|
.kol-tooltip__content {
|
|
230
230
|
color: #000;
|
|
@@ -236,7 +236,7 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Ci3EIMY6.js
|
|
|
236
236
|
@layer kol-component {
|
|
237
237
|
.kol-badge {
|
|
238
238
|
/* Visible with forced colors */
|
|
239
|
-
outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));
|
|
239
|
+
outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));
|
|
240
240
|
display: inline-flex;
|
|
241
241
|
place-items: center;
|
|
242
242
|
}
|
|
@@ -244,4 +244,4 @@ import{r as i,h as t,e as a,o as l,f as r,p as s,s as d}from"./index-Ci3EIMY6.js
|
|
|
244
244
|
color: inherit;
|
|
245
245
|
}
|
|
246
246
|
}`;r("[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).");const g=class{constructor(n){i(this,n),this.bgColorStr="#000",this.colorStr="#fff",this.id=f(),this._color="#000",this.state={_color:{backgroundColor:"#000",foregroundColor:"#fff"},_icons:{}},this.handleColorChange=e=>{const o=c(e);this.bgColorStr=o.backgroundColor,this.colorStr=o.foregroundColor}}renderSmartButton(n){return t(a,{class:"kol-badge__smart-button",_ariaControls:this.id,_customClass:n._customClass,_disabled:n._disabled,_hideLabel:!0,_icons:n._icons,_id:n._id,_label:n._label,_on:n._on,_tooltipAlign:n._tooltipAlign,_buttonVariant:n._variant})}render(){const n=typeof this.state._smartButton=="object"&&this.state._smartButton!==null;return t("span",{key:"5887c57c800757a960919276d5422054b6d7c17f",class:u("kol-badge",{"kol-badge--has-smart-button":typeof this.state._smartButton=="object"&&this.state._smartButton!==null}),style:{backgroundColor:this.bgColorStr,color:this.colorStr}},t(b,{key:"d6650fca7447ba669d77f8c81cfbc70a67622b0b",class:"kol-badge__label",id:n?this.id:void 0,allowMarkdown:!0,icons:this.state._icons,label:this._label}),n&&this.renderSmartButton(this.state._smartButton))}validateIcons(n){m(this,n)}validateColor(n){h(this,n,{defaultValue:"#000",hooks:{beforePatch:this.handleColorChange}})}validateSmartButton(n){l(n,()=>{try{n=s(n)}catch{}d(this,"_smartButton",n)})}componentWillLoad(){this.validateIcons(this._icons),this.validateColor(this._color),this.validateSmartButton(this._smartButton)}static get watchers(){return{_icons:["validateIcons"],_color:["validateColor"],_smartButton:["validateSmartButton"]}}};g.style={default:p};export{g as kol_badge};
|
|
247
|
-
//# sourceMappingURL=kol-badge.entry-
|
|
247
|
+
//# sourceMappingURL=kol-badge.entry-Do6C__Cp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-badge.entry-Do6C__Cp.js","sources":["../../../../components/dist/esm/kol-badge.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-44UAWlcO.js';\nimport { f as featureHint, o as objectObjectHandler, p as parseJson, s as setState } from './common-8fBdMvJM.js';\nimport { h as handleColorChange, v as validateColor } from './color-C3pYZKV3.js';\nimport { v as validateIcons } from './icons-72ER78AW.js';\nimport './Alert-R2nEqfd2.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolSpanFc } from './Span-43sGxXr7.js';\nimport './i18n-CdSCDnmA.js';\nimport { n as nonce } from './dev.utils-Bbi3sn8s.js';\nimport './Heading-DT8fK42U.js';\nimport './bem-DhwfdDrM.js';\nimport './browser-DeS_gcJV.js';\nimport './Icon-oHNRs_Az.js';\nimport './reuse-CX4AQDkS.js';\nimport './markdown-DL-PkOqb.js';\nimport './InternalUnderlinedBadgeText-dfa2g8TL.js';\nimport './isObject-DvSELytj.js';\nimport './i18n-ZF6JbdVP.js';\n\nconst defaultStyleCss = \"/* forward the rem function */\\n/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n .kol-badge {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1 * 1rem / var(--kolibri-root-font-size, 16));\\n display: inline-flex;\\n place-items: center;\\n }\\n .kol-badge .kol-badge__smart-button .button {\\n color: inherit;\\n }\\n}\";\n\nfeatureHint(`[KolBadge] Optimierung des _color-Properties (rgba, rgb, hex usw.).`);\nconst KolBadge = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.bgColorStr = '#000';\n this.colorStr = '#fff';\n this.id = nonce();\n this._color = '#000';\n this.state = {\n _color: {\n backgroundColor: '#000',\n foregroundColor: '#fff',\n },\n _icons: {},\n };\n this.handleColorChange = (value) => {\n const colorPair = handleColorChange(value);\n this.bgColorStr = colorPair.backgroundColor;\n this.colorStr = colorPair.foregroundColor;\n };\n }\n renderSmartButton(props) {\n return (h(KolButtonWcTag, { class: \"kol-badge__smart-button\", _ariaControls: this.id, _customClass: props._customClass, _disabled: props._disabled, _hideLabel: true, _icons: props._icons, _id: props._id, _label: props._label, _on: props._on, _tooltipAlign: props._tooltipAlign, _buttonVariant: props._variant }));\n }\n render() {\n const hasSmartButton = typeof this.state._smartButton === 'object' && this.state._smartButton !== null;\n return (h(\"span\", { key: '5887c57c800757a960919276d5422054b6d7c17f', class: clsx('kol-badge', {\n 'kol-badge--has-smart-button': typeof this.state._smartButton === 'object' && this.state._smartButton !== null,\n }), style: {\n backgroundColor: this.bgColorStr,\n color: this.colorStr,\n } }, h(KolSpanFc, { key: 'd6650fca7447ba669d77f8c81cfbc70a67622b0b', class: \"kol-badge__label\", id: hasSmartButton ? this.id : undefined, allowMarkdown: true, icons: this.state._icons, label: this._label }), hasSmartButton && this.renderSmartButton(this.state._smartButton)));\n }\n validateIcons(value) {\n validateIcons(this, value);\n }\n validateColor(value) {\n validateColor(this, value, {\n defaultValue: '#000',\n hooks: {\n beforePatch: this.handleColorChange,\n },\n });\n }\n validateSmartButton(value) {\n objectObjectHandler(value, () => {\n try {\n value = parseJson(value);\n }\n catch (e) {\n }\n setState(this, '_smartButton', value);\n });\n }\n componentWillLoad() {\n this.validateIcons(this._icons);\n this.validateColor(this._color);\n this.validateSmartButton(this._smartButton);\n }\n static get watchers() { return {\n \"_icons\": [\"validateIcons\"],\n \"_color\": [\"validateColor\"],\n \"_smartButton\": [\"validateSmartButton\"]\n }; }\n};\nKolBadge.style = {\n default: defaultStyleCss\n};\n\nexport { KolBadge as kol_badge };\n//# sourceMappingURL=kol-badge.entry.js.map\n"],"names":["defaultStyleCss","featureHint","KolBadge","hostRef","registerInstance","nonce","value","colorPair","handleColorChange","props","h","KolButtonWcTag","hasSmartButton","clsx","KolSpanFc","validateIcons","validateColor","objectObjectHandler","parseJson","setState"],"mappings":"opBAAA;AAAA;AAAA,GAuBA,MAAMA,EAAkB;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F,EAAiB,KAAK,GAAK,OAAW,cAAe,GAAM,MAAO,KAAK,MAAM,OAAQ,MAAO,KAAK,MAAM,CAAE,EAAGA,GAAkB,KAAK,kBAAkB,KAAK,MAAM,YAAY,CAAC,CACzR,CACA,cAAcN,EAAO,CACjBS,EAAc,KAAMT,CAAK,CAC7B,CACA,cAAcA,EAAO,CACjBU,EAAc,KAAMV,EAAO,CACvB,aAAc,OACd,MAAO,CACH,YAAa,KAAK,iBAClC,CACA,CAAS,CACL,CACA,oBAAoBA,EAAO,CACvBW,EAAoBX,EAAO,IAAM,CAC7B,GAAI,CACAA,EAAQY,EAAUZ,CAAK,CAC3B,MACU,CACV,CACAa,EAAS,KAAM,eAAgBb,CAAK,CACxC,CAAC,CACL,CACA,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,oBAAoB,KAAK,YAAY,CAC9C,CACA,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,aAAgB,CAAC,qBAAqB,CAC9C,CAAO,CACP,EACAJ,EAAS,MAAQ,CACb,QAASF,CACb"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-
|
|
1
|
+
import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-DscFWUNz.js";import{v as h}from"./label-CdtNxOKu-DuSxxbJz.js";import{r as a,a as b}from"./unique-nav-labels-C_NhdgGz-r2_CvnMZ.js";import{w as m}from"./validation-DoIjmu3L-BXKVFtky.js";/*!
|
|
2
2
|
* KoliBri - The accessible HTML-Standard
|
|
3
3
|
*/const p=`/*
|
|
4
4
|
* This file defines the layer order for all CSS layers used in KoliBri.
|
|
@@ -21,7 +21,7 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Ci3EIMY6.js";impor
|
|
|
21
21
|
/*
|
|
22
22
|
* Minimum size of interactive elements.
|
|
23
23
|
*/
|
|
24
|
-
--a11y-min-size: calc(
|
|
24
|
+
--a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));
|
|
25
25
|
/*
|
|
26
26
|
* No element should be used without verifying the contrast ratio of its background and font colors.
|
|
27
27
|
* By initially setting the background color to white and the font color to black,
|
|
@@ -145,7 +145,7 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Ci3EIMY6.js";impor
|
|
|
145
145
|
* parent node, if the table is wider than the parent node.
|
|
146
146
|
*/
|
|
147
147
|
max-width: 100%;
|
|
148
|
-
font-size: calc(
|
|
148
|
+
font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));
|
|
149
149
|
}
|
|
150
150
|
* {
|
|
151
151
|
/*
|
|
@@ -223,8 +223,8 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Ci3EIMY6.js";impor
|
|
|
223
223
|
background-color: #fff;
|
|
224
224
|
position: absolute;
|
|
225
225
|
z-index: 999;
|
|
226
|
-
width: calc(
|
|
227
|
-
height: calc(
|
|
226
|
+
width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
227
|
+
height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));
|
|
228
228
|
}
|
|
229
229
|
.kol-tooltip__content {
|
|
230
230
|
color: #000;
|
|
@@ -256,7 +256,7 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Ci3EIMY6.js";impor
|
|
|
256
256
|
}
|
|
257
257
|
.kol-link__icon {
|
|
258
258
|
display: inline-flex;
|
|
259
|
-
margin-left: calc(
|
|
259
|
+
margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));
|
|
260
260
|
}
|
|
261
261
|
.kol-breadcrumb__list, .kol-breadcrumb__list-element {
|
|
262
262
|
display: flex;
|
|
@@ -276,4 +276,4 @@ import{r as s,h as n,i as o,F as r,j as d,k as c}from"./index-Ci3EIMY6.js";impor
|
|
|
276
276
|
font-family: "Font Awesome 6 Free";
|
|
277
277
|
}
|
|
278
278
|
}`,f=class{constructor(t){s(this,t),this.renderLink=(e,i)=>{const l=this.state._links.length-1;return n("li",{class:"kol-breadcrumb__list-element",key:i},i!==0&&n(o,{class:"kol-breadcrumb__icon",_label:"",_icons:"codicon codicon-chevron-right"}),i===l?n("span",{class:"kol-breadcrumb__list-element-span","aria-current":"page"},e._hideLabel?n(o,{class:"kol-breadcrumb__icon",_label:e._label,_icons:typeof e._icons=="string"?e._icons:"codicon codicon-symbol-event"}):n(r,null,e._label)):n(d,Object.assign({class:"kol-breadcrumb__link",_linkVariant:"standalone"},e)))},this.state={_label:"",_links:[]}}render(){return n("nav",{key:"2aa677c03f9df0fcca0ab77dacc43c27c2d16d89",class:"kol-breadcrumb","aria-label":this.state._label},n("ul",{key:"70aad9485b495366f0458769da35c8841111a816",class:"kol-breadcrumb__list"},this.state._links.length===0&&n("li",{key:"b78a562b80efff67fc05e5b9ad0b50c19db2a21d"},n(o,{key:"915a3797feadfe8fbb81878a63af7cfd8ef9f60a",class:"kol-breadcrumb_icon",_label:"",_icons:"codicon codicon-home"}),"…"),this.state._links.map(this.renderLink)))}validateLabel(t,e,i=!1){i||a(this.state._label),h(this,t,{required:!0}),c(t),b(this.state._label)}validateLinks(t){m("KolBreadcrumb",this,t)}componentWillLoad(){this.validateLabel(this._label,void 0,!0),this.validateLinks(this._links)}disconnectedCallback(){a(this.state._label)}static get watchers(){return{_label:["validateLabel"],_links:["validateLinks"]}}};f.style={default:p};export{f as kol_breadcrumb};
|
|
279
|
-
//# sourceMappingURL=kol-breadcrumb.entry-
|
|
279
|
+
//# sourceMappingURL=kol-breadcrumb.entry-lprgYhyL.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kol-breadcrumb.entry-lprgYhyL.js","sources":["../../../../components/dist/esm/kol-breadcrumb.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, F as Fragment } from './index-44UAWlcO.js';\nimport { c as a11yHintLabelingLandmarks } from './common-8fBdMvJM.js';\nimport { v as validateLabel } from './label-CdtNxOKu.js';\nimport { r as removeNavLabel, a as addNavLabel } from './unique-nav-labels-C_NhdgGz.js';\nimport { w as watchNavLinks } from './validation-DoIjmu3L.js';\nimport { e as KolIconTag, f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/*\\n* This file defines the layer order for all CSS layers used in KoliBri.\\n* The order is important as it determines the cascade priority.\\n*\\n* Layer order (lowest to highest priority):\\n* 1. kol-a11y - Accessibility defaults and requirements\\n* 2. kol-global - Global component styles and resets\\n* 3. kol-component - Component-specific styles\\n* 4. kol-theme-global - Theme-specific global styles\\n* 5. kol-theme-component - Theme-specific component styles\\n*/\\n@layer kol-a11y, kol-global, kol-component, kol-theme-global, kol-theme-component;\\n/* forward the rem function */\\n/*\\n * This file contains all rules for accessibility.\\n */\\n@layer kol-a11y {\\n :host {\\n /*\\n * Minimum size of interactive elements.\\n */\\n --a11y-min-size: calc(44 * 1rem / var(--kolibri-root-font-size, 16));\\n /*\\n * No element should be used without verifying the contrast ratio of its background and font colors.\\n * By initially setting the background color to white and the font color to black,\\n * the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n color: black;\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n button,\\n .kol-input .input {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n /*\\n * Some interactive elements should not inherit the font-family and font-size.\\n */\\n a,\\n button,\\n h1,\\n h2,\\n h3,\\n h4,\\n h5,\\n h6,\\n input,\\n option,\\n select,\\n textarea {\\n /*\\n * All elements should inherit the font family from his parent element.\\n */\\n font-family: inherit;\\n /*\\n * All elements should inherit the font size from his parent element.\\n */\\n font-size: inherit;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n /**\\n * Sometimes we need the semantic element for accessibility reasons,\\n * but we don't want to show it.\\n *\\n * - https://www.a11yproject.com/posts/how-to-hide-content/\\n */\\n .visually-hidden {\\n position: fixed;\\n top: 0;\\n left: 0;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip-path: inset(50%);\\n }\\n}\\n@layer kol-global {\\n /*\\n * Dieses CSS stellt sicher, dass der Standard-Style\\n * von A und Button resettet werden.\\n */\\n :is(a, button) {\\n background-color: transparent;\\n width: 100%;\\n margin: 0;\\n padding: 0;\\n border: none;\\n /* 100% needed for custom width from outside */\\n }\\n /*\\n * Ensure elements with hidden attribute to be actually not visible\\n * @see https://meowni.ca/hidden.is.a.lie.html\\n */\\n [hidden] {\\n display: none !important;\\n }\\n .badge-text-hint {\\n color: black;\\n background-color: lightgray;\\n }\\n}\\n@layer kol-global {\\n :host {\\n /*\\n * The max-width is needed to prevent the table from overflowing the\\n * parent node, if the table is wider than the parent node.\\n */\\n max-width: 100%;\\n font-size: calc(16 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .kol-span {\\n /* KolSpan is a layout component with icons in all directions and a label text in the middle. */\\n display: grid;\\n place-items: center;\\n /* The sub span in KolSpan is the horizontal span with icon left and right and the label text in the middle. */\\n }\\n .kol-span__container {\\n display: flex;\\n place-items: center;\\n }\\n a,\\n button {\\n cursor: pointer;\\n }\\n .kol-span .kol-span__label--hide-label .kol-span__label {\\n display: none;\\n }\\n /* Reset browser agent style. */\\n button:disabled {\\n color: unset;\\n }\\n .disabled label,\\n .disabled:focus-within label,\\n [aria-disabled=true],\\n [aria-disabled=true]:focus,\\n [disabled],\\n [disabled]:focus {\\n opacity: 0.5;\\n outline: none;\\n cursor: not-allowed;\\n }\\n [aria-disabled=true]:focus .kol-span,\\n [disabled]:focus .kol-span {\\n outline: none !important;\\n }\\n}\\n@layer kol-component {\\n @keyframes fadeInOpacity {\\n 0% {\\n opacity: 0;\\n }\\n 100% {\\n opacity: 1;\\n }\\n }\\n .kol-tooltip {\\n display: contents;\\n }\\n .kol-tooltip__floating {\\n display: none;\\n position: fixed;\\n /* Avoid layout interference - see https://floating-ui.com/docs/computePosition */\\n top: 0;\\n left: 0;\\n /* Can be used to specify the tooltip-width from the outside. Unset by default. */\\n width: var(--kol-tooltip-width);\\n max-width: 90vw;\\n max-height: 90vh;\\n visibility: hidden;\\n animation-duration: 0.25s;\\n animation-iteration-count: 1;\\n animation-name: fadeInOpacity;\\n animation-timing-function: ease-in;\\n }\\n .kol-tooltip__arrow {\\n transform: rotate(45deg);\\n color: #000;\\n background-color: #fff;\\n position: absolute;\\n z-index: 999;\\n width: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n height: calc(10 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-tooltip__content {\\n color: #000;\\n background-color: #fff;\\n position: relative;\\n z-index: 1000;\\n }\\n}\\n@layer kol-component {\\n :host {\\n display: inline-block;\\n }\\n .kol-link {\\n display: inline-flex;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n .kol-link--standalone {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n .kol-link__text .kol-span__label {\\n text-decoration-line: underline;\\n }\\n .kol-link:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-link__text .kol-span__label {\\n text-decoration-thickness: 0.2em;\\n }\\n .kol-link__icon {\\n display: inline-flex;\\n margin-left: calc(8 * 1rem / var(--kolibri-root-font-size, 16));\\n }\\n .kol-breadcrumb__list, .kol-breadcrumb__list-element {\\n display: flex;\\n margin: 0;\\n padding: 0;\\n gap: 0.5em;\\n flex-wrap: wrap;\\n place-items: center;\\n list-style: none;\\n }\\n .kol-breadcrumb__icon::part(separator) {\\n font-size: 0.7em;\\n font-weight: 900;\\n }\\n .kol-breadcrumb__icon::part(separator):before {\\n content: \\\"\\\\f054\\\";\\n font-family: \\\"Font Awesome 6 Free\\\";\\n }\\n}\";\n\nconst KolBreadcrumb = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.renderLink = (link, index) => {\n const lastIndex = this.state._links.length - 1;\n return (h(\"li\", { class: \"kol-breadcrumb__list-element\", key: index }, index !== 0 && h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: \"\", _icons: \"codicon codicon-chevron-right\" }), index === lastIndex ? (h(\"span\", { class: \"kol-breadcrumb__list-element-span\", \"aria-current\": \"page\" }, link._hideLabel ? (h(KolIconTag, { class: \"kol-breadcrumb__icon\", _label: link._label, _icons: typeof link._icons === 'string' ? link._icons : 'codicon codicon-symbol-event' })) : (h(Fragment, null, link._label)))) : (h(KolLinkWcTag, Object.assign({ class: \"kol-breadcrumb__link\", _linkVariant: \"standalone\" }, link)))));\n };\n this.state = {\n _label: '',\n _links: [],\n };\n }\n render() {\n return (h(\"nav\", { key: '2aa677c03f9df0fcca0ab77dacc43c27c2d16d89', class: \"kol-breadcrumb\", \"aria-label\": this.state._label }, h(\"ul\", { key: '70aad9485b495366f0458769da35c8841111a816', class: \"kol-breadcrumb__list\" }, this.state._links.length === 0 && (h(\"li\", { key: 'b78a562b80efff67fc05e5b9ad0b50c19db2a21d' }, h(KolIconTag, { key: '915a3797feadfe8fbb81878a63af7cfd8ef9f60a', class: \"kol-breadcrumb_icon\", _label: \"\", _icons: \"codicon codicon-home\" }), \"\\u2026\")), this.state._links.map(this.renderLink))));\n }\n validateLabel(value, _oldValue, initial = false) {\n if (!initial) {\n removeNavLabel(this.state._label);\n }\n validateLabel(this, value, {\n required: true,\n });\n a11yHintLabelingLandmarks(value);\n addNavLabel(this.state._label);\n }\n validateLinks(value) {\n watchNavLinks('KolBreadcrumb', this, value);\n }\n componentWillLoad() {\n this.validateLabel(this._label, undefined, true);\n this.validateLinks(this._links);\n }\n disconnectedCallback() {\n removeNavLabel(this.state._label);\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_links\": [\"validateLinks\"]\n }; }\n};\nKolBreadcrumb.style = {\n default: defaultStyleCss\n};\n\nexport { KolBreadcrumb as kol_breadcrumb };\n//# sourceMappingURL=kol-breadcrumb.entry.js.map\n"],"names":["defaultStyleCss","KolBreadcrumb","hostRef","registerInstance","link","index","lastIndex","h","KolIconTag","Fragment","KolLinkWcTag","value","_oldValue","initial","removeNavLabel","validateLabel","a11yHintLabelingLandmarks","addNavLabel","watchNavLinks"],"mappings":"sPAAA;AAAA;AAAA,GAUA,MAAMA,EAAkB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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