@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
package/dist/index.es.js
CHANGED
|
@@ -11930,7 +11930,8 @@ function NavigationBottomSheet(_ref) {
|
|
|
11930
11930
|
snapPoints = _ref.snapPoints,
|
|
11931
11931
|
maxDynamicContentSize = _ref.maxDynamicContentSize,
|
|
11932
11932
|
isVisible = _ref.isVisible,
|
|
11933
|
-
isExpanded = _ref.isExpanded,
|
|
11933
|
+
_ref$isExpanded = _ref.isExpanded,
|
|
11934
|
+
isExpanded = _ref$isExpanded === void 0 ? false : _ref$isExpanded,
|
|
11934
11935
|
onClose = _ref.onClose;
|
|
11935
11936
|
var bottomSheetRef = useBottomSheet();
|
|
11936
11937
|
useEffect(function () {
|
|
@@ -11943,7 +11944,8 @@ function NavigationBottomSheet(_ref) {
|
|
|
11943
11944
|
}
|
|
11944
11945
|
}, [bottomSheetRef, isVisible]);
|
|
11945
11946
|
useEffect(function () {
|
|
11946
|
-
if (isVisible
|
|
11947
|
+
if (!isVisible) return;
|
|
11948
|
+
if (isExpanded) {
|
|
11947
11949
|
var _bottomSheetRef$curre3;
|
|
11948
11950
|
(_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
|
|
11949
11951
|
} else {
|