Skip to content

Commit 9f310bb

Browse files
committed
build: add .prettierc for docgen cli
1 parent 4918093 commit 9f310bb

File tree

4 files changed

+19
-8
lines changed

4 files changed

+19
-8
lines changed

packages/docs/.prettierrc

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"semi": false,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 2
7+
8+
}

packages/docs/api/accordion/CAccordionItem.api.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import CAccordionItem from '@coreui/vue/src/components/accordion/CAccordionItem'
88

99
#### Props
1010

11-
| Prop name | Description | Type | Values | Default |
12-
| ------------ | ------------- | -------------- | ------ | ------- |
13-
| **item-key** | The item key. | number\|string | - | - |
11+
| Prop name | Description | Type | Values | Default |
12+
| ------------ | --------------------------------------------------------------------------------------------- | -------------- | ------ | ------- |
13+
| **id** | The id global attribute defines an identifier (ID) that must be unique in the whole document. | string | - | - |
14+
| **item-key** | The item key. | number\|string | - | - |

packages/docs/api/form/CFormControlWrapper.api.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ import CFormControlWrapper from '@coreui/vue/src/components/form/CFormControlWra
88

99
#### Props
1010

11-
| Prop name | Description | Type | Values | Default |
12-
| ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------ | ------- |
13-
| **floating-label** <br><div class="badge bg-primary">4.3.0+</div> | Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`. | string | - | - |
14-
| **label** <br><div class="badge bg-primary">4.3.0+</div> | Add a caption for a component. | string | - | - |
15-
| **text** <br><div class="badge bg-primary">4.3.0+</div> | Add helper text to the component. | string | - | - |
11+
| Prop name | Description | Type | Values | Default |
12+
| ---------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | ------ | ------- |
13+
| **floating-class-name** <br><div class="badge bg-primary">5.5.0+</div> | A string of all className you want applied to the floating label wrapper. | string | - | - |
14+
| **floating-label** <br><div class="badge bg-primary">4.3.0+</div> | Provide valuable, actionable valid feedback when using standard HTML form validation which applied two CSS pseudo-classes, `:invalid` and `:valid`. | string | - | - |
15+
| **label** <br><div class="badge bg-primary">4.3.0+</div> | Add a caption for a component. | string | - | - |
16+
| **text** <br><div class="badge bg-primary">4.3.0+</div> | Add helper text to the component. | string | - | - |

packages/docs/api/nav/CNavItem.api.md

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ import CNavItem from '@coreui/vue/src/components/nav/CNavItem'
1212
| ------------ | --------------------------------------------------------------------------------------- | ------- | ------ | ------- |
1313
| **active** | Toggle the active state for the component. | boolean | - | - |
1414
| **as** | Component used for the root node. Either a string to use a HTML element or a component. | string | - | 'li' |
15+
| **class** | A string of all className you want applied to the component. | string | - | - |
1516
| **disabled** | Toggle the disabled state for the component. | boolean | - | - |

0 commit comments

Comments
 (0)