Socket
Socket
Sign inDemoInstall

@radix-ui/react-primitive

Package Overview
Dependencies
Maintainers
6
Versions
161
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 0.1.5-rc.15 to 0.1.5-rc.16

6

dist/index.d.ts

@@ -25,2 +25,4 @@ import * as React from "react";

*
* https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
*
* `discrete` is an important distinction as updates within these events are applied immediately.

@@ -44,2 +46,6 @@ * React however, is not able to infer the priority of custom event types due to how they are detected internally.

* onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
*
* Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
* this utility with them. This is because it's possible for those handlers to be called implicitly during render
* e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
*/

@@ -46,0 +52,0 @@ export function dispatchDiscreteCustomEvent<E extends CustomEvent>(target: E['target'], event: E): void;

@@ -84,2 +84,4 @@ var $iMixA$babelruntimehelpersextends = require("@babel/runtime/helpers/extends");

*
* https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
*
* `discrete` is an important distinction as updates within these events are applied immediately.

@@ -103,2 +105,6 @@ * React however, is not able to infer the priority of custom event types due to how they are detected internally.

* onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
*
* Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
* this utility with them. This is because it's possible for those handlers to be called implicitly during render
* e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
*/ function $c3def6332c2749a6$export$6d1a0317bde7de7f(target, event) {

@@ -105,0 +111,0 @@ if (target) $iMixA$reactdom.flushSync(()=>target.dispatchEvent(event)

@@ -65,2 +65,4 @@ import $4q5Fq$babelruntimehelpersesmextends from "@babel/runtime/helpers/esm/extends";

*
* https://github.com/facebook/react/blob/a8a4742f1c54493df00da648a3f9d26e3db9c8b5/packages/react-dom/src/events/ReactDOMEventListener.js#L294-L350
*
* `discrete` is an important distinction as updates within these events are applied immediately.

@@ -84,2 +86,6 @@ * React however, is not able to infer the priority of custom event types due to how they are detected internally.

* onPointerDown={(event) => dispatchDiscreteCustomEvent(event.target, new CustomEvent(‘customType’))}
*
* Note: though React classifies `focus`, `focusin` and `focusout` events as `discrete`, it's not recommended to use
* this utility with them. This is because it's possible for those handlers to be called implicitly during render
* e.g. when focus is within a component as it is unmounted, or when managing focus on mount.
*/ function $8927f6f2acc4f386$export$6d1a0317bde7de7f(target, event) {

@@ -86,0 +92,0 @@ if (target) $4q5Fq$flushSync(()=>target.dispatchEvent(event)

4

package.json
{
"name": "@radix-ui/react-primitive",
"version": "0.1.5-rc.15",
"version": "0.1.5-rc.16",
"license": "MIT",

@@ -20,3 +20,3 @@ "source": "src/index.ts",

"@babel/runtime": "^7.13.10",
"@radix-ui/react-slot": "0.1.3-rc.15"
"@radix-ui/react-slot": "0.1.3-rc.16"
},

@@ -23,0 +23,0 @@ "devDependencies": {

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