utopia-ui 3.0.87 → 3.0.88
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.cjs +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -1406,8 +1406,6 @@ const createSvg = (shape, markerColor, borderColor) => {
|
|
1406
1406
|
return svgMap[shape];
|
1407
1407
|
};
|
1408
1408
|
const MarkerIconFactory = (shape, color1, color2, icon, assetsURL) => {
|
1409
|
-
console.log(icon);
|
1410
|
-
console.log(assetsURL);
|
1411
1409
|
if (icon)
|
1412
1410
|
return leaflet.divIcon({
|
1413
1411
|
html: `<div class="svg-container">${createSvg(shape, color1, color2)}<img class="overlay-svg" style="width: ${icon.size ? icon.size : '12.5'}px; filter: invert(1) brightness(2);" src="${`${assetsURL ?? ''}` + icon.image}"></div>`,
|
@@ -2517,7 +2515,7 @@ const SearchControl = () => {
|
|
2517
2515
|
else {
|
2518
2516
|
navigate('item/' + item.id + '?' + new URLSearchParams(window.location.search));
|
2519
2517
|
}
|
2520
|
-
}, children: [item.layer?.menuIcon ? (jsxRuntime.jsx(SVG, { src: item.layer.menuIcon, className: 'tw:text-current tw:mr-2 tw:mt-0 tw:w-5', preProcessor: (code) => {
|
2518
|
+
}, children: [item.layer?.menuIcon ? (jsxRuntime.jsx(SVG, { src: item.layer.menuIcon, className: 'tw:text-current tw:mr-2 tw:mt-0 tw:w-5 tw:h-5', preProcessor: (code) => {
|
2521
2519
|
code = code.replace(/fill=".*?"/g, 'fill="currentColor"');
|
2522
2520
|
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"');
|
2523
2521
|
return code;
|