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

@stylable/runtime

Package Overview
Dependencies
Maintainers
7
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylable/runtime - npm Package Compare versions

Comparing version 5.0.0-rc.4 to 5.0.0-rc.5

1

dist/css-runtime-stylesheet.js

@@ -12,2 +12,3 @@ "use strict";

keyframes: exports.keyframes,
layers: exports.layers,
vars: exports.vars,

@@ -14,0 +15,0 @@ stVars: exports.stVars,

@@ -23,2 +23,3 @@ export declare type StateValue = boolean | number | string | undefined;

keyframes: Record<string, string>;
layers: Record<string, string>;
stVars: Record<string, RuntimeStVar>;

@@ -25,0 +26,0 @@ vars: Record<string, string>;

@@ -9,2 +9,3 @@ const stateMiddleDelimiter = '-';

keyframes: exports.keyframes,
layers: exports.layers,
vars: exports.vars,

@@ -11,0 +12,0 @@ stVars: exports.stVars,

@@ -23,2 +23,3 @@ export declare type StateValue = boolean | number | string | undefined;

keyframes: Record<string, string>;
layers: Record<string, string>;
stVars: Record<string, RuntimeStVar>;

@@ -25,0 +26,0 @@ vars: Record<string, string>;

2

package.json
{
"name": "@stylable/runtime",
"version": "5.0.0-rc.4",
"version": "5.0.0-rc.5",
"description": "Stylable runtime DOM integration",

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

@@ -24,2 +24,3 @@ # @stylable/runtime

keyframes,
layers,
cssStates

@@ -34,4 +35,5 @@ } from './local.st.css';

|`vars`|an object mapping exported css custom properties (vars) from their source name to their scoped name |
|`stVars`|an object mapping build time Stylable variables to their build time values (these cannot be overriden in runtime) |
|`stVars`|an object mapping build time Stylable variables to their build time values (these cannot be overridden in runtime) |
|`keyframes`|an object mapping exported keyframes from their source name to their scoped name |
|`layers`|an object mapping exported layers from their source name to their scoped name |
|`cssStates`|utility function that maps an object representing states and their values to a string with all required classes |

@@ -38,0 +40,0 @@

@@ -20,2 +20,3 @@ import type { RuntimeRenderer } from './css-runtime-renderer';

keyframes: exports.keyframes,
layers: exports.layers,
vars: exports.vars,

@@ -22,0 +23,0 @@ stVars: exports.stVars,

@@ -27,2 +27,3 @@ export type StateValue = boolean | number | string | undefined;

keyframes: Record<string, string>;
layers: Record<string, string>;
stVars: Record<string, RuntimeStVar>;

@@ -29,0 +30,0 @@ vars: Record<string, string>;

@@ -5,2 +5,3 @@ import type { RuntimeStylesheet } from './dist';

export const keyframes: RuntimeStylesheet['keyframes'];
export const layers: RuntimeStylesheet['layers'];
export const vars: RuntimeStylesheet['vars'];

@@ -7,0 +8,0 @@ export const stVars: RuntimeStylesheet['stVars'];

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

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