@s-ui/react-molecule-photo-uploader
Advanced tools
Comparing version 1.25.0 to 1.26.0
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { useState, forwardRef } from 'react'; | ||
import { useState } from 'react'; | ||
import { useDropzone } from 'react-dropzone'; | ||
@@ -21,3 +21,3 @@ import { getTarget } from '@s-ui/js/lib/react'; | ||
var MoleculePhotoUploader = /*#__PURE__*/forwardRef(function (_ref, ref) { | ||
var MoleculePhotoUploader = function MoleculePhotoUploader(_ref) { | ||
var _cx; | ||
@@ -267,5 +267,3 @@ | ||
}), { | ||
children: [/*#__PURE__*/_jsx("input", _extends({}, getInputProps(), { | ||
ref: ref | ||
})), isPhotoUploaderEmpty && !isDragActive && /*#__PURE__*/_jsx(InitialState, { | ||
children: [/*#__PURE__*/_jsx("input", _extends({}, getInputProps())), isPhotoUploaderEmpty && !isDragActive && /*#__PURE__*/_jsx(InitialState, { | ||
buttonColor: addPhotoButtonColor, | ||
@@ -326,5 +324,6 @@ buttonDesign: addPhotoButtonDesign, | ||
}); | ||
}); | ||
}; | ||
MoleculePhotoUploader.displayName = 'MoleculePhotoUploader'; | ||
export default MoleculePhotoUploader; | ||
export { ROTATION_DIRECTION as MoleculePhotoUploaderRotationDirection }; |
{ | ||
"name": "@s-ui/react-molecule-photo-uploader", | ||
"version": "1.25.0", | ||
"version": "1.26.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74225
1222