]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
thirdparty/foundation/foundation-sites.git
7 years agodocs: add "Tree Shaking" section in javascript documentation
Nicolas Coden [Sun, 12 Aug 2018 17:28:02 +0000 (19:28 +0200)] 
docs: add "Tree Shaking" section in javascript documentation

7 years agochore: add default export as it may be sometimes required for tree-shaking
Nicolas Coden [Sun, 12 Aug 2018 17:25:57 +0000 (19:25 +0200)] 
chore: add default export as it may be sometimes required for tree-shaking

7 years agofix: add missing export of "Move" in "foundation-plugins" entry
Nicolas Coden [Sun, 12 Aug 2018 16:28:53 +0000 (18:28 +0200)] 
fix: add missing export of "Move" in "foundation-plugins" entry

7 years agochore: use a more tree-shaking compliant ESM entry file
Nicolas Coden [Sun, 12 Aug 2018 16:27:35 +0000 (18:27 +0200)] 
chore: use a more tree-shaking compliant ESM entry file

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

7 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

7 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 agodocs: add fractions to the list of supported values in XY cell docs
Nicolas Coden [Sun, 5 Aug 2018 20:45:34 +0000 (22:45 +0200)] 
docs: add fractions to the list of supported values in XY cell docs

7 years agodocs: add section about XY cell parts and related mixins in XY Grid docs
Nicolas Coden [Sun, 5 Aug 2018 20:44:26 +0000 (22:44 +0200)] 
docs: add section about XY cell parts and related mixins in XY Grid docs

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 agodocs: mark Dropdown and Reveal as depending on the Touch utility
Nicolas Coden [Wed, 1 Aug 2018 22:12:31 +0000 (00:12 +0200)] 
docs: mark Dropdown and Reveal as depending on the Touch utility

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

7 years agofix: keep the original event datas in Touch tap/swipe events
Nicolas Coden [Wed, 1 Aug 2018 21:57:14 +0000 (23:57 +0200)] 
fix: keep the original event datas in Touch tap/swipe events

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.

7 years agotest: add visual test for Reveal "closeOnClick" option
Nicolas Coden [Wed, 1 Aug 2018 21:31:04 +0000 (23:31 +0200)] 
test: add visual test for Reveal "closeOnClick" option

7 years agotest: update the Dropdown visual test description for "closeOnClick"
Nicolas Coden [Wed, 1 Aug 2018 21:18:31 +0000 (23:18 +0200)] 
test: update the Dropdown visual test description for "closeOnClick"

7 years agofix: use mobile "tap" for the "closeOnClick" option in Reveal
Nicolas Coden [Wed, 1 Aug 2018 21:14:02 +0000 (23:14 +0200)] 
fix: use mobile "tap" for the "closeOnClick" option in Reveal

BREAKING CHANGE: `foundation.utils.touch.js` is now required for `foundation.reveal.js`. If you import the Foundation Dropdown plugin manually, make sure to import the "Touch" utility as well.

7 years agofix: use mobile "tap" for the "closeOnClick" option in Dropdown #11423
Nicolas Coden [Wed, 1 Aug 2018 21:13:07 +0000 (23:13 +0200)] 
fix: use mobile "tap" for the "closeOnClick" option in Dropdown #11423

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

BREAKING CHANGE: `foundation.utils.touch.js` is now required for `foundation.dropdown.js`. If you import the Foundation Dropdown plugin manually, make sure to import the "Touch" utility as well.

7 years agofix: fix "tap" event triggering in Touch
Nicolas Coden [Wed, 1 Aug 2018 21:09:30 +0000 (23:09 +0200)] 
fix: fix "tap" event triggering in Touch

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.

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 agodocs: improve doc in "ignoreMousedisappear()"
Nicolas Coden [Mon, 30 Jul 2018 20:27:21 +0000 (22:27 +0200)] 
docs: improve doc in "ignoreMousedisappear()"

7 years agofix: make the "ignoreMousedisappear()" handler called before mouseenter
Nicolas Coden [Sat, 28 Jul 2018 22:04:18 +0000 (00:04 +0200)] 
fix: make the "ignoreMousedisappear()" handler called before mouseenter

Do not debounce the received `mouseleave` event when a `mouseenter` is expected. This is not useful (we do not have to test the window focus in this case) and would make the `mouseenter` event handler called before the filtered `mouseleave` event handler.

See https://github.com/zurb/foundation-sites/pull/11418#issuecomment-407911537

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 agostyle: fix incorrectly named variable in ignoreMousedisappear utility
Nicolas Coden [Wed, 25 Jul 2018 21:59:34 +0000 (23:59 +0200)] 
style: fix incorrectly named variable in ignoreMousedisappear utility

7 years agotests: add visual test for the Dropdown magic mousleave bug
Nicolas Coden [Wed, 25 Jul 2018 21:58:58 +0000 (23:58 +0200)] 
tests: add visual test for the Dropdown magic mousleave bug

See https://github.com/zurb/foundation-sites/issues/11410
See https://github.com/zurb/foundation-sites/pull/11418

7 years agofix: prevent Dropdown and Tooltip to hide when moving mouse to browser UI elements
Nicolas Coden [Tue, 24 Jul 2018 22:07:25 +0000 (00:07 +0200)] 
fix: prevent Dropdown and Tooltip to hide when moving mouse to browser UI elements

See https://git.io/zf-11410

7 years agodocs: add some doc in the magic mouseleave utility "ignoreMousedisappear"
Nicolas Coden [Tue, 24 Jul 2018 21:57:59 +0000 (23:57 +0200)] 
docs: add some doc in the magic mouseleave utility "ignoreMousedisappear"

7 years agorefactor: make the magic mouseleave utility a simple event filter
Nicolas Coden [Tue, 24 Jul 2018 21:57:34 +0000 (23:57 +0200)] 
refactor: make the magic mouseleave utility a simple event filter

7 years agodocs: add doc for core utility onLeaveElement
Nicolas Coden [Mon, 23 Jul 2018 21:59:06 +0000 (23:59 +0200)] 
docs: add doc for core utility onLeaveElement

7 years agorefactor: move dropdownMenu mouseleave special case to its own utility function
Nicolas Coden [Mon, 23 Jul 2018 21:57:17 +0000 (23:57 +0200)] 
refactor: move dropdownMenu mouseleave special case to its own utility function

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 agodocs: improve description for "$size" in XY cell mixins
Nicolas Coden [Wed, 18 Jul 2018 22:49:39 +0000 (00:49 +0200)] 
docs: improve description for "$size" in XY cell mixins

7 years agofeat: add support of fractions in "xy-cell-base()" function and mixin.
Nicolas Coden [Wed, 18 Jul 2018 22:48:00 +0000 (00:48 +0200)] 
feat: add support of fractions in "xy-cell-base()" function and mixin.

Make the `xy-cell-base()` function and mixin support values representing a fraction (`6`, `50%`, `1 of 2` or `1/2`...) and treating them like "shrink".

**BREAKING CHANGE**: The `xy-cell()` and `xy-cell-base()` mixins now generate the XY cell base CSS when `$size` represents a fraction.

Static CSS did not changed.

7 years agofeat: add function "zf-is-fraction()"
Nicolas Coden [Wed, 18 Jul 2018 22:38:50 +0000 (00:38 +0200)] 
feat: add function "zf-is-fraction()"

zf-is-fraction(): Returns whether the given `$value` represents a fraction. Supports formats like `50%`, `1 of 2`, `1 per 2` or `1/2`.

7 years agofeat: add function "zf-parse-fraction()" and improve "fraction-to-percentage()" parsing
Nicolas Coden [Wed, 18 Jul 2018 22:07:52 +0000 (00:07 +0200)] 
feat: add function "zf-parse-fraction()" and improve "fraction-to-percentage()" parsing

7 years agorefactor: remove useless XY cell base generation
Nicolas Coden [Wed, 18 Jul 2018 22:00:24 +0000 (00:00 +0200)] 
refactor: remove useless XY cell base generation

7 years agofeat: refactor `xy-cell-base()` mixin and add corresponding function
Nicolas Coden [Wed, 18 Jul 2018 21:31:51 +0000 (23:31 +0200)] 
feat: refactor `xy-cell-base()` mixin and add corresponding function

Changes:
- Add function `xy-cell-base()`: Returns the appropriate CSS flex value for a cell base.
- Refactor mixin `xy-cell-base()` to use its corresponding function.

7 years agorefactor: prefer XY cell base/gutters/size mixins to generate classes
Nicolas Coden [Wed, 18 Jul 2018 21:15:24 +0000 (23:15 +0200)] 
refactor: prefer XY cell base/gutters/size mixins to generate classes

7 years agofix: remove extra "`" in XY cell error messages
Nicolas Coden [Tue, 17 Jul 2018 22:10:12 +0000 (00:10 +0200)] 
fix: remove extra "`" in XY cell error messages

7 years agofeat: refactor mixin "xy-cell-offset()" and add corresponding function
Nicolas Coden [Tue, 17 Jul 2018 21:41:34 +0000 (23:41 +0200)] 
feat: refactor mixin "xy-cell-offset()" and add corresponding function

Changes:
- Add function `xy-cell-offset()`: Returns the appropriate CSS value to offset a cell.
- Refactor mixin `xy-cell-offset()` to use its corresponding function.

**BREAKING CHANGE**: The `$breakpoint` argument in the `xy-cell-offset()` mixin does not support raw value anymore. Use `$gutters` instead.

7 years agodocs: add return value in `xy-cell-size` function documentation
Nicolas Coden [Tue, 17 Jul 2018 21:31:40 +0000 (23:31 +0200)] 
docs: add return value in `xy-cell-size` function documentation

7 years agofeat: add functions/mixins for XY Grid cell base/size/gutters
Nicolas Coden [Tue, 17 Jul 2018 21:30:42 +0000 (23:30 +0200)] 
feat: add functions/mixins for XY Grid cell base/size/gutters

Move all the `xy-cell()` mixin logics to dedicated functions and mixins.

Changes:
- Add function `xy-cell-gutters()`: Calculate the size of a cell gutters.
- Add function `xy-cell-size-css()`: Returns the appropriate CSS value for a cell size.
- Add mixin `xy-cell-size()`: ets sizing properties for cells.
- Add mixin `xy-cell-gutters()`: Sets gutters properties for cells.
- Refactor mixin `xy-cell()` to move all the logics to these new mixins.

All these functions/mixins now have the same interface. They do not always expect all the XY cell arguments, but they name and process the argument they expect the same way.

**BREAKING CHANGE**: When no gutter can be found to generate a cell, an error is now thrown

7 years agorefactor: move "-zf-each-breakpoint()" mixin iteration logics to "-zf-each-breakpoint()"
Nicolas Coden [Tue, 17 Jul 2018 20:45:41 +0000 (22:45 +0200)] 
refactor: move "-zf-each-breakpoint()" mixin iteration logics to "-zf-each-breakpoint()"

Changes:
* Add mixin `-zf-each-breakpoint-in()`
* Add function `-zf-bool()` to convert values to Booleans
* Refactor mixin `-zf-each-breakpoint()`  to rely on `-zf-each-breakpoint-in()`

There should be no change in the `-zf-each-breakpoint` API

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: fix reversed "$vertical" option in "xy-cell-reset()" mixin
Nicolas Coden [Mon, 16 Jul 2018 22:19:28 +0000 (00:19 +0200)] 
fix: fix reversed "$vertical" option in "xy-cell-reset()" mixin

7 years agodocs: fix "xy-cell" name in "xy-cell-offset()" mixin description
Nicolas Coden [Mon, 16 Jul 2018 21:55:40 +0000 (23:55 +0200)] 
docs: fix "xy-cell" name in "xy-cell-offset()" mixin description

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 agorefactor: factorize Float/XY Grid size functions into `fraction-to-percentage()`
Nicolas Coden [Sun, 15 Jul 2018 21:18:06 +0000 (23:18 +0200)] 
refactor: factorize Float/XY Grid size functions into `fraction-to-percentage()`

7 years agodocs: improve formulation for `$output` description in `xy-cell` mixin
Nicolas Coden [Sun, 15 Jul 2018 20:41:29 +0000 (22:41 +0200)] 
docs: improve formulation for `$output` description in `xy-cell` mixin

7 years agofeat: add support for current breakpoint to `xy-cell-offset()` and `xy-grid-layout()`
Nicolas Coden [Sun, 15 Jul 2018 20:19:11 +0000 (22:19 +0200)] 
feat: add support for current breakpoint to `xy-cell-offset()` and `xy-grid-layout()`

Add support for contextual breakpoint set by the `breakpoint()` mixin to the `xy-cell-offset()` mixin, and add documentation abou existing support to the `xy-grid-layout()` mixin.

7 years agorefactor: move current breakpoint resolution to its own function `-zf-current-breakpoint`
Nicolas Coden [Sun, 15 Jul 2018 20:16:59 +0000 (22:16 +0200)] 
refactor: move current breakpoint resolution to its own function `-zf-current-breakpoint`

7 years agorefactor: deprecate xy-cell-static() and use xy-cell() to generate classes
Nicolas Coden [Sat, 14 Jul 2018 16:49:10 +0000 (18:49 +0200)] 
refactor: deprecate xy-cell-static() and use xy-cell() to generate classes

Deprecate the` xy-cell-static()` mixin and use `xy-cell()` mixin to generate the XY Grid static classes.

The new arguments of `xy-cells` (added in previous commits) have the following goal: making a clear distinction between cells that should not have any gutter, cells from which the gutter must be removed and cells that should have a gutter but generated seperately/later. See migration notes below.

Changes:
- Add deprecation warning in `xy-cell-static()`
- Add deprecation note in `xy-cell-static()` documentation
- Use `xy-cell()` instead of `xy-cell-static()` with the transformations listed below

Migration notes:
- Use `$output: (...)` instead of separate calls to `xy-cell-static()` and `xy-cell-base()`. This may change in the future with 3 distinguish mixins to generate "base", "size" and "gutters" of the cell.
- Use `$gutter-type: none` for cells without gutters
- Use `$gutters: 0` for cells with a 0-width gutters
- Use `$output: (...)` without "gutters" for cells with gutters that must be generated seperately.
- Remove useless `$breakpoint: $-zf-size` as it is always detected automatically

7 years agofix: add missing semicolon in xy-grid mixin
Nicolas Coden [Sat, 14 Jul 2018 16:25:43 +0000 (18:25 +0200)] 
fix: add missing semicolon in xy-grid mixin

7 years agofeat: add `$output` to xy-cell mixin and deprecate `$output-gutter`
Nicolas Coden [Fri, 13 Jul 2018 22:46:12 +0000 (00:46 +0200)] 
feat: add `$output` to xy-cell mixin and deprecate `$output-gutter`

Add the `$output` list to the xy-cell mixin for a finer control of what should be output, and an explicit indication that each part may still have to be generated seperately.

`$gutter-output` still works the same way, and breaking change introduced in #11081 has been replaced with a deprecation notice. Migration notes and advices to correctly generate gutters will be included in the release notes of the future version

7 years agofeat: add `none` gutter type to xy-cell mixin
Nicolas Coden [Fri, 13 Jul 2018 21:53:47 +0000 (23:53 +0200)] 
feat: add `none` gutter type to xy-cell mixin

This allow to explicitely generate a gutters-less cell, instead of a gutter "without gutters generated" or "with 0-width gutters".

This is a part of a bigger refactor of xy-cell and gutters usage,

7 years agodocs: fix description for `$gutter-type` in xy-cell mixin
Nicolas Coden [Fri, 13 Jul 2018 21:49:50 +0000 (23:49 +0200)] 
docs: fix description for `$gutter-type` in xy-cell mixin

7 years agofeat: change xy-cell default gutter positions according to direction
Nicolas Coden [Fri, 13 Jul 2018 21:43:41 +0000 (23:43 +0200)] 
feat: change xy-cell default gutter positions according to direction

Use `left right` gutters for horizontal cells and `top bottom` gutters for vertical cells by default

BREAKING CHANGE

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 agoMerge pull request #11391 from ncoden/release/v6.5-rc.2 v6.5.0-rc.2
Nicolas Coden [Tue, 10 Jul 2018 20:32:17 +0000 (22:32 +0200)] 
Merge pull request #11391 from ncoden/release/v6.5-rc.2

🚀  Release v6.5.0-rc.2

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 agodocs: update documentation for v6.5.0-rc.1 11391/head
Nicolas Coden [Mon, 9 Jul 2018 21:21:52 +0000 (23:21 +0200)] 
docs: update documentation for v6.5.0-rc.1

7 years agochore: generate dist files for v6.5.0-rc.2
Nicolas Coden [Mon, 9 Jul 2018 21:18:04 +0000 (23:18 +0200)] 
chore: generate dist files for v6.5.0-rc.2

7 years agochore: bump version for for v6.5.0-rc.2
Nicolas Coden [Sun, 8 Jul 2018 18:41:42 +0000 (20:41 +0200)] 
chore: bump version for for v6.5.0-rc.2

7 years agoUse pull request #11389 from chore/update-dependencies-2018-07-06 for v6.5.0
Nicolas Coden [Sun, 8 Jul 2018 18:40:11 +0000 (20:40 +0200)] 
Use pull request #11389 from chore/update-dependencies-2018-07-06 for v6.5.0

a9daeb109 chore: upgrade gulp to v4.0.0
8a373da3d chore: update dependencies (2018-07-06)
d8e5b9568 chore: remove unused dependency opener
229ec508e chore: update lockfiles (2018-07-06)

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
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 agoUse pull request #11381 from ncoden/fix/initialize-media-query for v6.5.0
Nicolas Coden [Sun, 8 Jul 2018 13:19:38 +0000 (15:19 +0200)] 
Use pull request #11381 from ncoden/fix/initialize-media-query for v6.5.0

ff1c302ab fix: initialize MediaQuery in global Foundation entry

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
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 agodocs: add pnpm
Daniel Ruf [Sat, 7 Jul 2018 16:00:08 +0000 (18:00 +0200)] 
docs: add pnpm

7 years agoUse pull request #11378 from ncoden/docs/improve-gitflow-model-for-supported-versions...
Nicolas Coden [Fri, 6 Jul 2018 20:40:19 +0000 (22:40 +0200)] 
Use pull request #11378 from ncoden/docs/improve-gitflow-model-for-supported-versions for v6.5.0

86a0aaef9 docs: improve gitflow model for supported versions
4ed00bf51 docs: use valid branch names for supported versions

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>