@sikka/hawa 0.20.4-next → 0.20.6-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 +11 -2
- package/dist/index.d.mts +18 -13
- package/dist/index.d.ts +18 -13
- package/dist/index.js +14 -6
- package/dist/index.mjs +13 -5
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -2350,6 +2350,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2350
2350
|
.hawa-bg-muted\/20 {
|
|
2351
2351
|
background-color: hsl(var(--muted) / 0.2);
|
|
2352
2352
|
}
|
|
2353
|
+
.hawa-bg-muted\/30 {
|
|
2354
|
+
background-color: hsl(var(--muted) / 0.3);
|
|
2355
|
+
}
|
|
2353
2356
|
.hawa-bg-muted\/50 {
|
|
2354
2357
|
background-color: hsl(var(--muted) / 0.5);
|
|
2355
2358
|
}
|
|
@@ -2748,6 +2751,12 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2748
2751
|
.hawa-align-middle {
|
|
2749
2752
|
vertical-align: middle;
|
|
2750
2753
|
}
|
|
2754
|
+
.hawa-font-mono {
|
|
2755
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
|
2756
|
+
}
|
|
2757
|
+
.hawa-font-sans {
|
|
2758
|
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
2759
|
+
}
|
|
2751
2760
|
.hawa-text-2xl {
|
|
2752
2761
|
font-size: 1.5rem;
|
|
2753
2762
|
line-height: 2rem;
|
|
@@ -3214,9 +3223,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
3214
3223
|
--tw-shadow: 0.25rem 0.25rem hsl(var(--primary));
|
|
3215
3224
|
box-shadow: var(--tw-shadow);
|
|
3216
3225
|
}
|
|
3217
|
-
body {
|
|
3226
|
+
/* body {
|
|
3218
3227
|
font-family: "IBM Plex Sans Arabic", sans-serif;
|
|
3219
|
-
}
|
|
3228
|
+
} */
|
|
3220
3229
|
.selection\:hawa-p-0 *::-moz-selection {
|
|
3221
3230
|
padding: 0px;
|
|
3222
3231
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -901,18 +901,19 @@ interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement>
|
|
|
901
901
|
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
902
902
|
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
903
903
|
|
|
904
|
+
type AccordionItemProps = {
|
|
905
|
+
trigger: string;
|
|
906
|
+
content: string;
|
|
907
|
+
disabled?: boolean;
|
|
908
|
+
};
|
|
904
909
|
type AccordionProps = {
|
|
905
|
-
items:
|
|
910
|
+
items: AccordionItemProps[];
|
|
906
911
|
itemClassNames?: string;
|
|
907
912
|
triggerclassNames?: string;
|
|
908
913
|
contentclassNames?: string;
|
|
909
914
|
design?: "default" | "separated";
|
|
910
915
|
} & React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
|
|
911
916
|
declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
912
|
-
type AccordionItem = {
|
|
913
|
-
trigger: string;
|
|
914
|
-
content: string;
|
|
915
|
-
};
|
|
916
917
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
917
918
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
918
919
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1097,17 +1098,19 @@ interface ProgressCircleProps extends React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1097
1098
|
declare const ProgressCircle: React__default.ForwardRefExoticComponent<ProgressCircleProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1098
1099
|
|
|
1099
1100
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1100
|
-
type
|
|
1101
|
+
type StandardNavigationMenuItemProps = {
|
|
1101
1102
|
icon?: React$1.ReactNode;
|
|
1102
1103
|
title: string;
|
|
1103
1104
|
subtitle?: string;
|
|
1104
1105
|
};
|
|
1106
|
+
type NavigationMenuItemProps = {
|
|
1107
|
+
trigger: any;
|
|
1108
|
+
content?: any;
|
|
1109
|
+
action?: any;
|
|
1110
|
+
path?: string;
|
|
1111
|
+
};
|
|
1105
1112
|
type NavigationMenuTypes = {
|
|
1106
|
-
items:
|
|
1107
|
-
trigger: any;
|
|
1108
|
-
content?: any;
|
|
1109
|
-
action?: any;
|
|
1110
|
-
}[];
|
|
1113
|
+
items: NavigationMenuItemProps[];
|
|
1111
1114
|
rootClassNames?: string;
|
|
1112
1115
|
viewportClassNames?: string;
|
|
1113
1116
|
triggerClassNames?: string;
|
|
@@ -1119,7 +1122,7 @@ declare const NavigationMenuRoot: React$1.ForwardRefExoticComponent<Omit<Navigat
|
|
|
1119
1122
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1120
1123
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1121
1124
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
-
declare const
|
|
1125
|
+
declare const StandardNavigationMenuItem: React$1.FC<StandardNavigationMenuItemProps & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1123
1126
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1124
1127
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
1128
|
declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
@@ -1712,6 +1715,8 @@ type ContactFormData = {
|
|
|
1712
1715
|
};
|
|
1713
1716
|
type ContactFormProps = {
|
|
1714
1717
|
cardless?: boolean;
|
|
1718
|
+
formId?: string;
|
|
1719
|
+
formAutoComplete?: "on" | "off";
|
|
1715
1720
|
size?: "sm" | "default";
|
|
1716
1721
|
onSubmit?: (e: ContactFormData) => void;
|
|
1717
1722
|
texts?: {
|
|
@@ -1892,4 +1897,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1892
1897
|
handleTabChange: (index: any) => void;
|
|
1893
1898
|
};
|
|
1894
1899
|
|
|
1895
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, 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,
|
|
1900
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, 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, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, 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, SplitButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, 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
|
@@ -901,18 +901,19 @@ interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement>
|
|
|
901
901
|
declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
|
|
902
902
|
declare const TableCaption: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableCaptionElement> & React$1.RefAttributes<HTMLTableCaptionElement>>;
|
|
903
903
|
|
|
904
|
+
type AccordionItemProps = {
|
|
905
|
+
trigger: string;
|
|
906
|
+
content: string;
|
|
907
|
+
disabled?: boolean;
|
|
908
|
+
};
|
|
904
909
|
type AccordionProps = {
|
|
905
|
-
items:
|
|
910
|
+
items: AccordionItemProps[];
|
|
906
911
|
itemClassNames?: string;
|
|
907
912
|
triggerclassNames?: string;
|
|
908
913
|
contentclassNames?: string;
|
|
909
914
|
design?: "default" | "separated";
|
|
910
915
|
} & React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root>;
|
|
911
916
|
declare const Accordion: React$1.ForwardRefExoticComponent<AccordionProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
912
|
-
type AccordionItem = {
|
|
913
|
-
trigger: string;
|
|
914
|
-
content: string;
|
|
915
|
-
};
|
|
916
917
|
declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
917
918
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
918
919
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1097,17 +1098,19 @@ interface ProgressCircleProps extends React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1097
1098
|
declare const ProgressCircle: React__default.ForwardRefExoticComponent<ProgressCircleProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1098
1099
|
|
|
1099
1100
|
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1100
|
-
type
|
|
1101
|
+
type StandardNavigationMenuItemProps = {
|
|
1101
1102
|
icon?: React$1.ReactNode;
|
|
1102
1103
|
title: string;
|
|
1103
1104
|
subtitle?: string;
|
|
1104
1105
|
};
|
|
1106
|
+
type NavigationMenuItemProps = {
|
|
1107
|
+
trigger: any;
|
|
1108
|
+
content?: any;
|
|
1109
|
+
action?: any;
|
|
1110
|
+
path?: string;
|
|
1111
|
+
};
|
|
1105
1112
|
type NavigationMenuTypes = {
|
|
1106
|
-
items:
|
|
1107
|
-
trigger: any;
|
|
1108
|
-
content?: any;
|
|
1109
|
-
action?: any;
|
|
1110
|
-
}[];
|
|
1113
|
+
items: NavigationMenuItemProps[];
|
|
1111
1114
|
rootClassNames?: string;
|
|
1112
1115
|
viewportClassNames?: string;
|
|
1113
1116
|
triggerClassNames?: string;
|
|
@@ -1119,7 +1122,7 @@ declare const NavigationMenuRoot: React$1.ForwardRefExoticComponent<Omit<Navigat
|
|
|
1119
1122
|
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1120
1123
|
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1121
1124
|
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
-
declare const
|
|
1125
|
+
declare const StandardNavigationMenuItem: React$1.FC<StandardNavigationMenuItemProps & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1123
1126
|
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1124
1127
|
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
1128
|
declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
@@ -1712,6 +1715,8 @@ type ContactFormData = {
|
|
|
1712
1715
|
};
|
|
1713
1716
|
type ContactFormProps = {
|
|
1714
1717
|
cardless?: boolean;
|
|
1718
|
+
formId?: string;
|
|
1719
|
+
formAutoComplete?: "on" | "off";
|
|
1715
1720
|
size?: "sm" | "default";
|
|
1716
1721
|
onSubmit?: (e: ContactFormData) => void;
|
|
1717
1722
|
texts?: {
|
|
@@ -1892,4 +1897,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1892
1897
|
handleTabChange: (index: any) => void;
|
|
1893
1898
|
};
|
|
1894
1899
|
|
|
1895
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, 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,
|
|
1900
|
+
export { Accordion, AccordionContent, AccordionItem, type AccordionItemProps, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, type AppSidebarItemProps, AppStores, AppTabs, AppTopbar, 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, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, type PricingCardProps, 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, SplitButton, StandardNavigationMenuItem, Stats, StopPropagationWrapper, type SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, type TextareaProps, Toast$1 as Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, 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
|
@@ -144,7 +144,6 @@ __export(components_exports, {
|
|
|
144
144
|
MenubarSubContent: () => MenubarSubContent,
|
|
145
145
|
MenubarSubTrigger: () => MenubarSubTrigger,
|
|
146
146
|
MenubarTrigger: () => MenubarTrigger,
|
|
147
|
-
NavMenuItem: () => NavMenuItem,
|
|
148
147
|
Navbar: () => Navbar,
|
|
149
148
|
NavigationMenu: () => NavigationMenu,
|
|
150
149
|
NavigationMenuContent: () => NavigationMenuContent,
|
|
@@ -195,6 +194,7 @@ __export(components_exports, {
|
|
|
195
194
|
Slider: () => Slider,
|
|
196
195
|
SortButton: () => SortButton,
|
|
197
196
|
SplitButton: () => SplitButton,
|
|
197
|
+
StandardNavigationMenuItem: () => StandardNavigationMenuItem,
|
|
198
198
|
Stats: () => Stats,
|
|
199
199
|
StopPropagationWrapper: () => StopPropagationWrapper,
|
|
200
200
|
Switch: () => Switch,
|
|
@@ -6560,6 +6560,7 @@ var Accordion = React47.forwardRef(
|
|
|
6560
6560
|
items.map((item, index) => /* @__PURE__ */ React47.createElement(
|
|
6561
6561
|
AccordionItem,
|
|
6562
6562
|
{
|
|
6563
|
+
disabled: item.disabled || false,
|
|
6563
6564
|
className: cn(itemClassNames, "hawa-rounded"),
|
|
6564
6565
|
key: index,
|
|
6565
6566
|
value: `item-${index}`
|
|
@@ -6567,6 +6568,7 @@ var Accordion = React47.forwardRef(
|
|
|
6567
6568
|
/* @__PURE__ */ React47.createElement(
|
|
6568
6569
|
AccordionTrigger,
|
|
6569
6570
|
{
|
|
6571
|
+
disabled: item.disabled || false,
|
|
6570
6572
|
className: cn(
|
|
6571
6573
|
"hawa-transition-all",
|
|
6572
6574
|
design === "separated" ? "hawa-rounded data-[state=open]:hawa-rounded-b-none" : {
|
|
@@ -6581,6 +6583,7 @@ var Accordion = React47.forwardRef(
|
|
|
6581
6583
|
/* @__PURE__ */ React47.createElement(
|
|
6582
6584
|
AccordionContent,
|
|
6583
6585
|
{
|
|
6586
|
+
"aria-disabled": item.disabled || false,
|
|
6584
6587
|
className: cn(
|
|
6585
6588
|
"hawa-transition-all hawa-border",
|
|
6586
6589
|
design === "separated" ? "hawa-rounded data-[state=open]:hawa-rounded-t-none" : {
|
|
@@ -6600,7 +6603,8 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
|
|
|
6600
6603
|
{
|
|
6601
6604
|
ref,
|
|
6602
6605
|
className: cn(
|
|
6603
|
-
"hawa-flex hawa-bg-muted/50 hawa-flex-1
|
|
6606
|
+
"hawa-flex hawa-bg-muted/50 hawa-flex-1 hawa-items-center hawa-justify-between hawa-p-4 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa-rotate-180",
|
|
6607
|
+
props.disabled ? "hawa-bg-muted/30 hawa-text-muted-foreground/50" : "hover:hawa-bg-muted",
|
|
6604
6608
|
className
|
|
6605
6609
|
),
|
|
6606
6610
|
...props
|
|
@@ -7566,7 +7570,6 @@ var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props
|
|
|
7566
7570
|
...props
|
|
7567
7571
|
},
|
|
7568
7572
|
children,
|
|
7569
|
-
" ",
|
|
7570
7573
|
/* @__PURE__ */ React59.createElement(
|
|
7571
7574
|
"svg",
|
|
7572
7575
|
{
|
|
@@ -7600,7 +7603,7 @@ var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) =>
|
|
|
7600
7603
|
...props
|
|
7601
7604
|
}
|
|
7602
7605
|
));
|
|
7603
|
-
var
|
|
7606
|
+
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React59.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React59.createElement("div", { className: "hawa-max-w-md hawa-rounded-inner hawa-cursor-pointer hawa-p-4 hawa-py-2 hawa-flex hawa-flex-row hawa-gap-4 hawa-items-center hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React59.createElement("h1", { className: "hawa-font-bold hawa-text-xl" }, title), /* @__PURE__ */ React59.createElement("p", { className: "hawa-text-sm" }, subtitle))));
|
|
7604
7607
|
var NavigationMenuViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7605
7608
|
"div",
|
|
7606
7609
|
{
|
|
@@ -7654,6 +7657,7 @@ var NavigationMenu = ({
|
|
|
7654
7657
|
/* @__PURE__ */ React59.createElement(NavigationMenuList, null, props.items.map((item, i) => /* @__PURE__ */ React59.createElement(NavigationMenuItem, { key: i }, item.content ? /* @__PURE__ */ React59.createElement(React59.Fragment, null, /* @__PURE__ */ React59.createElement(NavigationMenuTrigger, { className: cn(triggerClassNames) }, item.trigger), /* @__PURE__ */ React59.createElement(NavigationMenuContent, null, item.content)) : /* @__PURE__ */ React59.createElement(
|
|
7655
7658
|
NavigationMenuLink,
|
|
7656
7659
|
{
|
|
7660
|
+
href: item.path,
|
|
7657
7661
|
onClick: () => {
|
|
7658
7662
|
if (item.action) {
|
|
7659
7663
|
item.action();
|
|
@@ -11097,6 +11101,8 @@ var ContactForm = ({
|
|
|
11097
11101
|
cardless,
|
|
11098
11102
|
size = "default",
|
|
11099
11103
|
texts,
|
|
11104
|
+
formId,
|
|
11105
|
+
formAutoComplete,
|
|
11100
11106
|
onSubmit
|
|
11101
11107
|
}) => {
|
|
11102
11108
|
var _a, _b, _c;
|
|
@@ -11136,7 +11142,9 @@ var ContactForm = ({
|
|
|
11136
11142
|
console.log("Form is submitted but onSubmit prop is missing");
|
|
11137
11143
|
}
|
|
11138
11144
|
}),
|
|
11139
|
-
className: "hawa-space-y-2"
|
|
11145
|
+
className: "hawa-space-y-2",
|
|
11146
|
+
id: formId,
|
|
11147
|
+
autoComplete: formAutoComplete
|
|
11140
11148
|
},
|
|
11141
11149
|
/* @__PURE__ */ import_react69.default.createElement(
|
|
11142
11150
|
"div",
|
|
@@ -11913,7 +11921,6 @@ function useTabs(initialTab = "") {
|
|
|
11913
11921
|
MenubarSubContent,
|
|
11914
11922
|
MenubarSubTrigger,
|
|
11915
11923
|
MenubarTrigger,
|
|
11916
|
-
NavMenuItem,
|
|
11917
11924
|
Navbar,
|
|
11918
11925
|
NavigationMenu,
|
|
11919
11926
|
NavigationMenuContent,
|
|
@@ -11964,6 +11971,7 @@ function useTabs(initialTab = "") {
|
|
|
11964
11971
|
Slider,
|
|
11965
11972
|
SortButton,
|
|
11966
11973
|
SplitButton,
|
|
11974
|
+
StandardNavigationMenuItem,
|
|
11967
11975
|
Stats,
|
|
11968
11976
|
StopPropagationWrapper,
|
|
11969
11977
|
Switch,
|
package/dist/index.mjs
CHANGED
|
@@ -6333,6 +6333,7 @@ var Accordion = React47.forwardRef(
|
|
|
6333
6333
|
items.map((item, index) => /* @__PURE__ */ React47.createElement(
|
|
6334
6334
|
AccordionItem,
|
|
6335
6335
|
{
|
|
6336
|
+
disabled: item.disabled || false,
|
|
6336
6337
|
className: cn(itemClassNames, "hawa-rounded"),
|
|
6337
6338
|
key: index,
|
|
6338
6339
|
value: `item-${index}`
|
|
@@ -6340,6 +6341,7 @@ var Accordion = React47.forwardRef(
|
|
|
6340
6341
|
/* @__PURE__ */ React47.createElement(
|
|
6341
6342
|
AccordionTrigger,
|
|
6342
6343
|
{
|
|
6344
|
+
disabled: item.disabled || false,
|
|
6343
6345
|
className: cn(
|
|
6344
6346
|
"hawa-transition-all",
|
|
6345
6347
|
design === "separated" ? "hawa-rounded data-[state=open]:hawa-rounded-b-none" : {
|
|
@@ -6354,6 +6356,7 @@ var Accordion = React47.forwardRef(
|
|
|
6354
6356
|
/* @__PURE__ */ React47.createElement(
|
|
6355
6357
|
AccordionContent,
|
|
6356
6358
|
{
|
|
6359
|
+
"aria-disabled": item.disabled || false,
|
|
6357
6360
|
className: cn(
|
|
6358
6361
|
"hawa-transition-all hawa-border",
|
|
6359
6362
|
design === "separated" ? "hawa-rounded data-[state=open]:hawa-rounded-t-none" : {
|
|
@@ -6373,7 +6376,8 @@ var AccordionTrigger = React47.forwardRef(({ className, children, ...props }, re
|
|
|
6373
6376
|
{
|
|
6374
6377
|
ref,
|
|
6375
6378
|
className: cn(
|
|
6376
|
-
"hawa-flex hawa-bg-muted/50 hawa-flex-1
|
|
6379
|
+
"hawa-flex hawa-bg-muted/50 hawa-flex-1 hawa-items-center hawa-justify-between hawa-p-4 hawa-font-medium hawa-transition-all [&[data-state=open]>svg]:hawa-rotate-180",
|
|
6380
|
+
props.disabled ? "hawa-bg-muted/30 hawa-text-muted-foreground/50" : "hover:hawa-bg-muted",
|
|
6377
6381
|
className
|
|
6378
6382
|
),
|
|
6379
6383
|
...props
|
|
@@ -7339,7 +7343,6 @@ var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props
|
|
|
7339
7343
|
...props
|
|
7340
7344
|
},
|
|
7341
7345
|
children,
|
|
7342
|
-
" ",
|
|
7343
7346
|
/* @__PURE__ */ React59.createElement(
|
|
7344
7347
|
"svg",
|
|
7345
7348
|
{
|
|
@@ -7373,7 +7376,7 @@ var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) =>
|
|
|
7373
7376
|
...props
|
|
7374
7377
|
}
|
|
7375
7378
|
));
|
|
7376
|
-
var
|
|
7379
|
+
var StandardNavigationMenuItem = ({ icon, title, subtitle, ...linkProps }) => /* @__PURE__ */ React59.createElement(NavigationMenuLink, { ...linkProps }, /* @__PURE__ */ React59.createElement("div", { className: "hawa-max-w-md hawa-rounded-inner hawa-cursor-pointer hawa-p-4 hawa-py-2 hawa-flex hawa-flex-row hawa-gap-4 hawa-items-center hawa-transition-all hover:hawa-bg-muted" }, icon && icon, /* @__PURE__ */ React59.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React59.createElement("h1", { className: "hawa-font-bold hawa-text-xl" }, title), /* @__PURE__ */ React59.createElement("p", { className: "hawa-text-sm" }, subtitle))));
|
|
7377
7380
|
var NavigationMenuViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7378
7381
|
"div",
|
|
7379
7382
|
{
|
|
@@ -7427,6 +7430,7 @@ var NavigationMenu = ({
|
|
|
7427
7430
|
/* @__PURE__ */ React59.createElement(NavigationMenuList, null, props.items.map((item, i) => /* @__PURE__ */ React59.createElement(NavigationMenuItem, { key: i }, item.content ? /* @__PURE__ */ React59.createElement(React59.Fragment, null, /* @__PURE__ */ React59.createElement(NavigationMenuTrigger, { className: cn(triggerClassNames) }, item.trigger), /* @__PURE__ */ React59.createElement(NavigationMenuContent, null, item.content)) : /* @__PURE__ */ React59.createElement(
|
|
7428
7431
|
NavigationMenuLink,
|
|
7429
7432
|
{
|
|
7433
|
+
href: item.path,
|
|
7430
7434
|
onClick: () => {
|
|
7431
7435
|
if (item.action) {
|
|
7432
7436
|
item.action();
|
|
@@ -10872,6 +10876,8 @@ var ContactForm = ({
|
|
|
10872
10876
|
cardless,
|
|
10873
10877
|
size = "default",
|
|
10874
10878
|
texts,
|
|
10879
|
+
formId,
|
|
10880
|
+
formAutoComplete,
|
|
10875
10881
|
onSubmit
|
|
10876
10882
|
}) => {
|
|
10877
10883
|
var _a, _b, _c;
|
|
@@ -10911,7 +10917,9 @@ var ContactForm = ({
|
|
|
10911
10917
|
console.log("Form is submitted but onSubmit prop is missing");
|
|
10912
10918
|
}
|
|
10913
10919
|
}),
|
|
10914
|
-
className: "hawa-space-y-2"
|
|
10920
|
+
className: "hawa-space-y-2",
|
|
10921
|
+
id: formId,
|
|
10922
|
+
autoComplete: formAutoComplete
|
|
10915
10923
|
},
|
|
10916
10924
|
/* @__PURE__ */ React95.createElement(
|
|
10917
10925
|
"div",
|
|
@@ -11687,7 +11695,6 @@ export {
|
|
|
11687
11695
|
MenubarSubContent,
|
|
11688
11696
|
MenubarSubTrigger,
|
|
11689
11697
|
MenubarTrigger,
|
|
11690
|
-
NavMenuItem,
|
|
11691
11698
|
Navbar,
|
|
11692
11699
|
NavigationMenu,
|
|
11693
11700
|
NavigationMenuContent,
|
|
@@ -11738,6 +11745,7 @@ export {
|
|
|
11738
11745
|
Slider,
|
|
11739
11746
|
SortButton,
|
|
11740
11747
|
SplitButton,
|
|
11748
|
+
StandardNavigationMenuItem,
|
|
11741
11749
|
Stats,
|
|
11742
11750
|
StopPropagationWrapper,
|
|
11743
11751
|
Switch,
|