@sikka/hawa 0.30.21-next → 0.30.23-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 CHANGED
@@ -10,8 +10,8 @@ import { DialogProps } from '@radix-ui/react-dialog';
10
10
  import { VariantProps } from 'class-variance-authority';
11
11
  import { RowData, ColumnDef } from '@tanstack/react-table';
12
12
  export { ColumnDef } from '@tanstack/react-table';
13
- import * as TabsPrimitive from '@radix-ui/react-tabs';
14
13
  import { Command as Command$1 } from 'cmdk';
14
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
15
15
  import * as PopoverPrimitive from '@radix-ui/react-popover';
16
16
  import * as SwitchPrimitives from '@radix-ui/react-switch';
17
17
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
@@ -538,9 +538,40 @@ declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
538
538
  declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
539
539
  declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
540
540
 
541
+ interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
542
+ }
543
+ interface CommandDialogProps extends DialogProps {
544
+ }
545
+ interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
546
+ }
547
+ interface CommandListProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.List> {
548
+ }
549
+ interface CommandEmptyProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Empty> {
550
+ }
551
+ interface CommandGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
552
+ }
553
+ interface CommandSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Separator> {
554
+ }
555
+ interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Item> {
556
+ }
557
+ interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
558
+ }
559
+ declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
560
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
561
+ declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
562
+ declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
563
+ declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
564
+ declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
565
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<CommandSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
566
+ declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
567
+ declare const CommandShortcut: {
568
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & CommandShortcutProps): React$1.JSX.Element;
569
+ displayName: string;
570
+ };
571
+
541
572
  type ComboboxTypes<T> = {
542
- labelKey?: keyof T;
543
- valueKey?: keyof T;
573
+ labelKey?: keyof T | any;
574
+ valueKey?: keyof T | any;
544
575
  data: T[];
545
576
  width?: string;
546
577
  texts?: {
@@ -556,6 +587,7 @@ type ComboboxTypes<T> = {
556
587
  preview?: boolean;
557
588
  hideInput?: boolean;
558
589
  direction?: DirectionType;
590
+ inputProps?: CommandInputProps;
559
591
  id?: string;
560
592
  /** The label of the input field */
561
593
  label?: any;
@@ -700,37 +732,6 @@ declare const Input: React__default.ForwardRefExoticComponent<React__default.Inp
700
732
  prefixText?: any;
701
733
  } & React__default.RefAttributes<HTMLInputElement>>;
702
734
 
703
- interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
704
- }
705
- interface CommandDialogProps extends DialogProps {
706
- }
707
- interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
708
- }
709
- interface CommandListProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.List> {
710
- }
711
- interface CommandEmptyProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Empty> {
712
- }
713
- interface CommandGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
714
- }
715
- interface CommandSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Separator> {
716
- }
717
- interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Item> {
718
- }
719
- interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
720
- }
721
- declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
722
- declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
723
- declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
724
- declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
725
- declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
726
- declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
727
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<CommandSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
728
- declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
729
- declare const CommandShortcut: {
730
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & CommandShortcutProps): React$1.JSX.Element;
731
- displayName: string;
732
- };
733
-
734
735
  declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
735
736
  container?: HTMLElement | null | undefined;
736
737
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -2101,4 +2102,4 @@ declare function useTabs(initialTab?: string): {
2101
2102
  handleTabChange: (index: any) => void;
2102
2103
  };
2103
2104
 
2104
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, AuthButtons, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PhoneMockup, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, type TextFieldTypes, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
2105
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, AuthButtons, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, type CommandInputProps, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PhoneMockup, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, type TextFieldTypes, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -10,8 +10,8 @@ import { DialogProps } from '@radix-ui/react-dialog';
10
10
  import { VariantProps } from 'class-variance-authority';
11
11
  import { RowData, ColumnDef } from '@tanstack/react-table';
12
12
  export { ColumnDef } from '@tanstack/react-table';
13
- import * as TabsPrimitive from '@radix-ui/react-tabs';
14
13
  import { Command as Command$1 } from 'cmdk';
14
+ import * as TabsPrimitive from '@radix-ui/react-tabs';
15
15
  import * as PopoverPrimitive from '@radix-ui/react-popover';
16
16
  import * as SwitchPrimitives from '@radix-ui/react-switch';
17
17
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
@@ -538,9 +538,40 @@ declare const TableRow: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes
538
538
  declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
539
539
  declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
540
540
 
541
+ interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
542
+ }
543
+ interface CommandDialogProps extends DialogProps {
544
+ }
545
+ interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
546
+ }
547
+ interface CommandListProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.List> {
548
+ }
549
+ interface CommandEmptyProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Empty> {
550
+ }
551
+ interface CommandGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
552
+ }
553
+ interface CommandSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Separator> {
554
+ }
555
+ interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Item> {
556
+ }
557
+ interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
558
+ }
559
+ declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
560
+ declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
561
+ declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
562
+ declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
563
+ declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
564
+ declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
565
+ declare const CommandSeparator: React$1.ForwardRefExoticComponent<CommandSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
566
+ declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
567
+ declare const CommandShortcut: {
568
+ ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & CommandShortcutProps): React$1.JSX.Element;
569
+ displayName: string;
570
+ };
571
+
541
572
  type ComboboxTypes<T> = {
542
- labelKey?: keyof T;
543
- valueKey?: keyof T;
573
+ labelKey?: keyof T | any;
574
+ valueKey?: keyof T | any;
544
575
  data: T[];
545
576
  width?: string;
546
577
  texts?: {
@@ -556,6 +587,7 @@ type ComboboxTypes<T> = {
556
587
  preview?: boolean;
557
588
  hideInput?: boolean;
558
589
  direction?: DirectionType;
590
+ inputProps?: CommandInputProps;
559
591
  id?: string;
560
592
  /** The label of the input field */
561
593
  label?: any;
@@ -700,37 +732,6 @@ declare const Input: React__default.ForwardRefExoticComponent<React__default.Inp
700
732
  prefixText?: any;
701
733
  } & React__default.RefAttributes<HTMLInputElement>>;
702
734
 
703
- interface CommandProps extends React$1.ComponentPropsWithoutRef<typeof Command$1> {
704
- }
705
- interface CommandDialogProps extends DialogProps {
706
- }
707
- interface CommandInputProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Input> {
708
- }
709
- interface CommandListProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.List> {
710
- }
711
- interface CommandEmptyProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Empty> {
712
- }
713
- interface CommandGroupProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Group> {
714
- }
715
- interface CommandSeparatorProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Separator> {
716
- }
717
- interface CommandItemProps extends React$1.ComponentPropsWithoutRef<typeof Command$1.Item> {
718
- }
719
- interface CommandShortcutProps extends React$1.HTMLAttributes<HTMLSpanElement> {
720
- }
721
- declare const Command: React$1.ForwardRefExoticComponent<CommandProps & React$1.RefAttributes<HTMLDivElement>>;
722
- declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => React$1.JSX.Element;
723
- declare const CommandInput: React$1.ForwardRefExoticComponent<CommandInputProps & React$1.RefAttributes<HTMLInputElement>>;
724
- declare const CommandList: React$1.ForwardRefExoticComponent<CommandListProps & React$1.RefAttributes<HTMLDivElement>>;
725
- declare const CommandEmpty: React$1.ForwardRefExoticComponent<CommandEmptyProps & React$1.RefAttributes<HTMLDivElement>>;
726
- declare const CommandGroup: React$1.ForwardRefExoticComponent<CommandGroupProps & React$1.RefAttributes<HTMLDivElement>>;
727
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<CommandSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
728
- declare const CommandItem: React$1.ForwardRefExoticComponent<CommandItemProps & React$1.RefAttributes<HTMLDivElement>>;
729
- declare const CommandShortcut: {
730
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement> & CommandShortcutProps): React$1.JSX.Element;
731
- displayName: string;
732
- };
733
-
734
735
  declare const PopoverContent: React$1.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
735
736
  container?: HTMLElement | null | undefined;
736
737
  } & React$1.RefAttributes<HTMLDivElement>>;
@@ -2101,4 +2102,4 @@ declare function useTabs(initialTab?: string): {
2101
2102
  handleTabChange: (index: any) => void;
2102
2103
  };
2103
2104
 
2104
- export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, AuthButtons, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PhoneMockup, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, type TextFieldTypes, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
2105
+ export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, AuthButtons, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, type ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, type ChipColors, type ChipTypes, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, type CommandInputProps, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, ContactForm, Copyrights, Count, DataTable, DestroyableCard, Dialog, DialogBody, DialogCarousel, DialogCarouselContent, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogPortal, DialogStep, DialogSteps, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadio, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, type LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, type MenuItemType, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Navbar, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem$1 as NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger, NavigationMenuViewport, NewPasswordForm, NoPermission, NotFound, Pagination, PasswordInput, PasswordStrengthIndicator, PhoneInput, PhoneMockup, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, ProgressCircle, Radio, type RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, type SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, type TextFieldTypes, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, type ToasterToastProps, Tooltip, Usage, type UseFocusWithinOptions, type UseMediaQueryOptions, UserReferralSource, buttonVariants, navigationMenuTriggerStyle, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
package/dist/index.js CHANGED
@@ -3668,6 +3668,7 @@ var Combobox = React27.forwardRef(
3668
3668
  popoverClassName,
3669
3669
  direction,
3670
3670
  labelProps,
3671
+ inputProps,
3671
3672
  data,
3672
3673
  renderOption,
3673
3674
  ...props
@@ -3677,7 +3678,7 @@ var Combobox = React27.forwardRef(
3677
3678
  const [value, setValue] = React27.useState(defaultValue);
3678
3679
  const containerRef = React27.useRef(null);
3679
3680
  function getProperty(obj, key) {
3680
- return obj[key];
3681
+ return key.split(".").reduce((o, k) => (o || {})[k], obj);
3681
3682
  }
3682
3683
  const handleOpenChange = (open2) => {
3683
3684
  if (!(props.isLoading || props.preview)) {
@@ -3752,52 +3753,65 @@ var Combobox = React27.forwardRef(
3752
3753
  dir: direction,
3753
3754
  container: containerRef.current
3754
3755
  },
3755
- /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3756
- CommandInput,
3757
- {
3758
- dir: direction,
3759
- placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3760
- }
3761
- ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandList, null, /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-scroll" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
3762
- CommandItem,
3756
+ /* @__PURE__ */ React27.createElement(
3757
+ Command,
3763
3758
  {
3764
- key: i,
3765
- onSelect: () => {
3766
- const newValue = getProperty(item, valueKey);
3767
- setValue(
3768
- newValue === value ? "" : newValue
3769
- );
3770
- if (props.onChange) {
3771
- props.onChange(
3772
- newValue === value ? "" : newValue
3773
- );
3774
- }
3775
- setOpen(false);
3759
+ filter: (value2, search) => {
3760
+ if (value2.toLowerCase().includes(search.toLowerCase()))
3761
+ return 1;
3762
+ return 0;
3776
3763
  }
3777
3764
  },
3778
- /* @__PURE__ */ React27.createElement(
3779
- "svg",
3765
+ !props.hideInput && /* @__PURE__ */ React27.createElement(
3766
+ CommandInput,
3780
3767
  {
3781
- "aria-label": "Check Icon",
3782
- xmlns: "http://www.w3.org/2000/svg",
3783
- width: "24",
3784
- height: "24",
3785
- viewBox: "0 0 24 24",
3786
- fill: "none",
3787
- stroke: "currentColor",
3788
- strokeWidth: "2",
3789
- strokeLinecap: "round",
3790
- strokeLinejoin: "round",
3791
- className: cn(
3792
- "hawa-icon",
3793
- value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3794
- ),
3795
- style: { marginInlineEnd: "0.5rem" }
3796
- },
3797
- /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3768
+ ...inputProps,
3769
+ dir: direction,
3770
+ placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3771
+ }
3798
3772
  ),
3799
- renderOption ? renderOption(item) : getProperty(item, labelKey)
3800
- )))))
3773
+ /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."),
3774
+ /* @__PURE__ */ React27.createElement(CommandList, null, /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-scroll" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
3775
+ CommandItem,
3776
+ {
3777
+ key: i,
3778
+ onSelect: () => {
3779
+ const newValue = getProperty(item, valueKey);
3780
+ setValue(
3781
+ newValue === value ? "" : newValue
3782
+ );
3783
+ if (props.onChange) {
3784
+ props.onChange(
3785
+ newValue === value ? "" : newValue
3786
+ );
3787
+ }
3788
+ setOpen(false);
3789
+ }
3790
+ },
3791
+ /* @__PURE__ */ React27.createElement(
3792
+ "svg",
3793
+ {
3794
+ "aria-label": "Check Icon",
3795
+ xmlns: "http://www.w3.org/2000/svg",
3796
+ width: "24",
3797
+ height: "24",
3798
+ viewBox: "0 0 24 24",
3799
+ fill: "none",
3800
+ stroke: "currentColor",
3801
+ strokeWidth: "2",
3802
+ strokeLinecap: "round",
3803
+ strokeLinejoin: "round",
3804
+ className: cn(
3805
+ "hawa-icon",
3806
+ value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3807
+ ),
3808
+ style: { marginInlineEnd: "0.5rem" }
3809
+ },
3810
+ /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3811
+ ),
3812
+ renderOption ? renderOption(item) : getProperty(item, labelKey)
3813
+ ))))
3814
+ )
3801
3815
  ))
3802
3816
  );
3803
3817
  }
package/dist/index.mjs CHANGED
@@ -3441,6 +3441,7 @@ var Combobox = React27.forwardRef(
3441
3441
  popoverClassName,
3442
3442
  direction,
3443
3443
  labelProps,
3444
+ inputProps,
3444
3445
  data,
3445
3446
  renderOption,
3446
3447
  ...props
@@ -3450,7 +3451,7 @@ var Combobox = React27.forwardRef(
3450
3451
  const [value, setValue] = React27.useState(defaultValue);
3451
3452
  const containerRef = React27.useRef(null);
3452
3453
  function getProperty(obj, key) {
3453
- return obj[key];
3454
+ return key.split(".").reduce((o, k) => (o || {})[k], obj);
3454
3455
  }
3455
3456
  const handleOpenChange = (open2) => {
3456
3457
  if (!(props.isLoading || props.preview)) {
@@ -3525,52 +3526,65 @@ var Combobox = React27.forwardRef(
3525
3526
  dir: direction,
3526
3527
  container: containerRef.current
3527
3528
  },
3528
- /* @__PURE__ */ React27.createElement(Command, null, !props.hideInput && /* @__PURE__ */ React27.createElement(
3529
- CommandInput,
3530
- {
3531
- dir: direction,
3532
- placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3533
- }
3534
- ), /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."), /* @__PURE__ */ React27.createElement(CommandList, null, /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-scroll" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
3535
- CommandItem,
3529
+ /* @__PURE__ */ React27.createElement(
3530
+ Command,
3536
3531
  {
3537
- key: i,
3538
- onSelect: () => {
3539
- const newValue = getProperty(item, valueKey);
3540
- setValue(
3541
- newValue === value ? "" : newValue
3542
- );
3543
- if (props.onChange) {
3544
- props.onChange(
3545
- newValue === value ? "" : newValue
3546
- );
3547
- }
3548
- setOpen(false);
3532
+ filter: (value2, search) => {
3533
+ if (value2.toLowerCase().includes(search.toLowerCase()))
3534
+ return 1;
3535
+ return 0;
3549
3536
  }
3550
3537
  },
3551
- /* @__PURE__ */ React27.createElement(
3552
- "svg",
3538
+ !props.hideInput && /* @__PURE__ */ React27.createElement(
3539
+ CommandInput,
3553
3540
  {
3554
- "aria-label": "Check Icon",
3555
- xmlns: "http://www.w3.org/2000/svg",
3556
- width: "24",
3557
- height: "24",
3558
- viewBox: "0 0 24 24",
3559
- fill: "none",
3560
- stroke: "currentColor",
3561
- strokeWidth: "2",
3562
- strokeLinecap: "round",
3563
- strokeLinejoin: "round",
3564
- className: cn(
3565
- "hawa-icon",
3566
- value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3567
- ),
3568
- style: { marginInlineEnd: "0.5rem" }
3569
- },
3570
- /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3541
+ ...inputProps,
3542
+ dir: direction,
3543
+ placeholder: ((_b = props.texts) == null ? void 0 : _b.searchPlaceholder) || "Search"
3544
+ }
3571
3545
  ),
3572
- renderOption ? renderOption(item) : getProperty(item, labelKey)
3573
- )))))
3546
+ /* @__PURE__ */ React27.createElement(CommandEmpty, null, ((_c = props.texts) == null ? void 0 : _c.noItems) || "No items found."),
3547
+ /* @__PURE__ */ React27.createElement(CommandList, null, /* @__PURE__ */ React27.createElement(CommandGroup, { className: "hawa-max-h-[200px] hawa-overflow-y-scroll" }, data.map((item, i) => /* @__PURE__ */ React27.createElement(
3548
+ CommandItem,
3549
+ {
3550
+ key: i,
3551
+ onSelect: () => {
3552
+ const newValue = getProperty(item, valueKey);
3553
+ setValue(
3554
+ newValue === value ? "" : newValue
3555
+ );
3556
+ if (props.onChange) {
3557
+ props.onChange(
3558
+ newValue === value ? "" : newValue
3559
+ );
3560
+ }
3561
+ setOpen(false);
3562
+ }
3563
+ },
3564
+ /* @__PURE__ */ React27.createElement(
3565
+ "svg",
3566
+ {
3567
+ "aria-label": "Check Icon",
3568
+ xmlns: "http://www.w3.org/2000/svg",
3569
+ width: "24",
3570
+ height: "24",
3571
+ viewBox: "0 0 24 24",
3572
+ fill: "none",
3573
+ stroke: "currentColor",
3574
+ strokeWidth: "2",
3575
+ strokeLinecap: "round",
3576
+ strokeLinejoin: "round",
3577
+ className: cn(
3578
+ "hawa-icon",
3579
+ value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3580
+ ),
3581
+ style: { marginInlineEnd: "0.5rem" }
3582
+ },
3583
+ /* @__PURE__ */ React27.createElement("polyline", { points: "20 6 9 17 4 12" })
3584
+ ),
3585
+ renderOption ? renderOption(item) : getProperty(item, labelKey)
3586
+ ))))
3587
+ )
3574
3588
  ))
3575
3589
  );
3576
3590
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.30.21-next",
3
+ "version": "0.30.23-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -61,7 +61,7 @@
61
61
  "@radix-ui/react-tabs": "^1.0.4",
62
62
  "@radix-ui/react-toast": "^1.1.5",
63
63
  "@radix-ui/react-tooltip": "^1.0.7",
64
- "@tanstack/react-table": "^8.14.0",
64
+ "@tanstack/react-table": "^8.15.0",
65
65
  "@tanstack/table-core": "^8.14.0",
66
66
  "class-variance-authority": "^0.7.0",
67
67
  "clsx": "^2.1.0",
@@ -91,7 +91,7 @@
91
91
  "@testing-library/jest-dom": "^6.4.2",
92
92
  "@testing-library/react": "^14.2.2",
93
93
  "@types/jest": "^29.5.12",
94
- "@types/react": "^18.2.67",
94
+ "@types/react": "^18.2.69",
95
95
  "@types/react-dom": "^18.2.22",
96
96
  "autoprefixer": "^10.4.19",
97
97
  "boxen": "^7.1.1",
@@ -99,7 +99,7 @@
99
99
  "embla-carousel": "8.0.0",
100
100
  "jest": "^29.7.0",
101
101
  "jest-environment-jsdom": "^29.7.0",
102
- "lucide-react": "^0.360.0",
102
+ "lucide-react": "^0.363.0",
103
103
  "postcss": "^8.4.38",
104
104
  "postcss-cli": "^11.0.0",
105
105
  "postcss-import": "^16.1.0",