support hide dependency and codeOnly dependency (#20)

* add custom doc

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* add custom doc

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* add custom doc

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* add custom doc

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* refactor docs

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* allow hidden dependency

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* support sample code write to project root

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* spell fix

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* spell fix

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* allow hidden dependency

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* support sample code write to project root

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* add codeOnly depencencies proeprty of dependency

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* support codeonly dependency

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* hide group

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* support dependency of dependency

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* bugfix && page label update

Signed-off-by: theonefx <chenxilzx1@gmail.com>

* misspelling

Signed-off-by: theonefx <chenxilzx1@gmail.com>

Signed-off-by: theonefx <chenxilzx1@gmail.com>
This commit is contained in:
TheoneFx
2022-12-15 20:09:05 +08:00
committed by GitHub
parent 5545232a02
commit e2be410267
24 changed files with 417 additions and 318 deletions

View File

@@ -276,7 +276,7 @@ export default function Application() {
}}
/>
</Control>
<Control text='组件依赖' variant={tab === 'quicksearch' ? 'xl' : 'xxl'}>
<Control text='组件与示例' variant={tab === 'quicksearch' ? 'xl' : 'xxl'}>
<Tabs
changeTab={newTab => {
if (

View File

@@ -29,7 +29,7 @@ export default function Loading() {
</div>
</div>
</Control>
<Control text='组件依赖'>
<Control text='组件与示例'>
<Placeholder type='tabs' count={2} />
</Control>
<Footer>