1087 Commits

Author SHA1 Message Date
Dependencies.io Bot
e8b2654504 Update @angular/cli from 1.3.0 to 1.6.2 in examples/angular-cli 2017-12-24 00:49:19 +00:00
jason
383ac44a72 added example story to examples/angular-cli 2017-12-24 02:24:01 +03:00
Michael Shilman
4903d6ece7 v3.3.0-alpha.6 2017-12-23 09:25:20 -08:00
Michael Shilman
a65beced79 v3.3.0-alpha.5 2017-12-23 09:05:46 -08: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
82c1642923 Adding extra metadata to module/components 2017-12-20 16:07:38 -06:00
igor
a1470f6d86 Add required click handler to prevent errors. 2017-12-20 08:39:50 +02:00
igor
95771daad5 Add knobs support 2017-12-19 18:00:25 +02:00
igor
5fe1283e30 Add custom pipes support 2017-12-19 17:38:34 +02:00
hypnos
a9fb4ef046 Keep examples' dependencies up to date 2017-11-22 16:31:32 +03:00
Norbert de Langen
cf054ad1b3
Merge branch 'master' into release/3.3
# Conflicts:
#	addons/comments/package.json
#	addons/knobs/package.json
#	addons/knobs/src/components/types/Array.js
#	examples/cra-kitchen-sink/package.json
#	package.json
#	yarn.lock
2017-11-07 09:33:30 +01:00
Michael Shilman
8eb2fa33fa Fix angular-cli package to avoid publishing 2017-11-07 12:55:38 +09:00
hypnos
72e43052c9 Remove @types/jasminewd2 dependency
(cherry picked from commit a458fa6)
2017-11-02 02:42:24 +03:00
hypnos
059835eb2d Merge remote-tracking branch 'origin/master' into release/3.3 2017-10-22 22:51:34 +03:00
Carlos Vega
64b7d3daff Bumping @storybook/* versions
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-10-14 10:34:50 -06:00
Carlos Vega
0ae971f78e Actually, button component is used several times, adding onClick palceholder 2017-09-14 09:09:25 -06:00
Carlos Vega
3d8eb0fcc4 Updating to latest Angular 5 beta 2017-09-14 08:50:03 -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
Carlos Vega
b05d6d82eb Fixing the styles example 2017-09-12 16:29:30 -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
ab30934249 trying to fix after yarn workspaces change 2017-09-09 13:30:49 +02: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
f9114ad5be Experimenting with knobs addon.
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-30 14:15:33 -06:00
Carlos Vega
b3e8d0a32e Removing ts lint errors for jasmine
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:18:58 +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
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
5c7a851e36 Update getstorybook CLI
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
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
7ae3f1ddf8 Fixing issues with duplicate types introduced by recent changes
We had TypeScript errors related to conflicting @types included in the root @storybook repo and the angular-cli sample. Also, we had some issues with TS not recognizing `describe`, `it` and other global functions exposed by jasmine.

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
Michael Shilman
b9a955721b Update example deps
- `start-storybook` / `build-storybook` should be run out of
`node_modules/.bin`
- update lerna config to not publish angular-test example
2017-08-18 18:18:37 +02:00
Carlos Vega
63a6e3fe56 Removing @storybook/angular dep as it doesn't exist
Signed-off-by: Carlos Vega <clmvega@gmail.com>
2017-08-18 18:16:45 +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