@atlaskit/eslint-plugin-design-system 10.4.3 → 10.4.5

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 (52) hide show
  1. package/CHANGELOG.md +1028 -1025
  2. package/README.md +1 -1
  3. package/constellation/consistent-css-prop-usage/usage.mdx +18 -18
  4. package/constellation/index/usage.mdx +1 -1
  5. package/constellation/no-css-tagged-template-expression/usage.mdx +13 -13
  6. package/constellation/no-deprecated-apis/usage.mdx +26 -26
  7. package/constellation/no-deprecated-imports/usage.mdx +27 -27
  8. package/constellation/no-direct-use-of-web-platform-drag-and-drop/usage.mdx +5 -5
  9. package/constellation/no-empty-styled-expression/usage.mdx +11 -11
  10. package/constellation/no-exported-css/usage.mdx +7 -7
  11. package/constellation/no-exported-keyframes/usage.mdx +7 -7
  12. package/constellation/no-invalid-css-map/usage.mdx +52 -52
  13. package/constellation/no-keyframes-tagged-template-expression/usage.mdx +14 -14
  14. package/constellation/no-nested-styles/usage.mdx +13 -13
  15. package/constellation/no-physical-properties/usage.mdx +9 -9
  16. package/constellation/no-styled-tagged-template-expression/usage.mdx +30 -30
  17. package/constellation/no-unsafe-design-token-usage/usage.mdx +4 -4
  18. package/constellation/no-unsafe-style-overrides/usage.mdx +5 -5
  19. package/constellation/prefer-primitives/usage.mdx +1 -1
  20. package/constellation/use-heading/usage.mdx +2 -2
  21. package/constellation/use-heading-level-in-spotlight-card/usage.mdx +1 -1
  22. package/constellation/use-latest-xcss-syntax/usage.mdx +2 -2
  23. package/constellation/use-primitives/usage.mdx +38 -38
  24. package/constellation/use-tokens-space/usage.mdx +2 -2
  25. package/dist/cjs/index.codegen.js +1 -1
  26. package/dist/cjs/presets/all.codegen.js +1 -1
  27. package/dist/cjs/presets/recommended.codegen.js +2 -1
  28. package/dist/cjs/rules/index.codegen.js +1 -1
  29. package/dist/cjs/rules/no-html-anchor/node-types/styled-component/index.js +4 -0
  30. package/dist/cjs/rules/no-html-button/index.js +1 -1
  31. package/dist/cjs/rules/no-html-button/node-types/styled-component/index.js +4 -0
  32. package/dist/es2019/index.codegen.js +1 -1
  33. package/dist/es2019/presets/all.codegen.js +1 -1
  34. package/dist/es2019/presets/recommended.codegen.js +2 -1
  35. package/dist/es2019/rules/index.codegen.js +1 -1
  36. package/dist/es2019/rules/no-html-anchor/node-types/styled-component/index.js +4 -0
  37. package/dist/es2019/rules/no-html-button/index.js +1 -1
  38. package/dist/es2019/rules/no-html-button/node-types/styled-component/index.js +4 -0
  39. package/dist/esm/index.codegen.js +1 -1
  40. package/dist/esm/presets/all.codegen.js +1 -1
  41. package/dist/esm/presets/recommended.codegen.js +2 -1
  42. package/dist/esm/rules/index.codegen.js +1 -1
  43. package/dist/esm/rules/no-html-anchor/node-types/styled-component/index.js +4 -0
  44. package/dist/esm/rules/no-html-button/index.js +1 -1
  45. package/dist/esm/rules/no-html-button/node-types/styled-component/index.js +4 -0
  46. package/dist/types/index.codegen.d.ts +1 -0
  47. package/dist/types/presets/all.codegen.d.ts +1 -1
  48. package/dist/types/presets/recommended.codegen.d.ts +2 -1
  49. package/dist/types-ts4.5/index.codegen.d.ts +1 -0
  50. package/dist/types-ts4.5/presets/all.codegen.d.ts +1 -1
  51. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +2 -1
  52. package/package.json +3 -5
package/CHANGELOG.md CHANGED
@@ -1,1051 +1,1138 @@
1
1
  # @atlaskit/eslint-plugin-design-system
2
2
 
3
+ ## 10.4.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#107585](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107585)
8
+ [`c7428760443b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c7428760443b) -
9
+ Fixes bugs with `no-html-button` and `no-html-anchor` rules that was falsely reporting for styled
10
+ components not used in the same file they are defined in.
11
+
12
+ ## 10.4.4
13
+
14
+ ### Patch Changes
15
+
16
+ - [#107425](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107425)
17
+ [`54fa5e256f80`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/54fa5e256f80) -
18
+ Added `@atlaskit/design-system/no-html-button` rule to recommended configuration
19
+
3
20
  ## 10.4.3
4
21
 
5
22
  ### Patch Changes
6
23
 
7
- - [#103109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103109)
8
- [`387067d94233`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/387067d94233) -
9
- `use-latest-xcss-syntax` - Update to `error` in `recommended` and `all`.
10
- - Updated dependencies
24
+ - [#103109](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103109)
25
+ [`387067d94233`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/387067d94233) -
26
+ `use-latest-xcss-syntax` - Update to `error` in `recommended` and `all`.
27
+ - Updated dependencies
11
28
 
12
29
  ## 10.4.2
13
30
 
14
31
  ### Patch Changes
15
32
 
16
- - [#104190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104190)
17
- [`a6243f719741`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a6243f719741) -
18
- `no-banned-imports`: Remove banned paths for unsafe Buttons and Pressable primitive
33
+ - [#104190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104190)
34
+ [`a6243f719741`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a6243f719741) -
35
+ `no-banned-imports`: Remove banned paths for unsafe Buttons and Pressable primitive
19
36
 
20
37
  ## 10.4.1
21
38
 
22
39
  ### Patch Changes
23
40
 
24
- - [#103215](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103215)
25
- [`1108a9b46be2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1108a9b46be2) -
26
- Fixed an issue with the `use-tokens-typography` rule where font family properties that were
27
- already using a token could be misinterpreted and cause the font family property to be removed.
41
+ - [#103215](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103215)
42
+ [`1108a9b46be2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1108a9b46be2) -
43
+ Fixed an issue with the `use-tokens-typography` rule where font family properties that were
44
+ already using a token could be misinterpreted and cause the font family property to be removed.
28
45
 
29
46
  ## 10.4.0
30
47
 
31
48
  ### Minor Changes
32
49
 
33
- - [#103102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103102)
34
- [`3c920b0719af`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c920b0719af) -
35
- Add `use-latest-xcss-syntax` eslint rule.
50
+ - [#103102](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103102)
51
+ [`3c920b0719af`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c920b0719af) -
52
+ Add `use-latest-xcss-syntax` eslint rule.
36
53
 
37
54
  ## 10.3.1
38
55
 
39
56
  ### Patch Changes
40
57
 
41
- - [#102908](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102908)
42
- [`b08bb74e2894`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b08bb74e2894) -
43
- Fixed an issue with the `use-tokens-typography` rule where font weights that were already using
44
- a token could break the token matching logic and cause the font weight property to be removed.
58
+ - [#102908](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102908)
59
+ [`b08bb74e2894`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b08bb74e2894) -
60
+ Fixed an issue with the `use-tokens-typography` rule where font weights that were already using a
61
+ token could break the token matching logic and cause the font weight property to be removed.
45
62
 
46
63
  ## 10.3.0
47
64
 
48
65
  ### Minor Changes
49
66
 
50
- - [#102286](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102286)
51
- [`8c56c1feba06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c56c1feba06) -
52
- Adds support for `role="button"` in `no-html-anchor` rule
67
+ - [#102286](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102286)
68
+ [`8c56c1feba06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c56c1feba06) -
69
+ Adds support for `role="button"` in `no-html-anchor` rule
53
70
 
54
71
  ## 10.2.1
55
72
 
56
73
  ### Patch Changes
57
74
 
58
- - [#101749](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101749)
59
- [`08a34b7d741c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08a34b7d741c) -
60
- use-primitives-text and use-heading lint rules to not target elements with no children.
75
+ - [#101749](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101749)
76
+ [`08a34b7d741c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08a34b7d741c) -
77
+ use-primitives-text and use-heading lint rules to not target elements with no children.
61
78
 
62
79
  ## 10.2.0
63
80
 
64
81
  ### Minor Changes
65
82
 
66
- - [#96661](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96661)
67
- [`ff9ef688b598`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff9ef688b598) -
68
- `use-primitives` rule: Adds ability to map negative margin values to negative spacing tokens.
83
+ - [#96661](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96661)
84
+ [`ff9ef688b598`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ff9ef688b598) -
85
+ `use-primitives` rule: Adds ability to map negative margin values to negative spacing tokens.
69
86
 
70
87
  ## 10.1.0
71
88
 
72
89
  ### Minor Changes
73
90
 
74
- - [#98883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98883)
75
- [`482fe4d89379`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/482fe4d89379) -
76
- Automatically insert the default fallback value for a token when fallbacks are enforced
91
+ - [#98883](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98883)
92
+ [`482fe4d89379`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/482fe4d89379) -
93
+ Automatically insert the default fallback value for a token when fallbacks are enforced
77
94
 
78
95
  ## 10.0.1
79
96
 
80
97
  ### Patch Changes
81
98
 
82
- - [#98294](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98294)
83
- [`0663be43d057`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0663be43d057) -
84
- The `ensure-design-token-usage` rule will now ignore `xcss()` calls even if the `xcss` variable
85
- has been aliased.
99
+ - [#98294](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98294)
100
+ [`0663be43d057`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0663be43d057) -
101
+ The `ensure-design-token-usage` rule will now ignore `xcss()` calls even if the `xcss` variable
102
+ has been aliased.
86
103
 
87
104
  ## 10.0.0
88
105
 
89
106
  ### Major Changes
90
107
 
91
- - [#96329](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96329)
92
- [`16e879f9ab10`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e879f9ab10) -
93
- Renamed the `no-html-button-element` rule to `no-html-button`. This rule is not yet in use, so
94
- it should not be a breaking change. The new name reflects the broadened scope of the rule to not
95
- only include `<button>` elements, but other forms of HTML buttons such as
96
- `<input type="button" />` and `role="button"`.
108
+ - [#96329](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96329)
109
+ [`16e879f9ab10`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e879f9ab10) -
110
+ Renamed the `no-html-button-element` rule to `no-html-button`. This rule is not yet in use, so it
111
+ should not be a breaking change. The new name reflects the broadened scope of the rule to not only
112
+ include `<button>` elements, but other forms of HTML buttons such as `<input type="button" />` and
113
+ `role="button"`.
97
114
 
98
115
  ### Minor Changes
99
116
 
100
- - [#97630](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97630)
101
- [`8cac5287d0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8cac5287d0c4) -
102
- Adding new rule: `no-html-anchor`. This discourages usage of native HTML anchors and favors ADS
103
- link components.
117
+ - [#97630](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97630)
118
+ [`8cac5287d0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8cac5287d0c4) -
119
+ Adding new rule: `no-html-anchor`. This discourages usage of native HTML anchors and favors ADS
120
+ link components.
104
121
 
105
122
  ## 9.7.0
106
123
 
107
124
  ### Minor Changes
108
125
 
109
- - [#91673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91673)
110
- [`e757c83a22ee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e757c83a22ee) -
111
- Introducing new rule to encourage adding/referencing accessible name to a Popup component.
126
+ - [#91673](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91673)
127
+ [`e757c83a22ee`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e757c83a22ee) -
128
+ Introducing new rule to encourage adding/referencing accessible name to a Popup component.
112
129
 
113
130
  ## 9.6.0
114
131
 
115
132
  ### Minor Changes
116
133
 
117
- - [#94356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94356)
118
- [`8c4f5854f3da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c4f5854f3da) -
119
- The `icon-label` rule now supports label being defined via spreading render props in the new
120
- buttons.
134
+ - [#94356](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94356)
135
+ [`8c4f5854f3da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c4f5854f3da) -
136
+ The `icon-label` rule now supports label being defined via spreading render props in the new
137
+ buttons.
121
138
 
122
139
  ## 9.5.2
123
140
 
124
141
  ### Patch Changes
125
142
 
126
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
127
- [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
128
- Migrated to the new button component
143
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
144
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
145
+ Migrated to the new button component
129
146
 
130
147
  ## 9.5.1
131
148
 
132
149
  ### Patch Changes
133
150
 
134
- - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213)
135
- [`c7caf85c839c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c7caf85c839c) -
136
- Internal refactoring to `no-invalid-css-map` to use new shared utilities from
137
- `@atlaskit/eslint-utils` for determining allowed functions calls.
138
- - Updated dependencies
151
+ - [#87213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87213)
152
+ [`c7caf85c839c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c7caf85c839c) -
153
+ Internal refactoring to `no-invalid-css-map` to use new shared utilities from
154
+ `@atlaskit/eslint-utils` for determining allowed functions calls.
155
+ - Updated dependencies
139
156
 
140
157
  ## 9.5.0
141
158
 
142
159
  ### Minor Changes
143
160
 
144
- - [#91506](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91506)
145
- [`2724a3783955`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2724a3783955) -
146
- Add support for React 18.
161
+ - [#91506](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91506)
162
+ [`2724a3783955`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2724a3783955) -
163
+ Add support for React 18.
147
164
 
148
165
  ## 9.4.1
149
166
 
150
167
  ### Patch Changes
151
168
 
152
- - [#90125](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90125)
153
- [`3ee5bf94b4fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ee5bf94b4fd) -
154
- Added the `shouldEnforceFallbacks` option to the `use-tokens-typography` rule which can be used
155
- to prevent token fallback values being added automatically.
169
+ - [#90125](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90125)
170
+ [`3ee5bf94b4fd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3ee5bf94b4fd) -
171
+ Added the `shouldEnforceFallbacks` option to the `use-tokens-typography` rule which can be used to
172
+ prevent token fallback values being added automatically.
156
173
 
157
174
  ## 9.4.0
158
175
 
159
176
  ### Minor Changes
160
177
 
161
- - [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717)
162
- [`5332c5b63887`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5332c5b63887) -
163
- Adding new eslint rule `@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop` to
164
- block using web platform drag and drop directly.
178
+ - [#88717](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88717)
179
+ [`5332c5b63887`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5332c5b63887) -
180
+ Adding new eslint rule `@atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop` to
181
+ block using web platform drag and drop directly.
165
182
 
166
183
  ## 9.3.1
167
184
 
168
185
  ### Patch Changes
169
186
 
170
- - [#88012](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88012)
171
- [`c478a4d80fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c478a4d80fc9) -
172
- The `no-*-tagged-template-expression` rules will no longer autofix usages with mixins in nested
173
- selectors. This is because they were producing an array syntax that is not valid in compiled or
174
- styled-components.
187
+ - [#88012](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88012)
188
+ [`c478a4d80fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c478a4d80fc9) -
189
+ The `no-*-tagged-template-expression` rules will no longer autofix usages with mixins in nested
190
+ selectors. This is because they were producing an array syntax that is not valid in compiled or
191
+ styled-components.
175
192
 
176
193
  ## 9.3.0
177
194
 
178
195
  ### Minor Changes
179
196
 
180
- - [#87586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87586)
181
- [`47d9f5fb1b11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/47d9f5fb1b11) -
182
- Added use-heading rule
197
+ - [#87586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87586)
198
+ [`47d9f5fb1b11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/47d9f5fb1b11) -
199
+ Added use-heading rule
183
200
 
184
201
  ### Patch Changes
185
202
 
186
- - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476)
187
- [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) -
188
- Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
189
- - Updated dependencies
203
+ - [#87476](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87476)
204
+ [`af296d200ad2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/af296d200ad2) -
205
+ Internal refactoring to use `getCreateLintRule` from `@atlaskit/eslint-utils`
206
+ - Updated dependencies
190
207
 
191
208
  ## 9.2.5
192
209
 
193
210
  ### Patch Changes
194
211
 
195
- - [#87434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87434)
196
- [`dda5ca94da13`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dda5ca94da13) -
197
- `use-primitives` - bail on dimension properties that have token call values.
212
+ - [#87434](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/87434)
213
+ [`dda5ca94da13`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dda5ca94da13) -
214
+ `use-primitives` - bail on dimension properties that have token call values.
198
215
 
199
216
  ## 9.2.4
200
217
 
201
218
  ### Patch Changes
202
219
 
203
- - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638)
204
- [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) -
205
- Internal refactoring to use a shared `@atlaskit/eslint-utils` package
206
- - Updated dependencies
220
+ - [#86638](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86638)
221
+ [`f003f07e88e1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f003f07e88e1) -
222
+ Internal refactoring to use a shared `@atlaskit/eslint-utils` package
223
+ - Updated dependencies
207
224
 
208
225
  ## 9.2.3
209
226
 
210
227
  ### Patch Changes
211
228
 
212
- - [#86352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86352)
213
- [`c32535ff8734`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c32535ff8734) -
214
- Fixed an issue where the `ensure-design-token-usage` rule (and by extension
215
- `ensure-design-token-usage/preview` rule) would report on color properties even if `"color"` was
216
- not provided in the domains config.
229
+ - [#86352](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86352)
230
+ [`c32535ff8734`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c32535ff8734) -
231
+ Fixed an issue where the `ensure-design-token-usage` rule (and by extension
232
+ `ensure-design-token-usage/preview` rule) would report on color properties even if `"color"` was
233
+ not provided in the domains config.
217
234
 
218
235
  ## 9.2.2
219
236
 
220
237
  ### Patch Changes
221
238
 
222
- - [#86321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86321)
223
- [`b353b26e22b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b353b26e22b6) -
224
- Improvements for `no-*-tagged-template-expression` rules:
239
+ - [#86321](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/86321)
240
+ [`b353b26e22b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b353b26e22b6) -
241
+ Improvements for `no-*-tagged-template-expression` rules:
225
242
 
226
- - Fixed a bug that could produce syntax errors when mixins were present in nested selectors.
227
- - Disabled autofixing styled components usages with mixins in nested selectors, as there is no
228
- general equivalent.
229
- - Disabled autofixing function interpolations with non-expression bodies.
243
+ - Fixed a bug that could produce syntax errors when mixins were present in nested selectors.
244
+ - Disabled autofixing styled components usages with mixins in nested selectors, as there is no
245
+ general equivalent.
246
+ - Disabled autofixing function interpolations with non-expression bodies.
230
247
 
231
248
  ## 9.2.1
232
249
 
233
250
  ### Patch Changes
234
251
 
235
- - [#85899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85899)
236
- [`4ee3baaad3b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ee3baaad3b7) -
237
- Loosen our final autofix check to just ignore all interpolated keys or properties in general for
238
- all `no-*-tagged-template-expression` rules as they may result in broken code in some
239
- edge-cases.
252
+ - [#85899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/85899)
253
+ [`4ee3baaad3b7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4ee3baaad3b7) -
254
+ Loosen our final autofix check to just ignore all interpolated keys or properties in general for
255
+ all `no-*-tagged-template-expression` rules as they may result in broken code in some edge-cases.
240
256
 
241
257
  ## 9.2.0
242
258
 
243
259
  ### Minor Changes
244
260
 
245
- - [#84330](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84330)
246
- [`391be0d8e414`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391be0d8e414) - -
247
- `prefer-primitives`: This rule is now deprecated. Please use `use-primitives` instead.
248
- - `ensure-design-token-usage/preview`: This rule is now deprecated. Please use
249
- `use-tokens-space` instead.
261
+ - [#84330](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84330)
262
+ [`391be0d8e414`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/391be0d8e414) - -
263
+ `prefer-primitives`: This rule is now deprecated. Please use `use-primitives` instead.
264
+ - `ensure-design-token-usage/preview`: This rule is now deprecated. Please use `use-tokens-space`
265
+ instead.
250
266
 
251
267
  ## 9.1.0
252
268
 
253
269
  ### Minor Changes
254
270
 
255
- - [#84334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84334)
256
- [`b2134858ba58`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2134858ba58) -
257
- The `use-tokens-typography` rule now applies token fallbacks that reference the constants
258
- exported via `@atlaskit/theme/typography`, rather than applying the fallback string inline.
271
+ - [#84334](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/84334)
272
+ [`b2134858ba58`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2134858ba58) -
273
+ The `use-tokens-typography` rule now applies token fallbacks that reference the constants exported
274
+ via `@atlaskit/theme/typography`, rather than applying the fallback string inline.
259
275
 
260
276
  ## 9.0.0
261
277
 
262
278
  ### Major Changes
263
279
 
264
- - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454)
265
- [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) -
266
- Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap
267
- functions will no longer be required to end with "Styles".
280
+ - [#83454](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83454)
281
+ [`be8b7ad6ff8e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/be8b7ad6ff8e) -
282
+ Remove name autofixer from `consistent-css-prop-usage`. Variables for css / xcss / cssMap
283
+ functions will no longer be required to end with "Styles".
268
284
 
269
- [BREAKING] Some rule options have been changed:
285
+ [BREAKING] Some rule options have been changed:
270
286
 
271
- - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that
272
- enforces variable names.
273
- - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
274
- - Users of the `autoFixNames` option should remove this from their configuration.
275
- - `autoFix` option has been added. This controls whether the remaining autofixers should run
276
- or not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and
277
- is `true` by default.
287
+ - `fixNamesOnly` and `autoFixNames` have been removed, as there is no longer an autofixer that
288
+ enforces variable names.
289
+ - If you use `fixNamesOnly: true`, we recommend switching to using `autoFix: false`.
290
+ - Users of the `autoFixNames` option should remove this from their configuration.
291
+ - `autoFix` option has been added. This controls whether the remaining autofixers should run or
292
+ not (e.g. hoisting `css` function calls, wrapping objects in `css` function calls), and is
293
+ `true` by default.
278
294
 
279
295
  ## 8.38.0
280
296
 
281
297
  ### Minor Changes
282
298
 
283
- - [#74844](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74844)
284
- [`7c7b8a771792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c7b8a771792) -
285
- Created `use-tokens-space` lint rule to replace `ensure-design-token-usage` rule for space
286
- values.
299
+ - [#74844](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74844)
300
+ [`7c7b8a771792`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c7b8a771792) -
301
+ Created `use-tokens-space` lint rule to replace `ensure-design-token-usage` rule for space values.
287
302
 
288
303
  ## 8.37.3
289
304
 
290
305
  ### Patch Changes
291
306
 
292
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
293
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
294
- Upgrade Typescript from `4.9.5` to `5.4.2`
307
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
308
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
309
+ Upgrade Typescript from `4.9.5` to `5.4.2`
295
310
 
296
311
  ## 8.37.2
297
312
 
298
313
  ### Patch Changes
299
314
 
300
- - [#80662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80662)
301
- [`4833299b00d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4833299b00d4) -
302
- For `no-css-tagged-template-expression` and `no-styled-tagged-template-expression`:
315
+ - [#80662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80662)
316
+ [`4833299b00d4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4833299b00d4) -
317
+ For `no-css-tagged-template-expression` and `no-styled-tagged-template-expression`:
303
318
 
304
- - When importing from Emotion, stop applying autofixer when the styles contain `!important`.
305
- - When importing from any library, stop applying autofixer when a selector contains a tagged
306
- template interpolation (previously only styled-components).
319
+ - When importing from Emotion, stop applying autofixer when the styles contain `!important`.
320
+ - When importing from any library, stop applying autofixer when a selector contains a tagged
321
+ template interpolation (previously only styled-components).
307
322
 
308
- - [#81697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81697)
309
- [`cf3483e7e87d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf3483e7e87d) -
310
- Adding a missing `license` entry to the `package.json` for this package. This package was
311
- already licensed under `Apache-2.0` (see `LICENSE` file), so this change is not changing it's
312
- license.
323
+ - [#81697](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81697)
324
+ [`cf3483e7e87d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cf3483e7e87d) -
325
+ Adding a missing `license` entry to the `package.json` for this package. This package was already
326
+ licensed under `Apache-2.0` (see `LICENSE` file), so this change is not changing it's license.
313
327
 
314
328
  ## 8.37.1
315
329
 
316
330
  ### Patch Changes
317
331
 
318
- - [#81307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81307)
319
- [`6420f933c8ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6420f933c8ae) -
320
- Fix issue where `use-primitives` was incorrectly transforming styles with string properties.
332
+ - [#81307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81307)
333
+ [`6420f933c8ae`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6420f933c8ae) -
334
+ Fix issue where `use-primitives` was incorrectly transforming styles with string properties.
321
335
 
322
336
  ## 8.37.0
323
337
 
324
338
  ### Minor Changes
325
339
 
326
- - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166)
327
- [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) -
328
- Upgrade ESLint to version 8
340
+ - [#81166](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/81166)
341
+ [`a249a1bd29a6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a249a1bd29a6) -
342
+ Upgrade ESLint to version 8
329
343
 
330
344
  ## 8.36.3
331
345
 
332
346
  ### Patch Changes
333
347
 
334
- - [#77172](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77172)
335
- [`0e9162a7371a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0e9162a7371a) -
336
- Fixes issues with CSS var and content string handling for the `no-*-tagged-template-expression`
337
- rules
348
+ - [#77172](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77172)
349
+ [`0e9162a7371a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0e9162a7371a) -
350
+ Fixes issues with CSS var and content string handling for the `no-*-tagged-template-expression`
351
+ rules
338
352
 
339
353
  ## 8.36.2
340
354
 
341
355
  ### Patch Changes
342
356
 
343
- - [#80471](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80471)
344
- [`bf21a3bfe85e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bf21a3bfe85e) -
345
- Add `autoFixNames` option to `consistent-css-prop-usage`. When set to false, the autofix naming
346
- that enforces style variables ending in the word "Styles" will be turned off. True by default.
347
- - [#80469](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80469)
348
- [`0b4b7268ef16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b4b7268ef16) -
349
- Fixed an issue with `ensure-design-token-usage` where styles inside xcss could be incorrectly
350
- linted against.
351
- - [#80518](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80518)
352
- [`0f90b6e17490`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f90b6e17490) -
353
- Ignore function-like interpolations in selectors for `no-css-tagged-template-expression`,
354
- `no-styled-…`, and `no-keyframes-…`
357
+ - [#80471](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80471)
358
+ [`bf21a3bfe85e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bf21a3bfe85e) -
359
+ Add `autoFixNames` option to `consistent-css-prop-usage`. When set to false, the autofix naming
360
+ that enforces style variables ending in the word "Styles" will be turned off. True by default.
361
+ - [#80469](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80469)
362
+ [`0b4b7268ef16`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b4b7268ef16) -
363
+ Fixed an issue with `ensure-design-token-usage` where styles inside xcss could be incorrectly
364
+ linted against.
365
+ - [#80518](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80518)
366
+ [`0f90b6e17490`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f90b6e17490) -
367
+ Ignore function-like interpolations in selectors for `no-css-tagged-template-expression`,
368
+ `no-styled-…`, and `no-keyframes-…`
355
369
 
356
370
  ## 8.36.1
357
371
 
358
372
  ### Patch Changes
359
373
 
360
- - [#79810](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79810)
361
- [`8c6e96aa3cf0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c6e96aa3cf0) -
362
- Fixed an issue with `ensure-design-token-usage` where color props on primitive components could
363
- report an error.
374
+ - [#79810](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/79810)
375
+ [`8c6e96aa3cf0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c6e96aa3cf0) -
376
+ Fixed an issue with `ensure-design-token-usage` where color props on primitive components could
377
+ report an error.
364
378
 
365
379
  ## 8.36.0
366
380
 
367
381
  ### Minor Changes
368
382
 
369
- - [#78346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78346)
370
- [`d20b2626a3b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d20b2626a3b0) -
371
- Adds support for use-primitives linting rule matching JSX elements declared before styles.
383
+ - [#78346](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78346)
384
+ [`d20b2626a3b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d20b2626a3b0) -
385
+ Adds support for use-primitives linting rule matching JSX elements declared before styles.
372
386
 
373
387
  ## 8.35.1
374
388
 
375
389
  ### Patch Changes
376
390
 
377
- - [#78282](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78282)
378
- [`e19154833d5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e19154833d5f) -
379
- Missing allowed props check for single paragraph elements
391
+ - [#78282](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78282)
392
+ [`e19154833d5f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e19154833d5f) -
393
+ Missing allowed props check for single paragraph elements
380
394
 
381
395
  ## 8.35.0
382
396
 
383
397
  ### Minor Changes
384
398
 
385
- - [#77589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77589)
386
- [`744ea21e3367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/744ea21e3367) -
387
- Update use-primitives-text rule for new defaults in Text primitive component
399
+ - [#77589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77589)
400
+ [`744ea21e3367`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/744ea21e3367) -
401
+ Update use-primitives-text rule for new defaults in Text primitive component
388
402
 
389
403
  ### Patch Changes
390
404
 
391
- - Updated dependencies
405
+ - Updated dependencies
392
406
 
393
407
  ## 8.34.0
394
408
 
395
409
  ### Minor Changes
396
410
 
397
- - [#75311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75311)
398
- [`96ca033f8748`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96ca033f8748) -
399
- Added new `use-tokens-typography` rule that handles converting fontSize and similar font
400
- properties to tokens. Removed typography functionality from `ensure-design-token-usage` rule.
411
+ - [#75311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75311)
412
+ [`96ca033f8748`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/96ca033f8748) -
413
+ Added new `use-tokens-typography` rule that handles converting fontSize and similar font
414
+ properties to tokens. Removed typography functionality from `ensure-design-token-usage` rule.
401
415
 
402
416
  ## 8.33.0
403
417
 
404
418
  ### Minor Changes
405
419
 
406
- - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
407
- [`babedf52898f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/babedf52898f) -
408
- Add support for inline `cx` func inside `xcss` prop for the `consistent-css-prop-usage` rule.
420
+ - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
421
+ [`babedf52898f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/babedf52898f) -
422
+ Add support for inline `cx` func inside `xcss` prop for the `consistent-css-prop-usage` rule.
409
423
 
410
424
  ## 8.32.2
411
425
 
412
426
  ### Patch Changes
413
427
 
414
- - [#77485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77485)
415
- [`887b1a3193ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/887b1a3193ce) -
416
- For `no-styled-tagged-template-expression`, do not autofix component selectors for
417
- `styled-components` implementations
428
+ - [#77485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77485)
429
+ [`887b1a3193ce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/887b1a3193ce) -
430
+ For `no-styled-tagged-template-expression`, do not autofix component selectors for
431
+ `styled-components` implementations
418
432
 
419
433
  ## 8.32.1
420
434
 
421
435
  ### Patch Changes
422
436
 
423
- - [#77519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77519)
424
- [`6507c28d3c88`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6507c28d3c88) -
425
- Refactor implementation of `no-css-tagged-template-expression`. No change to functionality
426
- expected.
437
+ - [#77519](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77519)
438
+ [`6507c28d3c88`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6507c28d3c88) -
439
+ Refactor implementation of `no-css-tagged-template-expression`. No change to functionality
440
+ expected.
427
441
 
428
442
  ## 8.32.0
429
443
 
430
444
  ### Minor Changes
431
445
 
432
- - [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
433
- [`39f3c929f0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/39f3c929f0c4) -
434
- Add new rule `no-html-button-element` to enforce usage of Pressable and Button
446
+ - [#58240](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58240)
447
+ [`39f3c929f0c4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/39f3c929f0c4) -
448
+ Add new rule `no-html-button-element` to enforce usage of Pressable and Button
435
449
 
436
450
  ## 8.31.0
437
451
 
438
452
  ### Minor Changes
439
453
 
440
- - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600)
441
- [`6259d0d74690`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6259d0d74690) -
442
- Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to
443
- `@atlaskit/ui-styling-standard/local-cx-xcss`—disruption is unexpected as this rule is not in
444
- use.
454
+ - [#75600](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75600)
455
+ [`6259d0d74690`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6259d0d74690) -
456
+ Migrates the ESLint rule from `@atlaskit/design-system/local-cx-xcss` to
457
+ `@atlaskit/ui-styling-standard/local-cx-xcss`—disruption is unexpected as this rule is not in use.
445
458
 
446
459
  ## 8.30.0
447
460
 
448
461
  ### Minor Changes
449
462
 
450
- - [#75603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75603)
451
- [`51cf4796aa02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51cf4796aa02) -
452
- Use primitives text component rule
463
+ - [#75603](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75603)
464
+ [`51cf4796aa02`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51cf4796aa02) -
465
+ Use primitives text component rule
453
466
 
454
467
  ## 8.29.1
455
468
 
456
469
  ### Patch Changes
457
470
 
458
- - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616)
459
- [`e80736fccc77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e80736fccc77) -
460
- Moving "no-unsupported-drag-and-drop-libraries" check to pdnd 1.0 API
461
- - [#75662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75662)
462
- [`70585b558ebd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/70585b558ebd) -
463
- Adding "@formkit/drag-and-drop" to exclusion list for drag and drop library usage
471
+ - [#70616](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70616)
472
+ [`e80736fccc77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e80736fccc77) -
473
+ Moving "no-unsupported-drag-and-drop-libraries" check to pdnd 1.0 API
474
+ - [#75662](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75662)
475
+ [`70585b558ebd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/70585b558ebd) -
476
+ Adding "@formkit/drag-and-drop" to exclusion list for drag and drop library usage
464
477
 
465
478
  ## 8.29.0
466
479
 
467
480
  ### Minor Changes
468
481
 
469
- - [#74069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74069)
470
- [`9bdcd6529453`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9bdcd6529453) -
471
- Allow use-primitives linting rule to lint style declarations with dimension properties.
482
+ - [#74069](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74069)
483
+ [`9bdcd6529453`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9bdcd6529453) -
484
+ Allow use-primitives linting rule to lint style declarations with dimension properties.
472
485
 
473
486
  ## 8.28.0
474
487
 
475
488
  ### Minor Changes
476
489
 
477
- - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983)
478
- [`86e7b28c9c23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/86e7b28c9c23) -
479
- Ported `no-keyframes-tagged-template-expression` and `no-styled-tagged-template-expression`
480
- rules from `@compiled/eslint-plugin`
490
+ - [#72983](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72983)
491
+ [`86e7b28c9c23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/86e7b28c9c23) -
492
+ Ported `no-keyframes-tagged-template-expression` and `no-styled-tagged-template-expression` rules
493
+ from `@compiled/eslint-plugin`
481
494
 
482
495
  ## 8.27.0
483
496
 
484
497
  ### Minor Changes
485
498
 
486
- - [#72966](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72966)
487
- [`ec187f466e23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec187f466e23) -
488
- Update `consistent-css-prop-usage` to incorporate some updates previously made to the
489
- `@compiled/eslint-plugin` equivalent.
499
+ - [#72966](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72966)
500
+ [`ec187f466e23`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ec187f466e23) -
501
+ Update `consistent-css-prop-usage` to incorporate some updates previously made to the
502
+ `@compiled/eslint-plugin` equivalent.
490
503
 
491
- 1. Add autofixer to add the `css` function for the following scenario:
504
+ 1. Add autofixer to add the `css` function for the following scenario:
492
505
 
493
- ```
494
- const styles = { ... };
495
- <div css={styles} />
496
- ```
506
+ ```
507
+ const styles = { ... };
508
+ <div css={styles} />
509
+ ```
497
510
 
498
- Note that this autofixer will not run if local variables are used inside the style object (e.g.
499
- `{ height: makeTaller ? '5px' : '2px' }`), or if there are spread elements, template literals,
500
- and other tricky-to-parse code. These continue to require fixing manually.
511
+ Note that this autofixer will not run if local variables are used inside the style object (e.g.
512
+ `{ height: makeTaller ? '5px' : '2px' }`), or if there are spread elements, template literals, and
513
+ other tricky-to-parse code. These continue to require fixing manually.
501
514
 
502
- (This rule would previously only autofix if the file was originally `<div css={{ ... }} />`)
515
+ (This rule would previously only autofix if the file was originally `<div css={{ ... }} />`)
503
516
 
504
- 2. Add `import { css } from '@compiled/react'` (or `xcss`) automatically when fixing. The
505
- package from which to import the `css` function can be specified through the `importSource`
506
- option.
517
+ 2. Add `import { css } from '@compiled/react'` (or `xcss`) automatically when fixing. The package
518
+ from which to import the `css` function can be specified through the `importSource` option.
507
519
 
508
- 3. Add `excludeReactComponents` to exclude linting React components (i.e. components that start
509
- with uppercase). Sometimes it may not be desirable to have this rule apply to React
510
- components (e.g. `@atlaskit/button`), which could either use the Emotion or Compiled APIs
511
- when they expose a `css` prop. Passing a function from the wrong library can result in the
512
- styling erroneously not being applied.
520
+ 3. Add `excludeReactComponents` to exclude linting React components (i.e. components that start
521
+ with uppercase). Sometimes it may not be desirable to have this rule apply to React components
522
+ (e.g. `@atlaskit/button`), which could either use the Emotion or Compiled APIs when they expose
523
+ a `css` prop. Passing a function from the wrong library can result in the styling erroneously
524
+ not being applied.
513
525
 
514
- 4. Treat `{ ... } as const` statements the same way as `{ ... }` objects.
526
+ 4. Treat `{ ... } as const` statements the same way as `{ ... }` objects.
515
527
 
516
- 5. Add `fixNamesOnly` to disable all autofixers _except_ the autofixer that adds `styles` to the
517
- end of existing style variables. For example, in
518
- `<div css={buttonComponent} />; const buttonComponent = css({ ... })`, `buttonComponent` will
519
- continue to be renamed to `buttonComponentStyles`. Autofixers that will be _disabled_ include
520
- hoisting the styles to the top-most scope, and adding the `css` function call around style
521
- objects.
528
+ 5. Add `fixNamesOnly` to disable all autofixers _except_ the autofixer that adds `styles` to the
529
+ end of existing style variables. For example, in
530
+ `<div css={buttonComponent} />; const buttonComponent = css({ ... })`, `buttonComponent` will
531
+ continue to be renamed to `buttonComponentStyles`. Autofixers that will be _disabled_ include
532
+ hoisting the styles to the top-most scope, and adding the `css` function call around style
533
+ objects.
522
534
 
523
535
  ## 8.26.0
524
536
 
525
537
  ### Minor Changes
526
538
 
527
- - [#71429](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71429)
528
- [`457122c5d002`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/457122c5d002) -
529
- Add some ESLint rules from Compiled CSS-in-JS, and adapt them for the UI Styling Standard.
539
+ - [#71429](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71429)
540
+ [`457122c5d002`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/457122c5d002) -
541
+ Add some ESLint rules from Compiled CSS-in-JS, and adapt them for the UI Styling Standard.
530
542
 
531
- Rules added:
543
+ Rules added:
532
544
 
533
- - `no-empty-styled-expression`: ban `styled({})` usages
534
- - `no-exported-css` and `no-exported-keyframes`: ban `css` and `keyframes` function calls that
535
- are exported
536
- - `no-invalid-css-map`: ban usages of the Compiled/`@atlaskit/css` `cssMap` function call that
537
- are not valid
545
+ - `no-empty-styled-expression`: ban `styled({})` usages
546
+ - `no-exported-css` and `no-exported-keyframes`: ban `css` and `keyframes` function calls that are
547
+ exported
548
+ - `no-invalid-css-map`: ban usages of the Compiled/`@atlaskit/css` `cssMap` function call that are
549
+ not valid
538
550
 
539
- Changes made:
551
+ Changes made:
540
552
 
541
- - Add them to monorepo, modify to use the existing utility functions
542
- - Add support for CSS-in-JS libraries other than Compiled (styled-components, Emotion,
543
- `@atlaskit/css`, etc.) and `xcss` where appropriate
553
+ - Add them to monorepo, modify to use the existing utility functions
554
+ - Add support for CSS-in-JS libraries other than Compiled (styled-components, Emotion,
555
+ `@atlaskit/css`, etc.) and `xcss` where appropriate
544
556
 
545
557
  ## 8.25.2
546
558
 
547
559
  ### Patch Changes
548
560
 
549
- - [#71361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71361)
550
- [`0f3be2c76337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f3be2c76337) -
551
- `use-primitives` no longer reports elements that have empty style objects.
561
+ - [#71361](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/71361)
562
+ [`0f3be2c76337`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0f3be2c76337) -
563
+ `use-primitives` no longer reports elements that have empty style objects.
552
564
 
553
565
  ## 8.25.1
554
566
 
555
567
  ### Patch Changes
556
568
 
557
- - [#67941](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67941)
558
- [`0b1def807516`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b1def807516) -
559
- Now rule is aplicable only to ButtonGroup ImportSpecifiers
569
+ - [#67941](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67941)
570
+ [`0b1def807516`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0b1def807516) -
571
+ Now rule is aplicable only to ButtonGroup ImportSpecifiers
560
572
 
561
573
  ## 8.25.0
562
574
 
563
575
  ### Minor Changes
564
576
 
565
- - [#70369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70369)
566
- [`611434ce1fe5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611434ce1fe5) -
567
- ensure-design-token-usage no longer errors on color properties defined in SVG JSX elements.
577
+ - [#70369](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70369)
578
+ [`611434ce1fe5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611434ce1fe5) -
579
+ ensure-design-token-usage no longer errors on color properties defined in SVG JSX elements.
568
580
 
569
581
  ## 8.24.0
570
582
 
571
583
  ### Minor Changes
572
584
 
573
- - [#70036](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70036)
574
- [`667c0a990b15`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/667c0a990b15) -
575
- Allow linting of multiple property style objects in use-primitives rule.
585
+ - [#70036](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70036)
586
+ [`667c0a990b15`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/667c0a990b15) -
587
+ Allow linting of multiple property style objects in use-primitives rule.
576
588
 
577
589
  ## 8.23.4
578
590
 
579
591
  ### Patch Changes
580
592
 
581
- - [#69370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69370)
582
- [`e14e79732cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e14e79732cd4) -
583
- Add local-cx-xcss rule, which ensures that the `cx()` function (if imported from
584
- `@compiled/react` or `@atlaskit/css`) is only used within the `xcss` prop.
593
+ - [#69370](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69370)
594
+ [`e14e79732cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e14e79732cd4) -
595
+ Add local-cx-xcss rule, which ensures that the `cx()` function (if imported from `@compiled/react`
596
+ or `@atlaskit/css`) is only used within the `xcss` prop.
585
597
 
586
- Internal changes: Also refactored the utility functions used by
587
- `no-css-tagged-template-expression`.
598
+ Internal changes: Also refactored the utility functions used by
599
+ `no-css-tagged-template-expression`.
588
600
 
589
601
  ## 8.23.3
590
602
 
591
603
  ### Patch Changes
592
604
 
593
- - [#69222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69222)
594
- [`a1c52086fdb9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1c52086fdb9) -
595
- Address issues in consistent-css-prop-usage hoisting and naming fixers
596
- - Updated dependencies
605
+ - [#69222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69222)
606
+ [`a1c52086fdb9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1c52086fdb9) -
607
+ Address issues in consistent-css-prop-usage hoisting and naming fixers
608
+ - Updated dependencies
597
609
 
598
610
  ## 8.23.2
599
611
 
600
612
  ### Patch Changes
601
613
 
602
- - [#65758](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65758)
603
- [`16e6a0fbe125`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e6a0fbe125) -
604
- Internal refactor of `use-primitves` rule. There should be no change to consumers of the rule.
614
+ - [#65758](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65758)
615
+ [`16e6a0fbe125`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16e6a0fbe125) -
616
+ Internal refactor of `use-primitves` rule. There should be no change to consumers of the rule.
605
617
 
606
618
  ## 8.23.1
607
619
 
608
620
  ### Patch Changes
609
621
 
610
- - [#68093](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68093)
611
- [`4c5371a76547`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c5371a76547) -
612
- Wrap ensure-design-token-usage with an error boudary to stop it breaking issue-automat CI.
622
+ - [#68093](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68093)
623
+ [`4c5371a76547`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4c5371a76547) -
624
+ Wrap ensure-design-token-usage with an error boudary to stop it breaking issue-automat CI.
613
625
 
614
626
  ## 8.23.0
615
627
 
616
628
  ### Minor Changes
617
629
 
618
- - [#68090](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68090)
619
- [`251d7c1fca48`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/251d7c1fca48) -
620
- Modified fix naming convention for consistent-css-prop-usage rule to align with camelCase
621
- convention
630
+ - [#68090](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68090)
631
+ [`251d7c1fca48`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/251d7c1fca48) -
632
+ Modified fix naming convention for consistent-css-prop-usage rule to align with camelCase
633
+ convention
622
634
 
623
635
  ### Patch Changes
624
636
 
625
- - Updated dependencies
637
+ - Updated dependencies
626
638
 
627
639
  ## 8.22.0
628
640
 
629
641
  ### Minor Changes
630
642
 
631
- - [#63589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63589)
632
- [`f59d997d1913`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f59d997d1913) -
633
- Implemented new fixers for cssOnTopOfModule and cssAtBottomOfModule violation cases
643
+ - [#63589](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63589)
644
+ [`f59d997d1913`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f59d997d1913) -
645
+ Implemented new fixers for cssOnTopOfModule and cssAtBottomOfModule violation cases
634
646
 
635
647
  ## 8.21.0
636
648
 
637
649
  ### Minor Changes
638
650
 
639
- - [#66250](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66250)
640
- [`6ff74a16aee7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ff74a16aee7) -
641
- Introducing new rule to encourage adding/referencing accessible name to a ButtonGroup component.
651
+ - [#66250](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66250)
652
+ [`6ff74a16aee7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6ff74a16aee7) -
653
+ Introducing new rule to encourage adding/referencing accessible name to a ButtonGroup component.
642
654
 
643
655
  ## 8.20.0
644
656
 
645
657
  ### Minor Changes
646
658
 
647
- - [#66409](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66409)
648
- [`f6c48f4a67c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f6c48f4a67c1) -
649
- Implemented functionality for the consistent-css-prop-usage rule to account for cssMap usages
659
+ - [#66409](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66409)
660
+ [`f6c48f4a67c1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f6c48f4a67c1) -
661
+ Implemented functionality for the consistent-css-prop-usage rule to account for cssMap usages
650
662
 
651
663
  ### Patch Changes
652
664
 
653
- - [#66604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66604)
654
- [`3205b1daf57f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3205b1daf57f) -
655
- Refactor internal logic of `use-primitives` to better handle cases it will not suggest
656
- transformations for, based on the value of CSS properties.
665
+ - [#66604](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66604)
666
+ [`3205b1daf57f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3205b1daf57f) -
667
+ Refactor internal logic of `use-primitives` to better handle cases it will not suggest
668
+ transformations for, based on the value of CSS properties.
657
669
 
658
670
  ## 8.19.2
659
671
 
660
672
  ### Patch Changes
661
673
 
662
- - [#66118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66118)
663
- [`93988e6fd035`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93988e6fd035) -
664
- `use-primitives` now handles tokenised padding/margin properties. This change is guarded by a
665
- config flag and not enabled by default.
674
+ - [#66118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/66118)
675
+ [`93988e6fd035`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/93988e6fd035) -
676
+ `use-primitives` now handles tokenised padding/margin properties. This change is guarded by a
677
+ config flag and not enabled by default.
666
678
 
667
679
  ## 8.19.1
668
680
 
669
681
  ### Patch Changes
670
682
 
671
- - [#65221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65221)
672
- [`a2ba22904ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2ba22904ca0) -
673
- Allow for @atlaskit/design-system/use-primitives lint rule to take a configuration object.
683
+ - [#65221](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65221)
684
+ [`a2ba22904ca0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a2ba22904ca0) -
685
+ Allow for @atlaskit/design-system/use-primitives lint rule to take a configuration object.
674
686
 
675
687
  ## 8.19.0
676
688
 
677
689
  ### Minor Changes
678
690
 
679
- - [#64899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64899)
680
- [`442878c001f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/442878c001f9) -
681
- Add `no-unsafe-style-overrides`. This rule marks any usage of unsafe style overrides as
682
- violations, such as usage of `css`, `theme`, and `cssFn` props.
691
+ - [#64899](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64899)
692
+ [`442878c001f9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/442878c001f9) -
693
+ Add `no-unsafe-style-overrides`. This rule marks any usage of unsafe style overrides as
694
+ violations, such as usage of `css`, `theme`, and `cssFn` props.
683
695
 
684
696
  ## 8.18.1
685
697
 
686
698
  ### Patch Changes
687
699
 
688
- - [#64857](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64857)
689
- [`1be24644c029`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1be24644c029) -
690
- `use-primitives` is now capable of converting styled components. This is guarded by a config
691
- flag so this release is only a patch.
700
+ - [#64857](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64857)
701
+ [`1be24644c029`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1be24644c029) -
702
+ `use-primitives` is now capable of converting styled components. This is guarded by a config flag
703
+ so this release is only a patch.
692
704
 
693
705
  ## 8.18.0
694
706
 
695
707
  ### Minor Changes
696
708
 
697
- - [#65123](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65123)
698
- [`f3b62a2c6bdd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3b62a2c6bdd) -
699
- Add new rule to warn of rollout of required `headingLevel` prop in the `SpotlightCard` component
700
- of the onboarding package.
709
+ - [#65123](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65123)
710
+ [`f3b62a2c6bdd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3b62a2c6bdd) -
711
+ Add new rule to warn of rollout of required `headingLevel` prop in the `SpotlightCard` component
712
+ of the onboarding package.
701
713
 
702
714
  ## 8.17.0
703
715
 
704
716
  ### Minor Changes
705
717
 
706
- - [#64660](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64660)
707
- [`52bbf4498c2a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52bbf4498c2a) -
708
- Internal update to use the latest version of the `@atlaskit/tokens` package. The
709
- `no-unsafe-design-token-usage` rule should no longer error on typography tokens.
718
+ - [#64660](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64660)
719
+ [`52bbf4498c2a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/52bbf4498c2a) -
720
+ Internal update to use the latest version of the `@atlaskit/tokens` package. The
721
+ `no-unsafe-design-token-usage` rule should no longer error on typography tokens.
710
722
 
711
723
  ## 8.16.0
712
724
 
713
725
  ### Minor Changes
714
726
 
715
- - [#58402](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58402)
716
- [`2b1a12e5936f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b1a12e5936f) -
717
- Re-work `use-primitives` lint rule to only suggest `Box`, and only trigger a violation styles
718
- contain one style property and the style value can be mapped to a token.
727
+ - [#58402](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/58402)
728
+ [`2b1a12e5936f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2b1a12e5936f) -
729
+ Re-work `use-primitives` lint rule to only suggest `Box`, and only trigger a violation styles
730
+ contain one style property and the style value can be mapped to a token.
719
731
 
720
732
  ## 8.15.5
721
733
 
722
734
  ### Patch Changes
723
735
 
724
- - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526)
725
- [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) -
726
- Internal change to how typography tokens are imported. There is no expected behaviour change.
727
- - Updated dependencies
736
+ - [#63526](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63526)
737
+ [`cae958047771`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cae958047771) -
738
+ Internal change to how typography tokens are imported. There is no expected behaviour change.
739
+ - Updated dependencies
728
740
 
729
741
  ## 8.15.4
730
742
 
731
743
  ### Patch Changes
732
744
 
733
- - [#63768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63768)
734
- [`56342fba2b72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56342fba2b72) -
735
- Fixes an issue with the `use-drawer-label` rule where named imports such as type imports from
736
- `@atlaskit/drawer` could incorrectly report an error.
745
+ - [#63768](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63768)
746
+ [`56342fba2b72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/56342fba2b72) -
747
+ Fixes an issue with the `use-drawer-label` rule where named imports such as type imports from
748
+ `@atlaskit/drawer` could incorrectly report an error.
737
749
 
738
750
  ## 8.15.3
739
751
 
740
752
  ### Patch Changes
741
753
 
742
- - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
743
- [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
744
- Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
754
+ - [#59147](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/59147)
755
+ [`f12e489f23b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f12e489f23b0) -
756
+ Re-build and deploy packages to NPM to resolve React/Compiled not found error (HOT-106483).
745
757
 
746
758
  ## 8.15.2
747
759
 
748
760
  ### Patch Changes
749
761
 
750
- - [#57118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57118)
751
- [`b9bd80957181`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9bd80957181) -
752
- Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change
753
- expected.
762
+ - [#57118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57118)
763
+ [`b9bd80957181`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b9bd80957181) -
764
+ Upgrade Emotion v10 (@emotion/core) to Emotion v11 (@emotion/react). No behaviour change expected.
754
765
 
755
766
  ## 8.15.1
756
767
 
757
768
  ### Patch Changes
758
769
 
759
- - [#43718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43718)
760
- [`8aebcad547a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8aebcad547a) -
761
- Deprecated tokens are now warned against even when a replacement token has not been specified
762
- - Updated dependencies
770
+ - [#43718](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43718)
771
+ [`8aebcad547a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8aebcad547a) -
772
+ Deprecated tokens are now warned against even when a replacement token has not been specified
773
+ - Updated dependencies
763
774
 
764
775
  ## 8.15.0
765
776
 
766
777
  ### Minor Changes
767
778
 
768
- - [#43258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43258)
769
- [`0004d49c240`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0004d49c240) - Adds a
770
- new argument `fallbackUsage` which replaces `shouldEnforceFallbacks`. This new argument is an
771
- enum which represents the three possible states this rule can be configured with.
779
+ - [#43258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/43258)
780
+ [`0004d49c240`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0004d49c240) - Adds a
781
+ new argument `fallbackUsage` which replaces `shouldEnforceFallbacks`. This new argument is an enum
782
+ which represents the three possible states this rule can be configured with.
772
783
 
773
- - `forced`: Fallbacks must always been in use
774
- - `none`: Fallbacks must never been in use. (Fixer will remove any value provided )
775
- - `optional`: (new) Fallbacks are optional
784
+ - `forced`: Fallbacks must always been in use
785
+ - `none`: Fallbacks must never been in use. (Fixer will remove any value provided )
786
+ - `optional`: (new) Fallbacks are optional
776
787
 
777
788
  ## 8.14.1
778
789
 
779
790
  ### Patch Changes
780
791
 
781
- - [#42240](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42240)
782
- [`ec474733d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec474733d38) - Handle
783
- destructured variables in link item rule.
792
+ - [#42240](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42240)
793
+ [`ec474733d38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ec474733d38) - Handle
794
+ destructured variables in link item rule.
784
795
 
785
796
  ## 8.14.0
786
797
 
787
798
  ### Minor Changes
788
799
 
789
- - [#41884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41884)
790
- [`862be3ee13b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862be3ee13b) - Adds
791
- `no-css-tagged-template-expression` rule that disallows any `css` tagged template expressions
792
- that originate from `@emotion/react` and automatically converts them to the preferred call
793
- expression syntax.
800
+ - [#41884](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41884)
801
+ [`862be3ee13b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/862be3ee13b) - Adds
802
+ `no-css-tagged-template-expression` rule that disallows any `css` tagged template expressions that
803
+ originate from `@emotion/react` and automatically converts them to the preferred call expression
804
+ syntax.
794
805
 
795
806
  ## 8.13.1
796
807
 
797
808
  ### Patch Changes
798
809
 
799
- - [#42031](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42031)
800
- [`0b60a2a6318`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b60a2a6318) - Add
801
- more test cases and handle undefined object property error.
810
+ - [#42031](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42031)
811
+ [`0b60a2a6318`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0b60a2a6318) - Add more
812
+ test cases and handle undefined object property error.
802
813
 
803
814
  ## 8.13.0
804
815
 
805
816
  ### Minor Changes
806
817
 
807
- - [#41825](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41825)
808
- [`f9641b28ed5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9641b28ed5) -
809
- Introducing new rule to encourage adding/referencing accessible name to a Drawer component.
818
+ - [#41825](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41825)
819
+ [`f9641b28ed5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9641b28ed5) -
820
+ Introducing new rule to encourage adding/referencing accessible name to a Drawer component.
810
821
 
811
822
  ## 8.12.1
812
823
 
813
824
  ### Patch Changes
814
825
 
815
- - [#41836](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41836)
816
- [`93427b209ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93427b209ad) - Update
817
- all generated files for recent changes to link item rule.
826
+ - [#41836](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41836)
827
+ [`93427b209ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93427b209ad) - Update
828
+ all generated files for recent changes to link item rule.
818
829
 
819
830
  ## 8.12.0
820
831
 
821
832
  ### Minor Changes
822
833
 
823
- - [#41346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41346)
824
- [`b7e50f54fb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7e50f54fb3) -
825
- Changed the no-unsupported-drag-and-drop-libraries to 'problem' type with 'error' severity.
826
- Therefore an error will now be thrown when a drag and drop package that is not Pragmatic drag
827
- and drop is imported in packages that have the rule enabled.
834
+ - [#41346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41346)
835
+ [`b7e50f54fb3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7e50f54fb3) - Changed
836
+ the no-unsupported-drag-and-drop-libraries to 'problem' type with 'error' severity. Therefore an
837
+ error will now be thrown when a drag and drop package that is not Pragmatic drag and drop is
838
+ imported in packages that have the rule enabled.
828
839
 
829
840
  ## 8.11.0
830
841
 
831
842
  ### Minor Changes
832
843
 
833
- - [#41624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41624)
834
- [`ee68a82c409`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee68a82c409) - Add
835
- fixer to and handle another invalid `href` value for link item rule.
844
+ - [#41624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41624)
845
+ [`ee68a82c409`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee68a82c409) - Add
846
+ fixer to and handle another invalid `href` value for link item rule.
836
847
 
837
848
  ## 8.10.1
838
849
 
839
850
  ### Patch Changes
840
851
 
841
- - [#41402](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41402)
842
- [`25bf22e0ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25bf22e0ad8) - Add
843
- better conditional checks in internal util.
852
+ - [#41402](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41402)
853
+ [`25bf22e0ad8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/25bf22e0ad8) - Add
854
+ better conditional checks in internal util.
844
855
 
845
856
  ## 8.10.0
846
857
 
847
858
  ### Minor Changes
848
859
 
849
- - [#40425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40425)
850
- [`5d0222e1bd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d0222e1bd7) - Added
851
- new `no-unsupported-drag-and-drop-libraries` rule that detects imports of restricted drag and
852
- drop libraries, instead suggesting use of our library, Pragmatic drag and drop.
860
+ - [#40425](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40425)
861
+ [`5d0222e1bd7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5d0222e1bd7) - Added
862
+ new `no-unsupported-drag-and-drop-libraries` rule that detects imports of restricted drag and drop
863
+ libraries, instead suggesting use of our library, Pragmatic drag and drop.
853
864
 
854
865
  ## 8.9.0
855
866
 
856
867
  ### Minor Changes
857
868
 
858
- - [#40868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40868)
859
- [`3f36676cbfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36676cbfb) - Add
860
- `use-href-in-linkitem` rule.
869
+ - [#40868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40868)
870
+ [`3f36676cbfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3f36676cbfb) - Add
871
+ `use-href-in-linkitem` rule.
861
872
 
862
873
  ## 8.8.1
863
874
 
864
875
  ### Patch Changes
865
876
 
866
- - [#39407](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39407)
867
- [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The
868
- themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint
869
- rules have been modified to disallow new usage of them.
877
+ - [#39407](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39407)
878
+ [`c6db573350d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6db573350d) - The
879
+ themed() and AtlaskitThemeProvider legacy theming API's are now marked as deprecated and eslint
880
+ rules have been modified to disallow new usage of them.
870
881
 
871
882
  ## 8.8.0
872
883
 
873
884
  ### Minor Changes
874
885
 
875
- - [#40241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40241)
876
- [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The
877
- `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with
878
- padding, margin, and gap properties.
886
+ - [#40241](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40241)
887
+ [`6c149f3e71d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c149f3e71d) - The
888
+ `ensure-design-token-usage` rules now report on use of the CSS `calc` function when used with
889
+ padding, margin, and gap properties.
879
890
 
880
891
  ## 8.7.1
881
892
 
882
893
  ### Patch Changes
883
894
 
884
- - [#40106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40106)
885
- [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) -
886
- Configuration added to consistent-css-prop-usage where it is now possible to specify what
887
- function names the rule should lint against, and what position is recommended for styles (top or
888
- bottom).
895
+ - [#40106](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40106)
896
+ [`d6845989896`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6845989896) -
897
+ Configuration added to consistent-css-prop-usage where it is now possible to specify what function
898
+ names the rule should lint against, and what position is recommended for styles (top or bottom).
889
899
 
890
900
  ## 8.7.0
891
901
 
892
902
  ### Minor Changes
893
903
 
894
- - [#40128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40128)
895
- [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds
896
- additional rule encouraging the use of CSS logical properties. This rule comes with a fix for
897
- code that uses object syntax (via css, styled or xcss) for styles.
904
+ - [#40128](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40128)
905
+ [`859ef96da96`](https://bitbucket.org/atlassian/atlassian-frontend/commits/859ef96da96) - Adds
906
+ additional rule encouraging the use of CSS logical properties. This rule comes with a fix for code
907
+ that uses object syntax (via css, styled or xcss) for styles.
898
908
 
899
909
  ## 8.6.0
900
910
 
901
911
  ### Minor Changes
902
912
 
903
- - [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578)
904
- [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The
905
- `ensure-design-token-usage` rules now support auto-fixing negative values to negative space
906
- tokens.
913
+ - [#39578](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39578)
914
+ [`192ba90d75b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/192ba90d75b) - The
915
+ `ensure-design-token-usage` rules now support auto-fixing negative values to negative space
916
+ tokens.
907
917
 
908
918
  ### Patch Changes
909
919
 
910
- - Updated dependencies
920
+ - Updated dependencies
911
921
 
912
922
  ## 8.5.0
913
923
 
914
924
  ### Minor Changes
915
925
 
916
- - [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701)
917
- [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add
918
- `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
926
+ - [#39701](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39701)
927
+ [`4eab52ffd1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4eab52ffd1c) - Add
928
+ `@atlaskit/button/unsafe` to 'no-banned-imports' lint rule
919
929
 
920
930
  ## 8.4.5
921
931
 
922
932
  ### Patch Changes
923
933
 
924
- - [#39649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39649)
925
- [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop
926
- `prefer-primitives` from reporting on React components.
934
+ - [#39649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39649)
935
+ [`d37dcab0fc4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d37dcab0fc4) - Stop
936
+ `prefer-primitives` from reporting on React components.
927
937
 
928
938
  ## 8.4.4
929
939
 
930
940
  ### Patch Changes
931
941
 
932
- - [#39213](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39213)
933
- [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update
934
- the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable
935
- (--ds-elevation-surface-current) to a hardcoded color.
936
- - Updated dependencies
942
+ - [#39213](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39213)
943
+ [`f7a807adba2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7a807adba2) - Update
944
+ the `ensure-design-token-usage` rule to disallow setting the 'current surface' CSS variable
945
+ (--ds-elevation-surface-current) to a hardcoded color.
946
+ - Updated dependencies
937
947
 
938
948
  ## 8.4.3
939
949
 
940
950
  ### Patch Changes
941
951
 
942
- - [#39210](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39210)
943
- [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak
944
- `use-primitives` and `prefer-primitives` logic to stop false positives for component names that
945
- contain HTML element names.
952
+ - [#39210](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39210)
953
+ [`96e35ec4b9d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96e35ec4b9d) - Tweak
954
+ `use-primitives` and `prefer-primitives` logic to stop false positives for component names that
955
+ contain HTML element names.
946
956
 
947
957
  ## 8.4.2
948
958
 
949
959
  ### Patch Changes
950
960
 
951
- - [#38362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38362)
952
- [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added
953
- this package into push model consumption.
961
+ - [#38362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38362)
962
+ [`fb85e69cf5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fb85e69cf5e) - Added
963
+ this package into push model consumption.
954
964
 
955
965
  ## 8.4.1
956
966
 
957
967
  ### Patch Changes
958
968
 
959
- - [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433)
960
- [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) -
961
- Internal updates for ADS Typography ADG3 theme.
962
- - Updated dependencies
969
+ - [#38433](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38433)
970
+ [`b11339bc8a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b11339bc8a3) - Internal
971
+ updates for ADS Typography ADG3 theme.
972
+ - Updated dependencies
963
973
 
964
974
  ## 8.4.0
965
975
 
966
976
  ### Minor Changes
967
977
 
968
- - [#38670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38670)
969
- [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added
970
- new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via
971
- styled components (`styled.div`, `styled('div')`) and suggests using primitive components
972
- instead.
978
+ - [#38670](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38670)
979
+ [`0128df16060`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0128df16060) - Added
980
+ new `prefer-primitives` rule that detects use of `<div>` and `<span>` either as HTML tags or via
981
+ styled components (`styled.div`, `styled('div')`) and suggests using primitive components instead.
973
982
 
974
983
  ## 8.3.0
975
984
 
976
985
  ### Minor Changes
977
986
 
978
- - [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239)
979
- [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add
980
- banned import rule for `@atlaskit/primitives/pressable`
987
+ - [#38239](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38239)
988
+ [`87feea3d8e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87feea3d8e0) - Add
989
+ banned import rule for `@atlaskit/primitives/pressable`
981
990
 
982
991
  ## 8.2.2
983
992
 
984
993
  ### Patch Changes
985
994
 
986
- - [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947)
987
- [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update
988
- the casing on `xcss` to ensure consistency with the API and package consumption.
995
+ - [#37947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37947)
996
+ [`1859bc0b8c7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1859bc0b8c7) - Update
997
+ the casing on `xcss` to ensure consistency with the API and package consumption.
989
998
 
990
999
  ## 8.2.1
991
1000
 
992
1001
  ### Patch Changes
993
1002
 
994
- - [#37733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37733)
995
- [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - -
996
- Fixed an issue where the `ensure-design-token-usage` rule may incorrectly report variables that
997
- reference tokens as an error.
998
- - Fixed an issue where the `ensure-design-token-usage` rule may handle expressions that span
999
- multiple lines in template literals incorrectly.
1003
+ - [#37733](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37733)
1004
+ [`52b35a6b571`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52b35a6b571) - - Fixed
1005
+ an issue where the `ensure-design-token-usage` rule may incorrectly report variables that
1006
+ reference tokens as an error.
1007
+ - Fixed an issue where the `ensure-design-token-usage` rule may handle expressions that span
1008
+ multiple lines in template literals incorrectly.
1000
1009
 
1001
1010
  ## 8.2.0
1002
1011
 
1003
1012
  ### Minor Changes
1004
1013
 
1005
- - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
1006
- [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add
1007
- improved behavior for suggestions for `use-primitives` rule.
1014
+ - [#37278](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37278)
1015
+ [`a5c9f63d2a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5c9f63d2a8) - Add
1016
+ improved behavior for suggestions for `use-primitives` rule.
1008
1017
 
1009
1018
  ## 8.1.0
1010
1019
 
1011
1020
  ### Minor Changes
1012
1021
 
1013
- - [#37066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37066)
1014
- [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added
1015
- the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule
1016
- also disallows media queries that contain min-width or max-width. The Atlassian Design System
1017
- `media` object should be used instead. Other forms of media queries are still allowed.
1022
+ - [#37066](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37066)
1023
+ [`4f9c29b2f9f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9c29b2f9f) - Added
1024
+ the `no-nested-styles` rule which disallows usage of nested styles. The `no-nested-styles` rule
1025
+ also disallows media queries that contain min-width or max-width. The Atlassian Design System
1026
+ `media` object should be used instead. Other forms of media queries are still allowed.
1018
1027
 
1019
1028
  ## 8.0.2
1020
1029
 
1021
1030
  ### Patch Changes
1022
1031
 
1023
- - [#37041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37041)
1024
- [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO`
1025
- comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
1032
+ - [#37041](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37041)
1033
+ [`05a00999956`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05a00999956) - `TODO`
1034
+ comments are no longer added when applying a spacing fix from `ensure-design-token-usage`.
1026
1035
 
1027
1036
  ## 8.0.1
1028
1037
 
1029
1038
  ### Patch Changes
1030
1039
 
1031
- - [#36624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36624)
1032
- [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The
1033
- `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has
1034
- type-safety built in for properties that accept tokens.
1040
+ - [#36624](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36624)
1041
+ [`278fb6833be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/278fb6833be) - The
1042
+ `ensure-design-token-usage` rule no longer lints against styles inside `xcss` as it already has
1043
+ type-safety built in for properties that accept tokens.
1035
1044
 
1036
1045
  ## 8.0.0
1037
1046
 
1038
1047
  ### Major Changes
1039
1048
 
1040
- - [#36273](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36273)
1041
- [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) -
1042
- Removed `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See
1043
- release notes for v7.0.0 for more info.
1049
+ - [#36273](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36273)
1050
+ [`3919464ef44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3919464ef44) - Removed
1051
+ `ensure-design-token-usage-spacing`. Use `ensure-design-token-usage` instead. See release notes
1052
+ for v7.0.0 for more info.
1053
+
1054
+ `ensure-design-token-usage` now **errors** against spacing properties by default.
1055
+
1056
+ If the `domains` option is provided it will override any defaults, for example the following will
1057
+ ignore defaults and only error for color:
1058
+
1059
+ ```js
1060
+ rules: {
1061
+ '@atlaskit/design-system/ensure-design-token-usage': [
1062
+ 'error',
1063
+ {
1064
+ domains: ['color'],
1065
+ shouldEnforceFallbacks: false
1066
+ },
1067
+ ],
1068
+ },
1069
+ ```
1070
+
1071
+ You can use `ensure-design-token-usage/preview` to **warn** about spacing properties until you are
1072
+ ready to set the main rule to error:
1073
+
1074
+ ```js
1075
+ rules: {
1076
+ '@atlaskit/design-system/ensure-design-token-usage/preview': [
1077
+ 'warn',
1078
+ {
1079
+ domains: ['spacing'],
1080
+ shouldEnforceFallbacks: false
1081
+ },
1082
+ ],
1083
+ '@atlaskit/design-system/ensure-design-token-usage': [
1084
+ 'error',
1085
+ {
1086
+ domains: ['color'],
1087
+ shouldEnforceFallbacks: false
1088
+ },
1089
+ ],
1090
+ },
1091
+ ```
1092
+
1093
+ In many cases `eslint --fix` will automatically apply migrations from hardcoded values and
1094
+ `gridSize` to space tokens.
1095
+
1096
+ ## 7.0.3
1097
+
1098
+ ### Patch Changes
1099
+
1100
+ - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
1101
+ [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) - Improved
1102
+ autofix for 50% border radius to shape token.
1103
+
1104
+ ## 7.0.2
1105
+
1106
+ ### Patch Changes
1107
+
1108
+ - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
1109
+ [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
1110
+ semver
1111
+
1112
+ ## 7.0.1
1113
+
1114
+ ### Patch Changes
1115
+
1116
+ - [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144)
1117
+ [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix
1118
+ ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
1119
+
1120
+ ## 7.0.0
1121
+
1122
+ ### Major Changes
1123
+
1124
+ - [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383)
1125
+ [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged
1126
+ the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single rule:
1127
+ `ensure-design-token-usage`. This rule enforces color and space tokens and will be extended to
1128
+ enforce domains such as typography and shape in the future. The rule accepts a `domains` option
1129
+ which allows you to specify which domains to lint, currently defaulting to 'color' and 'space'.
1130
+ This rule defaults to `error`.
1044
1131
 
1045
- `ensure-design-token-usage` now **errors** against spacing properties by default.
1132
+ To update to this version:
1046
1133
 
1047
- If the `domains` option is provided it will override any defaults, for example the following
1048
- will ignore defaults and only error for color:
1134
+ - If you are using the `ensure-design-token-usage` rule, add the `domains` property with a value
1135
+ of `['color']`:
1049
1136
 
1050
1137
  ```js
1051
1138
  rules: {
@@ -1059,1089 +1146,1005 @@
1059
1146
  },
1060
1147
  ```
1061
1148
 
1062
- You can use `ensure-design-token-usage/preview` to **warn** about spacing properties until you
1063
- are ready to set the main rule to error:
1149
+ - If you are using the `ensure-design-token-usage-spacing` rule, remove any references to it and
1150
+ add `'spacing'` to the domains array above.
1064
1151
 
1065
1152
  ```js
1066
1153
  rules: {
1067
- '@atlaskit/design-system/ensure-design-token-usage/preview': [
1068
- 'warn',
1069
- {
1070
- domains: ['spacing'],
1071
- shouldEnforceFallbacks: false
1072
- },
1073
- ],
1074
1154
  '@atlaskit/design-system/ensure-design-token-usage': [
1075
1155
  'error',
1076
1156
  {
1077
- domains: ['color'],
1157
+ domains: ['color', 'spacing'],
1078
1158
  shouldEnforceFallbacks: false
1079
1159
  },
1080
1160
  ],
1081
1161
  },
1082
1162
  ```
1083
1163
 
1084
- In many cases `eslint --fix` will automatically apply migrations from hardcoded values and
1085
- `gridSize` to space tokens.
1086
-
1087
- ## 7.0.3
1088
-
1089
- ### Patch Changes
1090
-
1091
- - [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
1092
- [`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) -
1093
- Improved autofix for 50% border radius to shape token.
1094
-
1095
- ## 7.0.2
1096
-
1097
- ### Patch Changes
1098
-
1099
- - [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
1100
- [`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
1101
- semver
1102
-
1103
- ## 7.0.1
1104
-
1105
- ### Patch Changes
1106
-
1107
- - [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144)
1108
- [`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix
1109
- ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
1110
-
1111
- ## 7.0.0
1112
-
1113
- ### Major Changes
1114
-
1115
- - [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383)
1116
- [`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged
1117
- the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single
1118
- rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be
1119
- extended to enforce domains such as typography and shape in the future. The rule accepts a
1120
- `domains` option which allows you to specify which domains to lint, currently defaulting to
1121
- 'color' and 'space'. This rule defaults to `error`.
1122
-
1123
- To update to this version:
1124
-
1125
- - If you are using the `ensure-design-token-usage` rule, add the `domains` property with a
1126
- value of `['color']`:
1127
-
1128
- ```js
1129
- rules: {
1130
- '@atlaskit/design-system/ensure-design-token-usage': [
1131
- 'error',
1132
- {
1133
- domains: ['color'],
1134
- shouldEnforceFallbacks: false
1135
- },
1136
- ],
1137
- },
1138
- ```
1139
-
1140
- - If you are using the `ensure-design-token-usage-spacing` rule, remove any references to it
1141
- and add `'spacing'` to the domains array above.
1142
-
1143
- ```js
1144
- rules: {
1145
- '@atlaskit/design-system/ensure-design-token-usage': [
1146
- 'error',
1147
- {
1148
- domains: ['color', 'spacing'],
1149
- shouldEnforceFallbacks: false
1150
- },
1151
- ],
1152
- },
1153
- ```
1154
-
1155
- - If you are not using either of these rules, no changes are required.
1164
+ - If you are not using either of these rules, no changes are required.
1156
1165
 
1157
- Added a new rule `ensure-design-token-usage/preview` which is a direct clone of
1158
- `ensure-design-token-usage`, but defaults to `warn`. Through this rule you can specify domains
1159
- to enforce tokens for, but with a warning rather than a blocking error. This is intended to ease
1160
- the introduction of certain tokens into a codebase.
1166
+ Added a new rule `ensure-design-token-usage/preview` which is a direct clone of
1167
+ `ensure-design-token-usage`, but defaults to `warn`. Through this rule you can specify domains to
1168
+ enforce tokens for, but with a warning rather than a blocking error. This is intended to ease the
1169
+ introduction of certain tokens into a codebase.
1161
1170
 
1162
1171
  ## 6.2.1
1163
1172
 
1164
1173
  ### Patch Changes
1165
1174
 
1166
- - [#36054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36054)
1167
- [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch
1168
- for incorrect behavior in upstream library.
1175
+ - [#36054](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36054)
1176
+ [`0f48aae95e4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0f48aae95e4) - Patch
1177
+ for incorrect behavior in upstream library.
1169
1178
 
1170
1179
  ## 6.2.0
1171
1180
 
1172
1181
  ### Minor Changes
1173
1182
 
1174
- - [#34821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34821)
1175
- [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) -
1176
- Linters will now error when deprecated theme color mixins are imported
1183
+ - [#34821](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34821)
1184
+ [`373b6b701ca`](https://bitbucket.org/atlassian/atlassian-frontend/commits/373b6b701ca) - Linters
1185
+ will now error when deprecated theme color mixins are imported
1177
1186
 
1178
1187
  ## 6.1.0
1179
1188
 
1180
1189
  ### Minor Changes
1181
1190
 
1182
- - [#34833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34833)
1183
- [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The
1184
- ensure-design-token-usage-spacing rule will now lint against inline style objects
1191
+ - [#34833](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34833)
1192
+ [`99d5309f42b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/99d5309f42b) - The
1193
+ ensure-design-token-usage-spacing rule will now lint against inline style objects
1185
1194
 
1186
1195
  ## 6.0.1
1187
1196
 
1188
1197
  ### Patch Changes
1189
1198
 
1190
- - [#35448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35448)
1191
- [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) -
1192
- Updated spacing rule to ignore gridSize functions that accept arguments as these are custom and
1193
- not part of the Design System.
1199
+ - [#35448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35448)
1200
+ [`fa18829653d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa18829653d) - Updated
1201
+ spacing rule to ignore gridSize functions that accept arguments as these are custom and not part
1202
+ of the Design System.
1194
1203
 
1195
1204
  ## 6.0.0
1196
1205
 
1197
1206
  ### Major Changes
1198
1207
 
1199
- - [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804)
1200
- [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New
1201
- rule consistent-css-prop-usage available as part of the recommended preset. For detailed docs
1202
- please see:
1203
- https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
1208
+ - [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804)
1209
+ [`c8174712a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c8174712a85) - New rule
1210
+ consistent-css-prop-usage available as part of the recommended preset. For detailed docs please
1211
+ see:
1212
+ https://atlassian.design/components/eslint-plugin-design-system/usage#consistent-css-prop-usage
1204
1213
 
1205
1214
  ## 5.5.0
1206
1215
 
1207
1216
  ### Minor Changes
1208
1217
 
1209
- - [#34739](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34739)
1210
- [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) -
1211
- Improved import matching for no-deprecated-apis rule to match substrings of import paths.
1218
+ - [#34739](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34739)
1219
+ [`35a57c481af`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35a57c481af) - Improved
1220
+ import matching for no-deprecated-apis rule to match substrings of import paths.
1212
1221
 
1213
1222
  ## 5.4.2
1214
1223
 
1215
1224
  ### Patch Changes
1216
1225
 
1217
- - [#34873](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34873)
1218
- [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) -
1219
- Internal dependency bump.
1226
+ - [#34873](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34873)
1227
+ [`121f9ae5c38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/121f9ae5c38) - Internal
1228
+ dependency bump.
1220
1229
 
1221
1230
  ## 5.4.1
1222
1231
 
1223
1232
  ### Patch Changes
1224
1233
 
1225
- - [#34778](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34778)
1226
- [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) -
1227
- Account for additional border properties in spacing rule.
1234
+ - [#34778](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34778)
1235
+ [`432d4ce47ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/432d4ce47ee) - Account
1236
+ for additional border properties in spacing rule.
1228
1237
 
1229
1238
  ## 5.4.0
1230
1239
 
1231
1240
  ### Minor Changes
1232
1241
 
1233
- - [#33802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33802)
1234
- [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) -
1235
- `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens
1236
- via `@atlaskit/tokens`.
1242
+ - [#33802](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33802)
1243
+ [`eb75c962cfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb75c962cfb) -
1244
+ `gridSize` imports from `@atlaskit/theme` are now deprecated in favor of applying space tokens via
1245
+ `@atlaskit/tokens`.
1237
1246
 
1238
1247
  ### Patch Changes
1239
1248
 
1240
- - [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217)
1241
- [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add
1242
- shape token handling to the `ensure-design-token-usage-spacing` rule.
1243
- - [`7b017c0be76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b017c0be76) -
1244
- Internal tweaks to spacing rule fixers.
1245
- - Updated dependencies
1249
+ - [#34217](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34217)
1250
+ [`019af32072d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/019af32072d) - Add
1251
+ shape token handling to the `ensure-design-token-usage-spacing` rule.
1252
+ - [`7b017c0be76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b017c0be76) - Internal
1253
+ tweaks to spacing rule fixers.
1254
+ - Updated dependencies
1246
1255
 
1247
1256
  ## 5.3.2
1248
1257
 
1249
1258
  ### Patch Changes
1250
1259
 
1251
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
1252
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
1253
- legacy types are published for TS 4.5-4.8
1260
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
1261
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
1262
+ legacy types are published for TS 4.5-4.8
1254
1263
 
1255
1264
  ## 5.3.1
1256
1265
 
1257
1266
  ### Patch Changes
1258
1267
 
1259
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
1260
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
1261
- Upgrade Typescript from `4.5.5` to `4.9.5`
1268
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
1269
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
1270
+ Typescript from `4.5.5` to `4.9.5`
1262
1271
 
1263
1272
  ## 5.3.0
1264
1273
 
1265
1274
  ### Minor Changes
1266
1275
 
1267
- - [#33417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33417)
1268
- [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update
1269
- docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all"
1270
- preset now respects this preference - before it was always "error". This makes the presets more
1271
- aligned with the underlying implementations."
1276
+ - [#33417](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33417)
1277
+ [`51a48a1bb1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51a48a1bb1b) - Update
1278
+ docs to accept a `severity` property so the purpose of `recommended` is no longer double. "all"
1279
+ preset now respects this preference - before it was always "error". This makes the presets more
1280
+ aligned with the underlying implementations."
1272
1281
 
1273
1282
  ## 5.2.0
1274
1283
 
1275
1284
  ### Minor Changes
1276
1285
 
1277
- - [#31565](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31565)
1278
- [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) -
1279
- Internal refactor of ensure-design-token-usage which also addresses some false positives
1286
+ - [#31565](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31565)
1287
+ [`11e5168f1c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/11e5168f1c2) - Internal
1288
+ refactor of ensure-design-token-usage which also addresses some false positives
1280
1289
 
1281
1290
  ## 5.1.0
1282
1291
 
1283
1292
  ### Minor Changes
1284
1293
 
1285
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
1286
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
1287
- minor dependency bump
1294
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
1295
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
1296
+ minor dependency bump
1288
1297
 
1289
1298
  ### Patch Changes
1290
1299
 
1291
- - Updated dependencies
1300
+ - Updated dependencies
1292
1301
 
1293
1302
  ## 5.0.3
1294
1303
 
1295
1304
  ### Patch Changes
1296
1305
 
1297
- - [#32916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32916)
1298
- [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix
1299
- issue where 'auto' may still be reported as an error in object styles.
1306
+ - [#32916](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32916)
1307
+ [`7c55a69a5ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c55a69a5ec) - Fix
1308
+ issue where 'auto' may still be reported as an error in object styles.
1300
1309
 
1301
1310
  ## 5.0.2
1302
1311
 
1303
1312
  ### Patch Changes
1304
1313
 
1305
- - [#32895](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32895)
1306
- [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update
1307
- links in the `use-primitives` rule to point to the right docs URL.
1314
+ - [#32895](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32895)
1315
+ [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update
1316
+ links in the `use-primitives` rule to point to the right docs URL.
1308
1317
 
1309
1318
  ## 5.0.1
1310
1319
 
1311
1320
  ### Patch Changes
1312
1321
 
1313
- - [#32846](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32846)
1314
- [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) -
1315
- Improved behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0,
1316
- auto, and calc within spacing properties.
1322
+ - [#32846](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32846)
1323
+ [`31ebca384fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31ebca384fa) - Improved
1324
+ behaviour of `ensure-design-token-usage-spacing` rule to not report on or replace 0, auto, and
1325
+ calc within spacing properties.
1317
1326
 
1318
1327
  ## 5.0.0
1319
1328
 
1320
1329
  ### Major Changes
1321
1330
 
1322
- - [#32576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32576)
1323
- [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The
1324
- following rules are now included in the recommended preset as errors:
1331
+ - [#32576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32576)
1332
+ [`b910bbe6130`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b910bbe6130) - The
1333
+ following rules are now included in the recommended preset as errors:
1325
1334
 
1326
- - ensure-design-token-usage
1327
- - no-deprecated-apis
1328
- - no-deprecated-imports
1329
- - no-unsafe-design-token-usage
1335
+ - ensure-design-token-usage
1336
+ - no-deprecated-apis
1337
+ - no-deprecated-imports
1338
+ - no-unsafe-design-token-usage
1330
1339
 
1331
- The following rules are now included in the recommended preset as warnings:
1340
+ The following rules are now included in the recommended preset as warnings:
1332
1341
 
1333
- - no-deprecated-design-token-usage
1342
+ - no-deprecated-design-token-usage
1334
1343
 
1335
1344
  ### Minor Changes
1336
1345
 
1337
- - [`b689e24847d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b689e24847d) - All
1338
- lint rule violations in IDEs now point to their corresponding documentation on
1339
- https://atlassian.design.
1346
+ - [`b689e24847d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b689e24847d) - All lint
1347
+ rule violations in IDEs now point to their corresponding documentation on
1348
+ https://atlassian.design.
1340
1349
 
1341
1350
  ## 4.20.0
1342
1351
 
1343
1352
  ### Minor Changes
1344
1353
 
1345
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
1346
- [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux]
1347
- Spacing rule now also looks at and attempts to parse additional properties.
1354
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
1355
+ [`fa50be73bfe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fa50be73bfe) - [ux]
1356
+ Spacing rule now also looks at and attempts to parse additional properties.
1348
1357
 
1349
1358
  ## 4.19.1
1350
1359
 
1351
1360
  ### Patch Changes
1352
1361
 
1353
- - [#32367](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32367)
1354
- [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs
1355
- are now generated from source.
1362
+ - [#32367](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32367)
1363
+ [`0047d204889`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0047d204889) - Docs are
1364
+ now generated from source.
1356
1365
 
1357
1366
  ## 4.19.0
1358
1367
 
1359
1368
  ### Minor Changes
1360
1369
 
1361
- - [#32306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32306)
1362
- [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This
1363
- package now uses codegen to generate the rules index and presets. There is no change to the
1364
- public api with this release.
1365
- - [`e00ab4b87d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e00ab4b87d9) - The
1366
- README and website documentation now contain a generated table with all available rules in the
1367
- plugin.
1370
+ - [#32306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32306)
1371
+ [`ecbb3354125`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ecbb3354125) - This
1372
+ package now uses codegen to generate the rules index and presets. There is no change to the public
1373
+ api with this release.
1374
+ - [`e00ab4b87d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e00ab4b87d9) - The
1375
+ README and website documentation now contain a generated table with all available rules in the
1376
+ plugin.
1368
1377
 
1369
1378
  ## 4.18.0
1370
1379
 
1371
1380
  ### Minor Changes
1372
1381
 
1373
- - [#31044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31044)
1374
- [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add
1375
- deprecated-imports entries to config that the rule no-deprecated-imports can read from.
1382
+ - [#31044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31044)
1383
+ [`c858ddc70ff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c858ddc70ff) - Add
1384
+ deprecated-imports entries to config that the rule no-deprecated-imports can read from.
1376
1385
 
1377
1386
  ## 4.17.1
1378
1387
 
1379
1388
  ### Patch Changes
1380
1389
 
1381
- - [#31568](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31568)
1382
- [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) -
1383
- ensure-design-token-usage: Fixes various false positives including linting of variable
1384
- declarations, type definitions, switch cases and if statements
1390
+ - [#31568](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31568)
1391
+ [`fd4bdeabac4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd4bdeabac4) -
1392
+ ensure-design-token-usage: Fixes various false positives including linting of variable
1393
+ declarations, type definitions, switch cases and if statements
1385
1394
 
1386
1395
  ## 4.17.0
1387
1396
 
1388
1397
  ### Minor Changes
1389
1398
 
1390
- - [#31131](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31131)
1391
- [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added
1392
- new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled
1393
- by default, so there should be no expected change to consumers.
1399
+ - [#31131](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31131)
1400
+ [`c80505045f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c80505045f0) - Added
1401
+ new rule to encourage use of @atlaskit/primitives components where relavant. Currently disabled by
1402
+ default, so there should be no expected change to consumers.
1394
1403
 
1395
1404
  ## 4.16.5
1396
1405
 
1397
1406
  ### Patch Changes
1398
1407
 
1399
- - [#30785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30785)
1400
- [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix
1401
- bug when replacing shorthand css property values with tokens, values without corresponding token
1402
- won't be replaced. Also, allow styled2 alias to be matched in object styles for the spacing
1403
- rule, given Jira frontend uses that alias extensively
1408
+ - [#30785](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30785)
1409
+ [`c82e6ef389c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c82e6ef389c) - Fix bug
1410
+ when replacing shorthand css property values with tokens, values without corresponding token won't
1411
+ be replaced. Also, allow styled2 alias to be matched in object styles for the spacing rule, given
1412
+ Jira frontend uses that alias extensively
1404
1413
 
1405
1414
  ## 4.16.4
1406
1415
 
1407
1416
  ### Patch Changes
1408
1417
 
1409
- - [#30707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30707)
1410
- [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add
1411
- overrides in @atlaskit/drawer to deprecated config
1418
+ - [#30707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30707)
1419
+ [`358730833d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/358730833d8) - Add
1420
+ overrides in @atlaskit/drawer to deprecated config
1412
1421
 
1413
1422
  ## 4.16.3
1414
1423
 
1415
1424
  ### Patch Changes
1416
1425
 
1417
- - [#30678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30678)
1418
- [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix
1419
- errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle
1420
- edgecases ensuring seamless fallback on errors
1426
+ - [#30678](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30678)
1427
+ [`ed34264c827`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed34264c827) - Fix
1428
+ errors on tagged template literals for eslint rule ensure-design-token-usage-spacing and handle
1429
+ edgecases ensuring seamless fallback on errors
1421
1430
 
1422
1431
  ## 4.16.2
1423
1432
 
1424
1433
  ### Patch Changes
1425
1434
 
1426
- - [#30658](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30658)
1427
- [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) -
1428
- Improves internal configuration of spacing tokens rule.
1435
+ - [#30658](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30658)
1436
+ [`3db6efeac0d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3db6efeac0d) - Improves
1437
+ internal configuration of spacing tokens rule.
1429
1438
 
1430
1439
  ## 4.16.1
1431
1440
 
1432
1441
  ### Patch Changes
1433
1442
 
1434
- - [#30604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30604)
1435
- [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) -
1436
- Additional selector for ObjectExpression improves coverage of eslint rule.
1443
+ - [#30604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30604)
1444
+ [`29648ace573`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29648ace573) -
1445
+ Additional selector for ObjectExpression improves coverage of eslint rule.
1437
1446
 
1438
1447
  ## 4.16.0
1439
1448
 
1440
1449
  ### Minor Changes
1441
1450
 
1442
- - [#29960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29960)
1443
- [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update
1444
- no-deprecated-apis ESlint rule to accept configurations
1451
+ - [#29960](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29960)
1452
+ [`efadee8e999`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efadee8e999) - Update
1453
+ no-deprecated-apis ESlint rule to accept configurations
1445
1454
 
1446
1455
  ## 4.15.6
1447
1456
 
1448
1457
  ### Patch Changes
1449
1458
 
1450
- - [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134)
1451
- [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) -
1452
- Enhance token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged
1453
- template literal strings
1459
+ - [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134)
1460
+ [`6a43a780a85`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a43a780a85) - Enhance
1461
+ token replacement capabilities of ensure-design-tokens-usage-spacing rule in tagged template
1462
+ literal strings
1454
1463
 
1455
1464
  ## 4.15.5
1456
1465
 
1457
1466
  ### Patch Changes
1458
1467
 
1459
- - [#30141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30141)
1460
- [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump
1461
- version of `eslint-codemod-utils`.
1468
+ - [#30141](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30141)
1469
+ [`dda18b361da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dda18b361da) - Bump
1470
+ version of `eslint-codemod-utils`.
1462
1471
 
1463
1472
  ## 4.15.4
1464
1473
 
1465
1474
  ### Patch Changes
1466
1475
 
1467
- - [#27964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27964)
1468
- [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add
1469
- lint rule to prevent use of `margin` CSS property.
1476
+ - [#27964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27964)
1477
+ [`ada57c0423d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ada57c0423d) - Add lint
1478
+ rule to prevent use of `margin` CSS property.
1470
1479
 
1471
1480
  ## 4.15.3
1472
1481
 
1473
1482
  ### Patch Changes
1474
1483
 
1475
- - [#29613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29613)
1476
- [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix
1477
- spacing token autofix in tagged template literal styles, enabling replacement of expression to
1478
- equivalent spacing tokens
1484
+ - [#29613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29613)
1485
+ [`965e9c7f5d7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/965e9c7f5d7) - Fix
1486
+ spacing token autofix in tagged template literal styles, enabling replacement of expression to
1487
+ equivalent spacing tokens
1479
1488
 
1480
1489
  ## 4.15.2
1481
1490
 
1482
1491
  ### Patch Changes
1483
1492
 
1484
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
1485
- [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) -
1486
- Removes usage of tokens which have been removed from the codebase
1487
- - Updated dependencies
1493
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
1494
+ [`cf16d8f8bcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf16d8f8bcc) - Removes
1495
+ usage of tokens which have been removed from the codebase
1496
+ - Updated dependencies
1488
1497
 
1489
1498
  ## 4.15.1
1490
1499
 
1491
1500
  ### Patch Changes
1492
1501
 
1493
- - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
1494
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) -
1495
- Internal change to update token references. There is no expected behaviour or visual change.
1502
+ - [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
1503
+ [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal
1504
+ change to update token references. There is no expected behaviour or visual change.
1496
1505
 
1497
1506
  ## 4.15.0
1498
1507
 
1499
1508
  ### Minor Changes
1500
1509
 
1501
- - [#29346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29346)
1502
- [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) -
1503
- ensure-design-token-usage-spacing only lints on spacing properties by default, with typography
1504
- properties enabled via config
1510
+ - [#29346](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29346)
1511
+ [`17b3c102180`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17b3c102180) -
1512
+ ensure-design-token-usage-spacing only lints on spacing properties by default, with typography
1513
+ properties enabled via config
1505
1514
 
1506
1515
  ## 4.14.1
1507
1516
 
1508
1517
  ### Patch Changes
1509
1518
 
1510
- - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
1511
- [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) -
1512
- Improved handling of font-family properties.
1519
+ - [#28064](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28064)
1520
+ [`03697c65399`](https://bitbucket.org/atlassian/atlassian-frontend/commits/03697c65399) - Improved
1521
+ handling of font-family properties.
1513
1522
 
1514
1523
  ## 4.14.0
1515
1524
 
1516
1525
  ### Minor Changes
1517
1526
 
1518
- - [#27730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27730)
1519
- [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added
1520
- another valid callee `getTokenValue()` which is used for getting the current computed CSS value
1521
- for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call
1522
- won't fail.
1527
+ - [#27730](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27730)
1528
+ [`be1ec01a101`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be1ec01a101) - Added
1529
+ another valid callee `getTokenValue()` which is used for getting the current computed CSS value
1530
+ for the resulting CSS Custom Property, hard-coded colors that wrapped in `getTokenValue()` call
1531
+ won't fail.
1523
1532
 
1524
1533
  ## 4.13.10
1525
1534
 
1526
1535
  ### Patch Changes
1527
1536
 
1528
- - [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011)
1529
- [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) -
1530
- Removes spacing-raw & typography-raw entrypoints in favor of tokens-raw
1531
- - Updated dependencies
1537
+ - [#28011](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28011)
1538
+ [`00c057bdd71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/00c057bdd71) - Removes
1539
+ spacing-raw & typography-raw entrypoints in favor of tokens-raw
1540
+ - Updated dependencies
1532
1541
 
1533
1542
  ## 4.13.9
1534
1543
 
1535
1544
  ### Patch Changes
1536
1545
 
1537
- - Updated dependencies
1546
+ - Updated dependencies
1538
1547
 
1539
1548
  ## 4.13.8
1540
1549
 
1541
1550
  ### Patch Changes
1542
1551
 
1543
- - [#27783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27783)
1544
- [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) -
1545
- Updates fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
1552
+ - [#27783](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27783)
1553
+ [`f4c5d7db7aa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f4c5d7db7aa) - Updates
1554
+ fix for `ensure-design-token-usage-spacing` to ensure fixes are not applied erroneously.
1546
1555
 
1547
1556
  ## 4.13.7
1548
1557
 
1549
1558
  ### Patch Changes
1550
1559
 
1551
- - [#27592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27592)
1552
- [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds
1553
- support to the ensure-design-token-usage-spacing rule for replacing typography values with
1554
- tokens
1560
+ - [#27592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27592)
1561
+ [`41ac6cadd32`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41ac6cadd32) - Adds
1562
+ support to the ensure-design-token-usage-spacing rule for replacing typography values with tokens
1555
1563
 
1556
1564
  ## 4.13.6
1557
1565
 
1558
1566
  ### Patch Changes
1559
1567
 
1560
- - [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482)
1561
- [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) -
1562
- Changes behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a
1563
- fix is applied.
1568
+ - [#27482](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27482)
1569
+ [`0518a6ab41d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0518a6ab41d) - Changes
1570
+ behavior of `ensure-design-token-usage-spacing` to fallback to px instead of rems when a fix is
1571
+ applied.
1564
1572
 
1565
1573
  ## 4.13.5
1566
1574
 
1567
1575
  ### Patch Changes
1568
1576
 
1569
- - [#27431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27431)
1570
- [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) -
1571
- Dependency bump of `eslint-codemod-utils`.
1577
+ - [#27431](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27431)
1578
+ [`fd903efd5f8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd903efd5f8) -
1579
+ Dependency bump of `eslint-codemod-utils`.
1572
1580
 
1573
1581
  ## 4.13.4
1574
1582
 
1575
1583
  ### Patch Changes
1576
1584
 
1577
- - Updated dependencies
1585
+ - Updated dependencies
1578
1586
 
1579
1587
  ## 4.13.3
1580
1588
 
1581
1589
  ### Patch Changes
1582
1590
 
1583
- - [#26561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26561)
1584
- [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an
1585
- optional `customTokens` configuration option for no-unsafe-design-token-usage
1591
+ - [#26561](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26561)
1592
+ [`4793b01cfcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4793b01cfcc) - Add an
1593
+ optional `customTokens` configuration option for no-unsafe-design-token-usage
1586
1594
 
1587
1595
  ## 4.13.2
1588
1596
 
1589
1597
  ### Patch Changes
1590
1598
 
1591
- - [#26623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26623)
1592
- [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) -
1593
- @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
1599
+ - [#26623](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26623)
1600
+ [`1a7a2c87797`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a7a2c87797) -
1601
+ @atlaskit/eslint-plugin-design-system now maps values to rem based tokens
1594
1602
 
1595
1603
  ## 4.13.1
1596
1604
 
1597
1605
  ### Patch Changes
1598
1606
 
1599
- - [#26604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26604)
1600
- [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add
1601
- support for template literals in ensure-design-token-usage-spacing
1607
+ - [#26604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26604)
1608
+ [`cc76eda3bc0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cc76eda3bc0) - Add
1609
+ support for template literals in ensure-design-token-usage-spacing
1602
1610
 
1603
1611
  ## 4.13.0
1604
1612
 
1605
1613
  ### Minor Changes
1606
1614
 
1607
- - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
1608
- [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux]
1609
- Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1610
- tokens and automatically replace them with their replacement (either a token or a fallback) via
1611
- a fixer.
1615
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
1616
+ [`9693f6e7816`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9693f6e7816) - [ux]
1617
+ Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1618
+ tokens and automatically replace them with their replacement (either a token or a fallback) via a
1619
+ fixer.
1612
1620
 
1613
1621
  ## 4.12.4
1614
1622
 
1615
1623
  ### Patch Changes
1616
1624
 
1617
- - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
1618
- [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) -
1619
- Internal changes to apply spacing tokens. This should be a no-op change.
1625
+ - [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
1626
+ [`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal
1627
+ changes to apply spacing tokens. This should be a no-op change.
1620
1628
 
1621
1629
  ## 4.12.3
1622
1630
 
1623
1631
  ### Patch Changes
1624
1632
 
1625
- - [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408)
1626
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) -
1627
- Internal changes to include spacing tokens in component implementations.
1633
+ - [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408)
1634
+ [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal
1635
+ changes to include spacing tokens in component implementations.
1628
1636
 
1629
1637
  ## 4.12.2
1630
1638
 
1631
1639
  ### Patch Changes
1632
1640
 
1633
- - [#26186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26186)
1634
- [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small
1635
- tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in
1636
- auto-fixing code with highly experimental tokens.
1641
+ - [#26186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26186)
1642
+ [`c6b748ff03a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c6b748ff03a) - Small
1643
+ tweak to the ensure-design-token-usage-spacing rule to ensure we aren't over-eager in auto-fixing
1644
+ code with highly experimental tokens.
1637
1645
 
1638
1646
  ## 4.12.1
1639
1647
 
1640
1648
  ### Patch Changes
1641
1649
 
1642
- - [#26165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26165)
1643
- [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) -
1644
- Improves the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be
1645
- resolved to a token will be.
1650
+ - [#26165](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26165)
1651
+ [`e86c57a4a60`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e86c57a4a60) - Improves
1652
+ the `no-raw-spacing-values` rule to include an autofixer. Spacing values that can be resolved to a
1653
+ token will be.
1646
1654
 
1647
1655
  ## 4.12.0
1648
1656
 
1649
1657
  ### Minor Changes
1650
1658
 
1651
- - [#26111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26111)
1652
- [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux]
1653
- Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1654
- tokens and automatically replace them with their replacement (either a token or a fallback) via
1655
- a fixer.
1659
+ - [#26111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26111)
1660
+ [`109c705cd9c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c705cd9c) - [ux]
1661
+ Adds a new case to the no-unsafe-design-token-usage rule to lint against uses of 'experimental'
1662
+ tokens and automatically replace them with their replacement (either a token or a fallback) via a
1663
+ fixer.
1656
1664
 
1657
1665
  ## 4.11.2
1658
1666
 
1659
1667
  ### Patch Changes
1660
1668
 
1661
- - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
1662
- [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update
1663
- internals of Box, Text, Inline and Stack to handle `children` more accurately. Also update scope
1664
- of `use-primitives` to suggest Box and Text more selectively.
1669
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
1670
+ [`3ee63238f49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3ee63238f49) - Update
1671
+ internals of Box, Text, Inline and Stack to handle `children` more accurately. Also update scope
1672
+ of `use-primitives` to suggest Box and Text more selectively.
1665
1673
 
1666
1674
  ## 4.11.1
1667
1675
 
1668
1676
  ### Patch Changes
1669
1677
 
1670
- - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
1671
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
1672
- Upgrade Typescript from `4.3.5` to `4.5.5`
1678
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
1679
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
1680
+ Typescript from `4.3.5` to `4.5.5`
1673
1681
 
1674
1682
  ## 4.11.0
1675
1683
 
1676
1684
  ### Minor Changes
1677
1685
 
1678
- - [#24934](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24934)
1679
- [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) -
1680
- Bolster isException logic to support descendants of excepted functions and to be case-agnostic
1686
+ - [#24934](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24934)
1687
+ [`268f92124e2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/268f92124e2) - Bolster
1688
+ isException logic to support descendants of excepted functions and to be case-agnostic
1681
1689
 
1682
1690
  ## 4.10.1
1683
1691
 
1684
1692
  ### Patch Changes
1685
1693
 
1686
- - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
1687
- [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) -
1688
- Improved NaN handling and output
1689
- - [`0544fe823d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0544fe823d1) -
1690
- Updates to account for nested unary selectors.
1691
- - [`1ed3db0c9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed3db0c9be) -
1692
- Improvements to lint rule and accounting for edge cases
1694
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004)
1695
+ [`d76851b2f42`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d76851b2f42) - Improved
1696
+ NaN handling and output
1697
+ - [`0544fe823d1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0544fe823d1) - Updates
1698
+ to account for nested unary selectors.
1699
+ - [`1ed3db0c9be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed3db0c9be) -
1700
+ Improvements to lint rule and accounting for edge cases
1693
1701
 
1694
1702
  ## 4.10.0
1695
1703
 
1696
1704
  ### Minor Changes
1697
1705
 
1698
- - [#24591](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24591)
1699
- [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add
1700
- exceptions option to ensure-design-token-usage rule
1706
+ - [#24591](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24591)
1707
+ [`bb808f9a186`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bb808f9a186) - Add
1708
+ exceptions option to ensure-design-token-usage rule
1701
1709
 
1702
1710
  ## 4.9.0
1703
1711
 
1704
1712
  ### Minor Changes
1705
1713
 
1706
- - [#24547](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24547)
1707
- [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix
1708
- false positives for variable names and object property keys
1714
+ - [#24547](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24547)
1715
+ [`9701bf4a8b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9701bf4a8b3) - Fix
1716
+ false positives for variable names and object property keys
1709
1717
 
1710
1718
  ## 4.8.2
1711
1719
 
1712
1720
  ### Patch Changes
1713
1721
 
1714
- - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
1715
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
1716
- Upgrade Typescript from `4.2.4` to `4.3.5`.
1722
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
1723
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
1724
+ Typescript from `4.2.4` to `4.3.5`.
1717
1725
 
1718
1726
  ## 4.8.1
1719
1727
 
1720
1728
  ### Patch Changes
1721
1729
 
1722
- - [#24445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24445)
1723
- [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump
1724
- eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
1730
+ - [#24445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24445)
1731
+ [`805d0fde0fa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/805d0fde0fa) - Bump
1732
+ eslint-codemod-utils to 1.4.0, no real changes as no new imports are exercised
1725
1733
 
1726
1734
  ## 4.8.0
1727
1735
 
1728
1736
  ### Minor Changes
1729
1737
 
1730
- - [#23610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23610)
1731
- [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a
1732
- rule to restrict usage of deprecated attribute `type` for inline-message
1738
+ - [#23610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23610)
1739
+ [`725f5fde8d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/725f5fde8d9) - Adds a
1740
+ rule to restrict usage of deprecated attribute `type` for inline-message
1733
1741
 
1734
1742
  ## 4.7.2
1735
1743
 
1736
1744
  ### Patch Changes
1737
1745
 
1738
- - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
1739
- [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) -
1740
- Improvements / added robustness to edge cases previously unhandled.
1741
- - [`8e848e3a4a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e848e3a4a6) -
1742
- Internal updates to a number of rules. Introduced a custom formatter for the rule
1743
- 'no-raw-spacing-values'.
1744
- - [`31494c13aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31494c13aaa) - Type
1745
- fixes to the internals of a number of rules.
1746
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
1747
+ [`9f64ab9d5ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9f64ab9d5ea) -
1748
+ Improvements / added robustness to edge cases previously unhandled.
1749
+ - [`8e848e3a4a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8e848e3a4a6) - Internal
1750
+ updates to a number of rules. Introduced a custom formatter for the rule 'no-raw-spacing-values'.
1751
+ - [`31494c13aaa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/31494c13aaa) - Type
1752
+ fixes to the internals of a number of rules.
1746
1753
 
1747
1754
  ## 4.7.1
1748
1755
 
1749
1756
  ### Patch Changes
1750
1757
 
1751
- - [#23674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23674)
1752
- [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark
1753
- `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
1758
+ - [#23674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23674)
1759
+ [`37ac5652977`](https://bitbucket.org/atlassian/atlassian-frontend/commits/37ac5652977) - Mark
1760
+ `isOpen` and `innerRef` props on @atlaskit/banner as deprecated.
1754
1761
 
1755
1762
  ## 4.7.0
1756
1763
 
1757
1764
  ### Minor Changes
1758
1765
 
1759
- - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
1760
- [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds
1761
- additional rule to restrict usage of banned imports from the design system.
1766
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
1767
+ [`740057653f9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/740057653f9) - Adds
1768
+ additional rule to restrict usage of banned imports from the design system.
1762
1769
 
1763
1770
  ## 4.6.0
1764
1771
 
1765
1772
  ### Minor Changes
1766
1773
 
1767
- - [#21819](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21819)
1768
- [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) -
1769
- Introduces a new rule `icon-label` to validate accessible usage of the icon components label
1770
- prop when used with other design system components.
1774
+ - [#21819](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21819)
1775
+ [`f561f58bc7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f561f58bc7a) -
1776
+ Introduces a new rule `icon-label` to validate accessible usage of the icon components label prop
1777
+ when used with other design system components.
1771
1778
 
1772
1779
  ## 4.5.0
1773
1780
 
1774
1781
  ### Minor Changes
1775
1782
 
1776
- - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
1777
- [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add
1778
- new paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
1783
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
1784
+ [`b7235858f48`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7235858f48) - Add new
1785
+ paths to the no-deprecated-imports rule for deprecated @atlaskit/logo exports.
1779
1786
 
1780
1787
  ## 4.4.6
1781
1788
 
1782
1789
  ### Patch Changes
1783
1790
 
1784
- - Updated dependencies
1791
+ - Updated dependencies
1785
1792
 
1786
1793
  ## 4.4.5
1787
1794
 
1788
1795
  ### Patch Changes
1789
1796
 
1790
- - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
1791
- [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix
1792
- linting error message for focusRing import
1797
+ - [#20721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20721)
1798
+ [`344784eec9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/344784eec9e) - Fix
1799
+ linting error message for focusRing import
1793
1800
 
1794
1801
  ## 4.4.4
1795
1802
 
1796
1803
  ### Patch Changes
1797
1804
 
1798
- - [#20860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20860)
1799
- [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds
1800
- an additional rule for DS users to opt into to using 'noop' as a common reference rather than
1801
- rewriting anonymous functions.
1805
+ - [#20860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20860)
1806
+ [`55a212b8b01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/55a212b8b01) - Adds an
1807
+ additional rule for DS users to opt into to using 'noop' as a common reference rather than
1808
+ rewriting anonymous functions.
1802
1809
 
1803
1810
  ## 4.4.3
1804
1811
 
1805
1812
  ### Patch Changes
1806
1813
 
1807
- - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
1808
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
1809
- Upgrade to TypeScript 4.2.4
1814
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
1815
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
1816
+ to TypeScript 4.2.4
1810
1817
 
1811
1818
  ## 4.4.2
1812
1819
 
1813
1820
  ### Patch Changes
1814
1821
 
1815
- - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
1816
- [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
1817
- `static` techstack to package, enforcing stricter style linting. In this case the package
1818
- already satisfied this requirement so there have been no changes to styles.
1819
- - Updated dependencies
1822
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033)
1823
+ [`b3e5a62a9e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3e5a62a9e3) - Adds
1824
+ `static` techstack to package, enforcing stricter style linting. In this case the package already
1825
+ satisfied this requirement so there have been no changes to styles.
1826
+ - Updated dependencies
1820
1827
 
1821
1828
  ## 4.4.1
1822
1829
 
1823
1830
  ### Patch Changes
1824
1831
 
1825
- - [#20390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20390)
1826
- [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes
1827
- a bug in the rule `ensure-design-token-usage` where some color value types were not being
1828
- detected as hardcoded color usage. This affected Styled Components and Emotion CSS prop
1829
- syntaxes.
1832
+ - [#20390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20390)
1833
+ [`236e6040fb9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/236e6040fb9) - Fixes a
1834
+ bug in the rule `ensure-design-token-usage` where some color value types were not being detected
1835
+ as hardcoded color usage. This affected Styled Components and Emotion CSS prop syntaxes.
1830
1836
 
1831
- These color types have been fixed:
1837
+ These color types have been fixed:
1832
1838
 
1833
- - rgb
1834
- - rgba
1835
- - hsl
1836
- - hsla
1837
- - lch
1838
- - lab
1839
- - color()
1839
+ - rgb
1840
+ - rgba
1841
+ - hsl
1842
+ - hsla
1843
+ - lch
1844
+ - lab
1845
+ - color()
1840
1846
 
1841
1847
  ## 4.4.0
1842
1848
 
1843
1849
  ### Minor Changes
1844
1850
 
1845
- - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
1846
- [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed
1847
- bug where deleted '[default]' tokens were not being detected by lint tooling
1851
+ - [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
1852
+ [`1065b5b1bbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1065b5b1bbb) - Fixed
1853
+ bug where deleted '[default]' tokens were not being detected by lint tooling
1848
1854
 
1849
1855
  ### Patch Changes
1850
1856
 
1851
- - Updated dependencies
1857
+ - Updated dependencies
1852
1858
 
1853
1859
  ## 4.3.0
1854
1860
 
1855
1861
  ### Minor Changes
1856
1862
 
1857
- - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
1858
- [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes
1859
- a bug where token paths including [default] were not being detected by the linter
1863
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
1864
+ [`2dbc546f748`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2dbc546f748) - Fixes a
1865
+ bug where token paths including [default] were not being detected by the linter
1860
1866
 
1861
1867
  ### Patch Changes
1862
1868
 
1863
- - Updated dependencies
1869
+ - Updated dependencies
1864
1870
 
1865
1871
  ## 4.2.1
1866
1872
 
1867
1873
  ### Patch Changes
1868
1874
 
1869
- - [#19453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19453)
1870
- [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes
1871
- a bug where use of qualified type annotations would throw an error.
1875
+ - [#19453](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19453)
1876
+ [`63a22b17621`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63a22b17621) - Fixes a
1877
+ bug where use of qualified type annotations would throw an error.
1872
1878
 
1873
1879
  ## 4.2.0
1874
1880
 
1875
1881
  ### Minor Changes
1876
1882
 
1877
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
1878
- [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a
1879
- new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
1880
- - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
1881
- [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds
1882
- an additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System
1883
- that we intend to remove completely. This rule should be used by all product repos as it will
1884
- provide an early warning of expected deprecations.
1885
- - [`93d6f8856f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d6f8856f2) -
1886
- @atlaskit/icon-priority has been deprecated due to low usage. It will be deleted after 21
1887
- April 2022. If you rely on these icons, @atlaskit/icon-priority will still be available as a
1888
- deprecated package on NPM, but we recommend self-hosting and managing.
1883
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
1884
+ [`afc248d2ded`](https://bitbucket.org/atlassian/atlassian-frontend/commits/afc248d2ded) - Adds a
1885
+ new rule, `use-visually-hidden` to complement the `@atlaskit/visually-hidden` component.
1886
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
1887
+ [`0c0a8b5dff4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c0a8b5dff4) - Adds an
1888
+ additional rule 'no-deprecated-api-usage'. This rule targets APIs/props in the Design System that
1889
+ we intend to remove completely. This rule should be used by all product repos as it will provide
1890
+ an early warning of expected deprecations.
1891
+ - [`93d6f8856f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93d6f8856f2) -
1892
+ @atlaskit/icon-priority has been deprecated due to low usage. It will be deleted after 21
1893
+ April 2022. If you rely on these icons, @atlaskit/icon-priority will still be available as a
1894
+ deprecated package on NPM, but we recommend self-hosting and managing.
1889
1895
 
1890
1896
  ## 4.1.1
1891
1897
 
1892
1898
  ### Patch Changes
1893
1899
 
1894
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
1895
- no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
1896
- auto-fixing by correctly formatting token ids.
1897
- - Updated dependencies
1900
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
1901
+ no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
1902
+ auto-fixing by correctly formatting token ids.
1903
+ - Updated dependencies
1898
1904
 
1899
1905
  ## 4.1.0
1900
1906
 
1901
1907
  ### Minor Changes
1902
1908
 
1903
- - [#18168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18168)
1904
- [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved
1905
- logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a
1906
- new rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of
1907
- deprecated tokens. In most cases this allows consumers to set this rule to "warn", allowing
1908
- iterative migration to new token names rather than in a big bang.
1909
+ - [#18168](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18168)
1910
+ [`52fbe80eeb5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52fbe80eeb5) - Moved
1911
+ logic for detecting deprecated tokens out of no-unsafe-design-token-usage and moves it into a new
1912
+ rule: no-deprecated-token-usage. This rule is solely reponsible for catching usage of deprecated
1913
+ tokens. In most cases this allows consumers to set this rule to "warn", allowing iterative
1914
+ migration to new token names rather than in a big bang.
1909
1915
 
1910
1916
  ### Patch Changes
1911
1917
 
1912
- - Updated dependencies
1918
+ - Updated dependencies
1913
1919
 
1914
1920
  ## 4.0.1
1915
1921
 
1916
1922
  ### Patch Changes
1917
1923
 
1918
- - [#17094](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17094)
1919
- [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds
1920
- missing meta to `ensure-design-token-usage` rule.
1924
+ - [#17094](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17094)
1925
+ [`7da1a30902a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da1a30902a) - Adds
1926
+ missing meta to `ensure-design-token-usage` rule.
1921
1927
 
1922
1928
  ## 4.0.0
1923
1929
 
1924
1930
  ### Major Changes
1925
1931
 
1926
- - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
1927
- [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) -
1928
- Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token
1929
- use. This has now been split up into two separate rules:
1930
-
1931
- `ensure-design-token-usage` now covers:
1932
-
1933
- - `legacyElevation` — warns about old usages of the elevation mixins or styles, which instead
1934
- should use the `card` or `overlay` tokens.
1935
- - `hardCodedColor` — warns about use of hard-coded colors such as `color: colors.B100`, which
1936
- instead should be wrapped in a `token()` call. This covers the majority of cases in existing
1937
- codebases when first adopting tokens.
1938
-
1939
- `no-unsafe-design-token-usage` (new) covers the remaining rules:
1940
-
1941
- - `directTokenUsage` — warns against using the CSS Custom Property name that is output in the
1942
- browser by the `token()` call. Eg. directly using `var(--ds-accent-subtleBlue)` is bad.
1943
- - `staticToken` — warns when tokens aren't used inline. Inlining the token usages helps with
1944
- static analysis, which unlocks future improvements. Eg. pulling the token out into a const
1945
- like `css={ color: token(primaryButtonText) }` is bad.
1946
- - `invalidToken` — warns when using a token that doesn't exist (not one that's been renamed,
1947
- see the next point).
1948
- - `tokenRenamed` — warns when using a token that's been renamed in a subsequent release.
1949
- - `tokenFallbackEnforced` — warns if a fallback for the token call is not provided. Eg. call
1950
- with the fallback like this `token('color.background.disabled', N10)` instead of
1951
- `token('color.background.disabled')`.
1952
- - `tokenFallbackRestricted` — the opposite of `tokenFallbackEnforced`. Eg. do not pass in a
1953
- fallback like this `token('color.background.disabled', N10)` and instead only include the
1954
- token `token('color.background.disabled')`.
1955
-
1956
- Upgrading — some instances of `\\eslint-disable` may need to be changed to the new rule. If you
1957
- have failing lint rules after only bumping this package then switch those ignores to use
1958
- `no-unsafe-design-token-usage` instead.
1959
-
1960
- ### Patch Changes
1961
-
1962
- - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
1963
- for this package now pass through a tokens babel plugin, removing runtime invocations of the
1964
- tokens() function and improving bundle size.
1965
- - [`26719f5b7b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26719f5b7b0) - Update
1966
- @atlaskit tokens dependency from a devDependency to a regular dependency
1967
- - [`a66711cd58c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a66711cd58c) - Remove
1968
- `@atlaskit/tokens` from peer dependency.
1969
- - Updated dependencies
1932
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
1933
+ [`a2f953f3814`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a2f953f3814) -
1934
+ Previously the `ensure-design-token-usage` eslint rule contained all checks relating to token use.
1935
+ This has now been split up into two separate rules:
1936
+
1937
+ `ensure-design-token-usage` now covers:
1938
+
1939
+ - `legacyElevation` — warns about old usages of the elevation mixins or styles, which instead
1940
+ should use the `card` or `overlay` tokens.
1941
+ - `hardCodedColor` — warns about use of hard-coded colors such as `color: colors.B100`, which
1942
+ instead should be wrapped in a `token()` call. This covers the majority of cases in existing
1943
+ codebases when first adopting tokens.
1944
+
1945
+ `no-unsafe-design-token-usage` (new) covers the remaining rules:
1946
+
1947
+ - `directTokenUsage` — warns against using the CSS Custom Property name that is output in the
1948
+ browser by the `token()` call. Eg. directly using `var(--ds-accent-subtleBlue)` is bad.
1949
+ - `staticToken` — warns when tokens aren't used inline. Inlining the token usages helps with
1950
+ static analysis, which unlocks future improvements. Eg. pulling the token out into a const like
1951
+ `css={ color: token(primaryButtonText) }` is bad.
1952
+ - `invalidToken` — warns when using a token that doesn't exist (not one that's been renamed, see
1953
+ the next point).
1954
+ - `tokenRenamed` — warns when using a token that's been renamed in a subsequent release.
1955
+ - `tokenFallbackEnforced` — warns if a fallback for the token call is not provided. Eg. call with
1956
+ the fallback like this `token('color.background.disabled', N10)` instead of
1957
+ `token('color.background.disabled')`.
1958
+ - `tokenFallbackRestricted` — the opposite of `tokenFallbackEnforced`. Eg. do not pass in a
1959
+ fallback like this `token('color.background.disabled', N10)` and instead only include the token
1960
+ `token('color.background.disabled')`.
1961
+
1962
+ Upgrading — some instances of `\\eslint-disable` may need to be changed to the new rule. If you
1963
+ have failing lint rules after only bumping this package then switch those ignores to use
1964
+ `no-unsafe-design-token-usage` instead.
1965
+
1966
+ ### Patch Changes
1967
+
1968
+ - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
1969
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
1970
+ tokens() function and improving bundle size.
1971
+ - [`26719f5b7b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/26719f5b7b0) - Update
1972
+ @atlaskit tokens dependency from a devDependency to a regular dependency
1973
+ - [`a66711cd58c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a66711cd58c) - Remove
1974
+ `@atlaskit/tokens` from peer dependency.
1975
+ - Updated dependencies
1970
1976
 
1971
1977
  ## 3.2.0
1972
1978
 
1973
1979
  ### Minor Changes
1974
1980
 
1975
- - [#16362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16362)
1976
- [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds
1977
- additional rule to design system eslint plugin; no-deprecated-imports.
1981
+ - [#16362](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16362)
1982
+ [`2af46de94ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2af46de94ba) - Adds
1983
+ additional rule to design system eslint plugin; no-deprecated-imports.
1978
1984
 
1979
1985
  ## 3.1.0
1980
1986
 
1981
1987
  ### Minor Changes
1982
1988
 
1983
- - [#16088](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16088)
1984
- [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) -
1985
- Includes additional rule in the recommended ruleset to restrict imports on older deprecated
1986
- components.
1989
+ - [#16088](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16088)
1990
+ [`784f2560e9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/784f2560e9b) - Includes
1991
+ additional rule in the recommended ruleset to restrict imports on older deprecated components.
1987
1992
 
1988
1993
  ## 3.0.0
1989
1994
 
1990
1995
  ### Patch Changes
1991
1996
 
1992
- - Updated dependencies
1997
+ - Updated dependencies
1993
1998
 
1994
1999
  ## 2.0.1
1995
2000
 
1996
2001
  ### Patch Changes
1997
2002
 
1998
- - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
1999
- [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) -
2000
- Introduces fixes for various edge-cases and false positives:
2003
+ - [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
2004
+ [`b6a55ffa092`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b6a55ffa092) -
2005
+ Introduces fixes for various edge-cases and false positives:
2001
2006
 
2002
- - Objects that are not considered "style blocks" are now ignored. Style blocks are considered
2003
- as objects assigned to variables with names containing either "style", "css", or "theme" and
2004
- type annotations including "CSSProperties" or "CSSObject".
2005
- - Hexadecimal colors using the `0x` notation are now ignored
2007
+ - Objects that are not considered "style blocks" are now ignored. Style blocks are considered as
2008
+ objects assigned to variables with names containing either "style", "css", or "theme" and type
2009
+ annotations including "CSSProperties" or "CSSObject".
2010
+ - Hexadecimal colors using the `0x` notation are now ignored
2006
2011
 
2007
- Increasing the linting surface-area:
2012
+ Increasing the linting surface-area:
2008
2013
 
2009
- - Colors used in shorthand css property values will now be linted against. (ie
2010
- `border: solid 1px red`)
2011
- - Strings passed directly into JSX attributes (props) are now linted (ie
2012
- `<Button color="red" />`)
2014
+ - Colors used in shorthand css property values will now be linted against. (ie
2015
+ `border: solid 1px red`)
2016
+ - Strings passed directly into JSX attributes (props) are now linted (ie `<Button color="red" />`)
2013
2017
 
2014
- General improvements:
2018
+ General improvements:
2015
2019
 
2016
- - Color names will now only match against "whole" words. Meaning strings that inadvertently
2017
- include color names like the "tan" in "standard" will no longer fail.
2020
+ - Color names will now only match against "whole" words. Meaning strings that inadvertently
2021
+ include color names like the "tan" in "standard" will no longer fail.
2018
2022
 
2019
- - Template literal styles are now linted against property values only. Meaning css property
2020
- names that include colors like `white-space: nowrap` used in template literals will no
2021
- longer error
2023
+ - Template literal styles are now linted against property values only. Meaning css property names
2024
+ that include colors like `white-space: nowrap` used in template literals will no longer error
2022
2025
 
2023
- - Increased test coverage
2026
+ - Increased test coverage
2024
2027
 
2025
- - Updated dependencies
2028
+ - Updated dependencies
2026
2029
 
2027
2030
  ## 2.0.0
2028
2031
 
2029
2032
  ### Patch Changes
2030
2033
 
2031
- - Updated dependencies
2034
+ - Updated dependencies
2032
2035
 
2033
2036
  ## 1.1.0
2034
2037
 
2035
2038
  ### Minor Changes
2036
2039
 
2037
- - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
2038
- [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You
2039
- can now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are
2040
- now restricted by default.
2040
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
2041
+ [`ac7a0fd6558`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac7a0fd6558) - You can
2042
+ now configure whether fallbacks are enforced or restricted when using tokens. Fallbacks are now
2043
+ restricted by default.
2041
2044
 
2042
2045
  ### Patch Changes
2043
2046
 
2044
- - Updated dependencies
2047
+ - Updated dependencies
2045
2048
 
2046
2049
  ## 1.0.0
2047
2050
 
2048
2051
  ### Minor Changes
2049
2052
 
2050
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
2051
- [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds
2052
- token renaming rule (with autofix) to ensure-design-token-usage
2053
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
2054
+ [`6cc9dc02de1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6cc9dc02de1) - Adds
2055
+ token renaming rule (with autofix) to ensure-design-token-usage
2053
2056
 
2054
2057
  ### Patch Changes
2055
2058
 
2056
- - Updated dependencies
2059
+ - Updated dependencies
2057
2060
 
2058
2061
  ## 0.0.6
2059
2062
 
2060
2063
  ### Patch Changes
2061
2064
 
2062
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
2063
- [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes
2064
- false negative reports for named legacy colors.
2065
- - [`c9d8cc07750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9d8cc07750) -
2066
- Converts internal code to TypeScript.
2067
- - [`8eea79b8ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eea79b8ebc) - Update
2068
- the function of checking if a node is a legacy elevation.
2069
- - [`7da605ccafe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da605ccafe) - Adds
2070
- suggestions for incorrect usages of color and tokens
2071
- - [`f875eb3f5cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f875eb3f5cf) - Will
2072
- only error against hardcoded colors (Identifiers) that are assigned to an object property
2073
- - Updated dependencies
2065
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
2066
+ [`297928490b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/297928490b8) - Fixes
2067
+ false negative reports for named legacy colors.
2068
+ - [`c9d8cc07750`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c9d8cc07750) - Converts
2069
+ internal code to TypeScript.
2070
+ - [`8eea79b8ebc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8eea79b8ebc) - Update
2071
+ the function of checking if a node is a legacy elevation.
2072
+ - [`7da605ccafe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7da605ccafe) - Adds
2073
+ suggestions for incorrect usages of color and tokens
2074
+ - [`f875eb3f5cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f875eb3f5cf) - Will
2075
+ only error against hardcoded colors (Identifiers) that are assigned to an object property
2076
+ - Updated dependencies
2074
2077
 
2075
2078
  ## 0.0.5
2076
2079
 
2077
2080
  ### Patch Changes
2078
2081
 
2079
- - [#12592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12592)
2080
- [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) -
2081
- Restructures tokens into the following format {group}{property}{variant}{state}
2082
- - Updated dependencies
2082
+ - [#12592](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12592)
2083
+ [`e11b3e4e1ee`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e11b3e4e1ee) -
2084
+ Restructures tokens into the following format {group}{property}{variant}{state}
2085
+ - Updated dependencies
2083
2086
 
2084
2087
  ## 0.0.4
2085
2088
 
2086
2089
  ### Patch Changes
2087
2090
 
2088
- - [#12528](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12528)
2089
- [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds,
2090
- removes & renames tokens
2091
+ - [#12528](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12528)
2092
+ [`1926dba3536`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1926dba3536) - Adds,
2093
+ removes & renames tokens
2091
2094
 
2092
- Adds:
2095
+ Adds:
2093
2096
 
2094
- - `color.backgroundSelect`
2097
+ - `color.backgroundSelect`
2095
2098
 
2096
- Renames:
2099
+ Renames:
2097
2100
 
2098
- - `color.borderTextHighlighted` to `color.bordertextSelected`
2099
- - `elevation.base` to `evelation.backgroundDefault`
2100
- - `elevation.flatSecondary` to `elevation.backgroundSunken`
2101
- - `elevation.backgroundCard` to `color.backgroundCard`
2102
- - `elevation.backgroundOverlay` to `color.backgroundOverlay`
2103
- - `elevation.borderOverlay` to `color.borderOverlay`
2104
- - `elevation.shadowCard` to `shadow.card`
2105
- - `elevation.shadowOverlay` to `shadow.overlay`
2101
+ - `color.borderTextHighlighted` to `color.bordertextSelected`
2102
+ - `elevation.base` to `evelation.backgroundDefault`
2103
+ - `elevation.flatSecondary` to `elevation.backgroundSunken`
2104
+ - `elevation.backgroundCard` to `color.backgroundCard`
2105
+ - `elevation.backgroundOverlay` to `color.backgroundOverlay`
2106
+ - `elevation.borderOverlay` to `color.borderOverlay`
2107
+ - `elevation.shadowCard` to `shadow.card`
2108
+ - `elevation.shadowOverlay` to `shadow.overlay`
2106
2109
 
2107
- Removes:
2110
+ Removes:
2108
2111
 
2109
- - `elevation.boarderFlatPrimary`
2112
+ - `elevation.boarderFlatPrimary`
2110
2113
 
2111
- Updates:
2114
+ Updates:
2112
2115
 
2113
- - `elevation.shadowOverlay` value to `DN100`
2114
- - `color.textWarning` in light mode to `O800`
2115
- - `color.iconBorderWarning` in light mode to `O600`
2116
+ - `elevation.shadowOverlay` value to `DN100`
2117
+ - `color.textWarning` in light mode to `O800`
2118
+ - `color.iconBorderWarning` in light mode to `O600`
2116
2119
 
2117
- - Updated dependencies
2120
+ - Updated dependencies
2118
2121
 
2119
2122
  ## 0.0.3
2120
2123
 
2121
2124
  ### Patch Changes
2122
2125
 
2123
- - [#12570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12570)
2124
- [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of
2125
- the box configs have been removed until stable release.
2126
- - [`f2a0a48903d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a0a48903d) - Errors
2127
- no longer show up on import declarations.
2128
- - [`b71d3cd3d2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71d3cd3d2f) -
2129
- Internal artefacts no longer make their way to npm.
2126
+ - [#12570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12570)
2127
+ [`ade8d954aa5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ade8d954aa5) - Out of
2128
+ the box configs have been removed until stable release.
2129
+ - [`f2a0a48903d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f2a0a48903d) - Errors
2130
+ no longer show up on import declarations.
2131
+ - [`b71d3cd3d2f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b71d3cd3d2f) - Internal
2132
+ artefacts no longer make their way to npm.
2130
2133
 
2131
2134
  ## 0.0.2
2132
2135
 
2133
2136
  ### Patch Changes
2134
2137
 
2135
- - [#12444](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12444)
2136
- [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves
2137
- tokens and eslint-plugin-design-system to the public namespace.
2138
- - Updated dependencies
2138
+ - [#12444](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12444)
2139
+ [`769ea83469c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/769ea83469c) - Moves
2140
+ tokens and eslint-plugin-design-system to the public namespace.
2141
+ - Updated dependencies
2139
2142
 
2140
2143
  ## 0.0.1
2141
2144
 
2142
2145
  ### Patch Changes
2143
2146
 
2144
- - [#11993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11993)
2145
- [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) -
2146
- Initial commit.
2147
- - Updated dependencies
2147
+ - [#11993](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11993)
2148
+ [`c5ae5c84d47`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5ae5c84d47) - Initial
2149
+ commit.
2150
+ - Updated dependencies