]>
git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
Nicolas Coden [Wed, 28 Mar 2018 21:00:24 +0000 (23:00 +0200)]
Merge remote-tracking branch 'zurb/develop' into fix/fix-es6-plugins-webpack-build-2
Nicolas Coden [Tue, 27 Mar 2018 21:58:37 +0000 (23:58 +0200)]
Merge pull request #11093 from ncoden/fix/nested-reveal-deep-link-history-8012
fix: fix history browsing with nested Reveal and deep-linking
Nicolas Coden [Tue, 27 Mar 2018 18:30:48 +0000 (20:30 +0200)]
Merge pull request #11084 from VoltiSubito/variables-for-callout-padding
feat(?): Adds variables for padding of large and small callouts
Nicolas Coden [Mon, 26 Mar 2018 19:08:20 +0000 (21:08 +0200)]
Merge pull request #11083 from DanielRuf/chore/remove-deprecated-responsive-embed-mixins
chore: remove deprecated mixins
Nicolas Coden [Mon, 26 Mar 2018 17:48:46 +0000 (19:48 +0200)]
Merge pull request #11077 from ncoden/fix/on-load-listeners
fix: fix "load" actions in dynamically added components
Nicolas Coden [Mon, 26 Mar 2018 17:47:21 +0000 (19:47 +0200)]
Merge pull request #10856 from ncoden/chore/sort-sass-components-by-specificity
chore: sort Sass components in categories
Nicolas Coden [Mon, 26 Mar 2018 17:46:51 +0000 (19:46 +0200)]
Merge remote-tracking branch 'zurb/develop' into chore/sort-sass-components-by-specificity
Nicolas Coden [Mon, 26 Mar 2018 08:12:08 +0000 (10:12 +0200)]
tests: add visual tests for nested Reveal with deep-linking
See https://github.com/zurb/foundation-sites/issues/8012#issuecomment-
372816984
Nicolas Coden [Mon, 26 Mar 2018 08:11:32 +0000 (10:11 +0200)]
fix: prevent Reveal opening with its hash already set to add history entry
Nicolas Coden [Mon, 26 Mar 2018 08:08:31 +0000 (10:08 +0200)]
fix: update history when closing Reveal with `replaceState` #8012
When closing a Reveal with `replaceState: true`, push a new entry to reset the hash. So going back to the history reopen the modals opened before in reverse order.
Closes https://github.com/zurb/foundation-sites/issues/8012
Nicolas Coden [Sun, 25 Mar 2018 18:25:49 +0000 (20:25 +0200)]
Merge pull request #11086 from ncoden/chore/normalize-8
chore: drop `normalize-scss` and upgrade to normalize.css v8.0.0
Nicolas Coden [Sat, 24 Mar 2018 20:45:12 +0000 (21:45 +0100)]
Merge pull request #10952 from ncoden/fix/make-toggler-target-an-option-10892
fix: make Toggler target an option #10892
Daniel Ruf [Sat, 24 Mar 2018 16:05:30 +0000 (17:05 +0100)]
chore: remove deprecated grid-column-uncollapse and grid-col-uncollapse mixins
Nicolas Coden [Sat, 24 Mar 2018 14:31:30 +0000 (15:31 +0100)]
Merge pull request #11065 from DanielRuf/fix/reveal-overflow-11064
fix: do not add the scrollbar by default
Nicolas Coden [Fri, 23 Mar 2018 22:27:15 +0000 (23:27 +0100)]
Merge pull request #11085 from DanielRuf/fix/xy-grid-frame-scrollbar-10793
fix: add missing vertical scrollbar in xy-grid frame
Nicolas Coden [Fri, 23 Mar 2018 22:14:36 +0000 (23:14 +0100)]
chore: drop `normalize-scss` and upgrade to normalize.css v8.0.0
`normalize-scss` is not maintained and actually pollute the Sass namespace. Move back to a as-hard-to-maintain approach with a Sass mixin hosting the normalize.css code.
Note: `/* */` comments where replaced by `//` comments to not being output.
Nicolas Coden [Fri, 23 Mar 2018 19:01:12 +0000 (20:01 +0100)]
style: sort Sass components inside each category alphabetically
Note:
* forms & typograph has been moved to global styles, as they apply properties on tags and not custom components
* Accodtion/Drilldrown/Dropdown menus must be after `menu`
Nicolas Coden [Fri, 23 Mar 2018 18:42:47 +0000 (19:42 +0100)]
Merge remote-tracking branch 'zurb/develop' into chore/sort-sass-components-by-specificity
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
Jason Schindler [Fri, 23 Mar 2018 03:31:11 +0000 (22:31 -0500)]
Swaps specific callout padding size variables for a map of size to padding
Daniel Ruf [Thu, 22 Mar 2018 20:46:58 +0000 (21:46 +0100)]
fix: add missing vertical scrollbar in xy-grid frame
Jason Schindler [Thu, 22 Mar 2018 15:23:28 +0000 (10:23 -0500)]
Adds variables for padding of large and small callouts
Daniel Ruf [Thu, 22 Mar 2018 13:38:31 +0000 (14:38 +0100)]
chore: remove deprecated responsive embed mixins
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 [Wed, 21 Mar 2018 20:52:38 +0000 (21:52 +0100)]
docs: update & improve Js installation docs for UMD modules
Changes:
* remove section about "dist vs source files": only dist files should be imported for now
* add import examples for ESM, AMD & CommonJS
* simplify section about HTML imports
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 22:11:28 +0000 (23:11 +0100)]
Merge branch 'develop' into fix/fix-es6-plugins-webpack-build-2
Nicolas Coden [Tue, 20 Mar 2018 21:54:42 +0000 (22:54 +0100)]
chore: use UMD bundling in customizer
Note: this also ensure that no ES6 code is used in JavaScript gulp task
Nicolas Coden [Tue, 20 Mar 2018 21:47:39 +0000 (22:47 +0100)]
clean: remove unecessary `npm.js` entry
The main bundle `foundation.js` is now compatible with ES6 imports. `npm.js` was there only was that and is now useless.
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 [Sat, 17 Mar 2018 15:10:34 +0000 (16:10 +0100)]
Merge remote-tracking branch 'zurb/develop' into fix/fix-es6-plugins-webpack-build-2
Nicolas Coden [Sat, 17 Mar 2018 15:10:22 +0000 (16:10 +0100)]
chore: prevent the main JS bundle to be exported as an unused external
Only export "core" and plugins bundles as externals (in the global `__FOUNDATION_EXTERNAL__` object).
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
Daniel Ruf [Thu, 15 Mar 2018 20:14:12 +0000 (21:14 +0100)]
fix: do not add the scrollbar by default
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
Nicolas Coden [Thu, 1 Mar 2018 21:20:56 +0000 (22:20 +0100)]
Merge branch 'develop' of github.com:zurb/foundation-sites into fix/fix-es6-plugins-webpack-build-2
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