mantine-datatable 2.2.9 → 2.3.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.cjs +1 -1
- package/dist/index.cjs.map +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +2 -2
- package/dist/utils.d.ts +12 -0
- package/dist/utils.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/utils.d.ts
CHANGED
|
@@ -2,8 +2,20 @@ import { type MantineTheme } from '@mantine/core';
|
|
|
2
2
|
import { useLayoutEffect } from 'react';
|
|
3
3
|
export declare const useIsomorphicLayoutEffect: typeof useLayoutEffect;
|
|
4
4
|
export declare function useMediaQueryStringOrFunction(mediaQuery: string | ((theme: MantineTheme) => string) | undefined): boolean;
|
|
5
|
+
/**
|
|
6
|
+
* Utility function that returns a humanized version of a string, e.g. "camelCase" -> "Camel Case"
|
|
7
|
+
*/
|
|
5
8
|
export declare function humanize(value: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Utility function that returns an array of values that are present in the first array but not in the second
|
|
11
|
+
*/
|
|
6
12
|
export declare function differenceBy<T>(arr1: T[], arr2: T[], iteratee: (value: T) => unknown): T[];
|
|
13
|
+
/**
|
|
14
|
+
* Utility function that returns an array of unique values from a given array
|
|
15
|
+
*/
|
|
7
16
|
export declare function uniqBy<T>(arr: T[], iteratee: (value: T) => unknown): T[];
|
|
17
|
+
/**
|
|
18
|
+
* Utility function that returns the value at a given path in an object
|
|
19
|
+
*/
|
|
8
20
|
export declare function getValueAtPath(obj: unknown, path: string): unknown;
|
|
9
21
|
//# sourceMappingURL=utils.d.ts.map
|
package/dist/utils.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,YAAY,EAAE,MAAM,eAAe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AAC,EAAE,GAAG,EAAE,CAAC,EAAE,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,OAAO,OAElE;AAED;;GAEG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAIxD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mantine-datatable",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
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, row expansion and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ui",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@mantine/core": "^6.0.5",
|
|
46
46
|
"@mantine/hooks": "^6.0.5",
|
|
47
|
-
"@tabler/icons-react": "^2.
|
|
47
|
+
"@tabler/icons-react": "^2.13.0",
|
|
48
48
|
"@types/react": "^18.0.31",
|
|
49
49
|
"@types/react-dom": "^18.0.11",
|
|
50
50
|
"esbuild": "^0.17.14",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
|
-
"typescript": "^5.0.
|
|
52
|
+
"typescript": "^5.0.3"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@mantine/core": "^6.0.5",
|