@hh.ru/magritte-ui-upload 4.0.4 → 4.0.6
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.
- package/FileName.js +1 -1
- package/FileView.js +1 -1
- package/FileViewWithPreview.js +1 -1
- package/MultiUpload.js +2 -2
- package/MultiUpload.js.map +1 -1
- package/SingleUpload.js +1 -1
- package/Upload.js +1 -1
- package/index.css +123 -119
- package/index.js +1 -1
- package/package.json +11 -11
- package/upload-D-rfJu90.js +5 -0
- package/upload-D-rfJu90.js.map +1 -0
- package/upload-C7Yq85R_.js +0 -5
- package/upload-C7Yq85R_.js.map +0 -1
package/FileName.js
CHANGED
|
@@ -2,7 +2,7 @@ import './index.css';
|
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
|
|
5
|
-
var styles = {"file-name-body":"magritte-file-name-body___PTTMc_4-0-
|
|
5
|
+
var styles = {"file-name-body":"magritte-file-name-body___PTTMc_4-0-6","fileNameBody":"magritte-file-name-body___PTTMc_4-0-6","file-name-body_medium":"magritte-file-name-body_medium___sfmmq_4-0-6","fileNameBodyMedium":"magritte-file-name-body_medium___sfmmq_4-0-6","file-name":"magritte-file-name___ZSL2g_4-0-6","fileName":"magritte-file-name___ZSL2g_4-0-6"};
|
|
6
6
|
|
|
7
7
|
const parse = (file) => {
|
|
8
8
|
const name = file.name;
|
package/FileView.js
CHANGED
|
@@ -9,7 +9,7 @@ import { FileName } from './FileName.js';
|
|
|
9
9
|
import { getUploadIcon, bytes2mb } from './utils.js';
|
|
10
10
|
import 'classnames';
|
|
11
11
|
|
|
12
|
-
var styles = {"file-info-body":"magritte-file-info-body___HmfXd_4-0-
|
|
12
|
+
var styles = {"file-info-body":"magritte-file-info-body___HmfXd_4-0-6","fileInfoBody":"magritte-file-info-body___HmfXd_4-0-6","file-info-and-controls":"magritte-file-info-and-controls___61iyY_4-0-6","fileInfoAndControls":"magritte-file-info-and-controls___61iyY_4-0-6","file-info-container":"magritte-file-info-container___WFab8_4-0-6","fileInfoContainer":"magritte-file-info-container___WFab8_4-0-6","file-info":"magritte-file-info___HrqiB_4-0-6","fileInfo":"magritte-file-info___HrqiB_4-0-6","controls":"magritte-controls___WdH7A_4-0-6"};
|
|
13
13
|
|
|
14
14
|
const FileView = ({ uploadType, loadedFile, preview, renderFileInfo, onFileDelete, 'aria-label': ariaLabel, isLast = false, }) => {
|
|
15
15
|
const isLoading = Boolean(loadedFile?.loading);
|
package/FileViewWithPreview.js
CHANGED
|
@@ -12,7 +12,7 @@ import './FileName.js';
|
|
|
12
12
|
import 'classnames';
|
|
13
13
|
import 'react';
|
|
14
14
|
|
|
15
|
-
var styles = {"item":"magritte-item___vVDG-_4-0-
|
|
15
|
+
var styles = {"item":"magritte-item___vVDG-_4-0-6"};
|
|
16
16
|
|
|
17
17
|
const FileViewWithPreview = ({ loadedFile, ...otherProps }) => {
|
|
18
18
|
const uploadType = getFileType(loadedFile.data.type);
|
package/MultiUpload.js
CHANGED
|
@@ -8,7 +8,7 @@ import { Placeholder } from './Placeholder.js';
|
|
|
8
8
|
import { useDropActions } from './useDropActions.js';
|
|
9
9
|
import { useDropButtons } from './useDropButtons.js';
|
|
10
10
|
import { getAvaliableFileTypes, getUploadIcon, DEFAULT_ACCEPT, RenderFileInfoDefault } from './utils.js';
|
|
11
|
-
import { s as styles } from './upload-
|
|
11
|
+
import { s as styles } from './upload-D-rfJu90.js';
|
|
12
12
|
import './FileView.js';
|
|
13
13
|
import '@hh.ru/magritte-ui-avatar';
|
|
14
14
|
import '@hh.ru/magritte-ui-divider';
|
|
@@ -38,7 +38,7 @@ const MultiUpload = ({ files, trls, size, accept = DEFAULT_ACCEPT, selectFileBut
|
|
|
38
38
|
return (jsxs(Fragment, { children: [jsxs("div", { className: classnames(styles.root, styles[`root_${size}`], { [styles.dragActive]: isDragActive }), ...getRootProps(), "data-qa": "magritte-multiple-upload", children: [jsx("input", { ...getInputProps(), "data-qa": "magritte-multiple-upload-input" }), jsx("div", { className: styles.background }), jsxs("div", { className: styles.body, children: [getUploadIcon(uploadType, undefined, false), jsx(VSpacing, { default: 16 }), jsx(Placeholder, { trls: trls, selectFileButton: selectFileButton })] })] }), files.length > 0 && (jsx("div", { className: styles.fileList, children: files.map((loadedFile, indexFile) => {
|
|
39
39
|
return (jsx(FileViewWithPreview, { loadedFile: loadedFile, renderFileInfo: renderFileInfo, onFileDelete: (event) => {
|
|
40
40
|
onFileDelete(event, loadedFile, indexFile);
|
|
41
|
-
}, "aria-label": ariaLabel || '', isLast: files.length - 1 === indexFile }, loadedFile.data.name));
|
|
41
|
+
}, "aria-label": ariaLabel || '', isLast: files.length - 1 === indexFile }, `${loadedFile.data.name}${loadedFile.data.size}${loadedFile.data.lastModified}`));
|
|
42
42
|
}) }))] }));
|
|
43
43
|
};
|
|
44
44
|
|
package/MultiUpload.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiUpload.js","sources":["../src/MultiUpload.tsx"],"sourcesContent":["import { ReactElement } from 'react';\nimport { useDropzone } from 'react-dropzone';\nimport classnames from 'classnames';\n\nimport { VSpacing } from '@hh.ru/magritte-ui-spacing';\nimport { FileViewWithPreview } from '@hh.ru/magritte-ui-upload/FileViewWithPreview';\nimport { Placeholder } from '@hh.ru/magritte-ui-upload/Placeholder';\nimport { UploadProps } from '@hh.ru/magritte-ui-upload/types';\nimport { useDropActions } from '@hh.ru/magritte-ui-upload/useDropActions';\nimport { useDropButtons } from '@hh.ru/magritte-ui-upload/useDropButtons';\nimport {\n getUploadIcon,\n getAvaliableFileTypes,\n RenderFileInfoDefault,\n DEFAULT_ACCEPT,\n} from '@hh.ru/magritte-ui-upload/utils';\n\nimport styles from './upload.less';\n\nconst MultiUpload = ({\n files,\n trls,\n size,\n accept = DEFAULT_ACCEPT,\n selectFileButton: _selectFileButton,\n renderFileInfo = RenderFileInfoDefault,\n onDropAccepted: onDropAcceptedExternal,\n onDropRejected: onDropRejectedExternal,\n onFileDelete: onFileDeleteExternal,\n 'aria-label': ariaLabel,\n ...dropzoneProps\n}: Omit<UploadProps, 'multiple'>): ReactElement => {\n const uploadType = getAvaliableFileTypes(accept);\n const { onDropAccepted, onDropRejected, onFileDelete } = useDropActions({\n onDropAccepted: onDropAcceptedExternal,\n onDropRejected: onDropRejectedExternal,\n onFileDelete: onFileDeleteExternal,\n });\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n ...dropzoneProps,\n accept,\n onDropAccepted,\n onDropRejected,\n multiple: true,\n });\n const { selectFileButton } = useDropButtons({ selectFileButton: _selectFileButton });\n return (\n <>\n <div\n className={classnames(styles.root, styles[`root_${size}`], { [styles.dragActive]: isDragActive })}\n {...getRootProps()}\n data-qa=\"magritte-multiple-upload\"\n >\n <input {...getInputProps()} data-qa=\"magritte-multiple-upload-input\" />\n <div className={styles.background} />\n <div className={styles.body}>\n {getUploadIcon(uploadType, undefined, false)}\n <VSpacing default={16} />\n <Placeholder trls={trls} selectFileButton={selectFileButton} />\n </div>\n </div>\n {files.length > 0 && (\n <div className={styles.fileList}>\n {files.map((loadedFile, indexFile) => {\n return (\n <FileViewWithPreview\n key={loadedFile.data.name}\n loadedFile={loadedFile}\n renderFileInfo={renderFileInfo}\n onFileDelete={(event) => {\n onFileDelete(event, loadedFile, indexFile);\n }}\n aria-label={ariaLabel || ''}\n isLast={files.length - 1 === indexFile}\n />\n );\n })}\n </div>\n )}\n </>\n );\n};\n\nexport { MultiUpload };\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,WAAW,GAAG,CAAC,EACjB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,MAAM,GAAG,cAAc,EACvB,gBAAgB,EAAE,iBAAiB,EACnC,cAAc,GAAG,qBAAqB,EACtC,cAAc,EAAE,sBAAsB,EACtC,cAAc,EAAE,sBAAsB,EACtC,YAAY,EAAE,oBAAoB,EAClC,YAAY,EAAE,SAAS,EACvB,GAAG,aAAa,EACY,KAAkB;AAC9C,IAAA,MAAM,UAAU,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACjD,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,cAAc,CAAC;AACpE,QAAA,cAAc,EAAE,sBAAsB;AACtC,QAAA,cAAc,EAAE,sBAAsB;AACtC,QAAA,YAAY,EAAE,oBAAoB;AACrC,KAAA,CAAC,CAAC;IACH,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,WAAW,CAAC;AAC9D,QAAA,GAAG,aAAa;QAChB,MAAM;QACN,cAAc;QACd,cAAc;AACd,QAAA,QAAQ,EAAE,IAAI;AACjB,KAAA,CAAC,CAAC;AACH,IAAA,MAAM,EAAE,gBAAgB,EAAE,GAAG,cAAc,CAAC,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACrF,QACIA,IACI,CAAAC,QAAA,EAAA,EAAA,QAAA,EAAA,CAAAD,IAAA,CAAA,KAAA,EAAA,EACI,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAQ,KAAA,EAAA,IAAI,CAAE,CAAA,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,GAAG,YAAY,EAAE,CAAC,EAAA,GAC7F,YAAY,EAAE,EACV,SAAA,EAAA,0BAA0B,aAElCE,GAAW,CAAA,OAAA,EAAA,EAAA,GAAA,aAAa,EAAE,EAAA,SAAA,EAAU,gCAAgC,EAAA,CAAG,EACvEA,GAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,UAAU,EAAI,CAAA,EACrCF,IAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,IAAI,aACtB,aAAa,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,EAC5CE,GAAC,CAAA,QAAQ,EAAC,EAAA,OAAO,EAAE,EAAE,EAAA,CAAI,EACzBA,GAAA,CAAC,WAAW,EAAA,EAAC,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,GAAI,CAC7D,EAAA,CAAA,CAAA,EAAA,CACJ,EACL,KAAK,CAAC,MAAM,GAAG,CAAC,KACbA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,EAC1B,QAAA,EAAA,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,SAAS,KAAI;AACjC,oBAAA,QACIA,GAAC,CAAA,mBAAmB,EAEhB,EAAA,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,CAAC,KAAK,KAAI;AACpB,4BAAA,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"MultiUpload.js","sources":["../src/MultiUpload.tsx"],"sourcesContent":["import { ReactElement } from 'react';\nimport { useDropzone } from 'react-dropzone';\nimport classnames from 'classnames';\n\nimport { VSpacing } from '@hh.ru/magritte-ui-spacing';\nimport { FileViewWithPreview } from '@hh.ru/magritte-ui-upload/FileViewWithPreview';\nimport { Placeholder } from '@hh.ru/magritte-ui-upload/Placeholder';\nimport { UploadProps } from '@hh.ru/magritte-ui-upload/types';\nimport { useDropActions } from '@hh.ru/magritte-ui-upload/useDropActions';\nimport { useDropButtons } from '@hh.ru/magritte-ui-upload/useDropButtons';\nimport {\n getUploadIcon,\n getAvaliableFileTypes,\n RenderFileInfoDefault,\n DEFAULT_ACCEPT,\n} from '@hh.ru/magritte-ui-upload/utils';\n\nimport styles from './upload.less';\n\nconst MultiUpload = ({\n files,\n trls,\n size,\n accept = DEFAULT_ACCEPT,\n selectFileButton: _selectFileButton,\n renderFileInfo = RenderFileInfoDefault,\n onDropAccepted: onDropAcceptedExternal,\n onDropRejected: onDropRejectedExternal,\n onFileDelete: onFileDeleteExternal,\n 'aria-label': ariaLabel,\n ...dropzoneProps\n}: Omit<UploadProps, 'multiple'>): ReactElement => {\n const uploadType = getAvaliableFileTypes(accept);\n const { onDropAccepted, onDropRejected, onFileDelete } = useDropActions({\n onDropAccepted: onDropAcceptedExternal,\n onDropRejected: onDropRejectedExternal,\n onFileDelete: onFileDeleteExternal,\n });\n const { getRootProps, getInputProps, isDragActive } = useDropzone({\n ...dropzoneProps,\n accept,\n onDropAccepted,\n onDropRejected,\n multiple: true,\n });\n const { selectFileButton } = useDropButtons({ selectFileButton: _selectFileButton });\n return (\n <>\n <div\n className={classnames(styles.root, styles[`root_${size}`], { [styles.dragActive]: isDragActive })}\n {...getRootProps()}\n data-qa=\"magritte-multiple-upload\"\n >\n <input {...getInputProps()} data-qa=\"magritte-multiple-upload-input\" />\n <div className={styles.background} />\n <div className={styles.body}>\n {getUploadIcon(uploadType, undefined, false)}\n <VSpacing default={16} />\n <Placeholder trls={trls} selectFileButton={selectFileButton} />\n </div>\n </div>\n {files.length > 0 && (\n <div className={styles.fileList}>\n {files.map((loadedFile, indexFile) => {\n return (\n <FileViewWithPreview\n key={`${loadedFile.data.name}${loadedFile.data.size}${loadedFile.data.lastModified}`}\n loadedFile={loadedFile}\n renderFileInfo={renderFileInfo}\n onFileDelete={(event) => {\n onFileDelete(event, loadedFile, indexFile);\n }}\n aria-label={ariaLabel || ''}\n isLast={files.length - 1 === indexFile}\n />\n );\n })}\n </div>\n )}\n </>\n );\n};\n\nexport { MultiUpload };\n"],"names":["_jsxs","_Fragment","_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAmBA,MAAM,WAAW,GAAG,CAAC,EACjB,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,MAAM,GAAG,cAAc,EACvB,gBAAgB,EAAE,iBAAiB,EACnC,cAAc,GAAG,qBAAqB,EACtC,cAAc,EAAE,sBAAsB,EACtC,cAAc,EAAE,sBAAsB,EACtC,YAAY,EAAE,oBAAoB,EAClC,YAAY,EAAE,SAAS,EACvB,GAAG,aAAa,EACY,KAAkB;AAC9C,IAAA,MAAM,UAAU,GAAG,qBAAqB,CAAC,MAAM,CAAC,CAAC;IACjD,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,GAAG,cAAc,CAAC;AACpE,QAAA,cAAc,EAAE,sBAAsB;AACtC,QAAA,cAAc,EAAE,sBAAsB;AACtC,QAAA,YAAY,EAAE,oBAAoB;AACrC,KAAA,CAAC,CAAC;IACH,MAAM,EAAE,YAAY,EAAE,aAAa,EAAE,YAAY,EAAE,GAAG,WAAW,CAAC;AAC9D,QAAA,GAAG,aAAa;QAChB,MAAM;QACN,cAAc;QACd,cAAc;AACd,QAAA,QAAQ,EAAE,IAAI;AACjB,KAAA,CAAC,CAAC;AACH,IAAA,MAAM,EAAE,gBAAgB,EAAE,GAAG,cAAc,CAAC,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,CAAC,CAAC;IACrF,QACIA,IACI,CAAAC,QAAA,EAAA,EAAA,QAAA,EAAA,CAAAD,IAAA,CAAA,KAAA,EAAA,EACI,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAQ,KAAA,EAAA,IAAI,CAAE,CAAA,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,UAAU,GAAG,YAAY,EAAE,CAAC,EAAA,GAC7F,YAAY,EAAE,EACV,SAAA,EAAA,0BAA0B,aAElCE,GAAW,CAAA,OAAA,EAAA,EAAA,GAAA,aAAa,EAAE,EAAA,SAAA,EAAU,gCAAgC,EAAA,CAAG,EACvEA,GAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,UAAU,EAAI,CAAA,EACrCF,IAAK,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,MAAM,CAAC,IAAI,aACtB,aAAa,CAAC,UAAU,EAAE,SAAS,EAAE,KAAK,CAAC,EAC5CE,GAAC,CAAA,QAAQ,EAAC,EAAA,OAAO,EAAE,EAAE,EAAA,CAAI,EACzBA,GAAA,CAAC,WAAW,EAAA,EAAC,IAAI,EAAE,IAAI,EAAE,gBAAgB,EAAE,gBAAgB,GAAI,CAC7D,EAAA,CAAA,CAAA,EAAA,CACJ,EACL,KAAK,CAAC,MAAM,GAAG,CAAC,KACbA,GAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAE,MAAM,CAAC,QAAQ,EAC1B,QAAA,EAAA,KAAK,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,SAAS,KAAI;AACjC,oBAAA,QACIA,GAAC,CAAA,mBAAmB,EAEhB,EAAA,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,YAAY,EAAE,CAAC,KAAK,KAAI;AACpB,4BAAA,YAAY,CAAC,KAAK,EAAE,UAAU,EAAE,SAAS,CAAC,CAAC;AAC/C,yBAAC,gBACW,SAAS,IAAI,EAAE,EAC3B,MAAM,EAAE,KAAK,CAAC,MAAM,GAAG,CAAC,KAAK,SAAS,EAAA,EAPjC,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAG,EAAA,UAAU,CAAC,IAAI,CAAC,IAAI,CAAA,EAAG,UAAU,CAAC,IAAI,CAAC,YAAY,CAAE,CAAA,CAQtF,EACJ;AACN,iBAAC,CAAC,EAAA,CACA,CACT,CAAA,EAAA,CACF,EACL;AACN;;;;"}
|
package/SingleUpload.js
CHANGED
|
@@ -14,7 +14,7 @@ import { useDropActions } from './useDropActions.js';
|
|
|
14
14
|
import { useDropButtons } from './useDropButtons.js';
|
|
15
15
|
import { useFilePreview } from './useFilePreview.js';
|
|
16
16
|
import { getAvaliableFileTypes, getUploadIcon, bytes2mb, DEFAULT_ACCEPT, RenderFileInfoDefault } from './utils.js';
|
|
17
|
-
import { s as styles } from './upload-
|
|
17
|
+
import { s as styles } from './upload-D-rfJu90.js';
|
|
18
18
|
import '@hh.ru/magritte-ui-divider';
|
|
19
19
|
import '@hh.ru/magritte-ui-breakpoint';
|
|
20
20
|
import 'react';
|
package/Upload.js
CHANGED
|
@@ -20,7 +20,7 @@ import '@hh.ru/magritte-ui-breakpoint';
|
|
|
20
20
|
import '@hh.ru/magritte-ui-typography';
|
|
21
21
|
import './useDropActions.js';
|
|
22
22
|
import './useDropButtons.js';
|
|
23
|
-
import './upload-
|
|
23
|
+
import './upload-D-rfJu90.js';
|
|
24
24
|
|
|
25
25
|
const Upload = ({ multiple, noDragEventsBubbling = true, ...uploadProps }) => {
|
|
26
26
|
if (multiple) {
|
package/index.css
CHANGED
|
@@ -1,185 +1,189 @@
|
|
|
1
1
|
:root{
|
|
2
|
-
--magritte-typography-label-2-regular-font-family-
|
|
3
|
-
--magritte-typography-label-2-regular-font-weight-
|
|
4
|
-
--magritte-typography-label-2-regular-line-height-
|
|
5
|
-
--magritte-typography-label-2-regular-font-size-
|
|
6
|
-
--magritte-typography-label-2-regular-letter-spacing-
|
|
7
|
-
--magritte-typography-label-2-regular-text-indent-
|
|
8
|
-
--magritte-typography-label-2-regular-text-transform-
|
|
9
|
-
--magritte-typography-label-2-regular-text-decoration-
|
|
10
|
-
}
|
|
11
|
-
.magritte-file-name-body___PTTMc_4-0-
|
|
2
|
+
--magritte-typography-label-2-regular-font-family-v23-0-0:"hh sans";
|
|
3
|
+
--magritte-typography-label-2-regular-font-weight-v23-0-0:400;
|
|
4
|
+
--magritte-typography-label-2-regular-line-height-v23-0-0:22px;
|
|
5
|
+
--magritte-typography-label-2-regular-font-size-v23-0-0:16px;
|
|
6
|
+
--magritte-typography-label-2-regular-letter-spacing-v23-0-0:0em;
|
|
7
|
+
--magritte-typography-label-2-regular-text-indent-v23-0-0:0px;
|
|
8
|
+
--magritte-typography-label-2-regular-text-transform-v23-0-0:none;
|
|
9
|
+
--magritte-typography-label-2-regular-text-decoration-v23-0-0:none;
|
|
10
|
+
}
|
|
11
|
+
.magritte-file-name-body___PTTMc_4-0-6{
|
|
12
12
|
display:flex;
|
|
13
13
|
width:100%;
|
|
14
14
|
overflow:hidden;
|
|
15
|
-
font-family:var(--magritte-typography-label-2-regular-font-family-
|
|
16
|
-
font-weight:var(--magritte-typography-label-2-regular-font-weight-
|
|
17
|
-
line-height:var(--magritte-typography-label-2-regular-line-height-
|
|
18
|
-
font-size:var(--magritte-typography-label-2-regular-font-size-
|
|
19
|
-
letter-spacing:var(--magritte-typography-label-2-regular-letter-spacing-
|
|
20
|
-
text-indent:var(--magritte-typography-label-2-regular-text-indent-
|
|
21
|
-
text-transform:var(--magritte-typography-label-2-regular-text-transform-
|
|
22
|
-
text-decoration:var(--magritte-typography-label-2-regular-text-decoration-
|
|
23
|
-
}
|
|
24
|
-
.magritte-file-name-body_medium___sfmmq_4-0-
|
|
15
|
+
font-family:var(--magritte-typography-label-2-regular-font-family-v23-0-0);
|
|
16
|
+
font-weight:var(--magritte-typography-label-2-regular-font-weight-v23-0-0);
|
|
17
|
+
line-height:var(--magritte-typography-label-2-regular-line-height-v23-0-0);
|
|
18
|
+
font-size:var(--magritte-typography-label-2-regular-font-size-v23-0-0);
|
|
19
|
+
letter-spacing:var(--magritte-typography-label-2-regular-letter-spacing-v23-0-0);
|
|
20
|
+
text-indent:var(--magritte-typography-label-2-regular-text-indent-v23-0-0);
|
|
21
|
+
text-transform:var(--magritte-typography-label-2-regular-text-transform-v23-0-0);
|
|
22
|
+
text-decoration:var(--magritte-typography-label-2-regular-text-decoration-v23-0-0);
|
|
23
|
+
}
|
|
24
|
+
.magritte-file-name-body_medium___sfmmq_4-0-6{
|
|
25
25
|
justify-content:center;
|
|
26
26
|
}
|
|
27
|
-
.magritte-file-name___ZSL2g_4-0-
|
|
27
|
+
.magritte-file-name___ZSL2g_4-0-6{
|
|
28
28
|
overflow:hidden;
|
|
29
29
|
text-overflow:ellipsis;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:root{
|
|
33
|
-
--magritte-typography-label-4-regular-font-family-
|
|
34
|
-
--magritte-typography-label-4-regular-font-weight-
|
|
35
|
-
--magritte-typography-label-4-regular-line-height-
|
|
36
|
-
--magritte-typography-label-4-regular-font-size-
|
|
37
|
-
--magritte-typography-label-4-regular-letter-spacing-
|
|
38
|
-
--magritte-typography-label-4-regular-text-indent-
|
|
39
|
-
--magritte-typography-label-4-regular-text-transform-
|
|
40
|
-
--magritte-typography-label-4-regular-text-decoration-
|
|
41
|
-
--magritte-static-space-100-
|
|
42
|
-
--magritte-static-space-400-
|
|
43
|
-
}
|
|
44
|
-
.magritte-file-info-body___HmfXd_4-0-
|
|
33
|
+
--magritte-typography-label-4-regular-font-family-v23-0-0:"hh sans";
|
|
34
|
+
--magritte-typography-label-4-regular-font-weight-v23-0-0:400;
|
|
35
|
+
--magritte-typography-label-4-regular-line-height-v23-0-0:18px;
|
|
36
|
+
--magritte-typography-label-4-regular-font-size-v23-0-0:12px;
|
|
37
|
+
--magritte-typography-label-4-regular-letter-spacing-v23-0-0:0.01em;
|
|
38
|
+
--magritte-typography-label-4-regular-text-indent-v23-0-0:0px;
|
|
39
|
+
--magritte-typography-label-4-regular-text-transform-v23-0-0:none;
|
|
40
|
+
--magritte-typography-label-4-regular-text-decoration-v23-0-0:none;
|
|
41
|
+
--magritte-static-space-100-v23-0-0:4px;
|
|
42
|
+
--magritte-static-space-400-v23-0-0:16px;
|
|
43
|
+
}
|
|
44
|
+
.magritte-file-info-body___HmfXd_4-0-6{
|
|
45
45
|
flex-grow:1;
|
|
46
46
|
}
|
|
47
|
-
.magritte-file-info-and-controls___61iyY_4-0-
|
|
47
|
+
.magritte-file-info-and-controls___61iyY_4-0-6{
|
|
48
48
|
display:flex;
|
|
49
|
-
gap:var(--magritte-static-space-400-
|
|
49
|
+
gap:var(--magritte-static-space-400-v23-0-0);
|
|
50
50
|
}
|
|
51
|
-
.magritte-file-info-container___WFab8_4-0-
|
|
51
|
+
.magritte-file-info-container___WFab8_4-0-6{
|
|
52
52
|
flex-grow:1;
|
|
53
53
|
width:50px;
|
|
54
54
|
}
|
|
55
|
-
.magritte-file-info___HrqiB_4-0-
|
|
55
|
+
.magritte-file-info___HrqiB_4-0-6{
|
|
56
56
|
display:flex;
|
|
57
|
-
gap:var(--magritte-static-space-100-
|
|
58
|
-
font-family:var(--magritte-typography-label-4-regular-font-family-
|
|
59
|
-
font-weight:var(--magritte-typography-label-4-regular-font-weight-
|
|
60
|
-
line-height:var(--magritte-typography-label-4-regular-line-height-
|
|
61
|
-
font-size:var(--magritte-typography-label-4-regular-font-size-
|
|
62
|
-
letter-spacing:var(--magritte-typography-label-4-regular-letter-spacing-
|
|
63
|
-
text-indent:var(--magritte-typography-label-4-regular-text-indent-
|
|
64
|
-
text-transform:var(--magritte-typography-label-4-regular-text-transform-
|
|
65
|
-
text-decoration:var(--magritte-typography-label-4-regular-text-decoration-
|
|
66
|
-
}
|
|
67
|
-
.magritte-controls___WdH7A_4-0-
|
|
57
|
+
gap:var(--magritte-static-space-100-v23-0-0);
|
|
58
|
+
font-family:var(--magritte-typography-label-4-regular-font-family-v23-0-0);
|
|
59
|
+
font-weight:var(--magritte-typography-label-4-regular-font-weight-v23-0-0);
|
|
60
|
+
line-height:var(--magritte-typography-label-4-regular-line-height-v23-0-0);
|
|
61
|
+
font-size:var(--magritte-typography-label-4-regular-font-size-v23-0-0);
|
|
62
|
+
letter-spacing:var(--magritte-typography-label-4-regular-letter-spacing-v23-0-0);
|
|
63
|
+
text-indent:var(--magritte-typography-label-4-regular-text-indent-v23-0-0);
|
|
64
|
+
text-transform:var(--magritte-typography-label-4-regular-text-transform-v23-0-0);
|
|
65
|
+
text-decoration:var(--magritte-typography-label-4-regular-text-decoration-v23-0-0);
|
|
66
|
+
}
|
|
67
|
+
.magritte-controls___WdH7A_4-0-6{
|
|
68
68
|
display:flex;
|
|
69
69
|
align-items:center;
|
|
70
70
|
margin-left:auto;
|
|
71
|
-
margin-right:var(--magritte-static-space-400-
|
|
71
|
+
margin-right:var(--magritte-static-space-400-v23-0-0);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
:root{
|
|
75
|
-
--magritte-static-space-400-
|
|
75
|
+
--magritte-static-space-400-v23-0-0:16px;
|
|
76
76
|
}
|
|
77
|
-
|
|
77
|
+
|
|
78
|
+
.magritte-item___vVDG-_4-0-6{
|
|
78
79
|
display:flex;
|
|
79
80
|
width:100%;
|
|
80
|
-
gap:var(--magritte-static-space-400-
|
|
81
|
+
gap:var(--magritte-static-space-400-v23-0-0);
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
:root{
|
|
84
|
-
--magritte-color-background-primary-
|
|
85
|
-
--magritte-color-stroke-neutral-
|
|
86
|
-
--magritte-color-stroke-accent-
|
|
87
|
-
--magritte-color-stroke-state-focused-accessible-
|
|
88
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-
|
|
85
|
+
--magritte-color-background-primary-v23-0-0:#ffffff;
|
|
86
|
+
--magritte-color-stroke-neutral-v23-0-0:#DCE3EB;
|
|
87
|
+
--magritte-color-stroke-accent-v23-0-0:#0070ff;
|
|
88
|
+
--magritte-color-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
|
|
89
|
+
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-0-0:#ff4d3a7a;
|
|
89
90
|
}
|
|
91
|
+
|
|
90
92
|
:root{
|
|
91
|
-
--magritte-static-space-300-
|
|
92
|
-
--magritte-static-space-400-
|
|
93
|
-
--magritte-static-space-500-
|
|
94
|
-
--magritte-static-space-600-
|
|
95
|
-
--magritte-static-border-radius-600-
|
|
93
|
+
--magritte-static-space-300-v23-0-0:12px;
|
|
94
|
+
--magritte-static-space-400-v23-0-0:16px;
|
|
95
|
+
--magritte-static-space-500-v23-0-0:20px;
|
|
96
|
+
--magritte-static-space-600-v23-0-0:24px;
|
|
97
|
+
--magritte-static-border-radius-600-v23-0-0:24px;
|
|
96
98
|
}
|
|
99
|
+
|
|
97
100
|
.magritte-night-theme{
|
|
98
|
-
--magritte-color-background-primary-
|
|
99
|
-
--magritte-color-stroke-neutral-
|
|
100
|
-
--magritte-color-stroke-accent-
|
|
101
|
-
--magritte-color-stroke-state-focused-accessible-
|
|
102
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-
|
|
101
|
+
--magritte-color-background-primary-v23-0-0:#1B1B1B;
|
|
102
|
+
--magritte-color-stroke-neutral-v23-0-0:#303030;
|
|
103
|
+
--magritte-color-stroke-accent-v23-0-0:#2b7fff;
|
|
104
|
+
--magritte-color-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
|
|
105
|
+
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-0-0:#ff4d3a7a;
|
|
103
106
|
}
|
|
107
|
+
|
|
104
108
|
.magritte-zp-day-theme{
|
|
105
|
-
--magritte-color-background-primary-
|
|
106
|
-
--magritte-color-stroke-neutral-
|
|
107
|
-
--magritte-color-stroke-accent-
|
|
108
|
-
--magritte-color-stroke-state-focused-accessible-
|
|
109
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-
|
|
109
|
+
--magritte-color-background-primary-v23-0-0:#ffffff;
|
|
110
|
+
--magritte-color-stroke-neutral-v23-0-0:#DCE3EB;
|
|
111
|
+
--magritte-color-stroke-accent-v23-0-0:#7195AF;
|
|
112
|
+
--magritte-color-stroke-state-focused-accessible-v23-0-0:#0070ff7a;
|
|
113
|
+
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-0-0:#ff4d3a7a;
|
|
110
114
|
}
|
|
111
|
-
.magritte-root___FV1tC_4-0-
|
|
115
|
+
.magritte-root___FV1tC_4-0-6{
|
|
112
116
|
position:relative;
|
|
113
117
|
display:flex;
|
|
114
118
|
overflow:hidden;
|
|
115
|
-
border-radius:var(--magritte-static-border-radius-600-
|
|
116
|
-
background-color:var(--magritte-color-background-primary-
|
|
119
|
+
border-radius:var(--magritte-static-border-radius-600-v23-0-0);
|
|
120
|
+
background-color:var(--magritte-color-background-primary-v23-0-0);
|
|
117
121
|
}
|
|
118
|
-
.magritte-root___FV1tC_4-0-
|
|
122
|
+
.magritte-root___FV1tC_4-0-6:hover{
|
|
119
123
|
cursor:pointer;
|
|
120
124
|
}
|
|
121
|
-
.magritte-root___FV1tC_4-0-
|
|
122
|
-
border-color:var(--magritte-color-stroke-accent-
|
|
125
|
+
.magritte-root___FV1tC_4-0-6:hover .magritte-background___RfZ0U_4-0-6{
|
|
126
|
+
border-color:var(--magritte-color-stroke-accent-v23-0-0);
|
|
123
127
|
}
|
|
124
|
-
.magritte-root___FV1tC_4-0-
|
|
125
|
-
border-color:var(--magritte-color-stroke-accent-
|
|
128
|
+
.magritte-root___FV1tC_4-0-6.magritte-drag-active___dihBL_4-0-6 .magritte-background___RfZ0U_4-0-6{
|
|
129
|
+
border-color:var(--magritte-color-stroke-accent-v23-0-0);
|
|
126
130
|
}
|
|
127
|
-
.magritte-root___FV1tC_4-0-
|
|
128
|
-
outline:var(--magritte-color-stroke-state-focused-accessible-
|
|
131
|
+
.magritte-root___FV1tC_4-0-6.focus-visible{
|
|
132
|
+
outline:var(--magritte-color-stroke-state-focused-accessible-v23-0-0) solid 4px;
|
|
129
133
|
}
|
|
130
|
-
.magritte-root___FV1tC_4-0-
|
|
131
|
-
border-color:var(--magritte-color-stroke-accent-
|
|
134
|
+
.magritte-root___FV1tC_4-0-6.focus-visible .magritte-background___RfZ0U_4-0-6{
|
|
135
|
+
border-color:var(--magritte-color-stroke-accent-v23-0-0);
|
|
132
136
|
}
|
|
133
|
-
.magritte-root___FV1tC_4-0-
|
|
134
|
-
.magritte-root___FV1tC_4-0-
|
|
137
|
+
.magritte-root___FV1tC_4-0-6.magritte-load___MghDA_4-0-6 .magritte-background___RfZ0U_4-0-6,
|
|
138
|
+
.magritte-root___FV1tC_4-0-6.magritte-loading___9E3p-_4-0-6 .magritte-background___RfZ0U_4-0-6{
|
|
135
139
|
border-style:solid;
|
|
136
140
|
border-width:7px;
|
|
137
141
|
}
|
|
138
|
-
.magritte-root___FV1tC_4-0-
|
|
139
|
-
outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-
|
|
142
|
+
.magritte-root___FV1tC_4-0-6.magritte-invalid___Rt10-_4-0-6.focus-visible{
|
|
143
|
+
outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-0-0) solid 4px;
|
|
140
144
|
}
|
|
141
|
-
.magritte-root___FV1tC_4-0-
|
|
142
|
-
border-color:var(--magritte-color-stroke-neutral-
|
|
145
|
+
.magritte-root___FV1tC_4-0-6.magritte-invalid___Rt10-_4-0-6 .magritte-background___RfZ0U_4-0-6{
|
|
146
|
+
border-color:var(--magritte-color-stroke-neutral-v23-0-0);
|
|
143
147
|
}
|
|
144
|
-
.magritte-root_medium___67WJa_4-0-
|
|
148
|
+
.magritte-root_medium___67WJa_4-0-6{
|
|
145
149
|
justify-content:center;
|
|
146
|
-
padding:var(--magritte-static-space-600-
|
|
150
|
+
padding:var(--magritte-static-space-600-v23-0-0);
|
|
147
151
|
}
|
|
148
|
-
.magritte-root_medium___67WJa_4-0-
|
|
152
|
+
.magritte-root_medium___67WJa_4-0-6 .magritte-body___O7ROl_4-0-6{
|
|
149
153
|
flex-direction:column;
|
|
150
154
|
align-items:center;
|
|
151
155
|
justify-content:center;
|
|
152
156
|
}
|
|
153
|
-
.magritte-root_small___dkUYq_4-0-
|
|
154
|
-
padding-top:var(--magritte-static-space-400-
|
|
155
|
-
padding-bottom:var(--magritte-static-space-400-
|
|
156
|
-
padding-left:var(--magritte-static-space-400-
|
|
157
|
+
.magritte-root_small___dkUYq_4-0-6{
|
|
158
|
+
padding-top:var(--magritte-static-space-400-v23-0-0);
|
|
159
|
+
padding-bottom:var(--magritte-static-space-400-v23-0-0);
|
|
160
|
+
padding-left:var(--magritte-static-space-400-v23-0-0);
|
|
157
161
|
}
|
|
158
|
-
.magritte-root_small___dkUYq_4-0-
|
|
159
|
-
gap:var(--magritte-static-space-400-
|
|
162
|
+
.magritte-root_small___dkUYq_4-0-6 .magritte-body___O7ROl_4-0-6{
|
|
163
|
+
gap:var(--magritte-static-space-400-v23-0-0);
|
|
160
164
|
}
|
|
161
|
-
.magritte-background___RfZ0U_4-0-
|
|
165
|
+
.magritte-background___RfZ0U_4-0-6{
|
|
162
166
|
position:absolute;
|
|
163
167
|
border-width:8px;
|
|
164
168
|
border-style:dashed;
|
|
165
|
-
border-color:var(--magritte-color-stroke-neutral-
|
|
169
|
+
border-color:var(--magritte-color-stroke-neutral-v23-0-0);
|
|
166
170
|
top:-6px;
|
|
167
171
|
bottom:-6px;
|
|
168
172
|
left:-6px;
|
|
169
173
|
right:-6px;
|
|
170
|
-
border-radius:calc(var(--magritte-static-border-radius-600-
|
|
174
|
+
border-radius:calc(var(--magritte-static-border-radius-600-v23-0-0) + 6px);
|
|
171
175
|
background-position:center;
|
|
172
176
|
background-size:100%;
|
|
173
177
|
}
|
|
174
|
-
.magritte-body___O7ROl_4-0-
|
|
178
|
+
.magritte-body___O7ROl_4-0-6{
|
|
175
179
|
display:flex;
|
|
176
180
|
width:100%;
|
|
177
181
|
}
|
|
178
|
-
.magritte-loader___XYpWg_4-0-
|
|
182
|
+
.magritte-loader___XYpWg_4-0-6{
|
|
179
183
|
position:relative;
|
|
180
184
|
display:flex;
|
|
181
185
|
}
|
|
182
|
-
.magritte-cancel___tQ-yX_4-0-
|
|
186
|
+
.magritte-cancel___tQ-yX_4-0-6{
|
|
183
187
|
position:absolute;
|
|
184
188
|
top:0;
|
|
185
189
|
left:0;
|
|
@@ -189,37 +193,37 @@
|
|
|
189
193
|
align-items:center;
|
|
190
194
|
justify-content:center;
|
|
191
195
|
}
|
|
192
|
-
.magritte-image-controls___vLf94_4-0-
|
|
196
|
+
.magritte-image-controls___vLf94_4-0-6{
|
|
193
197
|
display:flex;
|
|
194
|
-
gap:var(--magritte-static-space-300-
|
|
198
|
+
gap:var(--magritte-static-space-300-v23-0-0);
|
|
195
199
|
align-items:flex-end;
|
|
196
200
|
justify-content:flex-end;
|
|
197
201
|
width:100%;
|
|
198
202
|
}
|
|
199
|
-
.magritte-small-controls___Qn9TP_4-0-
|
|
203
|
+
.magritte-small-controls___Qn9TP_4-0-6{
|
|
200
204
|
display:flex;
|
|
201
205
|
align-items:center;
|
|
202
206
|
margin-left:auto;
|
|
203
|
-
margin-right:var(--magritte-static-space-500-
|
|
207
|
+
margin-right:var(--magritte-static-space-500-v23-0-0);
|
|
204
208
|
}
|
|
205
|
-
.magritte-file-list___L9uHt_4-0-
|
|
206
|
-
margin-top:var(--magritte-static-space-300-
|
|
207
|
-
box-shadow:inset 0 0 0 1px var(--magritte-color-stroke-neutral-
|
|
208
|
-
border-radius:var(--magritte-static-border-radius-600-
|
|
209
|
-
padding-top:var(--magritte-static-space-400-
|
|
209
|
+
.magritte-file-list___L9uHt_4-0-6{
|
|
210
|
+
margin-top:var(--magritte-static-space-300-v23-0-0);
|
|
211
|
+
box-shadow:inset 0 0 0 1px var(--magritte-color-stroke-neutral-v23-0-0);
|
|
212
|
+
border-radius:var(--magritte-static-border-radius-600-v23-0-0);
|
|
213
|
+
padding-top:var(--magritte-static-space-400-v23-0-0);
|
|
210
214
|
padding-right:0;
|
|
211
|
-
padding-bottom:var(--magritte-static-space-400-
|
|
212
|
-
padding-left:var(--magritte-static-space-400-
|
|
215
|
+
padding-bottom:var(--magritte-static-space-400-v23-0-0);
|
|
216
|
+
padding-left:var(--magritte-static-space-400-v23-0-0);
|
|
213
217
|
}
|
|
214
|
-
.magritte-file-icon___oetLK_4-0-
|
|
218
|
+
.magritte-file-icon___oetLK_4-0-6{
|
|
215
219
|
display:inline-flex;
|
|
216
220
|
}
|
|
217
|
-
.magritte-file-info___Y3vyi_4-0-
|
|
221
|
+
.magritte-file-info___Y3vyi_4-0-6{
|
|
218
222
|
display:inline-flex;
|
|
219
223
|
width:100%;
|
|
220
224
|
flex-direction:column;
|
|
221
225
|
align-items:center;
|
|
222
226
|
}
|
|
223
|
-
.magritte-hidden-file-info___92c69_4-0-
|
|
227
|
+
.magritte-hidden-file-info___92c69_4-0-6{
|
|
224
228
|
visibility:hidden;
|
|
225
229
|
}
|
package/index.js
CHANGED
|
@@ -20,6 +20,6 @@ import '@hh.ru/magritte-ui-breakpoint';
|
|
|
20
20
|
import '@hh.ru/magritte-ui-typography';
|
|
21
21
|
import './useDropActions.js';
|
|
22
22
|
import './useDropButtons.js';
|
|
23
|
-
import './upload-
|
|
23
|
+
import './upload-D-rfJu90.js';
|
|
24
24
|
import './SingleUpload.js';
|
|
25
25
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hh.ru/magritte-ui-upload",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "index.d.ts",
|
|
6
6
|
"sideEffects": [
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"react": ">=18.2.0"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@hh.ru/magritte-design-tokens": "
|
|
30
|
-
"@hh.ru/magritte-ui-avatar": "7.0.
|
|
29
|
+
"@hh.ru/magritte-design-tokens": "23.0.0",
|
|
30
|
+
"@hh.ru/magritte-ui-avatar": "7.0.2",
|
|
31
31
|
"@hh.ru/magritte-ui-breakpoint": "6.0.0",
|
|
32
|
-
"@hh.ru/magritte-ui-button": "6.0.
|
|
33
|
-
"@hh.ru/magritte-ui-button-stack": "2.1.
|
|
34
|
-
"@hh.ru/magritte-ui-divider": "3.0.
|
|
35
|
-
"@hh.ru/magritte-ui-icon": "12.1
|
|
36
|
-
"@hh.ru/magritte-ui-loader": "2.0.
|
|
32
|
+
"@hh.ru/magritte-ui-button": "6.0.4",
|
|
33
|
+
"@hh.ru/magritte-ui-button-stack": "2.1.74",
|
|
34
|
+
"@hh.ru/magritte-ui-divider": "3.0.1",
|
|
35
|
+
"@hh.ru/magritte-ui-icon": "12.2.1",
|
|
36
|
+
"@hh.ru/magritte-ui-loader": "2.0.3",
|
|
37
37
|
"@hh.ru/magritte-ui-mock-component": "1.1.4",
|
|
38
|
-
"@hh.ru/magritte-ui-spacing": "2.0.
|
|
39
|
-
"@hh.ru/magritte-ui-typography": "4.1.
|
|
38
|
+
"@hh.ru/magritte-ui-spacing": "2.0.59",
|
|
39
|
+
"@hh.ru/magritte-ui-typography": "4.1.1",
|
|
40
40
|
"react-dropzone": "14.3.5"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "759fe057f9c0fbf62497dea6dc4f996f8c5d9a84"
|
|
43
43
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"root":"magritte-root___FV1tC_4-0-6","background":"magritte-background___RfZ0U_4-0-6","drag-active":"magritte-drag-active___dihBL_4-0-6","dragActive":"magritte-drag-active___dihBL_4-0-6","load":"magritte-load___MghDA_4-0-6","loading":"magritte-loading___9E3p-_4-0-6","invalid":"magritte-invalid___Rt10-_4-0-6","root_medium":"magritte-root_medium___67WJa_4-0-6","rootMedium":"magritte-root_medium___67WJa_4-0-6","body":"magritte-body___O7ROl_4-0-6","root_small":"magritte-root_small___dkUYq_4-0-6","rootSmall":"magritte-root_small___dkUYq_4-0-6","loader":"magritte-loader___XYpWg_4-0-6","cancel":"magritte-cancel___tQ-yX_4-0-6","image-controls":"magritte-image-controls___vLf94_4-0-6","imageControls":"magritte-image-controls___vLf94_4-0-6","small-controls":"magritte-small-controls___Qn9TP_4-0-6","smallControls":"magritte-small-controls___Qn9TP_4-0-6","file-list":"magritte-file-list___L9uHt_4-0-6","fileList":"magritte-file-list___L9uHt_4-0-6","file-icon":"magritte-file-icon___oetLK_4-0-6","fileIcon":"magritte-file-icon___oetLK_4-0-6","file-info":"magritte-file-info___Y3vyi_4-0-6","fileInfo":"magritte-file-info___Y3vyi_4-0-6","hidden-file-info":"magritte-hidden-file-info___92c69_4-0-6","hiddenFileInfo":"magritte-hidden-file-info___92c69_4-0-6"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=upload-D-rfJu90.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-D-rfJu90.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/upload-C7Yq85R_.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"root":"magritte-root___FV1tC_4-0-4","background":"magritte-background___RfZ0U_4-0-4","drag-active":"magritte-drag-active___dihBL_4-0-4","dragActive":"magritte-drag-active___dihBL_4-0-4","load":"magritte-load___MghDA_4-0-4","loading":"magritte-loading___9E3p-_4-0-4","invalid":"magritte-invalid___Rt10-_4-0-4","root_medium":"magritte-root_medium___67WJa_4-0-4","rootMedium":"magritte-root_medium___67WJa_4-0-4","body":"magritte-body___O7ROl_4-0-4","root_small":"magritte-root_small___dkUYq_4-0-4","rootSmall":"magritte-root_small___dkUYq_4-0-4","loader":"magritte-loader___XYpWg_4-0-4","cancel":"magritte-cancel___tQ-yX_4-0-4","image-controls":"magritte-image-controls___vLf94_4-0-4","imageControls":"magritte-image-controls___vLf94_4-0-4","small-controls":"magritte-small-controls___Qn9TP_4-0-4","smallControls":"magritte-small-controls___Qn9TP_4-0-4","file-list":"magritte-file-list___L9uHt_4-0-4","fileList":"magritte-file-list___L9uHt_4-0-4","file-icon":"magritte-file-icon___oetLK_4-0-4","fileIcon":"magritte-file-icon___oetLK_4-0-4","file-info":"magritte-file-info___Y3vyi_4-0-4","fileInfo":"magritte-file-info___Y3vyi_4-0-4","hidden-file-info":"magritte-hidden-file-info___92c69_4-0-4","hiddenFileInfo":"magritte-hidden-file-info___92c69_4-0-4"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=upload-C7Yq85R_.js.map
|
package/upload-C7Yq85R_.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload-C7Yq85R_.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|