@yamada-ui/close-button
Advanced tools
Comparing version 1.0.51-dev-20241214144625 to 1.0.51-dev-20241215203956
@@ -35,8 +35,8 @@ "use client" | ||
const [styles, mergedProps] = (0, import_core.useComponentStyle)("CloseButton", props); | ||
let { | ||
const { | ||
className, | ||
children, | ||
disabled, | ||
isDisabled, | ||
disabled = isDisabled, | ||
disableRipple, | ||
isDisabled, | ||
isRounded, | ||
@@ -46,6 +46,5 @@ __css, | ||
} = (0, import_core.omitThemeProps)(mergedProps); | ||
disabled != null ? disabled : disabled = isDisabled; | ||
const { onPointerDown, ...rippleProps } = (0, import_ripple.useRipple)({ | ||
...rest, | ||
isDisabled: disableRipple || disabled | ||
disabled: disableRipple || disabled | ||
}); | ||
@@ -52,0 +51,0 @@ const css = { |
@@ -37,8 +37,8 @@ "use client" | ||
const [styles, mergedProps] = (0, import_core.useComponentStyle)("CloseButton", props); | ||
let { | ||
const { | ||
className, | ||
children, | ||
disabled, | ||
isDisabled, | ||
disabled = isDisabled, | ||
disableRipple, | ||
isDisabled, | ||
isRounded, | ||
@@ -48,6 +48,5 @@ __css, | ||
} = (0, import_core.omitThemeProps)(mergedProps); | ||
disabled != null ? disabled : disabled = isDisabled; | ||
const { onPointerDown, ...rippleProps } = (0, import_ripple.useRipple)({ | ||
...rest, | ||
isDisabled: disableRipple || disabled | ||
disabled: disableRipple || disabled | ||
}); | ||
@@ -54,0 +53,0 @@ const css = { |
{ | ||
"name": "@yamada-ui/close-button", | ||
"version": "1.0.51-dev-20241214144625", | ||
"version": "1.0.51-dev-20241215203956", | ||
"description": "Yamada UI close button component", | ||
@@ -39,6 +39,6 @@ "keywords": [ | ||
"dependencies": { | ||
"@yamada-ui/core": "1.16.2-dev-20241214144625", | ||
"@yamada-ui/icon": "1.1.17-dev-20241214144625", | ||
"@yamada-ui/ripple": "1.0.48-dev-20241214144625", | ||
"@yamada-ui/utils": "1.6.2-dev-20241214144625" | ||
"@yamada-ui/core": "1.16.2-dev-20241215203956", | ||
"@yamada-ui/icon": "1.1.17-dev-20241215203956", | ||
"@yamada-ui/ripple": "1.0.48-dev-20241215203956", | ||
"@yamada-ui/utils": "1.6.2-dev-20241215203956" | ||
}, | ||
@@ -45,0 +45,0 @@ "devDependencies": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24456
289
+ Added@yamada-ui/core@1.16.2-dev-20241215203956(transitive)
+ Added@yamada-ui/icon@1.1.17-dev-20241215203956(transitive)
+ Added@yamada-ui/motion@2.2.12-dev-20241215203956(transitive)
+ Added@yamada-ui/portal@1.0.27-dev-20241215203956(transitive)
+ Added@yamada-ui/ripple@1.0.48-dev-20241215203956(transitive)
+ Added@yamada-ui/use-token@1.1.34-dev-20241215203956(transitive)
+ Added@yamada-ui/utils@1.6.2-dev-20241215203956(transitive)
- Removed@yamada-ui/core@1.16.2-dev-20241214144625(transitive)
- Removed@yamada-ui/icon@1.1.17-dev-20241214144625(transitive)
- Removed@yamada-ui/motion@2.2.12-dev-20241214144625(transitive)
- Removed@yamada-ui/portal@1.0.27-dev-20241214144625(transitive)
- Removed@yamada-ui/ripple@1.0.48-dev-20241214144625(transitive)
- Removed@yamada-ui/use-token@1.1.34-dev-20241214144625(transitive)
- Removed@yamada-ui/utils@1.6.2-dev-20241214144625(transitive)