@linzjs/step-ag-grid 24.0.0 → 25.0.0
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 +1 -1
- package/dist/index.css +0 -13
- package/dist/src/index.d.ts +2 -0
- package/{src/utils → dist/src/utils/__tests__}/testQuick.ts +1 -1
- package/{src/utils → dist/src/utils/__tests__}/testUtil.ts +1 -1
- package/dist/src/utils/__tests__/vitestUtil.ts +295 -0
- package/dist/{step-ag-grid.cjs.js → step-ag-grid.cjs} +4 -4
- package/dist/step-ag-grid.cjs.map +1 -0
- package/dist/step-ag-grid.esm.js +4 -6
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/dist/vite.config.d.ts +1 -1
- package/package.json +23 -27
- package/src/components/GridCell.test.tsx +2 -0
- package/src/contexts/GridContextProvider.test.tsx +1 -0
- package/src/contexts/GridContextProvider.tsx +1 -2
- package/src/index.ts +2 -0
- package/src/lui/ActionButton.scss +2 -2
- package/src/lui/FormError.scss +3 -4
- package/src/lui/TextInputFormatted.scss +1 -1
- package/src/lui/reactUtils.test.tsx +1 -0
- package/src/lui/timeoutHook.test.tsx +7 -6
- package/src/stories/grid/GridDragRow.stories.tsx +1 -1
- package/src/stories/grid/GridFilterButtons.stories.tsx +1 -1
- package/src/stories/grid/GridNonEditableRow.stories.tsx +1 -1
- package/src/stories/grid/GridPinnedRow.stories.tsx +1 -1
- package/src/stories/grid/GridPopoutContextMenu.stories.tsx +1 -1
- package/src/stories/grid/GridPopoutEditBoolean.stories.tsx +1 -1
- package/src/stories/grid/GridPopoutEditGeneric.stories.tsx +1 -1
- package/src/stories/grid/GridPopoutEditGenericTextArea.stories.tsx +1 -1
- package/src/stories/grid/GridPopoverEditBearing.stories.tsx +1 -1
- package/src/stories/grid/GridPopoverEditDropDown.stories.tsx +1 -1
- package/src/stories/grid/GridPopoverEditMultiSelect.stories.tsx +1 -1
- package/src/stories/grid/GridPopoverEditMultiSelectGrid.stories.tsx +1 -1
- package/src/stories/grid/GridReadOnly.stories.tsx +1 -1
- package/src/stories/grid/interactions/GridKeyboardInteractions.stories.tsx +1 -1
- package/src/styles/Grid.scss +9 -9
- package/src/styles/GridIcon.scss +6 -6
- package/src/styles/GridPopoverMenu.scss +3 -3
- package/src/styles/GridTheme.scss +1 -1
- package/src/styles/react-menu-customisations.scss +26 -41
- package/src/utils/__tests__/storybookTestUtil.ts +4 -0
- package/src/utils/__tests__/testQuick.ts +157 -0
- package/src/utils/__tests__/testUtil.ts +294 -0
- package/src/utils/__tests__/vitestUtil.ts +295 -0
- package/src/utils/bearing.test.ts +3 -1
- package/src/utils/textMatcher.test.ts +2 -1
- package/src/utils/textValidator.test.ts +5 -6
- package/src/utils/util.test.ts +2 -1
- package/dist/src/utils/storybookTestUtil.d.ts +0 -3
- package/dist/src/utils/testQuick.d.ts +0 -62
- package/dist/src/utils/testUtil.d.ts +0 -46
- package/dist/step-ag-grid.cjs.js.map +0 -1
- /package/{src/utils → dist/src/utils/__tests__}/storybookTestUtil.ts +0 -0
package/dist/vite.config.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vite").
|
|
1
|
+
declare const _default: import("vite").UserConfigFnObject;
|
|
2
2
|
export default _default;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@linzjs/step-ag-grid",
|
|
3
3
|
"repository": "github:linz/step-ag-grid.git",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "25.0.0",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"aggrid",
|
|
8
8
|
"ag-grid",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"react",
|
|
13
13
|
"react-component"
|
|
14
14
|
],
|
|
15
|
-
"main": "dist/step-ag-grid.cjs
|
|
15
|
+
"main": "dist/step-ag-grid.cjs",
|
|
16
16
|
"type": "module",
|
|
17
17
|
"typings": "dist/src/index.d.ts",
|
|
18
18
|
"module": "dist/step-ag-grid.esm.js",
|
|
@@ -37,19 +37,19 @@
|
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"clsx": "^2.1.1",
|
|
39
39
|
"debounce-promise": "^3.1.2",
|
|
40
|
-
"lodash-es": ">=4",
|
|
41
40
|
"matcher": "^5.0.0",
|
|
42
|
-
"react-transition-state": "^2.
|
|
41
|
+
"react-transition-state": "^2.3.0",
|
|
43
42
|
"usehooks-ts": "^3.1.0"
|
|
44
43
|
},
|
|
45
44
|
"scripts": {
|
|
46
45
|
"build": "run-s clean stylelint lint css bundle",
|
|
47
|
-
"yalc": "run-s clean css bundle && yalc
|
|
46
|
+
"yalc": "run-s clean css bundle && yalc push",
|
|
48
47
|
"clean": "rimraf dist && mkdirp ./dist",
|
|
49
48
|
"bundle": "rollup -c",
|
|
50
49
|
"stylelint": "stylelint src/**/*.scss src/**/*.css --fix",
|
|
51
50
|
"css": "sass ./src/styles/index.scss:dist/index.css --no-source-map",
|
|
52
|
-
"test": "
|
|
51
|
+
"test": "vitest run",
|
|
52
|
+
"test:watch": "vitest --watch",
|
|
53
53
|
"lint": "eslint ./src --ext .js,.ts,.tsx --cache --ignore-path .gitignore",
|
|
54
54
|
"lint:fix": "eslint ./src --ext .js,.ts,.tsx --fix --cache --ignore-path .gitignore",
|
|
55
55
|
"storybook": "storybook dev -p 6006",
|
|
@@ -61,8 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"eslintConfig": {
|
|
63
63
|
"extends": [
|
|
64
|
-
"react-app"
|
|
65
|
-
"react-app/jest"
|
|
64
|
+
"react-app"
|
|
66
65
|
]
|
|
67
66
|
},
|
|
68
67
|
"browserslist": {
|
|
@@ -78,7 +77,6 @@
|
|
|
78
77
|
]
|
|
79
78
|
},
|
|
80
79
|
"devDependencies": {
|
|
81
|
-
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
82
80
|
"@chromatic-com/storybook": "^3.2.4",
|
|
83
81
|
"@linzjs/lui": "^22.4.2",
|
|
84
82
|
"@linzjs/style": "^5.4.0",
|
|
@@ -86,35 +84,31 @@
|
|
|
86
84
|
"@rollup/plugin-json": "^6.1.0",
|
|
87
85
|
"@rollup/plugin-node-resolve": "^15.3.1",
|
|
88
86
|
"@semantic-release/git": "^10.0.1",
|
|
89
|
-
"@storybook/addon-essentials": "^8.5.
|
|
90
|
-
"@storybook/addon-interactions": "^8.5.
|
|
91
|
-
"@storybook/addon-links": "^8.5.
|
|
92
|
-
"@storybook/react": "^8.5.
|
|
93
|
-
"@storybook/react-vite": "^8.5.
|
|
94
|
-
"@storybook/test": "^8.5.
|
|
87
|
+
"@storybook/addon-essentials": "^8.5.3",
|
|
88
|
+
"@storybook/addon-interactions": "^8.5.3",
|
|
89
|
+
"@storybook/addon-links": "^8.5.3",
|
|
90
|
+
"@storybook/react": "^8.5.3",
|
|
91
|
+
"@storybook/react-vite": "^8.5.3",
|
|
92
|
+
"@storybook/test": "^8.5.3",
|
|
95
93
|
"@storybook/test-runner": "^0.21.0",
|
|
96
94
|
"@testing-library/dom": "^10.4.0",
|
|
97
|
-
"@testing-library/jest-dom": "^6.6.3",
|
|
98
95
|
"@testing-library/react": "^16.2.0",
|
|
99
96
|
"@testing-library/user-event": "^14.6.1",
|
|
100
97
|
"@types/debounce-promise": "^3.1.9",
|
|
101
|
-
"@types/jest": "^29.5.14",
|
|
102
98
|
"@types/lodash-es": "^4.17.12",
|
|
103
|
-
"@types/node": "^22.
|
|
99
|
+
"@types/node": "^22.13.0",
|
|
104
100
|
"@types/react": "^18.3.8",
|
|
105
101
|
"@types/react-dom": "^18.3.5",
|
|
106
102
|
"@types/uuid": "^10.0.0",
|
|
107
103
|
"@vitejs/plugin-react-swc": "^3.7.2",
|
|
104
|
+
"@vitest/ui": "^3.0.4",
|
|
108
105
|
"ag-grid-community": "^32.3.3",
|
|
109
106
|
"ag-grid-react": "^32.3.3",
|
|
110
|
-
"babel-jest": "^29.7.0",
|
|
111
107
|
"babel-preset-react-app": "^10.0.1",
|
|
112
|
-
"chromatic": "^11.25.
|
|
108
|
+
"chromatic": "^11.25.2",
|
|
113
109
|
"css-loader": "^7.1.2",
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"jest-environment-jsdom": "^29.7.0",
|
|
117
|
-
"jest-expect-message": "^1.1.3",
|
|
110
|
+
"jsdom": "^26.0.0",
|
|
111
|
+
"lodash-es": "^4.17.21",
|
|
118
112
|
"mkdirp": "^3.0.1",
|
|
119
113
|
"npm-run-all": "^4.1.5",
|
|
120
114
|
"postcss": "^8.5.1",
|
|
@@ -123,7 +117,7 @@
|
|
|
123
117
|
"react": ">=18",
|
|
124
118
|
"react-app-polyfill": "^3.0.0",
|
|
125
119
|
"react-dom": "^18.3.1",
|
|
126
|
-
"rollup": "^4.
|
|
120
|
+
"rollup": "^4.34.0",
|
|
127
121
|
"rollup-plugin-copy": "^3.5.0",
|
|
128
122
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
129
123
|
"rollup-plugin-postcss": "^4.0.2",
|
|
@@ -131,7 +125,7 @@
|
|
|
131
125
|
"sass": "^1.83.4",
|
|
132
126
|
"sass-loader": "^14.2.1",
|
|
133
127
|
"semantic-release": "^22.0.12",
|
|
134
|
-
"storybook": "^8.5.
|
|
128
|
+
"storybook": "^8.5.3",
|
|
135
129
|
"storybook-css-modules-preset": "^1.1.1",
|
|
136
130
|
"style-loader": "^4.0.0",
|
|
137
131
|
"stylelint": "^15.11.0",
|
|
@@ -142,7 +136,9 @@
|
|
|
142
136
|
"typescript": "^5.7.3",
|
|
143
137
|
"vite": "^6.0.11",
|
|
144
138
|
"vite-plugin-html": "^3.2.2",
|
|
145
|
-
"vite-tsconfig-paths": "^5.1.4"
|
|
139
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
140
|
+
"vitest": "^3.0.4",
|
|
141
|
+
"vitest-canvas-mock": "^0.3.3"
|
|
146
142
|
},
|
|
147
143
|
"babel": {
|
|
148
144
|
"presets": [
|
|
@@ -618,8 +618,7 @@ export const GridContextProvider = <TData extends GridBaseRow>(props: PropsWithC
|
|
|
618
618
|
try {
|
|
619
619
|
gridApi && gridApi.redrawRows(rowNodes ? { rowNodes } : undefined);
|
|
620
620
|
} catch (ex) {
|
|
621
|
-
|
|
622
|
-
if (typeof jest === 'undefined') console.error(ex);
|
|
621
|
+
console.error(ex);
|
|
623
622
|
}
|
|
624
623
|
}, 50),
|
|
625
624
|
[gridApi],
|
package/src/index.ts
CHANGED
|
@@ -14,4 +14,6 @@ export * from './react-menu3/index';
|
|
|
14
14
|
export * from './react-menu3/types';
|
|
15
15
|
export * from './utils/bearing';
|
|
16
16
|
export * from './utils/deferredPromise';
|
|
17
|
+
export * from './utils/textMatcher';
|
|
18
|
+
export * from './utils/textValidator';
|
|
17
19
|
export * from './utils/util';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "../../node_modules/@linzjs/lui/dist/scss/
|
|
1
|
+
@use "../../node_modules/@linzjs/lui/dist/scss/Core" as lui;
|
|
2
2
|
|
|
3
3
|
.ActionButton {
|
|
4
4
|
display: flex;
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
.ActionButton-inProgress.lui-button-lg.lui-button-icon-right {
|
|
45
45
|
cursor: progress;
|
|
46
46
|
color: #007198;
|
|
47
|
-
background-color:
|
|
47
|
+
background-color: lui.$polar;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
.ActionButton-fill {
|
package/src/lui/FormError.scss
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
@use "../../node_modules/@linzjs/lui/dist/scss/
|
|
2
|
-
|
|
1
|
+
@use "../../node_modules/@linzjs/lui/dist/scss/Core" as lui;
|
|
3
2
|
|
|
4
3
|
.FormError {
|
|
5
4
|
display: flex;
|
|
6
5
|
|
|
7
6
|
&-helpText {
|
|
8
7
|
font-size: 0.75rem;
|
|
9
|
-
color:
|
|
8
|
+
color: lui.$fuscous;
|
|
10
9
|
font-weight: 400;
|
|
11
10
|
}
|
|
12
11
|
|
|
@@ -19,7 +18,7 @@
|
|
|
19
18
|
padding-left: 0;
|
|
20
19
|
font-size: 14px;
|
|
21
20
|
font-weight: 600;
|
|
22
|
-
color:
|
|
21
|
+
color: lui.$charcoal;
|
|
23
22
|
align-items: center;
|
|
24
23
|
}
|
|
25
24
|
}
|
|
@@ -2,6 +2,7 @@ import { screen } from '@testing-library/dom';
|
|
|
2
2
|
import { render } from '@testing-library/react';
|
|
3
3
|
import userEvent from '@testing-library/user-event';
|
|
4
4
|
import { ReactElement, useEffect, useState } from 'react';
|
|
5
|
+
import { describe, expect, test } from 'vitest';
|
|
5
6
|
|
|
6
7
|
import { usePrevious } from './reactUtils';
|
|
7
8
|
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { render } from '@testing-library/react';
|
|
2
|
+
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
|
|
2
3
|
|
|
3
4
|
import { useTimeoutHook } from './timeoutHook';
|
|
4
5
|
|
|
5
6
|
describe('useTimeoutHook', () => {
|
|
6
7
|
beforeEach(() => {
|
|
7
|
-
|
|
8
|
+
vi.useFakeTimers();
|
|
8
9
|
});
|
|
9
10
|
|
|
10
11
|
afterEach(() => {
|
|
11
|
-
|
|
12
|
+
vi.useRealTimers();
|
|
12
13
|
});
|
|
13
14
|
|
|
14
15
|
const TestComponent = (props: { callback: () => void; repeat?: number }) => {
|
|
@@ -20,20 +21,20 @@ describe('useTimeoutHook', () => {
|
|
|
20
21
|
};
|
|
21
22
|
|
|
22
23
|
test('invokes on timeout', () => {
|
|
23
|
-
const callback =
|
|
24
|
+
const callback = vi.fn();
|
|
24
25
|
|
|
25
26
|
render(<TestComponent callback={callback} />);
|
|
26
27
|
expect(callback).toHaveBeenCalledTimes(0);
|
|
27
|
-
|
|
28
|
+
vi.runAllTimers();
|
|
28
29
|
expect(callback).toHaveBeenCalledTimes(1);
|
|
29
30
|
});
|
|
30
31
|
|
|
31
32
|
test('invokes once on double invocation', () => {
|
|
32
|
-
const callback =
|
|
33
|
+
const callback = vi.fn();
|
|
33
34
|
|
|
34
35
|
render(<TestComponent callback={callback} repeat={2} />);
|
|
35
36
|
expect(callback).toHaveBeenCalledTimes(0);
|
|
36
|
-
|
|
37
|
+
vi.runAllTimers();
|
|
37
38
|
expect(callback).toHaveBeenCalledTimes(1);
|
|
38
39
|
});
|
|
39
40
|
});
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
GridUpdatingContextProvider,
|
|
16
16
|
GridWrapper,
|
|
17
17
|
} from '../..';
|
|
18
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
18
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
19
19
|
|
|
20
20
|
export default {
|
|
21
21
|
title: 'Components / Grids',
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
GridUpdatingContextProvider,
|
|
19
19
|
GridWrapper,
|
|
20
20
|
} from '../..';
|
|
21
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
21
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
22
22
|
|
|
23
23
|
export default {
|
|
24
24
|
title: 'Components / Grids',
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
GridUpdatingContextProvider,
|
|
16
16
|
GridWrapper,
|
|
17
17
|
} from '../..';
|
|
18
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
18
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
19
19
|
|
|
20
20
|
export default {
|
|
21
21
|
title: 'Components / Grids',
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
MenuItem,
|
|
20
20
|
wait,
|
|
21
21
|
} from '../..';
|
|
22
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
22
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
23
23
|
import { IFormTestRow } from './FormTest';
|
|
24
24
|
|
|
25
25
|
export default {
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
GridEditBoolean,
|
|
16
16
|
GridUpdatingContextProvider,
|
|
17
17
|
} from '../..';
|
|
18
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
18
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
19
19
|
import { IFormTestRow } from './FormTest';
|
|
20
20
|
|
|
21
21
|
export default {
|
|
@@ -7,7 +7,7 @@ import { Meta, StoryFn } from '@storybook/react';
|
|
|
7
7
|
import { useMemo, useState } from 'react';
|
|
8
8
|
|
|
9
9
|
import { ColDefT, Grid, GridCell, GridContextProvider, GridProps, GridUpdatingContextProvider } from '../..';
|
|
10
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
10
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
11
11
|
import { FormTest, IFormTestRow } from './FormTest';
|
|
12
12
|
|
|
13
13
|
export default {
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isFloat,
|
|
26
26
|
wait,
|
|
27
27
|
} from '../..';
|
|
28
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
28
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
29
29
|
import { IFormTestRow } from './FormTest';
|
|
30
30
|
|
|
31
31
|
export default {
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
MenuSeparatorString,
|
|
28
28
|
wait,
|
|
29
29
|
} from '../..';
|
|
30
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
30
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
31
31
|
|
|
32
32
|
export default {
|
|
33
33
|
title: 'Components / Grids',
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
MultiSelectOption,
|
|
21
21
|
wait,
|
|
22
22
|
} from '../..';
|
|
23
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
23
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
24
24
|
|
|
25
25
|
export default {
|
|
26
26
|
title: 'Components / Grids',
|
|
@@ -10,7 +10,7 @@ import { useMemo, useState } from 'react';
|
|
|
10
10
|
import { ColDefT, Grid, GridCell, GridContextProvider, GridProps, GridUpdatingContextProvider } from '../..';
|
|
11
11
|
import { MultiSelectGridOption } from '../../components/gridForm/GridFormMultiSelectGrid';
|
|
12
12
|
import { GridPopoutEditMultiSelectGrid } from '../../components/gridPopoverEdit/GridPopoutEditMultiSelectGrid';
|
|
13
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
13
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
14
14
|
import { EditMultiSelect } from './GridPopoverEditMultiSelect.stories';
|
|
15
15
|
|
|
16
16
|
export default {
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from '../..';
|
|
29
29
|
import { GridFilterColumnsToggle, GridFilterDownloadCsvButton } from '../../components';
|
|
30
30
|
import { GridCellFiller } from '../../components/GridCellFiller';
|
|
31
|
-
import { waitForGridReady } from '../../utils/storybookTestUtil';
|
|
31
|
+
import { waitForGridReady } from '../../utils/__tests__/storybookTestUtil';
|
|
32
32
|
|
|
33
33
|
export default {
|
|
34
34
|
title: 'Components / Grids',
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
MenuOption,
|
|
25
25
|
wait,
|
|
26
26
|
} from '../../../';
|
|
27
|
-
import { waitForGridReady } from '../../../utils/storybookTestUtil';
|
|
27
|
+
import { waitForGridReady } from '../../../utils/__tests__/storybookTestUtil';
|
|
28
28
|
|
|
29
29
|
export default {
|
|
30
30
|
title: 'Components / Grids',
|
package/src/styles/Grid.scss
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use "../react-menu3/styles/index";
|
|
2
2
|
@use "./react-menu-customisations";
|
|
3
|
-
@use "../../node_modules/@linzjs/lui/dist/scss/
|
|
3
|
+
@use "../../node_modules/@linzjs/lui/dist/scss/Core" as lui;
|
|
4
4
|
|
|
5
5
|
.LabelPreferencesPanelGridCellAlignCenter .ag-wrapper {
|
|
6
6
|
margin-left: auto;
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
align-items: center;
|
|
41
41
|
flex-direction: row;
|
|
42
42
|
padding: 12px;
|
|
43
|
-
background-color:
|
|
44
|
-
border-bottom: 1px solid
|
|
45
|
-
border-top: 2px solid
|
|
43
|
+
background-color: lui.$hint;
|
|
44
|
+
border-bottom: 1px solid lui.$silver;
|
|
45
|
+
border-top: 2px solid lui.$lily;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
.Grid-container-filters button {
|
|
@@ -68,21 +68,21 @@
|
|
|
68
68
|
position: absolute;
|
|
69
69
|
margin: 8px;
|
|
70
70
|
pointer-events: none;
|
|
71
|
-
fill:
|
|
71
|
+
fill: lui.$fuscous;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
.GridFilterQuick-input {
|
|
75
75
|
width: 100%;
|
|
76
76
|
height: 40px;
|
|
77
77
|
min-height: 40px;
|
|
78
|
-
border: 0.06rem solid
|
|
78
|
+
border: 0.06rem solid lui.$silver;
|
|
79
79
|
border-radius: 3px;
|
|
80
80
|
padding-left: 36px;
|
|
81
81
|
padding-right: 0.75rem;
|
|
82
82
|
font-family: "Open Sans", system-ui, sans-serif;
|
|
83
83
|
|
|
84
84
|
&::placeholder {
|
|
85
|
-
color:
|
|
85
|
+
color: lui.$fuscous;
|
|
86
86
|
font-style: italic;
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -109,11 +109,11 @@
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
.ag-floating-top-container .ag-row {
|
|
112
|
-
background-color:
|
|
112
|
+
background-color: lui.$hint;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.ag-floating-bottom-container .ag-row {
|
|
116
|
-
background-color:
|
|
116
|
+
background-color: lui.$hint;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.GridHeaderAlignCenter .ag-header-cell-text {
|
package/src/styles/GridIcon.scss
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "../../node_modules/@linzjs/lui/dist/scss/
|
|
1
|
+
@use "../../node_modules/@linzjs/lui/dist/scss/Core" as lui;
|
|
2
2
|
|
|
3
3
|
.AgGridGenericCellRenderer-icon {
|
|
4
4
|
margin-right: 4px;
|
|
@@ -6,24 +6,24 @@
|
|
|
6
6
|
|
|
7
7
|
.AgGridGenericCellRenderer-ic_infoIcon {
|
|
8
8
|
margin-right: 4px;
|
|
9
|
-
fill:
|
|
9
|
+
fill: lui.$info;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.AgGridGenericCellRenderer-ic_info_outlineIcon {
|
|
13
13
|
margin-right: 4px;
|
|
14
|
-
fill:
|
|
14
|
+
fill: lui.$info;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.AgGridGenericCellRenderer-ic_warningIcon {
|
|
18
18
|
margin-right: 4px;
|
|
19
|
-
fill:
|
|
19
|
+
fill: lui.$warning;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.AgGridGenericCellRenderer-ic_warning_outlineIcon {
|
|
23
23
|
margin-right: 4px;
|
|
24
|
-
fill:
|
|
24
|
+
fill: lui.$warning;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.GridIcon-disabled {
|
|
28
|
-
fill:
|
|
28
|
+
fill: lui.$silver !important;
|
|
29
29
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
@use "../../node_modules/@linzjs/lui/dist/scss/
|
|
1
|
+
@use "../../node_modules/@linzjs/lui/dist/scss/Core" as lui;
|
|
2
2
|
|
|
3
3
|
.ag-cell .GridPopoutMenu-burger {
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
display: block;
|
|
6
6
|
|
|
7
7
|
svg {
|
|
8
|
-
fill:
|
|
8
|
+
fill: lui.$sea;
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
.ag-cell .GridPopoutMenu-burgerDisabled svg {
|
|
13
|
-
fill:
|
|
13
|
+
fill: lui.$disabled-color;
|
|
14
14
|
}
|