@atlaskit/tokens 6.5.0 → 7.1.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/CHANGELOG.md +49 -40
- package/dist/cjs/artifacts/palettes-raw/palette.js +307 -1
- package/dist/cjs/artifacts/palettes-raw/shape-palette.js +1 -31
- package/dist/cjs/artifacts/replacement-mapping.js +2 -32
- package/dist/cjs/artifacts/theme-import-map.js +1 -13
- package/dist/cjs/artifacts/themes/atlassian-shape-rounder.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-shape-roundest.js +2 -2
- package/dist/cjs/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/cjs/artifacts/token-default-values.js +1 -11
- package/dist/cjs/artifacts/token-names.js +1 -11
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-rounder.js +1 -241
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape-roundest.js +1 -241
- package/dist/cjs/artifacts/tokens-raw/atlassian-shape.js +1 -241
- package/dist/cjs/babel-plugin/plugin.js +2 -2
- package/dist/cjs/entry-points/palettes-raw.js +7 -0
- package/dist/cjs/entry-points/token-metadata.codegen.js +1 -51
- package/dist/cjs/theme-config.js +1 -17
- package/dist/es2019/artifacts/palettes-raw/palette.js +307 -1
- package/dist/es2019/artifacts/palettes-raw/shape-palette.js +1 -31
- package/dist/es2019/artifacts/replacement-mapping.js +2 -32
- package/dist/es2019/artifacts/theme-import-map.js +1 -5
- package/dist/es2019/artifacts/themes/atlassian-shape-rounder.js +1 -11
- package/dist/es2019/artifacts/themes/atlassian-shape-roundest.js +1 -11
- package/dist/es2019/artifacts/themes/atlassian-shape.js +1 -11
- package/dist/es2019/artifacts/token-default-values.js +1 -11
- package/dist/es2019/artifacts/token-names.js +1 -11
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-rounder.js +1 -241
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape-roundest.js +1 -241
- package/dist/es2019/artifacts/tokens-raw/atlassian-shape.js +1 -241
- package/dist/es2019/babel-plugin/plugin.js +2 -2
- package/dist/es2019/entry-points/palettes-raw.js +1 -0
- package/dist/es2019/entry-points/token-metadata.codegen.js +1 -51
- package/dist/es2019/theme-config.js +1 -17
- package/dist/esm/artifacts/palettes-raw/palette.js +307 -1
- package/dist/esm/artifacts/palettes-raw/shape-palette.js +1 -31
- package/dist/esm/artifacts/replacement-mapping.js +2 -32
- package/dist/esm/artifacts/theme-import-map.js +1 -9
- package/dist/esm/artifacts/themes/atlassian-shape-rounder.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-shape-roundest.js +2 -2
- package/dist/esm/artifacts/themes/atlassian-shape.js +2 -2
- package/dist/esm/artifacts/token-default-values.js +1 -11
- package/dist/esm/artifacts/token-names.js +1 -11
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-rounder.js +1 -241
- package/dist/esm/artifacts/tokens-raw/atlassian-shape-roundest.js +1 -241
- package/dist/esm/artifacts/tokens-raw/atlassian-shape.js +1 -241
- package/dist/esm/babel-plugin/plugin.js +2 -2
- package/dist/esm/entry-points/palettes-raw.js +1 -0
- package/dist/esm/entry-points/token-metadata.codegen.js +1 -51
- package/dist/esm/theme-config.js +1 -17
- package/dist/types/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types/artifacts/palettes-raw/shape-palette.d.ts +1 -1
- package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types/artifacts/themes/atlassian-shape-rounder.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-shape-roundest.d.ts +2 -2
- package/dist/types/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types/artifacts/token-default-values.d.ts +1 -11
- package/dist/types/artifacts/token-names.d.ts +1 -21
- package/dist/types/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +1 -1
- package/dist/types/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types/entry-points/palettes-raw.d.ts +1 -0
- package/dist/types/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types/theme-config.d.ts +4 -4
- package/dist/types/types.d.ts +0 -12
- package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape-rounder.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape-roundest.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +2 -2
- package/dist/types-ts4.5/artifacts/token-default-values.d.ts +1 -11
- package/dist/types-ts4.5/artifacts/token-names.d.ts +1 -21
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-rounder.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape-roundest.d.ts +1 -1
- package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +1 -1
- package/dist/types-ts4.5/entry-points/palettes-raw.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +1 -1
- package/dist/types-ts4.5/theme-config.d.ts +2 -6
- package/dist/types-ts4.5/types.d.ts +0 -12
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,54 @@
|
|
|
1
1
|
# @atlaskit/tokens
|
|
2
2
|
|
|
3
|
+
## 7.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`c4860e82c9f41`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c4860e82c9f41) -
|
|
8
|
+
Introduced new color stops across our base color ramps, namely 250 and 850, to support better
|
|
9
|
+
hover/pressed state contrast. New 250/850 base tokens are:
|
|
10
|
+
- Blue250
|
|
11
|
+
- Blue850
|
|
12
|
+
- Magenta250
|
|
13
|
+
- Magenta850
|
|
14
|
+
- Yellow250
|
|
15
|
+
- Yellow850
|
|
16
|
+
- Orange250
|
|
17
|
+
- Orange850
|
|
18
|
+
- Lime250
|
|
19
|
+
- Lime850
|
|
20
|
+
- Green250
|
|
21
|
+
- Green850
|
|
22
|
+
- Teal250
|
|
23
|
+
- Teal850
|
|
24
|
+
- Red250
|
|
25
|
+
- Red850
|
|
26
|
+
- Purple250
|
|
27
|
+
- Purple850
|
|
28
|
+
|
|
29
|
+
## 7.0.0
|
|
30
|
+
|
|
31
|
+
### Major Changes
|
|
32
|
+
|
|
33
|
+
- [`75ba0401c1743`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/75ba0401c1743) -
|
|
34
|
+
Deleted deprecated shape tokens. Migration guide:
|
|
35
|
+
|
|
36
|
+
| Old token | New token/value |
|
|
37
|
+
| ------------------------ | ------------------------------------------------- |
|
|
38
|
+
| `border.radius.050` | `radius.xsmall` |
|
|
39
|
+
| `border.radius` | `radius.small` |
|
|
40
|
+
| `border.radius.100` | `radius.small` |
|
|
41
|
+
| `border.radius.200` | `radius.large` |
|
|
42
|
+
| `border.radius.300` | `radius.xlarge` |
|
|
43
|
+
| `border.radius.400` | `16px` |
|
|
44
|
+
| `border.radius.circle` | `radius.full` |
|
|
45
|
+
| `border.width.0` | `0` |
|
|
46
|
+
| `border.width.outline` | `border.width.selected` or `border.width.focused` |
|
|
47
|
+
| `border.width.indicator` | `3px` |
|
|
48
|
+
|
|
49
|
+
The babel plugin has also been updated to skip new radius tokens in shouldForceAutoFallback mode
|
|
50
|
+
(previously only the deprecated `border.radius.x` tokens were skipped).
|
|
51
|
+
|
|
3
52
|
## 6.5.0
|
|
4
53
|
|
|
5
54
|
### Minor Changes
|
|
@@ -452,7 +501,6 @@
|
|
|
452
501
|
- [#102047](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102047)
|
|
453
502
|
[`3cc4b295175a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3cc4b295175a6) -
|
|
454
503
|
Removed deprecated tokens:
|
|
455
|
-
|
|
456
504
|
- `font.size.X`
|
|
457
505
|
- `font.lineHeight.X`
|
|
458
506
|
- `font.letterSpacing.X`
|
|
@@ -627,7 +675,6 @@
|
|
|
627
675
|
- [#138792](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138792)
|
|
628
676
|
[`59c6812e1be91`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/59c6812e1be91) -
|
|
629
677
|
Update the @atlaskit/css schema to include:
|
|
630
|
-
|
|
631
678
|
- `border` and `font` shorthand token values
|
|
632
679
|
- Background and color `-hovered` and `-pressed` tokens are available in the non-psuedo-states for
|
|
633
680
|
patterns like `<div css={[isHovered && hoveredStyles]} />`
|
|
@@ -814,7 +861,6 @@
|
|
|
814
861
|
- [#98149](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98149)
|
|
815
862
|
[`45101e24202a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/45101e24202a) -
|
|
816
863
|
Change the state of the following tokens from deprecated to active:
|
|
817
|
-
|
|
818
864
|
- font.family.body
|
|
819
865
|
- font.family.code
|
|
820
866
|
- font.family.heading
|
|
@@ -1300,7 +1346,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1300
1346
|
- [#38420](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38420)
|
|
1301
1347
|
[`5a967ac2397`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a967ac2397) - Adds two
|
|
1302
1348
|
new synchronous theme configuration utilities:
|
|
1303
|
-
|
|
1304
1349
|
- `enableGlobalTheme` is a synchronous version of `setGlobalTheme` that sets data attributes on
|
|
1305
1350
|
the page and takes a themeLoader
|
|
1306
1351
|
- `UNSAFE_loadCustomThemeStyles` provides a synchronous way to generate and apply custom theme
|
|
@@ -1364,7 +1409,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1364
1409
|
- [#39430](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39430)
|
|
1365
1410
|
[`ff1a0d8dcfd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ff1a0d8dcfd) -
|
|
1366
1411
|
Introduces 80 new accent interaction tokens:
|
|
1367
|
-
|
|
1368
1412
|
- color.background.accent.blue.subtlest.hovered
|
|
1369
1413
|
- color.background.accent.blue.subtlest.pressed
|
|
1370
1414
|
- color.background.accent.blue.subtler.hovered
|
|
@@ -1486,7 +1530,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1486
1530
|
- [#37789](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37789)
|
|
1487
1531
|
[`031034da425`](https://bitbucket.org/atlassian/atlassian-frontend/commits/031034da425) -
|
|
1488
1532
|
Introduces surface detection through the use of design tokens/CSS variables:
|
|
1489
|
-
|
|
1490
1533
|
- The `utility.elevation.surface.current` design token allows UI to be styled with a color based
|
|
1491
1534
|
on a parent element's surface color.
|
|
1492
1535
|
- The `CURRENT_SURFACE_CSS_VAR` constant is exported to enable the current surface CSS variable to
|
|
@@ -1565,7 +1608,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1565
1608
|
- [#36967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36967)
|
|
1566
1609
|
[`bc512702bdc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc512702bdc) -
|
|
1567
1610
|
Introduces new brand background tokens.
|
|
1568
|
-
|
|
1569
1611
|
- `color.background.brand.subtlest` - Use for the background of elements used to reinforce our
|
|
1570
1612
|
brand, but with less emphasis.
|
|
1571
1613
|
- `color.background.brand.subtlest.hovered` - Hovered state of color.background.brand.subtlest.
|
|
@@ -1587,7 +1629,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1587
1629
|
experimental support for custom theming via the `UNSAFE_themeOptions` field in `themeState`.
|
|
1588
1630
|
|
|
1589
1631
|
This option is supported in the following functions:
|
|
1590
|
-
|
|
1591
1632
|
- `setGlobalTheme()`: optionally generates and loads customized themes based on the options
|
|
1592
1633
|
provided, and sets the `data-custom-theme` attribute on page's HTML tag.
|
|
1593
1634
|
- `getThemeStyles()`: returns additional style objects for constructing custom theme `<style>`
|
|
@@ -1695,7 +1736,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
1695
1736
|
- [#35526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35526)
|
|
1696
1737
|
[`e200f2340ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e200f2340ed) -
|
|
1697
1738
|
Introduces new lime token set.
|
|
1698
|
-
|
|
1699
1739
|
- `color.text.accent.lime` - Use for lime text on subtlest and subtler lime accent backgrounds
|
|
1700
1740
|
when there is no meaning tied to the color.
|
|
1701
1741
|
- `color.text.accent.lime.bolder` - Use for lime text on subtle lime accent backgrounds when there
|
|
@@ -2026,7 +2066,6 @@ Mapped red/danger icons to darker shades to create distinction between orange an
|
|
|
2026
2066
|
various unused experimental spacing tokens in favor of the `space.X` token format.
|
|
2027
2067
|
|
|
2028
2068
|
Removed:
|
|
2029
|
-
|
|
2030
2069
|
- `spacing.scale`
|
|
2031
2070
|
- `spacing.scaleLinear`
|
|
2032
2071
|
- `spacing.size`
|
|
@@ -2213,7 +2252,6 @@ This provides several benefits:
|
|
|
2213
2252
|
version of `@atlaskit/tokens`.
|
|
2214
2253
|
|
|
2215
2254
|
- Simpler logic for switching an experience based on the current theme:
|
|
2216
|
-
|
|
2217
2255
|
- Previously, experiences using theme observers had to check a combination of the
|
|
2218
2256
|
`data-color-mode` attribute use media queries to to correctly match the currently rendered color
|
|
2219
2257
|
mode in light, dark and 'auto' color modes. Now, the `data-color-mode` attribute always matches
|
|
@@ -2396,7 +2434,6 @@ will begin to error wherever they're used.
|
|
|
2396
2434
|
[`0438a9318a1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0438a9318a1) - Tweaked
|
|
2397
2435
|
the values of the `Neutral500` and `Neutral500` base tokens and updated `text.accent.gray.bolder`
|
|
2398
2436
|
to improve color contrast:
|
|
2399
|
-
|
|
2400
2437
|
- Adjust `Neutral500` from `#8993A5` to `#8590A2` so that it passes 3:1 contrast against sunken
|
|
2401
2438
|
surfaces in light mode
|
|
2402
2439
|
- Adjust `Neutral500A` from `#091E42 @ 48%` to `#091E42 @ 49%` to match color of `Neutral500` on
|
|
@@ -2407,13 +2444,11 @@ will begin to error wherever they're used.
|
|
|
2407
2444
|
chart tokens for data visualisation and charts.
|
|
2408
2445
|
|
|
2409
2446
|
27 generic chart tokens and hovered state tokens:
|
|
2410
|
-
|
|
2411
2447
|
- `color.chart.[color].bold`
|
|
2412
2448
|
- `color.chart.[color].bolder`
|
|
2413
2449
|
- `color.chart.[color].boldest`
|
|
2414
2450
|
|
|
2415
2451
|
12 semantic chart tokens and hovered state tokens:
|
|
2416
|
-
|
|
2417
2452
|
- `color.chart.brand`
|
|
2418
2453
|
- `color.chart.neutral`
|
|
2419
2454
|
- `color.chart.success`
|
|
@@ -2428,7 +2463,6 @@ will begin to error wherever they're used.
|
|
|
2428
2463
|
- `color.chart.discovery.bold`
|
|
2429
2464
|
|
|
2430
2465
|
8 categorical chart tokens and hovered state tokens:
|
|
2431
|
-
|
|
2432
2466
|
- `color.chart.categorical.1`
|
|
2433
2467
|
- `color.chart.categorical.2`
|
|
2434
2468
|
- `color.chart.categorical.3`
|
|
@@ -2734,7 +2768,6 @@ will begin to error wherever they're used.
|
|
|
2734
2768
|
- [#25211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25211)
|
|
2735
2769
|
[`9f6aa1d7cdc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f6aa1d7cdc) -
|
|
2736
2770
|
Introduces new interaction states to a number of existing elevation tokens:
|
|
2737
|
-
|
|
2738
2771
|
- elevation.surface.hovered
|
|
2739
2772
|
- elevation.surface.pressed
|
|
2740
2773
|
- elevation.surface.raised.hovered
|
|
@@ -2783,7 +2816,6 @@ will begin to error wherever they're used.
|
|
|
2783
2816
|
- [#24188](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24188)
|
|
2784
2817
|
[`50299267c2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50299267c2e) -
|
|
2785
2818
|
Refactors style-dictionary to support multiple palettes.
|
|
2786
|
-
|
|
2787
2819
|
- Adds legacy-palette containing colours from `@atlaskit/theme`.
|
|
2788
2820
|
- Palettes are processed as their own 'themes' (functionally) and now have their own configuration
|
|
2789
2821
|
via style-dictionary.
|
|
@@ -2798,7 +2830,6 @@ will begin to error wherever they're used.
|
|
|
2798
2830
|
[`e3377246ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3377246ebc) - Moves
|
|
2799
2831
|
the following `deprecated` tokens to the `sunset` phase. Please ensure that all `sunset` tokens
|
|
2800
2832
|
are removed from your application, they will be completely removed in the next major version:
|
|
2801
|
-
|
|
2802
2833
|
- 'color.interaction.inverse.hovered' => 'color.background.inverse.subtle.hovered'
|
|
2803
2834
|
- 'color.interaction.inverse.pressed' => 'color.background.inverse.subtle.pressed'
|
|
2804
2835
|
|
|
@@ -2812,7 +2843,6 @@ will begin to error wherever they're used.
|
|
|
2812
2843
|
- [#23579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23579)
|
|
2813
2844
|
[`39a56a3c4e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39a56a3c4e7) - Update
|
|
2814
2845
|
disabled tokens to use alpha base tokens:
|
|
2815
|
-
|
|
2816
2846
|
- `color.text.disabled`
|
|
2817
2847
|
- `color.icon.disabled`
|
|
2818
2848
|
- `color.background.disabled`
|
|
@@ -2825,7 +2855,6 @@ will begin to error wherever they're used.
|
|
|
2825
2855
|
[`83c253f28bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83c253f28bd) - [ux] -
|
|
2826
2856
|
Correct 'color.interaction.hovered' and 'color.interaction.pressed' token values, which were
|
|
2827
2857
|
mistakenly mapped inversely in light and dark mode. The token values have now been swapped.
|
|
2828
|
-
|
|
2829
2858
|
- Deprecate 'color.interaction.inverse.hovered' which has been replaced with
|
|
2830
2859
|
'color.background.inverse.subtle.hovered'.
|
|
2831
2860
|
- Deprecate 'color.interaction.inverse.pressed' which has been replaced with
|
|
@@ -2839,20 +2868,17 @@ will begin to error wherever they're used.
|
|
|
2839
2868
|
[`d9d18df130f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d9d18df130f) - [ux]
|
|
2840
2869
|
Tweaked the values of the DN500 and DN500A base tokens to improve color contrast when paired with
|
|
2841
2870
|
text:
|
|
2842
|
-
|
|
2843
2871
|
- DN500 has changed from `#5C6C7A` to `#596773`
|
|
2844
2872
|
- DN500A has changed from `#A9C5DF7A` to `#9BB4CA80`
|
|
2845
2873
|
|
|
2846
2874
|
This changes the values in dark mode for the following tokens:
|
|
2847
2875
|
|
|
2848
2876
|
_(active)_:
|
|
2849
|
-
|
|
2850
2877
|
- `color.text.disabled`
|
|
2851
2878
|
- `color.icon.disabled`
|
|
2852
2879
|
- `color.background.accent.gray.subtle`
|
|
2853
2880
|
|
|
2854
2881
|
_(deprecated)_:
|
|
2855
|
-
|
|
2856
2882
|
- `color.overlay.pressed`
|
|
2857
2883
|
|
|
2858
2884
|
## 0.10.10
|
|
@@ -2884,7 +2910,6 @@ will begin to error wherever they're used.
|
|
|
2884
2910
|
- [#22107](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22107)
|
|
2885
2911
|
[`cb8723a7974`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb8723a7974) -
|
|
2886
2912
|
Introduces a new set of neutral accent tokens:
|
|
2887
|
-
|
|
2888
2913
|
- `color.background.accent.gray.bolder`
|
|
2889
2914
|
- `color.background.accent.gray.subtle`
|
|
2890
2915
|
- `color.background.accent.gray.subtler`
|
|
@@ -2910,7 +2935,6 @@ will begin to error wherever they're used.
|
|
|
2910
2935
|
[`1124fa435ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1124fa435ed) - Moves
|
|
2911
2936
|
the following `deprecated` tokens to the `sunset` phase. Please ensure that all `sunset` tokens
|
|
2912
2937
|
are removed from your application, they will be completely removed in the next major version:
|
|
2913
|
-
|
|
2914
2938
|
- `color.background.brand.hovered` => `color.background.selected.hovered`
|
|
2915
2939
|
- `color.background.brand.pressed` => `color.background.selected.pressed`
|
|
2916
2940
|
- `color.background.brand` => `color.background.selected`
|
|
@@ -2947,7 +2971,6 @@ will begin to error wherever they're used.
|
|
|
2947
2971
|
- [#21920](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21920)
|
|
2948
2972
|
[`5b8212f08b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5b8212f08b0) - The
|
|
2949
2973
|
current theme can now be accessed and monitored for changes using new exports.
|
|
2950
|
-
|
|
2951
2974
|
- `useThemeObserver` React hook
|
|
2952
2975
|
- `ThemeMutationObserver` Mutation Observer
|
|
2953
2976
|
|
|
@@ -3064,7 +3087,6 @@ will begin to error wherever they're used.
|
|
|
3064
3087
|
following tokens have been moved from the `deprecated` to `deleted` state in their lifecycles.
|
|
3065
3088
|
These tokens will continue to exist, however tooling will begin to error wherever they're used. If
|
|
3066
3089
|
you haven't already, please run `yarn eslint --fix` or similar to automate your migration.
|
|
3067
|
-
|
|
3068
3090
|
- `color.background.blanket` => `color.blanket`
|
|
3069
3091
|
- `color.background.boldBrand.resting` => `color.background.brand.bold`
|
|
3070
3092
|
- `color.background.boldBrand.hover` => `color.background.brand.bold.hovered`
|
|
@@ -3168,18 +3190,15 @@ will begin to error wherever they're used.
|
|
|
3168
3190
|
|
|
3169
3191
|
- [`c2ec60d6a1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c2ec60d6a1b) - [ux]
|
|
3170
3192
|
Updating existing 16 background accent colors
|
|
3171
|
-
|
|
3172
3193
|
- Rename default to subtler (Light:200 / Dark:900)
|
|
3173
3194
|
- Rename bold renamed to subtle (Light:400 / Dark:700)
|
|
3174
3195
|
- Update this ⤴ base token for dark mode from 700 to 800 (so it is now Light:400 / Dark:800)
|
|
3175
3196
|
|
|
3176
3197
|
16 new accent background colors:
|
|
3177
|
-
|
|
3178
3198
|
- color.background.accent.[color].subtlest (Light: 100 / Dark:1000)
|
|
3179
3199
|
- color.background.accent.[color].bolder (Light: 700 / Dark: 400)
|
|
3180
3200
|
|
|
3181
3201
|
8 new text accent colors:
|
|
3182
|
-
|
|
3183
3202
|
- color.text.accent.[color].bolder (Light:900 / Dark:200)
|
|
3184
3203
|
|
|
3185
3204
|
- [`7b6b994bef5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b6b994bef5) - Correct
|
|
@@ -3203,7 +3222,6 @@ will begin to error wherever they're used.
|
|
|
3203
3222
|
- [#19072](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19072)
|
|
3204
3223
|
[`899fd622557`](https://bitbucket.org/atlassian/atlassian-frontend/commits/899fd622557) -
|
|
3205
3224
|
Re-introduces the selected and selected.bold tokens:
|
|
3206
|
-
|
|
3207
3225
|
- `color.text.selected`
|
|
3208
3226
|
- `color.icon.selected`
|
|
3209
3227
|
- `color.border.selected`
|
|
@@ -3215,7 +3233,6 @@ will begin to error wherever they're used.
|
|
|
3215
3233
|
- `color.background.selected.bold.pressed`
|
|
3216
3234
|
|
|
3217
3235
|
The following tokens are _deprecated_:
|
|
3218
|
-
|
|
3219
3236
|
- `color.background.brand`
|
|
3220
3237
|
- `color.background.brand.hovered`
|
|
3221
3238
|
- `color.background.brand.pressed`
|
|
@@ -3224,7 +3241,6 @@ will begin to error wherever they're used.
|
|
|
3224
3241
|
|
|
3225
3242
|
Please ensure all usages of the following tokens are replaced with their `selected` counterpart,
|
|
3226
3243
|
wherever a brand token is used to represent a selected state.
|
|
3227
|
-
|
|
3228
3244
|
- `color.background.brand.[default|hovered|pressed]` =>
|
|
3229
3245
|
`color.background.selected.[default|hovered|pressed]`
|
|
3230
3246
|
- `color.background.brand.bold.[default|hovered|pressed]` =>
|
|
@@ -3358,7 +3374,6 @@ will begin to error wherever they're used.
|
|
|
3358
3374
|
previous rename map
|
|
3359
3375
|
- [`0936217160c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0936217160c) - Add bold
|
|
3360
3376
|
accent tokens:
|
|
3361
|
-
|
|
3362
3377
|
- `color.accent.boldBlue`
|
|
3363
3378
|
- `color.accent.boldRed`
|
|
3364
3379
|
- `color.accent.boldGreen`
|
|
@@ -3397,7 +3412,6 @@ will begin to error wherever they're used.
|
|
|
3397
3412
|
`background.selected.pressed`
|
|
3398
3413
|
- [`53749f08286`](https://bitbucket.org/atlassian/atlassian-frontend/commits/53749f08286) - Adds
|
|
3399
3414
|
tokens:
|
|
3400
|
-
|
|
3401
3415
|
- `color.overlay.hover`
|
|
3402
3416
|
- `color.overlay.pressed`
|
|
3403
3417
|
|
|
@@ -3442,11 +3456,9 @@ will begin to error wherever they're used.
|
|
|
3442
3456
|
removes & renames tokens
|
|
3443
3457
|
|
|
3444
3458
|
Adds:
|
|
3445
|
-
|
|
3446
3459
|
- `color.backgroundSelect`
|
|
3447
3460
|
|
|
3448
3461
|
Renames:
|
|
3449
|
-
|
|
3450
3462
|
- `color.borderTextHighlighted` to `color.bordertextSelected`
|
|
3451
3463
|
- `elevation.base` to `evelation.backgroundDefault`
|
|
3452
3464
|
- `elevation.flatSecondary` to `elevation.backgroundSunken`
|
|
@@ -3457,11 +3469,9 @@ will begin to error wherever they're used.
|
|
|
3457
3469
|
- `elevation.shadowOverlay` to `shadow.overlay`
|
|
3458
3470
|
|
|
3459
3471
|
Removes:
|
|
3460
|
-
|
|
3461
3472
|
- `elevation.boarderFlatPrimary`
|
|
3462
3473
|
|
|
3463
3474
|
Updates:
|
|
3464
|
-
|
|
3465
3475
|
- `elevation.shadowOverlay` value to `DN100`
|
|
3466
3476
|
- `color.textWarning` in light mode to `O800`
|
|
3467
3477
|
- `color.iconBorderWarning` in light mode to `O600`
|
|
@@ -3545,7 +3555,6 @@ will begin to error wherever they're used.
|
|
|
3545
3555
|
- [#11433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11433)
|
|
3546
3556
|
[`202cf0733de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/202cf0733de) - Tokens
|
|
3547
3557
|
are now built using style dictionary with three outputs:
|
|
3548
|
-
|
|
3549
3558
|
1. CSS
|
|
3550
3559
|
1. Figma synchronizers
|
|
3551
3560
|
1. Token name map
|