@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,173 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "remix/component/jsx-runtime";
|
|
2
|
+
import { ChevronDownIcon, ChevronUpIcon, LinkIcon, XIcon } from "@sdxc/icons";
|
|
3
|
+
import { visuallyHidden } from "@sdxc/u/a11y";
|
|
4
|
+
import { bg, border, borderEdge, fg, outline } from "@sdxc/u/color";
|
|
5
|
+
import { opacity, rounded, shadow, transition } from "@sdxc/u/effects";
|
|
6
|
+
import { cursor, pointerEvents, raw, mergeMix } from "@sdxc/u/general";
|
|
7
|
+
import { absolute, container, fixed, flex, gap, hstack, inlineFlex, items, justify, shrink, vstack, } from "@sdxc/u/layout";
|
|
8
|
+
import { overflow } from "@sdxc/u/overflow";
|
|
9
|
+
import { bs, is, m, minBs, minIs, p, pb, pi } from "@sdxc/u/size";
|
|
10
|
+
import { z } from "@sdxc/u/stacking";
|
|
11
|
+
import { focusVisible, hover, when } from "@sdxc/u/state";
|
|
12
|
+
import { leading, tabularNums, text, truncate, weight } from "@sdxc/u/typography";
|
|
13
|
+
import { clientEntry } from "remix/component";
|
|
14
|
+
import { copyPermalink } from "./mixins/copy-permalink.js";
|
|
15
|
+
import { DETAIL_SHEET_LINK_ATTRIBUTE, detailSheetKeys } from "./mixins/detail-sheet-keys.js";
|
|
16
|
+
/** Container the sheet's viewport layer names, so the panel answers the viewport's width. */
|
|
17
|
+
const SHEET_CONTAINER = "ui-detail-sheet";
|
|
18
|
+
/** Below this width the panel becomes a bottom sheet. */
|
|
19
|
+
const NARROW_QUERY = `@container ${SHEET_CONTAINER} (width < 40rem)`;
|
|
20
|
+
/** Where the sheet's keys answer when `keys` is left unset. */
|
|
21
|
+
const DEFAULT_KEY_SCOPE = "page";
|
|
22
|
+
/**
|
|
23
|
+
* The square, quiet look every header control shares, links and the copy button alike.
|
|
24
|
+
*/
|
|
25
|
+
function controlStyle() {
|
|
26
|
+
return [
|
|
27
|
+
inlineFlex(),
|
|
28
|
+
items("center"),
|
|
29
|
+
justify("center"),
|
|
30
|
+
shrink(0),
|
|
31
|
+
is("2rem"),
|
|
32
|
+
bs("2rem"),
|
|
33
|
+
rounded("md"),
|
|
34
|
+
border({ color: "transparent", width: 0 }),
|
|
35
|
+
bg("transparent"),
|
|
36
|
+
fg("neutral.muted"),
|
|
37
|
+
cursor("pointer"),
|
|
38
|
+
transition("color, background-color"),
|
|
39
|
+
hover([fg("neutral.emphasis"), bg("neutral.tint")]),
|
|
40
|
+
focusVisible(outline({ color: "brand.ring", width: 2, offset: -2 })),
|
|
41
|
+
when('&[aria-disabled="true"]', [opacity(40), pointerEvents("none")]),
|
|
42
|
+
];
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Renders a header navigation link, or an inert placeholder in its place when there is
|
|
46
|
+
* no record that way, so the controls keep their positions at either end of the list.
|
|
47
|
+
*/
|
|
48
|
+
function NavLink(handle) {
|
|
49
|
+
return () => {
|
|
50
|
+
let { link, rel, href, label, keys, children } = handle.props;
|
|
51
|
+
return (_jsx("a", { href: href ?? undefined, "aria-label": label, title: label, "aria-keyshortcuts": keys, "aria-disabled": href ? undefined : "true", rel: rel, [DETAIL_SHEET_LINK_ATTRIBUTE]: link, mix: controlStyle(), children: children }));
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The sheet's header controls as an island: `n / N` with previous/next links, copy link
|
|
56
|
+
* and Close. Server HTML renders every link; once hydrated, Esc, k/j and ↑/↓ follow them
|
|
57
|
+
* and focus moves into the sheet. Loads from `@sdxc/ui/app/detail-sheet#DetailSheetControls`.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* <DetailSheetControls sheetId="monitor" closeHref="/monitors" labels={labels} />
|
|
61
|
+
*/
|
|
62
|
+
export const DetailSheetControls = clientEntry("@sdxc/ui/app/detail-sheet#DetailSheetControls", function DetailSheetControls(handle) {
|
|
63
|
+
return () => {
|
|
64
|
+
let { closeHref, permalink, index, total, previousHref, nextHref, labels, keys } = handle.props;
|
|
65
|
+
let positioned = index !== undefined && total !== undefined;
|
|
66
|
+
return (_jsxs("div", { "data-slot": "detail-sheet-controls", mix: [
|
|
67
|
+
hstack({ gap: 0.5, align: "center" }),
|
|
68
|
+
shrink(0),
|
|
69
|
+
detailSheetKeys(keys ?? DEFAULT_KEY_SCOPE),
|
|
70
|
+
], children: [positioned ? (_jsxs(_Fragment, { children: [_jsxs("span", { "data-slot": "detail-sheet-position", mix: [
|
|
71
|
+
pi(1.5),
|
|
72
|
+
text("xs"),
|
|
73
|
+
fg("neutral.muted"),
|
|
74
|
+
tabularNums(),
|
|
75
|
+
raw({ whiteSpace: "nowrap" }),
|
|
76
|
+
], children: [_jsx("span", { mix: [visuallyHidden()], children: `${labels.position} ` }), `${index} / ${total}`] }), _jsx(NavLink, { link: "previous", rel: "prev", href: previousHref, label: labels.previous, keys: "k ArrowUp", children: _jsx(ChevronUpIcon, { size: 16, "aria-hidden": "true" }) }), _jsx(NavLink, { link: "next", rel: "next", href: nextHref, label: labels.next, keys: "j ArrowDown", children: _jsx(ChevronDownIcon, { size: 16, "aria-hidden": "true" }) })] })) : null, permalink ? (_jsxs("button", { type: "button", "data-slot": "detail-sheet-copy", "aria-label": labels.copyLink, title: labels.copyLink, mix: [
|
|
77
|
+
...controlStyle(),
|
|
78
|
+
when("&[data-copied]", fg("success")),
|
|
79
|
+
copyPermalink(permalink, labels.linkCopied),
|
|
80
|
+
], children: [_jsx(LinkIcon, { size: 16, "aria-hidden": "true" }), _jsx("span", { role: "status", mix: [visuallyHidden()] })] })) : null, _jsx(NavLink, { link: "close", href: closeHref, label: labels.close, keys: "Escape", children: _jsx(XIcon, { size: 16, "aria-hidden": "true" }) })] }));
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
/**
|
|
84
|
+
* Renders an `<aside>` named by its heading over the viewport, passing the pointer through
|
|
85
|
+
* to the page, with the panel docked to its inline end at `--ui-app-detail-sheet-width`, or
|
|
86
|
+
* a bottom sheet below 40rem. Never a modal; destructive actions confirm in the app's flow.
|
|
87
|
+
*
|
|
88
|
+
* @param handle Runtime handle carrying the `<aside>`'s props.
|
|
89
|
+
* @returns The render function producing the sheet's markup.
|
|
90
|
+
* @example
|
|
91
|
+
* {selected ? (
|
|
92
|
+
* <DetailSheet
|
|
93
|
+
* id="monitor"
|
|
94
|
+
* title={selected.name}
|
|
95
|
+
* closeHref="/monitors#monitor-42"
|
|
96
|
+
* permalink={`/monitors/${selected.id}`}
|
|
97
|
+
* position={{ index: 3, total: 84, previousHref: "/monitors?pane=41", nextHref: "/monitors?pane=43" }}
|
|
98
|
+
* labels={labels}
|
|
99
|
+
* >
|
|
100
|
+
* <PropertyList>…</PropertyList>
|
|
101
|
+
* </DetailSheet>
|
|
102
|
+
* ) : null}
|
|
103
|
+
*/
|
|
104
|
+
export function DetailSheet(handle) {
|
|
105
|
+
return () => {
|
|
106
|
+
let { id, title, description, closeHref, permalink, position, actions, footer, inset, keys, labels, children, mix, ...rest } = handle.props;
|
|
107
|
+
let titleId = `${id}-title`;
|
|
108
|
+
let edge = inset ? "var(--ui-app-inset-gap, 0.5rem)" : "0px";
|
|
109
|
+
return (_jsx("aside", { id: id, "aria-labelledby": titleId, tabIndex: -1, "data-slot": "detail-sheet", "data-inset": inset ? "" : undefined, ...rest, mix: mergeMix([
|
|
110
|
+
fixed(),
|
|
111
|
+
z(30),
|
|
112
|
+
raw({
|
|
113
|
+
insetBlockStart: "var(--ui-app-detail-sheet-top, 0px)",
|
|
114
|
+
insetBlockEnd: 0,
|
|
115
|
+
insetInline: 0,
|
|
116
|
+
}),
|
|
117
|
+
container(SHEET_CONTAINER),
|
|
118
|
+
pointerEvents("none"),
|
|
119
|
+
outline("none"),
|
|
120
|
+
], mix), children: _jsxs("div", { "data-slot": "detail-sheet-panel", mix: [
|
|
121
|
+
absolute(),
|
|
122
|
+
flex(),
|
|
123
|
+
raw({ flexDirection: "column" }),
|
|
124
|
+
pointerEvents("auto"),
|
|
125
|
+
bg(),
|
|
126
|
+
fg(),
|
|
127
|
+
text("sm"),
|
|
128
|
+
shadow("xl"),
|
|
129
|
+
overflow("hidden"),
|
|
130
|
+
/**
|
|
131
|
+
* Every edge and size lives in one rule with its narrow override, so the bottom
|
|
132
|
+
* sheet always wins below 40rem whatever order the stylesheet layers land in.
|
|
133
|
+
*/
|
|
134
|
+
raw({
|
|
135
|
+
insetBlockStart: edge,
|
|
136
|
+
insetBlockEnd: edge,
|
|
137
|
+
insetInlineEnd: edge,
|
|
138
|
+
insetInlineStart: "auto",
|
|
139
|
+
inlineSize: `min(var(--ui-app-detail-sheet-width, clamp(28rem, 36cqi, 36rem)), calc(100cqi - 2 * ${edge}))`,
|
|
140
|
+
borderInlineStart: "1px solid var(--ui-neutral-border)",
|
|
141
|
+
borderRadius: inset ? "var(--ui-app-inset-radius, 0.75rem)" : "0",
|
|
142
|
+
[NARROW_QUERY]: {
|
|
143
|
+
insetBlockStart: "auto",
|
|
144
|
+
insetInline: "0",
|
|
145
|
+
insetBlockEnd: "0",
|
|
146
|
+
inlineSize: "100%",
|
|
147
|
+
maxBlockSize: "85%",
|
|
148
|
+
borderInlineStart: "0",
|
|
149
|
+
borderBlockStart: "1px solid var(--ui-neutral-border)",
|
|
150
|
+
borderRadius: "var(--ui-app-inset-radius, 0.75rem) var(--ui-app-inset-radius, 0.75rem) 0 0",
|
|
151
|
+
},
|
|
152
|
+
}),
|
|
153
|
+
], children: [_jsxs("header", { "data-slot": "detail-sheet-header", mix: [
|
|
154
|
+
flex(),
|
|
155
|
+
items("start"),
|
|
156
|
+
justify("between"),
|
|
157
|
+
gap(3),
|
|
158
|
+
pi(4),
|
|
159
|
+
pb(3),
|
|
160
|
+
borderEdge("bottom", { width: 1, color: "neutral" }),
|
|
161
|
+
shrink(0),
|
|
162
|
+
], children: [_jsxs("div", { mix: [vstack({ gap: 0.5 }), minIs(0), raw({ paddingBlockStart: "0.25rem" })], children: [_jsx("h2", { id: titleId, mix: [m(0), text("base"), weight("semibold"), leading("1.5rem"), truncate()], children: title }), description ? (_jsx("p", { mix: [m(0), text("sm"), fg("neutral.muted")], children: description })) : null] }), _jsxs("div", { mix: [hstack({ gap: 1, align: "center" }), shrink(0), minBs("2rem")], children: [actions, _jsx(DetailSheetControls, { sheetId: id, closeHref: closeHref, permalink: permalink, index: position?.index, total: position?.total, previousHref: position?.previousHref ?? null, nextHref: position?.nextHref ?? null, labels: labels, keys: keys })] })] }), _jsx("div", { "data-slot": "detail-sheet-body", mix: [raw({ flex: "1 1 auto" }), minBs(0), overflow("auto"), p(4), vstack({ gap: 5 })], children: children }), footer ? (_jsx("footer", { "data-slot": "detail-sheet-footer", mix: [
|
|
163
|
+
flex(),
|
|
164
|
+
items("center"),
|
|
165
|
+
justify("end"),
|
|
166
|
+
gap(2),
|
|
167
|
+
pi(4),
|
|
168
|
+
pb(3),
|
|
169
|
+
shrink(0),
|
|
170
|
+
borderEdge("top", { width: 1, color: "neutral" }),
|
|
171
|
+
], children: footer })) : null] }) }));
|
|
172
|
+
};
|
|
173
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "remix/component/jsx-runtime";
|
|
2
2
|
import { bg } from "@sdxc/u/color";
|
|
3
3
|
import { rounded, transition } from "@sdxc/u/effects";
|
|
4
|
+
import { mergeMix } from "@sdxc/u/general";
|
|
4
5
|
import { bs, is } from "@sdxc/u/size";
|
|
5
6
|
import { when } from "@sdxc/u/state";
|
|
6
7
|
import { attrs } from "remix/component";
|
|
@@ -35,7 +36,7 @@ export function DropIndicator(handle) {
|
|
|
35
36
|
return () => {
|
|
36
37
|
let { isDropTarget, mix, ...rest } = handle.props;
|
|
37
38
|
let resolvedIsDropTarget = isDropTarget ?? DEFAULT_IS_DROP_TARGET;
|
|
38
|
-
return (_jsx("div", { ...rest, "data-drop-target": resolvedIsDropTarget ? "" : undefined, mix: [
|
|
39
|
+
return (_jsx("div", { ...rest, "data-drop-target": resolvedIsDropTarget ? "" : undefined, mix: mergeMix([
|
|
39
40
|
attrs({ "aria-hidden": DEFAULT_ARIA_HIDDEN }),
|
|
40
41
|
is("full"),
|
|
41
42
|
bs("0.125rem"),
|
|
@@ -48,7 +49,6 @@ export function DropIndicator(handle) {
|
|
|
48
49
|
*/
|
|
49
50
|
when("&:not([data-drop-target])", bg("transparent")),
|
|
50
51
|
when("&[data-drop-target]", bg("brand.solid")),
|
|
51
|
-
|
|
52
|
-
] }));
|
|
52
|
+
], mix) }));
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -52,7 +52,8 @@ export declare namespace DropZone {
|
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
54
54
|
* Renders a native `<input type="file">` wrapped in a `<label>` styled as a
|
|
55
|
-
* dashed, centered drop surface
|
|
55
|
+
* dashed, centered drop surface, children stacked top to bottom; the input stays visually hidden
|
|
56
|
+
* and focusable, so the whole surface is the control; a paired drag-and-drop mixin toggles the
|
|
56
57
|
* `data-drop-target` attribute this surface's styling reacts to.
|
|
57
58
|
*
|
|
58
59
|
* @param handle Runtime handle carrying the host `<label>`'s props.
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
|
|
2
|
+
import { visuallyHidden } from "@sdxc/u/a11y";
|
|
2
3
|
import { bg, border, fg, outline } from "@sdxc/u/color";
|
|
3
4
|
import { rounded } from "@sdxc/u/effects";
|
|
5
|
+
import { cursor, mergeMix } from "@sdxc/u/general";
|
|
4
6
|
import { flex, flexCol, gap, items, justify } from "@sdxc/u/layout";
|
|
5
7
|
import { minBs, pb, pi } from "@sdxc/u/size";
|
|
6
8
|
import { when } from "@sdxc/u/state";
|
|
@@ -9,7 +11,8 @@ import { interactiveTransition } from "../styles/interactive-transition.js";
|
|
|
9
11
|
import { warnIfNoAccessibleName } from "../utils/warn-if-no-accessible-name.js";
|
|
10
12
|
/**
|
|
11
13
|
* Renders a native `<input type="file">` wrapped in a `<label>` styled as a
|
|
12
|
-
* dashed, centered drop surface
|
|
14
|
+
* dashed, centered drop surface, children stacked top to bottom; the input stays visually hidden
|
|
15
|
+
* and focusable, so the whole surface is the control; a paired drag-and-drop mixin toggles the
|
|
13
16
|
* `data-drop-target` attribute this surface's styling reacts to.
|
|
14
17
|
*
|
|
15
18
|
* @param handle Runtime handle carrying the host `<label>`'s props.
|
|
@@ -31,7 +34,7 @@ export function DropZone(handle) {
|
|
|
31
34
|
return () => {
|
|
32
35
|
let { name, accept, multiple, capture, required, disabled, children, parts, mix, ...rest } = handle.props;
|
|
33
36
|
warnIfNoAccessibleName(handle.props, children, "DropZone: a zone with no visible instructional text needs an `aria-label` describing what it accepts — assistive technology has no accessible name to announce for its file input otherwise.");
|
|
34
|
-
return (_jsxs("label", { ...rest, "data-slot": "zone", mix: [
|
|
37
|
+
return (_jsxs("label", { ...rest, "data-slot": "zone", mix: mergeMix([
|
|
35
38
|
when("&:has(input:focus-visible)", outline({ color: "brand.ring", offset: 2 })),
|
|
36
39
|
flex(),
|
|
37
40
|
flexCol(),
|
|
@@ -44,11 +47,11 @@ export function DropZone(handle) {
|
|
|
44
47
|
pi(6),
|
|
45
48
|
pb(6),
|
|
46
49
|
textAlign("center"),
|
|
50
|
+
cursor("pointer"),
|
|
47
51
|
bg("neutral.tint"),
|
|
48
52
|
fg("neutral"),
|
|
49
53
|
when("&[data-drop-target]", [border("brand.ring"), bg("brand.tint")]),
|
|
50
54
|
interactiveTransition(),
|
|
51
|
-
|
|
52
|
-
], children: [children, _jsx("input", { type: "file", name: name, accept: accept, multiple: multiple, capture: capture, required: required, disabled: disabled, mix: parts?.input })] }));
|
|
55
|
+
], mix), children: [children, _jsx("input", { type: "file", name: name, accept: accept, multiple: multiple, capture: capture, required: required, disabled: disabled, mix: mergeMix([visuallyHidden()], parts?.input) })] }));
|
|
53
56
|
};
|
|
54
57
|
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The frame of a document editor: a sticky action bar (back, title, save status, Preview,
|
|
3
|
+
* the primary action), a main column held to a ~680px writing measure, and a properties
|
|
4
|
+
* sidebar that becomes a full-screen sheet behind a "Settings" button on a narrow screen.
|
|
5
|
+
*
|
|
6
|
+
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
7
|
+
* @copyright Sergio Xalambrí 2026
|
|
8
|
+
*/
|
|
9
|
+
import type { Handle, Props as TagProps, RemixNode } from "remix/component";
|
|
10
|
+
/**
|
|
11
|
+
* Prop types for {@link EditorLayout}.
|
|
12
|
+
*/
|
|
13
|
+
export declare namespace EditorLayout {
|
|
14
|
+
/** Every string the layout shows or announces. */
|
|
15
|
+
interface Labels {
|
|
16
|
+
/** The button that opens the sidebar on a narrow screen, such as "Settings". */
|
|
17
|
+
settings: string;
|
|
18
|
+
/** The sheet's close button, such as "Close settings". */
|
|
19
|
+
closeSettings: string;
|
|
20
|
+
/** The sidebar's landmark name and sheet heading, such as "Post settings". */
|
|
21
|
+
sidebar: string;
|
|
22
|
+
}
|
|
23
|
+
/** Props accepted by {@link EditorLayout}. */
|
|
24
|
+
interface Props extends Omit<TagProps<"div">, "title"> {
|
|
25
|
+
/** Where the back arrow leads, and its accessible name, such as "Posts". */
|
|
26
|
+
back?: {
|
|
27
|
+
href: string;
|
|
28
|
+
label: string;
|
|
29
|
+
};
|
|
30
|
+
/** The document's name in the bar, such as its title and type. */
|
|
31
|
+
title: RemixNode;
|
|
32
|
+
/** The persistence signal, usually a `SaveStatus`. */
|
|
33
|
+
status?: RemixNode;
|
|
34
|
+
/** A Preview link or button, before the primary action. */
|
|
35
|
+
preview?: RemixNode;
|
|
36
|
+
/** The publication action, such as a Publish button whose label carries its state. */
|
|
37
|
+
primary?: RemixNode;
|
|
38
|
+
/** The document's properties: status, slug, author, tags. */
|
|
39
|
+
sidebar?: RemixNode;
|
|
40
|
+
/**
|
|
41
|
+
* The `id` of the document's form, which ⌘S/Ctrl+S submits while focus is in it or in no
|
|
42
|
+
* other form, saving the way the form's own submit does.
|
|
43
|
+
*/
|
|
44
|
+
form?: string;
|
|
45
|
+
labels: Labels;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Renders the bar, the writing column and the sidebar. The sidebar is one `popover`
|
|
50
|
+
* element: beside the column on a wide container and a full-screen sheet when narrow,
|
|
51
|
+
* so the sheet opens and closes with no script.
|
|
52
|
+
*
|
|
53
|
+
* @param handle Runtime handle carrying the layout's props.
|
|
54
|
+
* @returns The render function producing the layout's markup.
|
|
55
|
+
* @example
|
|
56
|
+
* <EditorLayout
|
|
57
|
+
* back={{ href: "/posts", label: "Posts" }}
|
|
58
|
+
* title="Designing a calmer editor"
|
|
59
|
+
* status={<SaveStatus id="post-status" labels={…} />}
|
|
60
|
+
* preview={<LinkButton href={previewUrl} variant="ghost" size="sm">Preview</LinkButton>}
|
|
61
|
+
* primary={<Button size="sm" disabled={!hasChanges}>Publish</Button>}
|
|
62
|
+
* sidebar={<PropertyList>…</PropertyList>}
|
|
63
|
+
* form="post-form"
|
|
64
|
+
* labels={{ settings: "Settings", closeSettings: "Close settings", sidebar: "Post settings" }}
|
|
65
|
+
* >
|
|
66
|
+
* <PostBody />
|
|
67
|
+
* </EditorLayout>
|
|
68
|
+
*/
|
|
69
|
+
export declare function EditorLayout(handle: Handle<EditorLayout.Props>): () => import("remix/component").RemixElement;
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "remix/component/jsx-runtime";
|
|
2
|
+
import { ArrowLeftIcon, SlidersHorizontalIcon, XIcon } from "@sdxc/icons";
|
|
3
|
+
import { bg, borderEdge, fg, outline } from "@sdxc/u/color";
|
|
4
|
+
import { rounded } from "@sdxc/u/effects";
|
|
5
|
+
import { mergeMix, raw } from "@sdxc/u/general";
|
|
6
|
+
import { container, hstack, inlineFlex, items, justify, shrink, vstack } from "@sdxc/u/layout";
|
|
7
|
+
import { bs, is, m, minIs, p } from "@sdxc/u/size";
|
|
8
|
+
import { hover, when } from "@sdxc/u/state";
|
|
9
|
+
import { text, truncate, weight } from "@sdxc/u/typography";
|
|
10
|
+
import { Button } from "../components/button.js";
|
|
11
|
+
import { SaveShortcut } from "./save-bar.js";
|
|
12
|
+
/** Container the layout measures, so the sheet follows the editor's own width. */
|
|
13
|
+
const LAYOUT_CONTAINER = "ui-editor-layout";
|
|
14
|
+
/** Width at which the sidebar sits beside the writing column. */
|
|
15
|
+
const WIDE = `@container ${LAYOUT_CONTAINER} (min-width: 56rem)`;
|
|
16
|
+
/** Width below which the sidebar is a sheet. */
|
|
17
|
+
const NARROW = `@container ${LAYOUT_CONTAINER} (max-width: 55.999rem)`;
|
|
18
|
+
/**
|
|
19
|
+
* Renders the bar, the writing column and the sidebar. The sidebar is one `popover`
|
|
20
|
+
* element: beside the column on a wide container and a full-screen sheet when narrow,
|
|
21
|
+
* so the sheet opens and closes with no script.
|
|
22
|
+
*
|
|
23
|
+
* @param handle Runtime handle carrying the layout's props.
|
|
24
|
+
* @returns The render function producing the layout's markup.
|
|
25
|
+
* @example
|
|
26
|
+
* <EditorLayout
|
|
27
|
+
* back={{ href: "/posts", label: "Posts" }}
|
|
28
|
+
* title="Designing a calmer editor"
|
|
29
|
+
* status={<SaveStatus id="post-status" labels={…} />}
|
|
30
|
+
* preview={<LinkButton href={previewUrl} variant="ghost" size="sm">Preview</LinkButton>}
|
|
31
|
+
* primary={<Button size="sm" disabled={!hasChanges}>Publish</Button>}
|
|
32
|
+
* sidebar={<PropertyList>…</PropertyList>}
|
|
33
|
+
* form="post-form"
|
|
34
|
+
* labels={{ settings: "Settings", closeSettings: "Close settings", sidebar: "Post settings" }}
|
|
35
|
+
* >
|
|
36
|
+
* <PostBody />
|
|
37
|
+
* </EditorLayout>
|
|
38
|
+
*/
|
|
39
|
+
export function EditorLayout(handle) {
|
|
40
|
+
return () => {
|
|
41
|
+
let { back, title, status, preview, primary, sidebar, form, labels, children, mix, ...rest } = handle.props;
|
|
42
|
+
let sidebarId = `${handle.id}-sidebar`;
|
|
43
|
+
let sheetTitleId = `${handle.id}-sidebar-title`;
|
|
44
|
+
return (_jsxs("div", { ...rest, "data-slot": "editor-layout", mix: mergeMix([is("100%"), minIs(0), container(LAYOUT_CONTAINER)], mix), children: [_jsxs("header", { "data-slot": "editor-bar", mix: [
|
|
45
|
+
hstack({ gap: 2, align: "center" }),
|
|
46
|
+
raw({
|
|
47
|
+
position: "sticky",
|
|
48
|
+
insetBlockStart: "var(--ui-app-sticky-top, 0px)",
|
|
49
|
+
zIndex: 10,
|
|
50
|
+
flexWrap: "wrap",
|
|
51
|
+
minBlockSize: "var(--ui-app-header-height, 3.5rem)",
|
|
52
|
+
}),
|
|
53
|
+
p(2, 3),
|
|
54
|
+
bg(),
|
|
55
|
+
borderEdge("block-end", { color: "neutral", width: 1, style: "solid" }),
|
|
56
|
+
], children: [back ? (_jsx("a", { href: back.href, "aria-label": back.label, title: back.label, "data-slot": "editor-back", mix: [
|
|
57
|
+
inlineFlex(),
|
|
58
|
+
items("center"),
|
|
59
|
+
justify("center"),
|
|
60
|
+
shrink(0),
|
|
61
|
+
is(8),
|
|
62
|
+
bs(8),
|
|
63
|
+
rounded("md"),
|
|
64
|
+
fg("neutral"),
|
|
65
|
+
hover([bg("neutral.bg-tint"), fg("neutral.emphasis")]),
|
|
66
|
+
when("&:focus-visible", outline({ color: "brand.ring", offset: 2 })),
|
|
67
|
+
], children: _jsx(ArrowLeftIcon, { size: 16, "aria-hidden": "true" }) })) : null, _jsx("h1", { "data-slot": "editor-title", mix: [
|
|
68
|
+
m(0),
|
|
69
|
+
minIs(0),
|
|
70
|
+
raw({ flex: "1 1 8rem" }),
|
|
71
|
+
truncate(),
|
|
72
|
+
text("sm"),
|
|
73
|
+
weight("medium"),
|
|
74
|
+
fg("neutral.emphasis"),
|
|
75
|
+
], children: title }), _jsxs("div", { mix: [
|
|
76
|
+
hstack({ gap: 2, align: "center" }),
|
|
77
|
+
raw({ flexWrap: "wrap", marginInlineStart: "auto" }),
|
|
78
|
+
], children: [status, sidebar ? (_jsxs(Button, { type: "button", popovertarget: sidebarId, popovertargetaction: "show", variant: "ghost", color: "neutral", size: "sm", "data-slot": "editor-settings-toggle", mix: [raw({ [WIDE]: { display: "none" } })], children: [_jsx(SlidersHorizontalIcon, { size: 16, "aria-hidden": "true" }), labels.settings] })) : null, preview, primary, form ? _jsx(SaveShortcut, { form: form }) : null] })] }), _jsxs("div", { mix: [
|
|
79
|
+
raw({
|
|
80
|
+
display: "grid",
|
|
81
|
+
gridTemplateColumns: "minmax(0, 1fr)",
|
|
82
|
+
[WIDE]: {
|
|
83
|
+
gridTemplateColumns: sidebar
|
|
84
|
+
? "minmax(0, 1fr) var(--ui-editor-sidebar-width, 18rem)"
|
|
85
|
+
: "minmax(0, 1fr)",
|
|
86
|
+
},
|
|
87
|
+
}),
|
|
88
|
+
], children: [_jsx("div", { "data-slot": "editor-main", mix: [minIs(0), p(6, 4)], children: _jsx("div", { mix: [
|
|
89
|
+
raw({
|
|
90
|
+
maxInlineSize: "var(--ui-editor-measure, 42.5rem)",
|
|
91
|
+
marginInline: "auto",
|
|
92
|
+
}),
|
|
93
|
+
], children: children }) }), sidebar ? (_jsx("aside", { id: sidebarId, popover: "auto", "aria-labelledby": sheetTitleId, "data-slot": "editor-sidebar", mix: [
|
|
94
|
+
minIs(0),
|
|
95
|
+
bg(),
|
|
96
|
+
fg("neutral.emphasis"),
|
|
97
|
+
raw({
|
|
98
|
+
[NARROW]: {
|
|
99
|
+
inset: 0,
|
|
100
|
+
inlineSize: "100%",
|
|
101
|
+
blockSize: "100%",
|
|
102
|
+
maxInlineSize: "none",
|
|
103
|
+
maxBlockSize: "none",
|
|
104
|
+
margin: 0,
|
|
105
|
+
padding: 0,
|
|
106
|
+
border: 0,
|
|
107
|
+
overflowY: "auto",
|
|
108
|
+
overscrollBehavior: "contain",
|
|
109
|
+
},
|
|
110
|
+
[WIDE]: {
|
|
111
|
+
display: "block",
|
|
112
|
+
position: "static",
|
|
113
|
+
alignSelf: "stretch",
|
|
114
|
+
inset: "auto",
|
|
115
|
+
inlineSize: "auto",
|
|
116
|
+
blockSize: "auto",
|
|
117
|
+
maxBlockSize: "none",
|
|
118
|
+
overflow: "visible",
|
|
119
|
+
margin: 0,
|
|
120
|
+
padding: 0,
|
|
121
|
+
border: 0,
|
|
122
|
+
borderInlineStart: "1px solid var(--ui-neutral-border)",
|
|
123
|
+
color: "inherit",
|
|
124
|
+
background: "none",
|
|
125
|
+
},
|
|
126
|
+
}),
|
|
127
|
+
], children: _jsxs("div", { "data-slot": "editor-sidebar-body", mix: [
|
|
128
|
+
raw({
|
|
129
|
+
[WIDE]: {
|
|
130
|
+
position: "sticky",
|
|
131
|
+
insetBlockStart: "calc(var(--ui-app-sticky-top, 0px) + var(--ui-app-header-height, 3.5rem))",
|
|
132
|
+
maxBlockSize: "calc(100dvh - var(--ui-app-sticky-top, 0px) - var(--ui-app-header-height, 3.5rem))",
|
|
133
|
+
overflowY: "auto",
|
|
134
|
+
},
|
|
135
|
+
}),
|
|
136
|
+
], children: [_jsxs("div", { "data-slot": "editor-sidebar-header", mix: [
|
|
137
|
+
hstack({ gap: 2, align: "center", justify: "between" }),
|
|
138
|
+
p(2, 2, 2, 4),
|
|
139
|
+
borderEdge("block-end", { color: "neutral", width: 1, style: "solid" }),
|
|
140
|
+
raw({ [WIDE]: { display: "none" } }),
|
|
141
|
+
], children: [_jsx("p", { id: sheetTitleId, mix: [m(0), text("sm"), weight("semibold")], children: labels.sidebar }), _jsx(Button, { type: "button", popovertarget: sidebarId, popovertargetaction: "hide", variant: "ghost", color: "neutral", size: "sm", "aria-label": labels.closeSettings, children: _jsx(XIcon, { size: 16, "aria-hidden": "true" }) })] }), _jsx("div", { mix: [vstack({ gap: 4, align: "stretch" }), p(4)], children: sidebar })] }) })) : null] })] }));
|
|
142
|
+
};
|
|
143
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A placeholder for a product section that has nothing to show, typed by why:
|
|
3
|
+
* first run, no results, all cleared, no permission, or an error. The `kind`
|
|
4
|
+
* picks the icon, tone and frame; every word stays a prop, and a compact size
|
|
5
|
+
* fits inside a card or a table body.
|
|
6
|
+
*
|
|
7
|
+
* @author [Sergio Xalambrí](https://sergiodxa.com)
|
|
8
|
+
* @copyright Sergio Xalambrí 2026
|
|
9
|
+
*/
|
|
10
|
+
import type { Handle, Props as TagProps, RemixNode } from "remix/component";
|
|
11
|
+
import type { SemanticColor } from "../utils/semantic-color.js";
|
|
12
|
+
/**
|
|
13
|
+
* Prop types for {@link Empty} and its compound parts.
|
|
14
|
+
*/
|
|
15
|
+
export declare namespace Empty {
|
|
16
|
+
/**
|
|
17
|
+
* Semantic tone driving the panel's border, tint, and foreground color
|
|
18
|
+
* through the `--ui-*` variables for that color. Every part below the
|
|
19
|
+
* root reads its own color from the inherited `currentcolor` this sets.
|
|
20
|
+
*/
|
|
21
|
+
type Color = SemanticColor;
|
|
22
|
+
/**
|
|
23
|
+
* Why the section is empty: `first-run` (welcome, one create action), `no-results`
|
|
24
|
+
* (quote the query, offer Clear filters), `cleared` ("All caught up"), `permission`
|
|
25
|
+
* (name who grants access), `error` (Retry and the request id).
|
|
26
|
+
*/
|
|
27
|
+
type Kind = "first-run" | "no-results" | "cleared" | "permission" | "error";
|
|
28
|
+
/** `"compact"` tightens the panel and drops its frame, so it sits flush inside a card or a table body. */
|
|
29
|
+
type Size = "default" | "compact";
|
|
30
|
+
/**
|
|
31
|
+
* Props accepted by {@link Empty}.
|
|
32
|
+
*/
|
|
33
|
+
interface Props extends TagProps<"div"> {
|
|
34
|
+
/** Semantic tone of the panel. Default: the kind's tone, else `"neutral"`. */
|
|
35
|
+
color?: Color;
|
|
36
|
+
/** Why it is empty; draws that cause's icon, tone and frame. */
|
|
37
|
+
kind?: Kind;
|
|
38
|
+
/**
|
|
39
|
+
* Icon a `kind` draws in place of its default, or `null` for none. Leave
|
|
40
|
+
* it unset and pass {@link Empty.Icon} yourself when `kind` is unset.
|
|
41
|
+
*/
|
|
42
|
+
icon?: RemixNode;
|
|
43
|
+
/** Default: `"default"`. */
|
|
44
|
+
size?: Size;
|
|
45
|
+
/** The panel's compound parts: {@link Empty.Icon}, {@link Empty.Title}, {@link Empty.Description}, {@link Empty.Action}, or any other content. */
|
|
46
|
+
children: RemixNode;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Props accepted by {@link Empty.Icon}.
|
|
50
|
+
*/
|
|
51
|
+
interface IconProps extends TagProps<"div"> {
|
|
52
|
+
/** Icon graphic rendered inside the icon well. */
|
|
53
|
+
children: RemixNode;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Props accepted by {@link Empty.Title}. The rendered tag depends on the
|
|
57
|
+
* nearest ambient heading level, falling back to `<h1>` where nothing
|
|
58
|
+
* supplies one; every native heading-element attribute still applies.
|
|
59
|
+
*/
|
|
60
|
+
interface TitleProps extends TagProps<"h1"> {
|
|
61
|
+
/** Heading copy for the empty state. */
|
|
62
|
+
children: RemixNode;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Props accepted by {@link Empty.Description}.
|
|
66
|
+
*/
|
|
67
|
+
interface DescriptionProps extends TagProps<"p"> {
|
|
68
|
+
/** Supporting copy elaborating on the empty state. */
|
|
69
|
+
children: RemixNode;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Props accepted by {@link Empty.Action}.
|
|
73
|
+
*/
|
|
74
|
+
interface ActionProps extends TagProps<"div"> {
|
|
75
|
+
/** Call-to-action content, typically a button or link. */
|
|
76
|
+
children: RemixNode;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Props accepted by {@link Empty.Query}.
|
|
80
|
+
*/
|
|
81
|
+
interface QueryProps extends TagProps<"q"> {
|
|
82
|
+
/** The search text or filter the reader typed, verbatim. */
|
|
83
|
+
children: RemixNode;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Props accepted by {@link Empty.RequestId}.
|
|
87
|
+
*/
|
|
88
|
+
interface RequestIdProps extends TagProps<"p"> {
|
|
89
|
+
/** Visible label before the id, such as "Request ID". */
|
|
90
|
+
label: string;
|
|
91
|
+
/** The id support needs to find the failed request. */
|
|
92
|
+
children: RemixNode;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Renders the empty-state panel, a column tinted to its color role. A `kind`
|
|
97
|
+
* leads with its own icon and frame: a dashed outline for a first run, no
|
|
98
|
+
* frame for no results or a cleared list, a solid one for permission or error.
|
|
99
|
+
*
|
|
100
|
+
* @param handle Runtime handle carrying the host `<div>`'s props.
|
|
101
|
+
* @returns The render function producing the panel's markup.
|
|
102
|
+
* @example
|
|
103
|
+
* <Empty kind="first-run">
|
|
104
|
+
* <Empty.Title>{t("monitors.empty.title")}</Empty.Title>
|
|
105
|
+
* <Empty.Description>{t("monitors.empty.description")}</Empty.Description>
|
|
106
|
+
* <Empty.Action><Button>{t("monitors.empty.create")}</Button></Empty.Action>
|
|
107
|
+
* </Empty>
|
|
108
|
+
* @example
|
|
109
|
+
* <Empty kind="no-results" size="compact">
|
|
110
|
+
* <Empty.Title>{t("search.none")}</Empty.Title>
|
|
111
|
+
* <Empty.Description>{t("search.noMatch")} <Empty.Query>{query}</Empty.Query></Empty.Description>
|
|
112
|
+
* <Empty.Action><Button href="?">{t("filters.clear")}</Button></Empty.Action>
|
|
113
|
+
* </Empty>
|
|
114
|
+
* @example
|
|
115
|
+
* <Empty kind="error">
|
|
116
|
+
* <Empty.Title>{t("errors.load")}</Empty.Title>
|
|
117
|
+
* <Empty.RequestId label={t("errors.requestId")}>{requestId}</Empty.RequestId>
|
|
118
|
+
* </Empty>
|
|
119
|
+
*/
|
|
120
|
+
export declare function Empty(handle: Handle<Empty.Props>): () => import("remix/component").RemixElement;
|
|
121
|
+
export declare namespace Empty {
|
|
122
|
+
var Icon: (handle: Handle<Empty.IconProps>) => () => import("remix/component").RemixElement;
|
|
123
|
+
var Title: (handle: Handle<Empty.TitleProps>) => () => import("remix/component").RemixElement;
|
|
124
|
+
var Description: (handle: Handle<Empty.DescriptionProps>) => () => import("remix/component").RemixElement;
|
|
125
|
+
var Action: (handle: Handle<Empty.ActionProps>) => () => import("remix/component").RemixElement;
|
|
126
|
+
var Query: (handle: Handle<Empty.QueryProps>) => () => import("remix/component").RemixElement;
|
|
127
|
+
var RequestId: (handle: Handle<Empty.RequestIdProps>) => () => import("remix/component").RemixElement;
|
|
128
|
+
}
|