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