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

@radix-ui/react-label

Package Overview
Dependencies
Maintainers
6
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radix-ui/react-label - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3-rc.1

3

dist/index.js

@@ -25,2 +25,5 @@ var $RyX6d$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");

var _props$onMouseDown;
// only prevent text selection if clicking inside the label itself
const target = event.target;
if (target.closest('button, input, select, textarea')) return;
(_props$onMouseDown = props.onMouseDown) === null || _props$onMouseDown === void 0 || _props$onMouseDown.call(props, event); // prevent text selection when double clicking label

@@ -27,0 +30,0 @@ if (!event.defaultPrevented && event.detail > 1) event.preventDefault();

5

package.json
{
"name": "@radix-ui/react-label",
"version": "2.0.2",
"version": "2.0.3-rc.1",
"license": "MIT",

@@ -55,3 +55,4 @@ "exports": {

"url": "https://github.com/radix-ui/primitives/issues"
}
},
"stableVersion": "2.0.2"
}

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