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

system-components

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

system-components - npm Package Compare versions

Comparing version 2.0.4 to 2.1.0-0

dist/emotion.js

12

dist/index.js

@@ -6,3 +6,13 @@ 'use strict';

});
exports.System = undefined;
var _System = require('./System');
Object.defineProperty(exports, 'System', {
enumerable: true,
get: function get() {
return _interopRequireDefault(_System).default;
}
});
var _styledComponents = require('styled-components');

@@ -12,4 +22,2 @@

var _System = require('./System');
var _System2 = _interopRequireDefault(_System);

@@ -16,0 +24,0 @@

24

package.json
{
"name": "system-components",
"version": "2.0.4",
"version": "2.1.0-0",
"description": "Create consistent design-system-driven React UI components",

@@ -8,3 +8,2 @@ "main": "dist/index",

"prepublishOnly": "babel src -d dist",
"start": "x0 dev docs/App.js -o",
"cover": "nyc report --reporter=html --reporter=lcov",

@@ -16,4 +15,5 @@ "test": "nyc ava"

"components",
"styled-system",
"styled-components",
"styled-system",
"emotion",
"design-system",

@@ -26,5 +26,4 @@ "theme",

"dependencies": {
"clean-tag": "^1.0.3",
"styled-components": ">=3.0.0",
"styled-system": ">=2.0.1"
"clean-tag": "^1.0.4",
"styled-system": "^2.2.9"
},

@@ -34,10 +33,13 @@ "devDependencies": {

"babel-cli": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-env": "^1.7.0",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"nyc": "^11.4.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-test-renderer": "^16.2.0"
"emotion": "^9.2.3",
"nyc": "^12.0.2",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-emotion": "^9.2.3",
"react-test-renderer": "^16.4.1",
"styled-components": "^3.3.2"
},

@@ -44,0 +46,0 @@ "ava": {

@@ -6,3 +6,4 @@

Built with [styled-system][sys] & [styled-components][sc]
Built with [styled-system][sys],
with support for [styled-components][sc] & [emotion][emotion]

@@ -24,2 +25,8 @@ [![Build Status][build-badge]][build]

Or, to use with [emotion][emotion]:
```js
import system from 'system-components/emotion'
```
## Usage

@@ -118,3 +125,17 @@

## Using with other CSS-in-JS libraries
The base `System` class can be used to create a system-components function for any CSS-in-JS library.
```js
import { System } from 'system-components'
import cxs from 'cxs/component'
const system = new System({
createComponent: type => (...args) => cxs(type)(...args)
})
export default system
```
---

@@ -126,1 +147,2 @@

[sc]: https://github.com/styled-components/styled-components
[emotion]: https://github.com/emotion-js/emotion
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