]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
thirdparty/foundation/foundation-sites.git
6 years agofix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879 11462/head
Nicolas Coden [Sat, 18 Aug 2018 21:45:12 +0000 (23:45 +0200)] 
fix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879

The CSS viewport is the larger possible view height and does not change with the visible area height. This is an intended behavior for optimization reason. See this article:

See: https://nicolas-hoizey.com/2015/02/viewport-height-is-taller-than-the-visible-part-of-the-document-in-some-mobile-browsers.html
See: https://github.com/zurb/foundation-sites/issues/10879#issuecomment-414087274

Closes https://github.com/zurb/foundation-sites/issues/10879

6 years agoMerge pull request #11461 from DanielRuf/fix/interchange-remove-extraneous-regular...
Nicolas Coden [Fri, 17 Aug 2018 20:33:01 +0000 (22:33 +0200)] 
Merge pull request #11461 from DanielRuf/fix/interchange-remove-extraneous-regular-expression-11460

fix: remove extraneous regular expression in interchange, closes #11460

6 years agofix: remove extraneous regular expression in interchange, closes #11460 11461/head
Daniel Ruf [Fri, 17 Aug 2018 19:40:36 +0000 (21:40 +0200)] 
fix: remove extraneous regular expression in interchange, closes #11460

6 years agoMerge pull request #10884 from ncoden/feat/interchange-type-option-10883
Nicolas Coden [Thu, 16 Aug 2018 21:37:06 +0000 (23:37 +0200)] 
Merge pull request #10884 from ncoden/feat/interchange-type-option-10883

feat: add "type" option to force interchange replacement method #10883

6 years agoMerge branch 'develop' into feat/interchange-type-option-10883 10884/head
Nicolas Coden [Thu, 16 Aug 2018 21:25:47 +0000 (23:25 +0200)] 
Merge branch 'develop' into feat/interchange-type-option-10883

6 years agofeat: add support for "JPEG" picture in Interchange
Nicolas Coden [Thu, 16 Aug 2018 21:25:36 +0000 (23:25 +0200)] 
feat: add support for "JPEG" picture in Interchange

6 years agodocs: fix typos in Interchange
Nicolas Coden [Thu, 16 Aug 2018 21:24:28 +0000 (23:24 +0200)] 
docs: fix typos in Interchange

6 years agoMerge pull request #11450 from DanielRuf/fix/correct-selector-11447
Nicolas Coden [Wed, 15 Aug 2018 21:52:16 +0000 (23:52 +0200)] 
Merge pull request #11450 from DanielRuf/fix/correct-selector-11447

fix: use correct selector, fixes #11447

6 years agofix: use correct selector, fixes #11447 11450/head
Daniel Ruf [Tue, 14 Aug 2018 07:57:08 +0000 (09:57 +0200)] 
fix: use correct selector, fixes #11447

6 years agoMerge pull request #11444 from aorinevo/I-11443_develop_AN_gulp_fix
Nicolas Coden [Mon, 13 Aug 2018 21:28:25 +0000 (23:28 +0200)] 
Merge pull request #11444 from aorinevo/I-11443_develop_AN_gulp_fix

fix: i11443 gulp watch

6 years agoMerge pull request #11448 from melek/patch-1
Nicolas Coden [Mon, 13 Aug 2018 21:01:19 +0000 (23:01 +0200)] 
Merge pull request #11448 from melek/patch-1

docs: Fix sentence fragment in installation.md

6 years agofix: prevent "test:reload" task to block future reloads 11444/head
Nicolas Coden [Mon, 13 Aug 2018 20:55:59 +0000 (22:55 +0200)] 
fix: prevent "test:reload" task to block future reloads

6 years agodocs: fix Foundation 6 CLI uninstallation note phrasing 11448/head
Nicolas Coden [Mon, 13 Aug 2018 20:48:06 +0000 (22:48 +0200)] 
docs: fix Foundation 6 CLI uninstallation note phrasing

6 years agoUpdate installation.md
Lionel [Mon, 13 Aug 2018 19:33:37 +0000 (12:33 -0700)] 
Update installation.md

6 years agofix: i11443 gulp watch
Aori Nevo [Sun, 12 Aug 2018 15:12:56 +0000 (11:12 -0400)] 
fix: i11443 gulp watch

6 years agoMerge pull request #11435 from ncoden/docs/motion-ui-components
Nicolas Coden [Thu, 9 Aug 2018 21:56:39 +0000 (23:56 +0200)] 
Merge pull request #11435 from ncoden/docs/motion-ui-components

docs: add section about plugins options and improve examples in Motion UI docs

6 years agoMerge pull request #11433 from ncoden/fix/dropdown-menu-top-level-items-11412
Nicolas Coden [Thu, 9 Aug 2018 21:56:14 +0000 (23:56 +0200)] 
Merge pull request #11433 from ncoden/fix/dropdown-menu-top-level-items-11412

fix: fix Dropdown Menu top level item properties #11412

6 years agoMerge pull request #11000 from DanielRuf/fix/forms-select-top-bottom-padding-7916
Nicolas Coden [Mon, 6 Aug 2018 20:39:00 +0000 (22:39 +0200)] 
Merge pull request #11000 from DanielRuf/fix/forms-select-top-bottom-padding-7916

fix: remove top and bottom padding from select tags

7 years agodocs: add a simpler example in Motion UI docs header 11435/head
Nicolas Coden [Sun, 5 Aug 2018 21:59:44 +0000 (23:59 +0200)] 
docs: add a simpler example in Motion UI docs header

7 years agodocs: move Motion UI Toggler example to its own section
Nicolas Coden [Sun, 5 Aug 2018 21:59:28 +0000 (23:59 +0200)] 
docs: move Motion UI Toggler example to its own section

7 years agoMerge pull request #11425 from ncoden/fix/drilldown-submenu-height-11416
Nicolas Coden [Sat, 4 Aug 2018 17:28:56 +0000 (19:28 +0200)] 
Merge pull request #11425 from ncoden/fix/drilldown-submenu-height-11416

fix: open Drilldrown with the currently opened (sub)menu height #11416

7 years agofix: fix Dropdown Menu top level item properties #11412 11433/head
Nicolas Coden [Thu, 2 Aug 2018 22:34:27 +0000 (00:34 +0200)] 
fix: fix Dropdown Menu top level item properties #11412

Changes:
- Only apply top-level styles to top-level items. This increase specificity but this markup structure is alreaddy assumed elsewhere in the component.
- Remove the default `$white` background on top-level items: it was never applied before #11377 and could now cause visual changes.

Closes https://github.com/zurb/foundation-sites/issues/11412

7 years agoclean: remove infinite timeout used for development in Drilldown tests 11425/head
Nicolas Coden [Thu, 2 Aug 2018 08:47:21 +0000 (10:47 +0200)] 
clean: remove infinite timeout used for development in Drilldown tests

7 years agotest: add unit test for the Drilldown height when reopened from a submenu #11416
Nicolas Coden [Tue, 31 Jul 2018 22:29:00 +0000 (00:29 +0200)] 
test: add unit test for the Drilldown height when reopened from a submenu #11416

See https://github.com/zurb/foundation-sites/issues/11416

7 years agofix: set a default for the current menu in Drilldown before it is used
Nicolas Coden [Tue, 31 Jul 2018 22:26:31 +0000 (00:26 +0200)] 
fix: set a default for the current menu in Drilldown before it is used

`$currentMenu` is used by `_getMaxDims`.

Changes: move `$currentMenu` initialization to `_init()`

7 years agotest: check the Drilldrown wrapper height instead of the element height
Nicolas Coden [Tue, 31 Jul 2018 22:24:36 +0000 (00:24 +0200)] 
test: check the Drilldrown wrapper height instead of the element height

Test the dynamic height of the wrapper instead of the static height of the element (data-drilldrown inside the wrapper).

7 years agotest: add unit tests for Drilldown resizing on toggling
Nicolas Coden [Tue, 31 Jul 2018 21:54:51 +0000 (23:54 +0200)] 
test: add unit tests for Drilldown resizing on toggling

7 years agofix: set the Drilldown height for on the currently opened (sub)menu #11416
Nicolas Coden [Mon, 30 Jul 2018 22:13:00 +0000 (00:13 +0200)] 
fix: set the Drilldown height for on the currently opened (sub)menu #11416

Changes:
- Save the currently opened sub-menu as `$currentMenu`
- When calculating the Drilldown wrapper height, use the currently opened menu height instead of the primary menu.

Closes https://github.com/zurb/foundation-sites/issues/11416

7 years agoMerge pull request #11419 from ncoden/chore/update-dependencies-2018-07-26
Nicolas Coden [Fri, 27 Jul 2018 19:08:13 +0000 (21:08 +0200)] 
Merge pull request #11419 from ncoden/chore/update-dependencies-2018-07-26

chore: update dependencies (2018-07-26)

7 years agochore: update lockfiles (2018-07-26) 11419/head
Nicolas Coden [Thu, 26 Jul 2018 21:47:07 +0000 (23:47 +0200)] 
chore: update lockfiles (2018-07-26)

7 years agochore: update dependencies (2018-07-26)
Nicolas Coden [Thu, 26 Jul 2018 21:41:53 +0000 (23:41 +0200)] 
chore: update dependencies (2018-07-26)

| Package           | From          | To            |
| :---------------- | :------------ | :------------ |
| @babel/core       | 7.0.0-beta.52 | 7.0.0-beta.54 |
| @babel/preset-env | 7.0.0-beta.52 | 7.0.0-beta.54 |
| autoprefixer      | ^8.2.0        | 9.0.1         |
| webpack-stream    | ^4.0.3        | 5.0.0         |

7 years agoMerge pull request #11411 from arloduff/fix/check-for-null-related-target
Nicolas Coden [Fri, 20 Jul 2018 21:57:21 +0000 (23:57 +0200)] 
Merge pull request #11411 from arloduff/fix/check-for-null-related-target

fix: resolve dropdown menu disappearing for #11410

7 years agodocs: fix typo in bug description in dropdownMenu 11411/head
Nicolas Coden [Fri, 20 Jul 2018 19:23:18 +0000 (21:23 +0200)] 
docs: fix typo in bug description in dropdownMenu

7 years agodocs: improve description of #11410 bug fix in dropdownMenu
Nicolas Coden [Thu, 19 Jul 2018 21:15:25 +0000 (23:15 +0200)] 
docs: improve description of #11410 bug fix in dropdownMenu

7 years agostyle: improve dropdown hiding event readability in dropdownMenu
Nicolas Coden [Thu, 19 Jul 2018 21:14:21 +0000 (23:14 +0200)] 
style: improve dropdown hiding event readability in dropdownMenu

7 years agofix: move relatedTarget null check to setTimeout for #11410
Arlo Duff [Thu, 19 Jul 2018 14:43:01 +0000 (10:43 -0400)] 
fix: move relatedTarget null check to setTimeout for #11410

7 years agofix: resolve dropdown menu disappearing for #11410
Arlo Duff [Tue, 17 Jul 2018 17:54:59 +0000 (13:54 -0400)] 
fix: resolve dropdown menu disappearing for #11410

7 years agoMerge pull request #11409 from veselinn/fix/slider-handle-negative-data-start
Nicolas Coden [Tue, 17 Jul 2018 07:27:40 +0000 (09:27 +0200)] 
Merge pull request #11409 from veselinn/fix/slider-handle-negative-data-start

fix: slider handle negative data-start values

7 years agotest: add tests for Slider._adjustValue 11409/head
Veselin Nikolov [Tue, 17 Jul 2018 04:52:19 +0000 (07:52 +0300)] 
test: add tests for Slider._adjustValue

7 years agofix: remove unnecessary if from slider
Veselin Nikolov [Mon, 16 Jul 2018 19:06:37 +0000 (22:06 +0300)] 
fix: remove unnecessary if from slider

7 years agofix: slider handle negative data-start values
Veselin Nikolov [Mon, 16 Jul 2018 15:26:25 +0000 (18:26 +0300)] 
fix: slider handle negative data-start values

7 years agoMerge pull request #11393 from DanielRuf/fix/matchmedia-polyfill-window-fix-ie11
Nicolas Coden [Wed, 11 Jul 2018 19:31:34 +0000 (21:31 +0200)] 
Merge pull request #11393 from DanielRuf/fix/matchmedia-polyfill-window-fix-ie11

fix: set matchMedia on window to fix issue on IE11, fixes #11358

7 years agoMerge pull request #11397 from ncoden/fix/xy-grid-responsive-modifiers-reset-10891-2
Nicolas Coden [Wed, 11 Jul 2018 19:14:01 +0000 (21:14 +0200)] 
Merge pull request #11397 from ncoden/fix/xy-grid-responsive-modifiers-reset-10891-2

fix: optimize & add missing properties in XY Grid responsive cell modifiers

7 years agochore: update MatchMedia polyfill to v0.3.1 11393/head
Nicolas Coden [Wed, 11 Jul 2018 19:13:24 +0000 (21:13 +0200)] 
chore: update MatchMedia polyfill to v0.3.1

7 years agoMerge pull request #11394 from ncoden/chore/dist-js-plugins-sourcemaps
Nicolas Coden [Tue, 10 Jul 2018 21:51:31 +0000 (23:51 +0200)] 
Merge pull request #11394 from ncoden/chore/dist-js-plugins-sourcemaps

chore: update sourcemaps of distributed JS plugins

7 years agofix: add missing flex reset in XY Grid responsive vertical cell widths 11397/head
Nicolas Coden [Tue, 10 Jul 2018 18:52:57 +0000 (20:52 +0200)] 
fix: add missing flex reset in XY Grid responsive vertical cell widths

Apply #10891 with optimizations introduced by 7e34dc3b5 to vertical cells.

See https://github.com/zurb/foundation-sites/issues/10891

7 years agoperf: factorize XY grid responsive modifiers
Nicolas Coden [Tue, 10 Jul 2018 18:42:33 +0000 (20:42 +0200)] 
perf: factorize XY grid responsive modifiers

See diff at https://www.diffchecker.com/NWHV8CRG

7 years agochore: update sourcemaps of distributed JS plugins 11394/head
Nicolas Coden [Mon, 9 Jul 2018 21:46:05 +0000 (23:46 +0200)] 
chore: update sourcemaps of distributed JS plugins

Sourcemaps for distribution main files and build JS plugins were added in https://github.com/zurb/foundation-sites/pull/11012 but distribution JS plugins were forgotten. This commit change the `deploy:plugins` gulp task to generate and copy sourcemaps for JS plugin alongside their source files.

Changes:
* Split `deploy:plugins` into `deploy:plugins:sources` and `deploy:plugins:sourcemaps`
* Generate sourcemaps for minified plugins in `deploy:plugins:sources`
* Copy sourcemaps for plugins to dist folder in `deploy:plugins:sourcemaps`

7 years agofix: set matchMedia on window to fix issue on IE11, fixes #11358
Daniel Ruf [Mon, 9 Jul 2018 21:38:24 +0000 (23:38 +0200)] 
fix: set matchMedia on window to fix issue on IE11, fixes #11358

7 years agoMerge pull request #11389 from ncoden/chore/update-dependencies-2018-07-06
Nicolas Coden [Sun, 8 Jul 2018 18:10:23 +0000 (20:10 +0200)] 
Merge pull request #11389 from ncoden/chore/update-dependencies-2018-07-06

chore: update dependencies (2018-07-06)

7 years agoMerge pull request #11381 from ncoden/fix/initialize-media-query
Nicolas Coden [Sat, 7 Jul 2018 20:54:25 +0000 (22:54 +0200)] 
Merge pull request #11381 from ncoden/fix/initialize-media-query

fix: initialize MediaQuery in global Foundation entry

7 years agochore: update lockfiles (2018-07-06) 11389/head
Nicolas Coden [Sat, 7 Jul 2018 20:53:37 +0000 (22:53 +0200)] 
chore: update lockfiles (2018-07-06)

7 years agochore: remove unused dependency "opener"
Nicolas Coden [Sat, 7 Jul 2018 20:35:21 +0000 (22:35 +0200)] 
chore: remove unused dependency "opener"

7 years agochore: update dependencies (2018-07-06)
Nicolas Coden [Sat, 7 Jul 2018 20:13:05 +0000 (22:13 +0200)] 
chore: update dependencies (2018-07-06)

| Package           | From          | To           Â |
| :---------------- | :------------ | :------------ |
| @babel/preset-env | 7.0.0-beta.44 | 7.0.0-beta.52 |
| @babel/core       | 7.0.0-beta.44 | 7.0.0-beta.52 |
| gulp-eslint       | ^4.0.2        | 5.0.0         |
| gulp-sourcemaps   | ^2.6.0        | 1.12.1        |
| yargs             | ^11.0.0       | 12.0.1        |

There is no breaking changes affecting foundation-sites

7 years agochore: upgrade gulp to v4.0.0
Nicolas Coden [Sat, 7 Jul 2018 20:06:52 +0000 (22:06 +0200)] 
chore: upgrade gulp to v4.0.0

Changes:
- bump gulp version
- update lockfiles
- use `gulp.series` and `gulp.parallel` instead of `run-sequence` and deprecated task dependencies
- remove unused dependencies in gulpfiles

7 years agoMerge pull request #11378 from ncoden/docs/improve-gitflow-model-for-supported-versions
Nicolas Coden [Thu, 5 Jul 2018 21:24:26 +0000 (23:24 +0200)] 
Merge pull request #11378 from ncoden/docs/improve-gitflow-model-for-supported-versions

docs: improve gitflow model for supported versions

7 years agoMerge pull request #11382 from ncoden/docs/media-query-global-styles-notice-11374
Nicolas Coden [Thu, 5 Jul 2018 21:22:36 +0000 (23:22 +0200)] 
Merge pull request #11382 from ncoden/docs/media-query-global-styles-notice-11374

docs: add a notice about required CSS in Media Query doc

7 years agodocs: use valid branch names for supported versions 11378/head
Nicolas Coden [Thu, 5 Jul 2018 21:04:14 +0000 (23:04 +0200)] 
docs: use valid branch names for supported versions

See https://stackoverflow.com/a/22630664/4317384

7 years agoMerge pull request #11379 from absolunet/fix-elseif
Nicolas Coden [Wed, 4 Jul 2018 19:20:20 +0000 (21:20 +0200)] 
Merge pull request #11379 from absolunet/fix-elseif

Replace deprecated `@elseif` for `@else if`

7 years agodocs: fix typo in Media Query warning about required CSS 11382/head
Nicolas Coden [Thu, 5 Jul 2018 20:02:01 +0000 (22:02 +0200)] 
docs: fix typo in Media Query warning about required CSS

7 years agoMerge pull request #11377 from rlhawk/dropdown-menu
Nicolas Coden [Wed, 4 Jul 2018 20:53:39 +0000 (22:53 +0200)] 
Merge pull request #11377 from rlhawk/dropdown-menu

Define dropdown menu background in foundation-dropdown-menu mixin

7 years agodocs: add a notice about required CSS in Media Query doc
Nicolas Coden [Wed, 4 Jul 2018 20:43:05 +0000 (22:43 +0200)] 
docs: add a notice about required CSS in Media Query doc

Partially resolve https://github.com/zurb/foundation-sites/issues/11374

7 years agofix: initialize MediaQuery in global Foundation entry 11381/head
Nicolas Coden [Wed, 4 Jul 2018 20:04:28 +0000 (22:04 +0200)] 
fix: initialize MediaQuery in global Foundation entry

The MediaQuery utility is not initialized when imported via the global Foundation package. Not before a component using it is used

This commit does the same as #10363 but for the global Foundation entry.

See https://github.com/zurb/foundation-sites/issues/10363

7 years agoMerge pull request #11346 from ncoden/fix/gulp-deploy-task-multiple-completion-callback
Nicolas Coden [Wed, 4 Jul 2018 19:20:12 +0000 (21:20 +0200)] 
Merge pull request #11346 from ncoden/fix/gulp-deploy-task-multiple-completion-callback

fix: fix completion callback called too many time in deploy task

7 years agoMerge pull request #11373 from rlhawk/responsive-toggle
Nicolas Coden [Tue, 3 Jul 2018 21:17:10 +0000 (23:17 +0200)] 
Merge pull request #11373 from rlhawk/responsive-toggle

Use correct data attribute in responsive toggle description

7 years agodocs: improve gitflow model for supported versions
Nicolas Coden [Tue, 3 Jul 2018 20:03:28 +0000 (22:03 +0200)] 
docs: improve gitflow model for supported versions

Currently, supported versions are hosted on `support/<version>`. This bramch is intended to receive all commits and pull requests for compatible patches in order to prepare a release. The release would be made on the same bramch.

The issue with this model is that unline latest versions, support versions are not released on a "safe" branch. In order to resolve this issue and harmonize the way versions are prepared and released, the current commit move `support/<version>` to `develop/<version>` and add `master/<version>`.

Changes:
* Update CONTRIBUTING documentation to describe the `develop/...`+`master/...` approach
* Update GitHub pull request template to advise `develop/...` instead

7 years agoDefine dropdown menu background in foundation-dropdown-menu mixin 11377/head
Rick Hawkins [Tue, 3 Jul 2018 16:52:52 +0000 (09:52 -0700)] 
Define dropdown menu background in foundation-dropdown-menu mixin

7 years agoUse correct data attribute for responsive toggle with animation 11373/head
Rick Hawkins [Mon, 2 Jul 2018 22:42:17 +0000 (15:42 -0700)] 
Use correct data attribute for responsive toggle with animation

7 years agoMerge pull request #11368 from DanielRuf/style/use-typeof-for-checking-undefined...
Nicolas Coden [Mon, 2 Jul 2018 20:23:08 +0000 (22:23 +0200)] 
Merge pull request #11368 from DanielRuf/style/use-typeof-for-checking-undefined-11363

style: use typeof for checking undefined

7 years agoMerge pull request #11366 from ncoden/fix/check-listeners-before-unbind-11360
Nicolas Coden [Mon, 2 Jul 2018 20:18:13 +0000 (22:18 +0200)] 
Merge pull request #11366 from ncoden/fix/check-listeners-before-unbind-11360

fix: prevent removing all listeners by checking them before unbinding

7 years agoMerge pull request #11104 from zurb/andycochran/8833-input-group-label-radius
Nicolas Coden [Mon, 2 Jul 2018 20:17:08 +0000 (22:17 +0200)] 
Merge pull request #11104 from zurb/andycochran/8833-input-group-label-radius

fix radius on input-group-label and input-group-button

7 years agoMerge pull request #11367 from ncoden/fix/fix-bower-json-11364
Nicolas Coden [Mon, 2 Jul 2018 20:16:06 +0000 (22:16 +0200)] 
Merge pull request #11367 from ncoden/fix/fix-bower-json-11364

fix: fix Bower file invalid JSON #11364

7 years agostyle: use typeof for checking undefined 11368/head
Daniel Ruf [Sun, 1 Jul 2018 21:58:09 +0000 (23:58 +0200)] 
style: use typeof for checking undefined

7 years agoMerge branch 'develop' into zurb/andycochran/8833-input-group-label-radius 11104/head
Nicolas Coden [Sun, 1 Jul 2018 21:39:15 +0000 (23:39 +0200)] 
Merge branch 'develop' into zurb/andycochran/8833-input-group-label-radius

7 years agofix: fix Bower file invalid JSON #11364 11367/head
Nicolas Coden [Sun, 1 Jul 2018 20:14:04 +0000 (22:14 +0200)] 
fix: fix Bower file invalid JSON #11364

Changes were introduced in https://github.com/zurb/foundation-sites/pull/11350
Closes https://github.com/zurb/foundation-sites/issues/11364

7 years agorefactor: simplify Input Group border-radius selector
Nicolas Coden [Sun, 1 Jul 2018 20:00:40 +0000 (22:00 +0200)] 
refactor: simplify Input Group border-radius selector

We should assume as little as possible to HTML structure inside our components. People should be able to freely use the classes of components/elements we provide without limited by self-references and dependencies.

This commit simplify the selector used to apply border-radius on Input Group childreens to make all childreens affected, with a single exception for `.input-group-button` where sub-childreens are affected too.

7 years agofix: remove run-sequence from gulp `deploy:dist` task to detect its end 11346/head
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.

7 years agofix: prevent removing all listeners by checking them before unbinding 11366/head
Nicolas Coden [Sat, 30 Jun 2018 21:16:32 +0000 (23:16 +0200)] 
fix: prevent removing all listeners by checking them before unbinding

$(...).off(undefined) removes all the attached event listeners, including those outside Foundation of unrelated to the issue.

This commit fixes #11360 and probably others issues by checking for variables expected to be listeners names before using it to remove the listeners.

[This fix is compatible with v6.5]

Closes https://github.com/zurb/foundation-sites/issues/11360

7 years agoMerge pull request #11361 from ncoden/fix/xy-grid-zf-size-outside-of-breakpoint
Nicolas Coden [Fri, 29 Jun 2018 19:42:24 +0000 (21:42 +0200)] 
Merge pull request #11361 from ncoden/fix/xy-grid-zf-size-outside-of-breakpoint

fix: remove $-zf-size from non-responsive XY Grid classes generation

7 years agoMerge pull request #11354 from vanilla-thunder/feat/pick-active-menu-item-color-by...
Nicolas Coden [Thu, 28 Jun 2018 23:20:10 +0000 (01:20 +0200)] 
Merge pull request #11354 from vanilla-thunder/feat/pick-active-menu-item-color-by-contrast

feat: automatically pick active menu item color by contrast

7 years agoautomatically pick active menu item text color 11354/head
Marat [Tue, 26 Jun 2018 22:42:23 +0000 (00:42 +0200)] 
automatically pick active menu item text color

picking text color by contrast instead of hardcoded white for easier color scheme customisation

7 years agofix: remove $-zf-size from non-responsive XY Grid classes generation 11361/head
Nicolas Coden [Thu, 28 Jun 2018 17:32:12 +0000 (19:32 +0200)] 
fix: remove $-zf-size from non-responsive XY Grid classes generation

`$-zf-size` is only set within breakpoints. Breakpoints are not expected to be used around the `xy-vertical-grid-classes()` mixin.

Note: a more appropriate fix would be to rely on the `xy-cell()` mixin instead of `xy-cell-static()` to fully support explicit/implicit/null breakpoint option. However this may introduce breaking changes, so this will be kept for v6.6.0.

[This fix is compatible with v6.5]

7 years agoMerge pull request #11352 from ncoden/chore/update-dev-jauery-against-cve
Nicolas Coden [Wed, 27 Jun 2018 15:31:12 +0000 (17:31 +0200)] 
Merge pull request #11352 from ncoden/chore/update-dev-jauery-against-cve

chore: resolve jQuery devDependency CVE

7 years agochore: resolve jQuery devDependency CVE 11352/head
Nicolas Coden [Tue, 26 Jun 2018 20:43:59 +0000 (22:43 +0200)] 
chore: resolve jQuery devDependency CVE

Update the internal jQuery version (used for tests) to the latest version to resolve a CVE.

As Foundation supports jQuery `>=2.2.0`, the jQuery peer dependency is not changed. PeerDependencies versions in `package.json` should only reflect the actual compatibility with the package, regardless of promotion or "potential" security issue. It's up to the end developer to choose the package version corresponding to its own needs and to the risks comming with its own usage.

7 years agoMerge pull request #11350 from ncoden/fix/fix-update-bower-config
Nicolas Coden [Tue, 26 Jun 2018 20:00:15 +0000 (22:00 +0200)] 
Merge pull request #11350 from ncoden/fix/fix-update-bower-config

fix: fix and update Bower config

7 years agofix: add back Bower dependencies 11350/head
Nicolas Coden [Mon, 25 Jun 2018 22:55:50 +0000 (00:55 +0200)] 
fix: add back Bower dependencies

Bower dependencies in `bower.json` were removed in #11073 in the migration from Bower to npm.

These dependencies should not have been removed as the Bower package still require `jquery` and `what-input`. Someone installing `foundation-sites` with bower should still have these packages included. We simply don't use Bower anymore in development mode and don't promote its usage in the documentation.

Removing `bower install` commands was sufficiant for this migration and Bower dependencies in `bower.json` were unrelated.

See https://github.com/zurb/foundation-sites/pull/11073

7 years agochore: add various fields to Bower config
Nicolas Coden [Mon, 25 Jun 2018 22:44:38 +0000 (00:44 +0200)] 
chore: add various fields to Bower config

7 years agochore: update Bower ignored files list
Nicolas Coden [Mon, 25 Jun 2018 22:42:58 +0000 (00:42 +0200)] 
chore: update Bower ignored files list

7 years agoMerge pull request #11349 from ncoden/fix/meteor-fourseven-scss-compatibility
Nicolas Coden [Sat, 23 Jun 2018 21:56:02 +0000 (23:56 +0200)] 
Merge pull request #11349 from ncoden/fix/meteor-fourseven-scss-compatibility

fix: revise Meteor "fourseven:scss" compatibility for Meteor<1.4.1 support

7 years agofix: revise Meteor "fourseven:scss" compatibility for better Meteor support 11349/head
Nicolas Coden [Fri, 22 Jun 2018 20:17:33 +0000 (22:17 +0200)] 
fix: revise Meteor "fourseven:scss" compatibility for better Meteor support

Foundation support all `fourseven:scss` versions from `v3.4`.

Changes:
* revise `fourseven:scss` compatibility to `3.4.1 || 4.0.0` to support both older and newer Meteor versions

7 years agostyle: remove unused "done" in "dist:deploy" gulp task
Nicolas Coden [Wed, 20 Jun 2018 22:07:13 +0000 (00:07 +0200)] 
style: remove unused "done" in "dist:deploy" gulp task

7 years agofix: fix completion callback called too many time in deploy 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

7 years agoMerge pull request #11341 from ncoden/fix/reveal-single-scrollbar-7831
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

7 years agodocs: add doc for Reveal methods _addGlobalClasses/_removeGlobalClasses 11341/head
Nicolas Coden [Mon, 18 Jun 2018 21:30:26 +0000 (23:30 +0200)] 
docs: add doc for Reveal methods _addGlobalClasses/_removeGlobalClasses

7 years agorefactor: rename Reveal internal methods for a better clarity
Nicolas Coden [Mon, 18 Jun 2018 21:27:39 +0000 (23:27 +0200)] 
refactor: rename Reveal internal methods for a better clarity

7 years agofix: show/hide Reveal scrollbar on window resizing
Nicolas Coden [Mon, 18 Jun 2018 21:08:12 +0000 (23:08 +0200)] 
fix: show/hide Reveal scrollbar on window resizing

7 years agofix: keep a scrollbar on document when Reveal opens #7831
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

7 years agoMerge pull request #11333 from ncoden/chore/increase-tests-timeout
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

7 years agoMerge pull request #11334 from ncoden/chore/update-dependencies-2018-06-13s
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)

7 years agochore: update lockfiles 11334/head
Nicolas Coden [Wed, 13 Jun 2018 22:14:24 +0000 (00:14 +0200)] 
chore: update lockfiles