@sikka/hawa 0.11.10-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 +103 -16
- package/dist/index.d.ts +103 -16
- package/dist/index.js +724 -695
- package/dist/index.mjs +561 -467
- package/package.json +6 -5
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
|
@@ -12,7 +12,6 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
12
12
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
13
13
|
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
14
14
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
15
|
-
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
16
15
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
17
16
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
18
17
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
@@ -64,7 +63,7 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
64
63
|
|
|
65
64
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
66
65
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
67
|
-
type SubItem$
|
|
66
|
+
type SubItem$3 = {
|
|
68
67
|
label?: string;
|
|
69
68
|
value?: any;
|
|
70
69
|
icon?: any;
|
|
@@ -82,7 +81,7 @@ type MenuItemType = {
|
|
|
82
81
|
itemType?: "separator" | "label" | string;
|
|
83
82
|
action?: () => void;
|
|
84
83
|
highlighted?: boolean;
|
|
85
|
-
subitems?: SubItem$
|
|
84
|
+
subitems?: SubItem$3[];
|
|
86
85
|
disabled?: boolean;
|
|
87
86
|
onMiddleClick?: any;
|
|
88
87
|
onClick?: any;
|
|
@@ -543,7 +542,11 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPri
|
|
|
543
542
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
544
543
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
545
544
|
|
|
546
|
-
|
|
545
|
+
type SeparatorProps = {
|
|
546
|
+
className?: string;
|
|
547
|
+
orientation?: "horizontal" | "vertical";
|
|
548
|
+
};
|
|
549
|
+
declare const Separator: React$1.FC<SeparatorProps>;
|
|
547
550
|
|
|
548
551
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
549
552
|
|
|
@@ -768,14 +771,14 @@ type StatTypes = {
|
|
|
768
771
|
};
|
|
769
772
|
declare const Stats: FC<StatTypes>;
|
|
770
773
|
|
|
771
|
-
type Item$
|
|
774
|
+
type Item$2 = {
|
|
772
775
|
value: string;
|
|
773
776
|
label: string;
|
|
774
777
|
icon?: any;
|
|
775
|
-
subitems?: SubItem$
|
|
778
|
+
subitems?: SubItem$2[];
|
|
776
779
|
onClick?: () => void;
|
|
777
780
|
};
|
|
778
|
-
type SubItem$
|
|
781
|
+
type SubItem$2 = {
|
|
779
782
|
value: string;
|
|
780
783
|
label: string;
|
|
781
784
|
icon?: any;
|
|
@@ -783,7 +786,7 @@ type SubItem$1 = {
|
|
|
783
786
|
};
|
|
784
787
|
interface SidebarGroupProps {
|
|
785
788
|
title?: string;
|
|
786
|
-
items: Item$
|
|
789
|
+
items: Item$2[];
|
|
787
790
|
openedItem?: any;
|
|
788
791
|
setOpenedItem?: any;
|
|
789
792
|
selectedItem?: any;
|
|
@@ -794,7 +797,7 @@ interface SidebarGroupProps {
|
|
|
794
797
|
}
|
|
795
798
|
declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
|
|
796
799
|
declare const SidebarItem: React$1.FC<{
|
|
797
|
-
item: Item$
|
|
800
|
+
item: Item$2;
|
|
798
801
|
selectedItem?: any;
|
|
799
802
|
direction?: "rtl" | "ltr";
|
|
800
803
|
onItemClick?: (value: string[]) => void;
|
|
@@ -802,10 +805,10 @@ declare const SidebarItem: React$1.FC<{
|
|
|
802
805
|
isOpen?: boolean;
|
|
803
806
|
}>;
|
|
804
807
|
|
|
805
|
-
type AppLayoutTypes = {
|
|
808
|
+
type AppLayoutTypes$1 = {
|
|
806
809
|
design?: "default" | "bubbles" | "floating";
|
|
807
810
|
/** The pages of the side drawer */
|
|
808
|
-
drawerItems: Item[];
|
|
811
|
+
drawerItems: Item$1[];
|
|
809
812
|
/** The direction of the layout */
|
|
810
813
|
direction?: "rtl" | "ltr";
|
|
811
814
|
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
@@ -866,20 +869,20 @@ type AppLayoutTypes = {
|
|
|
866
869
|
collapseSidebar?: string;
|
|
867
870
|
};
|
|
868
871
|
};
|
|
869
|
-
type Item = {
|
|
872
|
+
type Item$1 = {
|
|
870
873
|
value: string;
|
|
871
874
|
label: string;
|
|
872
875
|
icon?: any;
|
|
873
|
-
subitems?: SubItem[];
|
|
876
|
+
subitems?: SubItem$1[];
|
|
874
877
|
onClick?: () => void;
|
|
875
878
|
};
|
|
876
|
-
type SubItem = {
|
|
879
|
+
type SubItem$1 = {
|
|
877
880
|
value: string;
|
|
878
881
|
label: string;
|
|
879
882
|
icon?: any;
|
|
880
883
|
onClick?: () => void;
|
|
881
884
|
};
|
|
882
|
-
declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes>;
|
|
885
|
+
declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes$1>;
|
|
883
886
|
|
|
884
887
|
type CopyRightsTypes = {
|
|
885
888
|
/** A text used as the version of the app, for example: v1.0.0 */
|
|
@@ -902,6 +905,90 @@ type NavbarType = {
|
|
|
902
905
|
};
|
|
903
906
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
904
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
|
+
|
|
905
992
|
type ThirdPartyAuthTextsTypes = {
|
|
906
993
|
continueWithGoogle?: string;
|
|
907
994
|
continueWithTwitter?: string;
|
|
@@ -1524,4 +1611,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1524
1611
|
handleTabChange: (index: any) => void;
|
|
1525
1612
|
};
|
|
1526
1613
|
|
|
1527
|
-
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
|
@@ -12,7 +12,6 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
|
12
12
|
import * as SliderPrimitive from '@radix-ui/react-slider';
|
|
13
13
|
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
14
14
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
15
|
-
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
16
15
|
import * as ProgressPrimitive from '@radix-ui/react-progress';
|
|
17
16
|
import * as TabsPrimitive from '@radix-ui/react-tabs';
|
|
18
17
|
import * as ScrollAreaPrimitive from '@radix-ui/react-scroll-area';
|
|
@@ -64,7 +63,7 @@ declare const PricingCard: FC<PricingCardTypes>;
|
|
|
64
63
|
|
|
65
64
|
type ExtendedDropdownMenuContentProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>> & {};
|
|
66
65
|
type ExtendedDropdownMenuTriggerProps = Partial<React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Trigger>> & {};
|
|
67
|
-
type SubItem$
|
|
66
|
+
type SubItem$3 = {
|
|
68
67
|
label?: string;
|
|
69
68
|
value?: any;
|
|
70
69
|
icon?: any;
|
|
@@ -82,7 +81,7 @@ type MenuItemType = {
|
|
|
82
81
|
itemType?: "separator" | "label" | string;
|
|
83
82
|
action?: () => void;
|
|
84
83
|
highlighted?: boolean;
|
|
85
|
-
subitems?: SubItem$
|
|
84
|
+
subitems?: SubItem$3[];
|
|
86
85
|
disabled?: boolean;
|
|
87
86
|
onMiddleClick?: any;
|
|
88
87
|
onClick?: any;
|
|
@@ -543,7 +542,11 @@ declare const AccordionItem: React$1.ForwardRefExoticComponent<Omit<AccordionPri
|
|
|
543
542
|
declare const AccordionTrigger: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
544
543
|
declare const AccordionContent: React$1.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
545
544
|
|
|
546
|
-
|
|
545
|
+
type SeparatorProps = {
|
|
546
|
+
className?: string;
|
|
547
|
+
orientation?: "horizontal" | "vertical";
|
|
548
|
+
};
|
|
549
|
+
declare const Separator: React$1.FC<SeparatorProps>;
|
|
547
550
|
|
|
548
551
|
declare const Progress: React$1.ForwardRefExoticComponent<Omit<ProgressPrimitive.ProgressProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
549
552
|
|
|
@@ -768,14 +771,14 @@ type StatTypes = {
|
|
|
768
771
|
};
|
|
769
772
|
declare const Stats: FC<StatTypes>;
|
|
770
773
|
|
|
771
|
-
type Item$
|
|
774
|
+
type Item$2 = {
|
|
772
775
|
value: string;
|
|
773
776
|
label: string;
|
|
774
777
|
icon?: any;
|
|
775
|
-
subitems?: SubItem$
|
|
778
|
+
subitems?: SubItem$2[];
|
|
776
779
|
onClick?: () => void;
|
|
777
780
|
};
|
|
778
|
-
type SubItem$
|
|
781
|
+
type SubItem$2 = {
|
|
779
782
|
value: string;
|
|
780
783
|
label: string;
|
|
781
784
|
icon?: any;
|
|
@@ -783,7 +786,7 @@ type SubItem$1 = {
|
|
|
783
786
|
};
|
|
784
787
|
interface SidebarGroupProps {
|
|
785
788
|
title?: string;
|
|
786
|
-
items: Item$
|
|
789
|
+
items: Item$2[];
|
|
787
790
|
openedItem?: any;
|
|
788
791
|
setOpenedItem?: any;
|
|
789
792
|
selectedItem?: any;
|
|
@@ -794,7 +797,7 @@ interface SidebarGroupProps {
|
|
|
794
797
|
}
|
|
795
798
|
declare const SidebarGroup: React$1.FC<SidebarGroupProps>;
|
|
796
799
|
declare const SidebarItem: React$1.FC<{
|
|
797
|
-
item: Item$
|
|
800
|
+
item: Item$2;
|
|
798
801
|
selectedItem?: any;
|
|
799
802
|
direction?: "rtl" | "ltr";
|
|
800
803
|
onItemClick?: (value: string[]) => void;
|
|
@@ -802,10 +805,10 @@ declare const SidebarItem: React$1.FC<{
|
|
|
802
805
|
isOpen?: boolean;
|
|
803
806
|
}>;
|
|
804
807
|
|
|
805
|
-
type AppLayoutTypes = {
|
|
808
|
+
type AppLayoutTypes$1 = {
|
|
806
809
|
design?: "default" | "bubbles" | "floating";
|
|
807
810
|
/** The pages of the side drawer */
|
|
808
|
-
drawerItems: Item[];
|
|
811
|
+
drawerItems: Item$1[];
|
|
809
812
|
/** The direction of the layout */
|
|
810
813
|
direction?: "rtl" | "ltr";
|
|
811
814
|
/** The title of the current selected page, make sure it's the same as the drawerItem slug */
|
|
@@ -866,20 +869,20 @@ type AppLayoutTypes = {
|
|
|
866
869
|
collapseSidebar?: string;
|
|
867
870
|
};
|
|
868
871
|
};
|
|
869
|
-
type Item = {
|
|
872
|
+
type Item$1 = {
|
|
870
873
|
value: string;
|
|
871
874
|
label: string;
|
|
872
875
|
icon?: any;
|
|
873
|
-
subitems?: SubItem[];
|
|
876
|
+
subitems?: SubItem$1[];
|
|
874
877
|
onClick?: () => void;
|
|
875
878
|
};
|
|
876
|
-
type SubItem = {
|
|
879
|
+
type SubItem$1 = {
|
|
877
880
|
value: string;
|
|
878
881
|
label: string;
|
|
879
882
|
icon?: any;
|
|
880
883
|
onClick?: () => void;
|
|
881
884
|
};
|
|
882
|
-
declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes>;
|
|
885
|
+
declare const AppLayout: React__default.FunctionComponent<AppLayoutTypes$1>;
|
|
883
886
|
|
|
884
887
|
type CopyRightsTypes = {
|
|
885
888
|
/** A text used as the version of the app, for example: v1.0.0 */
|
|
@@ -902,6 +905,90 @@ type NavbarType = {
|
|
|
902
905
|
};
|
|
903
906
|
declare const Navbar: React__default.FC<NavbarType>;
|
|
904
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
|
+
|
|
905
992
|
type ThirdPartyAuthTextsTypes = {
|
|
906
993
|
continueWithGoogle?: string;
|
|
907
994
|
continueWithTwitter?: string;
|
|
@@ -1524,4 +1611,4 @@ declare function useTabs(initialTab?: string): {
|
|
|
1524
1611
|
handleTabChange: (index: any) => void;
|
|
1525
1612
|
};
|
|
1526
1613
|
|
|
1527
|
-
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 };
|