@hh.ru/magritte-ui-upload 4.0.12 → 4.0.13
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 +1 -1
- package/SingleUpload.js +1 -1
- package/Upload.js +1 -1
- package/index.css +87 -127
- package/index.js +1 -1
- package/package.json +11 -11
- package/upload-Bv9VLFUp.js +5 -0
- package/upload-Bv9VLFUp.js.map +1 -0
- package/upload-xLJLc7UY.js +0 -5
- package/upload-xLJLc7UY.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-13","fileNameBody":"magritte-file-name-body___PTTMc_4-0-13","file-name-body_medium":"magritte-file-name-body_medium___sfmmq_4-0-13","fileNameBodyMedium":"magritte-file-name-body_medium___sfmmq_4-0-13","file-name":"magritte-file-name___ZSL2g_4-0-13","fileName":"magritte-file-name___ZSL2g_4-0-13"};
|
|
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-13","fileInfoBody":"magritte-file-info-body___HmfXd_4-0-13","file-info-and-controls":"magritte-file-info-and-controls___61iyY_4-0-13","fileInfoAndControls":"magritte-file-info-and-controls___61iyY_4-0-13","file-info-container":"magritte-file-info-container___WFab8_4-0-13","fileInfoContainer":"magritte-file-info-container___WFab8_4-0-13","file-info":"magritte-file-info___HrqiB_4-0-13","fileInfo":"magritte-file-info___HrqiB_4-0-13","controls":"magritte-controls___WdH7A_4-0-13"};
|
|
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-13"};
|
|
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-Bv9VLFUp.js';
|
|
12
12
|
import './FileView.js';
|
|
13
13
|
import '@hh.ru/magritte-ui-avatar';
|
|
14
14
|
import '@hh.ru/magritte-ui-divider';
|
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-Bv9VLFUp.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-Bv9VLFUp.js';
|
|
24
24
|
|
|
25
25
|
const Upload = ({ multiple, noDragEventsBubbling = true, ...uploadProps }) => {
|
|
26
26
|
if (multiple) {
|
package/index.css
CHANGED
|
@@ -1,189 +1,149 @@
|
|
|
1
|
-
|
|
2
|
-
--magritte-typography-label-2-regular-font-family-v23-2-1:"hh sans";
|
|
3
|
-
--magritte-typography-label-2-regular-font-weight-v23-2-1:400;
|
|
4
|
-
--magritte-typography-label-2-regular-line-height-v23-2-1:22px;
|
|
5
|
-
--magritte-typography-label-2-regular-font-size-v23-2-1:16px;
|
|
6
|
-
--magritte-typography-label-2-regular-letter-spacing-v23-2-1:0em;
|
|
7
|
-
--magritte-typography-label-2-regular-text-indent-v23-2-1:0px;
|
|
8
|
-
--magritte-typography-label-2-regular-text-transform-v23-2-1:none;
|
|
9
|
-
--magritte-typography-label-2-regular-text-decoration-v23-2-1:none;
|
|
10
|
-
}
|
|
11
|
-
.magritte-file-name-body___PTTMc_4-0-12{
|
|
1
|
+
.magritte-file-name-body___PTTMc_4-0-13{
|
|
12
2
|
display:flex;
|
|
13
3
|
width:100%;
|
|
14
4
|
overflow:hidden;
|
|
15
|
-
font-family:
|
|
16
|
-
font-weight:
|
|
17
|
-
line-height:
|
|
18
|
-
font-size:
|
|
19
|
-
letter-spacing:
|
|
20
|
-
text-indent:
|
|
21
|
-
text-transform:
|
|
22
|
-
text-decoration:
|
|
23
|
-
}
|
|
24
|
-
.magritte-file-name-body_medium___sfmmq_4-0-
|
|
5
|
+
font-family:"hh sans";
|
|
6
|
+
font-weight:400;
|
|
7
|
+
line-height:22px;
|
|
8
|
+
font-size:16px;
|
|
9
|
+
letter-spacing:0em;
|
|
10
|
+
text-indent:0px;
|
|
11
|
+
text-transform:none;
|
|
12
|
+
text-decoration:none;
|
|
13
|
+
}
|
|
14
|
+
.magritte-file-name-body_medium___sfmmq_4-0-13{
|
|
25
15
|
justify-content:center;
|
|
26
16
|
}
|
|
27
|
-
.magritte-file-name___ZSL2g_4-0-
|
|
17
|
+
.magritte-file-name___ZSL2g_4-0-13{
|
|
28
18
|
overflow:hidden;
|
|
29
19
|
text-overflow:ellipsis;
|
|
30
20
|
}
|
|
31
21
|
|
|
32
|
-
|
|
33
|
-
--magritte-typography-label-4-regular-font-family-v23-2-1:"hh sans";
|
|
34
|
-
--magritte-typography-label-4-regular-font-weight-v23-2-1:400;
|
|
35
|
-
--magritte-typography-label-4-regular-line-height-v23-2-1:18px;
|
|
36
|
-
--magritte-typography-label-4-regular-font-size-v23-2-1:12px;
|
|
37
|
-
--magritte-typography-label-4-regular-letter-spacing-v23-2-1:0.01em;
|
|
38
|
-
--magritte-typography-label-4-regular-text-indent-v23-2-1:0px;
|
|
39
|
-
--magritte-typography-label-4-regular-text-transform-v23-2-1:none;
|
|
40
|
-
--magritte-typography-label-4-regular-text-decoration-v23-2-1:none;
|
|
41
|
-
--magritte-static-space-100-v23-2-1:4px;
|
|
42
|
-
--magritte-static-space-400-v23-2-1:16px;
|
|
43
|
-
}
|
|
44
|
-
.magritte-file-info-body___HmfXd_4-0-12{
|
|
22
|
+
.magritte-file-info-body___HmfXd_4-0-13{
|
|
45
23
|
flex-grow:1;
|
|
46
24
|
}
|
|
47
|
-
.magritte-file-info-and-controls___61iyY_4-0-
|
|
25
|
+
.magritte-file-info-and-controls___61iyY_4-0-13{
|
|
48
26
|
display:flex;
|
|
49
|
-
gap:
|
|
27
|
+
gap:16px;
|
|
50
28
|
}
|
|
51
|
-
.magritte-file-info-container___WFab8_4-0-
|
|
29
|
+
.magritte-file-info-container___WFab8_4-0-13{
|
|
52
30
|
flex-grow:1;
|
|
53
31
|
width:50px;
|
|
54
32
|
}
|
|
55
|
-
.magritte-file-info___HrqiB_4-0-
|
|
33
|
+
.magritte-file-info___HrqiB_4-0-13{
|
|
56
34
|
display:flex;
|
|
57
|
-
gap:
|
|
58
|
-
font-family:
|
|
59
|
-
font-weight:
|
|
60
|
-
line-height:
|
|
61
|
-
font-size:
|
|
62
|
-
letter-spacing:
|
|
63
|
-
text-indent:
|
|
64
|
-
text-transform:
|
|
65
|
-
text-decoration:
|
|
66
|
-
}
|
|
67
|
-
.magritte-controls___WdH7A_4-0-
|
|
35
|
+
gap:4px;
|
|
36
|
+
font-family:"hh sans";
|
|
37
|
+
font-weight:400;
|
|
38
|
+
line-height:18px;
|
|
39
|
+
font-size:12px;
|
|
40
|
+
letter-spacing:0.01em;
|
|
41
|
+
text-indent:0px;
|
|
42
|
+
text-transform:none;
|
|
43
|
+
text-decoration:none;
|
|
44
|
+
}
|
|
45
|
+
.magritte-controls___WdH7A_4-0-13{
|
|
68
46
|
display:flex;
|
|
69
47
|
align-items:center;
|
|
70
48
|
margin-left:auto;
|
|
71
|
-
margin-right:
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
:root{
|
|
75
|
-
--magritte-static-space-400-v23-2-1:16px;
|
|
49
|
+
margin-right:16px;
|
|
76
50
|
}
|
|
77
51
|
|
|
78
|
-
.magritte-item___vVDG-_4-0-
|
|
52
|
+
.magritte-item___vVDG-_4-0-13{
|
|
79
53
|
display:flex;
|
|
80
54
|
width:100%;
|
|
81
|
-
gap:
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
:root{
|
|
85
|
-
--magritte-color-background-primary-v23-2-1:#ffffff;
|
|
86
|
-
--magritte-color-stroke-neutral-v23-2-1:#DCE3EB;
|
|
87
|
-
--magritte-color-stroke-accent-v23-2-1:#0070ff;
|
|
88
|
-
--magritte-color-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
|
|
89
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-1:#ff4d3a7a;
|
|
55
|
+
gap:16px;
|
|
90
56
|
}
|
|
91
57
|
|
|
92
58
|
:root{
|
|
93
|
-
--magritte-
|
|
94
|
-
--magritte-
|
|
95
|
-
--magritte-
|
|
96
|
-
--magritte-
|
|
97
|
-
--magritte-
|
|
59
|
+
--magritte-color-background-primary-v23-2-2:#ffffff;
|
|
60
|
+
--magritte-color-stroke-neutral-v23-2-2:#DCE3EB;
|
|
61
|
+
--magritte-color-stroke-accent-v23-2-2:#0070ff;
|
|
62
|
+
--magritte-color-stroke-state-focused-accessible-v23-2-2:#0070ff7a;
|
|
63
|
+
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-2:#ff4d3a7a;
|
|
98
64
|
}
|
|
99
65
|
|
|
100
66
|
.magritte-night-theme{
|
|
101
|
-
--magritte-color-background-primary-v23-2-
|
|
102
|
-
--magritte-color-stroke-neutral-v23-2-
|
|
103
|
-
--magritte-color-stroke-accent-v23-2-
|
|
104
|
-
--magritte-color-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
|
|
105
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-1:#ff4d3a7a;
|
|
67
|
+
--magritte-color-background-primary-v23-2-2:#1B1B1B;
|
|
68
|
+
--magritte-color-stroke-neutral-v23-2-2:#303030;
|
|
69
|
+
--magritte-color-stroke-accent-v23-2-2:#2b7fff;
|
|
106
70
|
}
|
|
107
71
|
|
|
108
72
|
.magritte-zp-day-theme{
|
|
109
|
-
--magritte-color-
|
|
110
|
-
--magritte-color-stroke-neutral-v23-2-1:#DCE3EB;
|
|
111
|
-
--magritte-color-stroke-accent-v23-2-1:#7195AF;
|
|
112
|
-
--magritte-color-stroke-state-focused-accessible-v23-2-1:#0070ff7a;
|
|
113
|
-
--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-1:#ff4d3a7a;
|
|
73
|
+
--magritte-color-stroke-accent-v23-2-2:#7195AF;
|
|
114
74
|
}
|
|
115
|
-
.magritte-root___FV1tC_4-0-
|
|
75
|
+
.magritte-root___FV1tC_4-0-13{
|
|
116
76
|
position:relative;
|
|
117
77
|
display:flex;
|
|
118
78
|
overflow:hidden;
|
|
119
|
-
border-radius:
|
|
120
|
-
background-color:var(--magritte-color-background-primary-v23-2-
|
|
79
|
+
border-radius:24px;
|
|
80
|
+
background-color:var(--magritte-color-background-primary-v23-2-2);
|
|
121
81
|
}
|
|
122
|
-
.magritte-root___FV1tC_4-0-
|
|
82
|
+
.magritte-root___FV1tC_4-0-13:hover{
|
|
123
83
|
cursor:pointer;
|
|
124
84
|
}
|
|
125
|
-
.magritte-root___FV1tC_4-0-
|
|
126
|
-
border-color:var(--magritte-color-stroke-accent-v23-2-
|
|
85
|
+
.magritte-root___FV1tC_4-0-13:hover .magritte-background___RfZ0U_4-0-13{
|
|
86
|
+
border-color:var(--magritte-color-stroke-accent-v23-2-2);
|
|
127
87
|
}
|
|
128
|
-
.magritte-root___FV1tC_4-0-
|
|
129
|
-
border-color:var(--magritte-color-stroke-accent-v23-2-
|
|
88
|
+
.magritte-root___FV1tC_4-0-13.magritte-drag-active___dihBL_4-0-13 .magritte-background___RfZ0U_4-0-13{
|
|
89
|
+
border-color:var(--magritte-color-stroke-accent-v23-2-2);
|
|
130
90
|
}
|
|
131
|
-
.magritte-root___FV1tC_4-0-
|
|
132
|
-
outline:var(--magritte-color-stroke-state-focused-accessible-v23-2-
|
|
91
|
+
.magritte-root___FV1tC_4-0-13.focus-visible{
|
|
92
|
+
outline:var(--magritte-color-stroke-state-focused-accessible-v23-2-2) solid 4px;
|
|
133
93
|
}
|
|
134
|
-
.magritte-root___FV1tC_4-0-
|
|
135
|
-
border-color:var(--magritte-color-stroke-accent-v23-2-
|
|
94
|
+
.magritte-root___FV1tC_4-0-13.focus-visible .magritte-background___RfZ0U_4-0-13{
|
|
95
|
+
border-color:var(--magritte-color-stroke-accent-v23-2-2);
|
|
136
96
|
}
|
|
137
|
-
.magritte-root___FV1tC_4-0-
|
|
138
|
-
.magritte-root___FV1tC_4-0-
|
|
97
|
+
.magritte-root___FV1tC_4-0-13.magritte-load___MghDA_4-0-13 .magritte-background___RfZ0U_4-0-13,
|
|
98
|
+
.magritte-root___FV1tC_4-0-13.magritte-loading___9E3p-_4-0-13 .magritte-background___RfZ0U_4-0-13{
|
|
139
99
|
border-style:solid;
|
|
140
100
|
border-width:7px;
|
|
141
101
|
}
|
|
142
|
-
.magritte-root___FV1tC_4-0-
|
|
143
|
-
outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-
|
|
102
|
+
.magritte-root___FV1tC_4-0-13.magritte-invalid___Rt10-_4-0-13.focus-visible{
|
|
103
|
+
outline:var(--magritte-color-component-input-stroke-state-negative-focused-accessible-v23-2-2) solid 4px;
|
|
144
104
|
}
|
|
145
|
-
.magritte-root___FV1tC_4-0-
|
|
146
|
-
border-color:var(--magritte-color-stroke-neutral-v23-2-
|
|
105
|
+
.magritte-root___FV1tC_4-0-13.magritte-invalid___Rt10-_4-0-13 .magritte-background___RfZ0U_4-0-13{
|
|
106
|
+
border-color:var(--magritte-color-stroke-neutral-v23-2-2);
|
|
147
107
|
}
|
|
148
|
-
.magritte-root_medium___67WJa_4-0-
|
|
108
|
+
.magritte-root_medium___67WJa_4-0-13{
|
|
149
109
|
justify-content:center;
|
|
150
|
-
padding:
|
|
110
|
+
padding:24px;
|
|
151
111
|
}
|
|
152
|
-
.magritte-root_medium___67WJa_4-0-
|
|
112
|
+
.magritte-root_medium___67WJa_4-0-13 .magritte-body___O7ROl_4-0-13{
|
|
153
113
|
flex-direction:column;
|
|
154
114
|
align-items:center;
|
|
155
115
|
justify-content:center;
|
|
156
116
|
}
|
|
157
|
-
.magritte-root_small___dkUYq_4-0-
|
|
158
|
-
padding-top:
|
|
159
|
-
padding-bottom:
|
|
160
|
-
padding-left:
|
|
117
|
+
.magritte-root_small___dkUYq_4-0-13{
|
|
118
|
+
padding-top:16px;
|
|
119
|
+
padding-bottom:16px;
|
|
120
|
+
padding-left:16px;
|
|
161
121
|
}
|
|
162
|
-
.magritte-root_small___dkUYq_4-0-
|
|
163
|
-
gap:
|
|
122
|
+
.magritte-root_small___dkUYq_4-0-13 .magritte-body___O7ROl_4-0-13{
|
|
123
|
+
gap:16px;
|
|
164
124
|
}
|
|
165
|
-
.magritte-background___RfZ0U_4-0-
|
|
125
|
+
.magritte-background___RfZ0U_4-0-13{
|
|
166
126
|
position:absolute;
|
|
167
127
|
border-width:8px;
|
|
168
128
|
border-style:dashed;
|
|
169
|
-
border-color:var(--magritte-color-stroke-neutral-v23-2-
|
|
129
|
+
border-color:var(--magritte-color-stroke-neutral-v23-2-2);
|
|
170
130
|
top:-6px;
|
|
171
131
|
bottom:-6px;
|
|
172
132
|
left:-6px;
|
|
173
133
|
right:-6px;
|
|
174
|
-
border-radius:calc(
|
|
134
|
+
border-radius:calc(24px + 6px);
|
|
175
135
|
background-position:center;
|
|
176
136
|
background-size:100%;
|
|
177
137
|
}
|
|
178
|
-
.magritte-body___O7ROl_4-0-
|
|
138
|
+
.magritte-body___O7ROl_4-0-13{
|
|
179
139
|
display:flex;
|
|
180
140
|
width:100%;
|
|
181
141
|
}
|
|
182
|
-
.magritte-loader___XYpWg_4-0-
|
|
142
|
+
.magritte-loader___XYpWg_4-0-13{
|
|
183
143
|
position:relative;
|
|
184
144
|
display:flex;
|
|
185
145
|
}
|
|
186
|
-
.magritte-cancel___tQ-yX_4-0-
|
|
146
|
+
.magritte-cancel___tQ-yX_4-0-13{
|
|
187
147
|
position:absolute;
|
|
188
148
|
top:0;
|
|
189
149
|
left:0;
|
|
@@ -193,37 +153,37 @@
|
|
|
193
153
|
align-items:center;
|
|
194
154
|
justify-content:center;
|
|
195
155
|
}
|
|
196
|
-
.magritte-image-controls___vLf94_4-0-
|
|
156
|
+
.magritte-image-controls___vLf94_4-0-13{
|
|
197
157
|
display:flex;
|
|
198
|
-
gap:
|
|
158
|
+
gap:12px;
|
|
199
159
|
align-items:flex-end;
|
|
200
160
|
justify-content:flex-end;
|
|
201
161
|
width:100%;
|
|
202
162
|
}
|
|
203
|
-
.magritte-small-controls___Qn9TP_4-0-
|
|
163
|
+
.magritte-small-controls___Qn9TP_4-0-13{
|
|
204
164
|
display:flex;
|
|
205
165
|
align-items:center;
|
|
206
166
|
margin-left:auto;
|
|
207
|
-
margin-right:
|
|
167
|
+
margin-right:20px;
|
|
208
168
|
}
|
|
209
|
-
.magritte-file-list___L9uHt_4-0-
|
|
210
|
-
margin-top:
|
|
211
|
-
box-shadow:inset 0 0 0 1px var(--magritte-color-stroke-neutral-v23-2-
|
|
212
|
-
border-radius:
|
|
213
|
-
padding-top:
|
|
169
|
+
.magritte-file-list___L9uHt_4-0-13{
|
|
170
|
+
margin-top:12px;
|
|
171
|
+
box-shadow:inset 0 0 0 1px var(--magritte-color-stroke-neutral-v23-2-2);
|
|
172
|
+
border-radius:24px;
|
|
173
|
+
padding-top:16px;
|
|
214
174
|
padding-right:0;
|
|
215
|
-
padding-bottom:
|
|
216
|
-
padding-left:
|
|
175
|
+
padding-bottom:16px;
|
|
176
|
+
padding-left:16px;
|
|
217
177
|
}
|
|
218
|
-
.magritte-file-icon___oetLK_4-0-
|
|
178
|
+
.magritte-file-icon___oetLK_4-0-13{
|
|
219
179
|
display:inline-flex;
|
|
220
180
|
}
|
|
221
|
-
.magritte-file-info___Y3vyi_4-0-
|
|
181
|
+
.magritte-file-info___Y3vyi_4-0-13{
|
|
222
182
|
display:inline-flex;
|
|
223
183
|
width:100%;
|
|
224
184
|
flex-direction:column;
|
|
225
185
|
align-items:center;
|
|
226
186
|
}
|
|
227
|
-
.magritte-hidden-file-info___92c69_4-0-
|
|
187
|
+
.magritte-hidden-file-info___92c69_4-0-13{
|
|
228
188
|
visibility:hidden;
|
|
229
189
|
}
|
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-Bv9VLFUp.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.13",
|
|
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": "23.2.
|
|
30
|
-
"@hh.ru/magritte-ui-avatar": "7.0.
|
|
29
|
+
"@hh.ru/magritte-design-tokens": "23.2.2",
|
|
30
|
+
"@hh.ru/magritte-ui-avatar": "7.0.7",
|
|
31
31
|
"@hh.ru/magritte-ui-breakpoint": "6.0.1",
|
|
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.3.
|
|
36
|
-
"@hh.ru/magritte-ui-loader": "2.0.
|
|
32
|
+
"@hh.ru/magritte-ui-button": "6.0.9",
|
|
33
|
+
"@hh.ru/magritte-ui-button-stack": "2.1.79",
|
|
34
|
+
"@hh.ru/magritte-ui-divider": "3.0.6",
|
|
35
|
+
"@hh.ru/magritte-ui-icon": "12.3.3",
|
|
36
|
+
"@hh.ru/magritte-ui-loader": "2.0.8",
|
|
37
37
|
"@hh.ru/magritte-ui-mock-component": "1.1.5",
|
|
38
|
-
"@hh.ru/magritte-ui-spacing": "2.0.
|
|
39
|
-
"@hh.ru/magritte-ui-typography": "4.2.
|
|
38
|
+
"@hh.ru/magritte-ui-spacing": "2.0.63",
|
|
39
|
+
"@hh.ru/magritte-ui-typography": "4.2.3",
|
|
40
40
|
"react-dropzone": "14.3.5"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "b2ab15b73592666625ff3b84e10f3cc1bcee9cbc"
|
|
43
43
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import './index.css';
|
|
2
|
+
var styles = {"root":"magritte-root___FV1tC_4-0-13","background":"magritte-background___RfZ0U_4-0-13","drag-active":"magritte-drag-active___dihBL_4-0-13","dragActive":"magritte-drag-active___dihBL_4-0-13","load":"magritte-load___MghDA_4-0-13","loading":"magritte-loading___9E3p-_4-0-13","invalid":"magritte-invalid___Rt10-_4-0-13","root_medium":"magritte-root_medium___67WJa_4-0-13","rootMedium":"magritte-root_medium___67WJa_4-0-13","body":"magritte-body___O7ROl_4-0-13","root_small":"magritte-root_small___dkUYq_4-0-13","rootSmall":"magritte-root_small___dkUYq_4-0-13","loader":"magritte-loader___XYpWg_4-0-13","cancel":"magritte-cancel___tQ-yX_4-0-13","image-controls":"magritte-image-controls___vLf94_4-0-13","imageControls":"magritte-image-controls___vLf94_4-0-13","small-controls":"magritte-small-controls___Qn9TP_4-0-13","smallControls":"magritte-small-controls___Qn9TP_4-0-13","file-list":"magritte-file-list___L9uHt_4-0-13","fileList":"magritte-file-list___L9uHt_4-0-13","file-icon":"magritte-file-icon___oetLK_4-0-13","fileIcon":"magritte-file-icon___oetLK_4-0-13","file-info":"magritte-file-info___Y3vyi_4-0-13","fileInfo":"magritte-file-info___Y3vyi_4-0-13","hidden-file-info":"magritte-hidden-file-info___92c69_4-0-13","hiddenFileInfo":"magritte-hidden-file-info___92c69_4-0-13"};
|
|
3
|
+
|
|
4
|
+
export { styles as s };
|
|
5
|
+
//# sourceMappingURL=upload-Bv9VLFUp.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload-Bv9VLFUp.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/upload-xLJLc7UY.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import './index.css';
|
|
2
|
-
var styles = {"root":"magritte-root___FV1tC_4-0-12","background":"magritte-background___RfZ0U_4-0-12","drag-active":"magritte-drag-active___dihBL_4-0-12","dragActive":"magritte-drag-active___dihBL_4-0-12","load":"magritte-load___MghDA_4-0-12","loading":"magritte-loading___9E3p-_4-0-12","invalid":"magritte-invalid___Rt10-_4-0-12","root_medium":"magritte-root_medium___67WJa_4-0-12","rootMedium":"magritte-root_medium___67WJa_4-0-12","body":"magritte-body___O7ROl_4-0-12","root_small":"magritte-root_small___dkUYq_4-0-12","rootSmall":"magritte-root_small___dkUYq_4-0-12","loader":"magritte-loader___XYpWg_4-0-12","cancel":"magritte-cancel___tQ-yX_4-0-12","image-controls":"magritte-image-controls___vLf94_4-0-12","imageControls":"magritte-image-controls___vLf94_4-0-12","small-controls":"magritte-small-controls___Qn9TP_4-0-12","smallControls":"magritte-small-controls___Qn9TP_4-0-12","file-list":"magritte-file-list___L9uHt_4-0-12","fileList":"magritte-file-list___L9uHt_4-0-12","file-icon":"magritte-file-icon___oetLK_4-0-12","fileIcon":"magritte-file-icon___oetLK_4-0-12","file-info":"magritte-file-info___Y3vyi_4-0-12","fileInfo":"magritte-file-info___Y3vyi_4-0-12","hidden-file-info":"magritte-hidden-file-info___92c69_4-0-12","hiddenFileInfo":"magritte-hidden-file-info___92c69_4-0-12"};
|
|
3
|
-
|
|
4
|
-
export { styles as s };
|
|
5
|
-
//# sourceMappingURL=upload-xLJLc7UY.js.map
|
package/upload-xLJLc7UY.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upload-xLJLc7UY.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|