@devalok/shilp-sutra 0.54.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/MIGRATION.md +28 -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 +1 -2
- package/dist/composed/bulk-action-bar.d.ts +2 -3
- 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 +0 -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/markdown-viewer.d.ts +0 -1
- package/dist/composed/master-detail.d.ts +0 -1
- package/dist/composed/member-picker.d.ts +0 -1
- package/dist/composed/multi-select-popover.d.ts +0 -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 +7 -8
- 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/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 +2 -3
- package/dist/ui/combobox.js +125 -125
- 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/form.d.ts +0 -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 +2 -3
- 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.js +7 -7
- 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/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.js +12 -12
- package/dist/ui/table-row-link.d.ts +0 -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/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 +1 -1
- package/mcp-manifest.json +9 -1
- package/package.json +30 -5
- package/skill/SKILL.md +1 -1
- package/skill/references/components.md +1 -1
- 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/composed/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
/**
|
|
3
2
|
* @module @devalok/shilp-sutra/composed
|
|
4
3
|
*
|
|
@@ -13,53 +12,53 @@
|
|
|
13
12
|
* import { PageHeader } from '@devalok/shilp-sutra/composed/page-header'
|
|
14
13
|
* import { DatePicker } from '@devalok/shilp-sutra/composed/date-picker'
|
|
15
14
|
*/
|
|
16
|
-
export type { ActivityFeedProps, ActivityItem, GroupLabels } from './activity-feed';
|
|
17
|
-
export { ActivityFeed, groupItemsByTime } from './activity-feed';
|
|
18
|
-
export type { AvatarGroupProps, AvatarUser } from './avatar-group';
|
|
19
|
-
export { AvatarGroup } from './avatar-group';
|
|
20
|
-
export type { BulkActionBarAction, BulkActionBarProps } from './bulk-action-bar';
|
|
21
|
-
export { BulkActionBar } from './bulk-action-bar';
|
|
22
|
-
export type { CommandGroup, CommandItem, CommandPaletteProps, FooterHint } from './command-palette';
|
|
23
|
-
export { CommandPalette } from './command-palette';
|
|
24
|
-
export type { ConfirmDialogProps } from './confirm-dialog';
|
|
25
|
-
export { ConfirmDialog } from './confirm-dialog';
|
|
26
|
-
export type { ContentCardProps } from './content-card';
|
|
27
|
-
export { ContentCard, contentCardVariants } from './content-card';
|
|
28
|
-
export type { DeadlineIndicatorProps } from './deadline-indicator';
|
|
29
|
-
export { DeadlineIndicator } from './deadline-indicator';
|
|
30
|
-
export type { EmptyStateProps } from './empty-state';
|
|
31
|
-
export { EmptyState } from './empty-state';
|
|
32
|
-
export type { ErrorBoundaryProps, ErrorDisplayProps } from './error-boundary';
|
|
33
|
-
export { ErrorBoundary, ErrorDisplay } from './error-boundary';
|
|
34
|
-
export type { SlashCommand, SlashCommandGroup } from './extensions/slash-command';
|
|
35
|
-
export type { FilterBarProps, FilterMultiSelectProps, FilterSelectProps } from './filter-bar';
|
|
36
|
-
export { FilterBar, FilterMultiSelect, FilterSelect } from './filter-bar';
|
|
37
|
-
export type { FormSectionProps } from './form-section';
|
|
38
|
-
export { FormSection } from './form-section';
|
|
39
|
-
export type { GlobalLoadingProps } from './global-loading';
|
|
40
|
-
export { GlobalLoading } from './global-loading';
|
|
41
|
-
export type { InlineEditProps } from './inline-edit';
|
|
42
|
-
export { InlineEdit } from './inline-edit';
|
|
43
|
-
export { getInitials } from './lib/string-utils';
|
|
44
|
-
export type { BoardSkeletonProps, CardSkeletonProps, ListSkeletonProps, TableSkeletonProps } from './loading-skeleton';
|
|
45
|
-
export { BoardSkeleton, CardSkeleton, ListSkeleton, TableSkeleton } from './loading-skeleton';
|
|
46
|
-
export type { MasterDetailProps } from './master-detail';
|
|
47
|
-
export { MasterDetail } from './master-detail';
|
|
48
|
-
export type { MemberPickerMember, MemberPickerProps } from './member-picker';
|
|
49
|
-
export { MemberPicker } from './member-picker';
|
|
50
|
-
export type { MultiSelectGroup, MultiSelectItem, MultiSelectPopoverProps } from './multi-select-popover';
|
|
51
|
-
export { MultiSelectPopover } from './multi-select-popover';
|
|
52
|
-
export type { Breadcrumb, PageHeaderProps } from './page-header';
|
|
53
|
-
export { PageHeader } from './page-header';
|
|
54
|
-
export { DashboardSkeleton, ProjectListSkeleton, TaskDetailSkeleton, } from './page-skeletons';
|
|
55
|
-
export type { Priority, PriorityIndicatorProps } from './priority-indicator';
|
|
56
|
-
export { PriorityIndicator } from './priority-indicator';
|
|
57
|
-
export type { ResponsiveModalContentProps, ResponsiveModalProps, } from './responsive-modal';
|
|
58
|
-
export { ResponsiveModal, ResponsiveModalBackground, ResponsiveModalBody, ResponsiveModalClose, ResponsiveModalContent, ResponsiveModalDescription, ResponsiveModalFooter, ResponsiveModalHeader, ResponsiveModalOverlay, ResponsiveModalPortal, ResponsiveModalTitle, ResponsiveModalTrigger, } from './responsive-modal';
|
|
59
|
-
export type { ScheduleEvent, ScheduleViewProps } from './schedule-view';
|
|
60
|
-
export { ScheduleView } from './schedule-view';
|
|
61
|
-
export type { SimpleTooltipProps } from './simple-tooltip';
|
|
62
|
-
export { SimpleTooltip } from './simple-tooltip';
|
|
63
|
-
export type { StatusBadgeProps } from './status-badge';
|
|
64
|
-
export { StatusBadge } from './status-badge';
|
|
15
|
+
export type { ActivityFeedProps, ActivityItem, GroupLabels } from './activity-feed.js';
|
|
16
|
+
export { ActivityFeed, groupItemsByTime } from './activity-feed.js';
|
|
17
|
+
export type { AvatarGroupProps, AvatarUser } from './avatar-group.js';
|
|
18
|
+
export { AvatarGroup } from './avatar-group.js';
|
|
19
|
+
export type { BulkActionBarAction, BulkActionBarProps } from './bulk-action-bar.js';
|
|
20
|
+
export { BulkActionBar } from './bulk-action-bar.js';
|
|
21
|
+
export type { CommandGroup, CommandItem, CommandPaletteProps, FooterHint } from './command-palette.js';
|
|
22
|
+
export { CommandPalette } from './command-palette.js';
|
|
23
|
+
export type { ConfirmDialogProps } from './confirm-dialog.js';
|
|
24
|
+
export { ConfirmDialog } from './confirm-dialog.js';
|
|
25
|
+
export type { ContentCardProps } from './content-card.js';
|
|
26
|
+
export { ContentCard, contentCardVariants } from './content-card.js';
|
|
27
|
+
export type { DeadlineIndicatorProps } from './deadline-indicator.js';
|
|
28
|
+
export { DeadlineIndicator } from './deadline-indicator.js';
|
|
29
|
+
export type { EmptyStateProps } from './empty-state.js';
|
|
30
|
+
export { EmptyState } from './empty-state.js';
|
|
31
|
+
export type { ErrorBoundaryProps, ErrorDisplayProps } from './error-boundary.js';
|
|
32
|
+
export { ErrorBoundary, ErrorDisplay } from './error-boundary.js';
|
|
33
|
+
export type { SlashCommand, SlashCommandGroup } from './extensions/slash-command.js';
|
|
34
|
+
export type { FilterBarProps, FilterMultiSelectProps, FilterSelectProps } from './filter-bar.js';
|
|
35
|
+
export { FilterBar, FilterMultiSelect, FilterSelect } from './filter-bar.js';
|
|
36
|
+
export type { FormSectionProps } from './form-section.js';
|
|
37
|
+
export { FormSection } from './form-section.js';
|
|
38
|
+
export type { GlobalLoadingProps } from './global-loading.js';
|
|
39
|
+
export { GlobalLoading } from './global-loading.js';
|
|
40
|
+
export type { InlineEditProps } from './inline-edit.js';
|
|
41
|
+
export { InlineEdit } from './inline-edit.js';
|
|
42
|
+
export { getInitials } from './lib/string-utils.js';
|
|
43
|
+
export type { BoardSkeletonProps, CardSkeletonProps, ListSkeletonProps, TableSkeletonProps } from './loading-skeleton.js';
|
|
44
|
+
export { BoardSkeleton, CardSkeleton, ListSkeleton, TableSkeleton } from './loading-skeleton.js';
|
|
45
|
+
export type { MasterDetailProps } from './master-detail.js';
|
|
46
|
+
export { MasterDetail } from './master-detail.js';
|
|
47
|
+
export type { MemberPickerMember, MemberPickerProps } from './member-picker.js';
|
|
48
|
+
export { MemberPicker } from './member-picker.js';
|
|
49
|
+
export type { MultiSelectGroup, MultiSelectItem, MultiSelectPopoverProps } from './multi-select-popover.js';
|
|
50
|
+
export { MultiSelectPopover } from './multi-select-popover.js';
|
|
51
|
+
export type { Breadcrumb, PageHeaderProps } from './page-header.js';
|
|
52
|
+
export { PageHeader } from './page-header.js';
|
|
53
|
+
export { DashboardSkeleton, ProjectListSkeleton, TaskDetailSkeleton, } from './page-skeletons.js';
|
|
54
|
+
export type { Priority, PriorityIndicatorProps } from './priority-indicator.js';
|
|
55
|
+
export { PriorityIndicator } from './priority-indicator.js';
|
|
56
|
+
export type { ResponsiveModalContentProps, ResponsiveModalProps, } from './responsive-modal.js';
|
|
57
|
+
export { ResponsiveModal, ResponsiveModalBackground, ResponsiveModalBody, ResponsiveModalClose, ResponsiveModalContent, ResponsiveModalDescription, ResponsiveModalFooter, ResponsiveModalHeader, ResponsiveModalOverlay, ResponsiveModalPortal, ResponsiveModalTitle, ResponsiveModalTrigger, } from './responsive-modal.js';
|
|
58
|
+
export type { ScheduleEvent, ScheduleViewProps } from './schedule-view.js';
|
|
59
|
+
export { ScheduleView } from './schedule-view.js';
|
|
60
|
+
export type { SimpleTooltipProps } from './simple-tooltip.js';
|
|
61
|
+
export { SimpleTooltip } from './simple-tooltip.js';
|
|
62
|
+
export type { StatusBadgeProps } from './status-badge.js';
|
|
63
|
+
export { StatusBadge } from './status-badge.js';
|
|
65
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as DialogPrimitive from '../primitives/react-dialog';
|
|
1
|
+
import * as DialogPrimitive from '../primitives/react-dialog.js';
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
export interface ResponsiveModalProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root> {
|
|
5
4
|
/** When false, Escape/overlay/drag cannot dismiss — only an explicit Close/onOpenChange can. @default true */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { springs as e, tweens as t } from "../ui/lib/motion.js";
|
|
3
|
+
import { cn as n } from "../ui/lib/utils.js";
|
|
4
|
+
import { Icon as r } from "../ui/icon.js";
|
|
5
|
+
import { Close as i, Content as a, Description as o, Overlay as s, Portal as c, Root as l, Title as u, Trigger as d } from "../_chunks/primitives/react-alert-dialog.js";
|
|
6
6
|
import { useIsMobile as f } from "../hooks/use-mobile.js";
|
|
7
7
|
import * as p from "react";
|
|
8
8
|
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
@@ -14,11 +14,11 @@ var x = p.createContext({
|
|
|
14
14
|
isMobile: !1,
|
|
15
15
|
dismissable: !0,
|
|
16
16
|
onClose: () => {}
|
|
17
|
-
}), S = () => p.useContext(x), C = ({ open: e, defaultOpen: t = !1, onOpenChange: n, dismissable: r = !0, children: i, ...
|
|
18
|
-
let [
|
|
19
|
-
!e && !r || (
|
|
17
|
+
}), S = () => p.useContext(x), C = ({ open: e, defaultOpen: t = !1, onOpenChange: n, dismissable: r = !0, children: i, ...a }) => {
|
|
18
|
+
let [o, s] = p.useState(t), c = e !== void 0, u = c ? e : o, d = f(), h = p.useCallback((e) => {
|
|
19
|
+
!e && !r || (c || s(e), n?.(e));
|
|
20
20
|
}, [
|
|
21
|
-
|
|
21
|
+
c,
|
|
22
22
|
n,
|
|
23
23
|
r
|
|
24
24
|
]), g = p.useMemo(() => ({
|
|
@@ -34,19 +34,19 @@ var x = p.createContext({
|
|
|
34
34
|
]);
|
|
35
35
|
return /* @__PURE__ */ m(x.Provider, {
|
|
36
36
|
value: g,
|
|
37
|
-
children: /* @__PURE__ */ m(
|
|
37
|
+
children: /* @__PURE__ */ m(l, {
|
|
38
38
|
open: u,
|
|
39
39
|
onOpenChange: h,
|
|
40
|
-
...
|
|
40
|
+
...a,
|
|
41
41
|
children: i
|
|
42
42
|
})
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
C.displayName = "ResponsiveModal";
|
|
46
|
-
var w =
|
|
47
|
-
ref:
|
|
46
|
+
var w = d, T = i, E = c, D = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(s, {
|
|
47
|
+
ref: r,
|
|
48
48
|
forceMount: !0,
|
|
49
|
-
className:
|
|
49
|
+
className: n("fixed inset-0 z-overlay bg-overlay", e),
|
|
50
50
|
...t
|
|
51
51
|
}));
|
|
52
52
|
D.displayName = "ResponsiveModalOverlay";
|
|
@@ -58,12 +58,12 @@ function O(e, t) {
|
|
|
58
58
|
}
|
|
59
59
|
return n;
|
|
60
60
|
}
|
|
61
|
-
var k = 120, A = 500, j = p.forwardRef(({ className:
|
|
62
|
-
let { open: f, isMobile: x, dismissable: C, onClose: w } = S(), T = b(), j = y(), M = x && Array.isArray(
|
|
61
|
+
var k = 120, A = 500, j = p.forwardRef(({ className: o, children: s, snapPoints: c, defaultSnapPoint: l, ...u }, d) => {
|
|
62
|
+
let { open: f, isMobile: x, dismissable: C, onClose: w } = S(), T = b(), j = y(), M = x && Array.isArray(c) && c.length > 0, N = p.useMemo(() => M ? [...c].sort((e, t) => e - t) : [], [M, c]), P = N.length ? N[N.length - 1] : 1, F = p.useMemo(() => {
|
|
63
63
|
if (!N.length) return 0;
|
|
64
|
-
let e =
|
|
64
|
+
let e = l ?? N.length - 1;
|
|
65
65
|
return Math.min(Math.max(e, 0), N.length - 1);
|
|
66
|
-
}, [N,
|
|
66
|
+
}, [N, l]), [I, L] = p.useState(F), [R, z] = p.useState(0), B = p.useRef(null);
|
|
67
67
|
p.useEffect(() => {
|
|
68
68
|
f && L(F);
|
|
69
69
|
}, [f, F]), p.useEffect(() => {
|
|
@@ -76,8 +76,8 @@ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints:
|
|
|
76
76
|
return n.observe(e), () => n.disconnect();
|
|
77
77
|
}, [x, f]);
|
|
78
78
|
let V = p.useCallback((e) => {
|
|
79
|
-
B.current = e, typeof
|
|
80
|
-
}, [
|
|
79
|
+
B.current = e, typeof d == "function" ? d(e) : d && (d.current = e);
|
|
80
|
+
}, [d]), H = p.useCallback((e) => {
|
|
81
81
|
if (!N.length || !R) return 0;
|
|
82
82
|
let t = N[e];
|
|
83
83
|
return (P - t) / P * R;
|
|
@@ -103,10 +103,10 @@ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints:
|
|
|
103
103
|
P,
|
|
104
104
|
R,
|
|
105
105
|
w
|
|
106
|
-
]), G =
|
|
106
|
+
]), G = n("fixed inset-x-0 bottom-0 z-modal flex flex-col overflow-hidden rounded-t-overlay-lg border-t border-surface-border-strong bg-surface-overlay shadow-overlay", M ? void 0 : "max-h-[90dvh]"), K = C ? /* @__PURE__ */ h(i, {
|
|
107
107
|
title: "Close",
|
|
108
108
|
className: "absolute right-ds-05 top-ds-05 z-10 flex min-h-ds-xs min-w-ds-xs items-center justify-center rounded-control-inner text-surface-fg-subtle transition-colors duration-fast-01 ease-productive-standard hover:bg-surface-raised-hover hover:text-surface-fg-muted focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 active:scale-90 disabled:pointer-events-none",
|
|
109
|
-
children: [/* @__PURE__ */ m(
|
|
109
|
+
children: [/* @__PURE__ */ m(r, {
|
|
110
110
|
icon: g,
|
|
111
111
|
size: "lg"
|
|
112
112
|
}), /* @__PURE__ */ m("span", {
|
|
@@ -122,16 +122,16 @@ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints:
|
|
|
122
122
|
initial: { opacity: 0 },
|
|
123
123
|
animate: { opacity: 1 },
|
|
124
124
|
exit: { opacity: 0 },
|
|
125
|
-
transition:
|
|
125
|
+
transition: t.fade
|
|
126
126
|
})
|
|
127
|
-
}), /* @__PURE__ */ m(
|
|
127
|
+
}), /* @__PURE__ */ m(a, {
|
|
128
128
|
ref: V,
|
|
129
129
|
forceMount: !0,
|
|
130
130
|
asChild: !0,
|
|
131
131
|
onPointerDownOutside: C ? void 0 : (e) => e.preventDefault(),
|
|
132
|
-
...
|
|
132
|
+
...u,
|
|
133
133
|
children: /* @__PURE__ */ h(v.div, {
|
|
134
|
-
className:
|
|
134
|
+
className: n(x ? G : "fixed left-[50%] top-[50%] z-modal flex max-h-[85dvh] w-full max-w-lg flex-col overflow-hidden rounded-overlay-lg bg-surface-overlay shadow-overlay", o),
|
|
135
135
|
style: M ? { height: `${P * 100}dvh` } : void 0,
|
|
136
136
|
initial: x ? { y: "100%" } : {
|
|
137
137
|
opacity: 0,
|
|
@@ -151,9 +151,9 @@ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints:
|
|
|
151
151
|
x: "-50%",
|
|
152
152
|
y: "-50%"
|
|
153
153
|
},
|
|
154
|
-
transition: x ?
|
|
155
|
-
...
|
|
156
|
-
opacity:
|
|
154
|
+
transition: x ? e.smooth : {
|
|
155
|
+
...e.smooth,
|
|
156
|
+
opacity: t.fade
|
|
157
157
|
},
|
|
158
158
|
drag: U ? "y" : !1,
|
|
159
159
|
dragListener: !1,
|
|
@@ -163,52 +163,52 @@ var k = 120, A = 500, j = p.forwardRef(({ className: n, children: r, snapPoints:
|
|
|
163
163
|
onDragEnd: U ? W : void 0,
|
|
164
164
|
children: [
|
|
165
165
|
x && /* @__PURE__ */ m("div", {
|
|
166
|
-
className:
|
|
166
|
+
className: n("flex shrink-0 justify-center pb-ds-01 pt-ds-03", U && "cursor-grab touch-none"),
|
|
167
167
|
onPointerDown: U ? (e) => j.start(e) : void 0,
|
|
168
168
|
children: /* @__PURE__ */ m("div", { className: "h-1 w-8 rounded-pill bg-surface-border" })
|
|
169
169
|
}),
|
|
170
170
|
K,
|
|
171
|
-
|
|
171
|
+
s
|
|
172
172
|
]
|
|
173
173
|
})
|
|
174
174
|
})]
|
|
175
175
|
}) });
|
|
176
176
|
});
|
|
177
177
|
j.displayName = "ResponsiveModalContent";
|
|
178
|
-
var M = p.forwardRef(({ className: e, ...t },
|
|
179
|
-
ref:
|
|
178
|
+
var M = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
|
|
179
|
+
ref: r,
|
|
180
180
|
"aria-hidden": !0,
|
|
181
|
-
className:
|
|
181
|
+
className: n("pointer-events-none absolute inset-0 -z-10 overflow-hidden rounded-[inherit]", e),
|
|
182
182
|
...t
|
|
183
183
|
}));
|
|
184
184
|
M.displayName = "ResponsiveModalBackground";
|
|
185
|
-
var N = p.forwardRef(({ className: e, ...t },
|
|
186
|
-
ref:
|
|
187
|
-
className:
|
|
185
|
+
var N = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
|
|
186
|
+
ref: r,
|
|
187
|
+
className: n("flex shrink-0 flex-col gap-ds-02b px-ds-06 pb-ds-04 pt-ds-05 text-center sm:text-left", e),
|
|
188
188
|
...t
|
|
189
189
|
}));
|
|
190
190
|
N.displayName = "ResponsiveModalHeader";
|
|
191
|
-
var P = p.forwardRef(({ className: e, ...t },
|
|
192
|
-
ref:
|
|
193
|
-
className:
|
|
191
|
+
var P = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
|
|
192
|
+
ref: r,
|
|
193
|
+
className: n("min-h-0 flex-1 overflow-y-auto px-ds-06 py-ds-02", e),
|
|
194
194
|
...t
|
|
195
195
|
}));
|
|
196
196
|
P.displayName = "ResponsiveModalBody";
|
|
197
|
-
var F = p.forwardRef(({ className: e, ...t },
|
|
198
|
-
ref:
|
|
199
|
-
className:
|
|
197
|
+
var F = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
|
|
198
|
+
ref: r,
|
|
199
|
+
className: n("flex shrink-0 flex-col-reverse gap-ds-03 px-ds-06 pb-ds-06 pt-ds-04 sm:flex-row sm:justify-end", e),
|
|
200
200
|
...t
|
|
201
201
|
}));
|
|
202
202
|
F.displayName = "ResponsiveModalFooter";
|
|
203
|
-
var I = p.forwardRef(({ className: e, ...t },
|
|
204
|
-
ref:
|
|
205
|
-
className:
|
|
203
|
+
var I = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(u, {
|
|
204
|
+
ref: r,
|
|
205
|
+
className: n("text-heading-xs font-semibold text-surface-fg", e),
|
|
206
206
|
...t
|
|
207
207
|
}));
|
|
208
208
|
I.displayName = "ResponsiveModalTitle";
|
|
209
|
-
var L = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(
|
|
209
|
+
var L = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(o, {
|
|
210
210
|
ref: r,
|
|
211
|
-
className:
|
|
211
|
+
className: n("text-body-md text-surface-fg-muted", e),
|
|
212
212
|
...t
|
|
213
213
|
}));
|
|
214
214
|
L.displayName = "ResponsiveModalDescription";
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { MentionItem } from './rich-text-editor';
|
|
1
|
+
import { EmojiSet } from './emoji-picker.js';
|
|
2
|
+
import { SlashCommandGroup } from './extensions/slash-command.js';
|
|
3
|
+
import { AudioPlayerProps, AudioPlayer } from './rich-chat-input/audio-player.js';
|
|
4
|
+
import { AudioWaveformProps, AudioWaveform } from './rich-chat-input/audio-waveform.js';
|
|
5
|
+
import { ChatToolbarItem } from './rich-chat-input/chat-toolbar.js';
|
|
6
|
+
import { UseVoiceRecorderOptions, UseVoiceRecorderReturn, useVoiceRecorder } from './rich-chat-input/use-voice-recorder.js';
|
|
7
|
+
import { MentionItem } from './rich-text-editor.js';
|
|
9
8
|
import * as React from 'react';
|
|
10
9
|
export type { MentionItem };
|
|
11
|
-
export type { SlashCommand, SlashCommandGroup } from './extensions/slash-command';
|
|
10
|
+
export type { SlashCommand, SlashCommandGroup } from './extensions/slash-command.js';
|
|
12
11
|
export { AudioWaveform };
|
|
13
12
|
export type { AudioWaveformProps };
|
|
14
13
|
export { AudioPlayer };
|
|
@@ -87,5 +86,5 @@ export interface RichChatInputProps extends Omit<React.HTMLAttributes<HTMLDivEle
|
|
|
87
86
|
declare const RichChatInput: React.ForwardRefExoticComponent<RichChatInputProps & React.RefAttributes<HTMLDivElement>>;
|
|
88
87
|
export { RichChatInput };
|
|
89
88
|
export type { ChatToolbarItem };
|
|
90
|
-
export { BlockquoteButton, BoldButton, BulletListButton, CodeButton, EmojiButton, HighlightButton, ItalicButton, LinkButton, MentionButton, OrderedListButton, SlashCommandButton, StrikeButton, ToolbarButton, ToolbarDivider, ToolbarGroup, UnderlineButton, } from './rich-chat-input/chat-toolbar';
|
|
89
|
+
export { BlockquoteButton, BoldButton, BulletListButton, CodeButton, EmojiButton, HighlightButton, ItalicButton, LinkButton, MentionButton, OrderedListButton, SlashCommandButton, StrikeButton, ToolbarButton, ToolbarDivider, ToolbarGroup, UnderlineButton, } from './rich-chat-input/chat-toolbar.js';
|
|
91
90
|
//# sourceMappingURL=rich-chat-input.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { computePosition as e, flip$1 as t, offset$1 as n, shift$1 as r } from "../_chunks/primitives.js";
|
|
2
|
+
import { computePosition as e, flip$1 as t, offset$1 as n, shift$1 as r } from "../_chunks/primitives-internal.js";
|
|
3
3
|
import { durations as i } from "../ui/lib/motion.js";
|
|
4
4
|
import { cn as a } from "../ui/lib/utils.js";
|
|
5
5
|
import { Spinner as o } from "../ui/spinner.js";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { Editor } from '@tiptap/react';
|
|
3
|
-
import { EmojiSet } from './emoji-picker';
|
|
2
|
+
import { EmojiSet } from './emoji-picker.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
export type ToolbarItem = 'bold' | 'italic' | 'underline' | 'strike' | 'highlight' | 'h2' | 'h3' | 'blockquote' | 'bulletList' | 'orderedList' | 'taskList' | 'codeBlock' | 'link' | 'image' | 'file' | 'hr' | 'alignLeft' | 'alignCenter' | 'alignRight' | 'emoji' | 'undo' | 'redo';
|
|
6
5
|
export interface MentionItem {
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export { useViewportHeight } from './use-viewport-height';
|
|
1
|
+
export { toast } from '../ui/toast.js';
|
|
2
|
+
export type { ToastActionOptions, ToastOptions, ToastType, ToastUndoOptions, ToastUploadOptions, UploadFile, } from '../ui/toast-types.js';
|
|
3
|
+
export { type ColorMode, useColorMode } from './use-color-mode.js';
|
|
4
|
+
export { useIsMobile } from './use-mobile.js';
|
|
5
|
+
export { useTouchDevice } from './use-touch-device.js';
|
|
6
|
+
export { useViewportHeight } from './use-viewport-height.js';
|
|
8
7
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/motion/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export {
|
|
3
|
-
export { MotionProvider, type MotionProviderProps, useMotion } from './motion-provider';
|
|
1
|
+
export { motionProps, type SpringPreset, springs, stagger, type TweenPreset, tweens, withReducedMotion } from '../ui/lib/motion.js';
|
|
2
|
+
export { MotionProvider, type MotionProviderProps, useMotion } from './motion-provider.js';
|
|
4
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export { MotionCollapse, MotionFade, MotionPop, type MotionPrimitiveProps, MotionScale, MotionSlide, MotionStagger, MotionStaggerItem, type MotionStaggerProps, } from './primitives';
|
|
1
|
+
export { MotionCollapse, MotionFade, MotionPop, type MotionPrimitiveProps, MotionScale, MotionSlide, MotionStagger, MotionStaggerItem, type MotionStaggerProps, } from './primitives.js';
|
|
3
2
|
//# sourceMappingURL=primitives-index.d.ts.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
"use client";
|
|
2
1
|
import { HTMLMotionProps } from 'framer-motion';
|
|
3
|
-
import { SpringPreset } from '../ui/lib/motion';
|
|
2
|
+
import { SpringPreset } from '../ui/lib/motion.js';
|
|
4
3
|
import * as React from 'react';
|
|
5
4
|
type MotionDivProps = Omit<HTMLMotionProps<'div'>, 'ref'>;
|
|
6
5
|
type MotionPrimitiveProps = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
import { Slot } from '../react-slot';
|
|
2
|
+
import { Slot } from '../react-slot.js';
|
|
3
3
|
type SlotProps = React.ComponentPropsWithoutRef<typeof Slot>;
|
|
4
4
|
interface CollectionProps extends SlotProps {
|
|
5
5
|
scope: any;
|
|
@@ -16,7 +16,7 @@ declare function createCollection<ItemElement extends HTMLElement, ItemData = {}
|
|
|
16
16
|
}> & React.RefAttributes<ItemElement>>;
|
|
17
17
|
}, (scope: any) => () => ({
|
|
18
18
|
ref: React.RefObject<ItemElement | null>;
|
|
19
|
-
} & ItemData)[], import('./react-context').CreateScope];
|
|
19
|
+
} & ItemData)[], import('./react-context.js').CreateScope];
|
|
20
20
|
export { createCollection };
|
|
21
21
|
export type { CollectionProps };
|
|
22
22
|
//# sourceMappingURL=react-collection.d.ts.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Primitive } from './react-primitive';
|
|
2
|
-
import { Measurable } from './rect';
|
|
1
|
+
import { Primitive } from './react-primitive.js';
|
|
2
|
+
import { Measurable } from './rect.js';
|
|
3
3
|
/**
|
|
4
4
|
* Vendored from @radix-ui/react-popper
|
|
5
5
|
* @floating-ui/react-dom is kept as external dependency
|
|
6
6
|
* @see ../LICENSE
|
|
7
7
|
*/
|
|
8
8
|
import * as React from 'react';
|
|
9
|
-
import * as ArrowPrimitive from './react-arrow';
|
|
9
|
+
import * as ArrowPrimitive from './react-arrow.js';
|
|
10
10
|
declare const SIDE_OPTIONS: readonly ["top", "right", "bottom", "left"];
|
|
11
11
|
declare const ALIGN_OPTIONS: readonly ["start", "center", "end"];
|
|
12
12
|
type Side = (typeof SIDE_OPTIONS)[number];
|
|
13
13
|
type Align = (typeof ALIGN_OPTIONS)[number];
|
|
14
|
-
declare const createPopperScope: import('./react-context').CreateScope;
|
|
14
|
+
declare const createPopperScope: import('./react-context.js').CreateScope;
|
|
15
15
|
interface PopperProps {
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
}
|