@alfalab/core-components-table 2.8.3 → 2.8.4

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_1iwyz","stickyHeader":"table__stickyHeader_1iwyz","sortable":"table__sortable_1iwyz","sorted":"table__sorted_1iwyz","compactHorizontal":"table__compactHorizontal_1iwyz"};
5
+ const styles = {"component":"table__component_1lm2l","stickyHeader":"table__stickyHeader_1lm2l","sortable":"table__sortable_1lm2l","sorted":"table__sorted_1lm2l","compactHorizontal":"table__compactHorizontal_1lm2l"};
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: 1nedq */
1
+ /* hash: o735y */
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;
@@ -30,7 +30,7 @@
30
30
  --gap-32: var(--gap-2xl);
31
31
  } :root {
32
32
  } :root {
33
- } /* сбрасывает синюю подсветку при нажатии */ .table__component_1iwyz {
33
+ } /* сбрасывает синюю подсветку при нажатии */ .table__component_1lm2l {
34
34
  font-size: 12px;
35
35
  line-height: 16px;
36
36
  font-weight: 500;
@@ -45,23 +45,23 @@
45
45
  background: var(--color-light-base-bg-primary);
46
46
  vertical-align: top;
47
47
  box-sizing: border-box
48
- } .table__component_1iwyz:first-child {
48
+ } .table__component_1lm2l:first-child {
49
49
  padding-left: var(--gap-16);
50
- } .table__component_1iwyz:last-child {
50
+ } .table__component_1lm2l:last-child {
51
51
  padding-right: var(--gap-16);
52
- } .table__component_1iwyz:not(.table__stickyHeader_1iwyz) {
52
+ } .table__component_1lm2l:not(.table__stickyHeader_1lm2l) {
53
53
  position: relative;
54
- } .table__sortable_1iwyz {
54
+ } .table__sortable_1lm2l {
55
55
  cursor: pointer;
56
- } .table__sorted_1iwyz {
56
+ } .table__sorted_1lm2l {
57
57
  color: var(--color-light-text-primary);
58
- } .table__stickyHeader_1iwyz {
58
+ } .table__stickyHeader_1lm2l {
59
59
  top: var(--gap-0);
60
60
  position: sticky;
61
61
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
62
62
  border: none;
63
63
  z-index: 1;
64
- } .table__compactHorizontal_1iwyz {
64
+ } .table__compactHorizontal_1lm2l {
65
65
  padding-left: 6px;
66
66
  padding-right: 6px;
67
67
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1cqtd","withoutBorder":"table__withoutBorder_1cqtd","clickable":"table__clickable_1cqtd","selected":"table__selected_1cqtd"};
4
+ const styles = {"component":"table__component_1uh5s","withoutBorder":"table__withoutBorder_1uh5s","clickable":"table__clickable_1uh5s","selected":"table__selected_1uh5s"};
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: rufur */
1
+ /* hash: bmvig */
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;
@@ -21,22 +21,22 @@
21
21
  /* новые значения, используйте их */
22
22
  } :root {
23
23
  } :root {
24
- } /* сбрасывает синюю подсветку при нажатии */ .table__component_1cqtd {
24
+ } /* сбрасывает синюю подсветку при нажатии */ .table__component_1uh5s {
25
25
  padding-top: 1px;
26
26
  width: 100%;
27
27
  transition: background-color 0.2s;
28
28
  box-sizing: border-box;
29
29
  background: var(--color-light-base-bg-primary)
30
- } .table__component_1cqtd:first-child td {
30
+ } .table__component_1uh5s:first-child td {
31
31
  border-top: 0;
32
- } .table__withoutBorder_1cqtd td {
32
+ } .table__withoutBorder_1uh5s td {
33
33
  border: none;
34
- } .table__clickable_1cqtd {
34
+ } .table__clickable_1uh5s {
35
35
  cursor: pointer
36
- } .table__clickable_1cqtd:hover {
36
+ } .table__clickable_1uh5s:hover {
37
37
  background-color: var(--color-light-base-bg-secondary);
38
- } .table__selected_1cqtd {
38
+ } .table__selected_1uh5s {
39
39
  background-color: #f2f8ff /* нет цвета в палитре */
40
- } .table__selected_1cqtd:hover {
40
+ } .table__selected_1uh5s:hover {
41
41
  background-color: var(--color-static-graphic-solitude);
42
42
  }
@@ -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_18wqv","icon":"table__icon_18wqv","reverse":"table__reverse_18wqv","sorted":"table__sorted_18wqv"};
8
+ const styles = {"content":"table__content_1b09f","icon":"table__icon_1b09f","reverse":"table__reverse_1b09f","sorted":"table__sorted_1b09f"};
9
9
  require('./index.css')
10
10
 
11
11
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1p7rq */
1
+ /* hash: 131v0 */
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;
@@ -24,10 +24,10 @@
24
24
  --gap-8: var(--gap-xs);
25
25
  } :root {
26
26
  } :root {
27
- } /* сбрасывает синюю подсветку при нажатии */ .table__content_18wqv {
27
+ } /* сбрасывает синюю подсветку при нажатии */ .table__content_1b09f {
28
28
  display: flex;
29
29
  align-items: flex-start;
30
- } .table__icon_18wqv {
30
+ } .table__icon_1b09f {
31
31
  cursor: pointer;
32
32
  margin-left: var(--gap-8);
33
33
 
@@ -39,15 +39,15 @@
39
39
  color: var(--color-light-neutral-700);
40
40
  transition: color 0.2s ease;
41
41
  flex-shrink: 0
42
- } .table__icon_18wqv:hover {
42
+ } .table__icon_1b09f:hover {
43
43
  color: var(--color-light-neutral-translucent-1300);
44
- } .table__reverse_18wqv {
44
+ } .table__reverse_1b09f {
45
45
  flex-direction: row-reverse
46
- } .table__reverse_18wqv .table__icon_18wqv {
46
+ } .table__reverse_1b09f .table__icon_1b09f {
47
47
  margin-left: var(--gap-0);
48
48
  margin-right: var(--gap-8);
49
- } .table__sorted_18wqv {
49
+ } .table__sorted_1b09f {
50
50
  color: var(--color-light-status-info)
51
- } .table__sorted_18wqv:hover {
51
+ } .table__sorted_1b09f:hover {
52
52
  color: var(--color-light-status-info);
53
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
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.2",
20
- "@alfalab/core-components-pagination": "^2.4.7",
21
- "@alfalab/core-components-select": "^17.18.1",
19
+ "@alfalab/core-components-button": "^11.11.3",
20
+ "@alfalab/core-components-pagination": "^2.4.8",
21
+ "@alfalab/core-components-select": "^17.19.0",
22
22
  "classnames": "^2.5.1",
23
23
  "tslib": "^2.4.0"
24
24
  },
25
- "themesVersion": "13.6.0",
25
+ "themesVersion": "13.7.0",
26
26
  "varsVersion": "9.16.0"
27
27
  }