@aivex/ui 0.1.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 (75) hide show
  1. package/README.md +37 -0
  2. package/dist/components/Alert/Alert.d.ts +16 -0
  3. package/dist/components/Alert/index.d.ts +2 -0
  4. package/dist/components/Avatar/Avatar.d.ts +15 -0
  5. package/dist/components/Avatar/index.d.ts +2 -0
  6. package/dist/components/Badge/Badge.d.ts +22 -0
  7. package/dist/components/Badge/index.d.ts +2 -0
  8. package/dist/components/BreadCrumb/BreadCrumb.d.ts +19 -0
  9. package/dist/components/BreadCrumb/index.d.ts +2 -0
  10. package/dist/components/Button/Button.d.ts +19 -0
  11. package/dist/components/Button/index.d.ts +2 -0
  12. package/dist/components/Card/Card.d.ts +7 -0
  13. package/dist/components/Card/index.d.ts +2 -0
  14. package/dist/components/Checkbox/Checkbox.d.ts +12 -0
  15. package/dist/components/Checkbox/index.d.ts +2 -0
  16. package/dist/components/Chips/Chips.d.ts +15 -0
  17. package/dist/components/Chips/index.d.ts +2 -0
  18. package/dist/components/Divider/Divider.d.ts +11 -0
  19. package/dist/components/Divider/index.d.ts +2 -0
  20. package/dist/components/Icon/index.d.ts +276 -0
  21. package/dist/components/IconButton/IconButton.d.ts +14 -0
  22. package/dist/components/IconButton/index.d.ts +2 -0
  23. package/dist/components/Input/Input.d.ts +13 -0
  24. package/dist/components/Input/index.d.ts +2 -0
  25. package/dist/components/InteractionLayer/InteractionLayer.d.ts +7 -0
  26. package/dist/components/InteractionLayer/index.d.ts +1 -0
  27. package/dist/components/Menu/Menu.d.ts +18 -0
  28. package/dist/components/Menu/index.d.ts +2 -0
  29. package/dist/components/Messagebox/Messagebox.d.ts +11 -0
  30. package/dist/components/Messagebox/index.d.ts +2 -0
  31. package/dist/components/Modal/Modal.d.ts +26 -0
  32. package/dist/components/Modal/index.d.ts +2 -0
  33. package/dist/components/Nav/Nav.d.ts +25 -0
  34. package/dist/components/Nav/index.d.ts +2 -0
  35. package/dist/components/Overlay/Overlay.d.ts +10 -0
  36. package/dist/components/Overlay/index.d.ts +2 -0
  37. package/dist/components/Pagination/Pagination.d.ts +11 -0
  38. package/dist/components/Pagination/index.d.ts +2 -0
  39. package/dist/components/Radio/Radio.d.ts +11 -0
  40. package/dist/components/Radio/index.d.ts +2 -0
  41. package/dist/components/Segmented/Segmented.d.ts +21 -0
  42. package/dist/components/Segmented/index.d.ts +2 -0
  43. package/dist/components/Select/Select.d.ts +13 -0
  44. package/dist/components/Select/index.d.ts +2 -0
  45. package/dist/components/Shortcut/Shortcut.d.ts +7 -0
  46. package/dist/components/Shortcut/index.d.ts +2 -0
  47. package/dist/components/Switch/Switch.d.ts +11 -0
  48. package/dist/components/Switch/index.d.ts +2 -0
  49. package/dist/components/Tab/Tab.d.ts +18 -0
  50. package/dist/components/Tab/index.d.ts +2 -0
  51. package/dist/components/Table/Table.d.ts +29 -0
  52. package/dist/components/Table/index.d.ts +2 -0
  53. package/dist/components/Tag/Tag.d.ts +15 -0
  54. package/dist/components/Tag/index.d.ts +2 -0
  55. package/dist/components/Tagbox/Tagbox.d.ts +12 -0
  56. package/dist/components/Tagbox/index.d.ts +2 -0
  57. package/dist/components/Textarea/Textarea.d.ts +13 -0
  58. package/dist/components/Textarea/index.d.ts +2 -0
  59. package/dist/components/Toast/Toast.d.ts +17 -0
  60. package/dist/components/Toast/index.d.ts +2 -0
  61. package/dist/components/Tooltip/Tooltip.d.ts +13 -0
  62. package/dist/components/Tooltip/index.d.ts +2 -0
  63. package/dist/components/Typography/Typography.d.ts +12 -0
  64. package/dist/components/Typography/index.d.ts +2 -0
  65. package/dist/components/UploadArea/UploadArea.d.ts +11 -0
  66. package/dist/components/UploadArea/index.d.ts +2 -0
  67. package/dist/index.cjs +2 -0
  68. package/dist/index.cjs.map +1 -0
  69. package/dist/index.d.ts +34 -0
  70. package/dist/index.js +7899 -0
  71. package/dist/index.js.map +1 -0
  72. package/dist/styles.css +3 -0
  73. package/dist/tokens/tokens.css +534 -0
  74. package/dist/utils/cn.d.ts +2 -0
  75. package/package.json +86 -0
@@ -0,0 +1,26 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes, type Ref } from "react";
3
+ declare const modalHeaderVariants: (props?: ({
4
+ type?: "basic" | "alert-center" | "alert-left" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface ModalHeaderProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalHeaderVariants> {
7
+ title: string;
8
+ description?: string;
9
+ onClose?: () => void;
10
+ ref?: Ref<HTMLDivElement>;
11
+ }
12
+ declare function ModalHeader({ className, type, title, description, onClose, ref, ...props }: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
13
+ declare const modalFooterVariants: (props?: ({
14
+ type?: "flex" | "fixed" | null | undefined;
15
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
16
+ export interface ModalFooterProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof modalFooterVariants> {
17
+ ref?: Ref<HTMLDivElement>;
18
+ }
19
+ declare function ModalFooter({ className, type, children, ref, ...props }: ModalFooterProps): import("react/jsx-runtime").JSX.Element;
20
+ export interface ModalRootProps extends HTMLAttributes<HTMLDivElement> {
21
+ open: boolean;
22
+ onClose: () => void;
23
+ ref?: Ref<HTMLDivElement>;
24
+ }
25
+ declare function ModalRoot({ className, open, onClose, children, ref, ...props }: ModalRootProps): import("react/jsx-runtime").JSX.Element | null;
26
+ export { ModalFooter, ModalHeader, ModalRoot };
@@ -0,0 +1,2 @@
1
+ export type { ModalFooterProps, ModalHeaderProps, ModalRootProps } from "./Modal";
2
+ export { ModalFooter, ModalHeader, ModalRoot } from "./Modal";
@@ -0,0 +1,25 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { ButtonHTMLAttributes, HTMLAttributes, ReactNode, Ref } from "react";
3
+ declare const navTileVariants: (props?: ({
4
+ active?: boolean | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface NavTileProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navTileVariants> {
7
+ icon?: ReactNode;
8
+ label?: string;
9
+ ref?: Ref<HTMLButtonElement>;
10
+ }
11
+ declare function NavTile({ className, active, icon, label, children, ref, ...props }: NavTileProps): import("react/jsx-runtime").JSX.Element;
12
+ declare const navItemVariants: (props?: ({
13
+ selected?: boolean | null | undefined;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
15
+ export interface NavItemProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof navItemVariants> {
16
+ icon?: ReactNode;
17
+ label?: string;
18
+ ref?: Ref<HTMLButtonElement>;
19
+ }
20
+ declare function NavItem({ className, selected, icon, label, children, ref, ...props }: NavItemProps): import("react/jsx-runtime").JSX.Element;
21
+ export interface NavProps extends HTMLAttributes<HTMLElement> {
22
+ ref?: Ref<HTMLElement>;
23
+ }
24
+ declare function Nav({ className, children, ref, ...props }: NavProps): import("react/jsx-runtime").JSX.Element;
25
+ export { Nav, NavItem, NavTile, navItemVariants, navTileVariants };
@@ -0,0 +1,2 @@
1
+ export type { NavItemProps, NavProps, NavTileProps } from "./Nav";
2
+ export { Nav, NavItem, NavTile, navItemVariants, navTileVariants } from "./Nav";
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { HTMLAttributes, Ref } from "react";
3
+ declare const overlayVariants: (props?: ({
4
+ type?: "dim" | "frost" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface OverlayProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof overlayVariants> {
7
+ ref?: Ref<HTMLDivElement>;
8
+ }
9
+ declare function Overlay({ className, type, ref, ...props }: OverlayProps): import("react/jsx-runtime").JSX.Element;
10
+ export { Overlay, overlayVariants };
@@ -0,0 +1,2 @@
1
+ export type { OverlayProps } from "./Overlay";
2
+ export { Overlay, overlayVariants } from "./Overlay";
@@ -0,0 +1,11 @@
1
+ import { type HTMLAttributes, type Ref } from "react";
2
+ export interface PaginationProps extends Omit<HTMLAttributes<HTMLElement>, "onChange"> {
3
+ total: number;
4
+ page?: number;
5
+ defaultPage?: number;
6
+ pageSize?: number;
7
+ onChange?: (page: number) => void;
8
+ ref?: Ref<HTMLElement>;
9
+ }
10
+ declare function Pagination({ className, total, page, defaultPage, pageSize, onChange, ref, ...props }: PaginationProps): import("react/jsx-runtime").JSX.Element;
11
+ export { Pagination };
@@ -0,0 +1,2 @@
1
+ export type { PaginationProps } from "./Pagination";
2
+ export { Pagination } from "./Pagination";
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { InputHTMLAttributes, Ref } from "react";
3
+ declare const radioVariants: (props?: ({
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type">, VariantProps<typeof radioVariants> {
7
+ label?: string;
8
+ ref?: Ref<HTMLInputElement>;
9
+ }
10
+ declare function Radio({ className, label, size, disabled, checked, id, ref, ...props }: RadioProps): import("react/jsx-runtime").JSX.Element;
11
+ export { Radio, radioVariants };
@@ -0,0 +1,2 @@
1
+ export type { RadioProps } from "./Radio";
2
+ export { Radio, radioVariants } from "./Radio";
@@ -0,0 +1,21 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type ButtonHTMLAttributes, type HTMLAttributes, type ReactNode, type Ref } from "react";
3
+ declare const segmentedRootVariants: (props?: ({
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface SegmentedRootProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange">, VariantProps<typeof segmentedRootVariants> {
7
+ value?: string;
8
+ defaultValue?: string;
9
+ onChange?: (value: string) => void;
10
+ iconOnly?: boolean;
11
+ children?: ReactNode;
12
+ ref?: Ref<HTMLDivElement>;
13
+ }
14
+ declare function SegmentedRoot({ className, size, value, defaultValue, onChange, iconOnly, children, ref, ...props }: SegmentedRootProps): import("react/jsx-runtime").JSX.Element;
15
+ export interface SegmentedItemProps extends ButtonHTMLAttributes<HTMLButtonElement> {
16
+ value: string;
17
+ children?: ReactNode;
18
+ ref?: Ref<HTMLButtonElement>;
19
+ }
20
+ declare function SegmentedItem({ className, value, children, onClick, ref, ...props }: SegmentedItemProps): import("react/jsx-runtime").JSX.Element;
21
+ export { SegmentedItem, SegmentedRoot };
@@ -0,0 +1,2 @@
1
+ export type { SegmentedItemProps, SegmentedRootProps } from "./Segmented";
2
+ export { SegmentedItem, SegmentedRoot } from "./Segmented";
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { Ref, SelectHTMLAttributes } from "react";
3
+ declare const selectWrapperVariants: (props?: ({
4
+ state?: "default" | "disabled" | "focused" | "error" | null | undefined;
5
+ size?: "sm" | "md" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface SelectProps extends Omit<SelectHTMLAttributes<HTMLSelectElement>, "size">, Pick<VariantProps<typeof selectWrapperVariants>, "size"> {
8
+ label?: string;
9
+ error?: boolean;
10
+ ref?: Ref<HTMLSelectElement>;
11
+ }
12
+ declare function Select({ className, label, error, disabled, size, id, children, ref, onFocus, onBlur, ...props }: SelectProps): import("react/jsx-runtime").JSX.Element;
13
+ export { Select, selectWrapperVariants };
@@ -0,0 +1,2 @@
1
+ export type { SelectProps } from "./Select";
2
+ export { Select, selectWrapperVariants } from "./Select";
@@ -0,0 +1,7 @@
1
+ import { type HTMLAttributes, type Ref } from "react";
2
+ export interface ShortcutProps extends HTMLAttributes<HTMLSpanElement> {
3
+ keys: string[];
4
+ ref?: Ref<HTMLSpanElement>;
5
+ }
6
+ declare function Shortcut({ className, keys, ref, ...props }: ShortcutProps): import("react/jsx-runtime").JSX.Element;
7
+ export { Shortcut };
@@ -0,0 +1,2 @@
1
+ export type { ShortcutProps } from "./Shortcut";
2
+ export { Shortcut } from "./Shortcut";
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type InputHTMLAttributes, type Ref } from "react";
3
+ declare const switchTrackVariants: (props?: ({
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type">, VariantProps<typeof switchTrackVariants> {
7
+ label?: string;
8
+ ref?: Ref<HTMLInputElement>;
9
+ }
10
+ declare function Switch({ className, label, size, checked, defaultChecked, disabled, id, onChange, ref, ...props }: SwitchProps): import("react/jsx-runtime").JSX.Element;
11
+ export { Switch };
@@ -0,0 +1,2 @@
1
+ export type { SwitchProps } from "./Switch";
2
+ export { Switch } from "./Switch";
@@ -0,0 +1,18 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type ButtonHTMLAttributes, type HTMLAttributes, type Ref } from "react";
3
+ export interface TabRootProps extends Omit<HTMLAttributes<HTMLDivElement>, "onChange"> {
4
+ value?: string;
5
+ defaultValue?: string;
6
+ onChange?: (value: string) => void;
7
+ ref?: Ref<HTMLDivElement>;
8
+ }
9
+ declare function TabRoot({ className, value, defaultValue, onChange, children, ref, ...props }: TabRootProps): import("react/jsx-runtime").JSX.Element;
10
+ declare const tabItemVariants: (props?: ({
11
+ active?: boolean | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ export interface TabItemProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof tabItemVariants> {
14
+ value: string;
15
+ ref?: Ref<HTMLButtonElement>;
16
+ }
17
+ declare function TabItem({ className, value, children, active: activeProp, ref, ...props }: TabItemProps): import("react/jsx-runtime").JSX.Element;
18
+ export { TabItem, TabRoot, tabItemVariants };
@@ -0,0 +1,2 @@
1
+ export type { TabItemProps, TabRootProps } from "./Tab";
2
+ export { TabItem, TabRoot, tabItemVariants } from "./Tab";
@@ -0,0 +1,29 @@
1
+ import type { HTMLAttributes, Ref, TdHTMLAttributes, ThHTMLAttributes } from "react";
2
+ export interface TableProps extends HTMLAttributes<HTMLDivElement> {
3
+ ref?: Ref<HTMLDivElement>;
4
+ }
5
+ declare function Table({ className, children, ref, ...props }: TableProps): import("react/jsx-runtime").JSX.Element;
6
+ export interface TableHeaderProps extends HTMLAttributes<HTMLTableSectionElement> {
7
+ ref?: Ref<HTMLTableSectionElement>;
8
+ }
9
+ declare function TableHeader({ className, children, ref, ...props }: TableHeaderProps): import("react/jsx-runtime").JSX.Element;
10
+ export interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
11
+ ref?: Ref<HTMLTableSectionElement>;
12
+ }
13
+ declare function TableBody({ className, children, ref, ...props }: TableBodyProps): import("react/jsx-runtime").JSX.Element;
14
+ export interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
15
+ ref?: Ref<HTMLTableRowElement>;
16
+ }
17
+ declare function TableRow({ className, children, ref, ...props }: TableRowProps): import("react/jsx-runtime").JSX.Element;
18
+ export interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
19
+ sortable?: boolean;
20
+ sortDirection?: "asc" | "desc" | null;
21
+ onSort?: () => void;
22
+ ref?: Ref<HTMLTableCellElement>;
23
+ }
24
+ declare function TableHead({ className, children, sortable, sortDirection, onSort, ref, ...props }: TableHeadProps): import("react/jsx-runtime").JSX.Element;
25
+ export interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
26
+ ref?: Ref<HTMLTableCellElement>;
27
+ }
28
+ declare function TableCell({ className, children, ref, ...props }: TableCellProps): import("react/jsx-runtime").JSX.Element;
29
+ export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow };
@@ -0,0 +1,2 @@
1
+ export type { TableBodyProps, TableCellProps, TableHeaderProps, TableHeadProps, TableProps, TableRowProps, } from "./Table";
2
+ export { Table, TableBody, TableCell, TableHead, TableHeader, TableRow } from "./Table";
@@ -0,0 +1,15 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { HTMLAttributes, ReactNode, Ref } from "react";
3
+ declare const tagVariants: (props?: ({
4
+ size?: "sm" | "md" | null | undefined;
5
+ type?: "default" | "error" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface TagProps extends Omit<HTMLAttributes<HTMLDivElement>, "type">, VariantProps<typeof tagVariants> {
8
+ showIcon?: boolean;
9
+ disabled?: boolean;
10
+ onRemove?: () => void;
11
+ children?: ReactNode;
12
+ ref?: Ref<HTMLDivElement>;
13
+ }
14
+ declare function Tag({ className, size, type, showIcon, disabled, onRemove, children, ref, ...props }: TagProps): import("react/jsx-runtime").JSX.Element;
15
+ export { Tag, tagVariants };
@@ -0,0 +1,2 @@
1
+ export type { TagProps } from "./Tag";
2
+ export { Tag, tagVariants } from "./Tag";
@@ -0,0 +1,12 @@
1
+ import { type InputHTMLAttributes, type Ref } from "react";
2
+ export interface TagboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "value" | "onChange"> {
3
+ size?: "sm" | "md";
4
+ label?: string;
5
+ error?: boolean;
6
+ value?: string[];
7
+ defaultValue?: string[];
8
+ onChange?: (tags: string[]) => void;
9
+ ref?: Ref<HTMLInputElement>;
10
+ }
11
+ declare function Tagbox({ className, size, label, error, disabled, value, defaultValue, onChange, placeholder, id, ref, onBlur, onCompositionEnd, onCompositionStart, onFocus, onKeyDown, ...props }: TagboxProps): import("react/jsx-runtime").JSX.Element;
12
+ export { Tagbox };
@@ -0,0 +1,2 @@
1
+ export type { TagboxProps } from "./Tagbox";
2
+ export { Tagbox } from "./Tagbox";
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { Ref, TextareaHTMLAttributes } from "react";
3
+ declare const textareaWrapperVariants: (props?: ({
4
+ state?: "default" | "disabled" | "focused" | "error" | null | undefined;
5
+ size?: "sm" | "md" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size">, Pick<VariantProps<typeof textareaWrapperVariants>, "size"> {
8
+ label?: string;
9
+ error?: boolean;
10
+ ref?: Ref<HTMLTextAreaElement>;
11
+ }
12
+ declare function Textarea({ className, label, error, disabled, size, id, ref, onFocus, onBlur, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
13
+ export { Textarea, textareaWrapperVariants };
@@ -0,0 +1,2 @@
1
+ export type { TextareaProps } from "./Textarea";
2
+ export { Textarea, textareaWrapperVariants } from "./Textarea";
@@ -0,0 +1,17 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { HTMLAttributes, Ref } from "react";
3
+ import { type ExternalToast, type ToasterProps, toast } from "sonner";
4
+ declare const toastVariants: (props?: ({
5
+ type?: "default" | "danger" | "success" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ export interface ToastProps extends HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
8
+ open?: boolean;
9
+ message: string;
10
+ onClose?: () => void;
11
+ ref?: Ref<HTMLDivElement>;
12
+ }
13
+ export type ToastToasterProps = ToasterProps;
14
+ export type ToastOptions = ExternalToast;
15
+ declare function Toast({ className, type, open, message, onClose, ref, ...props }: ToastProps): import("react/jsx-runtime").JSX.Element | null;
16
+ declare function ToastToaster({ position, duration, visibleToasts, gap, toastOptions, ...props }: ToastToasterProps): import("react/jsx-runtime").JSX.Element;
17
+ export { Toast, ToastToaster, toast, toastVariants };
@@ -0,0 +1,2 @@
1
+ export type { ToastOptions, ToastProps, ToastToasterProps } from "./Toast";
2
+ export { Toast, ToastToaster, toast, toastVariants } from "./Toast";
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import { type HTMLAttributes, type ReactNode, type Ref } from "react";
3
+ declare const tooltipContentVariants: (props?: ({
4
+ placement?: "bottom" | "left" | "right" | "top" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface TooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, "content">, VariantProps<typeof tooltipContentVariants> {
7
+ content: ReactNode;
8
+ children: ReactNode;
9
+ showArrow?: boolean;
10
+ ref?: Ref<HTMLDivElement>;
11
+ }
12
+ declare function Tooltip({ className, content, children, placement, showArrow, ref, ...props }: TooltipProps): import("react/jsx-runtime").JSX.Element;
13
+ export { Tooltip, tooltipContentVariants };
@@ -0,0 +1,2 @@
1
+ export type { TooltipProps } from "./Tooltip";
2
+ export { Tooltip, tooltipContentVariants } from "./Tooltip";
@@ -0,0 +1,12 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type { ElementType, HTMLAttributes, ReactNode, Ref } from "react";
3
+ declare const typographyVariants: (props?: ({
4
+ variant?: "display-lg" | "display-md" | "heading-xl" | "heading-lg" | "heading-md" | "heading-sm" | "heading-xs" | "body-lg-regular" | "body-lg-medium" | "body-md-regular" | "body-md-medium" | "body-sm-regular" | "body-sm-medium" | "label-xl" | "label-lg" | "label-md" | "label-sm" | "caption-md" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ export interface TypographyProps extends HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
7
+ as?: ElementType;
8
+ children?: ReactNode;
9
+ ref?: Ref<HTMLElement>;
10
+ }
11
+ declare function Typography({ as, variant, className, children, ref, ...props }: TypographyProps): import("react/jsx-runtime").JSX.Element;
12
+ export { Typography, typographyVariants };
@@ -0,0 +1,2 @@
1
+ export type { TypographyProps } from "./Typography";
2
+ export { Typography, typographyVariants } from "./Typography";
@@ -0,0 +1,11 @@
1
+ import { type HTMLAttributes, type Ref } from "react";
2
+ export interface UploadAreaProps extends Omit<HTMLAttributes<HTMLDivElement>, "onDrop" | "onClick"> {
3
+ formats?: string[];
4
+ maxSize?: string;
5
+ accept?: string;
6
+ onFileSelect?: (files: FileList) => void;
7
+ onFolderSelect?: (files: FileList) => void;
8
+ ref?: Ref<HTMLDivElement>;
9
+ }
10
+ declare function UploadArea({ className, formats, maxSize, accept, onFileSelect, onFolderSelect, ref, ...props }: UploadAreaProps): import("react/jsx-runtime").JSX.Element;
11
+ export { UploadArea };
@@ -0,0 +1,2 @@
1
+ export type { UploadAreaProps } from "./UploadArea";
2
+ export { UploadArea } from "./UploadArea";