@alpic-ai/ui 1.152.0 → 1.154.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/components/accordion-card.d.mts +4 -25
- package/dist/components/accordion.d.mts +4 -18
- package/dist/components/alert.d.mts +5 -24
- package/dist/components/area-chart.d.mts +1 -22
- package/dist/components/attachment-tile.d.mts +1 -8
- package/dist/components/avatar.d.mts +4 -27
- package/dist/components/badge.d.mts +1 -8
- package/dist/components/bar-chart.d.mts +1 -21
- package/dist/components/bar-list.d.mts +1 -13
- package/dist/components/breadcrumb.d.mts +8 -35
- package/dist/components/button.d.mts +1 -14
- package/dist/components/card.d.mts +7 -30
- package/dist/components/chart-card.d.mts +1 -12
- package/dist/components/chart-container.d.mts +1 -6
- package/dist/components/chart-legend.d.mts +1 -8
- package/dist/components/chart-tooltip.d.mts +1 -11
- package/dist/components/checkbox.d.mts +1 -5
- package/dist/components/collapsible.d.mts +3 -10
- package/dist/components/combobox.d.mts +9 -45
- package/dist/components/command.d.mts +8 -32
- package/dist/components/copyable.d.mts +2 -9
- package/dist/components/description-list.d.mts +4 -17
- package/dist/components/dialog.d.mts +10 -42
- package/dist/components/donut-chart.d.mts +1 -16
- package/dist/components/dropdown-menu.d.mts +13 -55
- package/dist/components/form.d.mts +15 -115
- package/dist/components/github-button.d.mts +1 -6
- package/dist/components/heatmap-chart.d.mts +1 -23
- package/dist/components/input-group.d.mts +3 -15
- package/dist/components/input.d.mts +1 -14
- package/dist/components/label.d.mts +1 -5
- package/dist/components/line-chart.d.mts +1 -21
- package/dist/components/page-loader.d.mts +1 -3
- package/dist/components/pagination.d.mts +1 -8
- package/dist/components/popover.d.mts +4 -16
- package/dist/components/radio-group.d.mts +2 -9
- package/dist/components/scroll-area.d.mts +2 -11
- package/dist/components/select.d.mts +8 -35
- package/dist/components/separator.d.mts +1 -7
- package/dist/components/sheet.d.mts +9 -35
- package/dist/components/shimmer-text.d.mts +1 -5
- package/dist/components/sidebar.d.mts +22 -113
- package/dist/components/skeleton.d.mts +1 -6
- package/dist/components/sonner.d.mts +1 -8
- package/dist/components/spinner.d.mts +2 -14
- package/dist/components/stat.d.mts +1 -10
- package/dist/components/stat.mjs +2 -2
- package/dist/components/status-dot.d.mts +1 -7
- package/dist/components/switch.d.mts +1 -5
- package/dist/components/table.d.mts +11 -34
- package/dist/components/table.mjs +2 -2
- package/dist/components/tabs.d.mts +7 -36
- package/dist/components/tag.d.mts +3 -20
- package/dist/components/task-progress.d.mts +1 -7
- package/dist/components/textarea.d.mts +1 -11
- package/dist/components/toggle-group.d.mts +2 -15
- package/dist/components/tooltip-icon-button.d.mts +0 -1
- package/dist/components/tooltip.d.mts +4 -17
- package/dist/components/typography.d.mts +4 -17
- package/dist/components/wizard.d.mts +1 -7
- package/dist/hooks/use-copy-to-clipboard.d.mts +1 -3
- package/dist/lib/chart-palette.mjs +39 -21
- package/dist/lib/chart.d.mts +1 -0
- package/dist/lib/cn.d.mts +0 -1
- package/package.json +19 -19
- package/src/components/stat.tsx +2 -2
- package/src/components/table.tsx +11 -2
|
@@ -1,40 +1,19 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/accordion-card.d.ts
|
|
5
|
-
declare function AccordionCard({
|
|
6
|
-
defaultOpen,
|
|
7
|
-
open,
|
|
8
|
-
onOpenChange,
|
|
9
|
-
disabled,
|
|
10
|
-
className,
|
|
11
|
-
children,
|
|
12
|
-
...props
|
|
13
|
-
}: {
|
|
4
|
+
declare function AccordionCard({ defaultOpen, open, onOpenChange, disabled, className, children, ...props }: {
|
|
14
5
|
defaultOpen?: boolean;
|
|
15
6
|
open?: boolean;
|
|
16
7
|
onOpenChange?: (nextOpen: boolean) => void;
|
|
17
8
|
disabled?: boolean;
|
|
18
9
|
} & Omit<React$1.ComponentProps<typeof AccordionPrimitive.Root>, "type" | "collapsible" | "defaultValue" | "value" | "onValueChange" | "disabled">): React$1.JSX.Element;
|
|
19
|
-
declare function AccordionCardHeader({
|
|
20
|
-
|
|
21
|
-
children,
|
|
22
|
-
...props
|
|
23
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
24
|
-
declare function AccordionCardTitle({
|
|
25
|
-
className,
|
|
26
|
-
children,
|
|
27
|
-
...props
|
|
28
|
-
}: React$1.HTMLAttributes<HTMLHeadingElement>): React$1.JSX.Element;
|
|
10
|
+
declare function AccordionCardHeader({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
11
|
+
declare function AccordionCardTitle({ className, children, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): React$1.JSX.Element;
|
|
29
12
|
/**
|
|
30
13
|
* `className` is forwarded to the inner padding wrapper, not the Radix Content root.
|
|
31
14
|
* The root always applies overflow-hidden and the accordion animations.
|
|
32
15
|
* To override overflow or animation behavior, wrap this component in an additional element.
|
|
33
16
|
*/
|
|
34
|
-
declare function AccordionCardContent({
|
|
35
|
-
className,
|
|
36
|
-
children,
|
|
37
|
-
...props
|
|
38
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
17
|
+
declare function AccordionCardContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
39
18
|
//#endregion
|
|
40
19
|
export { AccordionCard, AccordionCardContent, AccordionCardHeader, AccordionCardTitle };
|
|
@@ -1,28 +1,14 @@
|
|
|
1
1
|
import * as AccordionPrimitive from "@radix-ui/react-accordion";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/accordion.d.ts
|
|
5
|
-
declare function Accordion({
|
|
6
|
-
|
|
7
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.
|
|
8
|
-
declare function AccordionItem({
|
|
9
|
-
className,
|
|
10
|
-
...props
|
|
11
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Item>): React$1.JSX.Element;
|
|
12
|
-
declare function AccordionTrigger({
|
|
13
|
-
className,
|
|
14
|
-
children,
|
|
15
|
-
...props
|
|
16
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
4
|
+
declare function Accordion({ ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root>): React$1.JSX.Element;
|
|
5
|
+
declare function AccordionItem({ className, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): React$1.JSX.Element;
|
|
6
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): React$1.JSX.Element;
|
|
17
7
|
/**
|
|
18
8
|
* `className` is forwarded to the inner padding wrapper, not the Radix Content root.
|
|
19
9
|
* The root always applies overflow-hidden and the accordion animations.
|
|
20
10
|
* To override overflow or animation behavior, wrap this component in an additional element.
|
|
21
11
|
*/
|
|
22
|
-
declare function AccordionContent({
|
|
23
|
-
className,
|
|
24
|
-
children,
|
|
25
|
-
...props
|
|
26
|
-
}: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
12
|
+
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content>): React$1.JSX.Element;
|
|
27
13
|
//#endregion
|
|
28
14
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
|
@@ -1,38 +1,19 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/alert.d.ts
|
|
5
4
|
declare const alertVariants: (props?: ({
|
|
6
5
|
variant?: "default" | "destructive" | "warning" | "success" | null | undefined;
|
|
7
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
7
|
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {}
|
|
9
|
-
declare function Alert({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
...props
|
|
13
|
-
}: AlertProps): React$1.JSX.Element;
|
|
14
|
-
declare function AlertTitle({
|
|
15
|
-
className,
|
|
16
|
-
...props
|
|
17
|
-
}: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
18
|
-
declare function AlertDescription({
|
|
19
|
-
className,
|
|
20
|
-
...props
|
|
21
|
-
}: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
8
|
+
declare function Alert({ className, variant, ...props }: AlertProps): React$1.JSX.Element;
|
|
9
|
+
declare function AlertTitle({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): React$1.JSX.Element;
|
|
10
|
+
declare function AlertDescription({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): React$1.JSX.Element;
|
|
22
11
|
interface ConvenienceAlertProps {
|
|
23
12
|
title?: string;
|
|
24
13
|
description?: React$1.ReactNode;
|
|
25
14
|
className?: string;
|
|
26
15
|
}
|
|
27
|
-
declare function ErrorAlert({
|
|
28
|
-
|
|
29
|
-
description,
|
|
30
|
-
className
|
|
31
|
-
}: ConvenienceAlertProps): React$1.JSX.Element;
|
|
32
|
-
declare function WarningAlert({
|
|
33
|
-
title,
|
|
34
|
-
description,
|
|
35
|
-
className
|
|
36
|
-
}: ConvenienceAlertProps): React$1.JSX.Element;
|
|
16
|
+
declare function ErrorAlert({ title, description, className }: ConvenienceAlertProps): React$1.JSX.Element;
|
|
17
|
+
declare function WarningAlert({ title, description, className }: ConvenienceAlertProps): React$1.JSX.Element;
|
|
37
18
|
//#endregion
|
|
38
19
|
export { Alert, AlertDescription, AlertTitle, ErrorAlert, WarningAlert };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ChartSeries } from "../lib/chart.mjs";
|
|
2
2
|
import { ChartPaletteName } from "../lib/chart-palette.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/area-chart.d.ts
|
|
6
5
|
declare const CURVE_TYPE: {
|
|
7
6
|
readonly monotone: "monotone";
|
|
@@ -39,26 +38,6 @@ interface AreaChartProps {
|
|
|
39
38
|
labelFormatter?: (label: string | number) => string;
|
|
40
39
|
className?: string;
|
|
41
40
|
}
|
|
42
|
-
declare function AreaChart({
|
|
43
|
-
data,
|
|
44
|
-
index,
|
|
45
|
-
series,
|
|
46
|
-
variant,
|
|
47
|
-
curve,
|
|
48
|
-
legend,
|
|
49
|
-
legendAlign,
|
|
50
|
-
valueFlags,
|
|
51
|
-
height,
|
|
52
|
-
yAxisWidth,
|
|
53
|
-
palette,
|
|
54
|
-
referenceLine,
|
|
55
|
-
markers,
|
|
56
|
-
lastValueLabel,
|
|
57
|
-
texture,
|
|
58
|
-
loading,
|
|
59
|
-
valueFormatter,
|
|
60
|
-
labelFormatter,
|
|
61
|
-
className
|
|
62
|
-
}: AreaChartProps): React$1.JSX.Element;
|
|
41
|
+
declare function AreaChart({ data, index, series, variant, curve, legend, legendAlign, valueFlags, height, yAxisWidth, palette, referenceLine, markers, lastValueLabel, texture, loading, valueFormatter, labelFormatter, className }: AreaChartProps): React$1.JSX.Element;
|
|
63
42
|
//#endregion
|
|
64
43
|
export { AreaChart, AreaChartProps, ChartMarker };
|
|
@@ -12,13 +12,6 @@ interface AttachmentTileProps {
|
|
|
12
12
|
onClick?: () => void;
|
|
13
13
|
className?: string;
|
|
14
14
|
}
|
|
15
|
-
declare function AttachmentTile({
|
|
16
|
-
src,
|
|
17
|
-
isImage,
|
|
18
|
-
label,
|
|
19
|
-
onRemove,
|
|
20
|
-
onClick,
|
|
21
|
-
className
|
|
22
|
-
}: AttachmentTileProps): import("react").JSX.Element;
|
|
15
|
+
declare function AttachmentTile({ src, isImage, label, onRemove, onClick, className }: AttachmentTileProps): import("react").JSX.Element;
|
|
23
16
|
//#endregion
|
|
24
17
|
export { AttachmentTile, type AttachmentTileProps };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
|
-
|
|
5
4
|
//#region src/components/avatar.d.ts
|
|
6
5
|
declare const avatarVariants: (props?: ({
|
|
7
6
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
@@ -11,21 +10,9 @@ type AvatarStatus = "online";
|
|
|
11
10
|
interface AvatarProps extends React$1.ComponentProps<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
12
11
|
status?: AvatarStatus;
|
|
13
12
|
}
|
|
14
|
-
declare function Avatar({
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
className,
|
|
18
|
-
children,
|
|
19
|
-
...props
|
|
20
|
-
}: AvatarProps): React$1.JSX.Element;
|
|
21
|
-
declare function AvatarImage({
|
|
22
|
-
className,
|
|
23
|
-
...props
|
|
24
|
-
}: React$1.ComponentProps<typeof AvatarPrimitive.Image>): React$1.JSX.Element;
|
|
25
|
-
declare function AvatarFallback({
|
|
26
|
-
className,
|
|
27
|
-
...props
|
|
28
|
-
}: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): React$1.JSX.Element;
|
|
13
|
+
declare function Avatar({ size, status, className, children, ...props }: AvatarProps): React$1.JSX.Element;
|
|
14
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): React$1.JSX.Element;
|
|
15
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): React$1.JSX.Element;
|
|
29
16
|
interface AvatarLabelGroupProps extends React$1.ComponentProps<"div"> {
|
|
30
17
|
size?: "sm" | "md";
|
|
31
18
|
src?: string;
|
|
@@ -35,16 +22,6 @@ interface AvatarLabelGroupProps extends React$1.ComponentProps<"div"> {
|
|
|
35
22
|
label?: string;
|
|
36
23
|
status?: AvatarStatus;
|
|
37
24
|
}
|
|
38
|
-
declare function AvatarLabelGroup({
|
|
39
|
-
size,
|
|
40
|
-
src,
|
|
41
|
-
alt,
|
|
42
|
-
fallback,
|
|
43
|
-
name,
|
|
44
|
-
label,
|
|
45
|
-
status,
|
|
46
|
-
className,
|
|
47
|
-
...props
|
|
48
|
-
}: AvatarLabelGroupProps): React$1.JSX.Element;
|
|
25
|
+
declare function AvatarLabelGroup({ size, src, alt, fallback, name, label, status, className, ...props }: AvatarLabelGroupProps): React$1.JSX.Element;
|
|
49
26
|
//#endregion
|
|
50
27
|
export { Avatar, AvatarFallback, AvatarImage, AvatarLabelGroup, type AvatarSize, type AvatarStatus };
|
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
|
|
3
2
|
//#region src/components/badge.d.ts
|
|
4
3
|
declare const badgeVariants: (props?: ({
|
|
5
4
|
variant?: "warning" | "success" | "secondary" | "primary" | "error" | null | undefined;
|
|
6
5
|
size?: "sm" | "md" | null | undefined;
|
|
7
6
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
7
|
interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {}
|
|
9
|
-
declare function Badge({
|
|
10
|
-
className,
|
|
11
|
-
variant,
|
|
12
|
-
size,
|
|
13
|
-
children,
|
|
14
|
-
...props
|
|
15
|
-
}: BadgeProps): import("react").JSX.Element;
|
|
8
|
+
declare function Badge({ className, variant, size, children, ...props }: BadgeProps): import("react").JSX.Element;
|
|
16
9
|
type BadgeVariant = NonNullable<VariantProps<typeof badgeVariants>["variant"]>;
|
|
17
10
|
//#endregion
|
|
18
11
|
export { Badge, type BadgeVariant, badgeVariants };
|
|
@@ -2,7 +2,6 @@ import { ChartSeries } from "../lib/chart.mjs";
|
|
|
2
2
|
import { ChartPaletteName } from "../lib/chart-palette.mjs";
|
|
3
3
|
import { ChartMarker } from "./area-chart.mjs";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
|
-
|
|
6
5
|
//#region src/components/bar-chart.d.ts
|
|
7
6
|
interface BarChartProps {
|
|
8
7
|
data: ReadonlyArray<Record<string, string | number | null | undefined>>;
|
|
@@ -28,25 +27,6 @@ interface BarChartProps {
|
|
|
28
27
|
labelFormatter?: (label: string | number) => string;
|
|
29
28
|
className?: string;
|
|
30
29
|
}
|
|
31
|
-
declare function BarChart({
|
|
32
|
-
data,
|
|
33
|
-
index,
|
|
34
|
-
series,
|
|
35
|
-
variant,
|
|
36
|
-
legend,
|
|
37
|
-
legendAlign,
|
|
38
|
-
valueLabels,
|
|
39
|
-
height,
|
|
40
|
-
yAxisWidth,
|
|
41
|
-
palette,
|
|
42
|
-
referenceLine,
|
|
43
|
-
markers,
|
|
44
|
-
texture,
|
|
45
|
-
partialLastBar,
|
|
46
|
-
loading,
|
|
47
|
-
valueFormatter,
|
|
48
|
-
labelFormatter,
|
|
49
|
-
className
|
|
50
|
-
}: BarChartProps): React$1.JSX.Element;
|
|
30
|
+
declare function BarChart({ data, index, series, variant, legend, legendAlign, valueLabels, height, yAxisWidth, palette, referenceLine, markers, texture, partialLastBar, loading, valueFormatter, labelFormatter, className }: BarChartProps): React$1.JSX.Element;
|
|
51
31
|
//#endregion
|
|
52
32
|
export { BarChart, BarChartProps };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChartPaletteName } from "../lib/chart-palette.mjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/bar-list.d.ts
|
|
5
4
|
interface BarListProps {
|
|
6
5
|
data: ReadonlyArray<Record<string, string | number | null | undefined>>;
|
|
@@ -15,17 +14,6 @@ interface BarListProps {
|
|
|
15
14
|
labelFormatter?: (label: string | number) => string;
|
|
16
15
|
className?: string;
|
|
17
16
|
}
|
|
18
|
-
declare function BarList({
|
|
19
|
-
data,
|
|
20
|
-
index,
|
|
21
|
-
dataKey,
|
|
22
|
-
maxItems,
|
|
23
|
-
palette,
|
|
24
|
-
semantic,
|
|
25
|
-
loading,
|
|
26
|
-
valueFormatter,
|
|
27
|
-
labelFormatter,
|
|
28
|
-
className
|
|
29
|
-
}: BarListProps): React$1.JSX.Element;
|
|
17
|
+
declare function BarList({ data, index, dataKey, maxItems, palette, semantic, loading, valueFormatter, labelFormatter, className }: BarListProps): React$1.JSX.Element;
|
|
30
18
|
//#endregion
|
|
31
19
|
export { BarList, BarListProps };
|
|
@@ -1,41 +1,14 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/breadcrumb.d.ts
|
|
4
|
-
declare function Breadcrumb({
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}: React$1.ComponentProps<"
|
|
8
|
-
declare function BreadcrumbList({
|
|
9
|
-
className,
|
|
10
|
-
...props
|
|
11
|
-
}: React$1.ComponentProps<"ol">): React$1.JSX.Element;
|
|
12
|
-
declare function BreadcrumbItem({
|
|
13
|
-
className,
|
|
14
|
-
...props
|
|
15
|
-
}: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
16
|
-
declare function BreadcrumbLink({
|
|
17
|
-
asChild,
|
|
18
|
-
className,
|
|
19
|
-
...props
|
|
20
|
-
}: React$1.ComponentProps<"a"> & {
|
|
3
|
+
declare function Breadcrumb({ className, ...props }: React$1.ComponentProps<"nav">): React$1.JSX.Element;
|
|
4
|
+
declare function BreadcrumbList({ className, ...props }: React$1.ComponentProps<"ol">): React$1.JSX.Element;
|
|
5
|
+
declare function BreadcrumbItem({ className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
6
|
+
declare function BreadcrumbLink({ asChild, className, ...props }: React$1.ComponentProps<"a"> & {
|
|
21
7
|
asChild?: boolean;
|
|
22
8
|
}): React$1.JSX.Element;
|
|
23
|
-
declare function BreadcrumbPage({
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
27
|
-
declare function BreadcrumbSeparator({
|
|
28
|
-
children,
|
|
29
|
-
className,
|
|
30
|
-
...props
|
|
31
|
-
}: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
32
|
-
declare function BreadcrumbChevron({
|
|
33
|
-
className,
|
|
34
|
-
...props
|
|
35
|
-
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
36
|
-
declare function BreadcrumbEllipsis({
|
|
37
|
-
className,
|
|
38
|
-
...props
|
|
39
|
-
}: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
9
|
+
declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
10
|
+
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): React$1.JSX.Element;
|
|
11
|
+
declare function BreadcrumbChevron({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
12
|
+
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): React$1.JSX.Element;
|
|
40
13
|
//#endregion
|
|
41
14
|
export { Breadcrumb, BreadcrumbChevron, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/button.d.ts
|
|
5
4
|
declare const buttonVariants: (props?: ({
|
|
6
5
|
variant?: "destructive" | "secondary" | "primary" | "tertiary" | "link" | "link-muted" | "cta" | null | undefined;
|
|
@@ -12,18 +11,6 @@ interface ButtonProps extends React$1.ComponentProps<"button">, VariantProps<typ
|
|
|
12
11
|
icon?: React$1.ReactNode;
|
|
13
12
|
iconTrailing?: React$1.ReactNode;
|
|
14
13
|
}
|
|
15
|
-
declare function Button({
|
|
16
|
-
className,
|
|
17
|
-
variant,
|
|
18
|
-
size,
|
|
19
|
-
type,
|
|
20
|
-
asChild,
|
|
21
|
-
loading,
|
|
22
|
-
icon,
|
|
23
|
-
iconTrailing,
|
|
24
|
-
disabled,
|
|
25
|
-
children,
|
|
26
|
-
...props
|
|
27
|
-
}: ButtonProps): React$1.JSX.Element;
|
|
14
|
+
declare function Button({ className, variant, size, type, asChild, loading, icon, iconTrailing, disabled, children, ...props }: ButtonProps): React$1.JSX.Element;
|
|
28
15
|
//#endregion
|
|
29
16
|
export { Button, type ButtonProps, buttonVariants };
|
|
@@ -1,36 +1,13 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/card.d.ts
|
|
4
|
-
declare function Card({
|
|
5
|
-
className,
|
|
6
|
-
hoverable,
|
|
7
|
-
...props
|
|
8
|
-
}: React$1.ComponentProps<"div"> & {
|
|
3
|
+
declare function Card({ className, hoverable, ...props }: React$1.ComponentProps<"div"> & {
|
|
9
4
|
hoverable?: boolean;
|
|
10
5
|
}): React$1.JSX.Element;
|
|
11
|
-
declare function CardHeader({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
15
|
-
declare function
|
|
16
|
-
|
|
17
|
-
...props
|
|
18
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
19
|
-
declare function CardDescription({
|
|
20
|
-
className,
|
|
21
|
-
...props
|
|
22
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
23
|
-
declare function CardAction({
|
|
24
|
-
className,
|
|
25
|
-
...props
|
|
26
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
27
|
-
declare function CardContent({
|
|
28
|
-
className,
|
|
29
|
-
...props
|
|
30
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
31
|
-
declare function CardFooter({
|
|
32
|
-
className,
|
|
33
|
-
...props
|
|
34
|
-
}: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
6
|
+
declare function CardHeader({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
7
|
+
declare function CardTitle({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
8
|
+
declare function CardDescription({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
9
|
+
declare function CardAction({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
10
|
+
declare function CardContent({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
11
|
+
declare function CardFooter({ className, ...props }: React$1.ComponentProps<"div">): React$1.JSX.Element;
|
|
35
12
|
//#endregion
|
|
36
13
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ChartPaletteName } from "../lib/chart-palette.mjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/chart-card.d.ts
|
|
5
4
|
interface ChartCardProps extends Omit<React$1.ComponentProps<"section">, "title"> {
|
|
6
5
|
palette?: ChartPaletteName;
|
|
@@ -10,16 +9,6 @@ interface ChartCardProps extends Omit<React$1.ComponentProps<"section">, "title"
|
|
|
10
9
|
action?: React$1.ReactNode;
|
|
11
10
|
accent?: "top" | "left" | "none";
|
|
12
11
|
}
|
|
13
|
-
declare function ChartCard({
|
|
14
|
-
palette,
|
|
15
|
-
kicker,
|
|
16
|
-
title,
|
|
17
|
-
description,
|
|
18
|
-
action,
|
|
19
|
-
accent,
|
|
20
|
-
className,
|
|
21
|
-
children,
|
|
22
|
-
...props
|
|
23
|
-
}: ChartCardProps): React$1.JSX.Element;
|
|
12
|
+
declare function ChartCard({ palette, kicker, title, description, action, accent, className, children, ...props }: ChartCardProps): React$1.JSX.Element;
|
|
24
13
|
//#endregion
|
|
25
14
|
export { ChartCard, ChartCardProps };
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
import { ChartTheme } from "../hooks/use-chart-theme.mjs";
|
|
2
2
|
import { ChartPaletteName } from "../lib/chart-palette.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
|
|
5
4
|
//#region src/components/chart-container.d.ts
|
|
6
5
|
interface ChartContextValue {
|
|
7
6
|
palette: readonly string[];
|
|
8
7
|
paletteName: ChartPaletteName;
|
|
9
8
|
theme: ChartTheme;
|
|
10
9
|
}
|
|
11
|
-
declare function ChartContainer({
|
|
12
|
-
palette,
|
|
13
|
-
className,
|
|
14
|
-
...props
|
|
15
|
-
}: React$1.ComponentProps<"div"> & {
|
|
10
|
+
declare function ChartContainer({ palette, className, ...props }: React$1.ComponentProps<"div"> & {
|
|
16
11
|
palette?: ChartPaletteName;
|
|
17
12
|
}): React$1.JSX.Element;
|
|
18
13
|
declare function useChartContext(paletteOverride?: ChartPaletteName): ChartContextValue;
|
|
@@ -9,13 +9,6 @@ interface ChartLegendProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
9
9
|
align?: "left" | "center" | "right";
|
|
10
10
|
insetLeft?: number;
|
|
11
11
|
}
|
|
12
|
-
declare function ChartLegend({
|
|
13
|
-
items,
|
|
14
|
-
align,
|
|
15
|
-
insetLeft,
|
|
16
|
-
className,
|
|
17
|
-
style,
|
|
18
|
-
...props
|
|
19
|
-
}: ChartLegendProps): import("react").JSX.Element;
|
|
12
|
+
declare function ChartLegend({ items, align, insetLeft, className, style, ...props }: ChartLegendProps): import("react").JSX.Element;
|
|
20
13
|
//#endregion
|
|
21
14
|
export { ChartLegend, ChartLegendItem, ChartLegendProps };
|
|
@@ -18,16 +18,6 @@ interface ChartTooltipContentProps {
|
|
|
18
18
|
totalLabel?: string;
|
|
19
19
|
className?: string;
|
|
20
20
|
}
|
|
21
|
-
declare function ChartTooltipContent({
|
|
22
|
-
active,
|
|
23
|
-
payload,
|
|
24
|
-
label,
|
|
25
|
-
valueFormatter,
|
|
26
|
-
labelFormatter,
|
|
27
|
-
hideLabel,
|
|
28
|
-
showTotal,
|
|
29
|
-
totalLabel,
|
|
30
|
-
className
|
|
31
|
-
}: ChartTooltipContentProps): import("react").JSX.Element | null;
|
|
21
|
+
declare function ChartTooltipContent({ active, payload, label, valueFormatter, labelFormatter, hideLabel, showTotal, totalLabel, className }: ChartTooltipContentProps): import("react").JSX.Element | null;
|
|
32
22
|
//#endregion
|
|
33
23
|
export { ChartTooltipContent, ChartTooltipContentProps, ChartTooltipItem };
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
|
|
3
|
-
|
|
4
3
|
//#region src/components/checkbox.d.ts
|
|
5
|
-
declare function Checkbox({
|
|
6
|
-
className,
|
|
7
|
-
...props
|
|
8
|
-
}: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): React$1.JSX.Element;
|
|
4
|
+
declare function Checkbox({ className, ...props }: React$1.ComponentProps<typeof CheckboxPrimitive.Root>): React$1.JSX.Element;
|
|
9
5
|
//#endregion
|
|
10
6
|
export { Checkbox };
|
|
@@ -1,15 +1,8 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
3
|
-
|
|
4
3
|
//#region src/components/collapsible.d.ts
|
|
5
|
-
declare function Collapsible({
|
|
6
|
-
|
|
7
|
-
}: React$1.ComponentProps<typeof CollapsiblePrimitive.
|
|
8
|
-
declare function CollapsibleTrigger({
|
|
9
|
-
...props
|
|
10
|
-
}: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React$1.JSX.Element;
|
|
11
|
-
declare function CollapsibleContent({
|
|
12
|
-
...props
|
|
13
|
-
}: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React$1.JSX.Element;
|
|
4
|
+
declare function Collapsible({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.Root>): React$1.JSX.Element;
|
|
5
|
+
declare function CollapsibleTrigger({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): React$1.JSX.Element;
|
|
6
|
+
declare function CollapsibleContent({ ...props }: React$1.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): React$1.JSX.Element;
|
|
14
7
|
//#endregion
|
|
15
8
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -3,7 +3,6 @@ import { selectTriggerVariants } from "./select-trigger-variants.mjs";
|
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { Command } from "cmdk";
|
|
6
|
-
|
|
7
6
|
//#region src/components/combobox.d.ts
|
|
8
7
|
interface ComboboxBaseProps {
|
|
9
8
|
children: ReactNode;
|
|
@@ -30,58 +29,23 @@ declare function Combobox(props: ComboboxProps): import("react").JSX.Element;
|
|
|
30
29
|
interface ComboboxTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size">, VariantProps<typeof selectTriggerVariants> {
|
|
31
30
|
placeholder?: string;
|
|
32
31
|
}
|
|
33
|
-
declare function ComboboxTrigger({
|
|
34
|
-
className,
|
|
35
|
-
size,
|
|
36
|
-
placeholder,
|
|
37
|
-
children,
|
|
38
|
-
...props
|
|
39
|
-
}: ComboboxTriggerProps): import("react").JSX.Element;
|
|
32
|
+
declare function ComboboxTrigger({ className, size, placeholder, children, ...props }: ComboboxTriggerProps): import("react").JSX.Element;
|
|
40
33
|
interface ComboboxContentProps extends React.ComponentProps<typeof PopoverContent> {
|
|
41
34
|
className?: string;
|
|
42
35
|
children?: ReactNode;
|
|
43
36
|
filter?: React.ComponentProps<typeof Command>["filter"];
|
|
44
37
|
}
|
|
45
|
-
declare function ComboboxContent({
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
}:
|
|
51
|
-
declare function ComboboxSearch({
|
|
52
|
-
className,
|
|
53
|
-
...props
|
|
54
|
-
}: React.ComponentProps<typeof Command.Input>): import("react").JSX.Element;
|
|
55
|
-
declare function ComboboxList({
|
|
56
|
-
className,
|
|
57
|
-
...props
|
|
58
|
-
}: React.ComponentProps<typeof Command.List>): import("react").JSX.Element;
|
|
59
|
-
declare function ComboboxEmpty({
|
|
60
|
-
className,
|
|
61
|
-
...props
|
|
62
|
-
}: React.ComponentProps<typeof Command.Empty>): import("react").JSX.Element;
|
|
63
|
-
declare function ComboboxGroup({
|
|
64
|
-
className,
|
|
65
|
-
...props
|
|
66
|
-
}: React.ComponentProps<typeof Command.Group>): import("react").JSX.Element;
|
|
67
|
-
declare function ComboboxSeparator({
|
|
68
|
-
className,
|
|
69
|
-
...props
|
|
70
|
-
}: React.ComponentProps<typeof Command.Separator>): import("react").JSX.Element;
|
|
38
|
+
declare function ComboboxContent({ className, children, filter, ...props }: ComboboxContentProps): import("react").JSX.Element;
|
|
39
|
+
declare function ComboboxSearch({ className, ...props }: React.ComponentProps<typeof Command.Input>): import("react").JSX.Element;
|
|
40
|
+
declare function ComboboxList({ className, ...props }: React.ComponentProps<typeof Command.List>): import("react").JSX.Element;
|
|
41
|
+
declare function ComboboxEmpty({ className, ...props }: React.ComponentProps<typeof Command.Empty>): import("react").JSX.Element;
|
|
42
|
+
declare function ComboboxGroup({ className, ...props }: React.ComponentProps<typeof Command.Group>): import("react").JSX.Element;
|
|
43
|
+
declare function ComboboxSeparator({ className, ...props }: React.ComponentProps<typeof Command.Separator>): import("react").JSX.Element;
|
|
71
44
|
interface ComboboxItemProps extends Omit<React.ComponentProps<typeof Command.Item>, "onSelect"> {
|
|
72
45
|
/** The value stored when this item is selected */
|
|
73
46
|
itemValue: string;
|
|
74
47
|
}
|
|
75
|
-
declare function ComboboxItem({
|
|
76
|
-
|
|
77
|
-
children,
|
|
78
|
-
itemValue,
|
|
79
|
-
...props
|
|
80
|
-
}: ComboboxItemProps): import("react").JSX.Element;
|
|
81
|
-
declare function ComboboxItemText({
|
|
82
|
-
className,
|
|
83
|
-
children,
|
|
84
|
-
...props
|
|
85
|
-
}: React.HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
48
|
+
declare function ComboboxItem({ className, children, itemValue, ...props }: ComboboxItemProps): import("react").JSX.Element;
|
|
49
|
+
declare function ComboboxItemText({ className, children, ...props }: React.HTMLAttributes<HTMLSpanElement>): import("react").JSX.Element;
|
|
86
50
|
//#endregion
|
|
87
51
|
export { Combobox, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxItem, ComboboxItemText, ComboboxList, ComboboxSearch, ComboboxSeparator, ComboboxTrigger };
|