@object-ui/components 3.1.1 → 3.1.3

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 (80) hide show
  1. package/.turbo/turbo-build.log +34 -12
  2. package/CHANGELOG.md +16 -0
  3. package/dist/index.css +1 -1
  4. package/dist/index.js +42898 -35689
  5. package/dist/index.umd.cjs +73 -43
  6. package/dist/src/custom/mobile-dialog-content.d.ts +1 -1
  7. package/dist/src/ui/accordion.d.ts +1 -1
  8. package/dist/src/ui/alert-dialog.d.ts +1 -1
  9. package/dist/src/ui/aspect-ratio.d.ts +1 -8
  10. package/dist/src/ui/avatar.d.ts +1 -1
  11. package/dist/src/ui/chart.d.ts +21 -15
  12. package/dist/src/ui/checkbox.d.ts +1 -1
  13. package/dist/src/ui/collapsible.d.ts +1 -8
  14. package/dist/src/ui/command.d.ts +2 -2
  15. package/dist/src/ui/context-menu.d.ts +1 -1
  16. package/dist/src/ui/dialog.d.ts +1 -1
  17. package/dist/src/ui/drawer.d.ts +10 -6
  18. package/dist/src/ui/dropdown-menu.d.ts +1 -1
  19. package/dist/src/ui/form.d.ts +2 -2
  20. package/dist/src/ui/hover-card.d.ts +1 -1
  21. package/dist/src/ui/label.d.ts +1 -1
  22. package/dist/src/ui/menubar.d.ts +1 -1
  23. package/dist/src/ui/navigation-menu.d.ts +1 -1
  24. package/dist/src/ui/popover.d.ts +1 -1
  25. package/dist/src/ui/progress.d.ts +1 -1
  26. package/dist/src/ui/radio-group.d.ts +1 -1
  27. package/dist/src/ui/scroll-area.d.ts +1 -1
  28. package/dist/src/ui/select.d.ts +1 -1
  29. package/dist/src/ui/separator.d.ts +1 -1
  30. package/dist/src/ui/sheet.d.ts +1 -1
  31. package/dist/src/ui/sidebar.d.ts +4 -1
  32. package/dist/src/ui/slider.d.ts +1 -1
  33. package/dist/src/ui/switch.d.ts +1 -1
  34. package/dist/src/ui/tabs.d.ts +1 -1
  35. package/dist/src/ui/toast.d.ts +1 -1
  36. package/dist/src/ui/toggle-group.d.ts +1 -1
  37. package/dist/src/ui/toggle.d.ts +1 -1
  38. package/dist/src/ui/tooltip.d.ts +1 -1
  39. package/package.json +14 -40
  40. package/shadcn-components.json +179 -54
  41. package/src/__tests__/navigation-overlay.test.tsx +2 -2
  42. package/src/custom/button-group.tsx +2 -2
  43. package/src/custom/field.tsx +3 -3
  44. package/src/custom/item.tsx +2 -2
  45. package/src/custom/mobile-dialog-content.tsx +1 -1
  46. package/src/renderers/form/form.tsx +7 -0
  47. package/src/ui/accordion.tsx +1 -1
  48. package/src/ui/alert-dialog.tsx +1 -1
  49. package/src/ui/aspect-ratio.tsx +1 -1
  50. package/src/ui/avatar.tsx +1 -1
  51. package/src/ui/breadcrumb.tsx +2 -2
  52. package/src/ui/button.tsx +2 -2
  53. package/src/ui/checkbox.tsx +1 -1
  54. package/src/ui/collapsible.tsx +1 -1
  55. package/src/ui/command.tsx +2 -2
  56. package/src/ui/context-menu.tsx +3 -3
  57. package/src/ui/dialog.tsx +1 -1
  58. package/src/ui/drawer.tsx +13 -13
  59. package/src/ui/dropdown-menu.tsx +3 -3
  60. package/src/ui/form.tsx +5 -5
  61. package/src/ui/hover-card.tsx +2 -2
  62. package/src/ui/label.tsx +1 -1
  63. package/src/ui/menubar.tsx +3 -3
  64. package/src/ui/navigation-menu.tsx +1 -1
  65. package/src/ui/popover.tsx +2 -2
  66. package/src/ui/progress.tsx +1 -1
  67. package/src/ui/radio-group.tsx +1 -1
  68. package/src/ui/scroll-area.tsx +1 -1
  69. package/src/ui/select.tsx +2 -2
  70. package/src/ui/separator.tsx +1 -1
  71. package/src/ui/sheet.tsx +1 -1
  72. package/src/ui/sidebar.tsx +11 -8
  73. package/src/ui/slider.tsx +1 -1
  74. package/src/ui/switch.tsx +1 -1
  75. package/src/ui/tabs.tsx +1 -1
  76. package/src/ui/toast.tsx +1 -1
  77. package/src/ui/toggle-group.tsx +1 -1
  78. package/src/ui/toggle.tsx +1 -1
  79. package/src/ui/tooltip.tsx +2 -2
  80. package/src/__tests__/Registry.test.ts +0 -21
@@ -1,34 +1,56 @@
1
1
 
2
- > @object-ui/components@3.1.1 prebuild /home/runner/work/objectui/objectui/packages/components
2
+ > @object-ui/components@3.1.3 prebuild /home/runner/work/objectui/objectui/packages/components
3
3
  > pnpm --filter @object-ui/types build && pnpm --filter @object-ui/core build && pnpm --filter @object-ui/react build
4
4
 
5
5
 
6
- > @object-ui/types@3.1.1 build /home/runner/work/objectui/objectui/packages/types
6
+ > @object-ui/types@3.1.3 build /home/runner/work/objectui/objectui/packages/types
7
7
  > tsc
8
8
 
9
9
 
10
- > @object-ui/core@3.1.1 build /home/runner/work/objectui/objectui/packages/core
10
+ > @object-ui/core@3.1.3 build /home/runner/work/objectui/objectui/packages/core
11
11
  > tsc
12
12
 
13
13
 
14
- > @object-ui/react@3.1.1 build /home/runner/work/objectui/objectui/packages/react
14
+ > @object-ui/react@3.1.3 build /home/runner/work/objectui/objectui/packages/react
15
15
  > tsc
16
16
 
17
17
 
18
- > @object-ui/components@3.1.1 build /home/runner/work/objectui/objectui/packages/components
18
+ > @object-ui/components@3.1.3 build /home/runner/work/objectui/objectui/packages/components
19
19
  > vite build
20
20
 
21
21
  vite v7.3.1 building client environment for production...
22
22
  transforming...
23
- ✓ 3579 modules transformed.
23
+ ✓ 3605 modules transformed.
24
24
  rendering chunks...
25
25
  
26
26
  [vite:dts] Start generate declaration files...
27
+ src/ui/chart.tsx:117:7 - error TS2339: Property 'payload' does not exist on type 'Omit<Omit<Props<ValueType, NameType>, PropertiesReadFromContext> & { active?: boolean | undefined; allowEscapeViewBox?: AllowInDimension | undefined; ... 24 more ...; wrapperStyle?: CSSProperties | undefined; } & ClassAttributes<...> & HTMLAttributes<...> & { ...; }, "ref">'.
28
+
29
+ 117 payload,
30
+    ~~~~~~~
31
+ src/ui/chart.tsx:122:7 - error TS2339: Property 'label' does not exist on type 'Omit<Omit<Props<ValueType, NameType>, PropertiesReadFromContext> & { active?: boolean | undefined; allowEscapeViewBox?: AllowInDimension | undefined; ... 24 more ...; wrapperStyle?: CSSProperties | undefined; } & ClassAttributes<...> & HTMLAttributes<...> & { ...; }, "ref">'.
32
+
33
+ 122 label,
34
+    ~~~~~
35
+ src/ui/chart.tsx:264:41 - error TS2344: Type '"payload" | "verticalAlign"' does not satisfy the constraint '"string" | "filter" | "fill" | "values" | "className" | "color" | "slot" | "style" | "children" | "content" | "clipPath" | "mask" | "path" | "key" | "suppressHydrationWarning" | ... 435 more ... | "onBBoxUpdate"'.
36
+ Type '"payload"' is not assignable to type '"string" | "filter" | "fill" | "values" | "className" | "color" | "slot" | "style" | "children" | "content" | "clipPath" | "mask" | "path" | "key" | "suppressHydrationWarning" | ... 435 more ... | "onBBoxUpdate"'.
37
+
38
+ 264 Pick<RechartsPrimitive.LegendProps, "payload" | "verticalAlign"> & {
39
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
40
+ src/ui/chart.tsx:275:19 - error TS2339: Property 'length' does not exist on type '{}'.
41
+
42
+ 275 if (!payload?.length) {
43
+    ~~~~~~
44
+ src/ui/chart.tsx:289:12 - error TS2339: Property 'filter' does not exist on type '{}'.
45
+
46
+ 289 .filter((item) => item.type !== "none")
47
+    ~~~~~~
48
+
27
49
  computing gzip size...
28
- dist/index.css  116.35 kB │ gzip: 18.96 kB
29
- dist/index.js 1,933.68 kB │ gzip: 449.54 kB
30
- [vite:dts] Declaration files built in 7725ms.
50
+ dist/index.css  116.56 kB │ gzip: 18.99 kB
51
+ dist/index.js 2,171.58 kB │ gzip: 508.90 kB
52
+ [vite:dts] Declaration files built in 7792ms.
31
53
  
32
- dist/index.css  116.35 kB │ gzip: 18.96 kB
33
- dist/index.umd.cjs 1,387.84 kB │ gzip: 383.45 kB
34
- ✓ built in 16.11s
54
+ dist/index.css  116.56 kB │ gzip: 18.99 kB
55
+ dist/index.umd.cjs 1,552.75 kB │ gzip: 429.76 kB
56
+ ✓ built in 16.14s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @object-ui/components
2
2
 
3
+ ## 3.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@3.1.3
8
+ - @object-ui/core@3.1.3
9
+ - @object-ui/react@3.1.3
10
+
11
+ ## 3.1.2
12
+
13
+ ### Patch Changes
14
+
15
+ - @object-ui/types@3.1.2
16
+ - @object-ui/core@3.1.2
17
+ - @object-ui/react@3.1.2
18
+
3
19
  ## 3.1.1
4
20
 
5
21
  ### Patch Changes