@sikka/hawa 0.19.39-next → 0.19.41-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 +5 -7
- package/dist/index.d.mts +15 -4
- package/dist/index.d.ts +15 -4
- package/dist/index.js +38 -14
- package/dist/index.mjs +30 -14
- package/package.json +2 -2
package/dist/index.css
CHANGED
|
@@ -1631,6 +1631,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1631
1631
|
width: -moz-max-content;
|
|
1632
1632
|
width: max-content;
|
|
1633
1633
|
}
|
|
1634
|
+
.hawa-w-px {
|
|
1635
|
+
width: 1px;
|
|
1636
|
+
}
|
|
1634
1637
|
.hawa-w-screen {
|
|
1635
1638
|
width: 100vw;
|
|
1636
1639
|
}
|
|
@@ -3605,16 +3608,11 @@ body {
|
|
|
3605
3608
|
.hawa-group.destructive .group-\[\.destructive\]\:focus\:hawa-ring-offset-red-600:focus {
|
|
3606
3609
|
--tw-ring-offset-color: #dc2626;
|
|
3607
3610
|
}
|
|
3608
|
-
.hawa-peer:checked ~ .peer-checked\:hawa-border-blue-600 {
|
|
3609
|
-
--tw-border-opacity: 1;
|
|
3610
|
-
border-color: rgb(37 99 235 / var(--tw-border-opacity));
|
|
3611
|
-
}
|
|
3612
3611
|
.hawa-peer:checked ~ .peer-checked\:hawa-border-primary {
|
|
3613
3612
|
border-color: hsl(var(--primary));
|
|
3614
3613
|
}
|
|
3615
|
-
.hawa-peer:checked ~ .peer-checked\:hawa-text-
|
|
3616
|
-
|
|
3617
|
-
color: rgb(37 99 235 / var(--tw-text-opacity));
|
|
3614
|
+
.hawa-peer:checked ~ .peer-checked\:hawa-text-primary {
|
|
3615
|
+
color: hsl(var(--primary));
|
|
3618
3616
|
}
|
|
3619
3617
|
.hawa-peer:checked ~ .peer-checked\:hawa-ring-4 {
|
|
3620
3618
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
package/dist/index.d.mts
CHANGED
|
@@ -354,8 +354,9 @@ type RadioOptionsTypes = {
|
|
|
354
354
|
type RadioTypes = {
|
|
355
355
|
orientation?: OrientationType;
|
|
356
356
|
design?: "default" | "tabs" | "cards" | "bordered";
|
|
357
|
-
options: RadioOptionsTypes[];
|
|
358
357
|
width?: "default" | "full" | "none";
|
|
358
|
+
size?: "default" | "lg" | "sm" | "xs";
|
|
359
|
+
options: RadioOptionsTypes[];
|
|
359
360
|
onChangeTab?: any;
|
|
360
361
|
defaultValue?: any;
|
|
361
362
|
direction?: DirectionType;
|
|
@@ -1094,13 +1095,12 @@ interface ProgressCircleProps extends React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1094
1095
|
}
|
|
1095
1096
|
declare const ProgressCircle: React__default.ForwardRefExoticComponent<ProgressCircleProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1096
1097
|
|
|
1097
|
-
declare const
|
|
1098
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1098
1099
|
type NavMenuItemTypes = {
|
|
1099
1100
|
icon?: React$1.ReactNode;
|
|
1100
1101
|
title: string;
|
|
1101
1102
|
subtitle?: string;
|
|
1102
1103
|
};
|
|
1103
|
-
declare const NavMenuItem: React$1.FC<NavMenuItemTypes & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1104
1104
|
type NavigationMenuTypes = {
|
|
1105
1105
|
items: {
|
|
1106
1106
|
trigger: any;
|
|
@@ -1111,7 +1111,18 @@ type NavigationMenuTypes = {
|
|
|
1111
1111
|
viewportClassNames?: string;
|
|
1112
1112
|
direction?: DirectionType;
|
|
1113
1113
|
};
|
|
1114
|
+
declare const NavigationMenuRoot: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
1115
|
+
viewportClassNames?: string | undefined;
|
|
1116
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
1117
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1118
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1119
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1120
|
+
declare const NavMenuItem: React$1.FC<NavMenuItemTypes & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1121
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1114
1123
|
declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
1124
|
+
declare const NavigationMenuItem$1: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1125
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1115
1126
|
|
|
1116
1127
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
|
1117
1128
|
|
|
@@ -1861,4 +1872,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1861
1872
|
handleTabChange: (index: any) => void;
|
|
1862
1873
|
};
|
|
1863
1874
|
|
|
1864
|
-
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, 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, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, 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, 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, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
|
1875
|
+
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, 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, NavMenuItem, 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, 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
|
@@ -354,8 +354,9 @@ type RadioOptionsTypes = {
|
|
|
354
354
|
type RadioTypes = {
|
|
355
355
|
orientation?: OrientationType;
|
|
356
356
|
design?: "default" | "tabs" | "cards" | "bordered";
|
|
357
|
-
options: RadioOptionsTypes[];
|
|
358
357
|
width?: "default" | "full" | "none";
|
|
358
|
+
size?: "default" | "lg" | "sm" | "xs";
|
|
359
|
+
options: RadioOptionsTypes[];
|
|
359
360
|
onChangeTab?: any;
|
|
360
361
|
defaultValue?: any;
|
|
361
362
|
direction?: DirectionType;
|
|
@@ -1094,13 +1095,12 @@ interface ProgressCircleProps extends React__default.HTMLAttributes<HTMLDivEleme
|
|
|
1094
1095
|
}
|
|
1095
1096
|
declare const ProgressCircle: React__default.ForwardRefExoticComponent<ProgressCircleProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
1096
1097
|
|
|
1097
|
-
declare const
|
|
1098
|
+
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
1098
1099
|
type NavMenuItemTypes = {
|
|
1099
1100
|
icon?: React$1.ReactNode;
|
|
1100
1101
|
title: string;
|
|
1101
1102
|
subtitle?: string;
|
|
1102
1103
|
};
|
|
1103
|
-
declare const NavMenuItem: React$1.FC<NavMenuItemTypes & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1104
1104
|
type NavigationMenuTypes = {
|
|
1105
1105
|
items: {
|
|
1106
1106
|
trigger: any;
|
|
@@ -1111,7 +1111,18 @@ type NavigationMenuTypes = {
|
|
|
1111
1111
|
viewportClassNames?: string;
|
|
1112
1112
|
direction?: DirectionType;
|
|
1113
1113
|
};
|
|
1114
|
+
declare const NavigationMenuRoot: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuProps & React$1.RefAttributes<HTMLElement>, "ref"> & {
|
|
1115
|
+
viewportClassNames?: string | undefined;
|
|
1116
|
+
} & React$1.RefAttributes<HTMLElement>>;
|
|
1117
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuListProps & React$1.RefAttributes<HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
1118
|
+
declare const NavigationMenuTrigger: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1119
|
+
declare const NavigationMenuContent: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1120
|
+
declare const NavMenuItem: React$1.FC<NavMenuItemTypes & React$1.ComponentProps<typeof NavigationMenuPrimitive.Link>>;
|
|
1121
|
+
declare const NavigationMenuViewport: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuViewportProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1122
|
+
declare const NavigationMenuIndicator: React$1.ForwardRefExoticComponent<Omit<NavigationMenuPrimitive.NavigationMenuIndicatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1114
1123
|
declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
1124
|
+
declare const NavigationMenuItem$1: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuItemProps & React$1.RefAttributes<HTMLLIElement>>;
|
|
1125
|
+
declare const NavigationMenuLink: React$1.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
1115
1126
|
|
|
1116
1127
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
|
1117
1128
|
|
|
@@ -1861,4 +1872,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1861
1872
|
handleTabChange: (index: any) => void;
|
|
1862
1873
|
};
|
|
1863
1874
|
|
|
1864
|
-
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, 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, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, 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, 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, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
|
1875
|
+
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, 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, NavMenuItem, 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, 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
|
@@ -146,7 +146,14 @@ __export(components_exports, {
|
|
|
146
146
|
NavMenuItem: () => NavMenuItem,
|
|
147
147
|
Navbar: () => Navbar,
|
|
148
148
|
NavigationMenu: () => NavigationMenu,
|
|
149
|
+
NavigationMenuContent: () => NavigationMenuContent,
|
|
150
|
+
NavigationMenuIndicator: () => NavigationMenuIndicator,
|
|
151
|
+
NavigationMenuItem: () => NavigationMenuItem,
|
|
149
152
|
NavigationMenuLink: () => NavigationMenuLink,
|
|
153
|
+
NavigationMenuList: () => NavigationMenuList,
|
|
154
|
+
NavigationMenuRoot: () => NavigationMenuRoot,
|
|
155
|
+
NavigationMenuTrigger: () => NavigationMenuTrigger,
|
|
156
|
+
NavigationMenuViewport: () => NavigationMenuViewport,
|
|
150
157
|
NewPasswordForm: () => NewPasswordForm,
|
|
151
158
|
NoPermission: () => NoPermission,
|
|
152
159
|
NotFound: () => NotFound,
|
|
@@ -216,6 +223,7 @@ __export(components_exports, {
|
|
|
216
223
|
Usage: () => Usage,
|
|
217
224
|
UserReferralSource: () => UserReferralSource,
|
|
218
225
|
buttonVariants: () => buttonVariants,
|
|
226
|
+
navigationMenuTriggerStyle: () => navigationMenuTriggerStyle,
|
|
219
227
|
reducer: () => reducer,
|
|
220
228
|
toast: () => toast,
|
|
221
229
|
useBreakpoint: () => useBreakpoint,
|
|
@@ -3608,6 +3616,7 @@ var import_react14 = __toESM(require("react"));
|
|
|
3608
3616
|
var Radio = ({
|
|
3609
3617
|
design = "default",
|
|
3610
3618
|
width = "default",
|
|
3619
|
+
size = "default",
|
|
3611
3620
|
orientation = "horizontal",
|
|
3612
3621
|
labelProps,
|
|
3613
3622
|
tabsContainerClassName,
|
|
@@ -3615,12 +3624,18 @@ var Radio = ({
|
|
|
3615
3624
|
}) => {
|
|
3616
3625
|
var _a, _b, _c;
|
|
3617
3626
|
const [selectedOption, setSelectedOption] = (0, import_react14.useState)(props.defaultValue);
|
|
3618
|
-
let activeTabStyle = "hawa-inline-block hawa-
|
|
3619
|
-
let inactiveTabStyle = "hawa-inline-block hawa-
|
|
3627
|
+
let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
|
|
3628
|
+
let inactiveTabStyle = "hawa-inline-block hawa-w-full hawa-transition-all hover:hawa-bg-muted hawa-bg-primary-foreground dark:hover:hawa-text-white";
|
|
3620
3629
|
let orientationStyle = {
|
|
3621
3630
|
horizontal: "hawa-flex hawa-flex-row",
|
|
3622
3631
|
vertical: "hawa-flex hawa-flex-col"
|
|
3623
3632
|
};
|
|
3633
|
+
let tabSizeStyle = {
|
|
3634
|
+
default: "hawa-py-2 hawa-px-4 hawa-text-sm",
|
|
3635
|
+
lg: "hawa-py-2 hawa-px-4",
|
|
3636
|
+
sm: "hawa-p-1.5 hawa-text-xs",
|
|
3637
|
+
xs: "hawa-p-1 hawa-text-[10px]"
|
|
3638
|
+
};
|
|
3624
3639
|
let widthStyle = {
|
|
3625
3640
|
none: "",
|
|
3626
3641
|
default: "hawa-max-w-fit",
|
|
@@ -3646,7 +3661,7 @@ var Radio = ({
|
|
|
3646
3661
|
ref: parentRef,
|
|
3647
3662
|
className: cn(
|
|
3648
3663
|
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
|
3649
|
-
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-
|
|
3664
|
+
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
|
|
3650
3665
|
orientationStyle[orientation],
|
|
3651
3666
|
widthStyle[width],
|
|
3652
3667
|
tabsContainerClassName
|
|
@@ -3669,6 +3684,7 @@ var Radio = ({
|
|
|
3669
3684
|
orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
|
|
3670
3685
|
orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
|
|
3671
3686
|
orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
|
|
3687
|
+
tabSizeStyle[size],
|
|
3672
3688
|
"hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
|
|
3673
3689
|
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
|
3674
3690
|
),
|
|
@@ -3734,7 +3750,7 @@ var Radio = ({
|
|
|
3734
3750
|
{
|
|
3735
3751
|
htmlFor: opt.value.toString(),
|
|
3736
3752
|
className: cn(
|
|
3737
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-
|
|
3753
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
|
3738
3754
|
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
|
|
3739
3755
|
)
|
|
3740
3756
|
},
|
|
@@ -7489,6 +7505,9 @@ ProgressCircle.displayName = "ProgressCircle";
|
|
|
7489
7505
|
var React59 = __toESM(require("react"));
|
|
7490
7506
|
var NavigationMenuPrimitive = __toESM(require("@radix-ui/react-navigation-menu"));
|
|
7491
7507
|
var import_class_variance_authority4 = require("class-variance-authority");
|
|
7508
|
+
var navigationMenuTriggerStyle = (0, import_class_variance_authority4.cva)(
|
|
7509
|
+
"hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 "
|
|
7510
|
+
);
|
|
7492
7511
|
var NavigationMenuRoot = React59.forwardRef(({ className, children, viewportClassNames, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7493
7512
|
NavigationMenuPrimitive.Root,
|
|
7494
7513
|
{
|
|
@@ -7503,7 +7522,6 @@ var NavigationMenuRoot = React59.forwardRef(({ className, children, viewportClas
|
|
|
7503
7522
|
children,
|
|
7504
7523
|
/* @__PURE__ */ React59.createElement(NavigationMenuViewport, { className: viewportClassNames })
|
|
7505
7524
|
));
|
|
7506
|
-
NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
7507
7525
|
var NavigationMenuList = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7508
7526
|
NavigationMenuPrimitive.List,
|
|
7509
7527
|
{
|
|
@@ -7515,11 +7533,6 @@ var NavigationMenuList = React59.forwardRef(({ className, ...props }, ref) => /*
|
|
|
7515
7533
|
...props
|
|
7516
7534
|
}
|
|
7517
7535
|
));
|
|
7518
|
-
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
7519
|
-
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
7520
|
-
var navigationMenuTriggerStyle = (0, import_class_variance_authority4.cva)(
|
|
7521
|
-
"hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 "
|
|
7522
|
-
);
|
|
7523
7536
|
var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7524
7537
|
NavigationMenuPrimitive.Trigger,
|
|
7525
7538
|
{
|
|
@@ -7548,7 +7561,6 @@ var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props
|
|
|
7548
7561
|
/* @__PURE__ */ React59.createElement("path", { d: "m6 9 6 6 6-6" })
|
|
7549
7562
|
)
|
|
7550
7563
|
));
|
|
7551
|
-
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
7552
7564
|
var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7553
7565
|
NavigationMenuPrimitive.Content,
|
|
7554
7566
|
{
|
|
@@ -7563,8 +7575,6 @@ var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) =>
|
|
|
7563
7575
|
...props
|
|
7564
7576
|
}
|
|
7565
7577
|
));
|
|
7566
|
-
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
7567
|
-
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
7568
7578
|
var NavMenuItem = ({ 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))));
|
|
7569
7579
|
var NavigationMenuViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7570
7580
|
"div",
|
|
@@ -7631,6 +7641,12 @@ var NavigationMenu = ({
|
|
|
7631
7641
|
))))
|
|
7632
7642
|
);
|
|
7633
7643
|
};
|
|
7644
|
+
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
7645
|
+
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
7646
|
+
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
7647
|
+
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
7648
|
+
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
7649
|
+
NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
7634
7650
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
7635
7651
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
7636
7652
|
|
|
@@ -11167,7 +11183,7 @@ var ComparingPlans = (props) => {
|
|
|
11167
11183
|
key: i,
|
|
11168
11184
|
className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-justify-center hawa-items-center"
|
|
11169
11185
|
},
|
|
11170
|
-
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-items-baseline " }, /* @__PURE__ */ import_react70.default.createElement(import_react70.default.Fragment, null, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
11186
|
+
/* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ import_react70.default.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ import_react70.default.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ import_react70.default.createElement(import_react70.default.Fragment, null, /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ import_react70.default.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
11171
11187
|
))
|
|
11172
11188
|
), /* @__PURE__ */ import_react70.default.createElement(
|
|
11173
11189
|
ScrollArea,
|
|
@@ -11739,7 +11755,14 @@ function useTabs(initialTab = "") {
|
|
|
11739
11755
|
NavMenuItem,
|
|
11740
11756
|
Navbar,
|
|
11741
11757
|
NavigationMenu,
|
|
11758
|
+
NavigationMenuContent,
|
|
11759
|
+
NavigationMenuIndicator,
|
|
11760
|
+
NavigationMenuItem,
|
|
11742
11761
|
NavigationMenuLink,
|
|
11762
|
+
NavigationMenuList,
|
|
11763
|
+
NavigationMenuRoot,
|
|
11764
|
+
NavigationMenuTrigger,
|
|
11765
|
+
NavigationMenuViewport,
|
|
11743
11766
|
NewPasswordForm,
|
|
11744
11767
|
NoPermission,
|
|
11745
11768
|
NotFound,
|
|
@@ -11809,6 +11832,7 @@ function useTabs(initialTab = "") {
|
|
|
11809
11832
|
Usage,
|
|
11810
11833
|
UserReferralSource,
|
|
11811
11834
|
buttonVariants,
|
|
11835
|
+
navigationMenuTriggerStyle,
|
|
11812
11836
|
reducer,
|
|
11813
11837
|
toast,
|
|
11814
11838
|
useBreakpoint,
|
package/dist/index.mjs
CHANGED
|
@@ -3375,6 +3375,7 @@ import React20, { useState as useState6, useRef as useRef3, useEffect as useEffe
|
|
|
3375
3375
|
var Radio = ({
|
|
3376
3376
|
design = "default",
|
|
3377
3377
|
width = "default",
|
|
3378
|
+
size = "default",
|
|
3378
3379
|
orientation = "horizontal",
|
|
3379
3380
|
labelProps,
|
|
3380
3381
|
tabsContainerClassName,
|
|
@@ -3382,12 +3383,18 @@ var Radio = ({
|
|
|
3382
3383
|
}) => {
|
|
3383
3384
|
var _a, _b, _c;
|
|
3384
3385
|
const [selectedOption, setSelectedOption] = useState6(props.defaultValue);
|
|
3385
|
-
let activeTabStyle = "hawa-inline-block hawa-
|
|
3386
|
-
let inactiveTabStyle = "hawa-inline-block hawa-
|
|
3386
|
+
let activeTabStyle = "hawa-inline-block hawa-w-full hawa-text-primary-foreground hawa-bg-primary hawa-active dark:hawa-bg-primary";
|
|
3387
|
+
let inactiveTabStyle = "hawa-inline-block hawa-w-full hawa-transition-all hover:hawa-bg-muted hawa-bg-primary-foreground dark:hover:hawa-text-white";
|
|
3387
3388
|
let orientationStyle = {
|
|
3388
3389
|
horizontal: "hawa-flex hawa-flex-row",
|
|
3389
3390
|
vertical: "hawa-flex hawa-flex-col"
|
|
3390
3391
|
};
|
|
3392
|
+
let tabSizeStyle = {
|
|
3393
|
+
default: "hawa-py-2 hawa-px-4 hawa-text-sm",
|
|
3394
|
+
lg: "hawa-py-2 hawa-px-4",
|
|
3395
|
+
sm: "hawa-p-1.5 hawa-text-xs",
|
|
3396
|
+
xs: "hawa-p-1 hawa-text-[10px]"
|
|
3397
|
+
};
|
|
3391
3398
|
let widthStyle = {
|
|
3392
3399
|
none: "",
|
|
3393
3400
|
default: "hawa-max-w-fit",
|
|
@@ -3413,7 +3420,7 @@ var Radio = ({
|
|
|
3413
3420
|
ref: parentRef,
|
|
3414
3421
|
className: cn(
|
|
3415
3422
|
props.options && ((_a = props.options) == null ? void 0 : _a.length) > 2 ? "hawa-flex-wrap xs:hawa-max-w-full xs:hawa-flex-nowrap" : "",
|
|
3416
|
-
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-
|
|
3423
|
+
"hawa-select-none hawa-whitespace-nowrap hawa-rounded hawa-border hawa-text-center hawa-font-medium",
|
|
3417
3424
|
orientationStyle[orientation],
|
|
3418
3425
|
widthStyle[width],
|
|
3419
3426
|
tabsContainerClassName
|
|
@@ -3436,6 +3443,7 @@ var Radio = ({
|
|
|
3436
3443
|
orientation === "horizontal" && parentDirection === "ltr" && "hawa-rounded-none first:hawa-rounded-l last:hawa-rounded-r",
|
|
3437
3444
|
orientation === "horizontal" && parentDirection === "rtl" && "hawa-rounded-none first:hawa-rounded-r last:hawa-rounded-l",
|
|
3438
3445
|
orientation === "vertical" && "hawa-rounded-none first:hawa-rounded-t last:hawa-rounded-b",
|
|
3446
|
+
tabSizeStyle[size],
|
|
3439
3447
|
"hawa-last hawa-flex hawa-flex-row hawa-items-center hawa-justify-center hawa-gap-2 ",
|
|
3440
3448
|
selectedOption === opt.value ? activeTabStyle : inactiveTabStyle
|
|
3441
3449
|
),
|
|
@@ -3501,7 +3509,7 @@ var Radio = ({
|
|
|
3501
3509
|
{
|
|
3502
3510
|
htmlFor: opt.value.toString(),
|
|
3503
3511
|
className: cn(
|
|
3504
|
-
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-
|
|
3512
|
+
"hawa-inline-flex hawa-h-full hawa-w-full hawa-items-center hawa-justify-between hawa-rounded-lg hawa-border hawa-border-gray-200 hawa-bg-white hawa-p-5 hawa-text-gray-500 peer-checked:hawa-border-primary peer-checked:hawa-text-primary dark:hawa-border-gray-700 dark:hawa-bg-gray-800 dark:hawa-text-gray-400 dark:peer-checked:hawa-text-primary",
|
|
3505
3513
|
opt.disabled ? "hawa-opacity-50" : "hawa-cursor-pointer hover:hawa-bg-gray-100 hover:hawa-text-gray-600 dark:hover:hawa-bg-gray-700 dark:hover:hawa-text-gray-300"
|
|
3506
3514
|
)
|
|
3507
3515
|
},
|
|
@@ -7271,6 +7279,9 @@ ProgressCircle.displayName = "ProgressCircle";
|
|
|
7271
7279
|
import * as React59 from "react";
|
|
7272
7280
|
import * as NavigationMenuPrimitive from "@radix-ui/react-navigation-menu";
|
|
7273
7281
|
import { cva as cva4 } from "class-variance-authority";
|
|
7282
|
+
var navigationMenuTriggerStyle = cva4(
|
|
7283
|
+
"hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 "
|
|
7284
|
+
);
|
|
7274
7285
|
var NavigationMenuRoot = React59.forwardRef(({ className, children, viewportClassNames, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7275
7286
|
NavigationMenuPrimitive.Root,
|
|
7276
7287
|
{
|
|
@@ -7285,7 +7296,6 @@ var NavigationMenuRoot = React59.forwardRef(({ className, children, viewportClas
|
|
|
7285
7296
|
children,
|
|
7286
7297
|
/* @__PURE__ */ React59.createElement(NavigationMenuViewport, { className: viewportClassNames })
|
|
7287
7298
|
));
|
|
7288
|
-
NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
7289
7299
|
var NavigationMenuList = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7290
7300
|
NavigationMenuPrimitive.List,
|
|
7291
7301
|
{
|
|
@@ -7297,11 +7307,6 @@ var NavigationMenuList = React59.forwardRef(({ className, ...props }, ref) => /*
|
|
|
7297
7307
|
...props
|
|
7298
7308
|
}
|
|
7299
7309
|
));
|
|
7300
|
-
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
7301
|
-
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
7302
|
-
var navigationMenuTriggerStyle = cva4(
|
|
7303
|
-
"hawa-group hawa-inline-flex hawa-h-10 hawa-w-max hawa-items-center hawa-gap-1 hawa-justify-center hawa-rounded-md hawa-bg-background hawa-px-4 hawa-py-2 hawa-text-sm hawa-font-medium hawa-transition-colors hover:hawa-bg-accent hover:hawa-text-accent-foreground focus:hawa-bg-accent focus:hawa-text-accent-foreground focus:hawa-outline-none disabled:hawa-pointer-events-none disabled:hawa-opacity-50 data-[active]:hawa-bg-accent/50 "
|
|
7304
|
-
);
|
|
7305
7310
|
var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7306
7311
|
NavigationMenuPrimitive.Trigger,
|
|
7307
7312
|
{
|
|
@@ -7330,7 +7335,6 @@ var NavigationMenuTrigger = React59.forwardRef(({ className, children, ...props
|
|
|
7330
7335
|
/* @__PURE__ */ React59.createElement("path", { d: "m6 9 6 6 6-6" })
|
|
7331
7336
|
)
|
|
7332
7337
|
));
|
|
7333
|
-
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
7334
7338
|
var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7335
7339
|
NavigationMenuPrimitive.Content,
|
|
7336
7340
|
{
|
|
@@ -7345,8 +7349,6 @@ var NavigationMenuContent = React59.forwardRef(({ className, ...props }, ref) =>
|
|
|
7345
7349
|
...props
|
|
7346
7350
|
}
|
|
7347
7351
|
));
|
|
7348
|
-
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
7349
|
-
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
7350
7352
|
var NavMenuItem = ({ 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))));
|
|
7351
7353
|
var NavigationMenuViewport = React59.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ React59.createElement(
|
|
7352
7354
|
"div",
|
|
@@ -7413,6 +7415,12 @@ var NavigationMenu = ({
|
|
|
7413
7415
|
))))
|
|
7414
7416
|
);
|
|
7415
7417
|
};
|
|
7418
|
+
var NavigationMenuItem = NavigationMenuPrimitive.Item;
|
|
7419
|
+
var NavigationMenuLink = NavigationMenuPrimitive.Link;
|
|
7420
|
+
NavigationMenuContent.displayName = NavigationMenuPrimitive.Content.displayName;
|
|
7421
|
+
NavigationMenuTrigger.displayName = NavigationMenuPrimitive.Trigger.displayName;
|
|
7422
|
+
NavigationMenuList.displayName = NavigationMenuPrimitive.List.displayName;
|
|
7423
|
+
NavigationMenuRoot.displayName = NavigationMenuPrimitive.Root.displayName;
|
|
7416
7424
|
NavigationMenuIndicator.displayName = NavigationMenuPrimitive.Indicator.displayName;
|
|
7417
7425
|
NavigationMenuViewport.displayName = NavigationMenuPrimitive.Viewport.displayName;
|
|
7418
7426
|
|
|
@@ -10951,7 +10959,7 @@ var ComparingPlans = (props) => {
|
|
|
10951
10959
|
key: i,
|
|
10952
10960
|
className: "hawa-flex hawa-flex-col hawa-gap-2 hawa-justify-center hawa-items-center"
|
|
10953
10961
|
},
|
|
10954
|
-
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React96.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
10962
|
+
/* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col hawa-gap-2" }, /* @__PURE__ */ React96.createElement("div", { className: "hawa-flex hawa-flex-col" }, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-bold " }, plan.texts.title), /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-md hawa-font-normal hawa-text-muted-foreground " }, plan.texts.subtitle)), /* @__PURE__ */ React96.createElement("div", { className: " hawa-flex hawa-items-baseline " }, /* @__PURE__ */ React96.createElement(React96.Fragment, null, /* @__PURE__ */ React96.createElement("span", { className: "hawa-text-5xl hawa-font-extrabold hawa-tracking-tight" }, plan.price), /* @__PURE__ */ React96.createElement("span", { className: "hawa-mx-1 hawa-text-sm hawa-font-semibold" }, plan.texts.currencyText)), /* @__PURE__ */ React96.createElement("span", { className: "hawa-ml-1 hawa-text-xl hawa-font-normal " }, "/ ", plan.texts.cycleText)))
|
|
10955
10963
|
))
|
|
10956
10964
|
), /* @__PURE__ */ React96.createElement(
|
|
10957
10965
|
ScrollArea,
|
|
@@ -11522,7 +11530,14 @@ export {
|
|
|
11522
11530
|
NavMenuItem,
|
|
11523
11531
|
Navbar,
|
|
11524
11532
|
NavigationMenu,
|
|
11533
|
+
NavigationMenuContent,
|
|
11534
|
+
NavigationMenuIndicator,
|
|
11535
|
+
NavigationMenuItem,
|
|
11525
11536
|
NavigationMenuLink,
|
|
11537
|
+
NavigationMenuList,
|
|
11538
|
+
NavigationMenuRoot,
|
|
11539
|
+
NavigationMenuTrigger,
|
|
11540
|
+
NavigationMenuViewport,
|
|
11526
11541
|
NewPasswordForm,
|
|
11527
11542
|
NoPermission,
|
|
11528
11543
|
NotFound,
|
|
@@ -11592,6 +11607,7 @@ export {
|
|
|
11592
11607
|
Usage,
|
|
11593
11608
|
UserReferralSource,
|
|
11594
11609
|
buttonVariants,
|
|
11610
|
+
navigationMenuTriggerStyle,
|
|
11595
11611
|
reducer,
|
|
11596
11612
|
toast,
|
|
11597
11613
|
useBreakpoint,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikka/hawa",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.41-next",
|
|
4
4
|
"description": "Modern UI Kit made with Tailwind",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sikka Software",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"eslint-plugin-storybook": "^0.6.15",
|
|
115
115
|
"jest": "^29.7.0",
|
|
116
116
|
"jest-environment-jsdom": "^29.7.0",
|
|
117
|
-
"lucide-react": "^0.
|
|
117
|
+
"lucide-react": "^0.294.0",
|
|
118
118
|
"postcss": "^8.4.31",
|
|
119
119
|
"postcss-cli": "^10.1.0",
|
|
120
120
|
"postcss-import": "^15.1.0",
|