@sikka/hawa 0.1.86 → 0.1.88
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.d.mts +23 -4
- package/dist/index.d.ts +23 -4
- package/dist/index.js +404 -309
- package/dist/index.mjs +317 -242
- package/dist/styles.css +16 -66
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +17 -7
- package/src/blocks/AuthForms/CheckEmail.tsx +54 -0
- package/src/blocks/AuthForms/SignInForm.tsx +1 -1
- package/src/blocks/AuthForms/SignUpForm.tsx +1 -1
- package/src/blocks/AuthForms/index.ts +1 -0
- package/src/blocks/Misc/NoPermission.tsx +1 -5
- package/src/blocks/Payment/CreditCardForm.tsx +20 -19
- package/src/elements/Carousel.tsx +5 -155
- package/src/elements/DropdownMenu.tsx +5 -0
- package/src/elements/HawaAdCard.tsx +61 -23
- package/src/layout/Footer.tsx +50 -13
- package/src/styles.css +16 -66
- package/src/translations/ar.json +4 -1
- package/src/translations/en.json +4 -1
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;
|
|
@@ -696,7 +698,9 @@ type AdCardTypes = {
|
|
|
696
698
|
title: string;
|
|
697
699
|
description: string;
|
|
698
700
|
imageURL: string;
|
|
699
|
-
handleHide
|
|
701
|
+
handleHide?: any;
|
|
702
|
+
handleCantHide?: () => void;
|
|
703
|
+
canHide: boolean;
|
|
700
704
|
};
|
|
701
705
|
declare const HawaAdCard: FC<AdCardTypes>;
|
|
702
706
|
|
|
@@ -1032,6 +1036,8 @@ declare const AppSidebar: React__default.FC<Props>;
|
|
|
1032
1036
|
type FooterTypes = {
|
|
1033
1037
|
logoText?: string;
|
|
1034
1038
|
logoURL?: string;
|
|
1039
|
+
copyRights?: string;
|
|
1040
|
+
variation?: "default" | "minimal";
|
|
1035
1041
|
socialLinks?: {
|
|
1036
1042
|
twitter?: string;
|
|
1037
1043
|
instagram?: string;
|
|
@@ -1115,11 +1121,15 @@ type AppLandingTypes = {
|
|
|
1115
1121
|
handleSignUp: () => void;
|
|
1116
1122
|
handleLanguage: () => void;
|
|
1117
1123
|
handleColorMode: () => void;
|
|
1118
|
-
texts
|
|
1124
|
+
texts?: {
|
|
1119
1125
|
signIn: string;
|
|
1120
1126
|
signUp: string;
|
|
1121
1127
|
lang: string;
|
|
1128
|
+
newUserText?: string;
|
|
1129
|
+
createAccount?: string;
|
|
1122
1130
|
};
|
|
1131
|
+
withoutSignUp?: boolean;
|
|
1132
|
+
handleRouteToSignUp?: () => void;
|
|
1123
1133
|
size: "small" | "normal" | "full";
|
|
1124
1134
|
};
|
|
1125
1135
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
@@ -1307,6 +1317,16 @@ type TConfirmation = {
|
|
|
1307
1317
|
};
|
|
1308
1318
|
declare const CodeConfirmation: FC<TConfirmation>;
|
|
1309
1319
|
|
|
1320
|
+
type CheckEmailBlocks = {
|
|
1321
|
+
texts?: {
|
|
1322
|
+
checkEmail: string;
|
|
1323
|
+
resendEmail: string;
|
|
1324
|
+
pleaseVerify: string;
|
|
1325
|
+
};
|
|
1326
|
+
handleResend?: () => void;
|
|
1327
|
+
};
|
|
1328
|
+
declare const CheckEmail: FC<CheckEmailBlocks>;
|
|
1329
|
+
|
|
1310
1330
|
type SelectPaymentTypes = {
|
|
1311
1331
|
viaMada: boolean;
|
|
1312
1332
|
viaWallet: boolean;
|
|
@@ -1609,7 +1629,6 @@ type AnnouncementTypes = {
|
|
|
1609
1629
|
declare const Announcement: FC<AnnouncementTypes>;
|
|
1610
1630
|
|
|
1611
1631
|
type TNoPermission = {
|
|
1612
|
-
variant?: "outlined" | "contained" | "neobrutalism";
|
|
1613
1632
|
texts?: {
|
|
1614
1633
|
title: string;
|
|
1615
1634
|
subtitle: string;
|
|
@@ -1660,4 +1679,4 @@ declare function useToast(): {
|
|
|
1660
1679
|
toasts: ToasterToast[];
|
|
1661
1680
|
};
|
|
1662
1681
|
|
|
1663
|
-
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 };
|
|
1682
|
+
export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, 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;
|
|
@@ -696,7 +698,9 @@ type AdCardTypes = {
|
|
|
696
698
|
title: string;
|
|
697
699
|
description: string;
|
|
698
700
|
imageURL: string;
|
|
699
|
-
handleHide
|
|
701
|
+
handleHide?: any;
|
|
702
|
+
handleCantHide?: () => void;
|
|
703
|
+
canHide: boolean;
|
|
700
704
|
};
|
|
701
705
|
declare const HawaAdCard: FC<AdCardTypes>;
|
|
702
706
|
|
|
@@ -1032,6 +1036,8 @@ declare const AppSidebar: React__default.FC<Props>;
|
|
|
1032
1036
|
type FooterTypes = {
|
|
1033
1037
|
logoText?: string;
|
|
1034
1038
|
logoURL?: string;
|
|
1039
|
+
copyRights?: string;
|
|
1040
|
+
variation?: "default" | "minimal";
|
|
1035
1041
|
socialLinks?: {
|
|
1036
1042
|
twitter?: string;
|
|
1037
1043
|
instagram?: string;
|
|
@@ -1115,11 +1121,15 @@ type AppLandingTypes = {
|
|
|
1115
1121
|
handleSignUp: () => void;
|
|
1116
1122
|
handleLanguage: () => void;
|
|
1117
1123
|
handleColorMode: () => void;
|
|
1118
|
-
texts
|
|
1124
|
+
texts?: {
|
|
1119
1125
|
signIn: string;
|
|
1120
1126
|
signUp: string;
|
|
1121
1127
|
lang: string;
|
|
1128
|
+
newUserText?: string;
|
|
1129
|
+
createAccount?: string;
|
|
1122
1130
|
};
|
|
1131
|
+
withoutSignUp?: boolean;
|
|
1132
|
+
handleRouteToSignUp?: () => void;
|
|
1123
1133
|
size: "small" | "normal" | "full";
|
|
1124
1134
|
};
|
|
1125
1135
|
declare const AppLanding: FC<AppLandingTypes>;
|
|
@@ -1307,6 +1317,16 @@ type TConfirmation = {
|
|
|
1307
1317
|
};
|
|
1308
1318
|
declare const CodeConfirmation: FC<TConfirmation>;
|
|
1309
1319
|
|
|
1320
|
+
type CheckEmailBlocks = {
|
|
1321
|
+
texts?: {
|
|
1322
|
+
checkEmail: string;
|
|
1323
|
+
resendEmail: string;
|
|
1324
|
+
pleaseVerify: string;
|
|
1325
|
+
};
|
|
1326
|
+
handleResend?: () => void;
|
|
1327
|
+
};
|
|
1328
|
+
declare const CheckEmail: FC<CheckEmailBlocks>;
|
|
1329
|
+
|
|
1310
1330
|
type SelectPaymentTypes = {
|
|
1311
1331
|
viaMada: boolean;
|
|
1312
1332
|
viaWallet: boolean;
|
|
@@ -1609,7 +1629,6 @@ type AnnouncementTypes = {
|
|
|
1609
1629
|
declare const Announcement: FC<AnnouncementTypes>;
|
|
1610
1630
|
|
|
1611
1631
|
type TNoPermission = {
|
|
1612
|
-
variant?: "outlined" | "contained" | "neobrutalism";
|
|
1613
1632
|
texts?: {
|
|
1614
1633
|
title: string;
|
|
1615
1634
|
subtitle: string;
|
|
@@ -1660,4 +1679,4 @@ declare function useToast(): {
|
|
|
1660
1679
|
toasts: ToasterToast[];
|
|
1661
1680
|
};
|
|
1662
1681
|
|
|
1663
|
-
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 };
|
|
1682
|
+
export { ActionCard, Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckEmail, 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 };
|