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

@atlaskit/tooltip

Package Overview
Dependencies
Maintainers
1
Versions
232
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/tooltip - npm Package Compare versions

Comparing version 16.0.0 to 16.0.1

6

CHANGELOG.md
# @atlaskit/tooltip
## 16.0.1
### Patch Changes
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
## 16.0.0

@@ -4,0 +10,0 @@

6

dist/cjs/components/Tooltip.js

@@ -151,9 +151,11 @@ "use strict";

if (!prevState.isVisible && this.state.isVisible) {
if (this.props.onShow)
if (this.props.onShow) {
this.props.onShow();
}
window.addEventListener('scroll', this.handleWindowScroll, SCROLL_OPTIONS);
}
else if (prevState.isVisible && !this.state.isVisible) {
if (this.props.onHide)
if (this.props.onHide) {
this.props.onHide();
}
this.removeScrollListener();

@@ -160,0 +162,0 @@ }

@@ -6,10 +6,10 @@ /// <reference types="react" />

export declare const TooltipPrimitive: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps>;
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").NoThemeProps)>;
} & import("@atlaskit/theme/dist/cjs/types").NoThemeProps)>;
export declare const Target: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export {};
{
"name": "@atlaskit/tooltip",
"version": "16.0.0",
"version": "16.0.1",
"sideEffects": false
}

@@ -146,9 +146,11 @@ /* eslint-disable react/require-default-props */

if (!prevState.isVisible && this.state.isVisible) {
if (this.props.onShow)
if (this.props.onShow) {
this.props.onShow();
}
window.addEventListener('scroll', this.handleWindowScroll, SCROLL_OPTIONS);
}
else if (prevState.isVisible && !this.state.isVisible) {
if (this.props.onHide)
if (this.props.onHide) {
this.props.onHide();
}
this.removeScrollListener();

@@ -155,0 +157,0 @@ }

@@ -6,10 +6,10 @@ /// <reference types="react" />

export declare const TooltipPrimitive: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps>;
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").NoThemeProps)>;
} & import("@atlaskit/theme/dist/cjs/types").NoThemeProps)>;
export declare const Target: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export {};
{
"name": "@atlaskit/tooltip",
"version": "16.0.0",
"version": "16.0.1",
"sideEffects": false
}

@@ -149,9 +149,11 @@ /* eslint-disable react/require-default-props */

if (!prevState.isVisible && this.state.isVisible) {
if (this.props.onShow)
if (this.props.onShow) {
this.props.onShow();
}
window.addEventListener('scroll', this.handleWindowScroll, SCROLL_OPTIONS);
}
else if (prevState.isVisible && !this.state.isVisible) {
if (this.props.onHide)
if (this.props.onHide) {
this.props.onHide();
}
this.removeScrollListener();

@@ -158,0 +160,0 @@ }

@@ -6,10 +6,10 @@ /// <reference types="react" />

export declare const TooltipPrimitive: import("styled-components").StyledComponentClass<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & TooltipProps>;
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
export declare const Tooltip: import("styled-components").StyledComponentClass<(TooltipProps & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (TooltipProps & import("@atlaskit/theme/dist/cjs/types").NoThemeProps), any, (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").AtlaskitThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
} & import("@atlaskit/theme/dist/cjs/types").CustomThemeProps) | (Pick<TooltipProps, "truncate"> & {
theme?: any;
} & import("@atlaskit/theme").NoThemeProps)>;
} & import("@atlaskit/theme/dist/cjs/types").NoThemeProps)>;
export declare const Target: import("styled-components").StyledComponentClass<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
export {};
{
"name": "@atlaskit/tooltip",
"version": "16.0.0",
"version": "16.0.1",
"sideEffects": false
}
{
"name": "@atlaskit/tooltip",
"version": "16.0.0",
"version": "16.0.1",
"description": "A tooltip is a floating, non-actionable label used to explain a user interface element or feature.",

@@ -5,0 +5,0 @@ "publishConfig": {

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