@cladd-ui/react 0.8.1 → 0.9.0
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/CHANGELOG.md +6 -0
- package/components/Popover.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/components/Popover.js
CHANGED
|
@@ -386,7 +386,7 @@ const PopoverInner = (props) => {
|
|
|
386
386
|
else if (ref && 'current' in ref)
|
|
387
387
|
ref.current = el;
|
|
388
388
|
}, style: popoverStyle, className: cn('pointer-events-auto absolute z-50 flex w-40 max-w-[calc(100vw-16px)] rounded-cladd-popover shadow-cladd-popover transition-[opacity,transform,scale] duration-0', opened && 'scale-100 opacity-100 ease-[cubic-bezier(0,1,0,1.025)]', (phase === 'opened' || (phase === 'opening' && opened)) &&
|
|
389
|
-
'duration-
|
|
389
|
+
'duration-300', phase === 'closing' && 'duration-200 ease-in-out!', (phase === 'closing' || !opened) && 'scale-0 opacity-0', positionConfig.origin, className), color: color, level: surfaceLevel, variant: variant, outline: outline, contentClassName: cn('h-auto max-h-[70vh] w-full overflow-auto', contentClassName), ...rest, children: children })] }) }));
|
|
390
390
|
return root
|
|
391
391
|
? createPortal(content, document.querySelector(root))
|
|
392
392
|
: content;
|