@ornikar/kitt-universal 31.1.0 → 31.1.1
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
|
@@ -11701,7 +11701,7 @@ function NavigationBottomSheet({
|
|
|
11701
11701
|
snapPoints,
|
|
11702
11702
|
maxDynamicContentSize,
|
|
11703
11703
|
isVisible,
|
|
11704
|
-
isExpanded,
|
|
11704
|
+
isExpanded = false,
|
|
11705
11705
|
onClose
|
|
11706
11706
|
}) {
|
|
11707
11707
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11715,7 +11715,8 @@ function NavigationBottomSheet({
|
|
|
11715
11715
|
}
|
|
11716
11716
|
}, [bottomSheetRef, isVisible]);
|
|
11717
11717
|
useEffect(() => {
|
|
11718
|
-
if (isVisible
|
|
11718
|
+
if (!isVisible) return;
|
|
11719
|
+
if (isExpanded) {
|
|
11719
11720
|
var _bottomSheetRef$curre3;
|
|
11720
11721
|
(_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
|
|
11721
11722
|
} else {
|