@alfalab/core-components-pagination 1.2.7 → 1.3.2

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.
Files changed (59) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/{dist/Component.d.ts → Component.d.ts} +0 -0
  3. package/{dist/Component.js → Component.js} +1 -1
  4. package/{dist/esm/components → components}/default-view/index.css +2 -2
  5. package/{dist/components → components}/default-view/index.d.ts +0 -0
  6. package/{dist/components → components}/default-view/index.js +1 -1
  7. package/{dist/components → components}/per-page-view/index.css +2 -2
  8. package/{dist/components → components}/per-page-view/index.d.ts +0 -0
  9. package/{dist/components → components}/per-page-view/index.js +1 -1
  10. package/{dist/esm/components → components}/tag/index.css +8 -8
  11. package/{dist/components → components}/tag/index.d.ts +0 -0
  12. package/{dist/components → components}/tag/index.js +1 -1
  13. package/{dist/cssm → cssm}/Component.d.ts +0 -0
  14. package/{dist/cssm → cssm}/Component.js +1 -1
  15. package/{dist/cssm → cssm}/components/default-view/index.d.ts +0 -0
  16. package/{dist/cssm → cssm}/components/default-view/index.js +1 -1
  17. package/{dist/cssm → cssm}/components/default-view/index.module.css +0 -0
  18. package/{dist/cssm → cssm}/components/per-page-view/index.d.ts +0 -0
  19. package/{dist/cssm → cssm}/components/per-page-view/index.js +0 -0
  20. package/{dist/cssm → cssm}/components/per-page-view/index.module.css +0 -0
  21. package/{dist/cssm → cssm}/components/tag/index.d.ts +0 -0
  22. package/{dist/cssm → cssm}/components/tag/index.js +1 -1
  23. package/{dist/cssm → cssm}/components/tag/index.module.css +0 -0
  24. package/{dist/cssm → cssm}/index.d.ts +0 -0
  25. package/{dist/cssm → cssm}/index.js +1 -1
  26. package/{dist/cssm → cssm}/index.module.css +0 -0
  27. package/{dist/esm → esm}/Component.d.ts +0 -0
  28. package/{dist/esm → esm}/Component.js +2 -2
  29. package/{dist/modern → esm}/components/default-view/index.css +2 -2
  30. package/{dist/esm → esm}/components/default-view/index.d.ts +0 -0
  31. package/{dist/esm → esm}/components/default-view/index.js +2 -2
  32. package/{dist/esm → esm}/components/per-page-view/index.css +2 -2
  33. package/{dist/esm → esm}/components/per-page-view/index.d.ts +0 -0
  34. package/{dist/esm → esm}/components/per-page-view/index.js +1 -1
  35. package/{dist/modern → esm}/components/tag/index.css +8 -8
  36. package/{dist/esm → esm}/components/tag/index.d.ts +0 -0
  37. package/{dist/esm → esm}/components/tag/index.js +2 -2
  38. package/{dist/esm → esm}/index.css +4 -4
  39. package/{dist/esm → esm}/index.d.ts +0 -0
  40. package/{dist/esm → esm}/index.js +1 -1
  41. package/{dist/index.css → index.css} +4 -4
  42. package/{dist/index.d.ts → index.d.ts} +0 -0
  43. package/{dist/index.js → index.js} +0 -0
  44. package/{dist/modern → modern}/Component.d.ts +0 -0
  45. package/{dist/modern → modern}/Component.js +2 -2
  46. package/{dist → modern}/components/default-view/index.css +2 -2
  47. package/{dist/modern → modern}/components/default-view/index.d.ts +0 -0
  48. package/{dist/modern → modern}/components/default-view/index.js +2 -2
  49. package/{dist/modern → modern}/components/per-page-view/index.css +2 -2
  50. package/{dist/modern → modern}/components/per-page-view/index.d.ts +0 -0
  51. package/{dist/modern → modern}/components/per-page-view/index.js +1 -1
  52. package/{dist → modern}/components/tag/index.css +8 -8
  53. package/{dist/modern → modern}/components/tag/index.d.ts +0 -0
  54. package/{dist/modern → modern}/components/tag/index.js +2 -2
  55. package/{dist/modern → modern}/index.css +4 -4
  56. package/{dist/modern → modern}/index.d.ts +0 -0
  57. package/{dist/modern → modern}/index.js +1 -1
  58. package/package.json +9 -12
  59. /package/{dist/send-stats.js → send-stats.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.3.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-pagination@1.3.1...@alfalab/core-components-pagination@1.3.2) (2022-07-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-pagination@1.3.0...@alfalab/core-components-pagination@1.3.1) (2022-07-14)
18
+
19
+ **Note:** Version bump only for package @alfalab/core-components-pagination
20
+
21
+
22
+
23
+
24
+
25
+ # [1.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-pagination@1.2.8...@alfalab/core-components-pagination@1.3.0) (2022-06-28)
26
+
27
+
28
+ ### Features
29
+
30
+ * circumflexus retrieval ([#57](https://github.com/core-ds/core-components/issues/57)) ([3820da8](https://github.com/core-ds/core-components/commit/3820da818bcdcbee6904c648b3e29c3c828fe202))
31
+
32
+
33
+
34
+
35
+
36
+ ## [1.2.8](https://github.com/core-ds/core-components/compare/@alfalab/core-components-pagination@1.2.7...@alfalab/core-components-pagination@1.2.8) (2022-06-23)
37
+
38
+ **Note:** Version bump only for package @alfalab/core-components-pagination
39
+
40
+
41
+
42
+
43
+
6
44
  ## [1.2.7](https://github.com/core-ds/core-components/compare/@alfalab/core-components-pagination@1.2.6...@alfalab/core-components-pagination@1.2.7) (2022-06-03)
7
45
 
8
46
  **Note:** Version bump only for package @alfalab/core-components-pagination
@@ -67,4 +105,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
67
105
 
68
106
  ### Features
69
107
 
108
+
70
109
  * **table:** компоненты для построения таблиц ([#911](https://github.com/core-ds/core-components/issues/911)) ([4ac648a](https://github.com/core-ds/core-components/commit/4ac648abd4de08bf68babc2f122f432d5b14080e))
File without changes
@@ -16,7 +16,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
16
16
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
17
17
  var cn__default = /*#__PURE__*/_interopDefaultLegacy(cn);
18
18
 
19
- var styles = {"component":"pagination__component_u6hhb","defaultView":"pagination__defaultView_u6hhb"};
19
+ var styles = {"component":"pagination__component_1as5s","defaultView":"pagination__defaultView_1as5s"};
20
20
  require('./index.css')
21
21
 
22
22
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1egys */
1
+ /* hash: q26je */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .pagination__dots_1tsve {
13
+ .pagination__dots_u7xi2 {
14
14
  width: 32px;
15
15
  height: 32px;
16
16
  text-align: center;
@@ -11,7 +11,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
11
11
 
12
12
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
13
13
 
14
- var styles = {"dots":"pagination__dots_1tsve"};
14
+ var styles = {"dots":"pagination__dots_u7xi2"};
15
15
  require('./index.css')
16
16
 
17
17
  var DefaultView = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 14miv */
1
+ /* hash: g7qm3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pagination__component_1koep {
13
+ .pagination__component_p9ny0 {
14
14
  display: block;
15
15
  margin: 0 var(--gap-m);
16
16
  }
@@ -8,7 +8,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
10
 
11
- var styles = {"component":"pagination__component_1koep"};
11
+ var styles = {"component":"pagination__component_p9ny0"};
12
12
  require('./index.css')
13
13
 
14
14
  var PerPageView = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1fmz7 */
1
+ /* hash: 1ahwh */
2
2
  :root {
3
3
  --color-light-bg-quaternary: #dbdee1;
4
4
  --color-light-bg-secondary-inverted: #233549;
@@ -18,7 +18,7 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .pagination__tag_n8m3q.pagination__tag_n8m3q {
21
+ .pagination__tag_10u4y.pagination__tag_10u4y {
22
22
  color: var(--color-light-text-secondary);
23
23
  border-radius: var(--border-radius-m);
24
24
  border: none;
@@ -29,24 +29,24 @@
29
29
  height: 32px;
30
30
  padding: 0
31
31
  }
32
- .pagination__tag_n8m3q.pagination__tag_n8m3q:disabled:not(.pagination__checked_n8m3q) {
32
+ .pagination__tag_10u4y.pagination__tag_10u4y:disabled:not(.pagination__checked_10u4y) {
33
33
  opacity: 0.3;
34
34
  }
35
- .pagination__tag_n8m3q.pagination__tag_n8m3q:hover:not(:disabled) {
35
+ .pagination__tag_10u4y.pagination__tag_10u4y:hover:not(:disabled) {
36
36
  background-color: var(--color-light-bg-tertiary);
37
37
  color: var(--color-light-text-primary);
38
38
  }
39
- .pagination__tag_n8m3q.pagination__tag_n8m3q:active:not(:disabled) {
39
+ .pagination__tag_10u4y.pagination__tag_10u4y:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
41
  }
42
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q {
42
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y {
43
43
  cursor: default;
44
44
  background-color: var(--color-light-bg-secondary-inverted);
45
45
  color: var(--color-light-text-primary-inverted);
46
46
  }
47
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:hover:not(:disabled) {
47
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:hover:not(:disabled) {
48
48
  color: var(--color-light-text-primary-inverted);
49
49
  }
50
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:active:not(:disabled) {
50
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:active:not(:disabled) {
51
51
  color: var(--color-light-text-primary);
52
52
  }
File without changes
@@ -50,7 +50,7 @@ function __rest(s, e) {
50
50
  return t;
51
51
  }
52
52
 
53
- var styles = {"tag":"pagination__tag_n8m3q","checked":"pagination__checked_n8m3q"};
53
+ var styles = {"tag":"pagination__tag_10u4y","checked":"pagination__checked_10u4y"};
54
54
  require('./index.css')
55
55
 
56
56
  var Tag = function (_a) {
File without changes
@@ -7,7 +7,7 @@ var cn = require('classnames');
7
7
  var ChevronBackMIcon = require('@alfalab/icons-glyph/ChevronBackMIcon');
8
8
  var ChevronForwardMIcon = require('@alfalab/icons-glyph/ChevronForwardMIcon');
9
9
  var components_tag_index = require('./components/tag/index.js');
10
- require('@alfalab/core-components-tag/dist/cssm');
10
+ require('@alfalab/core-components-tag/cssm');
11
11
  require('./components/tag/index.module.css');
12
12
  require('./components/default-view/index.module.css');
13
13
  var components_defaultView_index = require('./components/default-view/index.js');
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  require('classnames');
7
7
  var components_tag_index = require('../tag/index.js');
8
- require('@alfalab/core-components-tag/dist/cssm');
8
+ require('@alfalab/core-components-tag/cssm');
9
9
  require('../tag/index.module.css');
10
10
  var styles = require('./index.module.css');
11
11
 
File without changes
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var cn = require('classnames');
7
- var coreComponentsTag = require('@alfalab/core-components-tag/dist/cssm');
7
+ var coreComponentsTag = require('@alfalab/core-components-tag/cssm');
8
8
  var styles = require('./index.module.css');
9
9
 
10
10
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
File without changes
@@ -7,7 +7,7 @@ require('classnames');
7
7
  require('@alfalab/icons-glyph/ChevronBackMIcon');
8
8
  require('@alfalab/icons-glyph/ChevronForwardMIcon');
9
9
  require('./components/tag/index.js');
10
- require('@alfalab/core-components-tag/dist/cssm');
10
+ require('@alfalab/core-components-tag/cssm');
11
11
  require('./components/tag/index.module.css');
12
12
  require('./components/default-view/index.module.css');
13
13
  require('./components/default-view/index.js');
File without changes
File without changes
@@ -3,11 +3,11 @@ import cn from 'classnames';
3
3
  import { ChevronBackMIcon } from '@alfalab/icons-glyph/ChevronBackMIcon';
4
4
  import { ChevronForwardMIcon } from '@alfalab/icons-glyph/ChevronForwardMIcon';
5
5
  import { Tag } from './components/tag/index.js';
6
- import '@alfalab/core-components-tag/dist/esm';
6
+ import '@alfalab/core-components-tag/esm';
7
7
  import { DefaultView } from './components/default-view/index.js';
8
8
  import { PerPageView } from './components/per-page-view/index.js';
9
9
 
10
- var styles = {"component":"pagination__component_u6hhb","defaultView":"pagination__defaultView_u6hhb"};
10
+ var styles = {"component":"pagination__component_1as5s","defaultView":"pagination__defaultView_1as5s"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1egys */
1
+ /* hash: q26je */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .pagination__dots_1tsve {
13
+ .pagination__dots_u7xi2 {
14
14
  width: 32px;
15
15
  height: 32px;
16
16
  text-align: center;
@@ -1,9 +1,9 @@
1
1
  import React, { useCallback } from 'react';
2
2
  import 'classnames';
3
3
  import { Tag } from '../tag/index.js';
4
- import '@alfalab/core-components-tag/dist/esm';
4
+ import '@alfalab/core-components-tag/esm';
5
5
 
6
- var styles = {"dots":"pagination__dots_1tsve"};
6
+ var styles = {"dots":"pagination__dots_u7xi2"};
7
7
  require('./index.css')
8
8
 
9
9
  var DefaultView = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 14miv */
1
+ /* hash: g7qm3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pagination__component_1koep {
13
+ .pagination__component_p9ny0 {
14
14
  display: block;
15
15
  margin: 0 var(--gap-m);
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"component":"pagination__component_1koep"};
3
+ var styles = {"component":"pagination__component_p9ny0"};
4
4
  require('./index.css')
5
5
 
6
6
  var PerPageView = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1fmz7 */
1
+ /* hash: 1ahwh */
2
2
  :root {
3
3
  --color-light-bg-quaternary: #dbdee1;
4
4
  --color-light-bg-secondary-inverted: #233549;
@@ -18,7 +18,7 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .pagination__tag_n8m3q.pagination__tag_n8m3q {
21
+ .pagination__tag_10u4y.pagination__tag_10u4y {
22
22
  color: var(--color-light-text-secondary);
23
23
  border-radius: var(--border-radius-m);
24
24
  border: none;
@@ -29,24 +29,24 @@
29
29
  height: 32px;
30
30
  padding: 0
31
31
  }
32
- .pagination__tag_n8m3q.pagination__tag_n8m3q:disabled:not(.pagination__checked_n8m3q) {
32
+ .pagination__tag_10u4y.pagination__tag_10u4y:disabled:not(.pagination__checked_10u4y) {
33
33
  opacity: 0.3;
34
34
  }
35
- .pagination__tag_n8m3q.pagination__tag_n8m3q:hover:not(:disabled) {
35
+ .pagination__tag_10u4y.pagination__tag_10u4y:hover:not(:disabled) {
36
36
  background-color: var(--color-light-bg-tertiary);
37
37
  color: var(--color-light-text-primary);
38
38
  }
39
- .pagination__tag_n8m3q.pagination__tag_n8m3q:active:not(:disabled) {
39
+ .pagination__tag_10u4y.pagination__tag_10u4y:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
41
  }
42
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q {
42
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y {
43
43
  cursor: default;
44
44
  background-color: var(--color-light-bg-secondary-inverted);
45
45
  color: var(--color-light-text-primary-inverted);
46
46
  }
47
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:hover:not(:disabled) {
47
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:hover:not(:disabled) {
48
48
  color: var(--color-light-text-primary-inverted);
49
49
  }
50
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:active:not(:disabled) {
50
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:active:not(:disabled) {
51
51
  color: var(--color-light-text-primary);
52
52
  }
File without changes
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Tag as Tag$1 } from '@alfalab/core-components-tag/dist/esm';
3
+ import { Tag as Tag$1 } from '@alfalab/core-components-tag/esm';
4
4
 
5
5
  /*! *****************************************************************************
6
6
  Copyright (c) Microsoft Corporation.
@@ -41,7 +41,7 @@ function __rest(s, e) {
41
41
  return t;
42
42
  }
43
43
 
44
- var styles = {"tag":"pagination__tag_n8m3q","checked":"pagination__checked_n8m3q"};
44
+ var styles = {"tag":"pagination__tag_10u4y","checked":"pagination__checked_10u4y"};
45
45
  require('./index.css')
46
46
 
47
47
  var Tag = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 6r65i */
1
+ /* hash: ahb6v */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -13,7 +13,7 @@
13
13
  :root {
14
14
  --gap-xs: 8px;
15
15
  }
16
- .pagination__component_u6hhb {
16
+ .pagination__component_1as5s {
17
17
  font-size: 14px;
18
18
  line-height: 20px;
19
19
  font-weight: 400;
@@ -24,9 +24,9 @@
24
24
  font-feature-settings: "tnum";
25
25
  font-variant-numeric: tabular-nums;
26
26
  }
27
- .pagination__defaultView_u6hhb > * {
27
+ .pagination__defaultView_1as5s > * {
28
28
  margin-right: var(--gap-xs)
29
29
  }
30
- .pagination__defaultView_u6hhb > *:last-child {
30
+ .pagination__defaultView_1as5s > *:last-child {
31
31
  margin-right: 0;
32
32
  }
File without changes
@@ -3,7 +3,7 @@ import 'classnames';
3
3
  import '@alfalab/icons-glyph/ChevronBackMIcon';
4
4
  import '@alfalab/icons-glyph/ChevronForwardMIcon';
5
5
  import './components/tag/index.js';
6
- import '@alfalab/core-components-tag/dist/esm';
6
+ import '@alfalab/core-components-tag/esm';
7
7
  import './components/default-view/index.js';
8
8
  import './components/per-page-view/index.js';
9
9
  export { Pagination } from './Component.js';
@@ -1,4 +1,4 @@
1
- /* hash: 6r65i */
1
+ /* hash: ahb6v */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -13,7 +13,7 @@
13
13
  :root {
14
14
  --gap-xs: 8px;
15
15
  }
16
- .pagination__component_u6hhb {
16
+ .pagination__component_1as5s {
17
17
  font-size: 14px;
18
18
  line-height: 20px;
19
19
  font-weight: 400;
@@ -24,9 +24,9 @@
24
24
  font-feature-settings: "tnum";
25
25
  font-variant-numeric: tabular-nums;
26
26
  }
27
- .pagination__defaultView_u6hhb > * {
27
+ .pagination__defaultView_1as5s > * {
28
28
  margin-right: var(--gap-xs)
29
29
  }
30
- .pagination__defaultView_u6hhb > *:last-child {
30
+ .pagination__defaultView_1as5s > *:last-child {
31
31
  margin-right: 0;
32
32
  }
File without changes
File without changes
File without changes
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { ChevronBackMIcon } from '@alfalab/icons-glyph/ChevronBackMIcon';
4
4
  import { ChevronForwardMIcon } from '@alfalab/icons-glyph/ChevronForwardMIcon';
5
- import '@alfalab/core-components-tag/dist/modern';
5
+ import '@alfalab/core-components-tag/modern';
6
6
  import { Tag } from './components/tag/index.js';
7
7
  import { DefaultView } from './components/default-view/index.js';
8
8
  import { PerPageView } from './components/per-page-view/index.js';
9
9
 
10
- var styles = {"component":"pagination__component_u6hhb","defaultView":"pagination__defaultView_u6hhb"};
10
+ var styles = {"component":"pagination__component_1as5s","defaultView":"pagination__defaultView_1as5s"};
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: 1egys */
1
+ /* hash: q26je */
2
2
  :root {
3
3
  --color-light-text-secondary: #546272;
4
4
  }
@@ -10,7 +10,7 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .pagination__dots_1tsve {
13
+ .pagination__dots_u7xi2 {
14
14
  width: 32px;
15
15
  height: 32px;
16
16
  text-align: center;
@@ -1,9 +1,9 @@
1
1
  import React, { useCallback } from 'react';
2
2
  import 'classnames';
3
- import '@alfalab/core-components-tag/dist/modern';
3
+ import '@alfalab/core-components-tag/modern';
4
4
  import { Tag } from '../tag/index.js';
5
5
 
6
- var styles = {"dots":"pagination__dots_1tsve"};
6
+ var styles = {"dots":"pagination__dots_u7xi2"};
7
7
  require('./index.css')
8
8
 
9
9
  const DefaultView = ({ sidePadding = 2, activePadding = 1, pagesCount, currentPageIndex, onPageChange = () => null, }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 14miv */
1
+ /* hash: g7qm3 */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -10,7 +10,7 @@
10
10
  :root {
11
11
  --gap-m: 16px;
12
12
  }
13
- .pagination__component_1koep {
13
+ .pagination__component_p9ny0 {
14
14
  display: block;
15
15
  margin: 0 var(--gap-m);
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- var styles = {"component":"pagination__component_1koep"};
3
+ var styles = {"component":"pagination__component_p9ny0"};
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: 1fmz7 */
1
+ /* hash: 1ahwh */
2
2
  :root {
3
3
  --color-light-bg-quaternary: #dbdee1;
4
4
  --color-light-bg-secondary-inverted: #233549;
@@ -18,7 +18,7 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .pagination__tag_n8m3q.pagination__tag_n8m3q {
21
+ .pagination__tag_10u4y.pagination__tag_10u4y {
22
22
  color: var(--color-light-text-secondary);
23
23
  border-radius: var(--border-radius-m);
24
24
  border: none;
@@ -29,24 +29,24 @@
29
29
  height: 32px;
30
30
  padding: 0
31
31
  }
32
- .pagination__tag_n8m3q.pagination__tag_n8m3q:disabled:not(.pagination__checked_n8m3q) {
32
+ .pagination__tag_10u4y.pagination__tag_10u4y:disabled:not(.pagination__checked_10u4y) {
33
33
  opacity: 0.3;
34
34
  }
35
- .pagination__tag_n8m3q.pagination__tag_n8m3q:hover:not(:disabled) {
35
+ .pagination__tag_10u4y.pagination__tag_10u4y:hover:not(:disabled) {
36
36
  background-color: var(--color-light-bg-tertiary);
37
37
  color: var(--color-light-text-primary);
38
38
  }
39
- .pagination__tag_n8m3q.pagination__tag_n8m3q:active:not(:disabled) {
39
+ .pagination__tag_10u4y.pagination__tag_10u4y:active:not(:disabled) {
40
40
  background-color: var(--color-light-bg-quaternary);
41
41
  }
42
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q {
42
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y {
43
43
  cursor: default;
44
44
  background-color: var(--color-light-bg-secondary-inverted);
45
45
  color: var(--color-light-text-primary-inverted);
46
46
  }
47
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:hover:not(:disabled) {
47
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:hover:not(:disabled) {
48
48
  color: var(--color-light-text-primary-inverted);
49
49
  }
50
- .pagination__tag_n8m3q.pagination__tag_n8m3q.pagination__checked_n8m3q:active:not(:disabled) {
50
+ .pagination__tag_10u4y.pagination__tag_10u4y.pagination__checked_10u4y:active:not(:disabled) {
51
51
  color: var(--color-light-text-primary);
52
52
  }
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
- import { Tag as Tag$1 } from '@alfalab/core-components-tag/dist/modern';
3
+ import { Tag as Tag$1 } from '@alfalab/core-components-tag/modern';
4
4
 
5
- var styles = {"tag":"pagination__tag_n8m3q","checked":"pagination__checked_n8m3q"};
5
+ var styles = {"tag":"pagination__tag_10u4y","checked":"pagination__checked_10u4y"};
6
6
  require('./index.css')
7
7
 
8
8
  const Tag = ({ className, checked, ...restProps }) => (React.createElement(Tag$1, Object.assign({}, restProps, { checked: checked, size: 'xxs', className: cn(className, styles.tag, { [styles.checked]: checked }) })));
@@ -1,4 +1,4 @@
1
- /* hash: 6r65i */
1
+ /* hash: ahb6v */
2
2
  :root {
3
3
  --color-light-text-primary: #0b1f35;
4
4
  }
@@ -13,7 +13,7 @@
13
13
  :root {
14
14
  --gap-xs: 8px;
15
15
  }
16
- .pagination__component_u6hhb {
16
+ .pagination__component_1as5s {
17
17
  font-size: 14px;
18
18
  line-height: 20px;
19
19
  font-weight: 400;
@@ -24,9 +24,9 @@
24
24
  font-feature-settings: "tnum";
25
25
  font-variant-numeric: tabular-nums;
26
26
  }
27
- .pagination__defaultView_u6hhb > * {
27
+ .pagination__defaultView_1as5s > * {
28
28
  margin-right: var(--gap-xs)
29
29
  }
30
- .pagination__defaultView_u6hhb > *:last-child {
30
+ .pagination__defaultView_1as5s > *:last-child {
31
31
  margin-right: 0;
32
32
  }
File without changes
@@ -2,7 +2,7 @@ import 'react';
2
2
  import 'classnames';
3
3
  import '@alfalab/icons-glyph/ChevronBackMIcon';
4
4
  import '@alfalab/icons-glyph/ChevronForwardMIcon';
5
- import '@alfalab/core-components-tag/dist/modern';
5
+ import '@alfalab/core-components-tag/modern';
6
6
  import './components/tag/index.js';
7
7
  import './components/default-view/index.js';
8
8
  import './components/per-page-view/index.js';
package/package.json CHANGED
@@ -1,25 +1,22 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-pagination",
3
- "version": "1.2.7",
3
+ "version": "1.3.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
7
- "main": "dist/index.js",
8
- "module": "./dist/esm/index.js",
9
- "files": [
10
- "dist"
11
- ],
7
+ "main": "index.js",
8
+ "module": "./esm/index.js",
12
9
  "publishConfig": {
13
- "access": "public"
10
+ "access": "public",
11
+ "directory": "dist"
14
12
  },
15
13
  "peerDependencies": {
16
14
  "react": "^16.9.0 || ^17.0.1",
17
15
  "react-dom": "^16.9.0 || ^17.0.1"
18
16
  },
19
17
  "dependencies": {
20
- "@alfalab/core-components-button": "^5.1.6",
21
- "@alfalab/core-components-tag": "^4.2.4",
22
- "classnames": "2.2.6"
23
- },
24
- "gitHead": "d86d1207351d2e8dceb0519cbb0b64c06aaa6884"
18
+ "@alfalab/core-components-button": "^5.2.2",
19
+ "@alfalab/core-components-tag": "^4.3.2",
20
+ "classnames": "^2.2.6"
21
+ }
25
22
  }
File without changes