Skip to content

Navigation Menu

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 1888df5

Browse filesBrowse files
committed
release: v5.0.0
1 parent 8c1ad99 commit 1888df5
Copy full SHA for 1888df5

21 files changed

+21
-21
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
Several quick start options are available:
4848

49-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0-rc.3.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0.zip)
5050
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
5151
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
5252
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

‎lerna.json

Copy file name to clipboard
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"npmClient": "yarn",
33
"packages": ["packages/*"],
4-
"version": "5.0.0-rc.3",
4+
"version": "5.0.0",
55
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
66
}

‎packages/coreui-react/README.md

Copy file name to clipboardExpand all lines: packages/coreui-react/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
Several quick start options are available:
4848

49-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0-rc.3.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0.zip)
5050
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
5151
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
5252
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

‎packages/coreui-react/package.json

Copy file name to clipboardExpand all lines: packages/coreui-react/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "5.0.0-rc.3",
3+
"version": "5.0.0",
44
"description": "UI Components Library for React.js",
55
"keywords": [
66
"react",

‎packages/coreui-react/src/components/badge/CBadge.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/badge/CBadge.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export interface CBadgeProps extends HTMLAttributes<HTMLDivElement | HTMLSpanEle
3939
* 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.
4040
*
4141
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
42-
* @since 5.0.0-rc.3
42+
* @since 5.0.0
4343
*/
4444
textBgColor?: Colors
4545
/**

‎packages/coreui-react/src/components/card/CCard.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/card/CCard.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface CCardProps extends HTMLAttributes<HTMLDivElement> {
2626
* 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.
2727
*
2828
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
29-
* @since 5.0.0-rc.3
29+
* @since 5.0.0
3030
*/
3131
textBgColor?: Colors
3232
}

‎packages/coreui-react/src/components/dropdown/CDropdownToggle.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/dropdown/CDropdownToggle.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface CDropdownToggleProps extends Omit<CButtonProps, 'type'> {
2121
/**
2222
* If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
2323
*
24-
* @since v5.0.0-rc.3
24+
* @since v5.0.0
2525
*/
2626
navLink?: boolean
2727
/**

‎packages/coreui-react/src/components/nav/CNavGroup.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/nav/CNavGroup.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export interface CNavGroupProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
2222
/**
2323
* Component used for the root node. Either a string to use a HTML element or a component.
2424
*
25-
* @since 5.0.0-rc.3
25+
* @since 5.0.0
2626
*/
2727
as?: ElementType
2828
/**

‎packages/coreui-react/src/components/nav/CNavGroupItems.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/nav/CNavGroupItems.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface CNavGroupItemsProps extends HTMLAttributes<HTMLDivElement | HTM
88
/**
99
* Component used for the root node. Either a string to use a HTML element or a component.
1010
*
11-
* @since 5.0.0-rc.3
11+
* @since 5.0.0
1212
*/
1313
as?: ElementType
1414
/**

‎packages/coreui-react/src/components/nav/CNavItem.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/nav/CNavItem.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export interface CNavItemProps extends Omit<CNavLinkProps, 'component'> {
1010
/**
1111
* Component used for the root node. Either a string to use a HTML element or a component.
1212
*
13-
* @since 5.0.0-rc.3
13+
* @since 5.0.0
1414
*/
1515
as?: ElementType
1616
}

‎packages/coreui-react/src/components/sidebar/CSidebarBrand.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/sidebar/CSidebarBrand.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface CSidebarBrandProps extends HTMLAttributes<HTMLAnchorElement | H
88
/**
99
* Component used for the root node. Either a string to use a HTML element or a component.
1010
*
11-
* @since 5.0.0-rc.3
11+
* @since 5.0.0
1212
*/
1313
as?: ElementType
1414
/**

‎packages/coreui-react/src/components/sidebar/CSidebarNav.tsx

Copy file name to clipboardExpand all lines: packages/coreui-react/src/components/sidebar/CSidebarNav.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export interface CSidebarNavProps extends HTMLAttributes<HTMLUListElement> {
1616
/**
1717
* Component used for the root node. Either a string to use a HTML element or a component.
1818
*
19-
* @since 5.0.0-rc.3
19+
* @since 5.0.0
2020
*/
2121
as?: ElementType
2222
/**

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CBadge.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ import CBadge from '@coreui/react/src/components/badge/CBadge'
1313
| **position** | Position badge in one of the corners of a link or button. | `'top-start'` \| `'top-end'` \| `'bottom-end'` \| `'bottom-start'` | - |
1414
| **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` | - |
1515
| **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` | - |
1717
| **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` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CCard.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ import CCard from '@coreui/react/src/components/card/CCard'
99
| --- | --- | --- | --- |
1010
| **className** | A string of all className you want applied to the base component. | `string` | - |
1111
| **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` | - |
1313
| **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` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CDropdownToggle.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import CDropdownToggle from '@coreui/react/src/components/dropdown/CDropdownTogg
1515
| **custom** | Create a custom toggler which accepts any content. | `boolean` | - |
1616
| **disabled** | Toggle the disabled state for the component. | `boolean` | - |
1717
| **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 |
1919
| **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` | - |
2020
| **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` | - |
2121
| **size** | Size the component small or large. | `'sm'` \| `'lg'` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavGroup.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import CNavGroup from '@coreui/react/src/components/nav/CNavGroup'
77

88
| Property | Description | Type | Default |
99
| --- | --- | --- | --- |
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<...>)` | - |
1111
| **className** | A string of all className you want applied to the component. | `string` | - |
1212
| **compact** | Make nav group more compact by cutting all `padding` in half. | `boolean` | - |
1313
| **toggler** | Set group toggler label. | `ReactNode` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavGroupItems.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import CNavGroupItems from '@coreui/react/src/components/nav/CNavGroupItems'
77

88
| Property | Description | Type | Default |
99
| --- | --- | --- | --- |
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<...>)` | - |
1111
| **className** | A string of all className you want applied to the component. | `string` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CNavItem.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import CNavItem from '@coreui/react/src/components/nav/CNavItem'
88
| Property | Description | Type | Default |
99
| --- | --- | --- | --- |
1010
| **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<...>)` | - |
1212
| **className** | A string of all className you want applied to the component. | `string` | - |
1313
| **disabled** | Toggle the disabled state for the component. | `boolean` | - |
1414
| **href** | The href attribute specifies the URL of the page the link goes to. | `string` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CSidebarBrand.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import CSidebarBrand from '@coreui/react/src/components/sidebar/CSidebarBrand'
77

88
| Property | Description | Type | Default |
99
| --- | --- | --- | --- |
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<...>)` | - |
1111
| **className** | A string of all className you want applied to the component. | `string` | - |

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

Copy file name to clipboardExpand all lines: packages/docs/content/api/CSidebarNav.api.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ import CSidebarNav from '@coreui/react/src/components/sidebar/CSidebarNav'
77

88
| Property | Description | Type | Default |
99
| --- | --- | --- | --- |
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<...>)` | - |
1111
| **className** | A string of all className you want applied to the component. | `string` | - |

‎packages/docs/package.json

Copy file name to clipboardExpand all lines: packages/docs/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react-docs",
3-
"version": "5.0.0-rc.3",
3+
"version": "5.0.0",
44
"private": true,
55
"description": "",
66
"homepage": "https://coreui.io/react/",

0 commit comments

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