florixui 1.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.
Files changed (50) hide show
  1. package/README.md +919 -0
  2. package/dist/components/custom/actions-menu.d.ts +41 -0
  3. package/dist/components/custom/advanced-input.d.ts +39 -0
  4. package/dist/components/custom/advanced-select.d.ts +67 -0
  5. package/dist/components/custom/data-table.d.ts +38 -0
  6. package/dist/components/custom/date-time-range-picker-utils.d.ts +32 -0
  7. package/dist/components/custom/date-time-range-picker.d.ts +15 -0
  8. package/dist/components/ui/alert-dialog.d.ts +18 -0
  9. package/dist/components/ui/alert.d.ts +10 -0
  10. package/dist/components/ui/badge.d.ts +9 -0
  11. package/dist/components/ui/button-group.d.ts +11 -0
  12. package/dist/components/ui/button.d.ts +10 -0
  13. package/dist/components/ui/calendar.d.ts +10 -0
  14. package/dist/components/ui/card.d.ts +11 -0
  15. package/dist/components/ui/chart.d.ts +44 -0
  16. package/dist/components/ui/checkbox.d.ts +4 -0
  17. package/dist/components/ui/command.d.ts +18 -0
  18. package/dist/components/ui/dialog.d.ts +17 -0
  19. package/dist/components/ui/dropdown-menu.d.ts +29 -0
  20. package/dist/components/ui/field.d.ts +24 -0
  21. package/dist/components/ui/hover-card.d.ts +6 -0
  22. package/dist/components/ui/input-group.d.ts +16 -0
  23. package/dist/components/ui/input.d.ts +3 -0
  24. package/dist/components/ui/item.d.ts +23 -0
  25. package/dist/components/ui/label.d.ts +4 -0
  26. package/dist/components/ui/map.d.ts +278 -0
  27. package/dist/components/ui/popover.d.ts +10 -0
  28. package/dist/components/ui/progress.d.ts +4 -0
  29. package/dist/components/ui/radio-group.d.ts +5 -0
  30. package/dist/components/ui/select.d.ts +15 -0
  31. package/dist/components/ui/separator.d.ts +4 -0
  32. package/dist/components/ui/sheet.d.ts +14 -0
  33. package/dist/components/ui/slider.d.ts +4 -0
  34. package/dist/components/ui/sonner.d.ts +3 -0
  35. package/dist/components/ui/spinner.d.ts +2 -0
  36. package/dist/components/ui/stepper.d.ts +27 -0
  37. package/dist/components/ui/switch.d.ts +6 -0
  38. package/dist/components/ui/table.d.ts +10 -0
  39. package/dist/components/ui/tabs.d.ts +11 -0
  40. package/dist/components/ui/textarea.d.ts +3 -0
  41. package/dist/components/ui/timeline.d.ts +25 -0
  42. package/dist/components/ui/toggle-group.d.ts +10 -0
  43. package/dist/components/ui/toggle.d.ts +9 -0
  44. package/dist/components/ui/tooltip.d.ts +7 -0
  45. package/dist/index.d.ts +44 -0
  46. package/dist/index.js +3638 -0
  47. package/dist/index.js.map +1 -0
  48. package/dist/lib/utils.d.ts +2 -0
  49. package/dist/styles.css +2 -0
  50. package/package.json +104 -0
@@ -0,0 +1,41 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ import * as React from "react";
3
+ /** A clickable action row. */
4
+ export interface ActionsMenuAction {
5
+ type?: "action";
6
+ label: React.ReactNode;
7
+ icon?: LucideIcon;
8
+ onSelect?: () => void;
9
+ /** Keyboard shortcut hint shown on the right (e.g. "⌘C"). */
10
+ shortcut?: string;
11
+ destructive?: boolean;
12
+ disabled?: boolean;
13
+ }
14
+ /** A non-clickable section heading. */
15
+ export interface ActionsMenuLabelItem {
16
+ type: "label";
17
+ label: React.ReactNode;
18
+ }
19
+ /** A divider between groups. */
20
+ export interface ActionsMenuSeparator {
21
+ type: "separator";
22
+ }
23
+ export type ActionsMenuItem = ActionsMenuAction | ActionsMenuLabelItem | ActionsMenuSeparator;
24
+ export interface ActionsMenuProps {
25
+ items: ActionsMenuItem[];
26
+ /** Custom trigger element (overrides the default icon button). */
27
+ trigger?: React.ReactNode;
28
+ /** Trigger icon for the default button. Defaults to a vertical kebab. */
29
+ triggerIcon?: LucideIcon;
30
+ /** Visually-hidden trigger label for screen readers. */
31
+ triggerLabel?: string;
32
+ /** Width of the dropdown content. Defaults to "10rem". */
33
+ width?: string;
34
+ align?: "start" | "center" | "end";
35
+ /** Class applied to the default trigger button. */
36
+ className?: string;
37
+ /** Controlled open state. */
38
+ open?: boolean;
39
+ onOpenChange?: (open: boolean) => void;
40
+ }
41
+ export declare function ActionsMenu({ items, trigger, triggerIcon: TriggerIcon, triggerLabel, width, align, className, open, onOpenChange, }: ActionsMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,39 @@
1
+ import * as React from "react";
2
+ type BaseProps = {
3
+ /** Label rendered above the control. */
4
+ label?: React.ReactNode;
5
+ /** Muted helper text rendered below the field (always visible). */
6
+ description?: React.ReactNode;
7
+ /** Marks the field as invalid (forced true when `errorMessage` is set). */
8
+ error?: boolean;
9
+ /** Message shown below the control when in an error state. */
10
+ errorMessage?: string;
11
+ /** Hint shown below the control when NOT in an error state. */
12
+ helperText?: string;
13
+ /** Adds a red asterisk after the label. */
14
+ required?: boolean;
15
+ size?: "sm" | "default";
16
+ /** `default` uses the input background; `alt` uses the muted background. */
17
+ variant?: "default" | "alt";
18
+ /** Icon rendered inside the control, on the left. */
19
+ leftIcon?: React.ReactNode;
20
+ /** Icon rendered inside the control, on the right. */
21
+ rightIcon?: React.ReactNode;
22
+ /** Affix rendered as an attached segment before the input (input-group). */
23
+ startItem?: React.ReactNode;
24
+ /** Affix rendered as an attached segment after the input (input-group). */
25
+ endItem?: React.ReactNode;
26
+ /** Replaces the left icon with a spinner while true. */
27
+ loading?: boolean;
28
+ /** Class for the outer wrapper element. */
29
+ wrapperClassName?: string;
30
+ };
31
+ type InputProps = BaseProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & {
32
+ as?: "input";
33
+ };
34
+ type TextareaProps = BaseProps & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & {
35
+ as: "textarea";
36
+ };
37
+ export type AdvancedInputProps = InputProps | TextareaProps;
38
+ export declare const AdvancedInput: React.ForwardRefExoticComponent<AdvancedInputProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
39
+ export {};
@@ -0,0 +1,67 @@
1
+ import * as React from "react";
2
+ export interface AdvancedSelectOption {
3
+ value: string;
4
+ label: string;
5
+ description?: string;
6
+ icon?: React.ReactNode;
7
+ image?: string;
8
+ disabled?: boolean;
9
+ badge?: string;
10
+ }
11
+ export interface AdvancedSelectGroup {
12
+ label: string;
13
+ options: AdvancedSelectOption[];
14
+ }
15
+ type RawOption<T> = string | AdvancedSelectOption | T;
16
+ export interface AdvancedSelectProps<T = AdvancedSelectOption> {
17
+ options?: RawOption<T>[];
18
+ groups?: AdvancedSelectGroup[];
19
+ value?: string | string[] | T | T[];
20
+ onValueChange?: (value: string | string[] | T | T[]) => void;
21
+ placeholder?: string;
22
+ disabled?: boolean;
23
+ error?: boolean;
24
+ errorMessage?: string;
25
+ multiple?: boolean;
26
+ className?: string;
27
+ size?: "sm" | "default";
28
+ /** `default` uses the input background; `alt` uses the muted background. */
29
+ variant?: "default" | "alt";
30
+ searchable?: boolean;
31
+ clearable?: boolean;
32
+ getOptionLabel?: (option: T) => string;
33
+ getOptionValue?: (option: T) => string;
34
+ renderOptionLabel?: (option: T) => React.ReactNode;
35
+ label?: React.ReactNode;
36
+ description?: React.ReactNode;
37
+ required?: boolean;
38
+ onCreateNew?: () => void;
39
+ createNewLabel?: string;
40
+ loading?: boolean;
41
+ /** Show "N selected" instead of badges for multiple selections. */
42
+ compactMultiple?: boolean;
43
+ /** Custom formatter for the compact multiple display. */
44
+ formatCompactDisplay?: (selectedValues: T[]) => string;
45
+ /** Affix rendered before the trigger (input-group). */
46
+ startItem?: React.ReactNode;
47
+ /** Affix rendered after the trigger (input-group). */
48
+ endItem?: React.ReactNode;
49
+ /** Max selections allowed in multiple mode. */
50
+ maxSelections?: number;
51
+ defaultOpen?: boolean;
52
+ onOpenChange?: (open: boolean) => void;
53
+ /** Load more items for infinite scroll. */
54
+ onLoadMore?: () => void;
55
+ hasNextPage?: boolean;
56
+ isFetchingNextPage?: boolean;
57
+ /** Allow clearing all selections in multiple mode (no minimum-1). */
58
+ allowEmpty?: boolean;
59
+ /** Show a "Select All" option in multiple mode. */
60
+ showSelectAll?: boolean;
61
+ /** Field looks normal but the dropdown won't open. */
62
+ readOnly?: boolean;
63
+ /** Extra className for the dropdown panel. */
64
+ popoverClassName?: string;
65
+ }
66
+ export declare function AdvancedSelect<T = AdvancedSelectOption>({ options, groups, value, onValueChange, placeholder, disabled, error, errorMessage, multiple, className, size, variant, searchable, clearable, getOptionLabel, getOptionValue, renderOptionLabel, label, description, required, onCreateNew, createNewLabel, loading, compactMultiple, formatCompactDisplay, startItem, endItem, maxSelections, defaultOpen, onOpenChange, onLoadMore, hasNextPage, isFetchingNextPage, allowEmpty, showSelectAll, readOnly, popoverClassName, }: AdvancedSelectProps<T>): import("react/jsx-runtime").JSX.Element;
67
+ export {};
@@ -0,0 +1,38 @@
1
+ import { ActionsMenuItem } from './actions-menu';
2
+ import * as React from "react";
3
+ export interface DataTableColumn<TRow> {
4
+ /** Stable key; also used to read `row[key]` when no `cell` is given. */
5
+ key: string;
6
+ /** Header cell content. */
7
+ header?: React.ReactNode;
8
+ /** Custom cell renderer; defaults to String(row[key]). */
9
+ cell?: (row: TRow, index: number) => React.ReactNode;
10
+ align?: "left" | "center" | "right";
11
+ /** Fixed column width, e.g. "12rem" or "120px". */
12
+ width?: string;
13
+ /** Extra class for this column's header + body cells. */
14
+ className?: string;
15
+ /** Extra class for the header cell only. */
16
+ headerClassName?: string;
17
+ }
18
+ export interface DataTableProps<TRow> {
19
+ columns: DataTableColumn<TRow>[];
20
+ data: TRow[];
21
+ /** Unique id per row; required for selection. Defaults to the row index. */
22
+ getRowId?: (row: TRow, index: number) => string;
23
+ selectable?: boolean;
24
+ selectedIds?: string[];
25
+ onSelectionChange?: (ids: string[]) => void;
26
+ rowActions?: (row: TRow) => ActionsMenuItem[];
27
+ loading?: boolean;
28
+ emptyMessage?: React.ReactNode;
29
+ /** Alternating row backgrounds for easier scanning. */
30
+ striped?: boolean;
31
+ /** Keep the header visible while the body scrolls (pair with maxHeight). */
32
+ stickyHeader?: boolean;
33
+ /** Constrains height and enables vertical scroll, e.g. "24rem" or 400. */
34
+ maxHeight?: string | number;
35
+ onRowClick?: (row: TRow) => void;
36
+ className?: string;
37
+ }
38
+ export declare function DataTable<TRow>({ columns, data, getRowId, selectable, selectedIds, onSelectionChange, rowActions, loading, emptyMessage, striped, stickyHeader, maxHeight, onRowClick, className, }: DataTableProps<TRow>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,32 @@
1
+ export type TimePreset = "hour" | "day" | "week" | "month";
2
+ export interface TimeRange {
3
+ preset: TimePreset | null;
4
+ /** ISO datetime: YYYY-MM-DDTHH:mm:ssZ */
5
+ from: string;
6
+ /** ISO datetime: YYYY-MM-DDTHH:mm:ssZ */
7
+ to: string;
8
+ }
9
+ export declare function toISOWithTime(date: Date): string;
10
+ /** Parse an ISO string into timezone-local parts. */
11
+ export declare function isoToTzParts(iso: string, timezone: string): {
12
+ year: number;
13
+ month: number;
14
+ day: number;
15
+ h: string;
16
+ m: string;
17
+ s: string;
18
+ } | null;
19
+ /** Build a UTC ISO string from timezone-local date/time parts. */
20
+ export declare function buildISOFromTz(year: number, month: number, day: number, h: string, m: string, s: string, timezone: string): string;
21
+ export declare const DEFAULT_PRESETS: {
22
+ value: TimePreset;
23
+ label: string;
24
+ }[];
25
+ /** Convert a relative preset to a concrete { from, to } ISO range ending now. */
26
+ export declare function presetToRange(preset: TimePreset): {
27
+ from: string;
28
+ to: string;
29
+ };
30
+ /** Shift a range backward/forward by its own duration. */
31
+ export declare function navigateRange(range: TimeRange, direction: "prev" | "next"): TimeRange;
32
+ export declare function formatDisplayRange(range: TimeRange, timezone?: string): string;
@@ -0,0 +1,15 @@
1
+ import { TimePreset, TimeRange } from './date-time-range-picker-utils';
2
+ import * as React from "react";
3
+ export type { TimePreset, TimeRange, } from './date-time-range-picker-utils';
4
+ export interface DateTimeRangePickerProps {
5
+ value: TimeRange;
6
+ onChange: (range: TimeRange) => void;
7
+ className?: string;
8
+ timezone?: string;
9
+ presets?: {
10
+ value: TimePreset;
11
+ label: string;
12
+ }[];
13
+ maxRangeDays?: number;
14
+ }
15
+ export declare const DateTimeRangePicker: React.ForwardRefExoticComponent<DateTimeRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,18 @@
1
+ import { AlertDialog as AlertDialogPrimitive } from 'radix-ui';
2
+ import { Button } from './button';
3
+ import * as React from "react";
4
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDialogContent({ className, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content> & {
9
+ size?: "default" | "sm";
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function AlertDialogMedia({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
14
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
15
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
16
+ declare function AlertDialogAction({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): import("react/jsx-runtime").JSX.Element;
17
+ declare function AlertDialogCancel({ className, variant, size, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel> & Pick<React.ComponentProps<typeof Button>, "variant" | "size">): import("react/jsx-runtime").JSX.Element;
18
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, };
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "default" | "destructive" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function AlertAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ export { Alert, AlertTitle, AlertDescription, AlertAction };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | "red" | "orange" | "yellow" | "green" | "teal" | "cyan" | "blue" | "purple" | "pink" | "gray" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,11 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Separator } from './separator';
3
+ declare const buttonGroupVariants: (props?: ({
4
+ orientation?: "horizontal" | "vertical" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof buttonGroupVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<"div"> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function ButtonGroupSeparator({ className, orientation, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
11
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants, };
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "default" | "outline" | "secondary" | "ghost" | "destructive" | "link" | null | undefined;
5
+ size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export { Button, buttonVariants };
@@ -0,0 +1,10 @@
1
+ import { DayPicker, DayButton, Locale } from 'react-day-picker';
2
+ import { Button } from './button';
3
+ import * as React from "react";
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function CalendarDayButton({ className, day, modifiers, locale, ...props }: React.ComponentProps<typeof DayButton> & {
8
+ locale?: Partial<Locale>;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
3
+ size?: "default" | "sm";
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
@@ -0,0 +1,44 @@
1
+ import { TooltipValueType } from 'recharts';
2
+ import * as React from "react";
3
+ import * as RechartsPrimitive from "recharts";
4
+ declare const THEMES: {
5
+ readonly light: "";
6
+ readonly dark: ".dark";
7
+ };
8
+ type TooltipNameType = number | string;
9
+ export type ChartConfig = Record<string, {
10
+ label?: React.ReactNode;
11
+ icon?: React.ComponentType;
12
+ } & ({
13
+ color?: string;
14
+ theme?: never;
15
+ } | {
16
+ color?: never;
17
+ theme: Record<keyof typeof THEMES, string>;
18
+ })>;
19
+ declare function ChartContainer({ id, className, children, config, initialDimension, ...props }: React.ComponentProps<"div"> & {
20
+ config: ChartConfig;
21
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
22
+ initialDimension?: {
23
+ width: number;
24
+ height: number;
25
+ };
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ declare const ChartStyle: ({ id, config }: {
28
+ id: string;
29
+ config: ChartConfig;
30
+ }) => import("react/jsx-runtime").JSX.Element | null;
31
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
32
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: React.ComponentProps<typeof RechartsPrimitive.Tooltip> & React.ComponentProps<"div"> & {
33
+ hideLabel?: boolean;
34
+ hideIndicator?: boolean;
35
+ indicator?: "line" | "dot" | "dashed";
36
+ nameKey?: string;
37
+ labelKey?: string;
38
+ } & Omit<RechartsPrimitive.DefaultTooltipContentProps<TooltipValueType, TooltipNameType>, "accessibilityLayer">): import("react/jsx-runtime").JSX.Element | null;
39
+ declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>;
40
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & {
41
+ hideIcon?: boolean;
42
+ nameKey?: string;
43
+ } & RechartsPrimitive.DefaultLegendContentProps): import("react/jsx-runtime").JSX.Element | null;
44
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
@@ -0,0 +1,4 @@
1
+ import { Checkbox as CheckboxPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
@@ -0,0 +1,18 @@
1
+ import { Command as CommandPrimitive } from 'cmdk';
2
+ import { Dialog } from './dialog';
3
+ import * as React from "react";
4
+ declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
+ title?: string;
7
+ description?: string;
8
+ className?: string;
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
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;
13
+ declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
+ declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -0,0 +1,17 @@
1
+ import { Dialog as DialogPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogTrigger({ ...props }: React.ComponentProps<typeof DialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogPortal({ ...props }: React.ComponentProps<typeof DialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogClose({ ...props }: React.ComponentProps<typeof DialogPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogOverlay({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DialogContent({ className, children, showCloseButton, ...props }: React.ComponentProps<typeof DialogPrimitive.Content> & {
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogFooter({ className, showCloseButton, children, ...props }: React.ComponentProps<"div"> & {
13
+ showCloseButton?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DialogTitle({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DialogDescription({ className, ...props }: React.ComponentProps<typeof DialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
17
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -0,0 +1,29 @@
1
+ import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
+ inset?: boolean;
10
+ variant?: "default" | "destructive";
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
13
+ inset?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
17
+ inset?: boolean;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
20
+ inset?: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
23
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
24
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
25
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
26
+ inset?: boolean;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
29
+ export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, };
@@ -0,0 +1,24 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Label } from './label';
3
+ declare function FieldSet({ className, ...props }: React.ComponentProps<"fieldset">): import("react/jsx-runtime").JSX.Element;
4
+ declare function FieldLegend({ className, variant, ...props }: React.ComponentProps<"legend"> & {
5
+ variant?: "legend" | "label";
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function FieldGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare const fieldVariants: (props?: ({
9
+ orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
10
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
+ declare function Field({ className, orientation, ...props }: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>): import("react/jsx-runtime").JSX.Element;
12
+ declare function FieldContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function FieldLabel({ className, ...props }: React.ComponentProps<typeof Label>): import("react/jsx-runtime").JSX.Element;
14
+ declare function FieldTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
15
+ declare function FieldDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
16
+ declare function FieldSeparator({ children, className, ...props }: React.ComponentProps<"div"> & {
17
+ children?: React.ReactNode;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ declare function FieldError({ className, children, errors, ...props }: React.ComponentProps<"div"> & {
20
+ errors?: Array<{
21
+ message?: string;
22
+ } | undefined>;
23
+ }): import("react/jsx-runtime").JSX.Element | null;
24
+ export { Field, FieldLabel, FieldDescription, FieldError, FieldGroup, FieldLegend, FieldSeparator, FieldSet, FieldContent, FieldTitle, };
@@ -0,0 +1,6 @@
1
+ import { HoverCard as HoverCardPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function HoverCard({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function HoverCardTrigger({ ...props }: React.ComponentProps<typeof HoverCardPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function HoverCardContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof HoverCardPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
+ export { HoverCard, HoverCardTrigger, HoverCardContent };
@@ -0,0 +1,16 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Button } from './button';
3
+ import * as React from "react";
4
+ declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare const inputGroupAddonVariants: (props?: ({
6
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
+ declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
+ declare const inputGroupButtonVariants: (props?: ({
10
+ size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
11
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
12
+ declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, "size"> & VariantProps<typeof inputGroupButtonVariants>): import("react/jsx-runtime").JSX.Element;
13
+ declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
14
+ declare function InputGroupInput({ className, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
15
+ declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<"textarea">): import("react/jsx-runtime").JSX.Element;
16
+ export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
@@ -0,0 +1,3 @@
1
+ import * as React from "react";
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
@@ -0,0 +1,23 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Separator } from './separator';
3
+ import * as React from "react";
4
+ declare function ItemGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
6
+ declare const itemVariants: (props?: ({
7
+ variant?: "default" | "outline" | "muted" | null | undefined;
8
+ size?: "default" | "xs" | "sm" | null | undefined;
9
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
+ declare function Item({ className, variant, size, asChild, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
11
+ asChild?: boolean;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ declare const itemMediaVariants: (props?: ({
14
+ variant?: "default" | "icon" | "image" | null | undefined;
15
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
16
+ declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): import("react/jsx-runtime").JSX.Element;
17
+ declare function ItemContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
18
+ declare function ItemTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
19
+ declare function ItemDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
20
+ declare function ItemActions({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
21
+ declare function ItemHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
22
+ declare function ItemFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
23
+ export { Item, ItemMedia, ItemContent, ItemActions, ItemGroup, ItemSeparator, ItemTitle, ItemDescription, ItemHeader, ItemFooter, };
@@ -0,0 +1,4 @@
1
+ import { Label as LabelPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare function Label({ className, ...props }: React.ComponentProps<typeof LabelPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Label };