@s-ui/react-atom-checkbox
Advanced tools
Comparing version
@@ -11,4 +11,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { BASE_CLASS, CHECKBOX_SIZES, CHECKBOX_STATUS, getIcon, getIsNative, getReadOnly, isFunction, pressedValue, updateStatus } from './config.js'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import { jsxs as _jsxs } from "react/jsx-runtime"; | ||
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; | ||
var AtomCheckbox = /*#__PURE__*/forwardRef(function (_ref, forwardedRef) { | ||
@@ -134,3 +133,3 @@ var _ref$defaultChecked = _ref.defaultChecked, | ||
}; | ||
return /*#__PURE__*/_jsxs("label", { | ||
return /*#__PURE__*/_jsxs("span", { | ||
className: cx(BASE_CLASS, BASE_CLASS + "--native-" + (isNative ? 'enabled' : 'disabled'), BASE_CLASS + "--size-" + size), | ||
@@ -137,0 +136,0 @@ children: [/*#__PURE__*/_jsx("input", _extends({ |
{ | ||
"name": "@s-ui/react-atom-checkbox", | ||
"version": "3.7.0", | ||
"version": "3.8.0", | ||
"description": "", | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"keywords": [ | ||
"@s-ui", | ||
"react", | ||
"component", | ||
"atom", | ||
"checkbox" | ||
], | ||
"main": "lib/index.js", | ||
@@ -15,5 +25,17 @@ "scripts": { | ||
}, | ||
"keywords": [], | ||
"author": "", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/SUI-Components/sui-components", | ||
"directory": "components/atom/checkbox" | ||
}, | ||
"config": { | ||
"title": "checkbox", | ||
"category": "atom", | ||
"type": "components" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/SUI-Components/sui-components/issues?q=is%3Aopen+label%3A%22Component%3A+checkbox%22" | ||
}, | ||
"homepage": "https://sui-components.vercel.app/", | ||
"license": "MIT" | ||
} |
@@ -5,3 +5,9 @@ # AtomCheckbox | ||
[](https://sui-components.vercel.app/workbench/atom/checkbox/) | ||
[](https://github.com/SUI-Components/sui-components/issues/new?&projects=4&template=bug-report.yml&assignees=&template=report-a-bug.yml&title=🪲+&labels=bug,component,atom,checkbox) | ||
[](https://www.npmjs.com/package/@s-ui/react-atom-checkbox) | ||
[](https://github.com/SUI-Components/sui-components/issues?q=is%3Aopen+label%3Acomponent+label%3Acheckbox) | ||
[](https://github.com/SUI-Components/sui-components/blob/main/components/atom/checkbox/LICENSE.md) | ||
## Installation | ||
@@ -8,0 +14,0 @@ |
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
19956
15.08%9
12.5%1
-50%0
-100%48
14.29%0
-100%298
-0.33%