@alfalab/core-components-pagination 2.0.9 → 2.0.11

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 CHANGED
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"component":"pagination__component_bjwil","defaultView":"pagination__defaultView_bjwil"};
17
+ var styles = {"component":"pagination__component_12sxs","defaultView":"pagination__defaultView_12sxs"};
18
18
  require('./index.css')
19
19
 
20
20
  var Pagination = function (_a) {
@@ -1,16 +1,21 @@
1
- /* hash: getbn */
1
+ /* hash: 11m0k */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- .pagination__dots_1tcqz {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__dots_1275i {
14
19
  width: 32px;
15
20
  height: 32px;
16
21
  text-align: center;
@@ -9,7 +9,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
9
9
 
10
10
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
11
 
12
- var styles = {"dots":"pagination__dots_1tcqz"};
12
+ var styles = {"dots":"pagination__dots_1275i"};
13
13
  require('./index.css')
14
14
 
15
15
  /* eslint-disable react/no-array-index-key */
@@ -1,16 +1,21 @@
1
- /* hash: z0ghc */
1
+ /* hash: tj0u3 */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
- }
13
- .pagination__component_rluu0 {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__component_1p5g5 {
14
19
  display: block;
15
20
  margin: 0 var(--gap-m);
16
21
  }
@@ -6,7 +6,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
6
6
 
7
7
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
8
 
9
- var styles = {"component":"pagination__component_rluu0"};
9
+ var styles = {"component":"pagination__component_1p5g5"};
10
10
  require('./index.css')
11
11
 
12
12
  var PerPageView = function (_a) {
@@ -1,24 +1,27 @@
1
- /* hash: 6ohk8 */
1
+ /* hash: 1rclm */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-quaternary: #dbdee1;
4
5
  --color-light-bg-secondary-inverted: #233549;
5
6
  --color-light-bg-tertiary: #e7e9eb;
6
7
  --color-light-text-primary: #0b1f35;
7
8
  --color-light-text-primary-inverted: #fff;
8
9
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
9
- }
10
- :root {
10
+ } :root {
11
+ } :root {
12
+ } :root {
11
13
 
12
14
  /* Hard */
13
15
 
14
16
  /* Up */
15
17
 
16
18
  /* Hard up */
17
- }
18
- :root {
19
+ } :root {
19
20
  --border-radius-m: 8px;
20
- }
21
- .pagination__tag_1mwsw.pagination__tag_1mwsw {
21
+ } :root {
22
+ } :root {
23
+ } :root {
24
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz {
22
25
  color: var(--color-light-text-secondary);
23
26
  border-radius: var(--border-radius-m);
24
27
  border: none;
@@ -28,25 +31,19 @@
28
31
  width: 32px;
29
32
  height: 32px;
30
33
  padding: 0
31
- }
32
- .pagination__tag_1mwsw.pagination__tag_1mwsw:disabled:not(.pagination__checked_1mwsw) {
34
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:disabled:not(.pagination__checked_f6hnz) {
33
35
  opacity: 0.3;
34
- }
35
- .pagination__tag_1mwsw.pagination__tag_1mwsw:hover:not(:disabled) {
36
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:hover:not(:disabled) {
36
37
  background-color: var(--color-light-bg-tertiary);
37
38
  color: var(--color-light-text-primary);
38
- }
39
- .pagination__tag_1mwsw.pagination__tag_1mwsw:active:not(:disabled) {
39
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
- }
42
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw {
41
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz {
43
42
  cursor: default;
44
43
  background-color: var(--color-light-bg-secondary-inverted);
45
44
  color: var(--color-light-text-primary-inverted);
46
- }
47
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:hover:not(:disabled) {
45
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:hover:not(:disabled) {
48
46
  color: var(--color-light-text-primary-inverted);
49
- }
50
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:active:not(:disabled) {
47
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:active:not(:disabled) {
51
48
  color: var(--color-light-text-primary);
52
49
  }
@@ -48,7 +48,7 @@ function __rest(s, e) {
48
48
  return t;
49
49
  }
50
50
 
51
- var styles = {"tag":"pagination__tag_1mwsw","checked":"pagination__checked_1mwsw"};
51
+ var styles = {"tag":"pagination__tag_f6hnz","checked":"pagination__checked_f6hnz"};
52
52
  require('./index.css')
53
53
 
54
54
  var Tag = function (_a) {
@@ -1,15 +1,20 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
2
3
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
3
- }
4
- :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
5
7
 
6
8
  /* Hard */
7
9
 
8
10
  /* Up */
9
11
 
10
12
  /* Hard up */
11
- }
12
- .dots {
13
+ } :root {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } .dots {
13
18
  width: 32px;
14
19
  height: 32px;
15
20
  text-align: center;
@@ -1,15 +1,20 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
3
+ } :root {
4
+ } :root {
5
+ } :root {
2
6
 
3
7
  /* Hard */
4
8
 
5
9
  /* Up */
6
10
 
7
11
  /* Hard up */
8
- }
9
- :root {
12
+ } :root {
13
+ } :root {
10
14
  --gap-m: 16px;
11
- }
12
- .component {
15
+ } :root {
16
+ } :root {
17
+ } .component {
13
18
  display: block;
14
19
  margin: 0 var(--gap-m);
15
20
  }
@@ -1,23 +1,26 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
2
3
  --color-light-bg-quaternary: #dbdee1;
3
4
  --color-light-bg-secondary-inverted: #233549;
4
5
  --color-light-bg-tertiary: #e7e9eb;
5
6
  --color-light-text-primary: #0b1f35;
6
7
  --color-light-text-primary-inverted: #fff;
7
8
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
8
- }
9
- :root {
9
+ } :root {
10
+ } :root {
11
+ } :root {
10
12
 
11
13
  /* Hard */
12
14
 
13
15
  /* Up */
14
16
 
15
17
  /* Hard up */
16
- }
17
- :root {
18
+ } :root {
18
19
  --border-radius-m: 8px;
19
- }
20
- .tag.tag {
20
+ } :root {
21
+ } :root {
22
+ } :root {
23
+ } .tag.tag {
21
24
  color: var(--color-light-text-secondary);
22
25
  border-radius: var(--border-radius-m);
23
26
  border: none;
@@ -27,25 +30,19 @@
27
30
  width: 32px;
28
31
  height: 32px;
29
32
  padding: 0
30
- }
31
- .tag.tag:disabled:not(.checked) {
33
+ } .tag.tag:disabled:not(.checked) {
32
34
  opacity: 0.3;
33
- }
34
- .tag.tag:hover:not(:disabled) {
35
+ } .tag.tag:hover:not(:disabled) {
35
36
  background-color: var(--color-light-bg-tertiary);
36
37
  color: var(--color-light-text-primary);
37
- }
38
- .tag.tag:active:not(:disabled) {
38
+ } .tag.tag:active:not(:disabled) {
39
39
  background-color: var(--color-light-bg-quaternary);
40
- }
41
- .tag.tag.checked {
40
+ } .tag.tag.checked {
42
41
  cursor: default;
43
42
  background-color: var(--color-light-bg-secondary-inverted);
44
43
  color: var(--color-light-text-primary-inverted);
45
- }
46
- .tag.tag.checked:hover:not(:disabled) {
44
+ } .tag.tag.checked:hover:not(:disabled) {
47
45
  color: var(--color-light-text-primary-inverted);
48
- }
49
- .tag.tag.checked:active:not(:disabled) {
46
+ } .tag.tag.checked:active:not(:disabled) {
50
47
  color: var(--color-light-text-primary);
51
48
  }
@@ -1,18 +1,21 @@
1
1
  :root {
2
+ } /* deprecated */ :root {
2
3
  --color-light-text-primary: #0b1f35;
3
- }
4
- :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
5
7
 
6
8
  /* Hard */
7
9
 
8
10
  /* Up */
9
11
 
10
12
  /* Hard up */
11
- }
12
- :root {
13
+ } :root {
14
+ } :root {
13
15
  --gap-xs: 8px;
14
- }
15
- .component {
16
+ } :root {
17
+ } :root {
18
+ } .component {
16
19
  font-size: 14px;
17
20
  line-height: 20px;
18
21
  font-weight: 400;
@@ -22,10 +25,8 @@
22
25
  color: var(--color-light-text-primary);
23
26
  font-feature-settings: "tnum";
24
27
  font-variant-numeric: tabular-nums;
25
- }
26
- .defaultView > * {
28
+ } .defaultView > * {
27
29
  margin-right: var(--gap-xs)
28
- }
29
- .defaultView > *:last-child {
30
+ } .defaultView > *:last-child {
30
31
  margin-right: 0;
31
32
  }
package/esm/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/esm';
9
9
 
10
- var styles = {"component":"pagination__component_bjwil","defaultView":"pagination__defaultView_bjwil"};
10
+ var styles = {"component":"pagination__component_12sxs","defaultView":"pagination__defaultView_12sxs"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,16 +1,21 @@
1
- /* hash: getbn */
1
+ /* hash: 11m0k */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- .pagination__dots_1tcqz {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__dots_1275i {
14
19
  width: 32px;
15
20
  height: 32px;
16
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/esm';
5
5
 
6
- var styles = {"dots":"pagination__dots_1tcqz"};
6
+ var styles = {"dots":"pagination__dots_1275i"};
7
7
  require('./index.css')
8
8
 
9
9
  /* eslint-disable react/no-array-index-key */
@@ -1,16 +1,21 @@
1
- /* hash: z0ghc */
1
+ /* hash: tj0u3 */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
- }
13
- .pagination__component_rluu0 {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__component_1p5g5 {
14
19
  display: block;
15
20
  margin: 0 var(--gap-m);
16
21
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"component":"pagination__component_rluu0"};
3
+ var styles = {"component":"pagination__component_1p5g5"};
4
4
  require('./index.css')
5
5
 
6
6
  var PerPageView = function (_a) {
@@ -1,24 +1,27 @@
1
- /* hash: 6ohk8 */
1
+ /* hash: 1rclm */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-quaternary: #dbdee1;
4
5
  --color-light-bg-secondary-inverted: #233549;
5
6
  --color-light-bg-tertiary: #e7e9eb;
6
7
  --color-light-text-primary: #0b1f35;
7
8
  --color-light-text-primary-inverted: #fff;
8
9
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
9
- }
10
- :root {
10
+ } :root {
11
+ } :root {
12
+ } :root {
11
13
 
12
14
  /* Hard */
13
15
 
14
16
  /* Up */
15
17
 
16
18
  /* Hard up */
17
- }
18
- :root {
19
+ } :root {
19
20
  --border-radius-m: 8px;
20
- }
21
- .pagination__tag_1mwsw.pagination__tag_1mwsw {
21
+ } :root {
22
+ } :root {
23
+ } :root {
24
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz {
22
25
  color: var(--color-light-text-secondary);
23
26
  border-radius: var(--border-radius-m);
24
27
  border: none;
@@ -28,25 +31,19 @@
28
31
  width: 32px;
29
32
  height: 32px;
30
33
  padding: 0
31
- }
32
- .pagination__tag_1mwsw.pagination__tag_1mwsw:disabled:not(.pagination__checked_1mwsw) {
34
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:disabled:not(.pagination__checked_f6hnz) {
33
35
  opacity: 0.3;
34
- }
35
- .pagination__tag_1mwsw.pagination__tag_1mwsw:hover:not(:disabled) {
36
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:hover:not(:disabled) {
36
37
  background-color: var(--color-light-bg-tertiary);
37
38
  color: var(--color-light-text-primary);
38
- }
39
- .pagination__tag_1mwsw.pagination__tag_1mwsw:active:not(:disabled) {
39
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
- }
42
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw {
41
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz {
43
42
  cursor: default;
44
43
  background-color: var(--color-light-bg-secondary-inverted);
45
44
  color: var(--color-light-text-primary-inverted);
46
- }
47
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:hover:not(:disabled) {
45
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:hover:not(:disabled) {
48
46
  color: var(--color-light-text-primary-inverted);
49
- }
50
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:active:not(:disabled) {
47
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:active:not(:disabled) {
51
48
  color: var(--color-light-text-primary);
52
49
  }
@@ -41,7 +41,7 @@ function __rest(s, e) {
41
41
  return t;
42
42
  }
43
43
 
44
- var styles = {"tag":"pagination__tag_1mwsw","checked":"pagination__checked_1mwsw"};
44
+ var styles = {"tag":"pagination__tag_f6hnz","checked":"pagination__checked_f6hnz"};
45
45
  require('./index.css')
46
46
 
47
47
  var Tag = function (_a) {
package/esm/index.css CHANGED
@@ -1,19 +1,22 @@
1
- /* hash: 1g2mx */
1
+ /* hash: 1cepi */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-primary: #0b1f35;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-xs: 8px;
15
- }
16
- .pagination__component_bjwil {
17
+ } :root {
18
+ } :root {
19
+ } .pagination__component_12sxs {
17
20
  font-size: 14px;
18
21
  line-height: 20px;
19
22
  font-weight: 400;
@@ -23,10 +26,8 @@
23
26
  color: var(--color-light-text-primary);
24
27
  font-feature-settings: "tnum";
25
28
  font-variant-numeric: tabular-nums;
26
- }
27
- .pagination__defaultView_bjwil > * {
29
+ } .pagination__defaultView_12sxs > * {
28
30
  margin-right: var(--gap-xs)
29
- }
30
- .pagination__defaultView_bjwil > *:last-child {
31
+ } .pagination__defaultView_12sxs > *:last-child {
31
32
  margin-right: 0;
32
33
  }
package/index.css CHANGED
@@ -1,19 +1,22 @@
1
- /* hash: 1g2mx */
1
+ /* hash: 1cepi */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-primary: #0b1f35;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-xs: 8px;
15
- }
16
- .pagination__component_bjwil {
17
+ } :root {
18
+ } :root {
19
+ } .pagination__component_12sxs {
17
20
  font-size: 14px;
18
21
  line-height: 20px;
19
22
  font-weight: 400;
@@ -23,10 +26,8 @@
23
26
  color: var(--color-light-text-primary);
24
27
  font-feature-settings: "tnum";
25
28
  font-variant-numeric: tabular-nums;
26
- }
27
- .pagination__defaultView_bjwil > * {
29
+ } .pagination__defaultView_12sxs > * {
28
30
  margin-right: var(--gap-xs)
29
- }
30
- .pagination__defaultView_bjwil > *:last-child {
31
+ } .pagination__defaultView_12sxs > *:last-child {
31
32
  margin-right: 0;
32
33
  }
@@ -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":"pagination__component_bjwil","defaultView":"pagination__defaultView_bjwil"};
10
+ const styles = {"component":"pagination__component_12sxs","defaultView":"pagination__defaultView_12sxs"};
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,16 +1,21 @@
1
- /* hash: getbn */
1
+ /* hash: 11m0k */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- .pagination__dots_1tcqz {
14
+ } :root {
15
+ } :root {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__dots_1275i {
14
19
  width: 32px;
15
20
  height: 32px;
16
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":"pagination__dots_1tcqz"};
6
+ const styles = {"dots":"pagination__dots_1275i"};
7
7
  require('./index.css')
8
8
 
9
9
  /* eslint-disable react/no-array-index-key */
@@ -1,16 +1,21 @@
1
- /* hash: z0ghc */
1
+ /* hash: tj0u3 */
2
2
  :root {
3
+ } /* deprecated */ :root {
4
+ } :root {
5
+ } :root {
6
+ } :root {
3
7
 
4
8
  /* Hard */
5
9
 
6
10
  /* Up */
7
11
 
8
12
  /* Hard up */
9
- }
10
- :root {
13
+ } :root {
14
+ } :root {
11
15
  --gap-m: 16px;
12
- }
13
- .pagination__component_rluu0 {
16
+ } :root {
17
+ } :root {
18
+ } .pagination__component_1p5g5 {
14
19
  display: block;
15
20
  margin: 0 var(--gap-m);
16
21
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- const styles = {"component":"pagination__component_rluu0"};
3
+ const styles = {"component":"pagination__component_1p5g5"};
4
4
  require('./index.css')
5
5
 
6
6
  const PerPageView = ({ pagesCount, currentPageIndex }) => (React.createElement("span", { className: styles.component },
@@ -1,24 +1,27 @@
1
- /* hash: 6ohk8 */
1
+ /* hash: 1rclm */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-quaternary: #dbdee1;
4
5
  --color-light-bg-secondary-inverted: #233549;
5
6
  --color-light-bg-tertiary: #e7e9eb;
6
7
  --color-light-text-primary: #0b1f35;
7
8
  --color-light-text-primary-inverted: #fff;
8
9
  --color-light-text-secondary: rgba(11, 31, 53, 0.7);
9
- }
10
- :root {
10
+ } :root {
11
+ } :root {
12
+ } :root {
11
13
 
12
14
  /* Hard */
13
15
 
14
16
  /* Up */
15
17
 
16
18
  /* Hard up */
17
- }
18
- :root {
19
+ } :root {
19
20
  --border-radius-m: 8px;
20
- }
21
- .pagination__tag_1mwsw.pagination__tag_1mwsw {
21
+ } :root {
22
+ } :root {
23
+ } :root {
24
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz {
22
25
  color: var(--color-light-text-secondary);
23
26
  border-radius: var(--border-radius-m);
24
27
  border: none;
@@ -28,25 +31,19 @@
28
31
  width: 32px;
29
32
  height: 32px;
30
33
  padding: 0
31
- }
32
- .pagination__tag_1mwsw.pagination__tag_1mwsw:disabled:not(.pagination__checked_1mwsw) {
34
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:disabled:not(.pagination__checked_f6hnz) {
33
35
  opacity: 0.3;
34
- }
35
- .pagination__tag_1mwsw.pagination__tag_1mwsw:hover:not(:disabled) {
36
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:hover:not(:disabled) {
36
37
  background-color: var(--color-light-bg-tertiary);
37
38
  color: var(--color-light-text-primary);
38
- }
39
- .pagination__tag_1mwsw.pagination__tag_1mwsw:active:not(:disabled) {
39
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
- }
42
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw {
41
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz {
43
42
  cursor: default;
44
43
  background-color: var(--color-light-bg-secondary-inverted);
45
44
  color: var(--color-light-text-primary-inverted);
46
- }
47
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:hover:not(:disabled) {
45
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:hover:not(:disabled) {
48
46
  color: var(--color-light-text-primary-inverted);
49
- }
50
- .pagination__tag_1mwsw.pagination__tag_1mwsw.pagination__checked_1mwsw:active:not(:disabled) {
47
+ } .pagination__tag_f6hnz.pagination__tag_f6hnz.pagination__checked_f6hnz:active:not(:disabled) {
51
48
  color: var(--color-light-text-primary);
52
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":"pagination__tag_1mwsw","checked":"pagination__checked_1mwsw"};
5
+ const styles = {"tag":"pagination__tag_f6hnz","checked":"pagination__checked_f6hnz"};
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,19 +1,22 @@
1
- /* hash: 1g2mx */
1
+ /* hash: 1cepi */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-text-primary: #0b1f35;
4
- }
5
- :root {
5
+ } :root {
6
+ } :root {
7
+ } :root {
6
8
 
7
9
  /* Hard */
8
10
 
9
11
  /* Up */
10
12
 
11
13
  /* Hard up */
12
- }
13
- :root {
14
+ } :root {
15
+ } :root {
14
16
  --gap-xs: 8px;
15
- }
16
- .pagination__component_bjwil {
17
+ } :root {
18
+ } :root {
19
+ } .pagination__component_12sxs {
17
20
  font-size: 14px;
18
21
  line-height: 20px;
19
22
  font-weight: 400;
@@ -23,10 +26,8 @@
23
26
  color: var(--color-light-text-primary);
24
27
  font-feature-settings: "tnum";
25
28
  font-variant-numeric: tabular-nums;
26
- }
27
- .pagination__defaultView_bjwil > * {
29
+ } .pagination__defaultView_12sxs > * {
28
30
  margin-right: var(--gap-xs)
29
- }
30
- .pagination__defaultView_bjwil > *:last-child {
31
+ } .pagination__defaultView_12sxs > *:last-child {
31
32
  margin-right: 0;
32
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-pagination",
3
- "version": "2.0.9",
3
+ "version": "2.0.11",
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-button": "^7.0.3",
19
- "@alfalab/core-components-tag": "^5.0.3",
18
+ "@alfalab/core-components-button": "^7.0.5",
19
+ "@alfalab/core-components-tag": "^5.0.4",
20
20
  "classnames": "^2.3.1"
21
21
  }
22
22
  }