@bento-core/table 1.0.1-ccdihub.53 → 1.0.1-ccdihub.55

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.js CHANGED
@@ -15,6 +15,12 @@ Object.defineProperty(exports, "TableView", {
15
15
  return _TableView.default;
16
16
  }
17
17
  });
18
+ Object.defineProperty(exports, "cellStyles", {
19
+ enumerable: true,
20
+ get: function get() {
21
+ return _Types.cellStyles;
22
+ }
23
+ });
18
24
  Object.defineProperty(exports, "cellTypes", {
19
25
  enumerable: true,
20
26
  get: function get() {
@@ -66,8 +66,7 @@ const CustomPagination = _ref => {
66
66
  IconComponent: _KeyboardArrowDownOutlined.default,
67
67
  inputProps: {
68
68
  'aria-label': 'Selection dropdown for displaying the number of results per page'
69
- },
70
- native: true
69
+ }
71
70
  }
72
71
  }));
73
72
  };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.headerTypes = exports.dataFormatTypes = exports.cellTypes = exports.actionCellTypes = exports.LINK = exports.FORMAT_DATA_CELLS = exports.FORMAT_DATA = exports.FORMAT_BYTES = exports.DISPLAY = exports.DELETE = exports.DEFAULT = exports.ComponentTypes = exports.CUSTOM_ELEM = exports.CHECKBOX = void 0;
6
+ exports.headerTypes = exports.dataFormatTypes = exports.cellTypes = exports.cellStyles = exports.actionCellTypes = exports.TRANSFORM = exports.LINK = exports.FORMAT_DATA_CELLS = exports.FORMAT_DATA = exports.FORMAT_BYTES = exports.EXPAND = exports.DISPLAY = exports.DELETE = exports.DEFAULT = exports.ComponentTypes = exports.CUSTOM_ELEM = exports.CHECKBOX = void 0;
7
7
  const CHECKBOX = 'CHECKBOX';
8
8
  exports.CHECKBOX = CHECKBOX;
9
9
  const DELETE = 'DELETE';
@@ -20,6 +20,10 @@ const FORMAT_DATA = 'FORMAT_DATA';
20
20
  exports.FORMAT_DATA = FORMAT_DATA;
21
21
  const FORMAT_BYTES = 'FORMAT_BYTES';
22
22
  exports.FORMAT_BYTES = FORMAT_BYTES;
23
+ const TRANSFORM = 'TRANSFORM';
24
+ exports.TRANSFORM = TRANSFORM;
25
+ const EXPAND = 'EXPAND';
26
+ exports.EXPAND = EXPAND;
23
27
  const cellTypes = {
24
28
  CUSTOM_ELEM,
25
29
  LINK,
@@ -30,6 +34,11 @@ const cellTypes = {
30
34
  FORMAT_DATA
31
35
  };
32
36
  exports.cellTypes = cellTypes;
37
+ const cellStyles = {
38
+ TRANSFORM,
39
+ EXPAND
40
+ };
41
+ exports.cellStyles = cellStyles;
33
42
  const actionCellTypes = [CHECKBOX, DELETE];
34
43
  exports.actionCellTypes = actionCellTypes;
35
44
  const FORMAT_DATA_CELLS = [FORMAT_BYTES];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bento-core/table",
3
- "version": "1.0.1-ccdihub.53",
3
+ "version": "1.0.1-ccdihub.55",
4
4
  "main": "dist/index.js",
5
5
  "scripts": {
6
6
  "build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
package/src/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export { default as TableView } from './TableView';
2
2
  export {
3
3
  cellTypes,
4
+ cellStyles,
4
5
  headerTypes,
5
6
  ComponentTypes,
6
7
  dataFormatTypes,
@@ -55,7 +55,6 @@ const CustomPagination = ({
55
55
  SelectProps={{
56
56
  IconComponent: KeyboardArrowDownOutlinedIcon,
57
57
  inputProps: { 'aria-label': 'Selection dropdown for displaying the number of results per page' },
58
- native: true,
59
58
  }}
60
59
  />
61
60
  </ThemeProvider>
package/src/util/Types.js CHANGED
@@ -6,6 +6,8 @@ export const DISPLAY = 'DISPLAY';
6
6
  export const DEFAULT = 'DEFAULT';
7
7
  export const FORMAT_DATA = 'FORMAT_DATA';
8
8
  export const FORMAT_BYTES = 'FORMAT_BYTES';
9
+ export const TRANSFORM = 'TRANSFORM';
10
+ export const EXPAND = 'EXPAND';
9
11
 
10
12
  export const cellTypes = {
11
13
  CUSTOM_ELEM,
@@ -17,6 +19,11 @@ export const cellTypes = {
17
19
  FORMAT_DATA,
18
20
  };
19
21
 
22
+ export const cellStyles = {
23
+ TRANSFORM,
24
+ EXPAND,
25
+ };
26
+
20
27
  export const actionCellTypes = [CHECKBOX, DELETE];
21
28
 
22
29
  export const FORMAT_DATA_CELLS = [FORMAT_BYTES];