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.esm.js
CHANGED
@@ -1387,8 +1387,6 @@ const createSvg = (shape, markerColor, borderColor) => {
|
|
1387
1387
|
return svgMap[shape];
|
1388
1388
|
};
|
1389
1389
|
const MarkerIconFactory = (shape, color1, color2, icon, assetsURL) => {
|
1390
|
-
console.log(icon);
|
1391
|
-
console.log(assetsURL);
|
1392
1390
|
if (icon)
|
1393
1391
|
return divIcon({
|
1394
1392
|
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>`,
|
@@ -2498,7 +2496,7 @@ const SearchControl = () => {
|
|
2498
2496
|
else {
|
2499
2497
|
navigate('item/' + item.id + '?' + new URLSearchParams(window.location.search));
|
2500
2498
|
}
|
2501
|
-
}, children: [item.layer?.menuIcon ? (jsx(SVG, { src: item.layer.menuIcon, className: 'tw:text-current tw:mr-2 tw:mt-0 tw:w-5', preProcessor: (code) => {
|
2499
|
+
}, children: [item.layer?.menuIcon ? (jsx(SVG, { src: item.layer.menuIcon, className: 'tw:text-current tw:mr-2 tw:mt-0 tw:w-5 tw:h-5', preProcessor: (code) => {
|
2502
2500
|
code = code.replace(/fill=".*?"/g, 'fill="currentColor"');
|
2503
2501
|
code = code.replace(/stroke=".*?"/g, 'stroke="currentColor"');
|
2504
2502
|
return code;
|