]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
thirdparty/foundation/foundation-sites.git
6 years agoFix wrong responsive spacing classes #11236 11487/head
Pavol Caban [Sun, 2 Sep 2018 19:32:40 +0000 (21:32 +0200)] 
Fix wrong responsive spacing classes #11236

6 years agoMerge pull request #11466 from ncoden/chore/simplify-github-template
Nicolas Coden [Sun, 26 Aug 2018 19:54:14 +0000 (21:54 +0200)] 
Merge pull request #11466 from ncoden/chore/simplify-github-template

chore: simplify GitHub templates

6 years agoMerge pull request #11475 from Harmageddon/patch-1
Nicolas Coden [Sun, 26 Aug 2018 19:52:02 +0000 (21:52 +0200)] 
Merge pull request #11475 from Harmageddon/patch-1

fix: Added missing quotation mark in documentation

6 years agoAdded missing quotation mark. 11475/head
Constantin Romankiewicz [Sun, 26 Aug 2018 16:59:39 +0000 (18:59 +0200)] 
Added missing quotation mark.

6 years agoMerge pull request #11472 from ncoden/fix/xy-grid-offset-zero-margin-11471
Nicolas Coden [Sun, 26 Aug 2018 13:55:36 +0000 (15:55 +0200)] 
Merge pull request #11472 from ncoden/fix/xy-grid-offset-zero-margin-11471

fix: fix offset when gutters are 0 in "xy-cell-offset" #11471

6 years agofix: fix offset calculation in "xy-cell-offset" 11472/head
Nicolas Coden [Sun, 26 Aug 2018 10:24:58 +0000 (12:24 +0200)] 
fix: fix offset calculation in "xy-cell-offset"

6 years agofix: fix generated offset for zero gutters in "xy-cell-offset" #11471
Nicolas Coden [Sat, 25 Aug 2018 21:53:49 +0000 (23:53 +0200)] 
fix: fix generated offset for zero gutters in "xy-cell-offset" #11471

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

6 years agoMerge pull request #11469 from ncoden/fix/clear-nest-submenu-classes-11467
Nicolas Coden [Fri, 24 Aug 2018 21:22:56 +0000 (23:22 +0200)] 
Merge pull request #11469 from ncoden/fix/clear-nest-submenu-classes-11467

fix: clean submenu items classes in Nest #11467

6 years agoMerge pull request #11462 from ncoden/fix/reveal-mobile-full-height-10879
Nicolas Coden [Thu, 23 Aug 2018 21:54:52 +0000 (23:54 +0200)] 
Merge pull request #11462 from ncoden/fix/reveal-mobile-full-height-10879

fix: avoid viewport height for fullscreen Reveal as it may be incorrect #10879

6 years agoMerge pull request #11454 from ncoden/fix/split-gulp-tasks-11452
Nicolas Coden [Thu, 23 Aug 2018 21:38:26 +0000 (23:38 +0200)] 
Merge pull request #11454 from ncoden/fix/split-gulp-tasks-11452

chore: use split gulp tasks instead of the unsuitable "finish" event #11452

6 years agofix: clear submenu item classe in Nest #11467 11469/head
Nicolas Coden [Wed, 22 Aug 2018 20:05:11 +0000 (22:05 +0200)] 
fix: clear submenu item classe in Nest #11467

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

6 years agoMerge pull request #11465 from ncoden/fix/avoid-stop-propagation-11457
Nicolas Coden [Tue, 21 Aug 2018 21:07:00 +0000 (23:07 +0200)] 
Merge pull request #11465 from ncoden/fix/avoid-stop-propagation-11457

fix: avoid stopping propagation when not necessary #11457

6 years agochore: simplify GitHub issue templates 11466/head
Nicolas Coden [Mon, 20 Aug 2018 22:49:52 +0000 (00:49 +0200)] 
chore: simplify GitHub issue templates

6 years agochore: simplify the GitHub pull request template
Nicolas Coden [Mon, 20 Aug 2018 21:50:20 +0000 (23:50 +0200)] 
chore: simplify the GitHub pull request template

6 years agofix: fix DropdownMenu body handler check to ignore the element itself 11465/head
Nicolas Coden [Mon, 20 Aug 2018 20:54:18 +0000 (22:54 +0200)] 
fix: fix DropdownMenu body handler check to ignore the element itself

> `andSelf()` is deprecated and should be replaced with `addBack()`
> -- @SassNinja

Also, `andSelf` cannot be used that way. This commit replace it with the opposite approach: checking if the target is the child of the element or the element itself using `closest()`.

6 years agoMerge pull request #11464 from ncoden/docs/remove-vertical-block-grid-11463
Nicolas Coden [Mon, 20 Aug 2018 19:27:51 +0000 (21:27 +0200)] 
Merge pull request #11464 from ncoden/docs/remove-vertical-block-grid-11463

docs: remove mentions of unsupported Y Grid from block grids section

6 years agoMerge pull request #11458 from SassNinja/docs/foundation-cli
Nicolas Coden [Mon, 20 Aug 2018 13:30:18 +0000 (15:30 +0200)] 
Merge pull request #11458 from SassNinja/docs/foundation-cli

foundation-cli docs for windows users

6 years agofix: avoid stopping event propagation when not necessary
Nicolas Coden [Sun, 19 Aug 2018 21:50:03 +0000 (23:50 +0200)] 
fix: avoid stopping event propagation when not necessary

Stopping the event propagation prevent the user to watch for the event at an higher level. If it was needed to prevent a duplicate behavior in a component, others methods should be used like debouncing the event.

Changes:
- Remove `stopPropagation` and `stopImmediatePropagation` from everywhere we do not want to cancel the event (AccordionMenu, Drilldown, DropdownMenu, Tabs, Tooltip).
- Update `DropdownMenu._removeBodyHandler` to also ignore click events on the element itself.

Others changes:
- Clean up `DropdownMenu._events` a bit.
- Add explainaitions where `stopPropagation` is still used (Triggers).

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

6 years agofix: prevent double Keyboard events handling without stopping propagation
Nicolas Coden [Sun, 19 Aug 2018 21:41:23 +0000 (23:41 +0200)] 
fix: prevent double Keyboard events handling without stopping propagation

Stopping the event propagation prevent the user to watch for the event at an higher level. If it was needed to prevent a duplicate behavior in a component, others methods should be used like debouncing the event.

Changes:
- Save and check for `event.zfIsKeyHandled` in Keyboard utility to prevent to handle twice the same event in different components.
- Remove `event.stopPropagation` from components' keyboard handlers (Accordion, DropdownMenu, OffCanvas and Tabs).

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

6 years agodocs: add docs about "mobile scroll" bug #9707 in OffCanvas
Nicolas Coden [Sun, 19 Aug 2018 21:33:22 +0000 (23:33 +0200)] 
docs: add docs about "mobile scroll" bug #9707 in OffCanvas

Add documentation for the OffCanvas private methods `_recordScrollable` and `_stopScrollPropagation` to explicitely justify the need for `stopPropagation`.

See #9707

6 years agodocs: remove mentions of unsupported Y Grid from block grids section 11464/head
Nicolas Coden [Sun, 19 Aug 2018 15:43:46 +0000 (17:43 +0200)] 
docs: remove mentions of unsupported Y Grid from block grids section

Block Grid is not supported for Y Grid and will not be implemented. It would add too much code for a feature that is will not be used in most projects.

Plus, Block Grid classes are not namespaced for the horizontal or vertical grid. Adding block grid classes for the vertical grid would lead of inconstencies or backward incompatibility and increased specificity.

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

6 years agoMerge pull request #11434 from ncoden/feat/orbit-slide-active-state-attribute
Nicolas Coden [Sat, 18 Aug 2018 21:59:36 +0000 (23:59 +0200)] 
Merge pull request #11434 from ncoden/feat/orbit-slide-active-state-attribute

feat: add Orbit element "data-slide-active-label" to target the bullet span to move

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 agoadd more foundation-cli install instructions for windows user 11458/head
SassNinja [Fri, 17 Aug 2018 10:26:24 +0000 (12:26 +0200)] 
add more foundation-cli install instructions for windows user

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 agorefactor: move the customizer ZIPing to `customizer:zip` and `customizer:clean` 11454/head
Nicolas Coden [Wed, 15 Aug 2018 20:42:05 +0000 (22:42 +0200)] 
refactor: move the customizer ZIPing to `customizer:zip` and `customizer:clean`

The `finish` gulp event is an stream internal event and is not suitable to chain tasks.

Changes:
- Move the custom ZIP file generation to the `customizer:zip` task
- Move the cleaning of the customizer build directory to `customizer:clean` task

6 years agorefactor: split the docs build task to `docs:pages` and `docs:search`
Nicolas Coden [Wed, 15 Aug 2018 20:39:26 +0000 (22:39 +0200)] 
refactor: split the docs build task to `docs:pages` and `docs:search`

The `finish` gulp event is an stream internal event and is not suitable to chain tasks.

Changes:
- Move pages building to the `docs:pages` and `docs:pages:all` subtasks
- Move search entries building to the `docs:search` subtask

6 years agofix: remove broken Sass linting from Sass compilation task and move it to build task
Nicolas Coden [Wed, 15 Aug 2018 20:35:39 +0000 (22:35 +0200)] 
fix: remove broken Sass linting from Sass compilation task and move it to build task

Changes:
- Remove broken Sass linting from the `sass:foundation` task. The `finish` gulp event is an stream internal event and is not suitable to chain tasks.
- Add `lint:graceful`, `lint:graceful:sass` and `lint:graceful:javascript` to check for linting errors without throwing errors and breaking the chain of tasks.
- Call `lint:graceful` on the build task. For now, there is too much linting issues to display them at each Sass/Javascript compilation.

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

7 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 agotest: add unit tests for the Orbit implicit/explicit active slide label moving 11434/head
Nicolas Coden [Sun, 5 Aug 2018 15:48:48 +0000 (17:48 +0200)] 
test: add unit tests for the Orbit implicit/explicit active slide label moving

7 years agodocs: add "data-slide-active-state" element to the Orbit documentation
Nicolas Coden [Sat, 4 Aug 2018 21:38:47 +0000 (23:38 +0200)] 
docs: add "data-slide-active-state" element to the Orbit documentation

7 years agofeat: use the "exceeding" span instead of the last one for Orbit current slide descriptor
Nicolas Coden [Sat, 4 Aug 2018 21:47:20 +0000 (23:47 +0200)] 
feat: use the "exceeding" span instead of the last one for Orbit current slide descriptor

7 years agorefactor: improve Orbit "_updateBullets" readibility
Nicolas Coden [Sat, 4 Aug 2018 18:01:27 +0000 (20:01 +0200)] 
refactor: improve Orbit "_updateBullets" readibility

7 years agofeat: add Orbit element "data-slide-active-label" to target the bullet span to move
Nicolas Coden [Sat, 4 Aug 2018 17:59:32 +0000 (19:59 +0200)] 
feat: add Orbit element "data-slide-active-label" to target the bullet span to move

Add the Orbit element `[data-slide-active-label]` to explicitely set which Orbit bullet children describe the active slide and should be moved to the new active slide.

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