Michael Shilman
080babf6d7
v6.3.0-alpha.10
2021-04-18 21:18:41 +08:00
Michael Shilman
d49a95712a
Update git head to 6.3.0-alpha.9, update yarn.lock
2021-04-17 00:50:55 +08:00
Michael Shilman
1d75ab7fc1
v6.3.0-alpha.9
2021-04-17 00:44:29 +08:00
Michael Shilman
ead9d1c098
Merge branch 'next' into preact-compat-default
2021-04-16 23:59:50 +08:00
Michael Shilman
742f102a50
Merge pull request #14615 from jonspalmer/server_string_encoding
...
Server: Fix string escaping in CSF compiler
2021-04-16 16:57:12 +08:00
Jon Palmer
dccd2ca1f5
Use JSON.stringify
2021-04-15 10:50:00 -04:00
Michael Shilman
082eb74020
Update git head to 6.3.0-alpha.8, update yarn.lock
2021-04-15 22:30:06 +08:00
Michael Shilman
2459eb4282
v6.3.0-alpha.8
2021-04-15 22:23:13 +08:00
Jon Palmer
17987f7b9f
Server CSF compiler generates double quote vs single quote strings
2021-04-15 07:54:53 -04:00
Michael Shilman
c9afbb2c7c
Update git head to 6.3.0-alpha.7, update yarn.lock
2021-04-14 10:25:58 +08:00
Michael Shilman
ca7182ff5f
v6.3.0-alpha.7
2021-04-14 10:19:40 +08:00
Michael Shilman
5434cdf4ca
Merge pull request #14226 from storybookjs/angular/add-render-mode
...
Angular: Improve story rendering mode
2021-04-14 10:05:55 +08:00
ThibaudAv
d72337ee78
fix(angular): set the @ViewChild with a non-empty value in StorybookWrapperComponent
...
Fix the error :
> Unhandled Promise rejection: Can't construct a query for the property "storyComponentElementRef" of "StorybookWrapperComponent" since the query selector wasn't defined. ; Zone: <root> ; Task: Promise.then ; Value: Error: Can't construct a query for the property "storyComponentElementRef" of "StorybookWrapperComponent" since the query selector wasn't defined.
which appears on angular v11 once the ngcc command is executed
2021-04-13 21:14:28 +02:00
ThibaudAv
d64e49ba1a
feat(angular): force the rendering if the metadata structure has changed
...
After the first rendering of a story, the next changes of `agrs` by addon controls or `globals` (for example) are not necessarily properties of the component (or template).
but can change other things like an Angular provider
With this additional verification if the stringify `moduleMetadata` structure changes then a complete rendering is done
2021-04-13 11:24:54 +02:00
Michael Shilman
0ddd4ca329
Update git head to 6.3.0-alpha.6, update yarn.lock
2021-04-13 16:37:55 +08:00
Michael Shilman
60181528cf
v6.3.0-alpha.6
2021-04-13 16:31:17 +08:00
Adam Marcinkowski
1508541b55
Bump vue-docgen-api to 4.38.0
2021-04-12 17:06:29 +02:00
Klemen Slavič
038ccd0223
Fix PR comments
2021-04-12 13:34:29 +02:00
Klemen Slavič
83a254a813
Add default compat for React components
2021-04-12 09:52:33 +02:00
Michael Shilman
2257c53699
Update git head to 6.3.0-alpha.5, update yarn.lock
2021-04-11 23:46:37 +08:00
Michael Shilman
9030fc7598
v6.3.0-alpha.5
2021-04-11 23:40:18 +08:00
Michael Shilman
0415209d04
Update git head to 6.3.0-alpha.4, update yarn.lock
2021-04-10 20:53:31 +08:00
Michael Shilman
157857bbe1
v6.3.0-alpha.4
2021-04-10 20:47:14 +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
650a0662d6
Update git head to 6.3.0-alpha.3, update yarn.lock
2021-04-10 12:42:56 +08:00
Michael Shilman
4797065261
v6.3.0-alpha.3
2021-04-10 12:36:35 +08:00
Michael Shilman
316b500adb
Merge branch 'next' into dont-shadow-window
2021-04-10 12:09:28 +08:00
Michael Shilman
ea7d0512d2
Update git head to 6.3.0-alpha.2, update yarn.lock
2021-04-09 13:13:14 +08:00
Michael Shilman
8a57399297
v6.3.0-alpha.2
2021-04-09 13:07:04 +08:00
Michael Shilman
0aa48cebc1
Merge pull request #14445 from brion-fuller/fuller/web-components-hmr
...
Web-components: Add full reload listening to server-side-events
2021-04-09 09:47:26 +08:00
Takayuki Maruyama
2633cd9737
docs: fix typo
2021-04-08 17:05:05 -05:00
Michael Shilman
d318d2eea0
Update git head to 6.3.0-alpha.1, update yarn.lock
2021-04-09 00:32:09 +08:00
Michael Shilman
7d99c9e0bf
v6.3.0-alpha.1
2021-04-09 00:25:04 +08:00
Michael Shilman
c1c8c3c386
Merge branch 'next' into pr/14445
2021-04-08 23:36:21 +08:00
Michael Shilman
0e8632f5ac
Merge branch 'next' into pr/14473
2021-04-08 21:55:25 +08:00
Michael Shilman
412a51903d
Merge branch 'next' into pr/14313
2021-04-08 20:32:34 +08:00
Michael Shilman
f74e495b1f
Update git head to 6.3.0-alpha.0
2021-04-08 18:02:07 +08:00
Michael Shilman
7739aace24
v6.3.0-alpha.0
2021-04-08 17:55:27 +08:00
Michael Shilman
0f60b706f4
Update git head to 6.2.5
2021-04-07 18:46:37 +08:00
Michael Shilman
fd587f5526
v6.2.5
2021-04-07 18:36:29 +08:00
Michael Shilman
a8ffef618a
Update git head to 6.2.4
2021-04-07 12:10:59 +08:00
Michael Shilman
7d8a84165e
v6.2.4
2021-04-07 12:04:44 +08:00
Michael Shilman
6de2073645
Update git head to 6.2.3
2021-04-05 22:34:47 +08:00
Michael Shilman
8c2eac34a9
v6.2.3
2021-04-05 22:28:10 +08:00
Klemen Slavič
f4f4c31e50
Cleanup
2021-04-04 20:52:03 +02:00
Klemen Slavič
202bfa548b
Render story using h()
2021-04-04 20:41:21 +02:00
Klemen Slavič
e13d20f077
Upgrade preact kitchen app sink to preact 10.x for compatibility with dev deps in Storybook development mode
2021-04-04 20:38:22 +02: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
2c01275459
Update git head to 6.2.2
2021-04-02 17:56:42 +08:00
Michael Shilman
10fc28856b
v6.2.2
2021-04-02 17:50:20 +08:00