Norbert de Langen
6c9e73e560
CLEANUP deprecated APIs
2018-12-29 11:58:25 +01:00
Norbert de Langen
f1d76a81fd
Merge branch 'next' into tech/overhaul-ui
...
# Conflicts:
# addons/a11y/package.json
# addons/actions/package.json
# addons/backgrounds/package.json
# addons/cssresources/package.json
# addons/events/package.json
# addons/google-analytics/package.json
# addons/info/package.json
# addons/jest/package.json
# addons/knobs/package.json
# addons/links/package.json
# addons/notes/package.json
# addons/storyshots/storyshots-core/package.json
# addons/viewport/package.json
# app/react/package.json
# docs/package.json
# docs/src/pages/configurations/theming/index.md
# examples/cra-kitchen-sink/package.json
# examples/official-storybook/package.json
# examples/preact-kitchen-sink/package.json
# lib/addons/package.json
# lib/channel-websocket/package.json
# lib/components/package.json
# lib/core/package.json
# lib/ui/package.json
# yarn.lock
2018-12-19 22:37:36 +01:00
Norbert de Langen
d7bfb78ff5
FIX some typescript issues
2018-12-17 11:35:39 +01:00
Norbert de Langen
ec82d04797
REFACTOR a11y addon && FIX issues with decorators reloading
2018-12-10 19:27:12 +01:00
Tim Holt
e05132db22
added 'options' knob to addon-knobs with select, radio and checkbox display variants
2018-11-26 22:12:56 +09:00
Norbert de Langen
bae5a23a93
FIX issue with knobs and possibly more addons
2018-11-14 16:40:08 +01:00
Norbert de Langen
625162455d
FIX errors display && REFACTOR addons to sync naming conventions && CHANGE to use addParameters for setOptions && FIX eslint
2018-09-12 19:31:40 +02:00
t_hammb
4dbc6e2732
fixing addon type naming conventions.
2018-07-23 13:43:11 -07:00
Bryce Hammond
28a14d322f
Add radio buttons knob type
2018-07-17 16:17:57 -07:00
Tom Coleman
aa8a421907
Added allowDeprecatedUsage
option to makeDecorator
...
(and enable it for all existing addons)
2018-07-04 15:56:17 +10:00
Michael Shilman
c9693d5180
Updated withKnobsOptions deprecation message
2018-05-28 18:44:31 -07:00
Michael Shilman
3a4dc2a17d
Make withKnobs accept story parameters
...
- use makeDectorator to upgrade withKnobs
- deprecate withKnobsOptions
2018-05-28 18:15:20 -07:00
Hypnosphi
2e30aeb675
Generic addon-knobs decorator
2018-05-09 18:14:04 +03:00
Norbert de Langen
ab8a5662dc
Merge branch 'master' into files-knob
2018-03-26 19:55:13 +02:00
Hypnosphi
bb7f93e03c
Run prettier
2018-02-04 20:50:34 +03:00
Nic Luciano
9d4aecc285
first pass at files knob type
2018-01-28 12:03:11 -05: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