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

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 +81 -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 +126 -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 +174 -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,3 +1,2 @@
1
- import React from 'react';
2
- export declare const LayoutErrorBoundary: (props: any) => React.JSX.Element;
1
+ export declare const LayoutErrorBoundary: (props: any) => import("react/jsx-runtime").JSX.Element;
3
2
  //# sourceMappingURL=LayoutErrorBoundary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/LayoutErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAoB1B,eAAO,MAAM,mBAAmB,GAAI,UAAK,sBAOxC,CAAC"}
1
+ {"version":3,"file":"LayoutErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/LayoutErrorBoundary.tsx"],"names":[],"mappings":"AAoBA,eAAO,MAAM,mBAAmB,GAAI,UAAK,4CAOxC,CAAC"}
@@ -1,29 +1,34 @@
1
- import React__default from'react';import {ErrorBoundaryCommon}from'@admin-layout/client';import {icons}from'../../icons/index.js';const Fallback = props => {
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {ErrorBoundaryCommon}from'@admin-layout/client';import {icons}from'../../icons/index.js';const Fallback = props => {
2
2
  const {
3
3
  error
4
4
  } = props;
5
5
  const {
6
6
  TimesIcon
7
7
  } = icons;
8
- return React__default.createElement("div", {
9
- className: "flex flex-col items-center justify-center p-8 text-center"
10
- }, React__default.createElement("div", {
11
- className: "mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-100"
12
- }, React__default.createElement(TimesIcon, {
13
- className: "h-8 w-8 text-red-500"
14
- })), React__default.createElement("h2", {
15
- className: "mb-2 text-2xl font-bold text-gray-800"
16
- }, "Something Went Wrong!"), React__default.createElement("p", {
17
- className: "text-gray-600"
18
- }, error?.message || 'Unable to identify the cause of this error. Please try again later!'));
8
+ return jsxs("div", {
9
+ className: "flex flex-col items-center justify-center p-8 text-center",
10
+ children: [jsx("div", {
11
+ className: "mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-red-100",
12
+ children: jsx(TimesIcon, {
13
+ className: "h-8 w-8 text-red-500"
14
+ })
15
+ }), jsx("h2", {
16
+ className: "mb-2 text-2xl font-bold text-gray-800",
17
+ children: "Something Went Wrong!"
18
+ }), jsx("p", {
19
+ className: "text-gray-600",
20
+ children: error?.message || 'Unable to identify the cause of this error. Please try again later!'
21
+ })]
22
+ });
19
23
  };
20
24
  const LayoutErrorBoundary = props => {
21
25
  const {
22
26
  children,
23
27
  pathname
24
28
  } = props;
25
- return React__default.createElement(ErrorBoundaryCommon, {
29
+ return jsx(ErrorBoundaryCommon, {
26
30
  fallbackComponent: Fallback,
27
- pathname: pathname
28
- }, children);
31
+ pathname: pathname,
32
+ children: children
33
+ });
29
34
  };export{LayoutErrorBoundary};//# sourceMappingURL=LayoutErrorBoundary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LayoutErrorBoundary.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"LayoutErrorBoundary.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  /**
3
2
  * Remix Route ErrorBoundary Component
4
3
  * This is specifically for Remix route errors (404s, loader errors, etc.)
@@ -10,5 +9,5 @@ import * as React from 'react';
10
9
  * Usage in root.tsx or any route file:
11
10
  * export { RemixErrorBoundary as ErrorBoundary } from '@admin-layout/tailwind-ui';
12
11
  */
13
- export declare function RemixErrorBoundary(): React.JSX.Element;
12
+ export declare function RemixErrorBoundary(): import("react/jsx-runtime").JSX.Element;
14
13
  //# sourceMappingURL=RemixErrorBoundary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RemixErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/RemixErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6C/B;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,sBA2KjC"}
1
+ {"version":3,"file":"RemixErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/RemixErrorBoundary.tsx"],"names":[],"mappings":"AA6CA;;;;;;;;;;GAUG;AACH,wBAAgB,kBAAkB,4CA2KjC"}
@@ -1,4 +1,4 @@
1
- import*as React from'react';import {useRouteError,isRouteErrorResponse}from'@remix-run/react';import {logger}from'@cdm-logger/client';// Inline styles as fallback when Tailwind CSS is unavailable (e.g., during SSR error recovery)
1
+ import {jsx,jsxs}from'react/jsx-runtime';import*as React from'react';import {useRouteError,isRouteErrorResponse}from'@remix-run/react';import {logger}from'@cdm-logger/client';// Inline styles as fallback when Tailwind CSS is unavailable (e.g., during SSR error recovery)
2
2
  const containerStyle = {
3
3
  display: 'flex',
4
4
  minHeight: '100vh',
@@ -57,160 +57,185 @@ function RemixErrorBoundary() {
57
57
  window.location.href = '/';
58
58
  };
59
59
  if (isRouteErrorResponse(error)) {
60
- return React.createElement("div", {
60
+ return jsx("div", {
61
61
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4 py-12 sm:px-6 lg:px-8",
62
- style: containerStyle
63
- }, React.createElement("div", {
64
- className: "w-full max-w-md space-y-8 text-center",
65
- style: {
66
- maxWidth: '28rem',
67
- width: '100%',
68
- textAlign: 'center'
69
- }
70
- }, React.createElement("div", {
71
- className: "mb-4 flex justify-center",
72
- style: {
73
- display: 'flex',
74
- justifyContent: 'center',
75
- marginBottom: '1rem'
76
- }
77
- }, React.createElement("div", {
78
- className: "flex h-16 w-16 items-center justify-center rounded-full bg-red-100",
79
- style: iconContainerStyle
80
- }, React.createElement("svg", {
81
- className: "h-8 w-8 text-red-500",
82
- width: "32",
83
- height: "32",
84
- style: svgStyle,
85
- fill: "none",
86
- viewBox: "0 0 24 24",
87
- stroke: "currentColor"
88
- }, React.createElement("path", {
89
- strokeLinecap: "round",
90
- strokeLinejoin: "round",
91
- strokeWidth: 2,
92
- d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
93
- })))), React.createElement("div", null, React.createElement("h1", {
94
- className: "text-6xl font-bold text-gray-900",
95
- style: {
96
- fontSize: '3.75rem',
97
- fontWeight: 700,
98
- color: '#111827'
99
- }
100
- }, error.status), React.createElement("h2", {
101
- className: "mt-2 text-2xl font-bold tracking-tight text-gray-900",
102
- style: {
103
- marginTop: '0.5rem',
104
- fontSize: '1.5rem',
105
- fontWeight: 700,
106
- color: '#111827'
107
- }
108
- }, error.statusText), error.data && React.createElement("p", {
109
- className: "mt-2 text-sm text-gray-600",
110
- style: {
111
- marginTop: '0.5rem',
112
- fontSize: '0.875rem',
113
- color: '#4b5563'
114
- }
115
- }, error.data)), React.createElement("div", {
116
- className: "mt-6",
117
- style: {
118
- marginTop: '1.5rem'
119
- }
120
- }, React.createElement("button", {
121
- onClick: handleGoHome,
122
- className: "inline-flex items-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors",
123
- style: buttonStyle
124
- }, "Go back home"))));
62
+ style: containerStyle,
63
+ children: jsxs("div", {
64
+ className: "w-full max-w-md space-y-8 text-center",
65
+ style: {
66
+ maxWidth: '28rem',
67
+ width: '100%',
68
+ textAlign: 'center'
69
+ },
70
+ children: [jsx("div", {
71
+ className: "mb-4 flex justify-center",
72
+ style: {
73
+ display: 'flex',
74
+ justifyContent: 'center',
75
+ marginBottom: '1rem'
76
+ },
77
+ children: jsx("div", {
78
+ className: "flex h-16 w-16 items-center justify-center rounded-full bg-red-100",
79
+ style: iconContainerStyle,
80
+ children: jsx("svg", {
81
+ className: "h-8 w-8 text-red-500",
82
+ width: "32",
83
+ height: "32",
84
+ style: svgStyle,
85
+ fill: "none",
86
+ viewBox: "0 0 24 24",
87
+ stroke: "currentColor",
88
+ children: jsx("path", {
89
+ strokeLinecap: "round",
90
+ strokeLinejoin: "round",
91
+ strokeWidth: 2,
92
+ d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
93
+ })
94
+ })
95
+ })
96
+ }), jsxs("div", {
97
+ children: [jsx("h1", {
98
+ className: "text-6xl font-bold text-gray-900",
99
+ style: {
100
+ fontSize: '3.75rem',
101
+ fontWeight: 700,
102
+ color: '#111827'
103
+ },
104
+ children: error.status
105
+ }), jsx("h2", {
106
+ className: "mt-2 text-2xl font-bold tracking-tight text-gray-900",
107
+ style: {
108
+ marginTop: '0.5rem',
109
+ fontSize: '1.5rem',
110
+ fontWeight: 700,
111
+ color: '#111827'
112
+ },
113
+ children: error.statusText
114
+ }), error.data && jsx("p", {
115
+ className: "mt-2 text-sm text-gray-600",
116
+ style: {
117
+ marginTop: '0.5rem',
118
+ fontSize: '0.875rem',
119
+ color: '#4b5563'
120
+ },
121
+ children: error.data
122
+ })]
123
+ }), jsx("div", {
124
+ className: "mt-6",
125
+ style: {
126
+ marginTop: '1.5rem'
127
+ },
128
+ children: jsx("button", {
129
+ onClick: handleGoHome,
130
+ className: "inline-flex items-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors",
131
+ style: buttonStyle,
132
+ children: "Go back home"
133
+ })
134
+ })]
135
+ })
136
+ });
125
137
  }
126
138
  const errorMessage = error instanceof Error ? error.message : 'An unexpected error occurred';
127
139
  const errorStack = error instanceof Error ? error.stack : undefined;
128
- return React.createElement("div", {
140
+ return jsx("div", {
129
141
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4 py-12 sm:px-6 lg:px-8",
130
- style: containerStyle
131
- }, React.createElement("div", {
132
- className: "w-full max-w-2xl space-y-8",
133
- style: {
134
- maxWidth: '42rem',
135
- width: '100%'
136
- }
137
- }, React.createElement("div", {
138
- className: "mb-4 flex justify-center",
139
- style: {
140
- display: 'flex',
141
- justifyContent: 'center',
142
- marginBottom: '1rem'
143
- }
144
- }, React.createElement("div", {
145
- className: "flex h-16 w-16 items-center justify-center rounded-full bg-red-100",
146
- style: iconContainerStyle
147
- }, React.createElement("svg", {
148
- className: "h-8 w-8 text-red-500",
149
- width: "32",
150
- height: "32",
151
- style: svgStyle,
152
- fill: "none",
153
- viewBox: "0 0 24 24",
154
- stroke: "currentColor"
155
- }, React.createElement("path", {
156
- strokeLinecap: "round",
157
- strokeLinejoin: "round",
158
- strokeWidth: 2,
159
- d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
160
- })))), React.createElement("div", {
161
- className: "text-center",
162
- style: {
163
- textAlign: 'center'
164
- }
165
- }, React.createElement("h1", {
166
- className: "text-3xl font-bold tracking-tight text-gray-900",
167
- style: {
168
- fontSize: '1.875rem',
169
- fontWeight: 700,
170
- color: '#111827'
171
- }
172
- }, "Application Error"), React.createElement("p", {
173
- className: "mt-2 text-lg text-red-600",
174
- style: {
175
- marginTop: '0.5rem',
176
- fontSize: '1.125rem',
177
- color: '#dc2626'
178
- }
179
- }, errorMessage), errorStack && process.env.NODE_ENV !== 'production' && React.createElement("details", {
180
- className: "mt-4 text-left",
181
- style: {
182
- marginTop: '1rem',
183
- textAlign: 'left'
184
- }
185
- }, React.createElement("summary", {
186
- className: "cursor-pointer text-sm font-medium text-gray-700 hover:text-gray-900",
187
- style: {
188
- cursor: 'pointer',
189
- fontSize: '0.875rem',
190
- fontWeight: 500,
191
- color: '#374151'
192
- }
193
- }, "Stack trace (development only)"), React.createElement("pre", {
194
- className: "mt-2 overflow-auto rounded-md bg-gray-100 p-4 text-xs text-gray-800 max-h-96",
195
- style: {
196
- marginTop: '0.5rem',
197
- overflow: 'auto',
198
- borderRadius: '0.375rem',
199
- backgroundColor: '#f3f4f6',
200
- padding: '1rem',
201
- fontSize: '0.75rem',
202
- color: '#1f2937',
203
- maxHeight: '24rem'
204
- }
205
- }, errorStack))), React.createElement("div", {
206
- className: "mt-6 text-center",
207
- style: {
208
- marginTop: '1.5rem',
209
- textAlign: 'center'
210
- }
211
- }, React.createElement("button", {
212
- onClick: handleGoHome,
213
- className: "inline-flex items-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors",
214
- style: buttonStyle
215
- }, "Go back home"))));
142
+ style: containerStyle,
143
+ children: jsxs("div", {
144
+ className: "w-full max-w-2xl space-y-8",
145
+ style: {
146
+ maxWidth: '42rem',
147
+ width: '100%'
148
+ },
149
+ children: [jsx("div", {
150
+ className: "mb-4 flex justify-center",
151
+ style: {
152
+ display: 'flex',
153
+ justifyContent: 'center',
154
+ marginBottom: '1rem'
155
+ },
156
+ children: jsx("div", {
157
+ className: "flex h-16 w-16 items-center justify-center rounded-full bg-red-100",
158
+ style: iconContainerStyle,
159
+ children: jsx("svg", {
160
+ className: "h-8 w-8 text-red-500",
161
+ width: "32",
162
+ height: "32",
163
+ style: svgStyle,
164
+ fill: "none",
165
+ viewBox: "0 0 24 24",
166
+ stroke: "currentColor",
167
+ children: jsx("path", {
168
+ strokeLinecap: "round",
169
+ strokeLinejoin: "round",
170
+ strokeWidth: 2,
171
+ d: "M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
172
+ })
173
+ })
174
+ })
175
+ }), jsxs("div", {
176
+ className: "text-center",
177
+ style: {
178
+ textAlign: 'center'
179
+ },
180
+ children: [jsx("h1", {
181
+ className: "text-3xl font-bold tracking-tight text-gray-900",
182
+ style: {
183
+ fontSize: '1.875rem',
184
+ fontWeight: 700,
185
+ color: '#111827'
186
+ },
187
+ children: "Application Error"
188
+ }), jsx("p", {
189
+ className: "mt-2 text-lg text-red-600",
190
+ style: {
191
+ marginTop: '0.5rem',
192
+ fontSize: '1.125rem',
193
+ color: '#dc2626'
194
+ },
195
+ children: errorMessage
196
+ }), errorStack && process.env.NODE_ENV !== 'production' && jsxs("details", {
197
+ className: "mt-4 text-left",
198
+ style: {
199
+ marginTop: '1rem',
200
+ textAlign: 'left'
201
+ },
202
+ children: [jsx("summary", {
203
+ className: "cursor-pointer text-sm font-medium text-gray-700 hover:text-gray-900",
204
+ style: {
205
+ cursor: 'pointer',
206
+ fontSize: '0.875rem',
207
+ fontWeight: 500,
208
+ color: '#374151'
209
+ },
210
+ children: "Stack trace (development only)"
211
+ }), jsx("pre", {
212
+ className: "mt-2 overflow-auto rounded-md bg-gray-100 p-4 text-xs text-gray-800 max-h-96",
213
+ style: {
214
+ marginTop: '0.5rem',
215
+ overflow: 'auto',
216
+ borderRadius: '0.375rem',
217
+ backgroundColor: '#f3f4f6',
218
+ padding: '1rem',
219
+ fontSize: '0.75rem',
220
+ color: '#1f2937',
221
+ maxHeight: '24rem'
222
+ },
223
+ children: errorStack
224
+ })]
225
+ })]
226
+ }), jsx("div", {
227
+ className: "mt-6 text-center",
228
+ style: {
229
+ marginTop: '1.5rem',
230
+ textAlign: 'center'
231
+ },
232
+ children: jsx("button", {
233
+ onClick: handleGoHome,
234
+ className: "inline-flex items-center rounded-md bg-blue-600 px-4 py-2 text-sm font-medium text-white hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2 transition-colors",
235
+ style: buttonStyle,
236
+ children: "Go back home"
237
+ })
238
+ })]
239
+ })
240
+ });
216
241
  }export{RemixErrorBoundary};//# sourceMappingURL=RemixErrorBoundary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RemixErrorBoundary.js","sources":["../../../src/components/ErrorHandlers/RemixErrorBoundary.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;AAuDG,EAAA,UAAA,EAAA;AACH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"RemixErrorBoundary.js","sources":["../../../src/components/ErrorHandlers/RemixErrorBoundary.tsx"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAuDG,EAAA,eAAA,EAAA,SAAA;AACH,EAAA,OAAA,EAAA,WAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  /**
3
2
  * SPA/Tauri Root ErrorBoundary Component
4
3
  *
@@ -17,5 +16,5 @@ import * as React from 'react';
17
16
  * Usage in root.tsx:
18
17
  * export { SPAErrorBoundary as ErrorBoundary } from '@admin-layout/tailwind-ui';
19
18
  */
20
- export declare function SPAErrorBoundary(): React.JSX.Element;
19
+ export declare function SPAErrorBoundary(): import("react/jsx-runtime").JSX.Element;
21
20
  //# sourceMappingURL=SPAErrorBoundary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SPAErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/SPAErrorBoundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AA6C/B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,sBA8M/B"}
1
+ {"version":3,"file":"SPAErrorBoundary.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorHandlers/SPAErrorBoundary.tsx"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,gBAAgB,4CA8M/B"}