@filerobot/common
Advanced tools
Comparing version 0.0.0-beta.5 to 0.0.0-beta.16
import { useEffect, useRef, useState } from 'react'; | ||
import { BackdropOverlay } from '..'; // transitionClass = the class name that has the animation | ||
import { CloseIcon } from '@filerobot/icons'; | ||
import { BackdropOverlay, IconLabeledButton } from '../'; // transitionClass = the class name that has the animation | ||
// it must have -enter, -enter-active, -leave, -leave-active sub classes | ||
@@ -60,6 +61,16 @@ | ||
floatyColored: true | ||
}), /*#__PURE__*/_jsx("div", { | ||
}), /*#__PURE__*/_jsxs("div", { | ||
className: "uploader-TransitionWrapper" + transitionClasses, | ||
ref: wrapperRef, | ||
children: renderedChildren | ||
children: [renderedChildren && /*#__PURE__*/_jsx("div", { | ||
className: "uploader-transition-contentContainer", | ||
children: renderedChildren | ||
}), isApplied && renderedChildren && /*#__PURE__*/_jsx("div", { | ||
className: "uploader-transition-closeButtonContainer", | ||
children: /*#__PURE__*/_jsx(IconLabeledButton, { | ||
icon: /*#__PURE__*/_jsx(CloseIcon, {}), | ||
onClick: handleClose, | ||
classes: "uploader-transition-closeButton" | ||
}) | ||
})] | ||
})] | ||
@@ -66,0 +77,0 @@ }); |
{ | ||
"name": "@filerobot/common", | ||
"version": "0.0.0-beta.5", | ||
"version": "0.0.0-beta.16", | ||
"description": "The common components shared between filerobot uploader modules", | ||
@@ -17,7 +17,7 @@ "homepage": "", | ||
"dependencies": { | ||
"@filerobot/icons": "^0.0.0-beta.2", | ||
"@filerobot/utils": "0.0.0-beta.5", | ||
"@filerobot/icons": "^0.0.0-beta.16", | ||
"@filerobot/utils": "^0.0.0-beta.16", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1" | ||
"react-dom": "^17.0.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
194417
3805
+ Added@filerobot/utils@0.0.0-beta.76(transitive)
- Removed@filerobot/utils@0.0.0-beta.5(transitive)