@alfalab/core-components-pagination 2.0.17 → 2.0.19
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/Component.js +1 -1
- package/components/default-view/index.css +2 -2
- package/components/default-view/index.js +1 -1
- package/components/per-page-view/index.css +2 -2
- package/components/per-page-view/index.js +1 -1
- package/components/tag/index.css +8 -8
- package/components/tag/index.js +1 -1
- package/esm/Component.js +1 -1
- package/esm/components/default-view/index.css +2 -2
- package/esm/components/default-view/index.js +1 -1
- package/esm/components/per-page-view/index.css +2 -2
- package/esm/components/per-page-view/index.js +1 -1
- package/esm/components/tag/index.css +8 -8
- package/esm/components/tag/index.js +1 -1
- package/esm/index.css +4 -4
- package/index.css +4 -4
- package/modern/Component.js +1 -1
- package/modern/components/default-view/index.css +2 -2
- package/modern/components/default-view/index.js +1 -1
- package/modern/components/per-page-view/index.css +2 -2
- package/modern/components/per-page-view/index.js +1 -1
- package/modern/components/tag/index.css +8 -8
- package/modern/components/tag/index.js +1 -1
- package/modern/index.css +4 -4
- package/package.json +3 -3
package/Component.js
CHANGED
|
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
17
17
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
18
18
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
19
19
|
|
|
20
|
-
var styles = {"component":"
|
|
20
|
+
var styles = {"component":"pagination__component_ld4b6","defaultView":"pagination__defaultView_ld4b6"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var Pagination = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dyz0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__dots_17w1b {
|
|
19
19
|
width: 32px;
|
|
20
20
|
height: 32px;
|
|
21
21
|
text-align: center;
|
|
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
|
|
15
|
-
var styles = {"dots":"
|
|
15
|
+
var styles = {"dots":"pagination__dots_17w1b"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15vza */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__component_wgb27 {
|
|
19
19
|
display: block;
|
|
20
20
|
margin: 0 var(--gap-m);
|
|
21
21
|
}
|
|
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"
|
|
11
|
+
var styles = {"component":"pagination__component_wgb27"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var PerPageView = function (_a) {
|
package/components/tag/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ezn6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-quaternary: #dcdcdd;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} :root {
|
|
22
22
|
} :root {
|
|
23
23
|
} :root {
|
|
24
|
-
} .
|
|
24
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz {
|
|
25
25
|
color: var(--color-light-text-secondary);
|
|
26
26
|
border-radius: var(--border-radius-m);
|
|
27
27
|
border: none;
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
width: 32px;
|
|
32
32
|
height: 32px;
|
|
33
33
|
padding: 0
|
|
34
|
-
} .
|
|
34
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:disabled:not(.pagination__checked_7pccz) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz {
|
|
42
42
|
cursor: default;
|
|
43
43
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
44
44
|
color: var(--color-light-text-primary-inverted);
|
|
45
|
-
} .
|
|
45
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:active:not(:disabled) {
|
|
48
48
|
color: var(--color-light-text-primary);
|
|
49
49
|
}
|
package/components/tag/index.js
CHANGED
|
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
12
12
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
13
13
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
14
14
|
|
|
15
|
-
var styles = {"tag":"
|
|
15
|
+
var styles = {"tag":"pagination__tag_7pccz","checked":"pagination__checked_7pccz"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Tag = function (_a) {
|
package/esm/Component.js
CHANGED
|
@@ -8,7 +8,7 @@ import { Tag } from './components/tag/index.js';
|
|
|
8
8
|
import 'tslib';
|
|
9
9
|
import '@alfalab/core-components-tag/esm';
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"
|
|
11
|
+
var styles = {"component":"pagination__component_ld4b6","defaultView":"pagination__defaultView_ld4b6"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Pagination = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dyz0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__dots_17w1b {
|
|
19
19
|
width: 32px;
|
|
20
20
|
height: 32px;
|
|
21
21
|
text-align: center;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15vza */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__component_wgb27 {
|
|
19
19
|
display: block;
|
|
20
20
|
margin: 0 var(--gap-m);
|
|
21
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ezn6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-quaternary: #dcdcdd;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} :root {
|
|
22
22
|
} :root {
|
|
23
23
|
} :root {
|
|
24
|
-
} .
|
|
24
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz {
|
|
25
25
|
color: var(--color-light-text-secondary);
|
|
26
26
|
border-radius: var(--border-radius-m);
|
|
27
27
|
border: none;
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
width: 32px;
|
|
32
32
|
height: 32px;
|
|
33
33
|
padding: 0
|
|
34
|
-
} .
|
|
34
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:disabled:not(.pagination__checked_7pccz) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz {
|
|
42
42
|
cursor: default;
|
|
43
43
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
44
44
|
color: var(--color-light-text-primary-inverted);
|
|
45
|
-
} .
|
|
45
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:active:not(:disabled) {
|
|
48
48
|
color: var(--color-light-text-primary);
|
|
49
49
|
}
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import { Tag as Tag$1 } from '@alfalab/core-components-tag/esm';
|
|
5
5
|
|
|
6
|
-
var styles = {"tag":"
|
|
6
|
+
var styles = {"tag":"pagination__tag_7pccz","checked":"pagination__checked_7pccz"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
var Tag = function (_a) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1orny */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--gap-xs: 8px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .
|
|
19
|
+
} .pagination__component_ld4b6 {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-feature-settings: "tnum";
|
|
28
28
|
font-variant-numeric: tabular-nums;
|
|
29
|
-
} .
|
|
29
|
+
} .pagination__defaultView_ld4b6 > * {
|
|
30
30
|
margin-right: var(--gap-xs)
|
|
31
|
-
} .
|
|
31
|
+
} .pagination__defaultView_ld4b6 > *:last-child {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1orny */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--gap-xs: 8px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .
|
|
19
|
+
} .pagination__component_ld4b6 {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-feature-settings: "tnum";
|
|
28
28
|
font-variant-numeric: tabular-nums;
|
|
29
|
-
} .
|
|
29
|
+
} .pagination__defaultView_ld4b6 > * {
|
|
30
30
|
margin-right: var(--gap-xs)
|
|
31
|
-
} .
|
|
31
|
+
} .pagination__defaultView_ld4b6 > *:last-child {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
}
|
package/modern/Component.js
CHANGED
|
@@ -7,7 +7,7 @@ import { PerPageView } from './components/per-page-view/index.js';
|
|
|
7
7
|
import { Tag } from './components/tag/index.js';
|
|
8
8
|
import '@alfalab/core-components-tag/modern';
|
|
9
9
|
|
|
10
|
-
const styles = {"component":"
|
|
10
|
+
const styles = {"component":"pagination__component_ld4b6","defaultView":"pagination__defaultView_ld4b6"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const Pagination = ({ currentPageIndex = 0, pagesCount, className, sidePadding = 1, activePadding = 2, hideArrows = true, view = 'default', onPageChange = () => null, dataTestId, }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1dyz0 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-secondary: rgba(60, 60, 67, 0.66); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
} :root {
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__dots_17w1b {
|
|
19
19
|
width: 32px;
|
|
20
20
|
height: 32px;
|
|
21
21
|
text-align: center;
|
|
@@ -3,7 +3,7 @@ import { Tag } from '../tag/index.js';
|
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import '@alfalab/core-components-tag/modern';
|
|
5
5
|
|
|
6
|
-
const styles = {"dots":"
|
|
6
|
+
const styles = {"dots":"pagination__dots_17w1b"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15vza */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
--gap-m: 16px;
|
|
16
16
|
} :root {
|
|
17
17
|
} :root {
|
|
18
|
-
} .
|
|
18
|
+
} .pagination__component_wgb27 {
|
|
19
19
|
display: block;
|
|
20
20
|
margin: 0 var(--gap-m);
|
|
21
21
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
const styles = {"component":"
|
|
3
|
+
const styles = {"component":"pagination__component_wgb27"};
|
|
4
4
|
require('./index.css')
|
|
5
5
|
|
|
6
6
|
const PerPageView = ({ pagesCount, currentPageIndex }) => (React.createElement("span", { className: styles.component },
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1ezn6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-bg-quaternary: #dcdcdd;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
} :root {
|
|
22
22
|
} :root {
|
|
23
23
|
} :root {
|
|
24
|
-
} .
|
|
24
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz {
|
|
25
25
|
color: var(--color-light-text-secondary);
|
|
26
26
|
border-radius: var(--border-radius-m);
|
|
27
27
|
border: none;
|
|
@@ -31,19 +31,19 @@
|
|
|
31
31
|
width: 32px;
|
|
32
32
|
height: 32px;
|
|
33
33
|
padding: 0
|
|
34
|
-
} .
|
|
34
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:disabled:not(.pagination__checked_7pccz) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz {
|
|
42
42
|
cursor: default;
|
|
43
43
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
44
44
|
color: var(--color-light-text-primary-inverted);
|
|
45
|
-
} .
|
|
45
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} .pagination__tag_7pccz.pagination__tag_7pccz.pagination__checked_7pccz:active:not(:disabled) {
|
|
48
48
|
color: var(--color-light-text-primary);
|
|
49
49
|
}
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
import { Tag as Tag$1 } from '@alfalab/core-components-tag/modern';
|
|
4
4
|
|
|
5
|
-
const styles = {"tag":"
|
|
5
|
+
const styles = {"tag":"pagination__tag_7pccz","checked":"pagination__checked_7pccz"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Tag = ({ className, checked, ...restProps }) => (React.createElement(Tag$1, { ...restProps, checked: checked, size: 'xxs', className: cn(className, styles.tag, { [styles.checked]: checked }) }));
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1orny */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-text-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--gap-xs: 8px;
|
|
17
17
|
} :root {
|
|
18
18
|
} :root {
|
|
19
|
-
} .
|
|
19
|
+
} .pagination__component_ld4b6 {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-feature-settings: "tnum";
|
|
28
28
|
font-variant-numeric: tabular-nums;
|
|
29
|
-
} .
|
|
29
|
+
} .pagination__defaultView_ld4b6 > * {
|
|
30
30
|
margin-right: var(--gap-xs)
|
|
31
|
-
} .
|
|
31
|
+
} .pagination__defaultView_ld4b6 > *:last-child {
|
|
32
32
|
margin-right: 0;
|
|
33
33
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-pagination",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-
|
|
19
|
-
"@alfalab/
|
|
18
|
+
"@alfalab/core-components-tag": "^5.3.2",
|
|
19
|
+
"@alfalab/icons-glyph": "^2.108.0",
|
|
20
20
|
"classnames": "^2.3.1",
|
|
21
21
|
"tslib": "^2.4.0"
|
|
22
22
|
}
|