@alfalab/core-components-table 2.4.0 → 2.4.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 (125) hide show
  1. package/{esm/Component-dd8ca091.d.ts → Component-0f4b9bed.d.ts} +1 -1
  2. package/{cssm/Component-72308007.d.ts → Component-10db897e.d.ts} +1 -1
  3. package/components/pagination/Component.js +1 -1
  4. package/components/pagination/index.css +9 -9
  5. package/components/pagination/select-field/index.css +4 -4
  6. package/components/pagination/select-field/index.js +1 -1
  7. package/components/table/Component.js +1 -1
  8. package/components/table/index.css +7 -7
  9. package/components/tbody/Component.js +1 -1
  10. package/components/tbody/index.css +2 -2
  11. package/components/tcell/Component.js +1 -1
  12. package/components/tcell/index.css +6 -6
  13. package/components/texpandable-row/Component.js +1 -1
  14. package/components/texpandable-row/index.css +5 -5
  15. package/components/thead/Component.js +1 -1
  16. package/components/thead/index.css +6 -6
  17. package/components/thead-cell/Component.js +1 -1
  18. package/components/thead-cell/index.css +9 -9
  19. package/components/trow/Component.js +1 -1
  20. package/components/trow/index.css +8 -8
  21. package/components/tsortable-head-cell/Component.js +1 -1
  22. package/components/tsortable-head-cell/index.css +8 -8
  23. package/{modern/Component-dd8ca091.d.ts → cssm/Component-0f4b9bed.d.ts} +1 -1
  24. package/{Component-72308007.d.ts → cssm/Component-10db897e.d.ts} +1 -1
  25. package/cssm/desktop-63dec22f.d.ts +2 -6
  26. package/cssm/desktop-69921c40.d.ts +6 -0
  27. package/{esm/hook-dd8ca091.d.ts → cssm/hook-0f4b9bed.d.ts} +6 -6
  28. package/cssm/hook-ebda875c.d.ts +1 -1
  29. package/{esm/index-72308007.d.ts → cssm/index-10db897e.d.ts} +1 -5
  30. package/cssm/index-c76d6398.d.ts +1 -1
  31. package/cssm/index-f12ee135.d.ts +1 -1
  32. package/cssm/mobile-89f0cb07.d.ts +6 -0
  33. package/cssm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  34. package/{esm/typings-9211a437.d.ts → cssm/typings-89f0cb07.d.ts} +5 -7
  35. package/{esm/utils-dd8ca091.d.ts → cssm/utils-0f4b9bed.d.ts} +1 -1
  36. package/desktop-63dec22f.d.ts +2 -6
  37. package/desktop-69921c40.d.ts +6 -0
  38. package/{Component-dd8ca091.d.ts → esm/Component-0f4b9bed.d.ts} +1 -1
  39. package/esm/{Component-72308007.d.ts → Component-10db897e.d.ts} +1 -1
  40. package/esm/components/pagination/Component.js +1 -1
  41. package/esm/components/pagination/index.css +9 -9
  42. package/esm/components/pagination/select-field/index.css +4 -4
  43. package/esm/components/pagination/select-field/index.js +1 -1
  44. package/esm/components/table/Component.js +1 -1
  45. package/esm/components/table/index.css +7 -7
  46. package/esm/components/tbody/Component.js +1 -1
  47. package/esm/components/tbody/index.css +2 -2
  48. package/esm/components/tcell/Component.js +1 -1
  49. package/esm/components/tcell/index.css +6 -6
  50. package/esm/components/texpandable-row/Component.js +1 -1
  51. package/esm/components/texpandable-row/index.css +5 -5
  52. package/esm/components/thead/Component.js +1 -1
  53. package/esm/components/thead/index.css +6 -6
  54. package/esm/components/thead-cell/Component.js +1 -1
  55. package/esm/components/thead-cell/index.css +9 -9
  56. package/esm/components/trow/Component.js +1 -1
  57. package/esm/components/trow/index.css +8 -8
  58. package/esm/components/tsortable-head-cell/Component.js +1 -1
  59. package/esm/components/tsortable-head-cell/index.css +8 -8
  60. package/esm/desktop-63dec22f.d.ts +2 -6
  61. package/esm/desktop-69921c40.d.ts +6 -0
  62. package/{hook-dd8ca091.d.ts → esm/hook-0f4b9bed.d.ts} +6 -6
  63. package/esm/hook-ebda875c.d.ts +1 -1
  64. package/{index-72308007.d.ts → esm/index-10db897e.d.ts} +1 -5
  65. package/esm/index-c76d6398.d.ts +1 -1
  66. package/esm/index-f12ee135.d.ts +1 -1
  67. package/esm/mobile-89f0cb07.d.ts +6 -0
  68. package/esm/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  69. package/{cssm/typings-9211a437.d.ts → esm/typings-89f0cb07.d.ts} +5 -7
  70. package/{modern/utils-dd8ca091.d.ts → esm/utils-0f4b9bed.d.ts} +1 -1
  71. package/{cssm/hook-dd8ca091.d.ts → hook-0f4b9bed.d.ts} +6 -6
  72. package/hook-ebda875c.d.ts +1 -1
  73. package/{modern/index-72308007.d.ts → index-10db897e.d.ts} +1 -5
  74. package/index-c76d6398.d.ts +1 -1
  75. package/index-f12ee135.d.ts +1 -1
  76. package/mobile-89f0cb07.d.ts +6 -0
  77. package/{cssm/Component-dd8ca091.d.ts → modern/Component-0f4b9bed.d.ts} +1 -1
  78. package/modern/{Component-72308007.d.ts → Component-10db897e.d.ts} +1 -1
  79. package/modern/components/pagination/Component.js +1 -1
  80. package/modern/components/pagination/index.css +9 -9
  81. package/modern/components/pagination/select-field/index.css +4 -4
  82. package/modern/components/pagination/select-field/index.js +1 -1
  83. package/modern/components/table/Component.js +1 -1
  84. package/modern/components/table/index.css +7 -7
  85. package/modern/components/tbody/Component.js +1 -1
  86. package/modern/components/tbody/index.css +2 -2
  87. package/modern/components/tcell/Component.js +1 -1
  88. package/modern/components/tcell/index.css +6 -6
  89. package/modern/components/texpandable-row/Component.js +1 -1
  90. package/modern/components/texpandable-row/index.css +5 -5
  91. package/modern/components/thead/Component.js +1 -1
  92. package/modern/components/thead/index.css +6 -6
  93. package/modern/components/thead-cell/Component.js +1 -1
  94. package/modern/components/thead-cell/index.css +9 -9
  95. package/modern/components/trow/Component.js +1 -1
  96. package/modern/components/trow/index.css +8 -8
  97. package/modern/components/tsortable-head-cell/Component.js +1 -1
  98. package/modern/components/tsortable-head-cell/index.css +8 -8
  99. package/modern/desktop-63dec22f.d.ts +2 -6
  100. package/modern/desktop-69921c40.d.ts +6 -0
  101. package/modern/{hook-dd8ca091.d.ts → hook-0f4b9bed.d.ts} +6 -6
  102. package/modern/hook-ebda875c.d.ts +1 -1
  103. package/{cssm/index-72308007.d.ts → modern/index-10db897e.d.ts} +1 -5
  104. package/modern/index-c76d6398.d.ts +1 -1
  105. package/modern/index-f12ee135.d.ts +1 -1
  106. package/modern/mobile-89f0cb07.d.ts +6 -0
  107. package/modern/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  108. package/modern/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
  109. package/{cssm/utils-dd8ca091.d.ts → modern/utils-0f4b9bed.d.ts} +1 -1
  110. package/package.json +3 -3
  111. package/{typings-dd8ca091.d.ts → typings-0f4b9bed.d.ts} +4 -0
  112. package/{typings-9211a437.d.ts → typings-89f0cb07.d.ts} +5 -7
  113. package/{utils-dd8ca091.d.ts → utils-0f4b9bed.d.ts} +1 -1
  114. package/Component.mobile-ebda875c.d.ts +0 -6
  115. package/cssm/Component.mobile-ebda875c.d.ts +0 -6
  116. package/esm/Component.mobile-ebda875c.d.ts +0 -6
  117. package/modern/Component.mobile-ebda875c.d.ts +0 -6
  118. /package/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  119. /package/{component-72308007.d.ts → component-10db897e.d.ts} +0 -0
  120. /package/cssm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  121. /package/cssm/{component-72308007.d.ts → component-10db897e.d.ts} +0 -0
  122. /package/esm/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  123. /package/esm/{component-72308007.d.ts → component-10db897e.d.ts} +0 -0
  124. /package/modern/{Component-63dec22f.d.ts → Component-69921c40.d.ts} +0 -0
  125. /package/modern/{component-72308007.d.ts → component-10db897e.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CheckmarkProps } from "./typings-dd8ca091";
3
+ import { CheckmarkProps } from "./typings-0f4b9bed";
4
4
  declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
5
5
  export { BaseCheckmark };
@@ -2,5 +2,5 @@
2
2
  import React from 'react';
3
3
  import { NavigationBarProps } from "./types-1c79e231";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
- export * from "./Component-63dec22f";
5
+ export * from "./Component-69921c40";
6
6
  export { NavigationBar };
@@ -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_18w9y","pagesWrapper":"table__pagesWrapper_18w9y","tag":"table__tag_18w9y","tagActive":"table__tagActive_18w9y","pagination":"table__pagination_18w9y","menu":"table__menu_18w9y","option":"table__option_18w9y"};
19
+ var styles = {"component":"table__component_ruazp","pagesWrapper":"table__pagesWrapper_ruazp","tag":"table__tag_ruazp","tagActive":"table__tagActive_ruazp","pagination":"table__pagination_ruazp","menu":"table__menu_ruazp","option":"table__option_ruazp"};
20
20
  require('./index.css')
21
21
 
22
22
  var Pagination = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1nfn7 */
1
+ /* hash: kw855 */
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_18w9y {
23
+ } .table__component_ruazp {
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  align-items: flex-start;
@@ -28,21 +28,21 @@
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_18w9y {
31
+ } .table__pagesWrapper_ruazp {
32
32
  display: flex;
33
- } .table__tag_18w9y.table__tag_18w9y {
33
+ } .table__tag_ruazp.table__tag_ruazp {
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_18w9y.table__tag_18w9y:last-child {
38
+ } .table__tag_ruazp.table__tag_ruazp:last-child {
39
39
  margin-right: 0;
40
- } .table__tag_18w9y.table__tag_18w9y.table__tagActive_18w9y {
40
+ } .table__tag_ruazp.table__tag_ruazp.table__tagActive_ruazp {
41
41
  cursor: default;
42
- } .table__pagination_18w9y {
42
+ } .table__pagination_ruazp {
43
43
  margin-left: auto;
44
- } .table__menu_18w9y {
44
+ } .table__menu_ruazp {
45
45
  margin: var(--gap-2xs) 0;
46
- } .table__option_18w9y {
46
+ } .table__option_ruazp {
47
47
  min-width: 208px;
48
48
  }
@@ -1,4 +1,4 @@
1
- /* hash: 2t57v */
1
+ /* hash: z4p2m */
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_13v8d svg {
18
+ } .table__field_mt9fa svg {
19
19
  width: 18px;
20
20
  height: 18px;
21
- } .table__open_13v8d,
22
- .table__open_13v8d:hover {
21
+ } .table__open_mt9fa,
22
+ .table__open_mt9fa: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_13v8d","open":"table__open_13v8d"};
15
+ var styles = {"field":"table__field_mt9fa","open":"table__open_mt9fa"};
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_1cxc6","wrapper":"table__wrapper_1cxc6","stickyHeader":"table__stickyHeader_1cxc6","hasPagination":"table__hasPagination_1cxc6","table":"table__table_1cxc6"};
18
+ var styles = {"component":"table__component_nq707","wrapper":"table__wrapper_nq707","stickyHeader":"table__stickyHeader_nq707","hasPagination":"table__hasPagination_nq707","table":"table__table_nq707"};
19
19
  require('./index.css')
20
20
 
21
21
  var Table = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1c8ki */
1
+ /* hash: tn976 */
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_1cxc6 {
21
+ } .table__component_nq707 {
22
22
  box-sizing: border-box;
23
- } .table__wrapper_1cxc6 {
23
+ } .table__wrapper_nq707 {
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_1cxc6 {
29
+ } .table__stickyHeader_nq707 {
30
30
  max-height: 100%;
31
- } .table__hasPagination_1cxc6 {
31
+ } .table__hasPagination_nq707 {
32
32
  padding-bottom: 0;
33
- } .table__table_1cxc6 {
33
+ } .table__table_nq707 {
34
34
  width: 100%;
35
35
  border-collapse: collapse;
36
36
  box-sizing: border-box
37
37
 
38
38
  /* TODO: Хак для выравнивания чекбокса */
39
- } .table__table_1cxc6 td:first-child label > *[class^='box'], .table__table_1cxc6 th:first-child label > *[class^='box'] {
39
+ } .table__table_nq707 td:first-child label > *[class^='box'], .table__table_nq707 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_20zv7"};
14
+ var styles = {"component":"table__component_l6jx4"};
15
15
  require('./index.css')
16
16
 
17
17
  var TBody = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 17bfv */
1
+ /* hash: spi5a */
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_20zv7 {
17
+ } .table__component_l6jx4 {
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_zw0wn","compactHorizontal":"table__compactHorizontal_zw0wn","compact":"table__compact_zw0wn"};
15
+ var styles = {"component":"table__component_1mzkz","compactHorizontal":"table__compactHorizontal_1mzkz","compact":"table__compact_1mzkz"};
16
16
  require('./index.css')
17
17
 
18
18
  var TCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ajukn */
1
+ /* hash: vyil4 */
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_zw0wn {
23
+ } .table__component_1mzkz {
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_zw0wn:first-child {
34
+ } .table__component_1mzkz:first-child {
35
35
  padding-left: var(--gap-m);
36
- } .table__component_zw0wn:last-child {
36
+ } .table__component_1mzkz:last-child {
37
37
  padding-right: var(--gap-m);
38
- } .table__compactHorizontal_zw0wn {
38
+ } .table__compactHorizontal_1mzkz {
39
39
  padding-left: 6px;
40
40
  padding-right: 6px;
41
- } .table__compact_zw0wn {
41
+ } .table__compact_1mzkz {
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_12cgx","selected":"table__selected_12cgx","expanded":"table__expanded_12cgx","expandable":"table__expandable_12cgx"};
15
+ var styles = {"row":"table__row_1awbd","selected":"table__selected_1awbd","expanded":"table__expanded_1awbd","expandable":"table__expandable_1awbd"};
16
16
  require('./index.css')
17
17
 
18
18
  var TExpandableRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 111n5 */
1
+ /* hash: jhu0w */
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_12cgx {
17
+ } .table__row_1awbd {
18
18
  cursor: pointer;
19
- } .table__selected_12cgx.table__expanded_12cgx {
19
+ } .table__selected_1awbd.table__expanded_1awbd {
20
20
  background-color: inherit;
21
- } .table__expanded_12cgx:hover {
21
+ } .table__expanded_1awbd:hover {
22
22
  background-color: inherit;
23
- } .table__expandable_12cgx td {
23
+ } .table__expandable_1awbd 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_1polh","row":"table__row_1polh"};
14
+ var styles = {"component":"table__component_fuml5","row":"table__row_fuml5"};
15
15
  require('./index.css')
16
16
 
17
17
  var THead = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: utoeh */
1
+ /* hash: 1bx7t */
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_1polh {
19
+ } .table__component_fuml5 {
20
20
  position: relative;
21
21
  width: 100%;
22
22
  box-sizing: border-box
23
- } .table__component_1polh th:not(:last-child):not(:empty):after {
23
+ } .table__component_fuml5 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_1polh th:after {
34
+ } .table__component_fuml5 th:after {
35
35
  opacity: 0;
36
- } .table__component_1polh:hover th:after {
36
+ } .table__component_fuml5:hover th:after {
37
37
  opacity: 1;
38
- } .table__row_1polh {
38
+ } .table__row_fuml5 {
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_10gr5","stickyHeader":"table__stickyHeader_10gr5","sortable":"table__sortable_10gr5","sorted":"table__sorted_10gr5","compactHorizontal":"table__compactHorizontal_10gr5"};
15
+ var styles = {"component":"table__component_hb737","stickyHeader":"table__stickyHeader_hb737","sortable":"table__sortable_hb737","sorted":"table__sorted_hb737","compactHorizontal":"table__compactHorizontal_hb737"};
16
16
  require('./index.css')
17
17
 
18
18
  var THeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: i9hkc */
1
+ /* hash: 5an2x */
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_10gr5 {
24
+ } .table__component_hb737 {
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_10gr5:first-child {
39
+ } .table__component_hb737:first-child {
40
40
  padding-left: var(--gap-m);
41
- } .table__component_10gr5:last-child {
41
+ } .table__component_hb737:last-child {
42
42
  padding-right: var(--gap-m);
43
- } .table__component_10gr5:not(.table__stickyHeader_10gr5) {
43
+ } .table__component_hb737:not(.table__stickyHeader_hb737) {
44
44
  position: relative;
45
- } .table__sortable_10gr5 {
45
+ } .table__sortable_hb737 {
46
46
  cursor: pointer;
47
- } .table__sorted_10gr5 {
47
+ } .table__sorted_hb737 {
48
48
  color: var(--color-light-text-primary);
49
- } .table__stickyHeader_10gr5 {
49
+ } .table__stickyHeader_hb737 {
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_10gr5 {
55
+ } .table__compactHorizontal_hb737 {
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_1qx6c","withoutBorder":"table__withoutBorder_1qx6c","clickable":"table__clickable_1qx6c","selected":"table__selected_1qx6c"};
14
+ var styles = {"component":"table__component_ezmdc","withoutBorder":"table__withoutBorder_ezmdc","clickable":"table__clickable_ezmdc","selected":"table__selected_ezmdc"};
15
15
  require('./index.css')
16
16
 
17
17
  var TRow = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: hkj3t */
1
+ /* hash: 872di */
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_1qx6c {
20
+ } .table__component_ezmdc {
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_1qx6c:first-child td {
26
+ } .table__component_ezmdc:first-child td {
27
27
  border-top: 0;
28
- } .table__withoutBorder_1qx6c td {
28
+ } .table__withoutBorder_ezmdc td {
29
29
  border: none;
30
- } .table__clickable_1qx6c {
30
+ } .table__clickable_ezmdc {
31
31
  cursor: pointer
32
- } .table__clickable_1qx6c:hover {
32
+ } .table__clickable_ezmdc:hover {
33
33
  background-color: var(--color-light-bg-secondary);
34
- } .table__selected_1qx6c {
34
+ } .table__selected_ezmdc {
35
35
  background-color: #f2f8ff /* нет цвета в палитре */
36
- } .table__selected_1qx6c:hover {
36
+ } .table__selected_ezmdc: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_1v4bn","icon":"table__icon_1v4bn","reverse":"table__reverse_1v4bn","sorted":"table__sorted_1v4bn"};
19
+ var styles = {"content":"table__content_15x6h","icon":"table__icon_15x6h","reverse":"table__reverse_15x6h","sorted":"table__sorted_15x6h"};
20
20
  require('./index.css')
21
21
 
22
22
  var TSortableHeadCell = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: ez9ux */
1
+ /* hash: 13il5 */
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_1v4bn {
21
+ } .table__content_15x6h {
22
22
  display: flex;
23
23
  align-items: flex-start;
24
- } .table__icon_1v4bn {
24
+ } .table__icon_15x6h {
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_1v4bn:hover {
36
+ } .table__icon_15x6h:hover {
37
37
  color: var(--color-light-graphic-primary);
38
- } .table__reverse_1v4bn {
38
+ } .table__reverse_15x6h {
39
39
  flex-direction: row-reverse
40
- } .table__reverse_1v4bn .table__icon_1v4bn {
40
+ } .table__reverse_15x6h .table__icon_15x6h {
41
41
  margin-left: 0;
42
42
  margin-right: var(--gap-xs);
43
- } .table__sorted_1v4bn {
43
+ } .table__sorted_15x6h {
44
44
  color: var(--color-light-graphic-link)
45
- } .table__sorted_1v4bn:hover {
45
+ } .table__sorted_15x6h:hover {
46
46
  color: var(--color-light-graphic-link);
47
47
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CheckmarkProps } from "./typings-dd8ca091";
3
+ import { CheckmarkProps } from "./typings-0f4b9bed";
4
4
  declare const BaseCheckmark: ({ selected, disabled, className, multiple, }: CheckmarkProps) => React.JSX.Element;
5
5
  export { BaseCheckmark };
@@ -2,5 +2,5 @@
2
2
  import React from 'react';
3
3
  import { NavigationBarProps } from "./types-1c79e231";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
- export * from "./Component-63dec22f";
5
+ export * from "./Component-69921c40";
6
6
  export { NavigationBar };
@@ -1,6 +1,2 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { AnchorButtonProps, NativeButtonProps } from "./typings-9211a437";
4
- type ButtonDesktopProps = Partial<AnchorButtonProps | NativeButtonProps>;
5
- declare const ButtonDesktop: React.ForwardRefExoticComponent<ButtonDesktopProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
6
- export { ButtonDesktopProps, ButtonDesktop };
1
+ export * from "./Component.desktop-785df74d";
2
+ export {};
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonDesktop };
6
+ export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { BaseSelectProps, OptionShape } from "./typings-dd8ca091";
2
+ import { BaseSelectProps, OptionShape } from "./typings-0f4b9bed";
3
3
  type UseSelectWithApplyProps = {
4
4
  /**
5
5
  * Список выбранных пунктов
@@ -44,20 +44,20 @@ type UseSelectWithApplyProps = {
44
44
  };
45
45
  declare const SELECT_ALL_KEY = "select_all";
46
46
  declare function useSelectWithApply({ options, selected, onChange, OptionsList, optionsListProps, showClear, showSelectAll, showHeaderWithSelectAll, showSearch, searchProps, }: UseSelectWithApplyProps): {
47
- OptionsList: import("react").ForwardRefExoticComponent<import("./typings-dd8ca091").OptionsListProps & {
47
+ OptionsList: import("react").ForwardRefExoticComponent<import("./typings-0f4b9bed").OptionsListProps & {
48
48
  showClear?: boolean | undefined;
49
49
  onClose?: (() => void) | undefined; /**
50
50
  * Компонент выпадающего меню
51
51
  */
52
52
  selectedDraft?: OptionShape[] | undefined;
53
- OptionsList?: import("react").FC<import("./typings-dd8ca091").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
53
+ OptionsList?: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
54
54
  Footer?: import("react").FC<import("./Component-ebda875c").FooterProps> | undefined;
55
55
  Header?: import("react").FC<import("./Component-ebda875c").HeaderProps> | undefined;
56
56
  headerProps?: import("./Component-ebda875c").HeaderProps | undefined;
57
57
  showHeaderWithSelectAll?: boolean | undefined;
58
58
  } & import("react").RefAttributes<HTMLDivElement>>;
59
59
  optionsListProps: {
60
- OptionsList: import("react").FC<import("./typings-dd8ca091").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
60
+ OptionsList: import("react").FC<import("./typings-0f4b9bed").OptionsListProps & import("react").RefAttributes<HTMLDivElement>> | undefined;
61
61
  showClear: boolean;
62
62
  onClear: () => void;
63
63
  onApply: () => void;
@@ -72,11 +72,11 @@ declare function useSelectWithApply({ options, selected, onChange, OptionsList,
72
72
  };
73
73
  allowUnselect: boolean;
74
74
  multiple: boolean;
75
- options: (OptionShape | import("./typings-dd8ca091").GroupShape | {
75
+ options: (OptionShape | import("./typings-0f4b9bed").GroupShape | {
76
76
  key: string;
77
77
  content: string;
78
78
  })[];
79
- onChange: (payload: import("./typings-dd8ca091").BaseSelectChangePayload) => void;
79
+ onChange: (payload: import("./typings-0f4b9bed").BaseSelectChangePayload) => void;
80
80
  selected: string | OptionShape | (string | OptionShape)[] | null | undefined;
81
81
  showSearch: boolean | undefined;
82
82
  searchProps: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { OptionProps, OptionShape } from "./typings-dd8ca091";
3
+ import { OptionProps, OptionShape } from "./typings-0f4b9bed";
4
4
  type OptionsFetcherResponse = {
5
5
  options: OptionShape[];
6
6
  hasMore: boolean;
@@ -10,10 +10,6 @@ declare function easeInOutQuad(x: number): number;
10
10
  declare const easingFns: {
11
11
  easeInOutQuad: typeof easeInOutQuad;
12
12
  };
13
- declare function disableUserInput<T>(disabled: boolean | undefined, event: React.KeyboardEvent<T>): void;
14
- declare const inputUtils: {
15
- disableUserInput: typeof disableUserInput;
16
- };
17
13
  /**
18
14
  * Возвращает true, если значение равно null или undefined
19
15
  */
@@ -51,4 +47,4 @@ declare const maskUtils: {
51
47
  prefixPostprocessor: typeof prefixPostprocessor;
52
48
  caretGuard: typeof caretGuard;
53
49
  };
54
- export { isClient, getDataTestId, createPaddingStyle, easingFns, inputUtils, fnUtils, maskUtils };
50
+ export { isClient, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils };
@@ -1,2 +1,2 @@
1
- export * from "./Component-72308007";
1
+ export * from "./Component-10db897e";
2
2
  export type { NavigationBarProps } from "./types-1c79e231";
@@ -1,3 +1,3 @@
1
- export * from "./component-72308007";
1
+ export * from "./component-10db897e";
2
2
  export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-67a2d8af";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ import { CommonButtonProps } from "./typings-89f0cb07";
4
+ declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
+ export { ButtonMobile };
6
+ export type { CommonButtonProps as ButtonMobileProps } from "./typings-89f0cb07";
@@ -459,6 +459,10 @@ type OptionsListProps = {
459
459
  * Обработчик отмены изменений
460
460
  */
461
461
  onClear?: () => void;
462
+ /**
463
+ * Указать индекс пункта для hover состояния
464
+ */
465
+ setHighlightedIndex?: (index: number) => void;
462
466
  };
463
467
  type OptgroupProps = {
464
468
  /**
@@ -69,6 +69,8 @@ type ComponentProps = {
69
69
  * Дочерние элементы.
70
70
  */
71
71
  children?: ReactNode;
72
+ };
73
+ type PrivateButtonProps = {
72
74
  /**
73
75
  * Основные стили компонента.
74
76
  */
@@ -80,16 +82,12 @@ type ComponentProps = {
80
82
  */
81
83
  colorStylesMap: StyleColors;
82
84
  };
83
- type AnchorBaseButtonProps = ComponentProps & AnchorHTMLAttributes<HTMLAnchorElement>;
84
- type NativeBaseButtonProps = ComponentProps & ButtonHTMLAttributes<HTMLButtonElement>;
85
- type BaseButtonProps = Partial<AnchorBaseButtonProps | NativeBaseButtonProps>;
86
- type AnchorButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & AnchorHTMLAttributes<HTMLAnchorElement>;
87
- type NativeButtonProps = Omit<BaseButtonProps, 'styles' | 'colorStylesMap'> & ButtonHTMLAttributes<HTMLButtonElement>;
88
- type ButtonProps = Partial<AnchorButtonProps | NativeButtonProps> & {
85
+ type CommonButtonProps = ComponentProps & Partial<AnchorHTMLAttributes<HTMLAnchorElement> | ButtonHTMLAttributes<HTMLButtonElement>>;
86
+ type ButtonProps = CommonButtonProps & {
89
87
  /**
90
88
  * Контрольная точка, с нее начинается desktop версия
91
89
  * @default 1024
92
90
  */
93
91
  breakpoint?: number;
94
92
  };
95
- export { StyleColors, ComponentProps, AnchorBaseButtonProps, NativeBaseButtonProps, BaseButtonProps, AnchorButtonProps, NativeButtonProps, ButtonProps };
93
+ export { StyleColors, ComponentProps, PrivateButtonProps, CommonButtonProps, ButtonProps };