@bluemarble/bm-components 0.0.88 → 0.0.90

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.
@@ -11,6 +11,8 @@ export interface ColumnsProps {
11
11
  interface GridProps {
12
12
  columns: ColumnsProps[];
13
13
  children: ReactNode;
14
+ prependColumn: ReactNode;
15
+ appendColumn: ReactNode;
14
16
  fixedColumns?: boolean;
15
17
  sortedBy: string;
16
18
  sortedDirection: 'asc' | 'desc';
@@ -31,5 +33,5 @@ interface GridProps {
31
33
  isLoading?: boolean;
32
34
  hideFooter?: boolean;
33
35
  }
34
- export declare function BaseGrid({ columns, children, fixedColumns, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, isLoading }: GridProps): JSX.Element;
36
+ export declare function BaseGrid({ columns, children, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, prependColumn, appendColumn, isLoading }: GridProps): JSX.Element;
35
37
  export {};
@@ -5,7 +5,7 @@ interface InputMaskProps extends Partial<StandardTextFieldProps> {
5
5
  name: string;
6
6
  label: string;
7
7
  withFormik?: boolean;
8
- value: string;
8
+ value?: string;
9
9
  mask: IMask.AnyMaskedOptions;
10
10
  onChangeValue?: (value: string, unmaskedValue: string) => void;
11
11
  }
package/dist/index.d.ts CHANGED
@@ -84,7 +84,7 @@ interface InputMaskProps extends Partial<StandardTextFieldProps> {
84
84
  name: string;
85
85
  label: string;
86
86
  withFormik?: boolean;
87
- value: string;
87
+ value?: string;
88
88
  mask: IMask$1.AnyMaskedOptions;
89
89
  onChangeValue?: (value: string, unmaskedValue: string) => void;
90
90
  }
@@ -207,6 +207,8 @@ interface ColumnsProps {
207
207
  interface GridProps {
208
208
  columns: ColumnsProps[];
209
209
  children: ReactNode;
210
+ prependColumn: ReactNode;
211
+ appendColumn: ReactNode;
210
212
  fixedColumns?: boolean;
211
213
  sortedBy: string;
212
214
  sortedDirection: 'asc' | 'desc';
@@ -227,7 +229,7 @@ interface GridProps {
227
229
  isLoading?: boolean;
228
230
  hideFooter?: boolean;
229
231
  }
230
- declare function BaseGrid({ columns, children, fixedColumns, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, isLoading }: GridProps): JSX.Element;
232
+ declare function BaseGrid({ columns, children, paperProps, tableBodyProps, tableHeadProps, tableProps, sortedDirection, sortedBy, onSortBy, dense, striped, bordered, currentPage, totalNumberOfPages, onPageChange, rowsPerPage, setRowsPerPage, rowsPerPageOptions, hideFooter, prependColumn, appendColumn, isLoading }: GridProps): JSX.Element;
231
233
 
232
234
  declare type FilterCompareType = 'gte' | 'lte' | 'lt' | 'gt' | 'equal' | 'in' | 'notEqual' | 'notIn';
233
235
  declare type FilterProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bluemarble/bm-components",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "description": "BM components",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",