@alfalab/core-components-file-upload-item 6.0.3 → 6.1.0

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 (103) hide show
  1. package/Component.js +1 -1
  2. package/actions-control.module-340119ff.js +6 -0
  3. package/components/actions-control/actions-control.css +6 -6
  4. package/components/actions-control/actions.js +1 -1
  5. package/components/actions-control/components/delete-button/delete-button.js +1 -1
  6. package/components/actions-control/components/download-button/download-button.js +1 -1
  7. package/components/actions-control/components/restore-button/restore-button.js +1 -1
  8. package/components/content/components/content-error/content-error.css +2 -2
  9. package/components/content/components/content-error/content-error.js +4 -4
  10. package/components/content/components/content-subtitle/content-subtitle.css +4 -4
  11. package/components/content/components/content-subtitle/content-subtitle.js +6 -6
  12. package/components/content/content.css +8 -8
  13. package/components/content/content.js +2 -2
  14. package/components/status-control/components/status-control-icon/status-control-icon.css +6 -6
  15. package/components/status-control/components/status-control-icon/status-control-icon.js +1 -1
  16. package/components/status-control/status-control.css +10 -10
  17. package/components/status-control/status-control.js +1 -1
  18. package/context/file-upload-item-context.d.ts +2 -1
  19. package/cssm/components/content/components/content-error/content-error.js +3 -3
  20. package/cssm/components/content/components/content-subtitle/content-subtitle.js +5 -5
  21. package/cssm/components/content/content.js +1 -1
  22. package/cssm/context/file-upload-item-context.d.ts +2 -1
  23. package/cssm/index.d.ts +2 -0
  24. package/cssm/types/file-upload-item-props.d.ts +2 -1
  25. package/cssm/types/status.d.ts +2 -0
  26. package/cssm/types/status.js +2 -0
  27. package/cssm/utils.d.ts +6 -5
  28. package/esm/Component.js +1 -1
  29. package/esm/actions-control.module-9f6e94da.js +4 -0
  30. package/esm/components/actions-control/actions-control.css +6 -6
  31. package/esm/components/actions-control/actions.js +1 -1
  32. package/esm/components/actions-control/components/delete-button/delete-button.js +1 -1
  33. package/esm/components/actions-control/components/download-button/download-button.js +1 -1
  34. package/esm/components/actions-control/components/restore-button/restore-button.js +1 -1
  35. package/esm/components/content/components/content-error/content-error.css +2 -2
  36. package/esm/components/content/components/content-error/content-error.js +5 -5
  37. package/esm/components/content/components/content-subtitle/content-subtitle.css +4 -4
  38. package/esm/components/content/components/content-subtitle/content-subtitle.js +7 -7
  39. package/esm/components/content/content.css +8 -8
  40. package/esm/components/content/content.js +3 -3
  41. package/esm/components/status-control/components/status-control-icon/status-control-icon.css +6 -6
  42. package/esm/components/status-control/components/status-control-icon/status-control-icon.js +1 -1
  43. package/esm/components/status-control/status-control.css +10 -10
  44. package/esm/components/status-control/status-control.js +1 -1
  45. package/esm/context/file-upload-item-context.d.ts +2 -1
  46. package/esm/index.css +3 -3
  47. package/esm/index.d.ts +2 -0
  48. package/esm/types/file-upload-item-props.d.ts +2 -1
  49. package/esm/types/status.d.ts +2 -0
  50. package/esm/types/status.js +1 -0
  51. package/esm/utils.d.ts +6 -5
  52. package/index.css +3 -3
  53. package/index.d.ts +2 -0
  54. package/modern/Component.js +1 -1
  55. package/modern/actions-control.module-4ddd7980.js +4 -0
  56. package/modern/components/actions-control/actions-control.css +6 -6
  57. package/modern/components/actions-control/actions.js +1 -1
  58. package/modern/components/actions-control/components/delete-button/delete-button.js +1 -1
  59. package/modern/components/actions-control/components/download-button/download-button.js +1 -1
  60. package/modern/components/actions-control/components/restore-button/restore-button.js +1 -1
  61. package/modern/components/content/components/content-error/content-error.css +2 -2
  62. package/modern/components/content/components/content-error/content-error.js +5 -5
  63. package/modern/components/content/components/content-subtitle/content-subtitle.css +4 -4
  64. package/modern/components/content/components/content-subtitle/content-subtitle.js +7 -7
  65. package/modern/components/content/content.css +8 -8
  66. package/modern/components/content/content.js +3 -3
  67. package/modern/components/status-control/components/status-control-icon/status-control-icon.css +6 -6
  68. package/modern/components/status-control/components/status-control-icon/status-control-icon.js +1 -1
  69. package/modern/components/status-control/status-control.css +10 -10
  70. package/modern/components/status-control/status-control.js +1 -1
  71. package/modern/context/file-upload-item-context.d.ts +2 -1
  72. package/modern/index.css +3 -3
  73. package/modern/index.d.ts +2 -0
  74. package/modern/types/file-upload-item-props.d.ts +2 -1
  75. package/modern/types/status.d.ts +2 -0
  76. package/modern/types/status.js +1 -0
  77. package/modern/utils.d.ts +6 -5
  78. package/moderncssm/components/content/components/content-error/content-error.js +4 -4
  79. package/moderncssm/components/content/components/content-subtitle/content-subtitle.js +6 -6
  80. package/moderncssm/components/content/content.js +2 -2
  81. package/moderncssm/context/file-upload-item-context.d.ts +2 -1
  82. package/moderncssm/index.d.ts +2 -0
  83. package/moderncssm/types/file-upload-item-props.d.ts +2 -1
  84. package/moderncssm/types/status.d.ts +2 -0
  85. package/moderncssm/types/status.js +1 -0
  86. package/moderncssm/utils.d.ts +6 -5
  87. package/package.json +7 -6
  88. package/src/Component.tsx +1 -1
  89. package/src/components/content/components/content-error/content-error.tsx +7 -7
  90. package/src/components/content/components/content-subtitle/content-subtitle.tsx +11 -11
  91. package/src/components/content/content.tsx +3 -3
  92. package/src/context/file-upload-item-context.tsx +3 -1
  93. package/src/index.ts +3 -0
  94. package/src/types/file-upload-item-props.ts +3 -1
  95. package/src/types/status.ts +7 -0
  96. package/src/utils.ts +7 -5
  97. package/types/file-upload-item-props.d.ts +2 -1
  98. package/types/status.d.ts +2 -0
  99. package/types/status.js +2 -0
  100. package/utils.d.ts +6 -5
  101. package/actions-control.module-5a271f1d.js +0 -6
  102. package/esm/actions-control.module-e45efbe7.js +0 -4
  103. package/modern/actions-control.module-3ff0963b.js +0 -4
package/Component.js CHANGED
@@ -14,7 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
15
15
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
16
16
 
17
- var styles = {"component":"file-upload-item__component_172uc","restore":"file-upload-item__restore_172uc"};
17
+ var styles = {"component":"file-upload-item__component_qzh6p","restore":"file-upload-item__restore_qzh6p"};
18
18
  require('./index.css')
19
19
 
20
20
  var FileUploadItemComponent = function (_a) {
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var styles = {"container":"file-upload-item__container_cneu2","icon":"file-upload-item__icon_cneu2","deleteIconColor":"file-upload-item__deleteIconColor_cneu2","downloadIconColor":"file-upload-item__downloadIconColor_cneu2","restoreIconColor":"file-upload-item__restoreIconColor_cneu2"};
4
+ require('./components/actions-control/actions-control.css')
5
+
6
+ exports.styles = styles;
@@ -1,4 +1,4 @@
1
- /* hash: 1kpeo */
1
+ /* hash: 7pfwm */
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-text-tertiary: rgba(5, 8, 29, 0.38); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -19,16 +19,16 @@
19
19
  /* новые значения, используйте их */
20
20
  } :root {
21
21
  } :root {
22
- } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_rpv6d {
22
+ } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_cneu2 {
23
23
  display: flex;
24
24
  max-width: 144px
25
- } .file-upload-item__container_rpv6d .file-upload-item__icon_rpv6d {
25
+ } .file-upload-item__container_cneu2 .file-upload-item__icon_cneu2 {
26
26
  width: 48px;
27
27
  height: 48px;
28
- } .file-upload-item__deleteIconColor_rpv6d {
28
+ } .file-upload-item__deleteIconColor_cneu2 {
29
29
  fill: var(--color-light-text-tertiary);
30
- } .file-upload-item__downloadIconColor_rpv6d {
30
+ } .file-upload-item__downloadIconColor_cneu2 {
31
31
  fill: var(--color-light-text-tertiary);
32
- } .file-upload-item__restoreIconColor_rpv6d {
32
+ } .file-upload-item__restoreIconColor_cneu2 {
33
33
  fill: var(--color-light-text-tertiary);
34
34
  }
@@ -7,7 +7,7 @@ var context_fileUploadItemContext = require('../../context/file-upload-item-cont
7
7
  var components_actionsControl_components_deleteButton_deleteButton = require('./components/delete-button/delete-button.js');
8
8
  var components_actionsControl_components_downloadButton_downloadButton = require('./components/download-button/download-button.js');
9
9
  var components_actionsControl_components_restoreButton_restoreButton = require('./components/restore-button/restore-button.js');
10
- var actionsControl_module = require('../../actions-control.module-5a271f1d.js');
10
+ var actionsControl_module = require('../../actions-control.module-340119ff.js');
11
11
 
12
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
13
13
 
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
7
7
  var CrossMIcon = require('@alfalab/icons-glyph/CrossMIcon');
8
8
  var context_fileUploadItemContext = require('../../../../context/file-upload-item-context.js');
9
- var actionsControl_module = require('../../../../actions-control.module-5a271f1d.js');
9
+ var actionsControl_module = require('../../../../actions-control.module-340119ff.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
7
7
  var ArrowDownLineDownCompactMIcon = require('@alfalab/icons-glyph/ArrowDownLineDownCompactMIcon');
8
8
  var context_fileUploadItemContext = require('../../../../context/file-upload-item-context.js');
9
- var actionsControl_module = require('../../../../actions-control.module-5a271f1d.js');
9
+ var actionsControl_module = require('../../../../actions-control.module-340119ff.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var coreComponentsIconButton = require('@alfalab/core-components-icon-button');
7
7
  var ArrowsCwCompactMIcon = require('@alfalab/icons-glyph/ArrowsCwCompactMIcon');
8
8
  var context_fileUploadItemContext = require('../../../../context/file-upload-item-context.js');
9
- var actionsControl_module = require('../../../../actions-control.module-5a271f1d.js');
9
+ var actionsControl_module = require('../../../../actions-control.module-340119ff.js');
10
10
 
11
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
12
12
 
@@ -1,4 +1,4 @@
1
- /* hash: 1ef6r */
2
- .file-upload-item__errorItem_8c1qp {
1
+ /* hash: 4ben1 */
2
+ .file-upload-item__errorItem_i1tic {
3
3
  display: block;
4
4
  }
@@ -10,18 +10,18 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
 
13
- var styles = {"errorItem":"file-upload-item__errorItem_8c1qp"};
13
+ var styles = {"errorItem":"file-upload-item__errorItem_i1tic"};
14
14
  require('./content-error.css')
15
15
 
16
16
  var ContentError = function () {
17
17
  var error = React.useContext(context_fileUploadItemContext.FileUploadItemContext).error;
18
18
  if (typeof error === 'string' && error.length > 0) {
19
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles.errorItem, view: 'primary-small', color: 'negative' }, error));
19
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: styles.errorItem, view: 'primary-small', color: 'negative' }, error));
20
20
  }
21
21
  if (Array.isArray(error) && error.length > 0) {
22
- return (React__default.default.createElement("div", null, error.map(function (item) { return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { key: item, className: styles.errorItem, view: 'primary-small', color: 'negative' }, item)); })));
22
+ return (React__default.default.createElement("div", null, error.map(function (item) { return (React__default.default.createElement(coreComponentsTypography.Text, { key: item, className: styles.errorItem, view: 'primary-small', color: 'negative' }, item)); })));
23
23
  }
24
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles.errorItem, view: 'primary-small', color: 'negative' }, "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B"));
24
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: styles.errorItem, view: 'primary-small', color: 'negative' }, "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B"));
25
25
  };
26
26
 
27
27
  exports.ContentError = ContentError;
@@ -1,4 +1,4 @@
1
- /* hash: 19ny7 */
1
+ /* hash: 18nqn */
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 { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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,12 +20,12 @@
20
20
  --gap-8: var(--gap-xs);
21
21
  } :root {
22
22
  } :root {
23
- } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__subtitle_4gddx {
23
+ } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__subtitle_1of13 {
24
24
  display: block
25
- } .file-upload-item__subtitle_4gddx.file-upload-item__truncate_4gddx {
25
+ } .file-upload-item__subtitle_1of13.file-upload-item__truncate_1of13 {
26
26
  white-space: nowrap;
27
27
  overflow: hidden;
28
28
  text-overflow: ellipsis;
29
- } .file-upload-item__size_4gddx {
29
+ } .file-upload-item__size_1of13 {
30
30
  margin-right: var(--gap-8);
31
31
  }
@@ -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 = {"subtitle":"file-upload-item__subtitle_4gddx","truncate":"file-upload-item__truncate_4gddx","size":"file-upload-item__size_4gddx"};
19
+ var styles = {"subtitle":"file-upload-item__subtitle_1of13","truncate":"file-upload-item__truncate_1of13","size":"file-upload-item__size_1of13"};
20
20
  require('./content-subtitle.css')
21
21
 
22
22
  var ContentSubtitle = function () {
@@ -34,7 +34,7 @@ var ContentSubtitle = function () {
34
34
  var validProgressBar = validateProgressBarValue(progressBar);
35
35
  // uploading status
36
36
  if (utils.isUploadingStatus(uploadStatus)) {
37
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary' },
37
+ return (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'secondary' },
38
38
  "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",
39
39
  '\u00A0',
40
40
  Math.floor(validProgressBar),
@@ -47,14 +47,14 @@ var ContentSubtitle = function () {
47
47
  // success status
48
48
  if (showMeta) {
49
49
  return (React__default.default.createElement("div", null,
50
- size && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles.size, view: 'primary-small', color: 'secondary' }, utils.humanFileSize(size))),
51
- uploadDate && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary' }, uploadDate))));
50
+ size && (React__default.default.createElement(coreComponentsTypography.Text, { className: styles.size, view: 'primary-small', color: 'secondary' }, utils.humanFileSize(size))),
51
+ uploadDate && (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'secondary' }, uploadDate))));
52
52
  }
53
53
  // restore status
54
54
  if (showRestore) {
55
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'tertiary' }, "\u0424\u0430\u0439\u043B \u0443\u0434\u0430\u043B\u0435\u043D"));
55
+ return (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'tertiary' }, "\u0424\u0430\u0439\u043B \u0443\u0434\u0430\u043B\u0435\u043D"));
56
56
  }
57
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: cn__default.default(styles.subtitle, (_a = {},
57
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: cn__default.default(styles.subtitle, (_a = {},
58
58
  _a[styles.truncate] = truncate,
59
59
  _a)), view: 'primary-small', color: 'secondary' }, subtitle));
60
60
  };
@@ -1,4 +1,4 @@
1
- /* hash: 73re9 */
1
+ /* hash: t4wo2 */
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-text-tertiary: rgba(5, 8, 29, 0.38); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -25,26 +25,26 @@
25
25
  --gap-16: var(--gap-m);
26
26
  } :root {
27
27
  } :root {
28
- } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_ol3so {
28
+ } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_9inge {
29
29
  padding: var(--gap-2) 0 0 var(--gap-16);
30
30
  width: 100%;
31
31
  cursor: pointer
32
- } .file-upload-item__container_ol3so.file-upload-item__single_ol3so {
32
+ } .file-upload-item__container_9inge.file-upload-item__single_9inge {
33
33
  display: flex;
34
34
  flex-direction: column;
35
35
  justify-content: center;
36
36
  padding-top: 0;
37
37
  min-height: 48px
38
- } .file-upload-item__container_ol3so.file-upload-item__single_ol3so .file-upload-item__title_ol3so {
38
+ } .file-upload-item__container_9inge.file-upload-item__single_9inge .file-upload-item__title_9inge {
39
39
  margin-bottom: 0;
40
- } .file-upload-item__container_ol3so .file-upload-item__title_ol3so {
40
+ } .file-upload-item__container_9inge .file-upload-item__title_9inge {
41
41
  margin-bottom: var(--gap-4);
42
- } .file-upload-item__container_ol3so .file-upload-item__title_ol3so {
42
+ } .file-upload-item__container_9inge .file-upload-item__title_9inge {
43
43
  display: block
44
- } .file-upload-item__container_ol3so .file-upload-item__title_ol3so.file-upload-item__truncate_ol3so {
44
+ } .file-upload-item__container_9inge .file-upload-item__title_9inge.file-upload-item__truncate_9inge {
45
45
  white-space: nowrap;
46
46
  overflow: hidden;
47
47
  text-overflow: ellipsis;
48
- } .file-upload-item__container_ol3so .file-upload-item__title_ol3so.file-upload-item__restore_ol3so {
48
+ } .file-upload-item__container_9inge .file-upload-item__title_9inge.file-upload-item__restore_9inge {
49
49
  color: var(--color-light-text-tertiary);
50
50
  }
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"container":"file-upload-item__container_ol3so","single":"file-upload-item__single_ol3so","title":"file-upload-item__title_ol3so","truncate":"file-upload-item__truncate_ol3so","restore":"file-upload-item__restore_ol3so"};
16
+ var styles = {"container":"file-upload-item__container_9inge","single":"file-upload-item__single_9inge","title":"file-upload-item__title_9inge","truncate":"file-upload-item__truncate_9inge","restore":"file-upload-item__restore_9inge"};
17
17
  require('./content.css')
18
18
 
19
19
  var Content = function () {
@@ -25,7 +25,7 @@ var Content = function () {
25
25
  return (React__default.default.createElement("div", { className: cn__default.default(styles.container, (_a = {},
26
26
  _a[styles.single] = !subtitle,
27
27
  _a)) },
28
- title && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: cn__default.default(styles.title, (_b = {},
28
+ title && (React__default.default.createElement(coreComponentsTypography.Text, { className: cn__default.default(styles.title, (_b = {},
29
29
  _b[styles.truncate] = truncate,
30
30
  _b[styles.restore] = showRestore,
31
31
  _b)), view: 'component', color: 'primary' }, title)),
@@ -1,4 +1,4 @@
1
- /* hash: 15g9m */
1
+ /* hash: gixpk */
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-translucent-1300: rgba(3, 3, 6, 0.88); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -24,14 +24,14 @@
24
24
  --color-light-decorative-green: #0cc44d;
25
25
  --color-light-decorative-orange: #fa9313;
26
26
  --color-light-decorative-red: #fe5e48;
27
- } .file-upload-item__iconPDFColored_1xp9p {
27
+ } .file-upload-item__iconPDFColored_7d0l2 {
28
28
  fill: var(--color-light-decorative-red);
29
- } .file-upload-item__iconDOCColored_1xp9p {
29
+ } .file-upload-item__iconDOCColored_7d0l2 {
30
30
  fill: var(--color-light-decorative-blue);
31
- } .file-upload-item__iconExcelColored_1xp9p {
31
+ } .file-upload-item__iconExcelColored_7d0l2 {
32
32
  fill: var(--color-light-decorative-green);
33
- } .file-upload-item__icon1CColored_1xp9p {
33
+ } .file-upload-item__icon1CColored_7d0l2 {
34
34
  fill: var(--color-light-decorative-orange);
35
- } .file-upload-item__iconDocumentColored_1xp9p {
35
+ } .file-upload-item__iconDocumentColored_7d0l2 {
36
36
  fill: var(--color-light-neutral-translucent-1300);
37
37
  }
@@ -21,7 +21,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
21
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
22
22
  var DocumentOffMIcon__default = /*#__PURE__*/_interopDefaultCompat(DocumentOffMIcon);
23
23
 
24
- var styles = {"iconPDFColored":"file-upload-item__iconPDFColored_1xp9p","iconDOCColored":"file-upload-item__iconDOCColored_1xp9p","iconExcelColored":"file-upload-item__iconExcelColored_1xp9p","icon1CColored":"file-upload-item__icon1CColored_1xp9p","iconDocumentColored":"file-upload-item__iconDocumentColored_1xp9p"};
24
+ var styles = {"iconPDFColored":"file-upload-item__iconPDFColored_7d0l2","iconDOCColored":"file-upload-item__iconDOCColored_7d0l2","iconExcelColored":"file-upload-item__iconExcelColored_7d0l2","icon1CColored":"file-upload-item__icon1CColored_7d0l2","iconDocumentColored":"file-upload-item__iconDocumentColored_7d0l2"};
25
25
  require('./status-control-icon.css')
26
26
 
27
27
  /* eslint-disable complexity */
@@ -1,4 +1,4 @@
1
- /* hash: 1tonb */
1
+ /* hash: 1ps93 */
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-500: #babbc2;
@@ -23,10 +23,10 @@
23
23
  --gap-4-neg: var(--gap-2xs-neg);
24
24
  } :root {
25
25
  } :root {
26
- } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_1gini {
26
+ } /* сбрасывает синюю подсветку при нажатии */ .file-upload-item__container_1q8fa {
27
27
  position: relative;
28
28
  cursor: pointer
29
- } .file-upload-item__container_1gini .file-upload-item__progress_1gini {
29
+ } .file-upload-item__container_1q8fa .file-upload-item__progress_1q8fa {
30
30
  position: absolute;
31
31
  top: var(--gap-4-neg);
32
32
  left: var(--gap-4-neg);
@@ -38,20 +38,20 @@
38
38
  -webkit-mask-image: conic-gradient(black 0, transparent 0);
39
39
 
40
40
  mask-image: conic-gradient(black 0, transparent 0)
41
- } .file-upload-item__container_1gini .file-upload-item__progress_1gini.file-upload-item__uploading_1gini {
41
+ } .file-upload-item__container_1q8fa .file-upload-item__progress_1q8fa.file-upload-item__uploading_1q8fa {
42
42
  opacity: 1;
43
- } .file-upload-item__container_1gini .file-upload-item__progress_1gini.file-upload-item__success_1gini,
44
- .file-upload-item__container_1gini .file-upload-item__progress_1gini.file-upload-item__error_1gini {
43
+ } .file-upload-item__container_1q8fa .file-upload-item__progress_1q8fa.file-upload-item__success_1q8fa,
44
+ .file-upload-item__container_1q8fa .file-upload-item__progress_1q8fa.file-upload-item__error_1q8fa {
45
45
  transition: opacity 400ms ease-in;
46
46
  opacity: 0;
47
47
  -webkit-mask-image: conic-gradient(black 360deg, transparent 0);
48
48
  mask-image: conic-gradient(black 360deg, transparent 0);
49
- } .file-upload-item__container_1gini .file-upload-item__progressBarTransparent_1gini {
49
+ } .file-upload-item__container_1q8fa .file-upload-item__progressBarTransparent_1q8fa {
50
50
  fill: transparent;
51
- } .file-upload-item__container_1gini .file-upload-item__progressBarUploading_1gini {
51
+ } .file-upload-item__container_1q8fa .file-upload-item__progressBarUploading_1q8fa {
52
52
  fill: var(--color-light-neutral-500);
53
- } .file-upload-item__container_1gini .file-upload-item__progressBarSuccess_1gini {
53
+ } .file-upload-item__container_1q8fa .file-upload-item__progressBarSuccess_1q8fa {
54
54
  fill: var(--color-light-status-positive);
55
- } .file-upload-item__container_1gini .file-upload-item__progressBarError_1gini {
55
+ } .file-upload-item__container_1q8fa .file-upload-item__progressBarError_1q8fa {
56
56
  fill: var(--color-light-status-negative);
57
57
  }
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
17
17
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
 
20
- var styles = {"container":"file-upload-item__container_1gini","progress":"file-upload-item__progress_1gini","uploading":"file-upload-item__uploading_1gini","success":"file-upload-item__success_1gini","error":"file-upload-item__error_1gini","progressBarTransparent":"file-upload-item__progressBarTransparent_1gini","progressBarUploading":"file-upload-item__progressBarUploading_1gini","progressBarSuccess":"file-upload-item__progressBarSuccess_1gini","progressBarError":"file-upload-item__progressBarError_1gini"};
20
+ var styles = {"container":"file-upload-item__container_1q8fa","progress":"file-upload-item__progress_1q8fa","uploading":"file-upload-item__uploading_1q8fa","success":"file-upload-item__success_1q8fa","error":"file-upload-item__error_1q8fa","progressBarTransparent":"file-upload-item__progressBarTransparent_1q8fa","progressBarUploading":"file-upload-item__progressBarUploading_1q8fa","progressBarSuccess":"file-upload-item__progressBarSuccess_1q8fa","progressBarError":"file-upload-item__progressBarError_1q8fa"};
21
21
  require('./status-control.css')
22
22
 
23
23
  var StatusControl = function () {
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ElementType, HTMLAttributeAnchorTarget, MouseEvent } from 'react';
3
+ import { FileUploadItemStatus } from "../types/status";
3
4
  type TFileUploadItemContext = {
4
5
  showRestore?: boolean;
5
- uploadStatus?: string;
6
+ uploadStatus?: FileUploadItemStatus;
6
7
  error?: string | string[];
7
8
  title?: string;
8
9
  subtitle?: string;
@@ -15,12 +15,12 @@ var styles__default = /*#__PURE__*/_interopDefaultCompat(styles);
15
15
  var ContentError = function () {
16
16
  var error = React.useContext(context_fileUploadItemContext.FileUploadItemContext).error;
17
17
  if (typeof error === 'string' && error.length > 0) {
18
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, error));
18
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, error));
19
19
  }
20
20
  if (Array.isArray(error) && error.length > 0) {
21
- return (React__default.default.createElement("div", null, error.map(function (item) { return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { key: item, className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, item)); })));
21
+ return (React__default.default.createElement("div", null, error.map(function (item) { return (React__default.default.createElement(coreComponentsTypography.Text, { key: item, className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, item)); })));
22
22
  }
23
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B"));
23
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: styles__default.default.errorItem, view: 'primary-small', color: 'negative' }, "\u041D\u0435 \u0443\u0434\u0430\u043B\u043E\u0441\u044C \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C \u0444\u0430\u0439\u043B"));
24
24
  };
25
25
 
26
26
  exports.ContentError = ContentError;
@@ -33,7 +33,7 @@ var ContentSubtitle = function () {
33
33
  var validProgressBar = validateProgressBarValue(progressBar);
34
34
  // uploading status
35
35
  if (utils.isUploadingStatus(uploadStatus)) {
36
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary' },
36
+ return (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'secondary' },
37
37
  "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430",
38
38
  '\u00A0',
39
39
  Math.floor(validProgressBar),
@@ -46,14 +46,14 @@ var ContentSubtitle = function () {
46
46
  // success status
47
47
  if (showMeta) {
48
48
  return (React__default.default.createElement("div", null,
49
- size && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: styles__default.default.size, view: 'primary-small', color: 'secondary' }, utils.humanFileSize(size))),
50
- uploadDate && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'secondary' }, uploadDate))));
49
+ size && (React__default.default.createElement(coreComponentsTypography.Text, { className: styles__default.default.size, view: 'primary-small', color: 'secondary' }, utils.humanFileSize(size))),
50
+ uploadDate && (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'secondary' }, uploadDate))));
51
51
  }
52
52
  // restore status
53
53
  if (showRestore) {
54
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { view: 'primary-small', color: 'tertiary' }, "\u0424\u0430\u0439\u043B \u0443\u0434\u0430\u043B\u0435\u043D"));
54
+ return (React__default.default.createElement(coreComponentsTypography.Text, { view: 'primary-small', color: 'tertiary' }, "\u0424\u0430\u0439\u043B \u0443\u0434\u0430\u043B\u0435\u043D"));
55
55
  }
56
- return (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: cn__default.default(styles__default.default.subtitle, (_a = {},
56
+ return (React__default.default.createElement(coreComponentsTypography.Text, { className: cn__default.default(styles__default.default.subtitle, (_a = {},
57
57
  _a[styles__default.default.truncate] = truncate,
58
58
  _a)), view: 'primary-small', color: 'secondary' }, subtitle));
59
59
  };
@@ -24,7 +24,7 @@ var Content = function () {
24
24
  return (React__default.default.createElement("div", { className: cn__default.default(styles__default.default.container, (_a = {},
25
25
  _a[styles__default.default.single] = !subtitle,
26
26
  _a)) },
27
- title && (React__default.default.createElement(coreComponentsTypography.Typography.Text, { className: cn__default.default(styles__default.default.title, (_b = {},
27
+ title && (React__default.default.createElement(coreComponentsTypography.Text, { className: cn__default.default(styles__default.default.title, (_b = {},
28
28
  _b[styles__default.default.truncate] = truncate,
29
29
  _b[styles__default.default.restore] = showRestore,
30
30
  _b)), view: 'component', color: 'primary' }, title)),
@@ -1,8 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { ElementType, HTMLAttributeAnchorTarget, MouseEvent } from 'react';
3
+ import { FileUploadItemStatus } from "../types/status";
3
4
  type TFileUploadItemContext = {
4
5
  showRestore?: boolean;
5
- uploadStatus?: string;
6
+ uploadStatus?: FileUploadItemStatus;
6
7
  error?: string | string[];
7
8
  title?: string;
8
9
  subtitle?: string;
package/cssm/index.d.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from "./Component";
2
+ export { FileUploadItemProps } from "./types/file-upload-item-props";
3
+ export { FileUploadItemStatus } from "./types/status";
@@ -1,6 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { ElementType, HTMLAttributeAnchorTarget, MouseEvent } from "react";
4
+ import { FileUploadItemStatus } from "./status";
4
5
  type FileUploadItemProps = {
5
6
  /**
6
7
  * Дополнительный класс
@@ -46,7 +47,7 @@ type FileUploadItemProps = {
46
47
  /**
47
48
  * Статус загрузки файла
48
49
  */
49
- uploadStatus?: string;
50
+ uploadStatus?: FileUploadItemStatus;
50
51
  /**
51
52
  * Сообщение об ошибке
52
53
  */
@@ -0,0 +1,2 @@
1
+ type FileUploadItemStatus = 'INITIAL' | 'SUCCESS' | 'ERROR' | 'UPLOADING' | 'UPLOADED' | 'DELETED';
2
+ export { FileUploadItemStatus };
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+