@alfalab/core-components-pagination 2.1.0 → 2.1.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/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/cssm/components/tag/index.module.css +7 -7
- 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 +1 -1
- package/src/components/tag/index.module.css +1 -1
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_ynqhf","defaultView":"pagination__defaultView_ynqhf"};
|
|
21
21
|
require('./index.css')
|
|
22
22
|
|
|
23
23
|
var Pagination = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16zr9 */
|
|
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_hcm4n {
|
|
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_hcm4n"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dfv3v */
|
|
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_12vfs {
|
|
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_12vfs"};
|
|
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: 1whx5 */
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495:disabled:not(.pagination__checked_11495) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} button.pagination__tag_11495.pagination__tag_11495:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} button.pagination__tag_11495.pagination__tag_11495:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495: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_11495","checked":"pagination__checked_11495"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
var Tag = function (_a) {
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
} :root {
|
|
21
21
|
} :root {
|
|
22
22
|
} :root {
|
|
23
|
-
} .tag.tag {
|
|
23
|
+
} button.tag.tag {
|
|
24
24
|
color: var(--color-light-text-secondary);
|
|
25
25
|
border-radius: var(--border-radius-m);
|
|
26
26
|
border: none;
|
|
@@ -30,19 +30,19 @@
|
|
|
30
30
|
width: 32px;
|
|
31
31
|
height: 32px;
|
|
32
32
|
padding: 0
|
|
33
|
-
} .tag.tag:disabled:not(.checked) {
|
|
33
|
+
} button.tag.tag:disabled:not(.checked) {
|
|
34
34
|
opacity: 0.3;
|
|
35
|
-
} .tag.tag:hover:not(:disabled) {
|
|
35
|
+
} button.tag.tag:hover:not(:disabled) {
|
|
36
36
|
background-color: var(--color-light-bg-tertiary);
|
|
37
37
|
color: var(--color-light-text-primary);
|
|
38
|
-
} .tag.tag:active:not(:disabled) {
|
|
38
|
+
} button.tag.tag:active:not(:disabled) {
|
|
39
39
|
background-color: var(--color-light-bg-quaternary);
|
|
40
|
-
} .tag.tag.checked {
|
|
40
|
+
} button.tag.tag.checked {
|
|
41
41
|
cursor: default;
|
|
42
42
|
background-color: var(--color-light-bg-secondary-inverted);
|
|
43
43
|
color: var(--color-light-text-primary-inverted);
|
|
44
|
-
} .tag.tag.checked:hover:not(:disabled) {
|
|
44
|
+
} button.tag.tag.checked:hover:not(:disabled) {
|
|
45
45
|
color: var(--color-light-text-primary-inverted);
|
|
46
|
-
} .tag.tag.checked:active:not(:disabled) {
|
|
46
|
+
} button.tag.tag.checked:active:not(:disabled) {
|
|
47
47
|
color: var(--color-light-text-primary);
|
|
48
48
|
}
|
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/desktop';
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"
|
|
11
|
+
var styles = {"component":"pagination__component_ynqhf","defaultView":"pagination__defaultView_ynqhf"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Pagination = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16zr9 */
|
|
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_hcm4n {
|
|
19
19
|
width: 32px;
|
|
20
20
|
height: 32px;
|
|
21
21
|
text-align: center;
|
|
@@ -4,7 +4,7 @@ import 'tslib';
|
|
|
4
4
|
import 'classnames';
|
|
5
5
|
import '@alfalab/core-components-tag/esm/desktop';
|
|
6
6
|
|
|
7
|
-
var styles = {"dots":"
|
|
7
|
+
var styles = {"dots":"pagination__dots_hcm4n"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dfv3v */
|
|
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_12vfs {
|
|
19
19
|
display: block;
|
|
20
20
|
margin: 0 var(--gap-m);
|
|
21
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1whx5 */
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495:disabled:not(.pagination__checked_11495) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} button.pagination__tag_11495.pagination__tag_11495:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} button.pagination__tag_11495.pagination__tag_11495:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495: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 { TagDesktop } from '@alfalab/core-components-tag/esm/desktop';
|
|
5
5
|
|
|
6
|
-
var styles = {"tag":"
|
|
6
|
+
var styles = {"tag":"pagination__tag_11495","checked":"pagination__checked_11495"};
|
|
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: 1gpcn */
|
|
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_ynqhf {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-variant-numeric: tabular-nums;
|
|
28
|
-
} .
|
|
28
|
+
} .pagination__defaultView_ynqhf > * {
|
|
29
29
|
margin-right: var(--gap-xs)
|
|
30
|
-
} .
|
|
30
|
+
} .pagination__defaultView_ynqhf > *:last-child {
|
|
31
31
|
margin-right: 0;
|
|
32
32
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1gpcn */
|
|
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_ynqhf {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-variant-numeric: tabular-nums;
|
|
28
|
-
} .
|
|
28
|
+
} .pagination__defaultView_ynqhf > * {
|
|
29
29
|
margin-right: var(--gap-xs)
|
|
30
|
-
} .
|
|
30
|
+
} .pagination__defaultView_ynqhf > *:last-child {
|
|
31
31
|
margin-right: 0;
|
|
32
32
|
}
|
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/desktop';
|
|
9
9
|
|
|
10
|
-
const styles = {"component":"
|
|
10
|
+
const styles = {"component":"pagination__component_ynqhf","defaultView":"pagination__defaultView_ynqhf"};
|
|
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: 16zr9 */
|
|
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_hcm4n {
|
|
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/desktop';
|
|
5
5
|
|
|
6
|
-
const styles = {"dots":"
|
|
6
|
+
const styles = {"dots":"pagination__dots_hcm4n"};
|
|
7
7
|
require('./index.css')
|
|
8
8
|
|
|
9
9
|
/* eslint-disable react/no-array-index-key */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dfv3v */
|
|
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_12vfs {
|
|
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_12vfs"};
|
|
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: 1whx5 */
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495:disabled:not(.pagination__checked_11495) {
|
|
35
35
|
opacity: 0.3;
|
|
36
|
-
} .
|
|
36
|
+
} button.pagination__tag_11495.pagination__tag_11495:hover:not(:disabled) {
|
|
37
37
|
background-color: var(--color-light-bg-tertiary);
|
|
38
38
|
color: var(--color-light-text-primary);
|
|
39
|
-
} .
|
|
39
|
+
} button.pagination__tag_11495.pagination__tag_11495:active:not(:disabled) {
|
|
40
40
|
background-color: var(--color-light-bg-quaternary);
|
|
41
|
-
} .
|
|
41
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495 {
|
|
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
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495:hover:not(:disabled) {
|
|
46
46
|
color: var(--color-light-text-primary-inverted);
|
|
47
|
-
} .
|
|
47
|
+
} button.pagination__tag_11495.pagination__tag_11495.pagination__checked_11495: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 { TagDesktop } from '@alfalab/core-components-tag/modern/desktop';
|
|
4
4
|
|
|
5
|
-
const styles = {"tag":"
|
|
5
|
+
const styles = {"tag":"pagination__tag_11495","checked":"pagination__checked_11495"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
const Tag = ({ className, checked, ...restProps }) => (React.createElement(TagDesktop, { ...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: 1gpcn */
|
|
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_ynqhf {
|
|
20
20
|
font-size: 14px;
|
|
21
21
|
line-height: 20px;
|
|
22
22
|
font-weight: 400;
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
align-items: center;
|
|
26
26
|
color: var(--color-light-text-primary);
|
|
27
27
|
font-variant-numeric: tabular-nums;
|
|
28
|
-
} .
|
|
28
|
+
} .pagination__defaultView_ynqhf > * {
|
|
29
29
|
margin-right: var(--gap-xs)
|
|
30
|
-
} .
|
|
30
|
+
} .pagination__defaultView_ynqhf > *:last-child {
|
|
31
31
|
margin-right: 0;
|
|
32
32
|
}
|
package/package.json
CHANGED