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

@superlogica/checkbox

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@superlogica/checkbox - npm Package Compare versions

Comparing version 0.0.32 to 0.0.33

10

Checkbox.js

@@ -16,2 +16,6 @@ "use strict";

function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
// coordenadas SVG para cada ícone

@@ -24,5 +28,9 @@ var checkBoxIcons = {

var Checkbox = function Checkbox(props) {
var Checkbox = function Checkbox(_ref) {
var className = _ref.className,
props = _objectWithoutProperties(_ref, ["className"]);
var variant = checkBoxIcons[props.variant] ? props.variant : 'check';
return _react.default.createElement(_Styled.GenericDiv, {
className: className,
dark: props.dark

@@ -29,0 +37,0 @@ }, _react.default.createElement(_Styled.Label, {

4

package.json
{
"name": "@superlogica/checkbox",
"version": "0.0.32",
"version": "0.0.33",
"description": "Checkbox - DSweb Superlogica",

@@ -16,3 +16,3 @@ "dependencies": {

"license": "MIT",
"gitHead": "dfe3c3ff0dab5e2945e9ad3646d90ea881cb9ec5"
"gitHead": "53d83ab810d3d1c70429f5a5035a6757692c8bb5"
}
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