@sikka/hawa 0.30.20-next → 0.30.22-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,6 +538,37 @@ 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
573
  labelKey?: keyof T;
543
574
  valueKey?: keyof T;
@@ -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,6 +538,37 @@ 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
573
  labelKey?: keyof T;
543
574
  valueKey?: keyof T;
@@ -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
@@ -3565,7 +3565,7 @@ var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
3565
3565
  {
3566
3566
  ref,
3567
3567
  className: cn(
3568
- "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
3568
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
3569
3569
  className
3570
3570
  ),
3571
3571
  ...props
@@ -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
@@ -3752,50 +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(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(newValue === value ? "" : newValue);
3768
- if (props.onChange) {
3769
- props.onChange(
3770
- newValue === value ? "" : newValue
3771
- );
3772
- }
3773
- setOpen(false);
3759
+ filter: (value2, search) => {
3760
+ if (value2.toLowerCase().includes(search.toLowerCase()))
3761
+ return 1;
3762
+ return 0;
3774
3763
  }
3775
3764
  },
3776
- /* @__PURE__ */ React27.createElement(
3777
- "svg",
3765
+ !props.hideInput && /* @__PURE__ */ React27.createElement(
3766
+ CommandInput,
3778
3767
  {
3779
- "aria-label": "Check Icon",
3780
- xmlns: "http://www.w3.org/2000/svg",
3781
- width: "24",
3782
- height: "24",
3783
- viewBox: "0 0 24 24",
3784
- fill: "none",
3785
- stroke: "currentColor",
3786
- strokeWidth: "2",
3787
- strokeLinecap: "round",
3788
- strokeLinejoin: "round",
3789
- className: cn(
3790
- "hawa-icon",
3791
- value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3792
- ),
3793
- style: { marginInlineEnd: "0.5rem" }
3794
- },
3795
- /* @__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
+ }
3796
3772
  ),
3797
- renderOption ? renderOption(item) : getProperty(item, labelKey)
3798
- ))))
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
+ )
3799
3815
  ))
3800
3816
  );
3801
3817
  }
package/dist/index.mjs CHANGED
@@ -3338,7 +3338,7 @@ var CommandItem = React25.forwardRef(({ className, ...props }, ref) => /* @__PUR
3338
3338
  {
3339
3339
  ref,
3340
3340
  className: cn(
3341
- "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled]:hawa-pointer-events-none data-[disabled]:hawa-opacity-50",
3341
+ "hawa-relative hawa-flex hawa-cursor-default hawa-select-none hawa-items-center hawa-rounded-sm hawa-px-2 hawa-py-1.5 hawa-text-sm hawa-outline-none aria-selected:hawa-bg-accent aria-selected:hawa-text-accent-foreground data-[disabled='true']:hawa-pointer-events-none data-[disabled='true']:hawa-opacity-50",
3342
3342
  className
3343
3343
  ),
3344
3344
  ...props
@@ -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
@@ -3525,50 +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(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(newValue === value ? "" : newValue);
3541
- if (props.onChange) {
3542
- props.onChange(
3543
- newValue === value ? "" : newValue
3544
- );
3545
- }
3546
- setOpen(false);
3532
+ filter: (value2, search) => {
3533
+ if (value2.toLowerCase().includes(search.toLowerCase()))
3534
+ return 1;
3535
+ return 0;
3547
3536
  }
3548
3537
  },
3549
- /* @__PURE__ */ React27.createElement(
3550
- "svg",
3538
+ !props.hideInput && /* @__PURE__ */ React27.createElement(
3539
+ CommandInput,
3551
3540
  {
3552
- "aria-label": "Check Icon",
3553
- xmlns: "http://www.w3.org/2000/svg",
3554
- width: "24",
3555
- height: "24",
3556
- viewBox: "0 0 24 24",
3557
- fill: "none",
3558
- stroke: "currentColor",
3559
- strokeWidth: "2",
3560
- strokeLinecap: "round",
3561
- strokeLinejoin: "round",
3562
- className: cn(
3563
- "hawa-icon",
3564
- value === getProperty(item, valueKey) ? "hawa-opacity-100" : "hawa-opacity-0"
3565
- ),
3566
- style: { marginInlineEnd: "0.5rem" }
3567
- },
3568
- /* @__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
+ }
3569
3545
  ),
3570
- renderOption ? renderOption(item) : getProperty(item, labelKey)
3571
- ))))
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
+ )
3572
3588
  ))
3573
3589
  );
3574
3590
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sikka/hawa",
3
- "version": "0.30.20-next",
3
+ "version": "0.30.22-next",
4
4
  "description": "Modern UI Kit made with Tailwind",
5
5
  "author": {
6
6
  "name": "Sikka Software",
@@ -61,15 +61,15 @@
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.13.2",
65
- "@tanstack/table-core": "^8.13.2",
64
+ "@tanstack/react-table": "^8.14.0",
65
+ "@tanstack/table-core": "^8.14.0",
66
66
  "class-variance-authority": "^0.7.0",
67
67
  "clsx": "^2.1.0",
68
68
  "cmdk": "^1.0.0",
69
69
  "embla-carousel-auto-height": "^8.0.0",
70
70
  "embla-carousel-react": "^8.0.0",
71
71
  "eslint": "^8.57.0",
72
- "eslint-config-next": "^14.1.3",
72
+ "eslint-config-next": "^14.1.4",
73
73
  "libphonenumber-js": "^1.10.58",
74
74
  "prism-react-renderer": "^2.3.1",
75
75
  "prismjs": "^1.29.0",
@@ -86,23 +86,23 @@
86
86
  "zod": "^3.22.4"
87
87
  },
88
88
  "devDependencies": {
89
- "@babel/preset-react": "^7.23.3",
89
+ "@babel/preset-react": "^7.24.1",
90
90
  "@sikka/alam": "^0.0.4",
91
91
  "@testing-library/jest-dom": "^6.4.2",
92
- "@testing-library/react": "^14.2.1",
92
+ "@testing-library/react": "^14.2.2",
93
93
  "@types/jest": "^29.5.12",
94
94
  "@types/react": "^18.2.67",
95
95
  "@types/react-dom": "^18.2.22",
96
- "autoprefixer": "^10.4.18",
96
+ "autoprefixer": "^10.4.19",
97
97
  "boxen": "^7.1.1",
98
98
  "chalk": "^5.3.0",
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.359.0",
103
- "postcss": "^8.4.36",
102
+ "lucide-react": "^0.360.0",
103
+ "postcss": "^8.4.38",
104
104
  "postcss-cli": "^11.0.0",
105
- "postcss-import": "^16.0.1",
105
+ "postcss-import": "^16.1.0",
106
106
  "tailwindcss": "^3.4.1",
107
107
  "tailwindcss-animate": "^1.0.7",
108
108
  "tsconfig-paths-webpack-plugin": "^4.1.0",