@majapisoftwares/ui 4.3.16 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (482) hide show
  1. package/AGENTS.md +17 -0
  2. package/README.md +71 -0
  3. package/THIRD_PARTY_NOTICES.md +15 -0
  4. package/components.json +25 -0
  5. package/docs/MIGRATION-0.2.md +20 -0
  6. package/docs/NEXT-STARTER-VALIDATION.md +14 -0
  7. package/docs/STANDARDS.md +36 -0
  8. package/docs/VALIDATION.md +11 -0
  9. package/package.json +69 -2
  10. package/scripts/check-standards.mjs +39 -0
  11. package/src/components/ui/alert.tsx +77 -0
  12. package/src/components/ui/badge.tsx +55 -0
  13. package/src/components/ui/button.tsx +63 -0
  14. package/src/components/ui/empty.tsx +105 -0
  15. package/src/components/ui/field.tsx +238 -0
  16. package/src/components/ui/input.tsx +21 -0
  17. package/src/components/ui/label.tsx +19 -0
  18. package/src/components/ui/native-select.tsx +66 -0
  19. package/src/components/ui/separator.tsx +24 -0
  20. package/src/components/ui/sheet.tsx +137 -0
  21. package/src/components/ui/skeleton.tsx +15 -0
  22. package/src/components/ui/table.tsx +115 -0
  23. package/src/components/ui/tabs.tsx +81 -0
  24. package/src/lib/utils.ts +1 -0
  25. package/src/patterns/app-shell.tsx +70 -0
  26. package/src/patterns/data-table.tsx +225 -0
  27. package/src/patterns/details-sheet.tsx +51 -0
  28. package/src/patterns/page-header.tsx +40 -0
  29. package/src/patterns/status-badge.tsx +23 -0
  30. package/src/styles.css +465 -0
  31. package/src/templates/admin-dashboard.tsx +63 -0
  32. package/src/templates/auth-layout.tsx +36 -0
  33. package/src/templates/login-form.tsx +97 -0
  34. package/src/templates/signup-form.tsx +137 -0
  35. package/src/vite-env.d.ts +1 -0
  36. package/base.css +0 -360
  37. package/bootstrap/AppProps.d.ts +0 -9
  38. package/bootstrap/AppProps.js +0 -1
  39. package/bootstrap/index.d.ts +0 -1
  40. package/bootstrap/index.js +0 -1
  41. package/bootstrap/modeScript.d.ts +0 -2
  42. package/bootstrap/modeScript.js +0 -35
  43. package/bootstrap/nprogress.d.ts +0 -1
  44. package/bootstrap/nprogress.js +0 -19
  45. package/bootstrap/scrolledScript.d.ts +0 -2
  46. package/bootstrap/scrolledScript.js +0 -27
  47. package/bootstrap/setupFocusManager.d.ts +0 -1
  48. package/bootstrap/setupFocusManager.js +0 -13
  49. package/bootstrap/suppressConsoleLog.d.ts +0 -1
  50. package/bootstrap/suppressConsoleLog.js +0 -8
  51. package/components/Accordion/Accordion.d.ts +0 -16
  52. package/components/Accordion/Accordion.jsx +0 -27
  53. package/components/Accordion/index.d.ts +0 -3
  54. package/components/Accordion/index.jsx +0 -3
  55. package/components/Alert/Alert.d.ts +0 -31
  56. package/components/Alert/Alert.jsx +0 -53
  57. package/components/Alert/index.d.ts +0 -3
  58. package/components/Alert/index.jsx +0 -3
  59. package/components/AntiClickjacking/AntiClickjacking.d.ts +0 -1
  60. package/components/AntiClickjacking/AntiClickjacking.jsx +0 -17
  61. package/components/AntiClickjacking/index.d.ts +0 -2
  62. package/components/AntiClickjacking/index.jsx +0 -2
  63. package/components/Aurora/Aurora.d.ts +0 -10
  64. package/components/Aurora/Aurora.jsx +0 -189
  65. package/components/Aurora/index.d.ts +0 -3
  66. package/components/Aurora/index.jsx +0 -3
  67. package/components/Autocomplete/Autocomplete.d.ts +0 -7
  68. package/components/Autocomplete/Autocomplete.jsx +0 -23
  69. package/components/Autocomplete/UnstyledAutocomplete.d.ts +0 -36
  70. package/components/Autocomplete/UnstyledAutocomplete.jsx +0 -72
  71. package/components/Autocomplete/index.d.ts +0 -5
  72. package/components/Autocomplete/index.jsx +0 -5
  73. package/components/BackgroundEffects/BottomBlurryPoint.d.ts +0 -3
  74. package/components/BackgroundEffects/BottomBlurryPoint.jsx +0 -14
  75. package/components/BackgroundEffects/TopBlurryPoint.d.ts +0 -3
  76. package/components/BackgroundEffects/TopBlurryPoint.jsx +0 -14
  77. package/components/Badge/Badge.d.ts +0 -42
  78. package/components/Badge/Badge.jsx +0 -51
  79. package/components/Badge/index.d.ts +0 -3
  80. package/components/Badge/index.jsx +0 -3
  81. package/components/Breadcrumbs/Breadcrumbs.d.ts +0 -20
  82. package/components/Breadcrumbs/Breadcrumbs.jsx +0 -42
  83. package/components/Breadcrumbs/index.d.ts +0 -3
  84. package/components/Breadcrumbs/index.jsx +0 -3
  85. package/components/Button/Button.d.ts +0 -111
  86. package/components/Button/Button.jsx +0 -129
  87. package/components/Button/UnstyledButton.d.ts +0 -10
  88. package/components/Button/UnstyledButton.jsx +0 -13
  89. package/components/Button/index.d.ts +0 -3
  90. package/components/Button/index.jsx +0 -3
  91. package/components/Carousel/Carousel.d.ts +0 -19
  92. package/components/Carousel/Carousel.jsx +0 -55
  93. package/components/Carousel/index.d.ts +0 -3
  94. package/components/Carousel/index.jsx +0 -3
  95. package/components/Checkbox/Checkbox.d.ts +0 -14
  96. package/components/Checkbox/Checkbox.jsx +0 -45
  97. package/components/Checkbox/index.d.ts +0 -3
  98. package/components/Checkbox/index.js +0 -3
  99. package/components/Code/Code.d.ts +0 -12
  100. package/components/Code/Code.jsx +0 -25
  101. package/components/Code/Json.d.ts +0 -5
  102. package/components/Code/Json.jsx +0 -7
  103. package/components/Code/index.d.ts +0 -4
  104. package/components/Code/index.jsx +0 -4
  105. package/components/ConfirmationButton/ConfirmationButton.d.ts +0 -17
  106. package/components/ConfirmationButton/ConfirmationButton.jsx +0 -13
  107. package/components/ConfirmationButton/index.d.ts +0 -3
  108. package/components/ConfirmationButton/index.jsx +0 -3
  109. package/components/ContextMenu/ContextMenu.d.ts +0 -28
  110. package/components/ContextMenu/ContextMenu.jsx +0 -70
  111. package/components/ContextMenu/index.d.ts +0 -3
  112. package/components/ContextMenu/index.jsx +0 -3
  113. package/components/CopyButton/CopyButton.d.ts +0 -7
  114. package/components/CopyButton/CopyButton.jsx +0 -29
  115. package/components/CopyButton/index.d.ts +0 -3
  116. package/components/CopyButton/index.jsx +0 -3
  117. package/components/DateInput/DateInput.d.ts +0 -6
  118. package/components/DateInput/DateInput.jsx +0 -19
  119. package/components/DateInput/DateTimeInput.d.ts +0 -3
  120. package/components/DateInput/DateTimeInput.jsx +0 -8
  121. package/components/DateInput/index.d.ts +0 -4
  122. package/components/DateInput/index.jsx +0 -4
  123. package/components/DateInput/useRefValue.d.ts +0 -5
  124. package/components/DateInput/useRefValue.js +0 -48
  125. package/components/DatePicker/DatePicker.d.ts +0 -19
  126. package/components/DatePicker/DatePicker.jsx +0 -55
  127. package/components/DatePicker/index.d.ts +0 -3
  128. package/components/DatePicker/index.jsx +0 -3
  129. package/components/DateRangePicker/DateRangePicker.d.ts +0 -16
  130. package/components/DateRangePicker/DateRangePicker.jsx +0 -56
  131. package/components/DateRangePicker/index.d.ts +0 -3
  132. package/components/DateRangePicker/index.jsx +0 -3
  133. package/components/Dialog/Dialog.d.ts +0 -25
  134. package/components/Dialog/Dialog.jsx +0 -35
  135. package/components/Dialog/Dialogs.d.ts +0 -1
  136. package/components/Dialog/Dialogs.jsx +0 -21
  137. package/components/Dialog/dialogs.state.d.ts +0 -21
  138. package/components/Dialog/dialogs.state.js +0 -40
  139. package/components/Dialog/index.d.ts +0 -6
  140. package/components/Dialog/index.jsx +0 -7
  141. package/components/Drawer/Drawer.d.ts +0 -15
  142. package/components/Drawer/Drawer.jsx +0 -72
  143. package/components/Drawer/index.d.ts +0 -3
  144. package/components/Drawer/index.jsx +0 -3
  145. package/components/DropdownMenu/DropdownMenu.d.ts +0 -33
  146. package/components/DropdownMenu/DropdownMenu.jsx +0 -74
  147. package/components/DropdownMenu/index.d.ts +0 -3
  148. package/components/DropdownMenu/index.jsx +0 -3
  149. package/components/ErrorBoundary/ErrorBoundary.d.ts +0 -18
  150. package/components/ErrorBoundary/ErrorBoundary.jsx +0 -32
  151. package/components/ErrorBoundary/index.d.ts +0 -3
  152. package/components/ErrorBoundary/index.jsx +0 -3
  153. package/components/ErrorPage/Error404Page.d.ts +0 -1
  154. package/components/ErrorPage/Error404Page.jsx +0 -4
  155. package/components/ErrorPage/Error500Page.d.ts +0 -1
  156. package/components/ErrorPage/Error500Page.jsx +0 -4
  157. package/components/ErrorPage/ErrorPage.d.ts +0 -11
  158. package/components/ErrorPage/ErrorPage.jsx +0 -23
  159. package/components/FileInput/FileInput.d.ts +0 -53
  160. package/components/FileInput/FileInput.jsx +0 -141
  161. package/components/FileInput/PreviewFile.d.ts +0 -18
  162. package/components/FileInput/PreviewFile.jsx +0 -54
  163. package/components/FileInput/index.d.ts +0 -3
  164. package/components/FileInput/index.jsx +0 -3
  165. package/components/FileInput/isImage.d.ts +0 -1
  166. package/components/FileInput/isImage.js +0 -10
  167. package/components/FileInput/isVideo.d.ts +0 -1
  168. package/components/FileInput/isVideo.js +0 -10
  169. package/components/FileSelect/FileSelect.d.ts +0 -31
  170. package/components/FileSelect/FileSelect.jsx +0 -146
  171. package/components/FileSelect/index.d.ts +0 -3
  172. package/components/FileSelect/index.jsx +0 -3
  173. package/components/Footer/Footer.d.ts +0 -19
  174. package/components/Footer/Footer.jsx +0 -30
  175. package/components/Footer/index.d.ts +0 -3
  176. package/components/Footer/index.jsx +0 -3
  177. package/components/GridPattern/GridPattern.d.ts +0 -2
  178. package/components/GridPattern/GridPattern.jsx +0 -12
  179. package/components/GridPattern/index.d.ts +0 -3
  180. package/components/GridPattern/index.jsx +0 -3
  181. package/components/Group/Group.d.ts +0 -5
  182. package/components/Group/Group.jsx +0 -6
  183. package/components/Group/index.d.ts +0 -3
  184. package/components/Group/index.jsx +0 -3
  185. package/components/Header/Header.d.ts +0 -5
  186. package/components/Header/Header.jsx +0 -19
  187. package/components/Header/index.d.ts +0 -3
  188. package/components/Header/index.jsx +0 -3
  189. package/components/ImageInput/ImageInput.d.ts +0 -4
  190. package/components/ImageInput/ImageInput.jsx +0 -8
  191. package/components/ImageInput/index.d.ts +0 -3
  192. package/components/ImageInput/index.jsx +0 -3
  193. package/components/Input/Input.d.ts +0 -14
  194. package/components/Input/Input.jsx +0 -57
  195. package/components/Input/InputIcon.d.ts +0 -9
  196. package/components/Input/InputIcon.jsx +0 -7
  197. package/components/Input/MultiSelectInput.d.ts +0 -16
  198. package/components/Input/MultiSelectInput.jsx +0 -48
  199. package/components/Input/NumericInput.d.ts +0 -6
  200. package/components/Input/NumericInput.jsx +0 -6
  201. package/components/Input/PatternInput.d.ts +0 -6
  202. package/components/Input/PatternInput.jsx +0 -6
  203. package/components/Input/SelectInput.d.ts +0 -12
  204. package/components/Input/SelectInput.jsx +0 -25
  205. package/components/Input/UnstyledInput.d.ts +0 -22
  206. package/components/Input/UnstyledInput.jsx +0 -28
  207. package/components/Input/index.d.ts +0 -6
  208. package/components/Input/index.jsx +0 -6
  209. package/components/Input/useInputRefValue.d.ts +0 -11
  210. package/components/Input/useInputRefValue.jsx +0 -51
  211. package/components/Input2/InputWrapper.d.ts +0 -11
  212. package/components/Input2/InputWrapper.jsx +0 -11
  213. package/components/Link/Link.d.ts +0 -3
  214. package/components/Link/Link.jsx +0 -9
  215. package/components/Link/index.d.ts +0 -3
  216. package/components/Link/index.jsx +0 -3
  217. package/components/Loading/Loading.d.ts +0 -5
  218. package/components/Loading/Loading.jsx +0 -15
  219. package/components/Loading/index.d.ts +0 -3
  220. package/components/Loading/index.jsx +0 -3
  221. package/components/Magnet/Magnet.d.ts +0 -13
  222. package/components/Magnet/Magnet.jsx +0 -50
  223. package/components/Magnet/index.d.ts +0 -3
  224. package/components/Magnet/index.jsx +0 -3
  225. package/components/Markdown/Markdown.d.ts +0 -8
  226. package/components/Markdown/Markdown.jsx +0 -11
  227. package/components/Markdown/index.d.ts +0 -3
  228. package/components/Markdown/index.jsx +0 -3
  229. package/components/Menu/Menu.d.ts +0 -28
  230. package/components/Menu/Menu.jsx +0 -54
  231. package/components/Modal/Modal.d.ts +0 -45
  232. package/components/Modal/Modal.jsx +0 -65
  233. package/components/Modal/index.d.ts +0 -4
  234. package/components/Modal/index.jsx +0 -4
  235. package/components/Modal/useModalState.d.ts +0 -6
  236. package/components/Modal/useModalState.js +0 -16
  237. package/components/ModeToggle/ModeToggle.d.ts +0 -9
  238. package/components/ModeToggle/ModeToggle.jsx +0 -12
  239. package/components/ModeToggle/index.d.ts +0 -4
  240. package/components/ModeToggle/index.jsx +0 -5
  241. package/components/ModeToggle/useModeToggle.d.ts +0 -1
  242. package/components/ModeToggle/useModeToggle.js +0 -21
  243. package/components/MultiSelect/MultiSelect.d.ts +0 -28
  244. package/components/MultiSelect/MultiSelect.jsx +0 -116
  245. package/components/MultiSelect/MultiSelectInput.d.ts +0 -12
  246. package/components/MultiSelect/MultiSelectInput.jsx +0 -27
  247. package/components/MultiSelect/index.d.ts +0 -5
  248. package/components/MultiSelect/index.jsx +0 -5
  249. package/components/MultiText/MultiText.d.ts +0 -23
  250. package/components/MultiText/MultiText.jsx +0 -118
  251. package/components/MultiText/index.d.ts +0 -3
  252. package/components/MultiText/index.jsx +0 -3
  253. package/components/NavigationDrawer/NavigationDrawer.d.ts +0 -9
  254. package/components/NavigationDrawer/NavigationDrawer.jsx +0 -29
  255. package/components/NavigationDrawer/NavigationItem.d.ts +0 -13
  256. package/components/NavigationDrawer/NavigationItem.jsx +0 -24
  257. package/components/NavigationDrawer/index.d.ts +0 -6
  258. package/components/NavigationDrawer/index.jsx +0 -6
  259. package/components/NavigationDrawer/navigationDrawer.state.d.ts +0 -9
  260. package/components/NavigationDrawer/navigationDrawer.state.js +0 -19
  261. package/components/NoSsr/NoSsr.d.ts +0 -4
  262. package/components/NoSsr/NoSsr.jsx +0 -8
  263. package/components/NoSsr/index.d.ts +0 -3
  264. package/components/NoSsr/index.jsx +0 -3
  265. package/components/Noise/Noise.d.ts +0 -11
  266. package/components/Noise/Noise.jsx +0 -69
  267. package/components/Noise/index.d.ts +0 -3
  268. package/components/Noise/index.jsx +0 -3
  269. package/components/Notifications/Notifications.d.ts +0 -3
  270. package/components/Notifications/Notifications.jsx +0 -60
  271. package/components/Notifications/index.d.ts +0 -5
  272. package/components/Notifications/index.jsx +0 -6
  273. package/components/Notifications/notifications.state.d.ts +0 -24
  274. package/components/Notifications/notifications.state.js +0 -41
  275. package/components/Orb/Orb.d.ts +0 -8
  276. package/components/Orb/Orb.jsx +0 -258
  277. package/components/Orb/index.d.ts +0 -3
  278. package/components/Orb/index.jsx +0 -3
  279. package/components/Pagination/Pagination.d.ts +0 -13
  280. package/components/Pagination/Pagination.jsx +0 -64
  281. package/components/Pagination/index.d.ts +0 -3
  282. package/components/Pagination/index.jsx +0 -3
  283. package/components/Particles/Particles.d.ts +0 -18
  284. package/components/Particles/Particles.jsx +0 -205
  285. package/components/Particles/index.d.ts +0 -3
  286. package/components/Particles/index.jsx +0 -3
  287. package/components/PictureCropInput/PictureCropInput.d.ts +0 -20
  288. package/components/PictureCropInput/PictureCropInput.jsx +0 -174
  289. package/components/PictureCropInput/canvasPreview.d.ts +0 -2
  290. package/components/PictureCropInput/canvasPreview.js +0 -37
  291. package/components/PictureCropInput/index.d.ts +0 -3
  292. package/components/PictureCropInput/index.js +0 -3
  293. package/components/Popover/Popover.d.ts +0 -13
  294. package/components/Popover/Popover.jsx +0 -22
  295. package/components/Popover/index.d.ts +0 -3
  296. package/components/Popover/index.jsx +0 -3
  297. package/components/Resizable/Resizable.d.ts +0 -12
  298. package/components/Resizable/Resizable.jsx +0 -54
  299. package/components/Resizable/index.d.ts +0 -3
  300. package/components/Resizable/index.jsx +0 -3
  301. package/components/ScrollArea/ScrollArea.d.ts +0 -9
  302. package/components/ScrollArea/ScrollArea.jsx +0 -16
  303. package/components/ScrollArea/index.d.ts +0 -3
  304. package/components/ScrollArea/index.jsx +0 -3
  305. package/components/Select/Select.d.ts +0 -25
  306. package/components/Select/Select.jsx +0 -55
  307. package/components/Select/index.d.ts +0 -3
  308. package/components/Select/index.jsx +0 -3
  309. package/components/Skeleton/Skeleton.d.ts +0 -2
  310. package/components/Skeleton/Skeleton.jsx +0 -8
  311. package/components/Skeleton/index.d.ts +0 -3
  312. package/components/Skeleton/index.jsx +0 -3
  313. package/components/Slider/Slider.d.ts +0 -10
  314. package/components/Slider/Slider.jsx +0 -21
  315. package/components/Slider/index.d.ts +0 -3
  316. package/components/Slider/index.jsx +0 -3
  317. package/components/Spotlight/Spotlight.d.ts +0 -30
  318. package/components/Spotlight/Spotlight.jsx +0 -86
  319. package/components/Spotlight/index.d.ts +0 -3
  320. package/components/Spotlight/index.jsx +0 -3
  321. package/components/SpotlightCard/SpotlightCard.d.ts +0 -7
  322. package/components/SpotlightCard/SpotlightCard.jsx +0 -35
  323. package/components/SpotlightCard/index.d.ts +0 -3
  324. package/components/SpotlightCard/index.jsx +0 -3
  325. package/components/Stack/Stack.d.ts +0 -4
  326. package/components/Stack/Stack.jsx +0 -5
  327. package/components/Stack/index.d.ts +0 -3
  328. package/components/Stack/index.jsx +0 -3
  329. package/components/StarBorder/StarBorder.d.ts +0 -10
  330. package/components/StarBorder/StarBorder.jsx +0 -19
  331. package/components/StarBorder/index.d.ts +0 -3
  332. package/components/StarBorder/index.jsx +0 -3
  333. package/components/Switch/Switch.d.ts +0 -16
  334. package/components/Switch/Switch.jsx +0 -24
  335. package/components/Switch/index.d.ts +0 -3
  336. package/components/Switch/index.jsx +0 -3
  337. package/components/Table/DataTable.d.ts +0 -57
  338. package/components/Table/DataTable.jsx +0 -155
  339. package/components/Table/Table.d.ts +0 -27
  340. package/components/Table/Table.jsx +0 -31
  341. package/components/Table/TableActionButton.d.ts +0 -6
  342. package/components/Table/TableActionButton.jsx +0 -20
  343. package/components/Table/TableBody.d.ts +0 -6
  344. package/components/Table/TableBody.jsx +0 -10
  345. package/components/Table/TableCell.d.ts +0 -9
  346. package/components/Table/TableCell.jsx +0 -18
  347. package/components/Table/TableFooter.d.ts +0 -5
  348. package/components/Table/TableFooter.jsx +0 -5
  349. package/components/Table/TableFooterWithPagination.d.ts +0 -13
  350. package/components/Table/TableFooterWithPagination.jsx +0 -57
  351. package/components/Table/TableHead.d.ts +0 -5
  352. package/components/Table/TableHead.jsx +0 -9
  353. package/components/Table/TableHeadContext.d.ts +0 -4
  354. package/components/Table/TableHeadContext.jsx +0 -3
  355. package/components/Table/TableHeader.d.ts +0 -7
  356. package/components/Table/TableHeader.jsx +0 -15
  357. package/components/Table/TableRow.d.ts +0 -8
  358. package/components/Table/TableRow.jsx +0 -9
  359. package/components/Table/index.d.ts +0 -3
  360. package/components/Table/index.jsx +0 -3
  361. package/components/Tabs/Tabs.d.ts +0 -9
  362. package/components/Tabs/Tabs.jsx +0 -13
  363. package/components/Tabs/index.d.ts +0 -3
  364. package/components/Tabs/index.jsx +0 -3
  365. package/components/TabsSwitcher/Tab.d.ts +0 -15
  366. package/components/TabsSwitcher/Tab.jsx +0 -18
  367. package/components/TabsSwitcher/TabsSwitcher.d.ts +0 -22
  368. package/components/TabsSwitcher/TabsSwitcher.jsx +0 -31
  369. package/components/TabsSwitcher/index.d.ts +0 -4
  370. package/components/TabsSwitcher/index.jsx +0 -4
  371. package/components/Text/Text.d.ts +0 -24
  372. package/components/Text/Text.jsx +0 -29
  373. package/components/Text/index.d.ts +0 -3
  374. package/components/Text/index.jsx +0 -3
  375. package/components/Textarea/Textarea.d.ts +0 -5
  376. package/components/Textarea/Textarea.jsx +0 -6
  377. package/components/Textarea/index.d.ts +0 -3
  378. package/components/Textarea/index.js +0 -3
  379. package/components/Threads/Threads.d.ts +0 -9
  380. package/components/Threads/Threads.jsx +0 -203
  381. package/components/Threads/index.d.ts +0 -3
  382. package/components/Threads/index.jsx +0 -3
  383. package/components/Tooltip/Tooltip.d.ts +0 -11
  384. package/components/Tooltip/Tooltip.jsx +0 -21
  385. package/components/Tooltip/index.d.ts +0 -3
  386. package/components/Tooltip/index.jsx +0 -3
  387. package/components/VisibilityActivatedButton/VisibilityActivatedButton.d.ts +0 -7
  388. package/components/VisibilityActivatedButton/VisibilityActivatedButton.jsx +0 -18
  389. package/components/VisibilityActivatedButton/index.d.ts +0 -3
  390. package/components/VisibilityActivatedButton/index.jsx +0 -3
  391. package/form.d.ts +0 -82
  392. package/form.js +0 -113
  393. package/form2.d.ts +0 -15
  394. package/form2.jsx +0 -30
  395. package/hooks/useBeforeUnload.d.ts +0 -1
  396. package/hooks/useBeforeUnload.js +0 -17
  397. package/hooks/useDebounceEffect.d.ts +0 -2
  398. package/hooks/useDebounceEffect.js +0 -14
  399. package/hooks/useDebouncedValue.d.ts +0 -2
  400. package/hooks/useDebouncedValue.js +0 -14
  401. package/hooks/useLagRadar.d.ts +0 -1
  402. package/hooks/useLagRadar.jsx +0 -124
  403. package/hooks/useMediaQuery.d.ts +0 -1
  404. package/hooks/useMediaQuery.js +0 -37
  405. package/hooks/useMutationWindowCloseProtection.d.ts +0 -2
  406. package/hooks/useMutationWindowCloseProtection.js +0 -13
  407. package/hooks/useScroll.d.ts +0 -3
  408. package/hooks/useScroll.js +0 -47
  409. package/hooks/useTranslation.d.ts +0 -4
  410. package/hooks/useTranslation.js +0 -11
  411. package/hooks/useWhyDidYouUpdate.d.ts +0 -3
  412. package/hooks/useWhyDidYouUpdate.js +0 -44
  413. package/imgur.d.ts +0 -1
  414. package/imgur.js +0 -13
  415. package/styles/DayPicker.classNames.d.ts +0 -29
  416. package/styles/DayPicker.classNames.js +0 -30
  417. package/styles/DayPicker.classNames.ts +0 -81
  418. package/styles/Dropdown.classNames.d.ts +0 -6
  419. package/styles/Dropdown.classNames.js +0 -7
  420. package/styles/Dropdown.classNames.ts +0 -38
  421. package/styles/Input.css +0 -23
  422. package/styles/Modal.classNames.d.ts +0 -2
  423. package/styles/Modal.classNames.js +0 -3
  424. package/styles/Modal.classNames.ts +0 -15
  425. package/styles/MultiText.css +0 -40
  426. package/styles/Pagination.css +0 -19
  427. package/styles/Tabs.css +0 -23
  428. package/tsconfig.tsbuildinfo +0 -1
  429. package/types.d.ts +0 -6
  430. package/types.js +0 -1
  431. package/utils/UseState.d.ts +0 -2
  432. package/utils/UseState.js +0 -1
  433. package/utils/blobToText.d.ts +0 -1
  434. package/utils/blobToText.js +0 -13
  435. package/utils/capitalize.d.ts +0 -1
  436. package/utils/capitalize.js +0 -6
  437. package/utils/clsx.d.ts +0 -2
  438. package/utils/clsx.js +0 -5
  439. package/utils/copy2DToClipboard.d.ts +0 -1
  440. package/utils/copy2DToClipboard.js +0 -44
  441. package/utils/cpfCpnjUtils.d.ts +0 -3
  442. package/utils/cpfCpnjUtils.js +0 -43
  443. package/utils/createLocalStorageStateHydration.d.ts +0 -1
  444. package/utils/createLocalStorageStateHydration.js +0 -18
  445. package/utils/createStateHydration.d.ts +0 -3
  446. package/utils/createStateHydration.js +0 -49
  447. package/utils/csvBlobToJson.d.ts +0 -2
  448. package/utils/csvBlobToJson.js +0 -59
  449. package/utils/downloadArrayAsCSV.d.ts +0 -1
  450. package/utils/downloadArrayAsCSV.js +0 -34
  451. package/utils/emailRegExp.d.ts +0 -2
  452. package/utils/emailRegExp.js +0 -2
  453. package/utils/fakeArray.d.ts +0 -1
  454. package/utils/fakeArray.js +0 -3
  455. package/utils/filterBoolean.d.ts +0 -1
  456. package/utils/filterBoolean.js +0 -3
  457. package/utils/formatClock.d.ts +0 -1
  458. package/utils/formatClock.js +0 -21
  459. package/utils/getInitials.d.ts +0 -4
  460. package/utils/getInitials.js +0 -22
  461. package/utils/isBrowser.d.ts +0 -12
  462. package/utils/isBrowser.js +0 -26
  463. package/utils/ms.d.ts +0 -6
  464. package/utils/ms.js +0 -31
  465. package/utils/preventDefault.d.ts +0 -2
  466. package/utils/preventDefault.js +0 -3
  467. package/utils/recursiveChildrenMap.d.ts +0 -2
  468. package/utils/recursiveChildrenMap.js +0 -16
  469. package/utils/setSelectionRange.d.ts +0 -1
  470. package/utils/setSelectionRange.js +0 -55
  471. package/utils/smoothScrollToHref.d.ts +0 -2
  472. package/utils/smoothScrollToHref.js +0 -14
  473. package/utils/stopPropagation.d.ts +0 -2
  474. package/utils/stopPropagation.js +0 -3
  475. package/utils/stripHtml.d.ts +0 -1
  476. package/utils/stripHtml.js +0 -4
  477. package/utils/stripLineBreak.d.ts +0 -1
  478. package/utils/stripLineBreak.js +0 -4
  479. package/utils/stripMarkdown.d.ts +0 -1
  480. package/utils/stripMarkdown.js +0 -28
  481. package/utils/xlsxBlobToJson.d.ts +0 -2
  482. package/utils/xlsxBlobToJson.js +0 -62
package/imgur.js DELETED
@@ -1,13 +0,0 @@
1
- export default async function uploadToImgur(file) {
2
- const formData = new FormData();
3
- formData.append("image", file);
4
- const response = await fetch("https://api.imgur.com/3/image", {
5
- method: "post",
6
- headers: {
7
- Authorization: `Client-ID ${process.env.NEXT_PUBLIC_IMGUR_CLIENT_ID}`,
8
- },
9
- body: formData,
10
- });
11
- const data = (await response.json());
12
- return data.data.link;
13
- }
@@ -1,29 +0,0 @@
1
- export declare const dayPickerButtonClassName = "justify-start pl-4 min-h-[38px]";
2
- export declare const dayPickerCaptionClassName = "text-center h-9 flex items-center justify-center mx-9 capitalize mt-1";
3
- export declare const dayPickerNavButtonPreviousClassName = "left-2 top-2";
4
- export declare const dayPickerNavButtonNextClassName = "right-2 top-2";
5
- export declare const dayPickerNavButtonClassName: string;
6
- export declare const dayPickerHeadClassName = "text-xs dark:text-zinc-500";
7
- export declare const dayPickerHeadCellClassName = "font-normal";
8
- export declare const dayPickerDayClassName: string;
9
- export declare const dayPickerDayRangeStartClassName: string;
10
- export declare const dayPickerDaySelectedClassName: string;
11
- export declare const dayPickerDayRangeEndClassName: string;
12
- export declare const dayPickerTableClassName = "border-spacing-y-1 border-separate";
13
- export declare const dayPickerCellClassName: string;
14
- export declare const dayPickerDayOutsideClassName = "ui-date-picker-day-outside";
15
- export declare const dayPickerDayRangeMiddleClassName = "ui-date-picker-day-range-middle";
16
- export declare const dayPickerClassNames: {
17
- month_caption: string;
18
- button_previous: string;
19
- button_next: string;
20
- weekday: string;
21
- day_button: string;
22
- day: string;
23
- month_grid: string;
24
- range_start: string;
25
- selected: string;
26
- range_end: string;
27
- outside: string;
28
- range_middle: string;
29
- };
@@ -1,30 +0,0 @@
1
- import clsx from "../utils/clsx";
2
- export const dayPickerButtonClassName = "justify-start pl-4 min-h-[38px]";
3
- export const dayPickerCaptionClassName = "text-center h-9 flex items-center justify-center mx-9 capitalize mt-1";
4
- export const dayPickerNavButtonPreviousClassName = "left-2 top-2";
5
- export const dayPickerNavButtonNextClassName = "right-2 top-2";
6
- export const dayPickerNavButtonClassName = clsx("absolute border rounded-sm p-1.5 [&_svg]:w-3 [&_svg]:h-3 transition", "border-zinc-100 hover:bg-zinc-100 bg-white active:border-zinc-200", "dark:border-zinc-800 dark:hover:bg-zinc-800 dark:bg-zinc-900 dark:active:border-zinc-700 dark:fill-zinc-200", "disabled:opacity-50 disabled:cursor-not-allowed");
7
- export const dayPickerHeadClassName = "text-xs dark:text-zinc-500";
8
- export const dayPickerHeadCellClassName = "font-normal";
9
- export const dayPickerDayClassName = clsx("w-8 h-8 rounded-sm transition", "text-zinc-700 hover:bg-black/10", "dark:text-zinc-300 dark:hover:bg-white/10", "disabled:opacity-30 disabled:cursor-not-allowed", "dark:disabled:opacity-20");
10
- export const dayPickerDayRangeStartClassName = clsx("ui-date-picker-day-range-start", "text-on-primary! dark:text-on-primary!", "bg-primary-500 hover:bg-primary-500/50", "dark:bg-primary-600 dark:hover:bg-primary-600/50");
11
- export const dayPickerDaySelectedClassName = clsx("ui-date-picker-day-selected", "[&:not(.ui-date-picker-day-range-middle)_button]:text-on-primary! dark:[&:not(.ui-date-picker-day-range-middle)_button]:text-on-primary!", "[&:not(.ui-date-picker-day-range-middle)]:bg-primary-500 hover:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-500/50", "dark:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-600 dark:hover:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-600/50");
12
- export const dayPickerDayRangeEndClassName = clsx("ui-date-picker-day-range-end", "text-on-primary! dark:text-on-primary!", "bg-primary-500 hover:bg-primary-500/50", "dark:bg-primary-600 dark:hover:bg-primary-600/50");
13
- export const dayPickerTableClassName = "border-spacing-y-1 border-separate";
14
- export const dayPickerCellClassName = clsx("p-0 rounded-sm", "[&.ui-date-picker-day-outside]:opacity-40", "dark:[&.ui-date-picker-day-outside]:opacity-30", "[&.ui-date-picker-day-range-start]:rounded-l first:rounded-l", "[&.ui-date-picker-day-range-start]:bg-black/5", "dark:[&.ui-date-picker-day-range-start]:bg-white/10", "[&.ui-date-picker-day-range-middle]:bg-black/5", "dark:[&.ui-date-picker-day-range-middle]:bg-white/10", "[&.ui-date-picker-day-range-end]:rounded-r last:rounded-r", "[&.ui-date-picker-day-range-end]:bg-black/5", "dark:[&.ui-date-picker-day-range-end]:bg-white/10");
15
- export const dayPickerDayOutsideClassName = "ui-date-picker-day-outside";
16
- export const dayPickerDayRangeMiddleClassName = "ui-date-picker-day-range-middle";
17
- export const dayPickerClassNames = {
18
- month_caption: dayPickerCaptionClassName,
19
- button_previous: clsx(dayPickerNavButtonClassName, dayPickerNavButtonPreviousClassName),
20
- button_next: clsx(dayPickerNavButtonClassName, dayPickerNavButtonNextClassName),
21
- weekday: clsx(dayPickerHeadClassName, dayPickerHeadCellClassName),
22
- day_button: dayPickerDayClassName,
23
- day: dayPickerCellClassName,
24
- month_grid: dayPickerTableClassName,
25
- range_start: dayPickerDayRangeStartClassName,
26
- selected: dayPickerDaySelectedClassName,
27
- range_end: dayPickerDayRangeEndClassName,
28
- outside: dayPickerDayOutsideClassName,
29
- range_middle: dayPickerDayRangeMiddleClassName,
30
- };
@@ -1,81 +0,0 @@
1
- import clsx from "../utils/clsx";
2
-
3
- export const dayPickerButtonClassName = "justify-start pl-4 min-h-[38px]";
4
- export const dayPickerCaptionClassName =
5
- "text-center h-9 flex items-center justify-center mx-9 capitalize mt-1";
6
- export const dayPickerNavButtonPreviousClassName = "left-2 top-2";
7
- export const dayPickerNavButtonNextClassName = "right-2 top-2";
8
- export const dayPickerNavButtonClassName = clsx(
9
- "absolute border rounded-sm p-1.5 [&_svg]:w-3 [&_svg]:h-3 transition",
10
- "border-zinc-100 hover:bg-zinc-100 bg-white active:border-zinc-200",
11
- "dark:border-zinc-800 dark:hover:bg-zinc-800 dark:bg-zinc-900 dark:active:border-zinc-700 dark:fill-zinc-200",
12
- "disabled:opacity-50 disabled:cursor-not-allowed",
13
- );
14
- export const dayPickerHeadClassName = "text-xs dark:text-zinc-500";
15
- export const dayPickerHeadCellClassName = "font-normal";
16
- export const dayPickerDayClassName = clsx(
17
- "w-8 h-8 rounded-sm transition",
18
- "text-zinc-700 hover:bg-black/10",
19
- "dark:text-zinc-300 dark:hover:bg-white/10",
20
- "disabled:opacity-30 disabled:cursor-not-allowed",
21
- "dark:disabled:opacity-20",
22
- );
23
- export const dayPickerDayRangeStartClassName = clsx(
24
- "ui-date-picker-day-range-start",
25
- "text-on-primary! dark:text-on-primary!",
26
- "bg-primary-500 hover:bg-primary-500/50",
27
- "dark:bg-primary-600 dark:hover:bg-primary-600/50",
28
- );
29
- export const dayPickerDaySelectedClassName = clsx(
30
- "ui-date-picker-day-selected",
31
- "[&:not(.ui-date-picker-day-range-middle)_button]:text-on-primary! dark:[&:not(.ui-date-picker-day-range-middle)_button]:text-on-primary!",
32
- "[&:not(.ui-date-picker-day-range-middle)]:bg-primary-500 hover:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-500/50",
33
- "dark:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-600 dark:hover:[&:not(.ui-date-picker-day-range-middle)]:bg-primary-600/50",
34
- );
35
- export const dayPickerDayRangeEndClassName = clsx(
36
- "ui-date-picker-day-range-end",
37
- "text-on-primary! dark:text-on-primary!",
38
- "bg-primary-500 hover:bg-primary-500/50",
39
- "dark:bg-primary-600 dark:hover:bg-primary-600/50",
40
- );
41
- export const dayPickerTableClassName = "border-spacing-y-1 border-separate";
42
- export const dayPickerCellClassName = clsx(
43
- "p-0 rounded-sm",
44
- "[&.ui-date-picker-day-outside]:opacity-40",
45
- "dark:[&.ui-date-picker-day-outside]:opacity-30",
46
-
47
- "[&.ui-date-picker-day-range-start]:rounded-l first:rounded-l",
48
- "[&.ui-date-picker-day-range-start]:bg-black/5",
49
- "dark:[&.ui-date-picker-day-range-start]:bg-white/10",
50
-
51
- "[&.ui-date-picker-day-range-middle]:bg-black/5",
52
- "dark:[&.ui-date-picker-day-range-middle]:bg-white/10",
53
-
54
- "[&.ui-date-picker-day-range-end]:rounded-r last:rounded-r",
55
- "[&.ui-date-picker-day-range-end]:bg-black/5",
56
- "dark:[&.ui-date-picker-day-range-end]:bg-white/10",
57
- );
58
- export const dayPickerDayOutsideClassName = "ui-date-picker-day-outside";
59
- export const dayPickerDayRangeMiddleClassName =
60
- "ui-date-picker-day-range-middle";
61
-
62
- export const dayPickerClassNames = {
63
- month_caption: dayPickerCaptionClassName,
64
- button_previous: clsx(
65
- dayPickerNavButtonClassName,
66
- dayPickerNavButtonPreviousClassName,
67
- ),
68
- button_next: clsx(
69
- dayPickerNavButtonClassName,
70
- dayPickerNavButtonNextClassName,
71
- ),
72
- weekday: clsx(dayPickerHeadClassName, dayPickerHeadCellClassName),
73
- day_button: dayPickerDayClassName,
74
- day: dayPickerCellClassName,
75
- month_grid: dayPickerTableClassName,
76
- range_start: dayPickerDayRangeStartClassName,
77
- selected: dayPickerDaySelectedClassName,
78
- range_end: dayPickerDayRangeEndClassName,
79
- outside: dayPickerDayOutsideClassName,
80
- range_middle: dayPickerDayRangeMiddleClassName,
81
- };
@@ -1,6 +0,0 @@
1
- export declare const dropdownSeparatorClassName: string;
2
- export declare const dropdownItemClassName: string;
3
- export declare const dropdownSubTriggerClassName: string;
4
- export declare const dropdownLabelClassName: string;
5
- export declare const dropdownCheckboxItemClassName: string;
6
- export declare const dropdownItemIndicatorClassName: string;
@@ -1,7 +0,0 @@
1
- import clsx from "../utils/clsx";
2
- export const dropdownSeparatorClassName = clsx("ui-dropdown-separator", "h-px my-1 mx-[6px]", "bg-zinc-100", "dark:bg-zinc-700/30");
3
- export const dropdownItemClassName = clsx("ui-dropdown-item", "relative rounded-sm py-1 px-7 cursor-pointer outline-hidden select-none flex items-center gap-2", "data-highlighted:bg-black/5", "dark:data-highlighted:bg-white/5", "data-disabled:cursor-default data-disabled:opacity-50");
4
- export const dropdownSubTriggerClassName = clsx(dropdownItemClassName, "data-[state=open]:bg-black/[0.025] data-[state=open]:data-highlighted:bg-black/5 dark:data-[state=open]:data-highlighted:bg-white/5", "dark:data-[state=open]:bg-white/[0.025]");
5
- export const dropdownLabelClassName = clsx("ui-dropdown-label", "py-1 px-7 text-xs font-medium cursor-default text-zinc-500 outline-hidden");
6
- export const dropdownCheckboxItemClassName = clsx("ui-dropdown-checkbox-item", dropdownItemClassName);
7
- export const dropdownItemIndicatorClassName = clsx("ui-dropdown-item-indicator", "absolute left-1.5 top-1.5 inline-flex items-center justify-center", "[&>svg]:w-4 [&>svg]:h-4");
@@ -1,38 +0,0 @@
1
- import clsx from "../utils/clsx";
2
-
3
- export const dropdownSeparatorClassName = clsx(
4
- "ui-dropdown-separator",
5
- "h-px my-1 mx-[6px]",
6
- "bg-zinc-100",
7
- "dark:bg-zinc-700/30",
8
- );
9
-
10
- export const dropdownItemClassName = clsx(
11
- "ui-dropdown-item",
12
- "relative rounded-sm py-1 px-7 cursor-pointer outline-hidden select-none flex items-center gap-2",
13
- "data-highlighted:bg-black/5",
14
- "dark:data-highlighted:bg-white/5",
15
- "data-disabled:cursor-default data-disabled:opacity-50",
16
- );
17
-
18
- export const dropdownSubTriggerClassName = clsx(
19
- dropdownItemClassName,
20
- "data-[state=open]:bg-black/[0.025] data-[state=open]:data-highlighted:bg-black/5 dark:data-[state=open]:data-highlighted:bg-white/5",
21
- "dark:data-[state=open]:bg-white/[0.025]",
22
- );
23
-
24
- export const dropdownLabelClassName = clsx(
25
- "ui-dropdown-label",
26
- "py-1 px-7 text-xs font-medium cursor-default text-zinc-500 outline-hidden",
27
- );
28
-
29
- export const dropdownCheckboxItemClassName = clsx(
30
- "ui-dropdown-checkbox-item",
31
- dropdownItemClassName,
32
- );
33
-
34
- export const dropdownItemIndicatorClassName = clsx(
35
- "ui-dropdown-item-indicator",
36
- "absolute left-1.5 top-1.5 inline-flex items-center justify-center",
37
- "[&>svg]:w-4 [&>svg]:h-4",
38
- );
package/styles/Input.css DELETED
@@ -1,23 +0,0 @@
1
- .ui-theme-default .ui-input-wrapper {
2
- @apply flex flex-col gap-1
3
- }
4
-
5
- .ui-theme-default .ui-input-wrapper-label {
6
- @apply font-medium
7
- text-zinc-800
8
- dark:text-zinc-100
9
- }
10
-
11
- .ui-theme-default .ui-input-wrapper-help-text {
12
- @apply text-sm
13
- text-zinc-500
14
- dark:text-zinc-400
15
- }
16
-
17
- .ui-theme-default .ui-input-wrapper[data-error] .ui-input-wrapper-label {
18
- @apply text-error-500
19
- }
20
-
21
- .ui-theme-default .ui-input-wrapper[data-error] .ui-input-wrapper-help-text {
22
- @apply text-error-500
23
- }
@@ -1,2 +0,0 @@
1
- export declare const modalContentClassName: string;
2
- export declare const modalArrowClassName: string;
@@ -1,3 +0,0 @@
1
- import clsx from "../utils/clsx";
2
- export const modalContentClassName = clsx("ui-modal-content", "z-20 rounded-sm p-1 shadow-md text-sm ring-1", "bg-white shadow-black/5 ring-black/5", "dark:bg-zinc-900 dark:ring-white/10", "will-change-[transform,opacity] data-[state=open]:animate-elastic-slide-up-and-fade data-[state=closed]:animate-fade-out");
3
- export const modalArrowClassName = clsx("ui-modal-arrow", "fill-zinc-100", "dark:fill-zinc-800");
@@ -1,15 +0,0 @@
1
- import clsx from "../utils/clsx";
2
-
3
- export const modalContentClassName = clsx(
4
- "ui-modal-content",
5
- "z-20 rounded-sm p-1 shadow-md text-sm ring-1",
6
- "bg-white shadow-black/5 ring-black/5",
7
- "dark:bg-zinc-900 dark:ring-white/10",
8
- "will-change-[transform,opacity] data-[state=open]:animate-elastic-slide-up-and-fade data-[state=closed]:animate-fade-out",
9
- );
10
-
11
- export const modalArrowClassName = clsx(
12
- "ui-modal-arrow",
13
- "fill-zinc-100",
14
- "dark:fill-zinc-800",
15
- );
@@ -1,40 +0,0 @@
1
- .ui-theme-default .ui-multi-text {
2
- @apply border rounded-md flex flex-wrap gap-1 items-center px-2.5 py-0.5 shadow-xs transition-all
3
- border-zinc-300 bg-white
4
- dark:border-zinc-700 dark:bg-zinc-800
5
- data-readonly:border-dashed
6
- data-loading:animate-pulse;
7
- }
8
-
9
- .ui-theme-default .ui-multi-text[data-error],
10
- .ui-theme-default .ui-multi-text[data-error][data-focused] {
11
- @apply border-error-500 ring-error-500;
12
- }
13
-
14
- .ui-theme-default .ui-multi-text[data-focused] {
15
- @apply border-primary-500 ring-primary-500 ring-1;
16
- }
17
-
18
- .ui-theme-default .ui-multi-text-input {
19
- @apply border-none bg-transparent p-0 grow focus:ring-0 py-1;
20
- }
21
-
22
- .ui-theme-default .ui-multi-text-item {
23
- @apply rounded-sm flex items-center px-2 py-1 gap-2 max-w-full
24
- bg-zinc-200
25
- dark:bg-zinc-700;
26
- }
27
-
28
- .ui-theme-default .ui-multi-text-item-content {
29
- @apply truncate;
30
- }
31
-
32
- .ui-theme-default .ui-multi-text-delete-icon {
33
- @apply w-4 h-4;
34
- }
35
-
36
- .ui-theme-default .ui-multi-text-delete-button {
37
- @apply rounded-sm
38
- hover:bg-black/10
39
- dark:hover:bg-white/10;
40
- }
@@ -1,19 +0,0 @@
1
- .ui-theme-default .ui-pagination {
2
- @apply flex
3
- }
4
-
5
- .ui-theme-default .ui-pagination > * {
6
- @apply min-w-[32px] h-8 rounded-sm items-center justify-center flex px-2 text-sm font-medium
7
- hover:bg-black/5
8
- dark:hover:bg-white/5
9
-
10
- disabled:pointer-events-none disabled:opacity-50
11
-
12
- data-active:bg-primary-500 data-active:text-white
13
- data-active:hover:bg-primary-600
14
- dark:data-active:hover:bg-primary-400
15
- }
16
-
17
- .ui-theme-default .ui-pagination > * > svg {
18
- @apply -mx-2
19
- }
package/styles/Tabs.css DELETED
@@ -1,23 +0,0 @@
1
- .ui-theme-default .ui-tabs {
2
- @apply flex gap-0.5 p-1 rounded-sm
3
- bg-zinc-200/50
4
- dark:bg-zinc-800/50
5
- }
6
-
7
- .ui-theme-default .ui-tabs-tab {
8
- @apply text-sm px-2.5 py-1.5 transition rounded-sm font-medium
9
- text-zinc-900/70 hover:bg-zinc-900/10 active:bg-zinc-900/20 border-transparent
10
- dark:text-zinc-100/70 dark:hover:bg-zinc-100/10 dark:active:bg-zinc-100/20
11
- }
12
-
13
- .ui-theme-default .ui-tabs-tab[data-selected] {
14
- @apply relative
15
- text-black
16
- dark:text-white
17
- }
18
-
19
- .ui-tabs-indicator {
20
- @apply block h-0.5 -bottom-1 left-0 right-0 absolute transition
21
- bg-zinc-900/80
22
- dark:bg-zinc-100/80
23
- }