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