@object-ui/components 0.3.0 → 0.3.1

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 (317) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/ISSUES_FOUND.md +128 -0
  3. package/README.md +19 -1
  4. package/README_SHADCN_SYNC.md +281 -0
  5. package/TESTING.md +335 -0
  6. package/dist/index.css +1 -1
  7. package/dist/index.js +30981 -30027
  8. package/dist/index.umd.cjs +30 -39
  9. package/dist/src/hooks/use-mobile.d.ts +7 -0
  10. package/dist/src/index.d.ts +4 -1
  11. package/dist/src/renderers/basic/button-group.d.ts +8 -0
  12. package/dist/src/renderers/basic/div.d.ts +7 -0
  13. package/dist/src/renderers/basic/html.d.ts +7 -0
  14. package/dist/src/renderers/basic/icon.d.ts +7 -0
  15. package/dist/src/renderers/basic/image.d.ts +7 -0
  16. package/dist/src/renderers/basic/navigation-menu.d.ts +8 -0
  17. package/dist/src/renderers/basic/pagination.d.ts +8 -0
  18. package/dist/src/renderers/basic/separator.d.ts +7 -0
  19. package/dist/src/renderers/basic/span.d.ts +7 -0
  20. package/dist/src/renderers/basic/text.d.ts +7 -0
  21. package/dist/src/renderers/complex/carousel.d.ts +7 -0
  22. package/dist/src/renderers/complex/data-table.d.ts +7 -0
  23. package/dist/src/renderers/complex/filter-builder.d.ts +7 -0
  24. package/dist/src/renderers/complex/resizable.d.ts +7 -0
  25. package/dist/src/renderers/complex/scroll-area.d.ts +7 -0
  26. package/dist/src/renderers/complex/table.d.ts +7 -0
  27. package/dist/src/renderers/data-display/alert.d.ts +7 -0
  28. package/dist/src/renderers/data-display/avatar.d.ts +7 -0
  29. package/dist/src/renderers/data-display/badge.d.ts +7 -0
  30. package/dist/src/renderers/data-display/breadcrumb.d.ts +8 -0
  31. package/dist/src/renderers/data-display/kbd.d.ts +8 -0
  32. package/dist/src/renderers/data-display/list.d.ts +7 -0
  33. package/dist/src/renderers/data-display/statistic.d.ts +7 -0
  34. package/dist/src/renderers/data-display/table.d.ts +8 -0
  35. package/dist/src/renderers/data-display/tree-view.d.ts +7 -0
  36. package/dist/src/renderers/disclosure/accordion.d.ts +7 -0
  37. package/dist/src/renderers/disclosure/collapsible.d.ts +7 -0
  38. package/dist/src/renderers/disclosure/toggle-group.d.ts +8 -0
  39. package/dist/src/renderers/feedback/empty.d.ts +8 -0
  40. package/dist/src/renderers/feedback/loading.d.ts +7 -0
  41. package/dist/src/renderers/feedback/progress.d.ts +7 -0
  42. package/dist/src/renderers/feedback/skeleton.d.ts +7 -0
  43. package/dist/src/renderers/feedback/sonner.d.ts +8 -0
  44. package/dist/src/renderers/feedback/spinner.d.ts +8 -0
  45. package/dist/src/renderers/feedback/toast.d.ts +8 -0
  46. package/dist/src/renderers/feedback/toaster.d.ts +7 -0
  47. package/dist/src/renderers/form/button.d.ts +7 -0
  48. package/dist/src/renderers/form/calendar.d.ts +7 -0
  49. package/dist/src/renderers/form/checkbox.d.ts +7 -0
  50. package/dist/src/renderers/form/combobox.d.ts +8 -0
  51. package/dist/src/renderers/form/command.d.ts +8 -0
  52. package/dist/src/renderers/form/date-picker.d.ts +7 -0
  53. package/dist/src/renderers/form/file-upload.d.ts +7 -0
  54. package/dist/src/renderers/form/form.d.ts +7 -0
  55. package/dist/src/renderers/form/input-otp.d.ts +7 -0
  56. package/dist/src/renderers/form/input.d.ts +7 -0
  57. package/dist/src/renderers/form/label.d.ts +7 -0
  58. package/dist/src/renderers/form/radio-group.d.ts +7 -0
  59. package/dist/src/renderers/form/select.d.ts +7 -0
  60. package/dist/src/renderers/form/slider.d.ts +7 -0
  61. package/dist/src/renderers/form/switch.d.ts +7 -0
  62. package/dist/src/renderers/form/textarea.d.ts +7 -0
  63. package/dist/src/renderers/form/toggle.d.ts +7 -0
  64. package/dist/src/renderers/layout/aspect-ratio.d.ts +8 -0
  65. package/dist/src/renderers/layout/card.d.ts +7 -0
  66. package/dist/src/renderers/layout/container.d.ts +7 -0
  67. package/dist/src/renderers/layout/flex.d.ts +7 -0
  68. package/dist/src/renderers/layout/grid.d.ts +7 -0
  69. package/dist/src/renderers/layout/semantic.d.ts +7 -0
  70. package/dist/src/renderers/layout/stack.d.ts +7 -0
  71. package/dist/src/renderers/layout/tabs.d.ts +7 -0
  72. package/dist/src/renderers/navigation/header-bar.d.ts +7 -0
  73. package/dist/src/renderers/navigation/sidebar.d.ts +7 -0
  74. package/dist/src/renderers/overlay/alert-dialog.d.ts +7 -0
  75. package/dist/src/renderers/overlay/context-menu.d.ts +7 -0
  76. package/dist/src/renderers/overlay/dialog.d.ts +7 -0
  77. package/dist/src/renderers/overlay/drawer.d.ts +7 -0
  78. package/dist/src/renderers/overlay/dropdown-menu.d.ts +7 -0
  79. package/dist/src/renderers/overlay/hover-card.d.ts +7 -0
  80. package/dist/src/renderers/overlay/menubar.d.ts +8 -0
  81. package/dist/src/renderers/overlay/popover.d.ts +7 -0
  82. package/dist/src/renderers/overlay/sheet.d.ts +7 -0
  83. package/dist/src/renderers/overlay/tooltip.d.ts +7 -0
  84. package/dist/src/renderers/placeholders.d.ts +9 -0
  85. package/dist/src/ui/accordion.d.ts +7 -0
  86. package/dist/src/ui/alert-dialog.d.ts +7 -0
  87. package/dist/src/ui/alert.d.ts +7 -0
  88. package/dist/src/ui/aspect-ratio.d.ts +7 -0
  89. package/dist/src/ui/avatar.d.ts +7 -0
  90. package/dist/src/ui/badge.d.ts +7 -0
  91. package/dist/src/ui/breadcrumb.d.ts +7 -0
  92. package/dist/src/ui/button.d.ts +10 -5
  93. package/dist/src/ui/calendar.d.ts +14 -7
  94. package/dist/src/ui/card.d.ts +7 -0
  95. package/dist/src/ui/carousel.d.ts +7 -0
  96. package/dist/src/ui/checkbox.d.ts +7 -0
  97. package/dist/src/ui/collapsible.d.ts +7 -0
  98. package/dist/src/ui/combobox.d.ts +22 -0
  99. package/dist/src/ui/command.d.ts +7 -0
  100. package/dist/src/ui/context-menu.d.ts +7 -0
  101. package/dist/src/ui/date-picker.d.ts +15 -0
  102. package/dist/src/ui/dialog.d.ts +7 -0
  103. package/dist/src/ui/drawer.d.ts +7 -0
  104. package/dist/src/ui/dropdown-menu.d.ts +7 -0
  105. package/dist/src/ui/filter-builder.d.ts +7 -0
  106. package/dist/src/ui/form.d.ts +7 -0
  107. package/dist/src/ui/hover-card.d.ts +7 -0
  108. package/dist/src/ui/index.d.ts +10 -5
  109. package/dist/src/ui/input-otp.d.ts +7 -0
  110. package/dist/src/ui/input.d.ts +7 -0
  111. package/dist/src/ui/item.d.ts +7 -0
  112. package/dist/src/ui/kbd.d.ts +7 -0
  113. package/dist/src/ui/label.d.ts +7 -0
  114. package/dist/src/ui/menubar.d.ts +7 -0
  115. package/dist/src/ui/navigation-menu.d.ts +7 -0
  116. package/dist/src/ui/pagination.d.ts +7 -0
  117. package/dist/src/ui/popover.d.ts +7 -0
  118. package/dist/src/ui/progress.d.ts +7 -0
  119. package/dist/src/ui/radio-group.d.ts +7 -0
  120. package/dist/src/ui/resizable.d.ts +7 -0
  121. package/dist/src/ui/scroll-area.d.ts +7 -0
  122. package/dist/src/ui/select.d.ts +9 -2
  123. package/dist/src/ui/separator.d.ts +7 -0
  124. package/dist/src/ui/sheet.d.ts +7 -0
  125. package/dist/src/ui/sidebar.d.ts +14 -9
  126. package/dist/src/ui/skeleton.d.ts +7 -0
  127. package/dist/src/ui/slider.d.ts +7 -0
  128. package/dist/src/ui/spinner.d.ts +7 -0
  129. package/dist/src/ui/switch.d.ts +7 -0
  130. package/dist/src/ui/table.d.ts +15 -8
  131. package/dist/src/ui/tabs.d.ts +7 -0
  132. package/dist/src/ui/textarea.d.ts +7 -0
  133. package/dist/src/ui/toggle-group.d.ts +8 -3
  134. package/dist/src/ui/toggle.d.ts +7 -0
  135. package/dist/src/ui/tooltip.d.ts +7 -0
  136. package/metadata/ObjectGrid.component.yml +72 -0
  137. package/package.json +23 -11
  138. package/postcss.config.js +9 -1
  139. package/shadcn-components.json +310 -0
  140. package/src/__tests__/README.md +124 -0
  141. package/src/__tests__/basic-renderers.test.tsx +255 -0
  142. package/src/__tests__/complex-disclosure-renderers.test.tsx +301 -0
  143. package/src/__tests__/feedback-overlay-renderers.test.tsx +349 -0
  144. package/src/__tests__/form-renderers.test.tsx +364 -0
  145. package/src/__tests__/layout-data-renderers.test.tsx +340 -0
  146. package/src/__tests__/test-utils.tsx +190 -0
  147. package/src/hooks/use-mobile.tsx +8 -0
  148. package/src/index.css +86 -54
  149. package/src/index.test.ts +8 -0
  150. package/src/index.ts +21 -1
  151. package/src/lib/utils.tsx +8 -0
  152. package/src/new-components.test.ts +8 -9
  153. package/src/renderers/basic/button-group.tsx +78 -0
  154. package/src/renderers/basic/div.tsx +9 -1
  155. package/src/renderers/basic/html.tsx +8 -0
  156. package/src/renderers/basic/icon.tsx +66 -3
  157. package/src/renderers/basic/image.tsx +12 -1
  158. package/src/renderers/basic/index.ts +11 -0
  159. package/src/renderers/basic/navigation-menu.tsx +80 -0
  160. package/src/renderers/basic/pagination.tsx +82 -0
  161. package/src/renderers/basic/separator.tsx +9 -1
  162. package/src/renderers/basic/span.tsx +9 -1
  163. package/src/renderers/basic/text.tsx +8 -0
  164. package/src/renderers/complex/__tests__/data-table.test.ts +8 -0
  165. package/src/renderers/complex/carousel.tsx +11 -3
  166. package/src/renderers/complex/data-table.tsx +19 -4
  167. package/src/renderers/complex/filter-builder.tsx +8 -0
  168. package/src/renderers/complex/index.ts +9 -3
  169. package/src/renderers/complex/resizable.tsx +8 -0
  170. package/src/renderers/complex/scroll-area.tsx +8 -0
  171. package/src/renderers/complex/table.tsx +10 -2
  172. package/src/renderers/data-display/alert.tsx +8 -0
  173. package/src/renderers/data-display/avatar.tsx +8 -0
  174. package/src/renderers/data-display/badge.tsx +8 -0
  175. package/src/renderers/data-display/breadcrumb.tsx +59 -0
  176. package/src/renderers/data-display/index.ts +12 -0
  177. package/src/renderers/data-display/kbd.tsx +49 -0
  178. package/src/renderers/data-display/list.tsx +8 -0
  179. package/src/renderers/data-display/statistic.tsx +24 -43
  180. package/src/renderers/data-display/table.tsx +68 -0
  181. package/src/renderers/data-display/tree-view.tsx +26 -37
  182. package/src/renderers/disclosure/accordion.tsx +8 -0
  183. package/src/renderers/disclosure/collapsible.tsx +8 -0
  184. package/src/renderers/disclosure/index.ts +9 -0
  185. package/src/renderers/disclosure/toggle-group.tsx +77 -0
  186. package/src/renderers/feedback/empty.tsx +48 -0
  187. package/src/renderers/feedback/index.ts +12 -0
  188. package/src/renderers/feedback/loading.tsx +8 -0
  189. package/src/renderers/feedback/progress.tsx +8 -0
  190. package/src/renderers/feedback/skeleton.tsx +8 -0
  191. package/src/renderers/feedback/sonner.tsx +55 -0
  192. package/src/renderers/feedback/spinner.tsx +54 -0
  193. package/src/renderers/feedback/toast.tsx +58 -0
  194. package/src/renderers/feedback/toaster.tsx +13 -17
  195. package/src/renderers/form/button.tsx +8 -0
  196. package/src/renderers/form/calendar.tsx +8 -0
  197. package/src/renderers/form/checkbox.tsx +8 -0
  198. package/src/renderers/form/combobox.tsx +47 -0
  199. package/src/renderers/form/command.tsx +57 -0
  200. package/src/renderers/form/date-picker.tsx +10 -2
  201. package/src/renderers/form/file-upload.tsx +10 -2
  202. package/src/renderers/form/form.tsx +12 -3
  203. package/src/renderers/form/index.ts +10 -0
  204. package/src/renderers/form/input-otp.tsx +34 -15
  205. package/src/renderers/form/input.tsx +89 -50
  206. package/src/renderers/form/label.tsx +8 -0
  207. package/src/renderers/form/radio-group.tsx +8 -0
  208. package/src/renderers/form/select.tsx +8 -0
  209. package/src/renderers/form/slider.tsx +16 -1
  210. package/src/renderers/form/switch.tsx +8 -0
  211. package/src/renderers/form/textarea.tsx +8 -0
  212. package/src/renderers/form/toggle.tsx +8 -0
  213. package/src/renderers/index.ts +8 -0
  214. package/src/renderers/layout/aspect-ratio.tsx +50 -0
  215. package/src/renderers/layout/card.tsx +8 -0
  216. package/src/renderers/layout/container.tsx +20 -12
  217. package/src/renderers/layout/flex.tsx +16 -8
  218. package/src/renderers/layout/grid.tsx +8 -0
  219. package/src/renderers/layout/index.ts +9 -0
  220. package/src/renderers/layout/page.tsx +9 -1
  221. package/src/renderers/layout/semantic.tsx +8 -0
  222. package/src/renderers/layout/stack.tsx +16 -8
  223. package/src/renderers/layout/tabs.tsx +8 -0
  224. package/src/renderers/navigation/header-bar.tsx +9 -1
  225. package/src/renderers/navigation/index.ts +8 -0
  226. package/src/renderers/navigation/sidebar.tsx +8 -0
  227. package/src/renderers/overlay/alert-dialog.tsx +8 -0
  228. package/src/renderers/overlay/context-menu.tsx +9 -1
  229. package/src/renderers/overlay/dialog.tsx +8 -0
  230. package/src/renderers/overlay/drawer.tsx +8 -0
  231. package/src/renderers/overlay/dropdown-menu.tsx +8 -0
  232. package/src/renderers/overlay/hover-card.tsx +8 -0
  233. package/src/renderers/overlay/index.ts +9 -0
  234. package/src/renderers/overlay/menubar.tsx +75 -0
  235. package/src/renderers/overlay/popover.tsx +8 -0
  236. package/src/renderers/overlay/sheet.tsx +8 -0
  237. package/src/renderers/overlay/tooltip.tsx +8 -0
  238. package/src/renderers/placeholders.tsx +107 -0
  239. package/src/ui/accordion.tsx +8 -0
  240. package/src/ui/alert-dialog.tsx +8 -0
  241. package/src/ui/alert.tsx +14 -24
  242. package/src/ui/aspect-ratio.tsx +8 -0
  243. package/src/ui/avatar.tsx +8 -0
  244. package/src/ui/badge.tsx +13 -6
  245. package/src/ui/breadcrumb.tsx +8 -0
  246. package/src/ui/button-group.tsx +8 -0
  247. package/src/ui/button.tsx +38 -36
  248. package/src/ui/calendar.tsx +57 -200
  249. package/src/ui/card.tsx +8 -0
  250. package/src/ui/carousel.tsx +8 -0
  251. package/src/ui/checkbox.tsx +8 -0
  252. package/src/ui/collapsible.tsx +8 -0
  253. package/src/ui/combobox.tsx +104 -0
  254. package/src/ui/command.tsx +8 -0
  255. package/src/ui/context-menu.tsx +8 -0
  256. package/src/ui/date-picker.tsx +61 -0
  257. package/src/ui/dialog.tsx +8 -0
  258. package/src/ui/drawer.tsx +8 -0
  259. package/src/ui/dropdown-menu.tsx +8 -0
  260. package/src/ui/empty.tsx +8 -0
  261. package/src/ui/filter-builder.tsx +8 -0
  262. package/src/ui/form.tsx +8 -0
  263. package/src/ui/hover-card.tsx +8 -0
  264. package/src/ui/index.ts +11 -5
  265. package/src/ui/input-otp.tsx +20 -12
  266. package/src/ui/input.tsx +8 -0
  267. package/src/ui/item.tsx +8 -0
  268. package/src/ui/kbd.tsx +8 -0
  269. package/src/ui/label.tsx +8 -0
  270. package/src/ui/menubar.tsx +8 -0
  271. package/src/ui/navigation-menu.tsx +8 -0
  272. package/src/ui/pagination.tsx +8 -0
  273. package/src/ui/popover.tsx +9 -1
  274. package/src/ui/progress.tsx +11 -15
  275. package/src/ui/radio-group.tsx +8 -0
  276. package/src/ui/resizable.tsx +8 -0
  277. package/src/ui/scroll-area.tsx +9 -1
  278. package/src/ui/select.tsx +17 -9
  279. package/src/ui/separator.tsx +8 -0
  280. package/src/ui/sheet.tsx +8 -0
  281. package/src/ui/sidebar.tsx +34 -15
  282. package/src/ui/skeleton.tsx +8 -0
  283. package/src/ui/slider.tsx +8 -0
  284. package/src/ui/sonner.tsx +12 -20
  285. package/src/ui/spinner.tsx +11 -23
  286. package/src/ui/switch.tsx +8 -0
  287. package/src/ui/table.tsx +102 -97
  288. package/src/ui/tabs.tsx +8 -0
  289. package/src/ui/textarea.tsx +8 -0
  290. package/src/ui/toggle-group.tsx +12 -21
  291. package/src/ui/toggle.tsx +15 -12
  292. package/src/ui/tooltip.tsx +8 -0
  293. package/tsconfig.json +2 -1
  294. package/vite.config.ts +11 -1
  295. package/dist/src/index.test.d.ts +0 -1
  296. package/dist/src/new-components.test.d.ts +0 -1
  297. package/dist/src/renderers/complex/__tests__/data-table.test.d.ts +0 -0
  298. package/dist/src/renderers/complex/calendar-view.d.ts +0 -1
  299. package/dist/src/renderers/complex/chatbot.d.ts +0 -1
  300. package/dist/src/renderers/complex/chatbot.test.d.ts +0 -1
  301. package/dist/src/renderers/complex/timeline.d.ts +0 -1
  302. package/dist/src/ui/calendar-view.d.ts +0 -21
  303. package/dist/src/ui/chatbot.d.ts +0 -36
  304. package/dist/src/ui/field.d.ts +0 -24
  305. package/dist/src/ui/input-group.d.ts +0 -16
  306. package/dist/src/ui/timeline.d.ts +0 -25
  307. package/metadata/ObjectTable.component.yml +0 -41
  308. package/src/renderers/complex/calendar-view.tsx +0 -219
  309. package/src/renderers/complex/chatbot.test.ts +0 -44
  310. package/src/renderers/complex/chatbot.tsx +0 -185
  311. package/src/renderers/complex/timeline.tsx +0 -466
  312. package/src/ui/calendar-view.tsx +0 -503
  313. package/src/ui/chatbot.tsx +0 -240
  314. package/src/ui/field.tsx +0 -246
  315. package/src/ui/input-group.tsx +0 -170
  316. package/src/ui/timeline.tsx +0 -266
  317. package/tailwind.config.js +0 -75
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  "use client"
2
10
 
3
11
  import * as React from "react"
@@ -253,15 +261,15 @@ function Sidebar({
253
261
  )
254
262
  }
255
263
 
256
- function SidebarTrigger({
257
- className,
258
- onClick,
259
- ...props
260
- }: React.ComponentProps<typeof Button>) {
264
+ const SidebarTrigger = React.forwardRef<
265
+ HTMLButtonElement,
266
+ React.ComponentProps<typeof Button>
267
+ >(({ className, onClick, ...props }, ref) => {
261
268
  const { toggleSidebar } = useSidebar()
262
269
 
263
270
  return (
264
271
  <Button
272
+ ref={ref}
265
273
  data-sidebar="trigger"
266
274
  data-slot="sidebar-trigger"
267
275
  variant="ghost"
@@ -277,13 +285,18 @@ function SidebarTrigger({
277
285
  <span className="sr-only">Toggle Sidebar</span>
278
286
  </Button>
279
287
  )
280
- }
288
+ })
289
+ SidebarTrigger.displayName = "SidebarTrigger"
281
290
 
282
- function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
291
+ const SidebarRail = React.forwardRef<
292
+ HTMLButtonElement,
293
+ React.ComponentProps<"button">
294
+ >(({ className, ...props }, ref) => {
283
295
  const { toggleSidebar } = useSidebar()
284
296
 
285
297
  return (
286
298
  <button
299
+ ref={ref}
287
300
  data-sidebar="rail"
288
301
  data-slot="sidebar-rail"
289
302
  aria-label="Toggle Sidebar"
@@ -302,7 +315,8 @@ function SidebarRail({ className, ...props }: React.ComponentProps<"button">) {
302
315
  {...props}
303
316
  />
304
317
  )
305
- }
318
+ })
319
+ SidebarRail.displayName = "SidebarRail"
306
320
 
307
321
  function SidebarInset({ className, ...props }: React.ComponentProps<"main">) {
308
322
  return (
@@ -495,7 +509,14 @@ const sidebarMenuButtonVariants = cva(
495
509
  }
496
510
  )
497
511
 
498
- function SidebarMenuButton({
512
+ const SidebarMenuButton = React.forwardRef<
513
+ HTMLButtonElement,
514
+ React.ComponentProps<"button"> & {
515
+ asChild?: boolean
516
+ isActive?: boolean
517
+ tooltip?: string | React.ComponentProps<typeof TooltipContent>
518
+ } & VariantProps<typeof sidebarMenuButtonVariants>
519
+ >(({
499
520
  asChild = false,
500
521
  isActive = false,
501
522
  variant = "default",
@@ -503,16 +524,13 @@ function SidebarMenuButton({
503
524
  tooltip,
504
525
  className,
505
526
  ...props
506
- }: React.ComponentProps<"button"> & {
507
- asChild?: boolean
508
- isActive?: boolean
509
- tooltip?: string | React.ComponentProps<typeof TooltipContent>
510
- } & VariantProps<typeof sidebarMenuButtonVariants>) {
527
+ }, ref) => {
511
528
  const Comp = asChild ? Slot : "button"
512
529
  const { isMobile, state } = useSidebar()
513
530
 
514
531
  const button = (
515
532
  <Comp
533
+ ref={ref}
516
534
  data-slot="sidebar-menu-button"
517
535
  data-sidebar="menu-button"
518
536
  data-size={size}
@@ -543,7 +561,8 @@ function SidebarMenuButton({
543
561
  />
544
562
  </Tooltip>
545
563
  )
546
- }
564
+ })
565
+ SidebarMenuButton.displayName = "SidebarMenuButton"
547
566
 
548
567
  function SidebarMenuAction({
549
568
  className,
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { cn } from "../lib/utils"
2
10
 
3
11
  function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
package/src/ui/slider.tsx CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  "use client"
2
10
 
3
11
  import * as React from "react"
package/src/ui/sonner.tsx CHANGED
@@ -1,10 +1,11 @@
1
- import {
2
- CircleCheckIcon,
3
- InfoIcon,
4
- Loader2Icon,
5
- OctagonXIcon,
6
- TriangleAlertIcon,
7
- } from "lucide-react"
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
8
9
  import { useTheme } from "next-themes"
9
10
  import { Toaster as Sonner, type ToasterProps } from "sonner"
10
11
 
@@ -18,23 +19,14 @@ const Toaster = ({ ...props }: ToasterProps) => {
18
19
  toastOptions={{
19
20
  classNames: {
20
21
  toast:
21
- "group toast group-[.toaster]:bg-slate-950/90 group-[.toaster]:backdrop-blur-xl group-[.toaster]:text-cyan-100 group-[.toaster]:border-slate-800 group-[.toaster]:shadow-[0_0_30px_-10px_rgba(0,0,0,0.5)] transition-all duration-30 data-[type=success]:border-emerald-500/50 data-[type=success]:shadow-[0_0_20px_-5px_rgba(16,185,129,0.2)] data-[type=error]:border-red-500/50 data-[type=error]:shadow-[0_0_20px_-5px_rgba(239,68,68,0.2)] data-[type=info]:border-cyan-500/50 data-[type=info]:shadow-[0_0_20px_-5px_rgba(6,182,212,0.2)] data-[type=warning]:border-amber-500/50 data-[type=warning]:shadow-[0_0_20px_-5px_rgba(245,158,11,0.2)]",
22
- description: "group-[.toast]:text-slate-400 group-[.toast]:font-mono group-[.toast]:text-xs",
22
+ "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",
23
+ description: "group-[.toast]:text-muted-foreground",
23
24
  actionButton:
24
- "group-[.toast]:bg-cyan-600 group-[.toast]:text-white group-[.toast]:font-bold group-[.toast]:rounded-sm group-[.toast]:shadow-[0_0_10px_cyan]",
25
+ "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
25
26
  cancelButton:
26
- "group-[.toast]:bg-slate-800 group-[.toast]:text-slate-400 group-[.toast]:rounded-sm",
27
- title: "group-[.toast]:font-mono group-[.toast]:uppercase group-[.toast]:tracking-widest group-[.toast]:font-bold group-[.toast]:text-cyan-300 group-[.toast]:text-xs group-[.toast]:data-[type=error]:text-red-400 group-[.toast]:data-[type=success]:text-emerald-400",
28
- icon: "group-[.toast]:data-[type=success]:text-emerald-400 group-[.toast]:data-[type=error]:text-red-400 group-[.toast]:data-[type=info]:text-cyan-400 group-[.toast]:data-[type=warning]:text-amber-400",
27
+ "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground",
29
28
  },
30
29
  }}
31
- icons={{
32
- success: <CircleCheckIcon className="size-5 drop-shadow-[0_0_8px_rgba(16,185,129,0.5)]" />,
33
- info: <InfoIcon className="size-5 drop-shadow-[0_0_8px_rgba(6,182,212,0.5)]" />,
34
- warning: <TriangleAlertIcon className="size-5 drop-shadow-[0_0_8px_rgba(245,158,11,0.5)]" />,
35
- error: <OctagonXIcon className="size-5 drop-shadow-[0_0_8px_rgba(239,68,68,0.5)]" />,
36
- loading: <Loader2Icon className="size-5 animate-spin text-cyan-500" />,
37
- }}
38
30
  {...props}
39
31
  />
40
32
  )
@@ -1,36 +1,24 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import * as React from "react"
2
10
  import { cn } from "../lib/utils"
11
+ import { Loader2 } from "lucide-react"
3
12
 
4
13
  function Spinner({ className, ...props }: React.ComponentProps<"div">) {
5
14
  return (
6
15
  <div
7
16
  role="status"
8
17
  aria-label="Loading"
9
- className={cn("relative flex items-center justify-center shrink-0", className)}
18
+ className={cn("flex items-center justify-center", className)}
10
19
  {...props}
11
20
  >
12
- <div className="relative aspect-square h-full w-full min-w-[1em] min-h-[1em]">
13
- {/* Outer Atmosphere / Fire (Fast Spin) */}
14
- <div className="absolute inset-0 rounded-full border-[15%] border-transparent border-t-orange-500 border-r-red-600 animate-[spin_0.8s_linear_infinite] shadow-[0_0_15px_-4px_rgba(234,88,12,0.8)]"
15
- style={{ borderWidth: "2px" }}
16
- />
17
-
18
- {/* Turbulence Layer (Reverse Spin) */}
19
- <div className="absolute inset-[10%] rounded-full border-[15%] border-transparent border-b-yellow-400/80 border-l-orange-500/80 animate-[spin_1.5s_ease-in-out_infinite_reverse]"
20
- style={{ borderWidth: "2px" }}
21
- />
22
-
23
- {/* Core Planet (Internal) */}
24
- <div className="absolute inset-[25%] rounded-full overflow-hidden bg-slate-950 shadow-[inset_0_0_4px_rgba(0,0,0,0.8)]">
25
- {/* Molten Core Texture (Rotating) */}
26
- <div className="absolute top-[-50%] left-[-50%] w-[200%] h-[200%] animate-[spin_3s_linear_infinite]">
27
- <div className="w-full h-full bg-[conic-gradient(from_180deg,#1e293b_0deg,#0e7490_80deg,#7c3aed_160deg,#be123c_240deg,#ea580c_300deg,#1e293b_360deg)] opacity-90 blur-[1px]" />
28
- </div>
29
-
30
- {/* Surface Reflection & Shadow (Spherical look) */}
31
- <div className="absolute inset-0 bg-[radial-gradient(circle_at_30%_30%,rgba(255,255,255,0.4)_0%,transparent_50%,rgba(0,0,0,0.9)_100%)] z-10" />
32
- </div>
33
- </div>
21
+ <Loader2 className="animate-spin text-muted-foreground w-full h-full min-w-4 min-h-4" />
34
22
  </div>
35
23
  )
36
24
  }
package/src/ui/switch.tsx CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  "use client"
2
10
 
3
11
  import * as React from "react"
package/src/ui/table.tsx CHANGED
@@ -1,112 +1,117 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import * as React from "react"
2
10
 
3
11
  import { cn } from "../lib/utils"
4
12
 
5
- function Table({ className, ...props }: React.ComponentProps<"table">) {
6
- return (
7
- <div
8
- data-slot="table-container"
9
- className="relative w-full overflow-x-auto rounded-md border border-slate-800/60 bg-slate-950/40 backdrop-blur-sm shadow-[0_0_20px_-10px_rgba(6,182,212,0.1)]"
10
- >
11
- {/* Decorative lines */}
12
- <div className="absolute top-0 left-0 w-full h-[1px] bg-linear-to-r from-transparent via-cyan-500/50 to-transparent opacity-50" />
13
- <div className="absolute bottom-0 left-0 w-full h-[1px] bg-linear-to-r from-transparent via-cyan-500/50 to-transparent opacity-50" />
14
-
15
- <table
16
- data-slot="table"
17
- className={cn("w-full caption-bottom text-sm border-collapse", className)}
18
- {...props}
19
- />
20
- </div>
21
- )
22
- }
23
-
24
- function TableHeader({ className, ...props }: React.ComponentProps<"thead">) {
25
- return (
26
- <thead
27
- data-slot="table-header"
28
- className={cn("[&_tr]:border-b [&_tr]:border-slate-800", className)}
13
+ const Table = React.forwardRef<
14
+ HTMLTableElement,
15
+ React.HTMLAttributes<HTMLTableElement>
16
+ >(({ className, ...props }, ref) => (
17
+ <div className="relative w-full overflow-auto">
18
+ <table
19
+ ref={ref}
20
+ className={cn("w-full caption-bottom text-sm", className)}
29
21
  {...props}
30
22
  />
31
- )
32
- }
23
+ </div>
24
+ ))
25
+ Table.displayName = "Table"
33
26
 
34
- function TableBody({ className, ...props }: React.ComponentProps<"tbody">) {
35
- return (
36
- <tbody
37
- data-slot="table-body"
38
- className={cn("[&_tr:last-child]:border-0", className)}
39
- {...props}
40
- />
41
- )
42
- }
27
+ const TableHeader = React.forwardRef<
28
+ HTMLTableSectionElement,
29
+ React.HTMLAttributes<HTMLTableSectionElement>
30
+ >(({ className, ...props }, ref) => (
31
+ <thead ref={ref} className={cn("[&_tr]:border-b", className)} {...props} />
32
+ ))
33
+ TableHeader.displayName = "TableHeader"
43
34
 
44
- function TableFooter({ className, ...props }: React.ComponentProps<"tfoot">) {
45
- return (
46
- <tfoot
47
- data-slot="table-footer"
48
- className={cn(
49
- "bg-slate-900/80 border-t border-slate-800 font-medium [&>tr]:last:border-b-0 text-cyan-200",
50
- className
51
- )}
52
- {...props}
53
- />
54
- )
55
- }
35
+ const TableBody = React.forwardRef<
36
+ HTMLTableSectionElement,
37
+ React.HTMLAttributes<HTMLTableSectionElement>
38
+ >(({ className, ...props }, ref) => (
39
+ <tbody
40
+ ref={ref}
41
+ className={cn("[&_tr:last-child]:border-0", className)}
42
+ {...props}
43
+ />
44
+ ))
45
+ TableBody.displayName = "TableBody"
56
46
 
57
- function TableRow({ className, ...props }: React.ComponentProps<"tr">) {
58
- return (
59
- <tr
60
- data-slot="table-row"
61
- className={cn(
62
- "border-b border-slate-800/60 transition-colors duration-200",
63
- "hover:bg-cyan-950/20 hover:shadow-[inset_0_0_10px_-5px_cyan]",
64
- "data-[state=selected]:bg-cyan-950/40 data-[state=selected]:border-cyan-500/30",
65
- className
66
- )}
67
- {...props}
68
- />
69
- )
70
- }
47
+ const TableFooter = React.forwardRef<
48
+ HTMLTableSectionElement,
49
+ React.HTMLAttributes<HTMLTableSectionElement>
50
+ >(({ className, ...props }, ref) => (
51
+ <tfoot
52
+ ref={ref}
53
+ className={cn(
54
+ "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
55
+ className
56
+ )}
57
+ {...props}
58
+ />
59
+ ))
60
+ TableFooter.displayName = "TableFooter"
71
61
 
72
- function TableHead({ className, ...props }: React.ComponentProps<"th">) {
73
- return (
74
- <th
75
- data-slot="table-head"
76
- className={cn(
77
- "h-10 px-4 text-left align-middle font-mono text-xs font-bold uppercase tracking-widest text-cyan-500/80 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
78
- className
79
- )}
80
- {...props}
81
- />
82
- )
83
- }
62
+ const TableRow = React.forwardRef<
63
+ HTMLTableRowElement,
64
+ React.HTMLAttributes<HTMLTableRowElement>
65
+ >(({ className, ...props }, ref) => (
66
+ <tr
67
+ ref={ref}
68
+ className={cn(
69
+ "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
70
+ className
71
+ )}
72
+ {...props}
73
+ />
74
+ ))
75
+ TableRow.displayName = "TableRow"
84
76
 
85
- function TableCell({ className, ...props }: React.ComponentProps<"td">) {
86
- return (
87
- <td
88
- data-slot="table-cell"
89
- className={cn(
90
- "p-4 align-middle whitespace-nowrap text-slate-400 [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
91
- className
92
- )}
93
- {...props}
94
- />
95
- )
96
- }
77
+ const TableHead = React.forwardRef<
78
+ HTMLTableCellElement,
79
+ React.ThHTMLAttributes<HTMLTableCellElement>
80
+ >(({ className, ...props }, ref) => (
81
+ <th
82
+ ref={ref}
83
+ className={cn(
84
+ "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
85
+ className
86
+ )}
87
+ {...props}
88
+ />
89
+ ))
90
+ TableHead.displayName = "TableHead"
97
91
 
98
- function TableCaption({
99
- className,
100
- ...props
101
- }: React.ComponentProps<"caption">) {
102
- return (
103
- <caption
104
- data-slot="table-caption"
105
- className={cn("text-muted-foreground mt-4 text-sm", className)}
106
- {...props}
107
- />
108
- )
109
- }
92
+ const TableCell = React.forwardRef<
93
+ HTMLTableCellElement,
94
+ React.TdHTMLAttributes<HTMLTableCellElement>
95
+ >(({ className, ...props }, ref) => (
96
+ <td
97
+ ref={ref}
98
+ className={cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className)}
99
+ {...props}
100
+ />
101
+ ))
102
+ TableCell.displayName = "TableCell"
103
+
104
+ const TableCaption = React.forwardRef<
105
+ HTMLTableCaptionElement,
106
+ React.HTMLAttributes<HTMLTableCaptionElement>
107
+ >(({ className, ...props }, ref) => (
108
+ <caption
109
+ ref={ref}
110
+ className={cn("mt-4 text-sm text-muted-foreground", className)}
111
+ {...props}
112
+ />
113
+ ))
114
+ TableCaption.displayName = "TableCaption"
110
115
 
111
116
  export {
112
117
  Table,
package/src/ui/tabs.tsx CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  "use client"
2
10
 
3
11
  import * as React from "react"
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import * as React from "react"
2
10
 
3
11
  import { cn } from "../lib/utils"
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import * as React from "react"
2
10
  import * as ToggleGroupPrimitive from "@radix-ui/react-toggle-group"
3
11
  import { type VariantProps } from "class-variance-authority"
@@ -6,40 +14,32 @@ import { cn } from "../lib/utils"
6
14
  import { toggleVariants } from "./toggle"
7
15
 
8
16
  const ToggleGroupContext = React.createContext<
9
- VariantProps<typeof toggleVariants> & {
10
- spacing?: number
11
- }
17
+ VariantProps<typeof toggleVariants>
12
18
  >({
13
19
  size: "default",
14
20
  variant: "default",
15
- spacing: 0,
16
21
  })
17
22
 
18
23
  function ToggleGroup({
19
24
  className,
20
25
  variant,
21
26
  size,
22
- spacing = 0,
23
27
  children,
24
28
  ...props
25
29
  }: React.ComponentProps<typeof ToggleGroupPrimitive.Root> &
26
- VariantProps<typeof toggleVariants> & {
27
- spacing?: number
28
- }) {
30
+ VariantProps<typeof toggleVariants>) {
29
31
  return (
30
32
  <ToggleGroupPrimitive.Root
31
33
  data-slot="toggle-group"
32
34
  data-variant={variant}
33
35
  data-size={size}
34
- data-spacing={spacing}
35
- style={{ "--gap": spacing } as React.CSSProperties}
36
36
  className={cn(
37
- "group/toggle-group flex w-fit items-center gap-[--spacing(var(--gap))] rounded-md bg-slate-950/20 p-1 border border-slate-800/50 shadow-inner",
37
+ "flex justify-center flex-row gap-1 items-center",
38
38
  className
39
39
  )}
40
40
  {...props}
41
41
  >
42
- <ToggleGroupContext.Provider value={{ variant, size, spacing }}>
42
+ <ToggleGroupContext.Provider value={{ variant, size }}>
43
43
  {children}
44
44
  </ToggleGroupContext.Provider>
45
45
  </ToggleGroupPrimitive.Root>
@@ -61,20 +61,11 @@ function ToggleGroupItem({
61
61
  data-slot="toggle-group-item"
62
62
  data-variant={context.variant || variant}
63
63
  data-size={context.size || size}
64
- data-spacing={context.spacing}
65
64
  className={cn(
66
65
  toggleVariants({
67
66
  variant: context.variant || variant,
68
67
  size: context.size || size,
69
68
  }),
70
- "w-auto min-w-0 shrink-0 px-3 focus:z-10 focus-visible:z-10",
71
- // Force rounded-sm logic for group items when spacing is 0
72
- "data-[spacing=0]:rounded-none data-[spacing=0]:shadow-none data-[spacing=0]:first:rounded-l-sm data-[spacing=0]:last:rounded-r-sm",
73
- // Handle borders for connected items
74
- "data-[spacing=0]:data-[variant=outline]:border-l-0 data-[spacing=0]:data-[variant=outline]:first:border-l",
75
- // Add separating line for non-outline items if needed, or rely on gaps.
76
- // For Outline variant in Future Tech, we might want to keep them distinct or joined.
77
- // Current logic keeps them joined.
78
69
  className
79
70
  )}
80
71
  {...props}
package/src/ui/toggle.tsx CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import * as React from "react"
2
10
  import * as TogglePrimitive from "@radix-ui/react-toggle"
3
11
  import { cva, type VariantProps } from "class-variance-authority"
@@ -5,23 +13,18 @@ import { cva, type VariantProps } from "class-variance-authority"
5
13
  import { cn } from "../lib/utils"
6
14
 
7
15
  const toggleVariants = cva(
8
- "inline-flex items-center justify-center gap-2 rounded-sm text-sm font-medium transition-all duration-300 hover:text-cyan-400 focus-visible:ring-1 focus-visible:ring-cyan-400/50 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0 outline-none aria-invalid:ring-destructive/20 aria-invalid:border-destructive whitespace-nowrap",
16
+ "inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
9
17
  {
10
18
  variants: {
11
19
  variant: {
12
- default: [
13
- "bg-transparent hover:bg-cyan-950/20",
14
- "data-[state=on]:bg-cyan-950/40 data-[state=on]:text-cyan-300 data-[state=on]:border data-[state=on]:border-cyan-500/30 data-[state=on]:shadow-[0_0_12px_-3px_rgba(6,182,212,0.4)]",
15
- ],
16
- outline: [
17
- "border border-cyan-900/60 bg-transparent shadow-xs hover:bg-cyan-950/30 hover:text-cyan-300 hover:border-cyan-500/50",
18
- "data-[state=on]:bg-cyan-600 data-[state=on]:text-white data-[state=on]:border-cyan-400 data-[state=on]:shadow-[0_0_15px_rgba(6,182,212,0.6)]",
19
- ],
20
+ default: "bg-transparent",
21
+ outline:
22
+ "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground",
20
23
  },
21
24
  size: {
22
- default: "h-9 px-3 min-w-9",
23
- sm: "h-8 px-2 min-w-8 text-xs",
24
- lg: "h-10 px-3 min-w-10",
25
+ default: "h-9 px-2 min-w-9",
26
+ sm: "h-8 px-1.5 min-w-8",
27
+ lg: "h-10 px-2.5 min-w-10",
25
28
  },
26
29
  },
27
30
  defaultVariants: {
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  "use client"
2
10
 
3
11
  import * as React from "react"
package/tsconfig.json CHANGED
@@ -14,5 +14,6 @@
14
14
  "composite": true,
15
15
  "skipLibCheck": true
16
16
  },
17
- "include": ["src"]
17
+ "include": ["src"],
18
+ "exclude": ["src/__tests__", "**/*.test.ts", "**/*.test.tsx"]
18
19
  }
package/vite.config.ts CHANGED
@@ -1,3 +1,11 @@
1
+ /**
2
+ * ObjectUI
3
+ * Copyright (c) 2024-present ObjectStack Inc.
4
+ *
5
+ * This source code is licensed under the MIT license found in the
6
+ * LICENSE file in the root directory of this source tree.
7
+ */
8
+
1
9
  import { defineConfig } from 'vite';
2
10
  import react from '@vitejs/plugin-react';
3
11
  import dts from 'vite-plugin-dts';
@@ -23,11 +31,13 @@ export default defineConfig({
23
31
  fileName: 'index',
24
32
  },
25
33
  rollupOptions: {
26
- external: ['react', 'react-dom'],
34
+ external: ['react', 'react-dom', '@object-ui/core', '@object-ui/react', '@object-ui/types'],
27
35
  output: {
28
36
  globals: {
29
37
  react: 'React',
30
38
  'react-dom': 'ReactDOM',
39
+ '@object-ui/core': 'ObjectUICore',
40
+ '@object-ui/react': 'ObjectUIReact',
31
41
  },
32
42
  },
33
43
  },
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export {};