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

@uiw/react-tree

Package Overview
Dependencies
Maintainers
2
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-tree - npm Package Compare versions

Comparing version 5.0.0-bate-0 to 5.0.0-bate-1

6

cjs/style/index.js

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

var _reactIcon = require("@uiw/react-icon");
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13;

@@ -57,7 +59,7 @@

var TreeNodeStyleUlLidivSpan = _styledComponents["default"].div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["\n cursor: pointer;\n position: relative;\n z-index: 1;\n width: 14px;\n height: 14px;\n line-height: 14px;\n display: inline-block;\n text-align: center;\n &:hover {\n color: ", ";\n }\n .w-icon {\n transition: 0.3s all;\n transform: ", ";\n &.open:not(.no-animation) {\n transform: scale(0.79) rotate(90deg) !important;\n }\n }\n"])), function (props) {
var TreeNodeStyleUlLidivSpan = _styledComponents["default"].div(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2["default"])(["\n cursor: pointer;\n position: relative;\n z-index: 1;\n width: 14px;\n height: 14px;\n line-height: 14px;\n display: inline-block;\n text-align: center;\n &:hover {\n color: ", ";\n }\n ", " {\n transition: 0.3s all;\n transform: ", ";\n &.open:not(.no-animation) {\n transform: scale(0.79) rotate(90deg) !important;\n }\n }\n"])), function (props) {
return (0, _utils.getThemeVariantValue)((0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, props), {}, {
defaultTheme: TreeStyleTheme
}), 'colorTreeNodeUlLidivSpanDefault');
}, function (props) {
}, _reactIcon.IconStyleBase, function (props) {
return (0, _utils.getThemeVariantValue)((0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, props), {}, {

@@ -64,0 +66,0 @@ defaultTheme: TreeStyleTheme

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

import { getThemeVariantValue } from '@uiw/utils';
import { IconStyleBase } from '@uiw/react-icon';
export var TreeStyleTheme = {

@@ -26,5 +27,5 @@ borderRadiusTreeNodeDefault: '0 0 0 3px',

export var TreeNodeStyleUlDiv = styled.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteralLoose(["\n line-height: initial;\n & > * {\n vertical-align: middle;\n }\n"])));
export var TreeNodeStyleUlLidivSpan = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: relative;\n z-index: 1;\n width: 14px;\n height: 14px;\n line-height: 14px;\n display: inline-block;\n text-align: center;\n &:hover {\n color: ", ";\n }\n .w-icon {\n transition: 0.3s all;\n transform: ", ";\n &.open:not(.no-animation) {\n transform: scale(0.79) rotate(90deg) !important;\n }\n }\n"])), props => getThemeVariantValue(_extends({}, props, {
export var TreeNodeStyleUlLidivSpan = styled.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteralLoose(["\n cursor: pointer;\n position: relative;\n z-index: 1;\n width: 14px;\n height: 14px;\n line-height: 14px;\n display: inline-block;\n text-align: center;\n &:hover {\n color: ", ";\n }\n ", " {\n transition: 0.3s all;\n transform: ", ";\n &.open:not(.no-animation) {\n transform: scale(0.79) rotate(90deg) !important;\n }\n }\n"])), props => getThemeVariantValue(_extends({}, props, {
defaultTheme: TreeStyleTheme
}), 'colorTreeNodeUlLidivSpanDefault'), props => getThemeVariantValue(_extends({}, props, {
}), 'colorTreeNodeUlLidivSpanDefault'), IconStyleBase, props => getThemeVariantValue(_extends({}, props, {
defaultTheme: TreeStyleTheme

@@ -31,0 +32,0 @@ }), 'transformTreeNodeUlLidivSpanDefault')); // TreeNodeStyleUlLidivSpan.defaultProps = {

{
"name": "@uiw/react-tree",
"version": "5.0.0-bate-0",
"version": "5.0.0-bate-1",
"description": "Tree component",

@@ -48,6 +48,6 @@ "author": "Kenny Wong <wowohoo@qq.com>",

"dependencies": {
"@uiw/react-icon": "^5.0.0-bate-0",
"@uiw/utils": "^5.0.0-bate-0",
"@uiw/react-icon": "^5.0.0-bate-1",
"@uiw/utils": "^5.0.0-bate-1",
"react-transition-group": "~4.4.5"
}
}
import styled, { css } from 'styled-components';
import { getThemeVariantValue, ThemeVariantValueOptions } from '@uiw/utils';
import { TreeRenderTitleNode, TreeProps } from '../index';
import { IconStyleBase } from '@uiw/react-icon';

@@ -93,3 +94,3 @@ export const TreeStyleTheme = {

}
.w-icon {
${IconStyleBase} {
transition: 0.3s all;

@@ -96,0 +97,0 @@ transform: ${(props) =>

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