New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
347
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-tooltip - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

3

dist/react-tooltip.js

@@ -140,5 +140,2 @@ 'use strict';

targetArray = document.querySelectorAll('[data-tip][data-for="' + id + '"]');
if (targetArray.length > 0) {
console.error('You have duplicate react-tooltip, tooltip id is: ' + id);
}
}

@@ -145,0 +142,0 @@

2

package.json
{
"name": "react-tooltip",
"version": "0.7.1",
"version": "0.7.2",
"description": "react tooltip component",

@@ -5,0 +5,0 @@ "main": "dist/react-tooltip.js",

@@ -41,3 +41,3 @@ # react-tooltip

##### Place: String [ top, right, bottom, left ]
#### Place: String [ top, right, bottom, left ]

@@ -51,3 +51,3 @@ ```js

```
##### Type: String [ dark, success, warning, error, info, light ]
#### Type: String [ dark, success, warning, error, info, light ]

@@ -61,3 +61,3 @@ ```js

```
##### Effect: String [ float, solid ]
#### Effect: String [ float, solid ]

@@ -72,3 +72,3 @@ ```js

##### Position: Object [ top, right, bottom, left ]
#### Position: Object [ top, right, bottom, left ]

@@ -83,3 +83,3 @@ ```js

##### Multiline: Bool [ true, false ]
#### Multiline: Bool [ true, false ]

@@ -94,3 +94,3 @@ ```js

##### Extra Class: String
#### Extra Class: String

@@ -105,3 +105,3 @@ ```js

##### Insert HTML
#### Insert HTML

@@ -119,4 +119,3 @@ ```js

**Note:**
##### Note:
1. **data-tip** is necessary, because `<ReactTooltip />` find tooltip via this attribute

@@ -128,2 +127,3 @@ 2. **data-for** correspond to the **id** of `<ReactTooltip />`

`ReactTooltip.hide()` for hide the tooltip manually
`ReactTooltup.rebuild()` for re-bind tooltip to the corresponding element

@@ -130,0 +130,0 @@

@@ -99,5 +99,2 @@ 'use strict'

targetArray = document.querySelectorAll('[data-tip][data-for="' + id + '"]')
if (targetArray.length > 0) {
console.error('You have duplicate react-tooltip, tooltip id is: ' + id)
}
}

@@ -333,3 +330,3 @@

}
for (let i = string.length - 1; i >= 0 ; i--) {
for (let i = string.length - 1; i >= 0; i--) {
if (string[i] !== ' ') {

@@ -336,0 +333,0 @@ break

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