author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
67,024 | 30.11.2018 22:39:09 | -39,600 | f767d30d8d85154bc56ce6a6448113daf3967586 | Translate arrow by -1px to account for Popper.js positioning issue | [
{
"change_type": "MODIFY",
"old_path": "src/scss/themes/light-border.scss",
"new_path": "src/scss/themes/light-border.scss",
"diff": "@@ -18,7 +18,8 @@ $transparentDarker: rgba(0, 8, 16, 0.2);\n.tippy-arrow,\n.tippy-roundarrow {\n- &::after {\n+ &::after,\n+ &::before {\ncontent: '';\nposition: abso... | JavaScript | MIT License | atomiks/tippyjs | Translate arrow by -1px to account for Popper.js positioning issue |
67,024 | 01.12.2018 00:24:36 | -39,600 | 376aa5ab9e7fc71b17b5ef7d5738093546661c9e | Add missing sizes for google theme | [
{
"change_type": "MODIFY",
"old_path": "src/scss/themes/google.scss",
"new_path": "src/scss/themes/google.scss",
"diff": "@@ -32,4 +32,14 @@ $color: #505355;\n&[data-animatefill] {\nbackground-color: transparent;\n}\n+\n+ &[data-size='small'] {\n+ font-size: 0.75rem;\n+ padding: 0.2rem 0.4rem;\n+ }\... | JavaScript | MIT License | atomiks/tippyjs | Add missing sizes for google theme |
67,024 | 01.12.2018 00:42:40 | -39,600 | 0494ad83e2c1dfe40c4b607d9106cd0e36c74a9d | Add maxWidth to updatePopperElement | [
{
"change_type": "MODIFY",
"old_path": "src/js/utils.js",
"new_path": "src/js/utils.js",
"diff": "@@ -254,6 +254,8 @@ export const updatePopperElement = (popper, prevProps, nextProps) => {\npopper.style.zIndex = nextProps.zIndex\ntooltip.setAttribute('data-size', nextProps.size)\ntooltip.setAttribut... | JavaScript | MIT License | atomiks/tippyjs | Add maxWidth to updatePopperElement |
67,024 | 03.12.2018 20:48:24 | -39,600 | f912b28ecd09377f9fd8bd90596c97ce79cd2e11 | Use bundlesize package | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "\"integrity\": \"sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==\",\n\"dev\": true\n},\n+ \"axios\": {\n+ \"version\": \"0.17.1\",\n+ \"resolved\": \"... | JavaScript | MIT License | atomiks/tippyjs | Use bundlesize package (#370) |
67,024 | 08.12.2018 03:46:36 | -39,600 | 709e8f112cc179becc1289b409f509c5dc2478c1 | Finish cleaning up comments | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -27,6 +27,9 @@ let idCounter = 1\n* Creates and returns a Tippy object. We're using a closure pattern instead of\n* a class so that the exposed object API is clean without private members... | JavaScript | MIT License | atomiks/tippyjs | Finish cleaning up comments |
67,024 | 12.12.2018 20:39:40 | -39,600 | 2a0365243237948e6ca51719b998ce9b906400c1 | Use "files" whitelist key | [
{
"change_type": "DELETE",
"old_path": ".npmignore",
"new_path": null,
"diff": "-docs\n-node_modules\n-scripts\n-tests\n-src\n-build\n-.cache\n-.github\n-website\n-coverage\n-.babelrc\n-.prettierignore\n-.travis.yml\n-.gitignore\n-.devserver\n-.eslintrc.js\n"
},
{
"change_type": "MODIFY",
... | JavaScript | MIT License | atomiks/tippyjs | Use "files" whitelist key |
67,024 | 30.12.2018 17:08:46 | -39,600 | f6693e4c7a68cf2947e5328ed3a8053efb1f7bc9 | Syntax highlighting color improvements | [
{
"change_type": "MODIFY",
"old_path": "src/js/defaults.js",
"new_path": "src/js/defaults.js",
"diff": "@@ -7,6 +7,7 @@ export default {\narrow: false,\narrowTransform: '',\narrowType: 'sharp',\n+ boundary: 'scrollParent',\ncontent: '',\ndelay: [0, 20],\ndistance: 10,\n"
},
{
"change_type": ... | JavaScript | MIT License | atomiks/tippyjs | Syntax highlighting color improvements |
67,024 | 05.01.2019 15:05:27 | -39,600 | 8fa2a78d8cc5156c85a4c163dbd1d51a66823578 | Cleaning up package | [
{
"change_type": "MODIFY",
"old_path": ".babelrc",
"new_path": ".babelrc",
"diff": "{\n\"presets\": [[\"env\", { \"modules\": false }], \"stage-2\"],\n- \"plugins\": [[\"transform-react-jsx\", { \"pragma\": \"h\" }]],\n\"env\": {\n\"test\": {\n\"presets\": [\n"
},
{
"change_type": "MODIFY",
... | JavaScript | MIT License | atomiks/tippyjs | Cleaning up package |
67,024 | 05.01.2019 15:16:51 | -39,600 | c63bb2ef3fa822c447a4d403c30b1bb327dc7fc1 | Fix Loading (StaticQuery) issue | [
{
"change_type": "MODIFY",
"old_path": "website/src/components/Nav.js",
"new_path": "website/src/components/Nav.js",
"diff": "@@ -129,7 +129,7 @@ class Nav extends Component {\nexport default Nav\n-export const allMdxQuery = graphql`\n+const allMdxQuery = graphql`\nquery {\nallMdx {\nedges {\n"
},... | JavaScript | MIT License | atomiks/tippyjs | Fix Loading (StaticQuery) issue |
67,024 | 05.01.2019 15:56:13 | -39,600 | 097c6dab819c173bb123e0bb34dc86fc7bb7f885 | Fix Firefox problem with filter: saturate() | [
{
"change_type": "MODIFY",
"old_path": "website/gatsby-browser.js",
"new_path": "website/gatsby-browser.js",
"diff": "@@ -9,6 +9,10 @@ import 'focus-visible'\nimport elasticScroll from 'elastic-scroll-polyfill'\nimport { toKebabCase } from './src/utils'\n+if (/Firefox/.test(navigator.userAgent)) {\n... | JavaScript | MIT License | atomiks/tippyjs | Fix Firefox problem with filter: saturate() |
67,024 | 06.01.2019 15:31:54 | -39,600 | e8714e62244d4921413b0ff69e984479f7785836 | Add docs for event delegation | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "website/src/components/examples/EventDelegation.js",
"diff": "+import React from 'react'\n+import Tippy from '../Tippy'\n+import { Button } from '../Framework'\n+\n+function EventDelegation() {\n+ return (\n+ <Tippy target=\".child\" performance... | JavaScript | MIT License | atomiks/tippyjs | Add docs for event delegation |
67,024 | 08.01.2019 03:20:55 | -39,600 | 056767633fc780b08288daff41ced07cfafd45c2 | Avoid 'this' to match instances | [
{
"change_type": "MODIFY",
"old_path": "src/js/index.js",
"new_path": "src/js/index.js",
"diff": "@@ -50,17 +50,19 @@ function tippy(targets, options, one) {\nreturn acc\n}, [])\n- return {\n+ const collection = {\ntargets,\nprops,\ninstances,\ndestroyAll() {\n- this.instances.forEach(instance => {\... | JavaScript | MIT License | atomiks/tippyjs | Avoid 'this' to match instances |
67,024 | 08.01.2019 05:00:53 | -39,600 | 55d8a490fd426f85ae130b11f600f560e0df54d2 | Retina logo width | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "<p align=\"center\">\n- <img src=\"https://github.com/atomiks/tippyjs/raw/master/logo.png\" alt=\"Logo\" width=\"150\">\n+ <img src=\"https://github.com/atomiks/tippyjs/raw/master/logo.png\" alt=\"Logo\" width=\"13... | JavaScript | MIT License | atomiks/tippyjs | Retina logo width |
67,024 | 11.01.2019 04:22:52 | -39,600 | d59ac8450232b745c80c487c296d81c9d4e7174d | Avoid setting aria attribute for falsy values | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -905,7 +905,9 @@ export default function createTippy(reference, collectionProps) {\nfocus(tip.popper)\n}\n+ if (tip.props.aria) {\ntip.reference.setAttribute(`aria-${tip.props.aria}`, tip... | JavaScript | MIT License | atomiks/tippyjs | Avoid setting aria attribute for falsy values (#402) |
67,024 | 12.01.2019 08:30:55 | -39,600 | 494ea5f6f5dc99533c6ae8efe25ff11fd8e0c678 | Passive touchstart; resolves | [
{
"change_type": "MODIFY",
"old_path": "src/js/bindGlobalEventListeners.js",
"new_path": "src/js/bindGlobalEventListeners.js",
"diff": "@@ -3,6 +3,7 @@ import Selectors from './selectors'\nimport { hideAllPoppers } from './popper'\nimport { closest, closestCallback, arrayFrom } from './ponyfills'\ni... | JavaScript | MIT License | atomiks/tippyjs | Passive touchstart; resolves #344 |
67,024 | 12.01.2019 08:34:57 | -39,600 | dc66b53dd5b28927f0a71b459f6f04a0aaaf2fdb | Upgrade to ESLint 5 | [
{
"change_type": "MODIFY",
"old_path": ".eslintrc.js",
"new_path": ".eslintrc.js",
"diff": "module.exports = {\nenv: {\nbrowser: true,\n- es6: true,\n},\nextends: 'eslint:recommended',\nparserOptions: {\nsourceType: 'module',\n- ecmaFeatures: {\n- experimentalObjectRestSpread: true,\n- },\n+ ecmaVer... | JavaScript | MIT License | atomiks/tippyjs | Upgrade to ESLint 5 |
67,024 | 12.01.2019 08:43:26 | -39,600 | 526720f82bb923b70ed4c4c1c13bf210c5a1cc06 | Delegate check | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -681,7 +681,7 @@ export default function createTippy(reference, collectionProps) {\n* Adds event listeners to the reference based on the `trigger` prop\n*/\nfunction addTriggersToReferenc... | JavaScript | MIT License | atomiks/tippyjs | Delegate check |
67,024 | 12.01.2019 23:48:21 | -39,600 | 4aa32de4b742313a52f3380718619ef688a2a44a | Remove initialHorizontal and initialVertical: Wikipedia is smarter about inline link triggers | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -40,13 +40,7 @@ export interface Props {\ndistance?: number\nflip?: boolean\nflipBehavior?: 'flip' | Placement[]\n- followCursor?:\n- | boolean\n- | 'vertical'\n- | 'horizontal'\n- | 'initial'\n- | 'initialVer... | JavaScript | MIT License | atomiks/tippyjs | Remove initialHorizontal and initialVertical: Wikipedia is smarter about inline link triggers |
67,024 | 12.01.2019 23:50:31 | -39,600 | 945edbab4541242d6f828f28aecaebea93513721 | Improve inertia animation | [
{
"change_type": "MODIFY",
"old_path": "src/scss/tippy.scss",
"new_path": "src/scss/tippy.scss",
"diff": "&[data-inertia] {\n&[data-state='visible'] {\n- transition-timing-function: cubic-bezier(0.53, 2, 0.36, 0.85);\n+ transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);\n}\n&[data-stat... | JavaScript | MIT License | atomiks/tippyjs | Improve inertia animation |
67,024 | 31.01.2019 18:18:44 | -39,600 | 85678c4c73ca828ba0c1617356f0dcbca97d184f | Document offset x and y axes; resolve | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/all-options.mdx",
"new_path": "website/src/pages/all-options.mdx",
"diff": "@@ -35,7 +35,7 @@ Below is a table of all the options you can supply.\n| `livePlacement` | `boolean` | `true` | Determines if the placement of the tippy should update... | JavaScript | MIT License | atomiks/tippyjs | Document offset x and y axes; resolve #420 |
67,024 | 07.02.2019 00:12:28 | -39,600 | 8c8a367fa8de94ddd1b1cc7fb259dd5d5f075458 | Add notes on importing default themes in the package | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/themes.mdx",
"new_path": "website/src/pages/themes.mdx",
"diff": "@@ -10,6 +10,45 @@ import Tippy from '../components/Tippy'\nTippy is highly themeable through CSS. The sky is the limit when it comes to\ntheir appearance!\n+### Default themes... | JavaScript | MIT License | atomiks/tippyjs | Add notes on importing default themes in the package |
67,024 | 09.02.2019 21:23:38 | -39,600 | 4ebc551784ab8c2ffcda6494480ba3090607de74 | Update gzip badge | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "[](https://travis-ci.org/atomiks/tippyjs)\n[](https://www.npmjs.com/package/tippy.... | JavaScript | MIT License | atomiks/tippyjs | Update gzip badge |
67,024 | 10.02.2019 00:10:10 | -39,600 | a294e45846c575931cdc3e7ac997d7473017b067 | Fix animate.css examples for iOS Safari | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/index.mdx",
"new_path": "website/src/pages/index.mdx",
"diff": "@@ -93,28 +93,34 @@ effect has been disabled in these examples (`animateFill: false`).\n<Button>Scale with inertia</Button>\n</Tippy>\n<Tippy\n+ animation=\"fade\"\nanimateFill={... | JavaScript | MIT License | atomiks/tippyjs | Fix animate.css examples for iOS Safari |
67,024 | 11.02.2019 03:44:31 | -39,600 | b73c4e8f6aec7b93128854087706a9734a9799b9 | Add 'Can I use the `title` attribute?' section | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/faq.mdx",
"new_path": "website/src/pages/faq.mdx",
"diff": "@@ -53,3 +53,46 @@ bottom of the page, like so:\n</body>\n</html>\n```\n+\n+### Can I use the `title` attribute?\n+\n+Yes. The `content` option can be a function that receives the re... | JavaScript | MIT License | atomiks/tippyjs | Add 'Can I use the `title` attribute?' section (#411) |
67,024 | 15.02.2019 07:01:38 | -39,600 | 1ccf93d96758664e324079003e61a94dba23ff82 | Fix UC Browser support | [
{
"change_type": "MODIFY",
"old_path": "src/js/browser.js",
"new_path": "src/js/browser.js",
"diff": "export const isBrowser = typeof window !== 'undefined'\n-export const isIE = isBrowser && /MSIE |Trident\\//.test(navigator.userAgent)\n+\n+const ua = isBrowser && navigator.userAgent\n+\n+export co... | JavaScript | MIT License | atomiks/tippyjs | Fix UC Browser support (#427) |
67,024 | 15.02.2019 08:43:30 | -39,600 | 15646a1c5d4d1335ff43ba95c194cc492ae2bcc1 | Add 'Skip to content' accessibility link | [
{
"change_type": "MODIFY",
"old_path": "website/package-lock.json",
"new_path": "website/package-lock.json",
"diff": "\"warning\": \"^3.0.0\"\n}\n},\n+ \"@reach/skip-nav\": {\n+ \"version\": \"0.1.2\",\n+ \"resolved\": \"https://registry.npmjs.org/@reach/skip-nav/-/skip-nav-0.1.2.tgz\",\n+ \"integri... | JavaScript | MIT License | atomiks/tippyjs | Add 'Skip to content' accessibility link |
67,024 | 16.02.2019 05:44:50 | -39,600 | 59c2cdde16275ef624cccbc4e1246d954b07f0fd | Improve Prism monkey-patching technique | [
{
"change_type": "MODIFY",
"old_path": "website/package-lock.json",
"new_path": "website/package-lock.json",
"diff": "},\n\"prismjs\": {\n\"version\": \"1.15.0\",\n- \"resolved\": \"git+https://github.com/PrismJS/prism.git#217a6ea4262083aad1d8dd140475ea7ff64ce2d8\",\n+ \"resolved\": \"https://regist... | JavaScript | MIT License | atomiks/tippyjs | Improve Prism monkey-patching technique |
67,024 | 16.02.2019 05:59:33 | -39,600 | eb023cb31e5508e641f32e91e8051f3c80126e25 | Safer check for transitionend event | [
{
"change_type": "MODIFY",
"old_path": "src/js/popper.js",
"new_path": "src/js/popper.js",
"diff": "@@ -135,7 +135,12 @@ export function applyTransitionDuration(els, value) {\n* @param {Function} listener\n*/\nexport function toggleTransitionEndListener(tooltip, action, listener) {\n- const eventNam... | JavaScript | MIT License | atomiks/tippyjs | Safer check for transitionend event |
67,024 | 17.02.2019 06:28:31 | -39,600 | ab8cd37ca190955eb89258f3d69cbbc0fbf3e92c | Fix distance option when setting it as default | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -490,7 +490,7 @@ export default function createTippy(reference, collectionProps) {\nonCreate() {\ntooltip.style[\ngetPopperPlacement(instance.popper)\n- ] = getOffsetDistanceInPx(instance... | JavaScript | MIT License | atomiks/tippyjs | Fix distance option when setting it as default (#429) |
67,024 | 17.02.2019 06:35:50 | -39,600 | 3df8457208276837ac7cc5271a0bebf6c648449e | Fix data not being passed as an argument | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -487,13 +487,8 @@ export default function createTippy(reference, collectionProps) {\n...getModifier(popperOptions, 'offset'),\n},\n},\n- onCreate() {\n- tooltip.style[\n- getPopperPlaceme... | JavaScript | MIT License | atomiks/tippyjs | Fix data not being passed as an argument |
67,024 | 22.02.2019 16:34:27 | -39,600 | adf4a637d9301dea2a0d75a21895b25111a5ad98 | Fix virtual element check | [
{
"change_type": "MODIFY",
"old_path": "src/js/index.js",
"new_path": "src/js/index.js",
"diff": "@@ -7,7 +7,7 @@ import { polyfillElementPrototypeProperties } from './reference'\nimport { validateOptions } from './props'\nimport { arrayFrom } from './ponyfills'\nimport { hideAll } from './popper'\n... | JavaScript | MIT License | atomiks/tippyjs | Fix virtual element check (#431) |
67,024 | 22.02.2019 20:32:30 | -39,600 | 048938151e17524677a09b8f93628ba947ec7978 | Fix flip option | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -488,7 +488,7 @@ export default function createTippy(reference, collectionProps) {\n},\n},\nonUpdate(data) {\n- if (!instance.props.flipOnUpdate) {\n+ if (instance.props.flip && !instance... | JavaScript | MIT License | atomiks/tippyjs | Fix flip option (#432) |
67,024 | 23.02.2019 15:45:09 | -39,600 | 294351a8aab0925912a1d6887d3fc7583215c637 | Allow users to specify onUpdate() in popperOptions | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -503,6 +503,10 @@ export default function createTippy(reference, collectionProps) {\nstyles[getPopperPlacement(instance.popper)] = getOffsetDistanceInPx(\ninstance.props.distance,\n)\n+\n... | JavaScript | MIT License | atomiks/tippyjs | Allow users to specify onUpdate() in popperOptions |
67,024 | 23.02.2019 16:30:47 | -39,600 | f13df7579ad19a0b221a4d89b7c561ab06c31f36 | Add anchor link section | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "website/src/components/examples/AnchorLink.js",
"diff": "+import React, { useRef, useEffect } from 'react'\n+import styled from 'styled-components'\n+import tippy from 'tippy.js'\n+import Tippy from '../Tippy'\n+import { MEDIA } from '../Framewo... | JavaScript | MIT License | atomiks/tippyjs | Add anchor link section |
67,024 | 02.03.2019 00:39:03 | -39,600 | 6dbbc3f6010c0cfc2ab625355641800b77278d8c | Add basic typechecking, fix existing type problems | [
{
"change_type": "MODIFY",
"old_path": "src/js/bindGlobalEventListeners.js",
"new_path": "src/js/bindGlobalEventListeners.js",
"diff": "@@ -47,6 +47,7 @@ export function onDocumentClick({ target }) {\n// Clicked on an interactive popper\nconst popper = closest(target, Selectors.POPPER)\n+ // @ts-ign... | JavaScript | MIT License | atomiks/tippyjs | Add basic typechecking, fix existing type problems |
67,024 | 02.03.2019 00:40:18 | -39,600 | 68e23e5c3b689737e6a646001c9f4c7c7bd0e817 | Fix atomiks/tippy.js-react/issues/62 | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -526,7 +526,7 @@ export default function createTippy(reference, collectionProps) {\ninstance.props.distance,\n)\n- if (popperOptions.onUpdate) {\n+ if (popperOptions && popperOptions.onUp... | JavaScript | MIT License | atomiks/tippyjs | Fix atomiks/tippy.js-react/issues/62 |
67,024 | 02.03.2019 01:25:34 | -39,600 | ab5595e31945861d898cbddae25275d93133c992 | prepare -> schedule | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -61,8 +61,8 @@ export default function createTippy(reference, collectionProps) {\n// Timeout created by the hide delay\nlet hideTimeoutId = 0\n- // Flag to determine if the tippy is prepa... | JavaScript | MIT License | atomiks/tippyjs | prepare -> schedule |
67,024 | 02.03.2019 13:29:00 | -39,600 | 10815350019db5e81e5ea1986cb06f717efe6278 | Fix - document returning `false` from onShow/onHide | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/all-options.mdx",
"new_path": "website/src/pages/all-options.mdx",
"diff": "@@ -36,9 +36,9 @@ Below is a table of all the options you can supply.\n| `multiple` | `boolean` | `false` | Determines if the reference element can have multiple tipp... | JavaScript | MIT License | atomiks/tippyjs | Fix #438 - document returning `false` from onShow/onHide |
67,024 | 02.03.2019 13:32:55 | -39,600 | 234aeb7b0de6d1168e03cbcf6e94a45c9420f2fc | Tweak wording for | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/all-options.mdx",
"new_path": "website/src/pages/all-options.mdx",
"diff": "@@ -36,9 +36,9 @@ Below is a table of all the options you can supply.\n| `multiple` | `boolean` | `false` | Determines if the reference element can have multiple tipp... | JavaScript | MIT License | atomiks/tippyjs | Tweak wording for #438 |
67,024 | 02.03.2019 14:17:43 | -39,600 | 6b0a558b45d70f5897c0633eb94cc30e3ad3b397 | Improve safeness of isVirtual check | [
{
"change_type": "MODIFY",
"old_path": "src/js/utils.js",
"new_path": "src/js/utils.js",
"diff": "@@ -102,7 +102,9 @@ export function includes(a, b) {\n* @return {Boolean}\n*/\nexport function isSingular(value) {\n- return !!(value && value.isVirtual) || value instanceof Element\n+ return (\n+ !!(va... | JavaScript | MIT License | atomiks/tippyjs | Improve safeness of isVirtual check |
67,024 | 03.03.2019 14:48:12 | -39,600 | ebcee4321d96f36a046fc3504ab4b88d5243d1db | Adjust rem units to align with whole pixels (16px base) | [
{
"change_type": "MODIFY",
"old_path": "src/scss/index.scss",
"new_path": "src/scss/index.scss",
"diff": ".tippy-tooltip {\nposition: relative;\ncolor: white;\n- border-radius: 4px;\n- font-size: 0.9rem;\n- padding: 0.3rem 0.6rem;\n+ border-radius: 0.25rem;\n+ font-size: 0.875rem;\n+ padding: 0.3125... | JavaScript | MIT License | atomiks/tippyjs | Adjust rem units to align with whole pixels (16px base) |
67,024 | 04.03.2019 00:22:25 | -39,600 | ae55e610d8c86c0c42cd726883ddbeeaef26664d | 0.5px adjustments for round arrow gap on Edge | [
{
"change_type": "MODIFY",
"old_path": "src/scss/_mixins.scss",
"new_path": "src/scss/_mixins.scss",
"diff": "@if ($isRoundArrow) {\n@if ($placement == 'left') {\n- right: -$width * 2;\n+ right: -$width * 2 + 0.5px;\n} @else if ($placement == 'right') {\nleft: -$width * 2;\n+ } @else if ($placement ... | JavaScript | MIT License | atomiks/tippyjs | 0.5px adjustments for round arrow gap on Edge |
67,024 | 04.03.2019 14:16:03 | -39,600 | aa33ee099039568e11c72dd41b64255c238a794f | Improve followCursor: 'initial' heuristic on touch devices | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -342,9 +342,7 @@ export default function createTippy(reference, collectionProps) {\nif (!instance.state.isVisible) {\nlastTriggerEvent = event\n- // Use the `mouseenter` event as a \"mock... | JavaScript | MIT License | atomiks/tippyjs | Improve followCursor: 'initial' heuristic on touch devices |
67,024 | 04.03.2019 15:05:19 | -39,600 | 1d96616699a88d667c69cf1d912d35212026e6c6 | Increase padding for arrowType: 'round' | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -181,7 +181,9 @@ export default function createTippy(reference, collectionProps) {\n// Ensure virtual reference is padded to prevent tooltip from\n// overflowing. Maybe Popper.js issue?\n... | JavaScript | MIT License | atomiks/tippyjs | Increase padding for arrowType: 'round' |
67,024 | 04.03.2019 17:11:05 | -39,600 | 2c1a7cf36d8137c9473274f41b4d354ae74d668f | Size round arrow closer to standard arrow | [
{
"change_type": "MODIFY",
"old_path": "src/js/popper.js",
"new_path": "src/js/popper.js",
"diff": "@@ -69,7 +69,7 @@ export function createArrowElement(arrowType) {\narrow.className = 'tippy-roundarrow'\nsetInnerHTML(\narrow,\n- '<svg viewBox=\"0 0 24 8\" xmlns=\"http://www.w3.org/2000/svg\"><path ... | JavaScript | MIT License | atomiks/tippyjs | Size round arrow closer to standard arrow |
67,024 | 04.03.2019 17:16:50 | -39,600 | 859eee3c330ad2bab55fcf2a8c5824e313b6c7de | Fix preventOverflow not taking into account distance | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -182,7 +182,7 @@ export default function createTippy(reference, collectionProps) {\n// overflowing. Maybe Popper.js issue?\nconst placement = getPopperPlacement(instance.popper)\nconst pa... | JavaScript | MIT License | atomiks/tippyjs | Fix preventOverflow not taking into account distance |
67,024 | 04.03.2019 17:56:16 | -39,600 | ff878d903763fbb7205308d6da2bf5770265445c | Avoid _defineProperty helper from Babel | [
{
"change_type": "MODIFY",
"old_path": "src/js/createTippy.js",
"new_path": "src/js/createTippy.js",
"diff": "@@ -523,15 +523,18 @@ export default function createTippy(reference, collectionProps) {\nstyles.left = ''\nstyles.right = ''\nstyles[basePlacement] = getOffsetDistanceInPx(instance.props.dis... | JavaScript | MIT License | atomiks/tippyjs | Avoid _defineProperty helper from Babel |
67,024 | 12.03.2019 15:26:45 | -39,600 | 2326d95e8c07585b35f2f694ec1a4cd0cd4f919e | Remove will-change properties: seems to improve animation FPS | [
{
"change_type": "MODIFY",
"old_path": "src/scss/index.scss",
"new_path": "src/scss/index.scss",
"diff": "padding: 0.3125rem 0.5625rem;\nline-height: 1.4;\ntext-align: center;\n- will-change: transform;\nbackground-color: #333;\n&[data-size='small'] {\n.tippy-backdrop {\nposition: absolute;\n- will-... | JavaScript | MIT License | atomiks/tippyjs | Remove will-change properties: seems to improve animation FPS |
67,024 | 12.03.2019 16:39:38 | -39,600 | 2aa294d6d32d30af30af857796f59b2ac206d455 | Prevent overwriting user-defined preventOverflow padding | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -479,6 +479,11 @@ export default function createTippy(\nconst { popperOptions } = instance.props\nconst { tooltip, arrow } = instance.popperChildren\n+ const preventOverflowModifier = getModifi... | JavaScript | MIT License | atomiks/tippyjs | Prevent overwriting user-defined preventOverflow padding |
67,024 | 12.03.2019 17:36:46 | -39,600 | 8f684885494757422b98ba52a948ac05f09441b0 | Add safety early return to tippy.group() | [
{
"change_type": "MODIFY",
"old_path": "src/group.ts",
"new_path": "src/group.ts",
"diff": "import { GroupedInstance, GroupOptions } from './types'\n+import { hasOwnProperty } from './utils'\n/**\n* Groups an array of instances by taking control of their props during\n@@ -8,6 +9,12 @@ export default... | JavaScript | MIT License | atomiks/tippyjs | Add safety early return to tippy.group() |
67,024 | 14.03.2019 06:26:15 | -39,600 | 9ea445073ec68b0d0993e0654255494e5905480a | Update themes page | [
{
"change_type": "MODIFY",
"old_path": "website/src/css/base.js",
"new_path": "website/src/css/base.js",
"diff": "@@ -308,4 +308,11 @@ export default createGlobalStyle`\nbox-shadow: 0 0 0 2px rgb(255, 255, 255), 0 0 0 5px rgb(150, 180, 255);\n}\n}\n+\n+ blockquote {\n+ color: #5b36df;\n+ border-left... | JavaScript | MIT License | atomiks/tippyjs | Update themes page |
67,024 | 17.03.2019 00:08:07 | -39,600 | c485b96496c452bbd05bc704ca34d3f8129e1ea3 | Refactor away magic strings | [
{
"change_type": "MODIFY",
"old_path": "src/bindGlobalEventListeners.ts",
"new_path": "src/bindGlobalEventListeners.ts",
"diff": "-import Selectors from './selectors'\nimport { ReferenceElement } from './types'\nimport { closest, closestCallback } from './ponyfills'\nimport { isIOS } from './browser... | JavaScript | MIT License | atomiks/tippyjs | Refactor away magic strings |
67,024 | 23.03.2019 03:43:10 | -39,600 | d3340901c3f8f6b2d06738e2b51dca8300a2767d | Change show checks | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -930,15 +930,9 @@ export default function createTippy(\nreturn\n}\n- // Destroy tooltip if the reference element is no longer on the DOM\n- if (\n- !hasOwnProperty(instance.reference, 'isVirtua... | JavaScript | MIT License | atomiks/tippyjs | Change show checks (#453) |
67,024 | 23.03.2019 08:31:22 | -39,600 | d3192f0f679b74e1cbcb53866f31e9bfc992909d | Change centering technique for npm README | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "-<p align=\"center\">\n- <img src=\"https://github.com/atomiks/tippyjs/raw/master/logo.png\" alt=\"Logo\" width=\"132\">\n-</p>\n-\n-<h1 align=\"center\">Tippy.js</h1>\n+<div align=\"center\">\n+ <a href=\"https://... | JavaScript | MIT License | atomiks/tippyjs | Change centering technique for npm README |
67,024 | 05.04.2019 19:51:02 | -39,600 | f9073a01353850b9330b971ecc28ad8b000e7520 | Expose schedule{Hide,Show} methods | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -101,6 +101,8 @@ export interface Instance {\npopperInstance: PopperInstance | null\nprops: Props\nreference: ReferenceElement\n+ scheduleHide(): void\n+ scheduleShow(event?: Event): void\nset(options: Options... | JavaScript | MIT License | atomiks/tippyjs | Expose schedule{Hide,Show} methods (#461) |
67,024 | 05.04.2019 21:26:14 | -39,600 | 1108e06de4a7e8b7f5940341e0d6b7422bbc1058 | Update ES modules section | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -43,11 +43,12 @@ yarn add tippy.js\n### Modern ES modules in the browser\n-Currently `unpkg` does not minify modules.\n-\n```html\n<script type=\"module\">\n- import tippy from 'https://unpkg.com/tippy.js@4?modu... | JavaScript | MIT License | atomiks/tippyjs | Update ES modules section |
67,024 | 08.04.2019 16:44:59 | -36,000 | d81dabc97020f7630788da06d82de7fbd2f0d38e | Rename evaluateValue to invokeWithArgsOrReturn | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -36,7 +36,7 @@ import {\ngetValue,\ngetModifier,\nincludes,\n- evaluateValue,\n+ invokeWithArgsOrReturn,\nsetFlipModifierEnabled,\ncanReceiveFocus,\nvalidateOptions,\n@@ -416,7 +416,7 @@ export... | JavaScript | MIT License | atomiks/tippyjs | Rename evaluateValue to invokeWithArgsOrReturn |
67,024 | 09.04.2019 22:18:01 | -36,000 | 88fae7f5c7b046fd0bcb10222d4108159f5ea842 | Make tippy.group() updateable | [
{
"change_type": "MODIFY",
"old_path": "src/group.ts",
"new_path": "src/group.ts",
"diff": "import { GroupedInstance, GroupOptions } from './types'\n-import { hasOwnProperty } from './utils'\n/**\n* Groups an array of instances by taking control of their props during\n@@ -9,16 +8,14 @@ export defaul... | JavaScript | MIT License | atomiks/tippyjs | Make tippy.group() updateable |
67,024 | 10.04.2019 16:13:07 | -36,000 | 72cb043c77b5c7d7fa159691abcb0541db5303bf | Adopt jest.useFakeTimers() | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "{\n\"name\": \"tippy.js\",\n- \"version\": \"4.3.0\",\n+ \"version\": \"4.2.1\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n\"integrity\": \"sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0... | JavaScript | MIT License | atomiks/tippyjs | Adopt jest.useFakeTimers() |
67,024 | 11.04.2019 20:01:46 | -36,000 | 6b3973a933d1765c354b84ded4574bf0d23c6e8a | Add missing cleanDocumentBody calls | [
{
"change_type": "MODIFY",
"old_path": "test/spec/ponyfills.test.js",
"new_path": "test/spec/ponyfills.test.js",
"diff": "-import { h, IDENTIFIER } from '../utils'\n+import { h, IDENTIFIER, cleanDocumentBody } from '../utils'\nimport {\narrayFrom,\nclosest,\n@@ -6,6 +6,8 @@ import {\nmatches,\n} fro... | JavaScript | MIT License | atomiks/tippyjs | Add missing cleanDocumentBody calls |
67,024 | 11.04.2019 20:06:46 | -36,000 | e1843486433f670cc53f4312a23d826bbe00d724 | Mock timers for debounce test | [
{
"change_type": "MODIFY",
"old_path": "test/spec/utils.test.js",
"new_path": "test/spec/utils.test.js",
"diff": "@@ -2,6 +2,8 @@ import { h, cleanDocumentBody, IDENTIFIER } from '../utils'\nimport { defaultProps } from '../../src/props'\nimport * as Utils from '../../src/utils'\n+jest.useFakeTimers... | JavaScript | MIT License | atomiks/tippyjs | Mock timers for debounce test |
67,024 | 18.04.2019 13:57:12 | -36,000 | ab4e8d646cf3bf0bb3c598069cf0961cf30434b8 | Fix (PR regression): followCursor + delay jump | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -924,6 +924,7 @@ export default function createTippy(\n// Edge case: if the tooltip is still mounted, but then scheduleShow() is\n// called, it causes a jump.\nif (hasFollowCursorBehavior() && ... | JavaScript | MIT License | atomiks/tippyjs | Fix (PR #470 regression): followCursor + delay jump |
67,024 | 20.04.2019 15:19:21 | -36,000 | 7d1b08c97c8c193b378288867401fc92cb985e42 | Fix missing instance. prefix for updateDuration | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -1029,7 +1029,7 @@ export default function createTippy(\nmakeSticky()\n}\n- setTransitionDuration([popper], props.updateDuration)\n+ setTransitionDuration([popper], instance.props.updateDuratio... | JavaScript | MIT License | atomiks/tippyjs | Fix missing instance. prefix for updateDuration |
67,024 | 20.04.2019 17:29:43 | -36,000 | 47fddafda165af7c67c0cb3e0bf52816f30b3ce2 | Add missing explicit return type to getCorrectedPadding | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -360,7 +360,7 @@ export default function createTippy(\n/**\n* Returns corrected preventOverflow padding if the instance has an arrow\n*/\n- function getCorrectedPadding(placement: string) {\n+ ... | JavaScript | MIT License | atomiks/tippyjs | Add missing explicit return type to getCorrectedPadding |
67,024 | 20.04.2019 19:55:45 | -36,000 | f1a7becaee0b172a90ef43e1819051290b3961e8 | Add browser tests for PR | [
{
"change_type": "MODIFY",
"old_path": "test/browser/index.html",
"new_path": "test/browser/index.html",
"diff": "<hr />\n<button id=\"followCursor-padding\">followCursor padding (40px)</button>\n<hr />\n+<button id=\"followCursor-horizontal-interactive\">\n+ followCursor interactive (horizontal)\n+... | JavaScript | MIT License | atomiks/tippyjs | Add browser tests for PR #470 |
67,024 | 20.04.2019 22:06:36 | -36,000 | 37f1d8fafc4efd2b86c5076cbd7ea0ea2f91e829 | Add _tippy property to triggerTarget | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -90,7 +90,7 @@ export interface Options {\ntouch?: boolean\ntouchHold?: boolean\ntrigger?: string\n- triggerTarget: Element | null\n+ triggerTarget?: ReferenceElement | null\nupdateDuration?: number\nwait?: ((... | JavaScript | MIT License | atomiks/tippyjs | Add _tippy property to triggerTarget |
67,024 | 21.04.2019 08:12:17 | -36,000 | 6bfe082b89f19a57d608920deb1e03971516e536 | Simplify popperInstance creation and its events | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -139,7 +139,6 @@ export default function createTippy(\nif (!props.lazy) {\ncreatePopperInstance()\n- instance.popperInstance!.disableEventListeners()\n}\nif (props.showOnInit) {\n@@ -682,6 +681... | JavaScript | MIT License | atomiks/tippyjs | Simplify popperInstance creation and its events |
67,024 | 24.04.2019 17:12:10 | -36,000 | af1947bb6304c29893cc6a30f64d6e215b30a646 | Safe destroy afterEach test | [
{
"change_type": "MODIFY",
"old_path": "test/spec/createTippy.test.js",
"new_path": "test/spec/createTippy.test.js",
"diff": "@@ -5,13 +5,22 @@ import { defaultProps } from '../../src/props'\nimport createTippy from '../../src/createTippy'\nimport { POPPER_SELECTOR } from '../../src/constants'\n-aft... | JavaScript | MIT License | atomiks/tippyjs | Safe destroy afterEach test |
67,024 | 24.04.2019 17:58:41 | -36,000 | 952895013cd05d41903b863255b78ac11e9cb732 | Move onTrigger lifecycle invocation before wait | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -828,14 +828,14 @@ export default function createTippy(\nisScheduledToShow = true\n- if (instance.props.wait) {\n- return instance.props.wait(instance, event)\n- }\n-\nif (event && !shouldAvoid... | JavaScript | MIT License | atomiks/tippyjs | Move onTrigger lifecycle invocation before wait |
67,024 | 24.04.2019 20:36:19 | -36,000 | 914d065d712765b5f7219dbb59dd02fed391cc71 | Document triggerTarget, onTrigger options, make lifecycle desc clearer | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/all-options.mdx",
"new_path": "website/src/pages/all-options.mdx",
"diff": "@@ -35,11 +35,12 @@ Below is a table of all the options you can supply.\n| `maxWidth` | `number`, `string` | `350` | Determines the maximum width of the tippy - use a... | JavaScript | MIT License | atomiks/tippyjs | Document triggerTarget, onTrigger options, make lifecycle desc clearer |
67,024 | 24.04.2019 21:32:33 | -36,000 | ba66cb60fe94b1f0ad61b1fb1f45b649278bf717 | Add 'Delays and keyboard navigation' section | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/accessibility.mdx",
"new_path": "website/src/pages/accessibility.mdx",
"diff": "@@ -6,6 +6,7 @@ index: 10\nimport { Demo, Button } from '../components/Framework'\nimport Dropdown from '../components/examples/Dropdown'\n+import Tippy from '../... | JavaScript | MIT License | atomiks/tippyjs | Add 'Delays and keyboard navigation' section |
67,024 | 24.04.2019 21:32:51 | -36,000 | 004d5b5b70521a5fdc45e884c45377d2335f66d5 | Add 'Custom animations' and 'onMouseRest implementation' sections | [
{
"change_type": "MODIFY",
"old_path": "website/src/pages/misc.mdx",
"new_path": "website/src/pages/misc.mdx",
"diff": "@@ -154,6 +154,72 @@ container.addEventListener('scroll', () => {\n})\n```\n+### Custom animations\n+\n+Custom animations can be created, but require a bit of CSS to setup. The def... | JavaScript | MIT License | atomiks/tippyjs | Add 'Custom animations' and 'onMouseRest implementation' sections |
67,036 | 01.05.2019 16:25:41 | -33,480 | 430bfd1a1cea0ec091572377e069fd39fb7918a2 | Add data attribute to style tag | [
{
"change_type": "MODIFY",
"old_path": "src/css.ts",
"new_path": "src/css.ts",
"diff": "@@ -8,6 +8,7 @@ export function injectCSS(css: string): void {\nconst style = document.createElement('style')\nstyle.type = 'text/css'\nstyle.textContent = css\n+ style.setAttribute('data-tippy-stylesheet', '')\n... | JavaScript | MIT License | atomiks/tippyjs | Add data attribute to style tag (#483) |
67,024 | 03.05.2019 21:27:58 | -36,000 | 1dacea2494c98098aff471b77e9c8fad4612e99c | set(): Call update() only if popperInstance does not need to be recreated | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -1006,8 +1006,6 @@ export default function createTippy(\ninstance.popperChildren = getChildren(popper)\nif (instance.popperInstance) {\n- instance.popperInstance.update()\n-\nif (\nPOPPER_INSTA... | JavaScript | MIT License | atomiks/tippyjs | set(): Call update() only if popperInstance does not need to be recreated |
67,024 | 03.05.2019 21:39:39 | -36,000 | 31750406fd016bef522726f6c831868351955520 | Remove unneeded/undocumented _tippy property from triggerTarget element | [
{
"change_type": "MODIFY",
"old_path": "index.d.ts",
"new_path": "index.d.ts",
"diff": "@@ -91,7 +91,7 @@ export interface Options {\ntouch?: boolean\ntouchHold?: boolean\ntrigger?: string\n- triggerTarget?: ReferenceElement | null\n+ triggerTarget?: Element | null\nupdateDuration?: number\nwait?: (... | JavaScript | MIT License | atomiks/tippyjs | Remove unneeded/undocumented _tippy property from triggerTarget element |
67,024 | 03.05.2019 21:53:14 | -36,000 | d811730cc850b88f5bb724c0e1a5246357b9838e | a11y option: check getEventListenersTarget instead of reference | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -145,8 +145,12 @@ export default function createTippy(\nscheduleShow()\n}\n- // Ensure the reference element can receive focus (and is not a delegate)\n- if (props.a11y && !props.target && !can... | JavaScript | MIT License | atomiks/tippyjs | a11y option: check getEventListenersTarget instead of reference |
67,024 | 03.05.2019 21:56:42 | -36,000 | bc9cbe2064ccdf804e326b94cbbe29eac42cd587 | Remove instance variable guard as addEventListener already de-dupes identical function references | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -72,7 +72,6 @@ export default function createTippy(\nlet hideTimeoutId: number\nlet animationFrameId: number\nlet isScheduledToShow = false\n- let isDocumentClickListenerAttached = false\nlet c... | JavaScript | MIT License | atomiks/tippyjs | Remove instance variable guard as addEventListener already de-dupes identical function references |
67,024 | 04.05.2019 16:48:52 | -36,000 | 92e9cba8e3a0a9520267c8688c6a0f1b51404e7c | Use namespace prefix for style tag | [
{
"change_type": "MODIFY",
"old_path": "src/css.ts",
"new_path": "src/css.ts",
"diff": "@@ -8,7 +8,7 @@ export function injectCSS(css: string): void {\nconst style = document.createElement('style')\nstyle.type = 'text/css'\nstyle.textContent = css\n- style.setAttribute('data-tippy-stylesheet', '')\n... | JavaScript | MIT License | atomiks/tippyjs | Use namespace prefix for style tag |
67,024 | 05.05.2019 21:44:02 | -36,000 | c0038d3ca6aa19e2326e3a5713c15fa785f278ea | style: padding between blocks | [
{
"change_type": "MODIFY",
"old_path": "src/bindGlobalEventListeners.ts",
"new_path": "src/bindGlobalEventListeners.ts",
"diff": "@@ -39,6 +39,7 @@ export function onDocumentMouseMove(): void {\nexport function onWindowBlur(): void {\nconst { activeElement }: { activeElement: any } = document\n+\nif... | JavaScript | MIT License | atomiks/tippyjs | style: padding between blocks |
67,024 | 05.05.2019 21:46:42 | -36,000 | 4094d3b357745da06307036e3390a53bd551b984 | Reuse isRealElement utility | [
{
"change_type": "MODIFY",
"old_path": "src/popper.ts",
"new_path": "src/popper.ts",
"diff": "@@ -6,7 +6,7 @@ import {\nBasicPlacement,\n} from './types'\nimport { arrayFrom } from './ponyfills'\n-import { innerHTML, div, isReferenceElement } from './utils'\n+import { innerHTML, div, isReferenceElem... | JavaScript | MIT License | atomiks/tippyjs | Reuse isRealElement utility |
67,024 | 06.05.2019 03:32:04 | -36,000 | 3cb4240a55ea9cbd76f2856534615a5629954225 | Automate browser tests | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dev\": \"parcel demo/index.html -d .devserver --open\",\n\"build\": \"node rollup.build.js && bundlesize\",\n\"test\": \"jest --coverage\",\n- \"test:browser\": \"parcel test/browser/index.html -d .devserve... | JavaScript | MIT License | atomiks/tippyjs | Automate browser tests |
67,024 | 06.05.2019 04:30:18 | -36,000 | 8b23e4a51452b89ca9a54731bb499eac4cc2920e | Improving code cov | [
{
"change_type": "MODIFY",
"old_path": "test/setup.js",
"new_path": "test/setup.js",
"diff": "@@ -15,3 +15,6 @@ global.Promise = require('promise')\nglobal.nativeRequestAnimationFrame = requestAnimationFrame\nglobal.requestAnimationFrame = cb => cb()\n+\n+// Only relevant for bindGlobalEventListener... | JavaScript | MIT License | atomiks/tippyjs | Improving code cov |
67,024 | 07.05.2019 01:51:39 | -36,000 | 95e5a003ffdcabb454cc144de39279528eccc59a | Add !default to -prefix | [
{
"change_type": "MODIFY",
"old_path": "src/scss/_vars.scss",
"new_path": "src/scss/_vars.scss",
"diff": "-$namespace-prefix: '__NAMESPACE_PREFIX__';\n+$namespace-prefix: '__NAMESPACE_PREFIX__' !default;\n$placements: 'top', 'bottom', 'left', 'right';\n$origins: bottom, top, right, left;\n$backdrop-... | JavaScript | MIT License | atomiks/tippyjs | Add !default to -prefix |
67,024 | 09.05.2019 05:11:01 | -36,000 | b6b650f6779209d1eab9b9e69efdde876b6f88b4 | Add VirtualReference to canReceiveFocus param type | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -148,7 +148,7 @@ export default function createTippy(\nif (\nprops.a11y &&\n!props.target &&\n- !canReceiveFocus(getEventListenersTarget() as Element)\n+ !canReceiveFocus(getEventListenersTarge... | JavaScript | MIT License | atomiks/tippyjs | Add VirtualReference to canReceiveFocus param type |
67,024 | 15.05.2019 08:31:57 | -36,000 | d6021864e19abf4e4e2f92421d8d36db1a772889 | Fix some edge cases for Nesting & Singleton | [
{
"change_type": "MODIFY",
"old_path": "website/src/components/examples/Nesting.js",
"new_path": "website/src/components/examples/Nesting.js",
"diff": "import React, { useRef } from 'react'\n-import Tippy, { TippyGroup } from '../Tippy'\n+import Tippy from '../Tippy'\nimport { Button } from '../Fram... | JavaScript | MIT License | atomiks/tippyjs | Fix some edge cases for Nesting & Singleton |
67,024 | 03.06.2019 19:27:00 | -36,000 | eb47bfce23ceabc8bcf4d5adea7f69c3de17cd33 | Fix security problems | [
{
"change_type": "MODIFY",
"old_path": "package-lock.json",
"new_path": "package-lock.json",
"diff": "}\n},\n\"fstream\": {\n- \"version\": \"1.0.11\",\n- \"resolved\": \"https://registry.npmjs.org/fstream/-/fstream-1.0.11.tgz\",\n- \"integrity\": \"sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=\",\n+ \"version\... | JavaScript | MIT License | atomiks/tippyjs | Fix security problems |
67,024 | 09.06.2019 00:09:38 | -36,000 | e688dd346f772332b4bcb5a512986cb764155fc3 | Fix additional mounting caveat | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -73,7 +73,6 @@ export default function createTippy(\nlet showTimeoutId: number\nlet hideTimeoutId: number\nlet scheduleHideAnimationFrameId: number\n- let startTransitionAnimationFrameId: numbe... | JavaScript | MIT License | atomiks/tippyjs | Fix additional mounting caveat (#518) |
67,024 | 10.06.2019 14:34:01 | -36,000 | 9283ef9429ecd98290f7edef7205692b90545f56 | Improve anchor link example | [
{
"change_type": "MODIFY",
"old_path": "website/src/components/examples/AnchorLink.js",
"new_path": "website/src/components/examples/AnchorLink.js",
"diff": "import React, { useRef, useEffect } from 'react'\nimport styled from 'styled-components'\n-import TippyBase, { tippy } from '../Tippy'\n+impor... | JavaScript | MIT License | atomiks/tippyjs | Improve anchor link example |
67,050 | 31.07.2019 14:53:26 | 25,200 | 43da9544553dab79fef593a4168b9ac90e93254f | backport position: sticky perf improvement to master | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -245,13 +245,25 @@ export default function createTippy(\nfunction makeSticky(): void {\nsetTransitionDuration([popper], isIE ? 0 : instance.props.updateDuration)\n+ let prevRefRect = reference.... | JavaScript | MIT License | atomiks/tippyjs | backport position: sticky perf improvement to master #543 (#547) |
67,024 | 01.08.2019 07:59:43 | -36,000 | 4d095ce2341af1dfc8f93f53f03f4d1ecf227f4e | Fix: document click listener not being removed
if scheduleHide() was called while the tippy was scheduled to show but had not completed yet | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -856,7 +856,9 @@ export default function createTippy(\nclearDelayTimeouts()\nif (!instance.state.isVisible) {\n- return removeFollowCursorListener()\n+ removeFollowCursorListener()\n+ removeDoc... | JavaScript | MIT License | atomiks/tippyjs | Fix: document click listener not being removed
if scheduleHide() was called while the tippy was scheduled to show but had not completed yet |
67,024 | 01.08.2019 08:20:50 | -36,000 | 12b580eb208b4a136bb70c304d1d55180fa56344 | Fix Add referenceNode property for followCursor
Note: this will exist in which hasn't released yet | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -435,6 +435,9 @@ export default function createTippy(\nif (isCursorOverReference || !instance.props.interactive) {\ninstance.popperInstance!.reference = {\n...instance.popperInstance!.reference... | JavaScript | MIT License | atomiks/tippyjs | Fix #532: Add referenceNode property for followCursor
Note: this will exist in popper.js@1.16.0 which hasn't released yet |
67,024 | 02.08.2019 09:39:59 | -36,000 | 19b8383b9df1fe2e14fa8eb0d2f44a39ca9a56ee | Fix: optimize CSS | [
{
"change_type": "MODIFY",
"old_path": "src/scss/_mixins.scss",
"new_path": "src/scss/_mixins.scss",
"diff": "@mixin enter-transform($placement, $animation) {\n@if ($animation == 'perspective') {\n@if ($placement == 'top') {\n- transform: perspective(700px) translateY(-10px) rotateX(0);\n+ transform... | JavaScript | MIT License | atomiks/tippyjs | Fix: optimize CSS |
67,024 | 02.08.2019 09:46:53 | -36,000 | 20f9c294167884a954059f972d3e8ef76329af4a | Fix: place style tag before first style,link tag | [
{
"change_type": "MODIFY",
"old_path": "src/css.ts",
"new_path": "src/css.ts",
"diff": "@@ -10,10 +10,10 @@ export function injectCSS(css: string): void {\nstyle.textContent = css\nstyle.setAttribute('data-__NAMESPACE_PREFIX__-stylesheet', '')\nconst head = document.head\n- const { firstChild } = he... | JavaScript | MIT License | atomiks/tippyjs | Fix: place style tag before first style,link tag |
67,024 | 01.10.2019 10:23:48 | -36,000 | c3edd76bfb066cdfde1f90d77bf26885f5237315 | Fix iframe support | [
{
"change_type": "MODIFY",
"old_path": "src/index.ts",
"new_path": "src/index.ts",
"diff": "@@ -6,9 +6,9 @@ import bindGlobalEventListeners, {\n} from './bindGlobalEventListeners';\nimport {\narrayFrom,\n- isRealElement,\ngetArrayOfElements,\nisReferenceElement,\n+ isElement,\n} from './utils';\nimp... | JavaScript | MIT License | atomiks/tippyjs | Fix iframe support (#586) |
67,024 | 01.10.2019 10:38:56 | -36,000 | 01d192de9d0f7f9f179206488144a71f46da2f63 | Clear pending timeouts on destroy | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -1051,6 +1051,7 @@ export default function createTippy(\nisBeingDestroyed = true;\n+ instance.clearDelayTimeouts();\ninstance.hide(0);\nremoveListenersFromTriggerTarget();\n"
},
{
"chan... | JavaScript | MIT License | atomiks/tippyjs | Clear pending timeouts on destroy (#587) |
67,024 | 01.10.2019 11:59:51 | -36,000 | 209ce7534030de96a6905fef7ed0ab91b88763b4 | Add missing type of createTippyWithPlugins | [
{
"change_type": "MODIFY",
"old_path": "src/types.ts",
"new_path": "src/types.ts",
"diff": "@@ -149,9 +149,11 @@ declare const tippy: Tippy;\nexport default tippy;\nexport type HideAll = (options: HideAllOptions) => void;\n-\ndeclare const hideAll: HideAll;\n+export type CreateTippyWithPlugins = (ou... | JavaScript | MIT License | atomiks/tippyjs | Add missing type of createTippyWithPlugins |
67,024 | 01.10.2019 12:03:17 | -36,000 | b3bba75fbfc9f18290002504e26d6155ebdcd593 | Use .currentTarget over .target | [
{
"change_type": "MODIFY",
"old_path": "src/createTippy.ts",
"new_path": "src/createTippy.ts",
"diff": "@@ -95,6 +95,7 @@ export default function createTippy(\nlet currentTransitionEndListener: (event: TransitionEvent) => void;\nlet listeners: Listener[] = [];\nlet debouncedOnMouseMove = debounce(on... | JavaScript | MIT License | atomiks/tippyjs | Use .currentTarget over .target |
67,024 | 01.10.2019 12:09:10 | -36,000 | 19048180cd808e39efb614be129a5b1f90dd741b | Extract ownerDocument access into getOwnerDocument() util | [
{
"change_type": "MODIFY",
"old_path": "src/plugins/followCursor.ts",
"new_path": "src/plugins/followCursor.ts",
"diff": "@@ -10,7 +10,7 @@ import {\nclosestCallback,\nuseIfDefined,\nisMouseEvent,\n- normalizeToArray,\n+ getOwnerDocument,\n} from '../utils';\nimport {getBasePlacement} from '../poppe... | JavaScript | MIT License | atomiks/tippyjs | Extract ownerDocument access into getOwnerDocument() util |
67,024 | 01.10.2019 12:10:45 | -36,000 | 821264d7d2ec56f4f909132a3609e5cbe009bf36 | Ensure links end with trailing slash | [
{
"change_type": "MODIFY",
"old_path": "src/validation.ts",
"new_path": "src/validation.ts",
"diff": "@@ -180,6 +180,6 @@ export function validateTargets(targets: Targets): void {\n`tippy() was passed a plain object which is no longer supported as an\nargument.\n- See https://atomiks.github.io/tippy... | JavaScript | MIT License | atomiks/tippyjs | Ensure links end with trailing slash |
67,024 | 01.10.2019 12:20:03 | -36,000 | c5f10ed4fdff81463206d65127dd45b443c0513f | Use rAF instead of setTimeout to avoid jitter on content update | [
{
"change_type": "MODIFY",
"old_path": "src/plugins/followCursor.ts",
"new_path": "src/plugins/followCursor.ts",
"diff": "@@ -183,7 +183,7 @@ export default {\n// Wait for `.update()` to set `instance.state.currentPlacement` to\n// the new placement\n- setTimeout(triggerLastMouseMove);\n+ requestAni... | JavaScript | MIT License | atomiks/tippyjs | Use rAF instead of setTimeout to avoid jitter on content update |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.