25255 Commits

Author SHA1 Message Date
Norbert de Langen
89cebd3354
ADD dependency as is required 2020-03-03 12:07:07 +01:00
Norbert de Langen
6cc9a7abf5
ADD white background for dev-kits example 2020-03-03 12:05:33 +01:00
Norbert de Langen
f07b5fbe53
REMOVE propTypes on TS files 2020-03-03 12:04:07 +01:00
Norbert de Langen
a94ca8320c
CHANGE svg for dummy logo 2020-03-03 11:56:11 +01:00
Norbert de Langen
b22e90298d
REFACTOR sidebar menu construction & memoization 2020-03-03 11:47:40 +01:00
Norbert de Langen
9f988130ec
CHANGE getDescription to properly typed & have a fallback for if there's no kind 2020-03-03 11:33:25 +01:00
Norbert de Langen
09fe2c3498
CHANGE exactMatch to case insensitive && ADD safety to parameters check 2020-03-03 10:56:17 +01:00
Norbert de Langen
ae02d61f02
CHANGE FUZZY_SEARCH_THRESHOLD to 0.35 2020-03-03 10:52:45 +01:00
Norbert de Langen
dd8ed59969
CHANGE to use useMemo of memoizerific 2020-03-03 10:47:53 +01:00
Norbert de Langen
a38152bf22
REMOVE log statements that serve no value to the end-user 2020-03-03 10:47:15 +01:00
Norbert de Langen
b479efafac
IMPROVE typings of SVG icon 2020-03-03 10:42:25 +01:00
Norbert de Langen
07c7b7221a
ADD ability for listeners to get the original message event via this 2020-03-03 10:41:00 +01:00
Norbert de Langen
7cc1cd9e5c
CHANGE postmessage to use native Message type over a custom one 2020-03-03 10:39:50 +01:00
Norbert de Langen
7691ed32e0
FIX test 2020-03-03 10:39:28 +01:00
Norbert de Langen
49d0ee4e53
CHANGE addon module to use fullAPI.getData 2020-03-03 10:37:07 +01:00
Norbert de Langen
a7693befcb
FIX viewMode in docsMode 2020-03-03 10:35:07 +01:00
Norbert de Langen
f26b02fced
FIX mutation of storieshash 2020-03-03 10:34:53 +01:00
Norbert de Langen
0547e69596
ADD fullAPI to module in lib/api 2020-03-03 10:32:40 +01:00
Norbert de Langen
8343c37192
IMPROVE typings of config 2020-03-03 10:29:11 +01:00
Norbert de Langen
d28b8d9eb4
CHANGE api.getdata of manual destructure of state 2020-03-03 10:27:55 +01:00
Norbert de Langen
5caf02e8e1
Merge pull request #9323 from storybookjs/manager-options
Official example: try moving options to `manager.js`
2020-03-03 00:11:56 +01:00
Norbert de Langen
a72a2a9271
Revert navigation.spec.ts 2020-03-02 21:55:08 +01:00
Norbert de Langen
e879b9ec12
Merge pull request #10016 from storybookjs/upgrade/reach-router-9705
Upgrade/reach router 9705
2020-03-02 16:56:32 +01:00
Norbert de Langen
1722f54b7e
ADD storySort to preview.js again 2020-03-02 16:24:16 +01:00
Norbert de Langen
0264b06d97
FIX version in app/react 2020-03-02 16:23:58 +01:00
Norbert de Langen
41ab5a45c8
Merge branch 'next' into manager-options 2020-03-02 15:42:01 +01: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
Norbert de Langen
63cd58b993
FIX snapshots 2020-03-02 14:42:56 +01:00
Norbert de Langen
faf99cc5fe
FIX ts errors 2020-03-02 14:09:16 +01:00
Norbert de Langen
c1e3cd730b
update reach router 2020-03-02 13:36:11 +01: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
b9af9f672b Change ClientAPI HMR code to not call startConfiguring 2020-03-02 16:25:01 +11:00
Tom Coleman
ac9b13f377 Replace selectedKind/Story with kind/name in docs 2020-03-02 15:59:10 +11:00
Tom Coleman
aada77f97d Fix DeepScan again 2020-03-02 11:36:02 +11:00
Tom Coleman
333ae484b0 Resolve circular dependency issue 2020-03-02 11:33:59 +11:00
Tom Coleman
976e30d5d5 Fix some DeepScan issues 2020-03-02 11:23:21 +11:00
Tom Coleman
574570554a Add a README to lib/core to explain the basics 2020-03-02 11:21:27 +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
Gaëtan Maisse
11d4b11101 chore(docs): 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
Tom Coleman
eafa6d1d10 Fix types in test 2020-03-01 23:35:53 +11:00
Tom Coleman
e777d59276 Fix type change that didn't quite work in storyshots
cc @kroeder -- perhaps we need to make the type here "not quite a node module" -- I suppose the issue here is that the require-context hook we use doesn't implement `req.resolve()`: https://www.npmjs.com/package/@storybook/addon-storyshots#configure-jest-to-work-with-webpacks-requirecontext

We should probably just fix it so it does, but for now.
2020-03-01 23:06:53 +11:00
Tom Coleman
a849625504 Fix decorators test 2020-03-01 22:48:35 +11:00
Tom Coleman
c7264a4aee Fix URL test 2020-03-01 22:45:07 +11:00
Tom Coleman
2a190be01b Added tests for makeConfigure 2020-03-01 22:32:19 +11:00
Michael Shilman
7c55dd1dae
Merge pull request #10003 from thakursachin467/next
CLI: Support js / jsx / ts / tsx stories in React CSF template
2020-03-01 17:09:20 +08:00
Sachin Thakur
644b2a98de
Support Both js and jsx or ts and tsx 2020-03-01 11:27:05 +05:30
Sachin Thakur
c33337d50c
Support Both js and jsx or ts and tsx
Updated Regex to accommodate both Js and JSX or ts and TSX.

Issue:

What I did
Update default template generation in storybook cli to add jsx/ts/tsx file.
2020-03-01 11:22:15 +05:30
Michael Shilman
ba69a6714f
Merge pull request #9999 from HerrickSpencer/patch-4
Update Writing-Addon doc
2020-02-29 15:56:53 +08:00
Herrick Spencer
e85a12842e
Update Writing-Addon doc
(two line change)
Update Writing-Addon doc to fix error in reading parameter data.  As currently written this causes an exception due to the object returned not being a string. Two ways to fix this, change the data passed by param to just a bare string in the story code above, or change how the addon handles the parameter data. The second is preferable since this is the more likely scenario, and a more useful showcase of passing parameter data.   This is the path I've chosen to changed.
2020-02-28 12:19:20 -08:00