Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7dca478

Browse filesBrowse files
committed
docs: update content
1 parent 75a8a32 commit 7dca478
Copy full SHA for 7dca478

File tree

412 files changed

+11287
-5706
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner

412 files changed

+11287
-5706
lines changed

‎packages/docs/content/api/CAccordion.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CAccordion.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ This is ideal for scenarios where users need to view multiple sections at once w
4242
<tr id="caccordion-className">
4343
<td className="text-primary fw-semibold">className<a href="#caccordion-className" aria-label="CAccordion className permalink" className="anchor-link after">#</a></td>
4444
<td>undefined</td>
45-
<td><code>{`string`}</code>, <code>{`Partial\<{ ACCORDION: string; ACCORDION_FLUSH: string; }>`}</code></td>
45+
<td><code>{`string`}</code></td>
4646
</tr>
4747
<tr>
4848
<td colSpan="3">

‎packages/docs/content/api/CAlertHeading.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CAlertHeading.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const CustomHeading = React.forwardRef<HTMLDivElement, React.HTMLAttributes<HTML
4646
</td>
4747
</tr>
4848
<tr id="calertheading-customClassNames">
49-
<td className="text-primary fw-semibold">customClassNames<a href="#calertheading-customClassNames" aria-label="CAlertHeading customClassNames permalink" className="anchor-link after">#</a><span className="badge bg-success">v5.0.0+</span></td>
49+
<td className="text-primary fw-semibold">customClassNames<a href="#calertheading-customClassNames" aria-label="CAlertHeading customClassNames permalink" className="anchor-link after">#</a><span className="badge bg-success">v5.5.0+</span></td>
5050
<td>undefined</td>
5151
<td><code>{`Partial\<{ ALERT_HEADING: string; }>`}</code></td>
5252
</tr>

‎packages/docs/content/api/CAlertLink.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CAlertLink.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import CAlertLink from '@coreui/react/src/components/alert/CAlertLink'
2727
</td>
2828
</tr>
2929
<tr id="calertlink-customClassNames">
30-
<td className="text-primary fw-semibold">customClassNames<a href="#calertlink-customClassNames" aria-label="CAlertLink customClassNames permalink" className="anchor-link after">#</a><span className="badge bg-success">v5.0.0+</span></td>
30+
<td className="text-primary fw-semibold">customClassNames<a href="#calertlink-customClassNames" aria-label="CAlertLink customClassNames permalink" className="anchor-link after">#</a><span className="badge bg-success">v5.5.0+</span></td>
3131
<td>undefined</td>
3232
<td><code>{`Partial\<{ ALERT_LINK: string; }>`}</code></td>
3333
</tr>

‎packages/docs/content/api/CAvatar.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CAvatar.api.mdx
+21-7Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,55 +21,69 @@ import CAvatar from '@coreui/react/src/components/avatar/CAvatar'
2121
<td><code>{`string`}</code></td>
2222
</tr>
2323
<tr>
24-
<td colSpan="3">A string of all className you want applied to the component.</td>
24+
<td colSpan="3">
25+
<p>A string of all className you want applied to the component.</p>
26+
</td>
2527
</tr>
2628
<tr id="cavatar-color">
2729
<td className="text-primary fw-semibold">color<a href="#cavatar-color" aria-label="CAvatar color permalink" className="anchor-link after">#</a></td>
2830
<td>undefined</td>
2931
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`string`}</code></td>
3032
</tr>
3133
<tr>
32-
<td colSpan="3">Sets the color context of the component to one of CoreUI’s themed colors.</td>
34+
<td colSpan="3">
35+
<p>Sets the color context of the component to one of CoreUI’s themed colors.</p>
36+
</td>
3337
</tr>
3438
<tr id="cavatar-shape">
3539
<td className="text-primary fw-semibold">shape<a href="#cavatar-shape" aria-label="CAvatar shape permalink" className="anchor-link after">#</a></td>
3640
<td>undefined</td>
3741
<td><code>{`'rounded'`}</code>, <code>{`'rounded-top'`}</code>, <code>{`'rounded-end'`}</code>, <code>{`'rounded-bottom'`}</code>, <code>{`'rounded-start'`}</code>, <code>{`'rounded-circle'`}</code>, <code>{`'rounded-pill'`}</code>, <code>{`'rounded-0'`}</code>, <code>{`'rounded-1'`}</code>, <code>{`'rounded-2'`}</code>, <code>{`'rounded-3'`}</code>, <code>{`string`}</code></td>
3842
</tr>
3943
<tr>
40-
<td colSpan="3">Select the shape of the component.</td>
44+
<td colSpan="3">
45+
<p>Select the shape of the component.</p>
46+
</td>
4147
</tr>
4248
<tr id="cavatar-size">
4349
<td className="text-primary fw-semibold">size<a href="#cavatar-size" aria-label="CAvatar size permalink" className="anchor-link after">#</a></td>
4450
<td>undefined</td>
4551
<td><code>{`string`}</code></td>
4652
</tr>
4753
<tr>
48-
<td colSpan="3">Size the component small, large, or extra large.</td>
54+
<td colSpan="3">
55+
<p>Size the component small, large, or extra large.</p>
56+
</td>
4957
</tr>
5058
<tr id="cavatar-src">
5159
<td className="text-primary fw-semibold">src<a href="#cavatar-src" aria-label="CAvatar src permalink" className="anchor-link after">#</a></td>
5260
<td>undefined</td>
5361
<td><code>{`string`}</code></td>
5462
</tr>
5563
<tr>
56-
<td colSpan="3">The src attribute for the img element.</td>
64+
<td colSpan="3">
65+
<p>The src attribute for the img element.</p>
66+
</td>
5767
</tr>
5868
<tr id="cavatar-status">
5969
<td className="text-primary fw-semibold">status<a href="#cavatar-status" aria-label="CAvatar status permalink" className="anchor-link after">#</a></td>
6070
<td>undefined</td>
6171
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`string`}</code></td>
6272
</tr>
6373
<tr>
64-
<td colSpan="3">Sets the color context of the status indicator to one of CoreUI’s themed colors.</td>
74+
<td colSpan="3">
75+
<p>Sets the color context of the status indicator to one of CoreUI’s themed colors.</p>
76+
</td>
6577
</tr>
6678
<tr id="cavatar-textColor">
6779
<td className="text-primary fw-semibold">textColor<a href="#cavatar-textColor" aria-label="CAvatar textColor permalink" className="anchor-link after">#</a></td>
6880
<td>undefined</td>
6981
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`'primary-emphasis'`}</code>, <code>{`'secondary-emphasis'`}</code>, <code>{`'success-emphasis'`}</code>, <code>{`'danger-emphasis'`}</code>, <code>{`'warning-emphasis'`}</code>, <code>{`'info-emphasis'`}</code>, <code>{`'light-emphasis'`}</code>, <code>{`'body'`}</code>, <code>{`'body-emphasis'`}</code>, <code>{`'body-secondary'`}</code>, <code>{`'body-tertiary'`}</code>, <code>{`'black'`}</code>, <code>{`'black-50'`}</code>, <code>{`'white'`}</code>, <code>{`'white-50'`}</code>, <code>{`string`}</code></td>
7082
</tr>
7183
<tr>
72-
<td colSpan="3">Sets the text color of the component to one of CoreUI’s themed colors.</td>
84+
<td colSpan="3">
85+
<p>Sets the text color of the component to one of CoreUI’s themed colors.</p>
86+
</td>
7387
</tr>
7488
</tbody>
7589
</table>

‎packages/docs/content/api/CBackdrop.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CBackdrop.api.mdx
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,19 @@ import CBackdrop from '@coreui/react/src/components/backdrop/CBackdrop'
2121
<td><code>{`string`}</code></td>
2222
</tr>
2323
<tr>
24-
<td colSpan="3">A string of all className you want applied to the base component.</td>
24+
<td colSpan="3">
25+
<p>A string of all className you want applied to the base component.</p>
26+
</td>
2527
</tr>
2628
<tr id="cbackdrop-visible">
2729
<td className="text-primary fw-semibold">visible<a href="#cbackdrop-visible" aria-label="CBackdrop visible permalink" className="anchor-link after">#</a></td>
2830
<td>undefined</td>
2931
<td><code>{`boolean`}</code></td>
3032
</tr>
3133
<tr>
32-
<td colSpan="3">Toggle the visibility of modal component.</td>
34+
<td colSpan="3">
35+
<p>Toggle the visibility of modal component.</p>
36+
</td>
3337
</tr>
3438
</tbody>
3539
</table>

‎packages/docs/content/api/CBadge.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CBadge.api.mdx
+24-8Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,63 +21,79 @@ import CBadge from '@coreui/react/src/components/badge/CBadge'
2121
<td><code>{`(ElementType & "symbol")`}</code>, <code>{`(ElementType & "object")`}</code>, <code>{`(ElementType & "span")`}</code>, <code>{`(ElementType & "slot")`}</code>, <code>{`(ElementType & "style")`}</code>, <code>{`... 174 more ...`}</code>, <code>{`(ElementType & FunctionComponent\<...>)`}</code></td>
2222
</tr>
2323
<tr>
24-
<td colSpan="3">Component used for the root node. Either a string to use a HTML element or a component.</td>
24+
<td colSpan="3">
25+
<p>Component used for the root node. Either a string to use a HTML element or a component.</p>
26+
</td>
2527
</tr>
2628
<tr id="cbadge-className">
2729
<td className="text-primary fw-semibold">className<a href="#cbadge-className" aria-label="CBadge className permalink" className="anchor-link after">#</a></td>
2830
<td>undefined</td>
2931
<td><code>{`string`}</code></td>
3032
</tr>
3133
<tr>
32-
<td colSpan="3">A string of all className you want applied to the component.</td>
34+
<td colSpan="3">
35+
<p>A string of all className you want applied to the component.</p>
36+
</td>
3337
</tr>
3438
<tr id="cbadge-color">
3539
<td className="text-primary fw-semibold">color<a href="#cbadge-color" aria-label="CBadge color permalink" className="anchor-link after">#</a></td>
3640
<td>undefined</td>
3741
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`string`}</code></td>
3842
</tr>
3943
<tr>
40-
<td colSpan="3">Sets the color context of the component to one of CoreUI’s themed colors.</td>
44+
<td colSpan="3">
45+
<p>Sets the color context of the component to one of CoreUI’s themed colors.</p>
46+
</td>
4147
</tr>
4248
<tr id="cbadge-position">
4349
<td className="text-primary fw-semibold">position<a href="#cbadge-position" aria-label="CBadge position permalink" className="anchor-link after">#</a></td>
4450
<td>undefined</td>
4551
<td><code>{`"top-start"`}</code>, <code>{`"top-end"`}</code>, <code>{`"bottom-end"`}</code>, <code>{`"bottom-start"`}</code></td>
4652
</tr>
4753
<tr>
48-
<td colSpan="3">Position badge in one of the corners of a link or button.</td>
54+
<td colSpan="3">
55+
<p>Position badge in one of the corners of a link or button.</p>
56+
</td>
4957
</tr>
5058
<tr id="cbadge-shape">
5159
<td className="text-primary fw-semibold">shape<a href="#cbadge-shape" aria-label="CBadge shape permalink" className="anchor-link after">#</a></td>
5260
<td>undefined</td>
5361
<td><code>{`'rounded'`}</code>, <code>{`'rounded-top'`}</code>, <code>{`'rounded-end'`}</code>, <code>{`'rounded-bottom'`}</code>, <code>{`'rounded-start'`}</code>, <code>{`'rounded-circle'`}</code>, <code>{`'rounded-pill'`}</code>, <code>{`'rounded-0'`}</code>, <code>{`'rounded-1'`}</code>, <code>{`'rounded-2'`}</code>, <code>{`'rounded-3'`}</code>, <code>{`string`}</code></td>
5462
</tr>
5563
<tr>
56-
<td colSpan="3">Select the shape of the component.</td>
64+
<td colSpan="3">
65+
<p>Select the shape of the component.</p>
66+
</td>
5767
</tr>
5868
<tr id="cbadge-size">
5969
<td className="text-primary fw-semibold">size<a href="#cbadge-size" aria-label="CBadge size permalink" className="anchor-link after">#</a></td>
6070
<td>undefined</td>
6171
<td><code>{`"sm"`}</code></td>
6272
</tr>
6373
<tr>
64-
<td colSpan="3">Size the component small.</td>
74+
<td colSpan="3">
75+
<p>Size the component small.</p>
76+
</td>
6577
</tr>
6678
<tr id="cbadge-textBgColor">
6779
<td className="text-primary fw-semibold">textBgColor<a href="#cbadge-textBgColor" aria-label="CBadge textBgColor permalink" className="anchor-link after">#</a><span className="badge bg-success">5.0.0+</span></td>
6880
<td>undefined</td>
6981
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`string`}</code></td>
7082
</tr>
7183
<tr>
72-
<td colSpan="3">Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.</td>
84+
<td colSpan="3">
85+
<p>Sets the component's color scheme to one of CoreUI's themed colors, ensuring the text color contrast adheres to the WCAG 4.5:1 contrast ratio standard for accessibility.</p>
86+
</td>
7387
</tr>
7488
<tr id="cbadge-textColor">
7589
<td className="text-primary fw-semibold">textColor<a href="#cbadge-textColor" aria-label="CBadge textColor permalink" className="anchor-link after">#</a></td>
7690
<td>undefined</td>
7791
<td><code>{`'primary'`}</code>, <code>{`'secondary'`}</code>, <code>{`'success'`}</code>, <code>{`'danger'`}</code>, <code>{`'warning'`}</code>, <code>{`'info'`}</code>, <code>{`'dark'`}</code>, <code>{`'light'`}</code>, <code>{`'primary-emphasis'`}</code>, <code>{`'secondary-emphasis'`}</code>, <code>{`'success-emphasis'`}</code>, <code>{`'danger-emphasis'`}</code>, <code>{`'warning-emphasis'`}</code>, <code>{`'info-emphasis'`}</code>, <code>{`'light-emphasis'`}</code>, <code>{`'body'`}</code>, <code>{`'body-emphasis'`}</code>, <code>{`'body-secondary'`}</code>, <code>{`'body-tertiary'`}</code>, <code>{`'black'`}</code>, <code>{`'black-50'`}</code>, <code>{`'white'`}</code>, <code>{`'white-50'`}</code>, <code>{`string`}</code></td>
7892
</tr>
7993
<tr>
80-
<td colSpan="3">Sets the text color of the component to one of CoreUI’s themed colors.</td>
94+
<td colSpan="3">
95+
<p>Sets the text color of the component to one of CoreUI’s themed colors.</p>
96+
</td>
8197
</tr>
8298
</tbody>
8399
</table>

‎packages/docs/content/api/CBreadcrumb.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CBreadcrumb.api.mdx
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ import CBreadcrumb from '@coreui/react/src/components/breadcrumb/CBreadcrumb'
2121
<td><code>{`string`}</code></td>
2222
</tr>
2323
<tr>
24-
<td colSpan="3">A string of all className you want applied to the component.</td>
24+
<td colSpan="3">
25+
<p>A string of all className you want applied to the component.</p>
26+
</td>
2527
</tr>
2628
</tbody>
2729
</table>

‎packages/docs/content/api/CBreadcrumbItem.api.mdx

Copy file name to clipboardExpand all lines: packages/docs/content/api/CBreadcrumbItem.api.mdx
+12-4Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,31 +21,39 @@ import CBreadcrumbItem from '@coreui/react/src/components/breadcrumb/CBreadcrumb
2121
<td><code>{`boolean`}</code></td>
2222
</tr>
2323
<tr>
24-
<td colSpan="3">Toggle the active state for the component.</td>
24+
<td colSpan="3">
25+
<p>Toggle the active state for the component.</p>
26+
</td>
2527
</tr>
2628
<tr id="cbreadcrumbitem-as">
2729
<td className="text-primary fw-semibold">as<a href="#cbreadcrumbitem-as" aria-label="CBreadcrumbItem as permalink" className="anchor-link after">#</a><span className="badge bg-success">5.4.0+</span></td>
2830
<td>undefined</td>
2931
<td><code>{`(ElementType & "symbol")`}</code>, <code>{`(ElementType & "object")`}</code>, <code>{`(ElementType & "li")`}</code>, <code>{`(ElementType & "slot")`}</code>, <code>{`(ElementType & "style")`}</code>, <code>{`... 174 more ...`}</code>, <code>{`(ElementType & FunctionComponent\<...>)`}</code></td>
3032
</tr>
3133
<tr>
32-
<td colSpan="3">Component used for the root node. Either a string to use a HTML element or a component.</td>
34+
<td colSpan="3">
35+
<p>Component used for the root node. Either a string to use a HTML element or a component.</p>
36+
</td>
3337
</tr>
3438
<tr id="cbreadcrumbitem-className">
3539
<td className="text-primary fw-semibold">className<a href="#cbreadcrumbitem-className" aria-label="CBreadcrumbItem className permalink" className="anchor-link after">#</a></td>
3640
<td>undefined</td>
3741
<td><code>{`string`}</code></td>
3842
</tr>
3943
<tr>
40-
<td colSpan="3">A string of all className you want applied to the base component.</td>
44+
<td colSpan="3">
45+
<p>A string of all className you want applied to the base component.</p>
46+
</td>
4147
</tr>
4248
<tr id="cbreadcrumbitem-href">
4349
<td className="text-primary fw-semibold">href<a href="#cbreadcrumbitem-href" aria-label="CBreadcrumbItem href permalink" className="anchor-link after">#</a></td>
4450
<td>undefined</td>
4551
<td><code>{`string`}</code></td>
4652
</tr>
4753
<tr>
48-
<td colSpan="3">The <code>{`href`}</code> attribute for the inner <code>{`\<CLink>`}</code> component.</td>
54+
<td colSpan="3">
55+
<p>The <code>{`href`}</code> attribute for the inner <code>{`&lt;CLink&gt;`}</code> component.</p>
56+
</td>
4957
</tr>
5058
</tbody>
5159
</table>

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.