@admin-layout/tailwind-ui 12.2.4-alpha.33 → 12.2.4-alpha.35

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 (331) hide show
  1. package/lib/components/AIToolbar/components/AIToolBar.d.ts +22 -0
  2. package/lib/components/AIToolbar/components/AIToolBar.d.ts.map +1 -0
  3. package/lib/components/AIToolbar/components/AIToolBar.js +83 -0
  4. package/lib/components/AIToolbar/components/AIToolBar.js.map +1 -0
  5. package/lib/components/AIToolbar/components/AIToolbarPrimitives.d.ts +14 -0
  6. package/lib/components/AIToolbar/components/AIToolbarPrimitives.d.ts.map +1 -0
  7. package/lib/components/AIToolbar/components/AIToolbarPrimitives.js +60 -0
  8. package/lib/components/AIToolbar/components/AIToolbarPrimitives.js.map +1 -0
  9. package/lib/components/AIToolbar/components/CustomCursor.d.ts +2 -0
  10. package/lib/components/AIToolbar/components/CustomCursor.d.ts.map +1 -0
  11. package/lib/components/AIToolbar/components/CustomCursor.js +66 -0
  12. package/lib/components/AIToolbar/components/CustomCursor.js.map +1 -0
  13. package/lib/components/AIToolbar/components/DragButton.d.ts +9 -0
  14. package/lib/components/AIToolbar/components/DragButton.d.ts.map +1 -0
  15. package/lib/components/AIToolbar/components/DragButton.js +57 -0
  16. package/lib/components/AIToolbar/components/DragButton.js.map +1 -0
  17. package/lib/components/AIToolbar/components/Markdown/copy-button.d.ts +7 -0
  18. package/lib/components/AIToolbar/components/Markdown/copy-button.d.ts.map +1 -0
  19. package/lib/components/AIToolbar/components/Markdown/copy-button.js +30 -0
  20. package/lib/components/AIToolbar/components/Markdown/copy-button.js.map +1 -0
  21. package/lib/components/AIToolbar/components/Markdown/index.d.ts +7 -0
  22. package/lib/components/AIToolbar/components/Markdown/index.d.ts.map +1 -0
  23. package/lib/components/AIToolbar/components/Markdown/index.js +46 -0
  24. package/lib/components/AIToolbar/components/Markdown/index.js.map +1 -0
  25. package/lib/components/AIToolbar/components/completion/Audio.d.ts +3 -0
  26. package/lib/components/AIToolbar/components/completion/Audio.d.ts.map +1 -0
  27. package/lib/components/AIToolbar/components/completion/Audio.js +65 -0
  28. package/lib/components/AIToolbar/components/completion/Audio.js.map +1 -0
  29. package/lib/components/AIToolbar/components/completion/AutoSpeechVad.d.ts +11 -0
  30. package/lib/components/AIToolbar/components/completion/AutoSpeechVad.d.ts.map +1 -0
  31. package/lib/components/AIToolbar/components/completion/AutoSpeechVad.js +66 -0
  32. package/lib/components/AIToolbar/components/completion/AutoSpeechVad.js.map +1 -0
  33. package/lib/components/AIToolbar/components/completion/Files.d.ts +6 -0
  34. package/lib/components/AIToolbar/components/completion/Files.d.ts.map +1 -0
  35. package/lib/components/AIToolbar/components/completion/Files.js +134 -0
  36. package/lib/components/AIToolbar/components/completion/Files.js.map +1 -0
  37. package/lib/components/AIToolbar/components/completion/Input.d.ts +5 -0
  38. package/lib/components/AIToolbar/components/completion/Input.d.ts.map +1 -0
  39. package/lib/components/AIToolbar/components/completion/Input.js +169 -0
  40. package/lib/components/AIToolbar/components/completion/Input.js.map +1 -0
  41. package/lib/components/AIToolbar/components/completion/MessageHistory.d.ts +11 -0
  42. package/lib/components/AIToolbar/components/completion/MessageHistory.d.ts.map +1 -0
  43. package/lib/components/AIToolbar/components/completion/MessageHistory.js +90 -0
  44. package/lib/components/AIToolbar/components/completion/MessageHistory.js.map +1 -0
  45. package/lib/components/AIToolbar/components/completion/Screenshot.d.ts +6 -0
  46. package/lib/components/AIToolbar/components/completion/Screenshot.d.ts.map +1 -0
  47. package/lib/components/AIToolbar/components/completion/Screenshot.js +28 -0
  48. package/lib/components/AIToolbar/components/completion/Screenshot.js.map +1 -0
  49. package/lib/components/AIToolbar/components/completion/index.d.ts +10 -0
  50. package/lib/components/AIToolbar/components/completion/index.d.ts.map +1 -0
  51. package/lib/components/AIToolbar/components/completion/index.js +20 -0
  52. package/lib/components/AIToolbar/components/completion/index.js.map +1 -0
  53. package/lib/components/AIToolbar/components/index.d.ts +17 -0
  54. package/lib/components/AIToolbar/components/index.d.ts.map +1 -0
  55. package/lib/components/AIToolbar/components/speech/Header.d.ts +14 -0
  56. package/lib/components/AIToolbar/components/speech/Header.d.ts.map +1 -0
  57. package/lib/components/AIToolbar/components/speech/Header.js +82 -0
  58. package/lib/components/AIToolbar/components/speech/Header.js.map +1 -0
  59. package/lib/components/AIToolbar/components/speech/ModeSwitcher.d.ts +8 -0
  60. package/lib/components/AIToolbar/components/speech/ModeSwitcher.d.ts.map +1 -0
  61. package/lib/components/AIToolbar/components/speech/ModeSwitcher.js +44 -0
  62. package/lib/components/AIToolbar/components/speech/ModeSwitcher.js.map +1 -0
  63. package/lib/components/AIToolbar/components/speech/PermissionFlow.d.ts +8 -0
  64. package/lib/components/AIToolbar/components/speech/PermissionFlow.d.ts.map +1 -0
  65. package/lib/components/AIToolbar/components/speech/PermissionFlow.js +161 -0
  66. package/lib/components/AIToolbar/components/speech/PermissionFlow.js.map +1 -0
  67. package/lib/components/AIToolbar/components/speech/QuickActions.d.ts +13 -0
  68. package/lib/components/AIToolbar/components/speech/QuickActions.d.ts.map +1 -0
  69. package/lib/components/AIToolbar/components/speech/QuickActions.js +100 -0
  70. package/lib/components/AIToolbar/components/speech/QuickActions.js.map +1 -0
  71. package/lib/components/AIToolbar/components/speech/RecordingPanel.d.ts +14 -0
  72. package/lib/components/AIToolbar/components/speech/RecordingPanel.d.ts.map +1 -0
  73. package/lib/components/AIToolbar/components/speech/RecordingPanel.js +101 -0
  74. package/lib/components/AIToolbar/components/speech/RecordingPanel.js.map +1 -0
  75. package/lib/components/AIToolbar/components/speech/ResultsSection.d.ts +12 -0
  76. package/lib/components/AIToolbar/components/speech/ResultsSection.d.ts.map +1 -0
  77. package/lib/components/AIToolbar/components/speech/ResultsSection.js +132 -0
  78. package/lib/components/AIToolbar/components/speech/ResultsSection.js.map +1 -0
  79. package/lib/components/AIToolbar/components/speech/SettingsPanel.d.ts +12 -0
  80. package/lib/components/AIToolbar/components/speech/SettingsPanel.d.ts.map +1 -0
  81. package/lib/components/AIToolbar/components/speech/SettingsPanel.js +289 -0
  82. package/lib/components/AIToolbar/components/speech/SettingsPanel.js.map +1 -0
  83. package/lib/components/AIToolbar/components/speech/StatusIndicator.d.ts +10 -0
  84. package/lib/components/AIToolbar/components/speech/StatusIndicator.d.ts.map +1 -0
  85. package/lib/components/AIToolbar/components/speech/StatusIndicator.js +48 -0
  86. package/lib/components/AIToolbar/components/speech/StatusIndicator.js.map +1 -0
  87. package/lib/components/AIToolbar/components/speech/Warning.d.ts +6 -0
  88. package/lib/components/AIToolbar/components/speech/Warning.d.ts.map +1 -0
  89. package/lib/components/AIToolbar/components/speech/Warning.js +154 -0
  90. package/lib/components/AIToolbar/components/speech/Warning.js.map +1 -0
  91. package/lib/components/AIToolbar/components/speech/audio-visualizer.d.ts +7 -0
  92. package/lib/components/AIToolbar/components/speech/audio-visualizer.d.ts.map +1 -0
  93. package/lib/components/AIToolbar/components/speech/audio-visualizer.js +194 -0
  94. package/lib/components/AIToolbar/components/speech/audio-visualizer.js.map +1 -0
  95. package/lib/components/AIToolbar/components/speech/floatArrayToWav.d.ts +2 -0
  96. package/lib/components/AIToolbar/components/speech/floatArrayToWav.d.ts.map +1 -0
  97. package/lib/components/AIToolbar/components/speech/floatArrayToWav.js +32 -0
  98. package/lib/components/AIToolbar/components/speech/floatArrayToWav.js.map +1 -0
  99. package/lib/components/AIToolbar/components/speech/index.d.ts +4 -0
  100. package/lib/components/AIToolbar/components/speech/index.d.ts.map +1 -0
  101. package/lib/components/AIToolbar/components/speech/index.js +292 -0
  102. package/lib/components/AIToolbar/components/speech/index.js.map +1 -0
  103. package/lib/components/AIToolbar/components/speech/promptTemplates.d.ts +12 -0
  104. package/lib/components/AIToolbar/components/speech/promptTemplates.d.ts.map +1 -0
  105. package/lib/components/AIToolbar/components/speech/promptTemplates.js +114 -0
  106. package/lib/components/AIToolbar/components/speech/promptTemplates.js.map +1 -0
  107. package/lib/components/AIToolbar/components/types.d.ts +175 -0
  108. package/lib/components/AIToolbar/components/types.d.ts.map +1 -0
  109. package/lib/components/AIToolbar/index.d.ts +5 -0
  110. package/lib/components/AIToolbar/index.d.ts.map +1 -0
  111. package/lib/components/Button/Button.d.ts +1 -1
  112. package/lib/components/Button/Button.d.ts.map +1 -1
  113. package/lib/components/Button/Button.js +7 -6
  114. package/lib/components/Button/Button.js.map +1 -1
  115. package/lib/components/DatePicker/DatePicker.js +157 -139
  116. package/lib/components/DatePicker/DatePicker.js.map +1 -1
  117. package/lib/components/Dialog/Dialog.d.ts +2 -2
  118. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  119. package/lib/components/Dialog/Dialog.js +54 -41
  120. package/lib/components/Dialog/Dialog.js.map +1 -1
  121. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts +1 -2
  122. package/lib/components/ErrorHandlers/ApplicationErrorHandler.d.ts.map +1 -1
  123. package/lib/components/ErrorHandlers/ApplicationErrorHandler.js +2 -2
  124. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts +1 -2
  125. package/lib/components/ErrorHandlers/ErrorBoundary.d.ts.map +1 -1
  126. package/lib/components/ErrorHandlers/ErrorBoundary.js +35 -28
  127. package/lib/components/ErrorHandlers/ErrorBoundary.js.map +1 -1
  128. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts +1 -2
  129. package/lib/components/ErrorHandlers/LayoutErrorBoundary.d.ts.map +1 -1
  130. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js +20 -15
  131. package/lib/components/ErrorHandlers/LayoutErrorBoundary.js.map +1 -1
  132. package/lib/components/ErrorHandlers/RemixErrorBoundary.d.ts +1 -2
  133. package/lib/components/ErrorHandlers/RemixErrorBoundary.d.ts.map +1 -1
  134. package/lib/components/ErrorHandlers/RemixErrorBoundary.js +177 -152
  135. package/lib/components/ErrorHandlers/RemixErrorBoundary.js.map +1 -1
  136. package/lib/components/ErrorHandlers/SPAErrorBoundary.d.ts +1 -2
  137. package/lib/components/ErrorHandlers/SPAErrorBoundary.d.ts.map +1 -1
  138. package/lib/components/ErrorHandlers/SPAErrorBoundary.js +207 -168
  139. package/lib/components/ErrorHandlers/SPAErrorBoundary.js.map +1 -1
  140. package/lib/components/ErrorPages/403.d.ts +1 -2
  141. package/lib/components/ErrorPages/403.d.ts.map +1 -1
  142. package/lib/components/ErrorPages/403.js +26 -18
  143. package/lib/components/ErrorPages/403.js.map +1 -1
  144. package/lib/components/ErrorPages/404.d.ts +1 -2
  145. package/lib/components/ErrorPages/404.d.ts.map +1 -1
  146. package/lib/components/ErrorPages/404.js +26 -18
  147. package/lib/components/ErrorPages/404.js.map +1 -1
  148. package/lib/components/ErrorPages/500.d.ts +1 -2
  149. package/lib/components/ErrorPages/500.d.ts.map +1 -1
  150. package/lib/components/ErrorPages/500.js +26 -18
  151. package/lib/components/ErrorPages/500.js.map +1 -1
  152. package/lib/components/InputToolBar/InputToolBar.d.ts +1 -2
  153. package/lib/components/InputToolBar/InputToolBar.d.ts.map +1 -1
  154. package/lib/components/InputToolBar/InputToolBar.js +286 -242
  155. package/lib/components/InputToolBar/InputToolBar.js.map +1 -1
  156. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts +1 -2
  157. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.d.ts.map +1 -1
  158. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js +24 -19
  159. package/lib/components/LanguageMenuDropdown/LanguageMenuDropdown.js.map +1 -1
  160. package/lib/components/Markdown/MarkdownBreadcrumbs.js +25 -18
  161. package/lib/components/Markdown/MarkdownBreadcrumbs.js.map +1 -1
  162. package/lib/components/Markdown/MarkdownCopyButton.js +136 -107
  163. package/lib/components/Markdown/MarkdownCopyButton.js.map +1 -1
  164. package/lib/components/Markdown/MarkdownHeader.js +35 -20
  165. package/lib/components/Markdown/MarkdownHeader.js.map +1 -1
  166. package/lib/components/Markdown/MarkdownNavigation.js +29 -22
  167. package/lib/components/Markdown/MarkdownNavigation.js.map +1 -1
  168. package/lib/components/Markdown/MarkdownPage.js +133 -116
  169. package/lib/components/Markdown/MarkdownPage.js.map +1 -1
  170. package/lib/components/Markdown/MarkdownTableOfContents.js +31 -25
  171. package/lib/components/Markdown/MarkdownTableOfContents.js.map +1 -1
  172. package/lib/components/OTP/OTPInput.js +32 -30
  173. package/lib/components/OTP/OTPInput.js.map +1 -1
  174. package/lib/components/OTP/OTPVerification.js +75 -55
  175. package/lib/components/OTP/OTPVerification.js.map +1 -1
  176. package/lib/components/OTP/SingleInput.js +2 -2
  177. package/lib/components/OTP/SingleInput.js.map +1 -1
  178. package/lib/components/PageContainer/PageContainer.js +29 -22
  179. package/lib/components/PageContainer/PageContainer.js.map +1 -1
  180. package/lib/components/PageLoading/index.js +8 -7
  181. package/lib/components/PageLoading/index.js.map +1 -1
  182. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts +1 -2
  183. package/lib/components/RJSFPreview/PreviewAsyncDropdown.d.ts.map +1 -1
  184. package/lib/components/ReactTable/Table.d.ts +1 -2
  185. package/lib/components/ReactTable/Table.d.ts.map +1 -1
  186. package/lib/components/ReactTable/Table.js +92 -71
  187. package/lib/components/ReactTable/Table.js.map +1 -1
  188. package/lib/components/ReactTable/TableFilters.d.ts +2 -3
  189. package/lib/components/ReactTable/TableFilters.d.ts.map +1 -1
  190. package/lib/components/ReactTable/TableFilters.js +40 -34
  191. package/lib/components/ReactTable/TableFilters.js.map +1 -1
  192. package/lib/components/Search/SearchInput.d.ts +1 -2
  193. package/lib/components/Search/SearchInput.d.ts.map +1 -1
  194. package/lib/components/Search/SearchInput.js +14 -13
  195. package/lib/components/Search/SearchInput.js.map +1 -1
  196. package/lib/components/Select/Select.d.ts +6 -6
  197. package/lib/components/Select/Select.d.ts.map +1 -1
  198. package/lib/components/Select/Select.js +60 -45
  199. package/lib/components/Select/Select.js.map +1 -1
  200. package/lib/components/Spin/index.js +14 -11
  201. package/lib/components/Spin/index.js.map +1 -1
  202. package/lib/components/ThemeProvider/ThemeProvider.js +5 -4
  203. package/lib/components/ThemeProvider/ThemeProvider.js.map +1 -1
  204. package/lib/components/ThemeProvider/ThemeToggle.js +27 -24
  205. package/lib/components/ThemeProvider/ThemeToggle.js.map +1 -1
  206. package/lib/components/index.d.ts +2 -0
  207. package/lib/components/index.d.ts.map +1 -1
  208. package/lib/hooks/useToast.d.ts +1 -1
  209. package/lib/hooks/useToast.d.ts.map +1 -1
  210. package/lib/hooks/useToast.js +46 -37
  211. package/lib/hooks/useToast.js.map +1 -1
  212. package/lib/index.js +1 -1
  213. package/lib/shardui/accordion.js +20 -16
  214. package/lib/shardui/accordion.js.map +1 -1
  215. package/lib/shardui/alert-dialog.d.ts +2 -2
  216. package/lib/shardui/alert-dialog.js +15 -13
  217. package/lib/shardui/alert-dialog.js.map +1 -1
  218. package/lib/shardui/alert.js +4 -4
  219. package/lib/shardui/alert.js.map +1 -1
  220. package/lib/shardui/avatar.js +4 -4
  221. package/lib/shardui/avatar.js.map +1 -1
  222. package/lib/shardui/badge.d.ts +1 -1
  223. package/lib/shardui/badge.d.ts.map +1 -1
  224. package/lib/shardui/badge.js +2 -2
  225. package/lib/shardui/badge.js.map +1 -1
  226. package/lib/shardui/breadcrumb.d.ts +2 -2
  227. package/lib/shardui/breadcrumb.js +19 -16
  228. package/lib/shardui/breadcrumb.js.map +1 -1
  229. package/lib/shardui/button.js +2 -2
  230. package/lib/shardui/button.js.map +1 -1
  231. package/lib/shardui/calendar.d.ts +1 -1
  232. package/lib/shardui/calendar.d.ts.map +1 -1
  233. package/lib/shardui/calendar.js +4 -4
  234. package/lib/shardui/card.js +7 -7
  235. package/lib/shardui/card.js.map +1 -1
  236. package/lib/shardui/carousel.js +40 -33
  237. package/lib/shardui/carousel.js.map +1 -1
  238. package/lib/shardui/chart.d.ts +1 -1
  239. package/lib/shardui/chart.d.ts.map +1 -1
  240. package/lib/shardui/chart.js +81 -66
  241. package/lib/shardui/chart.js.map +1 -1
  242. package/lib/shardui/checkbox.js +10 -8
  243. package/lib/shardui/checkbox.js.map +1 -1
  244. package/lib/shardui/command.d.ts +2 -2
  245. package/lib/shardui/command.d.ts.map +1 -1
  246. package/lib/shardui/command.js +28 -24
  247. package/lib/shardui/command.js.map +1 -1
  248. package/lib/shardui/context-menu.d.ts +1 -1
  249. package/lib/shardui/context-menu.js +41 -30
  250. package/lib/shardui/context-menu.js.map +1 -1
  251. package/lib/shardui/dialog.d.ts +2 -2
  252. package/lib/shardui/dialog.js +22 -17
  253. package/lib/shardui/dialog.js.map +1 -1
  254. package/lib/shardui/drawer.d.ts +3 -3
  255. package/lib/shardui/drawer.js +17 -14
  256. package/lib/shardui/drawer.js.map +1 -1
  257. package/lib/shardui/dropdown-menu.d.ts +1 -1
  258. package/lib/shardui/dropdown-menu.js +42 -31
  259. package/lib/shardui/dropdown-menu.js.map +1 -1
  260. package/lib/shardui/form.d.ts +1 -1
  261. package/lib/shardui/form.d.ts.map +1 -1
  262. package/lib/shardui/form.js +22 -19
  263. package/lib/shardui/form.js.map +1 -1
  264. package/lib/shardui/hover-card.js +2 -2
  265. package/lib/shardui/hover-card.js.map +1 -1
  266. package/lib/shardui/input-otp.js +16 -13
  267. package/lib/shardui/input-otp.js.map +1 -1
  268. package/lib/shardui/input.js +2 -2
  269. package/lib/shardui/input.js.map +1 -1
  270. package/lib/shardui/label.js +2 -2
  271. package/lib/shardui/label.js.map +1 -1
  272. package/lib/shardui/menubar.d.ts +1 -1
  273. package/lib/shardui/menubar.js +46 -35
  274. package/lib/shardui/menubar.js.map +1 -1
  275. package/lib/shardui/navigation-menu.js +28 -24
  276. package/lib/shardui/navigation-menu.js.map +1 -1
  277. package/lib/shardui/pagination.d.ts +5 -5
  278. package/lib/shardui/pagination.js +30 -22
  279. package/lib/shardui/pagination.js.map +1 -1
  280. package/lib/shardui/popover.js +10 -8
  281. package/lib/shardui/popover.js.map +1 -1
  282. package/lib/shardui/progress.js +10 -9
  283. package/lib/shardui/progress.js.map +1 -1
  284. package/lib/shardui/radio-group.js +11 -9
  285. package/lib/shardui/radio-group.js.map +1 -1
  286. package/lib/shardui/resizable.d.ts +3 -3
  287. package/lib/shardui/resizable.d.ts.map +1 -1
  288. package/lib/shardui/resizable.js +11 -9
  289. package/lib/shardui/resizable.js.map +1 -1
  290. package/lib/shardui/scroll-area.js +14 -11
  291. package/lib/shardui/scroll-area.js.map +1 -1
  292. package/lib/shardui/select.js +49 -35
  293. package/lib/shardui/select.js.map +1 -1
  294. package/lib/shardui/separator.js +2 -2
  295. package/lib/shardui/separator.js.map +1 -1
  296. package/lib/shardui/sheet.d.ts +2 -2
  297. package/lib/shardui/sheet.js +24 -19
  298. package/lib/shardui/sheet.js.map +1 -1
  299. package/lib/shardui/sidebar.js +104 -88
  300. package/lib/shardui/sidebar.js.map +1 -1
  301. package/lib/shardui/skeleton.d.ts +1 -1
  302. package/lib/shardui/skeleton.d.ts.map +1 -1
  303. package/lib/shardui/skeleton.js +2 -2
  304. package/lib/shardui/skeleton.js.map +1 -1
  305. package/lib/shardui/slider.js +12 -10
  306. package/lib/shardui/slider.js.map +1 -1
  307. package/lib/shardui/sonner.d.ts +1 -1
  308. package/lib/shardui/sonner.d.ts.map +1 -1
  309. package/lib/shardui/sonner.js +2 -2
  310. package/lib/shardui/sonner.js.map +1 -1
  311. package/lib/shardui/switch.js +7 -6
  312. package/lib/shardui/switch.js.map +1 -1
  313. package/lib/shardui/table.js +16 -15
  314. package/lib/shardui/table.js.map +1 -1
  315. package/lib/shardui/tabs.js +4 -4
  316. package/lib/shardui/tabs.js.map +1 -1
  317. package/lib/shardui/textarea.js +2 -2
  318. package/lib/shardui/textarea.js.map +1 -1
  319. package/lib/shardui/toast.js +12 -11
  320. package/lib/shardui/toast.js.map +1 -1
  321. package/lib/shardui/toaster.d.ts +1 -2
  322. package/lib/shardui/toaster.d.ts.map +1 -1
  323. package/lib/shardui/toaster.js +21 -14
  324. package/lib/shardui/toaster.js.map +1 -1
  325. package/lib/shardui/toggle-group.js +15 -12
  326. package/lib/shardui/toggle-group.js.map +1 -1
  327. package/lib/shardui/toggle.js +2 -2
  328. package/lib/shardui/toggle.js.map +1 -1
  329. package/lib/shardui/tooltip.js +2 -2
  330. package/lib/shardui/tooltip.js.map +1 -1
  331. package/package.json +6 -3
@@ -1,4 +1,4 @@
1
- import*as React from'react';import*as MenubarPrimitive from'@radix-ui/react-menubar';import {ChevronRight,Check,Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const MenubarMenu = MenubarPrimitive.Menu;
1
+ import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import*as MenubarPrimitive from'@radix-ui/react-menubar';import {ChevronRight,Check,Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const MenubarMenu = MenubarPrimitive.Menu;
2
2
  const MenubarGroup = MenubarPrimitive.Group;
3
3
  const MenubarPortal = MenubarPrimitive.Portal;
4
4
  const MenubarSub = MenubarPrimitive.Sub;
@@ -6,7 +6,7 @@ const MenubarRadioGroup = MenubarPrimitive.RadioGroup;
6
6
  const Menubar = React.forwardRef(({
7
7
  className,
8
8
  ...props
9
- }, ref) => React.createElement(MenubarPrimitive.Root, {
9
+ }, ref) => jsx(MenubarPrimitive.Root, {
10
10
  ref: ref,
11
11
  className: cn('flex h-10 items-center space-x-1 rounded-md border bg-background p-1', className),
12
12
  ...props
@@ -15,7 +15,7 @@ Menubar.displayName = MenubarPrimitive.Root.displayName;
15
15
  const MenubarTrigger = React.forwardRef(({
16
16
  className,
17
17
  ...props
18
- }, ref) => React.createElement(MenubarPrimitive.Trigger, {
18
+ }, ref) => jsx(MenubarPrimitive.Trigger, {
19
19
  ref: ref,
20
20
  className: cn('flex cursor-default select-none items-center rounded-sm px-3 py-1.5 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', className),
21
21
  ...props
@@ -26,18 +26,19 @@ const MenubarSubTrigger = React.forwardRef(({
26
26
  inset,
27
27
  children,
28
28
  ...props
29
- }, ref) => React.createElement(MenubarPrimitive.SubTrigger, {
29
+ }, ref) => jsxs(MenubarPrimitive.SubTrigger, {
30
30
  ref: ref,
31
31
  className: cn('flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground', inset && 'pl-8', className),
32
- ...props
33
- }, children, React.createElement(ChevronRight, {
34
- className: "ml-auto h-4 w-4"
35
- })));
32
+ ...props,
33
+ children: [children, jsx(ChevronRight, {
34
+ className: "ml-auto h-4 w-4"
35
+ })]
36
+ }));
36
37
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
37
38
  const MenubarSubContent = React.forwardRef(({
38
39
  className,
39
40
  ...props
40
- }, ref) => React.createElement(MenubarPrimitive.SubContent, {
41
+ }, ref) => jsx(MenubarPrimitive.SubContent, {
41
42
  ref: ref,
42
43
  className: cn('z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 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', className),
43
44
  ...props
@@ -49,20 +50,22 @@ const MenubarContent = React.forwardRef(({
49
50
  alignOffset = -4,
50
51
  sideOffset = 8,
51
52
  ...props
52
- }, ref) => React.createElement(MenubarPrimitive.Portal, null, React.createElement(MenubarPrimitive.Content, {
53
- ref: ref,
54
- align: align,
55
- alignOffset: alignOffset,
56
- sideOffset: sideOffset,
57
- className: cn('z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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', className),
58
- ...props
59
- })));
53
+ }, ref) => jsx(MenubarPrimitive.Portal, {
54
+ children: jsx(MenubarPrimitive.Content, {
55
+ ref: ref,
56
+ align: align,
57
+ alignOffset: alignOffset,
58
+ sideOffset: sideOffset,
59
+ className: cn('z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in 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', className),
60
+ ...props
61
+ })
62
+ }));
60
63
  MenubarContent.displayName = MenubarPrimitive.Content.displayName;
61
64
  const MenubarItem = React.forwardRef(({
62
65
  className,
63
66
  inset,
64
67
  ...props
65
- }, ref) => React.createElement(MenubarPrimitive.Item, {
68
+ }, ref) => jsx(MenubarPrimitive.Item, {
66
69
  ref: ref,
67
70
  className: cn('relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', inset && 'pl-8', className),
68
71
  ...props
@@ -73,36 +76,44 @@ const MenubarCheckboxItem = React.forwardRef(({
73
76
  children,
74
77
  checked,
75
78
  ...props
76
- }, ref) => React.createElement(MenubarPrimitive.CheckboxItem, {
79
+ }, ref) => jsxs(MenubarPrimitive.CheckboxItem, {
77
80
  ref: ref,
78
81
  className: cn('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className),
79
82
  checked: checked,
80
- ...props
81
- }, React.createElement("span", {
82
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
83
- }, React.createElement(MenubarPrimitive.ItemIndicator, null, React.createElement(Check, {
84
- className: "h-4 w-4"
85
- }))), children));
83
+ ...props,
84
+ children: [jsx("span", {
85
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
86
+ children: jsx(MenubarPrimitive.ItemIndicator, {
87
+ children: jsx(Check, {
88
+ className: "h-4 w-4"
89
+ })
90
+ })
91
+ }), children]
92
+ }));
86
93
  MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;
87
94
  const MenubarRadioItem = React.forwardRef(({
88
95
  className,
89
96
  children,
90
97
  ...props
91
- }, ref) => React.createElement(MenubarPrimitive.RadioItem, {
98
+ }, ref) => jsxs(MenubarPrimitive.RadioItem, {
92
99
  ref: ref,
93
100
  className: cn('relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50', className),
94
- ...props
95
- }, React.createElement("span", {
96
- className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center"
97
- }, React.createElement(MenubarPrimitive.ItemIndicator, null, React.createElement(Circle, {
98
- className: "h-2 w-2 fill-current"
99
- }))), children));
101
+ ...props,
102
+ children: [jsx("span", {
103
+ className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center",
104
+ children: jsx(MenubarPrimitive.ItemIndicator, {
105
+ children: jsx(Circle, {
106
+ className: "h-2 w-2 fill-current"
107
+ })
108
+ })
109
+ }), children]
110
+ }));
100
111
  MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;
101
112
  const MenubarLabel = React.forwardRef(({
102
113
  className,
103
114
  inset,
104
115
  ...props
105
- }, ref) => React.createElement(MenubarPrimitive.Label, {
116
+ }, ref) => jsx(MenubarPrimitive.Label, {
106
117
  ref: ref,
107
118
  className: cn('px-2 py-1.5 text-sm font-semibold', inset && 'pl-8', className),
108
119
  ...props
@@ -111,7 +122,7 @@ MenubarLabel.displayName = MenubarPrimitive.Label.displayName;
111
122
  const MenubarSeparator = React.forwardRef(({
112
123
  className,
113
124
  ...props
114
- }, ref) => React.createElement(MenubarPrimitive.Separator, {
125
+ }, ref) => jsx(MenubarPrimitive.Separator, {
115
126
  ref: ref,
116
127
  className: cn('-mx-1 my-1 h-px bg-muted', className),
117
128
  ...props
@@ -121,7 +132,7 @@ const MenubarShortcut = ({
121
132
  className,
122
133
  ...props
123
134
  }) => {
124
- return React.createElement("span", {
135
+ return jsx("span", {
125
136
  className: cn('ml-auto text-xs tracking-widest text-muted-foreground', className),
126
137
  ...props
127
138
  });
@@ -1 +1 @@
1
- {"version":3,"file":"menubar.js","sources":["../../src/shardui/menubar.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;AAM0C,MAAA,UAAA,GAAA,gBAAA,CAAA;AAE1C,MAAA,iBAAM,GAAY,gBAAA,CAAA;AAElB,MAAA,OAAA,GAAM,KAAA,CAAA,UAAa,CAAA,CAAA;AAEnB,EAAA,SAAA;AAEA,EAAA,GAAA;AAEA,CAAA,EAAA,GAAA,KAAA,KAAM,CAAA,aAAO,CAAA,gBAAA,CAAA,IAAA,EAAA;AAYb,EAAA,GAAA,EAAA,GAAA;AAeA,EAAA,aAAM,CAAA,sEAAiB,EAAA,SAAA,CAAA;;;AAqBvB,OAAA,CAAA,WAAM,GAAA,gBAAiB,CAAA,IAAA,CAAA,WAAA;AAevB,MAAA,cAAM,GAAA,KAAc,CAAA,UAAA,CAAA,CAAA;AAoBpB,EAAA;;+CAeG,CAAA,OAAA,EAAA;AAGH,EAAA,GAAA,EAAA,GAAA;AAuBA,EAAA,SAAA,EAAA,EAAM,CAAA,wNAmBH,EAAA,SAAA,CAAA;AAGH,EAAA,GAAA;;6CAWG,CAAA,OAAA,CAAA,WAAA;AAGH,MAAA,iBAAM,GAAA,KAAgB,CAAA,UAAA,CAAA,CAAA;AAQtB,EAAA;AAAkD,EAAA,KAAA;;EAEhD,GAAA;AAGF,CAAA,EAAA,GAAA,KACI,KAAO,CAAA,cAEP,gBACA,CAAA,UAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"menubar.js","sources":["../../src/shardui/menubar.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;AAM0C,MAAA,aAAA,GAAA,gBAAA,CAAA;AAE1C,MAAA,UAAM,GAAA,gBAAY,CAAA;AAElB,MAAA,iBAAM,GAAA,gBAAa,CAAA;AAEnB,MAAA,OAAA,GAAM,KAAA,CAAA,UAAU,CAAA,CAAA;AAEhB,EAAA,SAAA;AAEA,EAAA,GAAA;AAYA,CAAA,EAAA,GAAA,KAAAA,GAAM,CAAA,gBAAc,CAAA,IAAA,EAAA;AAepB,EAAA,GAAA,EAAA;aAGgB,EAAA,CAAA,sEAAO,EAAA,SAAA,CAAA;;AAkBvB,CAAA,CAAA;AAeA,OAAA,CAAA,WAAM,GAAA,gBAAc,CAAA,IAAA,CAAA,WAAA;AAoBpB,MAAA,cAAM,GAAA,KAAW,CAAA,UAAA,CAAA,CAAA;;;AAkBjB,CAAA,EAAA,GAAA,KAAAA,GAAM,CAAA,gBAAA,CAAmB,OAAA,EAAA;AAuBzB,EAAA,GAAA,EAAA,GAAA;AAsBA,EAAA,aAAM,CAAA,wNAAY,EAAA,SAAA,CAAA;;;AAclB,cAAM,CAAA,WAAA,GAAA,gBAAgB,CAAA,OAAA,CAAA,WAAA;AAQtB,MAAA,iBAAM,GAAA,KAAe,CAAA,UAAA,CAAA,CAAA;AAA6B,EAAA,SAAA;;EAEhD,QAAA;AAGF,EAAA,GAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,17 +1,18 @@
1
- import*as React from'react';import*as NavigationMenuPrimitive from'@radix-ui/react-navigation-menu';import {cva}from'class-variance-authority';import {ChevronDown}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const NavigationMenu = React.forwardRef(({
1
+ import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import*as NavigationMenuPrimitive from'@radix-ui/react-navigation-menu';import {cva}from'class-variance-authority';import {ChevronDown}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const NavigationMenu = React.forwardRef(({
2
2
  className,
3
3
  children,
4
4
  ...props
5
- }, ref) => React.createElement(NavigationMenuPrimitive.Root, {
5
+ }, ref) => jsxs(NavigationMenuPrimitive.Root, {
6
6
  ref: ref,
7
7
  className: cn('relative z-10 flex max-w-max flex-1 items-center justify-center', className),
8
- ...props
9
- }, children, React.createElement(NavigationMenuViewport, null)));
8
+ ...props,
9
+ children: [children, jsx(NavigationMenuViewport, {})]
10
+ }));
10
11
  NavigationMenu.displayName = NavigationMenuPrimitive.Root.displayName;
11
12
  const NavigationMenuList = React.forwardRef(({
12
13
  className,
13
14
  ...props
14
- }, ref) => React.createElement(NavigationMenuPrimitive.List, {
15
+ }, ref) => jsx(NavigationMenuPrimitive.List, {
15
16
  ref: ref,
16
17
  className: cn('group flex flex-1 list-none items-center justify-center space-x-1', className),
17
18
  ...props
@@ -23,19 +24,20 @@ const NavigationMenuTrigger = React.forwardRef(({
23
24
  className,
24
25
  children,
25
26
  ...props
26
- }, ref) => React.createElement(NavigationMenuPrimitive.Trigger, {
27
+ }, ref) => jsxs(NavigationMenuPrimitive.Trigger, {
27
28
  ref: ref,
28
29
  className: cn(navigationMenuTriggerStyle(), 'group', className),
29
- ...props
30
- }, children, ' ', React.createElement(ChevronDown, {
31
- className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
32
- "aria-hidden": "true"
33
- })));
30
+ ...props,
31
+ children: [children, ' ', jsx(ChevronDown, {
32
+ className: "relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180",
33
+ "aria-hidden": "true"
34
+ })]
35
+ }));
34
36
  NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
35
37
  const NavigationMenuContent = React.forwardRef(({
36
38
  className,
37
39
  ...props
38
- }, ref) => React.createElement(NavigationMenuPrimitive.Content, {
40
+ }, ref) => jsx(NavigationMenuPrimitive.Content, {
39
41
  ref: ref,
40
42
  className: cn('left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ', className),
41
43
  ...props
@@ -45,22 +47,24 @@ const NavigationMenuLink = NavigationMenuPrimitive.Link;
45
47
  const NavigationMenuViewport = React.forwardRef(({
46
48
  className,
47
49
  ...props
48
- }, ref) => React.createElement("div", {
49
- className: cn('absolute left-0 top-full flex justify-center')
50
- }, React.createElement(NavigationMenuPrimitive.Viewport, {
51
- className: cn('origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]', className),
52
- ref: ref,
53
- ...props
54
- })));
50
+ }, ref) => jsx("div", {
51
+ className: cn('absolute left-0 top-full flex justify-center'),
52
+ children: jsx(NavigationMenuPrimitive.Viewport, {
53
+ className: cn('origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]', className),
54
+ ref: ref,
55
+ ...props
56
+ })
57
+ }));
55
58
  NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
56
59
  const NavigationMenuIndicator = React.forwardRef(({
57
60
  className,
58
61
  ...props
59
- }, ref) => React.createElement(NavigationMenuPrimitive.Indicator, {
62
+ }, ref) => jsx(NavigationMenuPrimitive.Indicator, {
60
63
  ref: ref,
61
64
  className: cn('top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in', className),
62
- ...props
63
- }, React.createElement("div", {
64
- className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"
65
- })));
65
+ ...props,
66
+ children: jsx("div", {
67
+ className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md"
68
+ })
69
+ }));
66
70
  NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;export{NavigationMenu,NavigationMenuContent,NavigationMenuIndicator,NavigationMenuItem,NavigationMenuLink,NavigationMenuList,NavigationMenuTrigger,NavigationMenuViewport,navigationMenuTriggerStyle};//# sourceMappingURL=navigation-menu.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigation-menu.js","sources":["../../src/shardui/navigation-menu.tsx"],"sourcesContent":[null],"names":[],"mappings":"6RAoCA,MAAA,cAAM,GAAA,KAAA,CAAA,UAAA,CAA0B,CAAA;AAIhC,EAAA,SAAA;AAkBA,EAAA,QAAA;AAeA,EAAA,GAAA;AAEA,CAAA,EAAA,GAAA,KAAA,KAAM,CAAA,aAAA,CAAA,uBAAsB,CAAA,IAAA,EAAA;AAiB5B,EAAA,GAAA,EAAA,GAAA;AAiBA,EAAA,SACI,EAAA,EAAA,CAAA,iEAGA,EAAA,SAAkB,CAClB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"navigation-menu.js","sources":["../../src/shardui/navigation-menu.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"sUAwCA,MAAA,cAAM,GAAA,KAAA,CAAA,UAAqB,CAAA,CAAA;AAkB3B,EAAA,SAAA;AAeA,EAAA,QAAA;AAEA,EAAA,GAAA;AAiBA,CAAA,EAAA,GAAA,KAAAA,IAAM,CAAA,uBAAuB,CAAA,IAAA,EAAA;AAiB7B,EAAA,GAAA,EAAO,GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { ButtonProps } from './button';
3
3
  declare const Pagination: {
4
- ({ className, ...props }: React.ComponentProps<"nav">): React.JSX.Element;
4
+ ({ className, ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
5
5
  displayName: string;
6
6
  };
7
7
  declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
@@ -10,19 +10,19 @@ type PaginationLinkProps = {
10
10
  isActive?: boolean;
11
11
  } & Pick<ButtonProps, 'size'> & React.ComponentProps<'a'>;
12
12
  declare const PaginationLink: {
13
- ({ className, isActive, size, ...props }: PaginationLinkProps): React.JSX.Element;
13
+ ({ className, isActive, size, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
14
14
  displayName: string;
15
15
  };
16
16
  declare const PaginationPrevious: {
17
- ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element;
17
+ ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
18
18
  displayName: string;
19
19
  };
20
20
  declare const PaginationNext: {
21
- ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element;
21
+ ({ className, ...props }: React.ComponentProps<typeof PaginationLink>): import("react/jsx-runtime").JSX.Element;
22
22
  displayName: string;
23
23
  };
24
24
  declare const PaginationEllipsis: {
25
- ({ className, ...props }: React.ComponentProps<"span">): React.JSX.Element;
25
+ ({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
26
26
  displayName: string;
27
27
  };
28
28
  export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
@@ -1,7 +1,7 @@
1
- import*as React from'react';import {MoreHorizontal,ChevronRight,ChevronLeft}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {buttonVariants}from'./button.js';const Pagination = ({
1
+ import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {MoreHorizontal,ChevronRight,ChevronLeft}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';import {buttonVariants}from'./button.js';const Pagination = ({
2
2
  className,
3
3
  ...props
4
- }) => React.createElement("nav", {
4
+ }) => jsx("nav", {
5
5
  role: "navigation",
6
6
  "aria-label": "pagination",
7
7
  className: cn('mx-auto flex w-full justify-center', className),
@@ -11,7 +11,7 @@ Pagination.displayName = 'Pagination';
11
11
  const PaginationContent = React.forwardRef(({
12
12
  className,
13
13
  ...props
14
- }, ref) => React.createElement("ul", {
14
+ }, ref) => jsx("ul", {
15
15
  ref: ref,
16
16
  className: cn('flex flex-row items-center gap-1', className),
17
17
  ...props
@@ -20,7 +20,7 @@ PaginationContent.displayName = 'PaginationContent';
20
20
  const PaginationItem = React.forwardRef(({
21
21
  className,
22
22
  ...props
23
- }, ref) => React.createElement("li", {
23
+ }, ref) => jsx("li", {
24
24
  ref: ref,
25
25
  className: cn('', className),
26
26
  ...props
@@ -31,7 +31,7 @@ const PaginationLink = ({
31
31
  isActive,
32
32
  size = 'icon',
33
33
  ...props
34
- }) => React.createElement("a", {
34
+ }) => jsx("a", {
35
35
  "aria-current": isActive ? 'page' : undefined,
36
36
  className: cn(buttonVariants({
37
37
  variant: isActive ? 'outline' : 'ghost',
@@ -43,37 +43,45 @@ PaginationLink.displayName = 'PaginationLink';
43
43
  const PaginationPrevious = ({
44
44
  className,
45
45
  ...props
46
- }) => React.createElement(PaginationLink, {
46
+ }) => jsxs(PaginationLink, {
47
47
  "aria-label": "Go to previous page",
48
48
  size: "default",
49
49
  className: cn('gap-1 pl-2.5', className),
50
- ...props
51
- }, React.createElement(ChevronLeft, {
52
- className: "h-4 w-4"
53
- }), React.createElement("span", null, "Previous"));
50
+ ...props,
51
+ children: [jsx(ChevronLeft, {
52
+ className: "h-4 w-4"
53
+ }), jsx("span", {
54
+ children: "Previous"
55
+ })]
56
+ });
54
57
  PaginationPrevious.displayName = 'PaginationPrevious';
55
58
  const PaginationNext = ({
56
59
  className,
57
60
  ...props
58
- }) => React.createElement(PaginationLink, {
61
+ }) => jsxs(PaginationLink, {
59
62
  "aria-label": "Go to next page",
60
63
  size: "default",
61
64
  className: cn('gap-1 pr-2.5', className),
62
- ...props
63
- }, React.createElement("span", null, "Next"), React.createElement(ChevronRight, {
64
- className: "h-4 w-4"
65
- }));
65
+ ...props,
66
+ children: [jsx("span", {
67
+ children: "Next"
68
+ }), jsx(ChevronRight, {
69
+ className: "h-4 w-4"
70
+ })]
71
+ });
66
72
  PaginationNext.displayName = 'PaginationNext';
67
73
  const PaginationEllipsis = ({
68
74
  className,
69
75
  ...props
70
- }) => React.createElement("span", {
76
+ }) => jsxs("span", {
71
77
  "aria-hidden": true,
72
78
  className: cn('flex h-9 w-9 items-center justify-center', className),
73
- ...props
74
- }, React.createElement(MoreHorizontal, {
75
- className: "h-4 w-4"
76
- }), React.createElement("span", {
77
- className: "sr-only"
78
- }, "More pages"));
79
+ ...props,
80
+ children: [jsx(MoreHorizontal, {
81
+ className: "h-4 w-4"
82
+ }), jsx("span", {
83
+ className: "sr-only",
84
+ children: "More pages"
85
+ })]
86
+ });
79
87
  PaginationEllipsis.displayName = 'PaginationEllipsis';export{Pagination,PaginationContent,PaginationEllipsis,PaginationItem,PaginationLink,PaginationNext,PaginationPrevious};//# sourceMappingURL=pagination.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.js","sources":["../../src/shardui/pagination.tsx"],"sourcesContent":[null],"names":[],"mappings":";EAaE,SAAA;AAGF,EAAA,GAAA;AAOA,CAAA,KAAA,KAAA,CAAA,aAAM,CAAA,KAAc,EAAA;AAKpB,EAAA;cACa,EAAE,YAAQ;AACtB,EAAA,SAAQ,EAAA,EAAA,CAAA,oCACe,EAAC,SAAK,CAAA;AAE9B,EAAA,GAAA;;;AAYE,MAAA,iBAAA,GAAA,KAAA,CAAA,UAAA,CAAA,CAAA;AAGF,EAAA;AAAqD,EAAA,GAAA;;EAUnD,GAAA,EAAA,GAAA;AAGF,EAAA,aAAM,CAAA,kCAAc,EAAA,SAAA,CAAA;AAA6B,EAAA,GAAA;;iBAK/C,CAAA,WAAA,GAAA,mBAAA;AAGF,MAAA,cAAM,GAAA,KAAA,CAAA,UAAkB,CAAA,CAAA;AAA6B,EAAA,SAAA;;CAKpD,EAAC,GAAA,KAAA,KAAA,CAAA,aAAA,CAAA,IAAA,EAAA;AAGF,EAAA,GAAA,EAAO,GACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"pagination.js","sources":["../../src/shardui/pagination.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"wRAaE,MAAA,UAAA,GAAA,CAAA;AAGF,EAAA,SAAA;AAOA,EAAA,GAAA;AAKA,CAAA;MACI,EAAA,YAAW;AACd,EAAA,YAAQ,EAAA,YAAmB;AAG5B,EAAA,aAAM,CAAA,oCAAc,EAAA,SAAA,CAAA;;;UAYlB,CAAA,WAAA,GAAA,YAAA;AAGF,MAAA,iBAAM,GAAA,KAAA,CAAkB,UAAA,CAAA,CAAA;AAA6B,EAAA,SAAA;;CAUpD,EAAC,GAAA,KAAAA,GAAA,CAAA,IAAA,EAAA;AAGF,EAAA,GAAA,EAAA;AAAiD,EAAA,SAAA,EAAA,EAAA,CAAA,kCAAoB,EAAC;;CAKrE,CAAC;AAGF,iBAAM,CAAA,WAAA,GAAkB,mBAAA;AAA6B,MAAA,cAAA,GAAA,KAAA,CAAA,UAAM,CAAA,CAAA;;EAKzD,GAAA;AAGF,CAAA,EAAA,GAAA,KACIA,GAAA,CAAA,IAAU,EACV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,15 +1,17 @@
1
- import*as React from'react';import*as PopoverPrimitive from'@radix-ui/react-popover';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Popover = PopoverPrimitive.Root;
1
+ import {jsx}from'react/jsx-runtime';import*as React from'react';import*as PopoverPrimitive from'@radix-ui/react-popover';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Popover = PopoverPrimitive.Root;
2
2
  const PopoverTrigger = PopoverPrimitive.Trigger;
3
3
  const PopoverContent = React.forwardRef(({
4
4
  className,
5
5
  align = 'center',
6
6
  sideOffset = 4,
7
7
  ...props
8
- }, ref) => React.createElement(PopoverPrimitive.Portal, null, React.createElement(PopoverPrimitive.Content, {
9
- ref: ref,
10
- align: align,
11
- sideOffset: sideOffset,
12
- className: cn('z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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', className),
13
- ...props
14
- })));
8
+ }, ref) => jsx(PopoverPrimitive.Portal, {
9
+ children: jsx(PopoverPrimitive.Content, {
10
+ ref: ref,
11
+ align: align,
12
+ sideOffset: sideOffset,
13
+ className: cn('z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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', className),
14
+ ...props
15
+ })
16
+ }));
15
17
  PopoverContent.displayName = PopoverPrimitive.Content.displayName;export{Popover,PopoverContent,PopoverTrigger};//# sourceMappingURL=popover.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.js","sources":["../../src/shardui/popover.tsx"],"sourcesContent":[null],"names":[],"mappings":"4LAOA,MAAA,OAAA,GAAM,gBAAc,CAAA;AAEpB,MAAA,cAAM,GAAA,gBAAc,CAAA;AAmBpB,MAAA,iCAAkC,CAAA,CAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"popover.js","sources":["../../src/shardui/popover.tsx"],"sourcesContent":[null],"names":[],"mappings":"gOASA,MAAA,OAAA,GAAM,gBAAc,CAAA;AAmBpB,MAAA,iCAAkC,CAAA;;;;;;;;;;;;;;;"}
@@ -1,15 +1,16 @@
1
- import*as React from'react';import*as ProgressPrimitive from'@radix-ui/react-progress';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Progress = React.forwardRef(({
1
+ import {jsx}from'react/jsx-runtime';import*as React from'react';import*as ProgressPrimitive from'@radix-ui/react-progress';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const Progress = React.forwardRef(({
2
2
  className,
3
3
  value,
4
4
  ...props
5
- }, ref) => React.createElement(ProgressPrimitive.Root, {
5
+ }, ref) => jsx(ProgressPrimitive.Root, {
6
6
  ref: ref,
7
7
  className: cn('relative h-4 w-full overflow-hidden rounded-full bg-secondary', className),
8
- ...props
9
- }, React.createElement(ProgressPrimitive.Indicator, {
10
- className: "h-full w-full flex-1 bg-primary transition-all",
11
- style: {
12
- transform: `translateX(-${100 - (value || 0)}%)`
13
- }
14
- })));
8
+ ...props,
9
+ children: jsx(ProgressPrimitive.Indicator, {
10
+ className: "h-full w-full flex-1 bg-primary transition-all",
11
+ style: {
12
+ transform: `translateX(-${100 - (value || 0)}%)`
13
+ }
14
+ })
15
+ }));
15
16
  Progress.displayName = ProgressPrimitive.Root.displayName;export{Progress};//# sourceMappingURL=progress.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"progress.js","sources":["../../src/shardui/progress.tsx"],"sourcesContent":[null],"names":[],"mappings":"8LAsBA,MAAA,QAAS,GAAQ,KAAG,CAAA,UAAA,CAAA,CAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"progress.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;"}
@@ -1,8 +1,8 @@
1
- import*as React from'react';import*as RadioGroupPrimitive from'@radix-ui/react-radio-group';import {Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const RadioGroup = React.forwardRef(({
1
+ import {jsx}from'react/jsx-runtime';import*as React from'react';import*as RadioGroupPrimitive from'@radix-ui/react-radio-group';import {Circle}from'lucide-react';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const RadioGroup = React.forwardRef(({
2
2
  className,
3
3
  ...props
4
4
  }, ref) => {
5
- return React.createElement(RadioGroupPrimitive.Root, {
5
+ return jsx(RadioGroupPrimitive.Root, {
6
6
  className: cn('grid gap-2', className),
7
7
  ...props,
8
8
  ref: ref
@@ -13,14 +13,16 @@ const RadioGroupItem = React.forwardRef(({
13
13
  className,
14
14
  ...props
15
15
  }, ref) => {
16
- return React.createElement(RadioGroupPrimitive.Item, {
16
+ return jsx(RadioGroupPrimitive.Item, {
17
17
  ref: ref,
18
18
  className: cn('aspect-square h-4 w-4 rounded-full border border-primary text-primary ring-offset-background focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50', className),
19
- ...props
20
- }, React.createElement(RadioGroupPrimitive.Indicator, {
21
- className: "flex items-center justify-center"
22
- }, React.createElement(Circle, {
23
- className: "h-2.5 w-2.5 fill-current text-current"
24
- })));
19
+ ...props,
20
+ children: jsx(RadioGroupPrimitive.Indicator, {
21
+ className: "flex items-center justify-center",
22
+ children: jsx(Circle, {
23
+ className: "h-2.5 w-2.5 fill-current text-current"
24
+ })
25
+ })
26
+ });
25
27
  });
26
28
  RadioGroupItem.displayName = RadioGroupPrimitive.Item.displayName;export{RadioGroup,RadioGroupItem};//# sourceMappingURL=radio-group.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.js","sources":["../../src/shardui/radio-group.tsx"],"sourcesContent":[null],"names":[],"mappings":"qOAmCA,MAAA,UAAS,GAAU,KAAE,CAAA,UAAc,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"radio-group.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import * as ResizablePrimitive from 'react-resizable-panels';
3
- declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => React.JSX.Element;
4
- declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLHeadingElement | HTMLParagraphElement | HTMLDetailsElement | HTMLPreElement | HTMLHtmlElement | HTMLHeadElement | HTMLBodyElement | HTMLMetaElement | HTMLTitleElement | HTMLScriptElement | HTMLSelectElement | HTMLOptionElement | HTMLOptGroupElement | HTMLInputElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableRowElement | HTMLTableCellElement | HTMLSpanElement | HTMLImageElement | HTMLUListElement | HTMLLIElement | HTMLAnchorElement | HTMLObjectElement | HTMLLinkElement | HTMLMapElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDialogElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLFormElement | HTMLHRElement | HTMLIFrameElement | HTMLLabelElement | HTMLLegendElement | HTMLMeterElement | HTMLOListElement | HTMLOutputElement | HTMLProgressElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
3
+ declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
4
+ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement | HTMLElement | HTMLButtonElement | HTMLHeadingElement | HTMLParagraphElement | HTMLDetailsElement | HTMLPreElement | HTMLHtmlElement | HTMLHeadElement | HTMLBodyElement | HTMLMetaElement | HTMLTitleElement | HTMLScriptElement | HTMLSelectElement | HTMLOptionElement | HTMLOptGroupElement | HTMLInputElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableRowElement | HTMLTableCellElement | HTMLSpanElement | HTMLImageElement | HTMLUListElement | HTMLLIElement | HTMLAnchorElement | HTMLObjectElement | HTMLLinkElement | HTMLMapElement | HTMLProgressElement | HTMLDialogElement | HTMLFormElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHRElement | HTMLIFrameElement | HTMLLabelElement | HTMLLegendElement | HTMLMeterElement | HTMLOListElement | HTMLOutputElement | HTMLSlotElement | HTMLSourceElement | HTMLStyleElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
5
5
  className?: string | undefined;
6
6
  collapsedSize?: number | undefined;
7
7
  collapsible?: boolean | undefined;
@@ -20,6 +20,6 @@ declare const ResizablePanel: React.ForwardRefExoticComponent<Omit<React.HTMLAtt
20
20
  } & React.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
21
21
  declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
22
22
  withHandle?: boolean;
23
- }) => React.JSX.Element;
23
+ }) => import("react/jsx-runtime").JSX.Element;
24
24
  export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
25
25
  //# sourceMappingURL=resizable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../src/shardui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAI7D,QAAA,MAAM,mBAAmB,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,sBAK/G,CAAC;AAEF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;kEAA2B,CAAC;AAEhD,QAAA,MAAM,eAAe,GAAI,qCAItB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAAG;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,sBAcA,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../src/shardui/resizable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAI7D,QAAA,MAAM,mBAAmB,GAAI,yBAAyB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,4CAK/G,CAAC;AAEF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;kEAA2B,CAAC;AAEhD,QAAA,MAAM,eAAe,GAAI,qCAItB,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAAG;IACnE,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,4CAcA,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
@@ -1,7 +1,7 @@
1
- import {GripVertical}from'lucide-react';import React__default from'react';import*as ResizablePrimitive from'react-resizable-panels';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ResizablePanelGroup = ({
1
+ import {jsx}from'react/jsx-runtime';import {GripVertical}from'lucide-react';import*as ResizablePrimitive from'react-resizable-panels';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'react';import'fast-deep-equal/react.js';const ResizablePanelGroup = ({
2
2
  className,
3
3
  ...props
4
- }) => React__default.createElement(ResizablePrimitive.PanelGroup, {
4
+ }) => jsx(ResizablePrimitive.PanelGroup, {
5
5
  className: cn('flex h-full w-full data-[panel-group-direction=vertical]:flex-col', className),
6
6
  ...props
7
7
  });
@@ -10,11 +10,13 @@ const ResizableHandle = ({
10
10
  withHandle,
11
11
  className,
12
12
  ...props
13
- }) => React__default.createElement(ResizablePrimitive.PanelResizeHandle, {
13
+ }) => jsx(ResizablePrimitive.PanelResizeHandle, {
14
14
  className: cn('relative flex w-px items-center justify-center bg-border after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:-translate-y-1/2 data-[panel-group-direction=vertical]:after:translate-x-0 [&[data-panel-group-direction=vertical]>div]:rotate-90', className),
15
- ...props
16
- }, withHandle && React__default.createElement("div", {
17
- className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border"
18
- }, React__default.createElement(GripVertical, {
19
- className: "h-2.5 w-2.5"
20
- })));export{ResizableHandle,ResizablePanel,ResizablePanelGroup};//# sourceMappingURL=resizable.js.map
15
+ ...props,
16
+ children: withHandle && jsx("div", {
17
+ className: "z-10 flex h-4 w-3 items-center justify-center rounded-sm border bg-border",
18
+ children: jsx(GripVertical, {
19
+ className: "h-2.5 w-2.5"
20
+ })
21
+ })
22
+ });export{ResizableHandle,ResizablePanel,ResizablePanelGroup};//# sourceMappingURL=resizable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.js","sources":["../../src/shardui/resizable.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;;;AAeA,EAAA,SAAA,EAAA;iBAKI,CAAA,aAAa,CAAA,YAAQ,EAAA;AACxB,EAAA,SAAA,EAAA;AAgBD,CAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"resizable.js","sources":["../../src/shardui/resizable.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;AAeA,IAAA,SAAA,EAAM,2EAIkB;IACpB,QAAA,EAAUA,GAAG,CAAA,YAAQ,EAAA;AACxB,MAAA,SAAA,EAAA;AAgBD,KAAA;;"}
@@ -1,25 +1,28 @@
1
- import*as React from'react';import*as ScrollAreaPrimitive from'@radix-ui/react-scroll-area';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ScrollArea = React.forwardRef(({
1
+ import {jsxs,jsx}from'react/jsx-runtime';import*as React from'react';import*as ScrollAreaPrimitive from'@radix-ui/react-scroll-area';import'../utils/isBrowser/index.js';import {cn}from'../utils/util.js';import'fast-deep-equal/react.js';const ScrollArea = React.forwardRef(({
2
2
  className,
3
3
  children,
4
4
  ...props
5
- }, ref) => React.createElement(ScrollAreaPrimitive.Root, {
5
+ }, ref) => jsxs(ScrollAreaPrimitive.Root, {
6
6
  ref: ref,
7
7
  className: cn('relative overflow-hidden', className),
8
- ...props
9
- }, React.createElement(ScrollAreaPrimitive.Viewport, {
10
- className: "h-full w-full rounded-[inherit]"
11
- }, children), React.createElement(ScrollBar, null), React.createElement(ScrollAreaPrimitive.Corner, null)));
8
+ ...props,
9
+ children: [jsx(ScrollAreaPrimitive.Viewport, {
10
+ className: "h-full w-full rounded-[inherit]",
11
+ children: children
12
+ }), jsx(ScrollBar, {}), jsx(ScrollAreaPrimitive.Corner, {})]
13
+ }));
12
14
  ScrollArea.displayName = ScrollAreaPrimitive.Root.displayName;
13
15
  const ScrollBar = React.forwardRef(({
14
16
  className,
15
17
  orientation = 'vertical',
16
18
  ...props
17
- }, ref) => React.createElement(ScrollAreaPrimitive.ScrollAreaScrollbar, {
19
+ }, ref) => jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, {
18
20
  ref: ref,
19
21
  orientation: orientation,
20
22
  className: cn('flex touch-none select-none transition-colors', orientation === 'vertical' && 'h-full w-2.5 border-l border-l-transparent p-[1px]', orientation === 'horizontal' && 'h-2.5 flex-col border-t border-t-transparent p-[1px]', className),
21
- ...props
22
- }, React.createElement(ScrollAreaPrimitive.ScrollAreaThumb, {
23
- className: "relative flex-1 rounded-full bg-border"
24
- })));
23
+ ...props,
24
+ children: jsx(ScrollAreaPrimitive.ScrollAreaThumb, {
25
+ className: "relative flex-1 rounded-full bg-border"
26
+ })
27
+ }));
25
28
  ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;export{ScrollArea,ScrollBar};//# sourceMappingURL=scroll-area.js.map