Skip to content

Commit 1a49dda

Browse files
committed
release: v5.0.0-beta.0
1 parent a80ad40 commit 1a49dda

File tree

11 files changed

+12
-9
lines changed

11 files changed

+12
-9
lines changed

README.md

+1-1
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-alpha.3.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0-beta.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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"npmClient": "yarn",
33
"packages": ["packages/*"],
4-
"version": "5.0.0-alpha.3",
4+
"version": "5.0.0-beta.0",
55
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
66
}

packages/coreui-react/README.md

+1-1
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-alpha.3.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0-beta.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

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "5.0.0-alpha.3",
3+
"version": "5.0.0-beta.0",
44
"description": "UI Components Library for React.js",
55
"keywords": [
66
"react",
@@ -41,6 +41,7 @@
4141
"test:update": "jest --coverage --updateSnapshot"
4242
},
4343
"devDependencies": {
44+
"@coreui/coreui": "^5.0.0-beta.0",
4445
"@popperjs/core": "^2.11.8",
4546
"@rollup/plugin-commonjs": "^25.0.7",
4647
"@rollup/plugin-node-resolve": "^15.2.3",

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

+1-1
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-alpha.3
24+
* @since v5.0.0-beta.0
2525
*/
2626
navLink?: boolean
2727
/**

packages/docs/content/api/CChart.api.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import CChart from '@coreui/react-chartjs/src/CChart'
99
| --- | --- | --- | --- |
1010
| **className** | A string of all className you want applied to the base component. | `string` | - |
1111
| **customTooltips** | Enables custom html based tooltips instead of standard tooltips. | `boolean` | true |
12-
| **data** | The data object that is passed into the Chart.js chart (more info). | `ChartData<keyof ChartTypeRegistry, (number` \| `ScatterDataPoint` \| `BubbleDataPoint)[], unknown>` \| `((canvas: HTMLCanvasElement) => ChartData<...>)` | - |
12+
| **data** | The data object that is passed into the Chart.js chart (more info). | `ChartData<keyof ChartTypeRegistry, (number` \| `[number, number]` \| `Point` \| `BubbleDataPoint)[], unknown>` \| `((canvas: HTMLCanvasElement) => ChartData<...>)` | - |
1313
| **fallbackContent** | A fallback for when the canvas cannot be rendered. Can be used for accessible chart descriptions. | `React.ReactNode` | - |
1414
| **getDatasetAtEvent** | Proxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event. | `(dataset: InteractionItem[], event: React.MouseEvent<HTMLCanvasElement>) => void` | - |
1515
| **getElementAtEvent** | Proxy for Chart.js getElementAtEvent. Calls with single element array and triggering event. | `(element: InteractionItem[], event: React.MouseEvent<HTMLCanvasElement>) => void` | - |

packages/docs/content/api/CCharts.api.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import CChartBar from '@coreui/react-chartjs/src/CCharts'
99
| --- | --- | --- | --- |
1010
| **className** | A string of all className you want applied to the base component. | `string` | - |
1111
| **customTooltips** | Enables custom html based tooltips instead of standard tooltips. | `boolean` | true |
12-
| **data** | The data object that is passed into the Chart.js chart (more info). | `ChartData<keyof ChartTypeRegistry, (number` \| `ScatterDataPoint` \| `BubbleDataPoint)[], unknown>` \| `((canvas: HTMLCanvasElement) => ChartData<...>)` | - |
12+
| **data** | The data object that is passed into the Chart.js chart (more info). | `ChartData<keyof ChartTypeRegistry, (number` \| `[number, number]` \| `Point` \| `BubbleDataPoint)[], unknown>` \| `((canvas: HTMLCanvasElement) => ChartData<...>)` | - |
1313
| **fallbackContent** | A fallback for when the canvas cannot be rendered. Can be used for accessible chart descriptions. | `React.ReactNode` | - |
1414
| **getDatasetAtEvent** | Proxy for Chart.js getDatasetAtEvent. Calls with dataset and triggering event. | `(dataset: InteractionItem[], event: React.MouseEvent<HTMLCanvasElement>) => void` | - |
1515
| **getElementAtEvent** | Proxy for Chart.js getElementAtEvent. Calls with single element array and triggering event. | `(element: InteractionItem[], event: React.MouseEvent<HTMLCanvasElement>) => void` | - |

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

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +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-beta.0+_** | If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button. | `boolean` | true |
1819
| **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` | - |
1920
| **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` | - |
2021
| **size** | Size the component small or large. | `'sm'` \| `'lg'` | - |

packages/docs/content/api/CIcon.api.mdx

+1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ import CIcon from '@coreui/icons-react/src/CIcon'
1616
| **size** | Size of the icon. Available sizes: 'sm', 'lg', 'xl', 'xxl', '3xl...9xl', 'custom', 'custom-size'. | `'custom'` \| `'custom-size'` \| `'sm'` \| `'lg'` \| `'xl'` \| `'xxl'` \| `'3xl'` \| `'4xl'` \| `'5xl'` \| `'6xl'` \| `'7xl'` \| `'8xl'` \| `'9xl'` | - |
1717
| **title** | Title tag content. | `string` | - |
1818
| **use** | If defined component will be rendered using 'use' tag. | `string` | - |
19+
| **viewBox** | The viewBox attribute defines the position and dimension of an SVG viewport. | `string` | - |
1920
| **width** | The width attribute defines the horizontal length of an icon. | `number` | - |

packages/docs/content/api/CNav.api.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ import CNav from '@coreui/react/src/components/nav/CNav'
1010
| **className** | A string of all className you want applied to the base component. | `string` | - |
1111
| **component** | Component used for the root node. Either a string to use a HTML element or a component. | `string` \| `ComponentClass<any, any>` \| `FunctionComponent<any>` | - |
1212
| **layout** | Specify a layout type for component. | `'fill'` \| `'justified'` | - |
13-
| **variant** | Set the nav variant to tabs or pills. | `'pills'` \| `'tabs'` \| `'underline'` | - |
13+
| **variant** | Set the nav variant to tabs or pills. | `'pills'` \| `'tabs'` \| `'underline'` \| `'underline-border'` | - |

packages/docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react-docs",
3-
"version": "5.0.0-alpha.3",
3+
"version": "5.0.0-beta.0",
44
"private": true,
55
"description": "",
66
"homepage": "https://coreui.io/react/",

0 commit comments

Comments
 (0)