nuxt-charts 3.0.0-beta.3 → 3.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 (62) hide show
  1. package/README.md +46 -1
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +0 -1
  4. package/dist/runtime/assets/components.css +1 -1
  5. package/dist/runtime/assets/theme.css +1 -1
  6. package/dist/runtime/components/AreaChart.vue +7 -1
  7. package/dist/runtime/components/BarChart.vue +7 -1
  8. package/dist/runtime/components/BubbleChart.vue +43 -17
  9. package/dist/runtime/components/CandlestickChart.vue +60 -18
  10. package/dist/runtime/components/DonutChart.vue +28 -9
  11. package/dist/runtime/components/FunnelChart.vue +31 -8
  12. package/dist/runtime/components/LineChart.vue +7 -1
  13. package/dist/runtime/components/RadarChart.vue +25 -4
  14. package/dist/runtime/components/RadialBarChart.vue +48 -8
  15. package/dist/runtime/components/SankeyChart.vue +32 -9
  16. package/dist/runtime/components/StatusTrackerChart.vue +33 -7
  17. package/dist/runtime/components/internal/CandlestickTooltip.vue +6 -4
  18. package/dist/runtime/components/internal/CandlestickTooltip.vue.d.ts +1 -0
  19. package/dist/runtime/components/internal/CartesianFrame.vue +37 -9
  20. package/dist/runtime/components/internal/ChartAccessibility.vue +20 -0
  21. package/dist/runtime/components/internal/{ChartSkeleton.d.vue.ts → ChartAccessibility.vue.d.ts} +13 -10
  22. package/dist/runtime/components/internal/ChartEmptyState.vue +12 -0
  23. package/dist/runtime/components/internal/{CandlestickTooltip.d.vue.ts → ChartEmptyState.vue.d.ts} +2 -12
  24. package/dist/runtime/components/internal/ChartLegend.vue.d.ts +1 -1
  25. package/dist/runtime/components/internal/ChartTooltip.vue +2 -1
  26. package/dist/runtime/components/internal/CubeBarShape.vue.d.ts +1 -1
  27. package/dist/runtime/components/internal/FunnelClassicShape.vue +2 -1
  28. package/dist/runtime/components/internal/FunnelLayeredShape.vue +2 -1
  29. package/dist/runtime/components/internal/FunnelTooltip.vue +2 -1
  30. package/dist/runtime/components/internal/tooltipContent.d.ts +1 -1
  31. package/dist/runtime/components/internal/tooltipContent.js +6 -2
  32. package/dist/runtime/types/charts.d.ts +44 -34
  33. package/dist/runtime/types/shared.d.ts +5 -11
  34. package/dist/runtime/utils/categories.d.ts +1 -1
  35. package/dist/runtime/utils/categories.js +2 -2
  36. package/dist/runtime/utils/data.d.ts +19 -0
  37. package/dist/runtime/utils/data.js +50 -0
  38. package/dist/runtime/utils/format.d.ts +5 -0
  39. package/dist/runtime/utils/format.js +12 -0
  40. package/dist/runtime/utils/index.d.ts +2 -0
  41. package/dist/runtime/utils/index.js +2 -0
  42. package/dist/runtime/utils/theme.js +3 -0
  43. package/package.json +2 -2
  44. package/dist/runtime/components/AreaChart.d.vue.ts +0 -23
  45. package/dist/runtime/components/BarChart.d.vue.ts +0 -23
  46. package/dist/runtime/components/BubbleChart.d.vue.ts +0 -23
  47. package/dist/runtime/components/CandlestickChart.d.vue.ts +0 -19
  48. package/dist/runtime/components/DonutChart.d.vue.ts +0 -21
  49. package/dist/runtime/components/FunnelChart.d.vue.ts +0 -26
  50. package/dist/runtime/components/LineChart.d.vue.ts +0 -23
  51. package/dist/runtime/components/RadarChart.d.vue.ts +0 -19
  52. package/dist/runtime/components/RadialBarChart.d.vue.ts +0 -19
  53. package/dist/runtime/components/SankeyChart.d.vue.ts +0 -36
  54. package/dist/runtime/components/StatusTrackerChart.d.vue.ts +0 -19
  55. package/dist/runtime/components/internal/CartesianFrame.d.vue.ts +0 -57
  56. package/dist/runtime/components/internal/ChartLegend.d.vue.ts +0 -34
  57. package/dist/runtime/components/internal/ChartTooltip.d.vue.ts +0 -3
  58. package/dist/runtime/components/internal/CubeBarShape.d.vue.ts +0 -36
  59. package/dist/runtime/components/internal/FunnelClassicShape.d.vue.ts +0 -81
  60. package/dist/runtime/components/internal/FunnelLayeredShape.d.vue.ts +0 -63
  61. package/dist/runtime/components/internal/FunnelTooltip.d.vue.ts +0 -16
  62. package/dist/runtime/components/internal/VariantBarShape.d.vue.ts +0 -36
@@ -1,36 +0,0 @@
1
- type __VLS_Props = {
2
- x?: number | null;
3
- y?: number | null;
4
- width?: number;
5
- height?: number;
6
- /** Corner radius, in the `vccs` `Rectangle` form. */
7
- radius?: number | [number, number, number, number];
8
- /** Paint for the bar body — a flat colour or a `url(#…)` variant pattern. */
9
- fill?: string;
10
- /** Series colour, used for the cap strip and the buffer outline. */
11
- color?: string;
12
- /** Draws the floating cap strip above the body. */
13
- capped?: boolean;
14
- /** Renders this bar as a projection: hollow hatch plus an outline. */
15
- isBuffer?: boolean;
16
- /** Paint for a projection bar's hollow hatch. */
17
- bufferFill?: string;
18
- /** `url(#…)` of the outer-glow filter, when the series glows. */
19
- filter?: string;
20
- /** Bar opacity, so hover-highlight can dim the bars that are not hovered. */
21
- opacity?: number;
22
- };
23
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
24
- width: number;
25
- height: number;
26
- filter: string;
27
- fill: string;
28
- radius: number | [number, number, number, number];
29
- color: string;
30
- x: number | null;
31
- y: number | null;
32
- opacity: number;
33
- bufferFill: string;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
35
- declare const _default: typeof __VLS_export;
36
- export default _default;