made-refine 0.2.9 → 0.2.10
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.d.mts +15 -7
- package/dist/index.d.ts +15 -7
- package/dist/index.js +1528 -1140
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1532 -1131
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/utils.js +1 -1
- package/dist/utils.js.map +1 -1
- package/dist/utils.mjs +1 -1
- package/dist/utils.mjs.map +1 -1
- package/package.json +1 -1
package/dist/utils.mjs
CHANGED
|
@@ -887,7 +887,7 @@ function colorToTailwind(property, colorValue) {
|
|
|
887
887
|
}
|
|
888
888
|
function getElementInfo(element) {
|
|
889
889
|
const computed = window.getComputedStyle(element);
|
|
890
|
-
const parentElement = element.parentElement;
|
|
890
|
+
const parentElement = element === document.body ? null : element.parentElement;
|
|
891
891
|
const isFlexContainer2 = computed.display === "flex" || computed.display === "inline-flex";
|
|
892
892
|
let isFlexItem = false;
|
|
893
893
|
if (parentElement) {
|