pax_global_header00006660000000000000000000000064144642422470014523gustar00rootroot0000000000000052 comment=fc93da1bf7d77817230e6d2f41812e6d4506616a
vega-tooltip-0.33.0/000077500000000000000000000000001446424224700142205ustar00rootroot00000000000000vega-tooltip-0.33.0/.eslintignore000066400000000000000000000001631446424224700167230ustar00rootroot00000000000000.eslintrc.js
babel.config.js
prettier.config.js
jest.config.js
rollup.config.js
build
build-es5
dist
coverage
typesvega-tooltip-0.33.0/.eslintrc.js000066400000000000000000000037571446424224700164730ustar00rootroot00000000000000module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'prettier', 'jest'],
extends: [
'eslint:recommended',
'plugin:jest/recommended',
'plugin:jest/style',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended'
],
env: {
browser: true,
node: true
},
parserOptions: {
project: 'tsconfig.json',
ecmaVersion: 2020,
sourceType: 'module'
},
overrides: [
{
files: ['*.ts']
}
],
rules: {
'prettier/prettier': 'warn',
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin#supported-rules
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/ban-types': 'warn',
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/prefer-for-of': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/no-parameter-properties': 'off',
'@typescript-eslint/explicit-member-accessibility': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
'error',
{
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true
}
],
'no-shadow': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/no-object-literal-type-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-namespace': 'error',
'jest/no-conditional-expect': 'off',
// https://eslint.org/docs/rules/
'linebreak-style': ['error', 'unix'],
'no-irregular-whitespace': ['error', {skipComments: true}],
'no-alert': 'error',
'prefer-const': 'error',
'no-return-assign': 'error',
'no-useless-call': 'error',
'no-useless-concat': 'error',
"prefer-template": "error",
'no-undef': 'off', // typescript takes care of this for us
'no-unreachable': 'off' // typescript takes care of this for us
}
};
vega-tooltip-0.33.0/.github/000077500000000000000000000000001446424224700155605ustar00rootroot00000000000000vega-tooltip-0.33.0/.github/dependabot.yml000066400000000000000000000005251446424224700204120ustar00rootroot00000000000000version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: monthly
day: sunday
time: "23:00"
timezone: PST8PDT
open-pull-requests-limit: 10
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: monthly
time: "23:00"
timezone: PST8PDT
open-pull-requests-limit: 10
vega-tooltip-0.33.0/.github/workflows/000077500000000000000000000000001446424224700176155ustar00rootroot00000000000000vega-tooltip-0.33.0/.github/workflows/merge-dependabot.yml000066400000000000000000000005221446424224700235410ustar00rootroot00000000000000name: Auto-merge Dependabot PRs
on:
schedule:
- cron: '0 * * * *'
jobs:
auto_merge:
name: Auto-merge Dependabot PRs
runs-on: ubuntu-latest
steps:
- uses: akheron/dependabot-cron-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
auto-merge: 'minor'
merge-method: 'squash'
vega-tooltip-0.33.0/.github/workflows/test.yml000066400000000000000000000010611446424224700213150ustar00rootroot00000000000000name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
name: Test
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: 'yarn'
- name: Install Node dependencies
run: yarn --frozen-lockfile
- run: yarn lint
- run: yarn build
- name: Test coverage
run: yarn jest test/ --collectCoverage=true
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.4
vega-tooltip-0.33.0/.gitignore000066400000000000000000000001471446424224700162120ustar00rootroot00000000000000build
coverage/
examples/data
node_modules
npm-debug.log*
src/style.ts
yarn-debug.log*
yarn-error.log*
vega-tooltip-0.33.0/.prettierignore000066400000000000000000000001141446424224700172570ustar00rootroot00000000000000.eslintrc.js
babel.config.js
jest.config.js
prettier.config.js
tsconfig.jsonvega-tooltip-0.33.0/.release-it.json000066400000000000000000000004351446424224700172250ustar00rootroot00000000000000{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true
},
"hooks": {
"after:bump": "yarn build"
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular",
"infile": "CHANGELOG.md"
}
}
}
vega-tooltip-0.33.0/.vscode/000077500000000000000000000000001446424224700155615ustar00rootroot00000000000000vega-tooltip-0.33.0/.vscode/settings.json000066400000000000000000000000701446424224700203110ustar00rootroot00000000000000{
"typescript.tsdk": "node_modules/typescript/lib"
}vega-tooltip-0.33.0/CHANGELOG.md000066400000000000000000003076561446424224700160520ustar00rootroot00000000000000
# [0.33.0](https://github.com/vega/vega-tooltip/compare/v0.32.0...v0.33.0) (2023-08-07)
### Features
* remove : from default format string to enable easier customization and localization ([bab8e2a](https://github.com/vega/vega-tooltip/commit/bab8e2abe549b7e8d092d031f1e25baf512230af)), closes [#785](https://github.com/vega/vega-tooltip/issues/785)
# [0.32.0](https://github.com/vega/vega-tooltip/compare/v0.31.0...v0.32.0) (2023-04-20)
### Features
* remove beemo ([#759](https://github.com/vega/vega-tooltip/issues/759)) ([1dadf6a](https://github.com/vega/vega-tooltip/commit/1dadf6a384e90085e6247efe771d65e345e25375))
# [0.31.0](https://github.com/vega/vega-tooltip/compare/v0.30.1...v0.31.0) (2023-02-22)
### Features
* remove limit on image size in tooltips ([#740](https://github.com/vega/vega-tooltip/issues/740)) ([ca90788](https://github.com/vega/vega-tooltip/commit/ca907884a0b1b329a4cb1de146b602877b209a17))
## 0.30.1 (2023-02-13)
* chore: switch to release-it ([45e1520](https://github.com/vega/vega-tooltip/commit/45e1520))
* chore: update lockfile ([778a85d](https://github.com/vega/vega-tooltip/commit/778a85d))
* chore: upgrade deps ([e756faf](https://github.com/vega/vega-tooltip/commit/e756faf))
* chore(deps-dev): bump @rollup/plugin-json from 5.0.1 to 5.0.2 (#721) ([3610e13](https://github.com/vega/vega-tooltip/commit/3610e13)), closes [#721](https://github.com/vega/vega-tooltip/issues/721)
* chore(deps-dev): bump @rollup/plugin-json from 5.0.2 to 6.0.0 ([2cae3b7](https://github.com/vega/vega-tooltip/commit/2cae3b7))
* chore(deps-dev): bump browser-sync from 2.27.10 to 2.27.11 (#727) ([f58fbdb](https://github.com/vega/vega-tooltip/commit/f58fbdb)), closes [#727](https://github.com/vega/vega-tooltip/issues/727)
* chore(deps-dev): bump concurrently from 7.5.0 to 7.6.0 (#722) ([14d5d94](https://github.com/vega/vega-tooltip/commit/14d5d94)), closes [#722](https://github.com/vega/vega-tooltip/issues/722)
* chore(deps-dev): bump gh-pages from 4.0.0 to 5.0.0 ([26545d9](https://github.com/vega/vega-tooltip/commit/26545d9))
* chore(deps-dev): bump jest-environment-jsdom from 29.3.1 to 29.4.1 (#732) ([07651aa](https://github.com/vega/vega-tooltip/commit/07651aa)), closes [#732](https://github.com/vega/vega-tooltip/issues/732)
* chore(deps-dev): bump rollup from 3.3.0 to 3.5.1 (#720) ([b80e8ab](https://github.com/vega/vega-tooltip/commit/b80e8ab)), closes [#720](https://github.com/vega/vega-tooltip/issues/720)
* chore(deps-dev): bump rollup from 3.5.1 to 3.9.0 (#725) ([c6f4a02](https://github.com/vega/vega-tooltip/commit/c6f4a02)), closes [#725](https://github.com/vega/vega-tooltip/issues/725)
* chore(deps-dev): bump rollup from 3.9.0 to 3.12.1 (#733) ([92d6691](https://github.com/vega/vega-tooltip/commit/92d6691)), closes [#733](https://github.com/vega/vega-tooltip/issues/733)
* chore(deps-dev): bump sass from 1.56.1 to 1.57.1 (#726) ([97fdb99](https://github.com/vega/vega-tooltip/commit/97fdb99)), closes [#726](https://github.com/vega/vega-tooltip/issues/726)
* chore(deps-dev): bump sass from 1.57.1 to 1.58.0 (#730) ([b50d170](https://github.com/vega/vega-tooltip/commit/b50d170)), closes [#730](https://github.com/vega/vega-tooltip/issues/730)
* chore(deps-dev): bump typescript from 4.9.3 to 4.9.4 (#724) ([7f0376e](https://github.com/vega/vega-tooltip/commit/7f0376e)), closes [#724](https://github.com/vega/vega-tooltip/issues/724)
* chore(deps-dev): bump typescript from 4.9.4 to 4.9.5 (#729) ([41fcca9](https://github.com/vega/vega-tooltip/commit/41fcca9)), closes [#729](https://github.com/vega/vega-tooltip/issues/729)
* chore(deps): bump engine.io from 6.2.0 to 6.2.1 (#719) ([e55c3a9](https://github.com/vega/vega-tooltip/commit/e55c3a9)), closes [#719](https://github.com/vega/vega-tooltip/issues/719)
* chore(deps): bump json5 from 2.2.1 to 2.2.3 (#728) ([6d94b88](https://github.com/vega/vega-tooltip/commit/6d94b88)), closes [#728](https://github.com/vega/vega-tooltip/issues/728)
# v0.29.0 (Fri Nov 18 2022)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Maya Barnes ([@mayagbarnes](https://github.com/mayagbarnes))
:heart: Stefan van der Meer ([@svdm](https://github.com/svdm))
#### 🚀 Enhancement
- feat: update deps and use esm rollup [#717](https://github.com/vega/vega-tooltip/pull/717) ([@domoritz](https://github.com/domoritz))
- Release [#715](https://github.com/vega/vega-tooltip/pull/715) ([@domoritz](https://github.com/domoritz))
- feat: add sourcemaps [#707](https://github.com/vega/vega-tooltip/pull/707) ([@domoritz](https://github.com/domoritz))
- feat: switch to sass [#614](https://github.com/vega/vega-tooltip/pull/614) ([@domoritz](https://github.com/domoritz))
#### 🐛 Bug Fix
- Revert "Release" [#716](https://github.com/vega/vega-tooltip/pull/716) ([@domoritz](https://github.com/domoritz))
- fix: update tooltip positioning for CSP [#714](https://github.com/vega/vega-tooltip/pull/714) ([@mayagbarnes](https://github.com/mayagbarnes) [@domoritz](https://github.com/domoritz))
- chore: upgrade deps [#705](https://github.com/vega/vega-tooltip/pull/705) ([@domoritz](https://github.com/domoritz))
- chore: improve caching and token handling [#688](https://github.com/vega/vega-tooltip/pull/688) ([@domoritz](https://github.com/domoritz))
- chore: remove `NODE_AUTH_TOKEN` [#687](https://github.com/vega/vega-tooltip/pull/687) ([@domoritz](https://github.com/domoritz))
- fix: only append tooltip element to container once [#626](https://github.com/vega/vega-tooltip/pull/626) ([@svdm](https://github.com/svdm))
- chore: upgrade deps [#588](https://github.com/vega/vega-tooltip/pull/588) ([@domoritz](https://github.com/domoritz))
#### 🔩 Dependency Updates
- chore(deps-dev): bump @rollup/plugin-json from 4.1.0 to 5.0.1 [#711](https://github.com/vega/vega-tooltip/pull/711) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 14.1.0 to 15.0.1 [#709](https://github.com/vega/vega-tooltip/pull/709) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump jest-environment-jsdom from 29.1.2 to 29.2.2 [#710](https://github.com/vega/vega-tooltip/pull/710) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.4.0 to 7.5.0 [#712](https://github.com/vega/vega-tooltip/pull/712) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-datasets from 2.5.1 to 2.5.3 [#713](https://github.com/vega/vega-tooltip/pull/713) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.3.0 to 14.1.0 [#702](https://github.com/vega/vega-tooltip/pull/702) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.37.4 to 10.37.6 [#701](https://github.com/vega/vega-tooltip/pull/701) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.37.4 to 10.37.6 [#699](https://github.com/vega/vega-tooltip/pull/699) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.8.2 to 4.8.4 [#700](https://github.com/vega/vega-tooltip/pull/700) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-datasets from 2.4.0 to 2.5.1 [#703](https://github.com/vega/vega-tooltip/pull/703) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.37.4 to 10.37.6 [#704](https://github.com/vega/vega-tooltip/pull/704) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump codecov/codecov-action from 3.1.0 to 3.1.1 [#695](https://github.com/vega/vega-tooltip/pull/695) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.3.0 to 7.4.0 [#696](https://github.com/vega/vega-tooltip/pull/696) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.54.8 to 1.55.0 [#697](https://github.com/vega/vega-tooltip/pull/697) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.79.0 to 2.79.1 [#698](https://github.com/vega/vega-tooltip/pull/698) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.77.2 to 2.79.0 [#691](https://github.com/vega/vega-tooltip/pull/691) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.7.4 to 4.8.2 [#692](https://github.com/vega/vega-tooltip/pull/692) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.54.0 to 1.54.8 [#693](https://github.com/vega/vega-tooltip/pull/693) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-datasets from 2.3.0 to 2.4.0 [#680](https://github.com/vega/vega-tooltip/pull/680) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.2.2 to 7.3.0 [#681](https://github.com/vega/vega-tooltip/pull/681) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.37.1 to 10.37.4 [#682](https://github.com/vega/vega-tooltip/pull/682) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.37.1 to 10.37.4 [#683](https://github.com/vega/vega-tooltip/pull/683) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.53.0 to 1.54.0 [#684](https://github.com/vega/vega-tooltip/pull/684) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.75.7 to 2.77.2 [#685](https://github.com/vega/vega-tooltip/pull/685) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.37.1 to 10.37.4 [#686](https://github.com/vega/vega-tooltip/pull/686) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump terser from 5.14.0 to 5.14.2 [#679](https://github.com/vega/vega-tooltip/pull/679) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.7.2 to 4.7.4 [#674](https://github.com/vega/vega-tooltip/pull/674) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.2.1 to 7.2.2 [#675](https://github.com/vega/vega-tooltip/pull/675) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup-plugin-ts from 3.0.1 to 3.0.2 [#676](https://github.com/vega/vega-tooltip/pull/676) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.52.1 to 1.53.0 [#677](https://github.com/vega/vega-tooltip/pull/677) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.75.5 to 2.75.7 [#678](https://github.com/vega/vega-tooltip/pull/678) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.6.4 to 4.7.2 [#663](https://github.com/vega/vega-tooltip/pull/663) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump async from 2.6.3 to 2.6.4 [#673](https://github.com/vega/vega-tooltip/pull/673) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump gh-pages from 3.2.3 to 4.0.0 [#669](https://github.com/vega/vega-tooltip/pull/669) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.36.5 to 10.37.1 [#664](https://github.com/vega/vega-tooltip/pull/664) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump browser-sync from 2.27.9 to 2.27.10 [#665](https://github.com/vega/vega-tooltip/pull/665) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.2.1 to 13.3.0 [#666](https://github.com/vega/vega-tooltip/pull/666) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.71.1 to 2.75.5 [#667](https://github.com/vega/vega-tooltip/pull/667) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.36.5 to 10.37.1 [#668](https://github.com/vega/vega-tooltip/pull/668) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.51.0 to 1.52.1 [#670](https://github.com/vega/vega-tooltip/pull/670) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.36.5 to 10.37.1 [#671](https://github.com/vega/vega-tooltip/pull/671) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.1.0 to 7.2.1 [#672](https://github.com/vega/vega-tooltip/pull/672) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump codecov/codecov-action from 2.1.0 to 3.1.0 [#654](https://github.com/vega/vega-tooltip/pull/654) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump ejs from 3.1.6 to 3.1.7 [#662](https://github.com/vega/vega-tooltip/pull/662) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-typings from 0.22.2 to 0.22.3 [#655](https://github.com/vega/vega-tooltip/pull/655) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.70.1 to 2.71.1 [#656](https://github.com/vega/vega-tooltip/pull/656) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.1.3 to 13.2.1 [#657](https://github.com/vega/vega-tooltip/pull/657) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup-plugin-ts from 2.0.5 to 2.0.7 [#658](https://github.com/vega/vega-tooltip/pull/658) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 7.0.0 to 7.1.0 [#659](https://github.com/vega/vega-tooltip/pull/659) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.6.3 to 4.6.4 [#660](https://github.com/vega/vega-tooltip/pull/660) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.49.11 to 1.51.0 [#661](https://github.com/vega/vega-tooltip/pull/661) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump node-fetch from 2.6.1 to 2.6.7 [#653](https://github.com/vega/vega-tooltip/pull/653) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump minimist from 1.2.5 to 1.2.6 [#652](https://github.com/vega/vega-tooltip/pull/652) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.6 to 10.36.5 [#644](https://github.com/vega/vega-tooltip/pull/644) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.6.2 to 4.6.3 [#645](https://github.com/vega/vega-tooltip/pull/645) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.6 to 10.36.5 [#646](https://github.com/vega/vega-tooltip/pull/646) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-datasets from 2.2.0 to 2.3.0 [#647](https://github.com/vega/vega-tooltip/pull/647) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.49.9 to 1.49.11 [#648](https://github.com/vega/vega-tooltip/pull/648) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.6 to 10.36.5 [#649](https://github.com/vega/vega-tooltip/pull/649) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.68.0 to 2.70.1 [#650](https://github.com/vega/vega-tooltip/pull/650) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump browser-sync from 2.27.7 to 2.27.9 [#651](https://github.com/vega/vega-tooltip/pull/651) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.5.5 to 4.6.2 [#639](https://github.com/vega/vega-tooltip/pull/639) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.67.0 to 2.68.0 [#640](https://github.com/vega/vega-tooltip/pull/640) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.49.7 to 1.49.9 [#641](https://github.com/vega/vega-tooltip/pull/641) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.5.1 to 3 [#642](https://github.com/vega/vega-tooltip/pull/642) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/checkout from 2 to 3 [#643](https://github.com/vega/vega-tooltip/pull/643) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 [#638](https://github.com/vega/vega-tooltip/pull/638) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 6.5.1 to 7.0.0 [#637](https://github.com/vega/vega-tooltip/pull/637) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.1.2 to 13.1.3 [#628](https://github.com/vega/vega-tooltip/pull/628) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.5 to 10.32.6 [#629](https://github.com/vega/vega-tooltip/pull/629) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup-plugin-ts from 2.0.4 to 2.0.5 [#630](https://github.com/vega/vega-tooltip/pull/630) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.62.0 to 2.67.0 [#631](https://github.com/vega/vega-tooltip/pull/631) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.45.2 to 1.49.7 [#632](https://github.com/vega/vega-tooltip/pull/632) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.5.4 to 4.5.5 [#633](https://github.com/vega/vega-tooltip/pull/633) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-typings from 0.22.1 to 0.22.2 [#634](https://github.com/vega/vega-tooltip/pull/634) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.5 to 10.32.6 [#635](https://github.com/vega/vega-tooltip/pull/635) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.5 to 10.32.6 [#636](https://github.com/vega/vega-tooltip/pull/636) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump follow-redirects from 1.14.5 to 1.14.7 [#624](https://github.com/vega/vega-tooltip/pull/624) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 6.4.0 to 6.5.1 [#616](https://github.com/vega/vega-tooltip/pull/616) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.5.2 to 4.5.4 [#617](https://github.com/vega/vega-tooltip/pull/617) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.60.2 to 2.62.0 [#618](https://github.com/vega/vega-tooltip/pull/618) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.6 to 13.1.2 [#619](https://github.com/vega/vega-tooltip/pull/619) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.3 to 10.32.5 [#620](https://github.com/vega/vega-tooltip/pull/620) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump sass from 1.44.0 to 1.45.2 [#621](https://github.com/vega/vega-tooltip/pull/621) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.3 to 10.32.5 [#622](https://github.com/vega/vega-tooltip/pull/622) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.3 to 10.32.5 [#623](https://github.com/vega/vega-tooltip/pull/623) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.5.0 to 2.5.1 [#615](https://github.com/vega/vega-tooltip/pull/615) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.4.1 to 2.5.0 [#605](https://github.com/vega/vega-tooltip/pull/605) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 6.3.0 to 6.4.0 [#606](https://github.com/vega/vega-tooltip/pull/606) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.2 to 10.32.3 [#607](https://github.com/vega/vega-tooltip/pull/607) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.2 to 10.32.3 [#608](https://github.com/vega/vega-tooltip/pull/608) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.59.0 to 2.60.2 [#609](https://github.com/vega/vega-tooltip/pull/609) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.19.0 to 0.20.0 [#611](https://github.com/vega/vega-tooltip/pull/611) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.2 to 10.32.3 [#612](https://github.com/vega/vega-tooltip/pull/612) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.1 to 10.32.2 [#598](https://github.com/vega/vega-tooltip/pull/598) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.1 to 10.32.2 [#600](https://github.com/vega/vega-tooltip/pull/600) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.1 to 10.32.2 [#602](https://github.com/vega/vega-tooltip/pull/602) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.18.0 to 0.19.0 [#597](https://github.com/vega/vega-tooltip/pull/597) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.58.0 to 2.59.0 [#599](https://github.com/vega/vega-tooltip/pull/599) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump vega-typings from 0.22.0 to 0.22.1 [#601](https://github.com/vega/vega-tooltip/pull/601) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump browser-sync from 2.27.5 to 2.27.7 [#603](https://github.com/vega/vega-tooltip/pull/603) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.5 to 13.0.6 [#604](https://github.com/vega/vega-tooltip/pull/604) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.4.0 to 2.4.1 [#589](https://github.com/vega/vega-tooltip/pull/589) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0 [#590](https://github.com/vega/vega-tooltip/pull/590) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/conventional-commits from 10.32.0 to 10.32.1 [#591](https://github.com/vega/vega-tooltip/pull/591) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 6.2.1 to 6.3.0 [#592](https://github.com/vega/vega-tooltip/pull/592) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.56.3 to 2.58.0 [#593](https://github.com/vega/vega-tooltip/pull/593) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump auto from 10.32.0 to 10.32.1 [#594](https://github.com/vega/vega-tooltip/pull/594) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @auto-it/first-time-contributor from 10.32.0 to 10.32.1 [#595](https://github.com/vega/vega-tooltip/pull/595) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump tmpl from 1.0.4 to 1.0.5 [#587](https://github.com/vega/vega-tooltip/pull/587) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump object-path from 0.11.7 to 0.11.8 [#586](https://github.com/vega/vega-tooltip/pull/586) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3 [#582](https://github.com/vega/vega-tooltip/pull/582) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.3.0 to 2.4.0 [#583](https://github.com/vega/vega-tooltip/pull/583) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.3.5 to 4.4.2 [#584](https://github.com/vega/vega-tooltip/pull/584) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.56.2 to 2.56.3 [#585](https://github.com/vega/vega-tooltip/pull/585) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump object-path from 0.11.5 to 0.11.7 [#581](https://github.com/vega/vega-tooltip/pull/581) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump tar from 6.1.8 to 6.1.11 [#580](https://github.com/vega/vega-tooltip/pull/580) ([@dependabot[bot]](https://github.com/dependabot[bot]))
#### Authors: 4
- [@dependabot[bot]](https://github.com/dependabot[bot])
- Dominik Moritz ([@domoritz](https://github.com/domoritz))
- Maya Barnes ([@mayagbarnes](https://github.com/mayagbarnes))
- Stefan van der Meer ([@svdm](https://github.com/svdm))
---
# v0.28.0 (Fri Jan 28 2022)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Stefan van der Meer ([@svdm](https://github.com/svdm))
:heart: Cameron Yick ([@hydrosquall](https://github.com/hydrosquall))
#### 🚀 Enhancement
- Release [#627](https://github.com/vega/vega-tooltip/pull/627) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@domoritz](https://github.com/domoritz) [@svdm](https://github.com/svdm))
#### 🐛 Bug Fix
- chore: upgrade deps [#578](https://github.com/vega/vega-tooltip/pull/578) ([@domoritz](https://github.com/domoritz))
- chore: sync prerelease branch version with stable [#575](https://github.com/vega/vega-tooltip/pull/575) ([@hydrosquall](https://github.com/hydrosquall))
#### 🔩 Dependency Updates
- chore(deps): bump tar from 6.1.0 to 6.1.3 [#576](https://github.com/vega/vega-tooltip/pull/576) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.55.0 to 2.55.1 [#574](https://github.com/vega/vega-tooltip/pull/574) ([@dependabot[bot]](https://github.com/dependabot[bot]))
#### Authors: 4
- [@dependabot[bot]](https://github.com/dependabot[bot])
- Cameron Yick ([@hydrosquall](https://github.com/hydrosquall))
- Dominik Moritz ([@domoritz](https://github.com/domoritz))
- Stefan van der Meer ([@svdm](https://github.com/svdm))
---
# v0.4.0 (Wed Jul 28 2021)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Cameron Yick ([@hydrosquall](https://github.com/hydrosquall))
:heart: Abe Rubenstein ([@sighrobot](https://github.com/sighrobot))
:heart: siddhant ([@siddhant1](https://github.com/siddhant1))
:heart: null[@melissachang](https://github.com/melissachang)
:heart: Noon van der Silk ([@silky](https://github.com/silky))
:heart: Ken Lin ([@kenklin](https://github.com/kenklin))
:heart: Yash Dev Lamba ([@ydlamba](https://github.com/ydlamba))
:heart: Yuri Astrakhan ([@nyurik](https://github.com/nyurik))
:heart: Jeffrey Heer ([@jheer](https://github.com/jheer))
:heart: Eric Socolofsky ([@ericsoco](https://github.com/ericsoco))
:heart: Robin Millette ([@millette](https://github.com/millette))
#### 🚀 Enhancement
- feat: add option formatTooltip and use formatValue as default [#557](https://github.com/vega/vega-tooltip/pull/557) ([@sighrobot](https://github.com/sighrobot))
- feat: externalize vega util for smaller builds ([@domoritz](https://github.com/domoritz))
- feat: support images in tooltips [#389](https://github.com/vega/vega-tooltip/pull/389) ([@domoritz](https://github.com/domoritz))
#### 🐛 Bug Fix
- chore(deps-dev): bump vega-lite-dev-config from 0.17.3 to 0.18.0 [#570](https://github.com/vega/vega-tooltip/pull/570) ([@dependabot[bot]](https://github.com/dependabot[bot]) [@domoritz](https://github.com/domoritz))
- ci: test next branch [#573](https://github.com/vega/vega-tooltip/pull/573) ([@domoritz](https://github.com/domoritz))
- chore: set up auto for versioning/release management [#566](https://github.com/vega/vega-tooltip/pull/566) ([@hydrosquall](https://github.com/hydrosquall))
- v0.26.0 [#566](https://github.com/vega/vega-tooltip/pull/566) ([@domoritz](https://github.com/domoritz))
- test: add test suite for Handler [#558](https://github.com/vega/vega-tooltip/pull/558) ([@sighrobot](https://github.com/sighrobot))
- chore: upgrade deps and use new dev config [#521](https://github.com/vega/vega-tooltip/pull/521) ([@domoritz](https://github.com/domoritz))
- fix: support tooltips in fullscreen [#508](https://github.com/vega/vega-tooltip/pull/508) ([@domoritz](https://github.com/domoritz))
- ci: run on pr and push to master ([@domoritz](https://github.com/domoritz))
- fix: copy data after prepare so that developers have it ([@domoritz](https://github.com/domoritz))
- fix: switch to umd ([@domoritz](https://github.com/domoritz))
- v0.24.0 ([@domoritz](https://github.com/domoritz))
- fix: produce umd bundle for main ([@domoritz](https://github.com/domoritz))
- fix: output declarations ([@domoritz](https://github.com/domoritz))
- fix: correct types reference ([@domoritz](https://github.com/domoritz))
- Revert "refactor: simplify version import" ([@domoritz](https://github.com/domoritz))
- chore: upgrade codecov [#395](https://github.com/vega/vega-tooltip/pull/395) ([@domoritz](https://github.com/domoritz))
- chore: upgrade deps [#394](https://github.com/vega/vega-tooltip/pull/394) ([@domoritz](https://github.com/domoritz))
- ci: switch to github actions [#393](https://github.com/vega/vega-tooltip/pull/393) ([@domoritz](https://github.com/domoritz))
- Test on node 14 [#378](https://github.com/vega/vega-tooltip/pull/378) ([@domoritz](https://github.com/domoritz))
- chore(package): update rollup to version 1.19.2 [#258](https://github.com/vega/vega-tooltip/pull/258) ([@greenkeeper[bot]](https://github.com/greenkeeper[bot]) [@domoritz](https://github.com/domoritz))
- Add version [#256](https://github.com/vega/vega-tooltip/pull/256) ([@siddhant1](https://github.com/siddhant1) [@domoritz](https://github.com/domoritz))
- chore(package): update terser to version 4.1.0 [#254](https://github.com/vega/vega-tooltip/pull/254) ([@greenkeeper[bot]](https://github.com/greenkeeper[bot]) [@domoritz](https://github.com/domoritz))
- Fix CSS in customization documentation [#239](https://github.com/vega/vega-tooltip/pull/239) ([@melissachang](https://github.com/melissachang))
- Delete unused css [#221](https://github.com/vega/vega-tooltip/pull/221) ([@kanitw](https://github.com/kanitw))
- formatValue tests [#198](https://github.com/vega/vega-tooltip/pull/198) ([@nyurik](https://github.com/nyurik))
- Readme [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- Sanitize html [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- No need to set charset again [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- Refactor the code to split initialization from registering the handler. [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- Address comments from @jheer and @nyurik except for separating initialization and handler registration. [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- Rewrite tooltip to use tooltip handler. Fixes #151, fixes #177, fixes #170, fixes #171, fixes #148, fixes #168, fixes #97, fixes #49 [#183](https://github.com/vega/vega-tooltip/pull/183) ([@domoritz](https://github.com/domoritz))
- minor perf optimization [#182](https://github.com/vega/vega-tooltip/pull/182) ([@nyurik](https://github.com/nyurik))
- added LICENSE file [#180](https://github.com/vega/vega-tooltip/pull/180) ([@nyurik](https://github.com/nyurik))
- remove vega production dependency [#174](https://github.com/vega/vega-tooltip/pull/174) ([@nyurik](https://github.com/nyurik))
- Update APIs.md [#175](https://github.com/vega/vega-tooltip/pull/175) ([@nyurik](https://github.com/nyurik))
- remove error log [#169](https://github.com/vega/vega-tooltip/pull/169) ([@sirahd](https://github.com/sirahd))
- update package.json [#169](https://github.com/vega/vega-tooltip/pull/169) ([@sirahd](https://github.com/sirahd))
- rename TopLevelExtendedSpec to TopLevelSpec and add normalized spec [#169](https://github.com/vega/vega-tooltip/pull/169) ([@sirahd](https://github.com/sirahd))
- Upgrade dependencies [#161](https://github.com/vega/vega-tooltip/pull/161) ([@domoritz](https://github.com/domoritz))
- Bad pipe again, missed in the rebases [#159](https://github.com/vega/vega-tooltip/pull/159) ([@ericsoco](https://github.com/ericsoco))
- fix lint issue [#158](https://github.com/vega/vega-tooltip/pull/158) ([@sirahd](https://github.com/sirahd))
- update package.json [#158](https://github.com/vega/vega-tooltip/pull/158) ([@sirahd](https://github.com/sirahd))
- fix import style issue [#158](https://github.com/vega/vega-tooltip/pull/158) ([@sirahd](https://github.com/sirahd))
- add .travis.yml config for travis CI [#158](https://github.com/vega/vega-tooltip/pull/158) ([@sirahd](https://github.com/sirahd))
- Better type name per @sirah [#157](https://github.com/vega/vega-tooltip/pull/157) ([@ericsoco](https://github.com/ericsoco))
- Add `render` property to `fields` option to allow custom rendering of each row [#157](https://github.com/vega/vega-tooltip/pull/157) ([@ericsoco](https://github.com/ericsoco))
- Clear up type checks with vega-util functions per @sirah [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Fix format/type undefined behavior post-#155 [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Fix docs (bad pipes) [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Sort on raw value instead of formatted value [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Update docs per comments [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Add `sort` option [#156](https://github.com/vega/vega-tooltip/pull/156) ([@ericsoco](https://github.com/ericsoco))
- Address @sirahd's comments. Remove overloading of `field` and move into `valueAccessor`. [#155](https://github.com/vega/vega-tooltip/pull/155) ([@ericsoco](https://github.com/ericsoco))
- Address @kanitw's comments [#155](https://github.com/vega/vega-tooltip/pull/155) ([@ericsoco](https://github.com/ericsoco))
- Add accessors for `title` and `field`, and custom `format` function [#155](https://github.com/vega/vega-tooltip/pull/155) ([@ericsoco](https://github.com/ericsoco))
- check if the spec is composite to suppress warnings [#154](https://github.com/vega/vega-tooltip/pull/154) ([@sirahd](https://github.com/sirahd))
- Don’t require latest vl and vg [#153](https://github.com/vega/vega-tooltip/pull/153) ([@domoritz](https://github.com/domoritz))
- Upgrade deps [#153](https://github.com/vega/vega-tooltip/pull/153) ([@domoritz](https://github.com/domoritz))
- remove literal key type [#152](https://github.com/vega/vega-tooltip/pull/152) ([@sirahd](https://github.com/sirahd))
- fixes style [#143](https://github.com/vega/vega-tooltip/pull/143) ([@sirahd](https://github.com/sirahd))
- uses vgField instead of field to get field string and include maxbins in field [#143](https://github.com/vega/vega-tooltip/pull/143) ([@sirahd](https://github.com/sirahd))
- uses vl-generated field name in tooltip and updates bin key to match new vega-lite convention [#143](https://github.com/vega/vega-tooltip/pull/143) ([@sirahd](https://github.com/sirahd))
- fixes typo [#144](https://github.com/vega/vega-tooltip/pull/144) ([@sirahd](https://github.com/sirahd))
- add typeguard for FieldDef and correct FieldDef generic type [#144](https://github.com/vega/vega-tooltip/pull/144) ([@sirahd](https://github.com/sirahd))
- add schema back [#144](https://github.com/vega/vega-tooltip/pull/144) ([@sirahd](https://github.com/sirahd))
- field title now uses custom axis title as default [#144](https://github.com/vega/vega-tooltip/pull/144) ([@sirahd](https://github.com/sirahd))
- remove deprecated keys [#141](https://github.com/vega/vega-tooltip/pull/141) ([@sirahd](https://github.com/sirahd))
- Update embed call, update dependencies ([@domoritz](https://github.com/domoritz))
- Update parseOption.ts [#136](https://github.com/vega/vega-tooltip/pull/136) ([@domoritz](https://github.com/domoritz))
- Fix compile error [#135](https://github.com/vega/vega-tooltip/pull/135) ([@domoritz](https://github.com/domoritz))
- Update doc links to d3 v4 [#139](https://github.com/vega/vega-tooltip/pull/139) ([@ericsoco](https://github.com/ericsoco))
- Fix typo in CSS classname [#137](https://github.com/vega/vega-tooltip/pull/137) ([@ericsoco](https://github.com/ericsoco))
- Embed returns a promise, fix 2nd example. [#132](https://github.com/vega/vega-tooltip/pull/132) ([@millette](https://github.com/millette))
- vega-embed returns a promise (no more callback) [#131](https://github.com/vega/vega-tooltip/pull/131) ([@millette](https://github.com/millette))
- edit docs to remove requirement for placeholder [#130](https://github.com/vega/vega-tooltip/pull/130) (horradarn@yahoo-inc.com)
- Update dependencies and bump version [#128](https://github.com/vega/vega-tooltip/pull/128) ([@kanitw](https://github.com/kanitw))
- Note tooltip appears only for interactive=true marks [#126](https://github.com/vega/vega-tooltip/pull/126) ([@kenklin](https://github.com/kenklin))
- Update parseOption.ts [#124](https://github.com/vega/vega-tooltip/pull/124) ([@kanitw](https://github.com/kanitw))
- Do not show tooltip for group marks [#124](https://github.com/vega/vega-tooltip/pull/124) ([@kanitw](https://github.com/kanitw))
- fix space in import [#114](https://github.com/vega/vega-tooltip/pull/114) ([@sirahd](https://github.com/sirahd))
- add more types to disable noImplicitAny [#114](https://github.com/vega/vega-tooltip/pull/114) ([@sirahd](https://github.com/sirahd))
- Build individual javascript files. Fixes #110 [#112](https://github.com/vega/vega-tooltip/pull/112) ([@domoritz](https://github.com/domoritz))
- update scatterplot and use capitalized name [#109](https://github.com/vega/vega-tooltip/pull/109) ([@sirahd](https://github.com/sirahd))
- more edits [#109](https://github.com/vega/vega-tooltip/pull/109) ([@sirahd](https://github.com/sirahd))
- add installing instruction in main page and correct dependencies [#109](https://github.com/vega/vega-tooltip/pull/109) ([@sirahd](https://github.com/sirahd))
- Remove d3 map [#102](https://github.com/vega/vega-tooltip/pull/102) ([@sirahd](https://github.com/sirahd))
- minify css [#105](https://github.com/vega/vega-tooltip/pull/105) (soren@yieldbot.com)
#### ⚠️ Pushed to `stable`
- refactor: simplify code with nullish coalescing ([@domoritz](https://github.com/domoritz))
- ci: set akheron/dependabot-cron-action to use v0.2 ([@domoritz](https://github.com/domoritz))
- ci: auto merge dependabot PRs ([@domoritz](https://github.com/domoritz))
- ci: monthly updates ([@domoritz](https://github.com/domoritz))
- v0.25.1 ([@domoritz](https://github.com/domoritz))
- chore(deps-dev): bump rollup from 2.38.3 to 2.38.5 ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- v0.25.0 ([@domoritz](https://github.com/domoritz))
- ci: remove caching ([@domoritz](https://github.com/domoritz))
- v0.24.2 ([@domoritz](https://github.com/domoritz))
- chore: upgrade deps ([@domoritz](https://github.com/domoritz))
- v0.24.1 ([@domoritz](https://github.com/domoritz))
- chore: remove commonjs plugin ([@domoritz](https://github.com/domoritz))
- style: fix broken lint ([@domoritz](https://github.com/domoritz))
- refactor: use pkg refs ([@domoritz](https://github.com/domoritz))
- refactor: simplify tsconfig override ([@domoritz](https://github.com/domoritz))
- chore: modernize build system ([@domoritz](https://github.com/domoritz))
- ci: simplify coverage reporting ([@domoritz](https://github.com/domoritz))
- v0.23.2 ([@domoritz](https://github.com/domoritz))
- v0.23.1 ([@domoritz](https://github.com/domoritz))
- refactor: simplify version import ([@domoritz](https://github.com/domoritz))
- chore; upgrade deps ([@domoritz](https://github.com/domoritz))
- chore: upgrade deps and specs ([@domoritz](https://github.com/domoritz))
- chore: don't publish git workflows ([@domoritz](https://github.com/domoritz))
- chore: ignore coverage on npm ([@domoritz](https://github.com/domoritz))
- v0.23.0 ([@domoritz](https://github.com/domoritz))
- Update README.md ([@domoritz](https://github.com/domoritz))
- v0.22.1 ([@domoritz](https://github.com/domoritz))
- Upgrade deps ([@domoritz](https://github.com/domoritz))
- v0.22.0 ([@domoritz](https://github.com/domoritz))
- Allow partial tooltip options ([@domoritz](https://github.com/domoritz))
- v0.21.0 ([@domoritz](https://github.com/domoritz))
- Add declaration maps ([@domoritz](https://github.com/domoritz))
- v0.20.1 ([@domoritz](https://github.com/domoritz))
- v0.20.0 ([@domoritz](https://github.com/domoritz))
- Fix test ([@domoritz](https://github.com/domoritz))
- npm ignore ([@domoritz](https://github.com/domoritz))
- v0.19.1 ([@domoritz](https://github.com/domoritz))
- Deps ([@domoritz](https://github.com/domoritz))
- v0.19.0 ([@domoritz](https://github.com/domoritz))
- clean up dev scripts ([@domoritz](https://github.com/domoritz))
- Upgrade dev config ([@domoritz](https://github.com/domoritz))
- Remove greenkeeper badge ([@domoritz](https://github.com/domoritz))
- Update deps, remove node typigs ([@domoritz](https://github.com/domoritz))
- v0.18.1 ([@domoritz](https://github.com/domoritz))
- Fix package.json ([@domoritz](https://github.com/domoritz))
- v0.18.0 ([@domoritz](https://github.com/domoritz))
- merge branch 'master' of github.com:vega/vega-tooltip ([@domoritz](https://github.com/domoritz))
- Ignore build files in npm packages ([@domoritz](https://github.com/domoritz))
- Generate style file that satisfies linting ([@domoritz](https://github.com/domoritz))
- v0.17.2 ([@domoritz](https://github.com/domoritz))
- delete eslintignore ([@domoritz](https://github.com/domoritz))
- Update author ([@domoritz](https://github.com/domoritz))
- v0.17.1 ([@domoritz](https://github.com/domoritz))
- Improve linting setup ([@domoritz](https://github.com/domoritz))
- Switch to dev config, format ([@domoritz](https://github.com/domoritz))
- Ignore undefined properties. Fixes #251 ([@domoritz](https://github.com/domoritz))
- Refactor name of handler ([@domoritz](https://github.com/domoritz))
- Clean up readme ([@domoritz](https://github.com/domoritz))
- Update dependencies ([@domoritz](https://github.com/domoritz))
- v0.17.0 ([@domoritz](https://github.com/domoritz))
- Clean up lint ([@domoritz](https://github.com/domoritz))
- Clean up ([@domoritz](https://github.com/domoritz))
- v0.16.0 ([@domoritz](https://github.com/domoritz))
- Upgrade yarn deps ([@domoritz](https://github.com/domoritz))
- Test more examples, fix table style on observable ([@domoritz](https://github.com/domoritz))
- v0.15.0 ([@domoritz](https://github.com/domoritz))
- Remove ! ([@domoritz](https://github.com/domoritz))
- Format everything, use sass ([@domoritz](https://github.com/domoritz))
- v0.14.0 ([@domoritz](https://github.com/domoritz))
- Lint ([@domoritz](https://github.com/domoritz))
- Test on node 11 ([@domoritz](https://github.com/domoritz))
- Upgrade deps, use es6 ([@domoritz](https://github.com/domoritz))
- Upgrade dependencies, use terser, fix typescript ([@domoritz](https://github.com/domoritz))
- Fixes #212 ([@domoritz](https://github.com/domoritz))
- v0.13.0 ([@domoritz](https://github.com/domoritz))
- Renew npm key ([@domoritz](https://github.com/domoritz))
- Use Vega 4 ([@domoritz](https://github.com/domoritz))
- v0.12.0 ([@domoritz](https://github.com/domoritz))
- Use provided sanitize method ([@silky](https://github.com/silky))
- v0.11.0 ([@domoritz](https://github.com/domoritz))
- Clean up rollup, fix prettier ([@domoritz](https://github.com/domoritz))
- Make scripts more robust, remove styling ([@domoritz](https://github.com/domoritz))
- Generate js file with style. See vega/vega-embed#83 ([@domoritz](https://github.com/domoritz))
- Remove obsoleted signal_highligtedpoint ([@kenklin](https://github.com/kenklin))
- Fix choropleth.json link ([@kenklin](https://github.com/kenklin))
- Release instructions ([@domoritz](https://github.com/domoritz))
- v0.10.4 ([@domoritz](https://github.com/domoritz))
- Auto deploy ([@domoritz](https://github.com/domoritz))
- v0.10.3 ([@domoritz](https://github.com/domoritz))
- v0.10.2 ([@domoritz](https://github.com/domoritz))
- Append toString to defaultStyle ([@ydlamba](https://github.com/ydlamba))
- No need for rollup config on npm ([@domoritz](https://github.com/domoritz))
- v0.10.1 ([@domoritz](https://github.com/domoritz))
- Smaller npm bundle ([@domoritz](https://github.com/domoritz))
- v0.10.0 ([@domoritz](https://github.com/domoritz))
- Keep style in css file and import it into bundle ([@domoritz](https://github.com/domoritz))
- Use Vega 4, show line example ([@domoritz](https://github.com/domoritz))
- Update .npmignore ([@domoritz](https://github.com/domoritz))
- v0.9.16 ([@domoritz](https://github.com/domoritz))
- Fix build by adding node types for 9 ([@domoritz](https://github.com/domoritz))
- v0.9.15 ([@domoritz](https://github.com/domoritz))
- Format ([@domoritz](https://github.com/domoritz))
- Bump deps ([@domoritz](https://github.com/domoritz))
- Use our own stringify. Fixes vega/vega#1266 ([@domoritz](https://github.com/domoritz))
- Upgrade rollup ([@domoritz](https://github.com/domoritz))
- Fix typo ([@domoritz](https://github.com/domoritz))
- Deploy examples ([@domoritz](https://github.com/domoritz))
- Cleaner deployment ([@domoritz](https://github.com/domoritz))
- Deploy from examples folder ([@domoritz](https://github.com/domoritz))
- Add tests ([@domoritz](https://github.com/domoritz))
- v0.9.14 ([@domoritz](https://github.com/domoritz))
- security bug, redundant String ([@nyurik](https://github.com/nyurik))
- v0.9.13 ([@domoritz](https://github.com/domoritz))
- Only apply prettier to src ([@domoritz](https://github.com/domoritz))
- Fix examples. Fixes #196 ([@domoritz](https://github.com/domoritz))
- Auto format with tslint as well ([@domoritz](https://github.com/domoritz))
- Apply prettier ([@domoritz](https://github.com/domoritz))
- minor cleanups ([@nyurik](https://github.com/nyurik))
- refactored into testable modules ([@nyurik](https://github.com/nyurik))
- Prettier ([@domoritz](https://github.com/domoritz))
- es2015, not esnext ([@domoritz](https://github.com/domoritz))
- v0.9.12 ([@domoritz](https://github.com/domoritz))
- Upgrade to customize style and work with new embed ([@domoritz](https://github.com/domoritz))
- No need for hover ([@domoritz](https://github.com/domoritz))
- v0.9.11 ([@domoritz](https://github.com/domoritz))
- Don’t add `hover` in the convenience wrapper. Fixes #192 ([@domoritz](https://github.com/domoritz))
- Simplify code, fix comment. ([@jheer](https://github.com/jheer))
- v0.9.10 ([@domoritz](https://github.com/domoritz))
- restoring console.log statement ([@nyurik](https://github.com/nyurik))
- hide tooltip on empty string ([@nyurik](https://github.com/nyurik))
- v0.9.7 ([@domoritz](https://github.com/domoritz))
- Use null to detect when to hide the tooltip ([@domoritz](https://github.com/domoritz))
- Use ts helper lib ([@domoritz](https://github.com/domoritz))
- Add browser sync ([@domoritz](https://github.com/domoritz))
- Reorder ([@domoritz](https://github.com/domoritz))
- v0.9.6 ([@domoritz](https://github.com/domoritz))
- Use safe stringify. Fixes #187 ([@domoritz](https://github.com/domoritz))
- Docs for title, link to editor ([@domoritz](https://github.com/domoritz))
- v0.9.5 ([@domoritz](https://github.com/domoritz))
- Merge branch 'master' of github.com:vega/vega-tooltip ([@domoritz](https://github.com/domoritz))
- Update APIs.md ([@domoritz](https://github.com/domoritz))
- updated API.md ([@nyurik](https://github.com/nyurik))
- handle non-string simple values in escaping ([@nyurik](https://github.com/nyurik))
- Require hover processing ([@domoritz](https://github.com/domoritz))
- Improve examples ([@domoritz](https://github.com/domoritz))
- v0.9.4 ([@domoritz](https://github.com/domoritz))
- Run after adding the tooltip handler ([@domoritz](https://github.com/domoritz))
- v0.9.3 ([@domoritz](https://github.com/domoritz))
- Fix package.json file refs ([@domoritz](https://github.com/domoritz))
- moved formatValue into handler, doc fix ([@nyurik](https://github.com/nyurik))
- v0.9.2 ([@domoritz](https://github.com/domoritz))
- Update typings dependency ([@domoritz](https://github.com/domoritz))
- v0.9.1 ([@domoritz](https://github.com/domoritz))
- Link back to gh ([@domoritz](https://github.com/domoritz))
- Push data to github pages ([@domoritz](https://github.com/domoritz))
- Deploy gh pages ([@domoritz](https://github.com/domoritz))
- Remove support for bower ([@domoritz](https://github.com/domoritz))
- Readme ([@domoritz](https://github.com/domoritz))
- Add badges ([@domoritz](https://github.com/domoritz))
- Bump ([@domoritz](https://github.com/domoritz))
- Remove vega dependency. ([@domoritz](https://github.com/domoritz))
- Bump version ([@domoritz](https://github.com/domoritz))
- Bump to 0.6.1 ([@domoritz](https://github.com/domoritz))
- Bump to 0.6 ([@domoritz](https://github.com/domoritz))
- Fix weather spec ([@domoritz](https://github.com/domoritz))
- Rerun yarn ([@domoritz](https://github.com/domoritz))
- Udpate docs to jsdelivr ([@domoritz](https://github.com/domoritz))
- Bump top v0.5 ([@domoritz](https://github.com/domoritz))
- Update examples to use Vega-Embed ([@domoritz](https://github.com/domoritz))
- Do not use `extend` in vega-tooltip and bump to 0.4.4 ([@kanitw](https://github.com/kanitw))
- Delete options from tutorial. Fixes #125 ([@domoritz](https://github.com/domoritz))
- Bump to 0.4.2 ([@kanitw](https://github.com/kanitw))
- Bump to 0.4.1 ([@kanitw](https://github.com/kanitw))
- Add missing `typings` in package.json cc:@sirahd @domoritz ([@kanitw](https://github.com/kanitw))
- add properties in customizing docs ([@sirahd](https://github.com/sirahd))
- fix bad format ([@sirahd](https://github.com/sirahd))
- add links to github ([@sirahd](https://github.com/sirahd))
- Upgrade deps and fix build ([@domoritz](https://github.com/domoritz))
- Document how to use tooltip with old vg and vl ([@domoritz](https://github.com/domoritz))
- Bump again to fix deployment ([@domoritz](https://github.com/domoritz))
- Bump for cleanup ([@domoritz](https://github.com/domoritz))
- Ignore example css and demo screenshot ([@domoritz](https://github.com/domoritz))
#### 🔩 Dependency Updates
- chore(deps-dev): bump @rollup/plugin-node-resolve from 13.0.0 to 13.0.4 [#572](https://github.com/vega/vega-tooltip/pull/572) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.52.7 to 2.55.0 [#571](https://github.com/vega/vega-tooltip/pull/571) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump browser-sync from 2.27.4 to 2.27.5 [#569](https://github.com/vega/vega-tooltip/pull/569) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump codecov/codecov-action from 1 to 2.0.2 [#567](https://github.com/vega/vega-tooltip/pull/567) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.2.0 to 2.3.0 [#568](https://github.com/vega/vega-tooltip/pull/568) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump gh-pages from 3.2.0 to 3.2.3 [#561](https://github.com/vega/vega-tooltip/pull/561) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump akheron/dependabot-cron-action from 0.2 to 1 [#559](https://github.com/vega/vega-tooltip/pull/559) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from 2.1.5 to 2.2.0 [#560](https://github.com/vega/vega-tooltip/pull/560) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.50.5 to 2.52.7 [#562](https://github.com/vega/vega-tooltip/pull/562) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump browser-sync from 2.26.14 to 2.27.4 [#563](https://github.com/vega/vega-tooltip/pull/563) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump node-sass from 6.0.0 to 6.0.1 [#564](https://github.com/vega/vega-tooltip/pull/564) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.3.2 to 4.3.5 [#565](https://github.com/vega/vega-tooltip/pull/565) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 [#556](https://github.com/vega/vega-tooltip/pull/556) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.46.0 to 2.50.5 [#555](https://github.com/vega/vega-tooltip/pull/555) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump concurrently from 6.0.2 to 6.2.0 [#553](https://github.com/vega/vega-tooltip/pull/553) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump typescript from 4.2.4 to 4.3.2 [#550](https://github.com/vega/vega-tooltip/pull/550) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.2.1 to 13.0.0 [#552](https://github.com/vega/vega-tooltip/pull/552) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump node-sass from 5.0.0 to 6.0.0 [#551](https://github.com/vega/vega-tooltip/pull/551) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump gh-pages from 3.1.0 to 3.2.0 [#554](https://github.com/vega/vega-tooltip/pull/554) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump ws from 7.4.3 to 7.4.6 [#549](https://github.com/vega/vega-tooltip/pull/549) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 [#547](https://github.com/vega/vega-tooltip/pull/547) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump rollup from 2.45.2 to 2.46.0 [#546](https://github.com/vega/vega-tooltip/pull/546) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps): bump actions/setup-node from v1 to v2.1.5 [#545](https://github.com/vega/vega-tooltip/pull/545) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- ci: upgrade to GitHub-native Dependabot [#544](https://github.com/vega/vega-tooltip/pull/544) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.17.2 to 0.17.3 [#543](https://github.com/vega/vega-tooltip/pull/543) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.11 to 1.3.14 [#542](https://github.com/vega/vega-tooltip/pull/542) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.45.1 to 2.45.2 [#540](https://github.com/vega/vega-tooltip/pull/540) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump concurrently from 6.0.1 to 6.0.2 [#541](https://github.com/vega/vega-tooltip/pull/541) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.17.0 to 0.17.2 [#537](https://github.com/vega/vega-tooltip/pull/537) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump concurrently from 6.0.0 to 6.0.1 [#539](https://github.com/vega/vega-tooltip/pull/539) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.44.0 to 2.45.1 [#538](https://github.com/vega/vega-tooltip/pull/538) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.2.3 to 4.2.4 [#536](https://github.com/vega/vega-tooltip/pull/536) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.20.0 to 0.21.0 [#534](https://github.com/vega/vega-tooltip/pull/534) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.43.1 to 2.44.0 [#535](https://github.com/vega/vega-tooltip/pull/535) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.2.0 to 11.2.1 [#532](https://github.com/vega/vega-tooltip/pull/532) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.42.2 to 2.43.1 [#533](https://github.com/vega/vega-tooltip/pull/533) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.10 to 1.3.11 [#531](https://github.com/vega/vega-tooltip/pull/531) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.19.2 to 0.20.0 [#527](https://github.com/vega/vega-tooltip/pull/527) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.41.2 to 2.42.2 [#529](https://github.com/vega/vega-tooltip/pull/529) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump vega-util from 1.16.0 to 1.16.1 [#530](https://github.com/vega/vega-tooltip/pull/530) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.8 to 1.3.10 [#528](https://github.com/vega/vega-tooltip/pull/528) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.40.0 to 2.41.2 [#526](https://github.com/vega/vega-tooltip/pull/526) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.16.6 to 0.17.0 [#524](https://github.com/vega/vega-tooltip/pull/524) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.2.2 to 4.2.3 [#525](https://github.com/vega/vega-tooltip/pull/525) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.16.1 to 0.16.6 [#522](https://github.com/vega/vega-tooltip/pull/522) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.39.1 to 2.40.0 [#523](https://github.com/vega/vega-tooltip/pull/523) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump concurrently from 5.3.0 to 6.0.0 [#520](https://github.com/vega/vega-tooltip/pull/520) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.1.1 to 11.2.0 [#519](https://github.com/vega/vega-tooltip/pull/519) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.1.3 to 4.1.5 [#518](https://github.com/vega/vega-tooltip/pull/518) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.38.5 to 2.39.0 [#517](https://github.com/vega/vega-tooltip/pull/517) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.38.0 to 2.38.3 [#514](https://github.com/vega/vega-tooltip/pull/514) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.1.0 to 11.1.1 [#515](https://github.com/vega/vega-tooltip/pull/515) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump browser-sync from 2.26.13 to 2.26.14 [#513](https://github.com/vega/vega-tooltip/pull/513) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.36.2 to 2.38.0 [#512](https://github.com/vega/vega-tooltip/pull/512) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.36.1 to 2.36.2 [#511](https://github.com/vega/vega-tooltip/pull/511) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.0.1 to 11.1.0 [#510](https://github.com/vega/vega-tooltip/pull/510) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.35.1 to 2.36.1 [#509](https://github.com/vega/vega-tooltip/pull/509) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.19.1 to 0.19.2 [#505](https://github.com/vega/vega-tooltip/pull/505) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): [security] bump node-notifier from 8.0.0 to 8.0.1 [#504](https://github.com/vega/vega-tooltip/pull/504) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 11.0.0 to 11.0.1 [#503](https://github.com/vega/vega-tooltip/pull/503) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.35.0 to 2.35.1 [#502](https://github.com/vega/vega-tooltip/pull/502) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.0.5 to 4.1.3 [#500](https://github.com/vega/vega-tooltip/pull/500) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.34.2 to 2.35.0 [#501](https://github.com/vega/vega-tooltip/pull/501) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 10.0.0 to 11.0.0 [#498](https://github.com/vega/vega-tooltip/pull/498) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.34.0 to 2.34.2 [#497](https://github.com/vega/vega-tooltip/pull/497) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.33.3 to 2.34.0 [#496](https://github.com/vega/vega-tooltip/pull/496) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.33.2 to 2.33.3 [#495](https://github.com/vega/vega-tooltip/pull/495) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.33.1 to 2.33.2 [#494](https://github.com/vega/vega-tooltip/pull/494) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.7 to 1.3.8 [#493](https://github.com/vega/vega-tooltip/pull/493) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump node-sass from 4.14.1 to 5.0.0 [#491](https://github.com/vega/vega-tooltip/pull/491) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.32.1 to 2.33.1 [#492](https://github.com/vega/vega-tooltip/pull/492) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 9.0.0 to 10.0.0 [#489](https://github.com/vega/vega-tooltip/pull/489) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.32.0 to 2.32.1 [#488](https://github.com/vega/vega-tooltip/pull/488) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.5 to 1.3.7 [#487](https://github.com/vega/vega-tooltip/pull/487) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.0.3 to 4.0.5 [#486](https://github.com/vega/vega-tooltip/pull/486) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): [security] bump object-path from 0.11.4 to 0.11.5 [#485](https://github.com/vega/vega-tooltip/pull/485) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump browser-sync from 2.26.12 to 2.26.13 [#484](https://github.com/vega/vega-tooltip/pull/484) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.29.0 to 2.32.0 [#483](https://github.com/vega/vega-tooltip/pull/483) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.28.2 to 2.29.0 [#482](https://github.com/vega/vega-tooltip/pull/482) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump vega-util from 1.15.3 to 1.16.0 [#480](https://github.com/vega/vega-tooltip/pull/480) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.14.6 to 0.14.7 [#479](https://github.com/vega/vega-tooltip/pull/479) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @wessberg/rollup-plugin-ts from 1.3.4 to 1.3.5 [#481](https://github.com/vega/vega-tooltip/pull/481) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-datasets from 2.1.0 to 2.2.0 [#478](https://github.com/vega/vega-tooltip/pull/478) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.19.0 to 0.19.1 [#477](https://github.com/vega/vega-tooltip/pull/477) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.28.1 to 2.28.2 [#476](https://github.com/vega/vega-tooltip/pull/476) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump vega-util from 1.15.2 to 1.15.3 [#475](https://github.com/vega/vega-tooltip/pull/475) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 4.0.2 to 4.0.3 [#474](https://github.com/vega/vega-tooltip/pull/474) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.26.11 to 2.28.1 [#473](https://github.com/vega/vega-tooltip/pull/473) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.14.2 to 0.14.5 [#471](https://github.com/vega/vega-tooltip/pull/471) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.18.1 to 0.18.2 [#469](https://github.com/vega/vega-tooltip/pull/469) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.2.0 to 26.3.0 [#470](https://github.com/vega/vega-tooltip/pull/470) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.10 to 26.0.12 [#468](https://github.com/vega/vega-tooltip/pull/468) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.26.5 to 2.26.8 [#467](https://github.com/vega/vega-tooltip/pull/467) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump vega-util from 1.15.0 to 1.15.1 [#466](https://github.com/vega/vega-tooltip/pull/466) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.26.3 to 2.26.5 [#465](https://github.com/vega/vega-tooltip/pull/465) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.18.0 to 0.18.1 [#464](https://github.com/vega/vega-tooltip/pull/464) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump terser from 5.1.0 to 5.2.1 [#462](https://github.com/vega/vega-tooltip/pull/462) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump jest from 26.4.0 to 26.4.2 [#461](https://github.com/vega/vega-tooltip/pull/461) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-commonjs from 14.0.0 to 15.0.0 [#458](https://github.com/vega/vega-tooltip/pull/458) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 8.4.0 to 9.0.0 [#457](https://github.com/vega/vega-tooltip/pull/457) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.1.4 to 26.2.0 [#460](https://github.com/vega/vega-tooltip/pull/460) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.23.1 to 2.26.3 [#459](https://github.com/vega/vega-tooltip/pull/459) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.9 to 26.0.10 [#454](https://github.com/vega/vega-tooltip/pull/454) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump terser from 5.0.0 to 5.1.0 [#456](https://github.com/vega/vega-tooltip/pull/456) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump jest from 26.3.0 to 26.4.0 [#455](https://github.com/vega/vega-tooltip/pull/455) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.23.0 to 2.23.1 [#452](https://github.com/vega/vega-tooltip/pull/452) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump concurrently from 5.2.0 to 5.3.0 [#451](https://github.com/vega/vega-tooltip/pull/451) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.8 to 26.0.9 [#450](https://github.com/vega/vega-tooltip/pull/450) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump jest from 26.2.2 to 26.3.0 [#449](https://github.com/vega/vega-tooltip/pull/449) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump terser from 4.8.0 to 5.0.0 [#444](https://github.com/vega/vega-tooltip/pull/444) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.11.8 to 0.11.9 [#447](https://github.com/vega/vega-tooltip/pull/447) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump jest from 26.1.0 to 26.2.2 [#446](https://github.com/vega/vega-tooltip/pull/446) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.1.3 to 26.1.4 [#448](https://github.com/vega/vega-tooltip/pull/448) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.7 to 26.0.8 [#445](https://github.com/vega/vega-tooltip/pull/445) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.5 to 26.0.7 [#442](https://github.com/vega/vega-tooltip/pull/442) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump codecov from 3.7.1 to 3.7.2 [#443](https://github.com/vega/vega-tooltip/pull/443) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.22.1 to 2.23.0 [#440](https://github.com/vega/vega-tooltip/pull/440) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump browser-sync from 2.26.10 to 2.26.12 [#441](https://github.com/vega/vega-tooltip/pull/441) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-commonjs from 13.0.1 to 14.0.0 [#433](https://github.com/vega/vega-tooltip/pull/433) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump codecov from 3.7.0 to 3.7.1 [#437](https://github.com/vega/vega-tooltip/pull/437) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.21.0 to 2.22.1 [#439](https://github.com/vega/vega-tooltip/pull/439) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump browser-sync from 2.26.7 to 2.26.10 [#438](https://github.com/vega/vega-tooltip/pull/438) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 26.0.4 to 26.0.5 [#436](https://github.com/vega/vega-tooltip/pull/436) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.1.2 to 26.1.3 [#434](https://github.com/vega/vega-tooltip/pull/434) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 3.9.6 to 3.9.7 [#435](https://github.com/vega/vega-tooltip/pull/435) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump lodash from 4.17.18 to 4.17.19 [#432](https://github.com/vega/vega-tooltip/pull/432) ([@dependabot[bot]](https://github.com/dependabot[bot]))
- chore(deps-dev): bump @rollup/plugin-commonjs from 13.0.0 to 13.0.1 [#430](https://github.com/vega/vega-tooltip/pull/430) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.1.1 to 26.1.2 [#431](https://github.com/vega/vega-tooltip/pull/431) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 8.1.0 to 8.4.0 [#429](https://github.com/vega/vega-tooltip/pull/429) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.18.0 to 2.19.0 [#427](https://github.com/vega/vega-tooltip/pull/427) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 3.9.5 to 3.9.6 [#426](https://github.com/vega/vega-tooltip/pull/426) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-lite-dev-config from 0.11.5 to 0.11.7 [#424](https://github.com/vega/vega-tooltip/pull/424) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump terser from 4.7.0 to 4.8.0 [#420](https://github.com/vega/vega-tooltip/pull/420) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.16.1 to 2.18.0 [#422](https://github.com/vega/vega-tooltip/pull/422) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.1.0 to 26.1.1 [#423](https://github.com/vega/vega-tooltip/pull/423) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump gh-pages from 3.0.0 to 3.1.0 [#421](https://github.com/vega/vega-tooltip/pull/421) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.0 [#419](https://github.com/vega/vega-tooltip/pull/419) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.15.0 to 2.16.1 [#418](https://github.com/vega/vega-tooltip/pull/418) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.17.2 to 0.18.0 [#411](https://github.com/vega/vega-tooltip/pull/411) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-commonjs from 12.0.0 to 13.0.0 [#414](https://github.com/vega/vega-tooltip/pull/414) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.12.0 to 2.15.0 [#417](https://github.com/vega/vega-tooltip/pull/417) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-node-resolve from 8.0.0 to 8.0.1 [#416](https://github.com/vega/vega-tooltip/pull/416) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps): bump vega-util from 1.14.0 to 1.14.1 [#415](https://github.com/vega/vega-tooltip/pull/415) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump typescript from 3.9.3 to 3.9.5 [#413](https://github.com/vega/vega-tooltip/pull/413) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump @rollup/plugin-json from 4.0.3 to 4.1.0 [#412](https://github.com/vega/vega-tooltip/pull/412) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-datasets from 1.30.4 to 1.31.1 [#410](https://github.com/vega/vega-tooltip/pull/410) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump gh-pages from 2.2.0 to 3.0.0 [#408](https://github.com/vega/vega-tooltip/pull/408) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.11.2 to 2.12.0 [#405](https://github.com/vega/vega-tooltip/pull/405) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump ts-jest from 26.0.0 to 26.1.0 [#407](https://github.com/vega/vega-tooltip/pull/407) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-datasets from 1.30.3 to 1.30.4 [#406](https://github.com/vega/vega-tooltip/pull/406) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump rollup from 2.10.5 to 2.10.9 [#404](https://github.com/vega/vega-tooltip/pull/404) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- chore(deps-dev): bump vega-typings from 0.17.1 to 0.17.2 [#403](https://github.com/vega/vega-tooltip/pull/403) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-node-resolve from 7.1.3 to 8.0.0 [#396](https://github.com/vega/vega-tooltip/pull/396) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-commonjs from 11.1.0 to 12.0.0 [#402](https://github.com/vega/vega-tooltip/pull/402) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.17.0 to 0.17.1 [#399](https://github.com/vega/vega-tooltip/pull/399) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.9.2 to 3.9.3 [#401](https://github.com/vega/vega-tooltip/pull/401) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.10.2 to 2.10.5 [#400](https://github.com/vega/vega-tooltip/pull/400) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 25.2.2 to 25.2.3 [#397](https://github.com/vega/vega-tooltip/pull/397) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.13 to 4.7.0 [#398](https://github.com/vega/vega-tooltip/pull/398) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.5.0 to 25.5.1 [#392](https://github.com/vega/vega-tooltip/pull/392) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.8.2 to 2.9.1 [#391](https://github.com/vega/vega-tooltip/pull/391) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-lite-dev-config from 0.10.0 to 0.10.3 [#390](https://github.com/vega/vega-tooltip/pull/390) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.7.2 to 2.7.6 [#388](https://github.com/vega/vega-tooltip/pull/388) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 25.4.0 to 25.5.4 [#386](https://github.com/vega/vega-tooltip/pull/386) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.12 to 4.6.13 [#387](https://github.com/vega/vega-tooltip/pull/387) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.15.4 to 0.16.0 [#381](https://github.com/vega/vega-tooltip/pull/381) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.11 to 4.6.12 [#383](https://github.com/vega/vega-tooltip/pull/383) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.6.1 to 2.7.2 [#384](https://github.com/vega/vega-tooltip/pull/384) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump node-sass from 4.13.1 to 4.14.0 [#382](https://github.com/vega/vega-tooltip/pull/382) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump concurrently from 5.1.0 to 5.2.0 [#380](https://github.com/vega/vega-tooltip/pull/380) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.13.1 to 1.13.2 [#379](https://github.com/vega/vega-tooltip/pull/379) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-lite-dev-config from 0.5.1 to 0.7.1 [#375](https://github.com/vega/vega-tooltip/pull/375) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 25.3.0 to 25.4.0 [#374](https://github.com/vega/vega-tooltip/pull/374) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-json from 4.0.2 to 4.0.3 [#377](https://github.com/vega/vega-tooltip/pull/377) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.15.3 to 0.15.4 [#376](https://github.com/vega/vega-tooltip/pull/376) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.3.1 to 25.4.0 [#373](https://github.com/vega/vega-tooltip/pull/373) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-commonjs from 11.0.2 to 11.1.0 [#369](https://github.com/vega/vega-tooltip/pull/369) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.3.3 to 2.6.1 [#370](https://github.com/vega/vega-tooltip/pull/370) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.10 to 4.6.11 [#372](https://github.com/vega/vega-tooltip/pull/372) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.15.2 to 0.15.3 [#371](https://github.com/vega/vega-tooltip/pull/371) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 25.2.7 to 25.3.0 [#368](https://github.com/vega/vega-tooltip/pull/368) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-node-resolve from 7.1.1 to 7.1.3 [#367](https://github.com/vega/vega-tooltip/pull/367) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.14.2 to 0.15.2 [#360](https://github.com/vega/vega-tooltip/pull/360) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.3.0 to 2.3.3 [#364](https://github.com/vega/vega-tooltip/pull/364) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-lite-dev-config from 0.5.0 to 0.5.1 [#362](https://github.com/vega/vega-tooltip/pull/362) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 25.2.4 to 25.2.7 [#366](https://github.com/vega/vega-tooltip/pull/366) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.3.0 to 25.3.1 [#365](https://github.com/vega/vega-tooltip/pull/365) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.7 to 4.6.10 [#363](https://github.com/vega/vega-tooltip/pull/363) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 25.1.4 to 25.2.1 [#361](https://github.com/vega/vega-tooltip/pull/361) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 25.1.0 to 25.2.4 [#359](https://github.com/vega/vega-tooltip/pull/359) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 2.1.0 to 2.3.0 [#358](https://github.com/vega/vega-tooltip/pull/358) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.2.1 to 25.3.0 [#357](https://github.com/vega/vega-tooltip/pull/357) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.6 to 4.6.7 [#356](https://github.com/vega/vega-tooltip/pull/356) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.14.0 to 0.14.2 [#355](https://github.com/vega/vega-tooltip/pull/355) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- [Security] Bump acorn from 6.4.0 to 6.4.1 [#354](https://github.com/vega/vega-tooltip/pull/354) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.13.0 to 0.14.0 [#352](https://github.com/vega/vega-tooltip/pull/352) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.4 to 4.6.6 [#353](https://github.com/vega/vega-tooltip/pull/353) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.13.0 to 1.13.1 [#351](https://github.com/vega/vega-tooltip/pull/351) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.32.0 to 1.32.1 [#350](https://github.com/vega/vega-tooltip/pull/350) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 25.1.3 to 25.1.4 [#349](https://github.com/vega/vega-tooltip/pull/349) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.8.2 to 3.8.3 [#348](https://github.com/vega/vega-tooltip/pull/348) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-datasets from 1.29.0 to 1.30.2 [#346](https://github.com/vega/vega-tooltip/pull/346) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-lite-dev-config from 0.3.1 to 0.4.3 [#344](https://github.com/vega/vega-tooltip/pull/344) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.31.0 to 1.31.1 [#345](https://github.com/vega/vega-tooltip/pull/345) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.12.1 to 0.12.3 [#343](https://github.com/vega/vega-tooltip/pull/343) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.1.0 to 25.2.0 [#342](https://github.com/vega/vega-tooltip/pull/342) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 25.1.1 to 25.1.2 [#341](https://github.com/vega/vega-tooltip/pull/341) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-node-resolve from 7.0.0 to 7.1.1 [#339](https://github.com/vega/vega-tooltip/pull/339) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-commonjs from 11.0.1 to 11.0.2 [#334](https://github.com/vega/vega-tooltip/pull/334) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 25.0.0 to 25.1.0 [#338](https://github.com/vega/vega-tooltip/pull/338) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.30.1 to 1.31.0 [#337](https://github.com/vega/vega-tooltip/pull/337) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.12.0 to 0.12.1 [#335](https://github.com/vega/vega-tooltip/pull/335) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @rollup/plugin-json from 4.0.1 to 4.0.2 [#333](https://github.com/vega/vega-tooltip/pull/333) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump concurrently from 5.0.2 to 5.1.0 [#332](https://github.com/vega/vega-tooltip/pull/332) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.29.1 to 1.30.0 [#331](https://github.com/vega/vega-tooltip/pull/331) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump node-sass from 4.13.0 to 4.13.1 [#329](https://github.com/vega/vega-tooltip/pull/329) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.7.4 to 3.7.5 [#330](https://github.com/vega/vega-tooltip/pull/330) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.6.2 to 4.6.3 [#328](https://github.com/vega/vega-tooltip/pull/328) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.25 to 24.9.0 [#326](https://github.com/vega/vega-tooltip/pull/326) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.12.1 to 1.12.2 [#327](https://github.com/vega/vega-tooltip/pull/327) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump gh-pages from 2.1.1 to 2.2.0 [#325](https://github.com/vega/vega-tooltip/pull/325) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.28.0 to 1.29.0 [#324](https://github.com/vega/vega-tooltip/pull/324) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.5.1 to 4.6.2 [#323](https://github.com/vega/vega-tooltip/pull/323) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 24.2.0 to 24.3.0 [#322](https://github.com/vega/vega-tooltip/pull/322) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.4.3 to 4.5.1 [#321](https://github.com/vega/vega-tooltip/pull/321) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.27.14 to 1.28.0 [#320](https://github.com/vega/vega-tooltip/pull/320) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.24 to 24.0.25 [#319](https://github.com/vega/vega-tooltip/pull/319) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump concurrently from 5.0.1 to 5.0.2 [#318](https://github.com/vega/vega-tooltip/pull/318) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.4.2 to 4.4.3 [#317](https://github.com/vega/vega-tooltip/pull/317) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.23 to 24.0.24 [#316](https://github.com/vega/vega-tooltip/pull/316) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.27.13 to 1.27.14 [#315](https://github.com/vega/vega-tooltip/pull/315) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.7.3 to 3.7.4 [#314](https://github.com/vega/vega-tooltip/pull/314) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-datasets from 1.28.0 to 1.29.0 [#311](https://github.com/vega/vega-tooltip/pull/311) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.12.0 to 1.12.1 [#309](https://github.com/vega/vega-tooltip/pull/309) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.27.8 to 1.27.9 [#307](https://github.com/vega/vega-tooltip/pull/307) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.27.5 to 1.27.8 [#306](https://github.com/vega/vega-tooltip/pull/306) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.4.0 to 4.4.1 [#304](https://github.com/vega/vega-tooltip/pull/304) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-datasets from 1.27.0 to 1.28.0 [#305](https://github.com/vega/vega-tooltip/pull/305) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 24.1.0 to 24.2.0 [#303](https://github.com/vega/vega-tooltip/pull/303) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.27.0 to 1.27.5 [#302](https://github.com/vega/vega-tooltip/pull/302) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.10.2 to 0.11.1 [#301](https://github.com/vega/vega-tooltip/pull/301) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-datasets from 1.26.0 to 1.27.0 [#299](https://github.com/vega/vega-tooltip/pull/299) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.26.5 to 1.27.0 [#298](https://github.com/vega/vega-tooltip/pull/298) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.22 to 24.0.23 [#297](https://github.com/vega/vega-tooltip/pull/297) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.20 to 24.0.22 [#296](https://github.com/vega/vega-tooltip/pull/296) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.26.0 to 1.26.5 [#295](https://github.com/vega/vega-tooltip/pull/295) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.6.4 to 3.7.2 [#294](https://github.com/vega/vega-tooltip/pull/294) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.3.9 to 4.4.0 [#293](https://github.com/vega/vega-tooltip/pull/293) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump node-sass from 4.12.0 to 4.13.0 [#292](https://github.com/vega/vega-tooltip/pull/292) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.25.1 to 1.26.0 [#291](https://github.com/vega/vega-tooltip/pull/291) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.19 to 24.0.20 [#290](https://github.com/vega/vega-tooltip/pull/290) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.23.1 to 1.25.1 [#288](https://github.com/vega/vega-tooltip/pull/288) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.3.8 to 4.3.9 [#289](https://github.com/vega/vega-tooltip/pull/289) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.11.2 to 1.12.0 [#286](https://github.com/vega/vega-tooltip/pull/286) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.10.0 to 0.10.2 [#287](https://github.com/vega/vega-tooltip/pull/287) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.18 to 24.0.19 [#285](https://github.com/vega/vega-tooltip/pull/285) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.6.3 to 3.6.4 [#284](https://github.com/vega/vega-tooltip/pull/284) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.9.0 to 0.10.0 [#282](https://github.com/vega/vega-tooltip/pull/282) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump concurrently from 4.1.2 to 5.0.0 [#278](https://github.com/vega/vega-tooltip/pull/278) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-lite-dev-config from 0.2.5 to 0.3.0 [#280](https://github.com/vega/vega-tooltip/pull/280) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.3.4 to 4.3.8 [#283](https://github.com/vega/vega-tooltip/pull/283) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.22.0 to 1.23.1 [#281](https://github.com/vega/vega-tooltip/pull/281) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-datasets from 1.25.0 to 1.26.0 [#279](https://github.com/vega/vega-tooltip/pull/279) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.3.1 to 4.3.4 [#277](https://github.com/vega/vega-tooltip/pull/277) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.21.4 to 1.22.0 [#276](https://github.com/vega/vega-tooltip/pull/276) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.21.3 to 1.21.4 [#275](https://github.com/vega/vega-tooltip/pull/275) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-typings from 0.8.1 to 0.9.0 [#271](https://github.com/vega/vega-tooltip/pull/271) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump typescript from 3.6.2 to 3.6.3 [#274](https://github.com/vega/vega-tooltip/pull/274) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.21.1 to 1.21.3 [#273](https://github.com/vega/vega-tooltip/pull/273) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump ts-jest from 24.0.2 to 24.1.0 [#272](https://github.com/vega/vega-tooltip/pull/272) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump vega-util from 1.11.1 to 1.11.2 [#270](https://github.com/vega/vega-tooltip/pull/270) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.3.0 to 4.3.1 [#269](https://github.com/vega/vega-tooltip/pull/269) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.2.1 to 4.3.0 [#268](https://github.com/vega/vega-tooltip/pull/268) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.20.3 to 1.21.1 [#267](https://github.com/vega/vega-tooltip/pull/267) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump rollup from 1.20.1 to 1.20.2 [#266](https://github.com/vega/vega-tooltip/pull/266) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump @types/jest from 24.0.17 to 24.0.18 [#265](https://github.com/vega/vega-tooltip/pull/265) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.1.4 to 4.2.0 [#264](https://github.com/vega/vega-tooltip/pull/264) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump concurrently from 4.1.1 to 4.1.2 [#263](https://github.com/vega/vega-tooltip/pull/263) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump jest from 24.8.0 to 24.9.0 [#262](https://github.com/vega/vega-tooltip/pull/262) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump gh-pages from 2.1.0 to 2.1.1 [#261](https://github.com/vega/vega-tooltip/pull/261) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
- Bump terser from 4.1.3 to 4.1.4 [#260](https://github.com/vega/vega-tooltip/pull/260) ([@dependabot-preview[bot]](https://github.com/dependabot-preview[bot]))
#### Authors: 19
- [@dependabot-preview[bot]](https://github.com/dependabot-preview[bot])
- [@dependabot[bot]](https://github.com/dependabot[bot])
- [@greenkeeper[bot]](https://github.com/greenkeeper[bot])
- [@melissachang](https://github.com/melissachang)
- Abe Rubenstein ([@sighrobot](https://github.com/sighrobot))
- Cameron Yick ([@hydrosquall](https://github.com/hydrosquall))
- Dominik Moritz ([@domoritz](https://github.com/domoritz))
- Eric Socolofsky ([@ericsoco](https://github.com/ericsoco))
- Jeffrey Heer ([@jheer](https://github.com/jheer))
- Kanit Wongsuphasawat ([@kanitw](https://github.com/kanitw))
- Ken Lin ([@kenklin](https://github.com/kenklin))
- Noon van der Silk ([@silky](https://github.com/silky))
- Robin Millette ([@millette](https://github.com/millette))
- Sam Horradarn (horradarn@yahoo-inc.com)
- siddhant ([@siddhant1](https://github.com/siddhant1))
- Sira (Sam) Horradarn ([@sirahd](https://github.com/sirahd))
- Soren Macbeth (soren@yieldbot.com)
- Yash Dev Lamba ([@ydlamba](https://github.com/ydlamba))
- Yuri Astrakhan ([@nyurik](https://github.com/nyurik))vega-tooltip-0.33.0/LICENSE000066400000000000000000000027121446424224700152270ustar00rootroot00000000000000Copyright 2016 Interactive Data Lab and contributors
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
vega-tooltip-0.33.0/README.md000066400000000000000000000067101446424224700155030ustar00rootroot00000000000000# Tooltip for Vega & Vega-Lite
[](https://www.npmjs.com/package/vega-tooltip)
[](https://github.com/vega/vega-tooltip/actions)
[](https://codecov.io/gh/vega/vega-tooltip)
[](https://www.jsdelivr.com/package/npm/vega-tooltip)
[](https://github.com/prettier/prettier)
A tooltip plugin for [Vega](http://vega.github.io/vega/) and [Vega-Lite](https://vega.github.io/vega-lite/) visualizations. This plugin implements a [custom tooltip handler](https://vega.github.io/vega/docs/api/view/#view_tooltip) for Vega that uses custom HTML tooltips instead of the HTML [`title` attribute](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/title). Vega Tooltip is installed in the [Vega Editor](https://vega.github.io/editor/).

**Features**
* Renders nice tooltips for Vega and Vega-Lite charts
* Supports dark and light theme
* Renders object-valued tooltips as a table
* Supports special keys `title` (becomes the title of the tooltip) and `image` (used as the url for an embedded image)
## Demo
http://vega.github.io/vega-tooltip/
## Installing
We recommend using [Vega-Embed](https://github.com/vega/vega-embed), which already comes with this tooltip plugin.
### NPM or Yarn
Use `npm install vega-tooltip` or `yarn add vega-tooltip`.
### Using Vega-tooltip with a CDN
You can import `vega-tooltip` directly from [`jsDelivr`](https://www.jsdelivr.com/package/npm/vega-tooltip). Replace `[VERSION]` with the version that you want to use.
```html
```
## Usage and APIs
If you use [Vega-Embed](https://github.com/vega/vega-embed), you **don't need to install Vega Tooltip**! Vega Embed already comes with Vega Tooltip. You can however pass tooltip customizations.
```js
vegaEmbed("#vis", spec, {tooltip: {theme: 'dark'}})
.then(function(result) {
// result.view contains the Vega view
})
.catch(console.error);
```
If you want to use a different version of the tooltip handler, you can override the default handler with the handler from Vega Tooltip (and you need to install it separately).
```js
var handler = new vegaTooltip.Handler();
vegaEmbed("#vis", spec, {tooltip: handler.call})
.then(function(result) {
// result.view contains the Vega view
})
.catch(console.error);
```
See the [API documentation](docs/APIs.md) for details.
## Tutorials
1. [Creating Your Tooltip](docs/creating_your_tooltip.md)
2. [Customizing Your Tooltip](docs/customizing_your_tooltip.md)
## Run Instructions
1. In the project folder `vega-tooltip`, type command `yarn` to install dependencies.
2. Then, type `yarn start`. This will build the library and start a web server.
3. In your browser, navigate to `http://localhost:8000/`, where you can see various Vega-Lite and Vega visualizations with tooltip interaction.
## Publishing
To make a release, run `npm run release`.
vega-tooltip-0.33.0/babel.config.js000066400000000000000000000002541446424224700170700ustar00rootroot00000000000000module.exports = {
"presets": [
[
"@babel/env",
{
"targets": {
"node": "current"
}
}
],
"@babel/typescript"
]
};vega-tooltip-0.33.0/build-style.sh000077500000000000000000000002531446424224700170140ustar00rootroot00000000000000#!/usr/bin/env bash
printf "// generated with build-style.sh\nexport default \`" > src/style.ts
yarn -s sass vega-tooltip.scss >> src/style.ts
echo "\`;" >> src/style.ts
vega-tooltip-0.33.0/demo.png000066400000000000000000000750771446424224700156720ustar00rootroot00000000000000�PNG
IHDR�&$�D�
4iCCPICC Profileh���
XS�����@�LPyQ&����0
��oH�g��l844�����eeV��ieji�fh�v��ݴ2�z���n�!��%��;g��d����x��g���a;;lߝ�s��/)�,���Y��cǍ������?�
�%�33�����@"\����z-���+59�OJ�e��[EY�0>ű���q�0��R�0α�C�uFf�p���'�2�'��-�La\n��}J���RS�\ק�:VA����)�\��C?�l�(`|��И/�7$�LE�L�)R��$0y0���|�1z����L�9�����zey�ʄ�S�tsa~A��?�~�<�hP�����@�YZ�n�F�~YV���q��˲�X`W5�c�/��������S��և�H5�����o+WX����B��Fm���]&�����E��C��G��6jO�@�#u�@
������Ν;w�P�SW
�nԝ©��^t;���C�����T*U*�Z��(���R,��O �H:J�~ԟ�)�Ri��@D����BCi
�LAYt'��Q4���X'Ow���&�=��������(��h�SҽTD����d��Bf*�2�J���ӦM�N�Q%͠�t?͢�4��Bs��G��AZ@iѢEUU�/^BK�!z���#�(-���qz�VГ��������gi�^����֬Y�����6��"�D�e�D�i�B�
��6z���z�v�.z�vӛTC{h/�Eo�>z���z��J���� �O�t�>��Ӈt���G�1}BG�>�c��� �'��STG�[}A��}Ig�+:g�5����o���;:O�S]�j��E���%��U�@��~���ʕ+����dbv�w�@"&�UM��.�T*1����6®���_��X\+���^/f�w��v0b>��~0 bB��aEĎ���X;"F�6D�u�C�G+�!F��Ca� �F�qhn�m�$\�l}��6���Z�R�
�`��6����
�}h���-u��V4�¶-���1EK�h�Ư���#��x8:�h���RG�[bߑ�Z�'��G]qԖ��KscF�zBs,�m��V�U���4F�M_ĸصE��KSĠ�9�ؚKK���"Dȇ�B8�h��!��9'p� �s��9'p� �s��9'p� �s�[}N�|.#!iZ�dyy����dLS)�a�<���[h�O52-26,I�0����������'?�]�rz4[�qn�λ��G���i�]waHE{�:玵�"���3�<q����.Ol�Z��
Ax/D�T��������7c��0,㋉Mo��]�t�}��������gKP�L��;��z���7l���2�{�����őZ�����H'.�C9Q���DžbVFW~��y��6u�X�q6�".*�W���E*J�q�l!�/��c��=^�٨����%�VY����~T��b��
�n��=�IV���>T�܄�w��ЍޕN7������c�&�y~#\ǐ7)��ޢb�i��tj���3�=g��\�h�҇�=���'V�|��gW�Y���7n�����v�ܵ�f���������><���c�O�����_}�M���Ƌ��._q>�[��K������mW`3Y>�G��$ �� �Z�����>��$쐁��b��{�Fo�
�b�l2ˇ����?N�?`jx3�ف�Ç�?�5C��H�iTXtXML:com.adobe.xmp
5
1
2
�O�@IDATx�}`��� ymH�D�$R4��D�+��i?"���E�||�>�~�E�W?QA��6T�PQc�@%(��� ��y�������a7Y�lݙ�s�;���oϹ���B"�� �@;#Э��'�A@B@�EA@���:v�� ���|A@:!��].*�� $�A@�A@�C`��
�� �w@A�C��墂� B@�A@���:v�� ���|A@:!��].*�� $�A@�A@�C`��
�� �w@A�C��墂� B@�A@���:v�� ���|A@:!��].*�� $�A@�A@�C`��
�� �w@A�C��墂� B@�A@���:v�� ���|A@:!��].*�� �8�Nz�嗩��J�fmm-�v�mC�}�-X�����K�>�(�=:���{A�v���������O�z����X�
�C�Ѱa���r�-4f�ڶm��>� ��@HK����
��>�;����~�m�ꫯ��g�U��VWW�=���UOA@���րv��Iw�uA��륗^���z�%%%�Q0`�*sȎ �@�#�s@�
�7�|�&O�L���4n�8��O~B[�n���d/p���GPAT����)))���Z�mw\PP@�����y@�a������5���7^A�
&����X0~�xu���v]s�5�c�JMM�����a��
�@f��g�D���G���ƈ/�����";�@�!�&8��W_M���
���"Z�f
�5����<�JJJ��ѣ��SO)��VCU:A@h��Հ�������>�f̘��x���3Ϥnݺ�����U��>H�&Mj,� �� �z-"�հ�����"##��
�}��G3g�T���맋e+�� �N5���P�ӧ�O8{����\
A@����j{��
�� -A@�%�I[A@�f# �l褡 �@Kj z�VA��5:i(�� ����%�{��G�S��**=�n5!�;���H��u�[�� �
>��B���n��@D $A@�!��@٦�(*�v��h/6������5�T][��+�
���ɸA h -<�0�m'66V�Y���)���Z�;�ѣ�rT�_h=�)o_)���ʪZ���(�ME7���WYg�G�-�D ��̐�NK\\�_��>��:{j�c�j������y�G���z ��� A@hC��°������P����6��5�S��(�Mi3�H#)[A@hO�4�'�my�#�U�^u����j]*�D7hK�oA@h B@-A�6m=���n!Fa!���^l��}� tJ'[A@E���
i�ʕn\0I�-�ФI�hӦM���y͗��DA@h)]��v�Z�={6���
/�6l!7h̘1�u�V9rdK����<��&�A�Cz*,,T�fΜ���?��o��n��FU�hժU]��`J�jAb^sMdG���&���ZJOO���,:x� �ڵK�
())�
�hÆ
�㮲cM��#*�*��HgH
$�jW�J�SZ��&�����%�\B�>����n�`nKNNvcg߾}*նNӭ�^�\����W߭UVPPPW����qFܸ��>H���v���<�t혾��� t��y���%��ΐb=m�@�P?<�y����裏�qD����Tڿ�����Z��I���a�]�wP�����q�r�>x�b�6��L��V�QLt��v��G���tЖ}��U72��DS���.::�����?N/��"�s�=4c��߿?-X��JJJ��ѣ��SO)��`�R�r�~�����Y烂�/A@�AK@��N�^�(**�bccռOXXM�0A�`��ǫ�iii��I��� �݉r��'N '�$%�� �:� �
ϔ)S����>�g����u��$�uWQ�5a�|d�OW�6�}m�@�! _P����WqЕiwk'���8�k������s��BCi�������Q��|�HJN��$����I$�A�1���؍w�s:�Aё�|�8mw="*����U5d6������l"_�KY�j+�A�k#Х5�����hڴVp�(ճ��}�Z�>
�Vr H(�}��j�:s���� `E@4 +"]��Yc0
x�����r^ϯZf hD��d�k"�� ����6�W�ah��WS����7�7��\ƸP>���|��ʳ�s��"�dnH�![A@���h@�� �r=��F�L5���(��"!�2�_���0����ݧ��A��
iDd+�
�2AX��4A�ڸW�%�U��T ���nj~�Y� ˣN�x�}ZO�ܐ9+��+��Фѧ���9)�o�;�j
U��`-ID��B@4��B�F�����Q� �
Leaݨ����x&��(@���ϒ������5�*:JІat�z�ԋ��:�/�ްƨ���zu��z�t���zE�
\SD�@� ��7������6��1S��S�Da�"J�Eeǫ��
P}Lp�6�f�Z&�����D���M|�����3����G �ƈI������("Bߎ�t�ܐ�H�A@`lO@��s��W{}X}���;vP\\�W��F@��h�A-� 4����T��k-q1(��j~i¹cL*��1������
\��`�s0�=2y�*�7A@�ؚ��N'=��CC�_=��đjAE���^{�5���L#F���n�����-_����ݫ��aM�<�+I]S}����h�UTwmą���*��
�LD��E�����؊�av����w�y�YѪ/^L�=������_����i���N��{/�z�*bvUU�*kš۪+e"c�B�=�aw��A2˩';!@J���c��J���5����[B;�qC��Z�e�������|�h�
y�ؚ��w�N^x!���[Js���PO��ܨ���ʕ+��+�s�9t��ҟ��'Eh��=d��5k�[��N�j��]Eeʱ��3y���(&h:����p�BC���4|`?��)UD�Z����;ژӚ�Д9���<�T\o�
8�6A���5���ʔ-�,H&�X4k&�ʋ���o}
l����m��/����,���#�ٖ؞�.������O9�M�3��;�&1�����k���S����Ç��>#d@��&�3f(-��.�ٗ�|g�#��3�?�Js�}���P}5"��#����h�ս���ٍ=��SR��w횭����@s�'�=Ht�����)ۏs�#&/8��$V�1��l�&��"C����6�
��6�n��F�����t��w�_�
s/����B�C���͛U_����Ҫ����9&8(h�i���|��
Y�3H����s�����RWn����s���rb�3ic_���˛ ^ؚ�����Я~�+ںu+��?���~�i5��u'�г�>�4H��N;�z?^�g�}��p�9��F;`���� &9Hc�^��������Q*9Z�NJg�EMK���@ )R�g��`��f��]n� /dHE�oA@�ؚ��^'>>��y�z��G�`^ҿ�}�݇붿��J<{X3y>{��P�rj�h���4�o�N#�R&7gM)'��#'ϛ��fЏ�}ǡw��B�TSe���8�D�86�e�U���>ش���
�r���G�X�ܒ����@p#`{B����7*���(��.��G�փ�]����J�9Q�,��5���v��"��b�`~�C��S7�W[��ө: ��a�l�� MCG8�=4^��T��-!��"�*WT�ʬ��Ў�Tq�������=4�"Ù�Z�%��`�0)b���Pr�����n�8�M���W��@� `K�����7��0�!*�H�@�_��_�j�:O/x��k��M�b�CTk�������Zˇ��S)����]�+G==��}-mKNc�P_G���7��������
(pT��/=�
�@�!`K�k��~�;�:��+��B�8�S�r��U��T�f��9|�@6x&7& ,Rz����~�����`��)P�7<��l�͗�ث� 悌�Lv��@�}���tP�lky�V���;z��17l���:M��x�z���c�����r����9�*/�TsB\
�9b�Gm�x��X��qX_�����;j�A�A��������y����饰�P9� z:�E�OI��U�5��ł�����ߪ�=W^y��l��`acn�r��ފy%������.99٫)�+�����W%��v���'��� �yJ@B���F�a��g-hp�=�F��X�K<����@*���}U�o�|�f��Q�m�Z��;�uQ&L�E��Ν;U��������K���yyynoK䡊�4�Ề��A:�8;��m��q��g�i��m �F�ӟ�9�k��F���/~��ر�Q�A<���S�NU/$����(55U��6��I�߯_�ij���=�0s!4��p�R:��aJ�<��f^���A�t�
���9�u��l�����V�&5��qTm�k`��Mr�-�c���q�����wm��E���־�a��ھ�� ���r��B�A�����Z��X���pD�f�5�q���Ck�>���]:�8�cg����
�,$d�9 <�n��V�lb���
�\A>���/ӫ~�`����������͛��,,���������R�~���:�ZQi�J-Us�j�6��oB�!��ݴF��L�Xd
�f�Q�ĸb�H���|�0'��qNH�,��iii�����~N�DC�Ѣ�����vTpD .[O������"�'�n��@牋�P$Nl��� -�����8G�|�{���+U/�#PKD������s���.��w�^��ã�p�=�կ~�4Z�hǏhЈ���WR&�|o���,bK�0��5J��7��n�F K��N=��Fq>�쳕7�laJ�h���h�̙ꁣ�.�s��Վ
�������c�����a�S6{�E���1su��G8�6������Ŏ-�����!�XI�|μ2�m�'�B�1�Y�F��8p@�g0��}A@h;lI@ h'p�FT���S
& h@�H�A�Uăs�<�5f6k���@}���/����L� #���?n��=a��� �-�Ԁp˿��oՃ ##��|�I7
X������č��c5�5����}�4��"�1v&?�ֽ�����Ԣ�jQ*?�1���hP��sB�cՄ�2��@
��D�"U����I[h<Њ@H����pP�c]��V�A���-�V�tp�u�)�Bx,��v/�z, ���H�!`5�!TO$�����K@CX�
rR[k�:l��bM){����Awz?J�����Rf%W��f�d��t@���W�:�F�� pRؚ�p'�Áy�*p�ƚ! +2�����k�Ŭi����E�~��[�[��j<�]�\�s~��,v��7�!F ��]ZM�64�t2&6��濋��|줥 �lO@�n�^a� +��y�+=Y�`0/d���J`���� c.���M<\�1�HiRF-㽸�F�4eb�8���̾��ɠ%u��E��P���5z���Z{��@Dk���zv��yS�Q�^Z�U�Ü�ֻ�%=im'�#)�[Nnj�Y�g�����ݩ�qz�%G�� ���\g.X��W� �����!�D{۩~�
]��b���! x�A⣍�?�x"fk�LU�@�Sח��"PN��?B�<��9=m�,{����t�^^f*�f�5:���*0�����8Y��E�����N�rI_�� �NO�T.bY6���n(ͣ�9�|����ތ�E�N�a!�|ue�\P�B��0<��# �4x��E.�٘e0q-�,�6�.��pT���(�p�����Z�q���{�ݚ=�x��U�>���w�g���Gdl�A�Ux���p$��M�g�?�Ѧ7h[GD���Aד��!����v��z�q��Z|h6���J���瘜�}�O����4k��g�|@q���9�|I� �q�h���n�L#�y��|q-��I�ο���m�iz=��L�=�-ڴ�A�Ϡ�v��-F�5����(999*&�x��"�\W��n#M>�����O���GϿ|��D���P`̋ G�f�6���`�)gr�b�Ӡ��b�RNJ�8v����"8�#��2Q���9�Cc�5#�=�W���ʹ�C � ��`^ܽo
-�rbԋ�����1hIx���r���V.�y�_����1Z������Gh�+���RZ�9���1Z�y�kp�����W�c�N�]6W}C�gѢ�Q��'�d�6��;�>/�5&�y4����>c.kq�u�.�U�d͡�YƵ�4/u�*�\��sg��~S2��qw�a�e�e��O��8�e�3��X�C���F�E��̉�2.��}}�SDμ,�]{��L���4��� z��l�֤{ƘBRX�c�)�����ϣ�ٔ�NٮAd/�sOl����[��!��U�����/�w�ck�ܼ���`hwf�&������\
���*"�1~+mD�/�W�A<8x����;Ȟ�Lj)���:�I��j8���r~P��5I��*fm
�k�،�������Hz
I�u���\:]5�h�_����ZJY���0rp�=��� E�������Gh�é�z�Qř�I��8B�+�{X������5���9̢�EY\gm�:�G���)c�oNr������UJ˖�V��,����Rl�"�<�K)oM��]ϸ��O�ȢT�
(k�rJNM!�))�R�::��l�¹4��3�)|-f���5Z�#6����\�z��:��geҲ�YDo�Iˋ)qx*=��r�x�"��^H�Σ����W7�����>w��W]u͛7O�XGI4�I�&�=M�YQ�qJLLTYP�;�<�����}�'O�JR�Nt�7�k
,ch5�Z�v��]��M�f�y���>pU]��.���30�t�i���0m�Ӛ٢������ �4*�a��S'��8+�2m*}��R���B���i.�Ү��r�
i�%TX�іC�@��"3��4�4)���m�����J��ĤU{������(����9�#����?8�4c����e?O?}g�&��F�O�P7u�Ƞ�R�(;�ǓCϲV�:�p8(�ǵ�HLp=�?�������)�NK��<���q�����u��:B����42���K�́�N�[�Ig\~3kC����P���y:`|"�s"/��?���<���m��-��<�_-���S.��A�X���9�hy������jT�s�ӂe��y���JA� [x�����`i�B���d�ڵj!+2�"�Rsc�jbb"�{�*��T"�´t6A��d��������3���s; !�Ks�x�D�gS�l�A�%�J��Eժ�9֞�����R�&�2��3��53W��l@.<��X�:�m�}��
��� _|��6<��(�a���J>
e��j�)�տPId�2�RF�G�3�����{��n��c�_����������d�W�T�SOCR=�g����錋��'^��Vi4't�[�0���������f�!��g���7�;�+)��3�����ds��Z�����͟�A�l?B�`
�Ҝ�L�Q%��b"�f�:c�l��d�G���O�ĸXJ���j�*��&oY�7;�5�y�h�,�6:XU�Ӿu����Iw��}�s@M �"uCjj�J�p�7�9%DB2d͚5�n�����~G�n�;��
e'+�@��[��ЖyC=�aR��i���QL��P&��,��VN������w-O�:��oKc��~�U���B�|�Ug�j�9�<bR�� 9!7�OTg)�'M������S�7b�$��Peb�sa�E��&R����z������iK������'��\e���3�`�A}ʃ4����Ľ�e3�|���#�h\��a����Z6�m
�ryg
V&��7�V褬�gPȜD�^,�2M�ȯ��3�.�3�{�^ڴ� �̈́�'$g�)4;�%��os�c2(��e�Fp��Z�H@����\��_�Zy����*M�[o��"����OYYY4c����?V�Xp��{�1�t
(������ؘ�W��̑��HQ��of�Zg@��x��
�\-���g��(e�;p;2�؈O)��a
'��5�Mq �۠kgz�j�ݗlC�6cY�Q�ɔ��r*WJM%���ѳ��G|:R�5�E�/�B��cERh�s0�s���KC4�M��
^^�Nkԩ���WJ(���|D5W��Q �?(GgdтEC(.d��&3[$��Kt�h
�
%O�;~s�8c&��\D �!4cL�^DO��AQ!�m����|���O�Y7_LQ�r���4���'J��"���}i***��tFܓ����Pev�mN*��s}�)����09�~v0���ES�"y�^��i��xNt�l�w��S�
{,��G2kD|��I� Nzgr���A�N�0UW��-��
^7?���믿N6l���f�֭*�dSÅy-33S��A�;h<0ǽ�~ �>b�!I�m������k�}�wv��i>��~AA%&&z����Rq�������t혾�z�>�����=%Nv>@J��)*y�I��%���)� �e|��#~*@��_L1�d�|0��;a�|�|���M���L�����Ȱn�R��6�U��|'N;�4wU�7�]`ӝ�g)���ۃ���W�9(J��s�-lVc5���c��9���^<�c���T"��A�0_q:�u���7�]�UA�����Z����U%;=Dq�Jc$F���[�~���iذa~��鄭 �鐔�!����s��Q������;�Q,�j��s�U�r�C'�C����I9���aɒ%�2���9[
�W4l�v��qZt�}��R�6Hc��?+D,�������������c���h��1G]�҇��l�Q��>���۽G܋aG.��&sF�r���f��Z�!����V=���v�qv ��6##C%�sW
�̙��}��y�G�uwx�N�<���/&h#��
��#�j-Qo��4!�?&�E���Ce�q�5
���5�Z����49���� 0h/��z*!����UvT�Sc�_�p:�'�y���Ç��`J���~Q�o�Mcm�:��G�À�r14��Z�8�6�j��88�a�⬩�"�@���Y�A��ؚ�R.�A��^P8�u�Y��Z�`&�b�߶��P�o�s2���� �@.��_�y#T�1���s68o���$��.k�j��q��p�:�o4{��΄SJ�Dڃc�� BkF�^�͉��}�==��st�wx!�����|��I9Pd��I|��K�e�
*�+B̹��
E>�����h����CA�pC��0�2�W�7���l�x/�h34����k}@vZ@N:�6ʬfB��Ds�U_O��� �>x���_��L���h˖-TXXH��hٲe���p?]����h����a��줾t��>Է��������z{�1߄�p�&���q�z8�պ!�B�8X�z�9��i��fԃ&�uMϱ��u^g�s�ʑ �5�& }�?�����?�1
8���K-��5d�Q N�H�jYөe
�U�!�g�f)!���K��8TT��~1^�1!�G�F�c����~n���X�۞|�I aݺu��t�����?�A���;zP:ٛyV�7�9�>"&�)s*s���f.��v��" "�,��$���暣�+6�ٵ�X��S�dTŦ�j�_O_}w�������> �p�k��*���7,ĸ{��~��|���Ѯ�y���#�-S���˷,�(�hk��c���{[@g-�J4W��I驩��)�}Y�n���H���J�dQQ���
G�ر�~=�߿����of��+�!HI/05�������(�`��{dL�"��E���:��_9��h`x�!v��dC8S�}y���X_o�縜�Tu�?�o�f��2����������\���_�k�S��ܫ��.[��W���rdi���=������I�,�͡sR��T-�]HC.�M/}�%�pf����w���'��>c�{��׳hY��t�W��ei^� �c�r���5i7l,(�Jyy�r�>��3���@���G��,,�s*�ͺ��5��ұ�phJ5u2��u^!�x��2��w悰B�K��9UT�PH5��chT�8++� Y3�Z�T�N�f���B�"���ТWר�l������b������P�+JV��u�
���)��4��yk_������^C'�
�.������g&�l��`'��gs*�I�R�I��B�v )_�3�0�R�[2�>�H��GQ>_wY~,�:+�z�n�g_�H�I����눻��^�)}f:��栢W��ҁ�莇���Q��3)m����E����:�_��d7�qZ��i��\>��I��d��~^6�f����K�q�d�COɢ�LW�i.��& ��o�)�>��S��K�j�q +��b�G��Â��)PA]�z�ʬ���?����見�
A���A���tm��:�g�Ɛz���9�2��Z~���
�X�
��#1\Y5
��*���"Z��]4��;(}�1�|�5Z�zݐ�9���0��}-^A�V&���r*�a
��t�3��p�+�)#>�ɧ�.�~�
��k��̤�(�s딭�ezA[�P]��RN4jK�Q<%:sh>�Ϡ SiָZ�h1-}a%�� *�����t��K9.����Vߨ�~�ƑHs�}Js8���E�3#2����yy�WSn�j�n3�L�4����4�3�@8�g�<:�Ozww����<��\.�M-FmN�҆������H��G�y~�E?�Kv��*ᘳ���[6��9����K5b�A\���\�a��K0�9�^��TM4d3�Ɇ�X�Wݤsna��E�ƍ�q))4n܅4*ш�W��C��&];�b�b(%��2�q��m���G�hڥ)��Q#�O�X��d�V=�5�$RI���_��9��-TW��M���L��q���J�П�v����P��_r���4�&%GS��\�U1)�0�
�1��-`OU�ѕ2�j�9�.�l����չT��(��L-�_u�4J�veT%����?aGX�$�YL���e�ʅ�PAGK��2B�9�h*}���@�"�E��o��VF֎��{�Jb�_Y��wt�ԩ<�08m~��
B�P�Z�c��o���HĈr�Z�~v� ���8CpmW}�Ĺ�T�����/t?���foҸpv��W^.�����Q4��Mu ��q���q���'�3j�>dk?�?��7��h�ʕ'���D���� �� HW�`�ڻw/=��4z��^�k6?�!pT
�@���1��F�\�2-՜_(g�AZ���D�_D�]YWͽ�|���U��Xb>]���a�C|*za�=&��]�Ko�ZL��2F8���(��l�Cwb86����#Z��#�BU��kN�� 4<�5z�slŃi��L*�g�Y��Q'��k�X�hr�/�ź~�p� Kb
�tڼ�F���*X�v���O1�q'M�+��*��#U;�.��djy�i�
q�MH�k48���&�qs���/��7�ω��GPU�jux��,�:`��ˌ��F���[�j+DB��O��o�[m�ڵt��W����M�6��o�N}��Q��HP�ŭp�F���#G��K�п���]���:Vkh����W����Iq�����׀�2�k�@D�����=}� �����!x����wf_���[s����y� Y��-�N-'?+*.���A*M���:��B*eU*6a8�-�X�<2���Jyn&����i��8i\-ų���z-!_��� ݝ5�S[^J���B�h����1c����x��烔�Q��ӛa@_����1�~q�h��c<dЊو����N7�Qn��3jB��֭���n��G>V�N��}��x��I?�KCI�O��b����M�kW&A��0D�7D�3wI�1�h8���wj��̍9*��h�Y��e�
Ty�����mMA ��Ƽϥ�^���YS�7��FVU�XII UVVR������=�2�6�����y�����r�P8��x�D z����}t}8�C�m�붑�Έ+���pְppRĂ3�����|tޠ��t`fK��S�����5&mH_�$"m���5 <�`~�����o~�����M�ӟ�o߾���9��@\�?���.����[n�w���TD�$;#Ѓ5�
�~P�2�YjR�&�z�qC�@=h6����Q�0_A�9E�A����|��������@`f�x�&
c ��Ua��k��ue_N[n�G�������"�+��R�5u���U�~���S�B�{K4m? P�|@� �R
�0�þր�y�Hk?�b�75�J^yi>W����?�Y�Fns]��"�����#*B��Ѽ��eZɛG�y"Ɲ6ɹOȎ 4��h?���A8lذ���~�n����z���@k6�A���O�����hN8�0�h�������
�����AЊ ظ�D��:^k�u�X�d�z�@Q�!kEU�;u�w�����;���Qdъ8�7�p��L��� {Skv8��#6�b1ADhlM@��{�7(33�'�����Y�f)��UA�%���57z͐rc����c�Bp6@��WN ��;̥
\KU�>��Dƻ�
�g�Z���c
$�SDX��t�@��}
�|� i��/vp/��B>\˘�2ja�D�,�e��t�sitON������_�}�
���ռ���]�HP��k�z�/Dw=4�{�H�l�im�"Z���(TC�� �oM��F�[��VGN�"7�«蚰$��^m�p���4�O(�}��4�C��n�%o��7��� ��""x�Vi���D��qyWj����s� ō����%e&P�ţ)�o�)3-���L5������V䳒v�& ���ņy-��v
2�o� ]O�타U�UA6ڽ�>�v<��↉λLk:�K �Z�[������ "�G�Lc1���\g��b��2���1�t��md�p`У\��8
������+��H9��$&�����(s�rR�Gh� =C%�+�_K�,]�N,��銌;���ݹ�^y%�ܗ�.�=n ]5s:�Ć3�}L�����T'�s���E�(�u���t�]p. �8�si��;z�,�4�(�MG7L=D�d3�r�0$��e����&_E�q����i٢7hG�Qw�S9=��S��j�Q^B����h�q<"���t�����%�� �K�CGY�dѐe��0i� �h�\��0��}�h? �z�����_�p�~ꩧ�WGjnĀk����C� �>�'��y-
���V��Iq֥Ԩs�͠o
�6<]I�
Q�C�u,�Ew��R��`ާ�x��a��k�l�VB����!46����@�Z��a���xwpZ��H-�5��g�C�U;����}�_E}�鮨�t�+vy��������T?��]���uK_��Z'�\��*�_E=4�.t�V-[������BDžt��)ٱ�V���F����I���&J ۡ���Dʋ+�|*邫���3���-��EҨ3�)��>�����<��AQ)r�[J��C9{�Ct��ڷy%m9��{�U���^��$�~�����k�R��ʩ:ʏPUY %]{�*/۵����FB:wz wgD*�ܬD�xn٢Y*�\
��F�JG�5��5o9%�z��<�8iu�i��=�����}�k�Hŋ�2mS���X{�Zy� (�{�C�� �\�J'�y`���]_��j��U���x�im��&�k�� �����D{��rluOz�2hH�@��@>H�2�h����P��p �[�}t��h�/)1� fDw�J���Z���w��F&
�~<Ƴ{;
��5m���֬���F�i��4�yI�%�x:��G�+e���W8�g4�xF�����>�R�v+=���Ek��9B-�~�U��$�O�Q)���|O��^'�+Ĺ�n�18b����S�^s",��K<�J��qt�w�'��'u3��Y4�B^��R��D쉀���^�CԂ�>��֬Y����b��w��@Ѧ-ܻ4�� ��X�F���"�G�Q�Řw:�U@Q�����ZM
;Hh��G����!ڂ��c�*��ՋS>h������J�mk1c/��=���::���DZ� ���pU�N�gbĠ3i�/&��?*�m��(�G1����(�qM�a݁LrUG\��\�yA6�>Zmd����
|�D#�gi: ��f�
GɑD_���r�M��(�-^��(B���G�ﲙ��~9
���#&�����%�s���6O&)�ǫ�[�
�=�s��) ��e3�|���#�8U���2�R ���έ:+���C�mNV'b_\���5@D=@�Ј��m�p
�9��H�#�O3�#����������s����������?c3�rsE�����lp���Z�8:2�_a*�Bǩ���@��W�9���p�k�ԫ��Ӄ�)Wn�m]��
�~���O�<lj���A�}��G46��y�F�u���.�[U�(���Gд+���U���G�G4�)4$�獒�����=���wr����8T� �=k8)��ҹS'Q|��.V@���Vi>�f�6��fM���Ҋ�O���qX$�>��Q��Kc�����yָVd/6��Ѫޡ��G����*�U�/���XE����E���x\[rx�^u1n�OH�/�\Ѣ"n��Έ{�2���N��?����q�VU�(Ϸ����]�eB:�\�5��̙Cx<��3^�!O ���ҁ
�N�KKҵ�ݸ�S:������r�Rh)�N�`�B|9b��>�=��1�X/0U�'x����V�,�M~к�A��A�����Ubѝ�&Ļ��%�����Yb[Z���aWâS�2d��:��;���x�b!�h�m+A����sg:4����q-�]8yl9'��`-�p�d�����͛�СC�p�B��\y��Wiڴij�+@n�����~���M?I -�GYk�52�ef ����u�_{s��YQ����ϟ3���~c���!��(�k�t{�g�N�|̂ �k1##��L��i�,��۟nl�Á/�̑`R3k>����.;�����lЗ� �u�%���9��:���V��:Li;.��UA��5�f~�[����#�u.�u�m�3f�$��,���\O���A���<3g�T�Ѿnh'�6�E�xiqaN��aN��"AM52�����b]+4fh?�g<�Q�O��+H*���u}eբ�_p�n�'��&�_�����[_}��s;�NрN1��%hj��\��r_����<<��|I�������/:��|�z�VLiM����e"�@k#�����=K�@'F����V�� �ͥ �B �Hg
��2k���X����U����\U;G����5|����� -E�Kh@���4�|������[nQ9�6m��R�� ��I"�b#m۶��͛GH�={�l�)�
F/���"�1c��֭[i���I9p���T�!�1���s=�j�sU�o��k-���/�����`�Sh
�� d����Pk�Q�N�.A@iii��Y��>�9s&���R�~�^DA�]���{�;%傀���z̃B�� Й�s@����wMd�k~��~�]Z
�W�/x�����,�N<���B�A@�!�v[.%�� �A@ȃ�� �� �#B@��\JA�����A@hG���l�� ��! �'�� Ў�#�r)A@]v!����i�
�c��UF��z��AS�LiK��oA@]r���ׯ�Ç+8$5��[!��� �]��4�B< �
�� ��tI\��,WA@�" dED�A@�!�v�Y."�� `E@Ȋ��� �B@��\DA����9A@h���f�� ��! +"r,�� �.��rA@+B@VD�XA�]��`���rM�4�6m��.`�EA@<tI:t�
6�F��Hh̘1�m�6*�'�� ��t�`�~�!�~��t�7*�.\H�V���#G�9�rA@�.�%%%�� hE"�� �@�Ԁ�n�J���^(�۷O���i��֫���9k]9�_|1}���]���~��@�$���Tڿ����j�<��X���;��^G�w�qv�1�s�q�mV"�@�tI\���i��TRRBG����zJ9%
��A@h9]��&L�������W�^����ܱ[�� �� (!lN�mk
��N\����T[[K����.�0TMV,���*�O;��@���@�&�� �Y��:�8;���q���Y�
���f["�%Mp-��nI�vk���0F|`2�������#�;��m��h@m���-�� �р�B#'A@�!��DW�A@����_h� �@["ʓ�����o�k���[��Paa!�{�ԭ�=���ӟ�D_~�%}���T5TWWg�1?��sԻwo�ӧ��:���_y{}�������t���C=DG�������PK |}7;�����:��� ���0dȐ����7\q�
��v[C}}}-۾�ҥK~�4����
/��r��o�����c��z
��.֙5lذ�
��q�+w7l���555�3���;6n��p��7L�2��Ϲ��l��I�
B�b*�����|v�ڥj�ֆ���l� �˽�����a�O?�t�e�]�E@��ű�:c_��v�u�Ν
�[�>����a���
��'n���Q�F��
��$?4�����E}��Uev:�n�w�Z0٣GZ�v-�a��k���}:�3�0��K���qb�v����N���
WX�X��P����p�H<���M �@8���̩��L� ?������?'6 Ll��ݻw��u���tDN��
�?,1����K�N]�W��RtB�P�Rʩ��$1q�P&b$1rIH9#FR(��D'���{%1r�(��=����:��{��^g}�U�����~�k?��<����o�lI��!C
�<���t�
����T�zK�9��}|BN��笸�$�f=Z�H�0U�0ݰa�\>����4;e�ׯ_
JR=r�Hسg�_� ��s�Π���Ç���1c<�ig�ԩ.GE��5#G��k5Ԧ"yټo߾ )�e˖�y
�2g��[�x�+�F��q�����F�9���q�P0���K�
N/�X4����ȳgς^�z�7�tۀ�_�^�z33g��9��Q`RQO���3}zX�`��Z�����ݻ=�IoƌAu�̟?�{:ڶ�0k֬0q�D�Y
�
Vj���>� �3�HK� �4�c*�nB��9~���߾}��f�k��
{��s@�����T�-(��Z*~���㚏�ޑ�|Q�W��
��sG���-p�����~?������}�2��U�����U��ƶ�7��r�����@ԥѼ�z2�*��Q/J�f��,�·o��~)���qgΜ �����V]��0�@l%����'�!J�7��6 �Pk���f===� A�wZ @�����Vx����L�4��,� �� �R��AȘ��2v.M� �2P���6@ e�\�@ e����m�2&@�ع4
�@�@){� dL���si �� �R��AȘ(c��4@) ��l� �1P�Υi�R&@J�;�@ c���K� �L���w�
�@�@;��AH�(e�` �� �2v.M� �2P���6@ e�\�@ e����m�2&@�ع4
�@��X���B_IEND�B`�vega-tooltip-0.33.0/docs/000077500000000000000000000000001446424224700151505ustar00rootroot00000000000000vega-tooltip-0.33.0/docs/APIs.md000066400000000000000000000100121446424224700162600ustar00rootroot00000000000000# Constructors
The `vegaTooltip` module exports the following properties:
* [`default`](#tooltip)
* [`Handler`](#handler)
* [`DEFAULT_OPTIONS`](#options)
* [`escapeHTML`](#sanitize)
## [vegaTooltip](#tooltip)
A convenience wrapper to initialize [a tooltip handler](#handler) and registering it with the view.
`vegaTooltip.default(view [, options])`
| Parameter | Type | Description |
| :-------------- |:--------------:| :-------------- |
| `view` | [Vega View](vega.github.io/vega/docs/api/view) | The visualization view. |
| `options` | [Options](#options) | Options to customize the tooltip. See [options](#options) for details. |
__Returns:__ The tooltip [`handler`](#handler)
## [Handler](#handler)
A tooltip handler class. The constructor of this class takes only one argument `options`.
`new vegaTooltip.Handler([options])`
| Parameter | Type | Description |
| :-------------- |:--------------:| :-------------- |
| `options` | [Options](#options) | Options to customize the tooltip. See [options](#options) for details. |
When a tooltip is created, we automatically create a default stylesheet and attach it to the head. We also create a div element in the body that we the use for the tooltip.
The tooltip handler has the following methods.
| Method | Parameter(s) | Description |
| :-------------- |:--------------:| :-------------- |
| `call` | `handler`, `event`, `item`, `value` | The tooltip handler function. |
Unless you use [the convenience method from above](#tooltip), you have to register the handler with the Vega view.
```js
var tooltip = new vegaTooltip.Handler(options);
var runtime = vega.parse(spec);
var view = new vega.View(runtime)
.initialize(document.getElementById("vis"))
.tooltip(tooltip.call)
.run();
```
## [Options](#options)
`options` can customize the tooltip. All of its properties are optional.
| Property | Type | Description |
| :-------------- |:--------------:| :-------------- |
| `offsetX` | Number | The horizontal offset. |
| `offsetY` | Number | The vertical offset. |
| `id` | String | The ID of the tooltip element. The default name is `vg-tooltip-element`. |
| `styleId` | String | The ID of the stylesheet. The default name is `vega-tooltip-style`. |
| `theme` | String | A color theme. __Supported values:__ `"light"`, `"dark"`, or a custom name. __Default value:__ `"light"` To customize your own theme, create CSS for the `[THEME]-theme` class. |
| `disableDefaultStyle` | Boolean | Disable the default style completely. |
| `sanitize` | Function | Function to convert value to string, and sanitize the HTML. |
| `maxDepth` | Number | The maximum recursion depth when printing objects in the tooltip. |
| `formatTooltip` | Function | Function to specify custom HTML inside tooltip element. It is highly recommended to `sanitize` any data from `value` before returning an HTML string. |
The default values are:
```js
var DEFAULT_OPTIONS =
{
offsetX: 10,
offsetY: 10,
id: 'vg-tooltip-element',
styleId: 'vega-tooltip-style',
theme: 'light',
disableDefaultStyle: false,
sanitize: (value) => String(value).replace(/&/g, '&').replace(/
```
> **Note that if you use [Vega-Embed](https://github.com/vega/vega-embed/) to deploy your visualization, you already have Vega Tooltip and don't need to do anything.**
Instead of including Vega Tooltip as a script, you can import it in your bundle.
```js
import vegaTooltip from 'vega-tooltip';
```
## Step 2. Create A Visualization
In your HTML ``, create a placeholder for your visualization. Give the placeholder a unique `id`, to which you can later refer in your JavaScript. For example:
```html
```
Alternatively, you can create a runtime dataflow of the visualization using [`vega.parse`](https://vega.github.io/vega/docs/api/parser/), then pass this runtime dataflow to create a [`View`](https://vega.github.io/vega/docs/api/view/). Note that the following JavaScript code refers to the visualization placeholder by id selector (`#vis`).
```js
var runtime = vega.parse(spec);
var view = new vega.View(runtime)
.initialize(document.getElementById("vis"))
.run();
```
## Step 3. Set up the tooltip library
For [Vega-Lite](https://vega.github.io/vega-lite/) and [Vega](http://vega.github.io/vega/). First, create the [tooltip handler](https://vega.github.io/vega/docs/api/view/#view_tooltip).
```js
var handler = new vegaTooltip.Handler();
```
Then register it when you initialize the view.
```js
var runtime = vega.parse(spec);
var view = new vega.View(runtime)
.tooltip(handler.call) // note that you have to use `handler.call`!
.initialize(document.getElementById("vis"))
.run();
```
You can create your tooltip using [`vegaTooltip`](APIs.md#tooltip) if you don't have access to the initialization. This function requires the [`Vega View`](https://vega.github.io/vega/docs/api/view/) as input.
If you get an error `vegaTooltip is not a function`, try to replace `vegaTooltip` with `vegaTooltip.default`. This is not necessary when you bundle your code with webpack, browserify, or rollup.
```js
var runtime = vega.parse(spec);
var view = new vega.View(runtime)
.initialize(document.getElementById("vis"))
.run();
vegaTooltip(view);
```
## Step 4. Define your tooltip in Vega or Vega-Lite
**You will not see a tooltip if you skip this step.**
You have to define the tooltip property in Vega or Vega-Lite. Note that if you don't use `vega-tooltip`, Vega will use native tooltips instead. Vega Tooltip automatically formats the data. Literal values are coerced to strings. Arrays will be shown in line. For object values, each key-value pair is displayed in its own row in a table.
Vega tooltip handles some keys in object valued tooltips differently. For example, a field called `title` automatically becomes the title of the tooltip. A field called `image` automatically adds an embedded image that uses the field value as the URL.
### In Vega
In a Vega spec, you need to set the `tooltip` property on the mark for which you want to set a tooltip. If the value is on object, Vega Tooltip renders a table with one row for each key. The value with key `title` will not be shown as a row but instead is rendered as a heading in the tooltip.
For example, in your spec you might define a tooltip like this:
```json
...
"tooltip": {"signal": "{'Unemployment Rate': format(datum.unemp.rate, '0.1%')}"}
...
```
See [examples/specs/choropleth.json](https://github.com/vega/vega-tooltip/blob/master/examples/specs/choropleth.json) for an example.
### In Vega-Lite
See https://vega.github.io/vega-lite/docs/tooltip.html#using-tooltip-channel for details on how to use the tooltip channel.
## Congratulations!
Now you should be able to see a tooltip working with your visualization.
__Next step:__ [Customizing Your Tooltip](customizing_your_tooltip.md)
vega-tooltip-0.33.0/docs/customizing_your_tooltip.md000066400000000000000000000035141446424224700227000ustar00rootroot00000000000000# Customizing Your Tooltip
__Previous Tutorial:__ [Creating Your Tooltip](creating_your_tooltip.md).
## Passing options
You can customize the tooltip by passing in an optional `options` parameter. These options are defined in [the API](APIs.md#options).
For example:
```js
var tooltipOptions = {
theme: 'dark'
};
```
If you use Vega-Embed, you can pass your tooltip customizations as an option.
```js
vegaEmbed("#vis", spec, {tooltip: tooltipOptions})
.then(function(result) {
// result.view contains the Vega view
})
.catch(console.error);
```
```js
var handler = new vegaTooltip.Handler(tooltipOptions);
var runtime = vega.parse(spec);
var view = new vega.View(runtime)
.tooltip(handler.call) // note that you have to use `handler.call`!
.initialize(document.getElementById("vis"))
.run();
```
## Customizing the theme
Vega tooltip has two predefined themes `light` and `dark`. You can create your own custom theme or override any of the existing CSS properties.
To use a custom theme, pass the `theme` option to Vega tooltip.
```js
var tooltipOptions = {
theme: 'custom'
};
vegaEmbed("#vis", spec, {tooltip: tooltipOptions})
.then(function(result) {
// result.view contains the Vega view
})
.catch(console.error);
```
Then create the style for your theme.
```css
#vg-tooltip-element.vg-tooltip.custom-theme {
color: red;
}
```
## Customizing the rendered tooltip HTML
Vega tooltip can be further customized using the `formatTooltip` option.
> It is highly recommended to follow the pattern below in sanitizing data from the `value` argument.
```js
var tooltipOptions = {
formatTooltip: (value, sanitize) => `My custom tooltip and ${sanitize(value)}.`
};
vegaEmbed("#vis", spec, {tooltip: tooltipOptions})
.then(function(result) {
// result.view contains the Vega view
})
.catch(console.error);
```
vega-tooltip-0.33.0/examples/000077500000000000000000000000001446424224700160365ustar00rootroot00000000000000vega-tooltip-0.33.0/examples/examples.css000066400000000000000000000005761446424224700203760ustar00rootroot00000000000000body {
font-family: sans-serif;
}
/* Align tooltip examples to the center of the page */
.tooltip-example {
margin: 40px 0px;
}
.tooltip-example canvas {
display: block;
margin: auto;
}
.large {
margin: 50px 0px 25px;
font-size: 1.5em;
}
.center {
text-align: center;
}
.center a {
display: block;
}
#github-link {
position: fixed;
top: 1em;
right: 1em;
}
vega-tooltip-0.33.0/examples/index.html000066400000000000000000000007141446424224700200350ustar00rootroot00000000000000
Tooltip Examples
Vega Tooltip Examples
Vega-Lite Tooltip Examples
Back to Github
vega-tooltip-0.33.0/examples/specs/000077500000000000000000000000001446424224700171535ustar00rootroot00000000000000vega-tooltip-0.33.0/examples/specs/arc.json000066400000000000000000000031231446424224700206120ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 200,
"height": 200,
"data": [
{
"name": "table",
"values": [12, 23, 47, 6, 52, 19],
"transform": [{"type": "pie", "field": "data"}]
}
],
"scales": [
{
"name": "r",
"type": "sqrt",
"domain": {"data": "table", "field": "data"},
"zero": true,
"range": [20, 100]
}
],
"marks": [
{
"type": "arc",
"from": {"data": "table"},
"encode": {
"enter": {
"x": {"field": {"group": "width"}, "mult": 0.5},
"y": {"field": {"group": "height"}, "mult": 0.5},
"startAngle": {"field": "startAngle"},
"endAngle": {"field": "endAngle"},
"innerRadius": {"value": 20},
"outerRadius": {"scale": "r", "field": "data"},
"stroke": {"value": "#fff"},
"tooltip": {"signal": "datum.data"}
},
"update": {
"fill": {"value": "#ccc"}
},
"hover": {
"fill": {"value": "pink"}
}
}
},
{
"type": "text",
"from": {"data": "table"},
"encode": {
"enter": {
"x": {"field": {"group": "width"}, "mult": 0.5},
"y": {"field": {"group": "height"}, "mult": 0.5},
"radius": {"scale": "r", "field": "data", "offset": 8},
"theta": {"signal": "(datum.startAngle + datum.endAngle)/2"},
"fill": {"value": "#000"},
"align": {"value": "center"},
"baseline": {"value": "middle"},
"text": {"field": "data"}
}
}
}
]
}
vega-tooltip-0.33.0/examples/specs/area_vertical.json000066400000000000000000000006421446424224700226510ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Area chart showing weight of cars over time (vertical).",
"data": {"url": "data/cars.json"},
"mark": "area",
"encoding": {
"x": {"aggregate": "sum", "field": "Weight_in_lbs", "type": "quantitative"},
"y": {"timeUnit": "year", "field": "Year", "type": "temporal"}
},
"config": {"mark": {"interpolate": "monotone"}}
}
vega-tooltip-0.33.0/examples/specs/bar.json000066400000000000000000000010431446424224700206100ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A","b": 28}, {"a": "B","b": 55}, {"a": "C","b": 43},
{"a": "D","b": 91}, {"a": "E","b": 81}, {"a": "F","b": 53},
{"a": "G","b": 19}, {"a": "H","b": 87}, {"a": "I","b": 52}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "a", "type": "nominal"},
"y": {"field": "b", "type": "quantitative"},
"tooltip": {"field": "b", "type": "quantitative"}
}
}
vega-tooltip-0.33.0/examples/specs/bar_format_tooltip.json000066400000000000000000000011101446424224700237250ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A simple bar chart with embedded data.",
"data": {
"values": [
{"a": "A","b": 28}, {"a": "B","b": 55}, {"a": "C","b": 43},
{"a": "D","b": 91}, {"a": "E","b": 81}, {"a": "F","b": 53},
{"a": "G","b": 19}, {"a": "H","b": 87}, {"a": "I","b": 52}
]
},
"mark": "bar",
"encoding": {
"x": {"field": "a", "type": "nominal"},
"y": {"field": "b", "type": "quantitative"},
"tooltip": [{"field": "a", "type": "datum" }, { "field": "b", "type": "quantitative"}]
}
}
vega-tooltip-0.33.0/examples/specs/bar_layered_transparent.json000066400000000000000000000013721446424224700247430ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A bar chart showing the US population distribution of age groups and gender in 2000.",
"data": {"url": "data/population.json"},
"transform": [
{
"calculate": "datum.sex == 2 ? 'Female' : 'Male'",
"as": "gender"
}
],
"width": {"step": 17},
"mark": "bar",
"encoding": {
"x": {
"field": "age",
"type": "ordinal"
},
"y": {
"aggregate": "sum",
"field": "people",
"type": "quantitative",
"axis": {"title": "population"},
"stack": null
},
"color": {
"field": "gender",
"type": "nominal",
"scale": {"range": ["#e377c2","#1f77b4"]}
},
"opacity": {"value": 0.7}
}
}
vega-tooltip-0.33.0/examples/specs/bubble_multiple_aggregation.json000066400000000000000000000013221446424224700255610ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A bubbleplot showing year on x, mean horsepower on y, and population standard deviation of horsepower on size and color.",
"data": {"url": "data/cars.json"},
"mark": "circle",
"encoding": {
"y": {
"field": "Horsepower",
"type": "quantitative",
"aggregate": "mean"
},
"x": {"field": "Year","type": "temporal", "timeUnit": "year"},
"size": {
"field": "Horsepower",
"type": "quantitative",
"aggregate": "stdevp"
},
"color": {
"field": "Horsepower",
"type": "quantitative",
"aggregate": "stdevp",
"scale": {"range": ["#1f77b4", "#c6dbef"]}
}
}
}
vega-tooltip-0.33.0/examples/specs/choropleth.json000066400000000000000000000030711446424224700222160ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 960,
"height": 500,
"autosize": "none",
"data": [
{
"name": "unemp",
"url": "data/unemployment.tsv",
"format": {"type": "tsv", "parse": "auto"}
},
{
"name": "counties",
"url": "data/us-10m.json",
"format": {"type": "topojson", "feature": "counties"},
"transform": [
{ "type": "lookup", "from": "unemp", "key": "id", "fields": ["id"], "as": ["unemp"] },
{ "type": "filter", "expr": "datum.unemp != null" }
]
}
],
"projections": [
{
"name": "projection",
"type": "albersUsa"
}
],
"scales": [
{
"name": "color",
"type": "quantize",
"domain": [0, 0.15],
"range": {"scheme": "blues"}
}
],
"legends": [
{
"fill": "color",
"orient": "bottom-right",
"title": "Unemployment",
"format": "0.1%",
"encode": {
"symbols": {
"update": {
"shape": {"value": "square"},
"stroke": {"value": "#ccc"},
"strokeWidth": {"value": 0.2}
}
}
}
}
],
"marks": [
{
"type": "shape",
"from": {"data": "counties"},
"encode": {
"enter": { "tooltip": {"signal": "{'Unemployment Rate': format(datum.unemp.rate, '0.1%')}"}},
"update": { "fill": {"scale": "color", "field": "unemp.rate"} },
"hover": { "fill": {"value": "red"} }
},
"transform": [
{ "type": "geoshape", "projection": "projection" }
]
}
]
}
vega-tooltip-0.33.0/examples/specs/force.json000066400000000000000000000072441446424224700211530ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 700,
"height": 500,
"padding": 0,
"autosize": "none",
"signals": [
{ "name": "cx", "update": "width / 2" },
{ "name": "cy", "update": "height / 2" },
{ "name": "nodeRadius", "value": 8,
"bind": {"input": "range", "min": 1, "max": 50, "step": 1} },
{ "name": "nodeCharge", "value": -30,
"bind": {"input": "range", "min":-100, "max": 10, "step": 1} },
{ "name": "linkDistance", "value": 30,
"bind": {"input": "range", "min": 5, "max": 100, "step": 1} },
{ "name": "static", "value": true,
"bind": {"input": "checkbox"} },
{
"description": "State variable for active node fix status.",
"name": "fix", "value": 0,
"on": [
{
"events": "symbol:mouseout[!event.buttons], window:mouseup",
"update": "0"
},
{
"events": "symbol:mouseover",
"update": "fix || 1"
},
{
"events": "[symbol:mousedown, window:mouseup] > window:mousemove!",
"update": "2", "force": true
}
]
},
{
"description": "Graph node most recently interacted with.",
"name": "node", "value": null,
"on": [
{
"events": "symbol:mouseover",
"update": "fix === 1 ? item() : node"
}
]
},
{
"description": "Flag to restart Force simulation upon data changes.",
"name": "restart", "value": false,
"on": [
{"events": {"signal": "fix"}, "update": "fix > 1"}
]
}
],
"data": [
{
"name": "node-data",
"url": "data/miserables.json",
"format": {"type": "json", "property": "nodes"}
},
{
"name": "link-data",
"url": "data/miserables.json",
"format": {"type": "json", "property": "links"}
}
],
"scales": [
{
"name": "color",
"type": "ordinal",
"range": {"scheme": "category20c"}
}
],
"marks": [
{
"name": "nodes",
"type": "symbol",
"zindex": 1,
"from": {"data": "node-data"},
"on": [
{
"trigger": "fix",
"modify": "node",
"values": "fix === 1 ? {fx:node.x, fy:node.y} : {fx:x(), fy:y()}"
},
{
"trigger": "!fix",
"modify": "node", "values": "{fx: null, fy: null}"
}
],
"encode": {
"enter": {
"fill": {"scale": "color", "field": "group"},
"stroke": {"value": "white"},
"tooltip": {"signal": "datum.name"}
},
"update": {
"size": {"signal": "2 * nodeRadius * nodeRadius"},
"cursor": {"value": "pointer"}
}
},
"transform": [
{
"type": "force",
"iterations": 300,
"restart": {"signal": "restart"},
"static": {"signal": "static"},
"forces": [
{"force": "center", "x": {"signal": "cx"}, "y": {"signal": "cy"}},
{"force": "collide", "radius": {"signal": "nodeRadius"}},
{"force": "nbody", "strength": {"signal": "nodeCharge"}},
{"force": "link", "links": "link-data", "distance": {"signal": "linkDistance"}}
]
}
]
},
{
"type": "path",
"from": {"data": "link-data"},
"interactive": false,
"encode": {
"update": {
"stroke": {"value": "#ccc"},
"strokeWidth": {"value": 0.5}
}
},
"transform": [
{
"type": "linkpath", "shape": "line",
"sourceX": "datum.source.x", "sourceY": "datum.source.y",
"targetX": "datum.target.x", "targetY": "datum.target.y"
}
]
}
]
}
vega-tooltip-0.33.0/examples/specs/heatmap.json000066400000000000000000000070461446424224700214740ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"width": 800,
"height": 500,
"padding": 5,
"signals": [
{
"name": "palette", "value": "Viridis",
"bind": {
"input": "select",
"options": [
"Viridis",
"Magma",
"Inferno",
"Plasma",
"Blues",
"Greens",
"Greys",
"Purples",
"Reds",
"Oranges",
"BlueOrange",
"BrownBlueGreen",
"PurpleGreen",
"PinkYellowGreen",
"PurpleOrange",
"RedBlue",
"RedGrey",
"RedYellowBlue",
"RedYellowGreen",
"BlueGreen",
"BluePurple",
"GreenBlue",
"OrangeRed",
"PurpleBlueGreen",
"PurpleBlue",
"PurpleRed",
"RedPurple",
"YellowGreenBlue",
"YellowGreen",
"YellowOrangeBrown",
"YellowOrangeRed"
]
}
},
{
"name": "reverse", "value": false, "bind": {"input": "checkbox"}
}
],
"data": [
{
"name": "temperature",
"url": "data/seattle-weather-hourly-normals.csv",
"format": {"type": "csv", "parse": {"temperature": "number", "date": "date"}},
"transform": [
{"type": "formula", "as": "hour", "expr": "hours(datum.date)"},
{ "type": "formula", "as": "date",
"expr": "datetime(year(datum.date), month(datum.date), date(datum.date))"}
]
}
],
"scales": [
{
"name": "x",
"type": "time",
"domain": {"data": "temperature", "field": "date"},
"range": "width"
},
{
"name": "y",
"type": "band",
"domain": [
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
0, 1, 2, 3, 4, 5
],
"range": "height"
},
{
"name": "color",
"type": "sequential",
"range": {"scheme": {"signal": "palette"}},
"domain": {"data": "temperature", "field": "temperature"},
"reverse": {"signal": "reverse"},
"zero": false, "nice": false
}
],
"axes": [
{"orient": "bottom", "scale": "x", "domain": false, "title": "Month", "format": "%b"},
{
"orient": "left", "scale": "y", "domain": false, "title": "Hour",
"encode": {
"labels": {
"update": {
"text": {"signal": "datum.value === 0 ? 'Midnight' : datum.value === 12 ? 'Noon' : datum.value < 12 ? datum.value + ':00 am' : (datum.value - 12) + ':00 pm'"}
}
}
}
}
],
"legends": [
{"fill": "color", "type": "gradient", "title": "Avg. Temp (°C)"}
],
"marks": [
{
"type": "rect",
"from": {"data": "temperature"},
"encode": {
"enter": {
"x": {"scale": "x", "field": "date"},
"width": {"value": 5},
"y": {"scale": "y", "field": "hour"},
"height": {"scale": "y", "band": 1},
"tooltip": {"signal": "{title: timeFormat(datum.date, '%b %d') + ', ' + datum.hour + ':00', 'Average temperature': datum.temperature + ' °F'}"}
},
"update": {
"fill": {"scale": "color", "field": "temperature"}
}
}
},
{
"type": "text",
"encode": {
"enter": {
"x": {"value": 0},
"y": {"value": -4},
"text": {"value": "Seattle Annual Temperature Normals"},
"baseline": {"value": "bottom"},
"fontSize": {"value": 14},
"fontWeight": {"value": "bold"},
"fill": {"value": "black"}
}
}
}
]
}
vega-tooltip-0.33.0/examples/specs/histogram.json000066400000000000000000000004721446424224700220460ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/movies.json"},
"mark": "bar",
"encoding": {
"x": {
"bin": true,
"field": "IMDB Rating",
"type": "quantitative"
},
"y": {
"aggregate": "count",
"type": "quantitative"
}
}
}
vega-tooltip-0.33.0/examples/specs/images.json000066400000000000000000000016221446424224700213140ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"padding": 5,
"height": 100,
"title": "Tooltips with images",
"data": [
{
"name": "data",
"values": [
{"img": "data/ffox.png"},
{"img": "data/gimp.png"},
{"img": "data/7zip.png"}
]
}
],
"marks": [
{
"name": "marks",
"type": "text",
"style": ["text"],
"from": {"data": "data"},
"encode": {
"update": {
"y": {"scale": "y", "field": "img"},
"text": {"field": "img"},
"tooltip": {
"signal": "{image: datum.img}"
}
}
}
}
],
"scales": [
{
"name": "y",
"type": "point",
"domain": {"data": "data", "field": "img", "sort": true},
"range": [0, {"signal": "height"}]
}
]
}vega-tooltip-0.33.0/examples/specs/line.json000066400000000000000000000006001446424224700207710ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Google's stock price over time.",
"data": {"url": "data/stocks.csv"},
"transform": [{"filter": "datum.symbol==='GOOG'"}],
"mark": "line",
"encoding": {
"x": {"field": "date", "type": "temporal"},
"y": {"field": "price", "type": "quantitative"}
},
"config": {"timeFormat": "%Y"}
}
vega-tooltip-0.33.0/examples/specs/line_color.json000066400000000000000000000011021446424224700221650ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Stock prices of 5 Tech Companies Over Time.",
"data": {"url": "data/stocks.csv", "format": {"type": "csv"}},
"mark": "line",
"encoding": {
"x": {"field": "date", "type": "temporal", "axis": {"format": "%Y"}},
"y": {"field": "price", "type": "quantitative"},
"color": {"field": "symbol", "type": "nominal"},
"tooltip": [
{"field": "date", "type": "temporal"},
{"field": "symbol", "type": "nominal"},
{"field": "price", "type": "quantitative"}
]
}
}
vega-tooltip-0.33.0/examples/specs/overlay_area_full.json000066400000000000000000000013711446424224700235430ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Google's stock price over time.",
"data": {"url": "data/stocks.csv","format": {"type": "csv"}},
"transform": [{"filter": "datum.symbol==='GOOG'"}],
"layer": [
{
"mark": "area",
"encoding": {
"x": {"field": "date","type": "temporal"},
"y": {"field": "price","type": "quantitative"}
}
},
{
"mark": "line",
"encoding": {
"x": {"field": "date","type": "temporal"},
"y": {"field": "price","type": "quantitative"}
}
},
{
"mark": "point",
"encoding": {
"x": {"field": "date","type": "temporal"},
"y": {"field": "price","type": "quantitative"}
}
}
]
}vega-tooltip-0.33.0/examples/specs/overlay_area_short.json000066400000000000000000000011321446424224700237330ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Area chart showing weight of cars over time.",
"width": 300, "height": 200,
"data": {"url": "data/unemployment-across-industries.json"},
"mark": "area",
"encoding": {
"x": {
"timeUnit": "yearmonth", "field": "date", "type": "temporal",
"scale": {"nice": "month"},
"axis": {"format": "%Y", "labelAngle": 0}
},
"y": {
"aggregate": "sum", "field": "count","type": "quantitative"
},
"color": {"field":"series", "type":"nominal", "scale":{"scheme": "category20b"}}
}
}
vega-tooltip-0.33.0/examples/specs/overlay_line_full.json000066400000000000000000000013761446424224700235670ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/stocks.csv","format": {"type": "csv"}},
"transform": [{"filter": "datum.symbol==='GOOG'"}],
"layer": [
{
"description": "Google's stock price over time.",
"mark": "line",
"encoding": {
"x": {"field": "date","type": "temporal"},
"y": {"field": "price","type": "quantitative"},
"color": {"field": "symbol", "type": "nominal"}
}
},
{
"description": "Google's stock price over time.",
"mark": "point",
"encoding": {
"x": {"field": "date","type": "temporal"},
"y": {"field": "price","type": "quantitative"},
"color": {"field": "symbol", "type": "nominal"}
}
}
]
}vega-tooltip-0.33.0/examples/specs/overlay_line_short.json000066400000000000000000000007741446424224700237650ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Stock prices of 5 Tech Companies Over Time.",
"data": {
"url": "data/stocks.csv",
"format": {"type": "csv"}
},
"transform": [{"filter": {
"field": "symbol",
"equal": "'MSFT'"
}}],
"mark": "line",
"encoding": {
"x": {"field": "date", "type": "temporal", "axis": {"format": "%Y"}},
"y": {"field": "price", "type": "quantitative"},
"color": {"field": "symbol", "type": "nominal"}
}
}
vega-tooltip-0.33.0/examples/specs/scatter.json000066400000000000000000000006301446424224700215120ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A scatterplot showing horsepower and miles per gallons for various cars.",
"data": {"url": "data/cars.json"},
"mark": "circle",
"encoding": {
"x": {"field": "Horsepower","type": "quantitative", "axis": {"title": "HP"}},
"y": {"field": "Miles_per_Gallon","type": "quantitative", "axis": {"title": "MPG"}}
}
}
vega-tooltip-0.33.0/examples/specs/scatter_binned.json000066400000000000000000000007011446424224700230300ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/movies.json"},
"mark": "circle",
"encoding": {
"x": {
"bin": {"maxbins": 10},
"field": "IMDB Rating",
"type": "quantitative"
},
"y": {
"bin": {"maxbins": 10},
"field": "Rotten Tomatoes Rating",
"type": "quantitative"
},
"size": {
"aggregate": "count",
"type": "quantitative"
}
}
}
vega-tooltip-0.33.0/examples/specs/scatter_binned_color.json000066400000000000000000000007131446424224700242310ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A scatterplot showing horsepower and miles per gallons with binned acceleration on color.",
"data": {"url": "data/cars.json"},
"mark": "point",
"encoding": {
"x": {"field": "Horsepower","type": "quantitative"},
"y": {"field": "Miles_per_Gallon","type": "quantitative"},
"color": {"bin": {"maxbins": 5}, "field": "Acceleration","type": "quantitative"}
}
}
vega-tooltip-0.33.0/examples/specs/scatter_binned_size.json000066400000000000000000000006771446424224700240760ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "A scatterplot showing horsepower and miles per gallons with binned acceleration on size.",
"data": {"url": "data/cars.json"},
"mark": "point",
"encoding": {
"x": {"field": "Horsepower","type": "quantitative"},
"y": {"field": "Miles_per_Gallon","type": "quantitative"},
"size": {"bin": true, "field": "Acceleration","type": "quantitative"}
}
}
vega-tooltip-0.33.0/examples/specs/stacked_bar_weather.json000066400000000000000000000011671446424224700240340ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"data": {"url": "data/seattle-weather.csv"},
"mark": "bar",
"encoding": {
"x": {
"timeUnit": "month",
"field": "date",
"type": "ordinal",
"axis": {"title": "Month of the year"}
},
"y": {
"aggregate": "count",
"type": "quantitative"
},
"color": {
"field": "weather",
"type": "nominal",
"scale": {
"domain": ["sun","fog","drizzle","rain","snow"],
"range": ["#e7ba52","#c7c7c7","#aec7e8","#1f77b4","#9467bd"]
},
"legend": {"title": "Weather type"}
}
}
}
vega-tooltip-0.33.0/examples/specs/trellis_barley.json000066400000000000000000000015201446424224700230600ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "The Trellis display by Becker et al. helped establish small multiples as a “powerful mechanism for understanding interactions in studies of how a response depends on explanatory variables”. Here we reproduce a trellis of Barley yields from the 1930s, complete with main-effects ordering to facilitate comparison.",
"data": {"url": "data/barley.json"},
"mark": "point",
"encoding": {
"row": {
"field": "site", "type": "ordinal"
},
"x": {
"aggregate": "median", "field": "yield", "type": "quantitative",
"scale": {"zero": false}
},
"y": {
"field": "variety", "type": "ordinal",
"sort": {"field": "yield","op": "median", "order": "descending"}
},
"color": {"field": "year", "type": "nominal"}
}
}
vega-tooltip-0.33.0/examples/specs/voronoi.json000066400000000000000000000134271446424224700215500ustar00rootroot00000000000000{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"axes": [
{
"grid": true,
"orient": "bottom",
"scale": "xscale",
"title": "no. games"
},
{
"grid": true,
"orient": "left",
"scale": "yscale",
"title": "points"
}
],
"signals": [
{
"name": "hover",
"value": null,
"on": [
{"events": "@points_voronoi:mouseover", "update": "datum"},
{"events": "@points_voronoi:mouseout", "update": "null"}
]
}
],
"data": [
{
"name": "table",
"values": [
{"ELO": 1000, "c": 1, "match": 0},
{"ELO": 984, "c": 1, "match": 1},
{"ELO": 968, "c": 1, "match": 2},
{"ELO": 984, "c": 1, "match": 3},
{"ELO": 999, "c": 1, "match": 4},
{"ELO": 985, "c": 1, "match": 5},
{"ELO": 972, "c": 1, "match": 6},
{"ELO": 961, "c": 1, "match": 7},
{"ELO": 948, "c": 1, "match": 8},
{"ELO": 933, "c": 1, "match": 9},
{"ELO": 919, "c": 1, "match": 10},
{"ELO": 935, "c": 1, "match": 11},
{"ELO": 920, "c": 1, "match": 12},
{"ELO": 934, "c": 1, "match": 13},
{"ELO": 946, "c": 1, "match": 14},
{"ELO": 932, "c": 1, "match": 15},
{"ELO": 951, "c": 1, "match": 16},
{"ELO": 939, "c": 1, "match": 17},
{"ELO": 922, "c": 1, "match": 18},
{"ELO": 910, "c": 1, "match": 19},
{"ELO": 898, "c": 1, "match": 20},
{"ELO": 919, "c": 1, "match": 21},
{"ELO": 910, "c": 1, "match": 22},
{"ELO": 922, "c": 1, "match": 23},
{"ELO": 901, "c": 1, "match": 24},
{"ELO": 892, "c": 1, "match": 25},
{"ELO": 879, "c": 1, "match": 26},
{"ELO": 897, "c": 1, "match": 27},
{"ELO": 913, "c": 1, "match": 28},
{"ELO": 928, "c": 1, "match": 29},
{"ELO": 950, "c": 1, "match": 30},
{"ELO": 963, "c": 1, "match": 31},
{"ELO": 975, "c": 1, "match": 32},
{"ELO": 992, "c": 1, "match": 33},
{"ELO": 975, "c": 1, "match": 34},
{"ELO": 956, "c": 1, "match": 35},
{"ELO": 971, "c": 1, "match": 36},
{"ELO": 953, "c": 1, "match": 37},
{"ELO": 961, "c": 1, "match": 38},
{"ELO": 980, "c": 1, "match": 39},
{"ELO": 987, "c": 1, "match": 40},
{"ELO": 993, "c": 1, "match": 41},
{"ELO": 1012, "c": 1, "match": 42}
]
},
{
"name": "highlightedPoint",
"source": "table",
"transform": [
{
"type": "filter",
"expr": "hover && hover.datum.match === datum.match && hover.datum.ELO === datum.ELO"
}
]
}
],
"height": 175,
"marks": [
{
"from": {"facet": {"data": "table", "groupby": "c", "name": "series"}},
"marks": [
{
"encode": {
"update": {
"stroke": {"field": "c", "scale": "color"},
"strokeWidth": {"value": 2},
"x": {"field": "match", "scale": "xscale"},
"y": {"field": "ELO", "scale": "yscale"},
"fillOpacity": {"value": 1},
"interpolate": {"value": "step"}
}
},
"from": {"data": "series"},
"type": "line"
},
{
"name": "points_on_line",
"from": {"data": "series"},
"type": "symbol",
"encode": {
"update": {
"fill": {"value": "transparent"},
"size": {"value": 10},
"stroke": {"value": "transparent"},
"strokeWidth": {"value": 0.5},
"x": {"field": "match", "scale": "xscale"},
"y": {"field": "ELO", "scale": "yscale"}
}
}
},
{
"name": "points_voronoi",
"type": "path",
"from": {"data": "points_on_line"},
"encode": {
"update": {
"fill": {"value": "transparent"},
"strokeWidth": {"value": 0.35},
"stroke": {"value": "red"},
"strokeOpacity": {"value": 0.2},
"isVoronoi": {"value": true},
"tooltip": {"signal": "datum"}
}
},
"transform": [
{
"type": "voronoi",
"x": "datum.x",
"y": "datum.y",
"size": [{"signal": "width"}, {"signal": "height"}]
}
]
},
{
"from": {"data": "highlightedPoint"},
"type": "symbol",
"interactive": false,
"encode": {
"update": {
"x": {"scale": "xscale", "field": "match"},
"y": {"scale": "yscale", "field": "ELO"},
"stroke": {"value": "green"},
"strokeWidth": {"value": 4},
"fill": {"value": "white"},
"size": {"value": 150},
"strokeOpacity": {"value": 0.3}
}
}
}
],
"type": "group"
}
],
"padding": 5,
"scales": [
{
"domain": {"data": "table", "field": "match"},
"name": "xscale",
"range": "width",
"type": "linear"
},
{
"domain": {"data": "table", "field": "ELO"},
"name": "yscale",
"nice": true,
"range": "height",
"type": "linear",
"zero": false
},
{
"domain": {"data": "table", "field": "c"},
"name": "color",
"range": "category",
"type": "ordinal"
}
],
"width": 250
}
vega-tooltip-0.33.0/examples/vega-examples.html000066400000000000000000000032761446424224700214720ustar00rootroot00000000000000
Tooltip Examples
Vega Tooltip Examples
Back to overview
Back to overview
Back to Github
vega-tooltip-0.33.0/examples/vega-lite-examples.html000066400000000000000000000054601446424224700224220ustar00rootroot00000000000000
Tooltip Examples
Vega-Lite Tooltip Examples
Back to overview
Back to overview
Back to Github
vega-tooltip-0.33.0/jest.config.js000066400000000000000000000001651446424224700167710ustar00rootroot00000000000000exports = {
preset: 'ts-jest/presets/default-esm',
coverageDirectory: './coverage/',
collectCoverage: false
};
vega-tooltip-0.33.0/package.json000066400000000000000000000064641446424224700165200ustar00rootroot00000000000000{
"name": "vega-tooltip",
"version": "0.33.0",
"description": "A tooltip plugin for Vega-Lite and Vega visualizations.",
"keywords": [
"vega-lite",
"vega",
"tooltip"
],
"repository": {
"type": "git",
"url": "https://github.com/vega/vega-tooltip.git"
},
"author": {
"name": "UW Interactive Data Lab",
"url": "https://idl.cs.washington.edu"
},
"collaborators": [
"Dominik Moritz",
"Sira Horradarn",
"Zening Qu",
"Kanit Wongsuphasawat",
"Yuri Astrakhan",
"Jeffrey Heer"
],
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/vega/vega-tooltip/issues"
},
"homepage": "https://github.com/vega/vega-tooltip#readme",
"main": "build/vega-tooltip.js",
"module": "build/vega-tooltip.module.js",
"unpkg": "build/vega-tooltip.min.js",
"jsdelivr": "build/vega-tooltip.min.js",
"types": "build/vega-tooltip.module.d.ts",
"files": [
"src",
"build",
"types"
],
"scripts": {
"prebuild": "yarn clean && yarn build:style",
"build": "rollup -c",
"build:style": "./build-style.sh",
"clean": "rimraf build && rimraf src/style.ts",
"copy:data": "rsync -r node_modules/vega-datasets/data/* examples/data",
"copy:build": "rsync -r build/* examples/build",
"deploy:gh": "yarn build && yarn copy:build && gh-pages -d examples && yarn clean",
"prepublishOnly": "yarn clean && yarn build",
"preversion": "yarn lint && yarn test",
"serve": "browser-sync start -s -f build examples --serveStatic examples",
"start": "yarn build && concurrently --kill-others -n Server,Rollup 'yarn serve' 'rollup -c -w'",
"pretest": "yarn build:style",
"test": "jest",
"test:inspect": "node --inspect-brk ./node_modules/.bin/jest --runInBand",
"prepare": "yarn copy:data",
"prettierbase": "prettier '*.{css,scss,html}'",
"format": "eslint . --fix && yarn prettierbase --write",
"lint": "eslint . && yarn prettierbase --check",
"release": "release-it"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/plugin-proposal-async-generator-functions": "^7.20.7",
"@babel/plugin-proposal-json-strings": "^7.18.6",
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
"@babel/plugin-proposal-optional-catch-binding": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.5",
"@release-it/conventional-changelog": "^7.0.0",
"@rollup/plugin-json": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"@types/jest": "^29.5.3",
"@typescript-eslint/eslint-plugin": "^6.3.0",
"@typescript-eslint/parser": "^6.3.0",
"browser-sync": "^2.29.3",
"concurrently": "^8.2.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"gh-pages": "^5.0.0",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"path": "^0.12.7",
"prettier": "^3.0.1",
"release-it": "^16.1.3",
"rollup": "^3.27.2",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-ts": "^3.4.3",
"sass": "^1.64.2",
"typescript": "~5.1.6",
"vega-datasets": "^2.7.0",
"vega-typings": "^0.24.2"
},
"dependencies": {
"vega-util": "^1.17.2"
}
}
vega-tooltip-0.33.0/prettier.config.js000066400000000000000000000003371446424224700176630ustar00rootroot00000000000000module.exports = {
"printWidth": 120,
"proseWrap": "never",
"overrides": [
{
"files": "*.{js,jsx,ts,tsx}",
"options": {
"bracketSpacing": false,
"singleQuote": true
}
}
]
};vega-tooltip-0.33.0/rollup.config.mjs000066400000000000000000000025251446424224700175200ustar00rootroot00000000000000import json from '@rollup/plugin-json';
import resolve from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import bundleSize from 'rollup-plugin-bundle-size';
import ts from 'rollup-plugin-ts';
import pkg from './package.json' assert { type: 'json' };
const plugins = (browserslist, declaration) => [
resolve(),
json(),
ts({
tsconfig: (resolvedConfig) => ({
...resolvedConfig,
declaration,
declarationMap: declaration
}),
transpiler: "babel",
browserslist
}),
bundleSize()
];
const outputs = [
{
input: 'src/index.ts',
output: {
file: pkg.module,
format: 'esm',
sourcemap: true
},
plugins: plugins(false, true),
external: [...Object.keys(pkg.dependencies)]
}, {
input: 'src/index.ts',
output: [
{
file: pkg.main,
format: 'umd',
name: 'vegaTooltip',
exports: 'named',
sourcemap: true,
globals: {
'vega-util': 'vega'
},
},
{
file: pkg.unpkg,
format: 'umd',
name: 'vegaTooltip',
exports: 'named',
sourcemap: true,
globals: {
'vega-util': 'vega'
},
plugins: [terser()],
}
],
plugins: plugins('defaults', false),
external: ['vega-util']
}
];
export default outputs;
vega-tooltip-0.33.0/src/000077500000000000000000000000001446424224700150075ustar00rootroot00000000000000vega-tooltip-0.33.0/src/Handler.ts000066400000000000000000000051171446424224700167400ustar00rootroot00000000000000import {TooltipHandler} from 'vega-typings';
import {createDefaultStyle, DEFAULT_OPTIONS, Options} from './defaults';
import {calculatePosition} from './position';
/**
* The tooltip handler class.
*/
export class Handler {
/**
* The handler function. We bind this to this function in the constructor.
*/
public call: TooltipHandler;
/**
* Complete tooltip options.
*/
private options: Required;
/**
* The tooltip html element.
*/
private el: HTMLElement | null;
/**
* Create the tooltip handler and initialize the element and style.
*
* @param options Tooltip Options
*/
constructor(options?: Options) {
this.options = {...DEFAULT_OPTIONS, ...options};
const elementId = this.options.id;
this.el = null;
// bind this to call
this.call = this.tooltipHandler.bind(this);
// prepend a default stylesheet for tooltips to the head
if (!this.options.disableDefaultStyle && !document.getElementById(this.options.styleId)) {
const style = document.createElement('style');
style.setAttribute('id', this.options.styleId);
style.innerHTML = createDefaultStyle(elementId);
const head = document.head;
if (head.childNodes.length > 0) {
head.insertBefore(style, head.childNodes[0]);
} else {
head.appendChild(style);
}
}
}
/**
* The tooltip handler function.
*/
private tooltipHandler(handler: any, event: MouseEvent, item: any, value: any) {
// console.log(handler, event, item, value);
// append a div element that we use as a tooltip unless it already exists
this.el = document.getElementById(this.options.id);
if (!this.el) {
this.el = document.createElement('div');
this.el.setAttribute('id', this.options.id);
this.el.classList.add('vg-tooltip');
const tooltipContainer = document.fullscreenElement ?? document.body;
tooltipContainer.appendChild(this.el);
}
// hide tooltip for null, undefined, or empty string values
if (value == null || value === '') {
this.el.classList.remove('visible', `${this.options.theme}-theme`);
return;
}
// set the tooltip content
this.el.innerHTML = this.options.formatTooltip(value, this.options.sanitize, this.options.maxDepth);
// make the tooltip visible
this.el.classList.add('visible', `${this.options.theme}-theme`);
const {x, y} = calculatePosition(
event,
this.el.getBoundingClientRect(),
this.options.offsetX,
this.options.offsetY,
);
this.el.style.top = `${y}px`;
this.el.style.left = `${x}px`;
}
}
vega-tooltip-0.33.0/src/defaults.ts000066400000000000000000000040151446424224700171660ustar00rootroot00000000000000import {formatValue} from './formatValue';
import defaultStyle from './style';
const EL_ID = 'vg-tooltip-element';
export const DEFAULT_OPTIONS = {
/**
* X offset.
*/
offsetX: 10,
/**
* Y offset.
*/
offsetY: 10,
/**
* ID of the tooltip element.
*/
id: EL_ID,
/**
* ID of the tooltip CSS style.
*/
styleId: 'vega-tooltip-style',
/**
* The name of the theme. You can use the CSS class called [THEME]-theme to style the tooltips.
*
* There are two predefined themes: "light" (default) and "dark".
*/
theme: 'light',
/**
* Do not use the default styles provided by Vega Tooltip. If you enable this option, you need to use your own styles. It is not necessary to disable the default style when using a custom theme.
*/
disableDefaultStyle: false,
/**
* HTML sanitizer function that removes dangerous HTML to prevent XSS.
*
* This should be a function from string to string. You may replace it with a formatter such as a markdown formatter.
*/
sanitize: escapeHTML,
/**
* The maximum recursion depth when printing objects in the tooltip.
*/
maxDepth: 2,
/**
* A function to customize the rendered HTML of the tooltip.
* @param value A value string, or object of value strings keyed by field
* @param sanitize The `sanitize` function from `options.sanitize`
* @returns {string} The returned string will become the `innerHTML` of the tooltip element
*/
formatTooltip: formatValue,
};
export type Options = Partial;
/**
* Escape special HTML characters.
*
* @param value A value to convert to string and HTML-escape.
*/
export function escapeHTML(value: any): string {
return String(value).replace(/&/g, '&').replace(/ string, maxDepth: number): string {
if (isArray(value)) {
return `[${value.map((v) => valueToHtml(isString(v) ? v : stringify(v, maxDepth))).join(', ')}]`;
}
if (isObject(value)) {
let content = '';
const {title, image, ...rest} = value as any;
if (title) {
content += `${valueToHtml(title)} `;
}
if (image) {
content += ` `;
}
const keys = Object.keys(rest);
if (keys.length > 0) {
content += '';
for (const key of keys) {
let val = (rest as any)[key];
// ignore undefined properties
if (val === undefined) {
continue;
}
if (isObject(val)) {
val = stringify(val, maxDepth);
}
content += ``;
}
content += `${valueToHtml(key)} ${valueToHtml(val)}
`;
}
return content || '{}'; // show empty object if there are no properties
}
return valueToHtml(value);
}
export function replacer(maxDepth: number) {
const stack: any[] = [];
return function (this: any, key: string, value: any) {
if (typeof value !== 'object' || value === null) {
return value;
}
const pos = stack.indexOf(this) + 1;
stack.length = pos;
if (stack.length > maxDepth) {
return '[Object]';
}
if (stack.indexOf(value) >= 0) {
return '[Circular]';
}
stack.push(value);
return value;
};
}
/**
* Stringify any JS object to valid JSON
*/
export function stringify(obj: any, maxDepth: number) {
return JSON.stringify(obj, replacer(maxDepth));
}
vega-tooltip-0.33.0/src/index.ts000066400000000000000000000011221446424224700164620ustar00rootroot00000000000000import pkg from '../package.json';
import {View} from 'vega-typings';
import {Options} from './defaults';
import {Handler} from './Handler';
const version = pkg.version;
export * from './defaults';
export * from './formatValue';
export * from './position';
export * from './Handler';
export {version};
/**
* Create a tooltip handler and register it with the provided view.
*
* @param view The Vega view.
* @param opt Tooltip options.
*/
export default function (view: View, opt?: Options) {
const handler = new Handler(opt);
view.tooltip(handler.call).run();
return handler;
}
vega-tooltip-0.33.0/src/position.ts000066400000000000000000000011461446424224700172250ustar00rootroot00000000000000/**
* Position the tooltip
*
* @param event The mouse event.
* @param tooltipBox
* @param offsetX Horizontal offset.
* @param offsetY Vertical offset.
*/
export function calculatePosition(
event: MouseEvent,
tooltipBox: {width: number; height: number},
offsetX: number,
offsetY: number,
) {
let x = event.clientX + offsetX;
if (x + tooltipBox.width > window.innerWidth) {
x = +event.clientX - offsetX - tooltipBox.width;
}
let y = event.clientY + offsetY;
if (y + tooltipBox.height > window.innerHeight) {
y = +event.clientY - offsetY - tooltipBox.height;
}
return {x, y};
}
vega-tooltip-0.33.0/test/000077500000000000000000000000001446424224700151775ustar00rootroot00000000000000vega-tooltip-0.33.0/test/Handler.test.ts000066400000000000000000000035711446424224700201100ustar00rootroot00000000000000/**
* @jest-environment jsdom
*/
import {Item} from 'vega-typings/types';
import {DEFAULT_OPTIONS, Handler} from '../src';
describe('Handler', () => {
it('instantiates a tooltip handler', () => {
const handler = new Handler();
expect(handler).toBeInstanceOf(Handler);
expect(typeof handler.call).toBe('function');
expect(document.head.querySelector(`style#${DEFAULT_OPTIONS.styleId}`)).not.toBeNull();
});
it('renders tooltip element', () => {
const handler = new Handler({});
handler.call(handler, new MouseEvent(''), {} as Item, 'foo');
expect(document.querySelector(`#${DEFAULT_OPTIONS.id}`)).not.toBeNull();
});
describe('options', () => {
beforeEach(() => {
document.body.innerHTML = '';
document.head.innerHTML = '';
});
describe('disableDefaultStyle', () => {
it('does not add a