Socket
Socket
Sign inDemoInstall

@uswitch/spark.list

Package Overview
Dependencies
Maintainers
22
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uswitch/spark.list - npm Package Compare versions

Comparing version 0.1.26-alpha.1 to 0.2.0

11

lib/esm/index.js

@@ -15,8 +15,7 @@ import _extends from "@babel/runtime/helpers/extends";

});
var List = /*#__PURE__*/React.forwardRef((_ref, ref) => {
var {
as: As = 'ul',
withDivider,
children
} = _ref,
var List = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
var _ref$as = _ref.as,
As = _ref$as === void 0 ? 'ul' : _ref$as,
withDivider = _ref.withDivider,
children = _ref.children,
props = _objectWithoutProperties(_ref, ["as", "withDivider", "children"]);

@@ -23,0 +22,0 @@

@@ -30,16 +30,17 @@ import _extends from "@babel/runtime/helpers/extends";

var withColor = color => ({
svg: {
color
}
});
var withColor = function withColor(color) {
return {
svg: {
color: color
}
};
};
export var ListItem = /*#__PURE__*/React.forwardRef((_ref, ref) => {
var {
as: As = 'li',
icon,
title,
iconColor,
children
} = _ref,
export var ListItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
var _ref$as = _ref.as,
As = _ref$as === void 0 ? 'li' : _ref$as,
icon = _ref.icon,
title = _ref.title,
iconColor = _ref.iconColor,
children = _ref.children,
props = _objectWithoutProperties(_ref, ["as", "icon", "title", "iconColor", "children"]);

@@ -46,0 +47,0 @@

{
"name": "@uswitch/spark.list",
"version": "0.1.26-alpha.1",
"version": "0.2.0",
"description": "",

@@ -11,6 +11,2 @@ "repository": "https://github.com/uswitch/spark",

"default": "./lib/esm/index.js"
},
"./": {
"require": "./lib/cjs/",
"default": "./lib/esm/"
}

@@ -23,4 +19,4 @@ },

"@uswitch/spark-icons": "*",
"@uswitch/spark.type": "^0.1.26-alpha.0",
"@uswitch/spark.utils": "^0.1.26-alpha.1"
"@uswitch/spark.type": "^0.2.0",
"@uswitch/spark.utils": "^0.2.0"
},

@@ -30,3 +26,3 @@ "peerDependencies": {

"react-dom": ">=16",
"theme-ui": "^0.9.1"
"theme-ui": "^0.6.1"
},

@@ -36,3 +32,3 @@ "publishConfig": {

},
"gitHead": "1ed771adb3e5e77a982a02d2ef5cde964572c01c"
"gitHead": "c3ff97854be9ac29e40b4a6d987fc469f4dc12a6"
}
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