@atlaskit/pagination 14.4.13 → 14.4.15
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 +56 -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 +7 -5
- package/tmp/api-report-tmp.d.ts +47 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,28 +1,40 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 14.4.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42577](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42577) [`d51b45b02fb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d51b45b02fb) - Add component to push model consumption in JFE
|
|
8
|
+
|
|
9
|
+
## 14.4.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 14.4.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
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.
|
|
19
|
+
- [#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
20
|
|
|
9
21
|
## 14.4.12
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
25
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
26
|
|
|
15
27
|
## 14.4.11
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
31
|
+
- [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
|
|
20
32
|
|
|
21
33
|
## 14.4.10
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
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.
|
|
37
|
+
- [#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
38
|
|
|
27
39
|
## 14.4.9
|
|
28
40
|
|
|
@@ -46,7 +58,7 @@
|
|
|
46
58
|
|
|
47
59
|
### Patch Changes
|
|
48
60
|
|
|
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
|
|
61
|
+
- [#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
62
|
|
|
51
63
|
## 14.4.5
|
|
52
64
|
|
|
@@ -82,25 +94,25 @@
|
|
|
82
94
|
|
|
83
95
|
### Minor Changes
|
|
84
96
|
|
|
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
|
|
97
|
+
- [#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
98
|
|
|
87
99
|
## 14.3.2
|
|
88
100
|
|
|
89
101
|
### Patch Changes
|
|
90
102
|
|
|
91
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
103
|
+
- [#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
104
|
|
|
93
105
|
## 14.3.1
|
|
94
106
|
|
|
95
107
|
### Patch Changes
|
|
96
108
|
|
|
97
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
109
|
+
- [#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
110
|
|
|
99
111
|
## 14.3.0
|
|
100
112
|
|
|
101
113
|
### Minor Changes
|
|
102
114
|
|
|
103
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
115
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
104
116
|
|
|
105
117
|
### Patch Changes
|
|
106
118
|
|
|
@@ -110,7 +122,7 @@
|
|
|
110
122
|
|
|
111
123
|
### Patch Changes
|
|
112
124
|
|
|
113
|
-
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
|
|
125
|
+
- [#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
126
|
|
|
115
127
|
## 14.2.14
|
|
116
128
|
|
|
@@ -146,7 +158,7 @@
|
|
|
146
158
|
|
|
147
159
|
### Patch Changes
|
|
148
160
|
|
|
149
|
-
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
|
|
161
|
+
- [#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
162
|
|
|
151
163
|
## 14.2.8
|
|
152
164
|
|
|
@@ -158,26 +170,26 @@
|
|
|
158
170
|
|
|
159
171
|
### Patch Changes
|
|
160
172
|
|
|
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.
|
|
173
|
+
- [#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
174
|
- Updated dependencies
|
|
163
175
|
|
|
164
176
|
## 14.2.6
|
|
165
177
|
|
|
166
178
|
### Patch Changes
|
|
167
179
|
|
|
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
|
|
180
|
+
- [#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
181
|
|
|
170
182
|
## 14.2.5
|
|
171
183
|
|
|
172
184
|
### Patch Changes
|
|
173
185
|
|
|
174
|
-
- [`207726a4cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/207726a4cb2) - [ux] Replace ellipsis made with three periods (...) with ellipsis character (…)
|
|
186
|
+
- [#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
187
|
|
|
176
188
|
## 14.2.4
|
|
177
189
|
|
|
178
190
|
### Patch Changes
|
|
179
191
|
|
|
180
|
-
- [`87991a69644`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87991a69644) - - Remove @atlaskit/tokens as a dependency.
|
|
192
|
+
- [#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
193
|
- Remove @emotion/react as a dependency.
|
|
182
194
|
- Remove padding on navigator button in favor of default button sizing.
|
|
183
195
|
|
|
@@ -191,19 +203,19 @@
|
|
|
191
203
|
|
|
192
204
|
### Patch Changes
|
|
193
205
|
|
|
194
|
-
- [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
206
|
+
- [#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
207
|
|
|
196
208
|
## 14.2.1
|
|
197
209
|
|
|
198
210
|
### Patch Changes
|
|
199
211
|
|
|
200
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
212
|
+
- [#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
213
|
|
|
202
214
|
## 14.2.0
|
|
203
215
|
|
|
204
216
|
### Minor Changes
|
|
205
217
|
|
|
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.
|
|
218
|
+
- [#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
219
|
|
|
208
220
|
### Patch Changes
|
|
209
221
|
|
|
@@ -213,13 +225,13 @@
|
|
|
213
225
|
|
|
214
226
|
### Patch Changes
|
|
215
227
|
|
|
216
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
228
|
+
- [#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
229
|
|
|
218
230
|
## 14.1.9
|
|
219
231
|
|
|
220
232
|
### Patch Changes
|
|
221
233
|
|
|
222
|
-
- [`ac051e856a6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac051e856a6) - Internal code change turning on new linting rules.
|
|
234
|
+
- [#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
235
|
- Updated dependencies
|
|
224
236
|
|
|
225
237
|
## 14.1.8
|
|
@@ -232,13 +244,13 @@
|
|
|
232
244
|
|
|
233
245
|
### Patch Changes
|
|
234
246
|
|
|
235
|
-
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
247
|
+
- [#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
248
|
|
|
237
249
|
## 14.1.6
|
|
238
250
|
|
|
239
251
|
### Patch Changes
|
|
240
252
|
|
|
241
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
253
|
+
- [#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
254
|
- Updated dependencies
|
|
243
255
|
|
|
244
256
|
## 14.1.5
|
|
@@ -251,20 +263,20 @@
|
|
|
251
263
|
|
|
252
264
|
### Patch Changes
|
|
253
265
|
|
|
254
|
-
- [`f8678250d08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f8678250d08) - Styles have been rewritten to prepare for migration to compiled.
|
|
266
|
+
- [#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
267
|
- Updated dependencies
|
|
256
268
|
|
|
257
269
|
## 14.1.3
|
|
258
270
|
|
|
259
271
|
### Patch Changes
|
|
260
272
|
|
|
261
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Bump dependency tiny-invariant to latest"
|
|
273
|
+
- [#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
274
|
|
|
263
275
|
## 14.1.2
|
|
264
276
|
|
|
265
277
|
### Patch Changes
|
|
266
278
|
|
|
267
|
-
- [`b85e7ce12cd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b85e7ce12cd) - Internal upgrade of memoize-one to 6.0.0
|
|
279
|
+
- [#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
280
|
|
|
269
281
|
## 14.1.1
|
|
270
282
|
|
|
@@ -276,7 +288,7 @@
|
|
|
276
288
|
|
|
277
289
|
### Minor Changes
|
|
278
290
|
|
|
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
|
|
291
|
+
- [#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
292
|
|
|
281
293
|
### Patch Changes
|
|
282
294
|
|
|
@@ -293,26 +305,26 @@
|
|
|
293
305
|
|
|
294
306
|
### Patch Changes
|
|
295
307
|
|
|
296
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
308
|
+
- [#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
309
|
|
|
298
310
|
## 14.0.2
|
|
299
311
|
|
|
300
312
|
### Patch Changes
|
|
301
313
|
|
|
302
|
-
- [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
314
|
+
- [#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
315
|
|
|
304
316
|
## 14.0.1
|
|
305
317
|
|
|
306
318
|
### Patch Changes
|
|
307
319
|
|
|
308
|
-
- [`01918d5d885`](https://bitbucket.org/atlassian/atlassian-frontend/commits/01918d5d885) - Reduce bundle size by replacing custom theme buttons to standard buttons in pagination component.
|
|
320
|
+
- [#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
321
|
- Updated dependencies
|
|
310
322
|
|
|
311
323
|
## 14.0.0
|
|
312
324
|
|
|
313
325
|
### Major Changes
|
|
314
326
|
|
|
315
|
-
- [`517850f6451`](https://bitbucket.org/atlassian/atlassian-frontend/commits/517850f6451) - In this version we made pagination dramatically faster and lighter 🤩
|
|
327
|
+
- [#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
328
|
|
|
317
329
|
- General performance improvements.
|
|
318
330
|
- Accesbility improvemnts (Change Pagination wrapper tag from div to nav).
|
|
@@ -344,7 +356,7 @@
|
|
|
344
356
|
|
|
345
357
|
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
346
358
|
For Atlassians,
|
|
347
|
-
refer to the [documentation](https://
|
|
359
|
+
refer to the [documentation](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details on the codemod CLI.
|
|
348
360
|
|
|
349
361
|
### Patch Changes
|
|
350
362
|
|
|
@@ -355,7 +367,7 @@
|
|
|
355
367
|
|
|
356
368
|
### Minor Changes
|
|
357
369
|
|
|
358
|
-
- [`0c29d48ebf8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0c29d48ebf8) - Convert class to functional components & analytics HOC to hooks
|
|
370
|
+
- [#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
371
|
|
|
360
372
|
### Patch Changes
|
|
361
373
|
|
|
@@ -368,26 +380,26 @@
|
|
|
368
380
|
|
|
369
381
|
### Minor Changes
|
|
370
382
|
|
|
371
|
-
- [`07dc98acc92`](https://bitbucket.org/atlassian/atlassian-frontend/commits/07dc98acc92) - Added testId prop to pagination
|
|
383
|
+
- [#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
384
|
|
|
373
385
|
## 13.0.10
|
|
374
386
|
|
|
375
387
|
### Patch Changes
|
|
376
388
|
|
|
377
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
389
|
+
- [#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
390
|
- Updated dependencies
|
|
379
391
|
|
|
380
392
|
## 13.0.9
|
|
381
393
|
|
|
382
394
|
### Patch Changes
|
|
383
395
|
|
|
384
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
396
|
+
- [#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
397
|
|
|
386
398
|
## 13.0.8
|
|
387
399
|
|
|
388
400
|
### Patch Changes
|
|
389
401
|
|
|
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.
|
|
402
|
+
- [#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
403
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
392
404
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
393
405
|
|
|
@@ -401,7 +413,7 @@
|
|
|
401
413
|
|
|
402
414
|
### Patch Changes
|
|
403
415
|
|
|
404
|
-
- [`2ac834240e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2ac834240e) - Undo analytics-next file restructure to allow external ts definitions to continue working
|
|
416
|
+
- [#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
417
|
|
|
406
418
|
## 13.0.5
|
|
407
419
|
|
|
@@ -413,7 +425,7 @@
|
|
|
413
425
|
|
|
414
426
|
### Patch Changes
|
|
415
427
|
|
|
416
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
428
|
+
- [#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
429
|
|
|
418
430
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
419
431
|
to prevent duplicates of tslib being bundled.
|
|
@@ -422,25 +434,25 @@
|
|
|
422
434
|
|
|
423
435
|
### Patch Changes
|
|
424
436
|
|
|
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.
|
|
437
|
+
- [#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
438
|
|
|
427
439
|
## 13.0.2
|
|
428
440
|
|
|
429
441
|
### Patch Changes
|
|
430
442
|
|
|
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.
|
|
443
|
+
- [#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
444
|
|
|
433
445
|
## 13.0.1
|
|
434
446
|
|
|
435
447
|
### Patch Changes
|
|
436
448
|
|
|
437
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
449
|
+
- [#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
450
|
|
|
439
451
|
## 13.0.0
|
|
440
452
|
|
|
441
453
|
### Major Changes
|
|
442
454
|
|
|
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.
|
|
455
|
+
- [#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
456
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
445
457
|
|
|
446
458
|
### Patch Changes
|
|
@@ -451,13 +463,13 @@
|
|
|
451
463
|
|
|
452
464
|
### Patch Changes
|
|
453
465
|
|
|
454
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
466
|
+
- [#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
467
|
|
|
456
468
|
## 12.0.20
|
|
457
469
|
|
|
458
470
|
### Patch Changes
|
|
459
471
|
|
|
460
|
-
- [`83dad3770b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/83dad3770b) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
472
|
+
- [#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
473
|
|
|
462
474
|
## 12.0.19
|
|
463
475
|
|
|
@@ -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.15"
|
|
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.15"
|
|
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.15"
|
|
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.15",
|
|
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/"
|
|
@@ -29,6 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"atlassian": {
|
|
31
31
|
"team": "Design System Team",
|
|
32
|
+
"productPushConsumption": [
|
|
33
|
+
"jira"
|
|
34
|
+
],
|
|
32
35
|
"releaseModel": "continuous",
|
|
33
36
|
"website": {
|
|
34
37
|
"name": "Pagination",
|
|
@@ -37,12 +40,12 @@
|
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
|
39
42
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
40
|
-
"@atlaskit/button": "^16.
|
|
43
|
+
"@atlaskit/button": "^16.13.0",
|
|
41
44
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
42
|
-
"@atlaskit/ds-explorations": "^
|
|
45
|
+
"@atlaskit/ds-explorations": "^3.0.0",
|
|
43
46
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
44
47
|
"@atlaskit/icon": "^21.12.0",
|
|
45
|
-
"@atlaskit/primitives": "^1.
|
|
48
|
+
"@atlaskit/primitives": "^1.9.0",
|
|
46
49
|
"@babel/runtime": "^7.0.0",
|
|
47
50
|
"memoize-one": "^6.0.0"
|
|
48
51
|
},
|
|
@@ -51,7 +54,6 @@
|
|
|
51
54
|
},
|
|
52
55
|
"devDependencies": {
|
|
53
56
|
"@af/accessibility-testing": "*",
|
|
54
|
-
"@atlaskit/ds-lib": "^2.2.0",
|
|
55
57
|
"@atlaskit/ssr": "*",
|
|
56
58
|
"@atlaskit/visual-regression": "*",
|
|
57
59
|
"@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
|
+
```
|