Socket
Socket
Sign inDemoInstall

styled-system

Package Overview
Dependencies
7
Maintainers
2
Versions
149
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0 to 4.0.1

CODE_OF_CONDUCT.md

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

## v4.0.1 2019-02-27
- Fix for props in `textStyles` and `colorStyles`
## v4.0.0 2019-02-23

@@ -7,0 +11,0 @@

6

dist/index.cjs.js

@@ -671,8 +671,10 @@ "use strict";

var textStyle = variant({
key: 'textStyles'
key: 'textStyles',
prop: 'textStyle'
});
exports.textStyle = textStyle;
var colorStyle = variant({
key: 'colorStyles'
key: 'colorStyles',
prop: 'colors'
});
exports.colorStyle = colorStyle;

@@ -539,6 +539,8 @@ import _extends from "@babel/runtime/helpers/esm/extends";

export var textStyle = variant({
key: 'textStyles'
key: 'textStyles',
prop: 'textStyle'
});
export var colorStyle = variant({
key: 'colorStyles'
key: 'colorStyles',
prop: 'colors'
});
{
"name": "styled-system",
"version": "4.0.0",
"version": "4.0.1",
"description": "Responsive, theme-based style props for building design systems with React",

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

"build:esm": "cross-env NODE_ENV=esm babel src -o dist/index.esm.js",
"logo": "npx repng docs/Logo.js -d docs -f logo.png -w 512 -h 512 -p '{\"size\":512}'",
"logo-svg": "scrs docs/Logo.js --svg > docs/logo.svg",
"logo-svg": "scrs docs/src/Logo.js --svg > docs/static/logo.svg",
"size": "npx bundlesize",

@@ -21,5 +20,4 @@ "cover": "nyc report --reporter=html --reporter=lcov > coverage.lcov",

"test": "nyc ava",
"start": "mdx-go docs",
"now-build": "mdx-go build docs -d public",
"bench": "node bench"
"bench": "node bench",
"todo_fix__logo": "npx repng docs/src/Logo.js -d docs -f logo.png -w 512 -h 512 -p '{\"size\":512}'"
},

@@ -49,3 +47,2 @@ "keywords": [

"lint-staged": "^8.1.3",
"mdx-go": "^2.0.0-32",
"nyc": "^12.0.2",

@@ -71,3 +68,4 @@ "prettier": "^1.16.1",

"bench",
"examples"
"examples",
"packages/**/*"
]

@@ -74,0 +72,0 @@ },

<img src='https://jxnblk.com/styled-system/logo.svg' width='128' height='128' />
<img src='https://styled-system.com/logo.svg' width='128' height='128' />

@@ -7,2 +7,3 @@ # Styled System

Responsive, theme-based style props for building design systems with React
https://styled-system.com

@@ -74,6 +75,3 @@ [![stars][]][github]

<!--
todo: react-scripts is borked
## Try It Out

@@ -83,4 +81,6 @@

- [Basic](https://codesandbox.io/s/github/jxnblk/styled-system/tree/master/examples/basic)
- [Basic Example](https://codesandbox.io/s/github/jxnblk/styled-system/tree/master/examples/basic)
- [Emotion](https://codesandbox.io/s/github/jxnblk/styled-system/tree/master/examples/emotion)
<!--
- [Theme Aliases](https://codesandbox.io/s/github/jxnblk/styled-system/tree/master/examples/theme-aliases)

@@ -173,29 +173,9 @@

- [Getting Started](https://styled-system.com/getting-started)
- [Responsive Styles](https://styled-system.com/responsive-styles)
- [How it Works](https://styled-system.com/how-it-works)
- [API](https://styled-system.com/api)
- [Table of Style Functions](https://styled-system.com/table)
- [Custom Props](https://styled-system.com/custom-props)
- [Getting Started](docs/getting-started.md)
- [Responsive Styles](docs/responsive-styles.md)
- [How it Works](docs/how-it-works.md)
- [API](docs/api.md)
- [Core](docs/api.md#core)
- [space](docs/api.md#space) (margins & paddings)
- [width](docs/api.md#width)
- [fontSize](docs/api.md#fontsize)
- [color](docs/api.md#color) (and background-color)
- [Typography](docs/api.md#typography)
- [Layout](docs/api.md#layout)
- [Flexbox](docs/api.md#flexbox)
- [Borders](docs/api.md#borders)
- [Position](docs/api.md#position)
- [Misc](docs/api.md#misc)
- [Variants](docs/api.md#variants)
- [Utilities](docs/api.md#utilities)
- [themeGet](docs/api.md#themeget)
- [propTypes](docs/api.md#proptypes)
- [Customize](docs/api.md#customize)
- [style](docs/api.md#style)
- [variant](docs/api.md#variant)
- [Table of Style Functions](docs/table.md)
- [Custom Props](docs/custom-props.md)
---

@@ -207,3 +187,3 @@

- [Build Better Component Libraries with Styled System][alan-b-smith-post]
- [Defining Component APIs in React](http://jxnblk.com/writing/posts/defining-component-apis-in-react/)
- [Defining Component APIs in React](http://jxnblk.com/blog/defining-component-apis-in-react/)

@@ -210,0 +190,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc