@sunggang/ui-lib 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.esm.js +3 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -84307,7 +84307,9 @@ var DropImage = function(param) {
84307
84307
  maxSize: 5000000,
84308
84308
  onDrop: function(dropFiles) {
84309
84309
  var newFiles = [];
84310
- setFiles(dropFiles);
84310
+ setFiles(function(prevFiles) {
84311
+ return _to_consumable_array$3(prevFiles).concat(_to_consumable_array$3(dropFiles));
84312
+ });
84311
84313
  dropFiles.forEach(function(dropFile, index) {
84312
84314
  Object.assign(dropFile, {
84313
84315
  preview: URL.createObjectURL(dropFile),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sunggang/ui-lib",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "dependencies": {
5
5
  "@iconify/react": "^4.1.1",
6
6
  "@mdx-js/react": "^3.0.1",