@alfalab/core-components-table 2.2.3 → 2.2.5

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 (97) hide show
  1. package/component.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/pagination/Component.js +2 -2
  4. package/components/pagination/index.css +8 -8
  5. package/components/pagination/index.js +1 -1
  6. package/components/pagination/select-field/index.css +4 -4
  7. package/components/pagination/select-field/index.js +2 -2
  8. package/components/table/Component.js +2 -2
  9. package/components/table/index.css +7 -7
  10. package/components/table/index.js +1 -1
  11. package/components/table/utils.js +1 -1
  12. package/components/tbody/Component.js +2 -2
  13. package/components/tbody/index.css +2 -2
  14. package/components/tbody/index.js +1 -1
  15. package/components/tcell/Component.js +2 -2
  16. package/components/tcell/index.css +6 -6
  17. package/components/tcell/index.js +1 -1
  18. package/components/texpandable-row/Component.js +2 -2
  19. package/components/texpandable-row/index.css +5 -5
  20. package/components/texpandable-row/index.js +1 -1
  21. package/components/thead/Component.js +2 -2
  22. package/components/thead/index.css +6 -6
  23. package/components/thead/index.js +1 -1
  24. package/components/thead-cell/Component.js +2 -2
  25. package/components/thead-cell/index.css +8 -8
  26. package/components/thead-cell/index.js +1 -1
  27. package/components/trow/Component.js +2 -2
  28. package/components/trow/index.css +8 -8
  29. package/components/trow/index.js +1 -1
  30. package/components/tsortable-head-cell/Component.js +2 -2
  31. package/components/tsortable-head-cell/index.css +9 -9
  32. package/components/tsortable-head-cell/index.js +1 -1
  33. package/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  34. package/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  35. package/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  36. package/esm/component.js +1 -1
  37. package/esm/components/index.js +1 -1
  38. package/esm/components/pagination/Component.js +2 -2
  39. package/esm/components/pagination/index.css +8 -8
  40. package/esm/components/pagination/index.js +1 -1
  41. package/esm/components/pagination/select-field/index.css +4 -4
  42. package/esm/components/pagination/select-field/index.js +2 -2
  43. package/esm/components/table/Component.js +2 -2
  44. package/esm/components/table/index.css +7 -7
  45. package/esm/components/table/index.js +1 -1
  46. package/esm/components/table/utils.js +1 -1
  47. package/esm/components/tbody/Component.js +2 -2
  48. package/esm/components/tbody/index.css +2 -2
  49. package/esm/components/tbody/index.js +1 -1
  50. package/esm/components/tcell/Component.js +2 -2
  51. package/esm/components/tcell/index.css +6 -6
  52. package/esm/components/tcell/index.js +1 -1
  53. package/esm/components/texpandable-row/Component.js +2 -2
  54. package/esm/components/texpandable-row/index.css +5 -5
  55. package/esm/components/texpandable-row/index.js +1 -1
  56. package/esm/components/thead/Component.js +2 -2
  57. package/esm/components/thead/index.css +6 -6
  58. package/esm/components/thead/index.js +1 -1
  59. package/esm/components/thead-cell/Component.js +2 -2
  60. package/esm/components/thead-cell/index.css +8 -8
  61. package/esm/components/thead-cell/index.js +1 -1
  62. package/esm/components/trow/Component.js +2 -2
  63. package/esm/components/trow/index.css +8 -8
  64. package/esm/components/trow/index.js +1 -1
  65. package/esm/components/tsortable-head-cell/Component.js +2 -2
  66. package/esm/components/tsortable-head-cell/index.css +9 -9
  67. package/esm/components/tsortable-head-cell/index.js +1 -1
  68. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  69. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  70. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  71. package/esm/index.js +1 -1
  72. package/esm/{tslib.es6-2cf299b8.d.ts → tslib.es6-eb63d7de.d.ts} +0 -0
  73. package/esm/{tslib.es6-2cf299b8.js → tslib.es6-eb63d7de.js} +0 -0
  74. package/index.js +1 -1
  75. package/modern/components/pagination/Component.js +1 -1
  76. package/modern/components/pagination/index.css +8 -8
  77. package/modern/components/pagination/select-field/index.css +4 -4
  78. package/modern/components/pagination/select-field/index.js +1 -1
  79. package/modern/components/table/Component.js +1 -1
  80. package/modern/components/table/index.css +7 -7
  81. package/modern/components/tbody/Component.js +1 -1
  82. package/modern/components/tbody/index.css +2 -2
  83. package/modern/components/tcell/Component.js +1 -1
  84. package/modern/components/tcell/index.css +6 -6
  85. package/modern/components/texpandable-row/Component.js +1 -1
  86. package/modern/components/texpandable-row/index.css +5 -5
  87. package/modern/components/thead/Component.js +1 -1
  88. package/modern/components/thead/index.css +6 -6
  89. package/modern/components/thead-cell/Component.js +1 -1
  90. package/modern/components/thead-cell/index.css +8 -8
  91. package/modern/components/trow/Component.js +1 -1
  92. package/modern/components/trow/index.css +8 -8
  93. package/modern/components/tsortable-head-cell/Component.js +1 -1
  94. package/modern/components/tsortable-head-cell/index.css +9 -9
  95. package/package.json +2 -2
  96. /package/{tslib.es6-6349aa58.d.ts → tslib.es6-04e02981.d.ts} +0 -0
  97. /package/{tslib.es6-6349aa58.js → tslib.es6-04e02981.js} +0 -0
@@ -1,4 +1,4 @@
1
- /* hash: 6p69s */
1
+ /* hash: 1l3mg */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_w0o25 {
18
+ .table__component_t5qms {
19
19
  position: relative;
20
20
  }
21
- .table__content_w0o25 {
21
+ .table__content_t5qms {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_w0o25 {
25
+ .table__icon_t5qms {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
28
 
@@ -35,19 +35,19 @@
35
35
  transition: color 0.2s ease;
36
36
  flex-shrink: 0
37
37
  }
38
- .table__icon_w0o25:hover {
38
+ .table__icon_t5qms:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_w0o25 {
41
+ .table__reverse_t5qms {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_w0o25 .table__icon_w0o25 {
44
+ .table__reverse_t5qms .table__icon_t5qms {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_w0o25 {
48
+ .table__sorted_t5qms {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_w0o25:hover {
51
+ .table__sorted_t5qms:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }
@@ -1,4 +1,4 @@
1
- import '../../tslib.es6-2cf299b8.js';
1
+ import '../../tslib.es6-eb63d7de.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import '../table-context/index.js';
@@ -1,4 +1,4 @@
1
- import { a as __assign } from '../../tslib.es6-2cf299b8.js';
1
+ import { a as __assign } from '../../tslib.es6-eb63d7de.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-2cf299b8.js';
1
+ import { a as __assign } from '../../tslib.es6-eb63d7de.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-2cf299b8.js';
1
+ import { a as __assign } from '../../tslib.es6-eb63d7de.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/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './tslib.es6-2cf299b8.js';
1
+ import './tslib.es6-eb63d7de.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import './components/table-context/index.js';
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./tslib.es6-6349aa58.js');
5
+ require('./tslib.es6-04e02981.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('./components/table-context/index.js');
@@ -6,7 +6,7 @@ import { Select } from '@alfalab/core-components-select/modern';
6
6
  import '@alfalab/core-components-button/modern';
7
7
  import { CustomSelectField } from './select-field/index.js';
8
8
 
9
- var styles = {"component":"table__component_18q4w","pagesWrapper":"table__pagesWrapper_18q4w","tag":"table__tag_18q4w","tagActive":"table__tagActive_18q4w","menu":"table__menu_18q4w","option":"table__option_18q4w"};
9
+ var styles = {"component":"table__component_a1zxa","pagesWrapper":"table__pagesWrapper_a1zxa","tag":"table__tag_a1zxa","tagActive":"table__tagActive_a1zxa","menu":"table__menu_a1zxa","option":"table__option_a1zxa"};
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 }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 14o95 */
1
+ /* hash: wix32 */
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_18q4w {
20
+ .table__component_a1zxa {
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_18q4w {
29
+ .table__pagesWrapper_a1zxa {
30
30
  display: flex;
31
31
  }
32
- .table__tag_18q4w.table__tag_18q4w {
32
+ .table__tag_a1zxa.table__tag_a1zxa {
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_18q4w.table__tag_18q4w:last-child {
38
+ .table__tag_a1zxa.table__tag_a1zxa:last-child {
39
39
  margin-right: 0;
40
40
  }
41
- .table__tag_18q4w.table__tag_18q4w.table__tagActive_18q4w {
41
+ .table__tag_a1zxa.table__tag_a1zxa.table__tagActive_a1zxa {
42
42
  cursor: default;
43
43
  }
44
- .table__menu_18q4w {
44
+ .table__menu_a1zxa {
45
45
  margin: var(--gap-2xs) 0;
46
46
  }
47
- .table__option_18q4w {
47
+ .table__option_a1zxa {
48
48
  min-width: 208px;
49
49
  }
@@ -1,4 +1,4 @@
1
- /* hash: 1iwq2 */
1
+ /* hash: 1are0 */
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_g7nc1 svg {
13
+ .table__field_p0x4g svg {
14
14
  width: 18px;
15
15
  height: 18px;
16
16
  }
17
- .table__open_g7nc1,
18
- .table__open_g7nc1:hover {
17
+ .table__open_p0x4g,
18
+ .table__open_p0x4g:hover {
19
19
  background-color: var(--color-light-specialbg-component-shade-7);
20
20
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
 
5
- var styles = {"field":"table__field_g7nc1","open":"table__open_g7nc1"};
5
+ var styles = {"field":"table__field_p0x4g","open":"table__open_p0x4g"};
6
6
  require('./index.css')
7
7
 
8
8
  const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
@@ -5,7 +5,7 @@ import '../../utils.js';
5
5
  import '../thead/Component.js';
6
6
  import { findAllHeadCellsProps } from './utils.js';
7
7
 
8
- var styles = {"component":"table__component_ajc5i","wrapper":"table__wrapper_ajc5i","stickyHeader":"table__stickyHeader_ajc5i","hasPagination":"table__hasPagination_ajc5i","table":"table__table_ajc5i"};
8
+ var styles = {"component":"table__component_7oeq6","wrapper":"table__wrapper_7oeq6","stickyHeader":"table__stickyHeader_7oeq6","hasPagination":"table__hasPagination_7oeq6","table":"table__table_7oeq6"};
9
9
  require('./index.css')
10
10
 
11
11
  const Table = forwardRef(({ className, children, compactView = false, compactHorizontal = false, wrapper = true, pagination, dataTestId, stickyHeader = false, ...restProps }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 10xwl */
1
+ /* hash: 18v85 */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  }
@@ -18,29 +18,29 @@
18
18
  :root {
19
19
  --border-radius-m: 8px;
20
20
  }
21
- .table__component_ajc5i {
21
+ .table__component_7oeq6 {
22
22
  box-sizing: border-box;
23
23
  }
24
- .table__wrapper_ajc5i {
24
+ .table__wrapper_7oeq6 {
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
  overflow: auto;
30
30
  }
31
- .table__stickyHeader_ajc5i {
31
+ .table__stickyHeader_7oeq6 {
32
32
  max-height: 100%;
33
33
  }
34
- .table__hasPagination_ajc5i {
34
+ .table__hasPagination_7oeq6 {
35
35
  padding-bottom: 0;
36
36
  }
37
- .table__table_ajc5i {
37
+ .table__table_7oeq6 {
38
38
  width: 100%;
39
39
  border-collapse: collapse;
40
40
  box-sizing: border-box
41
41
 
42
42
  /* TODO: Хак для выравнивания чекбокса */
43
43
  }
44
- .table__table_ajc5i td:first-child label > *[class^='box'], .table__table_ajc5i th:first-child label > *[class^='box'] {
44
+ .table__table_7oeq6 td:first-child label > *[class^='box'], .table__table_7oeq6 th:first-child label > *[class^='box'] {
45
45
  margin-top: 0;
46
46
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_156cu"};
4
+ var styles = {"component":"table__component_ndce4"};
5
5
  require('./index.css')
6
6
 
7
7
  const TBody = ({ className, children, dataTestId, ...restProps }) => (React.createElement("tbody", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps }, children));
@@ -1,4 +1,4 @@
1
- /* hash: vpgoj */
1
+ /* hash: 1aajg */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,7 +7,7 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__component_156cu {
10
+ .table__component_ndce4 {
11
11
  width: 100%;
12
12
  box-sizing: border-box;
13
13
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- var styles = {"component":"table__component_8m8a4","compactHorizontal":"table__compactHorizontal_8m8a4","compact":"table__compact_8m8a4"};
5
+ var styles = {"component":"table__component_kgwd9","compactHorizontal":"table__compactHorizontal_kgwd9","compact":"table__compact_kgwd9"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1s7ve */
1
+ /* hash: 7doih */
2
2
  :root {
3
3
  --color-light-border-primary: #dbdee1;
4
4
  --color-light-text-primary: #0b1f35;
@@ -17,7 +17,7 @@
17
17
  --gap-m: 16px;
18
18
  --gap-xl: 24px;
19
19
  }
20
- .table__component_8m8a4 {
20
+ .table__component_kgwd9 {
21
21
  font-size: 14px;
22
22
  line-height: 20px;
23
23
  font-weight: 400;
@@ -29,17 +29,17 @@
29
29
  vertical-align: top;
30
30
  box-sizing: border-box
31
31
  }
32
- .table__component_8m8a4:first-child {
32
+ .table__component_kgwd9:first-child {
33
33
  padding-left: var(--gap-m);
34
34
  }
35
- .table__component_8m8a4:last-child {
35
+ .table__component_kgwd9:last-child {
36
36
  padding-right: var(--gap-m);
37
37
  }
38
- .table__compactHorizontal_8m8a4 {
38
+ .table__compactHorizontal_kgwd9 {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
41
  }
42
- .table__compact_8m8a4 {
42
+ .table__compact_kgwd9 {
43
43
  padding-top: var(--gap-xs);
44
44
  padding-bottom: var(--gap-xs);
45
45
 
@@ -2,7 +2,7 @@ import React, { useState } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TRow } from '../trow/Component.js';
4
4
 
5
- var styles = {"row":"table__row_1t08b","selected":"table__selected_1t08b","expanded":"table__expanded_1t08b","expandable":"table__expandable_1t08b"};
5
+ var styles = {"row":"table__row_5tscs","selected":"table__selected_5tscs","expanded":"table__expanded_5tscs","expandable":"table__expandable_5tscs"};
6
6
  require('./index.css')
7
7
 
8
8
  const TExpandableRow = ({ className, selected, expanded, defaultExpanded = false, onToggle = () => null, renderContent = () => null, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1hhs2 */
1
+ /* hash: 1pf3m */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -7,16 +7,16 @@
7
7
 
8
8
  /* Hard up */
9
9
  }
10
- .table__row_1t08b {
10
+ .table__row_5tscs {
11
11
  cursor: pointer;
12
12
  }
13
- .table__selected_1t08b.table__expanded_1t08b {
13
+ .table__selected_5tscs.table__expanded_5tscs {
14
14
  background-color: inherit;
15
15
  }
16
- .table__expanded_1t08b:hover {
16
+ .table__expanded_5tscs:hover {
17
17
  background-color: inherit;
18
18
  }
19
- .table__expandable_1t08b td {
19
+ .table__expandable_5tscs td {
20
20
  margin: 0;
21
21
  padding-top: 0;
22
22
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_zm0xk","row":"table__row_zm0xk"};
4
+ var styles = {"component":"table__component_12gyc","row":"table__row_12gyc"};
5
5
  require('./index.css')
6
6
 
7
7
  const THead = ({ className, rowClassName, children, dataTestId, ...restProps }) => (React.createElement("thead", { className: cn(styles.component, className), "data-test-id": dataTestId, ...restProps },
@@ -1,4 +1,4 @@
1
- /* hash: 1i1c1 */
1
+ /* hash: 3mvv2 */
2
2
  :root {
3
3
  --color-light-graphic-quaternary: #dbdee1;
4
4
  }
@@ -13,12 +13,12 @@
13
13
  :root {
14
14
  --gap-xs: 8px;
15
15
  }
16
- .table__component_zm0xk {
16
+ .table__component_12gyc {
17
17
  position: relative;
18
18
  width: 100%;
19
19
  box-sizing: border-box
20
20
  }
21
- .table__component_zm0xk th:not(:last-child):not(:empty):after {
21
+ .table__component_12gyc th:not(:last-child):not(:empty):after {
22
22
  transition: opacity 0.2s;
23
23
  position: absolute;
24
24
  content: '';
@@ -30,12 +30,12 @@
30
30
  bottom: var(--gap-xs);
31
31
  background-color: var(--color-light-graphic-quaternary);
32
32
  }
33
- .table__component_zm0xk th:after {
33
+ .table__component_12gyc th:after {
34
34
  opacity: 0;
35
35
  }
36
- .table__component_zm0xk:hover th:after {
36
+ .table__component_12gyc:hover th:after {
37
37
  opacity: 1;
38
38
  }
39
- .table__row_zm0xk {
39
+ .table__row_12gyc {
40
40
  height: 72px;
41
41
  }
@@ -2,7 +2,7 @@ import React, { useContext } from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TableContext } from '../table-context/index.js';
4
4
 
5
- var styles = {"component":"table__component_1hxkm","sortable":"table__sortable_1hxkm","sorted":"table__sorted_1hxkm","stickyHeader":"table__stickyHeader_1hxkm","compactHorizontal":"table__compactHorizontal_1hxkm"};
5
+ var styles = {"component":"table__component_194au","sortable":"table__sortable_194au","sorted":"table__sorted_194au","stickyHeader":"table__stickyHeader_194au","compactHorizontal":"table__compactHorizontal_194au"};
6
6
  require('./index.css')
7
7
 
8
8
  const THeadCell = ({ children, className, dataTestId, style, width, textAlign, hidden, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1cd36 */
1
+ /* hash: 1qbzu */
2
2
  :root {
3
3
  --color-light-bg-primary: #fff;
4
4
  --color-light-border-primary: #dbdee1;
@@ -18,7 +18,7 @@
18
18
  --gap-m: 16px;
19
19
  --gap-2xl: 32px;
20
20
  }
21
- .table__component_1hxkm {
21
+ .table__component_194au {
22
22
  font-size: 12px;
23
23
  line-height: 16px;
24
24
  font-weight: 500;
@@ -35,26 +35,26 @@
35
35
  vertical-align: top;
36
36
  box-sizing: border-box
37
37
  }
38
- .table__component_1hxkm:first-child {
38
+ .table__component_194au:first-child {
39
39
  padding-left: var(--gap-m);
40
40
  }
41
- .table__component_1hxkm:last-child {
41
+ .table__component_194au:last-child {
42
42
  padding-right: var(--gap-m);
43
43
  }
44
- .table__sortable_1hxkm {
44
+ .table__sortable_194au {
45
45
  cursor: pointer;
46
46
  }
47
- .table__sorted_1hxkm {
47
+ .table__sorted_194au {
48
48
  color: var(--color-light-text-primary);
49
49
  }
50
- .table__stickyHeader_1hxkm {
50
+ .table__stickyHeader_194au {
51
51
  top: 0;
52
52
  position: sticky;
53
53
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
54
54
  border: none;
55
55
  z-index: 1;
56
56
  }
57
- .table__compactHorizontal_1hxkm {
57
+ .table__compactHorizontal_194au {
58
58
  padding-left: 6px;
59
59
  padding-right: 6px;
60
60
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"table__component_u8gwu","withoutBorder":"table__withoutBorder_u8gwu","clickable":"table__clickable_u8gwu","selected":"table__selected_u8gwu"};
4
+ var styles = {"component":"table__component_1634z","withoutBorder":"table__withoutBorder_1634z","clickable":"table__clickable_1634z","selected":"table__selected_1634z"};
5
5
  require('./index.css')
6
6
 
7
7
  const TRow = ({ children, className, selected, withoutBorder, dataTestId, ...restProps }) => (React.createElement("tr", { className: cn(styles.component, className, {
@@ -1,4 +1,4 @@
1
- /* hash: 9jdex */
1
+ /* hash: 1gaa0 */
2
2
  :root {
3
3
  --color-static-graphic-solitude: #e8f2fe;
4
4
  }
@@ -14,28 +14,28 @@
14
14
 
15
15
  /* Hard up */
16
16
  }
17
- .table__component_u8gwu {
17
+ .table__component_1634z {
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_u8gwu:first-child td {
24
+ .table__component_1634z:first-child td {
25
25
  border-top: 0;
26
26
  }
27
- .table__withoutBorder_u8gwu td {
27
+ .table__withoutBorder_1634z td {
28
28
  border: none;
29
29
  }
30
- .table__clickable_u8gwu {
30
+ .table__clickable_1634z {
31
31
  cursor: pointer
32
32
  }
33
- .table__clickable_u8gwu:hover {
33
+ .table__clickable_1634z:hover {
34
34
  background-color: var(--color-light-bg-secondary);
35
35
  }
36
- .table__selected_u8gwu {
36
+ .table__selected_1634z {
37
37
  background-color: #f2f8ff /* нет цвета в палитре */
38
38
  }
39
- .table__selected_u8gwu:hover {
39
+ .table__selected_1634z:hover {
40
40
  background-color: var(--color-static-graphic-solitude);
41
41
  }
@@ -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_w0o25","content":"table__content_w0o25","icon":"table__icon_w0o25","reverse":"table__reverse_w0o25","sorted":"table__sorted_w0o25"};
9
+ var styles = {"component":"table__component_t5qms","content":"table__content_t5qms","icon":"table__icon_t5qms","reverse":"table__reverse_t5qms","sorted":"table__sorted_t5qms"};
10
10
  require('./index.css')
11
11
 
12
12
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 6p69s */
1
+ /* hash: 1l3mg */
2
2
  :root {
3
3
  --color-light-graphic-link: #007aff;
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -15,14 +15,14 @@
15
15
  :root {
16
16
  --gap-xs: 8px;
17
17
  }
18
- .table__component_w0o25 {
18
+ .table__component_t5qms {
19
19
  position: relative;
20
20
  }
21
- .table__content_w0o25 {
21
+ .table__content_t5qms {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
24
  }
25
- .table__icon_w0o25 {
25
+ .table__icon_t5qms {
26
26
  cursor: pointer;
27
27
  margin-left: var(--gap-xs);
28
28
 
@@ -35,19 +35,19 @@
35
35
  transition: color 0.2s ease;
36
36
  flex-shrink: 0
37
37
  }
38
- .table__icon_w0o25:hover {
38
+ .table__icon_t5qms:hover {
39
39
  color: var(--color-light-graphic-primary);
40
40
  }
41
- .table__reverse_w0o25 {
41
+ .table__reverse_t5qms {
42
42
  flex-direction: row-reverse
43
43
  }
44
- .table__reverse_w0o25 .table__icon_w0o25 {
44
+ .table__reverse_t5qms .table__icon_t5qms {
45
45
  margin-left: 0;
46
46
  margin-right: var(--gap-xs);
47
47
  }
48
- .table__sorted_w0o25 {
48
+ .table__sorted_t5qms {
49
49
  color: var(--color-light-graphic-link)
50
50
  }
51
- .table__sorted_w0o25:hover {
51
+ .table__sorted_t5qms:hover {
52
52
  color: var(--color-light-graphic-link);
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.2.3",
3
+ "version": "2.2.5",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@alfalab/core-components-button": "^7.0.1",
19
19
  "@alfalab/core-components-pagination": "^2.0.7",
20
- "@alfalab/core-components-select": "^13.1.1",
20
+ "@alfalab/core-components-select": "^13.2.0",
21
21
  "classnames": "^2.3.1"
22
22
  }
23
23
  }