@catalystsoftware/ui 1.0.12 → 1.0.14

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