@atlaskit/pagination 14.4.13 → 14.4.14
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 +50 -44
- package/dist/cjs/internal/constants.js +1 -2
- package/dist/cjs/internal/utils/collapse-range.js +1 -2
- package/dist/cjs/pagination.js +4 -5
- package/dist/es2019/pagination.js +1 -1
- package/dist/esm/pagination.js +3 -3
- package/package.json +4 -5
- package/tmp/api-report-tmp.d.ts +47 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 14.4.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
3
9
|
## 14.4.13
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`5891eff1980`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5891eff1980) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
13
|
+
- [#38747](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38747) [`5891eff1980`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5891eff1980) - The internal composition of this component has changed. There is no expected change in behavior.
|
|
8
14
|
|
|
9
15
|
## 14.4.12
|
|
10
16
|
|
|
11
17
|
### Patch Changes
|
|
12
18
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
20
|
|
|
15
21
|
## 14.4.11
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
25
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
20
26
|
|
|
21
27
|
## 14.4.10
|
|
22
28
|
|
|
23
29
|
### Patch Changes
|
|
24
30
|
|
|
25
|
-
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
31
|
+
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
|
|
26
32
|
|
|
27
33
|
## 14.4.9
|
|
28
34
|
|
|
@@ -46,7 +52,7 @@
|
|
|
46
52
|
|
|
47
53
|
### Patch Changes
|
|
48
54
|
|
|
49
|
-
- [`2ed5220efcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ed5220efcc) - DSP-10691: added jest-axe and created accessibility unit tests to ensure basic a11y issues are tested
|
|
55
|
+
- [#35681](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35681) [`2ed5220efcc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ed5220efcc) - DSP-10691: added jest-axe and created accessibility unit tests to ensure basic a11y issues are tested
|
|
50
56
|
|
|
51
57
|
## 14.4.5
|
|
52
58
|
|
|
@@ -82,25 +88,25 @@
|
|
|
82
88
|
|
|
83
89
|
### Minor Changes
|
|
84
90
|
|
|
85
|
-
- [`12d9c63d4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d9c63d4c1) - [ux] pass pageLabel to dynamic-table component and updat prev label in examples, add description in the types file, update example files
|
|
91
|
+
- [#34947](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34947) [`12d9c63d4c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/12d9c63d4c1) - [ux] pass pageLabel to dynamic-table component and updat prev label in examples, add description in the types file, update example files
|
|
86
92
|
|
|
87
93
|
## 14.3.2
|
|
88
94
|
|
|
89
95
|
### Patch Changes
|
|
90
96
|
|
|
91
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
97
|
+
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
92
98
|
|
|
93
99
|
## 14.3.1
|
|
94
100
|
|
|
95
101
|
### Patch Changes
|
|
96
102
|
|
|
97
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
103
|
+
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
98
104
|
|
|
99
105
|
## 14.3.0
|
|
100
106
|
|
|
101
107
|
### Minor Changes
|
|
102
108
|
|
|
103
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
109
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
104
110
|
|
|
105
111
|
### Patch Changes
|
|
106
112
|
|
|
@@ -110,7 +116,7 @@
|
|
|
110
116
|
|
|
111
117
|
### Patch Changes
|
|
112
118
|
|
|
113
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
119
|
+
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
114
120
|
|
|
115
121
|
## 14.2.14
|
|
116
122
|
|
|
@@ -146,7 +152,7 @@
|
|
|
146
152
|
|
|
147
153
|
### Patch Changes
|
|
148
154
|
|
|
149
|
-
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
155
|
+
- [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
150
156
|
|
|
151
157
|
## 14.2.8
|
|
152
158
|
|
|
@@ -158,26 +164,26 @@
|
|
|
158
164
|
|
|
159
165
|
### Patch Changes
|
|
160
166
|
|
|
161
|
-
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
|
|
167
|
+
- [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
|
|
162
168
|
- Updated dependencies
|
|
163
169
|
|
|
164
170
|
## 14.2.6
|
|
165
171
|
|
|
166
172
|
### Patch Changes
|
|
167
173
|
|
|
168
|
-
- [`716af1d3387`](https://bitbucket.org/atlassian/atlassian-frontend/commits/716af1d3387) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
|
|
174
|
+
- [#28159](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28159) [`716af1d3387`](https://bitbucket.org/atlassian/atlassian-frontend/commits/716af1d3387) - Bump @atlaskit/heading from 1.0.0 to 1.0.1 to avoid resolving to poison dependency version
|
|
169
175
|
|
|
170
176
|
## 14.2.5
|
|
171
177
|
|
|
172
178
|
### Patch Changes
|
|
173
179
|
|
|
174
|
-
- [`207726a4cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/207726a4cb2) - [ux] Replace ellipsis made with three periods (...) with ellipsis character (…)
|
|
180
|
+
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`207726a4cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/207726a4cb2) - [ux] Replace ellipsis made with three periods (...) with ellipsis character (…)
|
|
175
181
|
|
|
176
182
|
## 14.2.4
|
|
177
183
|
|
|
178
184
|
### Patch Changes
|
|
179
185
|
|
|
180
|
-
- [`87991a69644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87991a69644) - - Remove @atlaskit/tokens as a dependency.
|
|
186
|
+
- [#27209](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27209) [`87991a69644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87991a69644) - - Remove @atlaskit/tokens as a dependency.
|
|
181
187
|
- Remove @emotion/react as a dependency.
|
|
182
188
|
- Remove padding on navigator button in favor of default button sizing.
|
|
183
189
|
|
|
@@ -191,19 +197,19 @@
|
|
|
191
197
|
|
|
192
198
|
### Patch Changes
|
|
193
199
|
|
|
194
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
200
|
+
- [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
195
201
|
|
|
196
202
|
## 14.2.1
|
|
197
203
|
|
|
198
204
|
### Patch Changes
|
|
199
205
|
|
|
200
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
206
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
201
207
|
|
|
202
208
|
## 14.2.0
|
|
203
209
|
|
|
204
210
|
### Minor Changes
|
|
205
211
|
|
|
206
|
-
- [`2afcf534bad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2afcf534bad) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
212
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`2afcf534bad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2afcf534bad) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
207
213
|
|
|
208
214
|
### Patch Changes
|
|
209
215
|
|
|
@@ -213,13 +219,13 @@
|
|
|
213
219
|
|
|
214
220
|
### Patch Changes
|
|
215
221
|
|
|
216
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
222
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
217
223
|
|
|
218
224
|
## 14.1.9
|
|
219
225
|
|
|
220
226
|
### Patch Changes
|
|
221
227
|
|
|
222
|
-
- [`ac051e856a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac051e856a6) - Internal code change turning on new linting rules.
|
|
228
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`ac051e856a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac051e856a6) - Internal code change turning on new linting rules.
|
|
223
229
|
- Updated dependencies
|
|
224
230
|
|
|
225
231
|
## 14.1.8
|
|
@@ -232,13 +238,13 @@
|
|
|
232
238
|
|
|
233
239
|
### Patch Changes
|
|
234
240
|
|
|
235
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
241
|
+
- [#21545](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21545) [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
236
242
|
|
|
237
243
|
## 14.1.6
|
|
238
244
|
|
|
239
245
|
### Patch Changes
|
|
240
246
|
|
|
241
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
247
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
242
248
|
- Updated dependencies
|
|
243
249
|
|
|
244
250
|
## 14.1.5
|
|
@@ -251,20 +257,20 @@
|
|
|
251
257
|
|
|
252
258
|
### Patch Changes
|
|
253
259
|
|
|
254
|
-
- [`f8678250d08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f8678250d08) - Styles have been rewritten to prepare for migration to compiled.
|
|
260
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`f8678250d08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f8678250d08) - Styles have been rewritten to prepare for migration to compiled.
|
|
255
261
|
- Updated dependencies
|
|
256
262
|
|
|
257
263
|
## 14.1.3
|
|
258
264
|
|
|
259
265
|
### Patch Changes
|
|
260
266
|
|
|
261
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Bump dependency tiny-invariant to latest"
|
|
267
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Bump dependency tiny-invariant to latest"
|
|
262
268
|
|
|
263
269
|
## 14.1.2
|
|
264
270
|
|
|
265
271
|
### Patch Changes
|
|
266
272
|
|
|
267
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
273
|
+
- [#15694](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15694) [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
268
274
|
|
|
269
275
|
## 14.1.1
|
|
270
276
|
|
|
@@ -276,7 +282,7 @@
|
|
|
276
282
|
|
|
277
283
|
### Minor Changes
|
|
278
284
|
|
|
279
|
-
- [`f7f36b1ea80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f36b1ea80) - Test IDs are now applied to sub-components, including the page items and left/right navigation controls
|
|
285
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`f7f36b1ea80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f7f36b1ea80) - Test IDs are now applied to sub-components, including the page items and left/right navigation controls
|
|
280
286
|
|
|
281
287
|
### Patch Changes
|
|
282
288
|
|
|
@@ -293,26 +299,26 @@
|
|
|
293
299
|
|
|
294
300
|
### Patch Changes
|
|
295
301
|
|
|
296
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
302
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
297
303
|
|
|
298
304
|
## 14.0.2
|
|
299
305
|
|
|
300
306
|
### Patch Changes
|
|
301
307
|
|
|
302
|
-
- [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
308
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
303
309
|
|
|
304
310
|
## 14.0.1
|
|
305
311
|
|
|
306
312
|
### Patch Changes
|
|
307
313
|
|
|
308
|
-
- [`01918d5d885`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01918d5d885) - Reduce bundle size by replacing custom theme buttons to standard buttons in pagination component.
|
|
314
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`01918d5d885`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01918d5d885) - Reduce bundle size by replacing custom theme buttons to standard buttons in pagination component.
|
|
309
315
|
- Updated dependencies
|
|
310
316
|
|
|
311
317
|
## 14.0.0
|
|
312
318
|
|
|
313
319
|
### Major Changes
|
|
314
320
|
|
|
315
|
-
- [`517850f6451`](https://bitbucket.org/atlassian/atlassian-frontend/commits/517850f6451) - In this version we made pagination dramatically faster and lighter 🤩
|
|
321
|
+
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569) [`517850f6451`](https://bitbucket.org/atlassian/atlassian-frontend/commits/517850f6451) - In this version we made pagination dramatically faster and lighter 🤩
|
|
316
322
|
|
|
317
323
|
- General performance improvements.
|
|
318
324
|
- Accesbility improvemnts (Change Pagination wrapper tag from div to nav).
|
|
@@ -344,7 +350,7 @@
|
|
|
344
350
|
|
|
345
351
|
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
346
352
|
For Atlassians,
|
|
347
|
-
refer to the [documentation](https://
|
|
353
|
+
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
348
354
|
|
|
349
355
|
### Patch Changes
|
|
350
356
|
|
|
@@ -355,7 +361,7 @@
|
|
|
355
361
|
|
|
356
362
|
### Minor Changes
|
|
357
363
|
|
|
358
|
-
- [`0c29d48ebf8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c29d48ebf8) - Convert class to functional components & analytics HOC to hooks
|
|
364
|
+
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`0c29d48ebf8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c29d48ebf8) - Convert class to functional components & analytics HOC to hooks
|
|
359
365
|
|
|
360
366
|
### Patch Changes
|
|
361
367
|
|
|
@@ -368,26 +374,26 @@
|
|
|
368
374
|
|
|
369
375
|
### Minor Changes
|
|
370
376
|
|
|
371
|
-
- [`07dc98acc92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07dc98acc92) - Added testId prop to pagination
|
|
377
|
+
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`07dc98acc92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07dc98acc92) - Added testId prop to pagination
|
|
372
378
|
|
|
373
379
|
## 13.0.10
|
|
374
380
|
|
|
375
381
|
### Patch Changes
|
|
376
382
|
|
|
377
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
383
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
378
384
|
- Updated dependencies
|
|
379
385
|
|
|
380
386
|
## 13.0.9
|
|
381
387
|
|
|
382
388
|
### Patch Changes
|
|
383
389
|
|
|
384
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
390
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
385
391
|
|
|
386
392
|
## 13.0.8
|
|
387
393
|
|
|
388
394
|
### Patch Changes
|
|
389
395
|
|
|
390
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
396
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
391
397
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
392
398
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
393
399
|
|
|
@@ -401,7 +407,7 @@
|
|
|
401
407
|
|
|
402
408
|
### Patch Changes
|
|
403
409
|
|
|
404
|
-
- [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
|
|
410
|
+
- [#5164](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5164) [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
|
|
405
411
|
|
|
406
412
|
## 13.0.5
|
|
407
413
|
|
|
@@ -413,7 +419,7 @@
|
|
|
413
419
|
|
|
414
420
|
### Patch Changes
|
|
415
421
|
|
|
416
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
422
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
417
423
|
|
|
418
424
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
419
425
|
to prevent duplicates of tslib being bundled.
|
|
@@ -422,25 +428,25 @@
|
|
|
422
428
|
|
|
423
429
|
### Patch Changes
|
|
424
430
|
|
|
425
|
-
- [`7c7ec3b7ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c7ec3b7ab) - Earlier user was unable to see next page once he goes to page 5, While using Pagination component. Now it works fine for page 5 and other page as well.
|
|
431
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`7c7ec3b7ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7c7ec3b7ab) - Earlier user was unable to see next page once he goes to page 5, While using Pagination component. Now it works fine for page 5 and other page as well.
|
|
426
432
|
|
|
427
433
|
## 13.0.2
|
|
428
434
|
|
|
429
435
|
### Patch Changes
|
|
430
436
|
|
|
431
|
-
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
437
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
432
438
|
|
|
433
439
|
## 13.0.1
|
|
434
440
|
|
|
435
441
|
### Patch Changes
|
|
436
442
|
|
|
437
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
443
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
438
444
|
|
|
439
445
|
## 13.0.0
|
|
440
446
|
|
|
441
447
|
### Major Changes
|
|
442
448
|
|
|
443
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
449
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
444
450
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
445
451
|
|
|
446
452
|
### Patch Changes
|
|
@@ -451,13 +457,13 @@
|
|
|
451
457
|
|
|
452
458
|
### Patch Changes
|
|
453
459
|
|
|
454
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
460
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
455
461
|
|
|
456
462
|
## 12.0.20
|
|
457
463
|
|
|
458
464
|
### Patch Changes
|
|
459
465
|
|
|
460
|
-
- [`83dad3770b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83dad3770b) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
466
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`83dad3770b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83dad3770b) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
461
467
|
|
|
462
468
|
## 12.0.19
|
|
463
469
|
|
|
@@ -54,5 +54,4 @@ var collapseRange = function collapseRange(pages, current, _ref, testId) {
|
|
|
54
54
|
testId: "".concat(testId, "-ellipsis")
|
|
55
55
|
})], (0, _toConsumableArray2.default)(getPageComponents(total - 1)));
|
|
56
56
|
};
|
|
57
|
-
var _default = collapseRange;
|
|
58
|
-
exports.default = _default;
|
|
57
|
+
var _default = exports.default = collapseRange;
|
package/dist/cjs/pagination.js
CHANGED
|
@@ -22,12 +22,12 @@ var _constants = require("./internal/constants");
|
|
|
22
22
|
var _collapseRange = _interopRequireDefault(require("./internal/utils/collapse-range"));
|
|
23
23
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
24
24
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
25
|
-
function ownKeys(
|
|
26
|
-
function _objectSpread(
|
|
25
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
27
27
|
var analyticsAttributes = {
|
|
28
28
|
componentName: 'pagination',
|
|
29
29
|
packageName: "@atlaskit/pagination",
|
|
30
|
-
packageVersion: "14.4.
|
|
30
|
+
packageVersion: "14.4.14"
|
|
31
31
|
};
|
|
32
32
|
function InnerPagination(_ref, ref) {
|
|
33
33
|
var _ref$components = _ref.components,
|
|
@@ -143,5 +143,4 @@ function InnerPagination(_ref, ref) {
|
|
|
143
143
|
})));
|
|
144
144
|
}
|
|
145
145
|
var Pagination = /*#__PURE__*/(0, _react.forwardRef)(InnerPagination);
|
|
146
|
-
var _default = /*#__PURE__*/(0, _react.memo)(Pagination);
|
|
147
|
-
exports.default = _default;
|
|
146
|
+
var _default = exports.default = /*#__PURE__*/(0, _react.memo)(Pagination);
|
|
@@ -13,7 +13,7 @@ import collapseRange from './internal/utils/collapse-range';
|
|
|
13
13
|
const analyticsAttributes = {
|
|
14
14
|
componentName: 'pagination',
|
|
15
15
|
packageName: "@atlaskit/pagination",
|
|
16
|
-
packageVersion: "14.4.
|
|
16
|
+
packageVersion: "14.4.14"
|
|
17
17
|
};
|
|
18
18
|
function InnerPagination({
|
|
19
19
|
components = emptyObject,
|
package/dist/esm/pagination.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
|
-
function ownKeys(
|
|
4
|
-
function _objectSpread(
|
|
3
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
4
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
5
5
|
import React, { forwardRef, memo } from 'react';
|
|
6
6
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
7
7
|
import noop from '@atlaskit/ds-lib/noop';
|
|
@@ -17,7 +17,7 @@ import collapseRange from './internal/utils/collapse-range';
|
|
|
17
17
|
var analyticsAttributes = {
|
|
18
18
|
componentName: 'pagination',
|
|
19
19
|
packageName: "@atlaskit/pagination",
|
|
20
|
-
packageVersion: "14.4.
|
|
20
|
+
packageVersion: "14.4.14"
|
|
21
21
|
};
|
|
22
22
|
function InnerPagination(_ref, ref) {
|
|
23
23
|
var _ref$components = _ref.components,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "14.4.
|
|
3
|
+
"version": "14.4.14",
|
|
4
4
|
"description": "Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,12 +37,12 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
40
|
-
"@atlaskit/button": "^16.
|
|
40
|
+
"@atlaskit/button": "^16.10.0",
|
|
41
41
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
42
|
-
"@atlaskit/ds-explorations": "^
|
|
42
|
+
"@atlaskit/ds-explorations": "^3.0.0",
|
|
43
43
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
44
44
|
"@atlaskit/icon": "^21.12.0",
|
|
45
|
-
"@atlaskit/primitives": "^1.
|
|
45
|
+
"@atlaskit/primitives": "^1.6.0",
|
|
46
46
|
"@babel/runtime": "^7.0.0",
|
|
47
47
|
"memoize-one": "^6.0.0"
|
|
48
48
|
},
|
|
@@ -51,7 +51,6 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@af/accessibility-testing": "*",
|
|
54
|
-
"@atlaskit/ds-lib": "^2.2.0",
|
|
55
54
|
"@atlaskit/ssr": "*",
|
|
56
55
|
"@atlaskit/visual-regression": "*",
|
|
57
56
|
"@atlaskit/webdriver-runner": "*",
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
## API Report File for "@atlaskit/pagination"
|
|
2
|
+
|
|
3
|
+
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
|
|
7
|
+
import type { CSSProperties } from 'react';
|
|
8
|
+
import { default as React_2 } from 'react';
|
|
9
|
+
import type { ReactElement } from 'react';
|
|
10
|
+
import type { SyntheticEvent } from 'react';
|
|
11
|
+
import { UIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
12
|
+
|
|
13
|
+
// @public (undocumented)
|
|
14
|
+
const _default: typeof InnerPagination;
|
|
15
|
+
export default _default;
|
|
16
|
+
|
|
17
|
+
// @public (undocumented)
|
|
18
|
+
function InnerPagination<T>({ components, defaultSelectedIndex, selectedIndex, label, pageLabel, previousLabel, nextLabel, style, max, onChange, pages, getPageLabel, renderEllipsis, analyticsContext, testId, }: PaginationPropTypes<T>, ref: React_2.Ref<HTMLDivElement>): JSX.Element;
|
|
19
|
+
|
|
20
|
+
// @public (undocumented)
|
|
21
|
+
export interface PaginationPropTypes<T = unknown> {
|
|
22
|
+
analyticsContext?: Record<string, any>;
|
|
23
|
+
components?: {
|
|
24
|
+
Page?: React.ElementType;
|
|
25
|
+
Previous?: React.ElementType;
|
|
26
|
+
Next?: React.ElementType;
|
|
27
|
+
};
|
|
28
|
+
defaultSelectedIndex?: number;
|
|
29
|
+
getPageLabel?: (page: T, pageIndex: number) => number | string;
|
|
30
|
+
label?: string;
|
|
31
|
+
max?: number;
|
|
32
|
+
nextLabel?: string;
|
|
33
|
+
onChange?: (event: SyntheticEvent, page: T, analyticsEvent?: UIAnalyticsEvent) => void;
|
|
34
|
+
pageLabel?: string;
|
|
35
|
+
pages: T[];
|
|
36
|
+
previousLabel?: string;
|
|
37
|
+
renderEllipsis?: (arg: {
|
|
38
|
+
key: string;
|
|
39
|
+
}) => ReactElement;
|
|
40
|
+
selectedIndex?: number;
|
|
41
|
+
style?: CSSProperties;
|
|
42
|
+
testId?: string;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// (No @packageDocumentation comment for this package)
|
|
46
|
+
|
|
47
|
+
```
|