]>
git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
Nicolas Coden [Sun, 1 Jul 2018 17:46:22 +0000 (19:46 +0200)]
fix: remove run-sequence from gulp `deploy:dist` task to detect its end
`run-sequence` doesn't match well with multile streams from `gulp-filter` and prevent us to use the stream end event or gulp to automatically detect the stream end. This commit refactor the `deploy:dist` task and move its logics to `deploy:dist:files` in order to make gulp dealing directly with the `gulp-filter` stream and detect its end.
Nicolas Coden [Wed, 20 Jun 2018 22:07:13 +0000 (00:07 +0200)]
style: remove unused "done" in "dist:deploy" gulp task
Nicolas Coden [Wed, 20 Jun 2018 21:58:34 +0000 (23:58 +0200)]
fix: fix completion callback called too many time in deploy task
Nicolas Coden [Tue, 19 Jun 2018 20:03:00 +0000 (22:03 +0200)]
Merge pull request #11341 from ncoden/fix/reveal-single-scrollbar-7831
fix: keep a scrollbar on document when Reveal opens #7831
Nicolas Coden [Mon, 18 Jun 2018 21:30:26 +0000 (23:30 +0200)]
docs: add doc for Reveal methods _addGlobalClasses/_removeGlobalClasses
Nicolas Coden [Mon, 18 Jun 2018 21:27:39 +0000 (23:27 +0200)]
refactor: rename Reveal internal methods for a better clarity
Nicolas Coden [Mon, 18 Jun 2018 21:08:12 +0000 (23:08 +0200)]
fix: show/hide Reveal scrollbar on window resizing
Nicolas Coden [Sun, 17 Jun 2018 21:52:41 +0000 (23:52 +0200)]
fix: keep a scrollbar on document when Reveal opens #7831
#11065 was intented to avoid double scrollbars from a Reveal modal, but removing all scrollbars when the modal opens changes the page content width and the content shift. This is a regression of #7831.
The current solution is a mix between the two previous fixes:
* Modal may have a scrollbar or not, following its content height
* Body has no scrollbar and prevent any scroll
* Document may have a scrollbar, following its content height (controlled in JS)
Changes:
* add the `zf-has-scroll` global html modifer and toggle it on Reveal opening/closing
* always prevent scroll on body instead of html tag like in #10583
See https://github.com/zurb/foundation-sites/issues/10791#issuecomment-
377861523
Closes #7831
Nicolas Coden [Thu, 14 Jun 2018 21:45:00 +0000 (23:45 +0200)]
Merge pull request #11333 from ncoden/chore/increase-tests-timeout
chore: increase mocha tests timeout
Nicolas Coden [Thu, 14 Jun 2018 09:14:47 +0000 (11:14 +0200)]
Merge pull request #11334 from ncoden/chore/update-dependencies-2018-06-13s
chore: update dependencies (2018-06-13)
Nicolas Coden [Wed, 13 Jun 2018 22:14:24 +0000 (00:14 +0200)]
chore: update lockfiles
Nicolas Coden [Wed, 13 Jun 2018 21:53:48 +0000 (23:53 +0200)]
chore: update dependencies (2018-06-13)
Update dependencies:
- sinon `5.0.1` -> `6.0.0`
- motion-ui `1.1.0` -> `2.0.2`
There is no breaking changes
Nicolas Coden [Wed, 13 Jun 2018 20:57:41 +0000 (22:57 +0200)]
chore: increase mocha tests timeout
Some tests still take too much time depending on the browser and system on BrowserStack.
Nicolas Coden [Thu, 7 Jun 2018 04:44:10 +0000 (06:44 +0200)]
Merge pull request #11326 from mapx/patch-1
Fix a typo in customizer/index.html
Yuchen Xie [Wed, 6 Jun 2018 01:06:14 +0000 (09:06 +0800)]
Fix typo
Nicolas Coden [Tue, 5 Jun 2018 21:59:28 +0000 (23:59 +0200)]
Merge pull request #11321 from zurb/dependabot/npm_and_yarn/js-yaml-3.12.0
build: bump js-yaml from 3.11.0 to 3.12.0
Nicolas Coden [Tue, 5 Jun 2018 21:57:11 +0000 (23:57 +0200)]
Merge pull request #11322 from zurb/dependabot/npm_and_yarn/webpack-4.10.2
build: bump webpack from 4.9.1 to 4.10.2
Nicolas Coden [Tue, 5 Jun 2018 21:56:40 +0000 (23:56 +0200)]
Merge pull request #11323 from zurb/dependabot/npm_and_yarn/autoprefixer-8.6.0
build: bump autoprefixer from 8.5.1 to 8.6.0
dependabot[bot] [Mon, 4 Jun 2018 21:39:03 +0000 (21:39 +0000)]
build: bump autoprefixer from 8.5.1 to 8.6.0
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 8.5.1 to 8.6.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/8.5.1...8.6.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Mon, 4 Jun 2018 21:36:16 +0000 (23:36 +0200)]
Merge pull request #11320 from zurb/dependabot/npm_and_yarn/@commitlint/cli-7.0.0
build: bump @commitlint/cli from 6.2.0 to 7.0.0
dependabot[bot] [Mon, 4 Jun 2018 20:55:00 +0000 (20:55 +0000)]
build: bump js-yaml from 3.11.0 to 3.12.0
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 3.11.0 to 3.12.0.
- [Release notes](https://github.com/nodeca/js-yaml/releases)
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/3.11.0...3.12.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 4 Jun 2018 20:54:49 +0000 (20:54 +0000)]
build: bump webpack from 4.9.1 to 4.10.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.9.1 to 4.10.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.9.1...v4.10.2)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Mon, 4 Jun 2018 20:53:45 +0000 (22:53 +0200)]
Merge branch 'develop' into dependabot/npm_and_yarn/@commitlint/cli-7.0.0
Nicolas Coden [Mon, 4 Jun 2018 20:52:17 +0000 (22:52 +0200)]
Merge pull request #11319 from zurb/dependabot/npm_and_yarn/inquirer-6.0.0
build: bump inquirer from 5.2.0 to 6.0.0
Nicolas Coden [Mon, 4 Jun 2018 20:51:59 +0000 (22:51 +0200)]
Merge pull request #11318 from zurb/dependabot/npm_and_yarn/@commitlint/config-conventional-7.0.1
build: bump @commitlint/config-conventional from 6.1.3 to 7.0.1
dependabot[bot] [Mon, 4 Jun 2018 20:04:52 +0000 (20:04 +0000)]
build: bump @commitlint/cli from 6.2.0 to 7.0.0
Bumps [@commitlint/cli](https://github.com/marionebl/commitlint) from 6.2.0 to 7.0.0.
- [Release notes](https://github.com/marionebl/commitlint/releases)
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marionebl/commitlint/compare/v6.2.0...v7.0.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 4 Jun 2018 20:04:46 +0000 (20:04 +0000)]
build: bump inquirer from 5.2.0 to 6.0.0
Bumps [inquirer](https://github.com/SBoudrias/Inquirer.js) from 5.2.0 to 6.0.0.
- [Release notes](https://github.com/SBoudrias/Inquirer.js/releases)
- [Commits](https://github.com/SBoudrias/Inquirer.js/compare/v5.2.0...v6.0.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 4 Jun 2018 20:04:26 +0000 (20:04 +0000)]
build: bump @commitlint/config-conventional from 6.1.3 to 7.0.1
Bumps [@commitlint/config-conventional](https://github.com/marionebl/commitlint) from 6.1.3 to 7.0.1.
- [Release notes](https://github.com/marionebl/commitlint/releases)
- [Changelog](https://github.com/marionebl/commitlint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/marionebl/commitlint/compare/v6.1.3...v7.0.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Mon, 4 Jun 2018 20:01:59 +0000 (22:01 +0200)]
Merge pull request #11317 from ncoden/chore/upgrade-babel-v7
chore: update Babel to v7
Nicolas Coden [Mon, 4 Jun 2018 20:01:47 +0000 (22:01 +0200)]
Merge pull request #11316 from ncoden/fix/babelify-env-preset
fix: fix outdated Browserify transform configuration
Nicolas Coden [Sun, 3 Jun 2018 07:58:02 +0000 (09:58 +0200)]
fix: add missing Foundation import in Touch entry
Export is no longer ignored for undefined variables in babel-core@7.
Nicolas Coden [Sat, 2 Jun 2018 21:52:40 +0000 (23:52 +0200)]
chore: update Babel to v7
Update update and related packages to v7 beta.
Changes:
* Migrate to `@babel/*` packages
* Use `@babel/preset-env` instead of `env` preset
* Remove unecessary browserlist config in `.babelrc` config
* Update Yarn lockfiles
Nicolas Coden [Sat, 2 Jun 2018 19:03:50 +0000 (21:03 +0200)]
refactor: move all browserlist configs to ".browserslistrc"
Note: browserlist config is kept in ".babelrc" because browserlist external config is not supported by Babel < 7. See https://github.com/browserslist/browserslist
Nicolas Coden [Sat, 2 Jun 2018 18:43:57 +0000 (20:43 +0200)]
fix: use the "env" babel preset for browserify transformation
Foundation now require the `env` babel preset with a browserlist, but browserify config is oudated and still uses the `es2015` preset.
Changes:
* use the `env` babel prese for browserify transformation instead of `es2015`
Nicolas Coden [Fri, 1 Jun 2018 21:15:07 +0000 (23:15 +0200)]
Merge pull request #11315 from ncoden/fix/breakpoint-max-width-precision-11313
fix: lower breakpoint max value precision to avoid rounding #11313
Nicolas Coden [Thu, 31 May 2018 21:33:06 +0000 (23:33 +0200)]
fix: revert mistakenly changed `$global-flexbox` setting in #11315
Nicolas Coden [Thu, 31 May 2018 21:00:02 +0000 (23:00 +0200)]
Merge pull request #11308 from ncoden/chore/remove-unused-dependencies
chore: remove unused dependencies
Nicolas Coden [Thu, 31 May 2018 20:56:19 +0000 (22:56 +0200)]
fix: lower breakpoint max value precision to avoid rounding #11313
As seen in #10978, we need a subpixel precision to handle zoomed browsers. But browsers handle sub-pixel mediaqueries badly and a too high precision causes the issue described above. So we have to find the proper balance for a maximum support.
Changes:
* set breakpoint max values to `0.00125em` (`0.02px`) under the next breakpoint instead of `0.00001`.
Closes https://github.com/zurb/foundation-sites/issues/11313
Nicolas Coden [Tue, 29 May 2018 21:58:38 +0000 (23:58 +0200)]
chore: remove unused dependencies
Remove dependencies:
* `dateformat`
* `gaze`
These dependencies are not used in CLI, JS, Sass or `foundation-docs`.
Keep dependencies:
* `util-deprecate`: it is probable that we will have to add and remove it very often.
Nicolas Coden [Tue, 29 May 2018 21:36:50 +0000 (23:36 +0200)]
Merge pull request #11306 from zurb/dependabot/npm_and_yarn/husky-1.0.0-rc.8
build: bump husky from 1.0.0-rc.6 to 1.0.0-rc.8
Nicolas Coden [Tue, 29 May 2018 21:36:05 +0000 (23:36 +0200)]
Merge pull request #11305 from zurb/dependabot/npm_and_yarn/webpack-4.9.1
build: bump webpack from 4.8.3 to 4.9.1
Nicolas Coden [Mon, 28 May 2018 18:14:20 +0000 (20:14 +0200)]
Merge pull request #11300 from ncoden/fix/xy-cell-gutter-fallback-11194
fix: use fallback gutter for fallback breakpoint in XY cell #11194
Nicolas Coden [Mon, 28 May 2018 18:13:40 +0000 (20:13 +0200)]
Merge pull request #11301 from zurb/dependabot/npm_and_yarn/sinon-5.0.10
build: bump sinon from 5.0.7 to 5.0.10
Nicolas Coden [Mon, 28 May 2018 18:12:34 +0000 (20:12 +0200)]
Merge pull request #11302 from zurb/dependabot/npm_and_yarn/gulp-sass-lint-1.4.0
build: bump gulp-sass-lint from 1.3.4 to 1.4.0
Nicolas Coden [Mon, 28 May 2018 18:11:09 +0000 (20:11 +0200)]
Merge pull request #11303 from zurb/dependabot/npm_and_yarn/autoprefixer-8.5.1
build: bump autoprefixer from 8.5.0 to 8.5.1
dependabot[bot] [Mon, 28 May 2018 09:23:22 +0000 (09:23 +0000)]
build: bump husky from 1.0.0-rc.6 to 1.0.0-rc.8
Bumps [husky](https://github.com/typicode/husky) from 1.0.0-rc.6 to 1.0.0-rc.8.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.0.0-rc.6...v1.0.0-rc.8)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 28 May 2018 09:23:14 +0000 (09:23 +0000)]
build: bump webpack from 4.8.3 to 4.9.1
Bumps [webpack](https://github.com/webpack/webpack) from 4.8.3 to 4.9.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.8.3...v4.9.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 28 May 2018 09:22:39 +0000 (09:22 +0000)]
build: bump autoprefixer from 8.5.0 to 8.5.1
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 8.5.0 to 8.5.1.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/8.5.0...8.5.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 28 May 2018 09:22:22 +0000 (09:22 +0000)]
build: bump gulp-sass-lint from 1.3.4 to 1.4.0
Bumps [gulp-sass-lint](https://github.com/sasstools/gulp-sass-lint) from 1.3.4 to 1.4.0.
- [Release notes](https://github.com/sasstools/gulp-sass-lint/releases)
- [Changelog](https://github.com/sasstools/gulp-sass-lint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sasstools/gulp-sass-lint/compare/v1.3.4...v1.4.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 28 May 2018 09:21:49 +0000 (09:21 +0000)]
build: bump sinon from 5.0.7 to 5.0.10
Bumps [sinon](https://github.com/sinonjs/sinon) from 5.0.7 to 5.0.10.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v5.0.7...v5.0.10)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Sun, 27 May 2018 19:19:04 +0000 (21:19 +0200)]
Merge pull request #11265 from thoughtassassin/filter-elements-with-plugins-in-reflow
feat: filter elements with plugins from reflow method
Nicolas Coden [Sat, 26 May 2018 21:09:35 +0000 (23:09 +0200)]
docs: fix typo in javascript setup
Nicolas Coden [Sat, 26 May 2018 21:03:20 +0000 (23:03 +0200)]
docs: add warning about global foundation() performances
Nicolas Coden [Fri, 25 May 2018 21:17:25 +0000 (23:17 +0200)]
fix: use fallback gutter for fallback breakpoint in XY cell #11194
When no breakpoint is passed to `xy-cell` and a fallback "zero" breakpoint is used, use a fallback gutter as well if it is not found. This way, an implicit behavior stay implicit and a warning is thrown only if a breakpoint was explicitely given.
Closes https://github.com/zurb/foundation-sites/issues/11194
Nicolas Coden [Thu, 24 May 2018 21:24:09 +0000 (23:24 +0200)]
Merge pull request #11274 from ncoden/fix/typescript-foudation-global-definition-11193
fix: fix Typescript jQuery foundation method definition #11193
Nicolas Coden [Thu, 24 May 2018 21:23:56 +0000 (23:23 +0200)]
Merge pull request #11269 from ncoden/chore/move-typescript-out-of-dist-folder
chore: move typescript definitions out of dist folder
Nicolas Coden [Thu, 24 May 2018 21:23:08 +0000 (23:23 +0200)]
Merge pull request #11292 from ncoden/chore/update-foundation-docs
chore: update `foundation-docs` for the "ClipboardJS" patch
Nicolas Coden [Thu, 24 May 2018 21:22:34 +0000 (23:22 +0200)]
Merge pull request #11294 from ncoden/chore/move-jquery-to-peer-dependencies-11290
chore: move jQuery & what-input to peerDependencies #11290
Nicolas Coden [Wed, 23 May 2018 21:37:07 +0000 (23:37 +0200)]
Merge pull request #11286 from zurb/dependabot/npm_and_yarn/mocha-5.2.0
build: bump mocha from 5.1.1 to 5.2.0
Nicolas Coden [Wed, 23 May 2018 21:35:23 +0000 (23:35 +0200)]
Merge pull request #11288 from zurb/dependabot/npm_and_yarn/gulp-replace-1.0.0
build: bump gulp-replace from 0.6.1 to 1.0.0
Nicolas Coden [Wed, 23 May 2018 21:34:41 +0000 (23:34 +0200)]
Merge pull request #11285 from zurb/dependabot/npm_and_yarn/gulp-rename-1.2.3
build: bump gulp-rename from 1.2.2 to 1.2.3
Nicolas Coden [Wed, 23 May 2018 21:31:55 +0000 (23:31 +0200)]
Merge pull request #11287 from zurb/dependabot/npm_and_yarn/what-input-5.1.0
build: bump what-input from 5.0.7 to 5.1.0
Nicolas Coden [Tue, 22 May 2018 21:29:33 +0000 (23:29 +0200)]
Merge pull request #11289 from zurb/dependabot/npm_and_yarn/husky-1.0.0-rc.6
build: bump husky from 1.0.0-rc.4 to 1.0.0-rc.6
Nicolas Coden [Tue, 22 May 2018 21:15:02 +0000 (23:15 +0200)]
chore: move jQuery & what-input to peerDependencies #11290
peerDependencies is for dependencies that are exposed to (and expected to be used by) the consuming code, as opposed to "private" dependencies that are not exposed, and are only an implementation detail.
* We need `jQuery` and `motion-ui` as peerDependencies instead of dependencies because we actually expect the user to install them. We cannot simply remove them because we still need the package managers to check for versions compatibilities and warn the user if they are missing.
* We need `jQuery` and `motion-ui` as devDependencies too because we use them for tests/build/documentation and peerDependencies are not installed (even in development mode - https://github.com/yarnpkg/yarn/issues/1503).
See https://github.com/zurb/foundation-sites/issues/11290
Nicolas Coden [Mon, 21 May 2018 17:46:25 +0000 (19:46 +0200)]
chore: update foundation-docs
Required because of
b323354 that renamed Clipboard to ClipboardJS
Included changes:
*
1489588 style: add newline
*
5184de6 style: remove extraneous space
*
aaa25b0 fix: increase z-index of topbar
*
65242d8 chore: update lockfile
*
477baf9 tests: use npm ci
*
b323354 fix: migrate to the new ClipboardJS instantiation to resolve conflict with window.Clipboard
*
9331594 fix: add namespace to type class in Sass reference table
Nicolas Coden [Mon, 21 May 2018 14:40:25 +0000 (16:40 +0200)]
Merge pull request #11279 from ncoden/test/fix-interchange-debonce-test-race-condition
test: fix interchange debonce test race condition
dependabot[bot] [Mon, 21 May 2018 09:21:59 +0000 (09:21 +0000)]
build: bump husky from 1.0.0-rc.4 to 1.0.0-rc.6
Bumps [husky](https://github.com/typicode/husky) from 1.0.0-rc.4 to 1.0.0-rc.6.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v1.0.0-rc.4...v1.0.0-rc.6)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 21 May 2018 09:21:29 +0000 (09:21 +0000)]
build: bump gulp-replace from 0.6.1 to 1.0.0
Bumps [gulp-replace](https://github.com/lazd/gulp-replace) from 0.6.1 to 1.0.0.
- [Release notes](https://github.com/lazd/gulp-replace/releases)
- [Commits](https://github.com/lazd/gulp-replace/commits)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 21 May 2018 09:20:49 +0000 (09:20 +0000)]
build: bump what-input from 5.0.7 to 5.1.0
Bumps [what-input](https://github.com/ten1seven/what-input) from 5.0.7 to 5.1.0.
- [Release notes](https://github.com/ten1seven/what-input/releases)
- [Commits](https://github.com/ten1seven/what-input/compare/v5.0.7...v5.1.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 21 May 2018 09:20:17 +0000 (09:20 +0000)]
build: bump mocha from 5.1.1 to 5.2.0
Bumps [mocha](https://github.com/mochajs/mocha) from 5.1.1 to 5.2.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v5.1.1...v5.2.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
dependabot[bot] [Mon, 21 May 2018 09:19:58 +0000 (09:19 +0000)]
build: bump gulp-rename from 1.2.2 to 1.2.3
Bumps [gulp-rename](https://github.com/hparra/gulp-rename) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/hparra/gulp-rename/releases)
- [Commits](https://github.com/hparra/gulp-rename/commits)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Sun, 20 May 2018 20:04:50 +0000 (22:04 +0200)]
Merge pull request #11283 from adamklepacz/patch-1
Update forms.md
Adam Klepacz [Sun, 20 May 2018 19:17:34 +0000 (21:17 +0200)]
Update forms.md
I have changed classes in #### Checkboxes and Radio Buttons cause in yours HTML EXAMPLE third checkbox was collapsing to the next line.
Now it displays proper
Nicolas Coden [Sat, 19 May 2018 16:03:37 +0000 (18:03 +0200)]
Merge pull request #11275 from ncoden/test/wait-ie-render-to-test-focus
test: give time to IE to render elements before testing focus
Nicolas Coden [Fri, 18 May 2018 21:51:06 +0000 (23:51 +0200)]
Merge pull request #11280 from ncoden/docs/clarify-xy-grid-frame-example
docs: clarify usage of body overflow in XY Grid grid-frame example
Chris [Wed, 16 May 2018 20:53:11 +0000 (16:53 -0400)]
docs: clarify usage of body overflow in XY Grid grid-frame example
See [comment](https://github.com/zurb/foundation-sites/issues/11191#issuecomment-
389658664 ).
Nicolas Coden [Fri, 18 May 2018 20:16:27 +0000 (22:16 +0200)]
docs: add doc for "tryInterval" test utility
Nicolas Coden [Fri, 18 May 2018 20:13:04 +0000 (22:13 +0200)]
test: wait for debounce for slow browsers in Interval debounce test
Timeout delays are most often not respected and the differences between several timeouts running in parrallel can be huge. To prevent race conditions on slower browsers, we run the debounce test several time to wait for the debounced event to be called, which may be finally called way after the expected time.
Nicolas Coden [Fri, 18 May 2018 20:00:49 +0000 (22:00 +0200)]
feat: add `testInterval` test utility
Nicolas Coden [Wed, 16 May 2018 21:50:06 +0000 (23:50 +0200)]
Merge pull request #11272 from ncoden/docs/acccordion-typo-11271
docs: fix typo in Accordion docs
Nicolas Coden [Wed, 16 May 2018 21:36:12 +0000 (23:36 +0200)]
test: give time to IE to render elements before testing focus
For all the following tests testing the currently focused elements,
IE 9/10/11 may not focus the tested element because is is still
rendering. To prevent this, we wait after the component initialization.
Fixing this IE behavior in components would require to delay the focus
for all browsers then trigger a "ready" event.
See https://stackoverflow.com/a/
2600261 /
4317384
See https://stackoverflow.com/a/
36032615 /
4317384
Nicolas Coden [Wed, 16 May 2018 21:03:38 +0000 (23:03 +0200)]
fix: fix Typescript jQuery foundation method definition #11193
Foundation public methods does not all take a jQuery element as first parameter. They can actually take anything and the jQuery interface does not allow to know by the method definition to which plugin the method belong (and what are its arguments types). So the only solution seems to accept anything.
See https://github.com/zurb/foundation-sites/pull/11199#discussion_r183766940
Closes https://github.com/zurb/foundation-sites/issues/11193
Nicolas Coden [Wed, 16 May 2018 20:55:47 +0000 (22:55 +0200)]
docs: fix typo in Accordion docs
Closes https://github.com/zurb/foundation-sites/issues/11271
Nicolas Coden [Wed, 16 May 2018 16:29:27 +0000 (18:29 +0200)]
Merge pull request #11268 from ncoden/chore/eyeglass-compatible-versions-11263
chore: revise Eyeglass compatibility range
Nicolas Coden [Tue, 15 May 2018 21:56:30 +0000 (23:56 +0200)]
chore: move typescript definitions out of dist folders
Dist folder is reserved for generated distribution files.
Changes:
* Copy `dist/foundation.d.s` to `js/typescript`
* Move `js/typescript/foundation.d.ts` to `dist` in the gulp `deploy:dist` task
Nicolas Coden [Tue, 15 May 2018 21:23:47 +0000 (23:23 +0200)]
Merge pull request #11259 from ncoden/test/minimize-interchange-debouce-test-race-condition
test: minimize interchange debouce test race condition
Nicolas Coden [Tue, 15 May 2018 20:51:40 +0000 (22:51 +0200)]
Merge pull request #11258 from ncoden/fix/prevent-triggers-utils-to-load-twice
fix: prevent to initialize Triggers twice before window is loaded
Nicolas Coden [Tue, 15 May 2018 20:50:07 +0000 (22:50 +0200)]
Merge pull request #11240 from ncoden/docs/add-edge-to-compatibility-table
docs: add Edge to flexbox supported browsers
Nicolas Coden [Tue, 15 May 2018 19:56:16 +0000 (21:56 +0200)]
chore: use appropriate eyeglass compatibility range
The current Foundation codebase supports all eyeglass versions since its first stable release `v0.8.0`.
Changes:
* Support eyeglass `>=0.8.0` instead of `~0.8.0` in package.json
Closes https://github.com/zurb/foundation-sites/issues/11263
David Krause [Mon, 14 May 2018 20:56:06 +0000 (15:56 -0500)]
feat: filter elements with plugins from reflow method
Filter elements with plugins from reflow method:
- Add filter method to find to line 152 of foundation.core.js
- Remove warning from subsequest each method
Nicolas Coden [Mon, 14 May 2018 20:06:24 +0000 (22:06 +0200)]
Merge pull request #11261 from zurb/dependabot/npm_and_yarn/autoprefixer-8.5.0
build: bump autoprefixer from 8.4.1 to 8.5.0
Nicolas Coden [Mon, 14 May 2018 16:29:03 +0000 (18:29 +0200)]
Merge pull request #11262 from brianshano/patch-2
docs: fix clashing IDs in form checkboxes
Brian Shanley [Mon, 14 May 2018 10:18:47 +0000 (11:18 +0100)]
Fix: Docs: clashing IDs in form checkboxes
Checkbox IDs in the "Forms" component are the same as in "Abide" and clashing with each other.
I have changed the IDs in "Forms" so they are distinct
dependabot[bot] [Mon, 14 May 2018 09:27:00 +0000 (09:27 +0000)]
build: bump autoprefixer from 8.4.1 to 8.5.0
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 8.4.1 to 8.5.0.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/8.4.1...8.5.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Nicolas Coden [Sun, 13 May 2018 20:25:11 +0000 (22:25 +0200)]
Merge pull request #11253 from zurb/dependabot/npm_and_yarn/webpack-4.8.3
build: bump webpack from 4.7.0 to 4.8.3
Nicolas Coden [Sun, 13 May 2018 20:21:01 +0000 (22:21 +0200)]
Merge pull request #11256 from zurb/dependabot/npm_and_yarn/sinon-5.0.7
build: bump sinon from 5.0.5 to 5.0.7
Nicolas Coden [Sun, 13 May 2018 20:20:28 +0000 (22:20 +0200)]
Merge pull request #11255 from zurb/dependabot/npm_and_yarn/husky-1.0.0-rc.4
build: bump husky from 1.0.0-rc.2 to 1.0.0-rc.4
Nicolas Coden [Sun, 13 May 2018 20:19:42 +0000 (22:19 +0200)]
Merge pull request #11257 from datatypevoid/spelling-corrections
docs: spelling corrections in typography
Nicolas Coden [Sun, 13 May 2018 19:46:58 +0000 (21:46 +0200)]
test: improve Interchange debounce test precision
Prevent some race condition by improving the interchange debounce test precision.
Changes:
* initialize Triggers manually to control and test the debounce time
* nest the timeout that trigger "resize" to make the delay between the last "resize" and the test check more precise (a bit more than the debounce time).
Timeout delays are most often not respected and the differences between several timeouts running in parrallel can be huge.
Nicolas Coden [Sun, 13 May 2018 19:38:08 +0000 (21:38 +0200)]
fix: prevent to initialize Triggers twice before window is loaded
Changes:
* check if Triggers is already initialized just before it should be initialized, once the window is loaded.