@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 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-rc.3.zip)
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-rc.3
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-rc.3
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-rc.3
16
+ * @since v5.0.0
17
17
  */
18
18
  navLink?: boolean;
19
19
  /**
@@ -4,7 +4,7 @@ export interface CNavGroupProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -4,7 +4,7 @@ export interface CNavGroupItemsProps extends HTMLAttributes<HTMLDivElement | HTM
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -5,7 +5,7 @@ export interface CNavItemProps extends Omit<CNavLinkProps, 'component'> {
5
5
  /**
6
6
  * Component used for the root node. Either a string to use a HTML element or a component.
7
7
  *
8
- * @since 5.0.0-rc.3
8
+ * @since 5.0.0
9
9
  */
10
10
  as?: ElementType;
11
11
  }
@@ -4,7 +4,7 @@ export interface CSidebarBrandProps extends HTMLAttributes<HTMLAnchorElement | H
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -4,7 +4,7 @@ export interface CSidebarNavProps extends HTMLAttributes<HTMLUListElement> {
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -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-rc.3
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-rc.3
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-rc.3
16
+ * @since v5.0.0
17
17
  */
18
18
  navLink?: boolean;
19
19
  /**
@@ -4,7 +4,7 @@ export interface CNavGroupProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -4,7 +4,7 @@ export interface CNavGroupItemsProps extends HTMLAttributes<HTMLDivElement | HTM
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -5,7 +5,7 @@ export interface CNavItemProps extends Omit<CNavLinkProps, 'component'> {
5
5
  /**
6
6
  * Component used for the root node. Either a string to use a HTML element or a component.
7
7
  *
8
- * @since 5.0.0-rc.3
8
+ * @since 5.0.0
9
9
  */
10
10
  as?: ElementType;
11
11
  }
@@ -4,7 +4,7 @@ export interface CSidebarBrandProps extends HTMLAttributes<HTMLAnchorElement | H
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
@@ -4,7 +4,7 @@ export interface CSidebarNavProps extends HTMLAttributes<HTMLUListElement> {
4
4
  /**
5
5
  * Component used for the root node. Either a string to use a HTML element or a component.
6
6
  *
7
- * @since 5.0.0-rc.3
7
+ * @since 5.0.0
8
8
  */
9
9
  as?: ElementType;
10
10
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coreui/react",
3
- "version": "5.0.0-rc.3",
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-rc.3",
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.67",
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.0",
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-rc.3
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-rc.3
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-rc.3
24
+ * @since v5.0.0
25
25
  */
26
26
  navLink?: boolean
27
27
  /**
@@ -22,7 +22,7 @@ export interface CNavGroupProps extends HTMLAttributes<HTMLDivElement | HTMLLIEl
22
22
  /**
23
23
  * Component used for the root node. Either a string to use a HTML element or a component.
24
24
  *
25
- * @since 5.0.0-rc.3
25
+ * @since 5.0.0
26
26
  */
27
27
  as?: ElementType
28
28
  /**
@@ -8,7 +8,7 @@ export interface CNavGroupItemsProps extends HTMLAttributes<HTMLDivElement | HTM
8
8
  /**
9
9
  * Component used for the root node. Either a string to use a HTML element or a component.
10
10
  *
11
- * @since 5.0.0-rc.3
11
+ * @since 5.0.0
12
12
  */
13
13
  as?: ElementType
14
14
  /**
@@ -10,7 +10,7 @@ export interface CNavItemProps extends Omit<CNavLinkProps, 'component'> {
10
10
  /**
11
11
  * Component used for the root node. Either a string to use a HTML element or a component.
12
12
  *
13
- * @since 5.0.0-rc.3
13
+ * @since 5.0.0
14
14
  */
15
15
  as?: ElementType
16
16
  }
@@ -8,7 +8,7 @@ export interface CSidebarBrandProps extends HTMLAttributes<HTMLAnchorElement | H
8
8
  /**
9
9
  * Component used for the root node. Either a string to use a HTML element or a component.
10
10
  *
11
- * @since 5.0.0-rc.3
11
+ * @since 5.0.0
12
12
  */
13
13
  as?: ElementType
14
14
  /**
@@ -16,7 +16,7 @@ export interface CSidebarNavProps extends HTMLAttributes<HTMLUListElement> {
16
16
  /**
17
17
  * Component used for the root node. Either a string to use a HTML element or a component.
18
18
  *
19
- * @since 5.0.0-rc.3
19
+ * @since 5.0.0
20
20
  */
21
21
  as?: ElementType
22
22
  /**