444 Commits

Author SHA1 Message Date
Michael Shilman
a9ed45b423
Addon-docs: base code to improve the props table for TS (#8905)
Addon-docs: base code to improve the props table for TS
2019-11-22 00:42:19 +08:00
Michael Shilman
9aa946366c
Addon-docs: Fix props table for sections props (#8904)
Addon-docs: Fix props table for sections props
2019-11-21 14:29:41 +08:00
Michael Shilman
778fdc33b5 Clarify extraction logic 2019-11-21 12:29:05 +08:00
patrick.lafrance
d93cc04b6c Added test for TS default value 2019-11-20 23:20:09 -05:00
Michael Shilman
23d04c7e6b Addon-docs: Fix props table for sectinos props 2019-11-21 12:16:32 +08:00
patrick.lafrance
3d463c80ea Fix merge conflicts 2019-11-20 23:06:00 -05:00
patrick.lafrance
b3973c6f40 Added specific react typescript handling for default value 2019-11-20 23:04:09 -05:00
patrick.lafrance
723f27f9ae Fix 2019-11-20 22:41:39 -05:00
patrick.lafrance
8abaa6a19a ts now has is own code path for react framework 2019-11-20 22:21:59 -05:00
patrick.lafrance
fd7b8f4058 Removed | undefined from optionnal TS type 2019-11-20 18:29:14 -05:00
patrick.lafrance
16a51504bc Fix some issue for flow and rework the docgen utils 2019-11-19 22:57:11 -05:00
patrick.lafrance
6c699b34f4 Added test coverage 2019-11-19 17:52:15 -05:00
patrick.lafrance
e5e0b002db Added basic support for flow types in the props table 2019-11-19 16:19:56 -05:00
Michael Shilman
4ab9622dbb Fix merge conflicts 2019-11-19 16:36:56 +08:00
Michael Shilman
fee187460e
Merge branch 'next' into support-props-exclude 2019-11-19 15:47:54 +08:00
Michael Shilman
afb476d90f
Addon-docs: Add tests for prop types default value (#8869)
Addon-docs: Add tests for prop types default value
2019-11-19 15:45:07 +08:00
Michael Shilman
c250701c70
Addon-docs: Customizable DocPage doc blocks (#8855)
Addon-docs: Customizable DocPage doc blocks
2019-11-19 15:42:23 +08:00
atanasster
3e3fd435f1 Merge branch 'docspage-blocks-refactor' of https://github.com/atanasster/storybook into docspage-blocks-refactor 2019-11-18 22:23:14 -08:00
atanasster
0b6e28ed50 Remove PrimaryProps and components/DocsPage 2019-11-18 20:30:54 -08:00
Michael Shilman
3fe71ad6fc DocsPage: components => subcomponents 2019-11-19 12:23:41 +08:00
Michael Shilman
e82eb54df2 Merge branch 'docspage-blocks-refactor' of https://github.com/atanasster/storybook into pr/8855 2019-11-19 12:15:54 +08:00
atanasster
72d81e0524 export DocsPage 2019-11-18 19:46:32 -08:00
atanasster
0e9629b106 consolidate shared.ts with types.ts 2019-11-18 19:28:58 -08:00
Michael Shilman
d7f8d39e6b Merge branch 'next' into pr/8855 2019-11-19 09:22:36 +08:00
Michael Shilman
c037050dec MDX: Fix compiler in case of component-id 2019-11-19 07:49:54 +08:00
atanasster
6dfcb4cf6b added components props to parameters and <Props /> 2019-11-18 15:11:36 -08:00
patrick.lafrance
75586ec206 Added test coverage for prop types default value 2019-11-18 15:12:37 -05:00
patrick.lafrance
17a8a180a9 Props component now support an exclude prop 2019-11-18 13:31:15 -05:00
patrick.lafrance
6bf12b5c9e Fix sort 2019-11-18 13:15:24 -05:00
patrick.lafrance
f64af0f766 Fix typo 2019-11-17 22:57:57 -05:00
patrick.lafrance
47b2af47b3 Fix sorting 2019-11-17 22:45:03 -05:00
atanasster
3a8c16725f fix DescriptionSlot 2019-11-17 15:30:49 -08:00
atanasster
75be1c55fa Added descriptionSlot and slot to Description 2019-11-17 14:55:00 -08:00
atanasster
6f8509ec29 extract duplicated getDocsStories into utils.ts 2019-11-17 14:32:44 -08:00
atanasster
d22d3f6c1c refactor DocsPage blocks 2019-11-17 11:03:26 -08:00
Michael Shilman
98a018a8f4 Addon-docs: Replace storybook-addon-vue-info with vue-docgen-loader 2019-11-14 18:55:41 +08:00
Michael Shilman
67b83f492d Merge branch 'next' into docs/refactor-prop-def 2019-11-14 16:48:26 +08:00
Michael Shilman
9e6d32e7bb Merge branch 'next' into docs/refactor-prop-def 2019-11-14 16:23:44 +08:00
Michael Shilman
45a9d462dc Merge branch 'next' into 8793-deprecate-hierarchy-separators 2019-11-14 15:23:09 +08:00
Michael Shilman
7cbc4673d5 Addon-docs: Update web-components props to new format 2019-11-14 12:29:38 +08:00
Michael Shilman
87cddfe06c Merge branch 'next' into docs/refactor-prop-def 2019-11-14 10:13:36 +08:00
patrick.lafrance
af18108c82 Added tests for the docgen props extract function 2019-11-13 18:21:42 -05:00
patrick.lafrance
e77c5d0e08 More tests for the prop types enhancement 2019-11-13 17:47:05 -05:00
patrick.lafrance
278ad89bfa Added tests for the prop types enhancement 2019-11-13 17:04:04 -05:00
patrick.lafrance
615416439c Added a test structure for the prop types enhancers and updated the PropDef type and default structure to enforce the summary structure 2019-11-13 16:06:23 -05:00
patrick.lafrance
2fa47ed817 Fix internal functions naming 2019-11-13 12:02:56 -05:00
patrick.lafrance
0016449141 Renamed lib2 to lib 2019-11-13 11:19:32 -05:00
patrick.lafrance
6aa96bced8 PropRow now receive a data structure instead of a React component 2019-11-13 10:46:24 -05:00
Michael Shilman
3e5ab46e02 DocsPage: Add tests for showRoots behavior 2019-11-13 18:49:07 +08:00
patrick.lafrance
1db7e4321d Merge thing to the new utils 2019-11-12 20:45:33 -05:00