@sdxc/ui 2026.10.30 → 2026.11.3
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/README.md +187 -113
- package/dist/app/app-shell-toggle.d.ts +31 -0
- package/dist/app/app-shell-toggle.js +43 -0
- package/dist/app/app-shell.d.ts +131 -0
- package/dist/app/app-shell.js +542 -0
- package/dist/app/auto-refresh.d.ts +104 -0
- package/dist/app/auto-refresh.js +126 -0
- package/dist/{behaviors → app/behaviors}/drag-session.js +1 -1
- package/dist/app/behaviors/refresh-schedule.d.ts +53 -0
- package/dist/app/behaviors/refresh-schedule.js +95 -0
- package/dist/app/behaviors/shortcuts.d.ts +175 -0
- package/dist/app/behaviors/shortcuts.js +401 -0
- package/dist/{behaviors → app/behaviors}/toaster.d.ts +31 -2
- package/dist/{behaviors → app/behaviors}/toaster.js +63 -6
- package/dist/{components → app}/chart.d.ts +63 -9
- package/dist/{components → app}/chart.js +222 -40
- package/dist/app/command-palette.d.ts +132 -0
- package/dist/app/command-palette.js +181 -0
- package/dist/{components → app}/context-menu.d.ts +2 -2
- package/dist/{components → app}/context-menu.js +8 -7
- package/dist/app/danger-zone.d.ts +66 -0
- package/dist/app/danger-zone.js +66 -0
- package/dist/app/detail-sheet.d.ts +119 -0
- package/dist/app/detail-sheet.js +173 -0
- package/dist/{components → app}/drop-indicator.js +3 -3
- package/dist/{components → app}/drop-zone.d.ts +2 -1
- package/dist/{components → app}/drop-zone.js +7 -4
- package/dist/app/editor-layout.d.ts +69 -0
- package/dist/app/editor-layout.js +143 -0
- package/dist/app/empty.d.ts +128 -0
- package/dist/app/empty.js +248 -0
- package/dist/{components → app}/file-trigger.js +2 -2
- package/dist/app/filter-bar.d.ts +169 -0
- package/dist/app/filter-bar.js +346 -0
- package/dist/{components → app}/grid-list.d.ts +1 -1
- package/dist/{components → app}/grid-list.js +16 -18
- package/dist/app/index.d.ts +92 -0
- package/dist/app/index.js +92 -0
- package/dist/app/keyboard-help.d.ts +66 -0
- package/dist/app/keyboard-help.js +56 -0
- package/dist/{components → app}/menubar.js +5 -7
- package/dist/app/mixins/app-shell-controls.d.ts +46 -0
- package/dist/app/mixins/app-shell-controls.js +131 -0
- package/dist/app/mixins/auto-refresh.d.ts +29 -0
- package/dist/app/mixins/auto-refresh.js +66 -0
- package/dist/app/mixins/command-palette.d.ts +56 -0
- package/dist/app/mixins/command-palette.js +297 -0
- package/dist/app/mixins/copy-permalink.d.ts +26 -0
- package/dist/app/mixins/copy-permalink.js +54 -0
- package/dist/app/mixins/detail-sheet-keys.d.ts +28 -0
- package/dist/app/mixins/detail-sheet-keys.js +88 -0
- package/dist/{mixins → app/mixins}/drag-reorder.js +1 -1
- package/dist/{mixins → app/mixins}/drop-zone.js +1 -1
- package/dist/app/mixins/escape-link.d.ts +17 -0
- package/dist/app/mixins/escape-link.js +35 -0
- package/dist/{mixins → app/mixins}/grid-list-keys.js +2 -2
- package/dist/app/mixins/keyboard-help.d.ts +38 -0
- package/dist/app/mixins/keyboard-help.js +51 -0
- package/dist/{mixins → app/mixins}/menubar-keys.js +2 -2
- package/dist/app/mixins/optimistic-toggle-sync.d.ts +80 -0
- package/dist/app/mixins/optimistic-toggle-sync.js +153 -0
- package/dist/app/mixins/range-picker-keys.d.ts +18 -0
- package/dist/app/mixins/range-picker-keys.js +94 -0
- package/dist/{mixins → app/mixins}/resize-handle.js +3 -3
- package/dist/app/mixins/row-navigation.d.ts +85 -0
- package/dist/app/mixins/row-navigation.js +208 -0
- package/dist/app/mixins/save-bar-sync.d.ts +27 -0
- package/dist/app/mixins/save-bar-sync.js +106 -0
- package/dist/app/mixins/save-shortcut.d.ts +47 -0
- package/dist/app/mixins/save-shortcut.js +101 -0
- package/dist/app/mixins/save-status-sync.d.ts +77 -0
- package/dist/app/mixins/save-status-sync.js +159 -0
- package/dist/app/mixins/selection-bar-sync.d.ts +32 -0
- package/dist/app/mixins/selection-bar-sync.js +151 -0
- package/dist/app/mixins/split-view.d.ts +66 -0
- package/dist/app/mixins/split-view.js +319 -0
- package/dist/app/mixins/status-strip-keys.d.ts +17 -0
- package/dist/app/mixins/status-strip-keys.js +79 -0
- package/dist/app/mixins/submit-on-change.d.ts +16 -0
- package/dist/app/mixins/submit-on-change.js +28 -0
- package/dist/app/mixins/table-selection.d.ts +39 -0
- package/dist/app/mixins/table-selection.js +272 -0
- package/dist/app/mixins/toast-queue.d.ts +36 -0
- package/dist/app/mixins/toast-queue.js +77 -0
- package/dist/app/mixins/toast-stack.d.ts +20 -0
- package/dist/app/mixins/toast-stack.js +55 -0
- package/dist/{mixins/treeKeys.js → app/mixins/tree-keys.js} +2 -2
- package/dist/app/optimistic-toggle.d.ts +48 -0
- package/dist/app/optimistic-toggle.js +38 -0
- package/dist/app/page-header.d.ts +71 -0
- package/dist/app/page-header.js +249 -0
- package/dist/app/range-picker.d.ts +102 -0
- package/dist/app/range-picker.js +118 -0
- package/dist/{components → app}/resizable.js +7 -10
- package/dist/app/save-bar.d.ts +54 -0
- package/dist/app/save-bar.js +64 -0
- package/dist/app/save-status.d.ts +50 -0
- package/dist/app/save-status.js +54 -0
- package/dist/app/selection-bar.d.ts +101 -0
- package/dist/app/selection-bar.js +157 -0
- package/dist/app/settings-layout.d.ts +70 -0
- package/dist/app/settings-layout.js +112 -0
- package/dist/app/settings-section.d.ts +140 -0
- package/dist/app/settings-section.js +182 -0
- package/dist/{components → app}/shortcut-list.js +4 -3
- package/dist/app/skeleton.d.ts +79 -0
- package/dist/app/skeleton.js +185 -0
- package/dist/app/sparkline.d.ts +61 -0
- package/dist/app/sparkline.js +145 -0
- package/dist/app/split-view.d.ts +154 -0
- package/dist/app/split-view.js +272 -0
- package/dist/app/stat-card.d.ts +109 -0
- package/dist/app/stat-card.js +379 -0
- package/dist/app/status-strip.d.ts +70 -0
- package/dist/app/status-strip.js +155 -0
- package/dist/app/styles/action-row.d.ts +41 -0
- package/dist/app/styles/action-row.js +59 -0
- package/dist/{styles → app/styles}/chart-palette.d.ts +1 -1
- package/dist/{styles → app/styles}/graphic-host.d.ts +1 -1
- package/dist/{styles → app/styles}/legend-toggle.d.ts +1 -1
- package/dist/app/styles/stat-delta.d.ts +29 -0
- package/dist/app/styles/stat-delta.js +36 -0
- package/dist/app/styles/toast-stack.d.ts +21 -0
- package/dist/app/styles/toast-stack.js +54 -0
- package/dist/app/table.d.ts +327 -0
- package/dist/app/table.js +839 -0
- package/dist/{components → app}/toast.d.ts +105 -5
- package/dist/{components → app}/toast.js +101 -35
- package/dist/app/toasts.d.ts +49 -0
- package/dist/app/toasts.js +103 -0
- package/dist/{components → app}/toolbar.js +3 -3
- package/dist/{components → app}/tree.d.ts +1 -1
- package/dist/{components → app}/tree.js +10 -14
- package/dist/app/utils/app-shell-cookie.d.ts +21 -0
- package/dist/app/utils/app-shell-cookie.js +33 -0
- package/dist/{utils → app/utils}/chart-marker-indices.d.ts +9 -5
- package/dist/{utils → app/utils}/chart-marker-indices.js +9 -8
- package/dist/{utils → app/utils}/chart-path.d.ts +15 -11
- package/dist/{utils → app/utils}/chart-path.js +48 -20
- package/dist/{utils → app/utils}/chart-scale.js +1 -1
- package/dist/app/utils/edited-time.d.ts +19 -0
- package/dist/app/utils/edited-time.js +35 -0
- package/dist/app/utils/key-target.d.ts +23 -0
- package/dist/app/utils/key-target.js +48 -0
- package/dist/app/utils/search-params.d.ts +69 -0
- package/dist/app/utils/search-params.js +132 -0
- package/dist/app/utils/shortcut-groups.d.ts +21 -0
- package/dist/app/utils/shortcut-groups.js +53 -0
- package/dist/app/utils/split-view-layout.d.ts +48 -0
- package/dist/app/utils/split-view-layout.js +71 -0
- package/dist/app/view-options.d.ts +99 -0
- package/dist/app/view-options.js +182 -0
- package/dist/behaviors/index.d.ts +0 -5
- package/dist/behaviors/index.js +0 -5
- package/dist/{components → chat}/attachment.d.ts +1 -1
- package/dist/{components → chat}/attachment.js +17 -23
- package/dist/{behaviors → chat/behaviors}/scroll-follow-model.js +1 -1
- package/dist/{components → chat}/bubble.js +14 -14
- package/dist/chat/index.d.ts +16 -0
- package/dist/chat/index.js +16 -0
- package/dist/{components → chat}/marker.js +6 -8
- package/dist/{components → chat}/message-scroller.d.ts +1 -1
- package/dist/{components → chat}/message-scroller.js +12 -18
- package/dist/{components → chat}/message.js +10 -12
- package/dist/{mixins → chat/mixins}/message-follow.js +2 -2
- package/dist/{components → color}/color-area.js +7 -10
- package/dist/{components → color}/color-field.js +7 -6
- package/dist/{components → color}/color-picker.d.ts +1 -1
- package/dist/{components → color}/color-picker.js +9 -12
- package/dist/{components → color}/color-slider.js +10 -13
- package/dist/{components → color}/color-swatch-picker.js +4 -5
- package/dist/{components → color}/color-swatch.js +3 -4
- package/dist/{components → color}/color-wheel.js +5 -6
- package/dist/color/index.d.ts +21 -0
- package/dist/color/index.js +21 -0
- package/dist/{mixins → color/mixins}/color-area-drag.d.ts +1 -1
- package/dist/{mixins → color/mixins}/color-area-drag.js +2 -2
- package/dist/{mixins → color/mixins}/color-preview.js +1 -1
- package/dist/{mixins → color/mixins}/color-wheel-drag.js +1 -1
- package/dist/{styles → color/styles}/rtl-aware-gradient-direction.d.ts +1 -1
- package/dist/components/accordion.d.ts +3 -3
- package/dist/components/accordion.js +19 -15
- package/dist/components/alert-dialog.js +5 -4
- package/dist/components/alert.js +10 -20
- package/dist/components/aspect-ratio.js +3 -4
- package/dist/components/avatar.d.ts +6 -6
- package/dist/components/avatar.js +56 -8
- package/dist/components/badge.js +11 -9
- package/dist/components/banner.d.ts +61 -0
- package/dist/components/banner.js +101 -0
- package/dist/components/breadcrumbs.js +7 -9
- package/dist/components/button.d.ts +8 -6
- package/dist/components/button.js +22 -14
- package/dist/components/calendar.js +13 -24
- package/dist/components/card.js +9 -11
- package/dist/components/carousel.d.ts +1 -1
- package/dist/components/carousel.js +12 -20
- package/dist/components/checkbox-group.js +3 -3
- package/dist/components/checkbox.js +2 -2
- package/dist/components/combobox.js +6 -6
- package/dist/components/command.js +10 -14
- package/dist/components/confirm.d.ts +54 -5
- package/dist/components/confirm.js +44 -5
- package/dist/components/cta-group.d.ts +30 -14
- package/dist/components/cta-group.js +29 -10
- package/dist/components/date-field.js +2 -1
- package/dist/components/date-picker.js +4 -5
- package/dist/components/date-range-picker.js +3 -2
- package/dist/components/description.js +2 -1
- package/dist/components/dialog-dismiss.d.ts +18 -0
- package/dist/components/dialog-dismiss.js +15 -0
- package/dist/components/dialog.js +11 -15
- package/dist/components/disclosure.js +10 -14
- package/dist/components/drawer.js +3 -4
- package/dist/components/field-error.js +3 -3
- package/dist/components/form.js +2 -1
- package/dist/components/group.d.ts +14 -0
- package/dist/components/group.js +68 -13
- package/dist/components/header.js +3 -3
- package/dist/components/heading-scope.js +2 -1
- package/dist/components/heading.d.ts +4 -4
- package/dist/components/heading.js +7 -7
- package/dist/components/highlight.js +17 -12
- package/dist/components/hover-card.js +6 -8
- package/dist/components/image-placeholder.js +13 -19
- package/dist/components/index.d.ts +11 -38
- package/dist/components/index.js +11 -38
- package/dist/components/input.js +12 -7
- package/dist/components/item.js +10 -19
- package/dist/components/keyboard.js +3 -3
- package/dist/components/label.js +2 -1
- package/dist/components/link-button.d.ts +7 -5
- package/dist/components/link-button.js +24 -13
- package/dist/components/link.js +3 -4
- package/dist/components/listbox.js +6 -11
- package/dist/components/menu.js +5 -6
- package/dist/components/meter.js +5 -6
- package/dist/components/modal.js +9 -11
- package/dist/components/nav-link.d.ts +1 -1
- package/dist/components/nav-link.js +3 -4
- package/dist/components/navigation-menu.js +17 -23
- package/dist/components/number-field.js +8 -10
- package/dist/components/otp-field.js +2 -1
- package/dist/components/overlay-arrow.js +3 -4
- package/dist/components/pagination.js +8 -10
- package/dist/components/popover.js +3 -4
- package/dist/components/progress-bar.js +5 -5
- package/dist/components/property-list.d.ts +76 -0
- package/dist/components/property-list.js +175 -0
- package/dist/components/radio-group.js +5 -7
- package/dist/components/range-calendar.js +3 -3
- package/dist/components/relative-time.d.ts +72 -0
- package/dist/components/relative-time.js +45 -0
- package/dist/components/scroll-area.js +4 -5
- package/dist/components/search-field.js +8 -11
- package/dist/components/section.js +2 -1
- package/dist/components/select.js +10 -22
- package/dist/components/selection-indicator.js +3 -3
- package/dist/components/sentinel-row.js +3 -3
- package/dist/components/separator.js +3 -3
- package/dist/components/shared-element.js +2 -1
- package/dist/components/sheet.js +6 -7
- package/dist/components/sidebar.js +48 -76
- package/dist/components/slider.js +8 -10
- package/dist/components/spinner.js +3 -3
- package/dist/components/status-dot.d.ts +62 -0
- package/dist/components/status-dot.js +99 -0
- package/dist/components/switch.js +3 -3
- package/dist/components/tabs.js +9 -12
- package/dist/components/tag-group.js +7 -9
- package/dist/components/text-field.d.ts +17 -2
- package/dist/components/text-field.js +14 -4
- package/dist/components/text.js +2 -1
- package/dist/components/textarea.js +3 -4
- package/dist/components/time-field.js +2 -1
- package/dist/components/timeline.d.ts +67 -0
- package/dist/components/timeline.js +159 -0
- package/dist/components/toggle-button.js +5 -7
- package/dist/components/tooltip.js +3 -3
- package/dist/components/typeset.d.ts +2 -1
- package/dist/components/typeset.js +131 -123
- package/dist/components/youtube-embed.js +2 -1
- package/dist/docs/anchor-heading.d.ts +41 -0
- package/dist/docs/anchor-heading.js +62 -0
- package/dist/docs/callout.d.ts +46 -0
- package/dist/docs/callout.js +61 -0
- package/dist/docs/code-block.d.ts +74 -0
- package/dist/docs/code-block.js +322 -0
- package/dist/docs/code-tabs-sync.d.ts +26 -0
- package/dist/docs/code-tabs-sync.js +12 -0
- package/dist/docs/code-tabs.d.ts +53 -0
- package/dist/docs/code-tabs.js +102 -0
- package/dist/docs/copy-button.d.ts +31 -0
- package/dist/docs/copy-button.js +49 -0
- package/dist/docs/docs-feedback.d.ts +67 -0
- package/dist/docs/docs-feedback.js +74 -0
- package/dist/docs/docs-footer.d.ts +40 -0
- package/dist/docs/docs-footer.js +45 -0
- package/dist/docs/docs-hub.d.ts +93 -0
- package/dist/docs/docs-hub.js +142 -0
- package/dist/docs/docs-layout.d.ts +90 -0
- package/dist/docs/docs-layout.js +166 -0
- package/dist/docs/docs-nav-tools.d.ts +25 -0
- package/dist/docs/docs-nav-tools.js +14 -0
- package/dist/docs/docs-nav.d.ts +57 -0
- package/dist/docs/docs-nav.js +76 -0
- package/dist/docs/docs-not-found.d.ts +68 -0
- package/dist/docs/docs-not-found.js +100 -0
- package/dist/docs/docs-page-header.d.ts +55 -0
- package/dist/docs/docs-page-header.js +54 -0
- package/dist/docs/docs-pager.d.ts +50 -0
- package/dist/docs/docs-pager.js +75 -0
- package/dist/docs/file-tree.d.ts +57 -0
- package/dist/docs/file-tree.js +142 -0
- package/dist/docs/index.d.ts +38 -0
- package/dist/docs/index.js +38 -0
- package/dist/docs/install-command.d.ts +54 -0
- package/dist/docs/install-command.js +33 -0
- package/dist/docs/mixins/code-tabs-sync.d.ts +47 -0
- package/dist/docs/mixins/code-tabs-sync.js +137 -0
- package/dist/docs/mixins/copy-feedback.d.ts +25 -0
- package/dist/docs/mixins/copy-feedback.js +49 -0
- package/dist/docs/mixins/copy-from-url.d.ts +27 -0
- package/dist/docs/mixins/copy-from-url.js +95 -0
- package/dist/docs/mixins/docs-nav-tools.d.ts +27 -0
- package/dist/docs/mixins/docs-nav-tools.js +124 -0
- package/dist/docs/mixins/toc-spy.d.ts +30 -0
- package/dist/docs/mixins/toc-spy.js +165 -0
- package/dist/docs/next-steps.d.ts +45 -0
- package/dist/docs/next-steps.js +80 -0
- package/dist/docs/page-actions.d.ts +77 -0
- package/dist/docs/page-actions.js +78 -0
- package/dist/docs/plan-notice.d.ts +28 -0
- package/dist/docs/plan-notice.js +33 -0
- package/dist/docs/props-table.d.ts +64 -0
- package/dist/docs/props-table.js +147 -0
- package/dist/docs/steps.d.ts +51 -0
- package/dist/docs/steps.js +112 -0
- package/dist/docs/table-of-contents.d.ts +49 -0
- package/dist/docs/table-of-contents.js +139 -0
- package/dist/docs/ui-label.d.ts +51 -0
- package/dist/docs/ui-label.js +64 -0
- package/dist/docs/utils/docs-tree.d.ts +81 -0
- package/dist/docs/utils/docs-tree.js +57 -0
- package/dist/docs/utils/reveal-in-scroller.d.ts +19 -0
- package/dist/docs/utils/reveal-in-scroller.js +43 -0
- package/dist/landing/accent-text.d.ts +47 -0
- package/dist/landing/accent-text.js +107 -0
- package/dist/landing/animations/entrance.d.ts +40 -0
- package/dist/landing/animations/entrance.js +52 -0
- package/dist/landing/announcement-chip.d.ts +45 -0
- package/dist/landing/announcement-chip.js +36 -0
- package/dist/landing/author-band.d.ts +78 -0
- package/dist/landing/author-band.js +190 -0
- package/dist/landing/bento.d.ts +99 -0
- package/dist/landing/bento.js +138 -0
- package/dist/landing/changelog-strip.d.ts +74 -0
- package/dist/landing/changelog-strip.js +201 -0
- package/dist/{patterns → landing}/check-row.js +5 -7
- package/dist/{patterns → landing}/closing-cta.d.ts +4 -4
- package/dist/{patterns → landing}/closing-cta.js +8 -8
- package/dist/landing/code-stage.d.ts +93 -0
- package/dist/landing/code-stage.js +434 -0
- package/dist/landing/crosshair.d.ts +44 -0
- package/dist/landing/crosshair.js +48 -0
- package/dist/landing/curriculum.d.ts +79 -0
- package/dist/landing/curriculum.js +194 -0
- package/dist/landing/drawn-chart.d.ts +74 -0
- package/dist/landing/drawn-chart.js +377 -0
- package/dist/landing/event-ticker.d.ts +71 -0
- package/dist/landing/event-ticker.js +331 -0
- package/dist/landing/fan-out-diagram.d.ts +70 -0
- package/dist/landing/fan-out-diagram.js +481 -0
- package/dist/{patterns → landing}/faq-band.d.ts +5 -5
- package/dist/{patterns → landing}/faq-band.js +13 -14
- package/dist/landing/feature-band.d.ts +108 -0
- package/dist/landing/feature-band.js +67 -0
- package/dist/landing/feature.d.ts +148 -0
- package/dist/landing/feature.js +219 -0
- package/dist/landing/flow-diagram.d.ts +62 -0
- package/dist/landing/flow-diagram.js +240 -0
- package/dist/{patterns → landing}/icon-well.d.ts +17 -7
- package/dist/landing/icon-well.js +31 -0
- package/dist/landing/index.d.ts +52 -0
- package/dist/landing/index.js +52 -0
- package/dist/{patterns → landing}/install-tabs.js +4 -5
- package/dist/landing/landing-header.d.ts +103 -0
- package/dist/landing/landing-header.js +110 -0
- package/dist/landing/landing-hero.d.ts +119 -0
- package/dist/landing/landing-hero.js +172 -0
- package/dist/{components/marketing-section.d.ts → landing/landing-section.d.ts} +38 -15
- package/dist/landing/landing-section.js +183 -0
- package/dist/landing/logo-cloud.d.ts +56 -0
- package/dist/landing/logo-cloud.js +160 -0
- package/dist/landing/logo-sentence.d.ts +38 -0
- package/dist/landing/logo-sentence.js +51 -0
- package/dist/landing/marquee.d.ts +44 -0
- package/dist/landing/marquee.js +97 -0
- package/dist/landing/motion-loop.d.ts +43 -0
- package/dist/landing/motion-loop.js +42 -0
- package/dist/landing/pricing-band.d.ts +94 -0
- package/dist/landing/pricing-band.js +151 -0
- package/dist/landing/product-frame.d.ts +108 -0
- package/dist/landing/product-frame.js +202 -0
- package/dist/{patterns → landing}/proof-strip.d.ts +4 -4
- package/dist/{patterns → landing}/proof-strip.js +3 -3
- package/dist/landing/rails.d.ts +45 -0
- package/dist/landing/rails.js +69 -0
- package/dist/landing/rotating-text.d.ts +44 -0
- package/dist/landing/rotating-text.js +67 -0
- package/dist/landing/segmented-stage.d.ts +75 -0
- package/dist/landing/segmented-stage.js +141 -0
- package/dist/landing/sequence-diagram.d.ts +65 -0
- package/dist/landing/sequence-diagram.js +348 -0
- package/dist/landing/site-footer.d.ts +100 -0
- package/dist/landing/site-footer.js +274 -0
- package/dist/landing/site-header.d.ts +126 -0
- package/dist/landing/site-header.js +595 -0
- package/dist/{components → landing}/split.d.ts +12 -5
- package/dist/{components → landing}/split.js +26 -18
- package/dist/landing/sponsor-wall.d.ts +81 -0
- package/dist/landing/sponsor-wall.js +241 -0
- package/dist/{components → landing}/stat-strip.d.ts +31 -7
- package/dist/landing/stat-strip.js +105 -0
- package/dist/landing/step-list.d.ts +73 -0
- package/dist/landing/step-list.js +182 -0
- package/dist/landing/styles/card-grid.d.ts +115 -0
- package/dist/landing/styles/card-grid.js +295 -0
- package/dist/{patterns → landing}/tabbed-stage.d.ts +26 -8
- package/dist/landing/tabbed-stage.js +233 -0
- package/dist/landing/testimonial-band.d.ts +110 -0
- package/dist/landing/testimonial-band.js +164 -0
- package/dist/landing/typed-terminal.d.ts +62 -0
- package/dist/landing/typed-terminal.js +233 -0
- package/dist/landing/utils/pause-toggle.d.ts +37 -0
- package/dist/landing/utils/pause-toggle.js +71 -0
- package/dist/mixins/confirm-phrase.d.ts +19 -0
- package/dist/mixins/confirm-phrase.js +56 -0
- package/dist/mixins/copy-to-clipboard.d.ts +6 -0
- package/dist/mixins/copy-to-clipboard.js +17 -1
- package/dist/mixins/dialog-dismiss.d.ts +21 -0
- package/dist/mixins/dialog-dismiss.js +62 -0
- package/dist/mixins/index.d.ts +4 -15
- package/dist/mixins/index.js +4 -15
- package/dist/mixins/viewer-time.d.ts +20 -0
- package/dist/mixins/viewer-time.js +40 -0
- package/dist/styles/index.d.ts +3 -5
- package/dist/styles/index.js +3 -5
- package/dist/styles/landing.d.ts +200 -0
- package/dist/styles/landing.js +516 -0
- package/dist/styles/segmented-control.d.ts +49 -0
- package/dist/styles/segmented-control.js +71 -0
- package/dist/styles/surface-control.d.ts +18 -0
- package/dist/styles/surface-control.js +31 -0
- package/dist/test/table.d.ts +65 -0
- package/dist/test/table.js +108 -0
- package/dist/utils/eyebrow.d.ts +39 -0
- package/dist/utils/eyebrow.js +21 -0
- package/dist/utils/index.d.ts +2 -5
- package/dist/utils/index.js +2 -5
- package/dist/utils/relative-time.d.ts +44 -0
- package/dist/utils/relative-time.js +69 -0
- package/package.json +16 -6
- package/src/theme.css +87 -22
- package/dist/components/empty.d.ts +0 -91
- package/dist/components/empty.js +0 -151
- package/dist/components/feature.d.ts +0 -102
- package/dist/components/feature.js +0 -150
- package/dist/components/logo-cloud.d.ts +0 -42
- package/dist/components/logo-cloud.js +0 -41
- package/dist/components/marketing-header.d.ts +0 -71
- package/dist/components/marketing-header.js +0 -81
- package/dist/components/marketing-section.js +0 -117
- package/dist/components/skeleton.d.ts +0 -36
- package/dist/components/skeleton.js +0 -38
- package/dist/components/stat-strip.js +0 -65
- package/dist/components/table.d.ts +0 -152
- package/dist/components/table.js +0 -238
- package/dist/patterns/accent-text.d.ts +0 -30
- package/dist/patterns/accent-text.js +0 -17
- package/dist/patterns/announcement-chip.d.ts +0 -41
- package/dist/patterns/announcement-chip.js +0 -49
- package/dist/patterns/bento.d.ts +0 -68
- package/dist/patterns/bento.js +0 -94
- package/dist/patterns/code-stage.d.ts +0 -63
- package/dist/patterns/code-stage.js +0 -82
- package/dist/patterns/feature-band.d.ts +0 -85
- package/dist/patterns/feature-band.js +0 -50
- package/dist/patterns/icon-well.js +0 -38
- package/dist/patterns/index.d.ts +0 -23
- package/dist/patterns/index.js +0 -23
- package/dist/patterns/landing-hero.d.ts +0 -93
- package/dist/patterns/landing-hero.js +0 -126
- package/dist/patterns/product-frame.d.ts +0 -60
- package/dist/patterns/product-frame.js +0 -70
- package/dist/patterns/step-list.d.ts +0 -47
- package/dist/patterns/step-list.js +0 -85
- package/dist/patterns/tabbed-stage.js +0 -77
- package/dist/styles/marketing.d.ts +0 -120
- package/dist/styles/marketing.js +0 -225
- package/dist/utils/semantic-color-panel.d.ts +0 -35
- package/dist/utils/semantic-color-panel.js +0 -28
- /package/dist/{behaviors → app/behaviors}/drag-session.d.ts +0 -0
- /package/dist/{behaviors → app/behaviors}/resize-session.d.ts +0 -0
- /package/dist/{behaviors → app/behaviors}/resize-session.js +0 -0
- /package/dist/{behaviors → app/behaviors}/selection-model.d.ts +0 -0
- /package/dist/{behaviors → app/behaviors}/selection-model.js +0 -0
- /package/dist/{components → app}/drop-indicator.d.ts +0 -0
- /package/dist/{components → app}/file-trigger.d.ts +0 -0
- /package/dist/{components → app}/menubar.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/chart-tooltip.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/chart-tooltip.js +0 -0
- /package/dist/{mixins → app/mixins}/context-menu.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/context-menu.js +0 -0
- /package/dist/{mixins → app/mixins}/drag-reorder.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/drop-zone.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/grid-list-keys.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/menubar-keys.d.ts +0 -0
- /package/dist/{mixins → app/mixins}/resize-handle.d.ts +0 -0
- /package/dist/{mixins/treeKeys.d.ts → app/mixins/tree-keys.d.ts} +0 -0
- /package/dist/{components → app}/resizable.d.ts +0 -0
- /package/dist/{components → app}/shortcut-list.d.ts +0 -0
- /package/dist/{styles → app/styles}/chart-palette.js +0 -0
- /package/dist/{styles → app/styles}/graphic-host.js +0 -0
- /package/dist/{styles → app/styles}/legend-toggle.js +0 -0
- /package/dist/{components → app}/toolbar.d.ts +0 -0
- /package/dist/{utils → app/utils}/chart-scale.d.ts +0 -0
- /package/dist/{behaviors → chat/behaviors}/scroll-follow-model.d.ts +0 -0
- /package/dist/{components → chat}/bubble.d.ts +0 -0
- /package/dist/{components → chat}/marker.d.ts +0 -0
- /package/dist/{components → chat}/message.d.ts +0 -0
- /package/dist/{mixins → chat/mixins}/attachment-trigger.d.ts +0 -0
- /package/dist/{mixins → chat/mixins}/attachment-trigger.js +0 -0
- /package/dist/{mixins → chat/mixins}/message-follow.d.ts +0 -0
- /package/dist/{components → color}/color-area.d.ts +0 -0
- /package/dist/{components → color}/color-field.d.ts +0 -0
- /package/dist/{components → color}/color-slider.d.ts +0 -0
- /package/dist/{components → color}/color-swatch-picker.d.ts +0 -0
- /package/dist/{components → color}/color-swatch.d.ts +0 -0
- /package/dist/{components → color}/color-wheel.d.ts +0 -0
- /package/dist/{mixins → color/mixins}/color-channel-sync.d.ts +0 -0
- /package/dist/{mixins → color/mixins}/color-channel-sync.js +0 -0
- /package/dist/{mixins → color/mixins}/color-preview.d.ts +0 -0
- /package/dist/{mixins → color/mixins}/color-wheel-drag.d.ts +0 -0
- /package/dist/{styles → color/styles}/rtl-aware-gradient-direction.js +0 -0
- /package/dist/{utils → color/utils}/hue-spectrum.d.ts +0 -0
- /package/dist/{utils → color/utils}/hue-spectrum.js +0 -0
- /package/dist/{patterns → landing}/check-row.d.ts +0 -0
- /package/dist/{patterns → landing}/install-tabs.d.ts +0 -0
|
@@ -0,0 +1,346 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "remix/component/jsx-runtime";
|
|
2
|
+
import { CheckIcon, ChevronDownIcon, ListFilterIcon, SlidersHorizontalIcon, XIcon, } from "@sdxc/icons";
|
|
3
|
+
import { bg, border, fg, outline } from "@sdxc/u/color";
|
|
4
|
+
import { rounded } from "@sdxc/u/effects";
|
|
5
|
+
import { cursor, mergeMix, raw } from "@sdxc/u/general";
|
|
6
|
+
import { basis, block, container, flex, flexWrap, gap, grow, hidden, hstack, inline, inlineFlex, items, justify, shrink, vstack, } from "@sdxc/u/layout";
|
|
7
|
+
import { divide, overflowY } from "@sdxc/u/overflow";
|
|
8
|
+
import { at } from "@sdxc/u/responsive";
|
|
9
|
+
import { bs, is, m, maxBs, maxIs, minIs, mis, p, pb, pbe, pi, pis } from "@sdxc/u/size";
|
|
10
|
+
import { focusVisible, hover, when } from "@sdxc/u/state";
|
|
11
|
+
import { nowrap, tabularNums, text, textDecoration, truncate, weight } from "@sdxc/u/typography";
|
|
12
|
+
import { clientEntry } from "remix/component";
|
|
13
|
+
import { Button } from "../components/button.js";
|
|
14
|
+
import { Checkbox } from "../components/checkbox.js";
|
|
15
|
+
import { Keyboard } from "../components/keyboard.js";
|
|
16
|
+
import { Popover } from "../components/popover.js";
|
|
17
|
+
import { SearchField } from "../components/search-field.js";
|
|
18
|
+
import { floatingSurface, surfaceInset } from "../styles/floating-surface.js";
|
|
19
|
+
import { interactiveTransition } from "../styles/interactive-transition.js";
|
|
20
|
+
import { escapeLink } from "./mixins/escape-link.js";
|
|
21
|
+
import { carriedParams, clearFiltersHref, paramValues, removeFilterHref, setParamHref, } from "./utils/search-params.js";
|
|
22
|
+
/** The URL read when `url` is unset: a page with nothing applied. */
|
|
23
|
+
const DEFAULT_URL = "/";
|
|
24
|
+
/** Search parameter the search field writes when `search.name` is unset. */
|
|
25
|
+
const DEFAULT_SEARCH_PARAM = "q";
|
|
26
|
+
/** Search parameter the sort menu writes when `sort.name` is unset. */
|
|
27
|
+
const DEFAULT_SORT_PARAM = "sort";
|
|
28
|
+
/** Container name the bar declares, which its zones query to wrap or collapse. */
|
|
29
|
+
const CONTAINER = "filter-bar";
|
|
30
|
+
/** Container width from which a collapsing bar shows each facet inline rather than behind "Filters". */
|
|
31
|
+
const COLLAPSE_WIDTH = "32rem";
|
|
32
|
+
/** Container width from which the status shows; a narrower bar gives its space to the controls. */
|
|
33
|
+
const STATUS_WIDTH = "56rem";
|
|
34
|
+
/** Container width from which the View trigger shows its text beside the icon. */
|
|
35
|
+
const OPTIONS_LABEL_WIDTH = "28rem";
|
|
36
|
+
/**
|
|
37
|
+
* Renders the toolbar. Facet checkboxes, the search field and the hidden carried parameters
|
|
38
|
+
* all belong to one GET form, so Apply or Enter submits the whole view and the URL holds one
|
|
39
|
+
* parameter per filter; tabs, sort orders and chip removal are plain links.
|
|
40
|
+
*
|
|
41
|
+
* @param handle Runtime handle carrying the host `<div>`'s props.
|
|
42
|
+
* @returns The render function producing the toolbar's markup.
|
|
43
|
+
* @example
|
|
44
|
+
* <FilterBar
|
|
45
|
+
* id="monitors"
|
|
46
|
+
* url={request.url}
|
|
47
|
+
* tabs={[{ label: "Active", count: 26, href: "?state=active", current: true }]}
|
|
48
|
+
* search={{ label: "Search monitors", placeholder: "Search…" }}
|
|
49
|
+
* facets={[{ name: "status", label: "Status", options: [{ value: "down", label: "Down", count: 2 }] }]}
|
|
50
|
+
* sort={{ label: "Sort by", defaultValue: "name", options: [{ value: "name", label: "Name" }] }}
|
|
51
|
+
* options={<ViewOptions id="monitors-view" url={request.url} inline density={density} labels={viewLabels} />}
|
|
52
|
+
* status={<AutoRefresh {...refresh} show="status" />}
|
|
53
|
+
* labels={labels}
|
|
54
|
+
* prefetch="intent"
|
|
55
|
+
* />
|
|
56
|
+
*/
|
|
57
|
+
export function FilterBar(handle) {
|
|
58
|
+
return () => {
|
|
59
|
+
let { id, url = DEFAULT_URL, prefetch, action, tabs, facets = [], search, sort, options, status, collapse, locale, labels, mix, ...rest } = handle.props;
|
|
60
|
+
let formId = `${id}-form`;
|
|
61
|
+
let facetsId = `${id}-facets`;
|
|
62
|
+
let numbers = new Intl.NumberFormat(locale);
|
|
63
|
+
let searchName = search ? (search.name ?? DEFAULT_SEARCH_PARAM) : undefined;
|
|
64
|
+
let filterNames = [...facets.map((facet) => facet.name), ...(searchName ? [searchName] : [])];
|
|
65
|
+
let applied = facets
|
|
66
|
+
.map((facet) => ({ facet, values: paramValues(url, facet.name) }))
|
|
67
|
+
.filter((entry) => entry.values.length > 0);
|
|
68
|
+
let query = searchName ? (paramValues(url, searchName)[0] ?? "") : "";
|
|
69
|
+
let appliedCount = applied.length + (query ? 1 : 0);
|
|
70
|
+
return (_jsxs("div", { ...rest, "data-slot": "filter-bar", mix: mergeMix([container(CONTAINER), is("100%"), vstack({ gap: 2 }), minIs(0), text("sm")], mix), children: [_jsxs("form", { id: formId, method: "get", action: action, hidden: true, children: [carriedParams(url, filterNames).map(([name, value]) => (_jsx("input", { type: "hidden", name: name, value: value }))), _jsx("button", { type: "submit", tabIndex: -1, "aria-hidden": "true", children: labels.apply })] }), _jsxs("div", { role: "toolbar", "aria-label": labels.toolbar, "data-slot": "filter-bar-row", mix: [flex(), flexWrap(), items("center"), raw({ gap: "0.5rem 0.75rem" }), minIs(0)], children: [tabs?.length ? (_jsx(FilterTabs, { tabs: tabs, label: labels.tabs, numbers: numbers, prefetch: prefetch })) : null, search ? (_jsx(SearchField, { "aria-label": search.label, mix: [grow(), basis("14rem"), minIs("10rem"), maxIs("20rem")], children: _jsx(SearchField.Input, { id: search.id ?? `${id}-search`, name: searchName, form: formId, defaultValue: query, placeholder: search.placeholder, autocomplete: "off", mix: [bs(8)] }) })) : null, facets.length ? (_jsxs("div", { "data-slot": "filter-bar-facets", mix: [flex(), flexWrap(), items("center"), gap(1), minIs(0)], children: [collapse ? (_jsx(FacetTrigger, { popoverId: facetsId, label: labels.filters, icon: _jsx(ListFilterIcon, { size: 16 }), applied: applied.length, collapsed: true })) : null, _jsx("div", { id: facetsId, popover: collapse ? "auto" : undefined, "data-slot": "filter-bar-facet-list", mix: [
|
|
71
|
+
collapse ? collapsibleFacets() : [flex(), flexWrap(), items("center"), gap(1)],
|
|
72
|
+
], children: facets.map((facet) => (_jsx(FacetTrigger, { popoverId: `${id}-facet-${facet.name}`, label: facet.label, icon: facet.icon, applied: paramValues(url, facet.name).length }))) }), facets.map((facet) => (_jsx(FacetPopover, { id: `${id}-facet-${facet.name}`, formId: formId, facet: facet, selected: paramValues(url, facet.name), numbers: numbers, apply: labels.apply })))] })) : null, sort || options || status ? (_jsxs("div", { "data-slot": "filter-bar-end", mix: [flex(), items("center"), gap(3), mis("auto"), minIs(0), shrink(0)], children: [status ? (_jsx("div", { "data-slot": "filter-bar-status", mix: [
|
|
73
|
+
hidden(),
|
|
74
|
+
at(STATUS_WIDTH, CONTAINER, block()),
|
|
75
|
+
minIs(0),
|
|
76
|
+
text("xs"),
|
|
77
|
+
fg("neutral.muted"),
|
|
78
|
+
truncate(),
|
|
79
|
+
], children: status })) : null, sort || options ? (_jsx(OptionsMenu, { id: `${id}-options`, sortId: `${id}-sort`, url: url, prefetch: prefetch, sort: sort, label: labels.options, children: options })) : null] })) : null] }), appliedCount > 0 ? (_jsxs("div", { "data-slot": "filter-bar-chips", mix: [flex(), flexWrap(), items("center"), gap(2), minIs(0)], children: [applied.map(({ facet, values }) => (_jsx(FilterChip, { url: url, prefetch: prefetch, facet: facet, values: values, popoverId: `${id}-facet-${facet.name}`, labels: labels }))), query && search && searchName ? (_jsx(FilterChip, { url: url, prefetch: prefetch, facet: { name: searchName, label: search.label, options: [] }, values: [query], labels: labels })) : null, _jsx(FilterBarClear, { href: clearFiltersHref(url, filterNames), prefetch: prefetch, label: labels.clear, keyHint: labels.clearKey ?? "Esc" })] })) : null] }));
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Styles a collapsing facet list: inline in a wide bar, where its closed `popover` attribute
|
|
84
|
+
* is overridden into the flow, and a floating panel anchored to "Filters" in a narrow one.
|
|
85
|
+
*
|
|
86
|
+
* @returns The mixins for the facet list host.
|
|
87
|
+
*/
|
|
88
|
+
function collapsibleFacets() {
|
|
89
|
+
return [
|
|
90
|
+
floatingSurface(),
|
|
91
|
+
surfaceInset(),
|
|
92
|
+
raw({
|
|
93
|
+
inset: "auto",
|
|
94
|
+
margin: 0,
|
|
95
|
+
marginBlockStart: "0.25rem",
|
|
96
|
+
positionArea: "bottom span-right",
|
|
97
|
+
flexDirection: "column",
|
|
98
|
+
alignItems: "stretch",
|
|
99
|
+
gap: "0.25rem",
|
|
100
|
+
minInlineSize: "12rem",
|
|
101
|
+
"&:popover-open": { display: "flex" },
|
|
102
|
+
[`@container ${CONTAINER} (min-width: ${COLLAPSE_WIDTH})`]: {
|
|
103
|
+
position: "static",
|
|
104
|
+
display: "flex",
|
|
105
|
+
flexDirection: "row",
|
|
106
|
+
flexWrap: "wrap",
|
|
107
|
+
alignItems: "center",
|
|
108
|
+
minInlineSize: 0,
|
|
109
|
+
margin: 0,
|
|
110
|
+
padding: 0,
|
|
111
|
+
border: 0,
|
|
112
|
+
boxShadow: "none",
|
|
113
|
+
background: "transparent",
|
|
114
|
+
color: "inherit",
|
|
115
|
+
overflow: "visible",
|
|
116
|
+
},
|
|
117
|
+
}),
|
|
118
|
+
];
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* Renders the count tabs as links, the current one marked for assistive technology and drawn
|
|
122
|
+
* in the emphasis ink, each count tabular so the row holds still as numbers change. An empty
|
|
123
|
+
* slice keeps its tab with a muted, unfilled count. Tabs that outgrow the bar wrap, each whole.
|
|
124
|
+
*
|
|
125
|
+
* @param handle Runtime handle carrying the tabs.
|
|
126
|
+
* @returns The render function producing the navigation.
|
|
127
|
+
*/
|
|
128
|
+
function FilterTabs(handle) {
|
|
129
|
+
return () => {
|
|
130
|
+
let { tabs, label, numbers, prefetch } = handle.props;
|
|
131
|
+
return (_jsx("nav", { "aria-label": label, "data-slot": "filter-bar-tabs", mix: [hstack({ gap: 1 }), flexWrap(), minIs(0), maxIs("100%")], children: tabs.map((tab) => (_jsxs("a", { href: tab.href, "data-rmx-prefetch": prefetch, "aria-current": tab.current ? "page" : undefined, mix: [
|
|
132
|
+
interactiveTransition(),
|
|
133
|
+
inlineFlex(),
|
|
134
|
+
items("center"),
|
|
135
|
+
gap(1.5),
|
|
136
|
+
bs(8),
|
|
137
|
+
pi(2),
|
|
138
|
+
rounded("md"),
|
|
139
|
+
fg("neutral.muted"),
|
|
140
|
+
textDecoration("none"),
|
|
141
|
+
nowrap(),
|
|
142
|
+
hover([fg("neutral.emphasis"), bg("neutral.bg-tint-hover")]),
|
|
143
|
+
focusVisible(outline({ color: "brand.ring", offset: 2 })),
|
|
144
|
+
when('&[aria-current="page"]', [fg("neutral.emphasis"), weight(600)]),
|
|
145
|
+
], children: [tab.label, tab.count === undefined ? null : (_jsx("span", { "data-slot": "count", "data-empty": tab.count === 0 ? "" : undefined, mix: [
|
|
146
|
+
pi(1.5),
|
|
147
|
+
rounded("full"),
|
|
148
|
+
bg("neutral.tint"),
|
|
149
|
+
fg("neutral"),
|
|
150
|
+
text("xs"),
|
|
151
|
+
weight(500),
|
|
152
|
+
tabularNums(),
|
|
153
|
+
when("&[data-empty]", [bg("transparent"), fg("neutral.muted"), weight(400)]),
|
|
154
|
+
], children: numbers.format(tab.count) }))] }))) }));
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Renders a facet's trigger: no chrome until hovered, a dashed outline then while nothing is
|
|
159
|
+
* applied, and a solid outline with the applied count once something is.
|
|
160
|
+
*
|
|
161
|
+
* @param handle Runtime handle carrying the trigger's props.
|
|
162
|
+
* @returns The render function producing the button.
|
|
163
|
+
*/
|
|
164
|
+
function FacetTrigger(handle) {
|
|
165
|
+
return () => {
|
|
166
|
+
let { popoverId, label, icon, applied, collapsed } = handle.props;
|
|
167
|
+
return (_jsxs("button", { type: "button", commandfor: popoverId, command: "toggle-popover", "data-slot": collapsed ? "filter-bar-collapse" : "filter-bar-facet", "data-applied": applied > 0 ? "" : undefined, mix: [
|
|
168
|
+
interactiveTransition(),
|
|
169
|
+
inlineFlex(),
|
|
170
|
+
items("center"),
|
|
171
|
+
gap(1.5),
|
|
172
|
+
bs(8),
|
|
173
|
+
pi(2.5),
|
|
174
|
+
rounded("md"),
|
|
175
|
+
border({ width: 1, style: "dashed", color: "transparent" }),
|
|
176
|
+
bg("transparent"),
|
|
177
|
+
fg("neutral"),
|
|
178
|
+
text("sm"),
|
|
179
|
+
nowrap(),
|
|
180
|
+
cursor("pointer"),
|
|
181
|
+
when("& > svg", [fg("neutral.muted"), shrink(0)]),
|
|
182
|
+
hover([bg("neutral.bg-tint-hover"), border("neutral.border"), fg("neutral.emphasis")]),
|
|
183
|
+
when("&[data-applied]", [
|
|
184
|
+
border({ width: 1, style: "solid", color: "neutral.border" }),
|
|
185
|
+
fg("neutral.emphasis"),
|
|
186
|
+
]),
|
|
187
|
+
focusVisible(outline({ color: "brand.ring", offset: 2 })),
|
|
188
|
+
collapsed ? at(COLLAPSE_WIDTH, CONTAINER, hidden()) : [],
|
|
189
|
+
], children: [icon, label, applied > 0 ? (_jsx("span", { "data-slot": "count", mix: [
|
|
190
|
+
pi(1.5),
|
|
191
|
+
rounded("full"),
|
|
192
|
+
bg("brand.tint"),
|
|
193
|
+
fg("brand"),
|
|
194
|
+
text("xs"),
|
|
195
|
+
weight(600),
|
|
196
|
+
tabularNums(),
|
|
197
|
+
], children: applied })) : null, _jsx(ChevronDownIcon, { size: 14 })] }));
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
* Renders a facet's value picker: a native popover holding one checkbox per value with its
|
|
202
|
+
* count, and an Apply button submitting the bar's form. Tab moves from the trigger into the
|
|
203
|
+
* list, Space toggles a value, and Escape closes it unchanged.
|
|
204
|
+
*
|
|
205
|
+
* @param handle Runtime handle carrying the facet and its applied values.
|
|
206
|
+
* @returns The render function producing the popover.
|
|
207
|
+
*/
|
|
208
|
+
function FacetPopover(handle) {
|
|
209
|
+
return () => {
|
|
210
|
+
let { id, formId, facet, selected, numbers, apply } = handle.props;
|
|
211
|
+
let legendId = `${id}-legend`;
|
|
212
|
+
return (_jsxs(Popover, { id: id, placement: "bottom-start", role: "dialog", "aria-labelledby": legendId, "data-slot": "filter-bar-facet-popover", mix: [surfaceInset(), minIs("14rem"), maxIs("min(20rem, calc(100vw - 2rem))")], children: [_jsxs("fieldset", { mix: [m(0), p(0), raw({ border: 0 }), vstack({ gap: 0.5 }), minIs(0)], children: [_jsx("legend", { id: legendId, mix: [pi(2), pb(1), text("xs"), weight(600), fg("neutral.muted")], children: facet.label }), _jsx("div", { mix: [vstack({ gap: 0.5 }), maxBs("16rem"), overflowY("auto")], children: facet.options.map((option) => (_jsx("div", { "data-slot": "filter-bar-option", mix: [
|
|
213
|
+
pi(2),
|
|
214
|
+
pb(1.5),
|
|
215
|
+
rounded("md"),
|
|
216
|
+
hover(bg("neutral.bg-tint-hover")),
|
|
217
|
+
when("& label", [is("full"), cursor("pointer")]),
|
|
218
|
+
], children: _jsxs(Checkbox, { name: facet.name, value: option.value, form: formId, defaultChecked: selected.includes(option.value), color: "brand", children: [option.icon, _jsx("span", { mix: [grow(), truncate()], children: option.label }), option.count === undefined ? null : (_jsx("span", { "data-slot": "count", mix: [mis("auto"), pis(3), fg("neutral.muted"), tabularNums()], children: numbers.format(option.count) }))] }) }))) })] }), _jsx("div", { mix: [flex(), justify("end"), pi(1), raw({ paddingBlockStart: "0.5rem" })], children: _jsx(Button, { type: "submit", form: formId, size: "sm", color: "brand", children: apply }) })] }));
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Renders the View trigger and its popover: the sort orders first, then each node of the bar's
|
|
223
|
+
* `options` as its own group under a divider, so every control that changes how the list is
|
|
224
|
+
* shown, rather than what it holds, sits behind one button.
|
|
225
|
+
*
|
|
226
|
+
* @param handle Runtime handle carrying the sort and the other groups.
|
|
227
|
+
* @returns The render function producing the trigger and popover.
|
|
228
|
+
*/
|
|
229
|
+
function OptionsMenu(handle) {
|
|
230
|
+
return () => {
|
|
231
|
+
let { id, sortId, url, sort, label, prefetch, children } = handle.props;
|
|
232
|
+
return (_jsxs(_Fragment, { children: [_jsxs(Button, { variant: "ghost", size: "sm", commandfor: id, command: "toggle-popover", "aria-label": label, "data-slot": "filter-bar-options", mix: [shrink(0), fg("neutral"), weight(400), when("& > svg", fg("neutral.muted"))], children: [_jsx(SlidersHorizontalIcon, { size: 16, "aria-hidden": "true" }), _jsx("span", { "data-slot": "label", mix: [hidden(), at(OPTIONS_LABEL_WIDTH, CONTAINER, inline())], children: label })] }), _jsxs(Popover, { id: id, placement: "bottom-end", role: "dialog", "aria-label": label, "data-slot": "filter-bar-options-menu", mix: [
|
|
233
|
+
p(3),
|
|
234
|
+
is("20rem"),
|
|
235
|
+
maxIs("calc(100vw - 2rem)"),
|
|
236
|
+
vstack({ gap: 3 }),
|
|
237
|
+
divide("block", "neutral.border"),
|
|
238
|
+
when("& > *:not(:last-child)", pbe(3)),
|
|
239
|
+
], children: [sort ? _jsx(SortGroup, { id: sortId, url: url, sort: sort, prefetch: prefetch }) : null, children] })] }));
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Renders the sort orders as links with the current one checked, so choosing an order keeps
|
|
244
|
+
* every filter and works as a plain navigation; the default order drops the parameter.
|
|
245
|
+
*
|
|
246
|
+
* @param handle Runtime handle carrying the sort options.
|
|
247
|
+
* @returns The render function producing the group.
|
|
248
|
+
*/
|
|
249
|
+
function SortGroup(handle) {
|
|
250
|
+
return () => {
|
|
251
|
+
let { id, url, sort, prefetch } = handle.props;
|
|
252
|
+
let name = sort.name ?? DEFAULT_SORT_PARAM;
|
|
253
|
+
let current = paramValues(url, name)[0] ?? sort.defaultValue;
|
|
254
|
+
return (_jsxs("div", { id: id, role: "group", "aria-label": sort.label, "data-slot": "filter-bar-sort", mix: [vstack({ gap: 0.5, align: "stretch" }), minIs(0)], children: [_jsx("span", { "aria-hidden": "true", mix: [pi(2), pb(1), text("xs"), weight(600), fg("neutral.muted")], children: sort.label }), sort.options.map((option) => (_jsxs("a", { href: setParamHref(url, name, option.value === sort.defaultValue ? null : option.value), "data-rmx-prefetch": prefetch, "aria-current": option.value === current ? "true" : undefined, mix: [
|
|
255
|
+
interactiveTransition(),
|
|
256
|
+
flex(),
|
|
257
|
+
items("center"),
|
|
258
|
+
justify("between"),
|
|
259
|
+
gap(2),
|
|
260
|
+
bs(8),
|
|
261
|
+
pi(2),
|
|
262
|
+
rounded("md"),
|
|
263
|
+
fg("neutral"),
|
|
264
|
+
textDecoration("none"),
|
|
265
|
+
hover([fg("neutral.emphasis"), bg("neutral.bg-tint-hover")]),
|
|
266
|
+
focusVisible(outline({ color: "brand.ring", offset: -2 })),
|
|
267
|
+
when('&[aria-current="true"]', [fg("neutral.emphasis"), weight(600)]),
|
|
268
|
+
when("& > svg", [fg("brand"), shrink(0)]),
|
|
269
|
+
], children: [_jsx("span", { mix: [truncate()], children: option.label }), option.value === current ? _jsx(CheckIcon, { size: 16, "aria-hidden": "true" }) : null] })))] }));
|
|
270
|
+
};
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Renders an applied filter as a segmented chip, field · operator · values · remove, where the
|
|
274
|
+
* values reopen the facet's picker and remove is a link to the URL without that parameter.
|
|
275
|
+
*
|
|
276
|
+
* @param handle Runtime handle carrying the facet and its applied values.
|
|
277
|
+
* @returns The render function producing the chip.
|
|
278
|
+
*/
|
|
279
|
+
function FilterChip(handle) {
|
|
280
|
+
return () => {
|
|
281
|
+
let { url, facet, values, popoverId, labels, prefetch } = handle.props;
|
|
282
|
+
let summary = values
|
|
283
|
+
.map((value) => facet.options.find((option) => option.value === value)?.label ?? value)
|
|
284
|
+
.join(", ");
|
|
285
|
+
let operator = values.length > 1 ? labels.isAnyOf : labels.is;
|
|
286
|
+
let segment = [inlineFlex(), items("center"), gap(1.5), pi(2), bs("100%"), nowrap()];
|
|
287
|
+
return (_jsxs("span", { role: "group", "aria-label": `${facet.label} ${operator} ${summary}`, "data-slot": "filter-bar-chip", "data-name": facet.name, mix: [
|
|
288
|
+
inlineFlex(),
|
|
289
|
+
items("stretch"),
|
|
290
|
+
bs(7),
|
|
291
|
+
maxIs("100%"),
|
|
292
|
+
minIs(0),
|
|
293
|
+
rounded("md"),
|
|
294
|
+
border({ width: 1, color: "neutral.border" }),
|
|
295
|
+
bg("neutral.tint"),
|
|
296
|
+
divide("inline", "neutral.border"),
|
|
297
|
+
raw({ overflow: "hidden" }),
|
|
298
|
+
], children: [_jsxs("span", { "data-slot": "field", mix: [
|
|
299
|
+
...segment,
|
|
300
|
+
fg("neutral.emphasis"),
|
|
301
|
+
weight(500),
|
|
302
|
+
when("& > svg", fg("neutral.muted")),
|
|
303
|
+
], children: [facet.icon, facet.label] }), _jsx("span", { "data-slot": "operator", mix: [...segment, fg("neutral.muted")], children: operator }), popoverId ? (_jsx("button", { type: "button", commandfor: popoverId, command: "toggle-popover", "data-slot": "values", mix: [
|
|
304
|
+
...segment,
|
|
305
|
+
minIs(0),
|
|
306
|
+
raw({ border: 0, font: "inherit" }),
|
|
307
|
+
bg("transparent"),
|
|
308
|
+
fg("neutral.emphasis"),
|
|
309
|
+
cursor("pointer"),
|
|
310
|
+
hover(bg("neutral.bg-tint-hover")),
|
|
311
|
+
focusVisible(outline({ color: "brand.ring", offset: -2 })),
|
|
312
|
+
], children: _jsx("span", { mix: [truncate(), maxIs("16rem")], children: summary }) })) : (_jsx("span", { "data-slot": "values", mix: [...segment, minIs(0), fg("neutral.emphasis")], children: _jsx("span", { mix: [truncate(), maxIs("16rem")], children: summary }) })), _jsx("a", { href: removeFilterHref(url, facet.name), "data-rmx-prefetch": prefetch, "aria-label": labels.remove(facet.label, summary), "data-slot": "remove", mix: [
|
|
313
|
+
...segment,
|
|
314
|
+
pi(1.5),
|
|
315
|
+
fg("neutral.muted"),
|
|
316
|
+
hover([fg("neutral.emphasis"), bg("neutral.bg-tint-hover")]),
|
|
317
|
+
focusVisible(outline({ color: "brand.ring", offset: -2 })),
|
|
318
|
+
], children: _jsx(XIcon, { size: 14, "aria-hidden": "true" }) })] }));
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Renders "Clear filters" with its key cap. It is a link to the URL without any filter, and
|
|
323
|
+
* once hydrated Escape follows it whenever nothing on the page claims the key first.
|
|
324
|
+
*
|
|
325
|
+
* @example <FilterBarClear href={clearFiltersHref(url, ["status", "q"])} label="Clear filters" keyHint="Esc" />
|
|
326
|
+
*/
|
|
327
|
+
export const FilterBarClear = clientEntry("@sdxc/ui/app/filter-bar#FilterBarClear", function FilterBarClear(handle) {
|
|
328
|
+
return () => {
|
|
329
|
+
let { href, label, keyHint, prefetch } = handle.props;
|
|
330
|
+
return (_jsxs("a", { href: href, "data-rmx-prefetch": prefetch, "data-slot": "filter-bar-clear", "aria-keyshortcuts": "Escape", mix: [
|
|
331
|
+
escapeLink(),
|
|
332
|
+
interactiveTransition(),
|
|
333
|
+
inlineFlex(),
|
|
334
|
+
items("center"),
|
|
335
|
+
gap(2),
|
|
336
|
+
bs(7),
|
|
337
|
+
pi(2),
|
|
338
|
+
rounded("md"),
|
|
339
|
+
fg("neutral"),
|
|
340
|
+
textDecoration("none"),
|
|
341
|
+
nowrap(),
|
|
342
|
+
hover([fg("neutral.emphasis"), bg("neutral.bg-tint-hover")]),
|
|
343
|
+
focusVisible(outline({ color: "brand.ring", offset: 2 })),
|
|
344
|
+
], children: [label, _jsx(Keyboard, { "aria-hidden": "true", mix: [raw({ marginInlineStart: 0 })], children: keyHint })] }));
|
|
345
|
+
};
|
|
346
|
+
});
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* @copyright Sergio Xalambrí 2026
|
|
13
13
|
*/
|
|
14
14
|
import type { Handle, Props as TagProps, RemixNode } from "remix/component";
|
|
15
|
-
import { SentinelRow } from "
|
|
15
|
+
import { SentinelRow } from "../components/sentinel-row.js";
|
|
16
16
|
/**
|
|
17
17
|
* Prop types for {@link GridList} and its compound parts.
|
|
18
18
|
*/
|
|
@@ -2,18 +2,18 @@ import { jsx as _jsx } from "remix/component/jsx-runtime";
|
|
|
2
2
|
import { GripVerticalIcon } from "@sdxc/icons";
|
|
3
3
|
import { bg, borderEdge, fg, outline } from "@sdxc/u/color";
|
|
4
4
|
import { opacity, rounded } from "@sdxc/u/effects";
|
|
5
|
-
import { cursor } from "@sdxc/u/general";
|
|
5
|
+
import { cursor, mergeMix } from "@sdxc/u/general";
|
|
6
6
|
import { container, flex, flexCol, gap, grid, gridTemplate, items, relative, shrink, virtualize, } from "@sdxc/u/layout";
|
|
7
7
|
import { at } from "@sdxc/u/responsive";
|
|
8
8
|
import { bs, is, mbs, pb, pbs, pi } from "@sdxc/u/size";
|
|
9
9
|
import { active, data, not, when } from "@sdxc/u/state";
|
|
10
10
|
import { text, textTransform, tracking, weight } from "@sdxc/u/typography";
|
|
11
11
|
import { attrs } from "remix/component";
|
|
12
|
+
import { SentinelRow } from "../components/sentinel-row.js";
|
|
12
13
|
import { hitArea } from "../styles/hit-area.js";
|
|
13
14
|
import { interactiveTransition } from "../styles/interactive-transition.js";
|
|
14
15
|
import { panelChrome } from "../styles/panel-chrome.js";
|
|
15
16
|
import { warnIfNoAccessibleLabel } from "../utils/warn-if-no-accessible-name.js";
|
|
16
|
-
import { SentinelRow } from "./sentinel-row.js";
|
|
17
17
|
/**
|
|
18
18
|
* Named container {@link GridList} declares on its own host, so its inner
|
|
19
19
|
* row-list wrapper can react to the list's own width — switching a `"grid"`
|
|
@@ -65,7 +65,7 @@ export function GridList(handle) {
|
|
|
65
65
|
let { layout, children, parts, mix, ...rest } = handle.props;
|
|
66
66
|
let resolvedLayout = layout ?? DEFAULT_LAYOUT;
|
|
67
67
|
warnIfNoAccessibleLabel(handle.props, 'GridList: needs an "aria-label" or "aria-labelledby" describing its contents for assistive technology.');
|
|
68
|
-
return (_jsx("div", { ...rest, mix: [
|
|
68
|
+
return (_jsx("div", { ...rest, mix: mergeMix([
|
|
69
69
|
attrs({ role: DEFAULT_ROLE }),
|
|
70
70
|
panelChrome(),
|
|
71
71
|
when("&:focus-visible", outline({ color: "brand.ring", offset: 2 })),
|
|
@@ -73,8 +73,7 @@ export function GridList(handle) {
|
|
|
73
73
|
pi(2),
|
|
74
74
|
outline("none"),
|
|
75
75
|
container(CONTAINER_NAME),
|
|
76
|
-
|
|
77
|
-
], children: _jsx("div", { "data-slot": "list", "data-layout": resolvedLayout, mix: [
|
|
76
|
+
], mix), children: _jsx("div", { "data-slot": "list", "data-layout": resolvedLayout, mix: [
|
|
78
77
|
flex(),
|
|
79
78
|
flexCol(),
|
|
80
79
|
gap(1),
|
|
@@ -107,7 +106,7 @@ export function GridList(handle) {
|
|
|
107
106
|
GridList.Item = function GridListItem(handle) {
|
|
108
107
|
return () => {
|
|
109
108
|
let { id, mix, ...rest } = handle.props;
|
|
110
|
-
return (_jsx("div", { ...rest, id: id, "data-rmx-key": id, mix: [
|
|
109
|
+
return (_jsx("div", { ...rest, id: id, "data-rmx-key": id, mix: mergeMix([
|
|
111
110
|
interactiveTransition(),
|
|
112
111
|
attrs({ role: DEFAULT_ITEM_ROLE, tabIndex: DEFAULT_ITEM_TAB_INDEX }),
|
|
113
112
|
flex(),
|
|
@@ -136,8 +135,7 @@ GridList.Item = function GridListItem(handle) {
|
|
|
136
135
|
when('&[aria-disabled="true"]', opacity(50)),
|
|
137
136
|
cursor("default"),
|
|
138
137
|
outline("none"),
|
|
139
|
-
|
|
140
|
-
] }));
|
|
138
|
+
], mix) }));
|
|
141
139
|
};
|
|
142
140
|
};
|
|
143
141
|
/**
|
|
@@ -156,7 +154,7 @@ GridList.Item = function GridListItem(handle) {
|
|
|
156
154
|
GridList.Section = function GridListSection(handle) {
|
|
157
155
|
return () => {
|
|
158
156
|
let { mix, ...rest } = handle.props;
|
|
159
|
-
return (_jsx("div", { ...rest, mix: [
|
|
157
|
+
return (_jsx("div", { ...rest, mix: mergeMix([
|
|
160
158
|
attrs({ role: DEFAULT_SECTION_ROLE }),
|
|
161
159
|
flex(),
|
|
162
160
|
flexCol(),
|
|
@@ -166,8 +164,7 @@ GridList.Section = function GridListSection(handle) {
|
|
|
166
164
|
pbs(2),
|
|
167
165
|
borderEdge("block-start", { color: "neutral", width: 1 }),
|
|
168
166
|
]),
|
|
169
|
-
|
|
170
|
-
] }));
|
|
167
|
+
], mix) }));
|
|
171
168
|
};
|
|
172
169
|
};
|
|
173
170
|
/**
|
|
@@ -183,7 +180,7 @@ GridList.Section = function GridListSection(handle) {
|
|
|
183
180
|
GridList.Header = function GridListHeader(handle) {
|
|
184
181
|
return () => {
|
|
185
182
|
let { mix, ...rest } = handle.props;
|
|
186
|
-
return (_jsx("header", { ...rest, mix: [
|
|
183
|
+
return (_jsx("header", { ...rest, mix: mergeMix([
|
|
187
184
|
pb(1),
|
|
188
185
|
pi(2),
|
|
189
186
|
weight("semibold"),
|
|
@@ -191,8 +188,7 @@ GridList.Header = function GridListHeader(handle) {
|
|
|
191
188
|
fg("neutral.muted"),
|
|
192
189
|
text("xs"),
|
|
193
190
|
textTransform("uppercase"),
|
|
194
|
-
|
|
195
|
-
] }));
|
|
191
|
+
], mix) }));
|
|
196
192
|
};
|
|
197
193
|
};
|
|
198
194
|
/**
|
|
@@ -222,14 +218,16 @@ GridList.LoadMoreItem = SentinelRow;
|
|
|
222
218
|
GridList.DragHandle = function GridListDragHandle(handle) {
|
|
223
219
|
return () => {
|
|
224
220
|
let { mix, ...rest } = handle.props;
|
|
225
|
-
return (_jsx("button", { type: "button", ...rest, mix: [
|
|
226
|
-
attrs({
|
|
221
|
+
return (_jsx("button", { type: "button", ...rest, mix: mergeMix([
|
|
222
|
+
attrs({
|
|
223
|
+
role: DEFAULT_DRAG_HANDLE_ROLE,
|
|
224
|
+
"data-drag-handle": DEFAULT_DRAG_HANDLE_MARKER,
|
|
225
|
+
}),
|
|
227
226
|
relative(),
|
|
228
227
|
hitArea(),
|
|
229
228
|
fg("neutral.muted"),
|
|
230
229
|
cursor("grab"),
|
|
231
230
|
active(cursor("grabbing")),
|
|
232
|
-
|
|
233
|
-
], children: _jsx(GripVerticalIcon, { size: 16 }) }));
|
|
231
|
+
], mix), children: _jsx(GripVerticalIcon, { size: 16 }) }));
|
|
234
232
|
};
|
|
235
233
|
};
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Barrel for `@sdxc/ui/app`: the dashboard and workspace components (charts, data
|
|
3
|
+
* tables, lists, trees, toolbars, toasts, file drops) with the helpers only they use.
|
|
4
|
+
* Each component also imports on its own as `@sdxc/ui/app/<module>`.
|
|
5
|
+
*
|
|
6
|
+
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
7
|
+
* @copyright Sergio Xalambrí 2026
|
|
8
|
+
*/
|
|
9
|
+
export * from "./app-shell-toggle.js";
|
|
10
|
+
export * from "./app-shell.js";
|
|
11
|
+
export * from "./auto-refresh.js";
|
|
12
|
+
export * from "./behaviors/drag-session.js";
|
|
13
|
+
export * from "./behaviors/refresh-schedule.js";
|
|
14
|
+
export * from "./behaviors/resize-session.js";
|
|
15
|
+
export * from "./behaviors/selection-model.js";
|
|
16
|
+
export * from "./behaviors/shortcuts.js";
|
|
17
|
+
export * from "./behaviors/toaster.js";
|
|
18
|
+
export * from "./chart.js";
|
|
19
|
+
export * from "./command-palette.js";
|
|
20
|
+
export * from "./context-menu.js";
|
|
21
|
+
export * from "./danger-zone.js";
|
|
22
|
+
export * from "./detail-sheet.js";
|
|
23
|
+
export * from "./drop-indicator.js";
|
|
24
|
+
export * from "./drop-zone.js";
|
|
25
|
+
export * from "./editor-layout.js";
|
|
26
|
+
export * from "./empty.js";
|
|
27
|
+
export * from "./file-trigger.js";
|
|
28
|
+
export * from "./filter-bar.js";
|
|
29
|
+
export * from "./grid-list.js";
|
|
30
|
+
export * from "./keyboard-help.js";
|
|
31
|
+
export * from "./menubar.js";
|
|
32
|
+
export * from "./mixins/app-shell-controls.js";
|
|
33
|
+
export * from "./mixins/auto-refresh.js";
|
|
34
|
+
export * from "./mixins/chart-tooltip.js";
|
|
35
|
+
export * from "./mixins/command-palette.js";
|
|
36
|
+
export * from "./mixins/context-menu.js";
|
|
37
|
+
export * from "./mixins/copy-permalink.js";
|
|
38
|
+
export * from "./mixins/detail-sheet-keys.js";
|
|
39
|
+
export * from "./mixins/drag-reorder.js";
|
|
40
|
+
export * from "./mixins/drop-zone.js";
|
|
41
|
+
export * from "./mixins/escape-link.js";
|
|
42
|
+
export * from "./mixins/grid-list-keys.js";
|
|
43
|
+
export * from "./mixins/keyboard-help.js";
|
|
44
|
+
export * from "./mixins/menubar-keys.js";
|
|
45
|
+
export * from "./mixins/optimistic-toggle-sync.js";
|
|
46
|
+
export * from "./mixins/range-picker-keys.js";
|
|
47
|
+
export * from "./mixins/resize-handle.js";
|
|
48
|
+
export * from "./mixins/row-navigation.js";
|
|
49
|
+
export * from "./mixins/save-bar-sync.js";
|
|
50
|
+
export * from "./mixins/save-shortcut.js";
|
|
51
|
+
export * from "./mixins/save-status-sync.js";
|
|
52
|
+
export * from "./mixins/selection-bar-sync.js";
|
|
53
|
+
export * from "./mixins/split-view.js";
|
|
54
|
+
export * from "./mixins/status-strip-keys.js";
|
|
55
|
+
export * from "./mixins/submit-on-change.js";
|
|
56
|
+
export * from "./mixins/table-selection.js";
|
|
57
|
+
export * from "./mixins/toast-queue.js";
|
|
58
|
+
export * from "./mixins/toast-stack.js";
|
|
59
|
+
export * from "./mixins/tree-keys.js";
|
|
60
|
+
export * from "./optimistic-toggle.js";
|
|
61
|
+
export * from "./page-header.js";
|
|
62
|
+
export * from "./range-picker.js";
|
|
63
|
+
export * from "./resizable.js";
|
|
64
|
+
export * from "./save-bar.js";
|
|
65
|
+
export * from "./save-status.js";
|
|
66
|
+
export * from "./selection-bar.js";
|
|
67
|
+
export * from "./settings-layout.js";
|
|
68
|
+
export * from "./settings-section.js";
|
|
69
|
+
export * from "./shortcut-list.js";
|
|
70
|
+
export * from "./skeleton.js";
|
|
71
|
+
export * from "./sparkline.js";
|
|
72
|
+
export * from "./split-view.js";
|
|
73
|
+
export * from "./stat-card.js";
|
|
74
|
+
export * from "./status-strip.js";
|
|
75
|
+
export * from "./styles/chart-palette.js";
|
|
76
|
+
export * from "./styles/graphic-host.js";
|
|
77
|
+
export * from "./styles/legend-toggle.js";
|
|
78
|
+
export * from "./styles/toast-stack.js";
|
|
79
|
+
export * from "./table.js";
|
|
80
|
+
export * from "./toast.js";
|
|
81
|
+
export * from "./toasts.js";
|
|
82
|
+
export * from "./toolbar.js";
|
|
83
|
+
export * from "./tree.js";
|
|
84
|
+
export * from "./utils/chart-marker-indices.js";
|
|
85
|
+
export * from "./utils/chart-path.js";
|
|
86
|
+
export * from "./utils/chart-scale.js";
|
|
87
|
+
export * from "./utils/edited-time.js";
|
|
88
|
+
export * from "./utils/key-target.js";
|
|
89
|
+
export * from "./utils/search-params.js";
|
|
90
|
+
export * from "./utils/shortcut-groups.js";
|
|
91
|
+
export * from "./utils/split-view-layout.js";
|
|
92
|
+
export * from "./view-options.js";
|