@alfalab/core-components-table 2.4.13 → 2.4.14

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 (117) hide show
  1. package/component.js +0 -13
  2. package/components/index.js +0 -13
  3. package/components/pagination/Component.js +1 -2
  4. package/components/pagination/index.css +9 -9
  5. package/components/pagination/index.js +0 -8
  6. package/components/pagination/select-field/index.css +4 -4
  7. package/components/pagination/select-field/index.js +1 -1
  8. package/components/table/Component.js +1 -3
  9. package/components/table/index.css +7 -7
  10. package/components/table/index.js +0 -7
  11. package/components/table/utils.js +0 -2
  12. package/components/tbody/Component.js +1 -1
  13. package/components/tbody/index.css +2 -2
  14. package/components/tbody/index.js +0 -3
  15. package/components/tcell/Component.js +1 -1
  16. package/components/tcell/index.css +6 -6
  17. package/components/tcell/index.js +0 -4
  18. package/components/texpandable-row/Component.js +1 -1
  19. package/components/texpandable-row/index.css +5 -5
  20. package/components/texpandable-row/index.js +0 -4
  21. package/components/thead/Component.js +1 -1
  22. package/components/thead/index.css +6 -6
  23. package/components/thead/index.js +0 -3
  24. package/components/thead-cell/Component.js +1 -1
  25. package/components/thead-cell/index.css +9 -9
  26. package/components/thead-cell/index.js +0 -4
  27. package/components/trow/Component.js +1 -1
  28. package/components/trow/index.css +8 -8
  29. package/components/trow/index.js +0 -3
  30. package/components/tsortable-head-cell/Component.js +1 -2
  31. package/components/tsortable-head-cell/index.css +8 -8
  32. package/components/tsortable-head-cell/index.js +0 -8
  33. package/cssm/component.js +0 -23
  34. package/cssm/components/index.js +0 -23
  35. package/cssm/components/pagination/Component.js +0 -2
  36. package/cssm/components/pagination/index.js +0 -10
  37. package/cssm/components/table/Component.js +0 -3
  38. package/cssm/components/table/index.js +0 -9
  39. package/cssm/components/table/utils.js +0 -3
  40. package/cssm/components/tbody/index.js +0 -4
  41. package/cssm/components/tcell/index.js +0 -5
  42. package/cssm/components/texpandable-row/Component.js +0 -1
  43. package/cssm/components/texpandable-row/index.js +0 -6
  44. package/cssm/components/thead/index.js +0 -4
  45. package/cssm/components/thead-cell/index.js +0 -5
  46. package/cssm/components/trow/index.js +0 -4
  47. package/cssm/components/tsortable-head-cell/Component.js +0 -2
  48. package/cssm/components/tsortable-head-cell/index.js +0 -10
  49. package/cssm/index.js +0 -32
  50. package/esm/component.js +0 -13
  51. package/esm/components/index.js +0 -13
  52. package/esm/components/pagination/Component.js +1 -2
  53. package/esm/components/pagination/index.css +9 -9
  54. package/esm/components/pagination/index.js +0 -8
  55. package/esm/components/pagination/select-field/index.css +4 -4
  56. package/esm/components/pagination/select-field/index.js +1 -1
  57. package/esm/components/table/Component.js +1 -3
  58. package/esm/components/table/index.css +7 -7
  59. package/esm/components/table/index.js +0 -7
  60. package/esm/components/table/utils.js +0 -2
  61. package/esm/components/tbody/Component.js +1 -1
  62. package/esm/components/tbody/index.css +2 -2
  63. package/esm/components/tbody/index.js +0 -3
  64. package/esm/components/tcell/Component.js +1 -1
  65. package/esm/components/tcell/index.css +6 -6
  66. package/esm/components/tcell/index.js +0 -4
  67. package/esm/components/texpandable-row/Component.js +1 -1
  68. package/esm/components/texpandable-row/index.css +5 -5
  69. package/esm/components/texpandable-row/index.js +0 -4
  70. package/esm/components/thead/Component.js +1 -1
  71. package/esm/components/thead/index.css +6 -6
  72. package/esm/components/thead/index.js +0 -3
  73. package/esm/components/thead-cell/Component.js +1 -1
  74. package/esm/components/thead-cell/index.css +9 -9
  75. package/esm/components/thead-cell/index.js +0 -4
  76. package/esm/components/trow/Component.js +1 -1
  77. package/esm/components/trow/index.css +8 -8
  78. package/esm/components/trow/index.js +0 -3
  79. package/esm/components/tsortable-head-cell/Component.js +1 -2
  80. package/esm/components/tsortable-head-cell/index.css +8 -8
  81. package/esm/components/tsortable-head-cell/index.js +0 -8
  82. package/esm/index.js +0 -22
  83. package/index.js +0 -22
  84. package/modern/component.js +0 -12
  85. package/modern/components/index.js +0 -12
  86. package/modern/components/pagination/Component.js +1 -2
  87. package/modern/components/pagination/index.css +9 -9
  88. package/modern/components/pagination/index.js +0 -7
  89. package/modern/components/pagination/select-field/index.css +4 -4
  90. package/modern/components/pagination/select-field/index.js +1 -1
  91. package/modern/components/table/Component.js +1 -3
  92. package/modern/components/table/index.css +7 -7
  93. package/modern/components/table/index.js +0 -6
  94. package/modern/components/table/utils.js +0 -1
  95. package/modern/components/tbody/Component.js +1 -1
  96. package/modern/components/tbody/index.css +2 -2
  97. package/modern/components/tbody/index.js +0 -2
  98. package/modern/components/tcell/Component.js +1 -1
  99. package/modern/components/tcell/index.css +6 -6
  100. package/modern/components/tcell/index.js +0 -3
  101. package/modern/components/texpandable-row/Component.js +1 -1
  102. package/modern/components/texpandable-row/index.css +5 -5
  103. package/modern/components/texpandable-row/index.js +0 -3
  104. package/modern/components/thead/Component.js +1 -1
  105. package/modern/components/thead/index.css +6 -6
  106. package/modern/components/thead/index.js +0 -2
  107. package/modern/components/thead-cell/Component.js +1 -1
  108. package/modern/components/thead-cell/index.css +9 -9
  109. package/modern/components/thead-cell/index.js +0 -3
  110. package/modern/components/trow/Component.js +1 -1
  111. package/modern/components/trow/index.css +8 -8
  112. package/modern/components/trow/index.js +0 -2
  113. package/modern/components/tsortable-head-cell/Component.js +1 -2
  114. package/modern/components/tsortable-head-cell/index.css +8 -8
  115. package/modern/components/tsortable-head-cell/index.js +0 -7
  116. package/modern/index.js +0 -21
  117. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- /* hash: 1awki */
1
+ /* hash: 1djhk */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #e7e8ec; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,11 +16,11 @@
16
16
  --gap-xs: 8px;
17
17
  } :root {
18
18
  } :root {
19
- } .table__component_1huzv {
19
+ } .table__component_17r3g {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1huzv th:not(:last-child):not(:empty):after {
23
+ } .table__component_17r3g 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_1huzv th:after {
34
+ } .table__component_17r3g th:after {
35
35
  opacity: 0;
36
- } .table__component_1huzv:hover th:after {
36
+ } .table__component_17r3g:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1huzv {
38
+ } .table__row_17r3g {
39
39
  height: 72px;
40
40
  }
@@ -1,3 +1 @@
1
1
  export { THead } from './Component.js';
2
- import 'react';
3
- import 'classnames';
@@ -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_1nwfi","stickyHeader":"table__stickyHeader_1nwfi","sortable":"table__sortable_1nwfi","sorted":"table__sorted_1nwfi","compactHorizontal":"table__compactHorizontal_1nwfi"};
5
+ const styles = {"component":"table__component_151rm","stickyHeader":"table__stickyHeader_151rm","sortable":"table__sortable_151rm","sorted":"table__sorted_151rm","compactHorizontal":"table__compactHorizontal_151rm"};
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: 23t0e */
1
+ /* hash: ugq68 */
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_1nwfi {
24
+ } .table__component_151rm {
25
25
  font-size: 12px;
26
26
  line-height: 16px;
27
27
  font-weight: 500;
@@ -36,23 +36,23 @@
36
36
  background: var(--color-light-bg-primary);
37
37
  vertical-align: top;
38
38
  box-sizing: border-box
39
- } .table__component_1nwfi:first-child {
39
+ } .table__component_151rm:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_1nwfi:last-child {
41
+ } .table__component_151rm:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_1nwfi:not(.table__stickyHeader_1nwfi) {
43
+ } .table__component_151rm:not(.table__stickyHeader_151rm) {
44
44
  position: relative;
45
- } .table__sortable_1nwfi {
45
+ } .table__sortable_151rm {
46
46
  cursor: pointer;
47
- } .table__sorted_1nwfi {
47
+ } .table__sorted_151rm {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_1nwfi {
49
+ } .table__stickyHeader_151rm {
50
50
  top: 0;
51
51
  position: sticky;
52
52
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
53
53
  border: none;
54
54
  z-index: 1;
55
- } .table__compactHorizontal_1nwfi {
55
+ } .table__compactHorizontal_151rm {
56
56
  padding-left: 6px;
57
57
  padding-right: 6px;
58
58
  }
@@ -1,4 +1 @@
1
1
  export { THeadCell } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '../table-context/index.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1yumk","withoutBorder":"table__withoutBorder_1yumk","clickable":"table__clickable_1yumk","selected":"table__selected_1yumk"};
4
+ const styles = {"component":"table__component_ihm1z","withoutBorder":"table__withoutBorder_ihm1z","clickable":"table__clickable_ihm1z","selected":"table__selected_ihm1z"};
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: 4mf5h */
1
+ /* hash: daxbq */
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_1yumk {
20
+ } .table__component_ihm1z {
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_1yumk:first-child td {
26
+ } .table__component_ihm1z:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_1yumk td {
28
+ } .table__withoutBorder_ihm1z td {
29
29
  border: none;
30
- } .table__clickable_1yumk {
30
+ } .table__clickable_ihm1z {
31
31
  cursor: pointer
32
- } .table__clickable_1yumk:hover {
32
+ } .table__clickable_ihm1z:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_1yumk {
34
+ } .table__selected_ihm1z {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_1yumk:hover {
36
+ } .table__selected_ihm1z:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -1,3 +1 @@
1
1
  export { TRow } from './Component.js';
2
- import 'react';
3
- import 'classnames';
@@ -4,9 +4,8 @@ import { THeadCell } from '../thead-cell/Component.js';
4
4
  import { SortIconAsc } from './sort-icon-asc.js';
5
5
  import { SortIconDesc } from './sort-icon-desc.js';
6
6
  import { SortIconUnset } from './sort-icon-unset.js';
7
- import '../table-context/index.js';
8
7
 
9
- const styles = {"content":"table__content_rr211","icon":"table__icon_rr211","reverse":"table__reverse_rr211","sorted":"table__sorted_rr211"};
8
+ const styles = {"content":"table__content_189fv","icon":"table__icon_189fv","reverse":"table__reverse_189fv","sorted":"table__sorted_189fv"};
10
9
  require('./index.css')
11
10
 
12
11
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1i55n */
1
+ /* hash: gk6em */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #2288fa;
@@ -18,10 +18,10 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__content_rr211 {
21
+ } .table__content_189fv {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
- } .table__icon_rr211 {
24
+ } .table__icon_189fv {
25
25
  cursor: pointer;
26
26
  margin-left: var(--gap-xs);
27
27
 
@@ -33,15 +33,15 @@
33
33
  color: var(--color-light-graphic-secondary);
34
34
  transition: color 0.2s ease;
35
35
  flex-shrink: 0
36
- } .table__icon_rr211:hover {
36
+ } .table__icon_189fv:hover {
37
37
  color: var(--color-light-graphic-primary);
38
- } .table__reverse_rr211 {
38
+ } .table__reverse_189fv {
39
39
  flex-direction: row-reverse
40
- } .table__reverse_rr211 .table__icon_rr211 {
40
+ } .table__reverse_189fv .table__icon_189fv {
41
41
  margin-left: 0;
42
42
  margin-right: var(--gap-xs);
43
- } .table__sorted_rr211 {
43
+ } .table__sorted_189fv {
44
44
  color: var(--color-light-graphic-link)
45
- } .table__sorted_rr211:hover {
45
+ } .table__sorted_189fv:hover {
46
46
  color: var(--color-light-graphic-link);
47
47
  }
@@ -1,8 +1 @@
1
1
  export { TSortableHeadCell } from './Component.js';
2
- import 'react';
3
- import 'classnames';
4
- import '../thead-cell/Component.js';
5
- import '../table-context/index.js';
6
- import './sort-icon-asc.js';
7
- import './sort-icon-desc.js';
8
- import './sort-icon-unset.js';
package/modern/index.js CHANGED
@@ -1,22 +1 @@
1
1
  export { Table } from './component.js';
2
- import './components/table/Component.js';
3
- import 'react';
4
- import 'classnames';
5
- import './components/table-context/index.js';
6
- import './components/table/utils.js';
7
- import './utils.js';
8
- import './components/thead/Component.js';
9
- import './components/pagination/Component.js';
10
- import '@alfalab/core-components-pagination/modern';
11
- import '@alfalab/core-components-select/modern/desktop';
12
- import './components/pagination/select-field/index.js';
13
- import '@alfalab/core-components-button/modern';
14
- import './components/thead-cell/Component.js';
15
- import './components/tsortable-head-cell/Component.js';
16
- import './components/tsortable-head-cell/sort-icon-asc.js';
17
- import './components/tsortable-head-cell/sort-icon-desc.js';
18
- import './components/tsortable-head-cell/sort-icon-unset.js';
19
- import './components/tbody/Component.js';
20
- import './components/tcell/Component.js';
21
- import './components/trow/Component.js';
22
- import './components/texpandable-row/Component.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.4.13",
3
+ "version": "2.4.14",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,9 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-button": "^11.1.1",
19
- "@alfalab/core-components-pagination": "^2.3.0",
20
- "@alfalab/core-components-select": "^17.1.2",
18
+ "@alfalab/core-components-button": "^11.2.0",
19
+ "@alfalab/core-components-pagination": "^2.3.1",
20
+ "@alfalab/core-components-select": "^17.2.0",
21
21
  "classnames": "^2.3.1",
22
22
  "tslib": "^2.4.0"
23
23
  }