@salt-ds/ag-grid-theme 2.2.0 → 2.3.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/package.json +5 -2
- package/salt-ag-theme.css +52 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salt-ds/ag-grid-theme",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"/fonts",
|
|
14
14
|
"/salt-ag-theme.css"
|
|
15
15
|
],
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"*.css"
|
|
18
|
+
],
|
|
16
19
|
"scripts": {
|
|
17
20
|
"build": "yarn node ./scripts/build.mjs",
|
|
18
21
|
"build-watch": "yarn node ./scripts/build.mjs --watch"
|
|
@@ -25,7 +28,7 @@
|
|
|
25
28
|
"del": "^7.0.0"
|
|
26
29
|
},
|
|
27
30
|
"peerDependencies": {
|
|
28
|
-
"@salt-ds/theme": "^1.
|
|
31
|
+
"@salt-ds/theme": "^1.24.0",
|
|
29
32
|
"ag-grid-community": ">=28.0.0"
|
|
30
33
|
}
|
|
31
34
|
}
|
package/salt-ag-theme.css
CHANGED
|
@@ -27,6 +27,7 @@ div[class*=ag-theme-salt] {
|
|
|
27
27
|
--ag-header-foreground-color: var(--salt-content-secondary-foreground);
|
|
28
28
|
--ag-header-height: calc(var(--salt-size-base) + var(--salt-spacing-100));
|
|
29
29
|
--ag-icon-size: max(var(--salt-size-icon), 12px);
|
|
30
|
+
--ag-input-border-color: var(--salt-editable-borderColor);
|
|
30
31
|
--ag-input-focus-border-color: var(--salt-editable-borderColor-hover);
|
|
31
32
|
--ag-input-focus-box-shadow: none;
|
|
32
33
|
--ag-invalid-color: var(--salt-status-error-foreground-informative);
|
|
@@ -45,6 +46,7 @@ div[class*=ag-theme-salt] {
|
|
|
45
46
|
--ag-selected-tab-underline-color: var(--salt-navigable-indicator-active);
|
|
46
47
|
--ag-selected-tab-underline-width: var(--salt-size-indicator);
|
|
47
48
|
--ag-subheader-background-color: var(--salt-container-primary-background);
|
|
49
|
+
--ag-control-panel-background-color: var(--salt-container-primary-background);
|
|
48
50
|
--ag-toggle-button-off-background-color: var(--salt-container-primary-background);
|
|
49
51
|
--ag-toggle-button-off-border-color: var(--salt-selectable-borderColor);
|
|
50
52
|
--ag-toggle-button-on-background-color: var(--salt-container-primary-background);
|
|
@@ -280,6 +282,10 @@ div[class*=ag-theme-salt] .ag-cell-inline-editing:focus-within {
|
|
|
280
282
|
}
|
|
281
283
|
div[class*=ag-theme-salt] .ag-cell-inline-editing {
|
|
282
284
|
padding: 0;
|
|
285
|
+
border-radius: 0;
|
|
286
|
+
}
|
|
287
|
+
div[class*=ag-theme-salt] .ag-cell-inline-editing.editable-cell input[class^=ag-] {
|
|
288
|
+
padding: 0 var(--salt-spacing-100);
|
|
283
289
|
}
|
|
284
290
|
div[class*=ag-theme-salt] .editable-cell,
|
|
285
291
|
div[class*=ag-theme-salt] .editable-numeric-cell {
|
|
@@ -305,11 +311,6 @@ div[class*=ag-theme-salt] .ag-cell-focus:not(.ag-cell-range-selected):focus-with
|
|
|
305
311
|
div[class*=ag-theme-salt] .ag-cell-wrapper.ag-row-group {
|
|
306
312
|
align-items: center;
|
|
307
313
|
}
|
|
308
|
-
div[class*=ag-theme-salt] .ag-cell.editable-cell.ag-cell-focus:focus,
|
|
309
|
-
div[class*=ag-theme-salt] .editable-numeric-cell.ag-cell-focus:focus,
|
|
310
|
-
div[class*=ag-theme-salt] .editable-cell.ag-cell-focus:focus-within {
|
|
311
|
-
overflow: visible;
|
|
312
|
-
}
|
|
313
314
|
div[class*=ag-theme-salt] .ag-cell.editable-cell.ag-cell-focus:focus:before,
|
|
314
315
|
div[class*=ag-theme-salt] .ag-cell.editable-numeric-cell.ag-cell-focus:focus:before,
|
|
315
316
|
div[class*=ag-theme-salt] .ag-cell.editable-cell.ag-cell-focus:focus-within:before,
|
|
@@ -333,6 +334,38 @@ div[class*=ag-theme-salt] .editable-numeric-cell input {
|
|
|
333
334
|
border: none;
|
|
334
335
|
background-color: transparent;
|
|
335
336
|
}
|
|
337
|
+
div[class*=ag-theme-salt] .ag-large-text-input {
|
|
338
|
+
padding: 0;
|
|
339
|
+
}
|
|
340
|
+
div[class*=ag-theme-salt] .editable-cell .ag-picker-field-wrapper {
|
|
341
|
+
background-color: transparent;
|
|
342
|
+
border: none;
|
|
343
|
+
}
|
|
344
|
+
div[class*=ag-theme-salt] .ag-select .ag-picker-field-wrapper {
|
|
345
|
+
border: var(--salt-size-border) var(--salt-separable-borderStyle) var(--salt-editable-borderColor);
|
|
346
|
+
border-radius: 0;
|
|
347
|
+
}
|
|
348
|
+
div[class*=ag-theme-salt] .ag-ltr .editable-cell .ag-select .ag-picker-field-wrapper,
|
|
349
|
+
div[class*=ag-theme-salt] .ag-ltr .editable-cell .ag-rich-select .ag-picker-field-wrapper {
|
|
350
|
+
padding: 0 var(--salt-spacing-100);
|
|
351
|
+
border-radius: 0;
|
|
352
|
+
}
|
|
353
|
+
div[class*=ag-theme-salt] .ag-ltr .editable-cell .ag-select .ag-icon-small-down::before,
|
|
354
|
+
div[class*=ag-theme-salt] .ag-ltr .editable-cell .ag-rich-select .ag-icon-small-down::before {
|
|
355
|
+
content: var(--ag-icon-font-code-contracted);
|
|
356
|
+
}
|
|
357
|
+
div[class*=ag-theme-salt] .ag-ltr .ag-select-list-item,
|
|
358
|
+
div[class*=ag-theme-salt] .ag-ltr .ag-rich-select-row {
|
|
359
|
+
padding: 0 var(--salt-spacing-100);
|
|
360
|
+
}
|
|
361
|
+
div[class*=ag-theme-salt] .ag-select-list,
|
|
362
|
+
div[class*=ag-theme-salt] .ag-rich-select-list {
|
|
363
|
+
border: var(--salt-size-border) var(--salt-selectable-borderStyle-selected) var(--salt-selectable-borderColor-selected);
|
|
364
|
+
}
|
|
365
|
+
div[class*=ag-theme-salt] .ag-select-list-item[aria-selected=true],
|
|
366
|
+
div[class*=ag-theme-salt] .ag-rich-select-row-selected {
|
|
367
|
+
box-shadow: inset 0px var(--salt-size-border) 0px var(--salt-selectable-borderColor-selected), inset 0px calc(var(--salt-size-border) * -1) 0px var(--salt-selectable-borderColor-selected);
|
|
368
|
+
}
|
|
336
369
|
div[class*=ag-theme-salt] .ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top::after {
|
|
337
370
|
content: "";
|
|
338
371
|
top: 0;
|
|
@@ -394,6 +427,20 @@ div[class*=ag-theme-salt] .ag-column-select input[class^=ag-][type=number]:focus
|
|
|
394
427
|
outline: var(--salt-focused-outlineWidth) var(--salt-focused-outlineStyle) var(--salt-focused-outlineColor);
|
|
395
428
|
outline-offset: -2px;
|
|
396
429
|
}
|
|
430
|
+
div[class*=ag-theme-salt] .ag-popup-editor .ag-large-text textarea[class^=ag-] {
|
|
431
|
+
border-radius: var(--salt-palette-corner-weak, 0);
|
|
432
|
+
padding: var(--salt-spacing-100) var(--salt-spacing-100);
|
|
433
|
+
}
|
|
434
|
+
div[class*=ag-theme-salt] .ag-popup-editor .ag-large-text,
|
|
435
|
+
div[class*=ag-theme-salt] .ag-autocomplete-list-popup {
|
|
436
|
+
border: none;
|
|
437
|
+
}
|
|
438
|
+
div[class*=ag-theme-salt] .ag-popup-editor .ag-large-text textarea[class^=ag-] {
|
|
439
|
+
border-color: var(--salt-selectable-borderColor-selected);
|
|
440
|
+
}
|
|
441
|
+
div[class*=ag-theme-salt] .ag-popup-editor .ag-large-text textarea[class^=ag-]:focus {
|
|
442
|
+
outline: var(--salt-focused-outlineWidth) var(--salt-focused-outlineStyle) var(--salt-focused-outlineColor);
|
|
443
|
+
}
|
|
397
444
|
|
|
398
445
|
/* css/parts/ag-checkbox.css */
|
|
399
446
|
div[class*=ag-theme-salt] .ag-checkbox-input-wrapper {
|
|
@@ -442,13 +489,6 @@ div[class*=ag-theme-salt] input[class^=ag-][type=button]:focus {
|
|
|
442
489
|
outline-color: var(--salt-focused-outlineColor);
|
|
443
490
|
outline-offset: var(--salt-focused-outlineOffset);
|
|
444
491
|
}
|
|
445
|
-
div[class*=ag-theme-salt] .ag-select .ag-picker-field-wrapper {
|
|
446
|
-
border: var(--salt-size-border) var(--salt-separable-borderStyle) var(--salt-editable-borderColor);
|
|
447
|
-
border-radius: 0;
|
|
448
|
-
}
|
|
449
|
-
div[class*=ag-theme-salt] .ag-select .ag-picker-field-icon {
|
|
450
|
-
margin-right: var(--salt-spacing-100);
|
|
451
|
-
}
|
|
452
492
|
div[class*=ag-theme-salt] .ag-menu .ag-filter-body-wrapper {
|
|
453
493
|
display: flex;
|
|
454
494
|
flex-direction: column;
|