Foundation 是一个易用、强大而且灵活的框架,用于构建基于任何设备上的 Web 应用。提供多种 Web 上的 UI 组件,如表单、按钮、Tabs 等等。
Version 6.2.2 is a bugfix release, with the goal of helping you get your work up and out with fewer hiccups. In particular, the Sticky plugin got a lot of love and attention (thanks @gehasia and@colin-marshall!) There are no migration needs or settings changes.
npm install foundation-sites@6.2.2-rc1
bower install zurb/foundation-sites#6.2.2
Abide
[#8576] Reintroduce requiredCheck for checkboxes in Abide.
[#8657] Fix resetting of values of radio and checkboxes on reset.
[#8770] Don't validate hidden fields (Thanks @sdhull!)
Accordion
[#8642] Fix javascript error when destroying while slides in progress
[#8646] Fix content color variable not being used
[#8706] Fix radius and hover on Accordion
[#8720] Fix defaults for accordion content color
[#8747] Fix multiple triggering of events on animation.
Box
[#8387] Fix incorrect calculation for container right overlap
Breakpoints
[#8600] Fix linting issues
Buttons
[#8650] Prevent hover/focus effects on disabled buttons
[#8616] Fix $buttongroup-spacing
Drilldown
[#8583] Fix handler unbinding on destroy. (Thanks @gehasia!)
[#8595] Fix parentLink option
[#8610] Add visual test for parent link option
[#8634] Fix typo and Add internal event documentation
[#8599] Fix close on click issue.
[#8679] Fix value of this.$wrapper
Dropdown
[#8579] Fix horizontal position with additional classes
Dropdown Menu
[#8564] Fix dropdown menu overflow and keyboard interaction issues.
[#8712] Fix open inner positioning
[#8603] Fix issue with leaving and rentering dropdown menus within hover delay
Equalizer
[#8671] Fix equalizeOnStack functioning within a callout (Thanks @designerno1!)
[#8696] Fix equalizer event handler removal on destroy.
Forms
[#8695] Prevent input group buttons wrapping to multiple lines
[#8704] Fix overlapping select arrow
Grid
[#8534] Fix responsive collapsed rows spilling over into parent columns (Thanks @andycochran!)
[#8578] Remove duplication of max-width property in row mixin
[#8511] Fix issue introduced in 6.2.1 for flex-column wrapping
Interchange
[#8686] Protect array for/in loops.
Keyboard
[#8571] Enhance keyboard util. (Thanks @Owlbertz!)
MediaQuery
[#8644] improve triggering of changed.zf.mediaquery to prevent issues on errors.
Magellan
[#8726] Account for barOffset when setting active menu item
Media Objects
[#8614] Fix margins of media options in sections and callouts
[#8740] Fix behavior of media objects in flexbox mode
Menu
[#8683] Add inline-svg icon support (Thanks @artursopelnik!)
Offcanvas
[#8688] Fix aria-expanded triggers (Thanks @gapple!)
Reveal
[#8635] Updated and enhanced accessibility around reveal. (Thanks @sethkane!)
[#8678] Fix controlling the spead of animation for reveal overlay.
[#8471] Make callouts not close the reveal they are in.
[#8744] Fix scrolling issue with reveal on iOS
Slider
[#8449] Fix touch interactions (Thanks @Owlbertz!)
[#8503] Add the ability to disable slider after initialization
Sticky
[#8553] Fix height of sticky container when used with responsive components (Thanks @gehasia!)
[#8674] Add visual tests for sticky
[#8741, #8742] Visual tests for sticky accordions with anchors
[#8434] Fix anchored element losing its original height after being stuck
[#8719] Fix object undefined error when destroying sticky elements without anchors
[#8716] Correct anchor offest when using only one anchor
[#8715] Fix anchored element not following the flow when resizing window.
[#8717] Set container height before positioning anchors.
Tabs:
[#8558] Fix handler unbinding on destroy. (Thanks @dragthor!)
Tooltip:
[#8691] Fix issue with data-click-open not being respected
[#8567] Fix tooltip ignoring positionClass option (Thanks @JamesJGarner!)
[#8730] Fix default behavior on multiple clicks
Other
[#8563] Fix background SVG bug in Edge
[#8752] Fix how visual tests work to function on Windows
[#8751] Fix scss-lint across a range of components
[#8745] Remove .babelrc from packages.
Customizer
[#8608] Fix missing menu-icon component
[#8748] Add keyboard util dependency for Reveal and Slider
Docs
[#8543] Add description for the center option of grid-col-position()
[#8584] Fix message on abide docs when form is valid
[#8626] Fix typos in register/unregister plugin
[#8513] Add JavaScript reference for Responsive Toggle
[#8735] Improve sticky docs
[#8710] Highlight more the dependency of Orbit on Motion-UI
For a commit-by-commit recap, check out v6.2.1...v6.2.2-rc1