@maplibre/maplibre-react-native 11.0.0-beta.25 → 11.0.0-beta.26

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.
Files changed (217) hide show
  1. package/ios/modules/offline/MLRNOfflineModule.h +1 -2
  2. package/ios/modules/offline/MLRNOfflineModule.mm +9 -9
  3. package/lib/commonjs/components/annotations/callout/Callout.js +2 -1
  4. package/lib/commonjs/components/annotations/callout/Callout.js.map +1 -1
  5. package/lib/commonjs/components/annotations/marker/Marker.js +4 -2
  6. package/lib/commonjs/components/annotations/marker/Marker.js.map +1 -1
  7. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js +6 -5
  8. package/lib/commonjs/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
  9. package/lib/commonjs/components/camera/Camera.js.map +1 -1
  10. package/lib/commonjs/components/images/Images.js +2 -2
  11. package/lib/commonjs/components/layer/Layer.js +0 -1
  12. package/lib/commonjs/components/layer/Layer.js.map +1 -1
  13. package/lib/commonjs/components/map/Map.js.map +1 -1
  14. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js +2 -2
  15. package/lib/commonjs/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
  16. package/lib/commonjs/components/sources/image-source/ImageSource.js +3 -2
  17. package/lib/commonjs/components/sources/image-source/ImageSource.js.map +1 -1
  18. package/lib/commonjs/components/sources/raster-source/RasterSource.js +4 -3
  19. package/lib/commonjs/components/sources/raster-source/RasterSource.js.map +1 -1
  20. package/lib/commonjs/components/sources/vector-source/VectorSource.js +4 -2
  21. package/lib/commonjs/components/sources/vector-source/VectorSource.js.map +1 -1
  22. package/lib/commonjs/components/user-location/NativeUserLocation.js.map +1 -1
  23. package/lib/commonjs/components/user-location/UserLocation.js.map +1 -1
  24. package/lib/commonjs/modules/log/LogManager.js +5 -4
  25. package/lib/commonjs/modules/log/LogManager.js.map +1 -1
  26. package/lib/commonjs/modules/network/NetworkManager.js +7 -7
  27. package/lib/commonjs/modules/network/NetworkManager.js.map +1 -1
  28. package/lib/commonjs/modules/offline/OfflineManager.js +63 -47
  29. package/lib/commonjs/modules/offline/OfflineManager.js.map +1 -1
  30. package/lib/commonjs/modules/transform-request/TransformRequestManager.js +50 -45
  31. package/lib/commonjs/modules/transform-request/TransformRequestManager.js.map +1 -1
  32. package/lib/commonjs/plugin/ios.js +9 -8
  33. package/lib/commonjs/plugin/ios.js.map +1 -1
  34. package/lib/commonjs/types/Anchor.js +5 -6
  35. package/lib/commonjs/types/Anchor.js.map +1 -1
  36. package/lib/commonjs/utils/animated/AbstractAnimatedCoordinates.js +2 -2
  37. package/lib/commonjs/utils/animated/AnimatedCoordinatesArray.js +6 -6
  38. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js +2 -1
  39. package/lib/commonjs/utils/animated/AnimatedGeoJSON.js.map +1 -1
  40. package/lib/commonjs/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
  41. package/lib/commonjs/utils/convertStyleSpec.js +4 -4
  42. package/lib/module/components/annotations/callout/Callout.js +2 -1
  43. package/lib/module/components/annotations/callout/Callout.js.map +1 -1
  44. package/lib/module/components/annotations/marker/Marker.js +4 -2
  45. package/lib/module/components/annotations/marker/Marker.js.map +1 -1
  46. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js +6 -5
  47. package/lib/module/components/annotations/view-annotation/ViewAnnotation.js.map +1 -1
  48. package/lib/module/components/camera/Camera.js.map +1 -1
  49. package/lib/module/components/images/Images.js +2 -2
  50. package/lib/module/components/layer/Layer.js +0 -1
  51. package/lib/module/components/layer/Layer.js.map +1 -1
  52. package/lib/module/components/map/Map.js.map +1 -1
  53. package/lib/module/components/sources/geojson-source/GeoJSONSource.js +2 -2
  54. package/lib/module/components/sources/geojson-source/GeoJSONSource.js.map +1 -1
  55. package/lib/module/components/sources/image-source/ImageSource.js +3 -2
  56. package/lib/module/components/sources/image-source/ImageSource.js.map +1 -1
  57. package/lib/module/components/sources/raster-source/RasterSource.js +4 -3
  58. package/lib/module/components/sources/raster-source/RasterSource.js.map +1 -1
  59. package/lib/module/components/sources/vector-source/VectorSource.js +4 -2
  60. package/lib/module/components/sources/vector-source/VectorSource.js.map +1 -1
  61. package/lib/module/components/user-location/NativeUserLocation.js.map +1 -1
  62. package/lib/module/components/user-location/UserLocation.js.map +1 -1
  63. package/lib/module/modules/log/LogManager.js +5 -4
  64. package/lib/module/modules/log/LogManager.js.map +1 -1
  65. package/lib/module/modules/network/NetworkManager.js +7 -7
  66. package/lib/module/modules/network/NetworkManager.js.map +1 -1
  67. package/lib/module/modules/offline/OfflineManager.js +63 -47
  68. package/lib/module/modules/offline/OfflineManager.js.map +1 -1
  69. package/lib/module/modules/transform-request/TransformRequestManager.js +50 -45
  70. package/lib/module/modules/transform-request/TransformRequestManager.js.map +1 -1
  71. package/lib/module/plugin/ios.js +9 -8
  72. package/lib/module/plugin/ios.js.map +1 -1
  73. package/lib/module/types/Anchor.js +5 -6
  74. package/lib/module/types/Anchor.js.map +1 -1
  75. package/lib/module/utils/animated/AbstractAnimatedCoordinates.js +2 -2
  76. package/lib/module/utils/animated/AnimatedCoordinatesArray.js +6 -6
  77. package/lib/module/utils/animated/AnimatedGeoJSON.js +2 -1
  78. package/lib/module/utils/animated/AnimatedGeoJSON.js.map +1 -1
  79. package/lib/module/utils/animated/AnimatedRouteCoordinatesArray.js +6 -6
  80. package/lib/module/utils/convertStyleSpec.js +4 -4
  81. package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts +3 -2
  82. package/lib/typescript/commonjs/components/annotations/callout/Callout.d.ts.map +1 -1
  83. package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts +15 -14
  84. package/lib/typescript/commonjs/components/annotations/marker/Marker.d.ts.map +1 -1
  85. package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts +26 -24
  86. package/lib/typescript/commonjs/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -1
  87. package/lib/typescript/commonjs/components/camera/Camera.d.ts +10 -24
  88. package/lib/typescript/commonjs/components/camera/Camera.d.ts.map +1 -1
  89. package/lib/typescript/commonjs/components/images/Images.d.ts +12 -12
  90. package/lib/typescript/commonjs/components/layer/Layer.d.ts +0 -1
  91. package/lib/typescript/commonjs/components/layer/Layer.d.ts.map +1 -1
  92. package/lib/typescript/commonjs/components/map/Map.d.ts +54 -51
  93. package/lib/typescript/commonjs/components/map/Map.d.ts.map +1 -1
  94. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts +40 -41
  95. package/lib/typescript/commonjs/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -1
  96. package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts +5 -3
  97. package/lib/typescript/commonjs/components/sources/image-source/ImageSource.d.ts.map +1 -1
  98. package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts +20 -15
  99. package/lib/typescript/commonjs/components/sources/raster-source/RasterSource.d.ts.map +1 -1
  100. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts +23 -20
  101. package/lib/typescript/commonjs/components/sources/vector-source/VectorSource.d.ts.map +1 -1
  102. package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts +9 -6
  103. package/lib/typescript/commonjs/components/user-location/NativeUserLocation.d.ts.map +1 -1
  104. package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts +4 -2
  105. package/lib/typescript/commonjs/components/user-location/UserLocation.d.ts.map +1 -1
  106. package/lib/typescript/commonjs/hooks/useCurrentPosition.d.ts +2 -2
  107. package/lib/typescript/commonjs/modules/log/LogManager.d.ts +5 -4
  108. package/lib/typescript/commonjs/modules/log/LogManager.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts +7 -7
  110. package/lib/typescript/commonjs/modules/network/NetworkManager.d.ts.map +1 -1
  111. package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts +63 -47
  112. package/lib/typescript/commonjs/modules/offline/OfflineManager.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/modules/static-map/StaticMapManager.d.ts +2 -2
  114. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts +56 -49
  115. package/lib/typescript/commonjs/modules/transform-request/TransformRequestManager.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/plugin/MapLibrePluginProps.d.ts +10 -15
  117. package/lib/typescript/commonjs/plugin/MapLibrePluginProps.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/plugin/ios.d.ts +2 -2
  119. package/lib/typescript/commonjs/plugin/ios.d.ts.map +1 -1
  120. package/lib/typescript/commonjs/types/Anchor.d.ts +5 -6
  121. package/lib/typescript/commonjs/types/Anchor.d.ts.map +1 -1
  122. package/lib/typescript/commonjs/types/LngLatBounds.d.ts +2 -1
  123. package/lib/typescript/commonjs/types/LngLatBounds.d.ts.map +1 -1
  124. package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts +243 -93
  125. package/lib/typescript/commonjs/types/MapLibreRNStyles.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/types/sources/PressableSourceProps.d.ts +1 -2
  127. package/lib/typescript/commonjs/types/sources/PressableSourceProps.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
  129. package/lib/typescript/commonjs/utils/animated/AnimatedCoordinatesArray.d.ts +6 -6
  130. package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts +2 -1
  131. package/lib/typescript/commonjs/utils/animated/AnimatedGeoJSON.d.ts.map +1 -1
  132. package/lib/typescript/commonjs/utils/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
  133. package/lib/typescript/commonjs/utils/convertStyleSpec.d.ts +4 -4
  134. package/lib/typescript/module/components/annotations/callout/Callout.d.ts +3 -2
  135. package/lib/typescript/module/components/annotations/callout/Callout.d.ts.map +1 -1
  136. package/lib/typescript/module/components/annotations/marker/Marker.d.ts +15 -14
  137. package/lib/typescript/module/components/annotations/marker/Marker.d.ts.map +1 -1
  138. package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts +26 -24
  139. package/lib/typescript/module/components/annotations/view-annotation/ViewAnnotation.d.ts.map +1 -1
  140. package/lib/typescript/module/components/camera/Camera.d.ts +10 -24
  141. package/lib/typescript/module/components/camera/Camera.d.ts.map +1 -1
  142. package/lib/typescript/module/components/images/Images.d.ts +12 -12
  143. package/lib/typescript/module/components/layer/Layer.d.ts +0 -1
  144. package/lib/typescript/module/components/layer/Layer.d.ts.map +1 -1
  145. package/lib/typescript/module/components/map/Map.d.ts +54 -51
  146. package/lib/typescript/module/components/map/Map.d.ts.map +1 -1
  147. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts +40 -41
  148. package/lib/typescript/module/components/sources/geojson-source/GeoJSONSource.d.ts.map +1 -1
  149. package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts +5 -3
  150. package/lib/typescript/module/components/sources/image-source/ImageSource.d.ts.map +1 -1
  151. package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts +20 -15
  152. package/lib/typescript/module/components/sources/raster-source/RasterSource.d.ts.map +1 -1
  153. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts +23 -20
  154. package/lib/typescript/module/components/sources/vector-source/VectorSource.d.ts.map +1 -1
  155. package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts +9 -6
  156. package/lib/typescript/module/components/user-location/NativeUserLocation.d.ts.map +1 -1
  157. package/lib/typescript/module/components/user-location/UserLocation.d.ts +4 -2
  158. package/lib/typescript/module/components/user-location/UserLocation.d.ts.map +1 -1
  159. package/lib/typescript/module/hooks/useCurrentPosition.d.ts +2 -2
  160. package/lib/typescript/module/modules/log/LogManager.d.ts +5 -4
  161. package/lib/typescript/module/modules/log/LogManager.d.ts.map +1 -1
  162. package/lib/typescript/module/modules/network/NetworkManager.d.ts +7 -7
  163. package/lib/typescript/module/modules/network/NetworkManager.d.ts.map +1 -1
  164. package/lib/typescript/module/modules/offline/OfflineManager.d.ts +63 -47
  165. package/lib/typescript/module/modules/offline/OfflineManager.d.ts.map +1 -1
  166. package/lib/typescript/module/modules/static-map/StaticMapManager.d.ts +2 -2
  167. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts +56 -49
  168. package/lib/typescript/module/modules/transform-request/TransformRequestManager.d.ts.map +1 -1
  169. package/lib/typescript/module/plugin/MapLibrePluginProps.d.ts +10 -15
  170. package/lib/typescript/module/plugin/MapLibrePluginProps.d.ts.map +1 -1
  171. package/lib/typescript/module/plugin/ios.d.ts +2 -2
  172. package/lib/typescript/module/plugin/ios.d.ts.map +1 -1
  173. package/lib/typescript/module/types/Anchor.d.ts +5 -6
  174. package/lib/typescript/module/types/Anchor.d.ts.map +1 -1
  175. package/lib/typescript/module/types/LngLatBounds.d.ts +2 -1
  176. package/lib/typescript/module/types/LngLatBounds.d.ts.map +1 -1
  177. package/lib/typescript/module/types/MapLibreRNStyles.d.ts +243 -93
  178. package/lib/typescript/module/types/MapLibreRNStyles.d.ts.map +1 -1
  179. package/lib/typescript/module/types/sources/PressableSourceProps.d.ts +1 -2
  180. package/lib/typescript/module/types/sources/PressableSourceProps.d.ts.map +1 -1
  181. package/lib/typescript/module/utils/animated/AbstractAnimatedCoordinates.d.ts +2 -2
  182. package/lib/typescript/module/utils/animated/AnimatedCoordinatesArray.d.ts +6 -6
  183. package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts +2 -1
  184. package/lib/typescript/module/utils/animated/AnimatedGeoJSON.d.ts.map +1 -1
  185. package/lib/typescript/module/utils/animated/AnimatedRouteCoordinatesArray.d.ts +6 -6
  186. package/lib/typescript/module/utils/convertStyleSpec.d.ts +4 -4
  187. package/package.json +1 -2
  188. package/src/components/annotations/callout/Callout.tsx +3 -2
  189. package/src/components/annotations/marker/Marker.tsx +15 -14
  190. package/src/components/annotations/view-annotation/ViewAnnotation.tsx +26 -24
  191. package/src/components/camera/Camera.tsx +10 -24
  192. package/src/components/images/Images.tsx +12 -12
  193. package/src/components/layer/Layer.tsx +0 -1
  194. package/src/components/map/Map.tsx +54 -51
  195. package/src/components/sources/geojson-source/GeoJSONSource.tsx +40 -41
  196. package/src/components/sources/image-source/ImageSource.tsx +5 -3
  197. package/src/components/sources/raster-source/RasterSource.tsx +20 -15
  198. package/src/components/sources/vector-source/VectorSource.tsx +23 -20
  199. package/src/components/user-location/NativeUserLocation.tsx +9 -6
  200. package/src/components/user-location/UserLocation.tsx +4 -2
  201. package/src/hooks/useCurrentPosition.ts +2 -2
  202. package/src/modules/log/LogManager.ts +5 -4
  203. package/src/modules/network/NetworkManager.ts +7 -7
  204. package/src/modules/offline/OfflineManager.ts +63 -47
  205. package/src/modules/static-map/StaticMapManager.ts +2 -2
  206. package/src/modules/transform-request/TransformRequestManager.ts +56 -49
  207. package/src/plugin/MapLibrePluginProps.ts +10 -15
  208. package/src/plugin/ios.ts +9 -8
  209. package/src/types/Anchor.ts +5 -6
  210. package/src/types/LngLatBounds.ts +2 -1
  211. package/src/types/MapLibreRNStyles.ts +243 -93
  212. package/src/types/sources/PressableSourceProps.ts +1 -2
  213. package/src/utils/animated/AbstractAnimatedCoordinates.ts +2 -2
  214. package/src/utils/animated/AnimatedCoordinatesArray.ts +6 -6
  215. package/src/utils/animated/AnimatedGeoJSON.ts +2 -1
  216. package/src/utils/animated/AnimatedRouteCoordinatesArray.ts +6 -6
  217. package/src/utils/convertStyleSpec.ts +4 -4
@@ -7,8 +7,7 @@ export interface PressableSourceProps {
7
7
  /**
8
8
  * Emits on press when a child `Layer` within the hitbox has highest z-index
9
9
  *
10
- * This bubbles up to Map's onPress unless `event.stopPropagation()` is
11
- * called.
10
+ * This bubbles up to Map's onPress unless `event.stopPropagation()` is called.
12
11
  */
13
12
  onPress?: (event: NativeSyntheticEvent<PressEventWithFeatures>) => void;
14
13
 
@@ -35,8 +35,8 @@ export abstract class AbstractAnimatedCoordinates<
35
35
  protected abstract onCalculate(state: State, progress: number): State;
36
36
 
37
37
  /**
38
- * Subclasses can override getValue to calculate value from state.
39
- * Value is typically coordinates array, but can be anything
38
+ * Subclasses can override getValue to calculate value from state. Value is
39
+ * typically coordinates array, but can be anything
40
40
  *
41
41
  * @param state - either state from initialState and/or from calculate
42
42
  */
@@ -12,7 +12,7 @@ export class AnimatedCoordinatesArray extends AbstractAnimatedCoordinates<Coordi
12
12
  /**
13
13
  * Subclasses can override to calculate initial state
14
14
  *
15
- * @param {AnimatedCoordinates} coordinatesArray - to value from animate
15
+ * @param coordinatesArray - to value from animate
16
16
  * @returns {object} - the state object
17
17
  */
18
18
  protected onInitialState(
@@ -28,10 +28,10 @@ export class AnimatedCoordinatesArray extends AbstractAnimatedCoordinates<Coordi
28
28
  }
29
29
 
30
30
  /**
31
- * Subclasses can override getValue to calculate value from state.
32
- * Value is typically coordinates array, but can be anything
31
+ * Subclasses can override getValue to calculate value from state. Value is
32
+ * typically coordinates array, but can be anything
33
33
  *
34
- * @param {object} state - either state from initialState and/or from calculate
34
+ * @param state - either state from initialState and/or from calculate
35
35
  * @returns {object}
36
36
  */
37
37
  protected onGetValue(state: CoordinatesState): CoordinatesState["coords"] {
@@ -41,8 +41,8 @@ export class AnimatedCoordinatesArray extends AbstractAnimatedCoordinates<Coordi
41
41
  /**
42
42
  * Calculates state based on startingState and progress, returns a new state
43
43
  *
44
- * @param {object} state - state object from initialState and/or from calculate
45
- * @param {number} progress - value between 0 and 1
44
+ * @param state - state object from initialState and/or from calculate
45
+ * @param progress - value between 0 and 1
46
46
  * @returns {object} next state
47
47
  */
48
48
  onCalculate(state: CoordinatesState, progress: number): CoordinatesState {
@@ -17,7 +17,8 @@ type AnimatedGeoJSONValueIn =
17
17
  };
18
18
 
19
19
  /**
20
- * AnimatedGeoJSON can be used to have animated properties inside the data property
20
+ * AnimatedGeoJSON can be used to have animated properties inside the data
21
+ * property
21
22
  *
22
23
  * Equivalent of AnimatedStyle for GeoJSON
23
24
  * https://github.com/facebook/react-native/blob/main/packages/react-native/Libraries/Animated/nodes/AnimatedStyle.js
@@ -45,7 +45,7 @@ export class AnimatedRouteCoordinatesArray extends AbstractAnimatedCoordinates<
45
45
  /**
46
46
  * Calculate initial state
47
47
  *
48
- * @param {AnimatedCoordinates[]} coordinatesArray
48
+ * @param coordinatesArray -
49
49
  * @returns {AnimatedRouteState}
50
50
  */
51
51
  protected onInitialState(
@@ -62,7 +62,7 @@ export class AnimatedRouteCoordinatesArray extends AbstractAnimatedCoordinates<
62
62
  /**
63
63
  * Calculate value from state
64
64
  *
65
- * @param {AnimatedRouteState} state Previous state
65
+ * @param state - Previous state
66
66
  * @returns {AnimatedCoordinates[]}
67
67
  */
68
68
  protected onGetValue(state: AnimatedRouteState): AnimatedCoordinates[] {
@@ -72,8 +72,8 @@ export class AnimatedRouteCoordinatesArray extends AbstractAnimatedCoordinates<
72
72
  /**
73
73
  * Calculates state based on startingState and progress, returns a new state
74
74
  *
75
- * @param {AnimatedRouteState} state Previous state
76
- * @param {number} progress Value between 0 and 1
75
+ * @param state - Previous state
76
+ * @param progress - Value between 0 and 1
77
77
  * @returns {AnimatedRouteState}
78
78
  */
79
79
  protected onCalculate(
@@ -114,8 +114,8 @@ export class AnimatedRouteCoordinatesArray extends AbstractAnimatedCoordinates<
114
114
  /**
115
115
  * Subclasses can override to start a new animation
116
116
  *
117
- * @param {AnimatedRouteState} state
118
- * @param {*} toValue - to value from animate
117
+ * @param state -
118
+ * @param toValue - to value from animate
119
119
  * @returns {object} The state
120
120
  */
121
121
  protected onStart(
@@ -12,8 +12,8 @@ function kebabToCamel(str: string): string {
12
12
  }
13
13
 
14
14
  /**
15
- * Converts style spec compliant paint/layout objects (kebab-case)
16
- * to internal style format (camelCase).
15
+ * Converts style spec compliant paint/layout objects (kebab-case) to internal
16
+ * style format (camelCase).
17
17
  *
18
18
  * @example
19
19
  * convertToInternalStyle({ 'fill-color': 'red' })
@@ -36,8 +36,8 @@ export function convertToInternalStyle(
36
36
  }
37
37
 
38
38
  /**
39
- * Merges paint and layout props into a single internal style object.
40
- * Priority order (highest to lowest): paint > layout > style (deprecated)
39
+ * Merges paint and layout props into a single internal style object. Priority
40
+ * order (highest to lowest): paint > layout > style (deprecated)
41
41
  */
42
42
  export function mergeStyleProps(
43
43
  paint: Record<string, unknown> | undefined,