@object-ui/plugin-dashboard 3.1.4 → 3.3.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 (59) hide show
  1. package/.turbo/turbo-build.log +14 -10
  2. package/CHANGELOG.md +27 -0
  3. package/dist/index.d.ts +1 -1
  4. package/dist/index.js +809 -668
  5. package/dist/index.umd.cjs +3 -3
  6. package/dist/packages/plugin-dashboard/src/DashboardConfigPanel.d.ts.map +1 -0
  7. package/dist/packages/plugin-dashboard/src/DashboardConfigPanel.stories.d.ts.map +1 -0
  8. package/dist/packages/plugin-dashboard/src/DashboardGridLayout.d.ts.map +1 -0
  9. package/dist/packages/plugin-dashboard/src/DashboardRenderer.d.ts.map +1 -0
  10. package/dist/packages/plugin-dashboard/src/DashboardRenderer.stories.d.ts.map +1 -0
  11. package/dist/packages/plugin-dashboard/src/DashboardWithConfig.d.ts.map +1 -0
  12. package/dist/{src → packages/plugin-dashboard/src}/MetricCard.d.ts +4 -0
  13. package/dist/packages/plugin-dashboard/src/MetricCard.d.ts.map +1 -0
  14. package/dist/{src → packages/plugin-dashboard/src}/MetricWidget.d.ts +5 -1
  15. package/dist/packages/plugin-dashboard/src/MetricWidget.d.ts.map +1 -0
  16. package/dist/packages/plugin-dashboard/src/ObjectDataTable.d.ts.map +1 -0
  17. package/dist/packages/plugin-dashboard/src/ObjectMetricWidget.d.ts +57 -0
  18. package/dist/packages/plugin-dashboard/src/ObjectMetricWidget.d.ts.map +1 -0
  19. package/dist/packages/plugin-dashboard/src/ObjectPivotTable.d.ts.map +1 -0
  20. package/dist/packages/plugin-dashboard/src/PivotTable.d.ts.map +1 -0
  21. package/dist/packages/plugin-dashboard/src/WidgetConfigPanel.d.ts.map +1 -0
  22. package/dist/{src → packages/plugin-dashboard/src}/index.d.ts +4 -2
  23. package/dist/packages/plugin-dashboard/src/index.d.ts.map +1 -0
  24. package/dist/packages/plugin-dashboard/src/utils.d.ts.map +1 -0
  25. package/package.json +11 -11
  26. package/src/DashboardRenderer.tsx +34 -0
  27. package/src/MetricCard.tsx +38 -18
  28. package/src/MetricWidget.tsx +38 -18
  29. package/src/ObjectMetricWidget.tsx +159 -0
  30. package/src/__tests__/DashboardRenderer.widgetData.test.tsx +130 -2
  31. package/src/__tests__/MetricCard.test.tsx +25 -0
  32. package/src/__tests__/ObjectMetricWidget.test.tsx +196 -0
  33. package/src/index.tsx +23 -1
  34. package/vite.config.ts +1 -0
  35. package/dist/src/DashboardConfigPanel.d.ts.map +0 -1
  36. package/dist/src/DashboardConfigPanel.stories.d.ts.map +0 -1
  37. package/dist/src/DashboardGridLayout.d.ts.map +0 -1
  38. package/dist/src/DashboardRenderer.d.ts.map +0 -1
  39. package/dist/src/DashboardRenderer.stories.d.ts.map +0 -1
  40. package/dist/src/DashboardWithConfig.d.ts.map +0 -1
  41. package/dist/src/MetricCard.d.ts.map +0 -1
  42. package/dist/src/MetricWidget.d.ts.map +0 -1
  43. package/dist/src/ObjectDataTable.d.ts.map +0 -1
  44. package/dist/src/ObjectPivotTable.d.ts.map +0 -1
  45. package/dist/src/PivotTable.d.ts.map +0 -1
  46. package/dist/src/WidgetConfigPanel.d.ts.map +0 -1
  47. package/dist/src/index.d.ts.map +0 -1
  48. package/dist/src/utils.d.ts.map +0 -1
  49. /package/dist/{src → packages/plugin-dashboard/src}/DashboardConfigPanel.d.ts +0 -0
  50. /package/dist/{src → packages/plugin-dashboard/src}/DashboardConfigPanel.stories.d.ts +0 -0
  51. /package/dist/{src → packages/plugin-dashboard/src}/DashboardGridLayout.d.ts +0 -0
  52. /package/dist/{src → packages/plugin-dashboard/src}/DashboardRenderer.d.ts +0 -0
  53. /package/dist/{src → packages/plugin-dashboard/src}/DashboardRenderer.stories.d.ts +0 -0
  54. /package/dist/{src → packages/plugin-dashboard/src}/DashboardWithConfig.d.ts +0 -0
  55. /package/dist/{src → packages/plugin-dashboard/src}/ObjectDataTable.d.ts +0 -0
  56. /package/dist/{src → packages/plugin-dashboard/src}/ObjectPivotTable.d.ts +0 -0
  57. /package/dist/{src → packages/plugin-dashboard/src}/PivotTable.d.ts +0 -0
  58. /package/dist/{src → packages/plugin-dashboard/src}/WidgetConfigPanel.d.ts +0 -0
  59. /package/dist/{src → packages/plugin-dashboard/src}/utils.d.ts +0 -0
@@ -1,37 +1,41 @@
1
1
 
2
- > @object-ui/plugin-dashboard@3.1.4 build /home/runner/work/objectui/objectui/packages/plugin-dashboard
2
+ > @object-ui/plugin-dashboard@3.3.0 build /home/runner/work/objectui/objectui/packages/plugin-dashboard
3
3
  > vite build
4
4
 
5
- vite v8.0.1 building client environment for production...
6
- 
5
+ vite v8.0.8 building client environment for production...
6
+ 
7
7
  rendering chunks...
8
8
  
9
+ src/DashboardGridLayout.tsx:3:8 - error TS2882: Cannot find module or type declarations for side-effect import of 'react-grid-layout/css/styles.css'.
10
+
9
11
  [vite:dts] Start generate declaration files...
12
+ 3 import 'react-grid-layout/css/styles.css';
13
+    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10
14
  src/ObjectDataTable.tsx:47:3 - error TS2322: Type 'Record<string, any>[]' is not assignable to type 'NormalizedColumn[]'.
11
15
  Type 'Record<string, any>' is missing the following properties from type 'NormalizedColumn': header, accessorKey
12
16
 
13
17
  47 return columns.map((col) => {
14
18
     ~~~~~~
15
19
 
16
- [vite:dts] Declaration files built in 30386ms.
20
+ [vite:dts] Declaration files built in 29662ms.
17
21
  
18
22
  computing gzip size...
19
23
  dist/index.css 2.32 kB │ gzip: 0.57 kB
20
- dist/index.js 157.19 kB │ gzip: 39.00 kB
24
+ dist/index.js 161.81 kB │ gzip: 39.97 kB
21
25
 
22
26
  [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
23
- - vite:dts (94%)
24
- - vite:css (5%)
27
+ - vite:dts (93%)
28
+ - vite:css (7%)
25
29
  See https://rolldown.rs/options/checks#plugintimings for more details.
26
30
  
27
- 
31
+ 
28
32
  rendering chunks...
29
33
  computing gzip size...
30
34
  dist/index.css 2.32 kB │ gzip: 0.57 kB
31
- dist/index.umd.cjs 117.76 kB │ gzip: 33.92 kB
35
+ dist/index.umd.cjs 121.27 kB │ gzip: 34.65 kB
32
36
 
33
37
  [MISSING_GLOBAL_NAME] Warning: No name was provided for external module "lucide-react" in "output.globals" – guessing "lucide_react".
34
38
  
35
39
  [MISSING_GLOBAL_NAME] Warning: No name was provided for external module "clsx" in "output.globals" – guessing "clsx".
36
40
  
37
- ✓ built in 33.25s
41
+ ✓ built in 32.80s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @object-ui/plugin-dashboard
2
2
 
3
+ ## 3.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @object-ui/types@3.3.0
8
+ - @object-ui/core@3.3.0
9
+ - @object-ui/react@3.3.0
10
+ - @object-ui/components@3.3.0
11
+
12
+ ## 3.2.0
13
+
14
+ ### Patch Changes
15
+
16
+ - @object-ui/types@3.2.0
17
+ - @object-ui/core@3.2.0
18
+ - @object-ui/react@3.2.0
19
+ - @object-ui/components@3.2.0
20
+
21
+ ## 3.1.5
22
+
23
+ ### Patch Changes
24
+
25
+ - @object-ui/react@3.1.5
26
+ - @object-ui/components@3.1.5
27
+ - @object-ui/types@3.1.5
28
+ - @object-ui/core@3.1.5
29
+
3
30
  ## 3.1.4
4
31
 
5
32
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export * from './src/index'
1
+ export * from './packages/plugin-dashboard/src/index'
2
2
  export {}