@atlaskit/pagination 16.1.21 → 16.1.22
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.compiled.css +7 -8
- package/dist/cjs/pagination.js +4 -4
- package/dist/es2019/pagination.compiled.css +7 -8
- package/dist/es2019/pagination.js +3 -3
- package/dist/esm/pagination.compiled.css +7 -8
- package/dist/esm/pagination.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/pagination
|
|
2
2
|
|
|
3
|
+
## 16.1.22
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
|
|
8
|
+
chore: migrate platform UI & component libraries icon imports from migration paths to core
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 16.1.21
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
._18zr12x7{padding-inline:var(--ds-space-075,6px)}.
|
|
3
|
-
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
4
|
-
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
2
|
+
._18zr12x7{padding-inline:var(--ds-space-075,6px)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
5
3
|
._1pfhze3t{margin-block-start:var(--ds-space-0,0)}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
4
|
+
._1q51ze3t{padding-block-start:var(--ds-space-0,0)}
|
|
5
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
6
|
+
._85i5ze3t{padding-block-end:var(--ds-space-0,0)}
|
|
7
|
+
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
8
|
+
._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
|
|
8
9
|
._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
9
|
-
.
|
|
10
|
-
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
11
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
10
|
+
._y4tize3t{padding-inline-end:var(--ds-space-0,0)}
|
package/dist/cjs/pagination.js
CHANGED
|
@@ -15,8 +15,8 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
15
15
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
16
16
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
17
17
|
var _useControlled3 = _interopRequireDefault(require("@atlaskit/ds-lib/use-controlled"));
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _chevronLeft = _interopRequireDefault(require("@atlaskit/icon/core/chevron-left"));
|
|
19
|
+
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
21
|
var _navigator = _interopRequireDefault(require("./internal/components/navigator"));
|
|
22
22
|
var _page = _interopRequireDefault(require("./internal/components/page"));
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
27
27
|
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; }
|
|
28
28
|
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; }
|
|
29
29
|
var styles = {
|
|
30
|
-
paginationMenu: "
|
|
30
|
+
paginationMenu: "_1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _1pfhze3t _12l2ze3t _6rthze3t _ahbqze3t",
|
|
31
31
|
paginationMenuItem: "_1pfhze3t _ect41gqc",
|
|
32
32
|
navigatorIconWrapper: "_18zr12x7"
|
|
33
33
|
};
|
|
@@ -38,7 +38,7 @@ var analyticsAttributes = {
|
|
|
38
38
|
};
|
|
39
39
|
function NavigatorIcon(_ref) {
|
|
40
40
|
var chevronDirection = _ref.chevronDirection;
|
|
41
|
-
var Chevron = chevronDirection === 'left' ?
|
|
41
|
+
var Chevron = chevronDirection === 'left' ? _chevronLeft.default : _chevronRight.default;
|
|
42
42
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
43
43
|
as: "span",
|
|
44
44
|
xcss: styles.navigatorIconWrapper
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
._18zr12x7{padding-inline:var(--ds-space-075,6px)}.
|
|
3
|
-
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
4
|
-
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
2
|
+
._18zr12x7{padding-inline:var(--ds-space-075,6px)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
5
3
|
._1pfhze3t{margin-block-start:var(--ds-space-0,0)}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
4
|
+
._1q51ze3t{padding-block-start:var(--ds-space-0,0)}
|
|
5
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
6
|
+
._85i5ze3t{padding-block-end:var(--ds-space-0,0)}
|
|
7
|
+
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
8
|
+
._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
|
|
8
9
|
._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
9
|
-
.
|
|
10
|
-
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
11
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
10
|
+
._y4tize3t{padding-inline-end:var(--ds-space-0,0)}
|
|
@@ -5,8 +5,8 @@ import React, { forwardRef, memo } from 'react';
|
|
|
5
5
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
6
6
|
import noop from '@atlaskit/ds-lib/noop';
|
|
7
7
|
import useControlled from '@atlaskit/ds-lib/use-controlled';
|
|
8
|
-
import ChevronLeftLargeIcon from '@atlaskit/icon/core/
|
|
9
|
-
import ChevronRightLargeIcon from '@atlaskit/icon/core/
|
|
8
|
+
import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
|
|
9
|
+
import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
|
|
10
10
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
11
11
|
import Navigator from './internal/components/navigator';
|
|
12
12
|
import PageComponent from './internal/components/page';
|
|
@@ -14,7 +14,7 @@ import renderDefaultEllipsis from './internal/components/render-ellipsis';
|
|
|
14
14
|
import { emptyObject } from './internal/constants';
|
|
15
15
|
import collapseRange from './internal/utils/collapse-range';
|
|
16
16
|
const styles = {
|
|
17
|
-
paginationMenu: "
|
|
17
|
+
paginationMenu: "_1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _1pfhze3t _12l2ze3t _6rthze3t _ahbqze3t",
|
|
18
18
|
paginationMenuItem: "_1pfhze3t _ect41gqc",
|
|
19
19
|
navigatorIconWrapper: "_18zr12x7"
|
|
20
20
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
|
|
2
|
-
._18zr12x7{padding-inline:var(--ds-space-075,6px)}.
|
|
3
|
-
._19bvze3t{padding-left:var(--ds-space-0,0)}
|
|
4
|
-
._19pkze3t{margin-top:var(--ds-space-0,0)}
|
|
2
|
+
._18zr12x7{padding-inline:var(--ds-space-075,6px)}._12l2ze3t{margin-inline-end:var(--ds-space-0,0)}
|
|
5
3
|
._1pfhze3t{margin-block-start:var(--ds-space-0,0)}
|
|
6
|
-
.
|
|
7
|
-
.
|
|
4
|
+
._1q51ze3t{padding-block-start:var(--ds-space-0,0)}
|
|
5
|
+
._6rthze3t{margin-block-end:var(--ds-space-0,0)}
|
|
6
|
+
._85i5ze3t{padding-block-end:var(--ds-space-0,0)}
|
|
7
|
+
._ahbqze3t{margin-inline-start:var(--ds-space-0,0)}
|
|
8
|
+
._bozgze3t{padding-inline-start:var(--ds-space-0,0)}
|
|
8
9
|
._ect41gqc{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
9
|
-
.
|
|
10
|
-
._otyrze3t{margin-bottom:var(--ds-space-0,0)}
|
|
11
|
-
._u5f3ze3t{padding-right:var(--ds-space-0,0)}
|
|
10
|
+
._y4tize3t{padding-inline-end:var(--ds-space-0,0)}
|
package/dist/esm/pagination.js
CHANGED
|
@@ -9,8 +9,8 @@ import React, { forwardRef, memo } from 'react';
|
|
|
9
9
|
import { usePlatformLeafEventHandler } from '@atlaskit/analytics-next';
|
|
10
10
|
import noop from '@atlaskit/ds-lib/noop';
|
|
11
11
|
import useControlled from '@atlaskit/ds-lib/use-controlled';
|
|
12
|
-
import ChevronLeftLargeIcon from '@atlaskit/icon/core/
|
|
13
|
-
import ChevronRightLargeIcon from '@atlaskit/icon/core/
|
|
12
|
+
import ChevronLeftLargeIcon from '@atlaskit/icon/core/chevron-left';
|
|
13
|
+
import ChevronRightLargeIcon from '@atlaskit/icon/core/chevron-right';
|
|
14
14
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
15
15
|
import Navigator from './internal/components/navigator';
|
|
16
16
|
import PageComponent from './internal/components/page';
|
|
@@ -18,7 +18,7 @@ import renderDefaultEllipsis from './internal/components/render-ellipsis';
|
|
|
18
18
|
import { emptyObject } from './internal/constants';
|
|
19
19
|
import collapseRange from './internal/utils/collapse-range';
|
|
20
20
|
var styles = {
|
|
21
|
-
paginationMenu: "
|
|
21
|
+
paginationMenu: "_1q51ze3t _y4tize3t _85i5ze3t _bozgze3t _1pfhze3t _12l2ze3t _6rthze3t _ahbqze3t",
|
|
22
22
|
paginationMenuItem: "_1pfhze3t _ect41gqc",
|
|
23
23
|
navigatorIconWrapper: "_18zr12x7"
|
|
24
24
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/pagination",
|
|
3
|
-
"version": "16.1.
|
|
3
|
+
"version": "16.1.22",
|
|
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,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/button": "^23.8.0",
|
|
38
38
|
"@atlaskit/css": "^0.18.0",
|
|
39
39
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
40
|
-
"@atlaskit/icon": "^29.
|
|
40
|
+
"@atlaskit/icon": "^29.3.0",
|
|
41
41
|
"@atlaskit/primitives": "^16.4.0",
|
|
42
42
|
"@atlaskit/tokens": "^8.6.0",
|
|
43
43
|
"@atlaskit/visually-hidden": "^3.0.0",
|