@salt-ds/ag-grid-theme 2.10.0 → 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 CHANGED
@@ -1,5 +1,62 @@
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
+
42
+ ## 2.10.1
43
+
44
+ ### Patch Changes
45
+
46
+ - d578674: Applied typography letter spacing tokens consistently to text-owning components and inherited typography roots, and applied the display text transform token to display text.
47
+ - Updated dependencies [d578674]
48
+ - Updated dependencies [e990c46]
49
+ - Updated dependencies [8e59c5d]
50
+ - Updated dependencies [e990c46]
51
+ - Updated dependencies [d578674]
52
+ - Updated dependencies [8e59c5d]
53
+ - Updated dependencies [8e59c5d]
54
+ - Updated dependencies [8e59c5d]
55
+ - Updated dependencies [d578674]
56
+ - Updated dependencies [8e59c5d]
57
+ - Updated dependencies [550c4c1]
58
+ - @salt-ds/theme@1.47.0
59
+
3
60
  ## 2.10.0
4
61
 
5
62
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salt-ds/ag-grid-theme",
3
- "version": "2.10.0",
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.46.0",
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-strong);
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-strong);
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,
@@ -1296,6 +1296,7 @@ div[class*=ag-theme-salt] {
1296
1296
  --ag-value-change-delta-down-color: var(--salt-sentiment-negative-foreground-decorative);
1297
1297
  --ag-value-change-delta-up-color: var(--salt-sentiment-positive-foreground-decorative);
1298
1298
  --ag-widget-container-horizontal-padding: var(--salt-spacing-100);
1299
+ letter-spacing: var(--salt-text-letterSpacing);
1299
1300
  }
1300
1301
  [class*=ag-theme-salt] .ag-measurement-container {
1301
1302
  --ag-pinned-row-border: none;