@efiche/design 0.2.13 → 0.2.14
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/README.md +0 -115
- package/dist/index.cjs +171 -432
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +1 -77
- package/dist/index.d.ts +1 -77
- package/dist/index.js +171 -457
- package/dist/index.js.map +1 -1
- package/package.json +2 -3
package/dist/index.d.mts
CHANGED
|
@@ -12,82 +12,6 @@ declare const ThemeProvider: ({ children, defaultTheme, }: {
|
|
|
12
12
|
}) => react_jsx_runtime.JSX.Element;
|
|
13
13
|
declare const useTheme: () => ThemeContextValue;
|
|
14
14
|
|
|
15
|
-
type ChartTheme = 'light' | 'dark';
|
|
16
|
-
|
|
17
|
-
interface LineConfig {
|
|
18
|
-
dataKey: string;
|
|
19
|
-
color?: string;
|
|
20
|
-
label?: string;
|
|
21
|
-
}
|
|
22
|
-
interface LineChartProps {
|
|
23
|
-
data: Record<string, unknown>[];
|
|
24
|
-
xKey: string;
|
|
25
|
-
lines: LineConfig[];
|
|
26
|
-
height?: number;
|
|
27
|
-
legend?: boolean;
|
|
28
|
-
grid?: boolean;
|
|
29
|
-
theme?: ChartTheme;
|
|
30
|
-
className?: string;
|
|
31
|
-
style?: React.CSSProperties;
|
|
32
|
-
}
|
|
33
|
-
declare const LineChart: FC<LineChartProps>;
|
|
34
|
-
|
|
35
|
-
interface BarConfig {
|
|
36
|
-
dataKey: string;
|
|
37
|
-
color?: string;
|
|
38
|
-
stackId?: string;
|
|
39
|
-
label?: string;
|
|
40
|
-
}
|
|
41
|
-
interface BarChartProps {
|
|
42
|
-
data: Record<string, unknown>[];
|
|
43
|
-
xKey: string;
|
|
44
|
-
bars: BarConfig[];
|
|
45
|
-
height?: number;
|
|
46
|
-
legend?: boolean;
|
|
47
|
-
grid?: boolean;
|
|
48
|
-
theme?: ChartTheme;
|
|
49
|
-
className?: string;
|
|
50
|
-
style?: React.CSSProperties;
|
|
51
|
-
}
|
|
52
|
-
declare const BarChart: FC<BarChartProps>;
|
|
53
|
-
|
|
54
|
-
interface AreaConfig {
|
|
55
|
-
dataKey: string;
|
|
56
|
-
color?: string;
|
|
57
|
-
stackId?: string;
|
|
58
|
-
fillOpacity?: number;
|
|
59
|
-
label?: string;
|
|
60
|
-
}
|
|
61
|
-
interface AreaChartProps {
|
|
62
|
-
data: Record<string, unknown>[];
|
|
63
|
-
xKey: string;
|
|
64
|
-
areas: AreaConfig[];
|
|
65
|
-
height?: number;
|
|
66
|
-
legend?: boolean;
|
|
67
|
-
grid?: boolean;
|
|
68
|
-
theme?: ChartTheme;
|
|
69
|
-
className?: string;
|
|
70
|
-
style?: React.CSSProperties;
|
|
71
|
-
}
|
|
72
|
-
declare const AreaChart: FC<AreaChartProps>;
|
|
73
|
-
|
|
74
|
-
interface PieDataItem {
|
|
75
|
-
name: string;
|
|
76
|
-
value: number;
|
|
77
|
-
fill?: string;
|
|
78
|
-
}
|
|
79
|
-
interface PieChartProps {
|
|
80
|
-
data: PieDataItem[];
|
|
81
|
-
height?: number;
|
|
82
|
-
donut?: boolean;
|
|
83
|
-
legend?: boolean;
|
|
84
|
-
label?: boolean;
|
|
85
|
-
theme?: ChartTheme;
|
|
86
|
-
className?: string;
|
|
87
|
-
style?: React.CSSProperties;
|
|
88
|
-
}
|
|
89
|
-
declare const PieChart: FC<PieChartProps>;
|
|
90
|
-
|
|
91
15
|
interface AccordionItem {
|
|
92
16
|
value: string;
|
|
93
17
|
trigger: string;
|
|
@@ -300,4 +224,4 @@ interface TooltipProps {
|
|
|
300
224
|
}
|
|
301
225
|
declare const Tooltip: FC<TooltipProps>;
|
|
302
226
|
|
|
303
|
-
export { Accordion, Alert,
|
|
227
|
+
export { Accordion, Alert, Avatar, Badge, Breadcrumb, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CopyButton, FileUpload, Input, Label, PasswordInput, Progress, RadioGroup, Select, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Textarea, ThemeProvider, Tooltip, useTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -12,82 +12,6 @@ declare const ThemeProvider: ({ children, defaultTheme, }: {
|
|
|
12
12
|
}) => react_jsx_runtime.JSX.Element;
|
|
13
13
|
declare const useTheme: () => ThemeContextValue;
|
|
14
14
|
|
|
15
|
-
type ChartTheme = 'light' | 'dark';
|
|
16
|
-
|
|
17
|
-
interface LineConfig {
|
|
18
|
-
dataKey: string;
|
|
19
|
-
color?: string;
|
|
20
|
-
label?: string;
|
|
21
|
-
}
|
|
22
|
-
interface LineChartProps {
|
|
23
|
-
data: Record<string, unknown>[];
|
|
24
|
-
xKey: string;
|
|
25
|
-
lines: LineConfig[];
|
|
26
|
-
height?: number;
|
|
27
|
-
legend?: boolean;
|
|
28
|
-
grid?: boolean;
|
|
29
|
-
theme?: ChartTheme;
|
|
30
|
-
className?: string;
|
|
31
|
-
style?: React.CSSProperties;
|
|
32
|
-
}
|
|
33
|
-
declare const LineChart: FC<LineChartProps>;
|
|
34
|
-
|
|
35
|
-
interface BarConfig {
|
|
36
|
-
dataKey: string;
|
|
37
|
-
color?: string;
|
|
38
|
-
stackId?: string;
|
|
39
|
-
label?: string;
|
|
40
|
-
}
|
|
41
|
-
interface BarChartProps {
|
|
42
|
-
data: Record<string, unknown>[];
|
|
43
|
-
xKey: string;
|
|
44
|
-
bars: BarConfig[];
|
|
45
|
-
height?: number;
|
|
46
|
-
legend?: boolean;
|
|
47
|
-
grid?: boolean;
|
|
48
|
-
theme?: ChartTheme;
|
|
49
|
-
className?: string;
|
|
50
|
-
style?: React.CSSProperties;
|
|
51
|
-
}
|
|
52
|
-
declare const BarChart: FC<BarChartProps>;
|
|
53
|
-
|
|
54
|
-
interface AreaConfig {
|
|
55
|
-
dataKey: string;
|
|
56
|
-
color?: string;
|
|
57
|
-
stackId?: string;
|
|
58
|
-
fillOpacity?: number;
|
|
59
|
-
label?: string;
|
|
60
|
-
}
|
|
61
|
-
interface AreaChartProps {
|
|
62
|
-
data: Record<string, unknown>[];
|
|
63
|
-
xKey: string;
|
|
64
|
-
areas: AreaConfig[];
|
|
65
|
-
height?: number;
|
|
66
|
-
legend?: boolean;
|
|
67
|
-
grid?: boolean;
|
|
68
|
-
theme?: ChartTheme;
|
|
69
|
-
className?: string;
|
|
70
|
-
style?: React.CSSProperties;
|
|
71
|
-
}
|
|
72
|
-
declare const AreaChart: FC<AreaChartProps>;
|
|
73
|
-
|
|
74
|
-
interface PieDataItem {
|
|
75
|
-
name: string;
|
|
76
|
-
value: number;
|
|
77
|
-
fill?: string;
|
|
78
|
-
}
|
|
79
|
-
interface PieChartProps {
|
|
80
|
-
data: PieDataItem[];
|
|
81
|
-
height?: number;
|
|
82
|
-
donut?: boolean;
|
|
83
|
-
legend?: boolean;
|
|
84
|
-
label?: boolean;
|
|
85
|
-
theme?: ChartTheme;
|
|
86
|
-
className?: string;
|
|
87
|
-
style?: React.CSSProperties;
|
|
88
|
-
}
|
|
89
|
-
declare const PieChart: FC<PieChartProps>;
|
|
90
|
-
|
|
91
15
|
interface AccordionItem {
|
|
92
16
|
value: string;
|
|
93
17
|
trigger: string;
|
|
@@ -300,4 +224,4 @@ interface TooltipProps {
|
|
|
300
224
|
}
|
|
301
225
|
declare const Tooltip: FC<TooltipProps>;
|
|
302
226
|
|
|
303
|
-
export { Accordion, Alert,
|
|
227
|
+
export { Accordion, Alert, Avatar, Badge, Breadcrumb, Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, CopyButton, FileUpload, Input, Label, PasswordInput, Progress, RadioGroup, Select, Skeleton, Slider, Spinner, Switch, Table, TableBody, TableCell, TableHead, TableHeader, TableRow, Tabs, Textarea, ThemeProvider, Tooltip, useTheme };
|