@complexify/expo-mapbox-navigation 1.1.8 → 1.1.9

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.
@@ -1,4 +1,4 @@
1
- import { ViewStyle, StyleProp } from "react-native";
1
+ import { ViewStyle, StyleProp } from "react-native/types";
2
2
  type ProgressEvent = {
3
3
  distanceRemaining: number;
4
4
  distanceTraveled: number;
@@ -57,12 +57,90 @@ export type ExpoMapboxNavigationViewProps = {
57
57
  floatingButtonsTextColor?: string;
58
58
  floatingButtonsBorderColor?: string;
59
59
  wayNameViewBackgroundColor?: string;
60
+ wayNameViewTextColor?: string;
61
+ stepsBackgroundColor?: string;
62
+ stepsPrimaryTextColor?: string;
63
+ stepsSecondaryTextColor?: string;
64
+ stepsManeuverViewPrimaryColor?: string;
65
+ stepsManeuverViewSecondaryColor?: string;
66
+ stepsSeparatorColor?: string;
67
+ laneViewBackgroundColor?: string;
68
+ laneViewForegroundColor?: string;
69
+ laneViewSeparatorColor?: string;
70
+ nextBannerBackgroundColor?: string;
71
+ nextBannerPrimaryTextColor?: string;
72
+ nextBannerSecondaryTextColor?: string;
73
+ nextBannerDistanceTextColor?: string;
74
+ progressBarProgressColor?: string;
75
+ progressBarBackgroundColor?: string;
60
76
  maneuverViewPrimaryColor?: string;
61
77
  maneuverViewSecondaryColor?: string;
62
- maneuverViewTextColor?: string;
63
- maneuverViewBackgroundColor?: string;
78
+ maneuverViewPrimaryColorHighlighted?: string;
79
+ maneuverViewSecondaryColorHighlighted?: string;
64
80
  instructionsTextColor?: string;
65
81
  instructionsBackgroundColor?: string;
82
+ instructionsCardBackgroundColor?: string;
83
+ instructionsCardSeparatorColor?: string;
84
+ instructionsCardHighlightedSeparatorColor?: string;
85
+ exitViewForegroundColor?: string;
86
+ exitViewBorderColor?: string;
87
+ exitViewHighlightColor?: string;
88
+ routeShieldForegroundColor?: string;
89
+ routeShieldBorderColor?: string;
90
+ routeShieldHighlightColor?: string;
91
+ distanceRemainingColor?: string;
92
+ distanceUnitColor?: string;
93
+ distanceValueColor?: string;
94
+ routeAnnotationSelectedColor?: string;
95
+ routeAnnotationColor?: string;
96
+ routeAnnotationTextColor?: string;
97
+ routeAnnotationSelectedTextColor?: string;
98
+ routeAnnotationMoreTimeTextColor?: string;
99
+ routeAnnotationLessTimeTextColor?: string;
100
+ waypointColor?: string;
101
+ waypointStrokeColor?: string;
102
+ feedbackBackgroundColor?: string;
103
+ feedbackTextColor?: string;
104
+ feedbackCellColor?: string;
105
+ feedbackSubtypeCircleColor?: string;
106
+ feedbackSubtypeCircleOutlineColor?: string;
107
+ endOfRouteButtonTextColor?: string;
108
+ endOfRouteCommentBackgroundColor?: string;
109
+ endOfRouteCommentTextColor?: string;
110
+ endOfRouteContentBackgroundColor?: string;
111
+ endOfRouteTitleTextColor?: string;
112
+ roadShieldBlackColor?: string;
113
+ roadShieldBlueColor?: string;
114
+ roadShieldGreenColor?: string;
115
+ roadShieldRedColor?: string;
116
+ roadShieldWhiteColor?: string;
117
+ roadShieldYellowColor?: string;
118
+ roadShieldDefaultColor?: string;
119
+ buttonTextColor?: string;
120
+ cancelButtonTintColor?: string;
121
+ previewButtonTintColor?: string;
122
+ startButtonTintColor?: string;
123
+ dismissButtonBackgroundColor?: string;
124
+ dismissButtonTextColor?: string;
125
+ backButtonBackgroundColor?: string;
126
+ backButtonTintColor?: string;
127
+ backButtonTextColor?: string;
128
+ backButtonBorderColor?: string;
129
+ navigationViewBackgroundColor?: string;
130
+ distanceLabelUnitTextColor?: string;
131
+ distanceLabelValueTextColor?: string;
132
+ ratingControlNormalColor?: string;
133
+ ratingControlSelectedColor?: string;
134
+ stepsBackgroundViewColor?: string;
135
+ stepsTableHeaderTintColor?: string;
136
+ stepsTableHeaderTextColor?: string;
137
+ stepInstructionsBackgroundColor?: string;
138
+ stepTableViewCellBackgroundColor?: string;
139
+ nextInstructionNormalTextColor?: string;
140
+ nextInstructionContainedTextColor?: string;
141
+ secondaryLabelNormalTextColor?: string;
142
+ stylableLabelNormalTextColor?: string;
143
+ carPlayCompassBackgroundColor?: string;
66
144
  };
67
145
  export {};
68
146
  //# sourceMappingURL=ExpoMapboxNavigation.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoMapboxNavigation.types.d.ts","sourceRoot":"","sources":["../src/ExpoMapboxNavigation.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,KAAK,aAAa,GAAG;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG;IAC1C,WAAW,EAAE,KAAK,CAAC;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC5D,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,WAAW,EAAE,aAAa,CAAA;KAAE,KAAK,IAAI,CAAC;IACzE,kBAAkB,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B,CAAC,EAAE,MAAM,CAAC;IAC/B,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC,sBAAsB,CAAC,EAAE,MAAM,CAAC;IAChC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAG/B,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAGvC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IACpC,2BAA2B,CAAC,EAAE,MAAM,CAAC;IAGrC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,0BAA0B,CAAC,EAAE,MAAM,CAAC;IAGpC,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,yBAAyB,CAAC,EAAE,MAAM,CAAC;IACnC,+BAA+B,CAAC,EAAE,MAAM,CAAC;IACzC,gCAAgC,CAAC,EAAE,MAAM,CAAC;IAG1C,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAG3C,6BAA6B,CAAC,EAAE,MAAM,CAAC;IAGvC,4BAA4B,CAAC,EAAE,MAAM,CAAC;IAGtC,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoMapboxNavigation.types.js","sourceRoot":"","sources":["../src/ExpoMapboxNavigation.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ViewStyle, StyleProp } from \"react-native\";\n\ntype ProgressEvent = {\n distanceRemaining: number;\n distanceTraveled: number;\n durationRemaining: number;\n fractionTraveled: number;\n};\n\nexport type ExpoMapboxNavigationViewProps = {\n coordinates: Array<{ latitude: number; longitude: number }>;\n waypointIndices?: number[];\n useRouteMatchingApi?: boolean;\n locale?: string;\n routeProfile?: string;\n routeExcludeList?: string[];\n mapStyle?: string;\n mute?: boolean;\n routeColor?: string;\n routeAlternateColor?: string;\n routeCasingColor?: string;\n routeAlternateCasingColor?: string;\n traversedRouteColor?: string;\n maneuverArrowColor?: string;\n onRouteProgressChanged?: (event: { nativeEvent: ProgressEvent }) => void;\n onCancelNavigation?: () => void;\n onWaypointArrival?: (event: {\n nativeEvent: ProgressEvent | undefined;\n }) => void;\n onFinalDestinationArrival?: () => void;\n onRouteChanged?: () => void;\n onUserOffRoute?: () => void;\n onRoutesLoaded?: () => void;\n style?: StyleProp<ViewStyle>;\n\n // Top Banner (1)\n topBannerBackgroundColor?: string;\n topBannerPrimaryTextColor?: string;\n topBannerSecondaryTextColor?: string;\n topBannerDistanceTextColor?: string;\n topBannerSeparatorColor?: string;\n\n // Information Stack (2)\n informationStackBackgroundColor?: string;\n informationStackTextColor?: string;\n\n // Bottom Banner (3)\n bottomBannerBackgroundColor?: string;\n bottomBannerTimeRemainingTextColor?: string;\n bottomBannerDistanceRemainingTextColor?: string;\n bottomBannerArrivalTimeTextColor?: string;\n\n // Resume Button (4)\n resumeButtonBackgroundColor?: string;\n resumeButtonTextColor?: string;\n resumeButtonBorderColor?: string;\n\n // Speed Limit View (5)\n speedLimitBackgroundColor?: string;\n speedLimitTextColor?: string;\n speedLimitBorderColor?: string;\n\n // Floating Stack (6)\n floatingStackBackgroundColor?: string;\n floatingButtonsBackgroundColor?: string;\n floatingButtonsTextColor?: string;\n floatingButtonsBorderColor?: string;\n\n // Way Name Label (8)\n wayNameViewBackgroundColor?: string;\n\n // Maneuver View (Direction Arrow and Text)\n maneuverViewPrimaryColor?: string; // Main arrow color\n maneuverViewSecondaryColor?: string; // Secondary arrow color\n maneuverViewTextColor?: string; // Direction text color\n maneuverViewBackgroundColor?: string; // Background of the direction bar\n\n // Instructions View\n instructionsTextColor?: string; // Color for all instruction text\n instructionsBackgroundColor?: string; // Background color for instruction panels\n};\n"]}
1
+ {"version":3,"file":"ExpoMapboxNavigation.types.js","sourceRoot":"","sources":["../src/ExpoMapboxNavigation.types.ts"],"names":[],"mappings":"","sourcesContent":["import { ViewStyle, StyleProp } from \"react-native/types\";\n\ntype ProgressEvent = {\n distanceRemaining: number;\n distanceTraveled: number;\n durationRemaining: number;\n fractionTraveled: number;\n};\n\nexport type ExpoMapboxNavigationViewProps = {\n coordinates: Array<{ latitude: number; longitude: number }>;\n waypointIndices?: number[];\n useRouteMatchingApi?: boolean;\n locale?: string;\n routeProfile?: string;\n routeExcludeList?: string[];\n mapStyle?: string;\n mute?: boolean;\n routeColor?: string;\n routeAlternateColor?: string;\n routeCasingColor?: string;\n routeAlternateCasingColor?: string;\n traversedRouteColor?: string;\n maneuverArrowColor?: string;\n onRouteProgressChanged?: (event: { nativeEvent: ProgressEvent }) => void;\n onCancelNavigation?: () => void;\n onWaypointArrival?: (event: {\n nativeEvent: ProgressEvent | undefined;\n }) => void;\n onFinalDestinationArrival?: () => void;\n onRouteChanged?: () => void;\n onUserOffRoute?: () => void;\n onRoutesLoaded?: () => void;\n style?: StyleProp<ViewStyle>;\n\n // Top Banner (1)\n topBannerBackgroundColor?: string;\n topBannerPrimaryTextColor?: string;\n topBannerSecondaryTextColor?: string;\n topBannerDistanceTextColor?: string;\n topBannerSeparatorColor?: string;\n\n // Information Stack (2)\n informationStackBackgroundColor?: string;\n informationStackTextColor?: string;\n\n // Bottom Banner (3)\n bottomBannerBackgroundColor?: string;\n bottomBannerTimeRemainingTextColor?: string;\n bottomBannerDistanceRemainingTextColor?: string;\n bottomBannerArrivalTimeTextColor?: string;\n\n // Resume Button (4)\n resumeButtonBackgroundColor?: string;\n resumeButtonTextColor?: string;\n resumeButtonBorderColor?: string;\n\n // Speed Limit View (5)\n speedLimitBackgroundColor?: string;\n speedLimitTextColor?: string;\n speedLimitBorderColor?: string;\n\n // Floating Stack (6)\n floatingStackBackgroundColor?: string;\n floatingButtonsBackgroundColor?: string;\n floatingButtonsTextColor?: string;\n floatingButtonsBorderColor?: string;\n\n // Way Name Label (8)\n wayNameViewBackgroundColor?: string;\n wayNameViewTextColor?: string;\n\n // Steps List\n stepsBackgroundColor?: string;\n stepsPrimaryTextColor?: string;\n stepsSecondaryTextColor?: string;\n stepsManeuverViewPrimaryColor?: string;\n stepsManeuverViewSecondaryColor?: string;\n stepsSeparatorColor?: string;\n\n // Lane View\n laneViewBackgroundColor?: string;\n laneViewForegroundColor?: string;\n laneViewSeparatorColor?: string;\n\n // Next Banner View\n nextBannerBackgroundColor?: string;\n nextBannerPrimaryTextColor?: string;\n nextBannerSecondaryTextColor?: string;\n nextBannerDistanceTextColor?: string;\n\n // Progress Bar\n progressBarProgressColor?: string;\n progressBarBackgroundColor?: string;\n\n // Maneuver View (Direction Arrow)\n maneuverViewPrimaryColor?: string;\n maneuverViewSecondaryColor?: string;\n maneuverViewPrimaryColorHighlighted?: string;\n maneuverViewSecondaryColorHighlighted?: string;\n\n // Instructions View\n instructionsTextColor?: string; // Color for all instruction text\n instructionsBackgroundColor?: string; // Background color for instruction panels\n\n // Instructions Card\n instructionsCardBackgroundColor?: string;\n instructionsCardSeparatorColor?: string;\n instructionsCardHighlightedSeparatorColor?: string;\n\n // Exit View\n exitViewForegroundColor?: string;\n exitViewBorderColor?: string;\n exitViewHighlightColor?: string;\n\n // Route Shield\n routeShieldForegroundColor?: string;\n routeShieldBorderColor?: string;\n routeShieldHighlightColor?: string;\n\n // Distance Labels\n distanceRemainingColor?: string;\n distanceUnitColor?: string;\n distanceValueColor?: string;\n\n // Navigation Map\n routeAnnotationSelectedColor?: string;\n routeAnnotationColor?: string;\n routeAnnotationTextColor?: string;\n routeAnnotationSelectedTextColor?: string;\n routeAnnotationMoreTimeTextColor?: string;\n routeAnnotationLessTimeTextColor?: string;\n waypointColor?: string;\n waypointStrokeColor?: string;\n\n // Feedback\n feedbackBackgroundColor?: string;\n feedbackTextColor?: string;\n feedbackCellColor?: string;\n feedbackSubtypeCircleColor?: string;\n feedbackSubtypeCircleOutlineColor?: string;\n\n // End of Route\n endOfRouteButtonTextColor?: string;\n endOfRouteCommentBackgroundColor?: string;\n endOfRouteCommentTextColor?: string;\n endOfRouteContentBackgroundColor?: string;\n endOfRouteTitleTextColor?: string;\n\n // Road Shield Colors\n roadShieldBlackColor?: string;\n roadShieldBlueColor?: string;\n roadShieldGreenColor?: string;\n roadShieldRedColor?: string;\n roadShieldWhiteColor?: string;\n roadShieldYellowColor?: string;\n roadShieldDefaultColor?: string;\n\n // Button Properties\n buttonTextColor?: string;\n cancelButtonTintColor?: string;\n previewButtonTintColor?: string;\n startButtonTintColor?: string;\n dismissButtonBackgroundColor?: string;\n dismissButtonTextColor?: string;\n backButtonBackgroundColor?: string;\n backButtonTintColor?: string;\n backButtonTextColor?: string;\n backButtonBorderColor?: string;\n\n // Navigation View\n navigationViewBackgroundColor?: string;\n\n // Distance Label Properties\n distanceLabelUnitTextColor?: string;\n distanceLabelValueTextColor?: string;\n\n // Rating Control\n ratingControlNormalColor?: string;\n ratingControlSelectedColor?: string;\n\n // Steps Properties\n stepsBackgroundViewColor?: string;\n stepsTableHeaderTintColor?: string;\n stepsTableHeaderTextColor?: string;\n stepInstructionsBackgroundColor?: string;\n stepTableViewCellBackgroundColor?: string;\n\n // Next Instruction\n nextInstructionNormalTextColor?: string;\n nextInstructionContainedTextColor?: string;\n\n // Secondary Label Properties\n secondaryLabelNormalTextColor?: string;\n\n // Stylable Label\n stylableLabelNormalTextColor?: string;\n\n // CarPlay Properties\n carPlayCompassBackgroundColor?: string;\n};\n"]}