@gomeniucivan/ui 1.0.26 → 1.0.28
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/index.cjs +2 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.js +2 -2
- package/dist/style.css +2 -2
- package/package.json +33 -33
package/dist/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
9
9
|
import { DayPicker, DayButton } from 'react-day-picker';
|
|
10
10
|
import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
11
11
|
import * as RechartsPrimitive from 'recharts';
|
|
12
|
+
import { TooltipContentProps, LegendProps } from 'recharts';
|
|
12
13
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
13
14
|
import { OTPInput } from 'input-otp';
|
|
14
15
|
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
@@ -135,7 +136,7 @@ declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryS
|
|
|
135
136
|
static getDerivedStateFromError(): ErrorBoundaryState;
|
|
136
137
|
componentDidCatch(error: Error, info: ErrorInfo): void;
|
|
137
138
|
private resetBoundary;
|
|
138
|
-
render(): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
139
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime.JSX.Element | null | undefined;
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
interface FormBlockProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
@@ -418,7 +419,7 @@ declare const ChartStyle: ({ id, config }: {
|
|
|
418
419
|
config: ChartConfig;
|
|
419
420
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
420
421
|
declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
|
|
421
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }:
|
|
422
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: TooltipContentProps<any, any> & React$1.ComponentProps<"div"> & {
|
|
422
423
|
hideLabel?: boolean;
|
|
423
424
|
hideIndicator?: boolean;
|
|
424
425
|
indicator?: "line" | "dot" | "dashed";
|
|
@@ -426,7 +427,10 @@ declare function ChartTooltipContent({ active, payload, className, indicator, hi
|
|
|
426
427
|
labelKey?: string;
|
|
427
428
|
}): react_jsx_runtime.JSX.Element | null;
|
|
428
429
|
declare const ChartLegend: typeof RechartsPrimitive.Legend;
|
|
429
|
-
|
|
430
|
+
type LegendContentProps = LegendProps extends {
|
|
431
|
+
content?: infer C;
|
|
432
|
+
} ? C extends (props: infer P) => any ? P : never : never;
|
|
433
|
+
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: LegendContentProps & React$1.ComponentProps<"div"> & {
|
|
430
434
|
hideIcon?: boolean;
|
|
431
435
|
nameKey?: string;
|
|
432
436
|
}): react_jsx_runtime.JSX.Element | null;
|