@atmos.build/ui 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -0
- package/dist/components/alert-dialog.d.ts +14 -0
- package/dist/components/alert-dialog.js +40 -0
- package/dist/components/at-search.d.ts +35 -0
- package/dist/components/at-search.js +57 -0
- package/dist/components/attachment-thumbnail-stack.d.ts +13 -0
- package/dist/components/attachment-thumbnail-stack.js +23 -0
- package/dist/components/audio-preview.d.ts +33 -0
- package/dist/components/audio-preview.js +176 -0
- package/dist/components/avatar-uploader.d.ts +29 -0
- package/dist/components/avatar-uploader.js +67 -0
- package/dist/components/avatar.d.ts +12 -0
- package/dist/components/avatar.js +38 -0
- package/dist/components/badge.d.ts +9 -0
- package/dist/components/badge.js +25 -0
- package/dist/components/button-group.d.ts +12 -0
- package/dist/components/button-group.js +29 -0
- package/dist/components/button.d.ts +10 -0
- package/dist/components/button.js +42 -0
- package/dist/components/calendar.d.ts +26 -0
- package/dist/components/calendar.js +154 -0
- package/dist/components/channel-list.d.ts +33 -0
- package/dist/components/channel-list.js +40 -0
- package/dist/components/charts/area-chart.d.ts +2 -0
- package/dist/components/charts/area-chart.js +5 -0
- package/dist/components/charts/bar-chart.d.ts +2 -0
- package/dist/components/charts/bar-chart.js +58 -0
- package/dist/components/charts/colors.d.ts +2 -0
- package/dist/components/charts/colors.js +42 -0
- package/dist/components/charts/hover.d.ts +20 -0
- package/dist/components/charts/hover.js +31 -0
- package/dist/components/charts/index.d.ts +10 -0
- package/dist/components/charts/index.js +9 -0
- package/dist/components/charts/layout.d.ts +35 -0
- package/dist/components/charts/layout.js +101 -0
- package/dist/components/charts/legend.d.ts +6 -0
- package/dist/components/charts/legend.js +7 -0
- package/dist/components/charts/line-area-chart.d.ts +4 -0
- package/dist/components/charts/line-area-chart.js +86 -0
- package/dist/components/charts/line-chart.d.ts +2 -0
- package/dist/components/charts/line-chart.js +5 -0
- package/dist/components/charts/pie-chart.d.ts +2 -0
- package/dist/components/charts/pie-chart.js +22 -0
- package/dist/components/charts/radar-chart.d.ts +2 -0
- package/dist/components/charts/radar-chart.js +29 -0
- package/dist/components/charts/radial-chart.d.ts +2 -0
- package/dist/components/charts/radial-chart.js +19 -0
- package/dist/components/charts/scatter-chart.d.ts +2 -0
- package/dist/components/charts/scatter-chart.js +16 -0
- package/dist/components/charts/story-data.d.ts +24 -0
- package/dist/components/charts/story-data.js +48 -0
- package/dist/components/charts/types.d.ts +43 -0
- package/dist/components/charts/types.js +1 -0
- package/dist/components/checkbox.d.ts +4 -0
- package/dist/components/checkbox.js +10 -0
- package/dist/components/chip.d.ts +25 -0
- package/dist/components/chip.js +36 -0
- package/dist/components/code-editor-theme.d.ts +19 -0
- package/dist/components/code-editor-theme.js +100 -0
- package/dist/components/collapsible-section-header.d.ts +82 -0
- package/dist/components/collapsible-section-header.js +82 -0
- package/dist/components/collection-view/collection-view-group-settings.d.ts +73 -0
- package/dist/components/collection-view/collection-view-group-settings.js +55 -0
- package/dist/components/collection-view/collection-view-settings.d.ts +115 -0
- package/dist/components/collection-view/collection-view-settings.js +146 -0
- package/dist/components/collection-view/collection-view.d.ts +87 -0
- package/dist/components/collection-view/collection-view.js +95 -0
- package/dist/components/collection-view/index.d.ts +6 -0
- package/dist/components/collection-view/index.js +6 -0
- package/dist/components/collection-view/use-collection-detail-navigation.d.ts +11 -0
- package/dist/components/collection-view/use-collection-detail-navigation.js +12 -0
- package/dist/components/collection-view/use-collection-escape.d.ts +9 -0
- package/dist/components/collection-view/use-collection-escape.js +20 -0
- package/dist/components/collection-view/use-collection-selection.d.ts +42 -0
- package/dist/components/collection-view/use-collection-selection.js +203 -0
- package/dist/components/color-picker.d.ts +18 -0
- package/dist/components/color-picker.js +77 -0
- package/dist/components/color-swatch-list.d.ts +16 -0
- package/dist/components/color-swatch-list.js +60 -0
- package/dist/components/combobox/combobox.d.ts +4 -0
- package/dist/components/combobox/combobox.js +70 -0
- package/dist/components/combobox/compound.d.ts +68 -0
- package/dist/components/combobox/compound.js +151 -0
- package/dist/components/combobox/context.d.ts +34 -0
- package/dist/components/combobox/context.js +123 -0
- package/dist/components/combobox/create-step.d.ts +12 -0
- package/dist/components/combobox/create-step.js +8 -0
- package/dist/components/combobox/index.d.ts +10 -0
- package/dist/components/combobox/index.js +5 -0
- package/dist/components/combobox/inline-create-form.d.ts +24 -0
- package/dist/components/combobox/inline-create-form.js +43 -0
- package/dist/components/combobox/types.d.ts +57 -0
- package/dist/components/combobox/types.js +10 -0
- package/dist/components/command.d.ts +35 -0
- package/dist/components/command.js +76 -0
- package/dist/components/comment-pin.d.ts +13 -0
- package/dist/components/comment-pin.js +33 -0
- package/dist/components/confidence-meter.d.ts +11 -0
- package/dist/components/confidence-meter.js +24 -0
- package/dist/components/context-menu.d.ts +31 -0
- package/dist/components/context-menu.js +54 -0
- package/dist/components/copy-button.d.ts +12 -0
- package/dist/components/copy-button.js +32 -0
- package/dist/components/date-picker.d.ts +29 -0
- package/dist/components/date-picker.js +86 -0
- package/dist/components/date-tile.d.ts +11 -0
- package/dist/components/date-tile.js +16 -0
- package/dist/components/date-time-picker.d.ts +25 -0
- package/dist/components/date-time-picker.js +153 -0
- package/dist/components/detail-breadcrumb-utils.d.ts +2 -0
- package/dist/components/detail-breadcrumb-utils.js +18 -0
- package/dist/components/detail-nav-bar.d.ts +28 -0
- package/dist/components/detail-nav-bar.js +28 -0
- package/dist/components/detail-top-bar.d.ts +49 -0
- package/dist/components/detail-top-bar.js +41 -0
- package/dist/components/dialog.d.ts +22 -0
- package/dist/components/dialog.js +51 -0
- package/dist/components/dropdown-menu.d.ts +29 -0
- package/dist/components/dropdown-menu.js +52 -0
- package/dist/components/editable-doc-title.d.ts +17 -0
- package/dist/components/editable-doc-title.js +147 -0
- package/dist/components/empty-state.d.ts +12 -0
- package/dist/components/empty-state.js +6 -0
- package/dist/components/filter-condition-editor.d.ts +18 -0
- package/dist/components/filter-condition-editor.js +102 -0
- package/dist/components/form-dialog.d.ts +30 -0
- package/dist/components/form-dialog.js +52 -0
- package/dist/components/formula-editor.d.ts +18 -0
- package/dist/components/formula-editor.js +154 -0
- package/dist/components/hover-card.d.ts +52 -0
- package/dist/components/hover-card.js +51 -0
- package/dist/components/icon-button.d.ts +15 -0
- package/dist/components/icon-button.js +18 -0
- package/dist/components/inline-alert.d.ts +11 -0
- package/dist/components/inline-alert.js +17 -0
- package/dist/components/input.d.ts +3 -0
- package/dist/components/input.js +7 -0
- package/dist/components/kanban-board.d.ts +27 -0
- package/dist/components/kanban-board.js +145 -0
- package/dist/components/kbd.d.ts +3 -0
- package/dist/components/kbd.js +8 -0
- package/dist/components/label.d.ts +4 -0
- package/dist/components/label.js +9 -0
- package/dist/components/markdown-editor/index.d.ts +4 -0
- package/dist/components/markdown-editor/index.js +2 -0
- package/dist/components/markdown-editor/markdown-editor.d.ts +16 -0
- package/dist/components/markdown-editor/markdown-editor.js +53 -0
- package/dist/components/markdown-editor/serialize.d.ts +12 -0
- package/dist/components/markdown-editor/serialize.js +122 -0
- package/dist/components/markdown-editor/vim.d.ts +8 -0
- package/dist/components/markdown-editor/vim.js +394 -0
- package/dist/components/metric-grid.d.ts +41 -0
- package/dist/components/metric-grid.js +39 -0
- package/dist/components/microphone-priority.d.ts +29 -0
- package/dist/components/microphone-priority.js +15 -0
- package/dist/components/middle-truncate.d.ts +6 -0
- package/dist/components/middle-truncate.js +15 -0
- package/dist/components/multi-combobox.d.ts +48 -0
- package/dist/components/multi-combobox.js +221 -0
- package/dist/components/naut-avatar-engine.d.ts +83 -0
- package/dist/components/naut-avatar-engine.js +803 -0
- package/dist/components/naut-avatar.d.ts +31 -0
- package/dist/components/naut-avatar.js +108 -0
- package/dist/components/navigable-list.d.ts +4 -0
- package/dist/components/navigable-list.js +20 -0
- package/dist/components/note-icon-picker.d.ts +20 -0
- package/dist/components/note-icon-picker.js +84 -0
- package/dist/components/note-icon.d.ts +690 -0
- package/dist/components/note-icon.js +353 -0
- package/dist/components/note-row.d.ts +33 -0
- package/dist/components/note-row.js +29 -0
- package/dist/components/overlapping-dots.d.ts +10 -0
- package/dist/components/overlapping-dots.js +13 -0
- package/dist/components/overview-card.d.ts +12 -0
- package/dist/components/overview-card.js +9 -0
- package/dist/components/panel-header.d.ts +8 -0
- package/dist/components/panel-header.js +6 -0
- package/dist/components/panel-section-states.d.ts +9 -0
- package/dist/components/panel-section-states.js +10 -0
- package/dist/components/person-avatar.d.ts +10 -0
- package/dist/components/person-avatar.js +23 -0
- package/dist/components/photo-avatar.d.ts +11 -0
- package/dist/components/photo-avatar.js +24 -0
- package/dist/components/picker-field.d.ts +23 -0
- package/dist/components/picker-field.js +24 -0
- package/dist/components/popover-stack.d.ts +26 -0
- package/dist/components/popover-stack.js +89 -0
- package/dist/components/popover.d.ts +12 -0
- package/dist/components/popover.js +31 -0
- package/dist/components/portal-login-barrier.d.ts +12 -0
- package/dist/components/portal-login-barrier.js +41 -0
- package/dist/components/presence-dot.d.ts +8 -0
- package/dist/components/presence-dot.js +15 -0
- package/dist/components/presence-overlay.d.ts +27 -0
- package/dist/components/presence-overlay.js +34 -0
- package/dist/components/property-list.d.ts +64 -0
- package/dist/components/property-list.js +313 -0
- package/dist/components/property-panel.d.ts +54 -0
- package/dist/components/property-panel.js +87 -0
- package/dist/components/property-selector.d.ts +36 -0
- package/dist/components/property-selector.js +141 -0
- package/dist/components/provenance-chip.d.ts +12 -0
- package/dist/components/provenance-chip.js +17 -0
- package/dist/components/qr-code.d.ts +13 -0
- package/dist/components/qr-code.js +42 -0
- package/dist/components/qr-encode.d.ts +2 -0
- package/dist/components/qr-encode.js +469 -0
- package/dist/components/quantity-stepper.d.ts +25 -0
- package/dist/components/quantity-stepper.js +43 -0
- package/dist/components/radio-group.d.ts +5 -0
- package/dist/components/radio-group.js +13 -0
- package/dist/components/rename-dialog.d.ts +19 -0
- package/dist/components/rename-dialog.js +35 -0
- package/dist/components/row-surface.d.ts +1 -0
- package/dist/components/row-surface.js +5 -0
- package/dist/components/row-trailing.d.ts +30 -0
- package/dist/components/row-trailing.js +59 -0
- package/dist/components/run-status-badge.d.ts +16 -0
- package/dist/components/run-status-badge.js +43 -0
- package/dist/components/scroll-area.d.ts +5 -0
- package/dist/components/scroll-area.js +12 -0
- package/dist/components/select.d.ts +15 -0
- package/dist/components/select.js +39 -0
- package/dist/components/selectable-card.d.ts +33 -0
- package/dist/components/selectable-card.js +66 -0
- package/dist/components/separator.d.ts +3 -0
- package/dist/components/separator.js +8 -0
- package/dist/components/settings-dialog-shell.d.ts +46 -0
- package/dist/components/settings-dialog-shell.js +48 -0
- package/dist/components/shimmer-text.d.ts +8 -0
- package/dist/components/shimmer-text.js +26 -0
- package/dist/components/side-panel-tokens.d.ts +27 -0
- package/dist/components/side-panel-tokens.js +26 -0
- package/dist/components/side-panel.d.ts +94 -0
- package/dist/components/side-panel.js +106 -0
- package/dist/components/skeleton.d.ts +2 -0
- package/dist/components/skeleton.js +6 -0
- package/dist/components/sortable.d.ts +65 -0
- package/dist/components/sortable.js +110 -0
- package/dist/components/spec-strip.d.ts +18 -0
- package/dist/components/spec-strip.js +15 -0
- package/dist/components/speech-playback.d.ts +25 -0
- package/dist/components/speech-playback.js +35 -0
- package/dist/components/sql-editor.d.ts +13 -0
- package/dist/components/sql-editor.js +228 -0
- package/dist/components/stat-tile.d.ts +7 -0
- package/dist/components/stat-tile.js +6 -0
- package/dist/components/status-badge.d.ts +17 -0
- package/dist/components/status-badge.js +8 -0
- package/dist/components/status-tone.d.ts +9 -0
- package/dist/components/status-tone.js +10 -0
- package/dist/components/sticky-header-fade.d.ts +8 -0
- package/dist/components/sticky-header-fade.js +11 -0
- package/dist/components/swatch-button.d.ts +14 -0
- package/dist/components/swatch-button.js +25 -0
- package/dist/components/switch.d.ts +6 -0
- package/dist/components/switch.js +9 -0
- package/dist/components/system-load/index.d.ts +6 -0
- package/dist/components/system-load/index.js +6 -0
- package/dist/components/system-load/load-block.d.ts +20 -0
- package/dist/components/system-load/load-block.js +23 -0
- package/dist/components/system-load/load-grid.d.ts +16 -0
- package/dist/components/system-load/load-grid.js +23 -0
- package/dist/components/system-load/load-meter.d.ts +25 -0
- package/dist/components/system-load/load-meter.js +29 -0
- package/dist/components/system-load/load-tone.d.ts +21 -0
- package/dist/components/system-load/load-tone.js +29 -0
- package/dist/components/system-load/meter-row.d.ts +31 -0
- package/dist/components/system-load/meter-row.js +29 -0
- package/dist/components/system-load/resource-meter.d.ts +19 -0
- package/dist/components/system-load/resource-meter.js +15 -0
- package/dist/components/tab-title-bar.d.ts +12 -0
- package/dist/components/tab-title-bar.js +9 -0
- package/dist/components/table.d.ts +10 -0
- package/dist/components/table.js +29 -0
- package/dist/components/tabs.d.ts +11 -0
- package/dist/components/tabs.js +97 -0
- package/dist/components/template-chip-input.d.ts +36 -0
- package/dist/components/template-chip-input.js +271 -0
- package/dist/components/template-input.d.ts +24 -0
- package/dist/components/template-input.js +57 -0
- package/dist/components/terminal-spinner.d.ts +11 -0
- package/dist/components/terminal-spinner.js +48 -0
- package/dist/components/textarea.d.ts +3 -0
- package/dist/components/textarea.js +7 -0
- package/dist/components/time-column.d.ts +24 -0
- package/dist/components/time-column.js +60 -0
- package/dist/components/timestamped-transcript.d.ts +38 -0
- package/dist/components/timestamped-transcript.js +29 -0
- package/dist/components/timezone-picker.d.ts +22 -0
- package/dist/components/timezone-picker.js +60 -0
- package/dist/components/tooltip.d.ts +11 -0
- package/dist/components/tooltip.js +29 -0
- package/dist/components/transcription-overlay.d.ts +47 -0
- package/dist/components/transcription-overlay.js +30 -0
- package/dist/components/usage-bar.d.ts +17 -0
- package/dist/components/usage-bar.js +26 -0
- package/dist/components/view-query-bar.d.ts +13 -0
- package/dist/components/view-query-bar.js +13 -0
- package/dist/components/view-query-controls.d.ts +159 -0
- package/dist/components/view-query-controls.js +109 -0
- package/dist/components/view-save-menu.d.ts +20 -0
- package/dist/components/view-save-menu.js +13 -0
- package/dist/components/view-sort-editor.d.ts +40 -0
- package/dist/components/view-sort-editor.js +47 -0
- package/dist/components/voice-line.d.ts +37 -0
- package/dist/components/voice-line.js +293 -0
- package/dist/components/weekly-schedule-editor.d.ts +15 -0
- package/dist/components/weekly-schedule-editor.js +28 -0
- package/dist/flow/canvas/canvas-frame.d.ts +160 -0
- package/dist/flow/canvas/canvas-frame.js +521 -0
- package/dist/flow/canvas/collaborator-layer.d.ts +12 -0
- package/dist/flow/canvas/collaborator-layer.js +43 -0
- package/dist/flow/canvas/connector-edge.d.ts +22 -0
- package/dist/flow/canvas/connector-edge.js +61 -0
- package/dist/flow/canvas/editor-context.d.ts +23 -0
- package/dist/flow/canvas/editor-context.js +6 -0
- package/dist/flow/canvas/graph-core.d.ts +60 -0
- package/dist/flow/canvas/graph-core.js +296 -0
- package/dist/flow/canvas/minimap-sticky-overlay.d.ts +4 -0
- package/dist/flow/canvas/minimap-sticky-overlay.js +45 -0
- package/dist/flow/canvas/node-card.d.ts +46 -0
- package/dist/flow/canvas/node-card.js +56 -0
- package/dist/flow/canvas/node-library.d.ts +40 -0
- package/dist/flow/canvas/node-library.js +54 -0
- package/dist/flow/canvas/sticky-notes.d.ts +25 -0
- package/dist/flow/canvas/sticky-notes.js +101 -0
- package/dist/flow/collaborative-graph-presence.d.ts +28 -0
- package/dist/flow/collaborative-graph-presence.js +55 -0
- package/dist/flow/collaborative-graph-sync.d.ts +40 -0
- package/dist/flow/collaborative-graph-sync.js +127 -0
- package/dist/flow/editor/adapter.d.ts +64 -0
- package/dist/flow/editor/adapter.js +1 -0
- package/dist/flow/editor/command-registry.d.ts +10 -0
- package/dist/flow/editor/command-registry.js +35 -0
- package/dist/flow/editor/dag-canvas.d.ts +18 -0
- package/dist/flow/editor/dag-canvas.js +33 -0
- package/dist/flow/editor/flow-editor.d.ts +54 -0
- package/dist/flow/editor/flow-editor.js +199 -0
- package/dist/flow/editor/issues-popover.d.ts +11 -0
- package/dist/flow/editor/issues-popover.js +70 -0
- package/dist/flow/editor/library-rail.d.ts +19 -0
- package/dist/flow/editor/library-rail.js +25 -0
- package/dist/flow/editor/make-controller.d.ts +18 -0
- package/dist/flow/editor/make-controller.js +44 -0
- package/dist/flow/editor/node-chip.d.ts +2 -0
- package/dist/flow/editor/node-chip.js +16 -0
- package/dist/flow/editor/save-publish-bar.d.ts +27 -0
- package/dist/flow/editor/save-publish-bar.js +14 -0
- package/dist/flow/editor/settings-dialog.d.ts +11 -0
- package/dist/flow/editor/settings-dialog.js +11 -0
- package/dist/flow/editor/settings-shell.d.ts +21 -0
- package/dist/flow/editor/settings-shell.js +20 -0
- package/dist/flow/editor/side-rail.d.ts +22 -0
- package/dist/flow/editor/side-rail.js +15 -0
- package/dist/flow/editor/use-dag-editor.d.ts +94 -0
- package/dist/flow/editor/use-dag-editor.js +502 -0
- package/dist/flow/index.d.ts +25 -0
- package/dist/flow/index.js +25 -0
- package/dist/flow/presence-motion.d.ts +10 -0
- package/dist/flow/presence-motion.js +88 -0
- package/dist/flow/styles.css +1 -0
- package/dist/flow/use-collaborative-graph.d.ts +61 -0
- package/dist/flow/use-collaborative-graph.js +396 -0
- package/dist/flow/use-debounced-value.d.ts +1 -0
- package/dist/flow/use-debounced-value.js +10 -0
- package/dist/hooks/use-detail-nav.d.ts +11 -0
- package/dist/hooks/use-detail-nav.js +49 -0
- package/dist/hooks/use-flush-on-hide.d.ts +1 -0
- package/dist/hooks/use-flush-on-hide.js +21 -0
- package/dist/hooks/use-media-query.d.ts +1 -0
- package/dist/hooks/use-media-query.js +20 -0
- package/dist/hooks/use-virtualizer.d.ts +1 -0
- package/dist/hooks/use-virtualizer.js +1 -0
- package/dist/index.d.ts +139 -0
- package/dist/index.js +139 -0
- package/dist/lib/brand-style.d.ts +6 -0
- package/dist/lib/brand-style.js +16 -0
- package/dist/lib/cn.d.ts +2 -0
- package/dist/lib/cn.js +5 -0
- package/dist/lib/composited-glint.d.ts +7 -0
- package/dist/lib/composited-glint.js +98 -0
- package/dist/lib/date-time-format.d.ts +2 -0
- package/dist/lib/date-time-format.js +21 -0
- package/dist/lib/disclosure-state.d.ts +11 -0
- package/dist/lib/disclosure-state.js +22 -0
- package/dist/lib/label-swatches.d.ts +10 -0
- package/dist/lib/label-swatches.js +24 -0
- package/dist/lib/local-ui-state.d.ts +10 -0
- package/dist/lib/local-ui-state.js +95 -0
- package/dist/lib/parse-loose-datetime.d.ts +1 -0
- package/dist/lib/parse-loose-datetime.js +180 -0
- package/dist/lib/parse-loose-time.d.ts +6 -0
- package/dist/lib/parse-loose-time.js +53 -0
- package/dist/lib/parse-loose.d.ts +1 -0
- package/dist/lib/parse-loose.js +170 -0
- package/dist/lib/react-19-jsx.d.ts +8 -0
- package/dist/lib/react-19-jsx.js +1 -0
- package/dist/lib/view-chrome.d.ts +5 -0
- package/dist/lib/view-chrome.js +5 -0
- package/dist/lib/view-query/config.d.ts +26 -0
- package/dist/lib/view-query/config.js +162 -0
- package/dist/lib/view-query/evaluate.d.ts +11 -0
- package/dist/lib/view-query/evaluate.js +196 -0
- package/dist/lib/view-query/group-order.d.ts +25 -0
- package/dist/lib/view-query/group-order.js +49 -0
- package/dist/lib/view-query/index.d.ts +6 -0
- package/dist/lib/view-query/index.js +6 -0
- package/dist/lib/view-query/model.d.ts +34 -0
- package/dist/lib/view-query/model.js +88 -0
- package/dist/lib/view-query/sort.d.ts +7 -0
- package/dist/lib/view-query/sort.js +30 -0
- package/dist/lib/view-query/types.d.ts +70 -0
- package/dist/lib/view-query/types.js +12 -0
- package/dist/lib/weekly-schedule.d.ts +8 -0
- package/dist/lib/weekly-schedule.js +10 -0
- package/dist/mcp-app/index.d.ts +4 -0
- package/dist/mcp-app/index.js +3 -0
- package/dist/mcp-app/shadcn.css +629 -0
- package/dist/mcp-app/styles.css +72 -0
- package/dist/mcp-app/theme.d.ts +2 -0
- package/dist/mcp-app/theme.js +62 -0
- package/dist/mcp-app/use-atmos-mcp-app.d.ts +109 -0
- package/dist/mcp-app/use-atmos-mcp-app.js +30 -0
- package/dist/mcp-app/vite.d.ts +7 -0
- package/dist/mcp-app/vite.js +30 -0
- package/dist/tokens/index.d.ts +7 -0
- package/dist/tokens/index.js +7 -0
- package/dist/tokens/semantic.css +110 -0
- package/dist/tokens/tokens.css +195 -0
- package/package.json +98 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import './lib/react-19-jsx.js';
|
|
2
|
+
export { AttachmentThumbnailStack, type AttachmentThumbnailStackProps, } from './components/attachment-thumbnail-stack.js';
|
|
3
|
+
export { AudioPreview, type AudioPreviewProps, type AudioPreviewLabels, type AudioPreviewSourceResolver, } from './components/audio-preview.js';
|
|
4
|
+
export { AvatarUploader, type AvatarUploaderLabels, type AvatarUploaderProps, } from './components/avatar-uploader.js';
|
|
5
|
+
export { Avatar, avatarVariants, initialsFromName, type AvatarProps } from './components/avatar.js';
|
|
6
|
+
export { Badge, badgeVariants } from './components/badge.js';
|
|
7
|
+
export { AreaChart, BarChart, ChartLegend, LineChart, PieChart, RadarChart, RadialChart, ScatterChart, chartColor, type BarChartProps, type CartesianChartProps, type CategoricalChartProps, type ChartAxisOptions, type ChartDatum, type ChartLegendItem, type ScatterChartProps, } from './components/charts/index.js';
|
|
8
|
+
export { ChannelBadge, ChannelListRow, channelIcon, channelListRowVariants, type ChannelBadgeProps, type ChannelListRowProps, type ChannelKind, } from './components/channel-list.js';
|
|
9
|
+
export { Button, buttonVariants } from './components/button.js';
|
|
10
|
+
export { Chip, chipVariants, type ChipProps, type ChipLabelProps, type ChipRemoveProps, } from './components/chip.js';
|
|
11
|
+
export * from './components/collapsible-section-header.js';
|
|
12
|
+
export * from './components/icon-button.js';
|
|
13
|
+
export * from './components/note-icon.js';
|
|
14
|
+
export * from './components/note-icon-picker.js';
|
|
15
|
+
export * from './components/navigable-list.js';
|
|
16
|
+
export * from './components/panel-header.js';
|
|
17
|
+
export * from './components/row-surface.js';
|
|
18
|
+
export * from './components/row-trailing.js';
|
|
19
|
+
export * from './components/side-panel.js';
|
|
20
|
+
export * from './components/side-panel-tokens.js';
|
|
21
|
+
export * from './components/sticky-header-fade.js';
|
|
22
|
+
export { TemplateInput, type TemplateInputProps, type TemplateToken, } from './components/template-input.js';
|
|
23
|
+
export { TemplateChipInput, type TemplateChipInputProps, type TemplateChipInputHandle, } from './components/template-chip-input.js';
|
|
24
|
+
export { RunStatusBadge, type RunStatus, type RunStatusBadgeProps, } from './components/run-status-badge.js';
|
|
25
|
+
export { ConfidenceMeter, confidenceLevel, type ConfidenceLevel, type ConfidenceMeterProps, } from './components/confidence-meter.js';
|
|
26
|
+
export { DateTile, type DateTileProps } from './components/date-tile.js';
|
|
27
|
+
export { MetricBreakdown, MetricGrid, MetricPanel, MetricSectionHeading, MetricTile, type MetricBreakdownItem, type MetricBreakdownProps, type MetricGridProps, type MetricPanelProps, type MetricSectionHeadingProps, type MetricTileProps, type MetricTone, } from './components/metric-grid.js';
|
|
28
|
+
export { resolveDateTimeFormat, type FormatDateTime } from './lib/date-time-format.js';
|
|
29
|
+
export { ProvenanceChip, type ProvenanceChipProps, type ProvenanceMethod, } from './components/provenance-chip.js';
|
|
30
|
+
export { PersonAvatar, type PersonAvatarProps } from './components/person-avatar.js';
|
|
31
|
+
export { StatusBadge, type StatusBadgeProps } from './components/status-badge.js';
|
|
32
|
+
export { statusTone, type Tone, type ToneClasses } from './components/status-tone.js';
|
|
33
|
+
export * from './components/button-group.js';
|
|
34
|
+
export * from './components/checkbox.js';
|
|
35
|
+
export * from './components/command.js';
|
|
36
|
+
export * from './components/context-menu.js';
|
|
37
|
+
export * from './components/copy-button.js';
|
|
38
|
+
export * from './components/dialog.js';
|
|
39
|
+
export * from './components/dropdown-menu.js';
|
|
40
|
+
export * from './components/form-dialog.js';
|
|
41
|
+
export * from './components/formula-editor.js';
|
|
42
|
+
export * from './components/hover-card.js';
|
|
43
|
+
export * from './components/inline-alert.js';
|
|
44
|
+
export * from './components/input.js';
|
|
45
|
+
export * from './components/kanban-board.js';
|
|
46
|
+
export * from './components/label.js';
|
|
47
|
+
export * from './components/popover.js';
|
|
48
|
+
export * from './components/panel-section-states.js';
|
|
49
|
+
export * from './components/quantity-stepper.js';
|
|
50
|
+
export * from './components/stat-tile.js';
|
|
51
|
+
export * from './components/radio-group.js';
|
|
52
|
+
export * from './components/scroll-area.js';
|
|
53
|
+
export * from './components/select.js';
|
|
54
|
+
export * from './components/separator.js';
|
|
55
|
+
export { SpecStrip, type SpecStripItem, type SpecStripProps } from './components/spec-strip.js';
|
|
56
|
+
export * from './components/skeleton.js';
|
|
57
|
+
export * from './components/switch.js';
|
|
58
|
+
export * from './components/textarea.js';
|
|
59
|
+
export * from './components/tooltip.js';
|
|
60
|
+
export * from './components/table.js';
|
|
61
|
+
export { UsageBar, usageTone, type UsageBarProps, type UsageBarTone } from './components/usage-bar.js';
|
|
62
|
+
export { CommentPin, commentPinVariants, type CommentPinProps } from './components/comment-pin.js';
|
|
63
|
+
export { PresenceCursorsOverlay, type PresenceCursorsOverlayProps, type ProjectedPresencePeer, type PresencePrincipalKind, } from './components/presence-overlay.js';
|
|
64
|
+
export { PropertyList, humanizeKey, formatScalar, type PropertyListProps, type PropertyListLabels, } from './components/property-list.js';
|
|
65
|
+
export { PropertyPanel, type PropertyPanelProps, type PropertyPanelLabels, } from './components/property-panel.js';
|
|
66
|
+
export { SortableList, SortableItem, SortableRow, DragHandle, DragPreview, useSortableHandle, useSortableRow, reorderById, type SortableListProps, type ReorderDetail, type DragHandleProps, DndContext, KeyboardSensor, PointerSensor, SortableContext, arrayMove, closestCenter, sortableKeyboardCoordinates, useDraggable, useDroppable, useSensor, useSensors, verticalListSortingStrategy, type DragEndEvent, type DragOverEvent, type DragStartEvent, } from './components/sortable.js';
|
|
67
|
+
export { VoiceLine, type VoiceLineProps, type VoiceLineState } from './components/voice-line.js';
|
|
68
|
+
export { ShimmerText, type ShimmerTextProps } from './components/shimmer-text.js';
|
|
69
|
+
export { NautAvatar, NAUT_COLORS, NAUT_COLOR_KEYS, NAUT_EXPRESSIONS, NAUT_GESTURES, NAUT_SHAPES, isNautColor, isNautShape, nautAppearanceForSeed, type NautAppearance, type NautAvatarHandle, type NautAvatarProps, type NautColor, type NautExpression, type NautGesture, type NautShape, } from './components/naut-avatar.js';
|
|
70
|
+
export { TranscriptionOverlay, type TranscriptionOverlayLabels, type TranscriptionOverlayProps, type TranscriptionOverlaySelector, type TranscriptionOverlayState, } from './components/transcription-overlay.js';
|
|
71
|
+
export { TimestampedTranscript, type TimestampedTranscriptLabels, type TimestampedTranscriptProps, type TimestampedTranscriptUtterance, type TimestampedTranscriptWord, } from './components/timestamped-transcript.js';
|
|
72
|
+
export { MicrophonePriority, type MicrophonePriorityItem, type MicrophonePriorityLabels, type MicrophonePriorityProps, } from './components/microphone-priority.js';
|
|
73
|
+
export { SpeechPlayback, type SpeechPlaybackLabels, type SpeechPlaybackProps, type SpeechPlaybackState, } from './components/speech-playback.js';
|
|
74
|
+
export { cn } from './lib/cn.js';
|
|
75
|
+
export { clearLocalUiState, readLocalUiState, subscribeLocalUiState, useLocalUiState, writeLocalUiState, } from './lib/local-ui-state.js';
|
|
76
|
+
export { disclosureStateKey, useDisclosureState, type DisclosureState, } from './lib/disclosure-state.js';
|
|
77
|
+
export * from './lib/view-query/index.js';
|
|
78
|
+
export { buildPortalLoginHref, PORTAL_NEXT_PARAM, PortalLoginBarrier, resolvePortalNext, type PortalLoginBarrierProps, } from './components/portal-login-barrier.js';
|
|
79
|
+
export { useFlushOnHide } from './hooks/use-flush-on-hide.js';
|
|
80
|
+
export { useVirtualizer, type ReactVirtualizerOptions, type VirtualItem, type Virtualizer, } from './hooks/use-virtualizer.js';
|
|
81
|
+
export { PresenceDot, type PresenceDotProps, type PresenceStatus } from './components/presence-dot.js';
|
|
82
|
+
export { COLLAPSED_BREADCRUMB_TEST_ID, DetailBreadcrumb, DetailTopBar, detailTopBarButtonClass, type DetailBreadcrumbItem, type DetailBreadcrumbProps, type DetailTopBarProps, } from './components/detail-top-bar.js';
|
|
83
|
+
export { MiddleTruncate, type MiddleTruncateProps } from './components/middle-truncate.js';
|
|
84
|
+
export { TabTitleBar, tabTitleBarButtonClass, type TabTitleBarProps, } from './components/tab-title-bar.js';
|
|
85
|
+
export { DetailNavBar, type DetailNavBarCrumb, type DetailNavBarLabels, type DetailNavBarProps, } from './components/detail-nav-bar.js';
|
|
86
|
+
export { matchDetailNavIntent, useDetailNav, type DetailNavIntent, type DetailNavOptions, } from './hooks/use-detail-nav.js';
|
|
87
|
+
export * from './tokens/index.js';
|
|
88
|
+
export { Calendar } from './components/calendar.js';
|
|
89
|
+
export { Checkbox } from './components/checkbox.js';
|
|
90
|
+
export * from './components/context-menu.js';
|
|
91
|
+
export * from './components/dialog.js';
|
|
92
|
+
export * from './components/dropdown-menu.js';
|
|
93
|
+
export { Input } from './components/input.js';
|
|
94
|
+
export { Label } from './components/label.js';
|
|
95
|
+
export * from './components/popover.js';
|
|
96
|
+
export { Skeleton } from './components/skeleton.js';
|
|
97
|
+
export { Switch } from './components/switch.js';
|
|
98
|
+
export * from './components/tabs.js';
|
|
99
|
+
export { EmptyState, type EmptyStateProps } from './components/empty-state.js';
|
|
100
|
+
export { ALERT_AT, LoadGrid, LoadMeter, MeterRow, MeterRowGroup, ResourceMeter, type LoadBlockSize, type LoadGridProps, type LoadMeterProps, type LoadTone, type MeterRowProps, type ResourceMeterProps, } from './components/system-load/index.js';
|
|
101
|
+
export { RenameDialog, type RenameDialogProps } from './components/rename-dialog.js';
|
|
102
|
+
export { ColorSwatchList, type ColorSwatchListProps, type ColorSwatchListLabels, } from './components/color-swatch-list.js';
|
|
103
|
+
export { PopoverStackProvider, StackedPopover, StackedPopoverTrigger, StackedPopoverAnchor, StackedPopoverContent, useStackDepthBelow, useStackedPopoverNavigation, type StackKind, } from './components/popover-stack.js';
|
|
104
|
+
export { PropertySelector, type PropertySelectorProps, type PropertySelectorItem, type PropertySelectorLabels, } from './components/property-selector.js';
|
|
105
|
+
export { Kbd, KbdGroup } from './components/kbd.js';
|
|
106
|
+
export { AtSearch, type AtSearchProps, type AtSearchItem, type AtSearchKind, type AtSearchLabels, } from './components/at-search.js';
|
|
107
|
+
export * from './components/combobox/index.js';
|
|
108
|
+
export * from './components/multi-combobox.js';
|
|
109
|
+
export * from './components/qr-code.js';
|
|
110
|
+
export * from './components/code-editor-theme.js';
|
|
111
|
+
export * from './components/sql-editor.js';
|
|
112
|
+
export * from './components/selectable-card.js';
|
|
113
|
+
export { DatePicker, DatePickerPopover, type DatePickerProps, type DatePickerPopoverProps, } from './components/date-picker.js';
|
|
114
|
+
export { DateTimePicker, civilDateForTimeZone, type DateTimePickerProps, type DateTimePickerLabels, } from './components/date-time-picker.js';
|
|
115
|
+
export { PickerField, type PickerFieldProps } from './components/picker-field.js';
|
|
116
|
+
export { TimeColumn, buildTimeSlots, useTimeNavigation, type TimeColumnProps, } from './components/time-column.js';
|
|
117
|
+
export { TimezonePicker, TimezoneList, supportedTimeZones, timezoneOffsetLabel, type TimezonePickerProps, type TimezonePickerLabels, } from './components/timezone-picker.js';
|
|
118
|
+
export { ViewSortEditor, viewEditorControlClassName, viewEditorFieldWidthClassName, viewEditorIconClassName, viewSortEditorControlClassName, viewSortEditorFieldWidthClassName, viewSortEditorIconClassName, type ViewSortDirection, type ViewSortEditorField, type ViewSortEditorLabels, type ViewSortEditorProps, type ViewSortEditorSort, } from './components/view-sort-editor.js';
|
|
119
|
+
export { MarkdownEditor, markdownToHtml, serializeMarkdown, VimExtension, type MarkdownEditorProps, type TiptapNode, type VimExtensionOptions, type VimMode, } from './components/markdown-editor/index.js';
|
|
120
|
+
export { TerminalSpinner, type TerminalSpinnerProps, type TerminalSpinnerTone, } from './components/terminal-spinner.js';
|
|
121
|
+
export { LABEL_SWATCHES, swatchFor, defaultLabelColor, type LabelColorSwatch, } from './lib/label-swatches.js';
|
|
122
|
+
export { viewControlClass, viewListRowClass, viewPopoverContentClass, viewPrimaryControlClass, viewSegmentControlClass, } from './lib/view-chrome.js';
|
|
123
|
+
export * from './lib/weekly-schedule.js';
|
|
124
|
+
export * from './lib/brand-style.js';
|
|
125
|
+
export { WeeklyScheduleEditor, type WeeklyScheduleEditorLabels, type WeeklyScheduleEditorProps, } from './components/weekly-schedule-editor.js';
|
|
126
|
+
export { OverlappingDots, type OverlappingDotsProps } from './components/overlapping-dots.js';
|
|
127
|
+
export { SwatchButton, swatchVariants, type SwatchButtonProps } from './components/swatch-button.js';
|
|
128
|
+
export { ViewFilterChip, ViewFilterControl, ViewFilterSummaryRow, ViewQueryChip, ViewQueryChipActions, ViewQueryChipInput, ViewQueryChipSegment, ViewQueryFilterChip, ViewSortControl, ViewSortSummaryRow, filterEditorOptions, type FilterEditorCtx, type FilterEditorLabels, type FilterEditorOption, type ViewFilterChipProps, type ViewFilterControlLabels, type ViewFilterControlProps, type ViewQueryChipActionsProps, type ViewQueryChipInputProps, type ViewQueryChipProps, type ViewQueryChipSegmentProps, type ViewQueryField, type ViewQueryFilterChipLabels, type ViewQueryFilterChipProps, type ViewQueryOperator, type ViewSortControlLabels, type ViewSortControlProps, } from './components/view-query-controls.js';
|
|
129
|
+
export { FilterConditionEditor, FilterValueEditor, type FilterConditionEditorProps, type FilterValueEditorProps, } from './components/filter-condition-editor.js';
|
|
130
|
+
export { ViewQueryBar, type ViewQueryBarProps } from './components/view-query-bar.js';
|
|
131
|
+
export { ViewSaveMenu, type ViewSaveMenuLabels, type ViewSaveMenuProps, } from './components/view-save-menu.js';
|
|
132
|
+
export { ColorPicker, DEFAULT_COLOR_PALETTE, DEFAULT_COMPACT_COLOR_PALETTE, type ColorPickerProps, } from './components/color-picker.js';
|
|
133
|
+
export { SettingsDialogShell, SettingsNavAside, SettingsNavItem, SettingsSectionHeader, SettingsSubpageScope, useSettingsSubpage, } from './components/settings-dialog-shell.js';
|
|
134
|
+
export { CollectionGroupSection, CollectionHeader, CollectionHeaderActions, CollectionQueryControls, CollectionQueryIndicator, CollectionRow, CollectionRowCheckbox, CollectionRowContent, CollectionRowSelection, CollectionSelectionBar, CollectionTitle, CollectionView, CollectionViewport, CollectionViewSettings, CollectionViewSettingsAddAction, CollectionViewSettingsChoiceGroup, CollectionViewSettingsFieldPicker, CollectionViewSettingsGroupAxisPage, CollectionViewSettingsGroupPage, CollectionViewSettingsIdentity, CollectionViewSettingsPage, CollectionViewSettingsSectionRow, CollectionViewSettingsSelectRow, CollectionViewSettingsSortPage, collectionRowStateClass, collectionViewSettingsRowClass, useCollectionDetailNavigation, useCollectionEscape, useCollectionSelection, useCollectionViewSettingsNavigation, type CollectionDetailNavigationOptions, type CollectionEscapeOptions, type CollectionGroupSectionProps, type CollectionKeyboardInput, type CollectionRowCheckboxProps, type CollectionRowProps, type CollectionRowStateOptions, type CollectionPointerModifiers, type CollectionQueryControlsProps, type CollectionSelectionBarProps, type CollectionSelectionChange, type CollectionSelectionOptions, type CollectionTitleProps, type CollectionViewSettingsChoice, type CollectionViewSettingsChoiceGroupProps, type CollectionViewSettingsField, type CollectionViewSettingsFieldPickerProps, type CollectionViewSettingsGroupAxis, type CollectionViewSettingsGroupAxisPageLabels, type CollectionViewSettingsGroupAxisPageProps, type CollectionViewSettingsGroupItem, type CollectionViewSettingsGroupLabels, type CollectionViewSettingsGroupPageProps, type CollectionViewSettingsIdentityProps, type CollectionViewSettingsLabels, type CollectionViewSettingsNavigation, type CollectionViewSettingsProps, type CollectionViewSettingsSection, type CollectionViewSettingsSelectRowOption, type CollectionViewSettingsSelectRowProps, type CollectionViewSettingsSort, type CollectionViewSettingsSortPageProps, } from './components/collection-view/index.js';
|
|
135
|
+
export { Avatar as PhotoAvatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from './components/photo-avatar.js';
|
|
136
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './components/alert-dialog.js';
|
|
137
|
+
export { EditableDocTitle, type EditableDocTitleHandle, type EditableDocTitleProps, } from './components/editable-doc-title.js';
|
|
138
|
+
export { NoteRow, NoteRowInsertionLine, type NoteRowProps, type NoteRowDragProps, } from './components/note-row.js';
|
|
139
|
+
export { OverviewCard, OverviewEmptyLine } from './components/overview-card.js';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import './lib/react-19-jsx.js';
|
|
2
|
+
export { AttachmentThumbnailStack, } from './components/attachment-thumbnail-stack.js';
|
|
3
|
+
export { AudioPreview, } from './components/audio-preview.js';
|
|
4
|
+
export { AvatarUploader, } from './components/avatar-uploader.js';
|
|
5
|
+
export { Avatar, avatarVariants, initialsFromName } from './components/avatar.js';
|
|
6
|
+
export { Badge, badgeVariants } from './components/badge.js';
|
|
7
|
+
export { AreaChart, BarChart, ChartLegend, LineChart, PieChart, RadarChart, RadialChart, ScatterChart, chartColor, } from './components/charts/index.js';
|
|
8
|
+
export { ChannelBadge, ChannelListRow, channelIcon, channelListRowVariants, } from './components/channel-list.js';
|
|
9
|
+
export { Button, buttonVariants } from './components/button.js';
|
|
10
|
+
export { Chip, chipVariants, } from './components/chip.js';
|
|
11
|
+
export * from './components/collapsible-section-header.js';
|
|
12
|
+
export * from './components/icon-button.js';
|
|
13
|
+
export * from './components/note-icon.js';
|
|
14
|
+
export * from './components/note-icon-picker.js';
|
|
15
|
+
export * from './components/navigable-list.js';
|
|
16
|
+
export * from './components/panel-header.js';
|
|
17
|
+
export * from './components/row-surface.js';
|
|
18
|
+
export * from './components/row-trailing.js';
|
|
19
|
+
export * from './components/side-panel.js';
|
|
20
|
+
export * from './components/side-panel-tokens.js';
|
|
21
|
+
export * from './components/sticky-header-fade.js';
|
|
22
|
+
export { TemplateInput, } from './components/template-input.js';
|
|
23
|
+
export { TemplateChipInput, } from './components/template-chip-input.js';
|
|
24
|
+
export { RunStatusBadge, } from './components/run-status-badge.js';
|
|
25
|
+
export { ConfidenceMeter, confidenceLevel, } from './components/confidence-meter.js';
|
|
26
|
+
export { DateTile } from './components/date-tile.js';
|
|
27
|
+
export { MetricBreakdown, MetricGrid, MetricPanel, MetricSectionHeading, MetricTile, } from './components/metric-grid.js';
|
|
28
|
+
export { resolveDateTimeFormat } from './lib/date-time-format.js';
|
|
29
|
+
export { ProvenanceChip, } from './components/provenance-chip.js';
|
|
30
|
+
export { PersonAvatar } from './components/person-avatar.js';
|
|
31
|
+
export { StatusBadge } from './components/status-badge.js';
|
|
32
|
+
export { statusTone } from './components/status-tone.js';
|
|
33
|
+
export * from './components/button-group.js';
|
|
34
|
+
export * from './components/checkbox.js';
|
|
35
|
+
export * from './components/command.js';
|
|
36
|
+
export * from './components/context-menu.js';
|
|
37
|
+
export * from './components/copy-button.js';
|
|
38
|
+
export * from './components/dialog.js';
|
|
39
|
+
export * from './components/dropdown-menu.js';
|
|
40
|
+
export * from './components/form-dialog.js';
|
|
41
|
+
export * from './components/formula-editor.js';
|
|
42
|
+
export * from './components/hover-card.js';
|
|
43
|
+
export * from './components/inline-alert.js';
|
|
44
|
+
export * from './components/input.js';
|
|
45
|
+
export * from './components/kanban-board.js';
|
|
46
|
+
export * from './components/label.js';
|
|
47
|
+
export * from './components/popover.js';
|
|
48
|
+
export * from './components/panel-section-states.js';
|
|
49
|
+
export * from './components/quantity-stepper.js';
|
|
50
|
+
export * from './components/stat-tile.js';
|
|
51
|
+
export * from './components/radio-group.js';
|
|
52
|
+
export * from './components/scroll-area.js';
|
|
53
|
+
export * from './components/select.js';
|
|
54
|
+
export * from './components/separator.js';
|
|
55
|
+
export { SpecStrip } from './components/spec-strip.js';
|
|
56
|
+
export * from './components/skeleton.js';
|
|
57
|
+
export * from './components/switch.js';
|
|
58
|
+
export * from './components/textarea.js';
|
|
59
|
+
export * from './components/tooltip.js';
|
|
60
|
+
export * from './components/table.js';
|
|
61
|
+
export { UsageBar, usageTone } from './components/usage-bar.js';
|
|
62
|
+
export { CommentPin, commentPinVariants } from './components/comment-pin.js';
|
|
63
|
+
export { PresenceCursorsOverlay, } from './components/presence-overlay.js';
|
|
64
|
+
export { PropertyList, humanizeKey, formatScalar, } from './components/property-list.js';
|
|
65
|
+
export { PropertyPanel, } from './components/property-panel.js';
|
|
66
|
+
export { SortableList, SortableItem, SortableRow, DragHandle, DragPreview, useSortableHandle, useSortableRow, reorderById, DndContext, KeyboardSensor, PointerSensor, SortableContext, arrayMove, closestCenter, sortableKeyboardCoordinates, useDraggable, useDroppable, useSensor, useSensors, verticalListSortingStrategy, } from './components/sortable.js';
|
|
67
|
+
export { VoiceLine } from './components/voice-line.js';
|
|
68
|
+
export { ShimmerText } from './components/shimmer-text.js';
|
|
69
|
+
export { NautAvatar, NAUT_COLORS, NAUT_COLOR_KEYS, NAUT_EXPRESSIONS, NAUT_GESTURES, NAUT_SHAPES, isNautColor, isNautShape, nautAppearanceForSeed, } from './components/naut-avatar.js';
|
|
70
|
+
export { TranscriptionOverlay, } from './components/transcription-overlay.js';
|
|
71
|
+
export { TimestampedTranscript, } from './components/timestamped-transcript.js';
|
|
72
|
+
export { MicrophonePriority, } from './components/microphone-priority.js';
|
|
73
|
+
export { SpeechPlayback, } from './components/speech-playback.js';
|
|
74
|
+
export { cn } from './lib/cn.js';
|
|
75
|
+
export { clearLocalUiState, readLocalUiState, subscribeLocalUiState, useLocalUiState, writeLocalUiState, } from './lib/local-ui-state.js';
|
|
76
|
+
export { disclosureStateKey, useDisclosureState, } from './lib/disclosure-state.js';
|
|
77
|
+
export * from './lib/view-query/index.js';
|
|
78
|
+
export { buildPortalLoginHref, PORTAL_NEXT_PARAM, PortalLoginBarrier, resolvePortalNext, } from './components/portal-login-barrier.js';
|
|
79
|
+
export { useFlushOnHide } from './hooks/use-flush-on-hide.js';
|
|
80
|
+
export { useVirtualizer, } from './hooks/use-virtualizer.js';
|
|
81
|
+
export { PresenceDot } from './components/presence-dot.js';
|
|
82
|
+
export { COLLAPSED_BREADCRUMB_TEST_ID, DetailBreadcrumb, DetailTopBar, detailTopBarButtonClass, } from './components/detail-top-bar.js';
|
|
83
|
+
export { MiddleTruncate } from './components/middle-truncate.js';
|
|
84
|
+
export { TabTitleBar, tabTitleBarButtonClass, } from './components/tab-title-bar.js';
|
|
85
|
+
export { DetailNavBar, } from './components/detail-nav-bar.js';
|
|
86
|
+
export { matchDetailNavIntent, useDetailNav, } from './hooks/use-detail-nav.js';
|
|
87
|
+
export * from './tokens/index.js';
|
|
88
|
+
export { Calendar } from './components/calendar.js';
|
|
89
|
+
export { Checkbox } from './components/checkbox.js';
|
|
90
|
+
export * from './components/context-menu.js';
|
|
91
|
+
export * from './components/dialog.js';
|
|
92
|
+
export * from './components/dropdown-menu.js';
|
|
93
|
+
export { Input } from './components/input.js';
|
|
94
|
+
export { Label } from './components/label.js';
|
|
95
|
+
export * from './components/popover.js';
|
|
96
|
+
export { Skeleton } from './components/skeleton.js';
|
|
97
|
+
export { Switch } from './components/switch.js';
|
|
98
|
+
export * from './components/tabs.js';
|
|
99
|
+
export { EmptyState } from './components/empty-state.js';
|
|
100
|
+
export { ALERT_AT, LoadGrid, LoadMeter, MeterRow, MeterRowGroup, ResourceMeter, } from './components/system-load/index.js';
|
|
101
|
+
export { RenameDialog } from './components/rename-dialog.js';
|
|
102
|
+
export { ColorSwatchList, } from './components/color-swatch-list.js';
|
|
103
|
+
export { PopoverStackProvider, StackedPopover, StackedPopoverTrigger, StackedPopoverAnchor, StackedPopoverContent, useStackDepthBelow, useStackedPopoverNavigation, } from './components/popover-stack.js';
|
|
104
|
+
export { PropertySelector, } from './components/property-selector.js';
|
|
105
|
+
export { Kbd, KbdGroup } from './components/kbd.js';
|
|
106
|
+
export { AtSearch, } from './components/at-search.js';
|
|
107
|
+
export * from './components/combobox/index.js';
|
|
108
|
+
export * from './components/multi-combobox.js';
|
|
109
|
+
export * from './components/qr-code.js';
|
|
110
|
+
export * from './components/code-editor-theme.js';
|
|
111
|
+
export * from './components/sql-editor.js';
|
|
112
|
+
export * from './components/selectable-card.js';
|
|
113
|
+
export { DatePicker, DatePickerPopover, } from './components/date-picker.js';
|
|
114
|
+
export { DateTimePicker, civilDateForTimeZone, } from './components/date-time-picker.js';
|
|
115
|
+
export { PickerField } from './components/picker-field.js';
|
|
116
|
+
export { TimeColumn, buildTimeSlots, useTimeNavigation, } from './components/time-column.js';
|
|
117
|
+
export { TimezonePicker, TimezoneList, supportedTimeZones, timezoneOffsetLabel, } from './components/timezone-picker.js';
|
|
118
|
+
export { ViewSortEditor, viewEditorControlClassName, viewEditorFieldWidthClassName, viewEditorIconClassName, viewSortEditorControlClassName, viewSortEditorFieldWidthClassName, viewSortEditorIconClassName, } from './components/view-sort-editor.js';
|
|
119
|
+
export { MarkdownEditor, markdownToHtml, serializeMarkdown, VimExtension, } from './components/markdown-editor/index.js';
|
|
120
|
+
export { TerminalSpinner, } from './components/terminal-spinner.js';
|
|
121
|
+
export { LABEL_SWATCHES, swatchFor, defaultLabelColor, } from './lib/label-swatches.js';
|
|
122
|
+
export { viewControlClass, viewListRowClass, viewPopoverContentClass, viewPrimaryControlClass, viewSegmentControlClass, } from './lib/view-chrome.js';
|
|
123
|
+
export * from './lib/weekly-schedule.js';
|
|
124
|
+
export * from './lib/brand-style.js';
|
|
125
|
+
export { WeeklyScheduleEditor, } from './components/weekly-schedule-editor.js';
|
|
126
|
+
export { OverlappingDots } from './components/overlapping-dots.js';
|
|
127
|
+
export { SwatchButton, swatchVariants } from './components/swatch-button.js';
|
|
128
|
+
export { ViewFilterChip, ViewFilterControl, ViewFilterSummaryRow, ViewQueryChip, ViewQueryChipActions, ViewQueryChipInput, ViewQueryChipSegment, ViewQueryFilterChip, ViewSortControl, ViewSortSummaryRow, filterEditorOptions, } from './components/view-query-controls.js';
|
|
129
|
+
export { FilterConditionEditor, FilterValueEditor, } from './components/filter-condition-editor.js';
|
|
130
|
+
export { ViewQueryBar } from './components/view-query-bar.js';
|
|
131
|
+
export { ViewSaveMenu, } from './components/view-save-menu.js';
|
|
132
|
+
export { ColorPicker, DEFAULT_COLOR_PALETTE, DEFAULT_COMPACT_COLOR_PALETTE, } from './components/color-picker.js';
|
|
133
|
+
export { SettingsDialogShell, SettingsNavAside, SettingsNavItem, SettingsSectionHeader, SettingsSubpageScope, useSettingsSubpage, } from './components/settings-dialog-shell.js';
|
|
134
|
+
export { CollectionGroupSection, CollectionHeader, CollectionHeaderActions, CollectionQueryControls, CollectionQueryIndicator, CollectionRow, CollectionRowCheckbox, CollectionRowContent, CollectionRowSelection, CollectionSelectionBar, CollectionTitle, CollectionView, CollectionViewport, CollectionViewSettings, CollectionViewSettingsAddAction, CollectionViewSettingsChoiceGroup, CollectionViewSettingsFieldPicker, CollectionViewSettingsGroupAxisPage, CollectionViewSettingsGroupPage, CollectionViewSettingsIdentity, CollectionViewSettingsPage, CollectionViewSettingsSectionRow, CollectionViewSettingsSelectRow, CollectionViewSettingsSortPage, collectionRowStateClass, collectionViewSettingsRowClass, useCollectionDetailNavigation, useCollectionEscape, useCollectionSelection, useCollectionViewSettingsNavigation, } from './components/collection-view/index.js';
|
|
135
|
+
export { Avatar as PhotoAvatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, } from './components/photo-avatar.js';
|
|
136
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './components/alert-dialog.js';
|
|
137
|
+
export { EditableDocTitle, } from './components/editable-doc-title.js';
|
|
138
|
+
export { NoteRow, NoteRowInsertionLine, } from './components/note-row.js';
|
|
139
|
+
export { OverviewCard, OverviewEmptyLine } from './components/overview-card.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const CSS_COLOR = /^(#(?:[0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})|(?:rgb|rgba|hsl|hsla|oklch|oklab|color)\([^)]*\))$/;
|
|
2
|
+
export function isValidBrandAccent(value) {
|
|
3
|
+
return Boolean(value?.trim() && CSS_COLOR.test(value.trim()));
|
|
4
|
+
}
|
|
5
|
+
export function resolveBrandStyle(branding) {
|
|
6
|
+
const accent = branding?.accent_color?.trim();
|
|
7
|
+
const style = {};
|
|
8
|
+
if (isValidBrandAccent(accent)) {
|
|
9
|
+
style['--primary'] = accent;
|
|
10
|
+
style['--ring'] = accent;
|
|
11
|
+
style['--sidebar-primary'] = accent;
|
|
12
|
+
}
|
|
13
|
+
if (branding?.radius?.trim())
|
|
14
|
+
style['--radius'] = branding.radius.trim();
|
|
15
|
+
return style;
|
|
16
|
+
}
|
package/dist/lib/cn.d.ts
ADDED
package/dist/lib/cn.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface CompositedGlintBand {
|
|
3
|
+
opacity: number;
|
|
4
|
+
width: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const COMPOSITED_GLINT_BANDS: readonly CompositedGlintBand[];
|
|
7
|
+
export declare function useCompositedGlint(rootRef: React.RefObject<HTMLElement | null>, durationMs?: number): void;
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export const COMPOSITED_GLINT_BANDS = [
|
|
3
|
+
{ width: 0.28, opacity: 0.16 },
|
|
4
|
+
{ width: 0.16, opacity: 0.28 },
|
|
5
|
+
{ width: 0.07, opacity: 0.44 },
|
|
6
|
+
];
|
|
7
|
+
export function useCompositedGlint(rootRef, durationMs = 2200) {
|
|
8
|
+
React.useEffect(() => {
|
|
9
|
+
const root = rootRef.current;
|
|
10
|
+
if (!root)
|
|
11
|
+
return;
|
|
12
|
+
const reducedMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
|
|
13
|
+
let intersecting = true;
|
|
14
|
+
let animations = [];
|
|
15
|
+
const stop = () => {
|
|
16
|
+
for (const animation of animations)
|
|
17
|
+
animation.cancel();
|
|
18
|
+
animations = [];
|
|
19
|
+
for (const layer of glintLayers(root)) {
|
|
20
|
+
layer.style.opacity = '0';
|
|
21
|
+
layer.style.willChange = 'auto';
|
|
22
|
+
const copy = layer.querySelector('[data-composited-glint-copy]');
|
|
23
|
+
if (copy)
|
|
24
|
+
copy.style.willChange = 'auto';
|
|
25
|
+
}
|
|
26
|
+
root.dataset.glintActive = 'false';
|
|
27
|
+
};
|
|
28
|
+
const start = () => {
|
|
29
|
+
stop();
|
|
30
|
+
if (document.hidden || reducedMotion.matches || !intersecting)
|
|
31
|
+
return;
|
|
32
|
+
const startTime = document.timeline?.currentTime ?? performance.now();
|
|
33
|
+
for (const layer of glintLayers(root)) {
|
|
34
|
+
const width = Number(layer.dataset.compositedGlintWidth);
|
|
35
|
+
const opacity = Number(layer.dataset.compositedGlintOpacity);
|
|
36
|
+
const copy = layer.querySelector('[data-composited-glint-copy]');
|
|
37
|
+
if (!copy ||
|
|
38
|
+
!Number.isFinite(width) ||
|
|
39
|
+
width <= 0 ||
|
|
40
|
+
typeof layer.animate !== 'function' ||
|
|
41
|
+
typeof copy.animate !== 'function') {
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
layer.style.opacity = String(opacity);
|
|
45
|
+
layer.style.willChange = 'transform';
|
|
46
|
+
copy.style.willChange = 'transform';
|
|
47
|
+
const timing = {
|
|
48
|
+
duration: durationMs,
|
|
49
|
+
easing: 'linear',
|
|
50
|
+
fill: 'both',
|
|
51
|
+
iterations: Number.POSITIVE_INFINITY,
|
|
52
|
+
};
|
|
53
|
+
const layerAnimation = layer.animate([
|
|
54
|
+
{ transform: 'translate3d(-100%, 0, 0)' },
|
|
55
|
+
{ transform: `translate3d(${100 / width}%, 0, 0)` },
|
|
56
|
+
], timing);
|
|
57
|
+
const copyAnimation = copy.animate([
|
|
58
|
+
{ transform: `translate3d(${width * 100}%, 0, 0)` },
|
|
59
|
+
{ transform: 'translate3d(-100%, 0, 0)' },
|
|
60
|
+
], timing);
|
|
61
|
+
layerAnimation.startTime = startTime;
|
|
62
|
+
copyAnimation.startTime = startTime;
|
|
63
|
+
animations.push(layerAnimation, copyAnimation);
|
|
64
|
+
}
|
|
65
|
+
root.dataset.glintActive = animations.length > 0 ? 'true' : 'false';
|
|
66
|
+
};
|
|
67
|
+
const observer = typeof IntersectionObserver === 'undefined'
|
|
68
|
+
? null
|
|
69
|
+
: new IntersectionObserver(([entry]) => {
|
|
70
|
+
intersecting = entry?.isIntersecting ?? false;
|
|
71
|
+
start();
|
|
72
|
+
});
|
|
73
|
+
observer?.observe(root);
|
|
74
|
+
document.addEventListener('visibilitychange', start);
|
|
75
|
+
if (typeof reducedMotion.addEventListener === 'function') {
|
|
76
|
+
reducedMotion.addEventListener('change', start);
|
|
77
|
+
}
|
|
78
|
+
else {
|
|
79
|
+
reducedMotion.addListener(start);
|
|
80
|
+
}
|
|
81
|
+
start();
|
|
82
|
+
return () => {
|
|
83
|
+
stop();
|
|
84
|
+
observer?.disconnect();
|
|
85
|
+
document.removeEventListener('visibilitychange', start);
|
|
86
|
+
if (typeof reducedMotion.removeEventListener === 'function') {
|
|
87
|
+
reducedMotion.removeEventListener('change', start);
|
|
88
|
+
}
|
|
89
|
+
else {
|
|
90
|
+
reducedMotion.removeListener(start);
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
}, [durationMs, rootRef]);
|
|
94
|
+
}
|
|
95
|
+
/** Some consumers omit DOM.Iterable, so the NodeList is materialised before iteration. */
|
|
96
|
+
function glintLayers(root) {
|
|
97
|
+
return Array.from(root.querySelectorAll('[data-composited-glint-window]'));
|
|
98
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const formatterCache = new Map();
|
|
2
|
+
function localeFormatter(locale, options) {
|
|
3
|
+
const key = `${locale}|${JSON.stringify(options)}`;
|
|
4
|
+
let formatter = formatterCache.get(key);
|
|
5
|
+
if (!formatter) {
|
|
6
|
+
formatter = new Intl.DateTimeFormat(locale, options);
|
|
7
|
+
formatterCache.set(key, formatter);
|
|
8
|
+
}
|
|
9
|
+
return formatter;
|
|
10
|
+
}
|
|
11
|
+
// Components take an optional bound `format` from the host app (which carries
|
|
12
|
+
// the user's date/time-format preferences); without one they fall back to
|
|
13
|
+
// locale formatting while host applications keep supplying the preference-bound
|
|
14
|
+
// formatter used by their normal product surfaces.
|
|
15
|
+
export function resolveDateTimeFormat(format, locale) {
|
|
16
|
+
return (format ??
|
|
17
|
+
((value, options) => {
|
|
18
|
+
const date = value instanceof Date ? value : new Date(value);
|
|
19
|
+
return Number.isNaN(date.valueOf()) ? '' : localeFormatter(locale, options).format(date);
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DisclosureState {
|
|
2
|
+
readonly open: boolean;
|
|
3
|
+
readonly setOpen: (open: boolean) => void;
|
|
4
|
+
readonly toggle: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare function disclosureStateKey(id: string): string;
|
|
7
|
+
/**
|
|
8
|
+
* A disclosure given an id remembers on this machine whether it was left open; one without
|
|
9
|
+
* an id keeps that only for as long as it stays mounted.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useDisclosureState(id: string | undefined, defaultOpen?: boolean): DisclosureState;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { useCallback, useState } from 'react';
|
|
3
|
+
import { useLocalUiState } from './local-ui-state.js';
|
|
4
|
+
export function disclosureStateKey(id) {
|
|
5
|
+
return `atmos:ui:section:${id}`;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* A disclosure given an id remembers on this machine whether it was left open; one without
|
|
9
|
+
* an id keeps that only for as long as it stays mounted.
|
|
10
|
+
*/
|
|
11
|
+
export function useDisclosureState(id, defaultOpen = true) {
|
|
12
|
+
const [transientOpen, setTransientOpen] = useState(defaultOpen);
|
|
13
|
+
const [storedOpen, setStoredOpen] = useLocalUiState(disclosureStateKey(id ?? ''), defaultOpen);
|
|
14
|
+
const open = id ? storedOpen : transientOpen;
|
|
15
|
+
const setOpen = useCallback((next) => {
|
|
16
|
+
if (id)
|
|
17
|
+
setStoredOpen(next);
|
|
18
|
+
else
|
|
19
|
+
setTransientOpen(next);
|
|
20
|
+
}, [id, setStoredOpen]);
|
|
21
|
+
return { open, setOpen, toggle: useCallback(() => setOpen(!open), [open, setOpen]) };
|
|
22
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface LabelColorSwatch {
|
|
2
|
+
token: string;
|
|
3
|
+
name: string;
|
|
4
|
+
bg: string;
|
|
5
|
+
fg: string;
|
|
6
|
+
dot: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const LABEL_SWATCHES: readonly LabelColorSwatch[];
|
|
9
|
+
export declare function swatchFor(token: string | null | undefined): LabelColorSwatch;
|
|
10
|
+
export declare function defaultLabelColor(): string;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const LABEL_SWATCHES = [
|
|
2
|
+
{ token: 'gray', name: 'Gray', bg: 'bg-slate-500/15', fg: 'text-slate-300', dot: 'bg-slate-400' },
|
|
3
|
+
{ token: 'red', name: 'Red', bg: 'bg-red-500/15', fg: 'text-red-300', dot: 'bg-red-500' },
|
|
4
|
+
{ token: 'orange', name: 'Orange', bg: 'bg-orange-500/15', fg: 'text-orange-300', dot: 'bg-orange-500' },
|
|
5
|
+
{ token: 'amber', name: 'Amber', bg: 'bg-amber-500/15', fg: 'text-amber-300', dot: 'bg-amber-500' },
|
|
6
|
+
{ token: 'green', name: 'Green', bg: 'bg-emerald-500/15', fg: 'text-emerald-300', dot: 'bg-emerald-500' },
|
|
7
|
+
{ token: 'teal', name: 'Teal', bg: 'bg-teal-500/15', fg: 'text-teal-300', dot: 'bg-teal-500' },
|
|
8
|
+
{ token: 'sky', name: 'Sky', bg: 'bg-sky-500/15', fg: 'text-sky-300', dot: 'bg-sky-500' },
|
|
9
|
+
{ token: 'blue', name: 'Blue', bg: 'bg-blue-500/15', fg: 'text-blue-300', dot: 'bg-blue-500' },
|
|
10
|
+
{ token: 'violet', name: 'Violet', bg: 'bg-violet-500/15', fg: 'text-violet-300', dot: 'bg-violet-500' },
|
|
11
|
+
{ token: 'pink', name: 'Pink', bg: 'bg-pink-500/15', fg: 'text-pink-300', dot: 'bg-pink-500' },
|
|
12
|
+
];
|
|
13
|
+
const SWATCH_BY_TOKEN = new Map(LABEL_SWATCHES.map((s) => [s.token, s]));
|
|
14
|
+
export function swatchFor(token) {
|
|
15
|
+
if (token) {
|
|
16
|
+
const hit = SWATCH_BY_TOKEN.get(token);
|
|
17
|
+
if (hit)
|
|
18
|
+
return hit;
|
|
19
|
+
}
|
|
20
|
+
return { token: '', name: 'Default', bg: 'bg-muted', fg: 'text-muted-foreground', dot: 'bg-muted-foreground/40' };
|
|
21
|
+
}
|
|
22
|
+
export function defaultLabelColor() {
|
|
23
|
+
return LABEL_SWATCHES[1]?.token ?? 'red';
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function readLocalUiState<T>(key: string, fallback: T): T;
|
|
2
|
+
export declare function writeLocalUiState<T>(key: string, value: T): void;
|
|
3
|
+
export declare function subscribeLocalUiState(key: string, onChange: () => void): () => void;
|
|
4
|
+
/** Drops every value this facility holds, so one test's layout cannot reach the next. */
|
|
5
|
+
export declare function clearLocalUiState(): void;
|
|
6
|
+
/**
|
|
7
|
+
* A piece of this browser's own view of the app — a width, a collapsed section, a chosen
|
|
8
|
+
* tab. Everything a teammate should see instead belongs in a shape, not here.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useLocalUiState<T>(key: string, fallback: T): [T, (value: T) => void];
|