Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@atlaskit/tooltip

atlassian206.5kApache-2.019.0.3TypeScript support: included

A tooltip is a floating, non-actionable label used to explain a user interface element or feature.

atlaskit, react, ui

readme

Tooltip

A tooltip is a floating, non-actionable label used to explain a user interface element or feature.

Installation

yarn add @atlaskit/tooltip

Usage

Detailed docs and example usage can be found here.

changelog

@atlaskit/tooltip

19.0.3

Patch Changes

19.0.2

Patch Changes

  • #103594 7b1a8574e9c29 - Fix or temporarily ignore TypeScript errors that occur in internal React 18 suites.

19.0.1

Patch Changes

  • Updated dependencies

19.0.0

Major Changes

  • #174355 d0d1aae2aa428 - Migrated from @emotion/react to @compiled/react in order to improve performance, align with the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to use this version of @atlaskit/tooltip, you will need to ensure that your bundler is configured to handle .css imports correctly.

    Most bundlers come with built-in support for .css imports, so you may not need to do anything. If you are using a different bundler, please refer to the documentation for that bundler to understand how to handle .css imports. For more information on the migration, please refer to RFC-73 Migrating our components to Compiled CSS-in-JS.

18.9.4

Patch Changes

  • Updated dependencies

18.9.3

Patch Changes

  • Updated dependencies

18.9.2

Patch Changes

  • #166026 962b5e77810fb - Adds side-effect config to support Compiled css extraction in third-party apps

18.9.1

Patch Changes

  • #164322 e9317ed13ba40 - Internal refactors to state to reduce the number of JavaScript event listeners.

18.9.0

Minor Changes

  • be6f923511512 - - Added new prop: canAppear, which can be used to conditionally show tooltips.
    • Added new prop: isScreenReaderAnnouncementDisabled which can be used to disable hidden text for tooltips. This is useful when the Tooltip content matches the Tooltip trigger content as hidden text is not required.

Patch Changes

  • Updated dependencies

18.8.5

Patch Changes

  • Updated dependencies

18.8.4

Patch Changes

  • Updated dependencies

18.8.3

Patch Changes

  • Updated dependencies

18.8.2

Patch Changes

  • Updated dependencies

18.8.1

Patch Changes

  • #148281 3c4de48168ffe - Update the import path of useId* from @atlaskit/ds-lib
  • Updated dependencies

18.8.0

Minor Changes

  • #148344 025feb57ca48b - Adds usage of the useNotifyLayerObserver hook from the layering package. The hook is behind a feature flag.

18.7.3

Patch Changes

  • Updated dependencies

18.7.2

Patch Changes

  • #134213 cd16d91b93dff - We are testing an internal change to use an ID generator compatible with both React 16 and React 18. If these changes are successful, it will be rolled out in a later release.

18.7.1

Patch Changes

  • Updated dependencies

18.7.0

Minor Changes

  • #127511 db30e29344013 - Widening range of react and react-dom peer dependencies from ^16.8.0 || ^17.0.0 || ~18.2.0 to the wider range of ^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).

    This change has been done to enable usage of `react@18.3as well as to have a consistent peer dependency range forreactandreact-domfor/platform` packages.

Patch Changes

  • Updated dependencies

18.6.0

Minor Changes

  • 8b8090800a35d - Bump peer dependency for react-dom to include version 17 and 18.

Patch Changes

  • Updated dependencies

18.5.2

Patch Changes

  • Updated dependencies

18.5.1

Patch Changes

  • #114683 ff0815316ab38 - Removes usage of custom theme button in places where its API is not being used and the default button is able to be used instead. This should give a slight performance (runtime) improvement.

18.5.0

Minor Changes

  • #111016 d131599730792 - Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime is implicitly set to automatic.

Patch Changes

  • Updated dependencies

18.4.1

Patch Changes

  • Updated dependencies

18.4.0

Minor Changes

18.3.0

Minor Changes

  • #90966 f632d3701e96 - Add ignoreTooltipPointerEvents prop. When set to true it adds pointer-events: none to the tooltip itself. This will also prevent the tooltip from persisting when hovered.

18.2.2

Patch Changes

18.2.1

Patch Changes

  • #88717 d92770eae702 - Adding internal eslint opt outs for a new rule @atlaskit/design-system/no-direct-use-of-web-platform-drag-and-drop.

18.2.0

Minor Changes

  • #87879 40c7b496eacd - [ux] Internal changes to typography, small visual change to tooltip text line height.

18.1.3

Patch Changes

18.1.2

Patch Changes

  • #75714 33f4a64132a3 - Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the aria-label attribute.

18.1.1

Patch Changes

  • #64251 92b280e734a7 - Add a hidden tooltip content when tooltip is in a modal for screen reader announcement

18.1.0

Minor Changes

  • #61952 d00b9272c88c - [ux] Tooltips are now hidden during drags. This is to prevent janky UX.

18.0.0

Major Changes

  • #41881 1de74609c13 - Removed all remaining legacy theming logic from the Tag, Toggle and Tooltip components.

17.8.10

Patch Changes

17.8.9

Patch Changes

  • #42475 c93c86d4089 - Tooltip no longer throws in an effect when the first child of tooltip isn't an element.
  • #42475 61779a58ad8 - Tooltip nolonger memoizes the ref callback function for the implicit passing-children-jsx API. The children-as-function API remains memoized. For more control and better performance characteristics we recommend leaning on the explicit children-as-function API over the implicit passing-children-jsx API.

17.8.8

Patch Changes

  • #40650 07aa588c8a4 - Reverts the fix to text descender cut-off, due to incompatibilities with Firefox and Safari.

17.8.7

Patch Changes

  • #40904 f5731d7c0ca - Improve the performance of the tooltip trigger's ref setter function by ensuring the useCallback only regenerates a new reference when absolutely needed (rather than on every render).

17.8.6

Patch Changes

17.8.5

Patch Changes

  • #38209 56b444b56a8 - Fix a bug where text descenders were cut off at high zoom levels on Windows

17.8.4

Patch Changes

  • #36754 4ae083a7e66 - Use @af/accessibility-testing for default jest-axe config and jest-axe import in accessibility testing.

17.8.3

Patch Changes

  • #35441 599bfe90ee3 - Internal change to use shape tokens. There is no expected visual change.

17.8.2

Patch Changes

17.8.1

Patch Changes

17.8.0

Minor Changes

Patch Changes

  • Updated dependencies

17.7.1

Patch Changes

17.7.0

Minor Changes

17.6.9

Patch Changes

  • #29470 6cb57eb428d - Update examples for Tooltip to use render props API to aid in eventual deprecation of wrapping children.
  • Updated dependencies

17.6.8

Patch Changes

  • Updated dependencies

17.6.7

Patch Changes

  • #29390 18aeca8c199 - Internal change to update token references. There is no expected behaviour or visual change.

17.6.6

Patch Changes

  • #29227 4ee60bafc6d - ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add allowedSideEffects when loading the page.

17.6.5

Patch Changes

  • Updated dependencies

17.6.4

Patch Changes

  • Updated dependencies

17.6.3

Patch Changes

  • #27313 4fd77eaf22b - Align TriggerProps with the actual output, and make data-testid explicit

17.6.2

Patch Changes

  • Updated dependencies

17.6.1

Patch Changes

  • #26303 9827dcb82b8 - No-op change to introduce spacing tokens to design system components.

17.6.0

Minor Changes

  • #24710 15f0ad7aaa3 - Updates @emotion/core to @emotion/react; v10 to v11. There is no expected behavior change.

17.5.17

Patch Changes

17.5.16

Patch Changes

17.5.15

Patch Changes

  • #22691 338ba1a1500 - [ux] Improves accuracy of Tooltip placement relative to the mouse when using position="mouse"

17.5.14

Patch Changes

  • #23381 13a202fde6b - Fixes a bug where undefined test IDs were being added to Tooltip wrappers when no test ID was set
  • Updated dependencies

17.5.13

Patch Changes

  • #22642 45ebe7af434 - Moved to using declarative entrypoints internally. Public API is unchanged.
  • 4efc76f8a72 - [ux] Fixes a bug where tooltip entrance and exit direction animations were not working since version 12.1.7, after upgrading react-popper.

    This involved adding a wrapper <div> around the tooltip to separate the positioning and animation styles. The wrapper can be identified in tests using testId with the pattern {testId}--wrapper.

  • Updated dependencies

17.5.12

Patch Changes

  • #22614 8a5bdb3c844 - Upgrading internal dependency (bind-event-listener) for improved internal types

17.5.11

Patch Changes

  • Updated dependencies

17.5.10

Patch Changes

  • Updated dependencies

17.5.9

Patch Changes

  • #21242 2e7bbdfd813 - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types

17.5.8

Patch Changes

17.5.7

Patch Changes

  • Updated dependencies

17.5.6

Patch Changes

  • Updated dependencies

17.5.5

Patch Changes

  • #19019 d0eed99c3e3 - ED-14264 Moved styles to emotion css
  • 6007e4f9a97 - Internal styling has been refactored in preparation for @compiled/react
  • Updated dependencies

17.5.4

Patch Changes

  • #16752 19d72473dfb - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
  • Updated dependencies

17.5.3

Patch Changes

  • Updated dependencies

17.5.2

Patch Changes

  • #15998 f460cc7c411 - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
  • Updated dependencies

17.5.1

Patch Changes

  • Updated dependencies

17.5.0

Minor Changes

  • #14319 cf853e39278 - Added the render props support to the Tooltip component. Linked the tooltip text to the trigger using aria-describedby for users with assistive technologies.

Patch Changes

  • Updated dependencies

17.4.1

Patch Changes

  • Updated dependencies

17.4.0

Minor Changes

  • #13302 45e06ed2420 - Instrumented Tooltip with the new theming package, @atlaskit/tokens. Tokens will be visible only in applications configured to use the new Tokens API (currently in alpha). These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.

Patch Changes

  • Updated dependencies

17.3.1

Patch Changes

17.3.0

Minor Changes

  • #12328 152d0955271 - Impelemented hiding the tooltip when escape pressed
  • a5d452bcb30 - [ux] Tooltip now stays visible when hovering over it, previously it would disappear. This is one of the many accessibility improvements we're rolling out to the Atlassian Design System.

Patch Changes

  • Updated dependencies

17.2.2

Patch Changes

17.2.1

Patch Changes

  • Updated dependencies

17.2.0

Minor Changes

  • #9083 8386261266c - Tooltip content now supports an optional render props API. This API provides an update function which can be called to manually recalculate the position of the tooltip.

    This update function is useful if you are changing the content of the tooltip while it is being displayed.

Patch Changes

  • 1bcfae1edb9 - Add role presentation to tooltip.
  • 7116601e1b2 - Internal typing refactored to be readable by extract-react-types.
  • Updated dependencies

17.1.3

Patch Changes

  • #8644 79c23df6340 - Use injected package name and version for analytics instead of version.json.

17.1.2

Patch Changes

17.1.1

Patch Changes

  • #5693 d36905cfe9 - Fixed incorrect function signature for onShow and onHide props, and added improved typing for these props.

    • old: analyticsEvent was the first argument
    • change: analyticsEvent became the second argument unintentionally (bug introduced 17.0.0)
    • now: restoring old behavior, analyticsEvent as the first argument

    If you migrated analyticsEvent to the second argument to mitigate this bug, you will need to update your code.

  • Updated dependencies

17.1.0

Minor Changes

17.0.3

Patch Changes

  • #5497 5f58283e1f - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started Also add typescript to devDependencies to denote version that the package was built with.

17.0.2

Patch Changes

  • Updated dependencies

17.0.1

Patch Changes

17.0.0

Major Changes

  • #4424 83586f015e - Tooltip has been refactored to improve performance and be compliant with the lite-mode specification.

    • Removed react-transition-group in favor of @atlaskit/motion to reduce bundle size
    • Removed react-node-resolver because of its use of React.findDOMNode which has been marked as deprecated by the React team (more below...)
    • Removes analytics-next HOCs in favor of hook variant (You may need to update snapshot tests)
    • Removes all usage of HOCs
    • Replaces styled-components v3 with @emotion/core to improve runtime and bundle-size
    • If you are passing component to the tag prop then your component will need to expose a ref prop (ref: React.Ref<HTMLElement>).

    Important to note:

    Only a single element can be supplied to Tooltip as children, no plain text etc. (this has not changed from previous version).

Patch Changes

  • f32a1f0ebf - update @atlaskit/tooltip position prop to support Placement type.
  • 3f7751f72c - - Fixed issue where tooltip would not hide in some circumstances
    • Added official support for nested tooltips within tooltips
    • Test IDs will now be applied to the container element as well as the tooltip, with '--container' appended to the end

16.0.4

Patch Changes

  • #3885 6c525a8229 - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0

    Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade to prevent duplicates of tslib being bundled.

16.0.3

Patch Changes

  • Updated dependencies

16.0.2

Patch Changes

  • #3293 954cc87b62 - The readme and package information has been updated to point to the new design system website.

16.0.1

Patch Changes

16.0.0

Major Changes

Patch Changes

  • Updated dependencies

15.2.9

Patch Changes

  • #2866 54a9514fcf - Build and supporting files will no longer be published to npm

15.2.8

Patch Changes

15.2.7

Patch Changes

  • Updated dependencies

15.2.6

Patch Changes

15.2.5

Patch Changes

15.2.4

Patch Changes

15.2.3

Patch Changes

15.2.2

Patch Changes

15.2.1

Patch Changes

15.2.0

Minor Changes

  • [minor]24865cfaff:

    Tooltip will now be shown when the target element receives focus and hidden when the target element loses focus.

Patch Changes

15.1.3

Patch Changes

  • [patch]d222c2b987:

    Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided.

    Breaking

    ** getTokens props changes ** When defining the value function passed into a ThemeProvider, the getTokens parameter cannot be called without props; if no props are provided an empty object {} must be passed in:

    <CustomTheme.Provider
      value={t => ({ ...t(), backgroundColor: '#333'})}
    >

    becomes:

    <CustomTheme.Provider
      value={t => ({ ...t({}), backgroundColor: '#333'})}
    >

    ** Color palette changes ** Color palettes have been moved into their own file. Users will need to update imports from this:

    import { colors } from '@atlaskit/theme';
    
    colors.colorPalette('8');

    to this:

    import { colorPalette } from '@atlaskit/theme';
    
    colorPalette.colorPalette('8');

    or for multi entry-point users:

    import * as colors from '@atlaskit/theme/colors';
    
    colors.colorPalette('8');

    to this:

    import * as colorPalettes from '@atlaskit/theme/color-palette';
    
    colorPalettes.colorPalette('8');

15.1.2

Patch Changes

  • [patch]f86839ca4e:

    @atlaskit/portal had an issue in IE11 and this is fixed in 3.1.2

15.1.1

Patch Changes

  • [patch]35d2229b2a:

    Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.

15.1.0

Minor Changes

  • [minor]ca1d742875:

    Adding an optional prop testId that will set the attribute value data-testid. It will help products to write better integration and end to end tests.

15.0.15

Patch Changes

  • [patch]a2d0043716:

    Updated version of analytics-next to fix potential incompatibilities with TS 3.6

15.0.14

Patch Changes

  • [patch]097b696613:

    Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports

15.0.13

Patch Changes

15.0.12

Patch Changes

  • [patch]708028db86:

    Change all the imports to theme in Core to use multi entry points

15.0.11

Patch Changes

  • [patch]b8e9a6c5a3:

    Children has now been added to Tooltip's prop-types

15.0.10

Patch Changes

  • [patch]de35ce8c67:

    Updates component maintainers

15.0.9

Patch Changes

  • [patch]926b43142b:

    Analytics-next has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No behavioural changes.

    Breaking changes

    • withAnalyticsForSumTypeProps alias has been removed, please use withAnalyticsEvents
    • AnalyticsContextWrappedComp alias has been removed, please use withAnalyticsContext

    Breaking changes to TypeScript annotations

    • withAnalyticsEvents now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • withAnalyticsContext now infers proptypes automatically, consumers no longer need to provide props as a generic type.
    • Type WithAnalyticsEventProps has been renamed to WithAnalyticsEventsProps to match source code
    • Type CreateUIAnalyticsEventSignature has been renamed to CreateUIAnalyticsEvent to match source code
    • Type UIAnalyticsEventHandlerSignature has been renamed to UIAnalyticsEventHandler to match source code
    • Type AnalyticsEventsPayload has been renamed to AnalyticsEventPayload
    • Type ObjectType has been removed, please use Record<string, any> or [key: string]: any
    • Type UIAnalyticsEventInterface has been removed, please use UIAnalyticsEvent
    • Type AnalyticsEventInterface has been removed, please use AnalyticsEvent
    • Type CreateAndFireEventFunction removed and should now be inferred by TypeScript
    • Type AnalyticsEventUpdater removed and should now be inferred by TypeScript

15.0.8

Patch Changes

  • [patch]688f2957ca:

    Fixes various TypeScript errors which were previously failing silently

15.0.7

Patch Changes

  • [patch]f34776be97:

    Type definition files are now referenced in package.json

15.0.6

15.0.5

Patch Changes

  • [patch]9f8ab1084b:

    Consume analytics-next ts type definitions as an ambient declaration.

15.0.4

Patch Changes

  • [patch]d0db01b410:

    TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps of the returned component.

    Before:

    withAnalyticsEvents()(Button) as ComponentClass<Props>;

    After:

    withAnalyticsEvents<Props>()(Button);

15.0.3

Patch Changes

  • [patch]29a1f158c1:

    Use default react import in typescript files.

15.0.2

15.0.1

Patch Changes

15.0.0

Major Changes

  • [major]67f06f58dd:

    • @atlaskit/tooltip has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.

14.0.3

14.0.2

  • [patch]b0ef06c685:

    • This is just a safety release in case anything strange happened in in the previous one. See Pull Request #5942 for details

14.0.1

14.0.0

  • [major]7c17b35107:

    • Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.

13.0.5

13.0.4

13.0.3

13.0.2

13.0.1

13.0.0

  • [major]76299208e6:

    • Drop ES5 from all the flow modules

    Dropping CJS support in all @atlaskit packages

    As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain import and export declarations.

    The major reason for doing this is to allow us to support multiple entry points in packages, e.g:

    import colors from `@atlaskit/theme/colors`;

    Previously this was sort of possible for consumers by doing something like:

    import colors from `@atlaskit/theme/dist/esm/colors`;

    This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't actually supposed to be used. 2. We are unable to do this internally in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.

    To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.

    ES Modules are widely supported by all modern bundlers and can be worked around in node environments.

    We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.

    Please reach out to #fabric-build (if in Atlassian) or create an issue in Design System Support (for external) if you have any questions or queries about this.

12.1.17

  • [patch]c4edb3ab4d:

    • Move tooltip to render popper in portal to maintain ref that Popper needs to initially position the tooltip

12.1.16

12.1.15

12.1.14

  • [patch]8f179c4:

    • Remove scroll listener in componentWillMount in Tooltip to fix potential memory leak from 'close' tooltip not properly unmounting when hiding Examples modal via the X button

12.1.13

12.1.12

12.1.11

12.1.10

12.1.9

12.1.8

12.1.7

  • [patch]3b03f52:

    • Use @atlaskit/popper internally instead of a custom approach to position management

12.1.6

  • [patch]7f1ff28:

    Fixes error when Tooltip attempts to setState on an unmounted component

12.1.5

12.1.4

  • [patch] Adds missing implicit @babel/runtime dependency b71751b

12.1.3

  • [patch] onHide and onShow are now called in componentDidUpdate so they behave consistently between all hides and shows e20f11a

12.1.2

  • [patch] Fix edgecase where when handleMouseOver was called before handleMouseEnter, causing the mouseCoordinates to be null, and the tooltip to render at the top left of the page c2694aa

12.1.1

12.1.0

  • [minor] Adds the new hideTooltipOnMouseDown was required since global-navigation and navigation-next are using onMouseDown and onMouseUp iteractions 8719daf

12.0.14

12.0.13

12.0.12

  • [patch] Adds sideEffects: false to allow proper tree shaking b5d6d04

12.0.11

  • [patch] tooltip will not appear when content is undefined null or an empty string 239b448

12.0.9

12.0.8

12.0.7

12.0.6

  • [patch] replaces internal utility with flushable library beb9fce
  • [none] Updated dependencies beb9fce

12.0.5

12.0.4

12.0.3

12.0.2

  • [patch] tooltip now renders popup into @atlaskit/portal 64fba41
  • [none] Updated dependencies 64fba41

12.0.1

12.0.0

11.0.0

10.3.1

10.3.0

10.2.1

10.2.0

10.1.0

  • [minor] Remove warning HoC from tooltip, meaning base class is the default export again c88ff8c
  • [none] Updated dependencies c88ff8c

10.0.1

10.0.0

9.2.1

9.2.0

  • [minor] add delay prop to tooltip. still defaults to 300ms. 66c6264
  • [none] Updated dependencies 66c6264

9.1.5

  • [patch] Fix long words in tooltip content overflowing the tooltip, they will now wrap. b2967ef

9.1.4

  • [patch] Fix tooltips sometimes not hiding when rapidly switching between them 760f6a0

9.1.3

  • [patch] Fix react warnings caused when unmounting a tooltip when it is queued for show/hide 6d9cc52

9.1.2

  • [patch] Fix tooltip scroll listeners not being removed properly and an edgecase viewport autoflip issue 0a3ccc9

9.1.1

  • [patch] Fix viewport edge collision detection for non-mouse positions in some cases and improve detection to include scrollbars e66bce5

9.1.0

  • [patch] Improve viewport edge collision detection. Tooltips will now shift along the secondary position axis (e.g. left/right when position is top/bottom) to show within viewport. Fix auto flip occurring incorrectly in these situations as well. ebf331a
  • [minor] Add new 'mouse' value for position prop and mousePosition prop to allow the tooltip to display relative to the mouse. 1d5577d

9.0.0

  • [major] Bump to React 16.3. 4251858

8.4.2

  • [patch] Makes packages Flow types compatible with version 0.67 25daac0

8.4.1

  • [patch] Re-releasing due to potentially broken babel release 9ed0bba

8.4.0

  • [minor] Update styled-components dependency to support versions 1.4.6 - 3 ceccf30

8.3.2

8.3.1

  • [patch] Packages Flow types for elements components 3111e74

8.3.0

  • [minor] update atlaskit/theme to 2.3.2 3795197

8.2.1

  • [patch] Flatten examples for easier consumer use 145b632

8.2.0

  • [minor] new prop component to open custom tooltip 3f892d5

8.1.1

  • [patch] Resolved low hanging flow errors in field-base field-text comment icon item and website, $ 007de27

8.1.0

  • [minor] Add React 16 support. 12ea6e4

8.0.12

  • [patch] replace internal deprecation warning hoc with package c399777

8.0.10

  • [patch] AK-4064 ensure unmountComponentAtNode is called for components rendered via ReactDOM.render e3153c3

8.0.9

  • [patch] remove unused button dependency and corrected themes type 3475dd6

8.0.6

  • [patch] bump icon dependency da14956

8.0.3

  • [patch] Use correct dependencies 7b178b1
  • [patch] Adding responsive behavior to the editor. e0d9867

8.0.0 (2017-11-10)

  • This was an accidental release - do no use, go directly to 8.0.1

7.0.0 (2017-11-10)

  • added flow types
  • rewritten the logic for positioning tooltips, removed Popper.js
  • uses @atlaskit/layer-manager to render outside app context/stack
  • removed stateless component
  • `description` has been renamed to `content`

6.2.2 (2017-10-26)

  • bug fix; fix to rebuild stories (793b2a7)

6.2.1 (2017-10-22)

  • bug fix; update styled components dep and react peerDep (5539ada)

6.2.0 (2017-10-18)

  • feature; add trigger prop to tooltip (7721243)
  • feature; use mouseEnter and mouseLeave instead of mouseOver and mouseOut (55cf15e)

6.1.0 (2017-10-18)

  • feature; add trigger prop to tooltip (7721243)
  • feature; use mouseEnter and mouseLeave instead of mouseOver and mouseOut (55cf15e)

6.0.0 (2017-08-30)

  • breaking; The tooltip trigger is now wrapped in a div with 'display: inline-block' applied. Previously it was (de263e5)
  • breaking; tooltip now disappears as soon as the mouse leaves the trigger (issues closed: ak-1834) (de263e5)

5.0.1 (2017-08-21)

  • bug fix; fix PropTypes warning (040d579)

5.0.0 (2017-08-11)

  • bug fix; fix the theme-dependency (db90333)
  • breaking; affects internal styled-components implementation (d14522a)
  • breaking; implement dark mode theme (d14522a)
  • feature; updated dark colors for Tooltip (8fbbb8c)
  • feature; new theme methods (3656ee3)
  • feature; add dark mode support to tooltip (aa87b89)

4.0.0 (2017-08-11)

  • breaking; affects internal styled-components implementation (d14522a)
  • breaking; implement dark mode theme (d14522a)
  • feature; updated dark colors for Tooltip (8fbbb8c)
  • feature; new theme methods (3656ee3)
  • feature; add dark mode support to tooltip (aa87b89)

3.4.2 (2017-07-27)

  • fix; rename jsnext:main to jsnext:experimental:main temporarily (c7508e0)

3.4.1 (2017-07-25)

  • fix; use class transform in loose mode in babel to improve load performance in apps (fde719a)

3.1.0 (2017-07-17)

  • fix; rerelease, failed prepublish scripts (5fd82f8)
  • feature; added ES module builds to dist and add jsnext:main to most ADG packages (ea76507)

2.0.0 (2017-07-17)

  • replace LESS with SC (d1b5911)
  • breaking; named export "Tooltip" is now "TooltipStateless". prop "visible" is now "isVisible"
  • ISSUES CLOSED: AK-2059

1.2.1 (2017-07-13)

  • fix; add prop-types as a dependency to avoid React 15.x warnings (92598eb)

1.2.0 (2017-05-10)

1.1.2 (2017-04-27)

  • fix; update legal copy to be more clear. Not all modules include ADG license. (f3a945e)

1.1.1 (2017-04-26)

  • fix; update legal copy and fix broken links for component README on npm. New contribution and (0b3e454)

1.1.0 (2017-04-20)

  • feature; removed explicit style! imports, set style-loader in webpack config (891fc3c)

1.0.8 (2017-04-04)

  • fix; adds defensive code to allow testing in mocha/jsdom (2eaab5b)

1.0.6 (2017-03-21)

  • fix; maintainers for all the packages were added (261d00a)

1.0.4 (2017-02-28)

  • fix; prevent word wrapping of tooltip for TextAdvancdFormatting elements (31b51a4)
  • fix; removes jsdoc annotations and moves content to usage.md (2d794cd)
  • fix; dummy commit to release stories (3df5d9f)

1.0.3 (2017-02-20)

  • Add missing TS definition for tooltip (aae714d)
  • Add TS definition for tooltip (5c023e9)
  • Use atlaskit tooltips instead of browser native tooltips (d0018eb)

1.0.2 (2017-02-07)

  • fix; Updates package to use scoped ak packages (73d1427)