@mdspl/mds-shared-ui 0.8.8 → 0.9.0

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/index.d.ts CHANGED
@@ -17,6 +17,7 @@ export declare type ActionHeaderProps = {
17
17
  width?: string;
18
18
  showColumnVisibilityMenu?: boolean;
19
19
  backgroundColorColumnVisibilityMenu?: string;
20
+ showSNo?: boolean;
20
21
  };
21
22
 
22
23
  export declare const addPreset: (pageKey: string, item: PresetItem) => void;
@@ -54,7 +55,7 @@ export declare interface ConfirmDeleteDialogProps {
54
55
  isLoading?: boolean;
55
56
  }
56
57
 
57
- export declare function DataTable<T extends Record<string, unknown>>({ tableId, data: rowData, headers, loading, loadingChildren, skeletonLoading, emptyMessage, actions, page, pageSize, onPageChange, onPageSizeChange, density, totalCount, paginationMode, actionConfig, pageSizeOptions, onRowSelect, }: DataTableProps<T>): JSX_2.Element;
58
+ export declare function DataTable<T extends Record<string, unknown>>({ tableId, data: rowData, headers, loading, loadingChildren, skeletonLoading, emptyMessage, actions, page, pageSize, onPageChange, onPageSizeChange, density, totalCount, actionConfig, pageSizeOptions, onRowSelect, }: DataTableProps<T>): JSX_2.Element;
58
59
 
59
60
  export declare interface DataTableAction<T = unknown> {
60
61
  icon: JSX.Element;
@@ -77,7 +78,6 @@ export declare interface DataTableProps<T = unknown> {
77
78
  onPageSizeChange?: (size: number) => void | undefined;
78
79
  density?: DensityType;
79
80
  totalCount?: number;
80
- paginationMode?: 'server' | 'client';
81
81
  actionConfig?: ActionHeaderProps;
82
82
  loadingChildren?: JSX.Element;
83
83
  skeletonLoading?: boolean;
@@ -228,6 +228,10 @@ export declare interface IMDSInputTypes {
228
228
  required?: boolean;
229
229
  errorText?: string;
230
230
  visible?: boolean;
231
+ type?: string;
232
+ min?: number;
233
+ max?: number;
234
+ step?: number;
231
235
  }
232
236
 
233
237
  export declare interface IMDSPinInputTypes {
@@ -291,7 +295,7 @@ export declare interface MDSDialogWrapperProps {
291
295
  children: ReactNode;
292
296
  }
293
297
 
294
- export declare const MDSInput: ({ icon, value, onChange, placeholder, size, variant, width, label, helperText, isDisabled, required, errorText, visible, }: IMDSInputTypes) => JSX_2.Element;
298
+ export declare const MDSInput: ({ icon, value, onChange, placeholder, size, variant, width, label, helperText, isDisabled, required, errorText, visible, type, min, max, step, }: IMDSInputTypes) => JSX_2.Element;
295
299
 
296
300
  export declare const MDSPinInput: ({ value, onChange, length, size, isDisabled, label, helperText, errorText, required, visible, }: IMDSPinInputTypes) => JSX_2.Element;
297
301