@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,1843 @@
|
|
|
1
|
+
// EmojiPicker
|
|
2
|
+
export const comboboxes = [
|
|
3
|
+
{
|
|
4
|
+
name: "filter combobox",
|
|
5
|
+
value: "filter-combobox",
|
|
6
|
+
importPath: "~/components/catalyst-ui/comboboxes/filter-combobox",
|
|
7
|
+
path: "/components/catalyst-ui/comboboxes/filter-combobox.tsx",
|
|
8
|
+
premium: true,
|
|
9
|
+
source: null,
|
|
10
|
+
basicusage: `
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
const [selectedStatus, setSelectedStatus] = useState("");
|
|
14
|
+
const [error, setError] = useState("");
|
|
15
|
+
|
|
16
|
+
const statusOptions = [
|
|
17
|
+
{ value: "active", label: "Active" },
|
|
18
|
+
{ value: "inactive", label: "Inactive" },
|
|
19
|
+
{ value: "pending", label: "Pending" },
|
|
20
|
+
{ value: "completed", label: "Completed" },
|
|
21
|
+
{ value: "cancelled", label: "Cancelled" }
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
const handleChange = (value: string) => {
|
|
25
|
+
setSelectedStatus(value);
|
|
26
|
+
|
|
27
|
+
if (!value) {
|
|
28
|
+
setError("Please select a status");
|
|
29
|
+
} else {
|
|
30
|
+
setError("");
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// Basic usage without validation
|
|
35
|
+
<Field>
|
|
36
|
+
<FieldLabel>Status</FieldLabel>
|
|
37
|
+
<FilterCombobox
|
|
38
|
+
placeholder="Select Status"
|
|
39
|
+
options={statusOptions}
|
|
40
|
+
value={selectedStatus}
|
|
41
|
+
onValueChange={setSelectedStatus}
|
|
42
|
+
/>
|
|
43
|
+
<FieldDescription>Choose a status option</FieldDescription>
|
|
44
|
+
</Field>
|
|
45
|
+
|
|
46
|
+
// With validation
|
|
47
|
+
<Field>
|
|
48
|
+
<FieldLabel>Status</FieldLabel>
|
|
49
|
+
<FilterCombobox
|
|
50
|
+
placeholder="Select Status"
|
|
51
|
+
options={statusOptions}
|
|
52
|
+
value={selectedStatus}
|
|
53
|
+
onValueChange={handleChange}
|
|
54
|
+
/>
|
|
55
|
+
<FieldDescription>Choose a status option</FieldDescription>
|
|
56
|
+
{error && <FieldError>{error}</FieldError>}
|
|
57
|
+
</Field>`,
|
|
58
|
+
usage: `
|
|
59
|
+
const statusOptions = [
|
|
60
|
+
{ value: "active", label: "Active" },
|
|
61
|
+
{ value: "inactive", label: "Inactive" },
|
|
62
|
+
{ value: "pending", label: "Pending" },
|
|
63
|
+
{ value: "completed", label: "Completed" },
|
|
64
|
+
{ value: "cancelled", label: "Cancelled" }
|
|
65
|
+
];
|
|
66
|
+
|
|
67
|
+
<FilterCombobox
|
|
68
|
+
placeholder="Select Status"
|
|
69
|
+
options={statusOptions}
|
|
70
|
+
value={selectedStatus}
|
|
71
|
+
onValueChange={setSelectedStatus}
|
|
72
|
+
/>
|
|
73
|
+
|
|
74
|
+
const categoryOptions = [
|
|
75
|
+
{ value: "electronics", label: "Electronics" },
|
|
76
|
+
{ value: "clothing", label: "Clothing" },
|
|
77
|
+
{ value: "books", label: "Books" },
|
|
78
|
+
{ value: "home", label: "Home & Garden" },
|
|
79
|
+
{ value: "sports", label: "Sports" },
|
|
80
|
+
{ value: "beauty", label: "Beauty" }
|
|
81
|
+
];
|
|
82
|
+
|
|
83
|
+
<FilterCombobox
|
|
84
|
+
placeholder="Select Category"
|
|
85
|
+
options={categoryOptions}
|
|
86
|
+
value={selectedCategory}
|
|
87
|
+
onValueChange={setSelectedCategory}
|
|
88
|
+
/>
|
|
89
|
+
|
|
90
|
+
const priorityOptions = [
|
|
91
|
+
{ value: "high", label: "High Priority" },
|
|
92
|
+
{ value: "medium", label: "Medium Priority" },
|
|
93
|
+
{ value: "low", label: "Low Priority" },
|
|
94
|
+
{ value: "urgent", label: "Urgent" }
|
|
95
|
+
];
|
|
96
|
+
|
|
97
|
+
<FilterCombobox
|
|
98
|
+
placeholder="Select Priority"
|
|
99
|
+
options={priorityOptions}
|
|
100
|
+
value={selectedPriority}
|
|
101
|
+
onValueChange={setSelectedPriority}
|
|
102
|
+
/>
|
|
103
|
+
|
|
104
|
+
const dateOptions = [
|
|
105
|
+
{ value: "today", label: "Today" },
|
|
106
|
+
{ value: "yesterday", label: "Yesterday" },
|
|
107
|
+
{ value: "this_week", label: "This Week" },
|
|
108
|
+
{ value: "last_week", label: "Last Week" },
|
|
109
|
+
{ value: "this_month", label: "This Month" },
|
|
110
|
+
{ value: "last_month", label: "Last Month" },
|
|
111
|
+
{ value: "custom", label: "Custom Range" }
|
|
112
|
+
];
|
|
113
|
+
|
|
114
|
+
<FilterCombobox
|
|
115
|
+
placeholder="Select Date Range"
|
|
116
|
+
options={dateOptions}
|
|
117
|
+
value={selectedDateRange}
|
|
118
|
+
onValueChange={setSelectedDateRange}
|
|
119
|
+
/>
|
|
120
|
+
|
|
121
|
+
const sortOptions = [
|
|
122
|
+
{ value: "newest", label: "Newest First" },
|
|
123
|
+
{ value: "oldest", label: "Oldest First" },
|
|
124
|
+
{ value: "name_asc", label: "Name (A-Z)" },
|
|
125
|
+
{ value: "name_desc", label: "Name (Z-A)" },
|
|
126
|
+
{ value: "price_low", label: "Price: Low to High" },
|
|
127
|
+
{ value: "price_high", label: "Price: High to Low" }
|
|
128
|
+
];
|
|
129
|
+
|
|
130
|
+
<FilterCombobox
|
|
131
|
+
placeholder="Sort By"
|
|
132
|
+
options={sortOptions}
|
|
133
|
+
value={selectedSort}
|
|
134
|
+
onValueChange={setSelectedSort}
|
|
135
|
+
/>
|
|
136
|
+
|
|
137
|
+
const locationOptions = [
|
|
138
|
+
{ value: "new_york", label: "New York" },
|
|
139
|
+
{ value: "los_angeles", label: "Los Angeles" },
|
|
140
|
+
{ value: "chicago", label: "Chicago" },
|
|
141
|
+
{ value: "houston", label: "Houston" },
|
|
142
|
+
{ value: "phoenix", label: "Phoenix" },
|
|
143
|
+
{ value: "miami", label: "Miami" }
|
|
144
|
+
];
|
|
145
|
+
|
|
146
|
+
<FilterCombobox
|
|
147
|
+
placeholder="Select Location"
|
|
148
|
+
options={locationOptions}
|
|
149
|
+
value={selectedLocation}
|
|
150
|
+
onValueChange={setSelectedLocation}
|
|
151
|
+
/>
|
|
152
|
+
|
|
153
|
+
const booleanOptions = [
|
|
154
|
+
{ value: "true", label: "Yes" },
|
|
155
|
+
{ value: "false", label: "No" },
|
|
156
|
+
{ value: "both", label: "Both" }
|
|
157
|
+
];
|
|
158
|
+
|
|
159
|
+
<FilterCombobox
|
|
160
|
+
placeholder="Has Image?"
|
|
161
|
+
options={booleanOptions}
|
|
162
|
+
value={hasImage}
|
|
163
|
+
onValueChange={setHasImage}
|
|
164
|
+
/>
|
|
165
|
+
|
|
166
|
+
export function FilterComboboxDemo() {
|
|
167
|
+
const [selectedStatus, setSelectedStatus] = useState("");
|
|
168
|
+
const [selectedCategory, setSelectedCategory] = useState("");
|
|
169
|
+
|
|
170
|
+
const statusOptions = [
|
|
171
|
+
{ value: "active", label: "Active" },
|
|
172
|
+
{ value: "inactive", label: "Inactive" },
|
|
173
|
+
{ value: "pending", label: "Pending" }
|
|
174
|
+
];
|
|
175
|
+
|
|
176
|
+
const categoryOptions = [
|
|
177
|
+
{ value: "electronics", label: "Electronics" },
|
|
178
|
+
{ value: "clothing", label: "Clothing" },
|
|
179
|
+
{ value: "books", label: "Books" }
|
|
180
|
+
];
|
|
181
|
+
|
|
182
|
+
return (
|
|
183
|
+
<div className="flex gap-4">
|
|
184
|
+
<FilterCombobox
|
|
185
|
+
placeholder="Select Status"
|
|
186
|
+
options={statusOptions}
|
|
187
|
+
value={selectedStatus}
|
|
188
|
+
onValueChange={setSelectedStatus}
|
|
189
|
+
/>
|
|
190
|
+
|
|
191
|
+
<FilterCombobox
|
|
192
|
+
placeholder="Select Category"
|
|
193
|
+
options={categoryOptions}
|
|
194
|
+
value={selectedCategory}
|
|
195
|
+
onValueChange={setSelectedCategory}
|
|
196
|
+
className="w-[250px]"
|
|
197
|
+
/>
|
|
198
|
+
</div>
|
|
199
|
+
);
|
|
200
|
+
}
|
|
201
|
+
`,
|
|
202
|
+
usagePath: null,
|
|
203
|
+
category: "Comboboxes",
|
|
204
|
+
tags: ["ui", "components", "interactive"],
|
|
205
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
206
|
+
dependencies: ["@radix-ui/react-aspect-ratio"],
|
|
207
|
+
props: {
|
|
208
|
+
"FilterCombobox": [
|
|
209
|
+
{ name: "placeholder", type: "string", default: "null", required: true },
|
|
210
|
+
{ name: "options", type: "Array<{ value: string; label: string }>", default: "null", required: true },
|
|
211
|
+
{ name: "value", type: "string", default: "null", required: false },
|
|
212
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "null", required: false },
|
|
213
|
+
{ name: "className", type: "string", default: "''", required: false },
|
|
214
|
+
],
|
|
215
|
+
},
|
|
216
|
+
desc: null,
|
|
217
|
+
status: null,
|
|
218
|
+
lastUpdated: null
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
name: "Combobox0",
|
|
222
|
+
value: "combobox-0",
|
|
223
|
+
importPath: "~/components/catalyst-ui/comboboxes/combobox-0",
|
|
224
|
+
path: "/components/catalyst-ui/comboboxes/combobox-0.tsx",
|
|
225
|
+
premium: false,
|
|
226
|
+
source: "/components/catalyst-ui/comboboxes/combobox-0.tsx",
|
|
227
|
+
category: "Comboboxes",
|
|
228
|
+
tags: ["ui", "components", "interactive"],
|
|
229
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
230
|
+
dependencies: ["lucide-react", "cmdk", "@radix-ui/react-popover"],
|
|
231
|
+
basicusage: `
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
const frameworks = [
|
|
240
|
+
{
|
|
241
|
+
value: "next.js",
|
|
242
|
+
label: "Next.js",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
value: "sveltekit",
|
|
246
|
+
label: "SvelteKit",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
value: "nuxt.js",
|
|
250
|
+
label: "Nuxt.js",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
value: "remix",
|
|
254
|
+
label: "Remix",
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
value: "astro",
|
|
258
|
+
label: "Astro",
|
|
259
|
+
},
|
|
260
|
+
]
|
|
261
|
+
|
|
262
|
+
export function ComboboxDemo() {
|
|
263
|
+
const [open, setOpen] = React.useState(false)
|
|
264
|
+
const [value, setValue] = React.useState("")
|
|
265
|
+
|
|
266
|
+
return (
|
|
267
|
+
<Popover open={open} onOpenChange={setOpen}>
|
|
268
|
+
<PopoverTrigger asChild>
|
|
269
|
+
<Button
|
|
270
|
+
variant="outline"
|
|
271
|
+
role="combobox"
|
|
272
|
+
aria-expanded={open}
|
|
273
|
+
className="w-[200px] justify-between"
|
|
274
|
+
>
|
|
275
|
+
{value
|
|
276
|
+
? frameworks.find((framework) => framework.value === value)?.label
|
|
277
|
+
: "Select framework..."}
|
|
278
|
+
<ChevronsUpDown className="opacity-50" />
|
|
279
|
+
</Button>
|
|
280
|
+
</PopoverTrigger>
|
|
281
|
+
<PopoverContent className="w-[200px] p-0">
|
|
282
|
+
<Command>
|
|
283
|
+
<CommandInput placeholder="Search framework..." className="h-9" />
|
|
284
|
+
<CommandList>
|
|
285
|
+
<CommandEmpty>No framework found.</CommandEmpty>
|
|
286
|
+
<CommandGroup>
|
|
287
|
+
{frameworks.map((framework) => (
|
|
288
|
+
<CommandItem
|
|
289
|
+
key={framework.value}
|
|
290
|
+
value={framework.value}
|
|
291
|
+
onSelect={(currentValue) => {
|
|
292
|
+
setValue(currentValue === value ? "" : currentValue)
|
|
293
|
+
setOpen(false)
|
|
294
|
+
}}
|
|
295
|
+
>
|
|
296
|
+
{framework.label}
|
|
297
|
+
<Check
|
|
298
|
+
className={cn(
|
|
299
|
+
"ml-auto",
|
|
300
|
+
value === framework.value ? "opacity-100" : "opacity-0"
|
|
301
|
+
)}
|
|
302
|
+
/>
|
|
303
|
+
</CommandItem>
|
|
304
|
+
))}
|
|
305
|
+
</CommandGroup>
|
|
306
|
+
</CommandList>
|
|
307
|
+
</Command>
|
|
308
|
+
</PopoverContent>
|
|
309
|
+
</Popover>
|
|
310
|
+
)
|
|
311
|
+
}
|
|
312
|
+
`,
|
|
313
|
+
usage: null,
|
|
314
|
+
usagePath: null,
|
|
315
|
+
props: {},
|
|
316
|
+
desc: 'Orginal shadCN component structure',
|
|
317
|
+
status: null,
|
|
318
|
+
lastUpdated: null
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
name: "Combobox V1",
|
|
322
|
+
value: "combobox-1",
|
|
323
|
+
importPath: "~/components/catalyst-ui/comboboxes/combobox-1",
|
|
324
|
+
path: "/components/catalyst-ui/comboboxes/combobox-1.tsx",
|
|
325
|
+
premium: true,
|
|
326
|
+
source: null,
|
|
327
|
+
category: "Comboboxes",
|
|
328
|
+
tags: ["ui", "forms", "core"],
|
|
329
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
330
|
+
dependencies: ["lucide-react"],
|
|
331
|
+
usage: `
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
export const meta: MetaFunction = () => {
|
|
339
|
+
return [
|
|
340
|
+
{ title: "Comboboxes Demo" },
|
|
341
|
+
{ name: "description", content: "Demo of combobox components with various styles and functionality" },
|
|
342
|
+
]
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export default function ComboboxesDemo() {
|
|
346
|
+
const [selectedCountry, setSelectedCountry] = useState("")
|
|
347
|
+
const [selectedCategory, setSelectedCategory] = useState("")
|
|
348
|
+
const [selectedStatus, setSelectedStatus] = useState("")
|
|
349
|
+
const [selectedTags, setSelectedTags] = useState<string[]>([])
|
|
350
|
+
const [selectedUsers, setSelectedUsers] = useState<string[]>([])
|
|
351
|
+
const [searchQuery, setSearchQuery] = useState("")
|
|
352
|
+
|
|
353
|
+
// Sample data
|
|
354
|
+
const countries = [
|
|
355
|
+
{ value: "us", label: "United States" },
|
|
356
|
+
{ value: "ca", label: "Canada" },
|
|
357
|
+
{ value: "uk", label: "United Kingdom" },
|
|
358
|
+
{ value: "au", label: "Australia" },
|
|
359
|
+
{ value: "de", label: "Germany" },
|
|
360
|
+
{ value: "fr", label: "France" },
|
|
361
|
+
{ value: "jp", label: "Japan" },
|
|
362
|
+
{ value: "br", label: "Brazil" },
|
|
363
|
+
]
|
|
364
|
+
|
|
365
|
+
const categories = [
|
|
366
|
+
{ value: "electronics", label: "Electronics" },
|
|
367
|
+
{ value: "clothing", label: "Clothing" },
|
|
368
|
+
{ value: "books", label: "Books" },
|
|
369
|
+
{ value: "home", label: "Home & Garden" },
|
|
370
|
+
{ value: "sports", label: "Sports & Outdoors" },
|
|
371
|
+
{ value: "beauty", label: "Beauty & Personal Care" },
|
|
372
|
+
{ value: "toys", label: "Toys & Games" },
|
|
373
|
+
]
|
|
374
|
+
|
|
375
|
+
const statuses = [
|
|
376
|
+
{ value: "active", label: "Active" },
|
|
377
|
+
{ value: "pending", label: "Pending" },
|
|
378
|
+
{ value: "draft", label: "Draft" },
|
|
379
|
+
{ value: "archived", label: "Archived" },
|
|
380
|
+
]
|
|
381
|
+
|
|
382
|
+
const tags = [
|
|
383
|
+
{ value: "featured", label: "Featured" },
|
|
384
|
+
{ value: "sale", label: "On Sale" },
|
|
385
|
+
{ value: "new", label: "New Arrival" },
|
|
386
|
+
{ value: "popular", label: "Popular" },
|
|
387
|
+
{ value: "limited", label: "Limited Edition" },
|
|
388
|
+
{ value: "clearance", label: "Clearance" },
|
|
389
|
+
]
|
|
390
|
+
|
|
391
|
+
const users = [
|
|
392
|
+
{ value: "alice", label: "Alice Johnson", email: "alice@example.com" },
|
|
393
|
+
{ value: "bob", label: "Bob Smith", email: "bob@example.com" },
|
|
394
|
+
{ value: "carol", label: "Carol Williams", email: "carol@example.com" },
|
|
395
|
+
{ value: "dave", label: "Dave Brown", email: "dave@example.com" },
|
|
396
|
+
{ value: "eve", label: "Eve Davis", email: "eve@example.com" },
|
|
397
|
+
{ value: "frank", label: "Frank Miller", email: "frank@example.com" },
|
|
398
|
+
]
|
|
399
|
+
|
|
400
|
+
// Sample products data
|
|
401
|
+
const products = [
|
|
402
|
+
{ id: 1, name: "Wireless Headphones", category: "electronics", tags: ["featured", "new"], status: "active", country: "us" },
|
|
403
|
+
{ id: 2, name: "Cotton T-Shirt", category: "clothing", tags: ["sale"], status: "active", country: "ca" },
|
|
404
|
+
{ id: 3, name: "Programming Book", category: "books", tags: ["popular"], status: "draft", country: "uk" },
|
|
405
|
+
{ id: 4, name: "Desk Lamp", category: "home", tags: ["new"], status: "active", country: "de" },
|
|
406
|
+
{ id: 5, name: "Yoga Mat", category: "sports", tags: ["featured", "sale"], status: "active", country: "us" },
|
|
407
|
+
{ id: 6, name: "Face Cream", category: "beauty", tags: ["new", "limited"], status: "pending", country: "fr" },
|
|
408
|
+
{ id: 7, name: "Board Game", category: "toys", tags: ["popular", "clearance"], status: "active", country: "ca" },
|
|
409
|
+
{ id: 8, name: "Smart Watch", category: "electronics", tags: ["featured", "new"], status: "archived", country: "jp" },
|
|
410
|
+
]
|
|
411
|
+
|
|
412
|
+
// Filter products based on selected filters and search query
|
|
413
|
+
const filteredProducts = products.filter(product => {
|
|
414
|
+
// Filter by category if selected
|
|
415
|
+
if (selectedCategory && product.category !== selectedCategory) return false
|
|
416
|
+
|
|
417
|
+
// Filter by status if selected
|
|
418
|
+
if (selectedStatus && product.status !== selectedStatus) return false
|
|
419
|
+
|
|
420
|
+
// Filter by country if selected
|
|
421
|
+
if (selectedCountry && product.country !== selectedCountry) return false
|
|
422
|
+
|
|
423
|
+
// Filter by tags if selected
|
|
424
|
+
if (selectedTags.length > 0 && !selectedTags.some(tag => product.tags.includes(tag))) return false
|
|
425
|
+
|
|
426
|
+
// Filter by search query
|
|
427
|
+
if (searchQuery && !product.name.toLowerCase().includes(searchQuery.toLowerCase())) return false
|
|
428
|
+
|
|
429
|
+
return true
|
|
430
|
+
})
|
|
431
|
+
|
|
432
|
+
return (
|
|
433
|
+
<div className="container mx-auto py-10 px-4 max-w-6xl">
|
|
434
|
+
<div className="mb-10">
|
|
435
|
+
<h1 className="text-3xl font-bold text-foreground mb-2">Combobox Components</h1>
|
|
436
|
+
<p className="text-muted-foreground">
|
|
437
|
+
Various combobox styles and implementations with functional examples.
|
|
438
|
+
</p>
|
|
439
|
+
</div>
|
|
440
|
+
|
|
441
|
+
{/* Filterable Products Section */}
|
|
442
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
443
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Product Filter with Comboboxes</h2>
|
|
444
|
+
|
|
445
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
|
|
446
|
+
{/* Search Input */}
|
|
447
|
+
<div className="lg:col-span-2">
|
|
448
|
+
<div className="relative">
|
|
449
|
+
<Search className="absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground" />
|
|
450
|
+
<input
|
|
451
|
+
type="text"
|
|
452
|
+
placeholder="Search products..."
|
|
453
|
+
className="w-full pl-10 pr-4 py-2 border rounded-md bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
454
|
+
value={searchQuery}
|
|
455
|
+
onChange={(e) => setSearchQuery(e.target.value)}
|
|
456
|
+
/>
|
|
457
|
+
</div>
|
|
458
|
+
</div>
|
|
459
|
+
|
|
460
|
+
{/* Category Combobox */}
|
|
461
|
+
<div>
|
|
462
|
+
<Combobox
|
|
463
|
+
items={categories}
|
|
464
|
+
value={selectedCategory}
|
|
465
|
+
onValueChange={setSelectedCategory}
|
|
466
|
+
placeholder="Select category"
|
|
467
|
+
searchPlaceholder="Search categories..."
|
|
468
|
+
/>
|
|
469
|
+
</div>
|
|
470
|
+
|
|
471
|
+
{/* Status Combobox */}
|
|
472
|
+
<div>
|
|
473
|
+
<Combobox
|
|
474
|
+
items={statuses}
|
|
475
|
+
value={selectedStatus}
|
|
476
|
+
onValueChange={setSelectedStatus}
|
|
477
|
+
placeholder="Select status"
|
|
478
|
+
searchPlaceholder="Search statuses..."
|
|
479
|
+
/>
|
|
480
|
+
</div>
|
|
481
|
+
|
|
482
|
+
{/* Country Combobox */}
|
|
483
|
+
<div>
|
|
484
|
+
<Combobox
|
|
485
|
+
items={countries}
|
|
486
|
+
value={selectedCountry}
|
|
487
|
+
onValueChange={setSelectedCountry}
|
|
488
|
+
placeholder="Select country"
|
|
489
|
+
searchPlaceholder="Search countries..."
|
|
490
|
+
/>
|
|
491
|
+
</div>
|
|
492
|
+
|
|
493
|
+
{/* Tags MultiCombobox */}
|
|
494
|
+
<div className="lg:col-span-2">
|
|
495
|
+
<MultiCombobox
|
|
496
|
+
items={tags}
|
|
497
|
+
value={selectedTags}
|
|
498
|
+
onValueChange={setSelectedTags}
|
|
499
|
+
placeholder="Select tags"
|
|
500
|
+
searchPlaceholder="Search tags..."
|
|
501
|
+
/>
|
|
502
|
+
</div>
|
|
503
|
+
</div>
|
|
504
|
+
|
|
505
|
+
{/* Results */}
|
|
506
|
+
<div>
|
|
507
|
+
<h3 className="text-lg font-medium text-foreground mb-4">
|
|
508
|
+
Products ({filteredProducts.length} items)
|
|
509
|
+
</h3>
|
|
510
|
+
|
|
511
|
+
{filteredProducts.length === 0 ? (
|
|
512
|
+
<p className="text-muted-foreground">No products match your filters.</p>
|
|
513
|
+
) : (
|
|
514
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
515
|
+
{filteredProducts.map(product => (
|
|
516
|
+
<div key={product.id} className="border rounded-lg p-4 bg-background">
|
|
517
|
+
<h4 className="font-medium text-foreground mb-2">{product.name}</h4>
|
|
518
|
+
<div className="grid grid-cols-2 gap-2 text-sm text-muted-foreground">
|
|
519
|
+
<div>
|
|
520
|
+
<span className="font-medium">Category:</span> {product.category}
|
|
521
|
+
</div>
|
|
522
|
+
<div>
|
|
523
|
+
<span className="font-medium">Status:</span> {product.status}
|
|
524
|
+
</div>
|
|
525
|
+
<div>
|
|
526
|
+
<span className="font-medium">Country:</span> {countries.find(c => c.value === product.country)?.label}
|
|
527
|
+
</div>
|
|
528
|
+
<div>
|
|
529
|
+
<span className="font-medium">Tags:</span> {product.tags.join(", ")}
|
|
530
|
+
</div>
|
|
531
|
+
</div>
|
|
532
|
+
</div>
|
|
533
|
+
))}
|
|
534
|
+
</div>
|
|
535
|
+
)}
|
|
536
|
+
</div>
|
|
537
|
+
</div>
|
|
538
|
+
|
|
539
|
+
{/* Single Combobox Examples */}
|
|
540
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
541
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Single Selection Comboboxes</h2>
|
|
542
|
+
|
|
543
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
544
|
+
<div className="space-y-2">
|
|
545
|
+
<label className="text-sm font-medium text-foreground">Country</label>
|
|
546
|
+
<Combobox
|
|
547
|
+
items={countries}
|
|
548
|
+
value={selectedCountry}
|
|
549
|
+
onValueChange={setSelectedCountry}
|
|
550
|
+
placeholder="Select a country"
|
|
551
|
+
/>
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
<div className="space-y-2">
|
|
555
|
+
<label className="text-sm font-medium text-foreground">Status</label>
|
|
556
|
+
<Combobox
|
|
557
|
+
items={statuses}
|
|
558
|
+
value={selectedStatus}
|
|
559
|
+
onValueChange={setSelectedStatus}
|
|
560
|
+
placeholder="Select status"
|
|
561
|
+
/>
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
<div className="space-y-2">
|
|
565
|
+
<label className="text-sm font-medium text-foreground">Category</label>
|
|
566
|
+
<Combobox
|
|
567
|
+
items={categories}
|
|
568
|
+
value={selectedCategory}
|
|
569
|
+
onValueChange={setSelectedCategory}
|
|
570
|
+
placeholder="Select category"
|
|
571
|
+
/>
|
|
572
|
+
</div>
|
|
573
|
+
</div>
|
|
574
|
+
</div>
|
|
575
|
+
|
|
576
|
+
{/* Multi Combobox Examples */}
|
|
577
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
578
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Multiple Selection Comboboxes</h2>
|
|
579
|
+
|
|
580
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
581
|
+
<div className="space-y-2">
|
|
582
|
+
<label className="text-sm font-medium text-foreground">Tags</label>
|
|
583
|
+
<MultiCombobox
|
|
584
|
+
items={tags}
|
|
585
|
+
value={selectedTags}
|
|
586
|
+
onValueChange={setSelectedTags}
|
|
587
|
+
placeholder="Select tags"
|
|
588
|
+
/>
|
|
589
|
+
</div>
|
|
590
|
+
|
|
591
|
+
<div className="space-y-2">
|
|
592
|
+
<label className="text-sm font-medium text-foreground">Team Members</label>
|
|
593
|
+
<MultiCombobox
|
|
594
|
+
items={users}
|
|
595
|
+
value={selectedUsers}
|
|
596
|
+
onValueChange={setSelectedUsers}
|
|
597
|
+
placeholder="Select team members"
|
|
598
|
+
/>
|
|
599
|
+
</div>
|
|
600
|
+
</div>
|
|
601
|
+
|
|
602
|
+
{selectedUsers.length > 0 && (
|
|
603
|
+
<div className="mt-4 p-4 bg-muted rounded-md">
|
|
604
|
+
<h3 className="font-medium text-foreground mb-2">Selected Team Members:</h3>
|
|
605
|
+
<div className="space-y-2">
|
|
606
|
+
{selectedUsers.map(userId => {
|
|
607
|
+
const user = users.find(u => u.value === userId)
|
|
608
|
+
return user ? (
|
|
609
|
+
<div key={user.value} className="flex items-center space-x-3 p-2 bg-background rounded-md">
|
|
610
|
+
<div className="flex items-center justify-center h-8 w-8 rounded-full bg-primary text-primary-foreground">
|
|
611
|
+
<User className="h-4 w-4" />
|
|
612
|
+
</div>
|
|
613
|
+
<div>
|
|
614
|
+
<div className="text-sm font-medium text-foreground">{user.label}</div>
|
|
615
|
+
<div className="text-xs text-muted-foreground">{user.email}</div>
|
|
616
|
+
</div>
|
|
617
|
+
</div>
|
|
618
|
+
) : null
|
|
619
|
+
})}
|
|
620
|
+
</div>
|
|
621
|
+
</div>
|
|
622
|
+
)}
|
|
623
|
+
</div>
|
|
624
|
+
|
|
625
|
+
{/* Combobox with Icons */}
|
|
626
|
+
<div className="bg-card p-6 rounded-lg border">
|
|
627
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Combobox with Custom Items</h2>
|
|
628
|
+
|
|
629
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
630
|
+
<div className="space-y-2">
|
|
631
|
+
<label className="text-sm font-medium text-foreground">Payment Method</label>
|
|
632
|
+
<Combobox
|
|
633
|
+
items={[
|
|
634
|
+
{ value: "credit-card", label: "Credit Card" },
|
|
635
|
+
{ value: "paypal", label: "PayPal" },
|
|
636
|
+
{ value: "bank-transfer", label: "Bank Transfer" },
|
|
637
|
+
]}
|
|
638
|
+
placeholder="Select payment method"
|
|
639
|
+
/>
|
|
640
|
+
</div>
|
|
641
|
+
|
|
642
|
+
<div className="space-y-2">
|
|
643
|
+
<label className="text-sm font-medium text-foreground">Shipping Method</label>
|
|
644
|
+
<Combobox
|
|
645
|
+
items={[
|
|
646
|
+
{ value: "standard", label: "Standard Shipping" },
|
|
647
|
+
{ value: "express", label: "Express Shipping" },
|
|
648
|
+
{ value: "priority", label: "Priority Shipping" },
|
|
649
|
+
]}
|
|
650
|
+
placeholder="Select shipping method"
|
|
651
|
+
/>
|
|
652
|
+
</div>
|
|
653
|
+
</div>
|
|
654
|
+
</div>
|
|
655
|
+
</div>
|
|
656
|
+
)
|
|
657
|
+
}`,
|
|
658
|
+
basicusage: `
|
|
659
|
+
const [selectedCategory, setSelectedCategory] = useState("")
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
const categories = [
|
|
663
|
+
{ value: "electronics", label: "Electronics" },
|
|
664
|
+
{ value: "clothing", label: "Clothing" },
|
|
665
|
+
{ value: "books", label: "Books" },
|
|
666
|
+
{ value: "home", label: "Home & Garden" },
|
|
667
|
+
{ value: "sports", label: "Sports & Outdoors" },
|
|
668
|
+
{ value: "beauty", label: "Beauty & Personal Care" },
|
|
669
|
+
{ value: "toys", label: "Toys & Games" },
|
|
670
|
+
]
|
|
671
|
+
|
|
672
|
+
<ComboboxV1
|
|
673
|
+
items={categories}
|
|
674
|
+
value={selectedCategory}
|
|
675
|
+
onValueChange={setSelectedCategory}
|
|
676
|
+
placeholder="Select category"
|
|
677
|
+
searchPlaceholder="Search categories..."
|
|
678
|
+
/>`,
|
|
679
|
+
usagePath: null,
|
|
680
|
+
desc: null,
|
|
681
|
+
customize: null,
|
|
682
|
+
props: {
|
|
683
|
+
"ComboboxV1": [
|
|
684
|
+
{ name: "items", type: "ComboboxItem[]", default: "null" },
|
|
685
|
+
{ name: "value", type: "string", default: "null" },
|
|
686
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "null" },
|
|
687
|
+
{ name: "placeholder", type: "string", default: "Select an item..." },
|
|
688
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
689
|
+
{ name: "className", type: "string", default: "null" },
|
|
690
|
+
{ name: "searchPlaceholder", type: "string", default: "Search..." },
|
|
691
|
+
{ name: "emptyText", type: "string", default: "No results found." },
|
|
692
|
+
]
|
|
693
|
+
}
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
name: "multi combobox",
|
|
697
|
+
value: "multi-combobox",
|
|
698
|
+
importPath: "~/components/catalyst-ui/comboboxes/multi-combobox",
|
|
699
|
+
path: "/components/catalyst-ui/comboboxes/multi-combobox.tsx",
|
|
700
|
+
premium: true,
|
|
701
|
+
source: null,
|
|
702
|
+
category: "Comboboxes",
|
|
703
|
+
tags: ["ui", "forms", "core"],
|
|
704
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
705
|
+
dependencies: ["lucide-react"],
|
|
706
|
+
usage: `
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
export const meta: MetaFunction = () => {
|
|
714
|
+
return [
|
|
715
|
+
{ title: "Comboboxes Demo" },
|
|
716
|
+
{ name: "description", content: "Demo of combobox components with various styles and functionality" },
|
|
717
|
+
]
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
export default function ComboboxesDemo() {
|
|
721
|
+
const [selectedCountry, setSelectedCountry] = useState("")
|
|
722
|
+
const [selectedCategory, setSelectedCategory] = useState("")
|
|
723
|
+
const [selectedStatus, setSelectedStatus] = useState("")
|
|
724
|
+
const [selectedTags, setSelectedTags] = useState<string[]>([])
|
|
725
|
+
const [selectedUsers, setSelectedUsers] = useState<string[]>([])
|
|
726
|
+
const [searchQuery, setSearchQuery] = useState("")
|
|
727
|
+
|
|
728
|
+
// Sample data
|
|
729
|
+
const countries = [
|
|
730
|
+
{ value: "us", label: "United States" },
|
|
731
|
+
{ value: "ca", label: "Canada" },
|
|
732
|
+
{ value: "uk", label: "United Kingdom" },
|
|
733
|
+
{ value: "au", label: "Australia" },
|
|
734
|
+
{ value: "de", label: "Germany" },
|
|
735
|
+
{ value: "fr", label: "France" },
|
|
736
|
+
{ value: "jp", label: "Japan" },
|
|
737
|
+
{ value: "br", label: "Brazil" },
|
|
738
|
+
]
|
|
739
|
+
|
|
740
|
+
const categories = [
|
|
741
|
+
{ value: "electronics", label: "Electronics" },
|
|
742
|
+
{ value: "clothing", label: "Clothing" },
|
|
743
|
+
{ value: "books", label: "Books" },
|
|
744
|
+
{ value: "home", label: "Home & Garden" },
|
|
745
|
+
{ value: "sports", label: "Sports & Outdoors" },
|
|
746
|
+
{ value: "beauty", label: "Beauty & Personal Care" },
|
|
747
|
+
{ value: "toys", label: "Toys & Games" },
|
|
748
|
+
]
|
|
749
|
+
|
|
750
|
+
const statuses = [
|
|
751
|
+
{ value: "active", label: "Active" },
|
|
752
|
+
{ value: "pending", label: "Pending" },
|
|
753
|
+
{ value: "draft", label: "Draft" },
|
|
754
|
+
{ value: "archived", label: "Archived" },
|
|
755
|
+
]
|
|
756
|
+
|
|
757
|
+
const tags = [
|
|
758
|
+
{ value: "featured", label: "Featured" },
|
|
759
|
+
{ value: "sale", label: "On Sale" },
|
|
760
|
+
{ value: "new", label: "New Arrival" },
|
|
761
|
+
{ value: "popular", label: "Popular" },
|
|
762
|
+
{ value: "limited", label: "Limited Edition" },
|
|
763
|
+
{ value: "clearance", label: "Clearance" },
|
|
764
|
+
]
|
|
765
|
+
|
|
766
|
+
const users = [
|
|
767
|
+
{ value: "alice", label: "Alice Johnson", email: "alice@example.com" },
|
|
768
|
+
{ value: "bob", label: "Bob Smith", email: "bob@example.com" },
|
|
769
|
+
{ value: "carol", label: "Carol Williams", email: "carol@example.com" },
|
|
770
|
+
{ value: "dave", label: "Dave Brown", email: "dave@example.com" },
|
|
771
|
+
{ value: "eve", label: "Eve Davis", email: "eve@example.com" },
|
|
772
|
+
{ value: "frank", label: "Frank Miller", email: "frank@example.com" },
|
|
773
|
+
]
|
|
774
|
+
|
|
775
|
+
// Sample products data
|
|
776
|
+
const products = [
|
|
777
|
+
{ id: 1, name: "Wireless Headphones", category: "electronics", tags: ["featured", "new"], status: "active", country: "us" },
|
|
778
|
+
{ id: 2, name: "Cotton T-Shirt", category: "clothing", tags: ["sale"], status: "active", country: "ca" },
|
|
779
|
+
{ id: 3, name: "Programming Book", category: "books", tags: ["popular"], status: "draft", country: "uk" },
|
|
780
|
+
{ id: 4, name: "Desk Lamp", category: "home", tags: ["new"], status: "active", country: "de" },
|
|
781
|
+
{ id: 5, name: "Yoga Mat", category: "sports", tags: ["featured", "sale"], status: "active", country: "us" },
|
|
782
|
+
{ id: 6, name: "Face Cream", category: "beauty", tags: ["new", "limited"], status: "pending", country: "fr" },
|
|
783
|
+
{ id: 7, name: "Board Game", category: "toys", tags: ["popular", "clearance"], status: "active", country: "ca" },
|
|
784
|
+
{ id: 8, name: "Smart Watch", category: "electronics", tags: ["featured", "new"], status: "archived", country: "jp" },
|
|
785
|
+
]
|
|
786
|
+
|
|
787
|
+
// Filter products based on selected filters and search query
|
|
788
|
+
const filteredProducts = products.filter(product => {
|
|
789
|
+
// Filter by category if selected
|
|
790
|
+
if (selectedCategory && product.category !== selectedCategory) return false
|
|
791
|
+
|
|
792
|
+
// Filter by status if selected
|
|
793
|
+
if (selectedStatus && product.status !== selectedStatus) return false
|
|
794
|
+
|
|
795
|
+
// Filter by country if selected
|
|
796
|
+
if (selectedCountry && product.country !== selectedCountry) return false
|
|
797
|
+
|
|
798
|
+
// Filter by tags if selected
|
|
799
|
+
if (selectedTags.length > 0 && !selectedTags.some(tag => product.tags.includes(tag))) return false
|
|
800
|
+
|
|
801
|
+
// Filter by search query
|
|
802
|
+
if (searchQuery && !product.name.toLowerCase().includes(searchQuery.toLowerCase())) return false
|
|
803
|
+
|
|
804
|
+
return true
|
|
805
|
+
})
|
|
806
|
+
|
|
807
|
+
return (
|
|
808
|
+
<div className="container mx-auto py-10 px-4 max-w-6xl">
|
|
809
|
+
<div className="mb-10">
|
|
810
|
+
<h1 className="text-3xl font-bold text-foreground mb-2">Combobox Components</h1>
|
|
811
|
+
<p className="text-muted-foreground">
|
|
812
|
+
Various combobox styles and implementations with functional examples.
|
|
813
|
+
</p>
|
|
814
|
+
</div>
|
|
815
|
+
|
|
816
|
+
{/* Filterable Products Section */}
|
|
817
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
818
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Product Filter with Comboboxes</h2>
|
|
819
|
+
|
|
820
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
|
|
821
|
+
{/* Search Input */}
|
|
822
|
+
<div className="lg:col-span-2">
|
|
823
|
+
<div className="relative">
|
|
824
|
+
<Search className="absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground" />
|
|
825
|
+
<input
|
|
826
|
+
type="text"
|
|
827
|
+
placeholder="Search products..."
|
|
828
|
+
className="w-full pl-10 pr-4 py-2 border rounded-md bg-background text-foreground focus:outline-none focus:ring-2 focus:ring-ring"
|
|
829
|
+
value={searchQuery}
|
|
830
|
+
onChange={(e) => setSearchQuery(e.target.value)}
|
|
831
|
+
/>
|
|
832
|
+
</div>
|
|
833
|
+
</div>
|
|
834
|
+
|
|
835
|
+
{/* Category Combobox */}
|
|
836
|
+
<div>
|
|
837
|
+
<Combobox
|
|
838
|
+
items={categories}
|
|
839
|
+
value={selectedCategory}
|
|
840
|
+
onValueChange={setSelectedCategory}
|
|
841
|
+
placeholder="Select category"
|
|
842
|
+
searchPlaceholder="Search categories..."
|
|
843
|
+
/>
|
|
844
|
+
</div>
|
|
845
|
+
|
|
846
|
+
{/* Status Combobox */}
|
|
847
|
+
<div>
|
|
848
|
+
<Combobox
|
|
849
|
+
items={statuses}
|
|
850
|
+
value={selectedStatus}
|
|
851
|
+
onValueChange={setSelectedStatus}
|
|
852
|
+
placeholder="Select status"
|
|
853
|
+
searchPlaceholder="Search statuses..."
|
|
854
|
+
/>
|
|
855
|
+
</div>
|
|
856
|
+
|
|
857
|
+
{/* Country Combobox */}
|
|
858
|
+
<div>
|
|
859
|
+
<Combobox
|
|
860
|
+
items={countries}
|
|
861
|
+
value={selectedCountry}
|
|
862
|
+
onValueChange={setSelectedCountry}
|
|
863
|
+
placeholder="Select country"
|
|
864
|
+
searchPlaceholder="Search countries..."
|
|
865
|
+
/>
|
|
866
|
+
</div>
|
|
867
|
+
|
|
868
|
+
{/* Tags MultiCombobox */}
|
|
869
|
+
<div className="lg:col-span-2">
|
|
870
|
+
<MultiCombobox
|
|
871
|
+
items={tags}
|
|
872
|
+
value={selectedTags}
|
|
873
|
+
onValueChange={setSelectedTags}
|
|
874
|
+
placeholder="Select tags"
|
|
875
|
+
searchPlaceholder="Search tags..."
|
|
876
|
+
/>
|
|
877
|
+
</div>
|
|
878
|
+
</div>
|
|
879
|
+
|
|
880
|
+
{/* Results */}
|
|
881
|
+
<div>
|
|
882
|
+
<h3 className="text-lg font-medium text-foreground mb-4">
|
|
883
|
+
Products ({filteredProducts.length} items)
|
|
884
|
+
</h3>
|
|
885
|
+
|
|
886
|
+
{filteredProducts.length === 0 ? (
|
|
887
|
+
<p className="text-muted-foreground">No products match your filters.</p>
|
|
888
|
+
) : (
|
|
889
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
|
890
|
+
{filteredProducts.map(product => (
|
|
891
|
+
<div key={product.id} className="border rounded-lg p-4 bg-background">
|
|
892
|
+
<h4 className="font-medium text-foreground mb-2">{product.name}</h4>
|
|
893
|
+
<div className="grid grid-cols-2 gap-2 text-sm text-muted-foreground">
|
|
894
|
+
<div>
|
|
895
|
+
<span className="font-medium">Category:</span> {product.category}
|
|
896
|
+
</div>
|
|
897
|
+
<div>
|
|
898
|
+
<span className="font-medium">Status:</span> {product.status}
|
|
899
|
+
</div>
|
|
900
|
+
<div>
|
|
901
|
+
<span className="font-medium">Country:</span> {countries.find(c => c.value === product.country)?.label}
|
|
902
|
+
</div>
|
|
903
|
+
<div>
|
|
904
|
+
<span className="font-medium">Tags:</span> {product.tags.join(", ")}
|
|
905
|
+
</div>
|
|
906
|
+
</div>
|
|
907
|
+
</div>
|
|
908
|
+
))}
|
|
909
|
+
</div>
|
|
910
|
+
)}
|
|
911
|
+
</div>
|
|
912
|
+
</div>
|
|
913
|
+
|
|
914
|
+
{/* Single Combobox Examples */}
|
|
915
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
916
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Single Selection Comboboxes</h2>
|
|
917
|
+
|
|
918
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
919
|
+
<div className="space-y-2">
|
|
920
|
+
<label className="text-sm font-medium text-foreground">Country</label>
|
|
921
|
+
<Combobox
|
|
922
|
+
items={countries}
|
|
923
|
+
value={selectedCountry}
|
|
924
|
+
onValueChange={setSelectedCountry}
|
|
925
|
+
placeholder="Select a country"
|
|
926
|
+
/>
|
|
927
|
+
</div>
|
|
928
|
+
|
|
929
|
+
<div className="space-y-2">
|
|
930
|
+
<label className="text-sm font-medium text-foreground">Status</label>
|
|
931
|
+
<Combobox
|
|
932
|
+
items={statuses}
|
|
933
|
+
value={selectedStatus}
|
|
934
|
+
onValueChange={setSelectedStatus}
|
|
935
|
+
placeholder="Select status"
|
|
936
|
+
/>
|
|
937
|
+
</div>
|
|
938
|
+
|
|
939
|
+
<div className="space-y-2">
|
|
940
|
+
<label className="text-sm font-medium text-foreground">Category</label>
|
|
941
|
+
<Combobox
|
|
942
|
+
items={categories}
|
|
943
|
+
value={selectedCategory}
|
|
944
|
+
onValueChange={setSelectedCategory}
|
|
945
|
+
placeholder="Select category"
|
|
946
|
+
/>
|
|
947
|
+
</div>
|
|
948
|
+
</div>
|
|
949
|
+
</div>
|
|
950
|
+
|
|
951
|
+
{/* Multi Combobox Examples */}
|
|
952
|
+
<div className="bg-card p-6 rounded-lg border mb-8">
|
|
953
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Multiple Selection Comboboxes</h2>
|
|
954
|
+
|
|
955
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
956
|
+
<div className="space-y-2">
|
|
957
|
+
<label className="text-sm font-medium text-foreground">Tags</label>
|
|
958
|
+
<MultiCombobox
|
|
959
|
+
items={tags}
|
|
960
|
+
value={selectedTags}
|
|
961
|
+
onValueChange={setSelectedTags}
|
|
962
|
+
placeholder="Select tags"
|
|
963
|
+
/>
|
|
964
|
+
</div>
|
|
965
|
+
|
|
966
|
+
<div className="space-y-2">
|
|
967
|
+
<label className="text-sm font-medium text-foreground">Team Members</label>
|
|
968
|
+
<MultiCombobox
|
|
969
|
+
items={users}
|
|
970
|
+
value={selectedUsers}
|
|
971
|
+
onValueChange={setSelectedUsers}
|
|
972
|
+
placeholder="Select team members"
|
|
973
|
+
/>
|
|
974
|
+
</div>
|
|
975
|
+
</div>
|
|
976
|
+
|
|
977
|
+
{selectedUsers.length > 0 && (
|
|
978
|
+
<div className="mt-4 p-4 bg-muted rounded-md">
|
|
979
|
+
<h3 className="font-medium text-foreground mb-2">Selected Team Members:</h3>
|
|
980
|
+
<div className="space-y-2">
|
|
981
|
+
{selectedUsers.map(userId => {
|
|
982
|
+
const user = users.find(u => u.value === userId)
|
|
983
|
+
return user ? (
|
|
984
|
+
<div key={user.value} className="flex items-center space-x-3 p-2 bg-background rounded-md">
|
|
985
|
+
<div className="flex items-center justify-center h-8 w-8 rounded-full bg-primary text-primary-foreground">
|
|
986
|
+
<User className="h-4 w-4" />
|
|
987
|
+
</div>
|
|
988
|
+
<div>
|
|
989
|
+
<div className="text-sm font-medium text-foreground">{user.label}</div>
|
|
990
|
+
<div className="text-xs text-muted-foreground">{user.email}</div>
|
|
991
|
+
</div>
|
|
992
|
+
</div>
|
|
993
|
+
) : null
|
|
994
|
+
})}
|
|
995
|
+
</div>
|
|
996
|
+
</div>
|
|
997
|
+
)}
|
|
998
|
+
</div>
|
|
999
|
+
|
|
1000
|
+
{/* Combobox with Icons */}
|
|
1001
|
+
<div className="bg-card p-6 rounded-lg border">
|
|
1002
|
+
<h2 className="text-xl font-semibold text-foreground mb-4">Combobox with Custom Items</h2>
|
|
1003
|
+
|
|
1004
|
+
<div className="grid grid-cols-1 md:grid-cols-2 gap-6">
|
|
1005
|
+
<div className="space-y-2">
|
|
1006
|
+
<label className="text-sm font-medium text-foreground">Payment Method</label>
|
|
1007
|
+
<Combobox
|
|
1008
|
+
items={[
|
|
1009
|
+
{ value: "credit-card", label: "Credit Card" },
|
|
1010
|
+
{ value: "paypal", label: "PayPal" },
|
|
1011
|
+
{ value: "bank-transfer", label: "Bank Transfer" },
|
|
1012
|
+
]}
|
|
1013
|
+
placeholder="Select payment method"
|
|
1014
|
+
/>
|
|
1015
|
+
</div>
|
|
1016
|
+
|
|
1017
|
+
<div className="space-y-2">
|
|
1018
|
+
<label className="text-sm font-medium text-foreground">Shipping Method</label>
|
|
1019
|
+
<Combobox
|
|
1020
|
+
items={[
|
|
1021
|
+
{ value: "standard", label: "Standard Shipping" },
|
|
1022
|
+
{ value: "express", label: "Express Shipping" },
|
|
1023
|
+
{ value: "priority", label: "Priority Shipping" },
|
|
1024
|
+
]}
|
|
1025
|
+
placeholder="Select shipping method"
|
|
1026
|
+
/>
|
|
1027
|
+
</div>
|
|
1028
|
+
</div>
|
|
1029
|
+
</div>
|
|
1030
|
+
</div>
|
|
1031
|
+
)
|
|
1032
|
+
}`,
|
|
1033
|
+
basicusage: `
|
|
1034
|
+
|
|
1035
|
+
const frameworks = [
|
|
1036
|
+
{ value: "react", label: "React" },
|
|
1037
|
+
{ value: "vue", label: "Vue.js" },
|
|
1038
|
+
{ value: "angular", label: "Angular" },
|
|
1039
|
+
{ value: "svelte", label: "Svelte" },
|
|
1040
|
+
{ value: "nextjs", label: "Next.js" },
|
|
1041
|
+
{ value: "nuxtjs", label: "Nuxt.js" },
|
|
1042
|
+
{ value: "gatsby", label: "Gatsby" },
|
|
1043
|
+
{ value: "remix", label: "Remix" },
|
|
1044
|
+
];
|
|
1045
|
+
const [selectedFrameworks, setSelectedFrameworks] = useState(['react', 'nextjs']);
|
|
1046
|
+
<MultiCombobox
|
|
1047
|
+
items={frameworks}
|
|
1048
|
+
value={selectedFrameworks}
|
|
1049
|
+
onValueChange={setSelectedFrameworks}
|
|
1050
|
+
placeholder="Choose your frameworks..."
|
|
1051
|
+
searchPlaceholder="Search frameworks..."
|
|
1052
|
+
/>`,
|
|
1053
|
+
usagePath: null,
|
|
1054
|
+
desc: null,
|
|
1055
|
+
customize: null,
|
|
1056
|
+
props: {
|
|
1057
|
+
"MultiCombobox": [
|
|
1058
|
+
{ name: "items", type: "MultiComboboxItem[]", default: "null" },
|
|
1059
|
+
{ name: "value", type: "string[]", default: "[]" },
|
|
1060
|
+
{ name: "onValueChange", type: "(value: string[]) => void", default: "null" },
|
|
1061
|
+
{ name: "placeholder", type: "string", default: "Select items..." },
|
|
1062
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
1063
|
+
{ name: "className", type: "string", default: "null" },
|
|
1064
|
+
{ name: "searchPlaceholder", type: "string", default: "Search..." },
|
|
1065
|
+
{ name: "emptyText", type: "string", default: "No results found." },
|
|
1066
|
+
]
|
|
1067
|
+
}
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
name: "nested combobox",
|
|
1071
|
+
value: "nested-combobox",
|
|
1072
|
+
importPath: "~/components/catalyst-ui/comboboxes/nested-combobox",
|
|
1073
|
+
path: "/components/catalyst-ui/comboboxes/nested-combobox.tsx",
|
|
1074
|
+
premium: true,
|
|
1075
|
+
source: null,
|
|
1076
|
+
category: "Comboboxes",
|
|
1077
|
+
tags: ["utils", "auth", "user auth"],
|
|
1078
|
+
features: ["utils", "auth", "user auth"],
|
|
1079
|
+
dependencies: [],
|
|
1080
|
+
usage: `
|
|
1081
|
+
|
|
1082
|
+
export function NestedComboboxDemo() {
|
|
1083
|
+
const [frameworkValue, setFrameworkValue] = useState("");
|
|
1084
|
+
const [projectValue, setProjectValue] = useState("");
|
|
1085
|
+
const [settingsValue, setSettingsValue] = useState("");
|
|
1086
|
+
|
|
1087
|
+
const frameworkPages = [
|
|
1088
|
+
{
|
|
1089
|
+
id: 'root',
|
|
1090
|
+
items: [
|
|
1091
|
+
{ id: 'next.js', label: 'Next.js', icon: <FolderOpen size={16} /> },
|
|
1092
|
+
{ id: 'sveltekit', label: 'SvelteKit', icon: <FolderOpen size={16} /> },
|
|
1093
|
+
{ id: 'nuxt.js', label: 'Nuxt.js', icon: <FolderOpen size={16} /> },
|
|
1094
|
+
{ id: 'remix', label: 'Remix', icon: <FolderOpen size={16} /> },
|
|
1095
|
+
{ id: 'astro', label: 'Astro', icon: <FolderOpen size={16} /> },
|
|
1096
|
+
]
|
|
1097
|
+
}
|
|
1098
|
+
];
|
|
1099
|
+
|
|
1100
|
+
const projectPages = [
|
|
1101
|
+
{
|
|
1102
|
+
id: 'main',
|
|
1103
|
+
title: 'Categories',
|
|
1104
|
+
items: [
|
|
1105
|
+
{
|
|
1106
|
+
id: 'projects-nav',
|
|
1107
|
+
label: 'Projects',
|
|
1108
|
+
icon: <FolderOpen size={16} />,
|
|
1109
|
+
navigateTo: 'projects'
|
|
1110
|
+
},
|
|
1111
|
+
{
|
|
1112
|
+
id: 'teams-nav',
|
|
1113
|
+
label: 'Teams',
|
|
1114
|
+
icon: <Users size={16} />,
|
|
1115
|
+
navigateTo: 'teams'
|
|
1116
|
+
}
|
|
1117
|
+
]
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
id: 'projects',
|
|
1121
|
+
title: 'Available Projects',
|
|
1122
|
+
items: [
|
|
1123
|
+
{
|
|
1124
|
+
id: 'project-alpha',
|
|
1125
|
+
label: 'Project Alpha',
|
|
1126
|
+
value: 'alpha',
|
|
1127
|
+
icon: <FolderOpen size={16} />
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
id: 'project-beta',
|
|
1131
|
+
label: 'Project Beta',
|
|
1132
|
+
value: 'beta',
|
|
1133
|
+
icon: <FolderOpen size={16} />
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
id: 'project-gamma',
|
|
1137
|
+
label: 'Project Gamma',
|
|
1138
|
+
value: 'gamma',
|
|
1139
|
+
icon: <FolderOpen size={16} />
|
|
1140
|
+
}
|
|
1141
|
+
]
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
id: 'teams',
|
|
1145
|
+
title: 'Available Teams',
|
|
1146
|
+
items: [
|
|
1147
|
+
{
|
|
1148
|
+
id: 'frontend-team',
|
|
1149
|
+
label: 'Frontend Team',
|
|
1150
|
+
value: 'frontend',
|
|
1151
|
+
icon: <Users size={16} />
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
id: 'backend-team',
|
|
1155
|
+
label: 'Backend Team',
|
|
1156
|
+
value: 'backend',
|
|
1157
|
+
icon: <Users size={16} />
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
id: 'design-team',
|
|
1161
|
+
label: 'Design Team',
|
|
1162
|
+
value: 'design',
|
|
1163
|
+
icon: <Users size={16} />
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
}
|
|
1167
|
+
];
|
|
1168
|
+
|
|
1169
|
+
const settingsPages = [
|
|
1170
|
+
{
|
|
1171
|
+
id: 'main',
|
|
1172
|
+
title: 'Settings',
|
|
1173
|
+
items: [
|
|
1174
|
+
{
|
|
1175
|
+
id: 'general',
|
|
1176
|
+
label: 'General Settings',
|
|
1177
|
+
icon: <Settings size={16} />,
|
|
1178
|
+
navigateTo: 'general'
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
id: 'appearance',
|
|
1182
|
+
label: 'Appearance',
|
|
1183
|
+
icon: <Palette size={16} />,
|
|
1184
|
+
navigateTo: 'themes'
|
|
1185
|
+
}
|
|
1186
|
+
]
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
id: 'general',
|
|
1190
|
+
title: 'General',
|
|
1191
|
+
items: [
|
|
1192
|
+
{
|
|
1193
|
+
id: 'notifications',
|
|
1194
|
+
label: 'Enable Notifications',
|
|
1195
|
+
value: 'notifications',
|
|
1196
|
+
icon: <Bell size={16} />
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
id: 'security',
|
|
1200
|
+
label: 'Security Settings',
|
|
1201
|
+
value: 'security',
|
|
1202
|
+
icon: <Shield size={16} />
|
|
1203
|
+
}
|
|
1204
|
+
]
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
id: 'themes',
|
|
1208
|
+
title: 'Themes',
|
|
1209
|
+
items: [
|
|
1210
|
+
{
|
|
1211
|
+
id: 'light',
|
|
1212
|
+
label: 'Light Theme',
|
|
1213
|
+
value: 'light',
|
|
1214
|
+
icon: <Sun size={16} />
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
id: 'dark',
|
|
1218
|
+
label: 'Dark Theme',
|
|
1219
|
+
value: 'dark',
|
|
1220
|
+
icon: <Moon size={16} />
|
|
1221
|
+
}
|
|
1222
|
+
]
|
|
1223
|
+
}
|
|
1224
|
+
];
|
|
1225
|
+
|
|
1226
|
+
return (
|
|
1227
|
+
<div className="max-w-4xl mx-auto p-6 space-y-8">
|
|
1228
|
+
<div className="text-center">
|
|
1229
|
+
<h1 className="text-3xl font-bold mb-2">NestedCombobox Component</h1>
|
|
1230
|
+
<p className="text-muted-foreground">Combobox with nested navigation support</p>
|
|
1231
|
+
</div>
|
|
1232
|
+
|
|
1233
|
+
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-3">
|
|
1234
|
+
<div className="space-y-4">
|
|
1235
|
+
<h3 className="text-lg font-semibold">Simple Framework Selection</h3>
|
|
1236
|
+
<p className="text-sm text-muted-foreground">Basic combobox without nesting</p>
|
|
1237
|
+
<NestedCombobox
|
|
1238
|
+
pages={frameworkPages}
|
|
1239
|
+
placeholder="Select framework..."
|
|
1240
|
+
value={frameworkValue}
|
|
1241
|
+
onValueChange={setFrameworkValue}
|
|
1242
|
+
defaultPage="root"
|
|
1243
|
+
width="w-full"
|
|
1244
|
+
/>
|
|
1245
|
+
{frameworkValue && (
|
|
1246
|
+
<p className="text-sm text-muted-foreground">Selected: {frameworkValue}</p>
|
|
1247
|
+
)}
|
|
1248
|
+
</div>
|
|
1249
|
+
|
|
1250
|
+
<div className="space-y-4">
|
|
1251
|
+
<h3 className="text-lg font-semibold">Project & Team Selection</h3>
|
|
1252
|
+
<p className="text-sm text-muted-foreground">Navigate through categories to select</p>
|
|
1253
|
+
<NestedCombobox
|
|
1254
|
+
pages={projectPages}
|
|
1255
|
+
placeholder="Choose project or team..."
|
|
1256
|
+
value={projectValue}
|
|
1257
|
+
onValueChange={setProjectValue}
|
|
1258
|
+
width="w-full"
|
|
1259
|
+
/>
|
|
1260
|
+
{projectValue && (
|
|
1261
|
+
<p className="text-sm text-muted-foreground">Selected: {projectValue}</p>
|
|
1262
|
+
)}
|
|
1263
|
+
</div>
|
|
1264
|
+
|
|
1265
|
+
<div className="space-y-4">
|
|
1266
|
+
<h3 className="text-lg font-semibold">Settings Selection</h3>
|
|
1267
|
+
<p className="text-sm text-muted-foreground">Choose from nested settings options</p>
|
|
1268
|
+
<NestedCombobox
|
|
1269
|
+
pages={settingsPages}
|
|
1270
|
+
placeholder="Select setting..."
|
|
1271
|
+
value={settingsValue}
|
|
1272
|
+
onValueChange={setSettingsValue}
|
|
1273
|
+
width="w-full"
|
|
1274
|
+
/>
|
|
1275
|
+
{settingsValue && (
|
|
1276
|
+
<p className="text-sm text-muted-foreground">Selected: {settingsValue}</p>
|
|
1277
|
+
)}
|
|
1278
|
+
</div>
|
|
1279
|
+
</div>
|
|
1280
|
+
|
|
1281
|
+
<div className="space-y-4">
|
|
1282
|
+
<h2 className="text-xl font-semibold">Navigation Instructions</h2>
|
|
1283
|
+
<div className="text-sm text-muted-foreground space-y-1">
|
|
1284
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Escape</kbd> - Go back or close</p>
|
|
1285
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Backspace</kbd> - Go back when search is empty</p>
|
|
1286
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Enter</kbd> - Select item or navigate deeper</p>
|
|
1287
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">↑↓</kbd> - Navigate items</p>
|
|
1288
|
+
<p>Click "Back" button or use keyboard to navigate between levels</p>
|
|
1289
|
+
</div>
|
|
1290
|
+
</div>
|
|
1291
|
+
|
|
1292
|
+
<div className="space-y-4">
|
|
1293
|
+
<h2 className="text-xl font-semibold">Current Values</h2>
|
|
1294
|
+
<div className="grid gap-4 md:grid-cols-3">
|
|
1295
|
+
<div className="p-4 border rounded-lg">
|
|
1296
|
+
<h4 className="font-medium">Framework</h4>
|
|
1297
|
+
<p className="text-sm text-muted-foreground">{frameworkValue || 'None selected'}</p>
|
|
1298
|
+
</div>
|
|
1299
|
+
<div className="p-4 border rounded-lg">
|
|
1300
|
+
<h4 className="font-medium">Project/Team</h4>
|
|
1301
|
+
<p className="text-sm text-muted-foreground">{projectValue || 'None selected'}</p>
|
|
1302
|
+
</div>
|
|
1303
|
+
<div className="p-4 border rounded-lg">
|
|
1304
|
+
<h4 className="font-medium">Setting</h4>
|
|
1305
|
+
<p className="text-sm text-muted-foreground">{settingsValue || 'None selected'}</p>
|
|
1306
|
+
</div>
|
|
1307
|
+
</div>
|
|
1308
|
+
</div>
|
|
1309
|
+
</div>
|
|
1310
|
+
);
|
|
1311
|
+
}`,
|
|
1312
|
+
basicusage: `
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
const [frameworkValue, setFrameworkValue] = useState("");
|
|
1316
|
+
const [projectValue, setProjectValue] = useState("");
|
|
1317
|
+
const [settingsValue, setSettingsValue] = useState("");
|
|
1318
|
+
|
|
1319
|
+
const frameworkPages = [
|
|
1320
|
+
{
|
|
1321
|
+
id: 'root',
|
|
1322
|
+
items: [
|
|
1323
|
+
{ id: 'next.js', label: 'Next.js', icon: <FolderOpen size={16} /> },
|
|
1324
|
+
{ id: 'sveltekit', label: 'SvelteKit', icon: <FolderOpen size={16} /> },
|
|
1325
|
+
{ id: 'nuxt.js', label: 'Nuxt.js', icon: <FolderOpen size={16} /> },
|
|
1326
|
+
{ id: 'remix', label: 'Remix', icon: <FolderOpen size={16} /> },
|
|
1327
|
+
{ id: 'astro', label: 'Astro', icon: <FolderOpen size={16} /> },
|
|
1328
|
+
]
|
|
1329
|
+
}
|
|
1330
|
+
];
|
|
1331
|
+
|
|
1332
|
+
const projectPages = [
|
|
1333
|
+
{
|
|
1334
|
+
id: 'main',
|
|
1335
|
+
title: 'Categories',
|
|
1336
|
+
items: [
|
|
1337
|
+
{
|
|
1338
|
+
id: 'projects-nav',
|
|
1339
|
+
label: 'Projects',
|
|
1340
|
+
icon: <FolderOpen size={16} />,
|
|
1341
|
+
navigateTo: 'projects'
|
|
1342
|
+
},
|
|
1343
|
+
{
|
|
1344
|
+
id: 'teams-nav',
|
|
1345
|
+
label: 'Teams',
|
|
1346
|
+
icon: <Users size={16} />,
|
|
1347
|
+
navigateTo: 'teams'
|
|
1348
|
+
}
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
id: 'projects',
|
|
1353
|
+
title: 'Available Projects',
|
|
1354
|
+
items: [
|
|
1355
|
+
{
|
|
1356
|
+
id: 'project-alpha',
|
|
1357
|
+
label: 'Project Alpha',
|
|
1358
|
+
value: 'alpha',
|
|
1359
|
+
icon: <FolderOpen size={16} />
|
|
1360
|
+
},
|
|
1361
|
+
{
|
|
1362
|
+
id: 'project-beta',
|
|
1363
|
+
label: 'Project Beta',
|
|
1364
|
+
value: 'beta',
|
|
1365
|
+
icon: <FolderOpen size={16} />
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
id: 'project-gamma',
|
|
1369
|
+
label: 'Project Gamma',
|
|
1370
|
+
value: 'gamma',
|
|
1371
|
+
icon: <FolderOpen size={16} />
|
|
1372
|
+
}
|
|
1373
|
+
]
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
id: 'teams',
|
|
1377
|
+
title: 'Available Teams',
|
|
1378
|
+
items: [
|
|
1379
|
+
{
|
|
1380
|
+
id: 'frontend-team',
|
|
1381
|
+
label: 'Frontend Team',
|
|
1382
|
+
value: 'frontend',
|
|
1383
|
+
icon: <Users size={16} />
|
|
1384
|
+
},
|
|
1385
|
+
{
|
|
1386
|
+
id: 'backend-team',
|
|
1387
|
+
label: 'Backend Team',
|
|
1388
|
+
value: 'backend',
|
|
1389
|
+
icon: <Users size={16} />
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
id: 'design-team',
|
|
1393
|
+
label: 'Design Team',
|
|
1394
|
+
value: 'design',
|
|
1395
|
+
icon: <Users size={16} />
|
|
1396
|
+
}
|
|
1397
|
+
]
|
|
1398
|
+
}
|
|
1399
|
+
];
|
|
1400
|
+
|
|
1401
|
+
const settingsPages = [
|
|
1402
|
+
{
|
|
1403
|
+
id: 'main',
|
|
1404
|
+
title: 'Settings',
|
|
1405
|
+
items: [
|
|
1406
|
+
{
|
|
1407
|
+
id: 'general',
|
|
1408
|
+
label: 'General Settings',
|
|
1409
|
+
icon: <Settings size={16} />,
|
|
1410
|
+
navigateTo: 'general'
|
|
1411
|
+
},
|
|
1412
|
+
{
|
|
1413
|
+
id: 'appearance',
|
|
1414
|
+
label: 'Appearance',
|
|
1415
|
+
icon: <Palette size={16} />,
|
|
1416
|
+
navigateTo: 'themes'
|
|
1417
|
+
}
|
|
1418
|
+
]
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
id: 'general',
|
|
1422
|
+
title: 'General',
|
|
1423
|
+
items: [
|
|
1424
|
+
{
|
|
1425
|
+
id: 'notifications',
|
|
1426
|
+
label: 'Enable Notifications',
|
|
1427
|
+
value: 'notifications',
|
|
1428
|
+
icon: <Bell size={16} />
|
|
1429
|
+
},
|
|
1430
|
+
{
|
|
1431
|
+
id: 'security',
|
|
1432
|
+
label: 'Security Settings',
|
|
1433
|
+
value: 'security',
|
|
1434
|
+
icon: <Shield size={16} />
|
|
1435
|
+
}
|
|
1436
|
+
]
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
id: 'themes',
|
|
1440
|
+
title: 'Themes',
|
|
1441
|
+
items: [
|
|
1442
|
+
{
|
|
1443
|
+
id: 'light',
|
|
1444
|
+
label: 'Light Theme',
|
|
1445
|
+
value: 'light',
|
|
1446
|
+
icon: <Sun size={16} />
|
|
1447
|
+
},
|
|
1448
|
+
{
|
|
1449
|
+
id: 'dark',
|
|
1450
|
+
label: 'Dark Theme',
|
|
1451
|
+
value: 'dark',
|
|
1452
|
+
icon: <Moon size={16} />
|
|
1453
|
+
}
|
|
1454
|
+
]
|
|
1455
|
+
}
|
|
1456
|
+
]
|
|
1457
|
+
<div className="max-w-4xl mx-auto p-6 space-y-8">
|
|
1458
|
+
<div className="text-center">
|
|
1459
|
+
<h1 className="text-3xl font-bold mb-2">NestedCombobox Component</h1>
|
|
1460
|
+
<p className="text-muted-foreground">Combobox with nested navigation support</p>
|
|
1461
|
+
</div>
|
|
1462
|
+
|
|
1463
|
+
<div className="grid gap-8 md:grid-cols-2 lg:grid-cols-3">
|
|
1464
|
+
<div className="space-y-4">
|
|
1465
|
+
<h3 className="text-lg font-semibold">Simple Framework Selection</h3>
|
|
1466
|
+
<p className="text-sm text-muted-foreground">Basic combobox without nesting</p>
|
|
1467
|
+
<NestedCombobox
|
|
1468
|
+
pages={frameworkPages}
|
|
1469
|
+
placeholder="Select framework..."
|
|
1470
|
+
value={frameworkValue}
|
|
1471
|
+
onValueChange={setFrameworkValue}
|
|
1472
|
+
defaultPage="root"
|
|
1473
|
+
width="w-full"
|
|
1474
|
+
/>
|
|
1475
|
+
{frameworkValue && (
|
|
1476
|
+
<p className="text-sm text-muted-foreground">Selected: {frameworkValue}</p>
|
|
1477
|
+
)}
|
|
1478
|
+
</div>
|
|
1479
|
+
|
|
1480
|
+
<div className="space-y-4">
|
|
1481
|
+
<h3 className="text-lg font-semibold">Project & Team Selection</h3>
|
|
1482
|
+
<p className="text-sm text-muted-foreground">Navigate through categories to select</p>
|
|
1483
|
+
<NestedCombobox
|
|
1484
|
+
pages={projectPages}
|
|
1485
|
+
placeholder="Choose project or team..."
|
|
1486
|
+
value={projectValue}
|
|
1487
|
+
onValueChange={setProjectValue}
|
|
1488
|
+
width="w-full"
|
|
1489
|
+
/>
|
|
1490
|
+
{projectValue && (
|
|
1491
|
+
<p className="text-sm text-muted-foreground">Selected: {projectValue}</p>
|
|
1492
|
+
)}
|
|
1493
|
+
</div>
|
|
1494
|
+
|
|
1495
|
+
<div className="space-y-4">
|
|
1496
|
+
<h3 className="text-lg font-semibold">Settings Selection</h3>
|
|
1497
|
+
<p className="text-sm text-muted-foreground">Choose from nested settings options</p>
|
|
1498
|
+
<NestedCombobox
|
|
1499
|
+
pages={settingsPages}
|
|
1500
|
+
placeholder="Select setting..."
|
|
1501
|
+
value={settingsValue}
|
|
1502
|
+
onValueChange={setSettingsValue}
|
|
1503
|
+
width="w-full"
|
|
1504
|
+
/>
|
|
1505
|
+
{settingsValue && (
|
|
1506
|
+
<p className="text-sm text-muted-foreground">Selected: {settingsValue}</p>
|
|
1507
|
+
)}
|
|
1508
|
+
</div>
|
|
1509
|
+
</div>
|
|
1510
|
+
|
|
1511
|
+
<div className="space-y-4">
|
|
1512
|
+
<h2 className="text-xl font-semibold">Navigation Instructions</h2>
|
|
1513
|
+
<div className="text-sm text-muted-foreground space-y-1">
|
|
1514
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Escape</kbd> - Go back or close</p>
|
|
1515
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Backspace</kbd> - Go back when search is empty</p>
|
|
1516
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">Enter</kbd> - Select item or navigate deeper</p>
|
|
1517
|
+
<p><kbd className="px-1 py-0.5 bg-muted rounded text-xs">↑↓</kbd> - Navigate items</p>
|
|
1518
|
+
<p>Click "Back" button or use keyboard to navigate between levels</p>
|
|
1519
|
+
</div>
|
|
1520
|
+
</div>
|
|
1521
|
+
|
|
1522
|
+
<div className="space-y-4">
|
|
1523
|
+
<h2 className="text-xl font-semibold">Current Values</h2>
|
|
1524
|
+
<div className="grid gap-4 md:grid-cols-3">
|
|
1525
|
+
<div className="p-4 border rounded-lg">
|
|
1526
|
+
<h4 className="font-medium">Framework</h4>
|
|
1527
|
+
<p className="text-sm text-muted-foreground">{frameworkValue || 'None selected'}</p>
|
|
1528
|
+
</div>
|
|
1529
|
+
<div className="p-4 border rounded-lg">
|
|
1530
|
+
<h4 className="font-medium">Project/Team</h4>
|
|
1531
|
+
<p className="text-sm text-muted-foreground">{projectValue || 'None selected'}</p>
|
|
1532
|
+
</div>
|
|
1533
|
+
<div className="p-4 border rounded-lg">
|
|
1534
|
+
<h4 className="font-medium">Setting</h4>
|
|
1535
|
+
<p className="text-sm text-muted-foreground">{settingsValue || 'None selected'}</p>
|
|
1536
|
+
</div>
|
|
1537
|
+
</div>
|
|
1538
|
+
</div>
|
|
1539
|
+
</div> `,
|
|
1540
|
+
props: {
|
|
1541
|
+
"NestedCombobox": [
|
|
1542
|
+
{ name: "pages", type: "CommandPage[]", default: "null", required: true },
|
|
1543
|
+
{ name: "placeholder", type: "string", default: "Select option...", required: false },
|
|
1544
|
+
{ name: "emptyMessage", type: "string", default: "No results found.", required: false },
|
|
1545
|
+
{ name: "className", type: "string", default: "w-[300px]", required: false },
|
|
1546
|
+
{ name: "defaultPage", type: "string", default: "null", required: false },
|
|
1547
|
+
{ name: "value", type: "string", default: "''", required: false },
|
|
1548
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "null", required: false },
|
|
1549
|
+
{ name: "onItemSelect", type: "(item: CommandItemData, pageId: string) => void", default: "null", required: false },
|
|
1550
|
+
{ name: "displayValue", type: "(value: string) => string", default: "null", required: false },
|
|
1551
|
+
],
|
|
1552
|
+
},
|
|
1553
|
+
usagePath: null,
|
|
1554
|
+
desc: null,
|
|
1555
|
+
customize: null
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
name: "Combobox 2",
|
|
1559
|
+
value: "combobox-2",
|
|
1560
|
+
importPath: "~/components/catalyst-ui/comboboxes/combobox2",
|
|
1561
|
+
multiImport: "Combobox2, ComboboxTrigger2, ComboboxContent2, ComboboxInput2, ComboboxList2, ComboboxEmpty2, ComboboxGroup2, ComboboxItem2, ComboboxSeparator2, ComboboxCreateNew2",
|
|
1562
|
+
basicusage: `
|
|
1563
|
+
<Combobox2 data={data} type="item">
|
|
1564
|
+
<ComboboxTrigger2 />
|
|
1565
|
+
<ComboboxContent2>
|
|
1566
|
+
<ComboboxInput2 />
|
|
1567
|
+
<ComboboxList2>
|
|
1568
|
+
<ComboboxEmpty2 />
|
|
1569
|
+
<ComboboxGroup2>
|
|
1570
|
+
{data.map((item) => (
|
|
1571
|
+
<ComboboxItem2 key={item.value} value={item.value}>
|
|
1572
|
+
{item.label}
|
|
1573
|
+
</ComboboxItem2>
|
|
1574
|
+
))}
|
|
1575
|
+
</ComboboxGroup2>
|
|
1576
|
+
</ComboboxList2>
|
|
1577
|
+
</ComboboxContent2>
|
|
1578
|
+
</Combobox2>
|
|
1579
|
+
|
|
1580
|
+
<Combobox2
|
|
1581
|
+
data={data}
|
|
1582
|
+
type="item"
|
|
1583
|
+
defaultValue=""
|
|
1584
|
+
value={value}
|
|
1585
|
+
onValueChange={setValue}
|
|
1586
|
+
open={open}
|
|
1587
|
+
onOpenChange={setOpen}
|
|
1588
|
+
defaultOpen={false}
|
|
1589
|
+
>
|
|
1590
|
+
<ComboboxTrigger2 className="" />
|
|
1591
|
+
<ComboboxContent2 popoverOptions={{}}>
|
|
1592
|
+
<ComboboxInput2
|
|
1593
|
+
value={inputValue}
|
|
1594
|
+
defaultValue=""
|
|
1595
|
+
onValueChange={setInputValue}
|
|
1596
|
+
/>
|
|
1597
|
+
<ComboboxList2>
|
|
1598
|
+
<ComboboxEmpty2>No items found.</ComboboxEmpty2>
|
|
1599
|
+
<ComboboxGroup2>
|
|
1600
|
+
{data.map((item) => (
|
|
1601
|
+
<ComboboxItem2 key={item.value} value={item.value}>
|
|
1602
|
+
{item.label}
|
|
1603
|
+
</ComboboxItem2>
|
|
1604
|
+
))}
|
|
1605
|
+
</ComboboxGroup2>
|
|
1606
|
+
<ComboboxSeparator2 />
|
|
1607
|
+
<ComboboxCreateNew2 onCreateNew={handleCreate}>
|
|
1608
|
+
{(inputValue) => <span>Create: {inputValue}</span>}
|
|
1609
|
+
</ComboboxCreateNew2>
|
|
1610
|
+
</ComboboxList2>
|
|
1611
|
+
</ComboboxContent2>
|
|
1612
|
+
</Combobox2>`,
|
|
1613
|
+
path: "/components/catalyst-ui/comboboxes/combobox2.tsx",
|
|
1614
|
+
source: null,
|
|
1615
|
+
usagePath: "/components/catalyst-ui/comboboxes/combobox2.tsx",
|
|
1616
|
+
usage: null,
|
|
1617
|
+
premium: true,
|
|
1618
|
+
category: "Comboboxes",
|
|
1619
|
+
tags: ["combobox", "select", "dropdown", "search", "filter"],
|
|
1620
|
+
features: ["Responsive", "TypeScript", "Accessible", "Searchable", "Create New"],
|
|
1621
|
+
dependencies: ["lucide-react", "react", "@radix-ui/react-use-controllable-state"],
|
|
1622
|
+
props: {
|
|
1623
|
+
"Combobox2": [
|
|
1624
|
+
{ name: "data", type: "ComboboxData[]", default: "required" },
|
|
1625
|
+
{ name: "type", type: "string", default: "required" },
|
|
1626
|
+
{ name: "defaultValue", type: "string", default: "undefined" },
|
|
1627
|
+
{ name: "value", type: "string", default: "undefined" },
|
|
1628
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "undefined" },
|
|
1629
|
+
{ name: "open", type: "boolean", default: "undefined" },
|
|
1630
|
+
{ name: "onOpenChange", type: "(open: boolean) => void", default: "undefined" },
|
|
1631
|
+
{ name: "defaultOpen", type: "boolean", default: "false" },
|
|
1632
|
+
],
|
|
1633
|
+
"ComboboxTrigger2": [
|
|
1634
|
+
{ name: "className", type: "string", default: "undefined" },
|
|
1635
|
+
{ name: "children", type: "ReactNode", default: "undefined" },
|
|
1636
|
+
],
|
|
1637
|
+
"ComboboxContent2": [
|
|
1638
|
+
{ name: "className", type: "string", default: "undefined" },
|
|
1639
|
+
{ name: "popoverOptions", type: "ComponentProps<typeof PopoverContent>", default: "undefined" },
|
|
1640
|
+
],
|
|
1641
|
+
"ComboboxInput2": [
|
|
1642
|
+
{ name: "value", type: "string", default: "undefined" },
|
|
1643
|
+
{ name: "defaultValue", type: "string", default: "undefined" },
|
|
1644
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "undefined" },
|
|
1645
|
+
],
|
|
1646
|
+
"ComboboxItem2": [
|
|
1647
|
+
{ name: "value", type: "string", default: "required" },
|
|
1648
|
+
{ name: "children", type: "ReactNode", default: "required" },
|
|
1649
|
+
],
|
|
1650
|
+
"ComboboxCreateNew2": [
|
|
1651
|
+
{ name: "onCreateNew", type: "(value: string) => void", default: "required" },
|
|
1652
|
+
{ name: "children", type: "(inputValue: string) => ReactNode", default: "undefined" },
|
|
1653
|
+
{ name: "className", type: "string", default: "undefined" },
|
|
1654
|
+
],
|
|
1655
|
+
},
|
|
1656
|
+
desc: null,
|
|
1657
|
+
status: null,
|
|
1658
|
+
lastUpdated: null
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
name: "Choicebox",
|
|
1662
|
+
value: "choicebox",
|
|
1663
|
+
importPath: "~/components/catalyst-ui/comboboxes/choicebox",
|
|
1664
|
+
multiImport: "Choicebox, ChoiceboxItem, ChoiceboxItemHeader, ChoiceboxItemTitle, ChoiceboxItemSubtitle, ChoiceboxItemDescription, ChoiceboxItemContent, ChoiceboxItemIndicator",
|
|
1665
|
+
basicusage: `
|
|
1666
|
+
<Choicebox value="option1" onValueChange={setValue}>
|
|
1667
|
+
<ChoiceboxItem value="option1">
|
|
1668
|
+
<ChoiceboxItemHeader>
|
|
1669
|
+
<ChoiceboxItemTitle>Option 1</ChoiceboxItemTitle>
|
|
1670
|
+
<ChoiceboxItemDescription>Description</ChoiceboxItemDescription>
|
|
1671
|
+
</ChoiceboxItemHeader>
|
|
1672
|
+
<ChoiceboxItemContent>
|
|
1673
|
+
<ChoiceboxItemIndicator />
|
|
1674
|
+
</ChoiceboxItemContent>
|
|
1675
|
+
</ChoiceboxItem>
|
|
1676
|
+
</Choicebox>
|
|
1677
|
+
|
|
1678
|
+
<Choicebox
|
|
1679
|
+
value={selectedValue}
|
|
1680
|
+
onValueChange={handleChange}
|
|
1681
|
+
className="space-y-2"
|
|
1682
|
+
>
|
|
1683
|
+
<ChoiceboxItem value="premium" className="border-2">
|
|
1684
|
+
<ChoiceboxItemHeader>
|
|
1685
|
+
<ChoiceboxItemTitle className="text-lg">Premium Plan</ChoiceboxItemTitle>
|
|
1686
|
+
<ChoiceboxItemSubtitle>Most popular</ChoiceboxItemSubtitle>
|
|
1687
|
+
<ChoiceboxItemDescription>Full access to all features</ChoiceboxItemDescription>
|
|
1688
|
+
</ChoiceboxItemHeader>
|
|
1689
|
+
<ChoiceboxItemContent>
|
|
1690
|
+
<ChoiceboxItemIndicator />
|
|
1691
|
+
</ChoiceboxItemContent>
|
|
1692
|
+
</ChoiceboxItem>
|
|
1693
|
+
</Choicebox>`,
|
|
1694
|
+
path: "/components/catalyst-ui/comboboxes/choicebox.tsx",
|
|
1695
|
+
source: null,
|
|
1696
|
+
usagePath: "/components/catalyst-ui/comboboxes/choicebox.tsx",
|
|
1697
|
+
usage: null,
|
|
1698
|
+
premium: true,
|
|
1699
|
+
category: "Comboboxes",
|
|
1700
|
+
tags: ["radio", "selection", "cards", "forms"],
|
|
1701
|
+
features: ["Card-based UI", "Accessible", "Customizable", "TypeScript"],
|
|
1702
|
+
dependencies: ["lucide-react", "radix-ui", "react"],
|
|
1703
|
+
props: {
|
|
1704
|
+
"Choicebox": [
|
|
1705
|
+
{ name: "className", type: "string", default: "null" },
|
|
1706
|
+
{ name: "value", type: "string", default: "null" },
|
|
1707
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "null" }
|
|
1708
|
+
],
|
|
1709
|
+
"ChoiceboxItem": [
|
|
1710
|
+
{ name: "className", type: "string", default: "null" },
|
|
1711
|
+
{ name: "value", type: "string", default: "null" }
|
|
1712
|
+
],
|
|
1713
|
+
"ChoiceboxItemHeader": [
|
|
1714
|
+
{ name: "className", type: "string", default: "null" }
|
|
1715
|
+
],
|
|
1716
|
+
"ChoiceboxItemTitle": [
|
|
1717
|
+
{ name: "className", type: "string", default: "null" }
|
|
1718
|
+
],
|
|
1719
|
+
"ChoiceboxItemSubtitle": [
|
|
1720
|
+
{ name: "className", type: "string", default: "null" }
|
|
1721
|
+
],
|
|
1722
|
+
"ChoiceboxItemDescription": [
|
|
1723
|
+
{ name: "className", type: "string", default: "null" }
|
|
1724
|
+
],
|
|
1725
|
+
"ChoiceboxItemContent": [
|
|
1726
|
+
{ name: "className", type: "string", default: "null" }
|
|
1727
|
+
],
|
|
1728
|
+
"ChoiceboxItemIndicator": [
|
|
1729
|
+
{ name: "className", type: "string", default: "null" }
|
|
1730
|
+
]
|
|
1731
|
+
},
|
|
1732
|
+
desc: null,
|
|
1733
|
+
status: null,
|
|
1734
|
+
lastUpdated: null
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
name: "Combobox",
|
|
1738
|
+
value: "combobox",
|
|
1739
|
+
importPath: "~/components/catalyst-ui/comboboxes/combobox",
|
|
1740
|
+
path: "/components/catalyst-ui/comboboxes/combobox.tsx",
|
|
1741
|
+
premium: true,
|
|
1742
|
+
source: null,
|
|
1743
|
+
category: "Comboboxes",
|
|
1744
|
+
tags: ["ui", "components", "interactive"],
|
|
1745
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1746
|
+
dependencies: ["lucide-react", "cmdk", "@radix-ui/react-popover"],
|
|
1747
|
+
basicusage: `
|
|
1748
|
+
<Combobox
|
|
1749
|
+
options={options}
|
|
1750
|
+
value={value}
|
|
1751
|
+
onValueChange={setValue}
|
|
1752
|
+
// placeholder
|
|
1753
|
+
// emptyText
|
|
1754
|
+
// className
|
|
1755
|
+
/>`,
|
|
1756
|
+
usage: `
|
|
1757
|
+
|
|
1758
|
+
<Combobox
|
|
1759
|
+
options={options}
|
|
1760
|
+
value={value}
|
|
1761
|
+
onValueChange={setValue}
|
|
1762
|
+
// placeholder
|
|
1763
|
+
// emptyText
|
|
1764
|
+
// className
|
|
1765
|
+
/>
|
|
1766
|
+
|
|
1767
|
+
export function ComboboxDemo() {
|
|
1768
|
+
const [value, setValue] = React.useState("")
|
|
1769
|
+
const options = [
|
|
1770
|
+
{
|
|
1771
|
+
value: "next.js",
|
|
1772
|
+
label: "Next.js",
|
|
1773
|
+
},
|
|
1774
|
+
{
|
|
1775
|
+
value: "sveltekit",
|
|
1776
|
+
label: "SvelteKit",
|
|
1777
|
+
},
|
|
1778
|
+
{
|
|
1779
|
+
value: "nuxt.js",
|
|
1780
|
+
label: "Nuxt.js",
|
|
1781
|
+
},
|
|
1782
|
+
{
|
|
1783
|
+
value: "remix",
|
|
1784
|
+
label: "Remix",
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
value: "astro",
|
|
1788
|
+
label: "Astro",
|
|
1789
|
+
},
|
|
1790
|
+
]
|
|
1791
|
+
return (
|
|
1792
|
+
<div>
|
|
1793
|
+
<Combobox
|
|
1794
|
+
options={options}
|
|
1795
|
+
value={value}
|
|
1796
|
+
onValueChange={setValue}
|
|
1797
|
+
// placeholder
|
|
1798
|
+
// emptyText
|
|
1799
|
+
// className
|
|
1800
|
+
/>
|
|
1801
|
+
</div>
|
|
1802
|
+
)
|
|
1803
|
+
}`,
|
|
1804
|
+
usagePath: null,
|
|
1805
|
+
props: {
|
|
1806
|
+
"Combobox": [
|
|
1807
|
+
{ name: "options", type: "{ value: string; label: string }[]", default: "null", required: true },
|
|
1808
|
+
{ name: "value", type: "string", default: "null", required: false },
|
|
1809
|
+
{ name: "onValueChange", type: "(value: string) => void", default: "null", required: false },
|
|
1810
|
+
{ name: "placeholder", type: "string", default: "Select option...", required: false },
|
|
1811
|
+
{ name: "emptyText", type: "string", default: "No option found.", required: false },
|
|
1812
|
+
{ name: "className", type: "string", default: "null", required: false },
|
|
1813
|
+
],
|
|
1814
|
+
},
|
|
1815
|
+
desc: null,
|
|
1816
|
+
status: null,
|
|
1817
|
+
lastUpdated: null
|
|
1818
|
+
},
|
|
1819
|
+
{
|
|
1820
|
+
name: "Command W Combobox",
|
|
1821
|
+
value: "command-w-combobox",
|
|
1822
|
+
importPath: "~/components/catalyst-ui/comboboxes/command-w-combobox",
|
|
1823
|
+
multiImport: "CommandWCombobox",
|
|
1824
|
+
basicusage: null,
|
|
1825
|
+
path: "/components/catalyst-ui/comboboxes/command-w-combobox.tsx",
|
|
1826
|
+
source: null,
|
|
1827
|
+
usagePath: "/components/catalyst-ui/comboboxes/command-w-combobox.tsx",
|
|
1828
|
+
usage: null,
|
|
1829
|
+
premium: true,
|
|
1830
|
+
category: "Comboboxes",
|
|
1831
|
+
tags: ["command", "combobox", "search", "filter"],
|
|
1832
|
+
features: ["Responsive", "TypeScript", "Accessible", "Search", "Filter"],
|
|
1833
|
+
dependencies: ["lucide-react", "react", "@radix-ui/react-popover"],
|
|
1834
|
+
props: {
|
|
1835
|
+
"CommandWCombobox": [
|
|
1836
|
+
{ name: "className", type: "string", default: "null" }
|
|
1837
|
+
]
|
|
1838
|
+
},
|
|
1839
|
+
desc: null,
|
|
1840
|
+
status: null,
|
|
1841
|
+
lastUpdated: null
|
|
1842
|
+
},
|
|
1843
|
+
];
|