@festo-ui/react 10.0.0-dev.829 → 10.0.0-dev.831
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.
|
@@ -20,12 +20,6 @@ const AccordionItemBody = /*#__PURE__*/ forwardRef(({ children, className, ...pr
|
|
|
20
20
|
const handleEntered = ()=>{
|
|
21
21
|
if (element) element.style.height = 'auto';
|
|
22
22
|
};
|
|
23
|
-
const handleExit = ()=>{
|
|
24
|
-
if (element) {
|
|
25
|
-
const itemHeight = element.scrollHeight;
|
|
26
|
-
element.style.height = `${itemHeight}px`;
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
23
|
const handleExiting = ()=>{
|
|
30
24
|
setTimeout(()=>{
|
|
31
25
|
if (element) element.style.height = '0px';
|
|
@@ -35,7 +29,7 @@ const AccordionItemBody = /*#__PURE__*/ forwardRef(({ children, className, ...pr
|
|
|
35
29
|
in: expanded,
|
|
36
30
|
nodeRef: innerRef,
|
|
37
31
|
timeout: 300,
|
|
38
|
-
onExit:
|
|
32
|
+
onExit: handleEntering,
|
|
39
33
|
onExiting: handleExiting,
|
|
40
34
|
onEntering: handleEntering,
|
|
41
35
|
onEntered: handleEntered,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface CloseButtonProps {
|
|
2
|
-
onClose?: () => void;
|
|
3
|
-
showScaleButton?: boolean;
|
|
2
|
+
readonly onClose?: () => void;
|
|
3
|
+
readonly showScaleButton?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare function CloseButton({ onClose, showScaleButton }: CloseButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export interface ImageGalleryPaginationProps {
|
|
2
|
-
currentIndex: number;
|
|
3
|
-
length?: number;
|
|
2
|
+
readonly currentIndex: number;
|
|
3
|
+
readonly length?: number;
|
|
4
4
|
}
|
|
5
5
|
export declare function ImageGalleryPagination({ currentIndex, length, }: ImageGalleryPaginationProps): import("react/jsx-runtime").JSX.Element;
|
package/package.json
CHANGED