azamat-ui-kit 0.1.1 → 0.2.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 (51) hide show
  1. package/CHANGELOG.md +104 -0
  2. package/COMPONENT_MATURITY.md +127 -0
  3. package/README.md +136 -62
  4. package/RELEASE.md +93 -0
  5. package/dist/cli/index.js +189 -39
  6. package/dist/components/actions/button-group.d.ts +15 -0
  7. package/dist/components/actions/copy-field.d.ts +11 -0
  8. package/dist/components/actions/index.d.ts +5 -3
  9. package/dist/components/calendar/calendar.d.ts +2 -0
  10. package/dist/components/charts/charts.d.ts +65 -0
  11. package/dist/components/charts/index.d.ts +1 -0
  12. package/dist/components/data-table/data-table.d.ts +3 -5
  13. package/dist/components/display/code-block.d.ts +10 -0
  14. package/dist/components/display/data-card.d.ts +13 -0
  15. package/dist/components/display/descriptions.d.ts +19 -0
  16. package/dist/components/display/file-card.d.ts +14 -0
  17. package/dist/components/display/index.d.ts +22 -10
  18. package/dist/components/display/kanban.d.ts +25 -0
  19. package/dist/components/display/keyboard-shortcut.d.ts +7 -0
  20. package/dist/components/display/list.d.ts +26 -0
  21. package/dist/components/display/property-grid.d.ts +15 -0
  22. package/dist/components/display/statistic.d.ts +23 -0
  23. package/dist/components/display/tag-list.d.ts +17 -0
  24. package/dist/components/display/tree-view.d.ts +19 -0
  25. package/dist/components/display/user-card.d.ts +13 -0
  26. package/dist/components/feedback/alert.d.ts +11 -0
  27. package/dist/components/feedback/index.d.ts +2 -0
  28. package/dist/components/feedback/page-state.d.ts +17 -0
  29. package/dist/components/inputs/async-select.d.ts +5 -4
  30. package/dist/components/inputs/color-input.d.ts +11 -0
  31. package/dist/components/inputs/index.d.ts +18 -14
  32. package/dist/components/inputs/otp-input.d.ts +17 -0
  33. package/dist/components/inputs/rating.d.ts +17 -0
  34. package/dist/components/inputs/slider.d.ts +24 -0
  35. package/dist/components/layout/index.d.ts +2 -0
  36. package/dist/components/layout/section.d.ts +24 -0
  37. package/dist/components/layout/sticky-footer-bar.d.ts +7 -0
  38. package/dist/components/navigation/anchor-nav.d.ts +15 -0
  39. package/dist/components/navigation/index.d.ts +4 -3
  40. package/dist/components/ui/collapse.d.ts +29 -0
  41. package/dist/components/ui/divider.d.ts +9 -0
  42. package/dist/components/ui/segmented-control.d.ts +17 -0
  43. package/dist/components/ui/skeleton.d.ts +17 -0
  44. package/dist/components/ui/spinner.d.ts +12 -0
  45. package/dist/components/ui/tooltip.d.ts +8 -0
  46. package/dist/components/upload/file-upload.d.ts +11 -1
  47. package/dist/index.cjs +5 -5
  48. package/dist/index.d.ts +40 -33
  49. package/dist/index.js +4333 -2903
  50. package/package.json +1 -112
  51. package/registry.json +1 -185
@@ -0,0 +1,23 @@
1
+ import * as React from "react";
2
+ import { Card } from "@/components/ui/card";
3
+ export type StatisticTrend = "up" | "down" | "neutral";
4
+ export type StatisticProps = React.ComponentProps<"div"> & {
5
+ label: React.ReactNode;
6
+ value: React.ReactNode;
7
+ prefix?: React.ReactNode;
8
+ suffix?: React.ReactNode;
9
+ description?: React.ReactNode;
10
+ trend?: StatisticTrend;
11
+ change?: React.ReactNode;
12
+ loading?: boolean;
13
+ };
14
+ declare function Statistic({ label, value, prefix, suffix, description, trend, change, loading, className, ...props }: StatisticProps): React.JSX.Element;
15
+ export type StatisticCardProps = React.ComponentProps<typeof Card> & StatisticProps & {
16
+ action?: React.ReactNode;
17
+ };
18
+ declare function StatisticCard({ action, label, value, prefix, suffix, description, trend, change, loading, className, ...props }: StatisticCardProps): React.JSX.Element;
19
+ export type StatisticGridProps = React.ComponentProps<"div"> & {
20
+ columns?: 1 | 2 | 3 | 4;
21
+ };
22
+ declare function StatisticGrid({ columns, className, ...props }: StatisticGridProps): React.JSX.Element;
23
+ export { Statistic, StatisticCard, StatisticGrid };
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ import { Badge } from "@/components/ui/badge";
3
+ export type TagListItem = {
4
+ key: string;
5
+ label: React.ReactNode;
6
+ variant?: React.ComponentProps<typeof Badge>["variant"];
7
+ disabled?: boolean;
8
+ };
9
+ export type TagListProps = React.ComponentProps<"div"> & {
10
+ items: TagListItem[];
11
+ max?: number;
12
+ removable?: boolean;
13
+ onRemove?: (item: TagListItem) => void;
14
+ overflowLabel?: (count: number) => React.ReactNode;
15
+ };
16
+ declare function TagList({ items, max, removable, onRemove, overflowLabel, className, ...props }: TagListProps): React.JSX.Element;
17
+ export { TagList };
@@ -0,0 +1,19 @@
1
+ import * as React from "react";
2
+ export type TreeViewItem = {
3
+ key: string;
4
+ label: React.ReactNode;
5
+ icon?: React.ReactNode;
6
+ extra?: React.ReactNode;
7
+ children?: TreeViewItem[];
8
+ disabled?: boolean;
9
+ };
10
+ export type TreeViewProps = React.ComponentProps<"div"> & {
11
+ items: TreeViewItem[];
12
+ defaultExpandedKeys?: string[];
13
+ expandedKeys?: string[];
14
+ onExpandedKeysChange?: (keys: string[]) => void;
15
+ selectedKey?: string;
16
+ onSelect?: (item: TreeViewItem) => void;
17
+ };
18
+ declare function TreeView({ items, defaultExpandedKeys, expandedKeys, onExpandedKeysChange, selectedKey, onSelect, className, ...props }: TreeViewProps): React.JSX.Element;
19
+ export { TreeView };
@@ -0,0 +1,13 @@
1
+ import * as React from "react";
2
+ import { type AvatarProps } from "@/components/display/avatar";
3
+ import { Card } from "@/components/ui/card";
4
+ export type UserCardProps = React.ComponentProps<typeof Card> & {
5
+ name: React.ReactNode;
6
+ description?: React.ReactNode;
7
+ meta?: React.ReactNode;
8
+ avatar?: AvatarProps;
9
+ actions?: React.ReactNode;
10
+ selected?: boolean;
11
+ };
12
+ declare function UserCard({ name, description, meta, avatar, actions, selected, className, ...props }: UserCardProps): React.JSX.Element;
13
+ export { UserCard };
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ export type AlertTone = "info" | "success" | "warning" | "destructive" | "muted";
3
+ export type AlertProps = React.ComponentProps<"div"> & {
4
+ tone?: AlertTone;
5
+ title?: React.ReactNode;
6
+ description?: React.ReactNode;
7
+ icon?: React.ReactNode;
8
+ action?: React.ReactNode;
9
+ };
10
+ declare function Alert({ tone, title, description, icon, action, className, children, ...props }: AlertProps): React.JSX.Element;
11
+ export { Alert };
@@ -1,3 +1,5 @@
1
1
  export * from "./empty-state";
2
2
  export * from "./loading-state";
3
3
  export * from "./status-badge";
4
+ export * from "./alert";
5
+ export * from "./page-state";
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export type PageStateTone = "empty" | "loading" | "error" | "success" | "info";
3
+ export type PageStateProps = React.ComponentProps<"div"> & {
4
+ tone?: PageStateTone;
5
+ title?: React.ReactNode;
6
+ description?: React.ReactNode;
7
+ icon?: React.ReactNode;
8
+ action?: React.ReactNode;
9
+ compact?: boolean;
10
+ };
11
+ declare function PageState({ tone, title, description, icon, action, compact, className, ...props }: PageStateProps): React.JSX.Element;
12
+ export type InlineStateProps = Omit<PageStateProps, "compact"> & {
13
+ retryLabel?: React.ReactNode;
14
+ onRetry?: () => void;
15
+ };
16
+ declare function InlineState({ retryLabel, onRetry, action, className, ...props }: InlineStateProps): React.JSX.Element;
17
+ export { InlineState, PageState };
@@ -3,6 +3,7 @@ export type AsyncSelectOption<TValue extends string = string, TData = unknown> =
3
3
  value: TValue;
4
4
  label: React.ReactNode;
5
5
  disabled?: boolean;
6
+ disabledReason?: React.ReactNode;
6
7
  description?: React.ReactNode;
7
8
  data?: TData;
8
9
  };
@@ -37,8 +38,8 @@ export type AsyncSelectProps<TValue extends string = string, TData = unknown, TO
37
38
  value?: TValue;
38
39
  selectedOption?: TOption | null;
39
40
  onValueChange?: (value: TValue | undefined, option?: TOption) => void;
40
- loadOptions: (search: string) => Promise<AsyncSelectOptionsResult<TValue, TData, TOption>>;
41
- loadSelectedOption?: (value: TValue) => Promise<TOption | null | undefined>;
41
+ loadOptions: (search: string, signal?: AbortSignal) => Promise<AsyncSelectOptionsResult<TValue, TData, TOption>>;
42
+ loadSelectedOption?: (value: TValue, signal?: AbortSignal) => Promise<TOption | null | undefined>;
42
43
  defaultOptions?: AsyncSelectOptionsResult<TValue, TData, TOption>;
43
44
  disabled?: boolean;
44
45
  clearable?: boolean;
@@ -67,8 +68,8 @@ export type AsyncMultiSelectProps<TValue extends string = string, TData = unknow
67
68
  value?: TValue[];
68
69
  selectedOptions?: TOption[];
69
70
  onValueChange?: (value: TValue[], options: TOption[]) => void;
70
- loadOptions: (search: string) => Promise<AsyncSelectOptionsResult<TValue, TData, TOption>>;
71
- loadSelectedOptions?: (values: TValue[]) => Promise<TOption[]>;
71
+ loadOptions: (search: string, signal?: AbortSignal) => Promise<AsyncSelectOptionsResult<TValue, TData, TOption>>;
72
+ loadSelectedOptions?: (values: TValue[], signal?: AbortSignal) => Promise<TOption[]>;
72
73
  defaultOptions?: AsyncSelectOptionsResult<TValue, TData, TOption>;
73
74
  disabled?: boolean;
74
75
  clearable?: boolean;
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ export type ColorInputProps = Omit<React.ComponentProps<"input">, "type" | "value" | "defaultValue" | "onChange"> & {
3
+ value?: string;
4
+ defaultValue?: string;
5
+ onValueChange?: (value: string) => void;
6
+ label?: React.ReactNode;
7
+ description?: React.ReactNode;
8
+ swatchClassName?: string;
9
+ };
10
+ declare function ColorInput({ value, defaultValue, onValueChange, label, description, swatchClassName, className, disabled, ...props }: ColorInputProps): React.JSX.Element;
11
+ export { ColorInput };
@@ -1,14 +1,18 @@
1
- export * from "./simple-select";
2
- export * from "./async-select";
3
- export * from "./clearable-input";
4
- export * from "./search-input";
5
- export * from "./password-input";
6
- export * from "./number-input";
7
- export * from "./date-input";
8
- export * from "./date-range-input";
9
- export * from "./money-input";
10
- export * from "./quantity-input";
11
- export * from "./masked-input";
12
- export * from "./phone-input";
13
- export * from "./tag-input";
14
- export * from "./combobox";
1
+ export * from './simple-select';
2
+ export * from './async-select';
3
+ export * from './clearable-input';
4
+ export * from './search-input';
5
+ export * from './password-input';
6
+ export * from './number-input';
7
+ export * from './date-input';
8
+ export * from './date-range-input';
9
+ export * from './money-input';
10
+ export * from './quantity-input';
11
+ export * from './masked-input';
12
+ export * from './phone-input';
13
+ export * from './tag-input';
14
+ export * from './combobox';
15
+ export * from './rating';
16
+ export * from './slider';
17
+ export * from './otp-input';
18
+ export * from './color-input';
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export type OtpInputProps = Omit<React.ComponentProps<"div">, "onChange"> & {
3
+ value?: string;
4
+ defaultValue?: string;
5
+ onValueChange?: (value: string) => void;
6
+ length?: number;
7
+ disabled?: boolean;
8
+ inputMode?: React.HTMLAttributes<HTMLInputElement>["inputMode"];
9
+ pattern?: string;
10
+ mask?: boolean;
11
+ labels?: {
12
+ group?: string;
13
+ cell?: (index: number) => string;
14
+ };
15
+ };
16
+ declare function OtpInput({ value, defaultValue, onValueChange, length, disabled, inputMode, pattern, mask, labels, className, ...props }: OtpInputProps): React.JSX.Element;
17
+ export { OtpInput };
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export type RatingProps = Omit<React.ComponentProps<"div">, "onChange"> & {
3
+ value?: number;
4
+ defaultValue?: number;
5
+ onValueChange?: (value: number) => void;
6
+ count?: number;
7
+ allowClear?: boolean;
8
+ disabled?: boolean;
9
+ readOnly?: boolean;
10
+ labels?: {
11
+ rate?: (value: number) => string;
12
+ clear?: string;
13
+ };
14
+ icon?: React.ReactNode;
15
+ };
16
+ declare function Rating({ value, defaultValue, onValueChange, count, allowClear, disabled, readOnly, labels, icon, className, ...props }: RatingProps): React.JSX.Element;
17
+ export { Rating };
@@ -0,0 +1,24 @@
1
+ import * as React from "react";
2
+ export type SliderProps = Omit<React.ComponentProps<"input">, "type" | "value" | "defaultValue" | "onChange"> & {
3
+ value?: number;
4
+ defaultValue?: number;
5
+ onValueChange?: (value: number) => void;
6
+ min?: number;
7
+ max?: number;
8
+ step?: number;
9
+ label?: React.ReactNode;
10
+ description?: React.ReactNode;
11
+ showValue?: boolean;
12
+ formatValue?: (value: number) => React.ReactNode;
13
+ };
14
+ declare function Slider({ value, defaultValue, onValueChange, min, max, step, label, description, showValue, formatValue, className, disabled, ...props }: SliderProps): React.JSX.Element;
15
+ export type RangeSliderValue = [number, number];
16
+ export type RangeSliderProps = Omit<SliderProps, "value" | "defaultValue" | "onValueChange" | "showValue" | "formatValue"> & {
17
+ value?: RangeSliderValue;
18
+ defaultValue?: RangeSliderValue;
19
+ onValueChange?: (value: RangeSliderValue) => void;
20
+ showValue?: boolean;
21
+ formatValue?: (value: RangeSliderValue) => React.ReactNode;
22
+ };
23
+ declare function RangeSlider({ value, defaultValue, onValueChange, min, max, step, label, description, showValue, formatValue, className, disabled, }: RangeSliderProps): React.JSX.Element;
24
+ export { RangeSlider, Slider };
@@ -6,3 +6,5 @@ export * from "./stat-card";
6
6
  export * from "./sidebar-nav";
7
7
  export * from "./breadcrumbs";
8
8
  export * from "./page-container";
9
+ export * from "./section";
10
+ export * from "./sticky-footer-bar";
@@ -0,0 +1,24 @@
1
+ import * as React from "react";
2
+ export type SectionProps = React.ComponentProps<"section"> & {
3
+ title?: React.ReactNode;
4
+ description?: React.ReactNode;
5
+ actions?: React.ReactNode;
6
+ padded?: boolean;
7
+ bordered?: boolean;
8
+ };
9
+ declare function Section({ title, description, actions, padded, bordered, className, children, ...props }: SectionProps): React.JSX.Element;
10
+ export type ToolbarProps = React.ComponentProps<"div"> & {
11
+ title?: React.ReactNode;
12
+ description?: React.ReactNode;
13
+ filters?: React.ReactNode;
14
+ actions?: React.ReactNode;
15
+ };
16
+ declare function Toolbar({ title, description, filters, actions, className, children, ...props }: ToolbarProps): React.JSX.Element;
17
+ export type SplitLayoutProps = React.ComponentProps<"div"> & {
18
+ aside: React.ReactNode;
19
+ asidePosition?: "start" | "end";
20
+ asideClassName?: string;
21
+ contentClassName?: string;
22
+ };
23
+ declare function SplitLayout({ aside, asidePosition, asideClassName, contentClassName, className, children, ...props }: SplitLayoutProps): React.JSX.Element;
24
+ export { Section, SplitLayout, Toolbar };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ export type StickyFooterBarProps = React.ComponentProps<"div"> & {
3
+ start?: React.ReactNode;
4
+ end?: React.ReactNode;
5
+ };
6
+ declare function StickyFooterBar({ start, end, className, children, ...props }: StickyFooterBarProps): React.JSX.Element;
7
+ export { StickyFooterBar };
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ export type AnchorNavItem = {
3
+ key: string;
4
+ label: React.ReactNode;
5
+ href: string;
6
+ active?: boolean;
7
+ disabled?: boolean;
8
+ };
9
+ export type AnchorNavProps = React.ComponentProps<"nav"> & {
10
+ items: AnchorNavItem[];
11
+ orientation?: "vertical" | "horizontal";
12
+ title?: React.ReactNode;
13
+ };
14
+ declare function AnchorNav({ items, orientation, title, className, ...props }: AnchorNavProps): React.JSX.Element;
15
+ export { AnchorNav };
@@ -1,3 +1,4 @@
1
- export * from "./pagination";
2
- export * from "./page-tabs";
3
- export * from "./stepper-tabs";
1
+ export * from './pagination';
2
+ export * from './page-tabs';
3
+ export * from './stepper-tabs';
4
+ export * from './anchor-nav';
@@ -0,0 +1,29 @@
1
+ import * as React from "react";
2
+ export type CollapseProps = React.ComponentProps<"details"> & {
3
+ defaultOpen?: boolean;
4
+ open?: boolean;
5
+ onOpenChange?: (open: boolean) => void;
6
+ };
7
+ declare function Collapse({ open, defaultOpen, onOpenChange, onToggle, className, children, ...props }: CollapseProps): React.JSX.Element;
8
+ export type CollapseTriggerProps = React.ComponentProps<"summary"> & {
9
+ icon?: React.ReactNode;
10
+ hideIcon?: boolean;
11
+ };
12
+ declare function CollapseTrigger({ icon, hideIcon, className, children, ...props }: CollapseTriggerProps): React.JSX.Element;
13
+ declare function CollapseContent({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
14
+ export type CollapseItem = {
15
+ key: string;
16
+ title: React.ReactNode;
17
+ content: React.ReactNode;
18
+ description?: React.ReactNode;
19
+ disabled?: boolean;
20
+ };
21
+ export type CollapseGroupProps = React.ComponentProps<"div"> & {
22
+ items: CollapseItem[];
23
+ type?: "single" | "multiple";
24
+ value?: string | string[];
25
+ defaultValue?: string | string[];
26
+ onValueChange?: (value: string | string[]) => void;
27
+ };
28
+ declare function CollapseGroup({ items, type, value, defaultValue, onValueChange, className, ...props }: CollapseGroupProps): React.JSX.Element;
29
+ export { Collapse, CollapseContent, CollapseGroup, CollapseTrigger };
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ export type DividerProps = React.ComponentProps<"div"> & {
3
+ orientation?: "horizontal" | "vertical";
4
+ dashed?: boolean;
5
+ label?: React.ReactNode;
6
+ labelPosition?: "start" | "center" | "end";
7
+ };
8
+ declare function Divider({ orientation, dashed, label, labelPosition, className, ...props }: DividerProps): React.JSX.Element;
9
+ export { Divider };
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export type SegmentedControlOption<TValue extends string = string> = {
3
+ value: TValue;
4
+ label: React.ReactNode;
5
+ icon?: React.ReactNode;
6
+ disabled?: boolean;
7
+ };
8
+ export type SegmentedControlProps<TValue extends string = string> = Omit<React.ComponentProps<"div">, "onChange"> & {
9
+ value?: TValue;
10
+ defaultValue?: TValue;
11
+ onValueChange?: (value: TValue) => void;
12
+ options: SegmentedControlOption<TValue>[];
13
+ size?: "sm" | "md" | "lg";
14
+ fullWidth?: boolean;
15
+ };
16
+ declare function SegmentedControl<TValue extends string = string>({ value, defaultValue, onValueChange, options, size, fullWidth, className, ...props }: SegmentedControlProps<TValue>): React.JSX.Element;
17
+ export { SegmentedControl };
@@ -0,0 +1,17 @@
1
+ import * as React from "react";
2
+ export type SkeletonProps = React.ComponentProps<"div"> & {
3
+ rounded?: "sm" | "md" | "lg" | "full";
4
+ animated?: boolean;
5
+ };
6
+ declare function Skeleton({ rounded, animated, className, ...props }: SkeletonProps): React.JSX.Element;
7
+ export type SkeletonTextProps = React.ComponentProps<"div"> & {
8
+ rows?: number;
9
+ lastRowWidth?: string;
10
+ };
11
+ declare function SkeletonText({ rows, lastRowWidth, className, ...props }: SkeletonTextProps): React.JSX.Element;
12
+ export type SkeletonCardProps = React.ComponentProps<"div"> & {
13
+ avatar?: boolean;
14
+ rows?: number;
15
+ };
16
+ declare function SkeletonCard({ avatar, rows, className, ...props }: SkeletonCardProps): React.JSX.Element;
17
+ export { Skeleton, SkeletonCard, SkeletonText };
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ export type SpinnerProps = React.ComponentProps<"span"> & {
3
+ size?: "xs" | "sm" | "md" | "lg";
4
+ label?: string;
5
+ };
6
+ declare function Spinner({ size, label, className, ...props }: SpinnerProps): React.JSX.Element;
7
+ export type LoadingOverlayProps = React.ComponentProps<"div"> & {
8
+ loading?: boolean;
9
+ label?: string;
10
+ };
11
+ declare function LoadingOverlay({ loading, label, className, children, ...props }: LoadingOverlayProps): React.JSX.Element;
12
+ export { LoadingOverlay, Spinner };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ export type TooltipProps = React.ComponentProps<"span"> & {
3
+ content: React.ReactNode;
4
+ side?: "top" | "bottom" | "left" | "right";
5
+ disabled?: boolean;
6
+ };
7
+ declare function Tooltip({ content, side, disabled, className, children, ...props }: TooltipProps): React.JSX.Element;
8
+ export { Tooltip };
@@ -5,6 +5,14 @@ export type FileUploadRejectedFile = {
5
5
  reason: FileUploadRejectReason;
6
6
  message: string;
7
7
  };
8
+ export type FileUploadRejectionMessageContext = {
9
+ file: File;
10
+ reason: FileUploadRejectReason;
11
+ maxFiles?: number;
12
+ maxSize?: number;
13
+ accept?: string;
14
+ };
15
+ export type FileUploadRejectionMessages = Partial<Record<FileUploadRejectReason, string | ((context: FileUploadRejectionMessageContext) => string)>>;
8
16
  export type FileUploadRenderFileState = {
9
17
  file: File;
10
18
  index: number;
@@ -33,6 +41,8 @@ export type FileUploadProps = NativeFileInputProps & {
33
41
  helperText?: React.ReactNode;
34
42
  clearLabel?: React.ReactNode;
35
43
  removeLabel?: string;
44
+ dropzoneAriaLabel?: string;
45
+ rejectionMessages?: FileUploadRejectionMessages;
36
46
  maxFiles?: number;
37
47
  maxSize?: number;
38
48
  appendFiles?: boolean;
@@ -57,5 +67,5 @@ export type FileUploadProps = NativeFileInputProps & {
57
67
  declare function formatBytes(bytes: number): string;
58
68
  declare function fileMatchesAccept(file: File, accept?: string): boolean;
59
69
  declare function getFileKey(file: File): string;
60
- declare function FileUpload({ files, onFilesChange, rejectedFiles, onRejectedFilesChange, buttonLabel, dropzoneLabel, dropzoneDescription, dragActiveLabel, helperText, clearLabel, removeLabel, maxFiles, maxSize, appendFiles, showFileList, showClearButton, loading, progress, renderFile, renderRejectedFile, renderActions, className, inputClassName, dropzoneClassName, fileListClassName, fileItemClassName, rejectedListClassName, accept, multiple, disabled, onDragEnter, onDragLeave, onDragOver, onDrop, ...props }: FileUploadProps): React.JSX.Element;
70
+ declare function FileUpload({ files, onFilesChange, rejectedFiles, onRejectedFilesChange, buttonLabel, dropzoneLabel, dropzoneDescription, dragActiveLabel, helperText, clearLabel, removeLabel, dropzoneAriaLabel, rejectionMessages, maxFiles, maxSize, appendFiles, showFileList, showClearButton, loading, progress, renderFile, renderRejectedFile, renderActions, className, inputClassName, dropzoneClassName, fileListClassName, fileItemClassName, rejectedListClassName, accept, multiple, disabled, onDragEnter, onDragLeave, onDragOver, onDrop, ...props }: FileUploadProps): React.JSX.Element;
61
71
  export { FileUpload, fileMatchesAccept, formatBytes, getFileKey };