@spaziodati/atoka-design-system 10.9.0 → 10.10.0

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/Map/MapUtils.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const MAP_ATTRIBUTION: string, MAP_TILE_URL: string;
1
+ declare const MAP_ATTRIBUTION: string, MAP_TILE_URL = "https://atoka.io/maps/styles/light/512/{z}/{x}/{y}.png";
2
2
  export { MAP_ATTRIBUTION, MAP_TILE_URL };
package/Map/index.js CHANGED
@@ -390,7 +390,7 @@ const MapPopup = React__default.memo(({ ...props }) => {
390
390
  return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className, children: props.children });
391
391
  });
392
392
  MapPopup.displayName = "MapPopup";
393
- const MAP_ATTRIBUTION = '© <a href="https://www.mapbox.com/about/maps/">Mapbox</a> © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a> <strong><a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a></strong>', mapboxStyle = "mapbox/light-v10", mapboxAccessToken = "pk.eyJ1Ijoic2RhdG9rYSIsImEiOiJjbWtvOWphZm4wM2lkM3BzOXozZmpkYmN6In0.alt4pxr63sGTh0t8xtGpOw", MAP_TILE_URL = "https://api.mapbox.com/styles/v1/" + mapboxStyle + "/tiles/{z}/{x}/{y}?access_token=" + mapboxAccessToken;
393
+ const MAP_ATTRIBUTION = '© <a href="https://openmaptiles.org/">OpenMapTiles</a> © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', MAP_TILE_URL = "https://atoka.io/maps/styles/light/512/{z}/{x}/{y}.png";
394
394
  class MapChoropleth extends React__default.Component {
395
395
  static displayName = "MapChoropleth";
396
396
  static defaultProps = {