@public-ui/sample-react 3.0.4-rc.1 → 3.0.4
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-BD7M6uRz-D3nPmBqV.js +4 -0
- package/dist/assets/{Alert-BGDOGZ66-CbLEK4aj.js.map → Alert-BD7M6uRz-D3nPmBqV.js.map} +1 -1
- package/dist/assets/Collapsible-Cm151Fs4-KC29VOQo.js +4 -0
- package/dist/assets/{Collapsible-CV7OHhy1-DSu5qbx_.js.map → Collapsible-Cm151Fs4-KC29VOQo.js.map} +1 -1
- package/dist/assets/CustomSuggestionsToggle-C-nYEmvT-CB1GZtRV.js +4 -0
- package/dist/assets/{CustomSuggestionsToggle-C60H2vRs-DYTpZfrl.js.map → CustomSuggestionsToggle-C-nYEmvT-CB1GZtRV.js.map} +1 -1
- package/dist/assets/FieldControlStateWrapper-C1_urHeO-B_4ty5iW.js +4 -0
- package/dist/assets/{FieldControlStateWrapper-DVc-7hVp-DjSj9RGL.js.map → FieldControlStateWrapper-C1_urHeO-B_4ty5iW.js.map} +1 -1
- package/dist/assets/FormFieldStateWrapper-C90koSDb-RRUOIjDR.js +4 -0
- package/dist/assets/{FormFieldStateWrapper-BB8YPxqw-BVGXM8AG.js.map → FormFieldStateWrapper-C90koSDb-RRUOIjDR.js.map} +1 -1
- package/dist/assets/{Heading-BJWc7lPF-NcrgEiGP.js → Heading-K34kz2yJ-BdiOl4iO.js} +2 -2
- package/dist/assets/{Heading-BJWc7lPF-NcrgEiGP.js.map → Heading-K34kz2yJ-BdiOl4iO.js.map} +1 -1
- package/dist/assets/{Icon-D_us06Jc-CTScFMYe.js → Icon-FjmG-C5E-C74tqnRa.js} +2 -2
- package/dist/assets/{Icon-D_us06Jc-CTScFMYe.js.map → Icon-FjmG-C5E-C74tqnRa.js.map} +1 -1
- package/dist/assets/Input-B3EAo7Zn-CbaDFiOU.js +4 -0
- package/dist/assets/{Input-cjOEMGqX-mue0BMbG.js.map → Input-B3EAo7Zn-CbaDFiOU.js.map} +1 -1
- package/dist/assets/{InputStateWrapper-BbhqZWq4-veRV7rQY.js → InputStateWrapper-C5Wdo05z-BlePeIi6.js} +2 -2
- package/dist/assets/{InputStateWrapper-BbhqZWq4-veRV7rQY.js.map → InputStateWrapper-C5Wdo05z-BlePeIi6.js.map} +1 -1
- package/dist/assets/{InternalUnderlinedBadgeText-BN6MGm6L-CFSr_NDO.js → InternalUnderlinedBadgeText-9Tu8seHa-D0V1-1wx.js} +2 -2
- package/dist/assets/{InternalUnderlinedBadgeText-BN6MGm6L-CFSr_NDO.js.map → InternalUnderlinedBadgeText-9Tu8seHa-D0V1-1wx.js.map} +1 -1
- package/dist/assets/{Span-zj0oaJ4n-DsQxVCi5.js → Span-BlZWELRP-Bw_KTZaW.js} +2 -2
- package/dist/assets/{Span-zj0oaJ4n-DsQxVCi5.js.map → Span-BlZWELRP-Bw_KTZaW.js.map} +1 -1
- package/dist/assets/{access-and-short-key-Dn89ieoC-CUrk7Zs5.js → access-and-short-key-CBDgF26--xeAPZ28j.js} +2 -2
- package/dist/assets/{access-and-short-key-Dn89ieoC-CUrk7Zs5.js.map → access-and-short-key-CBDgF26--xeAPZ28j.js.map} +1 -1
- package/dist/assets/{align-CLdxNiyN-DunHcPca.js → align-BU6S1qiO-Gl6guO5w.js} +2 -2
- package/dist/assets/{align-CLdxNiyN-DunHcPca.js.map → align-BU6S1qiO-Gl6guO5w.js.map} +1 -1
- package/dist/assets/align-floating-elements-CB8sErUz-4Mq4fjM7.js +4 -0
- package/dist/assets/align-floating-elements-CB8sErUz-4Mq4fjM7.js.map +1 -0
- package/dist/assets/{associated.controller-BkDoI80f-n_Ra8XWD.js → associated.controller-BBBKf7S0-Cu_av52k.js} +3 -3
- package/dist/assets/{associated.controller-BkDoI80f-n_Ra8XWD.js.map → associated.controller-BBBKf7S0-Cu_av52k.js.map} +1 -1
- package/dist/assets/{auto-complete-CAPgpxXk-BKpayyZf.js → auto-complete-QkT4jBSK-jOtjZnPY.js} +2 -2
- package/dist/assets/{auto-complete-CAPgpxXk-BKpayyZf.js.map → auto-complete-QkT4jBSK-jOtjZnPY.js.map} +1 -1
- package/dist/assets/color-Byzv98Bu-DgrOonBp.js +4 -0
- package/dist/assets/color-Byzv98Bu-DgrOonBp.js.map +1 -0
- package/dist/assets/{controller-BmYl-uWU-CF2kYDXr.js → controller-BshDxmnY-CyYi3wZs.js} +2 -2
- package/dist/assets/{controller-BmYl-uWU-CF2kYDXr.js.map → controller-BshDxmnY-CyYi3wZs.js.map} +1 -1
- package/dist/assets/{controller-CPvHM2KT-B1Cy9_tz.js → controller-D4SIjZnf-8_N8aJbp.js} +2 -2
- package/dist/assets/{controller-CPvHM2KT-B1Cy9_tz.js.map → controller-D4SIjZnf-8_N8aJbp.js.map} +1 -1
- package/dist/assets/{controller-Dj70jI8q-C3ermcXv.js → controller-czapbbAQ-CkptTTy0.js} +3 -3
- package/dist/assets/{controller-Dj70jI8q-C3ermcXv.js.map → controller-czapbbAQ-CkptTTy0.js.map} +1 -1
- package/dist/assets/controller-icon-DB58M2Dn-BI6lcIah.js +4 -0
- package/dist/assets/{controller-icon-DTAJOixm-BHleehvV.js.map → controller-icon-DB58M2Dn-BI6lcIah.js.map} +1 -1
- package/dist/assets/{controller-Bgo2GfFj-KjnOhpdk.js → controller-vMa681y9-KvOSKGKg.js} +2 -2
- package/dist/assets/{controller-Bgo2GfFj-KjnOhpdk.js.map → controller-vMa681y9-KvOSKGKg.js.map} +1 -1
- package/dist/assets/{custom-class-Bv2Fb70J-BO8yIXLk.js → custom-class-B5WXhTM9-C4WKQsA6.js} +2 -2
- package/dist/assets/{custom-class-Bv2Fb70J-BO8yIXLk.js.map → custom-class-B5WXhTM9-C4WKQsA6.js.map} +1 -1
- package/dist/assets/{dev.utils-BYxOaH5w-CQt-AKbz.js → dev.utils-B8InC9wC-BwhGPyqO.js} +2 -2
- package/dist/assets/{dev.utils-BYxOaH5w-CQt-AKbz.js.map → dev.utils-B8InC9wC-BwhGPyqO.js.map} +1 -1
- package/dist/assets/devtools-D2tZX5IH-CWd7occh.js +16 -0
- package/dist/assets/{devtools-v_LZVcMJ-BQfGU9CJ.js.map → devtools-D2tZX5IH-CWd7occh.js.map} +1 -1
- package/dist/assets/{disabled-DmIh2qKl-DqCAwnPb.js → disabled-oePQqAfy-D5RZJpBO.js} +2 -2
- package/dist/assets/{disabled-DmIh2qKl-DqCAwnPb.js.map → disabled-oePQqAfy-D5RZJpBO.js.map} +1 -1
- package/dist/assets/has-closer-Dc5S0f9j-DDN87d-G.js +4 -0
- package/dist/assets/has-closer-Dc5S0f9j-DDN87d-G.js.map +1 -0
- package/dist/assets/{hide-label-CCWliH5X-BQw-HFZI.js → hide-label-BmYpplzr-PtOmN3WR.js} +2 -2
- package/dist/assets/{hide-label-CCWliH5X-BQw-HFZI.js.map → hide-label-BmYpplzr-PtOmN3WR.js.map} +1 -1
- package/dist/assets/{href-CP42tWLC-DwbnLmR0.js → href-BETcU_FA-CFY-VRr7.js} +2 -2
- package/dist/assets/href-BETcU_FA-CFY-VRr7.js.map +1 -0
- package/dist/assets/{i18n-CKkAYzG_-D6IaT1Pv.js → i18n-C7ZsbK5l-snwhPENE.js} +2 -2
- package/dist/assets/{i18n-CKkAYzG_-D6IaT1Pv.js.map → i18n-C7ZsbK5l-snwhPENE.js.map} +1 -1
- package/dist/assets/{icons-D9ITQLUQ-MTGlsl6M.js → icons-CH_AgdgO-Mtil9Inn.js} +3 -3
- package/dist/assets/{icons-D9ITQLUQ-MTGlsl6M.js.map → icons-CH_AgdgO-Mtil9Inn.js.map} +1 -1
- package/dist/assets/image-source-COIdbYDA-DN_Rvxsx.js +4 -0
- package/dist/assets/{image-source-BgfwzAfV-mFqvsqz_.js.map → image-source-COIdbYDA-DN_Rvxsx.js.map} +1 -1
- package/dist/assets/index--jfKco4b.js +13916 -0
- package/dist/assets/index--jfKco4b.js.map +1 -0
- package/dist/assets/index-D3y4o-X5.css +1 -0
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +1 -1
- package/dist/assets/{kol-abbr.entry-IJWJoRp_.js → kol-abbr.entry-D8X5yG6W.js} +17 -7
- package/dist/assets/kol-abbr.entry-D8X5yG6W.js.map +1 -0
- package/dist/assets/{kol-accordion.entry-pmx8vh4F.js → kol-accordion.entry-lCzy6vPr.js} +17 -7
- package/dist/assets/kol-accordion.entry-lCzy6vPr.js.map +1 -0
- package/dist/assets/{kol-alert-wc.entry-VS78eVSl.js → kol-alert-wc.entry-Rv2N7Txc.js} +2 -2
- package/dist/assets/{kol-alert-wc.entry-VS78eVSl.js.map → kol-alert-wc.entry-Rv2N7Txc.js.map} +1 -1
- package/dist/assets/{kol-alert.entry-fWF2Zvg8.js → kol-alert.entry-D3_bDAUD.js} +16 -6
- package/dist/assets/kol-alert.entry-D3_bDAUD.js.map +1 -0
- package/dist/assets/{kol-avatar-wc.entry-EU7ddk0f.js → kol-avatar-wc.entry-Bf_0cCZM.js} +2 -2
- package/dist/assets/{kol-avatar-wc.entry-EU7ddk0f.js.map → kol-avatar-wc.entry-Bf_0cCZM.js.map} +1 -1
- package/dist/assets/{kol-avatar.entry-Bhbiyz4T.js → kol-avatar.entry-Bjt0CvRm.js} +17 -7
- package/dist/assets/kol-avatar.entry-Bjt0CvRm.js.map +1 -0
- package/dist/assets/{kol-badge.entry-CZjTmNK4.js → kol-badge.entry-BOIHU3gJ.js} +17 -7
- package/dist/assets/kol-badge.entry-BOIHU3gJ.js.map +1 -0
- package/dist/assets/{kol-breadcrumb.entry-nwUvK4vm.js → kol-breadcrumb.entry-BRhzsCeL.js} +17 -9
- package/dist/assets/kol-breadcrumb.entry-BRhzsCeL.js.map +1 -0
- package/dist/assets/{kol-button-link.entry-DM611qFh.js → kol-button-link.entry-DKw1qxmC.js} +19 -6
- package/dist/assets/kol-button-link.entry-DKw1qxmC.js.map +1 -0
- package/dist/assets/{kol-button-wc.entry-DFXrVKXb.js → kol-button-wc.entry-B-w1IBAs.js} +2 -2
- package/dist/assets/{kol-button-wc.entry-DFXrVKXb.js.map → kol-button-wc.entry-B-w1IBAs.js.map} +1 -1
- package/dist/assets/{kol-button.entry-v_9eGnsy.js → kol-button.entry-eFtBtGo4.js} +16 -6
- package/dist/assets/kol-button.entry-eFtBtGo4.js.map +1 -0
- package/dist/assets/{kol-card-wc.entry-D1CnjQ0w.js → kol-card-wc.entry-DBsbv9G-.js} +2 -2
- package/dist/assets/{kol-card-wc.entry-D1CnjQ0w.js.map → kol-card-wc.entry-DBsbv9G-.js.map} +1 -1
- package/dist/assets/{kol-card.entry-CtsDB7g-.js → kol-card.entry-BhA9C0NJ.js} +16 -6
- package/dist/assets/kol-card.entry-BhA9C0NJ.js.map +1 -0
- package/dist/assets/{kol-combobox.entry-NZ2iE88j.js → kol-combobox.entry-BlrPl9Zr.js} +17 -20
- package/dist/assets/kol-combobox.entry-BlrPl9Zr.js.map +1 -0
- package/dist/assets/{kol-details.entry-C_Hv4uRM.js → kol-details.entry-oTz_iiHc.js} +16 -6
- package/dist/assets/kol-details.entry-oTz_iiHc.js.map +1 -0
- package/dist/assets/{kol-drawer.entry-C4BjjIoi.js → kol-drawer.entry-D1i0fjgn.js} +28 -29
- package/dist/assets/kol-drawer.entry-D1i0fjgn.js.map +1 -0
- package/dist/assets/{kol-form.entry-CXmAwLn0.js → kol-form.entry-D9NPkpMH.js} +52 -46
- package/dist/assets/kol-form.entry-D9NPkpMH.js.map +1 -0
- package/dist/assets/{kol-heading.entry-D6ZlsnwD.js → kol-heading.entry-_gDu8XZB.js} +21 -9
- package/dist/assets/kol-heading.entry-_gDu8XZB.js.map +1 -0
- package/dist/assets/{kol-icon.entry-BSU96ZPJ.js → kol-icon.entry-BS846K_i.js} +4 -3
- package/dist/assets/kol-icon.entry-BS846K_i.js.map +1 -0
- package/dist/assets/{kol-image.entry-CMu7wy_f.js → kol-image.entry-DpzvqSr0.js} +17 -7
- package/dist/assets/kol-image.entry-DpzvqSr0.js.map +1 -0
- package/dist/assets/{kol-input-checkbox.entry-CIOcReSI.js → kol-input-checkbox.entry-OgLCc8uD.js} +19 -13
- package/dist/assets/kol-input-checkbox.entry-OgLCc8uD.js.map +1 -0
- package/dist/assets/{kol-input-color.entry-CxE3pFXZ.js → kol-input-color.entry-BatmLgzG.js} +35 -32
- package/dist/assets/kol-input-color.entry-BatmLgzG.js.map +1 -0
- package/dist/assets/{kol-input-date.entry-ByzWqvwZ.js → kol-input-date.entry-wn6_0FIO.js} +16 -12
- package/dist/assets/kol-input-date.entry-wn6_0FIO.js.map +1 -0
- package/dist/assets/{kol-input-email.entry-CfJtwGJI.js → kol-input-email.entry-Bp6WBBa_.js} +17 -13
- package/dist/assets/kol-input-email.entry-Bp6WBBa_.js.map +1 -0
- package/dist/assets/{kol-input-file.entry-D1yZKDG9.js → kol-input-file.entry-_L6Z42s7.js} +18 -16
- package/dist/assets/kol-input-file.entry-_L6Z42s7.js.map +1 -0
- package/dist/assets/{kol-input-number.entry-DaoPmdfW.js → kol-input-number.entry-7mA9Bm3Y.js} +17 -13
- package/dist/assets/kol-input-number.entry-7mA9Bm3Y.js.map +1 -0
- package/dist/assets/{kol-input-password.entry-CJ2qdZVh.js → kol-input-password.entry-C4qglskP.js} +17 -15
- package/dist/assets/kol-input-password.entry-C4qglskP.js.map +1 -0
- package/dist/assets/{kol-input-radio.entry-ly2apHoo.js → kol-input-radio.entry-gjon3k0R.js} +17 -15
- package/dist/assets/kol-input-radio.entry-gjon3k0R.js.map +1 -0
- package/dist/assets/{kol-input-range.entry-CLZnCHu9.js → kol-input-range.entry-DfaMB_Fr.js} +17 -15
- package/dist/assets/kol-input-range.entry-DfaMB_Fr.js.map +1 -0
- package/dist/assets/{kol-input-text.entry-B2nTQeJM.js → kol-input-text.entry-CI9F8EFY.js} +16 -12
- package/dist/assets/kol-input-text.entry-CI9F8EFY.js.map +1 -0
- package/dist/assets/{kol-kolibri.entry-Bqjt0WxL.js → kol-kolibri.entry-DqbJD7-Q.js} +16 -6
- package/dist/assets/kol-kolibri.entry-DqbJD7-Q.js.map +1 -0
- package/dist/assets/{kol-link-button.entry-DVLAlksc.js → kol-link-button.entry-BaJCwhvF.js} +16 -6
- package/dist/assets/kol-link-button.entry-BaJCwhvF.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-2A8U9j2w.js +4 -0
- package/dist/assets/kol-link-wc.entry-2A8U9j2w.js.map +1 -0
- package/dist/assets/{kol-link.entry-DhdBqXZM.js → kol-link.entry-BSJ-Tk9F.js} +16 -6
- package/dist/assets/kol-link.entry-BSJ-Tk9F.js.map +1 -0
- package/dist/assets/{kol-modal.entry-DoKDkId_.js → kol-modal.entry-w3_0mWdB.js} +28 -19
- package/dist/assets/kol-modal.entry-w3_0mWdB.js.map +1 -0
- package/dist/assets/{kol-nav.entry-Bh9Jntop.js → kol-nav.entry-CF5EjnCS.js} +16 -6
- package/dist/assets/kol-nav.entry-CF5EjnCS.js.map +1 -0
- package/dist/assets/{kol-pagination-wc.entry-CL1hNyZ2.js → kol-pagination-wc.entry-mX3HsMLM.js} +3 -3
- package/dist/assets/{kol-pagination-wc.entry-CL1hNyZ2.js.map → kol-pagination-wc.entry-mX3HsMLM.js.map} +1 -1
- package/dist/assets/{kol-pagination.entry-ypxobvZg.js → kol-pagination.entry-BSufnUFI.js} +16 -6
- package/dist/assets/kol-pagination.entry-BSufnUFI.js.map +1 -0
- package/dist/assets/{kol-popover-button-wc.entry-CKMbPyRT.js → kol-popover-button-wc.entry-Dy2rUero.js} +2 -2
- package/dist/assets/{kol-popover-button-wc.entry-CKMbPyRT.js.map → kol-popover-button-wc.entry-Dy2rUero.js.map} +1 -1
- package/dist/assets/{kol-popover-button.entry-CtIFSYaK.js → kol-popover-button.entry-CwTLMrNz.js} +17 -9
- package/dist/assets/kol-popover-button.entry-CwTLMrNz.js.map +1 -0
- package/dist/assets/{kol-popover-wc.entry-HjE-kHcg.js → kol-popover-wc.entry-BRkaynjA.js} +2 -2
- package/dist/assets/{kol-popover-wc.entry-HjE-kHcg.js.map → kol-popover-wc.entry-BRkaynjA.js.map} +1 -1
- package/dist/assets/{kol-progress.entry-DSkf5rEk.js → kol-progress.entry-CtdP2-4A.js} +16 -6
- package/dist/assets/kol-progress.entry-CtdP2-4A.js.map +1 -0
- package/dist/assets/{kol-quote.entry-Br8R4wZN.js → kol-quote.entry-DPUQbWbM.js} +17 -7
- package/dist/assets/kol-quote.entry-DPUQbWbM.js.map +1 -0
- package/dist/assets/{kol-select.entry-CzS1yAoJ.js → kol-select.entry-CETc-WBg.js} +18 -14
- package/dist/assets/kol-select.entry-CETc-WBg.js.map +1 -0
- package/dist/assets/kol-single-select.entry-D_r0a53e.js +357 -0
- package/dist/assets/kol-single-select.entry-D_r0a53e.js.map +1 -0
- package/dist/assets/{kol-skip-nav.entry-Blb3icRh.js → kol-skip-nav.entry-DpJnVzea.js} +15 -5
- package/dist/assets/kol-skip-nav.entry-DpJnVzea.js.map +1 -0
- package/dist/assets/{kol-spin.entry-CzrnbIz4.js → kol-spin.entry-eRbXVofr.js} +16 -6
- package/dist/assets/kol-spin.entry-eRbXVofr.js.map +1 -0
- package/dist/assets/{kol-split-button.entry-BJXCg7JK.js → kol-split-button.entry-CehbE-R-.js} +17 -7
- package/dist/assets/kol-split-button.entry-CehbE-R-.js.map +1 -0
- package/dist/assets/kol-table-settings-wc.entry-Cr5vEcnz.js +4 -0
- package/dist/assets/kol-table-settings-wc.entry-Cr5vEcnz.js.map +1 -0
- package/dist/assets/{kol-table-stateful.entry-DEc7HHcc.js → kol-table-stateful.entry-dr8JIVLx.js} +23 -19
- package/dist/assets/kol-table-stateful.entry-dr8JIVLx.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-jnn5jbOq.js +4 -0
- package/dist/assets/{kol-table-stateless-wc.entry-Cj3qHQ4C.js.map → kol-table-stateless-wc.entry-jnn5jbOq.js.map} +1 -1
- package/dist/assets/{kol-table-stateless.entry-BXaVrO_2.js → kol-table-stateless.entry-clMjL2wd.js} +21 -13
- package/dist/assets/kol-table-stateless.entry-clMjL2wd.js.map +1 -0
- package/dist/assets/{kol-tabs.entry-B4Jc8UEr.js → kol-tabs.entry-DhtkYHmn.js} +17 -7
- package/dist/assets/kol-tabs.entry-DhtkYHmn.js.map +1 -0
- package/dist/assets/{kol-textarea.entry-CoM2f_LL.js → kol-textarea.entry-BCMmezIr.js} +16 -12
- package/dist/assets/kol-textarea.entry-BCMmezIr.js.map +1 -0
- package/dist/assets/{kol-toast-container.entry-nWI5mTxf.js → kol-toast-container.entry-B3V1BTL8.js} +17 -9
- package/dist/assets/kol-toast-container.entry-B3V1BTL8.js.map +1 -0
- package/dist/assets/{kol-toolbar.entry-D0_LpV2z.js → kol-toolbar.entry-Fj_-klaS.js} +17 -9
- package/dist/assets/kol-toolbar.entry-Fj_-klaS.js.map +1 -0
- package/dist/assets/{kol-tooltip-wc.entry-eoAtqnrt.js → kol-tooltip-wc.entry-BLJxMI9u.js} +2 -2
- package/dist/assets/{kol-tooltip-wc.entry-eoAtqnrt.js.map → kol-tooltip-wc.entry-BLJxMI9u.js.map} +1 -1
- package/dist/assets/{kol-tree-item-wc.entry-DlAJr5l8.js → kol-tree-item-wc.entry-CcC2uJL8.js} +2 -2
- package/dist/assets/{kol-tree-item-wc.entry-DlAJr5l8.js.map → kol-tree-item-wc.entry-CcC2uJL8.js.map} +1 -1
- package/dist/assets/{kol-tree-item.entry-C_yyptyE.js → kol-tree-item.entry-6UI1ef3h.js} +18 -8
- package/dist/assets/kol-tree-item.entry-6UI1ef3h.js.map +1 -0
- package/dist/assets/kol-tree-wc.entry-CFZBWm8Y.js +4 -0
- package/dist/assets/{kol-tree-wc.entry-D99WhQg7.js.map → kol-tree-wc.entry-CFZBWm8Y.js.map} +1 -1
- package/dist/assets/{kol-tree.entry--8T6-1da.js → kol-tree.entry-DwWzk_Dy.js} +17 -7
- package/dist/assets/kol-tree.entry-DwWzk_Dy.js.map +1 -0
- package/dist/assets/{kol-version.entry-CSvdW-0j.js → kol-version.entry-Cd52k9gO.js} +17 -7
- package/dist/assets/kol-version.entry-Cd52k9gO.js.map +1 -0
- package/dist/assets/{label-DWoPQebK-CnQuZRJk.js → label-DGzuU0HV-f-p5821x.js} +3 -3
- package/dist/assets/{label-DWoPQebK-CnQuZRJk.js.map → label-DGzuU0HV-f-p5821x.js.map} +1 -1
- package/dist/assets/link-variant-B1pMVL0L-CD7NTKpE.js +4 -0
- package/dist/assets/link-variant-B1pMVL0L-CD7NTKpE.js.map +1 -0
- package/dist/assets/markdown-BJ3cxn6B-Dhst5Sbt.js +19 -0
- package/dist/assets/markdown-BJ3cxn6B-Dhst5Sbt.js.map +1 -0
- package/dist/assets/{max-length-behavior-Bqd46qaV-BHUPs40c.js → max-length-behavior-DCUK2Rvw-Cn6p95YR.js} +2 -2
- package/dist/assets/{max-length-behavior-Bqd46qaV-BHUPs40c.js.map → max-length-behavior-DCUK2Rvw-Cn6p95YR.js.map} +1 -1
- package/dist/assets/{multiple-XX78_bZo-DIjg-lYf.js → multiple-D4hUZQZi-BEtvzXDP.js} +2 -2
- package/dist/assets/multiple-D4hUZQZi-BEtvzXDP.js.map +1 -0
- package/dist/assets/{open-C3e8CHTb-K_re9jT2.js → open-DDc2yKMt-BWwY8k7F.js} +2 -2
- package/dist/assets/open-DDc2yKMt-BWwY8k7F.js.map +1 -0
- package/dist/assets/{orientation-N6Xti7J6-X11DJs9J.js → orientation-DdsLYtB3-CYmeHY9Z.js} +2 -2
- package/dist/assets/{orientation-N6Xti7J6-X11DJs9J.js.map → orientation-DdsLYtB3-CYmeHY9Z.js.map} +1 -1
- package/dist/assets/{placeholder-DGXnxp3--Cgh8JAAd.js → placeholder-CKKvVrmb-DU6pJ6Nm.js} +2 -2
- package/dist/assets/{placeholder-DGXnxp3--Cgh8JAAd.js.map → placeholder-CKKvVrmb-DU6pJ6Nm.js.map} +1 -1
- package/dist/assets/read-only-D2aPahKx-DmWzG9ha.js +4 -0
- package/dist/assets/read-only-D2aPahKx-DmWzG9ha.js.map +1 -0
- package/dist/assets/required-DZ-b_DWV-NH6IYttw.js +4 -0
- package/dist/assets/required-DZ-b_DWV-NH6IYttw.js.map +1 -0
- package/dist/assets/{rows-DTr13_vx-DyuH1P2x.js → rows-DZqgM5RX-C6zN4xBD.js} +2 -2
- package/dist/assets/rows-DZqgM5RX-C6zN4xBD.js.map +1 -0
- package/dist/assets/{show-DnRPM4Iz-Cnuv0Kk9.js → show-D0rlMMpf-Baz3ispJ.js} +2 -2
- package/dist/assets/show-D0rlMMpf-Baz3ispJ.js.map +1 -0
- package/dist/assets/{spell-check-7eVNgVLz-CzouI-gx.js → spell-check-Chr2J8Ox-BXX2TQhO.js} +2 -2
- package/dist/assets/{spell-check-7eVNgVLz-CzouI-gx.js.map → spell-check-Chr2J8Ox-BXX2TQhO.js.map} +1 -1
- package/dist/assets/{suggestions-DclRTsZK-I9_tmZkN.js → suggestions-dPkxw3RQ-BHllqIL0.js} +2 -2
- package/dist/assets/{suggestions-DclRTsZK-I9_tmZkN.js.map → suggestions-dPkxw3RQ-BHllqIL0.js.map} +1 -1
- package/dist/assets/{table-settings-C_w0eJ7x-DUVS3GTb.js → table-settings-CF9uiyi4-2JSrVZ-o.js} +2 -2
- package/dist/assets/{table-settings-C_w0eJ7x-DUVS3GTb.js.map → table-settings-CF9uiyi4-2JSrVZ-o.js.map} +1 -1
- package/dist/assets/{test-component.entry-DMUoXWRQ.js → test-component.entry-Br4no3f_.js} +2 -2
- package/dist/assets/{test-component.entry-DMUoXWRQ.js.map → test-component.entry-Br4no3f_.js.map} +1 -1
- package/dist/assets/tooltip-align-CmSyNCv5-DE7sbZsR.js +4 -0
- package/dist/assets/tooltip-align-CmSyNCv5-DE7sbZsR.js.map +1 -0
- package/dist/assets/{unique-nav-labels-DiFK5iwG-BisN7LMW.js → unique-nav-labels-Bm9ZvlTf-nKlLMDvs.js} +2 -2
- package/dist/assets/{unique-nav-labels-DiFK5iwG-BisN7LMW.js.map → unique-nav-labels-Bm9ZvlTf-nKlLMDvs.js.map} +1 -1
- package/dist/assets/{validation-Cn-KroIc-C90V1I56.js → validation-CW-5L0A7-B2fe_4eg.js} +2 -2
- package/dist/assets/{validation-Cn-KroIc-C90V1I56.js.map → validation-CW-5L0A7-B2fe_4eg.js.map} +1 -1
- package/dist/assets/validation-oaGI9Wed-iCFhW_6C.js +4 -0
- package/dist/assets/{validation-CwA9mWha--9UmnhQ_.js.map → validation-oaGI9Wed-iCFhW_6C.js.map} +1 -1
- package/dist/index.html +2 -2
- package/package.json +26 -23
- package/src/components/drawer/routes.ts +2 -0
- package/src/components/drawer/scrolled.tsx +133 -0
- package/src/components/table/horizontal-scrollbar.tsx +29 -35
- package/src/components/table/non-hidable-columns.tsx +34 -0
- package/src/components/table/routes.ts +8 -6
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +7 -1
- package/src/scenarios/routes.ts +2 -0
- package/src/scenarios/sample-form-with-validation.tsx +192 -0
- package/src/style.scss +0 -1
- package/dist/assets/Alert-BGDOGZ66-CbLEK4aj.js +0 -4
- package/dist/assets/Collapsible-CV7OHhy1-DSu5qbx_.js +0 -4
- package/dist/assets/CustomSuggestionsToggle-C60H2vRs-DYTpZfrl.js +0 -4
- package/dist/assets/FieldControlStateWrapper-DVc-7hVp-DjSj9RGL.js +0 -4
- package/dist/assets/FormFieldStateWrapper-BB8YPxqw-BVGXM8AG.js +0 -4
- package/dist/assets/Input-cjOEMGqX-mue0BMbG.js +0 -4
- package/dist/assets/align-floating-elements-_qWSwItV-BduH2X3p.js +0 -4
- package/dist/assets/align-floating-elements-_qWSwItV-BduH2X3p.js.map +0 -1
- package/dist/assets/color-DNKA1_LP-CmhhyP07.js +0 -4
- package/dist/assets/color-DNKA1_LP-CmhhyP07.js.map +0 -1
- package/dist/assets/controller-icon-DTAJOixm-BHleehvV.js +0 -4
- package/dist/assets/devtools-v_LZVcMJ-BQfGU9CJ.js +0 -16
- package/dist/assets/has-closer-DtRjBCiQ-ClGhZV1p.js +0 -4
- package/dist/assets/has-closer-DtRjBCiQ-ClGhZV1p.js.map +0 -1
- package/dist/assets/href-CP42tWLC-DwbnLmR0.js.map +0 -1
- package/dist/assets/image-source-BgfwzAfV-mFqvsqz_.js +0 -4
- package/dist/assets/index-CSMXegjk.js +0 -13906
- package/dist/assets/index-CSMXegjk.js.map +0 -1
- package/dist/assets/index-CmvtMtH4.css +0 -1
- package/dist/assets/kol-abbr.entry-IJWJoRp_.js.map +0 -1
- package/dist/assets/kol-accordion.entry-pmx8vh4F.js.map +0 -1
- package/dist/assets/kol-alert.entry-fWF2Zvg8.js.map +0 -1
- package/dist/assets/kol-avatar.entry-Bhbiyz4T.js.map +0 -1
- package/dist/assets/kol-badge.entry-CZjTmNK4.js.map +0 -1
- package/dist/assets/kol-breadcrumb.entry-nwUvK4vm.js.map +0 -1
- package/dist/assets/kol-button-link.entry-DM611qFh.js.map +0 -1
- package/dist/assets/kol-button.entry-v_9eGnsy.js.map +0 -1
- package/dist/assets/kol-card.entry-CtsDB7g-.js.map +0 -1
- package/dist/assets/kol-combobox.entry-NZ2iE88j.js.map +0 -1
- package/dist/assets/kol-details.entry-C_Hv4uRM.js.map +0 -1
- package/dist/assets/kol-drawer.entry-C4BjjIoi.js.map +0 -1
- package/dist/assets/kol-form.entry-CXmAwLn0.js.map +0 -1
- package/dist/assets/kol-heading.entry-D6ZlsnwD.js.map +0 -1
- package/dist/assets/kol-icon.entry-BSU96ZPJ.js.map +0 -1
- package/dist/assets/kol-image.entry-CMu7wy_f.js.map +0 -1
- package/dist/assets/kol-input-checkbox.entry-CIOcReSI.js.map +0 -1
- package/dist/assets/kol-input-color.entry-CxE3pFXZ.js.map +0 -1
- package/dist/assets/kol-input-date.entry-ByzWqvwZ.js.map +0 -1
- package/dist/assets/kol-input-email.entry-CfJtwGJI.js.map +0 -1
- package/dist/assets/kol-input-file.entry-D1yZKDG9.js.map +0 -1
- package/dist/assets/kol-input-number.entry-DaoPmdfW.js.map +0 -1
- package/dist/assets/kol-input-password.entry-CJ2qdZVh.js.map +0 -1
- package/dist/assets/kol-input-radio.entry-ly2apHoo.js.map +0 -1
- package/dist/assets/kol-input-range.entry-CLZnCHu9.js.map +0 -1
- package/dist/assets/kol-input-text.entry-B2nTQeJM.js.map +0 -1
- package/dist/assets/kol-kolibri.entry-Bqjt0WxL.js.map +0 -1
- package/dist/assets/kol-link-button.entry-DVLAlksc.js.map +0 -1
- package/dist/assets/kol-link-wc.entry-BKIGUVe3.js +0 -4
- package/dist/assets/kol-link-wc.entry-BKIGUVe3.js.map +0 -1
- package/dist/assets/kol-link.entry-DhdBqXZM.js.map +0 -1
- package/dist/assets/kol-modal.entry-DoKDkId_.js.map +0 -1
- package/dist/assets/kol-nav.entry-Bh9Jntop.js.map +0 -1
- package/dist/assets/kol-pagination.entry-ypxobvZg.js.map +0 -1
- package/dist/assets/kol-popover-button.entry-CtIFSYaK.js.map +0 -1
- package/dist/assets/kol-progress.entry-DSkf5rEk.js.map +0 -1
- package/dist/assets/kol-quote.entry-Br8R4wZN.js.map +0 -1
- package/dist/assets/kol-select.entry-CzS1yAoJ.js.map +0 -1
- package/dist/assets/kol-single-select.entry-Bgz8mpPe.js +0 -362
- package/dist/assets/kol-single-select.entry-Bgz8mpPe.js.map +0 -1
- package/dist/assets/kol-skip-nav.entry-Blb3icRh.js.map +0 -1
- package/dist/assets/kol-spin.entry-CzrnbIz4.js.map +0 -1
- package/dist/assets/kol-split-button.entry-BJXCg7JK.js.map +0 -1
- package/dist/assets/kol-table-settings-wc.entry-BDxBRabi.js +0 -4
- package/dist/assets/kol-table-settings-wc.entry-BDxBRabi.js.map +0 -1
- package/dist/assets/kol-table-stateful.entry-DEc7HHcc.js.map +0 -1
- package/dist/assets/kol-table-stateless-wc.entry-Cj3qHQ4C.js +0 -4
- package/dist/assets/kol-table-stateless.entry-BXaVrO_2.js.map +0 -1
- package/dist/assets/kol-tabs.entry-B4Jc8UEr.js.map +0 -1
- package/dist/assets/kol-textarea.entry-CoM2f_LL.js.map +0 -1
- package/dist/assets/kol-toast-container.entry-nWI5mTxf.js.map +0 -1
- package/dist/assets/kol-toolbar.entry-D0_LpV2z.js.map +0 -1
- package/dist/assets/kol-tree-item.entry-C_yyptyE.js.map +0 -1
- package/dist/assets/kol-tree-wc.entry-D99WhQg7.js +0 -4
- package/dist/assets/kol-tree.entry--8T6-1da.js.map +0 -1
- package/dist/assets/kol-version.entry-CSvdW-0j.js.map +0 -1
- package/dist/assets/link-variant-CArXfKVV-DozdTg3L.js +0 -4
- package/dist/assets/link-variant-CArXfKVV-DozdTg3L.js.map +0 -1
- package/dist/assets/markdown-BiFI499a-DYnFXiXA.js +0 -19
- package/dist/assets/markdown-BiFI499a-DYnFXiXA.js.map +0 -1
- package/dist/assets/multiple-XX78_bZo-DIjg-lYf.js.map +0 -1
- package/dist/assets/open-C3e8CHTb-K_re9jT2.js.map +0 -1
- package/dist/assets/read-only-C9K1LzTw-D0CLWwRY.js +0 -4
- package/dist/assets/read-only-C9K1LzTw-D0CLWwRY.js.map +0 -1
- package/dist/assets/required-B9b6BnIz-BQbV4kZ7.js +0 -4
- package/dist/assets/required-B9b6BnIz-BQbV4kZ7.js.map +0 -1
- package/dist/assets/rows-DTr13_vx-DyuH1P2x.js.map +0 -1
- package/dist/assets/show-DnRPM4Iz-Cnuv0Kk9.js.map +0 -1
- package/dist/assets/tooltip-align-CF4S871j-DfWmlPg6.js +0 -4
- package/dist/assets/tooltip-align-CF4S871j-DfWmlPg6.js.map +0 -1
- package/dist/assets/validation-CwA9mWha--9UmnhQ_.js +0 -4
|
@@ -1 +0,0 @@
|
|
|
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))}.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}.w-\[1em\]{width:1em}.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-sm{font-size:calc(14rem / var(--kolibri-root-font-size, 16));line-height:1.25}.color-gray-5{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.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}.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))}.py-2{padding-top:calc(8rem / var(--kolibri-root-font-size, 16));padding-bottom:calc(8rem / 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-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:rect(0 0 0 0);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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-abbr.entry-IJWJoRp_.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-8LH1C-22.js';\nimport './common-Kl71BXoz.js';\nimport { v as validateLabel } from './label-DWoPQebK.js';\nimport { a as KolTooltipWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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\n//# sourceMappingURL=kol-abbr.entry.js.map"],"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;AAA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K,MAAM,OAASA,EAAEE,EAAiB,CAAE,cAAe,OAAQ,OAAQ,KAAK,MAAM,MAAM,CAAE,EAAI,IAAI,CAChX,CACI,cAAcC,EAAO,CACjBC,EAAc,KAAMD,CAAK,CACjC,CACI,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,CACtC,CACI,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,CAClC,CAAM,CACN,EACAN,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-accordion.entry-pmx8vh4F.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-8LH1C-22.js';\nimport { w as watchValidator, f as featureHint } from './common-Kl71BXoz.js';\nimport { v as validateDisabled } from './disabled-DmIh2qKl.js';\nimport { v as validateLabel } from './label-DWoPQebK.js';\nimport { v as validateOpen } from './open-C3e8CHTb.js';\nimport { n as nonce } from './dev.utils-BYxOaH5w.js';\nimport { w as watchHeadingLevel } from './validation-Cn-KroIc.js';\nimport { K as KolCollapsibleFc } from './Collapsible-CV7OHhy1.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './Heading-BJWc7lPF.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 = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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\n//# sourceMappingURL=kol-accordion.entry.js.map"],"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,IAA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ChD,mBAAoB,CAChB,IAAK,KAAK,SACV,MAAO,GAAGA,CAAS,kBACtB,EACD,aAAc,CACV,MAAO,GAAGA,CAAS,YACnB,aAAc,GAAGA,CAAS,YAC1B,eAAgB,GAAGA,CAAS,qBAC/B,CACJ,EACD,OAAQE,EAAEC,EAAkB,OAAO,OAAO,CAAE,IAAK,0CAA0C,EAAIF,CAAK,EAAGC,EAAE,OAAQ,CAAE,IAAK,0CAA4C,CAAA,CAAC,CAC7K,CACI,iBAAiBpB,EAAO,CACpBsB,EAAiB,KAAMtB,CAAK,CACpC,CACI,cAAcA,EAAO,CACjBuB,EAAc,KAAMvB,EAAO,CACvB,SAAU,EACtB,CAAS,CACT,CACI,cAAcA,EAAO,CACjBwB,EAAkB,KAAMxB,CAAK,CACrC,CACI,WAAWyB,EAAI,CACX3B,EAA2B,KAAM2B,CAAE,CAC3C,CACI,aAAazB,EAAO,CAChB0B,EAAa,KAAM1B,CAAK,CAChC,CACI,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,CACpC,CACI,IAAI,MAAO,CAAE,OAAO2B,EAAW,IAAI,CAAE,CACrC,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,CAAM,CACN,EACAvB,EAAa,MAAQ,CACjB,QAASF,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-alert.entry-fWF2Zvg8.js","sources":["../../../../components/dist/esm/kol-alert.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { b as KolAlertWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Kl71BXoz.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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(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\n//# sourceMappingURL=kol-alert.entry.js.map"],"names":["defaultStyleCss","KolAlert","hostRef","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AAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,CACX,CACT,CACI,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,CAC3S,CACA,EACAH,EAAS,MAAQ,CACb,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-avatar.entry-Bhbiyz4T.js","sources":["../../../../components/dist/esm/kol-avatar.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { c as KolAvatarWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Kl71BXoz.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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(1rem / var(--kolibri-root-font-size, 16));\\n width: calc(100rem / var(--kolibri-root-font-size, 16));\\n height: calc(100rem / var(--kolibri-root-font-size, 16));\\n }\\n .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(40rem / 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\n//# sourceMappingURL=kol-avatar.entry.js.map"],"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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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,EAAY,KAAM,CACpB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,CACtC,CACI,QAAS,CACL,OAAOE,EAAEC,EAAgB,CAAE,IAAK,2CAA4C,KAAM,KAAK,KAAM,OAAQ,KAAK,MAAM,CAAE,CAC1H,CACA,EACAJ,EAAU,MAAQ,CACd,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-badge.entry-CZjTmNK4.js","sources":["../../../../components/dist/esm/kol-badge.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { f as featureHint, o as objectObjectHandler, p as parseJson, s as setState } from './common-Kl71BXoz.js';\nimport { h as handleColorChange, v as validateColor } from './color-DNKA1_LP.js';\nimport { v as validateIcons } from './icons-D9ITQLUQ.js';\nimport './Alert-BGDOGZ66.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolSpanFc } from './Span-zj0oaJ4n.js';\nimport './i18n-CKkAYzG_.js';\nimport { n as nonce } from './dev.utils-BYxOaH5w.js';\nimport './Heading-BJWc7lPF.js';\nimport './bem-BQWXB6Eh.js';\nimport './browser-DEWn2ir2.js';\nimport './Icon-D_us06Jc.js';\nimport './reuse-CX4AQDkS.js';\nimport './markdown-BiFI499a.js';\nimport './InternalUnderlinedBadgeText-BN6MGm6L.js';\nimport './isObject-DvSELytj.js';\nimport './i18n-CjhRejiw.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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(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\n//# sourceMappingURL=kol-badge.entry.js.map"],"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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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AAcN,EAAO,CACjBS,EAAc,KAAMT,CAAK,CACjC,CACI,cAAcA,EAAO,CACjBU,EAAc,KAAMV,EAAO,CACvB,aAAc,OACd,MAAO,CACH,YAAa,KAAK,iBACrB,CACb,CAAS,CACT,CACI,oBAAoBA,EAAO,CACvBW,EAAoBX,EAAO,IAAM,CAC7B,GAAI,CACAA,EAAQY,EAAUZ,CAAK,CACvC,MACsB,CACtB,CACYa,EAAS,KAAM,eAAgBb,CAAK,CAChD,CAAS,CACT,CACI,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,oBAAoB,KAAK,YAAY,CAClD,CACI,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,aAAgB,CAAC,qBAAqB,CAC9C,CAAM,CACN,EACAJ,EAAS,MAAQ,CACb,QAASF,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-breadcrumb.entry-nwUvK4vm.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-8LH1C-22.js';\nimport { c as a11yHintLabelingLandmarks } from './common-Kl71BXoz.js';\nimport { v as validateLabel } from './label-DWoPQebK.js';\nimport { r as removeNavLabel, a as addNavLabel } from './unique-nav-labels-DiFK5iwG.js';\nimport { w as watchNavLinks } from './validation-CwA9mWha.js';\nimport { e as KolIconTag, f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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(8rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\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\n//# sourceMappingURL=kol-breadcrumb.entry.js.map"],"names":["defaultStyleCss","KolBreadcrumb","hostRef","registerInstance","link","index","lastIndex","h","KolIconTag","Fragment","KolLinkWcTag","value","_oldValue","initial","removeNavLabel","validateLabel","a11yHintLabelingLandmarks","addNavLabel","watchNavLinks"],"mappings":"sPAAA;AAAA;AAAA,GA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wBAA0B,KAAK,MAAM,OAAO,SAAW,GAAMA,EAAE,KAAM,CAAE,IAAK,0CAA4C,EAAEA,EAAEC,EAAY,CAAE,IAAK,2CAA4C,MAAO,sBAAuB,OAAQ,GAAI,OAAQ,sBAAwB,CAAA,EAAG,GAAQ,EAAI,KAAK,MAAM,OAAO,IAAI,KAAK,UAAU,CAAC,CAAC,CACrgB,CACI,cAAcG,EAAOC,EAAWC,EAAU,GAAO,CACxCA,GACDC,EAAe,KAAK,MAAM,MAAM,EAEpCC,EAAc,KAAMJ,EAAO,CACvB,SAAU,EACtB,CAAS,EACDK,EAA0BL,CAAK,EAC/BM,EAAY,KAAK,MAAM,MAAM,CACrC,CACI,cAAcN,EAAO,CACjBO,EAAc,gBAAiB,KAAMP,CAAK,CAClD,CACI,mBAAoB,CAChB,KAAK,cAAc,KAAK,OAAQ,OAAW,EAAI,EAC/C,KAAK,cAAc,KAAK,MAAM,CACtC,CACI,sBAAuB,CACnBG,EAAe,KAAK,MAAM,MAAM,CACxC,CACI,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,CAClC,CAAM,CACN,EACAb,EAAc,MAAQ,CAClB,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-button-link.entry-DM611qFh.js","sources":["../../../../components/dist/esm/kol-button-link.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Kl71BXoz.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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-button {\\n display: inline-flex;\\n align-items: baseline;\\n place-items: center;\\n text-align: left;\\n text-decoration-line: none;\\n }\\n .kol-button--standalone {\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n }\\n .kol-button__text .kol-span__label {\\n text-decoration-line: underline;\\n }\\n .kol-button:is(:focus, :hover):not([aria-disabled], [disabled]) .kol-button__text .kol-span__label {\\n text-decoration-thickness: 0.2em;\\n }\\n .kol-button__icon {\\n display: inline-flex;\\n margin-left: calc(8rem / var(--kolibri-root-font-size, 16));\\n }\\n}\";\n\nconst KolButtonLink = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this._disabled = false;\n this._hideLabel = false;\n this._variant = 'inline';\n this._tooltipAlign = 'top';\n this._type = 'button';\n }\n async getValue() {\n return this._value;\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n return (h(KolButtonWcTag, { key: '4fa4a760a88285fd8e3b8282a1de369f6879e6c5', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _linkVariant: this._variant, _name: this._name, _on: this._on, _role: \"link\", _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value }, h(\"slot\", { key: 'c27a1c1f7f99338e114a8c7707ff7d3f1dff65e1', name: \"expert\", slot: \"expert\" })));\n }\n static get delegatesFocus() { return true; }\n};\nKolButtonLink.style = {\n default: defaultStyleCss\n};\n\nexport { KolButtonLink as kol_button_link };\n//# sourceMappingURL=kol-button-link.entry.js.map\n\n//# sourceMappingURL=kol-button-link.entry.js.map"],"names":["defaultStyleCss","KolButtonLink","hostRef","registerInstance","ref","_a","h","KolButtonWcTag"],"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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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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AAQ,aAAc,KAAK,SAAU,MAAO,KAAK,MAAO,IAAK,KAAK,IAAK,MAAO,OAAQ,UAAW,KAAK,UAAW,qBAAsB,KAAK,qBAAsB,cAAe,KAAK,cAAe,MAAO,KAAK,MAAO,OAAQ,KAAK,QAAUD,EAAE,OAAQ,CAAE,IAAK,2CAA4C,KAAM,SAAU,KAAM,QAAQ,CAAE,CAAC,CAC9sB,CACI,WAAW,gBAAiB,CAAE,MAAO,EAAK,CAC9C,EACAL,EAAc,MAAQ,CAClB,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-button.entry-v_9eGnsy.js","sources":["../../../../components/dist/esm/kol-button.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { d as KolButtonWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Kl71BXoz.js';\n\nconst defaultStyleCss = \"@charset \\\"UTF-8\\\";\\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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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-button {\\n display: inline-flex;\\n place-items: center;\\n font-style: calc(16rem / var(--kolibri-root-font-size, 16));\\n text-align: center;\\n text-decoration-line: none;\\n }\\n .kol-button::before {\\n /* Render zero-width character as first element to set the baseline correctly. */\\n content: \\\"\\\";\\n }\\n .kol-button__text {\\n width: 100%;\\n margin: auto;\\n }\\n}\";\n\nconst KolButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.catchRef = (ref) => {\n this.buttonWcRef = ref;\n };\n this._disabled = false;\n this._hideLabel = false;\n this._tooltipAlign = 'top';\n this._type = 'button';\n this._variant = 'normal';\n }\n async getValue() {\n return this._value;\n }\n async kolFocus() {\n var _a;\n await ((_a = this.buttonWcRef) === null || _a === void 0 ? void 0 : _a.kolFocus());\n }\n render() {\n return (h(KolButtonWcTag, { key: '94296e130ad6fb6aa174b3b3e1ea0316ab618d35', ref: this.catchRef, _accessKey: this._accessKey, _ariaControls: this._ariaControls, _ariaDescription: this._ariaDescription, _ariaExpanded: this._ariaExpanded, _ariaSelected: this._ariaSelected, _customClass: this._customClass, _disabled: this._disabled, _hideLabel: this._hideLabel, _icons: this._icons, _id: this._id, _label: this._label, _name: this._name, _on: this._on, _role: this._role, _shortKey: this._shortKey, _syncValueBySelector: this._syncValueBySelector, _tooltipAlign: this._tooltipAlign, _type: this._type, _value: this._value, _buttonVariant: this._variant }, h(\"slot\", { key: 'e99fef03f013d78bd70ca63f063b354b65d76933', name: \"expert\", slot: \"expert\" })));\n }\n static get delegatesFocus() { return true; }\n};\nKolButton.style = {\n default: defaultStyleCss\n};\n\nexport { KolButton as kol_button };\n//# sourceMappingURL=kol-button.entry.js.map\n\n//# sourceMappingURL=kol-button.entry.js.map"],"names":["defaultStyleCss","KolButton","hostRef","registerInstance","ref","_a","h","KolButtonWcTag"],"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;A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AAAA;AAAA;AAAA;AAAA,GAElBC,EAAY,KAAM,CACpB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,SAAYE,GAAQ,CACrB,KAAK,YAAcA,CACtB,EACD,KAAK,UAAY,GACjB,KAAK,WAAa,GAClB,KAAK,cAAgB,MACrB,KAAK,MAAQ,SACb,KAAK,SAAW,QACxB,CACI,MAAM,UAAW,CACb,OAAO,KAAK,MACpB,CACI,MAAM,UAAW,CACb,IAAIC,EACJ,OAAQA,EAAK,KAAK,eAAiB,MAAQA,IAAO,OAAS,OAASA,EAAG,WAC/E,CACI,QAAS,CACL,OAAQC,EAAEC,EAAgB,CAAE,IAAK,2CAA4C,IAAK,KAAK,SAAU,WAAY,KAAK,WAAY,cAAe,KAAK,cAAe,iBAAkB,KAAK,iBAAkB,cAAe,KAAK,cAAe,cAAe,KAAK,cAAe,aAAc,KAAK,aAAc,UAAW,KAAK,UAAW,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,IAAK,KAAK,IAAK,OAAQ,KAAK,OAAQ,MAAO,KAAK,MAAO,IAAK,KAAK,IAAK,MAAO,KAAK,MAAO,UAAW,KAAK,UAAW,qBAAsB,KAAK,qBAAsB,cAAe,KAAK,cAAe,MAAO,KAAK,MAAO,OAAQ,KAAK,OAAQ,eAAgB,KAAK,QAAU,EAAED,EAAE,OAAQ,CAAE,IAAK,2CAA4C,KAAM,SAAU,KAAM,QAAQ,CAAE,CAAC,CACrvB,CACI,WAAW,gBAAiB,CAAE,MAAO,EAAK,CAC9C,EACAL,EAAU,MAAQ,CACd,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-card.entry-CtsDB7g-.js","sources":["../../../../components/dist/esm/kol-card.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { g as KolCardWcTag } from './component-names-CkE54Ym7.js';\nimport './common-Kl71BXoz.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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-card {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n position: relative;\\n height: 100%;\\n }\\n .kol-card__close-button {\\n position: absolute;\\n top: 0;\\n right: 0;\\n }\\n}\";\n\nconst KolCard = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._hasCloser = false;\n this._level = 0;\n }\n render() {\n return (h(KolCardWcTag, { key: '214de69b88f18259f7ea036d889fd6caab14a346', _on: this._on, _hasCloser: this._hasCloser, _label: this._label, _level: this._level }, h(\"slot\", { key: '671f44467a488eb8dedd4cdb36aaeeb33b6f8aea' })));\n }\n};\nKolCard.style = {\n default: defaultStyleCss\n};\n\nexport { KolCard as kol_card };\n//# sourceMappingURL=kol-card.entry.js.map\n\n//# sourceMappingURL=kol-card.entry.js.map"],"names":["defaultStyleCss","KolCard","hostRef","registerInstance","h","KolCardWcTag"],"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;A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AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAElBC,EAAU,KAAM,CAClB,YAAYC,EAAS,CACjBC,EAAiB,KAAMD,CAAO,EAC9B,KAAK,WAAa,GAClB,KAAK,OAAS,CACtB,CACI,QAAS,CACL,OAAQE,EAAEC,EAAc,CAAE,IAAK,2CAA4C,IAAK,KAAK,IAAK,WAAY,KAAK,WAAY,OAAQ,KAAK,OAAQ,OAAQ,KAAK,MAAM,EAAID,EAAE,OAAQ,CAAE,IAAK,0CAA4C,CAAA,CAAC,CACzO,CACA,EACAH,EAAQ,MAAQ,CACZ,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-combobox.entry-NZ2iE88j.js","sources":["../../../../components/dist/esm/kol-combobox.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { h, r as registerInstance, g as getElement } from './index-8LH1C-22.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { g as getRenderStates, F as FormFieldStateWrapper } from './FormFieldStateWrapper-BB8YPxqw.js';\nimport { I as InputIconController, a as InputContainerStateWrapperFc } from './controller-icon-DTAJOixm.js';\nimport { I as InputStateWrapper } from './InputStateWrapper-BbhqZWq4.js';\nimport { C as CustomSuggestionsToggleFc, a as CustomSuggestionsOptionsGroupFc, b as CustomSuggestionsOptionFc } from './CustomSuggestionsToggle-C60H2vRs.js';\nimport { n as nonce } from './dev.utils-BYxOaH5w.js';\nimport { e as watchString } from './common-Kl71BXoz.js';\nimport { v as validatePlaceholder } from './placeholder-DGXnxp3-.js';\nimport { v as validateRequired } from './required-B9b6BnIz.js';\nimport { v as validateSuggestions } from './suggestions-DclRTsZK.js';\nimport './access-and-short-key-Dn89ieoC.js';\nimport './disabled-DmIh2qKl.js';\nimport './hide-label-CCWliH5X.js';\nimport './label-DWoPQebK.js';\nimport './tooltip-align-CF4S871j.js';\nimport './align-CLdxNiyN.js';\nimport './events-CoPFQEiC.js';\nimport './associated.controller-BkDoI80f.js';\nimport './bootstrap-DP7Uj14s.js';\nimport './component-names-CkE54Ym7.js';\nimport './i18n-CjhRejiw.js';\nimport './isObject-DvSELytj.js';\nimport './Heading-BJWc7lPF.js';\nimport './Alert-BGDOGZ66.js';\nimport './i18n-CKkAYzG_.js';\nimport './bem-BQWXB6Eh.js';\nimport './browser-DEWn2ir2.js';\nimport './InternalUnderlinedBadgeText-BN6MGm6L.js';\nimport './reuse-CX4AQDkS.js';\nimport './Icon-D_us06Jc.js';\nimport './icons-D9ITQLUQ.js';\nimport './Input-cjOEMGqX.js';\n\nclass ComboboxController extends InputIconController {\n constructor(component, name, host) {\n super(component, name, host);\n this.component = component;\n }\n validatePlaceholder(value) {\n validatePlaceholder(this.component, value);\n }\n validateRequired(value) {\n validateRequired(this.component, value);\n }\n validateSuggestions(value) {\n validateSuggestions(this.component, value);\n }\n validateValue(value) {\n watchString(this.component, '_value', value);\n }\n componentWillLoad() {\n super.componentWillLoad();\n this.validatePlaceholder(this.component._placeholder);\n this.validateRequired(this.component._required);\n this.validateSuggestions(this.component._suggestions);\n this.validateValue(this.component._value);\n }\n}\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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(1rem / var(--kolibri-root-font-size, 16));\\n }\\n}\\n@layer kol-component {\\n .kol-custom-suggestions-option {\\n line-height: 1.5;\\n white-space: normal;\\n cursor: pointer;\\n overflow-wrap: break-word;\\n word-wrap: break-word;\\n }\\n .kol-custom-suggestions-options-group--cursor-hidden .kol-custom-suggestions-option {\\n cursor: none !important;\\n }\\n}\\n@layer kol-component {\\n .kol-custom-suggestions-options-group {\\n background-color: white;\\n display: block;\\n position: absolute;\\n z-index: 2;\\n max-height: calc(250rem / var(--kolibri-root-font-size, 16));\\n margin: 0;\\n padding: 0;\\n overflow-x: hidden;\\n overflow-y: auto;\\n list-style-type: none;\\n }\\n}\\n@layer kol-component {\\n .kol-custom-suggestions-toggle {\\n display: flex;\\n width: var(--a11y-min-size);\\n height: var(--a11y-min-size);\\n align-items: center;\\n }\\n .kol-custom-suggestions-toggle:not(:disabled) {\\n cursor: pointer;\\n }\\n}\\n@layer kol-component {\\n .kol-form-field {\\n display: grid;\\n }\\n .kol-form-field:not(.kol-form-field--disabled) .kol-form-field__label {\\n cursor: pointer;\\n }\\n .kol-form-field--disabled .kol-form-field__label {\\n opacity: 0.5;\\n }\\n .kol-form-field--required .kol-form-field__label-text::after {\\n content: \\\"*\\\";\\n }\\n .kol-form-field--disabled .kol-form-field__hint {\\n opacity: 0.5;\\n }\\n .kol-form-field--required .kol-form-field__tooltip .span-label::after {\\n content: \\\"*\\\";\\n }\\n}\\n@layer kol-component {\\n .kol-input-container {\\n background-color: white;\\n display: grid;\\n width: 100%;\\n min-width: var(--a11y-min-size);\\n min-height: var(--a11y-min-size);\\n align-items: center;\\n grid-template-columns: 1fr;\\n }\\n .kol-input-container:has(> .kol-input-container__adornment--start) {\\n grid-template-columns: auto 1fr;\\n }\\n .kol-input-container:has(> .kol-input-container__adornment--end) {\\n grid-template-columns: 1fr auto;\\n }\\n .kol-input-container:has(> .kol-input-container__adornment--start):has(> .kol-input-container__adornment--end) {\\n grid-template-columns: auto 1fr auto;\\n }\\n .kol-input-container__container {\\n position: relative;\\n }\\n .kol-input-container__adornment {\\n display: flex;\\n align-items: center;\\n }\\n .kol-input-container__adornment .kol-icon {\\n display: grid;\\n height: var(--a11y-min-size);\\n place-items: center;\\n }\\n}\\n@layer kol-component {\\n .kol-input {\\n width: 100%;\\n min-width: var(--a11y-min-size);\\n }\\n .kol-input:focus {\\n outline: none;\\n }\\n}\";\n\nconst KolCombobox = class {\n async getValue() {\n return this.state._value;\n }\n async kolFocus() {\n var _a;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n selectOption(option) {\n var _a;\n this.controller.onFacade.onInput(new CustomEvent('input', { bubbles: true, detail: { name: this.state._name, value: option } }), true, option);\n this.controller.onFacade.onChange(new CustomEvent('change', { bubbles: true, detail: { name: this.state._name, value: option } }), option);\n this.controller.setFormAssociatedValue(option);\n this.state._value = option;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n onInput(event) {\n const target = event.target;\n this.state._value = target.value;\n this._value = target.value;\n this.controller.onFacade.onInput(event);\n this.setFilteredSuggestionsByQuery(target.value);\n this._focusedOptionIndex = -1;\n }\n handleKeyDownDropdown(event) {\n if (event.key.length === 1 && /[a-z0-9]/i.test(event.key)) {\n this._isOpen = true;\n this.focusSuggestionStartingWith(event.key);\n }\n }\n setFilteredSuggestionsByQuery(query) {\n if (query.trim() === '') {\n this._filteredSuggestions = [...this._suggestions];\n }\n else {\n this._filteredSuggestions = Array.isArray(this._suggestions)\n ? this._suggestions.filter((option) => {\n return option.toLowerCase().includes(query.toLowerCase());\n })\n : this._filteredSuggestions;\n this._isOpen = this._filteredSuggestions && this._filteredSuggestions.length > 0 ? true : false;\n }\n }\n moveFocus(delta) {\n if (!this._filteredSuggestions) {\n return;\n }\n let newIndex = this._focusedOptionIndex + delta;\n if (newIndex >= this._filteredSuggestions.length) {\n newIndex = 0;\n }\n if (newIndex < 0) {\n newIndex = this._filteredSuggestions.length - 1;\n }\n this.focusOption(newIndex);\n }\n focusOption(index) {\n this._focusedOptionIndex = index;\n if (this.refSuggestions) {\n const optionElement = this.refSuggestions[index];\n optionElement === null || optionElement === void 0 ? void 0 : optionElement.focus();\n }\n }\n focusSuggestionStartingWith(char) {\n const charLowerCase = char.toLowerCase();\n const index = Array.isArray(this._filteredSuggestions) &&\n this._filteredSuggestions.length > 0 &&\n this._filteredSuggestions.findIndex((option) => option.toLowerCase().startsWith(charLowerCase));\n if (typeof index === 'number') {\n this.focusOption(index);\n }\n }\n getFormFieldProps() {\n return {\n state: this.state,\n class: clsx('kol-combobox', {\n 'has-value': this.state._hasValue,\n }),\n tooltipAlign: this._tooltipAlign,\n onClick: () => { var _a; return (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus(); },\n alert: this.showAsAlert(),\n };\n }\n getInputProps() {\n const { ariaDescribedBy } = getRenderStates(this.state);\n const isDisabled = this.state._disabled === true;\n return Object.assign(Object.assign({ ref: this.catchRef, state: this.state, class: 'kol-combobox__input', type: 'text', role: 'combobox', 'aria-autocomplete': 'both', 'aria-expanded': this._isOpen ? 'true' : 'false', 'aria-controls': 'listbox', 'aria-describedby': ariaDescribedBy.length > 0 ? ariaDescribedBy.join(' ') : undefined, 'aria-label': this.state._hideLabel && typeof this.state._label === 'string' ? this.state._label : undefined, 'aria-labelledby': this.state._id, 'aria-activedescendant': this._isOpen && this._focusedOptionIndex >= 0 ? `option-${this._focusedOptionIndex}` : undefined, value: this.state._value, accessKey: this.state._accessKey, autocapitalize: 'off', autocorrect: 'off', disabled: isDisabled, customSuggestions: true, id: this.state._id, name: this.state._name, required: this.state._required }, this.controller.onFacade), { onFocus: (event) => {\n this.controller.onFacade.onFocus(event);\n this.inputHasFocus = true;\n }, onBlur: (event) => {\n this.controller.onFacade.onBlur(event);\n this.inputHasFocus = false;\n }, onChange: this.onChange.bind(this), onInput: this.onInput.bind(this), placeholder: this.state._placeholder });\n }\n render() {\n const isDisabled = this.state._disabled === true;\n return (h(FormFieldStateWrapper, Object.assign({ key: '5f4a42a8aaf6c25254c0d323e6fd3e00d6349d04' }, this.getFormFieldProps()), h(InputContainerStateWrapperFc, { key: '6c7bf73fdacdbc69bcfae7b8bb09a76dceae8fa5', state: this.state }, h(\"div\", { key: '3662a76cd1f25ad00d8d7f9b2a17c7e3b37f56bb', class: \"kol-combobox__group\" }, h(InputStateWrapper, Object.assign({ key: '21d63bf45373b5dd576c9040b9beb73fc9f4b9c3' }, this.getInputProps())), h(CustomSuggestionsToggleFc, { key: '52682bbadcd832c83253d23b4fc32cad73addbfd', onClick: this.toggleListbox.bind(this), disabled: isDisabled })), this._isOpen && !isDisabled && (h(CustomSuggestionsOptionsGroupFc, { key: '10dd5fedcc136d5e3141a90c11a6ebfa2befa099', blockSuggestionMouseOver: this.blockSuggestionMouseOver, onKeyDown: this.handleKeyDownDropdown.bind(this) }, Array.isArray(this._filteredSuggestions) &&\n this._filteredSuggestions.length > 0 &&\n this._filteredSuggestions.map((option, index) => (h(CustomSuggestionsOptionFc, { index: index, option: option, searchTerm: this.state._value, ref: (el) => {\n if (el)\n this.refSuggestions[index] = el;\n }, selected: this.state._value === option, onClick: () => {\n this.selectOption(option);\n this.toggleListbox();\n this._isOpen = false;\n this._hasOpened = false;\n }, onMouseOver: () => {\n if (!this.blockSuggestionMouseOver) {\n this.focusOption(index);\n }\n }, onFocus: () => {\n this.focusOption(index);\n }, onKeyDown: (e) => {\n if (e.key === 'Enter' || e.key === 'NumpadEnter') {\n this.selectOption(option);\n this.toggleListbox();\n e.preventDefault();\n }\n } }))))))));\n }\n handleKeyDown(event) {\n var _a, _b;\n const handleEvent = (isOpen, callback) => {\n var _a;\n event.preventDefault();\n if (isOpen !== undefined) {\n this._isOpen = isOpen;\n if (!isOpen) {\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n callback === null || callback === void 0 ? void 0 : callback();\n };\n switch (event.key) {\n case 'Down':\n case 'ArrowDown': {\n this.blockSuggestionMouseOver = true;\n handleEvent(true, () => this.moveFocus(1));\n break;\n }\n case 'Up':\n case 'ArrowUp': {\n this.blockSuggestionMouseOver = true;\n handleEvent(true, () => this.moveFocus(-1));\n break;\n }\n case 'Tab':\n if (this._isOpen) {\n this._isOpen = false;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n break;\n case 'Esc':\n case 'Escape': {\n this._hasOpened = false;\n this._isOpen = false;\n event.preventDefault();\n (_b = this.refInput) === null || _b === void 0 ? void 0 : _b.focus();\n break;\n }\n case 'NumpadEnter':\n case 'Enter': {\n if (this._isOpen && this._focusedOptionIndex >= 0) {\n this._filteredSuggestions && this.selectOption(this._filteredSuggestions[this._focusedOptionIndex]);\n this._isOpen = false;\n this._hasOpened = false;\n }\n else {\n this.toggleListbox();\n }\n event.preventDefault();\n break;\n }\n case 'Home': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => {\n if (this._isOpen) {\n this.focusOption(0);\n }\n });\n break;\n }\n case 'End': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => {\n if (this._isOpen) {\n this.focusOption(this._filteredSuggestions ? this._filteredSuggestions.length - 1 : 0);\n }\n });\n break;\n }\n case 'PageUp': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => this._isOpen && this.moveFocus(-10));\n break;\n }\n case 'PageDown': {\n this.blockSuggestionMouseOver = true;\n handleEvent(undefined, () => this._isOpen && this.moveFocus(10));\n break;\n }\n }\n }\n handleWindowClick(event) {\n if (this.host !== undefined && !this.host.contains(event.target)) {\n this._isOpen = false;\n }\n }\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.refSuggestions = [];\n this._focusedOptionIndex = -1;\n this.toggleListbox = () => {\n var _a;\n const isDisabled = this.state._disabled === true;\n if (isDisabled) {\n this._isOpen = false;\n }\n else {\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n if (!this._hasOpened && Array.isArray(this._filteredSuggestions) && this._filteredSuggestions.length > 0) {\n this._isOpen = true;\n this._hasOpened = true;\n const selectedIndex = this._filteredSuggestions.findIndex((option) => option === this.state._value);\n this._focusedOptionIndex = selectedIndex >= 0 ? selectedIndex : -1;\n this.focusOption(this._focusedOptionIndex);\n }\n }\n };\n this.catchRef = (ref) => {\n this.refInput = ref;\n };\n this.blockSuggestionMouseOver = false;\n this._isOpen = false;\n this._hasOpened = false;\n this._disabled = false;\n this._hideMsg = false;\n this._hideLabel = false;\n this._hint = '';\n this._required = false;\n this._tooltipAlign = 'top';\n this._touched = false;\n this.state = {\n _hasValue: false,\n _hideMsg: false,\n _id: `id-${nonce()}`,\n _label: '',\n _suggestions: [],\n _value: '',\n };\n this.inputHasFocus = false;\n this.controller = new ComboboxController(this, 'combobox', this.host);\n this.onInput = this.onInput.bind(this);\n }\n showAsAlert() {\n return Boolean(this.state._touched) && !this.inputHasFocus;\n }\n validatePlaceholder(value) {\n this.controller.validatePlaceholder(value);\n }\n validateAccessKey(value) {\n this.controller.validateAccessKey(value);\n }\n validateDisabled(value) {\n this.controller.validateDisabled(value);\n }\n validateHideMsg(value) {\n this.controller.validateHideMsg(value);\n }\n validateHideLabel(value) {\n this.controller.validateHideLabel(value);\n }\n validateHint(value) {\n this.controller.validateHint(value);\n }\n validateIcons(value) {\n this.controller.validateIcons(value);\n }\n validateId(value) {\n this.controller.validateId(value);\n }\n validateLabel(value) {\n this.controller.validateLabel(value);\n }\n validateMsg(value) {\n this.controller.validateMsg(value);\n }\n validateName(value) {\n this.controller.validateName(value);\n }\n validateOn(value) {\n this.controller.validateOn(value);\n }\n validateShortKey(value) {\n this.controller.validateShortKey(value);\n }\n validateSuggestions(value) {\n this.controller.validateSuggestions(value);\n this._filteredSuggestions = value;\n }\n validateRequired(value) {\n this.controller.validateRequired(value);\n }\n validateSyncValueBySelector(value) {\n this.controller.validateSyncValueBySelector(value);\n }\n validateTouched(value) {\n this.controller.validateTouched(value);\n }\n validateValue(value) {\n this.controller.validateValue(value);\n this.controller.setFormAssociatedValue(value);\n }\n componentWillLoad() {\n this.refSuggestions = [];\n this._touched = this._touched === true;\n this.controller.componentWillLoad();\n this.state._hasValue = !!this.state._value;\n this.controller.addValueChangeListener((v) => (this.state._hasValue = !!v));\n this._filteredSuggestions = this.state._suggestions;\n }\n handleMouseEvent() {\n this.blockSuggestionMouseOver = false;\n }\n handleFocusOut() {\n setTimeout(() => {\n var _a;\n if (!((_a = this.host) === null || _a === void 0 ? void 0 : _a.contains(document.activeElement))) {\n this.onBlur();\n }\n }, 0);\n }\n handleWindowBlur() {\n this.onBlur();\n }\n onBlur() {\n var _a;\n this._hasOpened = false;\n if (this._isOpen) {\n this._isOpen = !this._isOpen;\n (_a = this.refInput) === null || _a === void 0 ? void 0 : _a.focus();\n }\n }\n onChange(event) {\n this.controller.onFacade.onChange(event);\n this.controller.setFormAssociatedValue(this.state._value);\n }\n static get delegatesFocus() { return true; }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_placeholder\": [\"validatePlaceholder\"],\n \"_accessKey\": [\"validateAccessKey\"],\n \"_disabled\": [\"validateDisabled\"],\n \"_hideMsg\": [\"validateHideMsg\"],\n \"_hideLabel\": [\"validateHideLabel\"],\n \"_hint\": [\"validateHint\"],\n \"_icons\": [\"validateIcons\"],\n \"_id\": [\"validateId\"],\n \"_label\": [\"validateLabel\"],\n \"_msg\": [\"validateMsg\"],\n \"_name\": [\"validateName\"],\n \"_on\": [\"validateOn\"],\n \"_shortKey\": [\"validateShortKey\"],\n \"_suggestions\": [\"validateSuggestions\"],\n \"_required\": [\"validateRequired\"],\n \"_syncValueBySelector\": [\"validateSyncValueBySelector\"],\n \"_touched\": [\"validateTouched\"],\n \"_value\": [\"validateValue\"]\n }; }\n};\nKolCombobox.style = {\n default: defaultStyleCss\n};\n\nexport { KolCombobox as kol_combobox };\n//# sourceMappingURL=kol-combobox.entry.js.map\n\n//# sourceMappingURL=kol-combobox.entry.js.map"],"names":["ComboboxController","InputIconController","component","name","host","value","validatePlaceholder","validateRequired","validateSuggestions","watchString","defaultStyleCss","KolCombobox","_a","option","event","target","query","delta","newIndex","index","optionElement","char","charLowerCase","clsx","ariaDescribedBy","getRenderStates","isDisabled","h","FormFieldStateWrapper","InputContainerStateWrapperFc","InputStateWrapper","CustomSuggestionsToggleFc","CustomSuggestionsOptionsGroupFc","CustomSuggestionsOptionFc","el","e","_b","handleEvent","isOpen","callback","hostRef","registerInstance","selectedIndex","ref","nonce","v","getElement"],"mappings":"0uCAAA;AAAA;AAAA,GAqCA,MAAMA,UAA2BC,CAAoB,CACjD,YAAYC,EAAWC,EAAMC,EAAM,CAC/B,MAAMF,EAAWC,EAAMC,CAAI,EAC3B,KAAK,UAAYF,CACzB,CACI,oBAAoBG,EAAO,CACvBC,EAAoB,KAAK,UAAWD,CAAK,CACjD,CACI,iBAAiBA,EAAO,CACpBE,EAAiB,KAAK,UAAWF,CAAK,CAC9C,CACI,oBAAoBA,EAAO,CACvBG,EAAoB,KAAK,UAAWH,CAAK,CACjD,CACI,cAAcA,EAAO,CACjBI,EAAY,KAAK,UAAW,SAAUJ,CAAK,CACnD,CACI,mBAAoB,CAChB,MAAM,kBAAmB,EACzB,KAAK,oBAAoB,KAAK,UAAU,YAAY,EACpD,KAAK,iBAAiB,KAAK,UAAU,SAAS,EAC9C,KAAK,oBAAoB,KAAK,UAAU,YAAY,EACpD,KAAK,cAAc,KAAK,UAAU,MAAM,CAChD,CACA,CAEA,MAAMK,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;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qBAAqB,EACtC,UAAa,CAAC,kBAAkB,EAChC,qBAAwB,CAAC,6BAA6B,EACtD,SAAY,CAAC,iBAAiB,EAC9B,OAAU,CAAC,eAAe,CAClC,CAAM,CACN,EACAnC,EAAY,MAAQ,CAChB,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-details.entry-C_Hv4uRM.js","sources":["../../../../components/dist/esm/kol-details.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, g as getElement } from './index-8LH1C-22.js';\nimport { w as watchValidator } from './common-Kl71BXoz.js';\nimport { v as validateDisabled } from './disabled-DmIh2qKl.js';\nimport { v as validateLabel } from './label-DWoPQebK.js';\nimport { v as validateOpen } from './open-C3e8CHTb.js';\nimport { K as KolCollapsibleFc } from './Collapsible-CV7OHhy1.js';\nimport { n as nonce } from './dev.utils-BYxOaH5w.js';\nimport { w as watchHeadingLevel } from './validation-Cn-KroIc.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './Heading-BJWc7lPF.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\n\nconst validateDetailsCallbacks = (component, value) => {\n watchValidator(component, `_on`, (value) => typeof value === 'object' && value !== null, new Set(['DetailsCallbacksPropType {Events.onToggle}']), value);\n};\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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@layer kol-component {\\n .kol-details__heading-button {\\n display: flex;\\n }\\n .kol-details__heading-button .kol-button {\\n min-height: auto;\\n }\\n .kol-details__heading-button .kol-button .kol-span__label {\\n border-bottom-color: grey;\\n border-bottom-style: solid;\\n }\\n .collapsible--open .kol-details__heading-button .kol-icon::part(icon) {\\n transform: rotate(90deg);\\n }\\n}\";\n\nconst KolDetails = 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 clearTimeout(this.toggleTimeout);\n this.toggleTimeout = setTimeout(() => {\n var _a, _b;\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.toggle, Boolean(this._open));\n }\n (_b = (_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onToggle) === null || _b === void 0 ? void 0 : _b.call(_a, event, Boolean(this._open));\n }, 25);\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-details';\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 _icons: 'codicon codicon-chevron-right',\n },\n ContentProps: {\n class: `${rootClass}__content indented-text`,\n wrapperClass: `${rootClass}__wrapper`,\n animationClass: `${rootClass}__wrapper-animation`,\n },\n };\n return (h(KolCollapsibleFc, Object.assign({ key: 'e149779c3d5053267bcd2785b061c3862c1ab806' }, props), h(\"slot\", { key: 'ba4278e16e1cd27c08ecc5aef1d47d8427d94575' })));\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 validateDetailsCallbacks(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};\nKolDetails.style = {\n default: defaultStyleCss\n};\n\nexport { KolDetails as kol_details };\n//# sourceMappingURL=kol-details.entry.js.map\n\n//# sourceMappingURL=kol-details.entry.js.map"],"names":["validateDetailsCallbacks","component","value","watchValidator","defaultStyleCss","KolDetails","hostRef","registerInstance","nonce","ref","event","_a","_b","dispatchDomEvent","KolEvent","_open","_label","_disabled","_level","rootClass","props","h","KolCollapsibleFc","validateDisabled","validateLabel","watchHeadingLevel","on","validateOpen","getElement"],"mappings":"6cAAA;AAAA;AAAA,GAgBA,MAAMA,EAA2B,CAACC,EAAWC,IAAU,CACnDC,EAAeF,EAAW,MAAQC,GAAU,OAAOA,GAAU,UAAYA,IAAU,KAAM,IAAI,IAAI,CAAC,4CAA4C,CAAC,EAAGA,CAAK,CAC3J,EAEME,EAAkB;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,EAChD,mBAAoB,CAChB,IAAK,KAAK,SACV,MAAO,GAAGA,CAAS,mBACnB,OAAQ,+BACX,EACD,aAAc,CACV,MAAO,GAAGA,CAAS,0BACnB,aAAc,GAAGA,CAAS,YAC1B,eAAgB,GAAGA,CAAS,qBAC/B,CACJ,EACD,OAAQE,EAAEC,EAAkB,OAAO,OAAO,CAAE,IAAK,0CAA0C,EAAIF,CAAK,EAAGC,EAAE,OAAQ,CAAE,IAAK,0CAA4C,CAAA,CAAC,CAC7K,CACI,iBAAiBnB,EAAO,CACpBqB,EAAiB,KAAMrB,CAAK,CACpC,CACI,cAAcA,EAAO,CACjBsB,EAAc,KAAMtB,EAAO,CACvB,SAAU,EACtB,CAAS,CACT,CACI,cAAcA,EAAO,CACjBuB,EAAkB,KAAMvB,CAAK,CACrC,CACI,WAAWwB,EAAI,CACX1B,EAAyB,KAAM0B,CAAE,CACzC,CACI,aAAaxB,EAAO,CAChByB,EAAa,KAAMzB,CAAK,CAChC,CACI,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,CACpC,CACI,IAAI,MAAO,CAAE,OAAO0B,EAAW,IAAI,CAAE,CACrC,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,CAAM,CACN,EACAvB,EAAW,MAAQ,CACf,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-drawer.entry-C4BjjIoi.js","sources":["../../../../components/dist/esm/kol-drawer.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host, g as getElement } from './index-8LH1C-22.js';\nimport { s as setState } from './common-Kl71BXoz.js';\nimport { v as validateAlign } from './align-CLdxNiyN.js';\nimport { v as validateHasCloser } from './has-closer-DtRjBCiQ.js';\nimport { v as validateLabel } from './label-DWoPQebK.js';\nimport { v as validateOpen } from './open-C3e8CHTb.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport { c as clsx } from './clsx-eK3rPvPS.js';\nimport { g as KolCardWcTag } from './component-names-CkE54Ym7.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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-card {\\n /* Visible with forced colors */\\n outline: transparent solid calc(1rem / var(--kolibri-root-font-size, 16));\\n position: relative;\\n height: 100%;\\n }\\n .kol-card__close-button {\\n position: absolute;\\n top: 0;\\n right: 0;\\n }\\n}\\n@layer kol-component {\\n .kol-drawer__dialog {\\n padding: 0;\\n border: none;\\n }\\n .kol-drawer__wrapper {\\n position: fixed;\\n width: auto;\\n overflow: auto;\\n }\\n .kol-drawer__wrapper--left {\\n top: 0;\\n left: 0;\\n height: 100vh;\\n max-height: 100%;\\n }\\n .kol-drawer__wrapper--left .kol-drawer__content {\\n height: 100%;\\n }\\n .kol-drawer__wrapper--right {\\n top: 0;\\n right: 0;\\n height: 100vh;\\n max-height: 100%;\\n }\\n .kol-drawer__wrapper--right .kol-drawer__content {\\n height: 100%;\\n }\\n .kol-drawer__wrapper--top {\\n top: 0;\\n left: 0;\\n width: 100vw;\\n max-width: 100%;\\n }\\n .kol-drawer__wrapper--top .kol-drawer__content {\\n width: 100%;\\n }\\n .kol-drawer__wrapper--bottom {\\n bottom: 0;\\n left: 0;\\n width: 100vw;\\n max-width: 100%;\\n }\\n .kol-drawer__wrapper--bottom .kol-drawer__content {\\n width: 100%;\\n }\\n .kol-drawer__content {\\n position: relative;\\n }\\n}\";\n\nconst KolDrawer = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.getWrapperRef = (el) => (this.dialogWrapperElement = el);\n this.getRef = (el) => {\n this.dialogElement = el;\n setTimeout(() => {\n void this.openOrCloseBasedOnState();\n });\n };\n this._hasCloser = false;\n this.state = {\n _label: '',\n _open: false,\n _align: 'left',\n };\n }\n async open() {\n var _a;\n this.state = Object.assign(Object.assign({}, this.state), { _open: true });\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.showModal();\n }\n async close() {\n this.state = Object.assign(Object.assign({}, this.state), { _open: false });\n const wrapper = this.dialogWrapperElement;\n if (!wrapper)\n return;\n const computedStyle = window.getComputedStyle(wrapper);\n if (computedStyle.animationName === 'none') {\n this.handleCloseDialog();\n }\n }\n renderDialogContent() {\n const align = this.state._align;\n return (h(KolCardWcTag, { ref: this.getWrapperRef, class: clsx(`kol-drawer__wrapper`, `kol-drawer__wrapper--${align}`, {\n 'kol-drawer__wrapper--open': this.state._open,\n 'kol-drawer__wrapper--is-closing': this.state._open === false,\n }), _label: this.state._label, _hasCloser: this.state._hasCloser, _on: {\n onClose: () => {\n void this.close();\n },\n } }, h(\"div\", { class: \"kol-drawer__content\" }, h(\"slot\", null))));\n }\n render() {\n return (h(Host, { key: '789134f227ece64520110596720256d7f7a86961', class: \"kol-drawer\" }, h(\"dialog\", { key: '5b6e57975b4d92874647624ead38d9ff3a673626', \"aria-label\": this.state._label, class: \"kol-drawer__dialog\", ref: this.getRef }, this.renderDialogContent())));\n }\n validateLabel(value) {\n validateLabel(this, value, {\n required: true,\n });\n }\n validateAlign(value) {\n validateAlign(this, value);\n }\n validateHasCloser(value) {\n validateHasCloser(this, value);\n }\n validateOpen(value) {\n if (typeof value === 'boolean') {\n validateOpen(this, value);\n if (this.dialogElement) {\n void this.openOrCloseBasedOnState();\n }\n }\n }\n async openOrCloseBasedOnState() {\n if (this.state._open) {\n await this.open();\n }\n else {\n await this.close();\n }\n }\n validateOn(value) {\n if (typeof value === 'object' && value !== null) {\n const callbacks = {};\n if (typeof value.onClose === 'function') {\n callbacks.onClose = value.onClose;\n }\n setState(this, '_on', callbacks);\n }\n }\n handleCloseDialog() {\n var _a, _b, _c;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.close();\n (_c = (_b = this._on) === null || _b === void 0 ? void 0 : _b.onClose) === null || _c === void 0 ? void 0 : _c.call(_b);\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.close);\n }\n }\n handleClose() {\n void (async () => {\n await this.close();\n this.handleCloseDialog();\n })();\n }\n handleAnimationEnd(e) {\n const animationEvent = e;\n if (animationEvent.animationName.includes('slideOut')) {\n this.handleCloseDialog();\n }\n }\n componentDidLoad() {\n var _a, _b;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.addEventListener('animationend', this.handleAnimationEnd.bind(this));\n (_b = this.dialogElement) === null || _b === void 0 ? void 0 : _b.addEventListener('close', this.handleClose.bind(this));\n }\n disconnectedCallback() {\n var _a, _b;\n (_a = this.dialogElement) === null || _a === void 0 ? void 0 : _a.removeEventListener('animationend', this.handleAnimationEnd.bind(this));\n (_b = this.dialogElement) === null || _b === void 0 ? void 0 : _b.removeEventListener('close', this.handleClose.bind(this));\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateOpen(this._open);\n this.validateAlign(this._align);\n this.validateHasCloser(this._hasCloser);\n this.validateOn(this._on);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_align\": [\"validateAlign\"],\n \"_hasCloser\": [\"validateHasCloser\"],\n \"_open\": [\"validateOpen\"],\n \"_on\": [\"validateOn\"]\n }; }\n};\nKolDrawer.style = {\n default: defaultStyleCss\n};\n\nexport { KolDrawer as kol_drawer };\n//# sourceMappingURL=kol-drawer.entry.js.map\n\n//# sourceMappingURL=kol-drawer.entry.js.map"],"names":["defaultStyleCss","KolDrawer","hostRef","registerInstance","el","_a","wrapper","align","h","KolCardWcTag","clsx","Host","value","validateLabel","validateAlign","validateHasCloser","validateOpen","callbacks","setState","_b","_c","dispatchDomEvent","KolEvent","e","getElement"],"mappings":"4UAAA;AAAA;AAAA,GAaA,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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AAK,IAAI,CAAC,CAClI,CACI,mBAAoB,CAChB,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,aAAa,KAAK,KAAK,EAC5B,KAAK,cAAc,KAAK,MAAM,EAC9B,KAAK,kBAAkB,KAAK,UAAU,EACtC,KAAK,WAAW,KAAK,GAAG,CAChC,CACI,IAAI,MAAO,CAAE,OAAOK,EAAW,IAAI,CAAE,CACrC,WAAW,UAAW,CAAE,MAAO,CAC3B,OAAU,CAAC,eAAe,EAC1B,OAAU,CAAC,eAAe,EAC1B,WAAc,CAAC,mBAAmB,EAClC,MAAS,CAAC,cAAc,EACxB,IAAO,CAAC,YAAY,CAC5B,CAAM,CACN,EACAvB,EAAU,MAAQ,CACd,QAASD,CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"kol-form.entry-CXmAwLn0.js","sources":["../../../../components/dist/esm/kol-form.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h, H as Host, g as getElement } from './index-8LH1C-22.js';\nimport { w as watchValidator, d as watchBoolean, e as watchString } from './common-Kl71BXoz.js';\nimport { t as translate } from './i18n-CKkAYzG_.js';\nimport { f as KolLinkWcTag } from './component-names-CkE54Ym7.js';\nimport { K as KolAlertFc } from './Alert-BGDOGZ66.js';\nimport { d as dispatchDomEvent, K as KolEvent } from './events-CoPFQEiC.js';\nimport './i18n-CjhRejiw.js';\nimport './Heading-BJWc7lPF.js';\nimport './clsx-eK3rPvPS.js';\nimport './bem-BQWXB6Eh.js';\nimport './browser-DEWn2ir2.js';\n\nconst validateErrorList = (component, value) => {\n watchValidator(component, 'errorList', (value) => Array.isArray(value) && value.find((v) => !(typeof v === 'string' || typeof v === 'function')) === undefined, new Set(['string', 'function']), value);\n};\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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 contain: layout;\\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(10rem / var(--kolibri-root-font-size, 16));\\n height: calc(10rem / 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 @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(8rem / var(--kolibri-root-font-size, 16));\\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(1rem / var(--kolibri-root-font-size, 16));\\n }\\n }\\n}\";\n\nconst KolForm = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.translateErrorListMessage = translate('kol-error-list-message');\n this.translateErrorList = translate('kol-error-list');\n this.translateFormDescription = translate('kol-form-description');\n this.onSubmit = (event) => {\n var _a, _b;\n event.preventDefault();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onSubmit) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onSubmit(event);\n }\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.submit);\n }\n };\n this.onReset = (event) => {\n var _a, _b;\n event.preventDefault();\n if (typeof ((_a = this.state._on) === null || _a === void 0 ? void 0 : _a.onReset) === 'function') {\n (_b = this.state._on) === null || _b === void 0 ? void 0 : _b.onReset(event);\n }\n if (this.host) {\n dispatchDomEvent(this.host, KolEvent.reset);\n }\n };\n this.handleLinkClick = (selector) => {\n const targetElement = document.querySelector(selector);\n if (targetElement && typeof targetElement.focus === 'function') {\n targetElement.scrollIntoView({ behavior: 'smooth' });\n targetElement.focus();\n }\n };\n this.setBlockElement = (el) => (this.errorListBlock = el);\n this.setFirstLinkElement = (el) => (this.errorListFirstLink = el);\n this._requiredText = true;\n this.state = {};\n }\n renderErrorList(errorList) {\n return (h(KolAlertFc, { class: \"kol-form__alert\", ref: this.setBlockElement, type: \"error\", variant: \"card\", label: this.translateErrorListMessage }, h(\"nav\", { \"aria-label\": this.translateErrorList }, h(\"ul\", null, errorList === null || errorList === void 0 ? void 0 : errorList.map((error, index) => (h(\"li\", { key: index }, h(KolLinkWcTag, { class: \"kol-form__link\", _href: \"\", _label: error.message, _on: { onClick: typeof error.selector === 'string' ? () => this.handleLinkClick(String(error.selector)) : error.selector }, ref: index === 0 ? this.setFirstLinkElement : undefined }))))))));\n }\n renderFormElement() {\n return (h(\"form\", { class: \"kol-form\", method: \"post\", onSubmit: this.onSubmit, onReset: this.onReset, noValidate: true }, this.state._requiredText === true ? (h(\"p\", null, h(\"div\", { class: \"kol-form__mandatory-fields-hint\" }, this.translateFormDescription))) : typeof this.state._requiredText === 'string' && this.state._requiredText.length > 0 ? (h(\"p\", null, h(\"div\", { class: \"kol-form__mandatory-fields-hint\" }, this.state._requiredText))) : null, h(\"slot\", null)));\n }\n render() {\n const hasErrorList = Array.isArray(this._errorList) && this._errorList.length > 0;\n return (h(Host, { key: '129655c9f0160c5c3eb6801253953b52c9649031' }, hasErrorList && this.renderErrorList(this._errorList), this.renderFormElement()));\n }\n scrollToErrorList() {\n var _a;\n (_a = this.errorListBlock) === null || _a === void 0 ? void 0 : _a.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n setTimeout(() => {\n var _a, _b;\n (_b = (_a = this.errorListFirstLink) === null || _a === void 0 ? void 0 : _a.querySelector('a')) === null || _b === void 0 ? void 0 : _b.focus();\n }, 250);\n }\n async focusErrorList() {\n this.scrollToErrorList();\n return Promise.resolve();\n }\n validateOn(value) {\n if (typeof value === 'object' && value !== null) {\n this.state = Object.assign(Object.assign({}, this.state), { _on: value });\n }\n }\n validateRequiredText(value) {\n if (typeof value === 'boolean') {\n watchBoolean(this, '_requiredText', value);\n }\n else {\n watchString(this, '_requiredText', value);\n }\n }\n validateErrorList(value) {\n validateErrorList(this, value);\n }\n componentWillLoad() {\n this.validateOn(this._on);\n this.validateRequiredText(this._requiredText);\n this.validateErrorList(this._errorList);\n }\n get host() { return getElement(this); }\n static get watchers() { return {\n \"_on\": [\"validateOn\"],\n \"_requiredText\": [\"validateRequiredText\"],\n \"_errorList\": [\"validateErrorList\"]\n }; }\n};\nKolForm.style = {\n default: defaultStyleCss\n};\n\nexport { KolForm as kol_form };\n//# sourceMappingURL=kol-form.entry.js.map\n\n//# sourceMappingURL=kol-form.entry.js.map"],"names":["validateErrorList","component","value","watchValidator","v","defaultStyleCss","KolForm","hostRef","registerInstance","translate","event","_a","_b","dispatchDomEvent","KolEvent","selector","targetElement","el","errorList","h","KolAlertFc","error","index","KolLinkWcTag","hasErrorList","Host","watchBoolean","watchString","getElement"],"mappings":"mRAAA;AAAA;AAAA,GAeA,MAAMA,EAAoB,CAACC,EAAWC,IAAU,CAC5CC,EAAeF,EAAW,YAAcC,GAAU,MAAM,QAAQA,CAAK,GAAKA,EAAM,KAAME,GAAM,EAAE,OAAOA,GAAM,UAAY,OAAOA,GAAM,WAAW,IAAM,OAAW,IAAI,IAAI,CAAC,SAAU,UAAU,CAAC,EAAG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.entry-D6ZlsnwD.js","sources":["../../../../components/dist/esm/kol-heading.entry.js"],"sourcesContent":["/*!\n * KoliBri - The accessible HTML-Standard\n */\nimport { r as registerInstance, h } from './index-8LH1C-22.js';\nimport { e as watchString } from './common-Kl71BXoz.js';\nimport { a as validateLabelWithExpertSlot } from './label-DWoPQebK.js';\nimport './Alert-BGDOGZ66.js';\nimport { K as KolHeadingFc } from './Heading-BJWc7lPF.js';\nimport './markdown-BiFI499a.js';\nimport './i18n-CKkAYzG_.js';\nimport { w as watchHeadingLevel } from './validation-Cn-KroIc.js';\nimport './clsx-eK3rPvPS.js';\nimport './component-names-CkE54Ym7.js';\nimport './bem-BQWXB6Eh.js';\nimport './browser-DEWn2ir2.js';\nimport './i18n-CjhRejiw.js';\n\nconst defaultStyleCss = \"/* 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(44rem / var(--kolibri-root-font-size, 16));\\n color: black;\\n /*\\n * No element should be used without a background and font color whose contrast ratio has\\n * not been checked. By initially setting the background color to white and the font color\\n * to black, the contrast ratio is ensured and explicit adjustment is forced.\\n */\\n background-color: white;\\n /*\\n * Verdana is an accessible font that can be used without requiring additional loading time.\\n */\\n font-family: Verdana;\\n /*\\n * Letter spacing is required for all texts.\\n */\\n letter-spacing: inherit;\\n /*\\n * Word spacing is required for all texts.\\n */\\n word-spacing: inherit;\\n }\\n * {\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n hyphens: auto;\\n /*\\n * This rule enables the word dividing for all texts. That is important for high zoom levels.\\n */\\n word-break: break-word;\\n }\\n /*\\n * All interactive elements should have a minimum size of to-rem(44).\\n */\\n /* input:not([type='checkbox'], [type='radio'], [type='range']), */\\n /* option, */\\n /* select, */\\n /* textarea, */\\n [role=button],\\n button:not([role=link]),\\n .kol-input .input {\\n min-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: absolute;\\n width: 1px;\\n height: 1px;\\n overflow: hidden;\\n white-space: nowrap;\\n clip: rect(0 0 0 0);\\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(16rem / var(--kolibri-root-font-size, 16));\\n }\\n * {\\n /*\\n * We prefer to box-sizing: border-box for all elements.\\n */\\n box-sizing: border-box;\\n }\\n .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.kol-headline--secondary {\\n margin: 0;\\n}\";\n\nconst KolHeading = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this._level = 0;\n this.state = {\n _label: '',\n _level: 0,\n };\n }\n validateLabel(value) {\n validateLabelWithExpertSlot(this, value);\n }\n validateLevel(value) {\n watchHeadingLevel(this, value);\n }\n validateSecondaryHeadline(value) {\n watchString(this, '_secondaryHeadline', value);\n }\n componentWillLoad() {\n this.validateLabel(this._label);\n this.validateLevel(this._level);\n this.validateSecondaryHeadline(this._secondaryHeadline);\n }\n render() {\n const { _secondaryHeadline, _label, _level } = this.state;\n return (h(KolHeadingFc, { key: 'bca6f091d8c15ebbd3cd448deb11b8c21253369c', secondaryHeadline: _secondaryHeadline, level: _level }, _label, h(\"slot\", { key: '16c1177a2937b4a31efd828e26fb316f365049a7', name: \"expert\", slot: \"expert\" })));\n }\n static get watchers() { return {\n \"_label\": [\"validateLabel\"],\n \"_level\": [\"validateLevel\"],\n \"_secondaryHeadline\": [\"validateSecondaryHeadline\"]\n }; }\n};\nKolHeading.style = {\n default: defaultStyleCss\n};\n\nexport { KolHeading as kol_heading };\n//# sourceMappingURL=kol-heading.entry.js.map\n\n//# sourceMappingURL=kol-heading.entry.js.map"],"names":["defaultStyleCss","KolHeading","hostRef","registerInstance","value","validateLabelWithExpertSlot","watchHeadingLevel","watchString","_secondaryHeadline","_label","_level","h","KolHeadingFc"],"mappings":"qWAAA;AAAA;AAAA,GAiBA,MAAMA,EAAkB;AAAA;AAAA;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