@fluix-ui/vanilla 0.0.7 → 0.0.8

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 CHANGED
@@ -1288,7 +1288,7 @@ function createMenu(container, options) {
1288
1288
  applyAttrs3(indicatorEl, attrs.indicator);
1289
1289
  indicatorEl.setAttribute("d", "");
1290
1290
  indicatorEl.setAttribute("opacity", "0");
1291
- indicatorEl.setAttribute("fill", fill ?? "var(--fluix-menu-indicator)");
1291
+ indicatorEl.style.fill = fill ?? "var(--fluix-menu-indicator)";
1292
1292
  svg.appendChild(indicatorEl);
1293
1293
  } else {
1294
1294
  const defs = document.createElementNS(SVG_NS3, "defs");
@@ -1328,7 +1328,7 @@ function createMenu(container, options) {
1328
1328
  indicatorEl.setAttribute("rx", "0");
1329
1329
  indicatorEl.setAttribute("ry", "0");
1330
1330
  indicatorEl.setAttribute("opacity", "0");
1331
- indicatorEl.setAttribute("fill", fill ?? "var(--fluix-menu-indicator)");
1331
+ indicatorEl.style.fill = fill ?? "var(--fluix-menu-indicator)";
1332
1332
  gGroup.appendChild(indicatorEl);
1333
1333
  svg.appendChild(gGroup);
1334
1334
  }