211 Commits

Author SHA1 Message Date
Ruslan
edaee12871
Merge branch 'release/3.3' into fix-angular-typings 2017-12-22 12:42:14 +03:00
Ruslan
ab75f9a947
Merge branch 'release/3.3' into fix-angular-typings 2017-12-21 21:10:31 +03: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
Carlos Vega
bc4af36ad5 Removing unused import
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-12-20 16:41:50 -06:00
Carlos Vega
82c1642923 Adding extra metadata to module/components 2017-12-20 16:07:38 -06:00
Norbert de Langen
7b296048b1
Merge branch 'release/3.3' into fix-ng-component-prop-output-override 2017-12-20 21:31:26 +01:00
Ruslan
6585b8777c
Merge branch 'release/3.3' into fix-ng-component-prop-output-override 2017-12-20 21:38:49 +03:00
Ruslan
841f260e01
Merge branch 'release/3.3' into fix-angular-typings 2017-12-20 21:37:35 +03:00
igor
6ed2fd8483 Fix Critical dependency: the request of a dependency is an expression in webpack.config.prod 2017-12-20 09:08:53 +02:00
igor
24873e7988 Remove pathinfo 2017-12-20 08:57:57 +02:00
igor
08b0bdafa6 Remove setMeta 2017-12-20 08:38:30 +02:00
igor
dd0d1859e9 Move back to peer deps 2017-12-20 08:09:24 +02:00
Igor
9cc09dbb97
Merge branch 'release/3.3' into angular-versions-support 2017-12-20 06:55:22 +02:00
igor
5fe1283e30 Add custom pipes support 2017-12-19 17:38:34 +02:00
igor
154e510540 Fix Critical dependency: the request of a dependency is an expression warning with angular 5. 2017-12-14 08:14:47 +02:00
ralzinov
ce8544af9c fix typing errors in tests 2017-12-13 19:40:29 +03:00
igor
fef3b98830 Revert back to v5 2017-12-13 13:14:33 +02:00
igor
a55741d4e1 Revert changes back to the strong angular 5 version. 2017-12-13 12:14:39 +02:00
igor
6e6d36df84 Use deprecated OpaqueToken instead of InjectionToken to support angular v2 2017-12-12 15:54:25 +02:00
igor
3778ed9119 Use utils on a few more helper functions 2017-12-12 13:25:50 +02:00
igor
00106d385a WIP utils 2017-12-12 12:03:27 +02:00
igor
63be049aa7 Create metadata extraction util 2017-12-12 01:37:47 +02:00
ralzinov
3662bdffdd fixed output property override when value is undefined 2017-12-11 15:53:48 +03:00
jason
5cefa7c139 Added type annotation to helpers, added ts declaration files for angular and angular/demo modules 2017-12-10 20:43:00 +03:00
ralzinov
3af4a7eb8c fixed demo button component 2017-12-08 18:23:51 +03:00
ralzinov
43d1f629f0 fixed component outputs EventEmitter override 2017-12-08 18:12:00 +03:00
Tom Coleman
6638f5cfb7 Save the preview frame URL as the story changes.
Sometimes when there are problems with HMR, we end up doing a
hard-reload of the preview iframe, whilst leaving the main window.

As the preview iframe didn't change its URL ever, this led to problems
where the old (usually original) story was loaded in such circumstances.

See #614 and #1328
2017-11-22 17:11:12 +11:00
Dan Green
f3d0827695 Add support for markdown to jest, vue, react native, and angular 2017-11-13 23:06:01 -05:00
Michael Shilman
dd4e81336a Remove framework init.js
- move keyboard handling to the UI library, rather than introducing new
deps
- keep QS handling in each framework (for now)
2017-11-09 14:20:42 +09:00
Michael Shilman
e8f76ceed5 Self-binding core client/config API 2017-11-08 15:41:41 +09:00
Michael Shilman
f938dd472c Merge updates from release/3.3
- resolve conflicts
- fix RN story_store (make it an EventEmitter)
2017-11-08 15:26:14 +09:00
Michael Shilman
4573883f70 Refactor client / config / redux API into core
Questionable changes:
- ability to pass a story decorator function
- pass clearDecorators to ConfigAPI

React/Vue/Angular working (apparently). RN still broken.
2017-11-06 19:57:39 +09:00
Michael Shilman
9eca833707 Refactor StoryStore into @storybook/core 2017-11-06 00:52:36 +09:00
hypnos
68bfb04784 Fix new lint errors 2017-11-03 03:59:01 +03:00
hypnos
3af05719ad Integrate changes from #2199 into app/angular 2017-11-01 05:11:35 +03:00
hypnos
26bbc69282 Merge remote-tracking branch 'origin/master' into release/3.3
# Conflicts:
#	yarn.lock
2017-10-17 03:27:19 +03:00
hypnos
8fd1a24bcf Turn smoke tests back on for angular-cli fixture 2017-09-15 23:33:13 +03:00
Carlos Vega
0ae971f78e Actually, button component is used several times, adding onClick palceholder 2017-09-14 09:09:25 -06:00
Carlos Vega
c52330b783 Unused onClick handler in button example
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-09-14 08:49:42 -06:00
Carlos Vega
8137d67dfa Debouncing render calls
- Angular's bootstrapping process is async and sometimes storybook triggers two re renders. In these cases, we reach an inconsistent state in which we can't properly dispose the old view and listeners get duplicated. With this debounce function we make sure we're accounting for those times.
2017-09-13 18:35:08 -06:00
Norbert de Langen
4ec19da59c FIX smoke tests for angular 2017-09-13 09:35:51 +02:00
Norbert de Langen
72f75e3d92 FIX build-storybook for angular 2017-09-13 08:02:56 +02:00
Carlos Vega
3616ac3d4a Fixing bug in which HRM reload would cause a duplicate component hence duplicate handlers 2017-09-12 16:38:17 -06:00
Norbert de Langen
82f4ce080a Merge branch '269-angular-support' of github.com:storybooks/storybook into 269-angular-support 2017-09-12 23:36:58 +02:00
Norbert de Langen
aa1e6b1ca9 CHANGE webpack setup to be aligned with other apps 2017-09-12 23:36:21 +02:00
Carlos Vega
31d24dc252 Allowing custom elements inside an angular component 2017-09-12 15:20:37 -06:00
Norbert de Langen
6695d953a6 CLEANUP && FIX unit test 2017-09-12 23:02:52 +02:00
Norbert de Langen
8727989141 CLEANUP angular client/index.js 2017-09-12 22:25:39 +02:00
Carlos Vega
e596022ff1 Adding changes removed by last commit
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-09-12 13:13:03 -06:00
Carlos Vega
cad98bbd69 Merge branch '269-angular-support' of github.com:storybooks/storybook into 269-angular-support 2017-09-12 13:00:16 -06:00