@sikka/hawa 0.0.271 → 0.0.274

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 (38) hide show
  1. package/dist/styles.css +180 -9
  2. package/es/blocks/Pricing/HorizontalPricing.d.ts +47 -0
  3. package/es/blocks/Pricing/index.d.ts +1 -0
  4. package/es/elements/HawaLandingCard.d.ts +1 -0
  5. package/es/elements/HawaLoading.d.ts +8 -0
  6. package/es/elements/HawaRadio.d.ts +7 -10
  7. package/es/elements/index.d.ts +1 -1
  8. package/es/index.es.js +3 -3
  9. package/es/layout/HawaGrid.d.ts +6 -0
  10. package/es/layout/index.d.ts +1 -0
  11. package/lib/blocks/Pricing/HorizontalPricing.d.ts +47 -0
  12. package/lib/blocks/Pricing/index.d.ts +1 -0
  13. package/lib/elements/HawaLandingCard.d.ts +1 -0
  14. package/lib/elements/HawaLoading.d.ts +8 -0
  15. package/lib/elements/HawaRadio.d.ts +7 -10
  16. package/lib/elements/index.d.ts +1 -1
  17. package/lib/index.js +3 -3
  18. package/lib/layout/HawaGrid.d.ts +6 -0
  19. package/lib/layout/index.d.ts +1 -0
  20. package/package.json +2 -1
  21. package/src/blocks/Pricing/HorizontalPricing.tsx +140 -0
  22. package/src/blocks/Pricing/index.ts +1 -0
  23. package/src/elements/HawaButton.tsx +16 -21
  24. package/src/elements/HawaCodeBlock.tsx +4 -12
  25. package/src/elements/HawaLandingCard.tsx +12 -10
  26. package/src/elements/HawaLoading.tsx +83 -0
  27. package/src/elements/HawaPhoneInput.tsx +5 -1
  28. package/src/elements/HawaRadio.tsx +9 -11
  29. package/src/elements/HawaStats.tsx +3 -3
  30. package/src/elements/index.ts +1 -1
  31. package/src/layout/HawaGrid.tsx +15 -0
  32. package/src/layout/index.ts +1 -0
  33. package/src/styles.css +180 -9
  34. package/src/tailwind.css +23 -1
  35. package/tailwind.config.js +22 -9
  36. package/es/elements/HawaSpinner.d.ts +0 -6
  37. package/lib/elements/HawaSpinner.d.ts +0 -6
  38. package/src/elements/HawaSpinner.tsx +0 -42
@@ -0,0 +1,6 @@
1
+ import { FC } from "react";
2
+ type GridTypes = {
3
+ children?: any;
4
+ };
5
+ export declare const HawaGrid: FC<GridTypes>;
6
+ export {};
@@ -4,6 +4,7 @@ export * from "./HawaSiteLayout";
4
4
  export * from "./HawaAppLayout";
5
5
  export * from "./HawaAppLayoutSimplified";
6
6
  export * from "./HawaContainer";
7
+ export * from "./HawaGrid";
7
8
  export * from "./AppSidebar";
8
9
  export * from "./Footer";
9
10
  export * from "./Banner";
@@ -0,0 +1,47 @@
1
+ import { FC } from "react";
2
+ type HorizontalPricingTypes = {
3
+ plans: [
4
+ {
5
+ direction: "rtl" | "ltr";
6
+ features: [{
7
+ included: boolean;
8
+ text: string;
9
+ }];
10
+ price: number;
11
+ texts: {
12
+ title: string;
13
+ subtitle: string;
14
+ buttonText: string;
15
+ cycleText: string;
16
+ currencyText: string;
17
+ };
18
+ size: "small" | "medium" | "large";
19
+ }
20
+ ];
21
+ currencies: [
22
+ {
23
+ label: string;
24
+ value: string;
25
+ }
26
+ ];
27
+ billingCycles: [
28
+ {
29
+ label: string;
30
+ value: string;
31
+ }
32
+ ];
33
+ onPlanClicked?: (e: any) => void;
34
+ currentCycle: {
35
+ label: string;
36
+ value: string;
37
+ };
38
+ currentCurrency: {
39
+ label: string;
40
+ value: string;
41
+ };
42
+ onCycleChange?: (e: any) => void;
43
+ onCurrencyChange?: (e: any) => void;
44
+ direction?: "rtl" | "ltr";
45
+ };
46
+ export declare const HorizontalPricing: FC<HorizontalPricingTypes>;
47
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from "./PricingPlans";
2
2
  export * from "./ComparingPlans";
3
+ export * from "./HorizontalPricing";
@@ -12,6 +12,7 @@ type LandingCardTypes = {
12
12
  linkText?: string;
13
13
  };
14
14
  buttonLink?: string;
15
+ className?: any;
15
16
  };
16
17
  export declare const HawaLandingCard: FC<LandingCardTypes>;
17
18
  export {};
@@ -0,0 +1,8 @@
1
+ import { FC } from "react";
2
+ type LoadingTypes = {
3
+ size?: "button" | "sm" | "normal" | "lg" | "xl";
4
+ design?: "spinner" | "dots-bounce" | "dots-pulse" | "pulse" | "spinner-dots";
5
+ color?: any;
6
+ };
7
+ export declare const HawaLoading: FC<LoadingTypes>;
8
+ export {};
@@ -2,16 +2,13 @@ import { FC } from "react";
2
2
  type RadioTypes = {
3
3
  orientation?: "vertical" | "horizontal";
4
4
  design?: "default" | "tabs" | "cards" | "bordered";
5
- options?: [
6
- {
7
- value: any;
8
- label: any;
9
- disabled?: any;
10
- sublabel?: any;
11
- beforeIcon?: any;
12
- afterIcon?: any;
13
- }
14
- ];
5
+ options?: {
6
+ value: any;
7
+ label: any;
8
+ disabled?: any;
9
+ sublabel?: any;
10
+ icon?: any;
11
+ }[];
15
12
  onChangeTab?: any;
16
13
  defaultValue?: any;
17
14
  };
@@ -23,7 +23,7 @@ export * from "./HawaCopyrights";
23
23
  export * from "./HawaStepper";
24
24
  export * from "./HawaStats";
25
25
  export * from "./HawaCodeBlock";
26
- export * from "./HawaSpinner";
26
+ export * from "./HawaLoading";
27
27
  export * from "./HawaRadio";
28
28
  export * from "./HawaDatepicker";
29
29
  export * from "./DragDropImages";