@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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/define-DkVeu7e9.js";
|
|
3
3
|
import { r as a } from "./chunks/events-DQ4e9cPN.js";
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
5
|
-
import { t as s } from "./chunks/styles-
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import "./bk-button.js";
|
|
7
7
|
import "./chunks/close-CcDDKPf9.js";
|
|
8
8
|
// dist/components/bk-action-bar.js
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { t as BkAlertOffline } from "./chunks/bk-alert-offline-
|
|
2
|
-
import "./bk-alert.js";
|
|
1
|
+
export { t as BkAlertOffline } from "./chunks/bk-alert-offline-Clw0ZSsH.js";
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/announcer-
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
2
|
+
import { t as i } from "./chunks/announcer-D1zrRWwO.js";
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { a as s, i as c, n as l, r as u, t as d } from "./chunks/message--qZJ4Gw7.js";
|
|
6
6
|
import { t as f } from "./chunks/slots-BHTtBbPo.js";
|
|
7
7
|
import { t as p } from "./chunks/state-XYmTmnOw.js";
|
|
8
|
-
import { t as m, x as h } from "./chunks/styles-
|
|
9
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import { t as m, x as h } from "./chunks/styles-CaeyhYDA.js";
|
|
9
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
10
10
|
import "./bk-button.js";
|
|
11
|
+
import { t as g } from "./chunks/own-text-mpZVnMyX.js";
|
|
11
12
|
import "./chunks/close-CcDDKPf9.js";
|
|
12
13
|
// dist/components/bk-alert.js
|
|
13
|
-
var
|
|
14
|
+
var _ = {
|
|
14
15
|
neutral: "alertInfo",
|
|
15
16
|
accent: "alertInfo",
|
|
16
17
|
info: "alertInfo",
|
|
@@ -18,7 +19,7 @@ var g = {
|
|
|
18
19
|
warning: "alertWarning",
|
|
19
20
|
danger: "alertDanger",
|
|
20
21
|
attention: "alertAttention"
|
|
21
|
-
},
|
|
22
|
+
}, v = class extends n {
|
|
22
23
|
static properties = {
|
|
23
24
|
tone: {
|
|
24
25
|
reflect: !0,
|
|
@@ -106,7 +107,7 @@ var g = {
|
|
|
106
107
|
}
|
|
107
108
|
queueAnnounce() {
|
|
108
109
|
this.live && (clearTimeout(this.announceTimer), this.announceTimer = window.setTimeout(() => {
|
|
109
|
-
let e = (this.querySelector("[slot=heading]")?.textContent ?? "") + " " +
|
|
110
|
+
let e = (this.querySelector("[slot=heading]")?.textContent ?? "") + " " + g(this, " "), t = [this.heading, e.replace(/\s+/g, " ").trim()].filter(Boolean), n = t.length ? [this.i18n.t(_[this.tone]), ...t].join(": ") : "";
|
|
110
111
|
n || (this.lastText = ""), n !== this.lastText && (this.lastText = n, i(n, { assertive: this.tone === "danger" }));
|
|
111
112
|
}, 100));
|
|
112
113
|
}
|
|
@@ -116,7 +117,7 @@ var g = {
|
|
|
116
117
|
takeFocus() {
|
|
117
118
|
if (this.hasAttribute("tabindex")) return;
|
|
118
119
|
let e = this.heading || this.querySelector("[slot=heading]")?.textContent?.replace(/\s+/g, " ").trim();
|
|
119
|
-
this.internals.role = "region", this.internals.ariaLabel = e || this.i18n.t(
|
|
120
|
+
this.internals.role = "region", this.internals.ariaLabel = e || this.i18n.t(_[this.tone]), this.setAttribute("tabindex", "-1"), this.addEventListener("blur", () => {
|
|
120
121
|
this.removeAttribute("tabindex"), this.internals.role = null, this.internals.ariaLabel = null;
|
|
121
122
|
}, { once: !0 }), this.focus({ preventScroll: !0 }), this.scrollIntoView({
|
|
122
123
|
block: "nearest",
|
|
@@ -136,7 +137,7 @@ var g = {
|
|
|
136
137
|
return s({
|
|
137
138
|
icon: u(this.tone, this.icon),
|
|
138
139
|
heading: l(this.heading, this.level),
|
|
139
|
-
prefix: this.i18n.t(
|
|
140
|
+
prefix: this.i18n.t(_[this.tone]),
|
|
140
141
|
actions: "below",
|
|
141
142
|
hasActions: this.slots.has("actions"),
|
|
142
143
|
close: this.dismissible ? e`<bk-button variant="ghost" class="close" part="close" icon="close" size="sm"
|
|
@@ -144,5 +145,5 @@ var g = {
|
|
|
144
145
|
});
|
|
145
146
|
}
|
|
146
147
|
};
|
|
147
|
-
a("bk-alert",
|
|
148
|
-
export {
|
|
148
|
+
a("bk-alert", v);
|
|
149
|
+
export { v as BkAlert };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-DkVeu7e9.js";
|
|
3
3
|
import { r as i } from "./chunks/state-XYmTmnOw.js";
|
|
4
4
|
// dist/components/bk-app-state.js
|
|
5
5
|
var a = class extends t {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as i } from "./chunks/i18n-
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
2
|
+
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
4
|
import { t as o } from "./chunks/events-DQ4e9cPN.js";
|
|
5
|
-
import { t as s, x as c } from "./chunks/styles-
|
|
5
|
+
import { t as s, x as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import { n as l } from "./chunks/format-DEwvmPPd.js";
|
|
7
|
-
import "./chunks/bk-icon-
|
|
7
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
8
8
|
import "./bk-button.js";
|
|
9
9
|
import "./bk-progress.js";
|
|
10
10
|
import "./bk-spinner.js";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
5
|
-
import { t as s } from "./chunks/styles-
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
|
+
import { t as c } from "./chunks/host-vars-DTKbhBPu.js";
|
|
6
7
|
import "./bk-avatar.js";
|
|
7
8
|
import "./bk-item.js";
|
|
8
9
|
import "./bk-item-group.js";
|
|
9
10
|
import "./bk-popover.js";
|
|
10
11
|
// dist/components/bk-avatar-group.js
|
|
11
|
-
var
|
|
12
|
+
var l = class extends n {
|
|
12
13
|
static properties = {
|
|
13
14
|
max: { type: Number },
|
|
14
15
|
label: {},
|
|
@@ -57,12 +58,13 @@ var c = class extends n {
|
|
|
57
58
|
}
|
|
58
59
|
layout() {
|
|
59
60
|
let { avatars: e } = this, t = this.max ?? 1e400;
|
|
60
|
-
e.forEach((n, r) => {
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
e.forEach((n, r) => n.setGroupPlace?.({
|
|
62
|
+
hidden: r >= t,
|
|
63
|
+
layer: e.length - r
|
|
64
|
+
})), this.hiddenCount = Math.max(0, e.length - t), c(this, { "--_bk-avatar-group-size": `var(--bk-avatar-size-${e[0]?.getAttribute("size") || "md"})` }), this.requestUpdate();
|
|
63
65
|
}
|
|
64
66
|
render() {
|
|
65
|
-
let n = this.avatars.filter((e) => e.
|
|
67
|
+
let n = this.avatars.filter((e) => e.groupHidden);
|
|
66
68
|
return e`<slot @slotchange=${this.onSlot}></slot>${this.hiddenCount ? e`<bk-popover label=${this.i18n.t("morePeople")}>
|
|
67
69
|
<button slot="trigger" class="more" part="more" type="button"
|
|
68
70
|
aria-label=${this.i18n.t("moreCount", { count: this.hiddenCount })}>+${this.hiddenCount}</button>
|
|
@@ -74,5 +76,5 @@ var c = class extends n {
|
|
|
74
76
|
</bk-popover>` : t}`;
|
|
75
77
|
}
|
|
76
78
|
};
|
|
77
|
-
a("bk-avatar-group",
|
|
78
|
-
export {
|
|
79
|
+
a("bk-avatar-group", l);
|
|
80
|
+
export { l as BkAvatarGroup };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./chunks/if-defined-z_20pBRr.js";
|
|
2
2
|
import { a as t, n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
4
|
import { t as o } from "./chunks/host-vars-DTKbhBPu.js";
|
|
5
5
|
import { n as s, t as c } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as l } from "./chunks/i18n-
|
|
7
|
-
import { _ as u, g as d, t as f } from "./chunks/styles-
|
|
6
|
+
import { t as l } from "./chunks/i18n-DFfGgd3d.js";
|
|
7
|
+
import { _ as u, g as d, t as f } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import { n as p, t as m } from "./chunks/hue-Jvb-141g.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
10
10
|
import "./bk-status-dot.js";
|
|
11
11
|
import "./chunks/check-BkWcIJJJ.js";
|
|
12
12
|
import "./chunks/image-t401521J.js";
|
|
@@ -95,11 +95,21 @@ var v = class extends r {
|
|
|
95
95
|
box-shadow: var(--_bk-avatar-active-shadow);
|
|
96
96
|
}
|
|
97
97
|
:host { transition: box-shadow var(--bk-duration-fast); }
|
|
98
|
+
/* The place in a <bk-avatar-group> (setGroupPlace): above the next avatar, or hidden beyond max. */
|
|
99
|
+
:host(:state(group-layer)) { z-index: var(--_bk-avatar-layer); }
|
|
100
|
+
:host(:state(group-hidden)) { display: none; }
|
|
98
101
|
@media (prefers-reduced-motion: reduce) { :host { transition: none; } }
|
|
99
102
|
@media (forced-colors: active) { :host { border: var(--bk-border-width) solid CanvasText; } :host([active]) { outline: var(--bk-space-0) solid Highlight; outline-offset: var(--bk-space-0); } }
|
|
100
103
|
`
|
|
101
104
|
];
|
|
102
105
|
i18n = new l(this);
|
|
106
|
+
setGroupPlace(e) {
|
|
107
|
+
let t = this.internals.states;
|
|
108
|
+
e.hidden ? t.add("group-hidden") : t.delete("group-hidden"), t.add("group-layer"), o(this, { "--_bk-avatar-layer": String(e.layer) });
|
|
109
|
+
}
|
|
110
|
+
get groupHidden() {
|
|
111
|
+
return this.internals.states.has("group-hidden");
|
|
112
|
+
}
|
|
103
113
|
willUpdate(e) {
|
|
104
114
|
e.has("src") && (this.failed = !1), e.has("name") && o(this, { "--_bk-hue-h": String(m(this.name)) });
|
|
105
115
|
let t = this.internals;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
2
|
+
import { t as r } from "./chunks/define-DkVeu7e9.js";
|
|
3
3
|
import { t as i } from "./chunks/slots-BHTtBbPo.js";
|
|
4
|
-
import { t as a } from "./chunks/styles-
|
|
4
|
+
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
// dist/components/bk-badge.js
|
|
6
6
|
var o = class extends t {
|
|
7
7
|
slots = new i(this);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { i as r, t as i } from "./chunks/define-
|
|
2
|
+
import { i as r, t as i } from "./chunks/define-DkVeu7e9.js";
|
|
3
3
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
4
4
|
// dist/components/bk-bar.js
|
|
5
5
|
var o = class extends t {
|
|
@@ -50,6 +50,8 @@ var o = class extends t {
|
|
|
50
50
|
:host {
|
|
51
51
|
display: flex; flex-wrap: wrap; align-items: center; flex: 1 1 auto; min-width: 0;
|
|
52
52
|
gap: var(--bk-bar-gap, var(--bk-space-cluster));
|
|
53
|
+
/* In a row the bar takes the rest of the line. In a column it keeps the height of its content. */
|
|
54
|
+
max-block-size: max-content;
|
|
53
55
|
}
|
|
54
56
|
:host([hidden]) { display: none; }
|
|
55
57
|
.start, .end { display: flex; flex-wrap: wrap; align-items: center; gap: inherit; min-width: 0; }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
4
|
-
import { t as o } from "./chunks/link
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as o } from "./chunks/link--YWr8exL.js";
|
|
5
5
|
import { t as s } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as c, v as l, x as u } from "./chunks/styles-
|
|
6
|
+
import { t as c, v as l, x as u } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
// dist/components/bk-brand.js
|
|
8
8
|
var d = class extends n {
|
|
9
9
|
static shadowRootOptions = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { r as i, t as a } from "./chunks/define-
|
|
3
|
-
import { t as o } from "./chunks/i18n-
|
|
4
|
-
import { t as s } from "./chunks/styles-
|
|
5
|
-
import "./chunks/bk-icon-
|
|
6
|
-
import { i as c, n as l, o as u, t as d } from "./chunks/link
|
|
2
|
+
import { r as i, t as a } from "./chunks/define-DkVeu7e9.js";
|
|
3
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
5
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
6
|
+
import { i as c, n as l, o as u, t as d } from "./chunks/link--YWr8exL.js";
|
|
7
7
|
import "./chunks/chevron-right-CxqvZ6TS.js";
|
|
8
8
|
// dist/components/bk-breadcrumbs.js
|
|
9
9
|
var f = class extends n {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/i18n-
|
|
2
|
+
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
3
|
import { c as i } from "./chunks/anchor-CNX3nt2F.js";
|
|
4
|
-
import { t as a } from "./chunks/clipboard-
|
|
5
|
-
import { n as o, r as s, t as c } from "./chunks/define-
|
|
4
|
+
import { t as a } from "./chunks/clipboard-RqIeP9Uz.js";
|
|
5
|
+
import { n as o, r as s, t as c } from "./chunks/define-DkVeu7e9.js";
|
|
6
6
|
import { n as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { t as u, x as d } from "./chunks/styles-
|
|
7
|
+
import { t as u, x as d } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import "./bk-button.js";
|
|
9
|
-
import "./chunks/bk-icon-
|
|
9
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
10
10
|
import "./chunks/check-BkWcIJJJ.js";
|
|
11
11
|
import "./chunks/copy-CJUeLP2K.js";
|
|
12
12
|
import "./chunks/error-BWRRZUg8.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { r as n, t as r } from "./chunks/define-
|
|
3
|
-
import {
|
|
2
|
+
import { r as n, t as r } from "./chunks/define-DkVeu7e9.js";
|
|
3
|
+
import { o as i, r as a } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as o } from "./chunks/events-DQ4e9cPN.js";
|
|
5
|
-
import { t as s } from "./chunks/form-control-
|
|
6
|
-
import { t as c } from "./chunks/styles-
|
|
5
|
+
import { t as s } from "./chunks/form-control-CHpfKAKa.js";
|
|
6
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
import "./bk-button.js";
|
|
8
8
|
// dist/components/bk-button-group.js
|
|
9
9
|
var l = class extends s {
|
|
@@ -66,7 +66,7 @@ var l = class extends s {
|
|
|
66
66
|
::slotted(:not(:first-child)) { margin-inline-start: calc(-1 * var(--_bk-button-group-overlap)); }
|
|
67
67
|
:host([orientation="vertical"]) ::slotted(:not(:first-child)) { margin-inline-start: 0; margin-block-start: calc(-1 * var(--_bk-button-group-overlap)); }
|
|
68
68
|
/* The border of the hovered, focused or pressed button lies over its neighbours. */
|
|
69
|
-
::slotted(:hover), ::slotted(:focus-within), ::slotted([pressed]) { z-index: 1; }
|
|
69
|
+
::slotted(:hover), ::slotted(:focus-within), ::slotted([pressed]:not([pressed="false"])) { z-index: 1; }
|
|
70
70
|
:host([disabled]) .group { opacity: var(--bk-disabled-opacity); }
|
|
71
71
|
`];
|
|
72
72
|
get control() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/i18n-
|
|
2
|
+
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
3
|
import { c as i } from "./chunks/anchor-CNX3nt2F.js";
|
|
4
|
-
import { t as a } from "./chunks/clipboard-
|
|
5
|
-
import { n as o, r as s, t as c } from "./chunks/define-
|
|
4
|
+
import { t as a } from "./chunks/clipboard-RqIeP9Uz.js";
|
|
5
|
+
import { n as o, r as s, t as c } from "./chunks/define-DkVeu7e9.js";
|
|
6
6
|
import { n as l } from "./chunks/events-DQ4e9cPN.js";
|
|
7
7
|
import { i as u, t as d } from "./chunks/registry-BTiSxoP0.js";
|
|
8
|
-
import { t as f, x as p } from "./chunks/styles-
|
|
8
|
+
import { t as f, x as p } from "./chunks/styles-CaeyhYDA.js";
|
|
9
9
|
import "./bk-button.js";
|
|
10
|
-
import "./chunks/bk-icon-
|
|
10
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
11
11
|
import "./chunks/check-BkWcIJJJ.js";
|
|
12
12
|
import "./chunks/link-CIun9N24.js";
|
|
13
13
|
// dist/components/bk-button-share.js
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/i18n-
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
4
|
-
import { t as a } from "./chunks/
|
|
2
|
+
import { t as r } from "./chunks/i18n-DFfGgd3d.js";
|
|
3
|
+
import { t as i } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as a } from "./chunks/host-vars-DTKbhBPu.js";
|
|
5
|
+
import { t as o } from "./chunks/styles-CaeyhYDA.js";
|
|
5
6
|
import "./bk-button.js";
|
|
6
7
|
import "./chunks/arrow-up-BfHTuP3c.js";
|
|
7
8
|
// dist/components/bk-button-top.js
|
|
8
|
-
var
|
|
9
|
+
var s = class extends t {
|
|
9
10
|
static properties = {
|
|
10
11
|
htmlFor: { attribute: "for" },
|
|
11
12
|
threshold: { type: Number },
|
|
@@ -30,7 +31,7 @@ var o = class extends t {
|
|
|
30
31
|
constructor() {
|
|
31
32
|
super(), this.threshold = 600, this.variant = "outline", this.size = "md", this.shown = !1;
|
|
32
33
|
}
|
|
33
|
-
static styles = [
|
|
34
|
+
static styles = [o, n`
|
|
34
35
|
:host {
|
|
35
36
|
--_bk-button-top-offset: var(--bk-button-top-offset, var(--bk-space-4));
|
|
36
37
|
position: fixed; z-index: var(--bk-z-dropdown);
|
|
@@ -75,7 +76,7 @@ var o = class extends t {
|
|
|
75
76
|
};
|
|
76
77
|
measure() {
|
|
77
78
|
let e = (this.target ? this.target.scrollTop : window.scrollY) > this.threshold;
|
|
78
|
-
e !== this.shown && (this.shown = e, e && this
|
|
79
|
+
e !== this.shown && (this.shown = e, e && a(this, { "--_bk-button-top-bar": `${parseFloat(getComputedStyle(document.documentElement).scrollPaddingBottom) || 0}px` }));
|
|
79
80
|
}
|
|
80
81
|
toTop() {
|
|
81
82
|
let e = matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
@@ -89,5 +90,5 @@ var o = class extends t {
|
|
|
89
90
|
label=${this.label || this.i18n.t("backToTop")} @click=${() => this.toTop()}></bk-button>`;
|
|
90
91
|
}
|
|
91
92
|
};
|
|
92
|
-
i("bk-button-top",
|
|
93
|
-
export {
|
|
93
|
+
i("bk-button-top", s);
|
|
94
|
+
export { s as BkButtonTop };
|
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { n as a, t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/link
|
|
3
|
+
import { n as a, t as o } from "./chunks/define-DkVeu7e9.js";
|
|
4
|
+
import { t as s } from "./chunks/link--YWr8exL.js";
|
|
5
5
|
import { t as c } from "./chunks/loading-B37QBUkv.js";
|
|
6
6
|
import { t as l } from "./chunks/slots-BHTtBbPo.js";
|
|
7
|
-
import { t as u } from "./chunks/i18n-
|
|
8
|
-
import { a as d, i as f, t as p } from "./chunks/styles-
|
|
7
|
+
import { t as u } from "./chunks/i18n-DFfGgd3d.js";
|
|
8
|
+
import { a as d, i as f, t as p } from "./chunks/styles-CaeyhYDA.js";
|
|
9
9
|
import { r as m } from "./chunks/anchor-CNX3nt2F.js";
|
|
10
10
|
import { r as h, t as g } from "./chunks/events-DQ4e9cPN.js";
|
|
11
|
-
import "./chunks/bk-icon-
|
|
11
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
12
12
|
import "./bk-spinner.js";
|
|
13
13
|
import "./bk-tooltip.js";
|
|
14
|
+
import { n as _, t as v } from "./chunks/submit-BjBGB8OW.js";
|
|
14
15
|
import "./chunks/label-cokyRPHN.js";
|
|
15
16
|
// dist/components/bk-button.js
|
|
16
|
-
var
|
|
17
|
+
var y = (e) => e.stopPropagation(), b = /* @__PURE__ */ new Set([
|
|
17
18
|
"bk-icon",
|
|
18
19
|
"svg",
|
|
19
20
|
"img",
|
|
20
21
|
"bk-avatar"
|
|
21
|
-
]),
|
|
22
|
+
]), x = {
|
|
23
|
+
fromAttribute: (e) => e !== null && e !== "false",
|
|
24
|
+
toAttribute: (e) => e ? "" : null
|
|
25
|
+
}, S = class extends n {
|
|
22
26
|
static formAssociated = !0;
|
|
23
27
|
static shadowRootOptions = {
|
|
24
28
|
...n.shadowRootOptions,
|
|
@@ -80,8 +84,8 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
80
84
|
},
|
|
81
85
|
align: { reflect: !0 },
|
|
82
86
|
pressed: {
|
|
83
|
-
|
|
84
|
-
|
|
87
|
+
reflect: !0,
|
|
88
|
+
converter: x
|
|
85
89
|
},
|
|
86
90
|
floating: {
|
|
87
91
|
type: Boolean,
|
|
@@ -145,8 +149,18 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
145
149
|
onPickCancel = (e) => {
|
|
146
150
|
e.stopPropagation(), h(this, "cancel");
|
|
147
151
|
};
|
|
152
|
+
fieldsetDisabled = !1;
|
|
153
|
+
get isDisabled() {
|
|
154
|
+
return this.disabled || this.fieldsetDisabled && !this.href;
|
|
155
|
+
}
|
|
148
156
|
get inactive() {
|
|
149
|
-
return this.
|
|
157
|
+
return this.isDisabled || this.loading || !!this.disabledReason;
|
|
158
|
+
}
|
|
159
|
+
formDisabledCallback(e) {
|
|
160
|
+
this.fieldsetDisabled = e, this.requestUpdate();
|
|
161
|
+
}
|
|
162
|
+
[v]() {
|
|
163
|
+
return this.type === "submit" && !this.href ? this.inactive : null;
|
|
150
164
|
}
|
|
151
165
|
forwarded = {
|
|
152
166
|
haspopup: null,
|
|
@@ -280,14 +294,14 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
280
294
|
--_bk-button-shadow: var(--bk-button-solid-shadow, 0 var(--bk-space-1) var(--bk-space-4) calc(-1 * var(--bk-space-1)) oklch(from var(--_bk-button-solid) l c h / calc(0.5 * var(--bk-glow-strength))));
|
|
281
295
|
}
|
|
282
296
|
@media (hover: hover) {
|
|
283
|
-
:host([variant="solid"]:not([disabled]
|
|
297
|
+
:host([variant="solid"]:not([disabled], :disabled, [pressed]:not([pressed="false"]))) .control:hover:not([aria-disabled="true"]) { background: var(--_bk-button-fill-hover, var(--_bk-button-solid-hover)); }
|
|
284
298
|
}
|
|
285
299
|
:host([variant="soft"]) { --_bk-button-bg: var(--_bk-button-soft); --_bk-button-bd: transparent; --_bk-button-shadow: none; }
|
|
286
300
|
:host([variant="ghost"]) { --_bk-button-bg: var(--bk-button-ghost-bg, transparent); --_bk-button-bd: transparent; --_bk-button-hover: var(--_bk-button-tint); --_bk-button-shadow: none; }
|
|
287
301
|
:host([variant="quiet"]) { --_bk-button-bg: transparent; --_bk-button-bd: transparent; --_bk-button-shadow: none; }
|
|
288
302
|
:host([variant="quiet"]:is([tone="neutral"], :not([tone]))) { --_bk-button-fg: var(--bk-button-quiet-fg, var(--bk-text-muted)); }
|
|
289
303
|
@media (hover: hover) {
|
|
290
|
-
:host([variant="quiet"]:not([disabled])) .control:hover:not([aria-disabled="true"]) { color: var(--_bk-button-text); border-color: var(--_bk-button-frame); }
|
|
304
|
+
:host([variant="quiet"]:not([disabled], :disabled)) .control:hover:not([aria-disabled="true"]) { color: var(--_bk-button-text); border-color: var(--_bk-button-frame); }
|
|
291
305
|
}
|
|
292
306
|
:host([floating]) { --_bk-button-shadow: var(--bk-button-floating-shadow, var(--bk-layer-overlay-shadow)); }
|
|
293
307
|
:host([floating]:not([variant="solid"])) {
|
|
@@ -296,9 +310,12 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
296
310
|
--_bk-button-bd: var(--bk-button-floating-border, var(--bk-layer-overlay-border));
|
|
297
311
|
}
|
|
298
312
|
:host([floating]) .control { border-radius: var(--bk-button-floating-radius, var(--bk-radius-full)); }
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
313
|
+
/* The pressed look follows the tone: its soft background and its text. Neutral (the default) uses the accent, the colour of a selection. */
|
|
314
|
+
:host { --_bk-button-pressed-bg: var(--bk-accent-soft); --_bk-button-pressed-fg: var(--bk-accent-text); }
|
|
315
|
+
:host([tone]:not([tone="neutral"])) { --_bk-button-pressed-bg: var(--_bk-button-soft); --_bk-button-pressed-fg: var(--_bk-button-text); }
|
|
316
|
+
:host([pressed]:not([pressed="false"])), :host([aria-current]:not([aria-current="false"])) {
|
|
317
|
+
--_bk-button-bg: var(--bk-button-pressed-bg, var(--_bk-button-pressed-bg));
|
|
318
|
+
--_bk-button-fg: var(--bk-button-pressed-fg, var(--_bk-button-pressed-fg));
|
|
302
319
|
--_bk-button-bd: var(--bk-button-pressed-border, transparent);
|
|
303
320
|
--_bk-button-shadow: none;
|
|
304
321
|
}
|
|
@@ -320,8 +337,9 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
320
337
|
.control:focus { outline: none; }
|
|
321
338
|
.control:focus-visible { outline: var(--bk-focus-ring); outline-offset: var(--bk-button-focus-offset, var(--bk-focus-offset)); }
|
|
322
339
|
|
|
323
|
-
:
|
|
324
|
-
:host([disabled]) .control
|
|
340
|
+
/* :disabled is also a disabled ancestor fieldset. A link button stays a link there. */
|
|
341
|
+
:host(:is([disabled], :disabled:not([href]))) .control, :host([disabled-reason]:not([disabled-reason=""])) .control { opacity: var(--bk-disabled-opacity); cursor: not-allowed; }
|
|
342
|
+
:host(:is([disabled], :disabled:not([href]))) .control::after, :host([disabled-reason]:not([disabled-reason=""])) .control::after { display: none; }
|
|
325
343
|
/* The tooltip that says why the button is off wraps the control and fills the host like it. */
|
|
326
344
|
.reason { display: flex; flex: 1; min-width: 0; }
|
|
327
345
|
.reason::part(anchor) { flex: 1; min-width: 0; }
|
|
@@ -332,7 +350,7 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
332
350
|
/* The content has no box of its own (display: contents), so each part hides. Not visibility: the label stays the accessible name. */
|
|
333
351
|
.spinning .label, .spinning .content bk-icon, .spinning .content ::slotted(*) { opacity: 0; }
|
|
334
352
|
.spinner { position: absolute; inset: 0; display: grid; place-items: center; }
|
|
335
|
-
@media (forced-colors: active) { .control { border-color: ButtonText; } :host([pressed]) .control, :host([aria-current]:not([aria-current="false"])) .control { outline: 2px solid Highlight; } }
|
|
353
|
+
@media (forced-colors: active) { .control { border-color: ButtonText; } :host([pressed]:not([pressed="false"])) .control, :host([aria-current]:not([aria-current="false"])) .control { outline: 2px solid Highlight; } }
|
|
336
354
|
|
|
337
355
|
.content { display: contents; }
|
|
338
356
|
/* An icon's glyph carries its own inner space: the padding on its side gives that back. */
|
|
@@ -383,15 +401,22 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
383
401
|
}
|
|
384
402
|
inOverlay = !1;
|
|
385
403
|
connectedCallback() {
|
|
386
|
-
super.connectedCallback();
|
|
387
|
-
let e = this
|
|
388
|
-
|
|
404
|
+
super.connectedCallback(), this.inOverlay = !1;
|
|
405
|
+
for (let e = this; e;) {
|
|
406
|
+
if (e.closest("dialog, bk-dialog, bk-drawer, bk-lightbox, bk-command-palette, [popover]")) {
|
|
407
|
+
this.inOverlay = !0;
|
|
408
|
+
break;
|
|
409
|
+
}
|
|
410
|
+
let t = e.getRootNode();
|
|
411
|
+
e = t instanceof ShadowRoot ? t.host : null;
|
|
412
|
+
}
|
|
413
|
+
this.collapsible && !this.icon && !this.iconEnd && !this.querySelector(":scope > :is([slot=start], [slot=end])") && console.warn("<bk-button collapse> needs an icon (icon, icon-end, or the start or end slot): it is all that stays visible.", this);
|
|
389
414
|
}
|
|
390
415
|
get iconOnly() {
|
|
391
416
|
return this.iconEnd || this.slots.has("end") ? !1 : this.slots.has("") ? this.visualOnly : !!this.icon || this.slots.has("start");
|
|
392
417
|
}
|
|
393
418
|
onDefaultSlot(e) {
|
|
394
|
-
let t = e.target.assignedNodes({ flatten: !0 }), n = t.filter((e) => e.nodeType === Node.ELEMENT_NODE), r = !t.some((e) => e.nodeType === Node.TEXT_NODE && !!e.textContent?.trim()) && n.length > 0 && n.every((e) =>
|
|
419
|
+
let t = e.target.assignedNodes({ flatten: !0 }), n = t.filter((e) => e.nodeType === Node.ELEMENT_NODE), r = !t.some((e) => e.nodeType === Node.TEXT_NODE && !!e.textContent?.trim()) && n.length > 0 && n.every((e) => b.has(e.localName)), i = n.find((e) => e.localName === "bk-avatar");
|
|
395
420
|
this.internals.states[r && i && i.getAttribute("shape") !== "square" ? "add" : "delete"]("round"), (r !== this.visualOnly || this.collapsible) && (this.visualOnly = r, this.requestUpdate());
|
|
396
421
|
}
|
|
397
422
|
firstUpdated() {
|
|
@@ -408,6 +433,9 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
408
433
|
willUpdate(e) {
|
|
409
434
|
super.willUpdate(e), e.has("loading") && this.loader.set(this.loading);
|
|
410
435
|
}
|
|
436
|
+
updated(e) {
|
|
437
|
+
super.updated(e), e.has("type") && this.type === "submit" && _();
|
|
438
|
+
}
|
|
411
439
|
renderContent() {
|
|
412
440
|
return e`
|
|
413
441
|
<slot name="start">${this.icon ? e`<bk-icon name=${this.icon}></bk-icon>` : t}</slot>
|
|
@@ -417,21 +445,25 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
417
445
|
render() {
|
|
418
446
|
let n = e`<span class="content">${this.renderContent()}</span>
|
|
419
447
|
${this.loader.visible ? e`<span class="spinner"><bk-spinner></bk-spinner></span>` : t}
|
|
420
|
-
${this.iconOnly ? this.countText ? e`<span class="count" part="count" aria-hidden="true" data-count=${this.countText}></span>` : this.dot ? e`<span class="dot" part="count" aria-hidden="true"></span>` : t : t}`, r = !this.iconOnly && (!!this.icon || this.slots.has("start")), o = !this.iconOnly && (!!this.iconEnd || this.slots.has("end")), s = `control${this.loader.visible ? " spinning" : ""}${this.iconOnly ? " icon-only" : ""}${r ? " has-start" : ""}${o ? " has-end" : ""}`, c = this.disabledReason || void 0, l = this.inactive, u = !!c || this.loading, d = this.forwarded, f = this.label ?? (this.collapsible && a(this)?.textContent?.replace(/\s+/g, " ").trim() || void 0), p = !c && !d.hideTitle && !this.hideTooltip && !this.inOverlay && this.iconOnly && f ? f : void 0, h = d.hideTitle || this.hideTooltip || c || p ? void 0 : f, g = i(d.haspopup ?? void 0),
|
|
448
|
+
${this.iconOnly ? this.countText ? e`<span class="count" part="count" aria-hidden="true" data-count=${this.countText}></span>` : this.dot ? e`<span class="dot" part="count" aria-hidden="true"></span>` : t : t}`, r = !this.iconOnly && (!!this.icon || this.slots.has("start")), o = !this.iconOnly && (!!this.iconEnd || this.slots.has("end")), s = `control${this.loader.visible ? " spinning" : ""}${this.iconOnly ? " icon-only" : ""}${r ? " has-start" : ""}${o ? " has-end" : ""}`, c = this.disabledReason || void 0, l = this.inactive, u = !!c || this.loading, d = this.forwarded, f = this.label ?? (this.collapsible && a(this)?.textContent?.replace(/\s+/g, " ").trim() || void 0), p = !c && !d.hideTitle && !this.hideTooltip && !this.inOverlay && this.iconOnly && f ? f : void 0, h = d.hideTitle || this.hideTooltip || c || p ? void 0 : f, g = i(d.haspopup ?? void 0), _ = i(d.expanded === null ? this.hostExpanded ?? void 0 : String(d.expanded)), v = this.href && this.target === "_blank" ? this.i18n.t("opensInNewTab") : void 0, b = i(c ? void 0 : [
|
|
449
|
+
d.description,
|
|
450
|
+
this.badgeDescription,
|
|
451
|
+
v
|
|
452
|
+
].filter(Boolean).join(". ") || void 0), x = i(this.current ?? void 0), S = m(d.controls ?? this.hostControlled());
|
|
421
453
|
return this.href ? this.withReason(c, f, p, e`<a part="control" class=${s}
|
|
422
454
|
href=${i(l ? void 0 : this.links.href(this.href))} @click=${this.links.click} target=${i(this.target)}
|
|
423
455
|
rel=${i(this.rel ?? (this.target === "_blank" ? "noopener noreferrer" : void 0))}
|
|
424
456
|
download=${i(this.download)} aria-label=${i(f)} title=${i(h)}
|
|
425
|
-
aria-haspopup=${g} aria-expanded=${
|
|
457
|
+
aria-haspopup=${g} aria-expanded=${_} .ariaControlsElements=${S} aria-description=${b} aria-current=${x}
|
|
426
458
|
aria-disabled=${i(l ? "true" : void 0)} role=${i(l ? "link" : void 0)}
|
|
427
|
-
tabindex=${i(c ? "0" : this.
|
|
459
|
+
tabindex=${i(c ? "0" : this.isDisabled ? "-1" : void 0)}>${n}</a>`) : this.withReason(c, f, p, e`<button part="control" class=${s} type="button"
|
|
428
460
|
command=${i(this.command)} @click=${this.onControlClick}
|
|
429
|
-
?disabled=${this.
|
|
461
|
+
?disabled=${this.isDisabled && !c} aria-disabled=${i(u ? "true" : void 0)}
|
|
430
462
|
aria-busy=${i(this.loading ? "true" : void 0)}
|
|
431
463
|
aria-pressed=${i(this.pressed === void 0 ? void 0 : String(this.pressed))}
|
|
432
464
|
aria-label=${i(f)} title=${i(h)}
|
|
433
|
-
aria-haspopup=${g} aria-expanded=${
|
|
434
|
-
@click=${
|
|
465
|
+
aria-haspopup=${g} aria-expanded=${_} .ariaControlsElements=${S} aria-description=${b} aria-current=${x}>${n}</button>${this.type === "file" ? e`<input type="file" hidden tabindex="-1" aria-hidden="true" accept=${i(this.accept || void 0)} ?multiple=${this.multiple}
|
|
466
|
+
@click=${y} @input=${y} @change=${this.onPicked} @cancel=${this.onPickCancel}>` : t}`);
|
|
435
467
|
}
|
|
436
468
|
onControlClick = (e) => {
|
|
437
469
|
let t = e.currentTarget;
|
|
@@ -441,5 +473,5 @@ var _ = (e) => e.stopPropagation(), v = /* @__PURE__ */ new Set([
|
|
|
441
473
|
return r ? e`<bk-tooltip class="labelled" content=${r}>${i}</bk-tooltip>` : t ? e`<bk-tooltip class="reason" content=${n ? `${n}. ${t}` : t}>${i}</bk-tooltip>` : i;
|
|
442
474
|
}
|
|
443
475
|
};
|
|
444
|
-
o("bk-button",
|
|
445
|
-
export {
|
|
476
|
+
o("bk-button", S);
|
|
477
|
+
export { S as BkButton };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
3
|
import { t as a } from "./chunks/style-map-BMvn17E7.js";
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
5
|
-
import { r as s, t as c } from "./chunks/define-
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { r as s, t as c } from "./chunks/define-DkVeu7e9.js";
|
|
6
6
|
import { n as l, t as u } from "./chunks/events-DQ4e9cPN.js";
|
|
7
|
-
import { t as d, x as f } from "./chunks/styles-
|
|
7
|
+
import { t as d, x as f } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import { addDays as p, dateLocaleData as m, fromUtc as h, utc as g, validIso as _ } from "./bk-calendar.js";
|
|
9
9
|
import "./bk-button.js";
|
|
10
10
|
import "./bk-calendar-event.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { t as a } from "./chunks/define-
|
|
3
|
+
import { t as a } from "./chunks/define-DkVeu7e9.js";
|
|
4
4
|
import { n as o, t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { t as c } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as l, x as u } from "./chunks/styles-
|
|
7
|
-
import {
|
|
8
|
-
import "./chunks/bk-icon-
|
|
6
|
+
import { t as l, x as u } from "./chunks/styles-CaeyhYDA.js";
|
|
7
|
+
import { o as d, t as f } from "./chunks/i18n-DFfGgd3d.js";
|
|
8
|
+
import "./chunks/bk-icon-Bp_flKdv.js";
|
|
9
9
|
import "./chunks/chevron-down-CpVEjEyi.js";
|
|
10
10
|
import "./chunks/chevron-left-BHF34JzQ.js";
|
|
11
11
|
import "./chunks/chevron-right-CxqvZ6TS.js";
|