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

@uiw/react-checkbox

Package Overview
Dependencies
Maintainers
1
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-checkbox - npm Package Compare versions

Comparing version 4.6.9 to 4.6.10

6

lib/cjs/Checkbox.js

@@ -18,4 +18,2 @@ "use strict";

var _classnames = _interopRequireDefault(require("classnames"));
var _reactRadio = require("@uiw/react-radio");

@@ -46,5 +44,3 @@

});
var cls = (0, _classnames.default)(className, {
indeterminate: indeterminate
});
var cls = [className, indeterminate ? 'indeterminate' : null].filter(Boolean).join(' ').trim();
return /*#__PURE__*/_react.default.createElement(_reactRadio.RadioAbstract, (0, _extends2.default)({

@@ -51,0 +47,0 @@ ref: inputRef

5

lib/cjs/Group.js

@@ -22,4 +22,2 @@ "use strict";

var _classnames = _interopRequireDefault(require("classnames"));
function CheckboxGroup() {

@@ -44,4 +42,5 @@ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, other, {
className: (0, _classnames.default)(prefixCls, className)
className: cls
}), _react.default.Children.map(props.children, function (element) {

@@ -48,0 +47,0 @@ if (value && value.includes(element.props.value)) {

import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
import React, { useImperativeHandle } from 'react';
import classnames from 'classnames';
import { RadioAbstract } from '@uiw/react-radio';

@@ -30,5 +29,3 @@ import { CheckboxGroup } from './Group';

});
var cls = classnames(className, {
indeterminate: indeterminate
});
var cls = [className, indeterminate ? 'indeterminate' : null].filter(Boolean).join(' ').trim();
return /*#__PURE__*/React.createElement(RadioAbstract, _extends({

@@ -35,0 +32,0 @@ ref: inputRef

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

import React, { useState } from 'react';
import classnames from 'classnames';
import "./style/group.css";

@@ -29,4 +28,5 @@ export function CheckboxGroup() {

var cls = [prefixCls, className].filter(Boolean).join(' ').trim();
return /*#__PURE__*/React.createElement("div", _extends({}, other, {
className: classnames(prefixCls, className)
className: cls
}), React.Children.map(props.children, function (element) {

@@ -33,0 +33,0 @@ if (value && value.includes(element.props.value)) {

{
"name": "@uiw/react-checkbox",
"version": "4.6.9",
"version": "4.6.10",
"description": "Checkbox component",

@@ -45,9 +45,7 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-radio": "^4.6.9",
"@uiw/utils": "^4.6.9",
"classnames": "2.2.6"
"@uiw/react-radio": "^4.6.10",
"@uiw/utils": "^4.6.10"
},
"devDependencies": {
"@babel/runtime": "7.10.4",
"@types/classnames": "2.2.10",
"@types/react": "16.9.41",

@@ -58,3 +56,3 @@ "@types/react-dom": "16.9.8",

},
"gitHead": "aff63672294a768b0730a6eaed73463c3b5b3ace"
"gitHead": "dd796bd87132b68aee9dfe1faeb73eccc378bc60"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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