@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/ui/select.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { springs as e, tweens as t } from "./lib/motion.js";
|
|
3
|
+
import { cva as n } from "../_chunks/vendor-utils.js";
|
|
4
|
+
import { cn as r } from "./lib/utils.js";
|
|
5
|
+
import { Icon as i } from "./icon.js";
|
|
6
|
+
import { useFormField as a } from "./form.js";
|
|
7
|
+
import { resolveFieldState as o } from "../_chunks/field-state.js";
|
|
8
|
+
import { Content2 as s, Group as c, Icon as l, Item as u, ItemIndicator as d, ItemText as f, Label as p, Portal as m, Root2 as h, ScrollDownButton as g, ScrollUpButton as _, Separator as v, Trigger as y, Value as b, Viewport as x } from "../_chunks/primitives/react-select.js";
|
|
9
9
|
import * as S from "react";
|
|
10
10
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
11
11
|
import { IconCheck as T, IconChevronDown as E, IconChevronUp as D } from "@tabler/icons-react";
|
|
12
12
|
import { motion as O } from "framer-motion";
|
|
13
13
|
//#region src/ui/select.tsx
|
|
14
|
-
var k =
|
|
14
|
+
var k = h, A = c, j = b, M = n("flex w-full items-center justify-between whitespace-nowrap rounded-control placeholder:text-surface-fg-subtle focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-action-disabled [&>span]:line-clamp-1 [&>span]:min-w-0", {
|
|
15
15
|
variants: {
|
|
16
16
|
variant: {
|
|
17
17
|
default: "border border-surface-border-strong bg-surface-raised-hover focus-visible:border-accent-7",
|
|
@@ -36,23 +36,23 @@ var k = c, A = t, j = p, M = _("flex w-full items-center justify-between whitesp
|
|
|
36
36
|
state: "default",
|
|
37
37
|
size: "md"
|
|
38
38
|
}
|
|
39
|
-
}), N = S.forwardRef(({ className: e, children: t, variant:
|
|
40
|
-
let
|
|
41
|
-
return /* @__PURE__ */ w(
|
|
42
|
-
ref:
|
|
43
|
-
className:
|
|
44
|
-
variant:
|
|
45
|
-
state:
|
|
46
|
-
size:
|
|
39
|
+
}), N = S.forwardRef(({ className: e, children: t, variant: n, state: s, size: c, ...u }, d) => {
|
|
40
|
+
let f = a(), p = o(s ?? void 0, f.state), m = u["aria-describedby"] ?? f.helperTextId, h = u["aria-required"] ?? f.required;
|
|
41
|
+
return /* @__PURE__ */ w(y, {
|
|
42
|
+
ref: d,
|
|
43
|
+
className: r(M({
|
|
44
|
+
variant: n,
|
|
45
|
+
state: p ?? "default",
|
|
46
|
+
size: c
|
|
47
47
|
}), e),
|
|
48
|
-
"aria-invalid":
|
|
49
|
-
"aria-describedby":
|
|
50
|
-
"aria-required":
|
|
51
|
-
...
|
|
52
|
-
id:
|
|
53
|
-
children: [t, /* @__PURE__ */ C(
|
|
48
|
+
"aria-invalid": p === "error" || void 0,
|
|
49
|
+
"aria-describedby": m,
|
|
50
|
+
"aria-required": h || void 0,
|
|
51
|
+
...u,
|
|
52
|
+
id: u.id ?? f.inputId,
|
|
53
|
+
children: [t, /* @__PURE__ */ C(l, {
|
|
54
54
|
asChild: !0,
|
|
55
|
-
children: /* @__PURE__ */ C(
|
|
55
|
+
children: /* @__PURE__ */ C(i, {
|
|
56
56
|
icon: E,
|
|
57
57
|
size: "sm",
|
|
58
58
|
className: "opacity-50"
|
|
@@ -60,32 +60,32 @@ var k = c, A = t, j = p, M = _("flex w-full items-center justify-between whitesp
|
|
|
60
60
|
})]
|
|
61
61
|
});
|
|
62
62
|
});
|
|
63
|
-
N.displayName =
|
|
64
|
-
var P = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(
|
|
63
|
+
N.displayName = y.displayName;
|
|
64
|
+
var P = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(_, {
|
|
65
65
|
ref: n,
|
|
66
|
-
className:
|
|
66
|
+
className: r("flex cursor-default items-center justify-center py-ds-02", e),
|
|
67
67
|
...t,
|
|
68
|
-
children: /* @__PURE__ */ C(
|
|
68
|
+
children: /* @__PURE__ */ C(i, {
|
|
69
69
|
icon: D,
|
|
70
70
|
size: "sm"
|
|
71
71
|
})
|
|
72
72
|
}));
|
|
73
|
-
P.displayName =
|
|
74
|
-
var F = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(
|
|
73
|
+
P.displayName = _.displayName;
|
|
74
|
+
var F = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(g, {
|
|
75
75
|
ref: n,
|
|
76
|
-
className:
|
|
76
|
+
className: r("flex cursor-default items-center justify-center py-ds-02", e),
|
|
77
77
|
...t,
|
|
78
|
-
children: /* @__PURE__ */ C(
|
|
78
|
+
children: /* @__PURE__ */ C(i, {
|
|
79
79
|
icon: E,
|
|
80
80
|
size: "sm"
|
|
81
81
|
})
|
|
82
82
|
}));
|
|
83
|
-
F.displayName =
|
|
84
|
-
var I = S.forwardRef(({ className:
|
|
85
|
-
ref:
|
|
86
|
-
position:
|
|
83
|
+
F.displayName = g.displayName;
|
|
84
|
+
var I = S.forwardRef(({ className: n, children: i, position: a = "popper", ...o }, c) => /* @__PURE__ */ C(m, { children: /* @__PURE__ */ C(s, {
|
|
85
|
+
ref: c,
|
|
86
|
+
position: a,
|
|
87
87
|
asChild: !0,
|
|
88
|
-
...
|
|
88
|
+
...o,
|
|
89
89
|
children: /* @__PURE__ */ w(O.div, {
|
|
90
90
|
initial: {
|
|
91
91
|
opacity: 0,
|
|
@@ -96,48 +96,48 @@ var I = S.forwardRef(({ className: t, children: n, position: r = "popper", ...i
|
|
|
96
96
|
scale: 1
|
|
97
97
|
},
|
|
98
98
|
transition: {
|
|
99
|
-
...
|
|
100
|
-
opacity:
|
|
99
|
+
...e.snappy,
|
|
100
|
+
opacity: t.fade
|
|
101
101
|
},
|
|
102
|
-
className:
|
|
102
|
+
className: r("relative z-popover max-h-96 min-w-[8rem] overflow-hidden rounded-overlay bg-surface-overlay text-surface-fg shadow-floating", a === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", n),
|
|
103
103
|
children: [
|
|
104
104
|
/* @__PURE__ */ C(P, {}),
|
|
105
|
-
/* @__PURE__ */ C(
|
|
106
|
-
className:
|
|
107
|
-
children:
|
|
105
|
+
/* @__PURE__ */ C(x, {
|
|
106
|
+
className: r("p-ds-02", a === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),
|
|
107
|
+
children: i
|
|
108
108
|
}),
|
|
109
109
|
/* @__PURE__ */ C(F, {})
|
|
110
110
|
]
|
|
111
111
|
})
|
|
112
112
|
}) }));
|
|
113
|
-
I.displayName =
|
|
114
|
-
var L = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(
|
|
113
|
+
I.displayName = s.displayName;
|
|
114
|
+
var L = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(p, {
|
|
115
115
|
ref: n,
|
|
116
|
-
className:
|
|
116
|
+
className: r("px-ds-03 py-ds-02b text-body-md font-semibold", e),
|
|
117
117
|
...t
|
|
118
118
|
}));
|
|
119
|
-
L.displayName =
|
|
120
|
-
var R = S.forwardRef(({ className: e, children: t, ...n },
|
|
121
|
-
ref:
|
|
122
|
-
className:
|
|
119
|
+
L.displayName = p.displayName;
|
|
120
|
+
var R = S.forwardRef(({ className: e, children: t, ...n }, a) => /* @__PURE__ */ w(u, {
|
|
121
|
+
ref: a,
|
|
122
|
+
className: r("relative flex w-full cursor-default select-none items-center rounded-control py-ds-02b pl-ds-03 pr-ds-07 text-body-md outline-hidden transition-colors duration-fast-01 ease-productive-standard hover:bg-surface-raised focus:bg-surface-raised focus:text-surface-fg data-[disabled]:pointer-events-none data-[disabled]:opacity-action-disabled", e),
|
|
123
123
|
...n,
|
|
124
124
|
children: [/* @__PURE__ */ C("span", {
|
|
125
125
|
className: "absolute right-ds-03 flex h-ico-sm w-ico-sm items-center justify-center",
|
|
126
|
-
children: /* @__PURE__ */ C(
|
|
126
|
+
children: /* @__PURE__ */ C(d, { children: /* @__PURE__ */ C(i, {
|
|
127
127
|
icon: T,
|
|
128
128
|
size: "sm"
|
|
129
129
|
}) })
|
|
130
|
-
}), /* @__PURE__ */ C(
|
|
130
|
+
}), /* @__PURE__ */ C(f, {
|
|
131
131
|
className: "min-w-0 line-clamp-1",
|
|
132
132
|
children: t
|
|
133
133
|
})]
|
|
134
134
|
}));
|
|
135
|
-
R.displayName =
|
|
136
|
-
var z = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(
|
|
135
|
+
R.displayName = u.displayName;
|
|
136
|
+
var z = S.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ C(v, {
|
|
137
137
|
ref: n,
|
|
138
|
-
className:
|
|
138
|
+
className: r("-mx-ds-01 my-ds-02 h-px bg-surface-border", e),
|
|
139
139
|
...t
|
|
140
140
|
}));
|
|
141
|
-
z.displayName =
|
|
141
|
+
z.displayName = v.displayName;
|
|
142
142
|
//#endregion
|
|
143
143
|
export { k as Select, I as SelectContent, A as SelectGroup, R as SelectItem, L as SelectLabel, F as SelectScrollDownButton, P as SelectScrollUpButton, z as SelectSeparator, N as SelectTrigger, j as SelectValue, M as selectTriggerVariants };
|
package/dist/ui/separator.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as SeparatorPrimitive from '../primitives/react-separator';
|
|
1
|
+
import * as SeparatorPrimitive from '../primitives/react-separator.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
export interface SeparatorProps extends React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root> {
|
|
5
4
|
/**
|
package/dist/ui/separator.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { cn as e } from "./lib/utils.js";
|
|
3
|
+
import { Root as t } from "../_chunks/primitives/react-separator.js";
|
|
4
4
|
import * as n from "react";
|
|
5
5
|
import { jsx as r } from "react/jsx-runtime";
|
|
6
6
|
//#region src/ui/separator.tsx
|
|
7
|
-
var i = n.forwardRef(({ className: n, orientation: i = "horizontal", decorative: a = !0, variant: o, ...s }, c) => /* @__PURE__ */ r(
|
|
7
|
+
var i = n.forwardRef(({ className: n, orientation: i = "horizontal", decorative: a = !0, variant: o, ...s }, c) => /* @__PURE__ */ r(t, {
|
|
8
8
|
ref: c,
|
|
9
9
|
decorative: a,
|
|
10
10
|
orientation: i,
|
|
11
|
-
className:
|
|
11
|
+
className: e("shrink-0 bg-surface-border", i === "horizontal" ? "h-px w-full" : "h-full w-px", n),
|
|
12
12
|
...s
|
|
13
13
|
}));
|
|
14
|
-
i.displayName =
|
|
14
|
+
i.displayName = t.displayName;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { i as Separator };
|
package/dist/ui/sheet.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import * as SheetPrimitive from '../primitives/react-dialog';
|
|
2
|
+
import * as SheetPrimitive from '../primitives/react-dialog.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
/**
|
|
6
5
|
* Sheet compound component — accessible sliding panel anchored to a screen edge, with focus trap
|
package/dist/ui/sheet.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { motionProps as e, springs as t, tweens as n } from "./lib/motion.js";
|
|
3
|
+
import { cva as r } from "../_chunks/vendor-utils.js";
|
|
4
|
+
import { cn as i } from "./lib/utils.js";
|
|
5
|
+
import { Icon as a } from "./icon.js";
|
|
6
|
+
import { Close as o, Content as s, Description as c, Overlay as l, Portal as u, Root as d, Title as f, Trigger as p } from "../_chunks/primitives/react-alert-dialog.js";
|
|
7
7
|
import { useIsMobile as m } from "../hooks/use-mobile.js";
|
|
8
8
|
import { useControllableOpen as h } from "../_chunks/use-controllable-open.js";
|
|
9
9
|
import * as g from "react";
|
|
@@ -15,39 +15,39 @@ var C = g.createContext({
|
|
|
15
15
|
open: !1,
|
|
16
16
|
onClose: () => {}
|
|
17
17
|
}), w = ({ open: e, defaultOpen: t = !1, onOpenChange: n, children: r, ...i }) => {
|
|
18
|
-
let { open:
|
|
18
|
+
let { open: a, setOpen: o, close: s } = h({
|
|
19
19
|
open: e,
|
|
20
20
|
defaultOpen: t,
|
|
21
21
|
onOpenChange: n
|
|
22
|
-
}),
|
|
23
|
-
open:
|
|
24
|
-
onClose:
|
|
25
|
-
}), [
|
|
22
|
+
}), c = g.useMemo(() => ({
|
|
23
|
+
open: a,
|
|
24
|
+
onClose: s
|
|
25
|
+
}), [a, s]);
|
|
26
26
|
return /* @__PURE__ */ _(C.Provider, {
|
|
27
|
-
value:
|
|
28
|
-
children: /* @__PURE__ */ _(
|
|
29
|
-
open:
|
|
30
|
-
onOpenChange:
|
|
27
|
+
value: c,
|
|
28
|
+
children: /* @__PURE__ */ _(d, {
|
|
29
|
+
open: a,
|
|
30
|
+
onOpenChange: o,
|
|
31
31
|
...i,
|
|
32
32
|
children: r
|
|
33
33
|
})
|
|
34
34
|
});
|
|
35
35
|
};
|
|
36
36
|
w.displayName = "Sheet";
|
|
37
|
-
var T =
|
|
37
|
+
var T = p, E = o, D = u, O = g.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ _(l, {
|
|
38
38
|
forceMount: !0,
|
|
39
39
|
asChild: !0,
|
|
40
40
|
children: /* @__PURE__ */ _(x.div, {
|
|
41
|
-
ref:
|
|
42
|
-
className:
|
|
41
|
+
ref: a,
|
|
42
|
+
className: i("fixed inset-0 z-modal bg-overlay", t),
|
|
43
43
|
initial: { opacity: 0 },
|
|
44
44
|
animate: { opacity: 1 },
|
|
45
45
|
exit: { opacity: 0 },
|
|
46
|
-
transition:
|
|
47
|
-
...
|
|
46
|
+
transition: n.fade,
|
|
47
|
+
...e(r)
|
|
48
48
|
})
|
|
49
49
|
}));
|
|
50
|
-
O.displayName =
|
|
50
|
+
O.displayName = l.displayName;
|
|
51
51
|
var k = {
|
|
52
52
|
top: { y: "-100%" },
|
|
53
53
|
bottom: { y: "100%" },
|
|
@@ -58,7 +58,7 @@ var k = {
|
|
|
58
58
|
bottom: { y: 0 },
|
|
59
59
|
left: { x: 0 },
|
|
60
60
|
right: { x: 0 }
|
|
61
|
-
}, j =
|
|
61
|
+
}, j = r("fixed z-modal gap-ds-05 bg-surface-overlay p-ds-06 shadow-overlay", {
|
|
62
62
|
variants: { side: {
|
|
63
63
|
top: "inset-x-0 top-0 border-b border-surface-border-strong",
|
|
64
64
|
bottom: "inset-x-0 bottom-0 border-t border-surface-border-strong",
|
|
@@ -66,39 +66,39 @@ var k = {
|
|
|
66
66
|
right: "inset-y-0 right-0 h-full w-3/4 border-l border-surface-border-strong sm:max-w-sm"
|
|
67
67
|
} },
|
|
68
68
|
defaultVariants: { side: "right" }
|
|
69
|
-
}), M = g.forwardRef(({ side: n = "right", responsive: r, className:
|
|
70
|
-
let
|
|
71
|
-
M.current = e, typeof
|
|
72
|
-
}, [
|
|
69
|
+
}), M = g.forwardRef(({ side: n = "right", responsive: r, className: c, children: l, ...u }, d) => {
|
|
70
|
+
let f = m(), p = r !== !1 && f, h = S(), { open: w, onClose: T } = g.useContext(C), E = p ? "bottom" : n ?? "right", M = g.useRef(null), N = g.useCallback((e) => {
|
|
71
|
+
M.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
|
|
72
|
+
}, [d]);
|
|
73
73
|
return /* @__PURE__ */ _(b, { children: w && /* @__PURE__ */ v(D, {
|
|
74
74
|
forceMount: !0,
|
|
75
|
-
children: [/* @__PURE__ */ _(O, {}), /* @__PURE__ */ _(
|
|
75
|
+
children: [/* @__PURE__ */ _(O, {}), /* @__PURE__ */ _(s, {
|
|
76
76
|
forceMount: !0,
|
|
77
77
|
asChild: !0,
|
|
78
78
|
children: /* @__PURE__ */ v(x.div, {
|
|
79
79
|
ref: N,
|
|
80
|
-
className:
|
|
80
|
+
className: i(j({ side: E }), c),
|
|
81
81
|
initial: k[E],
|
|
82
82
|
animate: A[E],
|
|
83
83
|
exit: k[E],
|
|
84
|
-
transition:
|
|
85
|
-
drag:
|
|
84
|
+
transition: t.smooth,
|
|
85
|
+
drag: p && !h ? "y" : !1,
|
|
86
86
|
dragConstraints: { top: 0 },
|
|
87
87
|
dragElastic: .2,
|
|
88
|
-
onDragEnd:
|
|
88
|
+
onDragEnd: p ? (e, t) => {
|
|
89
89
|
let n = M.current?.getBoundingClientRect().height ?? 300;
|
|
90
90
|
(t.offset.y > n * .3 || t.velocity.y > 500) && T();
|
|
91
91
|
} : void 0,
|
|
92
|
-
...
|
|
92
|
+
...e(u),
|
|
93
93
|
children: [
|
|
94
|
-
|
|
94
|
+
p && /* @__PURE__ */ _("div", {
|
|
95
95
|
className: "flex justify-center pt-ds-03 pb-ds-02",
|
|
96
96
|
children: /* @__PURE__ */ _("div", { className: "h-1 w-8 rounded-pill bg-surface-border" })
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ v(
|
|
98
|
+
/* @__PURE__ */ v(o, {
|
|
99
99
|
title: "Close",
|
|
100
100
|
className: "absolute right-ds-05 top-ds-05 min-h-ds-xs min-w-ds-xs flex items-center justify-center rounded-control-inner text-surface-fg-subtle transition-colors ease-productive-standard hover:text-surface-fg-muted hover:bg-surface-raised-hover active:scale-90 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 disabled:pointer-events-none",
|
|
101
|
-
children: [/* @__PURE__ */ _(
|
|
101
|
+
children: [/* @__PURE__ */ _(a, {
|
|
102
102
|
icon: y,
|
|
103
103
|
size: "sm"
|
|
104
104
|
}), /* @__PURE__ */ _("span", {
|
|
@@ -106,36 +106,36 @@ var k = {
|
|
|
106
106
|
children: "Close"
|
|
107
107
|
})]
|
|
108
108
|
}),
|
|
109
|
-
|
|
109
|
+
l
|
|
110
110
|
]
|
|
111
111
|
})
|
|
112
112
|
})]
|
|
113
113
|
}) });
|
|
114
114
|
});
|
|
115
|
-
M.displayName =
|
|
115
|
+
M.displayName = s.displayName;
|
|
116
116
|
var N = g.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ _("div", {
|
|
117
117
|
ref: n,
|
|
118
|
-
className:
|
|
118
|
+
className: i("flex flex-col space-y-ds-03 text-center sm:text-left", e),
|
|
119
119
|
...t
|
|
120
120
|
}));
|
|
121
121
|
N.displayName = "SheetHeader";
|
|
122
122
|
var P = g.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ _("div", {
|
|
123
123
|
ref: n,
|
|
124
|
-
className:
|
|
124
|
+
className: i("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03", e),
|
|
125
125
|
...t
|
|
126
126
|
}));
|
|
127
127
|
P.displayName = "SheetFooter";
|
|
128
|
-
var F = g.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ _(
|
|
128
|
+
var F = g.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ _(f, {
|
|
129
129
|
ref: n,
|
|
130
|
-
className:
|
|
130
|
+
className: i("text-heading-xs font-semibold text-surface-fg", e),
|
|
131
131
|
...t
|
|
132
132
|
}));
|
|
133
|
-
F.displayName =
|
|
134
|
-
var I = g.forwardRef(({ className: e, ...t },
|
|
135
|
-
ref:
|
|
136
|
-
className:
|
|
133
|
+
F.displayName = f.displayName;
|
|
134
|
+
var I = g.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ _(c, {
|
|
135
|
+
ref: n,
|
|
136
|
+
className: i("text-body-md text-surface-fg-muted", e),
|
|
137
137
|
...t
|
|
138
138
|
}));
|
|
139
|
-
I.displayName =
|
|
139
|
+
I.displayName = c.displayName;
|
|
140
140
|
//#endregion
|
|
141
141
|
export { w as Sheet, E as SheetClose, M as SheetContent, I as SheetDescription, P as SheetFooter, N as SheetHeader, O as SheetOverlay, D as SheetPortal, F as SheetTitle, T as SheetTrigger };
|
package/dist/ui/sidebar.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
2
|
import { ComponentProps } from 'react';
|
|
4
|
-
import { TooltipContent } from './tooltip';
|
|
3
|
+
import { TooltipContent } from './tooltip.js';
|
|
5
4
|
type SidebarContext = {
|
|
6
5
|
state: 'expanded' | 'collapsed';
|
|
7
6
|
open: boolean;
|
|
@@ -23,13 +22,13 @@ declare const Sidebar: import('react').ForwardRefExoticComponent<Omit<import('re
|
|
|
23
22
|
variant?: "sidebar" | "floating" | "inset";
|
|
24
23
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
25
24
|
}, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
26
|
-
declare const SidebarTrigger: import('react').ForwardRefExoticComponent<Omit<import('./button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
25
|
+
declare const SidebarTrigger: import('react').ForwardRefExoticComponent<Omit<import('./button.js').ButtonProps & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
27
26
|
declare const SidebarRail: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
28
27
|
declare const SidebarInset: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
29
|
-
declare const SidebarInput: import('react').ForwardRefExoticComponent<Omit<import('./input').InputProps & import('react').RefAttributes<HTMLInputElement>, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
28
|
+
declare const SidebarInput: import('react').ForwardRefExoticComponent<Omit<import('./input.js').InputProps & import('react').RefAttributes<HTMLInputElement>, "ref"> & import('react').RefAttributes<HTMLInputElement>>;
|
|
30
29
|
declare const SidebarHeader: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
30
|
declare const SidebarFooter: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
32
|
-
declare const SidebarSeparator: import('react').ForwardRefExoticComponent<Omit<import('./separator').SeparatorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
31
|
+
declare const SidebarSeparator: import('react').ForwardRefExoticComponent<Omit<import('./separator.js').SeparatorProps & import('react').RefAttributes<HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
33
32
|
declare const SidebarContent: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
34
33
|
declare const SidebarGroup: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
35
34
|
declare const SidebarGroupLabel: import('react').ForwardRefExoticComponent<Omit<import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
package/dist/ui/sidebar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Slot as e } from "../_chunks/primitives.js";
|
|
2
|
+
import { Slot as e } from "../_chunks/primitives-internal.js";
|
|
3
3
|
import { springs as t } from "./lib/motion.js";
|
|
4
4
|
import { cva as n } from "../_chunks/vendor-utils.js";
|
|
5
5
|
import { cn as r } from "./lib/utils.js";
|
package/dist/ui/slider.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import * as SliderPrimitive from '../primitives/react-slider';
|
|
2
|
+
import * as SliderPrimitive from '../primitives/react-slider.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
declare const sliderTrackVariants: (props?: ({
|
|
6
5
|
size?: "sm" | "md" | "lg" | null | undefined;
|
package/dist/ui/slider.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { cva as e } from "../_chunks/vendor-utils.js";
|
|
3
|
+
import { cn as t } from "./lib/utils.js";
|
|
4
|
+
import { useFormField as n } from "./form.js";
|
|
5
|
+
import { Range as r, Root as i, Thumb as a, Track as o } from "../_chunks/primitives/react-slider.js";
|
|
6
6
|
import * as s from "react";
|
|
7
7
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
8
|
//#region src/ui/slider.tsx
|
|
9
|
-
var u =
|
|
9
|
+
var u = e("relative w-full grow overflow-hidden rounded-pill bg-surface-raised-hover", {
|
|
10
10
|
variants: { size: {
|
|
11
11
|
sm: "h-ds-02",
|
|
12
12
|
md: "h-ds-02b",
|
|
13
13
|
lg: "h-[10px]"
|
|
14
14
|
} },
|
|
15
15
|
defaultVariants: { size: "md" }
|
|
16
|
-
}), d =
|
|
16
|
+
}), d = e("touch-target block rounded-pill bg-surface-overlay shadow-raised transition-[color,transform,box-shadow] duration-fast-02 ease-productive-standard hover:shadow-raised-hover active:scale-[1.15] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled", {
|
|
17
17
|
variants: {
|
|
18
18
|
size: {
|
|
19
19
|
sm: "h-4 w-4 border",
|
|
@@ -36,21 +36,21 @@ var u = i("relative w-full grow overflow-hidden rounded-pill bg-surface-raised-h
|
|
|
36
36
|
success: "bg-success-9",
|
|
37
37
|
warning: "bg-warning-9",
|
|
38
38
|
error: "bg-error-9"
|
|
39
|
-
}, p = s.forwardRef(({ className:
|
|
40
|
-
let y = h ?? "md", b = g ?? "accent", x =
|
|
41
|
-
return /* @__PURE__ */ l(
|
|
39
|
+
}, p = s.forwardRef(({ className: e, "aria-label": s, value: p, defaultValue: m, size: h = "md", color: g = "accent", ..._ }, v) => {
|
|
40
|
+
let y = h ?? "md", b = g ?? "accent", x = n(), S = x.state === "error", C = _["aria-describedby"] ?? x.helperTextId, w = _["aria-required"] ?? x.required, T = (p ?? m ?? [0]).length;
|
|
41
|
+
return /* @__PURE__ */ l(i, {
|
|
42
42
|
ref: v,
|
|
43
43
|
value: p,
|
|
44
44
|
defaultValue: m,
|
|
45
45
|
"aria-invalid": S || void 0,
|
|
46
46
|
"aria-describedby": C,
|
|
47
47
|
"aria-required": w || void 0,
|
|
48
|
-
className:
|
|
48
|
+
className: t("relative flex w-full touch-none select-none items-center", e),
|
|
49
49
|
..._,
|
|
50
|
-
children: [/* @__PURE__ */ c(
|
|
50
|
+
children: [/* @__PURE__ */ c(o, {
|
|
51
51
|
className: u({ size: y }),
|
|
52
|
-
children: /* @__PURE__ */ c(
|
|
53
|
-
}), Array.from({ length: T }, (e, t) => /* @__PURE__ */ c(
|
|
52
|
+
children: /* @__PURE__ */ c(r, { className: t("absolute h-full", f[b]) })
|
|
53
|
+
}), Array.from({ length: T }, (e, t) => /* @__PURE__ */ c(a, {
|
|
54
54
|
"aria-label": T === 1 ? s : void 0,
|
|
55
55
|
className: d({
|
|
56
56
|
size: y,
|
|
@@ -59,6 +59,6 @@ var u = i("relative w-full grow overflow-hidden rounded-pill bg-surface-raised-h
|
|
|
59
59
|
}, t))]
|
|
60
60
|
});
|
|
61
61
|
});
|
|
62
|
-
p.displayName =
|
|
62
|
+
p.displayName = i.displayName;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { p as Slider, d as sliderThumbVariants, u as sliderTrackVariants };
|
package/dist/ui/spinner.d.ts
CHANGED
package/dist/ui/spinner.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/ui/spinner.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,yCAAyC;IACzC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAA;IACxC,iEAAiE;IACjE,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAyBD,QAAA,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/ui/spinner.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;IACzB,yCAAyC;IACzC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAA;IACxC,iEAAiE;IACjE,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAA;IAC3B,8DAA8D;IAC9D,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8DAA8D;IAC9D,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAyBD,QAAA,MAAM,OAAO,sFA+OZ,CAAA;AAGD,OAAO,EAAE,OAAO,EAAE,CAAA"}
|