]>
git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
Nicolas Coden [Fri, 23 Mar 2018 09:08:20 +0000 (10:08 +0100)]
Merge remote-tracking branch 'zurb/develop' into fix/on-load-listeners
Nicolas Coden [Fri, 23 Mar 2018 09:01:56 +0000 (10:01 +0100)]
fix: refactor the `onLoad` uility to allow to unbind the created listenner
Nicolas Coden [Wed, 21 Mar 2018 21:29:17 +0000 (22:29 +0100)]
Merge pull request #11076 from ncoden/fix/magellan-href-reference
fix: fix reference to component in `Magellan._events`
Nicolas Coden [Tue, 20 Mar 2018 22:29:36 +0000 (23:29 +0100)]
Merge pull request #11073 from DanielRuf/chore/move-from-bower-to-npm
chore: move from bower to npm
Nicolas Coden [Tue, 20 Mar 2018 10:45:53 +0000 (11:45 +0100)]
Merge pull request #11012 from ncoden/chore/and-js-min-sourcefiles-10999
chore: add sourcemaps for JS and minified files #10999
Nicolas Coden [Tue, 20 Mar 2018 08:40:02 +0000 (09:40 +0100)]
Merge branch 'develop' into chore/and-js-min-sourcefiles-10999
Nicolas Coden [Tue, 20 Mar 2018 08:37:55 +0000 (09:37 +0100)]
fix: remove useless manual sourcemaps prefixing in gulp "deploy:dist" task
Sourcemaps output names are resolved at writting once source files are already renamed with the `.min` prefix.
Nicolas Coden [Mon, 19 Mar 2018 23:01:52 +0000 (00:01 +0100)]
Merge pull request #11056 from ncoden/fix/tooltip-a11y-11054
fix: fix Tooltip cleaning on destroy #11054
Nicolas Coden [Mon, 19 Mar 2018 07:13:36 +0000 (08:13 +0100)]
Merge pull request #11067 from DanielRuf/chore/tooltip-remove-deprecated-position-class-11066
chore: remove the deprecated positionClass in tooltip
Nicolas Coden [Sun, 18 Mar 2018 20:36:06 +0000 (21:36 +0100)]
fix: fix reference to component in `Magellan._events`
Bug introduced in https://github.com/zurb/foundation-sites/pull/10988 (
6371c6da3de11adf3dce181ec5b7cd5959fe5f8d )
Nicolas Coden [Sun, 18 Mar 2018 20:27:26 +0000 (21:27 +0100)]
fix: fix various component listeners on page load when the page is already loaded
Prevent bugs in Accordion, Magellan, OffCanvas, Reveal, Sticky, Tabs and trigger utilities when the component is dynamically added because the window `load` event they rely on would never be triggered.
Note: In addition to the bug fix, the following behaviors are changed:
* Accordion now smoothly scroll to the opened pane when the hash is changed
Nicolas Coden [Sun, 18 Mar 2018 20:16:11 +0000 (21:16 +0100)]
feat: add `onLoad` utility to wait for page load even after it is already loaded
Daniel Ruf [Sun, 18 Mar 2018 19:51:03 +0000 (20:51 +0100)]
chore: move from bower to npm
Nicolas Coden [Sat, 17 Mar 2018 22:21:52 +0000 (23:21 +0100)]
Merge pull request #11052 from DanielRuf/fix/toggler-aria-expanded-on-trigger-11049
fix: add aria-expanded to the toggler trigger
Daniel Ruf [Sat, 17 Mar 2018 19:29:33 +0000 (20:29 +0100)]
tests: replace duplicate code in the toggler test
Nicolas Coden [Fri, 16 Mar 2018 21:37:49 +0000 (22:37 +0100)]
Merge pull request #10968 from alliclemens/alliclemens-dropdown-unit-tests
Unit Tests added for dropdown
Daniel Ruf [Thu, 15 Mar 2018 21:42:37 +0000 (22:42 +0100)]
chore: remove the deprecated positionClass in tooltip
Nicolas Coden [Thu, 15 Mar 2018 21:14:41 +0000 (22:14 +0100)]
Merge pull request #11036 from colin-marshall/chore/update-eslint-to-v4
chore: update eslint/gulp-eslint to v4
Nicolas Coden [Thu, 15 Mar 2018 08:07:47 +0000 (09:07 +0100)]
fix: correctly clear tooltip classes on destroy
Changes:
* remove the `triggerClass` option instead of `.has-tip`
* remove `.bottom`
Nicolas Coden [Thu, 15 Mar 2018 08:04:49 +0000 (09:04 +0100)]
fix: remove invalid attribute `aria-haspopup` for tooltip
See:
* https://github.com/zurb/foundation-sites/issues/11054
* https://www.w3.org/TR/wai-aria-1.1/#aria-haspopup
Daniel Ruf [Tue, 13 Mar 2018 22:18:33 +0000 (23:18 +0100)]
fix: apply aria-expanded to the toggler triggers in _updateARIA
Daniel Ruf [Tue, 13 Mar 2018 20:54:41 +0000 (21:54 +0100)]
fix: add aria-expanded to the toggler triggers
Nicolas Coden [Tue, 13 Mar 2018 20:33:11 +0000 (21:33 +0100)]
Merge pull request #11002 from DanielRuf/fix/foundation-everything-xy-grid-10742
fix: add the xy-grid parameter to foundation-everything
Nicolas Coden [Tue, 13 Mar 2018 20:21:18 +0000 (21:21 +0100)]
Merge pull request #11041 from DanielRuf/fix/reveal-destroy-remove-open-classes-10626
fix: remove the open classes if no visible reveal exists after destro…
Daniel Ruf [Mon, 12 Mar 2018 22:42:30 +0000 (23:42 +0100)]
fix: fallback for xy-check
Daniel Ruf [Mon, 12 Mar 2018 07:41:30 +0000 (08:41 +0100)]
fix: make removeRevealOpenClasses and addRevealOpenClasses available for the whole component
Daniel Ruf [Mon, 12 Mar 2018 07:20:55 +0000 (08:20 +0100)]
fix: use right reference to the local context
Daniel Ruf [Mon, 12 Mar 2018 06:59:50 +0000 (07:59 +0100)]
fix: properly call removeRevealOpenClasses, add comments, remove a few empty lines
Daniel Ruf [Sun, 11 Mar 2018 22:35:53 +0000 (23:35 +0100)]
fix: remove the open classes if no visible reveal exists after destroying one
Nicolas Coden [Sat, 10 Mar 2018 21:11:21 +0000 (22:11 +0100)]
Merge pull request #11025 from jellisii/accordionPlusMinus
Allow for setting of custom plus/minus indicators for Accordion.
Colin Marshall [Sat, 10 Mar 2018 21:07:11 +0000 (14:07 -0700)]
Update gulp-eslint to v4
Colin Marshall [Sat, 10 Mar 2018 20:59:53 +0000 (13:59 -0700)]
Removed duplicate/misplaced ecmaVersion setting
Nicolas Coden [Fri, 9 Mar 2018 21:57:42 +0000 (22:57 +0100)]
Revert "Add scroll to browser test display to allow viewing of all test results"
This reverts commit
2d56de0b675b41d2205d051651989ea98b672dfa .
See: https://github.com/zurb/foundation-sites/pull/10968#issuecomment-
371957423
Nicolas Coden [Thu, 8 Mar 2018 21:17:34 +0000 (22:17 +0100)]
Merge branch 'develop' into jellisii/accordionPlusMinus
Nicolas Coden [Thu, 8 Mar 2018 21:16:27 +0000 (22:16 +0100)]
Merge pull request #10988 from DanielRuf/fix/magellan-update-active
fix: fire updateActive after calcPoints
Nicolas Coden [Thu, 8 Mar 2018 21:10:07 +0000 (22:10 +0100)]
docs: improve Accordion icon content settings documentation
See https://github.com/zurb/foundation-sites/pull/11025/files#r173287607
Nicolas Coden [Thu, 8 Mar 2018 21:09:26 +0000 (22:09 +0100)]
style: rename Accordion icon content settings
See https://github.com/zurb/foundation-sites/pull/11025/files#r173285018
Nicolas Coden [Thu, 8 Mar 2018 21:02:45 +0000 (22:02 +0100)]
feat: add Pagination option to customize arrow icons
Similar to https://github.com/zurb/foundation-sites/pull/11025
> It make me think that we should have these options for every component where it could be useful to customize them, for lrt/rtl support and design customization (with a custom webfont for example).
J. Eric Ellis [Thu, 8 Mar 2018 13:00:43 +0000 (08:00 -0500)]
Allow for setting of custom plus/minus indicators.
Nicolas Coden [Tue, 6 Mar 2018 22:58:46 +0000 (23:58 +0100)]
tests: various fix in Dropdown tests
Changes:
* split tests about `open()` or mouse events
* tests triggered events instead of method calling for mouse events
* add missing `done()` when test is asynchronous
* rely on options passed to plugin instead of in the HTML
* test the Id of the focused element instead of the whole HTML (it can change)
* improve various tests names
Nicolas Coden [Tue, 6 Mar 2018 22:54:31 +0000 (23:54 +0100)]
clean: remove console.log in Dropdown tests
Nicolas Coden [Tue, 6 Mar 2018 20:45:08 +0000 (21:45 +0100)]
Merge branch 'develop' into alliclemens/alliclemens-dropdown-unit-tests
Nicolas Coden [Tue, 6 Mar 2018 20:40:18 +0000 (21:40 +0100)]
Merge pull request #11011 from ncoden/fix/hashchange-event-compatibility-10771
fix: use `hashchange` event instead of `popstate` for IE/Edge compatibility
Nicolas Coden [Tue, 6 Mar 2018 20:39:34 +0000 (21:39 +0100)]
Merge pull request #11018 from DanielRuf/fix/menu-remove-unused-hover-variable-10758
fix: remove the unused menu-item-background-hover variable
Nicolas Coden [Mon, 5 Mar 2018 22:59:32 +0000 (23:59 +0100)]
Merge pull request #10965 from DanielRuf/fix/develop-dropdown-eventnames
fix: camelCase all events
Nicolas Coden [Mon, 5 Mar 2018 22:56:14 +0000 (23:56 +0100)]
Merge pull request #11001 from DanielRuf/fix/tabs-remove-unused-variable-expand-max-8484
fix: remove the unused tab-expand-max variable
Daniel Ruf [Mon, 5 Mar 2018 22:05:21 +0000 (23:05 +0100)]
fix: remove the unused menu-item-background-hover variable
Nicolas Coden [Sun, 4 Mar 2018 22:59:58 +0000 (23:59 +0100)]
Merge pull request #11003 from DanielRuf/tests/run-tests-all-node-versions
tests: run tests on latest stable and LTS releases of Node.js
Nicolas Coden [Sun, 4 Mar 2018 22:51:10 +0000 (23:51 +0100)]
clean: remove comment about a resolved bug in Magellan tests
https://github.com/zurb/foundation-sites/pull/10906
Nicolas Coden [Sun, 4 Mar 2018 22:50:05 +0000 (23:50 +0100)]
tests: revert to systematic test of magellan graceful failure
Partially revert
e89d85cbf4328c8d925a64bde7e2525c88841d5a
Test Magellan.scrollToLoc systematically as it should _never_ throw an error when target does not exists.
Nicolas Coden [Sun, 4 Mar 2018 18:57:42 +0000 (19:57 +0100)]
style: add some doc for minified source map
Nicolas Coden [Sun, 4 Mar 2018 18:56:52 +0000 (19:56 +0100)]
chore: add sourcemaps for minified files
Nicolas Coden [Sun, 4 Mar 2018 18:55:29 +0000 (19:55 +0100)]
chore: add JS sourcemaps
See https://github.com/shama/webpack-stream#source-maps
Daniel Ruf [Sun, 4 Mar 2018 16:41:32 +0000 (17:41 +0100)]
fix: copy the sourcemap files (#10998)
Nicolas Coden [Sun, 4 Mar 2018 16:29:57 +0000 (17:29 +0100)]
fix: use `hashchange` event instead of `popstate` for IE/Edge compatibility
See: https://github.com/zurb/foundation-sites/pull/11006#issuecomment-
370193395
Previous PR: https://github.com/zurb/foundation-sites/pull/11006 (@DanielRuf)
Closes https://github.com/zurb/foundation-sites/issues/10771 (@hubert-ried)
Nicolas Coden [Sat, 3 Mar 2018 17:21:11 +0000 (18:21 +0100)]
Merge pull request #10927 from ncoden/fix/xy-grid-responsive-modifiers-reset-10891
fix: fix XY Grid responsive widths with shrink/auto #10891
Daniel Ruf [Fri, 2 Mar 2018 23:36:27 +0000 (00:36 +0100)]
fix: move xy-grid check under flex-grid check
Daniel Ruf [Fri, 2 Mar 2018 23:26:10 +0000 (00:26 +0100)]
tests: use the Boron and Carbon LTS releases
Daniel Ruf [Fri, 2 Mar 2018 23:21:24 +0000 (00:21 +0100)]
fix: set the global xy-grid variable based on the local y-grid parameter
Daniel Ruf [Fri, 2 Mar 2018 23:12:10 +0000 (00:12 +0100)]
tests: run tests on latest stable and LTS releases of Node.js
Daniel Ruf [Fri, 2 Mar 2018 20:15:50 +0000 (21:15 +0100)]
tests: make sure that the Magellan tests are properly running
Daniel Ruf [Fri, 2 Mar 2018 19:55:53 +0000 (20:55 +0100)]
tests: only test Node.js 6 and higher
Daniel Ruf [Fri, 2 Mar 2018 19:46:15 +0000 (20:46 +0100)]
tests: run tests on all Node.js versions
Daniel Ruf [Fri, 2 Mar 2018 19:25:29 +0000 (20:25 +0100)]
fix: add the xy-grid parameter to foundation-everything
Daniel Ruf [Fri, 2 Mar 2018 19:07:00 +0000 (20:07 +0100)]
fix: remove the unused tab-expand-max variable
Daniel Ruf [Wed, 28 Feb 2018 22:13:50 +0000 (23:13 +0100)]
do less calculations to improve the performance
Nicolas Coden [Tue, 27 Feb 2018 20:40:29 +0000 (21:40 +0100)]
Merge pull request #10990 from DanielRuf/fix/get-fn-name-unit-test
fix: do not test for inferred names in getFnName unit test
Daniel Ruf [Mon, 26 Feb 2018 23:10:43 +0000 (00:10 +0100)]
Merge branch 'develop' into fix/develop-dropdown-eventnames
Daniel Ruf [Mon, 26 Feb 2018 23:10:04 +0000 (00:10 +0100)]
remove spaces
Daniel Ruf [Mon, 26 Feb 2018 23:06:57 +0000 (00:06 +0100)]
offcanvas: integrate changes from the develop branch, camelcase closed event
Daniel Ruf [Mon, 26 Feb 2018 23:00:37 +0000 (00:00 +0100)]
properly camelcase offCanvas and smoothScroll events
Nicolas Coden [Mon, 26 Feb 2018 22:46:24 +0000 (23:46 +0100)]
Merge pull request #10960 from jellisii/develop
Added 'disabled' styling to switches.
Daniel Ruf [Mon, 26 Feb 2018 22:15:56 +0000 (23:15 +0100)]
add info about inferred names of anonymous functions
Daniel Ruf [Mon, 26 Feb 2018 22:12:12 +0000 (23:12 +0100)]
remove unused code
Daniel Ruf [Mon, 26 Feb 2018 22:08:06 +0000 (23:08 +0100)]
fix small typo
Daniel Ruf [Mon, 26 Feb 2018 21:53:38 +0000 (22:53 +0100)]
fix: do not test for inferred names in getFnName unit test
Daniel Ruf [Mon, 26 Feb 2018 21:05:48 +0000 (22:05 +0100)]
fire updateActive after calcPoints
Nicolas Coden [Mon, 26 Feb 2018 07:15:01 +0000 (08:15 +0100)]
Merge pull request #10906 from zurb/coreysyms-patch-magellan-constant-updates
fix: fire Magellan update event only where there is a change
Nicolas Coden [Sun, 25 Feb 2018 18:06:32 +0000 (19:06 +0100)]
Merge pull request #10984 from ncoden/chore/update-packages-cve
chore: resolve dependencies CVE
Nicolas Coden [Sun, 25 Feb 2018 17:43:03 +0000 (18:43 +0100)]
chore: update `foundation-docs`
Nicolas Coden [Sun, 25 Feb 2018 17:42:41 +0000 (18:42 +0100)]
chore: update `supercollider` to 1.4.4
Nicolas Coden [Fri, 23 Feb 2018 22:47:47 +0000 (23:47 +0100)]
chore: update dependencies with CVE
See:
* https://github.com/zurb/supercollider/pull/16
* https://github.com/zurb/panini/pull/158
* https://github.com/zurb/foundation-docs/pull/27
Update packages:
* `handlebars`: `2.0.0`-> `4.0.1` (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8861)
* `uglify-js`: `2.3.6` -> `2.8.29` (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8857, https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-8858)
* `marked`: `0.3.6` -> `0.3.14` (https://nvd.nist.gov/vuln/detail/CVE-2017-
1000427 )
Nicolas Coden [Wed, 21 Feb 2018 23:07:53 +0000 (00:07 +0100)]
Merge pull request #10944 from DanielRuf/patch/unit-tests-headless-chrome
tests: migrate to mocha-headless-chrome
Nicolas Coden [Wed, 21 Feb 2018 23:02:32 +0000 (00:02 +0100)]
Merge pull request #10967 from DanielRuf/fix/offcanvas-trigger-opened-later
fix: trigger opened.zf.offcanvas at the end to prevent race conditions
Nicolas Coden [Wed, 21 Feb 2018 22:57:48 +0000 (23:57 +0100)]
chore: update package-lock for mocha-headless-chrome
Nicolas Coden [Wed, 21 Feb 2018 15:43:35 +0000 (16:43 +0100)]
Merge branch 'develop' into develop
J. Eric Ellis [Wed, 21 Feb 2018 15:38:15 +0000 (10:38 -0500)]
Moved disabled settings into switch-paddle mixin.
J. Eric Ellis [Wed, 21 Feb 2018 14:12:20 +0000 (09:12 -0500)]
Changes requested by @ncoden
Added variables for switch-cursor-disabled and switch-opacity-disabled.
Altered css selector to use class instead of element.
Added reduced opacity for disabled switches.
Fixed line spacing for comment.
alliclemens [Wed, 21 Feb 2018 14:00:19 +0000 (08:00 -0600)]
Tests added for dropdown open
Daniel Ruf [Wed, 21 Feb 2018 12:28:18 +0000 (13:28 +0100)]
add missing whitespace to empty line
Daniel Ruf [Wed, 21 Feb 2018 12:27:41 +0000 (13:27 +0100)]
remove whitespace from empty line
Daniel Ruf [Wed, 21 Feb 2018 12:26:23 +0000 (13:26 +0100)]
revert component file and test to initial state
Daniel Ruf [Wed, 21 Feb 2018 12:16:34 +0000 (13:16 +0100)]
Revert "trigger opened.zf.offcanvas at the end"
This reverts commit
5c91b76b5542ad656b7cc8c7cc17664da837a09a .
Daniel Ruf [Wed, 21 Feb 2018 12:12:17 +0000 (13:12 +0100)]
Revert "fire opened.zf.offcanvas after adding the classes to prevent some race conditions"
This reverts commit
58ca2385e966dc5fcd47f41b32b79fed62f2daa3 .
Daniel Ruf [Wed, 21 Feb 2018 12:06:55 +0000 (13:06 +0100)]
fix: trigger opened.zf.offcanvas at the end to prevent race conditions
Daniel Ruf [Wed, 21 Feb 2018 09:30:01 +0000 (10:30 +0100)]
fix: camelcase the event names of the Dropdown Menu
alliclemens [Wed, 21 Feb 2018 04:04:28 +0000 (22:04 -0600)]
Add scroll to browser test display to allow viewing of all test results
J. Eric Ellis [Tue, 20 Feb 2018 21:34:13 +0000 (16:34 -0500)]
Updated name of new switches.
J. Eric Ellis [Tue, 20 Feb 2018 21:09:44 +0000 (16:09 -0500)]
Added 'disabled' styling to switches.
Nicolas Coden [Tue, 20 Feb 2018 11:05:43 +0000 (12:05 +0100)]
Merge pull request #10939 from homerjam/patch-1
Allow breakpoint mixin to accept a list