@public-ui/components 4.6.0-rc.0 → 4.6.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/kolicons/kolicons.eot +0 -0
- package/assets/kolicons/kolicons.ttf +0 -0
- package/assets/kolicons/kolicons.woff +0 -0
- package/assets/kolicons/kolicons.woff2 +0 -0
- package/assets/kolicons/style.css +6 -6
- package/custom-elements.json +4 -42
- package/dist/cjs/{Heading-CSxHzc97.js → Heading-DpKpW9_U.js} +1 -1
- package/dist/cjs/{api-CgWeKMMq.js → api-DSnFV5pX.js} +16 -16
- package/dist/cjs/{app-globals-pY-Cyxgv.js → app-globals-DWk29tH4.js} +2 -2
- package/dist/cjs/{base-qwdvh9pf.js → base-B1L6tTOu.js} +4 -4
- package/dist/cjs/{base-YsLg9vB1.js → base-Cdk10fDz.js} +4 -4
- package/dist/cjs/{base-Bza2102z.js → base-DB-5MCfF.js} +6 -7
- package/dist/cjs/{base-CYqcl2o4.js → base-uTtcb6OV.js} +17 -17
- package/dist/cjs/{base-web-component-CkEUtzNr.js → base-web-component-BdHm5Oq9.js} +5 -5
- package/dist/cjs/{base-web-component-Cp4fQ2Mh.js → base-web-component-CyF5QpIH.js} +6 -6
- package/dist/cjs/{behavior-DV-LMyJJ.js → behavior-BnUihLzw.js} +4 -4
- package/dist/cjs/{behavior-BqwUv55g.js → behavior-C3w_8ifK.js} +2 -2
- package/dist/cjs/{behavior-DvLNQY2U.js → behavior-D5F_9gEC.js} +1 -1
- package/dist/cjs/{bem-registry-CyxrH26c.js → bem-registry-ZJZujhCi.js} +0 -15
- package/dist/cjs/{block-bem-BI7yfoFU.js → block-bem-CMvCkLkl.js} +1 -1
- package/dist/cjs/{component-DtmmNGjm.js → component-B2l8N5t_.js} +4 -4
- package/dist/cjs/{component-COEAaB_B.js → component-BE_gS80r.js} +2 -2
- package/dist/cjs/{component-B9y7UnKg.js → component-BXz1XtoE.js} +7 -7
- package/dist/cjs/{component-DXBzTkOY.js → component-BwrQID5A.js} +3 -3
- package/dist/cjs/{component-D_9ZydZA.js → component-C46QQbMS.js} +10 -8
- package/dist/cjs/{component-q87oQHev.js → component-CWEYNtAH.js} +3 -3
- package/dist/cjs/{component-CRDSSR7G.js → component-CrW05zUq.js} +2 -2
- package/dist/cjs/{component-BM0H6uUo.js → component-DfChjUi8.js} +7 -7
- package/dist/cjs/{component-CeT2UQLF.js → component-DsWMXDya.js} +3 -3
- package/dist/cjs/{component-Br2jlQXL.js → component-N-3XFtFS.js} +6 -6
- package/dist/cjs/{component-CKMtvWhe.js → component-_p4OHWcc.js} +6 -6
- package/dist/cjs/{component-D5PYQ9Ku.js → component-eYoUHQ64.js} +2 -2
- package/dist/cjs/{dev.utils-DOgQN_zk.js → dev.utils-Bxq7b-n1.js} +1 -1
- package/dist/cjs/{devtools-CG9Ov5FS.js → devtools-BLvPSoCH.js} +2 -2
- package/dist/cjs/{field-control-BT1ZyKNR.js → field-control-D9t3USqP.js} +7 -7
- package/dist/cjs/{group-0C7hEZpp.js → group-CFBPF3hG.js} +5 -5
- package/dist/cjs/{index-14cLFAPd.js → index-CNhjOFBg.js} +2 -32
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{input-DOHuLJaE.js → input-C3F73RZW.js} +4 -4
- package/dist/cjs/{input-container-Ddovz1-b.js → input-container-B5-_NcRy.js} +6 -6
- package/dist/cjs/{item--tny4oQM.js → item-CfCrfeQL.js} +3 -3
- package/dist/cjs/{item-CWoQfEPo.js → item-DvddzW3M.js} +3 -3
- package/dist/cjs/{item-aV2WKcK3.js → item-dlea1NHr.js} +13 -13
- package/dist/cjs/{item-ZLQ1Yy47.js → item-nAB1wPvv.js} +7 -8
- package/dist/cjs/kol-abbr.cjs.entry.js +5 -5
- package/dist/cjs/kol-accordion.cjs.entry.js +10 -10
- package/dist/cjs/kol-alert.cjs.entry.js +15 -16
- package/dist/cjs/kol-avatar.cjs.entry.js +3 -3
- package/dist/cjs/kol-badge.cjs.entry.js +15 -16
- package/dist/cjs/kol-breadcrumb.cjs.entry.js +13 -13
- package/dist/cjs/kol-button-link.cjs.entry.js +15 -16
- package/dist/cjs/kol-button.cjs.entry.js +15 -16
- package/dist/cjs/kol-card.cjs.entry.js +16 -17
- package/dist/cjs/kol-combobox.cjs.entry.js +26 -27
- package/dist/cjs/kol-details.cjs.entry.js +10 -10
- package/dist/cjs/kol-dialog.cjs.entry.js +18 -19
- package/dist/cjs/kol-drawer.cjs.entry.js +17 -18
- package/dist/cjs/kol-form.cjs.entry.js +15 -16
- package/dist/cjs/kol-heading.cjs.entry.js +5 -5
- package/dist/cjs/kol-icon.cjs.entry.js +5 -5
- package/dist/cjs/kol-image.cjs.entry.js +3 -3
- package/dist/cjs/kol-input-checkbox.cjs.entry.js +29 -30
- package/dist/cjs/kol-input-color.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-date.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-email.cjs.entry.js +31 -32
- package/dist/cjs/kol-input-file.cjs.entry.js +24 -25
- package/dist/cjs/kol-input-number.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-password.cjs.entry.js +26 -27
- package/dist/cjs/kol-input-radio.cjs.entry.js +24 -25
- package/dist/cjs/kol-input-range.cjs.entry.js +25 -26
- package/dist/cjs/kol-input-text.cjs.entry.js +26 -27
- package/dist/cjs/kol-kolibri.cjs.entry.js +5 -5
- package/dist/cjs/kol-link-button.cjs.entry.js +14 -14
- package/dist/cjs/kol-link.cjs.entry.js +14 -14
- package/dist/cjs/kol-meter.cjs.entry.js +5 -5
- package/dist/cjs/kol-modal.cjs.entry.js +18 -19
- package/dist/cjs/kol-nav.cjs.entry.js +18 -19
- package/dist/cjs/kol-pagination.cjs.entry.js +26 -28
- package/dist/cjs/kol-popover-button.cjs.entry.js +16 -17
- package/dist/cjs/kol-progress.cjs.entry.js +5 -5
- package/dist/cjs/kol-quote.cjs.entry.js +3 -3
- package/dist/cjs/kol-select.cjs.entry.js +23 -24
- package/dist/cjs/kol-single-select.cjs.entry.js +26 -27
- package/dist/cjs/kol-skip-nav.cjs.entry.js +13 -13
- package/dist/cjs/kol-spin.cjs.entry.js +6 -6
- package/dist/cjs/kol-split-button.cjs.entry.js +18 -19
- package/dist/cjs/kol-table-stateful.cjs.entry.js +31 -32
- package/dist/cjs/kol-table-stateless.cjs.entry.js +24 -25
- package/dist/cjs/kol-tabs.cjs.entry.js +14 -15
- package/dist/cjs/kol-textarea.cjs.entry.js +24 -25
- package/dist/cjs/kol-toast-container.cjs.entry.js +14 -15
- package/dist/cjs/kol-toolbar.cjs.entry.js +16 -17
- package/dist/cjs/kol-tooltip-wc.cjs.entry.js +7 -7
- package/dist/cjs/kol-tree-item.cjs.entry.js +12 -12
- package/dist/cjs/kol-tree.cjs.entry.js +3 -3
- package/dist/cjs/kol-version.cjs.entry.js +12 -13
- package/dist/cjs/kolibri.cjs.js +3 -3
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{resolve-props-DhLgYN4l.js → resolve-props-BUSerQcI.js} +2 -2
- package/dist/cjs/{resolve-props-BpLJmK75.js → resolve-props-ClWlRbhz.js} +3 -4
- package/dist/cjs/{scroll-lock-C7PeigI_.js → scroll-lock-CSW_wA0P.js} +2 -2
- package/dist/cjs/{suggestions-CZjGY0Eu.js → suggestions-CIGYxDps.js} +2 -2
- package/dist/cjs/test-component.cjs.entry.js +1 -1
- package/dist/cjs/{toggle-handler-rQkcX4QY.js → toggle-handler-Cy5RcTS_.js} +4 -4
- package/dist/collection/collection-manifest.json +0 -7
- package/dist/collection/components/abbr/component.js +1 -1
- package/dist/collection/components/accordion/component.js +1 -1
- package/dist/collection/components/accordion/style.css +2 -2
- package/dist/collection/components/alert/component.js +1 -1
- package/dist/collection/components/alert/style.css +2 -2
- package/dist/collection/components/avatar/component.js +1 -1
- package/dist/collection/components/badge/component.js +1 -1
- package/dist/collection/components/badge/style.css +2 -2
- package/dist/collection/components/breadcrumb/component.js +1 -1
- package/dist/collection/components/breadcrumb/style.css +2 -2
- package/dist/collection/components/button/component.js +1 -1
- package/dist/collection/components/button/style.css +2 -2
- package/dist/collection/components/button-link/component.js +1 -1
- package/dist/collection/components/button-link/style.css +2 -2
- package/dist/collection/components/card/component.js +1 -1
- package/dist/collection/components/card/style.css +2 -2
- package/dist/collection/components/combobox/component.js +3 -3
- package/dist/collection/components/combobox/style.css +2 -2
- package/dist/collection/components/details/component.js +1 -1
- package/dist/collection/components/details/style.css +2 -2
- package/dist/collection/components/dialog/component.js +1 -1
- package/dist/collection/components/dialog/style.css +2 -2
- package/dist/collection/components/drawer/component.js +1 -1
- package/dist/collection/components/drawer/style.css +2 -2
- package/dist/collection/components/form/component.js +1 -1
- package/dist/collection/components/form/style.css +2 -2
- package/dist/collection/components/heading/component.js +1 -1
- package/dist/collection/components/icon/component.js +1 -1
- package/dist/collection/components/icon/style.css +2 -2
- package/dist/collection/components/image/component.js +1 -1
- package/dist/collection/components/input-checkbox/component.js +3 -3
- package/dist/collection/components/input-checkbox/style.css +2 -2
- package/dist/collection/components/input-color/component.js +2 -2
- package/dist/collection/components/input-color/style.css +2 -2
- package/dist/collection/components/input-date/component.js +2 -2
- package/dist/collection/components/input-date/style.css +2 -2
- package/dist/collection/components/input-email/component.js +1 -1
- package/dist/collection/components/input-email/style.css +2 -2
- package/dist/collection/components/input-file/component.js +2 -2
- package/dist/collection/components/input-file/style.css +2 -2
- package/dist/collection/components/input-number/component.js +2 -2
- package/dist/collection/components/input-number/style.css +2 -2
- package/dist/collection/components/input-password/component.js +1 -1
- package/dist/collection/components/input-password/style.css +2 -2
- package/dist/collection/components/input-radio/component.js +1 -1
- package/dist/collection/components/input-radio/style.css +2 -2
- package/dist/collection/components/input-range/component.js +2 -2
- package/dist/collection/components/input-range/style.css +2 -2
- package/dist/collection/components/input-text/component.js +1 -1
- package/dist/collection/components/input-text/style.css +2 -2
- package/dist/collection/components/kolibri/component.js +1 -1
- package/dist/collection/components/link/component.js +1 -1
- package/dist/collection/components/link/style.css +2 -2
- package/dist/collection/components/link-button/component.js +1 -1
- package/dist/collection/components/link-button/style.css +2 -2
- package/dist/collection/components/meter/component.js +1 -1
- package/dist/collection/components/modal/component.js +1 -1
- package/dist/collection/components/modal/style.css +2 -2
- package/dist/collection/components/nav/component.js +1 -1
- package/dist/collection/components/nav/style.css +2 -2
- package/dist/collection/components/pagination/component.js +7 -9
- package/dist/collection/components/pagination/style.css +2 -2
- package/dist/collection/components/popover-button/component.js +1 -1
- package/dist/collection/components/popover-button/style.css +2 -2
- package/dist/collection/components/progress/component.js +1 -1
- package/dist/collection/components/quote/component.js +1 -1
- package/dist/collection/components/select/component.js +1 -1
- package/dist/collection/components/select/style.css +2 -2
- package/dist/collection/components/single-select/component.js +3 -3
- package/dist/collection/components/single-select/style.css +2 -2
- package/dist/collection/components/skip-nav/component.js +1 -1
- package/dist/collection/components/skip-nav/style.css +2 -2
- package/dist/collection/components/spin/component.js +1 -1
- package/dist/collection/components/split-button/component.js +1 -1
- package/dist/collection/components/split-button/style.css +2 -2
- package/dist/collection/components/table-stateful/component.js +2 -2
- package/dist/collection/components/table-stateful/style.css +2 -2
- package/dist/collection/components/table-stateless/component.js +1 -1
- package/dist/collection/components/table-stateless/style.css +2 -2
- package/dist/collection/components/tabs/component.js +1 -1
- package/dist/collection/components/tabs/style.css +2 -2
- package/dist/collection/components/textarea/component.js +2 -2
- package/dist/collection/components/textarea/style.css +2 -2
- package/dist/collection/components/toaster/shadow.js +1 -1
- package/dist/collection/components/toaster/style.css +2 -2
- package/dist/collection/components/toolbar/component.js +1 -1
- package/dist/collection/components/toolbar/style.css +2 -2
- package/dist/collection/components/tooltip/component.js +1 -1
- package/dist/collection/components/tree/component.js +1 -1
- package/dist/collection/components/tree-item/component.js +1 -1
- package/dist/collection/components/tree-item/style.css +2 -2
- package/dist/collection/components/version/component.js +1 -1
- package/dist/collection/components/version/style.css +2 -2
- package/dist/collection/internal/functional-components/pagination/api.js +2 -2
- package/dist/collection/internal/functional-components/pagination/item.js +3 -3
- package/dist/collection/schema/bem-registry.js +0 -15
- package/dist/components/base-web-component2.js +1 -1
- package/dist/components/base-web-component4.js +1 -1
- package/dist/components/base.js +1 -1
- package/dist/components/base2.js +1 -1
- package/dist/components/base4.js +1 -1
- package/dist/components/behavior.js +1 -1
- package/dist/components/behavior2.js +1 -1
- package/dist/components/behavior3.js +1 -1
- package/dist/components/behavior4.js +1 -1
- package/dist/components/bem-registry.js +1 -1
- package/dist/components/component10.js +1 -1
- package/dist/components/component11.js +1 -1
- package/dist/components/component2.js +1 -1
- package/dist/components/component3.js +1 -1
- package/dist/components/component4.js +1 -1
- package/dist/components/component6.js +1 -1
- package/dist/components/component7.js +1 -1
- package/dist/components/component8.js +1 -1
- package/dist/components/component9.js +1 -1
- package/dist/components/contrast.js +1 -1
- package/dist/components/field-control.js +1 -1
- package/dist/components/input-container.js +1 -1
- package/dist/components/item2.js +1 -1
- package/dist/components/item4.js +1 -1
- package/dist/components/kol-abbr.js +1 -1
- package/dist/components/kol-accordion.js +1 -1
- package/dist/components/kol-alert.js +1 -1
- package/dist/components/kol-avatar.js +1 -1
- package/dist/components/kol-badge.js +1 -1
- package/dist/components/kol-breadcrumb.js +1 -1
- package/dist/components/kol-button-link.js +1 -1
- package/dist/components/kol-button.js +1 -1
- package/dist/components/kol-card.js +1 -1
- package/dist/components/kol-combobox.js +1 -1
- package/dist/components/kol-details.js +1 -1
- package/dist/components/kol-dialog.js +1 -1
- package/dist/components/kol-drawer.js +1 -1
- package/dist/components/kol-form.js +1 -1
- package/dist/components/kol-heading.js +1 -1
- package/dist/components/kol-icon.js +1 -1
- package/dist/components/kol-image.js +1 -1
- package/dist/components/kol-input-checkbox.js +1 -1
- package/dist/components/kol-input-color.js +1 -1
- package/dist/components/kol-input-date.js +1 -1
- package/dist/components/kol-input-email.js +1 -1
- package/dist/components/kol-input-file.js +1 -1
- package/dist/components/kol-input-number.js +1 -1
- package/dist/components/kol-input-password.js +1 -1
- package/dist/components/kol-input-radio.js +1 -1
- package/dist/components/kol-input-range.js +1 -1
- package/dist/components/kol-input-text.js +1 -1
- package/dist/components/kol-kolibri.js +1 -1
- package/dist/components/kol-link-button.js +1 -1
- package/dist/components/kol-link.js +1 -1
- package/dist/components/kol-meter.js +1 -1
- package/dist/components/kol-modal.js +1 -1
- package/dist/components/kol-nav.js +1 -1
- package/dist/components/kol-pagination.js +1 -1
- package/dist/components/kol-popover-button.js +1 -1
- package/dist/components/kol-progress.js +1 -1
- package/dist/components/kol-quote.js +1 -1
- package/dist/components/kol-select.js +1 -1
- package/dist/components/kol-single-select.js +1 -1
- package/dist/components/kol-skip-nav.js +1 -1
- package/dist/components/kol-spin.js +1 -1
- package/dist/components/kol-split-button.js +1 -1
- package/dist/components/kol-table-stateful.js +1 -1
- package/dist/components/kol-table-stateless.js +1 -1
- package/dist/components/kol-tabs.js +1 -1
- package/dist/components/kol-textarea.js +1 -1
- package/dist/components/kol-toast-container.js +1 -1
- package/dist/components/kol-toolbar.js +1 -1
- package/dist/components/kol-tooltip-wc.js +1 -1
- package/dist/components/kol-tree-item.js +1 -1
- package/dist/components/kol-tree.js +1 -1
- package/dist/components/kol-version.js +1 -1
- package/dist/components/label-hints.js +1 -1
- package/dist/components/label-lang-segment.js +1 -1
- package/dist/components/label-with-expert-slot.js +1 -1
- package/dist/components/level.js +1 -1
- package/dist/components/props-from-config.js +1 -1
- package/dist/components/resolve-props.js +1 -1
- package/dist/components/rows.js +1 -1
- package/dist/components/unit.js +1 -1
- package/dist/components/validators.js +1 -1
- package/dist/esm/{Heading-Bj2Ma7Tr.js → Heading-wrhAEuG3.js} +1 -1
- package/dist/esm/{api-DhMNvXtN.js → api-7B_iI89k.js} +14 -14
- package/dist/esm/{app-globals-Dpmwwlv-.js → app-globals-tRqgHq3P.js} +2 -2
- package/dist/esm/{base-IzdO60L1.js → base-BDYPTFjC.js} +4 -4
- package/dist/esm/{base-CJ5WCVaj.js → base-BVztEKgJ.js} +17 -17
- package/dist/esm/{base-DV_Pzm7z.js → base-C32RNC8q.js} +5 -6
- package/dist/esm/{base-Ba-xzpOT.js → base-D_-9Lzkd.js} +4 -4
- package/dist/esm/{base-web-component-BB3dHStd.js → base-web-component-BUu68byc.js} +6 -6
- package/dist/esm/{base-web-component-ug9DZUOx.js → base-web-component-DdY5aIHN.js} +5 -5
- package/dist/esm/{behavior-BMXrK4gj.js → behavior-DN-22cB1.js} +2 -2
- package/dist/esm/{behavior-BgmZcrK6.js → behavior-DsTiTiJC.js} +2 -2
- package/dist/esm/{behavior-B4IW5_Qt.js → behavior-fGxZN96S.js} +1 -1
- package/dist/esm/{bem-registry-CWN7_O1L.js → bem-registry-Crcs_65u.js} +0 -15
- package/dist/esm/{block-bem-BpQSY04L.js → block-bem-DehcAQZQ.js} +1 -1
- package/dist/esm/{component-BiYFPpjn.js → component-0IO2wu9i.js} +7 -7
- package/dist/esm/{component-DdIOGRgB.js → component-4xXBb7K-.js} +4 -4
- package/dist/esm/{component-scm3PBuq.js → component-BJ4gGOph.js} +2 -2
- package/dist/esm/{component-BvvE8aim.js → component-CPq3i3I_.js} +2 -2
- package/dist/esm/{component-ChtW1HQv.js → component-CTOYF3q6.js} +3 -3
- package/dist/esm/{component-BKfXEtN0.js → component-ChuoBFI-.js} +3 -3
- package/dist/esm/{component-Dt6efHXY.js → component-Cxdi6on4.js} +9 -8
- package/dist/esm/{component-Drxdk3mb.js → component-DHNcVTi0.js} +6 -6
- package/dist/esm/{component-gj7TBL0i.js → component-DWywPG_a.js} +6 -6
- package/dist/esm/{component-Ua7-J4C-.js → component-EK9BJR6z.js} +7 -7
- package/dist/esm/{component-C0zMsvYl.js → component-NEw1tN3M.js} +3 -3
- package/dist/esm/{component-C5QCCLLa.js → component-et0GdBuf.js} +2 -2
- package/dist/esm/{dev.utils-CwXr_J8N.js → dev.utils-Bg7nZBMk.js} +1 -1
- package/dist/esm/{devtools-QEDvmhav.js → devtools-nUT3JVTV.js} +2 -2
- package/dist/esm/{field-control-BOsAM8BW.js → field-control-D2tOd14v.js} +7 -7
- package/dist/esm/{group-D4WbZY27.js → group-CxWsx0aJ.js} +5 -5
- package/dist/esm/{index-D_P2XoAc.js → index-B_bJG8-2.js} +3 -32
- package/dist/esm/index.js +1 -1
- package/dist/esm/{input-C0kj1MmP.js → input-Ia9Z3AP7.js} +4 -4
- package/dist/esm/{input-container-B4TgBfDz.js → input-container-Y_8n5Sen.js} +6 -6
- package/dist/esm/{item-WrCdQw7F.js → item-BKVeXzUO.js} +13 -13
- package/dist/esm/{item-DRC1CmzC.js → item-BZtI88zF.js} +3 -3
- package/dist/esm/{item-e4SzwxHe.js → item-BjriQHQl.js} +3 -3
- package/dist/esm/{item-BMniY_My.js → item-BuqBMSYI.js} +6 -7
- package/dist/esm/kol-abbr.entry.js +5 -5
- package/dist/esm/kol-accordion.entry.js +10 -10
- package/dist/esm/kol-alert.entry.js +15 -16
- package/dist/esm/kol-avatar.entry.js +3 -3
- package/dist/esm/kol-badge.entry.js +15 -16
- package/dist/esm/kol-breadcrumb.entry.js +13 -13
- package/dist/esm/kol-button-link.entry.js +15 -16
- package/dist/esm/kol-button.entry.js +15 -16
- package/dist/esm/kol-card.entry.js +16 -17
- package/dist/esm/kol-combobox.entry.js +26 -27
- package/dist/esm/kol-details.entry.js +10 -10
- package/dist/esm/kol-dialog.entry.js +18 -19
- package/dist/esm/kol-drawer.entry.js +17 -18
- package/dist/esm/kol-form.entry.js +15 -16
- package/dist/esm/kol-heading.entry.js +5 -5
- package/dist/esm/kol-icon.entry.js +5 -5
- package/dist/esm/kol-image.entry.js +3 -3
- package/dist/esm/kol-input-checkbox.entry.js +29 -30
- package/dist/esm/kol-input-color.entry.js +25 -26
- package/dist/esm/kol-input-date.entry.js +25 -26
- package/dist/esm/kol-input-email.entry.js +31 -32
- package/dist/esm/kol-input-file.entry.js +24 -25
- package/dist/esm/kol-input-number.entry.js +25 -26
- package/dist/esm/kol-input-password.entry.js +26 -27
- package/dist/esm/kol-input-radio.entry.js +24 -25
- package/dist/esm/kol-input-range.entry.js +25 -26
- package/dist/esm/kol-input-text.entry.js +26 -27
- package/dist/esm/kol-kolibri.entry.js +5 -5
- package/dist/esm/kol-link-button.entry.js +14 -14
- package/dist/esm/kol-link.entry.js +14 -14
- package/dist/esm/kol-meter.entry.js +5 -5
- package/dist/esm/kol-modal.entry.js +18 -19
- package/dist/esm/kol-nav.entry.js +18 -19
- package/dist/esm/kol-pagination.entry.js +26 -28
- package/dist/esm/kol-popover-button.entry.js +16 -17
- package/dist/esm/kol-progress.entry.js +5 -5
- package/dist/esm/kol-quote.entry.js +3 -3
- package/dist/esm/kol-select.entry.js +23 -24
- package/dist/esm/kol-single-select.entry.js +26 -27
- package/dist/esm/kol-skip-nav.entry.js +13 -13
- package/dist/esm/kol-spin.entry.js +6 -6
- package/dist/esm/kol-split-button.entry.js +18 -19
- package/dist/esm/kol-table-stateful.entry.js +31 -32
- package/dist/esm/kol-table-stateless.entry.js +24 -25
- package/dist/esm/kol-tabs.entry.js +14 -15
- package/dist/esm/kol-textarea.entry.js +24 -25
- package/dist/esm/kol-toast-container.entry.js +14 -15
- package/dist/esm/kol-toolbar.entry.js +16 -17
- package/dist/esm/kol-tooltip-wc.entry.js +7 -7
- package/dist/esm/kol-tree-item.entry.js +12 -12
- package/dist/esm/kol-tree.entry.js +3 -3
- package/dist/esm/kol-version.entry.js +12 -13
- package/dist/esm/kolibri.js +4 -4
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{resolve-props-CqTztQhV.js → resolve-props-BkF1VBBB.js} +2 -2
- package/dist/esm/{resolve-props-B-67viId.js → resolve-props-CHPFh7Tn.js} +2 -3
- package/dist/esm/{scroll-lock-CKnC0y0o.js → scroll-lock-D7Zo0QLt.js} +2 -2
- package/dist/esm/{suggestions-Be1_H9fA.js → suggestions-GEr-cvbz.js} +2 -2
- package/dist/esm/test-component.entry.js +1 -1
- package/dist/esm/{toggle-handler-Cjc991vd.js → toggle-handler-Bqoo8tCo.js} +4 -4
- package/dist/kolibri/Heading-wrhAEuG3.js +4 -0
- package/dist/kolibri/api-7B_iI89k.js +4 -0
- package/dist/kolibri/app-globals-tRqgHq3P.js +4 -0
- package/dist/kolibri/{base-IzdO60L1.js → base-BDYPTFjC.js} +1 -1
- package/dist/kolibri/base-BVztEKgJ.js +4 -0
- package/dist/kolibri/base-C32RNC8q.js +4 -0
- package/dist/kolibri/{base-Ba-xzpOT.js → base-D_-9Lzkd.js} +1 -1
- package/dist/kolibri/{base-web-component-BB3dHStd.js → base-web-component-BUu68byc.js} +1 -1
- package/dist/kolibri/{base-web-component-ug9DZUOx.js → base-web-component-DdY5aIHN.js} +1 -1
- package/dist/kolibri/behavior-DN-22cB1.js +4 -0
- package/dist/kolibri/{behavior-BgmZcrK6.js → behavior-DsTiTiJC.js} +1 -1
- package/dist/kolibri/{behavior-B4IW5_Qt.js → behavior-fGxZN96S.js} +1 -1
- package/dist/kolibri/bem-registry-Crcs_65u.js +4 -0
- package/dist/kolibri/block-bem-DehcAQZQ.js +4 -0
- package/dist/kolibri/component-0IO2wu9i.js +4 -0
- package/dist/kolibri/{component-DdIOGRgB.js → component-4xXBb7K-.js} +1 -1
- package/dist/kolibri/component-BJ4gGOph.js +4 -0
- package/dist/kolibri/component-CPq3i3I_.js +4 -0
- package/dist/kolibri/component-CTOYF3q6.js +4 -0
- package/dist/kolibri/{component-BKfXEtN0.js → component-ChuoBFI-.js} +1 -1
- package/dist/kolibri/component-Cxdi6on4.js +4 -0
- package/dist/kolibri/{component-Drxdk3mb.js → component-DHNcVTi0.js} +1 -1
- package/dist/kolibri/component-DWywPG_a.js +4 -0
- package/dist/kolibri/component-EK9BJR6z.js +4 -0
- package/dist/kolibri/{component-C0zMsvYl.js → component-NEw1tN3M.js} +1 -1
- package/dist/kolibri/{component-C5QCCLLa.js → component-et0GdBuf.js} +1 -1
- package/dist/kolibri/{dev.utils-CwXr_J8N.js → dev.utils-Bg7nZBMk.js} +1 -1
- package/dist/kolibri/{devtools-QEDvmhav.js → devtools-nUT3JVTV.js} +1 -1
- package/dist/kolibri/field-control-D2tOd14v.js +4 -0
- package/dist/kolibri/{group-D4WbZY27.js → group-CxWsx0aJ.js} +1 -1
- package/dist/kolibri/{index-D_P2XoAc.js → index-B_bJG8-2.js} +2 -2
- package/dist/kolibri/index.esm.js +1 -1
- package/dist/kolibri/input-Ia9Z3AP7.js +4 -0
- package/dist/kolibri/{input-container-B4TgBfDz.js → input-container-Y_8n5Sen.js} +1 -1
- package/dist/kolibri/item-BKVeXzUO.js +4 -0
- package/dist/kolibri/item-BZtI88zF.js +4 -0
- package/dist/kolibri/item-BjriQHQl.js +4 -0
- package/dist/kolibri/item-BuqBMSYI.js +4 -0
- package/dist/kolibri/kol-abbr.entry.js +1 -1
- package/dist/kolibri/kol-accordion.entry.js +1 -1
- package/dist/kolibri/kol-alert.entry.js +1 -1
- package/dist/kolibri/kol-avatar.entry.js +1 -1
- package/dist/kolibri/kol-badge.entry.js +1 -1
- package/dist/kolibri/kol-breadcrumb.entry.js +1 -1
- package/dist/kolibri/kol-button-link.entry.js +1 -1
- package/dist/kolibri/kol-button.entry.js +1 -1
- package/dist/kolibri/kol-card.entry.js +1 -1
- package/dist/kolibri/kol-combobox.entry.js +1 -1
- package/dist/kolibri/kol-details.entry.js +1 -1
- package/dist/kolibri/kol-dialog.entry.js +1 -1
- package/dist/kolibri/kol-drawer.entry.js +1 -1
- package/dist/kolibri/kol-form.entry.js +1 -1
- package/dist/kolibri/kol-heading.entry.js +1 -1
- package/dist/kolibri/kol-icon.entry.js +1 -1
- package/dist/kolibri/kol-image.entry.js +1 -1
- package/dist/kolibri/kol-input-checkbox.entry.js +1 -1
- package/dist/kolibri/kol-input-color.entry.js +1 -1
- package/dist/kolibri/kol-input-date.entry.js +1 -1
- package/dist/kolibri/kol-input-email.entry.js +1 -1
- package/dist/kolibri/kol-input-file.entry.js +1 -1
- package/dist/kolibri/kol-input-number.entry.js +1 -1
- package/dist/kolibri/kol-input-password.entry.js +1 -1
- package/dist/kolibri/kol-input-radio.entry.js +1 -1
- package/dist/kolibri/kol-input-range.entry.js +1 -1
- package/dist/kolibri/kol-input-text.entry.js +1 -1
- package/dist/kolibri/kol-kolibri.entry.js +1 -1
- package/dist/kolibri/kol-link-button.entry.js +1 -1
- package/dist/kolibri/kol-link.entry.js +1 -1
- package/dist/kolibri/kol-meter.entry.js +1 -1
- package/dist/kolibri/kol-modal.entry.js +1 -1
- package/dist/kolibri/kol-nav.entry.js +1 -1
- package/dist/kolibri/kol-pagination.entry.js +1 -1
- package/dist/kolibri/kol-popover-button.entry.js +1 -1
- package/dist/kolibri/kol-progress.entry.js +1 -1
- package/dist/kolibri/kol-quote.entry.js +1 -1
- package/dist/kolibri/kol-select.entry.js +1 -1
- package/dist/kolibri/kol-single-select.entry.js +1 -1
- package/dist/kolibri/kol-skip-nav.entry.js +1 -1
- package/dist/kolibri/kol-spin.entry.js +1 -1
- package/dist/kolibri/kol-split-button.entry.js +1 -1
- package/dist/kolibri/kol-table-stateful.entry.js +1 -1
- package/dist/kolibri/kol-table-stateless.entry.js +1 -1
- package/dist/kolibri/kol-tabs.entry.js +1 -1
- package/dist/kolibri/kol-textarea.entry.js +1 -1
- package/dist/kolibri/kol-toast-container.entry.js +1 -1
- package/dist/kolibri/kol-toolbar.entry.js +1 -1
- package/dist/kolibri/kol-tooltip-wc.entry.js +1 -1
- package/dist/kolibri/kol-tree-item.entry.js +1 -1
- package/dist/kolibri/kol-tree.entry.js +1 -1
- package/dist/kolibri/kol-version.entry.js +1 -1
- package/dist/kolibri/kolibri.esm.js +1 -1
- package/dist/kolibri/resolve-props-BkF1VBBB.js +4 -0
- package/dist/kolibri/resolve-props-CHPFh7Tn.js +4 -0
- package/dist/kolibri/{scroll-lock-CKnC0y0o.js → scroll-lock-D7Zo0QLt.js} +1 -1
- package/dist/kolibri/suggestions-GEr-cvbz.js +4 -0
- package/dist/kolibri/test-component.entry.js +1 -1
- package/dist/kolibri/toggle-handler-Bqoo8tCo.js +4 -0
- package/dist/types/components/pagination/component.d.ts +1 -1
- package/dist/types/components.d.ts +3 -97
- package/dist/types/internal/functional-components/pagination/api.d.ts +2 -2
- package/dist/types/internal/functional-components/pagination/item.d.ts +1 -1
- package/dist/types/schema/bem-registry.d.ts +0 -25
- package/dist/types/schema/components/pagination.d.ts +2 -2
- package/doc/pagination.md +13 -13
- package/doc/table-stateful.md +1 -1
- package/package.json +3 -3
- package/vscode-custom-data.json +0 -13
- package/dist/cjs/component-r497oHWq.js +0 -14
- package/dist/cjs/kol-click-button.cjs.entry.js +0 -55
- package/dist/cjs/kol-skeleton.cjs.entry.js +0 -107
- package/dist/cjs/name-D4qpL1m-.js +0 -10
- package/dist/collection/components/click-button/component.js +0 -105
- package/dist/collection/components/skeleton/component.js +0 -215
- package/dist/collection/internal/functional-components/click-button/api.js +0 -7
- package/dist/collection/internal/functional-components/click-button/component.js +0 -9
- package/dist/collection/internal/functional-components/skeleton/api.js +0 -7
- package/dist/collection/internal/functional-components/skeleton/component.js +0 -20
- package/dist/components/component12.js +0 -4
- package/dist/components/kol-click-button.d.ts +0 -11
- package/dist/components/kol-click-button.js +0 -4
- package/dist/components/kol-skeleton.d.ts +0 -11
- package/dist/components/kol-skeleton.js +0 -4
- package/dist/components/name.js +0 -4
- package/dist/esm/component-Db9HadXA.js +0 -12
- package/dist/esm/kol-click-button.entry.js +0 -53
- package/dist/esm/kol-skeleton.entry.js +0 -105
- package/dist/esm/name-B2Yf3EpX.js +0 -8
- package/dist/kolibri/Heading-Bj2Ma7Tr.js +0 -4
- package/dist/kolibri/api-DhMNvXtN.js +0 -4
- package/dist/kolibri/app-globals-Dpmwwlv-.js +0 -4
- package/dist/kolibri/base-CJ5WCVaj.js +0 -4
- package/dist/kolibri/base-DV_Pzm7z.js +0 -4
- package/dist/kolibri/behavior-BMXrK4gj.js +0 -4
- package/dist/kolibri/bem-registry-CWN7_O1L.js +0 -4
- package/dist/kolibri/block-bem-BpQSY04L.js +0 -4
- package/dist/kolibri/component-BiYFPpjn.js +0 -4
- package/dist/kolibri/component-BvvE8aim.js +0 -4
- package/dist/kolibri/component-ChtW1HQv.js +0 -4
- package/dist/kolibri/component-Db9HadXA.js +0 -4
- package/dist/kolibri/component-Dt6efHXY.js +0 -4
- package/dist/kolibri/component-Ua7-J4C-.js +0 -4
- package/dist/kolibri/component-gj7TBL0i.js +0 -4
- package/dist/kolibri/component-scm3PBuq.js +0 -4
- package/dist/kolibri/field-control-BOsAM8BW.js +0 -4
- package/dist/kolibri/input-C0kj1MmP.js +0 -4
- package/dist/kolibri/item-BMniY_My.js +0 -4
- package/dist/kolibri/item-DRC1CmzC.js +0 -4
- package/dist/kolibri/item-WrCdQw7F.js +0 -4
- package/dist/kolibri/item-e4SzwxHe.js +0 -4
- package/dist/kolibri/kol-click-button.entry.js +0 -4
- package/dist/kolibri/kol-skeleton.entry.js +0 -4
- package/dist/kolibri/name-B2Yf3EpX.js +0 -4
- package/dist/kolibri/resolve-props-B-67viId.js +0 -4
- package/dist/kolibri/resolve-props-CqTztQhV.js +0 -4
- package/dist/kolibri/suggestions-Be1_H9fA.js +0 -4
- package/dist/kolibri/toggle-handler-Cjc991vd.js +0 -4
- package/dist/types/components/click-button/component.d.ts +0 -15
- package/dist/types/components/skeleton/component.d.ts +0 -26
- package/dist/types/internal/functional-components/click-button/api.d.ts +0 -15
- package/dist/types/internal/functional-components/click-button/component.d.ts +0 -4
- package/dist/types/internal/functional-components/skeleton/api.d.ts +0 -29
- package/dist/types/internal/functional-components/skeleton/component.d.ts +0 -4
- package/doc/skeleton.md +0 -54
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as s}from"./index-D_P2XoAc.js";import{s as i,X as t}from"./common-OzsC_6kt.js";import{B as a}from"./base-web-component-XgI4wUyN.js";import{b as o,e,a as h,c as r,d as l,B as p}from"./component-Dt6efHXY.js";import{F as n}from"./behavior-BMXrK4gj.js";import{T as d}from"./behavior-B4IW5_Qt.js";import{a as m,b as c,c as y,f as b,g as u,h as f,s as v,i as C,l as j,d as x,t as I,e as B,v as A}from"./component-BvvE8aim.js";import{d as g}from"./disabled-Cqhc40CU.js";import{i as D}from"./id-CIYvVaNr.js";import"./props-from-config-Ci0dILpz.js";import{l as K}from"./label-with-expert-slot-CicRes-W.js";import{n as T}from"./name-B2Yf3EpX.js";import{v as w}from"./access-and-short-key-ijzCZfHm.js";import{c as E}from"./element-interaction-sGYdEpmv.js";import{d as H,K as L}from"./events-CRHxtwup.js";import{p as S,a as P}from"./controller-Cb-96wE-.js";class F extends a{constructor(){super(...arguments),this.ctaRef=E(),this.propsConfig=o,this.tooltipBehavior=new d(this.stateAccess),this.handleClick=s=>{s.stopPropagation(),this.tooltipBehavior.hideTooltip();const t=this.getRenderProp("type");if("submit"===t)S({form:this.host});else if("reset"===t)P({form:this.host});else{this.formAssociation.setFormAssociatedValue(this.formValue);const t=this.getRenderProp("on").onClick;"function"==typeof t&&(i(s,this.ctaRef.el),t(s,this.formValue))}this.host&&H(this.host,L.click,this.formValue)},this.handleMouseDown=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onMouseDown)||void 0===t||t.call(i,s),this.host&&H(this.host,L.mousedown)},this.handleFocus=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onFocus)||void 0===t||t.call(i,s),this.host&&H(this.host,L.focus)},this.handleBlur=s=>{var i,t;null===(t=(i=this.getRenderProp("on")).onBlur)||void 0===t||t.call(i,s),this.host&&H(this.host,L.blur)}}initFormAssociation(){this.formAssociation=new n(a.stateLess,{host:this.host,type:"button"})}unsetButtonTabIndex(){this.unsetRenderProp("tabIndex")}initTooltipBehavior(){this.tooltipBehavior.componentWillLoad({label:this.getRenderProp("label"),align:this.getRenderProp("tooltipAlign")})}syncTooltipListeners(){this.ctaRef.el&&this.tooltipBehavior.syncListeners(void 0,this.ctaRef.el,!0)}destroyTooltipBehavior(){this.tooltipBehavior.destroy()}applyAccessKey(s,i){m.apply(s,(s=>this.setRenderProp("accessKey",s))),w(s,i)}applyAriaControls(s){c.apply(s,(s=>this.setRenderProp("ariaControls",s)))}applyAriaDescription(s){y.apply(s,(s=>this.setRenderProp("ariaDescription",s)))}applyAriaExpanded(s){b.apply(s,(s=>this.setRenderProp("ariaExpanded",s)))}applyAriaHasPopup(s){e.apply(s,(s=>this.setRenderProp("ariaHasPopup",s)))}applyAriaSelected(s){h.apply(s,(s=>this.setRenderProp("ariaSelected",s)))}applyCustomClass(s){u.apply(s,(s=>this.setRenderProp("customClass",s)))}applyDisabled(s){g.apply(s,(s=>this.setRenderProp("disabled",s)))}applyHideLabel(s){f.apply(s,(s=>this.setRenderProp("hideLabel",s)))}applyIcons(s){v.apply(s,(s=>this.setRenderProp("icons",s)))}applyId(s){D.apply(s,(s=>this.setRenderProp("id",s)))}applyInline(s){C.apply(s,(s=>this.setRenderProp("inline",s)))}applyLabel(s){K.apply(s,(s=>{this.setRenderProp("label",s),this.tooltipBehavior.watchLabel(s)}),this.isRequired("label"))}applyName(s){T.apply(s,(s=>this.setRenderProp("name",s))),this.formAssociation.watchName(s)}applyOn(s){r.apply(s,(s=>this.setRenderProp("on",s)))}applyRole(s){j.apply(s,(s=>this.setRenderProp("role",s)))}applyShortKey(s,i){x.apply(s,(s=>this.setRenderProp("shortKey",s))),w(i,s)}applySyncValueBySelector(s){this.formAssociation.watchSyncValueBySelector(s)}applyTabIndex(s){"number"==typeof s?I.apply(s,(s=>this.setRenderProp("tabIndex",s))):this.unsetRenderProp("tabIndex")}applyTooltipAlign(s){B.apply(null!=s?s:"top",(s=>{this.setRenderProp("tooltipAlign",s),this.tooltipBehavior.watchAlign(s)}))}applyType(s){l.apply(s,(s=>this.setRenderProp("type",s)))}applyValue(s){this.formValue=s,this.formAssociation.setFormAssociatedValue(s)}applyVariant(s){var i;A.apply(null!==(i=null!=s?s:t("buttonVariantDefault",this.host))&&void 0!==i?i:"normal",(s=>this.setRenderProp("variant",s)))}getButtonFCProps(){return{accessKey:this.getRenderProp("accessKey"),ariaControls:this.getRenderProp("ariaControls"),ariaDescription:this.getRenderProp("ariaDescription"),ariaDescriptionId:this.getState("ariaDescriptionId"),ariaExpanded:this.getRenderProp("ariaExpanded"),ariaHasPopup:this.getRenderProp("ariaHasPopup"),ariaSelected:this.getRenderProp("ariaSelected"),customClass:this.getRenderProp("customClass"),disabled:this.getRenderProp("disabled"),handleBlur:this.handleBlur,handleClick:this.handleClick,handleFocus:this.handleFocus,handleMouseDown:this.handleMouseDown,hideLabel:this.getRenderProp("hideLabel"),icons:this.getRenderProp("icons"),id:this.getRenderProp("id"),inline:this.getRenderProp("inline"),label:this.getRenderProp("label"),name:this.getRenderProp("name"),on:this.getRenderProp("on"),refButton:this.ctaRef,refTooltip:this.tooltipBehavior.setTooltipElementRef,role:this.getRenderProp("role"),shortKey:this.getRenderProp("shortKey"),tabIndex:this.getRenderProp("tabIndex"),tooltipAlign:this.getRenderProp("tooltipAlign"),type:this.getRenderProp("type"),variant:this.getRenderProp("variant")}}renderButtonFC(){return s(p,Object.assign({},this.getButtonFCProps()))}}export{F as B}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{g as t}from"./bootstrap-DHXUvPBY.js";import{C as e,e as i,k as s}from"./common-OzsC_6kt.js";import{c as o,b as a}from"./props-from-config-Ci0dILpz.js";import{n}from"./name-B2Yf3EpX.js";import{B as r}from"./behavior-B4IW5_Qt.js";const l=o("ariaDetails","",a),c=o("syncValueBySelector",void 0,a),u={optional:[l,n,c]},h=new Set(["KOL-COMBOBOX","KOL-INPUT-CHECKBOX","KOL-INPUT-COLOR","KOL-INPUT-DATE","KOL-INPUT-EMAIL","KOL-INPUT-FILE","KOL-INPUT-NUMBER","KOL-INPUT-PASSWORD","KOL-INPUT-RADIO","KOL-INPUT-RANGE","KOL-INPUT-TEXT","KOL-SELECT","KOL-SINGLE-SELECT","KOL-TEXTAREA"]);class d extends r{constructor(s,{host:o,type:a,name:n}){var r,l,c,d,f;super(s,u),this.experimentalMode=e(),this.setFormAssociatedValue=t=>{var e;const s=null===(e=this.formAssociated)||void 0===e?void 0:e.getAttribute("name");null!==s&&""!==s||i(` The form field (${this.type}) must have a name attribute to be form-associated. Please define the _name attribute.`);const o=this.tryToStringifyValue(t);this.syncValue(t,o,this.formAssociated),this.syncValue(t,o,this.syncToOwnInput)},this.host=this.findHostWithShadowRoot(o),this.type=a,(null===(r=t())||void 0===r?void 0:r.reflectInputValues)&&h.has(null!==(c=null===(l=this.host)||void 0===l?void 0:l.tagName)&&void 0!==c?c:"")&&n&&(null===(d=this.host)||void 0===d||d.querySelectorAll("input,select,textarea").forEach((t=>{var e;null===(e=this.host)||void 0===e||e.removeChild(t)})),this.formAssociated=this.createFormAssociatedElement(),this.formAssociated.setAttribute("data-form-associated",""),this.formAssociated.setAttribute("hidden",""),null===(f=this.host)||void 0===f||f.appendChild(this.formAssociated))}componentWillLoad(t){this.watchName(t.name),this.watchSyncValueBySelector(t.syncValueBySelector),this.watchAriaDetails(t.ariaDetails)}watchAriaDetails(t){l.apply(t,(t=>this.setRenderProp("ariaDetails",t)))}watchName(t){n.apply(t,(t=>{this.setRenderProp("name",t),this.setNameAttribute(t)})),void 0===t&&i("A name on input fields or switches is not strictly required, but it might be relevant for the autocomplete function and for the static submission of the input field.")}watchSyncValueBySelector(t){if(this.experimentalMode&&"string"==typeof t){this.setRenderProp("syncValueBySelector",t);const e=document.querySelector(t);e&&(this.syncToOwnInput=e)}}setNameAttribute(t){this.setAttribute("name",this.formAssociated,t)}createFormAssociatedElement(){switch(this.type){case"color":case"date":case"email":case"file":case"number":case"password":case"radio":case"range":case"text":{const t=document.createElement("input");return t.setAttribute("type",this.type),t}case"select":{const t=document.createElement("select");return t.setAttribute("multiple",""),t}case"textarea":return document.createElement("textarea");default:{const t=document.createElement("input");return t.setAttribute("type","hidden"),t}}}findHostWithShadowRoot(t){for(;null===(null==t?void 0:t.shadowRoot)&&t!==document.body;){const e=t.parentNode;t=11===(null==e?void 0:e.nodeType)&&"host"in e?e.host:1===(null==e?void 0:e.nodeType)?e:void 0}return t}setAttribute(t,e,i){if(this.experimentalMode)try{if("boolean"!=typeof(i="object"==typeof i&&null!==i?JSON.stringify(i):i)&&"number"!=typeof i&&"string"!=typeof i)throw new Error("Invalid value type: "+typeof i);null==e||e.setAttribute(t,`${i}`)}catch(i){null==e||e.removeAttribute(t)}}tryToStringifyValue(t){try{return"object"==typeof t&&null!==t?JSON.stringify(t).toString():null==t?null:t.toString()}catch(t){return s(`The form field raw value is not able to stringify! ${t}`),""}}syncValue(t,e,i){if(i)switch(this.type){case"file":"undefined"!=typeof FileList&&t instanceof FileList?i.files=t:i.value="";break;case"select":"SELECT"===i.tagName?this.syncSelectOptions(t,i):this.syncValueAttribute(e,i);break;case"radio":"string"==typeof e&&(i.setAttribute("value",e),i.setAttribute("checked",""),i.value=e);break;default:this.syncValueAttribute(e,i)}}syncSelectOptions(t,e){e.querySelectorAll("option").forEach((t=>{e.removeChild(t)})),(Array.isArray(t)?t:null==t?[]:[t]).forEach((t=>{const i=this.tryToStringifyValue(t);if("string"==typeof i){const t=document.createElement("option");t.setAttribute("value",i),t.setAttribute("selected",""),e.appendChild(t)}}))}syncValueAttribute(t,e){"string"==typeof t?(e.setAttribute("value",t),e.value=t):(e.removeAttribute("value"),e.value="")}}export{d as F,l as a}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{i as e}from"./common-OzsC_6kt.js";var i,l,n=e(l?i:(l=1,i=function(e){return function(i,l){if(!i)return e;var n;"string"==typeof i?n=i:l=i;var o=e;return n&&(o+="__"+n),o+(l?Object.keys(l).reduce((function(e,i){var n=l[i];return n&&(e+=" "+("boolean"==typeof n?o+"--"+i:o+"--"+i+"_"+n)),e}),""):"")}}));const o=function(){const e=new Map,i=(i,l,o)=>{try{return e.get(i)(l,o)}catch{return e.set(i,n(i)).get(i)(l,o)}};return i.forBlock=e=>{const l=(l,n)=>i(e,l,n);return l.forElement=l=>n=>i(e,l,n),l},i}(),r={"kol-abbr":{modifiers:null},"kol-alert":{elements:{closer:{modifiers:null},heading:{modifiers:new Set(["h0","h1","h2","h3","h4","h5","h6"])},icon:{modifiers:null},content:{modifiers:null},container:{modifiers:null}},modifiers:new Set(["hasCloser","type-default","type-error","type-info","type-success","type-warning","variant-card","variant-msg"])},"kol-badge":{elements:{label:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["has-smart-button"])},"kol-version":{modifiers:null},"kol-accordion":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-avatar":{elements:{image:{modifiers:null},initials:{modifiers:null}},modifiers:null},"kol-card":{elements:{"close-button":{modifiers:null},content:{modifiers:null},header:{modifiers:null},link:{modifiers:null}},modifiers:null},"kol-dialog":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-modal":{elements:{blank:{modifiers:null},card:{modifiers:null}},modifiers:null},"kol-button":{elements:{"interactive-element":{modifiers:null},text:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["disabled","hide-label","inline","standalone"])},"kol-breadcrumb":{elements:{icon:{modifiers:null},link:{modifiers:null},list:{modifiers:null},"list-element":{modifiers:null},"list-element-span":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-nav":{elements:{compact:{modifiers:null},entry:{modifiers:new Set(["button","collapsible","link"])},"entry-wrapper":{modifiers:null},list:{modifiers:new Set(["nested","vertical"])},"list-item":{modifiers:new Set(["active","expanded","has-children"])},navigation:{modifiers:null},"toggle-button":{modifiers:null}},modifiers:new Set(["is-compact"])},"kol-kolibri":{elements:{text:{modifiers:null}},modifiers:null},"kol-popover-button":{elements:{popover:{modifiers:null}},modifiers:new Set(["inline","open"])},"kol-details":{elements:{content:{modifiers:null},heading:{modifiers:null},wrapper:{modifiers:null},"wrapper-animation":{modifiers:null}},modifiers:new Set(["disabled","open"])},"kol-drawer":{elements:{content:{modifiers:null},dialog:{modifiers:null},wrapper:{modifiers:new Set(["bottom","is-closing","left","open","right","top"])}},modifiers:null},"kol-heading":{modifiers:new Set(["group"])},"kol-headline":{modifiers:new Set(["group","h1","h2","h3","h4","h5","h6","primary","secondary","single","strong"])},"kol-icon":{elements:{icon:{modifiers:null}},modifiers:null},"kol-meter":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-fill":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-label":{modifiers:null},"bar-state":{modifiers:new Set(["critical","optimum","suboptimal"])},"bar-track":{modifiers:null},unit:{modifiers:null},value:{modifiers:null},"value-unit":{modifiers:null}},modifiers:new Set(["vertical"])},"kol-quote":{elements:{blockquote:{modifiers:null},cite:{modifiers:null},figcaption:{modifiers:null},quote:{modifiers:null}},modifiers:new Set(["block","inline"])},"kol-skip-nav":{elements:{list:{modifiers:null},"list-item":{modifiers:null}},modifiers:null},"kol-skeleton":{elements:{actions:{modifiers:null},container:{modifiers:null},counter:{modifiers:null},name:{modifiers:null}},modifiers:new Set(["has-name","is-hidden"])},"kol-click-button":{elements:{label:{modifiers:null}},modifiers:null},"kol-span":{elements:{container:{modifiers:null},icon:{modifiers:new Set(["bottom","left","right","top"])},label:{modifiers:null},slot:{modifiers:null}},modifiers:new Set(["has-badge","hide-label"])},"kol-link":{elements:{"interactive-element":{modifiers:null},icon:{modifiers:null},text:{modifiers:null}},modifiers:new Set(["disabled","external-link","hide-label","inline","standalone"])},"kol-form":{elements:{alert:{modifiers:null},form:{modifiers:null},link:{modifiers:null},"mandatory-fields-hint":{modifiers:null}},modifiers:null},"kol-form-field":{elements:{counter:{modifiers:null},hint:{modifiers:null},input:{modifiers:new Set(["orientation-horizontal","orientation-vertical"])},label:{modifiers:new Set(["legend"])},"label-text":{modifiers:null},msg:{modifiers:null},tooltip:{modifiers:null}},modifiers:new Set(["default","disabled","error","hidden-msg","hide-label","info","msg-type-default","msg-type-error","msg-type-info","msg-type-success","msg-type-warning","radio","read-only","required","success","touched","warning"])},"kol-input":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-input-container":{elements:{adornment:{modifiers:new Set(["end","start"])},button:{modifiers:null},container:{modifiers:null},filename:{modifiers:new Set(["has-file"])},icon:{modifiers:null},"smart-button":{modifiers:null}},modifiers:new Set(["default","disabled","error","info","is-dragover","success","warning"])},"kol-field-control":{elements:{hint:{modifiers:null},input:{modifiers:null},label:{modifiers:new Set(["visually-hidden"])},"label-text":{modifiers:null}},modifiers:new Set(["default","disabled","error","hide-label","info","label-align-left","label-align-right","read-only","required","success","touched","warning"])},"kol-checkbox":{elements:{icon:{modifiers:null},input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","indeterminate","info","required","success","touched","variant-button","variant-default","variant-switch","warning"])},"kol-input-radio":{elements:{input:{modifiers:null}},modifiers:new Set(["checked","default","disabled","error","info","required","success","touched","warning"])},"kol-select":{elements:{optgroup:{modifiers:new Set(["disabled"])},option:{modifiers:new Set(["disabled","selected"])}},modifiers:new Set(["default","disabled","error","info","required","success","touched","warning"])},"kol-pagination":{elements:{button:{modifiers:new Set(["first","last","next","numbers","previous","selected"])},entries:{modifiers:null},navigation:{modifiers:null},"navigation-list":{modifiers:null},"page-size-select":{modifiers:null},separator:{modifiers:null}},modifiers:null},"kol-custom-suggestions-option":{modifiers:new Set(["disabled"])},"kol-custom-suggestions-options-group":{modifiers:new Set(["cursor-hidden","open"])},"kol-custom-suggestions-toggle":{modifiers:new Set(["disabled"])},"kol-combobox":{elements:{delete:{modifiers:null},group:{modifiers:null}},modifiers:new Set(["open"])},"kol-combobox-toggle":{modifiers:null},"kol-single-select":{elements:{delete:{modifiers:null},group:{modifiers:null},"no-results-message":{modifiers:null}},modifiers:new Set(["open"])},"kol-input-range":{elements:{input:{modifiers:new Set(["number","range"])},"inputs-wrapper":{modifiers:null}},modifiers:null},"kol-split-button":{elements:{button:{modifiers:null},"horizontal-line":{modifiers:null},root:{modifiers:null},"secondary-button":{modifiers:null}},modifiers:null},"kol-spin":{elements:{loader:{modifiers:null},spinner:{modifiers:new Set(["cycle","dot","none"])},"spinner-element":{modifiers:new Set(["1","2","3","neutral"])}},modifiers:null},"kol-table":{elements:{body:{modifiers:null},caption:{modifiers:null},cell:{modifiers:new Set(["actions","align-center","align-justify","align-left","align-right","ascending","body","descending","header","none","other","selection","states","sticky-left","sticky-right"])},"cell-actions":{modifiers:null},"cell-states":{modifiers:null},"focus-element":{modifiers:null},footer:{modifiers:null},head:{modifiers:null},"head-row":{modifiers:null},loader:{modifiers:new Set(["shown"])},row:{modifiers:new Set(["body","footer"])},"scroll-container":{modifiers:null},selection:{modifiers:new Set(["checked","indeterminate"])},"selection-icon":{modifiers:null},"selection-input":{modifiers:new Set(["checkbox","radio"])},"selection-input-tooltip":{modifiers:null},"selection-label":{modifiers:new Set(["disabled"])},settings:{modifiers:null},sort:{modifiers:null},"sort-button":{modifiers:null},"sort-order":{modifiers:null},spacer:{modifiers:new Set(["foot","head"])},"spacer-line":{modifiers:new Set(["foot","head"])},table:{modifiers:null}},modifiers:null},"kol-tabs":{elements:{"button-create":{modifiers:null},"button-group":{modifiers:null},content:{modifiers:null},tab:{modifiers:null},tablist:{modifiers:null}},modifiers:new Set(["align-bottom","align-left","align-right","align-top"])},"kol-textarea":{modifiers:new Set(["default","disabled","error","info","readonly","required","success","touched","warning"])},"kol-toolbar":{elements:{item:{modifiers:null}},modifiers:new Set(["orientation-horizontal","orientation-vertical"])},"kol-tree":{elements:{"treeview-navigation":{modifiers:null}},modifiers:null},"kol-tree-item":{elements:{children:{modifiers:null},link:{modifiers:new Set(["active","first-level"])},"link-inner":{modifiers:null},text:{modifiers:null},"toggle-button":{modifiers:null},"toggle-button-icon":{modifiers:null},"toggle-button-placeholder":{modifiers:null}},modifiers:null},"kol-image":{modifiers:null},"kol-popover":{elements:{arrow:{modifiers:new Set(["top","right","bottom","left"])}},modifiers:null},"kol-progress":{elements:{bar:{modifiers:null},"bar-background":{modifiers:null},"bar-border":{modifiers:null},"bar-label":{modifiers:null},"bar-progress":{modifiers:null},"bar-unit":{modifiers:null},"bar-value":{modifiers:null},cycle:{modifiers:null},"cycle-background":{modifiers:null},"cycle-border":{modifiers:null},"cycle-label":{modifiers:null},"cycle-progress":{modifiers:null},"cycle-text":{modifiers:null},"cycle-value":{modifiers:null},"cycle-whitespace":{modifiers:null}},modifiers:null},"kol-tooltip":{elements:{arrow:{modifiers:null},content:{modifiers:null},floating:{modifiers:null}},modifiers:null}};export{r as B,o as b}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as l,F as e}from"./index-D_P2XoAc.js";import{g as s}from"./Heading-Bj2Ma7Tr.js";import{t as a}from"./i18n-DtLKn3Xt.js";import"./common-OzsC_6kt.js";import{t as r}from"./props-from-config-Ci0dILpz.js";import{b as i}from"./bem-registry-CWN7_O1L.js";import{c as n}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-scm3PBuq.js";import{B as c}from"./component-Dt6efHXY.js";import{r as d}from"./component-C0zMsvYl.js";import{I as p}from"./component-C5QCCLLa.js";const m=i.forBlock("kol-alert")("icon"),f={error:{label:a("kol-error"),icon:"kolicon-alert-error"},info:{label:a("kol-info"),icon:"kolicon-alert-info"},warning:{label:a("kol-warning"),icon:"kolicon-alert-warning"},success:{label:a("kol-success"),icon:"kolicon-alert-success"},default:{label:a("kol-message"),icon:"kolicon-alert-info"}},k=({type:o="default"})=>{const s=f[o||"default"];return l(e,null,l("span",{class:"visually-hidden"},s.label),l(p,{class:m,label:"",icons:s.icon}))},u=i.forBlock("kol-alert"),b=u("closer"),C=u("content"),h=void 0,j=(e,i)=>{const{alert:p,class:m,closerAriaDescriptionId:f,handleCloserClick:j,hasCloser:v,headingId:g,label:y,level:B,refCloserButton:D,refCloserTooltip:I,type:L,variant:x}=e,A=o(e,["alert","class","closerAriaDescriptionId","handleCloserClick","hasCloser","headingId","label","level","refCloserButton","refCloserTooltip","type","variant"]),O=a("kol-close-alert"),w=s(null!=B?B:0);return l(t,Object.assign({block:"kol-alert",class:m,modifiers:{hasCloser:!0===v,[`type-${L}`]:!0,[`variant-${x}`]:!0},role:p?"alert":void 0},A),l(k,{type:L}),!!(null==y?void 0:y.length)&&l(w,{class:n("kol-headline",`kol-headline--${w}`,u("heading",{[`h${B}`]:!0}),"kol-headline--single"),id:g},d(y)),v&&l(c,{accessKey:"",ariaControls:"",ariaDescription:r(y),ariaDescriptionId:f,ariaExpanded:h,ariaHasPopup:"",ariaSelected:h,class:n(b,"kol-close-button"),customClass:"",disabled:!1,handleBlur:()=>{},handleClick:j,handleFocus:()=>{},handleMouseDown:()=>{},hideLabel:!0,icons:{left:{icon:"kolicon-cross"}},id:"",inline:!1,label:O,name:"",on:{},refButton:D,refTooltip:I,role:h,shortKey:"",tabIndex:h,tooltipAlign:"top",type:"button",variant:["normal"]}),l("div",{"aria-describedby":(null==y?void 0:y.length)?g:void 0,class:C},i))};export{j as A}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{n as r}from"./common-OzsC_6kt.js";import{c as t,b as n,u as o,n as e,i as s,w as a,o as i}from"./props-from-config-Ci0dILpz.js";import{i as f}from"./validators-BVM40IEr.js";import{c}from"./component-BKfXEtN0.js";import{h as p}from"./index-D_P2XoAc.js";const u=(r,t)=>{let n="";return Array.isArray(r)&&r.forEach((r=>{n+="kol-"+t+"--"+r+" "})),n},l=t("accessKey","",n),d=t("ariaControls","",n),m=t("ariaDescription","",n),y=t("ariaExpanded","",(function(r){return o(r,"aria-expanded")})),b=t("customClass","",n,(function(r){return""===r||f(r)})),g=t("hideLabel",!1,e),h=t("inline",!0,e),v=["tab","treeitem"],j=t("role","",(function(r){if(""===r)return"";if(s(r,v))return r;throw new Error(`Invalid role: expected one of ${v.join(", ")}, got ${JSON.stringify(r)}`)})),x=t("shortKey","",n),I=t("icons",{},(function(r){if(!r||"string"==typeof r&&""===r)return{};if("string"==typeof r&&/^[{[]/.test(r.trim()))return a(r);if("string"==typeof r)return n(r);if("object"==typeof r)return a(r);throw new Error("Invalid icons: "+typeof r)}),(function(r){return"string"==typeof r?r.length>0:"object"==typeof r&&null!==r})),w=t("tabIndex",0,i,void 0,{hints:(t,n)=>{"number"==typeof n&&n>0&&r(`Positive tabIndex values ("${n}") can disrupt the natural tab order. Use 0 for tabbable elements or rely on DOM order.`)}}),A=c("tooltipAlign","right"),E=t("variant",[],(function(r){return Array.isArray(r)?r:"string"==typeof r?r.split(" "):[]}),(function(r){return 0===r.length||r.every(f)})),C=({description:r,descriptionId:t})=>r?p("span",{class:"visually-hidden",id:t},r):null;export{C as A,l as a,d as b,m as c,x as d,A as e,y as f,b as g,g as h,h as i,u as j,j as l,I as s,w as t,E as v}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as s,F as n}from"./index-D_P2XoAc.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{b as o}from"./bem-registry-CWN7_O1L.js";import{B as r}from"./component-scm3PBuq.js";import{c as t,n as e,b as l,r as i}from"./props-from-config-Ci0dILpz.js";import"./common-OzsC_6kt.js";import{l as c}from"./label-BRosRgdX.js";const p=t("show",!1,e),m=["dot","cycle","none"],u=t("variant","dot",(s=>{const n=l(s);if(m.includes(n))return n;throw new Error(`Invalid spin variant: ${n}`)}),(()=>!0)),d={optional:[c,p,u]},f=o.forBlock("kol-spin"),b=f("loader"),j=["1","2","3","neutral"],v=o=>{const{show:t,label:e,variant:l}=i(d,o);return s(r,{block:"kol-spin"},t?s(n,null,s("span",{class:f("spinner",{[l]:!0})},function(n){switch(n){case"cycle":return s("span",{class:b});case"none":return s("slot",{name:"expert"});default:return j.map((n=>s("span",{class:f("spinner-element",{[n]:!0})})))}}(l)),s("span",{"aria-busy":"true",class:"visually-hidden",role:"alert"},e||a("kol-action-running"))):s("span",{"aria-busy":"false",class:"visually-hidden",role:"alert"},e||a("kol-action-done")))};export{v as S,p as a,d as s,u as v}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o}from"./index-D_P2XoAc.js";import{b as l}from"./bem-registry-CWN7_O1L.js";const s=l.forBlock("kol-click-button"),t=s(),e=s("label"),r=({label:l,handleClick:s,refButton:r})=>o("button",{class:t,ref:r,onClick:s},o("span",{class:e},l));export{r as C}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a}from"./tslib.es6-QNbPBOk5.js";import{h as e}from"./index-D_P2XoAc.js";import"./common-OzsC_6kt.js";import{c as o,i as s,u as i,a as t,b as r,r as n,t as l}from"./props-from-config-Ci0dILpz.js";import{a as d,b as c,c as p,f as m,g as u,h as b,i as f,l as h,d as v,s as x,t as j,e as C,v as y,A as B,j as g}from"./component-BvvE8aim.js";import{b as I}from"./bem-registry-CWN7_O1L.js";import{c as k}from"./clsx-COFh-Vc8.js";import{B as w}from"./component-scm3PBuq.js";import{S as D}from"./component-C0zMsvYl.js";import{T as E}from"./component-BKfXEtN0.js";import{d as K}from"./disabled-Cqhc40CU.js";import{i as O}from"./id-CIYvVaNr.js";import{l as P}from"./label-with-expert-slot-CicRes-W.js";import{n as F}from"./name-B2Yf3EpX.js";const L=["dialog","false","grid","listbox","menu","tree","true"],N=o("ariaHasPopup","",(function(a){if(""===a)return"";if(s(a,L))return a;throw new Error(`Invalid aria-haspopup value: expected one of ${L.join(", ")}, got ${JSON.stringify(a)}`)})),S=o("ariaSelected","",(function(a){return i(a,"aria-selected")})),T=t(),M=["button","reset","submit"],q=o("type","button",(function(a){const e=r(a);if(s(e,M))return e;throw new Error(`Invalid button type: ${e}`)}),(a=>M.includes(a))),z={required:[P],optional:[d,c,p,m,N,S,T,q,u,K,b,O,f,h,F,v,x,j,C,y]},A=I.forBlock("kol-button"),H=A("interactive-element"),X=A("text"),Y=A("tooltip"),$=o=>{const s=n(z,o),{accessKey:i,ariaControls:t,ariaDescription:r,ariaDescriptionId:d,ariaExpanded:c,ariaHasPopup:p,ariaSelected:m,class:u,customClass:b,disabled:f,handleBlur:h,handleClick:v,handleFocus:x,handleMouseDown:j,hideLabel:C,icons:y,id:I,inline:K,label:O,name:P,refButton:F,refTooltip:L,role:N,shortKey:S,tabIndex:T,type:M,variant:q}=s,A=a(s,["accessKey","ariaControls","ariaDescription","ariaDescriptionId","ariaExpanded","ariaHasPopup","ariaSelected","class","customClass","disabled","handleBlur","handleClick","handleFocus","handleMouseDown","hideLabel","icons","id","inline","label","name","refButton","refTooltip","role","shortKey","tabIndex","type","variant","on","tooltipAlign"]),$=i||S,_=l(O).length>0,V=r.trim().length>0;return e(w,Object.assign({block:"kol-button",class:k(u,{[g(q,"button")]:q.length>0,[b]:b.length>0}),modifiers:{disabled:f,"hide-label":C,inline:!0===K,standalone:!1===K}},A),e("button",{ref:F,accessKey:i||void 0,"aria-controls":t||void 0,"aria-describedby":V?d:void 0,"aria-expanded":c||void 0,"aria-haspopup":p||void 0,"aria-keyshortcuts":S||void 0,"aria-label":C&&_?l(O):void 0,"aria-selected":m||void 0,class:H,disabled:f,id:I||void 0,name:P||void 0,onBlur:h,onClick:v,onFocus:x,onMouseDown:j,role:N||void 0,tabIndex:T,type:M},e(D,{class:X,badgeText:$,icons:y,hideLabel:C,label:O},e("slot",{name:"expert",slot:"expert"}))),C&&_&&e("div",{class:Y},e(E,{badgeText:$,label:O,refFloating:L})),V&&e(B,{description:r,descriptionId:d}))};export{$ as B,S as a,z as b,T as c,q as d,N as e}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as o}from"./index-D_P2XoAc.js";import{t as a}from"./i18n-DtLKn3Xt.js";import{e}from"./common-OzsC_6kt.js";import{c as s,b as i,a as r,r as t,t as n}from"./props-from-config-Ci0dILpz.js";import{a as l,b as d,c,f as p,g as m,h as f,s as b,i as v,l as k,d as h,t as j,e as g,v as u,A as C,j as x}from"./component-BvvE8aim.js";import{b as y}from"./bem-registry-CWN7_O1L.js";import{c as _}from"./clsx-COFh-Vc8.js";import{p as L}from"./element-interaction-sGYdEpmv.js";import{B as w}from"./component-scm3PBuq.js";import{I}from"./component-C5QCCLLa.js";import{S as K}from"./component-C0zMsvYl.js";import{T as O}from"./component-BKfXEtN0.js";import{d as q}from"./disabled-Cqhc40CU.js";import{h as A}from"./href-JqLbNBsW.js";import{l as B}from"./label-with-expert-slot-CicRes-W.js";import{l as D}from"./link-target-FX94oqMo.js";const E=["date","location","page","step","time","true","false"],T=s("ariaCurrentValue","page",(function(o){const a=i(o);return E.includes(a)?a:"page"})),X=s("ariaOwns","",i),z=s("download",void 0,i),F=r(),M={required:[A],optional:[l,d,T,c,p,X,m,q,z,f,b,v,B,F,k,D,h,j,g,u]},N=y.forBlock("kol-link"),W=(s,i)=>{const{accessKey:r,ariaControls:l,ariaCurrent:d,ariaDescription:c,ariaDescriptionId:p,ariaExpanded:m,ariaOwns:f,class:b,customClass:v,disabled:k,download:h,handleAnchorClick:j,hideLabel:g,href:u,icons:y,inline:q,label:A,on:B,ref:D,refAnchor:E,refTooltip:T,role:X,shortKey:z,tabIndex:F,target:W,variant:$,expertSlot:P}=t(M,s),S=a("kol-open-link-in-tab"),V="string"==typeof W&&W.length>0&&"_self"!==W,Y={href:"string"==typeof u&&u.length>0?u:"javascript:void(0);",target:"string"==typeof W&&W.length>0?W:void 0,rel:V?"noopener":void 0,download:"string"==typeof h?h:void 0};!0===g&&""===n(A)&&e("[KolLink] An aria-label must be set when _hide-label is set.");const G=null==c?void 0:c.trim(),J=X||void 0;return o(w,{block:"kol-link",ref:D,class:_(b,{[v]:$.includes("custom")&&v.length>0,[x($,"link")]:$.length>0}),modifiers:{disabled:!0===k,"external-link":V,"hide-label":!0===g,inline:!0===q,standalone:!1===q}},o("a",Object.assign({ref:E},Y,{href:Y.href,accessKey:r||void 0,"aria-current":d||void 0,"aria-controls":l||void 0,"aria-describedby":G?p:void 0,"aria-disabled":k?"true":void 0,"aria-expanded":""===m?void 0:m,"aria-owns":f||void 0,"aria-label":g&&""!==n(A)?`${n(A)}${V?` (${S})`:""}`:void 0,"aria-keyshortcuts":z||void 0,class:N("interactive-element")},B,{onClick:j,onMouseDown:k?L:void 0,role:J,tabIndex:k?-1:F}),o(K,{class:"kol-link__text",badgeText:r||z,icons:y,hideLabel:g,label:P?"":A||u},i.length>0?i:o("slot",{name:"expert",slot:"expert"})),V&&o(I,{class:"kol-link__icon",label:g?"":S,icons:"kolicon-link-external","aria-hidden":g})),!0===g&&!P&&o("div",{class:"kol-link__tooltip"},o(O,{badgeText:r||z||"",label:"string"==typeof A?A:"string"==typeof u?u:"",refFloating:T})),G&&o(C,{description:G,descriptionId:p}))};export{W as L,T as a,F as b,X as c,z as d,M as l}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{t as o}from"./i18n-DtLKn3Xt.js";import{r as e}from"./resolve-props-B-67viId.js";import{h as s}from"./index-D_P2XoAc.js";import{K as r}from"./Heading-Bj2Ma7Tr.js";import{b as l}from"./bem-registry-CWN7_O1L.js";import{c as a}from"./clsx-COFh-Vc8.js";import{B as t}from"./component-Dt6efHXY.js";import{a as i,r as n}from"./props-from-config-Ci0dILpz.js";import{r as c}from"./component-C0zMsvYl.js";import"./common-OzsC_6kt.js";import{l as m}from"./level-CA1s1_Mf.js";import{h as p}from"./has-closer-B9NQY7BK.js";import{h as d}from"./href-JqLbNBsW.js";import{l as f}from"./label-lang-segment-2_GnxjFp.js";import{l as h}from"./link-target-FX94oqMo.js";const j=i(),u={required:[f],optional:[j,p,d,m,h]};function b(s){return e({_hideLabel:!0,_icons:{left:{icon:"kolicon-cross"}},_label:o("kol-close"),_tooltipAlign:"top"},s)}const g=l.forBlock("kol-card"),v=g("close-button"),B=g("content"),C=g("header"),_=g("link"),k=()=>{},I=({headingId:o,label:e,level:l})=>s(r,{class:C,id:o,level:l},c(e)),D=(o,e)=>{const{ariaDescriptionId:r,class:l,closeButtonProps:i,handleBlur:c,handleClose:m,handleFocus:p,hasCloser:d,headingId:f,href:h,label:j,level:b,refCloseButton:C,refCta:D,refTooltip:F,target:L}=n(u,o);return s("article",{"aria-labelledby":f,class:a(g(),l)},h.length>0?s("a",{class:_,href:h,target:L||void 0,onBlur:c,onFocus:p,ref:D},s(I,{headingId:f,label:j,level:b})):s(I,{headingId:f,label:j,level:b}),s("div",{class:B},e),d&&s("div",{class:a(v,"kol-close-button")},s(t,Object.assign({},i,{ariaDescriptionId:r,handleBlur:k,handleClick:m,handleFocus:k,handleMouseDown:k,refButton:C,refTooltip:F}))))};export{D as C,j as a,u as c,b as r}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as o}from"./tslib.es6-QNbPBOk5.js";import{h as s}from"./index-D_P2XoAc.js";import{c}from"./clsx-COFh-Vc8.js";import{g as r}from"./block-bem-BpQSY04L.js";const m=(m,t)=>{var{block:i,modifiers:e,class:a,component:l="div"}=m,n=o(m,["block","modifiers","class","component"]);const p=r(i);return s(l,Object.assign({class:c(p(e),a)},n),t)};export{m as B}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as o}from"./index-D_P2XoAc.js";import"./common-OzsC_6kt.js";import{s as l,b as i}from"./component-C0zMsvYl.js";import{a,g as s,b as r,i as t}from"./api-DhMNvXtN.js";import{b as n}from"./bem-registry-CWN7_O1L.js";import{a as d}from"./dev.utils-CwXr_J8N.js";import{B as b}from"./component-scm3PBuq.js";import{T as c}from"./component-BKfXEtN0.js";const p=n.forBlock("kol-field-control"),m=({hideLabel:e,label:o,renderNoTooltip:i})=>!i&&!l(o)&&!0===e,f=(n,f)=>{const{class:h,id:g,label:u,hint:N,hideLabel:j,labelAlign:y,infoPopover:v,accessKey:k,shortKey:B,tooltipAlign:O,disabled:P,msg:T,touched:_,required:K,readOnly:C,renderNoHint:A,renderNoTooltip:L,labelProps:q,refInput:x,refTooltip:X}=n,I=e(n,["class","id","label","hint","hideLabel","labelAlign","infoPopover","accessKey","shortKey","tooltipAlign","disabled","msg","touched","required","readOnly","renderNoHint","renderNoTooltip","labelProps","refInput","refTooltip"]),z=l(u),D=m({hideLabel:j,label:u,renderNoTooltip:L}),E=i(k,B),F=t(T,_),H=()=>o("div",{class:p("input"),ref:x},f),M=()=>D?o("div",{class:"kol-form-field__tooltip"},o(c,{badgeText:E||"",label:u,align:O,id:d(g,"label"),refFloating:X})):null,w=()=>o(r,Object.assign({},q,{id:g,baseClassName:"kol-field-control",class:j?"kol-field-control__label--visually-hidden":void 0,omitId:D,hasExpertSlot:z,label:u,accessKey:k,shortKey:B,infoPopover:v}));return o(b,Object.assign({block:"kol-field-control",modifiers:Object.assign(Object.assign({disabled:Boolean(P),required:Boolean(K),touched:Boolean(_),"hide-label":Boolean(j),"read-only":Boolean(C)},F?{[s(T)]:!0}:{}),{"label-align-left":"left"===y,"label-align-right":"right"===y}),class:h},I),"left"===y?[w(),H(),M()]:[H(),M(),w()],!A&&o(a,{baseClassName:"kol-field-control",id:g,hint:N}))};export{f as F,m as i}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{a as e}from"./tslib.es6-QNbPBOk5.js";import{h as s,F as a}from"./index-D_P2XoAc.js";import"./common-OzsC_6kt.js";import{i as o,g as i,c as l}from"./api-DhMNvXtN.js";import{c as r}from"./clsx-COFh-Vc8.js";import{a as t}from"./dev.utils-CwXr_J8N.js";import{g as d}from"./block-bem-BpQSY04L.js";const c=c=>{const{class:b,msg:n,required:m,disabled:u,touched:p,readonly:j,ariaDescribedBy:g,hideLabel:y,label:B,suggestions:h,value:f}=c,O=e(c,["class","msg","required","disabled","touched","readonly","ariaDescribedBy","hideLabel","label","suggestions","value"]),v=Object.assign(Object.assign({class:r(d("kol-input")(Object.assign({disabled:Boolean(u),required:Boolean(m),touched:Boolean(p),readonly:Boolean(j)},o(n,p)?{[i(n)]:!0}:{})),b),required:m,disabled:u,readonly:j,type:"text",list:h&&"string"==typeof O.id?t(O.id,"list"):void 0},l({ariaDescribedBy:g,hideLabel:y,label:B})),O);return s(a,null,s("input",Object.assign({},v,{value:f})),h)};export{c as I}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{X as o}from"./common-OzsC_6kt.js";import{n as s,c as t}from"./dev.utils-CwXr_J8N.js";import{c as r}from"./element-interaction-sGYdEpmv.js";import{d as a,K as e}from"./events-CRHxtwup.js";import{e as n,a as m,c as i,d as p}from"./component-Dt6efHXY.js";import{d as l}from"./disabled-Cqhc40CU.js";import{a as c,c as d,g as f,h as v,i as j,l as b,d as u,s as g,t as C,e as w,v as O}from"./component-BvvE8aim.js";import{d as h}from"./props-from-config-Ci0dILpz.js";import{l as B}from"./label-with-expert-slot-CicRes-W.js";import{p as I,a as _}from"./component-Drxdk3mb.js";import{B as x}from"./base-web-component-XgI4wUyN.js";import{r as D}from"./resolve-props-B-67viId.js";import{T as X}from"./behavior-B4IW5_Qt.js";import{i as Y}from"./id-CIYvVaNr.js";import{n as y}from"./name-B2Yf3EpX.js";const E={required:[B],optional:[c,d,n,m,i,p,f,l,v,Y,j,b,y,I,u,g,C,w,O]},N=n=>{var m;const i=new _(x.stateLess),c=new X(x.stateLess),d=r();let f,b;const u=h(E);delete u.tabIndex;const C=o=>{l.apply(o,(o=>{u.disabled=o}))};C(n.disabled),v.apply(n.hideLabel,(o=>{u.hideLabel=o})),g.apply(n.icons,(o=>{u.icons=o})),j.apply(!1,(o=>{u.inline=o})),w.apply("top",(o=>{u.tooltipAlign=o})),p.apply("button",(o=>{u.type=o})),B.apply(n.label,(o=>{u.label=o}));let Y=I.getDefaultValue();I.apply(n.popoverAlign,(o=>{Y=o})),u.popoverAlign=Y,i.componentWillLoad({align:Y}),O.apply(null!==(m=o("buttonVariantDefault",n.getFlagHost()))&&void 0!==m?m:"normal",(o=>{u.variant=o})),u.ariaDescriptionId=s(),u.popoverId=t("popover");const y=o=>{const s=n.getEventTarget?n.getEventTarget():b;s&&a(s,o)},N=o=>{n.setOpen("open"===o.newState)};u.handleClick=o=>{o.stopPropagation(),c.hideTooltip(),i.setShow(!n.getOpen()),y(e.click)},u.handleMouseDown=()=>y(e.mousedown),u.handleFocus=()=>y(e.focus),u.handleBlur=()=>y(e.blur),u.refButton=o=>{d(o),i.setTriggerElement(o)},u.refPopover=o=>{f=o,i.setPopoverElementRef(o)},u.refTooltip=c.setTooltipElementRef;const k=o=>{b=o},q=()=>{c.componentWillLoad({label:u.label,align:u.tooltipAlign})};return q(),{getFcProps:o=>(o&&(o=>{var s,t;const r=D(Object.assign(Object.assign({},o),{_on:void 0,_variant:null!==(s=o._variant)&&void 0!==s?s:"normal"}),n.getFlagHost());u.accessKey=r.accessKey,u.ariaDescription=r.ariaDescription,u.customClass=r.customClass,u.disabled=r.disabled,u.hideLabel=r.hideLabel,u.icons=r.icons,u.id=r.id,u.inline=r.inline,u.label=r.label,u.name=r.name,u.shortKey=r.shortKey,u.tabIndex=r.tabIndex,u.tooltipAlign=r.tooltipAlign,u.type=r.type,u.variant=r.variant,I.apply(null!==(t=o._popoverAlign)&&void 0!==t?t:"bottom",(o=>{u.popoverAlign=o,i.watchAlign(o)})),q()})(o),Object.assign(Object.assign({},u),{popoverOpen:n.getOpen(),ref:k})),hide:()=>i.setShow(!1),setDisabled:C,syncListeners:()=>{d.el&&c.syncListeners(void 0,d.el,!0),null==f||f.addEventListener("toggle",N)},destroy:()=>{c.destroy(),f&&(f.removeEventListener("toggle",N),f=void 0),i.destroy()}}};export{N as c}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{o}from"./ariaCurrentService-YoLNpD5S.js";import{s as r}from"./common-OzsC_6kt.js";import{n as t}from"./dev.utils-CwXr_J8N.js";import{c as e}from"./element-interaction-sGYdEpmv.js";import{d as s,K as n}from"./events-CRHxtwup.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import{T as l}from"./behavior-B4IW5_Qt.js";import{r as a}from"./resolve-props-CqTztQhV.js";const c=c=>{const p=new l(i.stateLess),m=e(),f=t();let d,u,v,j="",b=!1;const C=()=>"string"==typeof(null==d?void 0:d.href)?d.href:"",y=()=>{const o=null==d?void 0:d.label;return"string"==typeof o&&o.length>0?o:C()},g=o=>{const r=o===(null==d?void 0:d.href)?d.ariaCurrentValue:"";j!==r&&(j=r,b||c())},h=o=>{if(p.hideTooltip(),!0===(null==d?void 0:d.disabled))return void o.preventDefault();const t=C(),e=null==d?void 0:d.on;"function"==typeof(null==e?void 0:e.onClick)&&(r(o,m.el),e.onClick(o,t)),u&&s(u,n.click,t)},w=o=>{o&&(u=o)};return{getFcProps:(r,t)=>(d=a(r),v||(b=!0,v=o(g),b=!1),p.componentWillLoad({label:y(),align:d.tooltipAlign}),Object.assign(Object.assign(Object.assign({},d),t),{ariaCurrent:j,ariaDescriptionId:f,expertSlot:""===r._label,handleAnchorClick:h,ref:w,refAnchor:m,refTooltip:p.setTooltipElementRef})),syncListeners:()=>{m.el&&p.syncListeners(void 0,m.el,!0)},destroy:()=>{null==v||v(),v=void 0,p.destroy()}}};export{c}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as t}from"./index-D_P2XoAc.js";import{t as s}from"./i18n-DtLKn3Xt.js";import{p as e,S as i}from"./common-OzsC_6kt.js";import{c as o,C as a,a as n,r as l,t as r,d as p}from"./props-from-config-Ci0dILpz.js";import{b as u}from"./bem-registry-CWN7_O1L.js";import{n as c,c as g}from"./dev.utils-CwXr_J8N.js";import{B as h}from"./component-scm3PBuq.js";import{B as m}from"./component-Dt6efHXY.js";import{d,K as b}from"./events-CRHxtwup.js";import{r as v,a as f}from"./unique-nav-labels-h2KOu5Qy.js";import{g as C,e as y}from"./component-BvvE8aim.js";import{l as z}from"./label-BRosRgdX.js";import{c as S}from"./item-e4SzwxHe.js";import{c as j}from"./item-pool-BOxAYePG.js";import{c as k}from"./element-interaction-sGYdEpmv.js";import{B as O,s as x}from"./base-web-component-ug9DZUOx.js";const _=o("boundaryCount",1,(t=>Math.max(0,t))),B=o("page",0,a),P=o("pageSize",1,a),w=/^\[object Object\]$/,A=o("pageSizeOptions",[],(function(t){if(""===t||"string"==typeof t&&w.test(t))throw new Error("Unreflected page size options");const s="string"==typeof t?e(t):t;if(Array.isArray(s)&&s.every((t=>"number"==typeof t)))return s.map((t=>({label:`${t}`,value:t})));throw new Error("Invalid page size options")})),$=n(),D=["first","last","next","previous"],F=t=>({first:t,last:t,next:t,previous:t}),E=o("hasButtons",F(!0),(function t(s){if("boolean"==typeof s)return F(s);if("object"==typeof s&&null!==s){const t={};return D.forEach((e=>{const i=s[e];"boolean"==typeof i&&(t[e]=i)})),t}if("string"==typeof s){const i=e(s);return"object"==typeof i&&null!==i?t(i):F(!1)}throw new Error("Invalid pagination buttons")})),H=o("max",0,a),I=o("siblingCount",1,(t=>Math.max(0,t))),K={required:[B,$,H],optional:[_,C,z,A,P,E,I,y]},L=(t,s=1)=>Math.ceil(t/s),M=(t,s)=>{var e,i;return s.length>0?null!==(i=null===(e=s.find((s=>s.value===t)))||void 0===e?void 0:e.value)&&void 0!==i?i:s[0].value:t},X=(t,s,e,i)=>{const o=[];let a=!1;for(let n=1;n<=s;n++)n<=e||n>s-e||n>=t-i&&n<=t+i?(a=!0,o.push({page:n,selected:n===t})):a?(a=!1,o.push("separator")):o.push(null);return o},q=u.forBlock("kol-pagination"),R={left:"kolicon-chevron-double-left"},T={left:"kolicon-chevron-left"},Y={right:"kolicon-chevron-right"},G={right:"kolicon-chevron-double-right"},N=(U=navigator.language||"de-DE").includes("-")?U:`${U}-${U.toUpperCase()}`;var U;const J=new Intl.NumberFormat(N,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),Q=e=>{const{boundaryCount:i,customClass:o,getButtonFcProps:a,handlePageClick:n,hasButtons:p,label:u,max:g,navigationCallbacks:h,page:d,pageSize:b,pageSizeOptions:v,renderPageSizeSelect:f,siblingCount:C,tooltipAlign:y}=l(K,e),z=L(g,b),{start:S,end:j}=((t,s,e)=>{const i=t*s;return{start:Math.max(0,(t-1)*s+1),end:e<i?e:i}})(d,b,g),k=(s,e,i,n)=>t("li",null,t(m,Object.assign({},a(`navigation-${s}`,{_customClass:o,_disabled:n,_icons:e,_hideLabel:!0,_label:i,_on:h[s],_tooltipAlign:y},{class:q("button",{[s]:!0})}))));return[t("span",{role:"status","aria-live":"polite",class:q("entries")},s("kol-table-visible-range",{placeholders:{start:J.format(S),end:J.format(j),total:J.format(g)}})),t("nav",{class:q("navigation"),"aria-label":r(u)},t("ul",{class:q("navigation-list")},p.first&&k("first",R,s("kol-page-first"),d<=1),p.previous&&k("previous",T,s("kol-page-back"),d<=1),X(d,z,i,C).map((e=>null===e?null:"separator"===e?t("li",{key:c()},t("span",{class:q("separator"),"aria-hidden":"true"})):((e,i)=>{const l=J.format(e),r=`${s("kol-page")} ${l}`;return t("li",{key:c()},t(m,Object.assign({},i?a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l},{"aria-current":"page",class:`${q("button",{selected:!0})} selected`}):a(`page-${e}`,{_ariaDescription:r,_customClass:o,_label:l,_on:{onClick:t=>n(t,e)}},{class:q("button",{numbers:!0})}))))})(e.page,e.selected))),p.next&&k("next",Y,s("kol-page-next"),z<=d),p.last&&k("last",G,s("kol-page-last"),z<=d))),(null==v?void 0:v.length)>0&&t("div",{class:"page-size"},t("div",{class:q("page-size-select")},f({label:s("kol-entries-per-site"),options:v,value:b})))]},W=s=>t(h,{block:"kol-pagination"},t(Q,Object.assign({},s)));class Z extends O{constructor(t,s){super(),this.getHost=t,this.requestRender=s,this._disabled=!1,this._multiple=!1,this.ctaRef=k(),this.id=g("select"),this.loaded=!1,this.focused=!1,this.touched=!1,this.propsConfig=x,this.initFormAssociation("select")}get host(){var t;return null===(t=this.getHost)||void 0===t?void 0:t.call(this)}get inputHasFocus(){return this.focused}set inputHasFocus(t){t!==this.focused&&(this.focused=t,this.requestRender())}get _touched(){return this.touched}set _touched(t){t!==this.touched&&(this.touched=!0===t,this.applyTouched(t),this.requestRender())}get _value(){return this.value}set _value(t){t!==this.value&&(this.value=t,this.applyValue(t),this.requestRender())}getAccessKeyProp(){}getShortKeyProp(){}render(t){return this.loaded?this.update(t):this.load(t),this.renderSelectField()}sync(){this.syncFormField()}destroy(){this.destroyFormField()}load(t){this.passed=t,this._on=t.on,this.value=t.value,this.applyAriaDetails(void 0),this.applyName(void 0),this.applySyncValueBySelector(void 0),this.applyTouched(!1),this.applyAccessKey(void 0),this.applyMsg(void 0),this.applyDisabled(!1),this.applyHideMsg(!1),this.applyHideLabel(!1),this.applyHint(""),this.applyInfoPopover(void 0),this.applyLabel(t.label),this.applyShortKey(void 0),this.applyOn(t.on),this.applyTooltipAlign("top"),this.applyVariant(void 0),this.applyTabIndex(void 0),this.applyIcons(void 0),this.applyOptions(t.options),this.applyMultiple(!1),this.applyRequired(!1),this.applyRows(void 0),this.applyValue(t.value),this.loaded=!0}update(t){const s=this.passed;this.passed=t,t.label!==s.label&&this.applyLabel(t.label),t.options!==s.options&&this.applyOptions(t.options),t.on!==s.on&&(this._on=t.on,this.applyOn(t.on)),t.value!==s.value&&t.value!==this.value&&(this.value=t.value,this.applyValue(t.value))}}const V=["boundaryCount","customClass","hasButtons","on","page","pageSize","pageSizeOptions","siblingCount","tooltipAlign","max","label"],tt=t=>{var e;const o=null!==(e=t.store)&&void 0!==e?e:(()=>{const t=p(K);return{get:s=>t[s],set:(s,e)=>{t[s]=e}}})(),a=s("kol-pagination"),n=j((()=>S(t.getEventTarget)),(t=>t.syncListeners()),(t=>t.destroy())),l=(t,s,e)=>n.get(t).getFcProps(s,e),r=j((()=>new Z(t.getEventTarget,t.requestRender)),(t=>t.sync()),(t=>t.destroy()));let u=1,c={};o.set("label",a);const g=(s,e)=>{setTimeout((()=>{var i,a;null===(a=(i=o.get("on")).onChangePage)||void 0===a||a.call(i,s,e);const n=t.getEventTarget();n&&d(n,b.changePage,e)}))},h=(t,s,e)=>{const a=((t,s,e)=>{if(e>0){const i=L(e,s);if(i>0){if(t>i)return i;if(t<1)return 1}}})(t,s,e);void 0!==a&&(o.set("page",a),g(i,a))},m=t=>{null!=t&&P.apply(t,(t=>{const s=M(t,o.get("pageSizeOptions"));o.set("pageSize",s),h(o.get("page"),s,o.get("max"))}))},k=(t,s)=>{s||v(o.get("label")),z.apply(null!=t?t:a,(t=>o.set("label",t))),f(o.get("label"))},O=(s,e)=>{var i,a;null===(a=(i=o.get("on")).onClick)||void 0===a||a.call(i,s,e);const n=t.getEventTarget();n&&d(n,b.click,e),g(s,e)},x=(s,e)=>{const i=parseInt(e);i>0&&u!==i&&(m(i),u=i,t.requestRender(),setTimeout((()=>{var e,i;const a=u;null===(i=(e=o.get("on")).onChangePageSize)||void 0===i||i.call(e,s,a);const n=t.getEventTarget();n&&d(n,b.changePageSize,a)})))},w={onChange:x},D=t=>r.get("page-size").render(Object.assign(Object.assign({},t),{on:w})),F={first:{onClick:t=>O(t,1)},last:{onClick:t=>O(t,L(o.get("max"),o.get("pageSize")))},next:{onClick:t=>O(t,o.get("page")+1)},previous:{onClick:t=>O(t,o.get("page")-1)}},X={applyBoundaryCount:t=>_.apply(t,(t=>o.set("boundaryCount",t))),applyCustomClass:t=>C.apply(t,(t=>o.set("customClass",t))),applyHasButtons:t=>E.apply(t,(t=>o.set("hasButtons",Object.assign(Object.assign({},o.get("hasButtons")),t)))),applyLabel:t=>k(t,!1),applyMax:t=>{null!=t&&H.apply(t,(t=>{o.set("max",t),h(o.get("page"),o.get("pageSize"),t)}))},applyOn:t=>$.apply(t,(t=>o.set("on",t))),applyPage:t=>{null!=t&&B.apply(t,(t=>{o.set("page",t),h(t,o.get("pageSize"),o.get("max"))}))},applyPageSize:t=>{m(t),u=t},applyPageSizeOptions:t=>A.apply(t,(t=>{let s;o.set("pageSizeOptions",t),t.length>0&&(s=M(o.get("pageSize"),t),o.set("pageSize",s)),h(o.get("page"),s,o.get("max"))})),applySiblingCount:t=>I.apply(t,(t=>o.set("siblingCount",t))),applyTooltipAlign:t=>y.apply(null!=t?t:"top",(t=>o.set("tooltipAlign",t))),load:t=>{c=Object.assign({},t),X.applyBoundaryCount(t.boundaryCount),X.applyCustomClass(t.customClass),X.applyHasButtons(t.hasButtons),k(t.label,!0),X.applyOn(t.on),X.applyPage(t.page),X.applyPageSize(t.pageSize),X.applyPageSizeOptions(t.pageSizeOptions),X.applySiblingCount(t.siblingCount),X.applyTooltipAlign(t.tooltipAlign),X.applyMax(t.max),X.applyPage(t.page)},update:t=>{for(const s of V)t[s]!==c[s]&&(c=Object.assign(Object.assign({},c),{[s]:t[s]}),"pageSize"===s&&t.pageSize===u||q[s](t[s]))},getFcProps:()=>(n.beginRender(),r.beginRender(),{boundaryCount:o.get("boundaryCount"),customClass:o.get("customClass"),getButtonFcProps:l,handlePageClick:O,handlePageSizeChange:x,hasButtons:o.get("hasButtons"),label:o.get("label"),max:o.get("max"),navigationCallbacks:F,on:o.get("on"),page:o.get("page"),pageSize:o.get("pageSize"),pageSizeOptions:o.get("pageSizeOptions"),renderPageSizeSelect:D,siblingCount:o.get("siblingCount"),tooltipAlign:o.get("tooltipAlign")}),sync:()=>{n.endRender(),r.endRender()},destroy:()=>{v(o.get("label")),n.destroy(),r.destroy()}},q={boundaryCount:X.applyBoundaryCount,customClass:X.applyCustomClass,hasButtons:X.applyHasButtons,label:X.applyLabel,max:X.applyMax,on:X.applyOn,page:X.applyPage,pageSize:X.applyPageSize,pageSizeOptions:X.applyPageSizeOptions,siblingCount:X.applySiblingCount,tooltipAlign:X.applyTooltipAlign};return X};export{W as P,tt as c,K as p}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{p as o,a as e}from"./controller-Cb-96wE-.js";import{s as t}from"./common-OzsC_6kt.js";import{n as s}from"./dev.utils-CwXr_J8N.js";import{c as r}from"./element-interaction-sGYdEpmv.js";import{d as l,K as n}from"./events-CRHxtwup.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import{T as a}from"./behavior-B4IW5_Qt.js";import{r as m}from"./resolve-props-B-67viId.js";const d=d=>{const c=new a(i.stateLess),p=r(),v=s();let u,f,j;const b=(o,e)=>{j&&l(j,o,e)},w=s=>{if(s.stopPropagation(),c.hideTooltip(),"submit"===(null==u?void 0:u.type))o({form:j});else if("reset"===(null==u?void 0:u.type))e({form:j});else{const o=null==u?void 0:u.on.onClick;"function"==typeof o&&(t(s,p.el),o(s,f))}b(n.click,f)},g=o=>{var e,t;null===(t=null==u?void 0:(e=u.on).onMouseDown)||void 0===t||t.call(e,o),b(n.mousedown)},h=o=>{var e,t;null===(t=null==u?void 0:(e=u.on).onFocus)||void 0===t||t.call(e,o),b(n.focus)},B=o=>{var e,t;null===(t=null==u?void 0:(e=u.on).onBlur)||void 0===t||t.call(e,o),b(n.blur)},C=o=>{o&&(j=o)};return{getFcProps:(o,e)=>(u=m(o,d()),f=o._value,c.componentWillLoad({label:u.label,align:u.tooltipAlign}),Object.assign(Object.assign(Object.assign({},u),e),{ariaDescriptionId:v,handleBlur:B,handleClick:w,handleFocus:h,handleMouseDown:g,ref:C,refButton:p,refTooltip:c.setTooltipElementRef})),getElement:()=>p.el,getRootElement:()=>j,syncListeners:()=>{p.el&&c.syncListeners(void 0,p.el,!0)},destroy:()=>{c.destroy()}}};export{d as c}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{r as t,h as s,H as e}from"./index-D_P2XoAc.js";import{_ as o}from"./tslib.es6-QNbPBOk5.js";import{B as r}from"./base-web-component-XgI4wUyN.js";import"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{l as i}from"./label-BRosRgdX.js";import{C as a}from"./component-Db9HadXA.js";import{d as l,c as m}from"./element-interaction-sGYdEpmv.js";import"./validators-BVM40IEr.js";import"./label-hints-Jn18RUT-.js";import"./bem-registry-CWN7_O1L.js";import"./element-focus-BIRmGg5W.js";const n={required:[i]},c=class extends r{constructor(s){super(),t(this,s),this.buttonRef=m(),this.propsConfig=n,this.handleClick=()=>{console.log(this,"button clicked")}}watchLabel(t){i.apply(t,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}focus(t){return Promise.resolve()}componentWillLoad(){i.apply(this._label,(t=>this.setRenderProp("label",t)),this.isRequired("label"))}render(){return s(e,{key:"68662016b5d2179edaae6a9e66b3e72c5f2fd348"},s(a,{key:"57077649088fd0de8425ab61f4923d317a15a7f5",label:this.getRenderProp("label"),refButton:this.buttonRef,handleClick:this.handleClick}))}static get watchers(){return{_label:[{watchLabel:0}]}}};o([l("buttonRef")],c.prototype,"focus",null);export{c as kol_click_button}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{h as s,r as t,c as e,H as o}from"./index-D_P2XoAc.js";import{_ as n}from"./tslib.es6-QNbPBOk5.js";import{B as i}from"./base-web-component-XgI4wUyN.js";import{L as a}from"./common-OzsC_6kt.js";import"./props-from-config-Ci0dILpz.js";import{n as r}from"./name-B2Yf3EpX.js";import{b as c}from"./bem-registry-CWN7_O1L.js";import{C as d}from"./component-Db9HadXA.js";import{d as h,c as l}from"./element-interaction-sGYdEpmv.js";import"./element-focus-BIRmGg5W.js";const m={required:[r]},u=c.forBlock("kol-skeleton"),p=u("actions"),b=u("container"),f=u("counter"),v=u("name"),k=t=>{const{count:e,label:o,name:n,show:i,handleClick:a,refButton:r}=t,c=!(!i||!(null==n?void 0:n.trim())),h=u({"has-name":c,"is-hidden":!i});return s("div",{class:h},s("div",{class:b},c&&s("span",{class:v},n),s("div",{class:f},"Count: ",e)),s("div",{class:p},s(d,{label:o,handleClick:a,refButton:r})))},w=class extends i{constructor(s){super(),t(this,s),this.loaded=e(this,"loaded"),this.rendered=e(this,"rendered"),this.count=0,this.label="Label",this.show=!0,this.buttonRef=l(),this.propsConfig=m,this.handleClick=()=>{var s;a.debug("Button clicked, count should be increased"),this.setState("count",(null!==(s=this.getState("count"))&&void 0!==s?s:0)+1)}}watchName(s){r.apply(s,(s=>this.setRenderProp("name",s)))}focus(s){return Promise.resolve()}async toggle(){var s;return this.setState("show",!(null!==(s=this.getState("show"))&&void 0!==s&&s)),Promise.resolve()}componentWillLoad(){r.apply(this._name,(s=>this.setRenderProp("name",s))),this.intervalId=setInterval((()=>{var s;this.loaded.emit(null!==(s=this.getState("count"))&&void 0!==s?s:0)}),2e3)}componentDidLoad(){requestAnimationFrame((()=>{this.rendered.emit()}))}disconnectedCallback(){this.intervalId&&(clearInterval(this.intervalId),this.intervalId=void 0)}handleKeyDown(s){"Enter"!==s.key&&" "!==s.key||(a.debug("button pressed"),this.handleClick())}onKeydown(s){"Escape"===s.key&&(a.debug("Show should be toggled"),this.toggle())}render(){return s(o,{key:"2271ed7e088c9b6a22a993bdc0b1404cd732b7e8"},s(k,{key:"011fa40defd6913b8156dd4eca6a65cf551d233a",count:this.count,label:this.label,name:this.getRenderProp("name"),handleClick:this.handleClick,onLoaded:this.loaded,onRendered:this.rendered,show:this.show,refButton:this.buttonRef}))}static get watchers(){return{_name:[{watchName:0}]}}};n([h("buttonRef")],w.prototype,"focus",null);export{w as kol_skeleton}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{X as a}from"./common-OzsC_6kt.js";import{a as o,b as s,c as i,f as t,g as r,h as n,i as l,l as e,d as m,s as d,e as p,t as c,v as f}from"./component-BvvE8aim.js";import{b as u,a as v,c as b,d as j}from"./component-Dt6efHXY.js";import{d as C}from"./disabled-Cqhc40CU.js";import{i as h}from"./id-CIYvVaNr.js";import{d as x}from"./props-from-config-Ci0dILpz.js";import{l as y}from"./label-with-expert-slot-CicRes-W.js";import{n as g}from"./name-B2Yf3EpX.js";function D(D,E){var I,Y,z,B,K,L,V;const X=x(u),k=a=>o=>{X[a]=o};return y.apply(D._label,k("label")),o.apply(D._accessKey,k("accessKey")),s.apply(D._ariaControls,k("ariaControls")),i.apply(D._ariaDescription,k("ariaDescription")),t.apply(D._ariaExpanded,k("ariaExpanded")),v.apply(D._ariaSelected,k("ariaSelected")),b.apply(D._on,k("on")),j.apply(null!==(I=D._type)&&void 0!==I?I:"button",k("type")),r.apply(D._customClass,k("customClass")),C.apply(null!==(Y=D._disabled)&&void 0!==Y&&Y,k("disabled")),n.apply(null!==(z=D._hideLabel)&&void 0!==z&&z,k("hideLabel")),h.apply(D._id,k("id")),l.apply(null!==(B=D._inline)&&void 0!==B&&B,k("inline")),e.apply(D._role,k("role")),g.apply(D._name,k("name")),m.apply(D._shortKey,k("shortKey")),d.apply(D._icons,k("icons")),p.apply(null!==(K=D._tooltipAlign)&&void 0!==K?K:"top",k("tooltipAlign")),"number"==typeof D._tabIndex?c.apply(D._tabIndex,k("tabIndex")):X.tabIndex=void 0,f.apply(null!==(V=null!==(L=D._variant)&&void 0!==L?L:a("buttonVariantDefault",E))&&void 0!==V?V:"normal",k("variant")),X}export{D as r}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{v as a}from"./access-and-short-key-ijzCZfHm.js";import"./common-OzsC_6kt.js";import{a as s,b as o,c as r,f as i,g as t,h as e,s as n,i as l,l as m,d,e as p,v as c,t as f}from"./component-BvvE8aim.js";import{l as v,a as b,c as h,d as j,b as u}from"./component-Ua7-J4C-.js";import{d as C}from"./disabled-Cqhc40CU.js";import{h as g}from"./href-JqLbNBsW.js";import{d as x}from"./props-from-config-Ci0dILpz.js";import{l as y}from"./label-with-expert-slot-CicRes-W.js";import{l as k}from"./link-target-FX94oqMo.js";function q(q){var w,z,L,B;const E=x(v),I=a=>s=>{E[a]=s};return g.apply(q._href,I("href")),s.apply(q._accessKey,I("accessKey")),o.apply(q._ariaControls,I("ariaControls")),b.apply(q._ariaCurrentValue,I("ariaCurrentValue")),r.apply(q._ariaDescription,I("ariaDescription")),i.apply(q._ariaExpanded,I("ariaExpanded")),h.apply(q._ariaOwns,I("ariaOwns")),t.apply(q._customClass,I("customClass")),C.apply(null!==(w=q._disabled)&&void 0!==w&&w,I("disabled")),j.apply(q._download,I("download")),e.apply(null!==(z=q._hideLabel)&&void 0!==z&&z,I("hideLabel")),n.apply(q._icons,I("icons")),l.apply(null===(L=q._inline)||void 0===L||L,I("inline")),y.apply(q._label,I("label")),u.apply(q._on,I("on")),m.apply(q._role,I("role")),d.apply(q._shortKey,I("shortKey")),k.apply(q._target,I("target")),p.apply(null!==(B=q._tooltipAlign)&&void 0!==B?B:"right",I("tooltipAlign")),c.apply(q._variant,I("variant")),"number"==typeof q._tabIndex?f.apply(q._tabIndex,I("tabIndex")):E.tabIndex=void 0,a(q._accessKey,q._shortKey),E}export{q as r}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import{c as s,b as o}from"./props-from-config-Ci0dILpz.js";import{a as t}from"./tslib.es6-QNbPBOk5.js";import{h as i}from"./index-D_P2XoAc.js";import{a as r}from"./dev.utils-CwXr_J8N.js";const a=s("autoComplete","off",o,(s=>s.length>0)),e=s=>{var{id:o,suggestions:a}=s,e=t(s,["id","suggestions"]);return a?i("datalist",Object.assign({id:r(o,"list")},e),a.map((s=>i("option",{value:s})))):null};export{e as S,a}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* KoliBri - The accessible HTML-Standard
|
|
3
|
-
*/
|
|
4
|
-
import"./common-OzsC_6kt.js";import{l as e}from"./level-CA1s1_Mf.js";import{a as o}from"./props-from-config-Ci0dILpz.js";import{d as s}from"./disabled-Cqhc40CU.js";import{l as n}from"./label-lang-segment-2_GnxjFp.js";import{o as i}from"./open-DRRv1KFK.js";import{h as t}from"./index-D_P2XoAc.js";import{K as a}from"./Heading-Bj2Ma7Tr.js";import{c as r}from"./clsx-COFh-Vc8.js";import{p as l}from"./element-interaction-sGYdEpmv.js";import{g as d}from"./block-bem-BpQSY04L.js";import{S as m}from"./component-C0zMsvYl.js";import{d as c,K as p}from"./events-CRHxtwup.js";const u=o(),f={optional:[u,s,e,i],required:[n]},v=({block:e,contentClass:o,controlId:s,detailsOpen:n,disabled:i,expanded:c,handleToggle:p,headingId:u,icons:f,label:v,level:b,refHeadingButton:j,transitionMs:g},C)=>{const x=d(e);return t("details",{class:x({disabled:!0===i,open:!0===c}),open:!0===n,style:{"--collapsible-transition-duration":`${g}ms`}},t("summary",{"aria-controls":s,"aria-disabled":!0===i?"true":void 0,class:x("heading"),id:u,onClick:p,onMouseDown:!0===i?l:void 0,ref:j,tabIndex:!0===i?-1:void 0},t(a,{level:null!=b?b:0},t(m,{icons:f,label:v}))),t("div",{class:x("wrapper")},t("div",{class:x("wrapper-animation")},t("div",{"aria-hidden":!1===c?"true":void 0,"aria-labelledby":u,class:r(x("content"),o),id:s,role:"region"},C))))},b=300;function j({getTransitionMs:e,setDetailsOpen:o,setExpanded:s}){let n,i;const t=()=>{null==n||n(),n=void 0,clearTimeout(i),i=void 0};return{syncOpen(a,r){if(t(),a)return o(!0),void(r?n=function(e){if("function"==typeof requestAnimationFrame){const o=requestAnimationFrame(e);return()=>cancelAnimationFrame(o)}const o=setTimeout(e,0);return()=>clearTimeout(o)}((()=>s(!0))):s(!0));s(!1),r?i=setTimeout((()=>o(!1)),e()):o(!1)},dispose:t}}function g({getHost:e,getOn:o,isDisabled:s,isOpen:n,setOpen:i}){return t=>{if(t.preventDefault(),s())return;const a=!n();i(a),setTimeout((()=>{var s,n;const i=e();i&&(c(i,p.click,a),c(i,p.toggle,a));const r=o();null===(s=r.onClick)||void 0===s||s.call(r,t,a),null===(n=r.onToggle)||void 0===n||n.call(r,t,a)}),25)}}export{v as C,b as D,g as a,f as b,j as c,u as d}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { BaseWebComponent } from '../../internal/functional-components/base-web-component';
|
|
3
|
-
import type { ClickButtonApi } from '../../internal/functional-components/click-button/api';
|
|
4
|
-
import type { PropsConfigShape, WebComponentInterface } from '../../internal/functional-components/generic-types';
|
|
5
|
-
import type { KolFocusOptions, LabelPropType } from '../../schema';
|
|
6
|
-
export declare class KolClickButton extends BaseWebComponent<ClickButtonApi> implements WebComponentInterface<ClickButtonApi> {
|
|
7
|
-
private readonly buttonRef;
|
|
8
|
-
protected readonly propsConfig: PropsConfigShape;
|
|
9
|
-
_label: LabelPropType;
|
|
10
|
-
watchLabel(value?: LabelPropType): void;
|
|
11
|
-
focus(options?: KolFocusOptions): Promise<void>;
|
|
12
|
-
componentWillLoad(): void;
|
|
13
|
-
handleClick: () => void;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { EventEmitter, JSX } from '../../stencil-public-runtime';
|
|
2
|
-
import { BaseWebComponent } from '../../internal/functional-components/base-web-component';
|
|
3
|
-
import type { PropsConfigShape, WebComponentInterface } from '../../internal/functional-components/generic-types';
|
|
4
|
-
import type { SkeletonApi } from '../../internal/functional-components/skeleton/api';
|
|
5
|
-
import { type KolFocusOptions, type NamePropType } from '../../schema';
|
|
6
|
-
export declare class KolSkeleton extends BaseWebComponent<SkeletonApi> implements WebComponentInterface<SkeletonApi> {
|
|
7
|
-
count: number;
|
|
8
|
-
label: string;
|
|
9
|
-
show: boolean;
|
|
10
|
-
private readonly buttonRef;
|
|
11
|
-
private intervalId?;
|
|
12
|
-
protected readonly propsConfig: PropsConfigShape;
|
|
13
|
-
_name: NamePropType;
|
|
14
|
-
watchName(value?: NamePropType): void;
|
|
15
|
-
loaded: EventEmitter<number>;
|
|
16
|
-
rendered: EventEmitter<void>;
|
|
17
|
-
focus(options?: KolFocusOptions): Promise<void>;
|
|
18
|
-
toggle(): Promise<void>;
|
|
19
|
-
componentWillLoad(): void;
|
|
20
|
-
componentDidLoad(): void;
|
|
21
|
-
disconnectedCallback(): void;
|
|
22
|
-
handleKeyDown(event: KeyboardEvent): void;
|
|
23
|
-
onKeydown(event: KeyboardEvent): void;
|
|
24
|
-
handleClick: () => void;
|
|
25
|
-
render(): JSX.Element;
|
|
26
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ApiFromConfig } from '../generic-types';
|
|
2
|
-
export declare const clickButtonPropsConfig: {
|
|
3
|
-
readonly required: readonly [import("../../props").PropDefinition<string, import("../../props").LabelProp>];
|
|
4
|
-
};
|
|
5
|
-
export type ClickButtonApi = ApiFromConfig<typeof clickButtonPropsConfig, {
|
|
6
|
-
Callbacks: {
|
|
7
|
-
click: () => void;
|
|
8
|
-
};
|
|
9
|
-
Methods: {
|
|
10
|
-
focus: () => void;
|
|
11
|
-
};
|
|
12
|
-
Refs: {
|
|
13
|
-
button: HTMLButtonElement;
|
|
14
|
-
};
|
|
15
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { FunctionalComponent as FC } from '../../../stencil-public-runtime';
|
|
2
|
-
import type { FunctionalComponentProps } from '../generic-types';
|
|
3
|
-
import type { ClickButtonApi } from './api';
|
|
4
|
-
export declare const ClickButtonFC: FC<FunctionalComponentProps<ClickButtonApi>>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { KolFocusOptions } from '../../../schema';
|
|
2
|
-
import type { ApiFromConfig } from '../generic-types';
|
|
3
|
-
export declare const skeletonPropsConfig: {
|
|
4
|
-
readonly required: readonly [import("../../props").PropDefinitionWithDefault<string, import("../../props").NameProp>];
|
|
5
|
-
};
|
|
6
|
-
export type SkeletonApi = ApiFromConfig<typeof skeletonPropsConfig, {
|
|
7
|
-
Callbacks: {
|
|
8
|
-
click: () => void;
|
|
9
|
-
};
|
|
10
|
-
Emitters: {
|
|
11
|
-
loaded: number;
|
|
12
|
-
rendered: void;
|
|
13
|
-
};
|
|
14
|
-
Listeners: {
|
|
15
|
-
keydown: KeyboardEvent;
|
|
16
|
-
};
|
|
17
|
-
Methods: {
|
|
18
|
-
focus: (options?: KolFocusOptions) => void;
|
|
19
|
-
toggle: () => void;
|
|
20
|
-
};
|
|
21
|
-
Refs: {
|
|
22
|
-
button: HTMLButtonElement;
|
|
23
|
-
};
|
|
24
|
-
States: {
|
|
25
|
-
count: number;
|
|
26
|
-
label: string;
|
|
27
|
-
show: boolean;
|
|
28
|
-
};
|
|
29
|
-
}>;
|
package/doc/skeleton.md
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# kol-skeleton
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<!-- Auto Generated Below -->
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
## Properties
|
|
9
|
-
|
|
10
|
-
| Property | Attribute | Description | Type | Default |
|
|
11
|
-
| -------------------- | --------- | ---------------------------------------- | -------- | ----------- |
|
|
12
|
-
| `_name` _(required)_ | `_name` | Sets the name of the skeleton component. | `string` | `undefined` |
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Events
|
|
16
|
-
|
|
17
|
-
| Event | Description | Type |
|
|
18
|
-
| ---------- | --------------------------------------------------------------- | --------------------- |
|
|
19
|
-
| `loaded` | Emitted when the skeleton has finished loading. | `CustomEvent<number>` |
|
|
20
|
-
| `rendered` | Emitted when the skeleton has been rendered for the first time. | `CustomEvent<void>` |
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
## Methods
|
|
24
|
-
|
|
25
|
-
### `focus(options?: KolFocusOptions) => Promise<void>`
|
|
26
|
-
|
|
27
|
-
Focuses the interactive element of the component.
|
|
28
|
-
|
|
29
|
-
#### Parameters
|
|
30
|
-
|
|
31
|
-
| Name | Type | Description |
|
|
32
|
-
| --------- | ------------------------------ | ----------- |
|
|
33
|
-
| `options` | `KolFocusOptions \| undefined` | |
|
|
34
|
-
|
|
35
|
-
#### Returns
|
|
36
|
-
|
|
37
|
-
Type: `Promise<void>`
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### `toggle() => Promise<void>`
|
|
42
|
-
|
|
43
|
-
Toggles the visibility of the skeleton component.
|
|
44
|
-
|
|
45
|
-
#### Returns
|
|
46
|
-
|
|
47
|
-
Type: `Promise<void>`
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
----------------------------------------------
|
|
53
|
-
|
|
54
|
-
|