You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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.
* 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.
Copy file name to clipboardExpand all lines: packages/docs/content/api/CBadge.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,5 +13,5 @@ import CBadge from '@coreui/react/src/components/badge/CBadge'
13
13
|**position**| Position badge in one of the corners of a link or button. |`'top-start'`\|`'top-end'`\|`'bottom-end'`\|`'bottom-start'`| - |
14
14
|**shape**| Select the shape of the component. |`'rounded'`\|`'rounded-top'`\|`'rounded-end'`\|`'rounded-bottom'`\|`'rounded-start'`\|`'rounded-circle'`\|`'rounded-pill'`\|`'rounded-0'`\|`'rounded-1'`\|`'rounded-2'`\|`'rounded-3'`\|`string`| - |
15
15
|**size**| Size the component small. |`'sm'`| - |
16
-
|**textBgColor****_5.0.0-rc.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. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
16
+
|**textBgColor****_5.0.0+_**| 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. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
17
17
|**textColor**| Sets the text color of the component to one of CoreUI’s themed colors. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`'primary-emphasis'`\|`'secondary-emphasis'`\|`'success-emphasis'`\|`'danger-emphasis'`\|`'warning-emphasis'`\|`'info-emphasis'`\|`'light-emphasis'`\|`'body'`\|`'body-emphasis'`\|`'body-secondary'`\|`'body-tertiary'`\|`'black'`\|`'black-50'`\|`'white'`\|`'white-50'`\|`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CCard.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -9,5 +9,5 @@ import CCard from '@coreui/react/src/components/card/CCard'
9
9
| --- | --- | --- | --- |
10
10
|**className**| A string of all className you want applied to the base component. |`string`| - |
11
11
|**color**| Sets the color context of the component to one of CoreUI’s themed colors. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
12
-
|**textBgColor****_5.0.0-rc.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. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
12
+
|**textBgColor****_5.0.0+_**| 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. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`string`| - |
13
13
|**textColor**| Sets the text color context of the component to one of CoreUI’s themed colors. |`'primary'`\|`'secondary'`\|`'success'`\|`'danger'`\|`'warning'`\|`'info'`\|`'dark'`\|`'light'`\|`'primary-emphasis'`\|`'secondary-emphasis'`\|`'success-emphasis'`\|`'danger-emphasis'`\|`'warning-emphasis'`\|`'info-emphasis'`\|`'light-emphasis'`\|`'body'`\|`'body-emphasis'`\|`'body-secondary'`\|`'body-tertiary'`\|`'black'`\|`'black-50'`\|`'white'`\|`'white-50'`\|`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownToggle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ import CDropdownToggle from '@coreui/react/src/components/dropdown/CDropdownTogg
15
15
|**custom**| Create a custom toggler which accepts any content. |`boolean`| - |
16
16
|**disabled**| Toggle the disabled state for the component. |`boolean`| - |
17
17
|**href**| The href attribute specifies the URL of the page the link goes to. |`string`| - |
18
-
|**navLink****_v5.0.0-rc.3+_**| If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. |`boolean`| true |
18
+
|**navLink****_v5.0.0+_**| If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. |`boolean`| true |
19
19
|**role**| The role attribute describes the role of an element in programs that can make use of it, such as screen readers or magnifiers. |`string`| - |
20
20
|**shape**| Select the shape of the component. |`'rounded'`\|`'rounded-top'`\|`'rounded-end'`\|`'rounded-bottom'`\|`'rounded-start'`\|`'rounded-circle'`\|`'rounded-pill'`\|`'rounded-0'`\|`'rounded-1'`\|`'rounded-2'`\|`'rounded-3'`\|`string`| - |
21
21
|**size**| Size the component small or large. |`'sm'`\|`'lg'`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavGroup.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ import CNavGroup from '@coreui/react/src/components/nav/CNavGroup'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as****_5.0.0-rc.3+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'li')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as****_5.0.0+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'li')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
12
12
|**compact**| Make nav group more compact by cutting all `padding` in half. |`boolean`| - |
13
13
|**toggler**| Set group toggler label. |`ReactNode`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavGroupItems.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CNavGroupItems from '@coreui/react/src/components/nav/CNavGroupItems'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as****_5.0.0-rc.3+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as****_5.0.0+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavItem.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ import CNavItem from '@coreui/react/src/components/nav/CNavItem'
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
10
|**active**| Toggle the active state for the component. |`boolean`| - |
11
-
|**as****_5.0.0-rc.3+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'li')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
+
|**as****_5.0.0+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'li')`\|`(ElementType & 'cite')`\|`(ElementType & 'data')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
12
12
|**className**| A string of all className you want applied to the component. |`string`| - |
13
13
|**disabled**| Toggle the disabled state for the component. |`boolean`| - |
14
14
|**href**| The href attribute specifies the URL of the page the link goes to. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CSidebarBrand.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CSidebarBrand from '@coreui/react/src/components/sidebar/CSidebarBrand'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as****_5.0.0-rc.3+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as****_5.0.0+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'a')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
Copy file name to clipboardExpand all lines: packages/docs/content/api/CSidebarNav.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,5 +7,5 @@ import CSidebarNav from '@coreui/react/src/components/sidebar/CSidebarNav'
7
7
8
8
| Property | Description | Type | Default |
9
9
| --- | --- | --- | --- |
10
-
|**as****_5.0.0-rc.3+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
10
+
|**as****_5.0.0+_**| Component used for the root node. Either a string to use a HTML element or a component. |`(ElementType & 'symbol')`\|`(ElementType & 'object')`\|`(ElementType & 'ul')`\|`(ElementType & 'slot')`\|`(ElementType & 'style')`\|`... 174 more ...`\|`(ElementType & FunctionComponent<...>)`| - |
11
11
|**className**| A string of all className you want applied to the component. |`string`| - |
0 commit comments