@catalystsoftware/ui 1.0.11 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +309 -0
- package/dist/components/catalyst-ui/background/animated-beam.tsx +189 -0
- package/dist/components/catalyst-ui/background/background-gradient.tsx +77 -0
- package/dist/components/catalyst-ui/background/background-paths.tsx +132 -0
- package/dist/components/catalyst-ui/background/canvas-fractal-grid.tsx +1862 -0
- package/dist/components/catalyst-ui/background/distorted-glass.tsx +0 -0
- package/dist/components/catalyst-ui/background/dot-pattern.tsx +169 -0
- package/dist/components/catalyst-ui/background/dotted-glow-background.tsx +342 -0
- package/dist/components/catalyst-ui/background/dotted-map.tsx +193 -0
- package/dist/components/catalyst-ui/background/dynamic-rain.tsx +216 -0
- package/dist/components/catalyst-ui/background/flickering-grid.tsx +211 -0
- package/dist/components/catalyst-ui/background/fractal-grid.tsx +666 -0
- package/dist/components/catalyst-ui/background/hexagon-background.tsx +102 -0
- package/dist/components/catalyst-ui/background/index.ts +25 -0
- package/dist/components/catalyst-ui/background/interactive-grid-pattern.tsx +90 -0
- package/dist/components/catalyst-ui/background/lamp.tsx +105 -0
- package/dist/components/catalyst-ui/background/orbiting-circles.tsx +76 -0
- package/dist/components/catalyst-ui/background/particles.tsx +286 -0
- package/dist/components/catalyst-ui/background/progressive-blur.tsx +113 -0
- package/dist/components/catalyst-ui/background/retro-grid-background.tsx +104 -0
- package/dist/components/catalyst-ui/background/smoke.tsx +117 -0
- package/dist/components/catalyst-ui/background/sparkles.tsx +435 -0
- package/dist/components/catalyst-ui/background/stripe-bg-guides.tsx +260 -0
- package/dist/components/catalyst-ui/background/texture-overlay.tsx +207 -0
- package/dist/components/catalyst-ui/background/vortex.tsx +257 -0
- package/dist/components/catalyst-ui/buttons/animated-theme-toggler.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/attract-button.tsx +167 -0
- package/dist/components/catalyst-ui/buttons/bg-animate-button.tsx +249 -0
- package/dist/components/catalyst-ui/buttons/button-group.tsx +203 -0
- package/dist/components/catalyst-ui/buttons/command-button.tsx +109 -0
- package/dist/components/catalyst-ui/buttons/copy-button.tsx +117 -0
- package/dist/components/catalyst-ui/buttons/copy-text.tsx +347 -0
- package/dist/components/catalyst-ui/buttons/export-file.tsx +262 -0
- package/dist/components/catalyst-ui/buttons/flip-button.tsx +106 -0
- package/dist/components/catalyst-ui/buttons/float-button.tsx +197 -0
- package/dist/components/catalyst-ui/buttons/form-button.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/hold-button.tsx +208 -0
- package/dist/components/catalyst-ui/buttons/index.ts +35 -0
- package/dist/components/catalyst-ui/buttons/input-button.tsx +192 -0
- package/dist/components/catalyst-ui/buttons/liquid-button.tsx +53 -0
- package/dist/components/catalyst-ui/buttons/particle-button.tsx +193 -0
- package/dist/components/catalyst-ui/buttons/rating-button-1.tsx +243 -0
- package/dist/components/catalyst-ui/buttons/rating-button.tsx +226 -0
- package/dist/components/catalyst-ui/buttons/ripple-button.tsx +146 -0
- package/dist/components/catalyst-ui/buttons/scroll-to-top.tsx +47 -0
- package/dist/components/catalyst-ui/buttons/shimmer-button.tsx +84 -0
- package/dist/components/catalyst-ui/buttons/slide-button.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/social-button.tsx +194 -0
- package/dist/components/catalyst-ui/buttons/split-button.tsx +121 -0
- package/dist/components/catalyst-ui/buttons/switch-button.tsx +316 -0
- package/dist/components/catalyst-ui/buttons/text-reveal-button.tsx +65 -0
- package/dist/components/catalyst-ui/buttons/theme-switcher.tsx +102 -0
- package/dist/components/catalyst-ui/buttons/theme-toggle-button.tsx +312 -0
- package/dist/components/catalyst-ui/buttons/toggle-button.tsx +125 -0
- package/dist/components/catalyst-ui/buttons/tooltip-button.tsx +24 -0
- package/dist/components/catalyst-ui/charts/area-chart.tsx +989 -0
- package/dist/components/catalyst-ui/charts/bar-chart.tsx +887 -0
- package/dist/components/catalyst-ui/charts/bar-list.tsx +171 -0
- package/dist/components/catalyst-ui/charts/category-bar.tsx +221 -0
- package/dist/components/catalyst-ui/charts/chart-utils.ts +168 -0
- package/dist/components/catalyst-ui/charts/combo-chart.tsx +1179 -0
- package/dist/components/catalyst-ui/charts/donut-chart.tsx +337 -0
- package/dist/components/catalyst-ui/charts/index.ts +14 -0
- package/dist/components/catalyst-ui/charts/line-chart.tsx +907 -0
- package/dist/components/catalyst-ui/charts/spark-chart.tsx +328 -0
- package/dist/components/catalyst-ui/chat/chat.tsx +491 -0
- package/dist/components/catalyst-ui/code/code-block-section.tsx +939 -0
- package/dist/components/catalyst-ui/code/code-comparison.tsx +221 -0
- package/dist/components/catalyst-ui/code/code-comparison1.tsx +203 -0
- package/dist/components/catalyst-ui/code/code-editor.tsx +318 -0
- package/dist/components/catalyst-ui/code/code-section.tsx +62 -0
- package/dist/components/catalyst-ui/code/css-section.tsx +142 -0
- package/dist/components/catalyst-ui/code/html-section.tsx +102 -0
- package/dist/components/catalyst-ui/code/index.ts +22 -0
- package/dist/components/catalyst-ui/code/installCode-section.tsx +181 -0
- package/dist/components/catalyst-ui/code/installCodeArray-section.tsx +186 -0
- package/dist/components/catalyst-ui/code/installGithub-section.tsx +119 -0
- package/dist/components/catalyst-ui/code/json-section.tsx +253 -0
- package/dist/components/catalyst-ui/code/props-section.tsx +605 -0
- package/dist/components/catalyst-ui/code/sandbox.tsx +398 -0
- package/dist/components/catalyst-ui/code/sandbox2.tsx +3194 -0
- package/dist/components/catalyst-ui/code/terminal-1.tsx +119 -0
- package/dist/components/catalyst-ui/code/terminal-code-section.tsx +395 -0
- package/dist/components/catalyst-ui/code/terminal.tsx +315 -0
- package/dist/components/catalyst-ui/code/tsx-section.tsx +176 -0
- package/dist/components/catalyst-ui/comboboxes/choicebox.tsx +203 -0
- package/dist/components/catalyst-ui/comboboxes/combobox-0.tsx +556 -0
- package/dist/components/catalyst-ui/comboboxes/combobox-1.tsx +146 -0
- package/dist/components/catalyst-ui/comboboxes/combobox2.tsx +255 -0
- package/dist/components/catalyst-ui/comboboxes/emoji-picker.tsx +486 -0
- package/dist/components/catalyst-ui/comboboxes/filter-combobox.tsx +46 -0
- package/dist/components/catalyst-ui/comboboxes/index.ts +9 -0
- package/dist/components/catalyst-ui/comboboxes/multi-combobox.tsx +169 -0
- package/dist/components/catalyst-ui/comboboxes/nested-combobox.tsx +211 -0
- package/dist/components/catalyst-ui/commands/command-2.tsx +126 -0
- package/dist/components/catalyst-ui/commands/command-w-combobox.tsx +108 -0
- package/dist/components/catalyst-ui/commands/index.ts +6 -0
- package/dist/components/catalyst-ui/commands/nested-command-dialog.tsx +429 -0
- package/dist/components/catalyst-ui/commands/nested-command.tsx +133 -0
- package/dist/components/catalyst-ui/core/components/3d-card.tsx +144 -0
- package/dist/components/catalyst-ui/core/components/3d-card1.tsx +196 -0
- package/dist/components/catalyst-ui/core/components/android.tsx +105 -0
- package/dist/components/catalyst-ui/core/components/apple-cards-carousel.tsx +376 -0
- package/dist/components/catalyst-ui/core/components/apple-dock.tsx +280 -0
- package/dist/components/catalyst-ui/core/components/badge-1.tsx +117 -0
- package/dist/components/catalyst-ui/core/components/card-flip.tsx +204 -0
- package/dist/components/catalyst-ui/core/components/card-stack.tsx +224 -0
- package/dist/components/catalyst-ui/core/components/chat-bubble.tsx +198 -0
- package/dist/components/catalyst-ui/core/components/collapsible-section.tsx +92 -0
- package/dist/components/catalyst-ui/core/components/comment.tsx +812 -0
- package/dist/components/catalyst-ui/core/components/counter.tsx +77 -0
- package/dist/components/catalyst-ui/core/components/credit-card.tsx +406 -0
- package/dist/components/catalyst-ui/core/components/device-mockup.tsx +436 -0
- package/dist/components/catalyst-ui/core/components/embed.tsx +0 -0
- package/dist/components/catalyst-ui/core/components/faq.tsx +166 -0
- package/dist/components/catalyst-ui/core/components/feed.tsx +741 -0
- package/dist/components/catalyst-ui/core/components/fixed-marker.tsx +232 -0
- package/dist/components/catalyst-ui/core/components/for.tsx +138 -0
- package/dist/components/catalyst-ui/core/components/glowing-effect-card.tsx +273 -0
- package/dist/components/catalyst-ui/core/components/iframe.tsx +175 -0
- package/dist/components/catalyst-ui/core/components/in-place.tsx +285 -0
- package/dist/components/catalyst-ui/core/components/iphone-15-pro.tsx +129 -0
- package/dist/components/catalyst-ui/core/components/macbook-scroll.tsx +702 -0
- package/dist/components/catalyst-ui/core/components/magic-card.tsx +102 -0
- package/dist/components/catalyst-ui/core/components/message-dock.tsx +61 -0
- package/dist/components/catalyst-ui/core/components/meter.tsx +123 -0
- package/dist/components/catalyst-ui/core/components/number-ticker.tsx +67 -0
- package/dist/components/catalyst-ui/core/components/panel.tsx +286 -0
- package/dist/components/catalyst-ui/core/components/pill-1.tsx +166 -0
- package/dist/components/catalyst-ui/core/components/qrcode.tsx +1153 -0
- package/dist/components/catalyst-ui/core/components/safari-device.tsx +197 -0
- package/dist/components/catalyst-ui/core/components/sliding-number.tsx +235 -0
- package/dist/components/catalyst-ui/core/components/spoiler.tsx +161 -0
- package/dist/components/catalyst-ui/core/components/stat.tsx +572 -0
- package/dist/components/catalyst-ui/core/components/sticky.tsx +214 -0
- package/dist/components/catalyst-ui/core/components/tag.tsx +551 -0
- package/dist/components/catalyst-ui/core/components/tweet-card-1.tsx +164 -0
- package/dist/components/catalyst-ui/core/components/tweet-card.tsx +229 -0
- package/dist/components/catalyst-ui/core/data-display/barcode.tsx +1007 -0
- package/dist/components/catalyst-ui/core/data-display/data-list.tsx +344 -0
- package/dist/components/catalyst-ui/core/data-display/descriptionLists.tsx +205 -0
- package/dist/components/catalyst-ui/core/data-display/diff.tsx +186 -0
- package/dist/components/catalyst-ui/core/data-display/heat-map-calendar.tsx +361 -0
- package/dist/components/catalyst-ui/core/data-display/order-list.tsx +0 -0
- package/dist/components/catalyst-ui/core/data-display/stats-1.tsx +129 -0
- package/dist/components/catalyst-ui/core/data-display/stats.tsx +139 -0
- package/dist/components/catalyst-ui/core/data-display/ticker.tsx +179 -0
- package/dist/components/catalyst-ui/core/data-display/timeline-1.tsx +452 -0
- package/dist/components/catalyst-ui/core/data-display/timeline2.tsx +240 -0
- package/dist/components/catalyst-ui/core/data-display/tracker.tsx +209 -0
- package/dist/components/catalyst-ui/core/data-display/transfer-list.tsx +278 -0
- package/dist/components/catalyst-ui/core/data-display/tremor-tracker.tsx +103 -0
- package/dist/components/catalyst-ui/core/demos/FAQ-demo.tsx +41 -0
- package/dist/components/catalyst-ui/core/demos/action-panels-demo.tsx +64 -0
- package/dist/components/catalyst-ui/core/demos/banner-demo.tsx +100 -0
- package/dist/components/catalyst-ui/core/demos/bentoGrid-demo.tsx +191 -0
- package/dist/components/catalyst-ui/core/demos/blog-demo.tsx +68 -0
- package/dist/components/catalyst-ui/core/demos/blogEditor-demo.tsx +10 -0
- package/dist/components/catalyst-ui/core/demos/blogPost-demo.tsx +41 -0
- package/dist/components/catalyst-ui/core/demos/button-groups-demo.tsx +111 -0
- package/dist/components/catalyst-ui/core/demos/cardHeadings-demo.tsx +65 -0
- package/dist/components/catalyst-ui/core/demos/catch-all.tsx +414 -0
- package/dist/components/catalyst-ui/core/demos/contact-demo.tsx +87 -0
- package/dist/components/catalyst-ui/core/demos/content-demo.tsx +52 -0
- package/dist/components/catalyst-ui/core/demos/cta-demo.tsx +64 -0
- package/dist/components/catalyst-ui/core/demos/descriptionLists-demo.tsx +109 -0
- package/dist/components/catalyst-ui/core/demos/edit-product-page-demo.tsx +11 -0
- package/dist/components/catalyst-ui/core/demos/empty-state-demo.tsx +37 -0
- package/dist/components/catalyst-ui/core/demos/feature-demo.tsx +104 -0
- package/dist/components/catalyst-ui/core/demos/feeds-demo.tsx +26 -0
- package/dist/components/catalyst-ui/core/demos/flyoutMenu-demo.tsx +156 -0
- package/dist/components/catalyst-ui/core/demos/footer-demo.tsx +62 -0
- package/dist/components/catalyst-ui/core/demos/form-layouts-demo.tsx +378 -0
- package/dist/components/catalyst-ui/core/demos/gridLists-demo.tsx +47 -0
- package/dist/components/catalyst-ui/core/demos/header-demo.tsx +0 -0
- package/dist/components/catalyst-ui/core/demos/header2-demo.tsx +77 -0
- package/dist/components/catalyst-ui/core/demos/headers-demo.tsx +659 -0
- package/dist/components/catalyst-ui/core/demos/hero-demo.tsx +75 -0
- package/dist/components/catalyst-ui/core/demos/input-groups-demo.tsx +75 -0
- package/dist/components/catalyst-ui/core/demos/landingPage-demo.tsx +222 -0
- package/dist/components/catalyst-ui/core/demos/list-demo.tsx +442 -0
- package/dist/components/catalyst-ui/core/demos/logoClouds-demo.tsx +36 -0
- package/dist/components/catalyst-ui/core/demos/mediaObject-demo.tsx +219 -0
- package/dist/components/catalyst-ui/core/demos/multiColumnLayouts-demo.tsx +42 -0
- package/dist/components/catalyst-ui/core/demos/newsLetter-demo.tsx +51 -0
- package/dist/components/catalyst-ui/core/demos/pageHeading-demo.tsx +55 -0
- package/dist/components/catalyst-ui/core/demos/pricing-demo.tsx +114 -0
- package/dist/components/catalyst-ui/core/demos/radio-group-demo.tsx +315 -0
- package/dist/components/catalyst-ui/core/demos/settingsScreen-demo.tsx +95 -0
- package/dist/components/catalyst-ui/core/demos/sidebar-demo.tsx +40 -0
- package/dist/components/catalyst-ui/core/demos/stackedLayout-demo.tsx +17 -0
- package/dist/components/catalyst-ui/core/demos/stackedLists-demo.tsx +60 -0
- package/dist/components/catalyst-ui/core/demos/stats-demo.tsx +99 -0
- package/dist/components/catalyst-ui/core/demos/team-demo.tsx +35 -0
- package/dist/components/catalyst-ui/core/demos/testimonial-demo.tsx +33 -0
- package/dist/components/catalyst-ui/core/demos/toggle-demo-demo.tsx +414 -0
- package/dist/components/catalyst-ui/core/feedback/alert-variant.tsx +101 -0
- package/dist/components/catalyst-ui/core/feedback/announcement.tsx +53 -0
- package/dist/components/catalyst-ui/core/feedback/banner-2.tsx +143 -0
- package/dist/components/catalyst-ui/core/feedback/banner.tsx +50 -0
- package/dist/components/catalyst-ui/core/feedback/banner1.tsx +64 -0
- package/dist/components/catalyst-ui/core/feedback/callout.tsx +18 -0
- package/dist/components/catalyst-ui/core/feedback/chat-bubble.tsx +770 -0
- package/dist/components/catalyst-ui/core/feedback/dimmer.tsx +518 -0
- package/dist/components/catalyst-ui/core/feedback/dot-loader.tsx +116 -0
- package/dist/components/catalyst-ui/core/feedback/empty-states.tsx +154 -0
- package/dist/components/catalyst-ui/core/feedback/hero-badge.tsx +90 -0
- package/dist/components/catalyst-ui/core/feedback/indicator.tsx +315 -0
- package/dist/components/catalyst-ui/core/feedback/loading.tsx +11 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-2.tsx +10 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-3.tsx +163 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-4.tsx +276 -0
- package/dist/components/catalyst-ui/core/feedback/spinner.tsx +287 -0
- package/dist/components/catalyst-ui/core/feedback/status.tsx +54 -0
- package/dist/components/catalyst-ui/core/headings/cardHeadings.tsx +215 -0
- package/dist/components/catalyst-ui/core/headings/pageHeading.tsx +300 -0
- package/dist/components/catalyst-ui/core/headings/sectionHeadings.tsx +240 -0
- package/dist/components/catalyst-ui/core/heros/animated-hero.tsx +116 -0
- package/dist/components/catalyst-ui/core/heros/animated-hero1.tsx +108 -0
- package/dist/components/catalyst-ui/core/heros/hero-video-dialog.tsx +150 -0
- package/dist/components/catalyst-ui/core/index.ts +248 -0
- package/dist/components/catalyst-ui/core/layout/absolute-center.tsx +45 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid.tsx +251 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid1.tsx +58 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid2.tsx +107 -0
- package/dist/components/catalyst-ui/core/layout/bento-system.tsx +101 -0
- package/dist/components/catalyst-ui/core/layout/box.tsx +231 -0
- package/dist/components/catalyst-ui/core/layout/card-layout.tsx +312 -0
- package/dist/components/catalyst-ui/core/layout/center.tsx +76 -0
- package/dist/components/catalyst-ui/core/layout/container-demo.tsx +340 -0
- package/dist/components/catalyst-ui/core/layout/container.tsx +280 -0
- package/dist/components/catalyst-ui/core/layout/flexbox-grid.tsx +469 -0
- package/dist/components/catalyst-ui/core/layout/grid.tsx +656 -0
- package/dist/components/catalyst-ui/core/layout/group.tsx +49 -0
- package/dist/components/catalyst-ui/core/layout/list.tsx +665 -0
- package/dist/components/catalyst-ui/core/layout/mediaObject.tsx +254 -0
- package/dist/components/catalyst-ui/core/layout/rail.tsx +175 -0
- package/dist/components/catalyst-ui/core/layout/section.tsx +86 -0
- package/dist/components/catalyst-ui/core/layout/stack.tsx +182 -0
- package/dist/components/catalyst-ui/core/lists/animated-list.tsx +98 -0
- package/dist/components/catalyst-ui/core/lists/feeds.tsx +190 -0
- package/dist/components/catalyst-ui/core/lists/file-tree.tsx +379 -0
- package/dist/components/catalyst-ui/core/lists/gridLists.tsx +212 -0
- package/dist/components/catalyst-ui/core/lists/index.ts +14 -0
- package/dist/components/catalyst-ui/core/lists/list-1.tsx +152 -0
- package/dist/components/catalyst-ui/core/lists/list.tsx +217 -0
- package/dist/components/catalyst-ui/core/lists/list1.tsx +138 -0
- package/dist/components/catalyst-ui/core/lists/pin-list.tsx +191 -0
- package/dist/components/catalyst-ui/core/lists/stackedLists.tsx +149 -0
- package/dist/components/catalyst-ui/core/lists/tables.tsx +615 -0
- package/dist/components/catalyst-ui/core/lists/tree.tsx +194 -0
- package/dist/components/catalyst-ui/core/modules/createEditSchedule.tsx +389 -0
- package/dist/components/catalyst-ui/core/modules/punchClock.tsx +304 -0
- package/dist/components/catalyst-ui/core/modules/schedule.tsx +188 -0
- package/dist/components/catalyst-ui/core/modules/viewPunchClockEntries.tsx +629 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-01.tsx +264 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-02.tsx +498 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-03.tsx +263 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-04.tsx +331 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-05.tsx +400 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-06.tsx +436 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-07.tsx +331 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-08.tsx +418 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-09.tsx +440 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-10.tsx +351 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-11.tsx +444 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/NotificationMenu.tsx +120 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/TeamSwitcher.tsx +87 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/UserMenu.tsx +80 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/navbar-12.tsx +230 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-13/UserMenu.tsx +80 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-13/navbar-13.tsx +144 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/InfoMenu.tsx +62 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/NotificationMenu.tsx +122 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/SettingsMenu.tsx +66 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/navbar-14.tsx +156 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/DatePicker.tsx +66 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/Filters.tsx +160 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/navbar-15.tsx +151 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/AppToggle.tsx +125 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/TeamSwitcher.tsx +87 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/navbar-16.tsx +113 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-17.tsx +209 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-18.tsx +243 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-19.tsx +333 -0
- package/dist/components/catalyst-ui/core/navigation/affix.tsx +123 -0
- package/dist/components/catalyst-ui/core/navigation/anchor.tsx +41 -0
- package/dist/components/catalyst-ui/core/navigation/dock-1.tsx +0 -0
- package/dist/components/catalyst-ui/core/navigation/dock-2.tsx +289 -0
- package/dist/components/catalyst-ui/core/navigation/dock.tsx +376 -0
- package/dist/components/catalyst-ui/core/navigation/efab.tsx +245 -0
- package/dist/components/catalyst-ui/core/navigation/fab-menu-component.tsx +299 -0
- package/dist/components/catalyst-ui/core/navigation/fab-menu.tsx +220 -0
- package/dist/components/catalyst-ui/core/navigation/fab.tsx +236 -0
- package/dist/components/catalyst-ui/core/navigation/index.ts +32 -0
- package/dist/components/catalyst-ui/core/navigation/limelight-nav.tsx +110 -0
- package/dist/components/catalyst-ui/core/navigation/mega-menu.tsx +354 -0
- package/dist/components/catalyst-ui/core/navigation/menu-dock.tsx +204 -0
- package/dist/components/catalyst-ui/core/navigation/message-dock.tsx +511 -0
- package/dist/components/catalyst-ui/core/navigation/page-nav.tsx +29 -0
- package/dist/components/catalyst-ui/core/navigation/page-sidebar-nav.tsx +39 -0
- package/dist/components/catalyst-ui/core/navigation/pagination-button.tsx +56 -0
- package/dist/components/catalyst-ui/core/navigation/pagination-wrapper.tsx +152 -0
- package/dist/components/catalyst-ui/core/navigation/panel-menu.tsx +201 -0
- package/dist/components/catalyst-ui/core/navigation/remix-link.tsx +40 -0
- package/dist/components/catalyst-ui/core/navigation/smooth-tab.tsx +412 -0
- package/dist/components/catalyst-ui/core/navigation/speed-dial.tsx +175 -0
- package/dist/components/catalyst-ui/core/navigation/stepper.tsx +290 -0
- package/dist/components/catalyst-ui/core/navigation/steps.tsx +578 -0
- package/dist/components/catalyst-ui/core/navigation/tab-menu.tsx +227 -0
- package/dist/components/catalyst-ui/core/navigation/tab-view.tsx +742 -0
- package/dist/components/catalyst-ui/core/navigation/toolbar-1.tsx +412 -0
- package/dist/components/catalyst-ui/core/navigation/toolbar.tsx +245 -0
- package/dist/components/catalyst-ui/core/sections/changelog-section.tsx +135 -0
- package/dist/components/catalyst-ui/core/sections/config-section.tsx +82 -0
- package/dist/components/catalyst-ui/core/sections/contact.tsx +600 -0
- package/dist/components/catalyst-ui/core/sections/content.tsx +386 -0
- package/dist/components/catalyst-ui/core/sections/layout.tsx +310 -0
- package/dist/components/catalyst-ui/core/sections/note-section.tsx +85 -0
- package/dist/components/catalyst-ui/core/sections/placeholder-code-section.tsx +14 -0
- package/dist/components/catalyst-ui/core/sections/step-number-section.tsx +16 -0
- package/dist/components/catalyst-ui/core/sections/team.tsx +372 -0
- package/dist/components/catalyst-ui/core/sections/useage-no-dash-section.tsx +79 -0
- package/dist/components/catalyst-ui/core/sections/useage-section.tsx +79 -0
- package/dist/components/catalyst-ui/core/shell/app-shell.tsx +321 -0
- package/dist/components/catalyst-ui/core/shell/content-shell.tsx +70 -0
- package/dist/components/catalyst-ui/core/shell/documentation/example.tsx +106 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.config.tsx +200 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.example.tsx +127 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.tsx +280 -0
- package/dist/components/catalyst-ui/core/shell/multiColumnLayouts.tsx +364 -0
- package/dist/components/catalyst-ui/core/shell/sidebarLayout.tsx +459 -0
- package/dist/components/catalyst-ui/core/shell/stackedLayout.tsx +323 -0
- package/dist/components/catalyst-ui/core/shell/three-col/app.tsx +193 -0
- package/dist/components/catalyst-ui/core/shell/three-col/content.tsx +358 -0
- package/dist/components/catalyst-ui/core/shell/three-col/header.tsx +222 -0
- package/dist/components/catalyst-ui/core/shell/three-col/layout.tsx +120 -0
- package/dist/components/catalyst-ui/core/shell/three-col/side-navbar.tsx +305 -0
- package/dist/components/catalyst-ui/core/shell/three-col/sidebar.tsx +41 -0
- package/dist/components/catalyst-ui/crm/comp-297.tsx +24 -0
- package/dist/components/catalyst-ui/crm/comp-298.tsx +188 -0
- package/dist/components/catalyst-ui/crm/comp-299.tsx +24 -0
- package/dist/components/catalyst-ui/crm/comp-300.tsx +62 -0
- package/dist/components/catalyst-ui/crm/index.ts +5 -0
- package/dist/components/catalyst-ui/crm/tools/scripts-editor.tsx +3109 -0
- package/dist/components/catalyst-ui/crm/tools/scripts-viewer.tsx +215 -0
- package/dist/components/catalyst-ui/data/bg-data.tsx +901 -0
- package/dist/components/catalyst-ui/data/buttons-data.tsx +2327 -0
- package/dist/components/catalyst-ui/data/charts-data.tsx +102 -0
- package/dist/components/catalyst-ui/data/chat-data.tsx +83 -0
- package/dist/components/catalyst-ui/data/code-data.tsx +1040 -0
- package/dist/components/catalyst-ui/data/comboboxes-data.tsx +1843 -0
- package/dist/components/catalyst-ui/data/command-data.tsx +1381 -0
- package/dist/components/catalyst-ui/data/core-data.tsx +15953 -0
- package/dist/components/catalyst-ui/data/crm-data.tsx +47 -0
- package/dist/components/catalyst-ui/data/data.tsx +159 -0
- package/dist/components/catalyst-ui/data/date-and-time-data.tsx +554 -0
- package/dist/components/catalyst-ui/data/dependencies.tsx +7 -0
- package/dist/components/catalyst-ui/data/ecommerce-data.tsx +1387 -0
- package/dist/components/catalyst-ui/data/forms-data.tsx +7890 -0
- package/dist/components/catalyst-ui/data/hooks-data.tsx +5487 -0
- package/dist/components/catalyst-ui/data/index.ts +34 -0
- package/dist/components/catalyst-ui/data/inputs-data.tsx +557 -0
- package/dist/components/catalyst-ui/data/interactive-data.tsx +5394 -0
- package/dist/components/catalyst-ui/data/lofi-data.tsx +18295 -0
- package/dist/components/catalyst-ui/data/marketing-data.tsx +2546 -0
- package/dist/components/catalyst-ui/data/media-data.tsx +1510 -0
- package/dist/components/catalyst-ui/data/motion-data.tsx +5801 -0
- package/dist/components/catalyst-ui/data/overlay-data.tsx +4136 -0
- package/dist/components/catalyst-ui/data/pdf-data.tsx +124 -0
- package/dist/components/catalyst-ui/data/pos-data.tsx +213 -0
- package/dist/components/catalyst-ui/data/primitive-data.tsx +5170 -0
- package/dist/components/catalyst-ui/data/prompt-data.tsx +1226 -0
- package/dist/components/catalyst-ui/data/requiredLibs.ts +4 -0
- package/dist/components/catalyst-ui/data/sandbox-data.tsx +1 -0
- package/dist/components/catalyst-ui/data/sidebars-data.tsx +5421 -0
- package/dist/components/catalyst-ui/data/stacks-data.tsx +32 -0
- package/dist/components/catalyst-ui/data/table-data.tsx +706 -0
- package/dist/components/catalyst-ui/data/tools-data.tsx +6910 -0
- package/dist/components/catalyst-ui/data/typography-data.tsx +2050 -0
- package/dist/components/catalyst-ui/data/utils-data.tsx +6500 -0
- package/dist/components/catalyst-ui/data/x-data.tsx +1171 -0
- package/dist/components/catalyst-ui/data2.tsx +158 -0
- package/dist/components/catalyst-ui/date-and-time/appointment-scheduler.tsx +381 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-2.tsx +498 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-for-sidebar.tsx +68 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-rac.tsx +112 -0
- package/dist/components/catalyst-ui/date-and-time/date-picker-input.tsx +76 -0
- package/dist/components/catalyst-ui/date-and-time/date-picker.tsx +64 -0
- package/dist/components/catalyst-ui/date-and-time/date-range-picker-input.tsx +84 -0
- package/dist/components/catalyst-ui/date-and-time/date-range-picker.tsx +125 -0
- package/dist/components/catalyst-ui/date-and-time/datefield-rac.tsx +88 -0
- package/dist/components/catalyst-ui/date-and-time/docked-date-picker.tsx +267 -0
- package/dist/components/catalyst-ui/date-and-time/drawerDatePicker.tsx +50 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/agenda-view.tsx +90 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/calendar-dnd-context.tsx +373 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/constants.ts +18 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/day-view.tsx +322 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/demo.tsx +162 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/draggable-event.tsx +141 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/droppable-cell.tsx +57 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-calendar.tsx +400 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-dialog.tsx +467 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-item.tsx +262 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/events-popup.tsx +135 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/hooks/use-current-time-indicator.ts +57 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/hooks/use-event-visibility.ts +86 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/index.ts +23 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/month-view.tsx +276 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/types.ts +20 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/utils.ts +153 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/week-view.tsx +406 -0
- package/dist/components/catalyst-ui/date-and-time/index.ts +74 -0
- package/dist/components/catalyst-ui/date-and-time/mini-calendar.tsx +230 -0
- package/dist/components/catalyst-ui/date-and-time/modal-date-input.tsx +229 -0
- package/dist/components/catalyst-ui/date-and-time/popover-date-input.tsx +233 -0
- package/dist/components/catalyst-ui/date-and-time/relative-time.tsx +181 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker-dial.tsx +368 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker-input.tsx +385 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker.tsx +514 -0
- package/dist/components/catalyst-ui/demo/examples.tsx +10069 -0
- package/dist/components/catalyst-ui/demo/examples2.tsx +10954 -0
- package/dist/components/catalyst-ui/demo/index.ts +5 -0
- package/dist/components/catalyst-ui/ecommerce/components/categoryFilters.tsx +302 -0
- package/dist/components/catalyst-ui/ecommerce/components/categoryPreviews.tsx +464 -0
- package/dist/components/catalyst-ui/ecommerce/components/checkoutForms.tsx +991 -0
- package/dist/components/catalyst-ui/ecommerce/components/incentives.tsx +529 -0
- package/dist/components/catalyst-ui/ecommerce/components/orderHistory.tsx +380 -0
- package/dist/components/catalyst-ui/ecommerce/components/orderSummaries.tsx +482 -0
- package/dist/components/catalyst-ui/ecommerce/components/productCard.tsx +84 -0
- package/dist/components/catalyst-ui/ecommerce/components/productCard2.tsx +82 -0
- package/dist/components/catalyst-ui/ecommerce/components/productFeatures.tsx +764 -0
- package/dist/components/catalyst-ui/ecommerce/components/productLists.tsx +472 -0
- package/dist/components/catalyst-ui/ecommerce/components/productOverview.tsx +856 -0
- package/dist/components/catalyst-ui/ecommerce/components/productQuickViews.tsx +378 -0
- package/dist/components/catalyst-ui/ecommerce/components/promoSectionts.tsx +414 -0
- package/dist/components/catalyst-ui/ecommerce/components/reviews.tsx +274 -0
- package/dist/components/catalyst-ui/ecommerce/components/shoppingCarts.tsx +508 -0
- package/dist/components/catalyst-ui/ecommerce/components/storeNavigation.tsx +255 -0
- package/dist/components/catalyst-ui/ecommerce/demo/categoryFilters-demo.tsx +140 -0
- package/dist/components/catalyst-ui/ecommerce/demo/categoryPreviews-demo.tsx +252 -0
- package/dist/components/catalyst-ui/ecommerce/demo/checkoutForms-demo.tsx +76 -0
- package/dist/components/catalyst-ui/ecommerce/demo/editProductPage-data2.tsx +34 -0
- package/dist/components/catalyst-ui/ecommerce/demo/editProductPage-demo.tsx +10 -0
- package/dist/components/catalyst-ui/ecommerce/demo/incentives-demo.tsx +172 -0
- package/dist/components/catalyst-ui/ecommerce/demo/orderHistory-demo.tsx +81 -0
- package/dist/components/catalyst-ui/ecommerce/demo/orderSummaries-demo.tsx +98 -0
- package/dist/components/catalyst-ui/ecommerce/demo/pricingPage-demo.tsx +105 -0
- package/dist/components/catalyst-ui/ecommerce/demo/product.$id-demo.tsx +98 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productCard-demo.tsx +308 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productFeatures-demo.tsx +57 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productLists-demo.tsx +130 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productOverview-demo.tsx +328 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productQuickViews-demo.tsx +242 -0
- package/dist/components/catalyst-ui/ecommerce/demo/promoSectionts-demo.tsx +169 -0
- package/dist/components/catalyst-ui/ecommerce/demo/reviews-demo.tsx +45 -0
- package/dist/components/catalyst-ui/ecommerce/demo/shoppingCarts-demo.tsx +73 -0
- package/dist/components/catalyst-ui/ecommerce/demo/store-demo.tsx +88 -0
- package/dist/components/catalyst-ui/ecommerce/demo/storeNavigation-demo.tsx +171 -0
- package/dist/components/catalyst-ui/ecommerce/index.ts +55 -0
- package/dist/components/catalyst-ui/ecommerce/modules/cash-drawer-wizard.tsx +1400 -0
- package/dist/components/catalyst-ui/ecommerce/modules/cash-till-manager.tsx +639 -0
- package/dist/components/catalyst-ui/ecommerce/modules/promotionEngine.ts +341 -0
- package/dist/components/catalyst-ui/ecommerce/modules/promotionsManager.tsx +840 -0
- package/dist/components/catalyst-ui/forms/action-bar-1.tsx +192 -0
- package/dist/components/catalyst-ui/forms/action-bar.tsx +154 -0
- package/dist/components/catalyst-ui/forms/action-panels.tsx +153 -0
- package/dist/components/catalyst-ui/forms/action-search-bar.tsx +268 -0
- package/dist/components/catalyst-ui/forms/auto-resizing-textarea.tsx +36 -0
- package/dist/components/catalyst-ui/forms/cascade-tree.tsx +224 -0
- package/dist/components/catalyst-ui/forms/cascader.tsx +219 -0
- package/dist/components/catalyst-ui/forms/check-tree-picker.tsx +330 -0
- package/dist/components/catalyst-ui/forms/check-tree.tsx +348 -0
- package/dist/components/catalyst-ui/forms/checkbox-1.tsx +48 -0
- package/dist/components/catalyst-ui/forms/checkbox-card-1.tsx +64 -0
- package/dist/components/catalyst-ui/forms/checkbox-card.tsx +145 -0
- package/dist/components/catalyst-ui/forms/checkbox-multistate.tsx +97 -0
- package/dist/components/catalyst-ui/forms/checkbox-tristate.tsx +158 -0
- package/dist/components/catalyst-ui/forms/color-picker-1.tsx +299 -0
- package/dist/components/catalyst-ui/forms/color-picker-3.tsx +487 -0
- package/dist/components/catalyst-ui/forms/color-picker.tsx +251 -0
- package/dist/components/catalyst-ui/forms/credit-card-input.tsx +284 -0
- package/dist/components/catalyst-ui/forms/debounced-input.tsx +21 -0
- package/dist/components/catalyst-ui/forms/fancy-area.tsx +571 -0
- package/dist/components/catalyst-ui/forms/fieldset.tsx +107 -0
- package/dist/components/catalyst-ui/forms/float-label.tsx +66 -0
- package/dist/components/catalyst-ui/forms/floating-label.tsx +138 -0
- package/dist/components/catalyst-ui/forms/form-wizard.tsx +787 -0
- package/dist/components/catalyst-ui/forms/fuse-search-input.tsx +293 -0
- package/dist/components/catalyst-ui/forms/fuzzy-filter.tsx +17 -0
- package/dist/components/catalyst-ui/forms/fuzzy-sort.tsx +17 -0
- package/dist/components/catalyst-ui/forms/icon-field.tsx +51 -0
- package/dist/components/catalyst-ui/forms/index.ts +58 -0
- package/dist/components/catalyst-ui/forms/inline-edit.tsx +108 -0
- package/dist/components/catalyst-ui/forms/inplace.tsx +174 -0
- package/dist/components/catalyst-ui/forms/input-icon.tsx +39 -0
- package/dist/components/catalyst-ui/forms/input-mask.tsx +216 -0
- package/dist/components/catalyst-ui/forms/input-text.tsx +52 -0
- package/dist/components/catalyst-ui/forms/json-input.tsx +261 -0
- package/dist/components/catalyst-ui/forms/key-filter.tsx +238 -0
- package/dist/components/catalyst-ui/forms/label-variant.tsx +53 -0
- package/dist/components/catalyst-ui/forms/listbox.tsx +118 -0
- package/dist/components/catalyst-ui/forms/multi-cascade-tree.tsx +586 -0
- package/dist/components/catalyst-ui/forms/multi-cascader.tsx +429 -0
- package/dist/components/catalyst-ui/forms/multi-select.tsx +161 -0
- package/dist/components/catalyst-ui/forms/password-input.tsx +54 -0
- package/dist/components/catalyst-ui/forms/pills-input.tsx +133 -0
- package/dist/components/catalyst-ui/forms/pin-input.tsx +354 -0
- package/dist/components/catalyst-ui/forms/profile-dropdown.tsx +219 -0
- package/dist/components/catalyst-ui/forms/radio-tile.tsx +245 -0
- package/dist/components/catalyst-ui/forms/rating-2.tsx +140 -0
- package/dist/components/catalyst-ui/forms/search-input.tsx +49 -0
- package/dist/components/catalyst-ui/forms/select-button.tsx +155 -0
- package/dist/components/catalyst-ui/forms/step-form-wizard.tsx +877 -0
- package/dist/components/catalyst-ui/forms/tags-input-1.tsx +457 -0
- package/dist/components/catalyst-ui/forms/textarea-2.tsx +36 -0
- package/dist/components/catalyst-ui/forms/tree-picker.tsx +295 -0
- package/dist/components/catalyst-ui/hooks/demo.tsx +2757 -0
- package/dist/components/catalyst-ui/hooks/index.ts +106 -0
- package/dist/components/catalyst-ui/hooks/react-hook-docs.tsx +608 -0
- package/dist/components/catalyst-ui/hooks/use-api-key.tsx +151 -0
- package/dist/components/catalyst-ui/hooks/use-async.tsx +36 -0
- package/dist/components/catalyst-ui/hooks/use-auto-scroll.tsx +139 -0
- package/dist/components/catalyst-ui/hooks/use-breakpoint.tsx +21 -0
- package/dist/components/catalyst-ui/hooks/use-character-limit.tsx +37 -0
- package/dist/components/catalyst-ui/hooks/use-click-outside.tsx +27 -0
- package/dist/components/catalyst-ui/hooks/use-client.tsx +30 -0
- package/dist/components/catalyst-ui/hooks/use-color-theme.tsx +4933 -0
- package/dist/components/catalyst-ui/hooks/use-color-wheel.tsx +905 -0
- package/dist/components/catalyst-ui/hooks/use-current-time-indicator.tsx +65 -0
- package/dist/components/catalyst-ui/hooks/use-debounce-fetcher.tsx +56 -0
- package/dist/components/catalyst-ui/hooks/use-debounce-submit.tsx +45 -0
- package/dist/components/catalyst-ui/hooks/use-debounce.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-debounced-fuse-search.tsx +168 -0
- package/dist/components/catalyst-ui/hooks/use-delegated-anchors.tsx +87 -0
- package/dist/components/catalyst-ui/hooks/use-document-title.tsx +14 -0
- package/dist/components/catalyst-ui/hooks/use-event-callback.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-event-source.tsx +69 -0
- package/dist/components/catalyst-ui/hooks/use-event-visibility.tsx +72 -0
- package/dist/components/catalyst-ui/hooks/use-expandable.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-export-markdown-usage.tsx +92 -0
- package/dist/components/catalyst-ui/hooks/use-export-tsx.tsx +50 -0
- package/dist/components/catalyst-ui/hooks/use-external-scripts.tsx +44 -0
- package/dist/components/catalyst-ui/hooks/use-favicon.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-fetch.tsx +64 -0
- package/dist/components/catalyst-ui/hooks/use-file-upload.tsx +405 -0
- package/dist/components/catalyst-ui/hooks/use-focus-within.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-form.tsx +86 -0
- package/dist/components/catalyst-ui/hooks/use-fuse-search.tsx +155 -0
- package/dist/components/catalyst-ui/hooks/use-fuzzy-search.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-global-loading-state.tsx +7 -0
- package/dist/components/catalyst-ui/hooks/use-global-navigation-state.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-global-pending-state.tsx +10 -0
- package/dist/components/catalyst-ui/hooks/use-global-submitting-state.tsx +7 -0
- package/dist/components/catalyst-ui/hooks/use-google-font.tsx +39 -0
- package/dist/components/catalyst-ui/hooks/use-hover.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-hydrated.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-intersection-observer.tsx +28 -0
- package/dist/components/catalyst-ui/hooks/use-isomorphic-layout-effect.tsx +9 -0
- package/dist/components/catalyst-ui/hooks/use-key-press.tsx +30 -0
- package/dist/components/catalyst-ui/hooks/use-keyboard-shortcut.tsx +69 -0
- package/dist/components/catalyst-ui/hooks/use-keyboard.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-local-storage-auto-save.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-local-storage.tsx +32 -0
- package/dist/components/catalyst-ui/hooks/use-locales.tsx +40 -0
- package/dist/components/catalyst-ui/hooks/use-long-press.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-markdown-batches.tsx +120 -0
- package/dist/components/catalyst-ui/hooks/use-markdown-to-html.tsx +42 -0
- package/dist/components/catalyst-ui/hooks/use-mount-effect.tsx +5 -0
- package/dist/components/catalyst-ui/hooks/use-mounted.tsx +11 -0
- package/dist/components/catalyst-ui/hooks/use-mouse-enter.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-move.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-mutation-observer-useage.tsx +96 -0
- package/dist/components/catalyst-ui/hooks/use-mutation-observer.tsx +117 -0
- package/dist/components/catalyst-ui/hooks/use-on-click-outside.tsx +38 -0
- package/dist/components/catalyst-ui/hooks/use-online-status.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-outside-click.tsx +25 -0
- package/dist/components/catalyst-ui/hooks/use-overlay-listener.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-overlay-scroll-listener.tsx +128 -0
- package/dist/components/catalyst-ui/hooks/use-pagination.tsx +68 -0
- package/dist/components/catalyst-ui/hooks/use-press.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-previous.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-read-local-storage.tsx +73 -0
- package/dist/components/catalyst-ui/hooks/use-reducer.tsx +0 -0
- package/dist/components/catalyst-ui/hooks/use-resize-listener.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-screen.tsx +100 -0
- package/dist/components/catalyst-ui/hooks/use-script.tsx +102 -0
- package/dist/components/catalyst-ui/hooks/use-scroll-lock.tsx +91 -0
- package/dist/components/catalyst-ui/hooks/use-scroll-position.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-sec-fetch-parser.tsx +52 -0
- package/dist/components/catalyst-ui/hooks/use-session-storage.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-should-hydrate.tsx +27 -0
- package/dist/components/catalyst-ui/hooks/use-slide-in-1.tsx +96 -0
- package/dist/components/catalyst-ui/hooks/use-slide-in.tsx +368 -0
- package/dist/components/catalyst-ui/hooks/use-slider-with-input.tsx +106 -0
- package/dist/components/catalyst-ui/hooks/use-smooth-scroll.tsx +35 -0
- package/dist/components/catalyst-ui/hooks/use-stream.tsx +576 -0
- package/dist/components/catalyst-ui/hooks/use-tailwind-converter.tsx +465 -0
- package/dist/components/catalyst-ui/hooks/use-throttle.tsx +22 -0
- package/dist/components/catalyst-ui/hooks/use-transition.tsx +0 -0
- package/dist/components/catalyst-ui/hooks/use-unmount-effect.tsx +15 -0
- package/dist/components/catalyst-ui/hooks/use-update-effect.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-validate-credit-card.tsx +112 -0
- package/dist/components/catalyst-ui/hooks/use-window-size.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/useDevList.tsx +185 -0
- package/dist/components/catalyst-ui/hooks/useOnWindowResize.tsx +15 -0
- package/dist/components/catalyst-ui/index.ts +38 -0
- package/dist/components/catalyst-ui/inputs/autocomplete.tsx +569 -0
- package/dist/components/catalyst-ui/inputs/autocomplete1.tsx +323 -0
- package/dist/components/catalyst-ui/inputs/cc-input.tsx +44 -0
- package/dist/components/catalyst-ui/inputs/email-address-input.tsx +17 -0
- package/dist/components/catalyst-ui/inputs/index.ts +30 -0
- package/dist/components/catalyst-ui/inputs/input-with-characters-left.tsx +41 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-add-on.tsx +25 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-button.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-icon-button.tsx +29 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-inline-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-inline-button.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-select.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inline-add-ons.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inline-start-and-end-add-on.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inner-tags.tsx +60 -0
- package/dist/components/catalyst-ui/inputs/input-with-inset-label.tsx +23 -0
- package/dist/components/catalyst-ui/inputs/input-with-mask.tsx +44 -0
- package/dist/components/catalyst-ui/inputs/input-with-password-strength-indicator.tsx +137 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-inline-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-select.tsx +30 -0
- package/dist/components/catalyst-ui/inputs/input-with-tags.tsx +72 -0
- package/dist/components/catalyst-ui/inputs/number-input-with-chevrons.tsx +61 -0
- package/dist/components/catalyst-ui/inputs/number-input-with-plus-minus-buttons.tsx +52 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-icon-and-button.tsx +32 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-kbd.tsx +26 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-loader.tsx +59 -0
- package/dist/components/catalyst-ui/interactive/3d-pin.tsx +175 -0
- package/dist/components/catalyst-ui/interactive/action-sheet.tsx +240 -0
- package/dist/components/catalyst-ui/interactive/activity-card.tsx +196 -0
- package/dist/components/catalyst-ui/interactive/ai-prompt.tsx +441 -0
- package/dist/components/catalyst-ui/interactive/animated-cursor.tsx +254 -0
- package/dist/components/catalyst-ui/interactive/background-paths.tsx +172 -0
- package/dist/components/catalyst-ui/interactive/can-edit.tsx +100 -0
- package/dist/components/catalyst-ui/interactive/color-swatch.tsx +441 -0
- package/dist/components/catalyst-ui/interactive/currency-transfer.tsx +228 -0
- package/dist/components/catalyst-ui/interactive/cursor.tsx +109 -0
- package/dist/components/catalyst-ui/interactive/drag-and-drop.tsx +374 -0
- package/dist/components/catalyst-ui/interactive/drawing-2.tsx +1147 -0
- package/dist/components/catalyst-ui/interactive/drawing.tsx +576 -0
- package/dist/components/catalyst-ui/interactive/drop-zone-external.tsx +377 -0
- package/dist/components/catalyst-ui/interactive/drop-zone.tsx +399 -0
- package/dist/components/catalyst-ui/interactive/dropzone-1.tsx +259 -0
- package/dist/components/catalyst-ui/interactive/export-excel.tsx +201 -0
- package/dist/components/catalyst-ui/interactive/file-upload.tsx +403 -0
- package/dist/components/catalyst-ui/interactive/file_upload-1.tsx +422 -0
- package/dist/components/catalyst-ui/interactive/filesaver.tsx +51 -0
- package/dist/components/catalyst-ui/interactive/gantt-1.tsx +1464 -0
- package/dist/components/catalyst-ui/interactive/highlight.tsx +84 -0
- package/dist/components/catalyst-ui/interactive/index.ts +49 -0
- package/dist/components/catalyst-ui/interactive/kanban-1.tsx +338 -0
- package/dist/components/catalyst-ui/interactive/lens.tsx +121 -0
- package/dist/components/catalyst-ui/interactive/magnetic.tsx +105 -0
- package/dist/components/catalyst-ui/interactive/mouse-effect-card.tsx +158 -0
- package/dist/components/catalyst-ui/interactive/pdf-generator.tsx +414 -0
- package/dist/components/catalyst-ui/interactive/pdf-signature.tsx +623 -0
- package/dist/components/catalyst-ui/interactive/pdf-viewer.tsx +931 -0
- package/dist/components/catalyst-ui/interactive/pointer.tsx +108 -0
- package/dist/components/catalyst-ui/interactive/ripple.tsx +103 -0
- package/dist/components/catalyst-ui/interactive/scroll-based-velocity.tsx +205 -0
- package/dist/components/catalyst-ui/interactive/signature.tsx +606 -0
- package/dist/components/catalyst-ui/interactive/smooth-cursor.tsx +236 -0
- package/dist/components/catalyst-ui/interactive/sortable.tsx +420 -0
- package/dist/components/catalyst-ui/interactive/spreadsheet.tsx +601 -0
- package/dist/components/catalyst-ui/interactive/task-board.tsx +902 -0
- package/dist/components/catalyst-ui/interactive/terminal.tsx +587 -0
- package/dist/components/catalyst-ui/interactive/tour-1.tsx +426 -0
- package/dist/components/catalyst-ui/interactive/tour.tsx +830 -0
- package/dist/components/catalyst-ui/interactive/transition.tsx +913 -0
- package/dist/components/catalyst-ui/interactive/transitionable-portal.tsx +0 -0
- package/dist/components/catalyst-ui/interactive/tree-view.tsx +427 -0
- package/dist/components/catalyst-ui/interactive/virtualizer.tsx +233 -0
- package/dist/components/catalyst-ui/interactive/watermark.tsx +211 -0
- package/dist/components/catalyst-ui/lo-fi/components/AboutPageLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/ActionPanelLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/AnchorLoFi-lofi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonGroupLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonIconLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonLinkLoFi.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonLoadingLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalendarForSidebarLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalendarMultiDayLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalloutLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/Chart.tsx +239 -0
- package/dist/components/catalyst-ui/lo-fi/components/ContainerLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/CopyTextLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/DebouncedInputLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/DescriptionListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/EditorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/EmptyStateLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/ErrorPageLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/ExportFileLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/FlyoutMenuLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/FormLayoutLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/HeroCalendar.tsx +115 -0
- package/dist/components/catalyst-ui/lo-fi/components/HeroLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/ListLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/LoadingLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/LogoCloudLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/MediaObjectLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/MultiColumnLayoutLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/NavButtonLoFi.tsx +6 -0
- package/dist/components/catalyst-ui/lo-fi/components/NavButtonStyledLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ScaffoldingLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/SectionHeadingLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/VerticalNavigationLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/accordion-lofi.tsx +76 -0
- package/dist/components/catalyst-ui/lo-fi/components/accountForm-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/alert-lofi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/components/alertDialog-lofi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/announcement-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/aspectRatio-lofi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/authenticator-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/avatar-lofi.tsx +6 -0
- package/dist/components/catalyst-ui/lo-fi/components/badge-lofi.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/banner.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/bento-grid.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/blog.tsx +37 -0
- package/dist/components/catalyst-ui/lo-fi/components/breadcrumb.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/button.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/card-header.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/card-heading.tsx +30 -0
- package/dist/components/catalyst-ui/lo-fi/components/card.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/carousel.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/cart.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/catchAll.tsx +660 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryFilter.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryPage.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryPreviews.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkbox.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkout-form.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkout.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkoutPage.tsx +67 -0
- package/dist/components/catalyst-ui/lo-fi/components/clientOnly.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/collapsible.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/columns.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/combobox.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/contact-section.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/components/content-section.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/cookieSettings.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/cta-section.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/data.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/dataTable.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/datePicker.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/details.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/dialog.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/display-code.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/dropdown.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/dropdownMenu.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/faq-section.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/components/feature-section.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/feature.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/feedList.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/footer.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/components/form.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/fourofour.tsx +42 -0
- package/dist/components/catalyst-ui/lo-fi/components/gridLists.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/header.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/hero.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/homeScreen.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/hooks.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/hoverCard.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/icons.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/components/image.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/incentives.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/index.ts +152 -0
- package/dist/components/catalyst-ui/lo-fi/components/input.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/label.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/landingPage.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/loadingPage.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/menubar.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/motherboard-blog.tsx +178 -0
- package/dist/components/catalyst-ui/lo-fi/components/motherboard.tsx +91 -0
- package/dist/components/catalyst-ui/lo-fi/components/newsletter.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/components/notifications.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderDetails.tsx +51 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderHistory.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderSumaries.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/pageHeading.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/pageNav.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/pagination.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/paymentMethod.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/components/pricing.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/pricingPage.tsx +47 -0
- package/dist/components/catalyst-ui/lo-fi/components/prisma.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/product-card.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/product-gallery.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/productList.tsx +41 -0
- package/dist/components/catalyst-ui/lo-fi/components/productOverview.tsx +62 -0
- package/dist/components/catalyst-ui/lo-fi/components/productsFeatured.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/components/progress.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/promo.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/components/radioGroup.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/reportIssue.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/review.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/reviews.tsx +60 -0
- package/dist/components/catalyst-ui/lo-fi/components/sales-lofi.tsx +257 -0
- package/dist/components/catalyst-ui/lo-fi/components/scaffolding.tsx +46 -0
- package/dist/components/catalyst-ui/lo-fi/components/scrollBar.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/select.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/settings.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/components/shoppingCart.tsx +52 -0
- package/dist/components/catalyst-ui/lo-fi/components/sidebar.tsx +38 -0
- package/dist/components/catalyst-ui/lo-fi/components/skeleton.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/slider.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/stacked-lofi.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/components/stacked.tsx +52 -0
- package/dist/components/catalyst-ui/lo-fi/components/stats.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/components/storeFront.tsx +65 -0
- package/dist/components/catalyst-ui/lo-fi/components/storeNav.tsx +37 -0
- package/dist/components/catalyst-ui/lo-fi/components/switch.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/tabs.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/components/tailwind.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/team.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/team2.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/templatePage.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/testimonial.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/testtimonial.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/textarea.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/toast.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/toggle.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/tooltip.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/useHydrated.tsx +38 -0
- package/dist/components/catalyst-ui/lo-fi/index.ts +528 -0
- package/dist/components/catalyst-ui/lo-fi/utils/atom.tsx +30 -0
- package/dist/components/catalyst-ui/lo-fi/utils/component.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AIPromptLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AboutLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AccessLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AccountLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ActivityGoalLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AiChatLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AlertV1LoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AspectRatioLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AuthProviderLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AuthSystemLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AutoCompleteV2LoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BankLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BarcodeLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BasicAuthMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BatcherMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlocksLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogEditorLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogListLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogSidebarLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BoxLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CORSMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CSSLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CalendarLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CallOutLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CarServiceLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CardsLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CarouselHeroLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoriesNavigationLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSectionCenteredLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSectionLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSidebarLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ChatBubbleLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ChatLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckboxMultistateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckboxTristateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutCancelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutSuccessLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutVariousLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ClientOnlyLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CnLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CodeSectionLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CollapsesToIconsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CollapsibleFileTreeLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ConfigSectionLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ConfirmPopupLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContactLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContainerLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContextStorageMiddlewareLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CookieSettingsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CoreLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CreateAccountLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DashboardLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DashboardSidebarLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DebouncedFetcherAndSubmitLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DebouncedInputLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DefaultStyledLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DeferredContentLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DelegateAnchorsToRemixLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DetailLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DeviceMockupLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DiffLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DisplayCodeLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DockLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DragAndDropLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawerLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawingLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawingV2LoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DropZoneLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ECommerceLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmbedLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmblaCarouselLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmblaCarouselSnapLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EnhancedChartLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ErrorLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ExerciseMinutesLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FABLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FaqLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FeatureSectionLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FeedLoFi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FileManagerLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterComboboxLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterDrawerLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterTanStackTableLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FixedMarkerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FlexboxGridLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FloatingSidebarWithSubmenusLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ForLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ForgotPasswordLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FormsLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/Four04LoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FunctionalLeftRightSidebarLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuseSearchInputLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuzzyFilterLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuzzySortLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GalleriaLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GnattChartLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GridLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H3LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H4LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H5LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HeaderNavLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HelpLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HighlightLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HighlightV1LoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HomeLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HoneypotMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IBLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ILoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ImageLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ImageSectionLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InADialogLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IncIdLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IncentivesCardLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IndicatorLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InsetSidebarSecondaryNavLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InsufficientPermissionsLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InvoiceLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/JWKAuthMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LandingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LayoutLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadErrorPageLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingOverlayLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingPageLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoginLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MailLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MarketingLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MegaMenuLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MenuLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MessageLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MeterLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MobileNavLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ModalIntegrationsLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ModalV1LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MusicLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavMainLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavProjectsLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavTreeViewLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavUserLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedComboboxLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedCommandDialogLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedCommandLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NotFoundLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NoteSectionLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NotificationLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OnTheRightLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderListLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderSummaryLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderedListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OtpLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OverlayPanelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PDFGeneratorLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PMLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PageHeaderLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PageHeadingsSectionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaginationButtonLoFi.tsx +8 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaginationWrapperLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PanelLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PanelMenuLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PasswordInputLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentFormLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentMethodLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PdfSignatureLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PdfViewerLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PlaceholderCodeLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PlaygroundLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PopconfirmLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PrefetchAnchorsLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PrismaClientExtensionLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductCategoryLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductComparisonLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductDetailsLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductEditLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductPricingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductsLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileCreateLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileListLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProgressLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProseLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QRCodeLoFi.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QaDiscussionLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QaForumLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RailLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RatingLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReactHooksDocsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReceiptLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RedirectBadRequestsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RegisterLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RemixAuthLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RemixLinkLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReportIssueLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RequestIDMiddlewareLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ResetPasswordLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ResponsiveLinkLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RightSidebarLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SaasLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SchedulerLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ScrolltopLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SecFetchParserLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SecureHeadersMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ServerTimingMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ServiceRepairFormLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SessionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SettingsLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ShareLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/Sidebar24LoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarAgnosticLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarDetailsLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarInAPopoverLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarNavLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarReactRouterLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarStylisticDefaultLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarStylisticDefaultWRightLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarWithSubmenusLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SignUpLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SignatureLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SingletonMiddlewareLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SiteHeaderLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SmallTableLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpeedDialLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpinLoFi.tsx +7 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpinnerLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackedListsLoFi.tsx +50 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackedLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StateChangeLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StatsLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StatusLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StepsLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StoreFrontLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StoreNavSectionLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StripeLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StyleProviderLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableV1LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableV2LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TabViewLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TableLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TagLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TailwindcssTxtLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TaskListLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TaskboardLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TasksLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TeamMembersLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TerminalLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TextEditorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ThemeSelectorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TicketsLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TimelineLoFi.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TimelineV1LoFi.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TitleSectionLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToDoLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToggleClassLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToolbarLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TourLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TransitionLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TransitionablePortalLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TravelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TreeViewLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UnderConstructionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsageSectionLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsageSectionNoDashLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseAsyncLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseClickOutsideLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseCopyToClipboardLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseCounterLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseDebounceLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseDebouncedFuseSearchLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseEventListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExportMarkdownLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExportTsxLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExternalScriptsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFaviconLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFetchLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFocusLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFocusWithinLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFormLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFuseSearchLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFuzzySearchLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalLoadingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalNavigationStateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalPendingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalSubmittingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseHoverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseIntersectionObserverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseIntervalLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseKeyPressLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseKeyboardLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLocalStorageLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLocalesLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLongPressLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMediaQueryLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMobileLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMountEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMountedLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMoveLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMutationObserverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOnlineStatusLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOverlayListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOverlayScrollListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsePressLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsePreviousLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseResizeListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseScrollPositionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseSessionStorageLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseShouldHydrateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseSlideInLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseStreamLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseThrottleLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseTimeoutLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseToggleLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseUnmountEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseUpdateEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseWindowSizeLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserBasedAccessRulesLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserOnboardingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/VerificationLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/VirtualizerLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WatermarkLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithACalendarLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithAShoppingCartLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithATreeViewLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleNestedSidebarsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleSectionsLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleSubmenusLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCookieMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithInitialLoadingStateLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithLoadingNavStateChangesLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithNavigationGroupedBySectionLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithSubmenusAsDropdownsLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/action-bar-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/block-quote-lofi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/calendar-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/cascade-tree-lofi.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/v2/cascader-lofi.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/v2/changelog-lofi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/check-tree-lofi.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/v2/check-tree-picker-lofi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/checkbox-card-v1-lofi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/checkbox-v1-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/client-only-mermaid-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/color-picker-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/combobox-v1-lofi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/credit-card-input-lofi.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/v2/floating-label-lofi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/form-wizard-lofi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/hero-lofi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/heroV2-lofi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/inline-edit-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/inplaceLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/input-mask-lofi.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-code-array-section-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-code-section-lofi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-github-section-lofi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/json-input-lofi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-cascade-tree-lofi.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-cascader-lofi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-combobox-lofi.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/v2/nav-shopping-cart-lofi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/pin-input-lofi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/select-button-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/sidebar28-lofi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/step-form-wizard-lofi.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tags-input-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/textarea-lofi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/textarea-v2-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/transfer-list-lofi.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tri-state-checkbox-lofi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tsxSection-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/marketing/demo/demos.tsx +0 -0
- package/dist/components/catalyst-ui/marketing/demo/sectionHeadings-demo.tsx +103 -0
- package/dist/components/catalyst-ui/marketing/elements/banner-with-effect.tsx +0 -0
- package/dist/components/catalyst-ui/marketing/elements/flyoutMenu.tsx +318 -0
- package/dist/components/catalyst-ui/marketing/index.ts +41 -0
- package/dist/components/catalyst-ui/marketing/sections/animated-testimonials.tsx +169 -0
- package/dist/components/catalyst-ui/marketing/sections/bentoGrid.tsx +300 -0
- package/dist/components/catalyst-ui/marketing/sections/blog.tsx +469 -0
- package/dist/components/catalyst-ui/marketing/sections/blogEditor.tsx +358 -0
- package/dist/components/catalyst-ui/marketing/sections/blogPost.tsx +208 -0
- package/dist/components/catalyst-ui/marketing/sections/carousel.tsx +928 -0
- package/dist/components/catalyst-ui/marketing/sections/cta.tsx +379 -0
- package/dist/components/catalyst-ui/marketing/sections/faq.tsx +147 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-carousel.tsx +505 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-section.tsx +83 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-showcase.tsx +250 -0
- package/dist/components/catalyst-ui/marketing/sections/feature.tsx +279 -0
- package/dist/components/catalyst-ui/marketing/sections/footer.tsx +390 -0
- package/dist/components/catalyst-ui/marketing/sections/header-1.tsx +450 -0
- package/dist/components/catalyst-ui/marketing/sections/header.tsx +414 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-2.tsx +55 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-3.tsx +12 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-section.tsx +17 -0
- package/dist/components/catalyst-ui/marketing/sections/hero.tsx +169 -0
- package/dist/components/catalyst-ui/marketing/sections/image-section.tsx +36 -0
- package/dist/components/catalyst-ui/marketing/sections/index.ts +33 -0
- package/dist/components/catalyst-ui/marketing/sections/logoClouds.tsx +295 -0
- package/dist/components/catalyst-ui/marketing/sections/newsLetter.tsx +137 -0
- package/dist/components/catalyst-ui/marketing/sections/page-header-section.tsx +127 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-carousel-2.tsx +282 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-carousel.tsx +555 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-single-card.tsx +154 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing.tsx +790 -0
- package/dist/components/catalyst-ui/marketing/sections/testimonial-carousel.tsx +499 -0
- package/dist/components/catalyst-ui/marketing/sections/testimonial.tsx +204 -0
- package/dist/components/catalyst-ui/marketing/sections/title-section.tsx +57 -0
- package/dist/components/catalyst-ui/media/3d-marquee.tsx +144 -0
- package/dist/components/catalyst-ui/media/avatar-circles.tsx +78 -0
- package/dist/components/catalyst-ui/media/blur-fade.tsx +106 -0
- package/dist/components/catalyst-ui/media/carousel-1.tsx +926 -0
- package/dist/components/catalyst-ui/media/carousel-2.tsx +198 -0
- package/dist/components/catalyst-ui/media/carousel-hero.tsx +286 -0
- package/dist/components/catalyst-ui/media/carousel-simple.tsx +244 -0
- package/dist/components/catalyst-ui/media/color-palette-card.tsx +85 -0
- package/dist/components/catalyst-ui/media/cropper.tsx +68 -0
- package/dist/components/catalyst-ui/media/embla-carousel-arrow-buttons.tsx +117 -0
- package/dist/components/catalyst-ui/media/embla-carousel-snap.tsx +103 -0
- package/dist/components/catalyst-ui/media/galleria.tsx +316 -0
- package/dist/components/catalyst-ui/media/globe.tsx +138 -0
- package/dist/components/catalyst-ui/media/google-maps-component.tsx +540 -0
- package/dist/components/catalyst-ui/media/icon-cloud.tsx +312 -0
- package/dist/components/catalyst-ui/media/image-comparison.tsx +251 -0
- package/dist/components/catalyst-ui/media/image-crop.tsx +366 -0
- package/dist/components/catalyst-ui/media/image-zoom.tsx +51 -0
- package/dist/components/catalyst-ui/media/index.ts +32 -0
- package/dist/components/catalyst-ui/media/infinite-scroll.tsx +303 -0
- package/dist/components/catalyst-ui/media/infinite-slider.tsx +108 -0
- package/dist/components/catalyst-ui/media/interactive-icon-cloud.tsx +100 -0
- package/dist/components/catalyst-ui/media/logo.tsx +100 -0
- package/dist/components/catalyst-ui/media/marquee.tsx +199 -0
- package/dist/components/catalyst-ui/media/marquee1.tsx +114 -0
- package/dist/components/catalyst-ui/media/parallax-scroll.tsx +119 -0
- package/dist/components/catalyst-ui/media/pixel-image.tsx +153 -0
- package/dist/components/catalyst-ui/media/video-player.tsx +94 -0
- package/dist/components/catalyst-ui/motions/animated-number.tsx +252 -0
- package/dist/components/catalyst-ui/motions/bg-media.tsx +122 -0
- package/dist/components/catalyst-ui/motions/border-beam.tsx +40 -0
- package/dist/components/catalyst-ui/motions/circle-menu.tsx +320 -0
- package/dist/components/catalyst-ui/motions/color-picker.tsx +490 -0
- package/dist/components/catalyst-ui/motions/color-wheel.tsx +81 -0
- package/dist/components/catalyst-ui/motions/direction-aware-tabs.tsx +568 -0
- package/dist/components/catalyst-ui/motions/dynamic-island.tsx +733 -0
- package/dist/components/catalyst-ui/motions/expandable-card.tsx +941 -0
- package/dist/components/catalyst-ui/motions/expandable-screen.tsx +455 -0
- package/dist/components/catalyst-ui/motions/floating-panel.tsx +1115 -0
- package/dist/components/catalyst-ui/motions/gradient-heading.tsx +116 -0
- package/dist/components/catalyst-ui/motions/index.ts +93 -0
- package/dist/components/catalyst-ui/motions/intro-disclosure.tsx +1345 -0
- package/dist/components/catalyst-ui/motions/light-board.tsx +888 -0
- package/dist/components/catalyst-ui/motions/loading-carousel.tsx +517 -0
- package/dist/components/catalyst-ui/motions/logo-carousel.tsx +586 -0
- package/dist/components/catalyst-ui/motions/morph-surface.tsx +779 -0
- package/dist/components/catalyst-ui/motions/motion-accordian.tsx +206 -0
- package/dist/components/catalyst-ui/motions/motion-alert-dialog.tsx +356 -0
- package/dist/components/catalyst-ui/motions/motion-avatar.tsx +384 -0
- package/dist/components/catalyst-ui/motions/motion-beam.tsx +674 -0
- package/dist/components/catalyst-ui/motions/motion-bento.tsx +262 -0
- package/dist/components/catalyst-ui/motions/motion-bento1.tsx +307 -0
- package/dist/components/catalyst-ui/motions/motion-button.tsx +107 -0
- package/dist/components/catalyst-ui/motions/motion-calendar.tsx +213 -0
- package/dist/components/catalyst-ui/motions/motion-card.tsx +1609 -0
- package/dist/components/catalyst-ui/motions/motion-card1.tsx +825 -0
- package/dist/components/catalyst-ui/motions/motion-card2.tsx +289 -0
- package/dist/components/catalyst-ui/motions/motion-card3.tsx +190 -0
- package/dist/components/catalyst-ui/motions/motion-carousel.tsx +517 -0
- package/dist/components/catalyst-ui/motions/motion-checkbox.tsx +77 -0
- package/dist/components/catalyst-ui/motions/motion-choicebox.tsx +360 -0
- package/dist/components/catalyst-ui/motions/motion-combobox.tsx +242 -0
- package/dist/components/catalyst-ui/motions/motion-command.tsx +328 -0
- package/dist/components/catalyst-ui/motions/motion-context-menu.tsx +391 -0
- package/dist/components/catalyst-ui/motions/motion-date-picker.tsx +162 -0
- package/dist/components/catalyst-ui/motions/motion-dialog.tsx +350 -0
- package/dist/components/catalyst-ui/motions/motion-drawer.tsx +1778 -0
- package/dist/components/catalyst-ui/motions/motion-drawer1.tsx +209 -0
- package/dist/components/catalyst-ui/motions/motion-dropdown-menu.tsx +429 -0
- package/dist/components/catalyst-ui/motions/motion-dropdown1.tsx +572 -0
- package/dist/components/catalyst-ui/motions/motion-feature-carousel.tsx +771 -0
- package/dist/components/catalyst-ui/motions/motion-file-upload.tsx +596 -0
- package/dist/components/catalyst-ui/motions/motion-group.tsx +194 -0
- package/dist/components/catalyst-ui/motions/motion-highlight.tsx +550 -0
- package/dist/components/catalyst-ui/motions/motion-highlight2.tsx +590 -0
- package/dist/components/catalyst-ui/motions/motion-hover-card.tsx +207 -0
- package/dist/components/catalyst-ui/motions/motion-images.tsx +53 -0
- package/dist/components/catalyst-ui/motions/motion-input.tsx +51 -0
- package/dist/components/catalyst-ui/motions/motion-list.tsx +170 -0
- package/dist/components/catalyst-ui/motions/motion-logo-carosel.tsx +668 -0
- package/dist/components/catalyst-ui/motions/motion-map.tsx +372 -0
- package/dist/components/catalyst-ui/motions/motion-navbar.tsx +69 -0
- package/dist/components/catalyst-ui/motions/motion-navigation-menu.tsx +302 -0
- package/dist/components/catalyst-ui/motions/motion-panel.tsx +338 -0
- package/dist/components/catalyst-ui/motions/motion-popover.tsx +281 -0
- package/dist/components/catalyst-ui/motions/motion-radio-card.tsx +77 -0
- package/dist/components/catalyst-ui/motions/motion-radio-group.tsx +54 -0
- package/dist/components/catalyst-ui/motions/motion-rating.tsx +182 -0
- package/dist/components/catalyst-ui/motions/motion-screen.tsx +441 -0
- package/dist/components/catalyst-ui/motions/motion-search-bar.tsx +1013 -0
- package/dist/components/catalyst-ui/motions/motion-section.tsx +270 -0
- package/dist/components/catalyst-ui/motions/motion-select.tsx +306 -0
- package/dist/components/catalyst-ui/motions/motion-spotlight.tsx +217 -0
- package/dist/components/catalyst-ui/motions/motion-switch.tsx +83 -0
- package/dist/components/catalyst-ui/motions/motion-tabs.tsx +554 -0
- package/dist/components/catalyst-ui/motions/motion-tabs2.tsx +257 -0
- package/dist/components/catalyst-ui/motions/motion-testimonials.tsx +282 -0
- package/dist/components/catalyst-ui/motions/motion-toast.tsx +398 -0
- package/dist/components/catalyst-ui/motions/motion-toolbar-tabs.tsx +519 -0
- package/dist/components/catalyst-ui/motions/motion-toolbar.tsx +1113 -0
- package/dist/components/catalyst-ui/motions/motion-tooltip.tsx +162 -0
- package/dist/components/catalyst-ui/motions/motion-tooltip2.tsx +82 -0
- package/dist/components/catalyst-ui/motions/motion-video-player.tsx +1056 -0
- package/dist/components/catalyst-ui/motions/motions-input.tsx +51 -0
- package/dist/components/catalyst-ui/motions/popover-form.tsx +469 -0
- package/dist/components/catalyst-ui/motions/profile-dropdown.tsx +237 -0
- package/dist/components/catalyst-ui/motions/radial-menu.tsx +303 -0
- package/dist/components/catalyst-ui/motions/roladex.tsx +194 -0
- package/dist/components/catalyst-ui/motions/roladex1.tsx +166 -0
- package/dist/components/catalyst-ui/motions/shift-card.tsx +302 -0
- package/dist/components/catalyst-ui/motions/side-panel.tsx +352 -0
- package/dist/components/catalyst-ui/motions/smooth-drawer.tsx +213 -0
- package/dist/components/catalyst-ui/motions/smooth-popover.tsx +491 -0
- package/dist/components/catalyst-ui/motions/sortable-list.tsx +712 -0
- package/dist/components/catalyst-ui/motions/stripe.tsx +261 -0
- package/dist/components/catalyst-ui/motions/texture-button.tsx +217 -0
- package/dist/components/catalyst-ui/motions/timer.tsx +286 -0
- package/dist/components/catalyst-ui/motions/toolbar-expandable.tsx +1138 -0
- package/dist/components/catalyst-ui/motions/youtube-player.tsx +614 -0
- package/dist/components/catalyst-ui/overlays/animated-modal.tsx +212 -0
- package/dist/components/catalyst-ui/overlays/animated-tooltip.tsx +99 -0
- package/dist/components/catalyst-ui/overlays/confirm-popup.tsx +219 -0
- package/dist/components/catalyst-ui/overlays/dialog-stack.tsx +558 -0
- package/dist/components/catalyst-ui/overlays/index.ts +19 -0
- package/dist/components/catalyst-ui/overlays/loading-overlay.tsx +324 -0
- package/dist/components/catalyst-ui/overlays/modal-integrations-1.tsx +300 -0
- package/dist/components/catalyst-ui/overlays/modal-integrations.tsx +301 -0
- package/dist/components/catalyst-ui/overlays/overlay-panel.tsx +233 -0
- package/dist/components/catalyst-ui/overlays/popconfirm.tsx +721 -0
- package/dist/components/catalyst-ui/overlays/sidebar-props.tsx +492 -0
- package/dist/components/catalyst-ui/overlays/sidebar.tsx +2208 -0
- package/dist/components/catalyst-ui/overlays/sidebarMenuItemLoading.tsx +124 -0
- package/dist/components/catalyst-ui/overlays/texture-card.tsx +309 -0
- package/dist/components/catalyst-ui/overlays/transitionable-portal.tsx +230 -0
- package/dist/components/catalyst-ui/pdf/generate_custom_pdf.tsx +40 -0
- package/dist/components/catalyst-ui/pdf/generate_pdf.tsx +196 -0
- package/dist/components/catalyst-ui/pdf/index.ts +12 -0
- package/dist/components/catalyst-ui/pdf/pdf.tsx +32 -0
- package/dist/components/catalyst-ui/pdf/pdf_generator.ts +141 -0
- package/dist/components/catalyst-ui/pdf/pdf_sender.$dealerId.$documentId.$dept.tsx +1260 -0
- package/dist/components/catalyst-ui/pdf/pdf_signer.$id.tsx +1438 -0
- package/dist/components/catalyst-ui/pdf/print_pdf.tsx +15905 -0
- package/dist/components/catalyst-ui/pdf/templateBuilder.tsx +1590 -0
- package/dist/components/catalyst-ui/pdf/test.tsx +53 -0
- package/dist/components/catalyst-ui/pos/index.ts +5 -0
- package/dist/components/catalyst-ui/pos/tools/barcodeScanner.tsx +160 -0
- package/dist/components/catalyst-ui/pos/tools/cashDrawerWizard.tsx +1403 -0
- package/dist/components/catalyst-ui/pos/tools/scan.mp4 +0 -0
- package/dist/components/catalyst-ui/primitives/alert.tsx +103 -0
- package/dist/components/catalyst-ui/primitives/annotated.tsx +133 -0
- package/dist/components/catalyst-ui/primitives/button-group.tsx +89 -0
- package/dist/components/catalyst-ui/primitives/checkbox-tree.tsx +175 -0
- package/dist/components/catalyst-ui/primitives/combobox.tsx +93 -0
- package/dist/components/catalyst-ui/primitives/description-list.tsx +88 -0
- package/dist/components/catalyst-ui/primitives/index.ts +59 -0
- package/dist/components/catalyst-ui/primitives/input-group.tsx +186 -0
- package/dist/components/catalyst-ui/primitives/menubar.tsx +273 -0
- package/dist/components/catalyst-ui/primitives/progress-bar.tsx +114 -0
- package/dist/components/catalyst-ui/primitives/radio-card.tsx +167 -0
- package/dist/components/catalyst-ui/primitives/scroll-area.tsx +56 -0
- package/dist/components/catalyst-ui/primitives/table.tsx +329 -0
- package/dist/components/catalyst-ui/prompt/ai-input-search.tsx +288 -0
- package/dist/components/catalyst-ui/prompt/ai-loading-state.tsx +313 -0
- package/dist/components/catalyst-ui/prompt/ai-prompt-input.tsx +305 -0
- package/dist/components/catalyst-ui/prompt/ai-voice.tsx +241 -0
- package/dist/components/catalyst-ui/prompt/chain-of-thought.tsx +146 -0
- package/dist/components/catalyst-ui/prompt/chatbot.tsx +201 -0
- package/dist/components/catalyst-ui/prompt/code-block-examples.tsx +227 -0
- package/dist/components/catalyst-ui/prompt/code-block.tsx +92 -0
- package/dist/components/catalyst-ui/prompt/conversation-actions.tsx +150 -0
- package/dist/components/catalyst-ui/prompt/conversation-avatars.tsx +92 -0
- package/dist/components/catalyst-ui/prompt/conversation-prompt-input.tsx +256 -0
- package/dist/components/catalyst-ui/prompt/conversation-scroll-bottom.tsx +121 -0
- package/dist/components/catalyst-ui/prompt/file-upload.tsx +310 -0
- package/dist/components/catalyst-ui/prompt/full-chat-app.tsx +759 -0
- package/dist/components/catalyst-ui/prompt/full-conversation.tsx +76 -0
- package/dist/components/catalyst-ui/prompt/image.tsx +94 -0
- package/dist/components/catalyst-ui/prompt/index.ts +46 -0
- package/dist/components/catalyst-ui/prompt/input-byok.tsx +70 -0
- package/dist/components/catalyst-ui/prompt/jsx-preview.tsx +81 -0
- package/dist/components/catalyst-ui/prompt/loader.tsx +497 -0
- package/dist/components/catalyst-ui/prompt/markdown.tsx +117 -0
- package/dist/components/catalyst-ui/prompt/pre-prompts.tsx +59 -0
- package/dist/components/catalyst-ui/prompt/prompt-autocomplete-highlight.tsx +81 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container-basic.tsx +98 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container-streaming.tsx +132 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container.tsx +65 -0
- package/dist/components/catalyst-ui/prompt/prompt-feedback-bar.tsx +79 -0
- package/dist/components/catalyst-ui/prompt/prompt-input-actions.tsx +100 -0
- package/dist/components/catalyst-ui/prompt/prompt-input-suggestions.tsx +150 -0
- package/dist/components/catalyst-ui/prompt/prompt-input.tsx +187 -0
- package/dist/components/catalyst-ui/prompt/prompt-message.tsx +109 -0
- package/dist/components/catalyst-ui/prompt/prompt-suggestion.tsx +116 -0
- package/dist/components/catalyst-ui/prompt/providers.tsx +540 -0
- package/dist/components/catalyst-ui/prompt/reasoning.tsx +168 -0
- package/dist/components/catalyst-ui/prompt/response-stream.tsx +392 -0
- package/dist/components/catalyst-ui/prompt/scroll-button.tsx +39 -0
- package/dist/components/catalyst-ui/prompt/sidebar-chat-history.tsx +242 -0
- package/dist/components/catalyst-ui/prompt/snippets.tsx +1378 -0
- package/dist/components/catalyst-ui/prompt/source.tsx +127 -0
- package/dist/components/catalyst-ui/prompt/steps.tsx +111 -0
- package/dist/components/catalyst-ui/prompt/system-message.tsx +131 -0
- package/dist/components/catalyst-ui/prompt/tool-calling.tsx +236 -0
- package/dist/components/catalyst-ui/prompt/tool.tsx +204 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/NotificationMenu.tsx +120 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/Tree.tsx +53 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/active-toc.tsx +213 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/analog-clock.tsx +211 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/app-sidebar.tsx +339 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/blog-sidebar.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/calendars.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/date-picker.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/dev-list-sidebar.tsx +195 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/digital-clock.tsx +343 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/index.ts +41 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/loading-sidebar.tsx +42 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-actions.tsx +122 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-appointments.tsx +429 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-auto-search.tsx +314 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-favorites.tsx +71 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-header.tsx +409 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-main.tsx +1583 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-messenger.tsx +440 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-projects.tsx +66 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-quick-actions.tsx +366 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-secondary.tsx +33 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-shopping-cart.tsx +231 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-shopping-cartCatlstui.tsx +196 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-tree-view.tsx +18 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-user.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-workspaces.tsx +69 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/navigation-theme-selector.tsx +143 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/opt-in-form.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/search-command.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/search-form.tsx +21 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/settings-menu.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/sidebar-dialog.tsx +82 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/site-header.tsx +40 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/team-switcher.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/toc.tsx +301 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/user-menu.tsx +77 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/version-switcher.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/wishlist.tsx +292 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/AppSidebar.tsx +36 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/SearchForm.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/VersionSwitcher.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/index.tsx +270 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/sidebar-01.tsx +178 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/AppSidebar.tsx +56 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/SearchForm.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/VersionSwitcher.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/index.tsx +301 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/sidebar-02.tsx +193 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/AppSidebar.tsx +54 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/index.tsx +238 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/sidebar-03.tsx +189 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/AppSidebar.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/index.tsx +249 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/sidebar-04.tsx +201 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/AppSidebar.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/SearchForm.tsx +25 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/index.tsx +275 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/sidebar-05.tsx +191 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/AppSidebar.tsx +43 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/NavMain.tsx +56 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/SidebarOptInForm.tsx +34 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/index.tsx +290 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/sidebar-06.tsx +183 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/AppSidebar.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavMain.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavProjects.tsx +67 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavUser.tsx +86 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/TeamSwitcher.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/index.tsx +474 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/sidebar-07.tsx +189 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/AppSidebar.tsx +41 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavMain.tsx +62 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavProjects.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavSecondary.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/index.tsx +446 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/sidebar-08.tsx +181 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/AppSidebar.tsx +213 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/NavUser.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/index.tsx +468 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/sidebar-09.tsx +177 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/AppSidebar.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavActions.tsx +59 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavFavorites.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavMain.tsx +31 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavSecondary.tsx +37 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavWorkspaces.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/TeamSwitcher.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/index.tsx +675 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/sidebar-10.tsx +348 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/AppSidebar.tsx +46 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/Tree.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/index.tsx +175 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/sidebar-11.tsx +102 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/AppSidebar.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/Calendars.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/DatePicker.tsx +13 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/NavUser.tsx +85 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/index.tsx +237 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/sidebar-12.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/SettingsDialog.tsx +82 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/index.tsx +105 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/sidebar-13.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/AppSidebar.tsx +45 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/index.tsx +225 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/sidebar-14.tsx +186 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/Calendars.tsx +83 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/DatePicker.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavFavorites.tsx +98 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavMain.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavSecondary.tsx +36 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavUser.tsx +89 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavWorkspaces.tsx +95 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/SidebarLeft.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/SidebarRight.tsx +38 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/TeamSwitcher.tsx +89 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/index.tsx +776 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/sidebar-15.tsx +324 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/AppSidebar.tsx +50 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/NavUser.tsx +100 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/SearchForm.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/SiteHeader.tsx +51 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/index.tsx +424 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/sidebar-16.tsx +188 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/AppSidebar.tsx +154 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/ShoppingCartSidebar.tsx +163 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/index.tsx +557 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/sidebar-17.tsx +183 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/AppSidebar.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/NavTreeView.tsx +18 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/index.tsx +120 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/sidebar-18.tsx +92 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/AppSidebar.tsx +230 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/index.tsx +264 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/sidebar-19.tsx +59 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/AppSidebar.tsx +215 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/index.tsx +250 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/sidebar-20.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/AppSidebar.tsx +303 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/LoadingSidebar.tsx +41 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/index.tsx +412 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/sidebar-21.tsx +75 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/AppSidebar.tsx +184 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/LoadingSidebar.tsx +45 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/index.tsx +251 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/sidebar-22.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/calendars-24.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/date-picker-24.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/sidebar-24.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/AppSidebar.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavMain.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavSecondary.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/SearchForm.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/SiteHeader.tsx +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/index.tsx +172 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/sidebar-25.tsx +153 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/app-sidebar-26.tsx +344 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/index.tsx +78 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/sidebar-26.tsx +78 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/use-mobile-26.ts +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-27/sidebar-27.tsx +5 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/app-sidebar-28.tsx +285 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/index.tsx +31 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/nav-user-28.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/search-form-28.tsx +23 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/sidebar-28.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/site-header-28.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/use-mobile-28.ts +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-left-icon.tsx +101 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-left.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-right-icon.tsx +106 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/nav-user.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/sidebar-29.tsx +204 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/version-switcher.tsx +52 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/ds-left.tsx +678 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/sidebar-30.tsx +604 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/ds-left.tsx +431 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/message.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-auto-search.tsx +310 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-search-command.tsx +0 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-user.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/sidebar-31.tsx +369 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/typing-message.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/ds-left.tsx +119 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/sidebar-32.tsx +119 -0
- package/dist/components/catalyst-ui/sidebars/variants/dual-sidebar-agnostic.tsx +3473 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-original.tsx +714 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-right.tsx +823 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-stylistic-default.tsx +591 -0
- package/dist/components/catalyst-ui/table/catalyst-table/column-header-simple.tsx +60 -0
- package/dist/components/catalyst-ui/table/catalyst-table/column-header.tsx +223 -0
- package/dist/components/catalyst-ui/table/catalyst-table/draggable-header.tsx +58 -0
- package/dist/components/catalyst-ui/table/catalyst-table/faceted-filter.tsx +131 -0
- package/dist/components/catalyst-ui/table/catalyst-table/global-search.tsx +0 -0
- package/dist/components/catalyst-ui/table/catalyst-table/row-actions.tsx +49 -0
- package/dist/components/catalyst-ui/table/catalyst-table/table.tsx +421 -0
- package/dist/components/catalyst-ui/table/index.ts +14 -0
- package/dist/components/catalyst-ui/table/props-table.tsx +170 -0
- package/dist/components/catalyst-ui/table/small-table.tsx +719 -0
- package/dist/components/catalyst-ui/table/table-1.tsx +246 -0
- package/dist/components/catalyst-ui/themeStudio/config.tsx +83 -0
- package/dist/components/catalyst-ui/themeStudio/dual-sidebar.tsx +3256 -0
- package/dist/components/catalyst-ui/themeStudio/theme-provider.tsx +269 -0
- package/dist/components/catalyst-ui/themeStudio/use-color-theme.tsx +1614 -0
- package/dist/components/catalyst-ui/themeStudio/use-color-wheel.tsx +904 -0
- package/dist/components/catalyst-ui/tools/Demo/md-render-genie.tsx +273 -0
- package/dist/components/catalyst-ui/tools/GandalfBot.tsx +144 -0
- package/dist/components/catalyst-ui/tools/MdFileTreeExplorer.tsx +287 -0
- package/dist/components/catalyst-ui/tools/accessibility-checker.tsx +370 -0
- package/dist/components/catalyst-ui/tools/animation-builder.tsx +350 -0
- package/dist/components/catalyst-ui/tools/api-response.tsx +318 -0
- package/dist/components/catalyst-ui/tools/chart-playground.tsx +480 -0
- package/dist/components/catalyst-ui/tools/code-carousel.tsx +246 -0
- package/dist/components/catalyst-ui/tools/code-diff.tsx +274 -0
- package/dist/components/catalyst-ui/tools/code-editor.tsx +35 -0
- package/dist/components/catalyst-ui/tools/code-highlight-plugin.tsx +25 -0
- package/dist/components/catalyst-ui/tools/color-converter.tsx +413 -0
- package/dist/components/catalyst-ui/tools/color-wheel.tsx +1012 -0
- package/dist/components/catalyst-ui/tools/components-reel.tsx +135 -0
- package/dist/components/catalyst-ui/tools/convert/converter.tsx +969 -0
- package/dist/components/catalyst-ui/tools/convert/sidebar-converter.tsx +132 -0
- package/dist/components/catalyst-ui/tools/cron-expression-builder.tsx +346 -0
- package/dist/components/catalyst-ui/tools/dual-editor.tsx +240 -0
- package/dist/components/catalyst-ui/tools/editor.tsx +1744 -0
- package/dist/components/catalyst-ui/tools/examples.tsx +1206 -0
- package/dist/components/catalyst-ui/tools/flexbox-sandbox.tsx +327 -0
- package/dist/components/catalyst-ui/tools/function-theater.tsx +93 -0
- package/dist/components/catalyst-ui/tools/grid-sandbox.tsx +464 -0
- package/dist/components/catalyst-ui/tools/icons.tsx +249 -0
- package/dist/components/catalyst-ui/tools/index.ts +59 -0
- package/dist/components/catalyst-ui/tools/json-Formatter.tsx +258 -0
- package/dist/components/catalyst-ui/tools/layout-generator.tsx +237 -0
- package/dist/components/catalyst-ui/tools/lexical-editor.tsx +218 -0
- package/dist/components/catalyst-ui/tools/live-playground.tsx +1458 -0
- package/dist/components/catalyst-ui/tools/lorem-ipsum-generator.tsx +314 -0
- package/dist/components/catalyst-ui/tools/md-badge-builder.tsx +179 -0
- package/dist/components/catalyst-ui/tools/md-cheat-sheet.tsx +5557 -0
- package/dist/components/catalyst-ui/tools/md-editor.tsx +632 -0
- package/dist/components/catalyst-ui/tools/md-render-genie.tsx +1233 -0
- package/dist/components/catalyst-ui/tools/md-renderer.tsx +61 -0
- package/dist/components/catalyst-ui/tools/monaco-sidebar.tsx +7791 -0
- package/dist/components/catalyst-ui/tools/monaco.tsx +492 -0
- package/dist/components/catalyst-ui/tools/motion-sandbox.tsx +0 -0
- package/dist/components/catalyst-ui/tools/qr-code-generator.tsx +432 -0
- package/dist/components/catalyst-ui/tools/regex-tester.tsx +508 -0
- package/dist/components/catalyst-ui/tools/responsive-preview.tsx +286 -0
- package/dist/components/catalyst-ui/tools/rich-text-editor copy.tsx +1058 -0
- package/dist/components/catalyst-ui/tools/rich-text-editor.tsx +1994 -0
- package/dist/components/catalyst-ui/tools/rte.md +119 -0
- package/dist/components/catalyst-ui/tools/sandbox.tsx +52 -0
- package/dist/components/catalyst-ui/tools/scripts-viewer.tsx +215 -0
- package/dist/components/catalyst-ui/tools/scripts.edit.tsx +3102 -0
- package/dist/components/catalyst-ui/tools/table-plugin.tsx +149 -0
- package/dist/components/catalyst-ui/tools/tailwind-converter.tsx +502 -0
- package/dist/components/catalyst-ui/tools/terminal.tsx +60 -0
- package/dist/components/catalyst-ui/tools/theme-builder.tsx +5071 -0
- package/dist/components/catalyst-ui/tools/toolbar-plugin.tsx +383 -0
- package/dist/components/catalyst-ui/tools/toolbar-plugin1.tsx +861 -0
- package/dist/components/catalyst-ui/tools/typography-tester.tsx +310 -0
- package/dist/components/catalyst-ui/tools/uuid-hash-generator.tsx +534 -0
- package/dist/components/catalyst-ui/tools/vscode-cmds.tsx +3813 -0
- package/dist/components/catalyst-ui/tools/x-viewer.tsx +135 -0
- package/dist/components/catalyst-ui/typography/animated-glitch-text.tsx +188 -0
- package/dist/components/catalyst-ui/typography/b.tsx +23 -0
- package/dist/components/catalyst-ui/typography/blockquote.tsx +35 -0
- package/dist/components/catalyst-ui/typography/check-list.tsx +130 -0
- package/dist/components/catalyst-ui/typography/code.tsx +26 -0
- package/dist/components/catalyst-ui/typography/comic-text.tsx +68 -0
- package/dist/components/catalyst-ui/typography/display-code.tsx +148 -0
- package/dist/components/catalyst-ui/typography/div.tsx +20 -0
- package/dist/components/catalyst-ui/typography/dynamic-text.tsx +149 -0
- package/dist/components/catalyst-ui/typography/encrypted-text.tsx +168 -0
- package/dist/components/catalyst-ui/typography/glitch-text.tsx +174 -0
- package/dist/components/catalyst-ui/typography/h1.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h2.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h3.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h4.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h5.tsx +19 -0
- package/dist/components/catalyst-ui/typography/highlight-1.tsx +133 -0
- package/dist/components/catalyst-ui/typography/highlight.tsx +133 -0
- package/dist/components/catalyst-ui/typography/hyper-text.tsx +135 -0
- package/dist/components/catalyst-ui/typography/i.tsx +23 -0
- package/dist/components/catalyst-ui/typography/ib.tsx +24 -0
- package/dist/components/catalyst-ui/typography/index.ts +49 -0
- package/dist/components/catalyst-ui/typography/line-shadow-text.tsx +44 -0
- package/dist/components/catalyst-ui/typography/matrix-text.tsx +186 -0
- package/dist/components/catalyst-ui/typography/ordered-list.tsx +39 -0
- package/dist/components/catalyst-ui/typography/p.tsx +19 -0
- package/dist/components/catalyst-ui/typography/paragraph-scramble.tsx +122 -0
- package/dist/components/catalyst-ui/typography/pm.tsx +20 -0
- package/dist/components/catalyst-ui/typography/prose.tsx +90 -0
- package/dist/components/catalyst-ui/typography/scroll-text.tsx +181 -0
- package/dist/components/catalyst-ui/typography/shimmer-text.tsx +105 -0
- package/dist/components/catalyst-ui/typography/sliced-text.tsx +131 -0
- package/dist/components/catalyst-ui/typography/swoosh-text.tsx +111 -0
- package/dist/components/catalyst-ui/typography/text-animate.tsx +380 -0
- package/dist/components/catalyst-ui/typography/text-highlighter.tsx +101 -0
- package/dist/components/catalyst-ui/typography/text-morph.tsx +272 -0
- package/dist/components/catalyst-ui/typography/text-reveal.tsx +71 -0
- package/dist/components/catalyst-ui/typography/text-rewind.tsx +90 -0
- package/dist/components/catalyst-ui/typography/text-scramble.tsx +111 -0
- package/dist/components/catalyst-ui/typography/text.tsx +134 -0
- package/dist/components/catalyst-ui/typography/typewriter.tsx +153 -0
- package/dist/components/catalyst-ui/typography/typing-animation.tsx +172 -0
- package/dist/components/catalyst-ui/typography/typography.tsx +67 -0
- package/dist/components/catalyst-ui/typography/unordered-list.tsx +78 -0
- package/dist/components/catalyst-ui/typography/video-text.tsx +86 -0
- package/dist/components/catalyst-ui/typography/word-rotate.tsx +48 -0
- package/dist/components/catalyst-ui/utils/auth-provider.tsx +419 -0
- package/dist/components/catalyst-ui/utils/auth.github.callback.tsx +135 -0
- package/dist/components/catalyst-ui/utils/auth.github.tsx +17 -0
- package/dist/components/catalyst-ui/utils/auth.ts +34 -0
- package/dist/components/catalyst-ui/utils/auth_github.ts +48 -0
- package/dist/components/catalyst-ui/utils/auth_session.ts +70 -0
- package/dist/components/catalyst-ui/utils/batcher.tsx +50 -0
- package/dist/components/catalyst-ui/utils/build-package-json.js +89 -0
- package/dist/components/catalyst-ui/utils/cache-assets.ts +72 -0
- package/dist/components/catalyst-ui/utils/client-only-mermaid.tsx +82 -0
- package/dist/components/catalyst-ui/utils/client-only.tsx +27 -0
- package/dist/components/catalyst-ui/utils/cors.ts +178 -0
- package/dist/components/catalyst-ui/utils/crypto.ts +96 -0
- package/dist/components/catalyst-ui/utils/dbLocal.js +74 -0
- package/dist/components/catalyst-ui/utils/dbRemote.js +74 -0
- package/dist/components/catalyst-ui/utils/demo.tsx +499 -0
- package/dist/components/catalyst-ui/utils/dynamic-links.tsx +324 -0
- package/dist/components/catalyst-ui/utils/event-stream.ts +82 -0
- package/dist/components/catalyst-ui/utils/existing-search-params.tsx +78 -0
- package/dist/components/catalyst-ui/utils/external-scripts.tsx +144 -0
- package/dist/components/catalyst-ui/utils/fetcher-context.tsx +45 -0
- package/dist/components/catalyst-ui/utils/fetcher-type.tsx +82 -0
- package/dist/components/catalyst-ui/utils/filename-icon-map.tsx +176 -0
- package/dist/components/catalyst-ui/utils/flickering-grid.tsx +188 -0
- package/dist/components/catalyst-ui/utils/get-client-ip-address.ts +52 -0
- package/dist/components/catalyst-ui/utils/get-client-locales.ts +25 -0
- package/dist/components/catalyst-ui/utils/get-headers.ts +7 -0
- package/dist/components/catalyst-ui/utils/honeypot-react.tsx +480 -0
- package/dist/components/catalyst-ui/utils/honeypot.ts +138 -0
- package/dist/components/catalyst-ui/utils/index.ts +82 -0
- package/dist/components/catalyst-ui/utils/is-prefetch.ts +19 -0
- package/dist/components/catalyst-ui/utils/json-hash.ts +33 -0
- package/dist/components/catalyst-ui/utils/keyboard-shortcut.tsx +124 -0
- package/dist/components/catalyst-ui/utils/named-action.ts +50 -0
- package/dist/components/catalyst-ui/utils/navigation-context.tsx +71 -0
- package/dist/components/catalyst-ui/utils/options.ts +20 -0
- package/dist/components/catalyst-ui/utils/otp-auth-session.ts +14 -0
- package/dist/components/catalyst-ui/utils/otp-client-auth.tsx +30 -0
- package/dist/components/catalyst-ui/utils/otp-email.tsx +104 -0
- package/dist/components/catalyst-ui/utils/parse-accept-header.ts +21 -0
- package/dist/components/catalyst-ui/utils/preload-route-assets.ts +60 -0
- package/dist/components/catalyst-ui/utils/prisma.ts +93 -0
- package/dist/components/catalyst-ui/utils/promise.ts +55 -0
- package/dist/components/catalyst-ui/utils/qr-code-1-server.tsx +42 -0
- package/dist/components/catalyst-ui/utils/qr-code-1.tsx +87 -0
- package/dist/components/catalyst-ui/utils/redirect-back.ts +35 -0
- package/dist/components/catalyst-ui/utils/redirect-bad-requests.tsx +5 -0
- package/dist/components/catalyst-ui/utils/remix-auth.ts +35 -0
- package/dist/components/catalyst-ui/utils/remix_auth_session.ts +71 -0
- package/dist/components/catalyst-ui/utils/respond-to.ts +40 -0
- package/dist/components/catalyst-ui/utils/responses.ts +130 -0
- package/dist/components/catalyst-ui/utils/rolling-cookie.tsx +39 -0
- package/dist/components/catalyst-ui/utils/safe-redirect.ts +21 -0
- package/dist/components/catalyst-ui/utils/scaffolding.tsx +14 -0
- package/dist/components/catalyst-ui/utils/scroll-top.tsx +382 -0
- package/dist/components/catalyst-ui/utils/scroll-x.tsx +22 -0
- package/dist/components/catalyst-ui/utils/scroll-xy.tsx +22 -0
- package/dist/components/catalyst-ui/utils/scroll-y.tsx +14 -0
- package/dist/components/catalyst-ui/utils/scroll.tsx +32 -0
- package/dist/components/catalyst-ui/utils/sec-fetch-parser.tsx +119 -0
- package/dist/components/catalyst-ui/utils/sec-fetch-parsers.tsx +42 -0
- package/dist/components/catalyst-ui/utils/server-only.tsx +12 -0
- package/dist/components/catalyst-ui/utils/singleton.tsx +22 -0
- package/dist/components/catalyst-ui/utils/style-provider.tsx +292 -0
- package/dist/components/catalyst-ui/utils/tailwindcss.css.txt +134 -0
- package/dist/components/catalyst-ui/utils/typed-cookie.ts +90 -0
- package/dist/components/catalyst-ui/utils/typed-session.ts +115 -0
- package/dist/components/catalyst-ui/utils/user-based-access-rules.tsx +118 -0
- package/dist/components/catalyst-ui/x/index.ts +38 -0
- package/dist/components/catalyst-ui/x/input-x.tsx +2263 -0
- package/dist/components/catalyst-ui/x/nav-x.tsx +3213 -0
- package/dist/components/catalyst-ui/x/tracker-x.tsx +2 -12
- package/dist/index.js +40623 -40650
- package/package.json +1 -1
- /package/dist/{data.tsx → components/catalyst-ui/data.tsx} +0 -0
- /package/dist/components/catalyst-ui/x/{button-X.tsx → button-x.tsx} +0 -0
|
@@ -0,0 +1,1458 @@
|
|
|
1
|
+
import React, { createContext, useCallback, useContext, useEffect, useMemo, useReducer, useRef, useState } from "react"
|
|
2
|
+
import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode } from "react"
|
|
3
|
+
import { cn, } from "~/components/catalyst-ui/utils";
|
|
4
|
+
import { Badge, BookOpenText, Braces, Code, Copy, Download, Eye, ListRestart, Maximize2, Minimize2, Minus, RotateCcw, RotateCw, Save, Square, SquareSplitHorizontal, TimerIcon, TimerReset, X, } from "lucide-react";
|
|
5
|
+
import { LiveProvider, LiveEditor, LivePreview, LiveError, } from "react-live";
|
|
6
|
+
import { ClientOnly, } from "~/utils/client-only";
|
|
7
|
+
import { Editor, } from "@monaco-editor/react";
|
|
8
|
+
import { Burger, Stripe, TextWrap, } from "@catalystsoftware/icons";
|
|
9
|
+
|
|
10
|
+
import { Alert, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AnimatedNumber, BlobContext, Button, calendarDayButtonVariants, calendarNavButtonVariants, calendarVariants, Card, CircleMenu, damping, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, DynamicContainer, DynamicDescription, DynamicDiv, DynamicIsland, DynamicIslandProvider, DynamicIslandSizePresets, DynamicTitle, FeatureCarousel, filenameIconMap, FloatingPanel, FloatingPanelBody, FloatingPanelButton, FloatingPanelCloseButton, FloatingPanelContent, FloatingPanelFooter, FloatingPanelForm, FloatingPanelHeader, FloatingPanelLabel, FloatingPanelSubmitButton, FloatingPanelTextarea, FloatingPanelTrigger, GradientHeading, headingVariants, Input, IntroDisclosure, KBD, LightBoard, LoadingCarousel, LoadingPage, LogoCarousel, Modal, MorphSurface, Motion, MotionAlertDialog, MotionAlertDialogAction, MotionAlertDialogCancel, MotionAlertDialogContent, MotionAlertDialogDescription, MotionAlertDialogFooter, MotionAlertDialogHeader, MotionAlertDialogIcon, MotionAlertDialogOverlay, MotionAlertDialogPortal, MotionAlertDialogTitle, MotionAlertDialogTrigger, MotionCalendar, MotionCalendarDayButton, MotionCard, MotionCard1, MotionCard2, MotionCardContent, MotionCardFooter, MotionCardHeader, MotionCardTrigger, MotionCarousel, MotionChoicebox, MotionChoiceboxItem, MotionChoiceboxItemContent, MotionChoiceboxItemContentWrapper, MotionChoiceboxItemDescription, MotionChoiceboxItemHeader, MotionChoiceboxItemIndicator, MotionChoiceboxItemSubtitle, MotionChoiceboxItemTitle, MotionCombobox, MotionComboboxCommand, MotionComboboxEmpty, MotionComboboxGroup, MotionComboboxInput, MotionComboboxItem, MotionComboboxList, MotionCommand, MotionCommandDialog, MotionCommandEmpty, MotionCommandGroup, MotionCommandInput, MotionCommandItem, MotionCommandList, MotionCommandSeparator, MotionContent, MotionContext, MotionContextMenu, MotionContextMenuCheckboxItem, MotionContextMenuContent, MotionContextMenuGroup, MotionContextMenuItem, MotionContextMenuLabel, MotionContextMenuPortal, MotionContextMenuRadioGroup, MotionContextMenuRadioItem, MotionContextMenuSeparator, MotionContextMenuShortcut, MotionContextMenuSub, MotionContextMenuSubContent, MotionContextMenuSubTrigger, MotionContextMenuTrigger, MotionDatePicker, MotionDialog, MotionDrawer, MotionDrawer1, MotionDrawerAnimatedContent, MotionDrawerAnimatedWrapper, MotionDrawerButton, MotionDrawerClose, MotionDrawerContent, MotionDrawerHeader, MotionDrawerOverlay, MotionDrawerPortal, MotionDrawerSecondaryButton, MotionDrawerTrigger, MotionDrawerViewContent, MotionDropdownMenu, MotionDropdownMenuAnchor, MotionDropdownMenuCheckboxItem, MotionDropdownMenuContent, MotionDropdownMenuGroup, MotionDropdownMenuItem, MotionDropdownMenuLabel, MotionDropdownMenuPortal, MotionDropdownMenuRadioGroup, MotionDropdownMenuRadioItem, MotionDropdownMenuSeparator, MotionDropdownMenuShortcut, MotionDropdownMenuSub, MotionDropdownMenuSubContent, MotionDropdownMenuSubTrigger, MotionDropdownMenuTrigger, MotionFileUpload, MotionHoverCard, MotionImages, MotionNavigationMenu, MotionNavigationMenuContent, MotionNavigationMenuIndicator, MotionNavigationMenuItem, MotionNavigationMenuLink, MotionNavigationMenuList, MotionNavigationMenuTrigger, MotionNavigationMenuViewport, MotionPanel, MotionPopover, MotionScreen, MotionScreenBackground, MotionScreenContent, MotionScreenTrigger, MotionSearchBar, MotionSelect, MotionTabs, MotionTabsContent, MotionTabsList, MotionTabsTrigger, MotionToolbar, navigationMenuTriggerStyle, PopoverForm, PopoverFormClose, PopoverFormConfirm, PopoverFormContent, PopoverFormCutOutLeftIcon, PopoverFormCutOutRightIcon, PopoverFormDescription, PopoverFormFooter, PopoverFormHeader, PopoverFormSeparator, PopoverFormSuccess, PopoverFormTitle, PopoverFormTrigger, RadialMenu, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, ShiftCard, ShiftCardContent, ShiftCardHeader, SIZE_PRESETS, SortableList, SortableListItem, SpinnerV4, stiffness, TextureButton, Timeline, TimelineContent, TimelineDate, TimelineHeader, TimelineIndicator, TimelineItem, TimelineSeparator, TimelineTitle, TimerDisplay, TimerRoot, TooltipButton, FileTree, FileTreeDragLine, FileTreeItem, FileTreeItemLabel, useCopyToClipboard, useDynamicIslandSize, useLocalStorageAutoSave, useMotion, useMotionDrawer, useScheduledAnimations, useTimer, } from "~/components/catalyst-ui";
|
|
11
|
+
/**AIInputSearch,AILoadingState,AIPrompt,AIPromptCommandsView,AIPromptInput,AIPromptOutputView,AIPromptView,AITextLoading,AIVoice,APIDocsHeader,AboutPageHeader,AbsoluteCenter,AbsoluteCenterUsage,Accordion,AccordionContent,AccordionItem,AccordionTrigger,ActionBar,ActionBar1,ActionBarBasicUsage,ActionBarContent1,ActionBarDescription1,ActionPanel,ActionSearchBar,ActionSheet,ActiveTOC,ActivityCard,AddressCard,AdvancedQRCodeExamples,Affix,AgendaView,Alert,AlertDescription,AlertDialog,AlertDialogAction,AlertDialogCancel,AlertDialogContent,AlertDialogDescription,AlertDialogFooter,AlertDialogHeader,AlertDialogOverlay,AlertDialogPortal,AlertDialogTitle,AlertDialogTrigger,AlertModal,AlertModalIntegrations1,AlertTitle,AlertV1,AllProps,AnalogClock,Anchor,AnchorText,Android,AnimatedGlitchText,AnimatedHero,AnimatedHero1,AnimatedListItem,AnimatedModal,AnimatedModalBody,AnimatedModalCloseButton,AnimatedModalContent,AnimatedModalFooter,AnimatedModalSuccessButton,AnimatedModalTrigger,AnimatedNumber,AnimatedNumberExamples,AnimatedSpan,AnimatedTestimonials,AnimatedThemeToggler,AnimatedTooltip,AnnotatedLayout,AnnotatedSection,Announcement,AnnouncementTag,AnnouncementTitle,AppDSLeft,AppShell,AppShellAside,AppShellContent,AppShellFooter,AppShellHeader,AppShellHero,AppShellMain,AppShellSection,AppWithStyleProvider,AppleBlurImage,AppleCard,AppleCarousel,AppleDock,AppleDockIcon,AppleDockItem,AppleDockLabel,AppointmentScheduler,AreaChart,ArticleMediaObject,AspectRatio,AttractButton,AutoResizingTextarea,Autocomplete,AutocompleteClear,AutocompleteCollection,AutocompleteEmpty,AutocompleteGroup,AutocompleteGroupLabel,AutocompleteInput,AutocompleteItem,AutocompleteList,AutocompletePopup,AutocompleteRow,AutocompleteSeparator,AutocompleteStatus,AutocompleteTrigger,AutocompleteValue,Avatar,AvatarCircles,AvatarFallback,AvatarGroup,AvatarGroupTooltip,AvatarGroupVariants,AvatarImage,AvatarMore,AvatarStack,B,BackgroundGradient,BackgroundPaths,Badge,Badge1,BadgeWrapper1,Banner1,Banner2,BannerAction2,BannerClose2,BannerIcon2,BannerSection,BannerTitle2,BarChart,BarList,Barcode,BarcodeCard,BarcodeGenerator,BarcodeGrid,BarcodeScanner,BarsLoader,BasicAllProps,BasicAuthMiddleware,BasicMapUsage,BasicPopoverExample,BasicQRCodeExample,BentoCard,BentoCard1,BentoCard2,BentoGrid,BentoGrid1,BentoGrid2,BentoGridItem,BentoGrids,BentoSystem,BentoSystemItem,BgAnimateButton,BlobContext,Blockquote,Blog,BlogHeader,BlogPost,BlogPostEditor,BlogSidebar,BlurFade,BorderBeam,Box,BoxUsage,Breadcrumb,BreadcrumbEllipsis,BreadcrumbItem,BreadcrumbLink,BreadcrumbList,BreadcrumbPage,BreadcrumbSeparator,Burger,BurgerButton,BurgerNavigation,Button,ButtonGroup,ButtonGroupSeparator,ButtonGroupText,ButtonVariant,CODE,COMMONNONDEAFULTSECTIONS,CORSMiddleware,Calendar,CalendarBody,CalendarDOB,CalendarDate,CalendarDatePagination,CalendarDatePicker,CalendarDayButton,CalendarDndProvider,CalendarHeader,CalendarMonthPicker,CalendarProvider,CalendarRac,CalendarSidebar,CalendarV4,CalendarV4DayButton,CalendarYearPicker,Calendars,Callout,CanvasFractalGrid,CanvasFractalGridExample,Card,CardAction,CardBody,CardBody1,CardContainer1,CardContent,CardDescription,CardFlip,CardFooter,CardHeader,CardHeading,CardHeadingWithDropdown,CardHeadingWithTabs,CardHeart,CardImage,CardItem,CardItem1,CardProduct,CardStack,CardTitle,Carousel2,CarouselHero,CarouselItem2,CarouselV1,CarouselWithIndicator,CartItem,CascadeTree,Cascader,CaseStudyHeader,CashDrawerService,CatalystTable,CatalystTableColumnHeader,CatalystTableDraggableHeader,CategoryBar,CategoryFilters,CategoryPreviews,CcInput,Center,CenterUsage,ChainOfThought,ChainOfThoughtContent,ChainOfThoughtItem,ChainOfThoughtStep,ChainOfThoughtTrigger,Changelog,ChangelogSection,ChartContainer,ChartLegend,ChartLegendContent,ChartStyle,ChartTooltip,ChartTooltipContent,Chat,ChatBasic,ChatBubble,ChatBubbleUsage,ChatContent,ChatSidebar,ChatUsage,ChatWithCustomScroll,CheckTree,CheckTreePicker,CheckableTag,Checkbox,CheckboxCard,CheckboxCardV1,CheckboxTree,CheckboxV1,Checklist,ChecklistWithState,CheckoutForm,Choicebox,ChoiceboxItem,ChoiceboxItemContent,ChoiceboxItemDescription,ChoiceboxItemHeader,ChoiceboxItemIndicator,ChoiceboxItemSubtitle,ChoiceboxItemTitle,CircleMenu,CircularLoader,ClassicLoader,CleanSmallTable,ClientOnly,Code,CodeBlock,CodeBlockBasic,CodeBlockBody,CodeBlockCSS,CodeBlockContent,CodeBlockCopyButton,CodeBlockHeader,CodeBlockItem,CodeBlockNord,CodeBlockPython,CodeBlockSection,CodeBlockSelect,CodeBlockSelectContent,CodeBlockSelectItem,CodeBlockSelectTrigger,CodeBlockSelectValue,CodeBlockThemed,CodeBlockWithHeader,CodeComparison,CodeComparison1,CodeEditor,Col,CollapseButton,Collapsible,CollapsibleContent,CollapsibleSection,CollapsibleTrigger,ColorPaletteCard,ColorPicker,ColorPicker1,ColorPicker3,ColorPickerAlpha3,ColorPickerEyeDropper3,ColorPickerFormat3,ColorPickerHue3,ColorPickerOutput3,ColorSwatch,ColorSwatchUsage,ColorWheel,ComboChart,Combobox,Combobox2,ComboboxContent2,ComboboxCreateNew2,ComboboxEmpty2,ComboboxGroup2,ComboboxInput2,ComboboxItem2,ComboboxList2,ComboboxSeparator2,ComboboxTrigger2,ComboboxV1,ComicText,Command,CommandButton,CommandDialog,CommandDialogCustom,CommandEmpty,CommandGroup,CommandInput,CommandItem,CommandList,CommandSeparator,CommandShortcut,CommandV2,CommandWCombobox,Comment,CommentForm,CommentList,CommentMediaObject,CommentUsage,CommunityHeader,Comparison,ComparisonHandle,ComparisonItem,ComponentName,ComposablePatternExample,ConfigSection,ConfigurableCanvasFractalGrid,ConfirmPopup,ConfirmationFlowExample,ConfirmationModal,ConfirmationModalIntegrations1,ConstrainedContainer,Contact,ContactPageHeader,ContactSection,Container,ContainerBasicExample,ContainerSidebarLayoutExample,Content,Content1,Content2,Content3,ContentLayout,ContextMenu,ContextMenuCheckboxItem,ContextMenuContent,ContextMenuGroup,ContextMenuItem,ContextMenuLabel,ContextMenuPortal,ContextMenuRadioGroup,ContextMenuRadioItem,ContextMenuSeparator,ContextMenuShortcut,ContextMenuSub,ContextMenuSubContent,ContextMenuSubTrigger,ContextMenuTrigger,ContextStorageMiddleware,ConversationPromptInput,ConversationWithActions,ConversationWithAvatars,ConversationWithScrollBottom,CopyButton,CopyText,Counter,CreditCard,CreditCardBack,CreditCardChip,CreditCardCvv,CreditCardExpiry,CreditCardFlipper,CreditCardForm,CreditCardFront,CreditCardLogo,CreditCardMagStripe,CreditCardName,CreditCardNumber,CreditCardServiceProvider,Cropper,Cropper1,CropperCropArea1,CropperDescription1,CropperImage1,CssSection,Cta,CurrencyTransfer,Cursor,CursorBody,CursorFollow,CursorMessage,CursorName,CursorPointer,CursorProvider,CustomFileUpload,CustomQRCode,CustomViewsExample,CustomerSupport,DIV,DSAFallback,DSAImage,DSActionButton,DSActionGrid,DSCContent,DSCTrigger,DSContent,DSDClose,DSDContent,DSDDescription,DSDFooter,DSDHeader,DSDMAnchor,DSDMCheckboxItem,DSDMContent,DSDMGroup,DSDMItem,DSDMLabel,DSDMPortal,DSDMRadioGroup,DSDMRadioItem,DSDMSeparator,DSDMShortcut,DSDMSub,DSDMSubContent,DSDMSubTrigger,DSDMTrigger,DSDOverlay,DSDPortal,DSDTitle,DSDTrigger,DSFooter,DSGroupAction,DSGroupContent,DSGroupLabel,DSInput,DSLeftIcon,DSLoading,DSMenu,DSMenuAction,DSMenuBadge,DSMenuButton,DSMenuItem,DSMenuLink,DSMenuSkeleton,DSMenuSub,DSMenuSubButton,DSMenuSubItem,DSOptInForm,DSQuickActions,DSRightIcon,DSRightRail,DSSeparator,DSThemeProvider,DSThemeSelector,DSToolbar,DataList,DataListActionMenu,DataListActions,DataListItem,DataListKeyValue,DataListLabel,DataListRow,DataListUsage,DataListValue,DataTable,DateField,DateInput,DatePicker,DatePickerInput,DateRangePicker,DateRangePickerInput,DateSegment,DayView,DebouncedInput,DeferredCard,DeferredContent,DeferredImage,DeferredTable,DescriptionDetails,DescriptionList,DescriptionListWithActions,DescriptionListWithBadges,DescriptionTerm,DevListExample,DevListSidebar,DeviceMockup,DeviceMockupUsage,Dialog,DialogClose,DialogContent,DialogDescription,DialogFooter,DialogHeader,DialogOverlay,DialogPortal,DialogSidebar,DialogStack,DialogStackBody,DialogStackContent,DialogStackDescription,DialogStackFooter,DialogStackHeader,DialogStackNext,DialogStackOverlay,DialogStackPrevious,DialogStackTitle,DialogStackTrigger,DialogTitle,DialogTrigger,Diff,DiffUsage,DigitalClock,Dimmable,Dimmer,DisplayCode,DisplayGithubInstall,DisplayInstallCode,DisplayInstallCodeArray,DocBreadcrumb,DocDescription,DocFeatureList,DocInstallTabs,DocNavigation,DocPage,DocPoweredBy,DocSection,DocTitle,Dock,Dock2,Dock2Icon,DockIcon,DockItem,DockLabel,DockedDatePicker,DockedDatePickerTrigger,DocsLayout,Document,DonutChart,DotLoader,DotLoading,DotPattern,DotsLoader,DottedMap,Draggable,DraggableCard,DraggableEvent,Drawer,DrawerClose,DrawerContent,DrawerDescription,DrawerFooter,DrawerHeader,DrawerOverlay,DrawerPortal,DrawerTitle,DrawerTrigger,Drawing,DrawingSurface,DrawingToolbar,DrawingV2,DropZone,DropdownMenu,DropdownMenuAnchor,DropdownMenuCheckboxItem,DropdownMenuContent,DropdownMenuGroup,DropdownMenuItem,DropdownMenuLabel,DropdownMenuPortal,DropdownMenuRadioGroup,DropdownMenuRadioItem,DropdownMenuSeparator,DropdownMenuShortcut,DropdownMenuSub,DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,DroppableCell,Dropzone,DropzoneContent,DropzoneEmptyState,DynamicContainer,DynamicContentTracker,DynamicDescription,DynamicDiv,DynamicHeader,DynamicIsland,DynamicIslandProvider,DynamicIslandSizePresets,DynamicLinks,DynamicRain,DynamicText,DynamicTitle,EFab,EcommerceCategory,EmailAddressInput,EmblaCarousel,EmblaCarouselContent,EmblaCarouselItem,EmblaCarouselNext,EmblaCarouselPrevious,EmojiPicker,EmojiPickerExample,Empty,EmptyCart,EmptyContent,EmptyDescription,EmptyHeader,EmptyMedia,EmptyState,EmptyTitle,ErrorPage,ErrorPageHeader,EventCalendar,EventDialog,EventItem,EventPageHeader,EventsPopup,Example,ExampleComponent1,ExcelExport,ExistingSearchParams,Expandable,ExpandableCard,ExpandableCardContent,ExpandableCardExamples,ExpandableCardFooter,ExpandableCardHeader,ExpandableContent,ExpandableContext,ExpandableScreen,ExpandableScreenBackground,ExpandableScreenContent,ExpandableScreenTrigger,ExpandableTrigger,ExportFile,ExternalDropZone,ExternalScript,ExternalScripts,FAB,FABUsage,FAQ,Fab,FabMenu,FadeIn,FadeInStagger,FancyArea,FaqSection,Feature,FeatureCarousel,FeaturePageHeader,FeatureSection,FeatureShowcase,Feed,FeedEvent,FeedbackBar,FeedbackBarBasic,FetcherProvider,Field,FieldContent,FieldDescription,FieldError,FieldGroup,FieldLabel,FieldLegend,FieldSeparator,FieldSet,FieldTitle,Fieldset,FieldsetContent,FieldsetFooter,File,FileSaver,FileTree,FileTreeDragLine,FileTreeItem,FileTreeItemLabel,FileUpload,FileUploadContent,FileUploadFlowExample,FileUploadTrigger,FileUploadV1,FilterCombobox,FilterSidebar,FixedMarker,FixedMarkerUsage,FlexContainer,FlexboxGrid,FlexboxGridBasicExample,FlexboxGridItem,FlexboxGridResponsiveExample,FlipButton,FloatButton,FloatButtonGroup,FloatLabel,FloatingLabel,FloatingPanel,FloatingPanelBody,FloatingPanelButton,FloatingPanelCloseButton,FloatingPanelContent,FloatingPanelExamples,FloatingPanelFooter,FloatingPanelForm,FloatingPanelHeader,FloatingPanelLabel,FloatingPanelSubmitButton,FloatingPanelTextarea,FloatingPanelTrigger,FlyoutMenu,Folder,Footer,FooterLayout,FormButton,FormInput,FormPopoverExample,FormSelect,FormWizard,FourOFourPage,FractalDotGrid,FractalDotGridExample,FullChatApp,FullConversation,Galleria,GlitchText,Globe,GlowingEffectCard,GoogleMap,GradientHeading,Grid,GridBasicExample,GridContainer,GridLineHorizontal,GridLineVertical,GridList,GridOffsetExample,GridResponsiveExample,Group,H1,H2,H3,H4,H5,HIGHLIGHT,Header,HeaderComponent,HeaderLayout,HeaderNavLink,HeatMapCalendar,Hero,HeroBadge,HeroSection,HeroV2,HeroVideoDialog,HexagonBackground,Highlight,HighlightUsage,HighlightV1,HighlightV1Usage,HoldButton,HoneypotInputs,HoneypotMiddleware,HoneypotProvider,HooksDocumentation,HoverCard,HoverCardContent,HoverCardTrigger,HoverVideoPaddingWrapper,HoverVideoPlayerControls,HoverVideoPlayerHoverOverlay,HoverVideoPlayerLoadingOverlay,HoverVideoPlayerPausedOverlay,HoverVideoPlayerPiPButton,HoverVideoPlayerPlayPauseButton,HoverVideoPlayerProgressBar,HoverVideoPlayerVolumeControl,Html,HyperText,I,IB,
|
|
12
|
+
errorFocusPriority,IconCloud,IconField,Iframe,Image,ImageCrop,ImageCropApply,ImageCropContent,ImageCropReset,ImageSection,ImageZoom,InPlace,InPlaceContent,InPlaceControls,InPlaceDisplay,IncId,Incentives,Indicator,InfiniteScroll,InfiniteSlider,InlineEdit,Inplace,Input,InputButton,InputButtonAction,InputButtonInput,InputButtonProvider,InputButtonSubmit,InputByok,InputGroup,InputGroupAddon,InputGroupButton,InputGroupInput,InputGroupText,InputGroupTextarea,InputIcon,InputOTP,InputOTPGroup,InputOTPSeparator,InputOTPSlot,InputText,InputWithCharactersLeft,InputWithEndAddOn,InputWithEndButton,InputWithEndIconButton,InputWithEndInlineAddOn,InputWithEndInlineButton,InputWithEndSelect,InputWithInlineAddOns,InputWithInlineStartAndEndAddOn,InputWithInnerTags,InputWithInsetLabel,InputWithMask,InputWithPasswordStrengthIndicator,InputWithStartAddOn,InputWithStartInlineAddOn,InputWithStartSelect,InputWithTags,InsufficientPermissions,InteractiveExample,InteractiveGridPattern,InteractiveIconCloud,IntroDisclosure,IntroDisclosureTab,IntroDisclosureTrigger,Iphone15Pro,Item,ItemActions,ItemContent,ItemDescription,ItemFooter,ItemGroup,ItemHeader,ItemMedia,ItemSeparator,ItemTitle,JSONInput,JSXPreview,JWKAuthMiddleware,JsonSection,KBD,KBtn,KanbanBoard,KanbanHeader,KeyFilter,KeyboardShortcut,KeyboardShortcutsProvider,Keypad,LOCAL_DS_STORAGE_KEY,Label,LabelVariant,LampContainer,LandingPage,LandingPageHeader,Layout,LayoutContainer,LayoutInner,Lens,Lid,LightBoard,LimelightNav,LineChart,LineShadowText,LiquidButton,List,List1,ListContainer,ListGroup,ListHeader,ListItem,ListItems,ListProvider,Listbox,LoadErrorPage,Loader,Loading,LoadingCarousel,LoadingOverlay,LoadingOverlayUsage,LoadingPage,LoadingSidebar,LoginForm,Logo,LogoCarousel,LogoCloud,LogoClouds666,LogoImage,LogoText,MacbookScroll,MagicCard,Magnetic,ManagedStream,MapWithCustomStyling,Markdown,Marquee,Marquee1,MatrixRain,MatrixText,MediaObject,MegaMenu,MegaMenuUsage,Mention,Menu,MenuDock,Menubar,MenubarCheckboxItem,MenubarContent,MenubarGroup,MenubarItem,MenubarLabel,MenubarMenu,MenubarPortal,MenubarRadioGroup,MenubarRadioItem,MenubarSeparator,MenubarShortcut,MenubarSub,MenubarSubContent,MenubarSubTrigger,MenubarTrigger,MermaidDiagram,Message,MessageDock,MessagesList,Meter,MinPricingPage,MiniCalendarDay,MiniCalendarDays,MiniCalendarNavigation,MinimalExample,Modal,ModalDateInput,ModalIntegrations1,MonthView,MorphSurface,MorphicNavbar,Motion,MotionAccordion,MotionAccordionContent,MotionAccordionItem,MotionAccordionTrigger,MotionAlertDialog,MotionAlertDialogAction,MotionAlertDialogCancel,MotionAlertDialogContent,MotionAlertDialogDescription,MotionAlertDialogFooter,MotionAlertDialogHeader,MotionAlertDialogIcon,MotionAlertDialogOverlay,MotionAlertDialogPortal,MotionAlertDialogTitle,MotionAlertDialogTrigger,MotionBento1,MotionBentoGrid,MotionBentoGridCard,MotionButton,MotionButtonContent,MotionButtonDescription,MotionButtonFooter,MotionButtonHeader,MotionButtonTitle,MotionButtonTrigger,MotionCalendar,MotionCalendarDayButton,MotionCard,MotionCard1,MotionCard1Back,MotionCard1BackAction,MotionCard1BackActionIcon,MotionCard1BackActionText,MotionCard1BackContent,MotionCard1BackDescription,MotionCard1BackFeature,MotionCard1BackFooter,MotionCard1BackHeader,MotionCard1BackTitle,MotionCard1Front,MotionCard1FrontDescription,MotionCard1FrontHeader,MotionCard1FrontIcon,MotionCard1FrontTitle,MotionCard2,MotionCard2Action,MotionCard2Content,MotionCard2Description,MotionCard2Footer,MotionCard2Header,MotionCard2Title,MotionCard3Body,MotionCard3Container,MotionCard3Item,MotionCardContent,MotionCardExamples,MotionCardFooter,MotionCardHeader,MotionCardTrigger,MotionCarousel,MotionChoicebox,MotionChoiceboxItem,MotionChoiceboxItemContent,MotionChoiceboxItemContentWrapper,MotionChoiceboxItemDescription,MotionChoiceboxItemHeader,MotionChoiceboxItemIndicator,MotionChoiceboxItemSubtitle,MotionChoiceboxItemTitle,MotionCombobox,MotionComboboxCommand,MotionComboboxEmpty,MotionComboboxGroup,MotionComboboxInput,MotionComboboxItem,MotionComboboxList,MotionCommand,MotionCommandDialog,MotionCommandEmpty,MotionCommandGroup,MotionCommandInput,MotionCommandItem,MotionCommandList,MotionCommandSeparator,MotionContent,MotionContext,MotionContextMenu,MotionContextMenuCheckboxItem,MotionContextMenuContent,MotionContextMenuGroup,MotionContextMenuItem,MotionContextMenuLabel,MotionContextMenuPortal,MotionContextMenuRadioGroup,MotionContextMenuRadioItem,MotionContextMenuSeparator,MotionContextMenuShortcut,MotionContextMenuSub,MotionContextMenuSubContent,MotionContextMenuSubTrigger,MotionContextMenuTrigger,MotionDatePicker,MotionDialog,MotionDialogClose,MotionDialogContent,MotionDialogDescription,MotionDialogFooter,MotionDialogHeader,MotionDialogOverlay,MotionDialogPortal,MotionDialogTitle,MotionDialogTrigger,MotionDrawer,MotionDrawer1,MotionDrawerAnimatedContent,MotionDrawerAnimatedWrapper,MotionDrawerButton,MotionDrawerClose,MotionDrawerContent,MotionDrawerHeader,MotionDrawerOverlay,MotionDrawerPortal,MotionDrawerSecondaryButton,MotionDrawerTrigger,MotionDrawerViewContent,MotionDropdown1,MotionDropdown1Content,MotionDropdown1Group,MotionDropdown1Item,MotionDropdown1ItemWithIcon,MotionDropdown1Label,MotionDropdown1Portal,MotionDropdown1ProfileTrigger,MotionDropdown1Separator,MotionDropdown1Shortcut,MotionDropdown1Sub,MotionDropdown1SubContent,MotionDropdown1SubTrigger,MotionDropdown1Trigger,MotionDropdownMenu,MotionDropdownMenuAnchor,MotionDropdownMenuCheckboxItem,MotionDropdownMenuContent,MotionDropdownMenuGroup,MotionDropdownMenuItem,MotionDropdownMenuLabel,MotionDropdownMenuPortal,MotionDropdownMenuRadioGroup,MotionDropdownMenuRadioItem,MotionDropdownMenuSeparator,MotionDropdownMenuShortcut,MotionDropdownMenuSub,MotionDropdownMenuSubContent,MotionDropdownMenuSubTrigger,MotionDropdownMenuTrigger,MotionFeatureCarousel,MotionFileUpload,MotionGroup,MotionHighlight,MotionHighlightItem,MotionHoverCard,MotionHoverCardContent,MotionHoverCardTrigger,MotionImages,MotionListItem,MotionMap,MotionNavigationMenu,MotionNavigationMenuContent,MotionNavigationMenuIndicator,MotionNavigationMenuItem,MotionNavigationMenuLink,MotionNavigationMenuList,MotionNavigationMenuTrigger,MotionNavigationMenuTriggerStyle,MotionNavigationMenuViewport,MotionPopover,MotionPopoverAnchor,MotionPopoverClose,MotionPopoverContent,MotionPopoverDescription,MotionPopoverFooter,MotionPopoverHeader,MotionPopoverTitle,MotionPopoverTrigger,MotionRadioCardItem,MotionRadioCards,MotionRating,MotionScreen,MotionScreenBackground,MotionScreenContent,MotionScreenTrigger,MotionSearch,MotionSearchBar,MotionSearchBarEmpty,MotionSearchBarGroup,MotionSearchBarInput,MotionSearchBarItem,MotionSearchBarList,MotionSearchBarSeparator,MotionSearchBarShortcut,MotionSearchContainer,MotionSearchInput,MotionSearchResults,MotionSearchResultsItem,MotionSection,MotionSelect,MotionSelectContent,MotionSelectGroup,MotionSelectItem,MotionSelectLabel,MotionSelectScrollDownButton,MotionSelectScrollUpButton,MotionSelectSeparator,MotionSelectTrigger,MotionSelectValue,MotionSpotlight,MotionTabs,MotionTabs2,MotionTabsContent,MotionTestimonials,MotionToast,MotionToolbar,MotionToolbarTabs,MotionToolbarTabsCard,MotionToolbarTabsContent,MotionToolbarTabsList,MotionToolbarTabsTrigger,MotionToolbarTabsWaveform,MotionTooltip,MotionTooltipContent,MotionTooltipProvider,MotionTooltipTrigger,MotionVideoPlayer,MotionsAvatar,MotionsAvatarFallback,MotionsAvatarGroup,MotionsAvatarImage,MotionsAvatarMore,MotionsAvatarStack,MotionsColorPicker,MouseEffectCard,MultiCascadeTree,MultiCascader,MultiColumnLayouts1,MultiColumnLayouts2,MultiColumnShell,MultiCombobox,MultiSelect,MultiStateCheckbox,MyComponent,NavActions,NavAppSidebar,NavAppointments,NavAutoSearch,NavFavorites,NavHeader,NavHeader1,NavMain,NavMessenger,NavProjects,NavSecondary,NavTreeView,NavUser,NavWorkspaces,Navbar19,NavigationMenu,NavigationMenuContent,NavigationMenuIndicator,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,NavigationMenuViewport,NavigationProvider,NestedCombobox,NestedCommand,NestedCommandDialog,Newsletter,NewsletterHeader,NoteSection,NotificationMediaObject,NotificationPopoverExample,NumberInputWithChevrons,NumberInputWithPlusMinusButtons,NumberTicker,OptionKey,OrbitingCircles,OrderCard,OrderDetailsModal,OrderHistory,OrderItem,OrderStatusBadge,OrderStatusTimeline,OrderSummary,OrderSummaryItem,OrderedList,OverlayPanel,OverlayQRCode,OverlayQRCodeExample,P,PDFGenerator,PM,PROSE,Page,PageActions,PageHeader,PageHeaderDescription,PageHeaderFunction,PageHeaderHeading,PageHeading,PageNav,Pagination,PaginationButton,PaginationContent,PaginationEllipsis,PaginationItem,PaginationLink,PaginationNext,PaginationPrevious,PaginationWithHrefs,Panel,PanelMenu,PanelUsage,ParaScramble,ParallaxScroll,ParticleButton,PasswordInput,PaymentCard,PaymentMethodSelector,PdfSignature,PdfSignatureViewer,PdfViewer,PickWithInput,Pill,PillAvatar,PillAvatarGroup,PillButton,PillDelta,PillIcon,PillIndicator,PillStatus,PillsInput,PinInput,PinList,PinPerspective,PixelImage,PlaceholderCode,Pointer,Popconfirm,Popover,PopoverAnchor,PopoverClose,PopoverContent,PopoverDateInput,PopoverDescription,PopoverExamples,PopoverFooter,PopoverForm,PopoverFormClose,PopoverFormConfirm,PopoverFormContent,PopoverFormCutOutLeftIcon,PopoverFormCutOutRightIcon,PopoverFormDescription,PopoverFormFooter,PopoverFormHeader,PopoverFormSeparator,PopoverFormSuccess,PopoverFormTitle,PopoverFormTrigger,PopoverHeader,PopoverTitle,PopoverTrigger,PrefetchPageAnchors,Preview,PricingCardCarousel,PricingCardSingle,PricingCarousel,PricingFeatureComp,PricingPageHeader,PricingPagePages,PricingSimple,PricingThreeTiers,PricingTwoTiers,PricingUsageExamples,PricingWithParams,PricingWithToggle,ProductCard,ProductFeatures,ProductList,ProductOverview,ProductPage,ProductPageHeader,ProductQuickview,ProductShowcaseCard,ProfileDropdown,Progress,ProgressBar,ProgressiveBlur,PromoSection,PromptAutocompleteHighlight,PromptChatContainerContent,PromptChatContainerRoot,PromptChatContainerScrollAnchor,PromptCodeBlock,PromptCodeBlockCode,PromptCodeBlockGroup,PromptImage,PromptInput,PromptInputAction,PromptInputActions,PromptInputTextarea,PromptInputWithActions,PromptInputWithSuggestions,PromptMessage,PromptMessageAction,PromptMessageActions,PromptMessageAvatar,PromptMessageContent,PromptSuggestion,PropsCode,PropsCopyButton,PropsCopyButtonGroup,PropsTable,ProseUsage,PulseDotLoader,PulseLoader,QRCode,QRCodeRoute,QuantityControls,QuickViewModal,REUSABLECOMPONENTSTEMPLATE,RadialMenu,RadioCardGroup,RadioCardIndicator,RadioCardItem,RadioCardItem1,RadioCards,RadioGroup,RadioGroupItem,RadioTile,RadioTileGroup,Rail,RailUsage,RangeCalendarRac,RangePicker,Rate,Rating1,Rating2,RatingButton,RatingButton1,Reasoning,ReasoningContent,ReasoningTrigger,RelativeTimeZone,RelativeTimeZoneDate,RelativeTimeZoneDisplay,RelativeTimeZoneLabel,RemixLink,RemixLinkText,RemixNavLink,RemixNavLinkText,RequestIDMiddleware,ResizableHandle,ResizablePanel,ResizablePanelGroup,ResponseStream,RetroGrid,ReusableProductEditor,ReviewItem,ReviewMediaObject,ReviewsComponent,Ripple,RippleButton,Roladex1,RollingCookie,Rolodex,RolodexOne,RootComponents,Row,Safari,SandboxCodeEditor2,SandboxConsole2,SandboxFileExplorer2,SandboxIsClient,SandboxPreview2,SandboxTabs2,SandboxTabsContent2,SandboxTabsList2,SandboxTabsTrigger2,Scaffolding,ScriptsEditor,ScriptsViewer,Scroll,ScrollArea,ScrollBar,ScrollButton,ScrollText,ScrollToTop,ScrollTop,ScrollVelocityContainer,ScrollVelocityRow,ScrollVelocityRowImpl,ScrollVelocityRowLocal,ScrollX,ScrollXY,ScrollY,SearchCommand,SearchForm,SearchInput,SearchInputWithIconAndButton,SearchInputWithKBD,SearchInputWithLoader,Section,SectionContainer,SectionHeading,SectionHeadingWithAvatar,SectionHeadingWithDropdown,SectionTitle,SecureHeadersMiddleware,Select,SelectButton,SelectContent,SelectGroup,SelectItem,SelectLabel,SelectScrollDownButton,SelectScrollUpButton,SelectSeparator,SelectTrigger,SelectValue,SendMessageEngine,Separator,SeparatorWithText,ServerOnly,ServerTimingMiddleware,SettingsMenu,Sheet,SheetClose,SheetContent,SheetDescription,SheetFooter,SheetHeader,SheetOverlay,SheetPortal,SheetTitle,SheetTrigger,ShiftCard,ShiftCardContent,ShiftCardHeader,ShimmerText,ShoppingCart,ShoppingCartDS,ShoppingCartExample,ShoppingCartSidebar,Sidebar,SidebarChatHistory,SidebarContainer,SidebarContent,SidebarDialog,SidebarFooter,SidebarGroup,SidebarGroupAction,SidebarGroupContent,SidebarGroupLabel,SidebarHeader,SidebarInput,SidebarInset,SidebarLayout,SidebarMenu,SidebarMenuAction,SidebarMenuAnchor,SidebarMenuBadge,SidebarMenuButton,SidebarMenuItem,SidebarMenuLink,SidebarMenuSkeleton,SidebarMenuSub,SidebarMenuSubButton,SidebarMenuSubItem,SidebarNav,SidebarProvider,SidebarRail,SidebarSeparator,SidebarShell,SidebarThemeProvider,SidebarThemeSelector,SidebarTrigger,Signature,SimpleTwoTierPricing,SingleDay,SingleDayMultiMonths,SiteHeader,Skeleton,SlicedText,SlideButton,Slider,SlidingNumber,SmoothCursor,SmoothDrawer,SmoothPopoverBody,SmoothPopoverButton,SmoothPopoverCloseButton,SmoothPopoverContent,SmoothPopoverFooter,SmoothPopoverForm,SmoothPopoverHeader,SmoothPopoverLabel,SmoothPopoverRoot,SmoothPopoverSubmitButton,SmoothPopoverTextarea,SmoothPopoverTrigger,SmoothTab,SocialButton,Sortable,SortableHandle,SortableItem,SortableList,SortableListItem,Source,SourceContent,SourceTrigger,SparkAreaChart,SparkBarChart,SparkLineChart,SparklesCore,SpeakerGrid,SpeedDial,Spinner,SpinnerV1,SpinnerV2,SpinnerV3,SpinnerV4,SplitButton,Spoiler,Spreadsheet,Stack,StackUsage,StackedList,StackedShell,StarRating,Stat,StatDescription,StatIcon,StatIndicator,StatLabel,StatProgress,StatText,StatUsage,StatValue,Stats,Stats1,Status,StatusBadge,StatusVariants,StepForm,StepNumber,Stepper,StepperDescription,StepperIndicator,StepperItem,StepperSeparator,StepperTitle,StepperTrigger,Steps,StepsBar,StepsContent,StepsItem,StepsTrigger,Sticky,StorageUsage,StoreNavigation,StorefrontPages,Stream,StreamBridge,StreamEmitter,StreamManagerProvider,StripeBgGuides,StyleProvider,SwissQRCode,SwissQRCodeExample,Switch,SwitchButton,SwooshText,SystemMessage,TEMPLATETEMPLATE,THEME_OPTIONS,THEME_VERSION,TOC,TabMenu,TabMenuUsage,TabPanel,TabView,Table,TableBody,TableBody1,TableCaption,TableCell,TableCell1,TableFooter,TableHead,TableHeader,TableHeader1,TableHeaderGroup1,TableOfContents,TableRow,TableRow1,Tabs,TabsContent,TabsList,TabsTrigger,Tag,TagsInput1,TailwindClassNamesDefaults,TailwindConverterExample,TaskBoard,TaskCard,TaskColumn,Team,TeamMemberMediaObject,TeamSwitcher,Terminal,TerminalCode,TerminalLoader,TestProvider,TestimonialCarousel,Testimonials,TextBlinkLoader,TextBlockquote,TextCode,TextDotsLoader,TextHighlighter,TextLarge,TextLead,TextMorph,TextParagraph,TextPre,TextReveal,TextRewind,TextScramble,TextShimmerLoader,TextSpan,TextSubtle,Textarea,TextareaV2,TextureButton,TextureCard,TextureCardContent,TextureCardDescription,TextureCardFooter,TextureCardHeader,TextureCardStyled,TextureCardTitle,TextureOverlay,TextureSeparator,ThemeSelector,ThemeSwitcher,ThemeToggleButton,ThreeDCard,ThreeDMarquee,ThreeDPin,TimeField,TimePicker,TimePickerDial,TimePickerInput,Timeline,Timeline2,TimelineContent,TimelineDate,TimelineHeader,TimelineIndicator,TimelineItem,TimelineSeparator,TimelineTitle,TimelineV1,TimerExamples,Toasty,Toggle,ToggleButton,ToggleClass,ToggleGroup,ToggleGroupItem,Tool,Toolbar,ToolbarButton,ToolbarButtonV1,ToolbarDropdownV1,ToolbarExpandable,ToolbarGroup,ToolbarGroupV1,ToolbarSearch,ToolbarSeparator,ToolbarSeparatorV1,ToolbarV1,Tooltip,TooltipButton,TooltipContent,TooltipProvider,TooltipTrigger,Tour,Tour1,Tracker,Trackpad,TransferList,Transition,TransitionablePortal,Tree,TreePicker,TreeView,TreeViewBranchControl,TreeViewBranchIndicator,TreeViewBranchText,TreeViewItem,TreeViewItemText,TreeViewLabel,TreeViewNode,TreeViewTree,TremorTracker,TrustBadges,TsxSection,TweetCard,TweetCard1,TweetNotFound1,TweetSkeleton1,Typewriter,TypingAnimation,TypingLoader,TypingMessage,TypographyExample,UnauthorizedPage,UnderConstructionPage,UnorderedList,Upload,UsageSection,UsageSectionNoDash,VSCODEEXTENSIONTEMPLATE,VersionSwitcher,VideoContent,VideoPlayer,VideoPlayerContent,VideoPlayerControlBar,VideoPlayerMuteButton,VideoPlayerPlayButton,VideoPlayerSeekBackwardButton,VideoPlayerSeekForwardButton,VideoPlayerTimeDisplay,VideoPlayerTimeRange,VideoPlayerVolumeRange,VideoPowerButton,VideoSection,VideoText,Virtualizer,VirtualizerUsage,Vortex,Watermark,WaveLoader,WeatherForecastCard,WeekView,WishlistDS,WithCookieMiddleware,WordRotate,Write,YouTubePlayer,YouTubePlayerControls,YoutubeVideo */
|
|
13
|
+
|
|
14
|
+
const FONT_SIZES = [8, 10, 12, 14, 16, 18, 20, 24, 26, 28, 30, 32, 34, 36, 38, 44]
|
|
15
|
+
|
|
16
|
+
// Create scope for React Live
|
|
17
|
+
const reactLiveScope = {
|
|
18
|
+
React, useState, useEffect, useRef, useCallback, useMemo, useContext, useReducer,
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
useTimer, PopoverForm, PopoverFormTrigger, PopoverFormContent, PopoverFormHeader, PopoverFormTitle, PopoverFormDescription, PopoverFormFooter, MotionTabs, MotionTabsList, MotionTabsTrigger, MotionTabsContent, PopoverFormClose, PopoverFormConfirm, PopoverFormSuccess, PopoverFormSeparator, PopoverFormCutOutLeftIcon, PopoverFormCutOutRightIcon, TimerRoot, MotionCommand, MotionCommandInput,MotionCommandList, MotionCarousel, MotionCommandEmpty, MotionCommandGroup, MotionComboboxCommand, MotionComboboxInput, MotionComboboxList, LogoCarousel, LoadingCarousel, LightBoard, GradientHeading, headingVariants, IntroDisclosure, FeatureCarousel, FloatingPanel, FloatingPanelTrigger, FloatingPanelContent, FloatingPanelForm, FloatingPanelLabel, FloatingPanelTextarea, FloatingPanelHeader, FloatingPanelBody, FloatingPanelFooter, FloatingPanelCloseButton, FloatingPanelSubmitButton, FloatingPanelButton, MotionChoicebox, MotionChoiceboxItem, MotionChoiceboxItemHeader, MotionChoiceboxItemTitle, MotionChoiceboxItemSubtitle, MotionChoiceboxItemDescription, MotionChoiceboxItemContentWrapper, MotionChoiceboxItemContent, MotionChoiceboxItemIndicator, MotionComboboxEmpty, MotionComboboxGroup, MotionComboboxItem, MotionCombobox, MotionCommandItem, MotionCommandSeparator, MotionCommandDialog, TimerIcon, TimerDisplay, TextureButton, MotionDatePicker, SortableListItem, ShiftCardContent, MotionToolbar, AnimatedNumber, MotionSearchBar, MotionScreen, MotionScreenTrigger, MotionScreenContent, MotionScreenBackground, MorphSurface, Motion, MotionAlertDialog, MotionAlertDialogPortal, MotionAlertDialogOverlay, DynamicContainer, DynamicTitle, DynamicDescription, DynamicIsland, SIZE_PRESETS, stiffness, DynamicDiv, damping, DynamicIslandSizePresets, BlobContext, useDynamicIslandSize, useScheduledAnimations, DynamicIslandProvider, MotionAlertDialogTrigger, MotionAlertDialogContent, MotionAlertDialogHeader, MotionAlertDialogFooter, MotionAlertDialogTitle, MotionAlertDialogDescription, MotionAlertDialogAction, MotionAlertDialogCancel, MotionAlertDialogIcon, MotionCalendar, MotionCalendarDayButton, calendarVariants, calendarDayButtonVariants, calendarNavButtonVariants, useMotion, MotionCard, MotionContent, MotionContext, MotionCardTrigger, MotionCardHeader, MotionCardContent, MotionCardFooter, MotionNavigationMenu, MotionNavigationMenuList, MotionNavigationMenuItem, MotionNavigationMenuContent, MotionNavigationMenuTrigger, MotionNavigationMenuLink, MotionNavigationMenuIndicator, MotionNavigationMenuViewport, navigationMenuTriggerStyle, SortableList, ShiftCard, ShiftCardHeader, MotionDropdownMenu, MotionDropdownMenuPortal, MotionDropdownMenuTrigger, MotionDropdownMenuContent, MotionDropdownMenuGroup, MotionDropdownMenuLabel, MotionDropdownMenuItem, MotionDropdownMenuCheckboxItem, MotionDropdownMenuRadioGroup, MotionDropdownMenuRadioItem, MotionDropdownMenuSeparator, MotionDropdownMenuShortcut, MotionDropdownMenuSub, MotionDropdownMenuSubTrigger, MotionDropdownMenuSubContent, MotionDropdownMenuAnchor, MotionDrawer, MotionDrawerTrigger, MotionDrawerPortal, MotionDrawerOverlay, MotionDrawerContent, MotionDrawerAnimatedWrapper, MotionDrawerAnimatedContent, MotionDrawerClose, MotionDrawerHeader, MotionDrawerButton, MotionDrawerSecondaryButton, MotionDrawerViewContent, useMotionDrawer, MotionContextMenu, MotionContextMenuTrigger, MotionContextMenuContent, MotionContextMenuItem, MotionContextMenuCheckboxItem, MotionContextMenuRadioItem, MotionContextMenuLabel, MotionContextMenuSeparator, MotionContextMenuShortcut, MotionContextMenuGroup, MotionContextMenuPortal, MotionContextMenuSub, MotionContextMenuSubContent, MotionContextMenuSubTrigger, MotionContextMenuRadioGroup, Button, Card, Input, Badge, Burger, KBD, Select, SelectContent, SelectItem, SelectTrigger, SelectValue, TooltipButton, Modal, Alert, SpinnerV4, useCopyToClipboard, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuSeparator, DropdownMenuCheckboxItem, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, cn, CircleMenu,
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
export type SandboxTabsContextValue = {
|
|
26
|
+
selectedTab: string | undefined
|
|
27
|
+
setSelectedTab: (value: string) => void
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
const SandboxTabsContext = createContext<SandboxTabsContextValue | undefined>(undefined)
|
|
31
|
+
|
|
32
|
+
function useSandboxTabsContext() {
|
|
33
|
+
const context = useContext(SandboxTabsContext)
|
|
34
|
+
if (!context) {
|
|
35
|
+
throw new Error("SandboxTabs2 components must be used within a SandboxTabs2")
|
|
36
|
+
}
|
|
37
|
+
return context
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export type SandboxTabsProps = HTMLAttributes<HTMLDivElement> & {
|
|
41
|
+
defaultValue?: string
|
|
42
|
+
value?: string
|
|
43
|
+
onValueChange?: (value: string) => void
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function SandboxTabs2({ className, defaultValue, value, onValueChange, ...props }: SandboxTabsProps): ReactNode {
|
|
47
|
+
const [selectedTab, setSelectedTabState] = useState(value || defaultValue)
|
|
48
|
+
|
|
49
|
+
useEffect(() => {
|
|
50
|
+
if (value !== undefined) {
|
|
51
|
+
setSelectedTabState(value)
|
|
52
|
+
}
|
|
53
|
+
}, [value])
|
|
54
|
+
|
|
55
|
+
const setSelectedTab = useCallback(
|
|
56
|
+
(newValue: string) => {
|
|
57
|
+
if (value === undefined) {
|
|
58
|
+
setSelectedTabState(newValue)
|
|
59
|
+
}
|
|
60
|
+
onValueChange?.(newValue)
|
|
61
|
+
},
|
|
62
|
+
[value, onValueChange]
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
return (
|
|
66
|
+
<SandboxTabsContext.Provider value={{ selectedTab, setSelectedTab }}>
|
|
67
|
+
<div
|
|
68
|
+
className={cn(
|
|
69
|
+
"group relative flex size-full flex-col overflow-hidden rounded-lg bg-background text-sm",
|
|
70
|
+
// " border ",
|
|
71
|
+
className
|
|
72
|
+
)}
|
|
73
|
+
{...props}
|
|
74
|
+
data-selected={selectedTab}
|
|
75
|
+
>
|
|
76
|
+
{props.children}
|
|
77
|
+
</div>
|
|
78
|
+
</SandboxTabsContext.Provider>
|
|
79
|
+
)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export type SandboxTabsListProps = HTMLAttributes<HTMLDivElement>
|
|
83
|
+
|
|
84
|
+
export function SandboxTabsList2({ className, ...props }: SandboxTabsListProps): ReactNode {
|
|
85
|
+
return (
|
|
86
|
+
<div
|
|
87
|
+
className={cn(
|
|
88
|
+
// 'inline-flex w-full shrink-0 items-center justify-start border-b bg-secondary p-2 text-muted-foreground',
|
|
89
|
+
"mb-px flex gap-x-6 border-b border-border whitespace-nowrap justify-start bg-transparent rounded-[0xp]",
|
|
90
|
+
className
|
|
91
|
+
)}
|
|
92
|
+
role="tablist"
|
|
93
|
+
{...props}
|
|
94
|
+
/>
|
|
95
|
+
)
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export type SandboxTabsTriggerProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> & {
|
|
99
|
+
value: string
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function SandboxTabsTrigger2({ className, value, ...props }: SandboxTabsTriggerProps): ReactNode {
|
|
103
|
+
const { selectedTab, setSelectedTab } = useSandboxTabsContext()
|
|
104
|
+
|
|
105
|
+
const handleClick = useCallback(() => {
|
|
106
|
+
setSelectedTab(value)
|
|
107
|
+
}, [setSelectedTab, value])
|
|
108
|
+
|
|
109
|
+
return (
|
|
110
|
+
<button
|
|
111
|
+
aria-selected={selectedTab === value}
|
|
112
|
+
className={cn(
|
|
113
|
+
// 'inline-flex items-center justify-center gap-1.5 whitespace-nowrap rounded-md px-3 py-1 font-medium text-sm ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow',
|
|
114
|
+
"-mb-px flex border-b pb-2 text-sm/7 font-medium border-transparent",
|
|
115
|
+
"text-muted-foreground hover:border-border/25",
|
|
116
|
+
"data-[state=active]:border-[#2563eb] data-[state=active]:text-foreground rounded-[0xp]",
|
|
117
|
+
className
|
|
118
|
+
)}
|
|
119
|
+
data-state={selectedTab === value ? "active" : "inactive"}
|
|
120
|
+
onClick={handleClick}
|
|
121
|
+
role="tab"
|
|
122
|
+
{...props}
|
|
123
|
+
/>
|
|
124
|
+
)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export type SandboxTabsContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
128
|
+
value: string
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function SandboxTabsContent2({ className, value, ...props }: SandboxTabsContentProps): ReactNode {
|
|
132
|
+
const { selectedTab } = useSandboxTabsContext()
|
|
133
|
+
|
|
134
|
+
return <div aria-hidden={selectedTab !== value} className={cn("flex-1 overflow-y-auto ring-offset-background transition-opacity duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2", selectedTab === value ? "h-auto w-auto opacity-100" : "pointer-events-none absolute h-0 w-0 opacity-0", className)} data-state={selectedTab === value ? "active" : "inactive"} role="tabpanel" {...props} />
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export type SandboxFileExplorerProps = HTMLAttributes<HTMLDivElement> & {
|
|
138
|
+
files: string[]
|
|
139
|
+
activeFile?: string
|
|
140
|
+
onFileSelect?: (file: string) => void
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function SandboxFileExplorer2({ className, files = [], activeFile, onFileSelect, ...props }: SandboxFileExplorerProps): ReactNode {
|
|
144
|
+
return (
|
|
145
|
+
<div className={cn("h-full bg-background p-2 font-mono text-sm", className)} {...props}>
|
|
146
|
+
<div className="space-y-0.5">
|
|
147
|
+
{files.map((file) => {
|
|
148
|
+
const defaultIcon = Object.entries(filenameIconMap).find(([pattern]) => {
|
|
149
|
+
const regex = new RegExp(`^${pattern.replace(/\\/g, "\\\\").replace(/\./g, "\\.").replace(/\*/g, ".*")}$`)
|
|
150
|
+
return file && regex.test(file)
|
|
151
|
+
})?.[1]
|
|
152
|
+
const Icon = defaultIcon
|
|
153
|
+
return (
|
|
154
|
+
<button
|
|
155
|
+
key={file}
|
|
156
|
+
onClick={() => onFileSelect?.(file)}
|
|
157
|
+
className={cn(
|
|
158
|
+
"flex w-full items-center gap-2 rounded px-2 py-1.5 text-left transition-colors",
|
|
159
|
+
|
|
160
|
+
"-mb-px flex border-b pb-2 text-sm/7 font-medium border-transparent",
|
|
161
|
+
"text-muted-foreground hover:border-border/25",
|
|
162
|
+
activeFile === file && "text-foreground border-[#2563eb] rounded-[0xp]"
|
|
163
|
+
)}
|
|
164
|
+
>
|
|
165
|
+
{Icon && <Icon className="h-4 w-4 shrink-0" />}
|
|
166
|
+
<span className="truncate text-muted-foreground">{file}</span>
|
|
167
|
+
</button>
|
|
168
|
+
)
|
|
169
|
+
})}
|
|
170
|
+
</div>
|
|
171
|
+
</div>
|
|
172
|
+
)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export type SandboxCodeEditorProps = HTMLAttributes<HTMLDivElement> & {
|
|
176
|
+
value?: string
|
|
177
|
+
onChange?: (value: string) => void
|
|
178
|
+
language?: string
|
|
179
|
+
readOnly?: boolean
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export type SandboxPreviewProps = HTMLAttributes<HTMLDivElement> & {
|
|
183
|
+
html?: string
|
|
184
|
+
srcDoc?: string
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export function SandboxPreview2({ className, code = "", ...props }: SandboxPreviewProps): ReactNode {
|
|
188
|
+
return (
|
|
189
|
+
<div className={cn("h-full bg-background overflow-auto", className)} {...props}>
|
|
190
|
+
<LiveProvider code={code} scope={reactLiveScope} noInline={false}>
|
|
191
|
+
<div className="p-4">
|
|
192
|
+
<LivePreview />
|
|
193
|
+
<LiveError className="bg-destructive/10 text-destructive p-4 rounded-lg mt-4 font-mono text-sm" />
|
|
194
|
+
</div>
|
|
195
|
+
</LiveProvider>
|
|
196
|
+
</div>
|
|
197
|
+
)
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export type SandboxConsoleProps = HTMLAttributes<HTMLDivElement> & {
|
|
201
|
+
logs?: Array<{ type: "log" | "error" | "warn"; message: string }>
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
export function SandboxConsole2({ className, logs = [], ...props }: SandboxConsoleProps): ReactNode {
|
|
205
|
+
return (
|
|
206
|
+
<div className={cn("h-full overflow-y-auto bg-background p-2 font-mono text-sm", className)} {...props}>
|
|
207
|
+
{logs.map((log, i) => (
|
|
208
|
+
<div key={i} className={cn("px-2 py-1", log.type === "error" && "text-destructive", log.type === "warn" && "text-yellow-500", log.type === "log" && "text-foreground")}>
|
|
209
|
+
<span className="text-muted-foreground">[{log.type}]</span> {log.message}
|
|
210
|
+
</div>
|
|
211
|
+
))}
|
|
212
|
+
</div>
|
|
213
|
+
)
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export function SandboxCodeEditor2({ setIsClient, activeTab, theme, handleEditorChange, handleEditorDidMount, showMinimap, fontSize, showLineNumbers, editorSettings, editorRef, isClient, className, ...props }: SandboxCodeEditorProps): ReactNode {
|
|
217
|
+
useEffect(() => {
|
|
218
|
+
setIsClient(true)
|
|
219
|
+
}, [])
|
|
220
|
+
|
|
221
|
+
const EditorLoading = () => {
|
|
222
|
+
return (
|
|
223
|
+
<div>
|
|
224
|
+
<LoadingPage />
|
|
225
|
+
</div>
|
|
226
|
+
)
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const renderEditor = () => {
|
|
230
|
+
if (!isClient || !activeTab) {
|
|
231
|
+
return <EditorLoading />
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
return (
|
|
235
|
+
<div className="h-full">
|
|
236
|
+
<Editor
|
|
237
|
+
height="100%"
|
|
238
|
+
className=""
|
|
239
|
+
loading={<SpinnerV4 title="Loading..." subtitle="Please wait while your editor loads the content." size="sm" />}
|
|
240
|
+
language={activeTab.language}
|
|
241
|
+
value={activeTab.content}
|
|
242
|
+
theme={theme}
|
|
243
|
+
onChange={handleEditorChange}
|
|
244
|
+
onMount={handleEditorDidMount}
|
|
245
|
+
options={{
|
|
246
|
+
minimap: { enabled: showMinimap },
|
|
247
|
+
fontSize: fontSize,
|
|
248
|
+
lineNumbers: showLineNumbers ? "on" : "off",
|
|
249
|
+
wordWrap: true,
|
|
250
|
+
automaticLayout: true,
|
|
251
|
+
scrollBeyondLastLine: false,
|
|
252
|
+
folding: true,
|
|
253
|
+
bracketMatching: editorSettings.bracketMatching,
|
|
254
|
+
autoClosingBrackets: editorSettings.autoClosingBrackets,
|
|
255
|
+
autoClosingQuotes: editorSettings.autoClosingQuotes,
|
|
256
|
+
autoIndent: editorSettings.autoIndent,
|
|
257
|
+
renderWhitespace: editorSettings.renderWhitespace,
|
|
258
|
+
multiCursorModifier: "alt",
|
|
259
|
+
formatOnPaste: editorSettings.formatOnPaste,
|
|
260
|
+
formatOnType: editorSettings.formatOnType,
|
|
261
|
+
smoothScrolling: editorSettings.smoothScrolling,
|
|
262
|
+
cursorBlinking: editorSettings.cursorBlinking,
|
|
263
|
+
cursorStyle: editorSettings.cursorStyle,
|
|
264
|
+
suggest: {
|
|
265
|
+
showKeywords: true,
|
|
266
|
+
showSnippets: true,
|
|
267
|
+
showFunctions: true,
|
|
268
|
+
showConstructors: true,
|
|
269
|
+
showFields: true,
|
|
270
|
+
showVariables: true,
|
|
271
|
+
showClasses: true,
|
|
272
|
+
showStructs: true,
|
|
273
|
+
showInterfaces: true,
|
|
274
|
+
showModules: true,
|
|
275
|
+
showProperties: true,
|
|
276
|
+
showEvents: true,
|
|
277
|
+
showOperators: true,
|
|
278
|
+
showUnits: true,
|
|
279
|
+
showValues: true,
|
|
280
|
+
showConstants: true,
|
|
281
|
+
showEnums: true,
|
|
282
|
+
showEnumMembers: true,
|
|
283
|
+
showColors: true,
|
|
284
|
+
showFiles: true,
|
|
285
|
+
showReferences: true,
|
|
286
|
+
showFolders: true,
|
|
287
|
+
showTypeParameters: true,
|
|
288
|
+
},
|
|
289
|
+
quickSuggestions: {
|
|
290
|
+
other: true,
|
|
291
|
+
comments: true,
|
|
292
|
+
strings: true,
|
|
293
|
+
},
|
|
294
|
+
suggestOnTriggerCharacters: true,
|
|
295
|
+
acceptSuggestionOnCommitCharacter: true,
|
|
296
|
+
acceptSuggestionOnEnter: "on",
|
|
297
|
+
tabCompletion: "on",
|
|
298
|
+
|
|
299
|
+
scrollbar: {
|
|
300
|
+
vertical: "auto",
|
|
301
|
+
// horizontal: 'auto',
|
|
302
|
+
useShadows: true,
|
|
303
|
+
verticalHasArrows: false,
|
|
304
|
+
horizontalHasArrows: false,
|
|
305
|
+
verticalScrollbarSize: 10,
|
|
306
|
+
horizontalScrollbarSize: 10,
|
|
307
|
+
arrowSize: 10,
|
|
308
|
+
},
|
|
309
|
+
mouseWheelZoom: true,
|
|
310
|
+
links: true,
|
|
311
|
+
colorDecorators: true,
|
|
312
|
+
}}
|
|
313
|
+
/>
|
|
314
|
+
</div>
|
|
315
|
+
)
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
return (
|
|
319
|
+
<div className={cn("flex-1", className)} {...props}>
|
|
320
|
+
{renderEditor()}
|
|
321
|
+
</div>
|
|
322
|
+
)
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
export function Liveplayground() {
|
|
326
|
+
return <ClientOnly>{() => <SandboxIsClient />}</ClientOnly>
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
export function SandboxIsClient() {
|
|
330
|
+
const { toast } = useToasted()
|
|
331
|
+
|
|
332
|
+
const [value, setValue] = useState("editor")
|
|
333
|
+
const [code, setCode] = useState("")
|
|
334
|
+
const [isSplitView, setIsSplitView] = useState(false)
|
|
335
|
+
const [theme, setTheme] = useState("customDark")
|
|
336
|
+
const [lastSaved, setLastSaved] = useState(null)
|
|
337
|
+
const [isSaving, setIsSaving] = useState(false)
|
|
338
|
+
const [isFullscreen, setIsFullscreen] = useState(false)
|
|
339
|
+
const [showMinimap, setShowMinimap] = useState(true)
|
|
340
|
+
const [fontSize, setFontSize] = useState(14)
|
|
341
|
+
const [showLineNumbers, setShowLineNumbers] = useState(true)
|
|
342
|
+
const [activeTabId, setActiveTabId] = useState(1)
|
|
343
|
+
const [nextTabId, setNextTabId] = useState(4)
|
|
344
|
+
const [isClient, setIsClient] = useState(false)
|
|
345
|
+
const [autoSaveEnabled, setAutoSaveEnabled] = useState(true)
|
|
346
|
+
const [isCopied, setIsCopied] = useState(false)
|
|
347
|
+
const [isPreview, setIsPreview] = useState(false)
|
|
348
|
+
const [isVisible, setIsVisible] = useState(true)
|
|
349
|
+
const [isWordWrapEnabled, setIsWordWrapEnabled] = useState(false)
|
|
350
|
+
const [isStickyScrollEnabled, setIsStickyScrollEnabled] = useState(false)
|
|
351
|
+
const [isWhitespaceRendered, setIsWhitespaceRendered] = useState(false)
|
|
352
|
+
const [areIndentGuidesRendered, setAreIndentGuidesRendered] = useState(true)
|
|
353
|
+
const [wordWrap, setWordWrap] = useState(true)
|
|
354
|
+
|
|
355
|
+
const fileInputRef = useRef<HTMLInputElement>(null)
|
|
356
|
+
const editorRef = useRef(null)
|
|
357
|
+
const saveTimeoutRef = useRef(null)
|
|
358
|
+
|
|
359
|
+
const [tabs, setTabs] = useState([
|
|
360
|
+
{
|
|
361
|
+
id: 1,
|
|
362
|
+
name: "App.jsx",
|
|
363
|
+
content: `function App() {
|
|
364
|
+
const [count, setCount] = React.useState(0);
|
|
365
|
+
const [name, setName] = React.useState('');
|
|
366
|
+
|
|
367
|
+
return (
|
|
368
|
+
<div className="p-6 space-y-6 max-w-4xl mx-auto">
|
|
369
|
+
<Card className="p-6">
|
|
370
|
+
<h1 className="text-2xl font-bold mb-4">Catalyst UI React Playground</h1>
|
|
371
|
+
|
|
372
|
+
<div className="space-y-4">
|
|
373
|
+
<h2 className="text-lg font-semibold">Interactive Example</h2>
|
|
374
|
+
|
|
375
|
+
<div className="flex gap-2 items-center">
|
|
376
|
+
<Button onClick={() => setCount(c => c + 1)}>
|
|
377
|
+
Count: {count}
|
|
378
|
+
</Button>
|
|
379
|
+
<Button variant="secondary" onClick={() => setCount(0)}>
|
|
380
|
+
Reset
|
|
381
|
+
</Button>
|
|
382
|
+
</div>
|
|
383
|
+
|
|
384
|
+
<Input
|
|
385
|
+
placeholder="Enter your name..."
|
|
386
|
+
value={name}
|
|
387
|
+
onChange={(e) => setName(e.target.value)}
|
|
388
|
+
className="max-w-xs"
|
|
389
|
+
/>
|
|
390
|
+
|
|
391
|
+
{name && (
|
|
392
|
+
<Alert>
|
|
393
|
+
Hello, {name}! Welcome to Catalyst UI.
|
|
394
|
+
</Alert>
|
|
395
|
+
)}
|
|
396
|
+
|
|
397
|
+
<div className="flex gap-2 flex-wrap">
|
|
398
|
+
<Badge>React</Badge>
|
|
399
|
+
<Badge variant="secondary">Live</Badge>
|
|
400
|
+
<Badge variant="outline">Playground</Badge>
|
|
401
|
+
</div>
|
|
402
|
+
</div>
|
|
403
|
+
</Card>
|
|
404
|
+
</div>
|
|
405
|
+
);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
`,
|
|
409
|
+
language: "javascript",
|
|
410
|
+
isDirty: false,
|
|
411
|
+
isActive: true,
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
id: 2,
|
|
415
|
+
name: "ButtonDemo.jsx",
|
|
416
|
+
content: `function ButtonDemo() {
|
|
417
|
+
return (
|
|
418
|
+
<div className="space-y-4">
|
|
419
|
+
<h3 className="font-semibold">Button Variants</h3>
|
|
420
|
+
<div className="flex gap-2 flex-wrap">
|
|
421
|
+
<Button>Default</Button>
|
|
422
|
+
<Button variant="secondary">Secondary</Button>
|
|
423
|
+
<Button variant="outline">Outline</Button>
|
|
424
|
+
<Button variant="destructive">Destructive</Button>
|
|
425
|
+
</div>
|
|
426
|
+
</div>
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
`,
|
|
431
|
+
language: "javascript",
|
|
432
|
+
isDirty: false,
|
|
433
|
+
isActive: false,
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
id: 3,
|
|
437
|
+
name: "styles.css",
|
|
438
|
+
content: `/* Custom styles can go here */
|
|
439
|
+
.custom-card {
|
|
440
|
+
border: 2px dashed #3b82f6;
|
|
441
|
+
}`,
|
|
442
|
+
language: "css",
|
|
443
|
+
isDirty: false,
|
|
444
|
+
isActive: false,
|
|
445
|
+
},
|
|
446
|
+
])
|
|
447
|
+
|
|
448
|
+
const [editorSettings, setEditorSettings] = useState({
|
|
449
|
+
bracketMatching: "always",
|
|
450
|
+
autoClosingBrackets: "always",
|
|
451
|
+
autoClosingQuotes: "always",
|
|
452
|
+
autoIndent: "full",
|
|
453
|
+
formatOnPaste: true,
|
|
454
|
+
formatOnType: true,
|
|
455
|
+
renderWhitespace: "selection",
|
|
456
|
+
smoothScrolling: true,
|
|
457
|
+
cursorBlinking: "blink",
|
|
458
|
+
cursorStyle: "line",
|
|
459
|
+
})
|
|
460
|
+
|
|
461
|
+
const customDarkTheme = {
|
|
462
|
+
base: "vs-dark",
|
|
463
|
+
inherit: true,
|
|
464
|
+
rules: [],
|
|
465
|
+
colors: {
|
|
466
|
+
"editor.background": "#020817",
|
|
467
|
+
},
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
const languages = [
|
|
471
|
+
{ value: "markdown", label: "Markdown", icon: "📝" },
|
|
472
|
+
{ value: "javascript", label: "JavaScript", icon: "🟨" },
|
|
473
|
+
{ value: "typescript", label: "TypeScript", icon: "🔷" },
|
|
474
|
+
{ value: "html", label: "HTML", icon: "🌐" },
|
|
475
|
+
{ value: "css", label: "CSS", icon: "🎨" },
|
|
476
|
+
{ value: "scss", label: "SCSS", icon: "💅" },
|
|
477
|
+
{ value: "json", label: "JSON", icon: "📋" },
|
|
478
|
+
{ value: "python", label: "Python", icon: "🐍" },
|
|
479
|
+
{ value: "sql", label: "SQL", icon: "🗃️" },
|
|
480
|
+
{ value: "yaml", label: "YAML", icon: "⚙️" },
|
|
481
|
+
{ value: "xml", label: "XML", icon: "📄" },
|
|
482
|
+
{ value: "java", label: "Java", icon: "☕" },
|
|
483
|
+
{ value: "csharp", label: "C#", icon: "💜" },
|
|
484
|
+
{ value: "cpp", label: "C++", icon: "⚡" },
|
|
485
|
+
{ value: "php", label: "PHP", icon: "🔮" },
|
|
486
|
+
{ value: "rust", label: "Rust", icon: "🦀" },
|
|
487
|
+
{ value: "go", label: "Go", icon: "🐹" },
|
|
488
|
+
{ value: "shell", label: "Shell", icon: "🐚" },
|
|
489
|
+
]
|
|
490
|
+
|
|
491
|
+
const activeTab = tabs.find((tab) => tab.id === activeTabId)
|
|
492
|
+
|
|
493
|
+
useEffect(() => {
|
|
494
|
+
setIsClient(true)
|
|
495
|
+
}, [])
|
|
496
|
+
|
|
497
|
+
const handleEditorChange = (value) => {
|
|
498
|
+
setTabs((prev) => prev.map((tab) => (tab.id === activeTabId ? { ...tab, content: value || "", isDirty: true } : tab)))
|
|
499
|
+
setCode(value)
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
useEffect(() => {
|
|
503
|
+
if (!isClient) return
|
|
504
|
+
|
|
505
|
+
const savedTabs = []
|
|
506
|
+
|
|
507
|
+
// Check each existing tab to see if there's saved content
|
|
508
|
+
tabs.forEach((tab) => {
|
|
509
|
+
const savedContent = localStorage.getItem(`live-playground-${tab.id}`)
|
|
510
|
+
const savedName = localStorage.getItem(`live-playground-${tab.id}-name`)
|
|
511
|
+
const savedLanguage = localStorage.getItem(`live-playground-${tab.id}-language`)
|
|
512
|
+
|
|
513
|
+
if (savedContent) {
|
|
514
|
+
savedTabs.push({
|
|
515
|
+
...tab,
|
|
516
|
+
name: savedName || tab.name,
|
|
517
|
+
content: savedContent,
|
|
518
|
+
language: savedLanguage || tab.language,
|
|
519
|
+
isDirty: false,
|
|
520
|
+
})
|
|
521
|
+
} else {
|
|
522
|
+
// Keep the default tab if nothing was saved
|
|
523
|
+
savedTabs.push(tab)
|
|
524
|
+
}
|
|
525
|
+
})
|
|
526
|
+
|
|
527
|
+
// Check for any additional tabs beyond the defaults
|
|
528
|
+
let index = Math.max(...tabs.map((t) => t.id)) + 1
|
|
529
|
+
while (true) {
|
|
530
|
+
const savedContent = localStorage.getItem(`live-playground-${index}`)
|
|
531
|
+
const savedName = localStorage.getItem(`live-playground-${index}-name`)
|
|
532
|
+
const savedLanguage = localStorage.getItem(`live-playground-${index}-language`)
|
|
533
|
+
|
|
534
|
+
if (!savedContent) break
|
|
535
|
+
|
|
536
|
+
savedTabs.push({
|
|
537
|
+
id: index,
|
|
538
|
+
name: savedName || `tab-${index}.md`,
|
|
539
|
+
content: savedContent,
|
|
540
|
+
language: savedLanguage || "markdown",
|
|
541
|
+
isDirty: false,
|
|
542
|
+
isActive: false,
|
|
543
|
+
})
|
|
544
|
+
|
|
545
|
+
index++
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
if (savedTabs.length > 0) {
|
|
549
|
+
setTabs(savedTabs.map((tab, i) => ({ ...tab, isActive: i === 0 })))
|
|
550
|
+
setNextTabId(Math.max(...savedTabs.map((t) => t.id)) + 1)
|
|
551
|
+
setCode(savedTabs[0].content)
|
|
552
|
+
}
|
|
553
|
+
}, [isClient])
|
|
554
|
+
|
|
555
|
+
const autoSave = useCallback(
|
|
556
|
+
async (tabId, content) => {
|
|
557
|
+
const tab = tabs.find((t) => t.id === tabId)
|
|
558
|
+
if (!tab?.isDirty || !autoSaveEnabled) return
|
|
559
|
+
|
|
560
|
+
setIsSaving(true)
|
|
561
|
+
try {
|
|
562
|
+
localStorage.setItem(`live-playground-${tabId}`, content)
|
|
563
|
+
localStorage.setItem(`live-playground-${tabId}-name`, tab.name)
|
|
564
|
+
localStorage.setItem(`live-playground-${tabId}-language`, tab.language)
|
|
565
|
+
setTabs((prev) => prev.map((t) => (t.id === tabId ? { ...t, isDirty: false } : t)))
|
|
566
|
+
setLastSaved(new Date())
|
|
567
|
+
} catch (error) {
|
|
568
|
+
console.error("Save failed:", error)
|
|
569
|
+
} finally {
|
|
570
|
+
setIsSaving(false)
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
[tabs, autoSaveEnabled]
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
useEffect(() => {
|
|
577
|
+
if (activeTab?.isDirty && autoSaveEnabled) {
|
|
578
|
+
clearTimeout(saveTimeoutRef.current)
|
|
579
|
+
saveTimeoutRef.current = setTimeout(() => {
|
|
580
|
+
autoSave(activeTabId, activeTab.content)
|
|
581
|
+
}, 2000)
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
return () => clearTimeout(saveTimeoutRef.current)
|
|
585
|
+
}, [activeTab?.content, activeTab?.isDirty, activeTabId, autoSave, autoSaveEnabled])
|
|
586
|
+
|
|
587
|
+
const getFileExtension = (language) => {
|
|
588
|
+
const extensions = {
|
|
589
|
+
javascript: "js",
|
|
590
|
+
typescript: "ts",
|
|
591
|
+
html: "html",
|
|
592
|
+
css: "css",
|
|
593
|
+
scss: "scss",
|
|
594
|
+
json: "json",
|
|
595
|
+
python: "py",
|
|
596
|
+
sql: "sql",
|
|
597
|
+
yaml: "yml",
|
|
598
|
+
xml: "xml",
|
|
599
|
+
java: "java",
|
|
600
|
+
csharp: "cs",
|
|
601
|
+
cpp: "cpp",
|
|
602
|
+
php: "php",
|
|
603
|
+
rust: "rs",
|
|
604
|
+
go: "go",
|
|
605
|
+
shell: "sh",
|
|
606
|
+
markdown: "md",
|
|
607
|
+
}
|
|
608
|
+
return extensions[language] || "txt"
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
const getTemplateForLanguage = (language) => {
|
|
612
|
+
const templates = {
|
|
613
|
+
javascript: "// JavaScript code\n",
|
|
614
|
+
typescript: "// TypeScript code\n",
|
|
615
|
+
html: "<!DOCTYPE html>\n<html>\n<head>\n <title>Document</title>\n</head>\n<body>\n \n</body>\n</html>",
|
|
616
|
+
css: "/* CSS styles */\n",
|
|
617
|
+
markdown: "# Markdown Document\n\n",
|
|
618
|
+
python: "# Python code\n",
|
|
619
|
+
json: "{\n \n}",
|
|
620
|
+
}
|
|
621
|
+
return templates[language] || ""
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
const toggleFullscreen = () => {
|
|
625
|
+
if (!document.fullscreenElement) {
|
|
626
|
+
document.documentElement.requestFullscreen()
|
|
627
|
+
setIsFullscreen(true)
|
|
628
|
+
} else {
|
|
629
|
+
document.exitFullscreen()
|
|
630
|
+
setIsFullscreen(false)
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
const createNewTab = useCallback(
|
|
635
|
+
(language = "markdown") => {
|
|
636
|
+
const newTab = {
|
|
637
|
+
id: nextTabId,
|
|
638
|
+
name: `untitled-${nextTabId}.${getFileExtension(language)}`,
|
|
639
|
+
content: getTemplateForLanguage(language),
|
|
640
|
+
language,
|
|
641
|
+
isDirty: false,
|
|
642
|
+
isActive: true,
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
setTabs((prev) => prev.map((tab) => ({ ...tab, isActive: false })))
|
|
646
|
+
setTabs((prev) => [...prev, newTab])
|
|
647
|
+
setActiveTabId(nextTabId)
|
|
648
|
+
setNextTabId((prev) => prev + 1)
|
|
649
|
+
},
|
|
650
|
+
[nextTabId]
|
|
651
|
+
)
|
|
652
|
+
|
|
653
|
+
const closeTab = useCallback(
|
|
654
|
+
(tabId) => {
|
|
655
|
+
if (tabs.length === 1) return
|
|
656
|
+
|
|
657
|
+
setTabs((prev) => {
|
|
658
|
+
const newTabs = prev.filter((tab) => tab.id !== tabId)
|
|
659
|
+
if (tabId === activeTabId) {
|
|
660
|
+
const nextTab = newTabs[0] || newTabs[newTabs.length - 1]
|
|
661
|
+
setActiveTabId(nextTab?.id || 1)
|
|
662
|
+
}
|
|
663
|
+
return newTabs
|
|
664
|
+
})
|
|
665
|
+
},
|
|
666
|
+
[tabs.length, activeTabId]
|
|
667
|
+
)
|
|
668
|
+
|
|
669
|
+
const handleManualSave = useCallback(() => {
|
|
670
|
+
if (activeTab?.isDirty) {
|
|
671
|
+
clearTimeout(saveTimeoutRef.current)
|
|
672
|
+
autoSave(activeTabId, activeTab.content)
|
|
673
|
+
}
|
|
674
|
+
}, [activeTab, activeTabId, autoSave])
|
|
675
|
+
|
|
676
|
+
const handleEditorDidMount = (editor, monaco) => {
|
|
677
|
+
editorRef.current = editor
|
|
678
|
+
monaco.editor.defineTheme("customDark", customDarkTheme)
|
|
679
|
+
monaco.editor.setTheme("customDark")
|
|
680
|
+
|
|
681
|
+
editor.addCommand(
|
|
682
|
+
monaco.KeyCode.Enter,
|
|
683
|
+
() => {
|
|
684
|
+
const model = editor.getModel()
|
|
685
|
+
const position = editor.getPosition()
|
|
686
|
+
const lineContent = model.getLineContent(position.lineNumber)
|
|
687
|
+
|
|
688
|
+
const taskMatch = lineContent.match(/^(\s*)-\s+\[([ xX])\]\s*(.*)$/)
|
|
689
|
+
const unorderedMatch = lineContent.match(/^(\s*)([-*+])\s+(.*)$/)
|
|
690
|
+
const orderedMatch = lineContent.match(/^(\s*)(\d+)\.\s+(.*)$/)
|
|
691
|
+
|
|
692
|
+
if (taskMatch) {
|
|
693
|
+
const [fullMatch, indent, checked, content] = taskMatch
|
|
694
|
+
const isCursorAtEnd = position.column === lineContent.length + 1
|
|
695
|
+
|
|
696
|
+
if (content.trim() === "" || (content.trim() === "" && isCursorAtEnd)) {
|
|
697
|
+
const endOfMarker = indent.length + 6
|
|
698
|
+
editor.executeEdits("list-break", [
|
|
699
|
+
{
|
|
700
|
+
range: new monaco.Range(position.lineNumber, indent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
701
|
+
text: "",
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
range: new monaco.Range(position.lineNumber, lineContent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
705
|
+
text: "\n",
|
|
706
|
+
},
|
|
707
|
+
])
|
|
708
|
+
editor.setPosition({ lineNumber: position.lineNumber + 1, column: indent.length + 1 })
|
|
709
|
+
} else {
|
|
710
|
+
const newText = "\n" + indent + "- [ ] "
|
|
711
|
+
editor.executeEdits("list-continue", [
|
|
712
|
+
{
|
|
713
|
+
range: new monaco.Range(position.lineNumber, position.column, position.lineNumber, position.column),
|
|
714
|
+
text: newText,
|
|
715
|
+
},
|
|
716
|
+
])
|
|
717
|
+
editor.setPosition({
|
|
718
|
+
lineNumber: position.lineNumber + 1,
|
|
719
|
+
column: indent.length + 7,
|
|
720
|
+
})
|
|
721
|
+
}
|
|
722
|
+
return true
|
|
723
|
+
} else if (unorderedMatch) {
|
|
724
|
+
const [fullMatch, indent, marker, content] = unorderedMatch
|
|
725
|
+
|
|
726
|
+
if (content.trim() === "") {
|
|
727
|
+
editor.executeEdits("list-break", [
|
|
728
|
+
{
|
|
729
|
+
range: new monaco.Range(position.lineNumber, indent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
730
|
+
text: "",
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
range: new monaco.Range(position.lineNumber, lineContent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
734
|
+
text: "\n",
|
|
735
|
+
},
|
|
736
|
+
])
|
|
737
|
+
editor.setPosition({ lineNumber: position.lineNumber + 1, column: indent.length + 1 })
|
|
738
|
+
} else {
|
|
739
|
+
const newText = "\n" + indent + marker + " "
|
|
740
|
+
editor.executeEdits("list-continue", [
|
|
741
|
+
{
|
|
742
|
+
range: new monaco.Range(position.lineNumber, position.column, position.lineNumber, position.column),
|
|
743
|
+
text: newText,
|
|
744
|
+
},
|
|
745
|
+
])
|
|
746
|
+
editor.setPosition({
|
|
747
|
+
lineNumber: position.lineNumber + 1,
|
|
748
|
+
column: indent.length + marker.length + 2,
|
|
749
|
+
})
|
|
750
|
+
}
|
|
751
|
+
return true
|
|
752
|
+
} else if (orderedMatch) {
|
|
753
|
+
const [fullMatch, indent, num, content] = orderedMatch
|
|
754
|
+
|
|
755
|
+
if (content.trim() === "") {
|
|
756
|
+
editor.executeEdits("list-break", [
|
|
757
|
+
{
|
|
758
|
+
range: new monaco.Range(position.lineNumber, indent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
759
|
+
text: "",
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
range: new monaco.Range(position.lineNumber, lineContent.length + 1, position.lineNumber, lineContent.length + 1),
|
|
763
|
+
text: "\n",
|
|
764
|
+
},
|
|
765
|
+
])
|
|
766
|
+
editor.setPosition({ lineNumber: position.lineNumber + 1, column: indent.length + 1 })
|
|
767
|
+
} else {
|
|
768
|
+
const nextNum = parseInt(num) + 1
|
|
769
|
+
const newText = "\n" + indent + nextNum + ". "
|
|
770
|
+
editor.executeEdits("list-continue", [
|
|
771
|
+
{
|
|
772
|
+
range: new monaco.Range(position.lineNumber, position.column, position.lineNumber, position.column),
|
|
773
|
+
text: newText,
|
|
774
|
+
},
|
|
775
|
+
])
|
|
776
|
+
editor.setPosition({
|
|
777
|
+
lineNumber: position.lineNumber + 1,
|
|
778
|
+
column: indent.length + nextNum.toString().length + 3,
|
|
779
|
+
})
|
|
780
|
+
}
|
|
781
|
+
return true
|
|
782
|
+
} else {
|
|
783
|
+
editor.trigger("keyboard", "type", { text: "\n" })
|
|
784
|
+
return false
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
""
|
|
788
|
+
)
|
|
789
|
+
|
|
790
|
+
editor.addCommand(monaco.KeyMod.Alt | monaco.KeyCode.KeyS, () => {
|
|
791
|
+
handleManualSave()
|
|
792
|
+
})
|
|
793
|
+
|
|
794
|
+
editor.addCommand(monaco.KeyMod.Alt | monaco.KeyCode.KeyP, () => {
|
|
795
|
+
setIsPreview((prev) => !prev)
|
|
796
|
+
})
|
|
797
|
+
|
|
798
|
+
editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.Equal, () => {
|
|
799
|
+
setFontSize((prev) => Math.min(prev + 1, 24))
|
|
800
|
+
})
|
|
801
|
+
|
|
802
|
+
editor.addCommand(monaco.KeyMod.CtrlCmd | monaco.KeyCode.Minus, () => {
|
|
803
|
+
setFontSize((prev) => Math.max(prev - 1, 8))
|
|
804
|
+
})
|
|
805
|
+
|
|
806
|
+
editor.focus()
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
function resetLocalStorage() {
|
|
810
|
+
localStorage.clear()
|
|
811
|
+
toast.success("Success", "Local storage has been reset!", { variant: "accent" })
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
const editorFind = () => {
|
|
815
|
+
if (editorRef.current) {
|
|
816
|
+
editorRef.current.trigger("menu", "actions.find", null)
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
|
|
820
|
+
const editorFindReplace = () => {
|
|
821
|
+
if (editorRef.current) {
|
|
822
|
+
editorRef.current.trigger("menu", "editor.action.startFindReplace", null)
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
const editorFoldAll = () => {
|
|
827
|
+
if (editorRef.current) {
|
|
828
|
+
editorRef.current.trigger("menu", "editor.foldAll", null)
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
const editorUnfoldAll = () => {
|
|
833
|
+
if (editorRef.current) {
|
|
834
|
+
editorRef.current.trigger("menu", "editor.unfoldAll", null)
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
const closeAllTabs = () => {
|
|
839
|
+
setTabs([])
|
|
840
|
+
createNewTab()
|
|
841
|
+
handleManualSave()
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
useEffect(() => {
|
|
845
|
+
setIsVisible(true)
|
|
846
|
+
const timer = setTimeout(() => {
|
|
847
|
+
setIsVisible(false)
|
|
848
|
+
}, 5000)
|
|
849
|
+
return () => clearTimeout(timer)
|
|
850
|
+
}, [lastSaved])
|
|
851
|
+
|
|
852
|
+
const editorChangeAllOccurrences = () => {
|
|
853
|
+
if (editorRef.current) {
|
|
854
|
+
editorRef.current.trigger("menu", "editor.action.selectHighlights", null)
|
|
855
|
+
}
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
const editorToggleBlockComment = () => {
|
|
859
|
+
if (editorRef.current) {
|
|
860
|
+
editorRef.current.trigger("menu", "editor.action.blockComment", null)
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
const editorToggleSoftWraps = () => {
|
|
865
|
+
const newStatus = !isWordWrapEnabled
|
|
866
|
+
setIsWordWrapEnabled(newStatus)
|
|
867
|
+
|
|
868
|
+
if (editorRef.current) {
|
|
869
|
+
editorRef.current.updateOptions({
|
|
870
|
+
wordWrap: newStatus ? "on" : "off",
|
|
871
|
+
})
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
const editorToggleStickyScroll = () => {
|
|
876
|
+
const newStatus = !isStickyScrollEnabled
|
|
877
|
+
setIsStickyScrollEnabled(newStatus)
|
|
878
|
+
|
|
879
|
+
if (editorRef.current) {
|
|
880
|
+
editorRef.current.updateOptions({
|
|
881
|
+
"stickyScroll.enabled": newStatus,
|
|
882
|
+
})
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
const editorToggleRenderWhitespace = () => {
|
|
887
|
+
const newStatus = !isWhitespaceRendered
|
|
888
|
+
setIsWhitespaceRendered(newStatus)
|
|
889
|
+
const renderMode = newStatus ? "all" : "none"
|
|
890
|
+
|
|
891
|
+
if (editorRef.current) {
|
|
892
|
+
editorRef.current.updateOptions({
|
|
893
|
+
renderWhitespace: renderMode,
|
|
894
|
+
})
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
const editorToggleIndentGuides = () => {
|
|
899
|
+
const newStatus = !areIndentGuidesRendered
|
|
900
|
+
setAreIndentGuidesRendered(newStatus)
|
|
901
|
+
|
|
902
|
+
if (editorRef.current) {
|
|
903
|
+
editorRef.current.updateOptions({
|
|
904
|
+
renderIndentGuides: newStatus,
|
|
905
|
+
})
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
const handleClick = (content, filename) => {
|
|
910
|
+
const blob = new Blob([content], { type: "text/plain" })
|
|
911
|
+
const url = URL.createObjectURL(blob)
|
|
912
|
+
const link = document.createElement("a")
|
|
913
|
+
link.href = url
|
|
914
|
+
link.download = filename
|
|
915
|
+
link.click()
|
|
916
|
+
URL.revokeObjectURL(url)
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
const copyToClipboard = (text) => {
|
|
920
|
+
navigator.clipboard.writeText(text)
|
|
921
|
+
setIsCopied(true)
|
|
922
|
+
setTimeout(() => setIsCopied(false), 2000)
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
const onOpen = (e) => {
|
|
926
|
+
const file = e.target.files?.[0]
|
|
927
|
+
if (!file) return
|
|
928
|
+
|
|
929
|
+
const reader = new FileReader()
|
|
930
|
+
reader.onload = (event) => {
|
|
931
|
+
const content = event.target?.result
|
|
932
|
+
if (typeof content === "string") {
|
|
933
|
+
setCode(content)
|
|
934
|
+
if (activeTab) {
|
|
935
|
+
setTabs((prev) => prev.map((tab) => (tab.id === activeTabId ? { ...tab, content, isDirty: true } : tab)))
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
reader.readAsText(file)
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
const options = {
|
|
943
|
+
year: "numeric",
|
|
944
|
+
month: "short",
|
|
945
|
+
day: "numeric",
|
|
946
|
+
hour: "2-digit",
|
|
947
|
+
minute: "2-digit",
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
const TabComponent = ({ tab, isActive, onClose, onSelect }) => {
|
|
951
|
+
const defaultIcon = Object.entries(filenameIconMap).find(([pattern]) => {
|
|
952
|
+
const regex = new RegExp(`^${pattern.replace(/\\/g, "\\\\").replace(/\./g, "\\.").replace(/\*/g, ".*")}$`)
|
|
953
|
+
return tab.language && regex.test(tab.language)
|
|
954
|
+
})?.[1]
|
|
955
|
+
const Icon = defaultIcon
|
|
956
|
+
return (
|
|
957
|
+
<div className={`flex items-center px-3 py-2 border-r border-border cursor-pointer transition-colors ${isActive ? "bg-background text-foreground border-b-2 border-[#1447e6]" : "bg-muted text-muted-foreground hover:bg-background hover:text-foreground"}`} onClick={() => onSelect(tab.id)}>
|
|
958
|
+
{Icon && <Icon className="h-4 w-4 shrink-0" />}
|
|
959
|
+
<span className="text-sm truncate max-w-32">{tab.name}</span>
|
|
960
|
+
{tab.isDirty && <span className="ml-1 text-destructive">●</span>}
|
|
961
|
+
<button
|
|
962
|
+
onClick={(e) => {
|
|
963
|
+
e.stopPropagation()
|
|
964
|
+
onClose(tab.id)
|
|
965
|
+
}}
|
|
966
|
+
className="ml-2 p-1 rounded hover:bg-destructive/20 hover:text-destructive"
|
|
967
|
+
>
|
|
968
|
+
<X className="h-3 w-3" />
|
|
969
|
+
</button>
|
|
970
|
+
</div>
|
|
971
|
+
)
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
function KBDShortcut({
|
|
975
|
+
name = "Save",
|
|
976
|
+
sc = (
|
|
977
|
+
<>
|
|
978
|
+
<KBD>Alt</KBD>
|
|
979
|
+
{" & "}
|
|
980
|
+
<KBD>S</KBD>
|
|
981
|
+
</>
|
|
982
|
+
),
|
|
983
|
+
}) {
|
|
984
|
+
return (
|
|
985
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground">
|
|
986
|
+
{name}
|
|
987
|
+
<DropdownMenuShortcut>{sc}</DropdownMenuShortcut>
|
|
988
|
+
</DropdownMenuItem>
|
|
989
|
+
)
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
const Toolbar = () => (
|
|
993
|
+
<div className="flex items-center space-x-2">
|
|
994
|
+
{isSaving && !isVisible && !lastSaved && (
|
|
995
|
+
<Badge variant="outline" className="text-muted-foreground w-fit transition-opacity duration-500">
|
|
996
|
+
Saving...
|
|
997
|
+
</Badge>
|
|
998
|
+
)}
|
|
999
|
+
{isVisible && lastSaved && (
|
|
1000
|
+
<Badge variant="outline" className="text-muted-foreground w-fit transition-opacity duration-500">
|
|
1001
|
+
Saved: {new Date(lastSaved).toLocaleString("en-US", options)}
|
|
1002
|
+
</Badge>
|
|
1003
|
+
)}
|
|
1004
|
+
{isCopied && (
|
|
1005
|
+
<Badge variant="outline" className="text-muted-foreground w-fit transition-opacity duration-500">
|
|
1006
|
+
Copied contents to clipboard!
|
|
1007
|
+
</Badge>
|
|
1008
|
+
)}
|
|
1009
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground" onClick={() => setValue(value === "editor" ? "preview" : "editor")}>
|
|
1010
|
+
{value === "editor" ? "Preview" : "Editor"}
|
|
1011
|
+
</Button>
|
|
1012
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground" onClick={() => setValue("Console")}>
|
|
1013
|
+
Console
|
|
1014
|
+
</Button>
|
|
1015
|
+
{/** File */}
|
|
1016
|
+
<DropdownMenu>
|
|
1017
|
+
<DropdownMenuTrigger>
|
|
1018
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground">
|
|
1019
|
+
File
|
|
1020
|
+
</Button>
|
|
1021
|
+
</DropdownMenuTrigger>
|
|
1022
|
+
<DropdownMenuContent>
|
|
1023
|
+
<DropdownMenuLabel>Monaco Editor</DropdownMenuLabel>
|
|
1024
|
+
<DropdownMenuSeparator />
|
|
1025
|
+
<DropdownMenuGroup>
|
|
1026
|
+
{/** Open File */}
|
|
1027
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => fileInputRef.current?.click()}>
|
|
1028
|
+
Open File
|
|
1029
|
+
<DropdownMenuShortcut>
|
|
1030
|
+
<BookOpenText />
|
|
1031
|
+
</DropdownMenuShortcut>
|
|
1032
|
+
</DropdownMenuItem>
|
|
1033
|
+
<input ref={fileInputRef} type="file" accept=".md" onChange={onOpen} style={{ display: "none" }} />
|
|
1034
|
+
{/** save */}
|
|
1035
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" disabled={!activeTab?.isDirty} onClick={handleManualSave}>
|
|
1036
|
+
Save
|
|
1037
|
+
<DropdownMenuShortcut>
|
|
1038
|
+
<Save />
|
|
1039
|
+
</DropdownMenuShortcut>
|
|
1040
|
+
</DropdownMenuItem>
|
|
1041
|
+
{/** ExportFile */}
|
|
1042
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => handleClick(code, activeTab.name)}>
|
|
1043
|
+
Export
|
|
1044
|
+
<DropdownMenuShortcut>
|
|
1045
|
+
<Download />
|
|
1046
|
+
</DropdownMenuShortcut>
|
|
1047
|
+
</DropdownMenuItem>
|
|
1048
|
+
</DropdownMenuGroup>
|
|
1049
|
+
<DropdownMenuSeparator />
|
|
1050
|
+
<DropdownMenuGroup>
|
|
1051
|
+
{/** Copy Text */}
|
|
1052
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => copyToClipboard(code)}>
|
|
1053
|
+
Place File Contents In Clipboard
|
|
1054
|
+
<DropdownMenuShortcut>
|
|
1055
|
+
<Copy />
|
|
1056
|
+
</DropdownMenuShortcut>
|
|
1057
|
+
</DropdownMenuItem>
|
|
1058
|
+
{/** Reset Local Storage */}
|
|
1059
|
+
<AlertDialog>
|
|
1060
|
+
<AlertDialogTrigger asChild>
|
|
1061
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground">
|
|
1062
|
+
Reset Local Storage
|
|
1063
|
+
<DropdownMenuShortcut>
|
|
1064
|
+
<ListRestart />
|
|
1065
|
+
</DropdownMenuShortcut>
|
|
1066
|
+
</DropdownMenuItem>
|
|
1067
|
+
</AlertDialogTrigger>
|
|
1068
|
+
<AlertDialogContent>
|
|
1069
|
+
<AlertDialogHeader>
|
|
1070
|
+
<AlertDialogTitle>Are you absolutely sure?</AlertDialogTitle>
|
|
1071
|
+
<AlertDialogDescription>This action cannot be undone. This will permanently delete your local storage data that contains the data from your tabs within this editor.</AlertDialogDescription>
|
|
1072
|
+
</AlertDialogHeader>
|
|
1073
|
+
<AlertDialogFooter>
|
|
1074
|
+
<AlertDialogCancel>Cancel</AlertDialogCancel>
|
|
1075
|
+
<AlertDialogAction onClick={() => resetLocalStorage()}>Continue</AlertDialogAction>
|
|
1076
|
+
</AlertDialogFooter>
|
|
1077
|
+
</AlertDialogContent>
|
|
1078
|
+
</AlertDialog>
|
|
1079
|
+
</DropdownMenuGroup>
|
|
1080
|
+
<DropdownMenuSeparator />
|
|
1081
|
+
</DropdownMenuContent>
|
|
1082
|
+
</DropdownMenu>
|
|
1083
|
+
|
|
1084
|
+
{/** Edit */}
|
|
1085
|
+
<DropdownMenu>
|
|
1086
|
+
<DropdownMenuTrigger>
|
|
1087
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground">
|
|
1088
|
+
Edit
|
|
1089
|
+
</Button>
|
|
1090
|
+
</DropdownMenuTrigger>
|
|
1091
|
+
<DropdownMenuContent>
|
|
1092
|
+
<DropdownMenuGroup>
|
|
1093
|
+
{/** Undo */}
|
|
1094
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorRef.current?.trigger("dropdown-menu", "undo", null)}>
|
|
1095
|
+
Undo
|
|
1096
|
+
<DropdownMenuShortcut>
|
|
1097
|
+
<RotateCcw />
|
|
1098
|
+
</DropdownMenuShortcut>
|
|
1099
|
+
</DropdownMenuItem>
|
|
1100
|
+
{/** Redo */}
|
|
1101
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorRef.current?.trigger("dropdown-menu", "redo", null)}>
|
|
1102
|
+
Redo
|
|
1103
|
+
<DropdownMenuShortcut>
|
|
1104
|
+
<RotateCw />
|
|
1105
|
+
</DropdownMenuShortcut>
|
|
1106
|
+
</DropdownMenuItem>
|
|
1107
|
+
{/** Toggle Line Comment */}
|
|
1108
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorRef.current?.trigger("dropdown-menu", "editor.action.commentLine", null)}>
|
|
1109
|
+
Toggle Line Comment
|
|
1110
|
+
</DropdownMenuItem>
|
|
1111
|
+
</DropdownMenuGroup>
|
|
1112
|
+
<DropdownMenuSeparator />
|
|
1113
|
+
<DropdownMenuGroup>
|
|
1114
|
+
{/** Go To Line */}
|
|
1115
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorRef.current?.trigger("dropdown-menu", "editor.action.gotoLine", null)}>
|
|
1116
|
+
Go To Line
|
|
1117
|
+
</DropdownMenuItem>
|
|
1118
|
+
{/** Format Document */}
|
|
1119
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorRef.current?.trigger("dropdown-menu", "editor.action.formatDocument", null)}>
|
|
1120
|
+
Format Document
|
|
1121
|
+
<DropdownMenuShortcut>
|
|
1122
|
+
<Braces />
|
|
1123
|
+
</DropdownMenuShortcut>
|
|
1124
|
+
</DropdownMenuItem>
|
|
1125
|
+
{/** Toggle Block Comment */}
|
|
1126
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorToggleBlockComment()}>
|
|
1127
|
+
Toggle Block Comment
|
|
1128
|
+
</DropdownMenuItem>
|
|
1129
|
+
{/** Change All Occurrences */}
|
|
1130
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorChangeAllOccurrences()}>
|
|
1131
|
+
Change All Occurrences
|
|
1132
|
+
</DropdownMenuItem>
|
|
1133
|
+
{/** Toggle Soft Wraps */}
|
|
1134
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorToggleSoftWraps()}>
|
|
1135
|
+
Toggle Soft Wraps
|
|
1136
|
+
</DropdownMenuItem>
|
|
1137
|
+
</DropdownMenuGroup>
|
|
1138
|
+
<DropdownMenuSeparator />
|
|
1139
|
+
<DropdownMenuGroup>
|
|
1140
|
+
{/** Font Size */}
|
|
1141
|
+
<DropdownMenuSub>
|
|
1142
|
+
<DropdownMenuSubTrigger>Font Size</DropdownMenuSubTrigger>
|
|
1143
|
+
<DropdownMenuPortal>
|
|
1144
|
+
<DropdownMenuSubContent>
|
|
1145
|
+
{FONT_SIZES.map((size) => (
|
|
1146
|
+
<DropdownMenuItem
|
|
1147
|
+
key={size}
|
|
1148
|
+
onClick={() => {
|
|
1149
|
+
setFontSize(size)
|
|
1150
|
+
if (editorRef && editorRef.current) {
|
|
1151
|
+
editorRef.current.updateOptions({
|
|
1152
|
+
fontSize: size,
|
|
1153
|
+
})
|
|
1154
|
+
}
|
|
1155
|
+
}}
|
|
1156
|
+
className={size === fontSize ? "bg-gray-100 dark:bg-gray-700 font-semibold text-muted-foreground hover:text-foreground" : ""}
|
|
1157
|
+
>
|
|
1158
|
+
{size}px
|
|
1159
|
+
</DropdownMenuItem>
|
|
1160
|
+
))}
|
|
1161
|
+
</DropdownMenuSubContent>
|
|
1162
|
+
</DropdownMenuPortal>
|
|
1163
|
+
</DropdownMenuSub>
|
|
1164
|
+
</DropdownMenuGroup>
|
|
1165
|
+
<DropdownMenuSeparator />
|
|
1166
|
+
<DropdownMenuGroup>
|
|
1167
|
+
{/** find */}
|
|
1168
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorFind()}>
|
|
1169
|
+
Find
|
|
1170
|
+
</DropdownMenuItem>
|
|
1171
|
+
{/** Find & Replace */}
|
|
1172
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorFindReplace()}>
|
|
1173
|
+
Find & Replace
|
|
1174
|
+
</DropdownMenuItem>
|
|
1175
|
+
</DropdownMenuGroup>
|
|
1176
|
+
</DropdownMenuContent>
|
|
1177
|
+
</DropdownMenu>
|
|
1178
|
+
|
|
1179
|
+
{/** View */}
|
|
1180
|
+
<DropdownMenu>
|
|
1181
|
+
<DropdownMenuTrigger>
|
|
1182
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground">
|
|
1183
|
+
View
|
|
1184
|
+
</Button>
|
|
1185
|
+
</DropdownMenuTrigger>
|
|
1186
|
+
<DropdownMenuContent>
|
|
1187
|
+
<DropdownMenuGroup>
|
|
1188
|
+
{/** Command Palette */}
|
|
1189
|
+
<DropdownMenuItem
|
|
1190
|
+
className="text-muted-foreground hover:text-foreground"
|
|
1191
|
+
onClick={() => {
|
|
1192
|
+
if (editorRef.current) {
|
|
1193
|
+
editorRef.current.trigger("dropdown-menu", "editor.action.quickCommand", null)
|
|
1194
|
+
}
|
|
1195
|
+
}}
|
|
1196
|
+
>
|
|
1197
|
+
Command Palette
|
|
1198
|
+
</DropdownMenuItem>
|
|
1199
|
+
{/** Shortcuts */}
|
|
1200
|
+
<DropdownMenuSub>
|
|
1201
|
+
<DropdownMenuSubTrigger>Shortcuts</DropdownMenuSubTrigger>
|
|
1202
|
+
<DropdownMenuPortal>
|
|
1203
|
+
<DropdownMenuSubContent>
|
|
1204
|
+
<KBDShortcut
|
|
1205
|
+
name="Open File"
|
|
1206
|
+
sc={
|
|
1207
|
+
<>
|
|
1208
|
+
<KBD>Alt</KBD>
|
|
1209
|
+
{" & "}
|
|
1210
|
+
<KBD>O</KBD>
|
|
1211
|
+
</>
|
|
1212
|
+
}
|
|
1213
|
+
/>
|
|
1214
|
+
<KBDShortcut
|
|
1215
|
+
name="Save File"
|
|
1216
|
+
sc={
|
|
1217
|
+
<>
|
|
1218
|
+
<KBD>Alt</KBD>
|
|
1219
|
+
{" & "}
|
|
1220
|
+
<KBD>S</KBD>
|
|
1221
|
+
</>
|
|
1222
|
+
}
|
|
1223
|
+
/>
|
|
1224
|
+
<KBDShortcut
|
|
1225
|
+
name="Rename Tab"
|
|
1226
|
+
sc={
|
|
1227
|
+
<>
|
|
1228
|
+
<KBD>Alt</KBD>
|
|
1229
|
+
{" & "}
|
|
1230
|
+
<KBD>R</KBD>
|
|
1231
|
+
</>
|
|
1232
|
+
}
|
|
1233
|
+
/>
|
|
1234
|
+
<KBDShortcut
|
|
1235
|
+
name="Toggle Preview"
|
|
1236
|
+
sc={
|
|
1237
|
+
<>
|
|
1238
|
+
<KBD>Alt</KBD>
|
|
1239
|
+
{" & "}
|
|
1240
|
+
<KBD>P</KBD>
|
|
1241
|
+
</>
|
|
1242
|
+
}
|
|
1243
|
+
/>
|
|
1244
|
+
<KBDShortcut
|
|
1245
|
+
name="Create Tab"
|
|
1246
|
+
sc={
|
|
1247
|
+
<>
|
|
1248
|
+
<KBD>Alt</KBD>
|
|
1249
|
+
{" & "}
|
|
1250
|
+
<KBD>N</KBD>
|
|
1251
|
+
</>
|
|
1252
|
+
}
|
|
1253
|
+
/>
|
|
1254
|
+
<KBDShortcut
|
|
1255
|
+
name="Create tab: Typescript"
|
|
1256
|
+
sc={
|
|
1257
|
+
<>
|
|
1258
|
+
<KBD>Alt</KBD>
|
|
1259
|
+
{" & "}
|
|
1260
|
+
<KBD>T</KBD>
|
|
1261
|
+
</>
|
|
1262
|
+
}
|
|
1263
|
+
/>
|
|
1264
|
+
<KBDShortcut
|
|
1265
|
+
name="Create tab: Markdown"
|
|
1266
|
+
sc={
|
|
1267
|
+
<>
|
|
1268
|
+
<KBD>Alt</KBD>
|
|
1269
|
+
{" & "}
|
|
1270
|
+
<KBD>M</KBD>
|
|
1271
|
+
</>
|
|
1272
|
+
}
|
|
1273
|
+
/>
|
|
1274
|
+
|
|
1275
|
+
<KBDShortcut
|
|
1276
|
+
name="Close Tab"
|
|
1277
|
+
sc={
|
|
1278
|
+
<>
|
|
1279
|
+
<KBD>Alt</KBD>
|
|
1280
|
+
{" & "}
|
|
1281
|
+
<KBD>w</KBD>
|
|
1282
|
+
</>
|
|
1283
|
+
}
|
|
1284
|
+
/>
|
|
1285
|
+
<KBDShortcut
|
|
1286
|
+
name="Close Tab"
|
|
1287
|
+
sc={
|
|
1288
|
+
<>
|
|
1289
|
+
<KBD>Alt</KBD>
|
|
1290
|
+
{" & "}
|
|
1291
|
+
<KBD>w</KBD>
|
|
1292
|
+
</>
|
|
1293
|
+
}
|
|
1294
|
+
/>
|
|
1295
|
+
<KBDShortcut
|
|
1296
|
+
name="Search"
|
|
1297
|
+
sc={
|
|
1298
|
+
<>
|
|
1299
|
+
<KBD>Alt</KBD>
|
|
1300
|
+
{" & "}
|
|
1301
|
+
<KBD>F</KBD>
|
|
1302
|
+
</>
|
|
1303
|
+
}
|
|
1304
|
+
/>
|
|
1305
|
+
<KBDShortcut
|
|
1306
|
+
name="Increase Font Size"
|
|
1307
|
+
sc={
|
|
1308
|
+
<>
|
|
1309
|
+
<KBD>Ctrl</KBD>
|
|
1310
|
+
{" & "}
|
|
1311
|
+
<KBD>+</KBD>
|
|
1312
|
+
</>
|
|
1313
|
+
}
|
|
1314
|
+
/>
|
|
1315
|
+
<KBDShortcut
|
|
1316
|
+
name="Decrease Font Size"
|
|
1317
|
+
sc={
|
|
1318
|
+
<>
|
|
1319
|
+
<KBD>Ctrl</KBD>
|
|
1320
|
+
{" & "}
|
|
1321
|
+
<KBD>-</KBD>
|
|
1322
|
+
</>
|
|
1323
|
+
}
|
|
1324
|
+
/>
|
|
1325
|
+
<KBDShortcut
|
|
1326
|
+
name="Open MD Sidebar"
|
|
1327
|
+
sc={
|
|
1328
|
+
<>
|
|
1329
|
+
<KBD>Ctrl</KBD>
|
|
1330
|
+
{" & "}
|
|
1331
|
+
<KBD>B</KBD>
|
|
1332
|
+
</>
|
|
1333
|
+
}
|
|
1334
|
+
/>
|
|
1335
|
+
</DropdownMenuSubContent>
|
|
1336
|
+
</DropdownMenuPortal>
|
|
1337
|
+
</DropdownMenuSub>
|
|
1338
|
+
</DropdownMenuGroup>
|
|
1339
|
+
<DropdownMenuSeparator />
|
|
1340
|
+
<DropdownMenuGroup>
|
|
1341
|
+
{/** fold */}
|
|
1342
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorFoldAll()}>
|
|
1343
|
+
Fold All
|
|
1344
|
+
</DropdownMenuItem>
|
|
1345
|
+
{/** Unfold */}
|
|
1346
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorUnfoldAll()}>
|
|
1347
|
+
Unfold All
|
|
1348
|
+
</DropdownMenuItem>
|
|
1349
|
+
</DropdownMenuGroup>
|
|
1350
|
+
<DropdownMenuSeparator />
|
|
1351
|
+
<DropdownMenuGroup>
|
|
1352
|
+
{/** mini map */}
|
|
1353
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => setShowMinimap((prev) => !prev)}>
|
|
1354
|
+
Mini Map
|
|
1355
|
+
<DropdownMenuShortcut>
|
|
1356
|
+
<Map />
|
|
1357
|
+
</DropdownMenuShortcut>
|
|
1358
|
+
</DropdownMenuItem>
|
|
1359
|
+
{/** Word Wrap */}
|
|
1360
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => setWordWrap((prev) => !prev)}>
|
|
1361
|
+
Word Wrap
|
|
1362
|
+
<DropdownMenuShortcut>
|
|
1363
|
+
<TextWrap />
|
|
1364
|
+
</DropdownMenuShortcut>
|
|
1365
|
+
</DropdownMenuItem>
|
|
1366
|
+
{/** Line Numbers */}
|
|
1367
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => setShowLineNumbers((prev) => !prev)}>
|
|
1368
|
+
Line Numbers
|
|
1369
|
+
</DropdownMenuItem>
|
|
1370
|
+
{/** toggle renderer */}
|
|
1371
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => setIsPreview(!isPreview)}>
|
|
1372
|
+
{isPreview ? (
|
|
1373
|
+
<>
|
|
1374
|
+
Code
|
|
1375
|
+
<DropdownMenuShortcut>
|
|
1376
|
+
<Code />
|
|
1377
|
+
</DropdownMenuShortcut>
|
|
1378
|
+
</>
|
|
1379
|
+
) : (
|
|
1380
|
+
<>
|
|
1381
|
+
Preview
|
|
1382
|
+
<DropdownMenuShortcut>
|
|
1383
|
+
<Eye />
|
|
1384
|
+
</DropdownMenuShortcut>
|
|
1385
|
+
</>
|
|
1386
|
+
)}
|
|
1387
|
+
</DropdownMenuItem>
|
|
1388
|
+
</DropdownMenuGroup>
|
|
1389
|
+
<DropdownMenuSeparator />
|
|
1390
|
+
<DropdownMenuGroup>
|
|
1391
|
+
{/** Toggle Render Whitespace */}
|
|
1392
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorToggleRenderWhitespace()}>
|
|
1393
|
+
{isWhitespaceRendered ? "Hide Whitespace" : "Show Whitespace"}
|
|
1394
|
+
</DropdownMenuItem>
|
|
1395
|
+
{/** Toggle Indent Guides */}
|
|
1396
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorToggleIndentGuides()}>
|
|
1397
|
+
{areIndentGuidesRendered ? "Hide Indent Guides" : "Show Indent Guides"}
|
|
1398
|
+
</DropdownMenuItem>
|
|
1399
|
+
{/** Toggle Sticky Scroll */}
|
|
1400
|
+
<DropdownMenuItem className="text-muted-foreground hover:text-foreground" onClick={() => editorToggleStickyScroll()}>
|
|
1401
|
+
{isStickyScrollEnabled ? "Disable Sticky Scroll" : "Enable Sticky Scroll"}
|
|
1402
|
+
</DropdownMenuItem>
|
|
1403
|
+
</DropdownMenuGroup>
|
|
1404
|
+
</DropdownMenuContent>
|
|
1405
|
+
</DropdownMenu>
|
|
1406
|
+
|
|
1407
|
+
<Button variant="ghost" size="sm" className="text-muted-foreground hover:text-foreground" onClick={() => setIsSplitView((prev) => !prev)}>
|
|
1408
|
+
{isSplitView ? <SquareSplitHorizontal /> : <SquareSplitHorizontal />}
|
|
1409
|
+
</Button>
|
|
1410
|
+
{isFullscreen ? <TooltipButton icon={<Minus />} onClick={toggleFullscreen} content="Minimize" /> : <TooltipButton icon={<Square />} onClick={toggleFullscreen} content="Maximize" />}
|
|
1411
|
+
</div>
|
|
1412
|
+
)
|
|
1413
|
+
return (
|
|
1414
|
+
<div className="mx-auto max-w-[95vw] w-full border-2 border-border rounded-[10px] shadow-lg !overflow-hidden">
|
|
1415
|
+
<SandboxTabs2 className="h-[85vh]" value={value} onValueChange={setValue}>
|
|
1416
|
+
<div className="flex items-center justify-between border-b border-border bg-background ">
|
|
1417
|
+
<div className="flex overflow-x-auto">
|
|
1418
|
+
{tabs.map((tab) => (
|
|
1419
|
+
<TabComponent key={tab.id} tab={tab} isActive={tab.id === activeTabId} onClose={closeTab} onSelect={setActiveTabId} />
|
|
1420
|
+
))}
|
|
1421
|
+
</div>
|
|
1422
|
+
<Toolbar />
|
|
1423
|
+
</div>
|
|
1424
|
+
<SandboxTabsContent2 value="editor" className="flex">
|
|
1425
|
+
{isSplitView ? (
|
|
1426
|
+
<>
|
|
1427
|
+
<div className="flex h-full w-full">
|
|
1428
|
+
<div className="w-1/2">
|
|
1429
|
+
<SandboxCodeEditor2 setIsClient={setIsClient} activeTab={activeTab} theme={theme} handleEditorChange={handleEditorChange} handleEditorDidMount={handleEditorDidMount} showMinimap={showMinimap} fontSize={fontSize} showLineNumbers={showLineNumbers} editorSettings={editorSettings} isClient={isClient} editorRef={editorRef} className="h-full border-r border-border" />
|
|
1430
|
+
</div>
|
|
1431
|
+
<div className="w-1/2 overflow-auto bg-background">
|
|
1432
|
+
<div className="mx-auto p-3">
|
|
1433
|
+
<SandboxPreview2 code={code} />
|
|
1434
|
+
</div>
|
|
1435
|
+
</div>
|
|
1436
|
+
</div>
|
|
1437
|
+
</>
|
|
1438
|
+
) : (
|
|
1439
|
+
<SandboxCodeEditor2 setIsClient={setIsClient} activeTab={activeTab} theme={theme} handleEditorChange={handleEditorChange} handleEditorDidMount={handleEditorDidMount} showMinimap={showMinimap} fontSize={fontSize} showLineNumbers={showLineNumbers} editorSettings={editorSettings} isClient={isClient} editorRef={editorRef} className="flex-1" />
|
|
1440
|
+
)}
|
|
1441
|
+
</SandboxTabsContent2>
|
|
1442
|
+
|
|
1443
|
+
<SandboxTabsContent2 value="preview">
|
|
1444
|
+
<SandboxPreview2 code={code} />
|
|
1445
|
+
</SandboxTabsContent2>
|
|
1446
|
+
|
|
1447
|
+
<SandboxTabsContent2 value="console">
|
|
1448
|
+
<SandboxConsole2
|
|
1449
|
+
logs={[
|
|
1450
|
+
{ type: "log", message: "React Live playground started" },
|
|
1451
|
+
{ type: "log", message: "Edit App.jsx to see live changes" },
|
|
1452
|
+
]}
|
|
1453
|
+
/>
|
|
1454
|
+
</SandboxTabsContent2>
|
|
1455
|
+
</SandboxTabs2>
|
|
1456
|
+
</div>
|
|
1457
|
+
)
|
|
1458
|
+
}
|