@vvedantb/ui 0.67.0 → 0.70.0

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 (417) hide show
  1. package/app/src/auth/useStableAuth.ts +0 -2
  2. package/app/src/confirm/ConfirmSkipHint.tsx +0 -2
  3. package/app/src/confirm/useAltHeld.ts +0 -17
  4. package/app/src/convex/ConvexClerkProvider.tsx +0 -3
  5. package/app/src/convex/env.ts +0 -4
  6. package/app/src/convex/errorMessage.ts +0 -1
  7. package/app/src/convex/useHeldResult.ts +0 -3
  8. package/app/src/page-motion/PageMotionProvider.tsx +0 -6
  9. package/app/src/page-title/createPageTitleContext.tsx +0 -14
  10. package/app/src/settings/SettingsEmptyState.tsx +0 -4
  11. package/app/src/settings/SettingsField.tsx +0 -4
  12. package/app/src/settings/SettingsPage.tsx +0 -12
  13. package/app/src/settings/SettingsSection.tsx +0 -14
  14. package/app/src/settings/ThemeModePicker.tsx +0 -6
  15. package/app/src/theme/createThemeProvider.tsx +0 -33
  16. package/app/src/time/compactRelativeTime.ts +0 -16
  17. package/app/src/update/staleDeployReload.ts +0 -40
  18. package/app/src/update/updateWatcher.ts +0 -8
  19. package/dist/app/src/auth/useStableAuth.js +0 -1
  20. package/dist/app/src/confirm/ConfirmSkipHint.js +0 -3
  21. package/dist/app/src/confirm/useAltHeld.js +0 -17
  22. package/dist/app/src/convex/env.js +0 -3
  23. package/dist/app/src/convex/errorMessage.js +0 -2
  24. package/dist/app/src/settings/ThemeModePicker.js +0 -1
  25. package/dist/app/src/theme/createThemeProvider.js +1 -11
  26. package/dist/app/src/time/compactRelativeTime.js +0 -8
  27. package/dist/app/src/update/staleDeployReload.js +3 -38
  28. package/dist/app/src/update/updateWatcher.js +1 -3
  29. package/dist/shell/src/AppShell.js +0 -14
  30. package/dist/shell/src/PageHeaderBar.js +0 -3
  31. package/dist/shell/src/SessionsHoverCard.js +0 -9
  32. package/dist/shell/src/SidePanelTabs.js +0 -36
  33. package/dist/shell/src/Sidebar.js +0 -1
  34. package/dist/shell/src/SidebarChrome.js +0 -19
  35. package/dist/shell/src/SidebarIconTooltip.js +0 -1
  36. package/dist/shell/src/SidebarRail.js +0 -12
  37. package/dist/shell/src/SidebarResize.js +1 -4
  38. package/dist/shell/src/app-shell-classes.js +0 -10
  39. package/dist/shell/src/index.js +0 -1
  40. package/dist/shell/src/shell-panel-motion.js +0 -12
  41. package/dist/src/ai-elements/activity-shared.js +0 -6
  42. package/dist/src/ai-elements/activity-step-label.js +0 -6
  43. package/dist/src/ai-elements/activity-step-types.js +0 -4
  44. package/dist/src/ai-elements/activity-tasks-utils.js +0 -17
  45. package/dist/src/ai-elements/activity-tasks.js +0 -55
  46. package/dist/src/ai-elements/artifact.js +0 -4
  47. package/dist/src/ai-elements/attachments.js +0 -41
  48. package/dist/src/ai-elements/code-block.js +0 -18
  49. package/dist/src/ai-elements/collapsible-user-message-body.js +0 -2
  50. package/dist/src/ai-elements/context.js +0 -13
  51. package/dist/src/ai-elements/conversation.js +0 -4
  52. package/dist/src/ai-elements/jump-rail.js +0 -5
  53. package/dist/src/ai-elements/message.js +0 -7
  54. package/dist/src/ai-elements/model-picker-types.js +0 -1
  55. package/dist/src/ai-elements/model-picker.js +1 -6
  56. package/dist/src/ai-elements/model-selector.js +0 -4
  57. package/dist/src/ai-elements/prompt-input-speech.js +0 -13
  58. package/dist/src/ai-elements/prompt-input.js +0 -1
  59. package/dist/src/ai-elements/provider-icon.js +0 -4
  60. package/dist/src/ai-elements/queue.js +0 -15
  61. package/dist/src/ai-elements/shimmer.js +0 -14
  62. package/dist/src/ai-elements/speech-input.js +0 -7
  63. package/dist/src/artifacts/artifact-frame.js +0 -2
  64. package/dist/src/audio/playChime.js +0 -2
  65. package/dist/src/audio/playTone.js +1 -4
  66. package/dist/src/brand/AppWordmark.js +0 -5
  67. package/dist/src/brand/svg.js +0 -6
  68. package/dist/src/client.js +0 -43
  69. package/dist/src/composer/Composer.js +0 -27
  70. package/dist/src/composer/input-area/InputArea.js +0 -3
  71. package/dist/src/composer/input-area/InputAreaEditor.js +1 -50
  72. package/dist/src/composer/input-area/composerPrediction.js +0 -3
  73. package/dist/src/generative-ui/content.js +0 -2
  74. package/dist/src/generative-ui/index.js +0 -3
  75. package/dist/src/generative-ui/layout.js +0 -5
  76. package/dist/src/hooks/use-count-up-display.js +0 -2
  77. package/dist/src/hooks/use-idle-callback.js +0 -3
  78. package/dist/src/hooks/use-persisted-scroll-parent.js +1 -8
  79. package/dist/src/icons/animated/index.js +0 -4
  80. package/dist/src/icons/board-icon.js +74 -41
  81. package/dist/src/icons/bolt-icon.js +30 -20
  82. package/dist/src/icons/building-icon.js +125 -61
  83. package/dist/src/icons/files-icon.js +103 -43
  84. package/dist/src/icons/inbox-icon.js +101 -49
  85. package/dist/src/icons/index.js +2 -1
  86. package/dist/src/icons/memory-icon.js +135 -58
  87. package/dist/src/icons/search-icon.js +143 -46
  88. package/dist/src/icons/settings-icon.js +113 -53
  89. package/dist/src/icons/solid-icons.js +665 -0
  90. package/dist/src/icons/with-active.js +25 -0
  91. package/dist/src/index.js +0 -40
  92. package/dist/src/kibo/gantt-features.js +0 -10
  93. package/dist/src/kibo/gantt-provider.js +0 -34
  94. package/dist/src/kibo/kanban.js +0 -15
  95. package/dist/src/kibo/list.js +0 -3
  96. package/dist/src/kibo/video-player.js +0 -7
  97. package/dist/src/logos/index.js +0 -4
  98. package/dist/src/markdown/Markdown.js +0 -15
  99. package/dist/src/markdown/MarkdownCodeBlock.js +0 -16
  100. package/dist/src/markdown/MarkdownInlineCode.js +0 -6
  101. package/dist/src/markdown/MarkdownLink.js +0 -5
  102. package/dist/src/markdown/codeFence.js +0 -1
  103. package/dist/src/markdown/codeHighlight.js +0 -19
  104. package/dist/src/markdown/incrementalBlocks.js +0 -45
  105. package/dist/src/markdown/markdownClipboard.js +0 -13
  106. package/dist/src/markdown/mermaid.js +0 -25
  107. package/dist/src/markdown/rehypeGithubAlerts.js +0 -4
  108. package/dist/src/markdown/useSmoothText.js +0 -5
  109. package/dist/src/marketing/PricingModal.js +0 -2
  110. package/dist/src/marketing/ProductHero.js +0 -2
  111. package/dist/src/marketing/createLandingKit.js +0 -5
  112. package/dist/src/marketing/marketing-classes.js +0 -7
  113. package/dist/src/motion/dock-motion.js +0 -27
  114. package/dist/src/motion/panel-transition.js +0 -2
  115. package/dist/src/ui/_field-classes.js +0 -3
  116. package/dist/src/ui/_menu-classes.js +0 -6
  117. package/dist/src/ui/_picker-classes.js +0 -9
  118. package/dist/src/ui/accordion.alt.js +0 -12
  119. package/dist/src/ui/badge.js +0 -1
  120. package/dist/src/ui/border-beam.js +0 -2
  121. package/dist/src/ui/breadcrumb.js +0 -15
  122. package/dist/src/ui/bulk-action-bar.js +0 -11
  123. package/dist/src/ui/button.js +0 -20
  124. package/dist/src/ui/calendar.js +1 -20
  125. package/dist/src/ui/card.js +0 -3
  126. package/dist/src/ui/carousel.js +0 -1
  127. package/dist/src/ui/clear-input.alt.js +0 -9
  128. package/dist/src/ui/clearInputDissolve.js +0 -4
  129. package/dist/src/ui/command.js +0 -15
  130. package/dist/src/ui/confetti-burst.js +0 -3
  131. package/dist/src/ui/confirm-dialog-parts.js +0 -11
  132. package/dist/src/ui/confirm-dialog.js +0 -6
  133. package/dist/src/ui/crossfade-icon.js +0 -2
  134. package/dist/src/ui/date-picker.js +0 -22
  135. package/dist/src/ui/dialog.js +0 -5
  136. package/dist/src/ui/empty-state.js +0 -7
  137. package/dist/src/ui/field.js +0 -21
  138. package/dist/src/ui/image-lightbox.js +0 -5
  139. package/dist/src/ui/input-group.alt.js +0 -24
  140. package/dist/src/ui/input-group.js +0 -4
  141. package/dist/src/ui/kbd.js +0 -3
  142. package/dist/src/ui/loading-state.js +0 -17
  143. package/dist/src/ui/marquee-on-hover.js +0 -3
  144. package/dist/src/ui/media-preview.js +0 -2
  145. package/dist/src/ui/modalTransition.js +0 -33
  146. package/dist/src/ui/overlay-a11y.js +0 -1
  147. package/dist/src/ui/page-title.js +0 -3
  148. package/dist/src/ui/refresh-spin-icon.js +0 -12
  149. package/dist/src/ui/search-input.js +0 -1
  150. package/dist/src/ui/select-field.js +0 -1
  151. package/dist/src/ui/send-queue-icon.js +0 -3
  152. package/dist/src/ui/sheet.js +0 -33
  153. package/dist/src/ui/slider.js +103 -82
  154. package/dist/src/ui/sonner-icons.js +0 -5
  155. package/dist/src/ui/sonner.js +0 -60
  156. package/dist/src/ui/spinner.js +0 -35
  157. package/dist/src/ui/status-dot.js +0 -2
  158. package/dist/src/ui/surface.js +0 -14
  159. package/dist/src/ui/switch.js +213 -36
  160. package/dist/src/ui/table.js +0 -1
  161. package/dist/src/ui/tabs-transition.js +0 -1
  162. package/dist/src/ui/tabs.js +0 -17
  163. package/dist/src/ui/tabsSliding.js +0 -6
  164. package/dist/src/ui/time-picker.js +0 -15
  165. package/dist/src/ui/toggle-search.js +0 -3
  166. package/dist/src/ui/ui-config.js +0 -16
  167. package/dist/src/utils/cat-color.js +0 -17
  168. package/dist/src/utils/cn.js +0 -5
  169. package/dist/src/utils/gesture.js +0 -8
  170. package/dist/src/utils/ref.js +0 -1
  171. package/dist/src/utils/runtimeVisibility.js +1 -22
  172. package/dist/src/utils/surface-radius.js +0 -11
  173. package/dist/src/utils/useDragSensors.js +0 -4
  174. package/dist/tokens/src/tailwind-preset.mjs +0 -3
  175. package/package.json +1 -1
  176. package/scripts/build-brand-assets.mjs +0 -8
  177. package/shell/src/AppShell.tsx +0 -37
  178. package/shell/src/AppSidebar.tsx +0 -14
  179. package/shell/src/ButtonTrack.tsx +0 -1
  180. package/shell/src/PageHeaderBar.tsx +0 -61
  181. package/shell/src/PageWrapper.tsx +0 -26
  182. package/shell/src/PillTabs.tsx +0 -1
  183. package/shell/src/SessionsHoverCard.tsx +0 -40
  184. package/shell/src/SidePanelTabs.tsx +0 -61
  185. package/shell/src/Sidebar.tsx +0 -1
  186. package/shell/src/SidebarAccountMenu.tsx +0 -40
  187. package/shell/src/SidebarChrome.tsx +0 -32
  188. package/shell/src/SidebarIconTooltip.tsx +0 -3
  189. package/shell/src/SidebarPanel.tsx +0 -20
  190. package/shell/src/SidebarRail.tsx +0 -44
  191. package/shell/src/SidebarResize.tsx +0 -6
  192. package/shell/src/SidebarUpgradeCard.tsx +0 -2
  193. package/shell/src/SignOutDialog.tsx +0 -6
  194. package/shell/src/app-shell-classes.ts +0 -15
  195. package/shell/src/index.ts +0 -1
  196. package/shell/src/shell-panel-motion.ts +0 -11
  197. package/shell/src/shell-variant.ts +0 -6
  198. package/src/ai-elements/activity-question.tsx +0 -2
  199. package/src/ai-elements/activity-shared.tsx +0 -11
  200. package/src/ai-elements/activity-step-detail.tsx +0 -2
  201. package/src/ai-elements/activity-step-label.ts +0 -5
  202. package/src/ai-elements/activity-step-types.ts +0 -24
  203. package/src/ai-elements/activity-tasks-utils.ts +0 -13
  204. package/src/ai-elements/activity-tasks.tsx +0 -61
  205. package/src/ai-elements/artifact.tsx +0 -7
  206. package/src/ai-elements/attachments.tsx +0 -33
  207. package/src/ai-elements/chat-day-divider.tsx +0 -3
  208. package/src/ai-elements/chat-jump-rail.tsx +0 -9
  209. package/src/ai-elements/code-block.tsx +0 -28
  210. package/src/ai-elements/collapsible-user-message-body.tsx +0 -2
  211. package/src/ai-elements/context.tsx +0 -10
  212. package/src/ai-elements/conversation.tsx +0 -16
  213. package/src/ai-elements/jump-rail.tsx +0 -31
  214. package/src/ai-elements/message.tsx +0 -32
  215. package/src/ai-elements/model-picker-content.tsx +0 -17
  216. package/src/ai-elements/model-picker-types.ts +0 -5
  217. package/src/ai-elements/model-picker.tsx +0 -36
  218. package/src/ai-elements/model-selector.tsx +0 -5
  219. package/src/ai-elements/prompt-input-speech.tsx +0 -11
  220. package/src/ai-elements/prompt-input.tsx +0 -26
  221. package/src/ai-elements/provider-icon.tsx +0 -2
  222. package/src/ai-elements/queue.tsx +0 -19
  223. package/src/ai-elements/reasoning.tsx +0 -4
  224. package/src/ai-elements/shimmer.tsx +0 -16
  225. package/src/ai-elements/simple-model-ladder.tsx +0 -1
  226. package/src/ai-elements/speech-input.tsx +0 -6
  227. package/src/ai-elements/test-results.tsx +0 -5
  228. package/src/ai-elements/trace.tsx +0 -2
  229. package/src/ai-elements/web-preview.tsx +0 -7
  230. package/src/artifacts/artifact-card.tsx +0 -7
  231. package/src/artifacts/artifact-dialogs.tsx +0 -4
  232. package/src/artifacts/artifact-frame.tsx +0 -10
  233. package/src/artifacts/artifact-list-toolbar.tsx +0 -6
  234. package/src/artifacts/artifact-list.tsx +0 -4
  235. package/src/artifacts/artifact-type-icon.tsx +0 -1
  236. package/src/artifacts/artifact-versions-menu.tsx +0 -3
  237. package/src/artifacts/artifact-viewer.tsx +0 -5
  238. package/src/artifacts/types.ts +0 -1
  239. package/src/audio/playChime.ts +0 -1
  240. package/src/audio/playTone.ts +0 -7
  241. package/src/brand/AppIcons.tsx +0 -5
  242. package/src/brand/AppMark.tsx +0 -6
  243. package/src/brand/AppWordmark.tsx +0 -10
  244. package/src/brand/familyApps.ts +0 -2
  245. package/src/brand/svg.ts +0 -9
  246. package/src/client.ts +0 -34
  247. package/src/composer/Composer.tsx +0 -70
  248. package/src/composer/input-area/ComposerSlashMenu.tsx +0 -1
  249. package/src/composer/input-area/ConnectionStatusMenuItem.tsx +0 -2
  250. package/src/composer/input-area/FadePresence.tsx +0 -4
  251. package/src/composer/input-area/InputActions.tsx +0 -5
  252. package/src/composer/input-area/InputArea.tsx +1 -28
  253. package/src/composer/input-area/InputAreaEditor.tsx +0 -39
  254. package/src/composer/input-area/InputBanners.tsx +0 -1
  255. package/src/composer/input-area/PromoBanner.tsx +0 -1
  256. package/src/composer/input-area/composerPrediction.ts +0 -2
  257. package/src/composer/input-area/useComposerSlashMenu.ts +0 -1
  258. package/src/composer/input-area/useInputAreaPrediction.ts +0 -1
  259. package/src/composer/prediction.ts +0 -6
  260. package/src/composer/useComposerPrediction.ts +0 -2
  261. package/src/generative-ui/GenerativeUiPanel.tsx +0 -11
  262. package/src/generative-ui/content.tsx +0 -2
  263. package/src/generative-ui/index.ts +0 -3
  264. package/src/generative-ui/layout.tsx +0 -5
  265. package/src/hooks/use-count-up-display.ts +0 -1
  266. package/src/hooks/use-idle-callback.ts +0 -5
  267. package/src/hooks/use-persisted-scroll-parent.ts +0 -4
  268. package/src/hooks/use-single-flight.ts +0 -5
  269. package/src/icons/animated/animated-bell-icon.tsx +0 -6
  270. package/src/icons/animated/animated-counter.tsx +0 -5
  271. package/src/icons/animated/animated-key-icon.tsx +0 -4
  272. package/src/icons/animated/animated-notification-icon.tsx +0 -14
  273. package/src/icons/animated/animated-progress.tsx +0 -10
  274. package/src/icons/animated/animated-status-dot.tsx +0 -4
  275. package/src/icons/animated/index.ts +0 -4
  276. package/src/icons/animated/morphing-menu-icon.tsx +0 -5
  277. package/src/icons/animated/morphing-mic-icon.tsx +0 -2
  278. package/src/icons/animated/pulsing-rings.tsx +0 -4
  279. package/src/icons/automation-icon.tsx +0 -1
  280. package/src/icons/board-icon.tsx +13 -10
  281. package/src/icons/bolt-icon.tsx +5 -4
  282. package/src/icons/building-icon.tsx +11 -9
  283. package/src/icons/draft-icon.tsx +0 -1
  284. package/src/icons/files-icon.tsx +9 -5
  285. package/src/icons/inbox-arrow-icon.tsx +0 -1
  286. package/src/icons/inbox-icon.tsx +9 -5
  287. package/src/icons/index.ts +12 -1
  288. package/src/icons/memory-icon.tsx +9 -11
  289. package/src/icons/nav-icon-base.tsx +0 -10
  290. package/src/icons/search-icon.tsx +7 -6
  291. package/src/icons/settings-icon.tsx +11 -13
  292. package/src/icons/sidebar-toggle-icon.tsx +0 -1
  293. package/src/icons/solid-icons.tsx +138 -0
  294. package/src/icons/with-active.tsx +14 -0
  295. package/src/index.ts +0 -30
  296. package/src/kibo/gantt-features.tsx +0 -16
  297. package/src/kibo/gantt-header.tsx +0 -4
  298. package/src/kibo/gantt-provider.tsx +0 -36
  299. package/src/kibo/gantt-sidebar.tsx +0 -7
  300. package/src/kibo/gantt-timeline.tsx +0 -4
  301. package/src/kibo/kanban.tsx +0 -49
  302. package/src/kibo/list.tsx +0 -8
  303. package/src/kibo/theme-switcher.tsx +0 -5
  304. package/src/kibo/video-player.tsx +0 -9
  305. package/src/logos/index.ts +0 -3
  306. package/src/logos/logo-svg.tsx +0 -5
  307. package/src/markdown/Markdown.tsx +0 -20
  308. package/src/markdown/MarkdownCodeBlock.tsx +0 -14
  309. package/src/markdown/MarkdownInlineCode.tsx +0 -6
  310. package/src/markdown/MarkdownLink.tsx +0 -4
  311. package/src/markdown/codeFence.ts +0 -3
  312. package/src/markdown/codeHighlight.ts +0 -16
  313. package/src/markdown/incrementalBlocks.ts +0 -49
  314. package/src/markdown/markdownClipboard.ts +0 -12
  315. package/src/markdown/mermaid.ts +0 -22
  316. package/src/markdown/rehypeGithubAlerts.ts +0 -3
  317. package/src/markdown/useSmoothText.ts +0 -5
  318. package/src/marketing/FloatingBar.tsx +0 -3
  319. package/src/marketing/PricingModal.tsx +0 -45
  320. package/src/marketing/ProductHero.tsx +0 -23
  321. package/src/marketing/ProductHeroOrbit.tsx +0 -5
  322. package/src/marketing/SiteFooter.tsx +0 -23
  323. package/src/marketing/SiteHeader.tsx +0 -14
  324. package/src/marketing/VProPricingModal.tsx +0 -5
  325. package/src/marketing/createLandingKit.tsx +0 -12
  326. package/src/marketing/landing.tsx +0 -12
  327. package/src/marketing/marketing-classes.ts +0 -7
  328. package/src/motion/dock-motion.ts +0 -25
  329. package/src/motion/list-enter.tsx +0 -4
  330. package/src/motion/panel-transition.tsx +0 -5
  331. package/src/ui/_field-classes.ts +0 -2
  332. package/src/ui/_menu-classes.ts +0 -4
  333. package/src/ui/_menu-parts.tsx +0 -5
  334. package/src/ui/_picker-classes.ts +0 -6
  335. package/src/ui/accordion.alt.tsx +0 -8
  336. package/src/ui/accordion.tsx +0 -4
  337. package/src/ui/badge.tsx +0 -1
  338. package/src/ui/border-beam.tsx +0 -11
  339. package/src/ui/breadcrumb.tsx +0 -13
  340. package/src/ui/bulk-action-bar.tsx +0 -24
  341. package/src/ui/button.tsx +0 -27
  342. package/src/ui/calendar.tsx +0 -18
  343. package/src/ui/card.tsx +0 -3
  344. package/src/ui/carousel.tsx +0 -4
  345. package/src/ui/checkbox.tsx +0 -1
  346. package/src/ui/clear-input.alt.tsx +0 -8
  347. package/src/ui/clear-input.tsx +0 -16
  348. package/src/ui/clearInputDissolve.ts +0 -4
  349. package/src/ui/command.tsx +0 -22
  350. package/src/ui/confetti-burst.tsx +0 -4
  351. package/src/ui/confirm-dialog-parts.tsx +0 -45
  352. package/src/ui/confirm-dialog.tsx +0 -26
  353. package/src/ui/context-menu.tsx +0 -10
  354. package/src/ui/count-pop.tsx +0 -2
  355. package/src/ui/crossfade-icon.tsx +0 -3
  356. package/src/ui/date-picker.tsx +0 -40
  357. package/src/ui/dialog.tsx +0 -18
  358. package/src/ui/dropdown-menu.tsx +0 -11
  359. package/src/ui/empty-state.tsx +0 -15
  360. package/src/ui/error-boundary.tsx +0 -7
  361. package/src/ui/field.tsx +0 -18
  362. package/src/ui/hover-card.tsx +0 -6
  363. package/src/ui/image-lightbox.tsx +0 -7
  364. package/src/ui/input-group.alt.tsx +0 -16
  365. package/src/ui/input-group.tsx +0 -3
  366. package/src/ui/kbd.tsx +0 -3
  367. package/src/ui/label.tsx +0 -1
  368. package/src/ui/labeled-slider-row.tsx +0 -2
  369. package/src/ui/list-row.tsx +0 -46
  370. package/src/ui/loading-state.tsx +0 -23
  371. package/src/ui/marquee-on-hover.tsx +1 -6
  372. package/src/ui/media-preview.tsx +0 -5
  373. package/src/ui/modalTransition.ts +0 -25
  374. package/src/ui/overlay-a11y.ts +0 -1
  375. package/src/ui/page-title.tsx +0 -4
  376. package/src/ui/popover.tsx +0 -8
  377. package/src/ui/progress.tsx +0 -1
  378. package/src/ui/refresh-spin-icon.tsx +0 -11
  379. package/src/ui/relative-date-time.tsx +0 -3
  380. package/src/ui/rolling-number.tsx +0 -2
  381. package/src/ui/search-input.tsx +0 -9
  382. package/src/ui/select-field.tsx +0 -5
  383. package/src/ui/select.tsx +0 -8
  384. package/src/ui/send-queue-icon.tsx +0 -3
  385. package/src/ui/separator.tsx +0 -1
  386. package/src/ui/sheet.tsx +0 -42
  387. package/src/ui/slide-over-panel.tsx +0 -2
  388. package/src/ui/slider.tsx +21 -9
  389. package/src/ui/sonner-icons.tsx +0 -4
  390. package/src/ui/sonner.tsx +0 -78
  391. package/src/ui/spinner.tsx +0 -50
  392. package/src/ui/status-dot.tsx +0 -10
  393. package/src/ui/surface.tsx +0 -13
  394. package/src/ui/switch.tsx +72 -3
  395. package/src/ui/table.tsx +0 -3
  396. package/src/ui/tabs-transition.tsx +0 -12
  397. package/src/ui/tabs.tsx +0 -17
  398. package/src/ui/tabsSliding.ts +0 -5
  399. package/src/ui/time-picker.tsx +0 -17
  400. package/src/ui/toggle-search.tsx +0 -6
  401. package/src/ui/toolbar-search-input.tsx +0 -3
  402. package/src/ui/tooltip.tsx +0 -5
  403. package/src/ui/ui-config.tsx +0 -19
  404. package/src/utils/cat-color.ts +0 -20
  405. package/src/utils/cn.ts +0 -4
  406. package/src/utils/gesture.ts +0 -8
  407. package/src/utils/ref.ts +0 -1
  408. package/src/utils/runtimeVisibility.ts +0 -19
  409. package/src/utils/surface-radius.ts +0 -11
  410. package/src/utils/useDragSensors.ts +0 -2
  411. package/tokens/examples/compat-shadcn-rgb/vite.config.ts +0 -2
  412. package/tokens/examples/toaster/Fixture.tsx +0 -4
  413. package/tokens/examples/toaster/UpdateToastFixture.tsx +0 -4
  414. package/tokens/examples/toaster/vite.config.ts +0 -2
  415. package/tokens/examples/tokens-moved/Fixture.tsx +0 -4
  416. package/tokens/examples/tokens-moved/vite.config.ts +0 -2
  417. package/tokens/src/tailwind-preset.mjs +0 -3
@@ -0,0 +1,665 @@
1
+ import { c as _c } from "react/compiler-runtime";
2
+ import { NavIconBase, cutoutStyle } from "./nav-icon-base.js";
3
+
4
+ /**
5
+ * Solid (filled) twins of outline icons, for the active tab. Same 24x24 grid and
6
+ * weight as the outline glyph, so swapping them does not shift layout. Inner detail
7
+ * is painted in the cutout colour so it reads as a hole in the solid shape.
8
+ */
9
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
+ function Solid(t0) {
11
+ const $ = _c(10);
12
+ let children;
13
+ let props;
14
+ let t1;
15
+ let t2;
16
+ if ($[0] !== t0) {
17
+ const {
18
+ strokeWidth: t3,
19
+ size: t4,
20
+ cutoutColor: _cutoutColor,
21
+ children: t5,
22
+ ...t6
23
+ } = t0;
24
+ t1 = t3;
25
+ t2 = t4;
26
+ children = t5;
27
+ props = t6;
28
+ $[0] = t0;
29
+ $[1] = children;
30
+ $[2] = props;
31
+ $[3] = t1;
32
+ $[4] = t2;
33
+ } else {
34
+ children = $[1];
35
+ props = $[2];
36
+ t1 = $[3];
37
+ t2 = $[4];
38
+ }
39
+ const strokeWidth = t1 === undefined ? 1.75 : t1;
40
+ const size = t2 === undefined ? 22 : t2;
41
+ let t3;
42
+ if ($[5] !== children || $[6] !== props || $[7] !== size || $[8] !== strokeWidth) {
43
+ t3 = /*#__PURE__*/_jsx(NavIconBase, {
44
+ ...props,
45
+ size: size,
46
+ strokeWidth: strokeWidth,
47
+ animate: false,
48
+ active: true,
49
+ hoverScale: "1.12",
50
+ loop: 1000,
51
+ children: children
52
+ });
53
+ $[5] = children;
54
+ $[6] = props;
55
+ $[7] = size;
56
+ $[8] = strokeWidth;
57
+ $[9] = t3;
58
+ } else {
59
+ t3 = $[9];
60
+ }
61
+ return t3;
62
+ }
63
+
64
+ /** Closed book, solid, with the page rule and title line cut out. */
65
+ export function BookSolidIcon(t0) {
66
+ const $ = _c(13);
67
+ let cutoutColor;
68
+ let props;
69
+ if ($[0] !== t0) {
70
+ ({
71
+ cutoutColor,
72
+ ...props
73
+ } = t0);
74
+ $[0] = t0;
75
+ $[1] = cutoutColor;
76
+ $[2] = props;
77
+ } else {
78
+ cutoutColor = $[1];
79
+ props = $[2];
80
+ }
81
+ let t1;
82
+ if ($[3] !== cutoutColor) {
83
+ t1 = cutoutStyle(true, "stroke", cutoutColor);
84
+ $[3] = cutoutColor;
85
+ $[4] = t1;
86
+ } else {
87
+ t1 = $[4];
88
+ }
89
+ const stroke = t1;
90
+ let t2;
91
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
92
+ t2 = /*#__PURE__*/_jsx("path", {
93
+ d: "M19 4v16h-12a2 2 0 0 1 -2 -2v-12a2 2 0 0 1 2 -2h12z",
94
+ fill: "currentColor"
95
+ });
96
+ $[5] = t2;
97
+ } else {
98
+ t2 = $[5];
99
+ }
100
+ let t3;
101
+ let t4;
102
+ if ($[6] !== stroke) {
103
+ t3 = /*#__PURE__*/_jsx("path", {
104
+ d: "M19 16h-12a2 2 0 0 0 -2 2",
105
+ style: stroke
106
+ });
107
+ t4 = /*#__PURE__*/_jsx("path", {
108
+ d: "M9 8h6",
109
+ style: stroke
110
+ });
111
+ $[6] = stroke;
112
+ $[7] = t3;
113
+ $[8] = t4;
114
+ } else {
115
+ t3 = $[7];
116
+ t4 = $[8];
117
+ }
118
+ let t5;
119
+ if ($[9] !== props || $[10] !== t3 || $[11] !== t4) {
120
+ t5 = /*#__PURE__*/_jsxs(Solid, {
121
+ ...props,
122
+ children: [t2, t3, t4]
123
+ });
124
+ $[9] = props;
125
+ $[10] = t3;
126
+ $[11] = t4;
127
+ $[12] = t5;
128
+ } else {
129
+ t5 = $[12];
130
+ }
131
+ return t5;
132
+ }
133
+
134
+ /** Brain, solid, with the midline and folds cut out. */
135
+ export function BrainSolidIcon(t0) {
136
+ const $ = _c(15);
137
+ let cutoutColor;
138
+ let props;
139
+ if ($[0] !== t0) {
140
+ ({
141
+ cutoutColor,
142
+ ...props
143
+ } = t0);
144
+ $[0] = t0;
145
+ $[1] = cutoutColor;
146
+ $[2] = props;
147
+ } else {
148
+ cutoutColor = $[1];
149
+ props = $[2];
150
+ }
151
+ let t1;
152
+ if ($[3] !== cutoutColor) {
153
+ t1 = cutoutStyle(true, "stroke", cutoutColor);
154
+ $[3] = cutoutColor;
155
+ $[4] = t1;
156
+ } else {
157
+ t1 = $[4];
158
+ }
159
+ const stroke = t1;
160
+ let t2;
161
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
162
+ t2 = /*#__PURE__*/_jsxs("g", {
163
+ fill: "currentColor",
164
+ children: [/*#__PURE__*/_jsx("rect", {
165
+ x: "5",
166
+ y: "6.5",
167
+ width: "14",
168
+ height: "11"
169
+ }), /*#__PURE__*/_jsx("circle", {
170
+ cx: "8.5",
171
+ cy: "6.5",
172
+ r: "3.5"
173
+ }), /*#__PURE__*/_jsx("circle", {
174
+ cx: "6.5",
175
+ cy: "12.5",
176
+ r: "3.5"
177
+ }), /*#__PURE__*/_jsx("circle", {
178
+ cx: "8.5",
179
+ cy: "17.5",
180
+ r: "3.5"
181
+ }), /*#__PURE__*/_jsx("circle", {
182
+ cx: "15.5",
183
+ cy: "6.5",
184
+ r: "3.5"
185
+ }), /*#__PURE__*/_jsx("circle", {
186
+ cx: "17.5",
187
+ cy: "12.5",
188
+ r: "3.5"
189
+ }), /*#__PURE__*/_jsx("circle", {
190
+ cx: "15.5",
191
+ cy: "17.5",
192
+ r: "3.5"
193
+ })]
194
+ });
195
+ $[5] = t2;
196
+ } else {
197
+ t2 = $[5];
198
+ }
199
+ let t3;
200
+ let t4;
201
+ let t5;
202
+ if ($[6] !== stroke) {
203
+ t3 = /*#__PURE__*/_jsx("path", {
204
+ d: "M12 6.5v10",
205
+ style: stroke
206
+ });
207
+ t4 = /*#__PURE__*/_jsx("path", {
208
+ d: "M8.5 13a3.5 3.5 0 0 1 3.5 3.5",
209
+ style: stroke
210
+ });
211
+ t5 = /*#__PURE__*/_jsx("path", {
212
+ d: "M15.5 13a3.5 3.5 0 0 0 -3.5 3.5",
213
+ style: stroke
214
+ });
215
+ $[6] = stroke;
216
+ $[7] = t3;
217
+ $[8] = t4;
218
+ $[9] = t5;
219
+ } else {
220
+ t3 = $[7];
221
+ t4 = $[8];
222
+ t5 = $[9];
223
+ }
224
+ let t6;
225
+ if ($[10] !== props || $[11] !== t3 || $[12] !== t4 || $[13] !== t5) {
226
+ t6 = /*#__PURE__*/_jsxs(Solid, {
227
+ ...props,
228
+ children: [t2, t3, t4, t5]
229
+ });
230
+ $[10] = props;
231
+ $[11] = t3;
232
+ $[12] = t4;
233
+ $[13] = t5;
234
+ $[14] = t6;
235
+ } else {
236
+ t6 = $[14];
237
+ }
238
+ return t6;
239
+ }
240
+
241
+ /** Paperclip drawn heavy so it reads as solid. */
242
+ export function PaperclipSolidIcon(t0) {
243
+ const $ = _c(7);
244
+ let props;
245
+ let t1;
246
+ if ($[0] !== t0) {
247
+ ({
248
+ strokeWidth: t1,
249
+ ...props
250
+ } = t0);
251
+ $[0] = t0;
252
+ $[1] = props;
253
+ $[2] = t1;
254
+ } else {
255
+ props = $[1];
256
+ t1 = $[2];
257
+ }
258
+ const strokeWidth = t1 === undefined ? 2.6 : t1;
259
+ let t2;
260
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
261
+ t2 = /*#__PURE__*/_jsx("path", {
262
+ d: "M15 7l-6.5 6.5a1.5 1.5 0 0 0 3 3l6.5 -6.5a3 3 0 0 0 -6 -6l-6.5 6.5a4.5 4.5 0 0 0 9 9l6.5 -6.5"
263
+ });
264
+ $[3] = t2;
265
+ } else {
266
+ t2 = $[3];
267
+ }
268
+ let t3;
269
+ if ($[4] !== props || $[5] !== strokeWidth) {
270
+ t3 = /*#__PURE__*/_jsx(Solid, {
271
+ ...props,
272
+ strokeWidth: strokeWidth,
273
+ children: t2
274
+ });
275
+ $[4] = props;
276
+ $[5] = strokeWidth;
277
+ $[6] = t3;
278
+ } else {
279
+ t3 = $[6];
280
+ }
281
+ return t3;
282
+ }
283
+
284
+ /** Pulse line drawn heavy so it reads as solid. */
285
+ export function ActivitySolidIcon(t0) {
286
+ const $ = _c(7);
287
+ let props;
288
+ let t1;
289
+ if ($[0] !== t0) {
290
+ ({
291
+ strokeWidth: t1,
292
+ ...props
293
+ } = t0);
294
+ $[0] = t0;
295
+ $[1] = props;
296
+ $[2] = t1;
297
+ } else {
298
+ props = $[1];
299
+ t1 = $[2];
300
+ }
301
+ const strokeWidth = t1 === undefined ? 2.6 : t1;
302
+ let t2;
303
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
304
+ t2 = /*#__PURE__*/_jsx("path", {
305
+ d: "M3 12h4l3 8l4 -16l3 8h4"
306
+ });
307
+ $[3] = t2;
308
+ } else {
309
+ t2 = $[3];
310
+ }
311
+ let t3;
312
+ if ($[4] !== props || $[5] !== strokeWidth) {
313
+ t3 = /*#__PURE__*/_jsx(Solid, {
314
+ ...props,
315
+ strokeWidth: strokeWidth,
316
+ children: t2
317
+ });
318
+ $[4] = props;
319
+ $[5] = strokeWidth;
320
+ $[6] = t3;
321
+ } else {
322
+ t3 = $[6];
323
+ }
324
+ return t3;
325
+ }
326
+
327
+ /** Scan corners with a solid centre band. */
328
+ export function ScanSolidIcon(props) {
329
+ const $ = _c(7);
330
+ let t0;
331
+ let t1;
332
+ let t2;
333
+ let t3;
334
+ let t4;
335
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
336
+ t0 = /*#__PURE__*/_jsx("path", {
337
+ d: "M3 7v-2a2 2 0 0 1 2 -2h2"
338
+ });
339
+ t1 = /*#__PURE__*/_jsx("path", {
340
+ d: "M3 17v2a2 2 0 0 0 2 2h2"
341
+ });
342
+ t2 = /*#__PURE__*/_jsx("path", {
343
+ d: "M17 3h2a2 2 0 0 1 2 2v2"
344
+ });
345
+ t3 = /*#__PURE__*/_jsx("path", {
346
+ d: "M17 21h2a2 2 0 0 0 2 -2v-2"
347
+ });
348
+ t4 = /*#__PURE__*/_jsx("rect", {
349
+ x: "5",
350
+ y: "10.5",
351
+ width: "14",
352
+ height: "3",
353
+ rx: "1.5",
354
+ fill: "currentColor"
355
+ });
356
+ $[0] = t0;
357
+ $[1] = t1;
358
+ $[2] = t2;
359
+ $[3] = t3;
360
+ $[4] = t4;
361
+ } else {
362
+ t0 = $[0];
363
+ t1 = $[1];
364
+ t2 = $[2];
365
+ t3 = $[3];
366
+ t4 = $[4];
367
+ }
368
+ let t5;
369
+ if ($[5] !== props) {
370
+ t5 = /*#__PURE__*/_jsxs(Solid, {
371
+ ...props,
372
+ children: [t0, t1, t2, t3, t4]
373
+ });
374
+ $[5] = props;
375
+ $[6] = t5;
376
+ } else {
377
+ t5 = $[6];
378
+ }
379
+ return t5;
380
+ }
381
+
382
+ /** Three people, solid. */
383
+ export function UsersGroupSolidIcon(props) {
384
+ const $ = _c(3);
385
+ let t0;
386
+ if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
387
+ t0 = /*#__PURE__*/_jsxs("g", {
388
+ fill: "currentColor",
389
+ children: [/*#__PURE__*/_jsx("circle", {
390
+ cx: "12",
391
+ cy: "13",
392
+ r: "2"
393
+ }), /*#__PURE__*/_jsx("circle", {
394
+ cx: "17",
395
+ cy: "5",
396
+ r: "2"
397
+ }), /*#__PURE__*/_jsx("circle", {
398
+ cx: "7",
399
+ cy: "5",
400
+ r: "2"
401
+ }), /*#__PURE__*/_jsx("path", {
402
+ d: "M8 21v-1a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v1z"
403
+ }), /*#__PURE__*/_jsx("path", {
404
+ d: "M17 10h2a2 2 0 0 1 2 2v1h-4z"
405
+ }), /*#__PURE__*/_jsx("path", {
406
+ d: "M7 10h-2a2 2 0 0 0 -2 2v1h4z"
407
+ })]
408
+ });
409
+ $[0] = t0;
410
+ } else {
411
+ t0 = $[0];
412
+ }
413
+ let t1;
414
+ if ($[1] !== props) {
415
+ t1 = /*#__PURE__*/_jsx(Solid, {
416
+ ...props,
417
+ children: t0
418
+ });
419
+ $[1] = props;
420
+ $[2] = t1;
421
+ } else {
422
+ t1 = $[2];
423
+ }
424
+ return t1;
425
+ }
426
+
427
+ /** Two plug halves, solid, with the contact marks cut out. */
428
+ export function PlugConnectedSolidIcon(t0) {
429
+ const $ = _c(16);
430
+ let cutoutColor;
431
+ let props;
432
+ if ($[0] !== t0) {
433
+ ({
434
+ cutoutColor,
435
+ ...props
436
+ } = t0);
437
+ $[0] = t0;
438
+ $[1] = cutoutColor;
439
+ $[2] = props;
440
+ } else {
441
+ cutoutColor = $[1];
442
+ props = $[2];
443
+ }
444
+ let t1;
445
+ if ($[3] !== cutoutColor) {
446
+ t1 = cutoutStyle(true, "stroke", cutoutColor);
447
+ $[3] = cutoutColor;
448
+ $[4] = t1;
449
+ } else {
450
+ t1 = $[4];
451
+ }
452
+ const stroke = t1;
453
+ let t2;
454
+ let t3;
455
+ let t4;
456
+ let t5;
457
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
458
+ t2 = /*#__PURE__*/_jsx("path", {
459
+ d: "M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5z",
460
+ fill: "currentColor"
461
+ });
462
+ t3 = /*#__PURE__*/_jsx("path", {
463
+ d: "M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5z",
464
+ fill: "currentColor"
465
+ });
466
+ t4 = /*#__PURE__*/_jsx("path", {
467
+ d: "M3 21l2.5 -2.5"
468
+ });
469
+ t5 = /*#__PURE__*/_jsx("path", {
470
+ d: "M18.5 5.5l2.5 -2.5"
471
+ });
472
+ $[5] = t2;
473
+ $[6] = t3;
474
+ $[7] = t4;
475
+ $[8] = t5;
476
+ } else {
477
+ t2 = $[5];
478
+ t3 = $[6];
479
+ t4 = $[7];
480
+ t5 = $[8];
481
+ }
482
+ let t6;
483
+ let t7;
484
+ if ($[9] !== stroke) {
485
+ t6 = /*#__PURE__*/_jsx("path", {
486
+ d: "M10 11l-2 2",
487
+ style: stroke
488
+ });
489
+ t7 = /*#__PURE__*/_jsx("path", {
490
+ d: "M13 14l-2 2",
491
+ style: stroke
492
+ });
493
+ $[9] = stroke;
494
+ $[10] = t6;
495
+ $[11] = t7;
496
+ } else {
497
+ t6 = $[10];
498
+ t7 = $[11];
499
+ }
500
+ let t8;
501
+ if ($[12] !== props || $[13] !== t6 || $[14] !== t7) {
502
+ t8 = /*#__PURE__*/_jsxs(Solid, {
503
+ ...props,
504
+ children: [t2, t3, t4, t5, t6, t7]
505
+ });
506
+ $[12] = props;
507
+ $[13] = t6;
508
+ $[14] = t7;
509
+ $[15] = t8;
510
+ } else {
511
+ t8 = $[15];
512
+ }
513
+ return t8;
514
+ }
515
+
516
+ /** Receipt, solid, with the currency mark cut out. */
517
+ export function ReceiptSolidIcon(t0) {
518
+ const $ = _c(11);
519
+ let cutoutColor;
520
+ let props;
521
+ if ($[0] !== t0) {
522
+ ({
523
+ cutoutColor,
524
+ ...props
525
+ } = t0);
526
+ $[0] = t0;
527
+ $[1] = cutoutColor;
528
+ $[2] = props;
529
+ } else {
530
+ cutoutColor = $[1];
531
+ props = $[2];
532
+ }
533
+ let t1;
534
+ if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
535
+ t1 = /*#__PURE__*/_jsx("path", {
536
+ d: "M5 21v-16a2 2 0 0 1 2 -2h10a2 2 0 0 1 2 2v16l-3 -2l-2 2l-2 -2l-2 2l-2 -2l-3 2z",
537
+ fill: "currentColor"
538
+ });
539
+ $[3] = t1;
540
+ } else {
541
+ t1 = $[3];
542
+ }
543
+ let t2;
544
+ if ($[4] !== cutoutColor) {
545
+ t2 = cutoutStyle(true, "stroke", cutoutColor);
546
+ $[4] = cutoutColor;
547
+ $[5] = t2;
548
+ } else {
549
+ t2 = $[5];
550
+ }
551
+ let t3;
552
+ if ($[6] !== t2) {
553
+ t3 = /*#__PURE__*/_jsx("path", {
554
+ d: "M14 8h-2.5a1.5 1.5 0 0 0 0 3h1a1.5 1.5 0 0 1 0 3h-2.5m2 0v1.5m0 -9v1.5",
555
+ style: t2
556
+ });
557
+ $[6] = t2;
558
+ $[7] = t3;
559
+ } else {
560
+ t3 = $[7];
561
+ }
562
+ let t4;
563
+ if ($[8] !== props || $[9] !== t3) {
564
+ t4 = /*#__PURE__*/_jsxs(Solid, {
565
+ ...props,
566
+ children: [t1, t3]
567
+ });
568
+ $[8] = props;
569
+ $[9] = t3;
570
+ $[10] = t4;
571
+ } else {
572
+ t4 = $[10];
573
+ }
574
+ return t4;
575
+ }
576
+
577
+ /** Account circle, solid, with the head and shoulders cut out. */
578
+ export function UserCircleSolidIcon(t0) {
579
+ const $ = _c(17);
580
+ let cutoutColor;
581
+ let props;
582
+ if ($[0] !== t0) {
583
+ ({
584
+ cutoutColor,
585
+ ...props
586
+ } = t0);
587
+ $[0] = t0;
588
+ $[1] = cutoutColor;
589
+ $[2] = props;
590
+ } else {
591
+ cutoutColor = $[1];
592
+ props = $[2];
593
+ }
594
+ let t1;
595
+ if ($[3] !== cutoutColor) {
596
+ t1 = cutoutStyle(true, "stroke", cutoutColor);
597
+ $[3] = cutoutColor;
598
+ $[4] = t1;
599
+ } else {
600
+ t1 = $[4];
601
+ }
602
+ const stroke = t1;
603
+ let t2;
604
+ if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
605
+ t2 = /*#__PURE__*/_jsx("circle", {
606
+ cx: "12",
607
+ cy: "12",
608
+ r: "9",
609
+ fill: "currentColor"
610
+ });
611
+ $[5] = t2;
612
+ } else {
613
+ t2 = $[5];
614
+ }
615
+ let t3;
616
+ if ($[6] !== cutoutColor) {
617
+ t3 = cutoutStyle(true, "fill", cutoutColor);
618
+ $[6] = cutoutColor;
619
+ $[7] = t3;
620
+ } else {
621
+ t3 = $[7];
622
+ }
623
+ let t4;
624
+ if ($[8] !== stroke || $[9] !== t3) {
625
+ t4 = /*#__PURE__*/_jsx("circle", {
626
+ cx: "12",
627
+ cy: "10",
628
+ r: "3",
629
+ style: {
630
+ ...stroke,
631
+ ...t3
632
+ }
633
+ });
634
+ $[8] = stroke;
635
+ $[9] = t3;
636
+ $[10] = t4;
637
+ } else {
638
+ t4 = $[10];
639
+ }
640
+ let t5;
641
+ if ($[11] !== stroke) {
642
+ t5 = /*#__PURE__*/_jsx("path", {
643
+ d: "M6.168 18.849a4 4 0 0 1 3.832 -2.849h4a4 4 0 0 1 3.834 2.855",
644
+ style: stroke
645
+ });
646
+ $[11] = stroke;
647
+ $[12] = t5;
648
+ } else {
649
+ t5 = $[12];
650
+ }
651
+ let t6;
652
+ if ($[13] !== props || $[14] !== t4 || $[15] !== t5) {
653
+ t6 = /*#__PURE__*/_jsxs(Solid, {
654
+ ...props,
655
+ children: [t2, t4, t5]
656
+ });
657
+ $[13] = props;
658
+ $[14] = t4;
659
+ $[15] = t5;
660
+ $[16] = t6;
661
+ } else {
662
+ t6 = $[16];
663
+ }
664
+ return t6;
665
+ }
@@ -0,0 +1,25 @@
1
+ import { c as _c } from "react/compiler-runtime";
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ /**
4
+ * Locks an in-house nav icon to its solid `active` look. Call it once at module level, so the component identity stays stable across renders.
5
+ */
6
+ export function withActive(Icon) {
7
+ function ActiveIcon(props) {
8
+ const $ = _c(2);
9
+ const t0 = props;
10
+ let t1;
11
+ if ($[0] !== t0) {
12
+ t1 = /*#__PURE__*/_jsx(Icon, {
13
+ ...t0,
14
+ active: true
15
+ });
16
+ $[0] = t0;
17
+ $[1] = t1;
18
+ } else {
19
+ t1 = $[1];
20
+ }
21
+ return t1;
22
+ }
23
+ ActiveIcon.displayName = `Active(${Icon.displayName ?? Icon.name ?? "Icon"})`;
24
+ return ActiveIcon;
25
+ }