@alfalab/core-components-table 1.1.6 → 1.1.7

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 (98) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/component.js +1 -1
  3. package/dist/components/index.js +1 -1
  4. package/dist/components/pagination/Component.js +2 -2
  5. package/dist/components/pagination/index.css +8 -8
  6. package/dist/components/pagination/index.js +1 -1
  7. package/dist/components/pagination/select-field/index.css +4 -4
  8. package/dist/components/pagination/select-field/index.js +2 -2
  9. package/dist/components/table/Component.js +2 -2
  10. package/dist/components/table/index.css +5 -5
  11. package/dist/components/table/index.js +1 -1
  12. package/dist/components/table/utils.js +1 -1
  13. package/dist/components/tbody/Component.js +2 -2
  14. package/dist/components/tbody/index.css +2 -2
  15. package/dist/components/tbody/index.js +1 -1
  16. package/dist/components/tcell/Component.js +2 -2
  17. package/dist/components/tcell/index.css +4 -4
  18. package/dist/components/tcell/index.js +1 -1
  19. package/dist/components/texpandable-row/Component.js +2 -2
  20. package/dist/components/texpandable-row/index.css +5 -5
  21. package/dist/components/texpandable-row/index.js +1 -1
  22. package/dist/components/thead/Component.js +2 -2
  23. package/dist/components/thead/index.css +6 -6
  24. package/dist/components/thead/index.js +1 -1
  25. package/dist/components/thead-cell/Component.js +2 -2
  26. package/dist/components/thead-cell/index.css +5 -5
  27. package/dist/components/thead-cell/index.js +1 -1
  28. package/dist/components/trow/Component.js +2 -2
  29. package/dist/components/trow/index.css +8 -8
  30. package/dist/components/trow/index.js +1 -1
  31. package/dist/components/tsortable-head-cell/Component.js +2 -2
  32. package/dist/components/tsortable-head-cell/index.css +9 -9
  33. package/dist/components/tsortable-head-cell/index.js +1 -1
  34. package/dist/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  35. package/dist/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  36. package/dist/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  37. package/dist/esm/component.js +1 -1
  38. package/dist/esm/components/index.js +1 -1
  39. package/dist/esm/components/pagination/Component.js +2 -2
  40. package/dist/esm/components/pagination/index.css +8 -8
  41. package/dist/esm/components/pagination/index.js +1 -1
  42. package/dist/esm/components/pagination/select-field/index.css +4 -4
  43. package/dist/esm/components/pagination/select-field/index.js +2 -2
  44. package/dist/esm/components/table/Component.js +2 -2
  45. package/dist/esm/components/table/index.css +5 -5
  46. package/dist/esm/components/table/index.js +1 -1
  47. package/dist/esm/components/table/utils.js +1 -1
  48. package/dist/esm/components/tbody/Component.js +2 -2
  49. package/dist/esm/components/tbody/index.css +2 -2
  50. package/dist/esm/components/tbody/index.js +1 -1
  51. package/dist/esm/components/tcell/Component.js +2 -2
  52. package/dist/esm/components/tcell/index.css +4 -4
  53. package/dist/esm/components/tcell/index.js +1 -1
  54. package/dist/esm/components/texpandable-row/Component.js +2 -2
  55. package/dist/esm/components/texpandable-row/index.css +5 -5
  56. package/dist/esm/components/texpandable-row/index.js +1 -1
  57. package/dist/esm/components/thead/Component.js +2 -2
  58. package/dist/esm/components/thead/index.css +6 -6
  59. package/dist/esm/components/thead/index.js +1 -1
  60. package/dist/esm/components/thead-cell/Component.js +2 -2
  61. package/dist/esm/components/thead-cell/index.css +5 -5
  62. package/dist/esm/components/thead-cell/index.js +1 -1
  63. package/dist/esm/components/trow/Component.js +2 -2
  64. package/dist/esm/components/trow/index.css +8 -8
  65. package/dist/esm/components/trow/index.js +1 -1
  66. package/dist/esm/components/tsortable-head-cell/Component.js +2 -2
  67. package/dist/esm/components/tsortable-head-cell/index.css +9 -9
  68. package/dist/esm/components/tsortable-head-cell/index.js +1 -1
  69. package/dist/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  70. package/dist/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  71. package/dist/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  72. package/dist/esm/index.js +1 -1
  73. package/dist/esm/{tslib.es6-4b711877.d.ts → tslib.es6-39f2ca5b.d.ts} +0 -0
  74. package/dist/esm/{tslib.es6-4b711877.js → tslib.es6-39f2ca5b.js} +0 -0
  75. package/dist/index.js +1 -1
  76. package/dist/modern/components/pagination/Component.js +1 -1
  77. package/dist/modern/components/pagination/index.css +8 -8
  78. package/dist/modern/components/pagination/select-field/index.css +4 -4
  79. package/dist/modern/components/pagination/select-field/index.js +1 -1
  80. package/dist/modern/components/table/Component.js +1 -1
  81. package/dist/modern/components/table/index.css +5 -5
  82. package/dist/modern/components/tbody/Component.js +1 -1
  83. package/dist/modern/components/tbody/index.css +2 -2
  84. package/dist/modern/components/tcell/Component.js +1 -1
  85. package/dist/modern/components/tcell/index.css +4 -4
  86. package/dist/modern/components/texpandable-row/Component.js +1 -1
  87. package/dist/modern/components/texpandable-row/index.css +5 -5
  88. package/dist/modern/components/thead/Component.js +1 -1
  89. package/dist/modern/components/thead/index.css +6 -6
  90. package/dist/modern/components/thead-cell/Component.js +1 -1
  91. package/dist/modern/components/thead-cell/index.css +5 -5
  92. package/dist/modern/components/trow/Component.js +1 -1
  93. package/dist/modern/components/trow/index.css +8 -8
  94. package/dist/modern/components/tsortable-head-cell/Component.js +1 -1
  95. package/dist/modern/components/tsortable-head-cell/index.css +9 -9
  96. package/dist/{tslib.es6-7ae5f6cd.d.ts → tslib.es6-49caeee8.d.ts} +0 -0
  97. package/dist/{tslib.es6-7ae5f6cd.js → tslib.es6-49caeee8.js} +0 -0
  98. package/package.json +3 -3
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-7ae5f6cd.js');
5
+ var tslib_es6 = require('../../tslib.es6-49caeee8.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-7ae5f6cd.js');
5
+ var tslib_es6 = require('../../tslib.es6-49caeee8.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var tslib_es6 = require('../../tslib.es6-7ae5f6cd.js');
5
+ var tslib_es6 = require('../../tslib.es6-49caeee8.js');
6
6
  var React = require('react');
7
7
 
8
8
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
@@ -1,4 +1,4 @@
1
- import './tslib.es6-4b711877.js';
1
+ import './tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import { THead } from './components/thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../tslib.es6-4b711877.js';
1
+ import '../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THead } from './thead/Component.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React, { useContext, useMemo, useCallback } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TableContext } from '../table-context/index.js';
@@ -7,7 +7,7 @@ import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/
7
7
  import '@alfalab/core-components-button/dist/esm';
8
8
  import { CustomSelectField } from './select-field/index.js';
9
9
 
10
- var styles = {"component":"table__component_1dnop","pagesWrapper":"table__pagesWrapper_1dnop","tag":"table__tag_1dnop","tagActive":"table__tagActive_1dnop","menu":"table__menu_1dnop","option":"table__option_1dnop"};
10
+ var styles = {"component":"table__component_4x86i","pagesWrapper":"table__pagesWrapper_4x86i","tag":"table__tag_4x86i","tagActive":"table__tagActive_4x86i","menu":"table__menu_4x86i","option":"table__option_4x86i"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: v8619 */
1
+ /* hash: 7n18f */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  }
@@ -17,7 +17,7 @@
17
17
  --gap-xl: 24px;
18
18
  --gap-2xl: 32px;
19
19
  }
20
- .table__component_1dnop {
20
+ .table__component_4x86i {
21
21
  display: flex;
22
22
  justify-content: space-between;
23
23
  align-items: flex-start;
@@ -26,24 +26,24 @@
26
26
  border-top: 1px solid var(--color-light-border-primary);
27
27
  box-sizing: border-box;
28
28
  }
29
- .table__pagesWrapper_1dnop {
29
+ .table__pagesWrapper_4x86i {
30
30
  display: flex;
31
31
  }
32
- .table__tag_1dnop.table__tag_1dnop {
32
+ .table__tag_4x86i.table__tag_4x86i {
33
33
  flex-shrink: 0;
34
34
  margin-right: var(--gap-xs);
35
35
  padding: 0 var(--gap-xs);
36
36
  min-width: 32px
37
37
  }
38
- .table__tag_1dnop.table__tag_1dnop:last-child {
38
+ .table__tag_4x86i.table__tag_4x86i:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_1dnop.table__tag_1dnop.table__tagActive_1dnop {
41
+ .table__tag_4x86i.table__tag_4x86i.table__tagActive_4x86i {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_1dnop {
44
+ .table__menu_4x86i {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_1dnop {
47
+ .table__option_4x86i {
48
48
  min-width: 208px;
49
49
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,4 +1,4 @@
1
- /* hash: 19gmy */
1
+ /* hash: lvi5w */
2
2
  :root {
3
3
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
4
4
  }
@@ -10,11 +10,11 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__field_18mn4 svg {
13
+ .table__field_jw5dn svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_18mn4,
18
- .table__open_18mn4:hover {
17
+ .table__open_jw5dn,
18
+ .table__open_jw5dn:hover {
19
19
  background-color: var(--color-light-specialbg-component-shade-7);
20
20
  }
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Button } from '@alfalab/core-components-button/dist/esm';
5
5
 
6
- var styles = {"field":"table__field_18mn4","open":"table__open_18mn4"};
6
+ var styles = {"field":"table__field_jw5dn","open":"table__open_jw5dn"};
7
7
  require('./index.css')
8
8
 
9
9
  var CustomSelectField = function (_a) {
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React, { forwardRef, useRef, useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import '../thead/Component.js';
@@ -6,7 +6,7 @@ import '../../utils.js';
6
6
  import { findAllHeadCellsProps } from './utils.js';
7
7
  import { TableContext } from '../table-context/index.js';
8
8
 
9
- var styles = {"component":"table__component_1q7yw","wrapper":"table__wrapper_1q7yw","hasPagination":"table__hasPagination_1q7yw","table":"table__table_1q7yw"};
9
+ var styles = {"component":"table__component_1fd8p","wrapper":"table__wrapper_1fd8p","hasPagination":"table__hasPagination_1fd8p","table":"table__table_1fd8p"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1kv5s */
1
+ /* hash: 1gkm0 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,19 +18,19 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_1q7yw {
21
+ .table__component_1fd8p {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_1q7yw {
24
+ .table__wrapper_1fd8p {
25
25
  padding: 0 var(--gap-m) var(--gap-m);
26
26
  background: var(--color-light-bg-primary);
27
27
  box-shadow: var(--shadow-xs-hard);
28
28
  border-radius: var(--border-radius-m);
29
29
  }
30
- .table__hasPagination_1q7yw {
30
+ .table__hasPagination_1fd8p {
31
31
  padding-bottom: 0;
32
32
  }
33
- .table__table_1q7yw {
33
+ .table__table_1fd8p {
34
34
  width: 100%;
35
35
  border-collapse: collapse;
36
36
  box-sizing: border-box
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../thead/Component.js';
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import { THead } from '../thead/Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1d1iq"};
5
+ var styles = {"component":"table__component_1ug14"};
6
6
  require('./index.css')
7
7
 
8
8
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: gb17o */
1
+ /* hash: 1xpct */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_1d1iq {
10
+ .table__component_1ug14 {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TBody } from './Component.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React, { useContext } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TableContext } from '../table-context/index.js';
5
5
 
6
- var styles = {"component":"table__component_zj4ur","hidden":"table__hidden_zj4ur","compact":"table__compact_zj4ur"};
6
+ var styles = {"component":"table__component_11g7c","hidden":"table__hidden_11g7c","compact":"table__compact_11g7c"};
7
7
  require('./index.css')
8
8
 
9
9
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: pbyhw */
1
+ /* hash: 1fald */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-primary: #0b1f35;
@@ -16,7 +16,7 @@
16
16
  --gap-m: 16px;
17
17
  --gap-xl: 24px;
18
18
  }
19
- .table__component_zj4ur {
19
+ .table__component_11g7c {
20
20
  font-size: 14px;
21
21
  line-height: 20px;
22
22
  font-weight: 400;
@@ -28,10 +28,10 @@
28
28
  vertical-align: top;
29
29
  box-sizing: border-box;
30
30
  }
31
- .table__hidden_zj4ur {
31
+ .table__hidden_11g7c {
32
32
  display: none;
33
33
  }
34
- .table__compact_zj4ur {
34
+ .table__compact_11g7c {
35
35
  padding-top: var(--gap-xs);
36
36
  padding-bottom: var(--gap-xs);
37
37
 
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,9 +1,9 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React, { useState } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { TRow } from '../trow/Component.js';
5
5
 
6
- var styles = {"row":"table__row_1idab","selected":"table__selected_1idab","expanded":"table__expanded_1idab","expandable":"table__expandable_1idab"};
6
+ var styles = {"row":"table__row_1o603","selected":"table__selected_1o603","expanded":"table__expanded_1o603","expandable":"table__expandable_1o603"};
7
7
  require('./index.css')
8
8
 
9
9
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 180b7 */
1
+ /* hash: ssu5l */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_1idab {
10
+ .table__row_1o603 {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_1idab.table__expanded_1idab {
13
+ .table__selected_1o603.table__expanded_1o603 {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_1idab:hover {
16
+ .table__expanded_1o603:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_1idab td {
19
+ .table__expandable_1o603 td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../trow/Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_1u6qg","row":"table__row_1u6qg"};
5
+ var styles = {"component":"table__component_1u0bh","row":"table__row_1u0bh"};
6
6
  require('./index.css')
7
7
 
8
8
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: l1oae */
1
+ /* hash: 1s96n */
2
2
  :root {
3
3
  --color-light-graphic-neutral: #dbdee1;
4
4
  }
@@ -10,12 +10,12 @@
10
10
 
11
11
  /* Hard up */
12
12
  }
13
- .table__component_1u6qg {
13
+ .table__component_1u0bh {
14
14
  position: relative;
15
15
  width: 100%;
16
16
  box-sizing: border-box
17
17
  }
18
- .table__component_1u6qg th:not(:last-child):not(:empty):after {
18
+ .table__component_1u0bh th:not(:last-child):not(:empty):after {
19
19
  transition: opacity 0.2s;
20
20
  position: absolute;
21
21
  content: '';
@@ -27,12 +27,12 @@
27
27
  bottom: 8px;
28
28
  background-color: var(--color-light-graphic-neutral);
29
29
  }
30
- .table__component_1u6qg th:after {
30
+ .table__component_1u0bh th:after {
31
31
  opacity: 0;
32
32
  }
33
- .table__component_1u6qg:hover th:after {
33
+ .table__component_1u0bh:hover th:after {
34
34
  opacity: 1;
35
35
  }
36
- .table__row_1u6qg {
36
+ .table__row_1u0bh {
37
37
  height: 72px;
38
38
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THead } from './Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_gu50e","sortable":"table__sortable_gu50e","sorted":"table__sorted_gu50e","hidden":"table__hidden_gu50e"};
5
+ var styles = {"component":"table__component_iqnxb","sortable":"table__sortable_iqnxb","sorted":"table__sorted_iqnxb","hidden":"table__hidden_iqnxb"};
6
6
  require('./index.css')
7
7
 
8
8
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: fc1o8 */
1
+ /* hash: 12x6h */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -16,7 +16,7 @@
16
16
  --gap-m: 16px;
17
17
  --gap-2xl: 32px;
18
18
  }
19
- .table__component_gu50e {
19
+ .table__component_iqnxb {
20
20
  font-size: 12px;
21
21
  line-height: 16px;
22
22
  font-weight: 500;
@@ -33,12 +33,12 @@
33
33
  vertical-align: top;
34
34
  box-sizing: border-box;
35
35
  }
36
- .table__sortable_gu50e {
36
+ .table__sortable_iqnxb {
37
37
  cursor: pointer;
38
38
  }
39
- .table__sorted_gu50e {
39
+ .table__sorted_iqnxb {
40
40
  color: var(--color-light-text-primary);
41
41
  }
42
- .table__hidden_gu50e {
42
+ .table__hidden_iqnxb {
43
43
  display: none;
44
44
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { THeadCell } from './Component.js';
@@ -1,8 +1,8 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
  import cn from 'classnames';
4
4
 
5
- var styles = {"component":"table__component_ktix5","withoutBorder":"table__withoutBorder_ktix5","clickable":"table__clickable_ktix5","selected":"table__selected_ktix5"};
5
+ var styles = {"component":"table__component_1n2fz","withoutBorder":"table__withoutBorder_1n2fz","clickable":"table__clickable_1n2fz","selected":"table__selected_1n2fz"};
6
6
  require('./index.css')
7
7
 
8
8
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1y8jz */
1
+ /* hash: p62tz */
2
2
  :root {
3
3
  --color-static-graphic-solitude: #e8f2fe;
4
4
  }
@@ -14,30 +14,30 @@
14
14
 
15
15
  /* Hard up */
16
16
  }
17
- .table__component_ktix5 {
17
+ .table__component_1n2fz {
18
18
  padding-top: 1px;
19
19
  width: 100%;
20
20
  transition: background-color 0.2s;
21
21
  box-sizing: border-box;
22
22
  background: var(--color-light-bg-primary)
23
23
  }
24
- .table__component_ktix5:first-child td {
24
+ .table__component_1n2fz:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_ktix5 {
27
+ .table__withoutBorder_1n2fz {
28
28
  td {
29
29
  border: none;
30
30
  }
31
31
  }
32
- .table__clickable_ktix5 {
32
+ .table__clickable_1n2fz {
33
33
  cursor: pointer
34
34
  }
35
- .table__clickable_ktix5:hover {
35
+ .table__clickable_1n2fz:hover {
36
36
  background-color: var(--color-light-bg-secondary);
37
37
  }
38
- .table__selected_ktix5 {
38
+ .table__selected_1n2fz {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
40
  }
41
- .table__selected_ktix5:hover {
41
+ .table__selected_1n2fz:hover {
42
42
  background-color: var(--color-static-graphic-solitude);
43
43
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  export { TRow } from './Component.js';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { _ as __rest, a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React, { useMemo } from 'react';
3
3
  import cn from 'classnames';
4
4
  import { THeadCell } from '../thead-cell/Component.js';
@@ -6,7 +6,7 @@ import { SortIconAsc } from './sort-icon-asc.js';
6
6
  import { SortIconDesc } from './sort-icon-desc.js';
7
7
  import { SortIconUnset } from './sort-icon-unset.js';
8
8
 
9
- var styles = {"component":"table__component_1f4lp","content":"table__content_1f4lp","icon":"table__icon_1f4lp","reverse":"table__reverse_1f4lp","sorted":"table__sorted_1f4lp"};
9
+ var styles = {"component":"table__component_1tgjr","content":"table__content_1tgjr","icon":"table__icon_1tgjr","reverse":"table__reverse_1tgjr","sorted":"table__sorted_1tgjr"};
10
10
  require('./index.css')
11
11
 
12
12
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1x3k2 */
1
+ /* hash: 1st0b */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,32 +15,32 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_1f4lp {
18
+ .table__component_1tgjr {
19
19
  position: relative;
20
20
  }
21
- .table__content_1f4lp {
21
+ .table__content_1tgjr {
22
22
  display: flex;
23
23
  align-items: center;
24
24
  }
25
- .table__icon_1f4lp {
25
+ .table__icon_1tgjr {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
28
  color: var(--color-light-graphic-secondary);
29
29
  transition: color 0.2s ease
30
30
  }
31
- .table__icon_1f4lp:hover {
31
+ .table__icon_1tgjr:hover {
32
32
  color: var(--color-light-graphic-primary);
33
33
  }
34
- .table__reverse_1f4lp {
34
+ .table__reverse_1tgjr {
35
35
  flex-direction: row-reverse
36
36
  }
37
- .table__reverse_1f4lp .table__icon_1f4lp {
37
+ .table__reverse_1tgjr .table__icon_1tgjr {
38
38
  margin-left: 0;
39
39
  margin-right: var(--gap-xs);
40
40
  }
41
- .table__sorted_1f4lp {
41
+ .table__sorted_1tgjr {
42
42
  color: var(--color-light-graphic-link)
43
43
  }
44
- .table__sorted_1f4lp:hover {
44
+ .table__sorted_1tgjr:hover {
45
45
  color: var(--color-light-graphic-link);
46
46
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-4b711877.js';
1
+ import '../../tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../thead-cell/Component.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconAsc = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconDesc = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-4b711877.js';
1
+ import { a as __assign } from '../../tslib.es6-39f2ca5b.js';
2
2
  import React from 'react';
3
3
 
4
4
  var SortIconUnset = function (props) { return (React.createElement("svg", __assign({ width: '18', height: '18', viewBox: '0 0 18 18', fill: 'currentColor', xmlns: 'http://www.w3.org/2000/svg', focusable: 'false', role: 'img' }, props),
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-4b711877.js';
1
+ import './tslib.es6-39f2ca5b.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './components/thead/Component.js';
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-7ae5f6cd.js');
5
+ require('./tslib.es6-49caeee8.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./components/thead/Component.js');
@@ -6,7 +6,7 @@ import { Pagination as Pagination$1 } from '@alfalab/core-components-pagination/
6
6
  import '@alfalab/core-components-button/dist/modern';
7
7
  import { CustomSelectField } from './select-field/index.js';
8
8
 
9
- var styles = {"component":"table__component_1dnop","pagesWrapper":"table__pagesWrapper_1dnop","tag":"table__tag_1dnop","tagActive":"table__tagActive_1dnop","menu":"table__menu_1dnop","option":"table__option_1dnop"};
9
+ var styles = {"component":"table__component_4x86i","pagesWrapper":"table__pagesWrapper_4x86i","tag":"table__tag_4x86i","tagActive":"table__tagActive_4x86i","menu":"table__menu_4x86i","option":"table__option_4x86i"};
10
10
  require('./index.css')
11
11
 
12
12
  const Pagination = ({ perPage = 25, possiblePerPage = [25, 50, 100], onPerPageChange = () => null, pagesCount, onPageChange = () => null, className, dataTestId, ...restPaginationProps }) => {