@ikatec/nebula-react 1.6.0-beta.3 → 1.6.0-beta.5
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.6.0-beta.5.tgz +0 -0
- package/dist/index.d.mts +794 -759
- package/dist/index.d.ts +794 -759
- package/dist/index.js +7441 -7229
- package/dist/index.mjs +7857 -7651
- package/package.json +3 -3
- package/dist/ikatec-nebula-react-1.6.0-beta.3.tgz +0 -0
package/dist/index.d.ts
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,30 +416,6 @@ 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 AlertDialog: React$1.FC<AlertDialogPrimitive.AlertDialogProps>;
|
|
338
|
-
declare const AlertDialogTrigger: React$1.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
339
|
-
interface AlertDialogContentProps {
|
|
340
|
-
portal?: boolean;
|
|
341
|
-
}
|
|
342
|
-
declare const AlertDialogContent: React$1.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
343
|
-
declare const AlertDialogHeader: {
|
|
344
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
345
|
-
displayName: string;
|
|
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
419
|
declare const Drawer: React$1.FC<DrawerPrimitive.DialogProps>;
|
|
362
420
|
declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
363
421
|
declare const DrawerClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -387,228 +445,133 @@ 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;
|
|
441
|
-
}
|
|
442
|
-
declare function AccordionDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
443
|
-
declare namespace AccordionDescription {
|
|
444
|
-
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;
|
|
445
462
|
}
|
|
446
|
-
|
|
447
|
-
declare const
|
|
448
|
-
|
|
463
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
465
|
+
inset?: boolean;
|
|
449
466
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
450
|
-
declare const
|
|
451
|
-
declare const
|
|
452
|
-
declare const
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
variant?: 'primary' | 'secondary';
|
|
459
|
-
}
|
|
460
|
-
declare const Box: ({ className, paddingSize, border, shadow, variant, children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
|
|
461
|
-
|
|
462
|
-
type ToastOptions = {
|
|
463
|
-
description?: string;
|
|
464
|
-
action?: {
|
|
465
|
-
label: React__default.ReactNode;
|
|
466
|
-
variant?: 'secondary' | 'ghost';
|
|
467
|
-
onClick: () => void;
|
|
468
|
-
};
|
|
469
|
-
icon?: React__default.ReactNode;
|
|
470
|
-
};
|
|
471
|
-
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
472
|
-
declare function success(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
473
|
-
declare function error(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
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;
|
|
487
|
-
};
|
|
488
|
-
|
|
489
|
-
declare const ActionBar: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogProps & React$1.RefAttributes<void>>;
|
|
490
|
-
declare const ActionBarTrigger: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
491
|
-
declare const ActionBarPortal: {
|
|
492
|
-
(props: React$1.ComponentProps<typeof DrawerPrimitive.Portal>): react_jsx_runtime.JSX.Element;
|
|
467
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
468
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
469
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
470
|
+
inset?: boolean;
|
|
471
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
472
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
473
|
+
declare const DropdownMenuShortcut: {
|
|
474
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
|
|
493
475
|
displayName: string;
|
|
494
476
|
};
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
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';
|
|
519
|
-
disabled?: boolean;
|
|
520
|
-
}
|
|
521
|
-
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
522
|
-
|
|
523
|
-
type InputPhoneProps = {
|
|
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;
|
|
477
|
+
|
|
478
|
+
type FileMetadata = {
|
|
479
|
+
name: string;
|
|
480
|
+
size: number;
|
|
481
|
+
type: string;
|
|
482
|
+
url: string;
|
|
483
|
+
id: string;
|
|
484
|
+
};
|
|
485
|
+
type FileWithPreview = {
|
|
486
|
+
file: File | FileMetadata;
|
|
487
|
+
id: string;
|
|
488
|
+
preview?: string;
|
|
489
|
+
};
|
|
490
|
+
declare enum FileUploadError {
|
|
491
|
+
MAX_FILES_EXCEEDED = "MAX_FILES_EXCEEDED",
|
|
492
|
+
MAXIMUM_FILE_SIZE_EXCEEDED = "MAXIMUM_FILE_SIZE_EXCEEDED",
|
|
493
|
+
INVALID_FORMAT = "INVALID_FORMAT"
|
|
570
494
|
}
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
495
|
+
type FileUploadOptions = {
|
|
496
|
+
maxFiles?: number;
|
|
497
|
+
maxSize?: number;
|
|
498
|
+
accept?: string;
|
|
499
|
+
multiple?: boolean;
|
|
500
|
+
initialFiles?: FileMetadata[];
|
|
501
|
+
onFilesChange?: (files: FileWithPreview[]) => void;
|
|
502
|
+
onFilesAdded?: (addedFiles: FileWithPreview[]) => void;
|
|
503
|
+
onError?: (errors: {
|
|
504
|
+
file?: File | FileMetadata;
|
|
505
|
+
error: FileUploadError;
|
|
506
|
+
}[]) => void;
|
|
507
|
+
};
|
|
508
|
+
type FileUploadState = {
|
|
509
|
+
files: FileWithPreview[];
|
|
510
|
+
isDragging: boolean;
|
|
511
|
+
};
|
|
512
|
+
type FileUploadActions = {
|
|
513
|
+
addFiles: (files: FileList | File[]) => void;
|
|
514
|
+
removeFile: (id: string) => void;
|
|
515
|
+
clearFiles: () => void;
|
|
516
|
+
clearErrors: () => void;
|
|
517
|
+
handleDragEnter: (e: DragEvent<HTMLElement>) => void;
|
|
518
|
+
handleDragLeave: (e: DragEvent<HTMLElement>) => void;
|
|
519
|
+
handleDragOver: (e: DragEvent<HTMLElement>) => void;
|
|
520
|
+
handleDrop: (e: DragEvent<HTMLElement>) => void;
|
|
521
|
+
handleFileChange: (e: ChangeEvent<HTMLInputElement>) => void;
|
|
522
|
+
openFileDialog: () => void;
|
|
523
|
+
getInputProps: (props?: InputHTMLAttributes<HTMLInputElement>) => InputHTMLAttributes<HTMLInputElement> & {
|
|
524
|
+
ref: React__default.Ref<HTMLInputElement>;
|
|
525
|
+
};
|
|
526
|
+
};
|
|
527
|
+
declare const useFileUpload: (options?: FileUploadOptions) => [FileUploadState, FileUploadActions];
|
|
528
|
+
declare const formatBytes: (bytes: number, decimals?: number) => string;
|
|
529
|
+
|
|
530
|
+
interface FileUploadProps extends Omit<FileUploadOptions, 'maxSize'> {
|
|
531
|
+
maxSizeMB?: number;
|
|
532
|
+
title: string;
|
|
533
|
+
subtitle: string;
|
|
534
|
+
showPreview?: boolean;
|
|
535
|
+
imagePreview?: (file?: FileWithPreview) => ReactNode;
|
|
536
|
+
onError?: (errors: {
|
|
537
|
+
file?: File | FileMetadata;
|
|
538
|
+
error: FileUploadError;
|
|
539
|
+
}[]) => void;
|
|
540
|
+
disabled?: boolean;
|
|
574
541
|
}
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
interface Messages {
|
|
579
|
-
pagination: PaginationMessages;
|
|
580
|
-
inputSelect: InputSelectMessages;
|
|
581
|
-
inputPhone: InputPhoneMessages;
|
|
582
|
-
timePicker: TimePickerMessages;
|
|
583
|
-
fileUpload: FileUploadMessages;
|
|
584
|
-
cropper: CropperMessages;
|
|
542
|
+
declare function FileUpload({ maxSizeMB, subtitle, title, imagePreview, showPreview, onError, maxFiles, ...rest }: FileUploadProps): react_jsx_runtime.JSX.Element;
|
|
543
|
+
declare namespace FileUpload {
|
|
544
|
+
var displayName: string;
|
|
585
545
|
}
|
|
586
546
|
|
|
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;
|
|
547
|
+
type InputPasswordProps = {
|
|
548
|
+
type: 'password';
|
|
549
|
+
};
|
|
550
|
+
type InputBaseProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
|
|
551
|
+
isError?: boolean;
|
|
552
|
+
onClean?: () => void;
|
|
553
|
+
suffix?: string;
|
|
554
|
+
};
|
|
555
|
+
type InputTextProps = {
|
|
556
|
+
type?: 'text' | 'number' | 'email' | 'tel' | 'url' | 'hidden' | 'search';
|
|
557
|
+
icon?: React$1.ReactElement;
|
|
558
|
+
iconPlacement?: 'start' | 'end';
|
|
559
|
+
};
|
|
560
|
+
type InputProps = InputBaseProps & (InputPasswordProps | InputTextProps);
|
|
604
561
|
/**
|
|
605
|
-
*
|
|
562
|
+
* InputText component.
|
|
563
|
+
* @example
|
|
564
|
+
* <InputText
|
|
565
|
+
* leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
|
|
566
|
+
* placeholder="Insert a text"
|
|
567
|
+
* />
|
|
568
|
+
*
|
|
569
|
+
* @param className - Tailwind classes.
|
|
570
|
+
* @param icon - Input reference icon.
|
|
571
|
+
* @param isError - error identifier in value.
|
|
572
|
+
* @param onClean - text field clear function.
|
|
606
573
|
*/
|
|
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;
|
|
574
|
+
declare const InputText: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
612
575
|
|
|
613
576
|
interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
614
577
|
value?: string;
|
|
@@ -623,29 +586,59 @@ interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | '
|
|
|
623
586
|
declare const dateIsAvailable: (inputDate?: Date | null, disabledDates?: InputDatePickerSingleProps["disabledDates"]) => boolean;
|
|
624
587
|
declare const InputDatePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDatePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
625
588
|
|
|
626
|
-
interface
|
|
589
|
+
interface InputDateRangePickerProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
627
590
|
value?: string;
|
|
628
|
-
onChange?: (value?: string, calendarDate?: Date,
|
|
591
|
+
onChange?: (value?: string, calendarDate?: [Date | undefined, Date | undefined]) => void;
|
|
629
592
|
numberOfMonths?: CalendarProps['numberOfMonths'];
|
|
630
593
|
placeholder?: string;
|
|
631
594
|
className?: string;
|
|
632
595
|
disabledDates?: CalendarProps['disabled'];
|
|
633
596
|
onClean?: VoidFunction;
|
|
597
|
+
popoverContainer?: HTMLElement | null;
|
|
634
598
|
}
|
|
635
|
-
declare const
|
|
599
|
+
declare const InputDateRangePicker: {
|
|
600
|
+
({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateRangePickerProps): react_jsx_runtime.JSX.Element;
|
|
601
|
+
displayName: string;
|
|
602
|
+
};
|
|
636
603
|
|
|
637
|
-
interface
|
|
604
|
+
interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
|
|
638
605
|
value?: string;
|
|
639
|
-
onChange?: (value?: string, calendarDate?:
|
|
606
|
+
onChange?: (value?: string, calendarDate?: Date, inputTimeValue?: string) => void;
|
|
640
607
|
numberOfMonths?: CalendarProps['numberOfMonths'];
|
|
641
608
|
placeholder?: string;
|
|
642
609
|
className?: string;
|
|
643
610
|
disabledDates?: CalendarProps['disabled'];
|
|
644
611
|
onClean?: VoidFunction;
|
|
645
|
-
popoverContainer?: HTMLElement | null;
|
|
646
612
|
}
|
|
647
|
-
declare const
|
|
648
|
-
|
|
613
|
+
declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
|
|
614
|
+
|
|
615
|
+
type InputPhoneProps = {
|
|
616
|
+
isError?: boolean;
|
|
617
|
+
defaultCountry?: RPNInput.Country;
|
|
618
|
+
onChange: (value: string) => void;
|
|
619
|
+
value?: string | null;
|
|
620
|
+
} & Omit<React__default.InputHTMLAttributes<HTMLInputElement>, 'onChange'>;
|
|
621
|
+
declare function InputPhone({ className, disabled, isError, defaultCountry, value, onChange, ...props }: InputPhoneProps): react_jsx_runtime.JSX.Element;
|
|
622
|
+
|
|
623
|
+
interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
|
|
624
|
+
icon?: React.ReactNode;
|
|
625
|
+
disabled?: boolean;
|
|
626
|
+
isError?: boolean;
|
|
627
|
+
}
|
|
628
|
+
declare const StyledSelect: {
|
|
629
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
630
|
+
displayName: string;
|
|
631
|
+
};
|
|
632
|
+
declare const StyledCreatable: {
|
|
633
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
634
|
+
displayName: string;
|
|
635
|
+
};
|
|
636
|
+
declare const StyledAsync: {
|
|
637
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
638
|
+
displayName: string;
|
|
639
|
+
};
|
|
640
|
+
declare const StyledAsyncCreatable: {
|
|
641
|
+
({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
|
|
649
642
|
displayName: string;
|
|
650
643
|
};
|
|
651
644
|
|
|
@@ -654,138 +647,150 @@ type InputTimeProps = Omit<React.ComponentProps<typeof InputText>, 'onChange'> &
|
|
|
654
647
|
};
|
|
655
648
|
declare const InputTime: React$1.ForwardRefExoticComponent<Omit<InputTimeProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
656
649
|
|
|
657
|
-
type
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
}
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
650
|
+
type AnySensorDescriptor = SensorDescriptor<Record<string, unknown>>;
|
|
651
|
+
type KanbanOrderingMode = 'manual' | 'external';
|
|
652
|
+
interface KanbanBoardCard {
|
|
653
|
+
id: UniqueIdentifier;
|
|
654
|
+
isDraggable?: boolean;
|
|
655
|
+
[key: string]: unknown;
|
|
656
|
+
}
|
|
657
|
+
interface KanbanBoardColumn<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
658
|
+
id: UniqueIdentifier;
|
|
659
|
+
title: React$1.ReactNode;
|
|
660
|
+
description?: React$1.ReactNode;
|
|
661
|
+
cards: TCard[];
|
|
662
|
+
footer?: React$1.ReactNode;
|
|
663
|
+
canDrag?: boolean;
|
|
664
|
+
allowDrop?: boolean;
|
|
665
|
+
ordering?: KanbanOrderingMode;
|
|
666
|
+
onLoadMore?: () => void;
|
|
667
|
+
isLoadingMore?: boolean;
|
|
668
|
+
hasMore?: boolean;
|
|
669
|
+
loadMoreOffset?: number;
|
|
670
|
+
emptyState?: React$1.ReactNode;
|
|
671
|
+
meta?: TColumnMeta;
|
|
672
|
+
[key: string]: unknown;
|
|
673
|
+
}
|
|
674
|
+
interface KanbanRenderCardContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
675
|
+
card: TCard;
|
|
676
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
677
|
+
columnIndex: number;
|
|
678
|
+
index: number;
|
|
679
|
+
isDragging: boolean;
|
|
680
|
+
isOverlay: boolean;
|
|
681
|
+
}
|
|
682
|
+
interface KanbanRenderColumnContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
683
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
684
|
+
columnIndex: number;
|
|
685
|
+
cardCount: number;
|
|
686
|
+
isDropTarget: boolean;
|
|
687
|
+
isDropTargetExternal: boolean;
|
|
688
|
+
isDragDisabled: boolean;
|
|
689
|
+
columnMeta?: TColumnMeta;
|
|
690
|
+
}
|
|
691
|
+
interface KanbanRenderColumnBodyContext<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
692
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
693
|
+
columnIndex: number;
|
|
694
|
+
cardCount: number;
|
|
695
|
+
cards: TCard[];
|
|
696
|
+
renderCardItem: (card: TCard, index: number) => React$1.ReactNode;
|
|
697
|
+
getCardId: (card: TCard) => UniqueIdentifier;
|
|
698
|
+
renderEmptyState: React$1.ReactNode;
|
|
699
|
+
isManualOrdering: boolean;
|
|
700
|
+
isDropTarget: boolean;
|
|
701
|
+
activeCardId: UniqueIdentifier | null;
|
|
702
|
+
dropRef: (node: HTMLDivElement | null) => void;
|
|
703
|
+
columnMeta?: TColumnMeta;
|
|
704
|
+
onLoadMore?: () => void;
|
|
705
|
+
hasMore?: boolean;
|
|
706
|
+
isLoadingMore?: boolean;
|
|
707
|
+
loadMoreOffset?: number;
|
|
708
|
+
}
|
|
709
|
+
interface KanbanCardDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard> {
|
|
710
|
+
event: DragEndEvent;
|
|
711
|
+
card: TCard;
|
|
712
|
+
cardId: UniqueIdentifier;
|
|
713
|
+
fromColumnId: UniqueIdentifier;
|
|
714
|
+
toColumnId: UniqueIdentifier;
|
|
715
|
+
fromIndex: number;
|
|
716
|
+
toIndex: number | null;
|
|
717
|
+
ordering: KanbanOrderingMode;
|
|
718
|
+
isDifferentColumn: boolean;
|
|
719
|
+
}
|
|
720
|
+
interface KanbanColumnDropEvent<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
721
|
+
event: DragEndEvent;
|
|
722
|
+
column: KanbanBoardColumn<TCard, TColumnMeta>;
|
|
723
|
+
columnId: UniqueIdentifier;
|
|
724
|
+
fromIndex: number;
|
|
725
|
+
toIndex: number;
|
|
726
|
+
}
|
|
727
|
+
interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard, TColumnMeta extends Record<string, unknown> = Record<string, unknown>> {
|
|
728
|
+
columns: KanbanBoardColumn<TCard, TColumnMeta>[];
|
|
729
|
+
renderCard: (context: KanbanRenderCardContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
730
|
+
renderColumnHeader?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
731
|
+
renderColumnFooter?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
732
|
+
renderEmptyState?: (context: KanbanRenderColumnContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
733
|
+
renderColumnBody?: (context: KanbanRenderColumnBodyContext<TCard, TColumnMeta>) => React$1.ReactNode;
|
|
734
|
+
getCardId?: (card: TCard) => UniqueIdentifier;
|
|
735
|
+
onCardDrop?: (event: KanbanCardDropEvent<TCard>) => void;
|
|
736
|
+
onColumnDrop?: (event: KanbanColumnDropEvent<TCard, TColumnMeta>) => void;
|
|
737
|
+
className?: string;
|
|
738
|
+
columnClassName?: string | ((context: KanbanRenderColumnContext<TCard, TColumnMeta>) => string | undefined);
|
|
739
|
+
collisionDetection?: CollisionDetection;
|
|
740
|
+
modifiers?: Modifiers;
|
|
741
|
+
sensors?: AnySensorDescriptor[];
|
|
742
|
+
measuring?: Parameters<typeof DndContext>[0]['measuring'];
|
|
673
743
|
}
|
|
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
744
|
|
|
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;
|
|
745
|
+
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;
|
|
746
|
+
|
|
747
|
+
interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
|
|
720
748
|
}
|
|
721
|
-
declare
|
|
722
|
-
declare
|
|
723
|
-
|
|
749
|
+
declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
750
|
+
declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
751
|
+
declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
752
|
+
declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
753
|
+
interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
754
|
+
isDragging?: boolean;
|
|
755
|
+
isOverlay?: boolean;
|
|
724
756
|
}
|
|
757
|
+
declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
758
|
+
declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
725
759
|
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
760
|
+
declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
|
|
761
|
+
|
|
762
|
+
type PaginationProps = {
|
|
763
|
+
page: number;
|
|
764
|
+
pageSize: number;
|
|
765
|
+
onChangePage: (page: number) => void;
|
|
766
|
+
total: number;
|
|
767
|
+
} & Omit<ComponentProps<'nav'>, 'children'>;
|
|
733
768
|
/**
|
|
734
|
-
*
|
|
769
|
+
* Pagination component to navigate through pages of data.
|
|
735
770
|
* @example
|
|
736
|
-
* <
|
|
737
|
-
*
|
|
738
|
-
*
|
|
771
|
+
* <Pagination
|
|
772
|
+
* onChangePage={console.log}
|
|
773
|
+
* page={1}
|
|
774
|
+
* total={165}
|
|
775
|
+
* pageSize={10}
|
|
739
776
|
* />
|
|
740
777
|
*
|
|
741
|
-
* @param
|
|
742
|
-
* @param
|
|
743
|
-
* @param
|
|
744
|
-
* @param
|
|
778
|
+
* @param {number} page - The current page number.
|
|
779
|
+
* @param {number} total - The total number of items.
|
|
780
|
+
* @param {number} pageSize - The number of items per page.
|
|
781
|
+
* @param {function} onChangePage - Callback function to handle page changes.
|
|
745
782
|
*/
|
|
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>>;
|
|
783
|
+
declare const Pagination: {
|
|
784
|
+
({ className, total, pageSize, page, onChangePage, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
|
|
785
|
+
displayName: string;
|
|
772
786
|
};
|
|
773
787
|
|
|
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;
|
|
788
|
+
declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
|
|
789
|
+
declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
790
|
+
interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
|
|
785
791
|
portal?: boolean;
|
|
786
|
-
onCancelCrop?: VoidFunction;
|
|
787
792
|
}
|
|
788
|
-
declare
|
|
793
|
+
declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
789
794
|
|
|
790
795
|
interface ProfileImageProps extends Omit<FileUploadOptions, 'maxSize'> {
|
|
791
796
|
maxSizeMB?: number;
|
|
@@ -807,11 +812,38 @@ declare const ProfileImage: {
|
|
|
807
812
|
displayName: string;
|
|
808
813
|
};
|
|
809
814
|
|
|
810
|
-
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
811
|
-
|
|
812
815
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
813
816
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
|
|
814
817
|
|
|
818
|
+
interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
|
|
819
|
+
}
|
|
820
|
+
declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
821
|
+
|
|
822
|
+
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
823
|
+
|
|
824
|
+
declare enum SpaceSizeEnum {
|
|
825
|
+
xs = "gap-1",
|
|
826
|
+
sm = "gap-2",
|
|
827
|
+
md = "gap-3",
|
|
828
|
+
lg = "gap-4",
|
|
829
|
+
xl = "gap-5"
|
|
830
|
+
}
|
|
831
|
+
declare enum SpaceDirectionEnum {
|
|
832
|
+
row = "flex-row",
|
|
833
|
+
column = "flex-col"
|
|
834
|
+
}
|
|
835
|
+
type SpaceDirectionType = keyof typeof SpaceDirectionEnum;
|
|
836
|
+
type SpaceSizeType = keyof typeof SpaceSizeEnum;
|
|
837
|
+
declare const spaceVariantsConfig: (props?: ({
|
|
838
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
839
|
+
direction?: "row" | "column" | null | undefined;
|
|
840
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
841
|
+
interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
|
|
842
|
+
size?: SpaceSizeType;
|
|
843
|
+
direction?: SpaceDirectionType;
|
|
844
|
+
}
|
|
845
|
+
declare const Space: React__default.ForwardRefExoticComponent<SpaceProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
846
|
+
|
|
815
847
|
interface StepperProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
816
848
|
defaultValue?: number;
|
|
817
849
|
value?: number;
|
|
@@ -846,134 +878,123 @@ declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HT
|
|
|
846
878
|
declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
|
|
847
879
|
declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
848
880
|
|
|
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;
|
|
881
|
+
declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
872
882
|
|
|
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;
|
|
883
|
+
interface TableProps extends React$1.HTMLAttributes<HTMLTableElement> {
|
|
884
|
+
noCardWrapper?: boolean;
|
|
935
885
|
}
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
886
|
+
/**
|
|
887
|
+
* Table component that can be used with or without a card wrapper.
|
|
888
|
+
* If `noCardWrapper` is true, it renders a simple table without the card styling.
|
|
889
|
+
*/
|
|
890
|
+
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & TableProps & React$1.RefAttributes<HTMLTableElement>>;
|
|
891
|
+
declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
892
|
+
declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
893
|
+
declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
|
|
894
|
+
declare const variants: {
|
|
895
|
+
variant: {
|
|
896
|
+
first: string;
|
|
897
|
+
second: string;
|
|
898
|
+
};
|
|
899
|
+
};
|
|
900
|
+
interface TableRowProps extends React$1.HTMLAttributes<HTMLTableRowElement> {
|
|
901
|
+
variant?: keyof typeof variants.variant;
|
|
951
902
|
}
|
|
903
|
+
declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
|
|
904
|
+
declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
905
|
+
declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
906
|
+
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
952
907
|
|
|
953
|
-
declare
|
|
908
|
+
declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
909
|
+
isFitted?: boolean;
|
|
910
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
911
|
+
declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
912
|
+
declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
913
|
+
declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
954
914
|
|
|
955
|
-
|
|
915
|
+
declare enum tagVariantsEnum {
|
|
916
|
+
blue = "bg-tag-colorIndicator-blue",
|
|
917
|
+
green = "bg-tag-colorIndicator-green",
|
|
918
|
+
yellow = "bg-tag-colorIndicator-yellow",
|
|
919
|
+
red = "bg-tag-colorIndicator-red",
|
|
920
|
+
orange = "bg-tag-colorIndicator-orange",
|
|
921
|
+
gray = "bg-tag-colorIndicator-gray"
|
|
956
922
|
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
isDragging?: boolean;
|
|
963
|
-
isOverlay?: boolean;
|
|
923
|
+
type TagVariantsType = keyof typeof tagVariantsEnum;
|
|
924
|
+
interface TagProps extends React$1.HTMLAttributes<HTMLDivElement> {
|
|
925
|
+
onDelete?: () => void;
|
|
926
|
+
children?: string;
|
|
927
|
+
color?: TagVariantsType;
|
|
964
928
|
}
|
|
965
|
-
|
|
966
|
-
|
|
929
|
+
/**
|
|
930
|
+
* Tag component.
|
|
931
|
+
* @example
|
|
932
|
+
* <Tag
|
|
933
|
+
* onDelete={console.log}
|
|
934
|
+
* color="green">
|
|
935
|
+
* Green
|
|
936
|
+
* </Tag>
|
|
937
|
+
*
|
|
938
|
+
* @param {string} children - The text of Tag.
|
|
939
|
+
* @param {string} color - The color of Tag indicator.
|
|
940
|
+
* @param {function} onDelete - Callback component.
|
|
941
|
+
*/
|
|
942
|
+
declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
943
|
+
|
|
944
|
+
interface TextAreaProps extends React$1.InputHTMLAttributes<HTMLTextAreaElement> {
|
|
945
|
+
isError?: boolean;
|
|
946
|
+
resize?: boolean;
|
|
947
|
+
showCount?: boolean;
|
|
948
|
+
autoResize?: boolean;
|
|
949
|
+
asInput?: boolean;
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* TextArea component.
|
|
953
|
+
* @example
|
|
954
|
+
* <TextArea
|
|
955
|
+
* leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
|
|
956
|
+
* placeholder="Insert a text"
|
|
957
|
+
* />
|
|
958
|
+
*
|
|
959
|
+
* @param className - Tailwind classes.
|
|
960
|
+
* @param icon - Input reference icon.
|
|
961
|
+
* @param isError - error identifier in value.
|
|
962
|
+
* @param onClean - text field clear function.
|
|
963
|
+
*/
|
|
964
|
+
declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
967
965
|
|
|
968
966
|
declare const TipCard: ({ children, looping, }: PropsWithChildren<{
|
|
969
967
|
looping?: boolean;
|
|
970
968
|
}>) => react_jsx_runtime.JSX.Element;
|
|
971
969
|
|
|
970
|
+
declare const TipCardContent: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
|
|
971
|
+
|
|
972
|
+
declare const TipCardFooter: React__default.MemoExoticComponent<() => react_jsx_runtime.JSX.Element | null>;
|
|
973
|
+
|
|
974
|
+
declare const TipCardHeader: React__default.MemoExoticComponent<({ children, icon }: PropsWithChildren<{
|
|
975
|
+
icon?: React__default.ReactNode;
|
|
976
|
+
}>) => react_jsx_runtime.JSX.Element>;
|
|
977
|
+
|
|
972
978
|
declare const TipCardItem: {
|
|
973
979
|
({ ["data-tip-card-item-order" as keyof React.HTMLAttributes<HTMLDivElement>]: order, children, ...props }: PropsWithChildren<React__default.HTMLAttributes<HTMLDivElement>>): react_jsx_runtime.JSX.Element;
|
|
974
980
|
displayName: string;
|
|
975
981
|
};
|
|
976
982
|
|
|
983
|
+
declare enum TipCardMediaType {
|
|
984
|
+
image = "image",
|
|
985
|
+
video = "video"
|
|
986
|
+
}
|
|
987
|
+
interface TipCardMediaProps {
|
|
988
|
+
type: keyof typeof TipCardMediaType;
|
|
989
|
+
source?: string;
|
|
990
|
+
alt?: string;
|
|
991
|
+
children?: React__default.ReactNode;
|
|
992
|
+
}
|
|
993
|
+
declare const TipCardMedia: {
|
|
994
|
+
({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
|
|
995
|
+
displayName: string;
|
|
996
|
+
};
|
|
997
|
+
|
|
977
998
|
interface TipCardContextType {
|
|
978
999
|
registeredTipsMap: Map<string, boolean>;
|
|
979
1000
|
currentTipOrder: number;
|
|
@@ -989,63 +1010,105 @@ declare const TipCardProvider: ({ children, looping, }: PropsWithChildren<{
|
|
|
989
1010
|
}>) => react_jsx_runtime.JSX.Element;
|
|
990
1011
|
declare const useTipCard: () => TipCardContextType;
|
|
991
1012
|
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
1013
|
+
type ToastOptions = {
|
|
1014
|
+
description?: string;
|
|
1015
|
+
action?: {
|
|
1016
|
+
label: React__default.ReactNode;
|
|
1017
|
+
variant?: 'secondary' | 'ghost';
|
|
1018
|
+
onClick: () => void;
|
|
1019
|
+
};
|
|
995
1020
|
icon?: React__default.ReactNode;
|
|
996
|
-
}
|
|
1021
|
+
};
|
|
1022
|
+
declare function Toaster(): react_jsx_runtime.JSX.Element;
|
|
1023
|
+
declare function success(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1024
|
+
declare function error(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1025
|
+
declare function info(message: string, options?: Omit<ToastOptions, 'icon'>): void;
|
|
1026
|
+
declare function custom(message: string, options?: ToastOptions): void;
|
|
1027
|
+
declare function promise<T>(promise: Promise<T>, messages: {
|
|
1028
|
+
loading: string;
|
|
1029
|
+
success: string;
|
|
1030
|
+
error: string;
|
|
1031
|
+
}, options?: ToastOptions): Promise<T>;
|
|
1032
|
+
declare const toast: {
|
|
1033
|
+
success: typeof success;
|
|
1034
|
+
error: typeof error;
|
|
1035
|
+
info: typeof info;
|
|
1036
|
+
custom: typeof custom;
|
|
1037
|
+
promise: typeof promise;
|
|
1038
|
+
};
|
|
997
1039
|
|
|
998
|
-
declare const
|
|
1040
|
+
declare const toggleVariants: (props?: ({
|
|
1041
|
+
icon?: boolean | null | undefined;
|
|
1042
|
+
size?: "xs" | "sm" | "md" | "lg" | null | undefined;
|
|
1043
|
+
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
1044
|
+
declare enum ToggleSizeEnum {
|
|
1045
|
+
xs = "xs",
|
|
1046
|
+
sm = "sm",
|
|
1047
|
+
md = "md",
|
|
1048
|
+
lg = "lg"
|
|
1049
|
+
}
|
|
1050
|
+
declare function Toggle({ className, size, children, icon, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
999
1051
|
|
|
1000
|
-
declare enum
|
|
1001
|
-
|
|
1002
|
-
|
|
1052
|
+
declare enum ToggleGroupTypeEnum {
|
|
1053
|
+
single = "single",
|
|
1054
|
+
multiple = "multiple"
|
|
1003
1055
|
}
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1056
|
+
declare function ToggleGroup({ className, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1057
|
+
declare function ToggleGroupItem({ className, children, size, icon, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
1058
|
+
|
|
1059
|
+
interface TooltipProps {
|
|
1060
|
+
content: string;
|
|
1061
|
+
portal?: boolean;
|
|
1009
1062
|
}
|
|
1010
|
-
declare const
|
|
1011
|
-
({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
|
|
1012
|
-
displayName: string;
|
|
1013
|
-
};
|
|
1063
|
+
declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1014
1064
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
success = "success",
|
|
1018
|
-
warning = "warning",
|
|
1019
|
-
danger = "danger",
|
|
1020
|
-
neutral = "neutral",
|
|
1021
|
-
random = "random"
|
|
1065
|
+
interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
|
|
1066
|
+
level: '1' | '2' | '3' | '4' | '5' | '6';
|
|
1022
1067
|
}
|
|
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"
|
|
1068
|
+
declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
|
|
1069
|
+
interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
1070
|
+
size?: 'md' | 'sm';
|
|
1035
1071
|
}
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1072
|
+
declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
|
|
1073
|
+
interface CaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
|
|
1074
|
+
}
|
|
1075
|
+
declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
|
|
1076
|
+
interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
1077
|
+
size?: 'md' | 'sm';
|
|
1078
|
+
asChild?: boolean;
|
|
1079
|
+
children: ReactNode;
|
|
1080
|
+
variant?: 'default' | 'external';
|
|
1081
|
+
disabled?: boolean;
|
|
1082
|
+
}
|
|
1083
|
+
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
|
|
1084
|
+
|
|
1085
|
+
/**
|
|
1086
|
+
* Context type to use the NebulaI18nProvider.
|
|
1087
|
+
*/
|
|
1088
|
+
interface NebulaI18nContextType {
|
|
1089
|
+
messages: Messages;
|
|
1090
|
+
locale: Language | null | undefined;
|
|
1091
|
+
}
|
|
1092
|
+
/**
|
|
1093
|
+
* Props to use the NebulaI18nProvider.
|
|
1094
|
+
*/
|
|
1095
|
+
interface NebulaI18nProviderProps {
|
|
1096
|
+
customI18nStorageKey?: string;
|
|
1097
|
+
children: React.ReactNode;
|
|
1098
|
+
}
|
|
1099
|
+
/**
|
|
1100
|
+
* Provider to use the NebulaI18nContext.
|
|
1101
|
+
*
|
|
1102
|
+
* @param {React.ReactNode} props.children - The children to render.
|
|
1103
|
+
* @param {string} [props.customI18nStorageKey] - The custom storage key to use the NebulaI18nProvider. Default is `nebula-i18n-key`.
|
|
1104
|
+
* @returns {React.ReactNode} The rendered children.
|
|
1105
|
+
*/
|
|
1106
|
+
declare const NebulaI18nProvider: ({ children, customI18nStorageKey, }: NebulaI18nProviderProps) => react_jsx_runtime.JSX.Element;
|
|
1107
|
+
/**
|
|
1108
|
+
* Hook to use the NebulaI18nContext.
|
|
1109
|
+
* @throws {Error} If the hook is used outside of a NebulaI18nProvider.
|
|
1110
|
+
*/
|
|
1111
|
+
declare const useNebulaI18n: () => NebulaI18nContextType;
|
|
1049
1112
|
|
|
1050
1113
|
interface Content {
|
|
1051
1114
|
/**
|
|
@@ -1084,37 +1147,9 @@ declare const tailwind: {
|
|
|
1084
1147
|
content: typeof content;
|
|
1085
1148
|
};
|
|
1086
1149
|
|
|
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
1150
|
type PossibleRefs<T extends HTMLElement> = MutableRefObject<T | undefined | null> | MutableRefObject<T | undefined | null>[];
|
|
1116
1151
|
declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, onClickOutside: VoidFunction): void;
|
|
1117
1152
|
|
|
1118
1153
|
declare function useKeyPress(key: string, callback: VoidFunction): void;
|
|
1119
1154
|
|
|
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
|
|
1155
|
+
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 };
|