@heroui/use-aria-button
Advanced tools
Comparing version 0.0.0-canary-20250130123208 to 0.0.0-canary-20250130124029
@@ -22,2 +22,2 @@ import { ElementType, RefObject, ButtonHTMLAttributes, AnchorHTMLAttributes, HTMLAttributes, InputHTMLAttributes } from 'react'; | ||
export { AriaButtonProps, ButtonAria, useAriaButton }; | ||
export { type AriaButtonProps, type ButtonAria, useAriaButton }; |
@@ -21,7 +21,7 @@ "use strict"; | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
var index_exports = {}; | ||
__export(index_exports, { | ||
useAriaButton: () => useAriaButton | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
module.exports = __toCommonJS(index_exports); | ||
var import_shared_utils = require("@heroui/shared-utils"); | ||
@@ -39,4 +39,7 @@ var import_utils = require("@react-aria/utils"); | ||
onPressChange, | ||
// @ts-ignore - undocumented | ||
preventFocusOnPress, | ||
// @ts-ignore - undocumented | ||
allowFocusWhenDisabled, | ||
// @ts-ignore | ||
onClick: deprecatedOnClick, | ||
@@ -101,2 +104,3 @@ href, | ||
isPressed, | ||
// Used to indicate press state for visual | ||
buttonProps: (0, import_utils.mergeProps)(additionalProps, buttonProps, { | ||
@@ -103,0 +107,0 @@ "aria-haspopup": props["aria-haspopup"], |
{ | ||
"name": "@heroui/use-aria-button", | ||
"version": "0.0.0-canary-20250130123208", | ||
"version": "0.0.0-canary-20250130124029", | ||
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
"@react-types/shared": "3.27.0", | ||
"@heroui/shared-utils": "0.0.0-canary-20250130123208" | ||
"@heroui/shared-utils": "0.0.0-canary-20250130124029" | ||
}, | ||
@@ -39,0 +39,0 @@ "clean-package": "../../../clean-package.config.json", |
Sorry, the diff of this file is not supported yet
12937
7
234
+ Added@heroui/shared-utils@0.0.0-canary-20250130124029(transitive)
- Removed@heroui/shared-utils@0.0.0-canary-20250130123208(transitive)