@ikatec/nebula-react 1.6.0 → 1.7.0-beta.1
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/ikatec-nebula-react-1.7.0-beta.1.tgz +0 -0
- package/dist/index.d.mts +805 -768
- package/dist/index.d.ts +805 -768
- package/dist/index.js +7500 -7242
- package/dist/index.mjs +7906 -7654
- package/package.json +3 -3
- package/dist/ikatec-nebula-react-1.6.0.tgz +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,26 +1,58 @@
|
|
|
1
|
-
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
2
|
-
import * as React$1 from 'react';
|
|
3
|
-
import React__default, { ComponentProps, PropsWithChildren, HTMLAttributes, ReactNode, DragEvent, ChangeEvent, InputHTMLAttributes, MutableRefObject } from 'react';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
6
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
7
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
|
-
import * as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
|
+
import React__default, { PropsWithChildren, HTMLAttributes, ComponentProps, DragEvent, ChangeEvent, InputHTMLAttributes, ReactNode, MutableRefObject } from 'react';
|
|
4
|
+
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
11
5
|
import * as DrawerPrimitive from '@radix-ui/react-dialog';
|
|
6
|
+
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types';
|
|
7
|
+
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
8
|
+
import { VariantProps } from 'class-variance-authority';
|
|
12
9
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
10
|
+
import * as AvatarPrimitive from '@radix-ui/react-avatar';
|
|
11
|
+
import { DayPicker, Locale } from 'react-day-picker';
|
|
13
12
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
14
|
-
import * as
|
|
15
|
-
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
16
|
-
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
|
-
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
13
|
+
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
18
14
|
import * as RPNInput from 'react-phone-number-input';
|
|
19
|
-
import {
|
|
20
|
-
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
21
|
-
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
15
|
+
import { Props } from 'react-select';
|
|
22
16
|
import { UniqueIdentifier, DragEndEvent, CollisionDetection, Modifiers, SensorDescriptor, DndContext } from '@dnd-kit/core';
|
|
23
|
-
import * as
|
|
17
|
+
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
18
|
+
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
19
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
20
|
+
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
21
|
+
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
22
|
+
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
23
|
+
import { Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
24
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
25
|
+
|
|
26
|
+
interface AccordionProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
27
|
+
}
|
|
28
|
+
declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
|
|
29
|
+
collapsible?: boolean;
|
|
30
|
+
}): react_jsx_runtime.JSX.Element;
|
|
31
|
+
declare namespace Accordion {
|
|
32
|
+
var displayName: string;
|
|
33
|
+
}
|
|
34
|
+
declare function AccordionItem({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
35
|
+
declare namespace AccordionItem {
|
|
36
|
+
var displayName: string;
|
|
37
|
+
}
|
|
38
|
+
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
39
|
+
declare namespace AccordionTrigger {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
42
|
+
declare function AccordionContent({ className, children, separator, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content> & {
|
|
43
|
+
separator?: boolean;
|
|
44
|
+
}): react_jsx_runtime.JSX.Element;
|
|
45
|
+
declare namespace AccordionContent {
|
|
46
|
+
var displayName: string;
|
|
47
|
+
}
|
|
48
|
+
declare function AccordionTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
49
|
+
declare namespace AccordionTitle {
|
|
50
|
+
var displayName: string;
|
|
51
|
+
}
|
|
52
|
+
declare function AccordionDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare namespace AccordionDescription {
|
|
54
|
+
var displayName: string;
|
|
55
|
+
}
|
|
24
56
|
|
|
25
57
|
declare enum buttonVariantEnum {
|
|
26
58
|
primary = "\n bg-button-primary-background-default\n hover:bg-button-primary-background-hover\n active:bg-button-primary-background-active\n focus:bg-button-primary-background-focus\n focus:ring-button-primary-border-focus\n text-button-primary-text\n ",
|
|
@@ -64,6 +96,99 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
|
64
96
|
*/
|
|
65
97
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
66
98
|
|
|
99
|
+
declare const separatorVariantsConfig: (props?: ({
|
|
100
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
101
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
102
|
+
declare const separatorVariants: {
|
|
103
|
+
orientation: ("horizontal" | "vertical")[];
|
|
104
|
+
};
|
|
105
|
+
interface SeparatorProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, 'orientation'>, VariantProps<typeof separatorVariantsConfig> {
|
|
106
|
+
orientation?: 'horizontal' | 'vertical';
|
|
107
|
+
decorative?: boolean;
|
|
108
|
+
}
|
|
109
|
+
declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
110
|
+
|
|
111
|
+
declare const ActionBar: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogProps & React$1.RefAttributes<void>>;
|
|
112
|
+
declare const ActionBarTrigger: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
113
|
+
declare const ActionBarPortal: {
|
|
114
|
+
(props: React$1.ComponentProps<typeof DrawerPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
115
|
+
displayName: string;
|
|
116
|
+
};
|
|
117
|
+
declare const ActionBarClose: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
118
|
+
declare const ActionBarButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
119
|
+
declare const ActionBarDivider: React$1.ForwardRefExoticComponent<Omit<SeparatorProps, "orientation"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
120
|
+
interface ActionBarContentProps {
|
|
121
|
+
portal?: boolean;
|
|
122
|
+
}
|
|
123
|
+
declare const ActionBarContent: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement> & ActionBarContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
124
|
+
|
|
125
|
+
declare const alertVariantsConfig: (props?: ({
|
|
126
|
+
variant?: "default" | "danger" | "info" | "success" | "warning" | null | undefined;
|
|
127
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
128
|
+
declare const alertVariants: {
|
|
129
|
+
variant: ("default" | "danger" | "info" | "success" | "warning")[];
|
|
130
|
+
};
|
|
131
|
+
interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariantsConfig> {
|
|
132
|
+
}
|
|
133
|
+
declare const Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
134
|
+
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
135
|
+
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
136
|
+
declare const AlertButton: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
137
|
+
|
|
138
|
+
declare const AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
139
|
+
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
140
|
+
interface AlertDialogContentProps {
|
|
141
|
+
portal?: boolean;
|
|
142
|
+
}
|
|
143
|
+
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
144
|
+
declare const AlertDialogHeader: {
|
|
145
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
146
|
+
displayName: string;
|
|
147
|
+
};
|
|
148
|
+
declare const AlertDialogFooter: {
|
|
149
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
150
|
+
displayName: string;
|
|
151
|
+
};
|
|
152
|
+
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
153
|
+
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
154
|
+
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
155
|
+
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
156
|
+
|
|
157
|
+
declare enum AvatarVariantEnum {
|
|
158
|
+
primary = "primary",
|
|
159
|
+
success = "success",
|
|
160
|
+
warning = "warning",
|
|
161
|
+
danger = "danger",
|
|
162
|
+
neutral = "neutral",
|
|
163
|
+
random = "random"
|
|
164
|
+
}
|
|
165
|
+
declare enum AvatarSizeEnum {
|
|
166
|
+
'3xs' = "3xs",// 20px
|
|
167
|
+
'2xs' = "2xs",// 24px
|
|
168
|
+
'xs' = "xs",// 32px
|
|
169
|
+
'sm' = "sm",// 40px
|
|
170
|
+
'md' = "md",// 44px
|
|
171
|
+
'lg' = "lg",// 48px
|
|
172
|
+
'xl' = "xl",// 56px
|
|
173
|
+
'2xl' = "2xl",// 64px
|
|
174
|
+
'3xl' = "3xl",// 72px
|
|
175
|
+
'4xl' = "4xl",// 80px
|
|
176
|
+
'5xl' = "5xl"
|
|
177
|
+
}
|
|
178
|
+
type AvatarSizeType = keyof typeof AvatarSizeEnum;
|
|
179
|
+
type AvatarVariantType = keyof typeof AvatarVariantEnum;
|
|
180
|
+
declare function Avatar({ className, size, variant, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root> & {
|
|
181
|
+
size?: AvatarSizeType;
|
|
182
|
+
variant?: AvatarVariantType;
|
|
183
|
+
}): react_jsx_runtime.JSX.Element;
|
|
184
|
+
declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
|
|
185
|
+
declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
|
|
186
|
+
declare function AvatarStick({ className, x, y, ...props }: React$1.ComponentProps<'span'> & {
|
|
187
|
+
x: 'left' | 'right';
|
|
188
|
+
y: 'top' | 'bottom';
|
|
189
|
+
}): react_jsx_runtime.JSX.Element;
|
|
190
|
+
declare function AvatarHoverAction({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
191
|
+
|
|
67
192
|
declare enum badgeVariantEnum {
|
|
68
193
|
primary = "bg-badge-primary-background text-badge-primary-text",
|
|
69
194
|
secondary = "bg-badge-secondary-background text-badge-secondary-text",
|
|
@@ -93,223 +218,180 @@ interface BadgeProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
|
93
218
|
*/
|
|
94
219
|
declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
95
220
|
|
|
96
|
-
declare
|
|
97
|
-
|
|
221
|
+
declare enum BannerVariant {
|
|
222
|
+
outline = "outline",
|
|
223
|
+
filled = "filled"
|
|
224
|
+
}
|
|
225
|
+
declare enum BannerType {
|
|
226
|
+
info = "info",
|
|
227
|
+
success = "success",
|
|
228
|
+
warning = "warning",
|
|
229
|
+
error = "error"
|
|
230
|
+
}
|
|
231
|
+
declare const bannerAlertVariants: (props?: ({
|
|
232
|
+
variant?: "outline" | "filled" | null | undefined;
|
|
233
|
+
type?: "info" | "success" | "warning" | "error" | null | undefined;
|
|
98
234
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
99
|
-
|
|
100
|
-
variant:
|
|
101
|
-
|
|
102
|
-
|
|
235
|
+
interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
|
|
236
|
+
variant: keyof typeof BannerVariant;
|
|
237
|
+
type: keyof typeof BannerType;
|
|
238
|
+
title?: string;
|
|
239
|
+
description: string;
|
|
240
|
+
onClose?: VoidFunction;
|
|
241
|
+
children?: React.ReactNode;
|
|
103
242
|
}
|
|
104
|
-
declare const
|
|
105
|
-
declare const AlertTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
106
|
-
declare const AlertDescription: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLParagraphElement> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
107
|
-
declare const AlertButton: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
243
|
+
declare const BannerAlert: ({ variant, type, title, description, onClose, children, }: BannerAlertProps) => react_jsx_runtime.JSX.Element;
|
|
108
244
|
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
245
|
+
interface BoxProps extends PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
|
|
246
|
+
border?: boolean;
|
|
247
|
+
paddingSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
|
|
248
|
+
shadow?: 'sm' | 'md' | 'lg';
|
|
249
|
+
variant?: 'primary' | 'secondary';
|
|
113
250
|
}
|
|
114
|
-
declare const
|
|
251
|
+
declare const Box: ({ className, paddingSize, border, shadow, variant, children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
115
252
|
|
|
116
|
-
declare const
|
|
253
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
254
|
+
separator?: React$1.ReactNode;
|
|
255
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
256
|
+
declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
257
|
+
declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
258
|
+
declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
259
|
+
asChild?: boolean;
|
|
260
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
261
|
+
declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
262
|
+
declare const BreadcrumbSeparator: {
|
|
263
|
+
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
264
|
+
displayName: string;
|
|
265
|
+
};
|
|
266
|
+
declare const BreadcrumbEllipsis: {
|
|
267
|
+
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
268
|
+
displayName: string;
|
|
269
|
+
};
|
|
117
270
|
|
|
118
|
-
|
|
119
|
-
|
|
271
|
+
/**
|
|
272
|
+
* Type to store the message key.
|
|
273
|
+
*/
|
|
274
|
+
type MessageKey = string;
|
|
275
|
+
/**
|
|
276
|
+
* Type to store the message.
|
|
277
|
+
*/
|
|
278
|
+
type Message = string;
|
|
279
|
+
/**
|
|
280
|
+
* Type to store the message function.
|
|
281
|
+
*/
|
|
282
|
+
type MessageFunction = (...args: never[]) => string;
|
|
283
|
+
/**
|
|
284
|
+
* Type to store the messages.
|
|
285
|
+
*/
|
|
286
|
+
interface MessagesRecord extends Record<MessageKey, Message | MessageFunction> {
|
|
120
287
|
}
|
|
121
288
|
/**
|
|
122
|
-
*
|
|
123
|
-
* If `noCardWrapper` is true, it renders a simple table without the card styling.
|
|
289
|
+
* Type to store the pagination messages.
|
|
124
290
|
*/
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
129
|
-
declare const variants: {
|
|
130
|
-
variant: {
|
|
131
|
-
first: string;
|
|
132
|
-
second: string;
|
|
133
|
-
};
|
|
134
|
-
};
|
|
135
|
-
interface TableRowProps extends React$1.HTMLAttributes<HTMLTableRowElement> {
|
|
136
|
-
variant?: keyof typeof variants.variant;
|
|
291
|
+
interface PaginationMessages extends MessagesRecord {
|
|
292
|
+
totalResultsLabel: (pagesSize: number, totalResults: number) => string;
|
|
293
|
+
currentPageLabel: (currentPage: number, totalPages: number) => string;
|
|
137
294
|
}
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
141
|
-
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
142
|
-
|
|
143
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
144
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
145
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
146
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
147
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
148
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
149
|
-
inset?: boolean;
|
|
150
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
151
|
-
interface DropdownMenuSubContentProps {
|
|
152
|
-
portal?: boolean;
|
|
153
|
-
}
|
|
154
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
155
|
-
interface DropdownMenuContentProps {
|
|
156
|
-
portal?: boolean;
|
|
295
|
+
interface InputSelectMessages {
|
|
296
|
+
noOptions: string;
|
|
157
297
|
}
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
inset?: boolean;
|
|
161
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
162
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
163
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
164
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
165
|
-
inset?: boolean;
|
|
166
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
167
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
168
|
-
declare const DropdownMenuShortcut: {
|
|
169
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
170
|
-
displayName: string;
|
|
171
|
-
};
|
|
172
|
-
|
|
173
|
-
declare const separatorVariantsConfig: (props?: ({
|
|
174
|
-
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
175
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
176
|
-
declare const separatorVariants: {
|
|
177
|
-
orientation: ("horizontal" | "vertical")[];
|
|
178
|
-
};
|
|
179
|
-
interface SeparatorProps extends Omit<React$1.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>, 'orientation'>, VariantProps<typeof separatorVariantsConfig> {
|
|
180
|
-
orientation?: 'horizontal' | 'vertical';
|
|
181
|
-
decorative?: boolean;
|
|
298
|
+
interface InputPhoneMessages {
|
|
299
|
+
countries: Record<string, string>;
|
|
182
300
|
}
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
declare enum SpaceSizeEnum {
|
|
186
|
-
xs = "gap-1",
|
|
187
|
-
sm = "gap-2",
|
|
188
|
-
md = "gap-3",
|
|
189
|
-
lg = "gap-4",
|
|
190
|
-
xl = "gap-5"
|
|
301
|
+
interface TimePickerMessages {
|
|
302
|
+
label: string;
|
|
191
303
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
column = "flex-col"
|
|
304
|
+
interface FileUploadMessages {
|
|
305
|
+
deleteAll: string;
|
|
195
306
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
200
|
-
direction?: "row" | "column" | null | undefined;
|
|
201
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
202
|
-
interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
|
|
203
|
-
size?: SpaceSizeType;
|
|
204
|
-
direction?: SpaceDirectionType;
|
|
307
|
+
interface CropperMessages {
|
|
308
|
+
dialogTitle: string;
|
|
309
|
+
applyButtonLabel: string;
|
|
205
310
|
}
|
|
206
|
-
declare const Space: React__default.ForwardRefExoticComponent<SpaceProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
207
|
-
|
|
208
|
-
type PaginationProps = {
|
|
209
|
-
page: number;
|
|
210
|
-
pageSize: number;
|
|
211
|
-
onChangePage: (page: number) => void;
|
|
212
|
-
total: number;
|
|
213
|
-
} & Omit<ComponentProps<'nav'>, 'children'>;
|
|
214
311
|
/**
|
|
215
|
-
*
|
|
216
|
-
* @example
|
|
217
|
-
* <Pagination
|
|
218
|
-
* onChangePage={console.log}
|
|
219
|
-
* page={1}
|
|
220
|
-
* total={165}
|
|
221
|
-
* pageSize={10}
|
|
222
|
-
* />
|
|
223
|
-
*
|
|
224
|
-
* @param {number} page - The current page number.
|
|
225
|
-
* @param {number} total - The total number of items.
|
|
226
|
-
* @param {number} pageSize - The number of items per page.
|
|
227
|
-
* @param {function} onChangePage - Callback function to handle page changes.
|
|
312
|
+
* Type to store the messages.
|
|
228
313
|
*/
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
green = "bg-tag-colorIndicator-green",
|
|
237
|
-
yellow = "bg-tag-colorIndicator-yellow",
|
|
238
|
-
red = "bg-tag-colorIndicator-red",
|
|
239
|
-
orange = "bg-tag-colorIndicator-orange",
|
|
240
|
-
gray = "bg-tag-colorIndicator-gray"
|
|
314
|
+
interface Messages {
|
|
315
|
+
pagination: PaginationMessages;
|
|
316
|
+
inputSelect: InputSelectMessages;
|
|
317
|
+
inputPhone: InputPhoneMessages;
|
|
318
|
+
timePicker: TimePickerMessages;
|
|
319
|
+
fileUpload: FileUploadMessages;
|
|
320
|
+
cropper: CropperMessages;
|
|
241
321
|
}
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
322
|
+
|
|
323
|
+
declare enum NebulaLanguage {
|
|
324
|
+
EN_US = "en-US",
|
|
325
|
+
ES = "es",
|
|
326
|
+
PT_BR = "pt-BR"
|
|
247
327
|
}
|
|
248
328
|
/**
|
|
249
|
-
*
|
|
250
|
-
* @example
|
|
251
|
-
* <Tag
|
|
252
|
-
* onDelete={console.log}
|
|
253
|
-
* color="green">
|
|
254
|
-
* Green
|
|
255
|
-
* </Tag>
|
|
256
|
-
*
|
|
257
|
-
* @param {string} children - The text of Tag.
|
|
258
|
-
* @param {string} color - The color of Tag indicator.
|
|
259
|
-
* @param {function} onDelete - Callback component.
|
|
329
|
+
* Type to store the language in the localStorage.
|
|
260
330
|
*/
|
|
261
|
-
|
|
331
|
+
type Language = NebulaLanguage.EN_US | NebulaLanguage.ES | NebulaLanguage.PT_BR;
|
|
332
|
+
/**
|
|
333
|
+
* Get the language from the localStorage.
|
|
334
|
+
*/
|
|
335
|
+
declare const getNebulaLanguage: () => Language | null | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* Set the language in the localStorage.
|
|
338
|
+
*/
|
|
339
|
+
declare const setNebulaLanguage: (language: Language) => void;
|
|
340
|
+
/**
|
|
341
|
+
* Messages to use in the NebulaI18nProvider.
|
|
342
|
+
*/
|
|
343
|
+
declare const messages: Map<Language | null | undefined, Messages>;
|
|
262
344
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
345
|
+
type CalendarProps = ComponentProps<typeof DayPicker>;
|
|
346
|
+
declare const localeByi18nKey: Record<Language, Locale>;
|
|
347
|
+
declare const Calendar: ({ numberOfMonths, hideNavigation, month, onNextClick, onPrevClick, components: calendarComponents, ...props }: CalendarProps) => react_jsx_runtime.JSX.Element;
|
|
348
|
+
|
|
349
|
+
interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
350
|
+
variant?: 'multiselect' | 'default';
|
|
267
351
|
}
|
|
268
|
-
declare const
|
|
269
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
270
|
-
displayName: string;
|
|
271
|
-
};
|
|
272
|
-
declare const StyledCreatable: {
|
|
273
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
274
|
-
displayName: string;
|
|
275
|
-
};
|
|
276
|
-
declare const StyledAsync: {
|
|
277
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
278
|
-
displayName: string;
|
|
279
|
-
};
|
|
280
|
-
declare const StyledAsyncCreatable: {
|
|
281
|
-
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
282
|
-
displayName: string;
|
|
283
|
-
};
|
|
352
|
+
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
284
353
|
|
|
285
|
-
type
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
onClean?: () => void;
|
|
291
|
-
suffix?: string;
|
|
354
|
+
type Area = {
|
|
355
|
+
x: number;
|
|
356
|
+
y: number;
|
|
357
|
+
width: number;
|
|
358
|
+
height: number;
|
|
292
359
|
};
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
360
|
+
interface CropperRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
361
|
+
image: string;
|
|
362
|
+
cropPadding?: number;
|
|
363
|
+
aspectRatio?: number;
|
|
364
|
+
minZoom?: number;
|
|
365
|
+
maxZoom?: number;
|
|
366
|
+
zoomSensitivity?: number;
|
|
367
|
+
keyboardStep?: number;
|
|
368
|
+
zoom?: number;
|
|
369
|
+
onCropChange?: (pixels: Area | null) => void;
|
|
370
|
+
onZoomChange?: (zoom: number) => void;
|
|
371
|
+
children: React$1.ReactNode;
|
|
372
|
+
}
|
|
373
|
+
declare const Cropper$1: {
|
|
374
|
+
Root: React$1.FC<CropperRootProps>;
|
|
375
|
+
Image: React$1.FC<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "style" | "draggable" | "alt" | "src">>;
|
|
376
|
+
CropArea: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
377
|
+
Description: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
297
378
|
};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
379
|
+
|
|
380
|
+
declare function CropperDescription({ className, ...props }: React.ComponentProps<typeof Cropper$1.Description>): react_jsx_runtime.JSX.Element;
|
|
381
|
+
declare function CropperImage({ className, ...props }: React.ComponentProps<typeof Cropper$1.Image>): react_jsx_runtime.JSX.Element;
|
|
382
|
+
declare function CropperCropArea({ className, rounded, ...props }: React.ComponentProps<typeof Cropper$1.CropArea> & {
|
|
383
|
+
rounded?: boolean;
|
|
384
|
+
}): react_jsx_runtime.JSX.Element;
|
|
385
|
+
interface CropperProps {
|
|
386
|
+
open?: boolean;
|
|
387
|
+
onOpenChange: (open: boolean) => void;
|
|
388
|
+
previewUrl?: string;
|
|
389
|
+
onApply: (finalImageUrl: string, file: Blob) => void;
|
|
390
|
+
rounded?: boolean;
|
|
391
|
+
portal?: boolean;
|
|
392
|
+
onCancelCrop?: VoidFunction;
|
|
393
|
+
}
|
|
394
|
+
declare function Cropper({ onOpenChange, open, previewUrl, onApply, onCancelCrop, rounded, portal, }: CropperProps): react_jsx_runtime.JSX.Element;
|
|
313
395
|
|
|
314
396
|
declare const Dialog: React$1.FC<DrawerPrimitive.DialogProps>;
|
|
315
397
|
declare const DialogTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -334,46 +416,22 @@ declare const DialogFooter: {
|
|
|
334
416
|
declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
335
417
|
declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
336
418
|
|
|
337
|
-
declare const
|
|
338
|
-
declare const
|
|
339
|
-
|
|
419
|
+
declare const Drawer: React$1.FC<DrawerPrimitive.DialogProps>;
|
|
420
|
+
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
421
|
+
declare const DrawerClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
422
|
+
declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
|
|
423
|
+
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
424
|
+
declare const DrawerVariants: (props?: ({
|
|
425
|
+
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
426
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
427
|
+
interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
|
|
340
428
|
portal?: boolean;
|
|
341
429
|
}
|
|
342
|
-
declare const
|
|
343
|
-
declare const
|
|
344
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>
|
|
345
|
-
|
|
346
|
-
};
|
|
347
|
-
declare const AlertDialogFooter: {
|
|
348
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
349
|
-
displayName: string;
|
|
350
|
-
};
|
|
351
|
-
declare const AlertDialogTitle: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
352
|
-
declare const AlertDialogDescription: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
353
|
-
declare const AlertDialogAction: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
354
|
-
declare const AlertDialogCancel: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
355
|
-
|
|
356
|
-
interface CheckboxProps extends React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> {
|
|
357
|
-
variant?: 'multiselect' | 'default';
|
|
358
|
-
}
|
|
359
|
-
declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
360
|
-
|
|
361
|
-
declare const Drawer: React$1.FC<DrawerPrimitive.DialogProps>;
|
|
362
|
-
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
363
|
-
declare const DrawerClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
364
|
-
declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
|
|
365
|
-
declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
366
|
-
declare const DrawerVariants: (props?: ({
|
|
367
|
-
side?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
368
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
369
|
-
interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
|
|
370
|
-
portal?: boolean;
|
|
371
|
-
}
|
|
372
|
-
declare const DrawerContent: React$1.ForwardRefExoticComponent<DrawerContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
373
|
-
declare const DrawerHeader: {
|
|
374
|
-
({ className, extraActions, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
375
|
-
extraActions?: React$1.ReactNode;
|
|
376
|
-
}): react_jsx_runtime.JSX.Element;
|
|
430
|
+
declare const DrawerContent: React$1.ForwardRefExoticComponent<DrawerContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
431
|
+
declare const DrawerHeader: {
|
|
432
|
+
({ className, extraActions, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
|
|
433
|
+
extraActions?: React$1.ReactNode;
|
|
434
|
+
}): react_jsx_runtime.JSX.Element;
|
|
377
435
|
displayName: string;
|
|
378
436
|
};
|
|
379
437
|
declare const DrawerBody: {
|
|
@@ -387,228 +445,135 @@ declare const DrawerFooter: {
|
|
|
387
445
|
declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
388
446
|
declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
389
447
|
|
|
390
|
-
declare const
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
declare const
|
|
394
|
-
declare const
|
|
395
|
-
declare const
|
|
396
|
-
|
|
397
|
-
} & React$1.RefAttributes<
|
|
398
|
-
|
|
399
|
-
declare const BreadcrumbSeparator: {
|
|
400
|
-
({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
401
|
-
displayName: string;
|
|
402
|
-
};
|
|
403
|
-
declare const BreadcrumbEllipsis: {
|
|
404
|
-
({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
405
|
-
displayName: string;
|
|
406
|
-
};
|
|
407
|
-
|
|
408
|
-
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
409
|
-
|
|
410
|
-
interface TooltipProps {
|
|
411
|
-
content: string;
|
|
448
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
449
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
450
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
451
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
452
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
453
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
454
|
+
inset?: boolean;
|
|
455
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
456
|
+
interface DropdownMenuSubContentProps {
|
|
412
457
|
portal?: boolean;
|
|
413
458
|
}
|
|
414
|
-
declare const
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
}
|
|
418
|
-
declare function Accordion({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Root> & {
|
|
419
|
-
collapsible?: boolean;
|
|
420
|
-
}): react_jsx_runtime.JSX.Element;
|
|
421
|
-
declare namespace Accordion {
|
|
422
|
-
var displayName: string;
|
|
423
|
-
}
|
|
424
|
-
declare function AccordionItem({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
425
|
-
declare namespace AccordionItem {
|
|
426
|
-
var displayName: string;
|
|
427
|
-
}
|
|
428
|
-
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Trigger>): react_jsx_runtime.JSX.Element;
|
|
429
|
-
declare namespace AccordionTrigger {
|
|
430
|
-
var displayName: string;
|
|
431
|
-
}
|
|
432
|
-
declare function AccordionContent({ className, children, separator, ...props }: React$1.ComponentProps<typeof AccordionPrimitive.Content> & {
|
|
433
|
-
separator?: boolean;
|
|
434
|
-
}): react_jsx_runtime.JSX.Element;
|
|
435
|
-
declare namespace AccordionContent {
|
|
436
|
-
var displayName: string;
|
|
437
|
-
}
|
|
438
|
-
declare function AccordionTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
|
|
439
|
-
declare namespace AccordionTitle {
|
|
440
|
-
var displayName: string;
|
|
459
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
460
|
+
interface DropdownMenuContentProps {
|
|
461
|
+
portal?: boolean;
|
|
441
462
|
}
|
|
442
|
-
declare
|
|
443
|
-
|
|
444
|
-
|
|
463
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
interface DropdownMenuItemProps {
|
|
465
|
+
inset?: boolean;
|
|
466
|
+
variant?: 'primary' | 'danger';
|
|
445
467
|
}
|
|
446
|
-
|
|
447
|
-
declare const
|
|
448
|
-
|
|
468
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
470
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
472
|
+
inset?: boolean;
|
|
449
473
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
450
|
-
declare const
|
|
451
|
-
declare const
|
|
452
|
-
|
|
474
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
475
|
+
declare const DropdownMenuShortcut: {
|
|
476
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
477
|
+
displayName: string;
|
|
478
|
+
};
|
|
453
479
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
480
|
+
type FileMetadata = {
|
|
481
|
+
name: string;
|
|
482
|
+
size: number;
|
|
483
|
+
type: string;
|
|
484
|
+
url: string;
|
|
485
|
+
id: string;
|
|
486
|
+
};
|
|
487
|
+
type FileWithPreview = {
|
|
488
|
+
file: File | FileMetadata;
|
|
489
|
+
id: string;
|
|
490
|
+
preview?: string;
|
|
491
|
+
};
|
|
492
|
+
declare enum FileUploadError {
|
|
493
|
+
MAX_FILES_EXCEEDED = "MAX_FILES_EXCEEDED",
|
|
494
|
+
MAXIMUM_FILE_SIZE_EXCEEDED = "MAXIMUM_FILE_SIZE_EXCEEDED",
|
|
495
|
+
INVALID_FORMAT = "INVALID_FORMAT"
|
|
459
496
|
}
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
497
|
+
type FileUploadOptions = {
|
|
498
|
+
maxFiles?: number;
|
|
499
|
+
maxSize?: number;
|
|
500
|
+
accept?: string;
|
|
501
|
+
multiple?: boolean;
|
|
502
|
+
initialFiles?: FileMetadata[];
|
|
503
|
+
onFilesChange?: (files: FileWithPreview[]) => void;
|
|
504
|
+
onFilesAdded?: (addedFiles: FileWithPreview[]) => void;
|
|
505
|
+
onError?: (errors: {
|
|
506
|
+
file?: File | FileMetadata;
|
|
507
|
+
error: FileUploadError;
|
|
508
|
+
}[]) => void;
|
|
470
509
|
};
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
declare function info(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
475
|
-
declare function custom(message: string, options?: ToastOptions): void;
|
|
476
|
-
declare function promise<T>(promise: Promise<T>, messages: {
|
|
477
|
-
loading: string;
|
|
478
|
-
success: string;
|
|
479
|
-
error: string;
|
|
480
|
-
}, options?: ToastOptions): Promise<T>;
|
|
481
|
-
declare const toast: {
|
|
482
|
-
success: typeof success;
|
|
483
|
-
error: typeof error;
|
|
484
|
-
info: typeof info;
|
|
485
|
-
custom: typeof custom;
|
|
486
|
-
promise: typeof promise;
|
|
510
|
+
type FileUploadState = {
|
|
511
|
+
files: FileWithPreview[];
|
|
512
|
+
isDragging: boolean;
|
|
487
513
|
};
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
514
|
+
type FileUploadActions = {
|
|
515
|
+
addFiles: (files: FileList | File[]) => void;
|
|
516
|
+
removeFile: (id: string) => void;
|
|
517
|
+
clearFiles: () => void;
|
|
518
|
+
clearErrors: () => void;
|
|
519
|
+
handleDragEnter: (e: DragEvent<HTMLElement>) => void;
|
|
520
|
+
handleDragLeave: (e: DragEvent<HTMLElement>) => void;
|
|
521
|
+
handleDragOver: (e: DragEvent<HTMLElement>) => void;
|
|
522
|
+
handleDrop: (e: DragEvent<HTMLElement>) => void;
|
|
523
|
+
handleFileChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
524
|
+
openFileDialog: () => void;
|
|
525
|
+
getInputProps: (props?: InputHTMLAttributes<HTMLInputElement>) => InputHTMLAttributes<HTMLInputElement> & {
|
|
526
|
+
ref: React__default.Ref<HTMLInputElement>;
|
|
527
|
+
};
|
|
494
528
|
};
|
|
495
|
-
declare const
|
|
496
|
-
declare const
|
|
497
|
-
declare const ActionBarDivider: React$1.ForwardRefExoticComponent<Omit<SeparatorProps, "orientation"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
498
|
-
interface ActionBarContentProps {
|
|
499
|
-
portal?: boolean;
|
|
500
|
-
}
|
|
501
|
-
declare const ActionBarContent: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement> & ActionBarContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
529
|
+
declare const useFileUpload: (options?: FileUploadOptions) => [FileUploadState, FileUploadActions];
|
|
530
|
+
declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
502
531
|
|
|
503
|
-
interface
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
}
|
|
513
|
-
declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
514
|
-
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
515
|
-
size?: 'md' | 'sm';
|
|
516
|
-
asChild?: boolean;
|
|
517
|
-
children: ReactNode;
|
|
518
|
-
variant?: 'default' | 'external';
|
|
532
|
+
interface FileUploadProps extends Omit<FileUploadOptions, 'maxSize'> {
|
|
533
|
+
maxSizeMB?: number;
|
|
534
|
+
title: string;
|
|
535
|
+
subtitle: string;
|
|
536
|
+
showPreview?: boolean;
|
|
537
|
+
imagePreview?: (file?: FileWithPreview) => ReactNode;
|
|
538
|
+
onError?: (errors: {
|
|
539
|
+
file?: File | FileMetadata;
|
|
540
|
+
error: FileUploadError;
|
|
541
|
+
}[]) => void;
|
|
519
542
|
disabled?: boolean;
|
|
520
543
|
}
|
|
521
|
-
declare
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
isError?: boolean;
|
|
525
|
-
defaultCountry?: RPNInput.Country;
|
|
526
|
-
onChange: (value: string) => void;
|
|
527
|
-
value?: string | null;
|
|
528
|
-
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
529
|
-
declare function InputPhone({ className, disabled, isError, defaultCountry, value, onChange, ...props }: InputPhoneProps): react_jsx_runtime.JSX.Element;
|
|
530
|
-
|
|
531
|
-
interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
532
|
-
}
|
|
533
|
-
declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
534
|
-
|
|
535
|
-
/**
|
|
536
|
-
* Type to store the message key.
|
|
537
|
-
*/
|
|
538
|
-
type MessageKey = string;
|
|
539
|
-
/**
|
|
540
|
-
* Type to store the message.
|
|
541
|
-
*/
|
|
542
|
-
type Message = string;
|
|
543
|
-
/**
|
|
544
|
-
* Type to store the message function.
|
|
545
|
-
*/
|
|
546
|
-
type MessageFunction = (...args: never[]) => string;
|
|
547
|
-
/**
|
|
548
|
-
* Type to store the messages.
|
|
549
|
-
*/
|
|
550
|
-
interface MessagesRecord extends Record<MessageKey, Message | MessageFunction> {
|
|
551
|
-
}
|
|
552
|
-
/**
|
|
553
|
-
* Type to store the pagination messages.
|
|
554
|
-
*/
|
|
555
|
-
interface PaginationMessages extends MessagesRecord {
|
|
556
|
-
totalResultsLabel: (pagesSize: number, totalResults: number) => string;
|
|
557
|
-
currentPageLabel: (currentPage: number, totalPages: number) => string;
|
|
558
|
-
}
|
|
559
|
-
interface InputSelectMessages {
|
|
560
|
-
noOptions: string;
|
|
561
|
-
}
|
|
562
|
-
interface InputPhoneMessages {
|
|
563
|
-
countries: Record<string, string>;
|
|
564
|
-
}
|
|
565
|
-
interface TimePickerMessages {
|
|
566
|
-
label: string;
|
|
567
|
-
}
|
|
568
|
-
interface FileUploadMessages {
|
|
569
|
-
deleteAll: string;
|
|
570
|
-
}
|
|
571
|
-
interface CropperMessages {
|
|
572
|
-
dialogTitle: string;
|
|
573
|
-
applyButtonLabel: string;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* Type to store the messages.
|
|
577
|
-
*/
|
|
578
|
-
interface Messages {
|
|
579
|
-
pagination: PaginationMessages;
|
|
580
|
-
inputSelect: InputSelectMessages;
|
|
581
|
-
inputPhone: InputPhoneMessages;
|
|
582
|
-
timePicker: TimePickerMessages;
|
|
583
|
-
fileUpload: FileUploadMessages;
|
|
584
|
-
cropper: CropperMessages;
|
|
544
|
+
declare function FileUpload({ maxSizeMB, subtitle, title, imagePreview, showPreview, onError, maxFiles, ...rest }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
545
|
+
declare namespace FileUpload {
|
|
546
|
+
var displayName: string;
|
|
585
547
|
}
|
|
586
548
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
type
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
* Set the language in the localStorage.
|
|
602
|
-
*/
|
|
603
|
-
declare const setNebulaLanguage: (language: Language) => void;
|
|
549
|
+
type InputPasswordProps = {
|
|
550
|
+
type: 'password';
|
|
551
|
+
};
|
|
552
|
+
type InputBaseProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
553
|
+
isError?: boolean;
|
|
554
|
+
onClean?: () => void;
|
|
555
|
+
suffix?: string;
|
|
556
|
+
};
|
|
557
|
+
type InputTextProps = {
|
|
558
|
+
type?: 'text' | 'number' | 'email' | 'tel' | 'url' | 'hidden' | 'search';
|
|
559
|
+
icon?: React$1.ReactElement;
|
|
560
|
+
iconPlacement?: 'start' | 'end';
|
|
561
|
+
};
|
|
562
|
+
type InputProps = InputBaseProps & (InputPasswordProps | InputTextProps);
|
|
604
563
|
/**
|
|
605
|
-
*
|
|
564
|
+
* InputText component.
|
|
565
|
+
* @example
|
|
566
|
+
* <InputText
|
|
567
|
+
* leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
|
|
568
|
+
* placeholder="Insert a text"
|
|
569
|
+
* />
|
|
570
|
+
*
|
|
571
|
+
* @param className - Tailwind classes.
|
|
572
|
+
* @param icon - Input reference icon.
|
|
573
|
+
* @param isError - error identifier in value.
|
|
574
|
+
* @param onClean - text field clear function.
|
|
606
575
|
*/
|
|
607
|
-
declare const
|
|
608
|
-
|
|
609
|
-
type CalendarProps = ComponentProps<typeof DayPicker>;
|
|
610
|
-
declare const localeByi18nKey: Record<Language, Locale>;
|
|
611
|
-
declare const Calendar: ({ numberOfMonths, hideNavigation, month, onNextClick, onPrevClick, components: calendarComponents, ...props }: CalendarProps) => react_jsx_runtime.JSX.Element;
|
|
576
|
+
declare const InputText: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
612
577
|
|
|
613
578
|
interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
614
579
|
value?: string;
|
|
@@ -623,29 +588,59 @@ interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | '
|
|
|
623
588
|
declare const dateIsAvailable: (inputDate?: Date | null, disabledDates?: InputDatePickerSingleProps["disabledDates"]) => boolean;
|
|
624
589
|
declare const InputDatePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDatePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
625
590
|
|
|
626
|
-
interface
|
|
591
|
+
interface InputDateRangePickerProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
627
592
|
value?: string;
|
|
628
|
-
onChange?: (value?: string, calendarDate?: Date,
|
|
593
|
+
onChange?: (value?: string, calendarDate?: [Date | undefined, Date | undefined]) => void;
|
|
629
594
|
numberOfMonths?: CalendarProps['numberOfMonths'];
|
|
630
595
|
placeholder?: string;
|
|
631
596
|
className?: string;
|
|
632
597
|
disabledDates?: CalendarProps['disabled'];
|
|
633
598
|
onClean?: VoidFunction;
|
|
599
|
+
popoverContainer?: HTMLElement | null;
|
|
634
600
|
}
|
|
635
|
-
declare const
|
|
601
|
+
declare const InputDateRangePicker: {
|
|
602
|
+
({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
603
|
+
displayName: string;
|
|
604
|
+
};
|
|
636
605
|
|
|
637
|
-
interface
|
|
606
|
+
interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
638
607
|
value?: string;
|
|
639
|
-
onChange?: (value?: string, calendarDate?:
|
|
608
|
+
onChange?: (value?: string, calendarDate?: Date, inputTimeValue?: string) => void;
|
|
640
609
|
numberOfMonths?: CalendarProps['numberOfMonths'];
|
|
641
610
|
placeholder?: string;
|
|
642
611
|
className?: string;
|
|
643
612
|
disabledDates?: CalendarProps['disabled'];
|
|
644
613
|
onClean?: VoidFunction;
|
|
645
|
-
popoverContainer?: HTMLElement | null;
|
|
646
614
|
}
|
|
647
|
-
declare const
|
|
648
|
-
|
|
615
|
+
declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
616
|
+
|
|
617
|
+
type InputPhoneProps = {
|
|
618
|
+
isError?: boolean;
|
|
619
|
+
defaultCountry?: RPNInput.Country;
|
|
620
|
+
onChange: (value: string) => void;
|
|
621
|
+
value?: string | null;
|
|
622
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
623
|
+
declare function InputPhone({ className, disabled, isError, defaultCountry, value, onChange, ...props }: InputPhoneProps): react_jsx_runtime.JSX.Element;
|
|
624
|
+
|
|
625
|
+
interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
|
|
626
|
+
icon?: React.ReactNode;
|
|
627
|
+
disabled?: boolean;
|
|
628
|
+
isError?: boolean;
|
|
629
|
+
}
|
|
630
|
+
declare const StyledSelect: {
|
|
631
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
632
|
+
displayName: string;
|
|
633
|
+
};
|
|
634
|
+
declare const StyledCreatable: {
|
|
635
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
636
|
+
displayName: string;
|
|
637
|
+
};
|
|
638
|
+
declare const StyledAsync: {
|
|
639
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
640
|
+
displayName: string;
|
|
641
|
+
};
|
|
642
|
+
declare const StyledAsyncCreatable: {
|
|
643
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
649
644
|
displayName: string;
|
|
650
645
|
};
|
|
651
646
|
|
|
@@ -654,138 +649,150 @@ type InputTimeProps = Omit<React.ComponentProps<typeof InputText>, 'onChange'> &
|
|
|
654
649
|
};
|
|
655
650
|
declare const InputTime: React$1.ForwardRefExoticComponent<Omit<InputTimeProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
656
651
|
|
|
657
|
-
type
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
652
|
+
type AnySensorDescriptor = SensorDescriptor<Record<string, unknown>>;
|
|
653
|
+
type KanbanOrderingMode = 'manual' | 'external';
|
|
654
|
+
interface KanbanBoardCard {
|
|
655
|
+
id: UniqueIdentifier;
|
|
656
|
+
isDraggable?: boolean;
|
|
657
|
+
[key: string]: unknown;
|
|
658
|
+
}
|
|
659
|
+
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
660
|
+
id: UniqueIdentifier;
|
|
661
|
+
title: React$1.ReactNode;
|
|
662
|
+
description?: React$1.ReactNode;
|
|
663
|
+
cards: TCard[];
|
|
664
|
+
footer?: React$1.ReactNode;
|
|
665
|
+
canDrag?: boolean;
|
|
666
|
+
allowDrop?: boolean;
|
|
667
|
+
ordering?: KanbanOrderingMode;
|
|
668
|
+
onLoadMore?: () => void;
|
|
669
|
+
isLoadingMore?: boolean;
|
|
670
|
+
hasMore?: boolean;
|
|
671
|
+
loadMoreOffset?: number;
|
|
672
|
+
emptyState?: React$1.ReactNode;
|
|
673
|
+
meta?: TColumnMeta;
|
|
674
|
+
[key: string]: unknown;
|
|
675
|
+
}
|
|
676
|
+
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
677
|
+
card: TCard;
|
|
678
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
679
|
+
columnIndex: number;
|
|
680
|
+
index: number;
|
|
681
|
+
isDragging: boolean;
|
|
682
|
+
isOverlay: boolean;
|
|
683
|
+
}
|
|
684
|
+
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
685
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
686
|
+
columnIndex: number;
|
|
687
|
+
cardCount: number;
|
|
688
|
+
isDropTarget: boolean;
|
|
689
|
+
isDropTargetExternal: boolean;
|
|
690
|
+
isDragDisabled: boolean;
|
|
691
|
+
columnMeta?: TColumnMeta;
|
|
692
|
+
}
|
|
693
|
+
interface KanbanRenderColumnBodyContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
694
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
695
|
+
columnIndex: number;
|
|
696
|
+
cardCount: number;
|
|
697
|
+
cards: TCard[];
|
|
698
|
+
renderCardItem: (card: TCard, index: number) => React$1.ReactNode;
|
|
699
|
+
getCardId: (card: TCard) => UniqueIdentifier;
|
|
700
|
+
renderEmptyState: React$1.ReactNode;
|
|
701
|
+
isManualOrdering: boolean;
|
|
702
|
+
isDropTarget: boolean;
|
|
703
|
+
activeCardId: UniqueIdentifier | null;
|
|
704
|
+
dropRef: (node: HTMLDivElement | null) => void;
|
|
705
|
+
columnMeta?: TColumnMeta;
|
|
706
|
+
onLoadMore?: () => void;
|
|
707
|
+
hasMore?: boolean;
|
|
708
|
+
isLoadingMore?: boolean;
|
|
709
|
+
loadMoreOffset?: number;
|
|
710
|
+
}
|
|
711
|
+
interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
712
|
+
event: DragEndEvent;
|
|
713
|
+
card: TCard;
|
|
714
|
+
cardId: UniqueIdentifier;
|
|
715
|
+
fromColumnId: UniqueIdentifier;
|
|
716
|
+
toColumnId: UniqueIdentifier;
|
|
717
|
+
fromIndex: number;
|
|
718
|
+
toIndex: number | null;
|
|
719
|
+
ordering: KanbanOrderingMode;
|
|
720
|
+
isDifferentColumn: boolean;
|
|
721
|
+
}
|
|
722
|
+
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
723
|
+
event: DragEndEvent;
|
|
724
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
725
|
+
columnId: UniqueIdentifier;
|
|
726
|
+
fromIndex: number;
|
|
727
|
+
toIndex: number;
|
|
728
|
+
}
|
|
729
|
+
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
730
|
+
columns: KanbanBoardColumn<TCard, TColumnMeta>[];
|
|
731
|
+
renderCard: (context: KanbanRenderCardContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
732
|
+
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
733
|
+
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
734
|
+
renderEmptyState?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
735
|
+
renderColumnBody?: (context: KanbanRenderColumnBodyContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
736
|
+
getCardId?: (card: TCard) => UniqueIdentifier;
|
|
737
|
+
onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
|
|
738
|
+
onColumnDrop?: (event: KanbanColumnDropEvent<TCard, TColumnMeta>) => void;
|
|
739
|
+
className?: string;
|
|
740
|
+
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard, TColumnMeta>) => string | undefined);
|
|
741
|
+
collisionDetection?: CollisionDetection;
|
|
742
|
+
modifiers?: Modifiers;
|
|
743
|
+
sensors?: AnySensorDescriptor[];
|
|
744
|
+
measuring?: Parameters<typeof DndContext>[0]['measuring'];
|
|
673
745
|
}
|
|
674
|
-
type FileUploadOptions = {
|
|
675
|
-
maxFiles?: number;
|
|
676
|
-
maxSize?: number;
|
|
677
|
-
accept?: string;
|
|
678
|
-
multiple?: boolean;
|
|
679
|
-
initialFiles?: FileMetadata[];
|
|
680
|
-
onFilesChange?: (files: FileWithPreview[]) => void;
|
|
681
|
-
onFilesAdded?: (addedFiles: FileWithPreview[]) => void;
|
|
682
|
-
onError?: (errors: {
|
|
683
|
-
file?: File | FileMetadata;
|
|
684
|
-
error: FileUploadError;
|
|
685
|
-
}[]) => void;
|
|
686
|
-
};
|
|
687
|
-
type FileUploadState = {
|
|
688
|
-
files: FileWithPreview[];
|
|
689
|
-
isDragging: boolean;
|
|
690
|
-
};
|
|
691
|
-
type FileUploadActions = {
|
|
692
|
-
addFiles: (files: FileList | File[]) => void;
|
|
693
|
-
removeFile: (id: string) => void;
|
|
694
|
-
clearFiles: () => void;
|
|
695
|
-
clearErrors: () => void;
|
|
696
|
-
handleDragEnter: (e: DragEvent<HTMLElement>) => void;
|
|
697
|
-
handleDragLeave: (e: DragEvent<HTMLElement>) => void;
|
|
698
|
-
handleDragOver: (e: DragEvent<HTMLElement>) => void;
|
|
699
|
-
handleDrop: (e: DragEvent<HTMLElement>) => void;
|
|
700
|
-
handleFileChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
701
|
-
openFileDialog: () => void;
|
|
702
|
-
getInputProps: (props?: InputHTMLAttributes<HTMLInputElement>) => InputHTMLAttributes<HTMLInputElement> & {
|
|
703
|
-
ref: React__default.Ref<HTMLInputElement>;
|
|
704
|
-
};
|
|
705
|
-
};
|
|
706
|
-
declare const useFileUpload: (options?: FileUploadOptions) => [FileUploadState, FileUploadActions];
|
|
707
|
-
declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
708
746
|
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
subtitle: string;
|
|
713
|
-
showPreview?: boolean;
|
|
714
|
-
imagePreview?: (file?: FileWithPreview) => ReactNode;
|
|
715
|
-
onError?: (errors: {
|
|
716
|
-
file?: File | FileMetadata;
|
|
717
|
-
error: FileUploadError;
|
|
718
|
-
}[]) => void;
|
|
719
|
-
disabled?: boolean;
|
|
747
|
+
declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, renderColumnBody, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard, TColumnMeta>): react_jsx_runtime.JSX.Element;
|
|
748
|
+
|
|
749
|
+
interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
720
750
|
}
|
|
721
|
-
declare
|
|
722
|
-
declare
|
|
723
|
-
|
|
751
|
+
declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
752
|
+
declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
753
|
+
declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
754
|
+
declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
755
|
+
interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
756
|
+
isDragging?: boolean;
|
|
757
|
+
isOverlay?: boolean;
|
|
724
758
|
}
|
|
759
|
+
declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
760
|
+
declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
725
761
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
762
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
763
|
+
|
|
764
|
+
type PaginationProps = {
|
|
765
|
+
page: number;
|
|
766
|
+
pageSize: number;
|
|
767
|
+
onChangePage: (page: number) => void;
|
|
768
|
+
total: number;
|
|
769
|
+
} & Omit<ComponentProps<'nav'>, 'children'>;
|
|
733
770
|
/**
|
|
734
|
-
*
|
|
771
|
+
* Pagination component to navigate through pages of data.
|
|
735
772
|
* @example
|
|
736
|
-
* <
|
|
737
|
-
*
|
|
738
|
-
*
|
|
773
|
+
* <Pagination
|
|
774
|
+
* onChangePage={console.log}
|
|
775
|
+
* page={1}
|
|
776
|
+
* total={165}
|
|
777
|
+
* pageSize={10}
|
|
739
778
|
* />
|
|
740
779
|
*
|
|
741
|
-
* @param
|
|
742
|
-
* @param
|
|
743
|
-
* @param
|
|
744
|
-
* @param
|
|
780
|
+
* @param {number} page - The current page number.
|
|
781
|
+
* @param {number} total - The total number of items.
|
|
782
|
+
* @param {number} pageSize - The number of items per page.
|
|
783
|
+
* @param {function} onChangePage - Callback function to handle page changes.
|
|
745
784
|
*/
|
|
746
|
-
declare const
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
x: number;
|
|
750
|
-
y: number;
|
|
751
|
-
width: number;
|
|
752
|
-
height: number;
|
|
753
|
-
};
|
|
754
|
-
interface CropperRootProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
755
|
-
image: string;
|
|
756
|
-
cropPadding?: number;
|
|
757
|
-
aspectRatio?: number;
|
|
758
|
-
minZoom?: number;
|
|
759
|
-
maxZoom?: number;
|
|
760
|
-
zoomSensitivity?: number;
|
|
761
|
-
keyboardStep?: number;
|
|
762
|
-
zoom?: number;
|
|
763
|
-
onCropChange?: (pixels: Area | null) => void;
|
|
764
|
-
onZoomChange?: (zoom: number) => void;
|
|
765
|
-
children: React$1.ReactNode;
|
|
766
|
-
}
|
|
767
|
-
declare const Cropper$1: {
|
|
768
|
-
Root: React$1.FC<CropperRootProps>;
|
|
769
|
-
Image: React$1.FC<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "draggable" | "style" | "alt" | "src">>;
|
|
770
|
-
CropArea: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
771
|
-
Description: React$1.FC<React$1.HTMLAttributes<HTMLDivElement>>;
|
|
785
|
+
declare const Pagination: {
|
|
786
|
+
({ className, total, pageSize, page, onChangePage, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
787
|
+
displayName: string;
|
|
772
788
|
};
|
|
773
789
|
|
|
774
|
-
declare
|
|
775
|
-
declare
|
|
776
|
-
|
|
777
|
-
rounded?: boolean;
|
|
778
|
-
}): react_jsx_runtime.JSX.Element;
|
|
779
|
-
interface CropperProps {
|
|
780
|
-
open?: boolean;
|
|
781
|
-
onOpenChange: (open: boolean) => void;
|
|
782
|
-
previewUrl?: string;
|
|
783
|
-
onApply: (finalImageUrl: string, file: Blob) => void;
|
|
784
|
-
rounded?: boolean;
|
|
790
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
791
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
792
|
+
interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
785
793
|
portal?: boolean;
|
|
786
|
-
onCancelCrop?: VoidFunction;
|
|
787
794
|
}
|
|
788
|
-
declare
|
|
795
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
789
796
|
|
|
790
797
|
interface ProfileImageProps extends Omit<FileUploadOptions, 'maxSize'> {
|
|
791
798
|
maxSizeMB?: number;
|
|
@@ -807,11 +814,38 @@ declare const ProfileImage: {
|
|
|
807
814
|
displayName: string;
|
|
808
815
|
};
|
|
809
816
|
|
|
810
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
811
|
-
|
|
812
817
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
813
818
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
814
819
|
|
|
820
|
+
interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
821
|
+
}
|
|
822
|
+
declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
823
|
+
|
|
824
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
825
|
+
|
|
826
|
+
declare enum SpaceSizeEnum {
|
|
827
|
+
xs = "gap-1",
|
|
828
|
+
sm = "gap-2",
|
|
829
|
+
md = "gap-3",
|
|
830
|
+
lg = "gap-4",
|
|
831
|
+
xl = "gap-5"
|
|
832
|
+
}
|
|
833
|
+
declare enum SpaceDirectionEnum {
|
|
834
|
+
row = "flex-row",
|
|
835
|
+
column = "flex-col"
|
|
836
|
+
}
|
|
837
|
+
type SpaceDirectionType = keyof typeof SpaceDirectionEnum;
|
|
838
|
+
type SpaceSizeType = keyof typeof SpaceSizeEnum;
|
|
839
|
+
declare const spaceVariantsConfig: (props?: ({
|
|
840
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
841
|
+
direction?: "row" | "column" | null | undefined;
|
|
842
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
843
|
+
interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
|
|
844
|
+
size?: SpaceSizeType;
|
|
845
|
+
direction?: SpaceDirectionType;
|
|
846
|
+
}
|
|
847
|
+
declare const Space: React__default.ForwardRefExoticComponent<SpaceProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
848
|
+
|
|
815
849
|
interface StepperProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
816
850
|
defaultValue?: number;
|
|
817
851
|
value?: number;
|
|
@@ -846,134 +880,123 @@ declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HT
|
|
|
846
880
|
declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
847
881
|
declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
848
882
|
|
|
849
|
-
declare
|
|
850
|
-
outline = "outline",
|
|
851
|
-
filled = "filled"
|
|
852
|
-
}
|
|
853
|
-
declare enum BannerType {
|
|
854
|
-
info = "info",
|
|
855
|
-
success = "success",
|
|
856
|
-
warning = "warning",
|
|
857
|
-
error = "error"
|
|
858
|
-
}
|
|
859
|
-
declare const bannerAlertVariants: (props?: ({
|
|
860
|
-
variant?: "filled" | "outline" | null | undefined;
|
|
861
|
-
type?: "info" | "success" | "warning" | "error" | null | undefined;
|
|
862
|
-
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
863
|
-
interface BannerAlertProps extends VariantProps<typeof bannerAlertVariants> {
|
|
864
|
-
variant: keyof typeof BannerVariant;
|
|
865
|
-
type: keyof typeof BannerType;
|
|
866
|
-
title?: string;
|
|
867
|
-
description: string;
|
|
868
|
-
onClose?: VoidFunction;
|
|
869
|
-
children?: React.ReactNode;
|
|
870
|
-
}
|
|
871
|
-
declare const BannerAlert: ({ variant, type, title, description, onClose, children, }: BannerAlertProps) => react_jsx_runtime.JSX.Element;
|
|
883
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
872
884
|
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
interface KanbanBoardCard {
|
|
876
|
-
id: UniqueIdentifier;
|
|
877
|
-
isDraggable?: boolean;
|
|
878
|
-
[key: string]: unknown;
|
|
879
|
-
}
|
|
880
|
-
interface KanbanVirtualizationOptions {
|
|
881
|
-
enabled?: boolean;
|
|
882
|
-
estimateCardHeight?: number;
|
|
883
|
-
overscan?: number;
|
|
884
|
-
}
|
|
885
|
-
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
886
|
-
id: UniqueIdentifier;
|
|
887
|
-
title: React$1.ReactNode;
|
|
888
|
-
description?: React$1.ReactNode;
|
|
889
|
-
cards: TCard[];
|
|
890
|
-
footer?: React$1.ReactNode;
|
|
891
|
-
canDrag?: boolean;
|
|
892
|
-
allowDrop?: boolean;
|
|
893
|
-
ordering?: KanbanOrderingMode;
|
|
894
|
-
virtualization?: KanbanVirtualizationOptions;
|
|
895
|
-
onLoadMore?: () => void;
|
|
896
|
-
isLoadingMore?: boolean;
|
|
897
|
-
hasMore?: boolean;
|
|
898
|
-
loadMoreOffset?: number;
|
|
899
|
-
emptyState?: React$1.ReactNode;
|
|
900
|
-
[key: string]: unknown;
|
|
901
|
-
}
|
|
902
|
-
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
903
|
-
card: TCard;
|
|
904
|
-
column: KanbanBoardColumn<TCard>;
|
|
905
|
-
columnIndex: number;
|
|
906
|
-
index: number;
|
|
907
|
-
isDragging: boolean;
|
|
908
|
-
isOverlay: boolean;
|
|
909
|
-
}
|
|
910
|
-
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
911
|
-
column: KanbanBoardColumn<TCard>;
|
|
912
|
-
columnIndex: number;
|
|
913
|
-
cardCount: number;
|
|
914
|
-
isDropTarget: boolean;
|
|
915
|
-
isDropTargetExternal: boolean;
|
|
916
|
-
isDragDisabled: boolean;
|
|
917
|
-
}
|
|
918
|
-
interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
919
|
-
event: DragEndEvent;
|
|
920
|
-
card: TCard;
|
|
921
|
-
cardId: UniqueIdentifier;
|
|
922
|
-
fromColumnId: UniqueIdentifier;
|
|
923
|
-
toColumnId: UniqueIdentifier;
|
|
924
|
-
fromIndex: number;
|
|
925
|
-
toIndex: number | null;
|
|
926
|
-
ordering: KanbanOrderingMode;
|
|
927
|
-
isDifferentColumn: boolean;
|
|
928
|
-
}
|
|
929
|
-
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
930
|
-
event: DragEndEvent;
|
|
931
|
-
column: KanbanBoardColumn<TCard>;
|
|
932
|
-
columnId: UniqueIdentifier;
|
|
933
|
-
fromIndex: number;
|
|
934
|
-
toIndex: number;
|
|
885
|
+
interface TableProps extends React$1.HTMLAttributes<HTMLTableElement> {
|
|
886
|
+
noCardWrapper?: boolean;
|
|
935
887
|
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
888
|
+
/**
|
|
889
|
+
* Table component that can be used with or without a card wrapper.
|
|
890
|
+
* If `noCardWrapper` is true, it renders a simple table without the card styling.
|
|
891
|
+
*/
|
|
892
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & TableProps & React$1.RefAttributes<HTMLTableElement>>;
|
|
893
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
894
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
895
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
896
|
+
declare const variants: {
|
|
897
|
+
variant: {
|
|
898
|
+
first: string;
|
|
899
|
+
second: string;
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
interface TableRowProps extends React$1.HTMLAttributes<HTMLTableRowElement> {
|
|
903
|
+
variant?: keyof typeof variants.variant;
|
|
951
904
|
}
|
|
905
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
906
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
907
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
908
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
952
909
|
|
|
953
|
-
declare
|
|
910
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
911
|
+
isFitted?: boolean;
|
|
912
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
913
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
914
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
915
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
954
916
|
|
|
955
|
-
|
|
917
|
+
declare enum tagVariantsEnum {
|
|
918
|
+
blue = "bg-tag-colorIndicator-blue",
|
|
919
|
+
green = "bg-tag-colorIndicator-green",
|
|
920
|
+
yellow = "bg-tag-colorIndicator-yellow",
|
|
921
|
+
red = "bg-tag-colorIndicator-red",
|
|
922
|
+
orange = "bg-tag-colorIndicator-orange",
|
|
923
|
+
gray = "bg-tag-colorIndicator-gray"
|
|
956
924
|
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
isDragging?: boolean;
|
|
963
|
-
isOverlay?: boolean;
|
|
925
|
+
type TagVariantsType = keyof typeof tagVariantsEnum;
|
|
926
|
+
interface TagProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
927
|
+
onDelete?: () => void;
|
|
928
|
+
children?: string;
|
|
929
|
+
color?: TagVariantsType;
|
|
964
930
|
}
|
|
965
|
-
|
|
966
|
-
|
|
931
|
+
/**
|
|
932
|
+
* Tag component.
|
|
933
|
+
* @example
|
|
934
|
+
* <Tag
|
|
935
|
+
* onDelete={console.log}
|
|
936
|
+
* color="green">
|
|
937
|
+
* Green
|
|
938
|
+
* </Tag>
|
|
939
|
+
*
|
|
940
|
+
* @param {string} children - The text of Tag.
|
|
941
|
+
* @param {string} color - The color of Tag indicator.
|
|
942
|
+
* @param {function} onDelete - Callback component.
|
|
943
|
+
*/
|
|
944
|
+
declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
945
|
+
|
|
946
|
+
interface TextAreaProps extends React$1.InputHTMLAttributes<HTMLTextAreaElement> {
|
|
947
|
+
isError?: boolean;
|
|
948
|
+
resize?: boolean;
|
|
949
|
+
showCount?: boolean;
|
|
950
|
+
autoResize?: boolean;
|
|
951
|
+
asInput?: boolean;
|
|
952
|
+
}
|
|
953
|
+
/**
|
|
954
|
+
* TextArea component.
|
|
955
|
+
* @example
|
|
956
|
+
* <TextArea
|
|
957
|
+
* leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
|
|
958
|
+
* placeholder="Insert a text"
|
|
959
|
+
* />
|
|
960
|
+
*
|
|
961
|
+
* @param className - Tailwind classes.
|
|
962
|
+
* @param icon - Input reference icon.
|
|
963
|
+
* @param isError - error identifier in value.
|
|
964
|
+
* @param onClean - text field clear function.
|
|
965
|
+
*/
|
|
966
|
+
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
967
967
|
|
|
968
968
|
declare const TipCard: ({ children, looping, }: PropsWithChildren<{
|
|
969
969
|
looping?: boolean;
|
|
970
970
|
}>) => react_jsx_runtime.JSX.Element;
|
|
971
971
|
|
|
972
|
+
declare const TipCardContent: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
|
|
973
|
+
|
|
974
|
+
declare const TipCardFooter: React__default.MemoExoticComponent<() => react_jsx_runtime.JSX.Element | null>;
|
|
975
|
+
|
|
976
|
+
declare const TipCardHeader: React__default.MemoExoticComponent<({ children, icon }: PropsWithChildren<{
|
|
977
|
+
icon?: React__default.ReactNode;
|
|
978
|
+
}>) => react_jsx_runtime.JSX.Element>;
|
|
979
|
+
|
|
972
980
|
declare const TipCardItem: {
|
|
973
981
|
({ ["data-tip-card-item-order" as keyof React.HTMLAttributes<HTMLDivElement>]: order, children, ...props }: PropsWithChildren<React__default.HTMLAttributes<HTMLDivElement>>): react_jsx_runtime.JSX.Element;
|
|
974
982
|
displayName: string;
|
|
975
983
|
};
|
|
976
984
|
|
|
985
|
+
declare enum TipCardMediaType {
|
|
986
|
+
image = "image",
|
|
987
|
+
video = "video"
|
|
988
|
+
}
|
|
989
|
+
interface TipCardMediaProps {
|
|
990
|
+
type: keyof typeof TipCardMediaType;
|
|
991
|
+
source?: string;
|
|
992
|
+
alt?: string;
|
|
993
|
+
children?: React__default.ReactNode;
|
|
994
|
+
}
|
|
995
|
+
declare const TipCardMedia: {
|
|
996
|
+
({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
|
|
997
|
+
displayName: string;
|
|
998
|
+
};
|
|
999
|
+
|
|
977
1000
|
interface TipCardContextType {
|
|
978
1001
|
registeredTipsMap: Map<string, boolean>;
|
|
979
1002
|
currentTipOrder: number;
|
|
@@ -989,63 +1012,105 @@ declare const TipCardProvider: ({ children, looping, }: PropsWithChildren<{
|
|
|
989
1012
|
}>) => react_jsx_runtime.JSX.Element;
|
|
990
1013
|
declare const useTipCard: () => TipCardContextType;
|
|
991
1014
|
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1015
|
+
type ToastOptions = {
|
|
1016
|
+
description?: string;
|
|
1017
|
+
action?: {
|
|
1018
|
+
label: React__default.ReactNode;
|
|
1019
|
+
variant?: 'secondary' | 'ghost';
|
|
1020
|
+
onClick: () => void;
|
|
1021
|
+
};
|
|
995
1022
|
icon?: React__default.ReactNode;
|
|
996
|
-
}
|
|
1023
|
+
};
|
|
1024
|
+
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
1025
|
+
declare function success(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1026
|
+
declare function error(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1027
|
+
declare function info(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1028
|
+
declare function custom(message: string, options?: ToastOptions): void;
|
|
1029
|
+
declare function promise<T>(promise: Promise<T>, messages: {
|
|
1030
|
+
loading: string;
|
|
1031
|
+
success: string;
|
|
1032
|
+
error: string;
|
|
1033
|
+
}, options?: ToastOptions): Promise<T>;
|
|
1034
|
+
declare const toast: {
|
|
1035
|
+
success: typeof success;
|
|
1036
|
+
error: typeof error;
|
|
1037
|
+
info: typeof info;
|
|
1038
|
+
custom: typeof custom;
|
|
1039
|
+
promise: typeof promise;
|
|
1040
|
+
};
|
|
997
1041
|
|
|
998
|
-
declare const
|
|
1042
|
+
declare const toggleVariants: (props?: ({
|
|
1043
|
+
icon?: boolean | null | undefined;
|
|
1044
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
1045
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1046
|
+
declare enum ToggleSizeEnum {
|
|
1047
|
+
xs = "xs",
|
|
1048
|
+
sm = "sm",
|
|
1049
|
+
md = "md",
|
|
1050
|
+
lg = "lg"
|
|
1051
|
+
}
|
|
1052
|
+
declare function Toggle({ className, size, children, icon, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
999
1053
|
|
|
1000
|
-
declare enum
|
|
1001
|
-
|
|
1002
|
-
|
|
1054
|
+
declare enum ToggleGroupTypeEnum {
|
|
1055
|
+
single = "single",
|
|
1056
|
+
multiple = "multiple"
|
|
1003
1057
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1058
|
+
declare function ToggleGroup({ className, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1059
|
+
declare function ToggleGroupItem({ className, children, size, icon, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1060
|
+
|
|
1061
|
+
interface TooltipProps {
|
|
1062
|
+
content: string;
|
|
1063
|
+
portal?: boolean;
|
|
1009
1064
|
}
|
|
1010
|
-
declare const
|
|
1011
|
-
({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
|
|
1012
|
-
displayName: string;
|
|
1013
|
-
};
|
|
1065
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1014
1066
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
success = "success",
|
|
1018
|
-
warning = "warning",
|
|
1019
|
-
danger = "danger",
|
|
1020
|
-
neutral = "neutral",
|
|
1021
|
-
random = "random"
|
|
1067
|
+
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
1068
|
+
level: '1' | '2' | '3' | '4' | '5' | '6';
|
|
1022
1069
|
}
|
|
1023
|
-
declare
|
|
1024
|
-
|
|
1025
|
-
'
|
|
1026
|
-
'xs' = "xs",// 32px
|
|
1027
|
-
'sm' = "sm",// 40px
|
|
1028
|
-
'md' = "md",// 44px
|
|
1029
|
-
'lg' = "lg",// 48px
|
|
1030
|
-
'xl' = "xl",// 56px
|
|
1031
|
-
'2xl' = "2xl",// 64px
|
|
1032
|
-
'3xl' = "3xl",// 72px
|
|
1033
|
-
'4xl' = "4xl",// 80px
|
|
1034
|
-
'5xl' = "5xl"
|
|
1070
|
+
declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
1071
|
+
interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
1072
|
+
size?: 'md' | 'sm';
|
|
1035
1073
|
}
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1074
|
+
declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
1075
|
+
interface CaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
|
|
1076
|
+
}
|
|
1077
|
+
declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
1078
|
+
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1079
|
+
size?: 'md' | 'sm';
|
|
1080
|
+
asChild?: boolean;
|
|
1081
|
+
children: ReactNode;
|
|
1082
|
+
variant?: 'default' | 'external';
|
|
1083
|
+
disabled?: boolean;
|
|
1084
|
+
}
|
|
1085
|
+
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* Context type to use the NebulaI18nProvider.
|
|
1089
|
+
*/
|
|
1090
|
+
interface NebulaI18nContextType {
|
|
1091
|
+
messages: Messages;
|
|
1092
|
+
locale: Language | null | undefined;
|
|
1093
|
+
}
|
|
1094
|
+
/**
|
|
1095
|
+
* Props to use the NebulaI18nProvider.
|
|
1096
|
+
*/
|
|
1097
|
+
interface NebulaI18nProviderProps {
|
|
1098
|
+
customI18nStorageKey?: string;
|
|
1099
|
+
children: React.ReactNode;
|
|
1100
|
+
}
|
|
1101
|
+
/**
|
|
1102
|
+
* Provider to use the NebulaI18nContext.
|
|
1103
|
+
*
|
|
1104
|
+
* @param {React.ReactNode} props.children - The children to render.
|
|
1105
|
+
* @param {string} [props.customI18nStorageKey] - The custom storage key to use the NebulaI18nProvider. Default is `nebula-i18n-key`.
|
|
1106
|
+
* @returns {React.ReactNode} The rendered children.
|
|
1107
|
+
*/
|
|
1108
|
+
declare const NebulaI18nProvider: ({ children, customI18nStorageKey, }: NebulaI18nProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1109
|
+
/**
|
|
1110
|
+
* Hook to use the NebulaI18nContext.
|
|
1111
|
+
* @throws {Error} If the hook is used outside of a NebulaI18nProvider.
|
|
1112
|
+
*/
|
|
1113
|
+
declare const useNebulaI18n: () => NebulaI18nContextType;
|
|
1049
1114
|
|
|
1050
1115
|
interface Content {
|
|
1051
1116
|
/**
|
|
@@ -1084,37 +1149,9 @@ declare const tailwind: {
|
|
|
1084
1149
|
content: typeof content;
|
|
1085
1150
|
};
|
|
1086
1151
|
|
|
1087
|
-
/**
|
|
1088
|
-
* Context type to use the NebulaI18nProvider.
|
|
1089
|
-
*/
|
|
1090
|
-
interface NebulaI18nContextType {
|
|
1091
|
-
messages: Messages;
|
|
1092
|
-
locale: Language | null | undefined;
|
|
1093
|
-
}
|
|
1094
|
-
/**
|
|
1095
|
-
* Props to use the NebulaI18nProvider.
|
|
1096
|
-
*/
|
|
1097
|
-
interface NebulaI18nProviderProps {
|
|
1098
|
-
customI18nStorageKey?: string;
|
|
1099
|
-
children: React.ReactNode;
|
|
1100
|
-
}
|
|
1101
|
-
/**
|
|
1102
|
-
* Provider to use the NebulaI18nContext.
|
|
1103
|
-
*
|
|
1104
|
-
* @param {React.ReactNode} props.children - The children to render.
|
|
1105
|
-
* @param {string} [props.customI18nStorageKey] - The custom storage key to use the NebulaI18nProvider. Default is `nebula-i18n-key`.
|
|
1106
|
-
* @returns {React.ReactNode} The rendered children.
|
|
1107
|
-
*/
|
|
1108
|
-
declare const NebulaI18nProvider: ({ children, customI18nStorageKey, }: NebulaI18nProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1109
|
-
/**
|
|
1110
|
-
* Hook to use the NebulaI18nContext.
|
|
1111
|
-
* @throws {Error} If the hook is used outside of a NebulaI18nProvider.
|
|
1112
|
-
*/
|
|
1113
|
-
declare const useNebulaI18n: () => NebulaI18nContextType;
|
|
1114
|
-
|
|
1115
1152
|
type PossibleRefs<T extends HTMLElement> = MutableRefObject<T | undefined | null> | MutableRefObject<T | undefined | null>[];
|
|
1116
1153
|
declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, onClickOutside: VoidFunction): void;
|
|
1117
1154
|
|
|
1118
1155
|
declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
1119
1156
|
|
|
1120
|
-
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type
|
|
1157
|
+
export { Accordion, AccordionContent, AccordionDescription, AccordionItem, type AccordionProps, AccordionTitle, AccordionTrigger, ActionBar, ActionBarButton, ActionBarClose, ActionBarContent, ActionBarDivider, ActionBarPortal, ActionBarTrigger, Alert, AlertButton, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, StyledAsync as Async, StyledAsyncCreatable as AsyncCreatable, Avatar, AvatarFallback, AvatarHoverAction, AvatarImage, AvatarSizeEnum, AvatarStick, AvatarVariantEnum, Badge, type BadgeProps, BannerAlert, type BannerAlertProps, BannerType, BannerVariant, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, type ButtonProps, Calendar, type CalendarProps, Caption, type CaptionProps, Checkbox, type CheckboxProps, StyledCreatable as Creatable, Cropper, CropperCropArea, CropperDescription, CropperImage, type CropperProps, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, Drawer, DrawerBody, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type FileMetadata, FileUpload, type FileUploadActions, FileUploadError, type FileUploadOptions, type FileUploadProps, type FileUploadState, type FileWithPreview, Heading, type HeadingProps, InputDatePickerSingle, type InputDatePickerSingleProps, InputDateRangePicker, type InputDateRangePickerProps, InputDateTimePickerSingle, type InputDateTimePickerSingleProps, InputPhone, InputText, type InputTextProps, InputTime, type InputTimeProps, KanbanBoard, type KanbanBoardCard, type KanbanBoardColumn, type KanbanBoardProps, KanbanCard, type KanbanCardDropEvent, KanbanColumn, KanbanColumnDragHandle, type KanbanColumnDropEvent, KanbanColumnFooter, KanbanColumnHeader, KanbanColumnTitle, type KanbanOrderingMode, type KanbanRenderCardContext, type KanbanRenderColumnBodyContext, type KanbanRenderColumnContext, Label, Link, type LinkProps, NebulaI18nProvider, type NebulaI18nProviderProps, Pagination, type PaginationProps, Paragraph, type ParagraphProps, Popover, PopoverContent, type PopoverContentProps, PopoverTrigger, ProfileImage, type ProfileImageProps, RadioGroup, RadioGroupItem, StyledSelect as Select, type CreateStyledSelectProps as SelectProps, Separator, type SeparatorProps, Skeleton, type SkeletonProps, Slider, Space, SpaceDirectionEnum, type SpaceProps, SpaceSizeEnum, Stepper, StepperDescription, StepperIndicator, StepperItem, StepperSeparator, StepperTitle, StepperTrigger, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, TextArea, type TextAreaProps, TipCard, TipCardContent, TipCardFooter, TipCardHeader, TipCardItem, TipCardMedia, TipCardMediaType, TipCardProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, ToggleGroupTypeEnum, ToggleSizeEnum, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, toggleVariants, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n, useTipCard };
|