521 Commits

Author SHA1 Message Date
Michael Shilman
4e70f9d192 v4.0.0-alpha.10 2018-06-21 21:48:49 +08:00
Florian Mounier
85e4955f9a Allow number knob to be empty (returns null instead of 0).
Prevent uncontrolled to controlled warning when defaulting to null (or undefined).
2018-06-19 16:23:46 +02:00
Michael Shilman
1a03042590 v4.0.0-alpha.9 2018-06-10 15:42:04 +08:00
Dependencies.io Bot
23c6b45705 Update moment from 2.22.1 to 2.22.2 in addons/knobs 2018-06-04 23:17:34 +00:00
Michael Shilman
c9693d5180 Updated withKnobsOptions deprecation message 2018-05-28 18:44:31 -07:00
Michael Shilman
781804cf1e Update withKnobs documentation 2018-05-28 18:22:14 -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
Filipp Riabchun
6887a6cbb9
Merge pull request #3650 from Keraito/force-render-button-knob
Force render on knob button click and update example
2018-05-27 17:44:43 +03:00
Michael Shilman
6a1f5e4675 v4.0.0-alpha.8 2018-05-26 18:47:25 -07:00
Keraito
0514531a64 Force a render after the callback of a button 2018-05-24 22:04:50 +02:00
Keraito
e26bed8fcc Remove random brackets 2018-05-23 16:31:07 +02:00
Keraito
d28c6f19af Use the event instead of the ref to get the checkbox value + pure func components 2018-05-23 16:25:07 +02:00
Keraito
c6f587ca63 Revert "Fix the output of the boolean knob"
This reverts commit cdf9bb4ded31d30a86f131da9d3cb61d3bca416a.
2018-05-23 16:10:31 +02:00
Keraito
cdf9bb4ded Fix the output of the boolean knob 2018-05-21 00:59:42 +02:00
Norbert de Langen
c821484b67
Merge pull request #3572 from storybooks/feature/more-components
Theme-ability progress
2018-05-20 00:39:55 +02:00
Norbert de Langen
552a01c42b
FIX review comments 2018-05-19 14:40:51 +02:00
Norbert de Langen
b414338d7a
Merge pull request #3607 from kumarharsh/fix/debounce-leak
fix(knobs): cancel debounced onChange on unmounting
2018-05-19 12:23:34 +02:00
Kumar Harsh
e1884594d0 fix(knobs): cancel debounced onChange on unmounting 2018-05-19 02:59:47 +05:30
Norbert de Langen
43279a3076
Merge branch 'master' into feature/more-components 2018-05-18 13:38:51 +02:00
Hypnosphi
7d918df181 Merge remote-tracking branch 'origin/master' into dependencies.io-update-build-341.0.0
# Conflicts:
#	lib/core/package.json
2018-05-18 03:12:24 +03:00
Michael Shilman
008414bc47 v4.0.0-alpha.7 2018-05-17 16:02:57 -07:00
Norbert de Langen
ec88428d3b
Merge branch 'master' into dependencies.io-update-build-341.0.0 2018-05-17 17:46:46 +02:00
Norbert de Langen
3925f5a09f
CHANGE package.json files so they are sorted nicely 2018-05-17 01:05:18 +02:00
Norbert de Langen
c6b2b6ca57
Merge branch 'master' into feature/more-components 2018-05-16 22:03:31 +02:00
Paweł Lula
16fd43930a
Add missing semicolon 2018-05-16 10:00:22 +02:00
Norbert de Langen
359f12ce8f
Merge branch 'master' into feature/more-components
# Conflicts:
#	addons/knobs/src/components/Panel.js
#	addons/knobs/src/react/WrapStory.js
2018-05-16 08:44:55 +02:00
Norbert de Langen
d28d7885c1
REFACTOR knobs to use emotion for styling 2018-05-16 08:33:43 +02:00
Norbert de Langen
5eec2c8689
FIX styling issue in storysource addon && CLEANUP && ADD emotion-theming 2018-05-15 23:52:57 +02:00
Dependencies.io Bot
de9c19c403 Update react-lifecycles-compat from 3.0.2 to 3.0.4 in addons/knobs 2018-05-14 16:48:00 +00:00
Hypnosphi
7b1907946a Merge remote-tracking branch 'origin/master' into generic-addon-decorators
# Conflicts:
#	addons/viewport/package.json
2018-05-13 01:27:33 +03:00
Michael Shilman
369e7204a6 v4.0.0-alpha.6 2018-05-12 13:32:30 -07:00
Michael Shilman
ca8d96d6d5 v4.0.0-alpha.5 2018-05-12 13:26:33 -07:00
Hypnosphi
2889076bf2 RN: Sync selected story between manager and device 2018-05-12 20:16:21 +03:00
Hypnosphi
2e30aeb675 Generic addon-knobs decorator 2018-05-09 18:14:04 +03:00
Neville Mehta
d8e0673d31 Merge branch 'master' of github.com:storybooks/storybook into addmarkosupport 2018-05-06 21:13:31 -07:00
Filipp Riabchun
e9d423d61a
Merge pull request #3475 from storybooks/html
Storybook for HTML snippets
2018-05-07 03:50:42 +03:00
Wei-Wei Wu
ed39832063
Merge pull request #3359 from SilencerWeb/patch-1
Fix links and code examples in addons/knobs
2018-05-05 02:34:11 -07:00
Hypnosphi
61f323225f Introduce "register subscription" event, move declarative links decorator to addon-links 2018-05-02 01:38:03 +03:00
Hypnosphi
60c96aeaed Use force re-render event in knobs 2018-05-02 00:51:25 +03:00
Hypnosphi
8e8ba81f43 Merge remote-tracking branch 'origin/master' into html
# Conflicts:
#	lib/cli/package.json
2018-04-30 15:43:56 +03:00
Neville Mehta
26d71a0e66 fix lint errors for marko app 2018-04-30 00:16:36 -07:00
Neville Mehta
7a09fd3e8f remove unused references in files 2018-04-29 20:02:26 -07:00
Neville Mehta
bb20d63db0 Resolved merge conflict 2018-04-28 16:32:12 -07:00
Neville Mehta
38076540e9 make knobs+actions work 2018-04-28 15:59:17 -07:00
Michael Shilman
f2a30fae10 v4.0.0-alpha.4 2018-04-27 12:44:14 -07:00
igor-dv
8b21185e28 Few fixes + more knobs examples 2018-04-26 01:37:36 +03:00
igor-dv
805ef36913 Simplify knobs registration for HTML app 2018-04-25 17:41:41 +03:00
igor-dv
322be353d1 Add Knobs addon 2018-04-25 14:49:08 +03:00
Filipp Riabchun
604a328ea8
Merge branch 'master' into patch-1 2018-04-22 17:09:05 +03:00
Hypnosphi
dcad904581 Make escapeHTML a global option & apply it to all values 2018-04-22 16:05:42 +03:00