Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore] react and node version upgrade #53

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
main:
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [18.x]
runs-on: ubuntu-latest

env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
release:
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
runs-on: ubuntu-latest

env:
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.0.3",
"@types/jest-axe": "^3.5.3",
"@types/react": "^17.0.37",
"@types/react-dom": "^17.0.11",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.18",
"@types/storybook__react": "^5.2.1",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
Expand All @@ -61,18 +61,18 @@
"lerna": "^4.0.0",
"mkdirp": "^1.0.4",
"prettier": "^2.5.0",
"react-docgen-typescript-loader": "^3.7.2",
"rimraf": "^3.0.2",
"scripty": "^2.0.0",
"ts-jest": "^27.0.7",
"ts-loader": "8.3.0",
"react-docgen-typescript-loader": "^3.7.2",
"typescript": "^4.4.4",
"webpack": "5.64.4",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2"
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"config": {
"commitizen": {
Expand Down
8 changes: 8 additions & 0 deletions packages/accordion/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.13](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-accordion@0.0.11...@ciceksepeti/cui-accordion@0.0.13) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-accordion





## [0.0.12](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-accordion@0.0.11...@ciceksepeti/cui-accordion@0.0.12) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-accordion
Expand Down
6 changes: 3 additions & 3 deletions packages/accordion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-accordion",
"version": "0.0.12",
"version": "0.0.13",
"description": "ÇiçekSepeti Accordion Component",
"author": "ciceksepeti",
"main": "dist/src/index.js",
Expand All @@ -20,8 +20,8 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-utils": "0.11.2"
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-utils": "0.11.3"
},
"peerDependencies": {
"react": ">=16",
Expand Down
8 changes: 8 additions & 0 deletions packages/alert-dialog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.3](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-alert-dialog@0.1.1...@ciceksepeti/cui-alert-dialog@0.1.3) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-alert-dialog





## [0.1.2](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-alert-dialog@0.1.1...@ciceksepeti/cui-alert-dialog@0.1.2) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-alert-dialog
Expand Down
8 changes: 4 additions & 4 deletions packages/alert-dialog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-alert-dialog",
"version": "0.1.2",
"version": "0.1.3",
"description": "ÇiçekSepeti Alert Dialog Component",
"author": "ciceksepeti",
"sideEffects": [
Expand All @@ -24,9 +24,9 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-dialog": "0.11.2",
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-utils": "0.11.2"
"@ciceksepeti/cui-dialog": "0.11.3",
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-utils": "0.11.3"
},
"peerDependencies": {
"react": ">=16",
Expand Down
8 changes: 8 additions & 0 deletions packages/alert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.3](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-alert@0.11.1...@ciceksepeti/cui-alert@0.11.3) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-alert





## [0.11.2](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-alert@0.11.1...@ciceksepeti/cui-alert@0.11.2) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-alert
Expand Down
8 changes: 4 additions & 4 deletions packages/alert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-alert",
"version": "0.11.2",
"version": "0.11.3",
"description": "ÇiçekSepeti Accessible Alert Component",
"author": "ciceksepeti",
"main": "dist/src/index.js",
Expand All @@ -20,9 +20,9 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-utils": "0.11.2",
"@ciceksepeti/cui-visually-hidden": "0.1.2"
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-utils": "0.11.3",
"@ciceksepeti/cui-visually-hidden": "0.1.3"
},
"peerDependencies": {
"react": ">=16",
Expand Down
11 changes: 11 additions & 0 deletions packages/checkbox/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.0.17](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-checkbox@0.0.13...@ciceksepeti/cui-checkbox@0.0.17) (2024-01-15)


### Bug Fixes

* listbox input search rerender trigger issue fix ([#47](https://github.com/ciceksepetitech/cactus-ui/issues/47)) ([d426f09](https://github.com/ciceksepetitech/cactus-ui/commit/d426f0918db2ef14614ed144b4713e2f80fa73c4))





## [0.0.16](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-checkbox@0.0.13...@ciceksepeti/cui-checkbox@0.0.16) (2024-01-14)


Expand Down
6 changes: 3 additions & 3 deletions packages/checkbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-checkbox",
"version": "0.0.16",
"version": "0.0.17",
"description": "ÇiçekSepeti Checkbox Component",
"author": "ciceksepeti",
"main": "dist/src/index.js",
Expand All @@ -24,8 +24,8 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-utils": "0.11.2"
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-utils": "0.11.3"
},
"peerDependencies": {
"react": ">=16",
Expand Down
11 changes: 11 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.5](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui@0.11.1...@ciceksepeti/cui@0.11.5) (2024-01-15)


### Bug Fixes

* listbox input search rerender trigger issue fix ([#47](https://github.com/ciceksepetitech/cactus-ui/issues/47)) ([d426f09](https://github.com/ciceksepetitech/cactus-ui/commit/d426f0918db2ef14614ed144b4713e2f80fa73c4))





## [0.11.4](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui@0.11.1...@ciceksepeti/cui@0.11.4) (2024-01-14)


Expand Down
30 changes: 15 additions & 15 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui",
"version": "0.11.4",
"version": "0.11.5",
"description": "ÇiçekSepeti Cactus UI All Packages",
"author": "cs",
"main": "dist/src/index.js",
Expand All @@ -23,21 +23,21 @@
"styles.css"
],
"dependencies": {
"@ciceksepeti/cui-accordion": "0.0.12",
"@ciceksepeti/cui-alert": "0.11.2",
"@ciceksepeti/cui-alert-dialog": "0.1.2",
"@ciceksepeti/cui-checkbox": "0.0.16",
"@ciceksepeti/cui-dialog": "0.11.2",
"@ciceksepeti/cui-focus-trap": "0.1.2",
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-accordion": "0.0.13",
"@ciceksepeti/cui-alert": "0.11.3",
"@ciceksepeti/cui-alert-dialog": "0.1.3",
"@ciceksepeti/cui-checkbox": "0.0.17",
"@ciceksepeti/cui-dialog": "0.11.3",
"@ciceksepeti/cui-focus-trap": "0.1.3",
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-listbox": "0.0.10",
"@ciceksepeti/cui-popover": "0.2.0",
"@ciceksepeti/cui-portal": "0.1.2",
"@ciceksepeti/cui-radio-group": "0.0.13",
"@ciceksepeti/cui-skip-nav": "0.1.2",
"@ciceksepeti/cui-tabs": "0.0.13",
"@ciceksepeti/cui-utils": "0.11.2",
"@ciceksepeti/cui-visually-hidden": "0.1.2"
"@ciceksepeti/cui-popover": "0.3.0",
"@ciceksepeti/cui-portal": "0.1.3",
"@ciceksepeti/cui-radio-group": "0.0.14",
"@ciceksepeti/cui-skip-nav": "0.1.3",
"@ciceksepeti/cui-tabs": "0.0.14",
"@ciceksepeti/cui-utils": "0.11.3",
"@ciceksepeti/cui-visually-hidden": "0.1.3"
},
"devDependencies": {
"gulp": "^4.0.2",
Expand Down
8 changes: 8 additions & 0 deletions packages/dialog/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.3](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-dialog@0.11.1...@ciceksepeti/cui-dialog@0.11.3) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-dialog





## [0.11.2](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-dialog@0.11.1...@ciceksepeti/cui-dialog@0.11.2) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-dialog
Expand Down
12 changes: 6 additions & 6 deletions packages/dialog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-dialog",
"version": "0.11.2",
"version": "0.11.3",
"description": "ÇiçekSepeti Accessible Dialog Component",
"author": "ciceksepeti",
"main": "dist/src/index.js",
Expand All @@ -24,11 +24,11 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-focus-trap": "0.1.2",
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-portal": "0.1.2",
"@ciceksepeti/cui-utils": "0.11.2",
"@ciceksepeti/cui-visually-hidden": "0.1.2",
"@ciceksepeti/cui-focus-trap": "0.1.3",
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-portal": "0.1.3",
"@ciceksepeti/cui-utils": "0.11.3",
"@ciceksepeti/cui-visually-hidden": "0.1.3",
"react-remove-scroll": "^2.4.3"
},
"peerDependencies": {
Expand Down
28 changes: 20 additions & 8 deletions packages/dialog/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,16 @@
}
};

const clonedChildren = cloneElement(children, {
ref: childrenRef,
...rest
});
const clonedChildren = cloneElement(
children as React.ReactElement<
any,

Check warning on line 72 in packages/dialog/src/index.tsx

View workflow job for this annotation

GitHub Actions / main (18.x)

Unexpected any. Specify a different type
string | React.JSXElementConstructor<any>

Check warning on line 73 in packages/dialog/src/index.tsx

View workflow job for this annotation

GitHub Actions / main (18.x)

Unexpected any. Specify a different type
>,
{
ref: childrenRef,
...rest
}
);

return (
<Portal>
Expand Down Expand Up @@ -108,10 +114,16 @@
...rest
} = props;

const clonedChildren = cloneElement(children, {
ref: forwardedRef,
...rest
});
const clonedChildren = cloneElement(
children as React.ReactElement<
any,

Check warning on line 119 in packages/dialog/src/index.tsx

View workflow job for this annotation

GitHub Actions / main (18.x)

Unexpected any. Specify a different type
string | React.JSXElementConstructor<any>

Check warning on line 120 in packages/dialog/src/index.tsx

View workflow job for this annotation

GitHub Actions / main (18.x)

Unexpected any. Specify a different type
>,
{
ref: forwardedRef,
...rest
}
);

return (
<RemoveScroll
Expand Down
8 changes: 8 additions & 0 deletions packages/focus-trap/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.1.3](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-focus-trap@0.1.1...@ciceksepeti/cui-focus-trap@0.1.3) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-focus-trap





## [0.1.2](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-focus-trap@0.1.1...@ciceksepeti/cui-focus-trap@0.1.2) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-focus-trap
Expand Down
6 changes: 3 additions & 3 deletions packages/focus-trap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ciceksepeti/cui-focus-trap",
"version": "0.1.2",
"version": "0.1.3",
"description": "ÇiçekSepeti Focus Trap Component",
"author": "ciceksepeti",
"main": "dist/src/index.js",
Expand All @@ -20,8 +20,8 @@
"url": "git+https://github.com/ciceksepetitech/cactus-ui.git"
},
"dependencies": {
"@ciceksepeti/cui-hooks": "0.11.2",
"@ciceksepeti/cui-utils": "0.11.2"
"@ciceksepeti/cui-hooks": "0.11.3",
"@ciceksepeti/cui-utils": "0.11.3"
},
"peerDependencies": {
"react": ">=16",
Expand Down
8 changes: 8 additions & 0 deletions packages/hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [0.11.3](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-hooks@0.11.1...@ciceksepeti/cui-hooks@0.11.3) (2024-01-15)

**Note:** Version bump only for package @ciceksepeti/cui-hooks





## [0.11.2](https://github.com/ciceksepetitech/cactus-ui/compare/@ciceksepeti/cui-hooks@0.11.1...@ciceksepeti/cui-hooks@0.11.2) (2024-01-14)

**Note:** Version bump only for package @ciceksepeti/cui-hooks
Expand Down
Loading
Loading