@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
package/dist/jsx.d.ts
CHANGED
|
@@ -75,15 +75,18 @@ import type { BkFeature } from "./components/bk-feature.js";
|
|
|
75
75
|
import type { BkFieldset } from "./components/bk-fieldset.js";
|
|
76
76
|
import type { BkFilterBar, FilterBarRemoveDetail } from "./components/bk-filter-bar.js";
|
|
77
77
|
import type { BkFolderBrowser, FolderBrowserNavigateDetail } from "./components/bk-folder-browser.js";
|
|
78
|
+
import type { BkFootnote } from "./components/bk-footnote.js";
|
|
79
|
+
import type { BkFootnotesItem } from "./components/bk-footnotes-item.js";
|
|
80
|
+
import type { BkFootnotes } from "./components/bk-footnotes.js";
|
|
78
81
|
import type { BkFormGuard } from "./components/bk-form-guard.js";
|
|
79
82
|
import type { BkFormSteps, FormStepDetail } from "./components/bk-form-steps.js";
|
|
80
83
|
import type { BkGrid } from "./components/bk-grid.js";
|
|
81
84
|
import type { BkIconTile } from "./components/bk-icon-tile.js";
|
|
82
85
|
import type { BkIcon } from "./components/bk-icon.js";
|
|
83
|
-
import type { BkImageCompare } from "./components/bk-image-compare.js";
|
|
86
|
+
import type { BkImageCompare, ImageCompareView } from "./components/bk-image-compare.js";
|
|
84
87
|
import type { BkImageCrop, ImageCropRect } from "./components/bk-image-crop.js";
|
|
85
88
|
import type { BkImageEditor, ImageEdits } from "./components/bk-image-editor.js";
|
|
86
|
-
import type { BkImageViewer, ImageViewerChangeDetail } from "./components/bk-image-viewer.js";
|
|
89
|
+
import type { BkImageViewer, ImageViewerChangeDetail, ImageViewerView } from "./components/bk-image-viewer.js";
|
|
87
90
|
import type { BkInputCode } from "./components/bk-input-code.js";
|
|
88
91
|
import type { BkInputColor } from "./components/bk-input-color.js";
|
|
89
92
|
import type { BkInputDateRange } from "./components/bk-input-date-range.js";
|
|
@@ -117,7 +120,7 @@ import type { BkLogo } from "./components/bk-logo.js";
|
|
|
117
120
|
import type { BkMenuBar } from "./components/bk-menu-bar.js";
|
|
118
121
|
import type { BkMenuContext } from "./components/bk-menu-context.js";
|
|
119
122
|
import type { BkMenuDivider } from "./components/bk-menu-divider.js";
|
|
120
|
-
import type { BkMenuItem } from "./components/bk-menu-item.js";
|
|
123
|
+
import type { BkMenuItem, MenuItemRemoveDetail } from "./components/bk-menu-item.js";
|
|
121
124
|
import type { BkMenuLabel } from "./components/bk-menu-label.js";
|
|
122
125
|
import type { BkMenuList, MenuSelectDetail } from "./components/bk-menu-list.js";
|
|
123
126
|
import type { BkMenu } from "./components/bk-menu.js";
|
|
@@ -150,7 +153,7 @@ import type { BkPagination, PaginationChangeDetail, PaginationSelectDetail } fro
|
|
|
150
153
|
import type { BkPane } from "./components/bk-pane.js";
|
|
151
154
|
import type { BkPanel } from "./components/bk-panel.js";
|
|
152
155
|
import type { BkPeriodNav } from "./components/bk-period-nav.js";
|
|
153
|
-
import type { BkPicture } from "./components/bk-picture.js";
|
|
156
|
+
import type { BkPicture, PictureErrorDetail, PictureLoadDetail } from "./components/bk-picture.js";
|
|
154
157
|
import type { BkPopoverHelp } from "./components/bk-popover-help.js";
|
|
155
158
|
import type { BkPopover } from "./components/bk-popover.js";
|
|
156
159
|
import type { BkPresenceCursor } from "./components/bk-presence-cursor.js";
|
|
@@ -173,7 +176,7 @@ import type { BkShellSites } from "./components/bk-shell-sites.js";
|
|
|
173
176
|
import type { BkSkeleton } from "./components/bk-skeleton.js";
|
|
174
177
|
import type { BkSortable, SortableReorderDetail } from "./components/bk-sortable.js";
|
|
175
178
|
import type { BkSpinner } from "./components/bk-spinner.js";
|
|
176
|
-
import type { BkSplitGrid, SplitGridResizeDetail } from "./components/bk-split-grid.js";
|
|
179
|
+
import type { BkSplitGrid, SplitGridDragOutsideDetail, SplitGridDropOutsideDetail, SplitGridReorderDetail, SplitGridResizeDetail } from "./components/bk-split-grid.js";
|
|
177
180
|
import type { BkSplit, SplitEventDetail } from "./components/bk-split.js";
|
|
178
181
|
import type { BkStack } from "./components/bk-stack.js";
|
|
179
182
|
import type { BkStatGroup } from "./components/bk-stat-group.js";
|
|
@@ -496,7 +499,7 @@ declare module "react" {
|
|
|
496
499
|
"icon-end"?: BkAttr<BkButton["iconEnd"]>;
|
|
497
500
|
/** Accessible name and tooltip; needed when the button shows only an icon. */
|
|
498
501
|
"label"?: BkButton["label"];
|
|
499
|
-
/** Disables the button: no focus, no clicks, no form submit. */
|
|
502
|
+
/** Disables the button: no focus, no clicks, no form submit. A disabled ancestor `<fieldset>` disables it too (not a link button). */
|
|
500
503
|
"disabled"?: BkButton["disabled"];
|
|
501
504
|
/** Turns the button off and says why: a tooltip and the accessible description. The button stays focusable. */
|
|
502
505
|
"disabled-reason"?: BkAttr<BkButton["disabledReason"]>;
|
|
@@ -508,7 +511,7 @@ declare module "react" {
|
|
|
508
511
|
"block"?: BkButton["block"];
|
|
509
512
|
/** Position of the content of a `block` button: `center` (default), or `start` for a list of answers. A long label of a `block` button wraps, and the button grows with it. */
|
|
510
513
|
"align"?: BkButton["align"];
|
|
511
|
-
/** Toggle state; sets aria-pressed and the pressed
|
|
514
|
+
/** Toggle state; sets `aria-pressed` and the pressed look. When unset (the default), the button is not a toggle. The property `false` makes an unpressed toggle that announces `aria-pressed="false"`. In markup, write `pressed="false"` for it. The attribute `pressed` (or any other value) is a pressed toggle. */
|
|
512
515
|
"pressed"?: BkButton["pressed"];
|
|
513
516
|
/** Pill on a floating surface with a level-2 shadow, for controls laid over content. */
|
|
514
517
|
"floating"?: BkButton["floating"];
|
|
@@ -707,6 +710,8 @@ declare module "react" {
|
|
|
707
710
|
"bare"?: BkChartArea["bare"];
|
|
708
711
|
/** Intl.NumberFormat options for values. */
|
|
709
712
|
"value-format"?: BkAttr<BkChartArea["valueFormat"]>;
|
|
713
|
+
/** Fields of the row that the tooltip, the data table and the name of each point list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
|
|
714
|
+
"tooltip-fields"?: BkAttr<BkChartArea["tooltipFields"]>;
|
|
710
715
|
/** `up` (default): larger values are higher. `down`: the value axis runs down. The smallest value is at the top and is the best (a rank). Lines only. */
|
|
711
716
|
"y-direction"?: BkAttr<BkChartArea["yDirection"]>;
|
|
712
717
|
/** The start of the value axis, for example `1` for ranks. Default: a round value below the data (zero with `zero`). With `y-direction="down"` and whole numbers, the default is the smallest value. */
|
|
@@ -727,7 +732,7 @@ declare module "react" {
|
|
|
727
732
|
"onchange"?: (event: CustomEvent<ChartSeriesChangeDetail>) => void;
|
|
728
733
|
/** The pointer or the focus moves to an event mark or leaves it, or the user selects it (click, Enter, Space). The detail is `{ kind, mark, id, value, label }`. `kind` is `enter`, `leave` or `select`. The event is cancelable when `kind` is `select`. */
|
|
729
734
|
"onmark"?: (event: CustomEvent<ChartMarkDetail>) => void;
|
|
730
|
-
} & BkProps<BkChartArea, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "yDirection" | "persistKey">, "onSelect" | "onSelectCapture" | "onMark" | "onMarkCapture">;
|
|
735
|
+
} & BkProps<BkChartArea, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields" | "yDirection" | "persistKey">, "onSelect" | "onSelectCapture" | "onMark" | "onMarkCapture">;
|
|
731
736
|
"bk-chart-bar-list": BkElementProps<BkChartBarList, {
|
|
732
737
|
/** Accessible name of the table. */
|
|
733
738
|
"label"?: BkChartBarList["label"];
|
|
@@ -809,6 +814,8 @@ declare module "react" {
|
|
|
809
814
|
"variant"?: BkChartBar["variant"];
|
|
810
815
|
/** Intl.NumberFormat options for values (`{"style":"currency","currency":"EUR"}`). */
|
|
811
816
|
"value-format"?: BkAttr<BkChartBar["valueFormat"]>;
|
|
817
|
+
/** Fields of the row that the tooltip, the data table and the name of each bar list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
|
|
818
|
+
"tooltip-fields"?: BkAttr<BkChartBar["tooltipFields"]>;
|
|
812
819
|
/** Rows, one per category. */
|
|
813
820
|
"data"?: BkChartBar["data"];
|
|
814
821
|
/** The series to draw, in fixed colour order (default: every numeric field except `x`). */
|
|
@@ -819,7 +826,7 @@ declare module "react" {
|
|
|
819
826
|
"onselect"?: (event: CustomEvent<ChartBarSelectDetail>) => void;
|
|
820
827
|
/** With `href`: the user makes a plain click on the link of a category. The detail is `{ href }`. The event bubbles, is composed and is cancelable (the router of the app handles the click). */
|
|
821
828
|
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
822
|
-
} & BkProps<BkChartBar, "xLabel" | "detailLabel" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat">, "onSelect" | "onSelectCapture" | "onNavigate" | "onNavigateCapture">;
|
|
829
|
+
} & BkProps<BkChartBar, "xLabel" | "detailLabel" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields">, "onSelect" | "onSelectCapture" | "onNavigate" | "onNavigateCapture">;
|
|
823
830
|
"bk-chart-bridge": BkElementProps<BkChartBridge, {
|
|
824
831
|
/** `default`: each step in its own colour, the totals neutral. `change`: steps up in success, steps down in danger. */
|
|
825
832
|
"variant"?: BkChartBridge["variant"];
|
|
@@ -1025,6 +1032,8 @@ declare module "react" {
|
|
|
1025
1032
|
"bare"?: BkChartLine["bare"];
|
|
1026
1033
|
/** Intl.NumberFormat options for values. */
|
|
1027
1034
|
"value-format"?: BkAttr<BkChartLine["valueFormat"]>;
|
|
1035
|
+
/** Fields of the row that the tooltip, the data table and the name of each point list without drawing them. The attribute lists the keys (`tooltip-fields="prints likes"`). The property takes keys or `{ key, label, format }` objects, where `label` names the field and `format` are `Intl.NumberFormat` options. */
|
|
1036
|
+
"tooltip-fields"?: BkAttr<BkChartLine["tooltipFields"]>;
|
|
1028
1037
|
/** `up` (default): larger values are higher. `down`: the value axis runs down. The smallest value is at the top and is the best (a rank). Lines only. */
|
|
1029
1038
|
"y-direction"?: BkAttr<BkChartLine["yDirection"]>;
|
|
1030
1039
|
/** The start of the value axis, for example `1` for ranks. Default: a round value below the data (zero with `zero`). With `y-direction="down"` and whole numbers, the default is the smallest value. */
|
|
@@ -1045,7 +1054,7 @@ declare module "react" {
|
|
|
1045
1054
|
"onmark"?: (event: CustomEvent<ChartMarkDetail>) => void;
|
|
1046
1055
|
/** The range of a `selectable` chart. The detail is `{ from, to, fromIndex, toIndex }`. The event is cancelable: cancel it to keep the zoom and use the range yourself. After a reset, `from` and `to` are null. */
|
|
1047
1056
|
"onselect"?: (event: CustomEvent<ChartSelectDetail>) => void;
|
|
1048
|
-
} & BkProps<BkChartLine, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "yDirection" | "persistKey">, "onMark" | "onMarkCapture" | "onSelect" | "onSelectCapture">;
|
|
1057
|
+
} & BkProps<BkChartLine, "xType" | "xLabel" | "xFormat" | "seriesLabels" | "compareLabel" | "showSummary" | "valueFormat" | "tooltipFields" | "yDirection" | "persistKey">, "onMark" | "onMarkCapture" | "onSelect" | "onSelectCapture">;
|
|
1049
1058
|
"bk-chart-mark": BkElementProps<BkChartMark, {
|
|
1050
1059
|
/** `value` (default): the position is on the value axis. `category`: the position is on the x or category axis. */
|
|
1051
1060
|
"axis"?: BkChartMark["axis"];
|
|
@@ -1285,7 +1294,7 @@ declare module "react" {
|
|
|
1285
1294
|
"tone"?: BkChip["tone"];
|
|
1286
1295
|
/** Category colour `1` to `8` (identity: a label, a project, a person), from `--bk-hue-N-*`. It has priority over `tone` for the colour. */
|
|
1287
1296
|
"hue"?: BkChip["hue"];
|
|
1288
|
-
/** Weight: `soft` (default, tinted), `solid` (filled), `outline`, `dashed` (outline with a dashed border: a suggestion). */
|
|
1297
|
+
/** Weight: `soft` (default, tinted), `solid` (filled), `outline`, `dashed` (outline with a dashed border: a suggestion), `text` (no fill, no border, no inline padding: the tone colour as text). */
|
|
1289
1298
|
"variant"?: BkChip["variant"];
|
|
1290
1299
|
/** `sm`, `md` (default) or `lg`. */
|
|
1291
1300
|
"size"?: BkChip["size"];
|
|
@@ -1305,10 +1314,14 @@ declare module "react" {
|
|
|
1305
1314
|
"copy-text"?: BkAttr<BkChip["copyText"]>;
|
|
1306
1315
|
/** Accessible name of a `copy` chip (default: i18n `copyItem`, "Copy {item}" with the chip text and the count). */
|
|
1307
1316
|
"copy-label"?: BkAttr<BkChip["copyLabel"]>;
|
|
1308
|
-
/** A number or short text
|
|
1317
|
+
/** A number or short text after the text of the chip, for example the uses of a tag. It comes before the `end` slot. */
|
|
1309
1318
|
"count"?: BkChip["count"];
|
|
1310
1319
|
/** Accessible name of the remove button (default: i18n `removeItem`, "Remove {item}" with the chip text). */
|
|
1311
1320
|
"remove-label"?: BkAttr<BkChip["removeLabel"]>;
|
|
1321
|
+
/** Shows the chip as taken out: struck-through, muted text and a hidden "Removed". With `removable`, the button restores the chip and fires `restore`. */
|
|
1322
|
+
"removed"?: BkChip["removed"];
|
|
1323
|
+
/** Accessible name of the restore button of a `removed` chip (default: i18n `restoreItem`, "Restore {item}" with the chip text). */
|
|
1324
|
+
"restore-label"?: BkAttr<BkChip["restoreLabel"]>;
|
|
1312
1325
|
/** Makes the chip a link. */
|
|
1313
1326
|
"href"?: BkChip["href"];
|
|
1314
1327
|
/** Link target. The chip passes it to the inner `<a>` when `href` is set. */
|
|
@@ -1321,9 +1334,11 @@ declare module "react" {
|
|
|
1321
1334
|
"oncopyfailed"?: (event: CustomEvent<CopyFailedDetail>) => void;
|
|
1322
1335
|
/** The element fires this event when the user clicks the remove button. */
|
|
1323
1336
|
"onremove"?: (event: Event) => void;
|
|
1337
|
+
/** The element fires this event when the user clicks the restore button of a `removed` chip. The event bubbles and is composed. The app clears `removed`. */
|
|
1338
|
+
"onrestore"?: (event: Event) => void;
|
|
1324
1339
|
/** A plain click on the 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 handles the navigation. */
|
|
1325
1340
|
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
1326
|
-
} & BkProps<BkChip, "copyText" | "copyLabel" | "removeLabel">, "onCopyfailed" | "onCopyfailedCapture" | "onRemove" | "onRemoveCapture" | "onNavigate" | "onNavigateCapture">;
|
|
1341
|
+
} & BkProps<BkChip, "copyText" | "copyLabel" | "removeLabel" | "restoreLabel">, "onCopyfailed" | "onCopyfailedCapture" | "onRemove" | "onRemoveCapture" | "onRestore" | "onRestoreCapture" | "onNavigate" | "onNavigateCapture">;
|
|
1327
1342
|
"bk-cluster": BkElementProps<BkCluster, {
|
|
1328
1343
|
/** Cross-axis alignment: `center` (default), `start`, `end`, `baseline`, `stretch`. */
|
|
1329
1344
|
"align"?: BkCluster["align"];
|
|
@@ -1431,6 +1446,8 @@ declare module "react" {
|
|
|
1431
1446
|
"end-label"?: BkAttr<BkColumns["endLabel"]>;
|
|
1432
1447
|
/** The current layout, set from the element's width (read-only; reflected for styling). */
|
|
1433
1448
|
"mode"?: BkColumns["mode"];
|
|
1449
|
+
/** Set by `<bk-shell-app>` while the shell around the element is narrow: the columns flow in the document. */
|
|
1450
|
+
"narrow"?: BkColumns["narrow"];
|
|
1434
1451
|
/** A column scrolled. The element fires it again on itself (it does not bubble), so window capture listeners such as popover anchoring receive it. */
|
|
1435
1452
|
"onscroll"?: (event: Event) => void;
|
|
1436
1453
|
} & BkProps<BkColumns, "startWidth" | "endWidth" | "splitAbove" | "stackAbove" | "scrollKey" | "startLabel" | "mainLabel" | "endLabel">, "onScroll" | "onScrollCapture">;
|
|
@@ -1476,7 +1493,7 @@ declare module "react" {
|
|
|
1476
1493
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
1477
1494
|
"size"?: BkCombobox["size"];
|
|
1478
1495
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
1479
|
-
"
|
|
1496
|
+
"prefixText"?: BkCombobox["prefixText"];
|
|
1480
1497
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
1481
1498
|
"suffix"?: BkAttr<BkCombobox["suffixText"]>;
|
|
1482
1499
|
/** Shows a clear button while the field has a value. */
|
|
@@ -1513,7 +1530,7 @@ declare module "react" {
|
|
|
1513
1530
|
"onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
|
|
1514
1531
|
/** A `ToggleEvent` (`oldState`/`newState`) after the list opens or closes. Does not bubble. */
|
|
1515
1532
|
"ontoggle"?: (event: ToggleEvent) => void;
|
|
1516
|
-
} & BkProps<BkCombobox, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "
|
|
1533
|
+
} & BkProps<BkCombobox, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
|
|
1517
1534
|
"bk-command-menu": BkElementProps<BkCommandMenu, {
|
|
1518
1535
|
/** The search text. */
|
|
1519
1536
|
"query"?: BkCommandMenu["query"];
|
|
@@ -1625,6 +1642,8 @@ declare module "react" {
|
|
|
1625
1642
|
"bk-delta": BkElementProps<BkDelta, {
|
|
1626
1643
|
/** The change (`change`, `count`) or the new rank (`rank`). */
|
|
1627
1644
|
"value"?: BkDelta["value"];
|
|
1645
|
+
/** 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"`. */
|
|
1646
|
+
"value-text"?: BkAttr<BkDelta["valueText"]>;
|
|
1628
1647
|
/** The previous rank (`variant="rank"`). Without it, the rank is new. */
|
|
1629
1648
|
"previous"?: BkDelta["previous"];
|
|
1630
1649
|
/** `change` (default): a change with a mark. `count`: a figure that only grows ("+12"). `rank`: a move between ranks. */
|
|
@@ -1641,7 +1660,7 @@ declare module "react" {
|
|
|
1641
1660
|
"label"?: BkDelta["label"];
|
|
1642
1661
|
/** Upper ranks of the tiers in `variant="rank"`, separated by spaces ("3 10 50"). */
|
|
1643
1662
|
"tiers"?: BkDelta["tiers"];
|
|
1644
|
-
}
|
|
1663
|
+
} & BkProps<BkDelta, "valueText">>;
|
|
1645
1664
|
"bk-diagram": BkElementProps<BkDiagram, {
|
|
1646
1665
|
/** The text of the diagram, for a script. In markup, write the text between the tags. */
|
|
1647
1666
|
"source"?: BkDiagram["source"];
|
|
@@ -1673,7 +1692,7 @@ declare module "react" {
|
|
|
1673
1692
|
"size"?: BkDialog["size"];
|
|
1674
1693
|
/** 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. */
|
|
1675
1694
|
"dismissible"?: BkDialog["dismissible"];
|
|
1676
|
-
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it. */
|
|
1695
|
+
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it too. */
|
|
1677
1696
|
"alert"?: BkDialog["alert"];
|
|
1678
1697
|
/** Accessible name of the close button (default: i18n `close`). */
|
|
1679
1698
|
"close-label"?: BkAttr<BkDialog["closeLabel"]>;
|
|
@@ -1735,7 +1754,7 @@ declare module "react" {
|
|
|
1735
1754
|
"size"?: BkDrawer["size"];
|
|
1736
1755
|
/** 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. */
|
|
1737
1756
|
"dismissible"?: BkDrawer["dismissible"];
|
|
1738
|
-
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it. */
|
|
1757
|
+
/** Alert dialog: `role="alertdialog"`, the first focus is on the least destructive action, no light dismiss. `role="alert"` on the element sets it too. */
|
|
1739
1758
|
"alert"?: BkDrawer["alert"];
|
|
1740
1759
|
/** Accessible name of the close button (default: i18n `close`). */
|
|
1741
1760
|
"close-label"?: BkAttr<BkDrawer["closeLabel"]>;
|
|
@@ -1834,6 +1853,28 @@ declare module "react" {
|
|
|
1834
1853
|
/** The user opens a folder (a step of the trail, a place, a subfolder); `detail` is `{ path }`. Cancelable, bubbles. */
|
|
1835
1854
|
"onnavigate"?: (event: CustomEvent<FolderBrowserNavigateDetail>) => void;
|
|
1836
1855
|
}, "onNavigate" | "onNavigateCapture">;
|
|
1856
|
+
"bk-footnote": BkElementProps<BkFootnote, {
|
|
1857
|
+
/** The `id` of the `<bk-footnotes-item>` of the note. */
|
|
1858
|
+
"note"?: BkFootnote["note"];
|
|
1859
|
+
}>;
|
|
1860
|
+
"bk-footnotes-item": BkElementProps<BkFootnotesItem, {
|
|
1861
|
+
/** Address of the source. */
|
|
1862
|
+
"href"?: BkFootnotesItem["href"];
|
|
1863
|
+
/** `target` of the source link. */
|
|
1864
|
+
"target"?: BkFootnotesItem["target"];
|
|
1865
|
+
/** `rel` of the source link. */
|
|
1866
|
+
"rel"?: BkFootnotesItem["rel"];
|
|
1867
|
+
/** Date of the data: `YYYY`, `YYYY-MM` or `YYYY-MM-DD`. */
|
|
1868
|
+
"date"?: BkFootnotesItem["date"];
|
|
1869
|
+
/** The number of the note, after the page numbered the notes. The registry sets it. */
|
|
1870
|
+
"number"?: BkFootnotesItem["number"];
|
|
1871
|
+
/** 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. */
|
|
1872
|
+
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
1873
|
+
}, "onNavigate" | "onNavigateCapture">;
|
|
1874
|
+
"bk-footnotes": BkElementProps<BkFootnotes, {
|
|
1875
|
+
/** Accessible name of the list (default: "Footnotes", i18n `footnotes`). */
|
|
1876
|
+
"label"?: BkFootnotes["label"];
|
|
1877
|
+
}>;
|
|
1837
1878
|
"bk-form-guard": BkElementProps<BkFormGuard, {
|
|
1838
1879
|
/** The form has unsaved changes (read-only; reflected). */
|
|
1839
1880
|
"dirty"?: BkFormGuard["dirty"];
|
|
@@ -1927,13 +1968,15 @@ declare module "react" {
|
|
|
1927
1968
|
"show"?: BkImageCompare["show"];
|
|
1928
1969
|
/** The user can zoom and pan. Both pictures show the same part. */
|
|
1929
1970
|
"zoomable"?: BkImageCompare["zoomable"];
|
|
1930
|
-
/**
|
|
1971
|
+
/** Setting the view fires no `viewchange`. */
|
|
1931
1972
|
"view"?: BkImageCompare["view"];
|
|
1932
1973
|
/** The element fires this event while the user moves the divider. */
|
|
1933
1974
|
"oninput"?: (event: Event) => void;
|
|
1934
1975
|
/** The element fires this event when the user moves the divider (on release, on a key) or chooses the other picture (`toggle`). */
|
|
1935
1976
|
"onchange"?: (event: Event) => void;
|
|
1936
|
-
|
|
1977
|
+
/** The user zoomed or panned (`zoomable`). `event.detail` is the new `view`. Setting `view` and `resetZoom()` fire no event. Use it to show the same part in another `<bk-image-compare>` or `<bk-image-viewer>`. The event bubbles and is composed. */
|
|
1978
|
+
"onviewchange"?: (event: CustomEvent<ImageCompareView>) => void;
|
|
1979
|
+
} & BkProps<BkImageCompare, "beforeSrc" | "afterSrc" | "beforeLabel" | "afterLabel">, "onViewchange" | "onViewchangeCapture">;
|
|
1937
1980
|
"bk-image-crop": BkElementProps<BkImageCrop, {
|
|
1938
1981
|
/** Address of the picture. */
|
|
1939
1982
|
"src"?: BkImageCrop["src"];
|
|
@@ -1995,6 +2038,10 @@ declare module "react" {
|
|
|
1995
2038
|
"index"?: BkImageViewer["index"];
|
|
1996
2039
|
/** Shows a row of thumbnails under the image. */
|
|
1997
2040
|
"filmstrip"?: BkImageViewer["filmstrip"];
|
|
2041
|
+
/** Previous and next wrap around: after the last image comes the first. Without it, they stop at the ends. */
|
|
2042
|
+
"loop"?: BkImageViewer["loop"];
|
|
2043
|
+
/** The viewer is the main content of the screen or of its dialog (`<bk-lightbox>` sets it). The plain wheel zooms, a click steps the zoom, and the keys of the viewer work while the focus is anywhere in the surrounding dialog. */
|
|
2044
|
+
"immersive"?: BkImageViewer["immersive"];
|
|
1998
2045
|
/** Accessible name of the viewer region (default: i18n `imageViewer`). */
|
|
1999
2046
|
"label"?: BkImageViewer["label"];
|
|
2000
2047
|
/** Accessible name of the previous button (default from i18n). */
|
|
@@ -2015,11 +2062,17 @@ declare module "react" {
|
|
|
2015
2062
|
"pan-label"?: BkAttr<BkImageViewer["panLabel"]>;
|
|
2016
2063
|
/** The images. */
|
|
2017
2064
|
"items"?: BkImageViewer["items"];
|
|
2065
|
+
/** The zoom and the visible part of the image (`ImageViewerView`). Set it to show the same part as another viewer, for example in `viewchange` of that viewer. Setting it fires no `viewchange`. A view that you set before the image has its shape applies again when the shape is known. */
|
|
2066
|
+
"view"?: BkImageViewer["view"];
|
|
2067
|
+
/** The shown image has loaded (once for each image, also from the cache of the browser). `naturalWidth` and `naturalHeight` are known. The event does not bubble, as the `load` of an `<img>`. */
|
|
2068
|
+
"onload"?: (event: Event) => void;
|
|
2018
2069
|
/** The user moved to another image. `event.detail.index` is the new index. The event bubbles and is composed. */
|
|
2019
2070
|
"onchange"?: (event: CustomEvent<ImageViewerChangeDetail>) => void;
|
|
2020
2071
|
/** A single tap or click beside the (unzoomed) image. `<bk-lightbox>` closes on this event. The event bubbles and is composed. */
|
|
2021
2072
|
"ondismiss"?: (event: Event) => void;
|
|
2022
|
-
|
|
2073
|
+
/** The user changed the zoom or the visible part (at most once per frame). `event.detail` is the new `view`. Setting `view`, `resetZoom()`, `actualSize()` and a change of the image fire no event. The event bubbles and is composed. */
|
|
2074
|
+
"onviewchange"?: (event: CustomEvent<ImageViewerView>) => void;
|
|
2075
|
+
} & BkProps<BkImageViewer, "prevLabel" | "nextLabel" | "zoomInLabel" | "zoomOutLabel" | "fitLabel" | "actualSizeLabel" | "errorLabel" | "panLabel">, "onLoad" | "onLoadCapture" | "onDismiss" | "onDismissCapture" | "onViewchange" | "onViewchangeCapture">;
|
|
2023
2076
|
"bk-input-code": BkElementProps<BkInputCode, {
|
|
2024
2077
|
/** The code typed so far (up to `length` characters). */
|
|
2025
2078
|
"value"?: BkInputCode["value"];
|
|
@@ -2078,7 +2131,7 @@ declare module "react" {
|
|
|
2078
2131
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2079
2132
|
"size"?: BkInputColor["size"];
|
|
2080
2133
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2081
|
-
"
|
|
2134
|
+
"prefixText"?: BkInputColor["prefixText"];
|
|
2082
2135
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2083
2136
|
"suffix"?: BkAttr<BkInputColor["suffixText"]>;
|
|
2084
2137
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2103,7 +2156,7 @@ declare module "react" {
|
|
|
2103
2156
|
"oninput"?: (event: Event) => void;
|
|
2104
2157
|
/** When the user commits a change in the panel, when the user selects a format, and when the field is cleared. */
|
|
2105
2158
|
"onchange"?: (event: Event) => void;
|
|
2106
|
-
} & BkProps<BkInputColor, "
|
|
2159
|
+
} & BkProps<BkInputColor, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2107
2160
|
"bk-input-date-range": BkElementProps<BkInputDateRange, {
|
|
2108
2161
|
/** The first moment, or "" (also while the text is not a valid range): an ISO day `yyyy-mm-dd`, with `time` a day and a time `yyyy-mm-ddThh:mm`, with `relative` also an expression such as `now-15m`. */
|
|
2109
2162
|
"start-value"?: BkAttr<BkInputDateRange["startValue"]>;
|
|
@@ -2152,7 +2205,7 @@ declare module "react" {
|
|
|
2152
2205
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2153
2206
|
"size"?: BkInputDateRange["size"];
|
|
2154
2207
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2155
|
-
"
|
|
2208
|
+
"prefixText"?: BkInputDateRange["prefixText"];
|
|
2156
2209
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2157
2210
|
"suffix"?: BkAttr<BkInputDateRange["suffixText"]>;
|
|
2158
2211
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2179,7 +2232,7 @@ declare module "react" {
|
|
|
2179
2232
|
"oninput"?: (event: Event) => void;
|
|
2180
2233
|
/** When an edit is committed (blur, Enter), a range is picked or the field is cleared. */
|
|
2181
2234
|
"onchange"?: (event: Event) => void;
|
|
2182
|
-
} & BkProps<BkInputDateRange, "startValue" | "endValue" | "timeZone" | "recentKey" | "enterKeyHint" | "firstDay" | "weekNumbers" | "
|
|
2235
|
+
} & BkProps<BkInputDateRange, "startValue" | "endValue" | "timeZone" | "recentKey" | "enterKeyHint" | "firstDay" | "weekNumbers" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2183
2236
|
"bk-input-date": BkElementProps<BkInputDate, {
|
|
2184
2237
|
/** The date as ISO `yyyy-mm-dd`, or "" (also while the text is not a valid date). */
|
|
2185
2238
|
"value"?: BkInputDate["value"];
|
|
@@ -2216,7 +2269,7 @@ declare module "react" {
|
|
|
2216
2269
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2217
2270
|
"size"?: BkInputDate["size"];
|
|
2218
2271
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2219
|
-
"
|
|
2272
|
+
"prefixText"?: BkInputDate["prefixText"];
|
|
2220
2273
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2221
2274
|
"suffix"?: BkAttr<BkInputDate["suffixText"]>;
|
|
2222
2275
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2241,7 +2294,7 @@ declare module "react" {
|
|
|
2241
2294
|
"oninput"?: (event: Event) => void;
|
|
2242
2295
|
/** When an edit is committed (blur, Enter), a date is picked or the field is cleared. */
|
|
2243
2296
|
"onchange"?: (event: Event) => void;
|
|
2244
|
-
} & BkProps<BkInputDate, "enterKeyHint" | "firstDay" | "weekNumbers" | "
|
|
2297
|
+
} & BkProps<BkInputDate, "enterKeyHint" | "firstDay" | "weekNumbers" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2245
2298
|
"bk-input-file": BkElementProps<BkInputFile, {
|
|
2246
2299
|
/** Marks the field as one that can stay empty: "(optional)" after the label. A `required` field does not show it. */
|
|
2247
2300
|
"optional"?: BkInputFile["optional"];
|
|
@@ -2339,7 +2392,7 @@ declare module "react" {
|
|
|
2339
2392
|
"editing"?: BkInputInline["editing"];
|
|
2340
2393
|
/** The user confirms a changed value; `event.detail` is `{ value, done }`. */
|
|
2341
2394
|
"onsave"?: (event: CustomEvent<InputInlineSaveDetail>) => void;
|
|
2342
|
-
/** The field closes without saving: Esc or
|
|
2395
|
+
/** The field closes without saving: Esc, the cancel button or an unchanged value (does not bubble, so dialogs around it stay open). */
|
|
2343
2396
|
"oncancel"?: (event: Event) => void;
|
|
2344
2397
|
} & BkProps<BkInputInline, "disabledReason" | "editLabel">, "onSave" | "onSaveCapture" | "onCancel" | "onCancelCapture">;
|
|
2345
2398
|
"bk-input-number": BkElementProps<BkInputNumber, {
|
|
@@ -2376,7 +2429,7 @@ declare module "react" {
|
|
|
2376
2429
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2377
2430
|
"size"?: BkInputNumber["size"];
|
|
2378
2431
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2379
|
-
"
|
|
2432
|
+
"prefixText"?: BkInputNumber["prefixText"];
|
|
2380
2433
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2381
2434
|
"suffix"?: BkAttr<BkInputNumber["suffixText"]>;
|
|
2382
2435
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2403,7 +2456,7 @@ declare module "react" {
|
|
|
2403
2456
|
"oninput"?: (event: Event) => void;
|
|
2404
2457
|
/** When a value is committed: blur or Enter after typing, every step, clearing. */
|
|
2405
2458
|
"onchange"?: (event: Event) => void;
|
|
2406
|
-
} & BkProps<BkInputNumber, "enterKeyHint" | "decreaseLabel" | "increaseLabel" | "
|
|
2459
|
+
} & BkProps<BkInputNumber, "enterKeyHint" | "decreaseLabel" | "increaseLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2407
2460
|
"bk-input-rating": BkElementProps<BkInputRating, {
|
|
2408
2461
|
/** The current rating: 0 (none) up to `max`, snapped to `step`. */
|
|
2409
2462
|
"value"?: BkInputRating["value"];
|
|
@@ -2502,7 +2555,7 @@ declare module "react" {
|
|
|
2502
2555
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2503
2556
|
"size"?: BkInputSearch["size"];
|
|
2504
2557
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2505
|
-
"
|
|
2558
|
+
"prefixText"?: BkInputSearch["prefixText"];
|
|
2506
2559
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2507
2560
|
"suffix"?: BkAttr<BkInputSearch["suffixText"]>;
|
|
2508
2561
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2539,7 +2592,7 @@ declare module "react" {
|
|
|
2539
2592
|
"onchange"?: (event: Event) => void;
|
|
2540
2593
|
/** `CustomEvent<SearchDetail>`. Cancelable. Cancel it to stop a form from submitting. */
|
|
2541
2594
|
"onsearch"?: (event: CustomEvent<SearchDetail>) => void;
|
|
2542
|
-
} & BkProps<BkInputSearch, "enterKeyHint" | "
|
|
2595
|
+
} & BkProps<BkInputSearch, "enterKeyHint" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onSearch" | "onSearchCapture">;
|
|
2543
2596
|
"bk-input-slider-range": BkElementProps<BkInputSliderRange, {
|
|
2544
2597
|
/** Low end of the chosen range (default `min`). Is always at least `min-gap` below `endValue`. */
|
|
2545
2598
|
"start-value"?: BkAttr<BkInputSliderRange["startValue"]>;
|
|
@@ -2665,6 +2718,8 @@ declare module "react" {
|
|
|
2665
2718
|
"mask"?: BkInputText["mask"];
|
|
2666
2719
|
/** Label of the Enter key on a phone keyboard, like the native `enterkeyhint`: `enter`, `done`, `go`, `next`, `previous`, `search` or `send`. */
|
|
2667
2720
|
"enterkeyhint"?: BkAttr<BkInputText["enterKeyHint"]>;
|
|
2721
|
+
/** The keyboard shortcut that moves the focus into the field: the id of a shortcut in the registry (`registerShortcuts`) or a key combination (`Mod+K`). The field sets `aria-keyshortcuts` on its native control, so a screen reader says the keys. The field does not bind the keys: bind them with `onShortcut`. Show the keys with `<bk-kbd slot="end" shortcut="…">`. */
|
|
2722
|
+
"shortcut"?: BkInputText["shortcut"];
|
|
2668
2723
|
/** Focuses the field when it connects. */
|
|
2669
2724
|
"autofocus"?: BkInputText["autofocus"];
|
|
2670
2725
|
/** Accessible name of the show-password toggle (default: i18n `showPassword`). */
|
|
@@ -2688,7 +2743,7 @@ declare module "react" {
|
|
|
2688
2743
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2689
2744
|
"size"?: BkInputText["size"];
|
|
2690
2745
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2691
|
-
"
|
|
2746
|
+
"prefixText"?: BkInputText["prefixText"];
|
|
2692
2747
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2693
2748
|
"suffix"?: BkAttr<BkInputText["suffixText"]>;
|
|
2694
2749
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2711,7 +2766,7 @@ declare module "react" {
|
|
|
2711
2766
|
"oninput"?: (event: Event) => void;
|
|
2712
2767
|
/** When the user commits an edit (blur or Enter), and when the field is cleared. */
|
|
2713
2768
|
"onchange"?: (event: Event) => void;
|
|
2714
|
-
} & BkProps<BkInputText, "enterKeyHint" | "revealLabel" | "maxRows" | "
|
|
2769
|
+
} & BkProps<BkInputText, "enterKeyHint" | "revealLabel" | "maxRows" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2715
2770
|
"bk-input-time-zone": BkElementProps<BkInputTimeZone, {
|
|
2716
2771
|
/** Language for the offsets, the times and the long names (default: the page language). */
|
|
2717
2772
|
"locale"?: BkInputTimeZone["locale"];
|
|
@@ -2756,7 +2811,7 @@ declare module "react" {
|
|
|
2756
2811
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2757
2812
|
"size"?: BkInputTimeZone["size"];
|
|
2758
2813
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2759
|
-
"
|
|
2814
|
+
"prefixText"?: BkInputTimeZone["prefixText"];
|
|
2760
2815
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2761
2816
|
"suffix"?: BkAttr<BkInputTimeZone["suffixText"]>;
|
|
2762
2817
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2793,7 +2848,7 @@ declare module "react" {
|
|
|
2793
2848
|
"onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
|
|
2794
2849
|
/** A `ToggleEvent` (`oldState`/`newState`) after the list opens or closes. Does not bubble. */
|
|
2795
2850
|
"ontoggle"?: (event: ToggleEvent) => void;
|
|
2796
|
-
} & BkProps<BkInputTimeZone, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "
|
|
2851
|
+
} & BkProps<BkInputTimeZone, "allowCustom" | "enterKeyHint" | "emptyText" | "addLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
|
|
2797
2852
|
"bk-input-time": BkElementProps<BkInputTime, {
|
|
2798
2853
|
/** The time as 24-hour `HH:MM` or `HH:MM:SS` (with seconds), "" while a segment is empty. */
|
|
2799
2854
|
"value"?: BkInputTime["value"];
|
|
@@ -2826,7 +2881,7 @@ declare module "react" {
|
|
|
2826
2881
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
2827
2882
|
"size"?: BkInputTime["size"];
|
|
2828
2883
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
2829
|
-
"
|
|
2884
|
+
"prefixText"?: BkInputTime["prefixText"];
|
|
2830
2885
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
2831
2886
|
"suffix"?: BkAttr<BkInputTime["suffixText"]>;
|
|
2832
2887
|
/** Shows a clear button while the field has a value. */
|
|
@@ -2851,7 +2906,7 @@ declare module "react" {
|
|
|
2851
2906
|
"oninput"?: (event: Event) => void;
|
|
2852
2907
|
/** When the value changes (a complete time, or cleared), and when the field is cleared. */
|
|
2853
2908
|
"onchange"?: (event: Event) => void;
|
|
2854
|
-
} & BkProps<BkInputTime, "hourCycle" | "enterKeyHint" | "
|
|
2909
|
+
} & BkProps<BkInputTime, "hourCycle" | "enterKeyHint" | "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
2855
2910
|
"bk-item-group": BkElementProps<BkItemGroup, {
|
|
2856
2911
|
/** Hairlines between the rows. */
|
|
2857
2912
|
"divided"?: BkItemGroup["divided"];
|
|
@@ -2927,6 +2982,8 @@ declare module "react" {
|
|
|
2927
2982
|
"index"?: BkLightbox["index"];
|
|
2928
2983
|
/** Shows a row of thumbnails under the image. */
|
|
2929
2984
|
"filmstrip"?: BkLightbox["filmstrip"];
|
|
2985
|
+
/** Previous and next wrap around: after the last image comes the first. Without it, they stop at the ends. */
|
|
2986
|
+
"loop"?: BkLightbox["loop"];
|
|
2930
2987
|
/** `grid`: square thumbnails that fill the width. `strip`: a wrapping row of thumbnails at one height. */
|
|
2931
2988
|
"variant"?: BkLightbox["variant"];
|
|
2932
2989
|
/** Accessible name of the viewer (default from i18n). */
|
|
@@ -3209,11 +3266,17 @@ declare module "react" {
|
|
|
3209
3266
|
"description"?: BkMenuItem["description"];
|
|
3210
3267
|
/** Tile look. A `variant="tiles"` list sets it. Do not set it yourself. */
|
|
3211
3268
|
"tile"?: BkMenuItem["tile"];
|
|
3269
|
+
/** Shows a remove button; the item fires `remove` on it and on Delete. */
|
|
3270
|
+
"removable"?: BkMenuItem["removable"];
|
|
3271
|
+
/** Name of the remove button (default "Remove {item}"). */
|
|
3272
|
+
"remove-label"?: BkAttr<BkMenuItem["removeLabel"]>;
|
|
3212
3273
|
/** Native click. Does not fire while the item is disabled. */
|
|
3213
3274
|
"onclick"?: (event: MouseEvent) => void;
|
|
3275
|
+
/** The user removes a `removable` item (remove button or Delete). Bubbles, composed; `detail` is `{ value, item }`. */
|
|
3276
|
+
"onremove"?: (event: CustomEvent<MenuItemRemoveDetail>) => void;
|
|
3214
3277
|
/** The user makes a plain click on the 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. */
|
|
3215
3278
|
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
3216
|
-
}, "onNavigate" | "onNavigateCapture">;
|
|
3279
|
+
} & BkProps<BkMenuItem, "removeLabel">, "onRemove" | "onRemoveCapture" | "onNavigate" | "onNavigateCapture">;
|
|
3217
3280
|
"bk-menu-label": BkElementProps<BkMenuLabel, {
|
|
3218
3281
|
|
|
3219
3282
|
}>;
|
|
@@ -3506,6 +3569,8 @@ declare module "react" {
|
|
|
3506
3569
|
"count"?: BkNavItem["count"];
|
|
3507
3570
|
/** Second line under the label. */
|
|
3508
3571
|
"description"?: BkNavItem["description"];
|
|
3572
|
+
/** Short extra text: a tooltip on hover and keyboard focus, and the accessible description. */
|
|
3573
|
+
"hint"?: BkNavItem["hint"];
|
|
3509
3574
|
/** The page you are on: `aria-current="page"` and the selected style. */
|
|
3510
3575
|
"current"?: BkNavItem["current"];
|
|
3511
3576
|
/** Not navigable; skipped by the Tab key. */
|
|
@@ -3755,9 +3820,13 @@ declare module "react" {
|
|
|
3755
3820
|
"error-label"?: BkAttr<BkPicture["errorLabel"]>;
|
|
3756
3821
|
/** The text of the retry button (default: i18n `pictureRetry`). */
|
|
3757
3822
|
"retry-label"?: BkAttr<BkPicture["retryLabel"]>;
|
|
3823
|
+
/** Fires when the image of `src` has loaded. `detail` is `{ src, naturalWidth, naturalHeight }`. It bubbles and is composed: the native `load` of the inner `<img>` does not leave the shadow root. A viewer reads the size of the stage from it. An image that comes from the cache fires it too. */
|
|
3824
|
+
"onload"?: (event: CustomEvent<PictureLoadDetail>) => void;
|
|
3825
|
+
/** Fires when the image of `src` cannot load. `detail` is `{ src }`. It bubbles and is composed. A gallery tile reads it to show its own state. A retry that fails fires it again. */
|
|
3826
|
+
"onerror"?: (event: CustomEvent<PictureErrorDetail>) => void;
|
|
3758
3827
|
/** Fires on a plain click on the link (primary button, no modifier key, no other `target`, no `download`). `detail.href` is the resolved address. It bubbles, is composed and is cancelable. `preventDefault()` stops the browser, and the router of the app handles the navigation. */
|
|
3759
3828
|
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
3760
|
-
} & BkProps<BkPicture, "errorLabel" | "retryLabel">, "onNavigate" | "onNavigateCapture">;
|
|
3829
|
+
} & BkProps<BkPicture, "errorLabel" | "retryLabel">, "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onNavigate" | "onNavigateCapture">;
|
|
3761
3830
|
"bk-popover-help": BkElementProps<BkPopoverHelp, {
|
|
3762
3831
|
/** Short heading in the panel. It also names the panel. */
|
|
3763
3832
|
"heading"?: BkPopoverHelp["heading"];
|
|
@@ -3933,8 +4002,6 @@ declare module "react" {
|
|
|
3933
4002
|
"label"?: BkScroll["label"];
|
|
3934
4003
|
}>;
|
|
3935
4004
|
"bk-segmented-item": BkElementProps<BkSegmentedItem, {
|
|
3936
|
-
/** `<bk-segmented>` sets it on the chosen segment. Do not set it yourself. */
|
|
3937
|
-
"checked"?: BkSegmentedItem["checked"];
|
|
3938
4005
|
/** Fold to icon and count when the nearest size container is narrow: `""`/`md` (640px), `sm` (480px), `lg` (960px). */
|
|
3939
4006
|
"collapse"?: BkSegmentedItem["collapse"];
|
|
3940
4007
|
/** Value that selects this option in its group. */
|
|
@@ -3947,10 +4014,16 @@ declare module "react" {
|
|
|
3947
4014
|
"label"?: BkSegmentedItem["label"];
|
|
3948
4015
|
/** Renders a link instead of a choice (link mode, router-driven). */
|
|
3949
4016
|
"href"?: BkSegmentedItem["href"];
|
|
3950
|
-
/** Link target in link mode (`_blank` adds `rel="noopener noreferrer"`). */
|
|
4017
|
+
/** Link target in link mode (`_blank` adds `rel="noopener noreferrer"` when `rel` is not set). */
|
|
3951
4018
|
"target"?: BkSegmentedItem["target"];
|
|
4019
|
+
/** Link `rel` in link mode. */
|
|
4020
|
+
"rel"?: BkSegmentedItem["rel"];
|
|
4021
|
+
/** File name for a download in link mode. */
|
|
4022
|
+
"download"?: BkSegmentedItem["download"];
|
|
3952
4023
|
/** Not selectable and skipped by the arrow keys. */
|
|
3953
4024
|
"disabled"?: BkSegmentedItem["disabled"];
|
|
4025
|
+
/** `<bk-segmented>` sets it on the chosen segment (the state `:state(checked)`). Do not set it yourself. */
|
|
4026
|
+
"checked"?: BkSegmentedItem["checked"];
|
|
3954
4027
|
/** A plain click on the link (primary button, no modifier key, no other `target`, no `download`); `detail.href` is the resolved address. The event bubbles and is composed. It is cancelable: `preventDefault()` stops the browser, and the router of the app handles the navigation. */
|
|
3955
4028
|
"onnavigate"?: (event: CustomEvent<NavigateDetail>) => void;
|
|
3956
4029
|
}, "onNavigate" | "onNavigateCapture">;
|
|
@@ -4006,7 +4079,7 @@ declare module "react" {
|
|
|
4006
4079
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
4007
4080
|
"size"?: BkSelectCascade["size"];
|
|
4008
4081
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
4009
|
-
"
|
|
4082
|
+
"prefixText"?: BkSelectCascade["prefixText"];
|
|
4010
4083
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
4011
4084
|
"suffix"?: BkAttr<BkSelectCascade["suffixText"]>;
|
|
4012
4085
|
/** Shows a clear button while the field has a value. */
|
|
@@ -4038,7 +4111,7 @@ declare module "react" {
|
|
|
4038
4111
|
"oninput"?: (event: Event) => void;
|
|
4039
4112
|
/** When the user chooses a leaf or clears the field. */
|
|
4040
4113
|
"onchange"?: (event: Event) => void;
|
|
4041
|
-
} & BkProps<BkSelectCascade, "
|
|
4114
|
+
} & BkProps<BkSelectCascade, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
4042
4115
|
"bk-select-tree": BkElementProps<BkSelectTree, {
|
|
4043
4116
|
/** A search field above the tree filters the rows by label. */
|
|
4044
4117
|
"search"?: BkSelectTree["search"];
|
|
@@ -4063,7 +4136,7 @@ declare module "react" {
|
|
|
4063
4136
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
4064
4137
|
"size"?: BkSelectTree["size"];
|
|
4065
4138
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
4066
|
-
"
|
|
4139
|
+
"prefixText"?: BkSelectTree["prefixText"];
|
|
4067
4140
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
4068
4141
|
"suffix"?: BkAttr<BkSelectTree["suffixText"]>;
|
|
4069
4142
|
/** Shows a clear button while the field has a value. */
|
|
@@ -4093,7 +4166,7 @@ declare module "react" {
|
|
|
4093
4166
|
"oninput"?: (event: Event) => void;
|
|
4094
4167
|
/** When the user chooses a node, checks or unchecks one, or clears the field. */
|
|
4095
4168
|
"onchange"?: (event: Event) => void;
|
|
4096
|
-
} & BkProps<BkSelectTree, "
|
|
4169
|
+
} & BkProps<BkSelectTree, "suffixText" | "clearLabel" | "labelPosition">, "prefix">;
|
|
4097
4170
|
"bk-select": BkElementProps<BkSelect, {
|
|
4098
4171
|
/** Fold to icon and chevron when the nearest size container is narrow: `""`/`md` (640px), `sm` (480px), `lg` (960px). */
|
|
4099
4172
|
"collapse"?: BkSelect["collapse"];
|
|
@@ -4128,7 +4201,7 @@ declare module "react" {
|
|
|
4128
4201
|
/** Height: `sm`, `md` (default), `lg`. */
|
|
4129
4202
|
"size"?: BkSelect["size"];
|
|
4130
4203
|
/** Fixed text before the value, for example `€` or `https://` (attribute `prefix`). Not part of the value. */
|
|
4131
|
-
"
|
|
4204
|
+
"prefixText"?: BkSelect["prefixText"];
|
|
4132
4205
|
/** Fixed text after the value, for example `mm` or `.com` (attribute `suffix`). Not part of the value. */
|
|
4133
4206
|
"suffix"?: BkAttr<BkSelect["suffixText"]>;
|
|
4134
4207
|
/** Shows a clear button while the field has a value. */
|
|
@@ -4165,7 +4238,7 @@ declare module "react" {
|
|
|
4165
4238
|
"onloadmore"?: (event: CustomEvent<LoadMoreDetail>) => void;
|
|
4166
4239
|
/** A `ToggleEvent` (`oldState`/`newState`) after the list opened or closed. Does not bubble. */
|
|
4167
4240
|
"ontoggle"?: (event: ToggleEvent) => void;
|
|
4168
|
-
} & BkProps<BkSelect, "selectAll" | "selectAllLabel" | "
|
|
4241
|
+
} & BkProps<BkSelect, "selectAll" | "selectAllLabel" | "suffixText" | "clearLabel" | "labelPosition">, "prefix" | "onLoadmore" | "onLoadmoreCapture" | "onToggle" | "onToggleCapture">;
|
|
4169
4242
|
"bk-shell-app": BkElementProps<BkShellApp, {
|
|
4170
4243
|
/** Sidebar shows as a narrow icon rail. */
|
|
4171
4244
|
"sidebar-collapsed"?: BkAttr<BkShellApp["sidebarCollapsed"]>;
|
|
@@ -4276,11 +4349,17 @@ declare module "react" {
|
|
|
4276
4349
|
"label"?: BkSplitGrid["label"];
|
|
4277
4350
|
/** How many columns of `min` px fit the width; 0 until measured. */
|
|
4278
4351
|
"fit"?: BkSplitGrid["fit"];
|
|
4352
|
+
/** Cancelable. When the user drops a pane on another pane; `detail` `{ pane, from, to, order }`. The app renders the new order. */
|
|
4353
|
+
"onreorder"?: (event: CustomEvent<SplitGridReorderDetail>) => void;
|
|
4354
|
+
/** Once per frame while the user drags a pane outside the grid (`inside: false`), and once with `inside: true` when the pointer comes back or the drag ends; `detail` `{ pane, clientX, clientY, inside }`. */
|
|
4355
|
+
"ondragoutside"?: (event: CustomEvent<SplitGridDragOutsideDetail>) => void;
|
|
4356
|
+
/** When the user releases a dragged pane outside the grid; `detail` `{ pane, clientX, clientY }`. */
|
|
4357
|
+
"ondropoutside"?: (event: CustomEvent<SplitGridDropOutsideDetail>) => void;
|
|
4279
4358
|
/** When the user moves a divider (once per frame) and when the number of columns that fit changes; `detail` `{ sizes, rowSizes }` (fractions of the available space). */
|
|
4280
4359
|
"onresize"?: (event: CustomEvent<SplitGridResizeDetail>) => void;
|
|
4281
4360
|
/** When the user finishes resizing or resets the columns or the rows; `detail` `{ sizes, rowSizes }` (fractions of the available space). */
|
|
4282
4361
|
"onchange"?: (event: CustomEvent<SplitGridResizeDetail>) => void;
|
|
4283
|
-
} & BkProps<BkSplitGrid, "defaultSizes" | "rowSizes" | "defaultRowSizes" | "minRow" | "stackBelow" | "persistKey" | "resizeLabel" | "resizeRowLabel">, "onResize" | "onResizeCapture">;
|
|
4362
|
+
} & BkProps<BkSplitGrid, "defaultSizes" | "rowSizes" | "defaultRowSizes" | "minRow" | "stackBelow" | "persistKey" | "resizeLabel" | "resizeRowLabel">, "onReorder" | "onReorderCapture" | "onDragoutside" | "onDragoutsideCapture" | "onDropoutside" | "onDropoutsideCapture" | "onResize" | "onResizeCapture">;
|
|
4284
4363
|
"bk-split": BkElementProps<BkSplit, {
|
|
4285
4364
|
/** `horizontal` (default: panes side by side), `vertical` (panes on top of each other) or `auto` (the one with more room). */
|
|
4286
4365
|
"orientation"?: BkSplit["orientation"];
|
|
@@ -4318,6 +4397,8 @@ declare module "react" {
|
|
|
4318
4397
|
"label"?: BkStat["label"];
|
|
4319
4398
|
/** The value: a number (formatted in full in the locale) or ready text. */
|
|
4320
4399
|
"value"?: BkStat["value"];
|
|
4400
|
+
/** Ready text for the value, shown as it is instead of the formatted `value` (like `aria-valuetext`). Use it for a figure that the app has formatted. */
|
|
4401
|
+
"value-text"?: BkAttr<BkStat["valueText"]>;
|
|
4321
4402
|
/** Unit after the value ("ms", "GB"); for currencies and percent use `value-format`. */
|
|
4322
4403
|
"unit"?: BkStat["unit"];
|
|
4323
4404
|
/** Intl.NumberFormat options for the value (`{"minimumFractionDigits":2}` shows 13.10). */
|
|
@@ -4330,6 +4411,8 @@ declare module "react" {
|
|
|
4330
4411
|
"delta"?: BkStat["delta"];
|
|
4331
4412
|
/** Intl.NumberFormat options for the delta (`{"style":"percent"}` reads 0.084 as +8.4 %). */
|
|
4332
4413
|
"delta-format"?: BkAttr<BkStat["deltaFormat"]>;
|
|
4414
|
+
/** Ready text for the change, shown as it is instead of the formatted `delta`. The sign of `delta` still sets the direction and the tone. */
|
|
4415
|
+
"delta-text"?: BkAttr<BkStat["deltaText"]>;
|
|
4333
4416
|
/** The comparison period ("vs last month"). */
|
|
4334
4417
|
"delta-label"?: BkAttr<BkStat["deltaLabel"]>;
|
|
4335
4418
|
/** Down is good (costs, latency, error rate). */
|
|
@@ -4342,7 +4425,7 @@ declare module "react" {
|
|
|
4342
4425
|
"order"?: BkStat["order"];
|
|
4343
4426
|
/** Colour of the value: `accent`, `info`, `success`, `warning`, `danger`, `attention` (default: plain text). */
|
|
4344
4427
|
"tone"?: BkStat["tone"];
|
|
4345
|
-
} & BkProps<BkStat, "valueFormat" | "deltaFormat" | "deltaLabel">>;
|
|
4428
|
+
} & BkProps<BkStat, "valueText" | "valueFormat" | "deltaFormat" | "deltaText" | "deltaLabel">>;
|
|
4346
4429
|
"bk-status-dot": BkElementProps<BkStatusDot, {
|
|
4347
4430
|
/** `neutral` (default), `accent`, `success`, `warning`, `danger`, `attention`, `info`. */
|
|
4348
4431
|
"tone"?: BkStatusDot["tone"];
|
|
@@ -4584,8 +4667,12 @@ declare module "react" {
|
|
|
4584
4667
|
"label"?: BkTabsItem["label"];
|
|
4585
4668
|
/** Renders a link instead of a choice (link mode, router-driven). */
|
|
4586
4669
|
"href"?: BkTabsItem["href"];
|
|
4587
|
-
/** Link target in link mode (`_blank` adds `rel="noopener noreferrer"`). */
|
|
4670
|
+
/** Link target in link mode (`_blank` adds `rel="noopener noreferrer"` when `rel` is not set). */
|
|
4588
4671
|
"target"?: BkTabsItem["target"];
|
|
4672
|
+
/** Link `rel` in link mode. */
|
|
4673
|
+
"rel"?: BkTabsItem["rel"];
|
|
4674
|
+
/** File name for a download in link mode. */
|
|
4675
|
+
"download"?: BkTabsItem["download"];
|
|
4589
4676
|
/** Not selectable and skipped by the arrow keys. */
|
|
4590
4677
|
"disabled"?: BkTabsItem["disabled"];
|
|
4591
4678
|
/** The user closes the tab (close button or Delete). Bubbles, composed, cancelable; `detail` is `{ value }`. */
|
|
@@ -4616,6 +4703,8 @@ declare module "react" {
|
|
|
4616
4703
|
"addable"?: BkTabs["addable"];
|
|
4617
4704
|
/** Name of the add button (default: i18n `tabAdd`). */
|
|
4618
4705
|
"add-label"?: BkAttr<BkTabs["addLabel"]>;
|
|
4706
|
+
/** What happens with tabs that do not fit the row: `menu` (default) moves them into a "More" menu, `scroll` scrolls the row. */
|
|
4707
|
+
"overflow"?: BkTabs["overflow"];
|
|
4619
4708
|
/** Before the user selects another tab (click or keys); `detail` is `{ value, previous }`. Bubbles, composed, cancelable: `preventDefault()` leaves the current tab selected, for example to confirm unsaved changes first. */
|
|
4620
4709
|
"onselect"?: (event: CustomEvent<TabSelectDetail>) => void;
|
|
4621
4710
|
/** After the user selects another tab (or the selected tab is removed and a neighbour becomes selected); read `event.target.value`. Not cancelable: cancel `select` to leave the current tab selected. */
|