25183 Commits

Author SHA1 Message Date
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
Norbert de Langen
5abdfd866d
Merge pull request #9709 from dudusae/namedcolor-example
Cra-kitchen-sink : Add Named Color Palette Example(MDX)
2020-02-28 16:00:36 +01:00
Michael Shilman
fe1f8a3459
Merge pull request #9972 from EmmanuelDemey/patch-3
fix: missing } in the docs addon documentation
2020-02-28 08:57:19 +08:00
Michael Shilman
8657d7d25f
Merge pull request #9949 from jonspalmer/queryparams_preset
Addon-Queryparams: Add addon preset
2020-02-28 08:54:15 +08:00
Michael Shilman
102486bd46
Merge pull request #9971 from jonspalmer/fix_github_unit_tests
CI: Fix GitHub unit test workflow
2020-02-28 08:51:00 +08:00
Michael Shilman
27e2541048
Update colorpalette.stories.mdx 2020-02-28 08:48:16 +08:00
Michael Shilman
ccab92bc80
Merge pull request #9976 from davidinoa/next
Update index.md
2020-02-28 08:40:22 +08:00
David Inoa
4bcf55fa5a
Update index.md 2020-02-27 11:47:41 -05:00
Norbert de Langen
1af3f2ca53
ADD story 2020-02-27 14:54:54 +01:00
Jon Palmer
9f525d4299
use checkout v2 2020-02-27 08:45:58 -05:00
Emmanuel DEMEY
37ab0aff8f
fix: missin } in the docs addon documentation 2020-02-27 10:38:28 +01:00
Jon Palmer
33631029b9
Fix GitHub unit test workflow 2020-02-26 22:49:57 -05:00
Michael Shilman
9715a27e54 6.0.0-alpha.20 next.json version file 2020-02-27 08:44:47 +08:00
Michael Shilman
b62e0ab71e Update version.ts to 6.0.0-alpha.20 2020-02-27 08:36:29 +08:00
Michael Shilman
dac6752d47 v6.0.0-alpha.20 v6.0.0-alpha.20 2020-02-27 08:26:52 +08:00
Michael Shilman
492bf5221d Update peer dependencies to 6.0.0-alpha.20 2020-02-27 08:19:18 +08:00
Michael Shilman
18dd682b09 6.0.0-alpha.20 changelog 2020-02-27 08:19:03 +08:00
Michael Shilman
dd1592033f
Merge pull request #9966 from HerrickSpencer/patch-3
Documentation of writing add-on: replace 'withFoo' with the name of addon used in sample below 'withMyAddon'
2020-02-27 07:45:57 +08:00
Herrick Spencer
84490e112f
replace withFoo with the name of addon used in sample below 2020-02-26 13:42:49 -08:00
Norbert de Langen
92f9e23263
Merge pull request #9940 from storybookjs/add/stories-for-layout-mdx
ADD stories for layout in mdx as example and regression test
2020-02-26 13:55:27 +01:00
Michael Shilman
2b8e15b1a8
Merge pull request #9960 from storybookjs/Fix-LSB-284
Core: Fix `configFilename` containing backticks
2020-02-26 20:32:26 +08:00
Michael Shilman
a22ceff7e3
Merge pull request #9958 from EmmanuelDemey/patch-3
fix: remove useless \ in the documentation
2020-02-26 20:27:57 +08:00
Tom Coleman
20920b58e6
Fix configFilename containing backticks
In windows the path sep is '\' which will lead to weird stuff like: https://github.com/chromaui/learnstorybook.com/issues/284
2020-02-26 20:12:39 +11:00
Emmanuel DEMEY
0232feaf06
fix: remove useless \ in the documentation 2020-02-26 08:35:23 +01:00
Michael Shilman
d9612f7090
Merge pull request #9950 from jonspalmer/addon_docs_cleanup
Cleanup docs wrt registering addons
2020-02-26 08:11:57 +08:00
Jon Palmer
056e5de281 QueryParams addon preset 2020-02-25 11:52:35 -05:00
Michael Shilman
b940b05bde 5.3.14 changelog 2020-02-25 23:53:18 +08:00
Jon Palmer
bfe3260e64 Claenup docs wrt registering addons 2020-02-25 10:34:19 -05:00
Michael Shilman
4703c15e55 6.0.0-alpha.19 next.json version file 2020-02-24 23:08:12 +08:00
Michael Shilman
d41e1176ab Update version.ts to 6.0.0-alpha.19 2020-02-24 22:40:25 +08:00
Norbert de Langen
aa201f6441
CLEANUP some more 2020-02-24 15:38:20 +01:00
Michael Shilman
b5b1bda641 v6.0.0-alpha.19 v6.0.0-alpha.19 2020-02-24 22:28:05 +08:00
Michael Shilman
6473797744 Update peer dependencies to 6.0.0-alpha.19 2020-02-24 22:23:41 +08:00
Michael Shilman
edbc69a458 6.0.0-alpha.19 changelog 2020-02-24 22:23:16 +08:00
Norbert de Langen
1ab991582b
CLEANUP 2020-02-24 14:30:02 +01:00
Norbert de Langen
eee6565bbd
Merge branch 'next' into add/stories-for-layout-mdx 2020-02-24 14:28:54 +01:00
Norbert de Langen
4e52c534d3
FIX linting 2020-02-24 14:18:59 +01:00
Norbert de Langen
f2fb848a46
ADD stories for layout in mdx as example and regression test 2020-02-24 13:30:24 +01:00
Norbert de Langen
dd83080cdd
Merge pull request #9932 from jonspalmer/links_addon_preset
Add preset for Links Addon
2020-02-24 12:20:24 +01:00
Norbert de Langen
72ccf7925f
Merge pull request #9790 from lmaze/8884-fix-addon-docs-ie11
Addon-docs: Restore IE11 compat on Windows by transpiling correctly acorn-jsx for this OS (#8884)
2020-02-24 11:13:30 +01:00
Norbert de Langen
7b82ea41d1
ADD cypress tests running documentation 2020-02-24 10:42:02 +01:00
Jon Palmer
06bdaf5e92 use makeDecorator to allow disabling via parameters 2020-02-22 20:24:50 -05:00
Jon Palmer
2b7ce51fdf Add preset for Links Addon 2020-02-22 12:23:10 -05:00
Michael Shilman
9c9c52600b 6.0.0-alpha.18 next.json version file 2020-02-22 04:50:50 +08:00
Michael Shilman
2276d03ae8 Update version.ts to 6.0.0-alpha.18 2020-02-22 04:41:45 +08:00
Michael Shilman
480370557a v6.0.0-alpha.18 v6.0.0-alpha.18 2020-02-22 04:31:14 +08:00
Michael Shilman
683acfefad Update peer dependencies to 6.0.0-alpha.18 2020-02-22 04:27:29 +08:00
Michael Shilman
9a00958ae7 6.0.0-alpha.18 changelog 2020-02-22 04:26:30 +08:00