@vllnt/ui 0.4.0-canary.sha2f78bdd → 0.4.0-canary.sha36bfa21
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/CHANGELOG.md +96 -0
- package/README.md +64 -10
- package/dist/components/atoms/accordion/accordion.js +167 -0
- package/dist/components/atoms/agent-activity/agent-activity.js +338 -0
- package/dist/components/atoms/ai-source-citation/ai-source-citation.js +45 -0
- package/dist/components/atoms/ai-streaming-text/ai-streaming-text.js +39 -0
- package/dist/components/atoms/alert/alert.js +66 -0
- package/dist/components/atoms/alert-pulse/alert-pulse.js +93 -0
- package/dist/components/atoms/anchor-port/anchor-port.js +49 -0
- package/dist/components/atoms/animated-beam/animated-beam.js +157 -0
- package/dist/components/atoms/animated-grid-pattern/animated-grid-pattern.js +81 -0
- package/dist/components/atoms/animated-list/animated-list.js +28 -0
- package/dist/components/atoms/animated-tabs/animated-tabs.js +110 -0
- package/dist/components/atoms/animated-testimonials/animated-testimonials.js +97 -0
- package/dist/components/atoms/animated-text/animated-text.js +354 -0
- package/dist/components/atoms/animated-tooltip/animated-tooltip.js +68 -0
- package/dist/components/atoms/avatar/avatar.js +54 -0
- package/dist/components/atoms/badge/badge.js +26 -0
- package/dist/components/atoms/banner/banner.js +158 -0
- package/dist/components/atoms/bento-grid/bento-grid.js +46 -0
- package/dist/components/atoms/blur-reveal/blur-reveal.js +83 -0
- package/dist/components/atoms/border-beam/border-beam.js +46 -0
- package/dist/components/atoms/bottom-activity-strip/bottom-activity-strip.js +92 -0
- package/dist/components/atoms/bottom-bar/bottom-bar.js +29 -0
- package/dist/components/atoms/breadcrumb/breadcrumb.js +68 -0
- package/dist/components/atoms/button/button.js +52 -0
- package/dist/components/atoms/button-group/button-group.js +37 -0
- package/dist/components/atoms/callout/callout.js +59 -0
- package/dist/components/atoms/card/card.js +87 -0
- package/dist/components/atoms/card-flip/card-flip.js +67 -0
- package/dist/components/atoms/chain-of-thought/chain-of-thought.js +84 -0
- package/dist/components/atoms/checkbox/checkbox.js +31 -0
- package/dist/components/atoms/checklist/checklist.js +225 -0
- package/dist/components/atoms/comment-pin/comment-pin.js +105 -0
- package/dist/components/atoms/comparison/comparison.js +136 -0
- package/dist/components/atoms/context-lens/context-lens.js +99 -0
- package/dist/components/atoms/context-menu/context-menu.js +192 -0
- package/dist/components/atoms/curriculum/curriculum.js +351 -0
- package/dist/components/atoms/cursor/cursor.js +91 -0
- package/dist/components/atoms/data-list/data-list.js +114 -0
- package/dist/components/atoms/date-field/date-field.js +42 -0
- package/dist/components/atoms/dialog/dialog.js +121 -0
- package/dist/components/atoms/display/display.js +22 -0
- package/dist/components/atoms/dock/dock.js +167 -0
- package/dist/components/atoms/document-sibling-nav/document-sibling-nav.js +116 -0
- package/dist/components/atoms/dot-pattern/dot-pattern.js +36 -0
- package/dist/components/atoms/drawer/drawer.js +120 -0
- package/dist/components/atoms/dropdown-menu/dropdown-menu.js +190 -0
- package/dist/components/atoms/edge-label/edge-label.js +28 -0
- package/dist/components/atoms/empty-state/empty-state.js +89 -0
- package/dist/components/atoms/era-comparison/era-comparison.js +229 -0
- package/dist/components/atoms/expandable-cards/expandable-cards.js +61 -0
- package/dist/components/atoms/faq/faq.js +60 -0
- package/dist/components/atoms/fieldset/fieldset.js +49 -0
- package/dist/components/atoms/floating-action-button/floating-action-button.js +35 -0
- package/dist/components/atoms/floating-navbar/floating-navbar.js +67 -0
- package/dist/components/atoms/floating-toolbar/floating-toolbar.js +64 -0
- package/dist/components/atoms/follow-mode/follow-mode.js +87 -0
- package/dist/components/atoms/gauge-chart/gauge-chart.js +132 -0
- package/dist/components/atoms/glass-card/glass-card.js +25 -0
- package/dist/components/atoms/glass-panel/glass-panel.js +23 -0
- package/dist/components/atoms/glass-progress/glass-progress.js +40 -0
- package/dist/components/atoms/grid/grid.js +100 -0
- package/dist/components/atoms/group-hull/group-hull.js +34 -0
- package/dist/components/atoms/handoff-beacon/handoff-beacon.js +76 -0
- package/dist/components/atoms/heading/heading.js +40 -0
- package/dist/components/atoms/heat-overlay/heat-overlay.js +93 -0
- package/dist/components/atoms/hover-card/hover-card.js +31 -0
- package/dist/components/atoms/infinite-plane/infinite-plane.js +73 -0
- package/dist/components/atoms/input/input.js +25 -0
- package/dist/components/atoms/input-group/input-group.js +73 -0
- package/dist/components/atoms/input-otp/input-otp.js +71 -0
- package/dist/components/atoms/item/item.js +118 -0
- package/dist/components/atoms/jarvis-dock/jarvis-dock.js +96 -0
- package/dist/components/atoms/kbd/kbd.js +114 -0
- package/dist/components/atoms/key-concept/key-concept.js +82 -0
- package/dist/components/atoms/keyboard-shortcuts-help/keyboard-shortcuts-help.js +124 -0
- package/dist/components/atoms/label/label.js +24 -0
- package/dist/components/atoms/learning-objectives/learning-objectives.js +91 -0
- package/dist/components/atoms/left-rail/left-rail.js +29 -0
- package/dist/components/atoms/link/link.js +53 -0
- package/dist/components/atoms/liquid-glass/liquid-glass.js +38 -0
- package/dist/components/atoms/list-box/list-box.js +181 -0
- package/dist/components/atoms/live-cursor/live-cursor.js +65 -0
- package/dist/components/atoms/magnetic/magnetic.js +110 -0
- package/dist/components/atoms/magnetic-button/magnetic-button.js +111 -0
- package/dist/components/atoms/marquee/marquee.js +156 -0
- package/dist/components/atoms/menubar/menubar.js +230 -0
- package/dist/components/atoms/meteors/meteors.js +62 -0
- package/dist/components/atoms/meter/meter.js +76 -0
- package/dist/components/atoms/metric-cluster/metric-cluster.js +94 -0
- package/dist/components/atoms/mini-map-panel/mini-map-panel.js +79 -0
- package/dist/components/atoms/multi-select-lasso/multi-select-lasso.js +76 -0
- package/dist/components/atoms/native-select/native-select.js +28 -0
- package/dist/components/atoms/navigation-menu/navigation-menu.js +133 -0
- package/dist/components/atoms/number-ticker/number-ticker.js +69 -0
- package/dist/components/atoms/object-handle/object-handle.js +41 -0
- package/dist/components/atoms/object-inspector/object-inspector.js +134 -0
- package/dist/components/atoms/order-book/order-book.js +139 -0
- package/dist/components/atoms/panel/panel.js +95 -0
- package/dist/components/atoms/particles/particles.js +52 -0
- package/dist/components/atoms/password-input/password-input.js +44 -0
- package/dist/components/atoms/phone-input/phone-input.js +63 -0
- package/dist/components/atoms/playback-ghost/playback-ghost.js +89 -0
- package/dist/components/atoms/policy-delivery-panel/policy-delivery-panel.js +99 -0
- package/dist/components/atoms/popover/popover.js +33 -0
- package/dist/components/atoms/presence-stack/presence-stack.js +111 -0
- package/dist/components/atoms/presence-sync-indicator/presence-sync-indicator.js +73 -0
- package/dist/components/atoms/pro-tip/pro-tip.js +148 -0
- package/dist/components/atoms/progress-bar/progress-bar.js +56 -0
- package/dist/components/atoms/progressive-blur/progressive-blur.js +48 -0
- package/dist/components/atoms/prompt-input/prompt-input.js +191 -0
- package/dist/components/atoms/property-section/property-section.js +99 -0
- package/dist/components/atoms/prose/prose.js +21 -0
- package/dist/components/atoms/qr-code/qr-code.js +73 -0
- package/dist/components/atoms/quiz/quiz.js +222 -0
- package/dist/components/atoms/radio-group/radio-group.js +43 -0
- package/dist/components/atoms/rating/rating.js +132 -0
- package/dist/components/atoms/reasoning/reasoning.js +133 -0
- package/dist/components/atoms/relationship-inspector/relationship-inspector.js +102 -0
- package/dist/components/atoms/resizable/resizable.js +39 -0
- package/dist/components/atoms/reveal-text/reveal-text.js +93 -0
- package/dist/components/atoms/right-dock/right-dock.js +33 -0
- package/dist/components/atoms/routing-assignment-panel/routing-assignment-panel.js +122 -0
- package/dist/components/atoms/runtime-overview-panel/runtime-overview-panel.js +89 -0
- package/dist/components/atoms/scramble-text/scramble-text.js +70 -0
- package/dist/components/atoms/scroll-area/scroll-area.js +90 -0
- package/dist/components/atoms/scroll-progress/scroll-progress.js +59 -0
- package/dist/components/atoms/search-field/search-field.js +67 -0
- package/dist/components/atoms/segmented-control/segmented-control.js +70 -0
- package/dist/components/atoms/select/select.js +156 -0
- package/dist/components/atoms/selection-halo/selection-halo.js +71 -0
- package/dist/components/atoms/selection-presence/selection-presence.js +52 -0
- package/dist/components/atoms/separator/separator.js +28 -0
- package/dist/components/atoms/severity-badge/severity-badge.js +163 -0
- package/dist/components/atoms/sheet/sheet.js +133 -0
- package/dist/components/atoms/shimmer-button/shimmer-button.js +41 -0
- package/dist/components/atoms/shimmer-text/shimmer-text.js +40 -0
- package/dist/components/atoms/shine-border/shine-border.js +35 -0
- package/dist/components/atoms/shiny-button/shiny-button.js +39 -0
- package/dist/components/atoms/skeleton/skeleton.js +20 -0
- package/dist/components/atoms/slider/slider.js +38 -0
- package/dist/components/atoms/snap-guides/snap-guides.js +46 -0
- package/dist/components/atoms/social-fab/social-fab.js +212 -0
- package/dist/components/atoms/sparkles/sparkles.js +51 -0
- package/dist/components/atoms/sparkline-grid/sparkline-grid.js +92 -0
- package/dist/components/atoms/spinner/spinner.js +24 -0
- package/dist/components/atoms/spinner/unicode-spinner.js +712 -0
- package/dist/components/atoms/spinning-text/spinning-text.js +60 -0
- package/dist/components/atoms/spotlight-card/spotlight-card.js +77 -0
- package/dist/components/atoms/state-badge-overlay/state-badge-overlay.js +90 -0
- package/dist/components/atoms/status-indicator/status-indicator.js +173 -0
- package/dist/components/atoms/step-by-step/step-by-step.js +191 -0
- package/dist/components/atoms/step-navigation/step-navigation.js +100 -0
- package/dist/components/atoms/stepper/stepper.js +118 -0
- package/dist/components/atoms/sticky-metric/sticky-metric.js +81 -0
- package/dist/components/atoms/switch/switch.js +31 -0
- package/dist/components/atoms/table/table.js +118 -0
- package/dist/components/atoms/table-of-contents/table-of-contents.js +70 -0
- package/dist/components/atoms/table-of-contents-panel/table-of-contents-panel.js +244 -0
- package/dist/components/atoms/tabs/tabs.js +227 -0
- package/dist/components/atoms/tag-group/tag-group.js +127 -0
- package/dist/components/atoms/tags-input/tags-input.js +185 -0
- package/dist/components/atoms/text/text.js +48 -0
- package/dist/components/atoms/text-animate/text-animate.js +129 -0
- package/dist/components/atoms/text-reveal/text-reveal.js +105 -0
- package/dist/components/atoms/text-shimmer/text-shimmer.js +33 -0
- package/dist/components/atoms/textarea/textarea.js +23 -0
- package/dist/components/atoms/theme-preset-provider/theme-preset-provider.js +69 -0
- package/dist/components/atoms/theme-switcher/theme-switcher.js +54 -0
- package/dist/components/atoms/thinking-block/thinking-block.js +58 -0
- package/dist/components/atoms/thread-bubble/thread-bubble.js +85 -0
- package/dist/components/atoms/threshold-ring/threshold-ring.js +158 -0
- package/dist/components/atoms/tilt-card/tilt-card.js +115 -0
- package/dist/components/atoms/time-field/time-field.js +42 -0
- package/dist/components/atoms/timeline/timeline.js +243 -0
- package/dist/components/atoms/timeline-scrubber/timeline-scrubber.js +181 -0
- package/dist/components/atoms/tldr-section/tldr-section.js +111 -0
- package/dist/components/atoms/toast/sonner-toast.js +4 -0
- package/dist/components/atoms/toast/toast.js +104 -0
- package/dist/components/atoms/toast/toaster.js +44 -0
- package/dist/components/atoms/toggle/toggle.js +44 -0
- package/dist/components/atoms/toolbar/toolbar.js +88 -0
- package/dist/components/atoms/tooltip/tooltip.js +31 -0
- package/dist/components/atoms/top-bar/top-bar.js +37 -0
- package/dist/components/atoms/truncated-text/truncated-text.js +25 -0
- package/dist/components/atoms/tutorial-intro-content/tutorial-intro-content.js +138 -0
- package/dist/components/atoms/typewriter/typewriter.js +69 -0
- package/dist/components/atoms/typography/typography.js +173 -0
- package/dist/components/atoms/video-embed/video-embed.js +79 -0
- package/dist/components/atoms/view-switcher/view-switcher.js +103 -0
- package/dist/components/atoms/viewport-bookmarks/viewport-bookmarks.js +118 -0
- package/dist/components/atoms/watchlist/watchlist.js +107 -0
- package/dist/components/atoms/workspace-switcher/workspace-switcher.js +96 -0
- package/dist/components/atoms/world-breadcrumbs/world-breadcrumbs.js +112 -0
- package/dist/components/index.js +488 -325
- package/dist/components/molecules/activity-log/activity-log.js +256 -0
- package/dist/components/molecules/ai-artifact/ai-artifact.js +490 -0
- package/dist/components/molecules/ai-chat-input/ai-chat-input.js +114 -0
- package/dist/components/molecules/ai-message-bubble/ai-message-bubble.js +117 -0
- package/dist/components/molecules/ai-sidebar/ai-sidebar.js +277 -0
- package/dist/components/molecules/ai-tool-call-display/ai-tool-call-display.js +91 -0
- package/dist/components/molecules/alert-dialog/alert-dialog.js +140 -0
- package/dist/components/molecules/annotation/annotation.js +53 -0
- package/dist/components/molecules/auto-reload/auto-reload.js +405 -0
- package/dist/components/molecules/avatar-group/avatar-group.js +87 -0
- package/dist/components/molecules/blog-card/blog-card.js +52 -0
- package/dist/components/molecules/calendar/calendar.js +71 -0
- package/dist/components/molecules/carousel/carousel.js +265 -0
- package/dist/components/molecules/category-filter/category-filter.js +34 -0
- package/dist/components/molecules/chat-dock-section/chat-dock-section.js +54 -0
- package/dist/components/molecules/checkbox-group/checkbox-group.js +98 -0
- package/dist/components/molecules/civilization-card/civilization-card.js +278 -0
- package/dist/components/molecules/color-picker/color-picker.js +146 -0
- package/dist/components/molecules/command/command.js +166 -0
- package/dist/components/molecules/completion-dialog/completion-dialog.js +163 -0
- package/dist/components/molecules/connector-edge/connector-edge.js +72 -0
- package/dist/components/molecules/content-intro/content-intro.js +196 -0
- package/dist/components/molecules/conversation-thread/conversation-thread.js +373 -0
- package/dist/components/molecules/cookie-consent/cookie-consent.js +174 -0
- package/dist/components/molecules/copy-button/copy-button.js +146 -0
- package/dist/components/molecules/copy-button/use-copy-to-clipboard.js +42 -0
- package/dist/components/molecules/countdown-timer/countdown-timer.js +157 -0
- package/dist/components/molecules/credit-badge/credit-badge.js +57 -0
- package/dist/components/molecules/exercise/exercise.js +120 -0
- package/dist/components/molecules/field/field.js +137 -0
- package/dist/components/molecules/file-upload/file-upload.js +225 -0
- package/dist/components/molecules/filter-bar/filter-bar.js +263 -0
- package/dist/components/molecules/flashcard/flashcard.js +72 -0
- package/dist/components/molecules/form/form.js +451 -0
- package/dist/components/molecules/historical-figure-card/historical-figure-card.js +272 -0
- package/dist/components/molecules/horizontal-scroll-row/horizontal-scroll-row.js +67 -0
- package/dist/components/molecules/inline-input/inline-input.js +49 -0
- package/dist/components/molecules/knowledge-check/knowledge-check.js +465 -0
- package/dist/components/molecules/live-feed/live-feed.js +145 -0
- package/dist/components/molecules/metric-gauge/metric-gauge.js +211 -0
- package/dist/components/molecules/model-comparison/model-comparison.js +239 -0
- package/dist/components/molecules/newsletter-signup/newsletter-signup.js +278 -0
- package/dist/components/molecules/number-input/number-input.js +174 -0
- package/dist/components/molecules/object-card/object-card.js +125 -0
- package/dist/components/molecules/overview-board/overview-board.js +132 -0
- package/dist/components/molecules/pagination/pagination.js +76 -0
- package/dist/components/molecules/plan-badge/plan-badge.js +65 -0
- package/dist/components/molecules/pricing-table/pricing-table.js +285 -0
- package/dist/components/molecules/profile-section/profile-section.js +46 -0
- package/dist/components/molecules/progress-card/progress-card.js +82 -0
- package/dist/components/molecules/progress-tracker/progress-tracker.js +672 -0
- package/dist/components/molecules/prompt-templates/prompt-templates.js +395 -0
- package/dist/components/molecules/role-badge/role-badge.js +53 -0
- package/dist/components/molecules/scope-selector/scope-selector.js +339 -0
- package/dist/components/molecules/search-bar/search-bar.js +153 -0
- package/dist/components/molecules/sidebar/sidebar.js +520 -0
- package/dist/components/molecules/sidebar-toggle/sidebar-toggle.js +38 -0
- package/dist/components/molecules/stat-card/stat-card.js +105 -0
- package/dist/components/molecules/status-board/status-board.js +149 -0
- package/dist/components/molecules/text-field/text-field.js +59 -0
- package/dist/components/molecules/theme-toggle/theme-toggle.js +170 -0
- package/dist/components/molecules/ticker-tape/ticker-tape.js +135 -0
- package/dist/components/molecules/time-picker/time-picker.js +156 -0
- package/dist/components/molecules/toggle-group/toggle-group.js +60 -0
- package/dist/components/molecules/tour/tour.js +171 -0
- package/dist/components/molecules/transaction-list/transaction-list.js +259 -0
- package/dist/components/molecules/tutorial-card/tutorial-card.js +80 -0
- package/dist/components/molecules/tutorial-filters/tutorial-filters.js +205 -0
- package/dist/components/molecules/usage-breakdown/usage-breakdown.js +144 -0
- package/dist/components/molecules/world-clock-bar/world-clock-bar.js +95 -0
- package/dist/components/molecules/zoom-hud/zoom-hud.js +67 -0
- package/dist/components/organisms/activity-heatmap/activity-heatmap.js +164 -0
- package/dist/components/organisms/candlestick-chart/candlestick-chart.js +214 -0
- package/dist/components/organisms/canvas-view/canvas-view.js +498 -0
- package/dist/components/organisms/chart/area-chart.js +99 -0
- package/dist/components/organisms/chart/bar-chart.js +78 -0
- package/dist/components/organisms/chart/line-chart.js +97 -0
- package/dist/components/organisms/choropleth-map/choropleth-map.js +393 -0
- package/dist/components/organisms/chronological-timeline/chronological-timeline.js +343 -0
- package/dist/components/organisms/code-block/code-block.js +171 -0
- package/dist/components/organisms/code-playground/code-playground.js +95 -0
- package/dist/components/organisms/combobox/combobox.js +170 -0
- package/dist/components/organisms/contribution-graph/contribution-graph.js +118 -0
- package/dist/components/organisms/data-table/data-table.js +263 -0
- package/dist/components/organisms/date-picker/date-picker.js +86 -0
- package/dist/components/organisms/date-range-picker/date-range-picker.js +89 -0
- package/dist/components/organisms/flow-diagram/flow-canvas.js +112 -0
- package/dist/components/organisms/flow-diagram/flow-controls.js +146 -0
- package/dist/components/organisms/flow-diagram/flow-diagram.js +114 -0
- package/dist/components/organisms/flow-diagram/flow-error-boundary.js +63 -0
- package/dist/components/organisms/flow-diagram/flow-fullscreen.js +52 -0
- package/dist/components/organisms/flow-diagram/index.js +14 -0
- package/dist/components/organisms/flow-diagram/use-flow-diagram.js +149 -0
- package/dist/components/organisms/gantt-chart/gantt-chart.js +336 -0
- package/dist/components/organisms/geography-quiz-map/geography-quiz-map.js +377 -0
- package/dist/components/organisms/globe-3d/globe-3d.js +433 -0
- package/dist/components/organisms/heat-map-overlay/heat-map-overlay.js +215 -0
- package/dist/components/organisms/historic-timeline/historic-timeline.js +340 -0
- package/dist/components/organisms/interactive-timeline/interactive-timeline.js +752 -0
- package/dist/components/organisms/map-2d/map-2d.js +477 -0
- package/dist/components/organisms/map-timeline/map-timeline.js +527 -0
- package/dist/components/organisms/market-treemap/market-treemap.js +111 -0
- package/dist/components/organisms/mdx-content/mdx-content.js +163 -0
- package/dist/components/organisms/model-selector/model-selector.js +400 -0
- package/dist/components/organisms/multi-select/multi-select.js +273 -0
- package/dist/components/organisms/navbar-saas/navbar-saas.js +91 -0
- package/dist/components/organisms/parallel-timeline/parallel-timeline.js +250 -0
- package/dist/components/organisms/pie-chart/pie-chart.js +130 -0
- package/dist/components/organisms/primary-source-viewer/primary-source-viewer.js +488 -0
- package/dist/components/organisms/radar-chart/radar-chart.js +180 -0
- package/dist/components/organisms/range-calendar/range-calendar.js +35 -0
- package/dist/components/organisms/route-map/route-map.js +341 -0
- package/dist/components/organisms/run-timeline/run-timeline.js +219 -0
- package/dist/components/organisms/sankey-chart/sankey-chart.js +255 -0
- package/dist/components/organisms/search-dialog/search-dialog.js +535 -0
- package/dist/components/organisms/share-dialog/share-dialog.js +133 -0
- package/dist/components/organisms/slideshow/slideshow.js +551 -0
- package/dist/components/organisms/static-code/static-code-copy.js +24 -0
- package/dist/components/organisms/static-code/static-code.js +41 -0
- package/dist/components/organisms/story-map/story-map.js +420 -0
- package/dist/components/organisms/subscription-card/subscription-card.js +161 -0
- package/dist/components/organisms/terminal/terminal.js +135 -0
- package/dist/components/organisms/tree-view/tree-view.js +331 -0
- package/dist/components/organisms/tutorial-complete/tutorial-complete.js +205 -0
- package/dist/components/organisms/tutorial-mdx/tutorial-mdx.js +225 -0
- package/dist/components/organisms/wallet-card/wallet-card.js +113 -0
- package/dist/components/templates/canvas-shell/canvas-shell.js +266 -0
- package/dist/index.d.ts +1359 -1047
- package/dist/index.js +14 -0
- package/dist/lib/focus-calendar-day.js +13 -0
- package/dist/lib/roving-focus.js +70 -0
- package/dist/lib/use-escape-key.js +6 -3
- package/dist/lib/use-event-callback.js +15 -0
- package/dist/lib/use-focus-containment.js +74 -0
- package/dist/lib/use-return-focus.js +23 -0
- package/dist/types/side-effect-imports.d.js +0 -0
- package/package.json +70 -72
- package/styles.css +35 -6
- package/themes/default.css +6 -6
- package/themes/presets.css +76 -76
- package/dist/components/accordion/accordion.js +0 -166
- package/dist/components/accordion/index.js +0 -12
- package/dist/components/activity-heatmap/activity-heatmap.js +0 -164
- package/dist/components/activity-heatmap/index.js +0 -6
- package/dist/components/activity-log/activity-log.js +0 -256
- package/dist/components/activity-log/index.js +0 -6
- package/dist/components/agent-activity/agent-activity.js +0 -331
- package/dist/components/agent-activity/index.js +0 -18
- package/dist/components/ai-artifact/ai-artifact.js +0 -478
- package/dist/components/ai-artifact/index.js +0 -24
- package/dist/components/ai-chat-input/ai-chat-input.js +0 -107
- package/dist/components/ai-chat-input/index.js +0 -4
- package/dist/components/ai-message-bubble/ai-message-bubble.js +0 -117
- package/dist/components/ai-message-bubble/index.js +0 -6
- package/dist/components/ai-sidebar/ai-sidebar.js +0 -277
- package/dist/components/ai-sidebar/index.js +0 -22
- package/dist/components/ai-source-citation/ai-source-citation.js +0 -45
- package/dist/components/ai-source-citation/index.js +0 -6
- package/dist/components/ai-streaming-text/ai-streaming-text.js +0 -39
- package/dist/components/ai-streaming-text/index.js +0 -6
- package/dist/components/ai-tool-call-display/ai-tool-call-display.js +0 -91
- package/dist/components/ai-tool-call-display/index.js +0 -6
- package/dist/components/alert/alert.js +0 -66
- package/dist/components/alert/index.js +0 -7
- package/dist/components/alert-dialog/alert-dialog.js +0 -140
- package/dist/components/alert-dialog/index.js +0 -26
- package/dist/components/alert-pulse/alert-pulse.js +0 -93
- package/dist/components/alert-pulse/index.js +0 -6
- package/dist/components/anchor-port/anchor-port.js +0 -49
- package/dist/components/anchor-port/index.js +0 -4
- package/dist/components/animated-beam/animated-beam.js +0 -157
- package/dist/components/animated-beam/index.js +0 -4
- package/dist/components/animated-grid-pattern/animated-grid-pattern.js +0 -81
- package/dist/components/animated-grid-pattern/index.js +0 -6
- package/dist/components/animated-list/animated-list.js +0 -28
- package/dist/components/animated-list/index.js +0 -4
- package/dist/components/animated-tabs/animated-tabs.js +0 -98
- package/dist/components/animated-tabs/index.js +0 -6
- package/dist/components/animated-testimonials/animated-testimonials.js +0 -97
- package/dist/components/animated-testimonials/index.js +0 -6
- package/dist/components/animated-text/animated-text.js +0 -328
- package/dist/components/animated-text/index.js +0 -4
- package/dist/components/animated-tooltip/animated-tooltip.js +0 -58
- package/dist/components/animated-tooltip/index.js +0 -6
- package/dist/components/annotation/annotation.js +0 -49
- package/dist/components/annotation/index.js +0 -8
- package/dist/components/aspect-ratio/index.js +0 -4
- package/dist/components/auto-reload/auto-reload.js +0 -405
- package/dist/components/auto-reload/index.js +0 -6
- package/dist/components/avatar/avatar.js +0 -54
- package/dist/components/avatar/index.js +0 -6
- package/dist/components/avatar-group/avatar-group.js +0 -87
- package/dist/components/avatar-group/index.js +0 -10
- package/dist/components/badge/badge.js +0 -26
- package/dist/components/badge/index.js +0 -5
- package/dist/components/banner/banner.js +0 -158
- package/dist/components/banner/index.js +0 -10
- package/dist/components/bento-grid/bento-grid.js +0 -46
- package/dist/components/bento-grid/index.js +0 -8
- package/dist/components/blog-card/blog-card.js +0 -52
- package/dist/components/blog-card/index.js +0 -5
- package/dist/components/blur-reveal/blur-reveal.js +0 -83
- package/dist/components/blur-reveal/index.js +0 -4
- package/dist/components/border-beam/border-beam.js +0 -49
- package/dist/components/border-beam/index.js +0 -4
- package/dist/components/bottom-activity-strip/bottom-activity-strip.js +0 -91
- package/dist/components/bottom-activity-strip/index.js +0 -6
- package/dist/components/bottom-bar/bottom-bar.js +0 -29
- package/dist/components/bottom-bar/index.js +0 -4
- package/dist/components/breadcrumb/breadcrumb.js +0 -68
- package/dist/components/breadcrumb/index.js +0 -4
- package/dist/components/button/button.js +0 -52
- package/dist/components/button/index.js +0 -5
- package/dist/components/button-group/button-group.js +0 -37
- package/dist/components/button-group/index.js +0 -8
- package/dist/components/calendar/calendar.js +0 -71
- package/dist/components/calendar/index.js +0 -4
- package/dist/components/callout/callout.js +0 -59
- package/dist/components/callout/index.js +0 -4
- package/dist/components/candlestick-chart/candlestick-chart.js +0 -214
- package/dist/components/candlestick-chart/index.js +0 -6
- package/dist/components/canvas-shell/canvas-shell.js +0 -266
- package/dist/components/canvas-shell/index.js +0 -4
- package/dist/components/canvas-view/canvas-view.js +0 -502
- package/dist/components/canvas-view/index.js +0 -6
- package/dist/components/card/card.js +0 -87
- package/dist/components/card/index.js +0 -16
- package/dist/components/card-flip/card-flip.js +0 -67
- package/dist/components/card-flip/index.js +0 -4
- package/dist/components/carousel/carousel.js +0 -265
- package/dist/components/carousel/index.js +0 -14
- package/dist/components/category-filter/category-filter.js +0 -34
- package/dist/components/category-filter/index.js +0 -4
- package/dist/components/chain-of-thought/chain-of-thought.js +0 -78
- package/dist/components/chain-of-thought/index.js +0 -6
- package/dist/components/chart/area-chart.js +0 -99
- package/dist/components/chart/bar-chart.js +0 -78
- package/dist/components/chart/index.js +0 -3
- package/dist/components/chart/line-chart.js +0 -97
- package/dist/components/chat-dock-section/chat-dock-section.js +0 -54
- package/dist/components/chat-dock-section/index.js +0 -6
- package/dist/components/checkbox/checkbox.js +0 -31
- package/dist/components/checkbox/index.js +0 -4
- package/dist/components/checkbox-group/checkbox-group.js +0 -98
- package/dist/components/checkbox-group/index.js +0 -8
- package/dist/components/checklist/checklist.js +0 -216
- package/dist/components/checklist/index.js +0 -14
- package/dist/components/choropleth-map/choropleth-map.js +0 -386
- package/dist/components/choropleth-map/index.js +0 -10
- package/dist/components/chronological-timeline/chronological-timeline.js +0 -346
- package/dist/components/chronological-timeline/index.js +0 -8
- package/dist/components/civilization-card/civilization-card.js +0 -278
- package/dist/components/civilization-card/index.js +0 -8
- package/dist/components/code-block/code-block.js +0 -144
- package/dist/components/code-block/index.js +0 -4
- package/dist/components/code-playground/code-playground.js +0 -88
- package/dist/components/code-playground/index.js +0 -8
- package/dist/components/collapsible/index.js +0 -10
- package/dist/components/color-picker/color-picker.js +0 -133
- package/dist/components/color-picker/index.js +0 -4
- package/dist/components/combobox/combobox.js +0 -148
- package/dist/components/combobox/index.js +0 -4
- package/dist/components/command/command.js +0 -150
- package/dist/components/command/index.js +0 -22
- package/dist/components/comment-pin/comment-pin.js +0 -102
- package/dist/components/comment-pin/index.js +0 -6
- package/dist/components/comparison/comparison.js +0 -122
- package/dist/components/comparison/index.js +0 -8
- package/dist/components/completion-dialog/completion-dialog.js +0 -181
- package/dist/components/completion-dialog/index.js +0 -6
- package/dist/components/connector-edge/connector-edge.js +0 -71
- package/dist/components/connector-edge/index.js +0 -6
- package/dist/components/content-intro/content-intro.js +0 -151
- package/dist/components/content-intro/index.js +0 -6
- package/dist/components/context-lens/context-lens.js +0 -99
- package/dist/components/context-lens/index.js +0 -6
- package/dist/components/context-menu/context-menu.js +0 -192
- package/dist/components/context-menu/index.js +0 -34
- package/dist/components/contribution-graph/contribution-graph.js +0 -118
- package/dist/components/contribution-graph/index.js +0 -6
- package/dist/components/conversation-thread/conversation-thread.js +0 -372
- package/dist/components/conversation-thread/index.js +0 -20
- package/dist/components/cookie-consent/cookie-consent.js +0 -174
- package/dist/components/cookie-consent/index.js +0 -8
- package/dist/components/copy-button/copy-button.js +0 -186
- package/dist/components/copy-button/index.js +0 -8
- package/dist/components/countdown-timer/countdown-timer.js +0 -157
- package/dist/components/countdown-timer/index.js +0 -4
- package/dist/components/credit-badge/credit-badge.js +0 -57
- package/dist/components/credit-badge/index.js +0 -6
- package/dist/components/curriculum/curriculum.js +0 -349
- package/dist/components/curriculum/index.js +0 -10
- package/dist/components/cursor/cursor.js +0 -52
- package/dist/components/cursor/index.js +0 -4
- package/dist/components/data-list/data-list.js +0 -114
- package/dist/components/data-list/index.js +0 -16
- package/dist/components/data-table/data-table.js +0 -243
- package/dist/components/data-table/index.js +0 -6
- package/dist/components/date-field/date-field.js +0 -42
- package/dist/components/date-field/index.js +0 -4
- package/dist/components/date-picker/date-picker.js +0 -68
- package/dist/components/date-picker/index.js +0 -4
- package/dist/components/date-range-picker/date-range-picker.js +0 -73
- package/dist/components/date-range-picker/index.js +0 -6
- package/dist/components/dialog/dialog.js +0 -121
- package/dist/components/dialog/index.js +0 -24
- package/dist/components/display/display.js +0 -22
- package/dist/components/display/index.js +0 -4
- package/dist/components/dock/dock.js +0 -109
- package/dist/components/dock/index.js +0 -5
- package/dist/components/document-sibling-nav/document-sibling-nav.js +0 -116
- package/dist/components/document-sibling-nav/index.js +0 -8
- package/dist/components/dot-pattern/dot-pattern.js +0 -36
- package/dist/components/dot-pattern/index.js +0 -4
- package/dist/components/drawer/drawer.js +0 -118
- package/dist/components/drawer/index.js +0 -24
- package/dist/components/dropdown-menu/dropdown-menu.js +0 -190
- package/dist/components/dropdown-menu/index.js +0 -34
- package/dist/components/edge-label/edge-label.js +0 -28
- package/dist/components/edge-label/index.js +0 -4
- package/dist/components/empty-state/empty-state.js +0 -89
- package/dist/components/empty-state/index.js +0 -8
- package/dist/components/era-comparison/era-comparison.js +0 -229
- package/dist/components/era-comparison/index.js +0 -16
- package/dist/components/exercise/exercise.js +0 -120
- package/dist/components/exercise/index.js +0 -4
- package/dist/components/expandable-cards/expandable-cards.js +0 -61
- package/dist/components/expandable-cards/index.js +0 -6
- package/dist/components/faq/faq.js +0 -60
- package/dist/components/faq/index.js +0 -5
- package/dist/components/field/field.js +0 -137
- package/dist/components/field/index.js +0 -16
- package/dist/components/fieldset/fieldset.js +0 -49
- package/dist/components/fieldset/index.js +0 -10
- package/dist/components/file-upload/file-upload.js +0 -223
- package/dist/components/file-upload/index.js +0 -4
- package/dist/components/filter-bar/filter-bar.js +0 -245
- package/dist/components/filter-bar/index.js +0 -6
- package/dist/components/flashcard/flashcard.js +0 -72
- package/dist/components/flashcard/index.js +0 -4
- package/dist/components/floating-action-button/floating-action-button.js +0 -35
- package/dist/components/floating-action-button/index.js +0 -6
- package/dist/components/floating-navbar/floating-navbar.js +0 -67
- package/dist/components/floating-navbar/index.js +0 -4
- package/dist/components/floating-toolbar/floating-toolbar.js +0 -64
- package/dist/components/floating-toolbar/index.js +0 -6
- package/dist/components/flow-diagram/flow-canvas.js +0 -109
- package/dist/components/flow-diagram/flow-controls.js +0 -140
- package/dist/components/flow-diagram/flow-diagram.js +0 -114
- package/dist/components/flow-diagram/flow-error-boundary.js +0 -63
- package/dist/components/flow-diagram/flow-fullscreen.js +0 -48
- package/dist/components/flow-diagram/index.js +0 -12
- package/dist/components/flow-diagram/use-flow-diagram.js +0 -135
- package/dist/components/follow-mode/follow-mode.js +0 -87
- package/dist/components/follow-mode/index.js +0 -6
- package/dist/components/form/form.js +0 -451
- package/dist/components/form/index.js +0 -20
- package/dist/components/gantt-chart/gantt-chart.js +0 -332
- package/dist/components/gantt-chart/index.js +0 -6
- package/dist/components/gauge-chart/gauge-chart.js +0 -132
- package/dist/components/gauge-chart/index.js +0 -4
- package/dist/components/geography-quiz-map/geography-quiz-map.js +0 -354
- package/dist/components/geography-quiz-map/index.js +0 -12
- package/dist/components/glass-card/glass-card.js +0 -25
- package/dist/components/glass-card/index.js +0 -4
- package/dist/components/glass-panel/glass-panel.js +0 -23
- package/dist/components/glass-panel/index.js +0 -4
- package/dist/components/glass-progress/glass-progress.js +0 -39
- package/dist/components/glass-progress/index.js +0 -4
- package/dist/components/globe-3d/globe-3d.js +0 -433
- package/dist/components/globe-3d/index.js +0 -10
- package/dist/components/grid/grid.js +0 -100
- package/dist/components/grid/index.js +0 -4
- package/dist/components/group-hull/group-hull.js +0 -34
- package/dist/components/group-hull/index.js +0 -4
- package/dist/components/handoff-beacon/handoff-beacon.js +0 -76
- package/dist/components/handoff-beacon/index.js +0 -6
- package/dist/components/heading/heading.js +0 -40
- package/dist/components/heading/index.js +0 -4
- package/dist/components/heat-map-overlay/heat-map-overlay.js +0 -215
- package/dist/components/heat-map-overlay/index.js +0 -6
- package/dist/components/heat-overlay/heat-overlay.js +0 -93
- package/dist/components/heat-overlay/index.js +0 -6
- package/dist/components/historic-timeline/historic-timeline.js +0 -340
- package/dist/components/historic-timeline/index.js +0 -6
- package/dist/components/historical-figure-card/historical-figure-card.js +0 -272
- package/dist/components/historical-figure-card/index.js +0 -6
- package/dist/components/horizontal-scroll-row/horizontal-scroll-row.js +0 -67
- package/dist/components/horizontal-scroll-row/index.js +0 -6
- package/dist/components/hover-card/hover-card.js +0 -31
- package/dist/components/hover-card/index.js +0 -6
- package/dist/components/infinite-plane/index.js +0 -6
- package/dist/components/infinite-plane/infinite-plane.js +0 -73
- package/dist/components/inline-input/index.js +0 -4
- package/dist/components/inline-input/inline-input.js +0 -42
- package/dist/components/input/index.js +0 -4
- package/dist/components/input/input.js +0 -25
- package/dist/components/input-group/index.js +0 -14
- package/dist/components/input-group/input-group.js +0 -73
- package/dist/components/input-otp/index.js +0 -12
- package/dist/components/input-otp/input-otp.js +0 -71
- package/dist/components/interactive-timeline/index.js +0 -16
- package/dist/components/interactive-timeline/interactive-timeline.js +0 -752
- package/dist/components/item/index.js +0 -18
- package/dist/components/item/item.js +0 -118
- package/dist/components/jarvis-dock/index.js +0 -6
- package/dist/components/jarvis-dock/jarvis-dock.js +0 -96
- package/dist/components/kbd/index.js +0 -5
- package/dist/components/kbd/kbd.js +0 -114
- package/dist/components/key-concept/index.js +0 -8
- package/dist/components/key-concept/key-concept.js +0 -80
- package/dist/components/keyboard-shortcuts-help/index.js +0 -6
- package/dist/components/keyboard-shortcuts-help/keyboard-shortcuts-help.js +0 -111
- package/dist/components/knowledge-check/index.js +0 -6
- package/dist/components/knowledge-check/knowledge-check.js +0 -465
- package/dist/components/label/index.js +0 -4
- package/dist/components/label/label.js +0 -24
- package/dist/components/lang-provider/index.js +0 -4
- package/dist/components/learning-objectives/index.js +0 -10
- package/dist/components/learning-objectives/learning-objectives.js +0 -77
- package/dist/components/left-rail/index.js +0 -4
- package/dist/components/left-rail/left-rail.js +0 -29
- package/dist/components/link/index.js +0 -5
- package/dist/components/link/link.js +0 -53
- package/dist/components/liquid-glass/index.js +0 -4
- package/dist/components/liquid-glass/liquid-glass.js +0 -39
- package/dist/components/list-box/index.js +0 -8
- package/dist/components/list-box/list-box.js +0 -130
- package/dist/components/live-cursor/index.js +0 -6
- package/dist/components/live-cursor/live-cursor.js +0 -60
- package/dist/components/live-feed/index.js +0 -4
- package/dist/components/live-feed/live-feed.js +0 -145
- package/dist/components/magnetic/index.js +0 -4
- package/dist/components/magnetic/magnetic.js +0 -63
- package/dist/components/magnetic-button/index.js +0 -4
- package/dist/components/magnetic-button/magnetic-button.js +0 -64
- package/dist/components/map-2d/index.js +0 -20
- package/dist/components/map-2d/map-2d.js +0 -474
- package/dist/components/map-timeline/index.js +0 -16
- package/dist/components/map-timeline/map-timeline.js +0 -527
- package/dist/components/market-treemap/index.js +0 -6
- package/dist/components/market-treemap/market-treemap.js +0 -104
- package/dist/components/marquee/index.js +0 -4
- package/dist/components/marquee/marquee.js +0 -97
- package/dist/components/mdx-content/index.js +0 -4
- package/dist/components/mdx-content/mdx-content.js +0 -164
- package/dist/components/menubar/index.js +0 -36
- package/dist/components/menubar/menubar.js +0 -230
- package/dist/components/meteors/index.js +0 -4
- package/dist/components/meteors/meteors.js +0 -62
- package/dist/components/meter/index.js +0 -5
- package/dist/components/meter/meter.js +0 -76
- package/dist/components/metric-cluster/index.js +0 -6
- package/dist/components/metric-cluster/metric-cluster.js +0 -94
- package/dist/components/metric-gauge/index.js +0 -6
- package/dist/components/metric-gauge/metric-gauge.js +0 -211
- package/dist/components/mini-map-panel/index.js +0 -6
- package/dist/components/mini-map-panel/mini-map-panel.js +0 -79
- package/dist/components/model-comparison/index.js +0 -12
- package/dist/components/model-comparison/model-comparison.js +0 -239
- package/dist/components/model-selector/index.js +0 -6
- package/dist/components/model-selector/model-selector.js +0 -383
- package/dist/components/multi-select/index.js +0 -6
- package/dist/components/multi-select/multi-select.js +0 -256
- package/dist/components/multi-select-lasso/index.js +0 -6
- package/dist/components/multi-select-lasso/multi-select-lasso.js +0 -76
- package/dist/components/native-select/index.js +0 -4
- package/dist/components/native-select/native-select.js +0 -28
- package/dist/components/navbar-saas/index.js +0 -6
- package/dist/components/navbar-saas/navbar-saas.js +0 -91
- package/dist/components/navigation-menu/index.js +0 -22
- package/dist/components/navigation-menu/navigation-menu.js +0 -133
- package/dist/components/newsletter-signup/index.js +0 -8
- package/dist/components/newsletter-signup/newsletter-signup.js +0 -271
- package/dist/components/number-input/index.js +0 -4
- package/dist/components/number-input/number-input.js +0 -168
- package/dist/components/number-ticker/index.js +0 -4
- package/dist/components/number-ticker/number-ticker.js +0 -69
- package/dist/components/object-card/index.js +0 -6
- package/dist/components/object-card/object-card.js +0 -124
- package/dist/components/object-handle/index.js +0 -4
- package/dist/components/object-handle/object-handle.js +0 -41
- package/dist/components/object-inspector/index.js +0 -6
- package/dist/components/object-inspector/object-inspector.js +0 -134
- package/dist/components/order-book/index.js +0 -6
- package/dist/components/order-book/order-book.js +0 -133
- package/dist/components/overview-board/index.js +0 -8
- package/dist/components/overview-board/overview-board.js +0 -131
- package/dist/components/pagination/index.js +0 -4
- package/dist/components/pagination/pagination.js +0 -44
- package/dist/components/panel/index.js +0 -16
- package/dist/components/panel/panel.js +0 -95
- package/dist/components/parallel-timeline/index.js +0 -6
- package/dist/components/parallel-timeline/parallel-timeline.js +0 -249
- package/dist/components/particles/index.js +0 -4
- package/dist/components/particles/particles.js +0 -52
- package/dist/components/password-input/index.js +0 -4
- package/dist/components/password-input/password-input.js +0 -44
- package/dist/components/phone-input/index.js +0 -6
- package/dist/components/phone-input/phone-input.js +0 -63
- package/dist/components/pie-chart/index.js +0 -4
- package/dist/components/pie-chart/pie-chart.js +0 -130
- package/dist/components/plan-badge/index.js +0 -6
- package/dist/components/plan-badge/plan-badge.js +0 -65
- package/dist/components/playback-ghost/index.js +0 -6
- package/dist/components/playback-ghost/playback-ghost.js +0 -81
- package/dist/components/policy-delivery-panel/index.js +0 -6
- package/dist/components/policy-delivery-panel/policy-delivery-panel.js +0 -99
- package/dist/components/popover/index.js +0 -12
- package/dist/components/popover/popover.js +0 -33
- package/dist/components/presence-stack/index.js +0 -6
- package/dist/components/presence-stack/presence-stack.js +0 -106
- package/dist/components/presence-sync-indicator/index.js +0 -6
- package/dist/components/presence-sync-indicator/presence-sync-indicator.js +0 -73
- package/dist/components/pricing-table/index.js +0 -8
- package/dist/components/pricing-table/pricing-table.js +0 -285
- package/dist/components/primary-source-viewer/index.js +0 -26
- package/dist/components/primary-source-viewer/primary-source-viewer.js +0 -488
- package/dist/components/pro-tip/index.js +0 -8
- package/dist/components/pro-tip/pro-tip.js +0 -139
- package/dist/components/profile-section/index.js +0 -4
- package/dist/components/profile-section/profile-section.js +0 -46
- package/dist/components/progress-bar/index.js +0 -4
- package/dist/components/progress-bar/progress-bar.js +0 -56
- package/dist/components/progress-card/index.js +0 -6
- package/dist/components/progress-card/progress-card.js +0 -72
- package/dist/components/progress-tracker/index.js +0 -20
- package/dist/components/progress-tracker/progress-tracker.js +0 -537
- package/dist/components/progressive-blur/index.js +0 -6
- package/dist/components/progressive-blur/progressive-blur.js +0 -48
- package/dist/components/prompt-input/index.js +0 -4
- package/dist/components/prompt-input/prompt-input.js +0 -185
- package/dist/components/prompt-templates/index.js +0 -6
- package/dist/components/prompt-templates/prompt-templates.js +0 -395
- package/dist/components/property-section/index.js +0 -6
- package/dist/components/property-section/property-section.js +0 -99
- package/dist/components/prose/index.js +0 -4
- package/dist/components/prose/prose.js +0 -21
- package/dist/components/qr-code/index.js +0 -4
- package/dist/components/qr-code/qr-code.js +0 -49
- package/dist/components/quiz/index.js +0 -4
- package/dist/components/quiz/quiz.js +0 -211
- package/dist/components/radar-chart/index.js +0 -6
- package/dist/components/radar-chart/radar-chart.js +0 -180
- package/dist/components/radio-group/index.js +0 -5
- package/dist/components/radio-group/radio-group.js +0 -43
- package/dist/components/range-calendar/index.js +0 -4
- package/dist/components/range-calendar/range-calendar.js +0 -35
- package/dist/components/rating/index.js +0 -4
- package/dist/components/rating/rating.js +0 -121
- package/dist/components/reasoning/index.js +0 -4
- package/dist/components/reasoning/reasoning.js +0 -124
- package/dist/components/relationship-inspector/index.js +0 -6
- package/dist/components/relationship-inspector/relationship-inspector.js +0 -102
- package/dist/components/resizable/index.js +0 -10
- package/dist/components/resizable/resizable.js +0 -39
- package/dist/components/reveal-text/index.js +0 -6
- package/dist/components/reveal-text/reveal-text.js +0 -93
- package/dist/components/right-dock/index.js +0 -4
- package/dist/components/right-dock/right-dock.js +0 -33
- package/dist/components/role-badge/index.js +0 -6
- package/dist/components/role-badge/role-badge.js +0 -53
- package/dist/components/route-map/index.js +0 -6
- package/dist/components/route-map/route-map.js +0 -341
- package/dist/components/routing-assignment-panel/index.js +0 -6
- package/dist/components/routing-assignment-panel/routing-assignment-panel.js +0 -122
- package/dist/components/run-timeline/index.js +0 -6
- package/dist/components/run-timeline/run-timeline.js +0 -219
- package/dist/components/runtime-overview-panel/index.js +0 -6
- package/dist/components/runtime-overview-panel/runtime-overview-panel.js +0 -89
- package/dist/components/sankey-chart/index.js +0 -6
- package/dist/components/sankey-chart/sankey-chart.js +0 -255
- package/dist/components/scope-selector/index.js +0 -6
- package/dist/components/scope-selector/scope-selector.js +0 -335
- package/dist/components/scramble-text/index.js +0 -4
- package/dist/components/scramble-text/scramble-text.js +0 -76
- package/dist/components/scroll-area/index.js +0 -5
- package/dist/components/scroll-area/scroll-area.js +0 -48
- package/dist/components/scroll-progress/index.js +0 -4
- package/dist/components/scroll-progress/scroll-progress.js +0 -50
- package/dist/components/search-bar/index.js +0 -4
- package/dist/components/search-bar/search-bar.js +0 -147
- package/dist/components/search-dialog/index.js +0 -4
- package/dist/components/search-dialog/search-dialog.js +0 -535
- package/dist/components/search-field/index.js +0 -4
- package/dist/components/search-field/search-field.js +0 -67
- package/dist/components/segmented-control/index.js +0 -12
- package/dist/components/segmented-control/segmented-control.js +0 -70
- package/dist/components/select/index.js +0 -24
- package/dist/components/select/select.js +0 -156
- package/dist/components/selection-halo/index.js +0 -6
- package/dist/components/selection-halo/selection-halo.js +0 -63
- package/dist/components/selection-presence/index.js +0 -6
- package/dist/components/selection-presence/selection-presence.js +0 -50
- package/dist/components/separator/index.js +0 -4
- package/dist/components/separator/separator.js +0 -28
- package/dist/components/severity-badge/index.js +0 -8
- package/dist/components/severity-badge/severity-badge.js +0 -163
- package/dist/components/share-dialog/index.js +0 -6
- package/dist/components/share-dialog/share-dialog.js +0 -119
- package/dist/components/share-section/index.js +0 -6
- package/dist/components/sheet/index.js +0 -24
- package/dist/components/sheet/sheet.js +0 -133
- package/dist/components/shimmer-button/index.js +0 -4
- package/dist/components/shimmer-button/shimmer-button.js +0 -41
- package/dist/components/shimmer-text/index.js +0 -4
- package/dist/components/shimmer-text/shimmer-text.js +0 -40
- package/dist/components/shine-border/index.js +0 -4
- package/dist/components/shine-border/shine-border.js +0 -38
- package/dist/components/shiny-button/index.js +0 -4
- package/dist/components/shiny-button/shiny-button.js +0 -39
- package/dist/components/sidebar/index.js +0 -4
- package/dist/components/sidebar/sidebar.js +0 -429
- package/dist/components/sidebar-provider/index.js +0 -5
- package/dist/components/sidebar-toggle/index.js +0 -4
- package/dist/components/sidebar-toggle/sidebar-toggle.js +0 -38
- package/dist/components/skeleton/index.js +0 -4
- package/dist/components/skeleton/skeleton.js +0 -17
- package/dist/components/slider/index.js +0 -4
- package/dist/components/slider/slider.js +0 -27
- package/dist/components/slideshow/index.js +0 -6
- package/dist/components/slideshow/slideshow.js +0 -520
- package/dist/components/snap-guides/index.js +0 -6
- package/dist/components/snap-guides/snap-guides.js +0 -45
- package/dist/components/social-fab/index.js +0 -6
- package/dist/components/social-fab/social-fab.js +0 -212
- package/dist/components/sparkles/index.js +0 -4
- package/dist/components/sparkles/sparkles.js +0 -51
- package/dist/components/sparkline-grid/index.js +0 -6
- package/dist/components/sparkline-grid/sparkline-grid.js +0 -92
- package/dist/components/spinner/index.js +0 -8
- package/dist/components/spinner/spinner.js +0 -23
- package/dist/components/spinner/unicode-spinner.js +0 -712
- package/dist/components/spinning-text/index.js +0 -4
- package/dist/components/spinning-text/spinning-text.js +0 -58
- package/dist/components/spotlight-card/index.js +0 -4
- package/dist/components/spotlight-card/spotlight-card.js +0 -53
- package/dist/components/stat-card/index.js +0 -5
- package/dist/components/stat-card/stat-card.js +0 -100
- package/dist/components/state-badge-overlay/index.js +0 -6
- package/dist/components/state-badge-overlay/state-badge-overlay.js +0 -90
- package/dist/components/static-code/index.js +0 -4
- package/dist/components/static-code/static-code-copy.js +0 -24
- package/dist/components/static-code/static-code.js +0 -41
- package/dist/components/status-board/index.js +0 -6
- package/dist/components/status-board/status-board.js +0 -143
- package/dist/components/status-indicator/index.js +0 -10
- package/dist/components/status-indicator/status-indicator.js +0 -173
- package/dist/components/step-by-step/index.js +0 -8
- package/dist/components/step-by-step/step-by-step.js +0 -196
- package/dist/components/step-navigation/index.js +0 -4
- package/dist/components/step-navigation/step-navigation.js +0 -119
- package/dist/components/stepper/index.js +0 -4
- package/dist/components/stepper/stepper.js +0 -117
- package/dist/components/sticky-metric/index.js +0 -6
- package/dist/components/sticky-metric/sticky-metric.js +0 -81
- package/dist/components/story-map/index.js +0 -8
- package/dist/components/story-map/story-map.js +0 -420
- package/dist/components/subscription-card/index.js +0 -6
- package/dist/components/subscription-card/subscription-card.js +0 -159
- package/dist/components/switch/index.js +0 -4
- package/dist/components/switch/switch.js +0 -31
- package/dist/components/table/index.js +0 -20
- package/dist/components/table/table.js +0 -118
- package/dist/components/table-of-contents/index.js +0 -4
- package/dist/components/table-of-contents/table-of-contents.js +0 -70
- package/dist/components/table-of-contents-panel/index.js +0 -6
- package/dist/components/table-of-contents-panel/table-of-contents-panel.js +0 -193
- package/dist/components/tabs/index.js +0 -12
- package/dist/components/tabs/tabs.js +0 -118
- package/dist/components/tag-group/index.js +0 -8
- package/dist/components/tag-group/tag-group.js +0 -127
- package/dist/components/tags-input/index.js +0 -4
- package/dist/components/tags-input/tags-input.js +0 -185
- package/dist/components/terminal/index.js +0 -8
- package/dist/components/terminal/terminal.js +0 -135
- package/dist/components/text/index.js +0 -5
- package/dist/components/text/text.js +0 -48
- package/dist/components/text-animate/index.js +0 -6
- package/dist/components/text-animate/text-animate.js +0 -129
- package/dist/components/text-field/index.js +0 -4
- package/dist/components/text-field/text-field.js +0 -59
- package/dist/components/text-reveal/index.js +0 -4
- package/dist/components/text-reveal/text-reveal.js +0 -90
- package/dist/components/text-shimmer/index.js +0 -4
- package/dist/components/text-shimmer/text-shimmer.js +0 -33
- package/dist/components/textarea/index.js +0 -4
- package/dist/components/textarea/textarea.js +0 -23
- package/dist/components/theme-preset-provider/index.js +0 -4
- package/dist/components/theme-preset-provider/theme-preset-provider.js +0 -55
- package/dist/components/theme-provider/index.js +0 -4
- package/dist/components/theme-switcher/index.js +0 -4
- package/dist/components/theme-switcher/theme-switcher.js +0 -43
- package/dist/components/theme-toggle/index.js +0 -4
- package/dist/components/theme-toggle/theme-toggle.js +0 -170
- package/dist/components/thinking-block/index.js +0 -4
- package/dist/components/thinking-block/thinking-block.js +0 -56
- package/dist/components/thread-bubble/index.js +0 -6
- package/dist/components/thread-bubble/thread-bubble.js +0 -83
- package/dist/components/threshold-ring/index.js +0 -6
- package/dist/components/threshold-ring/threshold-ring.js +0 -158
- package/dist/components/ticker-tape/index.js +0 -6
- package/dist/components/ticker-tape/ticker-tape.js +0 -107
- package/dist/components/tilt-card/index.js +0 -4
- package/dist/components/tilt-card/tilt-card.js +0 -70
- package/dist/components/time-field/index.js +0 -4
- package/dist/components/time-field/time-field.js +0 -42
- package/dist/components/time-picker/index.js +0 -4
- package/dist/components/time-picker/time-picker.js +0 -113
- package/dist/components/timeline/index.js +0 -12
- package/dist/components/timeline/timeline.js +0 -243
- package/dist/components/timeline-scrubber/index.js +0 -6
- package/dist/components/timeline-scrubber/timeline-scrubber.js +0 -181
- package/dist/components/tldr-section/index.js +0 -4
- package/dist/components/tldr-section/tldr-section.js +0 -106
- package/dist/components/toast/index.js +0 -18
- package/dist/components/toast/toast.js +0 -105
- package/dist/components/toast/toaster.js +0 -38
- package/dist/components/toggle/index.js +0 -5
- package/dist/components/toggle/toggle.js +0 -44
- package/dist/components/toggle-group/index.js +0 -5
- package/dist/components/toggle-group/toggle-group.js +0 -60
- package/dist/components/toolbar/index.js +0 -8
- package/dist/components/toolbar/toolbar.js +0 -87
- package/dist/components/tooltip/index.js +0 -12
- package/dist/components/tooltip/tooltip.js +0 -31
- package/dist/components/top-bar/index.js +0 -4
- package/dist/components/top-bar/top-bar.js +0 -37
- package/dist/components/tour/index.js +0 -4
- package/dist/components/tour/tour.js +0 -163
- package/dist/components/transaction-list/index.js +0 -14
- package/dist/components/transaction-list/transaction-list.js +0 -259
- package/dist/components/tree-view/index.js +0 -6
- package/dist/components/tree-view/tree-view.js +0 -294
- package/dist/components/truncated-text/index.js +0 -4
- package/dist/components/truncated-text/truncated-text.js +0 -25
- package/dist/components/tutorial-card/index.js +0 -6
- package/dist/components/tutorial-card/tutorial-card.js +0 -78
- package/dist/components/tutorial-complete/index.js +0 -6
- package/dist/components/tutorial-complete/tutorial-complete.js +0 -136
- package/dist/components/tutorial-filters/index.js +0 -6
- package/dist/components/tutorial-filters/tutorial-filters.js +0 -205
- package/dist/components/tutorial-intro-content/index.js +0 -6
- package/dist/components/tutorial-intro-content/tutorial-intro-content.js +0 -141
- package/dist/components/tutorial-mdx/index.js +0 -8
- package/dist/components/tutorial-mdx/tutorial-mdx.js +0 -219
- package/dist/components/typewriter/index.js +0 -4
- package/dist/components/typewriter/typewriter.js +0 -68
- package/dist/components/typography/index.js +0 -26
- package/dist/components/typography/typography.js +0 -173
- package/dist/components/usage-breakdown/index.js +0 -6
- package/dist/components/usage-breakdown/usage-breakdown.js +0 -144
- package/dist/components/video-embed/index.js +0 -4
- package/dist/components/video-embed/video-embed.js +0 -77
- package/dist/components/view-switcher/index.js +0 -6
- package/dist/components/view-switcher/view-switcher.js +0 -92
- package/dist/components/viewport-bookmarks/index.js +0 -6
- package/dist/components/viewport-bookmarks/viewport-bookmarks.js +0 -118
- package/dist/components/wallet-card/index.js +0 -4
- package/dist/components/wallet-card/wallet-card.js +0 -113
- package/dist/components/watchlist/index.js +0 -6
- package/dist/components/watchlist/watchlist.js +0 -106
- package/dist/components/workspace-switcher/index.js +0 -6
- package/dist/components/workspace-switcher/workspace-switcher.js +0 -67
- package/dist/components/world-breadcrumbs/index.js +0 -6
- package/dist/components/world-breadcrumbs/world-breadcrumbs.js +0 -112
- package/dist/components/world-clock-bar/index.js +0 -6
- package/dist/components/world-clock-bar/world-clock-bar.js +0 -95
- package/dist/components/zoom-hud/index.js +0 -4
- package/dist/components/zoom-hud/zoom-hud.js +0 -66
- /package/dist/components/{aspect-ratio → atoms/aspect-ratio}/aspect-ratio.js +0 -0
- /package/dist/components/{collapsible → atoms/collapsible}/collapsible.js +0 -0
- /package/dist/components/{lang-provider → atoms/lang-provider}/lang-provider.js +0 -0
- /package/dist/components/{share-section → atoms/share-section}/share-section.js +0 -0
- /package/dist/components/{sidebar-provider → atoms/sidebar-provider}/sidebar-provider.js +0 -0
- /package/dist/components/{social-fab → atoms/social-fab}/use-social-fab.js +0 -0
- /package/dist/components/{theme-provider → atoms/theme-provider}/theme-provider.js +0 -0
- /package/dist/components/{flow-diagram → organisms/flow-diagram}/types.js +0 -0
- /package/dist/components/{navbar-saas → organisms/navbar-saas}/use-mobile.js +0 -0
- /package/dist/components/{canvas-shell → templates/canvas-shell}/canvas-shell-route-config.js +0 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useState } from "react";
|
|
4
|
+
import { cn } from "../../../lib/utils.js";
|
|
5
|
+
function QuizResultIcon({
|
|
6
|
+
className,
|
|
7
|
+
d
|
|
8
|
+
}) {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
"svg",
|
|
11
|
+
{
|
|
12
|
+
"aria-hidden": "true",
|
|
13
|
+
className,
|
|
14
|
+
fill: "none",
|
|
15
|
+
stroke: "currentColor",
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
children: /* @__PURE__ */ jsx(
|
|
18
|
+
"path",
|
|
19
|
+
{
|
|
20
|
+
d,
|
|
21
|
+
strokeLinecap: "round",
|
|
22
|
+
strokeLinejoin: "round",
|
|
23
|
+
strokeWidth: 2
|
|
24
|
+
}
|
|
25
|
+
)
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
}
|
|
29
|
+
function QuizOptionButton({
|
|
30
|
+
index,
|
|
31
|
+
onSelect,
|
|
32
|
+
option,
|
|
33
|
+
selectedIndex,
|
|
34
|
+
submitted
|
|
35
|
+
}) {
|
|
36
|
+
const isSelected = selectedIndex === index;
|
|
37
|
+
const showResult = submitted && isSelected;
|
|
38
|
+
return /* @__PURE__ */ jsxs(
|
|
39
|
+
"button",
|
|
40
|
+
{
|
|
41
|
+
className: cn(
|
|
42
|
+
"w-full text-left p-3 rounded-md border transition-colors hover:bg-muted/50 focus:outline-none focus:ring-2 focus:ring-primary",
|
|
43
|
+
isSelected && !submitted && "border-primary bg-primary/10",
|
|
44
|
+
showResult && option.correct && "border-green-500 bg-green-500/10",
|
|
45
|
+
showResult && !option.correct && "border-red-500 bg-red-500/10",
|
|
46
|
+
submitted && !isSelected && option.correct && "border-green-500/50 bg-green-500/5"
|
|
47
|
+
),
|
|
48
|
+
disabled: submitted,
|
|
49
|
+
onClick: () => {
|
|
50
|
+
onSelect(index);
|
|
51
|
+
},
|
|
52
|
+
type: "button",
|
|
53
|
+
children: [
|
|
54
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
55
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm", children: option.label }),
|
|
56
|
+
showResult ? option.correct ? /* @__PURE__ */ jsx(
|
|
57
|
+
QuizResultIcon,
|
|
58
|
+
{
|
|
59
|
+
className: "size-4 text-green-500",
|
|
60
|
+
d: "M5 13l4 4L19 7"
|
|
61
|
+
}
|
|
62
|
+
) : /* @__PURE__ */ jsx(
|
|
63
|
+
QuizResultIcon,
|
|
64
|
+
{
|
|
65
|
+
className: "size-4 text-red-500",
|
|
66
|
+
d: "M6 18L18 6M6 6l12 12"
|
|
67
|
+
}
|
|
68
|
+
) : null,
|
|
69
|
+
submitted && !isSelected && option.correct ? /* @__PURE__ */ jsx(
|
|
70
|
+
QuizResultIcon,
|
|
71
|
+
{
|
|
72
|
+
className: "size-4 text-green-500/50",
|
|
73
|
+
d: "M5 13l4 4L19 7"
|
|
74
|
+
}
|
|
75
|
+
) : null
|
|
76
|
+
] }),
|
|
77
|
+
submitted && option.explanation ? /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground mt-2", children: option.explanation }) : null
|
|
78
|
+
]
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
function QuizHint({ hint, onShow, showHint }) {
|
|
83
|
+
return /* @__PURE__ */ jsx("div", { className: "mb-4", children: showHint ? /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground italic bg-muted/50 p-2 rounded", children: hint }) : /* @__PURE__ */ jsx(
|
|
84
|
+
"button",
|
|
85
|
+
{
|
|
86
|
+
className: "text-sm text-primary hover:underline",
|
|
87
|
+
onClick: onShow,
|
|
88
|
+
type: "button",
|
|
89
|
+
children: "Show hint"
|
|
90
|
+
}
|
|
91
|
+
) });
|
|
92
|
+
}
|
|
93
|
+
function QuizResult({
|
|
94
|
+
explanation,
|
|
95
|
+
isCorrect
|
|
96
|
+
}) {
|
|
97
|
+
return /* @__PURE__ */ jsxs(
|
|
98
|
+
"div",
|
|
99
|
+
{
|
|
100
|
+
className: cn(
|
|
101
|
+
"p-3 rounded-md text-sm mb-4",
|
|
102
|
+
isCorrect ? "bg-green-500/10 text-green-700 dark:text-green-300" : "bg-muted"
|
|
103
|
+
),
|
|
104
|
+
children: [
|
|
105
|
+
/* @__PURE__ */ jsx("p", { className: "font-medium mb-1", children: isCorrect ? "Correct!" : "Not quite right." }),
|
|
106
|
+
/* @__PURE__ */ jsx("div", { className: "[&>p]:mb-0", children: explanation })
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
function QuizHeader({ Heading, question }) {
|
|
112
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-start gap-3 mb-4", children: [
|
|
113
|
+
/* @__PURE__ */ jsx(
|
|
114
|
+
"svg",
|
|
115
|
+
{
|
|
116
|
+
"aria-hidden": "true",
|
|
117
|
+
className: "size-5 text-primary flex-shrink-0 mt-0.5",
|
|
118
|
+
fill: "none",
|
|
119
|
+
stroke: "currentColor",
|
|
120
|
+
viewBox: "0 0 24 24",
|
|
121
|
+
children: /* @__PURE__ */ jsx(
|
|
122
|
+
"path",
|
|
123
|
+
{
|
|
124
|
+
d: "M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",
|
|
125
|
+
strokeLinecap: "round",
|
|
126
|
+
strokeLinejoin: "round",
|
|
127
|
+
strokeWidth: 2
|
|
128
|
+
}
|
|
129
|
+
)
|
|
130
|
+
}
|
|
131
|
+
),
|
|
132
|
+
/* @__PURE__ */ jsx(Heading, { className: "font-semibold text-foreground", children: question })
|
|
133
|
+
] });
|
|
134
|
+
}
|
|
135
|
+
function QuizActions({
|
|
136
|
+
canSubmit,
|
|
137
|
+
onReset,
|
|
138
|
+
onSubmit,
|
|
139
|
+
submitted
|
|
140
|
+
}) {
|
|
141
|
+
return /* @__PURE__ */ jsx("div", { className: "flex gap-2", children: submitted ? /* @__PURE__ */ jsx(
|
|
142
|
+
"button",
|
|
143
|
+
{
|
|
144
|
+
className: "px-3 py-1.5 text-sm rounded-md border border-border hover:bg-muted transition-colors",
|
|
145
|
+
onClick: onReset,
|
|
146
|
+
type: "button",
|
|
147
|
+
children: "Try Again"
|
|
148
|
+
}
|
|
149
|
+
) : /* @__PURE__ */ jsx(
|
|
150
|
+
"button",
|
|
151
|
+
{
|
|
152
|
+
className: "px-3 py-1.5 text-sm rounded-md bg-primary text-primary-foreground hover:bg-primary/90 disabled:opacity-50 disabled:pointer-events-none transition-colors",
|
|
153
|
+
disabled: !canSubmit,
|
|
154
|
+
onClick: onSubmit,
|
|
155
|
+
type: "button",
|
|
156
|
+
children: "Check Answer"
|
|
157
|
+
}
|
|
158
|
+
) });
|
|
159
|
+
}
|
|
160
|
+
function Quiz({
|
|
161
|
+
as: Heading = "h4",
|
|
162
|
+
className,
|
|
163
|
+
explanation,
|
|
164
|
+
hint,
|
|
165
|
+
onAnswer,
|
|
166
|
+
options,
|
|
167
|
+
question
|
|
168
|
+
}) {
|
|
169
|
+
const [selectedIndex, setSelectedIndex] = useState(null);
|
|
170
|
+
const [showHint, setShowHint] = useState(false);
|
|
171
|
+
const [submitted, setSubmitted] = useState(false);
|
|
172
|
+
const handleReset = () => {
|
|
173
|
+
setSelectedIndex(null);
|
|
174
|
+
setSubmitted(false);
|
|
175
|
+
setShowHint(false);
|
|
176
|
+
};
|
|
177
|
+
const handleSubmit = () => {
|
|
178
|
+
setSubmitted(true);
|
|
179
|
+
const isCorrect2 = selectedIndex !== null && options[selectedIndex]?.correct;
|
|
180
|
+
onAnswer?.(Boolean(isCorrect2));
|
|
181
|
+
};
|
|
182
|
+
const isCorrect = selectedIndex !== null && options[selectedIndex]?.correct;
|
|
183
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("my-6 rounded-lg border bg-card p-6", className), children: [
|
|
184
|
+
/* @__PURE__ */ jsx(QuizHeader, { Heading, question }),
|
|
185
|
+
/* @__PURE__ */ jsx("div", { className: "space-y-2 mb-4", children: options.map((opt, index) => /* @__PURE__ */ jsx(
|
|
186
|
+
QuizOptionButton,
|
|
187
|
+
{
|
|
188
|
+
index,
|
|
189
|
+
onSelect: (index_) => {
|
|
190
|
+
if (!submitted) setSelectedIndex(index_);
|
|
191
|
+
},
|
|
192
|
+
option: opt,
|
|
193
|
+
selectedIndex,
|
|
194
|
+
submitted
|
|
195
|
+
},
|
|
196
|
+
`quiz-option-${index}-${opt.label}`
|
|
197
|
+
)) }),
|
|
198
|
+
hint && !submitted ? /* @__PURE__ */ jsx(
|
|
199
|
+
QuizHint,
|
|
200
|
+
{
|
|
201
|
+
hint,
|
|
202
|
+
onShow: () => {
|
|
203
|
+
setShowHint(true);
|
|
204
|
+
},
|
|
205
|
+
showHint
|
|
206
|
+
}
|
|
207
|
+
) : null,
|
|
208
|
+
submitted && explanation ? /* @__PURE__ */ jsx(QuizResult, { explanation, isCorrect: Boolean(isCorrect) }) : null,
|
|
209
|
+
/* @__PURE__ */ jsx(
|
|
210
|
+
QuizActions,
|
|
211
|
+
{
|
|
212
|
+
canSubmit: selectedIndex !== null,
|
|
213
|
+
onReset: handleReset,
|
|
214
|
+
onSubmit: handleSubmit,
|
|
215
|
+
submitted
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
] });
|
|
219
|
+
}
|
|
220
|
+
export {
|
|
221
|
+
Quiz
|
|
222
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import * as RadioGroupPrimitive from "@radix-ui/react-radio-group";
|
|
4
|
+
import { Circle } from "lucide-react";
|
|
5
|
+
import { cn } from "../../../lib/utils.js";
|
|
6
|
+
const RadioGroup = ({
|
|
7
|
+
className,
|
|
8
|
+
ref,
|
|
9
|
+
...props
|
|
10
|
+
}) => {
|
|
11
|
+
return /* @__PURE__ */ jsx(
|
|
12
|
+
RadioGroupPrimitive.Root,
|
|
13
|
+
{
|
|
14
|
+
className: cn("grid gap-2", className),
|
|
15
|
+
...props,
|
|
16
|
+
ref
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
};
|
|
20
|
+
RadioGroup.displayName = RadioGroupPrimitive.Root.displayName;
|
|
21
|
+
const RadioGroupItem = ({
|
|
22
|
+
className,
|
|
23
|
+
ref,
|
|
24
|
+
...props
|
|
25
|
+
}) => {
|
|
26
|
+
return /* @__PURE__ */ jsx(
|
|
27
|
+
RadioGroupPrimitive.Item,
|
|
28
|
+
{
|
|
29
|
+
className: cn(
|
|
30
|
+
"aspect-square size-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",
|
|
31
|
+
className
|
|
32
|
+
),
|
|
33
|
+
ref,
|
|
34
|
+
...props,
|
|
35
|
+
children: /* @__PURE__ */ jsx(RadioGroupPrimitive.Indicator, { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx(Circle, { className: "size-2.5 fill-current text-current" }) })
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
};
|
|
39
|
+
RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;
|
|
40
|
+
export {
|
|
41
|
+
RadioGroup,
|
|
42
|
+
RadioGroupItem
|
|
43
|
+
};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useMemo, useState } from "react";
|
|
4
|
+
import { Star } from "lucide-react";
|
|
5
|
+
import { moveRovingFocus } from "../../../lib/roving-focus.js";
|
|
6
|
+
import { cn } from "../../../lib/utils.js";
|
|
7
|
+
const sizeClasses = {
|
|
8
|
+
lg: "size-6",
|
|
9
|
+
md: "size-5",
|
|
10
|
+
sm: "size-4"
|
|
11
|
+
};
|
|
12
|
+
function handleRadioKeyDown(event) {
|
|
13
|
+
moveRovingFocus(event, '[role="radio"]', {
|
|
14
|
+
activate: true,
|
|
15
|
+
orientation: "both"
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function RatingStars({
|
|
19
|
+
activeValue,
|
|
20
|
+
hoveredValue,
|
|
21
|
+
label,
|
|
22
|
+
max,
|
|
23
|
+
onHoverChange,
|
|
24
|
+
onSelect,
|
|
25
|
+
readOnly,
|
|
26
|
+
size
|
|
27
|
+
}) {
|
|
28
|
+
const stars = useMemo(
|
|
29
|
+
() => Array.from({ length: max }, (_, index) => index + 1),
|
|
30
|
+
[max]
|
|
31
|
+
);
|
|
32
|
+
const displayValue = hoveredValue || activeValue;
|
|
33
|
+
const tabStopValue = activeValue >= 1 && activeValue <= max ? activeValue : 1;
|
|
34
|
+
return /* @__PURE__ */ jsx(
|
|
35
|
+
"div",
|
|
36
|
+
{
|
|
37
|
+
"aria-label": label,
|
|
38
|
+
className: "inline-flex items-center gap-1",
|
|
39
|
+
onKeyDown: handleRadioKeyDown,
|
|
40
|
+
role: "radiogroup",
|
|
41
|
+
tabIndex: -1,
|
|
42
|
+
children: stars.map((starValue) => {
|
|
43
|
+
const isFilled = starValue <= displayValue;
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
"button",
|
|
46
|
+
{
|
|
47
|
+
"aria-checked": activeValue === starValue,
|
|
48
|
+
"aria-label": `${starValue} ${starValue === 1 ? "star" : "stars"}`,
|
|
49
|
+
className: cn(
|
|
50
|
+
"rounded-sm text-muted-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
51
|
+
!readOnly && "hover:text-amber-600 dark:hover:text-amber-500",
|
|
52
|
+
isFilled && "text-amber-600 dark:text-amber-500"
|
|
53
|
+
),
|
|
54
|
+
disabled: readOnly,
|
|
55
|
+
onBlur: () => {
|
|
56
|
+
onHoverChange(0);
|
|
57
|
+
},
|
|
58
|
+
onClick: () => {
|
|
59
|
+
onSelect(starValue);
|
|
60
|
+
},
|
|
61
|
+
onMouseEnter: () => {
|
|
62
|
+
if (!readOnly) {
|
|
63
|
+
onHoverChange(starValue);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
onMouseLeave: () => {
|
|
67
|
+
onHoverChange(0);
|
|
68
|
+
},
|
|
69
|
+
role: "radio",
|
|
70
|
+
tabIndex: starValue === tabStopValue ? 0 : -1,
|
|
71
|
+
type: "button",
|
|
72
|
+
children: /* @__PURE__ */ jsx(
|
|
73
|
+
Star,
|
|
74
|
+
{
|
|
75
|
+
className: cn(sizeClasses[size], isFilled && "fill-current"),
|
|
76
|
+
strokeWidth: 1.75
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
},
|
|
80
|
+
starValue
|
|
81
|
+
);
|
|
82
|
+
})
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
function Rating({
|
|
87
|
+
allowClear = false,
|
|
88
|
+
className,
|
|
89
|
+
defaultValue = 0,
|
|
90
|
+
label = "Rating",
|
|
91
|
+
max = 5,
|
|
92
|
+
onValueChange,
|
|
93
|
+
readOnly = false,
|
|
94
|
+
showValue = false,
|
|
95
|
+
size = "md",
|
|
96
|
+
value
|
|
97
|
+
}) {
|
|
98
|
+
const isControlled = value !== void 0;
|
|
99
|
+
const [internalValue, setInternalValue] = useState(defaultValue);
|
|
100
|
+
const [hoveredValue, setHoveredValue] = useState(0);
|
|
101
|
+
const activeValue = isControlled ? value ?? 0 : internalValue;
|
|
102
|
+
const handleSelect = (nextValue) => {
|
|
103
|
+
const resolvedValue = allowClear && activeValue === nextValue ? 0 : nextValue;
|
|
104
|
+
if (!isControlled) {
|
|
105
|
+
setInternalValue(resolvedValue);
|
|
106
|
+
}
|
|
107
|
+
onValueChange?.(resolvedValue);
|
|
108
|
+
};
|
|
109
|
+
return /* @__PURE__ */ jsx("div", { className: cn("inline-flex flex-col gap-2", className), children: /* @__PURE__ */ jsxs("div", { className: "inline-flex items-center gap-3", children: [
|
|
110
|
+
/* @__PURE__ */ jsx(
|
|
111
|
+
RatingStars,
|
|
112
|
+
{
|
|
113
|
+
activeValue,
|
|
114
|
+
hoveredValue,
|
|
115
|
+
label,
|
|
116
|
+
max,
|
|
117
|
+
onHoverChange: setHoveredValue,
|
|
118
|
+
onSelect: handleSelect,
|
|
119
|
+
readOnly,
|
|
120
|
+
size
|
|
121
|
+
}
|
|
122
|
+
),
|
|
123
|
+
showValue ? /* @__PURE__ */ jsxs("span", { className: "text-sm text-muted-foreground", children: [
|
|
124
|
+
activeValue,
|
|
125
|
+
"/",
|
|
126
|
+
max
|
|
127
|
+
] }) : null
|
|
128
|
+
] }) });
|
|
129
|
+
}
|
|
130
|
+
export {
|
|
131
|
+
Rating
|
|
132
|
+
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { useCallback, useEffect, useId, useState } from "react";
|
|
4
|
+
import { Brain, ChevronDown } from "lucide-react";
|
|
5
|
+
import { cn } from "../../../lib/utils.js";
|
|
6
|
+
function ReasoningTrigger({
|
|
7
|
+
contentId,
|
|
8
|
+
duration,
|
|
9
|
+
isOpen,
|
|
10
|
+
isStreaming,
|
|
11
|
+
onToggle
|
|
12
|
+
}) {
|
|
13
|
+
return /* @__PURE__ */ jsxs(
|
|
14
|
+
"button",
|
|
15
|
+
{
|
|
16
|
+
"aria-controls": contentId,
|
|
17
|
+
"aria-expanded": isOpen,
|
|
18
|
+
className: "flex w-full items-center gap-2 px-3 py-2 text-sm text-muted-foreground transition-colors hover:text-foreground",
|
|
19
|
+
onClick: onToggle,
|
|
20
|
+
type: "button",
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ jsx(Brain, { className: "size-4 shrink-0" }),
|
|
23
|
+
/* @__PURE__ */ jsxs("span", { className: "font-medium", children: [
|
|
24
|
+
isStreaming ? "Reasoning" : "Reasoned",
|
|
25
|
+
typeof duration === "number" ? ` for ${duration}s` : null
|
|
26
|
+
] }),
|
|
27
|
+
isStreaming ? /* @__PURE__ */ jsx("span", { className: "animate-pulse motion-reduce:animate-none", children: "\u2026" }) : null,
|
|
28
|
+
/* @__PURE__ */ jsx(
|
|
29
|
+
ChevronDown,
|
|
30
|
+
{
|
|
31
|
+
className: cn(
|
|
32
|
+
"ml-auto size-4 shrink-0 transition-transform",
|
|
33
|
+
isOpen ? "rotate-180" : "rotate-0"
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
)
|
|
37
|
+
]
|
|
38
|
+
}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
function ReasoningContent({
|
|
42
|
+
children,
|
|
43
|
+
contentId,
|
|
44
|
+
isStreaming,
|
|
45
|
+
steps
|
|
46
|
+
}) {
|
|
47
|
+
const hasSteps = steps !== void 0 && steps.length > 0;
|
|
48
|
+
return /* @__PURE__ */ jsxs(
|
|
49
|
+
"div",
|
|
50
|
+
{
|
|
51
|
+
className: "border-t border-border px-3 py-2 text-sm text-muted-foreground",
|
|
52
|
+
id: contentId,
|
|
53
|
+
children: [
|
|
54
|
+
hasSteps ? /* @__PURE__ */ jsx("ol", { className: "list-decimal space-y-1 pl-4", children: steps.map((step, index) => /* @__PURE__ */ jsx(
|
|
55
|
+
"li",
|
|
56
|
+
{
|
|
57
|
+
className: "whitespace-pre-wrap",
|
|
58
|
+
children: step
|
|
59
|
+
},
|
|
60
|
+
`${index}-${step.slice(0, 12)}`
|
|
61
|
+
)) }) : /* @__PURE__ */ jsx("div", { className: "whitespace-pre-wrap", children }),
|
|
62
|
+
isStreaming ? /* @__PURE__ */ jsx(
|
|
63
|
+
"span",
|
|
64
|
+
{
|
|
65
|
+
"aria-hidden": true,
|
|
66
|
+
className: "ml-0.5 animate-pulse motion-reduce:animate-none",
|
|
67
|
+
children: "\u258B"
|
|
68
|
+
}
|
|
69
|
+
) : null
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
const Reasoning = ({
|
|
75
|
+
children,
|
|
76
|
+
className,
|
|
77
|
+
duration,
|
|
78
|
+
isStreaming = false,
|
|
79
|
+
onOpenChange,
|
|
80
|
+
ref,
|
|
81
|
+
steps
|
|
82
|
+
}) => {
|
|
83
|
+
const [isOpen, setIsOpen] = useState(isStreaming);
|
|
84
|
+
const contentId = useId();
|
|
85
|
+
useEffect(() => {
|
|
86
|
+
if (!isStreaming) return;
|
|
87
|
+
const frame = requestAnimationFrame(() => {
|
|
88
|
+
setIsOpen(true);
|
|
89
|
+
});
|
|
90
|
+
return () => {
|
|
91
|
+
cancelAnimationFrame(frame);
|
|
92
|
+
};
|
|
93
|
+
}, [isStreaming]);
|
|
94
|
+
const handleToggle = useCallback(() => {
|
|
95
|
+
setIsOpen((previous) => {
|
|
96
|
+
const next = !previous;
|
|
97
|
+
onOpenChange?.(next);
|
|
98
|
+
return next;
|
|
99
|
+
});
|
|
100
|
+
}, [onOpenChange]);
|
|
101
|
+
return /* @__PURE__ */ jsxs(
|
|
102
|
+
"div",
|
|
103
|
+
{
|
|
104
|
+
className: cn("rounded-lg border border-border bg-muted/30", className),
|
|
105
|
+
ref,
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
ReasoningTrigger,
|
|
109
|
+
{
|
|
110
|
+
contentId,
|
|
111
|
+
duration,
|
|
112
|
+
isOpen,
|
|
113
|
+
isStreaming,
|
|
114
|
+
onToggle: handleToggle
|
|
115
|
+
}
|
|
116
|
+
),
|
|
117
|
+
isOpen ? /* @__PURE__ */ jsx(
|
|
118
|
+
ReasoningContent,
|
|
119
|
+
{
|
|
120
|
+
contentId,
|
|
121
|
+
isStreaming,
|
|
122
|
+
steps,
|
|
123
|
+
children
|
|
124
|
+
}
|
|
125
|
+
) : null
|
|
126
|
+
]
|
|
127
|
+
}
|
|
128
|
+
);
|
|
129
|
+
};
|
|
130
|
+
Reasoning.displayName = "Reasoning";
|
|
131
|
+
export {
|
|
132
|
+
Reasoning
|
|
133
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { cn } from "../../../lib/utils.js";
|
|
4
|
+
const DEFAULT_LABELS = {
|
|
5
|
+
empty: "No relationships",
|
|
6
|
+
inbound: "Inbound",
|
|
7
|
+
outbound: "Outbound",
|
|
8
|
+
region: "Relationship inspector"
|
|
9
|
+
};
|
|
10
|
+
const ARROW_GLYPH = {
|
|
11
|
+
inbound: "\u2190",
|
|
12
|
+
outbound: "\u2192"
|
|
13
|
+
};
|
|
14
|
+
const RowBody = (props) => {
|
|
15
|
+
const { edge } = props;
|
|
16
|
+
return /* @__PURE__ */ jsxs("span", { className: "flex flex-1 items-center gap-2", children: [
|
|
17
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": "true", className: "text-muted-foreground", children: ARROW_GLYPH[edge.direction] }),
|
|
18
|
+
/* @__PURE__ */ jsxs("span", { className: "flex flex-1 flex-col text-left", children: [
|
|
19
|
+
/* @__PURE__ */ jsx("span", { className: "truncate text-xs text-foreground", children: edge.target }),
|
|
20
|
+
edge.targetSublabel ? /* @__PURE__ */ jsx("span", { className: "truncate text-[10px] text-muted-foreground", children: edge.targetSublabel }) : null
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ jsx("span", { className: "rounded-full border border-border bg-background px-1.5 py-0.5 text-[10px] uppercase tracking-wide text-muted-foreground", children: edge.relation })
|
|
23
|
+
] });
|
|
24
|
+
};
|
|
25
|
+
const Row = (props) => {
|
|
26
|
+
const { edge } = props;
|
|
27
|
+
if (edge.onActivate) {
|
|
28
|
+
const handleActivateRelationship = () => {
|
|
29
|
+
edge.onActivate?.();
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
"button",
|
|
33
|
+
{
|
|
34
|
+
className: "flex w-full items-center gap-2 rounded-md border border-transparent px-2 py-1.5 text-left transition-colors hover:border-border hover:bg-muted/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
35
|
+
"data-relationship-direction": edge.direction,
|
|
36
|
+
"data-relationship-row": true,
|
|
37
|
+
onClick: handleActivateRelationship,
|
|
38
|
+
type: "button",
|
|
39
|
+
children: /* @__PURE__ */ jsx(RowBody, { edge })
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
return /* @__PURE__ */ jsx(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: "flex w-full items-center gap-2 rounded-md px-2 py-1.5",
|
|
47
|
+
"data-relationship-direction": edge.direction,
|
|
48
|
+
"data-relationship-row": true,
|
|
49
|
+
children: /* @__PURE__ */ jsx(RowBody, { edge })
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
};
|
|
53
|
+
const Group = (props) => {
|
|
54
|
+
const { edges, heading } = props;
|
|
55
|
+
if (edges.length === 0) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return /* @__PURE__ */ jsxs("div", { className: "space-y-1", "data-relationship-group": heading.toLowerCase(), children: [
|
|
59
|
+
/* @__PURE__ */ jsx("h4", { className: "px-2 text-[10px] font-medium uppercase tracking-wide text-muted-foreground", children: heading }),
|
|
60
|
+
/* @__PURE__ */ jsx("ul", { className: "space-y-0.5", children: edges.map((edge) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Row, { edge }) }, edge.id)) })
|
|
61
|
+
] });
|
|
62
|
+
};
|
|
63
|
+
const RelationshipInspector = ({
|
|
64
|
+
ref,
|
|
65
|
+
...props
|
|
66
|
+
}) => {
|
|
67
|
+
const { className, edges, labels, title = "Relationships", ...rest } = props;
|
|
68
|
+
const resolvedLabels = { ...DEFAULT_LABELS, ...labels };
|
|
69
|
+
const inbound = edges.filter((edge) => edge.direction === "inbound");
|
|
70
|
+
const outbound = edges.filter((edge) => edge.direction === "outbound");
|
|
71
|
+
return /* @__PURE__ */ jsxs(
|
|
72
|
+
"section",
|
|
73
|
+
{
|
|
74
|
+
"aria-label": resolvedLabels.region,
|
|
75
|
+
className: cn(
|
|
76
|
+
"flex w-full flex-col gap-2 rounded-lg border bg-background p-3 text-foreground",
|
|
77
|
+
className
|
|
78
|
+
),
|
|
79
|
+
"data-relationship-inspector": true,
|
|
80
|
+
ref,
|
|
81
|
+
...rest,
|
|
82
|
+
children: [
|
|
83
|
+
/* @__PURE__ */ jsx("header", { children: /* @__PURE__ */ jsx("h3", { className: "text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: title }) }),
|
|
84
|
+
edges.length === 0 ? /* @__PURE__ */ jsx(
|
|
85
|
+
"p",
|
|
86
|
+
{
|
|
87
|
+
className: "px-2 py-3 text-center text-xs text-muted-foreground",
|
|
88
|
+
"data-relationship-state": "empty",
|
|
89
|
+
children: resolvedLabels.empty
|
|
90
|
+
}
|
|
91
|
+
) : /* @__PURE__ */ jsxs("div", { className: "space-y-2", children: [
|
|
92
|
+
/* @__PURE__ */ jsx(Group, { edges: inbound, heading: resolvedLabels.inbound }),
|
|
93
|
+
/* @__PURE__ */ jsx(Group, { edges: outbound, heading: resolvedLabels.outbound })
|
|
94
|
+
] })
|
|
95
|
+
]
|
|
96
|
+
}
|
|
97
|
+
);
|
|
98
|
+
};
|
|
99
|
+
RelationshipInspector.displayName = "RelationshipInspector";
|
|
100
|
+
export {
|
|
101
|
+
RelationshipInspector
|
|
102
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { GripVertical } from "lucide-react";
|
|
4
|
+
import { Group, Panel, Separator } from "react-resizable-panels";
|
|
5
|
+
import { cn } from "../../../lib/utils.js";
|
|
6
|
+
const ResizablePanelGroup = ({
|
|
7
|
+
className,
|
|
8
|
+
...props
|
|
9
|
+
}) => /* @__PURE__ */ jsx(
|
|
10
|
+
Group,
|
|
11
|
+
{
|
|
12
|
+
className: cn(
|
|
13
|
+
"flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
|
|
14
|
+
className
|
|
15
|
+
),
|
|
16
|
+
...props
|
|
17
|
+
}
|
|
18
|
+
);
|
|
19
|
+
const ResizablePanel = Panel;
|
|
20
|
+
const ResizableHandle = ({
|
|
21
|
+
className,
|
|
22
|
+
withHandle,
|
|
23
|
+
...props
|
|
24
|
+
}) => /* @__PURE__ */ jsx(
|
|
25
|
+
Separator,
|
|
26
|
+
{
|
|
27
|
+
className: cn(
|
|
28
|
+
"relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
...props,
|
|
32
|
+
children: withHandle ? /* @__PURE__ */ jsx("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border", children: /* @__PURE__ */ jsx(GripVertical, { className: "size-2.5" }) }) : null
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
export {
|
|
36
|
+
ResizableHandle,
|
|
37
|
+
ResizablePanel,
|
|
38
|
+
ResizablePanelGroup
|
|
39
|
+
};
|