Nicolas Coden [Tue, 22 Jan 2019 17:00:25 +0000 (18:00 +0100)]
Use pull request #11650 from ncoden/chore/update-dependencies-2019-01-13 for v6.5.0
7a4057fe5 chore: update dependencies (2019-01-13) 5090e7c27 chore: increase Yarn network timeout in Travis 2f2b58503 chore: update sub-dependency pupeeteer for Travis on Windows aff8bd759 chore: ensure to keep dep resolutions when relocking deps
Daniel Ruf [Fri, 11 Jan 2019 23:30:45 +0000 (00:30 +0100)]
Use pull request #11538 from DanielRuf/tests/test-linux-macos-windows for v6.5.0
d0f6c3bbf tests: test on Linux, macOS and Windows 82734934d tests: use Node.js 6, 8 and 10 78b516f84 tests: run Browswestack tests only on one platform 623408782 ci: use Yarn e457b19dc chore: downgrade mocha-headless-chrome for now b453e5529 fix: downgrade doiuse to support Node.js 6 0c9251836 fix: disable Yarn GPG so it doesn't prevent the Travis build to finish 3f3c33174 chore: cache Yarn in Travis
Co-Authored-By: Daniel Ruf <daniel.ruf@ueberbit.de> Co-Authored-By: Nicolas Coden <nicolas@ncoden.fr> Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
Nicolas Coden [Fri, 11 Jan 2019 23:22:57 +0000 (00:22 +0100)]
Use pull request #11618 from ncoden/chore/fix-externals-config for v6.5.0
4d9270f0f chore: fix plugins UMD external names 7f5aa78c2 docs: add documentation for the webpack UMD configuration 4124057ca chore: fix plugins' UMD root variables names 3fa67416e test: add test for imports via AMD 91353dba1 docs: improve description for the webpack externals config in build script a69a577ea docs: improve docs for the root namespace in build script 5e422093c docs: improve docs of the "getUmdEntry" build utility
Nicolas Coden [Mon, 12 Nov 2018 19:41:41 +0000 (20:41 +0100)]
Use pull request #11579 from ncoden/fix/accordion-menu-is-active-on-close-11383 for v6.5.1
54785ea7f fix: clear "is-active" class when menu is closed in AccordionMenu 5b105ac8e test: add tests to check attributes when AccordionMenu is opened/closed a221e8ae4 refactor: simplify AccordionMenu "up" and "down" methods
Nicolas Coden [Mon, 12 Nov 2018 19:41:40 +0000 (20:41 +0100)]
Use pull request #11573 from ncoden/fix/dropdown-aria-missing-id-11572 for v6.5.1
5ddb04b6e fix: ensure Dropdown aria-labelledby to have an ID #11572 adce39107 fix: revert inadvertent substitution of Dropdown "aria-labelledby" attribute
Nicolas Coden [Sun, 11 Nov 2018 21:36:45 +0000 (22:36 +0100)]
Use pull request #11418 from ncoden/refactor/mouseleave-special-case for v6.5.1
9bd7f933c refactor: move dropdownMenu mouseleave special case to its own utility function 8f2470c28 docs: add doc for core utility onLeaveElement 90de67a17 refactor: make the magic mouseleave utility a simple event filter adeee972d docs: add some doc in the magic mouseleave utility "ignoreMousedisappear" f46e78bd1 fix: prevent Dropdown and Tooltip to hide when moving mouse to browser UI elements 5bdec3a3c tests: add visual test for the Dropdown magic mousleave bug f0168bb9f style: fix incorrectly named variable in ignoreMousedisappear utility 1847f6c9b fix: make the "ignoreMousedisappear()" handler called before mouseenter 3ec791559 docs: improve doc in "ignoreMousedisappear()"
Note: this commit has the same purpose of 55e60ee86 but includes the commits
from 8f2470c28 to 3ec791559 that missed in the previous merge commit.
Nicolas Coden [Thu, 11 Oct 2018 20:49:56 +0000 (22:49 +0200)]
Use pull request #11530 from ncoden/fix/tabs-accordion-deep-linking-11527 for v6.5.0
33c55db80 fix: fix scroll to deep-linking default anchor on initialization in Tabs/Accordion 8d4a13ead fix: prevent Tabs/Accordion to scroll to others components' anchors 7bccec66f fix: ensure Tab deep-linking to redirect to hash with # 9fbc2eeb5 test: add visual test for Tabs deep-linking
Nicolas Coden [Wed, 10 Oct 2018 17:27:41 +0000 (19:27 +0200)]
fix: keep the original event datas in Touch tap/swipe events (v6.5)
Keep the `touchstart`/`touchmove`/`touchend` datas (like `target`) for the events that are manually triggered: `tap` and `swipe`.
This resolve a bug in "Reveal" when a `touchend` event inside the reveal modal is transformed to a `tap` event on the overlay because the original `target` is lost when triggered the event on the overlay.
Nicolas Coden [Wed, 10 Oct 2018 17:20:24 +0000 (19:20 +0200)]
fix: fix "tap" event triggering in Touch (v6.5)
The current implementation actually never triggers the "tap" event. This commit refactor its handling to triggers it when the screen is touched without sliding.
Changes:
- Register the `tap` event in jQuery
- Triggers the `tap` event on `mouseend` if no moves were recorded before.
Nicolas Coden [Sun, 7 Oct 2018 20:38:17 +0000 (22:38 +0200)]
docs: use event namespace instead of Class name for event doc #11523
Document events with the namespace of the triggered event instead of the class name. There is not ideal but this is better than having a documentation that doesn't match the described event.
This fix is compatible with Foundation <= v6.5.0
Closes https://github.com/zurb/foundation-sites/issues/11523
Nicolas Coden [Sat, 29 Sep 2018 20:10:57 +0000 (22:10 +0200)]
Use pull request #11519 from ncoden/fix/clean-smoothscroll-events-on-destroy for v6.5.0
7d717bfb2 refactor: move SmoothScroll to ES6+ and fix linting issues fd14999f1 refactor: move SmoothScroll click event handling to its own function e0fbd09c8 fix: clean SmoothScroll events when destroyed 65c26b102 docs: fix typo in SmoothScroll click handler
Nicolas Coden [Tue, 25 Sep 2018 21:44:24 +0000 (23:44 +0200)]
Use pull request #11508 from ncoden/chore/transpiled-esm-entry-11502 for v6.5.0
d03b2256a chore: provide CJS, ESM and ES2015+ bundles abcd7c465 docs: add description of bundle formats in the Javascript doc 795047f10 docs: improve title of section about bundle format in Javascript doc 8d94eb7fb docs: add the package.json entry in Javascript documentation
Nicolas Coden [Wed, 12 Sep 2018 20:25:53 +0000 (22:25 +0200)]
Use pull request #11418 from ncoden/refactor/mouseleave-special-case for v6.5.0
9bd7f933c refactor: move dropdownMenu mouseleave special case to its own utility function 8f2470c28 docs: add doc for core utility onLeaveElement 90de67a17 refactor: make the magic mouseleave utility a simple event filter adeee972d docs: add some doc in the magic mouseleave utility "ignoreMousedisappear" f46e78bd1 fix: prevent Dropdown and Tooltip to hide when moving mouse to browser UI elements 5bdec3a3c tests: add visual test for the Dropdown magic mousleave bug f0168bb9f style: fix incorrectly named variable in ignoreMousedisappear utility 1847f6c9b fix: make the "ignoreMousedisappear()" handler called before mouseenter 3ec791559 docs: improve doc in "ignoreMousedisappear()"
Nicolas Coden [Wed, 12 Sep 2018 20:20:54 +0000 (22:20 +0200)]
Use pull request #11477 from ncoden/fix/initial-tab-deep-linking-11100 for v6.5.0
5ea51f3b9 fix: return to initial state when reseting hash in Accordion & Tabs #11100 314b4ee53 fix: fix initial state for Accordion without any panel active abbbdbff6 refactor: split DOM operations from logics in Accordion e26190579 refactor: move "init only" Accordion logic to its own methods b819fafba docs: remove outdated comments in Accordion related to the initial state 7307c4395 feat: add "Tabs._collapse()" to collapse the active tab 012db1077 refactor: clean up the Tab initialization c6d37c42e fix: close the active Tab when going back to a "tab-less" history state 267356747 docs: fix "zplugin" typo in Accordion & Tabs events
Nicolas Coden [Mon, 10 Sep 2018 20:57:40 +0000 (22:57 +0200)]
Use pull request #11445 from ncoden/chore/tree-shaking for v6.5.0
ff937ead3 chore: use a more tree-shaking compliant ESM entry file 83c90b089 fix: add missing export of "Move" in "foundation-plugins" entry 5d9373b3d chore: add default export as it may be sometimes required for tree-shaking 7326c38fd docs: add "Tree Shaking" section in javascript documentation 8e44c64fd chore: remove unrecommended "grouped" default exports d44a7a0f5 chore: add missing "sideEffects" flag to ensure tree shaking with webpack 680ed6a03 docs: make "direct import" for tree shaking sounds less imperative 17b3cd1f8 chore: remove redundant "pkg.browser" field 89e66da32 docs: improve "tree shaking" documentation to promote named imports 45e990c1c Revert "chore: add default export as it may be sometimes required for tree-shaking"