- Adding the ability to include title tags on the toc headers.
- Fixed the empty list getting added on refresh and updated dependencies.
- Can't jump to nonASCII heading after click the toc item.
- Fix for hashes in single page apps / next.js apps.
- Use
ol
instead oful
element since its more semantic.
- Switch const declarations to var to fix IE 10 for new scroll smooth util.
- replaced zenscroll with custom implementation (see #67)
smoothScroll
option is nowscrollSmooth
, still accepting a booleansmoothScrollDuration
option is nowscrollSmoothDuration
, still accepting a number
- Works better with next.js and maybe other SPAs now (see #67)
- Republished build
- Edge / IE 11 should work better now
- Readme updates
- Add onclick handler option
- Worked on improving testing, no user facing changes
- Get next.js v3 working for exporting the project page
- Updated readme to explain how to handle fixed headers #58
- Add note about excluding smooth scroll from certain elements
- Added dist files to address #55
- Using next-export for deployments now.
- Using standard for code styling now.
- Moved toc on the project page to the right side to emphasize content more. Added
.toc-right
class for this. - Switched to using next.js with processmd for the website and removed old build scripts.
- Removed optimizely/oui and added tachyons.
- Moved changelog into it's own markdown file.
- Build to
\static
instead of\build
.
- Added
src/components
with the template used for the website. This can now be more easily reused by other projects.
- Fix test commands to work better
- [patch] Fix for smooth-scroll callback to work properly. #36
- [patch] Fix for cdnjs to update properly. #35
- [patch] Fix for clicking svgs to not throw an exception. #33
- [patch] Fix for proper header not being selected due to sub-pixel rounding issues. #31
- [dev] Updated test commands to be able to selectively run tests and debug them more easily. #29
- [patch] Removed updateUrl option from docs since it doesn't work, see: smooth-scroll #283.
- [patch] Made bower.json reference unminified file.
- [minor] Added bower.json to provide bower support.
- [patch] Added
overflow-y: auto
to the.toc selector so that it scrolls
(#17). - [dev] Added to deploy script to commit /dist files to master.
- [dev] Added to package.json for cdnjs.
- [patch]
includeHtml
option to mirror markup from the headings in the TOC (#14). - [patch]
listItemClass
will be omitted if an empty string in passed. - [dev]
test:watch
command. - [dev] more tests.
- [patch]
listItemClass
option to set classes on list items (#12).
- [patch] prevent errors from being thrown when elements are not present and add tests.
- [patch] update file size estimates in the docs.
- [patch] switch from throwing errors to using console.warn.
- [minor] add
positionFixedSelector
option to specify the element to add a fixed position class to. - [dev] use travis-ci for builds.
- [major] smooth-scroll is included by default now.
- [patch] throttling support to improve performance, also the
throttleTimeout
option. - [patch] new "try it now" option on documentation site.
- [minor] broke up scss files and separate tocbot styles better.
- [minor] default option for
contentSelector
to be.js-toc-content
. - [minor] default option for
ignoreSelector
to be.js-toc-ignore
. - [minor] default option for
collapsibleClass
to be.is-collapsible
. - [patch] reorder
default-options.js
. - [patch] update documentation.
- [patch] dependency on classList to improve browser support.
- [minor] new and improved tests using jsdom.
- [dev] switched from gulp to npm scripts.
- [dev] switched from browserify to webpack.
- [dev] switched from swig to react for building the documentation.
- First published source code.