@lax-wp/design-system 0.11.40 → 0.11.41

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.es.js CHANGED
@@ -3882,26 +3882,24 @@ const AR = (t, e, r, n = "medium") => {
3882
3882
  "aria-describedby": P || D ? `${r}-description` : void 0
3883
3883
  }
3884
3884
  ),
3885
- /* @__PURE__ */ A(
3886
- Re,
3885
+ /* @__PURE__ */ A("div", { className: AR(e, c, te, F), children: c ? /* @__PURE__ */ A("div", { className: "flex items-center justify-center h-full w-full", children: /* @__PURE__ */ A(
3886
+ "div",
3887
3887
  {
3888
- placement: "top",
3889
- title: j ?? "",
3890
- hideTooltip: !j,
3891
- children: /* @__PURE__ */ A("div", { className: AR(e, c, te, F), children: c ? /* @__PURE__ */ A("div", { className: "flex items-center justify-center h-full w-full", children: /* @__PURE__ */ A(
3892
- "div",
3893
- {
3894
- className: U(
3895
- "z-10 transition-all transform",
3896
- F === "small" && (e ? "translate-x-2" : "translate-x-[-6px]"),
3897
- F === "medium" && (e ? "translate-x-[8.5px]" : "translate-x-[-8px]"),
3898
- F === "large" && (e ? "translate-x-2.5" : "translate-x-[-10px]")
3899
- ),
3900
- children: e ? S?.checkedIcon ? S.checkedIcon : /* @__PURE__ */ A(uR, { size: 18, fill: "#016DCF" }) : S?.uncheckedIcon ? S.uncheckedIcon : /* @__PURE__ */ A(cR, { size: 18, fill: "#101828" })
3901
- }
3902
- ) }) : null })
3888
+ className: U(
3889
+ "z-10 transition-all transform",
3890
+ F === "small" && (e ? "translate-x-2" : "translate-x-[-6px]"),
3891
+ F === "medium" && (e ? "translate-x-[8.5px]" : "translate-x-[-8px]"),
3892
+ F === "large" && (e ? "translate-x-2.5" : "translate-x-[-10px]")
3893
+ ),
3894
+ children: e ? S?.checkedIcon ? S.checkedIcon : /* @__PURE__ */ A(uR, { size: 18, fill: "#016DCF" }) : S?.uncheckedIcon ? S.uncheckedIcon : /* @__PURE__ */ A(cR, { size: 18, fill: "#101828" })
3903
3895
  }
3904
- ),
3896
+ ) }) : null }),
3897
+ j && /* @__PURE__ */ A(Re, { placement: "top", title: j, className: "-ml-2", children: /* @__PURE__ */ A("span", { className: U(
3898
+ "absolute inset-y-0 left-0",
3899
+ F === "small" && "w-7",
3900
+ F === "medium" && "w-9",
3901
+ F === "large" && "w-11"
3902
+ ) }) }),
3905
3903
  ie && /* @__PURE__ */ A(
3906
3904
  oe,
3907
3905
  {