@goway.to/maps 0.0.0-stage → 0.1.1

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 (127) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/LICENSE +676 -0
  3. package/NOTICE +25 -0
  4. package/README.md +59 -2
  5. package/app.plugin.js +19 -0
  6. package/dist/CameraBinding.web.d.ts +24 -0
  7. package/dist/CameraBinding.web.js +46 -0
  8. package/dist/DefaultMapMarker.d.ts +8 -0
  9. package/dist/DefaultMapMarker.js +30 -0
  10. package/dist/GeoJSONSource.d.ts +2 -0
  11. package/dist/GeoJSONSource.js +17 -0
  12. package/dist/GeoJSONSource.web.d.ts +2 -0
  13. package/dist/GeoJSONSource.web.js +68 -0
  14. package/dist/InteractionBinding.web.d.ts +7 -0
  15. package/dist/InteractionBinding.web.js +35 -0
  16. package/dist/Layer.d.ts +2 -0
  17. package/dist/Layer.js +21 -0
  18. package/dist/Layer.web.d.ts +2 -0
  19. package/dist/Layer.web.js +46 -0
  20. package/dist/LayerStyle.web.d.ts +10 -0
  21. package/dist/LayerStyle.web.js +45 -0
  22. package/dist/LightBinding.web.d.ts +5 -0
  23. package/dist/LightBinding.web.js +19 -0
  24. package/dist/MapAttribution.d.ts +27 -0
  25. package/dist/MapAttribution.js +149 -0
  26. package/dist/MapBrand.d.ts +22 -0
  27. package/dist/MapBrand.js +91 -0
  28. package/dist/MapErrorState.d.ts +9 -0
  29. package/dist/MapErrorState.js +58 -0
  30. package/dist/MapPlugin.d.ts +6 -0
  31. package/dist/MapPlugin.js +3 -0
  32. package/dist/MapPlugin.web.d.ts +2 -0
  33. package/dist/MapPlugin.web.js +43 -0
  34. package/dist/MapView.d.ts +2 -0
  35. package/dist/MapView.js +425 -0
  36. package/dist/MapView.web.d.ts +5 -0
  37. package/dist/MapView.web.js +418 -0
  38. package/dist/Marker.d.ts +13 -0
  39. package/dist/Marker.js +11 -0
  40. package/dist/Marker.web.d.ts +15 -0
  41. package/dist/Marker.web.js +51 -0
  42. package/dist/Markers.d.ts +2 -0
  43. package/dist/Markers.js +13 -0
  44. package/dist/Markers.web.d.ts +2 -0
  45. package/dist/Markers.web.js +13 -0
  46. package/dist/PluginProps.web.d.ts +7 -0
  47. package/dist/PluginProps.web.js +19 -0
  48. package/dist/RasterDEMSource.d.ts +2 -0
  49. package/dist/RasterDEMSource.js +7 -0
  50. package/dist/RasterDEMSource.web.d.ts +2 -0
  51. package/dist/RasterDEMSource.web.js +44 -0
  52. package/dist/SourceData.web.d.ts +6 -0
  53. package/dist/SourceData.web.js +14 -0
  54. package/dist/UserLocation.d.ts +2 -0
  55. package/dist/UserLocation.js +19 -0
  56. package/dist/UserLocation.web.d.ts +2 -0
  57. package/dist/UserLocation.web.js +21 -0
  58. package/dist/brand/BrandedChrome.d.ts +47 -0
  59. package/dist/brand/BrandedChrome.js +51 -0
  60. package/dist/brand/GowayLogo.d.ts +28 -0
  61. package/dist/brand/GowayLogo.js +49 -0
  62. package/dist/brand/artwork.d.ts +130 -0
  63. package/dist/brand/artwork.js +176 -0
  64. package/dist/brand/logoAccessibility.d.ts +26 -0
  65. package/dist/brand/logoAccessibility.js +7 -0
  66. package/dist/cameraReports.web.d.ts +50 -0
  67. package/dist/cameraReports.web.js +117 -0
  68. package/dist/cameraTarget.d.ts +14 -0
  69. package/dist/cameraTarget.js +8 -0
  70. package/dist/chromeLift.d.ts +15 -0
  71. package/dist/chromeLift.js +15 -0
  72. package/dist/clusters.d.ts +57 -0
  73. package/dist/clusters.js +102 -0
  74. package/dist/commands.web.d.ts +16 -0
  75. package/dist/commands.web.js +158 -0
  76. package/dist/compactCredit.d.ts +52 -0
  77. package/dist/compactCredit.js +40 -0
  78. package/dist/creditHeight.d.ts +3 -0
  79. package/dist/creditHeight.js +12 -0
  80. package/dist/creditLabels.d.ts +30 -0
  81. package/dist/creditLabels.js +30 -0
  82. package/dist/creditRise.d.ts +28 -0
  83. package/dist/creditRise.js +33 -0
  84. package/dist/dragAxes.web.d.ts +65 -0
  85. package/dist/dragAxes.web.js +70 -0
  86. package/dist/engineContext.web.d.ts +13 -0
  87. package/dist/engineContext.web.js +12 -0
  88. package/dist/index.d.ts +12 -0
  89. package/dist/index.js +12 -0
  90. package/dist/index.web.d.ts +13 -0
  91. package/dist/index.web.js +13 -0
  92. package/dist/labels.d.ts +202 -0
  93. package/dist/labels.js +451 -0
  94. package/dist/loadedCamera.d.ts +64 -0
  95. package/dist/loadedCamera.js +56 -0
  96. package/dist/locationStore.d.ts +16 -0
  97. package/dist/locationStore.js +132 -0
  98. package/dist/mapRef.d.ts +4 -0
  99. package/dist/mapRef.js +13 -0
  100. package/dist/moveMarkers.d.ts +27 -0
  101. package/dist/moveMarkers.js +22 -0
  102. package/dist/nativeCameraReports.d.ts +44 -0
  103. package/dist/nativeCameraReports.js +73 -0
  104. package/dist/plugin.d.ts +63 -0
  105. package/dist/plugin.js +2 -0
  106. package/dist/queryLayers.d.ts +19 -0
  107. package/dist/queryLayers.js +54 -0
  108. package/dist/shared-exports.d.ts +17 -0
  109. package/dist/shared-exports.js +13 -0
  110. package/dist/shared.d.ts +170 -0
  111. package/dist/shared.js +337 -0
  112. package/dist/sourceContext.d.ts +2 -0
  113. package/dist/sourceContext.js +9 -0
  114. package/dist/styleUrl.d.ts +19 -0
  115. package/dist/styleUrl.js +22 -0
  116. package/dist/testing.d.ts +41 -0
  117. package/dist/testing.js +80 -0
  118. package/dist/types.d.ts +348 -0
  119. package/dist/types.js +1 -0
  120. package/dist/useMarkerSlots.d.ts +6 -0
  121. package/dist/useMarkerSlots.js +56 -0
  122. package/dist/useUserLocation.d.ts +44 -0
  123. package/dist/useUserLocation.js +247 -0
  124. package/dist/zoom.d.ts +2 -0
  125. package/dist/zoom.js +10 -0
  126. package/metro.cjs +70 -0
  127. package/package.json +115 -4
package/CHANGELOG.md ADDED
@@ -0,0 +1,36 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@goway.to/maps`. Semantic versioning with the 0.x rule:
4
+ while the major version is 0, a MINOR release may break the API.
5
+
6
+ ## 0.1.1
7
+
8
+ - A `MapView` given a `height` keeps it. The root was `flex: 1`, a zero flex
9
+ basis on both platforms, which overrode the caller's height: a map inside a
10
+ scroll view (an address picker in a form) rendered 0 tall. It now grows from
11
+ its own size, so it still fills a bounded parent when given no size.
12
+ - The GoWay mark has an accessible name on the web. `react-native-svg` hands
13
+ its props to the DOM `<svg>` unchanged, so the logo's React Native
14
+ accessibility props landed there as unknown attributes — no name in a
15
+ browser, and a React warning about `accessible` on every map. The web now
16
+ gets `role="img"` and `aria-label`; iOS and Android are unchanged.
17
+
18
+ ## 0.1.0
19
+
20
+ The first release: GoWay's map as an SDK, with GoWay's own app as its first
21
+ consumer.
22
+
23
+ - `MapView` on MapLibre GL JS (web) and MapLibre Native (iOS, Android), in GoWay
24
+ styles named `goway://styles/<id>` that follow the Bloom theme's light;
25
+ `initialViewState`, a `camera` target applied by value, `projection`,
26
+ `light`, `interaction`, `credits`, and `onPress` (with the basemap label
27
+ under it), `onCameraChanged` (with who moved the camera), `onLabelsChange`,
28
+ `onReady`, `onError`. The GoWay mark and the data credit on every map.
29
+ - `Markers` — Bloom's price pill and cluster bubble, clustered with Mapbox's
30
+ source options; `selectedId`, visited state, `renderMarker`.
31
+ - `GeoJSONSource`, `RasterDEMSource`, `Layer` — sources and layers by props.
32
+ - `UserLocation` and `useUserLocation()` — Bloom's location puck, never a
33
+ prompt on mount.
34
+ - `MapPlugin` — attach an engine plugin (web) through props.
35
+ - `useMap()`; `@goway.to/maps/plugin`, `/testing`, `/brand`, `/metro` and the
36
+ Expo config plugin.