@crystaldesign/grid 24.7.0-beta.49 → 24.7.0-beta.50

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.
@@ -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, 'GRID_0001', _context.t0);
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.7.0-beta.49",
3
+ "version": "24.7.0-beta.50",
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.7.0-beta.49",
16
+ "@crystaldesign/searchfield": "24.7.0-beta.50",
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": "b3e730649c5930e63ec22770e58c6b042f3f87e4"
46
+ "gitHead": "a0f1c378ec13a800840c44643de4b9e42fd14e83"
47
47
  }