@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
|
@@ -11604,7 +11604,7 @@ function NavigationBottomSheet({
|
|
|
11604
11604
|
snapPoints,
|
|
11605
11605
|
maxDynamicContentSize,
|
|
11606
11606
|
isVisible,
|
|
11607
|
-
isExpanded,
|
|
11607
|
+
isExpanded = false,
|
|
11608
11608
|
onClose
|
|
11609
11609
|
}) {
|
|
11610
11610
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11618,7 +11618,8 @@ function NavigationBottomSheet({
|
|
|
11618
11618
|
}
|
|
11619
11619
|
}, [bottomSheetRef, isVisible]);
|
|
11620
11620
|
useEffect(() => {
|
|
11621
|
-
if (isVisible
|
|
11621
|
+
if (!isVisible) return;
|
|
11622
|
+
if (isExpanded) {
|
|
11622
11623
|
var _bottomSheetRef$curre3;
|
|
11623
11624
|
(_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
|
|
11624
11625
|
} else {
|