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

m-balloon

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-balloon - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

8

index.js

@@ -271,9 +271,9 @@ 'use strict';

// balloon的内容,可以是一个字符串,也可以是任意的html内容
content: _PropTypes2.oneOfType([_PropTypes2.object, _PropTypes2.string]).isRequired,
content: _PropTypes2.default.oneOfType([_PropTypes2.object, _PropTypes2.string]).isRequired,
// balloon的展示位置
placement: _PropTypes2.oneOf(['top', 'bottom', 'left', 'right', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'rightTop', 'leftBottom', 'rightBottom']),
placement: _PropTypes2.default.oneOf(['top', 'bottom', 'left', 'right', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'rightTop', 'leftBottom', 'rightBottom']),
// 提供让调用容器直接改变显隐的属性
visible: _PropTypes2.bool,
onVisibleChange: _PropTypes2.func
visible: _PropTypes2.default.bool,
onVisibleChange: _PropTypes2.default.func
};

@@ -280,0 +280,0 @@

{
"name": "m-balloon",
"version": "1.1.0",
"version": "1.1.1",
"description": "m-balloon - simulate 'title' pop layer",

@@ -32,3 +32,3 @@ "main": "index.js",

"prop-types": "^15.5.8",
"r-trigger": "^1.0.1",
"r-trigger": "^1.1.0",
"react": "^15.5.4",

@@ -35,0 +35,0 @@ "react-dom": "^15.5.4"

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