@linzjs/step-ag-grid 17.4.5 → 17.4.7
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/GridTheme.scss +126 -74
- package/dist/index.css +5 -51
- package/dist/step-ag-grid.cjs.js +10 -1
- package/dist/step-ag-grid.cjs.js.map +1 -1
- package/dist/step-ag-grid.esm.js +10 -1
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/stories/grid/GridDragRow.stories.tsx +1 -1
- package/src/styles/Grid.scss +6 -54
- package/src/styles/GridTheme.scss +126 -74
- package/src/utils/testUtil.ts +20 -2
package/dist/step-ag-grid.esm.js
CHANGED
|
@@ -25572,7 +25572,16 @@ const findRow = async (rowId, within) => {
|
|
|
25572
25572
|
await waitForWrapper(async () => {
|
|
25573
25573
|
expect(getAllQuick({ classes: ".ag-row" }).length > 0).toBe(true);
|
|
25574
25574
|
});
|
|
25575
|
-
|
|
25575
|
+
//if this is not wrapped in an act console errors are logged during testing
|
|
25576
|
+
let row;
|
|
25577
|
+
await act(async () => {
|
|
25578
|
+
row = await findQuick({ tagName: `.ag-center-cols-container div[row-id='${rowId}']:not(:empty)` }, within);
|
|
25579
|
+
const leftCols = await findQuick({ tagName: `.ag-pinned-left-cols-container div[row-id='${rowId}']` }, within);
|
|
25580
|
+
const rightCols = await findQuick({ tagName: `.ag-pinned-right-cols-container div[row-id='${rowId}']` }, within);
|
|
25581
|
+
const combineChildren = [...leftCols.children, ...row.children, ...rightCols.children];
|
|
25582
|
+
row.replaceChildren(...combineChildren);
|
|
25583
|
+
});
|
|
25584
|
+
return row;
|
|
25576
25585
|
};
|
|
25577
25586
|
const queryRow = async (rowId, within) => {
|
|
25578
25587
|
return queryQuick({ tagName: `div[row-id='${rowId}']:not(:empty)` }, within);
|