12 Commits

Author SHA1 Message Date
Madushan Nishantha
cbc6558978 reset the example default value 2016-09-19 16:20:31 +05:30
Madushan Nishantha
898474d2ce date knob default value 2016-09-19 16:19:02 +05:30
Arunoda Susiripala
758b37c29f Make the example to work with Safari 2016-09-19 14:13:36 +05:30
Arunoda Susiripala
c2b0572b4a Add some better example. 2016-09-19 13:46:14 +05:30
Madushan Nishantha
b840bf8d8f added a date component 2016-09-15 13:50:16 +05:30
Jason T. Wong
b91c819202
Feature Select Knob
Why:

* We want a new knob that uses a select box for predefined values.

This change addresses the need by:

* Update `.gitignore`.
* Add new `SelectType`.
* Update example story.
* `npm run prepublish`
2016-09-10 12:22:44 -04:00
Arunoda Susiripala
468ea8eef3 Allow user to write JSON in the Object knob freely.
Earlier, it's hard to add new fields without creating
a JSON error.
2016-09-09 14:46:40 +05:30
Arunoda Susiripala
cf38bf7d43 Make the wrapStory decorator simple to use. 2016-09-09 09:12:40 +05:30
Arunoda Susiripala
13d0105d97 Fix a bug in the code and document a bit. 2016-09-08 00:15:52 +05:30
Arunoda Susiripala
f15026138a Refactor to make it easy to add more knobs in future. 2016-09-07 23:24:19 +05:30
Arunoda Susiripala
75b7eed2a9 Add some comments. 2016-09-07 18:12:28 +05:30
Arunoda Susiripala
614b0fef43 Cleanup story side code. 2016-09-07 13:33:53 +05:30