@alfalab/core-components-table 2.3.7 → 2.3.9

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 (73) hide show
  1. package/component-1a4fbd11.d.ts +1 -1
  2. package/components/pagination/Component.js +1 -1
  3. package/components/pagination/index.css +8 -8
  4. package/components/pagination/select-field/index.css +4 -4
  5. package/components/pagination/select-field/index.js +1 -1
  6. package/components/table/Component.js +1 -1
  7. package/components/table/index.css +7 -7
  8. package/components/tbody/Component.js +1 -1
  9. package/components/tbody/index.css +2 -2
  10. package/components/tcell/Component.js +1 -1
  11. package/components/tcell/index.css +6 -6
  12. package/components/texpandable-row/Component.js +1 -1
  13. package/components/texpandable-row/index.css +5 -5
  14. package/components/thead/Component.js +1 -1
  15. package/components/thead/index.css +6 -6
  16. package/components/thead-cell/Component.js +1 -1
  17. package/components/thead-cell/index.css +9 -9
  18. package/components/trow/Component.js +1 -1
  19. package/components/trow/index.css +8 -8
  20. package/components/tsortable-head-cell/Component.js +1 -1
  21. package/components/tsortable-head-cell/index.css +8 -8
  22. package/cssm/component-1a4fbd11.d.ts +1 -1
  23. package/cssm/index-f12ee135.d.ts +1 -1
  24. package/cssm/{types-b0ff398d.d.ts → types-e40becc7.d.ts} +6 -2
  25. package/esm/component-1a4fbd11.d.ts +1 -1
  26. package/esm/components/pagination/Component.js +1 -1
  27. package/esm/components/pagination/index.css +8 -8
  28. package/esm/components/pagination/select-field/index.css +4 -4
  29. package/esm/components/pagination/select-field/index.js +1 -1
  30. package/esm/components/table/Component.js +1 -1
  31. package/esm/components/table/index.css +7 -7
  32. package/esm/components/tbody/Component.js +1 -1
  33. package/esm/components/tbody/index.css +2 -2
  34. package/esm/components/tcell/Component.js +1 -1
  35. package/esm/components/tcell/index.css +6 -6
  36. package/esm/components/texpandable-row/Component.js +1 -1
  37. package/esm/components/texpandable-row/index.css +5 -5
  38. package/esm/components/thead/Component.js +1 -1
  39. package/esm/components/thead/index.css +6 -6
  40. package/esm/components/thead-cell/Component.js +1 -1
  41. package/esm/components/thead-cell/index.css +9 -9
  42. package/esm/components/trow/Component.js +1 -1
  43. package/esm/components/trow/index.css +8 -8
  44. package/esm/components/tsortable-head-cell/Component.js +1 -1
  45. package/esm/components/tsortable-head-cell/index.css +8 -8
  46. package/esm/index-f12ee135.d.ts +1 -1
  47. package/esm/{types-b0ff398d.d.ts → types-e40becc7.d.ts} +6 -2
  48. package/index-f12ee135.d.ts +1 -1
  49. package/modern/component-1a4fbd11.d.ts +1 -1
  50. package/modern/components/pagination/Component.js +1 -1
  51. package/modern/components/pagination/index.css +8 -8
  52. package/modern/components/pagination/select-field/index.css +4 -4
  53. package/modern/components/pagination/select-field/index.js +1 -1
  54. package/modern/components/table/Component.js +1 -1
  55. package/modern/components/table/index.css +7 -7
  56. package/modern/components/tbody/Component.js +1 -1
  57. package/modern/components/tbody/index.css +2 -2
  58. package/modern/components/tcell/Component.js +1 -1
  59. package/modern/components/tcell/index.css +6 -6
  60. package/modern/components/texpandable-row/Component.js +1 -1
  61. package/modern/components/texpandable-row/index.css +5 -5
  62. package/modern/components/thead/Component.js +1 -1
  63. package/modern/components/thead/index.css +6 -6
  64. package/modern/components/thead-cell/Component.js +1 -1
  65. package/modern/components/thead-cell/index.css +9 -9
  66. package/modern/components/trow/Component.js +1 -1
  67. package/modern/components/trow/index.css +8 -8
  68. package/modern/components/tsortable-head-cell/Component.js +1 -1
  69. package/modern/components/tsortable-head-cell/index.css +8 -8
  70. package/modern/index-f12ee135.d.ts +1 -1
  71. package/modern/{types-b0ff398d.d.ts → types-e40becc7.d.ts} +6 -2
  72. package/package.json +2 -2
  73. package/{types-b0ff398d.d.ts → types-e40becc7.d.ts} +6 -2
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
4
4
  import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-b0ff398d";
7
+ import { BottomSheetProps } from "./types-e40becc7";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -16,7 +16,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
16
16
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
18
18
 
19
- var styles = {"component":"table__component_fgbzj","pagesWrapper":"table__pagesWrapper_fgbzj","tag":"table__tag_fgbzj","tagActive":"table__tagActive_fgbzj","menu":"table__menu_fgbzj","option":"table__option_fgbzj"};
19
+ var styles = {"component":"table__component_hqowm","pagesWrapper":"table__pagesWrapper_hqowm","tag":"table__tag_hqowm","tagActive":"table__tagActive_hqowm","menu":"table__menu_hqowm","option":"table__option_hqowm"};
20
20
  require('./index.css')
21
21
 
22
22
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 8y3us */
1
+ /* hash: 1gw4v */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_fgbzj {
23
+ } .table__component_hqowm {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,19 +28,19 @@
28
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
29
29
  border-top: 1px solid var(--color-light-border-primary);
30
30
  box-sizing: border-box;
31
- } .table__pagesWrapper_fgbzj {
31
+ } .table__pagesWrapper_hqowm {
32
32
  display: flex;
33
- } .table__tag_fgbzj.table__tag_fgbzj {
33
+ } .table__tag_hqowm.table__tag_hqowm {
34
34
  flex-shrink: 0;
35
35
  margin-right: var(--gap-xs);
36
36
  padding: 0 var(--gap-xs);
37
37
  min-width: 32px
38
- } .table__tag_fgbzj.table__tag_fgbzj:last-child {
38
+ } .table__tag_hqowm.table__tag_hqowm:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_fgbzj.table__tag_fgbzj.table__tagActive_fgbzj {
40
+ } .table__tag_hqowm.table__tag_hqowm.table__tagActive_hqowm {
41
41
  cursor: default;
42
- } .table__menu_fgbzj {
42
+ } .table__menu_hqowm {
43
43
  margin: var(--gap-2xs) 0;
44
- } .table__option_fgbzj {
44
+ } .table__option_hqowm {
45
45
  min-width: 208px;
46
46
  }
@@ -1,4 +1,4 @@
1
- /* hash: n6ks9 */
1
+ /* hash: mbuhn */
2
2
  :root {
3
3
  } /* deprecated */ :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 */
4
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
@@ -15,10 +15,10 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .table__field_uf96p svg {
18
+ } .table__field_ialmz svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_uf96p,
22
- .table__open_uf96p:hover {
21
+ } .table__open_ialmz,
22
+ .table__open_ialmz:hover {
23
23
  background-color: var(--color-light-specialbg-component-shade-7);
24
24
  }
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"field":"table__field_uf96p","open":"table__open_uf96p"};
15
+ var styles = {"field":"table__field_ialmz","open":"table__open_ialmz"};
16
16
  require('./index.css')
17
17
 
18
18
  var CustomSelectField = function (_a) {
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var styles = {"component":"table__component_139ku","wrapper":"table__wrapper_139ku","stickyHeader":"table__stickyHeader_139ku","hasPagination":"table__hasPagination_139ku","table":"table__table_139ku"};
18
+ var styles = {"component":"table__component_ttl80","wrapper":"table__wrapper_ttl80","stickyHeader":"table__stickyHeader_ttl80","hasPagination":"table__hasPagination_ttl80","table":"table__table_ttl80"};
19
19
  require('./index.css')
20
20
 
21
21
  var Table = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: b02t2 */
1
+ /* hash: 1cacm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,24 +18,24 @@
18
18
  --gap-m: 16px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_139ku {
21
+ } .table__component_ttl80 {
22
22
  box-sizing: border-box;
23
- } .table__wrapper_139ku {
23
+ } .table__wrapper_ttl80 {
24
24
  padding: 0 var(--gap-m) var(--gap-m);
25
25
  background: var(--color-light-bg-primary);
26
26
  box-shadow: var(--shadow-xs-hard);
27
27
  border-radius: var(--border-radius-m);
28
28
  overflow: auto;
29
- } .table__stickyHeader_139ku {
29
+ } .table__stickyHeader_ttl80 {
30
30
  max-height: 100%;
31
- } .table__hasPagination_139ku {
31
+ } .table__hasPagination_ttl80 {
32
32
  padding-bottom: 0;
33
- } .table__table_139ku {
33
+ } .table__table_ttl80 {
34
34
  width: 100%;
35
35
  border-collapse: collapse;
36
36
  box-sizing: border-box
37
37
 
38
38
  /* TODO: Хак для выравнивания чекбокса */
39
- } .table__table_139ku td:first-child label > *[class^='box'], .table__table_139ku th:first-child label > *[class^='box'] {
39
+ } .table__table_ttl80 td:first-child label > *[class^='box'], .table__table_ttl80 th:first-child label > *[class^='box'] {
40
40
  margin-top: 0;
41
41
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"component":"table__component_sofpi"};
14
+ var styles = {"component":"table__component_v9dob"};
15
15
  require('./index.css')
16
16
 
17
17
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: grdux */
1
+ /* hash: 1s7cs */
2
2
  :root {
3
3
  } /* deprecated */ :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 */
4
4
  } :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 */
@@ -14,7 +14,7 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__component_sofpi {
17
+ } .table__component_v9dob {
18
18
  width: 100%;
19
19
  box-sizing: border-box;
20
20
  }
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"component":"table__component_wyonm","compactHorizontal":"table__compactHorizontal_wyonm","compact":"table__compact_wyonm"};
15
+ var styles = {"component":"table__component_10mo3","compactHorizontal":"table__compactHorizontal_10mo3","compact":"table__compact_10mo3"};
16
16
  require('./index.css')
17
17
 
18
18
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: foejc */
1
+ /* hash: idga3 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd;
@@ -20,7 +20,7 @@
20
20
  --gap-xl: 24px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_wyonm {
23
+ } .table__component_10mo3 {
24
24
  font-size: 14px;
25
25
  line-height: 20px;
26
26
  font-weight: 400;
@@ -31,14 +31,14 @@
31
31
  border-top: 1px solid var(--color-light-border-primary);
32
32
  vertical-align: top;
33
33
  box-sizing: border-box
34
- } .table__component_wyonm:first-child {
34
+ } .table__component_10mo3:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_wyonm:last-child {
36
+ } .table__component_10mo3:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_wyonm {
38
+ } .table__compactHorizontal_10mo3 {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_wyonm {
41
+ } .table__compact_10mo3 {
42
42
  padding-top: var(--gap-xs);
43
43
  padding-bottom: var(--gap-xs);
44
44
 
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"row":"table__row_5t844","selected":"table__selected_5t844","expanded":"table__expanded_5t844","expandable":"table__expandable_5t844"};
15
+ var styles = {"row":"table__row_mziq8","selected":"table__selected_mziq8","expanded":"table__expanded_mziq8","expandable":"table__expandable_mziq8"};
16
16
  require('./index.css')
17
17
 
18
18
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 10yh8 */
1
+ /* hash: 37mzw */
2
2
  :root {
3
3
  } /* deprecated */ :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 */
4
4
  } :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 */
@@ -14,13 +14,13 @@
14
14
  } :root {
15
15
  } :root {
16
16
  } :root {
17
- } .table__row_5t844 {
17
+ } .table__row_mziq8 {
18
18
  cursor: pointer;
19
- } .table__selected_5t844.table__expanded_5t844 {
19
+ } .table__selected_mziq8.table__expanded_mziq8 {
20
20
  background-color: inherit;
21
- } .table__expanded_5t844:hover {
21
+ } .table__expanded_mziq8:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_5t844 td {
23
+ } .table__expandable_mziq8 td {
24
24
  margin: 0;
25
25
  padding-top: 0;
26
26
  padding-bottom: 0;
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"component":"table__component_1yhu6","row":"table__row_1yhu6"};
14
+ var styles = {"component":"table__component_mf0wu","row":"table__row_mf0wu"};
15
15
  require('./index.css')
16
16
 
17
17
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: s3i8v */
1
+ /* hash: 720bh */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-quaternary: #dcdcdd; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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_1yhu6 {
19
+ } .table__component_mf0wu {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1yhu6 th:not(:last-child):not(:empty):after {
23
+ } .table__component_mf0wu 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_1yhu6 th:after {
34
+ } .table__component_mf0wu th:after {
35
35
  opacity: 0;
36
- } .table__component_1yhu6:hover th:after {
36
+ } .table__component_mf0wu:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1yhu6 {
38
+ } .table__row_mf0wu {
39
39
  height: 72px;
40
40
  }
@@ -12,7 +12,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
12
12
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
13
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
14
14
 
15
- var styles = {"component":"table__component_15gl4","stickyHeader":"table__stickyHeader_15gl4","sortable":"table__sortable_15gl4","sorted":"table__sorted_15gl4","compactHorizontal":"table__compactHorizontal_15gl4"};
15
+ var styles = {"component":"table__component_129iw","stickyHeader":"table__stickyHeader_129iw","sortable":"table__sortable_129iw","sorted":"table__sorted_129iw","compactHorizontal":"table__compactHorizontal_129iw"};
16
16
  require('./index.css')
17
17
 
18
18
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: evp0y */
1
+ /* hash: 1057g */
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_15gl4 {
24
+ } .table__component_129iw {
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_15gl4:first-child {
39
+ } .table__component_129iw:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_15gl4:last-child {
41
+ } .table__component_129iw:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_15gl4:not(.table__stickyHeader_15gl4) {
43
+ } .table__component_129iw:not(.table__stickyHeader_129iw) {
44
44
  position: relative;
45
- } .table__sortable_15gl4 {
45
+ } .table__sortable_129iw {
46
46
  cursor: pointer;
47
- } .table__sorted_15gl4 {
47
+ } .table__sorted_129iw {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_15gl4 {
49
+ } .table__stickyHeader_129iw {
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_15gl4 {
55
+ } .table__compactHorizontal_129iw {
56
56
  padding-left: 6px;
57
57
  padding-right: 6px;
58
58
  }
@@ -11,7 +11,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
13
13
 
14
- var styles = {"component":"table__component_ar94f","withoutBorder":"table__withoutBorder_ar94f","clickable":"table__clickable_ar94f","selected":"table__selected_ar94f"};
14
+ var styles = {"component":"table__component_rxjqj","withoutBorder":"table__withoutBorder_rxjqj","clickable":"table__clickable_rxjqj","selected":"table__selected_rxjqj"};
15
15
  require('./index.css')
16
16
 
17
17
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1ol01 */
1
+ /* hash: 1pnqt */
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_ar94f {
20
+ } .table__component_rxjqj {
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_ar94f:first-child td {
26
+ } .table__component_rxjqj:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_ar94f td {
28
+ } .table__withoutBorder_rxjqj td {
29
29
  border: none;
30
- } .table__clickable_ar94f {
30
+ } .table__clickable_rxjqj {
31
31
  cursor: pointer
32
- } .table__clickable_ar94f:hover {
32
+ } .table__clickable_rxjqj:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_ar94f {
34
+ } .table__selected_rxjqj {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_ar94f:hover {
36
+ } .table__selected_rxjqj:hover {
37
37
  background-color: var(--color-static-graphic-solitude);
38
38
  }
@@ -16,7 +16,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
16
16
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
17
17
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
18
18
 
19
- var styles = {"content":"table__content_xjgv2","icon":"table__icon_xjgv2","reverse":"table__reverse_xjgv2","sorted":"table__sorted_xjgv2"};
19
+ var styles = {"content":"table__content_p06j7","icon":"table__icon_p06j7","reverse":"table__reverse_p06j7","sorted":"table__sorted_p06j7"};
20
20
  require('./index.css')
21
21
 
22
22
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: n8h3j */
1
+ /* hash: i1ma9 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-link: #0072ef;
@@ -18,10 +18,10 @@
18
18
  --gap-xs: 8px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__content_xjgv2 {
21
+ } .table__content_p06j7 {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
- } .table__icon_xjgv2 {
24
+ } .table__icon_p06j7 {
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_xjgv2:hover {
36
+ } .table__icon_p06j7:hover {
37
37
  color: var(--color-light-graphic-primary);
38
- } .table__reverse_xjgv2 {
38
+ } .table__reverse_p06j7 {
39
39
  flex-direction: row-reverse
40
- } .table__reverse_xjgv2 .table__icon_xjgv2 {
40
+ } .table__reverse_p06j7 .table__icon_p06j7 {
41
41
  margin-left: 0;
42
42
  margin-right: var(--gap-xs);
43
- } .table__sorted_xjgv2 {
43
+ } .table__sorted_p06j7 {
44
44
  color: var(--color-light-graphic-link)
45
- } .table__sorted_xjgv2:hover {
45
+ } .table__sorted_p06j7:hover {
46
46
  color: var(--color-light-graphic-link);
47
47
  }
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
4
4
  import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-b0ff398d";
7
+ import { BottomSheetProps } from "./types-e40becc7";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -1,3 +1,3 @@
1
1
  export * from "./component-1a4fbd11";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-b0ff398d";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-e40becc7";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
@@ -265,8 +265,12 @@ type BottomSheetProps = {
265
265
  */
266
266
  onOffsetChange?: (offset: number, percent: number) => void;
267
267
  /**
268
- * Вызывается для событий touchend and mouseup.
268
+ * Вызывается в начале свайпа
269
269
  */
270
- onTouchEnd?: (event: HandledEvents) => void;
270
+ onSwipeStart?: (event: HandledEvents) => void;
271
+ /**
272
+ * Вызывается после окончания свайпа
273
+ */
274
+ onSwipeEnd?: (event: HandledEvents | null) => void;
271
275
  };
272
276
  export { BottomSheetTitleAlign, BottomSheetProps };
@@ -4,7 +4,7 @@ import { FC, ReactNode, RefObject } from "react";
4
4
  import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-b0ff398d";
7
+ import { BottomSheetProps } from "./types-e40becc7";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -7,7 +7,7 @@ import { TableContext } from '../table-context/index.js';
7
7
  import { CustomSelectField } from './select-field/index.js';
8
8
  import '@alfalab/core-components-button/esm';
9
9
 
10
- var styles = {"component":"table__component_fgbzj","pagesWrapper":"table__pagesWrapper_fgbzj","tag":"table__tag_fgbzj","tagActive":"table__tagActive_fgbzj","menu":"table__menu_fgbzj","option":"table__option_fgbzj"};
10
+ var styles = {"component":"table__component_hqowm","pagesWrapper":"table__pagesWrapper_hqowm","tag":"table__tag_hqowm","tagActive":"table__tagActive_hqowm","menu":"table__menu_hqowm","option":"table__option_hqowm"};
11
11
  require('./index.css')
12
12
 
13
13
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 8y3us */
1
+ /* hash: 1gw4v */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-primary: #dcdcdd; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,7 +20,7 @@
20
20
  --gap-2xl: 32px;
21
21
  } :root {
22
22
  } :root {
23
- } .table__component_fgbzj {
23
+ } .table__component_hqowm {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,19 +28,19 @@
28
28
  padding: var(--gap-xl) var(--gap-m) var(--gap-2xl);
29
29
  border-top: 1px solid var(--color-light-border-primary);
30
30
  box-sizing: border-box;
31
- } .table__pagesWrapper_fgbzj {
31
+ } .table__pagesWrapper_hqowm {
32
32
  display: flex;
33
- } .table__tag_fgbzj.table__tag_fgbzj {
33
+ } .table__tag_hqowm.table__tag_hqowm {
34
34
  flex-shrink: 0;
35
35
  margin-right: var(--gap-xs);
36
36
  padding: 0 var(--gap-xs);
37
37
  min-width: 32px
38
- } .table__tag_fgbzj.table__tag_fgbzj:last-child {
38
+ } .table__tag_hqowm.table__tag_hqowm:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_fgbzj.table__tag_fgbzj.table__tagActive_fgbzj {
40
+ } .table__tag_hqowm.table__tag_hqowm.table__tagActive_hqowm {
41
41
  cursor: default;
42
- } .table__menu_fgbzj {
42
+ } .table__menu_hqowm {
43
43
  margin: var(--gap-2xs) 0;
44
- } .table__option_fgbzj {
44
+ } .table__option_hqowm {
45
45
  min-width: 208px;
46
46
  }
@@ -1,4 +1,4 @@
1
- /* hash: n6ks9 */
1
+ /* hash: mbuhn */
2
2
  :root {
3
3
  } /* deprecated */ :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 */
4
4
  --color-light-specialbg-component-shade-7: rgba(10, 29, 49, 0.1351);
@@ -15,10 +15,10 @@
15
15
  } :root {
16
16
  } :root {
17
17
  } :root {
18
- } .table__field_uf96p svg {
18
+ } .table__field_ialmz svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_uf96p,
22
- .table__open_uf96p:hover {
21
+ } .table__open_ialmz,
22
+ .table__open_ialmz:hover {
23
23
  background-color: var(--color-light-specialbg-component-shade-7);
24
24
  }
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import cn from 'classnames';
4
4
  import { Button } from '@alfalab/core-components-button/esm';
5
5
 
6
- var styles = {"field":"table__field_uf96p","open":"table__open_uf96p"};
6
+ var styles = {"field":"table__field_ialmz","open":"table__open_ialmz"};
7
7
  require('./index.css')
8
8
 
9
9
  var CustomSelectField = function (_a) {
@@ -6,7 +6,7 @@ import { findAllHeadCellsProps } from './utils.js';
6
6
  import '../../utils.js';
7
7
  import '../thead/Component.js';
8
8
 
9
- var styles = {"component":"table__component_139ku","wrapper":"table__wrapper_139ku","stickyHeader":"table__stickyHeader_139ku","hasPagination":"table__hasPagination_139ku","table":"table__table_139ku"};
9
+ var styles = {"component":"table__component_ttl80","wrapper":"table__wrapper_ttl80","stickyHeader":"table__stickyHeader_ttl80","hasPagination":"table__hasPagination_ttl80","table":"table__table_ttl80"};
10
10
  require('./index.css')
11
11
 
12
12
  var Table = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: b02t2 */
1
+ /* hash: 1cacm */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-bg-primary: #fff; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -18,24 +18,24 @@
18
18
  --gap-m: 16px;
19
19
  } :root {
20
20
  } :root {
21
- } .table__component_139ku {
21
+ } .table__component_ttl80 {
22
22
  box-sizing: border-box;
23
- } .table__wrapper_139ku {
23
+ } .table__wrapper_ttl80 {
24
24
  padding: 0 var(--gap-m) var(--gap-m);
25
25
  background: var(--color-light-bg-primary);
26
26
  box-shadow: var(--shadow-xs-hard);
27
27
  border-radius: var(--border-radius-m);
28
28
  overflow: auto;
29
- } .table__stickyHeader_139ku {
29
+ } .table__stickyHeader_ttl80 {
30
30
  max-height: 100%;
31
- } .table__hasPagination_139ku {
31
+ } .table__hasPagination_ttl80 {
32
32
  padding-bottom: 0;
33
- } .table__table_139ku {
33
+ } .table__table_ttl80 {
34
34
  width: 100%;
35
35
  border-collapse: collapse;
36
36
  box-sizing: border-box
37
37
 
38
38
  /* TODO: Хак для выравнивания чекбокса */
39
- } .table__table_139ku td:first-child label > *[class^='box'], .table__table_139ku th:first-child label > *[class^='box'] {
39
+ } .table__table_ttl80 td:first-child label > *[class^='box'], .table__table_ttl80 th:first-child label > *[class^='box'] {
40
40
  margin-top: 0;
41
41
  }