17020 Commits

Author SHA1 Message Date
Luke Glazebrook
e8303e270c Change viewport styling to more closely match v4
Styling for addon-viewport iframe was a 10px black border which was a
little intrusive when working on stories. This commit changes the iframe
style to a more familiar style that mimics v4 with horizontal centering
and a subtle box-shadow.
2019-03-09 00:28:50 +00:00
Michael Shilman
745b6ebede 5.0.1 version 2019-03-09 07:48:43 +08:00
Michael Shilman
9c1837d869
Merge pull request #5976 from leovanhaaren/patch-3
Update README.md demo projects version > 5.0.0
2019-03-09 07:13:54 +08:00
Leo van Haaren
05713160ac
Update README.md demo projects version > 5.0.0
Looks like the README.md is a bit outdated. I've noticed the demo url's use storybook version 5.0.0
2019-03-08 23:16:15 +01:00
Michael Shilman
2339ce7fc3
Merge pull request #5911 from storybooks/4995-custom-presets
Remove custom presets warning
2019-03-08 23:40:14 +08:00
Michael Shilman
0b1abda08d 4.1.14 changelog 2019-03-08 23:26:44 +08:00
Michael Shilman
0013b47449 5.1.0-alpha.2 versions.json 2019-03-08 22:46:41 +08:00
Michael Shilman
394cc91637 v5.1.0-alpha.2 v5.1.0-alpha.2 2019-03-08 18:36:07 +08:00
Michael Shilman
b85d83da70 5.1.0-alpha.2 changelog 2019-03-08 18:20:35 +08:00
Michael Shilman
35257de71c
Merge pull request #5964 from storybooks/5876-unicode-story-ids
Core: support unicode chars in story IDs
2019-03-08 18:18:15 +08:00
Michael Shilman
ceb414a660 Update snapshots 2019-03-08 17:51:46 +08:00
Michael Shilman
bb254c028b Add more punctuation chars 2019-03-08 17:47:37 +08:00
Michael Shilman
c61171d8ce Support unicode chars in story IDs 2019-03-08 17:21:38 +08:00
Michael Shilman
142878878a
Merge pull request #5961 from storybooks/5831-add-corejs-to-everything
Add core JS dependencies across the stack where it was missing
2019-03-08 11:31:28 +08:00
Michael Shilman
04f1b79a97 Merge branch 'next' into 5831-add-corejs-to-everything 2019-03-08 11:28:55 +08:00
Michael Shilman
8445452644 Merge branch 'next' of github.com:storybooks/storybook into next 2019-03-08 11:23:01 +08:00
Michael Shilman
2fcd290110 5.1.0-alpha.1 versions.json 2019-03-08 11:22:47 +08:00
Tom Coleman
9c71efb3fe Add core JS dependencies across the stack where it was missing
For #5831
2019-03-08 11:40:29 +11:00
Gaëtan Maisse
77ad48e74a
Merge pull request #5738 from gaetanmaisse/ts-migration/addon-a11y
Migrate addon a11y to TS
2019-03-07 20:23:20 +01:00
Michael Shilman
ed9b342742 v5.1.0-alpha.1 v5.1.0-alpha.1 2019-03-07 22:13:18 +08:00
Michael Shilman
4a2243ce34 5.1.0-alpha.1 changelog 2019-03-07 22:00:53 +08:00
Michael Shilman
d3cf78abb9 Merge pull request #5808 from roalonso/patch-3
Update README.md
2019-03-07 21:57:30 +08:00
Michael Shilman
7a74d8d059 Merge pull request #5920 from designergulshan/patch-3
A copy change
2019-03-07 21:54:31 +08:00
Michael Shilman
dd03c290c5 Merge pull request #5929 from dfee/patch-3
updated docs to reflect proper params passed to webpack.config.js
2019-03-07 21:53:50 +08:00
Michael Shilman
c919b89cdc Merge pull request #5944 from Superpencil/patch-3
Theme docs fix
2019-03-07 21:52:59 +08:00
Michael Shilman
8bb4107dca Merge pull request #5946 from glitchperfect/patch-3
Bump version number in live examples page
2019-03-07 21:52:31 +08:00
Michael Shilman
666b64340c
Merge pull request #5947 from anru/patch-3
Fixed missing iframe.html in output directory
2019-03-07 21:51:38 +08:00
Andrey Rublev
5f3c575a59
Fixed building static in case of absolute output
path.join is unsafe when using absolute paths after first argument.
For resolving from cwd path.resolve function is safe and makes correct results in both cases, using absolute or relative paths.
2019-03-07 15:37:42 +02:00
Michael Shilman
521a6a430d
Merge pull request #5943 from storybooks/fix/chromatic-delay
ADD delay to rendering the acceptance stories
2019-03-07 18:17:29 +08:00
Norbert de Langen
5c9385b4c4 ADD delay to rendering the acceptance stories 2019-03-07 10:56:20 +01:00
Michael Shilman
927eaab216
Merge pull request #5811 from CodeByAlex/performance-fix-knob-change-debouncing
[Addon: Knobs] - Performance Fix: added debouncing between keystrokes to speed up component rendering
2019-03-07 17:13:03 +08:00
Gaëtan Maisse
1c013a36d7 fix: fix a11y option attribute in examples/official-storybook 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
f3a0ad6ff9 refactor: use a class property to prevent performance issue
See https://reactjs.org/docs/faq-functions.html#arrow-function-in-render
And https://reactjs.org/docs/faq-functions.html#class-properties-stage-3-proposal
2019-03-07 08:21:44 +01:00
Gaëtan Maisse
a22b88e0a2 chore: use named import/export instead of default ones in addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
e913428796 chore: remove prop-types dependency from package.json of addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
d7ad26e90e chore: type src of addons/a11y 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
76029c9400 chore: migrate src of addons/a11y to Typescript 2019-03-07 08:21:44 +01:00
Gaëtan Maisse
e4cf45cce8 chore: add tsconfig in addons/a11y 2019-03-07 08:21:44 +01:00
Alex Wilson
ca63d0ec9a
Merge branch 'next' into performance-fix-knob-change-debouncing 2019-03-07 00:39:05 -05:00
codebyalex
8aa71c5382 modified debounce logic to use lodash rather than custom timeout code 2019-03-07 00:37:57 -05:00
Michael Shilman
10cb244251
Merge pull request #5928 from jangerhofer/next
Docs: Typescript Configuration Examples for v5
2019-03-07 12:12:01 +08:00
Michael Shilman
39e28f4750
Merge pull request #5909 from ehzhang/ehzhang/check-filename-is-string-before-searching
lib client-api/src/client_api: check type of module.id as fileName
2019-03-07 11:56:21 +08:00
Michael Shilman
d340a4abeb Fix linting error? 2019-03-07 11:51:15 +08:00
Michael Shilman
9e51607703
Merge pull request #5930 from xdvarpunen/next
Updated list of peerDependencies for mithriljs.
2019-03-07 06:53:03 +08:00
xdvarpunen
ed8182d770
Updated list of peerDependencies for mithriljs. 2019-03-06 20:59:37 +02:00
JD Angerhofer
2fbed87803 Docs: Typescript Configuration for v5
Updating Typescript example code to reflect Webpack "full control" mode in Storybook v5.
2019-03-06 12:40:21 -05:00
Edwin Zhang
bd4becaf95 lib client-api/src/client_api.test: add test case to ignore numeric module.id 2019-03-06 09:40:17 -08:00
Edwin Zhang
bffba53c3a lib client-api/src/client_api: check type of module.id as fileName
Much further downwind when searching through file names, fuzzy-search
and .includes requires that the fileName parameter is a string, not a
number. This checks to make sure that the fileName is indeed a string,
since webpack may sometimes return the module.id as a number.

https://webpack.js.org/api/module-variables/#moduleid-commonjs
2019-03-06 09:34:19 -08:00
Michael Shilman
2cf21e6f09 Merge branch 'master' into next 2019-03-06 17:39:09 +08:00
Michael Shilman
119764702e Remove custom presets warning 2019-03-06 16:39:37 +08:00