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

@tamagui/focus-scope

Package Overview
Dependencies
Maintainers
1
Versions
1065
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/focus-scope - npm Package Compare versions

Comparing version 1.109.8 to 1.109.9

4

dist/cjs/FocusScope.js

@@ -29,3 +29,3 @@ var __create = Object.create;

module.exports = __toCommonJS(FocusScope_exports);
var import_compose_refs = require("@tamagui/compose-refs"), import_use_event = require("@tamagui/use-event"), React = __toESM(require("react")), import_jsx_runtime = require("react/jsx-runtime");
var import_compose_refs = require("@tamagui/compose-refs"), import_use_event = require("@tamagui/use-event"), import_start_transition = require("@tamagui/start-transition"), React = __toESM(require("react")), import_jsx_runtime = require("react/jsx-runtime");
const AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount", AUTOFOCUS_ON_UNMOUNT = "focusScope.autoFocusOnUnmount", EVENT_OPTIONS = { bubbles: !1, cancelable: !0 }, FocusScope = React.forwardRef(

@@ -48,3 +48,3 @@ function(props, forwardedRef) {

} = props, [container, setContainer] = React.useState(null), onMountAutoFocus = (0, import_use_event.useEvent)(onMountAutoFocusProp), onUnmountAutoFocus = (0, import_use_event.useEvent)(onUnmountAutoFocusProp), lastFocusedElementRef = React.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, (node) => {
React.startTransition(() => {
(0, import_start_transition.startTransition)(() => {
setContainer(node);

@@ -51,0 +51,0 @@ });

import { useComposedRefs } from "@tamagui/compose-refs";
import { useEvent } from "@tamagui/use-event";
import { startTransition } from "@tamagui/start-transition";
import * as React from "react";

@@ -22,3 +23,3 @@ import { Fragment, jsx } from "react/jsx-runtime";

} = props, [container, setContainer] = React.useState(null), onMountAutoFocus = useEvent(onMountAutoFocusProp), onUnmountAutoFocus = useEvent(onUnmountAutoFocusProp), lastFocusedElementRef = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, (node) => {
React.startTransition(() => {
startTransition(() => {
setContainer(node);

@@ -25,0 +26,0 @@ });

import { useComposedRefs } from "@tamagui/compose-refs";
import { useEvent } from "@tamagui/use-event";
import { startTransition } from "@tamagui/start-transition";
import * as React from "react";

@@ -22,3 +23,3 @@ import { Fragment, jsx } from "react/jsx-runtime";

} = props, [container, setContainer] = React.useState(null), onMountAutoFocus = useEvent(onMountAutoFocusProp), onUnmountAutoFocus = useEvent(onUnmountAutoFocusProp), lastFocusedElementRef = React.useRef(null), composedRefs = useComposedRefs(forwardedRef, (node) => {
React.startTransition(() => {
startTransition(() => {
setContainer(node);

@@ -25,0 +26,0 @@ });

{
"name": "@tamagui/focus-scope",
"version": "1.109.8",
"version": "1.109.9",
"sideEffects": true,

@@ -34,7 +34,8 @@ "source": "src/index.ts",

"dependencies": {
"@tamagui/compose-refs": "1.109.8",
"@tamagui/use-event": "1.109.8"
"@tamagui/compose-refs": "1.109.9",
"@tamagui/start-transition": "1.109.9",
"@tamagui/use-event": "1.109.9"
},
"devDependencies": {
"@tamagui/build": "1.109.8",
"@tamagui/build": "1.109.9",
"react": "^18.2.0 || ^19.0.0"

@@ -41,0 +42,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

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