Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextui-org/use-aria-button

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextui-org/use-aria-button - npm Package Compare versions

Comparing version 0.0.0-dev-v2-20230719131057 to 0.0.0-dev-v2-20230723192723

10

dist/index.d.ts

@@ -1,5 +0,9 @@

import { RefObject, ButtonHTMLAttributes, AnchorHTMLAttributes, HTMLAttributes, InputHTMLAttributes, ElementType } from 'react';
import { AriaButtonProps } from '@react-types/button';
import { ElementType, RefObject, ButtonHTMLAttributes, AnchorHTMLAttributes, HTMLAttributes, InputHTMLAttributes } from 'react';
import { AriaButtonProps as AriaButtonProps$1 } from '@react-types/button';
import { DOMAttributes } from '@react-types/shared';
type AriaButtonProps<T extends ElementType = "button"> = AriaButtonProps$1<T> & {
/** Whether text selection should be enabled on the pressable element. */
allowTextSelectionOnPress?: boolean;
};
interface ButtonAria<T> {

@@ -18,2 +22,2 @@ /** Props for the button element. */

export { ButtonAria, useAriaButton };
export { AriaButtonProps, ButtonAria, useAriaButton };

@@ -43,3 +43,4 @@ "use strict";

rel,
type = "button"
type = "button",
allowTextSelectionOnPress
} = props;

@@ -71,2 +72,3 @@ let additionalProps;

preventFocusOnPress,
allowTextSelectionOnPress,
ref

@@ -73,0 +75,0 @@ });

{
"name": "@nextui-org/use-aria-button",
"version": "0.0.0-dev-v2-20230719131057",
"version": "0.0.0-dev-v2-20230723192723",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc