@object-ui/plugin-charts 0.3.0 → 0.5.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.
@@ -0,0 +1,20 @@
1
+
2
+ > @object-ui/plugin-charts@0.5.0 build /home/runner/work/objectui/objectui/packages/plugin-charts
3
+ > vite build
4
+
5
+ vite v7.3.1 building client environment for production...
6
+ transforming...
7
+ ✓ 659 modules transformed.
8
+ rendering chunks...
9
+ 
10
+ [vite:dts] Start generate declaration files...
11
+ computing gzip size...
12
+ [vite:dts] Declaration files built in 23214ms.
13
+ 
14
+ dist/index.js  0.20 kB │ gzip: 0.16 kB
15
+ dist/ChartImpl-CU5lEzui.js  3.25 kB │ gzip: 1.10 kB
16
+ dist/index-DgxI83zT.js  14.93 kB │ gzip: 4.43 kB
17
+ dist/AdvancedChartImpl-DcIHnCct.js 127.68 kB │ gzip: 26.51 kB
18
+ dist/BarChart-C_I0OFbj.js 555.79 kB │ gzip: 138.30 kB
19
+ dist/index.umd.cjs 481.85 kB │ gzip: 138.68 kB
20
+ ✓ built in 41.15s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @object-ui/plugin-charts
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Maintenance release - Documentation and build improvements
8
+ - Updated dependencies
9
+ - @object-ui/types@0.3.1
10
+ - @object-ui/core@0.3.1
11
+ - @object-ui/react@0.3.1
12
+ - @object-ui/components@0.3.1
13
+
3
14
  ## 0.3.0
4
15
 
5
16
  ### Minor Changes
package/README.md CHANGED
@@ -5,7 +5,7 @@ A lazy-loaded charting component for Object UI based on Recharts.
5
5
  ## Features
6
6
 
7
7
  - **Internal Lazy Loading**: Recharts is loaded on-demand using `React.lazy()` and `Suspense`
8
- - **Zero Configuration**: Just import the package and use `type: 'chart-bar'` in your schema
8
+ - **Zero Configuration**: Just import the package and use `type: 'bar-chart'` in your schema
9
9
  - **Automatic Registration**: Components auto-register with the ComponentRegistry
10
10
  - **Skeleton Loading**: Shows a skeleton while Recharts loads
11
11
 
@@ -25,7 +25,7 @@ import '@object-ui/plugin-charts';
25
25
 
26
26
  // Now you can use chart-bar type in your schemas
27
27
  const schema = {
28
- type: 'chart-bar',
28
+ type: 'bar-chart',
29
29
  data: [
30
30
  { name: 'Jan', value: 400 },
31
31
  { name: 'Feb', value: 300 },
@@ -57,7 +57,7 @@ The plugin exports TypeScript types for full type safety:
57
57
  import type { BarChartSchema } from '@object-ui/plugin-charts';
58
58
 
59
59
  const schema: BarChartSchema = {
60
- type: 'chart-bar',
60
+ type: 'bar-chart',
61
61
  data: [
62
62
  { name: 'Jan', value: 400 },
63
63
  { name: 'Feb', value: 300 }
@@ -72,7 +72,7 @@ const schema: BarChartSchema = {
72
72
 
73
73
  ```typescript
74
74
  {
75
- type: 'chart-bar',
75
+ type: 'bar-chart',
76
76
  data?: Array<Record<string, any>>, // Chart data
77
77
  dataKey?: string, // Y-axis data key (default: 'value')
78
78
  xAxisKey?: string, // X-axis label key (default: 'name')