@sikka/hawa 0.1.85 → 0.1.87
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 +1 -1
- package/dist/index.d.mts +22 -2
- package/dist/index.d.ts +22 -2
- package/dist/index.js +814 -743
- package/dist/index.mjs +600 -531
- package/dist/styles.css +31 -65
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +17 -7
- package/src/blocks/AuthForms/SignInForm.tsx +1 -1
- package/src/blocks/AuthForms/SignUpForm.tsx +1 -1
- package/src/blocks/Payment/CreditCardForm.tsx +20 -19
- package/src/elements/ActionCard.tsx +64 -0
- package/src/elements/Carousel.tsx +5 -155
- package/src/elements/DropdownMenu.tsx +5 -0
- package/src/elements/index.ts +2 -0
- package/src/layout/Footer.tsx +50 -13
- package/src/styles.css +31 -65
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -171,6 +171,7 @@ type SubItem$2 = {
|
|
|
171
171
|
icon?: any;
|
|
172
172
|
action?: () => void;
|
|
173
173
|
highlighted?: boolean;
|
|
174
|
+
disabled?: boolean;
|
|
174
175
|
};
|
|
175
176
|
type MenuItemType = {
|
|
176
177
|
icon?: any;
|
|
@@ -181,6 +182,7 @@ type MenuItemType = {
|
|
|
181
182
|
action?: () => void;
|
|
182
183
|
highlighted?: boolean;
|
|
183
184
|
subitems?: SubItem$2[];
|
|
185
|
+
disabled?: boolean;
|
|
184
186
|
};
|
|
185
187
|
interface DropdownMenuProps {
|
|
186
188
|
trigger?: any;
|
|
@@ -743,6 +745,18 @@ type StoreButtonsTypes = {
|
|
|
743
745
|
};
|
|
744
746
|
declare const HawaStoreButtons: FC<StoreButtonsTypes>;
|
|
745
747
|
|
|
748
|
+
type ImageCardTypes = {
|
|
749
|
+
children: any;
|
|
750
|
+
align?: any;
|
|
751
|
+
bottomElement?: any;
|
|
752
|
+
inCardActions?: any;
|
|
753
|
+
cardImage?: string;
|
|
754
|
+
title?: string;
|
|
755
|
+
subtitle?: string;
|
|
756
|
+
blank?: boolean;
|
|
757
|
+
};
|
|
758
|
+
declare const ActionCard: FC<ImageCardTypes>;
|
|
759
|
+
|
|
746
760
|
declare const buttonVariants: (props?: {
|
|
747
761
|
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
|
|
748
762
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
@@ -1020,6 +1034,8 @@ declare const AppSidebar: React__default.FC<Props>;
|
|
|
1020
1034
|
type FooterTypes = {
|
|
1021
1035
|
logoText?: string;
|
|
1022
1036
|
logoURL?: string;
|
|
1037
|
+
copyRights?: string;
|
|
1038
|
+
variation?: "default" | "minimal";
|
|
1023
1039
|
socialLinks?: {
|
|
1024
1040
|
twitter?: string;
|
|
1025
1041
|
instagram?: string;
|
|
@@ -1103,11 +1119,15 @@ type AppLandingTypes = {
|
|
|
1103
1119
|
handleSignUp: () => void;
|
|
1104
1120
|
handleLanguage: () => void;
|
|
1105
1121
|
handleColorMode: () => void;
|
|
1106
|
-
texts
|
|
1122
|
+
texts?: {
|
|
1107
1123
|
signIn: string;
|
|
1108
1124
|
signUp: string;
|
|
1109
1125
|
lang: string;
|
|
1126
|
+
newUserText?: string;
|
|
1127
|
+
createAccount?: string;
|
|
1110
1128
|
};
|
|
1129
|
+
withoutSignUp?: boolean;
|
|
1130
|
+
handleRouteToSignUp?: () => void;
|
|
1111
1131
|
size: "small" | "normal" | "full";
|
|
1112
1132
|
};
|
|
1113
1133
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
@@ -1648,4 +1668,4 @@ declare function useToast(): {
|
|
|
1648
1668
|
toasts: ToasterToast[];
|
|
1649
1669
|
};
|
|
1650
1670
|
|
|
1651
|
-
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
|
|
1671
|
+
export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ type SubItem$2 = {
|
|
|
171
171
|
icon?: any;
|
|
172
172
|
action?: () => void;
|
|
173
173
|
highlighted?: boolean;
|
|
174
|
+
disabled?: boolean;
|
|
174
175
|
};
|
|
175
176
|
type MenuItemType = {
|
|
176
177
|
icon?: any;
|
|
@@ -181,6 +182,7 @@ type MenuItemType = {
|
|
|
181
182
|
action?: () => void;
|
|
182
183
|
highlighted?: boolean;
|
|
183
184
|
subitems?: SubItem$2[];
|
|
185
|
+
disabled?: boolean;
|
|
184
186
|
};
|
|
185
187
|
interface DropdownMenuProps {
|
|
186
188
|
trigger?: any;
|
|
@@ -743,6 +745,18 @@ type StoreButtonsTypes = {
|
|
|
743
745
|
};
|
|
744
746
|
declare const HawaStoreButtons: FC<StoreButtonsTypes>;
|
|
745
747
|
|
|
748
|
+
type ImageCardTypes = {
|
|
749
|
+
children: any;
|
|
750
|
+
align?: any;
|
|
751
|
+
bottomElement?: any;
|
|
752
|
+
inCardActions?: any;
|
|
753
|
+
cardImage?: string;
|
|
754
|
+
title?: string;
|
|
755
|
+
subtitle?: string;
|
|
756
|
+
blank?: boolean;
|
|
757
|
+
};
|
|
758
|
+
declare const ActionCard: FC<ImageCardTypes>;
|
|
759
|
+
|
|
746
760
|
declare const buttonVariants: (props?: {
|
|
747
761
|
variant?: "link" | "default" | "outline" | "light" | "secondary" | "destructive" | "ghost";
|
|
748
762
|
size?: "icon" | "default" | "sm" | "lg" | "xl" | "xs" | "heightless" | "smallIcon";
|
|
@@ -1020,6 +1034,8 @@ declare const AppSidebar: React__default.FC<Props>;
|
|
|
1020
1034
|
type FooterTypes = {
|
|
1021
1035
|
logoText?: string;
|
|
1022
1036
|
logoURL?: string;
|
|
1037
|
+
copyRights?: string;
|
|
1038
|
+
variation?: "default" | "minimal";
|
|
1023
1039
|
socialLinks?: {
|
|
1024
1040
|
twitter?: string;
|
|
1025
1041
|
instagram?: string;
|
|
@@ -1103,11 +1119,15 @@ type AppLandingTypes = {
|
|
|
1103
1119
|
handleSignUp: () => void;
|
|
1104
1120
|
handleLanguage: () => void;
|
|
1105
1121
|
handleColorMode: () => void;
|
|
1106
|
-
texts
|
|
1122
|
+
texts?: {
|
|
1107
1123
|
signIn: string;
|
|
1108
1124
|
signUp: string;
|
|
1109
1125
|
lang: string;
|
|
1126
|
+
newUserText?: string;
|
|
1127
|
+
createAccount?: string;
|
|
1110
1128
|
};
|
|
1129
|
+
withoutSignUp?: boolean;
|
|
1130
|
+
handleRouteToSignUp?: () => void;
|
|
1111
1131
|
size: "small" | "normal" | "full";
|
|
1112
1132
|
};
|
|
1113
1133
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
@@ -1648,4 +1668,4 @@ declare function useToast(): {
|
|
|
1648
1668
|
toasts: ToasterToast[];
|
|
1649
1669
|
};
|
|
1650
1670
|
|
|
1651
|
-
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
|
|
1671
|
+
export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, Dialog, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DragDropImages, DraggableCard, DropdownMenu, EmptyState, FloatingComment, FloatingCommentExec, FloatingCommentSlate, Footer, HawaAccordion, HawaAdCard, HawaAlert, HawaAppLayout, HawaAppLayoutSimplified, HawaBanner, HawaBottomAppBar, HawaButton, HawaCheckbox, HawaChip, HawaCodeBlock, HawaColorPicker, HawaContainer, HawaCopyrights, HawaDatepicker, HawaDropdownMenu, HawaGrid, HawaIconCount, HawaInlineCode, HawaItemCard, HawaLandingCard, HawaLoading, HawaMenu, HawaModal, HawaPanelTabs, HawaPhoneInput, HawaPinInput, HawaPricingCard, HawaRadio, HawaRange, HawaSearchBar, HawaSelect, HawaSettingsRow, HawaSiteLayout, HawaStats, HawaStepper, HawaStoreButtons, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, MenuItemType, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubItem$2 as SubItem, SubsectionList, Switch, Tabs, TabsContent, TabsList, TabsTrigger, Testimonial, Textarea, TextareaProps, Timeline, Toast$1 as Toast, ToastAction, ToastActionElement, ToastClose, ToastDescription, ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, UsageCard, UserFeedback, UserProfileForm, UserSettingsForm, buttonVariants, reducer, toast, useToast };
|