@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.
Files changed (41) hide show
  1. package/.github/{ISSUE_TEMPLATE.yml → ISSUE_TEMPLATE/1.bug_report.yml} +11 -4
  2. package/.github/ISSUE_TEMPLATE/custom.md +10 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. package/dist/index.d.mts +10 -11
  5. package/dist/index.d.ts +10 -11
  6. package/dist/index.js +864 -884
  7. package/dist/index.mjs +702 -685
  8. package/dist/styles.css +40 -16
  9. package/package.json +1 -1
  10. package/src/blocks/AuthForms/AppLanding.tsx +5 -5
  11. package/src/blocks/AuthForms/SignUpForm.tsx +3 -1
  12. package/src/blocks/Misc/EmptyState.tsx +1 -1
  13. package/src/blocks/Misc/NoPermission.tsx +1 -1
  14. package/src/blocks/Payment/SelectPayment.tsx +148 -47
  15. package/src/blocks/Pricing/ComparingPlans.tsx +1 -1
  16. package/src/blocks/Pricing/HorizontalPricing.tsx +5 -5
  17. package/src/blocks/Referral/ReferralAccount.tsx +2 -2
  18. package/src/blocks/Referral/ReferralSettlement.tsx +1 -1
  19. package/src/elements/Button.tsx +1 -0
  20. package/src/elements/Card.tsx +9 -11
  21. package/src/elements/DragDropImages.tsx +32 -4
  22. package/src/elements/DropdownMenu.tsx +6 -6
  23. package/src/elements/HawaCodeBlock.tsx +3 -3
  24. package/src/elements/HawaDropdownMenu.tsx +4 -4
  25. package/src/elements/HawaItemCard.tsx +2 -2
  26. package/src/elements/HawaRadio.tsx +3 -4
  27. package/src/elements/HawaStepper.tsx +1 -1
  28. package/src/elements/HawaTable.tsx +11 -11
  29. package/src/elements/InterfaceSettings.tsx +0 -5
  30. package/src/elements/InvoiceAccordion.tsx +4 -4
  31. package/src/elements/Select.tsx +3 -3
  32. package/src/elements/UsageCard.tsx +1 -1
  33. package/src/elements/UserFeedback.tsx +6 -3
  34. package/src/elements/index.ts +0 -1
  35. package/src/layout/AppLayout.tsx +57 -22
  36. package/src/layout/HawaAppLayout.tsx +6 -6
  37. package/src/layout/HawaAppLayoutSimplified.tsx +6 -6
  38. package/src/layout/HawaSiteLayout.tsx +3 -3
  39. package/src/layout/Sidebar.tsx +0 -2
  40. package/src/styles.css +40 -16
  41. 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,10 @@
1
+ ---
2
+ name: Custom issue template
3
+ about: Describe this issue template's purpose here.
4
+ title: ''
5
+ labels: ''
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+
@@ -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, HawaLogoButton, 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 };
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, HawaLogoButton, 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 };
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 };