@min98/ui 1.3.32 → 1.3.34
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/lib/index.cjs +47 -47
- package/lib/index.d.cts +5 -0
- package/lib/index.d.ts +5 -0
- package/lib/index.js +17 -17
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -864,6 +864,7 @@ interface DialogModalProps extends React__default.ComponentPropsWithoutRef<"div"
|
|
|
864
864
|
action?: (data?: any) => void;
|
|
865
865
|
cancel: () => void;
|
|
866
866
|
draggable?: boolean;
|
|
867
|
+
scrollable?: boolean;
|
|
867
868
|
response?: boolean;
|
|
868
869
|
props?: any;
|
|
869
870
|
}
|
|
@@ -1059,6 +1060,9 @@ type Action = {
|
|
|
1059
1060
|
action?: (payload?: any) => void;
|
|
1060
1061
|
};
|
|
1061
1062
|
interface DataTablePropsBase {
|
|
1063
|
+
className?: string;
|
|
1064
|
+
headerClass?: string;
|
|
1065
|
+
bodyClass?: string;
|
|
1062
1066
|
data: any[];
|
|
1063
1067
|
columns: ColumnDef<any>[];
|
|
1064
1068
|
search?: string;
|
|
@@ -1068,6 +1072,7 @@ interface DataTablePropsBase {
|
|
|
1068
1072
|
onPagination?: (arg: any) => void;
|
|
1069
1073
|
onSelectRow?: (arg: any) => void;
|
|
1070
1074
|
actions?: Action[];
|
|
1075
|
+
scrollable?: boolean;
|
|
1071
1076
|
}
|
|
1072
1077
|
interface DataTableWithPagination extends DataTablePropsBase {
|
|
1073
1078
|
manualPagination: true;
|
package/lib/index.d.ts
CHANGED
|
@@ -864,6 +864,7 @@ interface DialogModalProps extends React__default.ComponentPropsWithoutRef<"div"
|
|
|
864
864
|
action?: (data?: any) => void;
|
|
865
865
|
cancel: () => void;
|
|
866
866
|
draggable?: boolean;
|
|
867
|
+
scrollable?: boolean;
|
|
867
868
|
response?: boolean;
|
|
868
869
|
props?: any;
|
|
869
870
|
}
|
|
@@ -1059,6 +1060,9 @@ type Action = {
|
|
|
1059
1060
|
action?: (payload?: any) => void;
|
|
1060
1061
|
};
|
|
1061
1062
|
interface DataTablePropsBase {
|
|
1063
|
+
className?: string;
|
|
1064
|
+
headerClass?: string;
|
|
1065
|
+
bodyClass?: string;
|
|
1062
1066
|
data: any[];
|
|
1063
1067
|
columns: ColumnDef<any>[];
|
|
1064
1068
|
search?: string;
|
|
@@ -1068,6 +1072,7 @@ interface DataTablePropsBase {
|
|
|
1068
1072
|
onPagination?: (arg: any) => void;
|
|
1069
1073
|
onSelectRow?: (arg: any) => void;
|
|
1070
1074
|
actions?: Action[];
|
|
1075
|
+
scrollable?: boolean;
|
|
1071
1076
|
}
|
|
1072
1077
|
interface DataTableWithPagination extends DataTablePropsBase {
|
|
1073
1078
|
manualPagination: true;
|