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

@stylable/runtime

Package Overview
Dependencies
Maintainers
5
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 1.0.1 to 1.0.2

0

cjs/cached-node-renderer.d.ts

@@ -0,0 +0,0 @@ import { NodeRenderer, RenderableStylesheet } from './types';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { DOMListRenderer } from './keyed-list-renderer';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { RuntimeStylesheet } from './types';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export * from './css-runtime-renderer';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { NodeRenderer } from './types';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare type StateValue = boolean | number | string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=types.js.map

4

package.json
{
"name": "@stylable/runtime",
"version": "1.0.1",
"version": "1.0.2",
"description": "Stylable runtime DOM integration",

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

"license": "BSD-3-Clause",
"gitHead": "29d2ee61af2f3b31a5f4128dd4f81be5debe9b23"
"gitHead": "a25e618e3e4e4c97a0a269a423a9e3008f59d7e7"
}

@@ -10,5 +10,7 @@ # @stylable/runtime

## Usage
`@stylable/runtime` exposes two methods, `Stylesheet` and `Renderer`.
### Stylesheet
### Stylesheet
The stylesheet function is returned when importing a Stylable stylesheet. It is used for creating the DOM-attributes required for CSS to be applied.

@@ -57,3 +59,4 @@

### Renderer
### Renderer
Responsible for managing CSS files, linking to the `document` and maintaining their correct order in your application.

@@ -60,0 +63,0 @@

@@ -0,0 +0,0 @@ function StylableRuntime(exports){

@@ -0,0 +0,0 @@ import { NodeRenderer, RenderableStylesheet } from './types';

@@ -0,0 +0,0 @@ import { CacheStyleNodeRenderer } from './cached-node-renderer';

@@ -0,0 +0,0 @@ import { AttributeMap, InheritedAttributes, RuntimeStylesheet, StateMap } from './types';

export * from './css-runtime-renderer';
export * from './css-runtime-stylesheet';
export * from './types';

@@ -0,0 +0,0 @@ import { NodeRenderer } from './types';

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ export type StateValue = boolean | number | string;

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