@matthiaskrijgsman/mat-ui 0.0.36 → 0.0.37

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
@@ -862,12 +862,12 @@ const f = (...t) => t.filter(Boolean).join(" "), Hn = [
862
862
  "input",
863
863
  {
864
864
  type: "checkbox",
865
- className: "appearance-none h-6 w-10 rounded-full checked:bg-transparent border toggle-input ring-0 hover:ring-4 focus:ring-4 ring-offset-0 focus:outline-0 transition-all duration-150",
865
+ className: "appearance-none absolute inset-0 h-6 w-10 rounded-full checked:bg-transparent border-0 toggle-input ring-0 hover:ring-4 focus:ring-4 ring-offset-0 focus:outline-0 transition-all duration-150",
866
866
  ...l
867
867
  }
868
868
  ),
869
869
  /* @__PURE__ */ e("div", { className: f(
870
- "rounded-full absolute border inset-0 mt-[2px] pointer-events-none transition-colors duration-150 ",
870
+ "rounded-full absolute border inset-0 pointer-events-none transition-colors duration-150 ",
871
871
  t.checked ? "toggle-track-on" : "toggle-track-off"
872
872
  ), children: /* @__PURE__ */ e("div", { className: f(
873
873
  "absolute top-1/2 -translate-y-1/2 left-1 h-4 w-4 rounded-full toggle-thumb shadow-md transition-all duration-150",