Skip to content

Commit 79d0f2a

Browse files
committed
Merge branch 'v4-next' into main-merge-next
2 parents 2b36377 + 4f8aeda commit 79d0f2a

File tree

107 files changed

+2823
-2548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+2823
-2548
lines changed

.eslintrc.js

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = {
1818
'plugin:react/recommended',
1919
'plugin:@typescript-eslint/recommended',
2020
'plugin:prettier/recommended',
21-
"plugin:unicorn/recommended",
21+
'plugin:unicorn/recommended',
2222
],
2323
parser: '@typescript-eslint/parser',
2424
parserOptions: {
@@ -36,12 +36,37 @@ module.exports = {
3636
},
3737
},
3838
rules: {
39-
"unicorn/filename-case": "off",
40-
"unicorn/no-array-for-each": "off",
41-
"unicorn/no-null": "off",
42-
"unicorn/prefer-dom-node-append": "off",
43-
"unicorn/prefer-export-from": "off",
44-
"unicorn/prefer-query-selector": "off",
45-
"unicorn/prevent-abbreviations": "off",
46-
}
39+
'unicorn/filename-case': 'off',
40+
'unicorn/no-array-for-each': 'off',
41+
'unicorn/no-null': 'off',
42+
'unicorn/prefer-dom-node-append': 'off',
43+
'unicorn/prefer-export-from': 'off',
44+
'unicorn/prefer-query-selector': 'off',
45+
'unicorn/prevent-abbreviations': 'off',
46+
},
47+
overrides: [
48+
{
49+
files: ['packages/docs/build/**'],
50+
env: {
51+
browser: false,
52+
node: true,
53+
},
54+
parserOptions: {
55+
sourceType: 'script',
56+
},
57+
rules: {
58+
'@typescript-eslint/no-var-requires': 'off',
59+
'no-console': 'off',
60+
'unicorn/prefer-module': 'off',
61+
'unicorn/prefer-top-level-await': 'off',
62+
},
63+
},
64+
{
65+
files: ['packages/docs/**'],
66+
rules: {
67+
'@typescript-eslint/no-var-requires': 'off',
68+
'unicorn/prefer-module': 'off',
69+
},
70+
},
71+
],
4772
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
Several quick start options are available:
4848

49-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.8.0.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.9.0-beta.2.zip)
5050
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
5151
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
5252
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

lerna.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
{
22
"npmClient": "yarn",
3-
"packages": [
4-
"packages/*"
5-
],
6-
"useWorkspaces": true,
7-
"version": "4.2.2"
3+
"packages": ["packages/*"],
4+
"version": "4.9.0-beta.2",
5+
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
86
}

package.json

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,24 @@
2222
"test:update": "npm-run-all charts:test:update icons:test:update lib:test:update"
2323
},
2424
"devDependencies": {
25-
"@typescript-eslint/eslint-plugin": "^5.55.0",
26-
"@typescript-eslint/parser": "^5.55.0",
27-
"eslint": "8.36.0",
28-
"eslint-config-prettier": "^8.7.0",
25+
"@typescript-eslint/eslint-plugin": "^5.59.11",
26+
"@typescript-eslint/parser": "^5.59.11",
27+
"eslint": "8.43.0",
28+
"eslint-config-prettier": "^8.8.0",
2929
"eslint-plugin-prettier": "^4.2.1",
3030
"eslint-plugin-react": "^7.32.2",
3131
"eslint-plugin-react-hooks": "^4.6.0",
32-
"eslint-plugin-unicorn": "^46.0.0",
33-
"lerna": "^6.5.1",
32+
"eslint-plugin-unicorn": "^47.0.0",
33+
"lerna": "^7.1.0",
3434
"npm-run-all": "^4.1.5",
35-
"prettier": "^2.8.4"
35+
"prettier": "^2.8.8"
36+
},
37+
"overrides": {
38+
"gatsby-remark-external-links": {
39+
"unist-util-find": "1.0.2"
40+
}
41+
},
42+
"resolutions": {
43+
"**/gatsby-remark-external-links/unist-util-find": "1.0.2"
3644
}
37-
}
45+
}

packages/coreui-react/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
Several quick start options are available:
4848

49-
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.8.0.zip)
49+
- [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.9.0-beta.2.zip)
5050
- Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
5151
- Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
5252
- Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`

packages/coreui-react/package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coreui/react",
3-
"version": "4.8.0",
3+
"version": "4.9.0-beta.2",
44
"description": "UI Components Library for React.js",
55
"keywords": [
66
"react",
@@ -37,15 +37,15 @@
3737
"test:update": "jest --coverage --updateSnapshot"
3838
},
3939
"devDependencies": {
40-
"@popperjs/core": "^2.11.6",
41-
"@rollup/plugin-commonjs": "^24.0.1",
42-
"@rollup/plugin-node-resolve": "^15.0.1",
43-
"@rollup/plugin-typescript": "^11.0.0",
40+
"@popperjs/core": "^2.11.8",
41+
"@rollup/plugin-commonjs": "^25.0.1",
42+
"@rollup/plugin-node-resolve": "^15.1.0",
43+
"@rollup/plugin-typescript": "^11.1.1",
4444
"@testing-library/jest-dom": "^5.16.5",
4545
"@testing-library/react": "^14.0.0",
46-
"@types/react": "18.0.28",
47-
"@types/react-dom": "^18.0.11",
48-
"@types/react-transition-group": "^4.4.5",
46+
"@types/react": "18.2.12",
47+
"@types/react-dom": "^18.2.5",
48+
"@types/react-transition-group": "^4.4.6",
4949
"classnames": "^2.3.2",
5050
"jest": "^29.5.0",
5151
"jest-environment-jsdom": "^29.5.0",
@@ -54,12 +54,13 @@
5454
"react-dom": "^18.2.0",
5555
"react-popper": "^2.3.0",
5656
"react-transition-group": "^4.4.5",
57-
"rollup": "^3.19.1",
58-
"tslib": "^2.5.0",
59-
"ts-jest": "^29.0.5",
57+
"rollup": "^3.25.1",
58+
"ts-jest": "^29.1.0",
59+
"tslib": "^2.5.3",
6060
"typescript": "^4.9.5"
6161
},
6262
"peerDependencies": {
63+
"@coreui/coreui": "4.2.6",
6364
"react": ">=17",
6465
"react-dom": ">=17"
6566
}

packages/coreui-react/src/components/accordion/__tests__/__snapshots__/CAccordionCollapse.spec.tsx.snap

Lines changed: 0 additions & 11 deletions
This file was deleted.

packages/coreui-react/src/components/accordion/index.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ import { CAccordionButton } from './CAccordionButton'
44
import { CAccordionHeader } from './CAccordionHeader'
55
import { CAccordionItem } from './CAccordionItem'
66

7-
export {
8-
CAccordion,
9-
CAccordionBody,
10-
CAccordionButton,
11-
CAccordionHeader,
12-
CAccordionItem,
13-
}
7+
export { CAccordion, CAccordionBody, CAccordionButton, CAccordionHeader, CAccordionItem }

0 commit comments

Comments
 (0)