Oscar Lorentzon
c3b3d8eb2a
feat: typed component names
2021-04-23 18:28:17 +02:00
Oscar Lorentzon
5e3873ee9f
refactor: rename node to image
2021-03-28 18:55:20 +02:00
Oscar Lorentzon
4efa09ac97
feat: typed event methods, interfaces, and props
2021-03-28 15:12:50 +02:00
Oscar Lorentzon
796947f038
docs: document all events and fix code examples
2021-03-28 15:12:50 +02:00
Oscar Lorentzon
fa5c168623
feat: overload component methods for type check and docs
2021-03-28 15:12:50 +02:00
Oscar Lorentzon
2fa2cb8b49
refactor: type and document component events
...
Remove all component configuration wrapper APIs
to avoid duplicated logic.
Remove all unsupported public observables.
2021-03-23 09:52:58 +01:00
Oscar Lorentzon
c40d25ab00
refactor: rename key to id
2021-03-22 11:56:49 +01:00
Oscar Lorentzon
6c37c600f6
refactor: clarify ent structure and node names
2021-03-22 11:56:49 +01:00
Oscar Lorentzon
297d8ebffd
refactor: rename interfaces for clarity
2021-03-22 11:56:49 +01:00
Oscar Lorentzon
7c9c7f98df
refactor: prefix all class names with mapillary
2021-03-15 15:25:32 +01:00
Oscar Lorentzon
035be97a23
refactor: use direct imports everywhere
...
Use direct imports everywhere for uniformity
and clarity.
Bootstrap component service in bundle.
2021-02-24 08:53:07 +01:00
Oscar Lorentzon
095011eb24
refactor: rename container element property
2020-11-26 19:58:46 +01:00
Oscar Lorentzon
f756f8a275
refactor: remove component resize api
...
Use size observable from render service instead of
exposing specific resize method on components.
2018-11-09 10:17:53 +00:00
Oscar Lorentzon
ec7e11d23e
fix: emit events for hovered key
2018-11-07 12:32:40 +00:00
Oscar Lorentzon
e4f4288a6a
chore: update typescript
...
Workaround faulty compiler errors by type casting.
2018-10-08 05:14:04 +00:00
Oscar Lorentzon
c5d17b5f44
refactor: remove deprecated result selectors
...
Use map instead of result selectors for mergeMap, switchMap
combineLatest etc.
2018-06-14 07:26:15 +00:00
Oscar Lorentzon
1969bd83bc
refactor: use pipe operators
...
Use pipe operators everywhere.
Fix errors becasue of piping more than nine operations.
2018-06-13 12:03:40 +00:00
Oscar Lorentzon
c38f4e7c4f
chore: remove typings dependency
...
Add types folder as type root.
Declare modules in type def files to be able to compile.
2018-06-11 06:16:58 +00:00
Oscar Lorentzon
e3250d8162
refactor: import rxjs operators in a single place
2018-04-17 12:50:59 +00:00
Oscar Lorentzon
44c4c8ad12
test: render edges for cached and non cached sequences
2017-09-04 06:50:34 +00:00
Oscar Lorentzon
42a17d4678
fix: combine spatial edges and sequence observable
...
Fixes #257
Use combine latest instead of with latest from because
with latest from does not emit at all if the target observable
does not have a stored last emitted item. This is sometimes the
case when the node navigated to is not cached and therefore its
sequence is not cashed. Only a problem when distinguishSequence
option is enabled.
2017-09-04 06:50:34 +00:00
Oscar Lorentzon
fc3a930c65
Migrate to rxjs 5.0.
2016-12-21 11:37:43 +01:00
Oscar Lorentzon
92d3d2f37b
Make navigator props readonly.
...
Use observable naming convention on navigator
methods.
2016-10-25 14:33:30 +02:00
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