589 Commits

Author SHA1 Message Date
Michael Shilman
94745691bf
CLI: Don't output startup information on smoke test (#6949)
CLI: Don't output startup information on smoke test
2019-08-13 21:49:23 +08:00
Michael Shilman
2ad8dd6812
Revert "Fix #7167 addon-centered causes component to disappear when zooming" 2019-08-13 09:03:16 +08:00
Michael Shilman
cc37e057bd
Revert "Addon-centered: Fix disappearing when zoomed" 2019-08-13 08:28:04 +08:00
Michael Shilman
83b5629f8b
Merge pull request #7696 from storybookjs/feature/disable-cra-preset
Core: Disable CRA behaviors when preset detected
2019-08-10 20:13:14 +08:00
Brody McKee
dedaa6d1c8 Disable CRA behaviors when preset detected 2019-08-09 22:35:43 +03:00
Michael Shilman
e545d8fdf2 Addon-docs: Update Nav UI to collapse docs-only stories 2019-08-08 15:53:28 +08:00
Adam T. Doyle
5b4988f6d1 Remove Object.append(...) from index.ejs
(incompatible with IE11)
2019-08-07 08:14:23 -04:00
Adam T. Doyle
3418f875bb Changes:
- conditionalize fetch polyfill
- switch from whatwg-fetch to unfetch
2019-08-06 11:24:04 -04:00
Michael Shilman
b6da0c798a
Allow injecting preview-body.html (#7417)
Allow injecting preview-body.html
2019-08-05 11:13:32 +08:00
Michael Shilman
0821501233 Core: Fix HMR for CSF files 2019-08-03 10:50:32 +08:00
Nico Domino
61e0ea0518
Updated component frame width
Follow-up to issue #7167
2019-07-31 10:18:23 +02:00
Norbert de Langen
5b14df83cd FIX values, should not be stringified before parsed into template 2019-07-31 00:33:29 +02:00
Norbert de Langen
1a6007d46f CHANGE define plugin variables to globals && FIX bad version of storybook being installed 2019-07-30 14:00:46 +02:00
Michael Shilman
1d6e58e74b
Core: rename load to configure (#7576)
Core: rename `load` to `configure`
2019-07-27 16:22:16 +08:00
Michael Shilman
86370b5129 Core: Make configure warning more explicit 2019-07-27 16:21:26 +08:00
Michael Shilman
0ac48981fe Core: Rename load => configure 2019-07-26 23:10:07 +08:00
Michael Shilman
adef6bd2e3 Core: Make load by function more strict with warning 2019-07-26 21:47:18 +08:00
Michael Shilman
236c5acedb Core: Remove project root babel.config.js loading 2019-07-26 18:43:11 +08:00
Michael Shilman
2563c90fad Improve duplicate title error message 2019-07-24 18:39:56 +08:00
Michael Shilman
0642829b99 Core: Don't allow titles to be reused across files 2019-07-24 15:35:09 +08:00
Norbert de Langen
03cf9266a4
Merge branch 'next' into smoke-test-startup 2019-07-23 14:57:57 +02:00
Michael Shilman
42d90fdcf5
Merge pull request #7524 from storybookjs/7522-mdx-module-component
Core: Top-level components in MDX/Module formats
2019-07-23 01:45:43 +08:00
Alex Wilson
688ffe3184
Merge pull request #7400 from 8beeeaaat/7167-zooming-with-addon-centered
Fix #7167 addon-centered causes component to disappear when zooming
2019-07-22 12:51:22 -04:00
Michael Shilman
f8653c2b1e Module format: Load component as part of default export 2019-07-22 21:46:09 +08:00
Michael Shilman
7cd50cd651
Merge pull request #7519 from kittenking/typo-fixes
Fix typos across storybook repository
2019-07-22 17:19:44 +08:00
Michael Shilman
e6ded5d235 Warn on repeat load calls 2019-07-22 17:06:27 +08:00
Kitten King
edb1896038
Fix some more typos 2019-07-22 06:33:57 +00:00
Michael Shilman
5800a3d54f Update start.js 2019-07-22 14:28:20 +08:00
Michael Shilman
c334e21bb9 Update storiesOf.load to take req, [req], or loadFn 2019-07-22 14:00:08 +08:00
Michael Shilman
1f921612ad Module format load: Move story decorators out of parameters 2019-07-19 21:11:35 +08:00
Evgenii Khramkov
27c16a6f6a inject only one file 2019-07-14 16:10:13 -07:00
Evgenii Khramkov
276b90787c allow injecting in preview body 2019-07-14 14:57:03 -07:00
8beeeaaat
136e25c7a4 Fix Addon Centered causes component to disappear when zooming 2019-07-12 23:49:13 +09:00
Michael Shilman
6a40b69ca1 Merge branch 'next' of github.com:storybookjs/storybook into next 2019-07-11 07:55:35 +08:00
Norbert de Langen
524205bb20
Implement preview hooks (#6916)
Implement preview hooks
2019-07-10 20:33:16 +02:00
Norbert de Langen
ab554572c3
feat: support custom webpack option for standalone storybook (#6886)
feat: support custom webpack option for standalone storybook
2019-07-10 18:25:18 +02:00
Norbert de Langen
9571fe1572 Merge branch 'next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	addons/events/src/index.ts
#	addons/ondevice-notes/package.json
#	dev-kits/addon-roundtrip/package.json
#	examples/dev-kits/package.json
#	examples/html-kitchen-sink/package.json
#	lib/client-api/package.json
#	lib/client-api/src/client_api.ts
#	lib/client-api/src/typings.d.ts
#	lib/client-api/tsconfig.json
#	lib/ui/src/index.js
#	yarn.lock
2019-07-10 16:08:11 +02:00
Norbert de Langen
634428ddcc CHANGE changes to terserplugin to only the example that's failing 2019-07-07 19:55:30 +02:00
Norbert de Langen
bb2a187adf try with cache disabled, sourcemaps on 2019-07-07 14:52:11 +02:00
Norbert de Langen
0130f6fd11 DISABLE sourcemap 2019-07-07 14:01:41 +02:00
Norbert de Langen
cf5c39db96 disable parallel terserwebpackplugin it seems to have a memory leak 2019-07-07 12:43:16 +02:00
Norbert de Langen
ac0a42bec1 FIX linting 2019-07-07 00:42:18 +02:00
Hypnosphi
c8d437b789 Merge remote-tracking branch 'origin/next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	addons/ondevice-notes/package.json
#	dev-kits/addon-roundtrip/package.json
#	examples/dev-kits/package.json
#	examples/html-kitchen-sink/package.json
2019-07-04 19:42:22 +03:00
Norbert de Langen
f93bdc47b8 Merge branch 'next' into pr/rgranger/6265 2019-07-02 17:31:49 +02:00
Norbert de Langen
aab38d2389 Merge branch 'next' into preview-hooks
# Conflicts:
#	addons/actions/package.json
#	addons/events/package.json
#	addons/ondevice-notes/package.json
#	examples/dev-kits/package.json
#	examples/html-kitchen-sink/package.json
2019-07-02 09:09:24 +02:00
Michael Shilman
2d0e044dc2 Fix --preview-url on static build 2019-07-02 07:26:32 +08:00
Michael Shilman
454fab82f8
Addon-docs: Fix non-React support & add Vue example (#7222)
Addon-docs: Fix non-React support & add Vue example
2019-07-02 06:50:01 +08:00
Norbert de Langen
117160c692
Move the free port logic so that loadOptions don't override it (#7237)
Move the free port logic so that loadOptions don't override it
2019-07-01 14:56:36 +02:00
Michael Shilman
c6c17559b2 Merge branch 'next' into 7101-vue-docs-mode 2019-07-01 18:52:49 +08:00
Michael Shilman
6eb702ff70 Addon-docs: render into a different root to avoid conflicts 2019-07-01 18:14:43 +08:00