@complexify/expo-mapbox-navigation 1.1.7 → 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.
- package/build/ExpoMapboxNavigation.types.d.ts +83 -3
- package/build/ExpoMapboxNavigation.types.d.ts.map +1 -1
- package/build/ExpoMapboxNavigation.types.js.map +1 -1
- package/ios/CustomNavigationStyle.swift +432 -22
- package/ios/ExpoMapboxNavigationModule.swift +353 -0
- package/ios/ExpoMapboxNavigationView.swift +340 -0
- package/package.json +1 -1
- package/src/ExpoMapboxNavigation.types.ts +130 -6
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ViewStyle, StyleProp } from "react-native";
|
1
|
+
import { ViewStyle, StyleProp } from "react-native/types";
|
2
2
|
|
3
3
|
type ProgressEvent = {
|
4
4
|
distanceRemaining: number;
|
@@ -68,10 +68,134 @@ export type ExpoMapboxNavigationViewProps = {
|
|
68
68
|
|
69
69
|
// Way Name Label (8)
|
70
70
|
wayNameViewBackgroundColor?: string;
|
71
|
+
wayNameViewTextColor?: string;
|
71
72
|
|
72
|
-
//
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
73
|
+
// Steps List
|
74
|
+
stepsBackgroundColor?: string;
|
75
|
+
stepsPrimaryTextColor?: string;
|
76
|
+
stepsSecondaryTextColor?: string;
|
77
|
+
stepsManeuverViewPrimaryColor?: string;
|
78
|
+
stepsManeuverViewSecondaryColor?: string;
|
79
|
+
stepsSeparatorColor?: string;
|
80
|
+
|
81
|
+
// Lane View
|
82
|
+
laneViewBackgroundColor?: string;
|
83
|
+
laneViewForegroundColor?: string;
|
84
|
+
laneViewSeparatorColor?: string;
|
85
|
+
|
86
|
+
// Next Banner View
|
87
|
+
nextBannerBackgroundColor?: string;
|
88
|
+
nextBannerPrimaryTextColor?: string;
|
89
|
+
nextBannerSecondaryTextColor?: string;
|
90
|
+
nextBannerDistanceTextColor?: string;
|
91
|
+
|
92
|
+
// Progress Bar
|
93
|
+
progressBarProgressColor?: string;
|
94
|
+
progressBarBackgroundColor?: string;
|
95
|
+
|
96
|
+
// Maneuver View (Direction Arrow)
|
97
|
+
maneuverViewPrimaryColor?: string;
|
98
|
+
maneuverViewSecondaryColor?: string;
|
99
|
+
maneuverViewPrimaryColorHighlighted?: string;
|
100
|
+
maneuverViewSecondaryColorHighlighted?: string;
|
101
|
+
|
102
|
+
// Instructions View
|
103
|
+
instructionsTextColor?: string; // Color for all instruction text
|
104
|
+
instructionsBackgroundColor?: string; // Background color for instruction panels
|
105
|
+
|
106
|
+
// Instructions Card
|
107
|
+
instructionsCardBackgroundColor?: string;
|
108
|
+
instructionsCardSeparatorColor?: string;
|
109
|
+
instructionsCardHighlightedSeparatorColor?: string;
|
110
|
+
|
111
|
+
// Exit View
|
112
|
+
exitViewForegroundColor?: string;
|
113
|
+
exitViewBorderColor?: string;
|
114
|
+
exitViewHighlightColor?: string;
|
115
|
+
|
116
|
+
// Route Shield
|
117
|
+
routeShieldForegroundColor?: string;
|
118
|
+
routeShieldBorderColor?: string;
|
119
|
+
routeShieldHighlightColor?: string;
|
120
|
+
|
121
|
+
// Distance Labels
|
122
|
+
distanceRemainingColor?: string;
|
123
|
+
distanceUnitColor?: string;
|
124
|
+
distanceValueColor?: string;
|
125
|
+
|
126
|
+
// Navigation Map
|
127
|
+
routeAnnotationSelectedColor?: string;
|
128
|
+
routeAnnotationColor?: string;
|
129
|
+
routeAnnotationTextColor?: string;
|
130
|
+
routeAnnotationSelectedTextColor?: string;
|
131
|
+
routeAnnotationMoreTimeTextColor?: string;
|
132
|
+
routeAnnotationLessTimeTextColor?: string;
|
133
|
+
waypointColor?: string;
|
134
|
+
waypointStrokeColor?: string;
|
135
|
+
|
136
|
+
// Feedback
|
137
|
+
feedbackBackgroundColor?: string;
|
138
|
+
feedbackTextColor?: string;
|
139
|
+
feedbackCellColor?: string;
|
140
|
+
feedbackSubtypeCircleColor?: string;
|
141
|
+
feedbackSubtypeCircleOutlineColor?: string;
|
142
|
+
|
143
|
+
// End of Route
|
144
|
+
endOfRouteButtonTextColor?: string;
|
145
|
+
endOfRouteCommentBackgroundColor?: string;
|
146
|
+
endOfRouteCommentTextColor?: string;
|
147
|
+
endOfRouteContentBackgroundColor?: string;
|
148
|
+
endOfRouteTitleTextColor?: string;
|
149
|
+
|
150
|
+
// Road Shield Colors
|
151
|
+
roadShieldBlackColor?: string;
|
152
|
+
roadShieldBlueColor?: string;
|
153
|
+
roadShieldGreenColor?: string;
|
154
|
+
roadShieldRedColor?: string;
|
155
|
+
roadShieldWhiteColor?: string;
|
156
|
+
roadShieldYellowColor?: string;
|
157
|
+
roadShieldDefaultColor?: string;
|
158
|
+
|
159
|
+
// Button Properties
|
160
|
+
buttonTextColor?: string;
|
161
|
+
cancelButtonTintColor?: string;
|
162
|
+
previewButtonTintColor?: string;
|
163
|
+
startButtonTintColor?: string;
|
164
|
+
dismissButtonBackgroundColor?: string;
|
165
|
+
dismissButtonTextColor?: string;
|
166
|
+
backButtonBackgroundColor?: string;
|
167
|
+
backButtonTintColor?: string;
|
168
|
+
backButtonTextColor?: string;
|
169
|
+
backButtonBorderColor?: string;
|
170
|
+
|
171
|
+
// Navigation View
|
172
|
+
navigationViewBackgroundColor?: string;
|
173
|
+
|
174
|
+
// Distance Label Properties
|
175
|
+
distanceLabelUnitTextColor?: string;
|
176
|
+
distanceLabelValueTextColor?: string;
|
177
|
+
|
178
|
+
// Rating Control
|
179
|
+
ratingControlNormalColor?: string;
|
180
|
+
ratingControlSelectedColor?: string;
|
181
|
+
|
182
|
+
// Steps Properties
|
183
|
+
stepsBackgroundViewColor?: string;
|
184
|
+
stepsTableHeaderTintColor?: string;
|
185
|
+
stepsTableHeaderTextColor?: string;
|
186
|
+
stepInstructionsBackgroundColor?: string;
|
187
|
+
stepTableViewCellBackgroundColor?: string;
|
188
|
+
|
189
|
+
// Next Instruction
|
190
|
+
nextInstructionNormalTextColor?: string;
|
191
|
+
nextInstructionContainedTextColor?: string;
|
192
|
+
|
193
|
+
// Secondary Label Properties
|
194
|
+
secondaryLabelNormalTextColor?: string;
|
195
|
+
|
196
|
+
// Stylable Label
|
197
|
+
stylableLabelNormalTextColor?: string;
|
198
|
+
|
199
|
+
// CarPlay Properties
|
200
|
+
carPlayCompassBackgroundColor?: string;
|
77
201
|
};
|