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

@brighthr/component-tooltip

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brighthr/component-tooltip - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist/index.js

@@ -6,5 +6,5 @@ // src/index.tsx

// src/onClickOutside.js
// src/onClickOutside.tsx
import { useEffect } from "react";
var onClickOutside = (ref, handler) => {
var useOnClickOutside = (ref, handler) => {
useEffect(() => {

@@ -22,3 +22,3 @@ const handleClick = (e) => {

};
var onClickOutside_default = onClickOutside;
var onClickOutside_default = useOnClickOutside;

@@ -25,0 +25,0 @@ // src/index.tsx

{
"name": "@brighthr/component-tooltip",
"version": "1.0.0",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "tsup --watch",
"build": "tsup"
},
"eslintConfig": {
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": [
"**/*.test.tsx"
]
}
]
}
},
"devDependencies": {
"@testing-library/react": "^12.0.0"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"dependencies": {
"@brighthr/component-icon": "^2.0.0",
"@testing-library/user-event": "^14.4.3",
"classnames": "^2.3.1"
},
"gitHead": "1b82cedd964ef0ee483494eba535cdd0e48716ea"
"name": "@brighthr/component-tooltip",
"version": "1.0.1",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"start": "tsup --watch",
"build": "tsup"
},
"peerDependencies": {
"react": ">=16.9.0"
},
"dependencies": {
"@brighthr/component-icon": "^2.0.1",
"classnames": "^2.3.1"
},
"gitHead": "bcc368c7b077e1087feecd6299cc53416f05ae25"
}

@@ -6,2 +6,3 @@ # ComponentName

To install, type the following into the command line at the root of your project:
```javascript

@@ -14,4 +15,5 @@ npm i @brighthr/component-tooltip

Import into your file:
```javascript
import Tooltip from '@brighthr/component-tooltip';
```

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