@wavv/ui 2.2.2-alpha.3 → 2.2.2-alpha.4

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 (2) hide show
  1. package/build/index.js +4 -4
  2. package/package.json +2 -2
package/build/index.js CHANGED
@@ -6,7 +6,7 @@ import { DynamicIcon } from "lucide-react/dynamic";
6
6
  import resize_observer from "@react-hook/resize-observer";
7
7
  import { Global, keyframes, useTheme } from "@emotion/react";
8
8
  import { darken, lighten, transparentize } from "polished";
9
- import millify from "millify";
9
+ import aveta from "aveta";
10
10
  import { Bar, BarChart, CartesianGrid, Cell as external_recharts_Cell, Legend, Line, LineChart, Pie, PieChart, ResponsiveContainer, Tooltip as external_recharts_Tooltip, XAxis, YAxis } from "recharts";
11
11
  import { differenceInMinutes, differenceInWeeks, format as external_date_fns_format, isFuture, isThisYear, isToday, isTomorrow, isYesterday } from "date-fns";
12
12
  import { CalendarDate, Time, getLocalTimeZone, isSameDay, parseDate, parseTime, today as date_today } from "@internationalized/date";
@@ -3007,7 +3007,7 @@ const BarChart_BarChart = ({ data, legend, keys, stacked, barGap, barCategoryGap
3007
3007
  /*#__PURE__*/ jsx(XAxis, {
3008
3008
  stroke: axisColor || scale2,
3009
3009
  tickMargin: 4,
3010
- tickFormatter: (value)=>vertical ? millify(value) : value,
3010
+ tickFormatter: (value)=>vertical ? aveta(value) : value,
3011
3011
  tick: hideXLabels ? false : xAxisTick,
3012
3012
  height: hideXLabels ? 12 : xAxisHeight,
3013
3013
  interval: diagonalXLabels ? 0 : void 0,
@@ -3017,7 +3017,7 @@ const BarChart_BarChart = ({ data, legend, keys, stacked, barGap, barCategoryGap
3017
3017
  /*#__PURE__*/ jsx(YAxis, {
3018
3018
  stroke: axisColor || scale2,
3019
3019
  tickMargin: 4,
3020
- tickFormatter: (value)=>vertical ? value : millify(value),
3020
+ tickFormatter: (value)=>vertical ? value : aveta(value),
3021
3021
  tick: hideYLabels ? false : {},
3022
3022
  width: hideYLabels ? 5 : yAxisWidth,
3023
3023
  dataKey: vertical ? 'name' : void 0,
@@ -8422,7 +8422,7 @@ const LineChart_LineChart = ({ data, legend, keys, enableLegendToggle, axisColor
8422
8422
  /*#__PURE__*/ jsx(YAxis, {
8423
8423
  stroke: axisColor || scale2,
8424
8424
  tickMargin: 4,
8425
- tickFormatter: (value)=>millify(value)
8425
+ tickFormatter: (value)=>aveta(value)
8426
8426
  }),
8427
8427
  ChartHelpers_Tooltip({
8428
8428
  legendPostfix: tooltipLegendPostfix
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "2.2.2-alpha.3",
3
+ "version": "2.2.2-alpha.4",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -37,13 +37,13 @@
37
37
  "@tiptap/pm": "^3.8.0",
38
38
  "@tiptap/react": "^3.8.0",
39
39
  "@tiptap/starter-kit": "^3.8.0",
40
+ "aveta": "^1.5.2",
40
41
  "cmdk": "^1.1.1",
41
42
  "date-fns": "^4.1.0",
42
43
  "draft-js": "^0.11.7",
43
44
  "es-toolkit": "^1.41.0",
44
45
  "libphonenumber-js": "^1.12.25",
45
46
  "lucide-react": "^0.548.0",
46
- "millify": "^6.1.0",
47
47
  "polished": "^4.1.4",
48
48
  "prism-react-renderer": "^2.4.1",
49
49
  "react-aria": "3.44.0",