@coreui/react 4.8.0 → 4.9.0-alpha.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/components/popover/CPopover.d.ts +1 -1
- package/dist/components/tooltip/CTooltip.d.ts +1 -1
- package/dist/index.es.js +619 -619
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +619 -619
- package/dist/index.js.map +1 -1
- package/package.json +11 -10
- package/src/components/form/CFormCheck.tsx +1 -1
- package/src/components/popover/CPopover.tsx +1 -1
- package/src/components/tooltip/CTooltip.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coreui/react",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0-alpha.0",
|
|
4
4
|
"description": "UI Components Library for React.js",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -37,15 +37,15 @@
|
|
|
37
37
|
"test:update": "jest --coverage --updateSnapshot"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@popperjs/core": "^2.11.
|
|
41
|
-
"@rollup/plugin-commonjs": "^24.0
|
|
42
|
-
"@rollup/plugin-node-resolve": "^15.0.
|
|
43
|
-
"@rollup/plugin-typescript": "^11.
|
|
40
|
+
"@popperjs/core": "^2.11.7",
|
|
41
|
+
"@rollup/plugin-commonjs": "^24.1.0",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.0.2",
|
|
43
|
+
"@rollup/plugin-typescript": "^11.1.0",
|
|
44
44
|
"@testing-library/jest-dom": "^5.16.5",
|
|
45
45
|
"@testing-library/react": "^14.0.0",
|
|
46
|
-
"@types/react": "18.
|
|
47
|
-
"@types/react-dom": "^18.
|
|
48
|
-
"@types/react-transition-group": "^4.4.
|
|
46
|
+
"@types/react": "18.2.6",
|
|
47
|
+
"@types/react-dom": "^18.2.4",
|
|
48
|
+
"@types/react-transition-group": "^4.4.6",
|
|
49
49
|
"classnames": "^2.3.2",
|
|
50
50
|
"jest": "^29.5.0",
|
|
51
51
|
"jest-environment-jsdom": "^29.5.0",
|
|
@@ -54,12 +54,13 @@
|
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
55
|
"react-popper": "^2.3.0",
|
|
56
56
|
"react-transition-group": "^4.4.5",
|
|
57
|
-
"rollup": "^3.
|
|
57
|
+
"rollup": "^3.21.6",
|
|
58
58
|
"tslib": "^2.5.0",
|
|
59
|
-
"ts-jest": "^29.0
|
|
59
|
+
"ts-jest": "^29.1.0",
|
|
60
60
|
"typescript": "^4.9.5"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
+
"@coreui/coreui": "4.3.0-alpha.0",
|
|
63
64
|
"react": ">=17",
|
|
64
65
|
"react-dom": ">=17"
|
|
65
66
|
}
|
|
@@ -112,7 +112,7 @@ export const CFormCheck = forwardRef<HTMLInputElement, CFormCheckProps>(
|
|
|
112
112
|
if (inputRef.current && indeterminate) {
|
|
113
113
|
inputRef.current.indeterminate = indeterminate
|
|
114
114
|
}
|
|
115
|
-
}, [indeterminate])
|
|
115
|
+
}, [indeterminate, inputRef.current])
|
|
116
116
|
|
|
117
117
|
const FormControl = () => (
|
|
118
118
|
<input
|
|
@@ -8,7 +8,7 @@ import { Transition } from 'react-transition-group'
|
|
|
8
8
|
import { triggerPropType } from '../../props'
|
|
9
9
|
import type { Triggers } from '../../types'
|
|
10
10
|
|
|
11
|
-
export interface CPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
11
|
+
export interface CPopoverProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title' | 'content'> {
|
|
12
12
|
/**
|
|
13
13
|
* A string of all className you want applied to the component.
|
|
14
14
|
*/
|
|
@@ -8,7 +8,7 @@ import { Transition } from 'react-transition-group'
|
|
|
8
8
|
import { triggerPropType } from '../../props'
|
|
9
9
|
import type { Triggers } from '../../types'
|
|
10
10
|
|
|
11
|
-
export interface CTooltipProps extends HTMLAttributes<HTMLDivElement> {
|
|
11
|
+
export interface CTooltipProps extends Omit<HTMLAttributes<HTMLDivElement>, 'content'> {
|
|
12
12
|
/**
|
|
13
13
|
* A string of all className you want applied to the component.
|
|
14
14
|
*/
|