@ornikar/kitt-universal 26.1.0 → 26.1.2

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.
@@ -3919,6 +3919,11 @@ function BottomSheetContainerView(props) {
3919
3919
  ...props
3920
3920
  });
3921
3921
  }
3922
+
3923
+ /**
3924
+ * @internal This component is for kitt-universal internal use only.
3925
+ * Please use `NavigationBottomSheet` instead.
3926
+ */
3922
3927
  const BottomSheet = /*#__PURE__*/forwardRef(BottomSheetComp);
3923
3928
  BottomSheet.View = BottomSheetContainerView;
3924
3929
  BottomSheet.SheetView = BottomSheetView;
@@ -8870,7 +8875,6 @@ function StaticMapMarker$1({
8870
8875
  alignItems: "center",
8871
8876
  width: containerWidth,
8872
8877
  height: containerHeight,
8873
- backgroundColor: "kitt.accentLight",
8874
8878
  children: [/*#__PURE__*/jsx(Animated.View, {
8875
8879
  style: animatedStyle,
8876
8880
  children: variant === MapMarkerVariantEnum.MEETING_POINT ? /*#__PURE__*/jsx(SvgMeetingPointMarkerinline, {
@@ -11546,6 +11550,7 @@ function NavigationBottomSheet({
11546
11550
  snapPoints,
11547
11551
  maxDynamicContentSize,
11548
11552
  isVisible,
11553
+ isExpanded,
11549
11554
  onClose
11550
11555
  }) {
11551
11556
  const bottomSheetRef = useBottomSheet();
@@ -11556,6 +11561,13 @@ function NavigationBottomSheet({
11556
11561
  bottomSheetRef.current?.close();
11557
11562
  }
11558
11563
  }, [bottomSheetRef, isVisible]);
11564
+ useEffect(() => {
11565
+ if (isVisible && isExpanded) {
11566
+ bottomSheetRef.current?.expand();
11567
+ } else {
11568
+ bottomSheetRef.current?.collapse();
11569
+ }
11570
+ }, [bottomSheetRef, isVisible, isExpanded]);
11559
11571
  return /*#__PURE__*/jsx(BottomSheet, {
11560
11572
  ref: bottomSheetRef,
11561
11573
  maxDynamicContentSize: maxDynamicContentSize,