Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
<a name="0.8.0"></a> # [0.8.0](v0.7.0...v0.8.0) (2015-11-03) ### Bug Fixes * **cssClasses:** Fixed duplication of classNames ([e193f45](e193f45)), closes [#388](#388) * **doc:** add doctype were missing ([86a18aa](86a18aa)) * **doc:** new color scheme ([deccc17](deccc17)) * **doc:** only show a scrollbar when needed ([f2d955b](f2d955b)) * **hierarchical:** setPage 0 when toggling ([a976539](a976539)), closes [#371](#371) * **jsdoc:** use babel-node ([453dc21](453dc21)) * **live-doc:** generates missing ul ([b43e6e2](b43e6e2)) * **live-doc:** move scrollbars, removes useless ones ([548ae5f](548ae5f)) * **live-doc:** moves octocat link to top. Removes stackOverflow ([8ff6a79](8ff6a79)) * **live-doc:** Moves version in the main content ([27731c3](27731c3)) * **live-reload:** integrates the links into the menu flow ([c118051](c118051)) * **numerical widgets:** s/facetName/attributeName ([f209f5d](f209f5d)), closes [#431](#431) * **refinementList:** ensure the key reflects the underlying state ([b048f0b](b048f0b)), closes [#398](#398) ### Features * **examples:** try examples instead of themes ([bedffce](bedffce)) * **headerFooter:** Only add markup if a template is defined ([7a2d22d](7a2d22d)), closes [#370](#370) * **priceRanges:** Add BEM classes and tests ([ad58d7a](ad58d7a)), closes [#387](#387) ### BREAKING CHANGES * numerical widgets: the priceRanges and rangeSlider widgets are now using `attributeName` instead of `facetName`. * priceRanges: `ais-price-ranges--range` are now named `ais-price-ranges--item` and are wrapped in a `ais-price-ranges--list`. I've moved the bottom form into it's own PriceRangesForm component, along with its own tests. I've fixed a minor typo where the component was internally named PriceRange (without the final __s__). I factorize some logic form the render in individual methods and manage to individually test them. This was not an easy task. I had to mock the default `render` (so it does nothing) before instanciating the component. Then, I was able to call each inner method individually. This requires to stub prototype methods in beforeEach, then restore them in afterEach. I've added a few helper methods, this can surely be simplified again but this gives nice granularity in testing. I've renamed the `range` items to `item` and wrapped them in a `list`. I've also added classes to all elements we add (`label`, `separator`, etc). I've removed the empty `span`s. * headerFooter: The `<div class="ais-header">` and `<div class="ais-footer">` markup is only added when a `templates.{header,footer}` is passed.
- Loading branch information