@ornikar/kitt-universal 31.0.1 → 31.0.2-canary.e53cdb7e12a8aa3be6ae21c546ec9bcaca9b660c.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 +9 -0
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +3 -0
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +3 -2
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +3 -2
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +3 -2
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +3 -2
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -11612,7 +11612,7 @@ function NavigationBottomSheet({
|
|
|
11612
11612
|
snapPoints,
|
|
11613
11613
|
maxDynamicContentSize,
|
|
11614
11614
|
isVisible,
|
|
11615
|
-
isExpanded,
|
|
11615
|
+
isExpanded = false,
|
|
11616
11616
|
onClose
|
|
11617
11617
|
}) {
|
|
11618
11618
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11624,7 +11624,8 @@ function NavigationBottomSheet({
|
|
|
11624
11624
|
}
|
|
11625
11625
|
}, [bottomSheetRef, isVisible]);
|
|
11626
11626
|
React.useEffect(() => {
|
|
11627
|
-
if (isVisible
|
|
11627
|
+
if (!isVisible) return;
|
|
11628
|
+
if (isExpanded) {
|
|
11628
11629
|
bottomSheetRef.current?.expand();
|
|
11629
11630
|
} else {
|
|
11630
11631
|
bottomSheetRef.current?.collapse();
|