@sikka/hawa 0.0.211 → 0.0.213

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 (67) hide show
  1. package/dist/styles.css +49 -59
  2. package/es/blocks/Misc/Newsletter.d.ts +1 -0
  3. package/es/blocks/Misc/NotFound.d.ts +5 -0
  4. package/es/blocks/Pricing/ComparingPlans.d.ts +1 -0
  5. package/es/elements/HawaPanelTabs.d.ts +4 -1
  6. package/es/elements/HawaRange.d.ts +1 -1
  7. package/es/elements/HawaSelect.d.ts +5 -5
  8. package/es/elements/HawaSettingsRow.d.ts +1 -1
  9. package/es/elements/HawaSwitch.d.ts +1 -0
  10. package/es/elements/InvoiceAccordion.d.ts +4 -4
  11. package/es/index.es.js +1 -1
  12. package/es/layout/AppSidebar.d.ts +1 -1
  13. package/lib/blocks/Misc/Newsletter.d.ts +1 -0
  14. package/lib/blocks/Misc/NotFound.d.ts +5 -0
  15. package/lib/blocks/Pricing/ComparingPlans.d.ts +1 -0
  16. package/lib/elements/HawaPanelTabs.d.ts +4 -1
  17. package/lib/elements/HawaRange.d.ts +1 -1
  18. package/lib/elements/HawaSelect.d.ts +5 -5
  19. package/lib/elements/HawaSettingsRow.d.ts +1 -1
  20. package/lib/elements/HawaSwitch.d.ts +1 -0
  21. package/lib/elements/InvoiceAccordion.d.ts +4 -4
  22. package/lib/index.js +1 -1
  23. package/lib/layout/AppSidebar.d.ts +1 -1
  24. package/package.json +1 -1
  25. package/src/blocks/AuthForms/CodeConfirmation.tsx +1 -7
  26. package/src/blocks/Misc/EmptyState.tsx +1 -0
  27. package/src/blocks/Misc/Newsletter.tsx +8 -3
  28. package/src/blocks/Misc/NotFound.tsx +11 -3
  29. package/src/blocks/Payment/ChargeWalletForm.tsx +23 -14
  30. package/src/blocks/Payment/CheckoutForm.tsx +1 -14
  31. package/src/blocks/Payment/Confirmation.tsx +0 -1
  32. package/src/blocks/Payment/PayWithWallet.tsx +0 -1
  33. package/src/blocks/Payment/index.ts +6 -20
  34. package/src/blocks/Pricing/ComparingPlans.tsx +15 -10
  35. package/src/blocks/Pricing/PricingPlans.tsx +1 -0
  36. package/src/blocks/Referral/ReferralAccount.tsx +1 -1
  37. package/src/blocks/Referral/ReferralStats.tsx +0 -1
  38. package/src/elements/DragDropImages.tsx +156 -158
  39. package/src/elements/DraggableCard.tsx +2 -1
  40. package/src/elements/HawaAccordion.tsx +1 -1
  41. package/src/elements/HawaChip.tsx +2 -1
  42. package/src/elements/HawaColorPicker.tsx +3 -5
  43. package/src/elements/HawaItemCard.tsx +1 -2
  44. package/src/elements/HawaMenu.tsx +2 -3
  45. package/src/elements/HawaModal.tsx +1 -1
  46. package/src/elements/HawaPanelTabs.tsx +1 -7
  47. package/src/elements/HawaPricingCard.tsx +1 -7
  48. package/src/elements/HawaRadio.tsx +1 -1
  49. package/src/elements/HawaRange.tsx +1 -1
  50. package/src/elements/HawaSelect.tsx +38 -36
  51. package/src/elements/HawaSettingsRow.tsx +7 -5
  52. package/src/elements/HawaSnackbar.tsx +1 -1
  53. package/src/elements/HawaSpinner.tsx +2 -2
  54. package/src/elements/HawaSwitch.tsx +19 -2
  55. package/src/elements/HawaTable.tsx +3 -1
  56. package/src/elements/HawaTabs.tsx +2 -0
  57. package/src/elements/HawaTextField.tsx +1 -0
  58. package/src/elements/HawaTooltip.tsx +1 -3
  59. package/src/elements/InvoiceAccordion.tsx +5 -5
  60. package/src/layout/AppSidebar.tsx +1 -1
  61. package/src/layout/HawaAppLayout.tsx +5 -4
  62. package/src/layout/HawaContainer.tsx +0 -1
  63. package/src/layout/HawaSiteLayout.tsx +1 -3
  64. package/src/layout/SimpleGrid.tsx +2 -3
  65. package/src/styles.css +49 -59
  66. package/src/tailwind.css +4 -8
  67. package/tailwind.config.js +3 -1
@@ -1,4 +1,4 @@
1
- import * as React from "react";
1
+ import React from "react";
2
2
  interface Props {
3
3
  isOpen: boolean;
4
4
  onClose: () => void;
@@ -4,6 +4,7 @@ type TNewsletter = {
4
4
  texts: {
5
5
  wantToStayUpdated: string;
6
6
  subscribeToNewsletter: string;
7
+ submit: string;
7
8
  };
8
9
  handleNewsletterSub: (e: string) => void;
9
10
  };
@@ -1,6 +1,11 @@
1
1
  import React from "react";
2
2
  type NotFoundTypes = {
3
3
  variant?: "outlined" | "contained" | "neobrutalism";
4
+ texts?: {
5
+ pageNotFound: string;
6
+ ifLost: string;
7
+ home: string;
8
+ };
4
9
  };
5
10
  export declare const NotFound: React.FunctionComponent<NotFoundTypes>;
6
11
  export {};
@@ -6,6 +6,7 @@ type ComparingPlansTypes = {
6
6
  features: [{
7
7
  included: boolean;
8
8
  text: string;
9
+ description?: string;
9
10
  }];
10
11
  price: number;
11
12
  texts: {
@@ -1,7 +1,10 @@
1
1
  import React from "react";
2
2
  type PanelTabsTypes = {
3
3
  defaultValue: any;
4
- options: any;
4
+ options: [{
5
+ label: string;
6
+ value: string;
7
+ }];
5
8
  lang: any;
6
9
  handleChange: any;
7
10
  location: any;
@@ -4,7 +4,7 @@ type RangeTypes = {
4
4
  handleChange?: any;
5
5
  startElement?: any;
6
6
  endElement?: any;
7
- label?: any;
7
+ label?: string;
8
8
  min?: any;
9
9
  max?: any;
10
10
  };
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  type SelectTypes = {
3
- label?: any;
4
- isCreatable?: any;
3
+ label?: string;
5
4
  options?: any[any];
6
- isClearable?: any;
7
- isMulti?: any;
8
- isSearchable?: any;
5
+ isCreatable?: boolean;
6
+ isClearable?: boolean;
7
+ isMulti?: boolean;
8
+ isSearchable?: boolean;
9
9
  onChange?: any;
10
10
  helperText?: any;
11
11
  onInputChange?: any;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  type SettingsRowTypes = {
3
- settingsLabel: any;
3
+ settingsLabel: string;
4
4
  settingsType: "text" | "radio" | "boolean" | "color" | "range";
5
5
  radioProps: {
6
6
  defaultValue: any;
@@ -1,6 +1,7 @@
1
1
  import React from "react";
2
2
  type SwitchTypes = {
3
3
  text?: any;
4
+ size?: "small" | "normal" | "large";
4
5
  };
5
6
  export declare const HawaSwitch: React.FunctionComponent<SwitchTypes>;
6
7
  export {};
@@ -13,9 +13,9 @@ type InvoiceAccordionTypes = {
13
13
  amount: string;
14
14
  price: string;
15
15
  };
16
- invoiceTitle: any;
17
- invoiceSubtitle: any;
18
- invoiceDescription?: any;
16
+ invoiceTitle: string;
17
+ invoiceSubtitle: string;
18
+ invoiceDescription?: string;
19
19
  invoiceActions?: {
20
20
  icon?: JSX.Element;
21
21
  label: string;
@@ -23,7 +23,7 @@ type InvoiceAccordionTypes = {
23
23
  isButton?: boolean;
24
24
  element?: any;
25
25
  }[][];
26
- total: string;
26
+ total: any;
27
27
  direction?: "rtl" | "ltr";
28
28
  status?: "paid" | "pending" | "overdue";
29
29
  };