@atlaskit/eslint-plugin-design-system 8.8.1 → 8.9.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.
Files changed (80) hide show
  1. package/CHANGELOG.md +122 -116
  2. package/README.md +18 -17
  3. package/constellation/index/usage.mdx +37 -17
  4. package/dist/cjs/index.codegen.js +2 -3
  5. package/dist/cjs/presets/all.codegen.js +4 -4
  6. package/dist/cjs/presets/recommended.codegen.js +4 -4
  7. package/dist/cjs/rules/consistent-css-prop-usage/index.js +2 -3
  8. package/dist/cjs/rules/ensure-design-token-usage/color.js +7 -14
  9. package/dist/cjs/rules/ensure-design-token-usage/index.js +2 -4
  10. package/dist/cjs/rules/ensure-design-token-usage/rule-meta.js +1 -2
  11. package/dist/cjs/rules/ensure-design-token-usage/shape.js +3 -4
  12. package/dist/cjs/rules/ensure-design-token-usage/spacing.js +2 -3
  13. package/dist/cjs/rules/ensure-design-token-usage/typography.js +7 -13
  14. package/dist/cjs/rules/ensure-design-token-usage/utils.js +14 -28
  15. package/dist/cjs/rules/ensure-design-token-usage-preview/index.js +1 -2
  16. package/dist/cjs/rules/icon-label/index.js +2 -3
  17. package/dist/cjs/rules/index.codegen.js +5 -4
  18. package/dist/cjs/rules/no-banned-imports/index.js +3 -4
  19. package/dist/cjs/rules/no-banned-imports/paths.js +2 -3
  20. package/dist/cjs/rules/no-deprecated-apis/helpers/filter-actionable-deprecations.js +2 -3
  21. package/dist/cjs/rules/no-deprecated-apis/helpers/validate-deprecated-apis-config.js +2 -3
  22. package/dist/cjs/rules/no-deprecated-apis/index.js +3 -6
  23. package/dist/cjs/rules/no-deprecated-design-token-usage/index.js +1 -2
  24. package/dist/cjs/rules/no-deprecated-imports/index.js +5 -9
  25. package/dist/cjs/rules/no-margin/index.js +1 -2
  26. package/dist/cjs/rules/no-nested-styles/index.js +1 -2
  27. package/dist/cjs/rules/no-physical-properties/index.js +1 -2
  28. package/dist/cjs/rules/no-physical-properties/logical-physical-map.js +3 -5
  29. package/dist/cjs/rules/no-unsafe-design-token-usage/index.js +1 -2
  30. package/dist/cjs/rules/prefer-primitives/index.js +1 -2
  31. package/dist/cjs/rules/prefer-primitives/utils.js +2 -3
  32. package/dist/cjs/rules/use-href-in-link-item/index.js +57 -0
  33. package/dist/cjs/rules/use-href-in-link-item/utils.js +63 -0
  34. package/dist/cjs/rules/use-primitives/index.js +1 -2
  35. package/dist/cjs/rules/use-primitives/utils.js +12 -20
  36. package/dist/cjs/rules/use-visually-hidden/constants.js +3 -6
  37. package/dist/cjs/rules/use-visually-hidden/fix-jsx.js +2 -3
  38. package/dist/cjs/rules/use-visually-hidden/fix-vanilla.js +2 -3
  39. package/dist/cjs/rules/use-visually-hidden/index.js +1 -2
  40. package/dist/cjs/rules/use-visually-hidden/utils.js +5 -9
  41. package/dist/cjs/rules/utils/create-rule.js +3 -5
  42. package/dist/cjs/rules/utils/get-deprecated-config.js +2 -3
  43. package/dist/cjs/rules/utils/get-import-node-by-source.js +2 -3
  44. package/dist/cjs/rules/utils/get-is-exception.js +2 -3
  45. package/dist/cjs/rules/utils/is-color.js +7 -13
  46. package/dist/cjs/rules/utils/is-elevation.js +2 -3
  47. package/dist/cjs/rules/utils/is-node.js +10 -19
  48. package/dist/cjs/rules/utils/is-token.js +2 -3
  49. package/dist/cjs/rules/utils/types.js +3 -5
  50. package/dist/es2019/presets/all.codegen.js +2 -1
  51. package/dist/es2019/presets/recommended.codegen.js +2 -1
  52. package/dist/es2019/rules/consistent-css-prop-usage/index.js +1 -1
  53. package/dist/es2019/rules/index.codegen.js +3 -1
  54. package/dist/es2019/rules/use-href-in-link-item/index.js +45 -0
  55. package/dist/es2019/rules/use-href-in-link-item/utils.js +57 -0
  56. package/dist/esm/presets/all.codegen.js +2 -1
  57. package/dist/esm/presets/recommended.codegen.js +2 -1
  58. package/dist/esm/rules/consistent-css-prop-usage/index.js +1 -1
  59. package/dist/esm/rules/icon-label/index.js +1 -1
  60. package/dist/esm/rules/index.codegen.js +3 -1
  61. package/dist/esm/rules/no-banned-imports/index.js +2 -2
  62. package/dist/esm/rules/no-deprecated-imports/index.js +1 -1
  63. package/dist/esm/rules/use-href-in-link-item/index.js +51 -0
  64. package/dist/esm/rules/use-href-in-link-item/utils.js +57 -0
  65. package/dist/esm/rules/use-primitives/utils.js +2 -2
  66. package/dist/types/index.codegen.d.ts +2 -0
  67. package/dist/types/presets/all.codegen.d.ts +2 -1
  68. package/dist/types/presets/recommended.codegen.d.ts +2 -1
  69. package/dist/types/rules/index.codegen.d.ts +1 -0
  70. package/dist/types/rules/use-href-in-link-item/index.d.ts +3 -0
  71. package/dist/types/rules/use-href-in-link-item/utils.d.ts +4 -0
  72. package/dist/types-ts4.5/index.codegen.d.ts +2 -0
  73. package/dist/types-ts4.5/presets/all.codegen.d.ts +2 -1
  74. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -1
  75. package/dist/types-ts4.5/rules/index.codegen.d.ts +1 -0
  76. package/dist/types-ts4.5/rules/use-href-in-link-item/index.d.ts +3 -0
  77. package/dist/types-ts4.5/rules/use-href-in-link-item/utils.d.ts +4 -0
  78. package/package.json +1 -1
  79. package/report.api.md +3 -0
  80. package/tmp/api-report-tmp.d.ts +3 -0
package/CHANGELOG.md CHANGED
@@ -1,34 +1,40 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 8.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#40868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40868) [`3f36676cbfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36676cbfb) - Add `use-href-in-linkitem` rule.
8
+
3
9
  ## 8.8.1
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint rules have been modified to disallow new usage of them.
13
+ - [#39407](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39407) [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint rules have been modified to disallow new usage of them.
8
14
 
9
15
  ## 8.8.0
10
16
 
11
17
  ### Minor Changes
12
18
 
13
- - [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with padding, margin, and gap properties.
19
+ - [#40241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40241) [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with padding, margin, and gap properties.
14
20
 
15
21
  ## 8.7.1
16
22
 
17
23
  ### Patch Changes
18
24
 
19
- - [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) - Configuration added to consistent-css-prop-usage where it is now possible to specify what function names the rule should lint against, and what position is recommended for styles (top or bottom).
25
+ - [#40106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40106) [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) - Configuration added to consistent-css-prop-usage where it is now possible to specify what function names the rule should lint against, and what position is recommended for styles (top or bottom).
20
26
 
21
27
  ## 8.7.0
22
28
 
23
29
  ### Minor Changes
24
30
 
25
- - [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds additional rule encouraging the use of CSS logical properties. This rule comes with a fix for code that uses object syntax (via css, styled or xcss) for styles.
31
+ - [#40128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40128) [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds additional rule encouraging the use of CSS logical properties. This rule comes with a fix for code that uses object syntax (via css, styled or xcss) for styles.
26
32
 
27
33
  ## 8.6.0
28
34
 
29
35
  ### Minor Changes
30
36
 
31
- - [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The `ensure-design-token-usage` rules now support auto-fixing negative values to negative space tokens.
37
+ - [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578) [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The `ensure-design-token-usage` rules now support auto-fixing negative values to negative space tokens.
32
38
 
33
39
  ### Patch Changes
34
40
 
@@ -38,94 +44,94 @@
38
44
 
39
45
  ### Minor Changes
40
46
 
41
- - [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
47
+ - [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701) [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
42
48
 
43
49
  ## 8.4.5
44
50
 
45
51
  ### Patch Changes
46
52
 
47
- - [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop `prefer-primitives` from reporting on React components.
53
+ - [#39649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39649) [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop `prefer-primitives` from reporting on React components.
48
54
 
49
55
  ## 8.4.4
50
56
 
51
57
  ### Patch Changes
52
58
 
53
- - [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable (--ds-elevation-surface-current) to a hardcoded color.
59
+ - [#39213](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39213) [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable (--ds-elevation-surface-current) to a hardcoded color.
54
60
  - Updated dependencies
55
61
 
56
62
  ## 8.4.3
57
63
 
58
64
  ### Patch Changes
59
65
 
60
- - [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak `use-primitives` and `prefer-primitives` logic to stop false positives for component names that contain HTML element names.
66
+ - [#39210](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39210) [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak `use-primitives` and `prefer-primitives` logic to stop false positives for component names that contain HTML element names.
61
67
 
62
68
  ## 8.4.2
63
69
 
64
70
  ### Patch Changes
65
71
 
66
- - [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added this package into push model consumption.
72
+ - [#38362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38362) [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added this package into push model consumption.
67
73
 
68
74
  ## 8.4.1
69
75
 
70
76
  ### Patch Changes
71
77
 
72
- - [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
78
+ - [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433) [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal updates for ADS Typography ADG3 theme.
73
79
  - Updated dependencies
74
80
 
75
81
  ## 8.4.0
76
82
 
77
83
  ### Minor Changes
78
84
 
79
- - [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via styled components (`styled.div`, `styled('div')`) and suggests using primitive components instead.
85
+ - [#38670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38670) [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via styled components (`styled.div`, `styled('div')`) and suggests using primitive components instead.
80
86
 
81
87
  ## 8.3.0
82
88
 
83
89
  ### Minor Changes
84
90
 
85
- - [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add banned import rule for `@atlaskit/primitives/pressable`
91
+ - [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239) [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add banned import rule for `@atlaskit/primitives/pressable`
86
92
 
87
93
  ## 8.2.2
88
94
 
89
95
  ### Patch Changes
90
96
 
91
- - [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update the casing on `xcss` to ensure consistency with the API and package consumption.
97
+ - [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947) [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update the casing on `xcss` to ensure consistency with the API and package consumption.
92
98
 
93
99
  ## 8.2.1
94
100
 
95
101
  ### Patch Changes
96
102
 
97
- - [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - - Fixed an issue where the `ensure-design-token-usage` rule may incorrectly report variables that reference tokens as an error.
103
+ - [#37733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37733) [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - - Fixed an issue where the `ensure-design-token-usage` rule may incorrectly report variables that reference tokens as an error.
98
104
  - Fixed an issue where the `ensure-design-token-usage` rule may handle expressions that span multiple lines in template literals incorrectly.
99
105
 
100
106
  ## 8.2.0
101
107
 
102
108
  ### Minor Changes
103
109
 
104
- - [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add improved behavior for suggestions for `use-primitives` rule.
110
+ - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278) [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add improved behavior for suggestions for `use-primitives` rule.
105
111
 
106
112
  ## 8.1.0
107
113
 
108
114
  ### Minor Changes
109
115
 
110
- - [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule also disallows media queries that contain min-width or max-width. The Atlassian Design System `media` object should be used instead. Other forms of media queries are still allowed.
116
+ - [#37066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37066) [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule also disallows media queries that contain min-width or max-width. The Atlassian Design System `media` object should be used instead. Other forms of media queries are still allowed.
111
117
 
112
118
  ## 8.0.2
113
119
 
114
120
  ### Patch Changes
115
121
 
116
- - [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO` comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
122
+ - [#37041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37041) [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO` comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
117
123
 
118
124
  ## 8.0.1
119
125
 
120
126
  ### Patch Changes
121
127
 
122
- - [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has type-safety built in for properties that accept tokens.
128
+ - [#36624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36624) [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has type-safety built in for properties that accept tokens.
123
129
 
124
130
  ## 8.0.0
125
131
 
126
132
  ### Major Changes
127
133
 
128
- - [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) - Removed `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See release notes for v7.0.0 for more info.
134
+ - [#36273](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36273) [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) - Removed `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See release notes for v7.0.0 for more info.
129
135
 
130
136
  `ensure-design-token-usage` now **errors** against spacing properties by default.
131
137
 
@@ -170,25 +176,25 @@
170
176
 
171
177
  ### Patch Changes
172
178
 
173
- - [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) - Improved autofix for 50% border radius to shape token.
179
+ - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) - Improved autofix for 50% border radius to shape token.
174
180
 
175
181
  ## 7.0.2
176
182
 
177
183
  ### Patch Changes
178
184
 
179
- - [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
185
+ - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950) [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump semver
180
186
 
181
187
  ## 7.0.1
182
188
 
183
189
  ### Patch Changes
184
190
 
185
- - [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
191
+ - [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144) [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
186
192
 
187
193
  ## 7.0.0
188
194
 
189
195
  ### Major Changes
190
196
 
191
- - [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be extended to enforce domains such as typography and shape in the future. The rule accepts a `domains` option which allows you to specify which domains to lint, currently defaulting to 'color' and 'space'. This rule defaults to `error`.
197
+ - [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383) [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be extended to enforce domains such as typography and shape in the future. The rule accepts a `domains` option which allows you to specify which domains to lint, currently defaulting to 'color' and 'space'. This rule defaults to `error`.
192
198
 
193
199
  To update to this version:
194
200
 
@@ -228,59 +234,59 @@
228
234
 
229
235
  ### Patch Changes
230
236
 
231
- - [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch for incorrect behavior in upstream library.
237
+ - [#36054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36054) [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch for incorrect behavior in upstream library.
232
238
 
233
239
  ## 6.2.0
234
240
 
235
241
  ### Minor Changes
236
242
 
237
- - [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) - Linters will now error when deprecated theme color mixins are imported
243
+ - [#34821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34821) [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) - Linters will now error when deprecated theme color mixins are imported
238
244
 
239
245
  ## 6.1.0
240
246
 
241
247
  ### Minor Changes
242
248
 
243
- - [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The ensure-design-token-usage-spacing rule will now lint against inline style objects
249
+ - [#34833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34833) [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The ensure-design-token-usage-spacing rule will now lint against inline style objects
244
250
 
245
251
  ## 6.0.1
246
252
 
247
253
  ### Patch Changes
248
254
 
249
- - [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) - Updated spacing rule to ignore gridSize functions that accept arguments as these are custom and not part of the Design System.
255
+ - [#35448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35448) [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) - Updated spacing rule to ignore gridSize functions that accept arguments as these are custom and not part of the Design System.
250
256
 
251
257
  ## 6.0.0
252
258
 
253
259
  ### Major Changes
254
260
 
255
- - [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New rule consistent-css-prop-usage available as part of the recommended preset. For detailed docs please see: https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
261
+ - [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804) [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New rule consistent-css-prop-usage available as part of the recommended preset. For detailed docs please see: https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
256
262
 
257
263
  ## 5.5.0
258
264
 
259
265
  ### Minor Changes
260
266
 
261
- - [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) - Improved import matching for no-deprecated-apis rule to match substrings of import paths.
267
+ - [#34739](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34739) [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) - Improved import matching for no-deprecated-apis rule to match substrings of import paths.
262
268
 
263
269
  ## 5.4.2
264
270
 
265
271
  ### Patch Changes
266
272
 
267
- - [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) - Internal dependency bump.
273
+ - [#34873](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34873) [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) - Internal dependency bump.
268
274
 
269
275
  ## 5.4.1
270
276
 
271
277
  ### Patch Changes
272
278
 
273
- - [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) - Account for additional border properties in spacing rule.
279
+ - [#34778](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34778) [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) - Account for additional border properties in spacing rule.
274
280
 
275
281
  ## 5.4.0
276
282
 
277
283
  ### Minor Changes
278
284
 
279
- - [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) - `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens via `@atlaskit/tokens`.
285
+ - [#33802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33802) [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) - `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens via `@atlaskit/tokens`.
280
286
 
281
287
  ### Patch Changes
282
288
 
283
- - [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add shape token handling to the `ensure-design-token-usage-spacing` rule.
289
+ - [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217) [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add shape token handling to the `ensure-design-token-usage-spacing` rule.
284
290
  - [`7b017c0be76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b017c0be76) - Internal tweaks to spacing rule fixers.
285
291
  - Updated dependencies
286
292
 
@@ -288,31 +294,31 @@
288
294
 
289
295
  ### Patch Changes
290
296
 
291
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
297
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
292
298
 
293
299
  ## 5.3.1
294
300
 
295
301
  ### Patch Changes
296
302
 
297
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
303
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
298
304
 
299
305
  ## 5.3.0
300
306
 
301
307
  ### Minor Changes
302
308
 
303
- - [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all" preset now respects this preference - before it was always "error". This makes the presets more aligned with the underlying implementations."
309
+ - [#33417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33417) [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all" preset now respects this preference - before it was always "error". This makes the presets more aligned with the underlying implementations."
304
310
 
305
311
  ## 5.2.0
306
312
 
307
313
  ### Minor Changes
308
314
 
309
- - [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) - Internal refactor of ensure-design-token-usage which also addresses some false positives
315
+ - [#31565](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31565) [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) - Internal refactor of ensure-design-token-usage which also addresses some false positives
310
316
 
311
317
  ## 5.1.0
312
318
 
313
319
  ### Minor Changes
314
320
 
315
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
321
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
316
322
 
317
323
  ### Patch Changes
318
324
 
@@ -322,25 +328,25 @@
322
328
 
323
329
  ### Patch Changes
324
330
 
325
- - [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix issue where 'auto' may still be reported as an error in object styles.
331
+ - [#32916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32916) [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix issue where 'auto' may still be reported as an error in object styles.
326
332
 
327
333
  ## 5.0.2
328
334
 
329
335
  ### Patch Changes
330
336
 
331
- - [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update links in the `use-primitives` rule to point to the right docs URL.
337
+ - [#32895](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32895) [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update links in the `use-primitives` rule to point to the right docs URL.
332
338
 
333
339
  ## 5.0.1
334
340
 
335
341
  ### Patch Changes
336
342
 
337
- - [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) - Improved behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0, auto, and calc within spacing properties.
343
+ - [#32846](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32846) [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) - Improved behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0, auto, and calc within spacing properties.
338
344
 
339
345
  ## 5.0.0
340
346
 
341
347
  ### Major Changes
342
348
 
343
- - [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The following rules are now included in the recommended preset as errors:
349
+ - [#32576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32576) [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The following rules are now included in the recommended preset as errors:
344
350
 
345
351
  - ensure-design-token-usage
346
352
  - no-deprecated-apis
@@ -359,135 +365,135 @@
359
365
 
360
366
  ### Minor Changes
361
367
 
362
- - [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux] Spacing rule now also looks at and attempts to parse additional properties.
368
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux] Spacing rule now also looks at and attempts to parse additional properties.
363
369
 
364
370
  ## 4.19.1
365
371
 
366
372
  ### Patch Changes
367
373
 
368
- - [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs are now generated from source.
374
+ - [#32367](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32367) [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs are now generated from source.
369
375
 
370
376
  ## 4.19.0
371
377
 
372
378
  ### Minor Changes
373
379
 
374
- - [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This package now uses codegen to generate the rules index and presets. There is no change to the public api with this release.
380
+ - [#32306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32306) [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This package now uses codegen to generate the rules index and presets. There is no change to the public api with this release.
375
381
  - [`e00ab4b87d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e00ab4b87d9) - The README and website documentation now contain a generated table with all available rules in the plugin.
376
382
 
377
383
  ## 4.18.0
378
384
 
379
385
  ### Minor Changes
380
386
 
381
- - [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add deprecated-imports entries to config that the rule no-deprecated-imports can read from.
387
+ - [#31044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31044) [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add deprecated-imports entries to config that the rule no-deprecated-imports can read from.
382
388
 
383
389
  ## 4.17.1
384
390
 
385
391
  ### Patch Changes
386
392
 
387
- - [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) - ensure-design-token-usage: Fixes various false positives including linting of variable declarations, type definitions, switch cases and if statements
393
+ - [#31568](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31568) [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) - ensure-design-token-usage: Fixes various false positives including linting of variable declarations, type definitions, switch cases and if statements
388
394
 
389
395
  ## 4.17.0
390
396
 
391
397
  ### Minor Changes
392
398
 
393
- - [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled by default, so there should be no expected change to consumers.
399
+ - [#31131](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31131) [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled by default, so there should be no expected change to consumers.
394
400
 
395
401
  ## 4.16.5
396
402
 
397
403
  ### Patch Changes
398
404
 
399
- - [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix bug when replacing shorthand css property values with tokens, values without corresponding token won't be replaced. Also, allow styled2 alias to be matched in object styles for the spacing rule, given Jira frontend uses that alias extensively
405
+ - [#30785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30785) [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix bug when replacing shorthand css property values with tokens, values without corresponding token won't be replaced. Also, allow styled2 alias to be matched in object styles for the spacing rule, given Jira frontend uses that alias extensively
400
406
 
401
407
  ## 4.16.4
402
408
 
403
409
  ### Patch Changes
404
410
 
405
- - [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add overrides in @atlaskit/drawer to deprecated config
411
+ - [#30707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30707) [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add overrides in @atlaskit/drawer to deprecated config
406
412
 
407
413
  ## 4.16.3
408
414
 
409
415
  ### Patch Changes
410
416
 
411
- - [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle edgecases ensuring seamless fallback on errors
417
+ - [#30678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30678) [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle edgecases ensuring seamless fallback on errors
412
418
 
413
419
  ## 4.16.2
414
420
 
415
421
  ### Patch Changes
416
422
 
417
- - [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) - Improves internal configuration of spacing tokens rule.
423
+ - [#30658](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30658) [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) - Improves internal configuration of spacing tokens rule.
418
424
 
419
425
  ## 4.16.1
420
426
 
421
427
  ### Patch Changes
422
428
 
423
- - [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) - Additional selector for ObjectExpression improves coverage of eslint rule.
429
+ - [#30604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30604) [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) - Additional selector for ObjectExpression improves coverage of eslint rule.
424
430
 
425
431
  ## 4.16.0
426
432
 
427
433
  ### Minor Changes
428
434
 
429
- - [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update no-deprecated-apis ESlint rule to accept configurations
435
+ - [#29960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29960) [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update no-deprecated-apis ESlint rule to accept configurations
430
436
 
431
437
  ## 4.15.6
432
438
 
433
439
  ### Patch Changes
434
440
 
435
- - [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) - Enhance token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged template literal strings
441
+ - [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134) [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) - Enhance token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged template literal strings
436
442
 
437
443
  ## 4.15.5
438
444
 
439
445
  ### Patch Changes
440
446
 
441
- - [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump version of `eslint-codemod-utils`.
447
+ - [#30141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30141) [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump version of `eslint-codemod-utils`.
442
448
 
443
449
  ## 4.15.4
444
450
 
445
451
  ### Patch Changes
446
452
 
447
- - [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add lint rule to prevent use of `margin` CSS property.
453
+ - [#27964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27964) [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add lint rule to prevent use of `margin` CSS property.
448
454
 
449
455
  ## 4.15.3
450
456
 
451
457
  ### Patch Changes
452
458
 
453
- - [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix spacing token autofix in tagged template literal styles, enabling replacement of expression to equivalent spacing tokens
459
+ - [#29613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29613) [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix spacing token autofix in tagged template literal styles, enabling replacement of expression to equivalent spacing tokens
454
460
 
455
461
  ## 4.15.2
456
462
 
457
463
  ### Patch Changes
458
464
 
459
- - [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
465
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes usage of tokens which have been removed from the codebase
460
466
  - Updated dependencies
461
467
 
462
468
  ## 4.15.1
463
469
 
464
470
  ### Patch Changes
465
471
 
466
- - [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
472
+ - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
467
473
 
468
474
  ## 4.15.0
469
475
 
470
476
  ### Minor Changes
471
477
 
472
- - [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) - ensure-design-token-usage-spacing only lints on spacing properties by default, with typography properties enabled via config
478
+ - [#29346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29346) [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) - ensure-design-token-usage-spacing only lints on spacing properties by default, with typography properties enabled via config
473
479
 
474
480
  ## 4.14.1
475
481
 
476
482
  ### Patch Changes
477
483
 
478
- - [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) - Improved handling of font-family properties.
484
+ - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064) [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) - Improved handling of font-family properties.
479
485
 
480
486
  ## 4.14.0
481
487
 
482
488
  ### Minor Changes
483
489
 
484
- - [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added another valid callee `getTokenValue()` which is used for getting the current computed CSS value for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call won't fail.
490
+ - [#27730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27730) [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added another valid callee `getTokenValue()` which is used for getting the current computed CSS value for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call won't fail.
485
491
 
486
492
  ## 4.13.10
487
493
 
488
494
  ### Patch Changes
489
495
 
490
- - [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
496
+ - [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011) [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
491
497
  - Updated dependencies
492
498
 
493
499
  ## 4.13.9
@@ -500,25 +506,25 @@
500
506
 
501
507
  ### Patch Changes
502
508
 
503
- - [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) - Updates fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
509
+ - [#27783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27783) [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) - Updates fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
504
510
 
505
511
  ## 4.13.7
506
512
 
507
513
  ### Patch Changes
508
514
 
509
- - [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds support to the ensure-design-token-usage-spacing rule for replacing typography values with tokens
515
+ - [#27592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27592) [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds support to the ensure-design-token-usage-spacing rule for replacing typography values with tokens
510
516
 
511
517
  ## 4.13.6
512
518
 
513
519
  ### Patch Changes
514
520
 
515
- - [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) - Changes behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a fix is applied.
521
+ - [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482) [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) - Changes behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a fix is applied.
516
522
 
517
523
  ## 4.13.5
518
524
 
519
525
  ### Patch Changes
520
526
 
521
- - [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) - Dependency bump of `eslint-codemod-utils`.
527
+ - [#27431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27431) [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) - Dependency bump of `eslint-codemod-utils`.
522
528
 
523
529
  ## 4.13.4
524
530
 
@@ -530,80 +536,80 @@
530
536
 
531
537
  ### Patch Changes
532
538
 
533
- - [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an optional `customTokens` configuration option for no-unsafe-design-token-usage
539
+ - [#26561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26561) [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an optional `customTokens` configuration option for no-unsafe-design-token-usage
534
540
 
535
541
  ## 4.13.2
536
542
 
537
543
  ### Patch Changes
538
544
 
539
- - [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) - @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
545
+ - [#26623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26623) [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) - @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
540
546
 
541
547
  ## 4.13.1
542
548
 
543
549
  ### Patch Changes
544
550
 
545
- - [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add support for template literals in ensure-design-token-usage-spacing
551
+ - [#26604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26604) [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add support for template literals in ensure-design-token-usage-spacing
546
552
 
547
553
  ## 4.13.0
548
554
 
549
555
  ### Minor Changes
550
556
 
551
- - [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
557
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
552
558
 
553
559
  ## 4.12.4
554
560
 
555
561
  ### Patch Changes
556
562
 
557
- - [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
563
+ - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488) [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal changes to apply spacing tokens. This should be a no-op change.
558
564
 
559
565
  ## 4.12.3
560
566
 
561
567
  ### Patch Changes
562
568
 
563
- - [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
569
+ - [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408) [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
564
570
 
565
571
  ## 4.12.2
566
572
 
567
573
  ### Patch Changes
568
574
 
569
- - [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in auto-fixing code with highly experimental tokens.
575
+ - [#26186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26186) [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in auto-fixing code with highly experimental tokens.
570
576
 
571
577
  ## 4.12.1
572
578
 
573
579
  ### Patch Changes
574
580
 
575
- - [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) - Improves the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be resolved to a token will be.
581
+ - [#26165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26165) [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) - Improves the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be resolved to a token will be.
576
582
 
577
583
  ## 4.12.0
578
584
 
579
585
  ### Minor Changes
580
586
 
581
- - [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
587
+ - [#26111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26111) [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux] Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental' tokens and automatically replace them with their replacement (either a token or a fallback) via a fixer.
582
588
 
583
589
  ## 4.11.2
584
590
 
585
591
  ### Patch Changes
586
592
 
587
- - [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
593
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update internals of Box, Text, Inline and Stack to handle `children` more accurately.
588
594
  Also update scope of `use-primitives` to suggest Box and Text more selectively.
589
595
 
590
596
  ## 4.11.1
591
597
 
592
598
  ### Patch Changes
593
599
 
594
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
600
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
595
601
 
596
602
  ## 4.11.0
597
603
 
598
604
  ### Minor Changes
599
605
 
600
- - [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) - Bolster isException logic to support descendants of excepted functions and to be case-agnostic
606
+ - [#24934](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24934) [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) - Bolster isException logic to support descendants of excepted functions and to be case-agnostic
601
607
 
602
608
  ## 4.10.1
603
609
 
604
610
  ### Patch Changes
605
611
 
606
- - [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) - Improved NaN handling and output
612
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) - Improved NaN handling and output
607
613
  - [`0544fe823d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0544fe823d1) - Updates to account for nested unary selectors.
608
614
  - [`1ed3db0c9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed3db0c9be) - Improvements to lint rule and accounting for edge cases
609
615
 
@@ -611,37 +617,37 @@
611
617
 
612
618
  ### Minor Changes
613
619
 
614
- - [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add exceptions option to ensure-design-token-usage rule
620
+ - [#24591](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24591) [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add exceptions option to ensure-design-token-usage rule
615
621
 
616
622
  ## 4.9.0
617
623
 
618
624
  ### Minor Changes
619
625
 
620
- - [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix false positives for variable names and object property keys
626
+ - [#24547](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24547) [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix false positives for variable names and object property keys
621
627
 
622
628
  ## 4.8.2
623
629
 
624
630
  ### Patch Changes
625
631
 
626
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
632
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
627
633
 
628
634
  ## 4.8.1
629
635
 
630
636
  ### Patch Changes
631
637
 
632
- - [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
638
+ - [#24445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24445) [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
633
639
 
634
640
  ## 4.8.0
635
641
 
636
642
  ### Minor Changes
637
643
 
638
- - [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a rule to restrict usage of deprecated attribute `type` for inline-message
644
+ - [#23610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23610) [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a rule to restrict usage of deprecated attribute `type` for inline-message
639
645
 
640
646
  ## 4.7.2
641
647
 
642
648
  ### Patch Changes
643
649
 
644
- - [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) - Improvements / added robustness to edge cases previously unhandled.
650
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) - Improvements / added robustness to edge cases previously unhandled.
645
651
  - [`8e848e3a4a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e848e3a4a6) - Internal updates to a number of rules. Introduced a custom formatter for the rule 'no-raw-spacing-values'.
646
652
  - [`31494c13aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31494c13aaa) - Type fixes to the internals of a number of rules.
647
653
 
@@ -649,25 +655,25 @@
649
655
 
650
656
  ### Patch Changes
651
657
 
652
- - [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
658
+ - [#23674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23674) [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
653
659
 
654
660
  ## 4.7.0
655
661
 
656
662
  ### Minor Changes
657
663
 
658
- - [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds additional rule to restrict usage of banned imports from the design system.
664
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds additional rule to restrict usage of banned imports from the design system.
659
665
 
660
666
  ## 4.6.0
661
667
 
662
668
  ### Minor Changes
663
669
 
664
- - [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) - Introduces a new rule `icon-label` to validate accessible usage of the icon components label prop when used with other design system components.
670
+ - [#21819](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21819) [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) - Introduces a new rule `icon-label` to validate accessible usage of the icon components label prop when used with other design system components.
665
671
 
666
672
  ## 4.5.0
667
673
 
668
674
  ### Minor Changes
669
675
 
670
- - [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add new paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
676
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add new paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
671
677
 
672
678
  ## 4.4.6
673
679
 
@@ -679,32 +685,32 @@
679
685
 
680
686
  ### Patch Changes
681
687
 
682
- - [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix linting error message for focusRing import
688
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721) [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix linting error message for focusRing import
683
689
 
684
690
  ## 4.4.4
685
691
 
686
692
  ### Patch Changes
687
693
 
688
- - [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds an additional rule for DS users to opt into to using 'noop' as a common reference rather than rewriting anonymous functions.
694
+ - [#20860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20860) [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds an additional rule for DS users to opt into to using 'noop' as a common reference rather than rewriting anonymous functions.
689
695
 
690
696
  ## 4.4.3
691
697
 
692
698
  ### Patch Changes
693
699
 
694
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
700
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
695
701
 
696
702
  ## 4.4.2
697
703
 
698
704
  ### Patch Changes
699
705
 
700
- - [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds `static` techstack to package, enforcing stricter style linting. In this case the package already satisfied this requirement so there have been no changes to styles.
706
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds `static` techstack to package, enforcing stricter style linting. In this case the package already satisfied this requirement so there have been no changes to styles.
701
707
  - Updated dependencies
702
708
 
703
709
  ## 4.4.1
704
710
 
705
711
  ### Patch Changes
706
712
 
707
- - [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes a bug in the rule `ensure-design-token-usage` where some color value types were not being detected as hardcoded color usage. This affected Styled Components and Emotion CSS prop syntaxes.
713
+ - [#20390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20390) [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes a bug in the rule `ensure-design-token-usage` where some color value types were not being detected as hardcoded color usage. This affected Styled Components and Emotion CSS prop syntaxes.
708
714
 
709
715
  These color types have been fixed:
710
716
 
@@ -720,7 +726,7 @@
720
726
 
721
727
  ### Minor Changes
722
728
 
723
- - [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed bug where deleted '[default]' tokens were not being detected by lint tooling
729
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618) [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed bug where deleted '[default]' tokens were not being detected by lint tooling
724
730
 
725
731
  ### Patch Changes
726
732
 
@@ -730,7 +736,7 @@
730
736
 
731
737
  ### Minor Changes
732
738
 
733
- - [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes a bug where token paths including [default] were not being detected by the linter
739
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes a bug where token paths including [default] were not being detected by the linter
734
740
 
735
741
  ### Patch Changes
736
742
 
@@ -740,14 +746,14 @@
740
746
 
741
747
  ### Patch Changes
742
748
 
743
- - [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes a bug where use of qualified type annotations would throw an error.
749
+ - [#19453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19453) [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes a bug where use of qualified type annotations would throw an error.
744
750
 
745
751
  ## 4.2.0
746
752
 
747
753
  ### Minor Changes
748
754
 
749
- - [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
750
- - [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds an additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System that we intend to remove completely. This rule should be used by all product repos as it will provide an early warning of expected deprecations.
755
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
756
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds an additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System that we intend to remove completely. This rule should be used by all product repos as it will provide an early warning of expected deprecations.
751
757
  - [`93d6f8856f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d6f8856f2) - @atlaskit/icon-priority has been deprecated due to low usage. It will be deleted after 21 April 2022. If you rely on these icons, @atlaskit/icon-priority will still be available as a deprecated package on NPM, but we recommend self-hosting and managing.
752
758
 
753
759
  ## 4.1.1
@@ -761,7 +767,7 @@
761
767
 
762
768
  ### Minor Changes
763
769
 
764
- - [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a new rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of deprecated tokens. In most cases this allows consumers to set this rule to "warn", allowing iterative migration to new token names rather than in a big bang.
770
+ - [#18168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18168) [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a new rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of deprecated tokens. In most cases this allows consumers to set this rule to "warn", allowing iterative migration to new token names rather than in a big bang.
765
771
 
766
772
  ### Patch Changes
767
773
 
@@ -771,13 +777,13 @@
771
777
 
772
778
  ### Patch Changes
773
779
 
774
- - [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds missing meta to `ensure-design-token-usage` rule.
780
+ - [#17094](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17094) [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds missing meta to `ensure-design-token-usage` rule.
775
781
 
776
782
  ## 4.0.0
777
783
 
778
784
  ### Major Changes
779
785
 
780
- - [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) - Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token use. This has now been split up into two separate rules:
786
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) - Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token use. This has now been split up into two separate rules:
781
787
 
782
788
  `ensure-design-token-usage` now covers:
783
789
 
@@ -810,13 +816,13 @@
810
816
 
811
817
  ### Minor Changes
812
818
 
813
- - [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds additional rule to design system eslint plugin; no-deprecated-imports.
819
+ - [#16362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16362) [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds additional rule to design system eslint plugin; no-deprecated-imports.
814
820
 
815
821
  ## 3.1.0
816
822
 
817
823
  ### Minor Changes
818
824
 
819
- - [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) - Includes additional rule in the recommended ruleset to restrict imports on older deprecated components.
825
+ - [#16088](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16088) [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) - Includes additional rule in the recommended ruleset to restrict imports on older deprecated components.
820
826
 
821
827
  ## 3.0.0
822
828
 
@@ -828,7 +834,7 @@
828
834
 
829
835
  ### Patch Changes
830
836
 
831
- - [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) - Introduces fixes for various edge-cases and false positives:
837
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319) [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) - Introduces fixes for various edge-cases and false positives:
832
838
 
833
839
  - Objects that are not considered "style blocks" are now ignored. Style blocks are considered as objects assigned to variables with names containing either "style", "css", or "theme" and type annotations including "CSSProperties" or "CSSObject".
834
840
  - Hexadecimal colors using the `0x` notation are now ignored
@@ -858,7 +864,7 @@
858
864
 
859
865
  ### Minor Changes
860
866
 
861
- - [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You can now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are now restricted by default.
867
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You can now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are now restricted by default.
862
868
 
863
869
  ### Patch Changes
864
870
 
@@ -868,7 +874,7 @@
868
874
 
869
875
  ### Minor Changes
870
876
 
871
- - [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds token renaming rule (with autofix) to ensure-design-token-usage
877
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds token renaming rule (with autofix) to ensure-design-token-usage
872
878
 
873
879
  ### Patch Changes
874
880
 
@@ -878,7 +884,7 @@
878
884
 
879
885
  ### Patch Changes
880
886
 
881
- - [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes false negative reports for named legacy colors.
887
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes false negative reports for named legacy colors.
882
888
  - [`c9d8cc07750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9d8cc07750) - Converts internal code to TypeScript.
883
889
  - [`8eea79b8ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eea79b8ebc) - Update the function of checking if a node is a legacy elevation.
884
890
  - [`7da605ccafe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da605ccafe) - Adds suggestions for incorrect usages of color and tokens
@@ -889,14 +895,14 @@
889
895
 
890
896
  ### Patch Changes
891
897
 
892
- - [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) - Restructures tokens into the following format {group}{property}{variant}{state}
898
+ - [#12592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12592) [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) - Restructures tokens into the following format {group}{property}{variant}{state}
893
899
  - Updated dependencies
894
900
 
895
901
  ## 0.0.4
896
902
 
897
903
  ### Patch Changes
898
904
 
899
- - [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds, removes & renames tokens
905
+ - [#12528](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12528) [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds, removes & renames tokens
900
906
 
901
907
  Adds:
902
908
 
@@ -929,7 +935,7 @@
929
935
 
930
936
  ### Patch Changes
931
937
 
932
- - [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of the box configs have been removed until stable release.
938
+ - [#12570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12570) [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of the box configs have been removed until stable release.
933
939
  - [`f2a0a48903d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a0a48903d) - Errors no longer show up on import declarations.
934
940
  - [`b71d3cd3d2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71d3cd3d2f) - Internal artefacts no longer make their way to npm.
935
941
 
@@ -937,12 +943,12 @@
937
943
 
938
944
  ### Patch Changes
939
945
 
940
- - [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves tokens and eslint-plugin-design-system to the public namespace.
946
+ - [#12444](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12444) [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves tokens and eslint-plugin-design-system to the public namespace.
941
947
  - Updated dependencies
942
948
 
943
949
  ## 0.0.1
944
950
 
945
951
  ### Patch Changes
946
952
 
947
- - [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) - Initial commit.
953
+ - [#11993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11993) [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) - Initial commit.
948
954
  - Updated dependencies