@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
|
@@ -11710,7 +11710,7 @@ function NavigationBottomSheet({
|
|
|
11710
11710
|
snapPoints,
|
|
11711
11711
|
maxDynamicContentSize,
|
|
11712
11712
|
isVisible,
|
|
11713
|
-
isExpanded,
|
|
11713
|
+
isExpanded = false,
|
|
11714
11714
|
onClose
|
|
11715
11715
|
}) {
|
|
11716
11716
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11722,7 +11722,8 @@ function NavigationBottomSheet({
|
|
|
11722
11722
|
}
|
|
11723
11723
|
}, [bottomSheetRef, isVisible]);
|
|
11724
11724
|
React.useEffect(() => {
|
|
11725
|
-
if (isVisible
|
|
11725
|
+
if (!isVisible) return;
|
|
11726
|
+
if (isExpanded) {
|
|
11726
11727
|
bottomSheetRef.current?.expand();
|
|
11727
11728
|
} else {
|
|
11728
11729
|
bottomSheetRef.current?.collapse();
|