@atlaskit/pagination 16.1.13 → 16.1.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
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 16.1.15
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 16.1.14
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 16.1.13
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -857,7 +869,6 @@
|
|
|
857
869
|
- [#10569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10569)
|
|
858
870
|
[`517850f6451`](https://bitbucket.org/atlassian/atlassian-frontend/commits/517850f6451) - In this
|
|
859
871
|
version we made pagination dramatically faster and lighter 🤩
|
|
860
|
-
|
|
861
872
|
- General performance improvements.
|
|
862
873
|
- Accesbility improvemnts (Change Pagination wrapper tag from div to nav).
|
|
863
874
|
- Changed to on demand dyanmic generation of page components for better performance.
|
|
@@ -1043,7 +1054,6 @@
|
|
|
1043
1054
|
|
|
1044
1055
|
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
|
|
1045
1056
|
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
1046
|
-
|
|
1047
1057
|
- @atlaskit/docs@8.3.2
|
|
1048
1058
|
- @atlaskit/visual-regression@0.1.9
|
|
1049
1059
|
- @atlaskit/analytics-next@6.3.5
|
|
@@ -1143,12 +1153,10 @@
|
|
|
1143
1153
|
safety. Flow types are no longer provided. No behavioural changes.
|
|
1144
1154
|
|
|
1145
1155
|
**Breaking changes**
|
|
1146
|
-
|
|
1147
1156
|
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
|
|
1148
1157
|
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
|
|
1149
1158
|
|
|
1150
1159
|
**Breaking changes to TypeScript annotations**
|
|
1151
|
-
|
|
1152
1160
|
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
|
|
1153
1161
|
props as a generic type.
|
|
1154
1162
|
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
|
|
@@ -1189,7 +1197,6 @@
|
|
|
1189
1197
|
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
1190
1198
|
|
|
1191
1199
|
In this PR, we are:
|
|
1192
|
-
|
|
1193
1200
|
- Re-introducing dist build folders
|
|
1194
1201
|
- Adding back cjs
|
|
1195
1202
|
- Replacing es5 by cjs and es2015 by esm
|
|
@@ -1258,14 +1265,12 @@
|
|
|
1258
1265
|
## 12.0.1
|
|
1259
1266
|
|
|
1260
1267
|
- [patch][b0ef06c685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0ef06c685):
|
|
1261
|
-
|
|
1262
1268
|
- This is just a safety release in case anything strange happened in in the previous one. See Pull
|
|
1263
1269
|
Request #5942 for details
|
|
1264
1270
|
|
|
1265
1271
|
## 12.0.0
|
|
1266
1272
|
|
|
1267
1273
|
- [major][8c65f23d32](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8c65f23d32):
|
|
1268
|
-
|
|
1269
1274
|
- @atlaskit/pagination has been converted to Typescript. Typescript consumers will now get static
|
|
1270
1275
|
type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
1271
1276
|
|
|
@@ -1287,7 +1292,6 @@
|
|
|
1287
1292
|
## 11.0.0
|
|
1288
1293
|
|
|
1289
1294
|
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
1290
|
-
|
|
1291
1295
|
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
|
|
1292
1296
|
this package, please ensure you use at least this version of react and react-dom.
|
|
1293
1297
|
|
|
@@ -1317,7 +1321,6 @@
|
|
|
1317
1321
|
## 10.0.2
|
|
1318
1322
|
|
|
1319
1323
|
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
1320
|
-
|
|
1321
1324
|
- Removes duplicate babel-runtime dependency
|
|
1322
1325
|
|
|
1323
1326
|
## 10.0.1
|
|
@@ -1335,7 +1338,6 @@
|
|
|
1335
1338
|
## 10.0.0
|
|
1336
1339
|
|
|
1337
1340
|
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
1338
|
-
|
|
1339
1341
|
- Drop ES5 from all the flow modules
|
|
1340
1342
|
|
|
1341
1343
|
### Dropping CJS support in all @atlaskit packages
|
|
@@ -1400,7 +1402,6 @@
|
|
|
1400
1402
|
- [major][1a09599](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1a09599):
|
|
1401
1403
|
|
|
1402
1404
|
New features in this release of @atlaskit/pagination
|
|
1403
|
-
|
|
1404
1405
|
- Ability to extend the pagination UI with custom components
|
|
1405
1406
|
- Control the maximum number of pages to be displayed
|
|
1406
1407
|
- Ability to customise the logic to collapse the pagination affordance
|
package/dist/cjs/pagination.js
CHANGED
|
@@ -34,7 +34,7 @@ var styles = {
|
|
|
34
34
|
var analyticsAttributes = {
|
|
35
35
|
componentName: 'pagination',
|
|
36
36
|
packageName: "@atlaskit/pagination",
|
|
37
|
-
packageVersion: "
|
|
37
|
+
packageVersion: "16.1.14"
|
|
38
38
|
};
|
|
39
39
|
function NavigatorIcon(_ref) {
|
|
40
40
|
var chevronDirection = _ref.chevronDirection;
|
package/dist/esm/pagination.js
CHANGED
|
@@ -25,7 +25,7 @@ var styles = {
|
|
|
25
25
|
var analyticsAttributes = {
|
|
26
26
|
componentName: 'pagination',
|
|
27
27
|
packageName: "@atlaskit/pagination",
|
|
28
|
-
packageVersion: "
|
|
28
|
+
packageVersion: "16.1.14"
|
|
29
29
|
};
|
|
30
30
|
function NavigatorIcon(_ref) {
|
|
31
31
|
var chevronDirection = _ref.chevronDirection;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactElement, type SyntheticEvent } from 'react';
|
|
2
|
-
type NavigatorProps
|
|
2
|
+
type NavigatorProps = {
|
|
3
3
|
/**
|
|
4
4
|
* This will be passed in as aria-label to the button. Use this to supply a descriptive label for assistive technology.
|
|
5
5
|
*/
|
|
@@ -16,5 +16,5 @@ type NavigatorProps<T> = {
|
|
|
16
16
|
onClick?: (event: SyntheticEvent) => void;
|
|
17
17
|
component?: React.ElementType<any>;
|
|
18
18
|
};
|
|
19
|
-
export default function Navigator
|
|
19
|
+
export default function Navigator(props: NavigatorProps): React.JSX.Element;
|
|
20
20
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { type ReactElement, type SyntheticEvent } from 'react';
|
|
2
|
-
type NavigatorProps
|
|
2
|
+
type NavigatorProps = {
|
|
3
3
|
/**
|
|
4
4
|
* This will be passed in as aria-label to the button. Use this to supply a descriptive label for assistive technology.
|
|
5
5
|
*/
|
|
@@ -16,5 +16,5 @@ type NavigatorProps<T> = {
|
|
|
16
16
|
onClick?: (event: SyntheticEvent) => void;
|
|
17
17
|
component?: React.ElementType<any>;
|
|
18
18
|
};
|
|
19
|
-
export default function Navigator
|
|
19
|
+
export default function Navigator(props: NavigatorProps): React.JSX.Element;
|
|
20
20
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.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/"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@atlaskit/css": "^0.15.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
40
40
|
"@atlaskit/icon": "^28.5.0",
|
|
41
|
-
"@atlaskit/primitives": "^
|
|
42
|
-
"@atlaskit/tokens": "^
|
|
41
|
+
"@atlaskit/primitives": "^16.0.0",
|
|
42
|
+
"@atlaskit/tokens": "^7.0.0",
|
|
43
43
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"memoize-one": "^6.0.0"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@af/integration-testing": "workspace:^",
|
|
53
53
|
"@af/visual-regression": "workspace:^",
|
|
54
54
|
"@atlaskit/code": "^17.2.0",
|
|
55
|
-
"@atlaskit/docs": "^11.
|
|
55
|
+
"@atlaskit/docs": "^11.2.0",
|
|
56
56
|
"@atlaskit/heading": "^5.2.0",
|
|
57
57
|
"@atlaskit/link": "^3.2.0",
|
|
58
58
|
"@atlaskit/section-message": "^8.7.0",
|