@atlaskit/pagination 14.7.7 → 14.7.8
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 +8 -0
- package/dist/cjs/pagination.js +13 -3
- package/dist/es2019/pagination.js +13 -3
- package/dist/esm/pagination.js +13 -3
- package/dist/types/pagination.d.ts +11 -2
- package/dist/types-ts4.5/pagination.d.ts +11 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 14.7.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#119565](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/119565)
|
|
8
|
+
[`16045b926e115`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/16045b926e115) -
|
|
9
|
+
Refactor export of pagination component for better Typescript typing recognition.
|
|
10
|
+
|
|
3
11
|
## 14.7.7
|
|
4
12
|
|
|
5
13
|
### 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.7.
|
|
30
|
+
packageVersion: "14.7.8"
|
|
31
31
|
};
|
|
32
32
|
var paginationMenuStyles = (0, _primitives.xcss)({
|
|
33
33
|
padding: 'space.0',
|
|
@@ -162,5 +162,15 @@ function InnerPagination(_ref, ref) {
|
|
|
162
162
|
})))
|
|
163
163
|
);
|
|
164
164
|
}
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* __Pagination__
|
|
168
|
+
*
|
|
169
|
+
* Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.
|
|
170
|
+
*
|
|
171
|
+
* - [Examples](https://atlassian.design/components/pagination/examples)
|
|
172
|
+
* - [Code](https://atlassian.design/components/pagination/code)
|
|
173
|
+
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
174
|
+
*/
|
|
175
|
+
var Pagination = /*#__PURE__*/(0, _react.memo)( /*#__PURE__*/(0, _react.forwardRef)(InnerPagination));
|
|
176
|
+
var _default = exports.default = 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.7.
|
|
16
|
+
packageVersion: "14.7.8"
|
|
17
17
|
};
|
|
18
18
|
const paginationMenuStyles = xcss({
|
|
19
19
|
padding: 'space.0',
|
|
@@ -131,5 +131,15 @@ function InnerPagination({
|
|
|
131
131
|
})))
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
|
-
|
|
135
|
-
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* __Pagination__
|
|
137
|
+
*
|
|
138
|
+
* Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.
|
|
139
|
+
*
|
|
140
|
+
* - [Examples](https://atlassian.design/components/pagination/examples)
|
|
141
|
+
* - [Code](https://atlassian.design/components/pagination/code)
|
|
142
|
+
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
143
|
+
*/
|
|
144
|
+
const Pagination = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(InnerPagination));
|
|
145
|
+
export default Pagination;
|
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.7.
|
|
20
|
+
packageVersion: "14.7.8"
|
|
21
21
|
};
|
|
22
22
|
var paginationMenuStyles = xcss({
|
|
23
23
|
padding: 'space.0',
|
|
@@ -152,5 +152,15 @@ function InnerPagination(_ref, ref) {
|
|
|
152
152
|
})))
|
|
153
153
|
);
|
|
154
154
|
}
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* __Pagination__
|
|
158
|
+
*
|
|
159
|
+
* Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.
|
|
160
|
+
*
|
|
161
|
+
* - [Examples](https://atlassian.design/components/pagination/examples)
|
|
162
|
+
* - [Code](https://atlassian.design/components/pagination/code)
|
|
163
|
+
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
164
|
+
*/
|
|
165
|
+
var Pagination = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(InnerPagination));
|
|
166
|
+
export default Pagination;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PaginationPropTypes } from './types';
|
|
3
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
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* __Pagination__
|
|
6
|
+
*
|
|
7
|
+
* Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.
|
|
8
|
+
*
|
|
9
|
+
* - [Examples](https://atlassian.design/components/pagination/examples)
|
|
10
|
+
* - [Code](https://atlassian.design/components/pagination/code)
|
|
11
|
+
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
12
|
+
*/
|
|
13
|
+
declare const Pagination: typeof InnerPagination;
|
|
14
|
+
export default Pagination;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type PaginationPropTypes } from './types';
|
|
3
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
|
-
|
|
5
|
-
|
|
4
|
+
/**
|
|
5
|
+
* __Pagination__
|
|
6
|
+
*
|
|
7
|
+
* Pagination allows you to divide large amounts of content into smaller chunks across multiple pages.
|
|
8
|
+
*
|
|
9
|
+
* - [Examples](https://atlassian.design/components/pagination/examples)
|
|
10
|
+
* - [Code](https://atlassian.design/components/pagination/code)
|
|
11
|
+
* - [Usage](https://atlassian.design/components/pagination/usage)
|
|
12
|
+
*/
|
|
13
|
+
declare const Pagination: typeof InnerPagination;
|
|
14
|
+
export default Pagination;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "14.7.
|
|
3
|
+
"version": "14.7.8",
|
|
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/"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@atlaskit/analytics-next": "^9.3.0",
|
|
44
|
-
"@atlaskit/button": "^18.
|
|
44
|
+
"@atlaskit/button": "^18.4.0",
|
|
45
45
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
46
46
|
"@atlaskit/ds-lib": "^2.3.0",
|
|
47
47
|
"@atlaskit/icon": "^22.6.0",
|