@yamada-ui/utils
Advanced tools
Comparing version 1.0.1 to 1.0.2-dev-20240114164908
@@ -80,3 +80,3 @@ "use strict"; | ||
}; | ||
var isDisabled = (el) => Boolean(el.getAttribute("disabled")) === true || Boolean(el.getAttribute("aria-disabled")) === true; | ||
var isDisabled = (el) => Boolean(el.getAttribute("disabled")) === true || Boolean(el.getAttribute("data-disabled")) === true || Boolean(el.getAttribute("aria-disabled")) === true; | ||
var isVisible = (el) => el.offsetWidth > 0 && el.offsetHeight > 0; | ||
@@ -83,0 +83,0 @@ var hasTabIndex = (el) => el.hasAttribute("tabindex"); |
@@ -508,3 +508,3 @@ "use strict"; | ||
}; | ||
var isDisabled = (el) => Boolean(el.getAttribute("disabled")) === true || Boolean(el.getAttribute("aria-disabled")) === true; | ||
var isDisabled = (el) => Boolean(el.getAttribute("disabled")) === true || Boolean(el.getAttribute("data-disabled")) === true || Boolean(el.getAttribute("aria-disabled")) === true; | ||
var isVisible = (el) => el.offsetWidth > 0 && el.offsetHeight > 0; | ||
@@ -511,0 +511,0 @@ var hasTabIndex = (el) => el.hasAttribute("tabindex"); |
{ | ||
"name": "@yamada-ui/utils", | ||
"version": "1.0.1", | ||
"version": "1.0.2-dev-20240114164908", | ||
"description": "Yamada UI utils", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
325994
1