@m3e/core 1.0.3 → 1.0.4

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
@@ -1957,6 +1957,12 @@ function Labelled(base) {
1957
1957
  for (const label of this.labels ?? []) {
1958
1958
  label.style.userSelect = focusable ? "none" : "";
1959
1959
  label.style.cursor = !disabled && focusable ? "pointer" : "";
1960
+ if (!disabled && focusable) {
1961
+ label.style.setProperty("-webkit-tap-highlight-color", "rgba(0, 0, 0, 0)");
1962
+ }
1963
+ else {
1964
+ label.style.removeProperty("-webkit-tap-highlight-color");
1965
+ }
1960
1966
  label.style.color = disabled
1961
1967
  ? `color-mix(in srgb, ${DesignToken.color.onSurface} 38%, transparent)`
1962
1968
  : invalid