@crystaldesign/diva-archive 24.15.0-beta.44 → 24.15.0-beta.45

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.
@@ -1166,7 +1166,9 @@ function SubRow$1 (_ref) {
1166
1166
  }
1167
1167
  if (loading) {
1168
1168
  return /*#__PURE__*/jsx(Loading, {
1169
- parentRow: row
1169
+ parentRow: _objectSpread(_objectSpread({}, row), {}, {
1170
+ depth: row.depth + 1
1171
+ })
1170
1172
  });
1171
1173
  }
1172
1174
  return /*#__PURE__*/jsx(Fragment, {
@@ -1181,39 +1183,12 @@ function SubRow$1 (_ref) {
1181
1183
  var lastFlexible = ((_cellSettings = cellSettings[i + 1]) === null || _cellSettings === void 0 ? void 0 : _cellSettings.column.fixed) === true;
1182
1184
  var cells = [];
1183
1185
  if (cell.column.fixed) {
1184
- cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps({
1185
- style: {
1186
- width: 15,
1187
- minWidth: 15,
1188
- padding: 0,
1189
- position: 'relative',
1190
- zIndex: 4
1191
- }
1192
- })), {}, {
1193
- className: "fixed"
1186
+ cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps()), {}, {
1187
+ className: "fixed-spacer1"
1194
1188
  })));
1195
- cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps({
1196
- style: {
1197
- width: 5,
1198
- minWidth: 5,
1199
- padding: 0,
1200
- position: 'sticky',
1201
- backgroundColor: 'white',
1202
- zIndex: 3,
1203
- right: 247
1204
- }
1205
- })), {}, {
1206
- children: /*#__PURE__*/jsx("div", {
1207
- className: "fixed",
1208
- style: {
1209
- position: 'absolute',
1210
- top: 0,
1211
- left: 5,
1212
- bottom: 0,
1213
- width: 15,
1214
- boxShadow: 'rgb(224, 224, 224) -2px 0px 1px 0px'
1215
- }
1216
- })
1189
+ cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps()), {}, {
1190
+ className: "fixed-spacer2",
1191
+ children: /*#__PURE__*/jsx("div", {})
1217
1192
  })));
1218
1193
  }
1219
1194
  cells.push(/*#__PURE__*/jsx(TableCell, _objectSpread(_objectSpread({}, cell.getCellProps({
@@ -1 +1 @@
1
- {"version":3,"file":"SubRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/SubRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAA4B,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAEpE,MAAM,CAAC,OAAO,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,qBAsFjG"}
1
+ {"version":3,"file":"SubRow.d.ts","sourceRoot":"","sources":["../../../../../src/ui/SubRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAA4B,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAEpE,MAAM,CAAC,OAAO,WAAW,EAAE,GAAG,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,IAAI,EAAE,GAAG,EAAE,CAAA;CAAE,qBAmDjG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-archive",
3
- "version": "24.15.0-beta.44",
3
+ "version": "24.15.0-beta.45",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^6.5.0",
@@ -15,10 +15,10 @@
15
15
  "react-dom": "^18.3.1"
16
16
  },
17
17
  "dependencies": {
18
- "@crystaldesign/grid": "24.15.0-beta.44",
18
+ "@crystaldesign/grid": "24.15.0-beta.45",
19
19
  "flat": "^5.0.2"
20
20
  },
21
21
  "module": "build/esm/index.js",
22
22
  "types": "./build/types/archive/src/index.d.ts",
23
- "gitHead": "8c0bebe70a221fed0ce3760ba491696fad6fb4ad"
23
+ "gitHead": "0f0862c82d3182e924d0614dcf7c5829c9211aaa"
24
24
  }