@cryptofi/core-ui 0.42.0 → 0.44.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.
@@ -314,7 +314,7 @@ declare const utcDateToLocal: ({ dateFormat, timeString, }: {
314
314
  }) => string;
315
315
  //# sourceMappingURL=utcDateToLocal.d.ts.map
316
316
 
317
- declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
317
+ declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
318
318
  data: any[] | undefined;
319
319
  dataKey: string;
320
320
  width?: string | undefined;
@@ -323,6 +323,7 @@ declare const CfAreaChart: ({ data, dataKey, width, height, areaType, showToolti
323
323
  showTooltip?: boolean | undefined;
324
324
  isAnimated?: boolean | undefined;
325
325
  formatter?: ((value: number) => string) | undefined;
326
+ labelFormatter?: ((index: number, chartValue: any[]) => string | undefined) | undefined;
326
327
  sampleRate?: number | undefined;
327
328
  style?: react.CSSProperties | undefined;
328
329
  }) => react_jsx_runtime.JSX.Element;
@@ -397,7 +398,7 @@ type Props$3<T extends FieldValues> = {
397
398
  declare const CfInputArray: <T extends FieldValues>({ name, control, register, defaultValues, onArrayAppend, onArrayRemove, }: Props$3<T>) => react_jsx_runtime.JSX.Element;
398
399
  //# sourceMappingURL=InputArray.d.ts.map
399
400
 
400
- declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, sampleRate, style, }: {
401
+ declare const CfLineChart: ({ data, dataKey, width, height, lineType, showTooltip, isAnimated, formatter, labelFormatter, sampleRate, style, }: {
401
402
  data: any[] | undefined;
402
403
  dataKey: string;
403
404
  width?: string | undefined;
@@ -406,6 +407,7 @@ declare const CfLineChart: ({ data, dataKey, width, height, lineType, showToolti
406
407
  showTooltip?: boolean | undefined;
407
408
  isAnimated?: boolean | undefined;
408
409
  formatter?: ((value: number) => string) | undefined;
410
+ labelFormatter?: ((index: number, chartValue: any[]) => string | undefined) | undefined;
409
411
  sampleRate?: number | undefined;
410
412
  style?: react.CSSProperties | undefined;
411
413
  }) => react_jsx_runtime.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptofi/core-ui",
3
- "version": "0.42.0",
3
+ "version": "0.44.0",
4
4
  "author": {
5
5
  "name": "CryptoFi"
6
6
  },
@@ -40,7 +40,7 @@
40
40
  "peerDependencies": {
41
41
  "@chakra-ui/react": "^2.4.9",
42
42
  "@emotion/react": "^11.11.4",
43
- "@emotion/styled": "^11.11.0",
43
+ "@emotion/styled": "^11.11.5",
44
44
  "framer-motion": "^10.16.4",
45
45
  "react": "^18.2.0",
46
46
  "react-dom": "^18.2.0"
@@ -53,7 +53,7 @@
53
53
  "currency.js": "^2.0.4",
54
54
  "dayjs": "^1.11.10",
55
55
  "react-currency-input-field": "^3.8.0",
56
- "react-hook-form": "^7.51.0",
56
+ "react-hook-form": "^7.51.2",
57
57
  "react-paginate": "^8.2.0",
58
58
  "recharts": "^2.12.2",
59
59
  "yup": "^1.4.0"
@@ -63,22 +63,22 @@
63
63
  "@chakra-ui/react": "^2.4.9",
64
64
  "@chakra-ui/storybook-addon": "^5.1.0",
65
65
  "@emotion/react": "^11.11.4",
66
- "@emotion/styled": "^11.11.0",
66
+ "@emotion/styled": "^11.11.5",
67
67
  "@rollup/plugin-commonjs": "^25.0.7",
68
68
  "@rollup/plugin-node-resolve": "^15.2.3",
69
69
  "@rollup/plugin-terser": "^0.4.4",
70
- "@storybook/addon-essentials": "^8.0.4",
71
- "@storybook/addon-interactions": "^8.0.4",
72
- "@storybook/addon-links": "^8.0.4",
73
- "@storybook/addon-onboarding": "^8.0.4",
74
- "@storybook/blocks": "^8.0.4",
75
- "@storybook/components": "^8.0.4",
76
- "@storybook/manager-api": "^8.0.4",
77
- "@storybook/preview-api": "^8.0.4",
78
- "@storybook/react": "^8.0.4",
79
- "@storybook/react-vite": "^8.0.4",
80
- "@storybook/test": "^8.0.4",
81
- "@storybook/types": "^8.0.4",
70
+ "@storybook/addon-essentials": "^8.0.5",
71
+ "@storybook/addon-interactions": "^8.0.5",
72
+ "@storybook/addon-links": "^8.0.5",
73
+ "@storybook/addon-onboarding": "^8.0.5",
74
+ "@storybook/blocks": "^8.0.5",
75
+ "@storybook/components": "^8.0.5",
76
+ "@storybook/manager-api": "^8.0.5",
77
+ "@storybook/preview-api": "^8.0.5",
78
+ "@storybook/react": "^8.0.5",
79
+ "@storybook/react-vite": "^8.0.5",
80
+ "@storybook/test": "^8.0.5",
81
+ "@storybook/types": "^8.0.5",
82
82
  "@svgr/cli": "^8.1.0",
83
83
  "@svgr/core": "^8.1.0",
84
84
  "@svgr/plugin-jsx": "^8.1.0",
@@ -125,7 +125,7 @@
125
125
  "rollup-plugin-filesize": "^10.0.0",
126
126
  "rollup-plugin-peer-deps-external": "^2.2.4",
127
127
  "rollup-plugin-typescript2": "^0.36.0",
128
- "storybook": "^8.0.4",
128
+ "storybook": "^8.0.5",
129
129
  "stringify-object": "^5.0.0",
130
130
  "ts-jest": "^29.0.5",
131
131
  "typescript": "^5.4.2",