@salt-ds/ag-grid-theme 2.10.1 → 2.10.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/CHANGELOG.md +39 -0
- package/package.json +2 -2
- package/salt-ag-theme.css +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @salt-ds/ag-grid-theme
|
|
2
2
|
|
|
3
|
+
## 2.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 825f63d: Renamed the `small` and `strong` font weight tokens to `lighter` and `bolder`, to match the new `fontWeight` prop on `Text`. The old tokens still work as aliases but are deprecated and will be removed in a future major version. Salt components now use the new tokens, so if you override an old token, override the new one instead.
|
|
8
|
+
|
|
9
|
+
```diff
|
|
10
|
+
- font-weight: var(--salt-text-fontWeight-strong);
|
|
11
|
+
+ font-weight: var(--salt-text-fontWeight-bolder);
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
| Deprecated token | Use instead |
|
|
15
|
+
| ---------------------------------------- | ----------------------------------------- |
|
|
16
|
+
| `--salt-text-fontWeight-small` | `--salt-text-fontWeight-lighter` |
|
|
17
|
+
| `--salt-text-fontWeight-strong` | `--salt-text-fontWeight-bolder` |
|
|
18
|
+
| `--salt-text-action-fontWeight-small` | `--salt-text-action-fontWeight-lighter` |
|
|
19
|
+
| `--salt-text-action-fontWeight-strong` | `--salt-text-action-fontWeight-bolder` |
|
|
20
|
+
| `--salt-text-display-fontWeight-small` | `--salt-text-display-fontWeight-lighter` |
|
|
21
|
+
| `--salt-text-display-fontWeight-strong` | `--salt-text-display-fontWeight-bolder` |
|
|
22
|
+
| `--salt-text-heading-fontWeight-small` | `--salt-text-heading-fontWeight-lighter` |
|
|
23
|
+
| `--salt-text-heading-fontWeight-strong` | `--salt-text-heading-fontWeight-bolder` |
|
|
24
|
+
| `--salt-text-label-fontWeight-small` | `--salt-text-label-fontWeight-lighter` |
|
|
25
|
+
| `--salt-text-label-fontWeight-strong` | `--salt-text-label-fontWeight-bolder` |
|
|
26
|
+
| `--salt-text-notation-fontWeight-small` | `--salt-text-notation-fontWeight-lighter` |
|
|
27
|
+
| `--salt-text-notation-fontWeight-strong` | `--salt-text-notation-fontWeight-bolder` |
|
|
28
|
+
|
|
29
|
+
The deprecated `--salt-text-h{1-4}-fontWeight-small`, `--salt-text-h{1-4}-fontWeight-strong`, `--salt-text-display{1-4}-fontWeight-small` and `--salt-text-display{1-4}-fontWeight-strong` tokens now alias the new tokens.
|
|
30
|
+
|
|
31
|
+
The `small` and `strong` font weight tokens have been removed from the experimental Salt (Interim) theme without aliases. If you use the interim theme and reference them, switch to the matching `lighter` and `bolder` tokens in the table above.
|
|
32
|
+
|
|
33
|
+
See [font weight](https://www.saltdesignsystem.com/salt/foundations/typography#font-weight) for how each text style uses these weights.
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [c319c14]
|
|
36
|
+
- Updated dependencies [825f63d]
|
|
37
|
+
- Updated dependencies [825f63d]
|
|
38
|
+
- Updated dependencies [825f63d]
|
|
39
|
+
- Updated dependencies [825f63d]
|
|
40
|
+
- @salt-ds/theme@1.48.0
|
|
41
|
+
|
|
3
42
|
## 2.10.1
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salt-ds/ag-grid-theme",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"del": "^8.0.0"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@salt-ds/theme": "^1.
|
|
30
|
+
"@salt-ds/theme": "^1.48.0",
|
|
31
31
|
"ag-grid-community": ">=28.0.0"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/salt-ag-theme.css
CHANGED
|
@@ -586,7 +586,7 @@
|
|
|
586
586
|
.ag-theme-salt-dark .ag-status-name-value-value,
|
|
587
587
|
.ag-theme-salt-compact-light .ag-status-name-value-value,
|
|
588
588
|
.ag-theme-salt-compact-dark .ag-status-name-value-value {
|
|
589
|
-
font-weight: var(--salt-text-fontWeight-
|
|
589
|
+
font-weight: var(--salt-text-fontWeight-bolder);
|
|
590
590
|
color: var(--salt-content-primary-foreground);
|
|
591
591
|
}
|
|
592
592
|
.ag-theme-salt-light .ag-paging-panel,
|
|
@@ -719,7 +719,7 @@ div[class*=ag-theme-salt] .ag-column-drop-cell[aria-expanded=true] {
|
|
|
719
719
|
.ag-theme-salt-compact-light .ag-header-row,
|
|
720
720
|
.ag-theme-salt-compact-dark .ag-header-row {
|
|
721
721
|
font-size: var(--salt-text-label-fontSize);
|
|
722
|
-
font-weight: var(--salt-text-label-fontWeight-
|
|
722
|
+
font-weight: var(--salt-text-label-fontWeight-bolder);
|
|
723
723
|
}
|
|
724
724
|
.ag-theme-salt-light .ag-header-cell:focus-visible::after,
|
|
725
725
|
.ag-theme-salt-dark .ag-header-cell:focus-visible::after,
|