@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
|
@@ -3947,6 +3947,11 @@ function BottomSheetContainerView(props) {
|
|
|
3947
3947
|
...props
|
|
3948
3948
|
});
|
|
3949
3949
|
}
|
|
3950
|
+
|
|
3951
|
+
/**
|
|
3952
|
+
* @internal This component is for kitt-universal internal use only.
|
|
3953
|
+
* Please use `NavigationBottomSheet` instead.
|
|
3954
|
+
*/
|
|
3950
3955
|
const BottomSheet = /*#__PURE__*/React.forwardRef(BottomSheetComp);
|
|
3951
3956
|
BottomSheet.View = BottomSheetContainerView;
|
|
3952
3957
|
BottomSheet.SheetView = bottomSheet$1.BottomSheetView;
|
|
@@ -11578,6 +11583,7 @@ function NavigationBottomSheet({
|
|
|
11578
11583
|
snapPoints,
|
|
11579
11584
|
maxDynamicContentSize,
|
|
11580
11585
|
isVisible,
|
|
11586
|
+
isExpanded,
|
|
11581
11587
|
onClose
|
|
11582
11588
|
}) {
|
|
11583
11589
|
const bottomSheetRef = useBottomSheet();
|
|
@@ -11588,6 +11594,13 @@ function NavigationBottomSheet({
|
|
|
11588
11594
|
bottomSheetRef.current?.close();
|
|
11589
11595
|
}
|
|
11590
11596
|
}, [bottomSheetRef, isVisible]);
|
|
11597
|
+
React.useEffect(() => {
|
|
11598
|
+
if (isVisible && isExpanded) {
|
|
11599
|
+
bottomSheetRef.current?.expand();
|
|
11600
|
+
} else {
|
|
11601
|
+
bottomSheetRef.current?.collapse();
|
|
11602
|
+
}
|
|
11603
|
+
}, [bottomSheetRef, isVisible, isExpanded]);
|
|
11591
11604
|
return /*#__PURE__*/jsxRuntime.jsx(BottomSheet, {
|
|
11592
11605
|
ref: bottomSheetRef,
|
|
11593
11606
|
maxDynamicContentSize: maxDynamicContentSize,
|