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

@uiw/react-tree-checked

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-tree-checked - npm Package Compare versions

Comparing version 4.21.14 to 5.0.0-bate-0

cjs/style/index.d.ts

3

cjs/index.d.ts
import { TreeProps } from '@uiw/react-tree';
import './style/index.less';
export * from './style';
export interface TreeCheckedProps extends TreeProps {
}
export default function TreeChecked({ prefixCls, ...props }: TreeCheckedProps): JSX.Element;
//# sourceMappingURL=index.d.ts.map

@@ -10,2 +10,3 @@ "use strict";

});
var _exportNames = {};
exports["default"] = TreeChecked;

@@ -23,4 +24,19 @@

var _index = require("./style/index");
var _jsxRuntime = require("react/jsx-runtime");
var _style = require("./style");
Object.keys(_style).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
if (key in exports && exports[key] === _style[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function get() {
return _style[key];
}
});
});
var _excluded = ["prefixCls"];

@@ -51,3 +67,4 @@

return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_react.Fragment, {
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactCheckbox["default"], (0, _objectSpread2["default"])({
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_index.TreeCheckboxStyleBase, (0, _objectSpread2["default"])({
as: _reactCheckbox["default"],
className: "".concat(prefixCls, "-checked"),

@@ -63,4 +80,2 @@ disabled: node.disabled

}
module.exports = exports.default;
//# sourceMappingURL=index.js.map
import { TreeProps } from '@uiw/react-tree';
import './style/index.less';
export * from './style';
export interface TreeCheckedProps extends TreeProps {
}
export default function TreeChecked({ prefixCls, ...props }: TreeCheckedProps): JSX.Element;
//# sourceMappingURL=index.d.ts.map

@@ -7,5 +7,6 @@ import _extends from "@babel/runtime/helpers/extends";

import Checkbox from '@uiw/react-checkbox';
import "./style/index.css";
import { TreeCheckboxStyleBase } from './style/index';
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
export * from './style';
export default function TreeChecked(_ref) {

@@ -36,3 +37,4 @@ var {

return /*#__PURE__*/_jsxs(Fragment, {
children: [/*#__PURE__*/_jsx(Checkbox, _extends({
children: [/*#__PURE__*/_jsx(TreeCheckboxStyleBase, _extends({
as: Checkbox,
className: prefixCls + "-checked",

@@ -39,0 +41,0 @@ disabled: node.disabled

{
"name": "@uiw/react-tree-checked",
"version": "4.21.14",
"version": "5.0.0-bate-0",
"description": "TreeChecked component",

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

"react": ">=16.9.0",
"react-dom": ">=16.9.0"
"react-dom": ">=16.9.0",
"styled-components": ">=5.3.5"
},
"dependencies": {
"@uiw/react-checkbox": "^4.21.14",
"@uiw/react-tree": "^4.21.14",
"@uiw/utils": "^4.21.14"
"@uiw/react-checkbox": "^5.0.0-bate-0",
"@uiw/react-tree": "^5.0.0-bate-0",
"@uiw/utils": "^5.0.0-bate-0"
}
}

@@ -18,5 +18,4 @@ TreeChecked 树形选择控件

<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->
```jsx
import ReactDOM from 'react-dom';
```jsx mdx:preview&background=#fff&codeSandbox=true&codePen=true
import React from 'react';
import { TreeChecked, Card, Row, Col } from 'uiw';

@@ -110,3 +109,3 @@

)
ReactDOM.render(<Demo />, _mount_);
export default Demo
```

@@ -116,6 +115,4 @@

<!--rehype:bgWhite=true&codeSandbox=true&codePen=true-->
```jsx
```jsx mdx:preview&background=#fff&codeSandbox=true&codePen=true
import React, { useState, useRef } from "react";
import ReactDOM from 'react-dom';
import { Form, Input, Row, Col, TreeChecked, Slider, Button, Notify } from 'uiw';

@@ -225,3 +222,3 @@

}
ReactDOM.render(<Demo />, _mount_);
export default Demo
```

@@ -228,0 +225,0 @@

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