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

@mirohq/design-system-use-press

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/design-system-use-press - npm Package Compare versions

Comparing version 0.3.0-toolbar-item-use-press.11 to 0.3.0-toolbar-item-use-press.12

8

dist/main.js

@@ -109,6 +109,2 @@ 'use strict';

}
state.isPressed = true;
state.isOverTarget = true;
state.target = e.currentTarget;
state.pointerType = isVirtualClickHandler(e) ? "virtual" : "mouse";
handleFocus({

@@ -120,2 +116,6 @@ event: e,

});
state.isPressed = true;
state.isOverTarget = true;
state.target = e.currentTarget;
state.pointerType = isVirtualClickHandler(e) ? "virtual" : "mouse";
triggerPressStart(e, state.pointerType);

@@ -122,0 +122,0 @@ addListener(document, "mouseup", onDocumentMouseUp, false);

@@ -105,6 +105,2 @@ import { useRef, useState, useEffect } from 'react';

}
state.isPressed = true;
state.isOverTarget = true;
state.target = e.currentTarget;
state.pointerType = isVirtualClickHandler(e) ? "virtual" : "mouse";
handleFocus({

@@ -116,2 +112,6 @@ event: e,

});
state.isPressed = true;
state.isOverTarget = true;
state.target = e.currentTarget;
state.pointerType = isVirtualClickHandler(e) ? "virtual" : "mouse";
triggerPressStart(e, state.pointerType);

@@ -118,0 +118,0 @@ addListener(document, "mouseup", onDocumentMouseUp, false);

{
"name": "@mirohq/design-system-use-press",
"version": "0.3.0-toolbar-item-use-press.11",
"version": "0.3.0-toolbar-item-use-press.12",
"description": "",

@@ -29,5 +29,5 @@ "author": "Miro",

"@react-aria/utils": "^3.14.2",
"@mirohq/design-system-use-logger": "^0.1.6",
"@mirohq/design-system-use-listeners": "^0.1.1",
"@mirohq/design-system-utils": "^0.14.3"
"@mirohq/design-system-utils": "^0.14.3",
"@mirohq/design-system-use-logger": "^0.1.6"
},

@@ -34,0 +34,0 @@ "scripts": {

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