@filerobot/common
Advanced tools
Comparing version 0.0.0-beta.16 to 0.0.0-beta.18
@@ -37,2 +37,4 @@ export { default as Button } from './Button'; | ||
export { default as ItemHoverTopOptions } from './ItemHoverTopOptions'; | ||
export { default as ItemButtonOverlay } from './ItemButtonOverlay'; | ||
export { default as ItemButtonOverlay } from './ItemButtonOverlay'; | ||
export { default as BackButton } from './BackButton'; | ||
export { default as CloseButton } from './CloseButton'; |
import { useEffect, useRef, useState } from 'react'; | ||
import { CloseIcon } from '@filerobot/icons'; | ||
import { BackdropOverlay, IconLabeledButton } from '../'; // transitionClass = the class name that has the animation | ||
import { BackdropOverlay } from '..'; // transitionClass = the class name that has the animation | ||
// it must have -enter, -enter-active, -leave, -leave-active sub classes | ||
@@ -61,16 +60,6 @@ | ||
floatyColored: true | ||
}), /*#__PURE__*/_jsxs("div", { | ||
}), /*#__PURE__*/_jsx("div", { | ||
className: "uploader-TransitionWrapper" + transitionClasses, | ||
ref: wrapperRef, | ||
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" | ||
}) | ||
})] | ||
children: renderedChildren | ||
})] | ||
@@ -77,0 +66,0 @@ }); |
{ | ||
"name": "@filerobot/common", | ||
"version": "0.0.0-beta.16", | ||
"version": "0.0.0-beta.18", | ||
"description": "The common components shared between filerobot uploader modules", | ||
@@ -17,4 +17,4 @@ "homepage": "", | ||
"dependencies": { | ||
"@filerobot/icons": "^0.0.0-beta.16", | ||
"@filerobot/utils": "^0.0.0-beta.16", | ||
"@filerobot/icons": "^0.0.0-beta.18", | ||
"@filerobot/utils": "^0.0.0-beta.18", | ||
"react": "^17.0.1", | ||
@@ -21,0 +21,0 @@ "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
198773
118
3892