@alfalab/core-components-table 2.5.6 → 2.5.7

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 +2 -2
@@ -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_vam5r","stickyHeader":"table__stickyHeader_vam5r","sortable":"table__sortable_vam5r","sorted":"table__sorted_vam5r","compactHorizontal":"table__compactHorizontal_vam5r"};
5
+ const styles = {"component":"table__component_1o9my","stickyHeader":"table__stickyHeader_1o9my","sortable":"table__sortable_1o9my","sorted":"table__sorted_1o9my","compactHorizontal":"table__compactHorizontal_1o9my"};
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: 10eyw */
1
+ /* hash: 1lybi */
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;
@@ -23,7 +23,7 @@
23
23
  /* новые значения, используйте их */
24
24
  } :root {
25
25
  } :root {
26
- } .table__component_vam5r {
26
+ } .table__component_1o9my {
27
27
  font-size: 12px;
28
28
  line-height: 16px;
29
29
  font-weight: 500;
@@ -38,23 +38,23 @@
38
38
  background: var(--color-light-base-bg-primary);
39
39
  vertical-align: top;
40
40
  box-sizing: border-box
41
- } .table__component_vam5r:first-child {
41
+ } .table__component_1o9my:first-child {
42
42
  padding-left: var(--gap-m);
43
- } .table__component_vam5r:last-child {
43
+ } .table__component_1o9my:last-child {
44
44
  padding-right: var(--gap-m);
45
- } .table__component_vam5r:not(.table__stickyHeader_vam5r) {
45
+ } .table__component_1o9my:not(.table__stickyHeader_1o9my) {
46
46
  position: relative;
47
- } .table__sortable_vam5r {
47
+ } .table__sortable_1o9my {
48
48
  cursor: pointer;
49
- } .table__sorted_vam5r {
49
+ } .table__sorted_1o9my {
50
50
  color: var(--color-light-text-primary);
51
- } .table__stickyHeader_vam5r {
51
+ } .table__stickyHeader_1o9my {
52
52
  top: 0;
53
53
  position: sticky;
54
54
  box-shadow: inset 0 -1px 0 0 rgba(11, 31, 53, 0.16);
55
55
  border: none;
56
56
  z-index: 1;
57
- } .table__compactHorizontal_vam5r {
57
+ } .table__compactHorizontal_1o9my {
58
58
  padding-left: 6px;
59
59
  padding-right: 6px;
60
60
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"table__component_1ajxn","withoutBorder":"table__withoutBorder_1ajxn","clickable":"table__clickable_1ajxn","selected":"table__selected_1ajxn"};
4
+ const styles = {"component":"table__component_ajl0d","withoutBorder":"table__withoutBorder_ajl0d","clickable":"table__clickable_ajl0d","selected":"table__selected_ajl0d"};
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: pthgp */
1
+ /* hash: 12o3l */
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;
@@ -19,22 +19,22 @@
19
19
  /* новые значения, используйте их */
20
20
  } :root {
21
21
  } :root {
22
- } .table__component_1ajxn {
22
+ } .table__component_ajl0d {
23
23
  padding-top: 1px;
24
24
  width: 100%;
25
25
  transition: background-color 0.2s;
26
26
  box-sizing: border-box;
27
27
  background: var(--color-light-base-bg-primary)
28
- } .table__component_1ajxn:first-child td {
28
+ } .table__component_ajl0d:first-child td {
29
29
  border-top: 0;
30
- } .table__withoutBorder_1ajxn td {
30
+ } .table__withoutBorder_ajl0d td {
31
31
  border: none;
32
- } .table__clickable_1ajxn {
32
+ } .table__clickable_ajl0d {
33
33
  cursor: pointer
34
- } .table__clickable_1ajxn:hover {
34
+ } .table__clickable_ajl0d:hover {
35
35
  background-color: var(--color-light-base-bg-secondary);
36
- } .table__selected_1ajxn {
36
+ } .table__selected_ajl0d {
37
37
  background-color: #f2f8ff /* нет цвета в палитре */
38
- } .table__selected_1ajxn:hover {
38
+ } .table__selected_ajl0d:hover {
39
39
  background-color: var(--color-static-graphic-solitude);
40
40
  }
@@ -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_u2ncc","icon":"table__icon_u2ncc","reverse":"table__reverse_u2ncc","sorted":"table__sorted_u2ncc"};
8
+ const styles = {"content":"table__content_9p4l3","icon":"table__icon_9p4l3","reverse":"table__reverse_9p4l3","sorted":"table__sorted_9p4l3"};
9
9
  require('./index.css')
10
10
 
11
11
  const TSortableHeadCell = ({ children, className, defaultIsSortedDesc, isSortedDesc, textAlign, onSort, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: pccnx */
1
+ /* hash: 1wg5f */
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;
@@ -20,10 +20,10 @@
20
20
  /* новые значения, используйте их */
21
21
  } :root {
22
22
  } :root {
23
- } .table__content_u2ncc {
23
+ } .table__content_9p4l3 {
24
24
  display: flex;
25
25
  align-items: flex-start;
26
- } .table__icon_u2ncc {
26
+ } .table__icon_9p4l3 {
27
27
  cursor: pointer;
28
28
  margin-left: var(--gap-xs);
29
29
 
@@ -35,15 +35,15 @@
35
35
  color: var(--color-light-neutral-700);
36
36
  transition: color 0.2s ease;
37
37
  flex-shrink: 0
38
- } .table__icon_u2ncc:hover {
38
+ } .table__icon_9p4l3:hover {
39
39
  color: var(--color-light-neutral-translucent-1300);
40
- } .table__reverse_u2ncc {
40
+ } .table__reverse_9p4l3 {
41
41
  flex-direction: row-reverse
42
- } .table__reverse_u2ncc .table__icon_u2ncc {
42
+ } .table__reverse_9p4l3 .table__icon_9p4l3 {
43
43
  margin-left: 0;
44
44
  margin-right: var(--gap-xs);
45
- } .table__sorted_u2ncc {
45
+ } .table__sorted_9p4l3 {
46
46
  color: var(--color-light-status-info)
47
- } .table__sorted_u2ncc:hover {
47
+ } .table__sorted_9p4l3:hover {
48
48
  color: var(--color-light-status-info);
49
49
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-table",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -17,7 +17,7 @@
17
17
  "dependencies": {
18
18
  "@alfalab/core-components-button": "^11.5.3",
19
19
  "@alfalab/core-components-pagination": "^2.3.4",
20
- "@alfalab/core-components-select": "^17.8.3",
20
+ "@alfalab/core-components-select": "^17.8.4",
21
21
  "classnames": "^2.3.1",
22
22
  "tslib": "^2.4.0"
23
23
  },