@elliemae/ds-data-table 2.4.3-rc.5 → 2.4.3-rc.8

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/cjs/DataTable.js CHANGED
@@ -21,6 +21,7 @@ var useDatatableConfig = require('./configs/useDatatableConfig.js');
21
21
  require('./configs/useRowFlattenization.js');
22
22
  var FiltersBar = require('./parts/FilterBar/FiltersBar.js');
23
23
  var DataTableSchema = require('./DataTableSchema.js');
24
+ var styled = require('./styled.js');
24
25
  var jsxRuntime = require('react/jsx-runtime');
25
26
 
26
27
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -41,13 +42,21 @@ const DataTable = props => {
41
42
  const tableWrapperRef = React.useRef();
42
43
  const tableContentWrapperRef = React.useRef();
43
44
  const ctx = useDatatableConfig.useDatatableConfig(props);
45
+ const {
46
+ tableProps: {
47
+ height,
48
+ width
49
+ }
50
+ } = ctx;
44
51
  return /*#__PURE__*/_jsx__default["default"](reactRedux.Provider, {
45
52
  store: reduxStore
46
53
  }, void 0, /*#__PURE__*/_jsx__default["default"](DataTableContext["default"].Provider, {
47
54
  value: ctx
48
- }, void 0, /*#__PURE__*/jsxRuntime.jsxs("div", {
55
+ }, void 0, /*#__PURE__*/jsxRuntime.jsxs(styled.StyledDataTableWrapper, {
49
56
  ref: tableWrapperRef,
50
57
  "data-testid": constants.DATA_TESTID.DATA_TABLE_WRAPPER,
58
+ height: height,
59
+ width: width,
51
60
  children: [withFilterBar ? _FiltersBar || (_FiltersBar = /*#__PURE__*/_jsx__default["default"](FiltersBar.FiltersBar, {})) : null, /*#__PURE__*/jsxRuntime.jsx(TableContent, {
52
61
  ref: tableContentWrapperRef
53
62
  })]
@@ -18,8 +18,7 @@ const EditableCell = props => {
18
18
  StandardRender,
19
19
  EditableRenderer,
20
20
  cell,
21
- isRowSelected,
22
- setValue
21
+ isRowSelected
23
22
  } = props;
24
23
  const {
25
24
  virtualListHelpers
@@ -64,7 +64,7 @@ const TableContentComponent = props => {
64
64
  visibleColumns
65
65
  } = React.useContext(DataTableContext["default"]);
66
66
  const [shiftKeyPressed, setShiftKeyPressed] = React.useState(false);
67
- const PureTableContent = React.useMemo(() => /*#__PURE__*/jsxRuntime.jsxs(styled.StyledDataTableWrapper, {
67
+ const PureTableContent = React.useMemo(() => /*#__PURE__*/jsxRuntime.jsxs(styled.StyledDataTableContentWrapper, {
68
68
  "data-testid": constants.DATA_TESTID.DATA_TABLE_CONTENT_WRAPPER,
69
69
  height: height,
70
70
  width: width,
package/cjs/styled.js CHANGED
@@ -63,14 +63,17 @@ const StyledFocusWithin = /*#__PURE__*/styled__default["default"](Grid__default[
63
63
  })([":focus-within{", "}"], props => props.hideFocus ? '' : styledFocusCss(props));
64
64
  const StyledDataTableWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
65
65
  componentId: "sc-38sgfo-1"
66
- })(["width:", ";height:", ";user-select:", ";"], props => sizeToCss.sizeToCss(props.width ?? ' 100%'), props => sizeToCss.sizeToCss(props.height ?? ' 100%'), _ref2 => {
66
+ })(["width:", ";height:", ";"], props => sizeToCss.sizeToCss(props.width ?? ' 100%'), props => sizeToCss.sizeToCss(props.height ?? ' 100%'));
67
+ const StyledDataTableContentWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
68
+ componentId: "sc-38sgfo-2"
69
+ })(["user-select:", ";width:100%;height:100%;"], _ref2 => {
67
70
  let {
68
71
  noSelectionAllowed
69
72
  } = _ref2;
70
73
  return noSelectionAllowed ? 'none' : 'auto';
71
74
  });
72
75
  const StyledTableWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
73
- componentId: "sc-38sgfo-2"
76
+ componentId: "sc-38sgfo-3"
74
77
  })(["display:inline-block;border-spacing:0;z-index:0;position:relative;", ""], _ref3 => {
75
78
  let {
76
79
  width = '100%',
@@ -82,7 +85,7 @@ const StyledTableWrapper = /*#__PURE__*/styled__default["default"].div.withConfi
82
85
  `;
83
86
  });
84
87
  const StyledTableContentWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
85
- componentId: "sc-38sgfo-3"
88
+ componentId: "sc-38sgfo-4"
86
89
  })(["position:relative;", ""], _ref4 => {
87
90
  let {
88
91
  height = 'auto'
@@ -92,7 +95,7 @@ const StyledTableContentWrapper = /*#__PURE__*/styled__default["default"].div.wi
92
95
  `;
93
96
  });
94
97
  const StyledVirtualListWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
95
- componentId: "sc-38sgfo-4"
98
+ componentId: "sc-38sgfo-5"
96
99
  })(["overflow:auto;", ""], _ref5 => {
97
100
  let {
98
101
  height = 'auto',
@@ -123,17 +126,17 @@ const getGridTemplateColumnsStyle = _ref6 => {
123
126
  };
124
127
 
125
128
  const StyledHeadWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
126
- componentId: "sc-38sgfo-5"
129
+ componentId: "sc-38sgfo-6"
127
130
  })(["position:relative;position:sticky;top:0;z-index:4;background:white;width:", ";"], props => props.colsLayoutStyle === constants.ColsLayoutStyle.Fixed ? sizeToCss.sizeToCss(props.totalColumnsWidth) : '100%');
128
131
  const StyledHeadTr = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
129
- componentId: "sc-38sgfo-6"
132
+ componentId: "sc-38sgfo-7"
130
133
  })(["", ";", ";border-right:1px solid ", ";border-bottom:1px solid ", ";grid-auto-flow:column;"], props => props.colsLayoutStyle === constants.ColsLayoutStyle.Auto ? 'width:100%' : '', props => getGridTemplateColumnsStyle({
131
134
  cols: props.cols,
132
135
  isExpandable: props.isExpandable,
133
136
  colsLayoutStyle: props.colsLayoutStyle
134
137
  }), props => props.theme.colors.neutral['080'], props => props.theme.colors.neutral['080']);
135
138
  const StyledHeadTh = /*#__PURE__*/styled__default["default"].div.withConfig({
136
- componentId: "sc-38sgfo-7"
139
+ componentId: "sc-38sgfo-8"
137
140
  })(["min-height:24px;line-height:normal;font-weight:600;text-transform:uppercase;font-size:0.923rem;text-align:left;", " color:#353c46;min-height:1.84615rem;position:sticky;z-index:", ";display:flex;justify-content:space-between;box-sizing:border-box;outline:none;", ":focus{&:after{display:block;content:' ';position:absolute;top:0;left:0;right:0;bottom:0;border:2px solid ", ";pointer-events:none;z-index:", ";}}"], cellPadding.columnPadding, zIndexInternalConfig.ZIndexDataTable.HEADER_ROW, props => props.isDraggingActive ? '' : `:hover {
138
141
  &:after {
139
142
  display: block;
@@ -150,10 +153,10 @@ const StyledHeadTh = /*#__PURE__*/styled__default["default"].div.withConfig({
150
153
  cursor: pointer;
151
154
  }`, props => props.theme.colors.brand[700], zIndexInternalConfig.ZIndexDataTable.FOCUS_BORDER);
152
155
  const StyledHeaderRightIconsWrapper = /*#__PURE__*/styled__default["default"].div.withConfig({
153
- componentId: "sc-38sgfo-8"
156
+ componentId: "sc-38sgfo-9"
154
157
  })(["height:100%;display:flex;align-items:center;max-height:24px;"]);
155
158
  const StyledResizer = /*#__PURE__*/styled__default["default"].div.withConfig({
156
- componentId: "sc-38sgfo-9"
159
+ componentId: "sc-38sgfo-10"
157
160
  })(["display:inline-block;background:", ";width:4px;height:100%;position:absolute;right:0;top:0;z-index:1;touch-action:none;cursor:col-resize;"], _ref7 => {
158
161
  let {
159
162
  isResizing,
@@ -163,19 +166,19 @@ const StyledResizer = /*#__PURE__*/styled__default["default"].div.withConfig({
163
166
  }); // CELL ***********************************************************************/
164
167
 
165
168
  const StyledActionCell = /*#__PURE__*/styled__default["default"].div.withConfig({
166
- componentId: "sc-38sgfo-10"
169
+ componentId: "sc-38sgfo-11"
167
170
  })(["position:relative;position:sticky;display:inline-block;right:0;background:white;"]);
168
171
  const StyledCell = /*#__PURE__*/styled__default["default"].div.withConfig({
169
- componentId: "sc-38sgfo-11"
172
+ componentId: "sc-38sgfo-12"
170
173
  })(["", " display:flex;align-items:center;width:100%;position:relative;"], cellPadding.cellPadding);
171
174
  const StyledCellContent = /*#__PURE__*/styled__default["default"].div.withConfig({
172
- componentId: "sc-38sgfo-12"
175
+ componentId: "sc-38sgfo-13"
173
176
  })(["display:grid;justify-self:flex-end;flex:1 1 auto;width:100%;height:100%;align-items:center;"]);
174
177
  const StyledPencilIcon = /*#__PURE__*/styled__default["default"](dsIcons.EditPencil).withConfig({
175
- componentId: "sc-38sgfo-13"
178
+ componentId: "sc-38sgfo-14"
176
179
  })([""]);
177
180
  const StyledEditableContainer = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
178
- componentId: "sc-38sgfo-14"
181
+ componentId: "sc-38sgfo-15"
179
182
  })(["width:100%;height:100%;align-items:center;& ", "{display:", ";}&:hover{", "{display:block;}}&:focus{", " ", "{display:block;}}outline:none;"], StyledPencilIcon, _ref8 => {
180
183
  let {
181
184
  shouldDisplayEditIcon
@@ -184,10 +187,10 @@ const StyledEditableContainer = /*#__PURE__*/styled__default["default"](Grid__de
184
187
  }, StyledPencilIcon, styledFocusCss, StyledPencilIcon); // ROW ************************************************************************/
185
188
 
186
189
  const StyledFullsizeGrid = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
187
- componentId: "sc-38sgfo-15"
190
+ componentId: "sc-38sgfo-16"
188
191
  })(["position:relative;z-index:", ";min-height:", ";height:", ";"], zIndexInternalConfig.ZIndexDataTable.ROW, props => props.minHeight || '36px', props => props.height || 'auto');
189
192
  const GroupHeaderContainer = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
190
- componentId: "sc-38sgfo-16"
193
+ componentId: "sc-38sgfo-17"
191
194
  })(["position:relative;background-color:", ";align-items:center;padding:0 ", ";border-top:1px solid ", ";grid-template-columns:min-content 1fr;"], _ref9 => {
192
195
  let {
193
196
  theme
@@ -200,10 +203,10 @@ const GroupHeaderContainer = /*#__PURE__*/styled__default["default"](Grid__defau
200
203
  return theme.colors.brand[300];
201
204
  });
202
205
  const GroupHeaderTitle = /*#__PURE__*/styled__default["default"].span.withConfig({
203
- componentId: "sc-38sgfo-17"
206
+ componentId: "sc-38sgfo-18"
204
207
  })(["font-weight:", ";font-size:12px;color:", ";"], props => props.theme.fontWeights.semibold, props => props.theme.colors.neutral[700]);
205
208
  const StyledCellContainer = /*#__PURE__*/styled__default["default"](Grid__default["default"]).withConfig({
206
- componentId: "sc-38sgfo-18"
209
+ componentId: "sc-38sgfo-19"
207
210
  })(["position:relative;z-index:2;min-height:", ";height:", ";width:", ";", ";", ";background-color:", ";outline:none;:focus{", "}", " ", " box-shadow:0 2px 4px 0 ", ";opacity:", ";", " color:", ";"], props => props.minHeight || '36px', props => props.height || 'auto', props => props.colLayoutStyle === constants.ColsLayoutStyle.Fixed ? sizeToCss.sizeToCss(props.totalColumnsWidth) : '100%', props => props.isDragOverlay ? 'width: fit-content;' : '', props => getGridTemplateColumnsStyle({
208
211
  cols: props.cols,
209
212
  colsLayoutStyle: props.colLayoutStyle,
@@ -243,6 +246,7 @@ exports.StyledActionCell = StyledActionCell;
243
246
  exports.StyledCell = StyledCell;
244
247
  exports.StyledCellContainer = StyledCellContainer;
245
248
  exports.StyledCellContent = StyledCellContent;
249
+ exports.StyledDataTableContentWrapper = StyledDataTableContentWrapper;
246
250
  exports.StyledDataTableWrapper = StyledDataTableWrapper;
247
251
  exports.StyledEditableContainer = StyledEditableContainer;
248
252
  exports.StyledFocusWithin = StyledFocusWithin;
package/esm/DataTable.js CHANGED
@@ -17,6 +17,7 @@ import { useDatatableConfig } from './configs/useDatatableConfig.js';
17
17
  import './configs/useRowFlattenization.js';
18
18
  import { FiltersBar } from './parts/FilterBar/FiltersBar.js';
19
19
  import { DataTableSchema } from './DataTableSchema.js';
20
+ import { StyledDataTableWrapper } from './styled.js';
20
21
  import { jsxs, jsx } from 'react/jsx-runtime';
21
22
 
22
23
  var _FiltersBar;
@@ -32,13 +33,21 @@ const DataTable = props => {
32
33
  const tableWrapperRef = useRef();
33
34
  const tableContentWrapperRef = useRef();
34
35
  const ctx = useDatatableConfig(props);
36
+ const {
37
+ tableProps: {
38
+ height,
39
+ width
40
+ }
41
+ } = ctx;
35
42
  return /*#__PURE__*/_jsx(Provider, {
36
43
  store: reduxStore
37
44
  }, void 0, /*#__PURE__*/_jsx(DataTableContext.Provider, {
38
45
  value: ctx
39
- }, void 0, /*#__PURE__*/jsxs("div", {
46
+ }, void 0, /*#__PURE__*/jsxs(StyledDataTableWrapper, {
40
47
  ref: tableWrapperRef,
41
48
  "data-testid": DATA_TESTID.DATA_TABLE_WRAPPER,
49
+ height: height,
50
+ width: width,
42
51
  children: [withFilterBar ? _FiltersBar || (_FiltersBar = /*#__PURE__*/_jsx(FiltersBar, {})) : null, /*#__PURE__*/jsx(TableContent, {
43
52
  ref: tableContentWrapperRef
44
53
  })]
@@ -10,8 +10,7 @@ const EditableCell = props => {
10
10
  StandardRender,
11
11
  EditableRenderer,
12
12
  cell,
13
- isRowSelected,
14
- setValue
13
+ isRowSelected
15
14
  } = props;
16
15
  const {
17
16
  virtualListHelpers
@@ -7,7 +7,7 @@ import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
7
7
  import _jsx from '@babel/runtime/helpers/esm/jsx';
8
8
  import React, { useContext, useState, useMemo } from 'react';
9
9
  import { connect } from 'react-redux';
10
- import { StyledDataTableWrapper, StyledTableWrapper } from '../styled.js';
10
+ import { StyledDataTableContentWrapper, StyledTableWrapper } from '../styled.js';
11
11
  import DataTableContext from '../DataTableContext.js';
12
12
  import { Pagination } from '../addons/Pagination/Pagination.js';
13
13
  import VirtualRowsList from './VirtualRowsList.js';
@@ -56,7 +56,7 @@ const TableContentComponent = props => {
56
56
  visibleColumns
57
57
  } = useContext(DataTableContext);
58
58
  const [shiftKeyPressed, setShiftKeyPressed] = useState(false);
59
- const PureTableContent = useMemo(() => /*#__PURE__*/jsxs(StyledDataTableWrapper, {
59
+ const PureTableContent = useMemo(() => /*#__PURE__*/jsxs(StyledDataTableContentWrapper, {
60
60
  "data-testid": DATA_TESTID.DATA_TABLE_CONTENT_WRAPPER,
61
61
  height: height,
62
62
  width: width,
package/esm/styled.js CHANGED
@@ -54,14 +54,17 @@ const StyledFocusWithin = /*#__PURE__*/styled(Grid).withConfig({
54
54
  })([":focus-within{", "}"], props => props.hideFocus ? '' : styledFocusCss(props));
55
55
  const StyledDataTableWrapper = /*#__PURE__*/styled.div.withConfig({
56
56
  componentId: "sc-38sgfo-1"
57
- })(["width:", ";height:", ";user-select:", ";"], props => sizeToCss(props.width ?? ' 100%'), props => sizeToCss(props.height ?? ' 100%'), _ref2 => {
57
+ })(["width:", ";height:", ";"], props => sizeToCss(props.width ?? ' 100%'), props => sizeToCss(props.height ?? ' 100%'));
58
+ const StyledDataTableContentWrapper = /*#__PURE__*/styled.div.withConfig({
59
+ componentId: "sc-38sgfo-2"
60
+ })(["user-select:", ";width:100%;height:100%;"], _ref2 => {
58
61
  let {
59
62
  noSelectionAllowed
60
63
  } = _ref2;
61
64
  return noSelectionAllowed ? 'none' : 'auto';
62
65
  });
63
66
  const StyledTableWrapper = /*#__PURE__*/styled.div.withConfig({
64
- componentId: "sc-38sgfo-2"
67
+ componentId: "sc-38sgfo-3"
65
68
  })(["display:inline-block;border-spacing:0;z-index:0;position:relative;", ""], _ref3 => {
66
69
  let {
67
70
  width = '100%',
@@ -73,7 +76,7 @@ const StyledTableWrapper = /*#__PURE__*/styled.div.withConfig({
73
76
  `;
74
77
  });
75
78
  const StyledTableContentWrapper = /*#__PURE__*/styled.div.withConfig({
76
- componentId: "sc-38sgfo-3"
79
+ componentId: "sc-38sgfo-4"
77
80
  })(["position:relative;", ""], _ref4 => {
78
81
  let {
79
82
  height = 'auto'
@@ -83,7 +86,7 @@ const StyledTableContentWrapper = /*#__PURE__*/styled.div.withConfig({
83
86
  `;
84
87
  });
85
88
  const StyledVirtualListWrapper = /*#__PURE__*/styled.div.withConfig({
86
- componentId: "sc-38sgfo-4"
89
+ componentId: "sc-38sgfo-5"
87
90
  })(["overflow:auto;", ""], _ref5 => {
88
91
  let {
89
92
  height = 'auto',
@@ -114,17 +117,17 @@ const getGridTemplateColumnsStyle = _ref6 => {
114
117
  };
115
118
 
116
119
  const StyledHeadWrapper = /*#__PURE__*/styled.div.withConfig({
117
- componentId: "sc-38sgfo-5"
120
+ componentId: "sc-38sgfo-6"
118
121
  })(["position:relative;position:sticky;top:0;z-index:4;background:white;width:", ";"], props => props.colsLayoutStyle === ColsLayoutStyle.Fixed ? sizeToCss(props.totalColumnsWidth) : '100%');
119
122
  const StyledHeadTr = /*#__PURE__*/styled(Grid).withConfig({
120
- componentId: "sc-38sgfo-6"
123
+ componentId: "sc-38sgfo-7"
121
124
  })(["", ";", ";border-right:1px solid ", ";border-bottom:1px solid ", ";grid-auto-flow:column;"], props => props.colsLayoutStyle === ColsLayoutStyle.Auto ? 'width:100%' : '', props => getGridTemplateColumnsStyle({
122
125
  cols: props.cols,
123
126
  isExpandable: props.isExpandable,
124
127
  colsLayoutStyle: props.colsLayoutStyle
125
128
  }), props => props.theme.colors.neutral['080'], props => props.theme.colors.neutral['080']);
126
129
  const StyledHeadTh = /*#__PURE__*/styled.div.withConfig({
127
- componentId: "sc-38sgfo-7"
130
+ componentId: "sc-38sgfo-8"
128
131
  })(["min-height:24px;line-height:normal;font-weight:600;text-transform:uppercase;font-size:0.923rem;text-align:left;", " color:#353c46;min-height:1.84615rem;position:sticky;z-index:", ";display:flex;justify-content:space-between;box-sizing:border-box;outline:none;", ":focus{&:after{display:block;content:' ';position:absolute;top:0;left:0;right:0;bottom:0;border:2px solid ", ";pointer-events:none;z-index:", ";}}"], columnPadding, ZIndexDataTable.HEADER_ROW, props => props.isDraggingActive ? '' : `:hover {
129
132
  &:after {
130
133
  display: block;
@@ -141,10 +144,10 @@ const StyledHeadTh = /*#__PURE__*/styled.div.withConfig({
141
144
  cursor: pointer;
142
145
  }`, props => props.theme.colors.brand[700], ZIndexDataTable.FOCUS_BORDER);
143
146
  const StyledHeaderRightIconsWrapper = /*#__PURE__*/styled.div.withConfig({
144
- componentId: "sc-38sgfo-8"
147
+ componentId: "sc-38sgfo-9"
145
148
  })(["height:100%;display:flex;align-items:center;max-height:24px;"]);
146
149
  const StyledResizer = /*#__PURE__*/styled.div.withConfig({
147
- componentId: "sc-38sgfo-9"
150
+ componentId: "sc-38sgfo-10"
148
151
  })(["display:inline-block;background:", ";width:4px;height:100%;position:absolute;right:0;top:0;z-index:1;touch-action:none;cursor:col-resize;"], _ref7 => {
149
152
  let {
150
153
  isResizing,
@@ -154,19 +157,19 @@ const StyledResizer = /*#__PURE__*/styled.div.withConfig({
154
157
  }); // CELL ***********************************************************************/
155
158
 
156
159
  const StyledActionCell = /*#__PURE__*/styled.div.withConfig({
157
- componentId: "sc-38sgfo-10"
160
+ componentId: "sc-38sgfo-11"
158
161
  })(["position:relative;position:sticky;display:inline-block;right:0;background:white;"]);
159
162
  const StyledCell = /*#__PURE__*/styled.div.withConfig({
160
- componentId: "sc-38sgfo-11"
163
+ componentId: "sc-38sgfo-12"
161
164
  })(["", " display:flex;align-items:center;width:100%;position:relative;"], cellPadding);
162
165
  const StyledCellContent = /*#__PURE__*/styled.div.withConfig({
163
- componentId: "sc-38sgfo-12"
166
+ componentId: "sc-38sgfo-13"
164
167
  })(["display:grid;justify-self:flex-end;flex:1 1 auto;width:100%;height:100%;align-items:center;"]);
165
168
  const StyledPencilIcon = /*#__PURE__*/styled(EditPencil).withConfig({
166
- componentId: "sc-38sgfo-13"
169
+ componentId: "sc-38sgfo-14"
167
170
  })([""]);
168
171
  const StyledEditableContainer = /*#__PURE__*/styled(Grid).withConfig({
169
- componentId: "sc-38sgfo-14"
172
+ componentId: "sc-38sgfo-15"
170
173
  })(["width:100%;height:100%;align-items:center;& ", "{display:", ";}&:hover{", "{display:block;}}&:focus{", " ", "{display:block;}}outline:none;"], StyledPencilIcon, _ref8 => {
171
174
  let {
172
175
  shouldDisplayEditIcon
@@ -175,10 +178,10 @@ const StyledEditableContainer = /*#__PURE__*/styled(Grid).withConfig({
175
178
  }, StyledPencilIcon, styledFocusCss, StyledPencilIcon); // ROW ************************************************************************/
176
179
 
177
180
  const StyledFullsizeGrid = /*#__PURE__*/styled(Grid).withConfig({
178
- componentId: "sc-38sgfo-15"
181
+ componentId: "sc-38sgfo-16"
179
182
  })(["position:relative;z-index:", ";min-height:", ";height:", ";"], ZIndexDataTable.ROW, props => props.minHeight || '36px', props => props.height || 'auto');
180
183
  const GroupHeaderContainer = /*#__PURE__*/styled(Grid).withConfig({
181
- componentId: "sc-38sgfo-16"
184
+ componentId: "sc-38sgfo-17"
182
185
  })(["position:relative;background-color:", ";align-items:center;padding:0 ", ";border-top:1px solid ", ";grid-template-columns:min-content 1fr;"], _ref9 => {
183
186
  let {
184
187
  theme
@@ -191,10 +194,10 @@ const GroupHeaderContainer = /*#__PURE__*/styled(Grid).withConfig({
191
194
  return theme.colors.brand[300];
192
195
  });
193
196
  const GroupHeaderTitle = /*#__PURE__*/styled.span.withConfig({
194
- componentId: "sc-38sgfo-17"
197
+ componentId: "sc-38sgfo-18"
195
198
  })(["font-weight:", ";font-size:12px;color:", ";"], props => props.theme.fontWeights.semibold, props => props.theme.colors.neutral[700]);
196
199
  const StyledCellContainer = /*#__PURE__*/styled(Grid).withConfig({
197
- componentId: "sc-38sgfo-18"
200
+ componentId: "sc-38sgfo-19"
198
201
  })(["position:relative;z-index:2;min-height:", ";height:", ";width:", ";", ";", ";background-color:", ";outline:none;:focus{", "}", " ", " box-shadow:0 2px 4px 0 ", ";opacity:", ";", " color:", ";"], props => props.minHeight || '36px', props => props.height || 'auto', props => props.colLayoutStyle === ColsLayoutStyle.Fixed ? sizeToCss(props.totalColumnsWidth) : '100%', props => props.isDragOverlay ? 'width: fit-content;' : '', props => getGridTemplateColumnsStyle({
199
202
  cols: props.cols,
200
203
  colsLayoutStyle: props.colLayoutStyle,
@@ -228,4 +231,4 @@ const StyledCellContainer = /*#__PURE__*/styled(Grid).withConfig({
228
231
  border: 1px solid ${props.theme.colors.brand[500]};
229
232
  `, props => props.disabled ? props.theme.colors.neutral['500'] : '#333333');
230
233
 
231
- export { GroupHeaderContainer, GroupHeaderTitle, StyledActionCell, StyledCell, StyledCellContainer, StyledCellContent, StyledDataTableWrapper, StyledEditableContainer, StyledFocusWithin, StyledFullsizeGrid, StyledHeadTh, StyledHeadTr, StyledHeadWrapper, StyledHeaderRightIconsWrapper, StyledPencilIcon, StyledResizer, StyledTableContentWrapper, StyledTableWrapper, StyledVirtualListWrapper };
234
+ export { GroupHeaderContainer, GroupHeaderTitle, StyledActionCell, StyledCell, StyledCellContainer, StyledCellContent, StyledDataTableContentWrapper, StyledDataTableWrapper, StyledEditableContainer, StyledFocusWithin, StyledFullsizeGrid, StyledHeadTh, StyledHeadTr, StyledHeadWrapper, StyledHeaderRightIconsWrapper, StyledPencilIcon, StyledResizer, StyledTableContentWrapper, StyledTableWrapper, StyledVirtualListWrapper };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-data-table",
3
- "version": "2.4.3-rc.5",
3
+ "version": "2.4.3-rc.8",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Data Table",
6
6
  "module": "./esm/index.js",
@@ -570,24 +570,24 @@
570
570
  "dependencies": {
571
571
  "@dnd-kit/core": "~4.0.1",
572
572
  "@dnd-kit/sortable": "~5.0.0",
573
- "@elliemae/ds-button": "2.4.3-rc.5",
574
- "@elliemae/ds-circular-progress-indicator": "2.4.3-rc.5",
575
- "@elliemae/ds-controlled-form": "2.4.3-rc.5",
576
- "@elliemae/ds-drag-and-drop": "2.4.3-rc.5",
577
- "@elliemae/ds-dropdownmenu": "2.4.3-rc.5",
578
- "@elliemae/ds-form": "2.4.3-rc.5",
579
- "@elliemae/ds-form-layout-blocks": "2.4.3-rc.5",
580
- "@elliemae/ds-grid": "2.4.3-rc.5",
581
- "@elliemae/ds-icons": "2.4.3-rc.5",
582
- "@elliemae/ds-indeterminate-progress-indicator": "2.4.3-rc.5",
583
- "@elliemae/ds-pagination": "2.4.3-rc.5",
584
- "@elliemae/ds-pills": "2.4.3-rc.5",
585
- "@elliemae/ds-popperjs": "2.4.3-rc.5",
586
- "@elliemae/ds-props-helpers": "2.4.3-rc.5",
587
- "@elliemae/ds-system": "2.4.3-rc.5",
588
- "@elliemae/ds-toolbar": "2.4.3-rc.5",
589
- "@elliemae/ds-truncated-tooltip-text": "2.4.3-rc.5",
590
- "@elliemae/ds-utilities": "2.4.3-rc.5",
573
+ "@elliemae/ds-button": "2.4.3-rc.8",
574
+ "@elliemae/ds-circular-progress-indicator": "2.4.3-rc.8",
575
+ "@elliemae/ds-controlled-form": "2.4.3-rc.8",
576
+ "@elliemae/ds-drag-and-drop": "2.4.3-rc.8",
577
+ "@elliemae/ds-dropdownmenu": "2.4.3-rc.8",
578
+ "@elliemae/ds-form": "2.4.3-rc.8",
579
+ "@elliemae/ds-form-layout-blocks": "2.4.3-rc.8",
580
+ "@elliemae/ds-grid": "2.4.3-rc.8",
581
+ "@elliemae/ds-icons": "2.4.3-rc.8",
582
+ "@elliemae/ds-indeterminate-progress-indicator": "2.4.3-rc.8",
583
+ "@elliemae/ds-pagination": "2.4.3-rc.8",
584
+ "@elliemae/ds-pills": "2.4.3-rc.8",
585
+ "@elliemae/ds-popperjs": "2.4.3-rc.8",
586
+ "@elliemae/ds-props-helpers": "2.4.3-rc.8",
587
+ "@elliemae/ds-system": "2.4.3-rc.8",
588
+ "@elliemae/ds-toolbar": "2.4.3-rc.8",
589
+ "@elliemae/ds-truncated-tooltip-text": "2.4.3-rc.8",
590
+ "@elliemae/ds-utilities": "2.4.3-rc.8",
591
591
  "@reduxjs/toolkit": "~1.6.2",
592
592
  "csstype": "~3.0.9",
593
593
  "moment": "~2.29.1",
package/types/styled.d.ts CHANGED
@@ -4,7 +4,8 @@ interface WidthAndHeight {
4
4
  height?: string | number;
5
5
  }
6
6
  export declare const StyledFocusWithin: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
7
- export declare const StyledDataTableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WidthAndHeight & {
7
+ export declare const StyledDataTableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WidthAndHeight, never>;
8
+ export declare const StyledDataTableContentWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WidthAndHeight & {
8
9
  noSelectionAllowed: boolean;
9
10
  }, never>;
10
11
  export declare const StyledTableWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, WidthAndHeight, never>;