@brighthr/component-tooltip
Advanced tools
Comparing version 0.0.16 to 1.0.0
import React from 'react'; | ||
export declare type TooltipProps = React.HTMLAttributes<HTMLDivElement> & { | ||
import { IconName } from '@brighthr/component-icon'; | ||
declare type TooltipProps = React.HTMLAttributes<HTMLDivElement> & { | ||
className?: string; | ||
iconName?: string; | ||
iconName?: IconName; | ||
label?: string; | ||
}; | ||
declare const Tooltip: ({ className, iconName, label, children, }: TooltipProps) => React.ReactElement; | ||
export default Tooltip; | ||
export { TooltipProps, Tooltip as default }; |
{ | ||
"name": "@brighthr/component-tooltip", | ||
"version": "0.0.16", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"source": "src/index.tsx", | ||
"exports": "./dist/index.modern.js", | ||
"main": "./dist/index.cjs", | ||
"module": "./dist/index.module.js", | ||
"types": "./dist/index.d.ts", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist" | ||
], | ||
"publishConfig": { | ||
@@ -15,4 +16,4 @@ "access": "public" | ||
"scripts": { | ||
"start": "microbundle watch --jsx React.createElement --jsxFragment React.Fragment", | ||
"build": "microbundle --jsx React.createElement --jsxFragment React.Fragment" | ||
"start": "tsup --watch", | ||
"build": "tsup" | ||
}, | ||
@@ -38,7 +39,7 @@ "eslintConfig": { | ||
"dependencies": { | ||
"@brighthr/component-icon": "^1.1.26", | ||
"@brighthr/component-icon": "^2.0.0", | ||
"@testing-library/user-event": "^14.4.3", | ||
"classnames": "^2.3.1" | ||
}, | ||
"gitHead": "0fb1231fb99f81852dc13294853ce35610681077" | ||
"gitHead": "1b82cedd964ef0ee483494eba535cdd0e48716ea" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
13336
8
138
1
+ Added@brighthr/component-icon@2.1.5(transitive)
+ Added@brighthr/icons@1.136.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addedreact@18.3.1(transitive)
- Removed@brighthr/component-icon@1.1.26(transitive)