Skip to content

Commit ce0244c

Browse files
committed
docs: update content
1 parent 2af4eb2 commit ce0244c

File tree

3 files changed

+44
-1
lines changed

3 files changed

+44
-1
lines changed

packages/docs/.vuepress/config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,10 @@ export default defineUserConfig({
377377
text: 'v4',
378378
link: '/migration/v4.html',
379379
},
380+
{
381+
text: 'v5',
382+
link: '/migration/v5.html',
383+
},
380384
],
381385
},
382386
],

packages/docs/migration/v4.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Migration to v4
33
description: Track and review changes to the CoreUI for Vue.js components to help you migrate from v3 to v4.
44
---
55

6-
CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also [CoreUI 3 to 4 migration guide](https://coreui.io/docs/4.0/migration/).
6+
CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also [CoreUI 3 to 4 migration guide](https://coreui.io/docs/migration/v4/).
77

88
## Components
99

packages/docs/migration/v5.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Migration to v5
3+
description: Track and review changes to the CoreUI for Vue.js components to help you migrate from v4 to v5.
4+
---
5+
6+
CoreUI for Vue is the Vue.js version of CoreUI components library, so before read this migration guide, please check also [CoreUI 4 to 5 migration guide](https://coreui.io/docs/migration/v5/).
7+
8+
## Components
9+
10+
### CAvatar
11+
12+
- Deprecated `textColor` values: `muted`, `high-emphasis`, `medium-emphasis`, `disabled`, `high-emphasis-inverse`, `medium-emphasis-inverse`, `disabled-inverse`.
13+
- New `textColor` values: `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`.
14+
15+
### CBadge
16+
17+
- Deprecated `textColor` values: `muted`, `high-emphasis`, `medium-emphasis`, `disabled`, `high-emphasis-inverse`, `medium-emphasis-inverse`, `disabled-inverse`.
18+
- New `textColor` values: `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`.
19+
20+
### CCard
21+
22+
- Deprecated `textColor` values: `muted`, `high-emphasis`, `medium-emphasis`, `disabled`, `high-emphasis-inverse`, `medium-emphasis-inverse`, `disabled-inverse`.
23+
- New `textColor` values: `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`.
24+
25+
### CCloseButton
26+
27+
- Deprecated property `white`, use `dark` instead of.
28+
29+
### CNav
30+
31+
- The `underline` variant has been changed to `underline-border`
32+
33+
### CSidebar
34+
35+
- Sidebar has a light color scheme by default, use `colorScheme="dark"` to make it dark.
36+
37+
### CToastClose
38+
39+
- Deprecated property `white`, use `dark` instead of.

0 commit comments

Comments
 (0)