@alfalab/core-components-table 2.2.16 → 2.2.18

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 (125) hide show
  1. package/component.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/pagination/Component.js +4 -4
  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 +4 -4
  8. package/components/table/Component.js +4 -4
  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 +4 -4
  13. package/components/tbody/index.css +2 -2
  14. package/components/tbody/index.js +1 -1
  15. package/components/tcell/Component.js +4 -4
  16. package/components/tcell/index.css +6 -6
  17. package/components/tcell/index.js +1 -1
  18. package/components/texpandable-row/Component.js +4 -4
  19. package/components/texpandable-row/index.css +5 -5
  20. package/components/texpandable-row/index.js +1 -1
  21. package/components/thead/Component.js +4 -4
  22. package/components/thead/index.css +6 -6
  23. package/components/thead/index.js +1 -1
  24. package/components/thead-cell/Component.js +5 -5
  25. package/components/thead-cell/index.css +8 -8
  26. package/components/thead-cell/index.js +1 -1
  27. package/components/trow/Component.js +4 -4
  28. package/components/trow/index.css +8 -8
  29. package/components/trow/index.js +1 -1
  30. package/components/tsortable-head-cell/Component.js +4 -4
  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 +2 -2
  34. package/components/tsortable-head-cell/sort-icon-desc.js +2 -2
  35. package/components/tsortable-head-cell/sort-icon-unset.js +2 -2
  36. package/cssm/component.js +1 -1
  37. package/cssm/components/index.js +1 -1
  38. package/cssm/components/pagination/Component.js +3 -3
  39. package/cssm/components/pagination/index.js +1 -1
  40. package/cssm/components/pagination/select-field/index.js +3 -3
  41. package/cssm/components/table/Component.js +3 -3
  42. package/cssm/components/table/index.js +1 -1
  43. package/cssm/components/table/utils.js +1 -1
  44. package/cssm/components/tbody/Component.js +3 -3
  45. package/cssm/components/tbody/index.js +1 -1
  46. package/cssm/components/tcell/Component.js +3 -3
  47. package/cssm/components/tcell/index.js +1 -1
  48. package/cssm/components/texpandable-row/Component.js +3 -3
  49. package/cssm/components/texpandable-row/index.js +1 -1
  50. package/cssm/components/thead/Component.js +3 -3
  51. package/cssm/components/thead/index.js +1 -1
  52. package/cssm/components/thead-cell/Component.js +4 -4
  53. package/cssm/components/thead-cell/index.js +1 -1
  54. package/cssm/components/trow/Component.js +3 -3
  55. package/cssm/components/trow/index.js +1 -1
  56. package/cssm/components/tsortable-head-cell/Component.js +3 -3
  57. package/cssm/components/tsortable-head-cell/index.js +1 -1
  58. package/cssm/components/tsortable-head-cell/sort-icon-asc.js +2 -2
  59. package/cssm/components/tsortable-head-cell/sort-icon-desc.js +2 -2
  60. package/cssm/components/tsortable-head-cell/sort-icon-unset.js +2 -2
  61. package/cssm/index.js +1 -1
  62. package/esm/component.js +1 -1
  63. package/esm/components/index.js +1 -1
  64. package/esm/components/pagination/Component.js +2 -2
  65. package/esm/components/pagination/index.css +8 -8
  66. package/esm/components/pagination/index.js +1 -1
  67. package/esm/components/pagination/select-field/index.css +4 -4
  68. package/esm/components/pagination/select-field/index.js +2 -2
  69. package/esm/components/table/Component.js +2 -2
  70. package/esm/components/table/index.css +7 -7
  71. package/esm/components/table/index.js +1 -1
  72. package/esm/components/table/utils.js +1 -1
  73. package/esm/components/tbody/Component.js +2 -2
  74. package/esm/components/tbody/index.css +2 -2
  75. package/esm/components/tbody/index.js +1 -1
  76. package/esm/components/tcell/Component.js +2 -2
  77. package/esm/components/tcell/index.css +6 -6
  78. package/esm/components/tcell/index.js +1 -1
  79. package/esm/components/texpandable-row/Component.js +2 -2
  80. package/esm/components/texpandable-row/index.css +5 -5
  81. package/esm/components/texpandable-row/index.js +1 -1
  82. package/esm/components/thead/Component.js +2 -2
  83. package/esm/components/thead/index.css +6 -6
  84. package/esm/components/thead/index.js +1 -1
  85. package/esm/components/thead-cell/Component.js +2 -2
  86. package/esm/components/thead-cell/index.css +8 -8
  87. package/esm/components/thead-cell/index.js +1 -1
  88. package/esm/components/trow/Component.js +2 -2
  89. package/esm/components/trow/index.css +8 -8
  90. package/esm/components/trow/index.js +1 -1
  91. package/esm/components/tsortable-head-cell/Component.js +2 -2
  92. package/esm/components/tsortable-head-cell/index.css +9 -9
  93. package/esm/components/tsortable-head-cell/index.js +1 -1
  94. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  95. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  96. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  97. package/esm/index.js +1 -1
  98. package/index.js +1 -1
  99. package/modern/components/pagination/Component.js +1 -1
  100. package/modern/components/pagination/index.css +8 -8
  101. package/modern/components/pagination/select-field/index.css +4 -4
  102. package/modern/components/pagination/select-field/index.js +1 -1
  103. package/modern/components/table/Component.js +1 -1
  104. package/modern/components/table/index.css +7 -7
  105. package/modern/components/tbody/Component.js +1 -1
  106. package/modern/components/tbody/index.css +2 -2
  107. package/modern/components/tcell/Component.js +1 -1
  108. package/modern/components/tcell/index.css +6 -6
  109. package/modern/components/texpandable-row/Component.js +1 -1
  110. package/modern/components/texpandable-row/index.css +5 -5
  111. package/modern/components/thead/Component.js +1 -1
  112. package/modern/components/thead/index.css +6 -6
  113. package/modern/components/thead-cell/Component.js +1 -1
  114. package/modern/components/thead-cell/index.css +8 -8
  115. package/modern/components/trow/Component.js +1 -1
  116. package/modern/components/trow/index.css +8 -8
  117. package/modern/components/tsortable-head-cell/Component.js +1 -1
  118. package/modern/components/tsortable-head-cell/index.css +9 -9
  119. package/package.json +6 -5
  120. package/cssm/tslib.es6-bbd6cd2a.d.ts +0 -36
  121. package/cssm/tslib.es6-bbd6cd2a.js +0 -42
  122. package/esm/tslib.es6-c0e0b00e.d.ts +0 -36
  123. package/esm/tslib.es6-c0e0b00e.js +0 -40
  124. package/tslib.es6-79d63e20.d.ts +0 -36
  125. package/tslib.es6-79d63e20.js +0 -42
@@ -1,4 +1,4 @@
1
- /* hash: 1v2ah */
1
+ /* hash: 15dor */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1nzfu {
23
+ } .table__component_k1okl {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,19 +28,19 @@
28
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
29
29
  border-top: 1px solid var(--color-light-border-primary);
30
30
  box-sizing: border-box;
31
- } .table__pagesWrapper_1nzfu {
31
+ } .table__pagesWrapper_k1okl {
32
32
  display: flex;
33
- } .table__tag_1nzfu.table__tag_1nzfu {
33
+ } .table__tag_k1okl.table__tag_k1okl {
34
34
  flex-shrink: 0;
35
35
  margin-right: var(--gap-xs);
36
36
  padding: 0 var(--gap-xs);
37
37
  min-width: 32px
38
- } .table__tag_1nzfu.table__tag_1nzfu:last-child {
38
+ } .table__tag_k1okl.table__tag_k1okl:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_1nzfu.table__tag_1nzfu.table__tagActive_1nzfu {
40
+ } .table__tag_k1okl.table__tag_k1okl.table__tagActive_k1okl {
41
41
  cursor: default;
42
- } .table__menu_1nzfu {
42
+ } .table__menu_k1okl {
43
43
  margin: var(--gap-2xs) 0;
44
- } .table__option_1nzfu {
44
+ } .table__option_k1okl {
45
45
  min-width: 208px;
46
46
  }
@@ -1,4 +1,4 @@
1
- /* hash: afsig */
1
+ /* hash: 1jsau */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
@@ -15,10 +15,10 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .table__field_3x903 svg {
18
+ } .table__field_gfrqv svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_3x903,
22
- .table__open_3x903:hover {
21
+ } .table__open_gfrqv,
22
+ .table__open_gfrqv:hover {
23
23
  background-color: var(--color-light-specialbg-component-shade-7);
24
24
  }
@@ -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
- const styles = {"field":"table__field_3x903","open":"table__open_3x903"};
5
+ const styles = {"field":"table__field_gfrqv","open":"table__open_gfrqv"};
6
6
  require('./index.css')
7
7
 
8
8
  const CustomSelectField = ({ selected, innerProps, Arrow, open }) => {
@@ -5,7 +5,7 @@ import { findAllHeadCellsProps } from './utils.js';
5
5
  import '../../utils.js';
6
6
  import '../thead/Component.js';
7
7
 
8
- const styles = {"component":"table__component_12f1n","wrapper":"table__wrapper_12f1n","stickyHeader":"table__stickyHeader_12f1n","hasPagination":"table__hasPagination_12f1n","table":"table__table_12f1n"};
8
+ const styles = {"component":"table__component_1twb0","wrapper":"table__wrapper_1twb0","stickyHeader":"table__stickyHeader_1twb0","hasPagination":"table__hasPagination_1twb0","table":"table__table_1twb0"};
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: 18vgu */
1
+ /* hash: 1slq7 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -19,24 +19,24 @@
19
19
  --gap-m: 16px;
20
20
  } :root {
21
21
  } :root {
22
- } .table__component_12f1n {
22
+ } .table__component_1twb0 {
23
23
  box-sizing: border-box;
24
- } .table__wrapper_12f1n {
24
+ } .table__wrapper_1twb0 {
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
- } .table__stickyHeader_12f1n {
30
+ } .table__stickyHeader_1twb0 {
31
31
  max-height: 100%;
32
- } .table__hasPagination_12f1n {
32
+ } .table__hasPagination_1twb0 {
33
33
  padding-bottom: 0;
34
- } .table__table_12f1n {
34
+ } .table__table_1twb0 {
35
35
  width: 100%;
36
36
  border-collapse: collapse;
37
37
  box-sizing: border-box
38
38
 
39
39
  /* TODO: Хак для выравнивания чекбокса */
40
- } .table__table_12f1n td:first-child label > *[class^='box'], .table__table_12f1n th:first-child label > *[class^='box'] {
40
+ } .table__table_1twb0 td:first-child label > *[class^='box'], .table__table_1twb0 th:first-child label > *[class^='box'] {
41
41
  margin-top: 0;
42
42
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_svyid"};
4
+ const styles = {"component":"table__component_15eh9"};
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: 18zqs */
1
+ /* hash: 19xfb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,7 +14,7 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__component_svyid {
17
+ } .table__component_15eh9 {
18
18
  width: 100%;
19
19
  box-sizing: border-box;
20
20
  }
@@ -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
- const styles = {"component":"table__component_1i0vc","compactHorizontal":"table__compactHorizontal_1i0vc","compact":"table__compact_1i0vc"};
5
+ const styles = {"component":"table__component_1oudw","compactHorizontal":"table__compactHorizontal_1oudw","compact":"table__compact_1oudw"};
6
6
  require('./index.css')
7
7
 
8
8
  const TCell = ({ className, style, dataTestId, children, index, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: i41ql */
1
+ /* hash: n4pl6 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dbdee1;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_1i0vc {
23
+ } .table__component_1oudw {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_1i0vc:first-child {
34
+ } .table__component_1oudw:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_1i0vc:last-child {
36
+ } .table__component_1oudw:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_1i0vc {
38
+ } .table__compactHorizontal_1oudw {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_1i0vc {
41
+ } .table__compact_1oudw {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -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
- const styles = {"row":"table__row_jll96","selected":"table__selected_jll96","expanded":"table__expanded_jll96","expandable":"table__expandable_jll96"};
5
+ const styles = {"row":"table__row_1dc34","selected":"table__selected_1dc34","expanded":"table__expanded_1dc34","expandable":"table__expandable_1dc34"};
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: z9rhb */
1
+ /* hash: 14afb */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  } :root {
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_jll96 {
17
+ } .table__row_1dc34 {
18
18
  cursor: pointer;
19
- } .table__selected_jll96.table__expanded_jll96 {
19
+ } .table__selected_1dc34.table__expanded_1dc34 {
20
20
  background-color: inherit;
21
- } .table__expanded_jll96:hover {
21
+ } .table__expanded_1dc34:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_jll96 td {
23
+ } .table__expandable_1dc34 td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1rhqf","row":"table__row_1rhqf"};
4
+ const styles = {"component":"table__component_1iezd","row":"table__row_1iezd"};
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: li8d2 */
1
+ /* hash: 1ryzz */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dbdee1;
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_1rhqf {
19
+ } .table__component_1iezd {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1rhqf th:not(:last-child):not(:empty):after {
23
+ } .table__component_1iezd th:not(:last-child):not(:empty):after {
24
24
  transition: opacity 0.2s;
25
25
  position: absolute;
26
26
  content: '';
@@ -31,10 +31,10 @@
31
31
  top: var(--gap-xs);
32
32
  bottom: var(--gap-xs);
33
33
  background-color: var(--color-light-graphic-quaternary);
34
- } .table__component_1rhqf th:after {
34
+ } .table__component_1iezd th:after {
35
35
  opacity: 0;
36
- } .table__component_1rhqf:hover th:after {
36
+ } .table__component_1iezd:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1rhqf {
38
+ } .table__row_1iezd {
39
39
  height: 72px;
40
40
  }
@@ -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
- const styles = {"component":"table__component_1cp1e","sortable":"table__sortable_1cp1e","sorted":"table__sorted_1cp1e","stickyHeader":"table__stickyHeader_1cp1e","compactHorizontal":"table__compactHorizontal_1cp1e"};
5
+ const styles = {"component":"table__component_joles","sortable":"table__sortable_joles","sorted":"table__sorted_joles","stickyHeader":"table__stickyHeader_joles","compactHorizontal":"table__compactHorizontal_joles"};
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: rhcv2 */
1
+ /* hash: 1h5yl */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -21,7 +21,7 @@
21
21
  --gap-2xl: 32px;
22
22
  } :root {
23
23
  } :root {
24
- } .table__component_1cp1e {
24
+ } .table__component_joles {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -37,21 +37,21 @@
37
37
  background: var(--color-light-bg-primary);
38
38
  vertical-align: top;
39
39
  box-sizing: border-box
40
- } .table__component_1cp1e:first-child {
40
+ } .table__component_joles:first-child {
41
41
  padding-left: var(--gap-m);
42
- } .table__component_1cp1e:last-child {
42
+ } .table__component_joles:last-child {
43
43
  padding-right: var(--gap-m);
44
- } .table__sortable_1cp1e {
44
+ } .table__sortable_joles {
45
45
  cursor: pointer;
46
- } .table__sorted_1cp1e {
46
+ } .table__sorted_joles {
47
47
  color: var(--color-light-text-primary);
48
- } .table__stickyHeader_1cp1e {
48
+ } .table__stickyHeader_joles {
49
49
  top: 0;
50
50
  position: sticky;
51
51
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
52
52
  border: none;
53
53
  z-index: 1;
54
- } .table__compactHorizontal_1cp1e {
54
+ } .table__compactHorizontal_joles {
55
55
  padding-left: 6px;
56
56
  padding-right: 6px;
57
57
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1m46e","withoutBorder":"table__withoutBorder_1m46e","clickable":"table__clickable_1m46e","selected":"table__selected_1m46e"};
4
+ const styles = {"component":"table__component_ekbpk","withoutBorder":"table__withoutBorder_ekbpk","clickable":"table__clickable_ekbpk","selected":"table__selected_ekbpk"};
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: uzhw5 */
1
+ /* hash: 1005q */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff;
@@ -17,22 +17,22 @@
17
17
  } :root {
18
18
  } :root {
19
19
  } :root {
20
- } .table__component_1m46e {
20
+ } .table__component_ekbpk {
21
21
  padding-top: 1px;
22
22
  width: 100%;
23
23
  transition: background-color 0.2s;
24
24
  box-sizing: border-box;
25
25
  background: var(--color-light-bg-primary)
26
- } .table__component_1m46e:first-child td {
26
+ } .table__component_ekbpk:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_1m46e td {
28
+ } .table__withoutBorder_ekbpk td {
29
29
  border: none;
30
- } .table__clickable_1m46e {
30
+ } .table__clickable_ekbpk {
31
31
  cursor: pointer
32
- } .table__clickable_1m46e:hover {
32
+ } .table__clickable_ekbpk:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_1m46e {
34
+ } .table__selected_ekbpk {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_1m46e:hover {
36
+ } .table__selected_ekbpk:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -6,7 +6,7 @@ import { SortIconDesc } from './sort-icon-desc.js';
6
6
  import { SortIconUnset } from './sort-icon-unset.js';
7
7
  import '../table-context/index.js';
8
8
 
9
- const styles = {"component":"table__component_6e72l","content":"table__content_6e72l","icon":"table__icon_6e72l","reverse":"table__reverse_6e72l","sorted":"table__sorted_6e72l"};
9
+ const styles = {"component":"table__component_vsjnc","content":"table__content_vsjnc","icon":"table__icon_vsjnc","reverse":"table__reverse_vsjnc","sorted":"table__sorted_vsjnc"};
10
10
  require('./index.css')
11
11
 
12
12
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 5rek6 */
1
+ /* hash: phnx9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #007aff;
@@ -18,12 +18,12 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_6e72l {
21
+ } .table__component_vsjnc {
22
22
  position: relative;
23
- } .table__content_6e72l {
23
+ } .table__content_vsjnc {
24
24
  display: flex;
25
25
  align-items: flex-start;
26
- } .table__icon_6e72l {
26
+ } .table__icon_vsjnc {
27
27
  cursor: pointer;
28
28
  margin-left: var(--gap-xs);
29
29
 
@@ -35,15 +35,15 @@
35
35
  color: var(--color-light-graphic-secondary);
36
36
  transition: color 0.2s ease;
37
37
  flex-shrink: 0
38
- } .table__icon_6e72l:hover {
38
+ } .table__icon_vsjnc:hover {
39
39
  color: var(--color-light-graphic-primary);
40
- } .table__reverse_6e72l {
40
+ } .table__reverse_vsjnc {
41
41
  flex-direction: row-reverse
42
- } .table__reverse_6e72l .table__icon_6e72l {
42
+ } .table__reverse_vsjnc .table__icon_vsjnc {
43
43
  margin-left: 0;
44
44
  margin-right: var(--gap-xs);
45
- } .table__sorted_6e72l {
45
+ } .table__sorted_vsjnc {
46
46
  color: var(--color-light-graphic-link)
47
- } .table__sorted_6e72l:hover {
47
+ } .table__sorted_vsjnc:hover {
48
48
  color: var(--color-light-graphic-link);
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.2.16",
3
+ "version": "2.2.18",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,10 @@
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.4",
19
- "@alfalab/core-components-pagination": "^2.0.10",
20
- "@alfalab/core-components-select": "^13.2.10",
21
- "classnames": "^2.3.1"
18
+ "@alfalab/core-components-button": "^7.1.0",
19
+ "@alfalab/core-components-pagination": "^2.0.12",
20
+ "@alfalab/core-components-select": "^13.2.12",
21
+ "classnames": "^2.3.1",
22
+ "tslib": "^2.4.0"
22
23
  }
23
24
  }
@@ -1,36 +0,0 @@
1
- declare function __extends(d: any, b: any): void;
2
- declare function __rest(s: any, e: any): {};
3
- declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
4
- declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
5
- declare function __metadata(metadataKey: any, metadataValue: any): any;
6
- declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
7
- declare function __generator(thisArg: any, body: any): {
8
- next: (v: any) => any;
9
- throw: (v: any) => any;
10
- return: (v: any) => any;
11
- };
12
- declare function __exportStar(m: any, o: any): void;
13
- declare function __values(o: any): any;
14
- declare function __read(o: any, n: any): any;
15
- /** @deprecated */
16
- declare function __spread(...args: any[]): any[];
17
- /** @deprecated */
18
- declare function __spreadArrays(...args: any[]): any[];
19
- declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
20
- declare function __await(v: any): __await;
21
- declare class __await {
22
- constructor(v: any);
23
- v: any;
24
- }
25
- declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
26
- declare function __asyncDelegator(o: any): {};
27
- declare function __asyncValues(o: any): any;
28
- declare function __makeTemplateObject(cooked: any, raw: any): any;
29
- declare function __importStar(mod: any): any;
30
- declare function __importDefault(mod: any): any;
31
- declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
32
- declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
33
- declare function __classPrivateFieldIn(state: any, receiver: any): any;
34
- declare function __assign(...args: any[]): any;
35
- declare function __createBinding(o: any, m: any, k: any, k2: any): void;
36
- export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
@@ -1,42 +0,0 @@
1
- 'use strict';
2
-
3
- /******************************************************************************
4
- Copyright (c) Microsoft Corporation.
5
-
6
- Permission to use, copy, modify, and/or distribute this software for any
7
- purpose with or without fee is hereby granted.
8
-
9
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
10
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
12
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
14
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
- PERFORMANCE OF THIS SOFTWARE.
16
- ***************************************************************************** */
17
- exports.__assign = function () {
18
- exports.__assign = Object.assign || function __assign(t) {
19
- for (var s, i = 1, n = arguments.length; i < n; i++) {
20
- s = arguments[i];
21
- for (var p in s)
22
- if (Object.prototype.hasOwnProperty.call(s, p))
23
- t[p] = s[p];
24
- }
25
- return t;
26
- };
27
- return exports.__assign.apply(this, arguments);
28
- };
29
- function __rest(s, e) {
30
- var t = {};
31
- for (var p in s)
32
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
33
- t[p] = s[p];
34
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
35
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
36
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
37
- t[p[i]] = s[p[i]];
38
- }
39
- return t;
40
- }
41
-
42
- exports.__rest = __rest;
@@ -1,36 +0,0 @@
1
- declare function __extends(d: any, b: any): void;
2
- declare function __rest(s: any, e: any): {};
3
- declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
4
- declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
5
- declare function __metadata(metadataKey: any, metadataValue: any): any;
6
- declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
7
- declare function __generator(thisArg: any, body: any): {
8
- next: (v: any) => any;
9
- throw: (v: any) => any;
10
- return: (v: any) => any;
11
- };
12
- declare function __exportStar(m: any, o: any): void;
13
- declare function __values(o: any): any;
14
- declare function __read(o: any, n: any): any;
15
- /** @deprecated */
16
- declare function __spread(...args: any[]): any[];
17
- /** @deprecated */
18
- declare function __spreadArrays(...args: any[]): any[];
19
- declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
20
- declare function __await(v: any): __await;
21
- declare class __await {
22
- constructor(v: any);
23
- v: any;
24
- }
25
- declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
26
- declare function __asyncDelegator(o: any): {};
27
- declare function __asyncValues(o: any): any;
28
- declare function __makeTemplateObject(cooked: any, raw: any): any;
29
- declare function __importStar(mod: any): any;
30
- declare function __importDefault(mod: any): any;
31
- declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
32
- declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
33
- declare function __classPrivateFieldIn(state: any, receiver: any): any;
34
- declare function __assign(...args: any[]): any;
35
- declare function __createBinding(o: any, m: any, k: any, k2: any): void;
36
- export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };
@@ -1,40 +0,0 @@
1
- /******************************************************************************
2
- Copyright (c) Microsoft Corporation.
3
-
4
- Permission to use, copy, modify, and/or distribute this software for any
5
- purpose with or without fee is hereby granted.
6
-
7
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
8
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
9
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
10
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
11
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
- PERFORMANCE OF THIS SOFTWARE.
14
- ***************************************************************************** */
15
- var __assign = function () {
16
- __assign = Object.assign || function __assign(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s)
20
- if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- function __rest(s, e) {
28
- var t = {};
29
- for (var p in s)
30
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
31
- t[p] = s[p];
32
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
33
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
34
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
35
- t[p[i]] = s[p[i]];
36
- }
37
- return t;
38
- }
39
-
40
- export { __rest as _, __assign as a };
@@ -1,36 +0,0 @@
1
- declare function __extends(d: any, b: any): void;
2
- declare function __rest(s: any, e: any): {};
3
- declare function __decorate(decorators: any, target: any, key: any, desc: any, ...args: any[]): any;
4
- declare function __param(paramIndex: any, decorator: any): (target: any, key: any) => void;
5
- declare function __metadata(metadataKey: any, metadataValue: any): any;
6
- declare function __awaiter(thisArg: any, _arguments: any, P: any, generator: any): any;
7
- declare function __generator(thisArg: any, body: any): {
8
- next: (v: any) => any;
9
- throw: (v: any) => any;
10
- return: (v: any) => any;
11
- };
12
- declare function __exportStar(m: any, o: any): void;
13
- declare function __values(o: any): any;
14
- declare function __read(o: any, n: any): any;
15
- /** @deprecated */
16
- declare function __spread(...args: any[]): any[];
17
- /** @deprecated */
18
- declare function __spreadArrays(...args: any[]): any[];
19
- declare function __spreadArray(to: any, from: any, pack: any, ...args: any[]): any;
20
- declare function __await(v: any): __await;
21
- declare class __await {
22
- constructor(v: any);
23
- v: any;
24
- }
25
- declare function __asyncGenerator(thisArg: any, _arguments: any, generator: any): {};
26
- declare function __asyncDelegator(o: any): {};
27
- declare function __asyncValues(o: any): any;
28
- declare function __makeTemplateObject(cooked: any, raw: any): any;
29
- declare function __importStar(mod: any): any;
30
- declare function __importDefault(mod: any): any;
31
- declare function __classPrivateFieldGet(receiver: any, state: any, kind: any, f: any): any;
32
- declare function __classPrivateFieldSet(receiver: any, state: any, value: any, kind: any, f: any): any;
33
- declare function __classPrivateFieldIn(state: any, receiver: any): any;
34
- declare function __assign(...args: any[]): any;
35
- declare function __createBinding(o: any, m: any, k: any, k2: any): void;
36
- export { __extends, __rest, __decorate, __param, __metadata, __awaiter, __generator, __exportStar, __values, __read, __spread, __spreadArrays, __spreadArray, __await, __asyncGenerator, __asyncDelegator, __asyncValues, __makeTemplateObject, __importStar, __importDefault, __classPrivateFieldGet, __classPrivateFieldSet, __classPrivateFieldIn, __assign, __createBinding };