@atlaskit/eslint-plugin-design-system 10.4.2 → 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 +1024 -1021
- 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 +2 -2
- package/dist/cjs/presets/recommended.codegen.js +3 -2
- package/dist/cjs/rules/index.codegen.js +1 -1
- package/dist/cjs/rules/no-html-button/index.js +1 -1
- package/dist/cjs/rules/use-latest-xcss-syntax/index.js +1 -1
- package/dist/cjs/rules/use-latest-xcss-syntax/transformers/style-property/supported.js +1 -1
- package/dist/es2019/index.codegen.js +1 -1
- package/dist/es2019/presets/all.codegen.js +2 -2
- package/dist/es2019/presets/recommended.codegen.js +3 -2
- package/dist/es2019/rules/index.codegen.js +1 -1
- package/dist/es2019/rules/no-html-button/index.js +1 -1
- package/dist/es2019/rules/use-latest-xcss-syntax/index.js +1 -1
- package/dist/es2019/rules/use-latest-xcss-syntax/transformers/style-property/supported.js +1 -1
- package/dist/esm/index.codegen.js +1 -1
- package/dist/esm/presets/all.codegen.js +2 -2
- package/dist/esm/presets/recommended.codegen.js +3 -2
- package/dist/esm/rules/index.codegen.js +1 -1
- package/dist/esm/rules/no-html-button/index.js +1 -1
- package/dist/esm/rules/use-latest-xcss-syntax/index.js +1 -1
- package/dist/esm/rules/use-latest-xcss-syntax/transformers/style-property/supported.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 +4 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,1042 +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
|
+
|
|
11
|
+
## 10.4.3
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
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
|
|
19
|
+
|
|
3
20
|
## 10.4.2
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
6
23
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
|
10
27
|
|
|
11
28
|
## 10.4.1
|
|
12
29
|
|
|
13
30
|
### Patch Changes
|
|
14
31
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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.
|
|
19
36
|
|
|
20
37
|
## 10.4.0
|
|
21
38
|
|
|
22
39
|
### Minor Changes
|
|
23
40
|
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
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.
|
|
27
44
|
|
|
28
45
|
## 10.3.1
|
|
29
46
|
|
|
30
47
|
### Patch Changes
|
|
31
48
|
|
|
32
|
-
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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.
|
|
36
53
|
|
|
37
54
|
## 10.3.0
|
|
38
55
|
|
|
39
56
|
### Minor Changes
|
|
40
57
|
|
|
41
|
-
-
|
|
42
|
-
|
|
43
|
-
|
|
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
|
|
44
61
|
|
|
45
62
|
## 10.2.1
|
|
46
63
|
|
|
47
64
|
### Patch Changes
|
|
48
65
|
|
|
49
|
-
-
|
|
50
|
-
|
|
51
|
-
|
|
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.
|
|
52
69
|
|
|
53
70
|
## 10.2.0
|
|
54
71
|
|
|
55
72
|
### Minor Changes
|
|
56
73
|
|
|
57
|
-
-
|
|
58
|
-
|
|
59
|
-
|
|
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.
|
|
60
77
|
|
|
61
78
|
## 10.1.0
|
|
62
79
|
|
|
63
80
|
### Minor Changes
|
|
64
81
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
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
|
|
68
85
|
|
|
69
86
|
## 10.0.1
|
|
70
87
|
|
|
71
88
|
### Patch Changes
|
|
72
89
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
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.
|
|
77
94
|
|
|
78
95
|
## 10.0.0
|
|
79
96
|
|
|
80
97
|
### Major Changes
|
|
81
98
|
|
|
82
|
-
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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"`.
|
|
88
105
|
|
|
89
106
|
### Minor Changes
|
|
90
107
|
|
|
91
|
-
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
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.
|
|
95
112
|
|
|
96
113
|
## 9.7.0
|
|
97
114
|
|
|
98
115
|
### Minor Changes
|
|
99
116
|
|
|
100
|
-
-
|
|
101
|
-
|
|
102
|
-
|
|
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.
|
|
103
120
|
|
|
104
121
|
## 9.6.0
|
|
105
122
|
|
|
106
123
|
### Minor Changes
|
|
107
124
|
|
|
108
|
-
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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.
|
|
112
129
|
|
|
113
130
|
## 9.5.2
|
|
114
131
|
|
|
115
132
|
### Patch Changes
|
|
116
133
|
|
|
117
|
-
-
|
|
118
|
-
|
|
119
|
-
|
|
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
|
|
120
137
|
|
|
121
138
|
## 9.5.1
|
|
122
139
|
|
|
123
140
|
### Patch Changes
|
|
124
141
|
|
|
125
|
-
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
-
|
|
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
|
|
130
147
|
|
|
131
148
|
## 9.5.0
|
|
132
149
|
|
|
133
150
|
### Minor Changes
|
|
134
151
|
|
|
135
|
-
-
|
|
136
|
-
|
|
137
|
-
|
|
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.
|
|
138
155
|
|
|
139
156
|
## 9.4.1
|
|
140
157
|
|
|
141
158
|
### Patch Changes
|
|
142
159
|
|
|
143
|
-
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
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.
|
|
147
164
|
|
|
148
165
|
## 9.4.0
|
|
149
166
|
|
|
150
167
|
### Minor Changes
|
|
151
168
|
|
|
152
|
-
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
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.
|
|
156
173
|
|
|
157
174
|
## 9.3.1
|
|
158
175
|
|
|
159
176
|
### Patch Changes
|
|
160
177
|
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
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.
|
|
166
183
|
|
|
167
184
|
## 9.3.0
|
|
168
185
|
|
|
169
186
|
### Minor Changes
|
|
170
187
|
|
|
171
|
-
-
|
|
172
|
-
|
|
173
|
-
|
|
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
|
|
174
191
|
|
|
175
192
|
### Patch Changes
|
|
176
193
|
|
|
177
|
-
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
-
|
|
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
|
|
181
198
|
|
|
182
199
|
## 9.2.5
|
|
183
200
|
|
|
184
201
|
### Patch Changes
|
|
185
202
|
|
|
186
|
-
-
|
|
187
|
-
|
|
188
|
-
|
|
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.
|
|
189
206
|
|
|
190
207
|
## 9.2.4
|
|
191
208
|
|
|
192
209
|
### Patch Changes
|
|
193
210
|
|
|
194
|
-
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
-
|
|
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
|
|
198
215
|
|
|
199
216
|
## 9.2.3
|
|
200
217
|
|
|
201
218
|
### Patch Changes
|
|
202
219
|
|
|
203
|
-
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
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.
|
|
208
225
|
|
|
209
226
|
## 9.2.2
|
|
210
227
|
|
|
211
228
|
### Patch Changes
|
|
212
229
|
|
|
213
|
-
-
|
|
214
|
-
|
|
215
|
-
|
|
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:
|
|
216
233
|
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
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.
|
|
221
238
|
|
|
222
239
|
## 9.2.1
|
|
223
240
|
|
|
224
241
|
### Patch Changes
|
|
225
242
|
|
|
226
|
-
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
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.
|
|
231
247
|
|
|
232
248
|
## 9.2.0
|
|
233
249
|
|
|
234
250
|
### Minor Changes
|
|
235
251
|
|
|
236
|
-
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
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.
|
|
241
257
|
|
|
242
258
|
## 9.1.0
|
|
243
259
|
|
|
244
260
|
### Minor Changes
|
|
245
261
|
|
|
246
|
-
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
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.
|
|
250
266
|
|
|
251
267
|
## 9.0.0
|
|
252
268
|
|
|
253
269
|
### Major Changes
|
|
254
270
|
|
|
255
|
-
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
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".
|
|
259
275
|
|
|
260
|
-
|
|
276
|
+
[BREAKING] Some rule options have been changed:
|
|
261
277
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
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.
|
|
269
285
|
|
|
270
286
|
## 8.38.0
|
|
271
287
|
|
|
272
288
|
### Minor Changes
|
|
273
289
|
|
|
274
|
-
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
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.
|
|
278
293
|
|
|
279
294
|
## 8.37.3
|
|
280
295
|
|
|
281
296
|
### Patch Changes
|
|
282
297
|
|
|
283
|
-
-
|
|
284
|
-
|
|
285
|
-
|
|
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`
|
|
286
301
|
|
|
287
302
|
## 8.37.2
|
|
288
303
|
|
|
289
304
|
### Patch Changes
|
|
290
305
|
|
|
291
|
-
-
|
|
292
|
-
|
|
293
|
-
|
|
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`:
|
|
294
309
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
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).
|
|
298
313
|
|
|
299
|
-
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
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.
|
|
304
318
|
|
|
305
319
|
## 8.37.1
|
|
306
320
|
|
|
307
321
|
### Patch Changes
|
|
308
322
|
|
|
309
|
-
-
|
|
310
|
-
|
|
311
|
-
|
|
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.
|
|
312
326
|
|
|
313
327
|
## 8.37.0
|
|
314
328
|
|
|
315
329
|
### Minor Changes
|
|
316
330
|
|
|
317
|
-
-
|
|
318
|
-
|
|
319
|
-
|
|
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
|
|
320
334
|
|
|
321
335
|
## 8.36.3
|
|
322
336
|
|
|
323
337
|
### Patch Changes
|
|
324
338
|
|
|
325
|
-
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
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
|
|
329
343
|
|
|
330
344
|
## 8.36.2
|
|
331
345
|
|
|
332
346
|
### Patch Changes
|
|
333
347
|
|
|
334
|
-
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
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-…`
|
|
346
360
|
|
|
347
361
|
## 8.36.1
|
|
348
362
|
|
|
349
363
|
### Patch Changes
|
|
350
364
|
|
|
351
|
-
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
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.
|
|
355
369
|
|
|
356
370
|
## 8.36.0
|
|
357
371
|
|
|
358
372
|
### Minor Changes
|
|
359
373
|
|
|
360
|
-
-
|
|
361
|
-
|
|
362
|
-
|
|
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.
|
|
363
377
|
|
|
364
378
|
## 8.35.1
|
|
365
379
|
|
|
366
380
|
### Patch Changes
|
|
367
381
|
|
|
368
|
-
-
|
|
369
|
-
|
|
370
|
-
|
|
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
|
|
371
385
|
|
|
372
386
|
## 8.35.0
|
|
373
387
|
|
|
374
388
|
### Minor Changes
|
|
375
389
|
|
|
376
|
-
-
|
|
377
|
-
|
|
378
|
-
|
|
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
|
|
379
393
|
|
|
380
394
|
### Patch Changes
|
|
381
395
|
|
|
382
|
-
-
|
|
396
|
+
- Updated dependencies
|
|
383
397
|
|
|
384
398
|
## 8.34.0
|
|
385
399
|
|
|
386
400
|
### Minor Changes
|
|
387
401
|
|
|
388
|
-
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
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.
|
|
392
406
|
|
|
393
407
|
## 8.33.0
|
|
394
408
|
|
|
395
409
|
### Minor Changes
|
|
396
410
|
|
|
397
|
-
-
|
|
398
|
-
|
|
399
|
-
|
|
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.
|
|
400
414
|
|
|
401
415
|
## 8.32.2
|
|
402
416
|
|
|
403
417
|
### Patch Changes
|
|
404
418
|
|
|
405
|
-
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
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
|
|
409
423
|
|
|
410
424
|
## 8.32.1
|
|
411
425
|
|
|
412
426
|
### Patch Changes
|
|
413
427
|
|
|
414
|
-
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
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.
|
|
418
432
|
|
|
419
433
|
## 8.32.0
|
|
420
434
|
|
|
421
435
|
### Minor Changes
|
|
422
436
|
|
|
423
|
-
-
|
|
424
|
-
|
|
425
|
-
|
|
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
|
|
426
440
|
|
|
427
441
|
## 8.31.0
|
|
428
442
|
|
|
429
443
|
### Minor Changes
|
|
430
444
|
|
|
431
|
-
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
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.
|
|
436
449
|
|
|
437
450
|
## 8.30.0
|
|
438
451
|
|
|
439
452
|
### Minor Changes
|
|
440
453
|
|
|
441
|
-
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
|
444
457
|
|
|
445
458
|
## 8.29.1
|
|
446
459
|
|
|
447
460
|
### Patch Changes
|
|
448
461
|
|
|
449
|
-
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
-
|
|
453
|
-
|
|
454
|
-
|
|
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
|
|
455
468
|
|
|
456
469
|
## 8.29.0
|
|
457
470
|
|
|
458
471
|
### Minor Changes
|
|
459
472
|
|
|
460
|
-
-
|
|
461
|
-
|
|
462
|
-
|
|
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.
|
|
463
476
|
|
|
464
477
|
## 8.28.0
|
|
465
478
|
|
|
466
479
|
### Minor Changes
|
|
467
480
|
|
|
468
|
-
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
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`
|
|
472
485
|
|
|
473
486
|
## 8.27.0
|
|
474
487
|
|
|
475
488
|
### Minor Changes
|
|
476
489
|
|
|
477
|
-
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
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.
|
|
481
494
|
|
|
482
|
-
|
|
495
|
+
1. Add autofixer to add the `css` function for the following scenario:
|
|
483
496
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
497
|
+
```
|
|
498
|
+
const styles = { ... };
|
|
499
|
+
<div css={styles} />
|
|
500
|
+
```
|
|
488
501
|
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
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.
|
|
492
505
|
|
|
493
|
-
|
|
506
|
+
(This rule would previously only autofix if the file was originally `<div css={{ ... }} />`)
|
|
494
507
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
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.
|
|
498
510
|
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
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.
|
|
504
516
|
|
|
505
|
-
|
|
517
|
+
4. Treat `{ ... } as const` statements the same way as `{ ... }` objects.
|
|
506
518
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
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.
|
|
513
525
|
|
|
514
526
|
## 8.26.0
|
|
515
527
|
|
|
516
528
|
### Minor Changes
|
|
517
529
|
|
|
518
|
-
-
|
|
519
|
-
|
|
520
|
-
|
|
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.
|
|
521
533
|
|
|
522
|
-
|
|
534
|
+
Rules added:
|
|
523
535
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
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
|
|
529
541
|
|
|
530
|
-
|
|
542
|
+
Changes made:
|
|
531
543
|
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
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
|
|
535
547
|
|
|
536
548
|
## 8.25.2
|
|
537
549
|
|
|
538
550
|
### Patch Changes
|
|
539
551
|
|
|
540
|
-
-
|
|
541
|
-
|
|
542
|
-
|
|
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.
|
|
543
555
|
|
|
544
556
|
## 8.25.1
|
|
545
557
|
|
|
546
558
|
### Patch Changes
|
|
547
559
|
|
|
548
|
-
-
|
|
549
|
-
|
|
550
|
-
|
|
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
|
|
551
563
|
|
|
552
564
|
## 8.25.0
|
|
553
565
|
|
|
554
566
|
### Minor Changes
|
|
555
567
|
|
|
556
|
-
-
|
|
557
|
-
|
|
558
|
-
|
|
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.
|
|
559
571
|
|
|
560
572
|
## 8.24.0
|
|
561
573
|
|
|
562
574
|
### Minor Changes
|
|
563
575
|
|
|
564
|
-
-
|
|
565
|
-
|
|
566
|
-
|
|
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.
|
|
567
579
|
|
|
568
580
|
## 8.23.4
|
|
569
581
|
|
|
570
582
|
### Patch Changes
|
|
571
583
|
|
|
572
|
-
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
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.
|
|
576
588
|
|
|
577
|
-
|
|
578
|
-
|
|
589
|
+
Internal changes: Also refactored the utility functions used by
|
|
590
|
+
`no-css-tagged-template-expression`.
|
|
579
591
|
|
|
580
592
|
## 8.23.3
|
|
581
593
|
|
|
582
594
|
### Patch Changes
|
|
583
595
|
|
|
584
|
-
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
-
|
|
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
|
|
588
600
|
|
|
589
601
|
## 8.23.2
|
|
590
602
|
|
|
591
603
|
### Patch Changes
|
|
592
604
|
|
|
593
|
-
-
|
|
594
|
-
|
|
595
|
-
|
|
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.
|
|
596
608
|
|
|
597
609
|
## 8.23.1
|
|
598
610
|
|
|
599
611
|
### Patch Changes
|
|
600
612
|
|
|
601
|
-
-
|
|
602
|
-
|
|
603
|
-
|
|
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.
|
|
604
616
|
|
|
605
617
|
## 8.23.0
|
|
606
618
|
|
|
607
619
|
### Minor Changes
|
|
608
620
|
|
|
609
|
-
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
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
|
|
613
625
|
|
|
614
626
|
### Patch Changes
|
|
615
627
|
|
|
616
|
-
-
|
|
628
|
+
- Updated dependencies
|
|
617
629
|
|
|
618
630
|
## 8.22.0
|
|
619
631
|
|
|
620
632
|
### Minor Changes
|
|
621
633
|
|
|
622
|
-
-
|
|
623
|
-
|
|
624
|
-
|
|
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
|
|
625
637
|
|
|
626
638
|
## 8.21.0
|
|
627
639
|
|
|
628
640
|
### Minor Changes
|
|
629
641
|
|
|
630
|
-
-
|
|
631
|
-
|
|
632
|
-
|
|
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.
|
|
633
645
|
|
|
634
646
|
## 8.20.0
|
|
635
647
|
|
|
636
648
|
### Minor Changes
|
|
637
649
|
|
|
638
|
-
-
|
|
639
|
-
|
|
640
|
-
|
|
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
|
|
641
653
|
|
|
642
654
|
### Patch Changes
|
|
643
655
|
|
|
644
|
-
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
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.
|
|
648
660
|
|
|
649
661
|
## 8.19.2
|
|
650
662
|
|
|
651
663
|
### Patch Changes
|
|
652
664
|
|
|
653
|
-
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
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.
|
|
657
669
|
|
|
658
670
|
## 8.19.1
|
|
659
671
|
|
|
660
672
|
### Patch Changes
|
|
661
673
|
|
|
662
|
-
-
|
|
663
|
-
|
|
664
|
-
|
|
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.
|
|
665
677
|
|
|
666
678
|
## 8.19.0
|
|
667
679
|
|
|
668
680
|
### Minor Changes
|
|
669
681
|
|
|
670
|
-
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
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.
|
|
674
686
|
|
|
675
687
|
## 8.18.1
|
|
676
688
|
|
|
677
689
|
### Patch Changes
|
|
678
690
|
|
|
679
|
-
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
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.
|
|
683
695
|
|
|
684
696
|
## 8.18.0
|
|
685
697
|
|
|
686
698
|
### Minor Changes
|
|
687
699
|
|
|
688
|
-
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
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.
|
|
692
704
|
|
|
693
705
|
## 8.17.0
|
|
694
706
|
|
|
695
707
|
### Minor Changes
|
|
696
708
|
|
|
697
|
-
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
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.
|
|
701
713
|
|
|
702
714
|
## 8.16.0
|
|
703
715
|
|
|
704
716
|
### Minor Changes
|
|
705
717
|
|
|
706
|
-
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
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.
|
|
710
722
|
|
|
711
723
|
## 8.15.5
|
|
712
724
|
|
|
713
725
|
### Patch Changes
|
|
714
726
|
|
|
715
|
-
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
-
|
|
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
|
|
719
731
|
|
|
720
732
|
## 8.15.4
|
|
721
733
|
|
|
722
734
|
### Patch Changes
|
|
723
735
|
|
|
724
|
-
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
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.
|
|
728
740
|
|
|
729
741
|
## 8.15.3
|
|
730
742
|
|
|
731
743
|
### Patch Changes
|
|
732
744
|
|
|
733
|
-
-
|
|
734
|
-
|
|
735
|
-
|
|
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).
|
|
736
748
|
|
|
737
749
|
## 8.15.2
|
|
738
750
|
|
|
739
751
|
### Patch Changes
|
|
740
752
|
|
|
741
|
-
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
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.
|
|
745
756
|
|
|
746
757
|
## 8.15.1
|
|
747
758
|
|
|
748
759
|
### Patch Changes
|
|
749
760
|
|
|
750
|
-
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
-
|
|
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
|
|
754
765
|
|
|
755
766
|
## 8.15.0
|
|
756
767
|
|
|
757
768
|
### Minor Changes
|
|
758
769
|
|
|
759
|
-
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
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.
|
|
763
774
|
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
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
|
|
767
778
|
|
|
768
779
|
## 8.14.1
|
|
769
780
|
|
|
770
781
|
### Patch Changes
|
|
771
782
|
|
|
772
|
-
-
|
|
773
|
-
|
|
774
|
-
|
|
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.
|
|
775
786
|
|
|
776
787
|
## 8.14.0
|
|
777
788
|
|
|
778
789
|
### Minor Changes
|
|
779
790
|
|
|
780
|
-
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
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.
|
|
785
796
|
|
|
786
797
|
## 8.13.1
|
|
787
798
|
|
|
788
799
|
### Patch Changes
|
|
789
800
|
|
|
790
|
-
-
|
|
791
|
-
|
|
792
|
-
|
|
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.
|
|
793
804
|
|
|
794
805
|
## 8.13.0
|
|
795
806
|
|
|
796
807
|
### Minor Changes
|
|
797
808
|
|
|
798
|
-
-
|
|
799
|
-
|
|
800
|
-
|
|
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.
|
|
801
812
|
|
|
802
813
|
## 8.12.1
|
|
803
814
|
|
|
804
815
|
### Patch Changes
|
|
805
816
|
|
|
806
|
-
-
|
|
807
|
-
|
|
808
|
-
|
|
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.
|
|
809
820
|
|
|
810
821
|
## 8.12.0
|
|
811
822
|
|
|
812
823
|
### Minor Changes
|
|
813
824
|
|
|
814
|
-
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
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.
|
|
819
830
|
|
|
820
831
|
## 8.11.0
|
|
821
832
|
|
|
822
833
|
### Minor Changes
|
|
823
834
|
|
|
824
|
-
-
|
|
825
|
-
|
|
826
|
-
|
|
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.
|
|
827
838
|
|
|
828
839
|
## 8.10.1
|
|
829
840
|
|
|
830
841
|
### Patch Changes
|
|
831
842
|
|
|
832
|
-
-
|
|
833
|
-
|
|
834
|
-
|
|
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.
|
|
835
846
|
|
|
836
847
|
## 8.10.0
|
|
837
848
|
|
|
838
849
|
### Minor Changes
|
|
839
850
|
|
|
840
|
-
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
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.
|
|
844
855
|
|
|
845
856
|
## 8.9.0
|
|
846
857
|
|
|
847
858
|
### Minor Changes
|
|
848
859
|
|
|
849
|
-
-
|
|
850
|
-
|
|
851
|
-
|
|
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.
|
|
852
863
|
|
|
853
864
|
## 8.8.1
|
|
854
865
|
|
|
855
866
|
### Patch Changes
|
|
856
867
|
|
|
857
|
-
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
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.
|
|
861
872
|
|
|
862
873
|
## 8.8.0
|
|
863
874
|
|
|
864
875
|
### Minor Changes
|
|
865
876
|
|
|
866
|
-
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
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.
|
|
870
881
|
|
|
871
882
|
## 8.7.1
|
|
872
883
|
|
|
873
884
|
### Patch Changes
|
|
874
885
|
|
|
875
|
-
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
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).
|
|
880
890
|
|
|
881
891
|
## 8.7.0
|
|
882
892
|
|
|
883
893
|
### Minor Changes
|
|
884
894
|
|
|
885
|
-
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
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.
|
|
889
899
|
|
|
890
900
|
## 8.6.0
|
|
891
901
|
|
|
892
902
|
### Minor Changes
|
|
893
903
|
|
|
894
|
-
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
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.
|
|
898
908
|
|
|
899
909
|
### Patch Changes
|
|
900
910
|
|
|
901
|
-
-
|
|
911
|
+
- Updated dependencies
|
|
902
912
|
|
|
903
913
|
## 8.5.0
|
|
904
914
|
|
|
905
915
|
### Minor Changes
|
|
906
916
|
|
|
907
|
-
-
|
|
908
|
-
|
|
909
|
-
|
|
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
|
|
910
920
|
|
|
911
921
|
## 8.4.5
|
|
912
922
|
|
|
913
923
|
### Patch Changes
|
|
914
924
|
|
|
915
|
-
-
|
|
916
|
-
|
|
917
|
-
|
|
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.
|
|
918
928
|
|
|
919
929
|
## 8.4.4
|
|
920
930
|
|
|
921
931
|
### Patch Changes
|
|
922
932
|
|
|
923
|
-
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
-
|
|
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
|
|
928
938
|
|
|
929
939
|
## 8.4.3
|
|
930
940
|
|
|
931
941
|
### Patch Changes
|
|
932
942
|
|
|
933
|
-
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
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.
|
|
937
947
|
|
|
938
948
|
## 8.4.2
|
|
939
949
|
|
|
940
950
|
### Patch Changes
|
|
941
951
|
|
|
942
|
-
-
|
|
943
|
-
|
|
944
|
-
|
|
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.
|
|
945
955
|
|
|
946
956
|
## 8.4.1
|
|
947
957
|
|
|
948
958
|
### Patch Changes
|
|
949
959
|
|
|
950
|
-
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
-
|
|
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
|
|
954
964
|
|
|
955
965
|
## 8.4.0
|
|
956
966
|
|
|
957
967
|
### Minor Changes
|
|
958
968
|
|
|
959
|
-
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
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.
|
|
964
973
|
|
|
965
974
|
## 8.3.0
|
|
966
975
|
|
|
967
976
|
### Minor Changes
|
|
968
977
|
|
|
969
|
-
-
|
|
970
|
-
|
|
971
|
-
|
|
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`
|
|
972
981
|
|
|
973
982
|
## 8.2.2
|
|
974
983
|
|
|
975
984
|
### Patch Changes
|
|
976
985
|
|
|
977
|
-
-
|
|
978
|
-
|
|
979
|
-
|
|
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.
|
|
980
989
|
|
|
981
990
|
## 8.2.1
|
|
982
991
|
|
|
983
992
|
### Patch Changes
|
|
984
993
|
|
|
985
|
-
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
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.
|
|
991
1000
|
|
|
992
1001
|
## 8.2.0
|
|
993
1002
|
|
|
994
1003
|
### Minor Changes
|
|
995
1004
|
|
|
996
|
-
-
|
|
997
|
-
|
|
998
|
-
|
|
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.
|
|
999
1008
|
|
|
1000
1009
|
## 8.1.0
|
|
1001
1010
|
|
|
1002
1011
|
### Minor Changes
|
|
1003
1012
|
|
|
1004
|
-
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
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.
|
|
1009
1018
|
|
|
1010
1019
|
## 8.0.2
|
|
1011
1020
|
|
|
1012
1021
|
### Patch Changes
|
|
1013
1022
|
|
|
1014
|
-
-
|
|
1015
|
-
|
|
1016
|
-
|
|
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`.
|
|
1017
1026
|
|
|
1018
1027
|
## 8.0.1
|
|
1019
1028
|
|
|
1020
1029
|
### Patch Changes
|
|
1021
1030
|
|
|
1022
|
-
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
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.
|
|
1026
1035
|
|
|
1027
1036
|
## 8.0.0
|
|
1028
1037
|
|
|
1029
1038
|
### Major Changes
|
|
1030
1039
|
|
|
1031
|
-
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
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`.
|
|
1035
1122
|
|
|
1036
|
-
|
|
1123
|
+
To update to this version:
|
|
1037
1124
|
|
|
1038
|
-
|
|
1039
|
-
|
|
1125
|
+
- If you are using the `ensure-design-token-usage` rule, add the `domains` property with a value
|
|
1126
|
+
of `['color']`:
|
|
1040
1127
|
|
|
1041
1128
|
```js
|
|
1042
1129
|
rules: {
|
|
@@ -1050,1089 +1137,1005 @@
|
|
|
1050
1137
|
},
|
|
1051
1138
|
```
|
|
1052
1139
|
|
|
1053
|
-
|
|
1054
|
-
|
|
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.
|
|
1055
1142
|
|
|
1056
1143
|
```js
|
|
1057
1144
|
rules: {
|
|
1058
|
-
'@atlaskit/design-system/ensure-design-token-usage/preview': [
|
|
1059
|
-
'warn',
|
|
1060
|
-
{
|
|
1061
|
-
domains: ['spacing'],
|
|
1062
|
-
shouldEnforceFallbacks: false
|
|
1063
|
-
},
|
|
1064
|
-
],
|
|
1065
1145
|
'@atlaskit/design-system/ensure-design-token-usage': [
|
|
1066
1146
|
'error',
|
|
1067
1147
|
{
|
|
1068
|
-
domains: ['color'],
|
|
1148
|
+
domains: ['color', 'spacing'],
|
|
1069
1149
|
shouldEnforceFallbacks: false
|
|
1070
1150
|
},
|
|
1071
1151
|
],
|
|
1072
1152
|
},
|
|
1073
1153
|
```
|
|
1074
1154
|
|
|
1075
|
-
|
|
1076
|
-
`gridSize` to space tokens.
|
|
1077
|
-
|
|
1078
|
-
## 7.0.3
|
|
1079
|
-
|
|
1080
|
-
### Patch Changes
|
|
1081
|
-
|
|
1082
|
-
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
1083
|
-
[`81c15e86b18`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81c15e86b18) -
|
|
1084
|
-
Improved autofix for 50% border radius to shape token.
|
|
1085
|
-
|
|
1086
|
-
## 7.0.2
|
|
1087
|
-
|
|
1088
|
-
### Patch Changes
|
|
1089
|
-
|
|
1090
|
-
- [#35950](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35950)
|
|
1091
|
-
[`50cf866a219`](https://bitbucket.org/atlassian/atlassian-frontend/commits/50cf866a219) - bump
|
|
1092
|
-
semver
|
|
1093
|
-
|
|
1094
|
-
## 7.0.1
|
|
1095
|
-
|
|
1096
|
-
### Patch Changes
|
|
1097
|
-
|
|
1098
|
-
- [#36144](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36144)
|
|
1099
|
-
[`8c955333863`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c955333863) - Fix
|
|
1100
|
-
ensure-design-token-usage to declare that is has suggestions, unblocking ESLint 7+ usage.
|
|
1101
|
-
|
|
1102
|
-
## 7.0.0
|
|
1103
|
-
|
|
1104
|
-
### Major Changes
|
|
1105
|
-
|
|
1106
|
-
- [#35383](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35383)
|
|
1107
|
-
[`177c8c14160`](https://bitbucket.org/atlassian/atlassian-frontend/commits/177c8c14160) - Merged
|
|
1108
|
-
the `ensure-design-token-usage` and `ensure-design-token-usage-spacing` rules into a single
|
|
1109
|
-
rule: `ensure-design-token-usage`. This rule enforces color and space tokens and will be
|
|
1110
|
-
extended to enforce domains such as typography and shape in the future. The rule accepts a
|
|
1111
|
-
`domains` option which allows you to specify which domains to lint, currently defaulting to
|
|
1112
|
-
'color' and 'space'. This rule defaults to `error`.
|
|
1113
|
-
|
|
1114
|
-
To update to this version:
|
|
1115
|
-
|
|
1116
|
-
- If you are using the `ensure-design-token-usage` rule, add the `domains` property with a
|
|
1117
|
-
value of `['color']`:
|
|
1118
|
-
|
|
1119
|
-
```js
|
|
1120
|
-
rules: {
|
|
1121
|
-
'@atlaskit/design-system/ensure-design-token-usage': [
|
|
1122
|
-
'error',
|
|
1123
|
-
{
|
|
1124
|
-
domains: ['color'],
|
|
1125
|
-
shouldEnforceFallbacks: false
|
|
1126
|
-
},
|
|
1127
|
-
],
|
|
1128
|
-
},
|
|
1129
|
-
```
|
|
1130
|
-
|
|
1131
|
-
- If you are using the `ensure-design-token-usage-spacing` rule, remove any references to it
|
|
1132
|
-
and add `'spacing'` to the domains array above.
|
|
1133
|
-
|
|
1134
|
-
```js
|
|
1135
|
-
rules: {
|
|
1136
|
-
'@atlaskit/design-system/ensure-design-token-usage': [
|
|
1137
|
-
'error',
|
|
1138
|
-
{
|
|
1139
|
-
domains: ['color', 'spacing'],
|
|
1140
|
-
shouldEnforceFallbacks: false
|
|
1141
|
-
},
|
|
1142
|
-
],
|
|
1143
|
-
},
|
|
1144
|
-
```
|
|
1145
|
-
|
|
1146
|
-
- 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.
|
|
1147
1156
|
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
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.
|
|
1152
1161
|
|
|
1153
1162
|
## 6.2.1
|
|
1154
1163
|
|
|
1155
1164
|
### Patch Changes
|
|
1156
1165
|
|
|
1157
|
-
-
|
|
1158
|
-
|
|
1159
|
-
|
|
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.
|
|
1160
1169
|
|
|
1161
1170
|
## 6.2.0
|
|
1162
1171
|
|
|
1163
1172
|
### Minor Changes
|
|
1164
1173
|
|
|
1165
|
-
-
|
|
1166
|
-
|
|
1167
|
-
|
|
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
|
|
1168
1177
|
|
|
1169
1178
|
## 6.1.0
|
|
1170
1179
|
|
|
1171
1180
|
### Minor Changes
|
|
1172
1181
|
|
|
1173
|
-
-
|
|
1174
|
-
|
|
1175
|
-
|
|
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
|
|
1176
1185
|
|
|
1177
1186
|
## 6.0.1
|
|
1178
1187
|
|
|
1179
1188
|
### Patch Changes
|
|
1180
1189
|
|
|
1181
|
-
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
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.
|
|
1185
1194
|
|
|
1186
1195
|
## 6.0.0
|
|
1187
1196
|
|
|
1188
1197
|
### Major Changes
|
|
1189
1198
|
|
|
1190
|
-
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
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
|
|
1195
1204
|
|
|
1196
1205
|
## 5.5.0
|
|
1197
1206
|
|
|
1198
1207
|
### Minor Changes
|
|
1199
1208
|
|
|
1200
|
-
-
|
|
1201
|
-
|
|
1202
|
-
|
|
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.
|
|
1203
1212
|
|
|
1204
1213
|
## 5.4.2
|
|
1205
1214
|
|
|
1206
1215
|
### Patch Changes
|
|
1207
1216
|
|
|
1208
|
-
-
|
|
1209
|
-
|
|
1210
|
-
|
|
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.
|
|
1211
1220
|
|
|
1212
1221
|
## 5.4.1
|
|
1213
1222
|
|
|
1214
1223
|
### Patch Changes
|
|
1215
1224
|
|
|
1216
|
-
-
|
|
1217
|
-
|
|
1218
|
-
|
|
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.
|
|
1219
1228
|
|
|
1220
1229
|
## 5.4.0
|
|
1221
1230
|
|
|
1222
1231
|
### Minor Changes
|
|
1223
1232
|
|
|
1224
|
-
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
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`.
|
|
1228
1237
|
|
|
1229
1238
|
### Patch Changes
|
|
1230
1239
|
|
|
1231
|
-
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
-
|
|
1235
|
-
|
|
1236
|
-
-
|
|
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
|
|
1237
1246
|
|
|
1238
1247
|
## 5.3.2
|
|
1239
1248
|
|
|
1240
1249
|
### Patch Changes
|
|
1241
1250
|
|
|
1242
|
-
-
|
|
1243
|
-
|
|
1244
|
-
|
|
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
|
|
1245
1254
|
|
|
1246
1255
|
## 5.3.1
|
|
1247
1256
|
|
|
1248
1257
|
### Patch Changes
|
|
1249
1258
|
|
|
1250
|
-
-
|
|
1251
|
-
|
|
1252
|
-
|
|
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`
|
|
1253
1262
|
|
|
1254
1263
|
## 5.3.0
|
|
1255
1264
|
|
|
1256
1265
|
### Minor Changes
|
|
1257
1266
|
|
|
1258
|
-
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
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."
|
|
1263
1272
|
|
|
1264
1273
|
## 5.2.0
|
|
1265
1274
|
|
|
1266
1275
|
### Minor Changes
|
|
1267
1276
|
|
|
1268
|
-
-
|
|
1269
|
-
|
|
1270
|
-
|
|
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
|
|
1271
1280
|
|
|
1272
1281
|
## 5.1.0
|
|
1273
1282
|
|
|
1274
1283
|
### Minor Changes
|
|
1275
1284
|
|
|
1276
|
-
-
|
|
1277
|
-
|
|
1278
|
-
|
|
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
|
|
1279
1288
|
|
|
1280
1289
|
### Patch Changes
|
|
1281
1290
|
|
|
1282
|
-
-
|
|
1291
|
+
- Updated dependencies
|
|
1283
1292
|
|
|
1284
1293
|
## 5.0.3
|
|
1285
1294
|
|
|
1286
1295
|
### Patch Changes
|
|
1287
1296
|
|
|
1288
|
-
-
|
|
1289
|
-
|
|
1290
|
-
|
|
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.
|
|
1291
1300
|
|
|
1292
1301
|
## 5.0.2
|
|
1293
1302
|
|
|
1294
1303
|
### Patch Changes
|
|
1295
1304
|
|
|
1296
|
-
-
|
|
1297
|
-
|
|
1298
|
-
|
|
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.
|
|
1299
1308
|
|
|
1300
1309
|
## 5.0.1
|
|
1301
1310
|
|
|
1302
1311
|
### Patch Changes
|
|
1303
1312
|
|
|
1304
|
-
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
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.
|
|
1308
1317
|
|
|
1309
1318
|
## 5.0.0
|
|
1310
1319
|
|
|
1311
1320
|
### Major Changes
|
|
1312
1321
|
|
|
1313
|
-
-
|
|
1314
|
-
|
|
1315
|
-
|
|
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:
|
|
1316
1325
|
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1326
|
+
- ensure-design-token-usage
|
|
1327
|
+
- no-deprecated-apis
|
|
1328
|
+
- no-deprecated-imports
|
|
1329
|
+
- no-unsafe-design-token-usage
|
|
1321
1330
|
|
|
1322
|
-
|
|
1331
|
+
The following rules are now included in the recommended preset as warnings:
|
|
1323
1332
|
|
|
1324
|
-
|
|
1333
|
+
- no-deprecated-design-token-usage
|
|
1325
1334
|
|
|
1326
1335
|
### Minor Changes
|
|
1327
1336
|
|
|
1328
|
-
-
|
|
1329
|
-
|
|
1330
|
-
|
|
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.
|
|
1331
1340
|
|
|
1332
1341
|
## 4.20.0
|
|
1333
1342
|
|
|
1334
1343
|
### Minor Changes
|
|
1335
1344
|
|
|
1336
|
-
-
|
|
1337
|
-
|
|
1338
|
-
|
|
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.
|
|
1339
1348
|
|
|
1340
1349
|
## 4.19.1
|
|
1341
1350
|
|
|
1342
1351
|
### Patch Changes
|
|
1343
1352
|
|
|
1344
|
-
-
|
|
1345
|
-
|
|
1346
|
-
|
|
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.
|
|
1347
1356
|
|
|
1348
1357
|
## 4.19.0
|
|
1349
1358
|
|
|
1350
1359
|
### Minor Changes
|
|
1351
1360
|
|
|
1352
|
-
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
-
|
|
1357
|
-
|
|
1358
|
-
|
|
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.
|
|
1359
1368
|
|
|
1360
1369
|
## 4.18.0
|
|
1361
1370
|
|
|
1362
1371
|
### Minor Changes
|
|
1363
1372
|
|
|
1364
|
-
-
|
|
1365
|
-
|
|
1366
|
-
|
|
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.
|
|
1367
1376
|
|
|
1368
1377
|
## 4.17.1
|
|
1369
1378
|
|
|
1370
1379
|
### Patch Changes
|
|
1371
1380
|
|
|
1372
|
-
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
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
|
|
1376
1385
|
|
|
1377
1386
|
## 4.17.0
|
|
1378
1387
|
|
|
1379
1388
|
### Minor Changes
|
|
1380
1389
|
|
|
1381
|
-
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
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.
|
|
1385
1394
|
|
|
1386
1395
|
## 4.16.5
|
|
1387
1396
|
|
|
1388
1397
|
### Patch Changes
|
|
1389
1398
|
|
|
1390
|
-
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
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
|
|
1395
1404
|
|
|
1396
1405
|
## 4.16.4
|
|
1397
1406
|
|
|
1398
1407
|
### Patch Changes
|
|
1399
1408
|
|
|
1400
|
-
-
|
|
1401
|
-
|
|
1402
|
-
|
|
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
|
|
1403
1412
|
|
|
1404
1413
|
## 4.16.3
|
|
1405
1414
|
|
|
1406
1415
|
### Patch Changes
|
|
1407
1416
|
|
|
1408
|
-
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
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
|
|
1412
1421
|
|
|
1413
1422
|
## 4.16.2
|
|
1414
1423
|
|
|
1415
1424
|
### Patch Changes
|
|
1416
1425
|
|
|
1417
|
-
-
|
|
1418
|
-
|
|
1419
|
-
|
|
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.
|
|
1420
1429
|
|
|
1421
1430
|
## 4.16.1
|
|
1422
1431
|
|
|
1423
1432
|
### Patch Changes
|
|
1424
1433
|
|
|
1425
|
-
-
|
|
1426
|
-
|
|
1427
|
-
|
|
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.
|
|
1428
1437
|
|
|
1429
1438
|
## 4.16.0
|
|
1430
1439
|
|
|
1431
1440
|
### Minor Changes
|
|
1432
1441
|
|
|
1433
|
-
-
|
|
1434
|
-
|
|
1435
|
-
|
|
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
|
|
1436
1445
|
|
|
1437
1446
|
## 4.15.6
|
|
1438
1447
|
|
|
1439
1448
|
### Patch Changes
|
|
1440
1449
|
|
|
1441
|
-
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
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
|
|
1445
1454
|
|
|
1446
1455
|
## 4.15.5
|
|
1447
1456
|
|
|
1448
1457
|
### Patch Changes
|
|
1449
1458
|
|
|
1450
|
-
-
|
|
1451
|
-
|
|
1452
|
-
|
|
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`.
|
|
1453
1462
|
|
|
1454
1463
|
## 4.15.4
|
|
1455
1464
|
|
|
1456
1465
|
### Patch Changes
|
|
1457
1466
|
|
|
1458
|
-
-
|
|
1459
|
-
|
|
1460
|
-
|
|
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.
|
|
1461
1470
|
|
|
1462
1471
|
## 4.15.3
|
|
1463
1472
|
|
|
1464
1473
|
### Patch Changes
|
|
1465
1474
|
|
|
1466
|
-
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
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
|
|
1470
1479
|
|
|
1471
1480
|
## 4.15.2
|
|
1472
1481
|
|
|
1473
1482
|
### Patch Changes
|
|
1474
1483
|
|
|
1475
|
-
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
-
|
|
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
|
|
1479
1488
|
|
|
1480
1489
|
## 4.15.1
|
|
1481
1490
|
|
|
1482
1491
|
### Patch Changes
|
|
1483
1492
|
|
|
1484
|
-
-
|
|
1485
|
-
|
|
1486
|
-
|
|
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.
|
|
1487
1496
|
|
|
1488
1497
|
## 4.15.0
|
|
1489
1498
|
|
|
1490
1499
|
### Minor Changes
|
|
1491
1500
|
|
|
1492
|
-
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
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
|
|
1496
1505
|
|
|
1497
1506
|
## 4.14.1
|
|
1498
1507
|
|
|
1499
1508
|
### Patch Changes
|
|
1500
1509
|
|
|
1501
|
-
-
|
|
1502
|
-
|
|
1503
|
-
|
|
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.
|
|
1504
1513
|
|
|
1505
1514
|
## 4.14.0
|
|
1506
1515
|
|
|
1507
1516
|
### Minor Changes
|
|
1508
1517
|
|
|
1509
|
-
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
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.
|
|
1514
1523
|
|
|
1515
1524
|
## 4.13.10
|
|
1516
1525
|
|
|
1517
1526
|
### Patch Changes
|
|
1518
1527
|
|
|
1519
|
-
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
-
|
|
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
|
|
1523
1532
|
|
|
1524
1533
|
## 4.13.9
|
|
1525
1534
|
|
|
1526
1535
|
### Patch Changes
|
|
1527
1536
|
|
|
1528
|
-
-
|
|
1537
|
+
- Updated dependencies
|
|
1529
1538
|
|
|
1530
1539
|
## 4.13.8
|
|
1531
1540
|
|
|
1532
1541
|
### Patch Changes
|
|
1533
1542
|
|
|
1534
|
-
-
|
|
1535
|
-
|
|
1536
|
-
|
|
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.
|
|
1537
1546
|
|
|
1538
1547
|
## 4.13.7
|
|
1539
1548
|
|
|
1540
1549
|
### Patch Changes
|
|
1541
1550
|
|
|
1542
|
-
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
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
|
|
1546
1554
|
|
|
1547
1555
|
## 4.13.6
|
|
1548
1556
|
|
|
1549
1557
|
### Patch Changes
|
|
1550
1558
|
|
|
1551
|
-
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
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.
|
|
1555
1563
|
|
|
1556
1564
|
## 4.13.5
|
|
1557
1565
|
|
|
1558
1566
|
### Patch Changes
|
|
1559
1567
|
|
|
1560
|
-
-
|
|
1561
|
-
|
|
1562
|
-
|
|
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`.
|
|
1563
1571
|
|
|
1564
1572
|
## 4.13.4
|
|
1565
1573
|
|
|
1566
1574
|
### Patch Changes
|
|
1567
1575
|
|
|
1568
|
-
-
|
|
1576
|
+
- Updated dependencies
|
|
1569
1577
|
|
|
1570
1578
|
## 4.13.3
|
|
1571
1579
|
|
|
1572
1580
|
### Patch Changes
|
|
1573
1581
|
|
|
1574
|
-
-
|
|
1575
|
-
|
|
1576
|
-
|
|
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
|
|
1577
1585
|
|
|
1578
1586
|
## 4.13.2
|
|
1579
1587
|
|
|
1580
1588
|
### Patch Changes
|
|
1581
1589
|
|
|
1582
|
-
-
|
|
1583
|
-
|
|
1584
|
-
|
|
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
|
|
1585
1593
|
|
|
1586
1594
|
## 4.13.1
|
|
1587
1595
|
|
|
1588
1596
|
### Patch Changes
|
|
1589
1597
|
|
|
1590
|
-
-
|
|
1591
|
-
|
|
1592
|
-
|
|
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
|
|
1593
1601
|
|
|
1594
1602
|
## 4.13.0
|
|
1595
1603
|
|
|
1596
1604
|
### Minor Changes
|
|
1597
1605
|
|
|
1598
|
-
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
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.
|
|
1603
1611
|
|
|
1604
1612
|
## 4.12.4
|
|
1605
1613
|
|
|
1606
1614
|
### Patch Changes
|
|
1607
1615
|
|
|
1608
|
-
-
|
|
1609
|
-
|
|
1610
|
-
|
|
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.
|
|
1611
1619
|
|
|
1612
1620
|
## 4.12.3
|
|
1613
1621
|
|
|
1614
1622
|
### Patch Changes
|
|
1615
1623
|
|
|
1616
|
-
-
|
|
1617
|
-
|
|
1618
|
-
|
|
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.
|
|
1619
1627
|
|
|
1620
1628
|
## 4.12.2
|
|
1621
1629
|
|
|
1622
1630
|
### Patch Changes
|
|
1623
1631
|
|
|
1624
|
-
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
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.
|
|
1628
1636
|
|
|
1629
1637
|
## 4.12.1
|
|
1630
1638
|
|
|
1631
1639
|
### Patch Changes
|
|
1632
1640
|
|
|
1633
|
-
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
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.
|
|
1637
1645
|
|
|
1638
1646
|
## 4.12.0
|
|
1639
1647
|
|
|
1640
1648
|
### Minor Changes
|
|
1641
1649
|
|
|
1642
|
-
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
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.
|
|
1647
1655
|
|
|
1648
1656
|
## 4.11.2
|
|
1649
1657
|
|
|
1650
1658
|
### Patch Changes
|
|
1651
1659
|
|
|
1652
|
-
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
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.
|
|
1656
1664
|
|
|
1657
1665
|
## 4.11.1
|
|
1658
1666
|
|
|
1659
1667
|
### Patch Changes
|
|
1660
1668
|
|
|
1661
|
-
-
|
|
1662
|
-
|
|
1663
|
-
|
|
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`
|
|
1664
1672
|
|
|
1665
1673
|
## 4.11.0
|
|
1666
1674
|
|
|
1667
1675
|
### Minor Changes
|
|
1668
1676
|
|
|
1669
|
-
-
|
|
1670
|
-
|
|
1671
|
-
|
|
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
|
|
1672
1680
|
|
|
1673
1681
|
## 4.10.1
|
|
1674
1682
|
|
|
1675
1683
|
### Patch Changes
|
|
1676
1684
|
|
|
1677
|
-
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
-
|
|
1681
|
-
|
|
1682
|
-
-
|
|
1683
|
-
|
|
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
|
|
1684
1692
|
|
|
1685
1693
|
## 4.10.0
|
|
1686
1694
|
|
|
1687
1695
|
### Minor Changes
|
|
1688
1696
|
|
|
1689
|
-
-
|
|
1690
|
-
|
|
1691
|
-
|
|
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
|
|
1692
1700
|
|
|
1693
1701
|
## 4.9.0
|
|
1694
1702
|
|
|
1695
1703
|
### Minor Changes
|
|
1696
1704
|
|
|
1697
|
-
-
|
|
1698
|
-
|
|
1699
|
-
|
|
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
|
|
1700
1708
|
|
|
1701
1709
|
## 4.8.2
|
|
1702
1710
|
|
|
1703
1711
|
### Patch Changes
|
|
1704
1712
|
|
|
1705
|
-
-
|
|
1706
|
-
|
|
1707
|
-
|
|
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`.
|
|
1708
1716
|
|
|
1709
1717
|
## 4.8.1
|
|
1710
1718
|
|
|
1711
1719
|
### Patch Changes
|
|
1712
1720
|
|
|
1713
|
-
-
|
|
1714
|
-
|
|
1715
|
-
|
|
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
|
|
1716
1724
|
|
|
1717
1725
|
## 4.8.0
|
|
1718
1726
|
|
|
1719
1727
|
### Minor Changes
|
|
1720
1728
|
|
|
1721
|
-
-
|
|
1722
|
-
|
|
1723
|
-
|
|
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
|
|
1724
1732
|
|
|
1725
1733
|
## 4.7.2
|
|
1726
1734
|
|
|
1727
1735
|
### Patch Changes
|
|
1728
1736
|
|
|
1729
|
-
-
|
|
1730
|
-
|
|
1731
|
-
|
|
1732
|
-
-
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
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.
|
|
1737
1744
|
|
|
1738
1745
|
## 4.7.1
|
|
1739
1746
|
|
|
1740
1747
|
### Patch Changes
|
|
1741
1748
|
|
|
1742
|
-
-
|
|
1743
|
-
|
|
1744
|
-
|
|
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.
|
|
1745
1752
|
|
|
1746
1753
|
## 4.7.0
|
|
1747
1754
|
|
|
1748
1755
|
### Minor Changes
|
|
1749
1756
|
|
|
1750
|
-
-
|
|
1751
|
-
|
|
1752
|
-
|
|
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.
|
|
1753
1760
|
|
|
1754
1761
|
## 4.6.0
|
|
1755
1762
|
|
|
1756
1763
|
### Minor Changes
|
|
1757
1764
|
|
|
1758
|
-
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
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.
|
|
1762
1769
|
|
|
1763
1770
|
## 4.5.0
|
|
1764
1771
|
|
|
1765
1772
|
### Minor Changes
|
|
1766
1773
|
|
|
1767
|
-
-
|
|
1768
|
-
|
|
1769
|
-
|
|
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.
|
|
1770
1777
|
|
|
1771
1778
|
## 4.4.6
|
|
1772
1779
|
|
|
1773
1780
|
### Patch Changes
|
|
1774
1781
|
|
|
1775
|
-
-
|
|
1782
|
+
- Updated dependencies
|
|
1776
1783
|
|
|
1777
1784
|
## 4.4.5
|
|
1778
1785
|
|
|
1779
1786
|
### Patch Changes
|
|
1780
1787
|
|
|
1781
|
-
-
|
|
1782
|
-
|
|
1783
|
-
|
|
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
|
|
1784
1791
|
|
|
1785
1792
|
## 4.4.4
|
|
1786
1793
|
|
|
1787
1794
|
### Patch Changes
|
|
1788
1795
|
|
|
1789
|
-
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
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.
|
|
1793
1800
|
|
|
1794
1801
|
## 4.4.3
|
|
1795
1802
|
|
|
1796
1803
|
### Patch Changes
|
|
1797
1804
|
|
|
1798
|
-
-
|
|
1799
|
-
|
|
1800
|
-
|
|
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
|
|
1801
1808
|
|
|
1802
1809
|
## 4.4.2
|
|
1803
1810
|
|
|
1804
1811
|
### Patch Changes
|
|
1805
1812
|
|
|
1806
|
-
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
-
|
|
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
|
|
1811
1818
|
|
|
1812
1819
|
## 4.4.1
|
|
1813
1820
|
|
|
1814
1821
|
### Patch Changes
|
|
1815
1822
|
|
|
1816
|
-
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
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.
|
|
1821
1827
|
|
|
1822
|
-
|
|
1828
|
+
These color types have been fixed:
|
|
1823
1829
|
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1830
|
+
- rgb
|
|
1831
|
+
- rgba
|
|
1832
|
+
- hsl
|
|
1833
|
+
- hsla
|
|
1834
|
+
- lch
|
|
1835
|
+
- lab
|
|
1836
|
+
- color()
|
|
1831
1837
|
|
|
1832
1838
|
## 4.4.0
|
|
1833
1839
|
|
|
1834
1840
|
### Minor Changes
|
|
1835
1841
|
|
|
1836
|
-
-
|
|
1837
|
-
|
|
1838
|
-
|
|
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
|
|
1839
1845
|
|
|
1840
1846
|
### Patch Changes
|
|
1841
1847
|
|
|
1842
|
-
-
|
|
1848
|
+
- Updated dependencies
|
|
1843
1849
|
|
|
1844
1850
|
## 4.3.0
|
|
1845
1851
|
|
|
1846
1852
|
### Minor Changes
|
|
1847
1853
|
|
|
1848
|
-
-
|
|
1849
|
-
|
|
1850
|
-
|
|
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
|
|
1851
1857
|
|
|
1852
1858
|
### Patch Changes
|
|
1853
1859
|
|
|
1854
|
-
-
|
|
1860
|
+
- Updated dependencies
|
|
1855
1861
|
|
|
1856
1862
|
## 4.2.1
|
|
1857
1863
|
|
|
1858
1864
|
### Patch Changes
|
|
1859
1865
|
|
|
1860
|
-
-
|
|
1861
|
-
|
|
1862
|
-
|
|
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.
|
|
1863
1869
|
|
|
1864
1870
|
## 4.2.0
|
|
1865
1871
|
|
|
1866
1872
|
### Minor Changes
|
|
1867
1873
|
|
|
1868
|
-
-
|
|
1869
|
-
|
|
1870
|
-
|
|
1871
|
-
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
|
|
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.
|
|
1880
1886
|
|
|
1881
1887
|
## 4.1.1
|
|
1882
1888
|
|
|
1883
1889
|
### Patch Changes
|
|
1884
1890
|
|
|
1885
|
-
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
-
|
|
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
|
|
1889
1895
|
|
|
1890
1896
|
## 4.1.0
|
|
1891
1897
|
|
|
1892
1898
|
### Minor Changes
|
|
1893
1899
|
|
|
1894
|
-
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
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.
|
|
1900
1906
|
|
|
1901
1907
|
### Patch Changes
|
|
1902
1908
|
|
|
1903
|
-
-
|
|
1909
|
+
- Updated dependencies
|
|
1904
1910
|
|
|
1905
1911
|
## 4.0.1
|
|
1906
1912
|
|
|
1907
1913
|
### Patch Changes
|
|
1908
1914
|
|
|
1909
|
-
-
|
|
1910
|
-
|
|
1911
|
-
|
|
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.
|
|
1912
1918
|
|
|
1913
1919
|
## 4.0.0
|
|
1914
1920
|
|
|
1915
1921
|
### Major Changes
|
|
1916
1922
|
|
|
1917
|
-
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
|
|
1924
|
-
|
|
1925
|
-
|
|
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
|
-
### Patch Changes
|
|
1952
|
-
|
|
1953
|
-
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
-
|
|
1957
|
-
|
|
1958
|
-
-
|
|
1959
|
-
|
|
1960
|
-
-
|
|
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
|
|
1961
1967
|
|
|
1962
1968
|
## 3.2.0
|
|
1963
1969
|
|
|
1964
1970
|
### Minor Changes
|
|
1965
1971
|
|
|
1966
|
-
-
|
|
1967
|
-
|
|
1968
|
-
|
|
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.
|
|
1969
1975
|
|
|
1970
1976
|
## 3.1.0
|
|
1971
1977
|
|
|
1972
1978
|
### Minor Changes
|
|
1973
1979
|
|
|
1974
|
-
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
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.
|
|
1978
1983
|
|
|
1979
1984
|
## 3.0.0
|
|
1980
1985
|
|
|
1981
1986
|
### Patch Changes
|
|
1982
1987
|
|
|
1983
|
-
-
|
|
1988
|
+
- Updated dependencies
|
|
1984
1989
|
|
|
1985
1990
|
## 2.0.1
|
|
1986
1991
|
|
|
1987
1992
|
### Patch Changes
|
|
1988
1993
|
|
|
1989
|
-
-
|
|
1990
|
-
|
|
1991
|
-
|
|
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:
|
|
1992
1997
|
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
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
|
|
1997
2002
|
|
|
1998
|
-
|
|
2003
|
+
Increasing the linting surface-area:
|
|
1999
2004
|
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
`<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" />`)
|
|
2004
2008
|
|
|
2005
|
-
|
|
2009
|
+
General improvements:
|
|
2006
2010
|
|
|
2007
|
-
|
|
2008
|
-
|
|
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.
|
|
2009
2013
|
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
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
|
|
2013
2016
|
|
|
2014
|
-
|
|
2017
|
+
- Increased test coverage
|
|
2015
2018
|
|
|
2016
|
-
-
|
|
2019
|
+
- Updated dependencies
|
|
2017
2020
|
|
|
2018
2021
|
## 2.0.0
|
|
2019
2022
|
|
|
2020
2023
|
### Patch Changes
|
|
2021
2024
|
|
|
2022
|
-
-
|
|
2025
|
+
- Updated dependencies
|
|
2023
2026
|
|
|
2024
2027
|
## 1.1.0
|
|
2025
2028
|
|
|
2026
2029
|
### Minor Changes
|
|
2027
2030
|
|
|
2028
|
-
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
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.
|
|
2032
2035
|
|
|
2033
2036
|
### Patch Changes
|
|
2034
2037
|
|
|
2035
|
-
-
|
|
2038
|
+
- Updated dependencies
|
|
2036
2039
|
|
|
2037
2040
|
## 1.0.0
|
|
2038
2041
|
|
|
2039
2042
|
### Minor Changes
|
|
2040
2043
|
|
|
2041
|
-
-
|
|
2042
|
-
|
|
2043
|
-
|
|
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
|
|
2044
2047
|
|
|
2045
2048
|
### Patch Changes
|
|
2046
2049
|
|
|
2047
|
-
-
|
|
2050
|
+
- Updated dependencies
|
|
2048
2051
|
|
|
2049
2052
|
## 0.0.6
|
|
2050
2053
|
|
|
2051
2054
|
### Patch Changes
|
|
2052
2055
|
|
|
2053
|
-
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
-
|
|
2057
|
-
|
|
2058
|
-
-
|
|
2059
|
-
|
|
2060
|
-
-
|
|
2061
|
-
|
|
2062
|
-
-
|
|
2063
|
-
|
|
2064
|
-
-
|
|
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
|
|
2065
2068
|
|
|
2066
2069
|
## 0.0.5
|
|
2067
2070
|
|
|
2068
2071
|
### Patch Changes
|
|
2069
2072
|
|
|
2070
|
-
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
-
|
|
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
|
|
2074
2077
|
|
|
2075
2078
|
## 0.0.4
|
|
2076
2079
|
|
|
2077
2080
|
### Patch Changes
|
|
2078
2081
|
|
|
2079
|
-
-
|
|
2080
|
-
|
|
2081
|
-
|
|
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
|
|
2082
2085
|
|
|
2083
|
-
|
|
2086
|
+
Adds:
|
|
2084
2087
|
|
|
2085
|
-
|
|
2088
|
+
- `color.backgroundSelect`
|
|
2086
2089
|
|
|
2087
|
-
|
|
2090
|
+
Renames:
|
|
2088
2091
|
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
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`
|
|
2097
2100
|
|
|
2098
|
-
|
|
2101
|
+
Removes:
|
|
2099
2102
|
|
|
2100
|
-
|
|
2103
|
+
- `elevation.boarderFlatPrimary`
|
|
2101
2104
|
|
|
2102
|
-
|
|
2105
|
+
Updates:
|
|
2103
2106
|
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
+
- `elevation.shadowOverlay` value to `DN100`
|
|
2108
|
+
- `color.textWarning` in light mode to `O800`
|
|
2109
|
+
- `color.iconBorderWarning` in light mode to `O600`
|
|
2107
2110
|
|
|
2108
|
-
-
|
|
2111
|
+
- Updated dependencies
|
|
2109
2112
|
|
|
2110
2113
|
## 0.0.3
|
|
2111
2114
|
|
|
2112
2115
|
### Patch Changes
|
|
2113
2116
|
|
|
2114
|
-
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
-
|
|
2118
|
-
|
|
2119
|
-
-
|
|
2120
|
-
|
|
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.
|
|
2121
2124
|
|
|
2122
2125
|
## 0.0.2
|
|
2123
2126
|
|
|
2124
2127
|
### Patch Changes
|
|
2125
2128
|
|
|
2126
|
-
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
-
|
|
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
|
|
2130
2133
|
|
|
2131
2134
|
## 0.0.1
|
|
2132
2135
|
|
|
2133
2136
|
### Patch Changes
|
|
2134
2137
|
|
|
2135
|
-
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
-
|
|
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
|