@sikka/hawa 0.11.11-next → 0.11.12-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 +16 -0
- package/dist/index.d.mts +98 -14
- package/dist/index.d.ts +98 -14
- package/dist/index.js +577 -364
- package/dist/index.mjs +549 -258
- package/package.json +5 -4
package/dist/index.css
CHANGED
|
@@ -1139,6 +1139,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1139
1139
|
.hawa-h-\[44px\] {
|
|
1140
1140
|
height: 44px;
|
|
1141
1141
|
}
|
|
1142
|
+
.hawa-h-\[calc\(100dvh\)\] {
|
|
1143
|
+
height: calc(100dvh);
|
|
1144
|
+
}
|
|
1142
1145
|
.hawa-h-\[var\(--radix-navigation-menu-viewport-height\)\] {
|
|
1143
1146
|
height: var(--radix-navigation-menu-viewport-height);
|
|
1144
1147
|
}
|
|
@@ -1222,6 +1225,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1222
1225
|
.hawa-w-32 {
|
|
1223
1226
|
width: 8rem;
|
|
1224
1227
|
}
|
|
1228
|
+
.hawa-w-36 {
|
|
1229
|
+
width: 9rem;
|
|
1230
|
+
}
|
|
1225
1231
|
.hawa-w-4 {
|
|
1226
1232
|
width: 1rem;
|
|
1227
1233
|
}
|
|
@@ -1374,6 +1380,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1374
1380
|
.hawa-caption-bottom {
|
|
1375
1381
|
caption-side: bottom;
|
|
1376
1382
|
}
|
|
1383
|
+
.hawa-border-collapse {
|
|
1384
|
+
border-collapse: collapse;
|
|
1385
|
+
}
|
|
1377
1386
|
.hawa-origin-bottom {
|
|
1378
1387
|
transform-origin: bottom;
|
|
1379
1388
|
}
|
|
@@ -1766,6 +1775,9 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1766
1775
|
.hawa-border-l-0 {
|
|
1767
1776
|
border-left-width: 0px;
|
|
1768
1777
|
}
|
|
1778
|
+
.hawa-border-l-2 {
|
|
1779
|
+
border-left-width: 2px;
|
|
1780
|
+
}
|
|
1769
1781
|
.hawa-border-r {
|
|
1770
1782
|
border-right-width: 1px;
|
|
1771
1783
|
}
|
|
@@ -1811,6 +1823,10 @@ input[type="number"]::-webkit-inner-spin-button,
|
|
|
1811
1823
|
.hawa-border-primary {
|
|
1812
1824
|
border-color: hsl(var(--primary));
|
|
1813
1825
|
}
|
|
1826
|
+
.hawa-border-red-500 {
|
|
1827
|
+
--tw-border-opacity: 1;
|
|
1828
|
+
border-color: rgb(239 68 68 / var(--tw-border-opacity));
|
|
1829
|
+
}
|
|
1814
1830
|
.hawa-border-transparent {
|
|
1815
1831
|
border-color: transparent;
|
|
1816
1832
|
}
|
package/dist/index.d.mts
CHANGED
|
@@ -63,7 +63,7 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
63
63
|
|
|
64
64
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
65
65
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
66
|
-
type SubItem$
|
|
66
|
+
type SubItem$3 = {
|
|
67
67
|
label?: string;
|
|
68
68
|
value?: any;
|
|
69
69
|
icon?: any;
|
|
@@ -81,7 +81,7 @@ type MenuItemType = {
|
|
|
81
81
|
itemType?: "separator" | "label" | string;
|
|
82
82
|
action?: () => void;
|
|
83
83
|
highlighted?: boolean;
|
|
84
|
-
subitems?: SubItem$
|
|
84
|
+
subitems?: SubItem$3[];
|
|
85
85
|
disabled?: boolean;
|
|
86
86
|
onMiddleClick?: any;
|
|
87
87
|
onClick?: any;
|
|
@@ -771,14 +771,14 @@ type StatTypes = {
|
|
|
771
771
|
};
|
|
772
772
|
declare const Stats: FC<StatTypes>;
|
|
773
773
|
|
|
774
|
-
type Item$
|
|
774
|
+
type Item$2 = {
|
|
775
775
|
value: string;
|
|
776
776
|
label: string;
|
|
777
777
|
icon?: any;
|
|
778
|
-
subitems?: SubItem$
|
|
778
|
+
subitems?: SubItem$2[];
|
|
779
779
|
onClick?: () => void;
|
|
780
780
|
};
|
|
781
|
-
type SubItem$
|
|
781
|
+
type SubItem$2 = {
|
|
782
782
|
value: string;
|
|
783
783
|
label: string;
|
|
784
784
|
icon?: any;
|
|
@@ -786,7 +786,7 @@ type SubItem$1 = {
|
|
|
786
786
|
};
|
|
787
787
|
interface SidebarGroupProps {
|
|
788
788
|
title?: string;
|
|
789
|
-
items: Item$
|
|
789
|
+
items: Item$2[];
|
|
790
790
|
openedItem?: any;
|
|
791
791
|
setOpenedItem?: any;
|
|
792
792
|
selectedItem?: any;
|
|
@@ -797,7 +797,7 @@ interface SidebarGroupProps {
|
|
|
797
797
|
}
|
|
798
798
|
declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
|
|
799
799
|
declare const SidebarItem: React$1.FC<{
|
|
800
|
-
item: Item$
|
|
800
|
+
item: Item$2;
|
|
801
801
|
selectedItem?: any;
|
|
802
802
|
direction?: "rtl" | "ltr";
|
|
803
803
|
onItemClick?: (value: string[]) => void;
|
|
@@ -805,10 +805,10 @@ 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
|
-
drawerItems: Item[];
|
|
811
|
+
drawerItems: Item$1[];
|
|
812
812
|
/** The direction of the layout */
|
|
813
813
|
direction?: "rtl" | "ltr";
|
|
814
814
|
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
@@ -869,20 +869,20 @@ type AppLayoutTypes = {
|
|
|
869
869
|
collapseSidebar?: string;
|
|
870
870
|
};
|
|
871
871
|
};
|
|
872
|
-
type Item = {
|
|
872
|
+
type Item$1 = {
|
|
873
873
|
value: string;
|
|
874
874
|
label: string;
|
|
875
875
|
icon?: any;
|
|
876
|
-
subitems?: SubItem[];
|
|
876
|
+
subitems?: SubItem$1[];
|
|
877
877
|
onClick?: () => void;
|
|
878
878
|
};
|
|
879
|
-
type SubItem = {
|
|
879
|
+
type SubItem$1 = {
|
|
880
880
|
value: string;
|
|
881
881
|
label: string;
|
|
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,90 @@ type NavbarType = {
|
|
|
905
905
|
};
|
|
906
906
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
907
907
|
|
|
908
|
+
type AppLayoutTypes = {
|
|
909
|
+
design?: "default" | "bubbles" | "floating";
|
|
910
|
+
/** The pages of the side drawer */
|
|
911
|
+
drawerItems: Item[];
|
|
912
|
+
/** The direction of the layout */
|
|
913
|
+
direction?: "rtl" | "ltr";
|
|
914
|
+
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
915
|
+
currentPage: string;
|
|
916
|
+
/** Specifies the title of the page. */
|
|
917
|
+
pageTitle?: string;
|
|
918
|
+
/** Specifies the symbol for the logo. */
|
|
919
|
+
logoSymbol?: any;
|
|
920
|
+
/** Specifies the link for the logo. */
|
|
921
|
+
logoLink?: string;
|
|
922
|
+
/** Specifies the text for the logo. */
|
|
923
|
+
logoText?: any;
|
|
924
|
+
/** Specifies the content to be displayed in the layout. */
|
|
925
|
+
children?: any;
|
|
926
|
+
/** Specifies whether to display the top bar. */
|
|
927
|
+
topBar?: boolean;
|
|
928
|
+
/** Specifies the username to be displayed. */
|
|
929
|
+
username?: string;
|
|
930
|
+
/** Specifies the user email to be displayed. */
|
|
931
|
+
email?: string;
|
|
932
|
+
/** Specifies the image for the avatar. */
|
|
933
|
+
avatarImage?: any;
|
|
934
|
+
/**
|
|
935
|
+
* Specifies the size of the drawer.
|
|
936
|
+
* - 'sm': Small.
|
|
937
|
+
* - 'md': Medium.
|
|
938
|
+
* - 'large': Large.
|
|
939
|
+
*/
|
|
940
|
+
drawerSize?: "sm" | "md" | "large";
|
|
941
|
+
/** Specifies the menu items for the profile menu. */
|
|
942
|
+
profileMenuItems?: MenuItemType[];
|
|
943
|
+
/**
|
|
944
|
+
* Specifies the width of the profile menu.
|
|
945
|
+
* - 'default': Default width.
|
|
946
|
+
* - 'sm': Small width.
|
|
947
|
+
* - 'lg': Large width.
|
|
948
|
+
* - 'parent': Inherits width from parent element.
|
|
949
|
+
*/
|
|
950
|
+
profileMenuWidth: "default" | "sm" | "lg" | "parent";
|
|
951
|
+
/** Event handler for settings button click. */
|
|
952
|
+
onSettingsClick?: () => void;
|
|
953
|
+
/** Event handler for drawer expansion. */
|
|
954
|
+
onDrawerExpand?: (e: any) => void;
|
|
955
|
+
/** Specifies whether to keep the drawer open. */
|
|
956
|
+
keepOpen: boolean;
|
|
957
|
+
setKeepOpen: (value: boolean) => void;
|
|
958
|
+
/** Specifies additional actions for the drawer footer. */
|
|
959
|
+
DrawerFooterActions?: any;
|
|
960
|
+
/** Specifies the item that was clicked. */
|
|
961
|
+
clickedItem?: any;
|
|
962
|
+
/** Event handler for logo button click. */
|
|
963
|
+
onLogoClick?: () => void;
|
|
964
|
+
/** Text labels for various UI elements. */
|
|
965
|
+
texts?: {
|
|
966
|
+
/** Label for expand sidebar button. */
|
|
967
|
+
expandSidebar?: string;
|
|
968
|
+
/** Label for collapse sidebar button. */
|
|
969
|
+
collapseSidebar?: string;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
type Item = {
|
|
973
|
+
value: string;
|
|
974
|
+
label: string;
|
|
975
|
+
icon?: any;
|
|
976
|
+
subitems?: SubItem[];
|
|
977
|
+
onClick?: () => void;
|
|
978
|
+
};
|
|
979
|
+
type SubItem = {
|
|
980
|
+
value: string;
|
|
981
|
+
label: string;
|
|
982
|
+
icon?: any;
|
|
983
|
+
onClick?: () => void;
|
|
984
|
+
};
|
|
985
|
+
declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
|
|
986
|
+
|
|
987
|
+
type DocsSidebarType = {
|
|
988
|
+
test?: any;
|
|
989
|
+
};
|
|
990
|
+
declare const DocsSidebar: React__default.FC<DocsSidebarType>;
|
|
991
|
+
|
|
908
992
|
type ThirdPartyAuthTextsTypes = {
|
|
909
993
|
continueWithGoogle?: string;
|
|
910
994
|
continueWithTwitter?: string;
|
|
@@ -1527,4 +1611,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1527
1611
|
handleTabChange: (index: any) => void;
|
|
1528
1612
|
};
|
|
1529
1613
|
|
|
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$
|
|
1614
|
+
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$3 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
|
@@ -63,7 +63,7 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
63
63
|
|
|
64
64
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
65
65
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
66
|
-
type SubItem$
|
|
66
|
+
type SubItem$3 = {
|
|
67
67
|
label?: string;
|
|
68
68
|
value?: any;
|
|
69
69
|
icon?: any;
|
|
@@ -81,7 +81,7 @@ type MenuItemType = {
|
|
|
81
81
|
itemType?: "separator" | "label" | string;
|
|
82
82
|
action?: () => void;
|
|
83
83
|
highlighted?: boolean;
|
|
84
|
-
subitems?: SubItem$
|
|
84
|
+
subitems?: SubItem$3[];
|
|
85
85
|
disabled?: boolean;
|
|
86
86
|
onMiddleClick?: any;
|
|
87
87
|
onClick?: any;
|
|
@@ -771,14 +771,14 @@ type StatTypes = {
|
|
|
771
771
|
};
|
|
772
772
|
declare const Stats: FC<StatTypes>;
|
|
773
773
|
|
|
774
|
-
type Item$
|
|
774
|
+
type Item$2 = {
|
|
775
775
|
value: string;
|
|
776
776
|
label: string;
|
|
777
777
|
icon?: any;
|
|
778
|
-
subitems?: SubItem$
|
|
778
|
+
subitems?: SubItem$2[];
|
|
779
779
|
onClick?: () => void;
|
|
780
780
|
};
|
|
781
|
-
type SubItem$
|
|
781
|
+
type SubItem$2 = {
|
|
782
782
|
value: string;
|
|
783
783
|
label: string;
|
|
784
784
|
icon?: any;
|
|
@@ -786,7 +786,7 @@ type SubItem$1 = {
|
|
|
786
786
|
};
|
|
787
787
|
interface SidebarGroupProps {
|
|
788
788
|
title?: string;
|
|
789
|
-
items: Item$
|
|
789
|
+
items: Item$2[];
|
|
790
790
|
openedItem?: any;
|
|
791
791
|
setOpenedItem?: any;
|
|
792
792
|
selectedItem?: any;
|
|
@@ -797,7 +797,7 @@ interface SidebarGroupProps {
|
|
|
797
797
|
}
|
|
798
798
|
declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
|
|
799
799
|
declare const SidebarItem: React$1.FC<{
|
|
800
|
-
item: Item$
|
|
800
|
+
item: Item$2;
|
|
801
801
|
selectedItem?: any;
|
|
802
802
|
direction?: "rtl" | "ltr";
|
|
803
803
|
onItemClick?: (value: string[]) => void;
|
|
@@ -805,10 +805,10 @@ 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
|
-
drawerItems: Item[];
|
|
811
|
+
drawerItems: Item$1[];
|
|
812
812
|
/** The direction of the layout */
|
|
813
813
|
direction?: "rtl" | "ltr";
|
|
814
814
|
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
@@ -869,20 +869,20 @@ type AppLayoutTypes = {
|
|
|
869
869
|
collapseSidebar?: string;
|
|
870
870
|
};
|
|
871
871
|
};
|
|
872
|
-
type Item = {
|
|
872
|
+
type Item$1 = {
|
|
873
873
|
value: string;
|
|
874
874
|
label: string;
|
|
875
875
|
icon?: any;
|
|
876
|
-
subitems?: SubItem[];
|
|
876
|
+
subitems?: SubItem$1[];
|
|
877
877
|
onClick?: () => void;
|
|
878
878
|
};
|
|
879
|
-
type SubItem = {
|
|
879
|
+
type SubItem$1 = {
|
|
880
880
|
value: string;
|
|
881
881
|
label: string;
|
|
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,90 @@ type NavbarType = {
|
|
|
905
905
|
};
|
|
906
906
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
907
907
|
|
|
908
|
+
type AppLayoutTypes = {
|
|
909
|
+
design?: "default" | "bubbles" | "floating";
|
|
910
|
+
/** The pages of the side drawer */
|
|
911
|
+
drawerItems: Item[];
|
|
912
|
+
/** The direction of the layout */
|
|
913
|
+
direction?: "rtl" | "ltr";
|
|
914
|
+
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
915
|
+
currentPage: string;
|
|
916
|
+
/** Specifies the title of the page. */
|
|
917
|
+
pageTitle?: string;
|
|
918
|
+
/** Specifies the symbol for the logo. */
|
|
919
|
+
logoSymbol?: any;
|
|
920
|
+
/** Specifies the link for the logo. */
|
|
921
|
+
logoLink?: string;
|
|
922
|
+
/** Specifies the text for the logo. */
|
|
923
|
+
logoText?: any;
|
|
924
|
+
/** Specifies the content to be displayed in the layout. */
|
|
925
|
+
children?: any;
|
|
926
|
+
/** Specifies whether to display the top bar. */
|
|
927
|
+
topBar?: boolean;
|
|
928
|
+
/** Specifies the username to be displayed. */
|
|
929
|
+
username?: string;
|
|
930
|
+
/** Specifies the user email to be displayed. */
|
|
931
|
+
email?: string;
|
|
932
|
+
/** Specifies the image for the avatar. */
|
|
933
|
+
avatarImage?: any;
|
|
934
|
+
/**
|
|
935
|
+
* Specifies the size of the drawer.
|
|
936
|
+
* - 'sm': Small.
|
|
937
|
+
* - 'md': Medium.
|
|
938
|
+
* - 'large': Large.
|
|
939
|
+
*/
|
|
940
|
+
drawerSize?: "sm" | "md" | "large";
|
|
941
|
+
/** Specifies the menu items for the profile menu. */
|
|
942
|
+
profileMenuItems?: MenuItemType[];
|
|
943
|
+
/**
|
|
944
|
+
* Specifies the width of the profile menu.
|
|
945
|
+
* - 'default': Default width.
|
|
946
|
+
* - 'sm': Small width.
|
|
947
|
+
* - 'lg': Large width.
|
|
948
|
+
* - 'parent': Inherits width from parent element.
|
|
949
|
+
*/
|
|
950
|
+
profileMenuWidth: "default" | "sm" | "lg" | "parent";
|
|
951
|
+
/** Event handler for settings button click. */
|
|
952
|
+
onSettingsClick?: () => void;
|
|
953
|
+
/** Event handler for drawer expansion. */
|
|
954
|
+
onDrawerExpand?: (e: any) => void;
|
|
955
|
+
/** Specifies whether to keep the drawer open. */
|
|
956
|
+
keepOpen: boolean;
|
|
957
|
+
setKeepOpen: (value: boolean) => void;
|
|
958
|
+
/** Specifies additional actions for the drawer footer. */
|
|
959
|
+
DrawerFooterActions?: any;
|
|
960
|
+
/** Specifies the item that was clicked. */
|
|
961
|
+
clickedItem?: any;
|
|
962
|
+
/** Event handler for logo button click. */
|
|
963
|
+
onLogoClick?: () => void;
|
|
964
|
+
/** Text labels for various UI elements. */
|
|
965
|
+
texts?: {
|
|
966
|
+
/** Label for expand sidebar button. */
|
|
967
|
+
expandSidebar?: string;
|
|
968
|
+
/** Label for collapse sidebar button. */
|
|
969
|
+
collapseSidebar?: string;
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
type Item = {
|
|
973
|
+
value: string;
|
|
974
|
+
label: string;
|
|
975
|
+
icon?: any;
|
|
976
|
+
subitems?: SubItem[];
|
|
977
|
+
onClick?: () => void;
|
|
978
|
+
};
|
|
979
|
+
type SubItem = {
|
|
980
|
+
value: string;
|
|
981
|
+
label: string;
|
|
982
|
+
icon?: any;
|
|
983
|
+
onClick?: () => void;
|
|
984
|
+
};
|
|
985
|
+
declare const DocsLayout: React__default.FunctionComponent<AppLayoutTypes>;
|
|
986
|
+
|
|
987
|
+
type DocsSidebarType = {
|
|
988
|
+
test?: any;
|
|
989
|
+
};
|
|
990
|
+
declare const DocsSidebar: React__default.FC<DocsSidebarType>;
|
|
991
|
+
|
|
908
992
|
type ThirdPartyAuthTextsTypes = {
|
|
909
993
|
continueWithGoogle?: string;
|
|
910
994
|
continueWithTwitter?: string;
|
|
@@ -1527,4 +1611,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1527
1611
|
handleTabChange: (index: any) => void;
|
|
1528
1612
|
};
|
|
1529
1613
|
|
|
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$
|
|
1614
|
+
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$3 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 };
|