@sikka/hawa 0.15.14-next → 0.15.16-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 +13 -0
- package/dist/index.d.mts +15 -2
- package/dist/index.d.ts +15 -2
- package/dist/index.js +1071 -989
- package/dist/index.mjs +755 -647
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1054,6 +1054,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1054
1054
|
.hawa-h-24 {
|
|
1055
1055
|
height: 6rem;
|
|
1056
1056
|
}
|
|
1057
|
+
.hawa-h-28 {
|
|
1058
|
+
height: 7rem;
|
|
1059
|
+
}
|
|
1057
1060
|
.hawa-h-3 {
|
|
1058
1061
|
height: 0.75rem;
|
|
1059
1062
|
}
|
|
@@ -1212,6 +1215,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1212
1215
|
.hawa-w-10 {
|
|
1213
1216
|
width: 2.5rem;
|
|
1214
1217
|
}
|
|
1218
|
+
.hawa-w-12 {
|
|
1219
|
+
width: 3rem;
|
|
1220
|
+
}
|
|
1215
1221
|
.hawa-w-14 {
|
|
1216
1222
|
width: 3.5rem;
|
|
1217
1223
|
}
|
|
@@ -1230,6 +1236,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1230
1236
|
.hawa-w-24 {
|
|
1231
1237
|
width: 6rem;
|
|
1232
1238
|
}
|
|
1239
|
+
.hawa-w-28 {
|
|
1240
|
+
width: 7rem;
|
|
1241
|
+
}
|
|
1233
1242
|
.hawa-w-3 {
|
|
1234
1243
|
width: 0.75rem;
|
|
1235
1244
|
}
|
|
@@ -2062,6 +2071,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
2062
2071
|
--tw-bg-opacity: 1;
|
|
2063
2072
|
background-color: rgb(252 165 165 / var(--tw-bg-opacity));
|
|
2064
2073
|
}
|
|
2074
|
+
.hawa-bg-red-400 {
|
|
2075
|
+
--tw-bg-opacity: 1;
|
|
2076
|
+
background-color: rgb(248 113 113 / var(--tw-bg-opacity));
|
|
2077
|
+
}
|
|
2065
2078
|
.hawa-bg-red-500 {
|
|
2066
2079
|
--tw-bg-opacity: 1;
|
|
2067
2080
|
background-color: rgb(239 68 68 / var(--tw-bg-opacity));
|
package/dist/index.d.mts
CHANGED
|
@@ -279,7 +279,7 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
279
279
|
/** The small red text under the input field to show validation or a hint. */
|
|
280
280
|
helperText?: any;
|
|
281
281
|
forceHideHelperText?: boolean;
|
|
282
|
-
inputProps?:
|
|
282
|
+
inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
|
|
283
283
|
/** The icon inside the input field */
|
|
284
284
|
icon?: any;
|
|
285
285
|
/** Boolean to enable/disable editing the input field and using it as a text field */
|
|
@@ -353,6 +353,16 @@ type SelectTypes = {
|
|
|
353
353
|
};
|
|
354
354
|
declare const Select: FC<SelectTypes>;
|
|
355
355
|
|
|
356
|
+
interface AvatarProps {
|
|
357
|
+
isUploadable?: boolean;
|
|
358
|
+
src?: string;
|
|
359
|
+
alt?: string;
|
|
360
|
+
size?: "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
361
|
+
radius?: RadiusType;
|
|
362
|
+
className?: string;
|
|
363
|
+
}
|
|
364
|
+
declare const Avatar: React__default.FC<AvatarProps>;
|
|
365
|
+
|
|
356
366
|
declare const buttonVariants: (props?: ({
|
|
357
367
|
variant?: "link" | "combobox" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
|
|
358
368
|
size?: "xs" | "sm" | "lg" | "xl" | "default" | "heightless" | "icon" | "smallIcon" | null | undefined;
|
|
@@ -731,6 +741,7 @@ type BadgeTypes = {
|
|
|
731
741
|
anchor: RefObject<HTMLElement>;
|
|
732
742
|
size?: "small" | "default" | "large";
|
|
733
743
|
text?: string | number;
|
|
744
|
+
className?: string;
|
|
734
745
|
};
|
|
735
746
|
declare const Badge: FC<BadgeTypes>;
|
|
736
747
|
declare const BadgedComponent: ({ children, className, hideBadge, position, size, text, }: any) => React__default.JSX.Element;
|
|
@@ -892,6 +903,8 @@ declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
|
892
903
|
|
|
893
904
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
|
894
905
|
|
|
906
|
+
declare const FileUploader: ({ handleFile, className }: any) => React__default.JSX.Element;
|
|
907
|
+
|
|
895
908
|
type StatTypes = {
|
|
896
909
|
label?: string;
|
|
897
910
|
color?: string;
|
|
@@ -1735,4 +1748,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1735
1748
|
handleTabChange: (index: any) => void;
|
|
1736
1749
|
};
|
|
1737
1750
|
|
|
1738
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, 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, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, 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, 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, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
|
|
1751
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, 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, DialogContent, DialogDescription, DialogFooter, DialogHeader, 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, 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, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -279,7 +279,7 @@ type TextFieldTypes = React__default.InputHTMLAttributes<HTMLInputElement> & {
|
|
|
279
279
|
/** The small red text under the input field to show validation or a hint. */
|
|
280
280
|
helperText?: any;
|
|
281
281
|
forceHideHelperText?: boolean;
|
|
282
|
-
inputProps?:
|
|
282
|
+
inputProps?: React__default.InputHTMLAttributes<HTMLInputElement>;
|
|
283
283
|
/** The icon inside the input field */
|
|
284
284
|
icon?: any;
|
|
285
285
|
/** Boolean to enable/disable editing the input field and using it as a text field */
|
|
@@ -353,6 +353,16 @@ type SelectTypes = {
|
|
|
353
353
|
};
|
|
354
354
|
declare const Select: FC<SelectTypes>;
|
|
355
355
|
|
|
356
|
+
interface AvatarProps {
|
|
357
|
+
isUploadable?: boolean;
|
|
358
|
+
src?: string;
|
|
359
|
+
alt?: string;
|
|
360
|
+
size?: "xs" | "sm" | "default" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
361
|
+
radius?: RadiusType;
|
|
362
|
+
className?: string;
|
|
363
|
+
}
|
|
364
|
+
declare const Avatar: React__default.FC<AvatarProps>;
|
|
365
|
+
|
|
356
366
|
declare const buttonVariants: (props?: ({
|
|
357
367
|
variant?: "link" | "combobox" | "default" | "light" | "destructive" | "outline" | "secondary" | "ghost" | "neoBrutalism" | null | undefined;
|
|
358
368
|
size?: "xs" | "sm" | "lg" | "xl" | "default" | "heightless" | "icon" | "smallIcon" | null | undefined;
|
|
@@ -731,6 +741,7 @@ type BadgeTypes = {
|
|
|
731
741
|
anchor: RefObject<HTMLElement>;
|
|
732
742
|
size?: "small" | "default" | "large";
|
|
733
743
|
text?: string | number;
|
|
744
|
+
className?: string;
|
|
734
745
|
};
|
|
735
746
|
declare const Badge: FC<BadgeTypes>;
|
|
736
747
|
declare const BadgedComponent: ({ children, className, hideBadge, position, size, text, }: any) => React__default.JSX.Element;
|
|
@@ -892,6 +903,8 @@ declare const NavigationMenu: React$1.FC<NavigationMenuTypes>;
|
|
|
892
903
|
|
|
893
904
|
declare const StopPropagationWrapper: (props: any) => React__default.JSX.Element;
|
|
894
905
|
|
|
906
|
+
declare const FileUploader: ({ handleFile, className }: any) => React__default.JSX.Element;
|
|
907
|
+
|
|
895
908
|
type StatTypes = {
|
|
896
909
|
label?: string;
|
|
897
910
|
color?: string;
|
|
@@ -1735,4 +1748,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1735
1748
|
handleTabChange: (index: any) => void;
|
|
1736
1749
|
};
|
|
1737
1750
|
|
|
1738
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, AppStores, AppTabs, AppTopbar, 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, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, 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, 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, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
|
|
1751
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionRoot, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppLayoutSidebarItemProps, 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, DialogContent, DialogDescription, DialogFooter, DialogHeader, 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, 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, useFocusWithin, useIsomorphicEffect, useMediaQuery, useTabs, useToast, useWindowSize };
|