@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.
@@ -3942,6 +3942,11 @@ function BottomSheetContainerView(props) {
3942
3942
  ...props
3943
3943
  });
3944
3944
  }
3945
+
3946
+ /**
3947
+ * @internal This component is for kitt-universal internal use only.
3948
+ * Please use `NavigationBottomSheet` instead.
3949
+ */
3945
3950
  const BottomSheet = /*#__PURE__*/React.forwardRef(BottomSheetComp);
3946
3951
  BottomSheet.View = BottomSheetContainerView;
3947
3952
  BottomSheet.SheetView = bottomSheet$1.BottomSheetView;
@@ -8893,7 +8898,6 @@ function StaticMapMarker$1({
8893
8898
  alignItems: "center",
8894
8899
  width: containerWidth,
8895
8900
  height: containerHeight,
8896
- backgroundColor: "kitt.accentLight",
8897
8901
  children: [/*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
8898
8902
  style: animatedStyle,
8899
8903
  children: variant === MapMarkerVariantEnum.MEETING_POINT ? /*#__PURE__*/jsxRuntime.jsx(SvgMeetingPointMarkerinline, {
@@ -11569,6 +11573,7 @@ function NavigationBottomSheet({
11569
11573
  snapPoints,
11570
11574
  maxDynamicContentSize,
11571
11575
  isVisible,
11576
+ isExpanded,
11572
11577
  onClose
11573
11578
  }) {
11574
11579
  const bottomSheetRef = useBottomSheet();
@@ -11579,6 +11584,13 @@ function NavigationBottomSheet({
11579
11584
  bottomSheetRef.current?.close();
11580
11585
  }
11581
11586
  }, [bottomSheetRef, isVisible]);
11587
+ React.useEffect(() => {
11588
+ if (isVisible && isExpanded) {
11589
+ bottomSheetRef.current?.expand();
11590
+ } else {
11591
+ bottomSheetRef.current?.collapse();
11592
+ }
11593
+ }, [bottomSheetRef, isVisible, isExpanded]);
11582
11594
  return /*#__PURE__*/jsxRuntime.jsx(BottomSheet, {
11583
11595
  ref: bottomSheetRef,
11584
11596
  maxDynamicContentSize: maxDynamicContentSize,