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

@plasmicapp/react-web

Package Overview
Dependencies
Maintainers
1
Versions
359
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plasmicapp/react-web - npm Package Compare versions

Comparing version 0.1.24 to 0.1.25

4

dist/index.d.ts

@@ -152,2 +152,5 @@ import * as React from "react";

}): (boolean | React.HTMLAttributes<HTMLElement>)[];
declare function useFocusVisibleWithin(opts: {
isTextInput?: boolean;
}): (boolean | React.HTMLAttributes<HTMLElement>)[];
declare function useHover(): (boolean | {

@@ -166,2 +169,3 @@ onMouseEnter: (e: React.MouseEvent<Element, MouseEvent>) => void;

readonly useFocusedWithin: typeof useFocusedWithin;
readonly useFocusVisibleWithin: typeof useFocusVisibleWithin;
readonly usePressed: typeof usePressed;

@@ -168,0 +172,0 @@ };

@@ -545,2 +545,9 @@ "use strict";

}
function useFocusVisibleWithin(opts) {
var _a = focus_1.useFocusRing({
within: true,
isTextInput: opts.isTextInput
}), isFocusVisible = _a.isFocusVisible, focusProps = _a.focusProps;
return [isFocusVisible, focusProps];
}
function useHover() {

@@ -571,2 +578,3 @@ var _a = React.useState(false), isHover = _a[0], setHover = _a[1];

useFocusedWithin: useFocusedWithin,
useFocusVisibleWithin: useFocusVisibleWithin,
usePressed: usePressed

@@ -573,0 +581,0 @@ };

2

package.json
{
"name": "@plasmicapp/react-web",
"version": "0.1.24",
"version": "0.1.25",
"description": "plasmic library for rendering in the presentational style",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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