@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
|
@@ -11589,7 +11589,7 @@ function NavigationBottomSheet({
|
|
|
11589
11589
|
snapPoints,
|
|
11590
11590
|
maxDynamicContentSize,
|
|
11591
11591
|
isVisible,
|
|
11592
|
-
isExpanded,
|
|
11592
|
+
isExpanded = false,
|
|
11593
11593
|
onClose
|
|
11594
11594
|
}) {
|
|
11595
11595
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11601,7 +11601,8 @@ function NavigationBottomSheet({
|
|
|
11601
11601
|
}
|
|
11602
11602
|
}, [bottomSheetRef, isVisible]);
|
|
11603
11603
|
useEffect(() => {
|
|
11604
|
-
if (isVisible
|
|
11604
|
+
if (!isVisible) return;
|
|
11605
|
+
if (isExpanded) {
|
|
11605
11606
|
bottomSheetRef.current?.expand();
|
|
11606
11607
|
} else {
|
|
11607
11608
|
bottomSheetRef.current?.collapse();
|