From 19a80a1c8ec7869aeb648fb1c5a5a10435b83fbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 08:43:27 +0000 Subject: [PATCH 1/6] chore(deps-dev): bump @types/react from 18.0.10 to 18.2.28 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 18.0.10 to 18.2.28. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) --- updated-dependencies: - dependency-name: "@types/react" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8fb94b9..06453f4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "@types/lodash.isempty": "^4.4.7", "@types/lodash.unionwith": "^4.6.7", "@types/node": "^16.4.3", - "@types/react": "^18.0.10", + "@types/react": "^18.2.28", "@types/react-dom": "^18.2.8", "@types/react-transition-group": "^4.4.0", "clsx": "^1.1.1", @@ -3271,9 +3271,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.0.10", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.10.tgz", - "integrity": "sha512-dIugadZuIPrRzvIEevIu7A1smqOAjkSMv8qOfwPt9Ve6i6JT/FQcCHyk2qIAxwsQNKZt5/oGR0T4z9h2dXRAkg==", + "version": "18.2.28", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.28.tgz", + "integrity": "sha512-ad4aa/RaaJS3hyGz0BGegdnSRXQBkd1CCYDCdNjBPg90UUpLgo+WlJqb9fMYUxtehmzF3PJaTWqRZjko6BRzBg==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -15497,9 +15497,9 @@ "dev": true }, "@types/react": { - "version": "18.0.10", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.0.10.tgz", - "integrity": "sha512-dIugadZuIPrRzvIEevIu7A1smqOAjkSMv8qOfwPt9Ve6i6JT/FQcCHyk2qIAxwsQNKZt5/oGR0T4z9h2dXRAkg==", + "version": "18.2.28", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.28.tgz", + "integrity": "sha512-ad4aa/RaaJS3hyGz0BGegdnSRXQBkd1CCYDCdNjBPg90UUpLgo+WlJqb9fMYUxtehmzF3PJaTWqRZjko6BRzBg==", "dev": true, "requires": { "@types/prop-types": "*", diff --git a/package.json b/package.json index 5a42bea..4e433ad 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@types/lodash.isempty": "^4.4.7", "@types/lodash.unionwith": "^4.6.7", "@types/node": "^16.4.3", - "@types/react": "^18.0.10", + "@types/react": "^18.2.28", "@types/react-dom": "^18.2.8", "@types/react-transition-group": "^4.4.0", "clsx": "^1.1.1", From 50a00ae05744f5f17edec090c609cdbf19769d9c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 13 Oct 2023 12:01:12 +0000 Subject: [PATCH 2/6] chore(deps): bump react-day-picker from 8.3.7 to 8.8.2 Bumps [react-day-picker](https://github.com/gpbl/react-day-picker) from 8.3.7 to 8.8.2. - [Release notes](https://github.com/gpbl/react-day-picker/releases) - [Commits](https://github.com/gpbl/react-day-picker/compare/v8.3.7...v8.8.2) --- updated-dependencies: - dependency-name: react-day-picker dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 14 +++++++------- package.json | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3f6e9d9..8ce883d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "lodash.debounce": "^4.0.8", "lodash.isempty": "^4.4.0", "lodash.unionwith": "^4.6.0", - "react-day-picker": "^8.3.7", + "react-day-picker": "^8.8.2", "react-toastify": "^9.1.3" }, "devDependencies": { @@ -10745,9 +10745,9 @@ } }, "node_modules/react-day-picker": { - "version": "8.3.7", - "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.3.7.tgz", - "integrity": "sha512-sQvyJde6OKsXIB0ZFwUBmaDNb4IyKypv/uSyauQ6AUw4F6vmPijJsQNEVsxrxXQ4L3GZKIpcCD/7Pftz/sLegA==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.8.2.tgz", + "integrity": "sha512-sK5M5PNZaLiszmACUKUpVu1eX3eFDVV+WLdWQ3BxTPbEC9jhuawmlgpbSXX5dIIQQwJpZ4wwP5+vsMVOwa1IRw==", "funding": { "type": "individual", "url": "https://github.com/sponsors/gpbl" @@ -21042,9 +21042,9 @@ } }, "react-day-picker": { - "version": "8.3.7", - "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.3.7.tgz", - "integrity": "sha512-sQvyJde6OKsXIB0ZFwUBmaDNb4IyKypv/uSyauQ6AUw4F6vmPijJsQNEVsxrxXQ4L3GZKIpcCD/7Pftz/sLegA==", + "version": "8.8.2", + "resolved": "https://registry.npmjs.org/react-day-picker/-/react-day-picker-8.8.2.tgz", + "integrity": "sha512-sK5M5PNZaLiszmACUKUpVu1eX3eFDVV+WLdWQ3BxTPbEC9jhuawmlgpbSXX5dIIQQwJpZ4wwP5+vsMVOwa1IRw==", "requires": {} }, "react-dom": { diff --git a/package.json b/package.json index 41a720d..511c301 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "lodash.debounce": "^4.0.8", "lodash.isempty": "^4.4.0", "lodash.unionwith": "^4.6.0", - "react-day-picker": "^8.3.7", + "react-day-picker": "^8.8.2", "react-toastify": "^9.1.3" }, "peerDependencies": { From 3815e2fed1701f3ecbc7ca1fd60659f5acbff722 Mon Sep 17 00:00:00 2001 From: Vadym Grabovyi Date: Fri, 13 Oct 2023 08:36:21 -0400 Subject: [PATCH 3/6] fix: remove unused props to fix warning for some pages --- pages/docs/checkbox.mdx | 20 ++++++++++---------- pages/docs/radio.mdx | 18 +++++++++--------- pages/docs/switch.mdx | 20 ++++++++++---------- 3 files changed, 29 insertions(+), 29 deletions(-) diff --git a/pages/docs/checkbox.mdx b/pages/docs/checkbox.mdx index 6cc705b..812d9cb 100644 --- a/pages/docs/checkbox.mdx +++ b/pages/docs/checkbox.mdx @@ -2,16 +2,16 @@ import { Checkbox, FormRow } from '../../src/ui'; # Checkbox -Default -Default -Checked -Disabled -Error +Default +Default +Checked +Disabled +Error ``` -Default -Default -Checked -Disabled -Error +Default +Default +Checked +Disabled +Error ``` diff --git a/pages/docs/radio.mdx b/pages/docs/radio.mdx index e544ccb..ba4347a 100644 --- a/pages/docs/radio.mdx +++ b/pages/docs/radio.mdx @@ -2,14 +2,14 @@ import { Radio, FormRow } from '../../src/ui'; # Radio -Default -Checked -Disabled -Error +Default +Checked +Disabled +Error ``` -Default -Checked -Disabled -Error -``` \ No newline at end of file +Default +Checked +Disabled +Error +``` diff --git a/pages/docs/switch.mdx b/pages/docs/switch.mdx index 4477c7c..13c86bb 100644 --- a/pages/docs/switch.mdx +++ b/pages/docs/switch.mdx @@ -2,53 +2,53 @@ import { Switch, FormRow } from '../../src/ui'; # Switch - +

Default

- +

Disabled

- +

Error

Some label
- +

With handler

alert('Value is change')} />
- +

With Label

change settings
``` - +

Default

- +

Disabled

- +

Error

- +

With handler

alert('Value is change')} />
- +

With Label

change settings
From c95c69f807cf83fad2c2a598ef0b24cf3ed343d1 Mon Sep 17 00:00:00 2001 From: Vadym Grabovyi Date: Fri, 13 Oct 2023 08:44:38 -0400 Subject: [PATCH 4/6] chore: update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69c203d..4cd1045 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ import '@macpaw/macpaw-ui/lib/ui.css'; ## Requirements -- Node 16+ +- Node 20+ - npm 7+ (lock file v2) ## Library Release Process From f6428c05c50359309fd2b6f9eece093785683a9e Mon Sep 17 00:00:00 2001 From: Vadym Grabovyi Date: Fri, 13 Oct 2023 08:57:25 -0400 Subject: [PATCH 5/6] chore: update changesets --- .changeset/angry-singers-tickle.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .changeset/angry-singers-tickle.md diff --git a/.changeset/angry-singers-tickle.md b/.changeset/angry-singers-tickle.md new file mode 100644 index 0000000..5fc5a25 --- /dev/null +++ b/.changeset/angry-singers-tickle.md @@ -0,0 +1,9 @@ +--- +"@macpaw/macpaw-ui": minor +--- + +- bump Node.js version from 16 to 20 +- update ui-kit iner UI +- fix warnings about usage of deprecated methods like defaultProps +- fix warining in FormRow component +- merge dependabot PRs From 5dd39842687f2877fb69e2d9c39915d938f03d67 Mon Sep 17 00:00:00 2001 From: Vadym Grabovyi Date: Fri, 13 Oct 2023 08:59:40 -0400 Subject: [PATCH 6/6] chore: update changesets --- .changeset/angry-singers-tickle.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.changeset/angry-singers-tickle.md b/.changeset/angry-singers-tickle.md index 5fc5a25..d42ffe8 100644 --- a/.changeset/angry-singers-tickle.md +++ b/.changeset/angry-singers-tickle.md @@ -7,3 +7,4 @@ - fix warnings about usage of deprecated methods like defaultProps - fix warining in FormRow component - merge dependabot PRs +- bump Next.js from 12 to 13