14 Commits

Author SHA1 Message Date
Oscar Lorentzon
ea6b9afc3b Handle IO errors in components. 2016-10-25 11:22:20 +02:00
Oscar Lorentzon
59a0ceb7d3 Remove new prefix from graph related classes. 2016-10-24 16:37:39 +02:00
Oscar Lorentzon
879bada8c3 Retrieve sequence and highlight if configured. 2016-10-22 11:40:53 +02:00
Oscar Lorentzon
45e84e8adf Switch graph implementation throughout library.
Use new graph everywhere.
Switch map to edge streams where needed.
Change unit tests to comply with new node implementation.
2016-10-14 14:24:12 +02:00
Oscar Lorentzon
3bfe8cf175 Generic component base class.
Fixes #123.
2016-08-26 09:36:41 -04:00
Oscar Lorentzon
f5f98c70e1 Migrate to RxJS 5 beta.
Fixes #116
Fixes #117

Migrate src and spec.
Handle change operator specs.
Install es6-shim typings for RxJS promise support.
Remove RxJS browser file.
Import only needed classes and functions from RxJS to enable
smaller builds.
2016-07-14 13:20:17 -04:00
Oscar Lorentzon
9830e62800 Loop through direction element correctly.
Fixes #141

Do not run hovered key logic when deactivated.
2016-06-09 09:23:13 +02:00
Oscar Lorentzon
ec8a6ad266 Document public API of direction and sequence components.
Remove unused component configuration interface.
2016-06-08 09:22:58 +02:00
Oscar Lorentzon
b41d39ad53 Migrate to typings 1.0.
Fixes #135
2016-06-07 14:53:35 +02:00
Oscar Lorentzon
3a31c45fce Min and max width configurable. 2016-06-02 08:30:45 +02:00
Oscar Lorentzon
deb05e10a0 Resize navigation arrows dynamically.
Add calculator class for determining CSS values based on element size.
2016-06-01 16:53:25 +02:00
Oscar Lorentzon
2a3efe15c0 Config prop for enabling distinguished sequence classes.
Calculate sequence belonging only when configured.
2016-05-31 11:19:37 +02:00
Oscar Lorentzon
acebd74059 Highlight steps and turns for requested key.
Different class name when step or turn is in sequence
to enable setting different highlight or hover color.
2016-05-31 11:19:37 +02:00
Oscar Lorentzon
758cd36c34 Move direction dom render code to separate class.
Separate observable streams from rendering state and logic.
2016-05-31 11:19:37 +02:00