@sikka/hawa 0.10.17 → 0.10.20-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/README.md +7 -2
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +421 -384
- package/dist/index.mjs +267 -231
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,8 +52,13 @@
|
|
|
52
52
|
|
|
53
53
|
## Install
|
|
54
54
|
|
|
55
|
-
**Note:**
|
|
56
|
-
|
|
55
|
+
**Note:** Current npm tags 👇
|
|
56
|
+
|
|
57
|
+
`@beta` is archived.
|
|
58
|
+
|
|
59
|
+
`@next` only points to pre-releases.
|
|
60
|
+
|
|
61
|
+
`@latest` for the latest stable release.
|
|
57
62
|
|
|
58
63
|
```bash
|
|
59
64
|
npm install @sikka/hawa
|
package/dist/index.d.mts
CHANGED
|
@@ -460,11 +460,13 @@ type DataTableProps<DataProps = {}> = {
|
|
|
460
460
|
direction?: "rtl" | "ltr";
|
|
461
461
|
columns: ColumnDef<DataProps>[];
|
|
462
462
|
data: DataProps[];
|
|
463
|
+
showCount?: boolean;
|
|
463
464
|
condensed?: boolean;
|
|
464
465
|
isLoading?: boolean;
|
|
465
466
|
defaultSort?: string;
|
|
466
467
|
texts?: {
|
|
467
468
|
searchPlaceholder?: string;
|
|
469
|
+
item?: string;
|
|
468
470
|
noData?: any;
|
|
469
471
|
page?: string;
|
|
470
472
|
filter?: string;
|
|
@@ -662,6 +664,7 @@ type ComboboxTypes<T> = {
|
|
|
662
664
|
/** This the same value as the one with the key valueKey */
|
|
663
665
|
defaultValue?: string;
|
|
664
666
|
preview?: boolean;
|
|
667
|
+
hideInput?: boolean;
|
|
665
668
|
onChange?: (e: any) => void;
|
|
666
669
|
};
|
|
667
670
|
declare const Combobox: React$1.FC<ComboboxTypes<any>>;
|
|
@@ -901,6 +904,11 @@ type CopyRightsTypes = {
|
|
|
901
904
|
};
|
|
902
905
|
declare const Copyrights: FC<CopyRightsTypes>;
|
|
903
906
|
|
|
907
|
+
type NavbarType = {
|
|
908
|
+
test?: any;
|
|
909
|
+
};
|
|
910
|
+
declare const Navbar: React__default.FC<NavbarType>;
|
|
911
|
+
|
|
904
912
|
type LoginFormTypes = {
|
|
905
913
|
texts?: {
|
|
906
914
|
emailLabel?: string;
|
|
@@ -1510,4 +1518,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1510
1518
|
handleTabChange: (index: any) => void;
|
|
1511
1519
|
};
|
|
1512
1520
|
|
|
1513
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, SelectOptionProps, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast, useWindowSize };
|
|
1521
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, SelectOptionProps, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -460,11 +460,13 @@ type DataTableProps<DataProps = {}> = {
|
|
|
460
460
|
direction?: "rtl" | "ltr";
|
|
461
461
|
columns: ColumnDef<DataProps>[];
|
|
462
462
|
data: DataProps[];
|
|
463
|
+
showCount?: boolean;
|
|
463
464
|
condensed?: boolean;
|
|
464
465
|
isLoading?: boolean;
|
|
465
466
|
defaultSort?: string;
|
|
466
467
|
texts?: {
|
|
467
468
|
searchPlaceholder?: string;
|
|
469
|
+
item?: string;
|
|
468
470
|
noData?: any;
|
|
469
471
|
page?: string;
|
|
470
472
|
filter?: string;
|
|
@@ -662,6 +664,7 @@ type ComboboxTypes<T> = {
|
|
|
662
664
|
/** This the same value as the one with the key valueKey */
|
|
663
665
|
defaultValue?: string;
|
|
664
666
|
preview?: boolean;
|
|
667
|
+
hideInput?: boolean;
|
|
665
668
|
onChange?: (e: any) => void;
|
|
666
669
|
};
|
|
667
670
|
declare const Combobox: React$1.FC<ComboboxTypes<any>>;
|
|
@@ -901,6 +904,11 @@ type CopyRightsTypes = {
|
|
|
901
904
|
};
|
|
902
905
|
declare const Copyrights: FC<CopyRightsTypes>;
|
|
903
906
|
|
|
907
|
+
type NavbarType = {
|
|
908
|
+
test?: any;
|
|
909
|
+
};
|
|
910
|
+
declare const Navbar: React__default.FC<NavbarType>;
|
|
911
|
+
|
|
904
912
|
type LoginFormTypes = {
|
|
905
913
|
texts?: {
|
|
906
914
|
emailLabel?: string;
|
|
@@ -1510,4 +1518,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1510
1518
|
handleTabChange: (index: any) => void;
|
|
1511
1519
|
};
|
|
1512
1520
|
|
|
1513
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, SelectOptionProps, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast, useWindowSize };
|
|
1521
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionCard, AdCard, Alert, Announcement, AppLanding, AppLayout, AppStores, BackToTop, Breadcrumb, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, CheckEmail, Checkbox, Chip, CodeBlock, CodeConfirmation, ColorPicker, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ComparingPlans, Copyrights, Count, DataTable, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, ResetPasswordForm, ScrollArea, ScrollBar, Select, SelectOptionProps, Separator, SidebarGroup, SidebarItem, SimpleTable, Skeleton, Slider, SortButton, Stats, StopPropagationWrapper, SubItem$2 as SubItem, Switch, TChipTypes, 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, useFormField, useMediaQuery, useTabs, useToast, useWindowSize };
|