diff --git a/README.md b/README.md index ec4f61a8..3a56a6bc 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.11.0.zip) +- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.12.0.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-react.git` - Install with [npm](https://www.npmjs.com/): `npm install @coreui/react` - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react` diff --git a/lerna.json b/lerna.json index 59322178..4d6f001b 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "npmClient": "yarn", "packages": ["packages/*"], - "version": "5.11.0", + "version": "5.12.0", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } diff --git a/package.json b/package.json index e0c097ed..3d05a0b3 100644 --- a/package.json +++ b/package.json @@ -22,18 +22,18 @@ "test:update": "npm-run-all charts:test:update icons:test:update lib:test:update" }, "devDependencies": { - "@typescript-eslint/parser": "^8.59.3", + "@typescript-eslint/parser": "^8.61.0", "eslint": "^9.39.4", "eslint-config-prettier": "^10.1.8", - "eslint-plugin-prettier": "^5.5.5", + "eslint-plugin-prettier": "^5.5.6", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^7.1.1", "eslint-plugin-unicorn": "^62.0.0", "globals": "^16.5.0", "lerna": "^9.0.7", "npm-run-all": "^4.1.5", - "prettier": "^3.8.3", - "typescript-eslint": "^8.59.3" + "prettier": "^3.8.4", + "typescript-eslint": "^8.61.0" }, "overrides": { "gatsby-remark-external-links": { diff --git a/packages/coreui-react/README.md b/packages/coreui-react/README.md index a3bb1af6..9dc6e5c6 100644 --- a/packages/coreui-react/README.md +++ b/packages/coreui-react/README.md @@ -46,7 +46,7 @@ Several quick start options are available: -- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.11.0.zip) +- [Download the latest release](https://github.com/coreui/coreui-react/archive/v5.12.0.zip) - Clone the repo: `git clone https://github.com/coreui/coreui-react.git` - Install with [npm](https://www.npmjs.com/): `npm install @coreui/react` - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react` diff --git a/packages/coreui-react/package.json b/packages/coreui-react/package.json index eb5fb610..1db27653 100644 --- a/packages/coreui-react/package.json +++ b/packages/coreui-react/package.json @@ -1,6 +1,6 @@ { "name": "@coreui/react", - "version": "5.11.0", + "version": "5.12.0", "description": "UI Components Library for React.js", "keywords": [ "react", @@ -41,12 +41,12 @@ "test:update": "jest --coverage --updateSnapshot" }, "dependencies": { - "@coreui/coreui": "^5.7.0", + "@coreui/coreui": "^5.8.0", "@popperjs/core": "^2.11.8", "prop-types": "^15.8.1" }, "devDependencies": { - "@rollup/plugin-commonjs": "^29.0.2", + "@rollup/plugin-commonjs": "^29.0.3", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-typescript": "^12.3.0", "@testing-library/dom": "^10.4.1", @@ -54,7 +54,7 @@ "@testing-library/react": "^16.3.2", "@types/jest": "^30.0.0", "@types/prop-types": "15.7.15", - "@types/react": "^19.2.14", + "@types/react": "^19.2.17", "@types/react-dom": "^19.2.3", "@types/react-transition-group": "^4.4.12", "classnames": "^2.5.1", @@ -64,8 +64,8 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-transition-group": "^4.4.5", - "rollup": "^4.60.4", - "ts-jest": "^29.4.9", + "rollup": "^4.62.0", + "ts-jest": "^29.4.11", "tslib": "^2.8.1", "typescript": "^5.9.3" }, diff --git a/packages/docs/content/api/CNavGroup.api.mdx b/packages/docs/content/api/CNavGroup.api.mdx index d3e30747..02a252c3 100644 --- a/packages/docs/content/api/CNavGroup.api.mdx +++ b/packages/docs/content/api/CNavGroup.api.mdx @@ -52,7 +52,7 @@ import CNavGroup from '@coreui/react/src/components/nav/CNavGroup'
Callback fired when the user toggles the group. Receives the requested visibility. In controlled mode ({`visible`} set), update {`visible`} from here—or ignore the change to keep the group as is.
Callback fired when the user toggles the group. Receives the requested visibility. Provide it together with {`visible`} for controlled mode—update {`visible`} from here, or ignore the change to keep the group as is.
Show nav group items.
+Show nav group items. Acts as the initial state when used on its own, or as the controlled value when paired with {`onVisibleChange`}.