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