Michael Shilman
01545dd723
Re-enable failing args tests
2020-03-14 09:16:12 +08:00
Norbert de Langen
961240d275
FIX tests & REMOVE test that fail relating to globalArgs
2020-03-13 15:30:01 +01:00
Michael Shilman
3d1d35534e
v6.0.0-alpha.27
2020-03-13 20:29:55 +08:00
Michael Shilman
a431c91902
Merge branch 'next' into feature/action-args
2020-03-13 16:34:24 +08:00
Michael Shilman
7552ab0717
Better logging
2020-03-13 16:30:03 +08:00
Michael Shilman
ac1a98c38e
Core: Added args/argTypes sanity checks with warnings/errors
2020-03-13 13:26:21 +08:00
Michael Shilman
6b07833a9a
Core: Add globalArgs/globalArgTypes exports to preview.js
2020-03-13 12:41:13 +08:00
Michael Shilman
870ff062f3
v6.0.0-alpha.26
2020-03-12 20:53:10 +08:00
Michael Shilman
5c0cbb3936
CSF: Promote args/argTypes to first-class metadata
2020-03-12 15:25:29 +08:00
Michael Shilman
cbe0da787a
v6.0.0-alpha.25
2020-03-11 18:53:09 +08:00
Michael Shilman
7a68f72411
v6.0.0-alpha.24
2020-03-11 16:56:16 +08:00
Michael Shilman
fbd0c3c0b6
v6.0.0-alpha.23
2020-03-11 16:43:16 +08:00
Michael Shilman
0858d97db6
Merge branch 'next' into feature/action-args
2020-03-11 16:36:08 +08:00
Michael Shilman
38bc41f6bf
Merge pull request #10089 from storybookjs/7479-format-source-parameter
...
Addon-docs: formatSource snippet customization function
2020-03-11 16:35:02 +08:00
Michael Shilman
2b3f137336
Merge branch 'next' into feature/action-args
2020-03-11 15:07:00 +08:00
Michael Shilman
8d922c7a81
Use parameter enhancers for Source block
2020-03-11 14:08:15 +08:00
Michael Shilman
1fb159bdd4
Merge branch 'next' into feature/global-args
2020-03-11 10:57:37 +08:00
Michael Shilman
6cb32b3d98
v6.0.0-alpha.22
2020-03-10 18:44:26 +08:00
Michael Shilman
31fb72996e
Merge pull request #10014 from storybookjs/feature/args
...
Core: Add args feature
2020-03-10 14:08:40 +08:00
Michael Shilman
7970836309
v6.0.0-alpha.21
2020-03-05 17:26:05 +08:00
Tom Coleman
92cb3724dc
Merge branch 'feature/args' into feature/global-args
2020-03-04 19:43:16 +11:00
Tom Coleman
9cb74bc010
More changed=>updated for global args
2020-03-04 19:38:57 +11:00
Tom Coleman
45581ee35d
Change setGlobalArgs
to updateGlobalArgs
...
Co-Authored-By: Michael Shilman <shilman@users.noreply.github.com>
2020-03-04 19:37:50 +11:00
Tom Coleman
16cbd5cf45
Change event name to use UPDATE too
2020-03-04 17:25:36 +11:00
Tom Coleman
533b1fc2e4
Change story update functions to be updateX
...
Thanks @shilman!
Co-Authored-By: Michael Shilman <shilman@users.noreply.github.com>
2020-03-04 17:23:04 +11:00
Tom Coleman
231dcffe28
Merge branch 'feature/args' into feature/global-args
2020-03-03 18:12:23 +11:00
Tom Coleman
3aaba64e1e
Fix tests that got lost in translation
2020-03-03 18:08:04 +11:00
Tom Coleman
0f0d8983ec
Merge remote-tracking branch 'origin/next' into feature/args
2020-03-03 18:01:46 +11:00
Tom Coleman
bf3ca9c3ee
Update lib/client-api/README.md
...
Co-Authored-By: Dmitriy Lazarev <w@kich.dev>
2020-03-03 16:49:30 +11:00
Michael Shilman
c9882e19c1
Merge branch 'feature/global-args' into feature/action-args
2020-03-03 12:00:03 +08:00
Tom Coleman
2d3e057da9
Fix story store test
2020-03-03 14:24:09 +11:00
Norbert de Langen
2e90601234
Merge pull request #9965 from storybookjs/add-missing-deps
...
Misc: Add missing dependencies
2020-03-02 14:49:04 +01:00
Michael Shilman
4cd2414f4d
Addon-actions: Add args and argTypesRegex parameter enhancers
2020-03-02 21:36:54 +08:00
Tom Coleman
f39f61953d
Added README
2020-03-03 00:05:18 +11:00
Tom Coleman
044cfa5902
Added global args initialization
2020-03-03 00:03:14 +11:00
Tom Coleman
fe95ffef3e
Typing fixes
2020-03-02 23:43:51 +11:00
Tom Coleman
ecc1300f9f
Added test for preview-side useGlobalArgs
2020-03-02 23:30:41 +11:00
Tom Coleman
71876af37d
Re-render when global args change
2020-03-02 23:28:34 +11:00
Tom Coleman
d75b4e09a0
Added basic global args mechanism to story_store
2020-03-02 23:28:06 +11:00
Tom Coleman
c64b99d6b8
Fix merge issues that stopped stories rendering
2020-03-02 23:25:33 +11:00
Tom Coleman
cee92e2236
Fix merge issue
2020-03-02 22:46:28 +11:00
Tom Coleman
6c5b216be9
Merge remote-tracking branch 'origin/next' into feature/args
2020-03-02 17:42:51 +11:00
Michael Shilman
aee887311f
Merge pull request #9914 from storybookjs/refactor-client-api-events
...
Core: Overhaul start.js and event emitting/listening
2020-03-02 14:10:00 +08:00
Tom Coleman
44e6f87f0a
Change arg initial values to come from parameters.args
2020-03-02 16:40:43 +11:00
Tom Coleman
b9af9f672b
Change ClientAPI
HMR code to not call startConfiguring
2020-03-02 16:25:01 +11:00
Tom Coleman
6633c79d15
Change behaviour of parameter enhancers to not merge subkeys
2020-03-02 12:03:26 +11:00
Tom Coleman
ddb104bc06
Update README a little bit.
2020-03-02 11:58:36 +11:00
Tom Coleman
333ae484b0
Resolve circular dependency issue
2020-03-02 11:33:59 +11:00
Tom Coleman
811684a993
Remove selectedKind/selectedStory API
2020-03-02 11:09:24 +11:00
Gaëtan Maisse
81e8e67805
chore(lib): add some missing dependencies
...
Used `npx @yarnpkg/doctor .` to have the list of all missing deps.
Added them with version range already used in the workspace to avoid downloading new dep (that's why yarn.lock is not modified)
2020-03-01 21:40:36 +01:00