vue-chrts 0.0.89 → 0.0.91

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.
package/dist/index.d.ts CHANGED
@@ -5,7 +5,6 @@ export { AreaChart } from './Area/index';
5
5
  export { AreaStackedChart } from './AreaStacked/index';
6
6
  export { BarChart } from './Bar/index';
7
7
  export { DonutChart } from './Donut/index';
8
- export { LineChart } from './Line/index';
9
- export * from './Line/types';
8
+ export { LineChart, CurveType, PaginationPosition, type LineChartProps } from './Line/index';
10
9
  export { Progress, Status, Tooltip };
11
10
  export * from './Button/index';
package/dist/index.js CHANGED
@@ -9307,9 +9307,7 @@ const C_ = {
9307
9307
  }), 128))
9308
9308
  ]));
9309
9309
  }
9310
- });
9311
- var z_ = /* @__PURE__ */ ((t) => (t.Top = "top", t.Bottom = "bottom", t))(z_ || {});
9312
- const B_ = { class: "flex items center justify-end" }, uy = /* @__PURE__ */ nt({
9310
+ }), z_ = { class: "flex items center justify-end" }, uy = /* @__PURE__ */ nt({
9313
9311
  __name: "LineChart",
9314
9312
  props: {
9315
9313
  data: {},
@@ -9378,14 +9376,16 @@ const B_ = { class: "flex items center justify-end" }, uy = /* @__PURE__ */ nt({
9378
9376
  ]),
9379
9377
  _: 1
9380
9378
  }, 8, ["data", "height"]),
9381
- Z("div", B_, [
9379
+ Z("div", z_, [
9382
9380
  G(D(Bn), {
9383
9381
  items: Object.values(r.categories)
9384
9382
  }, null, 8, ["items"])
9385
9383
  ])
9386
9384
  ], 2));
9387
9385
  }
9388
- }), I_ = { class: "space-y-2" }, H_ = { class: "space-y-2" }, W_ = { class: "text-gray-500 mb-1" }, U_ = { class: "text-xl dark:text-white font-bold" }, V_ = { class: "flex items-center justify-between text-sm font-medium dark:text-gray-500 mt-2" }, Y_ = { class: "dark:bg-white/5 bg-gray-100 rounded-full h-3" }, hy = /* @__PURE__ */ nt({
9386
+ });
9387
+ var B_ = /* @__PURE__ */ ((t) => (t.Top = "top", t.Bottom = "bottom", t))(B_ || {});
9388
+ const I_ = { class: "space-y-2" }, H_ = { class: "space-y-2" }, W_ = { class: "text-gray-500 mb-1" }, U_ = { class: "text-xl dark:text-white font-bold" }, V_ = { class: "flex items-center justify-between text-sm font-medium dark:text-gray-500 mt-2" }, Y_ = { class: "dark:bg-white/5 bg-gray-100 rounded-full h-3" }, hy = /* @__PURE__ */ nt({
9389
9389
  __name: "Progress",
9390
9390
  props: {
9391
9391
  label: {},
@@ -9516,8 +9516,7 @@ export {
9516
9516
  X as CurveType,
9517
9517
  cy as DonutChart,
9518
9518
  uy as LineChart,
9519
- z_ as PaginationPosition,
9520
- A as Position,
9519
+ B_ as PaginationPosition,
9521
9520
  hy as Progress,
9522
9521
  fy as Status,
9523
9522
  Ko as Tooltip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-chrts",
3
- "version": "0.0.89",
3
+ "version": "0.0.91",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "files": [
@@ -1,21 +0,0 @@
1
- import { BulletLegendItemInterface, CurveType, Position } from '@unovis/ts';
2
-
3
- type LineChartProps<T> = {
4
- data: T[];
5
- height: number;
6
- xLabel?: string;
7
- yLabel?: string;
8
- categories: Record<string, BulletLegendItemInterface>;
9
- xFormatter: (i: number, idx: number) => string;
10
- yFormatter?: (i: number, idx: number) => string;
11
- curveType?: CurveType;
12
- yNumTicks?: number;
13
- xNumTicks?: number;
14
- paginationPoisition?: PaginationPosition;
15
- };
16
- declare enum PaginationPosition {
17
- Top = "top",
18
- Bottom = "bottom"
19
- }
20
- export type { LineChartProps };
21
- export { Position, PaginationPosition, CurveType };