4947 Commits

Author SHA1 Message Date
Michael Shilman
c717124a7c v6.1.0-rc.1 2020-11-13 08:32:46 +08:00
Michael Shilman
90977d37f4 v6.1.0-rc.0 2020-11-12 18:23:39 +08:00
Michael Shilman
640fdeed83 v6.1.0-beta.7 2020-11-11 07:39:40 +08:00
Michael Shilman
08dbe0ffd9 v6.1.0-beta.6 2020-11-09 23:06:05 +08:00
Michael Shilman
147fd4877e Clean up preset-create-react-app 2020-11-09 21:08:25 +08:00
Michael Shilman
745df1dfad Bump preset-cra to 3.1.5 2020-11-09 19:14:04 +08:00
Michael Shilman
7bd2ae0482 v6.1.0-beta.5 2020-11-08 00:28:46 +08:00
Michael Shilman
7caa9a5724 v6.1.0-beta.4 2020-11-06 21:36:16 +08:00
Michael Shilman
2e11de3045 v6.1.0-beta.3 2020-11-06 09:05:18 +08:00
Norbert de Langen
e9708b526a
minor webpack upgrade 2020-11-05 09:43:05 +01:00
Michael Shilman
c67dac2e08 v6.1.0-beta.2 2020-11-04 17:02:51 +08:00
Michael Shilman
dce88aba4d CLI: Remove --no-dll from template 2020-11-04 16:33:02 +08:00
Michael Shilman
763c233efc v6.1.0-beta.1 2020-11-03 15:27:28 +08:00
Gaëtan Maisse
89d0ed9b7d
Apply solution discussed in monthly meeting:
- Set `react` and `react-dom` as peerDeps for all `lib` packages needing them
- Set `react` and `react-dom` as peerDeps + optional tag for all `addon` packages needing them
- Set `react` and `react-dom` as regular deps for all non react apps
- Remove `react` and `react-dom` from root `package.json`
- Set a fixed version of `react` in all examples

Also:
- Use "^16.8.0 || ^17.0.0" version range as some packages need React Hooks
2020-11-02 20:49:31 +01:00
Gaëtan Maisse
0c0a4dcb5c
Merge branch 'next' into tech/move-react-and-react-dom-to-peer-deps 2020-11-02 20:15:29 +01:00
Michael Shilman
807eccd605 v6.1.0-beta.0 2020-11-03 02:28:12 +08:00
Michael Shilman
ebe0d7975e
Merge branch 'next' into 12977-fix-official-storybook 2020-11-02 17:37:21 +08:00
Gaëtan Maisse
814807d361
Use react and react-dom 16.13.1 as 16.14.0 looks to cause trouble with examples/official-storybook
Example:
ERR! SyntaxError: /tmp/storybook/examples/official-storybook/stories/notes/notes.md: pragma and pragmaFrag cannot be set when runtime is automatic.
2020-11-02 08:09:18 +01:00
Gaëtan Maisse
eaa9410a4d
Move react and react-dom to peer deps
`react` and `react-dom` should always be peer dependencies of packages that provide react components to ensure that there's a single instance of those.

Plus, all packages depending on a package with `react` as peerDep should also have it as peerDeps (transitive peer dependencies) or as deps.

Finally, packages in `examples/*` are "end" packages using Storybook so they must provide `react` and `react-dom` in their deps/devDeps
2020-11-02 08:08:48 +01:00
Michael Shilman
76bb521136 v6.1.0-alpha.35 2020-11-02 14:43:36 +08:00
Michael Shilman
eb0653651b Core: Align react and react-dom version specifiers 2020-11-02 12:56:11 +08:00
Michael Shilman
4a4c98997f v6.1.0-alpha.34 2020-11-01 15:11:08 +08:00
Michael Shilman
a5ee924e01 v6.1.0-alpha.33 2020-10-30 23:48:23 +08:00
Michael Shilman
4353bc3b0a
Merge pull request #12937 from storybookjs/core/react-dom-17x
Core: Allow React-DOM 17.x
2020-10-30 23:33:58 +08:00
Gert Hengeveld
5e03cfc472 Merge branch 'next' into 12702-instant-on-manager 2020-10-30 12:46:37 +01:00
Michael Shilman
1ee337594e v6.1.0-alpha.32 2020-10-30 12:14:55 +08:00
Gert Hengeveld
3c6f5c0764 Merge branch 'next' into 12702-instant-on-manager 2020-10-29 11:46:40 +01:00
Gert Hengeveld
c668449638 Example doesn't have a public directory. 2020-10-29 11:33:31 +01:00
Michael Shilman
d152532d8f Core: Allow React-DOM 17.x 2020-10-28 21:02:37 +08:00
Michael Shilman
f45b4c6fed v6.1.0-alpha.31 2020-10-27 19:14:43 +08:00
Michael Shilman
96a124e197
Merge pull request #12727 from guilhermewaess/refactor/storyrenderer-styles
Core: Add new layout style `none` and fix layout styles
2020-10-27 06:17:23 +08:00
Guilherme Waess
21ec3c9ac8 refactor: move layout from styles attr to css classes.
Remove logic from adding styles through styles attr and start to use css instead.
2020-10-26 22:34:39 +01:00
Michael Shilman
f883f080f2 v6.1.0-alpha.30 2020-10-26 23:38:51 +08:00
Clément DUNGLER
e8324a7a5c Deps: upgrade babel 2020-10-24 22:47:58 +02:00
Michael Shilman
c4c9f9bf50 v6.1.0-alpha.29 2020-10-23 18:41:35 +08:00
Michael Shilman
9f44d66ee8 v6.1.0-alpha.28 2020-10-23 15:30:35 +08:00
Michael Shilman
0bbd323784 v6.1.0-alpha.27 2020-10-19 18:46:00 +08:00
Michael Shilman
4a32476204 v6.1.0-alpha.26 2020-10-18 18:37:23 +08:00
Michael Shilman
b061cc62a3 v6.1.0-alpha.25 2020-10-16 21:07:59 +08:00
Michael Shilman
2b9ff49490
Merge pull request #12781 from storybookjs/feature/reactStrictModeOption
React: Add strictMode option
2020-10-16 20:57:29 +08:00
Clément DUNGLER
d4dc0d80de React: Add strictMode option 2020-10-15 17:40:44 +02:00
Michael Shilman
da8ff0573a v6.1.0-alpha.24 2020-10-15 22:47:26 +08:00
Michael Shilman
1ec9d957ee v6.1.0-alpha.23 2020-10-12 19:41:32 +08:00
Michael Shilman
5989fd2bb2 Merge branch 'next' into 1009-async-loaders 2020-10-10 10:48:39 +08:00
Michael Shilman
062478198c v6.1.0-alpha.22 2020-10-10 10:25:15 +08:00
Michael Shilman
0ab71655be v6.1.0-alpha.21 2020-10-08 23:21:24 +08:00
Michael Shilman
bb14910dc5 Update snapshot 2020-10-08 23:06:48 +08:00
Michael Shilman
2bb142ac65 Add global & story loaders 2020-10-08 14:00:35 +08:00
Michael Shilman
9c4ba3537d Namespace loader results as "loaded" 2020-10-08 14:00:11 +08: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