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.1.0 to 2.1.1

7

dist/System.js

@@ -77,2 +77,6 @@ 'use strict';

var css = function css(props) {
return props.css;
};
var System = function System(opts) {

@@ -105,2 +109,3 @@ _classCallCheck(this, System);

}
blacklist.push('css');

@@ -113,3 +118,3 @@ var div = function div(props) {

var Component = createComponent(div).apply(undefined, _toConsumableArray(funcs));
var Component = createComponent(div).apply(undefined, [css].concat(_toConsumableArray(funcs)));

@@ -116,0 +121,0 @@ Component.defaultProps = defaultProps;

2

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

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

@@ -107,2 +107,12 @@

### CSS prop
To add one-off custom CSS to any system-component, use the `css` prop.
```js
<Heading css='opacity:0.75;'>
Hello
</Heading>
```
### Extending components

@@ -109,0 +119,0 @@

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