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
24.08.2018 18:54:16
-36,000
9e351c34b21f523cf29e95686eae3107a9ef34f2
website: refactor sections
[ { "change_type": "RENAME", "old_path": "website/js/components/AllOptions.js", "new_path": "website/js/sections/AllOptions.js", "diff": "import { h } from 'hyperapp'\n-import Emoji from './Emoji'\n-import Code from './Code'\n-import Heading from './Heading'\n+import Emoji from '../components/Emoji'\n...
JavaScript
MIT License
atomiks/tippyjs
website: refactor sections
67,024
24.08.2018 19:20:19
-36,000
23d69a3da0a230d91da32f49b6a247aa0cfe2e8b
Prevent overwriting existing DOM if content has not changed
[ { "change_type": "MODIFY", "old_path": "src/js/utils.js", "new_path": "src/js/utils.js", "diff": "@@ -258,7 +258,10 @@ export const updatePopperElement = (popper, prevProps, nextProps) => {\npopper.style.zIndex = nextProps.zIndex\ntooltip.setAttribute('data-size', nextProps.size)\ntooltip.setAttribu...
JavaScript
MIT License
atomiks/tippyjs
Prevent overwriting existing DOM if content has not changed
67,024
29.08.2018 21:02:00
-36,000
946e7e0b7ce3418d9e9e3647f49ddf7cfca84172
fix: rare onTransitionedOut leak by using hide delay of 20ms
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -569,16 +569,7 @@ export default function createTippy(reference, collectionProps) {\nconst { tooltip } = tip.popperChildren\nconst listener = e => {\n- if (\n- e.target === tooltip &&\n- ...
JavaScript
MIT License
atomiks/tippyjs
fix: rare onTransitionedOut leak by using hide delay of 20ms
67,024
29.08.2018 21:02:33
-36,000
92301af6786b5b37a243d2743a5af64c54230cfe
website: update options table
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -102,12 +102,11 @@ export default () => (\n>\nThe content of the tooltip.\n</Prop>\n- <Prop name=\"delay\" default=\"0\" value={['Number', '[show, hide]']}...
JavaScript
MIT License
atomiks/tippyjs
website: update options table
67,024
29.08.2018 23:52:58
-36,000
575a5d2da27e1d46acb74dbfb0d4bb3e3341b3d8
tests: adjust for new hide delay default
[ { "change_type": "MODIFY", "old_path": "tests/spec/createTippy.test.js", "new_path": "tests/spec/createTippy.test.js", "diff": "-import { h, hasTippy, cleanDocumentBody } from '../utils'\n+import { h, hasTippy, cleanDocumentBody, wait } from '../utils'\nimport { Defaults } from '../../src/js/default...
JavaScript
MIT License
atomiks/tippyjs
tests: adjust for new hide delay default
67,024
05.09.2018 18:34:46
-36,000
1ea074b3db76bea7c4ffb9755f0544259f812185
fix focus -> hover needing 2 show calls
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -264,7 +264,9 @@ export default function createTippy(reference, collectionProps) {\nreturn\n}\n+ if (!tip.state.isVisible) {\nlastTriggerEvent = event\n+ }\n// Toggle show/hide when click...
JavaScript
MIT License
atomiks/tippyjs
fix focus -> hover needing 2 show calls
67,024
05.09.2018 18:35:22
-36,000
ee45b0f964c39fc17af0cdf0974cf89fb8c8ff49
add shouldPopperHideOnBlur option, fix role attribute
[ { "change_type": "MODIFY", "old_path": "src/js/defaults.js", "new_path": "src/js/defaults.js", "diff": "@@ -37,6 +37,7 @@ export let Defaults = {\nlazy: true,\ntouch: true,\nwait: null,\n+ shouldPopperHideOnBlur: () => true,\nonShow() {},\nonShown() {},\nonHide() {},\n" }, { "change_type": "...
JavaScript
MIT License
atomiks/tippyjs
add shouldPopperHideOnBlur option, fix role attribute
67,024
06.09.2018 11:35:12
-36,000
b19a8a8e1c7b5b691e668f7d16ebceb82dd626fb
option delay: 0 => delay: [0, 20]
[ { "change_type": "MODIFY", "old_path": "src/js/core/Tippy.js", "new_path": "src/js/core/Tippy.js", "diff": "@@ -11,7 +11,6 @@ import getInnerElements from '../utils/getInnerElements'\nimport getPopperPlacement from '../utils/getPopperPlacement'\nimport getOffsetDistanceInPx from '../utils/getOffsetD...
JavaScript
MIT License
atomiks/tippyjs
option delay: 0 => delay: [0, 20]
67,024
06.09.2018 13:00:19
-36,000
7e81f089097958990c14e3d2830ea5cd2e34b86d
use CDN link
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -30,10 +30,8 @@ CDN: https://unpkg.com/tippy.js/dist/\n#### 2. Include the `tippy.all.min.js` script in your document, which automatically injects Tippy's CSS into `head`.\n-Use the full version link! Visit the ...
JavaScript
MIT License
atomiks/tippyjs
use @2 CDN link
67,024
07.09.2018 09:12:53
-36,000
4255f7918b06580c521669098a7dd9a9688cd566
add useCapture static method for global click listener
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": ".DS_Store\n/node_modules\n-dist/tests\n+dist\n+coverage\n.cache/\n+package-lock.json\n+.devserver\n" }, { "change_type": "MODIFY", "old_path": "src/js/core/bindEventListeners.js", "new_path": "src...
JavaScript
MIT License
atomiks/tippyjs
add useCapture static method for global click listener (#289)
67,024
14.09.2018 10:20:08
-36,000
7caf52924fd02c6622a76818df36203184bb79cf
add useCapture
[ { "change_type": "MODIFY", "old_path": "src/js/bindGlobalEventListeners.js", "new_path": "src/js/bindGlobalEventListeners.js", "diff": "@@ -100,8 +100,8 @@ export const onWindowResize = () => {\n/**\n* Adds the needed global event listeners\n*/\n-export default function bindEventListeners() {\n- doc...
JavaScript
MIT License
atomiks/tippyjs
add useCapture
67,024
21.09.2018 12:41:24
-36,000
72f5e428d257664095d8eeba2954c22361d7a1ac
improve tippy() loop performance
[ { "change_type": "MODIFY", "old_path": "src/js/tippy.js", "new_path": "src/js/tippy.js", "diff": "@@ -45,7 +45,10 @@ export default function tippy(targets, options, one) {\n: references\n).reduce((acc, reference) => {\nconst tip = reference && createTippy(reference, props)\n- return tip ? acc.concat...
JavaScript
MIT License
atomiks/tippyjs
improve tippy() loop performance
67,024
21.09.2018 12:45:43
-36,000
04b432c68f67f554f15414b0b3bea5237e2e6024
fix set() not changing popperInstance props
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -45,6 +45,7 @@ export default function createTippy(reference, collectionProps) {\nlet transitionEndListener = () => {}\nlet listeners = []\nlet referenceJustProgrammaticallyFocused = fals...
JavaScript
MIT License
atomiks/tippyjs
fix set() not changing popperInstance props
67,024
21.09.2018 12:47:51
-36,000
f8082db4adefab36a33d3f0f867122a8901a332b
rename followCursorListener
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -127,9 +127,9 @@ export default function createTippy(reference, collectionProps) {\n}\n/**\n- * Listener for the `followCursor` prop\n+ * Positions the virtual reference near the mouse cu...
JavaScript
MIT License
atomiks/tippyjs
rename followCursorListener
67,024
21.09.2018 13:19:57
-36,000
9b931261f70ebc9f2ceb5702f8897e4d52a17030
remove CDNJS badge
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "[![Build Status](https://travis-ci.org/atomiks/tippyjs.svg?branch=master)](https://travis-ci.org/atomiks/tippyjs)\n[![npm Downloads](https://img.shields.io/npm/dt/tippy.js.svg)](https://www.npmjs.com/package/tippy....
JavaScript
MIT License
atomiks/tippyjs
remove CDNJS badge
67,024
21.09.2018 15:59:03
-36,000
37ea6afa4a7c0bb6ed795c116f73e8f6b0d236f2
add 'vertical' and 'horizontal' for followCursor
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -136,14 +136,19 @@ export default function createTippy(reference, collectionProps) {\nreturn\n}\n+ const rect = tip.reference.getBoundingClientRect()\n+ const { followCursor } = tip.props...
JavaScript
MIT License
atomiks/tippyjs
add 'vertical' and 'horizontal' for followCursor (#294)
67,024
21.09.2018 18:32:02
-36,000
dcafd44353be5c345f8de5d6790682eec6b7ecaa
fix gap between arrow and tooltip
[ { "change_type": "MODIFY", "old_path": "src/scss/tippy.scss", "new_path": "src/scss/tippy.scss", "diff": "}\n.tippy-arrow {\n- @include arrow($placement, 7px, #333);\n+ @include arrow($placement, 8px, #333);\n@include arrow-position($placement, 7px, false);\n@include arrow-margin($placement);\n@incl...
JavaScript
MIT License
atomiks/tippyjs
fix gap between arrow and tooltip (#139)
67,024
21.09.2018 18:32:52
-36,000
e43e1f5f6daad8e1606056d78097c7d41dabeef1
document new followCursor modes
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -144,8 +144,14 @@ export default () => (\n\"bottom\" is unavailable. By default, it chooses the opposite axis,\ni.e. \"top\".\n</Prop>\n- <Prop name=\"foll...
JavaScript
MIT License
atomiks/tippyjs
document new followCursor modes
67,024
21.09.2018 19:16:06
-36,000
561bb64d741fdb5a2f8025334284815715a58fef
add ability to cancel show/hide by returning false in lifecycle functions
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -742,7 +742,9 @@ export default function createTippy(reference, collectionProps) {\nreturn\n}\n- tip.props.onShow(tip)\n+ if (tip.props.onShow(tip) === false) {\n+ return\n+ }\ntip.popper...
JavaScript
MIT License
atomiks/tippyjs
add ability to cancel show/hide by returning false in lifecycle functions (#300)
67,024
21.09.2018 19:30:21
-36,000
1ecf19deb245620c049a16291ba4a673505e964a
document lifecycle function canceling
[ { "change_type": "ADD", "old_path": null, "new_path": "website/snippets/cancel-lifecycle-function.md", "diff": "+```js\n+const template = document.querySelector('#myTemplate')\n+tippy(ref, {\n+ content: template,\n+ onShow() {\n+ // Don't show if the tippy content contains a <strong> element.\n+ if ...
JavaScript
MIT License
atomiks/tippyjs
document lifecycle function canceling
67,024
21.09.2018 21:25:41
-36,000
892ddd25377e1a6d49983b66ca50d30aebd5026b
move max-width property to .tippy-tooltip
[ { "change_type": "MODIFY", "old_path": "src/scss/tippy.scss", "new_path": "src/scss/tippy.scss", "diff": "}\n.tippy-popper {\n- max-width: 350px;\nperspective: 700px;\nz-index: 9999;\noutline: 0;\nborder-radius: 4px;\nfont-size: 0.9rem;\npadding: 0.3rem 0.6rem;\n+ max-width: 350px;\ntext-align: cent...
JavaScript
MIT License
atomiks/tippyjs
move max-width property to .tippy-tooltip
67,024
21.09.2018 21:26:22
-36,000
1a27c63f8dfaa6acbd031aa14cbb953c4ae06bd3
add backticks to error
[ { "change_type": "MODIFY", "old_path": "src/js/tippy.js", "new_path": "src/js/tippy.js", "diff": "@@ -23,7 +23,7 @@ export default function tippy(targets, options, one) {\n// Throw an error if the user supplied an invalid option\nfor (const key in options || {}) {\nif (!(key in Defaults)) {\n- throw...
JavaScript
MIT License
atomiks/tippyjs
add backticks to error
67,024
21.09.2018 21:43:56
-36,000
dfb636954baa87dfadec7a98f1078a46161f3628
ensure mousemove listener is removed
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -226,6 +226,11 @@ export default function createTippy(reference, collectionProps) {\nfunction prepareHide() {\nclearDelayTimeouts()\n+ document.removeEventListener(\n+ 'mousemove',\n+ pos...
JavaScript
MIT License
atomiks/tippyjs
ensure mousemove listener is removed
67,024
21.09.2018 21:44:08
-36,000
e00df36913418fd6b2aff4e46e98ce1104b6e207
make old docs link clearer
[ { "change_type": "MODIFY", "old_path": "website/js/sections/Header.js", "new_path": "website/js/sections/Header.js", "diff": "@@ -80,7 +80,7 @@ export default () => (\nclass=\"header__docs\"\nhref=\"https://atomiks.github.io/tippyjs/v2/index.html\"\n>\n- v2 docs\n+ Go to v2 docs\n</a>\n</p>\n</div>\...
JavaScript
MIT License
atomiks/tippyjs
make old docs link clearer
67,024
22.09.2018 11:59:27
-36,000
f6940d5b7308b08a7352fa7bcc060befbc0a286e
fix followCursor until tooltip has transitioned out
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -226,13 +226,8 @@ export default function createTippy(reference, collectionProps) {\nfunction prepareHide() {\nclearDelayTimeouts()\n- document.removeEventListener(\n- 'mousemove',\n- pos...
JavaScript
MIT License
atomiks/tippyjs
fix followCursor until tooltip has transitioned out
67,024
22.09.2018 11:59:42
-36,000
7156b55d287461708afcd953eb354c3d5b67111d
add 1px gap fix for light theme
[ { "change_type": "MODIFY", "old_path": "src/scss/themes/light.scss", "new_path": "src/scss/themes/light.scss", "diff": "&[x-placement^='#{$placement}'] {\n.tippy-tooltip.light-theme {\n.tippy-arrow {\n- @include arrow($placement, 7px, white);\n+ @include arrow($placement, 8px, white);\n}\n}\n}\n" ...
JavaScript
MIT License
atomiks/tippyjs
add 1px gap fix for light theme
67,024
22.09.2018 12:04:05
-36,000
c5e8f3526c9d89c3c03ccbe2c7923245ad13b333
add necessary block back
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -874,7 +874,9 @@ export default function createTippy(reference, collectionProps) {\n}\nonTransitionedOut(duration, () => {\n+ if (!isPreparingToShow) {\nremoveFollowCursorListener()\n+ }\...
JavaScript
MIT License
atomiks/tippyjs
add necessary block back
67,024
23.09.2018 10:53:27
-36,000
bf6b4509ef3158399dfdfe25b60eb44acd80dcd5
update .ignore files
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": ".DS_Store\n-node_modules\n.cache\ncoverage\n+.devserver\n+node_modules\ndist\ntests/visual/dist\npackage-lock.json\n-.devserver\n" }, { "change_type": "MODIFY", "old_path": ".npmignore", "new_path...
JavaScript
MIT License
atomiks/tippyjs
update .ignore files
67,024
27.09.2018 13:14:19
-36,000
6910e3f24e81479ea6720d27847d762630aa4a32
add missing options; resolve
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -45,6 +45,11 @@ export default () => (\n</tr>\n</thead>\n<tbody>\n+ <Prop name=\"a11y\" default=\"true\" value=\"Boolean\">\n+ If <code>true</code>, ensure...
JavaScript
MIT License
atomiks/tippyjs
add missing options; resolve #302
67,024
27.09.2018 13:17:43
-36,000
5cf458981127476166eb564ab9cdad522bb83c2f
fix margin issue with code in options table
[ { "change_type": "MODIFY", "old_path": "website/js/components/Code.js", "new_path": "website/js/components/Code.js", "diff": "@@ -3,11 +3,11 @@ import Prism from 'prismjs'\nconst getLang = str => (str.match(/```(js|html|css|shell)/) || [])[1]\n-export default ({ content, lang }) => {\n+export defaul...
JavaScript
MIT License
atomiks/tippyjs
fix margin issue with code in options table
67,024
27.09.2018 18:13:28
-36,000
54ced3c96926ad0decaa3ae3a499d48f6babf6bf
call disableEventListeners() if tip is not visible
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -711,6 +711,9 @@ export default function createTippy(reference, collectionProps) {\nupdatePopperElement(tip.popper, prevProps, nextProps)\ntip.popperChildren = getChildren(tip.popper)\nti...
JavaScript
MIT License
atomiks/tippyjs
call disableEventListeners() if tip is not visible
67,024
27.09.2018 18:27:10
-36,000
b4278a77024a2ad6935043895267117d1be9b308
fix remove clip-path transition and replace with content fade technique
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -791,13 +791,12 @@ export default function createTippy(reference, collectionProps) {\n}\napplyTransitionDuration(\n- [\n- tip.popperChildren.tooltip,\n- tip.popperChildren.backdrop,\n- ti...
JavaScript
MIT License
atomiks/tippyjs
fix #220: remove clip-path transition and replace with content fade technique
67,024
27.09.2018 18:37:26
-36,000
10bc30434d7bee8e5cfab0439df0adabc690ab96
backdrop animation tweaks
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -800,7 +800,7 @@ export default function createTippy(reference, collectionProps) {\nduration\n)\nif (tip.popperChildren.backdrop) {\n- applyTransitionDuration([tip.popperChildren.content]...
JavaScript
MIT License
atomiks/tippyjs
backdrop animation tweaks
67,024
27.09.2018 19:07:11
-36,000
caadc6f5e2bc21d8bb49581a02877c9395b9125b
readme: browser support section
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -64,6 +64,10 @@ CDN: https://unpkg.com/tippy.js/dist/\nView the [docs](https://atomiks.github.io/tippyjs/) for details on all of the options you can supply to customize tooltips to suit your needs.\n+## Browser ...
JavaScript
MIT License
atomiks/tippyjs
readme: browser support section
67,024
28.09.2018 11:41:36
-36,000
c3c227967ad44d05699e77a998dab3ac8caa32c0
use animejs API instead of style attribute
[ { "change_type": "MODIFY", "old_path": "website/css/components/header.scss", "new_path": "website/css/components/header.scss", "diff": "&__logo {\nposition: relative;\n- top: -200px;\nheight: 75px;\n}\n" }, { "change_type": "MODIFY", "old_path": "website/js/utils.js", "new_path": "we...
JavaScript
MIT License
atomiks/tippyjs
use animejs API instead of style attribute
67,024
28.09.2018 11:45:57
-36,000
190bb0cdf412b921e5725d97630ade0a10e079d5
OptionsTable tweaks
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nimport Code from './Code'\n+import ExternalLink from './ExternalLink'\nimport APPEND_TO ...
JavaScript
MIT License
atomiks/tippyjs
OptionsTable tweaks
67,024
28.09.2018 15:44:21
-36,000
9c2d7f91fa53336d3f86310e1340476cf07cc3cb
destroy old popperInstance in set()
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -715,6 +715,9 @@ export default function createTippy(reference, collectionProps) {\nupdatePopperElement(tip.popper, prevProps, nextProps)\ntip.popperChildren = getChildren(tip.popper)\n+ ...
JavaScript
MIT License
atomiks/tippyjs
destroy old popperInstance in set()
67,024
28.09.2018 15:53:46
-36,000
f7d0ac1dbf66e4280ce1bb64865b0975b7a007ea
click-triggered interactive tooltips should receive focus
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -353,7 +353,7 @@ export default function createTippy(reference, collectionProps) {\n* Event listener invoked upon blur\n*/\nfunction onBlur(event) {\n- if (event.target !== tip.reference ...
JavaScript
MIT License
atomiks/tippyjs
click-triggered interactive tooltips should receive focus
67,024
28.09.2018 16:14:58
-36,000
177bed225dce92a2dd4cf9f7aa95fafc42d1f409
fix position glitches in IE11
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -547,11 +547,11 @@ export default function createTippy(reference, collectionProps) {\n* Updates the tooltip's position on each animation frame + timeout\n*/\nfunction makeSticky() {\n- co...
JavaScript
MIT License
atomiks/tippyjs
fix position glitches in IE11
67,024
28.09.2018 16:15:53
-36,000
edbd41e06ead5c00957d763b8c217a3ffe957ce3
fix backdrop glitches in IE11
[ { "change_type": "MODIFY", "old_path": "src/scss/_mixins.scss", "new_path": "src/scss/_mixins.scss", "diff": "}\n@mixin backdrop-transform-enter($placement) {\n- $scale: 6;\n+ $scale: 1;\n@if ($placement == 'top') {\n- transform: scale($scale) translate(-50%, 25%);\n+ transform: scale($scale) transl...
JavaScript
MIT License
atomiks/tippyjs
fix backdrop glitches in IE11
67,024
28.09.2018 17:22:14
-36,000
921a95c003069b3ced049d6eb10ac62b35a9a3ac
add warning description for showOnInit option
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -254,7 +254,10 @@ export default () => (\n</Prop>\n<Prop name=\"showOnInit\" default=\"false\" value=\"Boolean\">\nIf <code>true</code>, the tooltip will b...
JavaScript
MIT License
atomiks/tippyjs
add warning description for showOnInit option
67,024
28.09.2018 17:23:00
-36,000
28dcc04a6aca5f723235e95bcdc578718839185e
focusout edge case
[ { "change_type": "MODIFY", "old_path": "src/js/utils.js", "new_path": "src/js/utils.js", "diff": "@@ -242,6 +242,7 @@ export const createPopperElement = (id, props) => {\ne.relatedTarget &&\npopper._tippy &&\n!closestCallback(e.relatedTarget, el => el === popper) &&\n+ e.relatedTarget !== popper._ti...
JavaScript
MIT License
atomiks/tippyjs
focusout edge case
67,024
28.09.2018 17:32:23
-36,000
2bb90cd6d60346365fde80f9f467ed5302ecc077
meta tag for mobile testing
[ { "change_type": "MODIFY", "old_path": "tests/visual/index.html", "new_path": "tests/visual/index.html", "diff": "<head>\n<title>Tippy Visual Tests</title>\n<script src=\"./index.js\" defer></script>\n+ <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n<style>\nbody {\nfont-f...
JavaScript
MIT License
atomiks/tippyjs
meta tag for mobile testing
67,024
28.09.2018 19:03:20
-36,000
7f74070eb78d89ebbd04ab1e628461c7fa3a6a8d
update() => scheduleUpdate()
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -551,7 +551,7 @@ export default function createTippy(reference, collectionProps) {\nconst updatePosition = () => {\nif (tip.popperInstance) {\n- tip.popperInstance.update()\n+ tip.popperI...
JavaScript
MIT License
atomiks/tippyjs
update() => scheduleUpdate()
67,024
30.09.2018 09:51:58
-36,000
5dd8f7e51d494bd5b7896475ea56605692fce505
improve wording in Creating Tooltips section; resolve
[ { "change_type": "MODIFY", "old_path": "website/js/sections/CustomizingTooltips.js", "new_path": "website/js/sections/CustomizingTooltips.js", "diff": "@@ -3,8 +3,6 @@ import { h } from 'hyperapp'\nimport HTML_BUTTON from '../../snippets/html-button.md'\nimport OPTIONS_OBJECT from '../../snippets/op...
JavaScript
MIT License
atomiks/tippyjs
improve wording in Creating Tooltips section; resolve #306
67,024
05.10.2018 18:35:30
-36,000
9bb494b0b7f4cab532f6022f53c482d8b7ad1fa5
add more themes for demo
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -171,6 +171,39 @@ a {\nmax-width: 250px;\n}\n+.tippy-tooltip.google-theme {\n+ font-size: 0.85rem;\n+ padding: 0.25rem 0.4rem;\n+ background-color: #505355;\n+ fon...
JavaScript
MIT License
atomiks/tippyjs
add more themes for demo
67,024
07.10.2018 18:23:37
-36,000
3aedf42c40ad30e811073e73c1462472ca6ecd31
fix touchHold option
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -268,16 +268,7 @@ export default function createTippy(reference, collectionProps) {\n* Event listener invoked upon trigger\n*/\nfunction onTrigger(event) {\n- if (!tip.state.isEnabled) {\...
JavaScript
MIT License
atomiks/tippyjs
fix touchHold option
67,024
07.10.2018 18:24:23
-36,000
9b8d025c5e738b507c68b3e1e16d8d0a1fd11e83
remove defer wrap in makeSticky
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -553,9 +553,7 @@ export default function createTippy(reference, collectionProps) {\n}\nif (tip.state.isVisible) {\n- requestAnimationFrame(() => {\n- defer(updatePosition)\n- })\n+ reques...
JavaScript
MIT License
atomiks/tippyjs
remove defer wrap in makeSticky
67,024
07.10.2018 18:25:40
-36,000
9bb02da759cef2dec29ef9f35922683b068c8671
only create new popperInstance if one has been created
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -717,14 +717,15 @@ export default function createTippy(reference, collectionProps) {\nupdatePopperElement(tip.popper, prevProps, nextProps)\ntip.popperChildren = getChildren(tip.popper)\n...
JavaScript
MIT License
atomiks/tippyjs
only create new popperInstance if one has been created
67,024
07.10.2018 18:59:03
-36,000
7836615360c34cf0409de3942066a904cac81719
ensure no context popups on mobile for touchHold demo
[ { "change_type": "MODIFY", "old_path": "website/css/components/btn.scss", "new_path": "website/css/components/btn.scss", "diff": "transition: all 0.2s;\noutline: 0;\nwill-change: opacity;\n+ user-select: none;\n+ -webkit-touch-callout: none;\n&:hover,\n&.tippy-active {\n" }, { "change_type":...
JavaScript
MIT License
atomiks/tippyjs
ensure no context popups on mobile for touchHold demo
67,024
07.10.2018 22:13:24
-36,000
3320e77650ce897a3e14821e28192b04fb62dd28
create validateOptions checker function
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -22,7 +22,8 @@ import {\ntoArray,\nfocus,\ntoggleTransitionEndListener,\n- debounce\n+ debounce,\n+ validateOptions\n} from './utils'\nlet idCounter = 1\n@@ -698,6 +699,8 @@ export defaul...
JavaScript
MIT License
atomiks/tippyjs
create validateOptions checker function
67,024
08.10.2018 10:27:59
-36,000
5dab9eb71b1cf616dcf3a02817a50efaec6fd898
extra info for touchHold option
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -282,10 +282,13 @@ export default () => (\nDetermines if the tippy displays on touch devices.\n</Prop>\n<Prop name=\"touchHold\" default=\"false\" value=\"...
JavaScript
MIT License
atomiks/tippyjs
extra info for touchHold option
67,024
08.10.2018 10:36:43
-36,000
46eccaadf022c5c28449d23bd204035dc32833c5
highlight v2 docs as (old)
[ { "change_type": "MODIFY", "old_path": "website/js/sections/Header.js", "new_path": "website/js/sections/Header.js", "diff": "@@ -63,7 +63,7 @@ export default () => (\nclass=\"header__docs\"\nhref=\"https://atomiks.github.io/tippyjs/v2/index.html\"\n>\n- Go to v2 docs\n+ Go to v2 docs (old)\n</a>\n<...
JavaScript
MIT License
atomiks/tippyjs
highlight v2 docs as (old)
67,024
08.10.2018 15:05:39
-36,000
c3cc1188ed9679e0306e18d3ecc574e8d3fa5c11
quick fixes for old v2 docs
[ { "change_type": "MODIFY", "old_path": "docs/v2/index.html", "new_path": "docs/v2/index.html", "diff": "-<!DOCTYPE html><html lang=\"en\"> <head> <title>Tippy.js - Vanilla JS Tooltip and Popover Library</title> <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> <meta charset=\"...
JavaScript
MIT License
atomiks/tippyjs
quick fixes for old v2 docs
67,024
10.10.2018 13:09:10
-36,000
c0fa10f12fe1e8b0fc4485cd73f34f85b7dd15dc
remove unnecessary properties for arrow style doc
[ { "change_type": "MODIFY", "old_path": "website/snippets/css-arrow-styles.md", "new_path": "website/snippets/css-arrow-styles.md", "diff": "```css\n/* Default (sharp) arrow */\n.tippy-popper[x-placement^='top'] .tippy-tooltip.light-theme .tippy-arrow {\n- border-top: 8px solid #fff;\n- border-right:...
JavaScript
MIT License
atomiks/tippyjs
remove unnecessary properties for arrow style doc
67,024
11.10.2018 19:17:58
-36,000
f67cbe58fbe434684b4ed22ba499c2735385fe7a
new website color scheme
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": ":root {\n- --background-gradient: linear-gradient(90deg, #5733ea, #4894ff 70%, #a5bcff);\n- --text-gradient: -webkit-linear-gradient(0deg, #a5ffd1, #fff7bf);\n+ --bac...
JavaScript
MIT License
atomiks/tippyjs
new website color scheme
67,024
11.10.2018 19:34:21
-36,000
255929e9330c8271ca24cb98ef3972cbfb76a0ca
emojis should begin the line
[ { "change_type": "MODIFY", "old_path": "website/css/components/section.scss", "new_path": "website/css/components/section.scss", "diff": "width: 1.25em;\nheight: 1.25em;\nvertical-align: text-top;\n- margin-right: 0.5em;\n+ margin-right: 0.1em;\n}\n}\n" } ]
JavaScript
MIT License
atomiks/tippyjs
emojis should begin the line
67,024
11.10.2018 21:29:58
-36,000
366572d0929cbdfbb2490e5123dffd1d276c9bd6
add 'Buttons with tooltips on touch devices' subsection
[ { "change_type": "MODIFY", "old_path": "website/js/sections/AllOptions.js", "new_path": "website/js/sections/AllOptions.js", "diff": "import { h } from 'hyperapp'\n-import AJAX from '../../snippets/ajax.md'\n+import AJAX from '../../snippets/ajax'\nimport EVENT_DELEGATION_HTML from '../../snippets/e...
JavaScript
MIT License
atomiks/tippyjs
add 'Buttons with tooltips on touch devices' subsection
67,024
12.10.2018 10:25:41
-36,000
2b83e792015b16285dd8b6b0dc177d7d43f4d5bd
ensure second argument to Prism.highlightElement is not truthy
[ { "change_type": "MODIFY", "old_path": "website/js/components/Code.js", "new_path": "website/js/components/Code.js", "diff": "@@ -8,7 +8,10 @@ export default ({ content, lang, style = {} }) => {\nreturn (\n<div class=\"code-wrapper\" data-lang={lang}>\n<pre style={style}>\n- <code oncreate={Prism.hi...
JavaScript
MIT License
atomiks/tippyjs
ensure second argument to Prism.highlightElement is not truthy
67,024
13.10.2018 11:52:21
-36,000
cbc745309ce0d17fec031ff848b791615754cb48
improve custom light-border theme
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -179,28 +179,50 @@ a {\n.tippy-tooltip.light-border-theme {\nbackground: white;\n- border: 1px solid rgba(0, 8, 16, 0.18);\n+ border: 1px solid rgba(0, 8, 16, 0.15...
JavaScript
MIT License
atomiks/tippyjs
improve custom light-border theme
67,024
13.10.2018 11:52:33
-36,000
42ad0f7e7943afbee376bafada5211f14ed78795
add dropdown nesting example
[ { "change_type": "MODIFY", "old_path": "website/js/sections/Demo.js", "new_path": "website/js/sections/Demo.js", "diff": "@@ -240,7 +240,6 @@ export default () => (\nanimateFill={false}\nanimation=\"fade\"\narrow={true}\n- flip={false}\n>\n<button class=\"btn\">Light-border</button>\n</Tippy>\n@@ -3...
JavaScript
MIT License
atomiks/tippyjs
add dropdown nesting example
67,024
13.10.2018 12:17:18
-36,000
e0c02fbfa17a6799a9c799a4627e3c667a510b10
add transition height custom animation example
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -225,6 +225,22 @@ a {\ntext-align: left;\n}\n+.tippy-tooltip[data-animation='height'] {\n+ padding: 0;\n+ overflow: hidden;\n+\n+ &[data-state='visible'] {\n+ heig...
JavaScript
MIT License
atomiks/tippyjs
add transition height custom animation example
67,024
13.10.2018 19:16:58
-36,000
b44927094d391a7369d31b6ab3000821bf59264c
fix blurriness in nested example on Safari
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -241,6 +241,18 @@ a {\n}\n}\n+.tippy-tooltip.ajax-theme {\n+ width: 200px;\n+ padding: 0;\n+ overflow: hidden;\n+ transform: rotate(0.001deg);\n+}\n+\n+.tippy-tool...
JavaScript
MIT License
atomiks/tippyjs
fix blurriness in nested example on Safari
67,024
14.10.2018 10:53:47
-36,000
32ac41049ce8ef53428e468b4d73b44bd44ed637
alter wording based on
[ { "change_type": "MODIFY", "old_path": "website/js/sections/GettingStarted.js", "new_path": "website/js/sections/GettingStarted.js", "diff": "@@ -22,8 +22,9 @@ export default () => (\ncontent=\"<script src=&quot;https://unpkg.com/tippy.js@3/dist/tippy.all.min.js&quot;></script>\"\n/>\n<p>\n- Once it...
JavaScript
MIT License
atomiks/tippyjs
alter wording based on #322
67,024
15.10.2018 01:58:36
-39,600
21a78f919ffcb7bfb343c5616a928c7d1a534d5c
improve subheadings
[ { "change_type": "MODIFY", "old_path": "website/js/components/Heading.js", "new_path": "website/js/components/Heading.js", "diff": "@@ -2,11 +2,12 @@ import { h } from 'hyperapp'\nimport { toKebabCase } from '../utils'\nconst Subheading = scope => (props, children) => {\n- const id = toKebabCase(sco...
JavaScript
MIT License
atomiks/tippyjs
improve subheadings
67,024
15.10.2018 02:26:18
-39,600
38b31da3ddc6d70c1b48341c24177bfb9e47cb2e
take into account sticky header for option anchors
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -6,13 +6,43 @@ import ExternalLink from './ExternalLink'\nimport APPEND_TO from '../../snippets/append-to'\nimport WAIT from '../../snippets/wait'\n+const ...
JavaScript
MIT License
atomiks/tippyjs
take into account sticky header for option anchors
67,022
16.10.2018 21:18:21
-7,200
1443ecd71fa4371021e9e955349aea05f1a92d3e
Update incorrect entries in Options Table
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -205,7 +205,7 @@ export default () => (\nDetermines if a tippy should be interactive, i.e. able to be hovered\nover or clicked without hiding.\n</Prop>\n- ...
JavaScript
MIT License
atomiks/tippyjs
Update incorrect entries in Options Table
67,024
18.10.2018 21:17:20
-39,600
dcdc6aa678c57eef927b362ebeaabf9792a3db88
add table of contents; resolve
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "html {\nbox-sizing: border-box;\nfont-size: 0.9375em;\n+\n+ @media (min-width: 768px) {\n+ font-size: 1em;\n+ }\n}\n*,\n@@ -253,8 +257,12 @@ a {\nmax-width: 100%;\n}\...
JavaScript
MIT License
atomiks/tippyjs
add table of contents; resolve #212
67,024
19.10.2018 05:23:33
-39,600
d8d6e3788b7974795f8e9628daa01a6c7a9e51ce
improve technique for height transition
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -229,33 +229,27 @@ a {\ntext-align: left;\n}\n-.tippy-tooltip[data-animation='height'] {\n- padding: 0;\n- overflow: hidden;\n-\n- &[data-state='visible'] {\n- hei...
JavaScript
MIT License
atomiks/tippyjs
improve technique for height transition
67,024
22.10.2018 01:18:23
-39,600
c8497548becb464d7113581f0488c5421e01950a
Only parse attribute option as JSON if required; resolve
[ { "change_type": "MODIFY", "old_path": "src/js/defaults.js", "new_path": "src/js/defaults.js", "diff": "@@ -60,3 +60,13 @@ export const POPPER_INSTANCE_RELATED_PROPS = [\n'distance',\n'offset'\n]\n+\n+/**\n+ * Props that can be parsed as JSON in a data-tippy-* attribute\n+ */\n+export const JSON_SER...
JavaScript
MIT License
atomiks/tippyjs
Only parse attribute option as JSON if required; resolve #331
67,024
25.10.2018 14:52:27
-39,600
a8968c477ca567fde1ffba8d0ee427fc46ea1f6d
Ignore parsing content option; resolve
[ { "change_type": "MODIFY", "old_path": "src/js/defaults.js", "new_path": "src/js/defaults.js", "diff": "@@ -60,13 +60,3 @@ export const POPPER_INSTANCE_RELATED_PROPS = [\n'distance',\n'offset'\n]\n-\n-/**\n- * Props that can be parsed as JSON in a data-tippy-* attribute\n- */\n-export const JSON_SER...
JavaScript
MIT License
atomiks/tippyjs
Ignore parsing content option; resolve #337
67,024
26.10.2018 21:15:27
-39,600
2c586532abac45fc3e3afd878d4364a30e41a18e
Allow empty content for event delegation; resolve
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -165,18 +165,14 @@ export default function createTippy(reference, collectionProps) {\nfunction createDelegateChildTippy(event) {\nconst targetEl = closest(event.target, tip.props.target)\...
JavaScript
MIT License
atomiks/tippyjs
Allow empty content for event delegation; resolve #321
67,024
30.10.2018 21:16:09
-39,600
3d193c0f0fcf26f1ec834d90b814a52399b0212a
Add state.isMounted, state.isShown, and props.onMount()
[ { "change_type": "MODIFY", "old_path": "src/js/defaults.js", "new_path": "src/js/defaults.js", "diff": "@@ -41,7 +41,8 @@ export let Defaults = {\nonShow() {},\nonShown() {},\nonHide() {},\n- onHidden() {}\n+ onHidden() {},\n+ onMount() {}\n}\nexport const setDefaults = partialDefaults => {\n" }, ...
JavaScript
MIT License
atomiks/tippyjs
Add state.isMounted, state.isShown, and props.onMount() (#340)
67,024
30.10.2018 21:32:48
-39,600
f06a2dbaf6c00213ed9ba12d8caa055f33617135
Add types for new state and props
[ { "change_type": "MODIFY", "old_path": "index.d.ts", "new_path": "index.d.ts", "diff": "@@ -49,6 +49,7 @@ export interface Props {\noffset?: number | string\nonHidden?(instance: Instance): void\nonHide?(instance: Instance): void\n+ onMount?(instance: Instance): void\nonShow?(instance: Instance): voi...
JavaScript
MIT License
atomiks/tippyjs
Add types for new state and props
67,024
30.10.2018 22:42:31
-39,600
75f2af7335596ec42ede2c759bac2e536d16b9e3
Document new state and props
[ { "change_type": "MODIFY", "old_path": "website/js/components/OptionsTable.js", "new_path": "website/js/components/OptionsTable.js", "diff": "@@ -237,16 +237,19 @@ export default () => (\n<a href=\"#distance-option\">distance</a>.\n</Prop>\n<Prop name=\"onHidden\" default=\"noop\" value=\"Function\"...
JavaScript
MIT License
atomiks/tippyjs
Document new state and props
67,024
30.10.2018 22:48:53
-39,600
92cf9907ad678b361b67f5c1e83b25a60e9cdb87
Adjust buttons-with-tooltips-on-touch.md with new state properties
[ { "change_type": "MODIFY", "old_path": "website/snippets/buttons-with-tooltips-touch.md", "new_path": "website/snippets/buttons-with-tooltips-touch.md", "diff": "@@ -19,17 +19,16 @@ tippy(button, {\n/*==================================================\nMake Android behave like iOS (double tap to cli...
JavaScript
MIT License
atomiks/tippyjs
Adjust buttons-with-tooltips-on-touch.md with new state properties
67,024
30.10.2018 22:51:24
-39,600
2d5e53f41d47268338cf1aeb1be6fb167053ab7b
Update demo themes
[ { "change_type": "MODIFY", "old_path": "website/index.js", "new_path": "website/index.js", "diff": "import '../dist/tippy.css'\nimport '../dist/themes/light.css'\nimport '../dist/themes/translucent.css'\n+import '../dist/themes/light-border.css'\n+import '../dist/themes/google.css'\nimport 'normaliz...
JavaScript
MIT License
atomiks/tippyjs
Update demo themes
67,024
30.10.2018 23:07:16
-39,600
679475f21d1ede4c2f007f82c2d9fa213631c396
Remove custom themes
[ { "change_type": "MODIFY", "old_path": "website/css/components/_base.scss", "new_path": "website/css/components/_base.scss", "diff": "@@ -174,55 +174,6 @@ a {\nmax-width: 250px;\n}\n-.tippy-tooltip.google-theme {\n- font-size: 0.85rem;\n- padding: 0.25rem 0.4rem;\n- background-color: #505355;\n- fon...
JavaScript
MIT License
atomiks/tippyjs
Remove custom themes
67,024
31.10.2018 00:44:35
-39,600
5e20cee91c63dc5fbbd32b1d8bef7418b70d748e
Fix content attribute; resolve
[ { "change_type": "MODIFY", "old_path": "src/js/utils.js", "new_path": "src/js/utils.js", "diff": "@@ -337,10 +337,6 @@ export const hideAllPoppers = excludeTippy => {\n*/\nexport const getDataAttributeOptions = reference =>\nObject.keys(Defaults).reduce((acc, key) => {\n- if (key === 'content') {\n-...
JavaScript
MIT License
atomiks/tippyjs
Fix content attribute; resolve #341
67,024
09.11.2018 00:52:07
-39,600
a1cce0e791ba73a4207fd2c2175e31f97637b4cd
Fix arrow transparency and reduce theme file size
[ { "change_type": "MODIFY", "old_path": "src/scss/themes/light-border.scss", "new_path": "src/scss/themes/light-border.scss", "diff": "$transparentLight: rgba(0, 8, 16, 0.08);\n$transparentDark: rgba(0, 8, 16, 0.15);\n-$transparentDarker: rgba(0, 8, 16, 0.24);\n+$transparentDarker: rgba(0, 8, 16, 0.2...
JavaScript
MIT License
atomiks/tippyjs
Fix arrow transparency and reduce theme file size
67,024
09.11.2018 01:05:15
-39,600
e64886039835ae620dabf54ff02a7239c67156d8
Improve set() method checks validity
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -705,7 +705,7 @@ export default function createTippy(reference, collectionProps) {\n/**\n* Sets new props for the instance and redraws the tooltip\n*/\n- function set(options) {\n+ functi...
JavaScript
MIT License
atomiks/tippyjs
Improve set() method checks validity
67,024
09.11.2018 01:07:46
-39,600
3342ce736248fdf3cd3092474229bae59e64300a
Rename cleanupOldMouseMoveListeners to cleanupOldMouseListeners
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -258,7 +258,7 @@ export default function createTippy(reference, collectionProps) {\n/**\n* Cleans up old listeners\n*/\n- function cleanupOldMouseMoveListeners() {\n+ function cleanupOldM...
JavaScript
MIT License
atomiks/tippyjs
Rename cleanupOldMouseMoveListeners to cleanupOldMouseListeners
67,024
09.11.2018 03:25:03
-39,600
f22f85b9fbe1f5f264c6b4c4a1804df324186965
Fix tooltip overflowing window boundaries when close to edge in followCursor mode
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -139,6 +139,25 @@ export default function createTippy(reference, collectionProps) {\nreturn\n}\n+ // Ensure virtual reference is padded by 5px to prevent tooltip from\n+ // overflowing. M...
JavaScript
MIT License
atomiks/tippyjs
Fix tooltip overflowing window boundaries when close to edge in followCursor mode
67,024
09.11.2018 04:03:03
-39,600
f374d0ff69dca61bda368071ae93b5913cfc7507
Make touchstart passive; resolve
[ { "change_type": "MODIFY", "old_path": "src/js/bindGlobalEventListeners.js", "new_path": "src/js/bindGlobalEventListeners.js", "diff": "@@ -102,7 +102,8 @@ export const onWindowResize = () => {\n*/\nexport default function bindEventListeners(useCapture) {\ndocument.addEventListener('click', onDocume...
JavaScript
MIT License
atomiks/tippyjs
Make touchstart passive; resolve #344
67,024
09.11.2018 06:57:07
-39,600
edfdb0bf44d29329f185e50f08572115420e7db0
Disable popper events on create for followCursor
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -517,17 +517,17 @@ export default function createTippy(reference, collectionProps) {\nfunction mount(callback) {\nif (!tip.popperInstance) {\ntip.popperInstance = createPopperInstance()\n...
JavaScript
MIT License
atomiks/tippyjs
Disable popper events on create for followCursor
67,024
09.11.2018 07:02:15
-39,600
f398dddf800df2e9241dbbeb0d634198a93f6d67
Add tests for data-tippy-content attribute
[ { "change_type": "MODIFY", "old_path": "tests/spec/utils.test.js", "new_path": "tests/spec/utils.test.js", "diff": "@@ -252,6 +252,22 @@ describe('getValue', () => {\n})\ndescribe('getDataAttributeOptions', () => {\n+ it('uses data-tippy-content', () => {\n+ const ref = h()\n+ ref.setAttribute('data...
JavaScript
MIT License
atomiks/tippyjs
Add tests for data-tippy-content attribute
67,024
10.11.2018 09:16:32
-39,600
64fa9c6d5561e89d56c1101a5e7b64a468f5366c
Sort defaults alphabetically
[ { "change_type": "MODIFY", "old_path": "src/js/defaults.js", "new_path": "src/js/defaults.js", "diff": "export let Defaults = {\na11y: true,\n- content: '',\n- placement: 'top',\n- livePlacement: true,\n- trigger: 'mouseenter focus',\n- hideOnClick: true,\n- animation: 'shift-away',\n+ allowHTML: tr...
JavaScript
MIT License
atomiks/tippyjs
Sort defaults alphabetically
67,024
10.11.2018 09:25:30
-39,600
e4fdfff716c20ddb3521ae16ffcc73b988b03d90
Refactor browser vars into browser.js module
[ { "change_type": "MODIFY", "old_path": "src/js/bindGlobalEventListeners.js", "new_path": "src/js/bindGlobalEventListeners.js", "diff": "import { Selectors } from './selectors'\n-import {\n- isBrowser,\n- hideAllPoppers,\n- closest,\n- closestCallback,\n- toArray\n-} from './utils'\n-\n-const nav = i...
JavaScript
MIT License
atomiks/tippyjs
Refactor browser vars into browser.js module
67,024
10.11.2018 09:29:52
-39,600
85f7f507d05e86ac34d62acf17db69583ed641df
Call prepareShow() instantly since the layout is built indeterminately anyway
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -101,12 +101,7 @@ export default function createTippy(reference, collectionProps) {\n}\nif (props.showOnInit) {\n- /**\n- * Firefox has a bug where the tooltip will be placed incorrectly ...
JavaScript
MIT License
atomiks/tippyjs
Call prepareShow() instantly since the layout is built indeterminately anyway
67,024
10.11.2018 09:58:09
-39,600
3e33c97ab7659c16607e0bd36d0de4071a98674a
Refactor code into more appropriate location
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -83,6 +83,33 @@ export default function createTippy(reference, collectionProps) {\n// Popper element reference\nconst popper = createPopperElement(id, props)\n+ // Prevent a tippy with a ...
JavaScript
MIT License
atomiks/tippyjs
Refactor code into more appropriate location
67,024
10.11.2018 10:01:22
-39,600
13f252873f6a859c02b90eba0466f86e71b9f67a
Remove unnecessary if branch
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -192,9 +192,7 @@ export default function createTippy(reference, collectionProps) {\n*/\nfunction addMutationObserver() {\npopperMutationObserver = new MutationObserver(() => {\n- if (tip....
JavaScript
MIT License
atomiks/tippyjs
Remove unnecessary if branch
67,024
11.11.2018 07:13:07
-39,600
ae4b969d6ea58e1377ab5085aa4a29d95034c200
Remove unncessary ::before selector
[ { "change_type": "MODIFY", "old_path": "src/scss/themes/light-border.scss", "new_path": "src/scss/themes/light-border.scss", "diff": "@@ -111,7 +111,6 @@ $transparentDarker: rgba(0, 8, 16, 0.2);\n.tippy-popper[x-placement^='bottom']\n.tippy-tooltip.light-border-theme\n.tippy-arrow {\n- &::before,\n&...
JavaScript
MIT License
atomiks/tippyjs
Remove unncessary ::before selector
67,024
11.11.2018 15:29:44
-39,600
40b7643ec73958b5198b3267db824568c21b6358
Cleanup old MO
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -534,7 +534,9 @@ export default function createTippy(reference, collectionProps) {\n}\n}\n+ if (!popperMutationObserver) {\naddMutationObserver()\n+ }\nreturn new Popper(tip.reference, ti...
JavaScript
MIT License
atomiks/tippyjs
Cleanup old MO
67,024
14.11.2018 13:30:52
-39,600
89cb61eb4daf3295b5dfb90701b82d55599ec473
Add characterData to the mutation observer
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -196,7 +196,8 @@ export default function createTippy(reference, collectionProps) {\n})\npopperMutationObserver.observe(popper, {\nchildList: true,\n- subtree: true\n+ subtree: true,\n+ ch...
JavaScript
MIT License
atomiks/tippyjs
Add characterData to the mutation observer
67,024
14.11.2018 13:31:21
-39,600
82be626fec895895df171a432d5b646612f83822
Deprecate tippy.useCapture(), make capture phase default for global click listener
[ { "change_type": "MODIFY", "old_path": "src/js/bindGlobalEventListeners.js", "new_path": "src/js/bindGlobalEventListeners.js", "diff": "@@ -90,8 +90,8 @@ export const onWindowResize = () => {\n/**\n* Adds the needed global event listeners\n*/\n-export default function bindEventListeners(useCapture) ...
JavaScript
MIT License
atomiks/tippyjs
Deprecate tippy.useCapture(), make capture phase default for global click listener
67,024
15.11.2018 04:36:08
-39,600
6bf1552f895df55adcaa0813ce88a073e4b5d4ff
Use state.isMounted over state.isVisible in destroy()
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -993,8 +993,9 @@ export default function createTippy(reference, collectionProps) {\nreturn\n}\n- // Ensure the popper is hidden\n- if (tip.state.isVisible) {\n+ // If the popper is curren...
JavaScript
MIT License
atomiks/tippyjs
Use state.isMounted over state.isVisible in destroy()
67,024
15.11.2018 09:24:00
-39,600
4afbffc730dccde6ecd108350cd68e0c3d88063b
Remove reference to tippy.useCapture()
[ { "change_type": "MODIFY", "old_path": "website/js/sections/Methods.js", "new_path": "website/js/sections/Methods.js", "diff": "@@ -84,11 +84,6 @@ export default () => (\nThere are a few static methods on the <code>tippy</code> function itself.\nThese methods are global and do not affect a single in...
JavaScript
MIT License
atomiks/tippyjs
Remove reference to tippy.useCapture()
67,024
16.11.2018 14:58:29
-39,600
a9cd1309efaa9bf571d2af4549be56bd5d7d3159
Better settings recommendation for scrollable containers
[ { "change_type": "MODIFY", "old_path": "website/snippets/scrollable-container.md", "new_path": "website/snippets/scrollable-container.md", "diff": "```js\n-tippy('.mySelector', {\n+tippy(ref, {\npopperOptions: {\nmodifiers: {\n- preventOverflow: { enabled: false },\n- hide: { enabled: false }\n+ pre...
JavaScript
MIT License
atomiks/tippyjs
Better settings recommendation for scrollable containers
67,024
22.11.2018 01:00:04
-39,600
9984e280caaa29f8c90999dffa117a056fb9709f
Code highlighting improvements
[ { "change_type": "MODIFY", "old_path": "website/css/components/code.scss", "new_path": "website/css/components/code.scss", "diff": "@@ -134,9 +134,8 @@ pre[class*='language-'] {\ncolor: #9ca1d1;\n}\n-.token.selector,\n.token.constant {\n- color: #ffdaa1;\n+ color: #ffb8a1;\n}\n.token.attr-name {\n@@...
JavaScript
MIT License
atomiks/tippyjs
Code highlighting improvements
67,024
29.11.2018 14:09:22
-39,600
88c9f4750e0df759c3073bc4d09e86d4d8d233c7
Safer .hasOwnProperty check
[ { "change_type": "MODIFY", "old_path": "src/js/createTippy.js", "new_path": "src/js/createTippy.js", "diff": "@@ -24,7 +24,8 @@ import {\nfocus,\ntoggleTransitionEndListener,\ndebounce,\n- validateOptions\n+ validateOptions,\n+ hasOwnProperty\n} from './utils'\nlet idCounter = 1\n@@ -764,20 +765,20 ...
JavaScript
MIT License
atomiks/tippyjs
Safer .hasOwnProperty check