@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
|
@@ -11686,7 +11686,7 @@ function NavigationBottomSheet({
|
|
|
11686
11686
|
snapPoints,
|
|
11687
11687
|
maxDynamicContentSize,
|
|
11688
11688
|
isVisible,
|
|
11689
|
-
isExpanded,
|
|
11689
|
+
isExpanded = false,
|
|
11690
11690
|
onClose
|
|
11691
11691
|
}) {
|
|
11692
11692
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11698,7 +11698,8 @@ function NavigationBottomSheet({
|
|
|
11698
11698
|
}
|
|
11699
11699
|
}, [bottomSheetRef, isVisible]);
|
|
11700
11700
|
useEffect(() => {
|
|
11701
|
-
if (isVisible
|
|
11701
|
+
if (!isVisible) return;
|
|
11702
|
+
if (isExpanded) {
|
|
11702
11703
|
bottomSheetRef.current?.expand();
|
|
11703
11704
|
} else {
|
|
11704
11705
|
bottomSheetRef.current?.collapse();
|