@catalystsoftware/ui 1.0.11 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +309 -0
- package/dist/components/catalyst-ui/background/animated-beam.tsx +189 -0
- package/dist/components/catalyst-ui/background/background-gradient.tsx +77 -0
- package/dist/components/catalyst-ui/background/background-paths.tsx +132 -0
- package/dist/components/catalyst-ui/background/canvas-fractal-grid.tsx +1862 -0
- package/dist/components/catalyst-ui/background/distorted-glass.tsx +0 -0
- package/dist/components/catalyst-ui/background/dot-pattern.tsx +169 -0
- package/dist/components/catalyst-ui/background/dotted-glow-background.tsx +342 -0
- package/dist/components/catalyst-ui/background/dotted-map.tsx +193 -0
- package/dist/components/catalyst-ui/background/dynamic-rain.tsx +216 -0
- package/dist/components/catalyst-ui/background/flickering-grid.tsx +211 -0
- package/dist/components/catalyst-ui/background/fractal-grid.tsx +666 -0
- package/dist/components/catalyst-ui/background/hexagon-background.tsx +102 -0
- package/dist/components/catalyst-ui/background/index.ts +25 -0
- package/dist/components/catalyst-ui/background/interactive-grid-pattern.tsx +90 -0
- package/dist/components/catalyst-ui/background/lamp.tsx +105 -0
- package/dist/components/catalyst-ui/background/orbiting-circles.tsx +76 -0
- package/dist/components/catalyst-ui/background/particles.tsx +286 -0
- package/dist/components/catalyst-ui/background/progressive-blur.tsx +113 -0
- package/dist/components/catalyst-ui/background/retro-grid-background.tsx +104 -0
- package/dist/components/catalyst-ui/background/smoke.tsx +117 -0
- package/dist/components/catalyst-ui/background/sparkles.tsx +435 -0
- package/dist/components/catalyst-ui/background/stripe-bg-guides.tsx +260 -0
- package/dist/components/catalyst-ui/background/texture-overlay.tsx +207 -0
- package/dist/components/catalyst-ui/background/vortex.tsx +257 -0
- package/dist/components/catalyst-ui/buttons/animated-theme-toggler.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/attract-button.tsx +167 -0
- package/dist/components/catalyst-ui/buttons/bg-animate-button.tsx +249 -0
- package/dist/components/catalyst-ui/buttons/button-group.tsx +203 -0
- package/dist/components/catalyst-ui/buttons/command-button.tsx +109 -0
- package/dist/components/catalyst-ui/buttons/copy-button.tsx +117 -0
- package/dist/components/catalyst-ui/buttons/copy-text.tsx +347 -0
- package/dist/components/catalyst-ui/buttons/export-file.tsx +262 -0
- package/dist/components/catalyst-ui/buttons/flip-button.tsx +106 -0
- package/dist/components/catalyst-ui/buttons/float-button.tsx +197 -0
- package/dist/components/catalyst-ui/buttons/form-button.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/hold-button.tsx +208 -0
- package/dist/components/catalyst-ui/buttons/index.ts +35 -0
- package/dist/components/catalyst-ui/buttons/input-button.tsx +192 -0
- package/dist/components/catalyst-ui/buttons/liquid-button.tsx +53 -0
- package/dist/components/catalyst-ui/buttons/particle-button.tsx +193 -0
- package/dist/components/catalyst-ui/buttons/rating-button-1.tsx +243 -0
- package/dist/components/catalyst-ui/buttons/rating-button.tsx +226 -0
- package/dist/components/catalyst-ui/buttons/ripple-button.tsx +146 -0
- package/dist/components/catalyst-ui/buttons/scroll-to-top.tsx +47 -0
- package/dist/components/catalyst-ui/buttons/shimmer-button.tsx +84 -0
- package/dist/components/catalyst-ui/buttons/slide-button.tsx +90 -0
- package/dist/components/catalyst-ui/buttons/social-button.tsx +194 -0
- package/dist/components/catalyst-ui/buttons/split-button.tsx +121 -0
- package/dist/components/catalyst-ui/buttons/switch-button.tsx +316 -0
- package/dist/components/catalyst-ui/buttons/text-reveal-button.tsx +65 -0
- package/dist/components/catalyst-ui/buttons/theme-switcher.tsx +102 -0
- package/dist/components/catalyst-ui/buttons/theme-toggle-button.tsx +312 -0
- package/dist/components/catalyst-ui/buttons/toggle-button.tsx +125 -0
- package/dist/components/catalyst-ui/buttons/tooltip-button.tsx +24 -0
- package/dist/components/catalyst-ui/charts/area-chart.tsx +989 -0
- package/dist/components/catalyst-ui/charts/bar-chart.tsx +887 -0
- package/dist/components/catalyst-ui/charts/bar-list.tsx +171 -0
- package/dist/components/catalyst-ui/charts/category-bar.tsx +221 -0
- package/dist/components/catalyst-ui/charts/chart-utils.ts +168 -0
- package/dist/components/catalyst-ui/charts/combo-chart.tsx +1179 -0
- package/dist/components/catalyst-ui/charts/donut-chart.tsx +337 -0
- package/dist/components/catalyst-ui/charts/index.ts +14 -0
- package/dist/components/catalyst-ui/charts/line-chart.tsx +907 -0
- package/dist/components/catalyst-ui/charts/spark-chart.tsx +328 -0
- package/dist/components/catalyst-ui/chat/chat.tsx +491 -0
- package/dist/components/catalyst-ui/code/code-block-section.tsx +939 -0
- package/dist/components/catalyst-ui/code/code-comparison.tsx +221 -0
- package/dist/components/catalyst-ui/code/code-comparison1.tsx +203 -0
- package/dist/components/catalyst-ui/code/code-editor.tsx +318 -0
- package/dist/components/catalyst-ui/code/code-section.tsx +62 -0
- package/dist/components/catalyst-ui/code/css-section.tsx +142 -0
- package/dist/components/catalyst-ui/code/html-section.tsx +102 -0
- package/dist/components/catalyst-ui/code/index.ts +22 -0
- package/dist/components/catalyst-ui/code/installCode-section.tsx +181 -0
- package/dist/components/catalyst-ui/code/installCodeArray-section.tsx +186 -0
- package/dist/components/catalyst-ui/code/installGithub-section.tsx +119 -0
- package/dist/components/catalyst-ui/code/json-section.tsx +253 -0
- package/dist/components/catalyst-ui/code/props-section.tsx +605 -0
- package/dist/components/catalyst-ui/code/sandbox.tsx +398 -0
- package/dist/components/catalyst-ui/code/sandbox2.tsx +3194 -0
- package/dist/components/catalyst-ui/code/terminal-1.tsx +119 -0
- package/dist/components/catalyst-ui/code/terminal-code-section.tsx +395 -0
- package/dist/components/catalyst-ui/code/terminal.tsx +315 -0
- package/dist/components/catalyst-ui/code/tsx-section.tsx +176 -0
- package/dist/components/catalyst-ui/comboboxes/choicebox.tsx +203 -0
- package/dist/components/catalyst-ui/comboboxes/combobox-0.tsx +556 -0
- package/dist/components/catalyst-ui/comboboxes/combobox-1.tsx +146 -0
- package/dist/components/catalyst-ui/comboboxes/combobox2.tsx +255 -0
- package/dist/components/catalyst-ui/comboboxes/emoji-picker.tsx +486 -0
- package/dist/components/catalyst-ui/comboboxes/filter-combobox.tsx +46 -0
- package/dist/components/catalyst-ui/comboboxes/index.ts +9 -0
- package/dist/components/catalyst-ui/comboboxes/multi-combobox.tsx +169 -0
- package/dist/components/catalyst-ui/comboboxes/nested-combobox.tsx +211 -0
- package/dist/components/catalyst-ui/commands/command-2.tsx +126 -0
- package/dist/components/catalyst-ui/commands/command-w-combobox.tsx +108 -0
- package/dist/components/catalyst-ui/commands/index.ts +6 -0
- package/dist/components/catalyst-ui/commands/nested-command-dialog.tsx +429 -0
- package/dist/components/catalyst-ui/commands/nested-command.tsx +133 -0
- package/dist/components/catalyst-ui/core/components/3d-card.tsx +144 -0
- package/dist/components/catalyst-ui/core/components/3d-card1.tsx +196 -0
- package/dist/components/catalyst-ui/core/components/android.tsx +105 -0
- package/dist/components/catalyst-ui/core/components/apple-cards-carousel.tsx +376 -0
- package/dist/components/catalyst-ui/core/components/apple-dock.tsx +280 -0
- package/dist/components/catalyst-ui/core/components/badge-1.tsx +117 -0
- package/dist/components/catalyst-ui/core/components/card-flip.tsx +204 -0
- package/dist/components/catalyst-ui/core/components/card-stack.tsx +224 -0
- package/dist/components/catalyst-ui/core/components/chat-bubble.tsx +198 -0
- package/dist/components/catalyst-ui/core/components/collapsible-section.tsx +92 -0
- package/dist/components/catalyst-ui/core/components/comment.tsx +812 -0
- package/dist/components/catalyst-ui/core/components/counter.tsx +77 -0
- package/dist/components/catalyst-ui/core/components/credit-card.tsx +406 -0
- package/dist/components/catalyst-ui/core/components/device-mockup.tsx +436 -0
- package/dist/components/catalyst-ui/core/components/embed.tsx +0 -0
- package/dist/components/catalyst-ui/core/components/faq.tsx +166 -0
- package/dist/components/catalyst-ui/core/components/feed.tsx +741 -0
- package/dist/components/catalyst-ui/core/components/fixed-marker.tsx +232 -0
- package/dist/components/catalyst-ui/core/components/for.tsx +138 -0
- package/dist/components/catalyst-ui/core/components/glowing-effect-card.tsx +273 -0
- package/dist/components/catalyst-ui/core/components/iframe.tsx +175 -0
- package/dist/components/catalyst-ui/core/components/in-place.tsx +285 -0
- package/dist/components/catalyst-ui/core/components/iphone-15-pro.tsx +129 -0
- package/dist/components/catalyst-ui/core/components/macbook-scroll.tsx +702 -0
- package/dist/components/catalyst-ui/core/components/magic-card.tsx +102 -0
- package/dist/components/catalyst-ui/core/components/message-dock.tsx +61 -0
- package/dist/components/catalyst-ui/core/components/meter.tsx +123 -0
- package/dist/components/catalyst-ui/core/components/number-ticker.tsx +67 -0
- package/dist/components/catalyst-ui/core/components/panel.tsx +286 -0
- package/dist/components/catalyst-ui/core/components/pill-1.tsx +166 -0
- package/dist/components/catalyst-ui/core/components/qrcode.tsx +1153 -0
- package/dist/components/catalyst-ui/core/components/safari-device.tsx +197 -0
- package/dist/components/catalyst-ui/core/components/sliding-number.tsx +235 -0
- package/dist/components/catalyst-ui/core/components/spoiler.tsx +161 -0
- package/dist/components/catalyst-ui/core/components/stat.tsx +572 -0
- package/dist/components/catalyst-ui/core/components/sticky.tsx +214 -0
- package/dist/components/catalyst-ui/core/components/tag.tsx +551 -0
- package/dist/components/catalyst-ui/core/components/tweet-card-1.tsx +164 -0
- package/dist/components/catalyst-ui/core/components/tweet-card.tsx +229 -0
- package/dist/components/catalyst-ui/core/data-display/barcode.tsx +1007 -0
- package/dist/components/catalyst-ui/core/data-display/data-list.tsx +344 -0
- package/dist/components/catalyst-ui/core/data-display/descriptionLists.tsx +205 -0
- package/dist/components/catalyst-ui/core/data-display/diff.tsx +186 -0
- package/dist/components/catalyst-ui/core/data-display/heat-map-calendar.tsx +361 -0
- package/dist/components/catalyst-ui/core/data-display/order-list.tsx +0 -0
- package/dist/components/catalyst-ui/core/data-display/stats-1.tsx +129 -0
- package/dist/components/catalyst-ui/core/data-display/stats.tsx +139 -0
- package/dist/components/catalyst-ui/core/data-display/ticker.tsx +179 -0
- package/dist/components/catalyst-ui/core/data-display/timeline-1.tsx +452 -0
- package/dist/components/catalyst-ui/core/data-display/timeline2.tsx +240 -0
- package/dist/components/catalyst-ui/core/data-display/tracker.tsx +209 -0
- package/dist/components/catalyst-ui/core/data-display/transfer-list.tsx +278 -0
- package/dist/components/catalyst-ui/core/data-display/tremor-tracker.tsx +103 -0
- package/dist/components/catalyst-ui/core/demos/FAQ-demo.tsx +41 -0
- package/dist/components/catalyst-ui/core/demos/action-panels-demo.tsx +64 -0
- package/dist/components/catalyst-ui/core/demos/banner-demo.tsx +100 -0
- package/dist/components/catalyst-ui/core/demos/bentoGrid-demo.tsx +191 -0
- package/dist/components/catalyst-ui/core/demos/blog-demo.tsx +68 -0
- package/dist/components/catalyst-ui/core/demos/blogEditor-demo.tsx +10 -0
- package/dist/components/catalyst-ui/core/demos/blogPost-demo.tsx +41 -0
- package/dist/components/catalyst-ui/core/demos/button-groups-demo.tsx +111 -0
- package/dist/components/catalyst-ui/core/demos/cardHeadings-demo.tsx +65 -0
- package/dist/components/catalyst-ui/core/demos/catch-all.tsx +414 -0
- package/dist/components/catalyst-ui/core/demos/contact-demo.tsx +87 -0
- package/dist/components/catalyst-ui/core/demos/content-demo.tsx +52 -0
- package/dist/components/catalyst-ui/core/demos/cta-demo.tsx +64 -0
- package/dist/components/catalyst-ui/core/demos/descriptionLists-demo.tsx +109 -0
- package/dist/components/catalyst-ui/core/demos/edit-product-page-demo.tsx +11 -0
- package/dist/components/catalyst-ui/core/demos/empty-state-demo.tsx +37 -0
- package/dist/components/catalyst-ui/core/demos/feature-demo.tsx +104 -0
- package/dist/components/catalyst-ui/core/demos/feeds-demo.tsx +26 -0
- package/dist/components/catalyst-ui/core/demos/flyoutMenu-demo.tsx +156 -0
- package/dist/components/catalyst-ui/core/demos/footer-demo.tsx +62 -0
- package/dist/components/catalyst-ui/core/demos/form-layouts-demo.tsx +378 -0
- package/dist/components/catalyst-ui/core/demos/gridLists-demo.tsx +47 -0
- package/dist/components/catalyst-ui/core/demos/header-demo.tsx +0 -0
- package/dist/components/catalyst-ui/core/demos/header2-demo.tsx +77 -0
- package/dist/components/catalyst-ui/core/demos/headers-demo.tsx +659 -0
- package/dist/components/catalyst-ui/core/demos/hero-demo.tsx +75 -0
- package/dist/components/catalyst-ui/core/demos/input-groups-demo.tsx +75 -0
- package/dist/components/catalyst-ui/core/demos/landingPage-demo.tsx +222 -0
- package/dist/components/catalyst-ui/core/demos/list-demo.tsx +442 -0
- package/dist/components/catalyst-ui/core/demos/logoClouds-demo.tsx +36 -0
- package/dist/components/catalyst-ui/core/demos/mediaObject-demo.tsx +219 -0
- package/dist/components/catalyst-ui/core/demos/multiColumnLayouts-demo.tsx +42 -0
- package/dist/components/catalyst-ui/core/demos/newsLetter-demo.tsx +51 -0
- package/dist/components/catalyst-ui/core/demos/pageHeading-demo.tsx +55 -0
- package/dist/components/catalyst-ui/core/demos/pricing-demo.tsx +114 -0
- package/dist/components/catalyst-ui/core/demos/radio-group-demo.tsx +315 -0
- package/dist/components/catalyst-ui/core/demos/settingsScreen-demo.tsx +95 -0
- package/dist/components/catalyst-ui/core/demos/sidebar-demo.tsx +40 -0
- package/dist/components/catalyst-ui/core/demos/stackedLayout-demo.tsx +17 -0
- package/dist/components/catalyst-ui/core/demos/stackedLists-demo.tsx +60 -0
- package/dist/components/catalyst-ui/core/demos/stats-demo.tsx +99 -0
- package/dist/components/catalyst-ui/core/demos/team-demo.tsx +35 -0
- package/dist/components/catalyst-ui/core/demos/testimonial-demo.tsx +33 -0
- package/dist/components/catalyst-ui/core/demos/toggle-demo-demo.tsx +414 -0
- package/dist/components/catalyst-ui/core/feedback/alert-variant.tsx +101 -0
- package/dist/components/catalyst-ui/core/feedback/announcement.tsx +53 -0
- package/dist/components/catalyst-ui/core/feedback/banner-2.tsx +143 -0
- package/dist/components/catalyst-ui/core/feedback/banner.tsx +50 -0
- package/dist/components/catalyst-ui/core/feedback/banner1.tsx +64 -0
- package/dist/components/catalyst-ui/core/feedback/callout.tsx +18 -0
- package/dist/components/catalyst-ui/core/feedback/chat-bubble.tsx +770 -0
- package/dist/components/catalyst-ui/core/feedback/dimmer.tsx +518 -0
- package/dist/components/catalyst-ui/core/feedback/dot-loader.tsx +116 -0
- package/dist/components/catalyst-ui/core/feedback/empty-states.tsx +154 -0
- package/dist/components/catalyst-ui/core/feedback/hero-badge.tsx +90 -0
- package/dist/components/catalyst-ui/core/feedback/indicator.tsx +315 -0
- package/dist/components/catalyst-ui/core/feedback/loading.tsx +11 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-2.tsx +10 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-3.tsx +163 -0
- package/dist/components/catalyst-ui/core/feedback/spinner-4.tsx +276 -0
- package/dist/components/catalyst-ui/core/feedback/spinner.tsx +287 -0
- package/dist/components/catalyst-ui/core/feedback/status.tsx +54 -0
- package/dist/components/catalyst-ui/core/headings/cardHeadings.tsx +215 -0
- package/dist/components/catalyst-ui/core/headings/pageHeading.tsx +300 -0
- package/dist/components/catalyst-ui/core/headings/sectionHeadings.tsx +240 -0
- package/dist/components/catalyst-ui/core/heros/animated-hero.tsx +116 -0
- package/dist/components/catalyst-ui/core/heros/animated-hero1.tsx +108 -0
- package/dist/components/catalyst-ui/core/heros/hero-video-dialog.tsx +150 -0
- package/dist/components/catalyst-ui/core/index.ts +248 -0
- package/dist/components/catalyst-ui/core/layout/absolute-center.tsx +45 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid.tsx +251 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid1.tsx +58 -0
- package/dist/components/catalyst-ui/core/layout/bento-grid2.tsx +107 -0
- package/dist/components/catalyst-ui/core/layout/bento-system.tsx +101 -0
- package/dist/components/catalyst-ui/core/layout/box.tsx +231 -0
- package/dist/components/catalyst-ui/core/layout/card-layout.tsx +312 -0
- package/dist/components/catalyst-ui/core/layout/center.tsx +76 -0
- package/dist/components/catalyst-ui/core/layout/container-demo.tsx +340 -0
- package/dist/components/catalyst-ui/core/layout/container.tsx +280 -0
- package/dist/components/catalyst-ui/core/layout/flexbox-grid.tsx +469 -0
- package/dist/components/catalyst-ui/core/layout/grid.tsx +656 -0
- package/dist/components/catalyst-ui/core/layout/group.tsx +49 -0
- package/dist/components/catalyst-ui/core/layout/list.tsx +665 -0
- package/dist/components/catalyst-ui/core/layout/mediaObject.tsx +254 -0
- package/dist/components/catalyst-ui/core/layout/rail.tsx +175 -0
- package/dist/components/catalyst-ui/core/layout/section.tsx +86 -0
- package/dist/components/catalyst-ui/core/layout/stack.tsx +182 -0
- package/dist/components/catalyst-ui/core/lists/animated-list.tsx +98 -0
- package/dist/components/catalyst-ui/core/lists/feeds.tsx +190 -0
- package/dist/components/catalyst-ui/core/lists/file-tree.tsx +379 -0
- package/dist/components/catalyst-ui/core/lists/gridLists.tsx +212 -0
- package/dist/components/catalyst-ui/core/lists/index.ts +14 -0
- package/dist/components/catalyst-ui/core/lists/list-1.tsx +152 -0
- package/dist/components/catalyst-ui/core/lists/list.tsx +217 -0
- package/dist/components/catalyst-ui/core/lists/list1.tsx +138 -0
- package/dist/components/catalyst-ui/core/lists/pin-list.tsx +191 -0
- package/dist/components/catalyst-ui/core/lists/stackedLists.tsx +149 -0
- package/dist/components/catalyst-ui/core/lists/tables.tsx +615 -0
- package/dist/components/catalyst-ui/core/lists/tree.tsx +194 -0
- package/dist/components/catalyst-ui/core/modules/createEditSchedule.tsx +389 -0
- package/dist/components/catalyst-ui/core/modules/punchClock.tsx +304 -0
- package/dist/components/catalyst-ui/core/modules/schedule.tsx +188 -0
- package/dist/components/catalyst-ui/core/modules/viewPunchClockEntries.tsx +629 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-01.tsx +264 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-02.tsx +498 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-03.tsx +263 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-04.tsx +331 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-05.tsx +400 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-06.tsx +436 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-07.tsx +331 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-08.tsx +418 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-09.tsx +440 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-10.tsx +351 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-11.tsx +444 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/NotificationMenu.tsx +120 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/TeamSwitcher.tsx +87 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/UserMenu.tsx +80 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-12/navbar-12.tsx +230 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-13/UserMenu.tsx +80 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-13/navbar-13.tsx +144 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/InfoMenu.tsx +62 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/NotificationMenu.tsx +122 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/SettingsMenu.tsx +66 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-14/navbar-14.tsx +156 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/DatePicker.tsx +66 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/Filters.tsx +160 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-15/navbar-15.tsx +151 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/AppToggle.tsx +125 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/TeamSwitcher.tsx +87 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-16/navbar-16.tsx +113 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-17.tsx +209 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-18.tsx +243 -0
- package/dist/components/catalyst-ui/core/navbars/navbar-19.tsx +333 -0
- package/dist/components/catalyst-ui/core/navigation/affix.tsx +123 -0
- package/dist/components/catalyst-ui/core/navigation/anchor.tsx +41 -0
- package/dist/components/catalyst-ui/core/navigation/dock-1.tsx +0 -0
- package/dist/components/catalyst-ui/core/navigation/dock-2.tsx +289 -0
- package/dist/components/catalyst-ui/core/navigation/dock.tsx +376 -0
- package/dist/components/catalyst-ui/core/navigation/efab.tsx +245 -0
- package/dist/components/catalyst-ui/core/navigation/fab-menu-component.tsx +299 -0
- package/dist/components/catalyst-ui/core/navigation/fab-menu.tsx +220 -0
- package/dist/components/catalyst-ui/core/navigation/fab.tsx +236 -0
- package/dist/components/catalyst-ui/core/navigation/index.ts +32 -0
- package/dist/components/catalyst-ui/core/navigation/limelight-nav.tsx +110 -0
- package/dist/components/catalyst-ui/core/navigation/mega-menu.tsx +354 -0
- package/dist/components/catalyst-ui/core/navigation/menu-dock.tsx +204 -0
- package/dist/components/catalyst-ui/core/navigation/message-dock.tsx +511 -0
- package/dist/components/catalyst-ui/core/navigation/page-nav.tsx +29 -0
- package/dist/components/catalyst-ui/core/navigation/page-sidebar-nav.tsx +39 -0
- package/dist/components/catalyst-ui/core/navigation/pagination-button.tsx +56 -0
- package/dist/components/catalyst-ui/core/navigation/pagination-wrapper.tsx +152 -0
- package/dist/components/catalyst-ui/core/navigation/panel-menu.tsx +201 -0
- package/dist/components/catalyst-ui/core/navigation/remix-link.tsx +40 -0
- package/dist/components/catalyst-ui/core/navigation/smooth-tab.tsx +412 -0
- package/dist/components/catalyst-ui/core/navigation/speed-dial.tsx +175 -0
- package/dist/components/catalyst-ui/core/navigation/stepper.tsx +290 -0
- package/dist/components/catalyst-ui/core/navigation/steps.tsx +578 -0
- package/dist/components/catalyst-ui/core/navigation/tab-menu.tsx +227 -0
- package/dist/components/catalyst-ui/core/navigation/tab-view.tsx +742 -0
- package/dist/components/catalyst-ui/core/navigation/toolbar-1.tsx +412 -0
- package/dist/components/catalyst-ui/core/navigation/toolbar.tsx +245 -0
- package/dist/components/catalyst-ui/core/sections/changelog-section.tsx +135 -0
- package/dist/components/catalyst-ui/core/sections/config-section.tsx +82 -0
- package/dist/components/catalyst-ui/core/sections/contact.tsx +600 -0
- package/dist/components/catalyst-ui/core/sections/content.tsx +386 -0
- package/dist/components/catalyst-ui/core/sections/layout.tsx +310 -0
- package/dist/components/catalyst-ui/core/sections/note-section.tsx +85 -0
- package/dist/components/catalyst-ui/core/sections/placeholder-code-section.tsx +14 -0
- package/dist/components/catalyst-ui/core/sections/step-number-section.tsx +16 -0
- package/dist/components/catalyst-ui/core/sections/team.tsx +372 -0
- package/dist/components/catalyst-ui/core/sections/useage-no-dash-section.tsx +79 -0
- package/dist/components/catalyst-ui/core/sections/useage-section.tsx +79 -0
- package/dist/components/catalyst-ui/core/shell/app-shell.tsx +321 -0
- package/dist/components/catalyst-ui/core/shell/content-shell.tsx +70 -0
- package/dist/components/catalyst-ui/core/shell/documentation/example.tsx +106 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.config.tsx +200 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.example.tsx +127 -0
- package/dist/components/catalyst-ui/core/shell/documentation/layout.tsx +280 -0
- package/dist/components/catalyst-ui/core/shell/multiColumnLayouts.tsx +364 -0
- package/dist/components/catalyst-ui/core/shell/sidebarLayout.tsx +459 -0
- package/dist/components/catalyst-ui/core/shell/stackedLayout.tsx +323 -0
- package/dist/components/catalyst-ui/core/shell/three-col/app.tsx +193 -0
- package/dist/components/catalyst-ui/core/shell/three-col/content.tsx +358 -0
- package/dist/components/catalyst-ui/core/shell/three-col/header.tsx +222 -0
- package/dist/components/catalyst-ui/core/shell/three-col/layout.tsx +120 -0
- package/dist/components/catalyst-ui/core/shell/three-col/side-navbar.tsx +305 -0
- package/dist/components/catalyst-ui/core/shell/three-col/sidebar.tsx +41 -0
- package/dist/components/catalyst-ui/crm/comp-297.tsx +24 -0
- package/dist/components/catalyst-ui/crm/comp-298.tsx +188 -0
- package/dist/components/catalyst-ui/crm/comp-299.tsx +24 -0
- package/dist/components/catalyst-ui/crm/comp-300.tsx +62 -0
- package/dist/components/catalyst-ui/crm/index.ts +5 -0
- package/dist/components/catalyst-ui/crm/tools/scripts-editor.tsx +3109 -0
- package/dist/components/catalyst-ui/crm/tools/scripts-viewer.tsx +215 -0
- package/dist/components/catalyst-ui/data/bg-data.tsx +901 -0
- package/dist/components/catalyst-ui/data/buttons-data.tsx +2327 -0
- package/dist/components/catalyst-ui/data/charts-data.tsx +102 -0
- package/dist/components/catalyst-ui/data/chat-data.tsx +83 -0
- package/dist/components/catalyst-ui/data/code-data.tsx +1040 -0
- package/dist/components/catalyst-ui/data/comboboxes-data.tsx +1843 -0
- package/dist/components/catalyst-ui/data/command-data.tsx +1381 -0
- package/dist/components/catalyst-ui/data/core-data.tsx +15953 -0
- package/dist/components/catalyst-ui/data/crm-data.tsx +47 -0
- package/dist/components/catalyst-ui/data/data.tsx +159 -0
- package/dist/components/catalyst-ui/data/date-and-time-data.tsx +554 -0
- package/dist/components/catalyst-ui/data/dependencies.tsx +7 -0
- package/dist/components/catalyst-ui/data/ecommerce-data.tsx +1387 -0
- package/dist/components/catalyst-ui/data/forms-data.tsx +7890 -0
- package/dist/components/catalyst-ui/data/hooks-data.tsx +5487 -0
- package/dist/components/catalyst-ui/data/index.ts +34 -0
- package/dist/components/catalyst-ui/data/inputs-data.tsx +557 -0
- package/dist/components/catalyst-ui/data/interactive-data.tsx +5394 -0
- package/dist/components/catalyst-ui/data/lofi-data.tsx +18295 -0
- package/dist/components/catalyst-ui/data/marketing-data.tsx +2546 -0
- package/dist/components/catalyst-ui/data/media-data.tsx +1510 -0
- package/dist/components/catalyst-ui/data/motion-data.tsx +5801 -0
- package/dist/components/catalyst-ui/data/overlay-data.tsx +4136 -0
- package/dist/components/catalyst-ui/data/pdf-data.tsx +124 -0
- package/dist/components/catalyst-ui/data/pos-data.tsx +213 -0
- package/dist/components/catalyst-ui/data/primitive-data.tsx +5170 -0
- package/dist/components/catalyst-ui/data/prompt-data.tsx +1226 -0
- package/dist/components/catalyst-ui/data/requiredLibs.ts +4 -0
- package/dist/components/catalyst-ui/data/sandbox-data.tsx +1 -0
- package/dist/components/catalyst-ui/data/sidebars-data.tsx +5421 -0
- package/dist/components/catalyst-ui/data/stacks-data.tsx +32 -0
- package/dist/components/catalyst-ui/data/table-data.tsx +706 -0
- package/dist/components/catalyst-ui/data/tools-data.tsx +6910 -0
- package/dist/components/catalyst-ui/data/typography-data.tsx +2050 -0
- package/dist/components/catalyst-ui/data/utils-data.tsx +6500 -0
- package/dist/components/catalyst-ui/data/x-data.tsx +1171 -0
- package/dist/components/catalyst-ui/data2.tsx +158 -0
- package/dist/components/catalyst-ui/date-and-time/appointment-scheduler.tsx +381 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-2.tsx +498 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-for-sidebar.tsx +68 -0
- package/dist/components/catalyst-ui/date-and-time/calendar-rac.tsx +112 -0
- package/dist/components/catalyst-ui/date-and-time/date-picker-input.tsx +76 -0
- package/dist/components/catalyst-ui/date-and-time/date-picker.tsx +64 -0
- package/dist/components/catalyst-ui/date-and-time/date-range-picker-input.tsx +84 -0
- package/dist/components/catalyst-ui/date-and-time/date-range-picker.tsx +125 -0
- package/dist/components/catalyst-ui/date-and-time/datefield-rac.tsx +88 -0
- package/dist/components/catalyst-ui/date-and-time/docked-date-picker.tsx +267 -0
- package/dist/components/catalyst-ui/date-and-time/drawerDatePicker.tsx +50 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/agenda-view.tsx +90 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/calendar-dnd-context.tsx +373 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/constants.ts +18 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/day-view.tsx +322 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/demo.tsx +162 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/draggable-event.tsx +141 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/droppable-cell.tsx +57 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-calendar.tsx +400 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-dialog.tsx +467 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/event-item.tsx +262 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/events-popup.tsx +135 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/hooks/use-current-time-indicator.ts +57 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/hooks/use-event-visibility.ts +86 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/index.ts +23 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/month-view.tsx +276 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/types.ts +20 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/utils.ts +153 -0
- package/dist/components/catalyst-ui/date-and-time/event-calendar/week-view.tsx +406 -0
- package/dist/components/catalyst-ui/date-and-time/index.ts +74 -0
- package/dist/components/catalyst-ui/date-and-time/mini-calendar.tsx +230 -0
- package/dist/components/catalyst-ui/date-and-time/modal-date-input.tsx +229 -0
- package/dist/components/catalyst-ui/date-and-time/popover-date-input.tsx +233 -0
- package/dist/components/catalyst-ui/date-and-time/relative-time.tsx +181 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker-dial.tsx +368 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker-input.tsx +385 -0
- package/dist/components/catalyst-ui/date-and-time/time-picker.tsx +514 -0
- package/dist/components/catalyst-ui/demo/examples.tsx +10069 -0
- package/dist/components/catalyst-ui/demo/examples2.tsx +10954 -0
- package/dist/components/catalyst-ui/demo/index.ts +5 -0
- package/dist/components/catalyst-ui/ecommerce/components/categoryFilters.tsx +302 -0
- package/dist/components/catalyst-ui/ecommerce/components/categoryPreviews.tsx +464 -0
- package/dist/components/catalyst-ui/ecommerce/components/checkoutForms.tsx +991 -0
- package/dist/components/catalyst-ui/ecommerce/components/incentives.tsx +529 -0
- package/dist/components/catalyst-ui/ecommerce/components/orderHistory.tsx +380 -0
- package/dist/components/catalyst-ui/ecommerce/components/orderSummaries.tsx +482 -0
- package/dist/components/catalyst-ui/ecommerce/components/productCard.tsx +84 -0
- package/dist/components/catalyst-ui/ecommerce/components/productCard2.tsx +82 -0
- package/dist/components/catalyst-ui/ecommerce/components/productFeatures.tsx +764 -0
- package/dist/components/catalyst-ui/ecommerce/components/productLists.tsx +472 -0
- package/dist/components/catalyst-ui/ecommerce/components/productOverview.tsx +856 -0
- package/dist/components/catalyst-ui/ecommerce/components/productQuickViews.tsx +378 -0
- package/dist/components/catalyst-ui/ecommerce/components/promoSectionts.tsx +414 -0
- package/dist/components/catalyst-ui/ecommerce/components/reviews.tsx +274 -0
- package/dist/components/catalyst-ui/ecommerce/components/shoppingCarts.tsx +508 -0
- package/dist/components/catalyst-ui/ecommerce/components/storeNavigation.tsx +255 -0
- package/dist/components/catalyst-ui/ecommerce/demo/categoryFilters-demo.tsx +140 -0
- package/dist/components/catalyst-ui/ecommerce/demo/categoryPreviews-demo.tsx +252 -0
- package/dist/components/catalyst-ui/ecommerce/demo/checkoutForms-demo.tsx +76 -0
- package/dist/components/catalyst-ui/ecommerce/demo/editProductPage-data2.tsx +34 -0
- package/dist/components/catalyst-ui/ecommerce/demo/editProductPage-demo.tsx +10 -0
- package/dist/components/catalyst-ui/ecommerce/demo/incentives-demo.tsx +172 -0
- package/dist/components/catalyst-ui/ecommerce/demo/orderHistory-demo.tsx +81 -0
- package/dist/components/catalyst-ui/ecommerce/demo/orderSummaries-demo.tsx +98 -0
- package/dist/components/catalyst-ui/ecommerce/demo/pricingPage-demo.tsx +105 -0
- package/dist/components/catalyst-ui/ecommerce/demo/product.$id-demo.tsx +98 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productCard-demo.tsx +308 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productFeatures-demo.tsx +57 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productLists-demo.tsx +130 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productOverview-demo.tsx +328 -0
- package/dist/components/catalyst-ui/ecommerce/demo/productQuickViews-demo.tsx +242 -0
- package/dist/components/catalyst-ui/ecommerce/demo/promoSectionts-demo.tsx +169 -0
- package/dist/components/catalyst-ui/ecommerce/demo/reviews-demo.tsx +45 -0
- package/dist/components/catalyst-ui/ecommerce/demo/shoppingCarts-demo.tsx +73 -0
- package/dist/components/catalyst-ui/ecommerce/demo/store-demo.tsx +88 -0
- package/dist/components/catalyst-ui/ecommerce/demo/storeNavigation-demo.tsx +171 -0
- package/dist/components/catalyst-ui/ecommerce/index.ts +55 -0
- package/dist/components/catalyst-ui/ecommerce/modules/cash-drawer-wizard.tsx +1400 -0
- package/dist/components/catalyst-ui/ecommerce/modules/cash-till-manager.tsx +639 -0
- package/dist/components/catalyst-ui/ecommerce/modules/promotionEngine.ts +341 -0
- package/dist/components/catalyst-ui/ecommerce/modules/promotionsManager.tsx +840 -0
- package/dist/components/catalyst-ui/forms/action-bar-1.tsx +192 -0
- package/dist/components/catalyst-ui/forms/action-bar.tsx +154 -0
- package/dist/components/catalyst-ui/forms/action-panels.tsx +153 -0
- package/dist/components/catalyst-ui/forms/action-search-bar.tsx +268 -0
- package/dist/components/catalyst-ui/forms/auto-resizing-textarea.tsx +36 -0
- package/dist/components/catalyst-ui/forms/cascade-tree.tsx +224 -0
- package/dist/components/catalyst-ui/forms/cascader.tsx +219 -0
- package/dist/components/catalyst-ui/forms/check-tree-picker.tsx +330 -0
- package/dist/components/catalyst-ui/forms/check-tree.tsx +348 -0
- package/dist/components/catalyst-ui/forms/checkbox-1.tsx +48 -0
- package/dist/components/catalyst-ui/forms/checkbox-card-1.tsx +64 -0
- package/dist/components/catalyst-ui/forms/checkbox-card.tsx +145 -0
- package/dist/components/catalyst-ui/forms/checkbox-multistate.tsx +97 -0
- package/dist/components/catalyst-ui/forms/checkbox-tristate.tsx +158 -0
- package/dist/components/catalyst-ui/forms/color-picker-1.tsx +299 -0
- package/dist/components/catalyst-ui/forms/color-picker-3.tsx +487 -0
- package/dist/components/catalyst-ui/forms/color-picker.tsx +251 -0
- package/dist/components/catalyst-ui/forms/credit-card-input.tsx +284 -0
- package/dist/components/catalyst-ui/forms/debounced-input.tsx +21 -0
- package/dist/components/catalyst-ui/forms/fancy-area.tsx +571 -0
- package/dist/components/catalyst-ui/forms/fieldset.tsx +107 -0
- package/dist/components/catalyst-ui/forms/float-label.tsx +66 -0
- package/dist/components/catalyst-ui/forms/floating-label.tsx +138 -0
- package/dist/components/catalyst-ui/forms/form-wizard.tsx +787 -0
- package/dist/components/catalyst-ui/forms/fuse-search-input.tsx +293 -0
- package/dist/components/catalyst-ui/forms/fuzzy-filter.tsx +17 -0
- package/dist/components/catalyst-ui/forms/fuzzy-sort.tsx +17 -0
- package/dist/components/catalyst-ui/forms/icon-field.tsx +51 -0
- package/dist/components/catalyst-ui/forms/index.ts +58 -0
- package/dist/components/catalyst-ui/forms/inline-edit.tsx +108 -0
- package/dist/components/catalyst-ui/forms/inplace.tsx +174 -0
- package/dist/components/catalyst-ui/forms/input-icon.tsx +39 -0
- package/dist/components/catalyst-ui/forms/input-mask.tsx +216 -0
- package/dist/components/catalyst-ui/forms/input-text.tsx +52 -0
- package/dist/components/catalyst-ui/forms/json-input.tsx +261 -0
- package/dist/components/catalyst-ui/forms/key-filter.tsx +238 -0
- package/dist/components/catalyst-ui/forms/label-variant.tsx +53 -0
- package/dist/components/catalyst-ui/forms/listbox.tsx +118 -0
- package/dist/components/catalyst-ui/forms/multi-cascade-tree.tsx +586 -0
- package/dist/components/catalyst-ui/forms/multi-cascader.tsx +429 -0
- package/dist/components/catalyst-ui/forms/multi-select.tsx +161 -0
- package/dist/components/catalyst-ui/forms/password-input.tsx +54 -0
- package/dist/components/catalyst-ui/forms/pills-input.tsx +133 -0
- package/dist/components/catalyst-ui/forms/pin-input.tsx +354 -0
- package/dist/components/catalyst-ui/forms/profile-dropdown.tsx +219 -0
- package/dist/components/catalyst-ui/forms/radio-tile.tsx +245 -0
- package/dist/components/catalyst-ui/forms/rating-2.tsx +140 -0
- package/dist/components/catalyst-ui/forms/search-input.tsx +49 -0
- package/dist/components/catalyst-ui/forms/select-button.tsx +155 -0
- package/dist/components/catalyst-ui/forms/step-form-wizard.tsx +877 -0
- package/dist/components/catalyst-ui/forms/tags-input-1.tsx +457 -0
- package/dist/components/catalyst-ui/forms/textarea-2.tsx +36 -0
- package/dist/components/catalyst-ui/forms/tree-picker.tsx +295 -0
- package/dist/components/catalyst-ui/hooks/demo.tsx +2757 -0
- package/dist/components/catalyst-ui/hooks/index.ts +106 -0
- package/dist/components/catalyst-ui/hooks/react-hook-docs.tsx +608 -0
- package/dist/components/catalyst-ui/hooks/use-api-key.tsx +151 -0
- package/dist/components/catalyst-ui/hooks/use-async.tsx +36 -0
- package/dist/components/catalyst-ui/hooks/use-auto-scroll.tsx +139 -0
- package/dist/components/catalyst-ui/hooks/use-breakpoint.tsx +21 -0
- package/dist/components/catalyst-ui/hooks/use-character-limit.tsx +37 -0
- package/dist/components/catalyst-ui/hooks/use-click-outside.tsx +27 -0
- package/dist/components/catalyst-ui/hooks/use-client.tsx +30 -0
- package/dist/components/catalyst-ui/hooks/use-color-theme.tsx +4933 -0
- package/dist/components/catalyst-ui/hooks/use-color-wheel.tsx +905 -0
- package/dist/components/catalyst-ui/hooks/use-current-time-indicator.tsx +65 -0
- package/dist/components/catalyst-ui/hooks/use-debounce-fetcher.tsx +56 -0
- package/dist/components/catalyst-ui/hooks/use-debounce-submit.tsx +45 -0
- package/dist/components/catalyst-ui/hooks/use-debounce.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-debounced-fuse-search.tsx +168 -0
- package/dist/components/catalyst-ui/hooks/use-delegated-anchors.tsx +87 -0
- package/dist/components/catalyst-ui/hooks/use-document-title.tsx +14 -0
- package/dist/components/catalyst-ui/hooks/use-event-callback.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-event-source.tsx +69 -0
- package/dist/components/catalyst-ui/hooks/use-event-visibility.tsx +72 -0
- package/dist/components/catalyst-ui/hooks/use-expandable.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-export-markdown-usage.tsx +92 -0
- package/dist/components/catalyst-ui/hooks/use-export-tsx.tsx +50 -0
- package/dist/components/catalyst-ui/hooks/use-external-scripts.tsx +44 -0
- package/dist/components/catalyst-ui/hooks/use-favicon.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-fetch.tsx +64 -0
- package/dist/components/catalyst-ui/hooks/use-file-upload.tsx +405 -0
- package/dist/components/catalyst-ui/hooks/use-focus-within.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-form.tsx +86 -0
- package/dist/components/catalyst-ui/hooks/use-fuse-search.tsx +155 -0
- package/dist/components/catalyst-ui/hooks/use-fuzzy-search.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-global-loading-state.tsx +7 -0
- package/dist/components/catalyst-ui/hooks/use-global-navigation-state.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-global-pending-state.tsx +10 -0
- package/dist/components/catalyst-ui/hooks/use-global-submitting-state.tsx +7 -0
- package/dist/components/catalyst-ui/hooks/use-google-font.tsx +39 -0
- package/dist/components/catalyst-ui/hooks/use-hover.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-hydrated.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-intersection-observer.tsx +28 -0
- package/dist/components/catalyst-ui/hooks/use-isomorphic-layout-effect.tsx +9 -0
- package/dist/components/catalyst-ui/hooks/use-key-press.tsx +30 -0
- package/dist/components/catalyst-ui/hooks/use-keyboard-shortcut.tsx +69 -0
- package/dist/components/catalyst-ui/hooks/use-keyboard.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-local-storage-auto-save.tsx +24 -0
- package/dist/components/catalyst-ui/hooks/use-local-storage.tsx +32 -0
- package/dist/components/catalyst-ui/hooks/use-locales.tsx +40 -0
- package/dist/components/catalyst-ui/hooks/use-long-press.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-markdown-batches.tsx +120 -0
- package/dist/components/catalyst-ui/hooks/use-markdown-to-html.tsx +42 -0
- package/dist/components/catalyst-ui/hooks/use-mount-effect.tsx +5 -0
- package/dist/components/catalyst-ui/hooks/use-mounted.tsx +11 -0
- package/dist/components/catalyst-ui/hooks/use-mouse-enter.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-move.tsx +16 -0
- package/dist/components/catalyst-ui/hooks/use-mutation-observer-useage.tsx +96 -0
- package/dist/components/catalyst-ui/hooks/use-mutation-observer.tsx +117 -0
- package/dist/components/catalyst-ui/hooks/use-on-click-outside.tsx +38 -0
- package/dist/components/catalyst-ui/hooks/use-online-status.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-outside-click.tsx +25 -0
- package/dist/components/catalyst-ui/hooks/use-overlay-listener.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-overlay-scroll-listener.tsx +128 -0
- package/dist/components/catalyst-ui/hooks/use-pagination.tsx +68 -0
- package/dist/components/catalyst-ui/hooks/use-press.tsx +17 -0
- package/dist/components/catalyst-ui/hooks/use-previous.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-read-local-storage.tsx +73 -0
- package/dist/components/catalyst-ui/hooks/use-reducer.tsx +0 -0
- package/dist/components/catalyst-ui/hooks/use-resize-listener.tsx +18 -0
- package/dist/components/catalyst-ui/hooks/use-screen.tsx +100 -0
- package/dist/components/catalyst-ui/hooks/use-script.tsx +102 -0
- package/dist/components/catalyst-ui/hooks/use-scroll-lock.tsx +91 -0
- package/dist/components/catalyst-ui/hooks/use-scroll-position.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/use-sec-fetch-parser.tsx +52 -0
- package/dist/components/catalyst-ui/hooks/use-session-storage.tsx +31 -0
- package/dist/components/catalyst-ui/hooks/use-should-hydrate.tsx +27 -0
- package/dist/components/catalyst-ui/hooks/use-slide-in-1.tsx +96 -0
- package/dist/components/catalyst-ui/hooks/use-slide-in.tsx +368 -0
- package/dist/components/catalyst-ui/hooks/use-slider-with-input.tsx +106 -0
- package/dist/components/catalyst-ui/hooks/use-smooth-scroll.tsx +35 -0
- package/dist/components/catalyst-ui/hooks/use-stream.tsx +576 -0
- package/dist/components/catalyst-ui/hooks/use-tailwind-converter.tsx +465 -0
- package/dist/components/catalyst-ui/hooks/use-throttle.tsx +22 -0
- package/dist/components/catalyst-ui/hooks/use-transition.tsx +0 -0
- package/dist/components/catalyst-ui/hooks/use-unmount-effect.tsx +15 -0
- package/dist/components/catalyst-ui/hooks/use-update-effect.tsx +13 -0
- package/dist/components/catalyst-ui/hooks/use-validate-credit-card.tsx +112 -0
- package/dist/components/catalyst-ui/hooks/use-window-size.tsx +23 -0
- package/dist/components/catalyst-ui/hooks/useDevList.tsx +185 -0
- package/dist/components/catalyst-ui/hooks/useOnWindowResize.tsx +15 -0
- package/dist/components/catalyst-ui/index.ts +38 -0
- package/dist/components/catalyst-ui/inputs/autocomplete.tsx +569 -0
- package/dist/components/catalyst-ui/inputs/autocomplete1.tsx +323 -0
- package/dist/components/catalyst-ui/inputs/cc-input.tsx +44 -0
- package/dist/components/catalyst-ui/inputs/email-address-input.tsx +17 -0
- package/dist/components/catalyst-ui/inputs/index.ts +30 -0
- package/dist/components/catalyst-ui/inputs/input-with-characters-left.tsx +41 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-add-on.tsx +25 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-button.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-icon-button.tsx +29 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-inline-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-inline-button.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-end-select.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inline-add-ons.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inline-start-and-end-add-on.tsx +27 -0
- package/dist/components/catalyst-ui/inputs/input-with-inner-tags.tsx +60 -0
- package/dist/components/catalyst-ui/inputs/input-with-inset-label.tsx +23 -0
- package/dist/components/catalyst-ui/inputs/input-with-mask.tsx +44 -0
- package/dist/components/catalyst-ui/inputs/input-with-password-strength-indicator.tsx +137 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-inline-add-on.tsx +24 -0
- package/dist/components/catalyst-ui/inputs/input-with-start-select.tsx +30 -0
- package/dist/components/catalyst-ui/inputs/input-with-tags.tsx +72 -0
- package/dist/components/catalyst-ui/inputs/number-input-with-chevrons.tsx +61 -0
- package/dist/components/catalyst-ui/inputs/number-input-with-plus-minus-buttons.tsx +52 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-icon-and-button.tsx +32 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-kbd.tsx +26 -0
- package/dist/components/catalyst-ui/inputs/search-input-with-loader.tsx +59 -0
- package/dist/components/catalyst-ui/interactive/3d-pin.tsx +175 -0
- package/dist/components/catalyst-ui/interactive/action-sheet.tsx +240 -0
- package/dist/components/catalyst-ui/interactive/activity-card.tsx +196 -0
- package/dist/components/catalyst-ui/interactive/ai-prompt.tsx +441 -0
- package/dist/components/catalyst-ui/interactive/animated-cursor.tsx +254 -0
- package/dist/components/catalyst-ui/interactive/background-paths.tsx +172 -0
- package/dist/components/catalyst-ui/interactive/can-edit.tsx +100 -0
- package/dist/components/catalyst-ui/interactive/color-swatch.tsx +441 -0
- package/dist/components/catalyst-ui/interactive/currency-transfer.tsx +228 -0
- package/dist/components/catalyst-ui/interactive/cursor.tsx +109 -0
- package/dist/components/catalyst-ui/interactive/drag-and-drop.tsx +374 -0
- package/dist/components/catalyst-ui/interactive/drawing-2.tsx +1147 -0
- package/dist/components/catalyst-ui/interactive/drawing.tsx +576 -0
- package/dist/components/catalyst-ui/interactive/drop-zone-external.tsx +377 -0
- package/dist/components/catalyst-ui/interactive/drop-zone.tsx +399 -0
- package/dist/components/catalyst-ui/interactive/dropzone-1.tsx +259 -0
- package/dist/components/catalyst-ui/interactive/export-excel.tsx +201 -0
- package/dist/components/catalyst-ui/interactive/file-upload.tsx +403 -0
- package/dist/components/catalyst-ui/interactive/file_upload-1.tsx +422 -0
- package/dist/components/catalyst-ui/interactive/filesaver.tsx +51 -0
- package/dist/components/catalyst-ui/interactive/gantt-1.tsx +1464 -0
- package/dist/components/catalyst-ui/interactive/highlight.tsx +84 -0
- package/dist/components/catalyst-ui/interactive/index.ts +49 -0
- package/dist/components/catalyst-ui/interactive/kanban-1.tsx +338 -0
- package/dist/components/catalyst-ui/interactive/lens.tsx +121 -0
- package/dist/components/catalyst-ui/interactive/magnetic.tsx +105 -0
- package/dist/components/catalyst-ui/interactive/mouse-effect-card.tsx +158 -0
- package/dist/components/catalyst-ui/interactive/pdf-generator.tsx +414 -0
- package/dist/components/catalyst-ui/interactive/pdf-signature.tsx +623 -0
- package/dist/components/catalyst-ui/interactive/pdf-viewer.tsx +931 -0
- package/dist/components/catalyst-ui/interactive/pointer.tsx +108 -0
- package/dist/components/catalyst-ui/interactive/ripple.tsx +103 -0
- package/dist/components/catalyst-ui/interactive/scroll-based-velocity.tsx +205 -0
- package/dist/components/catalyst-ui/interactive/signature.tsx +606 -0
- package/dist/components/catalyst-ui/interactive/smooth-cursor.tsx +236 -0
- package/dist/components/catalyst-ui/interactive/sortable.tsx +420 -0
- package/dist/components/catalyst-ui/interactive/spreadsheet.tsx +601 -0
- package/dist/components/catalyst-ui/interactive/task-board.tsx +902 -0
- package/dist/components/catalyst-ui/interactive/terminal.tsx +587 -0
- package/dist/components/catalyst-ui/interactive/tour-1.tsx +426 -0
- package/dist/components/catalyst-ui/interactive/tour.tsx +830 -0
- package/dist/components/catalyst-ui/interactive/transition.tsx +913 -0
- package/dist/components/catalyst-ui/interactive/transitionable-portal.tsx +0 -0
- package/dist/components/catalyst-ui/interactive/tree-view.tsx +427 -0
- package/dist/components/catalyst-ui/interactive/virtualizer.tsx +233 -0
- package/dist/components/catalyst-ui/interactive/watermark.tsx +211 -0
- package/dist/components/catalyst-ui/lo-fi/components/AboutPageLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/ActionPanelLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/AnchorLoFi-lofi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonGroupLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonIconLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonLinkLoFi.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/ButtonLoadingLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalendarForSidebarLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalendarMultiDayLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/CalloutLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/Chart.tsx +239 -0
- package/dist/components/catalyst-ui/lo-fi/components/ContainerLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/CopyTextLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/DebouncedInputLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/DescriptionListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/EditorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/EmptyStateLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/ErrorPageLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/ExportFileLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/FlyoutMenuLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/FormLayoutLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/HeroCalendar.tsx +115 -0
- package/dist/components/catalyst-ui/lo-fi/components/HeroLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/ListLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/LoadingLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/LogoCloudLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/MediaObjectLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/MultiColumnLayoutLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/NavButtonLoFi.tsx +6 -0
- package/dist/components/catalyst-ui/lo-fi/components/NavButtonStyledLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/ScaffoldingLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/SectionHeadingLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/VerticalNavigationLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/accordion-lofi.tsx +76 -0
- package/dist/components/catalyst-ui/lo-fi/components/accountForm-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/alert-lofi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/components/alertDialog-lofi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/announcement-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/aspectRatio-lofi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/authenticator-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/avatar-lofi.tsx +6 -0
- package/dist/components/catalyst-ui/lo-fi/components/badge-lofi.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/banner.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/bento-grid.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/blog.tsx +37 -0
- package/dist/components/catalyst-ui/lo-fi/components/breadcrumb.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/button.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/card-header.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/card-heading.tsx +30 -0
- package/dist/components/catalyst-ui/lo-fi/components/card.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/carousel.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/cart.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/catchAll.tsx +660 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryFilter.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryPage.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/categoryPreviews.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkbox.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkout-form.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkout.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/checkoutPage.tsx +67 -0
- package/dist/components/catalyst-ui/lo-fi/components/clientOnly.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/collapsible.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/columns.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/combobox.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/contact-section.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/components/content-section.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/cookieSettings.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/cta-section.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/data.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/dataTable.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/datePicker.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/details.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/dialog.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/display-code.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/dropdown.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/dropdownMenu.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/faq-section.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/components/feature-section.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/components/feature.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/feedList.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/footer.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/components/form.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/fourofour.tsx +42 -0
- package/dist/components/catalyst-ui/lo-fi/components/gridLists.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/header.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/hero.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/homeScreen.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/hooks.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/components/hoverCard.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/icons.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/components/image.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/incentives.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/index.ts +152 -0
- package/dist/components/catalyst-ui/lo-fi/components/input.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/label.tsx +5 -0
- package/dist/components/catalyst-ui/lo-fi/components/landingPage.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/loadingPage.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/menubar.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/motherboard-blog.tsx +178 -0
- package/dist/components/catalyst-ui/lo-fi/components/motherboard.tsx +91 -0
- package/dist/components/catalyst-ui/lo-fi/components/newsletter.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/components/notifications.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderDetails.tsx +51 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderHistory.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/orderSumaries.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/pageHeading.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/components/pageNav.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/components/pagination.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/paymentMethod.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/components/pricing.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/components/pricingPage.tsx +47 -0
- package/dist/components/catalyst-ui/lo-fi/components/prisma.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/components/product-card.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/product-gallery.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/productList.tsx +41 -0
- package/dist/components/catalyst-ui/lo-fi/components/productOverview.tsx +62 -0
- package/dist/components/catalyst-ui/lo-fi/components/productsFeatured.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/components/progress.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/components/promo.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/components/radioGroup.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/reportIssue.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/review.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/components/reviews.tsx +60 -0
- package/dist/components/catalyst-ui/lo-fi/components/sales-lofi.tsx +257 -0
- package/dist/components/catalyst-ui/lo-fi/components/scaffolding.tsx +46 -0
- package/dist/components/catalyst-ui/lo-fi/components/scrollBar.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/components/select.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/settings.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/components/shoppingCart.tsx +52 -0
- package/dist/components/catalyst-ui/lo-fi/components/sidebar.tsx +38 -0
- package/dist/components/catalyst-ui/lo-fi/components/skeleton.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/components/slider.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/components/stacked-lofi.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/components/stacked.tsx +52 -0
- package/dist/components/catalyst-ui/lo-fi/components/stats.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/components/storeFront.tsx +65 -0
- package/dist/components/catalyst-ui/lo-fi/components/storeNav.tsx +37 -0
- package/dist/components/catalyst-ui/lo-fi/components/switch.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/components/tabs.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/components/tailwind.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/components/team.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/team2.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/components/templatePage.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/components/testimonial.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/components/testtimonial.tsx +35 -0
- package/dist/components/catalyst-ui/lo-fi/components/textarea.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/components/toast.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/components/toggle.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/tooltip.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/components/useHydrated.tsx +38 -0
- package/dist/components/catalyst-ui/lo-fi/index.ts +528 -0
- package/dist/components/catalyst-ui/lo-fi/utils/atom.tsx +30 -0
- package/dist/components/catalyst-ui/lo-fi/utils/component.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AIPromptLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AboutLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AccessLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AccountLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ActivityGoalLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AiChatLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AlertV1LoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AspectRatioLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AuthProviderLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AuthSystemLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/AutoCompleteV2LoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BankLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BarcodeLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BasicAuthMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BatcherMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlocksLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogEditorLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogListLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BlogSidebarLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/BoxLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CORSMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CSSLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CalendarLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CallOutLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CarServiceLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CardsLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CarouselHeroLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoriesNavigationLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSectionCenteredLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSectionLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CategoryFiltersSidebarLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ChatBubbleLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ChatLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckboxMultistateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckboxTristateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutCancelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutSuccessLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CheckoutVariousLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ClientOnlyLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CnLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CodeSectionLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CollapsesToIconsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CollapsibleFileTreeLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ConfigSectionLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ConfirmPopupLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContactLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContainerLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ContextStorageMiddlewareLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CookieSettingsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CoreLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/CreateAccountLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DashboardLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DashboardSidebarLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DebouncedFetcherAndSubmitLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DebouncedInputLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DefaultStyledLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DeferredContentLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DelegateAnchorsToRemixLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DetailLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DeviceMockupLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DiffLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DisplayCodeLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DockLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DragAndDropLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawerLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawingLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DrawingV2LoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/DropZoneLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ECommerceLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmbedLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmblaCarouselLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EmblaCarouselSnapLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/EnhancedChartLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ErrorLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ExerciseMinutesLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FABLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FaqLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FeatureSectionLoFi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FeedLoFi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FileManagerLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterComboboxLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterDrawerLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FilterTanStackTableLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FixedMarkerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FlexboxGridLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FloatingSidebarWithSubmenusLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ForLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ForgotPasswordLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FormsLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/Four04LoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FunctionalLeftRightSidebarLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuseSearchInputLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuzzyFilterLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/FuzzySortLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GalleriaLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GnattChartLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/GridLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H3LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H4LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/H5LoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HeaderNavLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HelpLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HighlightLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HighlightV1LoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HomeLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/HoneypotMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IBLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ILoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ImageLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ImageSectionLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InADialogLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IncIdLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IncentivesCardLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/IndicatorLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InsetSidebarSecondaryNavLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InsufficientPermissionsLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/InvoiceLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/JWKAuthMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LandingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LayoutLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadErrorPageLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingOverlayLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoadingPageLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/LoginLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MailLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MarketingLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MegaMenuLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MenuLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MessageLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MeterLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MobileNavLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ModalIntegrationsLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ModalV1LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/MusicLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavMainLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavProjectsLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavTreeViewLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NavUserLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedComboboxLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedCommandDialogLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NestedCommandLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NotFoundLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NoteSectionLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/NotificationLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OnTheRightLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderListLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderSummaryLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OrderedListLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OtpLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/OverlayPanelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PDFGeneratorLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PMLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PageHeaderLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PageHeadingsSectionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaginationButtonLoFi.tsx +8 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaginationWrapperLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PanelLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PanelMenuLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PasswordInputLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentFormLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentMethodLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PaymentsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PdfSignatureLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PdfViewerLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PlaceholderCodeLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PlaygroundLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PopconfirmLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PrefetchAnchorsLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/PrismaClientExtensionLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductCategoryLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductComparisonLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductDetailsLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductEditLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductPricingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProductsLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileCreateLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileListLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProfileLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProgressLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ProseLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QRCodeLoFi.tsx +43 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QaDiscussionLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/QaForumLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RailLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RatingLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReactHooksDocsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReceiptLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RedirectBadRequestsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RegisterLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RemixAuthLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RemixLinkLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ReportIssueLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RequestIDMiddlewareLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ResetPasswordLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ResponsiveLinkLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/RightSidebarLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SaasLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SchedulerLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ScrolltopLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SecFetchParserLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SecureHeadersMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ServerTimingMiddlewareLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ServiceRepairFormLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SessionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SettingsLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ShareLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/Sidebar24LoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarAgnosticLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarDetailsLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarInAPopoverLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarNavLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarReactRouterLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarStylisticDefaultLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarStylisticDefaultWRightLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SidebarWithSubmenusLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SignUpLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SignatureLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SingletonMiddlewareLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SiteHeaderLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SmallTableLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpeedDialLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpinLoFi.tsx +7 -0
- package/dist/components/catalyst-ui/lo-fi/v2/SpinnerLoFi.tsx +9 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackedListsLoFi.tsx +50 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StackedLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StateChangeLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StatsLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StatusLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StepsLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StoreFrontLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StoreNavSectionLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StripeLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/StyleProviderLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableV1LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TSTableV2LoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TabViewLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TableLoFi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TagLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TailwindcssTxtLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TaskListLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TaskboardLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TasksLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TeamMembersLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TerminalLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TextEditorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ThemeSelectorLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TicketsLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TimelineLoFi.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TimelineV1LoFi.tsx +36 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TitleSectionLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToDoLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToggleClassLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/ToolbarLoFi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TourLoFi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TransitionLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TransitionablePortalLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TravelLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/TreeViewLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UnderConstructionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsageSectionLoFi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsageSectionNoDashLoFi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseAsyncLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseClickOutsideLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseCopyToClipboardLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseCounterLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseDebounceLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseDebouncedFuseSearchLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseEventListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExportMarkdownLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExportTsxLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseExternalScriptsLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFaviconLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFetchLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFocusLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFocusWithinLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFormLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFuseSearchLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseFuzzySearchLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalLoadingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalNavigationStateLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalPendingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseGlobalSubmittingStateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseHoverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseIntersectionObserverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseIntervalLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseKeyPressLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseKeyboardLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLocalStorageLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLocalesLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseLongPressLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMediaQueryLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMobileLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMountEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMountedLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMoveLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseMutationObserverLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOnlineStatusLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOverlayListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseOverlayScrollListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsePressLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UsePreviousLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseResizeListenerLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseScrollPositionLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseSessionStorageLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseShouldHydrateLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseSlideInLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseStreamLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseThrottleLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseTimeoutLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseToggleLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseUnmountEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseUpdateEffectLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UseWindowSizeLoFi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserBasedAccessRulesLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/UserOnboardingLoFi.tsx +12 -0
- package/dist/components/catalyst-ui/lo-fi/v2/VerificationLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/VirtualizerLoFi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WatermarkLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithACalendarLoFi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithAShoppingCartLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithATreeViewLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleNestedSidebarsLoFi.tsx +22 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleSectionsLoFi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCollapsibleSubmenusLoFi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithCookieMiddlewareLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithInitialLoadingStateLoFi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithLoadingNavStateChangesLoFi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithNavigationGroupedBySectionLoFi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/WithSubmenusAsDropdownsLoFi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/action-bar-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/block-quote-lofi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/calendar-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/cascade-tree-lofi.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/v2/cascader-lofi.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/v2/changelog-lofi.tsx +14 -0
- package/dist/components/catalyst-ui/lo-fi/v2/check-tree-lofi.tsx +27 -0
- package/dist/components/catalyst-ui/lo-fi/v2/check-tree-picker-lofi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/checkbox-card-v1-lofi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/checkbox-v1-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/client-only-mermaid-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/color-picker-lofi.tsx +24 -0
- package/dist/components/catalyst-ui/lo-fi/v2/combobox-v1-lofi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/credit-card-input-lofi.tsx +32 -0
- package/dist/components/catalyst-ui/lo-fi/v2/floating-label-lofi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/form-wizard-lofi.tsx +26 -0
- package/dist/components/catalyst-ui/lo-fi/v2/hero-lofi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/heroV2-lofi.tsx +17 -0
- package/dist/components/catalyst-ui/lo-fi/v2/inline-edit-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/inplaceLoFi.tsx +10 -0
- package/dist/components/catalyst-ui/lo-fi/v2/input-mask-lofi.tsx +33 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-code-array-section-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-code-section-lofi.tsx +16 -0
- package/dist/components/catalyst-ui/lo-fi/v2/install-github-section-lofi.tsx +11 -0
- package/dist/components/catalyst-ui/lo-fi/v2/json-input-lofi.tsx +29 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-cascade-tree-lofi.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-cascader-lofi.tsx +28 -0
- package/dist/components/catalyst-ui/lo-fi/v2/multi-combobox-lofi.tsx +31 -0
- package/dist/components/catalyst-ui/lo-fi/v2/nav-shopping-cart-lofi.tsx +13 -0
- package/dist/components/catalyst-ui/lo-fi/v2/pin-input-lofi.tsx +23 -0
- package/dist/components/catalyst-ui/lo-fi/v2/select-button-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/lo-fi/v2/sidebar28-lofi.tsx +15 -0
- package/dist/components/catalyst-ui/lo-fi/v2/step-form-wizard-lofi.tsx +34 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tags-input-lofi.tsx +21 -0
- package/dist/components/catalyst-ui/lo-fi/v2/textarea-lofi.tsx +18 -0
- package/dist/components/catalyst-ui/lo-fi/v2/textarea-v2-lofi.tsx +19 -0
- package/dist/components/catalyst-ui/lo-fi/v2/transfer-list-lofi.tsx +40 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tri-state-checkbox-lofi.tsx +25 -0
- package/dist/components/catalyst-ui/lo-fi/v2/tsxSection-lofi.tsx +20 -0
- package/dist/components/catalyst-ui/marketing/demo/demos.tsx +0 -0
- package/dist/components/catalyst-ui/marketing/demo/sectionHeadings-demo.tsx +103 -0
- package/dist/components/catalyst-ui/marketing/elements/banner-with-effect.tsx +0 -0
- package/dist/components/catalyst-ui/marketing/elements/flyoutMenu.tsx +318 -0
- package/dist/components/catalyst-ui/marketing/index.ts +41 -0
- package/dist/components/catalyst-ui/marketing/sections/animated-testimonials.tsx +169 -0
- package/dist/components/catalyst-ui/marketing/sections/bentoGrid.tsx +300 -0
- package/dist/components/catalyst-ui/marketing/sections/blog.tsx +469 -0
- package/dist/components/catalyst-ui/marketing/sections/blogEditor.tsx +358 -0
- package/dist/components/catalyst-ui/marketing/sections/blogPost.tsx +208 -0
- package/dist/components/catalyst-ui/marketing/sections/carousel.tsx +928 -0
- package/dist/components/catalyst-ui/marketing/sections/cta.tsx +379 -0
- package/dist/components/catalyst-ui/marketing/sections/faq.tsx +147 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-carousel.tsx +505 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-section.tsx +83 -0
- package/dist/components/catalyst-ui/marketing/sections/feature-showcase.tsx +250 -0
- package/dist/components/catalyst-ui/marketing/sections/feature.tsx +279 -0
- package/dist/components/catalyst-ui/marketing/sections/footer.tsx +390 -0
- package/dist/components/catalyst-ui/marketing/sections/header-1.tsx +450 -0
- package/dist/components/catalyst-ui/marketing/sections/header.tsx +414 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-2.tsx +55 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-3.tsx +12 -0
- package/dist/components/catalyst-ui/marketing/sections/hero-section.tsx +17 -0
- package/dist/components/catalyst-ui/marketing/sections/hero.tsx +169 -0
- package/dist/components/catalyst-ui/marketing/sections/image-section.tsx +36 -0
- package/dist/components/catalyst-ui/marketing/sections/index.ts +33 -0
- package/dist/components/catalyst-ui/marketing/sections/logoClouds.tsx +295 -0
- package/dist/components/catalyst-ui/marketing/sections/newsLetter.tsx +137 -0
- package/dist/components/catalyst-ui/marketing/sections/page-header-section.tsx +127 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-carousel-2.tsx +282 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-carousel.tsx +555 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing-single-card.tsx +154 -0
- package/dist/components/catalyst-ui/marketing/sections/pricing.tsx +790 -0
- package/dist/components/catalyst-ui/marketing/sections/testimonial-carousel.tsx +499 -0
- package/dist/components/catalyst-ui/marketing/sections/testimonial.tsx +204 -0
- package/dist/components/catalyst-ui/marketing/sections/title-section.tsx +57 -0
- package/dist/components/catalyst-ui/media/3d-marquee.tsx +144 -0
- package/dist/components/catalyst-ui/media/avatar-circles.tsx +78 -0
- package/dist/components/catalyst-ui/media/blur-fade.tsx +106 -0
- package/dist/components/catalyst-ui/media/carousel-1.tsx +926 -0
- package/dist/components/catalyst-ui/media/carousel-2.tsx +198 -0
- package/dist/components/catalyst-ui/media/carousel-hero.tsx +286 -0
- package/dist/components/catalyst-ui/media/carousel-simple.tsx +244 -0
- package/dist/components/catalyst-ui/media/color-palette-card.tsx +85 -0
- package/dist/components/catalyst-ui/media/cropper.tsx +68 -0
- package/dist/components/catalyst-ui/media/embla-carousel-arrow-buttons.tsx +117 -0
- package/dist/components/catalyst-ui/media/embla-carousel-snap.tsx +103 -0
- package/dist/components/catalyst-ui/media/galleria.tsx +316 -0
- package/dist/components/catalyst-ui/media/globe.tsx +138 -0
- package/dist/components/catalyst-ui/media/google-maps-component.tsx +540 -0
- package/dist/components/catalyst-ui/media/icon-cloud.tsx +312 -0
- package/dist/components/catalyst-ui/media/image-comparison.tsx +251 -0
- package/dist/components/catalyst-ui/media/image-crop.tsx +366 -0
- package/dist/components/catalyst-ui/media/image-zoom.tsx +51 -0
- package/dist/components/catalyst-ui/media/index.ts +32 -0
- package/dist/components/catalyst-ui/media/infinite-scroll.tsx +303 -0
- package/dist/components/catalyst-ui/media/infinite-slider.tsx +108 -0
- package/dist/components/catalyst-ui/media/interactive-icon-cloud.tsx +100 -0
- package/dist/components/catalyst-ui/media/logo.tsx +100 -0
- package/dist/components/catalyst-ui/media/marquee.tsx +199 -0
- package/dist/components/catalyst-ui/media/marquee1.tsx +114 -0
- package/dist/components/catalyst-ui/media/parallax-scroll.tsx +119 -0
- package/dist/components/catalyst-ui/media/pixel-image.tsx +153 -0
- package/dist/components/catalyst-ui/media/video-player.tsx +94 -0
- package/dist/components/catalyst-ui/motions/animated-number.tsx +252 -0
- package/dist/components/catalyst-ui/motions/bg-media.tsx +122 -0
- package/dist/components/catalyst-ui/motions/border-beam.tsx +40 -0
- package/dist/components/catalyst-ui/motions/circle-menu.tsx +320 -0
- package/dist/components/catalyst-ui/motions/color-picker.tsx +490 -0
- package/dist/components/catalyst-ui/motions/color-wheel.tsx +81 -0
- package/dist/components/catalyst-ui/motions/direction-aware-tabs.tsx +568 -0
- package/dist/components/catalyst-ui/motions/dynamic-island.tsx +733 -0
- package/dist/components/catalyst-ui/motions/expandable-card.tsx +941 -0
- package/dist/components/catalyst-ui/motions/expandable-screen.tsx +455 -0
- package/dist/components/catalyst-ui/motions/floating-panel.tsx +1115 -0
- package/dist/components/catalyst-ui/motions/gradient-heading.tsx +116 -0
- package/dist/components/catalyst-ui/motions/index.ts +93 -0
- package/dist/components/catalyst-ui/motions/intro-disclosure.tsx +1345 -0
- package/dist/components/catalyst-ui/motions/light-board.tsx +888 -0
- package/dist/components/catalyst-ui/motions/loading-carousel.tsx +517 -0
- package/dist/components/catalyst-ui/motions/logo-carousel.tsx +586 -0
- package/dist/components/catalyst-ui/motions/morph-surface.tsx +779 -0
- package/dist/components/catalyst-ui/motions/motion-accordian.tsx +206 -0
- package/dist/components/catalyst-ui/motions/motion-alert-dialog.tsx +356 -0
- package/dist/components/catalyst-ui/motions/motion-avatar.tsx +384 -0
- package/dist/components/catalyst-ui/motions/motion-beam.tsx +674 -0
- package/dist/components/catalyst-ui/motions/motion-bento.tsx +262 -0
- package/dist/components/catalyst-ui/motions/motion-bento1.tsx +307 -0
- package/dist/components/catalyst-ui/motions/motion-button.tsx +107 -0
- package/dist/components/catalyst-ui/motions/motion-calendar.tsx +213 -0
- package/dist/components/catalyst-ui/motions/motion-card.tsx +1609 -0
- package/dist/components/catalyst-ui/motions/motion-card1.tsx +825 -0
- package/dist/components/catalyst-ui/motions/motion-card2.tsx +289 -0
- package/dist/components/catalyst-ui/motions/motion-card3.tsx +190 -0
- package/dist/components/catalyst-ui/motions/motion-carousel.tsx +517 -0
- package/dist/components/catalyst-ui/motions/motion-checkbox.tsx +77 -0
- package/dist/components/catalyst-ui/motions/motion-choicebox.tsx +360 -0
- package/dist/components/catalyst-ui/motions/motion-combobox.tsx +242 -0
- package/dist/components/catalyst-ui/motions/motion-command.tsx +328 -0
- package/dist/components/catalyst-ui/motions/motion-context-menu.tsx +391 -0
- package/dist/components/catalyst-ui/motions/motion-date-picker.tsx +162 -0
- package/dist/components/catalyst-ui/motions/motion-dialog.tsx +350 -0
- package/dist/components/catalyst-ui/motions/motion-drawer.tsx +1778 -0
- package/dist/components/catalyst-ui/motions/motion-drawer1.tsx +209 -0
- package/dist/components/catalyst-ui/motions/motion-dropdown-menu.tsx +429 -0
- package/dist/components/catalyst-ui/motions/motion-dropdown1.tsx +572 -0
- package/dist/components/catalyst-ui/motions/motion-feature-carousel.tsx +771 -0
- package/dist/components/catalyst-ui/motions/motion-file-upload.tsx +596 -0
- package/dist/components/catalyst-ui/motions/motion-group.tsx +194 -0
- package/dist/components/catalyst-ui/motions/motion-highlight.tsx +550 -0
- package/dist/components/catalyst-ui/motions/motion-highlight2.tsx +590 -0
- package/dist/components/catalyst-ui/motions/motion-hover-card.tsx +207 -0
- package/dist/components/catalyst-ui/motions/motion-images.tsx +53 -0
- package/dist/components/catalyst-ui/motions/motion-input.tsx +51 -0
- package/dist/components/catalyst-ui/motions/motion-list.tsx +170 -0
- package/dist/components/catalyst-ui/motions/motion-logo-carosel.tsx +668 -0
- package/dist/components/catalyst-ui/motions/motion-map.tsx +372 -0
- package/dist/components/catalyst-ui/motions/motion-navbar.tsx +69 -0
- package/dist/components/catalyst-ui/motions/motion-navigation-menu.tsx +302 -0
- package/dist/components/catalyst-ui/motions/motion-panel.tsx +338 -0
- package/dist/components/catalyst-ui/motions/motion-popover.tsx +281 -0
- package/dist/components/catalyst-ui/motions/motion-radio-card.tsx +77 -0
- package/dist/components/catalyst-ui/motions/motion-radio-group.tsx +54 -0
- package/dist/components/catalyst-ui/motions/motion-rating.tsx +182 -0
- package/dist/components/catalyst-ui/motions/motion-screen.tsx +441 -0
- package/dist/components/catalyst-ui/motions/motion-search-bar.tsx +1013 -0
- package/dist/components/catalyst-ui/motions/motion-section.tsx +270 -0
- package/dist/components/catalyst-ui/motions/motion-select.tsx +306 -0
- package/dist/components/catalyst-ui/motions/motion-spotlight.tsx +217 -0
- package/dist/components/catalyst-ui/motions/motion-switch.tsx +83 -0
- package/dist/components/catalyst-ui/motions/motion-tabs.tsx +554 -0
- package/dist/components/catalyst-ui/motions/motion-tabs2.tsx +257 -0
- package/dist/components/catalyst-ui/motions/motion-testimonials.tsx +282 -0
- package/dist/components/catalyst-ui/motions/motion-toast.tsx +398 -0
- package/dist/components/catalyst-ui/motions/motion-toolbar-tabs.tsx +519 -0
- package/dist/components/catalyst-ui/motions/motion-toolbar.tsx +1113 -0
- package/dist/components/catalyst-ui/motions/motion-tooltip.tsx +162 -0
- package/dist/components/catalyst-ui/motions/motion-tooltip2.tsx +82 -0
- package/dist/components/catalyst-ui/motions/motion-video-player.tsx +1056 -0
- package/dist/components/catalyst-ui/motions/motions-input.tsx +51 -0
- package/dist/components/catalyst-ui/motions/popover-form.tsx +469 -0
- package/dist/components/catalyst-ui/motions/profile-dropdown.tsx +237 -0
- package/dist/components/catalyst-ui/motions/radial-menu.tsx +303 -0
- package/dist/components/catalyst-ui/motions/roladex.tsx +194 -0
- package/dist/components/catalyst-ui/motions/roladex1.tsx +166 -0
- package/dist/components/catalyst-ui/motions/shift-card.tsx +302 -0
- package/dist/components/catalyst-ui/motions/side-panel.tsx +352 -0
- package/dist/components/catalyst-ui/motions/smooth-drawer.tsx +213 -0
- package/dist/components/catalyst-ui/motions/smooth-popover.tsx +491 -0
- package/dist/components/catalyst-ui/motions/sortable-list.tsx +712 -0
- package/dist/components/catalyst-ui/motions/stripe.tsx +261 -0
- package/dist/components/catalyst-ui/motions/texture-button.tsx +217 -0
- package/dist/components/catalyst-ui/motions/timer.tsx +286 -0
- package/dist/components/catalyst-ui/motions/toolbar-expandable.tsx +1138 -0
- package/dist/components/catalyst-ui/motions/youtube-player.tsx +614 -0
- package/dist/components/catalyst-ui/overlays/animated-modal.tsx +212 -0
- package/dist/components/catalyst-ui/overlays/animated-tooltip.tsx +99 -0
- package/dist/components/catalyst-ui/overlays/confirm-popup.tsx +219 -0
- package/dist/components/catalyst-ui/overlays/dialog-stack.tsx +558 -0
- package/dist/components/catalyst-ui/overlays/index.ts +19 -0
- package/dist/components/catalyst-ui/overlays/loading-overlay.tsx +324 -0
- package/dist/components/catalyst-ui/overlays/modal-integrations-1.tsx +300 -0
- package/dist/components/catalyst-ui/overlays/modal-integrations.tsx +301 -0
- package/dist/components/catalyst-ui/overlays/overlay-panel.tsx +233 -0
- package/dist/components/catalyst-ui/overlays/popconfirm.tsx +721 -0
- package/dist/components/catalyst-ui/overlays/sidebar-props.tsx +492 -0
- package/dist/components/catalyst-ui/overlays/sidebar.tsx +2208 -0
- package/dist/components/catalyst-ui/overlays/sidebarMenuItemLoading.tsx +124 -0
- package/dist/components/catalyst-ui/overlays/texture-card.tsx +309 -0
- package/dist/components/catalyst-ui/overlays/transitionable-portal.tsx +230 -0
- package/dist/components/catalyst-ui/pdf/generate_custom_pdf.tsx +40 -0
- package/dist/components/catalyst-ui/pdf/generate_pdf.tsx +196 -0
- package/dist/components/catalyst-ui/pdf/index.ts +12 -0
- package/dist/components/catalyst-ui/pdf/pdf.tsx +32 -0
- package/dist/components/catalyst-ui/pdf/pdf_generator.ts +141 -0
- package/dist/components/catalyst-ui/pdf/pdf_sender.$dealerId.$documentId.$dept.tsx +1260 -0
- package/dist/components/catalyst-ui/pdf/pdf_signer.$id.tsx +1438 -0
- package/dist/components/catalyst-ui/pdf/print_pdf.tsx +15905 -0
- package/dist/components/catalyst-ui/pdf/templateBuilder.tsx +1590 -0
- package/dist/components/catalyst-ui/pdf/test.tsx +53 -0
- package/dist/components/catalyst-ui/pos/index.ts +5 -0
- package/dist/components/catalyst-ui/pos/tools/barcodeScanner.tsx +160 -0
- package/dist/components/catalyst-ui/pos/tools/cashDrawerWizard.tsx +1403 -0
- package/dist/components/catalyst-ui/pos/tools/scan.mp4 +0 -0
- package/dist/components/catalyst-ui/primitives/alert.tsx +103 -0
- package/dist/components/catalyst-ui/primitives/annotated.tsx +133 -0
- package/dist/components/catalyst-ui/primitives/button-group.tsx +89 -0
- package/dist/components/catalyst-ui/primitives/checkbox-tree.tsx +175 -0
- package/dist/components/catalyst-ui/primitives/combobox.tsx +93 -0
- package/dist/components/catalyst-ui/primitives/description-list.tsx +88 -0
- package/dist/components/catalyst-ui/primitives/index.ts +59 -0
- package/dist/components/catalyst-ui/primitives/input-group.tsx +186 -0
- package/dist/components/catalyst-ui/primitives/menubar.tsx +273 -0
- package/dist/components/catalyst-ui/primitives/progress-bar.tsx +114 -0
- package/dist/components/catalyst-ui/primitives/radio-card.tsx +167 -0
- package/dist/components/catalyst-ui/primitives/scroll-area.tsx +56 -0
- package/dist/components/catalyst-ui/primitives/table.tsx +329 -0
- package/dist/components/catalyst-ui/prompt/ai-input-search.tsx +288 -0
- package/dist/components/catalyst-ui/prompt/ai-loading-state.tsx +313 -0
- package/dist/components/catalyst-ui/prompt/ai-prompt-input.tsx +305 -0
- package/dist/components/catalyst-ui/prompt/ai-voice.tsx +241 -0
- package/dist/components/catalyst-ui/prompt/chain-of-thought.tsx +146 -0
- package/dist/components/catalyst-ui/prompt/chatbot.tsx +201 -0
- package/dist/components/catalyst-ui/prompt/code-block-examples.tsx +227 -0
- package/dist/components/catalyst-ui/prompt/code-block.tsx +92 -0
- package/dist/components/catalyst-ui/prompt/conversation-actions.tsx +150 -0
- package/dist/components/catalyst-ui/prompt/conversation-avatars.tsx +92 -0
- package/dist/components/catalyst-ui/prompt/conversation-prompt-input.tsx +256 -0
- package/dist/components/catalyst-ui/prompt/conversation-scroll-bottom.tsx +121 -0
- package/dist/components/catalyst-ui/prompt/file-upload.tsx +310 -0
- package/dist/components/catalyst-ui/prompt/full-chat-app.tsx +759 -0
- package/dist/components/catalyst-ui/prompt/full-conversation.tsx +76 -0
- package/dist/components/catalyst-ui/prompt/image.tsx +94 -0
- package/dist/components/catalyst-ui/prompt/index.ts +46 -0
- package/dist/components/catalyst-ui/prompt/input-byok.tsx +70 -0
- package/dist/components/catalyst-ui/prompt/jsx-preview.tsx +81 -0
- package/dist/components/catalyst-ui/prompt/loader.tsx +497 -0
- package/dist/components/catalyst-ui/prompt/markdown.tsx +117 -0
- package/dist/components/catalyst-ui/prompt/pre-prompts.tsx +59 -0
- package/dist/components/catalyst-ui/prompt/prompt-autocomplete-highlight.tsx +81 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container-basic.tsx +98 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container-streaming.tsx +132 -0
- package/dist/components/catalyst-ui/prompt/prompt-chat-container.tsx +65 -0
- package/dist/components/catalyst-ui/prompt/prompt-feedback-bar.tsx +79 -0
- package/dist/components/catalyst-ui/prompt/prompt-input-actions.tsx +100 -0
- package/dist/components/catalyst-ui/prompt/prompt-input-suggestions.tsx +150 -0
- package/dist/components/catalyst-ui/prompt/prompt-input.tsx +187 -0
- package/dist/components/catalyst-ui/prompt/prompt-message.tsx +109 -0
- package/dist/components/catalyst-ui/prompt/prompt-suggestion.tsx +116 -0
- package/dist/components/catalyst-ui/prompt/providers.tsx +540 -0
- package/dist/components/catalyst-ui/prompt/reasoning.tsx +168 -0
- package/dist/components/catalyst-ui/prompt/response-stream.tsx +392 -0
- package/dist/components/catalyst-ui/prompt/scroll-button.tsx +39 -0
- package/dist/components/catalyst-ui/prompt/sidebar-chat-history.tsx +242 -0
- package/dist/components/catalyst-ui/prompt/snippets.tsx +1378 -0
- package/dist/components/catalyst-ui/prompt/source.tsx +127 -0
- package/dist/components/catalyst-ui/prompt/steps.tsx +111 -0
- package/dist/components/catalyst-ui/prompt/system-message.tsx +131 -0
- package/dist/components/catalyst-ui/prompt/tool-calling.tsx +236 -0
- package/dist/components/catalyst-ui/prompt/tool.tsx +204 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/NotificationMenu.tsx +120 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/Tree.tsx +53 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/active-toc.tsx +213 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/analog-clock.tsx +211 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/app-sidebar.tsx +339 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/blog-sidebar.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/calendars.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/date-picker.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/dev-list-sidebar.tsx +195 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/digital-clock.tsx +343 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/index.ts +41 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/loading-sidebar.tsx +42 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-actions.tsx +122 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-appointments.tsx +429 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-auto-search.tsx +314 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-favorites.tsx +71 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-header.tsx +409 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-main.tsx +1583 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-messenger.tsx +440 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-projects.tsx +66 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-quick-actions.tsx +366 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-secondary.tsx +33 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-shopping-cart.tsx +231 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-shopping-cartCatlstui.tsx +196 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-tree-view.tsx +18 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-user.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/nav-workspaces.tsx +69 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/navigation-theme-selector.tsx +143 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/opt-in-form.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/search-command.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/search-form.tsx +21 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/settings-menu.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/sidebar-dialog.tsx +82 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/site-header.tsx +40 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/team-switcher.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/toc.tsx +301 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/user-menu.tsx +77 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/version-switcher.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/nav-components/wishlist.tsx +292 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/AppSidebar.tsx +36 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/SearchForm.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/VersionSwitcher.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/index.tsx +270 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-01/sidebar-01.tsx +178 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/AppSidebar.tsx +56 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/SearchForm.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/VersionSwitcher.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/index.tsx +301 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-02/sidebar-02.tsx +193 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/AppSidebar.tsx +54 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/index.tsx +238 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-03/sidebar-03.tsx +189 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/AppSidebar.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/index.tsx +249 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-04/sidebar-04.tsx +201 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/AppSidebar.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/SearchForm.tsx +25 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/index.tsx +275 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-05/sidebar-05.tsx +191 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/AppSidebar.tsx +43 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/NavMain.tsx +56 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/SidebarOptInForm.tsx +34 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/index.tsx +290 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-06/sidebar-06.tsx +183 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/AppSidebar.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavMain.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavProjects.tsx +67 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/NavUser.tsx +86 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/TeamSwitcher.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/index.tsx +474 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-07/sidebar-07.tsx +189 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/AppSidebar.tsx +41 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavMain.tsx +62 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavProjects.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavSecondary.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/index.tsx +446 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-08/sidebar-08.tsx +181 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/AppSidebar.tsx +213 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/NavUser.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/index.tsx +468 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-09/sidebar-09.tsx +177 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/AppSidebar.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavActions.tsx +59 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavFavorites.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavMain.tsx +31 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavSecondary.tsx +37 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/NavWorkspaces.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/TeamSwitcher.tsx +70 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/index.tsx +675 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-10/sidebar-10.tsx +348 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/AppSidebar.tsx +46 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/Tree.tsx +49 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/index.tsx +175 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-11/sidebar-11.tsx +102 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/AppSidebar.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/Calendars.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/DatePicker.tsx +13 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/NavUser.tsx +85 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/index.tsx +237 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-12/sidebar-12.tsx +68 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/SettingsDialog.tsx +82 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/index.tsx +105 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-13/sidebar-13.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/AppSidebar.tsx +45 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/index.tsx +225 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-14/sidebar-14.tsx +186 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/Calendars.tsx +83 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/DatePicker.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavFavorites.tsx +98 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavMain.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavSecondary.tsx +36 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavUser.tsx +89 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/NavWorkspaces.tsx +95 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/SidebarLeft.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/SidebarRight.tsx +38 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/TeamSwitcher.tsx +89 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/index.tsx +776 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-15/sidebar-15.tsx +324 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/AppSidebar.tsx +50 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/NavUser.tsx +100 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/SearchForm.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/SiteHeader.tsx +51 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/index.tsx +424 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-16/sidebar-16.tsx +188 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/AppSidebar.tsx +154 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/ShoppingCartSidebar.tsx +163 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/index.tsx +557 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-17/sidebar-17.tsx +183 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/AppSidebar.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/NavTreeView.tsx +18 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/index.tsx +120 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-18/sidebar-18.tsx +92 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/AppSidebar.tsx +230 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/index.tsx +264 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-19/sidebar-19.tsx +59 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/AppSidebar.tsx +215 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/index.tsx +250 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-20/sidebar-20.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/AppSidebar.tsx +303 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/LoadingSidebar.tsx +41 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/index.tsx +412 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-21/sidebar-21.tsx +75 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/AppSidebar.tsx +184 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/LoadingSidebar.tsx +45 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/index.tsx +251 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-22/sidebar-22.tsx +44 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/calendars-24.tsx +58 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/date-picker-24.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-24/sidebar-24.tsx +39 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/AppSidebar.tsx +24 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavMain.tsx +57 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavSecondary.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/NavUser.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/SearchForm.tsx +35 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/SiteHeader.tsx +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/index.tsx +172 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-25/sidebar-25.tsx +153 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/app-sidebar-26.tsx +344 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/index.tsx +78 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/sidebar-26.tsx +78 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-26/use-mobile-26.ts +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-27/sidebar-27.tsx +5 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/app-sidebar-28.tsx +285 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/index.tsx +31 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/nav-user-28.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/search-form-28.tsx +23 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/sidebar-28.tsx +32 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/site-header-28.tsx +29 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-28/use-mobile-28.ts +19 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-left-icon.tsx +101 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-left.tsx +88 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-right-icon.tsx +106 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/nav-user.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/sidebar-29.tsx +204 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-29/version-switcher.tsx +52 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/ds-left.tsx +678 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-30/sidebar-30.tsx +604 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/ds-left.tsx +431 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/message.tsx +28 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-auto-search.tsx +310 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-search-command.tsx +0 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/nav-user.tsx +74 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/sidebar-31.tsx +369 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-31/typing-message.tsx +12 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/ds-left.tsx +119 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/ds-right.tsx +87 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/settings-dialog.tsx +91 -0
- package/dist/components/catalyst-ui/sidebars/sidebar-32/sidebar-32.tsx +119 -0
- package/dist/components/catalyst-ui/sidebars/variants/dual-sidebar-agnostic.tsx +3473 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-original.tsx +714 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-right.tsx +823 -0
- package/dist/components/catalyst-ui/sidebars/variants/sidebar-stylistic-default.tsx +591 -0
- package/dist/components/catalyst-ui/table/catalyst-table/column-header-simple.tsx +60 -0
- package/dist/components/catalyst-ui/table/catalyst-table/column-header.tsx +223 -0
- package/dist/components/catalyst-ui/table/catalyst-table/draggable-header.tsx +58 -0
- package/dist/components/catalyst-ui/table/catalyst-table/faceted-filter.tsx +131 -0
- package/dist/components/catalyst-ui/table/catalyst-table/global-search.tsx +0 -0
- package/dist/components/catalyst-ui/table/catalyst-table/row-actions.tsx +49 -0
- package/dist/components/catalyst-ui/table/catalyst-table/table.tsx +421 -0
- package/dist/components/catalyst-ui/table/index.ts +14 -0
- package/dist/components/catalyst-ui/table/props-table.tsx +170 -0
- package/dist/components/catalyst-ui/table/small-table.tsx +719 -0
- package/dist/components/catalyst-ui/table/table-1.tsx +246 -0
- package/dist/components/catalyst-ui/themeStudio/config.tsx +83 -0
- package/dist/components/catalyst-ui/themeStudio/dual-sidebar.tsx +3256 -0
- package/dist/components/catalyst-ui/themeStudio/theme-provider.tsx +269 -0
- package/dist/components/catalyst-ui/themeStudio/use-color-theme.tsx +1614 -0
- package/dist/components/catalyst-ui/themeStudio/use-color-wheel.tsx +904 -0
- package/dist/components/catalyst-ui/tools/Demo/md-render-genie.tsx +273 -0
- package/dist/components/catalyst-ui/tools/GandalfBot.tsx +144 -0
- package/dist/components/catalyst-ui/tools/MdFileTreeExplorer.tsx +287 -0
- package/dist/components/catalyst-ui/tools/accessibility-checker.tsx +370 -0
- package/dist/components/catalyst-ui/tools/animation-builder.tsx +350 -0
- package/dist/components/catalyst-ui/tools/api-response.tsx +318 -0
- package/dist/components/catalyst-ui/tools/chart-playground.tsx +480 -0
- package/dist/components/catalyst-ui/tools/code-carousel.tsx +246 -0
- package/dist/components/catalyst-ui/tools/code-diff.tsx +274 -0
- package/dist/components/catalyst-ui/tools/code-editor.tsx +35 -0
- package/dist/components/catalyst-ui/tools/code-highlight-plugin.tsx +25 -0
- package/dist/components/catalyst-ui/tools/color-converter.tsx +413 -0
- package/dist/components/catalyst-ui/tools/color-wheel.tsx +1012 -0
- package/dist/components/catalyst-ui/tools/components-reel.tsx +135 -0
- package/dist/components/catalyst-ui/tools/convert/converter.tsx +969 -0
- package/dist/components/catalyst-ui/tools/convert/sidebar-converter.tsx +132 -0
- package/dist/components/catalyst-ui/tools/cron-expression-builder.tsx +346 -0
- package/dist/components/catalyst-ui/tools/dual-editor.tsx +240 -0
- package/dist/components/catalyst-ui/tools/editor.tsx +1744 -0
- package/dist/components/catalyst-ui/tools/examples.tsx +1206 -0
- package/dist/components/catalyst-ui/tools/flexbox-sandbox.tsx +327 -0
- package/dist/components/catalyst-ui/tools/function-theater.tsx +93 -0
- package/dist/components/catalyst-ui/tools/grid-sandbox.tsx +464 -0
- package/dist/components/catalyst-ui/tools/icons.tsx +249 -0
- package/dist/components/catalyst-ui/tools/index.ts +59 -0
- package/dist/components/catalyst-ui/tools/json-Formatter.tsx +258 -0
- package/dist/components/catalyst-ui/tools/layout-generator.tsx +237 -0
- package/dist/components/catalyst-ui/tools/lexical-editor.tsx +218 -0
- package/dist/components/catalyst-ui/tools/live-playground.tsx +1458 -0
- package/dist/components/catalyst-ui/tools/lorem-ipsum-generator.tsx +314 -0
- package/dist/components/catalyst-ui/tools/md-badge-builder.tsx +179 -0
- package/dist/components/catalyst-ui/tools/md-cheat-sheet.tsx +5557 -0
- package/dist/components/catalyst-ui/tools/md-editor.tsx +632 -0
- package/dist/components/catalyst-ui/tools/md-render-genie.tsx +1233 -0
- package/dist/components/catalyst-ui/tools/md-renderer.tsx +61 -0
- package/dist/components/catalyst-ui/tools/monaco-sidebar.tsx +7791 -0
- package/dist/components/catalyst-ui/tools/monaco.tsx +492 -0
- package/dist/components/catalyst-ui/tools/motion-sandbox.tsx +0 -0
- package/dist/components/catalyst-ui/tools/qr-code-generator.tsx +432 -0
- package/dist/components/catalyst-ui/tools/regex-tester.tsx +508 -0
- package/dist/components/catalyst-ui/tools/responsive-preview.tsx +286 -0
- package/dist/components/catalyst-ui/tools/rich-text-editor copy.tsx +1058 -0
- package/dist/components/catalyst-ui/tools/rich-text-editor.tsx +1994 -0
- package/dist/components/catalyst-ui/tools/rte.md +119 -0
- package/dist/components/catalyst-ui/tools/sandbox.tsx +52 -0
- package/dist/components/catalyst-ui/tools/scripts-viewer.tsx +215 -0
- package/dist/components/catalyst-ui/tools/scripts.edit.tsx +3102 -0
- package/dist/components/catalyst-ui/tools/table-plugin.tsx +149 -0
- package/dist/components/catalyst-ui/tools/tailwind-converter.tsx +502 -0
- package/dist/components/catalyst-ui/tools/terminal.tsx +60 -0
- package/dist/components/catalyst-ui/tools/theme-builder.tsx +5071 -0
- package/dist/components/catalyst-ui/tools/toolbar-plugin.tsx +383 -0
- package/dist/components/catalyst-ui/tools/toolbar-plugin1.tsx +861 -0
- package/dist/components/catalyst-ui/tools/typography-tester.tsx +310 -0
- package/dist/components/catalyst-ui/tools/uuid-hash-generator.tsx +534 -0
- package/dist/components/catalyst-ui/tools/vscode-cmds.tsx +3813 -0
- package/dist/components/catalyst-ui/tools/x-viewer.tsx +135 -0
- package/dist/components/catalyst-ui/typography/animated-glitch-text.tsx +188 -0
- package/dist/components/catalyst-ui/typography/b.tsx +23 -0
- package/dist/components/catalyst-ui/typography/blockquote.tsx +35 -0
- package/dist/components/catalyst-ui/typography/check-list.tsx +130 -0
- package/dist/components/catalyst-ui/typography/code.tsx +26 -0
- package/dist/components/catalyst-ui/typography/comic-text.tsx +68 -0
- package/dist/components/catalyst-ui/typography/display-code.tsx +148 -0
- package/dist/components/catalyst-ui/typography/div.tsx +20 -0
- package/dist/components/catalyst-ui/typography/dynamic-text.tsx +149 -0
- package/dist/components/catalyst-ui/typography/encrypted-text.tsx +168 -0
- package/dist/components/catalyst-ui/typography/glitch-text.tsx +174 -0
- package/dist/components/catalyst-ui/typography/h1.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h2.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h3.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h4.tsx +19 -0
- package/dist/components/catalyst-ui/typography/h5.tsx +19 -0
- package/dist/components/catalyst-ui/typography/highlight-1.tsx +133 -0
- package/dist/components/catalyst-ui/typography/highlight.tsx +133 -0
- package/dist/components/catalyst-ui/typography/hyper-text.tsx +135 -0
- package/dist/components/catalyst-ui/typography/i.tsx +23 -0
- package/dist/components/catalyst-ui/typography/ib.tsx +24 -0
- package/dist/components/catalyst-ui/typography/index.ts +49 -0
- package/dist/components/catalyst-ui/typography/line-shadow-text.tsx +44 -0
- package/dist/components/catalyst-ui/typography/matrix-text.tsx +186 -0
- package/dist/components/catalyst-ui/typography/ordered-list.tsx +39 -0
- package/dist/components/catalyst-ui/typography/p.tsx +19 -0
- package/dist/components/catalyst-ui/typography/paragraph-scramble.tsx +122 -0
- package/dist/components/catalyst-ui/typography/pm.tsx +20 -0
- package/dist/components/catalyst-ui/typography/prose.tsx +90 -0
- package/dist/components/catalyst-ui/typography/scroll-text.tsx +181 -0
- package/dist/components/catalyst-ui/typography/shimmer-text.tsx +105 -0
- package/dist/components/catalyst-ui/typography/sliced-text.tsx +131 -0
- package/dist/components/catalyst-ui/typography/swoosh-text.tsx +111 -0
- package/dist/components/catalyst-ui/typography/text-animate.tsx +380 -0
- package/dist/components/catalyst-ui/typography/text-highlighter.tsx +101 -0
- package/dist/components/catalyst-ui/typography/text-morph.tsx +272 -0
- package/dist/components/catalyst-ui/typography/text-reveal.tsx +71 -0
- package/dist/components/catalyst-ui/typography/text-rewind.tsx +90 -0
- package/dist/components/catalyst-ui/typography/text-scramble.tsx +111 -0
- package/dist/components/catalyst-ui/typography/text.tsx +134 -0
- package/dist/components/catalyst-ui/typography/typewriter.tsx +153 -0
- package/dist/components/catalyst-ui/typography/typing-animation.tsx +172 -0
- package/dist/components/catalyst-ui/typography/typography.tsx +67 -0
- package/dist/components/catalyst-ui/typography/unordered-list.tsx +78 -0
- package/dist/components/catalyst-ui/typography/video-text.tsx +86 -0
- package/dist/components/catalyst-ui/typography/word-rotate.tsx +48 -0
- package/dist/components/catalyst-ui/utils/auth-provider.tsx +419 -0
- package/dist/components/catalyst-ui/utils/auth.github.callback.tsx +135 -0
- package/dist/components/catalyst-ui/utils/auth.github.tsx +17 -0
- package/dist/components/catalyst-ui/utils/auth.ts +34 -0
- package/dist/components/catalyst-ui/utils/auth_github.ts +48 -0
- package/dist/components/catalyst-ui/utils/auth_session.ts +70 -0
- package/dist/components/catalyst-ui/utils/batcher.tsx +50 -0
- package/dist/components/catalyst-ui/utils/build-package-json.js +89 -0
- package/dist/components/catalyst-ui/utils/cache-assets.ts +72 -0
- package/dist/components/catalyst-ui/utils/client-only-mermaid.tsx +82 -0
- package/dist/components/catalyst-ui/utils/client-only.tsx +27 -0
- package/dist/components/catalyst-ui/utils/cors.ts +178 -0
- package/dist/components/catalyst-ui/utils/crypto.ts +96 -0
- package/dist/components/catalyst-ui/utils/dbLocal.js +74 -0
- package/dist/components/catalyst-ui/utils/dbRemote.js +74 -0
- package/dist/components/catalyst-ui/utils/demo.tsx +499 -0
- package/dist/components/catalyst-ui/utils/dynamic-links.tsx +324 -0
- package/dist/components/catalyst-ui/utils/event-stream.ts +82 -0
- package/dist/components/catalyst-ui/utils/existing-search-params.tsx +78 -0
- package/dist/components/catalyst-ui/utils/external-scripts.tsx +144 -0
- package/dist/components/catalyst-ui/utils/fetcher-context.tsx +45 -0
- package/dist/components/catalyst-ui/utils/fetcher-type.tsx +82 -0
- package/dist/components/catalyst-ui/utils/filename-icon-map.tsx +176 -0
- package/dist/components/catalyst-ui/utils/flickering-grid.tsx +188 -0
- package/dist/components/catalyst-ui/utils/get-client-ip-address.ts +52 -0
- package/dist/components/catalyst-ui/utils/get-client-locales.ts +25 -0
- package/dist/components/catalyst-ui/utils/get-headers.ts +7 -0
- package/dist/components/catalyst-ui/utils/honeypot-react.tsx +480 -0
- package/dist/components/catalyst-ui/utils/honeypot.ts +138 -0
- package/dist/components/catalyst-ui/utils/index.ts +82 -0
- package/dist/components/catalyst-ui/utils/is-prefetch.ts +19 -0
- package/dist/components/catalyst-ui/utils/json-hash.ts +33 -0
- package/dist/components/catalyst-ui/utils/keyboard-shortcut.tsx +124 -0
- package/dist/components/catalyst-ui/utils/named-action.ts +50 -0
- package/dist/components/catalyst-ui/utils/navigation-context.tsx +71 -0
- package/dist/components/catalyst-ui/utils/options.ts +20 -0
- package/dist/components/catalyst-ui/utils/otp-auth-session.ts +14 -0
- package/dist/components/catalyst-ui/utils/otp-client-auth.tsx +30 -0
- package/dist/components/catalyst-ui/utils/otp-email.tsx +104 -0
- package/dist/components/catalyst-ui/utils/parse-accept-header.ts +21 -0
- package/dist/components/catalyst-ui/utils/preload-route-assets.ts +60 -0
- package/dist/components/catalyst-ui/utils/prisma.ts +93 -0
- package/dist/components/catalyst-ui/utils/promise.ts +55 -0
- package/dist/components/catalyst-ui/utils/qr-code-1-server.tsx +42 -0
- package/dist/components/catalyst-ui/utils/qr-code-1.tsx +87 -0
- package/dist/components/catalyst-ui/utils/redirect-back.ts +35 -0
- package/dist/components/catalyst-ui/utils/redirect-bad-requests.tsx +5 -0
- package/dist/components/catalyst-ui/utils/remix-auth.ts +35 -0
- package/dist/components/catalyst-ui/utils/remix_auth_session.ts +71 -0
- package/dist/components/catalyst-ui/utils/respond-to.ts +40 -0
- package/dist/components/catalyst-ui/utils/responses.ts +130 -0
- package/dist/components/catalyst-ui/utils/rolling-cookie.tsx +39 -0
- package/dist/components/catalyst-ui/utils/safe-redirect.ts +21 -0
- package/dist/components/catalyst-ui/utils/scaffolding.tsx +14 -0
- package/dist/components/catalyst-ui/utils/scroll-top.tsx +382 -0
- package/dist/components/catalyst-ui/utils/scroll-x.tsx +22 -0
- package/dist/components/catalyst-ui/utils/scroll-xy.tsx +22 -0
- package/dist/components/catalyst-ui/utils/scroll-y.tsx +14 -0
- package/dist/components/catalyst-ui/utils/scroll.tsx +32 -0
- package/dist/components/catalyst-ui/utils/sec-fetch-parser.tsx +119 -0
- package/dist/components/catalyst-ui/utils/sec-fetch-parsers.tsx +42 -0
- package/dist/components/catalyst-ui/utils/server-only.tsx +12 -0
- package/dist/components/catalyst-ui/utils/singleton.tsx +22 -0
- package/dist/components/catalyst-ui/utils/style-provider.tsx +292 -0
- package/dist/components/catalyst-ui/utils/tailwindcss.css.txt +134 -0
- package/dist/components/catalyst-ui/utils/typed-cookie.ts +90 -0
- package/dist/components/catalyst-ui/utils/typed-session.ts +115 -0
- package/dist/components/catalyst-ui/utils/user-based-access-rules.tsx +118 -0
- package/dist/components/catalyst-ui/x/index.ts +38 -0
- package/dist/components/catalyst-ui/x/input-x.tsx +2263 -0
- package/dist/components/catalyst-ui/x/nav-x.tsx +3213 -0
- package/dist/components/catalyst-ui/x/tracker-x.tsx +2 -12
- package/dist/index.js +40623 -40650
- package/package.json +1 -1
- /package/dist/{data.tsx → components/catalyst-ui/data.tsx} +0 -0
- /package/dist/components/catalyst-ui/x/{button-X.tsx → button-x.tsx} +0 -0
|
@@ -0,0 +1,3473 @@
|
|
|
1
|
+
// #dev IMPORTS
|
|
2
|
+
import { Circle, Check, ChevronRight } from "@catalystsoftware/icons";
|
|
3
|
+
import React, { createContext, useCallback, useContext, useEffect, useState } from "react";
|
|
4
|
+
import { type VariantProps, cva } from "class-variance-authority";
|
|
5
|
+
import { useIsMobile } from "~/modules/hooks/use-mobile";
|
|
6
|
+
import { cn } from "~/components/catalyst-ui";
|
|
7
|
+
import { Button, Drawer, TooltipProvider, Tooltip, TooltipContent, TooltipTrigger, Input, Skeleton, Separator, Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "~/components/catalyst-ui";
|
|
8
|
+
import { useNavigation, NavLink, useLocation } from "@remix-run/react";
|
|
9
|
+
import { Drawer as DrawerPrimitive } from "vaul";
|
|
10
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
11
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar'
|
|
12
|
+
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
13
|
+
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
14
|
+
|
|
15
|
+
// #enddev
|
|
16
|
+
// #dev CONSTANTS & TYPES
|
|
17
|
+
const DS_COOKIE_NAME = "ds_state";
|
|
18
|
+
const DS_COOKIE_NAME_RIGHT = "ds_state_right";
|
|
19
|
+
const DS_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
20
|
+
const DS_WIDTH = "275px";
|
|
21
|
+
const DS_WIDTH_MOBILE = "288px";
|
|
22
|
+
const DS_WIDTH_ICON = "48px";
|
|
23
|
+
const DS_KEYBOARD_SHORTCUT_LEFT = "b";
|
|
24
|
+
const DS_KEYBOARD_SHORTCUT_RIGHT = "g";
|
|
25
|
+
|
|
26
|
+
const THEME_VERSION = "v3";
|
|
27
|
+
const THEME_OPTIONS = ["neutral", "red", "orange", "green", "blue", "violet", "default"] as const;
|
|
28
|
+
const LOCAL_STORAGE_KEY = "ds-theme-v3";
|
|
29
|
+
|
|
30
|
+
type DSTheme = (typeof THEME_OPTIONS)[number];
|
|
31
|
+
|
|
32
|
+
type SidebarVariant = "sidebar" | "inset" | "floating" | "frosted" | "floating-card" | "glass" | "compact-card" | "minimal" | "bordered" | "elevated";
|
|
33
|
+
type SidebarSide = 'left' | 'right'
|
|
34
|
+
type SidebarCollapsible = 'offcanvas' | 'icon' | 'none'
|
|
35
|
+
|
|
36
|
+
// #enddev
|
|
37
|
+
// #dev CVA VARIANTS STYLES
|
|
38
|
+
const dsVariants = cva('', {
|
|
39
|
+
variants: {
|
|
40
|
+
variant: {
|
|
41
|
+
sidebar: 'fixed inset-y-0 z-20 bg-sidebar flex flex-col transition-transform duration-300 h-full',
|
|
42
|
+
inset: 'fixed inset-y-0 z-20 bg-sidebar rounded-[15px] flex flex-col transition-transform duration-300 shadow-2xl h-full',
|
|
43
|
+
floating: 'fixed inset-y-0 z-20 bg-sidebar rounded-[15px] flex flex-col transition-transform duration-300 shadow-2xl h-full',
|
|
44
|
+
frosted: 'fixed inset-y-0 z-20 backdrop-blur-2xl bg-background/80 border border-white/10 shadow-xl flex flex-col transition-transform duration-300 h-full',
|
|
45
|
+
card: 'fixed z-20 bg-sidebar rounded-xl shadow-2xl flex flex-col transition-all duration-300 my-[5vh] max-h-[90vh] overflow-auto h-full',
|
|
46
|
+
glass: 'fixed inset-y-0 z-20 backdrop-blur-xl bg-white/10 border border-white/20 shadow-lg flex flex-col transition-transform duration-300 h-full',
|
|
47
|
+
'compact-card': 'fixed z-20 bg-sidebar rounded-lg shadow-lg flex flex-col transition-all duration-300 my-2 max-h-[95vh] overflow-auto',
|
|
48
|
+
bordered: 'fixed inset-y-0 z-20 bg-sidebar border-2 border-primary/20 rounded-lg shadow-sm flex flex-col transition-transform duration-300 h-full',
|
|
49
|
+
minimal: 'fixed inset-y-0 z-20 bg-sidebar flex flex-col transition-transform duration-300 h-full',
|
|
50
|
+
elevated: 'fixed inset-y-0 z-20 bg-sidebar shadow-2xl rounded-2xl border border-border/50 flex flex-col transition-transform duration-300 h-full',
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
defaultVariants: {
|
|
54
|
+
variant: 'sidebar',
|
|
55
|
+
},
|
|
56
|
+
})
|
|
57
|
+
const iconDSVariants = cva('fixed inset-y-0 z-20 hidden h-svh flex-col md:flex', {
|
|
58
|
+
variants: {
|
|
59
|
+
variant: {
|
|
60
|
+
sidebar: 'bg-background',
|
|
61
|
+
inset: 'bg-sidebar',
|
|
62
|
+
floating: 'bg-sidebar m-2 rounded-lg max-h-[calc(100vh-16px)]',
|
|
63
|
+
frosted: 'backdrop-blur-xl bg-background/70',
|
|
64
|
+
card: 'bg-sidebar rounded-lg my-[5vh] max-h-[90vh]',
|
|
65
|
+
glass: 'backdrop-blur-lg bg-white/5',
|
|
66
|
+
'compact-card': 'bg-sidebar rounded-md my-2 max-h-[95vh]',
|
|
67
|
+
bordered: 'bg-sidebar border-2 border-primary/10',
|
|
68
|
+
minimal: 'bg-background',
|
|
69
|
+
elevated: 'bg-sidebar shadow-xl rounded-lg border border-border/30',
|
|
70
|
+
},
|
|
71
|
+
side: {
|
|
72
|
+
left: 'left-0 border-r border-border',
|
|
73
|
+
right: 'right-0 border-l border-border',
|
|
74
|
+
},
|
|
75
|
+
},
|
|
76
|
+
defaultVariants: {
|
|
77
|
+
variant: 'sidebar',
|
|
78
|
+
side: 'left',
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
const DSMenuButtonVariants = cva(
|
|
82
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-all duration-200 disabled:pointer-events-none disabled:opacity-50 group-has-[[data-dual-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
83
|
+
{
|
|
84
|
+
variants: {
|
|
85
|
+
variant: {
|
|
86
|
+
default: "hover:text-primary data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
87
|
+
ghost: "hover:bg-sidebar-accent/50 hover:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent/70",
|
|
88
|
+
outline: "bg-transparent border border-sidebar-border hover:bg-sidebar-accent hover:border-sidebar-accent data-[active=true]:bg-sidebar-accent data-[active=true]:border-sidebar-accent",
|
|
89
|
+
soft: "hover:bg-sidebar-accent/30 hover:text-sidebar-accent-foreground data-[active=true]:bg-sidebar-accent/50",
|
|
90
|
+
solid: "bg-sidebar-accent/10 hover:bg-sidebar-accent data-[active=true]:bg-primary data-[active=true]:text-primary-foreground",
|
|
91
|
+
minimal: "hover:text-primary data-[active=true]:text-primary data-[active=true]:font-semibold",
|
|
92
|
+
bordered: "border-l-2 border-transparent hover:border-sidebar-accent hover:bg-sidebar-accent/20 data-[active=true]:border-primary data-[active=true]:bg-sidebar-accent",
|
|
93
|
+
pill: "rounded-full hover:bg-sidebar-accent data-[active=true]:bg-primary data-[active=true]:text-primary-foreground",
|
|
94
|
+
},
|
|
95
|
+
size: {
|
|
96
|
+
default: "h-9 text-sm px-3",
|
|
97
|
+
sm: "h-7 text-xs px-2",
|
|
98
|
+
lg: "h-11 text-base px-4 group-data-[collapsible=icon]:!p-0",
|
|
99
|
+
icon: "h-9 w-9 p-0 justify-center",
|
|
100
|
+
},
|
|
101
|
+
isActive: {
|
|
102
|
+
true: "font-medium",
|
|
103
|
+
false: "",
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
defaultVariants: {
|
|
107
|
+
variant: "default",
|
|
108
|
+
size: "default",
|
|
109
|
+
isActive: false,
|
|
110
|
+
},
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
const menuItemVariants = cva("group/menu-item relative flex items-center", {
|
|
114
|
+
variants: {
|
|
115
|
+
variant: {
|
|
116
|
+
default: "",
|
|
117
|
+
spaced: "my-0.5",
|
|
118
|
+
compact: "my-0",
|
|
119
|
+
comfortable: "my-1",
|
|
120
|
+
},
|
|
121
|
+
},
|
|
122
|
+
defaultVariants: {
|
|
123
|
+
variant: "default",
|
|
124
|
+
},
|
|
125
|
+
});
|
|
126
|
+
const menuSubButtonVariants = cva(
|
|
127
|
+
"flex h-8 min-w-0 flex-1 items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring transition-all duration-200 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-foreground",
|
|
128
|
+
{
|
|
129
|
+
variants: {
|
|
130
|
+
variant: {
|
|
131
|
+
default: "data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
132
|
+
ghost: "hover:bg-sidebar-accent/30 data-[active=true]:bg-sidebar-accent/50",
|
|
133
|
+
minimal: "hover:text-primary data-[active=true]:text-primary data-[active=true]:font-medium",
|
|
134
|
+
indent: "pl-6 hover:bg-sidebar-accent/30 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium",
|
|
135
|
+
},
|
|
136
|
+
size: {
|
|
137
|
+
default: "h-8 text-sm",
|
|
138
|
+
sm: "h-7 text-xs",
|
|
139
|
+
lg: "h-9 text-sm",
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
defaultVariants: {
|
|
143
|
+
variant: "default",
|
|
144
|
+
size: "default",
|
|
145
|
+
},
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
const menuSubItemVariants = cva("relative flex items-center", {
|
|
149
|
+
variants: {
|
|
150
|
+
variant: {
|
|
151
|
+
default: "",
|
|
152
|
+
indented: "pl-4 border-l border-sidebar-border/50 ml-2",
|
|
153
|
+
dotted: "pl-6 before:content-[''] before:absolute before:left-2 before:top-1/2 before:-translate-y-1/2 before:w-1.5 before:h-1.5 before:rounded-full before:bg-sidebar-foreground/30",
|
|
154
|
+
},
|
|
155
|
+
},
|
|
156
|
+
defaultVariants: {
|
|
157
|
+
variant: "default",
|
|
158
|
+
},
|
|
159
|
+
});
|
|
160
|
+
const menuBadgeVariants = cva(
|
|
161
|
+
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground",
|
|
162
|
+
{
|
|
163
|
+
variants: {
|
|
164
|
+
variant: {
|
|
165
|
+
default: "bg-sidebar-accent text-sidebar-accent-foreground",
|
|
166
|
+
primary: "bg-primary text-primary-foreground",
|
|
167
|
+
secondary: "bg-secondary text-secondary-foreground",
|
|
168
|
+
success: "bg-green-500/10 text-green-600 dark:text-green-400",
|
|
169
|
+
warning: "bg-yellow-500/10 text-yellow-600 dark:text-yellow-400",
|
|
170
|
+
danger: "bg-red-500/10 text-red-600 dark:text-red-400",
|
|
171
|
+
outline: "border border-sidebar-border bg-transparent",
|
|
172
|
+
ghost: "bg-sidebar-accent/30 text-sidebar-accent-foreground",
|
|
173
|
+
dot: "min-w-2 w-2 h-2 rounded-full p-0 bg-primary",
|
|
174
|
+
},
|
|
175
|
+
},
|
|
176
|
+
defaultVariants: {
|
|
177
|
+
variant: "default",
|
|
178
|
+
},
|
|
179
|
+
}
|
|
180
|
+
);
|
|
181
|
+
const groupVariants = cva("relative flex w-full min-w-0 flex-col p-2", {
|
|
182
|
+
variants: {
|
|
183
|
+
variant: {
|
|
184
|
+
default: "",
|
|
185
|
+
separated: "border-t border-sidebar-border pt-4 mt-2",
|
|
186
|
+
card: "bg-sidebar-accent/5 rounded-lg p-3 m-1",
|
|
187
|
+
bordered: "border border-sidebar-border rounded-md p-3 m-1",
|
|
188
|
+
subtle: "bg-sidebar-accent/3 p-3",
|
|
189
|
+
},
|
|
190
|
+
},
|
|
191
|
+
defaultVariants: {
|
|
192
|
+
variant: "default",
|
|
193
|
+
},
|
|
194
|
+
});
|
|
195
|
+
const groupLabelVariants = cva(
|
|
196
|
+
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opa] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
197
|
+
{
|
|
198
|
+
variants: {
|
|
199
|
+
variant: {
|
|
200
|
+
default: "",
|
|
201
|
+
prominent: "font-semibold text-sidebar-foreground uppercase tracking-wider",
|
|
202
|
+
subtle: "text-xs text-muted-foreground",
|
|
203
|
+
separated: "border-b border-sidebar-border pb-2 mb-2",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
defaultVariants: {
|
|
207
|
+
variant: "default",
|
|
208
|
+
},
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
const drawerVariants = cva("", {
|
|
212
|
+
variants: {
|
|
213
|
+
variant: {
|
|
214
|
+
default: "bg-background",
|
|
215
|
+
card: "bg-card rounded-t-xl shadow-xl",
|
|
216
|
+
glass: "backdrop-blur-xl bg-background/80 border-t border-white/10",
|
|
217
|
+
elevated: "bg-background shadow-2xl",
|
|
218
|
+
bordered: "bg-background border-t-2 border-primary/20",
|
|
219
|
+
},
|
|
220
|
+
size: {
|
|
221
|
+
default: "h-[80vh]",
|
|
222
|
+
sm: "h-[50vh]",
|
|
223
|
+
md: "h-[70vh]",
|
|
224
|
+
lg: "h-[90vh]",
|
|
225
|
+
full: "h-screen",
|
|
226
|
+
},
|
|
227
|
+
},
|
|
228
|
+
defaultVariants: {
|
|
229
|
+
variant: "default",
|
|
230
|
+
size: "default",
|
|
231
|
+
},
|
|
232
|
+
});
|
|
233
|
+
const loadingVariants = cva(
|
|
234
|
+
"flex flex-col items-center justify-center text-center p-8 min-h-[400px] h-screen bg-gradient-to-b from-background to-muted/20",
|
|
235
|
+
{
|
|
236
|
+
variants: {
|
|
237
|
+
variant: {
|
|
238
|
+
default: "",
|
|
239
|
+
minimal: "bg-transparent from-transparent to-transparent",
|
|
240
|
+
card: "bg-card rounded-lg shadow-lg max-h-[600px]",
|
|
241
|
+
centered: "h-auto min-h-[300px]",
|
|
242
|
+
},
|
|
243
|
+
size: {
|
|
244
|
+
default: "w-[256px]",
|
|
245
|
+
sm: "w-[200px]",
|
|
246
|
+
md: "w-[280px]",
|
|
247
|
+
lg: "w-[320px]",
|
|
248
|
+
full: "w-full",
|
|
249
|
+
},
|
|
250
|
+
},
|
|
251
|
+
defaultVariants: {
|
|
252
|
+
variant: "default",
|
|
253
|
+
size: "default",
|
|
254
|
+
},
|
|
255
|
+
}
|
|
256
|
+
);
|
|
257
|
+
const insetVariants = cva(
|
|
258
|
+
"relative flex flex-1 flex-col mx-auto bg-background min-w-0 flex-grow transition-[margin] duration-300",
|
|
259
|
+
{
|
|
260
|
+
variants: {
|
|
261
|
+
variant: {
|
|
262
|
+
default: "bg-background w-full h-full",
|
|
263
|
+
inset: "bg-background rounded-[15px] mt-[7px] overflow-hidden h-[calc(100vh-20px)] w-[calc(100vw-130px)",
|
|
264
|
+
card: "bg-card rounded-xl shadow-lg m-4 h-[calc(100vh-32px)]",
|
|
265
|
+
bordered: "bg-background border-2 border-border rounded-lg m-2 h-[calc(100vh-16px)]",
|
|
266
|
+
},
|
|
267
|
+
},
|
|
268
|
+
defaultVariants: {
|
|
269
|
+
variant: "default",
|
|
270
|
+
},
|
|
271
|
+
}
|
|
272
|
+
);
|
|
273
|
+
const separatorVariants = cva("mx-2 w-auto bg-sidebar-border", {
|
|
274
|
+
variants: {
|
|
275
|
+
variant: {
|
|
276
|
+
default: "h-px",
|
|
277
|
+
thick: "h-0.5",
|
|
278
|
+
dashed: "h-px border-t border-dashed border-sidebar-border bg-transparent",
|
|
279
|
+
gradient: "h-px bg-gradient-to-r from-transparent via-sidebar-border to-transparent",
|
|
280
|
+
},
|
|
281
|
+
spacing: {
|
|
282
|
+
default: "my-2",
|
|
283
|
+
sm: "my-1",
|
|
284
|
+
lg: "my-4",
|
|
285
|
+
none: "my-0",
|
|
286
|
+
},
|
|
287
|
+
},
|
|
288
|
+
defaultVariants: {
|
|
289
|
+
variant: "default",
|
|
290
|
+
spacing: "default",
|
|
291
|
+
},
|
|
292
|
+
});
|
|
293
|
+
const headerFooterVariants = cva("flex flex-col gap-2 p-2", {
|
|
294
|
+
variants: {
|
|
295
|
+
variant: {
|
|
296
|
+
default: "",
|
|
297
|
+
bordered: "border-b border-sidebar-border",
|
|
298
|
+
elevated: "shadow-sm",
|
|
299
|
+
compact: "p-1 gap-1",
|
|
300
|
+
},
|
|
301
|
+
},
|
|
302
|
+
defaultVariants: {
|
|
303
|
+
variant: "default",
|
|
304
|
+
},
|
|
305
|
+
});
|
|
306
|
+
// #enddev
|
|
307
|
+
// #dev CONTEXT TYPES & CONTEXTS
|
|
308
|
+
type DSContextProps = {
|
|
309
|
+
leftState: "expanded" | "collapsed";
|
|
310
|
+
rightState: "expanded" | "collapsed";
|
|
311
|
+
openLeft: boolean;
|
|
312
|
+
openRight: boolean;
|
|
313
|
+
setOpenLeft: (open: boolean) => void;
|
|
314
|
+
setOpenRight: (open: boolean) => void;
|
|
315
|
+
openMobile: boolean;
|
|
316
|
+
openMobileRight: boolean;
|
|
317
|
+
setOpenMobile: (open: boolean) => void;
|
|
318
|
+
setOpenMobileRight: (open: boolean) => void;
|
|
319
|
+
isMobile: boolean;
|
|
320
|
+
sidebarWidth: number;
|
|
321
|
+
toggleLeft: () => void;
|
|
322
|
+
toggleRight: () => void;
|
|
323
|
+
|
|
324
|
+
leftVariant: SidebarVariant;
|
|
325
|
+
rightVariant: SidebarVariant;
|
|
326
|
+
setLeftVariant: (variant: SidebarVariant) => void;
|
|
327
|
+
setRightVariant: (variant: SidebarVariant) => void;
|
|
328
|
+
|
|
329
|
+
isIconLeftActive: boolean;
|
|
330
|
+
setIsIconLeftActive: (open: boolean) => void;
|
|
331
|
+
iconLeftWidth: number;
|
|
332
|
+
setIconLeftWidth: (width: number) => void;
|
|
333
|
+
|
|
334
|
+
isIconRightActive: boolean;
|
|
335
|
+
setIsIconRightActive: (open: boolean) => void;
|
|
336
|
+
iconRightWidth: number;
|
|
337
|
+
setIconRightWidth: (width: number) => void;
|
|
338
|
+
|
|
339
|
+
topHeight: string;
|
|
340
|
+
setTopHeight: (height: string) => void;
|
|
341
|
+
|
|
342
|
+
bottomHeight: string;
|
|
343
|
+
setBottomHeight: (height: string) => void;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
interface DSThemeContextProps {
|
|
347
|
+
theme: DSTheme;
|
|
348
|
+
setTheme: (theme: DSTheme) => void;
|
|
349
|
+
themeVars: Record<string, string>;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
const DSContext = createContext<DSContextProps | null>(null);
|
|
353
|
+
const DSThemeContext = createContext<DSThemeContextProps | undefined>(undefined);
|
|
354
|
+
// #enddev
|
|
355
|
+
// #dev HOOKS
|
|
356
|
+
|
|
357
|
+
function useDS() {
|
|
358
|
+
const context = useContext(DSContext);
|
|
359
|
+
if (!context) throw new Error("useDS must be used within DSProvider");
|
|
360
|
+
return context;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
function useDSTheme() {
|
|
364
|
+
const ctx = useContext(DSThemeContext);
|
|
365
|
+
if (!ctx) throw new Error("useDSTheme must be used within DSProvider");
|
|
366
|
+
return ctx;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
// #enddev
|
|
370
|
+
// #dev THEME PROVIDER (Internal - used by DSProvider)
|
|
371
|
+
|
|
372
|
+
const DSThemeProvider: React.FC<{ children: React.ReactNode }> = ({ children }) => {
|
|
373
|
+
const storageKey = LOCAL_STORAGE_KEY;
|
|
374
|
+
const Context = DSThemeContext;
|
|
375
|
+
|
|
376
|
+
const [theme, setTheme] = React.useState<DSTheme>(() => {
|
|
377
|
+
if (typeof window !== "undefined") {
|
|
378
|
+
const storedTheme = localStorage.getItem(storageKey);
|
|
379
|
+
if (storedTheme && THEME_OPTIONS.includes(storedTheme as DSTheme)) {
|
|
380
|
+
return storedTheme as DSTheme;
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
return "default";
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
const themeVars = React.useMemo(() => {
|
|
387
|
+
if (theme === "default") return {};
|
|
388
|
+
return (colorThemes as any)[theme]?.[THEME_VERSION]?.dark || {};
|
|
389
|
+
}, [theme]);
|
|
390
|
+
|
|
391
|
+
React.useEffect(() => {
|
|
392
|
+
if (typeof window !== "undefined") {
|
|
393
|
+
localStorage.setItem(storageKey, theme);
|
|
394
|
+
}
|
|
395
|
+
}, [theme, storageKey]);
|
|
396
|
+
|
|
397
|
+
React.useEffect(() => {
|
|
398
|
+
if (typeof document === "undefined") return;
|
|
399
|
+
const root = document.documentElement;
|
|
400
|
+
const prefix = "--dual";
|
|
401
|
+
|
|
402
|
+
if (Object.keys(themeVars).length > 0) {
|
|
403
|
+
Object.entries(themeVars).forEach(([key, value]) => {
|
|
404
|
+
const newKey = key.replace("--sidebar", prefix);
|
|
405
|
+
root.style.setProperty(newKey, String(value));
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
return () => {
|
|
410
|
+
Object.keys(themeVars).forEach((key) => {
|
|
411
|
+
const newKey = key.replace("--sidebar", prefix);
|
|
412
|
+
root.style.removeProperty(newKey);
|
|
413
|
+
});
|
|
414
|
+
};
|
|
415
|
+
}, [themeVars]);
|
|
416
|
+
|
|
417
|
+
return <Context.Provider value={{ theme, setTheme, themeVars }}>{children}</Context.Provider>;
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
// #enddev
|
|
421
|
+
// #dev DSThemeSelector - Theme selector component
|
|
422
|
+
|
|
423
|
+
function DSThemeSelector({ size = 28, className, children }: { size?: number; className?: string; children: React.ReactNode; }) {
|
|
424
|
+
const { theme, setTheme } = useDSTheme();
|
|
425
|
+
const [open, setOpen] = React.useState(false);
|
|
426
|
+
const [flyingTheme, setFlyingTheme] = React.useState<DSTheme | null>(null);
|
|
427
|
+
const [showOverlay, setShowOverlay] = React.useState(false);
|
|
428
|
+
const [flyingButtonPos, setFlyingButtonPos] = React.useState<{ left: number; top: number } | null>(null);
|
|
429
|
+
const [mainButtonOriginalPos, setMainButtonOriginalPos] = React.useState<{ left: number; top: number } | null>(null);
|
|
430
|
+
const mainButtonRef = React.useRef<HTMLButtonElement>(null);
|
|
431
|
+
|
|
432
|
+
const radius = size * 1.6;
|
|
433
|
+
const themeList = THEME_OPTIONS;
|
|
434
|
+
const mainButtonCenterOffset = size * 1.5;
|
|
435
|
+
const mainButtonSize = size;
|
|
436
|
+
|
|
437
|
+
function getThemeColor(t: string) {
|
|
438
|
+
const themeObj = colorThemes[t as DSTheme]?.[THEME_VERSION]?.dark;
|
|
439
|
+
const primaryColor = themeObj?.["--primary"];
|
|
440
|
+
if (primaryColor) {
|
|
441
|
+
if (primaryColor.startsWith("oklch")) {
|
|
442
|
+
return primaryColor;
|
|
443
|
+
} else {
|
|
444
|
+
return `hsl(${primaryColor})`;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
return "#888";
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
const handleMainButtonClick = () => {
|
|
451
|
+
if (flyingTheme) return;
|
|
452
|
+
if (!open && mainButtonRef.current) {
|
|
453
|
+
const rect = mainButtonRef.current.getBoundingClientRect();
|
|
454
|
+
setMainButtonOriginalPos({
|
|
455
|
+
left: rect.left + rect.width / 2,
|
|
456
|
+
top: rect.top + rect.height / 2,
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
setOpen((v) => !v);
|
|
460
|
+
setShowOverlay(!open);
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
const handleThemeSelect = (t: DSTheme, event: React.MouseEvent<HTMLButtonElement>) => {
|
|
464
|
+
const button = event.currentTarget;
|
|
465
|
+
const rect = button.getBoundingClientRect();
|
|
466
|
+
|
|
467
|
+
setFlyingButtonPos({
|
|
468
|
+
left: rect.left + rect.width / 2,
|
|
469
|
+
top: rect.top + rect.height / 2,
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
setFlyingTheme(t);
|
|
473
|
+
setShowOverlay(true);
|
|
474
|
+
setOpen(false);
|
|
475
|
+
|
|
476
|
+
setTimeout(() => {
|
|
477
|
+
setTheme(t);
|
|
478
|
+
}, 300);
|
|
479
|
+
|
|
480
|
+
setTimeout(() => {
|
|
481
|
+
setShowOverlay(false);
|
|
482
|
+
setFlyingTheme(null);
|
|
483
|
+
setFlyingButtonPos(null);
|
|
484
|
+
setMainButtonOriginalPos(null);
|
|
485
|
+
}, 600);
|
|
486
|
+
};
|
|
487
|
+
|
|
488
|
+
let mainButtonStyle: React.CSSProperties = {
|
|
489
|
+
zIndex: 70,
|
|
490
|
+
};
|
|
491
|
+
|
|
492
|
+
if (open || mainButtonOriginalPos) {
|
|
493
|
+
const targetLeft = open ? window.innerWidth / 2 : mainButtonOriginalPos?.left || window.innerWidth / 2;
|
|
494
|
+
const targetTop = open ? window.innerHeight / 2 : mainButtonOriginalPos?.top || window.innerHeight / 2;
|
|
495
|
+
|
|
496
|
+
mainButtonStyle = {
|
|
497
|
+
...mainButtonStyle,
|
|
498
|
+
position: "fixed",
|
|
499
|
+
left: `${targetLeft}px`,
|
|
500
|
+
top: `${targetTop}px`,
|
|
501
|
+
transform: "translate(-50%, -50%)",
|
|
502
|
+
};
|
|
503
|
+
} else {
|
|
504
|
+
mainButtonStyle = {
|
|
505
|
+
...mainButtonStyle,
|
|
506
|
+
position: "absolute",
|
|
507
|
+
left: mainButtonCenterOffset - mainButtonSize / 2,
|
|
508
|
+
top: mainButtonCenterOffset - mainButtonSize / 2,
|
|
509
|
+
};
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
return (
|
|
513
|
+
<>
|
|
514
|
+
{showOverlay && <div
|
|
515
|
+
className="fixed inset-0 bg-black/60 transition-opacity duration-500 theme-overlay"
|
|
516
|
+
// style={{ zIndex: Z_INDEX.OVERLAY, position: 'fixed', }}
|
|
517
|
+
/>}
|
|
518
|
+
|
|
519
|
+
<div
|
|
520
|
+
className={cn("flex items-center justify-center transition-all duration-1000 theme-container", className)}
|
|
521
|
+
style={{
|
|
522
|
+
width: size * 3,
|
|
523
|
+
height: size * 3,
|
|
524
|
+
// zIndex: Z_INDEX.CONTAINER,
|
|
525
|
+
position: open ? 'static' : 'relative',
|
|
526
|
+
isolation: 'isolate',
|
|
527
|
+
}}
|
|
528
|
+
>
|
|
529
|
+
<button
|
|
530
|
+
ref={mainButtonRef}
|
|
531
|
+
onClick={handleMainButtonClick}
|
|
532
|
+
className={cn(
|
|
533
|
+
"flex items-center justify-center rounded-full bg-background shadow-lg transition-all duration-500 theme-main-button",
|
|
534
|
+
`h-[${mainButtonSize}px] w-[${mainButtonSize}px]`,
|
|
535
|
+
open ? "bg-sidebar-accent text-sidebar-accent-foreground" : "",
|
|
536
|
+
open || mainButtonOriginalPos ? "!fixed" : ""
|
|
537
|
+
)}
|
|
538
|
+
style={{
|
|
539
|
+
...mainButtonStyle,
|
|
540
|
+
// zIndex: Z_INDEX.MAIN_BUTTON,
|
|
541
|
+
}}
|
|
542
|
+
>
|
|
543
|
+
{children}
|
|
544
|
+
</button>
|
|
545
|
+
|
|
546
|
+
{themeList.map((t, i) => {
|
|
547
|
+
const angle = (360 / themeList.length) * i - 90;
|
|
548
|
+
const rad = (angle * Math.PI) / 180;
|
|
549
|
+
const radialX = Math.cos(rad) * radius;
|
|
550
|
+
const radialY = Math.sin(rad) * radius;
|
|
551
|
+
|
|
552
|
+
let currentX = 0;
|
|
553
|
+
let currentY = 0;
|
|
554
|
+
let currentScale = 0;
|
|
555
|
+
let currentOpacity = 0;
|
|
556
|
+
let currentZIndex = 10;
|
|
557
|
+
let currentDelay = open ? `${i * 90}ms` : "0ms";
|
|
558
|
+
let isFixed = false;
|
|
559
|
+
let fixedLeft = 0;
|
|
560
|
+
let fixedTop = 0;
|
|
561
|
+
|
|
562
|
+
if (flyingTheme === t) {
|
|
563
|
+
isFixed = true;
|
|
564
|
+
currentScale = 1.2;
|
|
565
|
+
currentOpacity = 1;
|
|
566
|
+
currentZIndex = 10000;
|
|
567
|
+
currentDelay = "0ms";
|
|
568
|
+
fixedLeft = window.innerWidth / 2;
|
|
569
|
+
fixedTop = window.innerHeight / 2;
|
|
570
|
+
} else if (open) {
|
|
571
|
+
isFixed = true;
|
|
572
|
+
fixedLeft = window.innerWidth / 2 + radialX;
|
|
573
|
+
fixedTop = window.innerHeight / 2 + radialY;
|
|
574
|
+
currentScale = 1;
|
|
575
|
+
currentOpacity = 1;
|
|
576
|
+
currentZIndex = 10;
|
|
577
|
+
} else if (!open && flyingTheme === null) {
|
|
578
|
+
currentX = 0;
|
|
579
|
+
currentY = 0;
|
|
580
|
+
currentScale = 0;
|
|
581
|
+
currentOpacity = 0;
|
|
582
|
+
currentZIndex = 10;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
const buttonSize = size * 1;
|
|
586
|
+
const buttonOffset = buttonSize / 2;
|
|
587
|
+
|
|
588
|
+
return (
|
|
589
|
+
<button
|
|
590
|
+
key={t}
|
|
591
|
+
style={{
|
|
592
|
+
width: buttonSize,
|
|
593
|
+
height: buttonSize,
|
|
594
|
+
...(isFixed
|
|
595
|
+
? {
|
|
596
|
+
left: `${fixedLeft}px`,
|
|
597
|
+
top: `${fixedTop}px`,
|
|
598
|
+
transform: `translate(-50%, -50%) scale(${currentScale})`,
|
|
599
|
+
}
|
|
600
|
+
: {
|
|
601
|
+
left: mainButtonCenterOffset + currentX - buttonOffset,
|
|
602
|
+
top: mainButtonCenterOffset + currentY - buttonOffset,
|
|
603
|
+
transform: `scale(${currentScale})`,
|
|
604
|
+
}),
|
|
605
|
+
// zIndex: flyingTheme === t ? Z_INDEX.FLYING_THEME : Z_INDEX.MAIN_BUTTON,
|
|
606
|
+
opacity: currentOpacity,
|
|
607
|
+
transitionDelay: currentDelay,
|
|
608
|
+
transitionTimingFunction: flyingTheme === t ? "cubic-bezier(0.8, -0.5, 0.2, 1.5)" : "ease-out"
|
|
609
|
+
}}
|
|
610
|
+
className={cn(
|
|
611
|
+
`rounded-full border bg-background shadow transition-all duration-500 flex items-center justify-center`,
|
|
612
|
+
theme === t ? "ring-2 ring-primary border-primary" : "border-muted hover:ring-2 hover:ring-primary",
|
|
613
|
+
flyingTheme === t ? "ring-4 ring-primary !fixed" : open ? "!fixed" : "absolute",
|
|
614
|
+
flyingTheme === t ? "theme-flying-theme" : "theme-buttons",
|
|
615
|
+
)}
|
|
616
|
+
aria-label={`Switch to ${t} theme`}
|
|
617
|
+
onClick={(e) => handleThemeSelect(t as DSTheme, e)}
|
|
618
|
+
disabled={!!flyingTheme}
|
|
619
|
+
>
|
|
620
|
+
<Circle style={{ color: getThemeColor(t), fill: getThemeColor(t) }} size={size * 0.3} />
|
|
621
|
+
</button>
|
|
622
|
+
);
|
|
623
|
+
})}
|
|
624
|
+
</div>
|
|
625
|
+
</>
|
|
626
|
+
);
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
// #enddev
|
|
630
|
+
// #dev SIDEBAR PROVIDER (Internal - used by DSProvider)
|
|
631
|
+
|
|
632
|
+
const DSProvider = React.forwardRef<
|
|
633
|
+
HTMLDivElement,
|
|
634
|
+
React.ComponentProps<"div"> & {
|
|
635
|
+
defaultOpenLeft?: boolean;
|
|
636
|
+
defaultOpenRight?: boolean;
|
|
637
|
+
defaultWidth?: string;
|
|
638
|
+
}
|
|
639
|
+
>(({ defaultOpenLeft = false, defaultOpenRight = false, defaultWidth = DS_WIDTH, className, style, children, ...props }, ref) => {
|
|
640
|
+
const isMobile = useIsMobile();
|
|
641
|
+
const [openMobile, setOpenMobile] = useState(false);
|
|
642
|
+
const [openMobileRight, setOpenMobileRight] = useState(false);
|
|
643
|
+
|
|
644
|
+
const [openLeft, setOpenLeft] = useState(defaultOpenLeft);
|
|
645
|
+
const [openRight, setOpenRight] = useState(defaultOpenRight);
|
|
646
|
+
|
|
647
|
+
const [leftVariant, setLeftVariant] = useState("sidebar");
|
|
648
|
+
const [rightVariant, setRightVariant] = useState("sidebar");
|
|
649
|
+
|
|
650
|
+
const [isIconLeftActive, setIsIconLeftActive] = useState(false);
|
|
651
|
+
const [iconLeftWidth, setIconLeftWidth] = useState("0px");
|
|
652
|
+
|
|
653
|
+
const [isIconRightActive, setIsIconRightActive] = useState(false);
|
|
654
|
+
const [iconRightWidth, setIconRightWidth] = useState("0px");
|
|
655
|
+
|
|
656
|
+
const [topHeight, setTopHeight] = useState("0px");
|
|
657
|
+
const [bottomHeight, setBottomHeight] = useState("0px");
|
|
658
|
+
|
|
659
|
+
const sidebarWidth = defaultWidth;
|
|
660
|
+
const cookieName = DS_COOKIE_NAME;
|
|
661
|
+
const cookieNameRight = DS_COOKIE_NAME_RIGHT;
|
|
662
|
+
|
|
663
|
+
const openL = openLeft;
|
|
664
|
+
const openR = openRight;
|
|
665
|
+
|
|
666
|
+
const toggleLeft = useCallback(() => {
|
|
667
|
+
isMobile ? setOpenMobile((p) => !p) : setOpenLeft((p) => !p);
|
|
668
|
+
document.cookie = `${cookieName}=${openL}; path=/; max-age=${DS_COOKIE_MAX_AGE}`;
|
|
669
|
+
}, [isMobile]);
|
|
670
|
+
|
|
671
|
+
const toggleRight = useCallback(() => {
|
|
672
|
+
isMobile ? setOpenMobileRight((p) => !p) : setOpenRight((p) => !p);
|
|
673
|
+
document.cookie = `${cookieNameRight}=${openR}; path=/; max-age=${DS_COOKIE_MAX_AGE}`;
|
|
674
|
+
}, [isMobile]);
|
|
675
|
+
|
|
676
|
+
useEffect(() => {
|
|
677
|
+
const shortcutLeft = DS_KEYBOARD_SHORTCUT_LEFT;
|
|
678
|
+
const handleKeyDown = (event: KeyboardEvent) => {
|
|
679
|
+
if (event.key === shortcutLeft && (event.metaKey || event.ctrlKey)) {
|
|
680
|
+
event.preventDefault();
|
|
681
|
+
// toggleLeft(prev => !prev);
|
|
682
|
+
toggleLeft();
|
|
683
|
+
}
|
|
684
|
+
};
|
|
685
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
686
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
687
|
+
}, [toggleLeft]);
|
|
688
|
+
|
|
689
|
+
useEffect(() => {
|
|
690
|
+
const shortcutRight = DS_KEYBOARD_SHORTCUT_RIGHT;
|
|
691
|
+
const handleKeyDown = (event: KeyboardEvent) => {
|
|
692
|
+
if (event.key === shortcutRight && (event.metaKey || event.ctrlKey)) {
|
|
693
|
+
event.preventDefault();
|
|
694
|
+
// toggleRight(prev => !prev);
|
|
695
|
+
toggleRight();
|
|
696
|
+
}
|
|
697
|
+
};
|
|
698
|
+
window.addEventListener("keydown", handleKeyDown);
|
|
699
|
+
return () => window.removeEventListener("keydown", handleKeyDown);
|
|
700
|
+
}, [toggleRight]);
|
|
701
|
+
|
|
702
|
+
const leftState = openL ? "expanded" : "collapsed";
|
|
703
|
+
const rightState = openR ? "expanded" : "collapsed";
|
|
704
|
+
|
|
705
|
+
const contextValue = React.useMemo<DSContextProps>(
|
|
706
|
+
() => ({
|
|
707
|
+
leftState,
|
|
708
|
+
rightState,
|
|
709
|
+
|
|
710
|
+
openLeft,
|
|
711
|
+
setOpenLeft,
|
|
712
|
+
|
|
713
|
+
openRight,
|
|
714
|
+
setOpenRight,
|
|
715
|
+
|
|
716
|
+
toggleLeft,
|
|
717
|
+
toggleRight,
|
|
718
|
+
|
|
719
|
+
isMobile,
|
|
720
|
+
|
|
721
|
+
openMobile,
|
|
722
|
+
setOpenMobile,
|
|
723
|
+
openMobileRight,
|
|
724
|
+
setOpenMobileRight,
|
|
725
|
+
|
|
726
|
+
sidebarWidth,
|
|
727
|
+
|
|
728
|
+
leftVariant,
|
|
729
|
+
setLeftVariant,
|
|
730
|
+
rightVariant,
|
|
731
|
+
setRightVariant,
|
|
732
|
+
|
|
733
|
+
isIconLeftActive,
|
|
734
|
+
setIsIconLeftActive,
|
|
735
|
+
iconLeftWidth,
|
|
736
|
+
setIconLeftWidth,
|
|
737
|
+
|
|
738
|
+
isIconRightActive,
|
|
739
|
+
setIsIconRightActive,
|
|
740
|
+
iconRightWidth,
|
|
741
|
+
setIconRightWidth,
|
|
742
|
+
|
|
743
|
+
topHeight,
|
|
744
|
+
setTopHeight,
|
|
745
|
+
bottomHeight,
|
|
746
|
+
setBottomHeight,
|
|
747
|
+
}),
|
|
748
|
+
[isMobile, openLeft, leftVariant, openRight, rightVariant, isIconLeftActive, iconLeftWidth, isIconRightActive, iconRightWidth, topHeight, bottomHeight, sidebarWidth]
|
|
749
|
+
);
|
|
750
|
+
|
|
751
|
+
const Context = DSContext;
|
|
752
|
+
|
|
753
|
+
return (
|
|
754
|
+
<NavigationProvider>
|
|
755
|
+
<DSThemeProvider>
|
|
756
|
+
<Context.Provider value={contextValue}>
|
|
757
|
+
<TooltipProvider delayDuration={0}>
|
|
758
|
+
<div
|
|
759
|
+
style={
|
|
760
|
+
{
|
|
761
|
+
"--dual-sidebar-width": sidebarWidth,
|
|
762
|
+
"--dual-sidebar-width-icon": DS_WIDTH_ICON,
|
|
763
|
+
...style,
|
|
764
|
+
} as React.CSSProperties
|
|
765
|
+
}
|
|
766
|
+
className={cn(
|
|
767
|
+
"group/dual-sidebar-wrapper flex min-h-svh w-full",
|
|
768
|
+
leftVariant === 'inset' || rightVariant === 'inset' ? "bg-sidebar" : null,
|
|
769
|
+
"w-[100vw] h-[100vh] overflow-hidden",
|
|
770
|
+
//"bg-[#111827] ",
|
|
771
|
+
className
|
|
772
|
+
)}
|
|
773
|
+
ref={ref}
|
|
774
|
+
{...props}
|
|
775
|
+
>
|
|
776
|
+
{children}
|
|
777
|
+
</div>
|
|
778
|
+
</TooltipProvider>
|
|
779
|
+
</Context.Provider>
|
|
780
|
+
</DSThemeProvider>
|
|
781
|
+
</NavigationProvider>
|
|
782
|
+
);
|
|
783
|
+
});
|
|
784
|
+
DSProvider.displayName = "DSProvider";
|
|
785
|
+
|
|
786
|
+
// #enddev
|
|
787
|
+
// #dev INSET
|
|
788
|
+
|
|
789
|
+
const DSInset = React.forwardRef<HTMLDivElement, React.ComponentProps<"main">>(({ children, variant = "default", className, ...props }, ref) => {
|
|
790
|
+
const { openLeft, openRight, sidebarWidth, leftVariant, rightVariant, isIconLeftActive, iconLeftWidth, isIconRightActive, iconRightWidth, topHeight, bottomHeight } = useDS();
|
|
791
|
+
let paddingTop = topHeight;
|
|
792
|
+
let paddingBottom = bottomHeight;
|
|
793
|
+
let marginLeft = "0px";
|
|
794
|
+
let marginRight = "0px";
|
|
795
|
+
let leftWidth = sidebarWidth;
|
|
796
|
+
let rightWidth = sidebarWidth;
|
|
797
|
+
const closedGap = "8px";
|
|
798
|
+
|
|
799
|
+
if (isIconLeftActive) {
|
|
800
|
+
leftWidth = `calc(${iconLeftWidth} + ${sidebarWidth})`;
|
|
801
|
+
}
|
|
802
|
+
if (isIconRightActive) {
|
|
803
|
+
rightWidth = `calc(${iconRightWidth} + ${sidebarWidth})`;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
if (isIconLeftActive) {
|
|
807
|
+
marginLeft = iconLeftWidth;
|
|
808
|
+
} else {
|
|
809
|
+
marginLeft = closedGap;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
if (isIconRightActive) {
|
|
813
|
+
marginRight = iconRightWidth;
|
|
814
|
+
} else {
|
|
815
|
+
marginRight = closedGap;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
if (openLeft && (leftVariant === "sidebar" || leftVariant === "inset")) {
|
|
819
|
+
marginLeft = leftWidth;
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
if (openRight && (rightVariant === "sidebar" || rightVariant === "inset")) {
|
|
823
|
+
marginRight = `calc(${rightWidth} + 17px)`;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
let maxWidth = "none"; // Default value
|
|
827
|
+
if (isIconLeftActive) marginLeft = `calc(${marginLeft} + 12px)`;
|
|
828
|
+
if (isIconLeftActive && isIconRightActive && (leftVariant === "inset" || rightVariant === "inset")) {
|
|
829
|
+
maxWidth = `calc(100vw - ${iconLeftWidth} - ${iconRightWidth} - 28px)`;
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
const insetClass = "bg-background rounded-[15px] mt-[7px] overflow-hidden h-[calc(100vh-20px)] w-[calc(100vw-130px) relative flex flex-1 flex-col overflow-hidden";
|
|
833
|
+
const defaultVisualClasses = "bg-background w-full h-full";
|
|
834
|
+
const floatingClass = "";
|
|
835
|
+
const sidebarClass = "";
|
|
836
|
+
return (
|
|
837
|
+
<main
|
|
838
|
+
ref={ref}
|
|
839
|
+
/**className={cn(
|
|
840
|
+
"relative flex flex-1 flex-col mx-auto bg-background min-w-0 flex-grow",
|
|
841
|
+
"transition-[margin] duration-300",
|
|
842
|
+
leftVariant === "inset" || rightVariant === "inset" ? insetClass : defaultVisualClasses,
|
|
843
|
+
"flex-1 transition-all duration-300",
|
|
844
|
+
|
|
845
|
+
className
|
|
846
|
+
)} */
|
|
847
|
+
className={cn(
|
|
848
|
+
insetVariants({ variant }),
|
|
849
|
+
className
|
|
850
|
+
)}
|
|
851
|
+
style={{
|
|
852
|
+
marginLeft,
|
|
853
|
+
marginRight,
|
|
854
|
+
paddingTop,
|
|
855
|
+
paddingBottom,
|
|
856
|
+
maxWidth,
|
|
857
|
+
}}
|
|
858
|
+
{...props}
|
|
859
|
+
>
|
|
860
|
+
{children}
|
|
861
|
+
</main>
|
|
862
|
+
);
|
|
863
|
+
});
|
|
864
|
+
DSInset.displayName = "DSInset";
|
|
865
|
+
|
|
866
|
+
// #enddev
|
|
867
|
+
// #dev DSLeft - Left Sidebar Component
|
|
868
|
+
|
|
869
|
+
const DSLeft = React.forwardRef<
|
|
870
|
+
HTMLDivElement,
|
|
871
|
+
React.ComponentProps<"div"> & {
|
|
872
|
+
variant?: SidebarVariant;
|
|
873
|
+
collapsible?: SidebarCollapsible;
|
|
874
|
+
loadingUI?: boolean;
|
|
875
|
+
}
|
|
876
|
+
>(({ variant = "sidebar", collapsible = "offcanvas", className, children, loadingUI = true, ...props }, ref) => {
|
|
877
|
+
const { isMobile, leftState, openMobile, setOpenMobile, openLeft, sidebarWidth, setLeftVariant, isIconLeftActive, setIsIconLeftActive, iconLeftWidth, setIconLeftWidth } = useDS();
|
|
878
|
+
|
|
879
|
+
const navigation = useNavigation();
|
|
880
|
+
const [hasInitialLoaded, setHasInitialLoaded] = useState(false);
|
|
881
|
+
|
|
882
|
+
useEffect(() => {
|
|
883
|
+
setLeftVariant(variant);
|
|
884
|
+
}, [variant, setLeftVariant]);
|
|
885
|
+
|
|
886
|
+
useEffect(() => {
|
|
887
|
+
if (navigation.state === "idle" && !hasInitialLoaded) {
|
|
888
|
+
setHasInitialLoaded(true);
|
|
889
|
+
}
|
|
890
|
+
}, [navigation.state, hasInitialLoaded]);
|
|
891
|
+
|
|
892
|
+
const showLoading = loadingUI && navigation.state === "loading" && !hasInitialLoaded;
|
|
893
|
+
|
|
894
|
+
if (collapsible === "none") {
|
|
895
|
+
return (
|
|
896
|
+
<div className={cn("flex h-full w-[--dual-sidebar-width] flex-col bg-sidebar text-sidebar-foreground", className)} ref={ref} {...props}>
|
|
897
|
+
{showLoading ? <DSLoading /> : children}
|
|
898
|
+
</div>
|
|
899
|
+
);
|
|
900
|
+
}
|
|
901
|
+
if (isMobile) {
|
|
902
|
+
return (
|
|
903
|
+
<Sheet open={openMobile} onOpenChange={setOpenMobile} {...props}>
|
|
904
|
+
<SheetContent data-dual-sidebar="sidebar" data-mobile="true" className="w-[--dual-sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden" style={{ "--dual-sidebar-width": DS_WIDTH_MOBILE } as React.CSSProperties} side="left">
|
|
905
|
+
<SheetHeader className="sr-only">
|
|
906
|
+
<SheetTitle>Sidebar</SheetTitle>
|
|
907
|
+
<SheetDescription>Displays the mobile sidebar.</SheetDescription>
|
|
908
|
+
</SheetHeader>
|
|
909
|
+
<div className="flex h-full w-full flex-col">{showLoading ? <DSLoading /> : children}</div>
|
|
910
|
+
</SheetContent>
|
|
911
|
+
</Sheet>
|
|
912
|
+
);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
// const baseClasses = `fixed inset-y-0 left-1 z-20 w-72 bg-sidebar rounded-[15px] flex flex-col transition-transform duration-300 shadow-2xl`;
|
|
916
|
+
const closedOffset = "8px";
|
|
917
|
+
const iconOffset = isIconLeftActive ? iconLeftWidth : "0px";
|
|
918
|
+
const transformClass = openLeft ? "translate-x-0" : "translate-x-[calc(-100%-4px)]";
|
|
919
|
+
return (
|
|
920
|
+
<div
|
|
921
|
+
className={cn(
|
|
922
|
+
dsVariants({ variant, side: "left" }),
|
|
923
|
+
transformClass,
|
|
924
|
+
!isIconLeftActive && "left-0",
|
|
925
|
+
className
|
|
926
|
+
)}
|
|
927
|
+
style={{
|
|
928
|
+
width: sidebarWidth,
|
|
929
|
+
"--dual-sidebar-width-icon": DS_WIDTH_ICON,
|
|
930
|
+
left: isIconLeftActive ? iconOffset : undefined,
|
|
931
|
+
transform: openLeft ? "translateX(0)" : `translateX(calc(-100% - ${closedOffset}))`,
|
|
932
|
+
}}
|
|
933
|
+
{...props}
|
|
934
|
+
>
|
|
935
|
+
{showLoading ? <DSLoading /> : children}
|
|
936
|
+
</div>
|
|
937
|
+
);
|
|
938
|
+
});
|
|
939
|
+
DSLeft.displayName = "DSLeft";
|
|
940
|
+
|
|
941
|
+
// #enddev
|
|
942
|
+
// #dev DSLeftIcon - Fixed Icon Sidebar
|
|
943
|
+
|
|
944
|
+
const DSLeftIcon = React.forwardRef<
|
|
945
|
+
HTMLDivElement,
|
|
946
|
+
React.ComponentProps<"div"> & {
|
|
947
|
+
// We assume the desired width is DS_WIDTH_ICON or similar constant
|
|
948
|
+
iconWidth?: string;
|
|
949
|
+
variant?: SidebarVariant;
|
|
950
|
+
|
|
951
|
+
}
|
|
952
|
+
>(({ iconWidth = DS_WIDTH_ICON, variant = "sidebar", className, children, ...props }, ref) => {
|
|
953
|
+
// 1. Communicate its existence and width to the context (NEW STATE)
|
|
954
|
+
const { setIsIconLeftActive, setIconLeftWidth, leftVariant } = useDS(); // Assumes new context setters
|
|
955
|
+
|
|
956
|
+
// Set context state on mount/unmount
|
|
957
|
+
useEffect(() => {
|
|
958
|
+
setIsIconLeftActive(true);
|
|
959
|
+
setIconLeftWidth(iconWidth);
|
|
960
|
+
return () => {
|
|
961
|
+
setIsIconLeftActive(false);
|
|
962
|
+
setIconLeftWidth("0px");
|
|
963
|
+
};
|
|
964
|
+
}, [iconWidth, setIsIconLeftActive, setIconLeftWidth]);
|
|
965
|
+
|
|
966
|
+
return (
|
|
967
|
+
<div
|
|
968
|
+
ref={ref}
|
|
969
|
+
/** className={cn(
|
|
970
|
+
leftVariant === "inset" ? "bg-sidebar" : "bg-background",
|
|
971
|
+
"fixed inset-y-0 left-0 z-20 hidden h-svh flex-col md:flex",
|
|
972
|
+
// Transition/width applied via style
|
|
973
|
+
className
|
|
974
|
+
)} */
|
|
975
|
+
className={cn(
|
|
976
|
+
iconDSVariants({ variant: leftVariant, side: "left" }),
|
|
977
|
+
className
|
|
978
|
+
)}
|
|
979
|
+
style={
|
|
980
|
+
{
|
|
981
|
+
// Set the width for this specific component
|
|
982
|
+
"--dual-sidebar-icon-width-fixed": iconWidth,
|
|
983
|
+
width: iconWidth, // Apply width directly
|
|
984
|
+
} as React.CSSProperties
|
|
985
|
+
}
|
|
986
|
+
data-side="left-icon"
|
|
987
|
+
{...props}
|
|
988
|
+
>
|
|
989
|
+
<div
|
|
990
|
+
className="flex h-full w-full flex-col bg-sidebar border-r border-border" // Add a right border
|
|
991
|
+
>
|
|
992
|
+
{children}
|
|
993
|
+
</div>
|
|
994
|
+
</div>
|
|
995
|
+
);
|
|
996
|
+
});
|
|
997
|
+
DSLeftIcon.displayName = "DSLeftIcon";
|
|
998
|
+
|
|
999
|
+
// #enddev
|
|
1000
|
+
// #dev DSRight - Right Sidebar Component
|
|
1001
|
+
|
|
1002
|
+
const DSRight = React.forwardRef<
|
|
1003
|
+
HTMLDivElement,
|
|
1004
|
+
React.ComponentProps<"div"> & {
|
|
1005
|
+
variant?: SidebarVariant;
|
|
1006
|
+
collapsible?: SidebarCollapsible;
|
|
1007
|
+
loadingUI?: boolean;
|
|
1008
|
+
}
|
|
1009
|
+
>(({ variant = "sidebar", collapsible = "offcanvas", className, children, loadingUI = true, ...props }, ref) => {
|
|
1010
|
+
const { isMobile, rightState, openMobileRight, setOpenMobileRight, openRight, sidebarWidth, setRightVariant, isIconRightActive, setIsIconRightActive, iconRightWidth, setIconRightWidth } = useDS();
|
|
1011
|
+
const navigation = useNavigation();
|
|
1012
|
+
const [hasInitialLoaded, setHasInitialLoaded] = useState(false);
|
|
1013
|
+
|
|
1014
|
+
useEffect(() => {
|
|
1015
|
+
setRightVariant(variant);
|
|
1016
|
+
}, [variant, setRightVariant]);
|
|
1017
|
+
|
|
1018
|
+
React.useEffect(() => {
|
|
1019
|
+
if (navigation.state === "idle" && !hasInitialLoaded) {
|
|
1020
|
+
setHasInitialLoaded(true);
|
|
1021
|
+
}
|
|
1022
|
+
}, [navigation.state, hasInitialLoaded]);
|
|
1023
|
+
|
|
1024
|
+
// Show loading only during initial load if loadingUI is enabled
|
|
1025
|
+
const showLoading = loadingUI && navigation.state === "loading" && !hasInitialLoaded;
|
|
1026
|
+
|
|
1027
|
+
if (collapsible === "none") {
|
|
1028
|
+
return (
|
|
1029
|
+
<div className={cn("flex h-full w-[--dual-sidebar-width] flex-col bg-sidebar text-sidebar-foreground", className)} ref={ref} {...props}>
|
|
1030
|
+
{showLoading ? <DSLoading /> : children}
|
|
1031
|
+
</div>
|
|
1032
|
+
);
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
if (isMobile) {
|
|
1036
|
+
return (
|
|
1037
|
+
<Sheet open={openMobileRight} onOpenChange={setOpenMobileRight} {...props}>
|
|
1038
|
+
<SheetContent
|
|
1039
|
+
data-dual-sidebar="sidebar"
|
|
1040
|
+
data-mobile="true"
|
|
1041
|
+
className="w-[--dual-sidebar-width] bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden"
|
|
1042
|
+
style={{ "--dual-sidebar-width": DS_WIDTH_MOBILE } as React.CSSProperties}
|
|
1043
|
+
side="right"
|
|
1044
|
+
>
|
|
1045
|
+
<SheetHeader className="sr-only">
|
|
1046
|
+
<SheetTitle>Sidebar</SheetTitle>
|
|
1047
|
+
<SheetDescription>Displays the mobile sidebar.</SheetDescription>
|
|
1048
|
+
</SheetHeader>
|
|
1049
|
+
<div className="flex h-full w-full flex-col">{showLoading ? <DSLoading /> : children}</div>
|
|
1050
|
+
</SheetContent>
|
|
1051
|
+
</Sheet>
|
|
1052
|
+
);
|
|
1053
|
+
}
|
|
1054
|
+
const closedOffset = "8px";
|
|
1055
|
+
const iconOffset = isIconRightActive ? iconRightWidth : "0px";
|
|
1056
|
+
const baseClasses = `fixed inset-y-0 right-1 z-20 w-72 bg-sidebar rounded-[15px] flex flex-col transition-transform duration-300 shadow-2xl`;
|
|
1057
|
+
const transformClass = openRight ? "translate-x-0" : "translte-x-[calc(100%+4px)]"; // Hide completely + offset for parent margin/bordera
|
|
1058
|
+
|
|
1059
|
+
return (
|
|
1060
|
+
<div
|
|
1061
|
+
//className={cn(baseClasses, transformClass, !isIconRightActive && "right-0", className)}
|
|
1062
|
+
className={cn(
|
|
1063
|
+
dsVariants({ variant, side: "right" }),
|
|
1064
|
+
transformClass,
|
|
1065
|
+
!isIconRightActive && "right-0",
|
|
1066
|
+
className
|
|
1067
|
+
)}
|
|
1068
|
+
style={{
|
|
1069
|
+
width: sidebarWidth,
|
|
1070
|
+
"--dual-sidebar-width-icon": DS_WIDTH_ICON,
|
|
1071
|
+
right: isIconRightActive ? iconOffset : undefined,
|
|
1072
|
+
transform: openRight ? "translateX(0)" : `translateX(calc(100% + ${closedOffset}))`,
|
|
1073
|
+
}}
|
|
1074
|
+
{...props}
|
|
1075
|
+
>
|
|
1076
|
+
{showLoading ? <DSLoading /> : children}
|
|
1077
|
+
</div>
|
|
1078
|
+
);
|
|
1079
|
+
});
|
|
1080
|
+
DSRight.displayName = "DSRight";
|
|
1081
|
+
|
|
1082
|
+
// #enddev
|
|
1083
|
+
// #dev DSRightIcon - Fixed Icon Sidebar
|
|
1084
|
+
|
|
1085
|
+
const DSRightIcon = React.forwardRef<
|
|
1086
|
+
HTMLDivElement,
|
|
1087
|
+
React.ComponentProps<"div"> & {
|
|
1088
|
+
// We assume the desired width is DS_WIDTH_ICON or similar constant
|
|
1089
|
+
iconWidth?: string;
|
|
1090
|
+
variant?: SidebarVariant;
|
|
1091
|
+
}
|
|
1092
|
+
>(({ iconWidth = DS_WIDTH_ICON, variant = "sidebar", className, children, ...props }, ref) => {
|
|
1093
|
+
// 1. Communicate its existence and width to the context (NEW STATE)
|
|
1094
|
+
const { setIsIconRightActive, setIconRightWidth, rightVariant } = useDS(); // Assumes new context setters
|
|
1095
|
+
|
|
1096
|
+
// Set context state on mount/unmount
|
|
1097
|
+
useEffect(() => {
|
|
1098
|
+
setIsIconRightActive(true);
|
|
1099
|
+
setIconRightWidth(iconWidth);
|
|
1100
|
+
return () => {
|
|
1101
|
+
setIsIconRightActive(false);
|
|
1102
|
+
setIconRightWidth("0px");
|
|
1103
|
+
};
|
|
1104
|
+
}, [iconWidth, setIsIconRightActive, setIconRightWidth]);
|
|
1105
|
+
|
|
1106
|
+
return (
|
|
1107
|
+
<div
|
|
1108
|
+
ref={ref}
|
|
1109
|
+
/**className={cn(
|
|
1110
|
+
// rightVariant === 'inset' ? 'bg-sidebar' : 'bg-background',
|
|
1111
|
+
"fixed inset-y-0 right-0 z-20 hidden h-svh flex-col md:flex",
|
|
1112
|
+
// Transition/width applied via style
|
|
1113
|
+
className
|
|
1114
|
+
)} */
|
|
1115
|
+
className={cn(
|
|
1116
|
+
iconDSVariants({ variant: rightVariant, side: "right" }),
|
|
1117
|
+
className
|
|
1118
|
+
)}
|
|
1119
|
+
style={
|
|
1120
|
+
{
|
|
1121
|
+
// Set the width for this specific component
|
|
1122
|
+
"--dual-sidebar-icon-width-fixed": iconWidth,
|
|
1123
|
+
width: iconWidth, // Apply width directly
|
|
1124
|
+
} as React.CSSProperties
|
|
1125
|
+
}
|
|
1126
|
+
data-side="right-icon"
|
|
1127
|
+
{...props}
|
|
1128
|
+
>
|
|
1129
|
+
<div
|
|
1130
|
+
className="flex h-full w-full flex-col bg-sidebar border-l border-border" // Add a right border
|
|
1131
|
+
>
|
|
1132
|
+
{children}
|
|
1133
|
+
</div>
|
|
1134
|
+
</div>
|
|
1135
|
+
);
|
|
1136
|
+
});
|
|
1137
|
+
DSRightIcon.displayName = "DSRightIcon";
|
|
1138
|
+
|
|
1139
|
+
// #enddev
|
|
1140
|
+
// #dev DSTrigger - Toggle button for sidebars
|
|
1141
|
+
|
|
1142
|
+
function DSBurger({ opened, size = "md", color = "currentColor", onClick }: any) {
|
|
1143
|
+
const [internalOpened, setInternalOpened] = React.useState(false);
|
|
1144
|
+
const isOpened = opened !== undefined ? opened : internalOpened;
|
|
1145
|
+
|
|
1146
|
+
const sizeClasses = {
|
|
1147
|
+
sm: "w-4 h-4",
|
|
1148
|
+
md: "w-6 h-6",
|
|
1149
|
+
lg: "w-8 h-8",
|
|
1150
|
+
xl: "w-10 h-10",
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1153
|
+
const lineHeight = {
|
|
1154
|
+
sm: "2px",
|
|
1155
|
+
md: "2px",
|
|
1156
|
+
lg: "3px",
|
|
1157
|
+
xl: "3px",
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
const handleClick = () => {
|
|
1161
|
+
if (opened === undefined) {
|
|
1162
|
+
setInternalOpened(!internalOpened);
|
|
1163
|
+
}
|
|
1164
|
+
onClick?.();
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
return (
|
|
1168
|
+
<button className={cn("relative cursor-pointer bg-transparent border-none p-0", sizeClasses[size])} style={{ color }} onClick={handleClick} aria-label={isOpened ? "Close menu" : "Open menu"}>
|
|
1169
|
+
<span
|
|
1170
|
+
className={cn("absolute left-0 block transition-all duration-300 ease-in-out rounded-full bg-current")}
|
|
1171
|
+
style={{
|
|
1172
|
+
width: "100%",
|
|
1173
|
+
height: lineHeight[size],
|
|
1174
|
+
top: "50%",
|
|
1175
|
+
transformOrigin: "center",
|
|
1176
|
+
transform: isOpened ? "translateY(-50%) rotate(45deg)" : "translateY(-50%) translateY(-6px)",
|
|
1177
|
+
}}
|
|
1178
|
+
/>
|
|
1179
|
+
<span
|
|
1180
|
+
className={cn("absolute left-0 top-1/2 block transition-all duration-300 ease-in-out rounded-full bg-current")}
|
|
1181
|
+
style={{
|
|
1182
|
+
width: "100%",
|
|
1183
|
+
height: lineHeight[size],
|
|
1184
|
+
opacity: isOpened ? 0 : 1,
|
|
1185
|
+
transform: "translateY(-50%)",
|
|
1186
|
+
transformOrigin: "center",
|
|
1187
|
+
}}
|
|
1188
|
+
/>
|
|
1189
|
+
<span
|
|
1190
|
+
className={cn("absolute left-0 block transition-all duration-300 ease-in-out rounded-full bg-current")}
|
|
1191
|
+
style={{
|
|
1192
|
+
width: "100%",
|
|
1193
|
+
height: lineHeight[size],
|
|
1194
|
+
top: "50%",
|
|
1195
|
+
transformOrigin: "center",
|
|
1196
|
+
transform: isOpened ? "translateY(-50%) rotate(-45deg)" : "translateY(-50%) translateY(6px)",
|
|
1197
|
+
}}
|
|
1198
|
+
/>
|
|
1199
|
+
</button>
|
|
1200
|
+
);
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
const DSTrigger = React.forwardRef<React.ElementRef<typeof Button>, React.ComponentProps<typeof Button> & { side?: "left" | "right" }>(({ side = "left", className, onClick, ...props }, ref) => {
|
|
1204
|
+
const { toggleLeft, toggleRight, openLeft, openRight } = useDS();
|
|
1205
|
+
const open = side === "left" ? openLeft : openRight;
|
|
1206
|
+
const handleClick = () => {
|
|
1207
|
+
if (side === "left") {
|
|
1208
|
+
toggleLeft();
|
|
1209
|
+
} else {
|
|
1210
|
+
toggleRight();
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
return (
|
|
1214
|
+
<Button
|
|
1215
|
+
ref={ref}
|
|
1216
|
+
data-dual-sidebar="trigger"
|
|
1217
|
+
variant="ghost"
|
|
1218
|
+
size="icon"
|
|
1219
|
+
className={cn("h-7 w-7", className)}
|
|
1220
|
+
onClick={(event) => {
|
|
1221
|
+
onClick?.(event);
|
|
1222
|
+
handleClick();
|
|
1223
|
+
}}
|
|
1224
|
+
{...props}
|
|
1225
|
+
>
|
|
1226
|
+
<DSBurger opened={open} />
|
|
1227
|
+
<span className="sr-only">Toggle Sidebar</span>
|
|
1228
|
+
</Button>
|
|
1229
|
+
);
|
|
1230
|
+
});
|
|
1231
|
+
DSTrigger.displayName = "DSTrigger";
|
|
1232
|
+
|
|
1233
|
+
// #enddev
|
|
1234
|
+
// #dev DSRAIL
|
|
1235
|
+
|
|
1236
|
+
const DSLeftRail = React.forwardRef<HTMLButtonElement, React.ComponentProps<"button"> & { side?: SidebarSide }>(({ side = "left", className, ...props }, ref) => {
|
|
1237
|
+
const { toggleLeft } = useDS();
|
|
1238
|
+
|
|
1239
|
+
return (
|
|
1240
|
+
<button
|
|
1241
|
+
ref={ref}
|
|
1242
|
+
data-dual-sidebar="rail"
|
|
1243
|
+
aria-label="Toggle Sidebar"
|
|
1244
|
+
tabIndex={-1}
|
|
1245
|
+
onClick={toggleLeft}
|
|
1246
|
+
title="Toggle Sidebar"
|
|
1247
|
+
className={cn(
|
|
1248
|
+
"absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border -right-4 ",
|
|
1249
|
+
"cursor-w-resize",
|
|
1250
|
+
"group-data-[state=collapsed]:cursor-e-resize",
|
|
1251
|
+
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar",
|
|
1252
|
+
"group-data-[collapsible=offcanvas]:-right-2",
|
|
1253
|
+
className
|
|
1254
|
+
)}
|
|
1255
|
+
{...props}
|
|
1256
|
+
/>
|
|
1257
|
+
);
|
|
1258
|
+
});
|
|
1259
|
+
DSLeftRail.displayName = "DSLeftRail";
|
|
1260
|
+
|
|
1261
|
+
const DSRightRail = React.forwardRef<HTMLButtonElement, React.ComponentProps<"button"> & { side?: "left" | "right" }>(({ side = "right", className, ...props }, ref) => {
|
|
1262
|
+
const { toggleRight } = useDS();
|
|
1263
|
+
|
|
1264
|
+
return (
|
|
1265
|
+
<button
|
|
1266
|
+
ref={ref}
|
|
1267
|
+
data-dual-sidebar="rail"
|
|
1268
|
+
aria-label="Toggle Sidebar"
|
|
1269
|
+
tabIndex={-1}
|
|
1270
|
+
onClick={toggleRight}
|
|
1271
|
+
title="Toggle Sidebar"
|
|
1272
|
+
className={cn(
|
|
1273
|
+
"absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-sidebar-border left-0 sm:flex",
|
|
1274
|
+
"cursor-e-resize",
|
|
1275
|
+
"group-data-[state=collapsed]:cursor-w-resize",
|
|
1276
|
+
"group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full group-data-[collapsible=offcanvas]:hover:bg-sidebar",
|
|
1277
|
+
"group-data-[data-collapsible=offcanvas]:-left-2",
|
|
1278
|
+
className
|
|
1279
|
+
)}
|
|
1280
|
+
{...props}
|
|
1281
|
+
/>
|
|
1282
|
+
);
|
|
1283
|
+
});
|
|
1284
|
+
DSRightRail.displayName = "DSRightRail";
|
|
1285
|
+
// #enddev
|
|
1286
|
+
// #dev DS Sub-components (Header, Footer, Content)
|
|
1287
|
+
|
|
1288
|
+
const DSHeader = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => {
|
|
1289
|
+
return (
|
|
1290
|
+
<div
|
|
1291
|
+
ref={ref}
|
|
1292
|
+
data-dual-sidebar="header"
|
|
1293
|
+
className={cn(
|
|
1294
|
+
"flex flex-col gap-2 p-2",
|
|
1295
|
+
"group-data-[variant=floating]:bg-sidebar group-data-[variant=floating]:text-sidebar-foreground",
|
|
1296
|
+
"group-data-[variant=sidebar]:bg-sidebar group-data-[variant=sidebar]:text-sidebar-foreground",
|
|
1297
|
+
className
|
|
1298
|
+
)}
|
|
1299
|
+
{...props}
|
|
1300
|
+
/>
|
|
1301
|
+
);
|
|
1302
|
+
});
|
|
1303
|
+
DSHeader.displayName = "DSHeader";
|
|
1304
|
+
|
|
1305
|
+
const DSFooter = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => {
|
|
1306
|
+
return (
|
|
1307
|
+
<div
|
|
1308
|
+
ref={ref}
|
|
1309
|
+
data-dual-sidebar="footer"
|
|
1310
|
+
className={cn(
|
|
1311
|
+
"flex flex-col gap-2 p-2",
|
|
1312
|
+
"group-data-[variant=floating]:bg-sidebar group-data-[variant=floating]:text-sidebar-foreground",
|
|
1313
|
+
"group-data-[variant=sidebar]:bg-sidebar group-data-[variant=sidebar]:text-sidebar-foreground",
|
|
1314
|
+
className
|
|
1315
|
+
)}
|
|
1316
|
+
{...props}
|
|
1317
|
+
/>
|
|
1318
|
+
);
|
|
1319
|
+
});
|
|
1320
|
+
DSFooter.displayName = "DSFooter";
|
|
1321
|
+
|
|
1322
|
+
const DSSeparator = React.forwardRef<React.ElementRef<typeof Separator>, React.ComponentProps<typeof Separator>>(({ className, ...props }, ref) => {
|
|
1323
|
+
return <Separator ref={ref} data-dual-sidebar="separator" className={cn("mx-2 w-auto bg-sidebar-border", className)} {...props} />;
|
|
1324
|
+
});
|
|
1325
|
+
DSSeparator.displayName = "DSSeparator";
|
|
1326
|
+
|
|
1327
|
+
const DSContent = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => {
|
|
1328
|
+
return (
|
|
1329
|
+
<div
|
|
1330
|
+
ref={ref}
|
|
1331
|
+
data-dual-sidebar="content"
|
|
1332
|
+
className={cn(
|
|
1333
|
+
"flex min-h-0 flex-1 flex-col gap-2 overflow-y-auto overflow-x-hidden group-data-[collapsible=icon]:overflow-hidden",
|
|
1334
|
+
"group-data-[variant=floating]:bg-sidebar group-data-[variant=floating]:text-sidebar-foreground",
|
|
1335
|
+
"group-data-[variant=sidebar]:bg-sidebar group-data-[variant=sidebar]:text-sidebar-foreground",
|
|
1336
|
+
className
|
|
1337
|
+
)}
|
|
1338
|
+
{...props}
|
|
1339
|
+
/>
|
|
1340
|
+
);
|
|
1341
|
+
});
|
|
1342
|
+
DSContent.displayName = "DSContent";
|
|
1343
|
+
|
|
1344
|
+
const DSInput = React.forwardRef<React.ElementRef<typeof Input>, React.ComponentProps<typeof Input>>(({ className, ...props }, ref) => {
|
|
1345
|
+
return <Input ref={ref} data-dual-sidebar="input" className={cn("h-8 w-full bg-background shadow-none focus-visible:ring-2 focus-visible:ring-sidebar-ring", className)} {...props} />;
|
|
1346
|
+
});
|
|
1347
|
+
DSInput.displayName = "DSInput";
|
|
1348
|
+
|
|
1349
|
+
// #enddev
|
|
1350
|
+
// #dev DS Sub-components group
|
|
1351
|
+
|
|
1352
|
+
const DSGroup = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => {
|
|
1353
|
+
return <div ref={ref} data-dual-sidebar="group" className={cn("relative flex w-full min-w-0 flex-col p-2", className)} {...props} />;
|
|
1354
|
+
});
|
|
1355
|
+
DSGroup.displayName = "DSGroup";
|
|
1356
|
+
|
|
1357
|
+
const DSGroupLabel = React.forwardRef<HTMLDivElement, React.ComponentProps<"div"> & { asChild?: boolean }>(({ className, asChild = false, ...props }, ref) => {
|
|
1358
|
+
const Comp = asChild ? Slot : "div";
|
|
1359
|
+
return (
|
|
1360
|
+
<Comp
|
|
1361
|
+
ref={ref}
|
|
1362
|
+
data-dual-sidebar="group-label"
|
|
1363
|
+
className={cn(
|
|
1364
|
+
"flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 outline-none ring-sidebar-ring transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1365
|
+
"group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
|
|
1366
|
+
className
|
|
1367
|
+
)}
|
|
1368
|
+
{...props}
|
|
1369
|
+
/>
|
|
1370
|
+
);
|
|
1371
|
+
});
|
|
1372
|
+
DSGroupLabel.displayName = "DSGroupLabel";
|
|
1373
|
+
|
|
1374
|
+
const DSGroupAction = React.forwardRef<HTMLButtonElement, React.ComponentProps<"button"> & { asChild?: boolean }>(({ className, asChild = false, ...props }, ref) => {
|
|
1375
|
+
const Comp = asChild ? Slot : "button";
|
|
1376
|
+
|
|
1377
|
+
return (
|
|
1378
|
+
<Comp
|
|
1379
|
+
ref={ref}
|
|
1380
|
+
data-dual-sidebar="group-action"
|
|
1381
|
+
className={cn(
|
|
1382
|
+
"absolute right-3 top-3.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1383
|
+
"after:absolute after:-inset-2 after:md:hidden",
|
|
1384
|
+
"group-data-[collapsible=icon]:hidden",
|
|
1385
|
+
className
|
|
1386
|
+
)}
|
|
1387
|
+
{...props}
|
|
1388
|
+
/>
|
|
1389
|
+
);
|
|
1390
|
+
});
|
|
1391
|
+
DSGroupAction.displayName = "DSGroupAction";
|
|
1392
|
+
|
|
1393
|
+
const DSGroupContent = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => <div ref={ref} data-dual-sidebar="group-content" className={cn("w-full text-sm", className)} {...props} />);
|
|
1394
|
+
DSGroupContent.displayName = "DSGroupContent";
|
|
1395
|
+
|
|
1396
|
+
// #enddev
|
|
1397
|
+
// #dev MENU
|
|
1398
|
+
const DSMenu = React.forwardRef<HTMLUListElement, React.ComponentProps<"ul">>(({ className, ...props }, ref) => <ul ref={ref} data-dual-sidebar="menu" className={cn("flex w-full min-w-0 flex-col gap-1", className)} {...props} />);
|
|
1399
|
+
DSMenu.displayName = "DSMenu";
|
|
1400
|
+
|
|
1401
|
+
const DSMenuItem = React.forwardRef<HTMLLIElement, React.ComponentProps<"li">>(({ className, ...props }, ref) => <li ref={ref} data-dual-sidebar="menu-item" className={cn("group/menu-item relative", className)} {...props} />);
|
|
1402
|
+
DSMenuItem.displayName = "DSMenuItem";
|
|
1403
|
+
|
|
1404
|
+
const DSMenuButton = React.forwardRef<
|
|
1405
|
+
HTMLButtonElement,
|
|
1406
|
+
React.ComponentProps<"button"> & {
|
|
1407
|
+
asChild?: boolean;
|
|
1408
|
+
isActive?: boolean;
|
|
1409
|
+
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
1410
|
+
side: "left" | "right";
|
|
1411
|
+
} & VariantProps<typeof DSMenuButtonVariants>
|
|
1412
|
+
>(({ asChild = false, isActive = false, variant = "default", size = "default", tooltip, className, side, ...props }, ref) => {
|
|
1413
|
+
const Comp = asChild ? Slot : "button";
|
|
1414
|
+
const { isMobile, leftState, rightState } = useDS();
|
|
1415
|
+
|
|
1416
|
+
const button = <Comp ref={ref} data-dual-sidebar="menu-button" data-size={size} data-active={isActive} className={cn(DSMenuButtonVariants({ variant, size }), className)} {...props} />;
|
|
1417
|
+
|
|
1418
|
+
if (!tooltip) {
|
|
1419
|
+
return button;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
if (typeof tooltip === "string") {
|
|
1423
|
+
tooltip = {
|
|
1424
|
+
children: tooltip,
|
|
1425
|
+
};
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
return (
|
|
1429
|
+
<Tooltip>
|
|
1430
|
+
<TooltipTrigger asChild>{button}</TooltipTrigger>
|
|
1431
|
+
<TooltipContent side={side === "left" ? "right" : "left"} align="center" hidden={(leftState || rightState) !== "collapsed" || isMobile} {...tooltip} />
|
|
1432
|
+
</Tooltip>
|
|
1433
|
+
);
|
|
1434
|
+
});
|
|
1435
|
+
DSMenuButton.displayName = "DSMenuButton";
|
|
1436
|
+
|
|
1437
|
+
const DSMenuAction = React.forwardRef<
|
|
1438
|
+
HTMLButtonElement,
|
|
1439
|
+
React.ComponentProps<"button"> & {
|
|
1440
|
+
asChild?: boolean;
|
|
1441
|
+
showOnHover?: boolean;
|
|
1442
|
+
}
|
|
1443
|
+
>(({ className, asChild = false, showOnHover = false, ...props }, ref) => {
|
|
1444
|
+
const Comp = asChild ? Slot : "button";
|
|
1445
|
+
|
|
1446
|
+
return (
|
|
1447
|
+
<Comp
|
|
1448
|
+
ref={ref}
|
|
1449
|
+
data-dual-sidebar="menu-action"
|
|
1450
|
+
className={cn(
|
|
1451
|
+
"absolute right-1 top-1.5 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground outline-none ring-sidebar-ring transition-transform hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 peer-hover/menu-button:text-sidebar-accent-foreground [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1452
|
+
"after:absolute after:-inset-2 after:md:hidden",
|
|
1453
|
+
"peer-data-[size=sm]/menu-button:top-1",
|
|
1454
|
+
"peer-data-[size=default]/menu-button:top-1.5",
|
|
1455
|
+
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
1456
|
+
"group-data-[collapsible=icon]:hidden",
|
|
1457
|
+
showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-sidebar-accent-foreground md:opacity-0",
|
|
1458
|
+
className
|
|
1459
|
+
)}
|
|
1460
|
+
{...props}
|
|
1461
|
+
/>
|
|
1462
|
+
);
|
|
1463
|
+
});
|
|
1464
|
+
DSMenuAction.displayName = "DSMenuAction";
|
|
1465
|
+
|
|
1466
|
+
const DSMenuBadge = React.forwardRef<HTMLDivElement, React.ComponentProps<"div">>(({ className, ...props }, ref) => (
|
|
1467
|
+
<div
|
|
1468
|
+
ref={ref}
|
|
1469
|
+
data-dual-sidebar="menu-badge"
|
|
1470
|
+
className={cn(
|
|
1471
|
+
"pointer-events-none absolute right-1 flex h-5 min-w-5 select-none items-center justify-center rounded-md px-1 text-xs font-medium tabular-nums text-sidebar-foreground",
|
|
1472
|
+
"peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
|
|
1473
|
+
"peer-data-[size=sm]/menu-button:top-1",
|
|
1474
|
+
"peer-data-[size=default]/menu-button:top-1.5",
|
|
1475
|
+
"peer-data-[size=lg]/menu-button:top-2.5",
|
|
1476
|
+
"group-data-[collapsible=icon]:hidden",
|
|
1477
|
+
className
|
|
1478
|
+
)}
|
|
1479
|
+
{...props}
|
|
1480
|
+
/>
|
|
1481
|
+
));
|
|
1482
|
+
DSMenuBadge.displayName = "DSMenuBadge";
|
|
1483
|
+
|
|
1484
|
+
const DSMenuSkeleton = React.forwardRef<
|
|
1485
|
+
HTMLDivElement,
|
|
1486
|
+
React.ComponentProps<"div"> & {
|
|
1487
|
+
showIcon?: boolean;
|
|
1488
|
+
}
|
|
1489
|
+
>(({ className, showIcon = false, ...props }, ref) => {
|
|
1490
|
+
const width = React.useMemo(() => {
|
|
1491
|
+
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
1492
|
+
}, []);
|
|
1493
|
+
|
|
1494
|
+
return (
|
|
1495
|
+
<div ref={ref} data-dual-sidebar="menu-skeleton" className={cn("flex h-8 items-center gap-2 rounded-md px-2", className)} {...props}>
|
|
1496
|
+
{showIcon && <Skeleton className="size-4 rounded-md" data-dual-sidebar="menu-skeleton-icon" />}
|
|
1497
|
+
<Skeleton
|
|
1498
|
+
className="h-4 max-w-[--skeleton-width] flex-1"
|
|
1499
|
+
data-dual-sidebar="menu-skeleton-text"
|
|
1500
|
+
style={
|
|
1501
|
+
{
|
|
1502
|
+
"--skeleton-width": width,
|
|
1503
|
+
} as React.CSSProperties
|
|
1504
|
+
}
|
|
1505
|
+
/>
|
|
1506
|
+
</div>
|
|
1507
|
+
);
|
|
1508
|
+
});
|
|
1509
|
+
DSMenuSkeleton.displayName = "DSMenuSkeleton";
|
|
1510
|
+
// #enddev
|
|
1511
|
+
// #dev SUB-MENU
|
|
1512
|
+
|
|
1513
|
+
const DSMenuSub = React.forwardRef<HTMLUListElement, React.ComponentProps<"ul">>(({ className, ...props }, ref) => (
|
|
1514
|
+
<ul ref={ref} data-dual-sidebar="menu-sub" className={cn("mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-border px-2.5 py-0.5", "group-data-[collapsible=icon]:hidden", className)} {...props} />
|
|
1515
|
+
));
|
|
1516
|
+
DSMenuSub.displayName = "DSMenuSub";
|
|
1517
|
+
|
|
1518
|
+
const DSMenuSubItem = React.forwardRef<HTMLLIElement, React.ComponentProps<"li">>(({ ...props }, ref) => <li ref={ref} {...props} />);
|
|
1519
|
+
DSMenuSubItem.displayName = "DSMenuSubItem";
|
|
1520
|
+
|
|
1521
|
+
const DSMenuSubButton = React.forwardRef<
|
|
1522
|
+
HTMLAnchorElement,
|
|
1523
|
+
React.ComponentProps<"a"> & {
|
|
1524
|
+
asChild?: boolean;
|
|
1525
|
+
size?: "sm" | "md";
|
|
1526
|
+
isActive?: boolean;
|
|
1527
|
+
}
|
|
1528
|
+
>(({ asChild = false, size = "md", isActive, className, ...props }, ref) => {
|
|
1529
|
+
const Comp = asChild ? Slot : "a";
|
|
1530
|
+
|
|
1531
|
+
return (
|
|
1532
|
+
<Comp
|
|
1533
|
+
ref={ref}
|
|
1534
|
+
data-dual-sidebar="menu-sub-button"
|
|
1535
|
+
data-size={size}
|
|
1536
|
+
data-active={isActive}
|
|
1537
|
+
className={cn(
|
|
1538
|
+
"flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground outline-none ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
|
|
1539
|
+
"data-[active=true]:bg-sidebar-accent data-[active=true]:text-sidebar-accent-foreground",
|
|
1540
|
+
size === "sm" && "text-xs",
|
|
1541
|
+
size === "md" && "text-sm",
|
|
1542
|
+
"group-data-[collapsible=icon]:hidden",
|
|
1543
|
+
className
|
|
1544
|
+
)}
|
|
1545
|
+
{...props}
|
|
1546
|
+
/>
|
|
1547
|
+
);
|
|
1548
|
+
});
|
|
1549
|
+
DSMenuSubButton.displayName = "DSMenuSubButton";
|
|
1550
|
+
// #enddev
|
|
1551
|
+
// #dev DSTopDrawer - Top Drawer Component
|
|
1552
|
+
|
|
1553
|
+
const DSD = React.forwardRef<
|
|
1554
|
+
HTMLDivElement,
|
|
1555
|
+
React.ComponentProps<typeof Drawer> & {
|
|
1556
|
+
drawerHeight: string;
|
|
1557
|
+
variant?: "default" | "card" | "glass" | "elevated" | "bordered";
|
|
1558
|
+
}
|
|
1559
|
+
>(({ drawerHeight = "80vh", variant = "default", children, ...props }, ref) => {
|
|
1560
|
+
const { setTopHeight } = useDS();
|
|
1561
|
+
|
|
1562
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
1563
|
+
|
|
1564
|
+
React.useEffect(() => {
|
|
1565
|
+
setTopHeight(isOpen ? drawerHeight : "0px");
|
|
1566
|
+
return () => setTopHeight("0px");
|
|
1567
|
+
}, [isOpen, drawerHeight, setTopHeight]);
|
|
1568
|
+
|
|
1569
|
+
return (
|
|
1570
|
+
<Drawer ref={ref} placement="top" onOpenChange={setIsOpen} {...props}>
|
|
1571
|
+
<div className={cn(drawerVariants({ variant }))}>
|
|
1572
|
+
{children}
|
|
1573
|
+
</div>
|
|
1574
|
+
</Drawer>
|
|
1575
|
+
);
|
|
1576
|
+
});
|
|
1577
|
+
DSD.displayName = "DSD";
|
|
1578
|
+
// #enddev
|
|
1579
|
+
// #dev DSBottomDrawer - Top Drawer Component
|
|
1580
|
+
const DSDBottom = React.forwardRef<
|
|
1581
|
+
HTMLDivElement,
|
|
1582
|
+
React.ComponentProps<typeof Drawer> & {
|
|
1583
|
+
drawerHeight: string;
|
|
1584
|
+
variant?: "default" | "card" | "glass" | "elevated" | "bordered";
|
|
1585
|
+
}
|
|
1586
|
+
>(({ drawerHeight = "80vh", variant = "default", children, ...props }, ref) => {
|
|
1587
|
+
const { setBottomHeight } = useDS();
|
|
1588
|
+
const [isOpen, setIsOpen] = React.useState(false);
|
|
1589
|
+
|
|
1590
|
+
React.useEffect(() => {
|
|
1591
|
+
setBottomHeight(isOpen ? drawerHeight : "0px");
|
|
1592
|
+
return () => setBottomHeight("0px");
|
|
1593
|
+
}, [isOpen, drawerHeight, setBottomHeight]);
|
|
1594
|
+
|
|
1595
|
+
return (
|
|
1596
|
+
<Drawer ref={ref} placement="bottom" onOpenChange={setIsOpen} {...props}>
|
|
1597
|
+
<div className={cn(drawerVariants({ variant }))}>
|
|
1598
|
+
{children}
|
|
1599
|
+
</div>
|
|
1600
|
+
</Drawer>
|
|
1601
|
+
);
|
|
1602
|
+
});
|
|
1603
|
+
DSDBottom.displayName = "DSDBottom";
|
|
1604
|
+
|
|
1605
|
+
// #enddev
|
|
1606
|
+
// #dev DRAWER
|
|
1607
|
+
|
|
1608
|
+
function DSDTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>) {
|
|
1609
|
+
return <DrawerPrimitive.Trigger data-slot="drawer-trigger" {...props} />;
|
|
1610
|
+
}
|
|
1611
|
+
function DSDPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>) {
|
|
1612
|
+
return <DrawerPrimitive.Portal data-slot="drawer-portal" {...props} />;
|
|
1613
|
+
}
|
|
1614
|
+
function DSDClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>) {
|
|
1615
|
+
return <DrawerPrimitive.Close data-slot="drawer-close" {...props} />;
|
|
1616
|
+
}
|
|
1617
|
+
function DSDOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
|
|
1618
|
+
return (
|
|
1619
|
+
<DrawerPrimitive.Overlay data-slot="drawer-overlay" className={cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className)} {...props} />
|
|
1620
|
+
);
|
|
1621
|
+
}
|
|
1622
|
+
function DSDContent({ className, children, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>) {
|
|
1623
|
+
return (
|
|
1624
|
+
<DSDPortal data-slot="drawer-portal">
|
|
1625
|
+
<DSDOverlay />
|
|
1626
|
+
<DrawerPrimitive.Content
|
|
1627
|
+
data-slot="drawer-content"
|
|
1628
|
+
className={cn(
|
|
1629
|
+
"group/drawer-content bg-background fixed z-50 flex h-auto flex-col",
|
|
1630
|
+
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b",
|
|
1631
|
+
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t",
|
|
1632
|
+
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm",
|
|
1633
|
+
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",
|
|
1634
|
+
className
|
|
1635
|
+
)}
|
|
1636
|
+
{...props}
|
|
1637
|
+
>
|
|
1638
|
+
<div className="bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block" />
|
|
1639
|
+
{children}
|
|
1640
|
+
</DrawerPrimitive.Content>
|
|
1641
|
+
</DSDPortal>
|
|
1642
|
+
);
|
|
1643
|
+
}
|
|
1644
|
+
function DSDHeader({ className, ...props }: React.ComponentProps<"div">) {
|
|
1645
|
+
return (
|
|
1646
|
+
<div
|
|
1647
|
+
data-slot="drawer-header"
|
|
1648
|
+
className={cn("flex flex-col gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-1.5 md:text-left", className)}
|
|
1649
|
+
{...props}
|
|
1650
|
+
/>
|
|
1651
|
+
);
|
|
1652
|
+
}
|
|
1653
|
+
function DSDFooter({ className, ...props }: React.ComponentProps<"div">) {
|
|
1654
|
+
return <div data-slot="drawer-footer" className={cn("mt-auto flex flex-col gap-2 p-4", className)} {...props} />;
|
|
1655
|
+
}
|
|
1656
|
+
function DSDTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>) {
|
|
1657
|
+
return <DrawerPrimitive.Title data-slot="drawer-title" className={cn("text-foreground font-semibold", className)} {...props} />;
|
|
1658
|
+
}
|
|
1659
|
+
function DSDDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>) {
|
|
1660
|
+
return <DrawerPrimitive.Description data-slot="drawer-description" className={cn("text-muted-foreground text-sm", className)} {...props} />;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
// #enddev
|
|
1664
|
+
// #dev ANCHOR NAVLINK
|
|
1665
|
+
|
|
1666
|
+
interface DSMenuAnchorProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1667
|
+
icon?: React.ReactNode;
|
|
1668
|
+
tooltip?: string;
|
|
1669
|
+
to: string;
|
|
1670
|
+
newTab?: boolean;
|
|
1671
|
+
variant?: "default" | "ghost" | "outline" | "soft" | "solid" | "minimal" | "bordered" | "pill";
|
|
1672
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
const DSMenuAnchor = React.forwardRef<HTMLAnchorElement, DSMenuAnchorProps>(({ className, icon, tooltip, children, to, newTab = true, variant = "default", size = "default", onClick, ...props }, ref) => {
|
|
1676
|
+
const { navigation, setNavigation, currentPath } = useNavigationContext();
|
|
1677
|
+
|
|
1678
|
+
const isActive = location.pathname === to;
|
|
1679
|
+
|
|
1680
|
+
const isNavigatingToThisLink = navigation.state === "loading" && navigation.location?.href === to;
|
|
1681
|
+
|
|
1682
|
+
const anchorProps = newTab
|
|
1683
|
+
? {
|
|
1684
|
+
target: "_blank",
|
|
1685
|
+
rel: "noopener noreferrer",
|
|
1686
|
+
}
|
|
1687
|
+
: {};
|
|
1688
|
+
const handleClick = (e: React.MouseEvent<HTMLAnchorElement>) => {
|
|
1689
|
+
if (!newTab) {
|
|
1690
|
+
// Only set navigation state for same-tab navigation
|
|
1691
|
+
setNavigation({
|
|
1692
|
+
state: 'loading',
|
|
1693
|
+
location: { pathname: href, href }
|
|
1694
|
+
});
|
|
1695
|
+
|
|
1696
|
+
// Simulate navigation completion
|
|
1697
|
+
setTimeout(() => {
|
|
1698
|
+
setNavigation({ state: 'idle' });
|
|
1699
|
+
}, 1000);
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
onClick?.(e);
|
|
1703
|
+
};
|
|
1704
|
+
return (
|
|
1705
|
+
<a
|
|
1706
|
+
ref={ref}
|
|
1707
|
+
href={to}
|
|
1708
|
+
onClick={handleClick}
|
|
1709
|
+
{...anchorProps}
|
|
1710
|
+
/**className={cn(
|
|
1711
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-dual-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
|
|
1712
|
+
isActive && "text-primary bg-sidebar-accent font-medium",
|
|
1713
|
+
className
|
|
1714
|
+
)} */
|
|
1715
|
+
className={cn(
|
|
1716
|
+
DSMenuButtonVariants({ variant, size, isActive }),
|
|
1717
|
+
className
|
|
1718
|
+
)}
|
|
1719
|
+
{...props}
|
|
1720
|
+
>
|
|
1721
|
+
{icon &&
|
|
1722
|
+
React.isValidElement(icon) &&
|
|
1723
|
+
React.cloneElement(icon, {
|
|
1724
|
+
className: cn("size-4 shrink-0", icon.props.className),
|
|
1725
|
+
})}
|
|
1726
|
+
<span className="flex-1 truncate">{children}</span>
|
|
1727
|
+
|
|
1728
|
+
{isNavigatingToThisLink && (
|
|
1729
|
+
<div className="ml-auto flex items-center h-full">
|
|
1730
|
+
<div className="animate-spin rounded-full h-5 w-5 border-t-3 border-primary border-solid"></div>
|
|
1731
|
+
</div>
|
|
1732
|
+
)}
|
|
1733
|
+
</a>
|
|
1734
|
+
);
|
|
1735
|
+
});
|
|
1736
|
+
DSMenuAnchor.displayName = "DSMenuAnchor";
|
|
1737
|
+
|
|
1738
|
+
interface DSMenuLinkProps extends React.ComponentProps<typeof NavLink> {
|
|
1739
|
+
icon?: React.ReactNode;
|
|
1740
|
+
tooltip?: string;
|
|
1741
|
+
variant?: "default" | "ghost" | "outline" | "soft" | "solid" | "minimal" | "bordered" | "pill";
|
|
1742
|
+
size?: "default" | "sm" | "lg" | "icon";
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
const DSMenuLink = React.forwardRef<HTMLAnchorElement, DSMenuLinkProps>(({ className, icon, tooltip, children, to, variant = "default", size = "default", ...props }, ref) => {
|
|
1746
|
+
const { navigation, currentPath, setNavigation } = useNavigationContext();
|
|
1747
|
+
|
|
1748
|
+
const isNavigatingToThisLink = navigation.state === "loading" && navigation.location?.pathname === to;
|
|
1749
|
+
|
|
1750
|
+
const isActive = location.pathname === to;
|
|
1751
|
+
|
|
1752
|
+
const handleClick = (e: React.MouseEvent<HTMLAnchorElement>) => {
|
|
1753
|
+
// Set navigation state when link is clicked
|
|
1754
|
+
setNavigation({
|
|
1755
|
+
state: 'loading',
|
|
1756
|
+
location: { pathname: to, href: to }
|
|
1757
|
+
});
|
|
1758
|
+
|
|
1759
|
+
onClick?.(e);
|
|
1760
|
+
|
|
1761
|
+
// Update current path after a delay (simulating navigation)
|
|
1762
|
+
setTimeout(() => {
|
|
1763
|
+
setNavigation({ state: 'idle' });
|
|
1764
|
+
// In a real app, you'd update this based on your router
|
|
1765
|
+
// For now, we'll simulate it
|
|
1766
|
+
if (typeof window !== 'undefined') {
|
|
1767
|
+
window.history.pushState({}, '', to);
|
|
1768
|
+
}
|
|
1769
|
+
}, 1000);
|
|
1770
|
+
};
|
|
1771
|
+
|
|
1772
|
+
return (
|
|
1773
|
+
<a
|
|
1774
|
+
ref={ref}
|
|
1775
|
+
href={to}
|
|
1776
|
+
onClick={handleClick}
|
|
1777
|
+
/** className={cn(
|
|
1778
|
+
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none transition-[width,height,padding] hover:bg-muted hover:text-primary focus-visible:ring-2 group-has-[[data-dual-sidebar=menu-action]]/menu-item:pr-8 group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate ",
|
|
1779
|
+
isActive && "text-primary bg-muted font-medium",
|
|
1780
|
+
className
|
|
1781
|
+
)} */
|
|
1782
|
+
className={cn(
|
|
1783
|
+
DSMenuButtonVariants({ variant, size, isActive }),
|
|
1784
|
+
isActive && "text-primary bg-muted font-medium",
|
|
1785
|
+
className
|
|
1786
|
+
)}
|
|
1787
|
+
{...props}
|
|
1788
|
+
>
|
|
1789
|
+
{icon &&
|
|
1790
|
+
React.isValidElement(icon) &&
|
|
1791
|
+
React.cloneElement(icon, {
|
|
1792
|
+
className: cn("size-4 shrink-0", icon.props.className),
|
|
1793
|
+
})}
|
|
1794
|
+
<span className="flex-1 truncate">{children}</span>
|
|
1795
|
+
|
|
1796
|
+
{isNavigatingToThisLink && (
|
|
1797
|
+
<div className="ml-auto flex items-center">
|
|
1798
|
+
<div className="animate-spin rounded-full h-5 w-5 border-t-3 border-primary border-solid"></div>
|
|
1799
|
+
</div>
|
|
1800
|
+
)}
|
|
1801
|
+
</a>
|
|
1802
|
+
);
|
|
1803
|
+
});
|
|
1804
|
+
DSMenuLink.displayName = "DSMenuLink";
|
|
1805
|
+
|
|
1806
|
+
// #enddev
|
|
1807
|
+
// #dev LOADING UI
|
|
1808
|
+
function DSLoading({
|
|
1809
|
+
variant = "default",
|
|
1810
|
+
size = "default"
|
|
1811
|
+
}: {
|
|
1812
|
+
variant?: "default" | "minimal" | "card" | "centered";
|
|
1813
|
+
size?: "default" | "sm" | "md" | "lg" | "full";
|
|
1814
|
+
}) {
|
|
1815
|
+
const isMobile = useIsMobile();
|
|
1816
|
+
const width = isMobile ? DS_WIDTH_MOBILE : DS_WIDTH;
|
|
1817
|
+
return (
|
|
1818
|
+
<div className={cn(loadingVariants({ variant, size }))}>
|
|
1819
|
+
{/**<div className={cn("flex flex-col items-center justify-center text-center p-8 w-[256px] min-h-[400px] h-screen bg-gradient-to-b from-background to-muted/20", width)}> */}
|
|
1820
|
+
<div className="relative mb-6">
|
|
1821
|
+
<div className="absolute inset-0 animate-pulse bg-primary/20 rounded-full blur-xl"></div>
|
|
1822
|
+
<div className="flex items-center justify-center h-full">
|
|
1823
|
+
<div className="animate-spin rounded-full h-16 w-16 text-primary border-t-5 border-primary border-solid"></div>
|
|
1824
|
+
</div>
|
|
1825
|
+
</div>
|
|
1826
|
+
|
|
1827
|
+
<div className="space-y-3">
|
|
1828
|
+
<h3 className="text-lg font-semibold text-foreground animate-pulse">Loading Sidebar</h3>
|
|
1829
|
+
<p className="text-sm text-muted-foreground/80 animate-pulse delay-150">Please wait while the content loads...</p>
|
|
1830
|
+
</div>
|
|
1831
|
+
|
|
1832
|
+
<div className="w-full mt-8 space-y-3">
|
|
1833
|
+
<div className="h-3 bg-muted rounded-full animate-pulse"></div>
|
|
1834
|
+
<div className="h-3 bg-muted rounded-full animate-pulse delay-75 w-3/4"></div>
|
|
1835
|
+
<div className="h-3 bg-muted rounded-full animate-pulse delay-150 w-1/2"></div>
|
|
1836
|
+
</div>
|
|
1837
|
+
|
|
1838
|
+
<div className="flex space-x-1 mt-6">
|
|
1839
|
+
<div className="w-2 h-2 bg-primary/60 rounded-full animate-bounce"></div>
|
|
1840
|
+
<div className="w-2 h-2 bg-primary/60 rounded-full animate-bounce delay-100"></div>
|
|
1841
|
+
<div className="w-2 h-2 bg-primary/60 rounded-full animate-bounce delay-200"></div>
|
|
1842
|
+
</div>
|
|
1843
|
+
</div>
|
|
1844
|
+
);
|
|
1845
|
+
}
|
|
1846
|
+
// #enddev
|
|
1847
|
+
// #dev COLOR THEMES
|
|
1848
|
+
const colorThemes = {
|
|
1849
|
+
neutral: {
|
|
1850
|
+
v4: {
|
|
1851
|
+
root: {
|
|
1852
|
+
"--radius": "0.65rem",
|
|
1853
|
+
"--background": "oklch(1 0 0)",
|
|
1854
|
+
"--foreground": "oklch(0.145 0 0)",
|
|
1855
|
+
"--card": "oklch(1 0 0)",
|
|
1856
|
+
"--card-foreground": "oklch(0.145 0 0)",
|
|
1857
|
+
"--popover": "oklch(1 0 0)",
|
|
1858
|
+
"--popover-foreground": "oklch(0.145 0 0)",
|
|
1859
|
+
"--primary": "oklch(0.205 0 0)",
|
|
1860
|
+
"--primary-foreground": "oklch(0.985 0 0)",
|
|
1861
|
+
"--secondary": "oklch(0.97 0 0)",
|
|
1862
|
+
"--secondary-foreground": "oklch(0.205 0 0)",
|
|
1863
|
+
"--muted": "oklch(0.97 0 0)",
|
|
1864
|
+
"--muted-foreground": "oklch(0.556 0 0)",
|
|
1865
|
+
"--accent": "oklch(0.97 0 0)",
|
|
1866
|
+
"--accent-foreground": "oklch(0.205 0 0)",
|
|
1867
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
1868
|
+
"--border": "oklch(0.922 0 0)",
|
|
1869
|
+
"--input": "oklch(0.922 0 0)",
|
|
1870
|
+
"--ring": "oklch(0.708 0 0)",
|
|
1871
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
1872
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
1873
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
1874
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
1875
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
1876
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
1877
|
+
"--sidebar-foreground": "oklch(0.145 0 0)",
|
|
1878
|
+
"--sidebar-primary": "oklch(0.205 0 0)",
|
|
1879
|
+
"--sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
1880
|
+
"--sidebar-accent": "oklch(0.97 0 0)",
|
|
1881
|
+
"--sidebar-accent-foreground": "oklch(0.205 0 0)",
|
|
1882
|
+
"--sidebar-border": "oklch(0.922 0 0)",
|
|
1883
|
+
"--sidebar-ring": "oklch(0.708 0 0)",
|
|
1884
|
+
},
|
|
1885
|
+
dark: {
|
|
1886
|
+
"--background": "oklch(0.145 0 0)",
|
|
1887
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
1888
|
+
"--card": "oklch(0.205 0 0)",
|
|
1889
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
1890
|
+
"--popover": "oklch(0.205 0 0)",
|
|
1891
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
1892
|
+
"--primary": "oklch(0.922 0 0)",
|
|
1893
|
+
"--primary-foreground": "oklch(0.205 0 0)",
|
|
1894
|
+
"--secondary": "oklch(0.269 0 0)",
|
|
1895
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
1896
|
+
"--muted": "oklch(0.269 0 0)",
|
|
1897
|
+
"--muted-foreground": "oklch(0.708 0 0)",
|
|
1898
|
+
"--accent": "oklch(0.269 0 0)",
|
|
1899
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
1900
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
1901
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
1902
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
1903
|
+
"--ring": "oklch(0.556 0 0)",
|
|
1904
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
1905
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
1906
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
1907
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
1908
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
1909
|
+
"--sidebar": "oklch(0.205 0 0)",
|
|
1910
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
1911
|
+
"--sidebar-primary": "oklch(0.488 0.243 264.376)",
|
|
1912
|
+
"--sidebar-primary-foreground": "oklch(0.985 0 0)",
|
|
1913
|
+
"--sidebar-accent": "oklch(0.269 0 0)",
|
|
1914
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
1915
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
1916
|
+
"--sidebar-ring": "oklch(0.556 0 0)",
|
|
1917
|
+
},
|
|
1918
|
+
},
|
|
1919
|
+
v3: {
|
|
1920
|
+
root: {
|
|
1921
|
+
"--background": "0 0% 100%",
|
|
1922
|
+
"--foreground": "0 0% 3.9%",
|
|
1923
|
+
"--card": "0 0% 100%",
|
|
1924
|
+
"--card-foreground": "0 0% 3.9%",
|
|
1925
|
+
"--popover": "0 0% 100%",
|
|
1926
|
+
"--popover-foreground": "0 0% 3.9%",
|
|
1927
|
+
"--primary": "0 0% 9%",
|
|
1928
|
+
"--primary-foreground": "0 0% 98%",
|
|
1929
|
+
"--secondary": "0 0% 96.1%",
|
|
1930
|
+
"--secondary-foreground": "0 0% 9%",
|
|
1931
|
+
"--muted": "0 0% 96.1%",
|
|
1932
|
+
"--muted-foreground": "0 0% 45.1%",
|
|
1933
|
+
"--accent": "0 0% 96.1%",
|
|
1934
|
+
"--accent-foreground": "0 0% 9%",
|
|
1935
|
+
"--destructive": "0 84.2% 60.2%",
|
|
1936
|
+
"--destructive-foreground": "0 0% 98%",
|
|
1937
|
+
"--border": "0 0% 89.8%",
|
|
1938
|
+
"--input": "0 0% 89.8%",
|
|
1939
|
+
"--ring": "0 0% 3.9%",
|
|
1940
|
+
"--radius": "0.5rem",
|
|
1941
|
+
"--chart-1": "12 76% 61%",
|
|
1942
|
+
"--chart-2": "173 58% 39%",
|
|
1943
|
+
"--chart-3": "197 37% 24%",
|
|
1944
|
+
"--chart-4": "43 74% 66%",
|
|
1945
|
+
"--chart-5": "27 87% 67%",
|
|
1946
|
+
"--sidebar": "221 39% 11%",
|
|
1947
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
1948
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
1949
|
+
"--special": "227 21% 8%",
|
|
1950
|
+
"--special-muted-background": "240 10% 4%",
|
|
1951
|
+
"--special-border": "240 4% 16%",
|
|
1952
|
+
"--special-foreground": "240 5% 84%",
|
|
1953
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
1954
|
+
},
|
|
1955
|
+
dark: {
|
|
1956
|
+
"--background": "0 0% 3.9%",
|
|
1957
|
+
"--foreground": "0 0% 98%",
|
|
1958
|
+
"--card": "0 0% 3.9%",
|
|
1959
|
+
"--card-foreground": "0 0% 98%",
|
|
1960
|
+
"--popover": "0 0% 3.9%",
|
|
1961
|
+
"--popover-foreground": "0 0% 98%",
|
|
1962
|
+
"--primary": "0 0% 98%",
|
|
1963
|
+
"--primary-foreground": "0 0% 9%",
|
|
1964
|
+
"--secondary": "0 0% 14.9%",
|
|
1965
|
+
"--secondary-foreground": "0 0% 98%",
|
|
1966
|
+
"--muted": "0 0% 14.9%",
|
|
1967
|
+
"--muted-foreground": "0 0% 63.9%",
|
|
1968
|
+
"--accent": "0 0% 14.9%",
|
|
1969
|
+
"--accent-foreground": "0 0% 98%",
|
|
1970
|
+
"--destructive": "0 62.8% 30.6%",
|
|
1971
|
+
"--destructive-foreground": "0 0% 98%",
|
|
1972
|
+
"--border": "0 0% 14.9%",
|
|
1973
|
+
"--input": "0 0% 14.9%",
|
|
1974
|
+
"--ring": "0 0% 83.1%",
|
|
1975
|
+
"--chart-1": "220 70% 50%",
|
|
1976
|
+
"--chart-2": "160 60% 45%",
|
|
1977
|
+
"--chart-3": "30 80% 55%",
|
|
1978
|
+
"--chart-4": "280 65% 60%",
|
|
1979
|
+
"--chart-5": "340 75% 55%",
|
|
1980
|
+
"--sidebar": "221 39% 11%",
|
|
1981
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
1982
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
1983
|
+
"--special": "227 21% 8%",
|
|
1984
|
+
"--special-muted-background": "240 10% 4%",
|
|
1985
|
+
"--special-border": "240 4% 16%",
|
|
1986
|
+
"--special-foreground": "240 5% 84%",
|
|
1987
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
1988
|
+
},
|
|
1989
|
+
},
|
|
1990
|
+
},
|
|
1991
|
+
red: {
|
|
1992
|
+
v4: {
|
|
1993
|
+
root: {
|
|
1994
|
+
"--radius": "0.65rem",
|
|
1995
|
+
"--background": "oklch(1 0 0)",
|
|
1996
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
1997
|
+
"--card": "oklch(1 0 0)",
|
|
1998
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
1999
|
+
"--popover": "oklch(1 0 0)",
|
|
2000
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2001
|
+
"--primary": "oklch(0.637 0.237 25.331)",
|
|
2002
|
+
"--primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2003
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2004
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2005
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2006
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2007
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2008
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2009
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2010
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2011
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2012
|
+
"--ring": "oklch(0.637 0.237 25.331)",
|
|
2013
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2014
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2015
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2016
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2017
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2018
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2019
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2020
|
+
"--sidebar-primary": "oklch(0.637 0.237 25.331)",
|
|
2021
|
+
"--sidebar-primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2022
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2023
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2024
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2025
|
+
"--sidebar-ring": "oklch(0.637 0.237 25.331)",
|
|
2026
|
+
},
|
|
2027
|
+
dark: {
|
|
2028
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2029
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2030
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2031
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2032
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2033
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2034
|
+
"--primary": "oklch(0.637 0.237 25.331)",
|
|
2035
|
+
"--primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2036
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2037
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2038
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2039
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2040
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2041
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2042
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2043
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2044
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2045
|
+
"--ring": "oklch(0.637 0.237 25.331)",
|
|
2046
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2047
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2048
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2049
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2050
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2051
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2052
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2053
|
+
"--sidebar-primary": "oklch(0.637 0.237 25.331)",
|
|
2054
|
+
"--sidebar-primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2055
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2056
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2057
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2058
|
+
"--sidebar-ring": "oklch(0.637 0.237 25.331)",
|
|
2059
|
+
},
|
|
2060
|
+
},
|
|
2061
|
+
v3: {
|
|
2062
|
+
root: {
|
|
2063
|
+
"--background": "0 0% 100%",
|
|
2064
|
+
"--foreground": "0 0% 3.9%",
|
|
2065
|
+
"--card": "0 0% 100%",
|
|
2066
|
+
"--card-foreground": "0 0% 3.9%",
|
|
2067
|
+
"--popover": "0 0% 100%",
|
|
2068
|
+
"--popover-foreground": "0 0% 3.9%",
|
|
2069
|
+
"--primary": "0 72.2% 50.6%",
|
|
2070
|
+
"--primary-foreground": "0 85.7% 97.3%",
|
|
2071
|
+
"--secondary": "0 0% 96.1%",
|
|
2072
|
+
"--secondary-foreground": "0 0% 9%",
|
|
2073
|
+
"--muted": "0 0% 96.1%",
|
|
2074
|
+
"--muted-foreground": "0 0% 45.1%",
|
|
2075
|
+
"--accent": "0 0% 96.1%",
|
|
2076
|
+
"--accent-foreground": "0 0% 9%",
|
|
2077
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2078
|
+
"--destructive-foreground": "0 0% 98%",
|
|
2079
|
+
"--border": "0 0% 89.8%",
|
|
2080
|
+
"--input": "0 0% 89.8%",
|
|
2081
|
+
"--ring": "0 72.2% 50.6%",
|
|
2082
|
+
"--radius": "0.5rem",
|
|
2083
|
+
"--chart-1": "12 76% 61%",
|
|
2084
|
+
"--chart-2": "173 58% 39%",
|
|
2085
|
+
"--chart-3": "197 37% 24%",
|
|
2086
|
+
"--chart-4": "43 74% 66%",
|
|
2087
|
+
"--chart-5": "27 87% 67%",
|
|
2088
|
+
"--sidebar": "221 39% 11%",
|
|
2089
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2090
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2091
|
+
"--special": "227 21% 8%",
|
|
2092
|
+
"--special-muted-background": "240 10% 4%",
|
|
2093
|
+
"--special-border": "240 4% 16%",
|
|
2094
|
+
"--special-foreground": "240 5% 84%",
|
|
2095
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2096
|
+
},
|
|
2097
|
+
dark: {
|
|
2098
|
+
"--background": "0 0% 3.9%",
|
|
2099
|
+
"--foreground": "0 0% 98%",
|
|
2100
|
+
"--card": "0 0% 3.9%",
|
|
2101
|
+
"--card-foreground": "0 0% 98%",
|
|
2102
|
+
"--popover": "0 0% 3.9%",
|
|
2103
|
+
"--popover-foreground": "0 0% 98%",
|
|
2104
|
+
"--primary": "0 72.2% 50.6%",
|
|
2105
|
+
"--primary-foreground": "0 85.7% 97.3%",
|
|
2106
|
+
"--secondary": "0 0% 14.9%",
|
|
2107
|
+
"--secondary-foreground": "0 0% 98%",
|
|
2108
|
+
"--muted": "0 0% 14.9%",
|
|
2109
|
+
"--muted-foreground": "0 0% 63.9%",
|
|
2110
|
+
"--accent": "0 0% 14.9%",
|
|
2111
|
+
"--accent-foreground": "0 0% 98%",
|
|
2112
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2113
|
+
"--destructive-foreground": "0 0% 98%",
|
|
2114
|
+
"--border": "0 0% 14.9%",
|
|
2115
|
+
"--input": "0 0% 14.9%",
|
|
2116
|
+
"--ring": "0 72.2% 50.6%",
|
|
2117
|
+
"--chart-1": "220 70% 50%",
|
|
2118
|
+
"--chart-2": "160 60% 45%",
|
|
2119
|
+
"--chart-3": "30 80% 55%",
|
|
2120
|
+
"--chart-4": "280 65% 60%",
|
|
2121
|
+
"--chart-5": "340 75% 55%",
|
|
2122
|
+
"--sidebar": "221 39% 11%",
|
|
2123
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2124
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2125
|
+
"--special": "227 21% 8%",
|
|
2126
|
+
"--special-muted-background": "240 10% 4%",
|
|
2127
|
+
"--special-border": "240 4% 16%",
|
|
2128
|
+
"--special-foreground": "240 5% 84%",
|
|
2129
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2130
|
+
},
|
|
2131
|
+
},
|
|
2132
|
+
},
|
|
2133
|
+
rose: {
|
|
2134
|
+
v4: {
|
|
2135
|
+
root: {
|
|
2136
|
+
"--radius": "0.65rem",
|
|
2137
|
+
"--background": "oklch(1 0 0)",
|
|
2138
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2139
|
+
"--card": "oklch(1 0 0)",
|
|
2140
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2141
|
+
"--popover": "oklch(1 0 0)",
|
|
2142
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2143
|
+
"--primary": "oklch(0.645 0.246 16.439)",
|
|
2144
|
+
"--primary-foreground": "oklch(0.969 0.015 12.422)",
|
|
2145
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2146
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2147
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2148
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2149
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2150
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2151
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2152
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2153
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2154
|
+
"--ring": "oklch(0.645 0.246 16.439)",
|
|
2155
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2156
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2157
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2158
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2159
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2160
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2161
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2162
|
+
"--sidebar-primary": "oklch(0.645 0.246 16.439)",
|
|
2163
|
+
"--sidebar-primary-foreground": "oklch(0.969 0.015 12.422)",
|
|
2164
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2165
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2166
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2167
|
+
"--sidebar-ring": "oklch(0.645 0.246 16.439)",
|
|
2168
|
+
},
|
|
2169
|
+
dark: {
|
|
2170
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2171
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2172
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2173
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2174
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2175
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2176
|
+
"--primary": "oklch(0.645 0.246 16.439)",
|
|
2177
|
+
"--primary-foreground": "oklch(0.969 0.015 12.422)",
|
|
2178
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2179
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2180
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2181
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2182
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2183
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2184
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2185
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2186
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2187
|
+
"--ring": "oklch(0.645 0.246 16.439)",
|
|
2188
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2189
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2190
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2191
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2192
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2193
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2194
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2195
|
+
"--sidebar-primary": "oklch(0.645 0.246 16.439)",
|
|
2196
|
+
"--sidebar-primary-foreground": "oklch(0.969 0.015 12.422)",
|
|
2197
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2198
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2199
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2200
|
+
"--sidebar-ring": "oklch(0.645 0.246 16.439)",
|
|
2201
|
+
},
|
|
2202
|
+
},
|
|
2203
|
+
v3: {
|
|
2204
|
+
root: {
|
|
2205
|
+
"--background": "0 0% 100%",
|
|
2206
|
+
"--foreground": "240 10% 3.9%",
|
|
2207
|
+
"--card": "0 0% 100%",
|
|
2208
|
+
"--card-foreground": "240 10% 3.9%",
|
|
2209
|
+
"--popover": "0 0% 100%",
|
|
2210
|
+
"--popover-foreground": "240 10% 3.9%",
|
|
2211
|
+
"--primary": "346.8 77.2% 49.8%",
|
|
2212
|
+
"--primary-foreground": "355.7 100% 97.3%",
|
|
2213
|
+
"--secondary": "240 4.8% 95.9%",
|
|
2214
|
+
"--secondary-foreground": "240 5.9% 10%",
|
|
2215
|
+
"--muted": "240 4.8% 95.9%",
|
|
2216
|
+
"--muted-foreground": "240 3.8% 46.1%",
|
|
2217
|
+
"--accent": "240 4.8% 95.9%",
|
|
2218
|
+
"--accent-foreground": "240 5.9% 10%",
|
|
2219
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2220
|
+
"--destructive-foreground": "0 0% 98%",
|
|
2221
|
+
"--border": "240 5.9% 90%",
|
|
2222
|
+
"--input": "240 5.9% 90%",
|
|
2223
|
+
"--ring": "346.8 77.2% 49.8%",
|
|
2224
|
+
"--radius": "0.5rem",
|
|
2225
|
+
"--chart-1": "12 76% 61%",
|
|
2226
|
+
"--chart-2": "173 58% 39%",
|
|
2227
|
+
"--chart-3": "197 37% 24%",
|
|
2228
|
+
"--chart-4": "43 74% 66%",
|
|
2229
|
+
"--chart-5": "27 87% 67%",
|
|
2230
|
+
"--sidebar": "221 39% 11%",
|
|
2231
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2232
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2233
|
+
"--special": "227 21% 8%",
|
|
2234
|
+
"--special-muted-background": "240 10% 4%",
|
|
2235
|
+
"--special-border": "240 4% 16%",
|
|
2236
|
+
"--special-foreground": "240 5% 84%",
|
|
2237
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2238
|
+
},
|
|
2239
|
+
dark: {
|
|
2240
|
+
"--background": "20 14.3% 4.1%",
|
|
2241
|
+
"--foreground": "0 0% 95%",
|
|
2242
|
+
"--card": "24 9.8% 10%",
|
|
2243
|
+
"--card-foreground": "0 0% 95%",
|
|
2244
|
+
"--popover": "0 0% 9%",
|
|
2245
|
+
"--popover-foreground": "0 0% 95%",
|
|
2246
|
+
"--primary": "346.8 77.2% 49.8%",
|
|
2247
|
+
"--primary-foreground": "355.7 100% 97.3%",
|
|
2248
|
+
"--secondary": "240 3.7% 15.9%",
|
|
2249
|
+
"--secondary-foreground": "0 0% 98%",
|
|
2250
|
+
"--muted": "0 0% 15%",
|
|
2251
|
+
"--muted-foreground": "240 5% 64.9%",
|
|
2252
|
+
"--accent": "12 6.5% 15.1%",
|
|
2253
|
+
"--accent-foreground": "0 0% 98%",
|
|
2254
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2255
|
+
"--destructive-foreground": "0 85.7% 97.3%",
|
|
2256
|
+
"--border": "240 3.7% 15.9%",
|
|
2257
|
+
"--input": "240 3.7% 15.9%",
|
|
2258
|
+
"--ring": "346.8 77.2% 49.8%",
|
|
2259
|
+
"--chart-1": "220 70% 50%",
|
|
2260
|
+
"--chart-2": "160 60% 45%",
|
|
2261
|
+
"--chart-3": "30 80% 55%",
|
|
2262
|
+
"--chart-4": "280 65% 60%",
|
|
2263
|
+
"--chart-5": "340 75% 55%",
|
|
2264
|
+
"--sidebar": "221 39% 11%",
|
|
2265
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2266
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2267
|
+
"--special": "227 21% 8%",
|
|
2268
|
+
"--special-muted-background": "240 10% 4%",
|
|
2269
|
+
"--special-border": "240 4% 16%",
|
|
2270
|
+
"--special-foreground": "240 5% 84%",
|
|
2271
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2272
|
+
},
|
|
2273
|
+
},
|
|
2274
|
+
},
|
|
2275
|
+
orange: {
|
|
2276
|
+
v4: {
|
|
2277
|
+
root: {
|
|
2278
|
+
"--radius": "0.65rem",
|
|
2279
|
+
"--background": "oklch(1 0 0)",
|
|
2280
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2281
|
+
"--card": "oklch(1 0 0)",
|
|
2282
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2283
|
+
"--popover": "oklch(1 0 0)",
|
|
2284
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2285
|
+
"--primary": "oklch(0.705 0.213 47.604)",
|
|
2286
|
+
"--primary-foreground": "oklch(0.98 0.016 73.684)",
|
|
2287
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2288
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2289
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2290
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2291
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2292
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2293
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2294
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2295
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2296
|
+
"--ring": "oklch(0.705 0.213 47.604)",
|
|
2297
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2298
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2299
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2300
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2301
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2302
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2303
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2304
|
+
"--sidebar-primary": "oklch(0.705 0.213 47.604)",
|
|
2305
|
+
"--sidebar-primary-foreground": "oklch(0.98 0.016 73.684)",
|
|
2306
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2307
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2308
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2309
|
+
"--sidebar-ring": "oklch(0.705 0.213 47.604)",
|
|
2310
|
+
},
|
|
2311
|
+
dark: {
|
|
2312
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2313
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2314
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2315
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2316
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2317
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2318
|
+
"--primary": "oklch(0.646 0.222 41.116)",
|
|
2319
|
+
"--primary-foreground": "oklch(0.98 0.016 73.684)",
|
|
2320
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2321
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2322
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2323
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2324
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2325
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2326
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2327
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2328
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2329
|
+
"--ring": "oklch(0.646 0.222 41.116)",
|
|
2330
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2331
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2332
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2333
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2334
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2335
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2336
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2337
|
+
"--sidebar-primary": "oklch(0.646 0.222 41.116)",
|
|
2338
|
+
"--sidebar-primary-foreground": "oklch(0.98 0.016 73.684)",
|
|
2339
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2340
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2341
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2342
|
+
"--sidebar-ring": "oklch(0.646 0.222 41.116)",
|
|
2343
|
+
},
|
|
2344
|
+
},
|
|
2345
|
+
v3: {
|
|
2346
|
+
root: {
|
|
2347
|
+
"--background": "0 0% 100%",
|
|
2348
|
+
"--foreground": "20 14.3% 4.1%",
|
|
2349
|
+
"--card": "0 0% 100%",
|
|
2350
|
+
"--card-foreground": "20 14.3% 4.1%",
|
|
2351
|
+
"--popover": "0 0% 100%",
|
|
2352
|
+
"--popover-foreground": "20 14.3% 4.1%",
|
|
2353
|
+
"--primary": "24.6 95% 53.1%",
|
|
2354
|
+
"--primary-foreground": "60 9.1% 97.8%",
|
|
2355
|
+
"--secondary": "60 4.8% 95.9%",
|
|
2356
|
+
"--secondary-foreground": "24 9.8% 10%",
|
|
2357
|
+
"--muted": "60 4.8% 95.9%",
|
|
2358
|
+
"--muted-foreground": "25 5.3% 44.7%",
|
|
2359
|
+
"--accent": "60 4.8% 95.9%",
|
|
2360
|
+
"--accent-foreground": "24 9.8% 10%",
|
|
2361
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2362
|
+
"--destructive-foreground": "60 9.1% 97.8%",
|
|
2363
|
+
"--border": "20 5.9% 90%",
|
|
2364
|
+
"--input": "20 5.9% 90%",
|
|
2365
|
+
"--ring": "24.6 95% 53.1%",
|
|
2366
|
+
"--radius": "0.5rem",
|
|
2367
|
+
"--chart-1": "12 76% 61%",
|
|
2368
|
+
"--chart-2": "173 58% 39%",
|
|
2369
|
+
"--chart-3": "197 37% 24%",
|
|
2370
|
+
"--chart-4": "43 74% 66%",
|
|
2371
|
+
"--chart-5": "27 87% 67%",
|
|
2372
|
+
"--sidebar": "221 39% 11%",
|
|
2373
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2374
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2375
|
+
"--special": "227 21% 8%",
|
|
2376
|
+
"--special-muted-background": "240 10% 4%",
|
|
2377
|
+
"--special-border": "240 4% 16%",
|
|
2378
|
+
"--special-foreground": "240 5% 84%",
|
|
2379
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2380
|
+
},
|
|
2381
|
+
dark: {
|
|
2382
|
+
"--background": "20 14.3% 4.1%",
|
|
2383
|
+
"--foreground": "60 9.1% 97.8%",
|
|
2384
|
+
"--card": "20 14.3% 4.1%",
|
|
2385
|
+
"--card-foreground": "60 9.1% 97.8%",
|
|
2386
|
+
"--popover": "20 14.3% 4.1%",
|
|
2387
|
+
"--popover-foreground": "60 9.1% 97.8%",
|
|
2388
|
+
"--primary": "20.5 90.2% 48.2%",
|
|
2389
|
+
"--primary-foreground": "60 9.1% 97.8%",
|
|
2390
|
+
"--secondary": "12 6.5% 15.1%",
|
|
2391
|
+
"--secondary-foreground": "60 9.1% 97.8%",
|
|
2392
|
+
"--muted": "12 6.5% 15.1%",
|
|
2393
|
+
"--muted-foreground": "24 5.4% 63.9%",
|
|
2394
|
+
"--accent": "12 6.5% 15.1%",
|
|
2395
|
+
"--accent-foreground": "60 9.1% 97.8%",
|
|
2396
|
+
"--destructive": "0 72.2% 50.6%",
|
|
2397
|
+
"--destructive-foreground": "60 9.1% 97.8%",
|
|
2398
|
+
"--border": "12 6.5% 15.1%",
|
|
2399
|
+
"--input": "12 6.5% 15.1%",
|
|
2400
|
+
"--ring": "20.5 90.2% 48.2%",
|
|
2401
|
+
"--chart-1": "220 70% 50%",
|
|
2402
|
+
"--chart-2": "160 60% 45%",
|
|
2403
|
+
"--chart-3": "30 80% 55%",
|
|
2404
|
+
"--chart-4": "280 65% 60%",
|
|
2405
|
+
"--chart-5": "340 75% 55%",
|
|
2406
|
+
"--sidebar": "221 39% 11%",
|
|
2407
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2408
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2409
|
+
"--special": "227 21% 8%",
|
|
2410
|
+
"--special-muted-background": "240 10% 4%",
|
|
2411
|
+
"--special-border": "240 4% 16%",
|
|
2412
|
+
"--special-foreground": "240 5% 84%",
|
|
2413
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2414
|
+
},
|
|
2415
|
+
},
|
|
2416
|
+
},
|
|
2417
|
+
green: {
|
|
2418
|
+
v4: {
|
|
2419
|
+
root: {
|
|
2420
|
+
"--radius": "0.65rem",
|
|
2421
|
+
"--background": "oklch(1 0 0)",
|
|
2422
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2423
|
+
"--card": "oklch(1 0 0)",
|
|
2424
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2425
|
+
"--popover": "oklch(1 0 0)",
|
|
2426
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2427
|
+
"--primary": "oklch(0.723 0.219 149.579)",
|
|
2428
|
+
"--primary-foreground": "oklch(0.982 0.018 155.826)",
|
|
2429
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2430
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2431
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2432
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2433
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2434
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2435
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2436
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2437
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2438
|
+
"--ring": "oklch(0.723 0.219 149.579)",
|
|
2439
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2440
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2441
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2442
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2443
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2444
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2445
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2446
|
+
"--sidebar-primary": "oklch(0.723 0.219 149.579)",
|
|
2447
|
+
"--sidebar-primary-foreground": "oklch(0.982 0.018 155.826)",
|
|
2448
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2449
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2450
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2451
|
+
"--sidebar-ring": "oklch(0.723 0.219 149.579)",
|
|
2452
|
+
},
|
|
2453
|
+
dark: {
|
|
2454
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2455
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2456
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2457
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2458
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2459
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2460
|
+
"--primary": "oklch(0.696 0.17 162.48)",
|
|
2461
|
+
"--primary-foreground": "oklch(0.393 0.095 152.535)",
|
|
2462
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2463
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2464
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2465
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2466
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2467
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2468
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2469
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2470
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2471
|
+
"--ring": "oklch(0.527 0.154 150.069)",
|
|
2472
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2473
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2474
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2475
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2476
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2477
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2478
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2479
|
+
"--sidebar-primary": "oklch(0.696 0.17 162.48)",
|
|
2480
|
+
"--sidebar-primary-foreground": "oklch(0.393 0.095 152.535)",
|
|
2481
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2482
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2483
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2484
|
+
"--sidebar-ring": "oklch(0.527 0.154 150.069)",
|
|
2485
|
+
},
|
|
2486
|
+
},
|
|
2487
|
+
v3: {
|
|
2488
|
+
root: {
|
|
2489
|
+
"--background": "0 0% 100%",
|
|
2490
|
+
"--foreground": "240 10% 3.9%",
|
|
2491
|
+
"--card": "0 0% 100%",
|
|
2492
|
+
"--card-foreground": "240 10% 3.9%",
|
|
2493
|
+
"--popover": "0 0% 100%",
|
|
2494
|
+
"--popover-foreground": "240 10% 3.9%",
|
|
2495
|
+
"--primary": "142.1 76.2% 36.3%",
|
|
2496
|
+
"--primary-foreground": "355.7 100% 97.3%",
|
|
2497
|
+
"--secondary": "240 4.8% 95.9%",
|
|
2498
|
+
"--secondary-foreground": "240 5.9% 10%",
|
|
2499
|
+
"--muted": "240 4.8% 95.9%",
|
|
2500
|
+
"--muted-foreground": "240 3.8% 46.1%",
|
|
2501
|
+
"--accent": "240 4.8% 95.9%",
|
|
2502
|
+
"--accent-foreground": "240 5.9% 10%",
|
|
2503
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2504
|
+
"--destructive-foreground": "0 0% 98%",
|
|
2505
|
+
"--border": "240 5.9% 90%",
|
|
2506
|
+
"--input": "240 5.9% 90%",
|
|
2507
|
+
"--ring": "142.1 76.2% 36.3%",
|
|
2508
|
+
"--radius": "0.5rem",
|
|
2509
|
+
"--chart-1": "12 76% 61%",
|
|
2510
|
+
"--chart-2": "173 58% 39%",
|
|
2511
|
+
"--chart-3": "197 37% 24%",
|
|
2512
|
+
"--chart-4": "43 74% 66%",
|
|
2513
|
+
"--chart-5": "27 87% 67%",
|
|
2514
|
+
"--sidebar": "221 39% 11%",
|
|
2515
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2516
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2517
|
+
"--special": "227 21% 8%",
|
|
2518
|
+
"--special-muted-background": "240 10% 4%",
|
|
2519
|
+
"--special-border": "240 4% 16%",
|
|
2520
|
+
"--special-foreground": "240 5% 84%",
|
|
2521
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2522
|
+
},
|
|
2523
|
+
dark: {
|
|
2524
|
+
"--background": "20 14.3% 4.1%",
|
|
2525
|
+
"--foreground": "0 0% 95%",
|
|
2526
|
+
"--card": "24 9.8% 10%",
|
|
2527
|
+
"--card-foreground": "0 0% 95%",
|
|
2528
|
+
"--popover": "0 0% 9%",
|
|
2529
|
+
"--popover-foreground": "0 0% 95%",
|
|
2530
|
+
"--primary": "142.1 70.6% 45.3%",
|
|
2531
|
+
"--primary-foreground": "144.9 80.4% 10%",
|
|
2532
|
+
"--secondary": "240 3.7% 15.9%",
|
|
2533
|
+
"--secondary-foreground": "0 0% 98%",
|
|
2534
|
+
"--muted": "0 0% 15%",
|
|
2535
|
+
"--muted-foreground": "240 5% 64.9%",
|
|
2536
|
+
"--accent": "12 6.5% 15.1%",
|
|
2537
|
+
"--accent-foreground": "0 0% 98%",
|
|
2538
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2539
|
+
"--destructive-foreground": "0 85.7% 97.3%",
|
|
2540
|
+
"--border": "240 3.7% 15.9%",
|
|
2541
|
+
"--input": "240 3.7% 15.9%",
|
|
2542
|
+
"--ring": "142.4 71.8% 29.2%",
|
|
2543
|
+
"--chart-1": "220 70% 50%",
|
|
2544
|
+
"--chart-2": "160 60% 45%",
|
|
2545
|
+
"--chart-3": "30 80% 55%",
|
|
2546
|
+
"--chart-4": "280 65% 60%",
|
|
2547
|
+
"--chart-5": "340 75% 55%",
|
|
2548
|
+
"--sidebar": "221 39% 11%",
|
|
2549
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2550
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2551
|
+
"--special": "227 21% 8%",
|
|
2552
|
+
"--special-muted-background": "240 10% 4%",
|
|
2553
|
+
"--special-border": "240 4% 16%",
|
|
2554
|
+
"--special-foreground": "240 5% 84%",
|
|
2555
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2556
|
+
},
|
|
2557
|
+
},
|
|
2558
|
+
},
|
|
2559
|
+
blue: {
|
|
2560
|
+
v4: {
|
|
2561
|
+
root: {
|
|
2562
|
+
"--radius": "0.65rem",
|
|
2563
|
+
"--background": "oklch(1 0 0)",
|
|
2564
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2565
|
+
"--card": "oklch(1 0 0)",
|
|
2566
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2567
|
+
"--popover": "oklch(1 0 0)",
|
|
2568
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2569
|
+
"--primary": "oklch(0.623 0.214 259.815)",
|
|
2570
|
+
"--primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
2571
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2572
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2573
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2574
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2575
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2576
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2577
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2578
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2579
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2580
|
+
"--ring": "oklch(0.623 0.214 259.815)",
|
|
2581
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2582
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2583
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2584
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2585
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2586
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2587
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2588
|
+
"--sidebar-primary": "oklch(0.623 0.214 259.815)",
|
|
2589
|
+
"--sidebar-primary-foreground": "oklch(0.97 0.014 254.604)",
|
|
2590
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2591
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2592
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2593
|
+
"--sidebar-ring": "oklch(0.623 0.214 259.815)",
|
|
2594
|
+
},
|
|
2595
|
+
dark: {
|
|
2596
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2597
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2598
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2599
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2600
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2601
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2602
|
+
"--primary": "oklch(0.546 0.245 262.881)",
|
|
2603
|
+
"--primary-foreground": "oklch(0.379 0.146 265.522)",
|
|
2604
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2605
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2606
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2607
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2608
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2609
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2610
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2611
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2612
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2613
|
+
"--ring": "oklch(0.488 0.243 264.376)",
|
|
2614
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2615
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2616
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2617
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2618
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2619
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2620
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2621
|
+
"--sidebar-primary": "oklch(0.546 0.245 262.881)",
|
|
2622
|
+
"--sidebar-primary-foreground": "oklch(0.379 0.146 265.522)",
|
|
2623
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2624
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2625
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2626
|
+
"--sidebar-ring": "oklch(0.488 0.243 264.376)",
|
|
2627
|
+
},
|
|
2628
|
+
},
|
|
2629
|
+
v3: {
|
|
2630
|
+
root: {
|
|
2631
|
+
"--background": "0 0% 100%",
|
|
2632
|
+
"--foreground": "222.2 84% 4.9%",
|
|
2633
|
+
"--card": "0 0% 100%",
|
|
2634
|
+
"--card-foreground": "222.2 84% 4.9%",
|
|
2635
|
+
"--popover": "0 0% 100%",
|
|
2636
|
+
"--popover-foreground": "222.2 84% 4.9%",
|
|
2637
|
+
"--primary": "221.2 83.2% 53.3%",
|
|
2638
|
+
"--primary-foreground": "210 40% 98%",
|
|
2639
|
+
"--secondary": "210 40% 96.1%",
|
|
2640
|
+
"--secondary-foreground": "222.2 47.4% 11.2%",
|
|
2641
|
+
"--muted": "210 40% 96.1%",
|
|
2642
|
+
"--muted-foreground": "215.4 16.3% 46.9%",
|
|
2643
|
+
"--accent": "210 40% 96.1%",
|
|
2644
|
+
"--accent-foreground": "222.2 47.4% 11.2%",
|
|
2645
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2646
|
+
"--destructive-foreground": "210 40% 98%",
|
|
2647
|
+
"--border": "214.3 31.8% 91.4%",
|
|
2648
|
+
"--input": "214.3 31.8% 91.4%",
|
|
2649
|
+
"--ring": "221.2 83.2% 53.3%",
|
|
2650
|
+
"--radius": "0.5rem",
|
|
2651
|
+
"--chart-1": "12 76% 61%",
|
|
2652
|
+
"--chart-2": "173 58% 39%",
|
|
2653
|
+
"--chart-3": "197 37% 24%",
|
|
2654
|
+
"--chart-4": "43 74% 66%",
|
|
2655
|
+
"--chart-5": "27 87% 67%",
|
|
2656
|
+
"--sidebar": "221 39% 11%",
|
|
2657
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2658
|
+
"--sidebar-primary": "221.2 83.2% 53.3%",
|
|
2659
|
+
"--special": "221 39% 11%",
|
|
2660
|
+
"--special-muted-background": "210 40% 96.1%",
|
|
2661
|
+
"--special-border": "214.3 31.8% 91.4%",
|
|
2662
|
+
"--special-foreground": "0 0% 98%",
|
|
2663
|
+
"--special-muted-foreground": "215.4 16.3% 46.9%",
|
|
2664
|
+
|
|
2665
|
+
},
|
|
2666
|
+
dark: {
|
|
2667
|
+
"--background": "222.2 84% 4.9%",
|
|
2668
|
+
"--foreground": "210 40% 98%",
|
|
2669
|
+
"--card": "222.2 84% 4.9%",
|
|
2670
|
+
"--card-foreground": "210 40% 98%",
|
|
2671
|
+
"--popover": "222.2 84% 4.9%",
|
|
2672
|
+
"--popover-foreground": "210 40% 98%",
|
|
2673
|
+
"--primary": "217.2 91.2% 59.8%",
|
|
2674
|
+
"--primary-foreground": "222.2 47.4% 11.2%",
|
|
2675
|
+
"--secondary": "217.2 32.6% 17.5%",
|
|
2676
|
+
"--secondary-foreground": "210 40% 98%",
|
|
2677
|
+
"--muted": "217.2 32.6% 17.5%",
|
|
2678
|
+
"--muted-foreground": "215 20.2% 65.1%",
|
|
2679
|
+
"--accent": "217.2 32.6% 17.5%",
|
|
2680
|
+
"--accent-foreground": "210 40% 98%",
|
|
2681
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2682
|
+
"--destructive-foreground": "210 40% 98%",
|
|
2683
|
+
"--border": "217.2 32.6% 17.5%",
|
|
2684
|
+
"--input": "217.2 32.6% 17.5%",
|
|
2685
|
+
"--ring": "224.3 76.3% 48%",
|
|
2686
|
+
"--chart-1": "220 70% 50%",
|
|
2687
|
+
"--chart-2": "160 60% 45%",
|
|
2688
|
+
"--chart-3": "30 80% 55%",
|
|
2689
|
+
"--chart-4": "280 65% 60%",
|
|
2690
|
+
"--chart-5": "340 75% 55%",
|
|
2691
|
+
"--sidebar": "221 39% 11%",
|
|
2692
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2693
|
+
"--sidebar-primary": "221.2 83.2% 53.3%",
|
|
2694
|
+
"--special": "221 39% 11%",
|
|
2695
|
+
"--special-muted-background": "210 40% 96.1%",
|
|
2696
|
+
"--special-border": "214.3 31.8% 91.4%",
|
|
2697
|
+
"--special-foreground": "0 0% 98%",
|
|
2698
|
+
"--special-muted-foreground": "215.4 16.3% 46.9%",
|
|
2699
|
+
},
|
|
2700
|
+
},
|
|
2701
|
+
},
|
|
2702
|
+
yellow: {
|
|
2703
|
+
v4: {
|
|
2704
|
+
root: {
|
|
2705
|
+
"--radius": "0.65rem",
|
|
2706
|
+
"--background": "oklch(1 0 0)",
|
|
2707
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2708
|
+
"--card": "oklch(1 0 0)",
|
|
2709
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2710
|
+
"--popover": "oklch(1 0 0)",
|
|
2711
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2712
|
+
"--primary": "oklch(0.795 0.184 86.047)",
|
|
2713
|
+
"--primary-foreground": "oklch(0.421 0.095 57.708)",
|
|
2714
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2715
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2716
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2717
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2718
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2719
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2720
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2721
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2722
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2723
|
+
"--ring": "oklch(0.795 0.184 86.047)",
|
|
2724
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2725
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2726
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2727
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2728
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2729
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2730
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2731
|
+
"--sidebar-primary": "oklch(0.795 0.184 86.047)",
|
|
2732
|
+
"--sidebar-primary-foreground": "oklch(0.421 0.095 57.708)",
|
|
2733
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2734
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2735
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2736
|
+
"--sidebar-ring": "oklch(0.795 0.184 86.047)",
|
|
2737
|
+
},
|
|
2738
|
+
dark: {
|
|
2739
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2740
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2741
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2742
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2743
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2744
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2745
|
+
"--primary": "oklch(0.795 0.184 86.047)",
|
|
2746
|
+
"--primary-foreground": "oklch(0.421 0.095 57.708)",
|
|
2747
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2748
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2749
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2750
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2751
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2752
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2753
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2754
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2755
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2756
|
+
"--ring": "oklch(0.554 0.135 66.442)",
|
|
2757
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2758
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2759
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2760
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2761
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2762
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2763
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2764
|
+
"--sidebar-primary": "oklch(0.795 0.184 86.047)",
|
|
2765
|
+
"--sidebar-primary-foreground": "oklch(0.421 0.095 57.708)",
|
|
2766
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2767
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2768
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2769
|
+
"--sidebar-ring": "oklch(0.554 0.135 66.442)",
|
|
2770
|
+
},
|
|
2771
|
+
},
|
|
2772
|
+
v3: {
|
|
2773
|
+
root: {
|
|
2774
|
+
"--background": "0 0% 100%",
|
|
2775
|
+
"--foreground": "20 14.3% 4.1%",
|
|
2776
|
+
"--card": "0 0% 100%",
|
|
2777
|
+
"--card-foreground": "20 14.3% 4.1%",
|
|
2778
|
+
"--popover": "0 0% 100%",
|
|
2779
|
+
"--popover-foreground": "20 14.3% 4.1%",
|
|
2780
|
+
"--primary": "47.9 95.8% 53.1%",
|
|
2781
|
+
"--primary-foreground": "26 83.3% 14.1%",
|
|
2782
|
+
"--secondary": "60 4.8% 95.9%",
|
|
2783
|
+
"--secondary-foreground": "24 9.8% 10%",
|
|
2784
|
+
"--muted": "60 4.8% 95.9%",
|
|
2785
|
+
"--muted-foreground": "25 5.3% 44.7%",
|
|
2786
|
+
"--accent": "60 4.8% 95.9%",
|
|
2787
|
+
"--accent-foreground": "24 9.8% 10%",
|
|
2788
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2789
|
+
"--destructive-foreground": "60 9.1% 97.8%",
|
|
2790
|
+
"--border": "20 5.9% 90%",
|
|
2791
|
+
"--input": "20 5.9% 90%",
|
|
2792
|
+
"--ring": "20 14.3% 4.1%",
|
|
2793
|
+
"--radius": "0.5rem",
|
|
2794
|
+
"--chart-1": "12 76% 61%",
|
|
2795
|
+
"--chart-2": "173 58% 39%",
|
|
2796
|
+
"--chart-3": "197 37% 24%",
|
|
2797
|
+
"--chart-4": "43 74% 66%",
|
|
2798
|
+
"--chart-5": "27 87% 67%",
|
|
2799
|
+
"--sidebar": "221 39% 11%",
|
|
2800
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2801
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2802
|
+
"--special": "227 21% 8%",
|
|
2803
|
+
"--special-muted-background": "240 10% 4%",
|
|
2804
|
+
"--special-border": "240 4% 16%",
|
|
2805
|
+
"--special-foreground": "240 5% 84%",
|
|
2806
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2807
|
+
},
|
|
2808
|
+
dark: {
|
|
2809
|
+
"--background": "20 14.3% 4.1%",
|
|
2810
|
+
"--foreground": "60 9.1% 97.8%",
|
|
2811
|
+
"--card": "20 14.3% 4.1%",
|
|
2812
|
+
"--card-foreground": "60 9.1% 97.8%",
|
|
2813
|
+
"--popover": "20 14.3% 4.1%",
|
|
2814
|
+
"--popover-foreground": "60 9.1% 97.8%",
|
|
2815
|
+
"--primary": "47.9 95.8% 53.1%",
|
|
2816
|
+
"--primary-foreground": "26 83.3% 14.1%",
|
|
2817
|
+
"--secondary": "12 6.5% 15.1%",
|
|
2818
|
+
"--secondary-foreground": "60 9.1% 97.8%",
|
|
2819
|
+
"--muted": "12 6.5% 15.1%",
|
|
2820
|
+
"--muted-foreground": "24 5.4% 63.9%",
|
|
2821
|
+
"--accent": "12 6.5% 15.1%",
|
|
2822
|
+
"--accent-foreground": "60 9.1% 97.8%",
|
|
2823
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2824
|
+
"--destructive-foreground": "60 9.1% 97.8%",
|
|
2825
|
+
"--border": "12 6.5% 15.1%",
|
|
2826
|
+
"--input": "12 6.5% 15.1%",
|
|
2827
|
+
"--ring": "35.5 91.7% 32.9%",
|
|
2828
|
+
"--chart-1": "220 70% 50%",
|
|
2829
|
+
"--chart-2": "160 60% 45%",
|
|
2830
|
+
"--chart-3": "30 80% 55%",
|
|
2831
|
+
"--chart-4": "280 65% 60%",
|
|
2832
|
+
"--chart-5": "340 75% 55%",
|
|
2833
|
+
"--sidebar": "221 39% 11%",
|
|
2834
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2835
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2836
|
+
"--special": "227 21% 8%",
|
|
2837
|
+
"--special-muted-background": "240 10% 4%",
|
|
2838
|
+
"--special-border": "240 4% 16%",
|
|
2839
|
+
"--special-foreground": "240 5% 84%",
|
|
2840
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2841
|
+
},
|
|
2842
|
+
},
|
|
2843
|
+
},
|
|
2844
|
+
violet: {
|
|
2845
|
+
v4: {
|
|
2846
|
+
root: {
|
|
2847
|
+
"--radius": "0.65rem",
|
|
2848
|
+
"--background": "oklch(1 0 0)",
|
|
2849
|
+
"--foreground": "oklch(0.141 0.005 285.823)",
|
|
2850
|
+
"--card": "oklch(1 0 0)",
|
|
2851
|
+
"--card-foreground": "oklch(0.141 0.005 285.823)",
|
|
2852
|
+
"--popover": "oklch(1 0 0)",
|
|
2853
|
+
"--popover-foreground": "oklch(0.141 0.005 285.823)",
|
|
2854
|
+
"--primary": "oklch(0.637 0.237 25.331)",
|
|
2855
|
+
"--primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2856
|
+
"--secondary": "oklch(0.967 0.001 286.375)",
|
|
2857
|
+
"--secondary-foreground": "oklch(0.21 0.006 285.885)",
|
|
2858
|
+
"--muted": "oklch(0.967 0.001 286.375)",
|
|
2859
|
+
"--muted-foreground": "oklch(0.552 0.016 285.938)",
|
|
2860
|
+
"--accent": "oklch(0.967 0.001 286.375)",
|
|
2861
|
+
"--accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2862
|
+
"--destructive": "oklch(0.577 0.245 27.325)",
|
|
2863
|
+
"--border": "oklch(0.92 0.004 286.32)",
|
|
2864
|
+
"--input": "oklch(0.92 0.004 286.32)",
|
|
2865
|
+
"--ring": "oklch(0.637 0.237 25.331)",
|
|
2866
|
+
"--chart-1": "oklch(0.646 0.222 41.116)",
|
|
2867
|
+
"--chart-2": "oklch(0.6 0.118 184.704)",
|
|
2868
|
+
"--chart-3": "oklch(0.398 0.07 227.392)",
|
|
2869
|
+
"--chart-4": "oklch(0.828 0.189 84.429)",
|
|
2870
|
+
"--chart-5": "oklch(0.769 0.188 70.08)",
|
|
2871
|
+
"--sidebar": "oklch(0.985 0 0)",
|
|
2872
|
+
"--sidebar-foreground": "oklch(0.141 0.005 285.823)",
|
|
2873
|
+
"--sidebar-primary": "oklch(0.637 0.237 25.331)",
|
|
2874
|
+
"--sidebar-primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2875
|
+
"--sidebar-accent": "oklch(0.967 0.001 286.375)",
|
|
2876
|
+
"--sidebar-accent-foreground": "oklch(0.21 0.006 285.885)",
|
|
2877
|
+
"--sidebar-border": "oklch(0.92 0.004 286.32)",
|
|
2878
|
+
"--sidebar-ring": "oklch(0.637 0.237 25.331)",
|
|
2879
|
+
},
|
|
2880
|
+
dark: {
|
|
2881
|
+
"--background": "oklch(0.141 0.005 285.823)",
|
|
2882
|
+
"--foreground": "oklch(0.985 0 0)",
|
|
2883
|
+
"--card": "oklch(0.21 0.006 285.885)",
|
|
2884
|
+
"--card-foreground": "oklch(0.985 0 0)",
|
|
2885
|
+
"--popover": "oklch(0.21 0.006 285.885)",
|
|
2886
|
+
"--popover-foreground": "oklch(0.985 0 0)",
|
|
2887
|
+
"--primary": "oklch(0.637 0.237 25.331)",
|
|
2888
|
+
"--primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2889
|
+
"--secondary": "oklch(0.274 0.006 286.033)",
|
|
2890
|
+
"--secondary-foreground": "oklch(0.985 0 0)",
|
|
2891
|
+
"--muted": "oklch(0.274 0.006 286.033)",
|
|
2892
|
+
"--muted-foreground": "oklch(0.705 0.015 286.067)",
|
|
2893
|
+
"--accent": "oklch(0.274 0.006 286.033)",
|
|
2894
|
+
"--accent-foreground": "oklch(0.985 0 0)",
|
|
2895
|
+
"--destructive": "oklch(0.704 0.191 22.216)",
|
|
2896
|
+
"--border": "oklch(1 0 0 / 10%)",
|
|
2897
|
+
"--input": "oklch(1 0 0 / 15%)",
|
|
2898
|
+
"--ring": "oklch(0.637 0.237 25.331)",
|
|
2899
|
+
"--chart-1": "oklch(0.488 0.243 264.376)",
|
|
2900
|
+
"--chart-2": "oklch(0.696 0.17 162.48)",
|
|
2901
|
+
"--chart-3": "oklch(0.769 0.188 70.08)",
|
|
2902
|
+
"--chart-4": "oklch(0.627 0.265 303.9)",
|
|
2903
|
+
"--chart-5": "oklch(0.645 0.246 16.439)",
|
|
2904
|
+
"--sidebar": "oklch(0.21 0.006 285.885)",
|
|
2905
|
+
"--sidebar-foreground": "oklch(0.985 0 0)",
|
|
2906
|
+
"--sidebar-primary": "oklch(0.637 0.237 25.331)",
|
|
2907
|
+
"--sidebar-primary-foreground": "oklch(0.971 0.013 17.38)",
|
|
2908
|
+
"--sidebar-accent": "oklch(0.274 0.006 286.033)",
|
|
2909
|
+
"--sidebar-accent-foreground": "oklch(0.985 0 0)",
|
|
2910
|
+
"--sidebar-border": "oklch(1 0 0 / 10%)",
|
|
2911
|
+
"--sidebar-ring": "oklch(0.637 0.237 25.331)",
|
|
2912
|
+
},
|
|
2913
|
+
},
|
|
2914
|
+
v3: {
|
|
2915
|
+
root: {
|
|
2916
|
+
"--background": "0 0% 100%",
|
|
2917
|
+
"--foreground": "224 71.4% 4.1%",
|
|
2918
|
+
"--card": "0 0% 100%",
|
|
2919
|
+
"--card-foreground": "224 71.4% 4.1%",
|
|
2920
|
+
"--popover": "0 0% 100%",
|
|
2921
|
+
"--popover-foreground": "224 71.4% 4.1%",
|
|
2922
|
+
"--primary": "262.1 83.3% 57.8%",
|
|
2923
|
+
"--primary-foreground": "210 20% 98%",
|
|
2924
|
+
"--secondary": "220 14.3% 95.9%",
|
|
2925
|
+
"--secondary-foreground": "220.9 39.3% 11%",
|
|
2926
|
+
"--muted": "220 14.3% 95.9%",
|
|
2927
|
+
"--muted-foreground": "220 8.9% 46.1%",
|
|
2928
|
+
"--accent": "220 14.3% 95.9%",
|
|
2929
|
+
"--accent-foreground": "220.9 39.3% 11%",
|
|
2930
|
+
"--destructive": "0 84.2% 60.2%",
|
|
2931
|
+
"--destructive-foreground": "210 20% 98%",
|
|
2932
|
+
"--border": "220 13% 91%",
|
|
2933
|
+
"--input": "220 13% 91%",
|
|
2934
|
+
"--ring": "262.1 83.3% 57.8%",
|
|
2935
|
+
"--radius": "0.5rem",
|
|
2936
|
+
"--chart-1": "12 76% 61%",
|
|
2937
|
+
"--chart-2": "173 58% 39%",
|
|
2938
|
+
"--chart-3": "197 37% 24%",
|
|
2939
|
+
"--chart-4": "43 74% 66%",
|
|
2940
|
+
"--chart-5": "27 87% 67%",
|
|
2941
|
+
"--sidebar": "221 39% 11%",
|
|
2942
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2943
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2944
|
+
"--special": "227 21% 8%",
|
|
2945
|
+
"--special-muted-background": "240 10% 4%",
|
|
2946
|
+
"--special-border": "240 4% 16%",
|
|
2947
|
+
"--special-foreground": "240 5% 84%",
|
|
2948
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2949
|
+
},
|
|
2950
|
+
dark: {
|
|
2951
|
+
"--background": "224 71.4% 4.1%",
|
|
2952
|
+
"--foreground": "210 20% 98%",
|
|
2953
|
+
"--card": "224 71.4% 4.1%",
|
|
2954
|
+
"--card-foreground": "210 20% 98%",
|
|
2955
|
+
"--popover": "224 71.4% 4.1%",
|
|
2956
|
+
"--popover-foreground": "210 20% 98%",
|
|
2957
|
+
"--primary": "263.4 70% 50.4%",
|
|
2958
|
+
"--primary-foreground": "210 20% 98%",
|
|
2959
|
+
"--secondary": "215 27.9% 16.9%",
|
|
2960
|
+
"--secondary-foreground": "210 20% 98%",
|
|
2961
|
+
"--muted": "215 27.9% 16.9%",
|
|
2962
|
+
"--muted-foreground": "217.9 10.6% 64.9%",
|
|
2963
|
+
"--accent": "215 27.9% 16.9%",
|
|
2964
|
+
"--accent-foreground": "210 20% 98%",
|
|
2965
|
+
"--destructive": "0 62.8% 30.6%",
|
|
2966
|
+
"--destructive-foreground": "210 20% 98%",
|
|
2967
|
+
"--border": "215 27.9% 16.9%",
|
|
2968
|
+
"--input": "215 27.9% 16.9%",
|
|
2969
|
+
"--ring": "263.4 70% 50.4%",
|
|
2970
|
+
"--chart-1": "220 70% 50%",
|
|
2971
|
+
"--chart-2": "160 60% 45%",
|
|
2972
|
+
"--chart-3": "30 80% 55%",
|
|
2973
|
+
"--chart-4": "280 65% 60%",
|
|
2974
|
+
"--chart-5": "340 75% 55%",
|
|
2975
|
+
"--sidebar": "221 39% 11%",
|
|
2976
|
+
"--sidebar-foreground": "0 0% 98%",
|
|
2977
|
+
"--sidebar-primary": "217.2 91.2% 59.8%",
|
|
2978
|
+
"--special": "227 21% 8%",
|
|
2979
|
+
"--special-muted-background": "240 10% 4%",
|
|
2980
|
+
"--special-border": "240 4% 16%",
|
|
2981
|
+
"--special-foreground": "240 5% 84%",
|
|
2982
|
+
"--special-muted-foreground": "240 4% 46%",
|
|
2983
|
+
},
|
|
2984
|
+
},
|
|
2985
|
+
},
|
|
2986
|
+
};
|
|
2987
|
+
// #enddev
|
|
2988
|
+
// #dev DSA
|
|
2989
|
+
const DSA = React.forwardRef<
|
|
2990
|
+
React.ElementRef<typeof AvatarPrimitive.Root>,
|
|
2991
|
+
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>
|
|
2992
|
+
>(({ className, ...props }, ref) => (
|
|
2993
|
+
<AvatarPrimitive.Root
|
|
2994
|
+
ref={ref}
|
|
2995
|
+
className={cn(
|
|
2996
|
+
'relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full',
|
|
2997
|
+
className
|
|
2998
|
+
)}
|
|
2999
|
+
{...props}
|
|
3000
|
+
/>
|
|
3001
|
+
))
|
|
3002
|
+
DSA.displayName = AvatarPrimitive.Root.displayName
|
|
3003
|
+
|
|
3004
|
+
const DSAImage = React.forwardRef<
|
|
3005
|
+
React.ElementRef<typeof AvatarPrimitive.Image>,
|
|
3006
|
+
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>
|
|
3007
|
+
>(({ className, ...props }, ref) => (
|
|
3008
|
+
<AvatarPrimitive.Image
|
|
3009
|
+
ref={ref}
|
|
3010
|
+
className={cn('aspect-square h-full w-full', className)}
|
|
3011
|
+
{...props}
|
|
3012
|
+
/>
|
|
3013
|
+
))
|
|
3014
|
+
DSAImage.displayName = AvatarPrimitive.Image.displayName
|
|
3015
|
+
|
|
3016
|
+
const DSAFallback = React.forwardRef<
|
|
3017
|
+
React.ElementRef<typeof AvatarPrimitive.Fallback>,
|
|
3018
|
+
React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>
|
|
3019
|
+
>(({ className, ...props }, ref) => (
|
|
3020
|
+
<AvatarPrimitive.Fallback
|
|
3021
|
+
ref={ref}
|
|
3022
|
+
className={cn(
|
|
3023
|
+
'flex h-full w-full items-center justify-center rounded-full bg-muted',
|
|
3024
|
+
className
|
|
3025
|
+
)}
|
|
3026
|
+
{...props}
|
|
3027
|
+
/>
|
|
3028
|
+
))
|
|
3029
|
+
DSAFallback.displayName = AvatarPrimitive.Fallback.displayName
|
|
3030
|
+
|
|
3031
|
+
// #enddev
|
|
3032
|
+
// #dev DSDM
|
|
3033
|
+
function DSDM({
|
|
3034
|
+
...props
|
|
3035
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Root>) {
|
|
3036
|
+
return <DropdownMenuPrimitive.Root data-slot="dropdown-menu" {...props} />
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
function DSDMPortal({
|
|
3040
|
+
...props
|
|
3041
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>) {
|
|
3042
|
+
return (
|
|
3043
|
+
<DropdownMenuPrimitive.Portal data-slot="dropdown-menu-portal" {...props} />
|
|
3044
|
+
)
|
|
3045
|
+
}
|
|
3046
|
+
|
|
3047
|
+
function DSDMTrigger({
|
|
3048
|
+
...props
|
|
3049
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>) {
|
|
3050
|
+
return (
|
|
3051
|
+
<DropdownMenuPrimitive.Trigger
|
|
3052
|
+
data-slot="dropdown-menu-trigger"
|
|
3053
|
+
{...props}
|
|
3054
|
+
/>
|
|
3055
|
+
)
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
function DSDMContent({
|
|
3059
|
+
className,
|
|
3060
|
+
sideOffset = 4,
|
|
3061
|
+
...props
|
|
3062
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Content>) {
|
|
3063
|
+
return (
|
|
3064
|
+
<DropdownMenuPrimitive.Portal>
|
|
3065
|
+
<DropdownMenuPrimitive.Content
|
|
3066
|
+
data-slot="dropdown-menu-content"
|
|
3067
|
+
sideOffset={sideOffset}
|
|
3068
|
+
className={cn(
|
|
3069
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",
|
|
3070
|
+
className
|
|
3071
|
+
)}
|
|
3072
|
+
{...props}
|
|
3073
|
+
/>
|
|
3074
|
+
</DropdownMenuPrimitive.Portal>
|
|
3075
|
+
)
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3078
|
+
function DSDMGroup({
|
|
3079
|
+
...props
|
|
3080
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Group>) {
|
|
3081
|
+
return (
|
|
3082
|
+
<DropdownMenuPrimitive.Group data-slot="dropdown-menu-group" {...props} />
|
|
3083
|
+
)
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
function DSDMItem({
|
|
3087
|
+
className,
|
|
3088
|
+
inset,
|
|
3089
|
+
variant = "default",
|
|
3090
|
+
...props
|
|
3091
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
3092
|
+
inset?: boolean
|
|
3093
|
+
variant?: "default" | "destructive"
|
|
3094
|
+
}) {
|
|
3095
|
+
return (
|
|
3096
|
+
<DropdownMenuPrimitive.Item
|
|
3097
|
+
data-slot="dropdown-menu-item"
|
|
3098
|
+
data-inset={inset}
|
|
3099
|
+
data-variant={variant}
|
|
3100
|
+
className={cn(
|
|
3101
|
+
"focus:bg-accent focus:text-accent-foreground cursor-pointer data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3102
|
+
className
|
|
3103
|
+
)}
|
|
3104
|
+
{...props}
|
|
3105
|
+
/>
|
|
3106
|
+
)
|
|
3107
|
+
}
|
|
3108
|
+
|
|
3109
|
+
function DSDMAnchor({
|
|
3110
|
+
className,
|
|
3111
|
+
children,
|
|
3112
|
+
to,
|
|
3113
|
+
variant = "default",
|
|
3114
|
+
newTab = true,
|
|
3115
|
+
...props
|
|
3116
|
+
}: {
|
|
3117
|
+
className?: string
|
|
3118
|
+
children: React.ReactNode
|
|
3119
|
+
to: string
|
|
3120
|
+
newTab?: boolean
|
|
3121
|
+
}) {
|
|
3122
|
+
const anchorProps = newTab ? {
|
|
3123
|
+
target: "_blank",
|
|
3124
|
+
rel: "noopener noreferrer"
|
|
3125
|
+
} : {};
|
|
3126
|
+
return (
|
|
3127
|
+
<a
|
|
3128
|
+
href={to}
|
|
3129
|
+
{...anchorProps}
|
|
3130
|
+
className={cn(className)}
|
|
3131
|
+
{...props}
|
|
3132
|
+
>
|
|
3133
|
+
<DSDMItem variant={variant}>
|
|
3134
|
+
<span className="flex-1 truncate">{children}</span>
|
|
3135
|
+
</DSDMItem>
|
|
3136
|
+
</a>
|
|
3137
|
+
);
|
|
3138
|
+
}
|
|
3139
|
+
|
|
3140
|
+
function DSDMCheckboxItem({
|
|
3141
|
+
className,
|
|
3142
|
+
children,
|
|
3143
|
+
checked,
|
|
3144
|
+
...props
|
|
3145
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>) {
|
|
3146
|
+
return (
|
|
3147
|
+
<DropdownMenuPrimitive.CheckboxItem
|
|
3148
|
+
data-slot="dropdown-menu-checkbox-item"
|
|
3149
|
+
className={cn(
|
|
3150
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3151
|
+
className
|
|
3152
|
+
)}
|
|
3153
|
+
checked={checked}
|
|
3154
|
+
{...props}
|
|
3155
|
+
>
|
|
3156
|
+
<span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
|
|
3157
|
+
<DropdownMenuPrimitive.ItemIndicator>
|
|
3158
|
+
<Check className="size-4" />
|
|
3159
|
+
</DropdownMenuPrimitive.ItemIndicator>
|
|
3160
|
+
</span>
|
|
3161
|
+
{children}
|
|
3162
|
+
</DropdownMenuPrimitive.CheckboxItem>
|
|
3163
|
+
)
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
function DSDMRadioGroup({
|
|
3167
|
+
...props
|
|
3168
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>) {
|
|
3169
|
+
return (
|
|
3170
|
+
<DropdownMenuPrimitive.RadioGroup
|
|
3171
|
+
data-slot="dropdown-menu-radio-group"
|
|
3172
|
+
{...props}
|
|
3173
|
+
/>
|
|
3174
|
+
)
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
function DSDMRadioItem({
|
|
3178
|
+
className,
|
|
3179
|
+
children,
|
|
3180
|
+
...props
|
|
3181
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>) {
|
|
3182
|
+
return (
|
|
3183
|
+
<DropdownMenuPrimitive.RadioItem
|
|
3184
|
+
data-slot="dropdown-menu-radio-item"
|
|
3185
|
+
className={cn(
|
|
3186
|
+
"focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
3187
|
+
className
|
|
3188
|
+
)}
|
|
3189
|
+
{...props}
|
|
3190
|
+
>
|
|
3191
|
+
<span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">
|
|
3192
|
+
<DropdownMenuPrimitive.ItemIndicator>
|
|
3193
|
+
<Circle className="size-2 fill-current" />
|
|
3194
|
+
</DropdownMenuPrimitive.ItemIndicator>
|
|
3195
|
+
</span>
|
|
3196
|
+
{children}
|
|
3197
|
+
</DropdownMenuPrimitive.RadioItem>
|
|
3198
|
+
)
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
function DSDMLabel({
|
|
3202
|
+
className,
|
|
3203
|
+
inset,
|
|
3204
|
+
...props
|
|
3205
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
3206
|
+
inset?: boolean
|
|
3207
|
+
}) {
|
|
3208
|
+
return (
|
|
3209
|
+
<DropdownMenuPrimitive.Label
|
|
3210
|
+
data-slot="dropdown-menu-label"
|
|
3211
|
+
data-inset={inset}
|
|
3212
|
+
className={cn(
|
|
3213
|
+
"px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
|
|
3214
|
+
className
|
|
3215
|
+
)}
|
|
3216
|
+
{...props}
|
|
3217
|
+
/>
|
|
3218
|
+
)
|
|
3219
|
+
}
|
|
3220
|
+
|
|
3221
|
+
function DSDMSeparator({
|
|
3222
|
+
className,
|
|
3223
|
+
...props
|
|
3224
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>) {
|
|
3225
|
+
return (
|
|
3226
|
+
<DropdownMenuPrimitive.Separator
|
|
3227
|
+
data-slot="dropdown-menu-separator"
|
|
3228
|
+
className={cn("bg-border -mx-1 my-1 h-px", className)}
|
|
3229
|
+
{...props}
|
|
3230
|
+
/>
|
|
3231
|
+
)
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
function DSDMShortcut({
|
|
3235
|
+
className,
|
|
3236
|
+
...props
|
|
3237
|
+
}: React.ComponentProps<"span">) {
|
|
3238
|
+
return (
|
|
3239
|
+
<span
|
|
3240
|
+
data-slot="dropdown-menu-shortcut"
|
|
3241
|
+
className={cn(
|
|
3242
|
+
"text-muted-foreground ml-auto text-xs tracking-widest",
|
|
3243
|
+
className
|
|
3244
|
+
)}
|
|
3245
|
+
{...props}
|
|
3246
|
+
/>
|
|
3247
|
+
)
|
|
3248
|
+
}
|
|
3249
|
+
|
|
3250
|
+
function DSDMSub({
|
|
3251
|
+
...props
|
|
3252
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>) {
|
|
3253
|
+
return <DropdownMenuPrimitive.Sub data-slot="dropdown-menu-sub" {...props} />
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
function DSDMSubTrigger({
|
|
3257
|
+
className,
|
|
3258
|
+
inset,
|
|
3259
|
+
children,
|
|
3260
|
+
...props
|
|
3261
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
3262
|
+
inset?: boolean
|
|
3263
|
+
}) {
|
|
3264
|
+
return (
|
|
3265
|
+
<DropdownMenuPrimitive.SubTrigger
|
|
3266
|
+
data-slot="dropdown-menu-sub-trigger"
|
|
3267
|
+
data-inset={inset}
|
|
3268
|
+
className={cn(
|
|
3269
|
+
"focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[inset]:pl-8",
|
|
3270
|
+
className
|
|
3271
|
+
)}
|
|
3272
|
+
{...props}
|
|
3273
|
+
>
|
|
3274
|
+
{children}
|
|
3275
|
+
<ChevronRight className="ml-auto size-4" />
|
|
3276
|
+
</DropdownMenuPrimitive.SubTrigger>
|
|
3277
|
+
)
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
function DSDMSubContent({
|
|
3281
|
+
className,
|
|
3282
|
+
...props
|
|
3283
|
+
}: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>) {
|
|
3284
|
+
return (
|
|
3285
|
+
<DropdownMenuPrimitive.SubContent
|
|
3286
|
+
data-slot="dropdown-menu-sub-content"
|
|
3287
|
+
className={cn(
|
|
3288
|
+
"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
|
|
3289
|
+
className
|
|
3290
|
+
)}
|
|
3291
|
+
{...props}
|
|
3292
|
+
/>
|
|
3293
|
+
)
|
|
3294
|
+
}
|
|
3295
|
+
// #enddev
|
|
3296
|
+
// #dev DSC - Collapsible Sections
|
|
3297
|
+
const DSC = CollapsiblePrimitive.Root;
|
|
3298
|
+
const DSCTrigger = CollapsiblePrimitive.CollapsibleTrigger;
|
|
3299
|
+
|
|
3300
|
+
interface CollapsibleContentProps
|
|
3301
|
+
extends React.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.CollapsibleContent> { }
|
|
3302
|
+
|
|
3303
|
+
const DSCContent = React.forwardRef<
|
|
3304
|
+
React.ElementRef<typeof CollapsiblePrimitive.CollapsibleContent>,
|
|
3305
|
+
CollapsibleContentProps
|
|
3306
|
+
>(({ className, ...props }, ref) => {
|
|
3307
|
+
return (
|
|
3308
|
+
<CollapsiblePrimitive.CollapsibleContent
|
|
3309
|
+
ref={ref}
|
|
3310
|
+
className={cn(
|
|
3311
|
+
"text-border",
|
|
3312
|
+
className
|
|
3313
|
+
)}
|
|
3314
|
+
{...props}
|
|
3315
|
+
/>
|
|
3316
|
+
);
|
|
3317
|
+
});
|
|
3318
|
+
DSCContent.displayName = "DSCContent";
|
|
3319
|
+
|
|
3320
|
+
// #enddev
|
|
3321
|
+
// #dev NAVIGATIONPROVIDER & CONTEXT
|
|
3322
|
+
|
|
3323
|
+
interface NavigationState {
|
|
3324
|
+
state: 'idle' | 'loading' | 'submitting';
|
|
3325
|
+
location?: {
|
|
3326
|
+
pathname: string;
|
|
3327
|
+
href: string;
|
|
3328
|
+
};
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
interface NavigationContextType {
|
|
3332
|
+
navigation: NavigationState;
|
|
3333
|
+
setNavigation: (state: NavigationState) => void;
|
|
3334
|
+
currentPath: string;
|
|
3335
|
+
setCurrentPath: (path: string) => void;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
const NavigationContext = React.createContext<NavigationContextType | undefined>(undefined);
|
|
3339
|
+
|
|
3340
|
+
export function NavigationProvider({ children }: { children: React.ReactNode }) {
|
|
3341
|
+
const [navigation, setNavigation] = React.useState<NavigationState>({ state: 'idle' });
|
|
3342
|
+
const [currentPath, setCurrentPath] = React.useState(typeof window !== 'undefined' ? window.location.pathname : '/');
|
|
3343
|
+
|
|
3344
|
+
return (
|
|
3345
|
+
<NavigationContext.Provider value={{ navigation, setNavigation, currentPath, setCurrentPath }}>
|
|
3346
|
+
{children}
|
|
3347
|
+
</NavigationContext.Provider>
|
|
3348
|
+
);
|
|
3349
|
+
}
|
|
3350
|
+
|
|
3351
|
+
export function useNavigationContext() {
|
|
3352
|
+
const context = React.useContext(NavigationContext);
|
|
3353
|
+
if (context === undefined) {
|
|
3354
|
+
throw new Error('useNavigationContext must be used within a NavigationProvider');
|
|
3355
|
+
}
|
|
3356
|
+
return context;
|
|
3357
|
+
}
|
|
3358
|
+
//# enddev
|
|
3359
|
+
|
|
3360
|
+
|
|
3361
|
+
|
|
3362
|
+
|
|
3363
|
+
// #dev Workspace/Switch
|
|
3364
|
+
// DSWorkspaceSwitcher,
|
|
3365
|
+
// DSOrganizationSelector,
|
|
3366
|
+
// #enddev
|
|
3367
|
+
// #dev Status & Progress
|
|
3368
|
+
// DSStatusIndicator,
|
|
3369
|
+
// DSProgressTracker,
|
|
3370
|
+
// DSBadge,
|
|
3371
|
+
// #enddev
|
|
3372
|
+
// #dev Lists & Feeds
|
|
3373
|
+
// DSRecentActivity,
|
|
3374
|
+
// DSQuickLinks,
|
|
3375
|
+
// DSFavoriteItems,
|
|
3376
|
+
// #enddev
|
|
3377
|
+
// #dev History & Navigation
|
|
3378
|
+
// DSRecentPages,
|
|
3379
|
+
// DSNavigationHistory,
|
|
3380
|
+
// DSQuickNav,
|
|
3381
|
+
// #enddev
|
|
3382
|
+
// #dev Contextual Help
|
|
3383
|
+
// DSHelpButton,
|
|
3384
|
+
// DSTourGuide,
|
|
3385
|
+
// DSTooltipTrigger,
|
|
3386
|
+
// #enddev
|
|
3387
|
+
|
|
3388
|
+
/**export {
|
|
3389
|
+
// DS stands for DualSidebar
|
|
3390
|
+
// use sidebar
|
|
3391
|
+
useDS,
|
|
3392
|
+
// sidebar rails
|
|
3393
|
+
DSLeftRail,
|
|
3394
|
+
DSRightRail,
|
|
3395
|
+
// sidebar layouts
|
|
3396
|
+
DSHeader,
|
|
3397
|
+
DSContent,
|
|
3398
|
+
DSFooter,
|
|
3399
|
+
// sidebar avatar
|
|
3400
|
+
DSA,
|
|
3401
|
+
DSAImage,
|
|
3402
|
+
DSAFallback,
|
|
3403
|
+
// sidebar menu items
|
|
3404
|
+
DSGroup,
|
|
3405
|
+
DSGroupAction,
|
|
3406
|
+
DSGroupContent,
|
|
3407
|
+
DSGroupLabel,
|
|
3408
|
+
DSInput,
|
|
3409
|
+
DSMenu,
|
|
3410
|
+
DSMenuAction,
|
|
3411
|
+
DSMenuBadge,
|
|
3412
|
+
DSMenuButton,
|
|
3413
|
+
DSMenuItem,
|
|
3414
|
+
DSMenuSkeleton,
|
|
3415
|
+
DSMenuSub,
|
|
3416
|
+
DSMenuSubButton,
|
|
3417
|
+
DSMenuSubItem,
|
|
3418
|
+
DSSeparator,
|
|
3419
|
+
// optimistic ui nav links and loading ui
|
|
3420
|
+
DSMenuAnchor,
|
|
3421
|
+
DSMenuLink,
|
|
3422
|
+
DSLoading,
|
|
3423
|
+
// theme selector
|
|
3424
|
+
useDSTheme,
|
|
3425
|
+
DSThemeSelector,
|
|
3426
|
+
type DSTheme,
|
|
3427
|
+
DSThemeProvider,
|
|
3428
|
+
// sidebar provider
|
|
3429
|
+
DSProvider,
|
|
3430
|
+
// sidebar inset
|
|
3431
|
+
DSInset,
|
|
3432
|
+
// left trigger
|
|
3433
|
+
DSTrigger,
|
|
3434
|
+
// left sidebar
|
|
3435
|
+
DSLeft,
|
|
3436
|
+
DSLeftIcon,
|
|
3437
|
+
// right sidebar
|
|
3438
|
+
DSRight,
|
|
3439
|
+
DSRightIcon,
|
|
3440
|
+
// DSD stands for DualSidebarDrawer
|
|
3441
|
+
DSD,
|
|
3442
|
+
DSDBottom,
|
|
3443
|
+
DSDTrigger,
|
|
3444
|
+
DSDPortal,
|
|
3445
|
+
DSDClose,
|
|
3446
|
+
DSDOverlay,
|
|
3447
|
+
DSDContent,
|
|
3448
|
+
DSDHeader,
|
|
3449
|
+
DSDFooter,
|
|
3450
|
+
DSDTitle,
|
|
3451
|
+
DSDDescription,
|
|
3452
|
+
// DSDM
|
|
3453
|
+
DSDM,
|
|
3454
|
+
DSDMPortal,
|
|
3455
|
+
DSDMTrigger,
|
|
3456
|
+
DSDMContent,
|
|
3457
|
+
DSDMGroup,
|
|
3458
|
+
DSDMLabel,
|
|
3459
|
+
DSDMItem,
|
|
3460
|
+
DSDMCheckboxItem,
|
|
3461
|
+
DSDMRadioGroup,
|
|
3462
|
+
DSDMRadioItem,
|
|
3463
|
+
DSDMSeparator,
|
|
3464
|
+
DSDMShortcut,
|
|
3465
|
+
DSDMSub,
|
|
3466
|
+
DSDMSubTrigger,
|
|
3467
|
+
DSDMSubContent,
|
|
3468
|
+
DSDMAnchor,
|
|
3469
|
+
// Collapsible
|
|
3470
|
+
DSC,
|
|
3471
|
+
DSCTrigger,
|
|
3472
|
+
DSCContent,
|
|
3473
|
+
}; */
|