Bug fix (#24, #25)
Updated to React 16.6 and styled-components 4.
Updated version of react-virtualized-select
that's used within the project.
Replaced React.PropTypes
references with prop-types
library.
Ignore keyboard events for navigation purposes if the user is entering text or interacting with form controls.
Compatible with react-router
/react-router-dom
versions 4.0.0-beta.6 and 4.0.0 final.
Special thanks to @kirillku for his help with this release.
CSS tweaks to make it easier to customize touch-nav style.
Move location-parsing to will-update to fix bug.
Presentation parses location (slide index) on-mount as well as on-update.
Updated to support newer react-router
/ react-router-dom
version 4.0.0-beta.6 API.
Fixed package.json
dependencies.
Presenter-mode tab auto closes when HMR changes things (at which point the windows are diconnected anyway).
Improved presenter mode indicator style.
New "presenter mode" supported. Typing "p" while viewing a slide will open a synced presenter slide. Presenter mode automatically displays upcoming Step
content and supports other, presenter-only custom content via new slide render param isPresenterMode
.
Support added for remote control (via PageUp
and PageDown
events.)
Theming support improved for CodeMirror styles via new Code
component prop, className
.
Special thanks to @jesstelford for his help with this release.
Tweaked the bottom margin of li
items in the default theme.
Drop-down navigation now properly truncates long text with "...". Tweaked paragraphs to use bottom margin only for default theme.
Removed dependency on Typography.js.
This is not meant as a criticism of the library. It simply sets too many default styles that I found myself overriding.
Improved disabled Button
style for default theme.
Tweaked default theme paragraphy margins.
Google fonts now auto-loaded by default theme.
Prevent main header from overlapping TouchNav
buttons with right padding.
Slide
takes (optional) maxIndex
property of Step
into account as well when determining the max number of steps.
Touch nav button color changed for improved visibility.
Added setNumSteps
method to Slide
to enable custom step counts (without relying on Step
).
Updated typography-related CSS to use Typography.js. Also added missing Google font import.
Added missing react-virtualized-select
to package.json
.
Added padding to TitleSlide
component.
Added maxIndex
prop to Step
component for greater control over when a step's contents get hidden.
Also fixed a bug when stepping backwards 1 slide. Lib now ensures the step-count is correct and the last step is shown by default.
Prevent long slide titles from wrapping unattractively in the context of the drop-down slide navigation.
Disable next/previous touch navigation buttons when on the last/first slide.
Fixed a small CSS @media query bug affecting touch-nav button position on mobile.
Added drop-down navigation to jump directly to a specific slide.
Added touch support (upper right hand nav) and improved theming.
Initial release. Barebones slide and step sequence functionality.