@sikka/hawa 0.0.190 → 0.0.193

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/styles.css CHANGED
@@ -587,11 +587,11 @@ video {
587
587
  .bottom-0 {
588
588
  bottom: 0px;
589
589
  }
590
- .top-12 {
591
- top: 3rem;
590
+ .top-8 {
591
+ top: 2rem;
592
592
  }
593
- .bottom-12 {
594
- bottom: 3rem;
593
+ .bottom-8 {
594
+ bottom: 2rem;
595
595
  }
596
596
  .left-1\/2 {
597
597
  left: 50%;
@@ -626,9 +626,6 @@ video {
626
626
  .left-2 {
627
627
  left: 0.5rem;
628
628
  }
629
- .left-32 {
630
- left: 8rem;
631
- }
632
629
  .top-auto {
633
630
  top: auto;
634
631
  }
@@ -867,6 +864,9 @@ video {
867
864
  .h-0\.5 {
868
865
  height: 0.125rem;
869
866
  }
867
+ .h-2\.5 {
868
+ height: 0.625rem;
869
+ }
870
870
  .h-9 {
871
871
  height: 2.25rem;
872
872
  }
@@ -1014,6 +1014,10 @@ video {
1014
1014
  --tw-rotate: 180deg;
1015
1015
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1016
1016
  }
1017
+ .rotate-90 {
1018
+ --tw-rotate: 90deg;
1019
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1020
+ }
1017
1021
  .rotate-0 {
1018
1022
  --tw-rotate: 0deg;
1019
1023
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1022,10 +1026,6 @@ video {
1022
1026
  --tw-rotate: -90deg;
1023
1027
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1024
1028
  }
1025
- .rotate-90 {
1026
- --tw-rotate: 90deg;
1027
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1028
- }
1029
1029
  .transform {
1030
1030
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
1031
1031
  }
@@ -1070,6 +1070,9 @@ video {
1070
1070
  .items-start {
1071
1071
  align-items: flex-start;
1072
1072
  }
1073
+ .items-end {
1074
+ align-items: flex-end;
1075
+ }
1073
1076
  .items-center {
1074
1077
  align-items: center;
1075
1078
  }
@@ -1103,12 +1106,18 @@ video {
1103
1106
  .gap-1 {
1104
1107
  gap: 0.25rem;
1105
1108
  }
1106
- .gap-0\.5 {
1107
- gap: 0.125rem;
1108
- }
1109
1109
  .gap-0 {
1110
1110
  gap: 0px;
1111
1111
  }
1112
+ .gap-4 {
1113
+ gap: 1rem;
1114
+ }
1115
+ .gap-20 {
1116
+ gap: 5rem;
1117
+ }
1118
+ .gap-0\.5 {
1119
+ gap: 0.125rem;
1120
+ }
1112
1121
  .gap-9 {
1113
1122
  gap: 2.25rem;
1114
1123
  }
@@ -1602,12 +1611,15 @@ video {
1602
1611
  .pr-10 {
1603
1612
  padding-right: 2.5rem;
1604
1613
  }
1605
- .pl-3 {
1606
- padding-left: 0.75rem;
1607
- }
1608
1614
  .pb-2 {
1609
1615
  padding-bottom: 0.5rem;
1610
1616
  }
1617
+ .pb-4 {
1618
+ padding-bottom: 1rem;
1619
+ }
1620
+ .pl-3 {
1621
+ padding-left: 0.75rem;
1622
+ }
1611
1623
  .pt-0 {
1612
1624
  padding-top: 0px;
1613
1625
  }
@@ -1822,6 +1834,9 @@ video {
1822
1834
  --tw-ring-opacity: 1;
1823
1835
  --tw-ring-color: rgb(191 219 254 / var(--tw-ring-opacity));
1824
1836
  }
1837
+ .ring-buttonPrimary-500 {
1838
+ --tw-ring-color: var(--button-primary-500);
1839
+ }
1825
1840
  .ring-offset-1 {
1826
1841
  --tw-ring-offset-width: 1px;
1827
1842
  }
@@ -2,5 +2,5 @@ import React from "react";
2
2
  type AccordionTypes = {
3
3
  content: any;
4
4
  };
5
- export declare const HawaAccordian: React.FunctionComponent<AccordionTypes>;
5
+ export declare const HawaAccordion: React.FunctionComponent<AccordionTypes>;
6
6
  export {};
@@ -2,6 +2,7 @@ import React from "react";
2
2
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
3
  variant?: "contained" | "outlined";
4
4
  buttonID?: any;
5
+ tooltipDirection?: "rtl" | "ltr";
5
6
  color?: "default" | "primary" | "secondary";
6
7
  width?: "full" | "normal" | "half";
7
8
  size?: "xs" | "small" | "medium" | "large" | "noPadding" | "full";
@@ -11,5 +12,5 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
11
12
  tooltipPosition?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
12
13
  isLoading?: boolean;
13
14
  }
14
- export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltipSize, tooltipPosition, margins, tooltip, children, buttonID, ...props }: ButtonProps): JSX.Element;
15
+ export declare function HawaButton({ className, variant, color, size, width, disabled, isLoading, tooltip, tooltipSize, tooltipPosition, tooltipDirection, margins, children, buttonID, ...props }: ButtonProps): JSX.Element;
15
16
  export {};
@@ -2,16 +2,14 @@ import React, { ReactNode } from "react";
2
2
  interface TMenuTypes {
3
3
  menuItems: MenuItems[][];
4
4
  withHeader?: boolean;
5
- withIcons?: boolean;
6
5
  headerTitle?: string;
7
6
  headerSubtitle?: string;
8
- open?: boolean;
9
- handleClose?: () => void;
10
- handleOpen: () => void;
7
+ direction?: "rtl" | "ltr";
11
8
  anchor?: any;
12
9
  children?: ReactNode;
13
- buttonPosition?: "top-right" | "top-left" | "bottom-right" | "bottom-left";
10
+ position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
14
11
  onClickOutside?: any;
12
+ size?: "small" | "normal" | "large";
15
13
  }
16
14
  type MenuItems = {
17
15
  icon?: JSX.Element;
@@ -2,10 +2,8 @@ import React from "react";
2
2
  type TableTypes = {
3
3
  lang?: any;
4
4
  columns: any[string];
5
- actions?: [{
6
- type: "view" | "update" | "delete";
7
- onClick: (e: any) => void;
8
- }];
5
+ actions?: ActionItems[][];
6
+ direction?: "rtl" | "ltr";
9
7
  rows?: any[any];
10
8
  noDataText?: any;
11
9
  handleActionClick?: any;
@@ -14,8 +12,16 @@ type TableTypes = {
14
12
  highlightFirst?: boolean;
15
13
  customColor?: string;
16
14
  clickable?: boolean;
15
+ actionsText?: string;
17
16
  bordersWidth?: string;
18
17
  borders?: ["all" | "cols" | "rows" | "outer"];
19
18
  };
19
+ type ActionItems = {
20
+ icon?: JSX.Element;
21
+ label: string;
22
+ action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
23
+ isButton?: boolean;
24
+ element?: any;
25
+ };
20
26
  export declare const HawaTable: React.FunctionComponent<TableTypes>;
21
27
  export {};
@@ -5,6 +5,7 @@ type THawaToolTip = {
5
5
  btnHovered?: any;
6
6
  buttonRef?: any;
7
7
  buttonID?: any;
8
+ direction?: "rtl" | "ltr";
8
9
  size?: "normal" | "small" | "large";
9
10
  position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
10
11
  };
@@ -0,0 +1,31 @@
1
+ import React from "react";
2
+ type InvoiceAccordionTypes = {
3
+ products: {
4
+ usage?: string;
5
+ price?: string;
6
+ amount?: string;
7
+ plan?: string;
8
+ }[];
9
+ texts: {
10
+ total: string;
11
+ plan: string;
12
+ usage: string;
13
+ amount: string;
14
+ price: string;
15
+ };
16
+ invoiceTitle: any;
17
+ invoiceSubtitle: any;
18
+ invoiceDescription?: any;
19
+ invoiceActions?: {
20
+ icon?: JSX.Element;
21
+ label: string;
22
+ action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
23
+ isButton?: boolean;
24
+ element?: any;
25
+ }[][];
26
+ total: string;
27
+ direction?: "rtl" | "ltr";
28
+ status?: "paid" | "pending" | "overdue";
29
+ };
30
+ export declare const InvoiceAccordion: React.FunctionComponent<InvoiceAccordionTypes>;
31
+ export {};
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ type UsageCardTypes = {
3
+ tooltip?: any;
4
+ title: any;
5
+ percent: any;
6
+ currentUsage: any;
7
+ };
8
+ export declare const UsageCard: React.FunctionComponent<UsageCardTypes>;
9
+ export {};
@@ -11,7 +11,7 @@ export * from "./HawaAlert";
11
11
  export * from "./HawaTable";
12
12
  export * from "./HawaColorPicker";
13
13
  export * from "./HawaSearchBar";
14
- export * from "./HawaAccordian";
14
+ export * from "./HawaAccordion";
15
15
  export * from "./DragDropImages";
16
16
  export * from "./DraggableCard";
17
17
  export * from "./HawaPhoneInput";
@@ -27,6 +27,8 @@ export * from "./HawaSpinner";
27
27
  export * from "./HawaRadio";
28
28
  export * from "./HawaDrawer";
29
29
  export * from "./SubsectionList";
30
+ export * from "./UsageCard";
31
+ export * from "./InvoiceAccordion";
30
32
  export * from "./HawaTextField";
31
33
  export * from "./HawaCardInput";
32
34
  export * from "./HawaPinInput";