467 Commits

Author SHA1 Message Date
Rahul
e65a3a5827
Tweaks for range labels
Aligns the font size with the knob label and ensures the range label doesn't wrap.
2018-04-01 23:28:11 -07:00
Hypnosphi
cce988939b Replace deprecated React methods in more places 2018-03-31 04:54:59 +03:00
Hypnosphi
cdb7cab87b Stop using deprecated React methods 2018-03-30 20:28:20 +03:00
Filipp Riabchun
a0773c7f3d
Merge branch 'master' into app-mithril-3.4.0-rc.3 2018-03-27 16:47:58 +03:00
Norbert de Langen
ab8a5662dc
Merge branch 'master' into files-knob 2018-03-26 19:55:13 +02:00
Igor
56ea9d9ff8
Merge branch 'master' into app-mithril-3.4.0-rc.3 2018-03-21 19:21:32 +02:00
Sangmin Yoon
33edc206e3 add Mithril support to addon-knobs 2018-03-20 14:48:35 +09:00
Jeff Carey
137a0d38b9 #2445 Add min, value, and max labels to range knob 2018-03-01 23:29:19 -08:00
Nic Luciano
95881f255e adding files knob import/export to polymer and vue files (untested) 2018-02-28 02:51:55 -05:00
Nic Luciano
30be96e039 accept attribute 2018-02-28 02:34:54 -05:00
Hypnosphi
d15afc63af Run prettier 2018-02-18 17:43:47 +03:00
Hypnosphi
98d89e0408 Merge remote-tracking branch 'origin/master' into group-knobs 2018-02-18 15:29:02 +03:00
Hypnosphi
398ff2639e eslint: remove unused disable directives 2018-02-17 20:35:37 +03:00
ASeeto
57f23a5485 Updated to display GroupTabs only if groupIds exist on knobs. Added more clear example of filtering knobs to official-storybook. Modified to reset to DEFAULT_GROUP_ID on storybook switch. 2018-02-15 18:15:02 -05:00
ASeeto
f40ebca26d Fetch upstream, resolve conflicts. 2018-02-15 14:40:36 -05:00
Hypnosphi
bb7f93e03c Run prettier 2018-02-04 20:50:34 +03:00
Simon Knox
5928842a1b Merge branch 'select-knob-ordering' of github.com:storybooks/storybook into select-knob-ordering 2018-02-01 09:54:31 +11:00
Simon Knox
0a1140fd7d deprecate properly 2018-02-01 09:53:03 +11:00
Norbert de Langen
b2f22ae14f
Merge branch 'master' into select-knob-ordering 2018-01-31 21:55:05 +01:00
Simon Knox
c0c8f3c737 fix deprecate message, add example for select v2 2018-01-30 13:25:53 +11:00
igor
0609f0a02b Support styles with knobs 2018-01-29 09:22:46 +02:00
Nic Luciano
37258a5c17 importing filereader from global 2018-01-28 15:53:03 -05:00
Nic Luciano
9d4aecc285 first pass at files knob type 2018-01-28 12:03:11 -05:00
Simon Knox
a1884681ea Merge branch 'master' of github.com:storybooks/storybook into select-knob-ordering 2018-01-24 14:26:32 +11:00
Simon Knox
571069b4ec don't deprecate selectV2 until v5 2018-01-18 17:51:34 +11:00
Carlos Vega
9a70b14fcf Removed unused getPropMetadata function 2018-01-17 13:05:26 -06:00
Carlos Vega
3eb77fb663
Merge branch 'master' into angular-knobs-with-template 2018-01-17 09:46:33 -06:00
Carlos Vega
18e68239f4 Fixed knobs addon to support templates
If there's a teamplte in the context, generate a component and then process it.
2018-01-17 09:28:27 -06:00
Simon Knox
81864f817d add deprecation messages for select and selectV2 2018-01-15 22:52:29 +11:00
Simon Knox
320a3d812e Merge branch 'master' of github.com:storybooks/storybook into select-knob-ordering 2018-01-15 21:28:49 +11:00
Norbert de Langen
e094775a14
Merge branch 'master' into add-polymer-support
# Conflicts:
#	.editorconfig
#	lib/cli/package.json
#	yarn.lock
2018-01-12 20:24:53 +01:00
Carlos Vega
bf25c4390d Adding support for Angular templates 2018-01-08 13:54:46 -06:00
ASeeto
524de4de60 Added GroupTabs test file. 2018-01-05 16:35:05 -05:00
ASeeto
72151b9fb0 Replace string with DEFAULT_GROUP_ID. 2018-01-05 16:34:29 -05:00
ASeeto
fbcc281b10 Fixed build-storybook. Replicated AddonPanel as GroupTabs component within addons/knobs. 2018-01-05 15:09:43 -05:00
ASeeto
30e065b47e Enable groupId option for knobs to be organized into sub panels. 2018-01-05 14:08:41 -05:00
Carlos Vega
d129d65e4a Removing lowercase-only restriction for knobs
Take in account that now the knob name needs to be the same as the angular component @Input attribute. Otherwise it'll not bind to the correct property.

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2018-01-04 10:49:16 -06:00
igor
2ce834ef39 Remove @angular/core dep from peer and suppress extraneous-dependencies error 2018-01-04 10:33:16 +02:00
Rahul
448fda2533
Remove newlines 2018-01-03 14:51:34 -08:00
Rahul
0828155d06
Pass alpha transparency up to the story
Fixes #802.

Instead of just passing `color.hex`, also pass the alpha value.
2018-01-02 16:06:10 -08: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
Igor
46732c3024
Merge branch 'master' into fix-di 2017-12-28 13:35:14 +02:00
igor
b3792ef521 Use ɵReflectionCapabilities + knobs example 2017-12-28 10:31:57 +02:00
Igor
3e2e915e10
Revert "Move everything from lodash to lodash-es" 2017-12-28 08:47:51 +02:00
igor
a42f6d043a Move everything from lodash to lodash-es 2017-12-24 13:24:10 +02:00
Norbert de Langen
dd42353c3f
Merge branch 'release/3.3' into add-polymer-support 2017-12-22 13:21:49 +01:00
Carlos Vega
c367d967dc Igor's feedback
- Changing main tag to a more meaningful name
- Removing redundant type Data
- Validating moduleMetadata param
- Removing unused references

Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-12-21 09:55:22 -06:00
Norbert de Langen
48f37f8fbd
Merge branch 'release/3.3' into add-polymer-support
# Conflicts:
#	package.json
#	yarn.lock
2017-12-21 11:40:52 +01:00
Carlos Vega
82c1642923 Adding extra metadata to module/components 2017-12-20 16:07:38 -06:00
igor
08b0bdafa6 Remove setMeta 2017-12-20 08:38:30 +02:00