@atlaskit/pagination 14.9.5 → 14.10.1
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,19 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 14.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#168892](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/168892)
|
|
14
|
+
[`402c295d9e059`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/402c295d9e059) -
|
|
15
|
+
Updated types to improve compatibility with React 18.
|
|
16
|
+
|
|
3
17
|
## 14.9.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/pagination.js
CHANGED
|
@@ -27,7 +27,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
27
27
|
var analyticsAttributes = {
|
|
28
28
|
componentName: 'pagination',
|
|
29
29
|
packageName: "@atlaskit/pagination",
|
|
30
|
-
packageVersion: "14.
|
|
30
|
+
packageVersion: "14.10.1"
|
|
31
31
|
};
|
|
32
32
|
var paginationMenuStyles = (0, _primitives.xcss)({
|
|
33
33
|
padding: 'space.0',
|
|
@@ -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.
|
|
16
|
+
packageVersion: "14.10.1"
|
|
17
17
|
};
|
|
18
18
|
const paginationMenuStyles = xcss({
|
|
19
19
|
padding: 'space.0',
|
package/dist/esm/pagination.js
CHANGED
|
@@ -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.
|
|
20
|
+
packageVersion: "14.10.1"
|
|
21
21
|
};
|
|
22
22
|
var paginationMenuStyles = xcss({
|
|
23
23
|
padding: 'space.0',
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PaginationPropTypes } from './types';
|
|
3
|
-
declare function InnerPagination<T extends React.ReactNode>({ components, defaultSelectedIndex, selectedIndex, label, pageLabel, previousLabel, nextLabel, style, max, onChange, pages, getPageLabel, renderEllipsis, analyticsContext, testId, isDisabled, }: PaginationPropTypes<T>, ref: React.Ref<HTMLDivElement>): JSX.Element;
|
|
4
3
|
/**
|
|
5
4
|
* __Pagination__
|
|
6
5
|
*
|
|
@@ -10,5 +9,7 @@ declare function InnerPagination<T extends React.ReactNode>({ components, defaul
|
|
|
10
9
|
* - [Code](https://atlassian.design/components/pagination/code)
|
|
11
10
|
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
12
11
|
*/
|
|
13
|
-
declare const Pagination:
|
|
12
|
+
declare const Pagination: <T>(props: PaginationPropTypes<T> & {
|
|
13
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
14
|
+
}) => React.ReactElement;
|
|
14
15
|
export default Pagination;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PaginationPropTypes } from './types';
|
|
3
|
-
declare function InnerPagination<T extends React.ReactNode>({ components, defaultSelectedIndex, selectedIndex, label, pageLabel, previousLabel, nextLabel, style, max, onChange, pages, getPageLabel, renderEllipsis, analyticsContext, testId, isDisabled, }: PaginationPropTypes<T>, ref: React.Ref<HTMLDivElement>): JSX.Element;
|
|
4
3
|
/**
|
|
5
4
|
* __Pagination__
|
|
6
5
|
*
|
|
@@ -10,5 +9,7 @@ declare function InnerPagination<T extends React.ReactNode>({ components, defaul
|
|
|
10
9
|
* - [Code](https://atlassian.design/components/pagination/code)
|
|
11
10
|
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
12
11
|
*/
|
|
13
|
-
declare const Pagination:
|
|
12
|
+
declare const Pagination: <T>(props: PaginationPropTypes<T> & {
|
|
13
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
14
|
+
}) => React.ReactElement;
|
|
14
15
|
export default Pagination;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.10.1",
|
|
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/"
|
|
@@ -34,17 +34,17 @@
|
|
|
34
34
|
"runReact18": true,
|
|
35
35
|
"website": {
|
|
36
36
|
"name": "Pagination",
|
|
37
|
-
"category": "
|
|
37
|
+
"category": "Navigation"
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
42
42
|
"@atlaskit/button": "^20.3.0",
|
|
43
43
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
44
|
-
"@atlaskit/ds-lib": "^3.
|
|
45
|
-
"@atlaskit/icon": "^
|
|
46
|
-
"@atlaskit/primitives": "^13.
|
|
47
|
-
"@atlaskit/tokens": "^2.
|
|
44
|
+
"@atlaskit/ds-lib": "^3.3.0",
|
|
45
|
+
"@atlaskit/icon": "^23.0.0",
|
|
46
|
+
"@atlaskit/primitives": "^13.3.0",
|
|
47
|
+
"@atlaskit/tokens": "^2.4.0",
|
|
48
48
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"memoize-one": "^6.0.0"
|
|
@@ -63,7 +63,6 @@
|
|
|
63
63
|
"exenv": "^1.2.2",
|
|
64
64
|
"jscodeshift": "^0.13.0",
|
|
65
65
|
"react-dom": "^16.8.0",
|
|
66
|
-
"react-router-dom": "^4.2.2",
|
|
67
66
|
"storybook-addon-performance": "^0.17.3",
|
|
68
67
|
"tiny-invariant": "^1.2.0",
|
|
69
68
|
"typescript": "~5.4.2",
|