mantine-datatable 1.4.0 → 1.4.1

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/README.md CHANGED
@@ -80,10 +80,17 @@ Also see the [getting started](https://icflorescu.github.io/mantine-datatable/ge
80
80
 
81
81
  Want to [become a code contributor](https://icflorescu.github.io/mantine-datatable/contribute-and-support)?
82
82
 
83
- ## Supporting the author
83
+ ## Supporting the project and its author
84
84
 
85
85
  If you find this package useful, please star the repository, [tweet about it](http://twitter.com/share?text=Build%20data-rich%20React%20applications%20with%20Mantine%20DataTable&url=https%3A%2F%2Fgithub.com%2Ficflorescu%2Fmantine-datatable&hashtags=mantine%2Cdatatable%2Cdatagrid%2Creact&via=icflorescu), and [endorse me on LinkedIn](https://www.linkedin.com/in/icflorescu).
86
86
 
87
+ The more stars this repository gets, the more visibility it gains among the Mantine users community. The more
88
+ users it gets, the more chances that some of those users will become active code contributors willing to put
89
+ their effort into bringing new features to life and/or fixing bugs.
90
+
91
+ As the repository gain awareness, my chances of getting hired to work on Mantine-based projects will increase,
92
+ which in turn will help maintain my vested interest in keeping the project alive.
93
+
87
94
  If you want to hire my services, don’t hesitate to drop me a line at the email address listed in my [GitHub profile](https://github.com/icflorescu).
88
95
  I’m currently getting a constant flow of approaches, some of them relevant, others not so relevant.
89
96
  Mentioning “Mantine DataTable” in your text would help me prioritize your message.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataTableProps } from './DataTable.props';
3
2
  export default function DataTable<T extends Record<string, unknown>>({ withBorder, borderRadius, borderColor, rowBorderColor, withColumnBorders, textSelectionDisabled, height, minHeight, shadow, verticalAlignment, fetching, columns, idAccessor, records, selectedRecords, onSelectedRecordsChange, sortStatus, onSortStatusChange, horizontalSpacing, page, onPageChange, totalRecords, recordsPerPage, paginationSize, paginationText, loaderSize, loaderVariant, loaderBackgroundBlur, emptyState, noRecordsText, noRecordsIcon, striped, onRowClick, rowContextMenu, ...otherProps }: DataTableProps<T>): JSX.Element;
4
3
  //# sourceMappingURL=DataTable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../DataTable.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgFnD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACnE,UAAU,EACV,YAAY,EACZ,WAAqG,EACrG,cACiG,EACjG,iBAAiB,EACjB,qBAAqB,EACrB,MAAe,EACf,SAAS,EACT,MAAM,EACN,iBAA4B,EAC5B,QAAQ,EACR,OAAO,EACP,UAAiB,EACjB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAqB,EACrB,cAAoF,EACpF,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,aAA4B,EAC5B,aAAa,EACb,OAAO,EACP,UAAU,EACV,cAAc,EACd,GAAG,UAAU,EACd,EAAE,cAAc,CAAC,CAAC,CAAC,eA4SnB"}
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../DataTable.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAgFnD,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,EACnE,UAAU,EACV,YAAY,EACZ,WAAqG,EACrG,cACiG,EACjG,iBAAiB,EACjB,qBAAqB,EACrB,MAAe,EACf,SAAS,EACT,MAAM,EACN,iBAA4B,EAC5B,QAAQ,EACR,OAAO,EACP,UAAiB,EACjB,OAAO,EACP,eAAe,EACf,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,cAAqB,EACrB,cAAoF,EACpF,UAAU,EACV,aAAa,EACb,oBAAoB,EACpB,UAAU,EACV,aAA4B,EAC5B,aAAa,EACb,OAAO,EACP,UAAU,EACV,cAAc,EACd,GAAG,UAAU,EACd,EAAE,cAAc,CAAC,CAAC,CAAC,eA4SnB"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export default function DataTableEmptyRow(): JSX.Element;
3
2
  //# sourceMappingURL=DataTableEmptyRow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableEmptyRow.d.ts","sourceRoot":"","sources":["../DataTableEmptyRow.tsx"],"names":[],"mappings":";AAUA,MAAM,CAAC,OAAO,UAAU,iBAAiB,gBAOxC"}
1
+ {"version":3,"file":"DataTableEmptyRow.d.ts","sourceRoot":"","sources":["../DataTableEmptyRow.tsx"],"names":[],"mappings":"AAUA,MAAM,CAAC,OAAO,UAAU,iBAAiB,gBAOxC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MantineNumberSize, MantineTheme } from '@mantine/core';
3
2
  declare type DataTableLoaderProps = {
4
3
  pt: number;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableLoader.d.ts","sourceRoot":"","sources":["../DataTableLoader.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAgC,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAqB9F,aAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC1C,aAAa,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,EAAE,EACF,EAAE,EACF,QAAQ,EACR,oBAAoB,EACpB,UAAU,EACV,aAAa,GACd,EAAE,oBAAoB,eAYtB"}
1
+ {"version":3,"file":"DataTableLoader.d.ts","sourceRoot":"","sources":["../DataTableLoader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,iBAAiB,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAqB9F,aAAK,oBAAoB,GAAG;IAC1B,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IAC9B,oBAAoB,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,UAAU,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAC1C,aAAa,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC;CACnD,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,EAAE,EACF,EAAE,EACF,QAAQ,EACR,oBAAoB,EACpB,UAAU,EACV,aAAa,GACd,EAAE,oBAAoB,eAYtB"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataTableColumn } from './DataTable.props';
3
2
  declare type DataTableRowCellProps<T> = {
4
3
  record: T;
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableRowCell.d.ts","sourceRoot":"","sources":["../DataTableRowCell.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAWpD,aAAK,qBAAqB,CAAC,CAAC,IAAI;IAC9B,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,mBAAmB,GAAG,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC,CAAC;AAEnH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,EAAE,EAC1C,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,KAAK,EACL,QAAQ,EACR,MAAM,GACP,EAAE,qBAAqB,CAAC,CAAC,CAAC,sBAkB1B"}
1
+ {"version":3,"file":"DataTableRowCell.d.ts","sourceRoot":"","sources":["../DataTableRowCell.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAWpD,aAAK,qBAAqB,CAAC,CAAC,IAAI;IAC9B,MAAM,EAAE,CAAC,CAAC;CACX,GAAG,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,UAAU,GAAG,mBAAmB,GAAG,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC,CAAC;AAEnH,MAAM,CAAC,OAAO,UAAU,gBAAgB,CAAC,CAAC,EAAE,EAC1C,iBAAiB,EACjB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,KAAK,EACL,QAAQ,EACR,MAAM,GACP,EAAE,qBAAqB,CAAC,CAAC,CAAC,sBAkB1B"}
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  export default function DataTableRowMenuDivider(): JSX.Element;
3
2
  //# sourceMappingURL=DataTableRowMenuDivider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DataTableRowMenuDivider.d.ts","sourceRoot":"","sources":["../DataTableRowMenuDivider.tsx"],"names":[],"mappings":";AASA,MAAM,CAAC,OAAO,UAAU,uBAAuB,gBAG9C"}
1
+ {"version":3,"file":"DataTableRowMenuDivider.d.ts","sourceRoot":"","sources":["../DataTableRowMenuDivider.tsx"],"names":[],"mappings":"AASA,MAAM,CAAC,OAAO,UAAU,uBAAuB,gBAG9C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mantine-datatable",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "description": "Datatable component for Mantine UI, featuring asynchronous data loading support, pagination, multple rows selection, column sorting, custom cell data rendering, row context menu and more",
5
5
  "keywords": [
6
6
  "ui",
@@ -42,7 +42,7 @@
42
42
  "devDependencies": {
43
43
  "@mantine/core": "^5.3.0",
44
44
  "@mantine/hooks": "^5.3.0",
45
- "@types/react": "^18.0.18",
45
+ "@types/react": "^18.0.19",
46
46
  "@types/react-dom": "^18.0.6",
47
47
  "esbuild": "^0.15.7",
48
48
  "react": "^18.2.0",