@sikka/hawa 0.21.0-next → 0.21.2-next
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.mts +105 -104
- package/dist/index.d.ts +105 -104
- package/dist/index.js +2986 -2975
- package/dist/index.mjs +2072 -2061
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { FC, ChangeEvent, FormEvent, InputHTMLAttributes, ReactNode, PropsWithChildren, RefObject, useEffect } from 'react';
|
|
3
3
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
|
+
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
4
5
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
5
6
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
6
7
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
@@ -12,7 +13,6 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
12
13
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
13
14
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
14
15
|
import { EmblaOptionsType } from 'embla-carousel-react';
|
|
15
|
-
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
16
16
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
17
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -169,96 +169,6 @@ type PricingCardProps = {
|
|
|
169
169
|
};
|
|
170
170
|
declare const PricingCard: FC<PricingCardProps>;
|
|
171
171
|
|
|
172
|
-
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
173
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
174
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
175
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
176
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
177
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
179
|
-
inset?: boolean | undefined;
|
|
180
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
182
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
184
|
-
inset?: boolean | undefined;
|
|
185
|
-
end?: any;
|
|
186
|
-
shortcut?: React$1.ReactNode;
|
|
187
|
-
badged?: boolean | undefined;
|
|
188
|
-
slug?: string | undefined;
|
|
189
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
190
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
191
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
192
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
193
|
-
inset?: boolean | undefined;
|
|
194
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
195
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
-
declare const DropdownMenuShortcut: {
|
|
197
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
198
|
-
displayName: string;
|
|
199
|
-
};
|
|
200
|
-
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
201
|
-
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
202
|
-
type SubItem$1 = {
|
|
203
|
-
label?: string;
|
|
204
|
-
value?: any;
|
|
205
|
-
icon?: any;
|
|
206
|
-
action?: () => void;
|
|
207
|
-
onMiddleClick?: (e: any) => void;
|
|
208
|
-
highlighted?: boolean;
|
|
209
|
-
disabled?: boolean;
|
|
210
|
-
slug?: string;
|
|
211
|
-
};
|
|
212
|
-
type MenuItemType = {
|
|
213
|
-
icon?: React$1.ReactNode;
|
|
214
|
-
label?: string;
|
|
215
|
-
shortcut?: React$1.ReactNode;
|
|
216
|
-
badged?: boolean;
|
|
217
|
-
value?: any;
|
|
218
|
-
content?: any;
|
|
219
|
-
slug?: string;
|
|
220
|
-
end?: any;
|
|
221
|
-
presist?: boolean;
|
|
222
|
-
itemType?: "separator" | "label" | string;
|
|
223
|
-
action?: () => void;
|
|
224
|
-
highlighted?: boolean;
|
|
225
|
-
subitems?: SubItem$1[];
|
|
226
|
-
disabled?: boolean;
|
|
227
|
-
onMiddleClick?: (e: any) => void;
|
|
228
|
-
onClick?: any;
|
|
229
|
-
};
|
|
230
|
-
interface DropdownMenuProps {
|
|
231
|
-
trigger?: any;
|
|
232
|
-
items?: MenuItemType[];
|
|
233
|
-
direction?: DirectionType;
|
|
234
|
-
className?: ExtendedDropdownMenuContentProps["className"];
|
|
235
|
-
triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
|
|
236
|
-
sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
|
|
237
|
-
side?: ExtendedDropdownMenuContentProps["side"];
|
|
238
|
-
align?: ExtendedDropdownMenuContentProps["align"];
|
|
239
|
-
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
240
|
-
width?: "default" | "sm" | "lg" | "parent";
|
|
241
|
-
size?: "default" | "sm";
|
|
242
|
-
onItemSelect?: any;
|
|
243
|
-
onOpenChange?: any;
|
|
244
|
-
header?: React$1.ReactNode;
|
|
245
|
-
open?: any;
|
|
246
|
-
}
|
|
247
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
248
|
-
interface DropdownMenuRadioProps {
|
|
249
|
-
trigger?: React$1.ReactNode;
|
|
250
|
-
side?: ExtendedDropdownMenuContentProps["side"];
|
|
251
|
-
align?: ExtendedDropdownMenuContentProps["align"];
|
|
252
|
-
options: {
|
|
253
|
-
label?: any;
|
|
254
|
-
value: string;
|
|
255
|
-
}[];
|
|
256
|
-
value: string;
|
|
257
|
-
onValueChange: any;
|
|
258
|
-
label?: string;
|
|
259
|
-
}
|
|
260
|
-
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
261
|
-
|
|
262
172
|
interface ItemCardTypes {
|
|
263
173
|
headerActions?: MenuItemType[];
|
|
264
174
|
header?: any;
|
|
@@ -340,7 +250,7 @@ type CheckBoxTypes = {
|
|
|
340
250
|
type CheckboxProps = CheckBoxTypes & React$1.ComponentProps<typeof CheckboxElement>;
|
|
341
251
|
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
342
252
|
declare const CheckboxElement: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
343
|
-
size?: "
|
|
253
|
+
size?: "default" | "xs" | "sm" | "lg" | "xl" | "md" | undefined;
|
|
344
254
|
radius?: RadiusType | undefined;
|
|
345
255
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
346
256
|
|
|
@@ -408,8 +318,8 @@ declare const ColorPicker: FC<ColorPickerTypes>;
|
|
|
408
318
|
declare const Input: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
409
319
|
isLoading?: boolean | undefined;
|
|
410
320
|
containerClassName?: string | undefined;
|
|
411
|
-
margin?: "none" | "
|
|
412
|
-
width?: "small" | "full" | "
|
|
321
|
+
margin?: "none" | "large" | "normal" | undefined;
|
|
322
|
+
width?: "small" | "full" | "auto" | "normal" | undefined;
|
|
413
323
|
/** The label of the input field */
|
|
414
324
|
label?: any;
|
|
415
325
|
labelProps?: LabelProps | undefined;
|
|
@@ -513,8 +423,8 @@ interface AvatarProps {
|
|
|
513
423
|
declare const Avatar: React__default.FC<AvatarProps>;
|
|
514
424
|
|
|
515
425
|
declare const buttonVariants: (props?: ({
|
|
516
|
-
variant?: "link" | "
|
|
517
|
-
size?: "
|
|
426
|
+
variant?: "link" | "default" | "neoBrutalism" | "combobox" | "light" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
427
|
+
size?: "default" | "heightless" | "xs" | "sm" | "lg" | "xl" | "icon" | "smallIcon" | null | undefined;
|
|
518
428
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
519
429
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
520
430
|
asChild?: boolean;
|
|
@@ -523,6 +433,96 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
523
433
|
}
|
|
524
434
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
525
435
|
|
|
436
|
+
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
437
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
439
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
440
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
441
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
442
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
443
|
+
inset?: boolean | undefined;
|
|
444
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
446
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
447
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
448
|
+
inset?: boolean | undefined;
|
|
449
|
+
end?: any;
|
|
450
|
+
shortcut?: React$1.ReactNode;
|
|
451
|
+
badged?: boolean | undefined;
|
|
452
|
+
slug?: string | undefined;
|
|
453
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
454
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
455
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
456
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
457
|
+
inset?: boolean | undefined;
|
|
458
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
460
|
+
declare const DropdownMenuShortcut: {
|
|
461
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
462
|
+
displayName: string;
|
|
463
|
+
};
|
|
464
|
+
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
465
|
+
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
466
|
+
type SubItem$1 = {
|
|
467
|
+
label?: string;
|
|
468
|
+
value?: any;
|
|
469
|
+
icon?: any;
|
|
470
|
+
action?: () => void;
|
|
471
|
+
onMiddleClick?: (e: any) => void;
|
|
472
|
+
highlighted?: boolean;
|
|
473
|
+
disabled?: boolean;
|
|
474
|
+
slug?: string;
|
|
475
|
+
};
|
|
476
|
+
type MenuItemType = {
|
|
477
|
+
icon?: React$1.ReactNode;
|
|
478
|
+
label?: string;
|
|
479
|
+
shortcut?: React$1.ReactNode;
|
|
480
|
+
badged?: boolean;
|
|
481
|
+
value?: any;
|
|
482
|
+
content?: any;
|
|
483
|
+
slug?: string;
|
|
484
|
+
end?: any;
|
|
485
|
+
presist?: boolean;
|
|
486
|
+
itemType?: "separator" | "label" | string;
|
|
487
|
+
action?: () => void;
|
|
488
|
+
highlighted?: boolean;
|
|
489
|
+
subitems?: SubItem$1[];
|
|
490
|
+
disabled?: boolean;
|
|
491
|
+
onMiddleClick?: (e: any) => void;
|
|
492
|
+
onClick?: any;
|
|
493
|
+
};
|
|
494
|
+
interface DropdownMenuProps {
|
|
495
|
+
trigger?: any;
|
|
496
|
+
items?: MenuItemType[];
|
|
497
|
+
direction?: DirectionType;
|
|
498
|
+
className?: ExtendedDropdownMenuContentProps["className"];
|
|
499
|
+
triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
|
|
500
|
+
sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
|
|
501
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
502
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
503
|
+
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
504
|
+
width?: "default" | "sm" | "lg" | "parent";
|
|
505
|
+
size?: "default" | "sm";
|
|
506
|
+
onItemSelect?: any;
|
|
507
|
+
onOpenChange?: any;
|
|
508
|
+
header?: React$1.ReactNode;
|
|
509
|
+
open?: any;
|
|
510
|
+
}
|
|
511
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
512
|
+
interface DropdownMenuRadioProps {
|
|
513
|
+
trigger?: React$1.ReactNode;
|
|
514
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
515
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
516
|
+
options: {
|
|
517
|
+
label?: any;
|
|
518
|
+
value: string;
|
|
519
|
+
}[];
|
|
520
|
+
value: string;
|
|
521
|
+
onValueChange: any;
|
|
522
|
+
label?: string;
|
|
523
|
+
}
|
|
524
|
+
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
525
|
+
|
|
526
526
|
interface SplitButtonProps extends ButtonProps {
|
|
527
527
|
direction?: DirectionType;
|
|
528
528
|
menuItems?: MenuItemType[];
|
|
@@ -711,7 +711,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
711
711
|
/** The color of the chip, must be a tailwind color */
|
|
712
712
|
color?: ChipColors | undefined;
|
|
713
713
|
/** The size of the chip */
|
|
714
|
-
size?: "small" | "
|
|
714
|
+
size?: "small" | "large" | "normal" | undefined;
|
|
715
715
|
/** Enable/Disable the dot before the label of the chip */
|
|
716
716
|
dot?: boolean | undefined;
|
|
717
717
|
/** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
|
|
@@ -905,6 +905,7 @@ type AccordionItemProps = {
|
|
|
905
905
|
trigger: string;
|
|
906
906
|
content: string;
|
|
907
907
|
disabled?: boolean;
|
|
908
|
+
chip?: ChipTypes;
|
|
908
909
|
};
|
|
909
910
|
type AccordionProps = {
|
|
910
911
|
items: AccordionItemProps[];
|
|
@@ -1007,7 +1008,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1007
1008
|
interface CommandDialogProps extends DialogProps {
|
|
1008
1009
|
}
|
|
1009
1010
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
|
|
1010
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
1011
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
|
|
1011
1012
|
value?: string | undefined;
|
|
1012
1013
|
onValueChange?: ((search: string) => void) | undefined;
|
|
1013
1014
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -1019,7 +1020,7 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1019
1020
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1020
1021
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1021
1022
|
children?: React$1.ReactNode;
|
|
1022
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
1023
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
1023
1024
|
heading?: React$1.ReactNode;
|
|
1024
1025
|
value?: string | undefined;
|
|
1025
1026
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1028,7 +1029,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.H
|
|
|
1028
1029
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1029
1030
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
1030
1031
|
children?: React$1.ReactNode;
|
|
1031
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
1032
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
1032
1033
|
disabled?: boolean | undefined;
|
|
1033
1034
|
onSelect?: ((value: string) => void) | undefined;
|
|
1034
1035
|
value?: string | undefined;
|
|
@@ -1514,9 +1515,9 @@ type AppLandingTypes = {
|
|
|
1514
1515
|
viaPhone?: boolean;
|
|
1515
1516
|
viaApple?: boolean;
|
|
1516
1517
|
allowRegister?: boolean;
|
|
1517
|
-
size
|
|
1518
|
-
direction
|
|
1519
|
-
handleRouteToRegister
|
|
1518
|
+
size?: "small" | "normal" | "full";
|
|
1519
|
+
direction?: DirectionType;
|
|
1520
|
+
handleRouteToRegister?: () => void;
|
|
1520
1521
|
handleGoogle?: () => void;
|
|
1521
1522
|
handleTwitter?: () => void;
|
|
1522
1523
|
handleApple?: () => void;
|
|
@@ -1883,7 +1884,7 @@ interface UseFocusWithinOptions {
|
|
|
1883
1884
|
onFocus?(event: FocusEvent): void;
|
|
1884
1885
|
onBlur?(event: FocusEvent): void;
|
|
1885
1886
|
}
|
|
1886
|
-
declare function useFocusWithin<T extends HTMLElement = any>({ onBlur, onFocus
|
|
1887
|
+
declare function useFocusWithin<T extends HTMLElement = any>({ onBlur, onFocus }?: UseFocusWithinOptions): {
|
|
1887
1888
|
ref: React.MutableRefObject<T>;
|
|
1888
1889
|
focused: boolean;
|
|
1889
1890
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
2
|
import React__default, { FC, ChangeEvent, FormEvent, InputHTMLAttributes, ReactNode, PropsWithChildren, RefObject, useEffect } from 'react';
|
|
3
3
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
4
|
+
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
4
5
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
5
6
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
6
7
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
@@ -12,7 +13,6 @@ import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
|
12
13
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
13
14
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
14
15
|
import { EmblaOptionsType } from 'embla-carousel-react';
|
|
15
|
-
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
16
16
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
17
17
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
18
18
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
@@ -169,96 +169,6 @@ type PricingCardProps = {
|
|
|
169
169
|
};
|
|
170
170
|
declare const PricingCard: FC<PricingCardProps>;
|
|
171
171
|
|
|
172
|
-
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
173
|
-
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
174
|
-
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
175
|
-
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
176
|
-
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
177
|
-
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
178
|
-
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
179
|
-
inset?: boolean | undefined;
|
|
180
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
181
|
-
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
182
|
-
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
183
|
-
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
184
|
-
inset?: boolean | undefined;
|
|
185
|
-
end?: any;
|
|
186
|
-
shortcut?: React$1.ReactNode;
|
|
187
|
-
badged?: boolean | undefined;
|
|
188
|
-
slug?: string | undefined;
|
|
189
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
190
|
-
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
191
|
-
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
192
|
-
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
193
|
-
inset?: boolean | undefined;
|
|
194
|
-
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
195
|
-
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
196
|
-
declare const DropdownMenuShortcut: {
|
|
197
|
-
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
198
|
-
displayName: string;
|
|
199
|
-
};
|
|
200
|
-
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
201
|
-
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
202
|
-
type SubItem$1 = {
|
|
203
|
-
label?: string;
|
|
204
|
-
value?: any;
|
|
205
|
-
icon?: any;
|
|
206
|
-
action?: () => void;
|
|
207
|
-
onMiddleClick?: (e: any) => void;
|
|
208
|
-
highlighted?: boolean;
|
|
209
|
-
disabled?: boolean;
|
|
210
|
-
slug?: string;
|
|
211
|
-
};
|
|
212
|
-
type MenuItemType = {
|
|
213
|
-
icon?: React$1.ReactNode;
|
|
214
|
-
label?: string;
|
|
215
|
-
shortcut?: React$1.ReactNode;
|
|
216
|
-
badged?: boolean;
|
|
217
|
-
value?: any;
|
|
218
|
-
content?: any;
|
|
219
|
-
slug?: string;
|
|
220
|
-
end?: any;
|
|
221
|
-
presist?: boolean;
|
|
222
|
-
itemType?: "separator" | "label" | string;
|
|
223
|
-
action?: () => void;
|
|
224
|
-
highlighted?: boolean;
|
|
225
|
-
subitems?: SubItem$1[];
|
|
226
|
-
disabled?: boolean;
|
|
227
|
-
onMiddleClick?: (e: any) => void;
|
|
228
|
-
onClick?: any;
|
|
229
|
-
};
|
|
230
|
-
interface DropdownMenuProps {
|
|
231
|
-
trigger?: any;
|
|
232
|
-
items?: MenuItemType[];
|
|
233
|
-
direction?: DirectionType;
|
|
234
|
-
className?: ExtendedDropdownMenuContentProps["className"];
|
|
235
|
-
triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
|
|
236
|
-
sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
|
|
237
|
-
side?: ExtendedDropdownMenuContentProps["side"];
|
|
238
|
-
align?: ExtendedDropdownMenuContentProps["align"];
|
|
239
|
-
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
240
|
-
width?: "default" | "sm" | "lg" | "parent";
|
|
241
|
-
size?: "default" | "sm";
|
|
242
|
-
onItemSelect?: any;
|
|
243
|
-
onOpenChange?: any;
|
|
244
|
-
header?: React$1.ReactNode;
|
|
245
|
-
open?: any;
|
|
246
|
-
}
|
|
247
|
-
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
248
|
-
interface DropdownMenuRadioProps {
|
|
249
|
-
trigger?: React$1.ReactNode;
|
|
250
|
-
side?: ExtendedDropdownMenuContentProps["side"];
|
|
251
|
-
align?: ExtendedDropdownMenuContentProps["align"];
|
|
252
|
-
options: {
|
|
253
|
-
label?: any;
|
|
254
|
-
value: string;
|
|
255
|
-
}[];
|
|
256
|
-
value: string;
|
|
257
|
-
onValueChange: any;
|
|
258
|
-
label?: string;
|
|
259
|
-
}
|
|
260
|
-
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
261
|
-
|
|
262
172
|
interface ItemCardTypes {
|
|
263
173
|
headerActions?: MenuItemType[];
|
|
264
174
|
header?: any;
|
|
@@ -340,7 +250,7 @@ type CheckBoxTypes = {
|
|
|
340
250
|
type CheckboxProps = CheckBoxTypes & React$1.ComponentProps<typeof CheckboxElement>;
|
|
341
251
|
declare const Checkbox: React$1.FC<CheckboxProps>;
|
|
342
252
|
declare const CheckboxElement: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
343
|
-
size?: "
|
|
253
|
+
size?: "default" | "xs" | "sm" | "lg" | "xl" | "md" | undefined;
|
|
344
254
|
radius?: RadiusType | undefined;
|
|
345
255
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
346
256
|
|
|
@@ -408,8 +318,8 @@ declare const ColorPicker: FC<ColorPickerTypes>;
|
|
|
408
318
|
declare const Input: React__default.ForwardRefExoticComponent<React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
409
319
|
isLoading?: boolean | undefined;
|
|
410
320
|
containerClassName?: string | undefined;
|
|
411
|
-
margin?: "none" | "
|
|
412
|
-
width?: "small" | "full" | "
|
|
321
|
+
margin?: "none" | "large" | "normal" | undefined;
|
|
322
|
+
width?: "small" | "full" | "auto" | "normal" | undefined;
|
|
413
323
|
/** The label of the input field */
|
|
414
324
|
label?: any;
|
|
415
325
|
labelProps?: LabelProps | undefined;
|
|
@@ -513,8 +423,8 @@ interface AvatarProps {
|
|
|
513
423
|
declare const Avatar: React__default.FC<AvatarProps>;
|
|
514
424
|
|
|
515
425
|
declare const buttonVariants: (props?: ({
|
|
516
|
-
variant?: "link" | "
|
|
517
|
-
size?: "
|
|
426
|
+
variant?: "link" | "default" | "neoBrutalism" | "combobox" | "light" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
|
|
427
|
+
size?: "default" | "heightless" | "xs" | "sm" | "lg" | "xl" | "icon" | "smallIcon" | null | undefined;
|
|
518
428
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
519
429
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
520
430
|
asChild?: boolean;
|
|
@@ -523,6 +433,96 @@ interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, V
|
|
|
523
433
|
}
|
|
524
434
|
declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
525
435
|
|
|
436
|
+
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
437
|
+
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
438
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
439
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
440
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
441
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
442
|
+
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
443
|
+
inset?: boolean | undefined;
|
|
444
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
445
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
446
|
+
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
447
|
+
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
448
|
+
inset?: boolean | undefined;
|
|
449
|
+
end?: any;
|
|
450
|
+
shortcut?: React$1.ReactNode;
|
|
451
|
+
badged?: boolean | undefined;
|
|
452
|
+
slug?: string | undefined;
|
|
453
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
454
|
+
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
455
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
456
|
+
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
457
|
+
inset?: boolean | undefined;
|
|
458
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
459
|
+
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
460
|
+
declare const DropdownMenuShortcut: {
|
|
461
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
462
|
+
displayName: string;
|
|
463
|
+
};
|
|
464
|
+
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
465
|
+
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
466
|
+
type SubItem$1 = {
|
|
467
|
+
label?: string;
|
|
468
|
+
value?: any;
|
|
469
|
+
icon?: any;
|
|
470
|
+
action?: () => void;
|
|
471
|
+
onMiddleClick?: (e: any) => void;
|
|
472
|
+
highlighted?: boolean;
|
|
473
|
+
disabled?: boolean;
|
|
474
|
+
slug?: string;
|
|
475
|
+
};
|
|
476
|
+
type MenuItemType = {
|
|
477
|
+
icon?: React$1.ReactNode;
|
|
478
|
+
label?: string;
|
|
479
|
+
shortcut?: React$1.ReactNode;
|
|
480
|
+
badged?: boolean;
|
|
481
|
+
value?: any;
|
|
482
|
+
content?: any;
|
|
483
|
+
slug?: string;
|
|
484
|
+
end?: any;
|
|
485
|
+
presist?: boolean;
|
|
486
|
+
itemType?: "separator" | "label" | string;
|
|
487
|
+
action?: () => void;
|
|
488
|
+
highlighted?: boolean;
|
|
489
|
+
subitems?: SubItem$1[];
|
|
490
|
+
disabled?: boolean;
|
|
491
|
+
onMiddleClick?: (e: any) => void;
|
|
492
|
+
onClick?: any;
|
|
493
|
+
};
|
|
494
|
+
interface DropdownMenuProps {
|
|
495
|
+
trigger?: any;
|
|
496
|
+
items?: MenuItemType[];
|
|
497
|
+
direction?: DirectionType;
|
|
498
|
+
className?: ExtendedDropdownMenuContentProps["className"];
|
|
499
|
+
triggerClassname?: ExtendedDropdownMenuTriggerProps["className"];
|
|
500
|
+
sideOffset?: ExtendedDropdownMenuContentProps["sideOffset"];
|
|
501
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
502
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
503
|
+
alignOffset?: ExtendedDropdownMenuContentProps["alignOffset"];
|
|
504
|
+
width?: "default" | "sm" | "lg" | "parent";
|
|
505
|
+
size?: "default" | "sm";
|
|
506
|
+
onItemSelect?: any;
|
|
507
|
+
onOpenChange?: any;
|
|
508
|
+
header?: React$1.ReactNode;
|
|
509
|
+
open?: any;
|
|
510
|
+
}
|
|
511
|
+
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
512
|
+
interface DropdownMenuRadioProps {
|
|
513
|
+
trigger?: React$1.ReactNode;
|
|
514
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
515
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
516
|
+
options: {
|
|
517
|
+
label?: any;
|
|
518
|
+
value: string;
|
|
519
|
+
}[];
|
|
520
|
+
value: string;
|
|
521
|
+
onValueChange: any;
|
|
522
|
+
label?: string;
|
|
523
|
+
}
|
|
524
|
+
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
525
|
+
|
|
526
526
|
interface SplitButtonProps extends ButtonProps {
|
|
527
527
|
direction?: DirectionType;
|
|
528
528
|
menuItems?: MenuItemType[];
|
|
@@ -711,7 +711,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<React__default.HTML
|
|
|
711
711
|
/** The color of the chip, must be a tailwind color */
|
|
712
712
|
color?: ChipColors | undefined;
|
|
713
713
|
/** The size of the chip */
|
|
714
|
-
size?: "small" | "
|
|
714
|
+
size?: "small" | "large" | "normal" | undefined;
|
|
715
715
|
/** Enable/Disable the dot before the label of the chip */
|
|
716
716
|
dot?: boolean | undefined;
|
|
717
717
|
/** Red/Green dot next to the label of the chip indicating online/offline or available/unavailable */
|
|
@@ -905,6 +905,7 @@ type AccordionItemProps = {
|
|
|
905
905
|
trigger: string;
|
|
906
906
|
content: string;
|
|
907
907
|
disabled?: boolean;
|
|
908
|
+
chip?: ChipTypes;
|
|
908
909
|
};
|
|
909
910
|
type AccordionProps = {
|
|
910
911
|
items: AccordionItemProps[];
|
|
@@ -1007,7 +1008,7 @@ declare const Command: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1007
1008
|
interface CommandDialogProps extends DialogProps {
|
|
1008
1009
|
}
|
|
1009
1010
|
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
|
|
1010
|
-
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "
|
|
1011
|
+
declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "onChange" | "type" | "value"> & {
|
|
1011
1012
|
value?: string | undefined;
|
|
1012
1013
|
onValueChange?: ((search: string) => void) | undefined;
|
|
1013
1014
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -1019,7 +1020,7 @@ declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
1019
1020
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1020
1021
|
declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
|
|
1021
1022
|
children?: React$1.ReactNode;
|
|
1022
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
1023
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
1023
1024
|
heading?: React$1.ReactNode;
|
|
1024
1025
|
value?: string | undefined;
|
|
1025
1026
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1028,7 +1029,7 @@ declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<React$1.H
|
|
|
1028
1029
|
} & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1029
1030
|
declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
|
|
1030
1031
|
children?: React$1.ReactNode;
|
|
1031
|
-
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "
|
|
1032
|
+
} & Omit<React$1.HTMLAttributes<HTMLDivElement>, "onSelect" | "disabled" | "value"> & {
|
|
1032
1033
|
disabled?: boolean | undefined;
|
|
1033
1034
|
onSelect?: ((value: string) => void) | undefined;
|
|
1034
1035
|
value?: string | undefined;
|
|
@@ -1514,9 +1515,9 @@ type AppLandingTypes = {
|
|
|
1514
1515
|
viaPhone?: boolean;
|
|
1515
1516
|
viaApple?: boolean;
|
|
1516
1517
|
allowRegister?: boolean;
|
|
1517
|
-
size
|
|
1518
|
-
direction
|
|
1519
|
-
handleRouteToRegister
|
|
1518
|
+
size?: "small" | "normal" | "full";
|
|
1519
|
+
direction?: DirectionType;
|
|
1520
|
+
handleRouteToRegister?: () => void;
|
|
1520
1521
|
handleGoogle?: () => void;
|
|
1521
1522
|
handleTwitter?: () => void;
|
|
1522
1523
|
handleApple?: () => void;
|
|
@@ -1883,7 +1884,7 @@ interface UseFocusWithinOptions {
|
|
|
1883
1884
|
onFocus?(event: FocusEvent): void;
|
|
1884
1885
|
onBlur?(event: FocusEvent): void;
|
|
1885
1886
|
}
|
|
1886
|
-
declare function useFocusWithin<T extends HTMLElement = any>({ onBlur, onFocus
|
|
1887
|
+
declare function useFocusWithin<T extends HTMLElement = any>({ onBlur, onFocus }?: UseFocusWithinOptions): {
|
|
1887
1888
|
ref: React.MutableRefObject<T>;
|
|
1888
1889
|
focused: boolean;
|
|
1889
1890
|
};
|