etudes 23.4.0 → 23.4.2
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/build/etudes.js +3 -3
- package/build/etudes.umd.cjs +6 -6
- package/package.json +1 -1
package/build/etudes.js
CHANGED
|
@@ -4428,9 +4428,9 @@ process.env.NODE_ENV === "development" && (wa.displayName = "WithTooltip");
|
|
|
4428
4428
|
function Fl(e, { element: r, isEnabled: i = !0 } = {}) {
|
|
4429
4429
|
Ae(() => {
|
|
4430
4430
|
if (!i) return;
|
|
4431
|
-
const a = r ?? window.document.documentElement, c = a.
|
|
4432
|
-
return a.classList.add(e), () => {
|
|
4433
|
-
a.
|
|
4431
|
+
const a = r ?? window.document.documentElement, c = a.classList.contains(e);
|
|
4432
|
+
return c || a.classList.add(e), () => {
|
|
4433
|
+
c || a.classList.remove(e);
|
|
4434
4434
|
};
|
|
4435
4435
|
}, [e, r, i]);
|
|
4436
4436
|
}
|