@sikka/hawa 0.0.199 → 0.0.201
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 +10 -3
- package/es/elements/HawaItemCard.d.ts +1 -1
- package/es/elements/HawaMenu.d.ts +2 -1
- package/es/elements/HawaTable.d.ts +2 -1
- package/es/elements/InvoiceAccordion.d.ts +1 -1
- package/es/index.es.js +1 -1
- package/es/layout/HawaAppLayout.d.ts +1 -1
- package/lib/elements/HawaItemCard.d.ts +1 -1
- package/lib/elements/HawaMenu.d.ts +2 -1
- package/lib/elements/HawaTable.d.ts +2 -1
- package/lib/elements/InvoiceAccordion.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/layout/HawaAppLayout.d.ts +1 -1
- package/package.json +1 -1
- package/src/elements/HawaItemCard.tsx +1 -4
- package/src/elements/HawaMenu.tsx +13 -6
- package/src/elements/HawaTable.tsx +67 -75
- package/src/elements/InvoiceAccordion.tsx +1 -2
- package/src/layout/HawaAppLayout.tsx +1 -4
- package/src/styles.css +10 -3
|
@@ -23,7 +23,7 @@ type HawaAppLayoutTypes = {
|
|
|
23
23
|
type MenuItems = {
|
|
24
24
|
icon?: JSX.Element;
|
|
25
25
|
label: string;
|
|
26
|
-
action?: (e:
|
|
26
|
+
action?: (e: any) => void;
|
|
27
27
|
isButton?: boolean;
|
|
28
28
|
};
|
|
29
29
|
export declare const HawaAppLayout: React.FunctionComponent<HawaAppLayoutTypes>;
|
|
@@ -12,7 +12,7 @@ interface ItemCardTypes {
|
|
|
12
12
|
type THeaderActions = {
|
|
13
13
|
icon?: JSX.Element;
|
|
14
14
|
label: string;
|
|
15
|
-
action?: (e:
|
|
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:
|
|
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:
|
|
22
|
+
action?: (e: any) => void;
|
|
22
23
|
isButton?: boolean;
|
|
23
24
|
element?: any;
|
|
24
25
|
};
|