@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
package/dist/index.es.js
CHANGED
|
@@ -11833,7 +11833,8 @@ function NavigationBottomSheet(_ref) {
|
|
|
11833
11833
|
snapPoints = _ref.snapPoints,
|
|
11834
11834
|
maxDynamicContentSize = _ref.maxDynamicContentSize,
|
|
11835
11835
|
isVisible = _ref.isVisible,
|
|
11836
|
-
isExpanded = _ref.isExpanded,
|
|
11836
|
+
_ref$isExpanded = _ref.isExpanded,
|
|
11837
|
+
isExpanded = _ref$isExpanded === void 0 ? false : _ref$isExpanded,
|
|
11837
11838
|
onClose = _ref.onClose;
|
|
11838
11839
|
var bottomSheetRef = useBottomSheet();
|
|
11839
11840
|
useEffect(function () {
|
|
@@ -11846,7 +11847,8 @@ function NavigationBottomSheet(_ref) {
|
|
|
11846
11847
|
}
|
|
11847
11848
|
}, [bottomSheetRef, isVisible]);
|
|
11848
11849
|
useEffect(function () {
|
|
11849
|
-
if (isVisible
|
|
11850
|
+
if (!isVisible) return;
|
|
11851
|
+
if (isExpanded) {
|
|
11850
11852
|
var _bottomSheetRef$curre3;
|
|
11851
11853
|
(_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
|
|
11852
11854
|
} else {
|