@crystaldesign/grid 24.7.2-rc.0 → 24.8.0-beta.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/build/esm/index.js +5 -2
- package/package.json +3 -3
package/build/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
|
|
|
4
4
|
import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
5
5
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
6
6
|
import React, { useState, useEffect, useMemo, createElement, forwardRef, useRef, useReducer, useCallback } from 'react';
|
|
7
|
-
import { useTranslation, useDivaCore, getLogger, DivaUtils } from '@crystaldesign/diva-core';
|
|
7
|
+
import { useTranslation, useDivaCore, getLogger, DivaUtils, DivaError } from '@crystaldesign/diva-core';
|
|
8
8
|
import { useAsyncDebounce, useTable, useFilters, useGlobalFilter, useGroupBy, useSortBy, useExpanded, usePagination, useRowSelect } from 'react-table';
|
|
9
9
|
import { makeStyles, createStyles, fade, withStyles } from '@material-ui/core/styles';
|
|
10
10
|
import Alert from '@material-ui/lab/Alert';
|
|
@@ -2743,7 +2743,10 @@ function useApiInterface(_ref) {
|
|
|
2743
2743
|
_context.prev = 15;
|
|
2744
2744
|
_context.t0 = _context["catch"](5);
|
|
2745
2745
|
if (_context.t0 !== 'Request cancelled') {
|
|
2746
|
-
LOG.error(_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message,
|
|
2746
|
+
LOG.error(new DivaError(_context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message, {
|
|
2747
|
+
code: 'GRID_0001',
|
|
2748
|
+
cause: _context.t0
|
|
2749
|
+
}));
|
|
2747
2750
|
dispatch({
|
|
2748
2751
|
type: 'loadingFailed',
|
|
2749
2752
|
data: _context.t0 === null || _context.t0 === void 0 ? void 0 : _context.t0.message
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/grid",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.8.0-beta.0",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@material-ui/pickers": "^3.2.10",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"react-dom": "17.0.2"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@crystaldesign/searchfield": "24.
|
|
16
|
+
"@crystaldesign/searchfield": "24.8.0-beta.0",
|
|
17
17
|
"@date-io/core": "^1.3.13",
|
|
18
18
|
"@date-io/date-fns": "^1.3.13",
|
|
19
19
|
"@tinymce/tinymce-react": "^3.13.0",
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
},
|
|
44
44
|
"module": "build/esm/index.js",
|
|
45
45
|
"types": "./build/types/grid/src/index.d.ts",
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "3bccee6e1a102e49d3445f46724aa9760b5f3b55"
|
|
47
47
|
}
|