@sikka/hawa 0.18.22-next → 0.19.0
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 +24 -1
- package/dist/index.d.ts +24 -1
- package/dist/index.js +28 -0
- package/dist/index.mjs +20 -0
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -76,9 +76,14 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
76
76
|
|
|
77
77
|
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
78
78
|
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
79
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
80
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
81
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
82
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
79
83
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
80
84
|
inset?: boolean | undefined;
|
|
81
85
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
86
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
82
87
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
88
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
84
89
|
inset?: boolean | undefined;
|
|
@@ -88,10 +93,15 @@ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownM
|
|
|
88
93
|
slug?: string | undefined;
|
|
89
94
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
95
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
96
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
91
97
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
92
98
|
inset?: boolean | undefined;
|
|
93
99
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
94
100
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
declare const DropdownMenuShortcut: {
|
|
102
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
103
|
+
displayName: string;
|
|
104
|
+
};
|
|
95
105
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
96
106
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
97
107
|
type SubItem$1 = {
|
|
@@ -140,6 +150,19 @@ interface DropdownMenuProps {
|
|
|
140
150
|
open?: any;
|
|
141
151
|
}
|
|
142
152
|
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
153
|
+
interface DropdownMenuRadioProps {
|
|
154
|
+
trigger?: React$1.ReactNode;
|
|
155
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
156
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
157
|
+
options: {
|
|
158
|
+
label?: any;
|
|
159
|
+
value: string;
|
|
160
|
+
}[];
|
|
161
|
+
value: string;
|
|
162
|
+
onValueChange: any;
|
|
163
|
+
label?: string;
|
|
164
|
+
}
|
|
165
|
+
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
143
166
|
|
|
144
167
|
interface ItemCardTypes {
|
|
145
168
|
headerActions?: MenuItemType[];
|
|
@@ -1853,4 +1876,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1853
1876
|
handleTabChange: (index: any) => void;
|
|
1854
1877
|
};
|
|
1855
1878
|
|
|
1856
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, 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, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, 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, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
|
1879
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, 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, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, 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, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -76,9 +76,14 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
76
76
|
|
|
77
77
|
declare const DropdownMenuRoot: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
|
|
78
78
|
declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
79
|
+
declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
80
|
+
declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
81
|
+
declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
82
|
+
declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
79
83
|
declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
80
84
|
inset?: boolean | undefined;
|
|
81
85
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
86
|
+
declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
82
87
|
declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
88
|
declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
84
89
|
inset?: boolean | undefined;
|
|
@@ -88,10 +93,15 @@ declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownM
|
|
|
88
93
|
slug?: string | undefined;
|
|
89
94
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
90
95
|
declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
96
|
+
declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
91
97
|
declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
92
98
|
inset?: boolean | undefined;
|
|
93
99
|
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
94
100
|
declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
101
|
+
declare const DropdownMenuShortcut: {
|
|
102
|
+
({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): React$1.JSX.Element;
|
|
103
|
+
displayName: string;
|
|
104
|
+
};
|
|
95
105
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
96
106
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
97
107
|
type SubItem$1 = {
|
|
@@ -140,6 +150,19 @@ interface DropdownMenuProps {
|
|
|
140
150
|
open?: any;
|
|
141
151
|
}
|
|
142
152
|
declare const DropdownMenu: React$1.FC<DropdownMenuProps>;
|
|
153
|
+
interface DropdownMenuRadioProps {
|
|
154
|
+
trigger?: React$1.ReactNode;
|
|
155
|
+
side?: ExtendedDropdownMenuContentProps["side"];
|
|
156
|
+
align?: ExtendedDropdownMenuContentProps["align"];
|
|
157
|
+
options: {
|
|
158
|
+
label?: any;
|
|
159
|
+
value: string;
|
|
160
|
+
}[];
|
|
161
|
+
value: string;
|
|
162
|
+
onValueChange: any;
|
|
163
|
+
label?: string;
|
|
164
|
+
}
|
|
165
|
+
declare const DropdownMenuRadio: React$1.FC<DropdownMenuRadioProps>;
|
|
143
166
|
|
|
144
167
|
interface ItemCardTypes {
|
|
145
168
|
headerActions?: MenuItemType[];
|
|
@@ -1853,4 +1876,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1853
1876
|
handleTabChange: (index: any) => void;
|
|
1854
1877
|
};
|
|
1855
1878
|
|
|
1856
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, 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, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, FileUploader, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, 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, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
|
1879
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppSidebarItemProps, AppStores, AppTabs, AppTopbar, Avatar, BackToTop, Badge, BadgedComponent, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CheckEmail, Checkbox, Chip, ChipColors, 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, LabelProps, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, 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, PricingPlans, Progress, ProgressCircle, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, ScrollIndicator, Select, SelectOptionProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, SplitButton, Stats, StopPropagationWrapper, SubItem$1 as SubItem, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, Usage, UseFocusWithinOptions, UseMediaQueryOptions, UserReferralSource, buttonVariants, reducer, toast, useBreakpoint, useClipboard, useDialogCarousel, useFocusWithin, useIsomorphicEffect, useMediaQuery, useMultiStepDialog, useTabs, useToast, useWindowSize };
|
package/dist/index.js
CHANGED
|
@@ -96,10 +96,18 @@ __export(components_exports, {
|
|
|
96
96
|
DropdownMenu: () => DropdownMenu,
|
|
97
97
|
DropdownMenuCheckboxItem: () => DropdownMenuCheckboxItem,
|
|
98
98
|
DropdownMenuContent: () => DropdownMenuContent,
|
|
99
|
+
DropdownMenuGroup: () => DropdownMenuGroup,
|
|
99
100
|
DropdownMenuItem: () => DropdownMenuItem,
|
|
100
101
|
DropdownMenuLabel: () => DropdownMenuLabel,
|
|
102
|
+
DropdownMenuPortal: () => DropdownMenuPortal,
|
|
103
|
+
DropdownMenuRadio: () => DropdownMenuRadio,
|
|
104
|
+
DropdownMenuRadioGroup: () => DropdownMenuRadioGroup,
|
|
105
|
+
DropdownMenuRadioItem: () => DropdownMenuRadioItem,
|
|
101
106
|
DropdownMenuRoot: () => DropdownMenuRoot,
|
|
102
107
|
DropdownMenuSeparator: () => DropdownMenuSeparator,
|
|
108
|
+
DropdownMenuShortcut: () => DropdownMenuShortcut,
|
|
109
|
+
DropdownMenuSub: () => DropdownMenuSub,
|
|
110
|
+
DropdownMenuSubContent: () => DropdownMenuSubContent,
|
|
103
111
|
DropdownMenuSubTrigger: () => DropdownMenuSubTrigger,
|
|
104
112
|
DropdownMenuTrigger: () => DropdownMenuTrigger,
|
|
105
113
|
EmptyState: () => EmptyState,
|
|
@@ -863,8 +871,10 @@ var React10 = __toESM(require("react"));
|
|
|
863
871
|
var DropdownMenuPrimitive = __toESM(require("@radix-ui/react-dropdown-menu"));
|
|
864
872
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
|
865
873
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
874
|
+
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
866
875
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
867
876
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
877
|
+
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
868
878
|
var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
|
869
879
|
DropdownMenuPrimitive.SubTrigger,
|
|
870
880
|
{
|
|
@@ -1185,6 +1195,16 @@ var DropdownMenu = ({
|
|
|
1185
1195
|
))
|
|
1186
1196
|
);
|
|
1187
1197
|
};
|
|
1198
|
+
var DropdownMenuRadio = (props) => {
|
|
1199
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React10.createElement(DropdownMenuTrigger, { asChild: true }, props.trigger), /* @__PURE__ */ React10.createElement(DropdownMenuContent, { align: props.align, side: props.side }, props.label && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(DropdownMenuLabel, null, props.label), /* @__PURE__ */ React10.createElement(DropdownMenuSeparator, null)), /* @__PURE__ */ React10.createElement(
|
|
1200
|
+
DropdownMenuRadioGroup,
|
|
1201
|
+
{
|
|
1202
|
+
value: props.value,
|
|
1203
|
+
onValueChange: props.onValueChange
|
|
1204
|
+
},
|
|
1205
|
+
props.options.map((opt) => /* @__PURE__ */ React10.createElement(DropdownMenuRadioItem, { value: opt.value }, opt.label))
|
|
1206
|
+
)));
|
|
1207
|
+
};
|
|
1188
1208
|
|
|
1189
1209
|
// components/elements/StopPropagationWrapper.tsx
|
|
1190
1210
|
var import_react7 = __toESM(require("react"));
|
|
@@ -11354,10 +11374,18 @@ function useTabs(initialTab = "") {
|
|
|
11354
11374
|
DropdownMenu,
|
|
11355
11375
|
DropdownMenuCheckboxItem,
|
|
11356
11376
|
DropdownMenuContent,
|
|
11377
|
+
DropdownMenuGroup,
|
|
11357
11378
|
DropdownMenuItem,
|
|
11358
11379
|
DropdownMenuLabel,
|
|
11380
|
+
DropdownMenuPortal,
|
|
11381
|
+
DropdownMenuRadio,
|
|
11382
|
+
DropdownMenuRadioGroup,
|
|
11383
|
+
DropdownMenuRadioItem,
|
|
11359
11384
|
DropdownMenuRoot,
|
|
11360
11385
|
DropdownMenuSeparator,
|
|
11386
|
+
DropdownMenuShortcut,
|
|
11387
|
+
DropdownMenuSub,
|
|
11388
|
+
DropdownMenuSubContent,
|
|
11361
11389
|
DropdownMenuSubTrigger,
|
|
11362
11390
|
DropdownMenuTrigger,
|
|
11363
11391
|
EmptyState,
|
package/dist/index.mjs
CHANGED
|
@@ -638,8 +638,10 @@ import * as React10 from "react";
|
|
|
638
638
|
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
|
|
639
639
|
var DropdownMenuRoot = DropdownMenuPrimitive.Root;
|
|
640
640
|
var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
|
|
641
|
+
var DropdownMenuGroup = DropdownMenuPrimitive.Group;
|
|
641
642
|
var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
|
|
642
643
|
var DropdownMenuSub = DropdownMenuPrimitive.Sub;
|
|
644
|
+
var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
|
|
643
645
|
var DropdownMenuSubTrigger = React10.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ React10.createElement(
|
|
644
646
|
DropdownMenuPrimitive.SubTrigger,
|
|
645
647
|
{
|
|
@@ -960,6 +962,16 @@ var DropdownMenu = ({
|
|
|
960
962
|
))
|
|
961
963
|
);
|
|
962
964
|
};
|
|
965
|
+
var DropdownMenuRadio = (props) => {
|
|
966
|
+
return /* @__PURE__ */ React10.createElement(DropdownMenuRoot, null, /* @__PURE__ */ React10.createElement(DropdownMenuTrigger, { asChild: true }, props.trigger), /* @__PURE__ */ React10.createElement(DropdownMenuContent, { align: props.align, side: props.side }, props.label && /* @__PURE__ */ React10.createElement(React10.Fragment, null, /* @__PURE__ */ React10.createElement(DropdownMenuLabel, null, props.label), /* @__PURE__ */ React10.createElement(DropdownMenuSeparator, null)), /* @__PURE__ */ React10.createElement(
|
|
967
|
+
DropdownMenuRadioGroup,
|
|
968
|
+
{
|
|
969
|
+
value: props.value,
|
|
970
|
+
onValueChange: props.onValueChange
|
|
971
|
+
},
|
|
972
|
+
props.options.map((opt) => /* @__PURE__ */ React10.createElement(DropdownMenuRadioItem, { value: opt.value }, opt.label))
|
|
973
|
+
)));
|
|
974
|
+
};
|
|
963
975
|
|
|
964
976
|
// components/elements/StopPropagationWrapper.tsx
|
|
965
977
|
import React11 from "react";
|
|
@@ -11145,10 +11157,18 @@ export {
|
|
|
11145
11157
|
DropdownMenu,
|
|
11146
11158
|
DropdownMenuCheckboxItem,
|
|
11147
11159
|
DropdownMenuContent,
|
|
11160
|
+
DropdownMenuGroup,
|
|
11148
11161
|
DropdownMenuItem,
|
|
11149
11162
|
DropdownMenuLabel,
|
|
11163
|
+
DropdownMenuPortal,
|
|
11164
|
+
DropdownMenuRadio,
|
|
11165
|
+
DropdownMenuRadioGroup,
|
|
11166
|
+
DropdownMenuRadioItem,
|
|
11150
11167
|
DropdownMenuRoot,
|
|
11151
11168
|
DropdownMenuSeparator,
|
|
11169
|
+
DropdownMenuShortcut,
|
|
11170
|
+
DropdownMenuSub,
|
|
11171
|
+
DropdownMenuSubContent,
|
|
11152
11172
|
DropdownMenuSubTrigger,
|
|
11153
11173
|
DropdownMenuTrigger,
|
|
11154
11174
|
EmptyState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sikka/hawa",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"description": "Modern UI Kit made with Tailwind",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Sikka Software",
|
|
@@ -126,4 +126,4 @@
|
|
|
126
126
|
"tsup": "^7.2.0",
|
|
127
127
|
"typescript": "^5.2.2"
|
|
128
128
|
}
|
|
129
|
-
}
|
|
129
|
+
}
|