Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix angular project without 'architect.build' option to be worked #6736

Closed
wants to merge 222 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
18713e2
A copy change
gulshankumardev Mar 6, 2019
eee5287
Update index.md
dfee Mar 6, 2019
2ac6a9e
Fix linting error?
shilman Mar 7, 2019
378a8b5
Merge pull request #5920 from designergulshan/patch-3
shilman Mar 7, 2019
b19ae6b
Merge pull request #5929 from dfee/patch-3
shilman Mar 7, 2019
e122891
Fix theming doc
PascalPixel Mar 7, 2019
cbfe932
Merge pull request #5944 from Superpencil/patch-3
shilman Mar 7, 2019
91d2a37
Bump version number in live examples page
Mar 7, 2019
6c3427c
Merge pull request #5946 from glitchperfect/patch-3
shilman Mar 7, 2019
d78a8d3
Merge pull request #5717 from jure/patch-3
shilman Feb 22, 2019
78e33cd
Merge pull request #5900 from 44px/patch-4
shilman Mar 6, 2019
9a78a0c
Merge pull request #5905 from maraisr/feature/readme-badge-does-no-work
shilman Mar 6, 2019
63a5f73
Merge pull request #5930 from xdvarpunen/next
shilman Mar 6, 2019
2bbaec7
Merge pull request #5928 from jangerhofer/next
shilman Mar 7, 2019
baee8af
5.1.0-alpha.1 versions.json
shilman Mar 8, 2019
e2a2067
Fix example of setting defaultViewport per story
no23reason Mar 8, 2019
62dfbc3
Merge pull request #5909 from ehzhang/ehzhang/check-filename-is-strin…
shilman Mar 7, 2019
546a6fd
Merge pull request #5811 from CodeByAlex/performance-fix-knob-change-…
shilman Mar 7, 2019
acb15ce
Merge pull request #5947 from anru/patch-3
shilman Mar 7, 2019
f260b82
Merge pull request #5961 from storybooks/5831-add-corejs-to-everything
shilman Mar 8, 2019
75d1534
Merge pull request #5964 from storybooks/5876-unicode-story-ids
shilman Mar 8, 2019
44c7120
Merge pull request #5911 from storybooks/4995-custom-presets
shilman Mar 8, 2019
ca5ae35
5.0.1 changelog
shilman Mar 8, 2019
b956e2e
Upgrade core-js to 2.6.5
shilman Mar 8, 2019
ae7a4cf
v5.0.1
shilman Mar 8, 2019
241ac21
add missing `addDecorator` import
chrisdrackett Mar 8, 2019
fd56f6c
Merge pull request #5972 from chrisdrackett/patch-3
shilman Mar 8, 2019
6b02378
5.0.1 version
shilman Mar 8, 2019
435e4f0
Merge pull request #5820 from storybooks/tech/improve-docs
shilman Mar 9, 2019
ac43c9e
Merge pull request #5967 from no23reason/patch-3
shilman Mar 9, 2019
7d3cd8a
Updated React reference to Vue
MKRazz Mar 9, 2019
474c4da
Merge pull request #5987 from MKRazz/patch-3
shilman Mar 9, 2019
1ead5f9
5.1.0-alpha.3 versions.json
shilman Mar 9, 2019
5efab50
Fixed a typo in the react native example
sabljakovich Mar 9, 2019
97baff1
Merge pull request #5990 from sabljakovich/patch-3
shilman Mar 10, 2019
c767e2a
Update docs/guides URLs
shilman Mar 10, 2019
a457687
Update index.md
area73 Mar 10, 2019
e16d178
Merge pull request #5999 from area73/patch-3
shilman Mar 10, 2019
44b4bd0
Merge pull request #4425 from storybooks/dependabot/npm_and_yarn/reac…
Gongreg Feb 22, 2019
f99fda6
Merge pull request #5979 from Glazy/addon-viewport-border-style
shilman Mar 9, 2019
c05bf9a
Merge pull request #5983 from Armanio/fix/stories
shilman Mar 9, 2019
94de0fe
Merge pull request #6006 from N1ck/theming-typo
shilman Mar 10, 2019
76b1c54
Merge pull request #5993 from evolutionxbox/fix/5927-viewport-box-sizing
shilman Mar 10, 2019
7092fc1
5.1.0-alpha.4 versions.json
shilman Mar 11, 2019
fbe5e99
Merge pull request #5997 from maraisr/feature/npm-copy
shilman Mar 10, 2019
bfbcc5f
Update index.md
jmxo Mar 12, 2019
dc1ceca
5.1.0-alpha.5 versions.json
shilman Mar 12, 2019
91d22ef
Merge pull request #6048 from thekogmo/next
shilman Mar 12, 2019
1ef52bf
Add trailing slashes for consistency
shilman Mar 13, 2019
6b40f68
Merge pull request #6064 from armujahid/patch-3
shilman Mar 13, 2019
9baaf55
Merge pull request #6068 from storybooks/fix/fouc-docs
shilman Mar 13, 2019
c04d840
5.1.0-alpha.6 next.json version file
shilman Mar 14, 2019
aa228e7
Merge pull request #6046 from thekogmo/patch-3
shilman Mar 14, 2019
30eff92
fix typo
shilman Mar 14, 2019
c409a85
Minor grammar change
raybooysen Mar 14, 2019
458ab7a
Merge pull request #6084 from raybooysen/patch-3
shilman Mar 14, 2019
6e29e53
docs(configurations): fix markdown for react-typescript
danielsogl Mar 15, 2019
e2a6ad0
Merge pull request #6105 from danielsogl/patch-3
shilman Mar 15, 2019
bb8bb4c
Merge pull request #6072 from viniciuskneves/fix/vue-guide-typo
shilman Mar 13, 2019
13035d4
Merge branch 'master' of github.com:storybooks/storybook
shilman Mar 15, 2019
51d9915
Merge pull request #5998 from malykhinvi/sb-5785
shilman Mar 11, 2019
0c9c82a
Merge pull request #6022 from CodeByAlex/feature/knobs-performance-de…
shilman Mar 11, 2019
df69e18
Merge pull request #6027 from Phoenixton/fixing_search_item_in_menu
wuweiweiwu Mar 13, 2019
ab2ed46
5.1.0-alpha.7 next.json version file
shilman Mar 16, 2019
b33c61c
Merge pull request #6108 from breadadams/hotfix-vue-docs
shilman Mar 15, 2019
9d53d60
Merge pull request #6021 from HerrBertling/6019-docs-addons-tab-order
shilman Mar 16, 2019
2cdaf86
Merge pull request #6082 from storybooks/6081-debug-webpack-option
shilman Mar 16, 2019
9cf2866
Merge pull request #6104
shilman Mar 16, 2019
0033e3a
Merge pull request #6042 from glitchperfect/patch-4
shilman Mar 15, 2019
897a868
Merge pull request #6024 from CurtisHumphrey/patch-3
shilman Mar 16, 2019
3d8a96c
Merge pull request #6050 from pgoforth/defect/addon-cssresources_trac…
gaetanmaisse Mar 16, 2019
96b064f
Merge pull request #5991 from Armanio/fix/a11y_rules_style
gaetanmaisse Mar 10, 2019
3d02d07
5.0.2 changelog
shilman Mar 17, 2019
b23f97e
v5.0.2
shilman Mar 17, 2019
e3e4225
5.0.2 latest.json version file
shilman Mar 17, 2019
2ae285f
5.1.0-alpha.8 next.json version file
shilman Mar 17, 2019
e02241b
Merge pull request #6143 from storybooks/shilman/fix-version-update
shilman Mar 18, 2019
cc364f9
Merge pull request #6124 from aamct2/fix-missing-button-titles
Armanio Mar 16, 2019
06ce2dd
5.0.3 changelog
shilman Mar 18, 2019
22ed362
v5.0.3
shilman Mar 18, 2019
6193b79
5.0.3 latest.json version file
shilman Mar 18, 2019
ca9de8d
5.1.0-alpha.10 next.json version file
shilman Mar 19, 2019
6bca4f3
Merge pull request #6181 from samouss/patch-3
shilman Mar 19, 2019
bb3c84c
5.1.0-alpha.11 next.json version file
shilman Mar 20, 2019
b000b2b
Merge pull request #6202 from yjoer/patch-1
shilman Mar 20, 2019
0df0451
Merge pull request #6199 from philipp-srf/patch-4
shilman Mar 20, 2019
719cb5a
Merge pull request #6207 from storybooks/update-intro-gif
shilman Mar 21, 2019
a50cc25
5.1.0-alpha.12 next.json version file
shilman Mar 22, 2019
ab3eb96
5.1.0-alpha.13 next.json version file
shilman Mar 23, 2019
48aac8a
Merge pull request #6195 from mortal94/patch-3
shilman Mar 21, 2019
8475600
Merge pull request #6206 from storybooks/fix/storysource-readme
shilman Mar 21, 2019
aea59f1
Merge pull request #6159 from leoyli/next
shilman Mar 23, 2019
313f0bc
Merge pull request #6186 from SteffenGorenflo/5723-Info-addon-doesn't…
ndelangen Mar 21, 2019
e39ad69
Merge pull request #6193 from storybooks/fix/typo
shilman Mar 20, 2019
425f80d
Merge pull request #6203 from Armanio/fix/knob_color
shilman Mar 20, 2019
e2abc09
Merge pull request #6209 from eddiemonge/patch-1
ndelangen Mar 21, 2019
b67002f
Merge pull request #6236 from sergeyzwezdin/next
shilman Mar 23, 2019
0a2c17e
Merge pull request #6124 from aamct2/fix-missing-button-titles
Armanio Mar 16, 2019
ccf7f41
Update snapshots
shilman Mar 23, 2019
d9815e9
Merge pull request #6180 from Means88/next
ndelangen Mar 21, 2019
2a5784e
Merge pull request #6238 from Armanio/fix/tooltip_events
shilman Mar 22, 2019
3ffa55d
Merge pull request #6245 from Armanio/fix/cra_lint
shilman Mar 23, 2019
5eca249
5.0.4 changelog
shilman Mar 24, 2019
7e70c5f
v5.0.4
shilman Mar 24, 2019
9acb41f
5.0.4 latest.json version file
shilman Mar 24, 2019
bf363f6
5.0.5 changelog
shilman Mar 24, 2019
3abc592
v5.0.5
shilman Mar 24, 2019
8d49b21
5.0.5 latest.json version file
shilman Mar 24, 2019
94804b8
5.1.0-alpha.15 next.json version file
shilman Mar 26, 2019
089a7f4
Merge pull request #6254 from dougmacknz/panel-position-enum
ndelangen Mar 25, 2019
76c47bf
Merge pull request #6232 from storybooks/5256-fix-ungrouped-knobs
ndelangen Mar 25, 2019
ce8a83e
Merge pull request #6267 from mohamedmansour/next
shilman Mar 26, 2019
df32ad8
Merge pull request #6240 from Armanio/fix/action_logger
ndelangen Mar 25, 2019
fe22083
Upgrade @babel/preset-env
shilman Mar 26, 2019
6240a57
Update snapshots
shilman Mar 26, 2019
808ac48
5.1.0-alpha.17 next.json version file
shilman Mar 26, 2019
cb4efd3
5.1.0-alpha.18 next.json version file
shilman Mar 26, 2019
9e37eb2
fixed mistype in returning parameter
bornik Mar 27, 2019
548d919
Merge pull request #6313 from bornik/patch-3
shilman Mar 27, 2019
0e231ad
upgrade docgen
danielduan Mar 27, 2019
658b5af
Merge pull request #6317 from storybooks/dd/docgen-upgrade
shilman Mar 28, 2019
f229823
Revert "Upgrade babel-plugin-react-docgen"
shilman Mar 28, 2019
0da3167
Merge pull request #6328 from storybooks/revert-6317-dd/docgen-upgrade
shilman Mar 28, 2019
dc38bf1
5.1.0-alpha.19 next.json version file
shilman Mar 28, 2019
c6377ab
Merge branch 'master' of github.com:storybooks/storybook
shilman Mar 28, 2019
d2a2d08
Update index.md
sleblang Mar 28, 2019
dbfcd7d
Clarify labels for options
coryhouse Mar 28, 2019
90013d2
Merge pull request #6333 from sleblang/patch-4
shilman Mar 28, 2019
67dff35
Merge pull request #6334 from coryhouse/patch-4
shilman Mar 28, 2019
aef57ef
Merge pull request #6318 from metasean/next
shilman Mar 28, 2019
6aecbc1
Merge pull request #6324 from mikach/patch-3
shilman Mar 28, 2019
2223801
Merge pull request #6314 from storybooks/Hypnosphi-patch-1
Hypnosphi Mar 27, 2019
30715d4
Merge branch 'master' of github.com:storybooks/storybook
shilman Mar 29, 2019
ed9bcff
5.1.0-alpha.20 next.json version file
shilman Mar 29, 2019
6a72b4a
Merge pull request #6341 from storybooks/6319-webpack-clarification
shilman Mar 30, 2019
a49605a
Merge pull request #6290 from dougmacknz/6210-fix-object-set
shilman Mar 26, 2019
27a9427
Merge pull request #6222 from Krustal/addon-info-forward-ref-opt-in
ndelangen Mar 27, 2019
8164f56
Merge pull request #6263 from pgoforth/defect/addon-cssresources_scro…
shilman Mar 29, 2019
b244e7a
Merge pull request #6301 from trevoreyre/6256-fix-addon-info-a11y
shilman Mar 29, 2019
960d2ba
Merge pull request #6221 from storybooks/Hypnosphi-patch-1
shilman Mar 22, 2019
7d28e2a
Merge pull request #6281 from storybooks/fix-preset-env
shilman Mar 26, 2019
58df264
Merge pull request #6297 from electricg/sb-5959
shilman Mar 26, 2019
86e06c7
Update yarn.lock
shilman Apr 1, 2019
00730d4
5.0.6 changelog
shilman Apr 1, 2019
6633eff
v5.0.6
shilman Apr 1, 2019
bf8fb84
5.0.6 latest.json version file
shilman Apr 1, 2019
56e9789
5.1.0-alpha.21 next.json version file
shilman Apr 4, 2019
79c8b68
Merge pull request #6384 from Fonger/patch-3
shilman Apr 3, 2019
7741f03
Merge pull request #6397 from jamisuomalainen/fix-webpack-config-link
shilman Apr 3, 2019
5236355
Merge pull request #6411 from lhguerra/issue-6109--readme-update
shilman Apr 4, 2019
2df1f12
Merge pull request #6406 from Glazy/docs/nesting-under-titles
shilman Apr 4, 2019
4f18a8b
Merge pull request #6385 from zsalzbank/patch-3
shilman Apr 3, 2019
f8b8a8e
update migration.md with vue changes introduced in sb5
backbone87 Apr 7, 2019
704756e
Merge pull request #6447 from backbone87/vue-sb5-migration
shilman Apr 7, 2019
6c14d3a
5.1.0-alpha.23 next.json version file
shilman Apr 8, 2019
5ff4c5c
Merge branch 'master' of github.com:storybooks/storybook
shilman Apr 8, 2019
970a676
update typescript docs to reference docgen loader
simoncarpinter Apr 8, 2019
cf15b8d
Merge pull request #6454 from simoncarpinter/patch-3
shilman Apr 9, 2019
b8b99c2
Update merging webpack loaders example
vivcogit Apr 9, 2019
a3c53ae
Update index.md
fugroup Apr 9, 2019
27e9865
Merge pull request #6466 from fugroup/patch-3
shilman Apr 9, 2019
6c9f6d5
Merge pull request #6463 from vivcogit/patch-3
shilman Apr 9, 2019
8648783
Improve webpack customization docs
shilman Apr 10, 2019
0a49143
5.1.0-alpha.25 next.json version file
shilman Apr 11, 2019
413149a
Merge pull request #6449 from antony/patch-3
shilman Apr 8, 2019
e784123
Merge pull request #6464 from jamisuomalainen/update-addons-notes-rea…
shilman Apr 9, 2019
c85bbcf
Merge pull request #6468 from lifeiscontent/patch-2
shilman Apr 10, 2019
148aa23
Merge pull request #6446 from lonyele/fix/remove-deprecated-info-on-t…
ndelangen Apr 11, 2019
a80b60e
Added Happo to list of screenshot testing tools
coryhouse Apr 12, 2019
4b526cc
Merge pull request #6499 from coryhouse/patch-3
shilman Apr 13, 2019
61c0c20
5.1.0-alpha.26 next.json version file
shilman Apr 13, 2019
7bf5f8c
Merge branch 'master' of github.com:storybooks/storybook
shilman Apr 13, 2019
c9c55f4
5.1.0-alpha.27 next.json version file
shilman Apr 14, 2019
38b82b8
Merge pull request #6480 from storybooks/fix/addon-knobs-tab-sorting
shilman Apr 11, 2019
1b0dfac
Merge pull request #6441 from Armanio/fix/about-footer
shilman Apr 7, 2019
55768fa
5.0.7 changelog
shilman Apr 14, 2019
effb88f
v5.0.7
shilman Apr 14, 2019
993293c
5.0.7 latest.json version file
shilman Apr 14, 2019
0db79e3
Update index.md
taylonr Apr 14, 2019
2d3cebb
Update index.md
taylonr Apr 14, 2019
27c2052
Merge pull request #6514 from taylonr/patch-5
shilman Apr 15, 2019
8f29180
5.0.8 changelog
shilman Apr 15, 2019
1aeee18
v5.0.8
shilman Apr 15, 2019
e40a430
5.0.8 latest.json version file
shilman Apr 15, 2019
e3c298a
Merge pull request #6120 from storybooks/fix/theming-brandImage
shilman Mar 16, 2019
24f72c4
Merge pull request #6534 from Armanio/fix/knob-files-group-id
shilman Apr 16, 2019
702d6c3
Merge pull request #6525 from Phoenixton/fix_fullscreen_keys_behavior
shilman Apr 16, 2019
7b0753a
5.0.9 changelog
shilman Apr 16, 2019
51fe8ea
v5.0.9
shilman Apr 16, 2019
85bc225
5.0.9 latest.json version file
shilman Apr 17, 2019
7137c41
5.1.0-alpha.30 next.json version file
shilman Apr 18, 2019
17026f5
Merge pull request #6544 from kennethtruong/fix/nullBrandImage
shilman Apr 17, 2019
df012c1
Merge pull request #6543 from storybooks/bug
shilman Apr 18, 2019
5bb00ae
Fix brandX theme application & add test
shilman Apr 18, 2019
19c70e7
5.0.10 changelog
shilman Apr 18, 2019
4b2d441
v5.0.10
shilman Apr 18, 2019
5506ad5
5.0.10 latest.json version file
shilman Apr 18, 2019
95e9f1e
5.1.0-alpha.32 next.json version file
shilman Apr 22, 2019
71d6f50
5.1.0-alpha.34 next.json version file
shilman Apr 24, 2019
46e2662
Update index.md (#6513)
ndelangen Apr 26, 2019
7a15631
5.1.0-alpha.36 next.json version file
shilman Apr 27, 2019
32698cc
Merge branch 'master' of github.com:storybooks/storybook
shilman Apr 27, 2019
6b5d13f
docs: clarify sb init usage
piperchester Apr 27, 2019
d587300
Fix: add need comma to sample code (#6606)
shilman Apr 24, 2019
7e51c71
DOCS improve registration in VueJs guide (#6608)
shilman Apr 24, 2019
a6dcc06
Fix isFullscreen typo (#6628)
shilman Apr 25, 2019
28a37b4
Fix "Storybook for HTML" Edit link (#6658)
shilman Apr 27, 2019
262511b
Merge pull request #6494 from storybooks/fix/clean-up-theming-docs
ndelangen Apr 19, 2019
c901911
Fix bad markdown instructions (#6654)
shilman Apr 26, 2019
43b3136
Merge pull request #6535 from aspidov/next
ndelangen Apr 18, 2019
bfa85c9
Merge pull request #6598 from binomialstew/bugfix/6597
shilman Apr 24, 2019
b7be50d
Add missing props in stories (#6353)
ndelangen Apr 26, 2019
d4efa91
Merge pull request #5868 from storybooks/fix/lit-html
shilman Mar 11, 2019
7eb0fcc
5.0.11 changelog
shilman Apr 28, 2019
17b0a5c
v5.0.11
shilman Apr 28, 2019
b95d370
5.0.11 latest.json version file
shilman Apr 28, 2019
2727183
docs: clarify sb init usage (#6667)
shilman Apr 28, 2019
d84816a
5.1.0-alpha.37 next.json version file
shilman May 1, 2019
647286c
Merge branch 'master' of github.com:storybooks/storybook
shilman May 1, 2019
5cafe01
Replace deprecated `loaders` option with `use`
Hypnosphi May 5, 2019
ed25d09
Replace deprecated `loaders` option with `use` (#6718)
shilman May 6, 2019
2c9b2ea
Fix angular project without 'architect.build' option to be worked
seokju-na May 7, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 14 additions & 13 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
.circleci/ @hypnosphi @ndelangen
.circleci/ @ndelangen
.teamcity/ @hypnosphi
.github/ @danielduan

/addons/a11y/ @jbovenschen
/addons/actions/ @rhalff
/addons/backgrounds/ @ndelangen @hypnosphi
/addons/backgrounds/ @ndelangen
/addons/centered/ @kazupon
/addons/events/ @z4o4z @ndelangen
/addons/graphql/ @mnmtanish
/addons/info/ @theinterned @z4o4z @UsulPro @hypnosphi @dangreenisrael @danielduan
/addons/info/ @theinterned @z4o4z @UsulPro @dangreenisrael @danielduan
/addons/jest/ @renaudtertrais
/addons/knobs/ @alexandrebodin @theinterned @leonrodenburg @alterx @hypnosphi
/addons/links/ @hypnosphi @ndelangen
/addons/knobs/ @alexandrebodin @theinterned @leonrodenburg @alterx
/addons/links/ @ndelangen
/addons/notes/ @alexandrebodin
/addons/options/ @danielduan @UsulPro
/addons/storyshots/ @igor-dv @thomasbertet @hypnosphi
/addons/storyshots/ @igor-dv @thomasbertet
/addons/storysource/ @igor-dv
/addons/viewport/ @saponifi3d

Expand All @@ -24,12 +25,12 @@
/app/vue/ @thomasbertet @kazupon
/app/svelte/ @plumpNation

/docs/ @ndelangen @shilman @hypnosphi
/docs/ @ndelangen @shilman

/examples/angular-cli/ @igor-dv @alterx
/examples/cra-kitchen-sink/ @ndelangen @UsulPro @hypnosphi
/examples/cra-kitchen-sink/ @ndelangen @UsulPro
/examples/cra-ts-kitchen-sink/ @mucsi96
/examples/official-storybook/ @hypnosphi @danielduan @UsulPro
/examples/official-storybook/ @danielduan @UsulPro
/examples/polymer-cli/ @naipath @igor-dv
/examples/vue-kitchen-sink/ @igor-dv @alexandrebodin
/examples/svelte-kitchen-sink/ @plumpNation
Expand All @@ -40,12 +41,12 @@
/lib/channel-postmessage/ @mnmtanish @ndelangen
/lib/channel-websocket/ @mnmtanish @ndelangen
/lib/channels/ @mnmtanish @ndelangen
/lib/cli/ @hypnosphi @ndelangen @shilman @stijnkoopal
/lib/cli/ @ndelangen @shilman @stijnkoopal
/lib/client-logger/ @dangreenisrael
/lib/codemod/ @aaronmcadam @ndelangen
/lib/components/ @ndelangen @hypnosphi @tmeasday
/lib/components/ @ndelangen @tmeasday
/lib/core/ @tmeasday @igor-dv @alterx
/lib/node-logger/ @dangreenisrael
/lib/ui/ @tmeasday @igor-dv @hypnosphi @ndelangen
/lib/ui/ @tmeasday @igor-dv @ndelangen

/scripts/ @ndelangen @igor-dv @hypnosphi
/scripts/ @ndelangen @igor-dv
7,777 changes: 3,945 additions & 3,832 deletions CHANGELOG.md

Large diffs are not rendered by default.

57 changes: 53 additions & 4 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Migration

- [From version 5.0.1 to 5.0.2](#from-version-501-to-502)
- [Deprecate webpack extend mode](#deprecate-webpack-extend-mode)
- [From version 4.1.x to 5.0.x](#from-version-41x-to-50x)
- [Webpack config simplification](#webpack-config-simplification)
- [Theming overhaul](#theming-overhaul)
Expand All @@ -12,6 +14,7 @@
- [Addon a11y uses parameters](#addon-a11y-uses-parameters-decorator-renamed)
- [New keyboard shortcuts defaults](#new-keyboard-shortcuts-defaults)
- [New URL structure](#new-url-structure)
- [Vue integration](#vue-integration)
- [From version 4.0.x to 4.1.x](#from-version-40x-to-41x)
- [Private addon config](#private-addon-config)
- [React 15.x](#react-15x)
Expand Down Expand Up @@ -49,15 +52,51 @@
- [Packages renaming](#packages-renaming)
- [Deprecated embedded addons](#deprecated-embedded-addons)

## From version 5.0.1 to 5.0.2

### Deprecate webpack extend mode

Exporting an object from your custom webpack config puts storybook in "extend mode".

There was a bad bug in `v5.0.0` involving webpack "extend mode" that caused webpack issues for users migrating from `4.x`. We've fixed this problem in `v5.0.2` but it means that extend-mode has a different behavior if you're migrating from `5.0.0` or `5.0.1`. In short, `4.x` extended a base config with the custom config, whereas `5.0.0-1` extended the base with a richer config object that could conflict with the custom config in different ways from `4.x`.

We've also deprecated "extend mode" because it doesn't add a lot of value over "full control mode", but adds more code paths, documentation, user confusion etc. Starting in SB6.0 we will only support "full control mode" customization.

To migrate from extend-mode to full-control mode, if your extend-mode webpack config looks like this:

```js
module.exports = {
module: {
rules: [
/* ... */
],
},
};
```

In full control mode, you need modify the default config to have the rules of your liking:

```js
module.exports = ({ config }) => ({
...config,
module: {
...config.module,
rules: [
/* your own rules "..." here and/or some subset of config.module.rules */
]
}
})
```

Please refer to the [current custom webpack documentation](https://github.com/storybooks/storybook/blob/next/docs/src/pages/configurations/custom-webpack-config/index.md) for more information on custom webpack config and to [Issue #6081](https://github.com/storybooks/storybook/issues/6081) for more information about the change.

## From version 4.1.x to 5.0.x

Storybook 5.0 includes sweeping UI changes as well as changes to the addon API and custom webpack configuration. We've tried to keep backwards compatibility in most cases, but there are some notable exceptions documented below.

## Webpack config simplifcation

The API for custom webpack configuration has been simplifed in 5.0, but it's a breaking change.

Storybook's "full control mode" for webpack allows you to override the webpack config with a function that returns a configuration object.
The API for custom webpack configuration has been simplifed in 5.0, but it's a breaking change. Storybook's "full control mode" for webpack allows you to override the webpack config with a function that returns a configuration object.

In Storybook 5 there is a single signature for full-control mode that takes a parameters object with the fields `config` and `mode`:

Expand Down Expand Up @@ -133,6 +172,7 @@ addParameters({
}),
isFullscreen: false,
panelPosition: 'right',
isToolshown: true,
},
});
```
Expand All @@ -148,9 +188,12 @@ Here is the mapping from old options to new:
| showAddonPanel | showPanel |
| addonPanelInRight | panelPosition |
| showSearchBox | |
| | isToolshown |

Storybook v5 removes the search dialog box in favor of a quick search in the navigation view, so `showSearchBox` has been removed.

Storybook v5 introduce a new tool bar above the story view and you can show\hide it with the new `isToolshown` option.

## Individual story decorators

The behavior of adding decorators to a kind has changed in SB5 ([#5781](https://github.com/storybooks/storybook/issues/5781)).
Expand All @@ -164,7 +207,7 @@ storiesOf('Stories', module)
.add('centered', () => 'Hello');
```

The semantics has changed in SB5 so that calling `addDecorator` on a kind adds a decorator to all its stories, no mater the order. So in the previous example, both stories would be centered.
The semantics has changed in SB5 so that calling `addDecorator` on a kind adds a decorator to all its stories, no matter the order. So in the previous example, both stories would be centered.

To allow for a subset of the stories in a kind to be decorated, we've added the ability to add decorators to individual stories using parameters:

Expand Down Expand Up @@ -309,6 +352,12 @@ https://url-of-storybook?path=/story/<storyId>

The structure of `storyId` is a slugified `<selectedKind>--<selectedStory>` (slugified = lowercase, hyphen-separated). Each `storyId` must be unique. We plan to build more features into Storybook in upcoming versions based on this new structure.

## Vue integration

The Vue integration was updated, so that every story returned from a story or decorator function is now being normalized with `Vue.extend` **and** is being wrapped by a functional component. Returning a string from a story or decorator function is still supported and is treated as a component with the returned string as the template.

Currently there is no recommended way of accessing the component options of a story inside a decorator.

## From version 4.0.x to 4.1.x

There are are a few migrations you should be aware of in 4.1, including one unintentionally breaking change for advanced addon usage.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ See [Addon / Framework Support Table](ADDONS_SUPPORT.md)

We have a badge! Link it to your live Storybook example.

![Storybook](https://github.com/storybooks/press/blob/master/badges/storybook.svg)
![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg)

```md
[![Storybook](https://github.com/storybooks/press/blob/master/badges/storybook.svg)](link to site)
[![Storybook](https://cdn.jsdelivr.net/gh/storybooks/brand@master/badge/badge-storybook.svg)](link to site)
```

If you're looking for material to use in your presentation about storybook, like logo's video material and the colors we use etc, you can find all of that at our [press repo](https://github.com/storybooks/press).
Expand All @@ -161,7 +161,7 @@ Looking for a first issue to tackle?
- [Talk to us](https://discord.gg/sMFvFsG), we'll find something to suits your skills and learning interest.

### Development scripts

Storybook is organized as a monorepo using [Lerna](https://lernajs.io). Useful scripts include:
#### `yarn bootstrap`

> Installs package dependencies and links packages together - using lerna
Expand Down
4 changes: 2 additions & 2 deletions addons/a11y/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import the `withA11y` decorator to check your stories for violations within your

```js
import React from 'react';
import { storiesOf } from '@storybook/react';
import { storiesOf, addDecorator } from '@storybook/react';
import { withA11y } from '@storybook/addon-a11y';

// should only be added once
Expand Down Expand Up @@ -58,7 +58,7 @@ addParameters({
a11y: {
// ... axe options
element: '#root', // optional selector which element to inspect
config: {} // axe-core configurationOptions (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#parameters-1)
config: {}, // axe-core configurationOptions (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#parameters-1)
options: {} // axe-core optionsParameter (https://github.com/dequelabs/axe-core/blob/develop/doc/API.md#options-parameter)
},
});
Expand Down
14 changes: 7 additions & 7 deletions addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "5.0.0",
"version": "5.0.11",
"description": "a11y addon for storybook",
"keywords": [
"a11y",
Expand All @@ -25,14 +25,14 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0",
"@storybook/client-logger": "5.0.0",
"@storybook/components": "5.0.0",
"@storybook/core-events": "5.0.0",
"@storybook/theming": "5.0.0",
"@storybook/addons": "5.0.11",
"@storybook/client-logger": "5.0.11",
"@storybook/components": "5.0.11",
"@storybook/core-events": "5.0.11",
"@storybook/theming": "5.0.11",
"axe-core": "^3.1.2",
"common-tags": "^1.8.0",
"core-js": "^2.6.2",
"core-js": "^2.6.5",
"global": "^4.3.2",
"memoizerific": "^1.11.3",
"prop-types": "^15.6.2",
Expand Down
17 changes: 15 additions & 2 deletions addons/a11y/src/components/ColorBlindness.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ import { Icons, IconButton, WithTooltip, TooltipLinkList } from '@storybook/comp

const getIframe = memoize(1)(() => document.getElementById('storybook-preview-iframe'));

const getFilter = filter => {
if (filter === null) {
return 'none';
}
if (filter === 'mono') {
return 'grayscale(100%)';
}
return `url('#${filter}')`;
};

const ColorIcon = styled.span(
{
background: 'linear-gradient(to right, #F44336, #FF9800, #FFEB3B, #8BC34A, #2196F3, #9C27B0)',
Expand All @@ -17,7 +27,7 @@ const ColorIcon = styled.span(
width: '1rem',
},
({ filter }) => ({
filter: filter === 'mono' ? 'grayscale(100%)' : `url('#${filter}')`,
filter: getFilter(filter),
}),
({ theme }) => ({
boxShadow: `${theme.appBorderColor} 0 0 0 1px inset`,
Expand All @@ -34,7 +44,7 @@ class ColorBlindness extends Component {
const iframe = getIframe();

if (iframe) {
iframe.style.filter = filter === 'mono' ? 'grayscale(100%)' : `url('#${filter}')`;
iframe.style.filter = getFilter(filter);
this.setState({
expanded: false,
filter,
Expand Down Expand Up @@ -64,6 +74,7 @@ class ColorBlindness extends Component {
this.setFilter(i);
},
right: <ColorIcon filter={i} />,
active: filter === i,
}));

if (filter !== null) {
Expand All @@ -73,6 +84,8 @@ class ColorBlindness extends Component {
onClick: () => {
this.setFilter(null);
},
right: undefined,
active: false,
},
...colorList,
];
Expand Down
2 changes: 2 additions & 0 deletions addons/a11y/src/components/Report/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const Wrapper = styled.div();
const Icon = styled(Icons)(({ theme }) => ({
height: 10,
width: 10,
minWidth: 10,
color: theme.color.mediumdark,
marginRight: '10px',
transition: 'transform 0.1s ease-in-out',
Expand All @@ -28,6 +29,7 @@ const HeaderBar = styled.button(({ theme }) => ({
border: 0,
background: 'none',
color: 'inherit',
textAlign: 'left',

borderLeft: '3px solid transparent',

Expand Down
4 changes: 4 additions & 0 deletions addons/a11y/src/components/Report/Rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ const Status = styled.div(({ passes, impact }) => ({
textAlign: 'center',
flex: '0 0 16px',
color: passes ? impactColors.success : impactColors[impact],
'& > svg': {
height: '16px',
width: '16px',
},
}));

const Rule = ({ rule, passes }) => (
Expand Down
6 changes: 5 additions & 1 deletion addons/a11y/src/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import ColorBlindness from './components/ColorBlindness';
import { ADDON_ID, PANEL_ID } from './constants';

const Hidden = styled.div(() => ({
display: 'none',
'&, & svg': {
position: 'absolute',
width: 0,
height: 0,
},
}));

const PreviewWrapper = p => (
Expand Down
12 changes: 6 additions & 6 deletions addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "5.0.0",
"version": "5.0.11",
"description": "Action Logger addon for storybook",
"keywords": [
"storybook"
Expand All @@ -20,11 +20,11 @@
"prepare": "node ../../scripts/prepare.js"
},
"dependencies": {
"@storybook/addons": "5.0.0",
"@storybook/components": "5.0.0",
"@storybook/core-events": "5.0.0",
"@storybook/theming": "5.0.0",
"core-js": "^2.6.2",
"@storybook/addons": "5.0.11",
"@storybook/components": "5.0.11",
"@storybook/core-events": "5.0.11",
"@storybook/theming": "5.0.11",
"core-js": "^2.6.5",
"fast-deep-equal": "^2.0.1",
"global": "^4.3.2",
"lodash": "^4.17.11",
Expand Down
Loading