Skip to content

Commit

Permalink
release: v5.0.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Mar 10, 2024
1 parent 4425cd4 commit 95cf2c7
Show file tree
Hide file tree
Showing 18 changed files with 21 additions and 21 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.1.zip)
- [Download the latest release](https://github.com/coreui/coreui-vue/archive/v5.0.0-rc.2.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.1",
"version": "5.0.0-rc.2",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
4 changes: 2 additions & 2 deletions 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.1",
"version": "5.0.0-rc.2",
"description": "UI Components Library for Vue.js",
"keywords": [
"vue",
Expand Down Expand Up @@ -41,7 +41,7 @@
"test:update": "jest --coverage --updateSnapshot"
},
"dependencies": {
"@coreui/coreui": "^5.0.0-rc.1",
"@coreui/coreui": "^5.0.0-rc.2",
"@popperjs/core": "^2.11.8"
},
"devDependencies": {
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
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.1
* @since 5.0.0-rc.2
*/
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.1
* @since v5.0.0-rc.2
*/
container: {
type: [Object, String] as PropType<HTMLElement | (() => HTMLElement) | string>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ import CConditionalTeleport from '@coreui/vue/src/components/conditional-telepor

| Prop name | Description | Type | Values | Default |
| ------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------- | -------------------------------------------- | ------ | ------- |
| **container** <br><div class="badge bg-primary">v5.0.0-rc.1+</div> | An HTML element or function that returns a single element, with `document.body` as the default. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
| **container** <br><div class="badge bg-primary">v5.0.0-rc.2+</div> | An HTML element or function that returns a single element, with `document.body` as the default. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
| **teleport** | Render some children into a different part of the DOM | boolean | - | true |
4 changes: 2 additions & 2 deletions packages/docs/api/dropdown/CDropdown.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ import CDropdown from '@coreui/vue/src/components/dropdown/CDropdown'
| ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
| **alignment** | Set aligment of dropdown menu. | string \| Alignments | `{ 'start' \| 'end' \| { xs: 'start' \| 'end' } \| { sm: 'start' \| 'end' } \| { md: 'start' \| 'end' } \| { lg: 'start' \| 'end' } \| { xl: 'start' \| 'end'} \| { xxl: 'start' \| 'end'} }` | - |
| **auto-close** | Configure the auto close behavior of the dropdown:<br>- `true` - the dropdown will be closed by clicking outside or inside the dropdown menu.<br>- `false` - the dropdown will be closed by clicking the toggle button and manually calling hide or toggle method. (Also will not be closed by pressing esc key)<br>- `'inside'` - the dropdown will be closed (only) by clicking inside the dropdown menu.<br>- `'outside'` - the dropdown will be closed (only) by clicking outside the dropdown menu. | boolean\|string | - | true |
| **container** <br><div class="badge bg-primary">v5.0.0-rc.1+</div> | 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`. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
| **container** <br><div class="badge bg-primary">v5.0.0-rc.2+</div> | 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`. | HTMLElement \| (() => HTMLElement) \| string | - | 'body' |
| **dark** | Sets a darker color scheme to match a dark navbar. | boolean | - | - |
| **direction** | Sets a specified direction and location of the dropdown menu. | string | `'center'`, `'dropup'`, `'dropup-center'`, `'dropend'`, `'dropstart'` | - |
| **disabled** | Toggle the disabled state for the component. | boolean | - | - |
| **offset** <br><div class="badge bg-primary">4.9.0+</div> | Offset of the dropdown menu relative to its target. | array | - | [0, 2] |
| **placement** | Describes the placement of your component after Popper.js has applied all the modifiers that may have flipped or altered the originally provided placement property. | Placement | `'auto'`, `'top-end'`, `'top'`, `'top-start'`, `'bottom-end'`, `'bottom'`, `'bottom-start'`, `'right-start'`, `'right'`, `'right-end'`, `'left-start'`, `'left'`, `'left-end'` | 'bottom-start' |
| **popper** | If you want to disable dynamic positioning set this property to `true`. | boolean | - | true |
| **teleport** <br><div class="badge bg-primary">v5.0.0-rc.1+</div> | Generates dropdown menu using Teleport. | boolean | - | false |
| **teleport** <br><div class="badge bg-primary">v5.0.0-rc.2+</div> | Generates dropdown menu using Teleport. | boolean | - | false |
| **trigger** | Sets which event handlers you’d like provided to your toggle prop. You can specify one trigger or an array of them. | Triggers | - | 'click' |
| **variant** | Set the dropdown variant to an btn-group, dropdown, input-group, and nav-item. | string | `'btn-group'`, `'dropdown'`, `'input-group'`, `'nav-item'` | 'btn-group' |
| **visible** | Toggle the visibility of dropdown menu component. | boolean | - | - |
Expand Down
Loading

0 comments on commit 95cf2c7

Please sign in to comment.