@atlaskit/range 7.1.8 → 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 +213 -74
- 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 -93
- package/report.api.md +19 -24
package/CHANGELOG.md
CHANGED
|
@@ -1,58 +1,95 @@
|
|
|
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
|
+
|
|
12
|
+
## 7.2.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
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.
|
|
19
|
+
|
|
3
20
|
## 7.1.8
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
6
23
|
|
|
7
|
-
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
|
|
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`
|
|
8
27
|
|
|
9
28
|
## 7.1.7
|
|
10
29
|
|
|
11
30
|
### Patch Changes
|
|
12
31
|
|
|
13
|
-
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731)
|
|
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
|
|
14
35
|
|
|
15
36
|
## 7.1.6
|
|
16
37
|
|
|
17
38
|
### Patch Changes
|
|
18
39
|
|
|
19
|
-
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201)
|
|
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.
|
|
20
43
|
|
|
21
44
|
## 7.1.5
|
|
22
45
|
|
|
23
46
|
### Patch Changes
|
|
24
47
|
|
|
25
|
-
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
|
|
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.
|
|
26
52
|
|
|
27
53
|
## 7.1.4
|
|
28
54
|
|
|
29
55
|
### Patch Changes
|
|
30
56
|
|
|
31
|
-
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
|
|
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.
|
|
32
60
|
|
|
33
61
|
## 7.1.3
|
|
34
62
|
|
|
35
63
|
### Patch Changes
|
|
36
64
|
|
|
37
|
-
- [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
|
|
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.
|
|
38
69
|
|
|
39
70
|
## 7.1.2
|
|
40
71
|
|
|
41
72
|
### Patch Changes
|
|
42
73
|
|
|
43
|
-
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
|
|
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
|
|
44
77
|
|
|
45
78
|
## 7.1.1
|
|
46
79
|
|
|
47
80
|
### Patch Changes
|
|
48
81
|
|
|
49
|
-
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
|
|
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`
|
|
50
85
|
|
|
51
86
|
## 7.1.0
|
|
52
87
|
|
|
53
88
|
### Minor Changes
|
|
54
89
|
|
|
55
|
-
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
|
|
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
|
|
56
93
|
|
|
57
94
|
### Patch Changes
|
|
58
95
|
|
|
@@ -62,7 +99,10 @@
|
|
|
62
99
|
|
|
63
100
|
### Patch Changes
|
|
64
101
|
|
|
65
|
-
- [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
|
|
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`
|
|
66
106
|
- Updated dependencies
|
|
67
107
|
|
|
68
108
|
## 7.0.3
|
|
@@ -87,48 +127,63 @@
|
|
|
87
127
|
|
|
88
128
|
### Major Changes
|
|
89
129
|
|
|
90
|
-
- [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860)
|
|
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:
|
|
91
133
|
|
|
92
134
|
- The scrubber now applies the same color as the foreground
|
|
93
|
-
- The disabled state has been altered; it's now a consistently applied opacity state overlay
|
|
135
|
+
- The disabled state has been altered; it's now a consistently applied opacity state overlay
|
|
136
|
+
across the whole element
|
|
94
137
|
- The input now uses :focus-visible, rather than :focus and applies an offset focus ring
|
|
95
138
|
|
|
96
139
|
## 6.1.1
|
|
97
140
|
|
|
98
141
|
### Patch Changes
|
|
99
142
|
|
|
100
|
-
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
|
|
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.
|
|
101
146
|
|
|
102
147
|
## 6.1.0
|
|
103
148
|
|
|
104
149
|
### Minor Changes
|
|
105
150
|
|
|
106
|
-
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
|
|
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.
|
|
107
154
|
|
|
108
155
|
## 6.0.9
|
|
109
156
|
|
|
110
157
|
### Patch Changes
|
|
111
158
|
|
|
112
|
-
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
|
|
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`
|
|
113
162
|
|
|
114
163
|
## 6.0.8
|
|
115
164
|
|
|
116
165
|
### Patch Changes
|
|
117
166
|
|
|
118
|
-
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
|
|
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`.
|
|
119
170
|
|
|
120
171
|
## 6.0.7
|
|
121
172
|
|
|
122
173
|
### Patch Changes
|
|
123
174
|
|
|
124
|
-
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381)
|
|
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.
|
|
125
178
|
- Updated dependencies
|
|
126
179
|
|
|
127
180
|
## 6.0.6
|
|
128
181
|
|
|
129
182
|
### Patch Changes
|
|
130
183
|
|
|
131
|
-
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642)
|
|
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.
|
|
132
187
|
|
|
133
188
|
## 6.0.5
|
|
134
189
|
|
|
@@ -140,7 +195,9 @@
|
|
|
140
195
|
|
|
141
196
|
### Patch Changes
|
|
142
197
|
|
|
143
|
-
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
|
|
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
|
|
144
201
|
|
|
145
202
|
## 6.0.3
|
|
146
203
|
|
|
@@ -164,7 +221,9 @@
|
|
|
164
221
|
|
|
165
222
|
### Major Changes
|
|
166
223
|
|
|
167
|
-
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
|
|
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.
|
|
168
227
|
This includes custom theming using the `theme` prop, which has been removed.
|
|
169
228
|
|
|
170
229
|
If you are not using the `theme` prop, there should be no breaking changes.
|
|
@@ -173,8 +232,13 @@
|
|
|
173
232
|
|
|
174
233
|
### Patch Changes
|
|
175
234
|
|
|
176
|
-
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
|
|
177
|
-
|
|
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.
|
|
178
242
|
- Updated dependencies
|
|
179
243
|
|
|
180
244
|
## 5.1.3
|
|
@@ -187,23 +251,31 @@
|
|
|
187
251
|
|
|
188
252
|
### Patch Changes
|
|
189
253
|
|
|
190
|
-
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
|
|
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
|
|
191
257
|
|
|
192
258
|
## 5.1.1
|
|
193
259
|
|
|
194
260
|
### Patch Changes
|
|
195
261
|
|
|
196
|
-
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
|
|
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.
|
|
197
266
|
- Updated dependencies
|
|
198
267
|
|
|
199
268
|
## 5.1.0
|
|
200
269
|
|
|
201
270
|
### Minor Changes
|
|
202
271
|
|
|
203
|
-
- [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
|
|
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`.
|
|
204
275
|
|
|
205
|
-
New tokens will be visible only in applications configured to use the new Tokens API (currently in
|
|
206
|
-
These changes are intended to be interoperable with the legacy theme implementation.
|
|
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.
|
|
207
279
|
|
|
208
280
|
### Patch Changes
|
|
209
281
|
|
|
@@ -219,45 +291,62 @@
|
|
|
219
291
|
|
|
220
292
|
### Patch Changes
|
|
221
293
|
|
|
222
|
-
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
|
|
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`.
|
|
223
297
|
|
|
224
298
|
## 5.0.9
|
|
225
299
|
|
|
226
300
|
### Patch Changes
|
|
227
301
|
|
|
228
|
-
- [#11980](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11980)
|
|
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
|
|
229
306
|
|
|
230
307
|
## 5.0.8
|
|
231
308
|
|
|
232
309
|
### Patch Changes
|
|
233
310
|
|
|
234
|
-
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167)
|
|
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`
|
|
235
314
|
|
|
236
315
|
## 5.0.7
|
|
237
316
|
|
|
238
317
|
### Patch Changes
|
|
239
318
|
|
|
240
|
-
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
|
|
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.
|
|
241
322
|
|
|
242
323
|
## 5.0.6
|
|
243
324
|
|
|
244
325
|
### Patch Changes
|
|
245
326
|
|
|
246
|
-
- [#6930](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6930)
|
|
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.
|
|
247
331
|
|
|
248
332
|
## 5.0.5
|
|
249
333
|
|
|
250
334
|
### Patch Changes
|
|
251
335
|
|
|
252
|
-
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
|
|
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
|
|
253
339
|
|
|
254
340
|
## 5.0.4
|
|
255
341
|
|
|
256
342
|
### Patch Changes
|
|
257
343
|
|
|
258
|
-
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
|
|
259
|
-
|
|
260
|
-
|
|
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.
|
|
261
350
|
|
|
262
351
|
## 5.0.3
|
|
263
352
|
|
|
@@ -269,24 +358,32 @@
|
|
|
269
358
|
|
|
270
359
|
### Patch Changes
|
|
271
360
|
|
|
272
|
-
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
|
|
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
|
|
273
364
|
|
|
274
|
-
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
|
|
275
|
-
to prevent duplicates of tslib being bundled.
|
|
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.
|
|
276
367
|
|
|
277
368
|
## 5.0.1
|
|
278
369
|
|
|
279
370
|
### Patch Changes
|
|
280
371
|
|
|
281
|
-
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823)
|
|
282
|
-
|
|
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
|
|
283
377
|
|
|
284
378
|
## 5.0.0
|
|
285
379
|
|
|
286
380
|
### Major Changes
|
|
287
381
|
|
|
288
|
-
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
|
|
289
|
-
|
|
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
|
|
290
387
|
|
|
291
388
|
### Patch Changes
|
|
292
389
|
|
|
@@ -296,21 +393,32 @@
|
|
|
296
393
|
|
|
297
394
|
### Patch Changes
|
|
298
395
|
|
|
299
|
-
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
|
|
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
|
|
300
399
|
|
|
301
400
|
## 4.0.0
|
|
302
401
|
|
|
303
402
|
### Major Changes
|
|
304
403
|
|
|
305
|
-
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
|
|
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 🤩
|
|
306
407
|
|
|
307
408
|
### Changes
|
|
308
409
|
|
|
309
|
-
In `4.0.0` we bring significant performance improvements all for just the cost of 1 breaking
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
-
|
|
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.
|
|
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`.
|
|
314
422
|
- A new example that shows off how to rate limit your `onChange` event
|
|
315
423
|
|
|
316
424
|
### Automatic upgrading
|
|
@@ -326,8 +434,11 @@
|
|
|
326
434
|
|
|
327
435
|
#### Notes
|
|
328
436
|
|
|
329
|
-
- You first need to upgrade to `4.0.0` **before** you run the codemod cli. This is because the cli
|
|
330
|
-
|
|
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
|
|
331
442
|
|
|
332
443
|
#### Ez pz lemon squeezy
|
|
333
444
|
|
|
@@ -356,7 +467,8 @@
|
|
|
356
467
|
|
|
357
468
|
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
358
469
|
|
|
359
|
-
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
470
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
471
|
+
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
360
472
|
|
|
361
473
|
- @atlaskit/docs@8.3.2
|
|
362
474
|
- @atlaskit/visual-regression@0.1.9
|
|
@@ -370,10 +482,14 @@
|
|
|
370
482
|
|
|
371
483
|
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
372
484
|
|
|
373
|
-
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result-
|
|
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):
|
|
374
488
|
|
|
375
|
-
- Updated dependencies
|
|
376
|
-
|
|
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):
|
|
377
493
|
- @atlaskit/theme@9.5.0
|
|
378
494
|
- @atlaskit/checkbox@10.1.5
|
|
379
495
|
- @atlaskit/tooltip@15.2.1
|
|
@@ -396,7 +512,8 @@
|
|
|
396
512
|
|
|
397
513
|
## 3.0.8
|
|
398
514
|
|
|
399
|
-
- Updated dependencies
|
|
515
|
+
- Updated dependencies
|
|
516
|
+
[97bab7fd28](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/97bab7fd28):
|
|
400
517
|
- @atlaskit/checkbox@10.0.0
|
|
401
518
|
- @atlaskit/docs@8.1.7
|
|
402
519
|
|
|
@@ -406,7 +523,8 @@
|
|
|
406
523
|
|
|
407
524
|
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
408
525
|
|
|
409
|
-
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
|
|
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
|
|
410
528
|
|
|
411
529
|
## 3.0.6
|
|
412
530
|
|
|
@@ -442,7 +560,8 @@
|
|
|
442
560
|
|
|
443
561
|
## 3.0.2
|
|
444
562
|
|
|
445
|
-
- Updated dependencies
|
|
563
|
+
- Updated dependencies
|
|
564
|
+
[87a2638655](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/87a2638655):
|
|
446
565
|
- @atlaskit/checkbox@9.0.0
|
|
447
566
|
|
|
448
567
|
## 3.0.1
|
|
@@ -459,16 +578,19 @@
|
|
|
459
578
|
|
|
460
579
|
- [major][4a08d1912e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4a08d1912e):
|
|
461
580
|
|
|
462
|
-
@atlaskit/range has been converted to Typescript. Typescript consumers will now get static type
|
|
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.
|
|
463
583
|
|
|
464
584
|
## 2.0.2
|
|
465
585
|
|
|
466
|
-
- Updated dependencies
|
|
586
|
+
- Updated dependencies
|
|
587
|
+
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
|
|
467
588
|
- @atlaskit/tooltip@15.0.0
|
|
468
589
|
|
|
469
590
|
## 2.0.1
|
|
470
591
|
|
|
471
|
-
- Updated dependencies
|
|
592
|
+
- Updated dependencies
|
|
593
|
+
[70862830d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/70862830d6):
|
|
472
594
|
- @atlaskit/checkbox@8.0.0
|
|
473
595
|
- @atlaskit/theme@9.1.0
|
|
474
596
|
|
|
@@ -476,23 +598,27 @@
|
|
|
476
598
|
|
|
477
599
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
478
600
|
|
|
479
|
-
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
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.
|
|
480
603
|
|
|
481
604
|
## 1.0.0
|
|
482
605
|
|
|
483
606
|
- [major][546b636a36](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/546b636a36):
|
|
484
607
|
|
|
485
|
-
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
608
|
+
- This major release indicates that this package is no longer under dev preview but is ready for
|
|
609
|
+
use
|
|
486
610
|
|
|
487
611
|
## 0.2.2
|
|
488
612
|
|
|
489
613
|
- [patch][1f2a181b0f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1f2a181b0f):
|
|
490
614
|
|
|
491
|
-
- onChange is no longer overridden by spread props. As a result this component should now work in
|
|
615
|
+
- onChange is no longer overridden by spread props. As a result this component should now work in
|
|
616
|
+
uncontrolled mode
|
|
492
617
|
|
|
493
618
|
## 0.2.1
|
|
494
619
|
|
|
495
|
-
- Updated dependencies
|
|
620
|
+
- Updated dependencies
|
|
621
|
+
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
496
622
|
- @atlaskit/docs@7.0.3
|
|
497
623
|
- @atlaskit/checkbox@6.0.4
|
|
498
624
|
- @atlaskit/tooltip@13.0.4
|
|
@@ -506,8 +632,9 @@
|
|
|
506
632
|
|
|
507
633
|
### Dropping CJS support in all @atlaskit packages
|
|
508
634
|
|
|
509
|
-
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
|
|
510
|
-
|
|
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.
|
|
511
638
|
|
|
512
639
|
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
513
640
|
|
|
@@ -521,15 +648,26 @@
|
|
|
521
648
|
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
522
649
|
```
|
|
523
650
|
|
|
524
|
-
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
|
|
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.
|
|
525
656
|
|
|
526
|
-
To support being able to use multiple entrypoints internally, we unfortunately cannot have
|
|
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.
|
|
527
660
|
|
|
528
|
-
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
661
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node
|
|
662
|
+
environments.
|
|
529
663
|
|
|
530
|
-
We may choose to revisit this solution in the future if we find any unintended condequences, but
|
|
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.
|
|
531
667
|
|
|
532
|
-
Please reach out to #fabric-build (if in Atlassian) or create an issue in
|
|
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.
|
|
533
671
|
|
|
534
672
|
## 0.1.3
|
|
535
673
|
|
|
@@ -549,7 +687,8 @@
|
|
|
549
687
|
|
|
550
688
|
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
551
689
|
|
|
552
|
-
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
690
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and
|
|
691
|
+
make theming simpler. Update all dependant components.
|
|
553
692
|
|
|
554
693
|
## 0.1.0
|
|
555
694
|
|
package/README.md
CHANGED
|
@@ -10,4 +10,5 @@ yarn add @atlaskit/range
|
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
|
-
For more information, see our
|
|
13
|
+
For more information, see our
|
|
14
|
+
[detailed range docs and examples](https://atlassian.design/components/range/).
|
package/__perf__/default.tsx
CHANGED