@react-aria/focus
Advanced tools
Comparing version 3.0.0-nightly-ab9fd5c68-241126 to 3.0.0-nightly-adae13c78-241218
@@ -229,3 +229,3 @@ var $1c7f9157d722357d$exports = require("./focusSafely.main.js"); | ||
'video[controls]', | ||
'[contenteditable]' | ||
'[contenteditable]:not([contenteditable^="false"])' | ||
]; | ||
@@ -232,0 +232,0 @@ const $a7a032acae3ddda9$var$FOCUSABLE_ELEMENT_SELECTOR = $a7a032acae3ddda9$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])'; |
@@ -214,3 +214,3 @@ import {focusSafely as $6a99195332edec8b$export$80f3e147d781571c} from "./focusSafely.module.js"; | ||
'video[controls]', | ||
'[contenteditable]' | ||
'[contenteditable]:not([contenteditable^="false"])' | ||
]; | ||
@@ -217,0 +217,0 @@ const $9bf71ea28793e738$var$FOCUSABLE_ELEMENT_SELECTOR = $9bf71ea28793e738$var$focusableElements.join(':not([hidden]),') + ',[tabindex]:not([disabled]):not([hidden])'; |
@@ -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-adae13c78-241218", | ||
"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-adae13c78-241218", | ||
"@react-aria/utils": "3.0.0-nightly-adae13c78-241218", | ||
"@react-types/shared": "3.0.0-nightly-adae13c78-241218", | ||
"@swc/helpers": "^0.5.0", | ||
@@ -37,4 +37,3 @@ "clsx": "^2.0.0" | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.19.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
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
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
383251
4419
+ Added@react-aria/interactions@3.0.0-nightly-adae13c78-241218(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-adae13c78-241218(transitive)
+ Added@react-aria/utils@3.0.0-nightly-adae13c78-241218(transitive)
+ Added@react-stately/utils@3.0.0-nightly-adae13c78-241218(transitive)
+ Added@react-types/shared@3.0.0-nightly-adae13c78-241218(transitive)
- Removed@react-aria/interactions@3.22.5(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/utils@3.26.0(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/shared@3.26.0(transitive)
Updated@react-aria/interactions@3.0.0-nightly-adae13c78-241218