Skip to content

Commit

Permalink
release: v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Mar 28, 2024
1 parent d4d4ad9 commit 9802ae6
Show file tree
Hide file tree
Showing 22 changed files with 84 additions and 84 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

Several quick start options are available:

- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v5.0.0-rc.3.zip)
- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v5.0.0.zip)
- Clone the repo: `git clone https://github.com/coreui/coreui-vue.git`
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/vue`
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/vue`
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"npmClient": "yarn",
"packages": ["packages/*"],
"version": "5.0.0-rc.3",
"version": "5.0.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
2 changes: 1 addition & 1 deletion packages/coreui-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coreui/vue",
"version": "5.0.0-rc.3",
"version": "5.0.0",
"description": "UI Components Library for Vue.js",
"keywords": [
"vue",
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/badge/CBadge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const CBadge = defineComponent({
* 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.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
* @since 5.0.0-rc.3
* @since 5.0.0
*/
textBgColor: Color,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/card/CCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const CCard = defineComponent({
* 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.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light'
* @since 5.0.0-rc.3
* @since 5.0.0
*/
textBgColor: Color,
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const CConditionalTeleport = defineComponent({
/**
* An HTML element or function that returns a single element, with `document.body` as the default.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
container: {
type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
Expand Down
4 changes: 2 additions & 2 deletions packages/coreui-vue/src/components/dropdown/CDropdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const CDropdown = defineComponent({
/**
* Appends the vue dropdown menu to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
container: {
type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
Expand Down Expand Up @@ -115,7 +115,7 @@ const CDropdown = defineComponent({
/**
* Generates dropdown menu using Teleport.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
teleport: {
type: Boolean,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const CDropdownToggle = defineComponent({
/**
* If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
navLink: {
type: Boolean,
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/modal/CModal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const CModal = defineComponent({
/**
* Puts the focus on the modal when shown.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
focus: {
type: Boolean,
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/popover/CPopover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CPopover = defineComponent({
/**
* Appends the vue popover to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
container: {
type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/progress/CProgress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CProgress = defineComponent({
/**
* A string of all className you want applied to the <CProgressBar/> component.
*
* @since 5.0.0-rc.3
* @since 5.0.0
*/
progressBarClassName: String,
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/coreui-vue/src/components/tooltip/CTooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const CTooltip = defineComponent({
/**
* Appends the vue tooltip to a specific element. You can pass an HTML element or function that returns a single element. By default `document.body`.
*
* @since v5.0.0-rc.3
* @since v5.0.0
*/
container: {
type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
Expand Down
18 changes: 9 additions & 9 deletions packages/docs/api/badge/CBadge.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import CBadge from '@coreui/vue/src/components/badge/CBadge'

#### Props

| Prop name | Description | Type | Values | Default |
| --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **as** | Component used for the root node. Either a string to use a HTML element or a component. | string | - | 'span' |
| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | - |
| **position** | Position badge in one of the corners of a link or button. | string | `'top-start'`, `'top-end'`, `'bottom-end'`, `'bottom-start'` | - |
| **shape** | Select the shape of the component. | string | `'rounded'`, `'rounded-top'`, `'rounded-end'`, `'rounded-bottom'`, `'rounded-start'`, `'rounded-circle'`, `'rounded-pill'`, `'rounded-0'`, `'rounded-1'`, `'rounded-2'`, `'rounded-3'` | - |
| **size** | Size the component small. | string | `'sm'` | - |
| **text-bg-color** <br><div class="badge bg-primary">5.0.0-rc.3+</div> | 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. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | - |
| **text-color** | Sets the text color of the component to one of CoreUI’s themed colors. | string | `'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'` | - |
| Prop name | Description | Type | Values | Default |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| **as** | Component used for the root node. Either a string to use a HTML element or a component. | string | - | 'span' |
| **color** | Sets the color context of the component to one of CoreUI’s themed colors. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | - |
| **position** | Position badge in one of the corners of a link or button. | string | `'top-start'`, `'top-end'`, `'bottom-end'`, `'bottom-start'` | - |
| **shape** | Select the shape of the component. | string | `'rounded'`, `'rounded-top'`, `'rounded-end'`, `'rounded-bottom'`, `'rounded-start'`, `'rounded-circle'`, `'rounded-pill'`, `'rounded-0'`, `'rounded-1'`, `'rounded-2'`, `'rounded-3'` | - |
| **size** | Size the component small. | string | `'sm'` | - |
| **text-bg-color** <br><div class="badge bg-primary">5.0.0+</div> | 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. | string | `'primary'`, `'secondary'`, `'success'`, `'danger'`, `'warning'`, `'info'`, `'dark'`, `'light'` | - |
| **text-color** | Sets the text color of the component to one of CoreUI’s themed colors. | string | `'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'` | - |
Loading

0 comments on commit 9802ae6

Please sign in to comment.