@turingpaper/ui 0.0.1-test.3 → 0.0.1-test.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.
- package/dist/components/chart.d.ts +12 -25
- package/package.json +2 -2
|
@@ -25,37 +25,24 @@ declare const ChartStyle: ({ id, config }: {
|
|
|
25
25
|
config: ChartConfig;
|
|
26
26
|
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
27
27
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
28
|
-
declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
animationEasing?: import('recharts/types/util/types').AnimationTiming;
|
|
35
|
-
content?: import('recharts/types/component/Tooltip').ContentType<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType> | undefined;
|
|
36
|
-
coordinate?: Partial<import('recharts/types/util/types').Coordinate>;
|
|
37
|
-
cursor?: boolean | React.ReactElement | React.SVGProps<SVGElement>;
|
|
38
|
-
filterNull?: boolean;
|
|
39
|
-
defaultIndex?: number;
|
|
40
|
-
isAnimationActive?: boolean;
|
|
41
|
-
offset?: number;
|
|
42
|
-
payloadUniqBy?: import('recharts/types/util/payload/getUniqPayload').UniqueOption<import('recharts/types/component/DefaultTooltipContent').Payload<import('recharts/types/component/DefaultTooltipContent').ValueType, import('recharts/types/component/DefaultTooltipContent').NameType>> | undefined;
|
|
43
|
-
position?: Partial<import('recharts/types/util/types').Coordinate>;
|
|
44
|
-
reverseDirection?: import('recharts/types/util/types').AllowInDimension;
|
|
45
|
-
shared?: boolean;
|
|
46
|
-
trigger?: "hover" | "click";
|
|
47
|
-
useTranslate3d?: boolean;
|
|
48
|
-
viewBox?: import('recharts/types/util/types').CartesianViewBox;
|
|
49
|
-
wrapperStyle?: React.CSSProperties;
|
|
50
|
-
} & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
28
|
+
declare const ChartTooltipContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
29
|
+
active?: boolean;
|
|
30
|
+
payload?: Array<Record<string, any>>;
|
|
31
|
+
label?: string;
|
|
32
|
+
labelFormatter?: (value: any, payload: Array<Record<string, any>>) => React.ReactNode;
|
|
33
|
+
formatter?: (value: any, name: any, item: any, index: any, payload: any) => React.ReactNode;
|
|
51
34
|
hideLabel?: boolean;
|
|
52
35
|
hideIndicator?: boolean;
|
|
53
36
|
indicator?: "line" | "dot" | "dashed";
|
|
54
37
|
nameKey?: string;
|
|
55
38
|
labelKey?: string;
|
|
39
|
+
labelClassName?: string;
|
|
40
|
+
color?: string;
|
|
56
41
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
57
|
-
declare const ChartLegend:
|
|
58
|
-
declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> &
|
|
42
|
+
declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
|
|
43
|
+
declare const ChartLegendContent: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
|
|
44
|
+
payload?: Array<Record<string, any>>;
|
|
45
|
+
verticalAlign?: "top" | "bottom";
|
|
59
46
|
hideIcon?: boolean;
|
|
60
47
|
nameKey?: string;
|
|
61
48
|
}, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turingpaper/ui",
|
|
3
|
-
"version": "0.0.1-test.
|
|
3
|
+
"version": "0.0.1-test.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Pre-built Shadcn/ui component library for Turingpaper TSX functions",
|
|
6
6
|
"license": "MIT",
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
"input-otp": "^1.4.2",
|
|
179
179
|
"lucide-react": "^0.562.0",
|
|
180
180
|
"radix-ui": "^1.4.3",
|
|
181
|
-
"recharts": "^
|
|
181
|
+
"recharts": "^3.8.0",
|
|
182
182
|
"tailwind-merge": "^3.4.0",
|
|
183
183
|
"vaul": "^1.1.2"
|
|
184
184
|
},
|