30505 Commits

Author SHA1 Message Date
Michael Shilman
52df9e64d7
Merge pull request #12686 from andezzat/fix/exotic-argstable
Addon-docs: Fix Memo React components in ArgsTable
2020-10-08 09:45:19 +08:00
Michael Shilman
e6cee22077 Remove unused import, fix deepscan 2020-10-08 09:44:15 +08:00
Andrew Salib
d9a8253205 fix(addon-docs): TS forwardref issue now produces properties.snapshot 2020-10-08 10:38:35 +11:00
Andrew Salib
958e7ed5a8 fix(addon-docs): only support forwardRef outer propTypes
Attaching propTypes to forwardRef component's inner render fn doesn't make sense, so we are only supporting outer propTypes. Keeping inner proptypes story to show it doesn't work & isn't recommended.
2020-10-08 10:33:41 +11:00
Gert Hengeveld
8a90cb2df6
Fix CSF export collision 2020-10-07 19:46:22 +02:00
Michael Shilman
986f6d64c2
Merge pull request #12690 from mathieudutour/patch-1
Core: Log which CSF file is failing to load
2020-10-07 20:51:48 +08:00
Mathieu Dutour
7657568dd7
log which story is failing to load 2020-10-07 13:31:18 +02:00
Andrew Salib
e645ae1ce7 Update snapshots 2020-10-07 17:50:40 +11:00
Andrew Salib
aa537af8e2 addon-docs: add destructuring to ForwardRefButton because we can! 2020-10-07 17:08:09 +11:00
Andrew Salib
b71a1c5a10 addon-docs: use new exotic components in docs stories
Now showing off that argstable works w/ Memo components & also Forward Ref w/ propTypes on render fn (inner) or on wrapped component (outer).
2020-10-07 16:41:50 +11:00
Andrew Salib
9cb4f18458 addon-docs: small exotic components refactor
Consolidate forwardRef button components & fix MemoButton so its render fn has a displayName.
2020-10-07 16:40:51 +11:00
Andrew Salib
179ca8d7fb addon-docs: fix Memo props types & tiny refactor to jsxDecorator
jsxDecorator can now fetch component name from docgen & also using new helpers.
2020-10-07 16:37:45 +11:00
Andrew Salib
5d06c42100 addon-docs: add react componentTypes helpers to lib
For determining if a component isMemo or isForwardRef
2020-10-07 16:35:55 +11:00
Michael Shilman
543da4527c
Merge pull request #12315 from storybookjs/tech/speed-up-ci-checks
Build: Speed up CI checks
2020-10-07 11:37:25 +08:00
Michael Shilman
ea7a28eb97
Merge pull request #12683 from kouts/patch-1
Removed semicolon
2020-10-07 11:36:00 +08:00
Michael Shilman
3231e8d755
Merge pull request #12277 from ankon/pr/source-loader-sourcemaps
Source-loader: Generate sourcemaps
2020-10-07 11:08:15 +08:00
Giannis Koutsaftakis
64520024cb
Removed semicolon
Semicolon breaks the code in this snippet.
2020-10-07 00:08:32 +03:00
Gaëtan Maisse
0c6de67547
Revert "ci: use a custom checkout step to avoid cloning the full repository"
This reverts commit c0cf960a

Sadly, the custom checkout steps wasn't working on fork.
2020-10-06 21:10:51 +02:00
Michael Shilman
934c08af05
Merge pull request #12679 from philmuze/fix/vue-snippet
Fix comment in vue global decorator snippet
2020-10-07 02:55:44 +08:00
Gaëtan Maisse
48574c5742
Merge pull request #12536 from fritzfde/patch-1
Core: Fix babel-loader path resolution
2020-10-06 20:34:31 +02:00
Philipp Munzert
73255fc79f fix comment 2020-10-06 19:54:01 +02:00
Michael Shilman
62da9a50c6
Merge pull request #12639 from roblan/next
Core: Add apng support
2020-10-06 05:39:48 +08:00
Michael Shilman
afadb0f21d 6.0.26 changelog 2020-10-05 15:39:58 +08:00
Michael Shilman
261583b727 6.1.0-alpha.20 next.json version file 2020-10-05 13:26:06 +08:00
Michael Shilman
050f879301 Update git head to 6.1.0-alpha.20 2020-10-05 13:20:30 +08:00
Michael Shilman
cc1c152e54 v6.1.0-alpha.20 v6.1.0-alpha.20 2020-10-05 13:15:11 +08:00
Michael Shilman
657277b9e6 Update root, peer deps, version.ts/json to 6.1.0-alpha.20 2020-10-05 13:14:56 +08:00
Michael Shilman
a27c2afc83 6.1.0-alpha.20 changelog 2020-10-05 13:06:09 +08:00
Michael Shilman
4f580d7f05
Merge pull request #12638 from andezzat/fix/react-component-name
Addon-docs: Fix exotic React components in Source block
2020-10-05 13:04:22 +08:00
Michael Shilman
b39e816be8
Merge branch 'next' into fix/react-component-name 2020-10-05 12:29:09 +08:00
Michael Shilman
cbe72d08b4
Merge pull request #12035 from DylanPiercey/marko-5-support
Marko: Update @marko/webpack and allow Marko 5 peerDepenency
2020-10-05 12:27:23 +08:00
Andrew Salib
861e9b08ce fix(official-storybook): cleanup 2020-10-05 15:27:16 +11:00
Andrew Salib
2c63dc63e7 fix(official-storybook): use existing forward-ref story 2020-10-05 15:22:31 +11:00
Andrew Salib
1b7f55000e fix(official-storybook): fix displayName for memo & add forward-ref example
Component should be fed directly to React.memo|forwardRef functions so that displayName is set. Previously was passing an anonymous arrow fn...
2020-10-05 14:46:37 +11:00
Michael Shilman
a8770a4a8e Merge branch 'next' into pr/12035 2020-10-05 11:44:56 +08:00
Michael Shilman
368bde854f
Merge pull request #12389 from nknapp/next
Storyshots: Fix typings of "test"-method
2020-10-05 11:36:55 +08:00
Michael Shilman
870c4dbd83
Merge pull request #12657 from kahirokunn/feature/storyshots
Storyshots Puppeteer: Fix support for over 1 assertions in async tests
2020-10-05 04:04:00 +08:00
Michael Shilman
fd017c641e
Merge pull request #12662 from jacubsmith/12661_generated-arg-docs-type
Fixing missing comma typo
2020-10-05 04:02:32 +08:00
jacubsmith
5956a4b74c Fixing missing comma typo 2020-10-04 11:16:53 +01:00
kahirokunn
8401a48c50 expect >= 1 assertion in storyshots puppeteer test 2020-10-04 10:00:46 +09:00
Michael Shilman
6d011456f9 6.0.25 changelog 2020-10-04 02:32:41 +08:00
Michael Shilman
bac380046b
Merge pull request #11962 from kahirokunn/next
Storyshots: Fix support for test failures in async tests
2020-10-04 01:20:14 +08:00
kahirokunn
dfb1515fab remove expect.assertions(1) 2020-10-04 02:01:26 +09:00
Gaëtan Maisse
b449d57529
ci: use full checkout for chromatic step as it needs to have the git history to run properly 2020-10-03 18:26:32 +02:00
Gaëtan Maisse
625ed36737
ci: put back a medium executor for packtracker as it randomly fails with a small one 2020-10-03 18:23:38 +02:00
Gaëtan Maisse
8aa8926911
refactor: apply the same dispatch for all scripts relying on CircleCI node concurrency 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
c9766b9c4c
refactor: avoid duplication of code used to find the max nb of concurrent tasks "allowed" 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
23185a8127
ci: make multiple yarn install concurrently 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
f8319e733b
ci: add cache for yarn cache-folder 2020-10-03 18:23:37 +02:00
Gaëtan Maisse
522fbfca80
ci: replace xlarge executor with large ones to save some CI credits 2020-10-03 18:23:36 +02:00