@react-aria/landmark
Advanced tools
Comparing version 3.0.0-nightly.3611 to 3.0.0-nightly.3617
@@ -1,2 +0,2 @@ | ||
require("@swc/helpers/lib/_define_property.js"); | ||
var $8Ore6$swchelperslib_define_propertyjs = require("@swc/helpers/lib/_define_property.js"); | ||
var $8Ore6$react = require("react"); | ||
@@ -8,2 +8,5 @@ var $8Ore6$reactariautils = require("@react-aria/utils"); | ||
} | ||
function $parcel$interopDefault(a) { | ||
return a && a.__esModule ? a.default : a; | ||
} | ||
@@ -64,4 +67,4 @@ $parcel$export(module.exports, "useLandmark", () => $202c109aedff6705$export$4cc632584fd87fae); | ||
focusLandmark(landmark) { | ||
var ref; | ||
(ref = this.landmarks.find((l)=>l.ref.current === landmark)) === null || ref === void 0 ? void 0 : ref.focus(); | ||
var _this_landmarks_find; | ||
(_this_landmarks_find = this.landmarks.find((l)=>l.ref.current === landmark)) === null || _this_landmarks_find === void 0 ? void 0 : _this_landmarks_find.focus(); | ||
} | ||
@@ -227,4 +230,4 @@ /** | ||
constructor(){ | ||
(0, $202c109aedff6705$import$d76420afe0f7f8c4$2e2bcd8739ae039)(this, "landmarks", []); | ||
(0, $202c109aedff6705$import$d76420afe0f7f8c4$2e2bcd8739ae039)(this, "isListening", false); | ||
(0, ($parcel$interopDefault($8Ore6$swchelperslib_define_propertyjs)))(this, "landmarks", []); | ||
(0, ($parcel$interopDefault($8Ore6$swchelperslib_define_propertyjs)))(this, "isListening", false); | ||
this.f6Handler = this.f6Handler.bind(this); | ||
@@ -231,0 +234,0 @@ this.focusinHandler = this.focusinHandler.bind(this); |
@@ -58,4 +58,4 @@ import $TvsbU$swchelperssrc_define_propertymjs from "@swc/helpers/src/_define_property.mjs"; | ||
focusLandmark(landmark) { | ||
var ref; | ||
(ref = this.landmarks.find((l)=>l.ref.current === landmark)) === null || ref === void 0 ? void 0 : ref.focus(); | ||
var _this_landmarks_find; | ||
(_this_landmarks_find = this.landmarks.find((l)=>l.ref.current === landmark)) === null || _this_landmarks_find === void 0 ? void 0 : _this_landmarks_find.focus(); | ||
} | ||
@@ -62,0 +62,0 @@ /** |
{ | ||
"name": "@react-aria/landmark", | ||
"version": "3.0.0-nightly.3611+e6808d1b5", | ||
"version": "3.0.0-nightly.3617+6b51339cc", | ||
"description": "Spectrum UI components in React", | ||
@@ -20,5 +20,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "3.0.0-nightly.1911+e6808d1b5", | ||
"@react-aria/utils": "3.0.0-nightly.1911+e6808d1b5", | ||
"@react-types/shared": "3.0.0-nightly.1911+e6808d1b5", | ||
"@react-aria/focus": "3.0.0-nightly.1917+6b51339cc", | ||
"@react-aria/utils": "3.0.0-nightly.1917+6b51339cc", | ||
"@react-types/shared": "3.0.0-nightly.1917+6b51339cc", | ||
"@swc/helpers": "^0.4.14" | ||
@@ -32,3 +32,3 @@ }, | ||
}, | ||
"gitHead": "e6808d1b5e80cef7af7e63974f658043593b2e1e" | ||
"gitHead": "6b51339cca0b8344507d3c8e81e7ad05d6e75f9b" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
91107
886