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

@fluentui/react-tooltip

Package Overview
Dependencies
Maintainers
12
Versions
979
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-tooltip - npm Package Compare versions

Comparing version 9.4.41 to 9.4.42

3

lib-commonjs/components/Tooltip/useTooltip.js

@@ -145,2 +145,3 @@ "use strict";

]);
const isNavigatingWithKeyboard = (0, _reacttabster.useIsNavigatingWithKeyboard)()();
// Callback ref that attaches a keyborg:focusin event listener.

@@ -154,3 +155,3 @@ const [keyborgListenerCallbackRef] = _react.useState(()=>{

// See https://github.com/microsoft/fluentui/issues/27576
if ((_ev_detail = ev.detail) === null || _ev_detail === void 0 ? void 0 : _ev_detail.isFocusedProgrammatically) {
if (((_ev_detail = ev.detail) === null || _ev_detail === void 0 ? void 0 : _ev_detail.isFocusedProgrammatically) && !isNavigatingWithKeyboard) {
ignoreNextFocusEventRef.current = true;

@@ -157,0 +158,0 @@ }

@@ -202,2 +202,2 @@ "use strict";

return state;
}; //# sourceMappingURL=useTooltipStyles.styles.js.map
};
import * as React from 'react';
import { mergeArrowOffset, resolvePositioningShorthand, usePositioning } from '@fluentui/react-positioning';
import { useTooltipVisibility_unstable as useTooltipVisibility, useFluent_unstable as useFluent } from '@fluentui/react-shared-contexts';
import { KEYBORG_FOCUSIN } from '@fluentui/react-tabster';
import { KEYBORG_FOCUSIN, useIsNavigatingWithKeyboard } from '@fluentui/react-tabster';
import { applyTriggerPropsToChildren, useControllableState, useId, useIsomorphicLayoutEffect, useIsSSR, useMergedRefs, useTimeout, getTriggerChild, mergeCallbacks, useEventCallback, slot } from '@fluentui/react-utilities';

@@ -141,2 +141,3 @@ import { arrowHeight, tooltipBorderRadius } from './private/constants';

]);
const isNavigatingWithKeyboard = useIsNavigatingWithKeyboard()();
// Callback ref that attaches a keyborg:focusin event listener.

@@ -150,3 +151,3 @@ const [keyborgListenerCallbackRef] = React.useState(()=>{

// See https://github.com/microsoft/fluentui/issues/27576
if ((_ev_detail = ev.detail) === null || _ev_detail === void 0 ? void 0 : _ev_detail.isFocusedProgrammatically) {
if (((_ev_detail = ev.detail) === null || _ev_detail === void 0 ? void 0 : _ev_detail.isFocusedProgrammatically) && !isNavigatingWithKeyboard) {
ignoreNextFocusEventRef.current = true;

@@ -153,0 +154,0 @@ }

@@ -132,3 +132,2 @@ import { __styles, mergeClasses } from '@griffel/react';

return state;
};
//# sourceMappingURL=useTooltipStyles.styles.js.map
};
{
"name": "@fluentui/react-tooltip",
"version": "9.4.41",
"version": "9.4.42",
"description": "React components for building web experiences",

@@ -14,15 +14,2 @@ "main": "lib-commonjs/index.js",

"license": "MIT",
"scripts": {
"build": "just-scripts build",
"bundle-size": "monosize measure",
"clean": "just-scripts clean",
"code-style": "just-scripts code-style",
"just": "just-scripts",
"lint": "just-scripts lint",
"start": "yarn storybook",
"test": "jest --passWithNoTests",
"storybook": "yarn --cwd ../stories storybook",
"type-check": "just-scripts type-check",
"generate-api": "just-scripts generate-api"
},
"devDependencies": {

@@ -32,14 +19,13 @@ "@fluentui/react-conformance": "*",

"@fluentui/react-conformance-griffel": "*",
"@fluentui/scripts-api-extractor": "*",
"@fluentui/scripts-tasks": "*"
"@fluentui/scripts-api-extractor": "*"
},
"dependencies": {
"@fluentui/keyboard-keys": "^9.0.7",
"@fluentui/react-jsx-runtime": "^9.0.45",
"@fluentui/react-portal": "^9.4.37",
"@fluentui/react-positioning": "^9.15.10",
"@fluentui/react-shared-contexts": "^9.20.2",
"@fluentui/react-tabster": "^9.22.9",
"@fluentui/react-theme": "^9.1.21",
"@fluentui/react-utilities": "^9.18.16",
"@fluentui/keyboard-keys": "^9.0.8",
"@fluentui/react-jsx-runtime": "^9.0.46",
"@fluentui/react-portal": "^9.4.38",
"@fluentui/react-positioning": "^9.15.11",
"@fluentui/react-shared-contexts": "^9.21.0",
"@fluentui/react-tabster": "^9.23.0",
"@fluentui/react-theme": "^9.1.22",
"@fluentui/react-utilities": "^9.18.17",
"@griffel/react": "^1.5.22",

@@ -46,0 +32,0 @@ "@swc/helpers": "^0.5.1"

Sorry, the diff of this file is too big to display

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

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