@devalok/shilp-sutra 0.53.0 → 0.55.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/AGENTS.md +7 -1
- package/BREAKING.json +29 -0
- package/MIGRATION.md +83 -0
- package/dist/_chunks/badge-group.js +1 -1
- package/dist/_chunks/popover.js +38 -37
- package/dist/_chunks/popover.js.map +1 -1
- package/dist/_chunks/primitives/react-accordion.js +270 -0
- package/dist/_chunks/primitives/react-accordion.js.map +1 -0
- package/dist/_chunks/primitives/react-alert-dialog.js +857 -0
- package/dist/_chunks/primitives/react-alert-dialog.js.map +1 -0
- package/dist/_chunks/primitives/react-aspect-ratio.js +32 -0
- package/dist/_chunks/primitives/react-aspect-ratio.js.map +1 -0
- package/dist/_chunks/primitives/react-avatar.js +69 -0
- package/dist/_chunks/primitives/react-avatar.js.map +1 -0
- package/dist/_chunks/primitives/react-checkbox.js +151 -0
- package/dist/_chunks/primitives/react-checkbox.js.map +1 -0
- package/dist/_chunks/primitives/react-context-menu.js +905 -0
- package/dist/_chunks/primitives/react-context-menu.js.map +1 -0
- package/dist/_chunks/primitives/react-dropdown-menu.js +220 -0
- package/dist/_chunks/primitives/react-dropdown-menu.js.map +1 -0
- package/dist/_chunks/primitives/react-hover-card.js +153 -0
- package/dist/_chunks/primitives/react-hover-card.js.map +1 -0
- package/dist/_chunks/primitives/react-label.js +16 -0
- package/dist/_chunks/primitives/react-label.js.map +1 -0
- package/dist/_chunks/primitives/react-menubar.js +304 -0
- package/dist/_chunks/primitives/react-menubar.js.map +1 -0
- package/dist/_chunks/primitives/react-navigation-menu.js +560 -0
- package/dist/_chunks/primitives/react-navigation-menu.js.map +1 -0
- package/dist/_chunks/primitives/react-popover.js +186 -0
- package/dist/_chunks/primitives/react-popover.js.map +1 -0
- package/dist/_chunks/primitives/react-progress.js +70 -0
- package/dist/_chunks/primitives/react-progress.js.map +1 -0
- package/dist/_chunks/primitives/react-radio-group.js +170 -0
- package/dist/_chunks/primitives/react-radio-group.js.map +1 -0
- package/dist/_chunks/primitives/react-select.js +671 -0
- package/dist/_chunks/primitives/react-select.js.map +1 -0
- package/dist/_chunks/primitives/react-separator.js +24 -0
- package/dist/_chunks/primitives/react-separator.js.map +1 -0
- package/dist/_chunks/primitives/react-slider.js +349 -0
- package/dist/_chunks/primitives/react-slider.js.map +1 -0
- package/dist/_chunks/primitives/react-switch.js +92 -0
- package/dist/_chunks/primitives/react-switch.js.map +1 -0
- package/dist/_chunks/primitives/react-tabs.js +114 -0
- package/dist/_chunks/primitives/react-tabs.js.map +1 -0
- package/dist/_chunks/primitives/react-toggle-group.js +122 -0
- package/dist/_chunks/primitives/react-toggle-group.js.map +1 -0
- package/dist/_chunks/primitives/react-toggle.js +28 -0
- package/dist/_chunks/primitives/react-toggle.js.map +1 -0
- package/dist/_chunks/primitives/react-tooltip.js +341 -0
- package/dist/_chunks/primitives/react-tooltip.js.map +1 -0
- package/dist/_chunks/primitives-internal.js +2071 -0
- package/dist/_chunks/primitives-internal.js.map +1 -0
- package/dist/_chunks/shared.js +32 -32
- package/dist/_chunks/tiptap.js +1 -1
- package/dist/ai/ai-command-provider.d.ts +2 -3
- package/dist/ai/block-renderer.d.ts +1 -2
- package/dist/ai/blocks/block-shell.d.ts +0 -1
- package/dist/ai/blocks/block-table.d.ts +1 -2
- package/dist/ai/blocks/confirm.d.ts +1 -2
- package/dist/ai/blocks/divider.d.ts +1 -2
- package/dist/ai/blocks/error.d.ts +1 -2
- package/dist/ai/blocks/index.d.ts +7 -8
- package/dist/ai/blocks/info.d.ts +1 -2
- package/dist/ai/blocks/loading.d.ts +1 -2
- package/dist/ai/blocks/stat-row.d.ts +1 -2
- package/dist/ai/blocks/success.d.ts +1 -2
- package/dist/ai/blocks/text.d.ts +1 -2
- package/dist/ai/command-bar.d.ts +1 -2
- package/dist/ai/conversation.d.ts +2 -3
- package/dist/ai/devadoot-icon.d.ts +0 -1
- package/dist/ai/index.d.ts +16 -17
- package/dist/ai/types.js +1 -0
- package/dist/composed/activity-feed.d.ts +1 -2
- package/dist/composed/avatar-group.d.ts +11 -10
- package/dist/composed/avatar-group.d.ts.map +1 -1
- package/dist/composed/avatar-group.js +108 -140
- package/dist/composed/avatar-group.js.map +1 -1
- package/dist/composed/bulk-action-bar.d.ts +20 -13
- package/dist/composed/bulk-action-bar.d.ts.map +1 -1
- package/dist/composed/bulk-action-bar.js +81 -110
- package/dist/composed/bulk-action-bar.js.map +1 -1
- package/dist/composed/command-palette.d.ts +1 -2
- package/dist/composed/confirm-dialog.d.ts +0 -1
- package/dist/composed/date-picker/calendar-grid.d.ts +0 -1
- package/dist/composed/date-picker/date-picker.d.ts +0 -1
- package/dist/composed/date-picker/date-range-picker.d.ts +1 -2
- package/dist/composed/date-picker/date-time-picker.d.ts +0 -1
- package/dist/composed/date-picker/index.d.ts +17 -18
- package/dist/composed/date-picker/month-picker.d.ts +0 -1
- package/dist/composed/date-picker/presets.d.ts +0 -1
- package/dist/composed/date-picker/time-picker.d.ts +0 -1
- package/dist/composed/date-picker/use-calendar.d.ts +0 -1
- package/dist/composed/date-picker/year-picker.d.ts +0 -1
- package/dist/composed/deadline-indicator.d.ts +0 -1
- package/dist/composed/diff.d.ts +0 -1
- package/dist/composed/emoji-picker.d.ts +0 -1
- package/dist/composed/empty-state.d.ts +1 -2
- package/dist/composed/error-boundary.d.ts +15 -4
- package/dist/composed/error-boundary.d.ts.map +1 -1
- package/dist/composed/error-boundary.js +43 -26
- package/dist/composed/error-boundary.js.map +1 -1
- package/dist/composed/extensions/emoji-data.d.ts +0 -1
- package/dist/composed/extensions/emoji-node.d.ts +0 -1
- package/dist/composed/extensions/emoji-suggestion.d.ts +1 -2
- package/dist/composed/extensions/file-attachment.d.ts +0 -1
- package/dist/composed/extensions/mention-suggestion.d.ts +1 -2
- package/dist/composed/extensions/slash-command.d.ts +0 -1
- package/dist/composed/file-preview/audio-preview.d.ts +0 -1
- package/dist/composed/file-preview/document-preview.d.ts +0 -1
- package/dist/composed/file-preview/embed-preview.d.ts +0 -1
- package/dist/composed/file-preview/image-preview.d.ts +0 -1
- package/dist/composed/file-preview/shared.d.ts +0 -1
- package/dist/composed/file-preview/video-preview.d.ts +0 -1
- package/dist/composed/file-preview.d.ts +0 -1
- package/dist/composed/filter-bar.d.ts +0 -1
- package/dist/composed/form-section.d.ts +0 -1
- package/dist/composed/global-loading.d.ts +0 -1
- package/dist/composed/index.d.ts +49 -50
- package/dist/composed/inline-edit.d.ts +0 -1
- package/dist/composed/loading-skeleton.d.ts +2 -0
- package/dist/composed/loading-skeleton.d.ts.map +1 -1
- package/dist/composed/loading-skeleton.js +79 -56
- package/dist/composed/loading-skeleton.js.map +1 -1
- package/dist/composed/markdown-viewer.d.ts +0 -1
- package/dist/composed/master-detail.d.ts +21 -9
- package/dist/composed/master-detail.d.ts.map +1 -1
- package/dist/composed/master-detail.js +91 -77
- package/dist/composed/master-detail.js.map +1 -1
- package/dist/composed/member-picker.d.ts +0 -1
- package/dist/composed/multi-select-popover.d.ts +0 -1
- package/dist/composed/page-skeletons.d.ts +6 -0
- package/dist/composed/page-skeletons.d.ts.map +1 -1
- package/dist/composed/page-skeletons.js +93 -71
- package/dist/composed/page-skeletons.js.map +1 -1
- package/dist/composed/priority-indicator.d.ts +0 -1
- package/dist/composed/responsive-modal.d.ts +1 -2
- package/dist/composed/responsive-modal.js +47 -47
- package/dist/composed/rich-chat-input/attachment-strip.d.ts +0 -1
- package/dist/composed/rich-chat-input/audio-player.d.ts +0 -1
- package/dist/composed/rich-chat-input/audio-waveform.d.ts +0 -1
- package/dist/composed/rich-chat-input/chat-toolbar.d.ts +0 -1
- package/dist/composed/rich-chat-input/recording-overlay.d.ts +0 -1
- package/dist/composed/rich-chat-input/reply-banner.d.ts +0 -1
- package/dist/composed/rich-chat-input/schedule-send.d.ts +0 -1
- package/dist/composed/rich-chat-input/use-voice-recorder.d.ts +0 -1
- package/dist/composed/rich-chat-input.d.ts +9 -10
- package/dist/composed/rich-chat-input.js +1 -1
- package/dist/composed/rich-text-editor.d.ts +1 -2
- package/dist/composed/schedule-view.d.ts +0 -1
- package/dist/composed/simple-tooltip.d.ts +0 -1
- package/dist/composed/status-badge.d.ts +1 -2
- package/dist/hooks/index.d.ts +6 -7
- package/dist/hooks/use-color-mode.d.ts +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -1
- package/dist/hooks/use-touch-device.d.ts +0 -1
- package/dist/hooks/use-viewport-height.d.ts +0 -1
- package/dist/motion/check-motion-provider.d.ts +0 -1
- package/dist/motion/index.d.ts +2 -3
- package/dist/motion/motion-provider.d.ts +1 -2
- package/dist/motion/primitives-index.d.ts +1 -2
- package/dist/motion/primitives.d.ts +1 -2
- package/dist/primitives/_internal/react-arrow.d.ts +1 -1
- package/dist/primitives/_internal/react-collection.d.ts +2 -2
- package/dist/primitives/_internal/react-dismissable-layer.d.ts +1 -1
- package/dist/primitives/_internal/react-focus-scope.d.ts +1 -1
- package/dist/primitives/_internal/react-popper.d.ts +4 -4
- package/dist/primitives/_internal/react-portal.d.ts +1 -1
- package/dist/primitives/_internal/react-use-rect.d.ts +1 -1
- package/dist/primitives/react-accordion.d.ts +3 -3
- package/dist/primitives/react-alert-dialog.d.ts +2 -2
- package/dist/primitives/react-aspect-ratio.d.ts +1 -1
- package/dist/primitives/react-avatar.d.ts +2 -2
- package/dist/primitives/react-checkbox.d.ts +3 -3
- package/dist/primitives/react-collapsible.d.ts +2 -2
- package/dist/primitives/react-context-menu.d.ts +3 -3
- package/dist/primitives/react-dialog.d.ts +5 -5
- package/dist/primitives/react-dropdown-menu.d.ts +3 -3
- package/dist/primitives/react-hover-card.d.ts +5 -5
- package/dist/primitives/react-label.d.ts +1 -1
- package/dist/primitives/react-menu.d.ts +7 -7
- package/dist/primitives/react-menubar.d.ts +5 -5
- package/dist/primitives/react-navigation-menu.d.ts +5 -5
- package/dist/primitives/react-popover.d.ts +6 -6
- package/dist/primitives/react-progress.d.ts +2 -2
- package/dist/primitives/react-radio-group.d.ts +3 -3
- package/dist/primitives/react-roving-focus.d.ts +2 -2
- package/dist/primitives/react-select.d.ts +6 -6
- package/dist/primitives/react-separator.d.ts +1 -1
- package/dist/primitives/react-slider.d.ts +2 -2
- package/dist/primitives/react-switch.d.ts +2 -2
- package/dist/primitives/react-tabs.d.ts +3 -3
- package/dist/primitives/react-toast.d.ts +3 -3
- package/dist/primitives/react-toggle-group.d.ts +4 -4
- package/dist/primitives/react-toggle.d.ts +1 -1
- package/dist/primitives/react-tooltip.d.ts +5 -5
- package/dist/primitives/react-visually-hidden.d.ts +1 -1
- package/dist/shell/app-command-palette.d.ts +2 -3
- package/dist/shell/bottom-navbar.d.ts +1 -2
- package/dist/shell/command-registry.d.ts +1 -2
- package/dist/shell/index.d.ts +12 -11
- package/dist/shell/index.d.ts.map +1 -1
- package/dist/shell/index.js +2 -3
- package/dist/shell/link-context.d.ts +2 -3
- package/dist/shell/notification-center.d.ts +0 -1
- package/dist/shell/notification-preferences.d.ts +0 -1
- package/dist/shell/notification-preferences.d.ts.map +1 -1
- package/dist/shell/notification-preferences.js +2 -0
- package/dist/shell/notification-preferences.js.map +1 -1
- package/dist/shell/top-bar.d.ts +1 -2
- package/dist/test-utils/conformance.d.ts +0 -1
- package/dist/ui/accordion.d.ts +1 -2
- package/dist/ui/accordion.js +1 -1
- package/dist/ui/alert-dialog.d.ts +1 -2
- package/dist/ui/alert-dialog.js +52 -52
- package/dist/ui/alert.d.ts +0 -1
- package/dist/ui/aspect-ratio.d.ts +1 -2
- package/dist/ui/aspect-ratio.js +4 -4
- package/dist/ui/autocomplete.d.ts +1 -2
- package/dist/ui/autocomplete.js +1 -1
- package/dist/ui/avatar.d.ts +1 -2
- package/dist/ui/avatar.js +33 -33
- package/dist/ui/badge-group.d.ts +1 -2
- package/dist/ui/badge-indicator.d.ts +0 -1
- package/dist/ui/badge.d.ts +3 -4
- package/dist/ui/banner.d.ts +0 -1
- package/dist/ui/breadcrumb.js +1 -1
- package/dist/ui/button-group.d.ts +1 -2
- package/dist/ui/button-processing.d.ts +0 -1
- package/dist/ui/button.d.ts +1 -2
- package/dist/ui/button.js +1 -1
- package/dist/ui/card.d.ts +0 -1
- package/dist/ui/charts/_internal/animation.d.ts +0 -1
- package/dist/ui/charts/_internal/axes.d.ts +0 -1
- package/dist/ui/charts/_internal/colors.d.ts +1 -2
- package/dist/ui/charts/_internal/grid-lines.d.ts +0 -1
- package/dist/ui/charts/_internal/legend.d.ts +0 -1
- package/dist/ui/charts/_internal/scales.d.ts +0 -1
- package/dist/ui/charts/_internal/tooltip.d.ts +0 -1
- package/dist/ui/charts/_internal/types.d.ts +0 -1
- package/dist/ui/charts/area-chart.d.ts +1 -2
- package/dist/ui/charts/bar-chart.d.ts +1 -2
- package/dist/ui/charts/chart-container.d.ts +1 -2
- package/dist/ui/charts/gauge-chart.d.ts +0 -1
- package/dist/ui/charts/index.d.ts +9 -10
- package/dist/ui/charts/line-chart.d.ts +1 -2
- package/dist/ui/charts/pie-chart.d.ts +0 -1
- package/dist/ui/charts/radar-chart.d.ts +0 -1
- package/dist/ui/charts/sparkline.d.ts +0 -1
- package/dist/ui/chat/date-separator.d.ts +0 -1
- package/dist/ui/chat/index.d.ts +7 -8
- package/dist/ui/chat/message-input.d.ts +0 -1
- package/dist/ui/chat/message-list.d.ts +0 -1
- package/dist/ui/chat/message.d.ts +1 -2
- package/dist/ui/chat/system-message.d.ts +1 -2
- package/dist/ui/chat/typing-indicator.d.ts +0 -1
- package/dist/ui/chat/unread-separator.d.ts +0 -1
- package/dist/ui/checkbox.d.ts +2 -3
- package/dist/ui/checkbox.js +13 -13
- package/dist/ui/collapsible.d.ts +1 -2
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/color-input.d.ts +0 -1
- package/dist/ui/color-swatch.d.ts +0 -1
- package/dist/ui/combobox.d.ts +3 -4
- package/dist/ui/combobox.d.ts.map +1 -1
- package/dist/ui/combobox.js +146 -141
- package/dist/ui/combobox.js.map +1 -1
- package/dist/ui/context-menu.d.ts +1 -2
- package/dist/ui/context-menu.js +58 -58
- package/dist/ui/data-table-body.d.ts +0 -1
- package/dist/ui/data-table-bulk-actions.d.ts +0 -1
- package/dist/ui/data-table-card.d.ts +0 -1
- package/dist/ui/data-table-context.d.ts +0 -1
- package/dist/ui/data-table-header.d.ts +0 -1
- package/dist/ui/data-table-pagination.d.ts +0 -1
- package/dist/ui/data-table-toolbar.d.ts +0 -1
- package/dist/ui/data-table.d.ts +3 -4
- package/dist/ui/devalok-grain.d.ts +0 -1
- package/dist/ui/dialog.d.ts +1 -2
- package/dist/ui/dialog.js +43 -43
- package/dist/ui/dot.d.ts +0 -1
- package/dist/ui/dropdown-menu.d.ts +1 -2
- package/dist/ui/dropdown-menu.js +69 -69
- package/dist/ui/file-upload.d.ts +0 -1
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +124 -138
- package/dist/ui/file-upload.js.map +1 -1
- package/dist/ui/form.d.ts +7 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +4 -2
- package/dist/ui/form.js.map +1 -1
- package/dist/ui/hover-card.d.ts +1 -2
- package/dist/ui/hover-card.js +16 -16
- package/dist/ui/icon-button.d.ts +4 -4
- package/dist/ui/icon-button.d.ts.map +1 -1
- package/dist/ui/icon-button.js +1 -1
- package/dist/ui/icon-button.js.map +1 -1
- package/dist/ui/icon-context.d.ts +0 -1
- package/dist/ui/icon-group.d.ts +1 -2
- package/dist/ui/icon.d.ts +1 -2
- package/dist/ui/index.d.ts +78 -79
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js.map +1 -1
- package/dist/ui/input-otp.d.ts +0 -1
- package/dist/ui/input.d.ts +1 -2
- package/dist/ui/label.d.ts +1 -2
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/label.js +13 -12
- package/dist/ui/label.js.map +1 -1
- package/dist/ui/lib/bottom-sheet.d.ts +0 -1
- package/dist/ui/lib/check-tokens.d.ts +0 -1
- package/dist/ui/lib/field-state.d.ts +0 -1
- package/dist/ui/lib/icon-input.d.ts +0 -1
- package/dist/ui/lib/index.d.ts +6 -7
- package/dist/ui/lib/keybinding.d.ts +0 -1
- package/dist/ui/lib/link-context.d.ts +0 -1
- package/dist/ui/lib/mention.d.ts +0 -1
- package/dist/ui/lib/normalize-icon.d.ts +2 -2
- package/dist/ui/lib/slot.d.ts +2 -3
- package/dist/ui/lib/use-controllable-open.d.ts +0 -1
- package/dist/ui/link.d.ts +0 -1
- package/dist/ui/link.js +1 -1
- package/dist/ui/menubar.d.ts +1 -2
- package/dist/ui/menubar.js +64 -64
- package/dist/ui/navigation-menu.d.ts +1 -2
- package/dist/ui/navigation-menu.js +67 -67
- package/dist/ui/number-input.d.ts +1 -2
- package/dist/ui/oauth-button/index.d.ts +1 -2
- package/dist/ui/oauth-button/oauth-button.d.ts +2 -3
- package/dist/ui/pagination.d.ts +0 -1
- package/dist/ui/pagination.js +1 -1
- package/dist/ui/popover.d.ts +1 -2
- package/dist/ui/progress-ring.d.ts +0 -1
- package/dist/ui/progress.d.ts +1 -2
- package/dist/ui/progress.js +30 -30
- package/dist/ui/radio.d.ts +2 -3
- package/dist/ui/radio.js +18 -18
- package/dist/ui/search-input.d.ts +0 -1
- package/dist/ui/segmented-control.d.ts +1 -2
- package/dist/ui/select.d.ts +1 -2
- package/dist/ui/select.js +55 -55
- package/dist/ui/separator.d.ts +1 -2
- package/dist/ui/separator.js +5 -5
- package/dist/ui/sheet.d.ts +1 -2
- package/dist/ui/sheet.js +45 -45
- package/dist/ui/sidebar.d.ts +4 -5
- package/dist/ui/sidebar.js +1 -1
- package/dist/ui/slider.d.ts +1 -2
- package/dist/ui/slider.js +14 -14
- package/dist/ui/spinner.d.ts +0 -1
- package/dist/ui/spinner.d.ts.map +1 -1
- package/dist/ui/spinner.js +50 -44
- package/dist/ui/spinner.js.map +1 -1
- package/dist/ui/split-button.d.ts +14 -4
- package/dist/ui/split-button.d.ts.map +1 -1
- package/dist/ui/split-button.js.map +1 -1
- package/dist/ui/stat-card.d.ts +3 -4
- package/dist/ui/stat-flash.d.ts +1 -2
- package/dist/ui/stepper.d.ts +1 -2
- package/dist/ui/surface.js +1 -1
- package/dist/ui/switch.d.ts +2 -3
- package/dist/ui/switch.d.ts.map +1 -1
- package/dist/ui/switch.js +31 -31
- package/dist/ui/switch.js.map +1 -1
- package/dist/ui/table-row-link.d.ts +0 -1
- package/dist/ui/table.js +1 -1
- package/dist/ui/table.js.map +1 -1
- package/dist/ui/tabs.d.ts +1 -2
- package/dist/ui/tabs.js +35 -35
- package/dist/ui/textarea.d.ts +1 -2
- package/dist/ui/toast-registry.d.ts +0 -1
- package/dist/ui/toast-types.js +1 -0
- package/dist/ui/toast.d.ts +2 -3
- package/dist/ui/toaster.d.ts +0 -1
- package/dist/ui/toggle-group.d.ts +2 -3
- package/dist/ui/toggle-group.js +14 -14
- package/dist/ui/toggle.d.ts +1 -2
- package/dist/ui/toggle.js +12 -12
- package/dist/ui/tooltip.d.ts +1 -2
- package/dist/ui/tooltip.js +21 -21
- package/dist/ui/tree-view/index.d.ts +3 -4
- package/dist/ui/tree-view/tree-item.d.ts +1 -2
- package/dist/ui/tree-view/tree-view.d.ts +1 -2
- package/dist/ui/tree-view/use-tree.d.ts +1 -2
- package/dist/ui/truncated-text.d.ts +0 -1
- package/docs/components/composed/bulk-action-bar.md +9 -3
- package/docs/components/composed/error-boundary.md +18 -2
- package/docs/components/composed/master-detail.md +12 -2
- package/docs/components/composed/page-skeletons.md +2 -2
- package/docs/components/composed/rich-chat-input.md +18 -6
- package/docs/components/composed/simple-tooltip.md +1 -1
- package/docs/components/shell/app-command-palette.md +2 -1
- package/docs/components/shell/bottom-navbar.md +4 -4
- package/docs/components/shell/command-registry.md +2 -2
- package/docs/components/shell/link-context.md +2 -2
- package/docs/components/shell/top-bar.md +1 -1
- package/docs/components/ui/search-input.md +2 -2
- package/docs/components/ui/slider.md +2 -2
- package/docs/components/ui/split-button.md +3 -3
- package/docs/recipes/install-astro.md +2 -0
- package/docs/recipes/install-next-app-router.md +2 -0
- package/docs/recipes/install-remix.md +2 -0
- package/docs/recipes/install-tanstack-start.md +2 -0
- package/docs/recipes/install-vite.md +2 -0
- package/docs/recipes/troubleshoot.md +80 -0
- package/llms.txt +2 -2
- package/make-kit/Guidelines.md +1 -1
- package/make-kit/components/overview.md +2 -2
- package/make-kit/foundations/surfaces.md +1 -1
- package/mcp-manifest.json +411 -147
- package/package.json +30 -10
- package/skill/SKILL.md +1 -1
- package/skill/chat-skill/README.md +18 -0
- package/skill/chat-skill/SKILL.md +78 -0
- package/skill/chat-skill/chatgpt-instructions.md +26 -0
- package/skill/chat-skill/gemini-instructions.md +25 -0
- package/skill/references/components.md +2 -2
- package/skill/references/setup-astro.md +2 -0
- package/skill/references/setup-next-app-router.md +2 -0
- package/skill/references/setup-remix.md +2 -0
- package/skill/references/setup-tanstack-start.md +2 -0
- package/skill/references/setup-vite.md +2 -0
- package/skill/references/troubleshoot.md +80 -0
- package/dist/_chunks/primitives.js +0 -7596
- package/dist/_chunks/primitives.js.map +0 -1
- package/dist/shell/sidebar.d.ts +0 -113
- package/dist/shell/sidebar.d.ts.map +0 -1
- package/dist/shell/sidebar.js +0 -293
- package/dist/shell/sidebar.js.map +0 -1
- package/docs/components/shell/sidebar.md +0 -103
package/dist/_chunks/shared.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { tweens as e } from "../ui/lib/motion.js";
|
|
3
|
+
import { cn as t } from "../ui/lib/utils.js";
|
|
4
|
+
import { Icon as n } from "../ui/icon.js";
|
|
5
|
+
import { Button as r } from "../ui/button.js";
|
|
6
|
+
import { Range as i, Root as a, Thumb as o, Track as s } from "./primitives/react-slider.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
9
9
|
import { IconAlertTriangle as u, IconDownload as d, IconVolume as f, IconVolumeOff as p } from "@tabler/icons-react";
|
|
@@ -13,7 +13,7 @@ function h({ message: e, url: t }) {
|
|
|
13
13
|
return /* @__PURE__ */ l("div", {
|
|
14
14
|
className: "flex flex-col items-center justify-center gap-ds-04 rounded-control border border-surface-border bg-surface-sunken p-ds-08 text-center",
|
|
15
15
|
children: [
|
|
16
|
-
/* @__PURE__ */ c(
|
|
16
|
+
/* @__PURE__ */ c(n, {
|
|
17
17
|
icon: u,
|
|
18
18
|
size: "2xl",
|
|
19
19
|
className: "text-warning-9"
|
|
@@ -25,10 +25,10 @@ function h({ message: e, url: t }) {
|
|
|
25
25
|
className: "text-body-sm text-surface-fg-muted mt-ds-01",
|
|
26
26
|
children: e
|
|
27
27
|
})] }),
|
|
28
|
-
/* @__PURE__ */ c(
|
|
28
|
+
/* @__PURE__ */ c(r, {
|
|
29
29
|
variant: "outline",
|
|
30
30
|
size: "xs",
|
|
31
|
-
startIcon: /* @__PURE__ */ c(
|
|
31
|
+
startIcon: /* @__PURE__ */ c(n, { icon: d }),
|
|
32
32
|
asChild: !0,
|
|
33
33
|
children: /* @__PURE__ */ c("a", {
|
|
34
34
|
href: t,
|
|
@@ -41,7 +41,7 @@ function h({ message: e, url: t }) {
|
|
|
41
41
|
]
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
function g({ children:
|
|
44
|
+
function g({ children: n, className: r }) {
|
|
45
45
|
return /* @__PURE__ */ c(m.div, {
|
|
46
46
|
initial: {
|
|
47
47
|
opacity: 0,
|
|
@@ -51,43 +51,43 @@ function g({ children: e, className: t }) {
|
|
|
51
51
|
opacity: 1,
|
|
52
52
|
y: 0
|
|
53
53
|
},
|
|
54
|
-
transition:
|
|
55
|
-
className:
|
|
56
|
-
children:
|
|
54
|
+
transition: e.fade,
|
|
55
|
+
className: t("flex items-center gap-ds-01 rounded-control bg-surface-overlay/95 px-ds-02 py-ds-01 shadow-floating backdrop-blur-xs", r),
|
|
56
|
+
children: n
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
function _() {
|
|
60
60
|
return /* @__PURE__ */ c("div", { className: "mx-ds-01 h-4 w-px bg-surface-border-subtle" });
|
|
61
61
|
}
|
|
62
|
-
function v({ value:
|
|
62
|
+
function v({ value: e, max: n = 100, step: r = 1, onValueChange: u, tone: d = "light", ariaLabel: f, disabled: p, className: m }) {
|
|
63
63
|
let h = d === "dark";
|
|
64
|
-
return /* @__PURE__ */ l(
|
|
65
|
-
className:
|
|
66
|
-
value: [
|
|
67
|
-
max:
|
|
68
|
-
step:
|
|
64
|
+
return /* @__PURE__ */ l(a, {
|
|
65
|
+
className: t("group/ms relative flex h-3 w-full cursor-pointer touch-none select-none items-center", m),
|
|
66
|
+
value: [e],
|
|
67
|
+
max: n,
|
|
68
|
+
step: r,
|
|
69
69
|
disabled: p,
|
|
70
70
|
onValueChange: (e) => u(e[0] ?? 0),
|
|
71
71
|
"aria-label": f,
|
|
72
|
-
children: [/* @__PURE__ */ c(
|
|
73
|
-
className:
|
|
74
|
-
children: /* @__PURE__ */ c(
|
|
75
|
-
}), /* @__PURE__ */ c(
|
|
72
|
+
children: [/* @__PURE__ */ c(s, {
|
|
73
|
+
className: t("relative h-1 w-full grow overflow-hidden rounded-pill", h ? "bg-white/30" : "bg-surface-sunken"),
|
|
74
|
+
children: /* @__PURE__ */ c(i, { className: t("absolute h-full rounded-pill", h ? "bg-white" : "bg-accent-9") })
|
|
75
|
+
}), /* @__PURE__ */ c(o, { className: t("block h-3 w-3 rounded-pill shadow-raised outline-hidden transition-[opacity,transform] duration-fast-02", "opacity-0 group-hover/ms:opacity-100 focus:opacity-100 active:scale-110", "focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-1", h ? "bg-white focus-visible:ring-white" : "bg-accent-9 focus-visible:ring-accent-9") })]
|
|
76
76
|
});
|
|
77
77
|
}
|
|
78
|
-
function y({ volume: e, muted:
|
|
79
|
-
let s =
|
|
78
|
+
function y({ volume: e, muted: r, onVolumeChange: i, onMuteToggle: a, variant: o = "light" }) {
|
|
79
|
+
let s = r ? 0 : e;
|
|
80
80
|
return /* @__PURE__ */ l("div", {
|
|
81
81
|
className: "flex items-center gap-ds-02 shrink-0 group/vol",
|
|
82
82
|
children: [/* @__PURE__ */ c("button", {
|
|
83
|
-
onClick:
|
|
84
|
-
className:
|
|
85
|
-
"aria-label":
|
|
86
|
-
title:
|
|
87
|
-
children:
|
|
83
|
+
onClick: a,
|
|
84
|
+
className: t("transition-colors", o === "dark" ? "text-white hover:text-white/80" : "text-surface-fg-muted hover:text-surface-fg"),
|
|
85
|
+
"aria-label": r ? "Unmute (M)" : "Mute (M)",
|
|
86
|
+
title: r ? "Unmute" : "Mute",
|
|
87
|
+
children: r || e === 0 ? /* @__PURE__ */ c(n, {
|
|
88
88
|
icon: p,
|
|
89
89
|
size: "sm"
|
|
90
|
-
}) : /* @__PURE__ */ c(
|
|
90
|
+
}) : /* @__PURE__ */ c(n, {
|
|
91
91
|
icon: f,
|
|
92
92
|
size: "sm"
|
|
93
93
|
})
|
|
@@ -97,8 +97,8 @@ function y({ volume: e, muted: t, onVolumeChange: n, onMuteToggle: r, variant: i
|
|
|
97
97
|
value: s,
|
|
98
98
|
max: 1,
|
|
99
99
|
step: .01,
|
|
100
|
-
onValueChange:
|
|
101
|
-
tone:
|
|
100
|
+
onValueChange: i,
|
|
101
|
+
tone: o,
|
|
102
102
|
ariaLabel: "Volume"
|
|
103
103
|
})
|
|
104
104
|
})]
|
package/dist/_chunks/tiptap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { arrow as e, autoPlacement as t, autoUpdate as n, computePosition as r, flip$1 as i, hide as a, inline as o, offset$1 as s, shift$1 as c, size$1 as l } from "./primitives.js";
|
|
2
|
+
import { arrow as e, autoPlacement as t, autoUpdate as n, computePosition as r, flip$1 as i, hide as a, inline as o, offset$1 as s, shift$1 as c, size$1 as l } from "./primitives-internal.js";
|
|
3
3
|
import u, { createContext as d, createElement as f, createRef as p, forwardRef as m, memo as h, useContext as g, useDebugValue as _, useEffect as v, useLayoutEffect as y, useMemo as b, useRef as x, useState as S, version as C } from "react";
|
|
4
4
|
import { Fragment as w, jsx as ee, jsxs as te } from "react/jsx-runtime";
|
|
5
5
|
import ne, { createPortal as re, flushSync as ie } from "react-dom";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { BlockComponentProps } from './types';
|
|
1
|
+
import { IconInput } from '../ui/lib/icon-input.js';
|
|
2
|
+
import { BlockComponentProps } from './types.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
export interface AICommandContext {
|
|
6
5
|
customBlocks: Record<string, React.ComponentType<BlockComponentProps<any>>>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, BlockTableData } from '../types';
|
|
1
|
+
import { BlockComponentProps, BlockTableData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const BlockTable: React.MemoExoticComponent<({ data, confidence, }: BlockComponentProps<BlockTableData>) => React.JSX.Element>;
|
|
5
4
|
export { BlockTable };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, ConfirmBlockData } from '../types';
|
|
1
|
+
import { BlockComponentProps, ConfirmBlockData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const ConfirmBlock: React.MemoExoticComponent<({ data, confidence, onAction, }: BlockComponentProps<ConfirmBlockData>) => React.JSX.Element>;
|
|
5
4
|
export { ConfirmBlock };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps } from '../types';
|
|
1
|
+
import { BlockComponentProps } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const DividerBlock: React.MemoExoticComponent<(_props: BlockComponentProps<Record<string, never>>) => React.JSX.Element>;
|
|
5
4
|
export { DividerBlock };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, ErrorBlockData } from '../types';
|
|
1
|
+
import { BlockComponentProps, ErrorBlockData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const ErrorBlock: React.MemoExoticComponent<({ data, confidence, }: BlockComponentProps<ErrorBlockData>) => React.JSX.Element>;
|
|
5
4
|
export { ErrorBlock };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
export { SuccessBlock } from './success';
|
|
1
|
+
export { BlockTable } from './block-table.js';
|
|
2
|
+
export { ConfirmBlock } from './confirm.js';
|
|
3
|
+
export { DividerBlock } from './divider.js';
|
|
4
|
+
export { InfoBlock } from './info.js';
|
|
5
|
+
export { LoadingBlock } from './loading.js';
|
|
6
|
+
export { StatRowBlock } from './stat-row.js';
|
|
7
|
+
export { SuccessBlock } from './success.js';
|
|
9
8
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ai/blocks/info.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, LoadingBlockData } from '../types';
|
|
1
|
+
import { BlockComponentProps, LoadingBlockData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const LoadingBlock: React.MemoExoticComponent<({ data, }: BlockComponentProps<LoadingBlockData>) => React.JSX.Element>;
|
|
5
4
|
export { LoadingBlock };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, StatRowBlockData } from '../types';
|
|
1
|
+
import { BlockComponentProps, StatRowBlockData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const StatRowBlock: React.MemoExoticComponent<({ data, }: BlockComponentProps<StatRowBlockData>) => React.JSX.Element | null>;
|
|
5
4
|
export { StatRowBlock };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import { BlockComponentProps, SuccessBlockData } from '../types';
|
|
1
|
+
import { BlockComponentProps, SuccessBlockData } from '../types.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
declare const SuccessBlock: React.MemoExoticComponent<({ data, blockId, confidence, onAction, }: BlockComponentProps<SuccessBlockData>) => React.JSX.Element>;
|
|
5
4
|
export { SuccessBlock };
|
package/dist/ai/blocks/text.d.ts
CHANGED
package/dist/ai/command-bar.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import { BlockComponentProps, ConversationMessage, ProcessingStep } from './types';
|
|
1
|
+
import { IconInput } from '../ui/lib/icon-input.js';
|
|
2
|
+
import { BlockComponentProps, ConversationMessage, ProcessingStep } from './types.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
/**
|
|
6
5
|
* Renders a scrollable AI conversation thread with support for streaming
|
package/dist/ai/index.d.ts
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
export {
|
|
4
|
-
export
|
|
5
|
-
export {
|
|
6
|
-
export
|
|
7
|
-
export {
|
|
8
|
-
export
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export {
|
|
17
|
-
export type { AIResponse, Block, BlockComponentProps, BlockTableColumn, BlockTableData, ConfirmBlockData, ConversationMessage, ErrorBlockData, LoadingBlockData, ProcessingStep, StatRowBlockData, StatRowStat, SuccessBlockData, } from './types';
|
|
1
|
+
export type { AICommandContext, AICommandProviderProps } from './ai-command-provider.js';
|
|
2
|
+
export { AICommandProvider, useAICommand } from './ai-command-provider.js';
|
|
3
|
+
export type { CommandBarProps } from './command-bar.js';
|
|
4
|
+
export { CommandBar } from './command-bar.js';
|
|
5
|
+
export type { AIConversationProps } from './conversation.js';
|
|
6
|
+
export { AIConversation } from './conversation.js';
|
|
7
|
+
export type { DevadootIconProps, DevadootState } from './devadoot-icon.js';
|
|
8
|
+
export { DevadootIcon } from './devadoot-icon.js';
|
|
9
|
+
export { BlockTable } from './blocks/block-table.js';
|
|
10
|
+
export { ConfirmBlock } from './blocks/confirm.js';
|
|
11
|
+
export { DividerBlock } from './blocks/divider.js';
|
|
12
|
+
export { InfoBlock } from './blocks/info.js';
|
|
13
|
+
export { LoadingBlock } from './blocks/loading.js';
|
|
14
|
+
export { StatRowBlock } from './blocks/stat-row.js';
|
|
15
|
+
export { SuccessBlock } from './blocks/success.js';
|
|
16
|
+
export type { AIResponse, Block, BlockComponentProps, BlockTableColumn, BlockTableData, ConfirmBlockData, ConversationMessage, ErrorBlockData, LoadingBlockData, ProcessingStep, StatRowBlockData, StatRowStat, SuccessBlockData, } from './types.js';
|
|
18
17
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/ai/types.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import { AvatarRing } from '../ui/avatar';
|
|
2
|
+
import { avatarVariants, AvatarRing } from '../ui/avatar.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
|
-
|
|
6
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
4
|
+
type Size = NonNullable<VariantProps<typeof avatarVariants>['size']>;
|
|
8
5
|
export interface AvatarUser {
|
|
9
6
|
name: string;
|
|
10
7
|
image?: string | null;
|
|
11
8
|
ring?: AvatarRing;
|
|
9
|
+
/** Small top-right marker. `lead` = accent dot, `admin` = warning dot, or any node. */
|
|
12
10
|
indicator?: 'lead' | 'admin' | React.ReactNode;
|
|
13
11
|
}
|
|
14
|
-
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement
|
|
12
|
+
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
15
13
|
users: AvatarUser[];
|
|
16
14
|
max?: number;
|
|
15
|
+
size?: Size;
|
|
17
16
|
showTooltip?: boolean;
|
|
18
17
|
/** Border color for the group avatars. @default 'surface-raised' */
|
|
19
18
|
borderColor?: 'surface-base' | 'surface-raised';
|
|
20
|
-
/** Callback when the "+N" overflow badge is clicked */
|
|
19
|
+
/** Callback when the "+N" overflow badge is clicked (renders it as a button). */
|
|
21
20
|
onOverflowClick?: () => void;
|
|
22
|
-
/** Custom render function for each avatar */
|
|
21
|
+
/** Custom render function for each avatar (consumer owns the Avatar). */
|
|
23
22
|
renderAvatar?: (user: AvatarUser, index: number) => React.ReactNode;
|
|
24
|
-
/** Direction avatars expand on hover. @default 'right' */
|
|
23
|
+
/** Direction avatars expand on hover/focus. @default 'right' */
|
|
25
24
|
expandDirection?: 'left' | 'right';
|
|
26
|
-
/** How
|
|
25
|
+
/** How far avatars spread on hover/focus. @default 'default' */
|
|
27
26
|
expandAmount?: 'compact' | 'default' | 'wide';
|
|
27
|
+
/** Accessible label for the group. @default `${count} team members` */
|
|
28
|
+
label?: string;
|
|
28
29
|
}
|
|
29
30
|
declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
31
|
export { AvatarGroup };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"AAEA,OAAO,
|
|
1
|
+
{"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAE5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAIL,cAAc,EACd,KAAK,UAAU,EAChB,MAAM,cAAc,CAAA;AAWrB,KAAK,IAAI,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC,CAAA;AAWpE,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,IAAI,CAAC,EAAE,UAAU,CAAA;IACjB,uFAAuF;IACvF,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,CAAC,SAAS,CAAA;CAC/C;AAED,MAAM,WAAW,gBAAiB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC5E,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,IAAI,CAAC,EAAE,IAAI,CAAA;IACX,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,oEAAoE;IACpE,WAAW,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAA;IAC/C,iFAAiF;IACjF,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,yEAAyE;IACzE,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,KAAK,KAAK,CAAC,SAAS,CAAA;IACnE,gEAAgE;IAChE,eAAe,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAClC,gEAAgE;IAChE,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAA;IAC7C,uEAAuE;IACvE,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAiBD,QAAA,MAAM,WAAW,yFA4KhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
|