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

@react-aria/dialog

Package Overview
Dependencies
Maintainers
2
Versions
784
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/dialog - npm Package Compare versions

Comparing version 3.5.14 to 3.5.15

5

dist/types.d.ts
import { AriaDialogProps } from "@react-types/dialog";
import { DOMAttributes, FocusableElement } from "@react-types/shared";
import { RefObject } from "react";
import { DOMAttributes, FocusableElement, RefObject } from "@react-types/shared";
export interface DialogAria {

@@ -14,5 +13,5 @@ /** Props for the dialog container element. */

*/
export function useDialog(props: AriaDialogProps, ref: RefObject<FocusableElement>): DialogAria;
export function useDialog(props: AriaDialogProps, ref: RefObject<FocusableElement | null>): DialogAria;
export type { AriaDialogProps } from '@react-types/dialog';
//# sourceMappingURL=types.d.ts.map

18

package.json
{
"name": "@react-aria/dialog",
"version": "3.5.14",
"version": "3.5.15",
"description": "Spectrum UI components in React",

@@ -25,11 +25,11 @@ "license": "Apache-2.0",

"peerDependencies": {
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0",
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
},
"dependencies": {
"@react-aria/focus": "^3.17.1",
"@react-aria/overlays": "^3.22.1",
"@react-aria/utils": "^3.24.1",
"@react-types/dialog": "^3.5.10",
"@react-types/shared": "^3.23.1",
"@react-aria/focus": "^3.18.0",
"@react-aria/overlays": "^3.23.0",
"@react-aria/utils": "^3.25.0",
"@react-types/dialog": "^3.5.11",
"@react-types/shared": "^3.24.0",
"@swc/helpers": "^0.5.0"

@@ -40,3 +40,3 @@ },

},
"gitHead": "b77d7d594dff4dcfb5359bffbcfd18142b146433"
"gitHead": "86d80e3216bc32e75108831cf3a5a720bc849206"
}

@@ -14,6 +14,6 @@ /*

import {AriaDialogProps} from '@react-types/dialog';
import {DOMAttributes, FocusableElement} from '@react-types/shared';
import {DOMAttributes, FocusableElement, RefObject} from '@react-types/shared';
import {filterDOMProps, useSlotId} from '@react-aria/utils';
import {focusSafely} from '@react-aria/focus';
import {RefObject, useEffect, useRef} from 'react';
import {useEffect, useRef} from 'react';
import {useOverlayFocusContain} from '@react-aria/overlays';

@@ -33,3 +33,3 @@

*/
export function useDialog(props: AriaDialogProps, ref: RefObject<FocusableElement>): DialogAria {
export function useDialog(props: AriaDialogProps, ref: RefObject<FocusableElement | null>): DialogAria {
let {role = 'dialog'} = props;

@@ -36,0 +36,0 @@ let titleId: string | undefined = useSlotId();

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

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