31469 Commits

Author SHA1 Message Date
Norbert de Langen
0e56733636
Merge pull request #12936 from storybookjs/e2e-tests
CLI: use Jest to test CLI commands and remove outdated fixtures
2020-11-30 10:59:43 +01:00
Michael Shilman
c969e6fcdf 6.1.9 latest.json version file 2020-11-29 21:32:58 +08:00
Michael Shilman
606426bb6b Update git head to 6.1.9 2020-11-29 21:02:49 +08:00
Michael Shilman
495a468d5e v6.1.9 v6.1.9 2020-11-29 20:57:02 +08:00
Michael Shilman
05f80c6ec4 Update root, peer deps, version.ts/json to 6.1.9 2020-11-29 20:49:53 +08:00
Michael Shilman
7e91c63efb 6.1.9 changelog 2020-11-29 20:45:22 +08:00
Michael Shilman
bfc0ed02cc
Merge pull request #13260 from cone56/next
Addon-backgrounds: Fix grid offset always using default value
2020-11-29 20:42:56 +08:00
Michael Shilman
1a42703d0d
Merge pull request #13319 from storybookjs/13296-event-key
UI: Fix keybindings on non-US keyboard layouts
2020-11-29 20:38:55 +08:00
Michael Shilman
b747c5c239
Merge pull request #13327 from storybookjs/pocka/fix/vue-dynamic-source-class-missing
Addon-Docs: Handle class attributes in Dynamic Source Rendering for Vue.js
2020-11-29 20:35:30 +08:00
Shota Fuji
2e724f727b
fix(addon-docs): Handle object-in-array class (Vue.js)
https://vuejs.org/v2/guide/class-and-style.html#Array-Syntax

Add support for below.

```vue
<div v-bind:class="[{ active: isActive }, errorClass]"></div>
```
2020-11-29 03:39:54 +00:00
Shota Fuji
fe2a84b7dc
fix(addon-docs): render Vue classes in dynamic source
https://github.com/storybookjs/storybook/issues/13326

Both static class (`class="foo"`) and dynamic class (`:class="..."`)
are ignored because Vue treats them as special attribute. They don't
exist in normal vnode.data.attrs nor componentOptions.propsData.
2020-11-29 03:15:30 +00:00
Gert Hengeveld
ea753eb5c0 Merge branch 'next' into 13296-event-key 2020-11-28 15:42:11 +01:00
jamesgeorge007
091ea500f3 test: cleanup 2020-11-28 13:09:42 +05:30
Norbert de Langen
ca7649b182 test: remove test fixtures 2020-11-28 13:09:25 +05:30
jamesgeorge007
b8d4bc2543 test: update test case for default behavior 2020-11-28 13:09:25 +05:30
jamesgeorge007
8d827804d5 test: merge globals 2020-11-28 13:09:25 +05:30
jamesgeorge007
ecc1ea2430 test(cli): use it.each to improve test run output
Co-authored-by: Gaëtan Maisse <gmaisse@solocal.com>
2020-11-28 13:09:24 +05:30
jamesgeorge007
722cbafe28 tests: remove filters 2020-11-28 13:09:24 +05:30
jamesgeorge007
65a7bb3c4f tests: cleanup 2020-11-28 13:09:24 +05:30
jamesgeorge007
73fa16a732 tests: remove stale helper 2020-11-28 13:09:24 +05:30
jamesgeorge007
48e820edb1 chore: leverage fs-extra 2020-11-28 13:09:24 +05:30
Gaëtan Maisse
3261444ca0 test(cli): fix path of required file in cli.test.js 2020-11-28 13:09:24 +05:30
jamesgeorge007
b454148c53 chore: use rimraf for test cleanup 2020-11-28 13:09:24 +05:30
jamesgeorge007
0667ab965b chore: include test case for default behavior 2020-11-28 13:09:24 +05:30
jamesgeorge007
023b309c73 test: cleanup 2020-11-28 13:09:24 +05:30
jamesgeorge007
51083e5c86 chore: remove timeout 2020-11-28 13:09:24 +05:30
jamesgeorge007
893bd2319b chore: prettify 2020-11-28 13:09:24 +05:30
jamesgeorge007
8d5f1e0eaf fix: supply arg to execute conditionally 2020-11-28 13:09:24 +05:30
jamesgeorge007
983e4c16e7 test: update description 2020-11-28 13:09:23 +05:30
jamesgeorge007
5bff2c6221 test: test case for default behavior 2020-11-28 13:09:23 +05:30
jamesgeorge007
c39fc1df3e test: migrate to jest for e2e tests 2020-11-28 13:09:23 +05:30
Gert Hengeveld
8724e7d97b More robust keybindings. 2020-11-27 17:14:15 +01:00
Michael Shilman
1cccad86ed 6.1.8 latest.json version file 2020-11-27 22:40:50 +08:00
Michael Shilman
082278bd35 Update git head to 6.1.8 2020-11-27 22:31:46 +08:00
Michael Shilman
6c4d0ed4be v6.1.8 v6.1.8 2020-11-27 22:25:51 +08:00
Michael Shilman
10c38c4590 Update root, peer deps, version.ts/json to 6.1.8 2020-11-27 22:25:30 +08:00
Michael Shilman
2221818b91 6.1.8 changelog 2020-11-27 22:20:01 +08:00
Michael Shilman
b9dde8989c
Merge pull request #13308 from storybookjs/13273/fix-hash-dropping
Core: Fix preview URL dropped hashes
2020-11-27 22:18:06 +08:00
Michael Shilman
f336ea82e2
Merge pull request #13309 from storybookjs/fix/reactTypings
React: Expose StorybookConfig types
2020-11-27 22:17:14 +08:00
Michael Shilman
28b458a814
Merge pull request #13315 from storybookjs/fix/unitTests
React: Fix unit tests for react preset
2020-11-27 22:16:47 +08:00
Michael Shilman
31f287f22d
Merge pull request #13271 from kuschti/patch-1
Core: Fix template script tag support
2020-11-27 21:58:43 +08:00
Michael Shilman
813b4dd34d
Merge pull request #13288 from leettaylor/lt/fix/vue-source
Addon-docs: Fix Vue source snippets for function attributes
2020-11-27 21:46:55 +08:00
Clément DUNGLER
f7bf8ee1be fix: unit tests for react preset 2020-11-27 14:33:05 +01:00
Lee Taylor
7589650570
Update sourceDecorator test 2020-11-27 10:49:27 +00:00
Lee Taylor
fc6a4bf933
Add more attributes to sourceDecorator tests 2020-11-27 10:44:35 +00:00
Clément DUNGLER
8f0c2104bd React: expose StorybookConfig types 2020-11-27 08:40:21 +01:00
Tom Coleman
2edf84115a Let's not drop hashes from preview URLs.
Issue #13273
2020-11-27 15:13:04 +11:00
Michael Shilman
8b2928552d
Merge pull request #13302 from storybookjs/fix/ie11Zoom
Components: Fix Zoom for IE 11
2020-11-27 09:41:50 +08:00
Michael Shilman
b4660060c0
Merge pull request #13303 from storybookjs/fix/fastRefreshCRA
React: Don't add FastRefresh if already enabled
2020-11-27 09:32:00 +08:00
Michael Shilman
7cafe2eb5a
Update framework-preset-react.ts 2020-11-27 09:31:14 +08:00