@linzjs/step-ag-grid 29.6.0 → 29.8.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 +13 -1
- package/dist/src/components/gridFilter/index.d.ts +1 -0
- package/dist/step-ag-grid.cjs +137 -27
- package/dist/step-ag-grid.cjs.map +1 -1
- package/dist/step-ag-grid.esm.js +136 -28
- package/dist/step-ag-grid.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/gridFilter/GridFilterColumnsMultiSelect.scss +5 -1
- package/src/components/gridFilter/GridFilterColumnsMultiSelect.tsx +1 -0
- package/src/components/gridFilter/index.ts +1 -0
- package/src/stories/grid/GridFilterButtons.stories.tsx +1 -1
- package/src/stories/grid/GridFilterColumnsMultiSelect.stories.tsx +1 -1
- package/src/styles/GridTheme.scss +13 -1
package/package.json
CHANGED
|
@@ -5,13 +5,17 @@
|
|
|
5
5
|
padding: 8px;
|
|
6
6
|
@include lui.font-semibold();
|
|
7
7
|
|
|
8
|
+
.LuiSelect-label-text {
|
|
9
|
+
color: lui.$fuscous;
|
|
10
|
+
display: inline-block;
|
|
11
|
+
}
|
|
12
|
+
|
|
8
13
|
.LuiCheckboxInput-selectAll,
|
|
9
14
|
.LuiCheckboxInput-item {
|
|
10
15
|
color: lui.$charcoal;
|
|
11
16
|
line-height: 20px;
|
|
12
17
|
margin-bottom: 0;
|
|
13
18
|
font-weight: 600;
|
|
14
|
-
font-style: SemiBold;
|
|
15
19
|
font-size: 16px;
|
|
16
20
|
line-height: 24px;
|
|
17
21
|
letter-spacing: 0%;
|
|
@@ -100,6 +100,7 @@ export class GridFilterColumnsMultiSelect implements IFilterComp {
|
|
|
100
100
|
this.labelFormatter = params.labelFormatter;
|
|
101
101
|
|
|
102
102
|
this.allValues = this.loadFieldValues();
|
|
103
|
+
this.selectedValues = new Set(this.allValues);
|
|
103
104
|
|
|
104
105
|
this.gui = document.createElement('div');
|
|
105
106
|
this.reactRoot = createRoot(this.gui);
|
|
@@ -73,7 +73,7 @@ const GridFilterButtonsTemplate: StoryFn<typeof Grid<ITestRow>> = (props: GridPr
|
|
|
73
73
|
{ id: 1002, position: 'Manager', age: 65, desc: 'Technical Manager' },
|
|
74
74
|
{ id: 1003, position: 'Tester', age: 30, desc: 'E2E tester' },
|
|
75
75
|
{ id: 1004, position: 'Developer', age: 12, desc: 'Fullstack Developer' },
|
|
76
|
-
{ id: 1005, position: 'Developer', age:
|
|
76
|
+
{ id: 1005, position: 'Developer', age: 14, desc: 'Backend Developer' },
|
|
77
77
|
{ id: 1006, position: 'Architect', age: 30, desc: 'Architect' },
|
|
78
78
|
]);
|
|
79
79
|
|
|
@@ -82,7 +82,7 @@ const GridFilterColumnsMultiSelectTemplate: StoryFn<typeof Grid<ITestRow>> = (pr
|
|
|
82
82
|
{ id: 1002, position: 'Manager', age: 65, desc: 'Technical Manager' },
|
|
83
83
|
{ id: 1003, position: 'Tester', age: 30, desc: 'E2E tester' },
|
|
84
84
|
{ id: 1004, position: 'Developer', age: 12, desc: 'Fullstack Developer' },
|
|
85
|
-
{ id: 1005, position: 'Developer', age:
|
|
85
|
+
{ id: 1005, position: 'Developer', age: 13, desc: 'Backend Developer' },
|
|
86
86
|
{ id: 1006, position: 'Architect', age: 30, desc: 'Architect' },
|
|
87
87
|
]);
|
|
88
88
|
|
|
@@ -143,6 +143,18 @@ $grid-base-font-size: calc(#{lui.$base-font-size} - 1px);
|
|
|
143
143
|
overflow-x: auto;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
+
.ag-icon-filter {
|
|
147
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232A292C'%3E%3Cpath d='M6 12.984v-1.969h12v1.969zM3 6h18v2.016H3zm6.984 12v-2.016h4.031V18z'/%3E%3C/svg%3E") !important;
|
|
148
|
+
background-repeat: no-repeat;
|
|
149
|
+
background-position: center;
|
|
150
|
+
background-size: contain;
|
|
151
|
+
background-color: transparent;
|
|
152
|
+
|
|
153
|
+
&::before {
|
|
154
|
+
content: none !important;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
146
158
|
.ag-header-group-cell {
|
|
147
159
|
text-transform: uppercase;
|
|
148
160
|
font-size: 12px;
|
|
@@ -265,4 +277,4 @@ $grid-base-font-size: calc(#{lui.$base-font-size} - 1px);
|
|
|
265
277
|
.ag-header-cell {
|
|
266
278
|
font-size: 14px;
|
|
267
279
|
}
|
|
268
|
-
}
|
|
280
|
+
}
|