@sikka/hawa 0.11.11-next → 0.11.13-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 CHANGED
@@ -1222,6 +1222,9 @@ input[type="number"]::-webkit-inner-spin-button,
1222
1222
  .hawa-w-32 {
1223
1223
  width: 8rem;
1224
1224
  }
1225
+ .hawa-w-36 {
1226
+ width: 9rem;
1227
+ }
1225
1228
  .hawa-w-4 {
1226
1229
  width: 1rem;
1227
1230
  }
@@ -1374,6 +1377,9 @@ input[type="number"]::-webkit-inner-spin-button,
1374
1377
  .hawa-caption-bottom {
1375
1378
  caption-side: bottom;
1376
1379
  }
1380
+ .hawa-border-collapse {
1381
+ border-collapse: collapse;
1382
+ }
1377
1383
  .hawa-origin-bottom {
1378
1384
  transform-origin: bottom;
1379
1385
  }
@@ -1766,6 +1772,9 @@ input[type="number"]::-webkit-inner-spin-button,
1766
1772
  .hawa-border-l-0 {
1767
1773
  border-left-width: 0px;
1768
1774
  }
1775
+ .hawa-border-l-2 {
1776
+ border-left-width: 2px;
1777
+ }
1769
1778
  .hawa-border-r {
1770
1779
  border-right-width: 1px;
1771
1780
  }
@@ -1811,6 +1820,10 @@ input[type="number"]::-webkit-inner-spin-button,
1811
1820
  .hawa-border-primary {
1812
1821
  border-color: hsl(var(--primary));
1813
1822
  }
1823
+ .hawa-border-red-500 {
1824
+ --tw-border-opacity: 1;
1825
+ border-color: rgb(239 68 68 / var(--tw-border-opacity));
1826
+ }
1814
1827
  .hawa-border-transparent {
1815
1828
  border-color: transparent;
1816
1829
  }
package/dist/index.d.mts CHANGED
@@ -805,7 +805,7 @@ declare const SidebarItem: React$1.FC<{
805
805
  isOpen?: boolean;
806
806
  }>;
807
807
 
808
- type AppLayoutTypes = {
808
+ type AppLayoutTypes$1 = {
809
809
  design?: "default" | "bubbles" | "floating";
810
810
  /** The pages of the side drawer */
811
811
  drawerItems: Item[];
@@ -882,7 +882,7 @@ type SubItem = {
882
882
  icon?: any;
883
883
  onClick?: () => void;
884
884
  };
885
- declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes>;
885
+ declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes$1>;
886
886
 
887
887
  type CopyRightsTypes = {
888
888
  /** A text used as the version of the app, for example: v1.0.0 */
@@ -905,6 +905,71 @@ type NavbarType = {
905
905
  };
906
906
  declare const Navbar: React__default.FC<NavbarType>;
907
907
 
908
+ type AppLayoutTypes = {
909
+ /** The direction of the layout */
910
+ direction?: "rtl" | "ltr";
911
+ /** The title of the current selected page, make sure it's the same as the drawerItem slug */
912
+ currentPage: string;
913
+ /** Specifies the title of the page. */
914
+ pageTitle?: string;
915
+ /** Specifies the symbol for the logo. */
916
+ logoSymbol?: any;
917
+ /** Specifies the link for the logo. */
918
+ logoLink?: string;
919
+ /** Specifies the text for the logo. */
920
+ logoText?: any;
921
+ /** Specifies the content to be displayed in the layout. */
922
+ children?: any;
923
+ /** Specifies the username to be displayed. */
924
+ username?: string;
925
+ /** Specifies the user email to be displayed. */
926
+ email?: string;
927
+ /** Specifies the image for the avatar. */
928
+ avatarImage?: any;
929
+ /**
930
+ * Specifies the size of the drawer.
931
+ * - 'sm': Small.
932
+ * - 'md': Medium.
933
+ * - 'large': Large.
934
+ */
935
+ drawerSize?: "sm" | "md" | "large";
936
+ /** Specifies the menu items for the profile menu. */
937
+ /**
938
+ * Specifies the width of the profile menu.
939
+ * - 'default': Default width.
940
+ * - 'sm': Small width.
941
+ * - 'lg': Large width.
942
+ * - 'parent': Inherits width from parent element.
943
+ */
944
+ profileMenuWidth: "default" | "sm" | "lg" | "parent";
945
+ /** Event handler for settings button click. */
946
+ onSettingsClick?: () => void;
947
+ /** Event handler for drawer expansion. */
948
+ onDrawerExpand?: (e: any) => void;
949
+ /** Specifies whether to keep the drawer open. */
950
+ keepOpen: boolean;
951
+ setKeepOpen: (value: boolean) => void;
952
+ /** Specifies additional actions for the drawer footer. */
953
+ DrawerFooterActions?: any;
954
+ /** Specifies the item that was clicked. */
955
+ clickedItem?: any;
956
+ /** Event handler for logo button click. */
957
+ onLogoClick?: () => void;
958
+ /** Text labels for various UI elements. */
959
+ texts?: {
960
+ /** Label for expand sidebar button. */
961
+ expandSidebar?: string;
962
+ /** Label for collapse sidebar button. */
963
+ collapseSidebar?: string;
964
+ };
965
+ };
966
+ declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
967
+
968
+ type DocsSidebarType = {
969
+ test?: any;
970
+ };
971
+ declare const DocsSidebar: React__default.FC<DocsSidebarType>;
972
+
908
973
  type ThirdPartyAuthTextsTypes = {
909
974
  continueWithGoogle?: string;
910
975
  continueWithTwitter?: string;
@@ -1527,4 +1592,4 @@ declare function useTabs(initialTab?: string): {
1527
1592
  handleTabChange: (index: any) => void;
1528
1593
  };
1529
1594
 
1530
- 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, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, LoginFormTextsTypes, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, RegisterFormTextsTypes, 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, useMediaQuery, useTabs, useToast, useWindowSize };
1595
+ 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, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, LoginFormTextsTypes, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, RegisterFormTextsTypes, 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, useMediaQuery, useTabs, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -805,7 +805,7 @@ declare const SidebarItem: React$1.FC<{
805
805
  isOpen?: boolean;
806
806
  }>;
807
807
 
808
- type AppLayoutTypes = {
808
+ type AppLayoutTypes$1 = {
809
809
  design?: "default" | "bubbles" | "floating";
810
810
  /** The pages of the side drawer */
811
811
  drawerItems: Item[];
@@ -882,7 +882,7 @@ type SubItem = {
882
882
  icon?: any;
883
883
  onClick?: () => void;
884
884
  };
885
- declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes>;
885
+ declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes$1>;
886
886
 
887
887
  type CopyRightsTypes = {
888
888
  /** A text used as the version of the app, for example: v1.0.0 */
@@ -905,6 +905,71 @@ type NavbarType = {
905
905
  };
906
906
  declare const Navbar: React__default.FC<NavbarType>;
907
907
 
908
+ type AppLayoutTypes = {
909
+ /** The direction of the layout */
910
+ direction?: "rtl" | "ltr";
911
+ /** The title of the current selected page, make sure it's the same as the drawerItem slug */
912
+ currentPage: string;
913
+ /** Specifies the title of the page. */
914
+ pageTitle?: string;
915
+ /** Specifies the symbol for the logo. */
916
+ logoSymbol?: any;
917
+ /** Specifies the link for the logo. */
918
+ logoLink?: string;
919
+ /** Specifies the text for the logo. */
920
+ logoText?: any;
921
+ /** Specifies the content to be displayed in the layout. */
922
+ children?: any;
923
+ /** Specifies the username to be displayed. */
924
+ username?: string;
925
+ /** Specifies the user email to be displayed. */
926
+ email?: string;
927
+ /** Specifies the image for the avatar. */
928
+ avatarImage?: any;
929
+ /**
930
+ * Specifies the size of the drawer.
931
+ * - 'sm': Small.
932
+ * - 'md': Medium.
933
+ * - 'large': Large.
934
+ */
935
+ drawerSize?: "sm" | "md" | "large";
936
+ /** Specifies the menu items for the profile menu. */
937
+ /**
938
+ * Specifies the width of the profile menu.
939
+ * - 'default': Default width.
940
+ * - 'sm': Small width.
941
+ * - 'lg': Large width.
942
+ * - 'parent': Inherits width from parent element.
943
+ */
944
+ profileMenuWidth: "default" | "sm" | "lg" | "parent";
945
+ /** Event handler for settings button click. */
946
+ onSettingsClick?: () => void;
947
+ /** Event handler for drawer expansion. */
948
+ onDrawerExpand?: (e: any) => void;
949
+ /** Specifies whether to keep the drawer open. */
950
+ keepOpen: boolean;
951
+ setKeepOpen: (value: boolean) => void;
952
+ /** Specifies additional actions for the drawer footer. */
953
+ DrawerFooterActions?: any;
954
+ /** Specifies the item that was clicked. */
955
+ clickedItem?: any;
956
+ /** Event handler for logo button click. */
957
+ onLogoClick?: () => void;
958
+ /** Text labels for various UI elements. */
959
+ texts?: {
960
+ /** Label for expand sidebar button. */
961
+ expandSidebar?: string;
962
+ /** Label for collapse sidebar button. */
963
+ collapseSidebar?: string;
964
+ };
965
+ };
966
+ declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
967
+
968
+ type DocsSidebarType = {
969
+ test?: any;
970
+ };
971
+ declare const DocsSidebar: React__default.FC<DocsSidebarType>;
972
+
908
973
  type ThirdPartyAuthTextsTypes = {
909
974
  continueWithGoogle?: string;
910
975
  continueWithTwitter?: string;
@@ -1527,4 +1592,4 @@ declare function useTabs(initialTab?: string): {
1527
1592
  handleTabChange: (index: any) => void;
1528
1593
  };
1529
1594
 
1530
- 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, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, LoginFormTextsTypes, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, RegisterFormTextsTypes, 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, useMediaQuery, useTabs, useToast, useWindowSize };
1595
+ 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, DestroyableCard, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, DocsSidebar, DropdownMenu, EmptyState, FeedbackEmoji, FeedbackForm, FeedbackRating, FileDropzone, HorizontalPricing, Input, InterfaceSettings, ItemCard, Label, LandingCard, LeadGenerator, LegalTexts, Loading, LoginForm, LoginFormTextsTypes, Logos, MenuItemType, NavMenuItem, Navbar, NavigationMenu, NavigationMenuLink, NewPasswordForm, NoPermission, NotFound, PhoneInput, PinInput, Popover, PopoverContent, PopoverTrigger, PricingCard, PricingPlans, Progress, Radio, RadioOptionsTypes, RegisterForm, RegisterFormTextsTypes, 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, useMediaQuery, useTabs, useToast, useWindowSize };