@catalystsoftware/ui 1.0.12 → 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/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 +198 -220
- 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,2327 @@
|
|
|
1
|
+
export const buttonsData = [
|
|
2
|
+
{
|
|
3
|
+
name: "Button X",
|
|
4
|
+
value: "buttonx",
|
|
5
|
+
importPath: "~/components/catalyst-ui",
|
|
6
|
+
multiImport: "ButtonX, buttonXVariants",
|
|
7
|
+
path: "/components/catalyst-ui/buttons/buttonX.tsx",
|
|
8
|
+
source: null,
|
|
9
|
+
usagePath: "/components/catalyst-ui/buttons/buttonX.tsx",
|
|
10
|
+
basicusage: `
|
|
11
|
+
<ButtonX variant="default">
|
|
12
|
+
Click Me
|
|
13
|
+
</ButtonX>
|
|
14
|
+
|
|
15
|
+
<ButtonX
|
|
16
|
+
variant="default" // default | destructive | outline | secondary | ghost | link | elevated | filled | tonal | outlined | text | styled | reverted | dashed | gradient | soft | glass | success | warning | info | shine | pulse | violet | blue | green
|
|
17
|
+
size="default" // default | sm | lg | icon
|
|
18
|
+
align="middle" // left | middle | right
|
|
19
|
+
effect="hoverUnderline" // expandIcon | ringHover | shine | shineHover | gooeyRight | gooeyLeft | underline | hoverUnderline | gradientSlideShow
|
|
20
|
+
prefetch="intent" // none | intent | render | viewport
|
|
21
|
+
nav="null" // null | navlink | anchor
|
|
22
|
+
to="/"
|
|
23
|
+
iconPlacement="left" // left | right
|
|
24
|
+
icon={Icon}
|
|
25
|
+
newTab={true}
|
|
26
|
+
onClick={() => {}}
|
|
27
|
+
className=""
|
|
28
|
+
>
|
|
29
|
+
Click Me
|
|
30
|
+
</ButtonX>`,
|
|
31
|
+
usage: `
|
|
32
|
+
<ButtonX
|
|
33
|
+
variant="default" // default | destructive | outline | secondary | ghost | link | elevated | filled | tonal | outlined | text | styled | reverted | dashed | gradient | soft | glass | success | warning | info | shine | pulse | violet | blue | green | Attract | Burger | Command | Copy
|
|
34
|
+
size="default" // default | sm | lg | icon
|
|
35
|
+
align="middle" // left | middle | right
|
|
36
|
+
effect="hoverUnderline" // expandIcon | ringHover | shine | shineHover | gooeyRight | gooeyLeft | underline | hoverUnderline | gradientSlideShow
|
|
37
|
+
prefetch="intent" // none | intent | render | viewport
|
|
38
|
+
nav="null" // null | navlink | anchor
|
|
39
|
+
to="/"
|
|
40
|
+
iconPlacement="left" // left | right
|
|
41
|
+
icon={Icon}
|
|
42
|
+
newTab={true}
|
|
43
|
+
asChild={false}
|
|
44
|
+
type="button" // button | submit | reset
|
|
45
|
+
onClick={() => {}}
|
|
46
|
+
className=""
|
|
47
|
+
particleCount={12} // for Attract variant
|
|
48
|
+
attractRadius={50} // for Attract variant
|
|
49
|
+
attractVariant="default" // default | violet | blue | green - for Attract variant
|
|
50
|
+
activeText="Attracting" // for Attract variant
|
|
51
|
+
inactiveText="Hover me" // for Attract variant
|
|
52
|
+
content="text to copy" // for Copy variant
|
|
53
|
+
delay={3000} // for Copy variant
|
|
54
|
+
onCopy={(content) => {}} // for Copy variant
|
|
55
|
+
isCopied={false} // for Copy variant
|
|
56
|
+
onCopyChange={(isCopied) => {}} // for Copy variant
|
|
57
|
+
>
|
|
58
|
+
Click Me
|
|
59
|
+
</ButtonX>`,
|
|
60
|
+
premium: true,
|
|
61
|
+
category: "Buttons",
|
|
62
|
+
tags: ["ui", "components", "button", "interactive", "navigation", "advanced", "animated"],
|
|
63
|
+
features: ["Responsive", "TypeScript", "Accessible", "Multiple Variants", "Navigation Support", "Loading States", "Advanced Effects", "Animated Variants", "Attract Button", "Command Button", "Copy Button"],
|
|
64
|
+
dependencies: ["react", "class-variance-authority", "@radix-ui/react-slot", "@remix-run/react", "lucide-react", "motion/react", "~/components/catalyst-ui/utils"],
|
|
65
|
+
props: {
|
|
66
|
+
"ButtonX": [
|
|
67
|
+
{ name: "className", type: "string", default: "null" },
|
|
68
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost | link | elevated | filled | tonal | outlined | text | styled | reverted | dashed | gradient | soft | glass | success | warning | info | shine | pulse | violet | blue | green | Attract | Burger | Command | Copy", default: "default" },
|
|
69
|
+
{ name: "effect", type: "expandIcon | ringHover | shine | shineHover | gooeyRight | gooeyLeft | underline | hoverUnderline | gradientSlideShow", default: "null" },
|
|
70
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
71
|
+
{ name: "align", type: "left | middle | right", default: "middle" },
|
|
72
|
+
{ name: "to", type: "string", default: "/" },
|
|
73
|
+
{ name: "prefetch", type: "none | intent | render | viewport", default: "intent" },
|
|
74
|
+
{ name: "nav", type: "null | navlink | anchor", default: "null" },
|
|
75
|
+
{ name: "newTab", type: "boolean", default: "true" },
|
|
76
|
+
{ name: "asChild", type: "boolean", default: "false" },
|
|
77
|
+
{ name: "icon", type: "icon function", default: "null" },
|
|
78
|
+
{ name: "iconPlacement", type: "left | right", default: "left" },
|
|
79
|
+
{ name: "onClick", type: "react function", default: "null" },
|
|
80
|
+
{ name: "type", type: "button | submit | reset", default: "button for navlink and anchor, submit for effect, defaults to submit" },
|
|
81
|
+
{ name: "particleCount", type: "number", default: "12" },
|
|
82
|
+
{ name: "attractRadius", type: "number", default: "50" },
|
|
83
|
+
{ name: "attractVariant", type: "default | violet | blue | green", default: "default" },
|
|
84
|
+
{ name: "activeText", type: "string", default: "Attracting" },
|
|
85
|
+
{ name: "inactiveText", type: "string", default: "Hover me" },
|
|
86
|
+
{ name: "content", type: "string", default: "null" },
|
|
87
|
+
{ name: "delay", type: "number", default: "3000" },
|
|
88
|
+
{ name: "onCopy", type: "function", default: "null" },
|
|
89
|
+
{ name: "isCopied", type: "boolean", default: "false" },
|
|
90
|
+
{ name: "onCopyChange", type: "function", default: "null" },
|
|
91
|
+
],
|
|
92
|
+
"AttractButton": [
|
|
93
|
+
{ name: "particleCount", type: "number", default: "12" },
|
|
94
|
+
{ name: "attractRadius", type: "number", default: "50" },
|
|
95
|
+
{ name: "attractVariant", type: "default | violet | blue | green", default: "default" },
|
|
96
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
97
|
+
{ name: "activeText", type: "string", default: "Attracting" },
|
|
98
|
+
{ name: "inactiveText", type: "string", default: "Hover me" },
|
|
99
|
+
{ name: "className", type: "string", default: "null" },
|
|
100
|
+
],
|
|
101
|
+
"CommandButton": [
|
|
102
|
+
{ name: "variant", type: "default | primary | secondary", default: "default" },
|
|
103
|
+
{ name: "size", type: "sm | default | lg", default: "default" },
|
|
104
|
+
{ name: "className", type: "string", default: "null" },
|
|
105
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
106
|
+
],
|
|
107
|
+
"CopyButton": [
|
|
108
|
+
{ name: "content", type: "string", default: "null" },
|
|
109
|
+
{ name: "className", type: "string", default: "null" },
|
|
110
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
111
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost | link", default: "default" },
|
|
112
|
+
{ name: "delay", type: "number", default: "3000" },
|
|
113
|
+
{ name: "onClick", type: "function", default: "null" },
|
|
114
|
+
{ name: "onCopy", type: "function", default: "null" },
|
|
115
|
+
{ name: "isCopied", type: "boolean", default: "false" },
|
|
116
|
+
{ name: "onCopyChange", type: "function", default: "null" },
|
|
117
|
+
],
|
|
118
|
+
"FloatButton": [
|
|
119
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
120
|
+
{ name: "description", type: "string", default: "null" },
|
|
121
|
+
{ name: "tooltip", type: "string", default: "null" },
|
|
122
|
+
{ name: "type", type: "default | primary", default: "default" },
|
|
123
|
+
{ name: "shape", type: "circle | square", default: "circle" },
|
|
124
|
+
{ name: "size", type: "small | default | large", default: "default" },
|
|
125
|
+
{ name: "className", type: "string", default: "null" },
|
|
126
|
+
{ name: "onClick", type: "function", default: "null" },
|
|
127
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
128
|
+
],
|
|
129
|
+
"FlipButton": [
|
|
130
|
+
{ name: "frontText", type: "string", default: "null" },
|
|
131
|
+
{ name: "backText", type: "string", default: "null" },
|
|
132
|
+
{ name: "transition", type: "Transition", default: "{ type: 'spring', stiffness: 280, damping: 20 }" },
|
|
133
|
+
{ name: "className", type: "string", default: "null" },
|
|
134
|
+
{ name: "frontClassName", type: "string", default: "null" },
|
|
135
|
+
{ name: "backClassName", type: "string", default: "null" },
|
|
136
|
+
{ name: "from", type: "top | bottom | left | right", default: "top" },
|
|
137
|
+
],
|
|
138
|
+
"HoldButton": [
|
|
139
|
+
{ name: "holdDuration", type: "number", default: "3000" },
|
|
140
|
+
{ name: "onComplete", type: "function", default: "null" },
|
|
141
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
142
|
+
{ name: "holdText", type: "string", default: "Hold me" },
|
|
143
|
+
{ name: "releaseText", type: "string", default: "Release" },
|
|
144
|
+
{ name: "holdVariant", type: "red | green | blue | orange | grey", default: "red" },
|
|
145
|
+
{ name: "className", type: "string", default: "null" },
|
|
146
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
147
|
+
],
|
|
148
|
+
"LiquidButton": [
|
|
149
|
+
{ name: "className", type: "string", default: "null" },
|
|
150
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost | link", default: "default" },
|
|
151
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
152
|
+
],
|
|
153
|
+
"ParticleButton": [
|
|
154
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
155
|
+
{ name: "onClick", type: "function", default: "null" },
|
|
156
|
+
{ name: "onSuccess", type: "function", default: "null" },
|
|
157
|
+
{ name: "successDuration", type: "number", default: "1000" },
|
|
158
|
+
{ name: "particleCount", type: "number | low | high", default: "6" },
|
|
159
|
+
{ name: "showIcon", type: "boolean", default: "true" },
|
|
160
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
161
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost | link", default: "default" },
|
|
162
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
163
|
+
{ name: "align", type: "left | middle | right", default: "middle" },
|
|
164
|
+
{ name: "className", type: "string", default: "null" },
|
|
165
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
166
|
+
],
|
|
167
|
+
"RippleButton": [
|
|
168
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
169
|
+
{ name: "onClick", type: "function", default: "null" },
|
|
170
|
+
{ name: "className", type: "string", default: "null" },
|
|
171
|
+
{ name: "rippleClassName", type: "string", default: "null" },
|
|
172
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost", default: "default" },
|
|
173
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
174
|
+
{ name: "scale", type: "number", default: "10" },
|
|
175
|
+
{ name: "transition", type: "Transition", default: "{ duration: 0.6, ease: 'easeOut' }" },
|
|
176
|
+
],
|
|
177
|
+
"SocialButton": [
|
|
178
|
+
{ name: "shareButtons", type: "ShareButton[]", default: "[{ icon: Twitter, label: 'Share on Twitter' }, ...]" },
|
|
179
|
+
{ name: "label", type: "string", default: "Hover me" },
|
|
180
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
181
|
+
{ name: "variant", type: "light | dark | outline", default: "light" },
|
|
182
|
+
{ name: "className", type: "string", default: "null" },
|
|
183
|
+
],
|
|
184
|
+
"SplitButton": [
|
|
185
|
+
{ name: "label", type: "string", default: "null" },
|
|
186
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
187
|
+
{ name: "items", type: "SplitButtonItem[]", default: "[]" },
|
|
188
|
+
{ name: "onClick", type: "function", default: "null" },
|
|
189
|
+
{ name: "className", type: "string", default: "null" },
|
|
190
|
+
{ name: "containerClassName", type: "string", default: "null" },
|
|
191
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost", default: "default" },
|
|
192
|
+
{ name: "align", type: "left | middle | right", default: "default" },
|
|
193
|
+
{ name: "size", type: "default | sm | lg | icon", default: "sm" },
|
|
194
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
195
|
+
],
|
|
196
|
+
"SwitchButton": [
|
|
197
|
+
{ name: "checked", type: "boolean", default: "false" },
|
|
198
|
+
{ name: "onCheckedChange", type: "function", default: "null" },
|
|
199
|
+
{ name: "className", type: "string", default: "null" },
|
|
200
|
+
{ name: "variant", type: "default | primary | secondary | destructive", default: "default" },
|
|
201
|
+
{ name: "size", type: "sm | md | lg", default: "md" },
|
|
202
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
203
|
+
{ name: "labels", type: "{ checked: string; unchecked: string }", default: "null" },
|
|
204
|
+
],
|
|
205
|
+
"ToggleButton": [
|
|
206
|
+
{ name: "checked", type: "boolean", default: "false" },
|
|
207
|
+
{ name: "onChange", type: "function", default: "null" },
|
|
208
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
209
|
+
{ name: "className", type: "string", default: "null" },
|
|
210
|
+
{ name: "variant", type: "default | outline | ghost", default: "default" },
|
|
211
|
+
{ name: "size", type: "sm | md | lg | icon", default: "md" },
|
|
212
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
213
|
+
],
|
|
214
|
+
"SlideButton": [
|
|
215
|
+
{ name: "className", type: "string", default: "null" },
|
|
216
|
+
{ name: "variant", type: "default | ghost", default: "default" },
|
|
217
|
+
{ name: "size", type: "sm | default | lg", default: "default" },
|
|
218
|
+
{ name: "text", type: "string", default: "Browse Components" },
|
|
219
|
+
{ name: "hoverText", type: "string", default: "null" },
|
|
220
|
+
{ name: "to", type: "string", default: "/" },
|
|
221
|
+
{ name: "prefetch", type: "none | intent | render | viewport", default: "intent" },
|
|
222
|
+
],
|
|
223
|
+
"TextRevealButton": [
|
|
224
|
+
{ name: "text", type: "string", default: "shadcn.io" },
|
|
225
|
+
{ name: "revealColor", type: "string", default: "#37FF8B" },
|
|
226
|
+
{ name: "strokeColor", type: "string", default: "rgba(100, 100, 100, 0.7)" },
|
|
227
|
+
{ name: "className", type: "string", default: "null" },
|
|
228
|
+
{ name: "style", type: "React.CSSProperties", default: "null" },
|
|
229
|
+
],
|
|
230
|
+
"ShimmerButton": [
|
|
231
|
+
{ name: "shimmerColor", type: "string", default: "#ffffff" },
|
|
232
|
+
{ name: "shimmerSize", type: "string", default: "0.05em" },
|
|
233
|
+
{ name: "shimmerDuration", type: "string", default: "3s" },
|
|
234
|
+
{ name: "borderRadius", type: "string", default: "100px" },
|
|
235
|
+
{ name: "background", type: "string", default: "rgba(0, 0, 0, 1)" },
|
|
236
|
+
{ name: "className", type: "string", default: "null" },
|
|
237
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
238
|
+
],
|
|
239
|
+
"Rating": [
|
|
240
|
+
{ name: "value", type: "number", default: "null" },
|
|
241
|
+
{ name: "onValueChange", type: "function", default: "null" },
|
|
242
|
+
{ name: "defaultValue", type: "number", default: "0" },
|
|
243
|
+
{ name: "onChange", type: "function", default: "null" },
|
|
244
|
+
{ name: "readOnly", type: "boolean", default: "false" },
|
|
245
|
+
{ name: "className", type: "string", default: "null" },
|
|
246
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
247
|
+
],
|
|
248
|
+
"RatingButton": [
|
|
249
|
+
{ name: "index", type: "number", default: "null" },
|
|
250
|
+
{ name: "size", type: "number", default: "20" },
|
|
251
|
+
{ name: "className", type: "string", default: "null" },
|
|
252
|
+
{ name: "icon", type: "React.ReactNode", default: "<StarIcon />" },
|
|
253
|
+
],
|
|
254
|
+
"InputButtonProvider": [
|
|
255
|
+
{ name: "className", type: "string", default: "null" },
|
|
256
|
+
{ name: "transition", type: "Transition", default: "{ type: 'spring', stiffness: 300, damping: 20 }" },
|
|
257
|
+
{ name: "showInput", type: "boolean", default: "null" },
|
|
258
|
+
{ name: "setShowInput", type: "function", default: "null" },
|
|
259
|
+
{ name: "id", type: "string", default: "null" },
|
|
260
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
261
|
+
],
|
|
262
|
+
"InputButton": [
|
|
263
|
+
{ name: "className", type: "string", default: "null" },
|
|
264
|
+
],
|
|
265
|
+
"InputButtonAction": [
|
|
266
|
+
{ name: "className", type: "string", default: "null" },
|
|
267
|
+
],
|
|
268
|
+
"InputButtonSubmit": [
|
|
269
|
+
{ name: "className", type: "string", default: "null" },
|
|
270
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
271
|
+
{ name: "icon", type: "React.ElementType", default: "ArrowRight" },
|
|
272
|
+
],
|
|
273
|
+
"InputButtonInput": [
|
|
274
|
+
{ name: "className", type: "string", default: "null" },
|
|
275
|
+
],
|
|
276
|
+
},
|
|
277
|
+
desc: "An advanced button component collection with 20+ specialized button variants including Attract, Command, Copy, Float, Flip, Hold, Liquid, Particle, Ripple, Social, Split, Switch, Toggle, Slide, TextReveal, Shimmer, Rating, and InputButton variants. Features animations, particle effects, hover states, and complex interactions.",
|
|
278
|
+
status: "Listed",
|
|
279
|
+
lastUpdated: "2024-11-30T00:00:00Z"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
name: "Bg Animate Button",
|
|
283
|
+
value: "bg-animate-button",
|
|
284
|
+
importPath: "~/components/catalyst-ui",
|
|
285
|
+
multiImport: "BgAnimateButton",
|
|
286
|
+
path: "/components/catalyst-ui/expandables/bg-animate-button.tsx",
|
|
287
|
+
source: null,
|
|
288
|
+
usagePath: "/components/catalyst-ui/expandables/bg-animate-button.tsx",
|
|
289
|
+
basicusage: `
|
|
290
|
+
<BgAnimateButton>
|
|
291
|
+
Button
|
|
292
|
+
</BgAnimateButton>
|
|
293
|
+
|
|
294
|
+
<BgAnimateButton
|
|
295
|
+
variant="primary"
|
|
296
|
+
size="default"
|
|
297
|
+
showBackground={false}
|
|
298
|
+
rounded="full"
|
|
299
|
+
shadow="soft"
|
|
300
|
+
gradient="forest"
|
|
301
|
+
animation="spin"
|
|
302
|
+
className=""
|
|
303
|
+
asChild={false}
|
|
304
|
+
>
|
|
305
|
+
Button
|
|
306
|
+
</BgAnimateButton>`,
|
|
307
|
+
usage: `
|
|
308
|
+
<BgAnimateButton
|
|
309
|
+
variant="primary"
|
|
310
|
+
size="default"
|
|
311
|
+
showBackground={false}
|
|
312
|
+
rounded="full"
|
|
313
|
+
shadow="soft"
|
|
314
|
+
gradient="forest"
|
|
315
|
+
animation="spin"
|
|
316
|
+
className=""
|
|
317
|
+
asChild={false}
|
|
318
|
+
>
|
|
319
|
+
Button
|
|
320
|
+
</BgAnimateButton>`,
|
|
321
|
+
premium: true,
|
|
322
|
+
category: "Expandables",
|
|
323
|
+
tags: ["ui", "components", "button", "animated", "gradient", "interactive"],
|
|
324
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animations", "Gradients", "Customizable"],
|
|
325
|
+
dependencies: ["react", "@radix-ui/react-slot", "class-variance-authority"],
|
|
326
|
+
props: {
|
|
327
|
+
"BgAnimateButton": [
|
|
328
|
+
{ name: "variant", type: "primary | success | secondary | destructive | ghost", default: "'primary'" },
|
|
329
|
+
{ name: "size", type: "sm | default | lg", default: "'default'" },
|
|
330
|
+
{ name: "showBackground", type: "boolean", default: "false" },
|
|
331
|
+
{ name: "rounded", type: "full | xl | 2xl | 3xl | sm | xs | base", default: "'full'" },
|
|
332
|
+
{ name: "shadow", type: "flat | soft | base | deep | deeper", default: "'soft'" },
|
|
333
|
+
{ name: "gradient", type: "sunrise | ocean | candy | default | forest | sunset | nebula", default: "null" },
|
|
334
|
+
{ name: "animation", type: "spin | pulse | spin-slow | spin-fast", default: "null" },
|
|
335
|
+
{ name: "className", type: "string", default: "null" },
|
|
336
|
+
{ name: "asChild", type: "boolean", default: "false" },
|
|
337
|
+
],
|
|
338
|
+
},
|
|
339
|
+
desc: null,
|
|
340
|
+
status: "Listed",
|
|
341
|
+
lastUpdated: "2024-12-29T15:30:00Z"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
name: "Rating Button 1",
|
|
345
|
+
value: "rating-button-1",
|
|
346
|
+
importPath: "~/components/catalyst-ui/buttons/rating-button-1",
|
|
347
|
+
multiImport: "Rating1, RatingButton1",
|
|
348
|
+
basicusage: `
|
|
349
|
+
<Rating1 defaultValue={3}>
|
|
350
|
+
{Array.from({ length: 5 }).map((_, index) => (
|
|
351
|
+
<RatingButton1 key={index} />
|
|
352
|
+
))}
|
|
353
|
+
</Rating1>
|
|
354
|
+
|
|
355
|
+
<Rating1
|
|
356
|
+
defaultValue={0}
|
|
357
|
+
value={3}
|
|
358
|
+
onChange={(event, value) => console.log(value)}
|
|
359
|
+
onValueChange={(value) => console.log(value)}
|
|
360
|
+
readOnly={false}
|
|
361
|
+
className=""
|
|
362
|
+
>
|
|
363
|
+
{Array.from({ length: 5 }).map((_, index) => (
|
|
364
|
+
<RatingButton1
|
|
365
|
+
key={index}
|
|
366
|
+
index={index}
|
|
367
|
+
size={20}
|
|
368
|
+
icon={<StarIcon />}
|
|
369
|
+
className=""
|
|
370
|
+
/>
|
|
371
|
+
))}
|
|
372
|
+
</Rating1>`,
|
|
373
|
+
path: "/components/catalyst-ui/buttons/rating-button-1.tsx",
|
|
374
|
+
source: null,
|
|
375
|
+
usagePath: "/components/catalyst-ui/buttons/rating-button-1.tsx",
|
|
376
|
+
usage: null,
|
|
377
|
+
premium: true,
|
|
378
|
+
category: "Buttons",
|
|
379
|
+
tags: ["buttons", "rating", "stars", "interactive", "input", "feedback"],
|
|
380
|
+
features: ["Responsive", "TypeScript", "Accessible", "Keyboard Navigation", "Custom Icons", "Read-only Mode", "Hover Effects"],
|
|
381
|
+
dependencies: ["lucide-react", "react", "@radix-ui/react-use-controllable-state"],
|
|
382
|
+
props: {
|
|
383
|
+
"Rating1": [
|
|
384
|
+
{ name: "defaultValue", type: "number", default: "0" },
|
|
385
|
+
{ name: "value", type: "number", default: "null" },
|
|
386
|
+
{ name: "onChange", type: "(event, value: number) => void", default: "null" },
|
|
387
|
+
{ name: "onValueChange", type: "(value: number) => void", default: "null" },
|
|
388
|
+
{ name: "readOnly", type: "boolean", default: "false" },
|
|
389
|
+
{ name: "className", type: "string", default: "null" },
|
|
390
|
+
{ name: "children", type: "ReactNode", default: "null" },
|
|
391
|
+
],
|
|
392
|
+
"RatingButton1": [
|
|
393
|
+
{ name: "index", type: "number", default: "null" },
|
|
394
|
+
{ name: "size", type: "number", default: "20" },
|
|
395
|
+
{ name: "icon", type: "ReactElement<LucideProps>", default: "<StarIcon />" },
|
|
396
|
+
{ name: "className", type: "string", default: "null" },
|
|
397
|
+
],
|
|
398
|
+
},
|
|
399
|
+
desc: null,
|
|
400
|
+
status: null,
|
|
401
|
+
lastUpdated: null
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
// @dev app/components/catalyst-ui/buttons/theme-toggle-button.tsx:6
|
|
405
|
+
name: "Theme Toggle Button",
|
|
406
|
+
value: "theme-toggle-button",
|
|
407
|
+
importPath: "~/components/catalyst-ui/buttons/theme-toggle-button",
|
|
408
|
+
multiImport: "ThemeToggleButton, useThemeTransition",
|
|
409
|
+
basicusage: `
|
|
410
|
+
<ThemeToggleButton theme="light" onClick={() => {}} />
|
|
411
|
+
|
|
412
|
+
<ThemeToggleButton
|
|
413
|
+
theme="light"
|
|
414
|
+
showLabel={false}
|
|
415
|
+
variant="circle"
|
|
416
|
+
start="center"
|
|
417
|
+
url=""
|
|
418
|
+
className=""
|
|
419
|
+
onClick={() => {}}
|
|
420
|
+
/>`,
|
|
421
|
+
path: "/components/catalyst-ui/buttons/theme-toggle-button.tsx",
|
|
422
|
+
source: null,
|
|
423
|
+
usagePath: "/components/catalyst-ui/buttons/theme-toggle-button.tsx",
|
|
424
|
+
usage: null,
|
|
425
|
+
premium: true,
|
|
426
|
+
category: "Buttons",
|
|
427
|
+
tags: ["buttons", "theme", "toggle", "dark mode", "animated", "transition"],
|
|
428
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "View Transitions API", "Multiple Variants", "Custom Positions"],
|
|
429
|
+
dependencies: ["lucide-react", "react"],
|
|
430
|
+
props: {
|
|
431
|
+
"ThemeToggleButton": [
|
|
432
|
+
{ name: "theme", type: "light | dark", default: "light" },
|
|
433
|
+
{ name: "showLabel", type: "boolean", default: "false" },
|
|
434
|
+
{ name: "variant", type: "circle | circle-blur | gif | polygon", default: "circle" },
|
|
435
|
+
{ name: "start", type: "center | top-left | top-right | bottom-left | bottom-right", default: "center" },
|
|
436
|
+
{ name: "url", type: "string", default: "null" },
|
|
437
|
+
{ name: "className", type: "string", default: "null" },
|
|
438
|
+
{ name: "onClick", type: "() => void", default: "null" },
|
|
439
|
+
],
|
|
440
|
+
},
|
|
441
|
+
desc: null,
|
|
442
|
+
status: null,
|
|
443
|
+
lastUpdated: null
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
// @dev app/components/catalyst-ui/buttons/theme-switcher.tsx:6
|
|
447
|
+
name: "Theme Switcher",
|
|
448
|
+
value: "theme-switcher",
|
|
449
|
+
importPath: "~/components/catalyst-ui/buttons/theme-switcher",
|
|
450
|
+
multiImport: null,
|
|
451
|
+
basicusage: `
|
|
452
|
+
<ThemeSwitcher />
|
|
453
|
+
|
|
454
|
+
<ThemeSwitcher
|
|
455
|
+
value="system"
|
|
456
|
+
onChange={(theme) => console.log(theme)}
|
|
457
|
+
defaultValue="system"
|
|
458
|
+
className=""
|
|
459
|
+
/>`,
|
|
460
|
+
path: "/components/catalyst-ui/buttons/theme-switcher.tsx",
|
|
461
|
+
source: null,
|
|
462
|
+
usagePath: "/components/catalyst-ui/buttons/theme-switcher.tsx",
|
|
463
|
+
usage: null,
|
|
464
|
+
premium: true,
|
|
465
|
+
category: "Buttons",
|
|
466
|
+
tags: ["buttons", "theme", "switcher", "dark mode", "light mode", "toggle"],
|
|
467
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Theme Control", "System Theme Support"],
|
|
468
|
+
dependencies: ["motion/react", "lucide-react", "react", "@radix-ui/react-use-controllable-state"],
|
|
469
|
+
props: {
|
|
470
|
+
"ThemeSwitcher": [
|
|
471
|
+
{ name: "value", type: "light | dark | system", default: "null" },
|
|
472
|
+
{ name: "onChange", type: "(theme: light | dark | system) => void", default: "null" },
|
|
473
|
+
{ name: "defaultValue", type: "light | dark | system", default: "system" },
|
|
474
|
+
{ name: "className", type: "string", default: "null" },
|
|
475
|
+
],
|
|
476
|
+
},
|
|
477
|
+
desc: null,
|
|
478
|
+
status: null,
|
|
479
|
+
lastUpdated: null
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
// @dev app/components/catalyst-ui/buttons/text-reveal-button.tsx:6
|
|
483
|
+
name: "Text Reveal Button",
|
|
484
|
+
value: "text-reveal-button",
|
|
485
|
+
importPath: "~/components/catalyst-ui/buttons/text-reveal-button",
|
|
486
|
+
multiImport: null,
|
|
487
|
+
basicusage: `
|
|
488
|
+
<TextRevealButton text="HOVER ME" />
|
|
489
|
+
|
|
490
|
+
<TextRevealButton
|
|
491
|
+
text="shadcn.io"
|
|
492
|
+
revealColor="#37FF8B"
|
|
493
|
+
strokeColor="rgba(100, 100, 100, 0.7)"
|
|
494
|
+
className=""
|
|
495
|
+
style={{}}
|
|
496
|
+
/>`,
|
|
497
|
+
path: "/components/catalyst-ui/buttons/text-reveal-button.tsx",
|
|
498
|
+
source: null,
|
|
499
|
+
usagePath: "/components/catalyst-ui/buttons/text-reveal-button.tsx",
|
|
500
|
+
usage: null,
|
|
501
|
+
premium: true,
|
|
502
|
+
category: "Buttons",
|
|
503
|
+
tags: ["buttons", "animated", "text", "reveal", "hover", "effect"],
|
|
504
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Text Reveal Effect", "Customizable Colors"],
|
|
505
|
+
dependencies: ["react"],
|
|
506
|
+
props: {
|
|
507
|
+
"TextRevealButton": [
|
|
508
|
+
{ name: "text", type: "string", default: "shadcn.io" },
|
|
509
|
+
{ name: "revealColor", type: "string", default: "#37FF8B" },
|
|
510
|
+
{ name: "strokeColor", type: "string", default: "rgba(100, 100, 100, 0.7)" },
|
|
511
|
+
{ name: "className", type: "string", default: "null" },
|
|
512
|
+
{ name: "style", type: "React.CSSProperties", default: "null" },
|
|
513
|
+
],
|
|
514
|
+
},
|
|
515
|
+
desc: null,
|
|
516
|
+
status: null,
|
|
517
|
+
lastUpdated: null
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
// @dev app/components/catalyst-ui/buttons/ripple-button.tsx:6
|
|
521
|
+
name: "Ripple Button",
|
|
522
|
+
value: "ripple-button",
|
|
523
|
+
importPath: "~/components/catalyst-ui/buttons/ripple-button",
|
|
524
|
+
multiImport: null,
|
|
525
|
+
basicusage: `
|
|
526
|
+
<RippleButton>
|
|
527
|
+
Click me
|
|
528
|
+
</RippleButton>
|
|
529
|
+
|
|
530
|
+
<RippleButton
|
|
531
|
+
variant="default"
|
|
532
|
+
size="default"
|
|
533
|
+
scale={10}
|
|
534
|
+
transition={{ duration: 0.6, ease: 'easeOut' }}
|
|
535
|
+
rippleClassName=""
|
|
536
|
+
className=""
|
|
537
|
+
onClick={(e) => console.log('clicked')}
|
|
538
|
+
>
|
|
539
|
+
Click me
|
|
540
|
+
</RippleButton>`,
|
|
541
|
+
path: "/components/catalyst-ui/buttons/ripple-button.tsx",
|
|
542
|
+
source: null,
|
|
543
|
+
usagePath: "/components/catalyst-ui/buttons/ripple-button.tsx",
|
|
544
|
+
usage: null,
|
|
545
|
+
premium: true,
|
|
546
|
+
category: "Buttons",
|
|
547
|
+
tags: ["buttons", "animated", "ripple", "effect", "interactive"],
|
|
548
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Ripple Effect", "Customizable"],
|
|
549
|
+
dependencies: ["motion/react", "react", "class-variance-authority"],
|
|
550
|
+
props: {
|
|
551
|
+
"RippleButton": [
|
|
552
|
+
{ name: "variant", type: "default | destructive | outline | secondary | ghost", default: "default" },
|
|
553
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
554
|
+
{ name: "scale", type: "number", default: "10" },
|
|
555
|
+
{ name: "transition", type: "Transition", default: "{ duration: 0.6, ease: 'easeOut' }" },
|
|
556
|
+
{ name: "rippleClassName", type: "string", default: "null" },
|
|
557
|
+
{ name: "className", type: "string", default: "null" },
|
|
558
|
+
{ name: "onClick", type: "(event: React.MouseEvent<HTMLButtonElement>) => void", default: "null" },
|
|
559
|
+
{ name: "children", type: "ReactNode", default: "null" },
|
|
560
|
+
],
|
|
561
|
+
},
|
|
562
|
+
desc: null,
|
|
563
|
+
status: null,
|
|
564
|
+
lastUpdated: null
|
|
565
|
+
},
|
|
566
|
+
{
|
|
567
|
+
// @dev app/components/catalyst-ui/buttons/rating-button.tsx:6
|
|
568
|
+
name: "Rating",
|
|
569
|
+
value: "rating",
|
|
570
|
+
importPath: "~/components/catalyst-ui/buttons/rating-button",
|
|
571
|
+
multiImport: "Rate, RatingButton",
|
|
572
|
+
basicusage: `
|
|
573
|
+
<Rate defaultValue={3}>
|
|
574
|
+
{Array.from({ length: 5 }).map((_, index) => (
|
|
575
|
+
<RatingButton key={index} />
|
|
576
|
+
))}
|
|
577
|
+
</Rate>
|
|
578
|
+
|
|
579
|
+
<Rate
|
|
580
|
+
defaultValue={0}
|
|
581
|
+
value={3}
|
|
582
|
+
onChange={(event, value) => console.log(value)}
|
|
583
|
+
onValueChange={(value) => console.log(value)}
|
|
584
|
+
readOnly={false}
|
|
585
|
+
className=""
|
|
586
|
+
>
|
|
587
|
+
{Array.from({ length: 5 }).map((_, index) => (
|
|
588
|
+
<RatingButton
|
|
589
|
+
key={index}
|
|
590
|
+
index={index}
|
|
591
|
+
size={20}
|
|
592
|
+
icon={<StarIcon />}
|
|
593
|
+
className=""
|
|
594
|
+
/>
|
|
595
|
+
))}
|
|
596
|
+
</Rate>`,
|
|
597
|
+
path: "/components/catalyst-ui/buttons/rating-button.tsx",
|
|
598
|
+
source: null,
|
|
599
|
+
usagePath: "/components/catalyst-ui/buttons/rating-button.tsx",
|
|
600
|
+
usage: null,
|
|
601
|
+
premium: true,
|
|
602
|
+
category: "Buttons",
|
|
603
|
+
tags: ["buttons", "rating", "stars", "interactive", "input"],
|
|
604
|
+
features: ["Responsive", "TypeScript", "Accessible", "Keyboard Navigation", "Custom Icons", "Read-only Mode"],
|
|
605
|
+
dependencies: ["lucide-react", "react", "@radix-ui/react-use-controllable-state"],
|
|
606
|
+
props: {
|
|
607
|
+
"Rate": [
|
|
608
|
+
{ name: "defaultValue", type: "number", default: "0" },
|
|
609
|
+
{ name: "value", type: "number", default: "null" },
|
|
610
|
+
{ name: "onChange", type: "(event, value: number) => void", default: "null" },
|
|
611
|
+
{ name: "onValueChange", type: "(value: number) => void", default: "null" },
|
|
612
|
+
{ name: "readOnly", type: "boolean", default: "false" },
|
|
613
|
+
{ name: "className", type: "string", default: "null" },
|
|
614
|
+
{ name: "children", type: "ReactNode", default: "null" },
|
|
615
|
+
],
|
|
616
|
+
"RatingButton": [
|
|
617
|
+
{ name: "index", type: "number", default: "null" },
|
|
618
|
+
{ name: "size", type: "number", default: "20" },
|
|
619
|
+
{ name: "icon", type: "ReactElement<LucideProps>", default: "<StarIcon />" },
|
|
620
|
+
{ name: "className", type: "string", default: "null" },
|
|
621
|
+
],
|
|
622
|
+
},
|
|
623
|
+
desc: null,
|
|
624
|
+
status: null,
|
|
625
|
+
lastUpdated: null
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
// @dev app/components/catalyst-ui/buttons/liquid-button.tsx:6
|
|
629
|
+
name: "Liquid Button",
|
|
630
|
+
value: "liquid-button",
|
|
631
|
+
importPath: "~/components/catalyst-ui/buttons/liquid-button",
|
|
632
|
+
multiImport: null,
|
|
633
|
+
basicusage: `
|
|
634
|
+
<LiquidButton>
|
|
635
|
+
Click me
|
|
636
|
+
</LiquidButton>
|
|
637
|
+
|
|
638
|
+
<LiquidButton
|
|
639
|
+
variant="default"
|
|
640
|
+
size="default"
|
|
641
|
+
className=""
|
|
642
|
+
>
|
|
643
|
+
Click me
|
|
644
|
+
</LiquidButton>`,
|
|
645
|
+
path: "/components/catalyst-ui/buttons/liquid-button.tsx",
|
|
646
|
+
source: null,
|
|
647
|
+
usagePath: "/components/catalyst-ui/buttons/liquid-button.tsx",
|
|
648
|
+
usage: null,
|
|
649
|
+
premium: true,
|
|
650
|
+
category: "Buttons",
|
|
651
|
+
tags: ["buttons", "animated", "hover", "liquid", "fill"],
|
|
652
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Liquid Fill Effect", "Customizable"],
|
|
653
|
+
dependencies: ["motion/react", "react", "class-variance-authority"],
|
|
654
|
+
props: {
|
|
655
|
+
"LiquidButton": [
|
|
656
|
+
{ name: "variant", type: "default | outline | secondary", default: "default" },
|
|
657
|
+
{ name: "size", type: "default | sm | lg | icon", default: "default" },
|
|
658
|
+
{ name: "className", type: "string", default: "null" },
|
|
659
|
+
],
|
|
660
|
+
},
|
|
661
|
+
desc: null,
|
|
662
|
+
status: null,
|
|
663
|
+
lastUpdated: null
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
// @dev app/components/catalyst-ui/buttons/input-button.tsx:6
|
|
667
|
+
name: "Input Button",
|
|
668
|
+
value: "input-button",
|
|
669
|
+
importPath: "~/components/catalyst-ui/buttons/input-button",
|
|
670
|
+
multiImport: "InputButton, InputButtonProvider, InputButtonAction, InputButtonSubmit, InputButtonInput",
|
|
671
|
+
basicusage: `
|
|
672
|
+
<InputButtonProvider>
|
|
673
|
+
<InputButton>
|
|
674
|
+
<InputButtonAction>Click me</InputButtonAction>
|
|
675
|
+
<InputButtonInput placeholder="Enter text" />
|
|
676
|
+
<InputButtonSubmit>Submit</InputButtonSubmit>
|
|
677
|
+
</InputButton>
|
|
678
|
+
</InputButtonProvider>
|
|
679
|
+
|
|
680
|
+
<InputButtonProvider
|
|
681
|
+
showInput={false}
|
|
682
|
+
setShowInput={() => {}}
|
|
683
|
+
transition={{ type: 'spring', stiffness: 300, damping: 20 }}
|
|
684
|
+
id=""
|
|
685
|
+
className=""
|
|
686
|
+
>
|
|
687
|
+
<InputButton className="">
|
|
688
|
+
<InputButtonAction className="">Click me</InputButtonAction>
|
|
689
|
+
<InputButtonInput
|
|
690
|
+
type="text"
|
|
691
|
+
placeholder="Enter text"
|
|
692
|
+
className=""
|
|
693
|
+
/>
|
|
694
|
+
<InputButtonSubmit
|
|
695
|
+
icon={ArrowRight}
|
|
696
|
+
className=""
|
|
697
|
+
>
|
|
698
|
+
Submit
|
|
699
|
+
</InputButtonSubmit>
|
|
700
|
+
</InputButton>
|
|
701
|
+
</InputButtonProvider>`,
|
|
702
|
+
path: "/components/catalyst-ui/buttons/input-button.tsx",
|
|
703
|
+
source: null,
|
|
704
|
+
usagePath: "/components/catalyst-ui/buttons/input-button.tsx",
|
|
705
|
+
usage: null,
|
|
706
|
+
premium: true,
|
|
707
|
+
category: "Buttons",
|
|
708
|
+
tags: ["buttons", "input", "animated", "expandable", "form"],
|
|
709
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Expandable", "Customizable"],
|
|
710
|
+
dependencies: ["motion/react", "lucide-react", "react"],
|
|
711
|
+
props: {
|
|
712
|
+
"InputButtonProvider": [
|
|
713
|
+
{ name: "showInput", type: "boolean", default: "null" },
|
|
714
|
+
{ name: "setShowInput", type: "React.Dispatch<React.SetStateAction<boolean>>", default: "null" },
|
|
715
|
+
{ name: "transition", type: "Transition", default: "{ type: 'spring', stiffness: 300, damping: 20 }" },
|
|
716
|
+
{ name: "id", type: "string", default: "null" },
|
|
717
|
+
{ name: "className", type: "string", default: "null" },
|
|
718
|
+
],
|
|
719
|
+
"InputButton": [
|
|
720
|
+
{ name: "className", type: "string", default: "null" },
|
|
721
|
+
],
|
|
722
|
+
"InputButtonAction": [
|
|
723
|
+
{ name: "className", type: "string", default: "null" },
|
|
724
|
+
],
|
|
725
|
+
"InputButtonSubmit": [
|
|
726
|
+
{ name: "icon", type: "React.ElementType", default: "ArrowRight" },
|
|
727
|
+
{ name: "className", type: "string", default: "null" },
|
|
728
|
+
{ name: "children", type: "ReactNode", default: "null" },
|
|
729
|
+
],
|
|
730
|
+
"InputButtonInput": [
|
|
731
|
+
{ name: "type", type: "string", default: "text" },
|
|
732
|
+
{ name: "placeholder", type: "string", default: "null" },
|
|
733
|
+
{ name: "className", type: "string", default: "null" },
|
|
734
|
+
],
|
|
735
|
+
},
|
|
736
|
+
desc: null,
|
|
737
|
+
status: null,
|
|
738
|
+
lastUpdated: null
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
// @dev app/components/catalyst-ui/buttons/copy-button.tsx:6
|
|
742
|
+
name: "Copy Button",
|
|
743
|
+
value: "copy-button",
|
|
744
|
+
importPath: "~/components/catalyst-ui/buttons/copy-button",
|
|
745
|
+
multiImport: null,
|
|
746
|
+
basicusage: `
|
|
747
|
+
<CopyButton content="Text to copy" />
|
|
748
|
+
|
|
749
|
+
<CopyButton
|
|
750
|
+
content="Text to copy"
|
|
751
|
+
variant="default"
|
|
752
|
+
size="default"
|
|
753
|
+
delay={3000}
|
|
754
|
+
onCopy={(content) => console.log(content)}
|
|
755
|
+
isCopied={false}
|
|
756
|
+
onCopyChange={(isCopied) => console.log(isCopied)}
|
|
757
|
+
className=""
|
|
758
|
+
/>`,
|
|
759
|
+
path: "/components/catalyst-ui/buttons/copy-button.tsx",
|
|
760
|
+
source: null,
|
|
761
|
+
usagePath: "/components/catalyst-ui/buttons/copy-button.tsx",
|
|
762
|
+
usage: null,
|
|
763
|
+
premium: true,
|
|
764
|
+
category: "Buttons",
|
|
765
|
+
tags: ["buttons", "copy", "clipboard", "animated", "icon"],
|
|
766
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Clipboard API", "Feedback"],
|
|
767
|
+
dependencies: ["motion/react", "lucide-react", "react", "class-variance-authority"],
|
|
768
|
+
props: {
|
|
769
|
+
"CopyButton": [
|
|
770
|
+
{ name: "content", type: "string", default: "null" },
|
|
771
|
+
{ name: "variant", type: "default | muted | destructive | outline | secondary | ghost", default: "default" },
|
|
772
|
+
{ name: "size", type: "default | sm | md | lg", default: "default" },
|
|
773
|
+
{ name: "delay", type: "number", default: "3000" },
|
|
774
|
+
{ name: "onCopy", type: "(content: string) => void", default: "null" },
|
|
775
|
+
{ name: "isCopied", type: "boolean", default: "null" },
|
|
776
|
+
{ name: "onCopyChange", type: "(isCopied: boolean) => void", default: "null" },
|
|
777
|
+
{ name: "className", type: "string", default: "null" },
|
|
778
|
+
],
|
|
779
|
+
},
|
|
780
|
+
desc: null,
|
|
781
|
+
status: null,
|
|
782
|
+
lastUpdated: null
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
// @dev app/components/catalyst-ui/buttons/flip-button.tsx:6
|
|
786
|
+
name: "Flip Button",
|
|
787
|
+
value: "flip-button",
|
|
788
|
+
importPath: "~/components/catalyst-ui/buttons/flip-button",
|
|
789
|
+
multiImport: null,
|
|
790
|
+
basicusage: `
|
|
791
|
+
<FlipButton
|
|
792
|
+
frontText="Hover Me"
|
|
793
|
+
backText="Clicked!"
|
|
794
|
+
/>
|
|
795
|
+
|
|
796
|
+
<FlipButton
|
|
797
|
+
frontText="Hover Me"
|
|
798
|
+
backText="Clicked!"
|
|
799
|
+
from="top"
|
|
800
|
+
transition={{ type: 'spring', stiffness: 280, damping: 20 }}
|
|
801
|
+
className=""
|
|
802
|
+
frontClassName=""
|
|
803
|
+
backClassName=""
|
|
804
|
+
/>`,
|
|
805
|
+
path: "/components/catalyst-ui/buttons/flip-button.tsx",
|
|
806
|
+
source: null,
|
|
807
|
+
usagePath: "/components/catalyst-ui/buttons/flip-button.tsx",
|
|
808
|
+
usage: null,
|
|
809
|
+
premium: true,
|
|
810
|
+
category: "Buttons",
|
|
811
|
+
tags: ["buttons", "animated", "flip", "hover", "3d"],
|
|
812
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "3D Transform", "Customizable"],
|
|
813
|
+
dependencies: ["motion/react", "react"],
|
|
814
|
+
props: {
|
|
815
|
+
"FlipButton": [
|
|
816
|
+
{ name: "frontText", type: "string", default: "null" },
|
|
817
|
+
{ name: "backText", type: "string", default: "null" },
|
|
818
|
+
{ name: "from", type: "top | bottom | left | right", default: "top" },
|
|
819
|
+
{ name: "transition", type: "Transition", default: "{ type: 'spring', stiffness: 280, damping: 20 }" },
|
|
820
|
+
{ name: "className", type: "string", default: "null" },
|
|
821
|
+
{ name: "frontClassName", type: "string", default: "null" },
|
|
822
|
+
{ name: "backClassName", type: "string", default: "null" },
|
|
823
|
+
],
|
|
824
|
+
},
|
|
825
|
+
desc: null,
|
|
826
|
+
status: null,
|
|
827
|
+
lastUpdated: null
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
// @dev app/components/catalyst-ui/buttons/shimmer-button.tsx:6
|
|
831
|
+
name: "Shimmer Button",
|
|
832
|
+
value: "shimmer-button",
|
|
833
|
+
importPath: "~/components/catalyst-ui/buttons/shimmer-button",
|
|
834
|
+
multiImport: null,
|
|
835
|
+
basicusage: `
|
|
836
|
+
<ShimmerButton>
|
|
837
|
+
Button Text
|
|
838
|
+
</ShimmerButton>
|
|
839
|
+
|
|
840
|
+
<ShimmerButton
|
|
841
|
+
shimmerColor="#ffffff"
|
|
842
|
+
shimmerSize="0.05em"
|
|
843
|
+
borderRadius="100px"
|
|
844
|
+
shimmerDuration="3s"
|
|
845
|
+
background="rgba(0, 0, 0, 1)"
|
|
846
|
+
className=""
|
|
847
|
+
>
|
|
848
|
+
Custom Button
|
|
849
|
+
</ShimmerButton>`,
|
|
850
|
+
path: "/components/catalyst-ui/buttons/shimmer-button.tsx",
|
|
851
|
+
source: null,
|
|
852
|
+
usagePath: "/components/catalyst-ui/buttons/shimmer-button.tsx",
|
|
853
|
+
usage: null,
|
|
854
|
+
premium: true,
|
|
855
|
+
category: "Buttons",
|
|
856
|
+
tags: ["button", "shimmer", "animation", "effects"],
|
|
857
|
+
features: ["TypeScript", "Animated", "Customizable"],
|
|
858
|
+
dependencies: ["react"],
|
|
859
|
+
props: {
|
|
860
|
+
"ShimmerButton": [
|
|
861
|
+
{ name: "shimmerColor", type: "string", default: "#ffffff" },
|
|
862
|
+
{ name: "shimmerSize", type: "string", default: "0.05em" },
|
|
863
|
+
{ name: "borderRadius", type: "string", default: "100px" },
|
|
864
|
+
{ name: "shimmerDuration", type: "string", default: "3s" },
|
|
865
|
+
{ name: "background", type: "string", default: "rgba(0, 0, 0, 1)" },
|
|
866
|
+
{ name: "className", type: "string", default: "null" },
|
|
867
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
868
|
+
],
|
|
869
|
+
},
|
|
870
|
+
desc: null,
|
|
871
|
+
status: null,
|
|
872
|
+
lastUpdated: null
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
// @dev app/components/catalyst-ui/buttons/animated-theme-toggler.tsx:6
|
|
876
|
+
name: "Animated Theme Toggler",
|
|
877
|
+
value: "animated-theme-toggler",
|
|
878
|
+
importPath: "~/components/catalyst-ui/buttons/animated-theme-toggler",
|
|
879
|
+
multiImport: null,
|
|
880
|
+
basicusage: `
|
|
881
|
+
<AnimatedThemeToggler />
|
|
882
|
+
|
|
883
|
+
<AnimatedThemeToggler
|
|
884
|
+
duration={400}
|
|
885
|
+
className="p-2 rounded-lg"
|
|
886
|
+
onClick={() => console.log('Theme toggled')}
|
|
887
|
+
/>`,
|
|
888
|
+
path: "/components/catalyst-ui/buttons/animated-theme-toggler.tsx",
|
|
889
|
+
source: null,
|
|
890
|
+
usagePath: "/components/catalyst-ui/buttons/animated-theme-toggler.tsx",
|
|
891
|
+
usage: null,
|
|
892
|
+
premium: true,
|
|
893
|
+
category: "Buttons",
|
|
894
|
+
tags: ["theme", "animation", "toggle", "dark-mode"],
|
|
895
|
+
features: ["View Transitions", "Smooth Animation", "Accessible", "TypeScript"],
|
|
896
|
+
dependencies: ["lucide-react", "react", "react-dom"],
|
|
897
|
+
props: {
|
|
898
|
+
"AnimatedThemeToggler": [
|
|
899
|
+
{ name: "className", type: "string", default: "null" },
|
|
900
|
+
{ name: "duration", type: "number", default: "400" },
|
|
901
|
+
{ name: "onClick", type: "React.MouseEventHandler", default: "null" }
|
|
902
|
+
]
|
|
903
|
+
},
|
|
904
|
+
desc: null,
|
|
905
|
+
status: null,
|
|
906
|
+
lastUpdated: null
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
// @dev app/components/catalyst-ui/buttons/attract-button.tsx:6
|
|
910
|
+
name: "Attract Button",
|
|
911
|
+
value: "attract-button",
|
|
912
|
+
importPath: "~/components/catalyst-ui/buttons/attract-button",
|
|
913
|
+
multiImport: null,
|
|
914
|
+
basicusage: `
|
|
915
|
+
<AttractButton>
|
|
916
|
+
Attract Me
|
|
917
|
+
</AttractButton>
|
|
918
|
+
|
|
919
|
+
<AttractButton
|
|
920
|
+
variant="primary"
|
|
921
|
+
size="lg"
|
|
922
|
+
particleCount={20}
|
|
923
|
+
particleColors={['#ff6b6b', '#4ecdc4']}
|
|
924
|
+
attractionStrength={0.15}
|
|
925
|
+
onClick={() => console.log('Clicked')}
|
|
926
|
+
disabled={false}
|
|
927
|
+
className=""
|
|
928
|
+
>
|
|
929
|
+
Custom Attraction
|
|
930
|
+
</AttractButton>`,
|
|
931
|
+
path: "/components/catalyst-ui/buttons/attract-button.tsx",
|
|
932
|
+
source: null,
|
|
933
|
+
usagePath: "/components/catalyst-ui/buttons/attract-button.tsx",
|
|
934
|
+
usage: null,
|
|
935
|
+
premium: true,
|
|
936
|
+
category: "Buttons",
|
|
937
|
+
tags: ["ui", "components", "effects", "animation", "button", "particles", "attract", "interactive", "physics"],
|
|
938
|
+
features: ["Responsive", "TypeScript", "Customizable", "Animated", "Interactive", "Particle System", "Physics", "Magnetic Effect"],
|
|
939
|
+
dependencies: ["react"],
|
|
940
|
+
props: {
|
|
941
|
+
"AttractButton": [
|
|
942
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
943
|
+
{ name: "className", type: "string", default: "null" },
|
|
944
|
+
{ name: "variant", type: "'default' | 'primary' | 'secondary' | 'destructive'", default: "'default'" },
|
|
945
|
+
{ name: "size", type: "'sm' | 'md' | 'lg'", default: "'md'" },
|
|
946
|
+
{ name: "particleCount", type: "number", default: "15" },
|
|
947
|
+
{ name: "particleColors", type: "string[]", default: "['#ff6b6b', '#4ecdc4', '#45b7d1', '#96ceb4', '#feca57']" },
|
|
948
|
+
{ name: "attractionStrength", type: "number", default: "0.1" },
|
|
949
|
+
{ name: "onClick", type: "(event: React.MouseEvent<HTMLButtonElement>) => void", default: "null" },
|
|
950
|
+
{ name: "disabled", type: "boolean", default: "false" }
|
|
951
|
+
]
|
|
952
|
+
},
|
|
953
|
+
desc: null,
|
|
954
|
+
status: null,
|
|
955
|
+
lastUpdated: null
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
// @dev app/components/catalyst-ui/buttons/slide-button.tsx:6
|
|
959
|
+
name: "Slide Button",
|
|
960
|
+
value: "slide-button",
|
|
961
|
+
importPath: "~/components/catalyst-ui/buttons/slide-button",
|
|
962
|
+
multiImport: null,
|
|
963
|
+
basicusage: `<SlideButton
|
|
964
|
+
text="Browse Components"
|
|
965
|
+
to="/"
|
|
966
|
+
/>
|
|
967
|
+
|
|
968
|
+
<SlideButton
|
|
969
|
+
variant="default"
|
|
970
|
+
size="default"
|
|
971
|
+
text="Browse Components"
|
|
972
|
+
hoverText="View All"
|
|
973
|
+
to="/"
|
|
974
|
+
prefetch="intent"
|
|
975
|
+
className=""
|
|
976
|
+
/>`,
|
|
977
|
+
path: "/components/catalyst-ui/buttons/slide-button.tsx",
|
|
978
|
+
source: null,
|
|
979
|
+
usagePath: "/components/catalyst-ui/buttons/slide-button.tsx",
|
|
980
|
+
usage: null,
|
|
981
|
+
premium: true,
|
|
982
|
+
category: "Buttons",
|
|
983
|
+
tags: ["ui", "components", "interactive", "button", "link", "animation", "text"],
|
|
984
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Dark Mode"],
|
|
985
|
+
dependencies: ["react", "class-variance-authority", "@remix-run/react"],
|
|
986
|
+
props: {
|
|
987
|
+
"SlideButton": [
|
|
988
|
+
{ name: "className", type: "string", default: "null" },
|
|
989
|
+
{ name: "variant", type: "default | ghost", default: "default" },
|
|
990
|
+
{ name: "size", type: "sm | default | lg", default: "default" },
|
|
991
|
+
{ name: "text", type: "string", default: "Browse Components" },
|
|
992
|
+
{ name: "hoverText", type: "string", default: "null" },
|
|
993
|
+
{ name: "to", type: "string", default: "/" },
|
|
994
|
+
{ name: "prefetch", type: "intent | render | none", default: "intent" },
|
|
995
|
+
],
|
|
996
|
+
},
|
|
997
|
+
desc: null,
|
|
998
|
+
status: null,
|
|
999
|
+
lastUpdated: null
|
|
1000
|
+
},
|
|
1001
|
+
{
|
|
1002
|
+
// @dev app/components/catalyst-ui/buttons/command-button.tsx:6
|
|
1003
|
+
name: "Command Button",
|
|
1004
|
+
value: "command-button",
|
|
1005
|
+
importPath: "~/components/catalyst-ui/buttons/command-button",
|
|
1006
|
+
multiImport: null,
|
|
1007
|
+
basicusage: `<CommandButton>
|
|
1008
|
+
CMD + K
|
|
1009
|
+
</CommandButton>
|
|
1010
|
+
|
|
1011
|
+
<CommandButton
|
|
1012
|
+
variant="default"
|
|
1013
|
+
size="default"
|
|
1014
|
+
className=""
|
|
1015
|
+
>
|
|
1016
|
+
CMD + K
|
|
1017
|
+
</CommandButton>`,
|
|
1018
|
+
path: "/components/catalyst-ui/buttons/command-button.tsx",
|
|
1019
|
+
source: null,
|
|
1020
|
+
usagePath: "/components/catalyst-ui/buttons/command-button.tsx",
|
|
1021
|
+
usage: null,
|
|
1022
|
+
premium: true,
|
|
1023
|
+
category: "Buttons",
|
|
1024
|
+
tags: ["ui", "components", "interactive", "button", "keyboard", "command"],
|
|
1025
|
+
features: ["Responsive", "TypeScript", "Accessible", "Animated", "Dark Mode"],
|
|
1026
|
+
dependencies: ["lucide-react", "react", "class-variance-authority"],
|
|
1027
|
+
props: {
|
|
1028
|
+
"CommandButton": [
|
|
1029
|
+
{ name: "className", type: "string", default: "null" },
|
|
1030
|
+
{ name: "variant", type: "default | primary | secondary", default: "default" },
|
|
1031
|
+
{ name: "size", type: "sm | default | lg", default: "default" },
|
|
1032
|
+
{ name: "children", type: "React.ReactNode", default: "CMD + K" },
|
|
1033
|
+
],
|
|
1034
|
+
},
|
|
1035
|
+
desc: null,
|
|
1036
|
+
status: null,
|
|
1037
|
+
lastUpdated: null
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
// @dev app/components/catalyst-ui/buttons/hold-button.tsx:6
|
|
1041
|
+
name: "Hold Button",
|
|
1042
|
+
value: "hold-button",
|
|
1043
|
+
importPath: "~/components/catalyst-ui/buttons/hold-button",
|
|
1044
|
+
multiImport: null,
|
|
1045
|
+
basicusage: `
|
|
1046
|
+
<HoldButton>
|
|
1047
|
+
Hold Me
|
|
1048
|
+
</HoldButton>
|
|
1049
|
+
|
|
1050
|
+
<HoldButton
|
|
1051
|
+
variant="primary"
|
|
1052
|
+
size="lg"
|
|
1053
|
+
duration={3000}
|
|
1054
|
+
onHoldComplete={() => console.log('Hold completed')}
|
|
1055
|
+
onProgress={(progress) => console.log(progress)}
|
|
1056
|
+
disabled={false}
|
|
1057
|
+
className=""
|
|
1058
|
+
>
|
|
1059
|
+
Custom Hold
|
|
1060
|
+
</HoldButton>`,
|
|
1061
|
+
path: "/components/catalyst-ui/buttons/hold-button.tsx",
|
|
1062
|
+
source: null,
|
|
1063
|
+
usagePath: "/components/catalyst-ui/buttons/hold-button.tsx",
|
|
1064
|
+
usage: null,
|
|
1065
|
+
premium: true,
|
|
1066
|
+
category: "Buttons",
|
|
1067
|
+
tags: ["ui", "components", "effects", "interactive", "button", "progress", "gesture"],
|
|
1068
|
+
features: ["Responsive", "TypeScript", "Customizable", "Progress Tracking", "Touch Support", "Accessible"],
|
|
1069
|
+
dependencies: ["react"],
|
|
1070
|
+
props: {
|
|
1071
|
+
"HoldButton": [
|
|
1072
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
1073
|
+
{ name: "className", type: "string", default: "null" },
|
|
1074
|
+
{ name: "variant", type: "'default' | 'primary' | 'secondary' | 'destructive'", default: "'default'" },
|
|
1075
|
+
{ name: "size", type: "'sm' | 'md' | 'lg'", default: "'md'" },
|
|
1076
|
+
{ name: "duration", type: "number", default: "2000" },
|
|
1077
|
+
{ name: "onHoldComplete", type: "() => void", default: "null" },
|
|
1078
|
+
{ name: "onProgress", type: "(progress: number) => void", default: "null" },
|
|
1079
|
+
{ name: "disabled", type: "boolean", default: "false" }
|
|
1080
|
+
]
|
|
1081
|
+
},
|
|
1082
|
+
desc: null,
|
|
1083
|
+
status: null,
|
|
1084
|
+
lastUpdated: null
|
|
1085
|
+
},
|
|
1086
|
+
{
|
|
1087
|
+
// @dev app/components/catalyst-ui/buttons/particle-button.tsx:6
|
|
1088
|
+
name: "Particle Button",
|
|
1089
|
+
value: "particle-button",
|
|
1090
|
+
importPath: "~/components/catalyst-ui/buttons/particle-button",
|
|
1091
|
+
multiImport: null,
|
|
1092
|
+
basicusage: `
|
|
1093
|
+
<ParticleButton>
|
|
1094
|
+
Click Me
|
|
1095
|
+
</ParticleButton>
|
|
1096
|
+
|
|
1097
|
+
<ParticleButton
|
|
1098
|
+
variant="primary"
|
|
1099
|
+
size="lg"
|
|
1100
|
+
particleCount={15}
|
|
1101
|
+
particleColors={['#ff6b6b', '#4ecdc4']}
|
|
1102
|
+
onClick={() => console.log('Clicked')}
|
|
1103
|
+
disabled={false}
|
|
1104
|
+
className=""
|
|
1105
|
+
>
|
|
1106
|
+
Custom Particles
|
|
1107
|
+
</ParticleButton>`,
|
|
1108
|
+
path: "/components/catalyst-ui/buttons/particle-button.tsx",
|
|
1109
|
+
source: null,
|
|
1110
|
+
usagePath: "/components/catalyst-ui/buttons/particle-button.tsx",
|
|
1111
|
+
usage: null,
|
|
1112
|
+
premium: true,
|
|
1113
|
+
category: "Buttons",
|
|
1114
|
+
tags: ["ui", "components", "effects", "animation", "button", "particles", "interactive"],
|
|
1115
|
+
features: ["Responsive", "TypeScript", "Customizable", "Animated", "Interactive", "Particle System"],
|
|
1116
|
+
dependencies: ["react"],
|
|
1117
|
+
props: {
|
|
1118
|
+
"ParticleButton": [
|
|
1119
|
+
{ name: "children", type: "React.ReactNode", default: "null" },
|
|
1120
|
+
{ name: "className", type: "string", default: "null" },
|
|
1121
|
+
{ name: "variant", type: "'default' | 'primary' | 'secondary' | 'destructive'", default: "'default'" },
|
|
1122
|
+
{ name: "size", type: "'sm' | 'md' | 'lg'", default: "'md'" },
|
|
1123
|
+
{ name: "particleCount", type: "number", default: "10" },
|
|
1124
|
+
{ name: "particleColors", type: "string[]", default: "['#ff6b6b', '#4ecdc4', '#45b7d1', '#96ceb4', '#feca57']" },
|
|
1125
|
+
{ name: "onClick", type: "(event: React.MouseEvent<HTMLButtonElement>) => void", default: "null" },
|
|
1126
|
+
{ name: "disabled", type: "boolean", default: "false" }
|
|
1127
|
+
]
|
|
1128
|
+
},
|
|
1129
|
+
desc: null,
|
|
1130
|
+
status: null,
|
|
1131
|
+
lastUpdated: null
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
// @dev app/components/catalyst-ui/buttons/social-button.tsx:6
|
|
1135
|
+
name: "Social Button",
|
|
1136
|
+
value: "social-button",
|
|
1137
|
+
importPath: "~/components/catalyst-ui/buttons/social-button",
|
|
1138
|
+
multiImport: null,
|
|
1139
|
+
basicusage: `
|
|
1140
|
+
<SocialButton />
|
|
1141
|
+
|
|
1142
|
+
<SocialButton
|
|
1143
|
+
shareButtons={[
|
|
1144
|
+
{ icon: Twitter, label: "Share on Twitter", onClick: () => {} },
|
|
1145
|
+
{ icon: Instagram, label: "Share on Instagram", onClick: () => {} },
|
|
1146
|
+
{ icon: Linkedin, label: "Share on LinkedIn", onClick: () => {} },
|
|
1147
|
+
{ icon: Link, label: "Copy link", onClick: () => {} }
|
|
1148
|
+
]}
|
|
1149
|
+
label="Hover me"
|
|
1150
|
+
icon={<Link />}
|
|
1151
|
+
variant="light"
|
|
1152
|
+
className=""
|
|
1153
|
+
/>`,
|
|
1154
|
+
path: "/components/catalyst-ui/buttons/social-button.tsx",
|
|
1155
|
+
source: null,
|
|
1156
|
+
usagePath: "/components/catalyst-ui/buttons/social-button.tsx",
|
|
1157
|
+
usage: null,
|
|
1158
|
+
premium: true,
|
|
1159
|
+
category: "Buttons",
|
|
1160
|
+
tags: ["ui", "components", "interactive", "button", "social", "share", "animation"],
|
|
1161
|
+
features: ["Responsive", "TypeScript", "Accessible", "Customizable", "Animated", "Hover Effect"],
|
|
1162
|
+
dependencies: ["lucide-react", "react"],
|
|
1163
|
+
props: {
|
|
1164
|
+
"SocialButton": [
|
|
1165
|
+
{ name: "shareButtons", type: "ShareButton[]", default: "[{ icon: Twitter, label: 'Share on Twitter' }, ...]" },
|
|
1166
|
+
{ name: "label", type: "string", default: "Hover me" },
|
|
1167
|
+
{ name: "icon", type: "React.ReactNode", default: "null" },
|
|
1168
|
+
{ name: "variant", type: "light | dark | outline", default: "light" },
|
|
1169
|
+
{ name: "className", type: "string", default: "null" },
|
|
1170
|
+
],
|
|
1171
|
+
},
|
|
1172
|
+
desc: null,
|
|
1173
|
+
status: null,
|
|
1174
|
+
lastUpdated: null
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
// @dev app/components/catalyst-ui/buttons/switch-button.tsx:6
|
|
1178
|
+
name: "Switch Button",
|
|
1179
|
+
value: "switch-button",
|
|
1180
|
+
importPath: "~/components/catalyst-ui/buttons/switch-button",
|
|
1181
|
+
multiImport: null,
|
|
1182
|
+
basicusage: `
|
|
1183
|
+
<SwitchButton />
|
|
1184
|
+
|
|
1185
|
+
<SwitchButton
|
|
1186
|
+
checked={true}
|
|
1187
|
+
onCheckedChange={(checked) => console.log(checked)}
|
|
1188
|
+
variant="primary"
|
|
1189
|
+
size="md"
|
|
1190
|
+
disabled={false}
|
|
1191
|
+
labels={{ checked: "ON", unchecked: "OFF" }}
|
|
1192
|
+
className=""
|
|
1193
|
+
/>`,
|
|
1194
|
+
path: "/components/catalyst-ui/buttons/switch-button.tsx",
|
|
1195
|
+
source: null,
|
|
1196
|
+
usagePath: "/components/catalyst-ui/buttons/switch-button.tsx",
|
|
1197
|
+
usage: null,
|
|
1198
|
+
premium: true,
|
|
1199
|
+
category: "Buttons",
|
|
1200
|
+
tags: ["ui", "components", "buttons", "toggle", "switch", "interactive", "form"],
|
|
1201
|
+
features: ["Responsive", "TypeScript", "Accessible", "Customizable", "Multiple Variants", "Label Support"],
|
|
1202
|
+
dependencies: ["react"],
|
|
1203
|
+
props: {
|
|
1204
|
+
"SwitchButton": [
|
|
1205
|
+
{ name: "checked", type: "boolean", default: "false" },
|
|
1206
|
+
{ name: "onCheckedChange", type: "(checked: boolean) => void", default: "null" },
|
|
1207
|
+
{ name: "className", type: "string", default: "null" },
|
|
1208
|
+
{ name: "variant", type: "'default' | 'primary' | 'secondary' | 'destructive'", default: "'default'" },
|
|
1209
|
+
{ name: "size", type: "'sm' | 'md' | 'lg'", default: "'md'" },
|
|
1210
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
1211
|
+
{ name: "labels", type: "{ checked: string; unchecked: string }", default: "null" }
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
desc: null,
|
|
1215
|
+
status: null,
|
|
1216
|
+
lastUpdated: null
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
// @dev app/components/catalyst-ui/buttons/button-group.tsx:6
|
|
1220
|
+
name: "Button Group",
|
|
1221
|
+
value: "button-group",
|
|
1222
|
+
importPath: "~/components/catalyst-ui/components/buttons/button-group",
|
|
1223
|
+
multiImport: "ButtonGroup, connectedButtonGroup",
|
|
1224
|
+
basicusage: `
|
|
1225
|
+
<ButtonGroup value="option1" onValueChange={(v) => console.log(v)}>
|
|
1226
|
+
<connectedButtonGroup value="option1">Option 1</connectedButtonGroup>
|
|
1227
|
+
<connectedButtonGroup value="option2">Option 2</connectedButtonGroup>
|
|
1228
|
+
</ButtonGroup>
|
|
1229
|
+
|
|
1230
|
+
<ButtonGroup
|
|
1231
|
+
value={['option1', 'option2']}
|
|
1232
|
+
onValueChange={(v) => console.log(v)}
|
|
1233
|
+
multiple={true}
|
|
1234
|
+
size="md"
|
|
1235
|
+
density="default"
|
|
1236
|
+
className=""
|
|
1237
|
+
>
|
|
1238
|
+
<connectedButtonGroup value="option1" icon={<Icon />}>Option 1</connectedButtonGroup>
|
|
1239
|
+
<connectedButtonGroup value="option2" icon={<Icon />}>Option 2</connectedButtonGroup>
|
|
1240
|
+
</ButtonGroup>`,
|
|
1241
|
+
path: "/components/catalyst-ui/components/buttons/button-group.tsx",
|
|
1242
|
+
source: null,
|
|
1243
|
+
usagePath: "/components/catalyst-ui/components/buttons/button-group.tsx",
|
|
1244
|
+
usage: null,
|
|
1245
|
+
premium: true,
|
|
1246
|
+
category: "Buttons",
|
|
1247
|
+
tags: ["ui", "components", "buttons", "group", "toggle", "material-design"],
|
|
1248
|
+
features: ["Responsive", "TypeScript", "Accessible", "Single Select", "Multi Select", "Icon Support", "Multiple Sizes"],
|
|
1249
|
+
dependencies: ["react", "class-variance-authority"],
|
|
1250
|
+
props: {
|
|
1251
|
+
"ButtonGroup": [
|
|
1252
|
+
{ name: "className", type: "string", default: "null" },
|
|
1253
|
+
{ name: "size", type: "sm | md | lg", default: "md" },
|
|
1254
|
+
{ name: "density", type: "default | compact", default: "default" },
|
|
1255
|
+
{ name: "value", type: "string | string[]", default: "undefined" },
|
|
1256
|
+
{ name: "onValueChange", type: "(value: string | string[]) => void", default: "undefined" },
|
|
1257
|
+
{ name: "multiple", type: "boolean", default: "false" },
|
|
1258
|
+
],
|
|
1259
|
+
"connectedButtonGroup": [
|
|
1260
|
+
{ name: "className", type: "string", default: "null" },
|
|
1261
|
+
{ name: "size", type: "sm | md | lg", default: "md" },
|
|
1262
|
+
{ name: "icon", type: "React.ReactNode", default: "undefined" },
|
|
1263
|
+
{ name: "value", type: "string", default: "undefined" },
|
|
1264
|
+
{ name: "selected", type: "boolean", default: "false" },
|
|
1265
|
+
],
|
|
1266
|
+
},
|
|
1267
|
+
desc: null,
|
|
1268
|
+
status: null,
|
|
1269
|
+
lastUpdated: null
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
// @dev app/components/catalyst-ui/buttons/scroll-to-top.tsx:6
|
|
1273
|
+
name: "Scroll To Top",
|
|
1274
|
+
value: "scroll-to-top",
|
|
1275
|
+
importPath: "~/components/catalyst-ui/buttons/scroll-to-top",
|
|
1276
|
+
multiImport: "FloatButton, FloatButtonGroup",
|
|
1277
|
+
path: "/components/catalyst-ui/buttons/scroll-to-top.tsx",
|
|
1278
|
+
premium: true,
|
|
1279
|
+
source: null,
|
|
1280
|
+
category: "Buttons",
|
|
1281
|
+
tags: ["ui", "components", "interactive"],
|
|
1282
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1283
|
+
dependencies: ["react", "lucide-react"],
|
|
1284
|
+
basicusage: `
|
|
1285
|
+
<ScrollToTop />
|
|
1286
|
+
`,
|
|
1287
|
+
usage: null,
|
|
1288
|
+
usagePath: null,
|
|
1289
|
+
props: {
|
|
1290
|
+
"ScrollToTop": [
|
|
1291
|
+
{ name: "visibilityHeight", type: "int", default: 400 },
|
|
1292
|
+
{ name: "duration", type: "int", default: 450 },
|
|
1293
|
+
{ name: "target", type: "function", default: "window" },
|
|
1294
|
+
{ name: "className", type: "string", default: null },
|
|
1295
|
+
{ name: "icon", type: "function", default: "ChevronUp" },
|
|
1296
|
+
{ name: "onClick", type: "function", default: null }
|
|
1297
|
+
],
|
|
1298
|
+
},
|
|
1299
|
+
desc: null,
|
|
1300
|
+
status: null,
|
|
1301
|
+
lastUpdated: null
|
|
1302
|
+
},
|
|
1303
|
+
{
|
|
1304
|
+
// @dev app/components/catalyst-ui/buttons/float-button.tsx:6
|
|
1305
|
+
name: "Float Button",
|
|
1306
|
+
value: "float-button",
|
|
1307
|
+
importPath: "~/components/catalyst-ui/buttons/float-button",
|
|
1308
|
+
multiImport: "FloatButton, FloatButtonGroup",
|
|
1309
|
+
path: "/components/catalyst-ui/buttons/float-button.tsx",
|
|
1310
|
+
premium: true,
|
|
1311
|
+
source: null,
|
|
1312
|
+
category: "Buttons",
|
|
1313
|
+
tags: ["ui", "components", "interactive"],
|
|
1314
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1315
|
+
dependencies: ["react", "lucide-react"],
|
|
1316
|
+
basicusage: `
|
|
1317
|
+
<FloatButton>
|
|
1318
|
+
Content
|
|
1319
|
+
</FloatButton>
|
|
1320
|
+
|
|
1321
|
+
<FloatButton icon={() => {}} description="" tooltip="" type="default" shape="circle" size="default" className="" onClick={() => {}} children="">
|
|
1322
|
+
Content
|
|
1323
|
+
</FloatButton>`,
|
|
1324
|
+
usage: null,
|
|
1325
|
+
usagePath: null,
|
|
1326
|
+
props: {
|
|
1327
|
+
"FloatButton": [
|
|
1328
|
+
{ name: "icon", type: "string", default: null },
|
|
1329
|
+
{ name: "description", type: "string", default: null },
|
|
1330
|
+
{ name: "tooltip", type: "string", default: null },
|
|
1331
|
+
{ name: "type", type: "string", default: "default" },
|
|
1332
|
+
{ name: "shape", type: "string", default: "circle" },
|
|
1333
|
+
{ name: "size", type: "string", default: "default" },
|
|
1334
|
+
{ name: "className", type: "string", default: null },
|
|
1335
|
+
{ name: "onClick", type: "string", default: null },
|
|
1336
|
+
{ name: "children", type: "string", default: null }
|
|
1337
|
+
],
|
|
1338
|
+
"FloatButtonGroup": [
|
|
1339
|
+
{ name: "trigger", type: "string", default: "click" },
|
|
1340
|
+
{ name: "open", type: "string", default: null },
|
|
1341
|
+
{ name: "onOpenChange", type: "string", default: null },
|
|
1342
|
+
{ name: "shape", type: "string", default: "circle" },
|
|
1343
|
+
{ name: "placement", type: "string", default: "top" },
|
|
1344
|
+
{ name: "icon", type: "JSX", default: "Plus" },
|
|
1345
|
+
{ name: "closeIcon", type: "JSX", default: "X" },
|
|
1346
|
+
{ name: "className", type: "string", default: null },
|
|
1347
|
+
{ name: "children", type: "string", default: null },
|
|
1348
|
+
{ name: "onClick", type: "string", default: null }
|
|
1349
|
+
],
|
|
1350
|
+
},
|
|
1351
|
+
desc: null,
|
|
1352
|
+
status: null,
|
|
1353
|
+
lastUpdated: null
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
// @dev app/components/catalyst-ui/buttons/tooltip-button.tsx:6
|
|
1357
|
+
name: "tooltip button",
|
|
1358
|
+
value: "tooltip-button",
|
|
1359
|
+
importPath: "~/components/catalyst-ui",
|
|
1360
|
+
path: "/components/catalyst-ui/buttons/tooltip-button.tsx",
|
|
1361
|
+
premium: true,
|
|
1362
|
+
source: null,
|
|
1363
|
+
category: "Buttons",
|
|
1364
|
+
tags: ["ui", "components", "interactive"],
|
|
1365
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1366
|
+
dependencies: ["lucide-react"],
|
|
1367
|
+
usage: `
|
|
1368
|
+
<TooltipButton
|
|
1369
|
+
icon={<CheckSquare />}
|
|
1370
|
+
onClick={() => insertFormat('- [ ] {}')}
|
|
1371
|
+
content='Checklist'
|
|
1372
|
+
/>
|
|
1373
|
+
`,
|
|
1374
|
+
usagePath: null,
|
|
1375
|
+
props: [
|
|
1376
|
+
{ "name": "icon", "type": "React.ReactNode", "default": "undefined", },
|
|
1377
|
+
{ "name": "content", "type": "React.ReactNode", "default": "undefined", },
|
|
1378
|
+
{ "name": "onClick", "type": "() => void", "default": "null" },
|
|
1379
|
+
{ "name": "size", "type": "string", "default": "'icon'" },
|
|
1380
|
+
{ "name": "variant", "type": "string", "default": "'ghost'" },
|
|
1381
|
+
{ "name": "className", "type": "string", "default": "undefined" }
|
|
1382
|
+
],
|
|
1383
|
+
props2: [],
|
|
1384
|
+
desc: null,
|
|
1385
|
+
status: null,
|
|
1386
|
+
lastUpdated: null
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
// @dev app/components/catalyst-ui/buttons/split-button.tsx:6
|
|
1390
|
+
name: "Split Button",
|
|
1391
|
+
value: "split-button",
|
|
1392
|
+
importPath: "~/components/catalyst-ui/buttons/split-button",
|
|
1393
|
+
multiImport: null,
|
|
1394
|
+
basicusage: `
|
|
1395
|
+
<SplitButton>
|
|
1396
|
+
Content
|
|
1397
|
+
</SplitButton>
|
|
1398
|
+
|
|
1399
|
+
<SplitButton
|
|
1400
|
+
items=[]
|
|
1401
|
+
icon={}
|
|
1402
|
+
label=""
|
|
1403
|
+
variant=""
|
|
1404
|
+
align="middle"
|
|
1405
|
+
size="md"
|
|
1406
|
+
className=""
|
|
1407
|
+
onClick={() => }
|
|
1408
|
+
>
|
|
1409
|
+
Content
|
|
1410
|
+
</SplitButton>`,
|
|
1411
|
+
path: "/components/catalyst-ui/buttons/split-button.tsx",
|
|
1412
|
+
source: `
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
|
|
1419
|
+
const buttonVariants = cva(
|
|
1420
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
1421
|
+
{
|
|
1422
|
+
variants: {
|
|
1423
|
+
variant: {
|
|
1424
|
+
default:
|
|
1425
|
+
"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
1426
|
+
destructive:
|
|
1427
|
+
"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
1428
|
+
outline:
|
|
1429
|
+
"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
1430
|
+
secondary:
|
|
1431
|
+
"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
1432
|
+
ghost:
|
|
1433
|
+
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
1434
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
1435
|
+
},
|
|
1436
|
+
size: {
|
|
1437
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
1438
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
1439
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
1440
|
+
icon: "size-9",
|
|
1441
|
+
},
|
|
1442
|
+
align: {
|
|
1443
|
+
left: "justify-start text-left",
|
|
1444
|
+
middle: "justify-center text-center",
|
|
1445
|
+
right: "justify-end text-right",
|
|
1446
|
+
},
|
|
1447
|
+
},
|
|
1448
|
+
defaultVariants: {
|
|
1449
|
+
variant: "default",
|
|
1450
|
+
size: "default",
|
|
1451
|
+
align: "middle",
|
|
1452
|
+
},
|
|
1453
|
+
}
|
|
1454
|
+
)
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
interface SplitButtonItem {
|
|
1458
|
+
label: string;
|
|
1459
|
+
icon?: React.ReactNode;
|
|
1460
|
+
command?: () => void;
|
|
1461
|
+
separator?: boolean;
|
|
1462
|
+
}
|
|
1463
|
+
|
|
1464
|
+
interface SplitButtonProps {
|
|
1465
|
+
label: string;
|
|
1466
|
+
icon?: React.ReactNode;
|
|
1467
|
+
items: SplitButtonItem[];
|
|
1468
|
+
onClick?: () => void;
|
|
1469
|
+
className?: string;
|
|
1470
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" ;
|
|
1471
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
1472
|
+
disabled?: boolean;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
const SplitButton = ({
|
|
1476
|
+
label = null,
|
|
1477
|
+
icon,
|
|
1478
|
+
items,
|
|
1479
|
+
onClick,
|
|
1480
|
+
className,
|
|
1481
|
+
containerClassName,
|
|
1482
|
+
variant = "default",
|
|
1483
|
+
align = "default",
|
|
1484
|
+
size = "sm",
|
|
1485
|
+
children,
|
|
1486
|
+
...props
|
|
1487
|
+
}: SplitButtonProps) => {
|
|
1488
|
+
return (
|
|
1489
|
+
<div className={cn("inline-flex", containerClassName)}>
|
|
1490
|
+
<Button
|
|
1491
|
+
onClick={onClick}
|
|
1492
|
+
className={cn("rounded-r-none border-r-0", buttonVariants({ variant, size, className, align }))}
|
|
1493
|
+
{...props}
|
|
1494
|
+
>
|
|
1495
|
+
{children}
|
|
1496
|
+
</Button>
|
|
1497
|
+
<DropdownMenu>
|
|
1498
|
+
<DropdownMenuTrigger asChild>
|
|
1499
|
+
<Button className={cn("rounded-l-none px-2", buttonVariants({ variant, size, className }))} >
|
|
1500
|
+
{label !== null ? (
|
|
1501
|
+
<>
|
|
1502
|
+
{label}
|
|
1503
|
+
</>
|
|
1504
|
+
) :(
|
|
1505
|
+
<ChevronDown className="h-4 w-4" />
|
|
1506
|
+
)}
|
|
1507
|
+
</Button>
|
|
1508
|
+
</DropdownMenuTrigger>
|
|
1509
|
+
<DropdownMenuContent align="end" className="w-48">
|
|
1510
|
+
{items.map((item, index) => (
|
|
1511
|
+
<React.Fragment key={index}>
|
|
1512
|
+
{item.separator && <DropdownMenuSeparator />}
|
|
1513
|
+
<DropdownMenuItem
|
|
1514
|
+
onClick={item.command}
|
|
1515
|
+
className="cursor-pointer"
|
|
1516
|
+
|
|
1517
|
+
>
|
|
1518
|
+
{item.icon && <span className="mr-2">{item.icon}</span>}
|
|
1519
|
+
{item.label}
|
|
1520
|
+
</DropdownMenuItem>
|
|
1521
|
+
</React.Fragment>
|
|
1522
|
+
))}
|
|
1523
|
+
</DropdownMenuContent>
|
|
1524
|
+
</DropdownMenu>
|
|
1525
|
+
</div>
|
|
1526
|
+
);
|
|
1527
|
+
}
|
|
1528
|
+
|
|
1529
|
+
SplitButton.displayName = "SplitButton"
|
|
1530
|
+
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
export {
|
|
1535
|
+
SplitButton
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
`,
|
|
1540
|
+
usagePath: null,
|
|
1541
|
+
usage: `
|
|
1542
|
+
Primary Ripple
|
|
1543
|
+
`,
|
|
1544
|
+
premium: true,
|
|
1545
|
+
category: "Buttons",
|
|
1546
|
+
tags: ["ui", "components", "interactive"],
|
|
1547
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1548
|
+
dependencies: ["lucide-react"],
|
|
1549
|
+
props: {
|
|
1550
|
+
"SplitButton": [
|
|
1551
|
+
{ name: "items", type: "array", default: "null" },
|
|
1552
|
+
{ name: "icon", type: "function", default: "null" },
|
|
1553
|
+
{ name: "align", type: "string", default: "middle" },
|
|
1554
|
+
{ name: "size", type: "string", default: 'sm' },
|
|
1555
|
+
{ name: "loadingText", type: "string", default: "Submitting..." },
|
|
1556
|
+
{ name: "className", type: "string", default: null },
|
|
1557
|
+
{ name: "children", type: "string", default: null },
|
|
1558
|
+
{ name: "props", type: "string", default: null }
|
|
1559
|
+
],
|
|
1560
|
+
},
|
|
1561
|
+
desc: null,
|
|
1562
|
+
status: null,
|
|
1563
|
+
lastUpdated: null
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
// @dev app/components/catalyst-ui/buttons/burger.tsx:6
|
|
1567
|
+
name: "Burger",
|
|
1568
|
+
value: "burger",
|
|
1569
|
+
importPath: "~/components/catalyst-ui/buttons/burger",
|
|
1570
|
+
multiImport: "Burger, BurgerButton, BurgerNavigation, BurgerMenuDemo",
|
|
1571
|
+
path: "/components/catalyst-ui/buttons/burger.tsx",
|
|
1572
|
+
premium: false,
|
|
1573
|
+
source: `
|
|
1574
|
+
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
|
|
1578
|
+
interface BurgerMenuProps {
|
|
1579
|
+
opened?: boolean;
|
|
1580
|
+
onToggle?: (opened: boolean) => void;
|
|
1581
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
1582
|
+
color?: string;
|
|
1583
|
+
className?: string;
|
|
1584
|
+
'aria-label'?: string;
|
|
1585
|
+
disabled?: boolean;
|
|
1586
|
+
}
|
|
1587
|
+
|
|
1588
|
+
export function Burger({
|
|
1589
|
+
opened: controlledOpened,
|
|
1590
|
+
size = 'md',
|
|
1591
|
+
color = 'currentColor',
|
|
1592
|
+
}: BurgerMenuProps) {
|
|
1593
|
+
const [internalOpened, setInternalOpened] = useState(false);
|
|
1594
|
+
const isOpened = controlledOpened !== undefined ? controlledOpened : internalOpened;
|
|
1595
|
+
|
|
1596
|
+
const sizeClasses = {
|
|
1597
|
+
sm: 'w-4 h-4',
|
|
1598
|
+
md: 'w-6 h-6',
|
|
1599
|
+
lg: 'w-8 h-8',
|
|
1600
|
+
xl: 'w-10 h-10'
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
const lineHeight = {
|
|
1604
|
+
sm: '2px',
|
|
1605
|
+
md: '2px',
|
|
1606
|
+
lg: '3px',
|
|
1607
|
+
xl: '3px'
|
|
1608
|
+
};
|
|
1609
|
+
|
|
1610
|
+
return (
|
|
1611
|
+
<div className={cn("relative", sizeClasses[size])}>
|
|
1612
|
+
<span
|
|
1613
|
+
className={cn(
|
|
1614
|
+
"absolute left-0 block transition-all duration-300 ease-in-out rounded-full",
|
|
1615
|
+
"bg-current"
|
|
1616
|
+
)}
|
|
1617
|
+
style={{
|
|
1618
|
+
width: '100%',
|
|
1619
|
+
height: lineHeight[size],
|
|
1620
|
+
color: color,
|
|
1621
|
+
top: isOpened ? '50%' : '20%',
|
|
1622
|
+
transform: isOpened ? 'translateY(-50%) rotate(45deg)' : 'translateY(-50%) rotate(0deg)'
|
|
1623
|
+
}}
|
|
1624
|
+
/>
|
|
1625
|
+
<span
|
|
1626
|
+
className={cn(
|
|
1627
|
+
"absolute left-0 block transition-all duration-300 ease-in-out rounded-full",
|
|
1628
|
+
"bg-current"
|
|
1629
|
+
)}
|
|
1630
|
+
style={{
|
|
1631
|
+
width: '100%',
|
|
1632
|
+
height: lineHeight[size],
|
|
1633
|
+
color: color,
|
|
1634
|
+
top: '50%',
|
|
1635
|
+
opacity: isOpened ? 0 : 1,
|
|
1636
|
+
transform: 'translateY(-50%)'
|
|
1637
|
+
}}
|
|
1638
|
+
/>
|
|
1639
|
+
<span
|
|
1640
|
+
className={cn(
|
|
1641
|
+
"absolute left-0 block transition-all duration-300 ease-in-out rounded-full",
|
|
1642
|
+
"bg-current"
|
|
1643
|
+
)}
|
|
1644
|
+
style={{
|
|
1645
|
+
width: '100%',
|
|
1646
|
+
height: lineHeight[size],
|
|
1647
|
+
color: color,
|
|
1648
|
+
bottom: isOpened ? '50%' : '20%',
|
|
1649
|
+
transform: isOpened ? 'translateY(50%) rotate(-45deg)' : 'translateY(50%) rotate(0deg)'
|
|
1650
|
+
}}
|
|
1651
|
+
/>
|
|
1652
|
+
</div>
|
|
1653
|
+
);
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
export function BurgerButton({
|
|
1657
|
+
opened,
|
|
1658
|
+
onToggle,
|
|
1659
|
+
size ,
|
|
1660
|
+
color ,
|
|
1661
|
+
className = '',
|
|
1662
|
+
'aria-label': ariaLabel = 'Toggle navigation',
|
|
1663
|
+
disabled = false
|
|
1664
|
+
}: BurgerMenuProps) {
|
|
1665
|
+
const [internalOpened, setInternalOpened] = useState(false);
|
|
1666
|
+
|
|
1667
|
+
const isOpened = controlledOpened !== undefined ? controlledOpened : internalOpened;
|
|
1668
|
+
|
|
1669
|
+
const handleToggle = () => {
|
|
1670
|
+
if (disabled) return;
|
|
1671
|
+
|
|
1672
|
+
const newOpened = !isOpened;
|
|
1673
|
+
if (controlledOpened === undefined) {
|
|
1674
|
+
setInternalOpened(newOpened);
|
|
1675
|
+
}
|
|
1676
|
+
onToggle?.(newOpened);
|
|
1677
|
+
};
|
|
1678
|
+
|
|
1679
|
+
const sizeClasses = {
|
|
1680
|
+
sm: 'w-4 h-4',
|
|
1681
|
+
md: 'w-6 h-6',
|
|
1682
|
+
lg: 'w-8 h-8',
|
|
1683
|
+
xl: 'w-10 h-10'
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
return (
|
|
1688
|
+
<Button
|
|
1689
|
+
variant="ghost"
|
|
1690
|
+
size="icon"
|
|
1691
|
+
onClick={handleToggle}
|
|
1692
|
+
disabled={disabled}
|
|
1693
|
+
aria-label={ariaLabel}
|
|
1694
|
+
className={cn(
|
|
1695
|
+
"relative p-2 hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring",
|
|
1696
|
+
sizeClasses[size],
|
|
1697
|
+
className
|
|
1698
|
+
)}
|
|
1699
|
+
>
|
|
1700
|
+
<Burger
|
|
1701
|
+
opened= {opened}
|
|
1702
|
+
size = {size}
|
|
1703
|
+
color ={color}
|
|
1704
|
+
/>
|
|
1705
|
+
</Button>
|
|
1706
|
+
);
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
interface NavigationItem {
|
|
1710
|
+
id: string;
|
|
1711
|
+
label: string;
|
|
1712
|
+
href?: string;
|
|
1713
|
+
onClick?: () => void;
|
|
1714
|
+
}
|
|
1715
|
+
|
|
1716
|
+
interface BurgerNavigationProps {
|
|
1717
|
+
menuItems: NavigationItem[];
|
|
1718
|
+
isOpen: boolean;
|
|
1719
|
+
onToggle: (open: boolean) => void;
|
|
1720
|
+
className?: string;
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
export function BurgerNavigation({
|
|
1724
|
+
menuItems,
|
|
1725
|
+
isOpen,
|
|
1726
|
+
onToggle,
|
|
1727
|
+
className = ''
|
|
1728
|
+
}: BurgerNavigationProps) {
|
|
1729
|
+
const handleItemClick = (item: NavigationItem) => {
|
|
1730
|
+
if (item.onClick) {
|
|
1731
|
+
item.onClick();
|
|
1732
|
+
} else if (item.href) {
|
|
1733
|
+
window.location.href = item.href;
|
|
1734
|
+
}
|
|
1735
|
+
onToggle(false);
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
return (
|
|
1739
|
+
<div className={cn("relative", className)}>
|
|
1740
|
+
<Burger
|
|
1741
|
+
opened={isOpen}
|
|
1742
|
+
onToggle={onToggle}
|
|
1743
|
+
size="lg"
|
|
1744
|
+
className="z-50"
|
|
1745
|
+
/>
|
|
1746
|
+
|
|
1747
|
+
<div
|
|
1748
|
+
className={cn(
|
|
1749
|
+
"fixed inset-0 bg-background/80 backdrop-blur-sm transition-all duration-300 z-40",
|
|
1750
|
+
isOpen ? "opacity-100 pointer-events-auto" : "opacity-0 pointer-events-none"
|
|
1751
|
+
)}
|
|
1752
|
+
onClick={() => onToggle(false)}
|
|
1753
|
+
/>
|
|
1754
|
+
|
|
1755
|
+
<nav
|
|
1756
|
+
className={cn(
|
|
1757
|
+
"fixed top-0 right-0 h-full w-80 bg-card border-l border-border shadow-lg transition-transform duration-300 ease-in-out z-50",
|
|
1758
|
+
isOpen ? "translate-x-0" : "translate-x-full"
|
|
1759
|
+
)}
|
|
1760
|
+
>
|
|
1761
|
+
<div className="flex items-center justify-between p-6 border-b border-border">
|
|
1762
|
+
<h2 className="text-lg font-semibold text-foreground">Menu</h2>
|
|
1763
|
+
<Burger
|
|
1764
|
+
opened={isOpen}
|
|
1765
|
+
onToggle={onToggle}
|
|
1766
|
+
size="md"
|
|
1767
|
+
/>
|
|
1768
|
+
</div>
|
|
1769
|
+
|
|
1770
|
+
<div className="p-6">
|
|
1771
|
+
<ul className="space-y-2">
|
|
1772
|
+
{menuItems.map((item) => (
|
|
1773
|
+
<li key={item.id}>
|
|
1774
|
+
<button
|
|
1775
|
+
onClick={() => handleItemClick(item)}
|
|
1776
|
+
className="w-full text-left p-3 rounded-md hover:bg-accent hover:text-accent-foreground transition-colors duration-150 text-foreground font-medium"
|
|
1777
|
+
>
|
|
1778
|
+
{item.label}
|
|
1779
|
+
</button>
|
|
1780
|
+
</li>
|
|
1781
|
+
))}
|
|
1782
|
+
</ul>
|
|
1783
|
+
</div>
|
|
1784
|
+
</nav>
|
|
1785
|
+
</div>
|
|
1786
|
+
);
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
export function BurgerMenuDemo() {
|
|
1790
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
1791
|
+
const [selectedItem, setSelectedItem] = useState('');
|
|
1792
|
+
|
|
1793
|
+
const navigationItems: NavigationItem[] = [
|
|
1794
|
+
{ id: 'home', label: 'Home', href: '#home' },
|
|
1795
|
+
{ id: 'about', label: 'About', href: '#about' },
|
|
1796
|
+
{ id: 'services', label: 'Services', href: '#services' },
|
|
1797
|
+
{ id: 'portfolio', label: 'Portfolio', href: '#portfolio' },
|
|
1798
|
+
{ id: 'contact', label: 'Contact', href: '#contact' },
|
|
1799
|
+
{ id: 'blog', label: 'Blog', href: '#blog' }
|
|
1800
|
+
];
|
|
1801
|
+
|
|
1802
|
+
const handleItemClick = (label: string) => {
|
|
1803
|
+
setSelectedItem(label);
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
return (
|
|
1807
|
+
<div className="min-h-screen bg-background">
|
|
1808
|
+
<header className="bg-card border-b border-border p-4">
|
|
1809
|
+
<div className="max-w-6xl mx-auto flex items-center justify-between">
|
|
1810
|
+
<h1 className="text-xl font-bold text-foreground">Brand Logo</h1>
|
|
1811
|
+
|
|
1812
|
+
<div className="hidden md:flex space-x-6">
|
|
1813
|
+
{navigationItems.map((item) => (
|
|
1814
|
+
<button
|
|
1815
|
+
key={item.id}
|
|
1816
|
+
onClick={() => handleItemClick(item.label)}
|
|
1817
|
+
className="text-foreground hover:text-primary transition-colors duration-150"
|
|
1818
|
+
>
|
|
1819
|
+
{item.label}
|
|
1820
|
+
</button>
|
|
1821
|
+
))}
|
|
1822
|
+
</div>
|
|
1823
|
+
|
|
1824
|
+
<div className="md:hidden">
|
|
1825
|
+
<BurgerNavigation
|
|
1826
|
+
menuItems={navigationItems}
|
|
1827
|
+
isOpen={isMenuOpen}
|
|
1828
|
+
onToggle={setIsMenuOpen}
|
|
1829
|
+
/>
|
|
1830
|
+
</div>
|
|
1831
|
+
</div>
|
|
1832
|
+
</header>
|
|
1833
|
+
|
|
1834
|
+
<main className="p-8">
|
|
1835
|
+
<div className="max-w-4xl mx-auto">
|
|
1836
|
+
<h2 className="text-3xl font-bold text-foreground mb-8">Burger Menu Component Demo</h2>
|
|
1837
|
+
|
|
1838
|
+
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-8">
|
|
1839
|
+
<div className="bg-card border border-border rounded-lg p-6">
|
|
1840
|
+
<h3 className="font-semibold text-foreground mb-4">Small</h3>
|
|
1841
|
+
<Burger size="sm" />
|
|
1842
|
+
</div>
|
|
1843
|
+
|
|
1844
|
+
<div className="bg-card border border-border rounded-lg p-6">
|
|
1845
|
+
<h3 className="font-semibold text-foreground mb-4">Medium</h3>
|
|
1846
|
+
<Burger size="md" />
|
|
1847
|
+
</div>
|
|
1848
|
+
|
|
1849
|
+
<div className="bg-card border border-border rounded-lg p-6">
|
|
1850
|
+
<h3 className="font-semibold text-foreground mb-4">Large</h3>
|
|
1851
|
+
<Burger size="lg" />
|
|
1852
|
+
</div>
|
|
1853
|
+
|
|
1854
|
+
<div className="bg-card border border-border rounded-lg p-6">
|
|
1855
|
+
<h3 className="font-semibold text-foreground mb-4">Extra Large</h3>
|
|
1856
|
+
<Burger size="xl" />
|
|
1857
|
+
</div>
|
|
1858
|
+
</div>
|
|
1859
|
+
|
|
1860
|
+
{selectedItem && (
|
|
1861
|
+
<div className="bg-card border border-border rounded-lg p-6">
|
|
1862
|
+
<h3 className="font-semibold text-foreground mb-2">Selected Item</h3>
|
|
1863
|
+
<p className="text-muted-foreground">You clicked: {selectedItem}</p>
|
|
1864
|
+
</div>
|
|
1865
|
+
)}
|
|
1866
|
+
</div>
|
|
1867
|
+
</main>
|
|
1868
|
+
</div>
|
|
1869
|
+
);
|
|
1870
|
+
}`,
|
|
1871
|
+
category: "Buttons",
|
|
1872
|
+
tags: ["ui", "components", "interactive"],
|
|
1873
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1874
|
+
dependencies: ["react"],
|
|
1875
|
+
basicusage: `
|
|
1876
|
+
<Burger />
|
|
1877
|
+
|
|
1878
|
+
<Burger opened="" size="sm" color="" />`,
|
|
1879
|
+
usage: `
|
|
1880
|
+
const [isMenuOpen, setIsMenuOpen] = useState(false);
|
|
1881
|
+
const [selectedItem, setSelectedItem] = useState('');
|
|
1882
|
+
|
|
1883
|
+
const navigationItems: NavigationItem[] = [
|
|
1884
|
+
{ id: 'home', label: 'Home', href: '#home' },
|
|
1885
|
+
{ id: 'about', label: 'About', href: '#about' },
|
|
1886
|
+
{ id: 'services', label: 'Services', href: '#services' },
|
|
1887
|
+
{ id: 'portfolio', label: 'Portfolio', href: '#portfolio' },
|
|
1888
|
+
{ id: 'contact', label: 'Contact', href: '#contact' },
|
|
1889
|
+
{ id: 'blog', label: 'Blog', href: '#blog' }
|
|
1890
|
+
];
|
|
1891
|
+
|
|
1892
|
+
const handleItemClick = (label: string) => {
|
|
1893
|
+
setSelectedItem(label);
|
|
1894
|
+
};
|
|
1895
|
+
|
|
1896
|
+
{navigationItems.map((item) => (
|
|
1897
|
+
<button key={item.id} onClick={() => handleItemClick(item.label)} className="text-foreground hover:text-primary transition-colors duration-150" >
|
|
1898
|
+
{item.label}
|
|
1899
|
+
</button>
|
|
1900
|
+
))}
|
|
1901
|
+
|
|
1902
|
+
<BurgerNavigation
|
|
1903
|
+
menuItems={navigationItems}
|
|
1904
|
+
isOpen={isMenuOpen}
|
|
1905
|
+
onToggle={setIsMenuOpen}
|
|
1906
|
+
/>
|
|
1907
|
+
`,
|
|
1908
|
+
usagePath: null,
|
|
1909
|
+
props: {
|
|
1910
|
+
"Burger": [
|
|
1911
|
+
{ name: "opened", type: "string", default: "null" },
|
|
1912
|
+
{ name: "size", type: "string", default: "'md'" },
|
|
1913
|
+
{ name: "color", type: "string", default: "'currentColor'" }
|
|
1914
|
+
],
|
|
1915
|
+
"BurgerButton": [
|
|
1916
|
+
{ name: "opened", type: "string", default: "null" },
|
|
1917
|
+
{ name: "onToggle", type: "string", default: "null" },
|
|
1918
|
+
{ name: "size", type: "string", default: "null" },
|
|
1919
|
+
{ name: "color", type: "string", default: "null" },
|
|
1920
|
+
{ name: "className", type: "string", default: "''" },
|
|
1921
|
+
{ name: "aria", type: "string", default: "null" },
|
|
1922
|
+
{ name: "disabled", type: "boolean", default: "false" }
|
|
1923
|
+
],
|
|
1924
|
+
"BurgerNavigation": [
|
|
1925
|
+
{ name: "menuItems", type: "string", default: "null" },
|
|
1926
|
+
{ name: "isOpen", type: "string", default: "null" },
|
|
1927
|
+
{ name: "onToggle", type: "string", default: "null" },
|
|
1928
|
+
{ name: "className", type: "string", default: "''" }
|
|
1929
|
+
],
|
|
1930
|
+
},
|
|
1931
|
+
desc: null,
|
|
1932
|
+
status: null,
|
|
1933
|
+
lastUpdated: null
|
|
1934
|
+
},
|
|
1935
|
+
{
|
|
1936
|
+
// @dev app/components/catalyst-ui/buttons/copy-text.tsx:6
|
|
1937
|
+
name: "Copy Text",
|
|
1938
|
+
value: "copy-text",
|
|
1939
|
+
importPath: "~/components/catalyst-ui/buttons/copy-text",
|
|
1940
|
+
path: "/components/catalyst-ui/buttons/copy-text.tsx",
|
|
1941
|
+
premium: true,
|
|
1942
|
+
source: null,
|
|
1943
|
+
category: "Buttons",
|
|
1944
|
+
tags: ["ui", "components", "interactive"],
|
|
1945
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1946
|
+
dependencies: ["lucide-react", "class-variance-authority"],
|
|
1947
|
+
basicusage: `
|
|
1948
|
+
<CopyText code={content} /> `,
|
|
1949
|
+
usage: `
|
|
1950
|
+
<CopyText code={createTildeImport} ttText='~ - Tilde Import' icon={Tilde} />`,
|
|
1951
|
+
usagePath: null,
|
|
1952
|
+
props: {
|
|
1953
|
+
"CopyText": [
|
|
1954
|
+
{ name: "code", type: "string", default: "null" },
|
|
1955
|
+
{ name: "ttText", type: "string", default: "Copy" },
|
|
1956
|
+
{ name: "icon", type: "icon function", default: "Copy" },
|
|
1957
|
+
{ name: "size", type: "string", default: "icon" },
|
|
1958
|
+
{ name: "variant", type: "string", default: "ghost" },
|
|
1959
|
+
],
|
|
1960
|
+
},
|
|
1961
|
+
desc: null,
|
|
1962
|
+
status: null,
|
|
1963
|
+
lastUpdated: null
|
|
1964
|
+
},
|
|
1965
|
+
{
|
|
1966
|
+
// @dev app/components/catalyst-ui/buttons/export-file.tsx:6
|
|
1967
|
+
name: "Export File",
|
|
1968
|
+
value: "export-file",
|
|
1969
|
+
importPath: "~/components/catalyst-ui/buttons/export-file",
|
|
1970
|
+
path: "~/components/catalyst-ui/buttons/export-file.tsx",
|
|
1971
|
+
premium: true,
|
|
1972
|
+
source: `
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
export function ExportFile({ code = null, filename='MyComponent.tsx' }) {
|
|
1979
|
+
const exportFile = useExport();
|
|
1980
|
+
|
|
1981
|
+
const handleClick = () => {
|
|
1982
|
+
if (!code || !filename) return null;
|
|
1983
|
+
exportFile(code, filename);
|
|
1984
|
+
};
|
|
1985
|
+
return (
|
|
1986
|
+
<Button variant="ghost" size="icon" className="h-8 w-8 cursor-pointer hover:bg-background/80" onClick={() => handleClick()}>
|
|
1987
|
+
<Download className="h-4 w-4 hover:text-primary" />
|
|
1988
|
+
</Button>
|
|
1989
|
+
);
|
|
1990
|
+
}
|
|
1991
|
+
`,
|
|
1992
|
+
category: "Buttons",
|
|
1993
|
+
tags: ["ui", "components", "interactive"],
|
|
1994
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
1995
|
+
dependencies: ["lucide-react"],
|
|
1996
|
+
basicusage: `
|
|
1997
|
+
<ExportFile code={content} filename='' />`,
|
|
1998
|
+
usage: null,
|
|
1999
|
+
usagePath: null,
|
|
2000
|
+
props: {
|
|
2001
|
+
"ExportFile": [
|
|
2002
|
+
{ name: "code", type: "string", default: "null" },
|
|
2003
|
+
{ name: "filename", type: "string", default: "'MyComponent.tsx'" }
|
|
2004
|
+
],
|
|
2005
|
+
},
|
|
2006
|
+
props2: [],
|
|
2007
|
+
desc: null,
|
|
2008
|
+
status: null,
|
|
2009
|
+
lastUpdated: null
|
|
2010
|
+
},
|
|
2011
|
+
{
|
|
2012
|
+
// @dev app/components/catalyst-ui/buttons/form-button.tsx:6
|
|
2013
|
+
name: "Form Button",
|
|
2014
|
+
value: "form-button",
|
|
2015
|
+
importPath: "~/components/catalyst-ui/buttons/form-button",
|
|
2016
|
+
multiImport: null,
|
|
2017
|
+
path: "/components/catalyst-ui/buttons/button-form.tsx",
|
|
2018
|
+
premium: true,
|
|
2019
|
+
source: `
|
|
2020
|
+
|
|
2021
|
+
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
|
|
2026
|
+
const buttonVariants = cva(
|
|
2027
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
2028
|
+
{
|
|
2029
|
+
variants: {
|
|
2030
|
+
variant: {
|
|
2031
|
+
default:
|
|
2032
|
+
"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
2033
|
+
destructive:
|
|
2034
|
+
"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
2035
|
+
outline:
|
|
2036
|
+
"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
2037
|
+
secondary:
|
|
2038
|
+
"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
2039
|
+
ghost:
|
|
2040
|
+
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
2041
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
2042
|
+
},
|
|
2043
|
+
size: {
|
|
2044
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
2045
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
2046
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
2047
|
+
icon: "size-9",
|
|
2048
|
+
},
|
|
2049
|
+
align: {
|
|
2050
|
+
left: "justify-start text-left",
|
|
2051
|
+
middle: "justify-center text-center",
|
|
2052
|
+
right: "justify-end text-right",
|
|
2053
|
+
},
|
|
2054
|
+
},
|
|
2055
|
+
defaultVariants: {
|
|
2056
|
+
variant: "default",
|
|
2057
|
+
size: "default",
|
|
2058
|
+
align: "middle",
|
|
2059
|
+
},
|
|
2060
|
+
}
|
|
2061
|
+
)
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
interface ButtonAnchorProps
|
|
2065
|
+
extends RemixLinkProps,
|
|
2066
|
+
VariantProps<typeof buttonVariants> { }
|
|
2067
|
+
|
|
2068
|
+
|
|
2069
|
+
export function FormButton ({
|
|
2070
|
+
primary = true, // true | false | dashed
|
|
2071
|
+
variant = "default",
|
|
2072
|
+
align = "default",
|
|
2073
|
+
size = 'sm',
|
|
2074
|
+
loadingText = "Submitting...",
|
|
2075
|
+
className,
|
|
2076
|
+
children,
|
|
2077
|
+
...props
|
|
2078
|
+
}: ButtonNavLinkProps) {
|
|
2079
|
+
const nav = useNavigation()
|
|
2080
|
+
|
|
2081
|
+
const isSubmitting = nav.state === 'submitting';
|
|
2082
|
+
|
|
2083
|
+
const baseClasses = cn(
|
|
2084
|
+
"transition duration-300 border-2 border-border w-[95%] text-center mx-auto text-foreground px-6 py-3 rounded-none",
|
|
2085
|
+
buttonVariants({ variant, size, className, align }),
|
|
2086
|
+
className
|
|
2087
|
+
);
|
|
2088
|
+
|
|
2089
|
+
const primaryClasses =
|
|
2090
|
+
primary === true
|
|
2091
|
+
? "bg-[#2563eb] hover:bg-[#16171a]"
|
|
2092
|
+
: primary === false
|
|
2093
|
+
? "bg-[#121212] hover:bg-[#2563eb]"
|
|
2094
|
+
: primary === "dashed"
|
|
2095
|
+
? "h-8 border-dashed"
|
|
2096
|
+
: "";
|
|
2097
|
+
return (
|
|
2098
|
+
<Button
|
|
2099
|
+
type="submit"
|
|
2100
|
+
className={cn(baseClasses, primaryClasses)}
|
|
2101
|
+
disabled={isSubmitting}
|
|
2102
|
+
{...props}
|
|
2103
|
+
>
|
|
2104
|
+
{isSubmitting ? (
|
|
2105
|
+
<div className='flex items-center gap-3'>
|
|
2106
|
+
<div className="flex items-center justify-center h-full">
|
|
2107
|
+
<div className='animate-spin rounded-full h-6 w-6 border-t-4 border-primary border-solid'></div>
|
|
2108
|
+
</div>
|
|
2109
|
+
<p className='ml-3'>{loadingText}</p>
|
|
2110
|
+
</div>
|
|
2111
|
+
) : (
|
|
2112
|
+
children
|
|
2113
|
+
)}
|
|
2114
|
+
</Button>
|
|
2115
|
+
);
|
|
2116
|
+
};
|
|
2117
|
+
`,
|
|
2118
|
+
category: "Buttons",
|
|
2119
|
+
tags: ["ui", "components", "interactive"],
|
|
2120
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
2121
|
+
dependencies: ["react", "class-variance-authority", "@radix-ui"],
|
|
2122
|
+
basicusage: `
|
|
2123
|
+
<FormButton>
|
|
2124
|
+
Content
|
|
2125
|
+
</FormButton>
|
|
2126
|
+
|
|
2127
|
+
<FormButton
|
|
2128
|
+
primary="" // true | false | dashed
|
|
2129
|
+
variant=""
|
|
2130
|
+
align="center"
|
|
2131
|
+
size="md"
|
|
2132
|
+
className="custom-class"
|
|
2133
|
+
loadingText=""
|
|
2134
|
+
>
|
|
2135
|
+
Content
|
|
2136
|
+
</FormButton>`,
|
|
2137
|
+
usage: null,
|
|
2138
|
+
usagePath: null,
|
|
2139
|
+
props: {
|
|
2140
|
+
"FormButton": [
|
|
2141
|
+
{ name: "primary", type: "boolean", default: true },
|
|
2142
|
+
{ name: "true", type: "string", default: null },
|
|
2143
|
+
{ name: "align", type: "string", default: "default" },
|
|
2144
|
+
{ name: "size", type: "string", default: 'sm' },
|
|
2145
|
+
{ name: "loadingText", type: "string", default: "Submitting..." },
|
|
2146
|
+
{ name: "className", type: "string", default: null },
|
|
2147
|
+
{ name: "children", type: "string", default: null },
|
|
2148
|
+
{ name: "props", type: "string", default: null }
|
|
2149
|
+
],
|
|
2150
|
+
},
|
|
2151
|
+
desc: null,
|
|
2152
|
+
status: null,
|
|
2153
|
+
lastUpdated: null
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
// @dev app/components/catalyst-ui/buttons/toggle-button.tsx:6
|
|
2157
|
+
name: "Toggle Button",
|
|
2158
|
+
value: "toggle-button",
|
|
2159
|
+
importPath: "~/components/catalyst-ui/buttons/button-toggle",
|
|
2160
|
+
multiImport: null,
|
|
2161
|
+
path: "/components/catalyst-ui/buttons/button-toggle.tsx",
|
|
2162
|
+
premium: true,
|
|
2163
|
+
source: `
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
|
|
2170
|
+
const buttonVariants = cva(
|
|
2171
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
2172
|
+
{
|
|
2173
|
+
variants: {
|
|
2174
|
+
variant: {
|
|
2175
|
+
default:
|
|
2176
|
+
"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
|
|
2177
|
+
destructive:
|
|
2178
|
+
"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
2179
|
+
outline:
|
|
2180
|
+
"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
|
|
2181
|
+
secondary:
|
|
2182
|
+
"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
|
|
2183
|
+
ghost:
|
|
2184
|
+
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
|
|
2185
|
+
link: "text-primary underline-offset-4 hover:underline",
|
|
2186
|
+
},
|
|
2187
|
+
size: {
|
|
2188
|
+
default: "h-9 px-4 py-2 has-[>svg]:px-3",
|
|
2189
|
+
sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
|
|
2190
|
+
lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
|
|
2191
|
+
icon: "size-9",
|
|
2192
|
+
},
|
|
2193
|
+
align: {
|
|
2194
|
+
left: "justify-start text-left",
|
|
2195
|
+
middle: "justify-center text-center",
|
|
2196
|
+
right: "justify-end text-right",
|
|
2197
|
+
},
|
|
2198
|
+
},
|
|
2199
|
+
defaultVariants: {
|
|
2200
|
+
variant: "default",
|
|
2201
|
+
size: "default",
|
|
2202
|
+
align: "middle",
|
|
2203
|
+
},
|
|
2204
|
+
}
|
|
2205
|
+
)
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
interface ButtonToggleProps {
|
|
2209
|
+
checked?: boolean
|
|
2210
|
+
onChange?: (checked: boolean) => void
|
|
2211
|
+
disabled?: boolean
|
|
2212
|
+
className?: string
|
|
2213
|
+
variant?: "default" | "outline" | "ghost"
|
|
2214
|
+
size?: "sm" | "md" | "lg"
|
|
2215
|
+
icon?: React.ReactNode
|
|
2216
|
+
iconPos?: "left" | "right"
|
|
2217
|
+
children?: React.ReactNode
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
export function ToggleButton({
|
|
2221
|
+
checked = false,
|
|
2222
|
+
onChange,
|
|
2223
|
+
disabled = false,
|
|
2224
|
+
className,
|
|
2225
|
+
variant = "default",
|
|
2226
|
+
size = "md",
|
|
2227
|
+
icon,
|
|
2228
|
+
iconPos = "left",
|
|
2229
|
+
children,
|
|
2230
|
+
...props
|
|
2231
|
+
}) {
|
|
2232
|
+
const handleClick = () => {
|
|
2233
|
+
if (!disabled && onChange) {
|
|
2234
|
+
onChange(!checked)
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
const handleKeyDown = (e: React.KeyboardEvent) => {
|
|
2239
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
2240
|
+
e.preventDefault()
|
|
2241
|
+
handleClick()
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
return (
|
|
2246
|
+
<button
|
|
2247
|
+
ref={ref}
|
|
2248
|
+
type="button"
|
|
2249
|
+
className={cn(
|
|
2250
|
+
"inline-flex items-center justify-center rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",
|
|
2251
|
+
variant === "default" &&
|
|
2252
|
+
checked
|
|
2253
|
+
? "bg-primary text-primary-foreground shadow hover:bg-primary/90"
|
|
2254
|
+
: "bg-background text-foreground border border-input shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
2255
|
+
variant === "outline" &&
|
|
2256
|
+
checked
|
|
2257
|
+
? "border border-primary bg-background text-primary shadow-sm hover:bg-accent"
|
|
2258
|
+
: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
2259
|
+
variant === "ghost" &&
|
|
2260
|
+
checked
|
|
2261
|
+
? "bg-accent text-accent-foreground hover:bg-accent/80"
|
|
2262
|
+
: "hover:bg-accent hover:text-accent-foreground",
|
|
2263
|
+
size === "sm" && "h-8 px-3 text-xs",
|
|
2264
|
+
size === "md" && "h-10 px-4 py-2 text-sm",
|
|
2265
|
+
size === "lg" && "h-12 px-6 text-base",
|
|
2266
|
+
className
|
|
2267
|
+
)}
|
|
2268
|
+
onClick={handleClick}
|
|
2269
|
+
onKeyDown={handleKeyDown}
|
|
2270
|
+
disabled={disabled}
|
|
2271
|
+
role="switch"
|
|
2272
|
+
aria-checked={checked}
|
|
2273
|
+
aria-disabled={disabled}
|
|
2274
|
+
{...props}
|
|
2275
|
+
>
|
|
2276
|
+
{icon && iconPos === "left" && (
|
|
2277
|
+
<span className={cn(children && "mr-2")}>{icon}</span>
|
|
2278
|
+
)}
|
|
2279
|
+
{children}
|
|
2280
|
+
{icon && iconPos === "right" && (
|
|
2281
|
+
<span className={cn(children && "ml-2")}>{icon}</span>
|
|
2282
|
+
)}
|
|
2283
|
+
</button>
|
|
2284
|
+
)
|
|
2285
|
+
}
|
|
2286
|
+
|
|
2287
|
+
ToggleButton.displayName = "ToggleButton"
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
export {
|
|
2291
|
+
ToggleButton
|
|
2292
|
+
}
|
|
2293
|
+
|
|
2294
|
+
`,
|
|
2295
|
+
category: "Buttons",
|
|
2296
|
+
tags: ["ui", "components", "interactive"],
|
|
2297
|
+
features: ["Responsive", "TypeScript", "Accessible"],
|
|
2298
|
+
dependencies: ["react", "class-variance-authority", "@radix-ui"],
|
|
2299
|
+
basicusage: `
|
|
2300
|
+
<ToggleButton>
|
|
2301
|
+
ToggleButton
|
|
2302
|
+
</ToggleButton>
|
|
2303
|
+
|
|
2304
|
+
<ToggleButton checked="" onChange="" disabled="" className="">
|
|
2305
|
+
ToggleButton
|
|
2306
|
+
</ToggleButton>`,
|
|
2307
|
+
usage: null,
|
|
2308
|
+
usagePath: null,
|
|
2309
|
+
props: {
|
|
2310
|
+
"ToggleButton": [
|
|
2311
|
+
{ name: "checked", type: "boolean", default: "false" },
|
|
2312
|
+
{ name: "onChange", type: "string", default: "null" },
|
|
2313
|
+
{ name: "disabled", type: "boolean", default: "false" },
|
|
2314
|
+
{ name: "className", type: "string", default: "null" },
|
|
2315
|
+
{ name: "variant", type: "string", default: "default" },
|
|
2316
|
+
{ name: "size", type: "string", default: "md" },
|
|
2317
|
+
{ name: "icon", type: "string", default: "null" },
|
|
2318
|
+
{ name: "iconPos", type: "string", default: "left" },
|
|
2319
|
+
{ name: "children", type: "string", default: "null" },
|
|
2320
|
+
{ name: "props", type: "string", default: "null" }
|
|
2321
|
+
],
|
|
2322
|
+
},
|
|
2323
|
+
desc: null,
|
|
2324
|
+
status: null,
|
|
2325
|
+
lastUpdated: null
|
|
2326
|
+
},
|
|
2327
|
+
];
|