]>
git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/log
Nicolas Coden [Wed, 21 Feb 2018 22:57:48 +0000 (23:57 +0100)]
chore: update package-lock for mocha-headless-chrome
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 [Sat, 17 Feb 2018 12:10:16 +0000 (13:10 +0100)]
reflect change of npm script name in readme
Daniel Ruf [Thu, 15 Feb 2018 09:02:42 +0000 (10:02 +0100)]
trigger opened.zf.offcanvas at the end
Daniel Ruf [Thu, 15 Feb 2018 08:21:57 +0000 (09:21 +0100)]
fire opened.zf.offcanvas after adding the classes to prevent some race conditions
Daniel Ruf [Thu, 15 Feb 2018 06:56:54 +0000 (07:56 +0100)]
revert GetDimensions() unit test change for IE11
Daniel Ruf [Wed, 14 Feb 2018 23:53:02 +0000 (00:53 +0100)]
tests: migrate to mocha-headless-chrome
Nicolas Coden [Thu, 15 Feb 2018 00:15:09 +0000 (01:15 +0100)]
Merge pull request #10941 from dragthor/getfnname-tests
getFnName unit tests ADDED
Kristofer Krause [Wed, 14 Feb 2018 22:00:05 +0000 (17:00 -0500)]
getFnName unit tests
Nicolas Coden [Sat, 10 Feb 2018 20:38:25 +0000 (21:38 +0100)]
Merge pull request #10715 from Owlbertz/input-dropdown-fix
fix: prevent "space" on input to open dropdown
Nicolas Coden [Thu, 8 Feb 2018 22:28:57 +0000 (23:28 +0100)]
Merge pull request #10917 from ncoden/fix/export-RegExpEscape-as-external-10916
fix: export `RegExpEscape` as an external
Nicolas Coden [Thu, 8 Feb 2018 22:27:42 +0000 (23:27 +0100)]
Merge pull request #10897 from nicwinn/patch-1
Remove calculated width for scrollable tables
Nicolas Coden [Tue, 6 Feb 2018 09:06:36 +0000 (10:06 +0100)]
Merge pull request #10914 from ffoodd/patch-1
Remove `clip-path` from `element-invisible` mixin
Nicolas Coden [Tue, 6 Feb 2018 09:03:27 +0000 (10:03 +0100)]
fix: export `RegExpEscape` as an external
Closes https://github.com/zurb/foundation-sites/issues/10916
Gaël Poupard [Mon, 5 Feb 2018 15:57:01 +0000 (16:57 +0100)]
Remove `clip-path` from `element-invisible` mixin
As proposed in [Bootstrap](https://github.com/twbs/bootstrap/pull/25197) and [HTML5BP](https://github.com/h5bp/html5-boilerplate/pull/2025), I recommend to remove `clip-path` for now since it causes severe performance issue in Chrome on scroll, as reported in [Bootrasp's #24906](https://github.com/twbs/bootstrap/issues/24906) and [HTML5BP's #2012](https://github.com/h5bp/html5-boilerplate/issues/2021).
Nicolas Coden [Sun, 4 Feb 2018 22:58:16 +0000 (23:58 +0100)]
Merge pull request #10911 from ncoden/fix/temporary-disable-umd-bundling
chore: temporary disable UMD bundling
Nicolas Coden [Sun, 4 Feb 2018 22:31:54 +0000 (23:31 +0100)]
fix: temporary disable UMD bundling
:warning: this must be resolved before the next release
Temporary disable UMD bundling, waiting for a way to import plugins are externals
See https://github.com/zurb/foundation-sites/pull/10903
Nicolas Coden [Sun, 4 Feb 2018 00:27:12 +0000 (01:27 +0100)]
fix: fix `Object.assign` usage in `javascript:plugins` gulp task
Nicolas Coden [Sun, 4 Feb 2018 00:25:42 +0000 (01:25 +0100)]
fix: export Foundation in `foundation.core` entry for usage in other entries
Nicolas Coden [Sun, 4 Feb 2018 00:00:07 +0000 (01:00 +0100)]
Merge pull request #10908 from DanielRuf/fix-regexpescape-definition
fix the RegExpEscape definition
Daniel Ruf [Sat, 3 Feb 2018 23:49:55 +0000 (00:49 +0100)]
fix the RegExpEscape definition
Kevin Ball [Sat, 3 Feb 2018 23:07:17 +0000 (15:07 -0800)]
Merge pull request #10887 from ncoden/fix/reduce-placeholder-specificity-8366
fix: reduce placeholder specificity #8366
Kevin Ball [Sat, 3 Feb 2018 23:03:04 +0000 (15:03 -0800)]
Merge pull request #10902 from ncoden/fix/responsive-accordion-tabs-events-on-destroy-10901
fix: remove events handler when ResponsiveAccordionTabs is destroyed #10901
Nicolas Coden [Thu, 1 Feb 2018 18:12:29 +0000 (19:12 +0100)]
fix: remove window events handler when ResponsiveAccordionTabs is destroyed #10901
Closes https://github.com/zurb/foundation-sites/issues/10901
Nicolas Coden [Thu, 1 Feb 2018 09:20:10 +0000 (10:20 +0100)]
Merge pull request #9381 from diniscorreia/develop
Fix dropdown destroy method
Nic Winn [Wed, 31 Jan 2018 19:14:23 +0000 (13:14 -0600)]
Remove calculated width for scrollable tables
width: auto on a table ready for scroll reverts the default where browsers calculate a width. This overrides a stylesheet declaring table width:100%. A table that needs scrolling somewhere between the medium and large breakpoints will collapse because the column width is set by the widest unbreakable content in the cells.
Nicolas Coden [Wed, 31 Jan 2018 13:43:24 +0000 (14:43 +0100)]
feat: ignore dropdown keyboard event on textarea
Nicolas Coden [Tue, 30 Jan 2018 22:13:40 +0000 (23:13 +0100)]
Merge pull request #10081 from IamManchanda/feature/hollow-coloring-no-gap
Closes #10080 - Hollow Button Group and `no-gaps`
Nicolas Coden [Tue, 30 Jan 2018 22:13:21 +0000 (23:13 +0100)]
Merge pull request #10699 from Owlbertz/abide-accessibility
Abide accessibility
Nicolas Coden [Tue, 30 Jan 2018 12:58:50 +0000 (13:58 +0100)]
Merge pull request #10864 from ncoden/chore/es5-pkg-main
chore: fix ES5/ES6 Foundation imports
Nicolas Coden [Sun, 28 Jan 2018 17:52:59 +0000 (18:52 +0100)]
Merge branch 'develop' into chore/es5-pkg-main
Nicolas Coden [Sun, 28 Jan 2018 08:10:42 +0000 (09:10 +0100)]
fix: reduce placeholder specificity #8366
Close https://github.com/zurb/foundation-sites/issues/8366
Nicolas Coden [Wed, 24 Jan 2018 20:30:21 +0000 (21:30 +0100)]
Merge pull request #10637 from SassNinja/feature/dropdown-hover-touch
Linked hoverable dropdown toggle (forceFollow option)
Nicolas Coden [Wed, 24 Jan 2018 20:23:51 +0000 (21:23 +0100)]
Merge pull request #10786 from SassNinja/fix-reveal-enable-scroll
Fix reveal enableScroll calculation of scrollTop
SassNinja [Wed, 24 Jan 2018 15:38:25 +0000 (16:38 +0100)]
Add comments and rework condition to consider explicit forceFollow:false
Nicolas Coden [Mon, 22 Jan 2018 22:31:40 +0000 (23:31 +0100)]
feat: add [role=label] to all form errors in Abide
Nicolas Coden [Mon, 22 Jan 2018 22:25:36 +0000 (23:25 +0100)]
fix: fix side-effect of jQuery .filter() in Abide.addA11yAttributes
Prevent jQuery `.filter()` to mutate the context object.
Nicolas Coden [Mon, 22 Jan 2018 21:10:25 +0000 (22:10 +0100)]
Merge pull request #10851 from ncoden/fix/enforce-show-for-sr-10850
fix: enforce `show-for-sr` and others visibility classes with important #10850
Nicolas Coden [Mon, 22 Jan 2018 15:56:52 +0000 (16:56 +0100)]
Merge pull request #10868 from ncoden/fix/off-canvas-reveal-on-option-10867
fix: fix off-canvas option `revealOn` when used without classes #10867
Nicolas Coden [Sun, 21 Jan 2018 21:39:43 +0000 (22:39 +0100)]
Merge pull request #10871 from colin-marshall/fix/accordion-duplicate-id-10870
fix: fix duplicate id's on accordion when id is already set on <li> elements
Nicolas Coden [Sat, 20 Jan 2018 18:11:13 +0000 (19:11 +0100)]
Merge pull request #10845 from TheBnl/patch-1
Use calc in button group with single child
Nicolas Coden [Sat, 20 Jan 2018 15:06:38 +0000 (16:06 +0100)]
test: add visual test for Abide accessibility
Nicolas Coden [Sat, 20 Jan 2018 14:43:38 +0000 (15:43 +0100)]
style: document the #10786 bug in Reveal
Nicolas Coden [Sat, 20 Jan 2018 14:42:43 +0000 (15:42 +0100)]
refactor: add defaults to `_enableScroll`/`_disableScroll` properties in Reveal
Try to keep a more or less enclosed behavior by using defaults properties. The functions behaviors can be changed when needed.
Nicolas Coden [Fri, 19 Jan 2018 22:58:56 +0000 (23:58 +0100)]
test: add tests for `RegExpEscape`
Nicolas Coden [Fri, 19 Jan 2018 22:58:40 +0000 (23:58 +0100)]
feat: expose RegExpEscape
Colin Marshall [Fri, 19 Jan 2018 21:49:21 +0000 (14:49 -0700)]
Fixed duplicate id's on accordion when id is already set on <li> elements
Nicolas Coden [Thu, 18 Jan 2018 22:38:28 +0000 (23:38 +0100)]
test: add unit test for Abide.addGlobalErrorA11yAttributes()
Nicolas Coden [Thu, 18 Jan 2018 22:38:11 +0000 (23:38 +0100)]
test: add unit tests for Abide.addA11yAttributes()
Nicolas Coden [Thu, 18 Jan 2018 13:53:15 +0000 (14:53 +0100)]
fix: fix regexp check for revealClass option in Off-Canvas
Nicolas Coden [Thu, 18 Jan 2018 10:29:51 +0000 (11:29 +0100)]
fix: fix Off-canvas `revealOn` option when used with `revealClass` option
Note: this add a new core utility `RegExpEscape`
Nicolas Coden [Thu, 18 Jan 2018 08:54:27 +0000 (09:54 +0100)]
fix: fix merge fail in off-canvas
Nicolas Coden [Wed, 17 Jan 2018 17:15:53 +0000 (18:15 +0100)]
test: add visual test for off-canvas revealOn option
Nicolas Coden [Wed, 17 Jan 2018 17:14:27 +0000 (18:14 +0100)]
fix: fix off-canvas option `revealOn` when used without classes #10867
Closes: https://github.com/zurb/foundation-sites/issues/10867
Nicolas Coden [Tue, 16 Jan 2018 22:55:55 +0000 (23:55 +0100)]
docs: add basic doc about a11y attributes in Abide
Nicolas Coden [Tue, 16 Jan 2018 22:40:43 +0000 (23:40 +0100)]
feat: set `[aria-live]` on Abide global erros on init
Nicolas Coden [Tue, 16 Jan 2018 22:27:14 +0000 (23:27 +0100)]
feat: add `a11yAttributes` option on Abide to disable a11y attribute insertion
Nicolas Coden [Tue, 16 Jan 2018 22:20:43 +0000 (23:20 +0100)]
feat: automatically add [aria-describedby] and [for] attributes in Abide
Nicolas Coden [Tue, 16 Jan 2018 21:17:53 +0000 (22:17 +0100)]
feat: add [aria-live] on [data-abide-error] on form validation
Add Abide option: `globalErrorAriaLevel`
Nicolas Coden [Sun, 14 Jan 2018 22:30:45 +0000 (23:30 +0100)]
fix: fix webpack.config entry point
Nicolas Coden [Sun, 14 Jan 2018 22:29:28 +0000 (23:29 +0100)]
chore: export core utilities as `CoreUtils`
Nicolas Coden [Sun, 14 Jan 2018 22:28:58 +0000 (23:28 +0100)]
chore: make UMD build default entry point
Make UMD (universal module definition) build the default entry point (`pkg.main`).
Related changes:
* make `js/entries/foundation` build AND export Foundation and plugins
* use `js/entries/foundation` as ESM entry point
* use `dist/js/foundation.js` as browser entry point
* delete useless `dist/js/npm.js`
Nicolas Coden [Thu, 11 Jan 2018 22:20:41 +0000 (23:20 +0100)]
Merge pull request #10842 from ncoden/fix/media-object-custom-component
Revert "fix: prevent side-effect from .stack-for in media-object"
Nicolas Coden [Thu, 11 Jan 2018 22:20:20 +0000 (23:20 +0100)]
Merge pull request #10840 from ncoden/fix/dropdown-anchor-attributes-10627
fix: fix dropdown anchor attributes #10627
Nicolas Coden [Wed, 10 Jan 2018 22:31:58 +0000 (23:31 +0100)]
fix: enforce `show-for-sr` and other visibility classes with important
Please read: https://github.com/zurb/foundation-sites/issues/10850#issuecomment-
356741458
Closes: https://github.com/zurb/foundation-sites/issues/10850
Bram de Leeuw [Tue, 9 Jan 2018 11:43:21 +0000 (12:43 +0100)]
Use calc in button group with singel child
Without calc the singel button in a button group would overlap the grid because of set negative margin. This becomes noticeable when the spacing is set to, for example, the grid gutter.
Nicolas Coden [Mon, 8 Jan 2018 22:32:56 +0000 (23:32 +0100)]
Revert "fix: prevent side-effect from .stack-for in media-object"
This reverts commit
606f16480e0ca8d931adcdf49bcc7d0cef2754c6 .
> Prevent a parent component with `.stack-for-*` to have side effects on `.media-object-section`.
Actually, no others component uses `.stack-for-*`.
Also, this would prevent to create a custom component from `@media media-object-section`.
Nicolas Coden [Mon, 8 Jan 2018 21:07:08 +0000 (22:07 +0100)]
docs: improve accessibility of abide examples
Changes:
* rename IDs of inputs/descriptors
* add `aria-describedby` and `aria-live="assertive` when required
Nicolas Coden [Sun, 7 Jan 2018 22:30:30 +0000 (23:30 +0100)]
fix: fix dropdown default alignement based on float class
Nicolas Coden [Sun, 7 Jan 2018 22:30:05 +0000 (23:30 +0100)]
fix: fix dropdown aria-labelledby from its anchor id
Introduced in https://github.com/zurb/foundation-sites/pull/10360 (https://github.com/zurb/foundation-sites/pull/10360/commits/
36521fb40fd438c14925208020128311c0dddeaa )
Closes https://github.com/zurb/foundation-sites/issues/10627
Nicolas Coden [Sun, 7 Jan 2018 21:46:57 +0000 (22:46 +0100)]
fix: fix name of mixin `button-group-no-gaps`
Nicolas Coden [Sun, 7 Jan 2018 21:39:51 +0000 (22:39 +0100)]
fix: make button-group no-gap relative to hollow-border-width
Nicolas Coden [Sun, 7 Jan 2018 19:19:10 +0000 (20:19 +0100)]
Merge pull request #10819 from ncoden/fix/fix-bp-size-leak-#10818
fix: prevent leaking of `-zf-size` in `-zf-each-breakpoint` mixin
Nicolas Coden [Sun, 7 Jan 2018 19:17:39 +0000 (20:17 +0100)]
Merge pull request #10821 from ncoden/fix/xy-cell-with-invalid-breakpoint
fix: do not generate invalid xy-cell when breakpoint is not found
Nicolas Coden [Sun, 7 Jan 2018 19:16:58 +0000 (20:16 +0100)]
refactor: factorize generation of button & button-group fillings
Nicolas Coden [Sun, 7 Jan 2018 18:12:28 +0000 (19:12 +0100)]
refactor: avoid code duplication for button disabled state
Changes:
- Avoid duplication of unchanged properties in disabled styles
- Regroup common properties from default and disabled state
Nicolas Coden [Sun, 7 Jan 2018 16:54:27 +0000 (17:54 +0100)]
docs: update button-group docs
Nicolas Coden [Sun, 7 Jan 2018 16:53:41 +0000 (17:53 +0100)]
feat: add support for individual colors in clear/hollow button-group
Note: this add a lot of selectors.
See: https://www.diffchecker.com/OXMrcuaY
Nicolas Coden [Sat, 6 Jan 2018 23:16:23 +0000 (00:16 +0100)]
fix: fix variable name in mixin `no-gap` of button-group
Nicolas Coden [Sat, 6 Jan 2018 22:59:42 +0000 (23:59 +0100)]
fix: fix border on hover in button-group `no-gap` modifier
Nicolas Coden [Sat, 6 Jan 2018 22:57:27 +0000 (23:57 +0100)]
refactor: move ".no-gap" button-group modifier to its own mixin
Nicolas Coden [Sat, 6 Jan 2018 22:56:35 +0000 (23:56 +0100)]
feat: add ".clear" style in button-group
Nicolas Coden [Sat, 6 Jan 2018 22:53:50 +0000 (23:53 +0100)]
Merge pull request #10839 from benhc123/patch-4
Inc. vs inc.
Nicolas Coden [Sat, 6 Jan 2018 22:53:15 +0000 (23:53 +0100)]
docs: add doc for mixin `button-hollow-style`
Nicolas Coden [Sat, 6 Jan 2018 22:52:42 +0000 (23:52 +0100)]
refactor: factorize button hollow/clear styles into their own mixins
Add mixins:
- button-clear
- button-clear-style
- button-fill
- button-fill-style
Update mixins:
- button-hollow
- button-hollow-style
Use these mixins in `foundation-button` and `foundation-button-group` to generate button modifiers.
Nicolas Coden [Sat, 6 Jan 2018 22:45:30 +0000 (23:45 +0100)]
type: change inc. to Inc. in LICENSE
Nicolas Coden [Sat, 6 Jan 2018 22:24:56 +0000 (23:24 +0100)]
Merge branch 'develop' into IamManchanda-feature/hollow-coloring-no-gap
Ben Holden-Crowther [Sat, 6 Jan 2018 15:18:51 +0000 (15:18 +0000)]
Inc. vs inc.
Nicolas Coden [Thu, 4 Jan 2018 08:18:12 +0000 (09:18 +0100)]
Merge pull request #10837 from nicolasv/bugfix/10836-magellan-clear-hash
Fix for #10836 (clear hash in Magellan w/ deep linking)
Nicolas Coden [Thu, 4 Jan 2018 08:12:13 +0000 (09:12 +0100)]
fix: prevent to loose query params when reseting hash in magellan
See: https://stackoverflow.com/a/
5298684 /
4317384
Nicolas Venegas [Wed, 3 Jan 2018 22:05:51 +0000 (09:05 +1100)]
Merge branch 'develop' into bugfix/10836-magellan-clear-hash
Nicolas Coden [Wed, 3 Jan 2018 16:44:42 +0000 (17:44 +0100)]
Merge pull request #10833 from jfurler/feature/magellan-update-history-option
Add updateHistory option to magellan
Nicolas Venegas [Wed, 3 Jan 2018 05:18:34 +0000 (16:18 +1100)]
Clear hash in Magellan deep linking when there is no active link.
Nicolas Venegas [Wed, 3 Jan 2018 05:09:28 +0000 (16:09 +1100)]
chore: Fix != comparison in Magellan.
Nicolas Coden [Tue, 2 Jan 2018 08:27:46 +0000 (09:27 +0100)]
docs: add docs in magellan about `updateHistory` option
Nicolas Coden [Tue, 2 Jan 2018 08:26:44 +0000 (09:26 +0100)]
feat: disable updateHistory by default for Magellan
**MIGRATION NEEDED**.