@sikka/hawa 0.0.199 → 0.0.200

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
@@ -715,6 +715,9 @@ video {
715
715
  .mt-1 {
716
716
  margin-top: 0.25rem;
717
717
  }
718
+ .mr-1 {
719
+ margin-right: 0.25rem;
720
+ }
718
721
  .mr-2 {
719
722
  margin-right: 0.5rem;
720
723
  }
@@ -772,9 +775,6 @@ video {
772
775
  .mr-1\.5 {
773
776
  margin-right: 0.375rem;
774
777
  }
775
- .mr-1 {
776
- margin-right: 0.25rem;
777
- }
778
778
  .mt-6 {
779
779
  margin-top: 1.5rem;
780
780
  }
@@ -2136,6 +2136,10 @@ body {
2136
2136
  --tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity));
2137
2137
  }
2138
2138
 
2139
+ [dir="rtl"] .rtl\:ml-1 {
2140
+ margin-left: 0.25rem;
2141
+ }
2142
+
2139
2143
  [dir="rtl"] .rtl\:ml-2 {
2140
2144
  margin-left: 0.5rem;
2141
2145
  }
@@ -12,7 +12,7 @@ interface ItemCardTypes {
12
12
  type THeaderActions = {
13
13
  icon?: JSX.Element;
14
14
  label: string;
15
- action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
15
+ action?: (e: any) => void;
16
16
  isButton?: boolean;
17
17
  };
18
18
  export declare const HawaItemCard: React.FunctionComponent<ItemCardTypes>;
@@ -9,12 +9,13 @@ interface TMenuTypes {
9
9
  children?: ReactNode;
10
10
  position?: "left-top" | "left-bottom" | "right-top" | "right-bottom" | "top-right" | "top-left" | "bottom-right" | "bottom-left";
11
11
  onClickOutside?: any;
12
+ actionedItem?: any;
12
13
  size?: "small" | "normal" | "large";
13
14
  }
14
15
  type MenuItems = {
15
16
  icon?: JSX.Element;
16
17
  label: string;
17
- action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
18
+ action?: (e: any) => void;
18
19
  isButton?: boolean;
19
20
  element?: any;
20
21
  };
@@ -13,12 +13,13 @@ type TableTypes = {
13
13
  clickable?: boolean;
14
14
  actionsText?: string;
15
15
  bordersWidth?: string;
16
+ onActionClicked?: any;
16
17
  borders?: "all" | "cols" | "rows" | "outer" | "inner";
17
18
  };
18
19
  type ActionItems = {
19
20
  icon?: JSX.Element;
20
21
  label: string;
21
- action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
22
+ action?: (e: any) => void;
22
23
  isButton?: boolean;
23
24
  element?: any;
24
25
  };
@@ -19,7 +19,7 @@ type InvoiceAccordionTypes = {
19
19
  invoiceActions?: {
20
20
  icon?: JSX.Element;
21
21
  label: string;
22
- action?: (e: React.MouseEvent<HTMLLIElement, MouseEvent>, item: string) => void;
22
+ action?: (e: any) => void;
23
23
  isButton?: boolean;
24
24
  element?: any;
25
25
  }[][];