@salt-ds/ag-grid-theme 2.0.0 → 2.0.2
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 +2 -2
- package/salt-ag-theme.css +29 -11
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salt-ds/ag-grid-theme",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -25,6 +25,6 @@
|
|
|
25
25
|
"del": "^7.0.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@salt-ds/theme": "^1.
|
|
28
|
+
"@salt-ds/theme": "^1.17.0"
|
|
29
29
|
}
|
|
30
30
|
}
|
package/salt-ag-theme.css
CHANGED
|
@@ -56,8 +56,8 @@ div[class*=ag-theme-salt] {
|
|
|
56
56
|
--ag-widget-container-horizontal-padding: var(--salt-spacing-100);
|
|
57
57
|
}
|
|
58
58
|
div[class*=ag-theme-salt-compact] {
|
|
59
|
-
--
|
|
60
|
-
--
|
|
59
|
+
--salt-size-base: 16px;
|
|
60
|
+
--salt-size-selectable: 12px;
|
|
61
61
|
}
|
|
62
62
|
div[class*=ag-theme-salt] .ag-root-wrapper {
|
|
63
63
|
border: none;
|
|
@@ -116,17 +116,34 @@ div[class*=ag-theme-salt] .ag-floating-filter input[class^=ag-][type=number] {
|
|
|
116
116
|
height: calc(var(--salt-size-base) + var(--salt-spacing-100) - 4px);
|
|
117
117
|
}
|
|
118
118
|
div[class*=ag-theme-salt] .ag-header-cell:not(.ag-column-resizing) + .ag-header-cell.ag-column-menu-visible:not(.ag-column-hover):not(.ag-header-cell-moving):hover,
|
|
119
|
+
div[class*=ag-theme-salt] .ag-header-cell:not(.ag-column-hover):first-of-type:not(.ag-header-cell-moving).ag-column-menu-visible:hover,
|
|
119
120
|
div[class*=ag-theme-salt] .ag-header-cell.ag-column-menu-visible {
|
|
120
121
|
background: var(--salt-actionable-secondary-background-active);
|
|
121
122
|
color: var(--salt-actionable-secondary-foreground-active);
|
|
123
|
+
--ag-icon-font-color: var(--salt-actionable-secondary-foreground-active);
|
|
122
124
|
}
|
|
123
125
|
div[class*=ag-theme-salt] .ag-header-cell.ag-column-menu-visible .ag-icon {
|
|
124
126
|
color: var(--salt-actionable-secondary-foreground-active);
|
|
125
127
|
}
|
|
128
|
+
div[class*=ag-theme-salt] .ag-cell-label-container {
|
|
129
|
+
padding: var(--salt-spacing-50) 0;
|
|
130
|
+
}
|
|
131
|
+
div[class*=ag-theme-salt] .ag-list-item:hover,
|
|
132
|
+
div[class*=ag-theme-salt] .ag-virtual-list-item:hover {
|
|
133
|
+
background-color: var(--salt-selectable-background-hover);
|
|
134
|
+
cursor: pointer;
|
|
135
|
+
}
|
|
136
|
+
div[class*=ag-theme-salt] .ag-label-align-right .ag-label {
|
|
137
|
+
margin-inline-start: var(--salt-spacing-100);
|
|
138
|
+
margin-inline-end: 0;
|
|
139
|
+
}
|
|
126
140
|
div[class*=ag-theme-salt] .ag-menu {
|
|
127
|
-
padding:
|
|
141
|
+
padding: 0;
|
|
128
142
|
border: var(--salt-size-border) var(--salt-container-borderStyle) var(--salt-selectable-borderColor-selected);
|
|
129
143
|
}
|
|
144
|
+
div[class*=ag-theme-salt] .ag-tabs {
|
|
145
|
+
padding: var(--salt-spacing-100);
|
|
146
|
+
}
|
|
130
147
|
div[class*=ag-theme-salt] .ag-popup-child:not(.ag-tooltip-custom) {
|
|
131
148
|
box-shadow: var(--salt-overlayable-shadow-popout);
|
|
132
149
|
}
|
|
@@ -146,8 +163,9 @@ div[class*=ag-theme-salt] .ag-menu-list {
|
|
|
146
163
|
div[class*=ag-theme-salt] .ag-menu-option {
|
|
147
164
|
height: calc(var(--salt-size-base) + var(--salt-spacing-100));
|
|
148
165
|
}
|
|
149
|
-
div[class*=ag-theme-salt] .ag-menu-option-icon
|
|
150
|
-
|
|
166
|
+
div[class*=ag-theme-salt] .ag-menu-option-icon,
|
|
167
|
+
div[class*=ag-theme-salt] .ag-compact-menu-option-icon {
|
|
168
|
+
padding-inline-start: var(--salt-spacing-100);
|
|
151
169
|
}
|
|
152
170
|
div[class*=ag-theme-salt] .ag-tab {
|
|
153
171
|
height: calc(var(--salt-size-base) + var(--salt-spacing-100));
|
|
@@ -182,6 +200,12 @@ div[class*=ag-theme-salt] .ag-cell {
|
|
|
182
200
|
padding-left: var(--salt-spacing-100);
|
|
183
201
|
padding-right: var(--salt-spacing-100);
|
|
184
202
|
}
|
|
203
|
+
div[class*=ag-theme-salt] .ag-cell-inline-editing:focus-within {
|
|
204
|
+
background: var(--salt-container-primary-background);
|
|
205
|
+
}
|
|
206
|
+
div[class*=ag-theme-salt] .ag-cell-inline-editing {
|
|
207
|
+
padding: 0;
|
|
208
|
+
}
|
|
185
209
|
div[class*=ag-theme-salt] .editable-cell,
|
|
186
210
|
div[class*=ag-theme-salt] .editable-numeric-cell {
|
|
187
211
|
outline: var(--salt-size-border) var(--salt-container-borderStyle) var(--salt-editable-borderColor);
|
|
@@ -224,12 +248,6 @@ div[class*=ag-theme-salt] .editable-cell.ag-cell-inline-editing:before {
|
|
|
224
248
|
top: 0px;
|
|
225
249
|
z-index: 2;
|
|
226
250
|
}
|
|
227
|
-
div[class*=ag-theme-salt] .editable-cell.ag-cell-inline-editing {
|
|
228
|
-
padding: 0;
|
|
229
|
-
}
|
|
230
|
-
div[class*=ag-theme-salt] .editable-cell.ag-cell-inline-editing:focus-within {
|
|
231
|
-
background: var(--salt-container-primary-background);
|
|
232
|
-
}
|
|
233
251
|
div[class*=ag-theme-salt] .editable-numeric-cell input,
|
|
234
252
|
div[class*=ag-theme-salt] input[class^=ag-][type=number] {
|
|
235
253
|
padding: 0 var(--salt-spacing-100);
|