@nubase/frontend 0.1.15 → 0.1.16

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.mjs CHANGED
@@ -12450,6 +12450,11 @@ function KpiContent({ data }) {
12450
12450
  // src/components/dashboard/content/ProportionalChartContent.tsx
12451
12451
  import * as React4 from "react";
12452
12452
  import { Pie, PieChart } from "recharts";
12453
+
12454
+ // src/components/dashboard/content/constants.ts
12455
+ var CHART_ANIMATION_DURATION = 500;
12456
+
12457
+ // src/components/dashboard/content/ProportionalChartContent.tsx
12453
12458
  import { jsx as jsx79, jsxs as jsxs35 } from "react/jsx-runtime";
12454
12459
  function ProportionalChartContent({
12455
12460
  data,
@@ -12495,7 +12500,8 @@ function ProportionalChartContent({
12495
12500
  data: chartData,
12496
12501
  dataKey: "value",
12497
12502
  nameKey: "label",
12498
- innerRadius
12503
+ innerRadius,
12504
+ animationDuration: CHART_ANIMATION_DURATION
12499
12505
  }
12500
12506
  )
12501
12507
  ] })
@@ -12559,7 +12565,8 @@ function SeriesChartContent({ data, variant }) {
12559
12565
  dataKey: key,
12560
12566
  stroke: `var(--color-${key})`,
12561
12567
  strokeWidth: 2,
12562
- dot: false
12568
+ dot: false,
12569
+ animationDuration: CHART_ANIMATION_DURATION
12563
12570
  },
12564
12571
  key
12565
12572
  ))
@@ -12585,7 +12592,8 @@ function SeriesChartContent({ data, variant }) {
12585
12592
  dataKey: key,
12586
12593
  fill: `var(--color-${key})`,
12587
12594
  fillOpacity: 0.4,
12588
- stroke: `var(--color-${key})`
12595
+ stroke: `var(--color-${key})`,
12596
+ animationDuration: CHART_ANIMATION_DURATION
12589
12597
  },
12590
12598
  key
12591
12599
  ))
@@ -12609,7 +12617,8 @@ function SeriesChartContent({ data, variant }) {
12609
12617
  {
12610
12618
  dataKey: key,
12611
12619
  fill: `var(--color-${key})`,
12612
- radius: 4
12620
+ radius: 4,
12621
+ animationDuration: CHART_ANIMATION_DURATION
12613
12622
  },
12614
12623
  key
12615
12624
  ))