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
Norbert de Langen
ac843190c8
CLEANUP angular default addons.js
2017-09-12 22:23:51 +02:00
Norbert de Langen
fea758774f
UPDATE angular readme
2017-09-12 22:22:44 +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
Norbert de Langen
a86701828e
SYNC versions && FIX
2017-09-12 20:41:36 +02:00
Norbert de Langen
4874d446aa
ADD storybook bins for angular
2017-09-09 14:19:27 +02:00
Norbert de Langen
ab30934249
trying to fix after yarn workspaces change
2017-09-09 13:30:49 +02:00
Carlos Vega
8b011927ee
Updating package.json versions to match other apps
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-09-06 10:34:54 -06:00
Carlos Vega
45fa5c14fd
Knobs addon and Angular app refactor
...
- Knobs addon now works (it had a bug in which the knobs would get cleaned *after* the new story was loaded.
- No longer using decarator/classes for dynamic component creation, this will allow us to "inherit" from the components we get from the user.
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-09-06 10:25:56 -06:00
Carlos Vega
1f1688158e
Cleaning up angular app on each story load
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-31 09:06:50 -06:00
Carlos Vega
f9114ad5be
Experimenting with knobs addon.
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-30 14:15:33 -06:00
Norbert de Langen
e56ad158fd
FIX
2017-08-24 20:18:53 +02:00
Carlos Vega
c05e5303ca
Updating angular version to latest beta and fixing errors regarding @types/node
dependencies
...
Downgraded the version of `@types/node` used for the knobs addon. There's a well known issue with TS + lerna repositories (hoisted deps and symlinks). This fixes the issue for the time being.
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
fe1abbc8c6
Adding else clausle for stories not sent by the knobs
add-on
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
ede5c0e110
Laying the foundation to fix the knobs
add-on for angular
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
aec73db8c1
Removing unneded deps and updating deps versions
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
0633526cda
Adding clearer examples for Notes and Actions add-ons
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
a8e8ed4600
Enabling support for components with separate templates/css
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Norbert de Langen
edbba98f0e
Update README.md
2017-08-18 18:18:58 +02:00
Carlos Vega
ca3520073b
Testing add-ons
...
- Links
- Actions
- Notes
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +02:00
Carlos Vega
7ba1e4dff6
Clarifying strategy used to render dynamic components in angular
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:37 +02:00
Norbert de Langen
3f0cbc9b1a
SYNC dependencies
2017-08-18 18:18:37 +02:00
Carlos Vega
efc2c2f562
Updating README
...
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:37 +02:00
Carlos Vega
99435cfcf5
Angular (2+) support ( #269 )
...
This is the first attempt at adding support for Angular based, mostly, on the vue changes.
What works:
- Added angular sample code to the `examples` folder
- Rendering stories and creating stories out of existing angular components
- For the time being, this only supports one-page angular components
What's missing:
- Addons support
- Support for components that have a separate template
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:16:45 +02:00