@ornikar/kitt-universal 26.3.1-canary.dd94a20641c146865234323ff2718101c6363315.0 → 26.3.1-late-ocean.ccf14ae912d02bfa0c8d62c4652911eb457e71b0.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 +4 -3
- package/dist/definitions/BottomSheet/BottomSheet.d.ts +4 -0
- package/dist/definitions/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/definitions/BottomSheet/BottomSheet.web.d.ts +4 -0
- package/dist/definitions/BottomSheet/BottomSheet.web.d.ts.map +1 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +11 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +15 -0
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +15 -0
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +13 -0
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +5 -0
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +13 -0
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +5 -0
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +15 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +5 -0
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -3924,6 +3924,11 @@ function BottomSheetContainerView(props) {
|
|
|
3924
3924
|
...props
|
|
3925
3925
|
});
|
|
3926
3926
|
}
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* @internal This component is for kitt-universal internal use only.
|
|
3930
|
+
* Please use `NavigationBottomSheet` instead.
|
|
3931
|
+
*/
|
|
3927
3932
|
const BottomSheet = /*#__PURE__*/forwardRef(BottomSheetComp);
|
|
3928
3933
|
BottomSheet.View = BottomSheetContainerView;
|
|
3929
3934
|
BottomSheet.SheetView = BottomSheetView;
|
|
@@ -11555,6 +11560,7 @@ function NavigationBottomSheet({
|
|
|
11555
11560
|
snapPoints,
|
|
11556
11561
|
maxDynamicContentSize,
|
|
11557
11562
|
isVisible,
|
|
11563
|
+
isExpanded,
|
|
11558
11564
|
onClose
|
|
11559
11565
|
}) {
|
|
11560
11566
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11565,6 +11571,13 @@ function NavigationBottomSheet({
|
|
|
11565
11571
|
bottomSheetRef.current?.close();
|
|
11566
11572
|
}
|
|
11567
11573
|
}, [bottomSheetRef, isVisible]);
|
|
11574
|
+
useEffect(() => {
|
|
11575
|
+
if (isVisible && isExpanded) {
|
|
11576
|
+
bottomSheetRef.current?.expand();
|
|
11577
|
+
} else {
|
|
11578
|
+
bottomSheetRef.current?.collapse();
|
|
11579
|
+
}
|
|
11580
|
+
}, [bottomSheetRef, isVisible, isExpanded]);
|
|
11568
11581
|
return /*#__PURE__*/jsx(BottomSheet, {
|
|
11569
11582
|
ref: bottomSheetRef,
|
|
11570
11583
|
maxDynamicContentSize: maxDynamicContentSize,
|