@superdispatch/ui 0.18.0 → 0.20.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/dist-node/index.js
CHANGED
|
@@ -3670,6 +3670,20 @@ var Tiles = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
3670
3670
|
});
|
|
3671
3671
|
if (process.env.NODE_ENV !== "production") Tiles.displayName = "Tiles";
|
|
3672
3672
|
|
|
3673
|
+
function ExitTransitionPlaceholder(_ref) {
|
|
3674
|
+
var {
|
|
3675
|
+
in: inProp,
|
|
3676
|
+
children: childrenProp
|
|
3677
|
+
} = _ref;
|
|
3678
|
+
var [children, setChildren] = React.useState(childrenProp);
|
|
3679
|
+
React.useEffect(() => {
|
|
3680
|
+
if (inProp) {
|
|
3681
|
+
setChildren(childrenProp);
|
|
3682
|
+
}
|
|
3683
|
+
}, [inProp, childrenProp]);
|
|
3684
|
+
return renderChildren(children);
|
|
3685
|
+
}
|
|
3686
|
+
|
|
3673
3687
|
exports.AdaptiveToolbar = AdaptiveToolbar;
|
|
3674
3688
|
exports.AdaptiveVerticalToolbar = AdaptiveVerticalToolbar;
|
|
3675
3689
|
exports.AvatarButton = AvatarButton;
|
|
@@ -3686,6 +3700,7 @@ exports.DrawerContent = DrawerContent;
|
|
|
3686
3700
|
exports.DrawerList = DrawerList;
|
|
3687
3701
|
exports.DrawerTitle = DrawerTitle;
|
|
3688
3702
|
exports.DropdownButton = DropdownButton;
|
|
3703
|
+
exports.ExitTransitionPlaceholder = ExitTransitionPlaceholder;
|
|
3689
3704
|
exports.GridStack = GridStack;
|
|
3690
3705
|
exports.InfoCard = InfoCard;
|
|
3691
3706
|
exports.Inline = Inline;
|