@fink-ui/components 0.0.0-stage → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +287 -0
- package/README.md +57 -2
- package/dist/cjs/Heading-foerLIu9-QKM3M64_.js +40 -0
- package/dist/cjs/access-and-short-key-BTEwnScd-CasZf-uj.js +15 -0
- package/dist/cjs/api-Ba9FNPRn-rTHkYZEI.js +434 -0
- package/dist/cjs/app-globals-BQaqIleT.js +28 -0
- package/dist/cjs/aria-current-service-4eUMzpeO-emhsMPL3.js +30 -0
- package/dist/cjs/aria-labelledby-C4wUnR-v-CxE6OTWv.js +31 -0
- package/dist/cjs/base-AKIr0rpk-bPbfzUAQ.js +142 -0
- package/dist/cjs/base-C7nTPc7u-BhwWFb1q.js +1093 -0
- package/dist/cjs/base-CpUNedp9-XUSugrQg.js +165 -0
- package/dist/cjs/base-D7qItqyf-BbbOTUbw.js +214 -0
- package/dist/cjs/base-web-component-B3wi5eWH-DYRp0_Cp.js +67 -0
- package/dist/cjs/base-web-component-BpL_hXcg-Drs4AWKT.js +197 -0
- package/dist/cjs/base-web-component-DorOeD_U-DGNc9bak.js +234 -0
- package/dist/cjs/behavior-D9BHiFnH-DQyuXsUx.js +224 -0
- package/dist/cjs/behavior-DDo87iUM-DfnNkRgJ.js +1909 -0
- package/dist/cjs/behavior-XAV9GSxI-DWZGwtl6.js +166 -0
- package/dist/cjs/bem-registry-CrZZQahR-Dsn0TBlY.js +619 -0
- package/dist/cjs/bootstrap-Cz7Iq2I2-Bcg6Ig6g.js +58 -0
- package/dist/cjs/color-CnVBqZd5-Bat4Qm2q.js +60 -0
- package/dist/cjs/component-0npqUhj2-qp7pd5wT.js +141 -0
- package/dist/cjs/component-BCKsZOoB-D3_uvry6.js +23 -0
- package/dist/cjs/component-BZjDp_Lf-85vhAON7.js +20 -0
- package/dist/cjs/component-CjdTbGlP-Y_6DLMyJ.js +178 -0
- package/dist/cjs/component-Cn693XeT-D2RHI-mG.js +53 -0
- package/dist/cjs/component-Cvd5HXbX-D-tGBgwx.js +66 -0
- package/dist/cjs/component-CvdxCpjC-A5gOfnw4.js +49 -0
- package/dist/cjs/component-DFhRTaqb-CKItH_ej.js +127 -0
- package/dist/cjs/component-DP_p5few-B5O6gbGq.js +100 -0
- package/dist/cjs/component-DlROeCCe-DPm6I-PP.js +92 -0
- package/dist/cjs/component-names-DzmdvSkQ-CGSrl0lP.js +122 -0
- package/dist/cjs/contrast-BHjNzQvB-bpMVkXiN.js +67 -0
- package/dist/cjs/controller-DYkXzFqc-DWdZzY6f.js +117 -0
- package/dist/cjs/dev.utils-BgFDROtc-DkabL34N.js +84 -0
- package/dist/cjs/devtools-B6h2bVMJ-CtxQrosK.js +100 -0
- package/dist/cjs/disabled-BZIZZ6wy-DIculoOg.js +12 -0
- package/dist/cjs/element-focus-C0L8NWU8-C65ZOrOV.js +157 -0
- package/dist/cjs/element-interaction-B3GEli6r-ByFTg4X5.js +101 -0
- package/dist/cjs/events-DdfMb1U7-CnoJDEJq.js +55 -0
- package/dist/cjs/field-control-QF0yTcyb-BkxThVwi.js +31 -0
- package/dist/cjs/fink-app-shell.cjs.entry.js +133 -0
- package/dist/cjs/fink-avatar-group.cjs.entry.js +62 -0
- package/dist/cjs/fink-back-to-top.cjs.entry.js +52 -0
- package/dist/cjs/fink-bar-chart.cjs.entry.js +50 -0
- package/dist/cjs/fink-bottom-nav.cjs.entry.js +50 -0
- package/dist/cjs/fink-calendar.cjs.entry.js +150 -0
- package/dist/cjs/fink-carousel.cjs.entry.js +103 -0
- package/dist/cjs/fink-chip.cjs.entry.js +76 -0
- package/dist/cjs/fink-code-block.cjs.entry.js +171 -0
- package/dist/cjs/fink-consent-banner.cjs.entry.js +88 -0
- package/dist/cjs/fink-divider.cjs.entry.js +33 -0
- package/dist/cjs/fink-empty-state.cjs.entry.js +26 -0
- package/dist/cjs/fink-fab.cjs.entry.js +59 -0
- package/dist/cjs/fink-feedback.cjs.entry.js +41 -0
- package/dist/cjs/fink-file-upload.cjs.entry.js +114 -0
- package/dist/cjs/fink-footer.cjs.entry.js +37 -0
- package/dist/cjs/fink-grid.cjs.entry.js +23 -0
- package/dist/cjs/fink-image-list.cjs.entry.js +65 -0
- package/dist/cjs/fink-infinite-scroll.cjs.entry.js +73 -0
- package/dist/cjs/fink-kbd.cjs.entry.js +27 -0
- package/dist/cjs/fink-list.cjs.entry.js +77 -0
- package/dist/cjs/fink-logo.cjs.entry.js +29 -0
- package/dist/cjs/fink-menu.cjs.entry.js +141 -0
- package/dist/cjs/fink-otp-input.cjs.entry.js +111 -0
- package/dist/cjs/fink-page-header_4.cjs.entry.js +176 -0
- package/dist/cjs/fink-panel.cjs.entry.js +26 -0
- package/dist/cjs/fink-popconfirm.cjs.entry.js +61 -0
- package/dist/cjs/fink-range-slider.cjs.entry.js +80 -0
- package/dist/cjs/fink-rating.cjs.entry.js +64 -0
- package/dist/cjs/fink-result.cjs.entry.js +49 -0
- package/dist/cjs/fink-segmented.cjs.entry.js +51 -0
- package/dist/cjs/fink-selection-bar.cjs.entry.js +36 -0
- package/dist/cjs/fink-skeleton.cjs.entry.js +33 -0
- package/dist/cjs/fink-sparkline.cjs.entry.js +77 -0
- package/dist/cjs/fink-splitter.cjs.entry.js +84 -0
- package/dist/cjs/fink-stack.cjs.entry.js +35 -0
- package/dist/cjs/fink-stat-card.cjs.entry.js +58 -0
- package/dist/cjs/fink-summary-list.cjs.entry.js +29 -0
- package/dist/cjs/fink-tag-input.cjs.entry.js +113 -0
- package/dist/cjs/fink-timeline.cjs.entry.js +35 -0
- package/dist/cjs/fink-toc.cjs.entry.js +83 -0
- package/dist/cjs/fink-tour.cjs.entry.js +126 -0
- package/dist/cjs/fink-transfer-list.cjs.entry.js +101 -0
- package/dist/cjs/fink-virtual-list.cjs.entry.js +99 -0
- package/dist/cjs/fink.cjs.js +25 -0
- package/dist/cjs/group-8Me6YSO8-KMX-J6Nw.js +161 -0
- package/dist/cjs/has-closer-B-uYNNCw-BMi7yDrc.js +12 -0
- package/dist/cjs/href-DKPJq0Rh-Br0Co0Hf.js +12 -0
- package/dist/cjs/i18n-TlIXBsgS-tXG7od7W.js +227 -0
- package/dist/cjs/i18n-Uze_l4Ts-KcllxhQ3.js +17 -0
- package/dist/cjs/id-CkUYl2hO-aN84VRbL.js +12 -0
- package/dist/cjs/index-BnPDz_vB.js +5029 -0
- package/dist/cjs/index-C5tkyUxS.js +45 -0
- package/dist/cjs/index-CNO6HyrP.js +2004 -0
- package/dist/cjs/index-TsgAqj51.js +254 -0
- package/dist/cjs/index-xQL8L4ZS.js +2544 -0
- package/dist/cjs/index.cjs.js +33 -0
- package/dist/cjs/info-tuXhkPMr-F7Nn80k7.js +5590 -0
- package/dist/cjs/input-DwlolkOG-ZSHXWVxw.js +19 -0
- package/dist/cjs/input-container-DC3x4oGg-_Z5rQyil.js +102 -0
- package/dist/cjs/item-DThxrTZc-CDeyfJAJ.js +527 -0
- package/dist/cjs/item-cArH2C6l-3XgvOwr_.js +93 -0
- package/dist/cjs/item-pool-D4qvvY-S-152khmPs.js +46 -0
- package/dist/cjs/item-uC3h4pj3-CWCiuOrw.js +178 -0
- package/dist/cjs/item-zPmzbSvE-Cio4UhtM.js +88 -0
- package/dist/cjs/keyboard-DzlBdECG-HWqF6kPw.js +46 -0
- package/dist/cjs/kol-abbr.entry-vXy8tkfC.js +49 -0
- package/dist/cjs/kol-accordion.entry-DlfL8K5B.js +130 -0
- package/dist/cjs/kol-alert.entry-BSoN_9JY.js +190 -0
- package/dist/cjs/kol-avatar.entry-BTWt7leQ.js +100 -0
- package/dist/cjs/kol-badge.entry-iHLDICRD.js +176 -0
- package/dist/cjs/kol-breadcrumb.entry-Cjli4lJk.js +220 -0
- package/dist/cjs/kol-button-link.entry-D0tpwXhh.js +231 -0
- package/dist/cjs/kol-button.entry-PJhmI8Sb.js +241 -0
- package/dist/cjs/kol-card.entry-DICGVwpp.js +159 -0
- package/dist/cjs/kol-combobox.entry-knkAeqUE.js +549 -0
- package/dist/cjs/kol-details.entry-D0e4DD0G.js +130 -0
- package/dist/cjs/kol-dialog.entry-Dl1tatrP.js +132 -0
- package/dist/cjs/kol-drawer.entry-B5bf_Ygn.js +276 -0
- package/dist/cjs/kol-form.entry-DzeQve42.js +189 -0
- package/dist/cjs/kol-heading.entry-CwqmgXUS.js +83 -0
- package/dist/cjs/kol-icon.entry-CXVnSfdK.js +61 -0
- package/dist/cjs/kol-image.entry-2UshvJbB.js +114 -0
- package/dist/cjs/kol-input-checkbox.entry-DuxJ4K37.js +413 -0
- package/dist/cjs/kol-input-color.entry-2P1VK_Nn.js +319 -0
- package/dist/cjs/kol-input-date.entry-1oMHl1vG.js +534 -0
- package/dist/cjs/kol-input-email.entry-CxKE1-QV.js +351 -0
- package/dist/cjs/kol-input-file.entry-T5K_9_NM.js +384 -0
- package/dist/cjs/kol-input-number.entry-DSEAmFMI.js +440 -0
- package/dist/cjs/kol-input-password.entry-CVy2U3X0.js +375 -0
- package/dist/cjs/kol-input-radio.entry-CAuQGZYt.js +396 -0
- package/dist/cjs/kol-input-range.entry-DWH6ku6R.js +376 -0
- package/dist/cjs/kol-input-text.entry-ConfFR_K.js +439 -0
- package/dist/cjs/kol-kolibri.entry-CZVJE2wv.js +65 -0
- package/dist/cjs/kol-link-button.entry-CutGwpy4.js +223 -0
- package/dist/cjs/kol-link.entry-BGi6OGH-.js +210 -0
- package/dist/cjs/kol-meter.entry-DmZr5NfI.js +209 -0
- package/dist/cjs/kol-modal.entry-B-uPnZY7.js +123 -0
- package/dist/cjs/kol-nav.entry-D_Vzzpei.js +270 -0
- package/dist/cjs/kol-pagination.entry-DC6RnzZM.js +180 -0
- package/dist/cjs/kol-popover-button.entry-DCuMKVV1.js +251 -0
- package/dist/cjs/kol-progress.entry-CrVB7Lby.js +146 -0
- package/dist/cjs/kol-quote.entry-BoyX7ERY.js +84 -0
- package/dist/cjs/kol-select.entry-6Q7DoxPg.js +281 -0
- package/dist/cjs/kol-single-select.entry-SVOaIf8O.js +569 -0
- package/dist/cjs/kol-skip-nav.entry-D47uNPxq.js +198 -0
- package/dist/cjs/kol-spin.entry-UQi3gbnc.js +63 -0
- package/dist/cjs/kol-split-button.entry-iqGx05hp.js +277 -0
- package/dist/cjs/kol-table-stateful.entry-DqyiQJuV.js +685 -0
- package/dist/cjs/kol-table-stateless.entry-HO5w-yoL.js +189 -0
- package/dist/cjs/kol-tabs.entry-BLiZCkhW.js +466 -0
- package/dist/cjs/kol-textarea.entry--x3xgZUB.js +475 -0
- package/dist/cjs/kol-toast-container.entry-BLqOuOV3.js +117 -0
- package/dist/cjs/kol-toolbar.entry-DRKVAZ8i.js +299 -0
- package/dist/cjs/kol-tree-item.entry-By_K31wa.js +193 -0
- package/dist/cjs/kol-tree.entry-D8g1oLrh.js +279 -0
- package/dist/cjs/kol-version.entry-BPai8La9.js +66 -0
- package/dist/cjs/label-G82W4YoW-5k7AGiMy.js +16 -0
- package/dist/cjs/label-hints-DiRb_zIZ-D9E4Dp1C.js +23 -0
- package/dist/cjs/label-lang-segment-BSVexfSR-BtHMK8oV.js +15 -0
- package/dist/cjs/label-with-expert-slot-C1i0atAL-C5_JcNb3.js +16 -0
- package/dist/cjs/level-CWkPM-CS-CTFYyWv8.js +13 -0
- package/dist/cjs/link-target-B2OC2sZU-cBvae1pl.js +12 -0
- package/dist/cjs/links-CiNHSAYH-DQqGMQIz.js +16 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/cjs/multiple-CuU2AuEM-SBTxcwlv.js +12 -0
- package/dist/cjs/number-value-adUq1zr1-CZd2xpDg.js +54 -0
- package/dist/cjs/open-DR8Z7RtS-DIQgjIv3.js +12 -0
- package/dist/cjs/open-items-cache-CS2mDRNB-DZu6FfYQ.js +25 -0
- package/dist/cjs/options-BDTJtk6H-Bb6AhJrA.js +31 -0
- package/dist/cjs/options-BPwcDIDO-DYAwq-lq.js +26 -0
- package/dist/cjs/orientation-BUPO9LJU-B7qzv8lO.js +21 -0
- package/dist/cjs/placeholder-BTFnryTd-BeG1x8J1.js +12 -0
- package/dist/cjs/props-from-config-DqFgiUwD-pOE_0hRW.js +2503 -0
- package/dist/cjs/read-only-DRmmHb2G-CnIJVzJD.js +12 -0
- package/dist/cjs/required-D4CdAA4s-3cwNsOi9.js +12 -0
- package/dist/cjs/resolve-color-aQz2CZ-X.js +78 -0
- package/dist/cjs/resolve-props-BAambGug-orZkBfeI.js +61 -0
- package/dist/cjs/resolve-props-Dpl38Wpe-358sX0ki.js +58 -0
- package/dist/cjs/rows-DRKSoawJ-ndIZla-m.js +12 -0
- package/dist/cjs/scroll-lock-C66lpb8L-CO9LVaJW.js +72 -0
- package/dist/cjs/shared-CMzQXmgd.js +26 -0
- package/dist/cjs/smart-button-BYEk3DzS-CEH1mbpj.js +19 -0
- package/dist/cjs/spell-check-DlQ_d2GL-TOFAGfnW.js +12 -0
- package/dist/cjs/src-Cikg9qhP-CLoB_Iqr.js +12 -0
- package/dist/cjs/step-C7WPZrUp-Bwzrsjv5.js +12 -0
- package/dist/cjs/suggestions-CotfxJG1-JyiUU_C5.js +25 -0
- package/dist/cjs/suggestions-qW9OdwO3-CupxEvYq.js +23 -0
- package/dist/cjs/test-component.entry-B_voa1f2.js +16 -0
- package/dist/cjs/theme-store-DroJsU6S-Cn_2BXeA.js +4476 -0
- package/dist/cjs/toggle-handler-BB_SIgS1-CGk_NFet.js +104 -0
- package/dist/cjs/tone-CbCEXb_l.js +6 -0
- package/dist/cjs/tooltip-open-tracking-CxHWKk8f-239HlKMW.js +26 -0
- package/dist/cjs/tslib.es6-QNbPBOk5-D6b02iQK.js +48 -0
- package/dist/cjs/unique-nav-labels-CQgKoOXd-CnxUuYe6.js +26 -0
- package/dist/cjs/unit-D2lG-lEM-CkwoMBFe.js +15 -0
- package/dist/cjs/validators-yh10eyXe-CsHQTosD.js +19 -0
- package/dist/cjs/value-string-DwEIOG1f-k1qSqkV7.js +12 -0
- package/dist/cjs/viewport-inset-Do_HqTBo.js +26 -0
- package/dist/cjs/width-xawzWTVW-AKH4gj28.js +32 -0
- package/dist/collection/assets/icon-fonts/codicons/codicon.css +805 -0
- package/dist/collection/assets/icon-fonts/codicons/codicon.csv +631 -0
- package/dist/collection/assets/icon-fonts/codicons/codicon.html +18216 -0
- package/dist/collection/assets/icon-fonts/codicons/codicon.svg +1 -0
- package/dist/collection/assets/icon-fonts/codicons/codicon.ttf +0 -0
- package/dist/collection/assets/icon-fonts/codicons/codiconsLibrary.ts +758 -0
- package/dist/collection/assets/icon-fonts/codicons/metadata.json +7235 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/all.css +7913 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/all.min.css +9 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/brands.css +1609 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/brands.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/fontawesome.css +6243 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/fontawesome.min.css +9 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/regular.css +19 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/regular.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/solid.css +19 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/solid.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/svg-with-js.css +461 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/svg-with-js.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v4-font-face.css +26 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v4-font-face.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v4-shims.css +2194 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v4-shims.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v5-font-face.css +22 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/css/v5-font-face.min.css +6 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/collection/assets/icon-fonts/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/collection/assets/icon-fonts/icon-fonts.css +4 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.eot +0 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.json +31 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.svg +99 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.ttf +0 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.woff +0 -0
- package/dist/collection/assets/icon-fonts/kolicons/kolicons.woff2 +0 -0
- package/dist/collection/assets/icon-fonts/kolicons/style.css +51 -0
- package/dist/collection/assets/icon-fonts/manifest.json +14 -0
- package/dist/collection/collection-manifest.json +60 -0
- package/dist/collection/components/app-shell/app-shell.css +203 -0
- package/dist/collection/components/app-shell/app-shell.js +298 -0
- package/dist/collection/components/avatar-group/avatar-group.css +42 -0
- package/dist/collection/components/avatar-group/avatar-group.js +161 -0
- package/dist/collection/components/back-to-top/back-to-top.css +38 -0
- package/dist/collection/components/back-to-top/back-to-top.js +126 -0
- package/dist/collection/components/bar-chart/bar-chart.css +108 -0
- package/dist/collection/components/bar-chart/bar-chart.js +204 -0
- package/dist/collection/components/bottom-nav/bottom-nav.css +95 -0
- package/dist/collection/components/bottom-nav/bottom-nav.js +142 -0
- package/dist/collection/components/calendar/calendar.css +140 -0
- package/dist/collection/components/calendar/calendar.js +320 -0
- package/dist/collection/components/carousel/carousel.css +110 -0
- package/dist/collection/components/carousel/carousel.js +211 -0
- package/dist/collection/components/chip/chip.css +4 -0
- package/dist/collection/components/chip/chip.js +240 -0
- package/dist/collection/components/code-block/code-block.css +183 -0
- package/dist/collection/components/code-block/code-block.js +237 -0
- package/dist/collection/components/consent-banner/consent-banner.css +86 -0
- package/dist/collection/components/consent-banner/consent-banner.js +224 -0
- package/dist/collection/components/divider/divider.css +72 -0
- package/dist/collection/components/divider/divider.js +123 -0
- package/dist/collection/components/empty-state/empty-state.css +51 -0
- package/dist/collection/components/empty-state/empty-state.js +113 -0
- package/dist/collection/components/fab/fab.css +85 -0
- package/dist/collection/components/fab/fab.js +219 -0
- package/dist/collection/components/feedback/feedback.css +50 -0
- package/dist/collection/components/feedback/feedback.js +116 -0
- package/dist/collection/components/file-upload/file-upload.css +178 -0
- package/dist/collection/components/file-upload/file-upload.js +331 -0
- package/dist/collection/components/footer/footer.css +78 -0
- package/dist/collection/components/footer/footer.js +121 -0
- package/dist/collection/components/grid/grid.css +10 -0
- package/dist/collection/components/grid/grid.js +79 -0
- package/dist/collection/components/image-list/image-list.css +171 -0
- package/dist/collection/components/image-list/image-list.js +204 -0
- package/dist/collection/components/infinite-scroll/infinite-scroll.css +29 -0
- package/dist/collection/components/infinite-scroll/infinite-scroll.js +188 -0
- package/dist/collection/components/kbd/kbd.css +32 -0
- package/dist/collection/components/kbd/kbd.js +54 -0
- package/dist/collection/components/list/list.css +169 -0
- package/dist/collection/components/list/list.js +255 -0
- package/dist/collection/components/logo/logo.css +48 -0
- package/dist/collection/components/logo/logo.js +102 -0
- package/dist/collection/components/menu/menu.css +101 -0
- package/dist/collection/components/menu/menu.js +331 -0
- package/dist/collection/components/otp-input/otp-input.css +68 -0
- package/dist/collection/components/otp-input/otp-input.js +295 -0
- package/dist/collection/components/page-header/page-header.css +62 -0
- package/dist/collection/components/page-header/page-header.js +93 -0
- package/dist/collection/components/panel/panel.css +79 -0
- package/dist/collection/components/panel/panel.js +116 -0
- package/dist/collection/components/popconfirm/popconfirm.css +49 -0
- package/dist/collection/components/popconfirm/popconfirm.js +281 -0
- package/dist/collection/components/range-slider/range-slider.css +129 -0
- package/dist/collection/components/range-slider/range-slider.js +288 -0
- package/dist/collection/components/rating/rating.css +72 -0
- package/dist/collection/components/rating/rating.js +189 -0
- package/dist/collection/components/result/result.css +127 -0
- package/dist/collection/components/result/result.js +187 -0
- package/dist/collection/components/segmented/segmented.css +83 -0
- package/dist/collection/components/segmented/segmented.js +160 -0
- package/dist/collection/components/selection-bar/selection-bar.css +52 -0
- package/dist/collection/components/selection-bar/selection-bar.js +106 -0
- package/dist/collection/components/skeleton/skeleton.css +58 -0
- package/dist/collection/components/skeleton/skeleton.js +138 -0
- package/dist/collection/components/sparkline/sparkline.css +63 -0
- package/dist/collection/components/sparkline/sparkline.js +208 -0
- package/dist/collection/components/splitter/splitter.css +89 -0
- package/dist/collection/components/splitter/splitter.js +240 -0
- package/dist/collection/components/stack/stack.css +10 -0
- package/dist/collection/components/stack/stack.js +150 -0
- package/dist/collection/components/stat-card/stat-card.css +143 -0
- package/dist/collection/components/stat-card/stat-card.js +232 -0
- package/dist/collection/components/status/status.css +5 -0
- package/dist/collection/components/status/status.js +116 -0
- package/dist/collection/components/stepper/stepper.css +137 -0
- package/dist/collection/components/stepper/stepper.js +170 -0
- package/dist/collection/components/summary-list/summary-list.css +88 -0
- package/dist/collection/components/summary-list/summary-list.js +119 -0
- package/dist/collection/components/tag-input/tag-input.css +34 -0
- package/dist/collection/components/tag-input/tag-input.js +304 -0
- package/dist/collection/components/task-list/task-list.css +86 -0
- package/dist/collection/components/task-list/task-list.js +125 -0
- package/dist/collection/components/timeline/timeline.css +95 -0
- package/dist/collection/components/timeline/timeline.js +91 -0
- package/dist/collection/components/toc/toc.css +66 -0
- package/dist/collection/components/toc/toc.js +183 -0
- package/dist/collection/components/tour/tour.css +119 -0
- package/dist/collection/components/tour/tour.js +249 -0
- package/dist/collection/components/transfer-list/transfer-list.css +150 -0
- package/dist/collection/components/transfer-list/transfer-list.js +259 -0
- package/dist/collection/components/virtual-list/virtual-list.css +99 -0
- package/dist/collection/components/virtual-list/virtual-list.js +239 -0
- package/dist/collection/fink.css +13 -0
- package/dist/collection/fonts.css +6 -0
- package/dist/collection/global/script.js +21 -0
- package/dist/collection/i18n/index.js +53 -0
- package/dist/collection/i18n/locales.js +245 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/tokens.css +1307 -0
- package/dist/collection/utils/highlight.js +80 -0
- package/dist/collection/utils/resolve-color.js +72 -0
- package/dist/collection/utils/shared.js +21 -0
- package/dist/collection/utils/tone.js +2 -0
- package/dist/collection/utils/viewport-inset.js +22 -0
- package/dist/components/fink-app-shell.d.ts +11 -0
- package/dist/components/fink-app-shell.js +1 -0
- package/dist/components/fink-avatar-group.d.ts +11 -0
- package/dist/components/fink-avatar-group.js +1 -0
- package/dist/components/fink-back-to-top.d.ts +11 -0
- package/dist/components/fink-back-to-top.js +1 -0
- package/dist/components/fink-bar-chart.d.ts +11 -0
- package/dist/components/fink-bar-chart.js +1 -0
- package/dist/components/fink-bottom-nav.d.ts +11 -0
- package/dist/components/fink-bottom-nav.js +1 -0
- package/dist/components/fink-calendar.d.ts +11 -0
- package/dist/components/fink-calendar.js +1 -0
- package/dist/components/fink-carousel.d.ts +11 -0
- package/dist/components/fink-carousel.js +1 -0
- package/dist/components/fink-chip.d.ts +11 -0
- package/dist/components/fink-chip.js +1 -0
- package/dist/components/fink-code-block.d.ts +11 -0
- package/dist/components/fink-code-block.js +1 -0
- package/dist/components/fink-consent-banner.d.ts +11 -0
- package/dist/components/fink-consent-banner.js +1 -0
- package/dist/components/fink-divider.d.ts +11 -0
- package/dist/components/fink-divider.js +1 -0
- package/dist/components/fink-empty-state.d.ts +11 -0
- package/dist/components/fink-empty-state.js +1 -0
- package/dist/components/fink-fab.d.ts +11 -0
- package/dist/components/fink-fab.js +1 -0
- package/dist/components/fink-feedback.d.ts +11 -0
- package/dist/components/fink-feedback.js +1 -0
- package/dist/components/fink-file-upload.d.ts +11 -0
- package/dist/components/fink-file-upload.js +1 -0
- package/dist/components/fink-footer.d.ts +11 -0
- package/dist/components/fink-footer.js +1 -0
- package/dist/components/fink-grid.d.ts +11 -0
- package/dist/components/fink-grid.js +1 -0
- package/dist/components/fink-image-list.d.ts +11 -0
- package/dist/components/fink-image-list.js +1 -0
- package/dist/components/fink-infinite-scroll.d.ts +11 -0
- package/dist/components/fink-infinite-scroll.js +1 -0
- package/dist/components/fink-kbd.d.ts +11 -0
- package/dist/components/fink-kbd.js +1 -0
- package/dist/components/fink-list.d.ts +11 -0
- package/dist/components/fink-list.js +1 -0
- package/dist/components/fink-logo.d.ts +11 -0
- package/dist/components/fink-logo.js +1 -0
- package/dist/components/fink-menu.d.ts +11 -0
- package/dist/components/fink-menu.js +1 -0
- package/dist/components/fink-otp-input.d.ts +11 -0
- package/dist/components/fink-otp-input.js +1 -0
- package/dist/components/fink-page-header.d.ts +11 -0
- package/dist/components/fink-page-header.js +1 -0
- package/dist/components/fink-panel.d.ts +11 -0
- package/dist/components/fink-panel.js +1 -0
- package/dist/components/fink-popconfirm.d.ts +11 -0
- package/dist/components/fink-popconfirm.js +1 -0
- package/dist/components/fink-range-slider.d.ts +11 -0
- package/dist/components/fink-range-slider.js +1 -0
- package/dist/components/fink-rating.d.ts +11 -0
- package/dist/components/fink-rating.js +1 -0
- package/dist/components/fink-result.d.ts +11 -0
- package/dist/components/fink-result.js +1 -0
- package/dist/components/fink-segmented.d.ts +11 -0
- package/dist/components/fink-segmented.js +1 -0
- package/dist/components/fink-selection-bar.d.ts +11 -0
- package/dist/components/fink-selection-bar.js +1 -0
- package/dist/components/fink-skeleton.d.ts +11 -0
- package/dist/components/fink-skeleton.js +1 -0
- package/dist/components/fink-sparkline.d.ts +11 -0
- package/dist/components/fink-sparkline.js +1 -0
- package/dist/components/fink-splitter.d.ts +11 -0
- package/dist/components/fink-splitter.js +1 -0
- package/dist/components/fink-stack.d.ts +11 -0
- package/dist/components/fink-stack.js +1 -0
- package/dist/components/fink-stat-card.d.ts +11 -0
- package/dist/components/fink-stat-card.js +1 -0
- package/dist/components/fink-status.d.ts +11 -0
- package/dist/components/fink-status.js +1 -0
- package/dist/components/fink-stepper.d.ts +11 -0
- package/dist/components/fink-stepper.js +1 -0
- package/dist/components/fink-summary-list.d.ts +11 -0
- package/dist/components/fink-summary-list.js +1 -0
- package/dist/components/fink-tag-input.d.ts +11 -0
- package/dist/components/fink-tag-input.js +1 -0
- package/dist/components/fink-task-list.d.ts +11 -0
- package/dist/components/fink-task-list.js +1 -0
- package/dist/components/fink-timeline.d.ts +11 -0
- package/dist/components/fink-timeline.js +1 -0
- package/dist/components/fink-toc.d.ts +11 -0
- package/dist/components/fink-toc.js +1 -0
- package/dist/components/fink-tour.d.ts +11 -0
- package/dist/components/fink-tour.js +1 -0
- package/dist/components/fink-transfer-list.d.ts +11 -0
- package/dist/components/fink-transfer-list.js +1 -0
- package/dist/components/fink-virtual-list.d.ts +11 -0
- package/dist/components/fink-virtual-list.js +1 -0
- package/dist/components/index.d.ts +35 -0
- package/dist/components/index.js +1 -0
- package/dist/components/p--dluw9sU.js +4 -0
- package/dist/components/p-0q_cDiSu.js +1 -0
- package/dist/components/p-2G6i00Y4.js +4 -0
- package/dist/components/p-4VqUGnzw.js +4 -0
- package/dist/components/p-7b6zbUGV.js +4 -0
- package/dist/components/p-7pkFNJTS.js +4 -0
- package/dist/components/p-80r0hOg-.js +4 -0
- package/dist/components/p-9Omm5njj.js +4 -0
- package/dist/components/p-B-BbokvN.js +1 -0
- package/dist/components/p-B0rajiBV.js +4 -0
- package/dist/components/p-B1f-WAgD.js +4 -0
- package/dist/components/p-B4W2Axj0.js +4 -0
- package/dist/components/p-B55_WIt8.js +4 -0
- package/dist/components/p-B9vMUbQn.js +4 -0
- package/dist/components/p-BA22-sOe.js +4 -0
- package/dist/components/p-BCaU1mmT.js +4 -0
- package/dist/components/p-BDLnNXyN.js +4 -0
- package/dist/components/p-BMbOqdum.js +4 -0
- package/dist/components/p-BMikH-F1.js +4 -0
- package/dist/components/p-BNSBWfez.js +4 -0
- package/dist/components/p-BNeRxcyt.js +4 -0
- package/dist/components/p-BNv-BhuC.js +4 -0
- package/dist/components/p-BNxwDdo8.js +1 -0
- package/dist/components/p-BQcXMEDu.js +4 -0
- package/dist/components/p-BRzdX6D6.js +4 -0
- package/dist/components/p-BTYNOWWo.js +4 -0
- package/dist/components/p-BUaDrw6r.js +4 -0
- package/dist/components/p-BVEpQXTA.js +4 -0
- package/dist/components/p-BVQi1Qdz.js +4 -0
- package/dist/components/p-BVou7RHK.js +4 -0
- package/dist/components/p-BW20VO0z.js +4 -0
- package/dist/components/p-BXdJ0qF-.js +4 -0
- package/dist/components/p-BYjXAF2t.js +4 -0
- package/dist/components/p-BZeLdsTL.js +4 -0
- package/dist/components/p-BZrfikC0.js +1 -0
- package/dist/components/p-BbBslcM3.js +4 -0
- package/dist/components/p-BfVBCtH5.js +4 -0
- package/dist/components/p-BgDm6xES.js +4 -0
- package/dist/components/p-BgO3h-Rh.js +4 -0
- package/dist/components/p-Bjvj9BNg.js +4 -0
- package/dist/components/p-Bl_Mk897.js +4 -0
- package/dist/components/p-BmO5OHQt.js +4 -0
- package/dist/components/p-BmwSurIJ.js +4 -0
- package/dist/components/p-BpB6kJJx.js +4 -0
- package/dist/components/p-Bs6t0b4L.js +4 -0
- package/dist/components/p-BuQD3Teg.js +4 -0
- package/dist/components/p-BxOobhWU.js +4 -0
- package/dist/components/p-ByC9P8Tx.js +4 -0
- package/dist/components/p-ByLwbmoM.js +4 -0
- package/dist/components/p-C0XK-kqu.js +4 -0
- package/dist/components/p-C1p6UJUS.js +4 -0
- package/dist/components/p-C2-j2F3r.js +4 -0
- package/dist/components/p-C7SF5fdP.js +4 -0
- package/dist/components/p-C9aIBH9i.js +4 -0
- package/dist/components/p-C9u92OPr.js +4 -0
- package/dist/components/p-CAQo1RSU.js +4 -0
- package/dist/components/p-CBNHkhtz.js +4 -0
- package/dist/components/p-CFHGMm_k.js +4 -0
- package/dist/components/p-CFmh0GHK.js +4 -0
- package/dist/components/p-CGHkRu3d.js +4 -0
- package/dist/components/p-CIot44VN.js +4 -0
- package/dist/components/p-CJG_oJHT.js +4 -0
- package/dist/components/p-CP3Gtcwe.js +4 -0
- package/dist/components/p-CR_zYDd_.js +4 -0
- package/dist/components/p-CRjJqs7K.js +4 -0
- package/dist/components/p-CRwANbOQ.js +4 -0
- package/dist/components/p-CTQTxE7y.js +4 -0
- package/dist/components/p-CTRwSsSD.js +1 -0
- package/dist/components/p-CV_AyX-M.js +4 -0
- package/dist/components/p-CWjvhahm.js +4 -0
- package/dist/components/p-CWnmBc7G.js +4 -0
- package/dist/components/p-CYc4TCeV.js +4 -0
- package/dist/components/p-C_LpiLUG.js +4 -0
- package/dist/components/p-CcUOxrYJ.js +4 -0
- package/dist/components/p-CdR8DYRy.js +4 -0
- package/dist/components/p-ClV22d_I.js +4 -0
- package/dist/components/p-CldsZVVl.js +4 -0
- package/dist/components/p-CmiZqDhJ.js +4 -0
- package/dist/components/p-CmsrPPy-.js +4 -0
- package/dist/components/p-CnY1T61l.js +4 -0
- package/dist/components/p-CnhYWngh.js +4 -0
- package/dist/components/p-CsTpUjWf.js +4 -0
- package/dist/components/p-Ctrut-7c.js +4 -0
- package/dist/components/p-CutoC_Ty.js +4 -0
- package/dist/components/p-Cwa4hoGi.js +4 -0
- package/dist/components/p-CxpexqrH.js +4 -0
- package/dist/components/p-CzGozn0r.js +4 -0
- package/dist/components/p-D1t7yljW.js +4 -0
- package/dist/components/p-D7VQEFrw.js +4 -0
- package/dist/components/p-D9LQt7Zv.js +4 -0
- package/dist/components/p-DFunHW2N.js +4 -0
- package/dist/components/p-DGbq7kuL.js +4 -0
- package/dist/components/p-DGo_U0IH.js +4 -0
- package/dist/components/p-DIpAfGba.js +4 -0
- package/dist/components/p-DIuaKJuf.js +4 -0
- package/dist/components/p-DRJ_rivg.js +4 -0
- package/dist/components/p-DRbO95Y7.js +4 -0
- package/dist/components/p-DScJEdfZ.js +4 -0
- package/dist/components/p-DTrXC4SP.js +4 -0
- package/dist/components/p-DUNrULO-.js +4 -0
- package/dist/components/p-DVLI26JR.js +4 -0
- package/dist/components/p-DWjjqpdX.js +4 -0
- package/dist/components/p-DXuKrKOd.js +4 -0
- package/dist/components/p-DY84WS8v.js +1 -0
- package/dist/components/p-DYRYJXoR.js +4 -0
- package/dist/components/p-DYY8PIzp.js +4 -0
- package/dist/components/p-DZ_j7Hga.js +4 -0
- package/dist/components/p-DZcGWbYP.js +4 -0
- package/dist/components/p-D_7rD22W.js +4 -0
- package/dist/components/p-Dd10uxIT.js +4 -0
- package/dist/components/p-DddXRNAz.js +4 -0
- package/dist/components/p-DfxozzaL.js +4 -0
- package/dist/components/p-DgX1yjbX.js +4 -0
- package/dist/components/p-DjV0X18L.js +4 -0
- package/dist/components/p-DkAAPqJu.js +4 -0
- package/dist/components/p-Dkzm8mv-.js +4 -0
- package/dist/components/p-Dlbq4zit.js +4 -0
- package/dist/components/p-DlflLXmz.js +4 -0
- package/dist/components/p-Dn5a17Zr.js +4 -0
- package/dist/components/p-DofVp12C.js +4 -0
- package/dist/components/p-DoibTX8S.js +4 -0
- package/dist/components/p-DpxcjrYR.js +4 -0
- package/dist/components/p-DqC368cw.js +4 -0
- package/dist/components/p-DrNKkmSg.js +4 -0
- package/dist/components/p-Ds-2xh8j.js +1 -0
- package/dist/components/p-DscCDdM1.js +4 -0
- package/dist/components/p-DuXNDKoO.js +4 -0
- package/dist/components/p-DuiXatu0.js +4 -0
- package/dist/components/p-DvgUk4DC.js +4 -0
- package/dist/components/p-DwG3Skun.js +4 -0
- package/dist/components/p-KQw2tIyE.js +1 -0
- package/dist/components/p-L-QhVukf.js +4 -0
- package/dist/components/p-LEJbw36A.js +4 -0
- package/dist/components/p-Mm-C_T3m.js +4 -0
- package/dist/components/p-MzgCLtfB.js +4 -0
- package/dist/components/p-QNbPBOk5.js +4 -0
- package/dist/components/p-UchDDu0F.js +4 -0
- package/dist/components/p-YtlGjZiL.js +4 -0
- package/dist/components/p-Znyube6h.js +4 -0
- package/dist/components/p-cQxl99-m.js +4 -0
- package/dist/components/p-dzR6JR_Y.js +4 -0
- package/dist/components/p-f7FdbOPh.js +4 -0
- package/dist/components/p-gz-7919_.js +4 -0
- package/dist/components/p-kMjhJdnT.js +4 -0
- package/dist/components/p-kW0X7mcl.js +4 -0
- package/dist/components/p-llaYDFkW.js +4 -0
- package/dist/components/p-qd8DUvyj.js +10 -0
- package/dist/components/p-sXf51aB5.js +4 -0
- package/dist/components/p-vPCar92P.js +4 -0
- package/dist/components/p-vwEFyiVe.js +103 -0
- package/dist/components/p-xxBwAPx6.js +4 -0
- package/dist/components/p-zZKM-qT7.js +4 -0
- package/dist/docs.d.ts +480 -0
- package/dist/docs.json +8896 -0
- package/dist/esm/Heading-foerLIu9-BVbFegTw.js +37 -0
- package/dist/esm/access-and-short-key-BTEwnScd-CfAYtZGM.js +13 -0
- package/dist/esm/api-Ba9FNPRn-rdj2hyjm.js +425 -0
- package/dist/esm/app-globals-BnjNNhX0.js +26 -0
- package/dist/esm/aria-current-service-4eUMzpeO-CHrorN4F.js +27 -0
- package/dist/esm/aria-labelledby-C4wUnR-v-BgQ7JKmg.js +29 -0
- package/dist/esm/base-AKIr0rpk-CIl8tLMt.js +140 -0
- package/dist/esm/base-C7nTPc7u-DNu3y22x.js +1088 -0
- package/dist/esm/base-CpUNedp9-Bbxdff8P.js +163 -0
- package/dist/esm/base-D7qItqyf-coE87RLS.js +212 -0
- package/dist/esm/base-web-component-B3wi5eWH-BZD2AOtl.js +65 -0
- package/dist/esm/base-web-component-BpL_hXcg-B9B0wAg_.js +194 -0
- package/dist/esm/base-web-component-DorOeD_U-BEnunxBi.js +231 -0
- package/dist/esm/behavior-D9BHiFnH-Ci8duFrL.js +222 -0
- package/dist/esm/behavior-DDo87iUM-BWYM0j39.js +1903 -0
- package/dist/esm/behavior-XAV9GSxI-BRejClDx.js +164 -0
- package/dist/esm/bem-registry-CrZZQahR-C4GlllGk.js +616 -0
- package/dist/esm/bootstrap-Cz7Iq2I2-28vHQDC1.js +51 -0
- package/dist/esm/color-CnVBqZd5-D3QulmT5.js +58 -0
- package/dist/esm/component-0npqUhj2-BlizGX2j.js +123 -0
- package/dist/esm/component-BCKsZOoB-Cv8r2Vr8.js +21 -0
- package/dist/esm/component-BZjDp_Lf-olnyMgml.js +18 -0
- package/dist/esm/component-CjdTbGlP-BvyA2axC.js +173 -0
- package/dist/esm/component-Cn693XeT-CbzDb1Ts.js +48 -0
- package/dist/esm/component-Cvd5HXbX-CgWiDYTV.js +64 -0
- package/dist/esm/component-CvdxCpjC-Cc4AQcN4.js +44 -0
- package/dist/esm/component-DFhRTaqb-BuoAY7Hj.js +123 -0
- package/dist/esm/component-DP_p5few-C6hyGiFP.js +92 -0
- package/dist/esm/component-DlROeCCe-BFGwDGp8.js +85 -0
- package/dist/esm/component-names-DzmdvSkQ-BKy7HO6i.js +116 -0
- package/dist/esm/contrast-BHjNzQvB-Du_hfUqT.js +65 -0
- package/dist/esm/controller-DYkXzFqc-CsswmJRF.js +113 -0
- package/dist/esm/dev.utils-BgFDROtc-DvTVGlRQ.js +79 -0
- package/dist/esm/devtools-B6h2bVMJ-Dxl5yOJw.js +98 -0
- package/dist/esm/disabled-BZIZZ6wy-DS3OHEVQ.js +10 -0
- package/dist/esm/element-focus-C0L8NWU8-By17plAH.js +152 -0
- package/dist/esm/element-interaction-B3GEli6r-CDhfO5hL.js +93 -0
- package/dist/esm/events-DdfMb1U7-GmWu51Sq.js +52 -0
- package/dist/esm/field-control-QF0yTcyb-Bl8p9nHd.js +28 -0
- package/dist/esm/fink-app-shell.entry.js +131 -0
- package/dist/esm/fink-avatar-group.entry.js +60 -0
- package/dist/esm/fink-back-to-top.entry.js +50 -0
- package/dist/esm/fink-bar-chart.entry.js +48 -0
- package/dist/esm/fink-bottom-nav.entry.js +48 -0
- package/dist/esm/fink-calendar.entry.js +148 -0
- package/dist/esm/fink-carousel.entry.js +101 -0
- package/dist/esm/fink-chip.entry.js +74 -0
- package/dist/esm/fink-code-block.entry.js +169 -0
- package/dist/esm/fink-consent-banner.entry.js +86 -0
- package/dist/esm/fink-divider.entry.js +31 -0
- package/dist/esm/fink-empty-state.entry.js +24 -0
- package/dist/esm/fink-fab.entry.js +57 -0
- package/dist/esm/fink-feedback.entry.js +39 -0
- package/dist/esm/fink-file-upload.entry.js +112 -0
- package/dist/esm/fink-footer.entry.js +35 -0
- package/dist/esm/fink-grid.entry.js +21 -0
- package/dist/esm/fink-image-list.entry.js +63 -0
- package/dist/esm/fink-infinite-scroll.entry.js +71 -0
- package/dist/esm/fink-kbd.entry.js +25 -0
- package/dist/esm/fink-list.entry.js +75 -0
- package/dist/esm/fink-logo.entry.js +27 -0
- package/dist/esm/fink-menu.entry.js +139 -0
- package/dist/esm/fink-otp-input.entry.js +109 -0
- package/dist/esm/fink-page-header_4.entry.js +171 -0
- package/dist/esm/fink-panel.entry.js +24 -0
- package/dist/esm/fink-popconfirm.entry.js +59 -0
- package/dist/esm/fink-range-slider.entry.js +78 -0
- package/dist/esm/fink-rating.entry.js +62 -0
- package/dist/esm/fink-result.entry.js +47 -0
- package/dist/esm/fink-segmented.entry.js +49 -0
- package/dist/esm/fink-selection-bar.entry.js +34 -0
- package/dist/esm/fink-skeleton.entry.js +31 -0
- package/dist/esm/fink-sparkline.entry.js +75 -0
- package/dist/esm/fink-splitter.entry.js +82 -0
- package/dist/esm/fink-stack.entry.js +33 -0
- package/dist/esm/fink-stat-card.entry.js +56 -0
- package/dist/esm/fink-summary-list.entry.js +27 -0
- package/dist/esm/fink-tag-input.entry.js +111 -0
- package/dist/esm/fink-timeline.entry.js +33 -0
- package/dist/esm/fink-toc.entry.js +81 -0
- package/dist/esm/fink-tour.entry.js +124 -0
- package/dist/esm/fink-transfer-list.entry.js +99 -0
- package/dist/esm/fink-virtual-list.entry.js +97 -0
- package/dist/esm/fink.js +21 -0
- package/dist/esm/group-8Me6YSO8-xgnqIxjp.js +155 -0
- package/dist/esm/has-closer-B-uYNNCw-DLeh5-ue.js +10 -0
- package/dist/esm/href-DKPJq0Rh-DM0Q6H5W.js +10 -0
- package/dist/esm/i18n-TlIXBsgS-Ckx7Yn0p.js +224 -0
- package/dist/esm/i18n-Uze_l4Ts--j4pwklR.js +17 -0
- package/dist/esm/id-CkUYl2hO-DuOZaeSd.js +10 -0
- package/dist/esm/index-BCmY273s.js +43 -0
- package/dist/esm/index-CA3z5eXZ.js +1977 -0
- package/dist/esm/index-CUP9kM-6.js +233 -0
- package/dist/esm/index-CwRQlPpM.js +4994 -0
- package/dist/esm/index-KQw2tIyE.js +2536 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/info-tuXhkPMr-D_FS6tGD.js +5557 -0
- package/dist/esm/input-DwlolkOG-B7TsHjhS.js +17 -0
- package/dist/esm/input-container-DC3x4oGg-CsTswiL3.js +98 -0
- package/dist/esm/item-DThxrTZc-C5HcXoFS.js +523 -0
- package/dist/esm/item-cArH2C6l-Dq9QqqKe.js +91 -0
- package/dist/esm/item-pool-D4qvvY-S-vyDW-Elr.js +44 -0
- package/dist/esm/item-uC3h4pj3-OLJaTUoW.js +176 -0
- package/dist/esm/item-zPmzbSvE-CI7oup4J.js +86 -0
- package/dist/esm/keyboard-DzlBdECG-BZsM4cfK.js +46 -0
- package/dist/esm/kol-abbr.entry-mVk7ZlyC.js +47 -0
- package/dist/esm/kol-accordion.entry-DiJRyJ35.js +128 -0
- package/dist/esm/kol-alert.entry-DEVR2sW5.js +188 -0
- package/dist/esm/kol-avatar.entry-B-KpDJxv.js +98 -0
- package/dist/esm/kol-badge.entry-XHoji_MM.js +174 -0
- package/dist/esm/kol-breadcrumb.entry-BR_dd_-G.js +218 -0
- package/dist/esm/kol-button-link.entry-Cf4v9Bxb.js +229 -0
- package/dist/esm/kol-button.entry-BtahHzTC.js +239 -0
- package/dist/esm/kol-card.entry-385EbCW3.js +157 -0
- package/dist/esm/kol-combobox.entry-BTHmL7_r.js +547 -0
- package/dist/esm/kol-details.entry-hL20Taht.js +128 -0
- package/dist/esm/kol-dialog.entry-Bxg34kkN.js +130 -0
- package/dist/esm/kol-drawer.entry-CxSnfPVC.js +274 -0
- package/dist/esm/kol-form.entry-DejrJpT0.js +187 -0
- package/dist/esm/kol-heading.entry-DIdqX7hP.js +81 -0
- package/dist/esm/kol-icon.entry-Bs6D521h.js +59 -0
- package/dist/esm/kol-image.entry-B7XU15PX.js +112 -0
- package/dist/esm/kol-input-checkbox.entry-voVh9wes.js +411 -0
- package/dist/esm/kol-input-color.entry-BA8yNU-5.js +317 -0
- package/dist/esm/kol-input-date.entry-CbBHYGfW.js +532 -0
- package/dist/esm/kol-input-email.entry-B3TVS_jQ.js +349 -0
- package/dist/esm/kol-input-file.entry-Bw50xMG6.js +382 -0
- package/dist/esm/kol-input-number.entry-DEnhDS8m.js +438 -0
- package/dist/esm/kol-input-password.entry-C8KPPLGg.js +373 -0
- package/dist/esm/kol-input-radio.entry-VcGn4G2d.js +394 -0
- package/dist/esm/kol-input-range.entry-XW11xl8_.js +374 -0
- package/dist/esm/kol-input-text.entry-I_XonNty.js +437 -0
- package/dist/esm/kol-kolibri.entry-BkRAh6MS.js +63 -0
- package/dist/esm/kol-link-button.entry-Bi6SP1YP.js +221 -0
- package/dist/esm/kol-link.entry-BZgj_5kk.js +208 -0
- package/dist/esm/kol-meter.entry-DFA2MeTA.js +207 -0
- package/dist/esm/kol-modal.entry-DzEUIfdu.js +121 -0
- package/dist/esm/kol-nav.entry-BNYXkxiA.js +268 -0
- package/dist/esm/kol-pagination.entry-D1MJ1VbC.js +178 -0
- package/dist/esm/kol-popover-button.entry-BNWakgAm.js +249 -0
- package/dist/esm/kol-progress.entry-XBmRzcu8.js +144 -0
- package/dist/esm/kol-quote.entry-D_9Zd9-q.js +82 -0
- package/dist/esm/kol-select.entry-g6Yc_R0D.js +279 -0
- package/dist/esm/kol-single-select.entry-CaF22dl9.js +567 -0
- package/dist/esm/kol-skip-nav.entry-wsk5_hGJ.js +196 -0
- package/dist/esm/kol-spin.entry-D6P1QxzY.js +61 -0
- package/dist/esm/kol-split-button.entry-CRnZLU_m.js +275 -0
- package/dist/esm/kol-table-stateful.entry-YM1jEIqy.js +683 -0
- package/dist/esm/kol-table-stateless.entry-DkBXAO9-.js +187 -0
- package/dist/esm/kol-tabs.entry-CzQ9mDZZ.js +464 -0
- package/dist/esm/kol-textarea.entry-CYYwMkYK.js +473 -0
- package/dist/esm/kol-toast-container.entry-DsYUE5mI.js +115 -0
- package/dist/esm/kol-toolbar.entry-CRFOe4dW.js +297 -0
- package/dist/esm/kol-tree-item.entry-DQ8DqsBe.js +191 -0
- package/dist/esm/kol-tree.entry-Bahtftrl.js +277 -0
- package/dist/esm/kol-version.entry-DeW48JZE.js +64 -0
- package/dist/esm/label-G82W4YoW-DEpNTzZO.js +14 -0
- package/dist/esm/label-hints-DiRb_zIZ-CJOam2km.js +21 -0
- package/dist/esm/label-lang-segment-BSVexfSR-JER-6d7V.js +13 -0
- package/dist/esm/label-with-expert-slot-C1i0atAL-BSAWLh3g.js +14 -0
- package/dist/esm/level-CWkPM-CS-BOlL7OEL.js +11 -0
- package/dist/esm/link-target-B2OC2sZU-BWrqXOoq.js +10 -0
- package/dist/esm/links-CiNHSAYH-CQXX-pAH.js +14 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/multiple-CuU2AuEM-BqD17udD.js +10 -0
- package/dist/esm/number-value-adUq1zr1-oKN9eTfJ.js +46 -0
- package/dist/esm/open-DR8Z7RtS-C3KbEQp0.js +10 -0
- package/dist/esm/open-items-cache-CS2mDRNB-Xn5hW3B2.js +21 -0
- package/dist/esm/options-BDTJtk6H-D5ALZvIK.js +28 -0
- package/dist/esm/options-BPwcDIDO-m3RdW12k.js +24 -0
- package/dist/esm/orientation-BUPO9LJU-BiIRydWE.js +18 -0
- package/dist/esm/placeholder-BTFnryTd-BtHUd-ck.js +10 -0
- package/dist/esm/props-from-config-DqFgiUwD-BlPibITX.js +2468 -0
- package/dist/esm/read-only-DRmmHb2G-BTfvM1cR.js +10 -0
- package/dist/esm/required-D4CdAA4s-DyfM1WRr.js +10 -0
- package/dist/esm/resolve-color-BNxwDdo8.js +74 -0
- package/dist/esm/resolve-props-BAambGug-BHQnawTz.js +59 -0
- package/dist/esm/resolve-props-Dpl38Wpe-BuuvHExk.js +56 -0
- package/dist/esm/rows-DRKSoawJ-2fa63Cts.js +10 -0
- package/dist/esm/scroll-lock-C66lpb8L-CMx_ouSD.js +68 -0
- package/dist/esm/shared-0q_cDiSu.js +23 -0
- package/dist/esm/smart-button-BYEk3DzS-CvOWdBHD.js +17 -0
- package/dist/esm/spell-check-DlQ_d2GL-BAXGFxfw.js +10 -0
- package/dist/esm/src-Cikg9qhP-B2f1J8RL.js +10 -0
- package/dist/esm/step-C7WPZrUp-BalvGjbu.js +10 -0
- package/dist/esm/suggestions-CotfxJG1-DR28Ni66.js +23 -0
- package/dist/esm/suggestions-qW9OdwO3-90-3oW4g.js +20 -0
- package/dist/esm/test-component.entry-Cw5NrX4A.js +14 -0
- package/dist/esm/theme-store-DroJsU6S-CNdF9au3.js +4398 -0
- package/dist/esm/toggle-handler-BB_SIgS1-CRNI-BeB.js +97 -0
- package/dist/esm/tone-B-BbokvN.js +4 -0
- package/dist/esm/tooltip-open-tracking-CxHWKk8f-z31IQ8je.js +21 -0
- package/dist/esm/tslib.es6-QNbPBOk5-QNbPBOk5.js +45 -0
- package/dist/esm/unique-nav-labels-CQgKoOXd-CVFPYOx_.js +23 -0
- package/dist/esm/unit-D2lG-lEM-D7zYiPWU.js +12 -0
- package/dist/esm/validators-yh10eyXe-w-ZzOFvZ.js +14 -0
- package/dist/esm/value-string-DwEIOG1f-B_-iiGJO.js +10 -0
- package/dist/esm/viewport-inset-DY84WS8v.js +24 -0
- package/dist/esm/width-xawzWTVW-D6a2C3pn.js +29 -0
- package/dist/fink/assets/icon-fonts/codicons/codicon.css +805 -0
- package/dist/fink/assets/icon-fonts/codicons/codicon.csv +631 -0
- package/dist/fink/assets/icon-fonts/codicons/codicon.html +18216 -0
- package/dist/fink/assets/icon-fonts/codicons/codicon.svg +1 -0
- package/dist/fink/assets/icon-fonts/codicons/codicon.ttf +0 -0
- package/dist/fink/assets/icon-fonts/codicons/codiconsLibrary.ts +758 -0
- package/dist/fink/assets/icon-fonts/codicons/metadata.json +7235 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/all.css +7913 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/all.min.css +9 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/brands.css +1609 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/brands.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/fontawesome.css +6243 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/fontawesome.min.css +9 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/regular.css +19 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/regular.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/solid.css +19 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/solid.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/svg-with-js.css +461 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/svg-with-js.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v4-font-face.css +26 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v4-font-face.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v4-shims.css +2194 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v4-shims.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v5-font-face.css +22 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/css/v5-font-face.min.css +6 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/fink/assets/icon-fonts/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/fink/assets/icon-fonts/icon-fonts.css +4 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.eot +0 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.json +31 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.svg +99 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.ttf +0 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.woff +0 -0
- package/dist/fink/assets/icon-fonts/kolicons/kolicons.woff2 +0 -0
- package/dist/fink/assets/icon-fonts/kolicons/style.css +51 -0
- package/dist/fink/assets/icon-fonts/manifest.json +14 -0
- package/dist/fink/fink.css +13 -0
- package/dist/fink/fink.esm.js +1 -0
- package/dist/fink/fonts.css +6 -0
- package/dist/fink/index.esm.js +1 -0
- package/dist/fink/p-0480e0f4.entry.js +1 -0
- package/dist/fink/p-090bfc39.entry.js +1 -0
- package/dist/fink/p-0TbN8Xcp.js +4 -0
- package/dist/fink/p-0q_cDiSu.js +1 -0
- package/dist/fink/p-112a5699.entry.js +1 -0
- package/dist/fink/p-1KerVamE.js +4 -0
- package/dist/fink/p-26a83208.entry.js +1 -0
- package/dist/fink/p-271b0565.entry.js +1 -0
- package/dist/fink/p-31f2f199.entry.js +1 -0
- package/dist/fink/p-3364a6ba.entry.js +1 -0
- package/dist/fink/p-3870cd2f.entry.js +1 -0
- package/dist/fink/p-3TE1oVoK.js +4 -0
- package/dist/fink/p-46541968.entry.js +1 -0
- package/dist/fink/p-4ee67455.entry.js +1 -0
- package/dist/fink/p-5278d1ef.entry.js +1 -0
- package/dist/fink/p-531aeb01.entry.js +1 -0
- package/dist/fink/p-5b80b2bb.entry.js +1 -0
- package/dist/fink/p-61642130.entry.js +1 -0
- package/dist/fink/p-66abd1be.entry.js +1 -0
- package/dist/fink/p-6af256be.entry.js +1 -0
- package/dist/fink/p-6bd4ada5.entry.js +1 -0
- package/dist/fink/p-6cc33769.entry.js +1 -0
- package/dist/fink/p-70dFTErH.js +4 -0
- package/dist/fink/p-70e656ee.entry.js +1 -0
- package/dist/fink/p-73077f4d.entry.js +1 -0
- package/dist/fink/p-7a18b0e6.entry.js +1 -0
- package/dist/fink/p-7fEhncCi.js +4 -0
- package/dist/fink/p-7fe42ecb.entry.js +1 -0
- package/dist/fink/p-840e3c72.entry.js +1 -0
- package/dist/fink/p-87eb491f.entry.js +1 -0
- package/dist/fink/p-89305df2.entry.js +1 -0
- package/dist/fink/p-8JwsEQGN.js +4 -0
- package/dist/fink/p-8bd53685.entry.js +1 -0
- package/dist/fink/p-8ca103e0.entry.js +1 -0
- package/dist/fink/p-8mwEeVg6.js +4 -0
- package/dist/fink/p-92d27ed0.entry.js +1 -0
- package/dist/fink/p-93317eae.entry.js +1 -0
- package/dist/fink/p-95680148.entry.js +1 -0
- package/dist/fink/p-9PdC_fU3.js +4 -0
- package/dist/fink/p-B-BbokvN.js +1 -0
- package/dist/fink/p-B1WcEq4M.js +4 -0
- package/dist/fink/p-B1dsErUJ.js +4 -0
- package/dist/fink/p-B3PXhKe7.js +4 -0
- package/dist/fink/p-B6BCq5L_.js +4 -0
- package/dist/fink/p-B8h8QAF1.js +4 -0
- package/dist/fink/p-B99lWqPG.js +4 -0
- package/dist/fink/p-BELHU4Oh.js +4 -0
- package/dist/fink/p-BFH2qMqH.js +4 -0
- package/dist/fink/p-BFfPdbpO.js +4 -0
- package/dist/fink/p-BH1jSxUA.js +4 -0
- package/dist/fink/p-BHiLglB0.js +4 -0
- package/dist/fink/p-BI7oMr1i.js +4 -0
- package/dist/fink/p-BL9X5zek.js +4 -0
- package/dist/fink/p-BMCfojyI.js +4 -0
- package/dist/fink/p-BMThm7qP.js +4 -0
- package/dist/fink/p-BNhE7eEv.js +4 -0
- package/dist/fink/p-BNxwDdo8.js +1 -0
- package/dist/fink/p-BOb10H2H.js +4 -0
- package/dist/fink/p-BStBDK4A.js +4 -0
- package/dist/fink/p-BTXnk9VW.js +4 -0
- package/dist/fink/p-BZ1KhHjM.js +4 -0
- package/dist/fink/p-BZZL8GzL.js +4 -0
- package/dist/fink/p-B_MOrp32.js +4 -0
- package/dist/fink/p-BcjT_Ul9.js +4 -0
- package/dist/fink/p-Be6hdVUe.js +4 -0
- package/dist/fink/p-BeLAXkQ_.js +4 -0
- package/dist/fink/p-BhbkDlT6.js +4 -0
- package/dist/fink/p-BlHQE7rX.js +4 -0
- package/dist/fink/p-BnmxgsW3.js +4 -0
- package/dist/fink/p-BoBd56YG.js +4 -0
- package/dist/fink/p-BoFdMsuR.js +4 -0
- package/dist/fink/p-Bqv88WWu.js +4 -0
- package/dist/fink/p-BsI1j3fz.js +4 -0
- package/dist/fink/p-Bsfk4YTG.js +4 -0
- package/dist/fink/p-BspwltC5.js +4 -0
- package/dist/fink/p-BttTvdEQ.js +4 -0
- package/dist/fink/p-Bx-xqibH.js +4 -0
- package/dist/fink/p-BzL1oNYN.js +4 -0
- package/dist/fink/p-C-DwLmsA.js +4 -0
- package/dist/fink/p-C-azHf2V.js +4 -0
- package/dist/fink/p-C1wCww7h.js +4 -0
- package/dist/fink/p-C5PYMWXY.js +4 -0
- package/dist/fink/p-C5U6Ou_m.js +4 -0
- package/dist/fink/p-C6fVBlc3.js +4 -0
- package/dist/fink/p-C7MZ5AgA.js +4 -0
- package/dist/fink/p-C87U2c-7.js +4 -0
- package/dist/fink/p-C8kDLCRm.js +4 -0
- package/dist/fink/p-CA3z5eXZ.js +3 -0
- package/dist/fink/p-CGkH1ERn.js +4 -0
- package/dist/fink/p-CHcHrZ7t.js +4 -0
- package/dist/fink/p-CHh4VeAg.js +4 -0
- package/dist/fink/p-CI2CZWqQ.js +1 -0
- package/dist/fink/p-CIs6Z2-d.js +4 -0
- package/dist/fink/p-CJE8uX0Q.js +4 -0
- package/dist/fink/p-CMSO-w9a.js +4 -0
- package/dist/fink/p-CNMWZCgS.js +4 -0
- package/dist/fink/p-CPtPzcMd.js +103 -0
- package/dist/fink/p-CS2xG1nM.js +4 -0
- package/dist/fink/p-CSBkViMy.js +4 -0
- package/dist/fink/p-CSF7BClw.js +4 -0
- package/dist/fink/p-CU-RbAYO.js +4 -0
- package/dist/fink/p-CUv13haf.js +4 -0
- package/dist/fink/p-CbAhGd5i.js +4 -0
- package/dist/fink/p-CdwUYA3i.js +4 -0
- package/dist/fink/p-Ce_W3WN1.js +4 -0
- package/dist/fink/p-CehyH2nT.js +4 -0
- package/dist/fink/p-CfJQyoH8.js +4 -0
- package/dist/fink/p-CgF6yh1S.js +4 -0
- package/dist/fink/p-CgNGhcQs.js +4 -0
- package/dist/fink/p-Ck0btp3V.js +4 -0
- package/dist/fink/p-Co0vbYlR.js +4 -0
- package/dist/fink/p-CpihVFNc.js +4 -0
- package/dist/fink/p-CpznDFHA.js +4 -0
- package/dist/fink/p-CvbbJk36.js +4 -0
- package/dist/fink/p-CvwFII-2.js +4 -0
- package/dist/fink/p-CxQ_SYym.js +4 -0
- package/dist/fink/p-CxZaPFrj.js +4 -0
- package/dist/fink/p-CyNGdp_T.js +4 -0
- package/dist/fink/p-Cz415OSO.js +4 -0
- package/dist/fink/p-CzkGplcI.js +4 -0
- package/dist/fink/p-D3mf_zo7.js +4 -0
- package/dist/fink/p-D59FB9e8.js +4 -0
- package/dist/fink/p-DAZjslwm.js +4 -0
- package/dist/fink/p-DDYZfpJd.js +4 -0
- package/dist/fink/p-DEfik0Sc.js +4 -0
- package/dist/fink/p-DFSgV3oS.js +4 -0
- package/dist/fink/p-DGF6_bBS.js +4 -0
- package/dist/fink/p-DHDOsEqL.js +4 -0
- package/dist/fink/p-DJNlv0ul.js +4 -0
- package/dist/fink/p-DMXYSXQf.js +4 -0
- package/dist/fink/p-DOMW2BrQ.js +4 -0
- package/dist/fink/p-DR_ckP39.js +4 -0
- package/dist/fink/p-DViZw2gZ.js +4 -0
- package/dist/fink/p-DXfM3tgR.js +4 -0
- package/dist/fink/p-DY84WS8v.js +1 -0
- package/dist/fink/p-DZyAKosi.js +4 -0
- package/dist/fink/p-D_FS6tGD.js +1 -0
- package/dist/fink/p-D_gkogCg.js +4 -0
- package/dist/fink/p-Dceq1fzm.js +4 -0
- package/dist/fink/p-DdUwZDmy.js +4 -0
- package/dist/fink/p-Dejnw6f4.js +4 -0
- package/dist/fink/p-DfDJiEXh.js +4 -0
- package/dist/fink/p-DhOZwwQR.js +4 -0
- package/dist/fink/p-DipzsIhC.js +4 -0
- package/dist/fink/p-Dj0TiVc5.js +4 -0
- package/dist/fink/p-DjPa1etv.js +4 -0
- package/dist/fink/p-DjkJYi9k.js +4 -0
- package/dist/fink/p-DoV5EBlI.js +4 -0
- package/dist/fink/p-DpjLDYYz.js +4 -0
- package/dist/fink/p-DqHxO9Ai.js +4 -0
- package/dist/fink/p-DtLQQ-Zy.js +4 -0
- package/dist/fink/p-Dv-cCVAs.js +4 -0
- package/dist/fink/p-DvOdBkVD.js +4 -0
- package/dist/fink/p-DvVgajSv.js +4 -0
- package/dist/fink/p-DvwUhb7u.js +4 -0
- package/dist/fink/p-HweNbAoE.js +4 -0
- package/dist/fink/p-K1VBgVLf.js +4 -0
- package/dist/fink/p-KQw2tIyE.js +1 -0
- package/dist/fink/p-N-AMA4lJ.js +4 -0
- package/dist/fink/p-Q2WAPvCN.js +4 -0
- package/dist/fink/p-QIOzy6bA.js +4 -0
- package/dist/fink/p-QNbPBOk5.js +4 -0
- package/dist/fink/p-SKB8cyRh.js +4 -0
- package/dist/fink/p-TFNqVyc8.js +4 -0
- package/dist/fink/p-TOjFVPBq.js +4 -0
- package/dist/fink/p-VQnHXg90.js +10 -0
- package/dist/fink/p-WNhmp88g.js +4 -0
- package/dist/fink/p-Z5P1Ai79.js +4 -0
- package/dist/fink/p-ZQRFMWFz.js +4 -0
- package/dist/fink/p-a3104de5.entry.js +1 -0
- package/dist/fink/p-a97e7116.entry.js +1 -0
- package/dist/fink/p-c4e678e3.entry.js +1 -0
- package/dist/fink/p-c5242603.entry.js +1 -0
- package/dist/fink/p-c533dfa2.entry.js +1 -0
- package/dist/fink/p-d5c95ced.entry.js +1 -0
- package/dist/fink/p-d762d39e.entry.js +1 -0
- package/dist/fink/p-d902ca46.entry.js +1 -0
- package/dist/fink/p-daf169f0.entry.js +1 -0
- package/dist/fink/p-e554b7c8.entry.js +1 -0
- package/dist/fink/p-ea884d3f.entry.js +1 -0
- package/dist/fink/p-ed015850.entry.js +1 -0
- package/dist/fink/p-f11bb9d9.entry.js +1 -0
- package/dist/fink/p-f4eaa2e1.entry.js +1 -0
- package/dist/fink/p-gewKj316.js +4 -0
- package/dist/fink/p-h-zEpgSf.js +4 -0
- package/dist/fink/p-h0MkHAI2.js +4 -0
- package/dist/fink/p-iRfN55aI.js +4 -0
- package/dist/fink/p-mYbM3W7m.js +4 -0
- package/dist/fink/p-nQx5E18t.js +4 -0
- package/dist/fink/p-odJRQxye.js +4 -0
- package/dist/fink/p-rg-RqOuE.js +4 -0
- package/dist/fink/p-u0y0hYdm.js +4 -0
- package/dist/fink/p-v7r1B6-8.js +4 -0
- package/dist/fink/p-vwzbS2N4.js +4 -0
- package/dist/fink/p-xiyZ-c0B.js +4 -0
- package/dist/fink/p-xnteiQZA.js +4 -0
- package/dist/fink/tokens.css +1307 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/types/components/app-shell/app-shell.d.ts +63 -0
- package/dist/types/components/avatar-group/avatar-group.d.ts +33 -0
- package/dist/types/components/back-to-top/back-to-top.d.ts +22 -0
- package/dist/types/components/bar-chart/bar-chart.d.ts +34 -0
- package/dist/types/components/bottom-nav/bottom-nav.d.ts +28 -0
- package/dist/types/components/calendar/calendar.d.ts +43 -0
- package/dist/types/components/carousel/carousel.d.ts +39 -0
- package/dist/types/components/chip/chip.d.ts +38 -0
- package/dist/types/components/code-block/code-block.d.ts +41 -0
- package/dist/types/components/consent-banner/consent-banner.d.ts +40 -0
- package/dist/types/components/divider/divider.d.ts +18 -0
- package/dist/types/components/empty-state/empty-state.d.ts +16 -0
- package/dist/types/components/fab/fab.d.ts +37 -0
- package/dist/types/components/feedback/feedback.d.ts +25 -0
- package/dist/types/components/file-upload/file-upload.d.ts +49 -0
- package/dist/types/components/footer/footer.d.ts +28 -0
- package/dist/types/components/grid/grid.d.ts +13 -0
- package/dist/types/components/image-list/image-list.d.ts +40 -0
- package/dist/types/components/infinite-scroll/infinite-scroll.d.ts +33 -0
- package/dist/types/components/kbd/kbd.d.ts +9 -0
- package/dist/types/components/list/list.d.ts +57 -0
- package/dist/types/components/logo/logo.d.ts +21 -0
- package/dist/types/components/menu/menu.d.ts +63 -0
- package/dist/types/components/otp-input/otp-input.d.ts +41 -0
- package/dist/types/components/page-header/page-header.d.ts +16 -0
- package/dist/types/components/panel/panel.d.ts +19 -0
- package/dist/types/components/popconfirm/popconfirm.d.ts +38 -0
- package/dist/types/components/range-slider/range-slider.d.ts +39 -0
- package/dist/types/components/rating/rating.d.ts +28 -0
- package/dist/types/components/result/result.d.ts +28 -0
- package/dist/types/components/segmented/segmented.d.ts +28 -0
- package/dist/types/components/selection-bar/selection-bar.d.ts +20 -0
- package/dist/types/components/skeleton/skeleton.d.ts +17 -0
- package/dist/types/components/sparkline/sparkline.d.ts +27 -0
- package/dist/types/components/splitter/splitter.d.ts +37 -0
- package/dist/types/components/stack/stack.d.ts +19 -0
- package/dist/types/components/stat-card/stat-card.d.ts +29 -0
- package/dist/types/components/status/status.d.ts +23 -0
- package/dist/types/components/stepper/stepper.d.ts +25 -0
- package/dist/types/components/summary-list/summary-list.d.ts +24 -0
- package/dist/types/components/tag-input/tag-input.d.ts +43 -0
- package/dist/types/components/task-list/task-list.d.ts +28 -0
- package/dist/types/components/timeline/timeline.d.ts +23 -0
- package/dist/types/components/toc/toc.d.ts +36 -0
- package/dist/types/components/tour/tour.d.ts +49 -0
- package/dist/types/components/transfer-list/transfer-list.d.ts +45 -0
- package/dist/types/components/virtual-list/virtual-list.d.ts +44 -0
- package/dist/types/components.d.ts +4408 -0
- package/dist/types/global/script.d.ts +2 -0
- package/dist/types/i18n/index.d.ts +23 -0
- package/dist/types/i18n/locales.d.ts +212 -0
- package/dist/types/index.d.ts +28 -0
- package/dist/types/kolibri.d.ts +15 -0
- package/dist/types/stencil-public-runtime.d.ts +1879 -0
- package/dist/types/utils/highlight.d.ts +6 -0
- package/dist/types/utils/resolve-color.d.ts +16 -0
- package/dist/types/utils/shared.d.ts +3 -0
- package/dist/types/utils/tone.d.ts +4 -0
- package/dist/types/utils/viewport-inset.d.ts +12 -0
- package/package.json +50 -3
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
const escape = (value) => value.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
|
2
|
+
const JS_KEYWORDS = 'as|async|await|break|case|catch|class|const|continue|default|delete|do|else|enum|export|extends|false|finally|for|from|function|if|implements|import|in|instanceof|interface|let|new|null|of|private|protected|public|readonly|return|static|super|switch|this|throw|true|try|type|typeof|undefined|var|void|while|yield';
|
|
3
|
+
const rules = {
|
|
4
|
+
tsx: [
|
|
5
|
+
['comment', /\/\/[^\n]*|\/\*[\s\S]*?\*\//y],
|
|
6
|
+
['string', /`(?:\\.|[^`\\])*`|'(?:\\.|[^'\\\n])*'|"(?:\\.|[^"\\\n])*"/y],
|
|
7
|
+
['tag', /<\/?[A-Za-z][\w.-]*|\/?>/y],
|
|
8
|
+
['attr', /\b[_a-zA-Z][\w-]*(?==)/y],
|
|
9
|
+
['keyword', new RegExp(`\\b(?:${JS_KEYWORDS})\\b`, 'y')],
|
|
10
|
+
['type', /\b[A-Z][A-Za-z0-9]*\b/y],
|
|
11
|
+
['number', /\b\d[\d_.]*\b/y],
|
|
12
|
+
['function', /\b[a-zA-Z_$][\w$]*(?=\()/y],
|
|
13
|
+
],
|
|
14
|
+
ts: [],
|
|
15
|
+
html: [
|
|
16
|
+
['comment', /<!--[\s\S]*?-->/y],
|
|
17
|
+
['tag', /<\/?[A-Za-z][\w-]*|\/?>/y],
|
|
18
|
+
['attr', /\b[_a-zA-Z:@][\w:.-]*(?==)/y],
|
|
19
|
+
['string', /"[^"]*"|'[^']*'/y],
|
|
20
|
+
],
|
|
21
|
+
css: [
|
|
22
|
+
['comment', /\/\*[\s\S]*?\*\//y],
|
|
23
|
+
['string', /"[^"]*"|'[^']*'/y],
|
|
24
|
+
['keyword', /@[\w-]+/y],
|
|
25
|
+
['attr', /--?[a-zA-Z][\w-]*(?=\s*:)|\b[a-z-]+(?=\s*:)/y],
|
|
26
|
+
['function', /\b[a-z-]+(?=\()/y],
|
|
27
|
+
['number', /-?\b\d+(?:\.\d+)?(?:px|rem|em|%|ms|s|dvh|vw|vh)?\b|#[0-9a-fA-F]{3,8}\b/y],
|
|
28
|
+
],
|
|
29
|
+
bash: [
|
|
30
|
+
['comment', /#[^\n]*/y],
|
|
31
|
+
['string', /"(?:\\.|[^"\\])*"|'[^']*'/y],
|
|
32
|
+
['keyword', /\b(?:pnpm|npm|npx|yarn|git|cd|export)\b/y],
|
|
33
|
+
['attr', /\s--?[a-zA-Z][\w-]*/y],
|
|
34
|
+
],
|
|
35
|
+
json: [
|
|
36
|
+
['attr', /"(?:\\.|[^"\\])*"(?=\s*:)/y],
|
|
37
|
+
['string', /"(?:\\.|[^"\\])*"/y],
|
|
38
|
+
['keyword', /\b(?:true|false|null)\b/y],
|
|
39
|
+
['number', /-?\b\d+(?:\.\d+)?\b/y],
|
|
40
|
+
],
|
|
41
|
+
};
|
|
42
|
+
rules.ts = rules.tsx.filter(([type]) => type !== 'tag' && type !== 'attr');
|
|
43
|
+
export const highlight = (code, language = 'text') => {
|
|
44
|
+
if (language === 'text' || !(language in rules))
|
|
45
|
+
return escape(code);
|
|
46
|
+
const active = rules[language];
|
|
47
|
+
let out = '';
|
|
48
|
+
let plain = '';
|
|
49
|
+
let index = 0;
|
|
50
|
+
while (index < code.length) {
|
|
51
|
+
let matched = false;
|
|
52
|
+
for (const [type, pattern] of active) {
|
|
53
|
+
pattern.lastIndex = index;
|
|
54
|
+
const match = pattern.exec(code);
|
|
55
|
+
if (match && match[0].length > 0) {
|
|
56
|
+
out += escape(plain) + `<span class="tok-${type}">${escape(match[0])}</span>`;
|
|
57
|
+
plain = '';
|
|
58
|
+
index += match[0].length;
|
|
59
|
+
matched = true;
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
if (!matched) {
|
|
64
|
+
const char = code[index];
|
|
65
|
+
// Bezeichner am Stück übernehmen, damit Schlüsselwörter nicht mitten im Wort greifen.
|
|
66
|
+
const word = /[A-Za-z0-9_$]/.test(char) ? /[A-Za-z0-9_$]+/y : null;
|
|
67
|
+
if (word) {
|
|
68
|
+
word.lastIndex = index;
|
|
69
|
+
const w = word.exec(code)[0];
|
|
70
|
+
plain += w;
|
|
71
|
+
index += w.length;
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
plain += char;
|
|
75
|
+
index += 1;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
return out + escape(plain);
|
|
80
|
+
};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Löst CSS-Farbausdrücke (Tokens mit light-dark()) im Kontext eines Elements in konkrete Hex-Werte auf.
|
|
3
|
+
* Nötig für KoliBri-Komponenten wie fink-badge, die Farben selbst auswerten (Kontrast) und keine
|
|
4
|
+
* CSS-Variablen akzeptieren.
|
|
5
|
+
*/
|
|
6
|
+
const toHex = (rgb) => {
|
|
7
|
+
const parts = (rgb ?? '').match(/[\d.]+/g)?.map(Number) ?? [0, 0, 0];
|
|
8
|
+
return `#${parts
|
|
9
|
+
.slice(0, 3)
|
|
10
|
+
.map((n) => Math.round(n).toString(16).padStart(2, '0'))
|
|
11
|
+
.join('')}`;
|
|
12
|
+
};
|
|
13
|
+
const parse = (rgb) => {
|
|
14
|
+
const [r, g, b] = (rgb ?? '').match(/[\d.]+/g)?.map(Number) ?? [0, 0, 0];
|
|
15
|
+
return [r, g, b];
|
|
16
|
+
};
|
|
17
|
+
export const resolveColor = (host, cssColor) => {
|
|
18
|
+
const root = host.shadowRoot ?? host;
|
|
19
|
+
const probe = document.createElement('span');
|
|
20
|
+
probe.style.color = cssColor;
|
|
21
|
+
probe.style.display = 'none';
|
|
22
|
+
root.appendChild(probe);
|
|
23
|
+
const value = getComputedStyle(probe).color;
|
|
24
|
+
probe.remove();
|
|
25
|
+
return toHex(value);
|
|
26
|
+
};
|
|
27
|
+
/** Mischt zwei Hex-Farben (Anteil der ersten in Prozent). */
|
|
28
|
+
export const mixHex = (a, b, percentA) => {
|
|
29
|
+
const ca = parse(`${parseInt(a.slice(1, 3), 16)} ${parseInt(a.slice(3, 5), 16)} ${parseInt(a.slice(5, 7), 16)}`);
|
|
30
|
+
const cb = parse(`${parseInt(b.slice(1, 3), 16)} ${parseInt(b.slice(3, 5), 16)} ${parseInt(b.slice(5, 7), 16)}`);
|
|
31
|
+
const p = percentA / 100;
|
|
32
|
+
return toHex(`rgb(${ca.map((v, i) => v * p + cb[i] * (1 - p)).join(',')})`);
|
|
33
|
+
};
|
|
34
|
+
const luminance = (hex) => {
|
|
35
|
+
const [r, g, b] = [1, 3, 5].map((i) => parseInt(hex.slice(i, i + 2), 16) / 255).map((v) => (v <= 0.03928 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4));
|
|
36
|
+
return 0.2126 * r + 0.7152 * g + 0.0722 * b;
|
|
37
|
+
};
|
|
38
|
+
/** Kontrastverhältnis zweier Hex-Farben nach WCAG. */
|
|
39
|
+
export const contrastRatio = (a, b) => {
|
|
40
|
+
const [hi, lo] = [luminance(a), luminance(b)].sort((x, y) => y - x);
|
|
41
|
+
return (hi + 0.05) / (lo + 0.05);
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Getönte Fläche für Text in der Tonfarbe: mischt bis zu `percent` Prozent der Tonfarbe in die Fläche,
|
|
45
|
+
* senkt den Anteil aber, bis der Text mindestens `minContrast` erreicht (WCAG 1.4.3). So bleiben auch
|
|
46
|
+
* helle Markenfarben (z. B. Magenta) als Textfarbe auf ihrer eigenen Tönung lesbar.
|
|
47
|
+
*/
|
|
48
|
+
export const tintFor = (foreground, surface, percent, minContrast = 4.5) => {
|
|
49
|
+
for (let p = percent; p > 0; p -= 1) {
|
|
50
|
+
const tint = mixHex(foreground, surface, p);
|
|
51
|
+
if (contrastRatio(foreground, tint) >= minContrast)
|
|
52
|
+
return tint;
|
|
53
|
+
}
|
|
54
|
+
return surface;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Beobachtet Änderungen, die aufgelöste Farben verändern können (Farbschema, Theme, Tokens am Dokument).
|
|
58
|
+
* Liefert eine Abmeldefunktion.
|
|
59
|
+
*/
|
|
60
|
+
export const onColorContextChange = (callback) => {
|
|
61
|
+
// Ohne Beobachter (Server-Rendering, Spec-Tests) gibt es keinen Kontextwechsel zu melden.
|
|
62
|
+
if (typeof MutationObserver === 'undefined' || typeof window.matchMedia !== 'function')
|
|
63
|
+
return () => { };
|
|
64
|
+
const media = window.matchMedia('(prefers-color-scheme: dark)');
|
|
65
|
+
const observer = new MutationObserver(callback);
|
|
66
|
+
observer.observe(document.documentElement, { attributes: true, attributeFilter: ['style', 'class', 'data-theme', 'data-kol-color-scheme'] });
|
|
67
|
+
media.addEventListener('change', callback);
|
|
68
|
+
return () => {
|
|
69
|
+
observer.disconnect();
|
|
70
|
+
media.removeEventListener('change', callback);
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/** Liest ein Prop, das als Array oder JSON-String übergeben werden kann. */
|
|
2
|
+
export const parseList = (value) => {
|
|
3
|
+
if (Array.isArray(value))
|
|
4
|
+
return value;
|
|
5
|
+
if (typeof value !== 'string' || value.trim() === '')
|
|
6
|
+
return [];
|
|
7
|
+
try {
|
|
8
|
+
const parsed = JSON.parse(value);
|
|
9
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
10
|
+
}
|
|
11
|
+
catch {
|
|
12
|
+
return [];
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export const formatBytes = (bytes) => {
|
|
16
|
+
if (bytes < 1024)
|
|
17
|
+
return `${bytes} B`;
|
|
18
|
+
if (bytes < 1024 * 1024)
|
|
19
|
+
return `${(bytes / 1024).toLocaleString('de-DE', { maximumFractionDigits: 0 })} KB`;
|
|
20
|
+
return `${(bytes / 1024 / 1024).toLocaleString('de-DE', { maximumFractionDigits: 1 })} MB`;
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
const insets = { top: new Map(), bottom: new Map() };
|
|
2
|
+
const apply = () => {
|
|
3
|
+
if (typeof document === 'undefined')
|
|
4
|
+
return;
|
|
5
|
+
const sum = (edge) => [...insets[edge].values()].reduce((a, b) => a + b, 0);
|
|
6
|
+
const root = document.documentElement;
|
|
7
|
+
const top = sum('top');
|
|
8
|
+
const bottom = sum('bottom');
|
|
9
|
+
root.style.scrollPaddingTop = top ? `${top}px` : '';
|
|
10
|
+
root.style.scrollPaddingBottom = bottom ? `${bottom}px` : '';
|
|
11
|
+
root.style.setProperty('--fink-viewport-inset-bottom', `${bottom}px`);
|
|
12
|
+
if (document.body)
|
|
13
|
+
document.body.style.paddingBottom = bottom ? `${bottom}px` : '';
|
|
14
|
+
};
|
|
15
|
+
/** Meldet die Höhe einer angehefteten Fläche an (0 oder undefined meldet ab). */
|
|
16
|
+
export const setViewportInset = (owner, edge, px) => {
|
|
17
|
+
if (px && px > 0)
|
|
18
|
+
insets[edge].set(owner, Math.ceil(px));
|
|
19
|
+
else
|
|
20
|
+
insets[edge].delete(owner);
|
|
21
|
+
apply();
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkAppShell extends Components.FinkAppShell, HTMLElement {}
|
|
4
|
+
export const FinkAppShell: {
|
|
5
|
+
prototype: FinkAppShell;
|
|
6
|
+
new (): FinkAppShell;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,t as e,H as i,c as n,h as t,d as o}from"./p-Ds-2xh8j.js";import{g as s,o as c,t as d}from"./p-KQw2tIyE.js";import{s as l}from"./p-DY84WS8v.js";const r=a(class extends i{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.finkNavToggle=n(this,"finkNavToggle"),this.finkNavCompactToggle=n(this,"finkNavCompactToggle")}locale=s();unsubscribeLanguage;wide=!0;wideQuery;onWideChange=()=>{this.wide=!!this.wideQuery?.matches,this.applyCompact()};connectedCallback(){this.unsubscribeLanguage=c((a=>this.locale=a)),"undefined"!=typeof window&&"function"==typeof window.matchMedia&&(this.wideQuery=window.matchMedia("(min-width: 960px)"),this.wideQuery.addEventListener("change",this.onWideChange),this.wide=this.wideQuery.matches)}disconnectedCallback(){this.unsubscribeLanguage?.(),this.wideQuery?.removeEventListener("change",this.onWideChange),this.resizeObserver?.disconnect(),l(this,"top")}get host(){return this}headerElement;resizeObserver;componentDidLoad(){!this._embedded&&this.headerElement&&"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>l(this,"top",(this.headerElement?.offsetHeight??0)+8))),this.resizeObserver.observe(this.headerElement))}mainElement;_label;_navLabel;_navOpen=!1;_embedded=!1;_navCompact=!1;finkNavToggle;finkNavCompactToggle;applyCompact(){const a=this.host.querySelector('[slot="nav"]');a&&"_hideLabel"in a&&(a._hideLabel=!!this._navCompact&&this.wide)}componentWillLoad(){this.applyCompact()}toggleCompact=()=>{this._navCompact=!this._navCompact,this.finkNavCompactToggle.emit(this._navCompact)};handleKeyDown(a){"Escape"===a.key&&this._navOpen&&(this.setNavOpen(!1),this.host.shadowRoot?.querySelector(".menu-toggle fink-button")?.focus())}setNavOpen(a){this._navOpen=a,a&&requestAnimationFrame((()=>{const a=this.host.querySelector('[slot="nav"]');a?.focus()})),this.finkNavToggle.emit(a)}skipToMain=a=>{a.preventDefault(),this.mainElement?.focus()};render(){const a=!!this._embedded,e=!!this._navOpen&&"undefined"!=typeof window&&window.matchMedia("(max-width: 959px)").matches,i=a?"div":"main",n=a?"div":"footer",s=!!this._navCompact&&this.wide;return t(o,{key:"c628014e95cf8be4911f55cbe5256ba14b03baec"},t(a?"div":"header",{key:"2fc5209cab1eaa6dbac4e53a21ec50bbe4f51877",class:"header",ref:a=>{this.headerElement=a}},!a&&t("a",{key:"f5f6da087ec3046885f8488ca1ff1be1a027af1c",class:"skip-link",href:"#main",onClick:this.skipToMain},d("appShell.skip")),t("span",{key:"aa52b05f3cfdbbc2910e5f1d1a8b7ec608dd45e0",class:"menu-toggle"},t("fink-button",{key:"deebc7b80649f3ed49b645f463cda74eb32f5cd1",_label:d(this._navOpen?"appShell.closeNav":"appShell.openNav"),_hideLabel:!0,_icons:this._navOpen?"codicon codicon-close":"codicon codicon-menu",_ariaExpanded:this._navOpen,_variant:"ghost",_on:{onClick:()=>this.setNavOpen(!this._navOpen)}})),t("div",{key:"2ea66787918c697976d1450449ce1a4670e87842",class:"brand"},t("slot",{key:"fcf83d0a326b63b4445501404d9070da30cfb54f",name:"brand"}),t("span",{key:"9e8fca1bb616a44404112c4d6f75409985520d1c",class:"label"},this._label)),t("div",{key:"778912b09fc902826462dbd926b243182e585d0a",class:"actions"},t("slot",{key:"e52b8fd0c1c6fdf77ec03f9c40ac0fc4c43bf907",name:"actions"}))),t("div",{key:"ae84ea687cd829b5806133ca6607a6c74dcb289e",class:{body:!0,"body--compact":s}},t("div",{key:"254b80ed3af5a8b39783ba88e8753de3bbe1a3c0",class:{nav:!0,"nav--open":!!this._navOpen,"nav--compact":s},"data-label":this._navLabel??d("appShell.nav")},this.wide&&t("span",{key:"58c5303f57120f4c7efd978dd79f98a431e73fb8",class:"compact-toggle"},t("fink-button",{key:"672f4d836af599e99c5eee6a793fc38488b3b82c",_label:d(s?"appShell.expandNav":"appShell.compactNav"),_hideLabel:!0,_icons:s?"codicon codicon-chevron-right":"codicon codicon-chevron-left",_ariaExpanded:!s,_tooltipAlign:"right",_variant:"ghost",_on:{onClick:this.toggleCompact}})),t("slot",{key:"daada1e9cd4a232c75c53fd6a14dd96d608a5adf",name:"nav",onSlotchange:()=>this.applyCompact()})),this._navOpen&&t("div",{key:"886b78bb264a1d57d92821496b3f9de1b9db8ec1",class:"backdrop","aria-hidden":"true",onClick:()=>this.setNavOpen(!1)}),t(i,{key:"f9461aa0cd20fed2c1530e796b3ce3665e75e7fd",class:"main",id:"main",inert:e,tabindex:a?void 0:"-1",ref:a=>{this.mainElement=a}},t("slot",{key:"162a9e8ae7b33ba89380a66084a25c062baf6a64"}),t(n,{key:"3d5bd4849ba0f1e972bb0befaa74da9fbad8d936",class:"footer"},t("slot",{key:"4dd459bc2b189402c811d47bfeac395fee651d59",name:"footer"})))))}static get watchers(){return{_navCompact:[{applyCompact:0}]}}static get style(){return":host{display:block;min-height:var(--fink-app-shell-min-height, 100dvh);background:transparent;--kol-surface:var(--fink-color-surface);color:var(--fink-color-text);font-family:var(--fink-font-family);--fink-app-shell-nav-width:17rem;--fink-app-shell-nav-compact-width:4.5rem;--fink-app-shell-header-height:4rem}*{box-sizing:border-box}.skip-link{position:absolute;left:var(--fink-space-4);top:-100px;z-index:100;padding:var(--fink-space-2) var(--fink-space-4);border-radius:var(--fink-radius-md);background:var(--fink-color-primary);color:var(--fink-color-light);font-weight:var(--fink-font-weight-medium)}.skip-link:focus{top:var(--fink-space-2)}.header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:var(--fink-space-3);min-height:var(--fink-app-shell-header-height);padding-inline:max(var(--fink-space-4), env(safe-area-inset-left)) max(var(--fink-space-4), env(safe-area-inset-right));background:var(--fink-color-light);--kol-surface:var(--fink-color-light);border-bottom:var(--fink-border-width) solid var(--fink-color-mute-variant)}.brand{display:flex;flex:1 1 auto;align-items:center;gap:var(--fink-space-2);min-width:0;font-size:var(--fink-type-scale-lg);font-weight:var(--fink-font-weight-bold);letter-spacing:-0.01em}::slotted([slot='brand']){flex:none}.label{min-width:0;padding-block:var(--fink-space-1);line-height:1.2;overflow-wrap:anywhere;hyphens:auto}.actions{display:flex;flex:none;align-items:center;gap:var(--fink-space-2);margin-inline-start:auto}.body{display:grid;grid-template-columns:var(--fink-app-shell-nav-width) minmax(0, 1fr)}.body--compact{grid-template-columns:var(--fink-app-shell-nav-compact-width) minmax(0, 1fr)}.compact-toggle{display:flex;justify-content:flex-end;margin-block-end:var(--fink-space-2)}.nav--compact{padding-inline:var(--fink-space-2)}.nav--compact .compact-toggle{justify-content:center}.nav{position:sticky;z-index:1;top:var(--fink-app-shell-header-height);height:calc(var(--fink-app-shell-min-height, 100dvh) - var(--fink-app-shell-header-height));overflow-y:auto;padding:var(--fink-space-4) var(--fink-space-3);background:var(--fink-color-light);--kol-surface:var(--fink-color-light);border-inline-end:var(--fink-border-width) solid var(--fink-color-mute-variant)}.main{display:flex;flex-direction:column;min-width:0;min-height:calc(var(--fink-app-shell-min-height, 100dvh) - var(--fink-app-shell-header-height));padding:var(--fink-space-6) clamp(var(--fink-space-4), 3vw, var(--fink-space-7)) max(var(--fink-space-6), env(safe-area-inset-bottom));padding-inline:max(clamp(var(--fink-space-4), 3vw, var(--fink-space-7)), env(safe-area-inset-left)) max(clamp(var(--fink-space-4), 3vw, var(--fink-space-7)), env(safe-area-inset-right));outline:none}.footer{margin-top:auto;padding-top:var(--fink-space-6);color:var(--fink-color-subtle);font-size:var(--fink-type-scale-sm)}.menu-toggle,.backdrop{display:none}@media (max-width: 959px){.menu-toggle{display:inline-flex}.body{grid-template-columns:minmax(0, 1fr)}.nav{position:fixed;inset:var(--fink-app-shell-header-height) auto 0 0;z-index:30;width:min(85vw, var(--fink-app-shell-nav-width));height:auto;padding-bottom:max(var(--fink-space-4), env(safe-area-inset-bottom));overscroll-behavior:contain;box-shadow:var(--fink-elevation-3);transform:translateX(-105%);transition:transform var(--fink-motion-duration-base) var(--fink-motion-easing);visibility:hidden}.nav--open{transform:none;visibility:visible}.backdrop{position:fixed;inset:var(--fink-app-shell-header-height) 0 0 0;z-index:25;display:block;background:var(--fink-color-backdrop)}}@media (max-width: 599px){:host{--fink-app-shell-header-height:3.5rem}.header{gap:var(--fink-space-2);padding-inline:max(var(--fink-space-2), env(safe-area-inset-left)) max(var(--fink-space-3), env(safe-area-inset-right))}.brand{font-size:var(--fink-type-scale-md)}.actions{gap:var(--fink-space-1)}.main{padding-top:var(--fink-space-5)}}@media (prefers-reduced-motion: reduce){.nav{transition:none}}"}},[769,"fink-app-shell",{_label:[1],_navLabel:[1,"_nav-label"],_navOpen:[1540,"_nav-open"],_embedded:[4],_navCompact:[1540,"_nav-compact"],locale:[32],wide:[32]},[[4,"keydown","handleKeyDown"]],{_navCompact:[{applyCompact:0}]}]),p=r,f=function(){"undefined"!=typeof customElements&&["fink-app-shell"].forEach((a=>{"fink-app-shell"===a&&(customElements.get(e(a))||customElements.define(e(a),r))}))};export{p as FinkAppShell,f as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkAvatarGroup extends Components.FinkAvatarGroup, HTMLElement {}
|
|
4
|
+
export const FinkAvatarGroup: {
|
|
5
|
+
prototype: FinkAvatarGroup;
|
|
6
|
+
new (): FinkAvatarGroup;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,H as t,h as r,t as e}from"./p-Ds-2xh8j.js";import{g as i,o as s,t as o}from"./p-KQw2tIyE.js";import{r as n,t as l,o as c}from"./p-BNxwDdo8.js";import{p as f}from"./p-0q_cDiSu.js";const d=["primary","info","success","warning","danger"],m=a=>[...a].reduce(((a,t)=>31*a+t.charCodeAt(0)>>>0),7),u=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow()}locale=i();unsubscribeLanguage;unsubscribeColors;get host(){return this}palette=[];updatePalette(){const a=n(this.host,"var(--fink-color-light)");this.palette=d.map((t=>{const r=n(this.host,`var(--fink-color-${t})`);return{backgroundColor:l(r,a,18),foregroundColor:r}}))}connectedCallback(){this.unsubscribeLanguage=s((a=>this.locale=a)),this.unsubscribeColors=c((()=>requestAnimationFrame((()=>this.updatePalette()))))}componentWillLoad(){this.updatePalette()}disconnectedCallback(){this.unsubscribeLanguage?.(),this.unsubscribeColors?.()}_label;_items;_max=4;_size="medium";render(){const a=f(this._items),t=Math.max(2,this._max??4),e=a.length>t?a.length-(t-1):0,i=e?a.slice(0,t-1):a,s=a.map((a=>a.label)).join(", ");return r("div",{key:"a00604cda9edc96b9593d6da370a618aae3f97bc",class:"group",role:"img","aria-label":o("avatarGroup.summary",{label:this._label,count:a.length,names:s}),title:s},i.map((a=>r("fink-avatar",{class:"avatar",_label:a.label,_src:a.src,_color:this.palette[m(a.label)%d.length],"aria-hidden":"true"}))),e>0&&r("span",{key:"74b0d9093185c086938d0a8fd13d68f7dc97ff57",class:"avatar more","aria-hidden":"true"},"+",e))}static get style(){return":host{display:inline-block;--fink-avatar-size:2.5rem;font-family:var(--fink-font-family)}:host([_size='small']){--fink-avatar-size:2rem}:host([_size='large']){--fink-avatar-size:3.25rem}*,*::before,*::after{box-sizing:border-box}.group{display:inline-flex;align-items:center;padding-inline-start:calc(var(--fink-avatar-size) * 0.2)}.avatar{width:var(--fink-avatar-size);height:var(--fink-avatar-size);margin-inline-start:calc(var(--fink-avatar-size) * -0.2);border-radius:50%;box-shadow:0 0 0 2px var(--kol-surface, var(--fink-color-light))}.more{display:inline-grid;place-items:center;background:var(--fink-color-mute);color:var(--fink-color-text);font-size:calc(var(--fink-avatar-size) * 0.36);font-weight:var(--fink-font-weight-bold)}"}},[513,"fink-avatar-group",{_label:[1],_items:[1],_max:[2],_size:[513],locale:[32],palette:[32]}]),h=u,p=function(){"undefined"!=typeof customElements&&["fink-avatar-group"].forEach((a=>{"fink-avatar-group"===a&&(customElements.get(e(a))||customElements.define(e(a),u))}))};export{h as FinkAvatarGroup,p as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkBackToTop extends Components.FinkBackToTop, HTMLElement {}
|
|
4
|
+
export const FinkBackToTop: {
|
|
5
|
+
prototype: FinkBackToTop;
|
|
6
|
+
new (): FinkBackToTop;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as o,H as t,h as i,t as e}from"./p-Ds-2xh8j.js";import{g as n,o as s,t as a}from"./p-KQw2tIyE.js";const r=o(class extends t{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}locale=n();unsubscribeLanguage;_threshold=400;_target;_position="fixed";visible=!1;onScroll=()=>{this.visible=window.scrollY>(this._threshold??400)};connectedCallback(){this.unsubscribeLanguage=s((o=>this.locale=o)),window.addEventListener("scroll",this.onScroll,{passive:!0}),this.onScroll()}disconnectedCallback(){this.unsubscribeLanguage?.(),window.removeEventListener("scroll",this.onScroll)}toTop=()=>{const o=window.matchMedia("(prefers-reduced-motion: reduce)").matches;window.scrollTo({top:0,behavior:o?"auto":"smooth"});const t=this._target&&document.querySelector(this._target)||document.querySelector("h1, main");t&&(t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),t.focus({preventScroll:!0}))};render(){const o="inline"===this._position||this.visible;return i("div",{key:"840d229f3adb63f758af88c34b77ece02c95393e",class:{wrap:!0,"wrap--visible":o},hidden:!o},i("fink-button",{key:"df400e615fe147872a65983df3dc8f528a0af976",class:"button",_label:a("backToTop.label"),_icons:"codicon codicon-arrow-up",_variant:"secondary",_on:{onClick:this.toTop}}))}static get style(){return":host{display:contents;font-family:var(--fink-font-family)}:host([_position='inline']){display:block}.wrap[hidden]{display:none}:host(:not([_position='inline'])) .wrap{position:fixed;right:max(var(--fink-space-5), env(safe-area-inset-right));bottom:max(var(--fink-space-5), env(safe-area-inset-bottom));z-index:40;animation:rise var(--fink-motion-duration-base) var(--fink-motion-easing)}.button{border-radius:var(--fink-radius-pill);box-shadow:var(--fink-elevation-2)}@keyframes rise{from{opacity:0;transform:translateY(8px)}}@media (prefers-reduced-motion: reduce){.wrap{animation:none}}"}},[513,"fink-back-to-top",{_threshold:[2],_target:[1],_position:[513],locale:[32],visible:[32]}]),c=r,d=function(){"undefined"!=typeof customElements&&["fink-back-to-top"].forEach((o=>{"fink-back-to-top"===o&&(customElements.get(e(o))||customElements.define(e(o),r))}))};export{c as FinkBackToTop,d as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkBarChart extends Components.FinkBarChart, HTMLElement {}
|
|
4
|
+
export const FinkBarChart: {
|
|
5
|
+
prototype: FinkBarChart;
|
|
6
|
+
new (): FinkBarChart;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as a,h as t,t as n}from"./p-Ds-2xh8j.js";import{g as r,o as i,t as o}from"./p-KQw2tIyE.js";import{p as s}from"./p-0q_cDiSu.js";const l=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}locale=r();unsubscribeLanguage;connectedCallback(){this.unsubscribeLanguage=i((e=>this.locale=e))}disconnectedCallback(){this.unsubscribeLanguage?.()}_label;_data;_labelHeader;_valueHeader;_unit;_max;_sorted=!1;format(e){const a=e.toLocaleString("en"===this.locale?"en-GB":"de-DE",{maximumFractionDigits:1});return this._unit?`${a} ${this._unit}`:a}render(){const e=s(this._data).filter((e=>Number.isFinite(Number(e.value)))),a=this._sorted?[...e].sort(((e,a)=>a.value-e.value)):e,n=this._max??Math.max(1,...a.map((e=>e.value)));return t("table",{key:"5e42ab30dd2e8a046d4c84319f2425e40cbfb1de",class:"chart"},t("caption",{key:"1133650b49475a50966b53af58f0891c63e716ea",class:"caption"},this._label),t("thead",{key:"ddc0af5386a4ce69d57b13a2ab09845100bb81fd",class:"visually-hidden"},t("tr",{key:"16d7f4dff922c1f07ade7e1d378fdec672805bbc"},t("th",{key:"82bb82b6dd7d70d329f4e23bdca0e42183beb58a",scope:"col"},this._labelHeader||o("barChart.labelHeader")),t("th",{key:"b6f4cfc0826285f25df0d26a7e5dcd0bf29aab0f",scope:"col"},this._valueHeader||o("barChart.valueHeader")))),t("tbody",{key:"3fea2aa6086b7df734e7e1554f789677e36b453d"},a.map((e=>t("tr",{class:{row:!0,["tone--"+(e.tone??"brand")]:!0}},t("th",{scope:"row",class:"label"},e.label),t("td",null,t("span",{class:"cell"},t("span",{class:"track","aria-hidden":"true"},t("span",{class:"bar",style:{width:Math.max(0,Math.min(100,e.value/n*100))+"%"}})),t("span",{class:"value"},this.format(e.value)))))))))}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}*,*::before,*::after{box-sizing:border-box}.chart{width:100%;border-collapse:collapse;font-size:var(--fink-type-scale-sm)}.caption{padding-bottom:var(--fink-space-3);font-size:var(--fink-type-scale-md);font-weight:var(--fink-font-weight-bold);text-align:start}.row{--tone:var(--fink-color-primary)}.tone--success{--tone:var(--fink-color-success)}.tone--warning{--tone:var(--fink-color-warning)}.tone--danger{--tone:var(--fink-color-danger)}.tone--info{--tone:var(--fink-color-info)}.tone--neutral{--tone:var(--fink-color-subtle)}.label{width:1%;padding:var(--fink-space-1) var(--fink-space-3) var(--fink-space-1) 0;font-weight:var(--fink-font-weight-medium);text-align:start;white-space:nowrap}.cell{display:flex;align-items:center;gap:var(--fink-space-2);padding:var(--fink-space-1) 0}.track{flex:1 1 auto;height:1.25rem;border-radius:var(--fink-radius-sm);background:var(--fink-color-mute);overflow:clip}.bar{display:block;height:100%;border-radius:var(--fink-radius-sm);background:var(--tone);transition:width var(--fink-motion-duration-base) var(--fink-motion-easing)}.value{flex:none;min-width:4.5rem;font-variant-numeric:tabular-nums;font-weight:var(--fink-font-weight-bold);text-align:end}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}@container (max-width: 24rem){.label{white-space:normal}}:host{container-type:inline-size}@media (prefers-reduced-motion: reduce){.bar{transition:none}}"}},[513,"fink-bar-chart",{_label:[1],_data:[1],_labelHeader:[1,"_label-header"],_valueHeader:[1,"_value-header"],_unit:[1],_max:[2],_sorted:[4],locale:[32]}]),c=l,d=function(){"undefined"!=typeof customElements&&["fink-bar-chart"].forEach((e=>{"fink-bar-chart"===e&&(customElements.get(n(e))||customElements.define(n(e),l))}))};export{c as FinkBarChart,d as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkBottomNav extends Components.FinkBottomNav, HTMLElement {}
|
|
4
|
+
export const FinkBottomNav: {
|
|
5
|
+
prototype: FinkBottomNav;
|
|
6
|
+
new (): FinkBottomNav;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as i,H as e,c as t,h as a,t as n}from"./p-Ds-2xh8j.js";import{g as o,o as r,t as s}from"./p-KQw2tIyE.js";import{p as l}from"./p-0q_cDiSu.js";const c=i(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.finkChange=t(this,"finkChange")}locale=o();unsubscribeLanguage;connectedCallback(){this.unsubscribeLanguage=r((i=>this.locale=i))}disconnectedCallback(){this.unsubscribeLanguage?.()}_items;_value;_label;finkChange;render(){const i=l(this._items);return a("nav",{key:"3ed4bd53fc85fbdb73c47bf39138fa66be79fb6a",class:"bar","aria-label":this._label??s("bottomNav.label")},a("ul",{key:"e245bc7a589040f1e0f7be8597924cb40e76a7b0"},i.map((i=>{const e=i.id===this._value,t=[a("span",{class:"indicator"},a("fink-icon",{_icons:i.icon,_label:""}),i.badge?a("span",{class:"badge","aria-hidden":"true"},i.badge>99?"99+":i.badge):null),a("span",{class:"label"},i.label,i.badge?a("span",{class:"visually-hidden"},", ",s("bottomNav.new",{count:i.badge})):null)],n=()=>{this._value=i.id,this.finkChange.emit(i.id)};return a("li",null,i.href?a("a",{class:{item:!0,"item--active":e},href:i.href,"aria-current":e?"page":void 0,onClick:n},t):a("button",{class:{item:!0,"item--active":e},type:"button","aria-current":e?"page":void 0,onClick:n},t))}))))}static get style(){return":host{display:block;font-family:var(--fink-font-family)}*,*::before,*::after{box-sizing:border-box}.bar{border-top:var(--fink-border-width) solid var(--fink-color-mute-variant);background:var(--fink-color-light)}ul{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;margin:0;padding:var(--fink-space-1) var(--fink-space-2) max(var(--fink-space-2), env(safe-area-inset-bottom));list-style:none}.item{display:grid;justify-items:center;gap:var(--fink-space-1);width:100%;min-height:3.5rem;padding:var(--fink-space-2) 0;border:0;background:none;color:var(--fink-color-subtle);font:inherit;font-size:var(--fink-type-scale-xs);font-weight:var(--fink-font-weight-medium);text-decoration:none;cursor:pointer}.indicator{position:relative;display:inline-grid;place-items:center;width:min(4rem, 100%);height:2rem;border-radius:var(--fink-radius-pill);font-size:1.25rem;transition:background-color var(--fink-motion-duration-fast) var(--fink-motion-easing)}.item:hover .indicator{background:var(--fink-color-mute)}.item--active{color:var(--fink-color-primary);font-weight:var(--fink-font-weight-bold)}.item--active .indicator{background:var(--fink-color-secondary)}.item:focus-visible{outline:3px solid var(--fink-color-primary);outline-offset:-3px;border-radius:var(--fink-radius-md)}.badge{position:absolute;top:-0.125rem;right:0.75rem;min-width:1.125rem;padding:0 0.25rem;border-radius:var(--fink-radius-pill);background:var(--fink-color-danger);color:var(--fink-color-light);font-size:0.6875rem;font-weight:var(--fink-font-weight-bold);line-height:1.125rem;text-align:center}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}"}},[513,"fink-bottom-nav",{_items:[1],_value:[1025],_label:[1],locale:[32]}]),d=c,f=function(){"undefined"!=typeof customElements&&["fink-bottom-nav"].forEach((i=>{"fink-bottom-nav"===i&&(customElements.get(n(i))||customElements.define(n(i),c))}))};export{d as FinkBottomNav,f as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkCalendar extends Components.FinkCalendar, HTMLElement {}
|
|
4
|
+
export const FinkCalendar: {
|
|
5
|
+
prototype: FinkCalendar;
|
|
6
|
+
new (): FinkCalendar;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,c as a,h as i,t as n}from"./p-Ds-2xh8j.js";import{g as r,o,t as s}from"./p-KQw2tIyE.js";import{p as d}from"./p-0q_cDiSu.js";let l=0;const c=864e5,h=e=>new Date(e).toISOString().slice(0,10),f=e=>{if(!e||!/^\d{4}-\d{2}-\d{2}$/.test(e))return;const[t,a,i]=e.split("-").map(Number);return Date.UTC(t,a-1,i)},b=()=>{const e=new Date;return Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())},u=e=>(new Date(e).getUTCDay()+6)%7,k=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.finkChange=a(this,"finkChange")}locale=r();unsubscribeLanguage;id="fink-calendar-"+ ++l;moveFocus=!1;get host(){return this}connectedCallback(){this.unsubscribeLanguage=o((e=>this.locale=e))}disconnectedCallback(){this.unsubscribeLanguage?.()}_label;_value;_min;_max;_disableWeekends=!1;_markers;_markerLabel;finkChange;focus=f(this._value)??b();onValue(e){const t=f(e);void 0!==t&&(this.focus=t)}componentWillLoad(){const e=f(this._value);void 0!==e&&(this.focus=e)}componentDidRender(){this.moveFocus&&(this.moveFocus=!1,this.host.shadowRoot?.querySelector('button.day[tabindex="0"]')?.focus())}disabled(e){const t=f(this._min),a=f(this._max);return void 0!==t&&e<t||void 0!==a&&e>a||!!this._disableWeekends&&u(e)>4}shiftMonth(e,t){const a=new Date(e),i=Date.UTC(a.getUTCFullYear(),a.getUTCMonth()+t,1),n=new Date(Date.UTC(a.getUTCFullYear(),a.getUTCMonth()+t+1,0)).getUTCDate();return i+(Math.min(a.getUTCDate(),n)-1)*c}choose(e){this.disabled(e)||(this._value=h(e),this.focus=e,this.finkChange.emit(this._value))}onKeyDown=e=>{const t=this.focus,a={ArrowLeft:()=>t-c,ArrowRight:()=>t+c,ArrowUp:()=>t-7*c,ArrowDown:()=>t+7*c,Home:()=>t-u(t)*c,End:()=>t+(6-u(t))*c,PageUp:()=>this.shiftMonth(t,e.shiftKey?-12:-1),PageDown:()=>this.shiftMonth(t,e.shiftKey?12:1)};a[e.key]?(e.preventDefault(),this.focus=a[e.key](),this.moveFocus=!0):"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),this.choose(this.focus))};render(){const e="en"===this.locale?"en-GB":"de-DE",t=new Date(this.focus),a=t.getUTCFullYear(),n=t.getUTCMonth(),r=Date.UTC(a,n,1),o=r-u(r)*c,l=Array.from({length:6},((e,t)=>Array.from({length:7},((e,a)=>o+(7*t+a)*c)))),k=new Intl.DateTimeFormat(e,{month:"long",year:"numeric",timeZone:"UTC"}).format(r),m=new Intl.DateTimeFormat(e,{weekday:"long",timeZone:"UTC"}),g=new Intl.DateTimeFormat(e,{weekday:"short",timeZone:"UTC"}),y=new Intl.DateTimeFormat(e,{weekday:"long",day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}),p=new Set(d(this._markers)),v=b(),w=f(this._value);return i("div",{key:"28192eebca7cfca8261d3ab284cf3ce5248b8384",class:"calendar",role:"group","aria-label":this._label},i("div",{key:"2d02c81c3f27bedad7a56a13443eb3e71cb8d9f4",class:"head"},i("fink-button",{key:"65a432dff195971818c9cef12a201dcbaf8089b6",_label:s("calendar.prev"),_hideLabel:!0,_icons:"codicon codicon-chevron-left",_variant:"ghost",_on:{onClick:()=>this.focus=this.shiftMonth(this.focus,-1)}}),i("h2",{key:"6836b6648e8bd602eed3a30147f2bab88ead3032",class:"title",id:this.id+"-title","aria-live":"polite"},k),i("fink-button",{key:"2f5504b3064dab8ef7b2365f21f3f45195d6ad4e",_label:s("calendar.next"),_hideLabel:!0,_icons:"codicon codicon-chevron-right",_variant:"ghost",_on:{onClick:()=>this.focus=this.shiftMonth(this.focus,1)}})),i("table",{key:"4a971c669c8ecb79151100714608e63c1260efcc",class:"grid",role:"grid","aria-labelledby":this.id+"-title",onKeyDown:this.onKeyDown},i("thead",{key:"46eadafd59723adb3ec3dffe51fe5b88c327d773"},i("tr",{key:"875a6bdd711e80edcc769c424fc68f672862b05b"},l[0].map((e=>i("th",{scope:"col",abbr:m.format(e)},g.format(e).replace(".","")))))),i("tbody",{key:"e5aae5e1f4b5f600d063a9cb8b96836da40c117b"},l.map((e=>i("tr",null,e.map((e=>{const t=new Date(e).getUTCMonth()!==n,a=this.disabled(e),r=e===w,o=p.has(h(e))&&!a;return i("td",{role:"gridcell","aria-selected":r?"true":"false"},i("button",{type:"button",class:{day:!0,"day--outside":t,"day--today":e===v,"day--selected":r,"day--marked":o},tabindex:e===this.focus?"0":"-1","aria-disabled":a?"true":void 0,"aria-current":e===v?"date":void 0,"aria-label":`${y.format(e)}${o&&this._markerLabel?", "+this._markerLabel:""}`,onClick:()=>this.choose(e),onFocus:()=>this.focus=e},new Date(e).getUTCDate()))}))))))),this._markerLabel&&p.size>0&&i("p",{key:"6c4edeed73a8b2b9beb73d20b7ae247855de7bad",class:"legend"},i("span",{key:"61fa7305bf4b87b7f012a801a1a1a79e98f4bb99",class:"dot","aria-hidden":"true"}),this._markerLabel))}static get watchers(){return{_value:[{onValue:0}]}}static get style(){return":host{display:block;max-width:22rem;font-family:var(--fink-font-family);color:var(--fink-color-text)}*,*::before,*::after{box-sizing:border-box}.calendar{display:grid;gap:var(--fink-space-2);padding:var(--fink-space-3);border:var(--fink-border-width) solid var(--fink-color-mute-variant);border-radius:var(--fink-radius-lg);background:var(--fink-color-light);--kol-surface:var(--fink-color-light)}.head{display:flex;align-items:center;justify-content:space-between;gap:var(--fink-space-2)}.title{margin:0;font-size:var(--fink-type-scale-md);font-weight:var(--fink-font-weight-bold)}.grid{width:100%;border-collapse:collapse;table-layout:fixed}th{padding-bottom:var(--fink-space-1);color:var(--fink-color-subtle);font-size:var(--fink-type-scale-xs);font-weight:var(--fink-font-weight-medium);text-align:center}td{padding:1px;text-align:center}.day{position:relative;display:inline-grid;place-items:center;width:100%;max-width:2.75rem;aspect-ratio:1;min-height:2.5rem;border:0;border-radius:50%;background:none;color:inherit;font:inherit;font-variant-numeric:tabular-nums;cursor:pointer}.day:hover{background:var(--fink-color-mute)}.day:focus-visible{outline:3px solid var(--fink-color-primary);outline-offset:1px}.day--outside{color:var(--fink-color-subtle)}.day--today{box-shadow:inset 0 0 0 2px var(--fink-color-primary);font-weight:var(--fink-font-weight-bold)}.day--selected,.day--selected:hover{background:var(--fink-color-primary);color:var(--fink-color-light);font-weight:var(--fink-font-weight-bold)}.day[aria-disabled='true']{color:var(--fink-color-subtle);text-decoration:line-through;opacity:0.6;cursor:not-allowed}.day[aria-disabled='true']:hover{background:none}.day--marked::after,.dot{content:'';width:0.375rem;height:0.375rem;border-radius:50%;background:var(--fink-color-success)}.day--marked::after{position:absolute;bottom:0.25rem;left:50%;transform:translateX(-50%)}.day--selected.day--marked::after{background:var(--fink-color-light)}.legend{display:flex;align-items:center;gap:var(--fink-space-2);margin:0;color:var(--fink-color-subtle);font-size:var(--fink-type-scale-sm)}.dot{display:inline-block}"}},[513,"fink-calendar",{_label:[1],_value:[1537],_min:[1],_max:[1],_disableWeekends:[4,"_disable-weekends"],_markers:[1],_markerLabel:[1,"_marker-label"],locale:[32],focus:[32]},void 0,{_value:[{onValue:0}]}]),m=k,g=function(){"undefined"!=typeof customElements&&["fink-calendar"].forEach((e=>{"fink-calendar"===e&&(customElements.get(n(e))||customElements.define(n(e),k))}))};export{m as FinkCalendar,g as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkCarousel extends Components.FinkCarousel, HTMLElement {}
|
|
4
|
+
export const FinkCarousel: {
|
|
5
|
+
prototype: FinkCarousel;
|
|
6
|
+
new (): FinkCarousel;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as i,h as o,t}from"./p-Ds-2xh8j.js";import{g as a,o as s,t as r}from"./p-KQw2tIyE.js";const n=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}locale=a();unsubscribeLanguage;viewport;observer;timer;get host(){return this}_label;_perView=1;_autoplay=0;index=0;count=0;playing=!1;hovered=!1;connectedCallback(){this.unsubscribeLanguage=s((e=>this.locale=e)),this.playing=(this._autoplay??0)>0&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches}componentDidLoad(){this.setupSlides(),this.schedule()}disconnectedCallback(){this.unsubscribeLanguage?.(),this.observer?.disconnect(),window.clearTimeout(this.timer)}slides(){return Array.from(this.host.children)}setupSlides=()=>{const e=this.slides();this.count=e.length,e.forEach(((i,o)=>{"div"!==i.localName&&"span"!==i.localName||i.setAttribute("role","group"),i.setAttribute("aria-roledescription",r("carousel.slide")),i.setAttribute("aria-label",r("carousel.position",{index:o+1,count:e.length}))})),this.observer?.disconnect(),this.observer=new IntersectionObserver((i=>{const o=i.filter((e=>e.isIntersecting&&e.intersectionRatio>.6)).map((i=>e.indexOf(i.target)));o.length&&(this.index=Math.min(...o))}),{root:this.viewport,threshold:[.6]}),e.forEach((e=>this.observer.observe(e)))};go(e){const i=this.slides();if(!i.length)return;const o=(e+i.length)%i.length,t=window.matchMedia("(prefers-reduced-motion: reduce)").matches,a=this.viewport;if(a){const e=a.scrollLeft+i[o].getBoundingClientRect().left-a.getBoundingClientRect().left;a.scrollTo({left:e,behavior:t?"auto":"smooth"})}this.index=o}schedule(){window.clearTimeout(this.timer),this.playing&&!this.hovered&&this._autoplay&&(this.timer=window.setTimeout((()=>{this.go(this.index+1),this.schedule()}),this._autoplay))}componentDidUpdate(){this.schedule()}handlePause(){this.hovered=!0}handleResume(){this.hovered=!1}render(){const e=Math.max(1,this._perView??1);return o("section",{key:"d9266d97f8e82268c1d79282b85dc7f0a007d603",class:"carousel","aria-roledescription":r("carousel.carousel"),"aria-label":this._label,style:{"--per-view":e+""}},o("div",{key:"20aa0c312dfd7e35ed463a5f4a8a31ddfd224a71",class:"controls"},(this._autoplay??0)>0&&o("fink-button",{key:"d1950b1653660420f1941b63cbbc82e19f405086",_label:r(this.playing?"carousel.pause":"carousel.play"),_hideLabel:!0,_icons:this.playing?"codicon codicon-debug-pause":"codicon codicon-play",_variant:"ghost",_on:{onClick:()=>this.playing=!this.playing}}),o("span",{key:"c28a380c79644bb9f5ecc9ff3404e7d0841e9d29",class:"counter","aria-hidden":"true"},this.index+1," / ",this.count),o("fink-button",{key:"a4554ab1be42f2f6507016ee889eb7c38f1856d1",_label:r("carousel.prev"),_hideLabel:!0,_icons:"codicon codicon-chevron-left",_variant:"secondary",_on:{onClick:()=>this.go(this.index-1)}}),o("fink-button",{key:"c742ad9b5be158fbfb65146c1849d8172f06db05",_label:r("carousel.next"),_hideLabel:!0,_icons:"codicon codicon-chevron-right",_variant:"secondary",_on:{onClick:()=>this.go(this.index+1)}})),o("div",{key:"1c98d357733ad20801387782f8cf5621b346b717",class:"viewport",ref:e=>this.viewport=e,role:"region","aria-label":r("carousel.slides"),tabindex:"0","aria-live":this.playing?"off":"polite"},o("slot",{key:"f69e2bcd5d84cb6577c08b9d1559be023e482b74",onSlotchange:this.setupSlides})),this.count>1&&o("div",{key:"3297cc69b862311eb1ece7078b7436d6c2a1aa7a",class:"dots",role:"group","aria-label":r("carousel.choose")},Array.from({length:this.count},((e,i)=>o("button",{type:"button",class:{dot:!0,"dot--active":i===this.index},"aria-label":r("carousel.goTo",{index:i+1}),"aria-current":i===this.index?"true":void 0,onClick:()=>this.go(i)})))))}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}*,*::before,*::after{box-sizing:border-box}.carousel{display:grid;gap:var(--fink-space-3)}.controls{display:flex;align-items:center;justify-content:flex-end;gap:var(--fink-space-2)}.counter{margin-inline-end:auto;color:var(--fink-color-subtle);font-size:var(--fink-type-scale-sm);font-variant-numeric:tabular-nums}.viewport{display:grid;grid-auto-columns:calc((100% - (var(--per-view) - 1) * var(--fink-space-4)) / var(--per-view));grid-auto-flow:column;gap:var(--fink-space-4);overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--fink-radius-lg)}.viewport:focus-visible{outline:3px solid var(--fink-color-primary);outline-offset:2px}.viewport::-webkit-scrollbar{display:none}::slotted(*){min-width:0;scroll-snap-align:start}@media (max-width: 640px){.viewport{grid-auto-columns:88%}}.dots{display:flex;justify-content:center;gap:var(--fink-space-1)}.dot{position:relative;width:1.75rem;height:1.75rem;padding:0;border:0;background:none;cursor:pointer}.dot::before{content:'';position:absolute;inset:50% auto auto 50%;width:0.5rem;height:0.5rem;border-radius:var(--fink-radius-pill);background:var(--fink-color-mute-variant);transform:translate(-50%, -50%);transition:width var(--fink-motion-duration-fast) var(--fink-motion-easing)}.dot--active::before{width:1.25rem;background:var(--fink-color-primary)}.dot:focus-visible{outline:3px solid var(--fink-color-primary);border-radius:var(--fink-radius-pill)}@media (prefers-reduced-motion: reduce){.viewport{scroll-behavior:auto}.dot::before{transition:none}}"}},[769,"fink-carousel",{_label:[1],_perView:[2,"_per-view"],_autoplay:[2],locale:[32],index:[32],count:[32],playing:[32],hovered:[32]},[[1,"mouseenter","handlePause"],[0,"focusin","handlePause"],[1,"mouseleave","handleResume"],[0,"focusout","handleResume"]]]),c=n,l=function(){"undefined"!=typeof customElements&&["fink-carousel"].forEach((e=>{"fink-carousel"===e&&(customElements.get(t(e))||customElements.define(t(e),n))}))};export{c as FinkCarousel,l as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkChip extends Components.FinkChip, HTMLElement {}
|
|
4
|
+
export const FinkChip: {
|
|
5
|
+
prototype: FinkChip;
|
|
6
|
+
new (): FinkChip;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{F as s,d as o}from"./p-CTRwSsSD.js";const p=s,r=o;export{p as FinkChip,r as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkCodeBlock extends Components.FinkCodeBlock, HTMLElement {}
|
|
4
|
+
export const FinkCodeBlock: {
|
|
5
|
+
prototype: FinkCodeBlock;
|
|
6
|
+
new (): FinkCodeBlock;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as t,h as a,t as i}from"./p-Ds-2xh8j.js";import{g as o,o as n,t as s}from"./p-KQw2tIyE.js";import{p as r}from"./p-0q_cDiSu.js";const c=e=>e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l={tsx:[["comment",/\/\/[^\n]*|\/\*[\s\S]*?\*\//y],["string",/`(?:\\.|[^`\\])*`|'(?:\\.|[^'\\\n])*'|"(?:\\.|[^"\\\n])*"/y],["tag",/<\/?[A-Za-z][\w.-]*|\/?>/y],["attr",/\b[_a-zA-Z][\w-]*(?==)/y],["keyword",RegExp("\\b(?:as|async|await|break|case|catch|class|const|continue|default|delete|do|else|enum|export|extends|false|finally|for|from|function|if|implements|import|in|instanceof|interface|let|new|null|of|private|protected|public|readonly|return|static|super|switch|this|throw|true|try|type|typeof|undefined|var|void|while|yield)\\b","y")],["type",/\b[A-Z][A-Za-z0-9]*\b/y],["number",/\b\d[\d_.]*\b/y],["function",/\b[a-zA-Z_$][\w$]*(?=\()/y]],ts:[],html:[["comment",/<!--[\s\S]*?-->/y],["tag",/<\/?[A-Za-z][\w-]*|\/?>/y],["attr",/\b[_a-zA-Z:@][\w:.-]*(?==)/y],["string",/"[^"]*"|'[^']*'/y]],css:[["comment",/\/\*[\s\S]*?\*\//y],["string",/"[^"]*"|'[^']*'/y],["keyword",/@[\w-]+/y],["attr",/--?[a-zA-Z][\w-]*(?=\s*:)|\b[a-z-]+(?=\s*:)/y],["function",/\b[a-z-]+(?=\()/y],["number",/-?\b\d+(?:\.\d+)?(?:px|rem|em|%|ms|s|dvh|vw|vh)?\b|#[0-9a-fA-F]{3,8}\b/y]],bash:[["comment",/#[^\n]*/y],["string",/"(?:\\.|[^"\\])*"|'[^']*'/y],["keyword",/\b(?:pnpm|npm|npx|yarn|git|cd|export)\b/y],["attr",/\s--?[a-zA-Z][\w-]*/y]],json:[["attr",/"(?:\\.|[^"\\])*"(?=\s*:)/y],["string",/"(?:\\.|[^"\\])*"/y],["keyword",/\b(?:true|false|null)\b/y],["number",/-?\b\d+(?:\.\d+)?\b/y]]};l.ts=l.tsx.filter((([e])=>"tag"!==e&&"attr"!==e));const d=(e,t="text")=>{if("text"===t||!(t in l))return c(e);const a=l[t];let i="",o="",n=0;for(;n<e.length;){let t=!1;for(const[s,r]of a){r.lastIndex=n;const a=r.exec(e);if(a&&a[0].length>0){i+=c(o)+`<span class="tok-${s}">${c(a[0])}</span>`,o="",n+=a[0].length,t=!0;break}}if(!t){const t=e[n],a=/[A-Za-z0-9_$]/.test(t)?/[A-Za-z0-9_$]+/y:null;if(a){a.lastIndex=n;const t=a.exec(e)[0];o+=t,n+=t.length}else o+=t,n+=1}}return i+c(o)};let f=0;const b=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}locale=o();get host(){return this}narrow=!1;unsubscribeLanguage;resizeObserver;connectedCallback(){this.unsubscribeLanguage=n((e=>this.locale=e)),"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((([e])=>{const t=e.contentRect.width<480;t!==this.narrow&&(this.narrow=t)})),this.resizeObserver.observe(this.host))}disconnectedCallback(){this.unsubscribeLanguage?.(),this.resizeObserver?.disconnect()}id="fink-code-"+ ++f;_code;_language="tsx";_filename;_tabs;_lineNumbers=!1;_maxHeight;active=0;copied=!1;get tabs(){const e=r(this._tabs);return e.length?e:[{label:this._filename??this._language??"Code",code:this._code??"",language:this._language,filename:this._filename}]}async copy(e){try{await navigator.clipboard.writeText(e),this.copied=!0,window.setTimeout((()=>this.copied=!1),1800)}catch{this.copied=!1}}onTabKey(e,t){const a={ArrowRight:1,ArrowLeft:-1};if(!(e.key in a)&&"Home"!==e.key&&"End"!==e.key)return;e.preventDefault();const i="Home"===e.key?0:"End"===e.key?t-1:(this.active+a[e.key]+t)%t;this.active=i;const o=e.currentTarget.getRootNode();o.getElementById(`${this.id}-tab-${i}`)?.focus()}render(){const e=this.tabs,t=Math.min(this.active,e.length-1),i=e[t],o=i.code.replace(/^\n+|\s+$/g,""),n=o.split("\n"),r=e.length>1;return a("div",{key:"b777de75d57bbb4d59bca553feda1f98ddbdf257",class:"block"},a("div",{key:"51bbe61a5d5cf6979d37d0a53f3419fc7fa9c3a6",class:"bar"},r?a("div",{class:"tabs",role:"tablist","aria-label":s("codeBlock.variants")},e.map(((i,o)=>a("button",{id:`${this.id}-tab-${o}`,class:{tab:!0,"tab--active":o===t},type:"button",role:"tab","aria-selected":o===t?"true":"false","aria-controls":this.id+"-panel",tabindex:o===t?0:-1,onClick:()=>this.active=o,onKeyDown:t=>this.onTabKey(t,e.length)},i.label)))):a("span",{class:"filename"},i.filename??i.language),r&&i.filename&&a("span",{key:"0b46fa56fd017bdf2c0beabe11fedadbd4d5b304",class:"filename filename--secondary"},i.filename),a("fink-button",{key:"7e1cc277d09862597712add13c9eceb424addcad",class:"copy",_label:s(this.copied?"codeBlock.copied":"codeBlock.copy"),_icons:this.copied?"codicon codicon-check":"codicon codicon-copy",_hideLabel:this.narrow,_variant:"ghost",_on:{onClick:()=>this.copy(o)}}),a("span",{key:"71b71ca21d41edd91124d9e5b585565b02817cd8",class:"visually-hidden",role:"status"},this.copied?s("codeBlock.status"):"")),a("pre",{key:"a335501542e1ee5f3acf3cc0ac0d57fda595892f",id:this.id+"-panel",class:{pre:!0,"pre--numbers":!!this._lineNumbers},role:r?"tabpanel":"region","aria-labelledby":r?`${this.id}-tab-${t}`:void 0,"aria-label":r?void 0:s("codeBlock.region",{name:i.filename??i.language}),tabindex:"0",style:this._maxHeight?{maxHeight:this._maxHeight}:void 0},this._lineNumbers&&a("span",{key:"d02e9bfbd90544dbadd62e86b6fb626700338f38",class:"numbers","aria-hidden":"true"},n.map(((e,t)=>a("span",null,t+1)))),a("code",{key:"ee370b535ca0e9bdb5c9e7f09614a155cfa950f0",innerHTML:d(o,i.language??"tsx")})))}static get style(){return":host{display:block;font-family:var(--fink-font-family);--code-bg:#16152a;--code-fg:#e6e4f5;--code-muted:#9c99b8;--code-line:#2a2846}*,*::before,*::after{box-sizing:border-box}.block{--kol-surface:var(--code-bg);border-radius:var(--fink-radius-md);background:var(--code-bg);color:var(--code-fg);overflow:clip}.bar{display:flex;align-items:center;gap:var(--fink-space-3);min-height:2.75rem;padding:0 var(--fink-space-2) 0 var(--fink-space-3);border-bottom:1px solid var(--code-line)}.tabs{display:flex;align-self:stretch;gap:var(--fink-space-1);min-width:0;overflow-x:auto;scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}.tab{position:relative;padding:0 var(--fink-space-3);border:0;background:none;color:var(--code-muted);font:inherit;font-size:var(--fink-type-scale-sm);font-weight:var(--fink-font-weight-medium);white-space:nowrap;cursor:pointer}.tab:hover{color:var(--code-fg)}.tab--active{color:var(--code-fg)}.tab--active::after{content:'';position:absolute;inset:auto var(--fink-space-2) 0;height:2px;border-radius:2px;background:#b7b0ff}.filename{color:var(--code-muted);font-family:var(--fink-font-family-mono);font-size:var(--fink-type-scale-xs)}.filename--secondary{margin-inline-start:var(--fink-space-2)}.copy{flex:none;margin-inline-start:auto;--kolibri-color-primary:#b7b0ff;--kolibri-color-primary-variant:#d6d2ff;--kolibri-color-light:var(--code-bg);--kolibri-color-text:var(--code-fg);color-scheme:dark}.tab:focus-visible,.pre:focus-visible{outline:2px solid #b7b0ff;outline-offset:-2px}.pre{display:flex;margin:0;padding:var(--fink-space-4) 0;overflow:auto;font-family:var(--fink-font-family-mono);font-size:0.8125rem;line-height:1.65;tab-size:2}code{flex:1 0 auto;padding:0 var(--fink-space-5);font:inherit;white-space:pre}.numbers{display:grid;flex:none;padding:0 var(--fink-space-3) 0 var(--fink-space-4);border-inline-end:1px solid var(--code-line);color:#5f5c80;text-align:end;user-select:none}:host{container-type:inline-size}@container (max-width: 30rem){.filename--secondary{display:none}.tab{padding-inline:var(--fink-space-2)}code{padding-inline:var(--fink-space-4)}}.tok-comment{color:#8d8aa8;font-style:italic}.tok-string{color:#a5e3b7}.tok-keyword{color:#c9a7ff}.tok-tag{color:#8cc4ff}.tok-attr{color:#ffd58a}.tok-type{color:#7fe3e0}.tok-number{color:#ffab91}.tok-function{color:#9fb7ff}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}"}},[513,"fink-code-block",{_code:[1],_language:[1],_filename:[1],_tabs:[1],_lineNumbers:[4,"_line-numbers"],_maxHeight:[1,"_max-height"],locale:[32],narrow:[32],active:[32],copied:[32]}]),p=b,h=function(){"undefined"!=typeof customElements&&["fink-code-block"].forEach((e=>{"fink-code-block"===e&&(customElements.get(i(e))||customElements.define(i(e),b))}))};export{p as FinkCodeBlock,h as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkConsentBanner extends Components.FinkConsentBanner, HTMLElement {}
|
|
4
|
+
export const FinkConsentBanner: {
|
|
5
|
+
prototype: FinkConsentBanner;
|
|
6
|
+
new (): FinkConsentBanner;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as i,c as a,h as n,d as s,t}from"./p-Ds-2xh8j.js";import{g as o,o as r,t as c}from"./p-KQw2tIyE.js";import{p as d}from"./p-0q_cDiSu.js";import{s as l}from"./p-DY84WS8v.js";const f=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.finkConsent=a(this,"finkConsent")}locale=o();unsubscribeLanguage;get host(){return this}resizeObserver;connectedCallback(){this.unsubscribeLanguage=r((e=>this.locale=e))}componentDidLoad(){"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver((()=>this.updateInset())),this.resizeObserver.observe(this.host)),this.updateInset()}disconnectedCallback(){this.unsubscribeLanguage?.(),this.resizeObserver?.disconnect(),l(this,"bottom")}updateInset(){const e=this._open&&"fixed"===(this._position??"fixed"),i=e?window.innerHeight-this.host.getBoundingClientRect().top:0;l(this,"bottom",e?i+8:0)}_heading;_description;_categories;_open=!0;_position="fixed";selected=[];finkConsent;get categories(){const e=d(this._categories);return e.length?e:[{id:"necessary",label:c("consent.necessary"),description:c("consent.necessaryHint"),required:!0},{id:"statistics",label:c("consent.statistics"),description:c("consent.statisticsHint")},{id:"comfort",label:c("consent.comfort"),description:c("consent.comfortHint")}]}decide(e){const i=this.categories.filter((e=>e.required)).map((e=>e.id));this.finkConsent.emit([...new Set([...i,...e])]),this._open=!1}toggle(e,i){this.selected=i?[...this.selected,e]:this.selected.filter((i=>i!==e))}render(){const e=this.categories;return n(s,{key:"8633eb7e47fd9624464224215dc976fb10983cdd",hidden:!this._open},n("section",{key:"2b8579b9af06dfe8bfe5a01103685b3a834a8590",class:"banner","aria-label":this._heading??c("consent.heading")},n("div",{key:"ba7580aca9481b3ea797833d0a60d2a9a986130a",class:"text"},n("fink-heading",{key:"d2294d8bed025e4a58dc382cd13966427c44520d",class:"heading",_label:this._heading??c("consent.heading"),_level:2}),n("p",{key:"5ca404106e6e973f3aaba1b49afb4e1d1881281f",class:"description"},this._description??c("consent.description"))),n("fink-details",{key:"c7ca6ba356b66c7836ad1783270187a6ab9d79f5",class:"settings",_label:c("consent.settings"),_level:0},n("fieldset",{key:"4ac3be50a3ee496268a2ecf89fce2164dd6d9a18",class:"categories"},n("legend",{key:"ea86e9802af42bbd913a0806540350b917b79f59",class:"visually-hidden"},c("consent.categories")),e.map((e=>n("fink-input-checkbox",{_label:e.label,_hint:e.description,_variant:"switch",_checked:e.required||this.selected.includes(e.id),_disabled:e.required,_on:{onChange:(i,a)=>this.toggle(e.id,!!a)}}))))),n("div",{key:"c87efa3408c7ead0adba17bfa93a44e148503fe4",class:"actions"},n("fink-button",{key:"594864194a11773b7fa71523357089bc2d73b3bd",_label:c("consent.acceptAll"),_variant:"primary",_on:{onClick:()=>this.decide(e.map((e=>e.id)))}}),n("fink-button",{key:"84a99b4646296580ba50296343ab119084e00499",_label:c("consent.necessaryOnly"),_variant:"primary",_on:{onClick:()=>this.decide([])}}),n("fink-button",{key:"4d0b21b8f708badf6860abbed66497d375943775",_label:c("consent.save"),_variant:"secondary",_on:{onClick:()=>this.decide(this.selected)}}))))}static get watchers(){return{_open:[{updateInset:0}],_position:[{updateInset:0}]}}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}:host([hidden]){display:none}:host([_position='fixed']){position:fixed;inset:auto var(--fink-space-4) max(var(--fink-space-4), env(safe-area-inset-bottom)) var(--fink-space-4);z-index:1000;max-width:56rem;max-height:calc(100dvh - 2 * var(--fink-space-4));margin-inline:auto;overflow-y:auto;overscroll-behavior:contain;border-radius:var(--fink-radius-lg)}@media (max-width: 599px){:host([_position='fixed']){inset-inline:var(--fink-space-2);bottom:max(var(--fink-space-2), env(safe-area-inset-bottom))}.banner{padding:var(--fink-space-4)}}*,*::before,*::after{box-sizing:border-box}.banner{--kol-surface:var(--fink-color-overlay);display:grid;gap:var(--fink-space-4);padding:var(--fink-space-5);border:var(--fink-border-width) solid var(--fink-color-mute-variant);border-radius:var(--fink-radius-lg);background:var(--fink-color-overlay);box-shadow:var(--fink-elevation-3)}.heading{margin:0 0 var(--fink-space-2);font-size:var(--fink-type-scale-lg)}.description{margin:0;color:var(--fink-color-subtle);line-height:1.5}.categories{display:grid;gap:var(--fink-space-3);margin:0;padding:var(--fink-space-4);border:0;border-radius:var(--fink-radius-md);background:var(--fink-color-mute);--kol-surface:var(--fink-color-mute)}.actions{display:flex;flex-wrap:wrap;gap:var(--fink-space-2)}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}"}},[513,"fink-consent-banner",{_heading:[1],_description:[1],_categories:[1],_open:[1540],_position:[513],locale:[32],selected:[32]},void 0,{_open:[{updateInset:0}],_position:[{updateInset:0}]}]),b=f,p=function(){"undefined"!=typeof customElements&&["fink-consent-banner"].forEach((e=>{"fink-consent-banner"===e&&(customElements.get(t(e))||customElements.define(t(e),f))}))};export{b as FinkConsentBanner,p as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkDivider extends Components.FinkDivider, HTMLElement {}
|
|
4
|
+
export const FinkDivider: {
|
|
5
|
+
prototype: FinkDivider;
|
|
6
|
+
new (): FinkDivider;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as i,H as e,h as r,d,t}from"./p-Ds-2xh8j.js";const a=i(class extends e{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow()}_label;_orientation="horizontal";_variant="full";_align="center";render(){const i="vertical"===this._orientation;return r(d,{key:"814ba37f6ae4d3893e5a799dfeb9523f1836e888",role:this._label?"separator":"presentation","aria-orientation":this._label&&i?"vertical":void 0,"aria-label":this._label||void 0},r("div",{key:"5e4746bd77e5675f3c553c0194e41e70b5946029",class:{divider:!0,["divider--"+(this._variant??"full")]:!0,"divider--vertical":i,"divider--labelled":!!this._label,["divider--"+(this._align??"center")]:!0}},this._label&&r("span",{key:"ad910ba9d3759354d8166890781c45e4c0c8b90e",class:"label","aria-hidden":"true"},this._label)))}static get style(){return":host{display:block;--fink-divider-color:var(--fink-color-mute-variant);color:var(--fink-color-subtle);font-family:var(--fink-font-family);font-size:var(--fink-type-scale-sm)}:host([_orientation='vertical']){display:inline-block;align-self:stretch;min-height:1.5rem}*,*::before,*::after{box-sizing:border-box}.divider{display:flex;align-items:center;gap:var(--fink-space-3);width:100%}.divider::before,.divider::after{content:'';flex:1 1 0;border-top:var(--fink-border-width) solid var(--fink-divider-color)}.divider:not(.divider--labelled)::after{display:none}.divider--start::before,.divider--end::after{flex:0 0 var(--fink-space-4)}.divider--inset{padding-inline-start:4.5rem}.divider--middle{padding-inline:var(--fink-space-4)}.divider--vertical{flex-direction:column;width:auto;height:100%}.divider--vertical::before,.divider--vertical::after{border-top:0;border-inline-start:var(--fink-border-width) solid var(--fink-divider-color)}.divider--vertical.divider--middle{padding-inline:0;padding-block:var(--fink-space-2)}.label{flex:none;white-space:nowrap}"}},[513,"fink-divider",{_label:[1],_orientation:[513],_variant:[513],_align:[1]}]),n=a,l=function(){"undefined"!=typeof customElements&&["fink-divider"].forEach((i=>{"fink-divider"===i&&(customElements.get(t(i))||customElements.define(t(i),a))}))};export{n as FinkDivider,l as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkEmptyState extends Components.FinkEmptyState, HTMLElement {}
|
|
4
|
+
export const FinkEmptyState: {
|
|
5
|
+
prototype: FinkEmptyState;
|
|
6
|
+
new (): FinkEmptyState;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as a,h as i,t}from"./p-Ds-2xh8j.js";const s=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}_heading;_description;_icons="codicon codicon-search";_level=2;render(){return i("section",{key:"e6ab236a44a89c951d91eaf93583f0aa9dfeb4ff",class:"empty"},this._icons&&i("span",{key:"89eb0f8900c121bbf2c277ed2a5eb773c793525a",class:"icon"},i("fink-icon",{key:"b4c778e20ca26ffbfc2211aa9270b822198309a5",_icons:this._icons,_label:""})),i("fink-heading",{key:"e6936753f6b39567e3a03eedc3e0aaec70a6eeb2",class:"heading",_label:this._heading,_level:this._level}),this._description&&i("p",{key:"b3aa9a99f5ac49766f542b5c3f6eaf3f0997169c",class:"description"},this._description),i("div",{key:"7b1eed826843cdfca254ed0d45882673e7743b58",class:"actions"},i("slot",{key:"b097f1554f4952dae79bf838a4a1035bd9969ecf"})))}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}.empty{display:grid;justify-items:center;gap:var(--fink-space-3);padding:var(--fink-space-7) var(--fink-space-5);border:2px dashed var(--fink-color-mute-variant);border-radius:var(--fink-radius-lg);text-align:center}.icon{display:inline-grid;place-items:center;width:3.5rem;height:3.5rem;border-radius:50%;background:var(--fink-color-secondary);color:var(--fink-color-primary);font-size:1.75rem}.heading{font-size:var(--fink-type-scale-lg)}.description{max-width:48ch;margin:0;color:var(--fink-color-subtle);line-height:1.5}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--fink-space-2);margin-top:var(--fink-space-2)}*,*::before,*::after{box-sizing:border-box}"}},[769,"fink-empty-state",{_heading:[1],_description:[1],_icons:[1],_level:[2]}]),n=s,c=function(){"undefined"!=typeof customElements&&["fink-empty-state"].forEach((e=>{"fink-empty-state"===e&&(customElements.get(t(e))||customElements.define(t(e),s))}))};export{n as FinkEmptyState,c as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkFab extends Components.FinkFab, HTMLElement {}
|
|
4
|
+
export const FinkFab: {
|
|
5
|
+
prototype: FinkFab;
|
|
6
|
+
new (): FinkFab;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as i,H as a,c as n,h as t,t as e}from"./p-Ds-2xh8j.js";import{g as o,o as s,t as r}from"./p-KQw2tIyE.js";import{p as c}from"./p-0q_cDiSu.js";const l=i(class extends a{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.finkClick=n(this,"finkClick"),this.finkSelect=n(this,"finkSelect")}locale=o();unsubscribeLanguage;connectedCallback(){this.unsubscribeLanguage=s((i=>this.locale=i))}disconnectedCallback(){this.unsubscribeLanguage?.()}_label;_icons="codicon codicon-add";_extended=!1;_actions;_position="inline";open=!1;finkClick;finkSelect;onKeyDown(i){"Escape"===i.key&&this.open&&(this.open=!1)}render(){const i=c(this._actions),a=i.length>0;return t("div",{key:"a26a2086c8f608abc514cc8a7335ca1ea3c4dd58",class:{fab:!0,"fab--open":this.open,"fab--extended":!!this._extended}},a&&this.open&&t("ul",{key:"300aaa567220cf072d41c11e9048da1ad0a46e55",class:"actions","aria-label":this._label},i.map((i=>t("li",null,t("fink-button",{class:"action",_label:i.label,_icons:i.icon,_variant:"secondary",_on:{onClick:()=>{this.open=!1,this.finkSelect.emit(i.id)}}}))))),t("fink-button",{key:"4e9b5f211f50a8a403c892caea094dbe99c8d312",class:"main",_label:a&&this.open?r("fab.close"):this._label,_icons:a&&this.open?"codicon codicon-close":this._icons,_hideLabel:!this._extended||a&&this.open,_variant:"primary",_ariaExpanded:a?this.open:void 0,_on:{onClick:()=>a?this.open=!this.open:this.finkClick.emit()}}))}static get style(){return":host{display:inline-block;font-family:var(--fink-font-family)}:host([_position='bottom-end']),:host([_position='bottom-start']){position:fixed;bottom:max(var(--fink-space-5), env(safe-area-inset-bottom));z-index:40}:host([_position='bottom-end']){right:max(var(--fink-space-5), env(safe-area-inset-right))}:host([_position='bottom-start']){left:max(var(--fink-space-5), env(safe-area-inset-left))}*,*::before,*::after{box-sizing:border-box}.fab{display:flex;flex-direction:column;align-items:flex-end;gap:var(--fink-space-3)}:host([_position='bottom-start']) .fab{align-items:flex-start}.main{--border-radius:var(--fink-radius-lg);border-radius:var(--fink-radius-lg);box-shadow:var(--fink-elevation-3);font-size:1.25rem;transition:transform var(--fink-motion-duration-fast) var(--fink-motion-easing)}.fab--extended .main{font-size:var(--fink-type-scale-md)}.fab--open .main{transform:rotate(0deg)}.actions{display:flex;flex-direction:column;align-items:inherit;gap:var(--fink-space-2);margin:0;padding:0;list-style:none;animation:dial var(--fink-motion-duration-base) var(--fink-motion-easing)}.action{--border-radius:var(--fink-radius-pill);border-radius:var(--fink-radius-pill);box-shadow:var(--fink-elevation-2)}@keyframes dial{from{opacity:0;transform:translateY(8px) scale(0.96)}}@media (prefers-reduced-motion: reduce){.actions,.main{animation:none;transition:none}}"}},[513,"fink-fab",{_label:[1],_icons:[1],_extended:[4],_actions:[1],_position:[513],locale:[32],open:[32]},[[0,"keydown","onKeyDown"]]]),f=l,d=function(){"undefined"!=typeof customElements&&["fink-fab"].forEach((i=>{"fink-fab"===i&&(customElements.get(e(i))||customElements.define(e(i),l))}))};export{f as FinkFab,d as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkFeedback extends Components.FinkFeedback, HTMLElement {}
|
|
4
|
+
export const FinkFeedback: {
|
|
5
|
+
prototype: FinkFeedback;
|
|
6
|
+
new (): FinkFeedback;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as a,c,h as n,t}from"./p-Ds-2xh8j.js";import{g as s,o as i,t as f}from"./p-KQw2tIyE.js";const o=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.finkFeedback=c(this,"finkFeedback")}locale=s();unsubscribeLanguage;connectedCallback(){this.unsubscribeLanguage=i((e=>this.locale=e))}disconnectedCallback(){this.unsubscribeLanguage?.()}_question;_thanks;step="ask";comment="";finkFeedback;finish(e){this.step="done",this.finkFeedback.emit(e)}render(){return n("section",{key:"6c1c8bb132ba2e665c0fe5071f152f34689929b9",class:"feedback","aria-label":f("feedback.region")},"ask"===this.step&&n("div",{key:"9e10f8052f321ae081f53f071df56659611c2406",class:"row"},n("span",{key:"fe3cbcae06ff501d32b833b87ef3287d32c8d0c0",class:"question"},this._question??f("feedback.question")),n("span",{key:"b268543ae924b7bea751ceed42c92ef34fddb4d6",class:"buttons"},n("fink-button",{key:"73d17a8bed69140222d429fd3ffbd46724bba3fe",_label:f("feedback.yes"),_icons:"codicon codicon-thumbsup",_on:{onClick:()=>this.finish({helpful:!0})}}),n("fink-button",{key:"fc290170a9ca8e4b4b5d4ffb726ef8f88624b68c",_label:f("feedback.no"),_icons:"codicon codicon-thumbsdown",_on:{onClick:()=>this.step="comment"}}))),"comment"===this.step&&n("div",{key:"870e101a961e406219e1ef46acdcbbddfcb92578",class:"comment"},n("fink-textarea",{key:"02c8c1df2bcef4ee09abe53424f9f8f12cb1100e",_label:f("feedback.improve"),_hint:f("feedback.hint"),_rows:3,_value:this.comment,_on:{onInput:(e,a)=>this.comment=(a??"")+""}}),n("span",{key:"5ea0bd7cc3c5d3c9991a54cf2b7b925b0ec74fa2",class:"buttons"},n("fink-button",{key:"b761896beab8f4c004647135107d0aeec592f18d",_label:f("feedback.send"),_variant:"primary",_on:{onClick:()=>this.finish({helpful:!1,comment:this.comment.trim()||void 0})}}),n("fink-button",{key:"047e87dd3f0be3a6bae79340d2756fc6eb4f2a3c",_label:f("feedback.cancel"),_variant:"tertiary",_on:{onClick:()=>this.step="ask"}}))),"done"===this.step&&n("p",{key:"d5ac1025b898a60393a91252ff7fb951ee40f150",class:"thanks",role:"status"},n("fink-icon",{key:"5e863bc2cb2554cbbaa8702688b0bc0ecaad4f18",_icons:"codicon codicon-heart",_label:""})," ",this._thanks??f("feedback.thanks")))}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}*,*::before,*::after{box-sizing:border-box}.feedback{--kol-surface:var(--fink-color-mute);padding:var(--fink-space-4) var(--fink-space-5);border-radius:var(--fink-radius-lg);background:var(--fink-color-mute)}.row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--fink-space-3)}.question{font-weight:var(--fink-font-weight-bold)}.buttons{display:flex;flex-wrap:wrap;gap:var(--fink-space-2)}.comment{display:grid;gap:var(--fink-space-3)}.thanks{display:flex;align-items:center;gap:var(--fink-space-2);margin:0;color:var(--fink-color-success);font-weight:var(--fink-font-weight-bold)}"}},[513,"fink-feedback",{_question:[1],_thanks:[1],locale:[32],step:[32],comment:[32]}]),b=o,d=function(){"undefined"!=typeof customElements&&["fink-feedback"].forEach((e=>{"fink-feedback"===e&&(customElements.get(t(e))||customElements.define(t(e),o))}))};export{b as FinkFeedback,d as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkFileUpload extends Components.FinkFileUpload, HTMLElement {}
|
|
4
|
+
export const FinkFileUpload: {
|
|
5
|
+
prototype: FinkFileUpload;
|
|
6
|
+
new (): FinkFileUpload;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as e,H as i,c as a,h as r,t as o}from"./p-Ds-2xh8j.js";import{g as n,o as s,t}from"./p-KQw2tIyE.js";import{f as l}from"./p-0q_cDiSu.js";let c=0;const d=e(class extends i{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.finkFilesChange=a(this,"finkFilesChange")}locale=n();unsubscribeLanguage;connectedCallback(){this.unsubscribeLanguage=s((e=>this.locale=e))}disconnectedCallback(){this.unsubscribeLanguage?.()}id="fink-file-upload-"+ ++c;_label;_hint;_accept;_multiple=!0;_maxSize=10485760;_disabled=!1;_error;entries=[];dragging=!1;announcement="";finkFilesChange;async reset(){this.entries=[],this.emit()}validate(e){if(this._maxSize&&e.size>this._maxSize)return t("fileUpload.tooLarge",{size:l(this._maxSize)});if(this._accept){const i=this._accept.split(",").map((e=>e.trim().toLowerCase())),a=e.name.toLowerCase();if(!i.some((i=>i.startsWith(".")?a.endsWith(i):i.endsWith("/*")?e.type.startsWith(i.slice(0,-1)):e.type===i)))return t("fileUpload.wrongType",{accept:this._accept})}}add(e){const i=Array.from(e);if(0===i.length)return;const a=i.map((e=>({file:e,error:this.validate(e)})));this.entries=this._multiple?[...this.entries,...a]:a.slice(0,1);const r=a.filter((e=>e.error)).length;this.announcement=`${t("fileUpload.added",{count:a.length})}${r?t("fileUpload.invalid",{count:r}):""}.`,this.emit()}remove(e){const[i]=this.entries.splice(e,1);this.entries=[...this.entries],this.announcement=t("fileUpload.removed",{name:i.file.name}),this.emit()}emit(){this.finkFilesChange.emit(this.entries.filter((e=>!e.error)).map((e=>e.file)))}onDrop=e=>{e.preventDefault(),this.dragging=!1,!this._disabled&&e.dataTransfer?.files&&this.add(e.dataTransfer.files)};handleDragOver(e){e.preventDefault(),this._disabled||(this.dragging=!0)}handleDragLeave(){this.dragging=!1}handleDrop(e){this.onDrop(e)}render(){return r("div",{key:"475c5189d11d2177c88bf0a2e7eb7c41018b4346",class:{upload:!0,"upload--error":!!this._error}},r("span",{key:"dd95f96b6c68913576a7f0aca2a7c8b7ace6fa44",class:"label",id:this.id+"-label"},this._label),this._hint&&r("span",{key:"cc3f57bd20a678ef175d21585b0db826d5e43cd3",class:"hint",id:this.id+"-hint"},this._hint),this._error&&r("fink-alert",{key:"743773ff4090be5732d7c4dc082a7c7ddd1f00eb",class:"error",id:this.id+"-error",_type:"error",_variant:"msg"},this._error),r("div",{key:"1086945c444f58aa4b1f6e5813a8be733521ae64",class:{zone:!0,"zone--active":this.dragging,"zone--disabled":!!this._disabled}},r("span",{key:"1320c5cfe160e2e805d6ef1146d1fbcf3b30e90b",class:"zone-icon"},r("fink-icon",{key:"a0e05f9fb2a44178b5f40da1e94fbf412f0143e3",_icons:"codicon codicon-cloud-upload",_label:""})),r("span",{key:"c716e056cfb21e714a8d2fd754e0ea9f46fafc22",class:"zone-text"},t("fileUpload.drop")),r("fink-input-file",{key:"d0eb64d9ee3e05e2a51e3b2aa4c6fafe493db519",class:"pick",_label:t(this._multiple?"fileUpload.chooseMany":"fileUpload.chooseOne"),_hint:[this._label,this._hint].filter(Boolean).join(". "),_hideLabel:!0,_hideMsg:!0,_accept:this._accept,_multiple:this._multiple,_disabled:this._disabled,_on:{onChange:(e,i)=>{const a=i instanceof FileList?i:e.target?.files;a&&this.add(a)}}})),this.entries.length>0&&r("ul",{key:"e6edf45ec187f682f3f0999311a4227b4ce3a06b",class:"files","aria-label":t("fileUpload.list")},this.entries.map(((e,i)=>r("li",{class:{file:!0,"file--error":!!e.error}},r("fink-icon",{class:"file-icon",_icons:e.error?"codicon codicon-error":"codicon codicon-file",_label:""}),r("span",{class:"file-text"},r("span",{class:"file-name"},e.file.name),r("span",{class:"file-meta"},e.error??l(e.file.size))),r("fink-button",{class:"file-remove",_label:t("fileUpload.remove",{name:e.file.name}),_hideLabel:!0,_icons:"codicon codicon-trash",_variant:"ghost",_on:{onClick:()=>this.remove(i)}}))))),r("span",{key:"445b0276fcb362bd29fb402f2126a5c1cb28641c",class:"visually-hidden",role:"status"},this.announcement))}static get style(){return":host{display:block;font-family:var(--fink-font-family);color:var(--fink-color-text)}*,*::before,*::after{box-sizing:border-box}.upload{display:grid;gap:var(--fink-space-2)}.label{font-weight:var(--fink-font-weight-medium)}.hint{color:var(--fink-color-subtle);font-size:var(--fink-type-scale-sm)}.error{display:flex;align-items:center;gap:var(--fink-space-2);color:var(--fink-color-danger);font-weight:var(--fink-font-weight-bold)}.upload--error{padding-inline-start:var(--fink-space-4);border-inline-start:4px solid var(--fink-color-danger)}.zone{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:var(--fink-space-2) var(--fink-space-3);padding:var(--fink-space-6) var(--fink-space-4);border:2px dashed var(--fink-color-mute-variant);border-radius:var(--fink-radius-lg);background:var(--fink-color-light);text-align:center;transition:border-color var(--fink-motion-duration-fast) var(--fink-motion-easing), background-color var(--fink-motion-duration-fast) var(--fink-motion-easing)}.zone--active{border-color:var(--fink-color-primary);background:var(--fink-color-secondary)}.zone--disabled{opacity:0.55}.zone-icon{display:block;width:100%;color:var(--fink-color-primary);font-size:2rem}.zone-text{color:var(--fink-color-subtle)}.pick{flex:1 1 18rem;min-width:0;max-width:28rem;text-align:start}.file-remove:focus-visible{outline:3px solid var(--fink-color-primary);outline-offset:2px}.native{display:none}.files{display:grid;gap:var(--fink-space-2);margin:0;padding:0;list-style:none}.file{display:flex;align-items:center;gap:var(--fink-space-3);padding:var(--fink-space-2) var(--fink-space-2) var(--fink-space-2) var(--fink-space-3);border:var(--fink-border-width) solid var(--fink-color-mute-variant);border-radius:var(--fink-radius-md);background:var(--fink-color-light)}.file--error{border-color:var(--fink-color-danger)}.file-icon{color:var(--fink-color-primary)}.file--error .file-icon,.file--error .file-meta{color:var(--fink-color-danger)}.file-text{display:grid;flex:1 1 auto;min-width:0}.file-name{overflow-wrap:anywhere}.file-meta{color:var(--fink-color-subtle);font-size:var(--fink-type-scale-sm)}:host{container-type:inline-size}@container (max-width: 30rem){.zone{padding:var(--fink-space-5) var(--fink-space-3)}.pick{flex-basis:100%;max-width:none}}.file-remove{display:inline-grid;place-items:center;width:44px;height:44px;border:0;border-radius:var(--fink-radius-md);background:transparent;color:var(--fink-color-subtle);cursor:pointer}.file-remove:hover{background:var(--fink-color-mute);color:var(--fink-color-danger)}.visually-hidden{position:absolute;width:1px;height:1px;clip-path:inset(50%);white-space:nowrap;overflow:hidden}"}},[513,"fink-file-upload",{_label:[1],_hint:[1],_accept:[1],_multiple:[4],_maxSize:[2,"_max-size"],_disabled:[4],_error:[1],locale:[32],entries:[32],dragging:[32],announcement:[32],reset:[64]},[[1,"dragover","handleDragOver"],[1,"dragleave","handleDragLeave"],[1,"drop","handleDrop"]]]),f=d,p=function(){"undefined"!=typeof customElements&&["fink-file-upload"].forEach((e=>{"fink-file-upload"===e&&(customElements.get(o(e))||customElements.define(o(e),d))}))};export{f as FinkFileUpload,p as defineCustomElement}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface FinkFooter extends Components.FinkFooter, HTMLElement {}
|
|
4
|
+
export const FinkFooter: {
|
|
5
|
+
prototype: FinkFooter;
|
|
6
|
+
new (): FinkFooter;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|