@sikka/hawa 0.1.56 → 0.1.58
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/.github/{ISSUE_TEMPLATE.yml → ISSUE_TEMPLATE/1.bug_report.yml} +11 -4
- package/.github/ISSUE_TEMPLATE/custom.md +10 -0
- package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
- package/dist/index.d.mts +10 -11
- package/dist/index.d.ts +10 -11
- package/dist/index.js +864 -884
- package/dist/index.mjs +702 -685
- package/dist/styles.css +40 -16
- package/package.json +1 -1
- package/src/blocks/AuthForms/AppLanding.tsx +5 -5
- package/src/blocks/AuthForms/SignUpForm.tsx +3 -1
- package/src/blocks/Misc/EmptyState.tsx +1 -1
- package/src/blocks/Misc/NoPermission.tsx +1 -1
- package/src/blocks/Payment/SelectPayment.tsx +148 -47
- package/src/blocks/Pricing/ComparingPlans.tsx +1 -1
- package/src/blocks/Pricing/HorizontalPricing.tsx +5 -5
- package/src/blocks/Referral/ReferralAccount.tsx +2 -2
- package/src/blocks/Referral/ReferralSettlement.tsx +1 -1
- package/src/elements/Button.tsx +1 -0
- package/src/elements/Card.tsx +9 -11
- package/src/elements/DragDropImages.tsx +32 -4
- package/src/elements/DropdownMenu.tsx +6 -6
- package/src/elements/HawaCodeBlock.tsx +3 -3
- package/src/elements/HawaDropdownMenu.tsx +4 -4
- package/src/elements/HawaItemCard.tsx +2 -2
- package/src/elements/HawaRadio.tsx +3 -4
- package/src/elements/HawaStepper.tsx +1 -1
- package/src/elements/HawaTable.tsx +11 -11
- package/src/elements/InterfaceSettings.tsx +0 -5
- package/src/elements/InvoiceAccordion.tsx +4 -4
- package/src/elements/Select.tsx +3 -3
- package/src/elements/UsageCard.tsx +1 -1
- package/src/elements/UserFeedback.tsx +6 -3
- package/src/elements/index.ts +0 -1
- package/src/layout/AppLayout.tsx +57 -22
- package/src/layout/HawaAppLayout.tsx +6 -6
- package/src/layout/HawaAppLayoutSimplified.tsx +6 -6
- package/src/layout/HawaSiteLayout.tsx +3 -3
- package/src/layout/Sidebar.tsx +0 -2
- package/src/styles.css +40 -16
- package/src/elements/HawaLogoButton.tsx +0 -154
|
@@ -80,6 +80,17 @@ body:
|
|
|
80
80
|
- 'Other'
|
|
81
81
|
validations:
|
|
82
82
|
required: true
|
|
83
|
+
- type: dropdown
|
|
84
|
+
attributes:
|
|
85
|
+
label: Which section is the component from?
|
|
86
|
+
multiple: false
|
|
87
|
+
options:
|
|
88
|
+
- 'Blocks'
|
|
89
|
+
- 'Layout'
|
|
90
|
+
- 'Elements'
|
|
91
|
+
- 'Other'
|
|
92
|
+
validations:
|
|
93
|
+
required: false
|
|
83
94
|
- type: textarea
|
|
84
95
|
attributes:
|
|
85
96
|
label: Additional context
|
|
@@ -87,7 +98,3 @@ body:
|
|
|
87
98
|
Any extra information that might help us investigate. For example, browser details, hosting platform, etc. Also, if possible, pinpoint the version that introduced the issue to help narrow down the scope.
|
|
88
99
|
placeholder: |
|
|
89
100
|
The issue seems to have started from version 1.0.1. I tested it on both Chrome and Firefox, and the issue persists on both browsers.
|
|
90
|
-
|
|
91
|
-
or
|
|
92
|
-
|
|
93
|
-
I am hosting the application on Vercel, and the issue seems to be specific to the hosted version, as I cannot reproduce it locally.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: Feature request
|
|
3
|
+
about: Suggest an idea for this project
|
|
4
|
+
title: ''
|
|
5
|
+
labels: ''
|
|
6
|
+
assignees: ''
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
**Is your feature request related to a problem? Please describe.**
|
|
11
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
|
12
|
+
|
|
13
|
+
**Describe the solution you'd like**
|
|
14
|
+
A clear and concise description of what you want to happen.
|
|
15
|
+
|
|
16
|
+
**Describe alternatives you've considered**
|
|
17
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
|
18
|
+
|
|
19
|
+
**Additional context**
|
|
20
|
+
Add any other context or screenshots about the feature request here.
|
package/dist/index.d.mts
CHANGED
|
@@ -418,6 +418,9 @@ type DragDropImagesTypes = {
|
|
|
418
418
|
onClearFiles: any;
|
|
419
419
|
maxSize: number;
|
|
420
420
|
errorMessages: string;
|
|
421
|
+
disclaimer?: boolean;
|
|
422
|
+
termsLink?: string;
|
|
423
|
+
privacyLink?: string;
|
|
421
424
|
/** The translation object, use this to replace the default text with any translated text you want.*/
|
|
422
425
|
texts: {
|
|
423
426
|
errorUploading: any;
|
|
@@ -427,6 +430,10 @@ type DragDropImagesTypes = {
|
|
|
427
430
|
fileTooLarge: any;
|
|
428
431
|
acceptedFileTypes: any;
|
|
429
432
|
invalidFileType: any;
|
|
433
|
+
terms?: string;
|
|
434
|
+
privacyPolicy?: string;
|
|
435
|
+
disclaimer?: string;
|
|
436
|
+
and?: string;
|
|
430
437
|
};
|
|
431
438
|
};
|
|
432
439
|
declare const DragDropImages: React__default.FunctionComponent<DragDropImagesTypes>;
|
|
@@ -735,18 +742,9 @@ type StoreButtonsTypes = {
|
|
|
735
742
|
};
|
|
736
743
|
declare const HawaStoreButtons: FC<StoreButtonsTypes>;
|
|
737
744
|
|
|
738
|
-
type LogoButtonTypes = {
|
|
739
|
-
lang?: any;
|
|
740
|
-
logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
|
|
741
|
-
onClick?: any;
|
|
742
|
-
buttonText?: any;
|
|
743
|
-
direction?: "rtl" | "ltr";
|
|
744
|
-
};
|
|
745
|
-
declare const HawaLogoButton: FC<LogoButtonTypes>;
|
|
746
|
-
|
|
747
745
|
declare const buttonVariants: (props?: {
|
|
748
746
|
variant?: "link" | "default" | "secondary" | "light" | "outline" | "destructive" | "ghost";
|
|
749
|
-
size?: "sm" | "lg" | "xl" | "default" | "xs" | "icon" | "smallIcon";
|
|
747
|
+
size?: "sm" | "lg" | "xl" | "default" | "xs" | "icon" | "heightless" | "smallIcon";
|
|
750
748
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
751
749
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
752
750
|
asChild?: boolean;
|
|
@@ -905,6 +903,7 @@ type HawaSiteLayoutTypes = {
|
|
|
905
903
|
declare const HawaSiteLayout: React__default.FunctionComponent<HawaSiteLayoutTypes>;
|
|
906
904
|
|
|
907
905
|
type AppLayoutTypes = {
|
|
906
|
+
design?: "default" | "bubbles" | "floating";
|
|
908
907
|
/** The pages of the side drawer */
|
|
909
908
|
drawerItems: Item$2[];
|
|
910
909
|
direction?: "rtl" | "ltr";
|
|
@@ -1683,4 +1682,4 @@ declare function useToast(): {
|
|
|
1683
1682
|
toasts: ToasterToast[];
|
|
1684
1683
|
};
|
|
1685
1684
|
|
|
1686
|
-
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, 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,
|
|
1685
|
+
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, 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, HawaSnackbar, HawaStats, HawaStepper, HawaStoreButtons, HawaSwitch, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubsectionList, 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
|
@@ -418,6 +418,9 @@ type DragDropImagesTypes = {
|
|
|
418
418
|
onClearFiles: any;
|
|
419
419
|
maxSize: number;
|
|
420
420
|
errorMessages: string;
|
|
421
|
+
disclaimer?: boolean;
|
|
422
|
+
termsLink?: string;
|
|
423
|
+
privacyLink?: string;
|
|
421
424
|
/** The translation object, use this to replace the default text with any translated text you want.*/
|
|
422
425
|
texts: {
|
|
423
426
|
errorUploading: any;
|
|
@@ -427,6 +430,10 @@ type DragDropImagesTypes = {
|
|
|
427
430
|
fileTooLarge: any;
|
|
428
431
|
acceptedFileTypes: any;
|
|
429
432
|
invalidFileType: any;
|
|
433
|
+
terms?: string;
|
|
434
|
+
privacyPolicy?: string;
|
|
435
|
+
disclaimer?: string;
|
|
436
|
+
and?: string;
|
|
430
437
|
};
|
|
431
438
|
};
|
|
432
439
|
declare const DragDropImages: React__default.FunctionComponent<DragDropImagesTypes>;
|
|
@@ -735,18 +742,9 @@ type StoreButtonsTypes = {
|
|
|
735
742
|
};
|
|
736
743
|
declare const HawaStoreButtons: FC<StoreButtonsTypes>;
|
|
737
744
|
|
|
738
|
-
type LogoButtonTypes = {
|
|
739
|
-
lang?: any;
|
|
740
|
-
logo?: "google" | "github" | "twitter" | "wallet" | "googlepay" | "applepay" | "stcpay" | "visa/master" | "paypal" | "mada";
|
|
741
|
-
onClick?: any;
|
|
742
|
-
buttonText?: any;
|
|
743
|
-
direction?: "rtl" | "ltr";
|
|
744
|
-
};
|
|
745
|
-
declare const HawaLogoButton: FC<LogoButtonTypes>;
|
|
746
|
-
|
|
747
745
|
declare const buttonVariants: (props?: {
|
|
748
746
|
variant?: "link" | "default" | "secondary" | "light" | "outline" | "destructive" | "ghost";
|
|
749
|
-
size?: "sm" | "lg" | "xl" | "default" | "xs" | "icon" | "smallIcon";
|
|
747
|
+
size?: "sm" | "lg" | "xl" | "default" | "xs" | "icon" | "heightless" | "smallIcon";
|
|
750
748
|
} & class_variance_authority_dist_types.ClassProp) => string;
|
|
751
749
|
interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
752
750
|
asChild?: boolean;
|
|
@@ -905,6 +903,7 @@ type HawaSiteLayoutTypes = {
|
|
|
905
903
|
declare const HawaSiteLayout: React__default.FunctionComponent<HawaSiteLayoutTypes>;
|
|
906
904
|
|
|
907
905
|
type AppLayoutTypes = {
|
|
906
|
+
design?: "default" | "bubbles" | "floating";
|
|
908
907
|
/** The pages of the side drawer */
|
|
909
908
|
drawerItems: Item$2[];
|
|
910
909
|
direction?: "rtl" | "ltr";
|
|
@@ -1683,4 +1682,4 @@ declare function useToast(): {
|
|
|
1683
1682
|
toasts: ToasterToast[];
|
|
1684
1683
|
};
|
|
1685
1684
|
|
|
1686
|
-
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, 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,
|
|
1685
|
+
export { Announcement, AppLanding, AppLayout, AppSidebar, ArrowCarousel, BackToTop, Box, Button, ButtonProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, ChargeWalletForm, CheckoutForm, CodeConfirmation, ComparingPlans, ConfirmationPage, CreditCardForm, 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, HawaSnackbar, HawaStats, HawaStepper, HawaStoreButtons, HawaSwitch, HawaTable, HawaTabs, HawaTextField, HawaTooltip, HawaTypography, HorizontalPricing, Input, InputProps, InterfaceSettings, InvoiceAccordion, Label, LeadGenerator, NewPasswordForm, NoPermission, NotFound, PayWithWallet, Popover, PricingPlans, ReferralAccount, ReferralSettlement, ReferralStats, ResetPasswordForm, SelectPayment, Separator, SidebarGroup, SidebarItem, SignInBlock, SignInForm, SignInPhone, SignUpForm, Skeleton, SubsectionList, 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 };
|