@atlaskit/range 7.2.0 → 7.3.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 +315 -307
- package/README.md +2 -1
- package/__perf__/default.tsx +1 -3
- package/__perf__/range.tsx +21 -26
- package/afm-jira/tsconfig.json +31 -0
- package/codemods/4.0.0-lite-mode.tsx +48 -73
- package/codemods/__tests__/4.0.0-lite-mode.tsx +21 -21
- package/constellation/index/examples.mdx +6 -3
- package/constellation/index/usage.mdx +14 -7
- package/dist/cjs/styled.js +20 -4
- package/dist/es2019/styled.js +38 -3
- package/dist/esm/styled.js +22 -3
- package/dist/types/styled.d.ts +3 -0
- package/dist/types-ts4.5/styled.d.ts +3 -0
- package/docs/0-intro.tsx +5 -4
- package/package.json +94 -96
- package/report.api.md +19 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,689 +1,697 @@
|
|
|
1
1
|
# @atlaskit/range
|
|
2
2
|
|
|
3
|
+
## 7.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#110836](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110836)
|
|
8
|
+
[`a8bd419fd70b9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a8bd419fd70b9) -
|
|
9
|
+
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
|
|
10
|
+
is implicitly set to automatic.
|
|
11
|
+
|
|
3
12
|
## 7.2.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
6
15
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
16
|
+
- [#93978](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93978)
|
|
17
|
+
[`1a198c473f9d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1a198c473f9d) -
|
|
18
|
+
Add support for React 18 in non-strict mode.
|
|
10
19
|
|
|
11
20
|
## 7.1.8
|
|
12
21
|
|
|
13
22
|
### Patch Changes
|
|
14
23
|
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
24
|
+
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
25
|
+
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
|
|
26
|
+
Upgrade Typescript from `4.9.5` to `5.4.2`
|
|
18
27
|
|
|
19
28
|
## 7.1.7
|
|
20
29
|
|
|
21
30
|
### Patch Changes
|
|
22
31
|
|
|
23
|
-
-
|
|
24
|
-
|
|
25
|
-
|
|
32
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
33
|
+
[`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete
|
|
34
|
+
version.json
|
|
26
35
|
|
|
27
36
|
## 7.1.6
|
|
28
37
|
|
|
29
38
|
### Patch Changes
|
|
30
39
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
|
|
40
|
+
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
|
|
41
|
+
[`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This
|
|
42
|
+
package is now onboarded onto the product push model.
|
|
34
43
|
|
|
35
44
|
## 7.1.5
|
|
36
45
|
|
|
37
46
|
### Patch Changes
|
|
38
47
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
48
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
49
|
+
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
|
|
50
|
+
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
|
|
51
|
+
testing.
|
|
43
52
|
|
|
44
53
|
## 7.1.4
|
|
45
54
|
|
|
46
55
|
### Patch Changes
|
|
47
56
|
|
|
48
|
-
-
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
58
|
+
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
|
|
59
|
+
change to use shape tokens. There is no expected visual change.
|
|
51
60
|
|
|
52
61
|
## 7.1.3
|
|
53
62
|
|
|
54
63
|
### Patch Changes
|
|
55
64
|
|
|
56
|
-
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
65
|
+
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
66
|
+
[`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal
|
|
67
|
+
change to enforce token usage for spacing properties. There is no expected visual or behaviour
|
|
68
|
+
change.
|
|
60
69
|
|
|
61
70
|
## 7.1.2
|
|
62
71
|
|
|
63
72
|
### Patch Changes
|
|
64
73
|
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
74
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
75
|
+
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
|
|
76
|
+
legacy types are published for TS 4.5-4.8
|
|
68
77
|
|
|
69
78
|
## 7.1.1
|
|
70
79
|
|
|
71
80
|
### Patch Changes
|
|
72
81
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
82
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
83
|
+
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
|
|
84
|
+
Typescript from `4.5.5` to `4.9.5`
|
|
76
85
|
|
|
77
86
|
## 7.1.0
|
|
78
87
|
|
|
79
88
|
### Minor Changes
|
|
80
89
|
|
|
81
|
-
-
|
|
82
|
-
|
|
83
|
-
|
|
90
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
91
|
+
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
|
|
92
|
+
minor dependency bump
|
|
84
93
|
|
|
85
94
|
### Patch Changes
|
|
86
95
|
|
|
87
|
-
-
|
|
96
|
+
- Updated dependencies
|
|
88
97
|
|
|
89
98
|
## 7.0.4
|
|
90
99
|
|
|
91
100
|
### Patch Changes
|
|
92
101
|
|
|
93
|
-
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
-
|
|
102
|
+
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
|
|
103
|
+
[`22b754d311f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22b754d311f) - Updates
|
|
104
|
+
usage of removed design token `utilities.UNSAFE_util.transparent` in favour of its replacement
|
|
105
|
+
`utilities.UNSAFE.transparent`
|
|
106
|
+
- Updated dependencies
|
|
98
107
|
|
|
99
108
|
## 7.0.3
|
|
100
109
|
|
|
101
110
|
### Patch Changes
|
|
102
111
|
|
|
103
|
-
-
|
|
112
|
+
- Updated dependencies
|
|
104
113
|
|
|
105
114
|
## 7.0.2
|
|
106
115
|
|
|
107
116
|
### Patch Changes
|
|
108
117
|
|
|
109
|
-
-
|
|
118
|
+
- Updated dependencies
|
|
110
119
|
|
|
111
120
|
## 7.0.1
|
|
112
121
|
|
|
113
122
|
### Patch Changes
|
|
114
123
|
|
|
115
|
-
-
|
|
124
|
+
- Updated dependencies
|
|
116
125
|
|
|
117
126
|
## 7.0.0
|
|
118
127
|
|
|
119
128
|
### Major Changes
|
|
120
129
|
|
|
121
|
-
-
|
|
122
|
-
|
|
123
|
-
|
|
130
|
+
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
|
|
131
|
+
[`78741dd1644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/78741dd1644) - [ux]
|
|
132
|
+
Breaking visual changes to range to afford better contrast:
|
|
124
133
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
134
|
+
- The scrubber now applies the same color as the foreground
|
|
135
|
+
- The disabled state has been altered; it's now a consistently applied opacity state overlay
|
|
136
|
+
across the whole element
|
|
137
|
+
- The input now uses :focus-visible, rather than :focus and applies an offset focus ring
|
|
129
138
|
|
|
130
139
|
## 6.1.1
|
|
131
140
|
|
|
132
141
|
### Patch Changes
|
|
133
142
|
|
|
134
|
-
-
|
|
135
|
-
|
|
136
|
-
|
|
143
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
144
|
+
[`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
|
|
145
|
+
change to introduce spacing tokens to design system components.
|
|
137
146
|
|
|
138
147
|
## 6.1.0
|
|
139
148
|
|
|
140
149
|
### Minor Changes
|
|
141
150
|
|
|
142
|
-
-
|
|
143
|
-
|
|
144
|
-
|
|
151
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
152
|
+
[`1966ffa850d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1966ffa850d) - Updates
|
|
153
|
+
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
145
154
|
|
|
146
155
|
## 6.0.9
|
|
147
156
|
|
|
148
157
|
### Patch Changes
|
|
149
158
|
|
|
150
|
-
-
|
|
151
|
-
|
|
152
|
-
|
|
159
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
160
|
+
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
|
|
161
|
+
Typescript from `4.3.5` to `4.5.5`
|
|
153
162
|
|
|
154
163
|
## 6.0.8
|
|
155
164
|
|
|
156
165
|
### Patch Changes
|
|
157
166
|
|
|
158
|
-
-
|
|
159
|
-
|
|
160
|
-
|
|
167
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
168
|
+
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
|
|
169
|
+
Typescript from `4.2.4` to `4.3.5`.
|
|
161
170
|
|
|
162
171
|
## 6.0.7
|
|
163
172
|
|
|
164
173
|
### Patch Changes
|
|
165
174
|
|
|
166
|
-
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
-
|
|
175
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
176
|
+
[`8202e37941b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8202e37941b) - Internal
|
|
177
|
+
code change turning on new linting rules.
|
|
178
|
+
- Updated dependencies
|
|
170
179
|
|
|
171
180
|
## 6.0.6
|
|
172
181
|
|
|
173
182
|
### Patch Changes
|
|
174
183
|
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
184
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
185
|
+
[`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to
|
|
186
|
+
using declarative entrypoints internally. Public API is unchanged.
|
|
178
187
|
|
|
179
188
|
## 6.0.5
|
|
180
189
|
|
|
181
190
|
### Patch Changes
|
|
182
191
|
|
|
183
|
-
-
|
|
192
|
+
- Updated dependencies
|
|
184
193
|
|
|
185
194
|
## 6.0.4
|
|
186
195
|
|
|
187
196
|
### Patch Changes
|
|
188
197
|
|
|
189
|
-
-
|
|
190
|
-
|
|
191
|
-
|
|
198
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
199
|
+
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
|
|
200
|
+
to TypeScript 4.2.4
|
|
192
201
|
|
|
193
202
|
## 6.0.3
|
|
194
203
|
|
|
195
204
|
### Patch Changes
|
|
196
205
|
|
|
197
|
-
-
|
|
206
|
+
- Updated dependencies
|
|
198
207
|
|
|
199
208
|
## 6.0.2
|
|
200
209
|
|
|
201
210
|
### Patch Changes
|
|
202
211
|
|
|
203
|
-
-
|
|
212
|
+
- Updated dependencies
|
|
204
213
|
|
|
205
214
|
## 6.0.1
|
|
206
215
|
|
|
207
216
|
### Patch Changes
|
|
208
217
|
|
|
209
|
-
-
|
|
218
|
+
- Updated dependencies
|
|
210
219
|
|
|
211
220
|
## 6.0.0
|
|
212
221
|
|
|
213
222
|
### Major Changes
|
|
214
223
|
|
|
215
|
-
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
224
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
225
|
+
[`17d9edaa415`](https://bitbucket.org/atlassian/atlassian-frontend/commits/17d9edaa415) - In
|
|
226
|
+
preparation for compiled adoption, internal styling has been rewritten to remove dynamic styles.
|
|
227
|
+
This includes custom theming using the `theme` prop, which has been removed.
|
|
219
228
|
|
|
220
|
-
|
|
229
|
+
If you are not using the `theme` prop, there should be no breaking changes.
|
|
221
230
|
|
|
222
231
|
## 5.1.4
|
|
223
232
|
|
|
224
233
|
### Patch Changes
|
|
225
234
|
|
|
226
|
-
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
-
|
|
235
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
236
|
+
[`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
237
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
238
|
+
auto-fixing by correctly formatting token ids.
|
|
239
|
+
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The
|
|
240
|
+
no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when
|
|
241
|
+
auto-fixing by correctly formatting token ids.
|
|
242
|
+
- Updated dependencies
|
|
234
243
|
|
|
235
244
|
## 5.1.3
|
|
236
245
|
|
|
237
246
|
### Patch Changes
|
|
238
247
|
|
|
239
|
-
-
|
|
248
|
+
- Updated dependencies
|
|
240
249
|
|
|
241
250
|
## 5.1.2
|
|
242
251
|
|
|
243
252
|
### Patch Changes
|
|
244
253
|
|
|
245
|
-
-
|
|
246
|
-
|
|
247
|
-
|
|
254
|
+
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
255
|
+
[`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
|
|
256
|
+
VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
|
|
248
257
|
|
|
249
258
|
## 5.1.1
|
|
250
259
|
|
|
251
260
|
### Patch Changes
|
|
252
261
|
|
|
253
|
-
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
-
|
|
262
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
263
|
+
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
|
|
264
|
+
for this package now pass through a tokens babel plugin, removing runtime invocations of the
|
|
265
|
+
tokens() function and improving bundle size.
|
|
266
|
+
- Updated dependencies
|
|
258
267
|
|
|
259
268
|
## 5.1.0
|
|
260
269
|
|
|
261
270
|
### Minor Changes
|
|
262
271
|
|
|
263
|
-
-
|
|
264
|
-
|
|
265
|
-
|
|
272
|
+
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
273
|
+
[`21c178539a2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/21c178539a2) - [ux]
|
|
274
|
+
Instrumented range with the new theming package, `@atlaskit/tokens`.
|
|
266
275
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
276
|
+
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
277
|
+
alpha). These changes are intended to be interoperable with the legacy theme implementation.
|
|
278
|
+
Legacy dark mode users should expect no visual or breaking changes.
|
|
270
279
|
|
|
271
280
|
### Patch Changes
|
|
272
281
|
|
|
273
|
-
-
|
|
282
|
+
- Updated dependencies
|
|
274
283
|
|
|
275
284
|
## 5.0.11
|
|
276
285
|
|
|
277
286
|
### Patch Changes
|
|
278
287
|
|
|
279
|
-
-
|
|
288
|
+
- Updated dependencies
|
|
280
289
|
|
|
281
290
|
## 5.0.10
|
|
282
291
|
|
|
283
292
|
### Patch Changes
|
|
284
293
|
|
|
285
|
-
-
|
|
286
|
-
|
|
287
|
-
|
|
294
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
295
|
+
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
|
|
296
|
+
`@atlaskit/theme` to version `^11.3.0`.
|
|
288
297
|
|
|
289
298
|
## 5.0.9
|
|
290
299
|
|
|
291
300
|
### Patch Changes
|
|
292
301
|
|
|
293
|
-
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
302
|
+
- [#11980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11980)
|
|
303
|
+
[`b0183dd2972`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0183dd2972) - Updated
|
|
304
|
+
package.json decriptions and documentation. Docs have moved from atlaskit.atlassian.com to
|
|
305
|
+
atlassian.design
|
|
297
306
|
|
|
298
307
|
## 5.0.8
|
|
299
308
|
|
|
300
309
|
### Patch Changes
|
|
301
310
|
|
|
302
|
-
-
|
|
303
|
-
|
|
304
|
-
|
|
311
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
312
|
+
[`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates
|
|
313
|
+
to development dependency `storybook-addon-performance`
|
|
305
314
|
|
|
306
315
|
## 5.0.7
|
|
307
316
|
|
|
308
317
|
### Patch Changes
|
|
309
318
|
|
|
310
|
-
-
|
|
311
|
-
|
|
312
|
-
|
|
319
|
+
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
|
|
320
|
+
[`952019cfd39`](https://bitbucket.org/atlassian/atlassian-frontend/commits/952019cfd39) - Removed
|
|
321
|
+
extraneous/unnecessary dependencies for design system components.
|
|
313
322
|
|
|
314
323
|
## 5.0.6
|
|
315
324
|
|
|
316
325
|
### Patch Changes
|
|
317
326
|
|
|
318
|
-
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
327
|
+
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
|
|
328
|
+
[`3137d05e06`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3137d05e06) - [ux] Fixed
|
|
329
|
+
rendering bug inside of Range. Now the blue trackbar snaps to a step in the range to align with
|
|
330
|
+
the position of the thumb.
|
|
322
331
|
|
|
323
332
|
## 5.0.5
|
|
324
333
|
|
|
325
334
|
### Patch Changes
|
|
326
335
|
|
|
327
|
-
-
|
|
328
|
-
|
|
329
|
-
|
|
336
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
337
|
+
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
|
|
338
|
+
packages using babel rather than tsc
|
|
330
339
|
|
|
331
340
|
## 5.0.4
|
|
332
341
|
|
|
333
342
|
### Patch Changes
|
|
334
343
|
|
|
335
|
-
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
344
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
345
|
+
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
|
|
346
|
+
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
|
|
347
|
+
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
|
|
348
|
+
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
|
|
349
|
+
`devDependencies` to denote version that the package was built with.
|
|
341
350
|
|
|
342
351
|
## 5.0.3
|
|
343
352
|
|
|
344
353
|
### Patch Changes
|
|
345
354
|
|
|
346
|
-
-
|
|
355
|
+
- Updated dependencies
|
|
347
356
|
|
|
348
357
|
## 5.0.2
|
|
349
358
|
|
|
350
359
|
### Patch Changes
|
|
351
360
|
|
|
352
|
-
-
|
|
353
|
-
|
|
354
|
-
|
|
361
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
362
|
+
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
|
|
363
|
+
to TypeScript 3.9.6 and tslib to 2.0.0
|
|
355
364
|
|
|
356
|
-
|
|
357
|
-
|
|
365
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
366
|
+
upgrade to prevent duplicates of tslib being bundled.
|
|
358
367
|
|
|
359
368
|
## 5.0.1
|
|
360
369
|
|
|
361
370
|
### Patch Changes
|
|
362
371
|
|
|
363
|
-
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
-
|
|
367
|
-
|
|
372
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
373
|
+
[`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the
|
|
374
|
+
'lodash' package instead of single-function 'lodash.\*' packages
|
|
375
|
+
- [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form
|
|
376
|
+
elements now have a default font explicitly set
|
|
368
377
|
|
|
369
378
|
## 5.0.0
|
|
370
379
|
|
|
371
380
|
### Major Changes
|
|
372
381
|
|
|
373
|
-
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
382
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
383
|
+
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
|
|
384
|
+
dropping IE11 support, from this version onwards there are no warranties of the package working in
|
|
385
|
+
IE11. For more information see:
|
|
386
|
+
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
378
387
|
|
|
379
388
|
### Patch Changes
|
|
380
389
|
|
|
381
|
-
-
|
|
390
|
+
- Updated dependencies
|
|
382
391
|
|
|
383
392
|
## 4.0.1
|
|
384
393
|
|
|
385
394
|
### Patch Changes
|
|
386
395
|
|
|
387
|
-
-
|
|
388
|
-
|
|
389
|
-
|
|
396
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
397
|
+
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
|
|
398
|
+
supporting files will no longer be published to npm
|
|
390
399
|
|
|
391
400
|
## 4.0.0
|
|
392
401
|
|
|
393
402
|
### Major Changes
|
|
394
403
|
|
|
395
|
-
-
|
|
396
|
-
|
|
397
|
-
|
|
404
|
+
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
405
|
+
[`da1c8c16d4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/da1c8c16d4) - In this
|
|
406
|
+
version we made range dramatically faster and lighter 🤩
|
|
398
407
|
|
|
399
|
-
|
|
408
|
+
### Changes
|
|
400
409
|
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
410
|
+
In `4.0.0` we bring significant performance improvements all for just the cost of 1 breaking
|
|
411
|
+
change 😮. That's not all folks because this update comes with a 🤑 FREE 🤑 codemod for you to
|
|
412
|
+
upgrade with.
|
|
404
413
|
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
+
- Range no longer has a `peerDependency` on `styled-components@3`. Internally range is now using
|
|
415
|
+
`@emotion/core` for styling
|
|
416
|
+
- A performance issue made the range noticeably laggy with large ranges. With this change we are
|
|
417
|
+
no longer creating new classes on each step change and instead updating a css variable, making
|
|
418
|
+
Range noticeably smoother.
|
|
419
|
+
- Changed the `inputRef` prop to be `ref` which returns the `ref` of the range input using
|
|
420
|
+
`React.forwardRef`. This new `ref` prop will accept the type of the old `inputRef` prop,
|
|
421
|
+
`(input?: HTMLInputElement) => any`, as well as if `ref` is created with `React.createRef`.
|
|
422
|
+
- A new example that shows off how to rate limit your `onChange` event
|
|
414
423
|
|
|
415
|
-
|
|
424
|
+
### Automatic upgrading
|
|
416
425
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
426
|
+
```
|
|
427
|
+
# You first need to have the latest range installed before you can run the codemod
|
|
428
|
+
yarn upgrade @atlaskit/range@^4.0.0
|
|
420
429
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
430
|
+
# Run the codemod cli
|
|
431
|
+
# Pass in a parser for your codebase
|
|
432
|
+
npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel]
|
|
433
|
+
```
|
|
425
434
|
|
|
426
|
-
|
|
435
|
+
#### Notes
|
|
427
436
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
437
|
+
- You first need to upgrade to `4.0.0` **before** you run the codemod cli. This is because the cli
|
|
438
|
+
will look in your local `node_modules` for the codemod which is published inside the `spinner`
|
|
439
|
+
package.
|
|
440
|
+
- The codemod is pretty clever, and will respect aliasing as well as using custom naming for the
|
|
441
|
+
default import
|
|
433
442
|
|
|
434
|
-
|
|
443
|
+
#### Ez pz lemon squeezy
|
|
435
444
|
|
|
436
|
-
|
|
445
|
+
The codemod will change the `inputRef` prop to `ref`
|
|
437
446
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
447
|
+
```diff
|
|
448
|
+
- <Range inputRef={inputRef} />
|
|
449
|
+
+ <Range ref={inputRef} />
|
|
441
450
|
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
451
|
+
- <Range
|
|
452
|
+
- inputRef={ref => {
|
|
453
|
+
- myRangeRef = ref;
|
|
454
|
+
- }}
|
|
455
|
+
- />
|
|
456
|
+
+ <Range
|
|
457
|
+
+ ref={ref => {
|
|
458
|
+
+ myRangeRef = ref;
|
|
459
|
+
+ }}
|
|
460
|
+
+ />
|
|
452
461
|
|
|
453
|
-
|
|
462
|
+
```
|
|
454
463
|
|
|
455
464
|
## 3.0.12
|
|
456
465
|
|
|
457
466
|
### Patch Changes
|
|
458
467
|
|
|
459
|
-
-
|
|
468
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
460
469
|
|
|
461
|
-
|
|
462
|
-
|
|
470
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
471
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
463
472
|
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
473
|
+
- @atlaskit/docs@8.3.2
|
|
474
|
+
- @atlaskit/visual-regression@0.1.9
|
|
475
|
+
- @atlaskit/checkbox@10.1.7
|
|
476
|
+
- @atlaskit/theme@9.5.1
|
|
477
|
+
- @atlaskit/tooltip@15.2.3
|
|
469
478
|
|
|
470
479
|
## 3.0.11
|
|
471
480
|
|
|
472
481
|
### Patch Changes
|
|
473
482
|
|
|
474
|
-
-
|
|
483
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
475
484
|
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
485
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
486
|
+
Updated dependencies
|
|
487
|
+
[82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
479
488
|
|
|
480
|
-
-
|
|
481
|
-
|
|
482
|
-
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
489
|
+
- Updated dependencies
|
|
490
|
+
[4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
491
|
+
- Updated dependencies
|
|
492
|
+
[6a8bc6f866](https://bitbucket.org/atlassian/atlassian-frontend/commits/6a8bc6f866):
|
|
493
|
+
- @atlaskit/theme@9.5.0
|
|
494
|
+
- @atlaskit/checkbox@10.1.5
|
|
495
|
+
- @atlaskit/tooltip@15.2.1
|
|
487
496
|
|
|
488
497
|
## 3.0.10
|
|
489
498
|
|
|
490
499
|
### Patch Changes
|
|
491
500
|
|
|
492
|
-
-
|
|
501
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
493
502
|
|
|
494
|
-
|
|
503
|
+
Rebuilds package to fix typescript typing error.
|
|
495
504
|
|
|
496
505
|
## 3.0.9
|
|
497
506
|
|
|
498
507
|
### Patch Changes
|
|
499
508
|
|
|
500
|
-
-
|
|
509
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
501
510
|
|
|
502
|
-
|
|
511
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
503
512
|
|
|
504
513
|
## 3.0.8
|
|
505
514
|
|
|
506
|
-
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
515
|
+
- Updated dependencies
|
|
516
|
+
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
517
|
+
- @atlaskit/checkbox@10.0.0
|
|
518
|
+
- @atlaskit/docs@8.1.7
|
|
510
519
|
|
|
511
520
|
## 3.0.7
|
|
512
521
|
|
|
513
522
|
### Patch Changes
|
|
514
523
|
|
|
515
|
-
-
|
|
524
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
516
525
|
|
|
517
|
-
|
|
518
|
-
|
|
526
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
527
|
+
non-relative imports as relative imports
|
|
519
528
|
|
|
520
529
|
## 3.0.6
|
|
521
530
|
|
|
522
531
|
### Patch Changes
|
|
523
532
|
|
|
524
|
-
-
|
|
533
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
525
534
|
|
|
526
|
-
|
|
535
|
+
Upgraded Typescript to 3.3.x
|
|
527
536
|
|
|
528
537
|
## 3.0.5
|
|
529
538
|
|
|
530
539
|
### Patch Changes
|
|
531
540
|
|
|
532
|
-
-
|
|
541
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
533
542
|
|
|
534
|
-
|
|
543
|
+
Change all the imports to theme in Core to use multi entry points
|
|
535
544
|
|
|
536
545
|
## 3.0.4
|
|
537
546
|
|
|
538
547
|
### Patch Changes
|
|
539
548
|
|
|
540
|
-
-
|
|
549
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
541
550
|
|
|
542
|
-
|
|
551
|
+
Updates component maintainers
|
|
543
552
|
|
|
544
553
|
## 3.0.3
|
|
545
554
|
|
|
546
555
|
### Patch Changes
|
|
547
556
|
|
|
548
|
-
-
|
|
557
|
+
- [patch][f34776be97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f34776be97):
|
|
549
558
|
|
|
550
|
-
|
|
559
|
+
Type definition files are now referenced in package.json
|
|
551
560
|
|
|
552
561
|
## 3.0.2
|
|
553
562
|
|
|
554
|
-
-
|
|
555
|
-
|
|
556
|
-
|
|
563
|
+
- Updated dependencies
|
|
564
|
+
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
565
|
+
- @atlaskit/checkbox@9.0.0
|
|
557
566
|
|
|
558
567
|
## 3.0.1
|
|
559
568
|
|
|
560
569
|
### Patch Changes
|
|
561
570
|
|
|
562
|
-
-
|
|
571
|
+
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
|
|
563
572
|
|
|
564
|
-
|
|
573
|
+
index.ts will now be ignored when publishing to npm
|
|
565
574
|
|
|
566
575
|
## 3.0.0
|
|
567
576
|
|
|
568
577
|
### Major Changes
|
|
569
578
|
|
|
570
|
-
-
|
|
579
|
+
- [major][4a08d1912e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4a08d1912e):
|
|
571
580
|
|
|
572
|
-
|
|
573
|
-
|
|
581
|
+
@atlaskit/range has been converted to Typescript. Typescript consumers will now get static type
|
|
582
|
+
safety. Flow types are no longer provided. No API or behavioural changes.
|
|
574
583
|
|
|
575
584
|
## 2.0.2
|
|
576
585
|
|
|
577
|
-
-
|
|
578
|
-
|
|
579
|
-
|
|
586
|
+
- Updated dependencies
|
|
587
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
588
|
+
- @atlaskit/tooltip@15.0.0
|
|
580
589
|
|
|
581
590
|
## 2.0.1
|
|
582
591
|
|
|
583
|
-
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
592
|
+
- Updated dependencies
|
|
593
|
+
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
594
|
+
- @atlaskit/checkbox@8.0.0
|
|
595
|
+
- @atlaskit/theme@9.1.0
|
|
587
596
|
|
|
588
597
|
## 2.0.0
|
|
589
598
|
|
|
590
|
-
-
|
|
599
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
591
600
|
|
|
592
|
-
|
|
593
|
-
|
|
601
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
602
|
+
this package, please ensure you use at least this version of react and react-dom.
|
|
594
603
|
|
|
595
604
|
## 1.0.0
|
|
596
605
|
|
|
597
|
-
-
|
|
606
|
+
- [major][546b636a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/546b636a36):
|
|
598
607
|
|
|
599
|
-
|
|
600
|
-
|
|
608
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
609
|
+
use
|
|
601
610
|
|
|
602
611
|
## 0.2.2
|
|
603
612
|
|
|
604
|
-
-
|
|
613
|
+
- [patch][1f2a181b0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1f2a181b0f):
|
|
605
614
|
|
|
606
|
-
|
|
607
|
-
|
|
615
|
+
- onChange is no longer overridden by spread props. As a result this component should now work in
|
|
616
|
+
uncontrolled mode
|
|
608
617
|
|
|
609
618
|
## 0.2.1
|
|
610
619
|
|
|
611
|
-
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
620
|
+
- Updated dependencies
|
|
621
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
622
|
+
- @atlaskit/docs@7.0.3
|
|
623
|
+
- @atlaskit/checkbox@6.0.4
|
|
624
|
+
- @atlaskit/tooltip@13.0.4
|
|
625
|
+
- @atlaskit/theme@8.1.7
|
|
617
626
|
|
|
618
627
|
## 0.2.0
|
|
619
628
|
|
|
620
|
-
-
|
|
629
|
+
- [minor][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
621
630
|
|
|
622
|
-
|
|
631
|
+
- Drop ES5 from all the flow modules
|
|
623
632
|
|
|
624
|
-
|
|
633
|
+
### Dropping CJS support in all @atlaskit packages
|
|
625
634
|
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
635
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
636
|
+
distribute esm. This means all distributed code will be transpiled, but will still contain
|
|
637
|
+
`import` and `export` declarations.
|
|
629
638
|
|
|
630
|
-
|
|
631
|
-
e.g:
|
|
639
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
632
640
|
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
641
|
+
```js
|
|
642
|
+
import colors from `@atlaskit/theme/colors`;
|
|
643
|
+
```
|
|
636
644
|
|
|
637
|
-
|
|
645
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
638
646
|
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
647
|
+
```js
|
|
648
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
649
|
+
```
|
|
642
650
|
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
651
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
652
|
+
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
|
|
653
|
+
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
|
|
654
|
+
packages bundling all of theme, just to use a single color, especially in situations where tree
|
|
655
|
+
shaking fails.
|
|
648
656
|
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
657
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
658
|
+
multiple distributions as they would need to have very different imports from of their own
|
|
659
|
+
internal dependencies.
|
|
652
660
|
|
|
653
|
-
|
|
654
|
-
|
|
661
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
662
|
+
environments.
|
|
655
663
|
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
664
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
665
|
+
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
|
|
666
|
+
saner API's and simpler package architecture.
|
|
659
667
|
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
668
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
669
|
+
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
|
|
670
|
+
external) if you have any questions or queries about this.
|
|
663
671
|
|
|
664
672
|
## 0.1.3
|
|
665
673
|
|
|
666
|
-
-
|
|
674
|
+
- [patch][aab267bb3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/aab267bb3a):
|
|
667
675
|
|
|
668
|
-
|
|
676
|
+
- Added test to make sure the props are passed down to hidden input
|
|
669
677
|
|
|
670
678
|
## 0.1.2
|
|
671
679
|
|
|
672
|
-
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
680
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
681
|
+
- @atlaskit/checkbox@5.0.9
|
|
682
|
+
- @atlaskit/theme@7.0.1
|
|
683
|
+
- @atlaskit/tooltip@12.1.13
|
|
684
|
+
- @atlaskit/docs@6.0.0
|
|
677
685
|
|
|
678
686
|
## 0.1.1
|
|
679
687
|
|
|
680
|
-
-
|
|
688
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
681
689
|
|
|
682
|
-
|
|
683
|
-
|
|
690
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
691
|
+
make theming simpler. Update all dependant components.
|
|
684
692
|
|
|
685
693
|
## 0.1.0
|
|
686
694
|
|
|
687
|
-
-
|
|
695
|
+
- [minor][8945a58](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8945a58):
|
|
688
696
|
|
|
689
|
-
|
|
697
|
+
- Initial release
|