12 Commits

Author SHA1 Message Date
atanasster
e2a81d293e fixed return type of linkTo and buttons examples 2019-11-26 21:03:39 -05:00
Norbert de Langen
af2f5159fb FIX the broken addon links.
Functionality to support navigation by (storyId || kind || kind + storyName || storyName) is now implemented in the linkTo
itself.

It uses the global scope storyStore & clientApi, which isn't good, but we will refactor that later.

The navigate function now refuses to navigate to a story that does not exist.

hrefTo function also no longer throws an error when kind isn't provided

Add test to assert this functionality actually works
2019-09-24 16:49:39 +02:00
Simon Adcock
7dc5d2541e update linkto type to accept function arg 2019-09-18 17:27:25 +01:00
Norbert de Langen
ff58919e68 FIX it 2019-08-30 18:30:07 +02:00
Norbert de Langen
5066ef5345 FIX typescript error 2019-08-19 16:25:11 +02:00
Roberto Wesley Overdijk
f9cdfcda7d
remove unused import 2019-07-16 16:18:17 +02:00
Roberto Wesley Overdijk
e99ab01cd3
use SET_CURRENT_STORY with storyId 2019-07-16 16:09:56 +02:00
Filipp Riabchun
59d0dda714
Fix typings 2019-05-19 15:18:14 +02:00
Filipp Riabchun
66067cc965
Fix withLinks decorator 2019-05-19 15:09:37 +02:00
Norbert de Langen
1c12e8cc78 REFACTOR addon/links to make creating themes work for react15 2019-04-27 00:44:04 +02:00
Anton Savoskin
1cc89459d0 chore: fix linkTo type in addons/links 2019-03-25 18:20:52 +07:00
Anton Savoskin
c81f5617a5 chore: migrate src of addons/a11y to Typescript 2019-03-23 20:47:24 +07:00