utopia-ui 3.0.0-alpha.54 → 3.0.0-alpha.55
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/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2240,7 +2240,8 @@ var SearchControl = function (_a) {
|
|
2240
2240
|
var resetFilterTags = useResetFilterTags();
|
2241
2241
|
var filterTags = useFilterTags();
|
2242
2242
|
useMapEvents({
|
2243
|
-
popupopen: function () {
|
2243
|
+
popupopen: function (e) {
|
2244
|
+
console.log(e);
|
2244
2245
|
setPopupOpen(true);
|
2245
2246
|
},
|
2246
2247
|
popupclose: function () {
|
@@ -2335,6 +2336,7 @@ var SearchControl = function (_a) {
|
|
2335
2336
|
map.fitBounds(new LatLngBounds(new LatLng(geo.properties.extent[1], geo.properties.extent[0]), new LatLng(geo.properties.extent[3], geo.properties.extent[2])));
|
2336
2337
|
else
|
2337
2338
|
map.setView(new LatLng(geo.geometry.coordinates[1], geo.geometry.coordinates[0]), 15, { duration: 1 });
|
2339
|
+
hide();
|
2338
2340
|
} },
|
2339
2341
|
React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", strokeWidth: "1.5", stroke: "currentColor", className: "tw-text-current tw-mr-2 tw-mt-0 tw-w-4" },
|
2340
2342
|
React.createElement("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" })),
|