17 Commits

Author SHA1 Message Date
Hypnosphi
bb7f93e03c Run prettier 2018-02-04 20:50:34 +03:00
Simon Knox
a12d5c5462 key and value for select knob match key/value of options
fixes #799
add selectV2 for backwards compatibility
2017-12-30 10:55:02 +11:00
Daniel Duan
a5f3c38529 #2209 knobs refactor accidentally removed select 2017-11-01 20:34:01 -04:00
hypnos
059835eb2d Merge remote-tracking branch 'origin/master' into release/3.3 2017-10-22 22:51:34 +03:00
Derrick Pelletier
f2e8d14a41 Added button knob type, with handler callback support 2017-10-09 17:54:53 -07:00
hypnos
41054abc7a Run prettier 2017-10-01 03:07:34 +03:00
Norbert de Langen
8c23357df5 CORRECT readme for knobs && change comment on deprecating requiring @storybook/addon-knobs directly 2017-09-11 22:55:12 +02:00
Norbert de Langen
5e74ef8207 CHANGE @storybook/addon-knobs/dist/{{framework}} to @storybook/addon-knobs/{{framework}}
And other review comments
2017-09-11 22:31:21 +02:00
Norbert de Langen
003912ac84 REFACTOR addon-knobs so it will not include runtimes of other platforms
When using knobs on a storybook for react, it should not include anything other then react code.
2017-09-11 13:20:17 +02:00
Gytis Vinclovas
2bec5ae624 Addon knobs should work with RN. 2017-08-10 10:40:39 +03:00
Tom Coleman
5e9d5741e8 Remove wrapperKnobs 2017-07-27 11:50:44 +10:00
Tom Coleman
6f74da4576 Revert knobs API to previous API.
`withKnobs` the decorator is still the base API. (This now works for
Vue).

The new API is called `wrapperKnobs` and will eventually be merged into
`withKnob` (c.f. medium term addons plan, to be posted)
2017-07-27 11:33:54 +10:00
Alexandre BODIN
4c1daabf50 More clean up 2017-06-16 23:04:03 +02:00
Alexandre BODIN
bac1905875 Add support for addonKnobs, rename withX to addonX to avoid name collision 2017-06-16 22:33:07 +02:00
Alexandre BODIN
aef1f0188e less ugly working example 2017-06-16 22:31:42 +02:00
Gytis Vinclovas
50a781d4e3 Fixing performance issues. Added timestamps to setKnobs event. Added ability to pass debounce option when adding decorator 2017-05-24 07:54:33 +02:00
Norbert de Langen
69b91f6e53 CHANGE folder structure && CHANGE package-names 2017-05-15 00:08:46 +02:00