@coreui/react 5.0.0-rc.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/components/badge/CBadge.d.ts +1 -1
- package/dist/cjs/components/card/CCard.d.ts +1 -1
- package/dist/cjs/components/dropdown/CDropdownToggle.d.ts +1 -1
- package/dist/cjs/components/nav/CNavGroup.d.ts +1 -1
- package/dist/cjs/components/nav/CNavGroupItems.d.ts +1 -1
- package/dist/cjs/components/nav/CNavItem.d.ts +1 -1
- package/dist/cjs/components/sidebar/CSidebarBrand.d.ts +1 -1
- package/dist/cjs/components/sidebar/CSidebarNav.d.ts +1 -1
- package/dist/esm/components/badge/CBadge.d.ts +1 -1
- package/dist/esm/components/card/CCard.d.ts +1 -1
- package/dist/esm/components/dropdown/CDropdownToggle.d.ts +1 -1
- package/dist/esm/components/nav/CNavGroup.d.ts +1 -1
- package/dist/esm/components/nav/CNavGroupItems.d.ts +1 -1
- package/dist/esm/components/nav/CNavItem.d.ts +1 -1
- package/dist/esm/components/sidebar/CSidebarBrand.d.ts +1 -1
- package/dist/esm/components/sidebar/CSidebarNav.d.ts +1 -1
- package/package.json +4 -4
- package/src/components/badge/CBadge.tsx +1 -1
- package/src/components/card/CCard.tsx +1 -1
- package/src/components/dropdown/CDropdownToggle.tsx +1 -1
- package/src/components/nav/CNavGroup.tsx +1 -1
- package/src/components/nav/CNavGroupItems.tsx +1 -1
- package/src/components/nav/CNavItem.tsx +1 -1
- package/src/components/sidebar/CSidebarBrand.tsx +1 -1
- package/src/components/sidebar/CSidebarNav.tsx +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
Several quick start options are available:
|
|
48
48
|
|
|
49
|
-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0
|
|
49
|
+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.0.0.zip)
|
|
50
50
|
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
|
|
51
51
|
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
|
|
52
52
|
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
|
|
@@ -34,7 +34,7 @@ export interface CBadgeProps extends HTMLAttributes<HTMLDivElement | HTMLSpanEle
|
|
|
34
34
|
* 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.
|
|
35
35
|
*
|
|
36
36
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
37
|
-
* @since 5.0.0
|
|
37
|
+
* @since 5.0.0
|
|
38
38
|
*/
|
|
39
39
|
textBgColor?: Colors;
|
|
40
40
|
/**
|
|
@@ -21,7 +21,7 @@ export interface CCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
* 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.
|
|
22
22
|
*
|
|
23
23
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
24
|
-
* @since 5.0.0
|
|
24
|
+
* @since 5.0.0
|
|
25
25
|
*/
|
|
26
26
|
textBgColor?: Colors;
|
|
27
27
|
}
|
|
@@ -13,7 +13,7 @@ export interface CDropdownToggleProps extends Omit<CButtonProps, 'type'> {
|
|
|
13
13
|
/**
|
|
14
14
|
* If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
|
|
15
15
|
*
|
|
16
|
-
* @since v5.0.0
|
|
16
|
+
* @since v5.0.0
|
|
17
17
|
*/
|
|
18
18
|
navLink?: boolean;
|
|
19
19
|
/**
|
|
@@ -34,7 +34,7 @@ export interface CBadgeProps extends HTMLAttributes<HTMLDivElement | HTMLSpanEle
|
|
|
34
34
|
* 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.
|
|
35
35
|
*
|
|
36
36
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
37
|
-
* @since 5.0.0
|
|
37
|
+
* @since 5.0.0
|
|
38
38
|
*/
|
|
39
39
|
textBgColor?: Colors;
|
|
40
40
|
/**
|
|
@@ -21,7 +21,7 @@ export interface CCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
21
21
|
* 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.
|
|
22
22
|
*
|
|
23
23
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
24
|
-
* @since 5.0.0
|
|
24
|
+
* @since 5.0.0
|
|
25
25
|
*/
|
|
26
26
|
textBgColor?: Colors;
|
|
27
27
|
}
|
|
@@ -13,7 +13,7 @@ export interface CDropdownToggleProps extends Omit<CButtonProps, 'type'> {
|
|
|
13
13
|
/**
|
|
14
14
|
* If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
|
|
15
15
|
*
|
|
16
|
-
* @since v5.0.0
|
|
16
|
+
* @since v5.0.0
|
|
17
17
|
*/
|
|
18
18
|
navLink?: boolean;
|
|
19
19
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/react",
|
|
3
|
-
"version": "5.0.0
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "UI Components Library for React.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"test:update": "jest --coverage --updateSnapshot"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@coreui/coreui": "^5.0.0
|
|
44
|
+
"@coreui/coreui": "^5.0.0",
|
|
45
45
|
"@popperjs/core": "^2.11.8",
|
|
46
46
|
"prop-types": "^15.8.1"
|
|
47
47
|
},
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"@testing-library/jest-dom": "^6.4.2",
|
|
53
53
|
"@testing-library/react": "^14.2.2",
|
|
54
54
|
"@types/jest": "^29.5.12",
|
|
55
|
-
"@types/react": "18.2.
|
|
55
|
+
"@types/react": "18.2.73",
|
|
56
56
|
"@types/react-dom": "^18.2.22",
|
|
57
57
|
"@types/react-transition-group": "^4.4.10",
|
|
58
58
|
"classnames": "^2.5.1",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"react": "^18.2.0",
|
|
63
63
|
"react-dom": "^18.2.0",
|
|
64
64
|
"react-transition-group": "^4.4.5",
|
|
65
|
-
"rollup": "^4.13.
|
|
65
|
+
"rollup": "^4.13.1",
|
|
66
66
|
"ts-jest": "^29.1.2",
|
|
67
67
|
"tslib": "^2.6.2",
|
|
68
68
|
"typescript": "^5.4.3"
|
|
@@ -39,7 +39,7 @@ export interface CBadgeProps extends HTMLAttributes<HTMLDivElement | HTMLSpanEle
|
|
|
39
39
|
* 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.
|
|
40
40
|
*
|
|
41
41
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
42
|
-
* @since 5.0.0
|
|
42
|
+
* @since 5.0.0
|
|
43
43
|
*/
|
|
44
44
|
textBgColor?: Colors
|
|
45
45
|
/**
|
|
@@ -26,7 +26,7 @@ export interface CCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
26
26
|
* 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.
|
|
27
27
|
*
|
|
28
28
|
* @type 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'dark' | 'light' | string
|
|
29
|
-
* @since 5.0.0
|
|
29
|
+
* @since 5.0.0
|
|
30
30
|
*/
|
|
31
31
|
textBgColor?: Colors
|
|
32
32
|
}
|
|
@@ -21,7 +21,7 @@ export interface CDropdownToggleProps extends Omit<CButtonProps, 'type'> {
|
|
|
21
21
|
/**
|
|
22
22
|
* If a dropdown `variant` is set to `nav-item` then render the toggler as a link instead of a button.
|
|
23
23
|
*
|
|
24
|
-
* @since v5.0.0
|
|
24
|
+
* @since v5.0.0
|
|
25
25
|
*/
|
|
26
26
|
navLink?: boolean
|
|
27
27
|
/**
|