React Tooltip

Related tags

Charts tooltip
Overview

rc-tooltip

React Tooltip

NPM version dumi build status Test coverage gemnasium deps node version npm download

Screenshot

Browsers support

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
IE 8 + Firefox 31.0+ Chrome 31.0+ Safari 7.0+ Opera 30.0+

Install

rc-tooltip

Usage

var Tooltip = require('rc-tooltip');
var React = require('react');
var ReactDOM = require('react-dom');

// By default, the tooltip has no style.
// Consider importing the stylesheet it comes with:
// 'rc-tooltip/assets/bootstrap_white.css'

ReactDOM.render(
  <Tooltip placement="left" trigger={['click']} overlay={<span>tooltip</span>}>
    <a href="#">hover</a>
  </Tooltip>,
  container
);

Examples

npm start and then go to http://localhost:8007/examples

Online examples: https://react-component.github.io/tooltip/examples/

API

Props

name type default description
overlayClassName string additional className added to popup overlay
trigger string | string[] ['hover'] which actions cause tooltip shown. enum of 'hover','click','focus'
mouseEnterDelay number 0 delay time to show when mouse enter.unit: s.
mouseLeaveDelay number 0.1 delay time to hide when mouse leave.unit: s.
overlayStyle Object additional style of overlay node
prefixCls String rc-tooltip prefix class name
transitionName String|Object same as https://github.com/react-component/animate
onVisibleChange Function call when visible is changed
afterVisibleChange Function call after visible is changed
visible boolean whether tooltip is visible
defaultVisible boolean whether tooltip is visible initially
placement String one of ['left','right','top','bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'rightTop', 'rightBottom', 'leftTop', 'leftBottom']
align Object: alignConfig of [dom-align](https://github.com/yiminghe/dom-align) value will be merged into placement's config
onPopupAlign function(popupDomNode, align) callback when popup node is aligned
overlay React.Element | () => React.Element popup content
overlayInnerStyle Object set overlay inner style
showArrow boolean true arrow visible
arrowContent React.Node null arrow content
getTooltipContainer function Function returning html node which will act as tooltip container. By default the tooltip attaches to the body. If you want to change the container, simply return a new element.
destroyTooltipOnHide boolean | { keepParent: boolean } false whether destroy tooltip when tooltip is hidden.In general, destroyTooltipOnHide will only remove itself instead of parent container of it.Parent container will be removed include tooltip when keepParent is true
id String Id which gets attached to the tooltip content. Can be used with aria-describedby to achieve Screenreader-Support.

Important Note

Tooltip requires a child node that accepts an onMouseEnter, onMouseLeave, onFocus, onClick event. This means the child node must be a built-in component like div or span, or a custom component that passes its props to its built-in component child.

Accessibility

For accessibility purpose you can use the id prop to link your tooltip with another element. For example attaching it to an input element:

<Tooltip
    ...
    id={this.props.name}>
    <input type="text"
           ...
           aria-describedby={this.props.name}/>
</Tooltip>

If you do it like this, a screenreader would read the content of your tooltip if you focus the input element.

NOTE: role="tooltip" is also added to expose the purpose of the tooltip element to a screenreader.

Development

npm install
npm start

Test Case

npm test
npm run chrome-test

Coverage

npm run coverage

License

rc-tooltip is released under the MIT license.

Comments
  • Added Screenreader-Support with ariaId

    Added Screenreader-Support with ariaId

    Added ariaId prop, which gets attached to the tooltips inner content container and can be used with aria-describedby for better accessibility and Screenreader-Support.

    opened by dsumer 14
  • Tooltip always shown

    Tooltip always shown

    The tooltip with text Text Two is always visible after the previous tooltip with text Text One is shown.

    Example code:

    showTooltip() {
        const {myCondition} = this.props;
        if (myCondition) {
            return <Tooltip
                    placement="bottom"
                    overlay={"Text Two"}>
                   Hello
                </Tooltip>;
        } else {
            return <Tooltip
                    visible={true}
                    placement="bottom"
                    overlay={"Text One"}>
                   Hello
                </Tooltip>;
        }
    }
    
    render () {
        return {
            <div>{showTooltip()}</div>
        }
    }
    
    opened by alxhotel 12
  • Import issues

    Import issues

    Not sure if related to my recent update of my project or not but, after updating to webpack 4.5 I got the following message Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object. You likely forgot to export your component from the file it's defined in. Check the render method ofTooltip`.

    Tooltip is just my component importing rc-tooltip and rendering it nothing fancy:

    import RCTooltip from 'rc-tooltip';
    
    export default class Tooltip extends React.Component {
      render() {
        <RCTooltip>
          {this.props.children}
        </RCTooltip>
      }
    }
    

    In order to get around this I had to do the following:

      render() {
        <RCTooltip.default>
          {this.props.children}
        </RCTooltip.default>
      }
    

    Not sure what happened here, but I thought this was worth mentioning here

    opened by MaximeHeckel 11
  • Impossible to (programmatically) make the tooltip not transparent

    Impossible to (programmatically) make the tooltip not transparent

    The problem is that opacity is always removed from overlayStyle in rc-popup code here: https://github.com/react-component/trigger/blob/858968c26585c7440ae948513045346c7b1eb682/src/Popup.tsx#L299-L304

    Because of this, even if I specify overStyle={{opacity: 1}}, it has no effect, and the tooltip stays transparent.

    Repro

    import Tooltip from 'rc-tooltip'
    
    const App = () => 
        <Tooltip overlayStyle={{opacity: 1}} overlay={<div>I'm still transparent!</div>}>
            <div>Hover on me</div>
        </Tooltip>
    

    Workaround

    Fortunately, this can be (more or less) easily fixed by modifying the rc-tooltip class:

    <style>
        .rc-tooltip { opacity: 1 !important }
    </style>
    
    opened by fsoikin 9
  • Tooltip is not triggered when child is component.

    Tooltip is not triggered when child is component.

    When child of RcTooltip is some component, then tooltip is not triggered. BTW, Ant Design's Tooltip, using RcTooltip too, having the same problem.

    CodeSandbox link to reproduce: https://codesandbox.io/s/still-browser-hwdgm

    opened by OurMajesty 7
  • feat: add keepAlign props

    feat: add keepAlign props

    改动点

    添加 keepAlign 属性,当子元素移动时,是否始终保持与子元素对齐,默认为 false

    解决的问题

    发现在 在 [email protected] 版本及其之前版本是有这个特性的,之后版本就没有了,应该是 rc-trigger 升级导致。这样以来,rc-slider 拖拽时,tooltip 就不会随着 handle 位置改变而改变(https://github.com/react-component/slider/issues/693)。

    antd 中也为 Slider 开发了这个功能,因此这次把这个功能移植到 rc-tooltip 中来,顺便解决 rc-slider 的问题。

    @afc163 @zombieJ 觉得没问题的话,我再加上测试用例。

    opened by kerm1it 6
  • Position of tooltip for zoomed elements is wrong

    Position of tooltip for zoomed elements is wrong

    When the trigger for a tooltip is within a zoomed element (i.e. styled with zoom: .85), the calculation of the alignment of the tooltip element is way off — it looks as if it simply does not take the zoom factor into account and positions the tooltip as if the trigger was not zoomed at all, so it ends up way to the right and below the trigger (for zoom factors < 1). It is very obvious with a smallish trigger element positioned near the right side of a the actual element that has the zoom rule.

    opened by lanzz 6
  • 当 trigger 同时包含 click 和 focus 时可能点击后出现问题

    当 trigger 同时包含 click 和 focus 时可能点击后出现问题

    <Tooltip
      trigger={['click', 'focus']}
      alignment='top'
      overlay={<span>Hey!</span>}
    >
      <a href='#'>Click me</a>
    </Tooltip>
    

    例如上面这样,或者直接在 demo 中同时选中 clickfocus 这两个 trigger,当第一次点击 trigger 链接时,会看到气泡弹出后立刻自动收回了。可能是因为 clickfocus 两个事件同时触发导致。

    opened by riophae 6
  • React v16 Upgrade: Uncaught TypeError: Cannot read property 'object' of undefined

    React v16 Upgrade: Uncaught TypeError: Cannot read property 'object' of undefined

    I've been going through the process of upgrading to React v16. I'm getting an error:

    screen shot 2017-10-17 at 14 18 46

    I believe this is coming from your dependency on rc-trigger, which is set as 1.x in package.json. It looks like they have update to use ES6 Component syntax and the prop-types lib. Can we upgrade this lib?

    opened by pts-moog16 5
  • Cannot find module 'babel-runtime'

    Cannot find module 'babel-runtime'

    Problem description Since I upgrade rc-tooltip from 3.4.2 to 3.4.3, I get the following errors

    Cannot find module 'babel-runtime/helpers/objectWithoutProperties' from '/usr/src/react/node_modules/twreporter-keystone/node_modules/rc-slider/node_modules/rc-tooltip/lib'
    2017-04-20 15:04:66 error building views/list.js:
    Cannot find module 'babel-runtime/helpers/possibleConstructorReturn' from '/usr/src/react/node_modules/twreporter-keystone/node_modules/rc-slider/node_modules/rc-tooltip/lib'
     2017-04-20 15:04:67 error building views/list.js:
     Cannot find module 'babel-runtime/helpers/classCallCheck' from '/usr/src/react/node_modules/twreporter-keystone/node_modules/rc-slider/node_modules/rc-tooltip/lib'
     2017-04-20 15:04:67 error building views/list.js:
    Cannot find module 'babel-runtime/helpers/inherits' from '/usr/src/react/node_modules/twreporter-keystone/node_modules/rc-slider/node_modules/rc-tooltip/lib'
    

    The problems seems that we lacks of babel-runtime pkg.

    bug 
    opened by nickhsine 5
  • placement是对象的时候,箭头定位有问题

    placement是对象的时候,箭头定位有问题

    当传入的placement是dom-align配置对象的时候,比如:

          placement: {
             points: ['bl', 'tl'],
             offset: [-10, -8]
          }
    

    getPlacementCss返回的是placement-[object object],然后箭头就没有了。

    opened by shepherdwind 5
  • Bump dumi from 1.1.50 to 2.0.18

    Bump dumi from 1.1.50 to 2.0.18

    Bumps dumi from 1.1.50 to 2.0.18.

    Commits
    • 1ce98bd build: release 2.0.18
    • 86ec97c docs: correct logic for sync umi docs (#1398)
    • daf46fa fix: json source module compile failed (#1392)
    • c5e6c88 refactor: disable auto css modules like father 4
    • 8836776 fix: correct tsconfig include option for templates
    • fcc7c80 build: release 2.0.17
    • 84c5136 fix: conventional loading not working bug
    • 31dfc87 fix: correct tsconfig include option for templates
    • 63fd21e fix: correct defineConfig parameter typing (#1389)
    • 0932d49 docs: describe how to create plugin
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • delete opacity and background-color from base class

    delete opacity and background-color from base class

    I've fixed this issue https://github.com/react-component/tooltip/issues/114 and also delete the background-color which was not so good looking on tooltip.

    opened by benyaminbeyzaie 1
  • Bump @types/react-dom from 16.9.17 to 18.0.10

    Bump @types/react-dom from 16.9.17 to 18.0.10

    Bumps @types/react-dom from 16.9.17 to 18.0.10.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump father from 2.30.23 to 4.1.2

    Bump father from 2.30.23 to 4.1.2

    Bumps father from 2.30.23 to 4.1.2.

    Commits
    • b30a4bc build: release 4.1.2
    • 914aeca refactor: ignore no jsx tsconfig for react jsx runtime
    • 5e1d3b1 refactor: react jsx runtime respect tsconfig.json (#561)
    • 38aa7c0 build: release 4.1.1
    • 7dbab90 fix: wrong doctor result for pre-bundle files
    • f3cd84e refactor: use utf-8 for esbuild transformer (#543)
    • 3dbe137 feat: support targets config (#549)
    • a96c02a fix: sourcemap url in bundless mode (#555)
    • 462b17a docs: correct links for guide.md
    • 6451668 fix: wrong phantom check if pkg name has dot
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump eslint from 7.32.0 to 8.30.0

    Bump eslint from 7.32.0 to 8.30.0

    Bumps eslint from 7.32.0 to 8.30.0.

    Release notes

    Sourced from eslint's releases.

    v8.30.0

    Features

    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)

    Bug Fixes

    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)

    Documentation

    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    Chores

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)

    v8.29.0

    Features

    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)

    Documentation

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    Chores

    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)

    v8.28.0

    Features

    ... (truncated)

    Changelog

    Sourced from eslint's changelog.

    v8.30.0 - December 16, 2022

    • f2c4737 chore: upgrade @​eslint/eslintrc@​1.4.0 (#16675) (Milos Djermanovic)
    • 1a327aa fix: Ensure flat config unignores work consistently like eslintrc (#16579) (Nicholas C. Zakas)
    • 075ef2c feat: add suggestion for no-return-await (#16637) (Daniel Bartholomae)
    • ba74253 chore: standardize npm script names per #14827 (#16315) (Patrick McElhaney)
    • 6a8cd94 docs: Clarify Discord info in issue template config (#16663) (Nicholas C. Zakas)
    • 0d9af4c ci: fix npm v9 problem with file: (#16664) (Milos Djermanovic)
    • 7190d98 feat: update globals (#16654) (Sébastien Règne)
    • ad44344 docs: CLI documentation standardization (#16563) (Ben Perlmutter)
    • 90c9219 refactor: migrate off deprecated function-style rules in all tests (#16618) (Bryan Mishkin)
    • 9b8bb72 fix: autofix recursive functions in no-var (#16611) (Milos Djermanovic)
    • 293573e docs: fix broken line numbers (#16606) (Sam Chen)
    • fa2c64b docs: use relative links for internal links (#16631) (Percy Ma)
    • 75276c9 docs: reorder options in no-unused-vars (#16625) (Milos Djermanovic)
    • 7276fe5 docs: Fix anchor in URL (#16628) (Karl Horky)
    • 6bef135 docs: don't apply layouts to html formatter example (#16591) (Tanuj Kanti)
    • dfc7ec1 docs: Formatters page updates (#16566) (Ben Perlmutter)
    • 8ba124c docs: update the prefer-const example (#16607) (Pavel)
    • e6cb05a docs: fix css leaking (#16603) (Sam Chen)

    v8.29.0 - December 2, 2022

    • 0311d81 docs: Configuring Plugins page intro, page tweaks, and rename (#16534) (Ben Perlmutter)
    • 57089b1 docs: add a property assignment example for camelcase rule (#16605) (Milos Djermanovic)
    • b6ab030 docs: add docs codeowners (#16601) (Strek)
    • 7628403 chore: add discord channel link (#16590) (Amaresh S M)
    • 49a07c5 feat: add allowParensAfterCommentPattern option to no-extra-parens (#16561) (Nitin Kumar)
    • 6380c87 docs: fix sitemap and feed (#16592) (Milos Djermanovic)
    • e6a865d feat: prefer-named-capture-group add suggestions (#16544) (Josh Goldberg)
    • ade621d docs: perf debounce the search query (#16586) (Shanmughapriyan S)
    • a91332b feat: In no-invalid-regexp validate flags also for non-literal patterns (#16583) (trosos)
    • fbcf3ab docs: fix searchbar clear button (#16585) (Shanmughapriyan S)
    • f894035 docs: HTTPS link to yeoman.io (#16582) (Christian Oliff)
    • de12b26 docs: Update configuration file pages (#16509) (Ben Perlmutter)
    • f5808cb chore: fix rule doc headers check (#16564) (Milos Djermanovic)
    • 1ae9f20 docs: update correct code examples for no-extra-parens rule (#16560) (Nitin Kumar)

    v8.28.0 - November 18, 2022

    • 34c05a7 docs: Language Options page intro and tweaks (#16511) (Ben Perlmutter)
    • 3e66387 docs: add intro and edit ignoring files page (#16510) (Ben Perlmutter)
    • 436f712 docs: fix Header UI inconsistency (#16464) (Tanuj Kanti)
    • f743816 docs: switch to wrench emoji for auto-fixable rules (#16545) (Bryan Mishkin)
    • bc0547e docs: improve styles for versions and languages page (#16553) (Nitin Kumar)
    • 6070f58 docs: clarify esquery issue workaround (#16556) (Milos Djermanovic)
    • b48e4f8 docs: Command Line Interface intro and tweaks (#16535) (Ben Perlmutter)
    • b92b30f docs: Add Rules page intro and content tweaks (#16523) (Ben Perlmutter)
    • 1769b42 docs: Integrations page introduction (#16548) (Ben Perlmutter)
    • 63bce44 feat: add ignoreClassFieldInitialValues option to no-magic-numbers (#16539) (Milos Djermanovic)

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @types/jest from 26.0.24 to 29.2.4

    Bump @types/jest from 26.0.24 to 29.2.4

    Bumps @types/jest from 26.0.24 to 29.2.4.

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
Releases(v5.2.2)
  • v5.2.2(Jul 19, 2022)

  • v5.2.1(Jul 13, 2022)

  • v5.2.0(Jul 13, 2022)

    • refactor: Popup component (#352) 2270ac6
    • docs(README) (#346) eb22b7b
    • Add arrowVisible option into tooltip which can hide arrow (#232) 393ce98
    • Bump @types/react from 16.14.11 to 17.0.15 (#272) 69fb220
    • Upgrade to GitHub-native Dependabot (#255) f30852c
    • Update Readme (#276) 7ce09f3

    https://github.com/react-component/tooltip/compare/v5.1.1...v5.2.0

    Source code(tar.gz)
    Source code(zip)
  • v5.1.1(May 7, 2021)

    • feat: Support zIndex (#258) 6d09c99
    • Merge branch 'master' of github.com:react-component/tooltip d2cbfac
    • fix less import path (#257) 1f1ac14
    • Update README.md (#251) c222171

    https://github.com/react-component/tooltip/compare/v5.1.0...v5.1.1

    Source code(tar.gz)
    Source code(zip)
  • v5.1.0(Mar 1, 2021)

    • feat: motion conig support e5acdc6
    • docs: add dumi badge a05e475
    • chore: use dumi (#240) c4023f5
    • chore: use actions (#241) 08b9c49

    https://github.com/react-component/tooltip/compare/v5.0.2...v5.1.0

    Source code(tar.gz)
    Source code(zip)
  • v5.0.2(Jan 14, 2021)

    • Bump np from 6.5.0 to 7.1.0 (#237) e452bb8
    • Update Tooltip.tsx (#235) 4a7a827
    • Merge pull request #228 from brandonbloom/react-peer-dependencies 3deef2d
    • Add react and react-dom as peer dependencies 8b31d55
    • Bump typescript from 3.9.7 to 4.0.3 (#225) c1d6243

    https://github.com/react-component/tooltip/compare/v5.0.1...v5.0.2

    Source code(tar.gz)
    Source code(zip)
  • v5.0.1(Sep 14, 2020)

  • v4.2.3(Sep 14, 2020)

    • chore: add np config 9aca311
    • chore: Father config @babel/runtime 7b6b688

    https://github.com/react-component/tooltip/compare/v4.2.2...v4.2.3

    Source code(tar.gz)
    Source code(zip)
  • v5.0.0(Sep 7, 2020)

  • v4.2.2(Aug 31, 2020)

    • chore: fix allowSyntheticDefaultImports define e5f234f
    • Bump @types/jest from 25.2.3 to 26.0.0 (#219) 1745dea
    • fix eslint missing fba6fd0
    • fix lint ad585fd

    https://github.com/react-component/tooltip/compare/v4.2.1...v4.2.2

    Source code(tar.gz)
    Source code(zip)
  • v4.2.1(May 26, 2020)

    • remove peerDependencies f6d290a
    • 4.2.0 5bd0630
    • feat: support to config overlay inner style (#213) 25d6b06

    https://github.com/react-component/tooltip/compare/v4.1.0...v4.2.1

    Source code(tar.gz)
    Source code(zip)
  • v4.2.0(May 21, 2020)

  • v4.1.0(May 20, 2020)

  • v4.0.3(Mar 16, 2020)

  • v4.0.2(Mar 11, 2020)

  • v4.0.1(Feb 27, 2020)

  • v4.0.0(Feb 26, 2020)

    • Bump np from 5.2.1 to 6.0.0 (#205) a583e82
    • Bump @types/jest from 24.9.1 to 25.1.0 (#203) 3d1051f
    • Bump cross-env from 6.0.3 to 7.0.0 (#202) bf591f9

    https://github.com/react-component/tooltip/compare/v4.0.0-alpha.3...v4.0.0

    Source code(tar.gz)
    Source code(zip)
  • v4.0.0-alpha.3(Nov 17, 2019)

    • Merge pull request #199 from react-component/improve-placements-type 9fe70ae
    • improve placements type 2f6a933

    https://github.com/react-component/tooltip/compare/v4.0.0-alpha.2...v4.0.0-alpha.3

    Source code(tar.gz)
    Source code(zip)
  • v4.0.0-alpha.2(Nov 1, 2019)

  • v4.0.0-alpha.1(Oct 25, 2019)

  • v4.0.0-alpha.0(Oct 22, 2019)

Owner
react-component
React components foundation of http://ant.design
react-component
React minimal pie chart🍰 Lightweight but versatile SVG pie/donut charts for React. < 2kB gzipped.

React minimal pie chart Lightweight React SVG pie charts, with versatile options and CSS animation included. < 2kB gzipped. ?? Demo ?? . Why? Because

Andrea Carraro 341 Dec 14, 2022
Plot-create-react-app-example - An example of Observable Plot with Create React App

Observable Plot + Create React App This repository demonstrates using Observable

Observable 31 Oct 26, 2022
React-three-lgl - A React(-three-fiber) abstraction for the LGL-Raytracer

A React(-three-fiber) abstraction for the LGL-Raytracer. It does its best to rem

Poimandres 248 Dec 26, 2022
React Chartlet - A dead simple and tiny charting library for React

React Chartlet A dead simple and tiny React charting library Installation yarn add react-chartlet Supported Charts Sparkline Pie Bar Line Examples Ple

Stevent 5 Oct 27, 2022
common react charting components using chart.js

react-chartjs rich interactive react charting components using chart.js including Line chart Bar chart Radar chart Polar area chart Pie chart Doughnut

React Community 3k Dec 27, 2022
A collection of composable React components for building interactive data visualizations

an ecosystem of composable React components for building interactive data visualizations. Victory Contents Getting Started Victory Native API Document

Formidable 10.1k Jan 3, 2023
Redefined chart library built with React and D3

Recharts Introduction Recharts is a Redefined chart library built with React and D3. The main purpose of this library is to help you to write charts i

recharts 19.4k Jan 4, 2023
📊 React Component for ApexCharts

React.js wrapper for ApexCharts to build interactive visualizations in react. Download and Installation Installing via npm npm install react-apexchart

ApexCharts 1k Jan 4, 2023
📊 Data visualization library for React based on D3

Data visualization library for React based on D3js REAVIZ is a modular chart component library that leverages React natively for rendering the compone

REAVIZ 743 Jan 9, 2023
📊 📈 📉 React.js plugin for building charts using CSS

Chartify React.js plugin for building charts using CSS. Demo The source for this module is in the main repo. Example app is here. Backend service for

Kirill Stepkin 685 Jan 1, 2023
A data visualization framework combining React & D3

Semiotic is a data visualization framework combining React & D3 Interactive Documentation API Docs on the wiki Examples Installation npm i semiotic E

nteract 2.3k Dec 29, 2022
🕸 Node-based Visualizations for React

?? reaflow Node-based Visualizations for React REAFLOW is a modular diagram engine for build static or interactive editors. The library is feature ric

REAVIZ 1.5k Jan 2, 2023
📊 📈 📉 React.js plugin for building charts using CSS

Chartify React.js plugin for building charts using CSS. Demo The source for this module is in the main repo. Example app is here. Backend service for

Kirill Stepkin 685 Jan 1, 2023
⚛ React component for Chartist.js

react-chartist React component for Chartist.js Installation $ npm install react-chartist --save Chartist is a peer dependency to react chartist. You

Fraser Xu 525 Dec 16, 2022
React wrapper for Chart.js

Looking for maintainers!! react-chartjs-2 React wrapper for Chart.js 2 Open for PRs and contributions! UPDATE to 2.x As of 2.x we have made chart.js a

null 5.6k Jan 8, 2023
D3 Components for React

Looking for maintainers. If you are interested in maintaining this library please open an issue. react-d3-components D3 Components for React Let React

Neri Marschik 1.6k Jan 4, 2023
:rocket: Dashboards made easy in React JS.

React Dazzle Dashboards made easy in React JS Looking for maintainers https://github.com/Raathigesh/dazzle/issues/41 Dazzle is a library for building

Raathi Kugarajan 1.4k Nov 9, 2022
A thin, typed, React wrapper over Google Charts Visualization and Charts API.

React Google Charts A thin, typed, React wrapper for Google Charts. Docs and examples. React Google Charts Docs and examples. Installation Quick Start

Rakan Nimer 1.4k Jan 4, 2023
React wrapper for Highcharts library

react-highcharts Highcharts 6.x.x component for react. For highcharts 5.x.x use v. 13.0.0 Demos react-highcharts | react-highcharts/more | react-highc

Kirill Cherkashin 1.2k Dec 11, 2022