@ikatec/nebula-react 1.6.0-beta.2 → 1.6.0-beta.4

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/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 DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
9
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
10
- import { Props } from 'react-select';
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 SwitchPrimitives from '@radix-ui/react-switch';
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 { DayPicker, Locale } from 'react-day-picker';
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 AvatarPrimitive from '@radix-ui/react-avatar';
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,468 +218,79 @@ 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 const alertVariantsConfig: (props?: ({
97
- variant?: "default" | "danger" | "info" | "success" | "warning" | null | undefined;
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
- declare const alertVariants: {
100
- variant: ("default" | "danger" | "info" | "success" | "warning")[];
101
- };
102
- interface AlertProps extends React$1.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariantsConfig> {
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 Alert: React$1.ForwardRefExoticComponent<AlertProps & React$1.RefAttributes<HTMLDivElement>>;
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
- declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
110
- declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
111
- interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
112
- portal?: boolean;
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 PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
251
+ declare const Box: ({ className, paddingSize, border, shadow, variant, children, ...rest }: BoxProps) => react_jsx_runtime.JSX.Element;
115
252
 
116
- declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
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
- interface TableProps extends React$1.HTMLAttributes<HTMLTableElement> {
119
- noCardWrapper?: boolean;
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
- * Table component that can be used with or without a card wrapper.
123
- * If `noCardWrapper` is true, it renders a simple table without the card styling.
289
+ * Type to store the pagination messages.
124
290
  */
125
- declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & TableProps & React$1.RefAttributes<HTMLTableElement>>;
126
- declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
127
- declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
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;
137
- }
138
- declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
139
- declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
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;
157
- }
158
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>>;
159
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
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;
182
- }
183
- declare const Separator: React$1.ForwardRefExoticComponent<SeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
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"
191
- }
192
- declare enum SpaceDirectionEnum {
193
- row = "flex-row",
194
- column = "flex-col"
195
- }
196
- type SpaceDirectionType = keyof typeof SpaceDirectionEnum;
197
- type SpaceSizeType = keyof typeof SpaceSizeEnum;
198
- declare const spaceVariantsConfig: (props?: ({
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;
205
- }
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
- /**
215
- * Pagination component to navigate through pages of data.
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.
228
- */
229
- declare const Pagination: {
230
- ({ className, total, pageSize, page, onChangePage, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
231
- displayName: string;
232
- };
233
-
234
- declare enum tagVariantsEnum {
235
- blue = "bg-tag-colorIndicator-blue",
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"
241
- }
242
- type TagVariantsType = keyof typeof tagVariantsEnum;
243
- interface TagProps extends React$1.HTMLAttributes<HTMLDivElement> {
244
- onDelete?: () => void;
245
- children?: string;
246
- color?: TagVariantsType;
247
- }
248
- /**
249
- * Tag component.
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.
260
- */
261
- declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLDivElement>>;
262
-
263
- interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
264
- icon?: React.ReactNode;
265
- disabled?: boolean;
266
- isError?: boolean;
267
- }
268
- declare const StyledSelect: {
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
- };
284
-
285
- type InputPasswordProps = {
286
- type: 'password';
287
- };
288
- type InputBaseProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
289
- isError?: boolean;
290
- onClean?: () => void;
291
- suffix?: string;
292
- };
293
- type InputTextProps = {
294
- type?: 'text' | 'number' | 'email' | 'tel' | 'url' | 'hidden' | 'search';
295
- icon?: React$1.ReactElement;
296
- iconPlacement?: 'start' | 'end';
297
- };
298
- type InputProps = InputBaseProps & (InputPasswordProps | InputTextProps);
299
- /**
300
- * InputText component.
301
- * @example
302
- * <InputText
303
- * leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
304
- * placeholder="Insert a text"
305
- * />
306
- *
307
- * @param className - Tailwind classes.
308
- * @param icon - Input reference icon.
309
- * @param isError - error identifier in value.
310
- * @param onClean - text field clear function.
311
- */
312
- declare const InputText: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
313
-
314
- declare const Dialog: React$1.FC<DrawerPrimitive.DialogProps>;
315
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
316
- declare const DialogClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
317
- interface DialogContentProps {
318
- portal?: boolean;
319
- showClose?: boolean;
320
- }
321
- declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
322
- declare const DialogHeader: {
323
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
324
- displayName: string;
325
- };
326
- declare const DialogBody: {
327
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
328
- displayName: string;
329
- };
330
- declare const DialogFooter: {
331
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
332
- displayName: string;
333
- };
334
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
335
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
336
-
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
- declare const Drawer: React$1.FC<DrawerPrimitive.DialogProps>;
362
- declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
363
- declare const DrawerClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
364
- declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
365
- declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
366
- declare const DrawerVariants: (props?: ({
367
- side?: "bottom" | "left" | "right" | "top" | null | undefined;
368
- } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
369
- interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
370
- portal?: boolean;
371
- }
372
- declare const DrawerContent: React$1.ForwardRefExoticComponent<DrawerContentProps & React$1.RefAttributes<HTMLDivElement>>;
373
- declare const DrawerHeader: {
374
- ({ className, extraActions, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
375
- extraActions?: React$1.ReactNode;
376
- }): react_jsx_runtime.JSX.Element;
377
- displayName: string;
378
- };
379
- declare const DrawerBody: {
380
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
381
- displayName: string;
382
- };
383
- declare const DrawerFooter: {
384
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
385
- displayName: string;
386
- };
387
- declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
388
- declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
389
-
390
- declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
391
- separator?: React$1.ReactNode;
392
- } & React$1.RefAttributes<HTMLElement>>;
393
- declare const BreadcrumbList: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
394
- declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
395
- declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
396
- asChild?: boolean;
397
- } & React$1.RefAttributes<HTMLAnchorElement>>;
398
- declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
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;
412
- portal?: boolean;
413
- }
414
- declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
415
-
416
- interface AccordionProps extends React$1.HTMLAttributes<HTMLDivElement> {
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;
445
- }
446
-
447
- declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
448
- isFitted?: boolean;
449
- } & React$1.RefAttributes<HTMLDivElement>>;
450
- declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
451
- declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
452
- declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
453
-
454
- interface BoxProps extends PropsWithChildren<HTMLAttributes<HTMLDivElement>> {
455
- border?: boolean;
456
- paddingSize?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
457
- shadow?: 'sm' | 'md' | 'lg';
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;
493
- displayName: string;
494
- };
495
- declare const ActionBarClose: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
496
- declare const ActionBarButton: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
497
- declare const ActionBarDivider: React$1.ForwardRefExoticComponent<Omit<SeparatorProps, "orientation"> & React$1.RefAttributes<HTMLDivElement>>;
498
- interface ActionBarContentProps {
499
- portal?: boolean;
500
- }
501
- declare const ActionBarContent: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement> & ActionBarContentProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
502
-
503
- interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
504
- level: '1' | '2' | '3' | '4' | '5' | '6';
505
- }
506
- declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
507
- interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
508
- size?: 'md' | 'sm';
509
- }
510
- declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
511
- interface CaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
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;
291
+ interface PaginationMessages extends MessagesRecord {
292
+ totalResultsLabel: (pagesSize: number, totalResults: number) => string;
293
+ currentPageLabel: (currentPage: number, totalPages: number) => string;
558
294
  }
559
295
  interface InputSelectMessages {
560
296
  noOptions: string;
@@ -606,53 +342,138 @@ declare const setNebulaLanguage: (language: Language) => void;
606
342
  */
607
343
  declare const messages: Map<Language | null | undefined, Messages>;
608
344
 
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;
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';
351
+ }
352
+ declare const Checkbox: React$1.ForwardRefExoticComponent<CheckboxProps & React$1.RefAttributes<HTMLButtonElement>>;
353
+
354
+ type Area = {
355
+ x: number;
356
+ y: number;
357
+ width: number;
358
+ height: number;
359
+ };
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>>;
378
+ };
612
379
 
613
- interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
614
- value?: string;
615
- onChange?: (value?: string, calendarDate?: Date) => void;
616
- numberOfMonths?: CalendarProps['numberOfMonths'];
617
- placeholder?: string;
618
- className?: string;
619
- disabledDates?: CalendarProps['disabled'];
620
- onClean?: VoidFunction;
621
- popoverContainer?: HTMLElement | null;
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;
622
393
  }
623
- declare const dateIsAvailable: (inputDate?: Date | null, disabledDates?: InputDatePickerSingleProps["disabledDates"]) => boolean;
624
- declare const InputDatePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDatePickerSingleProps) => react_jsx_runtime.JSX.Element;
394
+ declare function Cropper({ onOpenChange, open, previewUrl, onApply, onCancelCrop, rounded, portal, }: CropperProps): react_jsx_runtime.JSX.Element;
625
395
 
626
- interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
627
- value?: string;
628
- onChange?: (value?: string, calendarDate?: Date, inputTimeValue?: string) => void;
629
- numberOfMonths?: CalendarProps['numberOfMonths'];
630
- placeholder?: string;
631
- className?: string;
632
- disabledDates?: CalendarProps['disabled'];
633
- onClean?: VoidFunction;
396
+ declare const Dialog: React$1.FC<DrawerPrimitive.DialogProps>;
397
+ declare const DialogTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
398
+ declare const DialogClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
399
+ interface DialogContentProps {
400
+ portal?: boolean;
401
+ showClose?: boolean;
634
402
  }
635
- declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
403
+ declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & DialogContentProps & React$1.RefAttributes<HTMLDivElement>>;
404
+ declare const DialogHeader: {
405
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
406
+ displayName: string;
407
+ };
408
+ declare const DialogBody: {
409
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
410
+ displayName: string;
411
+ };
412
+ declare const DialogFooter: {
413
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
414
+ displayName: string;
415
+ };
416
+ declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
417
+ declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
636
418
 
637
- interface InputDateRangePickerProps extends Omit<InputTextProps, 'onChange' | 'value'> {
638
- value?: string;
639
- onChange?: (value?: string, calendarDate?: [Date | undefined, Date | undefined]) => void;
640
- numberOfMonths?: CalendarProps['numberOfMonths'];
641
- placeholder?: string;
642
- className?: string;
643
- disabledDates?: CalendarProps['disabled'];
644
- onClean?: VoidFunction;
645
- popoverContainer?: HTMLElement | null;
419
+ declare const Drawer: React$1.FC<DrawerPrimitive.DialogProps>;
420
+ declare const DrawerTrigger: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
421
+ declare const DrawerClose: React$1.ForwardRefExoticComponent<DrawerPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
422
+ declare const DrawerPortal: React$1.FC<DrawerPrimitive.DialogPortalProps>;
423
+ declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
424
+ declare const DrawerVariants: (props?: ({
425
+ side?: "bottom" | "left" | "right" | "top" | null | undefined;
426
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
427
+ interface DrawerContentProps extends React$1.ComponentPropsWithoutRef<typeof DrawerPrimitive.Content>, VariantProps<typeof DrawerVariants> {
428
+ portal?: boolean;
646
429
  }
647
- declare const InputDateRangePicker: {
648
- ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateRangePickerProps): react_jsx_runtime.JSX.Element;
430
+ declare const DrawerContent: React$1.ForwardRefExoticComponent<DrawerContentProps & React$1.RefAttributes<HTMLDivElement>>;
431
+ declare const DrawerHeader: {
432
+ ({ className, extraActions, ...props }: React$1.HTMLAttributes<HTMLDivElement> & {
433
+ extraActions?: React$1.ReactNode;
434
+ }): react_jsx_runtime.JSX.Element;
435
+ displayName: string;
436
+ };
437
+ declare const DrawerBody: {
438
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
439
+ displayName: string;
440
+ };
441
+ declare const DrawerFooter: {
442
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
649
443
  displayName: string;
650
444
  };
445
+ declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
446
+ declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<DrawerPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
651
447
 
652
- type InputTimeProps = Omit<React.ComponentProps<typeof InputText>, 'onChange'> & {
653
- onChange?: (value: string) => void;
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 {
457
+ portal?: boolean;
458
+ }
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;
462
+ }
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;
466
+ } & React$1.RefAttributes<HTMLDivElement>>;
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;
475
+ displayName: string;
654
476
  };
655
- declare const InputTime: React$1.ForwardRefExoticComponent<Omit<InputTimeProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
656
477
 
657
478
  type FileMetadata = {
658
479
  name: string;
@@ -666,6 +487,11 @@ type FileWithPreview = {
666
487
  id: string;
667
488
  preview?: string;
668
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"
494
+ }
669
495
  type FileUploadOptions = {
670
496
  maxFiles?: number;
671
497
  maxSize?: number;
@@ -674,19 +500,14 @@ type FileUploadOptions = {
674
500
  initialFiles?: FileMetadata[];
675
501
  onFilesChange?: (files: FileWithPreview[]) => void;
676
502
  onFilesAdded?: (addedFiles: FileWithPreview[]) => void;
503
+ onError?: (errors: {
504
+ file?: File | FileMetadata;
505
+ error: FileUploadError;
506
+ }[]) => void;
677
507
  };
678
- declare enum FileUploadError {
679
- MAX_FILES_EXCEEDED = "MAX_FILES_EXCEEDED",
680
- MAXIMUM_FILE_SIZE_EXCEEDED = "MAXIMUM_FILE_SIZE_EXCEEDED",
681
- INVALID_FORMAT = "INVALID_FORMAT"
682
- }
683
508
  type FileUploadState = {
684
509
  files: FileWithPreview[];
685
510
  isDragging: boolean;
686
- errors: {
687
- file?: File | FileMetadata;
688
- error: FileUploadError;
689
- }[];
690
511
  };
691
512
  type FileUploadActions = {
692
513
  addFiles: (files: FileList | File[]) => void;
@@ -723,17 +544,24 @@ declare namespace FileUpload {
723
544
  var displayName: string;
724
545
  }
725
546
 
726
- interface TextAreaProps extends React$1.InputHTMLAttributes<HTMLTextAreaElement> {
547
+ type InputPasswordProps = {
548
+ type: 'password';
549
+ };
550
+ type InputBaseProps = React$1.InputHTMLAttributes<HTMLInputElement> & {
727
551
  isError?: boolean;
728
- resize?: boolean;
729
- showCount?: boolean;
730
- autoResize?: boolean;
731
- asInput?: boolean;
732
- }
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);
733
561
  /**
734
- * TextArea component.
562
+ * InputText component.
735
563
  * @example
736
- * <TextArea
564
+ * <InputText
737
565
  * leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
738
566
  * placeholder="Insert a text"
739
567
  * />
@@ -743,132 +571,81 @@ interface TextAreaProps extends React$1.InputHTMLAttributes<HTMLTextAreaElement>
743
571
  * @param isError - error identifier in value.
744
572
  * @param onClean - text field clear function.
745
573
  */
746
- declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
747
-
748
- type Area = {
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>>;
772
- };
574
+ declare const InputText: React$1.ForwardRefExoticComponent<InputProps & React$1.RefAttributes<HTMLInputElement>>;
773
575
 
774
- declare function CropperDescription({ className, ...props }: React.ComponentProps<typeof Cropper$1.Description>): react_jsx_runtime.JSX.Element;
775
- declare function CropperImage({ className, ...props }: React.ComponentProps<typeof Cropper$1.Image>): react_jsx_runtime.JSX.Element;
776
- declare function CropperCropArea({ className, rounded, ...props }: React.ComponentProps<typeof Cropper$1.CropArea> & {
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;
785
- portal?: boolean;
786
- onCancelCrop?: VoidFunction;
576
+ interface InputDatePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
577
+ value?: string;
578
+ onChange?: (value?: string, calendarDate?: Date) => void;
579
+ numberOfMonths?: CalendarProps['numberOfMonths'];
580
+ placeholder?: string;
581
+ className?: string;
582
+ disabledDates?: CalendarProps['disabled'];
583
+ onClean?: VoidFunction;
584
+ popoverContainer?: HTMLElement | null;
787
585
  }
788
- declare function Cropper({ onOpenChange, open, previewUrl, onApply, onCancelCrop, rounded, portal, }: CropperProps): react_jsx_runtime.JSX.Element;
789
-
790
- interface ProfileImageProps extends Omit<FileUploadOptions, 'maxSize'> {
791
- maxSizeMB?: number;
792
- onError?: (errors: {
793
- file?: File | FileMetadata;
794
- error: FileUploadError;
795
- }[]) => void;
796
- disabled?: boolean;
797
- subtitle?: string;
798
- onRemove?: VoidFunction;
799
- image?: string;
800
- cropperProps?: Omit<CropperProps, 'open' | 'previewUrl' | 'onOpenChange' | 'onApply'>;
801
- onChange?: (file?: File) => void;
802
- size?: 'sm' | 'md';
803
- icon?: React__default.JSX.Element;
586
+ declare const dateIsAvailable: (inputDate?: Date | null, disabledDates?: InputDatePickerSingleProps["disabledDates"]) => boolean;
587
+ declare const InputDatePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDatePickerSingleProps) => react_jsx_runtime.JSX.Element;
588
+
589
+ interface InputDateRangePickerProps extends Omit<InputTextProps, 'onChange' | 'value'> {
590
+ value?: string;
591
+ onChange?: (value?: string, calendarDate?: [Date | undefined, Date | undefined]) => void;
592
+ numberOfMonths?: CalendarProps['numberOfMonths'];
593
+ placeholder?: string;
594
+ className?: string;
595
+ disabledDates?: CalendarProps['disabled'];
596
+ onClean?: VoidFunction;
597
+ popoverContainer?: HTMLElement | null;
804
598
  }
805
- declare const ProfileImage: {
806
- ({ maxSizeMB, subtitle, onError, maxFiles, accept, onRemove, image, cropperProps, onChange, size, icon, }: ProfileImageProps): react_jsx_runtime.JSX.Element;
599
+ declare const InputDateRangePicker: {
600
+ ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateRangePickerProps): react_jsx_runtime.JSX.Element;
807
601
  displayName: string;
808
602
  };
809
603
 
810
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
604
+ interface InputDateTimePickerSingleProps extends Omit<InputTextProps, 'onChange' | 'value'> {
605
+ value?: string;
606
+ onChange?: (value?: string, calendarDate?: Date, inputTimeValue?: string) => void;
607
+ numberOfMonths?: CalendarProps['numberOfMonths'];
608
+ placeholder?: string;
609
+ className?: string;
610
+ disabledDates?: CalendarProps['disabled'];
611
+ onClean?: VoidFunction;
612
+ }
613
+ declare const InputDateTimePickerSingle: ({ placeholder, className, value, onChange, numberOfMonths, onClean, disabledDates, ...rest }: InputDateTimePickerSingleProps) => react_jsx_runtime.JSX.Element;
811
614
 
812
- declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
813
- declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
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;
814
622
 
815
- interface StepperProps extends React$1.HTMLAttributes<HTMLDivElement> {
816
- defaultValue?: number;
817
- value?: number;
818
- onValueChange?: (value: number) => void;
819
- orientation?: 'horizontal' | 'vertical';
820
- }
821
- declare function Stepper({ defaultValue, value, onValueChange, orientation, className, ...props }: StepperProps): react_jsx_runtime.JSX.Element;
822
- interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
823
- step: number;
824
- completed?: boolean;
623
+ interface CreateStyledSelectProps extends Omit<Props, 'isDisabled'> {
624
+ icon?: React.ReactNode;
825
625
  disabled?: boolean;
826
- loading?: boolean;
626
+ isError?: boolean;
827
627
  }
828
- declare function StepperItem({ step, completed, disabled, loading, className, children, ...props }: StepperItemProps): react_jsx_runtime.JSX.Element;
829
- type StepperTriggerClickable = {
830
- isClickable?: true;
831
- onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
628
+ declare const StyledSelect: {
629
+ ({ icon, disabled, isError, ...props }: CreateStyledSelectProps): react_jsx_runtime.JSX.Element;
630
+ displayName: string;
832
631
  };
833
- type StepperTriggerNotClickable = {
834
- isClickable?: false;
835
- onClick?: undefined;
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;
642
+ displayName: string;
836
643
  };
837
- type StepperTriggerProps = (StepperTriggerClickable | StepperTriggerNotClickable) & {
838
- asChild?: boolean;
839
- } & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
840
- declare function StepperTrigger({ asChild, className, children, isClickable, onClick, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
841
- interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
842
- asChild?: boolean;
843
- }
844
- declare function StepperIndicator({ asChild, className, children, ...props }: StepperIndicatorProps): react_jsx_runtime.JSX.Element;
845
- declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
846
- declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
847
- declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
848
644
 
849
- declare enum BannerVariant {
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;
645
+ type InputTimeProps = Omit<React.ComponentProps<typeof InputText>, 'onChange'> & {
646
+ onChange?: (value: string) => void;
647
+ };
648
+ declare const InputTime: React$1.ForwardRefExoticComponent<Omit<InputTimeProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
872
649
 
873
650
  type AnySensorDescriptor = SensorDescriptor<Record<string, unknown>>;
874
651
  type KanbanOrderingMode = 'manual' | 'external';
@@ -950,30 +727,259 @@ interface KanbanBoardProps<TCard extends KanbanBoardCard = KanbanBoardCard> {
950
727
  measuring?: Parameters<typeof DndContext>[0]['measuring'];
951
728
  }
952
729
 
953
- declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard>): react_jsx_runtime.JSX.Element;
730
+ declare function KanbanBoard<TCard extends KanbanBoardCard = KanbanBoardCard>({ columns, renderCard, renderColumnHeader, renderColumnFooter, renderEmptyState, getCardId: getCardIdProp, onCardDrop, onColumnDrop, className, columnClassName, collisionDetection, modifiers, sensors: sensorsProp, measuring, }: KanbanBoardProps<TCard>): react_jsx_runtime.JSX.Element;
731
+
732
+ interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
733
+ }
734
+ declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
735
+ declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
736
+ declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
737
+ declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
738
+ interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
739
+ isDragging?: boolean;
740
+ isOverlay?: boolean;
741
+ }
742
+ declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
743
+ declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
744
+
745
+ declare const Label: React$1.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
746
+
747
+ type PaginationProps = {
748
+ page: number;
749
+ pageSize: number;
750
+ onChangePage: (page: number) => void;
751
+ total: number;
752
+ } & Omit<ComponentProps<'nav'>, 'children'>;
753
+ /**
754
+ * Pagination component to navigate through pages of data.
755
+ * @example
756
+ * <Pagination
757
+ * onChangePage={console.log}
758
+ * page={1}
759
+ * total={165}
760
+ * pageSize={10}
761
+ * />
762
+ *
763
+ * @param {number} page - The current page number.
764
+ * @param {number} total - The total number of items.
765
+ * @param {number} pageSize - The number of items per page.
766
+ * @param {function} onChangePage - Callback function to handle page changes.
767
+ */
768
+ declare const Pagination: {
769
+ ({ className, total, pageSize, page, onChangePage, ...props }: PaginationProps): react_jsx_runtime.JSX.Element;
770
+ displayName: string;
771
+ };
772
+
773
+ declare const Popover: React$1.FC<PopoverPrimitive.PopoverProps>;
774
+ declare const PopoverTrigger: React$1.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
775
+ interface PopoverContentProps extends React$1.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content> {
776
+ portal?: boolean;
777
+ }
778
+ declare const PopoverContent: React$1.ForwardRefExoticComponent<PopoverContentProps & React$1.RefAttributes<HTMLDivElement>>;
779
+
780
+ interface ProfileImageProps extends Omit<FileUploadOptions, 'maxSize'> {
781
+ maxSizeMB?: number;
782
+ onError?: (errors: {
783
+ file?: File | FileMetadata;
784
+ error: FileUploadError;
785
+ }[]) => void;
786
+ disabled?: boolean;
787
+ subtitle?: string;
788
+ onRemove?: VoidFunction;
789
+ image?: string;
790
+ cropperProps?: Omit<CropperProps, 'open' | 'previewUrl' | 'onOpenChange' | 'onApply'>;
791
+ onChange?: (file?: File) => void;
792
+ size?: 'sm' | 'md';
793
+ icon?: React__default.JSX.Element;
794
+ }
795
+ declare const ProfileImage: {
796
+ ({ maxSizeMB, subtitle, onError, maxFiles, accept, onRemove, image, cropperProps, onChange, size, icon, }: ProfileImageProps): react_jsx_runtime.JSX.Element;
797
+ displayName: string;
798
+ };
799
+
800
+ declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Root>): react_jsx_runtime.JSX.Element;
801
+ declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroupPrimitive.Item>): react_jsx_runtime.JSX.Element;
802
+
803
+ interface SkeletonProps extends React__default.HTMLAttributes<HTMLDivElement> {
804
+ }
805
+ declare const Skeleton: React__default.ForwardRefExoticComponent<SkeletonProps & React__default.RefAttributes<HTMLDivElement>>;
806
+
807
+ declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
808
+
809
+ declare enum SpaceSizeEnum {
810
+ xs = "gap-1",
811
+ sm = "gap-2",
812
+ md = "gap-3",
813
+ lg = "gap-4",
814
+ xl = "gap-5"
815
+ }
816
+ declare enum SpaceDirectionEnum {
817
+ row = "flex-row",
818
+ column = "flex-col"
819
+ }
820
+ type SpaceDirectionType = keyof typeof SpaceDirectionEnum;
821
+ type SpaceSizeType = keyof typeof SpaceSizeEnum;
822
+ declare const spaceVariantsConfig: (props?: ({
823
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
824
+ direction?: "row" | "column" | null | undefined;
825
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
826
+ interface SpaceProps extends React__default.HTMLAttributes<HTMLDivElement>, VariantProps<typeof spaceVariantsConfig> {
827
+ size?: SpaceSizeType;
828
+ direction?: SpaceDirectionType;
829
+ }
830
+ declare const Space: React__default.ForwardRefExoticComponent<SpaceProps & React__default.RefAttributes<HTMLDivElement>>;
831
+
832
+ interface StepperProps extends React$1.HTMLAttributes<HTMLDivElement> {
833
+ defaultValue?: number;
834
+ value?: number;
835
+ onValueChange?: (value: number) => void;
836
+ orientation?: 'horizontal' | 'vertical';
837
+ }
838
+ declare function Stepper({ defaultValue, value, onValueChange, orientation, className, ...props }: StepperProps): react_jsx_runtime.JSX.Element;
839
+ interface StepperItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
840
+ step: number;
841
+ completed?: boolean;
842
+ disabled?: boolean;
843
+ loading?: boolean;
844
+ }
845
+ declare function StepperItem({ step, completed, disabled, loading, className, children, ...props }: StepperItemProps): react_jsx_runtime.JSX.Element;
846
+ type StepperTriggerClickable = {
847
+ isClickable?: true;
848
+ onClick?: (e: React$1.MouseEvent<HTMLButtonElement>) => void;
849
+ };
850
+ type StepperTriggerNotClickable = {
851
+ isClickable?: false;
852
+ onClick?: undefined;
853
+ };
854
+ type StepperTriggerProps = (StepperTriggerClickable | StepperTriggerNotClickable) & {
855
+ asChild?: boolean;
856
+ } & Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick'>;
857
+ declare function StepperTrigger({ asChild, className, children, isClickable, onClick, ...props }: StepperTriggerProps): react_jsx_runtime.JSX.Element;
858
+ interface StepperIndicatorProps extends React$1.HTMLAttributes<HTMLDivElement> {
859
+ asChild?: boolean;
860
+ }
861
+ declare function StepperIndicator({ asChild, className, children, ...props }: StepperIndicatorProps): react_jsx_runtime.JSX.Element;
862
+ declare function StepperTitle({ className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>): react_jsx_runtime.JSX.Element;
863
+ declare function StepperDescription({ className, ...props }: React$1.HTMLAttributes<HTMLParagraphElement>): react_jsx_runtime.JSX.Element;
864
+ declare function StepperSeparator({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
865
+
866
+ declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
867
+
868
+ interface TableProps extends React$1.HTMLAttributes<HTMLTableElement> {
869
+ noCardWrapper?: boolean;
870
+ }
871
+ /**
872
+ * Table component that can be used with or without a card wrapper.
873
+ * If `noCardWrapper` is true, it renders a simple table without the card styling.
874
+ */
875
+ declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & TableProps & React$1.RefAttributes<HTMLTableElement>>;
876
+ declare const TableHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
877
+ declare const TableBody: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
878
+ declare const TableFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableSectionElement> & React$1.RefAttributes<HTMLTableSectionElement>>;
879
+ declare const variants: {
880
+ variant: {
881
+ first: string;
882
+ second: string;
883
+ };
884
+ };
885
+ interface TableRowProps extends React$1.HTMLAttributes<HTMLTableRowElement> {
886
+ variant?: keyof typeof variants.variant;
887
+ }
888
+ declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
889
+ declare const TableHead: React$1.ForwardRefExoticComponent<React$1.ThHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
890
+ declare const TableCell: React$1.ForwardRefExoticComponent<React$1.TdHTMLAttributes<HTMLTableCellElement> & React$1.RefAttributes<HTMLTableCellElement>>;
891
+ declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
892
+
893
+ declare const Tabs: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
894
+ isFitted?: boolean;
895
+ } & React$1.RefAttributes<HTMLDivElement>>;
896
+ declare const TabsList: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsListProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
897
+ declare const TabsTrigger: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
898
+ declare const TabsContent: React$1.ForwardRefExoticComponent<Omit<TabsPrimitive.TabsContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
954
899
 
955
- interface KanbanColumnProps extends HTMLAttributes<HTMLDivElement> {
900
+ declare enum tagVariantsEnum {
901
+ blue = "bg-tag-colorIndicator-blue",
902
+ green = "bg-tag-colorIndicator-green",
903
+ yellow = "bg-tag-colorIndicator-yellow",
904
+ red = "bg-tag-colorIndicator-red",
905
+ orange = "bg-tag-colorIndicator-orange",
906
+ gray = "bg-tag-colorIndicator-gray"
956
907
  }
957
- declare const KanbanColumn: React$1.ForwardRefExoticComponent<KanbanColumnProps & React$1.RefAttributes<HTMLDivElement>>;
958
- declare const KanbanColumnHeader: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
959
- declare const KanbanColumnTitle: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLHeadingElement> & React$1.RefAttributes<HTMLHeadingElement>>;
960
- declare const KanbanColumnFooter: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
961
- interface KanbanCardProps extends HTMLAttributes<HTMLDivElement> {
962
- isDragging?: boolean;
963
- isOverlay?: boolean;
908
+ type TagVariantsType = keyof typeof tagVariantsEnum;
909
+ interface TagProps extends React$1.HTMLAttributes<HTMLDivElement> {
910
+ onDelete?: () => void;
911
+ children?: string;
912
+ color?: TagVariantsType;
964
913
  }
965
- declare const KanbanCard: React$1.ForwardRefExoticComponent<KanbanCardProps & React$1.RefAttributes<HTMLDivElement>>;
966
- declare const KanbanColumnDragHandle: React$1.ForwardRefExoticComponent<React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
914
+ /**
915
+ * Tag component.
916
+ * @example
917
+ * <Tag
918
+ * onDelete={console.log}
919
+ * color="green">
920
+ * Green
921
+ * </Tag>
922
+ *
923
+ * @param {string} children - The text of Tag.
924
+ * @param {string} color - The color of Tag indicator.
925
+ * @param {function} onDelete - Callback component.
926
+ */
927
+ declare const Tag: React$1.ForwardRefExoticComponent<TagProps & React$1.RefAttributes<HTMLDivElement>>;
928
+
929
+ interface TextAreaProps extends React$1.InputHTMLAttributes<HTMLTextAreaElement> {
930
+ isError?: boolean;
931
+ resize?: boolean;
932
+ showCount?: boolean;
933
+ autoResize?: boolean;
934
+ asInput?: boolean;
935
+ }
936
+ /**
937
+ * TextArea component.
938
+ * @example
939
+ * <TextArea
940
+ * leftIcon={<Box className="w-4 h-4 block rounded-sm text-tag-icon" />}
941
+ * placeholder="Insert a text"
942
+ * />
943
+ *
944
+ * @param className - Tailwind classes.
945
+ * @param icon - Input reference icon.
946
+ * @param isError - error identifier in value.
947
+ * @param onClean - text field clear function.
948
+ */
949
+ declare const TextArea: React$1.ForwardRefExoticComponent<TextAreaProps & React$1.RefAttributes<HTMLTextAreaElement>>;
967
950
 
968
951
  declare const TipCard: ({ children, looping, }: PropsWithChildren<{
969
952
  looping?: boolean;
970
953
  }>) => react_jsx_runtime.JSX.Element;
971
954
 
955
+ declare const TipCardContent: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
956
+
957
+ declare const TipCardFooter: React__default.MemoExoticComponent<() => react_jsx_runtime.JSX.Element | null>;
958
+
959
+ declare const TipCardHeader: React__default.MemoExoticComponent<({ children, icon }: PropsWithChildren<{
960
+ icon?: React__default.ReactNode;
961
+ }>) => react_jsx_runtime.JSX.Element>;
962
+
972
963
  declare const TipCardItem: {
973
964
  ({ ["data-tip-card-item-order" as keyof React.HTMLAttributes<HTMLDivElement>]: order, children, ...props }: PropsWithChildren<React__default.HTMLAttributes<HTMLDivElement>>): react_jsx_runtime.JSX.Element;
974
965
  displayName: string;
975
966
  };
976
967
 
968
+ declare enum TipCardMediaType {
969
+ image = "image",
970
+ video = "video"
971
+ }
972
+ interface TipCardMediaProps {
973
+ type: keyof typeof TipCardMediaType;
974
+ source?: string;
975
+ alt?: string;
976
+ children?: React__default.ReactNode;
977
+ }
978
+ declare const TipCardMedia: {
979
+ ({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
980
+ displayName: string;
981
+ };
982
+
977
983
  interface TipCardContextType {
978
984
  registeredTipsMap: Map<string, boolean>;
979
985
  currentTipOrder: number;
@@ -989,63 +995,105 @@ declare const TipCardProvider: ({ children, looping, }: PropsWithChildren<{
989
995
  }>) => react_jsx_runtime.JSX.Element;
990
996
  declare const useTipCard: () => TipCardContextType;
991
997
 
992
- declare const TipCardFooter: React__default.MemoExoticComponent<() => react_jsx_runtime.JSX.Element | null>;
993
-
994
- declare const TipCardHeader: React__default.MemoExoticComponent<({ children, icon }: PropsWithChildren<{
998
+ type ToastOptions = {
999
+ description?: string;
1000
+ action?: {
1001
+ label: React__default.ReactNode;
1002
+ variant?: 'secondary' | 'ghost';
1003
+ onClick: () => void;
1004
+ };
995
1005
  icon?: React__default.ReactNode;
996
- }>) => react_jsx_runtime.JSX.Element>;
1006
+ };
1007
+ declare function Toaster(): react_jsx_runtime.JSX.Element;
1008
+ declare function success(message: string, options?: Omit<ToastOptions, 'icon'>): void;
1009
+ declare function error(message: string, options?: Omit<ToastOptions, 'icon'>): void;
1010
+ declare function info(message: string, options?: Omit<ToastOptions, 'icon'>): void;
1011
+ declare function custom(message: string, options?: ToastOptions): void;
1012
+ declare function promise<T>(promise: Promise<T>, messages: {
1013
+ loading: string;
1014
+ success: string;
1015
+ error: string;
1016
+ }, options?: ToastOptions): Promise<T>;
1017
+ declare const toast: {
1018
+ success: typeof success;
1019
+ error: typeof error;
1020
+ info: typeof info;
1021
+ custom: typeof custom;
1022
+ promise: typeof promise;
1023
+ };
997
1024
 
998
- declare const TipCardContent: ({ children }: PropsWithChildren) => react_jsx_runtime.JSX.Element;
1025
+ declare const toggleVariants: (props?: ({
1026
+ icon?: boolean | null | undefined;
1027
+ size?: "xs" | "sm" | "md" | "lg" | null | undefined;
1028
+ } & class_variance_authority_dist_types.ClassProp) | undefined) => string;
1029
+ declare enum ToggleSizeEnum {
1030
+ xs = "xs",
1031
+ sm = "sm",
1032
+ md = "md",
1033
+ lg = "lg"
1034
+ }
1035
+ declare function Toggle({ className, size, children, icon, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
999
1036
 
1000
- declare enum TipCardMediaType {
1001
- image = "image",
1002
- video = "video"
1037
+ declare enum ToggleGroupTypeEnum {
1038
+ single = "single",
1039
+ multiple = "multiple"
1003
1040
  }
1004
- interface TipCardMediaProps {
1005
- type: keyof typeof TipCardMediaType;
1006
- source?: string;
1007
- alt?: string;
1008
- children?: React__default.ReactNode;
1041
+ declare function ToggleGroup({ className, size, children, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1042
+ declare function ToggleGroupItem({ className, children, size, icon, ...props }: React$1.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
1043
+
1044
+ interface TooltipProps {
1045
+ content: string;
1046
+ portal?: boolean;
1009
1047
  }
1010
- declare const TipCardMedia: {
1011
- ({ type, source, alt, children, }: TipCardMediaProps): react_jsx_runtime.JSX.Element;
1012
- displayName: string;
1013
- };
1048
+ declare const Tooltip: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & TooltipProps & React$1.RefAttributes<HTMLDivElement>>;
1014
1049
 
1015
- declare enum AvatarVariantEnum {
1016
- primary = "primary",
1017
- success = "success",
1018
- warning = "warning",
1019
- danger = "danger",
1020
- neutral = "neutral",
1021
- random = "random"
1050
+ interface HeadingProps extends HTMLAttributes<HTMLHeadingElement> {
1051
+ level: '1' | '2' | '3' | '4' | '5' | '6';
1022
1052
  }
1023
- declare enum AvatarSizeEnum {
1024
- '3xs' = "3xs",// 20px
1025
- '2xs' = "2xs",// 24px
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"
1053
+ declare const Heading: React__default.ForwardRefExoticComponent<HeadingProps & React__default.RefAttributes<HTMLHeadingElement>>;
1054
+ interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
1055
+ size?: 'md' | 'sm';
1035
1056
  }
1036
- type AvatarSizeType = keyof typeof AvatarSizeEnum;
1037
- type AvatarVariantType = keyof typeof AvatarVariantEnum;
1038
- declare function Avatar({ className, size, variant, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Root> & {
1039
- size?: AvatarSizeType;
1040
- variant?: AvatarVariantType;
1041
- }): react_jsx_runtime.JSX.Element;
1042
- declare function AvatarImage({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Image>): react_jsx_runtime.JSX.Element;
1043
- declare function AvatarFallback({ className, ...props }: React$1.ComponentProps<typeof AvatarPrimitive.Fallback>): react_jsx_runtime.JSX.Element;
1044
- declare function AvatarStick({ className, x, y, ...props }: React$1.ComponentProps<'span'> & {
1045
- x: 'left' | 'right';
1046
- y: 'top' | 'bottom';
1047
- }): react_jsx_runtime.JSX.Element;
1048
- declare function AvatarHoverAction({ className, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
1057
+ declare const Paragraph: React__default.ForwardRefExoticComponent<ParagraphProps & React__default.RefAttributes<HTMLParagraphElement>>;
1058
+ interface CaptionProps extends HTMLAttributes<HTMLTableCaptionElement> {
1059
+ }
1060
+ declare const Caption: React__default.ForwardRefExoticComponent<CaptionProps & React__default.RefAttributes<HTMLTableCaptionElement>>;
1061
+ interface LinkProps extends React__default.AnchorHTMLAttributes<HTMLAnchorElement> {
1062
+ size?: 'md' | 'sm';
1063
+ asChild?: boolean;
1064
+ children: ReactNode;
1065
+ variant?: 'default' | 'external';
1066
+ disabled?: boolean;
1067
+ }
1068
+ declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
1069
+
1070
+ /**
1071
+ * Context type to use the NebulaI18nProvider.
1072
+ */
1073
+ interface NebulaI18nContextType {
1074
+ messages: Messages;
1075
+ locale: Language | null | undefined;
1076
+ }
1077
+ /**
1078
+ * Props to use the NebulaI18nProvider.
1079
+ */
1080
+ interface NebulaI18nProviderProps {
1081
+ customI18nStorageKey?: string;
1082
+ children: React.ReactNode;
1083
+ }
1084
+ /**
1085
+ * Provider to use the NebulaI18nContext.
1086
+ *
1087
+ * @param {React.ReactNode} props.children - The children to render.
1088
+ * @param {string} [props.customI18nStorageKey] - The custom storage key to use the NebulaI18nProvider. Default is `nebula-i18n-key`.
1089
+ * @returns {React.ReactNode} The rendered children.
1090
+ */
1091
+ declare const NebulaI18nProvider: ({ children, customI18nStorageKey, }: NebulaI18nProviderProps) => react_jsx_runtime.JSX.Element;
1092
+ /**
1093
+ * Hook to use the NebulaI18nContext.
1094
+ * @throws {Error} If the hook is used outside of a NebulaI18nProvider.
1095
+ */
1096
+ declare const useNebulaI18n: () => NebulaI18nContextType;
1049
1097
 
1050
1098
  interface Content {
1051
1099
  /**
@@ -1084,37 +1132,9 @@ declare const tailwind: {
1084
1132
  content: typeof content;
1085
1133
  };
1086
1134
 
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
1135
  type PossibleRefs<T extends HTMLElement> = MutableRefObject<T | undefined | null> | MutableRefObject<T | undefined | null>[];
1116
1136
  declare function useClickOutside<T extends HTMLElement>(refs: PossibleRefs<T>, onClickOutside: VoidFunction): void;
1117
1137
 
1118
1138
  declare function useKeyPress(key: string, callback: VoidFunction): void;
1119
1139
 
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 KanbanRenderColumnContext, type KanbanVirtualizationOptions, 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, Tooltip, type TooltipProps, alertVariants, badgeSizeEnum, badgeVariantEnum, buttonSizeEnum, buttonVariantEnum, buttonVariantsConfig, dateIsAvailable, formatBytes, getNebulaLanguage, localeByi18nKey, messages, separatorVariants, setNebulaLanguage, tagVariantsEnum, tailwind, toast, useClickOutside, useFileUpload, useKeyPress, useNebulaI18n, useTipCard };
1140
+ 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 KanbanRenderColumnContext, type KanbanVirtualizationOptions, 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 };