styled-jsx
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "styled-jsx", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "zeit/styled-jsx", |
@@ -9,13 +9,2 @@ # styled-jsx | ||
## Features | ||
- Full CSS support, no tradeoffs in power | ||
- Runtime size of just **500 bytes** | ||
- Complete isolation: Selectors, animations, keyframes | ||
- Built-in CSS-prefixing | ||
- Very fast, minimal and efficient transpilation (see below) | ||
- High-performance runtime-CSS-injection when not server-rendering | ||
- Future-proof: Equivalent to server-renderable "Shadow CSS" | ||
- Works like the deprecated `<style scoped>`, but the styles get injected only once per component | ||
## Usage | ||
@@ -26,3 +15,3 @@ | ||
```bash | ||
$ npm install --save-dev styled-jsx | ||
$ npm install --save styled-jsx | ||
``` | ||
@@ -59,2 +48,13 @@ | ||
## Features | ||
- Full CSS support, no tradeoffs in power | ||
- Runtime size of just **500 bytes** | ||
- Complete isolation: Selectors, animations, keyframes | ||
- Built-in CSS-prefixing | ||
- Very fast, minimal and efficient transpilation (see below) | ||
- High-performance runtime-CSS-injection when not server-rendering | ||
- Future-proof: Equivalent to server-renderable "Shadow CSS" | ||
- Works like the deprecated `<style scoped>`, but the styles get injected only once per component | ||
## How It Works | ||
@@ -109,3 +109,3 @@ | ||
- **Pedram Emrouznejad** ([rijs](https://github.com/rijs/fullstack)) suggested attribute selectors over my initial class prefixing idea. | ||
- **Sunil Pail** ([glamor](https://github.com/threepointone/glamor)) inspired the use of `murmurhash2` (minimal and fast hashing) and a efficient style injection logic. | ||
- **Sunil Pai** ([glamor](https://github.com/threepointone/glamor)) inspired the use of `murmurhash2` (minimal and fast hashing) and an efficient style injection logic. | ||
- **Sultan Tarimo** built [stylis.js](https://github.com/thysultan), a super fast and tiny CSS parser and compiler. | ||
@@ -112,0 +112,0 @@ - **Max Stoiber** ([styled-components](https://github.com/styled-components)) proved the value of retaining the familiarity of CSS syntax and pointed me to the very efficient [stylis](https://github.com/thysultan/stylis.js) compiler (which we forked to very efficiently append attribute selectors to the user's css) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25136