@campxdev/react-blueprint 3.0.0-alpha.9 → 3.0.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.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/types/src/shadcn-components/Charts/Chart.d.ts +8 -8
- package/dist/cjs/types/src/shadcn-components/Input/Command/Command.d.ts +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/src/shadcn-components/Charts/Chart.d.ts +8 -8
- package/dist/esm/types/src/shadcn-components/Input/Command/Command.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/styles.css +3 -4
- package/package.json +1 -1
- package/src/components/DataDisplay/DataTable/components/TableHeaders/TableActionHeader.tsx +2 -2
- package/src/components/Input/LabelWrapper/LabelWrapper.tsx +1 -1
- package/src/components/Navigation/Dialog/Dialog.tsx +1 -1
- package/src/components/Navigation/DialogButton/DialogButton.tsx +1 -1
- package/src/shadcn-components/Charts/Chart.tsx +106 -106
- package/src/shadcn-components/DataDisplay/Card/Card.tsx +1 -1
- package/src/shadcn-components/Input/Command/Command.tsx +5 -0
- package/src/shadcn-components/Input/Label/Label.tsx +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import * as RechartsPrimitive from
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RechartsPrimitive from 'recharts';
|
|
3
3
|
declare const THEMES: {
|
|
4
4
|
readonly light: "";
|
|
5
5
|
readonly dark: ".dark";
|
|
@@ -16,25 +16,25 @@ export type ChartConfig = {
|
|
|
16
16
|
theme: Record<keyof typeof THEMES, string>;
|
|
17
17
|
});
|
|
18
18
|
};
|
|
19
|
-
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<
|
|
19
|
+
declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<'div'> & {
|
|
20
20
|
config: ChartConfig;
|
|
21
|
-
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>[
|
|
21
|
+
children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
|
|
22
22
|
}): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
declare const ChartStyle: ({ id, config }: {
|
|
24
24
|
id: string;
|
|
25
25
|
config: ChartConfig;
|
|
26
26
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
28
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<
|
|
28
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<'div'> & {
|
|
29
29
|
hideLabel?: boolean;
|
|
30
30
|
hideIndicator?: boolean;
|
|
31
|
-
indicator?:
|
|
31
|
+
indicator?: 'line' | 'dot' | 'dashed';
|
|
32
32
|
nameKey?: string;
|
|
33
33
|
labelKey?: string;
|
|
34
34
|
}): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
36
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<
|
|
36
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<'div'> & Pick<RechartsPrimitive.LegendProps, 'payload' | 'verticalAlign'> & {
|
|
37
37
|
hideIcon?: boolean;
|
|
38
38
|
nameKey?: string;
|
|
39
39
|
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
-
export { ChartContainer,
|
|
40
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, };
|
|
@@ -9,7 +9,7 @@ declare function CommandDialog({ title, description, children, className, showCl
|
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
}): import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function CommandList({ className, onWheel, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|