@nextui-org/use-aria-button
Advanced tools
Comparing version 2.0.5 to 2.0.6
@@ -28,3 +28,3 @@ "use strict"; | ||
var import_focus = require("@react-aria/focus"); | ||
var import_interactions = require("@react-aria/interactions"); | ||
var import_use_aria_press = require("@nextui-org/use-aria-press"); | ||
function useAriaButton(props, ref) { | ||
@@ -65,3 +65,3 @@ let { | ||
} | ||
let { pressProps, isPressed } = (0, import_interactions.usePress)({ | ||
let { pressProps, isPressed } = (0, import_use_aria_press.usePress)({ | ||
onPressStart, | ||
@@ -93,5 +93,3 @@ onPressEnd, | ||
onClick: (e) => { | ||
if (deprecatedOnClick) { | ||
deprecatedOnClick(e); | ||
} | ||
deprecatedOnClick == null ? void 0 : deprecatedOnClick(e); | ||
} | ||
@@ -98,0 +96,0 @@ }) |
{ | ||
"name": "@nextui-org/use-aria-button", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning", | ||
@@ -31,7 +31,8 @@ "keywords": [ | ||
"dependencies": { | ||
"@react-aria/utils": "^3.20.0", | ||
"@react-aria/focus": "^3.14.1", | ||
"@react-aria/interactions": "^3.18.0", | ||
"@react-types/button": "^3.8.0", | ||
"@react-types/shared": "^3.20.0" | ||
"@react-aria/utils": "^3.21.1", | ||
"@react-aria/focus": "^3.14.3", | ||
"@react-aria/interactions": "^3.19.1", | ||
"@react-types/button": "^3.9.0", | ||
"@react-types/shared": "^3.21.0", | ||
"@nextui-org/use-aria-press": "2.0.1" | ||
}, | ||
@@ -38,0 +39,0 @@ "clean-package": "../../../clean-package.config.json", |
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
9856
7
192
+ Added@nextui-org/use-aria-press@2.0.1(transitive)
Updated@react-aria/focus@^3.14.3
Updated@react-aria/utils@^3.21.1
Updated@react-types/button@^3.9.0
Updated@react-types/shared@^3.21.0