Socket
Socket
Sign inDemoInstall

@plasmicapp/host

Package Overview
Dependencies
3
Maintainers
1
Versions
240
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.156 to 1.0.157

2

dist/host.esm.js

@@ -497,3 +497,3 @@ 'use client';

var hostVersion = "1.0.156";
var hostVersion = "1.0.157";

@@ -500,0 +500,0 @@ var root = globalThis;

@@ -519,3 +519,3 @@ 'use client';

var hostVersion = "1.0.156";
var hostVersion = "1.0.157";

@@ -522,0 +522,0 @@ var root = globalThis;

export type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
export interface TokenRegistration {
/**
* Name for this token; should be stable across updates
*/
name: string;
displayName: string;
/**
* Value for the token, which can either be a valid css value or a css reference
* to a css variable provided by your host app, like `var(--my-token)`
*/
value: string;
/**
* Type of token
*/
type: TokenType;
/**
* Optional display name to use for this token, if you'd like to use a friendlier
* name to display to Studio users
*/
displayName?: string;
/**
* By default, if this token is a css variable reference like `var(--my-token)`,
* then it is assumed that `--my-token` is defined on `:root`. If it is defined
* in another element, then you can pass in a selector for that element,
* like `.themeRoot`.
*/
selector?: string;
}

@@ -8,0 +29,0 @@ declare global {

@@ -1,1 +0,1 @@

export declare const hostVersion = "1.0.156";
export declare const hostVersion = "1.0.157";
{
"name": "@plasmicapp/host",
"version": "1.0.156",
"version": "1.0.157",
"description": "plasmic library for app hosting",

@@ -83,3 +83,3 @@ "main": "dist/index.cjs.js",

},
"gitHead": "bad6fad8d377645b740133976cff201b1b20dc8d"
"gitHead": "298c58ac987632c558aaf32afed63aab5a26e154"
}
export type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
export interface TokenRegistration {
/**
* Name for this token; should be stable across updates
*/
name: string;
displayName: string;
/**
* Value for the token, which can either be a valid css value or a css reference
* to a css variable provided by your host app, like `var(--my-token)`
*/
value: string;
/**
* Type of token
*/
type: TokenType;
/**
* Optional display name to use for this token, if you'd like to use a friendlier
* name to display to Studio users
*/
displayName?: string;
/**
* By default, if this token is a css variable reference like `var(--my-token)`,
* then it is assumed that `--my-token` is defined on `:root`. If it is defined
* in another element, then you can pass in a selector for that element,
* like `.themeRoot`.
*/
selector?: string;
}

@@ -8,0 +29,0 @@ declare global {

@@ -1,1 +0,1 @@

export declare const hostVersion = "1.0.156";
export declare const hostVersion = "1.0.157";
export type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
export interface TokenRegistration {
/**
* Name for this token; should be stable across updates
*/
name: string;
displayName: string;
/**
* Value for the token, which can either be a valid css value or a css reference
* to a css variable provided by your host app, like `var(--my-token)`
*/
value: string;
/**
* Type of token
*/
type: TokenType;
/**
* Optional display name to use for this token, if you'd like to use a friendlier
* name to display to Studio users
*/
displayName?: string;
/**
* By default, if this token is a css variable reference like `var(--my-token)`,
* then it is assumed that `--my-token` is defined on `:root`. If it is defined
* in another element, then you can pass in a selector for that element,
* like `.themeRoot`.
*/
selector?: string;
}

@@ -8,0 +29,0 @@ declare global {

@@ -1,1 +0,1 @@

export declare const hostVersion = "1.0.156";
export declare const hostVersion = "1.0.157";
export type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
export interface TokenRegistration {
/**
* Name for this token; should be stable across updates
*/
name: string;
displayName: string;
/**
* Value for the token, which can either be a valid css value or a css reference
* to a css variable provided by your host app, like `var(--my-token)`
*/
value: string;
/**
* Type of token
*/
type: TokenType;
/**
* Optional display name to use for this token, if you'd like to use a friendlier
* name to display to Studio users
*/
displayName?: string;
/**
* By default, if this token is a css variable reference like `var(--my-token)`,
* then it is assumed that `--my-token` is defined on `:root`. If it is defined
* in another element, then you can pass in a selector for that element,
* like `.themeRoot`.
*/
selector?: string;
}

@@ -8,0 +29,0 @@ declare global {

@@ -1,1 +0,1 @@

export declare const hostVersion = "1.0.156";
export declare const hostVersion = "1.0.157";
export type TokenType = "color" | "spacing" | "font-family" | "font-size" | "line-height" | "opacity";
export interface TokenRegistration {
/**
* Name for this token; should be stable across updates
*/
name: string;
displayName: string;
/**
* Value for the token, which can either be a valid css value or a css reference
* to a css variable provided by your host app, like `var(--my-token)`
*/
value: string;
/**
* Type of token
*/
type: TokenType;
/**
* Optional display name to use for this token, if you'd like to use a friendlier
* name to display to Studio users
*/
displayName?: string;
/**
* By default, if this token is a css variable reference like `var(--my-token)`,
* then it is assumed that `--my-token` is defined on `:root`. If it is defined
* in another element, then you can pass in a selector for that element,
* like `.themeRoot`.
*/
selector?: string;
}

@@ -8,0 +29,0 @@ declare global {

@@ -1,1 +0,1 @@

export declare const hostVersion = "1.0.156";
export declare const hostVersion = "1.0.157";

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc