@react-spectrum/dropzone 3.0.0-nightly.4228 → 3.0.0-nightly.4242
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/dist/import.mjs +23 -21
- package/dist/main.js +23 -21
- package/dist/main.js.map +1 -1
- package/dist/module.js +23 -21
- package/dist/module.js.map +1 -1
- package/package.json +9 -9
package/dist/import.mjs
CHANGED
@@ -5,9 +5,11 @@ import {useId as $gvoUB$useId, mergeProps as $gvoUB$mergeProps} from "@react-ari
|
|
5
5
|
import $gvoUB$react from "react";
|
6
6
|
import {useLocalizedStringFormatter as $gvoUB$useLocalizedStringFormatter} from "@react-aria/i18n";
|
7
7
|
|
8
|
+
|
8
9
|
function $parcel$interopDefault(a) {
|
9
10
|
return a && a.__esModule ? a.default : a;
|
10
11
|
}
|
12
|
+
|
11
13
|
function $parcel$export(e, n, v, s) {
|
12
14
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
13
15
|
}
|
@@ -37,19 +39,19 @@ function $parcel$export(e, n, v, s) {
|
|
37
39
|
var $e4fb2fdca6053dfb$exports = {};
|
38
40
|
var $3cffa6a83421c23c$exports = {};
|
39
41
|
$3cffa6a83421c23c$exports = {
|
40
|
-
"replaceMessage":
|
42
|
+
"replaceMessage": `\u{644}\u{644}\u{627}\u{633}\u{62A}\u{628}\u{62F}\u{627}\u{644}\u{60C} \u{642}\u{645} \u{628}\u{625}\u{641}\u{644}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{644}\u{641}`
|
41
43
|
};
|
42
44
|
|
43
45
|
|
44
46
|
var $65cafe835931ede6$exports = {};
|
45
47
|
$65cafe835931ede6$exports = {
|
46
|
-
"replaceMessage":
|
48
|
+
"replaceMessage": `\u{41F}\u{443}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{437}\u{430} \u{437}\u{430}\u{43C}\u{44F}\u{43D}\u{430}`
|
47
49
|
};
|
48
50
|
|
49
51
|
|
50
52
|
var $2adcb67bf4ec91c9$exports = {};
|
51
53
|
$2adcb67bf4ec91c9$exports = {
|
52
|
-
"replaceMessage": `
|
54
|
+
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
53
55
|
};
|
54
56
|
|
55
57
|
|
@@ -67,7 +69,7 @@ $3ce29be01ff65705$exports = {
|
|
67
69
|
|
68
70
|
var $ae42035e6b9dd97a$exports = {};
|
69
71
|
$ae42035e6b9dd97a$exports = {
|
70
|
-
"replaceMessage":
|
72
|
+
"replaceMessage": `\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3B1}\u{3C1}\u{3C7}\u{3B5}\u{3AF}\u{3BF}\u{3C5} \u{3B3}\u{3B9}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B1}\u{3C4}\u{3AC}\u{3C3}\u{3C4}\u{3B1}\u{3C3}\u{3B7}`
|
71
73
|
};
|
72
74
|
|
73
75
|
|
@@ -97,13 +99,13 @@ $db22385d5bdd005e$exports = {
|
|
97
99
|
|
98
100
|
var $245a392e21415836$exports = {};
|
99
101
|
$245a392e21415836$exports = {
|
100
|
-
"replaceMessage": `
|
102
|
+
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
101
103
|
};
|
102
104
|
|
103
105
|
|
104
106
|
var $6413fb43414b9e75$exports = {};
|
105
107
|
$6413fb43414b9e75$exports = {
|
106
|
-
"replaceMessage":
|
108
|
+
"replaceMessage": `\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5D0}\u{5EA} \u{5D4}\u{5E7}\u{5D5}\u{5D1}\u{5E5} \u{5DC}\u{5D4}\u{5D7}\u{5DC}\u{5E4}\u{5D4}`
|
107
109
|
};
|
108
110
|
|
109
111
|
|
@@ -115,7 +117,7 @@ $ee0ea9d296f5f6ab$exports = {
|
|
115
117
|
|
116
118
|
var $51171b341dfc5453$exports = {};
|
117
119
|
$51171b341dfc5453$exports = {
|
118
|
-
"replaceMessage": `Ejtse le a
|
120
|
+
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
119
121
|
};
|
120
122
|
|
121
123
|
|
@@ -127,31 +129,31 @@ $830e3263459eb1d0$exports = {
|
|
127
129
|
|
128
130
|
var $289e4e8b39441972$exports = {};
|
129
131
|
$289e4e8b39441972$exports = {
|
130
|
-
"replaceMessage":
|
132
|
+
"replaceMessage": `\u{30D5}\u{30A1}\u{30A4}\u{30EB}\u{3092}\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{3057}\u{3066}\u{7F6E}\u{63DB}`
|
131
133
|
};
|
132
134
|
|
133
135
|
|
134
136
|
var $3a6a62f186206880$exports = {};
|
135
137
|
$3a6a62f186206880$exports = {
|
136
|
-
"replaceMessage":
|
138
|
+
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
137
139
|
};
|
138
140
|
|
139
141
|
|
140
142
|
var $ad1097286dff3101$exports = {};
|
141
143
|
$ad1097286dff3101$exports = {
|
142
|
-
"replaceMessage": `
|
144
|
+
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
143
145
|
};
|
144
146
|
|
145
147
|
|
146
148
|
var $fd59115b0041c337$exports = {};
|
147
149
|
$fd59115b0041c337$exports = {
|
148
|
-
"replaceMessage": `Lai
|
150
|
+
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
149
151
|
};
|
150
152
|
|
151
153
|
|
152
154
|
var $710ff1246576a6ec$exports = {};
|
153
155
|
$710ff1246576a6ec$exports = {
|
154
|
-
"replaceMessage": `Slipp filen for
|
156
|
+
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
155
157
|
};
|
156
158
|
|
157
159
|
|
@@ -163,7 +165,7 @@ $000943b4c8779050$exports = {
|
|
163
165
|
|
164
166
|
var $7f2e93329f476e76$exports = {};
|
165
167
|
$7f2e93329f476e76$exports = {
|
166
|
-
"replaceMessage": `
|
168
|
+
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
167
169
|
};
|
168
170
|
|
169
171
|
|
@@ -181,19 +183,19 @@ $7a646e214fd1cba2$exports = {
|
|
181
183
|
|
182
184
|
var $93014858e8228579$exports = {};
|
183
185
|
$93014858e8228579$exports = {
|
184
|
-
"replaceMessage": `
|
186
|
+
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
185
187
|
};
|
186
188
|
|
187
189
|
|
188
190
|
var $2769c5d71042ac27$exports = {};
|
189
191
|
$2769c5d71042ac27$exports = {
|
190
|
-
"replaceMessage":
|
192
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{435}\u{43D}\u{44B}`
|
191
193
|
};
|
192
194
|
|
193
195
|
|
194
196
|
var $e689339abe8753c7$exports = {};
|
195
197
|
$e689339abe8753c7$exports = {
|
196
|
-
"replaceMessage": `
|
198
|
+
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
197
199
|
};
|
198
200
|
|
199
201
|
|
@@ -211,31 +213,31 @@ $0bb12c08fb7d59be$exports = {
|
|
211
213
|
|
212
214
|
var $b8c50d0f68c95c3d$exports = {};
|
213
215
|
$b8c50d0f68c95c3d$exports = {
|
214
|
-
"replaceMessage": `
|
216
|
+
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
215
217
|
};
|
216
218
|
|
217
219
|
|
218
220
|
var $711c9bc16244510d$exports = {};
|
219
221
|
$711c9bc16244510d$exports = {
|
220
|
-
"replaceMessage": `
|
222
|
+
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
221
223
|
};
|
222
224
|
|
223
225
|
|
224
226
|
var $6229f5290723ff0e$exports = {};
|
225
227
|
$6229f5290723ff0e$exports = {
|
226
|
-
"replaceMessage":
|
228
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{456}\u{43D}\u{438}`
|
227
229
|
};
|
228
230
|
|
229
231
|
|
230
232
|
var $1ba57165d5de0b25$exports = {};
|
231
233
|
$1ba57165d5de0b25$exports = {
|
232
|
-
"replaceMessage":
|
234
|
+
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
233
235
|
};
|
234
236
|
|
235
237
|
|
236
238
|
var $586e20fd0bf5d7aa$exports = {};
|
237
239
|
$586e20fd0bf5d7aa$exports = {
|
238
|
-
"replaceMessage":
|
240
|
+
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
239
241
|
};
|
240
242
|
|
241
243
|
|
package/dist/main.js
CHANGED
@@ -5,9 +5,11 @@ var $fRqBm$reactariautils = require("@react-aria/utils");
|
|
5
5
|
var $fRqBm$react = require("react");
|
6
6
|
var $fRqBm$reactariai18n = require("@react-aria/i18n");
|
7
7
|
|
8
|
+
|
8
9
|
function $parcel$export(e, n, v, s) {
|
9
10
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
10
11
|
}
|
12
|
+
|
11
13
|
function $parcel$interopDefault(a) {
|
12
14
|
return a && a.__esModule ? a.default : a;
|
13
15
|
}
|
@@ -39,19 +41,19 @@ $parcel$export(module.exports, "DropZone", () => $f7b7e7956f17a6e7$export$3c6489
|
|
39
41
|
var $338e657e2a59c652$exports = {};
|
40
42
|
var $a6975295bf5c4d55$exports = {};
|
41
43
|
$a6975295bf5c4d55$exports = {
|
42
|
-
"replaceMessage":
|
44
|
+
"replaceMessage": `\u{644}\u{644}\u{627}\u{633}\u{62A}\u{628}\u{62F}\u{627}\u{644}\u{60C} \u{642}\u{645} \u{628}\u{625}\u{641}\u{644}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{644}\u{641}`
|
43
45
|
};
|
44
46
|
|
45
47
|
|
46
48
|
var $ab5dc96d5c64d58d$exports = {};
|
47
49
|
$ab5dc96d5c64d58d$exports = {
|
48
|
-
"replaceMessage":
|
50
|
+
"replaceMessage": `\u{41F}\u{443}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{437}\u{430} \u{437}\u{430}\u{43C}\u{44F}\u{43D}\u{430}`
|
49
51
|
};
|
50
52
|
|
51
53
|
|
52
54
|
var $ec9c957cc1eb6ac9$exports = {};
|
53
55
|
$ec9c957cc1eb6ac9$exports = {
|
54
|
-
"replaceMessage": `
|
56
|
+
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
55
57
|
};
|
56
58
|
|
57
59
|
|
@@ -69,7 +71,7 @@ $d17f27c65aaaf6a8$exports = {
|
|
69
71
|
|
70
72
|
var $348bb5362089d093$exports = {};
|
71
73
|
$348bb5362089d093$exports = {
|
72
|
-
"replaceMessage":
|
74
|
+
"replaceMessage": `\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3B1}\u{3C1}\u{3C7}\u{3B5}\u{3AF}\u{3BF}\u{3C5} \u{3B3}\u{3B9}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B1}\u{3C4}\u{3AC}\u{3C3}\u{3C4}\u{3B1}\u{3C3}\u{3B7}`
|
73
75
|
};
|
74
76
|
|
75
77
|
|
@@ -99,13 +101,13 @@ $e5c8914ba605a596$exports = {
|
|
99
101
|
|
100
102
|
var $d15362445d044738$exports = {};
|
101
103
|
$d15362445d044738$exports = {
|
102
|
-
"replaceMessage": `
|
104
|
+
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
103
105
|
};
|
104
106
|
|
105
107
|
|
106
108
|
var $32537b5d24d2d4fc$exports = {};
|
107
109
|
$32537b5d24d2d4fc$exports = {
|
108
|
-
"replaceMessage":
|
110
|
+
"replaceMessage": `\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5D0}\u{5EA} \u{5D4}\u{5E7}\u{5D5}\u{5D1}\u{5E5} \u{5DC}\u{5D4}\u{5D7}\u{5DC}\u{5E4}\u{5D4}`
|
109
111
|
};
|
110
112
|
|
111
113
|
|
@@ -117,7 +119,7 @@ $c18f98b9142e7b26$exports = {
|
|
117
119
|
|
118
120
|
var $570766610b3b9179$exports = {};
|
119
121
|
$570766610b3b9179$exports = {
|
120
|
-
"replaceMessage": `Ejtse le a
|
122
|
+
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
121
123
|
};
|
122
124
|
|
123
125
|
|
@@ -129,31 +131,31 @@ $af6eb076bbc3df31$exports = {
|
|
129
131
|
|
130
132
|
var $797208a224779dc6$exports = {};
|
131
133
|
$797208a224779dc6$exports = {
|
132
|
-
"replaceMessage":
|
134
|
+
"replaceMessage": `\u{30D5}\u{30A1}\u{30A4}\u{30EB}\u{3092}\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{3057}\u{3066}\u{7F6E}\u{63DB}`
|
133
135
|
};
|
134
136
|
|
135
137
|
|
136
138
|
var $efe0febd9c5ff51d$exports = {};
|
137
139
|
$efe0febd9c5ff51d$exports = {
|
138
|
-
"replaceMessage":
|
140
|
+
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
139
141
|
};
|
140
142
|
|
141
143
|
|
142
144
|
var $3119bdb414264e20$exports = {};
|
143
145
|
$3119bdb414264e20$exports = {
|
144
|
-
"replaceMessage": `
|
146
|
+
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
145
147
|
};
|
146
148
|
|
147
149
|
|
148
150
|
var $8d43cc6c8aff95db$exports = {};
|
149
151
|
$8d43cc6c8aff95db$exports = {
|
150
|
-
"replaceMessage": `Lai
|
152
|
+
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
151
153
|
};
|
152
154
|
|
153
155
|
|
154
156
|
var $a5084d93d23b0854$exports = {};
|
155
157
|
$a5084d93d23b0854$exports = {
|
156
|
-
"replaceMessage": `Slipp filen for
|
158
|
+
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
157
159
|
};
|
158
160
|
|
159
161
|
|
@@ -165,7 +167,7 @@ $5978d18c34077bbe$exports = {
|
|
165
167
|
|
166
168
|
var $f17bee60ccd0e5e3$exports = {};
|
167
169
|
$f17bee60ccd0e5e3$exports = {
|
168
|
-
"replaceMessage": `
|
170
|
+
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
169
171
|
};
|
170
172
|
|
171
173
|
|
@@ -183,19 +185,19 @@ $a9483dcdf6481e43$exports = {
|
|
183
185
|
|
184
186
|
var $5741c50d5ed46532$exports = {};
|
185
187
|
$5741c50d5ed46532$exports = {
|
186
|
-
"replaceMessage": `
|
188
|
+
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
187
189
|
};
|
188
190
|
|
189
191
|
|
190
192
|
var $8fd22e7013122e76$exports = {};
|
191
193
|
$8fd22e7013122e76$exports = {
|
192
|
-
"replaceMessage":
|
194
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{435}\u{43D}\u{44B}`
|
193
195
|
};
|
194
196
|
|
195
197
|
|
196
198
|
var $87e27b1f4c06cc77$exports = {};
|
197
199
|
$87e27b1f4c06cc77$exports = {
|
198
|
-
"replaceMessage": `
|
200
|
+
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
199
201
|
};
|
200
202
|
|
201
203
|
|
@@ -213,31 +215,31 @@ $4cae4b890c7d2e64$exports = {
|
|
213
215
|
|
214
216
|
var $ef9b4743bba0e45f$exports = {};
|
215
217
|
$ef9b4743bba0e45f$exports = {
|
216
|
-
"replaceMessage": `
|
218
|
+
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
217
219
|
};
|
218
220
|
|
219
221
|
|
220
222
|
var $8c5762c3146afda1$exports = {};
|
221
223
|
$8c5762c3146afda1$exports = {
|
222
|
-
"replaceMessage": `
|
224
|
+
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
223
225
|
};
|
224
226
|
|
225
227
|
|
226
228
|
var $1a99cc22a4a9a948$exports = {};
|
227
229
|
$1a99cc22a4a9a948$exports = {
|
228
|
-
"replaceMessage":
|
230
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{456}\u{43D}\u{438}`
|
229
231
|
};
|
230
232
|
|
231
233
|
|
232
234
|
var $eae14e35d0f53ea0$exports = {};
|
233
235
|
$eae14e35d0f53ea0$exports = {
|
234
|
-
"replaceMessage":
|
236
|
+
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
235
237
|
};
|
236
238
|
|
237
239
|
|
238
240
|
var $88e03544efa0a675$exports = {};
|
239
241
|
$88e03544efa0a675$exports = {
|
240
|
-
"replaceMessage":
|
242
|
+
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
241
243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AAA,oCAAS,EACxC,CAAA,GAAA,gEAAK,GACL;YACC;QACL;OACC,yBAEH,0DAAC;QAAI,WAAW,CAAA,GAAA,oCAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;sBACnC,0DAAC;QACC,IAAI;QACJ,WACE,CAAA,GAAA,oCAAS,EACP,CAAA,GAAA,gEAAK,GACL,4BACA,WAAW;OAGd,iBAAiB,iBAAiB,gBAAgB,OAAO;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,sCAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends DropZoneProps, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(otherProps)}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,kBAAkB,CAAC,oKAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wIAAsB,CAAC;AAC9D;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,+CAA6B,CAAC;AACrE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wBA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spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends DropZoneProps, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(otherProps)}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"main.js.map"}
|
package/dist/module.js
CHANGED
@@ -5,9 +5,11 @@ import {useId as $gvoUB$useId, mergeProps as $gvoUB$mergeProps} from "@react-ari
|
|
5
5
|
import $gvoUB$react from "react";
|
6
6
|
import {useLocalizedStringFormatter as $gvoUB$useLocalizedStringFormatter} from "@react-aria/i18n";
|
7
7
|
|
8
|
+
|
8
9
|
function $parcel$interopDefault(a) {
|
9
10
|
return a && a.__esModule ? a.default : a;
|
10
11
|
}
|
12
|
+
|
11
13
|
function $parcel$export(e, n, v, s) {
|
12
14
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
13
15
|
}
|
@@ -37,19 +39,19 @@ function $parcel$export(e, n, v, s) {
|
|
37
39
|
var $e4fb2fdca6053dfb$exports = {};
|
38
40
|
var $3cffa6a83421c23c$exports = {};
|
39
41
|
$3cffa6a83421c23c$exports = {
|
40
|
-
"replaceMessage":
|
42
|
+
"replaceMessage": `\u{644}\u{644}\u{627}\u{633}\u{62A}\u{628}\u{62F}\u{627}\u{644}\u{60C} \u{642}\u{645} \u{628}\u{625}\u{641}\u{644}\u{627}\u{62A} \u{627}\u{644}\u{645}\u{644}\u{641}`
|
41
43
|
};
|
42
44
|
|
43
45
|
|
44
46
|
var $65cafe835931ede6$exports = {};
|
45
47
|
$65cafe835931ede6$exports = {
|
46
|
-
"replaceMessage":
|
48
|
+
"replaceMessage": `\u{41F}\u{443}\u{441}\u{43D}\u{435}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{437}\u{430} \u{437}\u{430}\u{43C}\u{44F}\u{43D}\u{430}`
|
47
49
|
};
|
48
50
|
|
49
51
|
|
50
52
|
var $2adcb67bf4ec91c9$exports = {};
|
51
53
|
$2adcb67bf4ec91c9$exports = {
|
52
|
-
"replaceMessage": `
|
54
|
+
"replaceMessage": `P\u{159}et\xe1hn\u{11B}te soubor k nahrazen\xed`
|
53
55
|
};
|
54
56
|
|
55
57
|
|
@@ -67,7 +69,7 @@ $3ce29be01ff65705$exports = {
|
|
67
69
|
|
68
70
|
var $ae42035e6b9dd97a$exports = {};
|
69
71
|
$ae42035e6b9dd97a$exports = {
|
70
|
-
"replaceMessage":
|
72
|
+
"replaceMessage": `\u{391}\u{3C0}\u{3CC}\u{3B8}\u{3B5}\u{3C3}\u{3B7} \u{3B1}\u{3C1}\u{3C7}\u{3B5}\u{3AF}\u{3BF}\u{3C5} \u{3B3}\u{3B9}\u{3B1} \u{3B1}\u{3BD}\u{3C4}\u{3B9}\u{3BA}\u{3B1}\u{3C4}\u{3AC}\u{3C3}\u{3C4}\u{3B1}\u{3C3}\u{3B7}`
|
71
73
|
};
|
72
74
|
|
73
75
|
|
@@ -97,13 +99,13 @@ $db22385d5bdd005e$exports = {
|
|
97
99
|
|
98
100
|
var $245a392e21415836$exports = {};
|
99
101
|
$245a392e21415836$exports = {
|
100
|
-
"replaceMessage": `
|
102
|
+
"replaceMessage": `D\xe9poser le fichier \xe0 remplacer`
|
101
103
|
};
|
102
104
|
|
103
105
|
|
104
106
|
var $6413fb43414b9e75$exports = {};
|
105
107
|
$6413fb43414b9e75$exports = {
|
106
|
-
"replaceMessage":
|
108
|
+
"replaceMessage": `\u{5E9}\u{5D7}\u{5E8}\u{5E8} \u{5D0}\u{5EA} \u{5D4}\u{5E7}\u{5D5}\u{5D1}\u{5E5} \u{5DC}\u{5D4}\u{5D7}\u{5DC}\u{5E4}\u{5D4}`
|
107
109
|
};
|
108
110
|
|
109
111
|
|
@@ -115,7 +117,7 @@ $ee0ea9d296f5f6ab$exports = {
|
|
115
117
|
|
116
118
|
var $51171b341dfc5453$exports = {};
|
117
119
|
$51171b341dfc5453$exports = {
|
118
|
-
"replaceMessage": `Ejtse le a
|
120
|
+
"replaceMessage": `Ejtse le a f\xe1jlt a cser\xe9hez`
|
119
121
|
};
|
120
122
|
|
121
123
|
|
@@ -127,31 +129,31 @@ $830e3263459eb1d0$exports = {
|
|
127
129
|
|
128
130
|
var $289e4e8b39441972$exports = {};
|
129
131
|
$289e4e8b39441972$exports = {
|
130
|
-
"replaceMessage":
|
132
|
+
"replaceMessage": `\u{30D5}\u{30A1}\u{30A4}\u{30EB}\u{3092}\u{30C9}\u{30ED}\u{30C3}\u{30D7}\u{3057}\u{3066}\u{7F6E}\u{63DB}`
|
131
133
|
};
|
132
134
|
|
133
135
|
|
134
136
|
var $3a6a62f186206880$exports = {};
|
135
137
|
$3a6a62f186206880$exports = {
|
136
|
-
"replaceMessage":
|
138
|
+
"replaceMessage": `\u{D30C}\u{C77C}\u{C744} \u{B4DC}\u{B86D}\u{D558}\u{C5EC} \u{BC14}\u{AFB8}\u{AE30}`
|
137
139
|
};
|
138
140
|
|
139
141
|
|
140
142
|
var $ad1097286dff3101$exports = {};
|
141
143
|
$ad1097286dff3101$exports = {
|
142
|
-
"replaceMessage": `
|
144
|
+
"replaceMessage": `Pa\u{161}alinkite fail\u{105}, kad pakeistum\u{117}te`
|
143
145
|
};
|
144
146
|
|
145
147
|
|
146
148
|
var $fd59115b0041c337$exports = {};
|
147
149
|
$fd59115b0041c337$exports = {
|
148
|
-
"replaceMessage": `Lai
|
150
|
+
"replaceMessage": `Lai aizst\u{101}tu, nometiet failu`
|
149
151
|
};
|
150
152
|
|
151
153
|
|
152
154
|
var $710ff1246576a6ec$exports = {};
|
153
155
|
$710ff1246576a6ec$exports = {
|
154
|
-
"replaceMessage": `Slipp filen for
|
156
|
+
"replaceMessage": `Slipp filen for \xe5 erstatte`
|
155
157
|
};
|
156
158
|
|
157
159
|
|
@@ -163,7 +165,7 @@ $000943b4c8779050$exports = {
|
|
163
165
|
|
164
166
|
var $7f2e93329f476e76$exports = {};
|
165
167
|
$7f2e93329f476e76$exports = {
|
166
|
-
"replaceMessage": `
|
168
|
+
"replaceMessage": `Upu\u{15B}\u{107} plik, aby zast\u{105}pi\u{107}`
|
167
169
|
};
|
168
170
|
|
169
171
|
|
@@ -181,19 +183,19 @@ $7a646e214fd1cba2$exports = {
|
|
181
183
|
|
182
184
|
var $93014858e8228579$exports = {};
|
183
185
|
$93014858e8228579$exports = {
|
184
|
-
"replaceMessage": `
|
186
|
+
"replaceMessage": `Plasa\u{21B}i fi\u{219}ierul pentru a \xeenlocui`
|
185
187
|
};
|
186
188
|
|
187
189
|
|
188
190
|
var $2769c5d71042ac27$exports = {};
|
189
191
|
$2769c5d71042ac27$exports = {
|
190
|
-
"replaceMessage":
|
192
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{430}\u{449}\u{438}\u{442}\u{435} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{435}\u{43D}\u{44B}`
|
191
193
|
};
|
192
194
|
|
193
195
|
|
194
196
|
var $e689339abe8753c7$exports = {};
|
195
197
|
$e689339abe8753c7$exports = {
|
196
|
-
"replaceMessage": `
|
198
|
+
"replaceMessage": `Presu\u{148}te s\xfabor, ktor\xfd chcete nahradi\u{165}`
|
197
199
|
};
|
198
200
|
|
199
201
|
|
@@ -211,31 +213,31 @@ $0bb12c08fb7d59be$exports = {
|
|
211
213
|
|
212
214
|
var $b8c50d0f68c95c3d$exports = {};
|
213
215
|
$b8c50d0f68c95c3d$exports = {
|
214
|
-
"replaceMessage": `
|
216
|
+
"replaceMessage": `Sl\xe4pp filen f\xf6r att ers\xe4tta`
|
215
217
|
};
|
216
218
|
|
217
219
|
|
218
220
|
var $711c9bc16244510d$exports = {};
|
219
221
|
$711c9bc16244510d$exports = {
|
220
|
-
"replaceMessage": `
|
222
|
+
"replaceMessage": `De\u{11F}i\u{15F}tirmek i\xe7in dosyay\u{131} b\u{131}rak\u{131}n`
|
221
223
|
};
|
222
224
|
|
223
225
|
|
224
226
|
var $6229f5290723ff0e$exports = {};
|
225
227
|
$6229f5290723ff0e$exports = {
|
226
|
-
"replaceMessage":
|
228
|
+
"replaceMessage": `\u{41F}\u{435}\u{440}\u{435}\u{442}\u{44F}\u{433}\u{43D}\u{456}\u{442}\u{44C} \u{444}\u{430}\u{439}\u{43B} \u{434}\u{43B}\u{44F} \u{437}\u{430}\u{43C}\u{456}\u{43D}\u{438}`
|
227
229
|
};
|
228
230
|
|
229
231
|
|
230
232
|
var $1ba57165d5de0b25$exports = {};
|
231
233
|
$1ba57165d5de0b25$exports = {
|
232
|
-
"replaceMessage":
|
234
|
+
"replaceMessage": `\u{5220}\u{9664}\u{8981}\u{66FF}\u{6362}\u{7684}\u{6587}\u{4EF6}`
|
233
235
|
};
|
234
236
|
|
235
237
|
|
236
238
|
var $586e20fd0bf5d7aa$exports = {};
|
237
239
|
$586e20fd0bf5d7aa$exports = {
|
238
|
-
"replaceMessage":
|
240
|
+
"replaceMessage": `\u{653E}\u{7F6E}\u{8981}\u{53D6}\u{4EE3}\u{7684}\u{6A94}\u{6848}`
|
239
241
|
};
|
240
242
|
|
241
243
|
|
package/dist/module.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,kBAAkB,CAAC,0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A,gEAAK,GACL,4BACA,WAAW;OAGd,iBAAiB,iBAAiB,gBAAgB,OAAO;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,YAAI,EAAE,WAAW;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends DropZoneProps, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(otherProps)}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC,GAED,0CAA0C;ACZ1C;;;;;;;;;;CAUC;;;;AEVD,4BAAiB;IAAG,kBAAkB,CAAC,oKAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wIAAsB,CAAC;AAC9D;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,+CAA6B,CAAC;AACrE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,wBAAwB,CAAC;AAChE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,0BAA0B,CAAC;AAClE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,qNAAiC,CAAC;AACzE;;;;ACDA,4BAAiB;IAAG,kBAAkB,CAAC,oBAAoB,CAAC;AAC5D;;;;ACDA,4B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C,CAAC;;;;ApCsBhF,SAAS,+BAAS,KAA4B,EAAE,GAA2B;IACzE,IAAI,YAAC,QAAQ,YAAE,QAAQ,kBAAE,cAAc,EAAE,GAAG,YAAW,GAAG;IAC1D,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,oBAAY,EAAE;IACjC,IAAI,SAAS,CAAA,GAAA,gBAAQ,EAAE;IACvB,IAAI,YAAY,CAAA,GAAA,YAAI;IACpB,IAAI,kBAAkB,CAAA,GAAA,kCAA0B,EAAE,CAAA,GAAA,gEAAW;IAE7D,qBACE,gCAAC,CAAA,GAAA,eAAU;QACR,GAAG,CAAA,GAAA,iBAAS,EAAE,WAAW;QACzB,GAAG,UAAU;QACd,mBAAiB,YAAY;QAC7B,WACA,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,qBACA,WAAW,SAAS,EACpB;YAAC,6BAA6B;QAAQ;QAExC,KAAK;qBACL,gCAAC,CAAA,GAAA,mBAAW;QACV,OAAO;YACL,cAAc;gBAAC,kBAAkB,CAAA,GAAA,iBAAS,EACxC,CAAA,GAAA,gEAAK,GACL;YACC;QACL;OACC,yBAEH,gCAAC;QAAI,WAAW,CAAA,GAAA,iBAAS,EAAE,CAAA,GAAA,gEAAK,GAAG;sBACnC,gCAAC;QACC,IAAI;QACJ,WACE,CAAA,GAAA,iBAAS,EACP,CAAA,GAAA,gEAAK,GACL,4BACA,WAAW,SAAS;OAGvB,iBAAiB,iBAAiB,gBAAgB,MAAM,CAAC;AAIlE;AAEA;;CAEC,GACD,IAAI,yDAAY,CAAA,GAAA,YAAI,EAAE,UAAU,CAAC;","sources":["packages/@react-spectrum/dropzone/src/index.ts","packages/@react-spectrum/dropzone/src/DropZone.tsx","packages/@react-spectrum/dropzone/src/*.js","packages/@react-spectrum/dropzone/intl/ar-AE.json","packages/@react-spectrum/dropzone/intl/bg-BG.json","packages/@react-spectrum/dropzone/intl/cs-CZ.json","packages/@react-spectrum/dropzone/intl/da-DK.json","packages/@react-spectrum/dropzone/intl/de-DE.json","packages/@react-spectrum/dropzone/intl/el-GR.json","packages/@react-spectrum/dropzone/intl/en-US.json","packages/@react-spectrum/dropzone/intl/es-ES.json","packages/@react-spectrum/dropzone/intl/et-EE.json","packages/@react-spectrum/dropzone/intl/fi-FI.json","packages/@react-spectrum/dropzone/intl/fr-FR.json","packages/@react-spectrum/dropzone/intl/he-IL.json","packages/@react-spectrum/dropzone/intl/hr-HR.json","packages/@react-spectrum/dropzone/intl/hu-HU.json","packages/@react-spectrum/dropzone/intl/it-IT.json","packages/@react-spectrum/dropzone/intl/ja-JP.json","packages/@react-spectrum/dropzone/intl/ko-KR.json","packages/@react-spectrum/dropzone/intl/lt-LT.json","packages/@react-spectrum/dropzone/intl/lv-LV.json","packages/@react-spectrum/dropzone/intl/nb-NO.json","packages/@react-spectrum/dropzone/intl/nl-NL.json","packages/@react-spectrum/dropzone/intl/pl-PL.json","packages/@react-spectrum/dropzone/intl/pt-BR.json","packages/@react-spectrum/dropzone/intl/pt-PT.json","packages/@react-spectrum/dropzone/intl/ro-RO.json","packages/@react-spectrum/dropzone/intl/ru-RU.json","packages/@react-spectrum/dropzone/intl/sk-SK.json","packages/@react-spectrum/dropzone/intl/sl-SI.json","packages/@react-spectrum/dropzone/intl/sr-SP.json","packages/@react-spectrum/dropzone/intl/sv-SE.json","packages/@react-spectrum/dropzone/intl/tr-TR.json","packages/@react-spectrum/dropzone/intl/uk-UA.json","packages/@react-spectrum/dropzone/intl/zh-CN.json","packages/@react-spectrum/dropzone/intl/zh-TW.json","packages/@adobe/spectrum-css-temp/components/dropzone/vars.css"],"sourcesContent":["/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DropZone} from './DropZone';\nexport type {SpectrumDropZoneProps} from './DropZone';\n","/*\n * Copyright 2023 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, DOMRef, StyleProps} from '@react-types/shared';\nimport {classNames, SlotProvider, useDOMRef, useStyleProps} from '@react-spectrum/utils';\nimport {DropZoneProps, DropZone as RACDropZone} from 'react-aria-components';\n// @ts-ignore\nimport intlMessages from '../intl/*.json';\nimport {mergeProps, useId} from '@react-aria/utils';\nimport React, {ReactNode} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/dropzone/vars.css';\nimport {useLocalizedStringFormatter} from '@react-aria/i18n';\n\nexport interface SpectrumDropZoneProps extends DropZoneProps, DOMProps, StyleProps, AriaLabelingProps {\n /** The content to display in the drop zone. */\n children: ReactNode,\n /** Whether the drop zone has been filled. */\n isFilled?: boolean,\n /** The message to replace the default banner message that is shown when the drop zone is filled. */\n replaceMessage?: string\n}\n\nfunction DropZone(props: SpectrumDropZoneProps, ref: DOMRef<HTMLDivElement>) {\n let {children, isFilled, replaceMessage, ...otherProps} = props;\n let {styleProps} = useStyleProps(props);\n let domRef = useDOMRef(ref);\n let messageId = useId();\n let stringFormatter = useLocalizedStringFormatter(intlMessages);\n\n return (\n <RACDropZone\n {...mergeProps(otherProps)}\n {...styleProps as Omit<React.HTMLAttributes<HTMLElement>, 'onDrop'>}\n aria-labelledby={isFilled && messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone',\n styleProps.className,\n {'spectrum-Dropzone--filled': isFilled}\n )}\n ref={domRef}>\n <SlotProvider\n slots={{\n illustration: {UNSAFE_className: classNames(\n styles,\n 'spectrum-Dropzone-illustratedMessage'\n )}\n }}>\n {children}\n </SlotProvider>\n <div className={classNames(styles, 'spectrum-Dropzone-backdrop')} />\n <div\n id={messageId}\n className={\n classNames(\n styles,\n 'spectrum-Dropzone-banner',\n styleProps.className\n )\n }>\n {replaceMessage ? replaceMessage : stringFormatter.format('replaceMessage')}\n </div>\n </RACDropZone>\n );\n}\n\n/**\n * A drop zone is an area into which one or multiple objects can be dragged and dropped.\n */\nlet _DropZone = React.forwardRef(DropZone);\nexport {_DropZone as DropZone};\n","const _temp0 = require(\"../intl/ar-AE.json\");\nconst _temp1 = require(\"../intl/bg-BG.json\");\nconst _temp2 = require(\"../intl/cs-CZ.json\");\nconst _temp3 = require(\"../intl/da-DK.json\");\nconst _temp4 = require(\"../intl/de-DE.json\");\nconst _temp5 = require(\"../intl/el-GR.json\");\nconst _temp6 = require(\"../intl/en-US.json\");\nconst _temp7 = require(\"../intl/es-ES.json\");\nconst _temp8 = require(\"../intl/et-EE.json\");\nconst _temp9 = require(\"../intl/fi-FI.json\");\nconst _temp10 = require(\"../intl/fr-FR.json\");\nconst _temp11 = require(\"../intl/he-IL.json\");\nconst _temp12 = require(\"../intl/hr-HR.json\");\nconst _temp13 = require(\"../intl/hu-HU.json\");\nconst _temp14 = require(\"../intl/it-IT.json\");\nconst _temp15 = require(\"../intl/ja-JP.json\");\nconst _temp16 = require(\"../intl/ko-KR.json\");\nconst _temp17 = require(\"../intl/lt-LT.json\");\nconst _temp18 = require(\"../intl/lv-LV.json\");\nconst _temp19 = require(\"../intl/nb-NO.json\");\nconst _temp20 = require(\"../intl/nl-NL.json\");\nconst _temp21 = require(\"../intl/pl-PL.json\");\nconst _temp22 = require(\"../intl/pt-BR.json\");\nconst _temp23 = require(\"../intl/pt-PT.json\");\nconst _temp24 = require(\"../intl/ro-RO.json\");\nconst _temp25 = require(\"../intl/ru-RU.json\");\nconst _temp26 = require(\"../intl/sk-SK.json\");\nconst _temp27 = require(\"../intl/sl-SI.json\");\nconst _temp28 = require(\"../intl/sr-SP.json\");\nconst _temp29 = require(\"../intl/sv-SE.json\");\nconst _temp30 = require(\"../intl/tr-TR.json\");\nconst _temp31 = require(\"../intl/uk-UA.json\");\nconst _temp32 = require(\"../intl/zh-CN.json\");\nconst _temp33 = require(\"../intl/zh-TW.json\");\nmodule.exports = {\n \"ar-AE\": _temp0,\n \"bg-BG\": _temp1,\n \"cs-CZ\": _temp2,\n \"da-DK\": _temp3,\n \"de-DE\": _temp4,\n \"el-GR\": _temp5,\n \"en-US\": _temp6,\n \"es-ES\": _temp7,\n \"et-EE\": _temp8,\n \"fi-FI\": _temp9,\n \"fr-FR\": _temp10,\n \"he-IL\": _temp11,\n \"hr-HR\": _temp12,\n \"hu-HU\": _temp13,\n \"it-IT\": _temp14,\n \"ja-JP\": _temp15,\n \"ko-KR\": _temp16,\n \"lt-LT\": _temp17,\n \"lv-LV\": _temp18,\n \"nb-NO\": _temp19,\n \"nl-NL\": _temp20,\n \"pl-PL\": _temp21,\n \"pt-BR\": _temp22,\n \"pt-PT\": _temp23,\n \"ro-RO\": _temp24,\n \"ru-RU\": _temp25,\n \"sk-SK\": _temp26,\n \"sl-SI\": _temp27,\n \"sr-SP\": _temp28,\n \"sv-SE\": _temp29,\n \"tr-TR\": _temp30,\n \"uk-UA\": _temp31,\n \"zh-CN\": _temp32,\n \"zh-TW\": _temp33\n}","{\n \"replaceMessage\": \"للاستبدال، قم بإفلات الملف\"\n}\n","{\n \"replaceMessage\": \"Пуснете файл за замяна\"\n}\n","{\n \"replaceMessage\": \"Přetáhněte soubor k nahrazení\"\n}\n","{\n \"replaceMessage\": \"Drop fil for at erstatte\"\n}\n","{\n \"replaceMessage\": \"Datei zum Ersetzen ablegen\"\n}\n","{\n \"replaceMessage\": \"Απόθεση αρχείου για αντικατάσταση\"\n}\n","{\n \"replaceMessage\": \"Drop file to replace\"\n}\n","{\n \"replaceMessage\": \"Suelte el archivo para reemplazar\"\n}\n","{\n \"replaceMessage\": \"Kukuta fail asendamiseks\"\n}\n","{\n \"replaceMessage\": \"Pudota korvaava tiedosto\"\n}\n","{\n \"replaceMessage\": \"Déposer le fichier à remplacer\"\n}\n","{\n \"replaceMessage\": \"שחרר את הקובץ להחלפה\"\n}\n","{\n \"replaceMessage\": \"Ispustite datoteku za zamjenu\"\n}\n","{\n \"replaceMessage\": \"Ejtse le a fájlt a cseréhez\"\n}\n","{\n \"replaceMessage\": \"Rilascia il file da sostituire\"\n}\n","{\n \"replaceMessage\": \"ファイルをドロップして置換\"\n}\n","{\n \"replaceMessage\": \"파일을 드롭하여 바꾸기\"\n}\n","{\n \"replaceMessage\": \"Pašalinkite failą, kad pakeistumėte\"\n}\n","{\n \"replaceMessage\": \"Lai aizstātu, nometiet failu\"\n}\n","{\n \"replaceMessage\": \"Slipp filen for å erstatte\"\n}\n","{\n \"replaceMessage\": \"Bestand neerzetten om te vervangen\"\n}\n","{\n \"replaceMessage\": \"Upuść plik, aby zastąpić\"\n}\n","{\n \"replaceMessage\": \"Solte o arquivo para substituir\"\n}\n","{\n \"replaceMessage\": \"Largar ficheiro para substituir\"\n}\n","{\n \"replaceMessage\": \"Plasați fișierul pentru a înlocui\"\n}\n","{\n \"replaceMessage\": \"Перетащите файл для замены\"\n}\n","{\n \"replaceMessage\": \"Presuňte súbor, ktorý chcete nahradiť\"\n}\n","{\n \"replaceMessage\": \"Spustite datoteko za zamenjavo\"\n}\n","{\n \"replaceMessage\": \"Otpustite datoteku radi zamene\"\n}\n","{\n \"replaceMessage\": \"Släpp filen för att ersätta\"\n}\n","{\n \"replaceMessage\": \"Değiştirmek için dosyayı bırakın\"\n}\n","{\n \"replaceMessage\": \"Перетягніть файл для заміни\"\n}\n","{\n \"replaceMessage\": \"删除要替换的文件\"\n}\n","{\n \"replaceMessage\": \"放置要取代的檔案\"\n}\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n@import './index.css';\n@import './skin.css';\n"],"names":[],"version":3,"file":"module.js.map"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@react-spectrum/dropzone",
|
3
|
-
"version": "3.0.0-nightly.
|
3
|
+
"version": "3.0.0-nightly.4242+068ecd12e",
|
4
4
|
"description": "Spectrum UI components in React",
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"main": "dist/main.js",
|
@@ -36,16 +36,16 @@
|
|
36
36
|
"url": "https://github.com/adobe/react-spectrum"
|
37
37
|
},
|
38
38
|
"dependencies": {
|
39
|
-
"@react-aria/i18n": "3.0.0-nightly.
|
40
|
-
"@react-aria/utils": "3.0.0-nightly.
|
41
|
-
"@react-spectrum/utils": "3.0.0-nightly.
|
42
|
-
"@react-types/shared": "3.0.0-nightly.
|
39
|
+
"@react-aria/i18n": "3.0.0-nightly.2531+068ecd12e",
|
40
|
+
"@react-aria/utils": "3.0.0-nightly.2531+068ecd12e",
|
41
|
+
"@react-spectrum/utils": "3.0.0-nightly.2531+068ecd12e",
|
42
|
+
"@react-types/shared": "3.0.0-nightly.2531+068ecd12e",
|
43
43
|
"@swc/helpers": "^0.5.0",
|
44
|
-
"react-aria-components": "1.0.0-nightly.
|
44
|
+
"react-aria-components": "1.0.0-nightly.4242+068ecd12e"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
|
-
"@adobe/spectrum-css-temp": "3.0.0-nightly.
|
48
|
-
"@react-spectrum/test-utils": "3.0.0-nightly.
|
47
|
+
"@adobe/spectrum-css-temp": "3.0.0-nightly.2531+068ecd12e",
|
48
|
+
"@react-spectrum/test-utils": "3.0.0-nightly.2531+068ecd12e"
|
49
49
|
},
|
50
50
|
"peerDependencies": {
|
51
51
|
"@react-spectrum/provider": "^3.0.0",
|
@@ -54,5 +54,5 @@
|
|
54
54
|
"publishConfig": {
|
55
55
|
"access": "public"
|
56
56
|
},
|
57
|
-
"gitHead": "
|
57
|
+
"gitHead": "068ecd12e8a8c61546dfda691b04ca87cbdae687"
|
58
58
|
}
|