This commit is contained in:
morgan
2026-03-13 19:23:37 +03:00
parent 8917f1631f
commit cc7403191a
5113 changed files with 168404 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import { isObject } from 'motion-utils';
/**
* Checks if an element is an SVG element in a way
* that works across iframes
*/
function isSVGElement(element) {
return isObject(element) && "ownerSVGElement" in element;
}
export { isSVGElement };
//# sourceMappingURL=is-svg-element.mjs.map

View File

@@ -0,0 +1,12 @@
import { isSVGElement } from './is-svg-element.mjs';
/**
* Checks if an element is specifically an SVGSVGElement (the root SVG element)
* in a way that works across iframes
*/
function isSVGSVGElement(element) {
return isSVGElement(element) && element.tagName === "svg";
}
export { isSVGSVGElement };
//# sourceMappingURL=is-svg-svg-element.mjs.map

View File

@@ -0,0 +1,6 @@
function mixImmediate(a, b) {
return (p) => (p > 0 ? b : a);
}
export { mixImmediate };
//# sourceMappingURL=immediate.mjs.map