@react-aria/focus
Advanced tools
Comparing version 3.0.0-nightly-ab9fd5c68-241126 to 3.0.0-nightly-b0f156972-241128
@@ -130,3 +130,6 @@ import { FocusableElement, RefObject, DOMAttributes, FocusableDOMProps, FocusableProps } from "@react-types/shared"; | ||
} | ||
export let FocusableProvider: React.ForwardRefExoticComponent<FocusableProviderProps & React.RefAttributes<FocusableElement>>; | ||
/** | ||
* Provides DOM props to the nearest focusable child. | ||
*/ | ||
export const FocusableProvider: React.ForwardRefExoticComponent<FocusableProviderProps & React.RefAttributes<FocusableElement>>; | ||
export interface FocusableAria { | ||
@@ -133,0 +136,0 @@ /** Props for the focusable element. */ |
@@ -39,5 +39,3 @@ var $1c7f9157d722357d$exports = require("./focusSafely.main.js"); | ||
} | ||
/** | ||
* Provides DOM props to the nearest focusable child. | ||
*/ function $fb504d83237fd6ac$var$FocusableProvider(props, ref) { | ||
const $fb504d83237fd6ac$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, ($parcel$interopDefault($ggOO2$react))).forwardRef(function FocusableProvider(props, ref) { | ||
let { children: children, ...otherProps } = props; | ||
@@ -52,4 +50,3 @@ let objRef = (0, $ggOO2$reactariautils.useObjectRef)(ref); | ||
}, children); | ||
} | ||
let $fb504d83237fd6ac$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, ($parcel$interopDefault($ggOO2$react))).forwardRef($fb504d83237fd6ac$var$FocusableProvider); | ||
}); | ||
function $fb504d83237fd6ac$export$4c014de7c8940b4c(props, domRef) { | ||
@@ -56,0 +53,0 @@ let { focusProps: focusProps } = (0, $ggOO2$reactariainteractions.useFocus)(props); |
@@ -28,5 +28,3 @@ import {focusSafely as $6a99195332edec8b$export$80f3e147d781571c} from "./focusSafely.module.js"; | ||
} | ||
/** | ||
* Provides DOM props to the nearest focusable child. | ||
*/ function $e6afbd83fe6ebbd2$var$FocusableProvider(props, ref) { | ||
const $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, $h8xso$react).forwardRef(function FocusableProvider(props, ref) { | ||
let { children: children, ...otherProps } = props; | ||
@@ -41,4 +39,3 @@ let objRef = (0, $h8xso$useObjectRef)(ref); | ||
}, children); | ||
} | ||
let $e6afbd83fe6ebbd2$export$13f3202a3e5ddd5 = /*#__PURE__*/ (0, $h8xso$react).forwardRef($e6afbd83fe6ebbd2$var$FocusableProvider); | ||
}); | ||
function $e6afbd83fe6ebbd2$export$4c014de7c8940b4c(props, domRef) { | ||
@@ -45,0 +42,0 @@ let { focusProps: focusProps } = (0, $h8xso$useFocus)(props); |
{ | ||
"name": "@react-aria/focus", | ||
"version": "3.0.0-nightly-ab9fd5c68-241126", | ||
"version": "3.0.0-nightly-b0f156972-241128", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,5 +25,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/interactions": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/utils": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-types/shared": "^3.0.0-nightly-ab9fd5c68-241126", | ||
"@react-aria/interactions": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-aria/utils": "^3.0.0-nightly-b0f156972-241128", | ||
"@react-types/shared": "^3.0.0-nightly-b0f156972-241128", | ||
"@swc/helpers": "^0.5.0", | ||
@@ -30,0 +30,0 @@ "clsx": "^2.0.0" |
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
Sorry, the diff of this file is not supported yet
383087
4419