@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.
@@ -3918,6 +3918,11 @@ function BottomSheetContainerView(props) {
3918
3918
  padding: "kitt.bottomSheet.container.padding"
3919
3919
  }, props));
3920
3920
  }
3921
+
3922
+ /**
3923
+ * @internal This component is for kitt-universal internal use only.
3924
+ * Please use `NavigationBottomSheet` instead.
3925
+ */
3921
3926
  const BottomSheet = /*#__PURE__*/forwardRef(BottomSheetComp);
3922
3927
  BottomSheet.View = BottomSheetContainerView;
3923
3928
  BottomSheet.SheetView = BottomSheetView;
@@ -8900,7 +8905,6 @@ function StaticMapMarker$1({
8900
8905
  alignItems: "center",
8901
8906
  width: containerWidth,
8902
8907
  height: containerHeight,
8903
- backgroundColor: "kitt.accentLight",
8904
8908
  children: [/*#__PURE__*/jsx(Animated.View, {
8905
8909
  style: animatedStyle,
8906
8910
  children: variant === MapMarkerVariantEnum.MEETING_POINT ? /*#__PURE__*/jsx(SvgMeetingPointMarkerinline, {
@@ -11565,6 +11569,7 @@ function NavigationBottomSheet({
11565
11569
  snapPoints,
11566
11570
  maxDynamicContentSize,
11567
11571
  isVisible,
11572
+ isExpanded,
11568
11573
  onClose
11569
11574
  }) {
11570
11575
  const bottomSheetRef = useBottomSheet();
@@ -11577,6 +11582,15 @@ function NavigationBottomSheet({
11577
11582
  (_bottomSheetRef$curre2 = bottomSheetRef.current) === null || _bottomSheetRef$curre2 === void 0 || _bottomSheetRef$curre2.close();
11578
11583
  }
11579
11584
  }, [bottomSheetRef, isVisible]);
11585
+ useEffect(() => {
11586
+ if (isVisible && isExpanded) {
11587
+ var _bottomSheetRef$curre3;
11588
+ (_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
11589
+ } else {
11590
+ var _bottomSheetRef$curre4;
11591
+ (_bottomSheetRef$curre4 = bottomSheetRef.current) === null || _bottomSheetRef$curre4 === void 0 || _bottomSheetRef$curre4.collapse();
11592
+ }
11593
+ }, [bottomSheetRef, isVisible, isExpanded]);
11580
11594
  return /*#__PURE__*/jsx(BottomSheet, {
11581
11595
  ref: bottomSheetRef,
11582
11596
  maxDynamicContentSize: maxDynamicContentSize,