@sikka/hawa 0.2.44-next → 0.2.45-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.css +95 -0
- package/dist/index.d.mts +75 -1
- package/dist/index.d.ts +75 -1
- package/dist/index.js +423 -197
- package/dist/index.mjs +355 -149
- package/package.json +3 -2
package/dist/index.css
CHANGED
|
@@ -768,6 +768,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
768
768
|
.hawa-ml-auto {
|
|
769
769
|
margin-left: auto;
|
|
770
770
|
}
|
|
771
|
+
.hawa-mr-2 {
|
|
772
|
+
margin-right: 0.5rem;
|
|
773
|
+
}
|
|
771
774
|
.hawa-mr-3 {
|
|
772
775
|
margin-right: 0.75rem;
|
|
773
776
|
}
|
|
@@ -789,6 +792,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
789
792
|
.hawa-mt-3 {
|
|
790
793
|
margin-top: 0.75rem;
|
|
791
794
|
}
|
|
795
|
+
.hawa-mt-4 {
|
|
796
|
+
margin-top: 1rem;
|
|
797
|
+
}
|
|
792
798
|
.hawa-block {
|
|
793
799
|
display: block;
|
|
794
800
|
}
|
|
@@ -864,6 +870,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
864
870
|
.hawa-h-\[16px\] {
|
|
865
871
|
height: 16px;
|
|
866
872
|
}
|
|
873
|
+
.hawa-h-\[2\.38rem\] {
|
|
874
|
+
height: 2.38rem;
|
|
875
|
+
}
|
|
867
876
|
.hawa-h-\[200px\] {
|
|
868
877
|
height: 200px;
|
|
869
878
|
}
|
|
@@ -901,6 +910,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
901
910
|
.hawa-h-screen {
|
|
902
911
|
height: 100vh;
|
|
903
912
|
}
|
|
913
|
+
.hawa-max-h-\[300px\] {
|
|
914
|
+
max-height: 300px;
|
|
915
|
+
}
|
|
904
916
|
.hawa-max-h-fit {
|
|
905
917
|
max-height: -moz-fit-content;
|
|
906
918
|
max-height: fit-content;
|
|
@@ -1148,6 +1160,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1148
1160
|
-moz-user-select: none;
|
|
1149
1161
|
user-select: none;
|
|
1150
1162
|
}
|
|
1163
|
+
.hawa-grid-cols-1 {
|
|
1164
|
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
|
1165
|
+
}
|
|
1151
1166
|
.hawa-flex-row {
|
|
1152
1167
|
flex-direction: row;
|
|
1153
1168
|
}
|
|
@@ -1241,6 +1256,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1241
1256
|
.hawa-overflow-x-auto {
|
|
1242
1257
|
overflow-x: auto;
|
|
1243
1258
|
}
|
|
1259
|
+
.hawa-overflow-y-auto {
|
|
1260
|
+
overflow-y: auto;
|
|
1261
|
+
}
|
|
1262
|
+
.hawa-overflow-x-hidden {
|
|
1263
|
+
overflow-x: hidden;
|
|
1264
|
+
}
|
|
1244
1265
|
.hawa-overflow-y-scroll {
|
|
1245
1266
|
overflow-y: scroll;
|
|
1246
1267
|
}
|
|
@@ -1327,6 +1348,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1327
1348
|
.hawa-border-l {
|
|
1328
1349
|
border-left-width: 1px;
|
|
1329
1350
|
}
|
|
1351
|
+
.hawa-border-l-0 {
|
|
1352
|
+
border-left-width: 0px;
|
|
1353
|
+
}
|
|
1330
1354
|
.hawa-border-t {
|
|
1331
1355
|
border-top-width: 1px;
|
|
1332
1356
|
}
|
|
@@ -1602,6 +1626,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1602
1626
|
padding-top: 1rem;
|
|
1603
1627
|
padding-bottom: 1rem;
|
|
1604
1628
|
}
|
|
1629
|
+
.hawa-py-6 {
|
|
1630
|
+
padding-top: 1.5rem;
|
|
1631
|
+
padding-bottom: 1.5rem;
|
|
1632
|
+
}
|
|
1605
1633
|
.hawa-pb-0 {
|
|
1606
1634
|
padding-bottom: 0px;
|
|
1607
1635
|
}
|
|
@@ -1703,6 +1731,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1703
1731
|
.hawa-font-medium {
|
|
1704
1732
|
font-weight: 500;
|
|
1705
1733
|
}
|
|
1734
|
+
.hawa-font-normal {
|
|
1735
|
+
font-weight: 400;
|
|
1736
|
+
}
|
|
1706
1737
|
.hawa-font-semibold {
|
|
1707
1738
|
font-weight: 600;
|
|
1708
1739
|
}
|
|
@@ -2257,6 +2288,9 @@ body {
|
|
|
2257
2288
|
.focus-visible\:hawa-ring-ring:focus-visible {
|
|
2258
2289
|
--tw-ring-color: hsl(var(--ring));
|
|
2259
2290
|
}
|
|
2291
|
+
.focus-visible\:hawa-ring-offset-0:focus-visible {
|
|
2292
|
+
--tw-ring-offset-width: 0px;
|
|
2293
|
+
}
|
|
2260
2294
|
.focus-visible\:hawa-ring-offset-2:focus-visible {
|
|
2261
2295
|
--tw-ring-offset-width: 2px;
|
|
2262
2296
|
}
|
|
@@ -2393,6 +2427,12 @@ body {
|
|
|
2393
2427
|
.hawa-peer:disabled ~ .peer-disabled\:hawa-opacity-70 {
|
|
2394
2428
|
opacity: 0.7;
|
|
2395
2429
|
}
|
|
2430
|
+
.aria-selected\:hawa-bg-accent[aria-selected="true"] {
|
|
2431
|
+
background-color: hsl(var(--accent));
|
|
2432
|
+
}
|
|
2433
|
+
.aria-selected\:hawa-text-accent-foreground[aria-selected="true"] {
|
|
2434
|
+
color: hsl(var(--accent-foreground));
|
|
2435
|
+
}
|
|
2396
2436
|
.data-\[disabled\]\:hawa-pointer-events-none[data-disabled] {
|
|
2397
2437
|
pointer-events: none;
|
|
2398
2438
|
}
|
|
@@ -2590,6 +2630,9 @@ body {
|
|
|
2590
2630
|
--tw-text-opacity: 1;
|
|
2591
2631
|
color: rgb(22 101 52 / var(--tw-text-opacity));
|
|
2592
2632
|
}
|
|
2633
|
+
:is(.hawa-dark .dark\:hawa-text-muted-foreground) {
|
|
2634
|
+
color: hsl(var(--muted-foreground));
|
|
2635
|
+
}
|
|
2593
2636
|
:is(.hawa-dark .dark\:hawa-text-red-500) {
|
|
2594
2637
|
--tw-text-opacity: 1;
|
|
2595
2638
|
color: rgb(239 68 68 / var(--tw-text-opacity));
|
|
@@ -2640,6 +2683,10 @@ body {
|
|
|
2640
2683
|
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -2px var(--tw-shadow-color);
|
|
2641
2684
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
2642
2685
|
}
|
|
2686
|
+
:is(.hawa-dark .dark\:focus\:hawa-ring-blue-500:focus) {
|
|
2687
|
+
--tw-ring-opacity: 1;
|
|
2688
|
+
--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity));
|
|
2689
|
+
}
|
|
2643
2690
|
:is(.hawa-dark .hawa-peer:checked ~ .dark\:peer-checked\:hawa-text-primary) {
|
|
2644
2691
|
color: hsl(var(--primary));
|
|
2645
2692
|
}
|
|
@@ -2714,3 +2761,51 @@ body {
|
|
|
2714
2761
|
max-width: 420px;
|
|
2715
2762
|
}
|
|
2716
2763
|
}
|
|
2764
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-px-2 [cmdk-group-heading] {
|
|
2765
|
+
padding-left: 0.5rem;
|
|
2766
|
+
padding-right: 0.5rem;
|
|
2767
|
+
}
|
|
2768
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-py-1\.5 [cmdk-group-heading] {
|
|
2769
|
+
padding-top: 0.375rem;
|
|
2770
|
+
padding-bottom: 0.375rem;
|
|
2771
|
+
}
|
|
2772
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-text-xs [cmdk-group-heading] {
|
|
2773
|
+
font-size: 0.75rem;
|
|
2774
|
+
line-height: 1rem;
|
|
2775
|
+
}
|
|
2776
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-font-medium [cmdk-group-heading] {
|
|
2777
|
+
font-weight: 500;
|
|
2778
|
+
}
|
|
2779
|
+
.\[\&_\[cmdk-group-heading\]\]\:hawa-text-muted-foreground [cmdk-group-heading] {
|
|
2780
|
+
color: hsl(var(--muted-foreground));
|
|
2781
|
+
}
|
|
2782
|
+
.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:hawa-pt-0 [cmdk-group]:not([hidden]) ~[cmdk-group] {
|
|
2783
|
+
padding-top: 0px;
|
|
2784
|
+
}
|
|
2785
|
+
.\[\&_\[cmdk-group\]\]\:hawa-px-2 [cmdk-group] {
|
|
2786
|
+
padding-left: 0.5rem;
|
|
2787
|
+
padding-right: 0.5rem;
|
|
2788
|
+
}
|
|
2789
|
+
.\[\&_\[cmdk-input-wrapper\]_svg\]\:hawa-h-5 [cmdk-input-wrapper] svg {
|
|
2790
|
+
height: 1.25rem;
|
|
2791
|
+
}
|
|
2792
|
+
.\[\&_\[cmdk-input-wrapper\]_svg\]\:hawa-w-5 [cmdk-input-wrapper] svg {
|
|
2793
|
+
width: 1.25rem;
|
|
2794
|
+
}
|
|
2795
|
+
.\[\&_\[cmdk-input\]\]\:hawa-h-12 [cmdk-input] {
|
|
2796
|
+
height: 3rem;
|
|
2797
|
+
}
|
|
2798
|
+
.\[\&_\[cmdk-item\]\]\:hawa-px-2 [cmdk-item] {
|
|
2799
|
+
padding-left: 0.5rem;
|
|
2800
|
+
padding-right: 0.5rem;
|
|
2801
|
+
}
|
|
2802
|
+
.\[\&_\[cmdk-item\]\]\:hawa-py-3 [cmdk-item] {
|
|
2803
|
+
padding-top: 0.75rem;
|
|
2804
|
+
padding-bottom: 0.75rem;
|
|
2805
|
+
}
|
|
2806
|
+
.\[\&_\[cmdk-item\]_svg\]\:hawa-h-5 [cmdk-item] svg {
|
|
2807
|
+
height: 1.25rem;
|
|
2808
|
+
}
|
|
2809
|
+
.\[\&_\[cmdk-item\]_svg\]\:hawa-w-5 [cmdk-item] svg {
|
|
2810
|
+
width: 1.25rem;
|
|
2811
|
+
}
|
package/dist/index.d.mts
CHANGED
|
@@ -3,6 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import React__default, { FC, ReactNode, ChangeEvent, RefObject, PropsWithRef } from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
6
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
6
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
8
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
8
9
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -223,6 +224,7 @@ interface PopoverProps {
|
|
|
223
224
|
}
|
|
224
225
|
type HawaPopoverTypes = PopoverProps & React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
225
226
|
declare const Popover: React.FC<HawaPopoverTypes>;
|
|
227
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
226
228
|
|
|
227
229
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
228
230
|
}
|
|
@@ -427,4 +429,76 @@ declare const Logos: {
|
|
|
427
429
|
spinner: (props: IconProps) => React__default.JSX.Element;
|
|
428
430
|
};
|
|
429
431
|
|
|
430
|
-
|
|
432
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
433
|
+
children?: React.ReactNode;
|
|
434
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
435
|
+
label?: string | undefined;
|
|
436
|
+
shouldFilter?: boolean | undefined;
|
|
437
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
438
|
+
value?: string | undefined;
|
|
439
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
440
|
+
loop?: boolean | undefined;
|
|
441
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
442
|
+
interface CommandDialogProps extends DialogProps {
|
|
443
|
+
}
|
|
444
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React.JSX.Element;
|
|
445
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
446
|
+
value?: string | undefined;
|
|
447
|
+
onValueChange?: ((search: string) => void) | undefined;
|
|
448
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
449
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
450
|
+
children?: React.ReactNode;
|
|
451
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
452
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
453
|
+
children?: React.ReactNode;
|
|
454
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
455
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
456
|
+
children?: React.ReactNode;
|
|
457
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
458
|
+
heading?: React.ReactNode;
|
|
459
|
+
value?: string | undefined;
|
|
460
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
461
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
462
|
+
alwaysRender?: boolean | undefined;
|
|
463
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
465
|
+
children?: React.ReactNode;
|
|
466
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
|
|
467
|
+
disabled?: boolean | undefined;
|
|
468
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
469
|
+
value?: string | undefined;
|
|
470
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
declare const CommandShortcut: {
|
|
472
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
473
|
+
displayName: string;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
type SelectTypes = {
|
|
477
|
+
label?: string;
|
|
478
|
+
options?: {
|
|
479
|
+
value: any;
|
|
480
|
+
label: any;
|
|
481
|
+
}[];
|
|
482
|
+
isCreatable?: boolean;
|
|
483
|
+
isClearable?: boolean;
|
|
484
|
+
isMulti?: boolean;
|
|
485
|
+
isSearchable?: boolean;
|
|
486
|
+
onChange?: any;
|
|
487
|
+
helperText?: any;
|
|
488
|
+
onInputChange?: any;
|
|
489
|
+
native?: any;
|
|
490
|
+
width?: "full" | "small";
|
|
491
|
+
value?: any;
|
|
492
|
+
children?: any;
|
|
493
|
+
getOptionLabel?: any;
|
|
494
|
+
disabled?: boolean;
|
|
495
|
+
defaultValue?: any;
|
|
496
|
+
isLoading?: any;
|
|
497
|
+
texts?: {
|
|
498
|
+
noOptions?: string;
|
|
499
|
+
createLabel?: string;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
declare const Select: FC<SelectTypes>;
|
|
503
|
+
|
|
504
|
+
export { ActionCard, Alert, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, FileDropzone, Input, Label, Loading, Logos, MenuItemType, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, Radio, ScrollArea, ScrollBar, Select, Skeleton, Slider, SubItem, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, buttonVariants };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import * as React from 'react';
|
|
|
3
3
|
import React__default, { FC, ReactNode, ChangeEvent, RefObject, PropsWithRef } from 'react';
|
|
4
4
|
import { VariantProps } from 'class-variance-authority';
|
|
5
5
|
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
6
|
+
import { DialogProps } from '@radix-ui/react-dialog';
|
|
6
7
|
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
7
8
|
import * as ToastPrimitives from '@radix-ui/react-toast';
|
|
8
9
|
import * as SwitchPrimitives from '@radix-ui/react-switch';
|
|
@@ -223,6 +224,7 @@ interface PopoverProps {
|
|
|
223
224
|
}
|
|
224
225
|
type HawaPopoverTypes = PopoverProps & React.ComponentProps<typeof PopoverPrimitive.Root>;
|
|
225
226
|
declare const Popover: React.FC<HawaPopoverTypes>;
|
|
227
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
226
228
|
|
|
227
229
|
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
228
230
|
}
|
|
@@ -427,4 +429,76 @@ declare const Logos: {
|
|
|
427
429
|
spinner: (props: IconProps) => React__default.JSX.Element;
|
|
428
430
|
};
|
|
429
431
|
|
|
430
|
-
|
|
432
|
+
declare const Command: React.ForwardRefExoticComponent<Omit<{
|
|
433
|
+
children?: React.ReactNode;
|
|
434
|
+
} & React.HTMLAttributes<HTMLDivElement> & {
|
|
435
|
+
label?: string | undefined;
|
|
436
|
+
shouldFilter?: boolean | undefined;
|
|
437
|
+
filter?: ((value: string, search: string) => number) | undefined;
|
|
438
|
+
value?: string | undefined;
|
|
439
|
+
onValueChange?: ((value: string) => void) | undefined;
|
|
440
|
+
loop?: boolean | undefined;
|
|
441
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
442
|
+
interface CommandDialogProps extends DialogProps {
|
|
443
|
+
}
|
|
444
|
+
declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React.JSX.Element;
|
|
445
|
+
declare const CommandInput: React.ForwardRefExoticComponent<Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "value" | "onChange"> & {
|
|
446
|
+
value?: string | undefined;
|
|
447
|
+
onValueChange?: ((search: string) => void) | undefined;
|
|
448
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
449
|
+
declare const CommandList: React.ForwardRefExoticComponent<Omit<{
|
|
450
|
+
children?: React.ReactNode;
|
|
451
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
452
|
+
declare const CommandEmpty: React.ForwardRefExoticComponent<Omit<{
|
|
453
|
+
children?: React.ReactNode;
|
|
454
|
+
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
455
|
+
declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
456
|
+
children?: React.ReactNode;
|
|
457
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "heading" | "value"> & {
|
|
458
|
+
heading?: React.ReactNode;
|
|
459
|
+
value?: string | undefined;
|
|
460
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
461
|
+
declare const CommandSeparator: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement> & {
|
|
462
|
+
alwaysRender?: boolean | undefined;
|
|
463
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
464
|
+
declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
465
|
+
children?: React.ReactNode;
|
|
466
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "disabled" | "value" | "onSelect"> & {
|
|
467
|
+
disabled?: boolean | undefined;
|
|
468
|
+
onSelect?: ((value: string) => void) | undefined;
|
|
469
|
+
value?: string | undefined;
|
|
470
|
+
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
471
|
+
declare const CommandShortcut: {
|
|
472
|
+
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>): React.JSX.Element;
|
|
473
|
+
displayName: string;
|
|
474
|
+
};
|
|
475
|
+
|
|
476
|
+
type SelectTypes = {
|
|
477
|
+
label?: string;
|
|
478
|
+
options?: {
|
|
479
|
+
value: any;
|
|
480
|
+
label: any;
|
|
481
|
+
}[];
|
|
482
|
+
isCreatable?: boolean;
|
|
483
|
+
isClearable?: boolean;
|
|
484
|
+
isMulti?: boolean;
|
|
485
|
+
isSearchable?: boolean;
|
|
486
|
+
onChange?: any;
|
|
487
|
+
helperText?: any;
|
|
488
|
+
onInputChange?: any;
|
|
489
|
+
native?: any;
|
|
490
|
+
width?: "full" | "small";
|
|
491
|
+
value?: any;
|
|
492
|
+
children?: any;
|
|
493
|
+
getOptionLabel?: any;
|
|
494
|
+
disabled?: boolean;
|
|
495
|
+
defaultValue?: any;
|
|
496
|
+
isLoading?: any;
|
|
497
|
+
texts?: {
|
|
498
|
+
noOptions?: string;
|
|
499
|
+
createLabel?: string;
|
|
500
|
+
};
|
|
501
|
+
};
|
|
502
|
+
declare const Select: FC<SelectTypes>;
|
|
503
|
+
|
|
504
|
+
export { ActionCard, Alert, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Chip, CodeBlock, ColorPicker, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, FileDropzone, Input, Label, Loading, Logos, MenuItemType, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, Radio, ScrollArea, ScrollBar, Select, Skeleton, Slider, SubItem, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, TextareaProps, Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, buttonVariants };
|