@alfalab/core-components-table 2.9.1 → 2.9.2

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 (61) hide show
  1. package/components/pagination/Component.js +1 -1
  2. package/components/pagination/index.css +9 -9
  3. package/components/pagination/select-field/index.css +4 -4
  4. package/components/pagination/select-field/index.js +1 -1
  5. package/components/table/Component.js +1 -1
  6. package/components/table/index.css +7 -7
  7. package/components/tbody/Component.js +1 -1
  8. package/components/tbody/index.css +2 -2
  9. package/components/tcell/Component.js +1 -1
  10. package/components/tcell/index.css +6 -6
  11. package/components/texpandable-row/Component.js +1 -1
  12. package/components/texpandable-row/index.css +5 -5
  13. package/components/thead/Component.js +1 -1
  14. package/components/thead/index.css +6 -6
  15. package/components/thead-cell/Component.js +1 -1
  16. package/components/thead-cell/index.css +9 -9
  17. package/components/trow/Component.js +1 -1
  18. package/components/trow/index.css +8 -8
  19. package/components/tsortable-head-cell/Component.js +1 -1
  20. package/components/tsortable-head-cell/index.css +8 -8
  21. package/esm/components/pagination/Component.js +1 -1
  22. package/esm/components/pagination/index.css +9 -9
  23. package/esm/components/pagination/select-field/index.css +4 -4
  24. package/esm/components/pagination/select-field/index.js +1 -1
  25. package/esm/components/table/Component.js +1 -1
  26. package/esm/components/table/index.css +7 -7
  27. package/esm/components/tbody/Component.js +1 -1
  28. package/esm/components/tbody/index.css +2 -2
  29. package/esm/components/tcell/Component.js +1 -1
  30. package/esm/components/tcell/index.css +6 -6
  31. package/esm/components/texpandable-row/Component.js +1 -1
  32. package/esm/components/texpandable-row/index.css +5 -5
  33. package/esm/components/thead/Component.js +1 -1
  34. package/esm/components/thead/index.css +6 -6
  35. package/esm/components/thead-cell/Component.js +1 -1
  36. package/esm/components/thead-cell/index.css +9 -9
  37. package/esm/components/trow/Component.js +1 -1
  38. package/esm/components/trow/index.css +8 -8
  39. package/esm/components/tsortable-head-cell/Component.js +1 -1
  40. package/esm/components/tsortable-head-cell/index.css +8 -8
  41. package/modern/components/pagination/Component.js +1 -1
  42. package/modern/components/pagination/index.css +9 -9
  43. package/modern/components/pagination/select-field/index.css +4 -4
  44. package/modern/components/pagination/select-field/index.js +1 -1
  45. package/modern/components/table/Component.js +1 -1
  46. package/modern/components/table/index.css +7 -7
  47. package/modern/components/tbody/Component.js +1 -1
  48. package/modern/components/tbody/index.css +2 -2
  49. package/modern/components/tcell/Component.js +1 -1
  50. package/modern/components/tcell/index.css +6 -6
  51. package/modern/components/texpandable-row/Component.js +1 -1
  52. package/modern/components/texpandable-row/index.css +5 -5
  53. package/modern/components/thead/Component.js +1 -1
  54. package/modern/components/thead/index.css +6 -6
  55. package/modern/components/thead-cell/Component.js +1 -1
  56. package/modern/components/thead-cell/index.css +9 -9
  57. package/modern/components/trow/Component.js +1 -1
  58. package/modern/components/trow/index.css +8 -8
  59. package/modern/components/tsortable-head-cell/Component.js +1 -1
  60. package/modern/components/tsortable-head-cell/index.css +8 -8
  61. package/package.json +5 -5
@@ -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_1src0","stickyHeader":"table__stickyHeader_1src0","sortable":"table__sortable_1src0","sorted":"table__sorted_1src0","compactHorizontal":"table__compactHorizontal_1src0"};
5
+ const styles = {"component":"table__component_xff1z","stickyHeader":"table__stickyHeader_xff1z","sortable":"table__sortable_xff1z","sorted":"table__sorted_xff1z","compactHorizontal":"table__compactHorizontal_xff1z"};
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: arjr1 */
1
+ /* hash: 1ccm3 */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-base-bg-primary: #fff;
@@ -33,7 +33,7 @@
33
33
  --gap-32: var(--gap-2xl);
34
34
  } :root {
35
35
  } :root {
36
- } /* сбрасывает синюю подсветку при нажатии */ .table__component_1src0 {
36
+ } /* сбрасывает синюю подсветку при нажатии */ .table__component_xff1z {
37
37
  font-size: 12px;
38
38
  line-height: 16px;
39
39
  font-weight: 500;
@@ -48,23 +48,23 @@
48
48
  background: var(--color-light-base-bg-primary);
49
49
  vertical-align: top;
50
50
  box-sizing: border-box
51
- } .table__component_1src0:first-child {
51
+ } .table__component_xff1z:first-child {
52
52
  padding-left: var(--gap-16);
53
- } .table__component_1src0:last-child {
53
+ } .table__component_xff1z:last-child {
54
54
  padding-right: var(--gap-16);
55
- } .table__component_1src0:not(.table__stickyHeader_1src0) {
55
+ } .table__component_xff1z:not(.table__stickyHeader_xff1z) {
56
56
  position: relative;
57
- } .table__sortable_1src0 {
57
+ } .table__sortable_xff1z {
58
58
  cursor: pointer;
59
- } .table__sorted_1src0 {
59
+ } .table__sorted_xff1z {
60
60
  color: var(--color-light-text-primary);
61
- } .table__stickyHeader_1src0 {
61
+ } .table__stickyHeader_xff1z {
62
62
  top: var(--gap-0);
63
63
  position: sticky;
64
64
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
65
65
  border: none;
66
66
  z-index: 1;
67
- } .table__compactHorizontal_1src0 {
67
+ } .table__compactHorizontal_xff1z {
68
68
  padding-left: 6px;
69
69
  padding-right: 6px;
70
70
  }
@@ -1,7 +1,7 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1o6ux","withoutBorder":"table__withoutBorder_1o6ux","clickable":"table__clickable_1o6ux","selected":"table__selected_1o6ux"};
4
+ const styles = {"component":"table__component_1fue2","withoutBorder":"table__withoutBorder_1fue2","clickable":"table__clickable_1fue2","selected":"table__selected_1fue2"};
5
5
  require('./index.css')
6
6
 
7
7
  const TRow = forwardRef(({ children, className, selected, withoutBorder, dataTestId, ...restProps }, ref) => (React.createElement("tr", { className: cn(styles.component, className, {
@@ -1,4 +1,4 @@
1
- /* hash: yympg */
1
+ /* hash: g8wlv */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-base-bg-primary: #fff;
@@ -24,22 +24,22 @@
24
24
  /* stylelint-disable-next-line length-zero-no-unit */
25
25
  } :root {
26
26
  } :root {
27
- } /* сбрасывает синюю подсветку при нажатии */ .table__component_1o6ux {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .table__component_1fue2 {
28
28
  padding-top: 1px;
29
29
  width: 100%;
30
30
  transition: background-color 0.2s;
31
31
  box-sizing: border-box;
32
32
  background: var(--color-light-base-bg-primary)
33
- } .table__component_1o6ux:first-child td {
33
+ } .table__component_1fue2:first-child td {
34
34
  border-top: 0;
35
- } .table__withoutBorder_1o6ux td {
35
+ } .table__withoutBorder_1fue2 td {
36
36
  border: none;
37
- } .table__clickable_1o6ux {
37
+ } .table__clickable_1fue2 {
38
38
  cursor: pointer
39
- } .table__clickable_1o6ux:hover {
39
+ } .table__clickable_1fue2:hover {
40
40
  background-color: var(--color-light-base-bg-secondary);
41
- } .table__selected_1o6ux {
41
+ } .table__selected_1fue2 {
42
42
  background-color: #f2f8ff /* нет цвета в палитре */
43
- } .table__selected_1o6ux:hover {
43
+ } .table__selected_1fue2:hover {
44
44
  background-color: var(--color-static-graphic-solitude);
45
45
  }
@@ -5,7 +5,7 @@ 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
7
 
8
- const styles = {"content":"table__content_m1nch","icon":"table__icon_m1nch","reverse":"table__reverse_m1nch","sorted":"table__sorted_m1nch"};
8
+ const styles = {"content":"table__content_1tzxq","icon":"table__icon_1tzxq","reverse":"table__reverse_1tzxq","sorted":"table__sorted_1tzxq"};
9
9
  require('./index.css')
10
10
 
11
11
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: q637a */
1
+ /* hash: depgr */
2
2
  :root { /* 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 */ /* 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 */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-700: #898991;
@@ -27,10 +27,10 @@
27
27
  --gap-8: var(--gap-xs);
28
28
  } :root {
29
29
  } :root {
30
- } /* сбрасывает синюю подсветку при нажатии */ .table__content_m1nch {
30
+ } /* сбрасывает синюю подсветку при нажатии */ .table__content_1tzxq {
31
31
  display: flex;
32
32
  align-items: flex-start;
33
- } .table__icon_m1nch {
33
+ } .table__icon_1tzxq {
34
34
  cursor: pointer;
35
35
  margin-left: var(--gap-8);
36
36
 
@@ -42,15 +42,15 @@
42
42
  color: var(--color-light-neutral-700);
43
43
  transition: color 0.2s ease;
44
44
  flex-shrink: 0
45
- } .table__icon_m1nch:hover {
45
+ } .table__icon_1tzxq:hover {
46
46
  color: var(--color-light-neutral-translucent-1300);
47
- } .table__reverse_m1nch {
47
+ } .table__reverse_1tzxq {
48
48
  flex-direction: row-reverse
49
- } .table__reverse_m1nch .table__icon_m1nch {
49
+ } .table__reverse_1tzxq .table__icon_1tzxq {
50
50
  margin-left: var(--gap-0);
51
51
  margin-right: var(--gap-8);
52
- } .table__sorted_m1nch {
52
+ } .table__sorted_1tzxq {
53
53
  color: var(--color-light-status-info)
54
- } .table__sorted_m1nch:hover {
54
+ } .table__sorted_1tzxq:hover {
55
55
  color: var(--color-light-status-info);
56
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.9.1",
3
+ "version": "2.9.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,12 +16,12 @@
16
16
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@alfalab/core-components-button": "^11.11.3",
20
- "@alfalab/core-components-pagination": "^2.4.8",
21
- "@alfalab/core-components-select": "^17.20.2",
19
+ "@alfalab/core-components-button": "^11.11.4",
20
+ "@alfalab/core-components-pagination": "^2.4.9",
21
+ "@alfalab/core-components-select": "^17.20.3",
22
22
  "classnames": "^2.5.1",
23
23
  "tslib": "^2.4.0"
24
24
  },
25
25
  "themesVersion": "13.7.0",
26
- "varsVersion": "9.17.0"
26
+ "varsVersion": "9.18.0"
27
27
  }