@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
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
|
}
|
|
@@ -938,6 +938,9 @@ video {
|
|
|
938
938
|
.w-11 {
|
|
939
939
|
width: 2.75rem;
|
|
940
940
|
}
|
|
941
|
+
.w-\[calc\(1\%\)\] {
|
|
942
|
+
width: calc(1%);
|
|
943
|
+
}
|
|
941
944
|
.w-1 {
|
|
942
945
|
width: 0.25rem;
|
|
943
946
|
}
|
|
@@ -2136,6 +2139,10 @@ body {
|
|
|
2136
2139
|
--tw-ring-color: rgb(147 197 253 / var(--tw-ring-opacity));
|
|
2137
2140
|
}
|
|
2138
2141
|
|
|
2142
|
+
[dir="rtl"] .rtl\:ml-1 {
|
|
2143
|
+
margin-left: 0.25rem;
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2139
2146
|
[dir="rtl"] .rtl\:ml-2 {
|
|
2140
2147
|
margin-left: 0.5rem;
|
|
2141
2148
|
}
|
|
@@ -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
|
};
|