@alfalab/core-components-table 2.2.13 → 2.2.15

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 (107) 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 +16 -19
  5. package/components/pagination/index.js +1 -1
  6. package/components/pagination/select-field/index.css +12 -8
  7. package/components/pagination/select-field/index.js +2 -2
  8. package/components/table/Component.js +2 -2
  9. package/components/table/index.css +16 -20
  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 +10 -3
  14. package/components/tbody/index.js +1 -1
  15. package/components/tcell/Component.js +2 -2
  16. package/components/tcell/index.css +14 -15
  17. package/components/tcell/index.js +1 -1
  18. package/components/texpandable-row/Component.js +2 -2
  19. package/components/texpandable-row/index.css +13 -9
  20. package/components/texpandable-row/index.js +1 -1
  21. package/components/thead/Component.js +2 -2
  22. package/components/thead/index.css +14 -15
  23. package/components/thead/index.js +1 -1
  24. package/components/thead-cell/Component.js +2 -2
  25. package/components/thead-cell/index.css +16 -19
  26. package/components/thead-cell/index.js +1 -1
  27. package/components/trow/Component.js +2 -2
  28. package/components/trow/index.css +17 -20
  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 +17 -21
  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/cssm/components/pagination/index.module.css +15 -18
  37. package/cssm/components/pagination/select-field/index.module.css +10 -6
  38. package/cssm/components/table/index.module.css +15 -19
  39. package/cssm/components/tbody/index.module.css +9 -2
  40. package/cssm/components/tcell/index.module.css +13 -14
  41. package/cssm/components/texpandable-row/index.module.css +12 -8
  42. package/cssm/components/thead/index.module.css +13 -14
  43. package/cssm/components/thead-cell/index.module.css +15 -18
  44. package/cssm/components/trow/index.module.css +16 -19
  45. package/cssm/components/tsortable-head-cell/index.module.css +16 -20
  46. package/esm/component.js +1 -1
  47. package/esm/components/index.js +1 -1
  48. package/esm/components/pagination/Component.js +2 -2
  49. package/esm/components/pagination/index.css +16 -19
  50. package/esm/components/pagination/index.js +1 -1
  51. package/esm/components/pagination/select-field/index.css +12 -8
  52. package/esm/components/pagination/select-field/index.js +2 -2
  53. package/esm/components/table/Component.js +2 -2
  54. package/esm/components/table/index.css +16 -20
  55. package/esm/components/table/index.js +1 -1
  56. package/esm/components/table/utils.js +1 -1
  57. package/esm/components/tbody/Component.js +2 -2
  58. package/esm/components/tbody/index.css +10 -3
  59. package/esm/components/tbody/index.js +1 -1
  60. package/esm/components/tcell/Component.js +2 -2
  61. package/esm/components/tcell/index.css +14 -15
  62. package/esm/components/tcell/index.js +1 -1
  63. package/esm/components/texpandable-row/Component.js +2 -2
  64. package/esm/components/texpandable-row/index.css +13 -9
  65. package/esm/components/texpandable-row/index.js +1 -1
  66. package/esm/components/thead/Component.js +2 -2
  67. package/esm/components/thead/index.css +14 -15
  68. package/esm/components/thead/index.js +1 -1
  69. package/esm/components/thead-cell/Component.js +2 -2
  70. package/esm/components/thead-cell/index.css +16 -19
  71. package/esm/components/thead-cell/index.js +1 -1
  72. package/esm/components/trow/Component.js +2 -2
  73. package/esm/components/trow/index.css +17 -20
  74. package/esm/components/trow/index.js +1 -1
  75. package/esm/components/tsortable-head-cell/Component.js +2 -2
  76. package/esm/components/tsortable-head-cell/index.css +17 -21
  77. package/esm/components/tsortable-head-cell/index.js +1 -1
  78. package/esm/components/tsortable-head-cell/sort-icon-asc.js +1 -1
  79. package/esm/components/tsortable-head-cell/sort-icon-desc.js +1 -1
  80. package/esm/components/tsortable-head-cell/sort-icon-unset.js +1 -1
  81. package/esm/index.js +1 -1
  82. package/esm/{tslib.es6-bd5f37d4.d.ts → tslib.es6-41061aee.d.ts} +0 -0
  83. package/esm/{tslib.es6-bd5f37d4.js → tslib.es6-41061aee.js} +0 -0
  84. package/index.js +1 -1
  85. package/modern/components/pagination/Component.js +1 -1
  86. package/modern/components/pagination/index.css +16 -19
  87. package/modern/components/pagination/select-field/index.css +12 -8
  88. package/modern/components/pagination/select-field/index.js +1 -1
  89. package/modern/components/table/Component.js +1 -1
  90. package/modern/components/table/index.css +16 -20
  91. package/modern/components/tbody/Component.js +1 -1
  92. package/modern/components/tbody/index.css +10 -3
  93. package/modern/components/tcell/Component.js +1 -1
  94. package/modern/components/tcell/index.css +14 -15
  95. package/modern/components/texpandable-row/Component.js +1 -1
  96. package/modern/components/texpandable-row/index.css +13 -9
  97. package/modern/components/thead/Component.js +1 -1
  98. package/modern/components/thead/index.css +14 -15
  99. package/modern/components/thead-cell/Component.js +1 -1
  100. package/modern/components/thead-cell/index.css +16 -19
  101. package/modern/components/trow/Component.js +1 -1
  102. package/modern/components/trow/index.css +17 -20
  103. package/modern/components/tsortable-head-cell/Component.js +1 -1
  104. package/modern/components/tsortable-head-cell/index.css +17 -21
  105. package/package.json +2 -2
  106. /package/{tslib.es6-de317aa5.d.ts → tslib.es6-0d8c9c3a.d.ts} +0 -0
  107. /package/{tslib.es6-de317aa5.js → tslib.es6-0d8c9c3a.js} +0 -0
@@ -1,24 +1,27 @@
1
- /* hash: rx8q3 */
1
+ /* hash: 560t5 */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-bg-primary: #fff;
4
5
  --color-light-border-primary: #dbdee1;
5
6
  --color-light-text-primary: #0b1f35;
6
- }
7
- :root {
7
+ } :root {
8
+ } :root {
9
+ } :root {
8
10
 
9
11
  /* Hard */
10
12
 
11
13
  /* Up */
12
14
 
13
15
  /* Hard up */
14
- }
15
- :root {
16
+ } :root {
17
+ } :root {
16
18
  --gap-2xs: 4px;
17
19
  --gap-s: 12px;
18
20
  --gap-m: 16px;
19
21
  --gap-2xl: 32px;
20
- }
21
- .table__component_1xlxi {
22
+ } :root {
23
+ } :root {
24
+ } .table__component_1sulo {
22
25
  font-size: 12px;
23
26
  line-height: 16px;
24
27
  font-weight: 500;
@@ -34,27 +37,21 @@
34
37
  background: var(--color-light-bg-primary);
35
38
  vertical-align: top;
36
39
  box-sizing: border-box
37
- }
38
- .table__component_1xlxi:first-child {
40
+ } .table__component_1sulo:first-child {
39
41
  padding-left: var(--gap-m);
40
- }
41
- .table__component_1xlxi:last-child {
42
+ } .table__component_1sulo:last-child {
42
43
  padding-right: var(--gap-m);
43
- }
44
- .table__sortable_1xlxi {
44
+ } .table__sortable_1sulo {
45
45
  cursor: pointer;
46
- }
47
- .table__sorted_1xlxi {
46
+ } .table__sorted_1sulo {
48
47
  color: var(--color-light-text-primary);
49
- }
50
- .table__stickyHeader_1xlxi {
48
+ } .table__stickyHeader_1sulo {
51
49
  top: 0;
52
50
  position: sticky;
53
51
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
54
52
  border: none;
55
53
  z-index: 1;
56
- }
57
- .table__compactHorizontal_1xlxi {
54
+ } .table__compactHorizontal_1sulo {
58
55
  padding-left: 6px;
59
56
  padding-right: 6px;
60
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_raasj","withoutBorder":"table__withoutBorder_raasj","clickable":"table__clickable_raasj","selected":"table__selected_raasj"};
4
+ const styles = {"component":"table__component_1u4k9","withoutBorder":"table__withoutBorder_1u4k9","clickable":"table__clickable_1u4k9","selected":"table__selected_1u4k9"};
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,41 +1,38 @@
1
- /* hash: ufuv5 */
2
- :root {
3
- --color-static-graphic-solitude: #e8f2fe;
4
- }
1
+ /* hash: dmzb9 */
5
2
  :root {
3
+ } /* deprecated */ :root {
6
4
  --color-light-bg-primary: #fff;
7
5
  --color-light-bg-secondary: #f3f4f5;
8
- }
9
- :root {
6
+ } :root {
7
+ --color-static-graphic-solitude: #e8f2fe;
8
+ } :root {
9
+ } :root {
10
10
 
11
11
  /* Hard */
12
12
 
13
13
  /* Up */
14
14
 
15
15
  /* Hard up */
16
- }
17
- .table__component_raasj {
16
+ } :root {
17
+ } :root {
18
+ } :root {
19
+ } :root {
20
+ } .table__component_1u4k9 {
18
21
  padding-top: 1px;
19
22
  width: 100%;
20
23
  transition: background-color 0.2s;
21
24
  box-sizing: border-box;
22
25
  background: var(--color-light-bg-primary)
23
- }
24
- .table__component_raasj:first-child td {
26
+ } .table__component_1u4k9:first-child td {
25
27
  border-top: 0;
26
- }
27
- .table__withoutBorder_raasj td {
28
+ } .table__withoutBorder_1u4k9 td {
28
29
  border: none;
29
- }
30
- .table__clickable_raasj {
30
+ } .table__clickable_1u4k9 {
31
31
  cursor: pointer
32
- }
33
- .table__clickable_raasj:hover {
32
+ } .table__clickable_1u4k9:hover {
34
33
  background-color: var(--color-light-bg-secondary);
35
- }
36
- .table__selected_raasj {
34
+ } .table__selected_1u4k9 {
37
35
  background-color: #f2f8ff /* нет цвета в палитре */
38
- }
39
- .table__selected_raasj:hover {
36
+ } .table__selected_1u4k9:hover {
40
37
  background-color: var(--color-static-graphic-solitude);
41
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_z431r","content":"table__content_z431r","icon":"table__icon_z431r","reverse":"table__reverse_z431r","sorted":"table__sorted_z431r"};
9
+ const styles = {"component":"table__component_eekx6","content":"table__content_eekx6","icon":"table__icon_eekx6","reverse":"table__reverse_eekx6","sorted":"table__sorted_eekx6"};
10
10
  require('./index.css')
11
11
 
12
12
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,28 +1,29 @@
1
- /* hash: 50y1n */
1
+ /* hash: 1w40f */
2
2
  :root {
3
+ } /* deprecated */ :root {
3
4
  --color-light-graphic-link: #007aff;
4
5
  --color-light-graphic-primary: #0b1f35;
5
6
  --color-light-graphic-secondary: #6d7986;
6
- }
7
- :root {
7
+ } :root {
8
+ } :root {
9
+ } :root {
8
10
 
9
11
  /* Hard */
10
12
 
11
13
  /* Up */
12
14
 
13
15
  /* Hard up */
14
- }
15
- :root {
16
+ } :root {
17
+ } :root {
16
18
  --gap-xs: 8px;
17
- }
18
- .table__component_z431r {
19
+ } :root {
20
+ } :root {
21
+ } .table__component_eekx6 {
19
22
  position: relative;
20
- }
21
- .table__content_z431r {
23
+ } .table__content_eekx6 {
22
24
  display: flex;
23
25
  align-items: flex-start;
24
- }
25
- .table__icon_z431r {
26
+ } .table__icon_eekx6 {
26
27
  cursor: pointer;
27
28
  margin-left: var(--gap-xs);
28
29
 
@@ -34,20 +35,15 @@
34
35
  color: var(--color-light-graphic-secondary);
35
36
  transition: color 0.2s ease;
36
37
  flex-shrink: 0
37
- }
38
- .table__icon_z431r:hover {
38
+ } .table__icon_eekx6:hover {
39
39
  color: var(--color-light-graphic-primary);
40
- }
41
- .table__reverse_z431r {
40
+ } .table__reverse_eekx6 {
42
41
  flex-direction: row-reverse
43
- }
44
- .table__reverse_z431r .table__icon_z431r {
42
+ } .table__reverse_eekx6 .table__icon_eekx6 {
45
43
  margin-left: 0;
46
44
  margin-right: var(--gap-xs);
47
- }
48
- .table__sorted_z431r {
45
+ } .table__sorted_eekx6 {
49
46
  color: var(--color-light-graphic-link)
50
- }
51
- .table__sorted_z431r:hover {
47
+ } .table__sorted_eekx6:hover {
52
48
  color: var(--color-light-graphic-link);
53
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.2.13",
3
+ "version": "2.2.15",
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.3",
19
19
  "@alfalab/core-components-pagination": "^2.0.9",
20
- "@alfalab/core-components-select": "^13.2.7",
20
+ "@alfalab/core-components-select": "^13.2.9",
21
21
  "classnames": "^2.3.1"
22
22
  }
23
23
  }