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
360
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.2.16 to 0.2.18

dist/canvas-host.d.ts

2

dist/index.d.ts
import * as React from "react";
export { default as createUseScreenVariants } from "./createUseScreenVariants";
export declare type StrictProps<T, TExpected> = Exclude<keyof T, keyof TExpected> extends never ? {} : "Unexpected extraneous props";

@@ -202,2 +203,1 @@ interface Variants {

export declare function useTrigger(trigger: TriggerType, opts: TriggerOpts): [boolean, React.HTMLAttributes<HTMLElement>];
export {};

@@ -58,2 +58,4 @@ "use strict";

var React = __importStar(require("react"));
var createUseScreenVariants_1 = require("./createUseScreenVariants");
Object.defineProperty(exports, "createUseScreenVariants", { enumerable: true, get: function () { return createUseScreenVariants_1.default; } });
function hasVariant(variants, groupName, variant) {

@@ -632,6 +634,5 @@ if (variants == null) {

if (value === "PLEASE_RENDER_INSIDE_PROVIDER") {
var providerName = key === "screen"
? "ScreenVariantProvider"
: "" + key[0].toUpperCase() + key.substring(1) + "Context.Provider";
throw new Error("Plasmic context value for global variant \"" + key + "\" was not provided; please use " + providerName + " at the root of your React app. Learn More: https://www.plasmic.app/learn/other-assets/#global-variants");
var providerName = "" + key[0].toUpperCase() + key.substring(1) + "Context.Provider";
console.warn("Plasmic context value for global variant \"" + key + "\" was not provided; please use " + providerName + " at the root of your React app. Learn More: https://www.plasmic.app/learn/other-assets/#global-variants");
globalVariantValues[key] = undefined;
}

@@ -638,0 +639,0 @@ });

{
"name": "@plasmicapp/react-web",
"version": "0.2.16",
"version": "0.2.18",
"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