Michael Shilman
4d03f4a2bd
Update root, peer deps, version.ts/json to 6.3.0-alpha.9 [ci skip]
2021-04-17 00:38:57 +08:00
Michael Shilman
5c9b2ad804
Update root, peer deps, version.ts/json to 6.3.0-alpha.8 [ci skip]
2021-04-15 21:51:32 +08:00
Michael Shilman
07a87144e0
Update root, peer deps, version.ts/json to 6.3.0-alpha.7 [ci skip]
2021-04-14 10:11:53 +08:00
Michael Shilman
80e0108cad
Update root, peer deps, version.ts/json to 6.3.0-alpha.6 [ci skip]
2021-04-13 16:29:22 +08:00
Michael Shilman
7ef9c070b3
Update root, peer deps, version.ts/json to 6.3.0-alpha.5 [ci skip]
2021-04-11 23:34:30 +08:00
Michael Shilman
3250c49409
Update root, peer deps, version.ts/json to 6.3.0-alpha.4 [ci skip]
2021-04-10 20:31:13 +08:00
Michael Shilman
3ec358f71c
Merge pull request #14472 from eirslett/dont-shadow-window
...
Core: Don't shadow the window global variable
2021-04-10 20:30:06 +08:00
Michael Shilman
7426dfae38
Update root, peer deps, version.ts/json to 6.3.0-alpha.3 [ci skip]
2021-04-10 12:28:46 +08:00
Michael Shilman
64bccf4b48
Fix bad merge
2021-04-10 12:14:37 +08:00
Michael Shilman
316b500adb
Merge branch 'next' into dont-shadow-window
2021-04-10 12:09:28 +08:00
Michael Shilman
4a4a3754bc
Update root, peer deps, version.ts/json to 6.3.0-alpha.2
2021-04-09 12:59:00 +08:00
Michael Shilman
91b476fc38
Update root, peer deps, version.ts/json to 6.3.0-alpha.1
2021-04-09 00:15:01 +08:00
Michael Shilman
27ac933ab7
Update root, peer deps, version.ts/json to 6.3.0-alpha.0
2021-04-08 17:54:44 +08:00
Michael Shilman
7427b63b55
Update root, peer deps, version.ts/json to 6.2.5
2021-04-07 18:27:43 +08:00
Michael Shilman
d0100588c9
Merge branch 'next'
2021-04-07 18:26:49 +08:00
Gert Hengeveld
6d54805127
Restore args param when switching stories or viewMode
2021-04-07 11:53:59 +02:00
Michael Shilman
16503b6745
Update root, peer deps, version.ts/json to 6.2.4
2021-04-07 11:52:26 +08:00
Gert Hengeveld
0b4c01cff8
Don't include URL args in docs mode
2021-04-06 22:07:28 +02:00
Michael Shilman
ac54d464ef
Update root, peer deps, version.ts/json to 6.2.3
2021-04-05 22:20:11 +08:00
Eirik Sletteberg
841a55bd68
Don't shadow the window global variable
...
This snippet:
```
import { window } from 'global';
```
will let you mock window variables in Jest tests.
However, it breaks hot module reloading in Vite,
because Vite injects code snippets in top of every
file:
```
window.STUFF = 'Vite injected some HMR code here';
import { window } from 'global';
// this fails: Uncaught ReferenceError: Cannot access 'window' before initialization
```
The simple solution is to rename `window` when importing it:
```
import { window as globalWindow } from 'global';
globalWindow.alert('hello world');
```
The code works like before, but Vite will be able to
inject its code snippet without interfering with the
rest of the code.
2021-04-04 18:36:16 +02:00
Michael Shilman
d39e66d89c
Update root, peer deps, version.ts/json to 6.2.2
2021-04-02 17:39:27 +08:00
Michael Shilman
c1a3ecb568
Update root, peer deps, version.ts/json to 6.2.1
2021-03-31 11:56:14 +08:00
Michael Shilman
f8bfee0917
Update root, peer deps, version.ts/json to 6.2.0
2021-03-30 23:57:56 +08:00
Michael Shilman
4ef7b5aab1
Update root, peer deps, version.ts/json to 6.2.0-rc.13
2021-03-30 18:46:56 +08:00
Michael Shilman
4ee40fab05
Update root, peer deps, version.ts/json to 6.2.0-rc.12
2021-03-30 10:26:21 +08:00
Eirik Sletteberg
f74a04a411
Make Storybook esbuild-compatible
...
This would be a good fundament for adding Snowpack/Vite
builder support. Currently, Storybook UI can be built by
Webpack or tsc, but esbuild transpiles .ts file-by-file
and therefore has some caveats:
https://esbuild.github.io/content-types/#typescript-caveats
This change adds isolatedModules: true to tsconfig.json,
and fixes a few places in the Storybook source code.
The result has been briefly tested with esbuild - with
these changes, it's possible to build Storybook UI
using Vite.
2021-03-29 22:18:41 +02:00
Michael Shilman
64c4d53314
Update root, peer deps, version.ts/json to 6.2.0-rc.11
2021-03-29 16:29:33 +08:00
Michael Shilman
b962e34e1f
Update root, peer deps, version.ts/json to 6.2.0-rc.10
2021-03-26 15:52:08 +08:00
Michael Shilman
a8a0583780
Update root, peer deps, version.ts/json to 6.2.0-rc.9
2021-03-25 00:41:29 +08:00
Gert Hengeveld
e00aa0d541
Merge branch 'next' into url-args-special-formats
2021-03-23 15:06:51 +01:00
Michael Shilman
90e558f0cf
Update root, peer deps, version.ts/json to 6.2.0-rc.8
2021-03-23 09:41:01 +08:00
Gert Hengeveld
f7f4c1e950
Fix useArgs callbacks to have stable references
2021-03-23 00:47:26 +01:00
Michael Shilman
991bcbd891
Update root, peer deps, version.ts/json to 6.2.0-rc.7
2021-03-23 00:19:35 +08:00
Michael Shilman
386e896800
Update root, peer deps, version.ts/json to 6.2.0-rc.6
2021-03-21 00:23:25 +08:00
Michael Shilman
603c6cbf2a
Update root, peer deps, version.ts/json to 6.2.0-rc.5
2021-03-20 16:52:26 +08:00
Michael Shilman
14be28232d
Update root, peer deps, version.ts/json to 6.2.0-rc.4
2021-03-19 13:37:10 +08:00
Michael Shilman
d67b76ac22
Update root, peer deps, version.ts/json to 6.2.0-rc.3
2021-03-18 22:03:15 +08:00
Michael Shilman
4cf605dd3c
Update root, peer deps, version.ts/json to 6.2.0-rc.2
2021-03-17 18:01:03 +08:00
Michael Shilman
e1dbc19c11
Update root, peer deps, version.ts/json to 6.2.0-rc.1
2021-03-16 22:49:12 +08:00
Michael Shilman
21239d2c6b
Update root, peer deps, version.ts/json to 6.2.0-rc.0
2021-03-15 23:01:16 +08:00
Michael Shilman
72eef801e3
Update root, peer deps, version.ts/json to 6.2.0-beta.15
2021-03-15 19:03:21 +08:00
Michael Shilman
801bbe48de
Update root, peer deps, version.ts/json to 6.2.0-beta.14
2021-03-11 21:42:14 +08:00
Michael Shilman
6137ebf569
Update root, peer deps, version.ts/json to 6.2.0-beta.13
2021-03-11 06:30:17 +08:00
Michael Shilman
611eb1b338
Update root, peer deps, version.ts/json to 6.2.0-beta.12
2021-03-10 07:22:53 +08:00
Michael Shilman
05078ff260
Merge pull request #14172 from storybookjs/fix-renderLabel-key-warning
...
UI: Fix React unique key warning when using renderLabel
2021-03-10 07:07:55 +08:00
Gert Hengeveld
63c8287207
Fix React unique key warning when using renderLabel
2021-03-08 21:07:05 +01:00
Michael Shilman
5e53fb2abc
Update root, peer deps, version.ts/json to 6.2.0-beta.11
2021-03-09 00:46:35 +08:00
Michael Shilman
9ec1f6398d
Update root, peer deps, version.ts/json to 6.2.0-beta.10
2021-03-05 17:52:19 +08:00
Michael Shilman
f547d8569b
Update root, peer deps, version.ts/json to 6.2.0-beta.9
2021-03-04 19:02:31 +08:00
Michael Shilman
973497ec1d
Update root, peer deps, version.ts/json to 6.2.0-beta.8
2021-03-04 07:56:19 +08:00