@bk2k/ui 0.6.8 → 0.7.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/BUILDING.md +56 -2
- package/CHANGELOG.md +136 -0
- package/USAGE.md +89 -26
- package/custom-elements.json +1 -1
- package/dist/charts/chart-tokens.js +1 -1
- package/dist/charts/fields.d.ts +20 -0
- package/dist/charts/fields.js +27 -0
- package/dist/charts/frame.js +2 -1
- package/dist/clipboard.js +1 -0
- package/dist/components/bk-alert.js +2 -1
- package/dist/components/bk-avatar-group.js +4 -6
- package/dist/components/bk-avatar.d.ts +10 -0
- package/dist/components/bk-avatar.js +17 -0
- package/dist/components/bk-bar.js +2 -0
- package/dist/components/bk-button-group.js +1 -1
- package/dist/components/bk-button-top.js +2 -1
- package/dist/components/bk-button.d.ts +37 -14
- package/dist/components/bk-button.js +52 -16
- package/dist/components/bk-card.d.ts +4 -0
- package/dist/components/bk-card.js +15 -2
- package/dist/components/bk-carousel-controls.d.ts +2 -0
- package/dist/components/bk-carousel-controls.js +4 -2
- package/dist/components/bk-chart-area.d.ts +6 -0
- package/dist/components/bk-chart-bar.d.ts +17 -0
- package/dist/components/bk-chart-bar.js +25 -4
- package/dist/components/bk-chart-line.d.ts +13 -0
- package/dist/components/bk-chart-line.js +11 -1
- package/dist/components/bk-chip-group.d.ts +2 -2
- package/dist/components/bk-chip-group.js +4 -0
- package/dist/components/bk-chip.d.ts +53 -8
- package/dist/components/bk-chip.js +43 -7
- package/dist/components/bk-code.js +6 -2
- package/dist/components/bk-columns.d.ts +11 -0
- package/dist/components/bk-columns.js +8 -1
- package/dist/components/bk-combobox.d.ts +1 -1
- package/dist/components/bk-combobox.js +2 -1
- package/dist/components/bk-delta.d.ts +10 -0
- package/dist/components/bk-delta.js +8 -6
- package/dist/components/bk-dialog.d.ts +12 -5
- package/dist/components/bk-dialog.js +14 -6
- package/dist/components/bk-disclosure.js +4 -2
- package/dist/components/bk-drop-target.d.ts +7 -1
- package/dist/components/bk-drop-target.js +20 -4
- package/dist/components/bk-error-summary.d.ts +5 -0
- package/dist/components/bk-error-summary.js +13 -4
- package/dist/components/bk-facts.js +3 -2
- package/dist/components/bk-footnote.d.ts +73 -0
- package/dist/components/bk-footnote.js +97 -0
- package/dist/components/bk-footnotes-item.d.ts +92 -0
- package/dist/components/bk-footnotes-item.js +139 -0
- package/dist/components/bk-footnotes.d.ts +51 -0
- package/dist/components/bk-footnotes.js +43 -0
- package/dist/components/bk-icon.js +2 -2
- package/dist/components/bk-image-compare.d.ts +33 -5
- package/dist/components/bk-image-compare.js +72 -24
- package/dist/components/bk-image-crop.d.ts +3 -3
- package/dist/components/bk-image-editor.d.ts +1 -1
- package/dist/components/bk-image-viewer.d.ts +107 -11
- package/dist/components/bk-image-viewer.js +205 -34
- package/dist/components/bk-input-inline.d.ts +15 -6
- package/dist/components/bk-input-inline.js +22 -6
- package/dist/components/bk-input-number.js +2 -1
- package/dist/components/bk-input-search.d.ts +1 -1
- package/dist/components/bk-input-search.js +2 -1
- package/dist/components/bk-input-text.d.ts +11 -0
- package/dist/components/bk-input-text.js +17 -3
- package/dist/components/bk-input-time.js +2 -1
- package/dist/components/bk-item.js +2 -1
- package/dist/components/bk-lightbox.d.ts +12 -3
- package/dist/components/bk-lightbox.js +6 -3
- package/dist/components/bk-link.d.ts +9 -1
- package/dist/components/bk-link.js +14 -4
- package/dist/components/bk-menu-item.d.ts +40 -0
- package/dist/components/bk-menu-item.js +57 -9
- package/dist/components/bk-menu-label.js +2 -1
- package/dist/components/bk-menu-list.d.ts +1 -0
- package/dist/components/bk-menu-list.js +10 -0
- package/dist/components/bk-menu.d.ts +8 -1
- package/dist/components/bk-menu.js +16 -5
- package/dist/components/bk-message-feedback.d.ts +4 -3
- package/dist/components/bk-message-feedback.js +7 -5
- package/dist/components/bk-message-list.js +2 -1
- package/dist/components/bk-message-source.d.ts +1 -2
- package/dist/components/bk-message-source.js +3 -11
- package/dist/components/bk-message.js +2 -0
- package/dist/components/bk-nav-group.js +1 -1
- package/dist/components/bk-nav-item.d.ts +18 -0
- package/dist/components/bk-nav-item.js +18 -5
- package/dist/components/bk-nav.d.ts +1 -1
- package/dist/components/bk-page-cta.js +2 -0
- package/dist/components/bk-page-section.d.ts +1 -1
- package/dist/components/bk-page-section.js +3 -9
- package/dist/components/bk-pane.d.ts +1 -0
- package/dist/components/bk-pane.js +7 -5
- package/dist/components/bk-panel.d.ts +1 -1
- package/dist/components/bk-panel.js +6 -5
- package/dist/components/bk-picture.d.ts +17 -4
- package/dist/components/bk-picture.js +8 -1
- package/dist/components/bk-segmented-item.d.ts +24 -4
- package/dist/components/bk-segmented-item.js +37 -5
- package/dist/components/bk-segmented.js +2 -13
- package/dist/components/bk-select-cascade.d.ts +1 -1
- package/dist/components/bk-select-tree.d.ts +1 -1
- package/dist/components/bk-select.d.ts +1 -1
- package/dist/components/bk-shell-app.d.ts +10 -4
- package/dist/components/bk-shell-app.js +32 -9
- package/dist/components/bk-shell-sites.d.ts +2 -1
- package/dist/components/bk-shell-sites.js +3 -5
- package/dist/components/bk-sortable.js +7 -17
- package/dist/components/bk-split-grid.d.ts +104 -3
- package/dist/components/bk-split-grid.js +425 -2
- package/dist/components/bk-stat-group.js +2 -1
- package/dist/components/bk-stat.d.ts +17 -0
- package/dist/components/bk-stat.js +7 -3
- package/dist/components/bk-steps.js +2 -1
- package/dist/components/bk-surface.d.ts +2 -0
- package/dist/components/bk-surface.js +6 -3
- package/dist/components/bk-table.d.ts +1 -1
- package/dist/components/bk-table.js +9 -12
- package/dist/components/bk-tabs-item.d.ts +45 -7
- package/dist/components/bk-tabs-item.js +51 -20
- package/dist/components/bk-tabs-panel.d.ts +6 -3
- package/dist/components/bk-tabs-panel.js +6 -0
- package/dist/components/bk-tabs.d.ts +50 -7
- package/dist/components/bk-tabs.js +168 -96
- package/dist/components/bk-text.js +2 -1
- package/dist/components/bk-toast-group.d.ts +3 -1
- package/dist/components/bk-toast-group.js +11 -1
- package/dist/components/bk-tooltip.d.ts +3 -1
- package/dist/components/bk-tooltip.js +2 -1
- package/dist/components/bk-video.js +2 -2
- package/dist/components/bk-zoom.d.ts +3 -1
- package/dist/components/confirm.d.ts +15 -0
- package/dist/components/confirm.js +27 -4
- package/dist/i18n/de.js +12 -1
- package/dist/i18n/en.d.ts +2 -0
- package/dist/i18n/en.js +3 -0
- package/dist/i18n.d.ts +16 -2
- package/dist/i18n.js +28 -4
- package/dist/icons/brands-static.d.ts +3 -0
- package/dist/icons/brands-static.js +5 -0
- package/dist/icons/core.d.ts +1 -0
- package/dist/icons/core.js +2 -0
- package/dist/icons/load-static.d.ts +3 -0
- package/dist/icons/load-static.js +5 -0
- package/dist/icons/load.js +1 -0
- package/dist/icons/registry.js +1 -1
- package/dist/icons/set/save-as.d.ts +3 -0
- package/dist/icons/set/save-as.js +7 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/internal/announcer.d.ts +8 -1
- package/dist/internal/announcer.js +26 -10
- package/dist/internal/backdrop.d.ts +19 -0
- package/dist/internal/backdrop.js +29 -0
- package/dist/internal/busy.d.ts +3 -2
- package/dist/internal/busy.js +4 -5
- package/dist/internal/choice-field.js +1 -1
- package/dist/internal/choice-item.d.ts +17 -6
- package/dist/internal/choice-item.js +20 -9
- package/dist/internal/cloak.js +3 -0
- package/dist/internal/crop-frame.d.ts +1 -1
- package/dist/internal/crop-frame.js +2 -7
- package/dist/internal/date-field.js +2 -1
- package/dist/internal/drag.d.ts +11 -0
- package/dist/internal/drag.js +23 -0
- package/dist/internal/english-static.d.ts +3 -0
- package/dist/internal/english-static.js +5 -0
- package/dist/internal/english.d.ts +8 -0
- package/dist/internal/english.js +6 -0
- package/dist/internal/footnotes.d.ts +56 -0
- package/dist/internal/footnotes.js +143 -0
- package/dist/internal/handle-menu.js +2 -5
- package/dist/internal/late/bk-shell-app.d.ts +4 -0
- package/dist/internal/late/bk-shell-app.js +7 -0
- package/dist/internal/late/bk-table.d.ts +4 -0
- package/dist/internal/late/bk-table.js +17 -0
- package/dist/internal/late/handle-menu.d.ts +4 -0
- package/dist/internal/late/handle-menu.js +9 -0
- package/dist/internal/late/static.d.ts +7 -0
- package/dist/internal/late/static.js +5 -0
- package/dist/internal/late.d.ts +8 -3
- package/dist/internal/late.js +19 -4
- package/dist/internal/link.d.ts +2 -0
- package/dist/internal/link.js +11 -1
- package/dist/internal/own-text.d.ts +8 -0
- package/dist/internal/own-text.js +7 -0
- package/dist/internal/scope.js +1 -1
- package/dist/internal/scroll-lock.d.ts +4 -1
- package/dist/internal/scroll-lock.js +17 -4
- package/dist/internal/slider.js +2 -1
- package/dist/internal/styles.js +3 -0
- package/dist/internal/submit.d.ts +23 -0
- package/dist/internal/submit.js +57 -0
- package/dist/jsx.d.ts +141 -52
- package/dist/reset.css +10 -0
- package/dist/standalone/all.js +226 -222
- package/dist/standalone/appearance.js +1 -1
- package/dist/standalone/bk-accordion-item.js +4 -4
- package/dist/standalone/bk-accordion.js +2 -2
- package/dist/standalone/bk-action-bar.js +3 -3
- package/dist/standalone/bk-alert-offline.js +1 -2
- package/dist/standalone/bk-alert.js +13 -12
- package/dist/standalone/bk-app-state.js +1 -1
- package/dist/standalone/bk-attachment.js +4 -4
- package/dist/standalone/bk-avatar-group.js +12 -10
- package/dist/standalone/bk-avatar.js +14 -4
- package/dist/standalone/bk-badge.js +2 -2
- package/dist/standalone/bk-bar.js +3 -1
- package/dist/standalone/bk-brand.js +3 -3
- package/dist/standalone/bk-breadcrumbs.js +5 -5
- package/dist/standalone/bk-button-copy.js +5 -5
- package/dist/standalone/bk-button-group.js +5 -5
- package/dist/standalone/bk-button-share.js +5 -5
- package/dist/standalone/bk-button-top.js +9 -8
- package/dist/standalone/bk-button.js +62 -30
- package/dist/standalone/bk-calendar-event.js +1 -1
- package/dist/standalone/bk-calendar-week.js +3 -3
- package/dist/standalone/bk-calendar.js +4 -4
- package/dist/standalone/bk-card.js +20 -7
- package/dist/standalone/bk-carousel-controls.js +7 -6
- package/dist/standalone/bk-carousel-item.js +2 -2
- package/dist/standalone/bk-carousel.js +1 -1
- package/dist/standalone/bk-chart-area.js +1 -1
- package/dist/standalone/bk-chart-bar-list.js +8 -8
- package/dist/standalone/bk-chart-bar.js +145 -117
- package/dist/standalone/bk-chart-bridge.js +7 -7
- package/dist/standalone/bk-chart-bullet.js +6 -6
- package/dist/standalone/bk-chart-calendar.js +7 -7
- package/dist/standalone/bk-chart-heatmap.js +7 -7
- package/dist/standalone/bk-chart-histogram.js +5 -5
- package/dist/standalone/bk-chart-legend.js +6 -6
- package/dist/standalone/bk-chart-line.js +116 -103
- package/dist/standalone/bk-chart-mark.js +1 -1
- package/dist/standalone/bk-chart-scatter.js +6 -6
- package/dist/standalone/bk-chart-sparkline.js +6 -6
- package/dist/standalone/bk-chart-stacked-bar.js +7 -7
- package/dist/standalone/bk-chart-tracker.js +6 -6
- package/dist/standalone/bk-chart-waterfall.js +6 -6
- package/dist/standalone/bk-checkbox-group.js +4 -4
- package/dist/standalone/bk-checkbox.js +4 -4
- package/dist/standalone/bk-chip-group.js +9 -5
- package/dist/standalone/bk-chip.js +56 -17
- package/dist/standalone/bk-cluster.js +1 -1
- package/dist/standalone/bk-code-diff.js +4 -4
- package/dist/standalone/bk-code-stack.js +4 -4
- package/dist/standalone/bk-code.js +10 -6
- package/dist/standalone/bk-color-panel.js +5 -5
- package/dist/standalone/bk-columns.js +13 -5
- package/dist/standalone/bk-combobox.js +9 -8
- package/dist/standalone/bk-command-menu.js +6 -6
- package/dist/standalone/bk-command-palette.js +6 -5
- package/dist/standalone/bk-composer.js +6 -6
- package/dist/standalone/bk-delta.js +11 -10
- package/dist/standalone/bk-diagram.js +1 -1
- package/dist/standalone/bk-dialog.js +1 -1
- package/dist/standalone/bk-disclosure.js +7 -5
- package/dist/standalone/bk-divider.js +2 -2
- package/dist/standalone/bk-drawer.js +3 -3
- package/dist/standalone/bk-drop-target.js +12 -6
- package/dist/standalone/bk-empty-state.js +3 -3
- package/dist/standalone/bk-error-summary.js +9 -6
- package/dist/standalone/bk-facts-item.js +2 -2
- package/dist/standalone/bk-facts.js +9 -8
- package/dist/standalone/bk-feature.js +3 -3
- package/dist/standalone/bk-fieldset.js +3 -3
- package/dist/standalone/bk-filter-bar.js +4 -4
- package/dist/standalone/bk-folder-browser.js +4 -4
- package/dist/standalone/bk-footnote.js +82 -0
- package/dist/standalone/bk-footnotes-item.js +122 -0
- package/dist/standalone/bk-footnotes.js +37 -0
- package/dist/standalone/bk-form-guard.js +2 -2
- package/dist/standalone/bk-form-steps.js +3 -3
- package/dist/standalone/bk-grid.js +1 -1
- package/dist/standalone/bk-icon-tile.js +3 -3
- package/dist/standalone/bk-icon.js +1 -1
- package/dist/standalone/bk-image-compare.js +88 -47
- package/dist/standalone/bk-image-crop.js +6 -6
- package/dist/standalone/bk-image-editor.js +1 -1
- package/dist/standalone/bk-image-viewer.js +180 -59
- package/dist/standalone/bk-input-code.js +4 -4
- package/dist/standalone/bk-input-color.js +4 -4
- package/dist/standalone/bk-input-date-range.js +2 -2
- package/dist/standalone/bk-input-date.js +2 -2
- package/dist/standalone/bk-input-file.js +5 -5
- package/dist/standalone/bk-input-group.js +4 -4
- package/dist/standalone/bk-input-inline.js +17 -10
- package/dist/standalone/bk-input-number.js +9 -8
- package/dist/standalone/bk-input-rating.js +6 -6
- package/dist/standalone/bk-input-rich.js +1 -1
- package/dist/standalone/bk-input-search.js +23 -22
- package/dist/standalone/bk-input-slider-range.js +5 -5
- package/dist/standalone/bk-input-slider.js +5 -5
- package/dist/standalone/bk-input-text.js +1 -1
- package/dist/standalone/bk-input-time-zone.js +1 -1
- package/dist/standalone/bk-input-time.js +29 -28
- package/dist/standalone/bk-item-group.js +3 -3
- package/dist/standalone/bk-item.js +12 -11
- package/dist/standalone/bk-kbd-shortcuts.js +4 -3
- package/dist/standalone/bk-kbd.js +68 -1
- package/dist/standalone/bk-lightbox.js +11 -7
- package/dist/standalone/bk-lines.js +1 -1
- package/dist/standalone/bk-link.js +33 -19
- package/dist/standalone/bk-listbox-columns.js +6 -6
- package/dist/standalone/bk-listbox-item.js +1 -1
- package/dist/standalone/bk-listbox-search.js +7 -7
- package/dist/standalone/bk-listbox-transfer.js +6 -6
- package/dist/standalone/bk-listbox.js +7 -7
- package/dist/standalone/bk-logo-wall.js +2 -2
- package/dist/standalone/bk-logo.js +3 -3
- package/dist/standalone/bk-menu-bar.js +3 -3
- package/dist/standalone/bk-menu-context.js +1 -1
- package/dist/standalone/bk-menu-divider.js +2 -2
- package/dist/standalone/bk-menu-item.js +73 -29
- package/dist/standalone/bk-menu-label.js +7 -6
- package/dist/standalone/bk-menu-list.js +10 -4
- package/dist/standalone/bk-menu.js +19 -10
- package/dist/standalone/bk-message-approval.js +4 -4
- package/dist/standalone/bk-message-branches.js +3 -3
- package/dist/standalone/bk-message-citation.js +10 -10
- package/dist/standalone/bk-message-feedback.js +10 -6
- package/dist/standalone/bk-message-list.js +6 -5
- package/dist/standalone/bk-message-reasoning.js +5 -5
- package/dist/standalone/bk-message-source.js +13 -21
- package/dist/standalone/bk-message-tool-group.js +5 -5
- package/dist/standalone/bk-message-tool.js +5 -5
- package/dist/standalone/bk-message.js +6 -4
- package/dist/standalone/bk-meter.js +3 -3
- package/dist/standalone/bk-model-viewer.js +1 -1
- package/dist/standalone/bk-nav-divider.js +2 -2
- package/dist/standalone/bk-nav-group.js +6 -6
- package/dist/standalone/bk-nav-item.js +31 -23
- package/dist/standalone/bk-nav-toc.js +3 -3
- package/dist/standalone/bk-nav.js +3 -3
- package/dist/standalone/bk-overflow.js +3 -3
- package/dist/standalone/bk-page-cta.js +5 -3
- package/dist/standalone/bk-page-footer-column.js +2 -2
- package/dist/standalone/bk-page-footer.js +3 -3
- package/dist/standalone/bk-page-header.js +3 -3
- package/dist/standalone/bk-page-hero.js +3 -3
- package/dist/standalone/bk-page-pager.js +5 -5
- package/dist/standalone/bk-page-section.js +6 -6
- package/dist/standalone/bk-pagination.js +6 -6
- package/dist/standalone/bk-pane.js +10 -9
- package/dist/standalone/bk-panel.js +9 -10
- package/dist/standalone/bk-period-nav.js +4 -4
- package/dist/standalone/bk-picture.js +24 -15
- package/dist/standalone/bk-popover-help.js +3 -3
- package/dist/standalone/bk-popover.js +2 -2
- package/dist/standalone/bk-presence-cursor.js +2 -2
- package/dist/standalone/bk-preview.js +4 -4
- package/dist/standalone/bk-progress.js +3 -3
- package/dist/standalone/bk-prose.js +3 -3
- package/dist/standalone/bk-qr-code.js +1 -1
- package/dist/standalone/bk-radio-group.js +4 -4
- package/dist/standalone/bk-radio.js +3 -3
- package/dist/standalone/bk-rating.js +5 -5
- package/dist/standalone/bk-scroll.js +3 -3
- package/dist/standalone/bk-segmented-item.js +40 -16
- package/dist/standalone/bk-segmented.js +15 -13
- package/dist/standalone/bk-select-cascade.js +3 -3
- package/dist/standalone/bk-select-tree.js +4 -4
- package/dist/standalone/bk-select.js +5 -5
- package/dist/standalone/bk-shell-app.js +1 -1221
- package/dist/standalone/bk-shell-centered.js +2 -2
- package/dist/standalone/bk-shell-sites.js +5 -7
- package/dist/standalone/bk-skeleton.js +2 -2
- package/dist/standalone/bk-sortable.js +55 -60
- package/dist/standalone/bk-spinner.js +2 -2
- package/dist/standalone/bk-split-grid.js +318 -41
- package/dist/standalone/bk-split.js +4 -4
- package/dist/standalone/bk-stack.js +1 -1
- package/dist/standalone/bk-stat-group.js +8 -7
- package/dist/standalone/bk-stat.js +11 -8
- package/dist/standalone/bk-status-dot.js +3 -3
- package/dist/standalone/bk-steps-item.js +5 -5
- package/dist/standalone/bk-steps.js +8 -7
- package/dist/standalone/bk-surface.js +1 -1
- package/dist/standalone/bk-swatch-group.js +4 -4
- package/dist/standalone/bk-swatch-palette.js +1 -1
- package/dist/standalone/bk-swatch.js +2 -2
- package/dist/standalone/bk-switch.js +4 -4
- package/dist/standalone/bk-table.js +1 -1937
- package/dist/standalone/bk-tabs-item.js +58 -35
- package/dist/standalone/bk-tabs-panel.js +7 -3
- package/dist/standalone/bk-tabs.js +160 -98
- package/dist/standalone/bk-tasks-item.js +4 -4
- package/dist/standalone/bk-tasks.js +2 -2
- package/dist/standalone/bk-testimonial.js +3 -3
- package/dist/standalone/bk-text.js +19 -18
- package/dist/standalone/bk-time-countdown.js +4 -4
- package/dist/standalone/bk-time-relative.js +3 -3
- package/dist/standalone/bk-timeline-item.js +4 -4
- package/dist/standalone/bk-timeline.js +2 -2
- package/dist/standalone/bk-toast-group.js +1 -1
- package/dist/standalone/bk-toast.js +4 -4
- package/dist/standalone/bk-toolbar.js +2 -2
- package/dist/standalone/bk-tooltip.js +8 -7
- package/dist/standalone/bk-tree-item.js +6 -6
- package/dist/standalone/bk-tree.js +3 -3
- package/dist/standalone/bk-video.js +6 -6
- package/dist/standalone/bk-visually-hidden.js +2 -2
- package/dist/standalone/bk-zoom.js +5 -5
- package/dist/standalone/chunks/announcer-D1zrRWwO.js +36 -0
- package/dist/standalone/chunks/{appearance-waHnV0kk.js → appearance-CBOJXbmC.js} +1 -1
- package/dist/standalone/chunks/{bk-alert-offline-B1bQxOZp.js → bk-alert-offline-Clw0ZSsH.js} +3 -3
- package/dist/standalone/chunks/{bk-carousel-BCwIQhG5.js → bk-carousel-Biz7t8sL.js} +4 -4
- package/dist/standalone/chunks/{bk-diagram-DWK8CvRZ.js → bk-diagram-D_fQf6SF.js} +5 -5
- package/dist/standalone/chunks/{bk-dialog-DX0cPJ1o.js → bk-dialog-DwZyUUHh.js} +59 -25
- package/dist/standalone/chunks/{bk-icon-DssFsNuB.js → bk-icon-Bp_flKdv.js} +4 -3
- package/dist/standalone/chunks/{bk-image-editor-DXEj9gCu.js → bk-image-editor-BADsoLRL.js} +5 -5
- package/dist/standalone/chunks/{bk-input-date-range-Cbx_lpf0.js → bk-input-date-range-DHcJ8-5g.js} +2 -2
- package/dist/standalone/chunks/{bk-input-rich-ZB68vziu.js → bk-input-rich-CFhW6vRa.js} +6 -6
- package/dist/standalone/chunks/{bk-input-text-DD32uWNO.js → bk-input-text-DviyLBqj.js} +63 -54
- package/dist/standalone/chunks/{bk-model-viewer-Dr81ahVv.js → bk-model-viewer-w_Ah4Tvs.js} +4 -4
- package/dist/standalone/chunks/{bk-qr-code-QaYvZwOR.js → bk-qr-code-CYMovNVl.js} +3 -3
- package/dist/standalone/chunks/bk-shell-app-B2lxHit8.js +1235 -0
- package/dist/standalone/chunks/{bk-surface-DkIhrWMt.js → bk-surface-D7e0tErs.js} +9 -7
- package/dist/standalone/chunks/{bk-swatch-palette-BNNXTP3w.js → bk-swatch-palette-x13JgJQi.js} +6 -6
- package/dist/standalone/chunks/bk-table-CP8n_jy7.js +1944 -0
- package/dist/standalone/chunks/{bk-toast-group-BSeO_rPs.js → bk-toast-group-CoL6W7uk.js} +27 -24
- package/dist/standalone/chunks/{brush-Bn3lPdHN.js → brush-DALmXSru.js} +18 -2
- package/dist/standalone/chunks/{busy-B7Mxemwm.js → busy-BUB22mGY.js} +5 -4
- package/dist/standalone/chunks/{chart-tokens-D1Exf7BW.js → chart-tokens-DQ4hVSmn.js} +2 -2
- package/dist/standalone/chunks/{choice-field-CGvE4tyb.js → choice-field-poOTerh1.js} +6 -6
- package/dist/standalone/chunks/{choice-item-B6-9ZRlf.js → choice-item-Cx-nm1js.js} +17 -8
- package/dist/standalone/chunks/{clipboard-Crzt1Sh9.js → clipboard-RqIeP9Uz.js} +1 -1
- package/dist/standalone/chunks/{clipboard-BKlrP5rj.js → clipboard-UVLSkL4C.js} +1 -1
- package/dist/standalone/chunks/{crop-frame-poLCGrBG.js → crop-frame-Z9N0QML4.js} +1 -11
- package/dist/standalone/chunks/{date-field-BlI6grfT.js → date-field-B-fCXa2D.js} +48 -47
- package/dist/standalone/chunks/{define-CzVPD4Zi.js → define-DkVeu7e9.js} +1 -1
- package/dist/standalone/chunks/drag-DT4__0t9.js +12 -0
- package/dist/standalone/chunks/footnotes-BeisMxLk.js +94 -0
- package/dist/standalone/chunks/{form-control-CyXQIJ2x.js → form-control-CHpfKAKa.js} +2 -2
- package/dist/standalone/chunks/{frame-abXBnl8a.js → frame-xIMVEUCi.js} +5 -4
- package/dist/standalone/chunks/{handle-menu-ZVR_msk2.js → handle-menu-BgYUbGO2.js} +26 -19
- package/dist/standalone/chunks/{heading-text-CV5gBf7k.js → heading-text-CgnCa_q2.js} +1 -1
- package/dist/standalone/chunks/{i18n-B6Al9xCK.js → i18n-DFfGgd3d.js} +49 -34
- package/dist/standalone/chunks/{i18n-BI16HQmm.js → i18n-DQAcbHkY.js} +1 -1
- package/dist/standalone/chunks/link--YWr8exL.js +69 -0
- package/dist/standalone/chunks/{marks-0kbeB4n8.js → marks-pOUDNUf1.js} +2 -2
- package/dist/standalone/chunks/{options-DMEc8rQt.js → options-BdC8-KKM.js} +2 -2
- package/dist/standalone/chunks/own-text-mpZVnMyX.js +5 -0
- package/dist/standalone/chunks/{palettes-CKLHSIPx.js → palettes-J4bQ21ks.js} +2 -2
- package/dist/standalone/chunks/{popover-base-ac49G87f.js → popover-base-hxo-Vh6E.js} +2 -2
- package/dist/standalone/chunks/{prose-BG4oQH-i.js → prose-BiuJgiah.js} +1 -1
- package/dist/standalone/chunks/{ramp-ggoyjMvC.js → ramp-CGDOcqBZ.js} +1 -1
- package/dist/standalone/chunks/save-as-DBGZjczB.js +6 -0
- package/dist/standalone/chunks/shortcuts-DPxCSO4M.js +210 -0
- package/dist/standalone/chunks/{slider-BWT8Fmwz.js → slider-jp3d-Ld-.js} +15 -14
- package/dist/standalone/chunks/{stars-BN9M_9Q1.js → stars-BgKEjDQx.js} +1 -1
- package/dist/standalone/chunks/{styles-DwSR-9a3.js → styles-CaeyhYDA.js} +3 -0
- package/dist/standalone/chunks/submit-BjBGB8OW.js +42 -0
- package/dist/standalone/chunks/{summary-BK-B4m5A.js → summary-W5s0TFqV.js} +1 -1
- package/dist/standalone/chunks/{text-field-4IUUpRHE.js → text-field-CqhJSAwZ.js} +4 -4
- package/dist/standalone/chunks/{toggle-control-ioV2jhNY.js → toggle-control-lvZbQtGW.js} +2 -2
- package/dist/standalone/chunks/{tokens-BuahF1lF.js → tokens-C_ul7pL9.js} +4 -3
- package/dist/standalone/chunks/{virtual-B-1oN14Y.js → virtual-C_h6sHnm.js} +1 -1
- package/dist/standalone/confirm.js +27 -14
- package/dist/standalone/i18n-de.js +13 -2
- package/dist/standalone/icons.js +100 -98
- package/dist/standalone/links.js +1 -1
- package/dist/standalone/reset.css +10 -0
- package/dist/standalone/toast.js +1 -1
- package/dist/standalone/tokens.css +6 -5
- package/dist/tokens.css +6 -5
- package/dist/tokens.js +4 -3
- package/package.json +25 -2
- package/dist/standalone/chunks/announcer-haFcvqbe.js +0 -25
- package/dist/standalone/chunks/bk-kbd-B_TlKzWj.js +0 -275
- package/dist/standalone/chunks/link-CWSMsx04.js +0 -60
|
@@ -24,6 +24,11 @@ import { LitElement, nothing, type PropertyValues, type TemplateResult } from "l
|
|
|
24
24
|
* `tiers` sets the colour of the new rank to the colour of its tier. `tiers="3 10 50"` makes the top 3, the top 10
|
|
25
25
|
* and the top 50 three tiers.
|
|
26
26
|
*
|
|
27
|
+
* `value-text` shows ready text instead of the formatted change, for a change that the app has already formatted
|
|
28
|
+
* ("1.234"). The text is shown as it is, and screen readers read it ("Up 1.234"). `value` still gives the direction, the
|
|
29
|
+
* tone and the mark. It applies to `change` and `count`. It does not apply to `variant="rank"`, where the element
|
|
30
|
+
* builds the text from the two ranks, nor to `new`.
|
|
31
|
+
*
|
|
27
32
|
* `notation="compact"` shortens a change from 10,000 (12.3K). The exact value is the name for
|
|
28
33
|
* screen readers and the text of the tooltip.
|
|
29
34
|
*
|
|
@@ -56,6 +61,9 @@ export declare class BkDelta extends LitElement {
|
|
|
56
61
|
value: {
|
|
57
62
|
type: NumberConstructor;
|
|
58
63
|
};
|
|
64
|
+
valueText: {
|
|
65
|
+
attribute: string;
|
|
66
|
+
};
|
|
59
67
|
previous: {
|
|
60
68
|
type: NumberConstructor;
|
|
61
69
|
};
|
|
@@ -83,6 +91,8 @@ export declare class BkDelta extends LitElement {
|
|
|
83
91
|
};
|
|
84
92
|
/** The change (`change`, `count`) or the new rank (`rank`). */
|
|
85
93
|
value: number | undefined;
|
|
94
|
+
/** Ready text for the change, shown as it is instead of the formatted `value` (like `aria-valuetext`). `value` still sets the direction and the tone. Not used in `variant="rank"`. */
|
|
95
|
+
valueText: string | undefined;
|
|
86
96
|
/** The previous rank (`variant="rank"`). Without it, the rank is new. */
|
|
87
97
|
previous: number | undefined;
|
|
88
98
|
/** `change` (default): a change with a mark. `count`: a figure that only grows ("+12"). `rank`: a move between ranks. */
|
|
@@ -6,6 +6,7 @@ import { deltaDirection, deltaTone, formatDelta, formatFigure, shortens } from "
|
|
|
6
6
|
class BkDelta extends LitElement {
|
|
7
7
|
static properties = {
|
|
8
8
|
value: { type: Number },
|
|
9
|
+
valueText: { attribute: "value-text" },
|
|
9
10
|
previous: { type: Number },
|
|
10
11
|
variant: { reflect: true, useDefault: true },
|
|
11
12
|
notation: { reflect: true, useDefault: true },
|
|
@@ -76,17 +77,18 @@ class BkDelta extends LitElement {
|
|
|
76
77
|
if (v === void 0 || v === null || !Number.isFinite(v))
|
|
77
78
|
return nothing;
|
|
78
79
|
const dir = deltaDirection(v);
|
|
80
|
+
const given = this.valueText || void 0;
|
|
79
81
|
if (dir === "flat")
|
|
80
|
-
return this.pair(html`<span class="change flat" part="change"
|
|
82
|
+
return this.pair(html`<span class="change flat" part="change">${given ?? "\u2013"}</span>`, this.i18n.t("statFlat"));
|
|
81
83
|
const short = shortens(v, this.notation === "compact");
|
|
82
84
|
const opts = short ? { notation: "compact", maximumFractionDigits: 1, ...this.format } : this.format;
|
|
83
|
-
const exact = formatDelta(locale, v, this.format);
|
|
85
|
+
const exact = given ?? formatDelta(locale, v, this.format);
|
|
84
86
|
if (this.variant === "count") {
|
|
85
|
-
return this.pair(html`<span class="change count" part="change">${formatDelta(locale, v, opts)}</span>`, exact, short ? exact : void 0);
|
|
87
|
+
return this.pair(html`<span class="change count" part="change">${given ?? formatDelta(locale, v, opts)}</span>`, exact, short && !given ? exact : void 0);
|
|
86
88
|
}
|
|
87
|
-
const shown = formatDelta(locale, Math.abs(v), opts, "never");
|
|
88
|
-
const spoken = this.i18n.t(dir === "up" ? "deltaUp" : "deltaDown", { value: formatDelta(locale, Math.abs(v), this.format, "never") });
|
|
89
|
-
return this.pair(html`<span class="change ${deltaTone(dir, this.inverted)}" part="change">${this.mark(dir)}${shown}</span>`, spoken, short ? exact : void 0);
|
|
89
|
+
const shown = given ?? formatDelta(locale, Math.abs(v), opts, "never");
|
|
90
|
+
const spoken = this.i18n.t(dir === "up" ? "deltaUp" : "deltaDown", { value: given ?? formatDelta(locale, Math.abs(v), this.format, "never") });
|
|
91
|
+
return this.pair(html`<span class="change ${deltaTone(dir, this.inverted)}" part="change">${this.mark(dir)}${shown}</span>`, spoken, short && !given ? exact : void 0);
|
|
90
92
|
}
|
|
91
93
|
renderRank() {
|
|
92
94
|
const locale = this.i18n.locale;
|
|
@@ -29,12 +29,13 @@ export interface DialogCloseDetail {
|
|
|
29
29
|
* </bk-dialog>
|
|
30
30
|
* ```
|
|
31
31
|
*
|
|
32
|
-
* A dialog that needs an answer (a destructive confirmation, an error that blocks) uses `
|
|
33
|
-
*
|
|
32
|
+
* A dialog that needs an answer (a destructive confirmation, an error that blocks) uses `alert`. The
|
|
33
|
+
* native dialog gets `role="alertdialog"` and the body is its description. The first
|
|
34
34
|
* focus is on the least destructive action: the `[autofocus]` element, else the button with
|
|
35
35
|
* `value="cancel"`, else the first `data-close` button. A click on the backdrop does not close it.
|
|
36
36
|
* Esc and the close button still close it. Add `dismissible="false"` to disable them too.
|
|
37
|
-
* The dialog reads `role` once
|
|
37
|
+
* The dialog also accepts `role="alert"`. It reads `role` once, removes it from the host and sets `alert`, so the host
|
|
38
|
+
* itself does not announce as an alert. Use `alert` in server HTML: the dialog then changes no attribute.
|
|
38
39
|
*
|
|
39
40
|
* A `<form method="dialog">` in the content closes the dialog on submit, like in a native `<dialog>`. The `value`
|
|
40
41
|
* of the submit button is the return value.
|
|
@@ -42,6 +43,9 @@ export interface DialogCloseDetail {
|
|
|
42
43
|
* Esc closes the dialog. The dialog calls `preventDefault()` on that `keydown`, so the Esc handler of an app can
|
|
43
44
|
* check `defaultPrevented`.
|
|
44
45
|
*
|
|
46
|
+
* An open tooltip takes the first Esc (WCAG 1.4.13). The built-in tooltip of `bk-button` does not show in a dialog, so one
|
|
47
|
+
* Esc closes the dialog. A `bk-tooltip` of the app in the dialog takes the first Esc, and the second Esc closes the dialog.
|
|
48
|
+
*
|
|
45
49
|
* For a one-line yes/no question, use `confirmDialog()` from the same module.
|
|
46
50
|
*
|
|
47
51
|
* The dialog is behaviour plus a little chrome. Content components (a `<bk-command-menu>`, a
|
|
@@ -110,7 +114,7 @@ export interface DialogCloseDetail {
|
|
|
110
114
|
* @keyboard Escape - Close the dialog (fires a cancelable `cancel`; not with `dismissible="false"`).
|
|
111
115
|
* @keyboard Tab, Shift + Tab - Move the focus inside the dialog. It does not leave the dialog (not with `floating`).
|
|
112
116
|
* @keyboard Arrow keys - On the move button or the resize handle of a floating dialog: move or resize it (Shift: larger steps).
|
|
113
|
-
* @a11y A native modal `<dialog>` in the top layer: the page behind is inert. It gets its name from `heading`. The first focus is on the `[autofocus]` element, else the first field. An alert dialog (`
|
|
117
|
+
* @a11y A native modal `<dialog>` in the top layer: the page behind is inert. It gets its name from `heading`. The first focus is on the `[autofocus]` element, else the first field. An alert dialog (`alert`) is an `alertdialog` and focuses the least destructive action. When the dialog closes, the focus returns to the element that opened it.
|
|
114
118
|
* @tag bk-dialog
|
|
115
119
|
*/
|
|
116
120
|
export declare class BkDialog extends LitElement {
|
|
@@ -177,7 +181,7 @@ export declare class BkDialog extends LitElement {
|
|
|
177
181
|
size: "sm" | "md" | "lg" | "full";
|
|
178
182
|
/** Esc, a click on the backdrop and the close button dismiss the dialog (default true). Set `dismissible="false"` or the property to false for choices that the user must make. */
|
|
179
183
|
dismissible: boolean;
|
|
180
|
-
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it. */
|
|
184
|
+
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it too. */
|
|
181
185
|
alert: boolean;
|
|
182
186
|
/** Accessible name of the close button (default: i18n `close`). */
|
|
183
187
|
closeLabel: string;
|
|
@@ -239,6 +243,9 @@ export declare class BkDialog extends LitElement {
|
|
|
239
243
|
private onCancel;
|
|
240
244
|
/** The native dialog closed on its own (for example `requestClose()` without a cancelable cancel): sync the state. */
|
|
241
245
|
private onNativeClose;
|
|
246
|
+
private backdropPress;
|
|
247
|
+
private onBackdropPress;
|
|
248
|
+
/** Light dismiss: the press and the click are both on the backdrop (see `BackdropPress`). */
|
|
242
249
|
private onBackdrop;
|
|
243
250
|
private floatState;
|
|
244
251
|
/** A pointer gesture ended in a move, so the click that follows must not start the click-to-place mode. */
|
|
@@ -3,8 +3,10 @@ import { define } from "../internal/define.js";
|
|
|
3
3
|
import { LocalizeController } from "../i18n.js";
|
|
4
4
|
import { deepActiveElement, setTriggerAria } from "../internal/anchor.js";
|
|
5
5
|
import { commandOf, installCommandFallback } from "../internal/command.js";
|
|
6
|
+
import { BackdropPress } from "../internal/backdrop.js";
|
|
6
7
|
import { emitLifecycle } from "../internal/events.js";
|
|
7
8
|
import { lockScroll, unlockScroll } from "../internal/scroll-lock.js";
|
|
9
|
+
import { trackModal } from "../internal/announcer.js";
|
|
8
10
|
import { SlotController } from "../internal/slots.js";
|
|
9
11
|
import { StateController } from "../internal/state.js";
|
|
10
12
|
import { base, footerRegion, headingType } from "../internal/styles.js";
|
|
@@ -202,6 +204,8 @@ class BkDialog extends LitElement {
|
|
|
202
204
|
super.disconnectedCallback();
|
|
203
205
|
this.startSize.disconnect();
|
|
204
206
|
unlockScroll(this);
|
|
207
|
+
if (this.dialog)
|
|
208
|
+
trackModal(this.dialog, false);
|
|
205
209
|
this.stopPlacing();
|
|
206
210
|
window.removeEventListener("resize", this.onViewport);
|
|
207
211
|
}
|
|
@@ -266,6 +270,7 @@ class BkDialog extends LitElement {
|
|
|
266
270
|
} else {
|
|
267
271
|
d.showModal();
|
|
268
272
|
lockScroll(this);
|
|
273
|
+
trackModal(d, true);
|
|
269
274
|
}
|
|
270
275
|
this.focusFirst();
|
|
271
276
|
this.syncCommandSource();
|
|
@@ -275,6 +280,7 @@ class BkDialog extends LitElement {
|
|
|
275
280
|
if (d.open)
|
|
276
281
|
d.close();
|
|
277
282
|
unlockScroll(this);
|
|
283
|
+
trackModal(d, false);
|
|
278
284
|
this.stopPlacing();
|
|
279
285
|
window.removeEventListener("resize", this.onViewport);
|
|
280
286
|
if (hadFocus && this.opener instanceof HTMLElement && this.opener.isConnected)
|
|
@@ -349,14 +355,16 @@ class BkDialog extends LitElement {
|
|
|
349
355
|
if (this.open)
|
|
350
356
|
this.close("");
|
|
351
357
|
}
|
|
358
|
+
backdropPress = new BackdropPress(() => this.dialog);
|
|
359
|
+
onBackdropPress(e) {
|
|
360
|
+
this.backdropPress.press(e);
|
|
361
|
+
}
|
|
362
|
+
/** Light dismiss: the press and the click are both on the backdrop (see `BackdropPress`). */
|
|
352
363
|
onBackdrop(e) {
|
|
364
|
+
const hit = this.backdropPress.isBackdropClick(e);
|
|
353
365
|
if (this.alert)
|
|
354
366
|
return;
|
|
355
|
-
if (
|
|
356
|
-
return;
|
|
357
|
-
const r = this.dialog.getBoundingClientRect();
|
|
358
|
-
const inside = e.clientX >= r.left && e.clientX <= r.right && e.clientY >= r.top && e.clientY <= r.bottom;
|
|
359
|
-
if (!inside)
|
|
367
|
+
if (hit)
|
|
360
368
|
this.dismiss();
|
|
361
369
|
}
|
|
362
370
|
// ---- floating: move and resize --------------------------------------------------------------
|
|
@@ -552,7 +560,7 @@ class BkDialog extends LitElement {
|
|
|
552
560
|
const bareName = this.bare ? this.heading || void 0 : void 0;
|
|
553
561
|
return html`<dialog part="dialog" tabindex="-1" role=${this.alert ? "alertdialog" : nothing} aria-labelledby=${this.heading && !this.bare ? "heading" : nothing}
|
|
554
562
|
aria-label=${bareName ?? nothing}
|
|
555
|
-
aria-describedby=${this.description && !this.bare ? "desc" : this.alert && !this.bare ? "body" : nothing} @cancel=${this.onCancel} @close=${this.onNativeClose} @click=${this.onBackdrop} @keydown=${this.onKeydown}>
|
|
563
|
+
aria-describedby=${this.description && !this.bare ? "desc" : this.alert && !this.bare ? "body" : nothing} @cancel=${this.onCancel} @close=${this.onNativeClose} @pointerdown=${this.onBackdropPress} @click=${this.onBackdrop} @keydown=${this.onKeydown}>
|
|
556
564
|
<div class="header ${hasHeader ? "" : "header-empty"} ${this.description || this.slots.has("header") ? "" : "single"}" part="header" @pointerdown=${this.onHeaderDown}>
|
|
557
565
|
${this.nonModal && !this.bare ? html`<bk-button variant="ghost" class="move" part="move" icon="drag-indicator" size="sm" label=${this.moveLabel || this.i18n.t("moveWindow")}
|
|
558
566
|
aria-pressed=${this.placing === "move" ? "true" : "false"} @click=${this.onMoveClick} @keydown=${this.onMoveKey}></bk-button>` : nothing}
|
|
@@ -74,8 +74,10 @@ class BkDisclosure extends LitElement {
|
|
|
74
74
|
:host(:dir(rtl)[open]) .caret { rotate: -90deg; }
|
|
75
75
|
/* The end content can give way, but never runs past the line. */
|
|
76
76
|
.end { display: inline-flex; align-items: center; gap: var(--bk-disclosure-gap, var(--bk-space-1)); flex: 0 1 auto; min-width: 0; overflow: hidden; }
|
|
77
|
-
/* A text in it that can be cut (overflow=ellipsis) gives way before the rest of the end content.
|
|
78
|
-
|
|
77
|
+
/* A text in it that can be cut (overflow=ellipsis) gives way before the label and the rest of the end content.
|
|
78
|
+
The end takes only the free room (basis 0): a shrink factor alone also takes a fraction of a pixel from the label. */
|
|
79
|
+
.end.cut { flex: 1 1 0; }
|
|
80
|
+
:host(:is([variant="row"], [variant="thread"])) .end.cut { justify-content: flex-end; }
|
|
79
81
|
.end.cut ::slotted(*) { flex: none; }
|
|
80
82
|
.end.cut ::slotted([overflow="ellipsis"]) { flex: 0 1 auto; min-width: 0; }
|
|
81
83
|
.content { padding-block-start: var(--bk-disclosure-content-gap, var(--bk-space-1)); }
|
|
@@ -16,6 +16,8 @@ export type DropEffect = "move" | "copy" | "link";
|
|
|
16
16
|
* through: the content under it (a list that sorts its own items) still receives it. For an accepted
|
|
17
17
|
* drag, it allows the drop with `effect` and stops the own handling of the browser (opening a dropped
|
|
18
18
|
* file). The `drop` event is the native event. Read the data from `event.dataTransfer`.
|
|
19
|
+
* A `disabled` target refuses an accepted drag: the pointer shows no drop, and the browser does not open a
|
|
20
|
+
* dropped file in the tab.
|
|
19
21
|
*
|
|
20
22
|
* Dragging needs a pointer. Also give the same action a keyboard path (a menu item, a button).
|
|
21
23
|
*
|
|
@@ -50,8 +52,12 @@ export declare class BkDropTarget extends LitElement {
|
|
|
50
52
|
private depth;
|
|
51
53
|
constructor();
|
|
52
54
|
static styles: import("lit").CSSResult[];
|
|
53
|
-
/** True if this drag has a type that the element accepts. */
|
|
55
|
+
/** True if this drag has a type that the element accepts, also while it is disabled. */
|
|
56
|
+
private acceptsType;
|
|
57
|
+
/** True if this drag has a type that the element accepts and the element is enabled. */
|
|
54
58
|
private takes;
|
|
59
|
+
/** A disabled target refuses an accepted drag, so the browser does not open a dropped file in the tab. */
|
|
60
|
+
private refuse;
|
|
55
61
|
private set receiving(value);
|
|
56
62
|
private onEnter;
|
|
57
63
|
private onOver;
|
|
@@ -29,13 +29,25 @@ class BkDropTarget extends LitElement {
|
|
|
29
29
|
}
|
|
30
30
|
@media (forced-colors: active) { :host(:state(receiving)) { outline-color: Highlight; } }
|
|
31
31
|
`];
|
|
32
|
-
/** True if this drag has a type that the element accepts. */
|
|
33
|
-
|
|
34
|
-
if (
|
|
32
|
+
/** True if this drag has a type that the element accepts, also while it is disabled. */
|
|
33
|
+
acceptsType(e) {
|
|
34
|
+
if (!e.dataTransfer)
|
|
35
35
|
return false;
|
|
36
36
|
const types = this.accept.split(/[\s,]+/).filter(Boolean);
|
|
37
37
|
return !types.length || types.some((t) => e.dataTransfer.types.includes(t));
|
|
38
38
|
}
|
|
39
|
+
/** True if this drag has a type that the element accepts and the element is enabled. */
|
|
40
|
+
takes(e) {
|
|
41
|
+
return !this.disabled && this.acceptsType(e);
|
|
42
|
+
}
|
|
43
|
+
/** A disabled target refuses an accepted drag, so the browser does not open a dropped file in the tab. */
|
|
44
|
+
refuse(e) {
|
|
45
|
+
if (!this.disabled || !this.acceptsType(e))
|
|
46
|
+
return false;
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
e.dataTransfer.dropEffect = "none";
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
39
51
|
set receiving(on) {
|
|
40
52
|
if (on)
|
|
41
53
|
this.internals.states.add("receiving");
|
|
@@ -50,7 +62,7 @@ class BkDropTarget extends LitElement {
|
|
|
50
62
|
this.receiving = true;
|
|
51
63
|
};
|
|
52
64
|
onOver = (e) => {
|
|
53
|
-
if (!this.takes(e))
|
|
65
|
+
if (this.refuse(e) || !this.takes(e))
|
|
54
66
|
return;
|
|
55
67
|
e.preventDefault();
|
|
56
68
|
e.dataTransfer.dropEffect = this.effect;
|
|
@@ -64,6 +76,10 @@ class BkDropTarget extends LitElement {
|
|
|
64
76
|
this.receiving = false;
|
|
65
77
|
};
|
|
66
78
|
onDrop = (e) => {
|
|
79
|
+
if (this.refuse(e)) {
|
|
80
|
+
e.stopImmediatePropagation();
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
67
83
|
if (!this.takes(e))
|
|
68
84
|
return;
|
|
69
85
|
e.preventDefault();
|
|
@@ -95,6 +95,11 @@ export declare class BkErrorSummary extends LitElement {
|
|
|
95
95
|
/** Empties and hides the summary. */
|
|
96
96
|
clear(): void;
|
|
97
97
|
protected willUpdate(changed: PropertyValues): void;
|
|
98
|
+
/**
|
|
99
|
+
* Focuses the summary. The summary gets `tabindex="-1"` only for this focus and removes it when the focus leaves:
|
|
100
|
+
* the element has no attribute that the app did not write until the summary opens.
|
|
101
|
+
*/
|
|
102
|
+
focus(options?: FocusOptions): void;
|
|
98
103
|
protected updated(): void;
|
|
99
104
|
private watch;
|
|
100
105
|
private unwatch;
|
|
@@ -56,7 +56,7 @@ class BkErrorSummary extends LitElement {
|
|
|
56
56
|
static styles = [base, css`
|
|
57
57
|
:host { display: block; outline: none; }
|
|
58
58
|
:host(:state(empty)) { display: none; }
|
|
59
|
-
:host(:focus-visible
|
|
59
|
+
:host(:focus-visible:state(key-focus)) bk-alert::part(base) { outline: var(--bk-focus-ring); outline-offset: var(--bk-focus-offset); }
|
|
60
60
|
ul { display: grid; gap: var(--bk-error-summary-gap, var(--bk-space-1)); margin: 0; padding-inline-start: var(--bk-space-4); }
|
|
61
61
|
ul:empty { display: none; }
|
|
62
62
|
a {
|
|
@@ -76,8 +76,6 @@ class BkErrorSummary extends LitElement {
|
|
|
76
76
|
}
|
|
77
77
|
connectedCallback() {
|
|
78
78
|
super.connectedCallback();
|
|
79
|
-
if (!this.hasAttribute("tabindex"))
|
|
80
|
-
this.tabIndex = -1;
|
|
81
79
|
trackInput();
|
|
82
80
|
this.watch();
|
|
83
81
|
if (!this.watched && document.readyState === "loading")
|
|
@@ -107,11 +105,22 @@ class BkErrorSummary extends LitElement {
|
|
|
107
105
|
const empty = !this.entries.length && !this.slots.has("");
|
|
108
106
|
empty ? this.internals.states.add("empty") : this.internals.states.delete("empty");
|
|
109
107
|
}
|
|
108
|
+
/**
|
|
109
|
+
* Focuses the summary. The summary gets `tabindex="-1"` only for this focus and removes it when the focus leaves:
|
|
110
|
+
* the element has no attribute that the app did not write until the summary opens.
|
|
111
|
+
*/
|
|
112
|
+
focus(options) {
|
|
113
|
+
if (!this.hasAttribute("tabindex")) {
|
|
114
|
+
this.setAttribute("tabindex", "-1");
|
|
115
|
+
this.addEventListener("blur", () => this.removeAttribute("tabindex"), { once: true });
|
|
116
|
+
}
|
|
117
|
+
super.focus(options);
|
|
118
|
+
}
|
|
110
119
|
updated() {
|
|
111
120
|
if (this.focusPending) {
|
|
112
121
|
this.focusPending = false;
|
|
113
122
|
if (this.entries.length) {
|
|
114
|
-
this.
|
|
123
|
+
keyboardInput ? this.internals.states.add("key-focus") : this.internals.states.delete("key-focus");
|
|
115
124
|
this.focus({ preventScroll: true, focusVisible: keyboardInput });
|
|
116
125
|
this.scrollIntoView({ block: "nearest" });
|
|
117
126
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LitElement, css, html } from "lit";
|
|
2
2
|
import { define } from "../internal/define.js";
|
|
3
|
+
import { setHostVars } from "../internal/host-vars.js";
|
|
3
4
|
import { base } from "../internal/styles.js";
|
|
4
5
|
class BkFacts extends LitElement {
|
|
5
6
|
static properties = { min: { reflect: true }, layout: { reflect: true, useDefault: true } };
|
|
@@ -12,7 +13,7 @@ class BkFacts extends LitElement {
|
|
|
12
13
|
:host {
|
|
13
14
|
display: grid; min-width: 0;
|
|
14
15
|
gap: var(--bk-facts-gap-block, var(--bk-space-4)) var(--bk-facts-gap-inline, var(--bk-space-5));
|
|
15
|
-
grid-template-columns: repeat(auto-fit, minmax(min(var(--bk-facts-min, 160px), 100%), 1fr));
|
|
16
|
+
grid-template-columns: repeat(auto-fit, minmax(min(var(--_bk-facts-min, var(--bk-facts-min, 160px)), 100%), 1fr));
|
|
16
17
|
}
|
|
17
18
|
/* One grid for all rows: the label column is as wide as the widest label, up to --bk-facts-label-width, and never
|
|
18
19
|
leaves less than --bk-facts-rows-min for the value. Each item spans the columns as a subgrid: label, value, actions. */
|
|
@@ -38,7 +39,7 @@ class BkFacts extends LitElement {
|
|
|
38
39
|
}
|
|
39
40
|
`];
|
|
40
41
|
updated() {
|
|
41
|
-
this
|
|
42
|
+
setHostVars(this, { "--_bk-facts-min": this.min || "" });
|
|
42
43
|
}
|
|
43
44
|
render() {
|
|
44
45
|
return html`<div class="rows"><slot></slot></div>`;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { LitElement, nothing } from "lit";
|
|
2
|
+
import { type FootnoteMarker, type FootnoteRef } from "../internal/footnotes.js";
|
|
3
|
+
/**
|
|
4
|
+
* A footnote marker: a small raised number in a line of text that links to its note. The note is a
|
|
5
|
+
* `<bk-footnotes-item>` with the same `id` in a `<bk-footnotes>` list, for example at the end of the page.
|
|
6
|
+
*
|
|
7
|
+
* ```html
|
|
8
|
+
* <p>The plan costs up to 155 €<bk-footnote note="price"></bk-footnote> a month.</p>
|
|
9
|
+
* <bk-footnotes>
|
|
10
|
+
* <bk-footnotes-item id="price" href="https://example.com/prices" date="2026-11">Statistics office, price index.</bk-footnotes-item>
|
|
11
|
+
* </bk-footnotes>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* - The number comes from the page: each list numbers its notes in the order of their first marker. Several
|
|
15
|
+
* markers can refer to one note. They then show the same number, and the note has a back link to each of them.
|
|
16
|
+
* - The order is the order on the screen. A marker in a slot or in the shadow root of another element counts at
|
|
17
|
+
* its place there: in a value of a `bk-stat`, in a `bk-facts-item`, in a cell of a `bk-table`.
|
|
18
|
+
* - A click on the marker moves the focus to the note and marks it (`:state(target)`). The page scrolls to it.
|
|
19
|
+
* - A marker whose note is not on the page shows nothing. It shows its number when the note connects.
|
|
20
|
+
* - The browser numbers the markers. The HTML of a server has the link without a number.
|
|
21
|
+
*
|
|
22
|
+
* Inline content: it is in a line of text, like a link. Its hit area is at least `--bk-target-min`.
|
|
23
|
+
*
|
|
24
|
+
* @csspart marker - The raised box around the link (`<sup>`).
|
|
25
|
+
* @csspart link - The `<a>` with the number.
|
|
26
|
+
* @cssprop --bk-footnote-fg - Colour of the number (default --bk-link).
|
|
27
|
+
* @cssprop --bk-footnote-hover-fg - Colour of the number on hover (default --bk-link-hover).
|
|
28
|
+
* @cssprop --bk-footnote-font-size - Size of the number (default 0.75em, three quarters of the text around it).
|
|
29
|
+
* @cssprop --bk-footnote-font-weight - Weight of the number (default --bk-weight-medium).
|
|
30
|
+
* @cssprop --bk-footnote-padding-inline - Space before and after the number (default --bk-space-0).
|
|
31
|
+
* @cssprop --bk-footnote-radius - Corner radius of the focus ring and of the mark of a target (default --bk-radius-xs).
|
|
32
|
+
* @cssprop --bk-footnote-target-bg - Mark of the marker when a back link of its note jumped to it (default --bk-accent-soft).
|
|
33
|
+
* @cssprop --bk-footnote-scroll-margin - Space above the marker when a back link scrolls to it (default the header height plus --bk-space-4).
|
|
34
|
+
*
|
|
35
|
+
* @tag bk-footnote
|
|
36
|
+
* @keyboard Enter - Moves the focus to the note.
|
|
37
|
+
* @a11y The marker is a link with the name "Footnote {number}" (i18n `footnoteN`). The visible number is part of the name. Its note has a back link to it. A marker without a note is not in the accessibility tree.
|
|
38
|
+
*/
|
|
39
|
+
export declare class BkFootnote extends LitElement implements FootnoteMarker {
|
|
40
|
+
static shadowRootOptions: ShadowRootInit;
|
|
41
|
+
static properties: {
|
|
42
|
+
note: {};
|
|
43
|
+
ref: {
|
|
44
|
+
state: boolean;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/** The `id` of the `<bk-footnotes-item>` of the note. */
|
|
48
|
+
note: string;
|
|
49
|
+
/** The place of the marker: its number and its note. The registry sets it. */
|
|
50
|
+
private ref;
|
|
51
|
+
private i18n;
|
|
52
|
+
private internals;
|
|
53
|
+
constructor();
|
|
54
|
+
connectedCallback(): void;
|
|
55
|
+
disconnectedCallback(): void;
|
|
56
|
+
/** The number of the note, after the page numbered the markers; `undefined` without a note. */
|
|
57
|
+
get number(): number | undefined;
|
|
58
|
+
/** @internal */
|
|
59
|
+
setFootnoteRef(ref: FootnoteRef | undefined): void;
|
|
60
|
+
/** Moves the focus to the marker, scrolls to it and marks it. A back link of the note calls it. */
|
|
61
|
+
reveal(): void;
|
|
62
|
+
protected willUpdate(changed: Map<PropertyKey, unknown>): void;
|
|
63
|
+
protected getUpdateComplete(): Promise<boolean>;
|
|
64
|
+
static styles: import("lit").CSSResult[];
|
|
65
|
+
private onClick;
|
|
66
|
+
render(): typeof nothing | import("lit-html").TemplateResult<1>;
|
|
67
|
+
}
|
|
68
|
+
declare global {
|
|
69
|
+
interface HTMLElementTagNameMap {
|
|
70
|
+
"bk-footnote": BkFootnote;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=bk-footnote.d.ts.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { LitElement, css, html, nothing } from "lit";
|
|
2
|
+
import { LocalizeController } from "../i18n.js";
|
|
3
|
+
import { define } from "../internal/define.js";
|
|
4
|
+
import { addFootnoteMarker, clearFootnoteTarget, footnotesSettled, isPlainClick, removeFootnoteMarker, revealFootnoteTarget, scheduleFootnotes } from "../internal/footnotes.js";
|
|
5
|
+
import { base } from "../internal/styles.js";
|
|
6
|
+
class BkFootnote extends LitElement {
|
|
7
|
+
static shadowRootOptions = { ...LitElement.shadowRootOptions, delegatesFocus: true };
|
|
8
|
+
static properties = {
|
|
9
|
+
note: {},
|
|
10
|
+
ref: { state: true }
|
|
11
|
+
};
|
|
12
|
+
i18n = new LocalizeController(this);
|
|
13
|
+
internals = this.attachInternals();
|
|
14
|
+
constructor() {
|
|
15
|
+
super();
|
|
16
|
+
this.note = "";
|
|
17
|
+
}
|
|
18
|
+
connectedCallback() {
|
|
19
|
+
super.connectedCallback();
|
|
20
|
+
addFootnoteMarker(this);
|
|
21
|
+
}
|
|
22
|
+
disconnectedCallback() {
|
|
23
|
+
super.disconnectedCallback();
|
|
24
|
+
removeFootnoteMarker(this);
|
|
25
|
+
clearFootnoteTarget(this);
|
|
26
|
+
}
|
|
27
|
+
/** The number of the note, after the page numbered the markers; `undefined` without a note. */
|
|
28
|
+
get number() {
|
|
29
|
+
return this.ref?.number;
|
|
30
|
+
}
|
|
31
|
+
/** @internal */
|
|
32
|
+
setFootnoteRef(ref) {
|
|
33
|
+
const old = this.ref;
|
|
34
|
+
if (old?.number === ref?.number && old?.index === ref?.index && old?.count === ref?.count && old?.note === ref?.note)
|
|
35
|
+
return;
|
|
36
|
+
this.ref = ref;
|
|
37
|
+
}
|
|
38
|
+
/** Moves the focus to the marker, scrolls to it and marks it. A back link of the note calls it. */
|
|
39
|
+
reveal() {
|
|
40
|
+
revealFootnoteTarget(this, this.internals, this.renderRoot.querySelector("a"));
|
|
41
|
+
}
|
|
42
|
+
willUpdate(changed) {
|
|
43
|
+
if (changed.has("note") && this.hasUpdated)
|
|
44
|
+
scheduleFootnotes();
|
|
45
|
+
}
|
|
46
|
+
async getUpdateComplete() {
|
|
47
|
+
const done = await super.getUpdateComplete();
|
|
48
|
+
await footnotesSettled();
|
|
49
|
+
return await super.getUpdateComplete() && done;
|
|
50
|
+
}
|
|
51
|
+
static styles = [base, css`
|
|
52
|
+
:host {
|
|
53
|
+
display: inline;
|
|
54
|
+
scroll-margin-block: var(--bk-footnote-scroll-margin, calc(var(--bk-shell-app-sticky-top, var(--bk-height-header, calc(var(--bk-control-md) + var(--bk-space-5)))) + var(--bk-space-4)));
|
|
55
|
+
}
|
|
56
|
+
sup {
|
|
57
|
+
vertical-align: super; line-height: 0;
|
|
58
|
+
font-size: var(--bk-footnote-font-size, 0.75em); font-weight: var(--bk-footnote-font-weight, var(--bk-weight-medium));
|
|
59
|
+
font-variant-numeric: tabular-nums; font-style: normal; letter-spacing: normal;
|
|
60
|
+
}
|
|
61
|
+
a {
|
|
62
|
+
position: relative; padding-inline: var(--bk-footnote-padding-inline, var(--bk-space-0));
|
|
63
|
+
border-radius: var(--bk-footnote-radius, var(--bk-radius-xs));
|
|
64
|
+
color: var(--bk-footnote-fg, var(--bk-link)); text-decoration: none;
|
|
65
|
+
transition: background-color var(--bk-duration-slow) var(--bk-ease);
|
|
66
|
+
}
|
|
67
|
+
/* The hit area is at least --bk-target-min; the visible number stays small. */
|
|
68
|
+
a::before { content: ""; position: absolute; inset: min(0px, calc((100% - var(--bk-target-min)) / 2)); }
|
|
69
|
+
@media (hover: hover) {
|
|
70
|
+
a:hover { color: var(--bk-footnote-hover-fg, var(--bk-link-hover)); text-decoration: underline; }
|
|
71
|
+
}
|
|
72
|
+
a:focus { outline: none; }
|
|
73
|
+
a:focus-visible { outline: var(--bk-focus-ring); outline-offset: var(--bk-focus-offset); }
|
|
74
|
+
:host(:state(target)) a { background: var(--bk-footnote-target-bg, var(--bk-accent-soft)); }
|
|
75
|
+
@media (forced-colors: active) {
|
|
76
|
+
a { color: LinkText; }
|
|
77
|
+
:host(:state(target)) a { outline: var(--bk-border-width) solid Highlight; }
|
|
78
|
+
}
|
|
79
|
+
`];
|
|
80
|
+
onClick = (e) => {
|
|
81
|
+
if (!this.ref || !isPlainClick(e))
|
|
82
|
+
return;
|
|
83
|
+
e.preventDefault();
|
|
84
|
+
this.ref.note.reveal();
|
|
85
|
+
};
|
|
86
|
+
render() {
|
|
87
|
+
const ref = this.ref;
|
|
88
|
+
if (!ref)
|
|
89
|
+
return nothing;
|
|
90
|
+
return html`<sup part="marker"><a part="link" href="#${ref.note.id}" aria-label=${this.i18n.t("footnoteN", { number: ref.number })} @click=${this.onClick}>${ref.number}</a></sup>`;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
define("bk-footnote", BkFootnote);
|
|
94
|
+
export {
|
|
95
|
+
BkFootnote
|
|
96
|
+
};
|
|
97
|
+
//# sourceMappingURL=bk-footnote.js.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
import { type FootnoteMarker, type FootnoteNote } from "../internal/footnotes.js";
|
|
3
|
+
import "./bk-icon.js";
|
|
4
|
+
import "../icons/set/arrow-up.js";
|
|
5
|
+
export type { NavigateDetail } from "../internal/link.js";
|
|
6
|
+
/**
|
|
7
|
+
* One note in a `<bk-footnotes>` list: the source text, an optional link and an optional date. Its `id` is the
|
|
8
|
+
* id that the markers (`<bk-footnote note="…">`) name.
|
|
9
|
+
*
|
|
10
|
+
* ```html
|
|
11
|
+
* <bk-footnotes-item id="cpi" href="https://example.com/cpi" date="2026-11">Statistics office, consumer price index.</bk-footnotes-item>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* - The number comes from the first marker of the note on the page. The list shows the notes in the order of their
|
|
15
|
+
* numbers.
|
|
16
|
+
* - After the text, the note shows a back link to each marker: one arrow for one marker, the letters a, b, … for
|
|
17
|
+
* several markers. A back link moves the focus to its marker.
|
|
18
|
+
* - `href` adds a link to the source. Its text is the host of the address ("example.com"). Write a link with
|
|
19
|
+
* another text in the content.
|
|
20
|
+
* - `date` is the date of the data, as `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. The note shows "As of {date}" (i18n
|
|
21
|
+
* `footnoteAsOf`), formatted in the language of the page.
|
|
22
|
+
* - A marker that jumps to the note marks it (`:state(target)`), as `:target` does for a fragment.
|
|
23
|
+
*
|
|
24
|
+
* @slot - The text of the note.
|
|
25
|
+
* @csspart number - The number.
|
|
26
|
+
* @csspart body - The text, the link, the date and the back links. It receives the focus from a marker.
|
|
27
|
+
* @csspart source - The link to the source.
|
|
28
|
+
* @csspart date - The date.
|
|
29
|
+
* @csspart back - Each back link.
|
|
30
|
+
* @cssprop --bk-footnotes-item-number-fg - Colour of the number (default --bk-text-muted).
|
|
31
|
+
* @cssprop --bk-footnotes-item-link-fg - Colour of the source link and of the back links (default --bk-link).
|
|
32
|
+
* @cssprop --bk-footnotes-item-link-hover-fg - Colour of the source link and of the back links on hover (default --bk-link-hover).
|
|
33
|
+
* @cssprop --bk-footnotes-item-target-bg - Mark of the note when a marker jumped to it (default --bk-accent-soft).
|
|
34
|
+
* @cssprop --bk-footnotes-item-radius - Corner radius of the mark and of the focus ring (default --bk-radius-xs).
|
|
35
|
+
* @cssprop --bk-footnotes-item-separator-gap - Space around the dot between the text, the link and the date (default --bk-space-1).
|
|
36
|
+
* @cssprop --bk-footnotes-item-scroll-margin - Space above the note when a marker scrolls to it (default the header height plus --bk-space-4).
|
|
37
|
+
*
|
|
38
|
+
* @fires {CustomEvent<NavigateDetail>} navigate - The user makes a plain click on the source link (primary button, no modifier key, no other `target`, no `download`). `detail.href` is the resolved address. The event bubbles, is composed and is cancelable. `preventDefault()` stops the browser, and the router of the app takes over.
|
|
39
|
+
* @tag bk-footnotes-item
|
|
40
|
+
* @keyboard Enter - On a back link: moves the focus to the marker.
|
|
41
|
+
* @a11y The note is a `listitem`. A marker moves the focus to it (the body has `tabindex="-1"`). Each back link has the name "Go back to reference {number}" (i18n `footnoteBack`), with the letter of the marker when the note has several markers ("1a").
|
|
42
|
+
*/
|
|
43
|
+
export declare class BkFootnotesItem extends LitElement implements FootnoteNote {
|
|
44
|
+
static properties: {
|
|
45
|
+
href: {};
|
|
46
|
+
target: {};
|
|
47
|
+
rel: {};
|
|
48
|
+
date: {};
|
|
49
|
+
number: {
|
|
50
|
+
state: boolean;
|
|
51
|
+
};
|
|
52
|
+
markers: {
|
|
53
|
+
state: boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
/** Address of the source. */
|
|
57
|
+
href: string | undefined;
|
|
58
|
+
/** `target` of the source link. */
|
|
59
|
+
target: string | undefined;
|
|
60
|
+
/** `rel` of the source link. */
|
|
61
|
+
rel: string | undefined;
|
|
62
|
+
/** Date of the data: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. */
|
|
63
|
+
date: string | undefined;
|
|
64
|
+
/** The number of the note, after the page numbered the notes. The registry sets it. */
|
|
65
|
+
number: number | undefined;
|
|
66
|
+
/** The markers of the note, in the order of the page. */
|
|
67
|
+
private markers;
|
|
68
|
+
private i18n;
|
|
69
|
+
private links;
|
|
70
|
+
private internals;
|
|
71
|
+
/** The `id` is the name of the note: a new id numbers the page again. */
|
|
72
|
+
private ids;
|
|
73
|
+
constructor();
|
|
74
|
+
connectedCallback(): void;
|
|
75
|
+
disconnectedCallback(): void;
|
|
76
|
+
/** @internal */
|
|
77
|
+
setFootnoteState(number: number | undefined, markers: FootnoteMarker[]): void;
|
|
78
|
+
/** Moves the focus to the note, scrolls to it and marks it. A marker calls it. */
|
|
79
|
+
reveal(): void;
|
|
80
|
+
protected updated(): void;
|
|
81
|
+
protected getUpdateComplete(): Promise<boolean>;
|
|
82
|
+
static styles: import("lit").CSSResult[];
|
|
83
|
+
private onBack;
|
|
84
|
+
private renderBacks;
|
|
85
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
86
|
+
}
|
|
87
|
+
declare global {
|
|
88
|
+
interface HTMLElementTagNameMap {
|
|
89
|
+
"bk-footnotes-item": BkFootnotesItem;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=bk-footnotes-item.d.ts.map
|