@bk2k/ui 0.6.8 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BUILDING.md +56 -2
- package/CHANGELOG.md +199 -0
- package/USAGE.md +102 -28
- 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.d.ts +2 -0
- package/dist/charts/frame.js +2 -1
- package/dist/clipboard.js +1 -0
- package/dist/components/bk-alert.js +3 -2
- 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 +42 -14
- package/dist/components/bk-button.js +67 -20
- package/dist/components/bk-card.d.ts +7 -0
- package/dist/components/bk-card.js +21 -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 +10 -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 +28 -0
- package/dist/components/bk-chart-line.js +27 -7
- 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 +55 -8
- package/dist/components/bk-chip.js +46 -8
- 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 +3 -3
- package/dist/components/bk-combobox.js +9 -21
- 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 +69 -6
- package/dist/components/bk-image-compare.js +116 -32
- 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 +178 -11
- package/dist/components/bk-image-viewer.js +310 -52
- package/dist/components/bk-input-color.d.ts +2 -5
- package/dist/components/bk-input-color.js +0 -14
- package/dist/components/bk-input-file.d.ts +17 -0
- package/dist/components/bk-input-file.js +18 -8
- 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-tags.d.ts +219 -0
- package/dist/components/bk-input-tags.js +293 -0
- package/dist/components/bk-input-text.d.ts +20 -0
- package/dist/components/bk-input-text.js +34 -4
- package/dist/components/bk-input-time.js +2 -1
- package/dist/components/bk-item.js +2 -1
- package/dist/components/bk-lightbox.d.ts +37 -4
- package/dist/components/bk-lightbox.js +13 -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.d.ts +2 -0
- package/dist/components/bk-page-cta.js +10 -1
- 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 +430 -2
- package/dist/components/bk-stat-group.js +2 -1
- package/dist/components/bk-stat.d.ts +19 -0
- package/dist/components/bk-stat.js +8 -4
- 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 +3 -1
- package/dist/components/bk-table.js +10 -13
- 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 +52 -8
- package/dist/components/bk-tabs.js +181 -97
- 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 +4 -0
- package/dist/index.js +4 -0
- package/dist/internal/announcer.d.ts +14 -1
- package/dist/internal/announcer.js +33 -12
- 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 +4 -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/define.d.ts +9 -0
- package/dist/internal/define.js +47 -1
- package/dist/internal/drag.d.ts +11 -0
- package/dist/internal/drag.js +23 -0
- package/dist/internal/elements.d.ts +6 -0
- package/dist/internal/elements.js +5 -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/hue.d.ts +8 -0
- package/dist/internal/hue.js +15 -4
- 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/bk-tabs.d.ts +4 -0
- package/dist/internal/late/bk-tabs.js +8 -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/internal/tags.d.ts +15 -0
- package/dist/internal/tags.js +44 -0
- package/dist/internal/text-field.d.ts +2 -0
- package/dist/internal/text-field.js +8 -0
- package/dist/internal/toggle-control.js +3 -1
- package/dist/jsx.d.ts +222 -54
- package/dist/kit.d.ts +1 -0
- package/dist/kit.js +3 -0
- package/dist/reset.css +10 -0
- package/dist/standalone/all.js +226 -221
- 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 +17 -13
- 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 +15 -5
- 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 +7 -7
- package/dist/standalone/bk-button-group.js +5 -5
- package/dist/standalone/bk-button-share.js +7 -7
- package/dist/standalone/bk-button-top.js +9 -8
- package/dist/standalone/bk-button.js +74 -34
- 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 +26 -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 +128 -107
- 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 +7 -7
- package/dist/standalone/bk-checkbox.js +4 -4
- package/dist/standalone/bk-chip-group.js +11 -7
- package/dist/standalone/bk-chip.js +59 -18
- 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 +23 -31
- package/dist/standalone/bk-command-menu.js +6 -6
- package/dist/standalone/bk-command-palette.js +8 -7
- 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 +5 -5
- 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 +127 -58
- 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 +283 -92
- package/dist/standalone/bk-input-code.js +4 -4
- package/dist/standalone/bk-input-color.js +4 -14
- 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 +22 -15
- 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-tags.js +224 -0
- 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 +24 -7
- package/dist/standalone/bk-lines.js +1 -1
- package/dist/standalone/bk-link.js +33 -19
- package/dist/standalone/bk-listbox-columns.js +8 -8
- 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 +4 -4
- 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 +9 -9
- 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 +13 -4
- 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 +1 -166
- package/dist/standalone/bk-popover-help.js +3 -3
- package/dist/standalone/bk-popover.js +2 -2
- package/dist/standalone/bk-presence-cursor.js +3 -3
- 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 +7 -7
- 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 +17 -15
- 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 +324 -44
- package/dist/standalone/bk-split.js +8 -8
- package/dist/standalone/bk-stack.js +1 -1
- package/dist/standalone/bk-stat-group.js +8 -7
- package/dist/standalone/bk-stat.js +12 -9
- 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 +8 -8
- 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 +3 -352
- 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 +21 -20
- 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 +5 -5
- 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-6tMlCOq1.js +41 -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-hCLuG-RM.js} +3 -3
- package/dist/standalone/chunks/{bk-carousel-BCwIQhG5.js → bk-carousel-_dudBMVq.js} +4 -4
- package/dist/standalone/chunks/{bk-diagram-DWK8CvRZ.js → bk-diagram-BB2odomE.js} +5 -5
- package/dist/standalone/chunks/{bk-dialog-DX0cPJ1o.js → bk-dialog-DcvwnOtN.js} +59 -25
- package/dist/standalone/chunks/{bk-icon-DssFsNuB.js → bk-icon-D4kI4F18.js} +4 -3
- package/dist/standalone/chunks/{bk-image-editor-DXEj9gCu.js → bk-image-editor-SRVkHI-4.js} +5 -5
- package/dist/standalone/chunks/{bk-input-date-range-Cbx_lpf0.js → bk-input-date-range-C0Vd-p0T.js} +2 -2
- package/dist/standalone/chunks/{bk-input-rich-ZB68vziu.js → bk-input-rich-AmDv87E5.js} +6 -6
- package/dist/standalone/chunks/{bk-input-text-DD32uWNO.js → bk-input-text-2n89GDIT.js} +73 -54
- package/dist/standalone/chunks/{bk-model-viewer-Dr81ahVv.js → bk-model-viewer-BoNYBd6W.js} +4 -4
- package/dist/standalone/chunks/bk-picture-CA5gLxgZ.js +186 -0
- package/dist/standalone/chunks/{bk-qr-code-QaYvZwOR.js → bk-qr-code-CSFfc8As.js} +3 -3
- package/dist/standalone/chunks/bk-shell-app-BlCOG25y.js +1236 -0
- package/dist/standalone/chunks/{bk-surface-DkIhrWMt.js → bk-surface-BULRdKam.js} +9 -7
- package/dist/standalone/chunks/{bk-swatch-palette-BNNXTP3w.js → bk-swatch-palette-Cqj85tSW.js} +6 -6
- package/dist/standalone/chunks/bk-table-DWlD7yoM.js +1945 -0
- package/dist/standalone/chunks/bk-tabs-STkr3-E1.js +422 -0
- package/dist/standalone/chunks/{bk-toast-group-BSeO_rPs.js → bk-toast-group-5nZg7BaJ.js} +27 -24
- package/dist/standalone/chunks/{brush-Bn3lPdHN.js → brush-DALmXSru.js} +18 -2
- package/dist/standalone/chunks/{busy-B7Mxemwm.js → busy-eG3uHonz.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-B0oe_9fI.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-Dy1_qxNv.js} +48 -47
- package/dist/standalone/chunks/define-6OfuRn5c.js +60 -0
- 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-Bmk0SRDX.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-BAe9fPYJ.js} +14 -33
- package/dist/standalone/chunks/{heading-text-CV5gBf7k.js → heading-text-B2kF-b8p.js} +1 -1
- package/dist/standalone/chunks/hue-vLbNdAEl.js +20 -0
- 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/late-CPQ_RbU-.js +30 -0
- 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-ySaDL-dW.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-BAUc_LqI.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/tags-CMLAGsVw.js +37 -0
- package/dist/standalone/chunks/{text-field-4IUUpRHE.js → text-field-CufOGdfr.js} +17 -11
- package/dist/standalone/chunks/{toggle-control-ioV2jhNY.js → toggle-control-Cgqp1jhf.js} +5 -3
- package/dist/standalone/chunks/{tokens-BuahF1lF.js → tokens-C_ul7pL9.js} +4 -3
- package/dist/standalone/chunks/{virtual-B-1oN14Y.js → virtual-D-qgACnE.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/define-CzVPD4Zi.js +0 -30
- package/dist/standalone/chunks/hue-Jvb-141g.js +0 -14
- package/dist/standalone/chunks/keyed-CZ2AaouM.js +0 -16
- package/dist/standalone/chunks/link-CWSMsx04.js +0 -60
|
@@ -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/style-map-BMvn17E7.js";
|
|
3
3
|
import { t as a } from "./chunks/repeat-Dxf3qZZl.js";
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
5
|
-
import { t as s } from "./chunks/define-
|
|
6
|
-
import { t as c, v as l } from "./chunks/styles-
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { t as s } from "./chunks/define-6OfuRn5c.js";
|
|
6
|
+
import { t as c, v as l } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
// dist/components/bk-nav-toc.js
|
|
8
8
|
var u = 0, d = (e) => {
|
|
9
9
|
let t = /^H([1-6])$/.exec(e.tagName);
|
|
@@ -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-
|
|
3
|
-
import { t as i } from "./chunks/i18n-
|
|
4
|
-
import { t as a } from "./chunks/styles-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import { navLook as o } from "./bk-nav-item.js";
|
|
6
6
|
import "./bk-nav-group.js";
|
|
7
7
|
import "./bk-nav-divider.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { t as r } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { t as i } from "./chunks/i18n-
|
|
4
|
-
import {
|
|
5
|
-
import { t as s } from "./chunks/styles-
|
|
3
|
+
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
5
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import "./bk-button.js";
|
|
7
7
|
import "./bk-menu.js";
|
|
8
8
|
import "./bk-menu-item.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./chunks/heading-text-
|
|
1
|
+
import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
|
|
2
2
|
import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
5
|
-
import { h as o, t as s } from "./chunks/styles-
|
|
5
|
+
import { h as o, t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-page-cta.js
|
|
7
7
|
var c = class extends n {
|
|
8
8
|
static properties = {
|
|
@@ -24,10 +24,19 @@ var c = class extends n {
|
|
|
24
24
|
:host { display: block; max-inline-size: var(--bk-page-cta-width, var(--bk-width-narrow)); margin-inline: auto; }
|
|
25
25
|
.box {
|
|
26
26
|
display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--bk-page-cta-gap, var(--bk-space-3));
|
|
27
|
+
/* The content is centred as in a centred band: a stat or a stack centres all its rows, not only the text. */
|
|
28
|
+
--_bk-page-section-items: center; --_bk-page-section-justify: center;
|
|
27
29
|
padding: var(--bk-page-cta-padding-block, var(--bk-space-10)) var(--bk-page-cta-padding-inline, var(--bk-space-8));
|
|
28
30
|
background: var(--bk-page-cta-bg, var(--bk-layer-raised-bg)); color: var(--bk-page-cta-fg, var(--bk-text));
|
|
29
31
|
border: var(--bk-border-width) solid var(--bk-page-cta-border, var(--bk-layer-raised-border));
|
|
30
32
|
border-radius: var(--bk-page-cta-radius, var(--bk-radius-xl)); box-shadow: var(--bk-page-cta-shadow, var(--bk-layer-raised-shadow));
|
|
33
|
+
position: relative;
|
|
34
|
+
}
|
|
35
|
+
/* The ring: an image over the border, cut to a ring in the radius of the box. */
|
|
36
|
+
.box::after {
|
|
37
|
+
content: ""; position: absolute; inset: calc(-1 * var(--bk-border-width)); pointer-events: none; border-radius: inherit;
|
|
38
|
+
padding: var(--bk-border-width); background: var(--bk-page-cta-ring, none);
|
|
39
|
+
mask: linear-gradient(currentColor 0 0) content-box exclude, linear-gradient(currentColor 0 0);
|
|
31
40
|
}
|
|
32
41
|
/* The border stays transparent, so the content keeps its place when the variant changes. */
|
|
33
42
|
:host([variant="plain"]) .box {
|
|
@@ -45,7 +54,7 @@ var c = class extends n {
|
|
|
45
54
|
color: var(--bk-page-cta-body-fg, var(--bk-text-muted)); font-size: var(--bk-type-body); line-height: var(--bk-line-height-body);
|
|
46
55
|
}
|
|
47
56
|
.actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--bk-space-cluster); margin-block-start: var(--bk-space-2); }
|
|
48
|
-
@media (forced-colors: active) { :host(:not([variant="plain"])) .box { border-color: CanvasText; } }
|
|
57
|
+
@media (forced-colors: active) { :host(:not([variant="plain"])) .box { border-color: CanvasText; } .box::after { display: none; } }
|
|
49
58
|
`];
|
|
50
59
|
render() {
|
|
51
60
|
let e = this.slots;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
3
|
-
import { t as i } from "./chunks/styles-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as i } from "./chunks/styles-CaeyhYDA.js";
|
|
4
4
|
// dist/components/bk-page-footer-column.js
|
|
5
5
|
var a = class extends t {
|
|
6
6
|
static properties = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e, t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as r } from "./chunks/define-
|
|
3
|
-
import { t as i } from "./chunks/i18n-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as i } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
5
|
-
import { t as o } from "./chunks/styles-
|
|
5
|
+
import { t as o } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-page-footer.js
|
|
7
7
|
var s = class extends t {
|
|
8
8
|
static properties = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./chunks/heading-text-
|
|
1
|
+
import { t as e } from "./chunks/heading-text-B2kF-b8p.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-6OfuRn5c.js";
|
|
4
4
|
import { i as o } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { t as s } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { h as c, t as l } from "./chunks/styles-
|
|
6
|
+
import { h as c, t as l } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
// dist/components/bk-page-header.js
|
|
8
8
|
var u = class extends r {
|
|
9
9
|
static properties = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./chunks/heading-text-
|
|
1
|
+
import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
|
|
2
2
|
import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
5
|
-
import { m as o, o as s, t as c } from "./chunks/styles-
|
|
5
|
+
import { m as o, o as s, t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-page-hero.js
|
|
7
7
|
var l = class extends n {
|
|
8
8
|
static properties = {
|
|
@@ -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/define-
|
|
3
|
-
import { t as a } from "./chunks/link
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
2
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as a } from "./chunks/link--YWr8exL.js";
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { t as s } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as c } from "./chunks/styles-
|
|
7
|
-
import "./chunks/bk-icon-
|
|
6
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
7
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
8
8
|
import "./chunks/arrow-back-DJBwVPZy.js";
|
|
9
9
|
import "./chunks/arrow-forward-vijvTQ6r.js";
|
|
10
10
|
// dist/components/bk-page-pager.js
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as e } from "./chunks/heading-text-
|
|
1
|
+
import { t as e } from "./chunks/heading-text-B2kF-b8p.js";
|
|
2
2
|
import { a as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
3
|
-
import { t as i } from "./chunks/define-
|
|
3
|
+
import { t as i } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as a } from "./chunks/slots-BHTtBbPo.js";
|
|
5
|
-
import { m as o, t as s } from "./chunks/styles-
|
|
5
|
+
import { m as o, t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-page-section.js
|
|
7
7
|
var c = class i extends n {
|
|
8
8
|
static properties = {
|
|
@@ -111,7 +111,7 @@ var c = class i extends n {
|
|
|
111
111
|
:host([layer="base"]) { --_bk-page-section-bg: var(--bk-layer-base-bg); }
|
|
112
112
|
:host([layer="sunken"]) { --_bk-page-section-bg: var(--bk-layer-sunken-bg); }
|
|
113
113
|
:host([layer="raised"]) { --_bk-page-section-bg: var(--bk-layer-raised-bg); }
|
|
114
|
-
/* Bands: the section is a scope (
|
|
114
|
+
/* Bands: the section is a scope (the state bk-scope), so the section derives the colours below again inside it. */
|
|
115
115
|
:host([band]) { --_bk-page-section-bg: var(--bk-bg); color: var(--bk-text); }
|
|
116
116
|
/* The ink band is a dark band: the dark canvas of the palette, a step above the dark page, with its full chroma. */
|
|
117
117
|
:host([band="ink"]:not([variant="soft"])) { color-scheme: dark; --bk-bg-dark: var(--bk-ink-lightness, 0.22); --bk-dark-true: 1; }
|
|
@@ -219,7 +219,7 @@ var c = class i extends n {
|
|
|
219
219
|
@media (forced-colors: active) { :host { border-color: CanvasText; } }
|
|
220
220
|
`
|
|
221
221
|
];
|
|
222
|
-
|
|
222
|
+
internals = this.attachInternals();
|
|
223
223
|
joined = null;
|
|
224
224
|
nextSection = null;
|
|
225
225
|
get surfaceKey() {
|
|
@@ -276,7 +276,7 @@ var c = class i extends n {
|
|
|
276
276
|
return t === null || !e ? null : e instanceof i ? e.surfaceKey === t ? e.size ?? "md" : null : e.localName === "bk-page-hero" && i.heroKey(e) === t ? "hero" : null;
|
|
277
277
|
}
|
|
278
278
|
willUpdate(e) {
|
|
279
|
-
this.joined = this.joinsPrevious(), e.has("band") && (this.band
|
|
279
|
+
this.joined = this.joinsPrevious(), e.has("band") && (this.band ? this.internals.states.add("bk-scope") : this.internals.states.delete("bk-scope"));
|
|
280
280
|
}
|
|
281
281
|
render() {
|
|
282
282
|
let e = this.slots, n = !!this.heading || e.has("heading"), r = !!this.description || e.has("description"), i = n || r || e.has("eyebrow"), a = this.joined ? `joined after-${this.joined}` : "";
|
|
@@ -1,13 +1,13 @@
|
|
|
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/repeat-Dxf3qZZl.js";
|
|
4
|
-
import {
|
|
5
|
-
import { t as c } from "./chunks/link
|
|
6
|
-
import { t as l } from "./chunks/announcer-
|
|
4
|
+
import { a as o, t as s } from "./chunks/define-6OfuRn5c.js";
|
|
5
|
+
import { t as c } from "./chunks/link--YWr8exL.js";
|
|
6
|
+
import { t as l } from "./chunks/announcer-6tMlCOq1.js";
|
|
7
7
|
import { n as u } from "./chunks/events-DQ4e9cPN.js";
|
|
8
|
-
import { t as d } from "./chunks/i18n-
|
|
9
|
-
import { i as f, t as p, v as m } from "./chunks/styles-
|
|
10
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import { t as d } from "./chunks/i18n-DFfGgd3d.js";
|
|
9
|
+
import { i as f, t as p, v as m } from "./chunks/styles-CaeyhYDA.js";
|
|
10
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
11
11
|
import "./chunks/add-CUFUzxGc.js";
|
|
12
12
|
import "./chunks/chevron-left-BHF34JzQ.js";
|
|
13
13
|
import "./chunks/chevron-right-CxqvZ6TS.js";
|
|
@@ -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 { i, t as a } from "./chunks/define-
|
|
3
|
-
import { t as o } from "./chunks/i18n-
|
|
4
|
-
import { n as s, t as c } from "./chunks/busy-
|
|
2
|
+
import { a as i, t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
|
+
import { n as s, t as c } from "./chunks/busy-eG3uHonz.js";
|
|
5
5
|
import { t as l } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as u, u as d } from "./chunks/styles-
|
|
6
|
+
import { t as u, u as d } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
// dist/components/bk-pane.js
|
|
8
8
|
var f = /* @__PURE__ */ new Set([
|
|
9
9
|
"bk-split",
|
|
@@ -23,7 +23,8 @@ var f = /* @__PURE__ */ new Set([
|
|
|
23
23
|
};
|
|
24
24
|
i18n = new o(this);
|
|
25
25
|
slots = new l(this);
|
|
26
|
-
|
|
26
|
+
internals = this.attachInternals();
|
|
27
|
+
busyState = new c(this, this.i18n, this.internals);
|
|
27
28
|
observed = [];
|
|
28
29
|
sizes = i(() => this.measure());
|
|
29
30
|
constructor() {
|
|
@@ -58,15 +59,15 @@ var f = /* @__PURE__ */ new Set([
|
|
|
58
59
|
.region.top { border-block-end: var(--bk-pane-header-divider, none); }
|
|
59
60
|
.region.bottom { border-block-start: var(--bk-pane-footer-divider, none); }
|
|
60
61
|
/* The content width: header, content and footer in the middle; fillers run edge to edge. */
|
|
61
|
-
:host(:not(
|
|
62
|
+
:host(:not(:state(fills))) .header, :host(:not(:state(fills))) .footer {
|
|
62
63
|
box-sizing: border-box; inline-size: 100%; max-inline-size: var(--bk-pane-content-width, none); margin-inline: auto;
|
|
63
64
|
}
|
|
64
65
|
/* Beside content that fills, header and footer keep their content in the region width (a log that centres its own
|
|
65
66
|
column, and the composer under it in the same column); their padding comes on top. */
|
|
66
|
-
:host(
|
|
67
|
+
:host(:state(fills)) .header, :host(:state(fills)) .footer {
|
|
67
68
|
box-sizing: content-box; max-inline-size: var(--bk-pane-region-width, none); margin-inline: auto;
|
|
68
69
|
}
|
|
69
|
-
:host(:not(
|
|
70
|
+
:host(:not(:state(fills))) .body ::slotted(*) {
|
|
70
71
|
box-sizing: border-box; inline-size: 100%; max-inline-size: var(--bk-pane-content-width, none); margin-inline: auto;
|
|
71
72
|
}
|
|
72
73
|
/* A flex column, like a workspace main: a child with flex: 1 takes the rest. Also the containing
|
|
@@ -100,7 +101,7 @@ var f = /* @__PURE__ */ new Set([
|
|
|
100
101
|
let e = this.renderRoot.querySelector(".body"), t = this.renderRoot.querySelector(".body slot");
|
|
101
102
|
if (!e || !t) return;
|
|
102
103
|
let n = t.assignedElements();
|
|
103
|
-
|
|
104
|
+
n.some((e) => f.has(e.localName) || Number.parseFloat(getComputedStyle(e).flexGrow) > 0) ? this.internals.states.add("fills") : this.internals.states.delete("fills");
|
|
104
105
|
let r = [e, ...n];
|
|
105
106
|
for (let e of this.observed) r.includes(e) || this.sizes.unobserve(e);
|
|
106
107
|
for (let e of r) this.observed.includes(e) || this.sizes.observe(e);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e, n as t, t as n, u as r } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { c as i } from "./chunks/anchor-CNX3nt2F.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as c } from "./chunks/i18n-
|
|
5
|
-
import { n as l, t as u } from "./chunks/busy-
|
|
3
|
+
import { a, i as o, t as s } from "./chunks/define-6OfuRn5c.js";
|
|
4
|
+
import { t as c } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
|
+
import { n as l, t as u } from "./chunks/busy-eG3uHonz.js";
|
|
6
6
|
import { i as d } from "./chunks/events-DQ4e9cPN.js";
|
|
7
7
|
import { t as f } from "./chunks/state-XYmTmnOw.js";
|
|
8
8
|
import { t as p } from "./chunks/slots-BHTtBbPo.js";
|
|
9
|
-
import { h as m, t as h, u as g } from "./chunks/styles-
|
|
9
|
+
import { h as m, t as h, u as g } from "./chunks/styles-CaeyhYDA.js";
|
|
10
10
|
import "./bk-button.js";
|
|
11
11
|
import "./chunks/chevron-down-CpVEjEyi.js";
|
|
12
12
|
import "./chunks/chevron-up-CZMIvxHi.js";
|
|
@@ -58,12 +58,12 @@ var _ = /* @__PURE__ */ new Set([
|
|
|
58
58
|
};
|
|
59
59
|
i18n = new c(this);
|
|
60
60
|
slots = new p(this);
|
|
61
|
-
busyState = new u(this, this.i18n);
|
|
62
61
|
authored;
|
|
63
62
|
stored = new f(this, () => this.persistKey && `panel:${this.persistKey}`, { onChange: (e) => {
|
|
64
63
|
this.authored ??= this.collapsed, this.collapsed = typeof e == "boolean" ? e : this.authored;
|
|
65
64
|
} });
|
|
66
65
|
internals = this.attachInternals();
|
|
66
|
+
busyState = new u(this, this.i18n, this.internals);
|
|
67
67
|
split = null;
|
|
68
68
|
restoreFr = 0;
|
|
69
69
|
savedMin;
|
|
@@ -138,9 +138,9 @@ var _ = /* @__PURE__ */ new Set([
|
|
|
138
138
|
}
|
|
139
139
|
.body:focus-visible { outline: var(--bk-focus-ring); outline-offset: var(--bk-focus-offset-inset); }
|
|
140
140
|
/* A filler runs edge to edge and scrolls inside: the body is a flex column with the content as its rest. */
|
|
141
|
-
:host(
|
|
142
|
-
:host(
|
|
143
|
-
:host(
|
|
141
|
+
:host(:state(fills)) .body { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
|
|
142
|
+
:host(:state(fills)) .content { display: flex; flex-direction: column; flex: 1; min-height: 0; min-width: 0; }
|
|
143
|
+
:host(:state(fills)) .content ::slotted(:is(bk-split, bk-columns, bk-pane, bk-split-grid, bk-message-list)) { flex: 1; min-height: 0; min-width: 0; }
|
|
144
144
|
/* A conversation fills the body but keeps the padding of the body inside its scroller: the messages do not touch the edges. */
|
|
145
145
|
.content ::slotted(bk-message-list) { --bk-message-list-padding: var(--_bk-panel-pad); }
|
|
146
146
|
:host([tone="neutral"]) { --_bk-panel-tone: var(--bk-neutral-soft); }
|
|
@@ -233,8 +233,7 @@ var _ = /* @__PURE__ */ new Set([
|
|
|
233
233
|
this.overflow.observe(e), this.overflow.observe(e.firstElementChild), this.checkFill();
|
|
234
234
|
}
|
|
235
235
|
checkFill = () => {
|
|
236
|
-
|
|
237
|
-
this.toggleAttribute("data-fills", e.some((e) => v.has(e.localName) || Number.parseFloat(getComputedStyle(e).flexGrow) > 0));
|
|
236
|
+
(this.renderRoot.querySelector(".content slot")?.assignedElements() ?? []).some((e) => v.has(e.localName) || Number.parseFloat(getComputedStyle(e).flexGrow) > 0) ? this.internals.states.add("fills") : this.internals.states.delete("fills");
|
|
238
237
|
};
|
|
239
238
|
updated(e) {
|
|
240
239
|
let t = this.renderRoot.querySelector(".toggle");
|
|
@@ -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-
|
|
4
|
-
import { t as o } from "./chunks/i18n-
|
|
3
|
+
import { t as a } from "./chunks/define-6OfuRn5c.js";
|
|
4
|
+
import { t as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { t as s } from "./chunks/slots-BHTtBbPo.js";
|
|
6
|
-
import { t as c } from "./chunks/styles-
|
|
6
|
+
import { t as c } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
import "./bk-button.js";
|
|
8
|
-
import "./chunks/bk-icon-
|
|
8
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
9
9
|
import "./chunks/chevron-left-BHF34JzQ.js";
|
|
10
10
|
import "./chunks/chevron-right-CxqvZ6TS.js";
|
|
11
11
|
// dist/components/bk-period-nav.js
|
|
@@ -1,166 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { t as i } from "./chunks/if-defined-z_20pBRr.js";
|
|
3
|
-
import { t as a } from "./chunks/keyed-CZ2AaouM.js";
|
|
4
|
-
import { t as o } from "./chunks/style-map-BMvn17E7.js";
|
|
5
|
-
import { t as s } from "./chunks/i18n-B6Al9xCK.js";
|
|
6
|
-
import { i as c, t as l } from "./chunks/define-CzVPD4Zi.js";
|
|
7
|
-
import { t as u } from "./chunks/link-CWSMsx04.js";
|
|
8
|
-
import { t as d } from "./chunks/slots-BHTtBbPo.js";
|
|
9
|
-
import { t as f, v as p } from "./chunks/styles-DwSR-9a3.js";
|
|
10
|
-
import "./bk-button.js";
|
|
11
|
-
import "./chunks/bk-icon-DssFsNuB.js";
|
|
12
|
-
import "./chunks/error-BWRRZUg8.js";
|
|
13
|
-
import "./chunks/image-t401521J.js";
|
|
14
|
-
import "./chunks/refresh-BeOCgDeL.js";
|
|
15
|
-
// dist/components/bk-picture.js
|
|
16
|
-
var m = class extends n {
|
|
17
|
-
static properties = {
|
|
18
|
-
src: {},
|
|
19
|
-
alt: {},
|
|
20
|
-
srcset: {},
|
|
21
|
-
sizes: {},
|
|
22
|
-
ratio: { reflect: !0 },
|
|
23
|
-
fit: {
|
|
24
|
-
reflect: !0,
|
|
25
|
-
useDefault: !0
|
|
26
|
-
},
|
|
27
|
-
loading: {},
|
|
28
|
-
href: {},
|
|
29
|
-
target: {},
|
|
30
|
-
rel: {},
|
|
31
|
-
download: {},
|
|
32
|
-
errorLabel: { attribute: "error-label" },
|
|
33
|
-
retryLabel: { attribute: "retry-label" },
|
|
34
|
-
loaded: { state: !0 },
|
|
35
|
-
failed: { state: !0 },
|
|
36
|
-
previous: { state: !0 },
|
|
37
|
-
attempt: { state: !0 },
|
|
38
|
-
compact: { state: !0 }
|
|
39
|
-
};
|
|
40
|
-
slots = new d(this);
|
|
41
|
-
i18n = new s(this);
|
|
42
|
-
sizer = c(() => this.measure());
|
|
43
|
-
links = new u(this);
|
|
44
|
-
constructor() {
|
|
45
|
-
super(), this.src = "", this.alt = "", this.fit = "cover", this.loading = "lazy", this.loaded = !1, this.failed = !1, this.previous = "", this.attempt = 0, this.compact = !1, this.errorLabel = "", this.retryLabel = "";
|
|
46
|
-
}
|
|
47
|
-
static styles = [
|
|
48
|
-
f,
|
|
49
|
-
p,
|
|
50
|
-
r`
|
|
51
|
-
:host { display: block; min-inline-size: 0; inline-size: var(--bk-picture-width, auto); }
|
|
52
|
-
figure { margin: 0; display: grid; gap: var(--bk-picture-caption-gap, var(--bk-space-lines)); }
|
|
53
|
-
.frame {
|
|
54
|
-
position: relative; overflow: hidden; aspect-ratio: var(--_bk-picture-ratio, var(--bk-picture-ratio, auto));
|
|
55
|
-
border-radius: var(--bk-picture-radius, var(--bk-radius-container, var(--bk-radius-lg)));
|
|
56
|
-
background: var(--bk-picture-bg, var(--bk-layer-sunken-bg));
|
|
57
|
-
}
|
|
58
|
-
.frame.loaded { background: var(--bk-picture-loaded-bg, none); }
|
|
59
|
-
/* An empty frame and a small failed picture have no image to give the ratio. */
|
|
60
|
-
.frame:is(.empty, .compact) { aspect-ratio: var(--_bk-picture-ratio, var(--bk-picture-ratio, 4/3)); }
|
|
61
|
-
.frame.compact .image { display: none; }
|
|
62
|
-
.placeholder, .error.compact {
|
|
63
|
-
position: absolute; inset: 0; display: grid; place-items: center; min-block-size: 0; padding: 0;
|
|
64
|
-
color: var(--bk-picture-placeholder-color, var(--bk-text-faint));
|
|
65
|
-
/* The size inherits into an icon in the empty slot too. */
|
|
66
|
-
--bk-icon-size: var(--bk-picture-placeholder-icon-size, var(--bk-icon-lg));
|
|
67
|
-
}
|
|
68
|
-
.error-probe { position: absolute; inline-size: var(--bk-picture-error-min-width, calc(5 * var(--bk-control-md))); block-size: 0; visibility: hidden; pointer-events: none; }
|
|
69
|
-
img, ::slotted(:is(img, video, svg)) {
|
|
70
|
-
display: block; inline-size: 100%; block-size: auto; max-inline-size: 100%;
|
|
71
|
-
}
|
|
72
|
-
/* The image covers the box when a ratio (the attribute or the token) fixes its height. Without one the
|
|
73
|
-
height of the frame is auto, the 100% is auto too, and the image keeps its own ratio. */
|
|
74
|
-
img, ::slotted(:is(img, video, svg)) { block-size: 100%; object-fit: cover; }
|
|
75
|
-
:host([fit="contain"]) :is(img, ::slotted(:is(img, video))) { object-fit: contain; }
|
|
76
|
-
/* The link of a picture with href covers the frame; the retry button lies above it. */
|
|
77
|
-
.link {
|
|
78
|
-
position: absolute; inset: 0; z-index: 1; border-radius: inherit;
|
|
79
|
-
--_bk-interactive-hover: var(--bk-picture-hover-bg, var(--bk-hover));
|
|
80
|
-
--_bk-interactive-pressed: var(--bk-picture-pressed-bg, var(--bk-pressed));
|
|
81
|
-
--_bk-interactive-focus-offset: var(--bk-focus-offset-inset);
|
|
82
|
-
}
|
|
83
|
-
.error bk-button { position: relative; z-index: 2; }
|
|
84
|
-
/* The image fades in once it has loaded. */
|
|
85
|
-
.image { opacity: 0; transition: opacity var(--bk-duration) var(--bk-ease); }
|
|
86
|
-
.image.in { opacity: 1; }
|
|
87
|
-
.image.failed { visibility: hidden; }
|
|
88
|
-
/* While the next image loads, the last one keeps the box; the next one lies over it. */
|
|
89
|
-
.frame.swap .image:not(.in) { position: absolute; inset: 0; block-size: 100%; object-fit: cover; }
|
|
90
|
-
:host([fit="contain"]) .frame.swap .image:not(.in) { object-fit: contain; }
|
|
91
|
-
.error {
|
|
92
|
-
display: grid; place-content: center; justify-items: center; gap: var(--bk-space-2);
|
|
93
|
-
min-block-size: calc(4 * var(--bk-control-md)); padding: var(--bk-space-4); text-align: center;
|
|
94
|
-
color: var(--bk-picture-error-fg, var(--bk-text-muted)); font-size: var(--bk-text-sm); line-height: var(--bk-line-height-body);
|
|
95
|
-
}
|
|
96
|
-
:host([ratio]) .error { position: absolute; inset: 0; min-block-size: 0; }
|
|
97
|
-
.error:not(.compact) bk-icon { --bk-icon-size: var(--bk-icon-lg); }
|
|
98
|
-
@media (prefers-reduced-motion: reduce) { .image { transition: none; } }
|
|
99
|
-
.caption { color: var(--bk-picture-caption-fg, var(--bk-text-muted)); font-size: var(--bk-picture-caption-size, var(--bk-text-sm)); line-height: var(--bk-line-height-body); }
|
|
100
|
-
@media (forced-colors: active) { .frame { border: var(--bk-border-width) solid CanvasText; } }
|
|
101
|
-
`
|
|
102
|
-
];
|
|
103
|
-
willUpdate(e) {
|
|
104
|
-
if (e.has("src")) {
|
|
105
|
-
let t = e.get("src");
|
|
106
|
-
this.previous = this.loaded && !this.failed && t ? t : this.loaded ? "" : this.previous, this.src || (this.previous = ""), this.loaded = !1, this.failed = !1;
|
|
107
|
-
}
|
|
108
|
-
this.failed || (this.compact = !1);
|
|
109
|
-
}
|
|
110
|
-
updated(e) {
|
|
111
|
-
if (e.has("failed")) {
|
|
112
|
-
let e = this.renderRoot.querySelector(".frame"), t = this.renderRoot.querySelector(".error-probe");
|
|
113
|
-
this.sizer.disconnect(), this.failed && e && t && (this.sizer.observe(e), this.sizer.observe(t));
|
|
114
|
-
}
|
|
115
|
-
let t = this.renderRoot.querySelector("img.image");
|
|
116
|
-
t && !this.loaded && !this.failed && t.complete && t.naturalWidth && this.onLoad();
|
|
117
|
-
}
|
|
118
|
-
disconnectedCallback() {
|
|
119
|
-
super.disconnectedCallback(), this.sizer.disconnect();
|
|
120
|
-
}
|
|
121
|
-
measure() {
|
|
122
|
-
let e = this.renderRoot.querySelector(".frame"), t = this.renderRoot.querySelector(".error-probe");
|
|
123
|
-
if (!e || !t) return;
|
|
124
|
-
let n = e.getBoundingClientRect().width < t.getBoundingClientRect().width;
|
|
125
|
-
n !== this.compact && (this.compact = n);
|
|
126
|
-
}
|
|
127
|
-
onLoad() {
|
|
128
|
-
this.loaded = !0, this.previous = "";
|
|
129
|
-
}
|
|
130
|
-
onError() {
|
|
131
|
-
this.failed = !0, this.previous = "";
|
|
132
|
-
}
|
|
133
|
-
retry() {
|
|
134
|
-
this.failed = !1, this.attempt++;
|
|
135
|
-
}
|
|
136
|
-
cover() {
|
|
137
|
-
return this.href ? e`<a class="link interactive" part="link" href=${this.links.href(this.href)} @click=${this.links.click} target=${i(this.target)}
|
|
138
|
-
rel=${i(this.rel ?? (this.target === "_blank" ? "noopener noreferrer" : void 0))}
|
|
139
|
-
download=${i(this.download)} aria-label=${this.alt || t}></a>` : t;
|
|
140
|
-
}
|
|
141
|
-
frame() {
|
|
142
|
-
let n = !!this.previous && !this.loaded, r = !this.src && this.slots.has(""), i = !this.src && !r, s = this.failed && this.compact, c = this.errorLabel || this.i18n.t("imageError");
|
|
143
|
-
return e`<div class="frame ${this.loaded || r ? "loaded" : ""} ${i ? "empty" : ""} ${s ? "compact" : ""} ${n ? "swap" : ""}" part="frame" style=${o({ "--_bk-picture-ratio": this.ratio?.replace(":", "/") || void 0 })}>
|
|
144
|
-
${n ? e`<img class="previous" src=${this.previous} alt="" aria-hidden="true" decoding="async" />` : t}
|
|
145
|
-
${this.src ? a(`${this.src}|${this.attempt}`, e`<img class="image ${this.loaded ? "in" : ""} ${this.failed ? "failed" : ""}" part="image"
|
|
146
|
-
src=${this.src} alt=${this.href ? "" : this.alt} srcset=${this.srcset || t} sizes=${this.sizes || t}
|
|
147
|
-
loading=${this.loading} decoding="async" @load=${this.onLoad} @error=${this.onError} />`) : e`<slot></slot>`}
|
|
148
|
-
${i ? e`<div class="placeholder" part="placeholder"><slot name="empty"><bk-icon name="image"></bk-icon></slot></div>` : t}
|
|
149
|
-
${this.failed ? s ? e`<div class="error compact" part="error">
|
|
150
|
-
<bk-icon name="error" label=${c} title=${c}></bk-icon>
|
|
151
|
-
</div>` : e`<div class="error" part="error">
|
|
152
|
-
<bk-icon name="error"></bk-icon>
|
|
153
|
-
<span>${c}</span>
|
|
154
|
-
<bk-button size="sm" variant="outline" icon="refresh" @click=${this.retry}>${this.retryLabel || this.i18n.t("pictureRetry")}</bk-button>
|
|
155
|
-
</div>` : t}
|
|
156
|
-
${this.cover()}
|
|
157
|
-
${this.failed ? e`<span class="error-probe" aria-hidden="true"></span>` : t}
|
|
158
|
-
</div>`;
|
|
159
|
-
}
|
|
160
|
-
render() {
|
|
161
|
-
let t = this.slots.has("caption"), n = e`<figcaption class="caption" part="caption" ?hidden=${!t}><slot name="caption"></slot></figcaption>`;
|
|
162
|
-
return t ? e`<figure>${this.frame()}${n}</figure>` : e`${this.frame()}<div hidden>${n}</div>`;
|
|
163
|
-
}
|
|
164
|
-
};
|
|
165
|
-
l("bk-picture", m);
|
|
166
|
-
export { m as BkPicture };
|
|
1
|
+
export { t as BkPicture } from "./chunks/bk-picture-CA5gLxgZ.js";
|
|
@@ -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/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-6OfuRn5c.js";
|
|
4
4
|
import { r as o } from "./chunks/events-DQ4e9cPN.js";
|
|
5
|
-
import { t as s } from "./chunks/styles-
|
|
5
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
import "./bk-button.js";
|
|
7
7
|
import "./bk-popover.js";
|
|
8
8
|
import "./chunks/info-DxwIeCXS.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, n as t, u as n } from "./chunks/lit-D8x-qXgH.js";
|
|
2
2
|
import { n as r, o as i, t as a } from "./chunks/anchor-CNX3nt2F.js";
|
|
3
|
-
import { t as o } from "./chunks/define-
|
|
4
|
-
import { t as s } from "./chunks/popover-base-
|
|
3
|
+
import { t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
|
+
import { t as s } from "./chunks/popover-base-hxo-Vh6E.js";
|
|
5
5
|
// dist/components/bk-popover.js
|
|
6
6
|
var c = class extends s {
|
|
7
7
|
static properties = {
|
|
@@ -1,8 +1,8 @@
|
|
|
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-6OfuRn5c.js";
|
|
3
3
|
import { t as i } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
|
-
import { n as a, t as o } from "./chunks/hue-
|
|
5
|
-
import { t as s } from "./chunks/styles-
|
|
4
|
+
import { n as a, t as o } from "./chunks/hue-vLbNdAEl.js";
|
|
5
|
+
import { t as s } from "./chunks/styles-CaeyhYDA.js";
|
|
6
6
|
// dist/components/bk-presence-cursor.js
|
|
7
7
|
var c = class extends t {
|
|
8
8
|
static properties = { name: {} };
|
|
@@ -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
|
-
import {
|
|
3
|
+
import { a, t as o } from "./chunks/define-6OfuRn5c.js";
|
|
4
4
|
import { t as s } from "./chunks/host-vars-DTKbhBPu.js";
|
|
5
|
-
import { t as c } from "./chunks/i18n-
|
|
6
|
-
import { t as l } from "./chunks/styles-
|
|
7
|
-
import "./chunks/bk-icon-
|
|
5
|
+
import { t as c } from "./chunks/i18n-DFfGgd3d.js";
|
|
6
|
+
import { t as l } from "./chunks/styles-CaeyhYDA.js";
|
|
7
|
+
import "./chunks/bk-icon-D4kI4F18.js";
|
|
8
8
|
import "./chunks/play-arrow-fill-BOqJdpPj.js";
|
|
9
9
|
// dist/components/bk-preview.js
|
|
10
10
|
var u = class extends n {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as e, n as t, s as n, t as r, u as i } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { t as a } from "./chunks/define-
|
|
2
|
+
import { t as a } from "./chunks/define-6OfuRn5c.js";
|
|
3
3
|
import { t as o } from "./chunks/host-vars-DTKbhBPu.js";
|
|
4
|
-
import { t as s } from "./chunks/i18n-
|
|
4
|
+
import { t as s } from "./chunks/i18n-DFfGgd3d.js";
|
|
5
5
|
import { n as c, t as l } from "./chunks/bar-CqZCcU7-.js";
|
|
6
|
-
import { t as u } from "./chunks/styles-
|
|
6
|
+
import { t as u } from "./chunks/styles-CaeyhYDA.js";
|
|
7
7
|
import { t as d } from "./chunks/slots-BHTtBbPo.js";
|
|
8
8
|
import { n as f } from "./chunks/format-DEwvmPPd.js";
|
|
9
9
|
// dist/components/bk-progress.js
|
|
@@ -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-
|
|
3
|
-
import { t as i } from "./chunks/prose-
|
|
4
|
-
import { t as a } from "./chunks/styles-
|
|
2
|
+
import { t as r } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { t as i } from "./chunks/prose-BiuJgiah.js";
|
|
4
|
+
import { t as a } from "./chunks/styles-CaeyhYDA.js";
|
|
5
5
|
import "./bk-code.js";
|
|
6
6
|
import "./bk-message-citation.js";
|
|
7
7
|
// dist/components/bk-prose.js
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as BkQrCode } from "./chunks/bk-qr-code-
|
|
1
|
+
export { t as BkQrCode } from "./chunks/bk-qr-code-CSFfc8As.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as e, u as t } from "./chunks/lit-D8x-qXgH.js";
|
|
2
|
-
import { n, r, t as i } from "./chunks/define-
|
|
3
|
-
import { a,
|
|
2
|
+
import { i as n, r, t as i } from "./chunks/define-6OfuRn5c.js";
|
|
3
|
+
import { o as a, r as o } from "./chunks/i18n-DFfGgd3d.js";
|
|
4
4
|
import { t as s } from "./chunks/events-DQ4e9cPN.js";
|
|
5
5
|
import { n as c } from "./chunks/field-DkBkSgJI.js";
|
|
6
|
-
import { t as l } from "./chunks/form-control-
|
|
7
|
-
import { s as u, t as d } from "./chunks/styles-
|
|
6
|
+
import { t as l } from "./chunks/form-control-Bmk0SRDX.js";
|
|
7
|
+
import { s as u, t as d } from "./chunks/styles-CaeyhYDA.js";
|
|
8
8
|
import { BkRadio as f } from "./bk-radio.js";
|
|
9
9
|
// dist/components/bk-radio-group.js
|
|
10
10
|
var p = class extends l {
|
|
@@ -37,13 +37,13 @@ var p = class extends l {
|
|
|
37
37
|
};
|
|
38
38
|
defaultValue = "";
|
|
39
39
|
radios = [];
|
|
40
|
-
observer =
|
|
40
|
+
observer = n(() => this.requestUpdate());
|
|
41
41
|
constructor() {
|
|
42
42
|
super(), this.optional = !1, this.value = "", this.label = "", this.hint = "", this.error = "", this.orientation = "vertical", this.size = "md", this.variant = "default", this.readonly = !1, this.addEventListener("click", this.onClick), this.addEventListener("keydown", this.onKeydown);
|
|
43
43
|
}
|
|
44
44
|
connectedCallback() {
|
|
45
45
|
if (super.connectedCallback(), this.defaultValue ||= this.getAttribute("value") ?? this.value, !this.defaultValue) {
|
|
46
|
-
let e = [...
|
|
46
|
+
let e = [...r(this)?.children ?? []].find((e) => e.localName === "bk-radio" && e.hasAttribute("checked"));
|
|
47
47
|
e && (this.value = this.defaultValue = e.getAttribute("value") ?? "");
|
|
48
48
|
}
|
|
49
49
|
this.observer.observe(this, {
|
|
@@ -107,7 +107,7 @@ var p = class extends l {
|
|
|
107
107
|
(t && !t.disabled ? t : this.radios.find((e) => !e.disabled))?.focus(e);
|
|
108
108
|
}
|
|
109
109
|
willUpdate(e) {
|
|
110
|
-
super.willUpdate(e), this.radios = [...
|
|
110
|
+
super.willUpdate(e), this.radios = [...r(this)?.children ?? []].filter((e) => e instanceof f);
|
|
111
111
|
let t = this.internals;
|
|
112
112
|
t.role = "radiogroup", t.ariaLabel = this.label || null, t.ariaDescription = this.error || this.validationText || this.fieldHintText(this.hint) || null, t.ariaRequired = this.required ? "true" : null, t.ariaInvalid = this.invalid || this.error ? "true" : null, t.ariaDisabled = this.isDisabled ? "true" : null, t.ariaReadOnly = this.readonly ? "true" : null, t.ariaOrientation = this.orientation === "horizontal" ? "horizontal" : null;
|
|
113
113
|
}
|