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