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"
Nicolas Coden [Sat, 25 Aug 2018 20:34:54 +0000 (22:34 +0200)]
Use pull request #11454 from ncoden/fix/split-gulp-tasks-11452 for v6.5.0
6c45b451e fix: remove broken Sass linting from Sass compilation task and move it to build task 80c6def1f refactor: split the docs build task to `docs:pages` and `docs:search` 6b12883d6 refactor: move the customizer ZIPing to `customizer:zip` and `customizer:clean`
Nicolas Coden [Sat, 25 Aug 2018 20:33:41 +0000 (22:33 +0200)]
Use pull request #11425 from ncoden/fix/drilldown-submenu-height-11416 for v6.5.0
c7ce8d5b9 fix: set the Drilldown height for on the currently opened (sub)menu #11416 43c1fac65 test: add unit tests for Drilldown resizing on toggling 7f7dfd83a test: check the Drilldrown wrapper height instead of the element height 90c4e45f8 fix: set a default for the current menu in Drilldown before it is used 1db6a1f2a test: add unit test for the Drilldown height when reopened from a submenu #11416 d4617ac08 clean: remove infinite timeout used for development in Drilldown tests
Nicolas Coden [Fri, 6 Jul 2018 20:31:56 +0000 (22:31 +0200)]
Use pull request #11346 from ncoden/fix/gulp-deploy-task-multiple-completion-callback for v6.5.0
6cb873365 fix: fix completion callback called too many time in deploy task 9a9f0c197 style: remove unused "done" in "dist:deploy" gulp task dcd3ab813 fix: remove run-sequence from gulp `deploy:dist` task to detect its end
dependabot[bot] [Sun, 17 Jun 2018 17:33:49 +0000 (19:33 +0200)]
Use dependabot pull requests for v6.5.0
934220821 build: bump mocha from 5.0.5 to 5.1.0 c6a456739 build: bump autoprefixer from 8.2.0 to 8.3.0 a4bb6fae2 build: bump chalk from 2.3.2 to 2.4.0 ec6fef998 build: bump webpack from 4.5.0 to 4.6.0 e8455ecb1 build: bump mocha from 5.1.0 to 5.1.1 74f469eba build: bump browser-sync from 2.23.6 to 2.23.7 0bb5e3fbc build: bump mocha-headless-chrome from 1.8.3 to 2.0.0 15dbe8ac3 build: bump chalk from 2.4.0 to 2.4.1 15d30ca9c build: bump babel-core from 6.26.0 to 6.26.2 20b64ebb6 build: bump browser-sync from 2.23.7 to 2.24.1 e530be531 build: bump clipboard from 2.0.0 to 2.0.1 af26f10f8 build: bump autoprefixer from 8.3.0 to 8.4.1 7b5115317 build: bump sinon from 4.5.0 to 5.0.1 f58137d2e build: bump babel-core from 6.26.2 to 6.26.3 7ae645f56 build: bump @commitlint/cli from 6.1.3 to 6.2.0 3a15b77c6 build: bump sinon from 5.0.1 to 5.0.3 4ddcee67b build: bump browser-sync from 2.24.1 to 2.24.2 2d1ddcd19 build: bump what-input from 5.0.5 to 5.0.7 08c895bdd build: bump browser-sync from 2.24.2 to 2.24.4 2d50de586 build: bump gulp-clean-css from 3.9.3 to 3.9.4 0c00cc766 build: bump webpack from 4.6.0 to 4.7.0 a2a820fbe build: bump sinon from 5.0.3 to 5.0.5 57e5a0ce6 build: bump array-uniq from 1.0.3 to 2.0.0 bcdc081eb build: bump webpack from 4.7.0 to 4.8.3 47875fbd5 build: bump husky from 1.0.0-rc.2 to 1.0.0-rc.4 2cf410832 build: bump sinon from 5.0.5 to 5.0.7 bbef3b798 build: bump autoprefixer from 8.4.1 to 8.5.0 e720c283a build: bump gulp-rename from 1.2.2 to 1.2.3 8e3319401 build: bump mocha from 5.1.1 to 5.2.0 80fcdfa7d build: bump what-input from 5.0.7 to 5.1.0 d0fdc5974 build: bump gulp-replace from 0.6.1 to 1.0.0 4a5230a37 build: bump husky from 1.0.0-rc.4 to 1.0.0-rc.6 1b2194e11 build: bump sinon from 5.0.7 to 5.0.10 22015f4bd build: bump gulp-sass-lint from 1.3.4 to 1.4.0 b6d25277a build: bump autoprefixer from 8.5.0 to 8.5.1 447da60a0 build: bump webpack from 4.8.3 to 4.9.1 28455f90a build: bump husky from 1.0.0-rc.6 to 1.0.0-rc.8 ba39fb498 build: bump @commitlint/config-conventional from 6.1.3 to 7.0.1 369819694 build: bump inquirer from 5.2.0 to 6.0.0 44548fab2 build: bump @commitlint/cli from 6.2.0 to 7.0.0 81d18b62d build: bump webpack from 4.9.1 to 4.10.2 12b16b068 build: bump js-yaml from 3.11.0 to 3.12.0 a94d2b149 build: bump autoprefixer from 8.5.1 to 8.6.0
Note: package-lock.json and yarn.lock files were separately regenerated.
Co-Authored-By: Nicolas Coden <nicolas@ncoden.fr> Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
Nicolas Coden [Sat, 16 Jun 2018 08:54:22 +0000 (10:54 +0200)]
Use pull request #11317 from ncoden/chore/upgrade-babel-v7 for v6.5.0
4174473b3 fix: use the env babel preset for browserify transformation 07348e7e5 refactor: move all browserlist configs to .browserslistrc 1b09e3d91 chore: update Babel to v7 4a42d2a1f fix: add missing Foundation import in Touch entry
Nicolas Coden [Sat, 16 Jun 2018 08:52:10 +0000 (10:52 +0200)]
Use pull request #11315 from ncoden/fix/breakpoint-max-width-precision-11313 for v6.5.0
798377d96 fix: lower breakpoint max value precision to avoid rounding #11313 a36504ccb fix: revert mistakenly changed `$global-flexbox` setting in #11315