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