From 60171997c1061597c892fd9a447b176e8d69838a Mon Sep 17 00:00:00 2001 From: Sven <38101365+svenvoskamp@users.noreply.github.com> Date: Fri, 23 Feb 2024 18:57:24 +0100 Subject: [PATCH] Feat/wui chip error state (#1967) --- apps/gallery/CHANGELOG.md | 10 ++ apps/gallery/package.json | 6 +- apps/gallery/utils/PresetUtils.ts | 9 +- apps/laboratory/CHANGELOG.md | 11 ++ apps/laboratory/package.json | 8 +- examples/html-ethers5/CHANGELOG.md | 9 ++ examples/html-ethers5/package.json | 4 +- examples/html-wagmi/CHANGELOG.md | 9 ++ examples/html-wagmi/package.json | 4 +- examples/next-wagmi/CHANGELOG.md | 9 ++ examples/next-wagmi/package.json | 4 +- examples/react-ethers5/CHANGELOG.md | 9 ++ examples/react-ethers5/package.json | 4 +- examples/react-wagmi/CHANGELOG.md | 9 ++ examples/react-wagmi/package.json | 4 +- examples/vue-ethers5/CHANGELOG.md | 9 ++ examples/vue-ethers5/package.json | 4 +- examples/vue-wagmi/CHANGELOG.md | 9 ++ examples/vue-wagmi/package.json | 4 +- package-lock.json | 142 +++++++++--------- packages/common/CHANGELOG.md | 6 + packages/common/package.json | 2 +- packages/core/CHANGELOG.md | 10 ++ packages/core/package.json | 6 +- packages/ethers/CHANGELOG.md | 14 ++ packages/ethers/package.json | 18 +-- packages/ethers5/CHANGELOG.md | 14 ++ packages/ethers5/package.json | 18 +-- packages/polyfills/CHANGELOG.md | 6 + packages/polyfills/package.json | 2 +- packages/scaffold-react/CHANGELOG.md | 9 ++ packages/scaffold-react/package.json | 4 +- packages/scaffold-utils/CHANGELOG.md | 10 ++ packages/scaffold-utils/package.json | 6 +- packages/scaffold-utils/src/ConstantsUtil.ts | 2 +- packages/scaffold-vue/CHANGELOG.md | 9 ++ packages/scaffold-vue/package.json | 4 +- packages/scaffold/CHANGELOG.md | 11 ++ packages/scaffold/package.json | 10 +- packages/siwe/CHANGELOG.md | 10 ++ packages/siwe/package.json | 6 +- packages/ui/CHANGELOG.md | 6 + packages/ui/package.json | 4 +- packages/ui/src/composites/wui-chip/styles.ts | 31 +++- .../composites/wui-list-accordion/index.ts | 4 +- packages/ui/src/utils/ThemeUtil.ts | 22 +++ packages/ui/src/utils/TypeUtil.ts | 2 +- packages/wagmi/CHANGELOG.md | 14 ++ packages/wagmi/package.json | 18 +-- packages/wallet/CHANGELOG.md | 6 + packages/wallet/package.json | 2 +- 51 files changed, 413 insertions(+), 150 deletions(-) diff --git a/apps/gallery/CHANGELOG.md b/apps/gallery/CHANGELOG.md index 7d9f5bc158..5a98540553 100644 --- a/apps/gallery/CHANGELOG.md +++ b/apps/gallery/CHANGELOG.md @@ -1,5 +1,15 @@ # @apps/gallery +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ui@4.0.10 + - @web3modal/common@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/apps/gallery/package.json b/apps/gallery/package.json index 6bea49cd43..81546fc629 100644 --- a/apps/gallery/package.json +++ b/apps/gallery/package.json @@ -1,6 +1,6 @@ { "name": "@apps/gallery", - "version": "4.0.9", + "version": "4.0.10", "private": true, "main": "index.js", "scripts": { @@ -9,8 +9,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/ui": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/ui": "4.0.10", "lit": "3.1.0", "storybook": "7.6.7" }, diff --git a/apps/gallery/utils/PresetUtils.ts b/apps/gallery/utils/PresetUtils.ts index 18c187f7f5..9184e67b5c 100644 --- a/apps/gallery/utils/PresetUtils.ts +++ b/apps/gallery/utils/PresetUtils.ts @@ -246,7 +246,14 @@ export const logoOptions: LogoType[] = [ export const placementOptions: PlacementType[] = ['top', 'right', 'bottom', 'left'] -export const chipOptions: ChipType[] = ['fill', 'transparent', 'shade', 'success', 'shadeSmall'] +export const chipOptions: ChipType[] = [ + 'fill', + 'transparent', + 'shade', + 'success', + 'shadeSmall', + 'error' +] export const buttonOptions: ButtonType[] = ['fill', 'accent', 'shade', 'fullWidth', 'accentBg'] diff --git a/apps/laboratory/CHANGELOG.md b/apps/laboratory/CHANGELOG.md index caee50e97c..25479409ee 100644 --- a/apps/laboratory/CHANGELOG.md +++ b/apps/laboratory/CHANGELOG.md @@ -1,5 +1,16 @@ # @apps/laboratory +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ethers@4.0.10 + - @web3modal/ethers5@4.0.10 + - @web3modal/wagmi@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/apps/laboratory/package.json b/apps/laboratory/package.json index 9c70846d5c..8e89255377 100644 --- a/apps/laboratory/package.json +++ b/apps/laboratory/package.json @@ -1,6 +1,6 @@ { "name": "@apps/laboratory", - "version": "4.0.9", + "version": "4.0.10", "private": true, "scripts": { "dev:laboratory": "next dev", @@ -22,9 +22,9 @@ "@sentry/browser": "7.92.0", "@sentry/react": "7.92.0", "@tanstack/react-query": "5.17.19", - "@web3modal/ethers": "4.0.9", - "@web3modal/ethers5": "4.0.9", - "@web3modal/wagmi": "4.0.9", + "@web3modal/ethers": "4.0.10", + "@web3modal/ethers5": "4.0.10", + "@web3modal/wagmi": "4.0.10", "framer-motion": "10.17.9", "next": "14.0.4", "next-auth": "4.24.5", diff --git a/examples/html-ethers5/CHANGELOG.md b/examples/html-ethers5/CHANGELOG.md index 417cc769d7..e70e398872 100644 --- a/examples/html-ethers5/CHANGELOG.md +++ b/examples/html-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-ethers5 +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ethers5@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/html-ethers5/package.json b/examples/html-ethers5/package.json index 4887146bdb..eea745508c 100644 --- a/examples/html-ethers5/package.json +++ b/examples/html-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-ethers5", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3011", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/html-wagmi/CHANGELOG.md b/examples/html-wagmi/CHANGELOG.md index c988c66ed6..3500e2a051 100644 --- a/examples/html-wagmi/CHANGELOG.md +++ b/examples/html-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/html-wagmi +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/wagmi@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/html-wagmi/package.json b/examples/html-wagmi/package.json index dd9a2f057c..3f48b00d01 100644 --- a/examples/html-wagmi/package.json +++ b/examples/html-wagmi/package.json @@ -1,13 +1,13 @@ { "name": "@examples/html-wagmi", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3001", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0" }, diff --git a/examples/next-wagmi/CHANGELOG.md b/examples/next-wagmi/CHANGELOG.md index 7409443d07..9d570df284 100644 --- a/examples/next-wagmi/CHANGELOG.md +++ b/examples/next-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/next-wagmi +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/wagmi@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/next-wagmi/package.json b/examples/next-wagmi/package.json index cfc2812e3c..69023ab7a3 100644 --- a/examples/next-wagmi/package.json +++ b/examples/next-wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@examples/next-wagmi", - "version": "4.0.9", + "version": "4.0.10", "private": true, "scripts": { "dev": "next dev", @@ -10,7 +10,7 @@ }, "dependencies": { "@tanstack/react-query": "5.17.19", - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", diff --git a/examples/react-ethers5/CHANGELOG.md b/examples/react-ethers5/CHANGELOG.md index 30b2edb6f1..cff4dce766 100644 --- a/examples/react-ethers5/CHANGELOG.md +++ b/examples/react-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-ethers5 +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ethers5@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/react-ethers5/package.json b/examples/react-ethers5/package.json index 67ca9b4e29..df7844adf0 100644 --- a/examples/react-ethers5/package.json +++ b/examples/react-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/react-ethers5", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3012", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" diff --git a/examples/react-wagmi/CHANGELOG.md b/examples/react-wagmi/CHANGELOG.md index 4dda6fbe67..b051ee1a10 100644 --- a/examples/react-wagmi/CHANGELOG.md +++ b/examples/react-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/react-wagmi +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/wagmi@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/react-wagmi/package.json b/examples/react-wagmi/package.json index 8bc16df7f6..580516a421 100644 --- a/examples/react-wagmi/package.json +++ b/examples/react-wagmi/package.json @@ -1,14 +1,14 @@ { "name": "@examples/react-wagmi", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3002", "build:examples": "vite build" }, "dependencies": { "@tanstack/react-query": "5.17.19", - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.5.0", diff --git a/examples/vue-ethers5/CHANGELOG.md b/examples/vue-ethers5/CHANGELOG.md index 3329c4efdf..be7a273b29 100644 --- a/examples/vue-ethers5/CHANGELOG.md +++ b/examples/vue-ethers5/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-ethers5 +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ethers5@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/vue-ethers5/package.json b/examples/vue-ethers5/package.json index 874d22d3df..de27f62a22 100644 --- a/examples/vue-ethers5/package.json +++ b/examples/vue-ethers5/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-ethers5", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3013", "build:examples": "vite build" }, "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2" }, "devDependencies": { diff --git a/examples/vue-wagmi/CHANGELOG.md b/examples/vue-wagmi/CHANGELOG.md index 002c0b9ea6..0a96694c43 100644 --- a/examples/vue-wagmi/CHANGELOG.md +++ b/examples/vue-wagmi/CHANGELOG.md @@ -1,5 +1,14 @@ # @examples/vue-wagmi +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/wagmi@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/examples/vue-wagmi/package.json b/examples/vue-wagmi/package.json index 5699405c72..fde6917bb9 100644 --- a/examples/vue-wagmi/package.json +++ b/examples/vue-wagmi/package.json @@ -1,13 +1,13 @@ { "name": "@examples/vue-wagmi", "private": true, - "version": "4.0.9", + "version": "4.0.10", "scripts": { "dev:example": "vite --port 3003", "build:examples": "vite build" }, "dependencies": { - "@web3modal/wagmi": "4.0.9" + "@web3modal/wagmi": "4.0.10" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" diff --git a/package-lock.json b/package-lock.json index 6918620c0d..87cbdf95d0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -41,10 +41,10 @@ }, "apps/gallery": { "name": "@apps/gallery", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/ui": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/ui": "4.0.10", "lit": "3.1.0", "storybook": "7.6.7" }, @@ -70,7 +70,7 @@ }, "apps/laboratory": { "name": "@apps/laboratory", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { "@chakra-ui/react": "2.8.2", "@emotion/react": "11.11.3", @@ -78,9 +78,9 @@ "@sentry/browser": "7.92.0", "@sentry/react": "7.92.0", "@tanstack/react-query": "5.17.19", - "@web3modal/ethers": "4.0.9", - "@web3modal/ethers5": "4.0.9", - "@web3modal/wagmi": "4.0.9", + "@web3modal/ethers": "4.0.10", + "@web3modal/ethers5": "4.0.10", + "@web3modal/wagmi": "4.0.10", "framer-motion": "10.17.9", "next": "14.0.4", "next-auth": "4.24.5", @@ -112,9 +112,9 @@ }, "examples/html-ethers5": { "name": "@examples/html-ethers5", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2" }, "devDependencies": { @@ -170,9 +170,9 @@ }, "examples/html-wagmi": { "name": "@examples/html-wagmi", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0" }, @@ -182,10 +182,10 @@ }, "examples/next-wagmi": { "name": "@examples/next-wagmi", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { "@tanstack/react-query": "5.17.19", - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "next": "14.1.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -248,9 +248,9 @@ }, "examples/react-ethers5": { "name": "@examples/react-ethers5", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0" @@ -309,10 +309,10 @@ }, "examples/react-wagmi": { "name": "@examples/react-wagmi", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { "@tanstack/react-query": "5.17.19", - "@web3modal/wagmi": "4.0.9", + "@web3modal/wagmi": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.5.0", @@ -326,9 +326,9 @@ }, "examples/vue-ethers5": { "name": "@examples/vue-ethers5", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/ethers5": "4.0.9", + "@web3modal/ethers5": "4.0.10", "ethers": "5.7.2" }, "devDependencies": { @@ -384,9 +384,9 @@ }, "examples/vue-wagmi": { "name": "@examples/vue-wagmi", - "version": "4.0.9", + "version": "4.0.10", "dependencies": { - "@web3modal/wagmi": "4.0.9" + "@web3modal/wagmi": "4.0.10" }, "devDependencies": { "@vitejs/plugin-vue": "5.0.2" @@ -30323,7 +30323,7 @@ }, "packages/common": { "name": "@web3modal/common", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "dayjs": "1.11.10" @@ -30331,11 +30331,11 @@ }, "packages/core": { "name": "@web3modal/core", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/wallet": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/wallet": "4.0.10", "valtio": "1.11.2" }, "devDependencies": { @@ -30344,33 +30344,33 @@ }, "packages/ethers": { "name": "@web3modal/ethers", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10", "valtio": "1.11.2" }, "devDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": "6.9.0", "react": "18.2.0", "react-dom": "18.2.0", "vue": "3.4.3" }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" }, "peerDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": ">=6.0.0", "react": ">=17", "react-dom": ">=17", @@ -30541,33 +30541,33 @@ }, "packages/ethers5": { "name": "@web3modal/ethers5", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10", "valtio": "1.11.2" }, "devDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0", "vue": "3.4.3" }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" }, "peerDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": ">=5.0.0 <6.0.0", "react": ">=17", "react-dom": ">=17", @@ -30786,7 +30786,7 @@ }, "packages/polyfills": { "name": "@web3modal/polyfills", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "buffer": "6.0.3" @@ -30794,24 +30794,24 @@ }, "packages/scaffold": { "name": "@web3modal/scaffold", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/core": "4.0.9", - "@web3modal/ui": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/core": "4.0.10", + "@web3modal/ui": "4.0.10", "lit": "3.1.0" }, "devDependencies": { - "@web3modal/wallet": "4.0.9" + "@web3modal/wallet": "4.0.10" } }, "packages/scaffold-react": { "name": "@web3modal/scaffold-react", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.0.9" + "@web3modal/scaffold": "4.0.10" }, "peerDependencies": { "react": ">=17", @@ -30820,20 +30820,20 @@ }, "packages/scaffold-utils": { "name": "@web3modal/scaffold-utils", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", "valtio": "1.11.2" } }, "packages/scaffold-vue": { "name": "@web3modal/scaffold-vue", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/scaffold": "4.0.9" + "@web3modal/scaffold": "4.0.10" }, "peerDependencies": { "vue": ">=3" @@ -30851,11 +30851,11 @@ }, "packages/siwe": { "name": "@web3modal/siwe", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/core": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9" + "@web3modal/core": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10" }, "optionalDependencies": { "react": ">=17", @@ -30881,7 +30881,7 @@ }, "packages/ui": { "name": "@web3modal/ui", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "lit": "3.1.0", @@ -30889,7 +30889,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "4.0.9", + "@web3modal/common": "4.0.10", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" } @@ -30906,26 +30906,26 @@ }, "packages/wagmi": { "name": "@web3modal/wagmi", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9" + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10" }, "devDependencies": { "@wagmi/connectors": "4.1.4", "@wagmi/core": "2.2.1", - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.0.10", "vue": "3.4.3" }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" @@ -30933,7 +30933,7 @@ "peerDependencies": { "@wagmi/connectors": ">=4.0.0", "@wagmi/core": ">=2.0.0", - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "viem": ">=2.0.0", @@ -31227,7 +31227,7 @@ }, "packages/wallet": { "name": "@web3modal/wallet", - "version": "4.0.9", + "version": "4.0.10", "license": "Apache-2.0", "dependencies": { "zod": "3.22.4" diff --git a/packages/common/CHANGELOG.md b/packages/common/CHANGELOG.md index fe61cb1cf6..b9026f34b9 100644 --- a/packages/common/CHANGELOG.md +++ b/packages/common/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/common +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + ## 4.0.9 ### Patch Changes diff --git a/packages/common/package.json b/packages/common/package.json index 53bfa157a9..83096abdbc 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/common", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a732d72165..d77ab6e94f 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/core +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/common@4.0.10 + - @web3modal/wallet@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 2efb1dc669..4604b95eea 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/core", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -17,8 +17,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/wallet": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/wallet": "4.0.10", "valtio": "1.11.2" }, "devDependencies": { diff --git a/packages/ethers/CHANGELOG.md b/packages/ethers/CHANGELOG.md index 2b0daf6060..0db4b2e31e 100644 --- a/packages/ethers/CHANGELOG.md +++ b/packages/ethers/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/polyfills@4.0.10 + - @web3modal/scaffold@4.0.10 + - @web3modal/scaffold-react@4.0.10 + - @web3modal/scaffold-utils@4.0.10 + - @web3modal/scaffold-vue@4.0.10 + - @web3modal/siwe@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/ethers/package.json b/packages/ethers/package.json index b30892d78b..2a5462ea89 100644 --- a/packages/ethers/package.json +++ b/packages/ethers/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,22 +45,22 @@ "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10", "valtio": "1.11.2" }, "peerDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": ">=6.0.0", "react": ">=17", "react-dom": ">=17", "vue": ">=3" }, "devDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": "6.9.0", "react": "18.2.0", "react-dom": "18.2.0", @@ -81,7 +81,7 @@ } }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" diff --git a/packages/ethers5/CHANGELOG.md b/packages/ethers5/CHANGELOG.md index 94c52934bd..1b24d25442 100644 --- a/packages/ethers5/CHANGELOG.md +++ b/packages/ethers5/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/ethers5 +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/polyfills@4.0.10 + - @web3modal/scaffold@4.0.10 + - @web3modal/scaffold-react@4.0.10 + - @web3modal/scaffold-utils@4.0.10 + - @web3modal/scaffold-vue@4.0.10 + - @web3modal/siwe@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/ethers5/package.json b/packages/ethers5/package.json index 402c52a819..311c1ccc65 100644 --- a/packages/ethers5/package.json +++ b/packages/ethers5/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ethers5", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -45,22 +45,22 @@ "dependencies": { "@coinbase/wallet-sdk": "3.9.1", "@walletconnect/ethereum-provider": "2.11.1", - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10", "valtio": "1.11.2" }, "devDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": "5.7.2", "react": "18.2.0", "react-dom": "18.2.0", "vue": "3.4.3" }, "peerDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "ethers": ">=5.0.0 <6.0.0", "react": ">=17", "react-dom": ">=17", @@ -81,7 +81,7 @@ } }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" diff --git a/packages/polyfills/CHANGELOG.md b/packages/polyfills/CHANGELOG.md index f402855f7a..ec16de45a2 100644 --- a/packages/polyfills/CHANGELOG.md +++ b/packages/polyfills/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/polyfills +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + ## 4.0.9 ### Patch Changes diff --git a/packages/polyfills/package.json b/packages/polyfills/package.json index dc0b2c4669..14775b496d 100644 --- a/packages/polyfills/package.json +++ b/packages/polyfills/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/polyfills", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", diff --git a/packages/scaffold-react/CHANGELOG.md b/packages/scaffold-react/CHANGELOG.md index 16369aa961..4871ec5dd5 100644 --- a/packages/scaffold-react/CHANGELOG.md +++ b/packages/scaffold-react/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-react +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/scaffold@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/scaffold-react/package.json b/packages/scaffold-react/package.json index 504e9cc347..70d13b20a7 100644 --- a/packages/scaffold-react/package.json +++ b/packages/scaffold-react/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-react", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "4.0.9" + "@web3modal/scaffold": "4.0.10" }, "peerDependencies": { "react": ">=17", diff --git a/packages/scaffold-utils/CHANGELOG.md b/packages/scaffold-utils/CHANGELOG.md index 4b85a7820a..ff7dcbf62b 100644 --- a/packages/scaffold-utils/CHANGELOG.md +++ b/packages/scaffold-utils/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/scaffold-utils +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/polyfills@4.0.10 + - @web3modal/scaffold@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/scaffold-utils/package.json b/packages/scaffold-utils/package.json index b712275a51..95c7702c16 100644 --- a/packages/scaffold-utils/package.json +++ b/packages/scaffold-utils/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-utils", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -35,8 +35,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", "valtio": "1.11.2" }, "keywords": [ diff --git a/packages/scaffold-utils/src/ConstantsUtil.ts b/packages/scaffold-utils/src/ConstantsUtil.ts index 8c5040b013..dc7ea0a5c0 100644 --- a/packages/scaffold-utils/src/ConstantsUtil.ts +++ b/packages/scaffold-utils/src/ConstantsUtil.ts @@ -11,5 +11,5 @@ export const ConstantsUtil = { ADD_CHAIN_METHOD: 'wallet_addEthereumChain', EIP6963_ANNOUNCE_EVENT: 'eip6963:announceProvider', EIP6963_REQUEST_EVENT: 'eip6963:requestProvider', - VERSION: '4.0.9' + VERSION: '4.0.10' } diff --git a/packages/scaffold-vue/CHANGELOG.md b/packages/scaffold-vue/CHANGELOG.md index ce3943ee3f..acb935694d 100644 --- a/packages/scaffold-vue/CHANGELOG.md +++ b/packages/scaffold-vue/CHANGELOG.md @@ -1,5 +1,14 @@ # @web3modal/scaffold-vue +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/scaffold@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/scaffold-vue/package.json b/packages/scaffold-vue/package.json index 044ed525fd..115faaed3b 100644 --- a/packages/scaffold-vue/package.json +++ b/packages/scaffold-vue/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold-vue", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,7 +16,7 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/scaffold": "4.0.9" + "@web3modal/scaffold": "4.0.10" }, "peerDependencies": { "vue": ">=3" diff --git a/packages/scaffold/CHANGELOG.md b/packages/scaffold/CHANGELOG.md index 5a5a618d61..68a887ad09 100644 --- a/packages/scaffold/CHANGELOG.md +++ b/packages/scaffold/CHANGELOG.md @@ -1,5 +1,16 @@ # @web3modal/scaffold +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/ui@4.0.10 + - @web3modal/common@4.0.10 + - @web3modal/core@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/scaffold/package.json b/packages/scaffold/package.json index 98e64de026..b972d93b07 100644 --- a/packages/scaffold/package.json +++ b/packages/scaffold/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/scaffold", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -16,13 +16,13 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/common": "4.0.9", - "@web3modal/core": "4.0.9", - "@web3modal/ui": "4.0.9", + "@web3modal/common": "4.0.10", + "@web3modal/core": "4.0.10", + "@web3modal/ui": "4.0.10", "lit": "3.1.0" }, "devDependencies": { - "@web3modal/wallet": "4.0.9" + "@web3modal/wallet": "4.0.10" }, "keywords": [ "web3", diff --git a/packages/siwe/CHANGELOG.md b/packages/siwe/CHANGELOG.md index 91ed3e63dd..494f799b03 100644 --- a/packages/siwe/CHANGELOG.md +++ b/packages/siwe/CHANGELOG.md @@ -1,5 +1,15 @@ # @web3modal/siwe +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/core@4.0.10 + - @web3modal/scaffold-utils@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/siwe/package.json b/packages/siwe/package.json index b16175a93a..89873e485c 100644 --- a/packages/siwe/package.json +++ b/packages/siwe/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/siwe", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -16,8 +16,8 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/core": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9" + "@web3modal/core": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10" }, "peerDependencies": { "react": ">=17", diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index 03fe57e880..8b67e8ad60 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/ui +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + ## 4.0.9 ### Patch Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 9ec88a174f..007d4956d6 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/ui", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts", @@ -21,7 +21,7 @@ }, "devDependencies": { "@types/qrcode": "1.5.5", - "@web3modal/common": "4.0.9", + "@web3modal/common": "4.0.10", "eslint-plugin-lit": "1.11.0", "eslint-plugin-wc": "2.0.4" }, diff --git a/packages/ui/src/composites/wui-chip/styles.ts b/packages/ui/src/composites/wui-chip/styles.ts index 043924800a..8c172f6ab7 100644 --- a/packages/ui/src/composites/wui-chip/styles.ts +++ b/packages/ui/src/composites/wui-chip/styles.ts @@ -35,6 +35,13 @@ export default css` color: var(--wui-color-success-100); } + a[data-variant='error'] { + column-gap: var(--wui-spacing-xxs); + border: 1px solid var(--wui-error-glass-010); + background-color: var(--wui-error-glass-010); + color: var(--wui-color-error-100); + } + a[data-variant='transparent'] { column-gap: var(--wui-spacing-xxs); background-color: transparent; @@ -43,13 +50,15 @@ export default css` a[data-variant='transparent'], a[data-variant='success'], - a[data-variant='shadeSmall'] { + a[data-variant='shadeSmall'], + a[data-variant='error'] { padding: 7px var(--wui-spacing-s) 7px 10px; } a[data-variant='transparent']:has(wui-text:first-child), a[data-variant='success']:has(wui-text:first-child), - a[data-variant='shadeSmall']:has(wui-text:first-child) { + a[data-variant='shadeSmall']:has(wui-text:first-child), + a[data-variant='error']:has(wui-text:first-child) { padding: 7px var(--wui-spacing-s); } @@ -88,14 +97,16 @@ export default css` a[data-variant='transparent'] > wui-image, a[data-variant='success'] > wui-image, - a[data-variant='shadeSmall'] > wui-image { + a[data-variant='shadeSmall'] > wui-image, + a[data-variant='error'] > wui-image { width: 14px; height: 14px; } a[data-variant='transparent'] > wui-icon, a[data-variant='success'] > wui-icon, - a[data-variant='shadeSmall'] > wui-icon { + a[data-variant='shadeSmall'] > wui-icon, + a[data-variant='error'] > wui-icon { width: 12px; height: 12px; } @@ -117,6 +128,10 @@ export default css` background-color: var(--wui-success-glass-015); } + a[data-variant='error']:focus-visible { + background-color: var(--wui-error-glass-015); + } + a.disabled { color: var(--wui-gray-glass-015); background-color: var(--wui-gray-glass-015); @@ -140,6 +155,10 @@ export default css` a[data-variant='success']:hover { background-color: var(--wui-success-glass-015); } + + a[data-variant='error']:hover { + background-color: var(--wui-error-glass-015); + } } a[data-variant='fill']:active { @@ -158,4 +177,8 @@ export default css` a[data-variant='success']:active { background-color: var(--wui-success-glass-020); } + + a[data-variant='error']:active { + background-color: var(--wui-error-glass-020); + } ` diff --git a/packages/ui/src/composites/wui-list-accordion/index.ts b/packages/ui/src/composites/wui-list-accordion/index.ts index 1874c8f19f..2ce47297bc 100644 --- a/packages/ui/src/composites/wui-list-accordion/index.ts +++ b/packages/ui/src/composites/wui-list-accordion/index.ts @@ -25,7 +25,9 @@ export class WuiListAccordion extends LitElement { public override updated(changedProperties: Map) { super.updated(changedProperties) if (changedProperties.has('textTitle') || changedProperties.has('overflowedContent')) { - this.checkHeight() + setTimeout(() => { + this.checkHeight() + }, 1) } } diff --git a/packages/ui/src/utils/ThemeUtil.ts b/packages/ui/src/utils/ThemeUtil.ts index a056ec0ced..a9c401cb5f 100644 --- a/packages/ui/src/utils/ThemeUtil.ts +++ b/packages/ui/src/utils/ThemeUtil.ts @@ -504,6 +504,17 @@ function createRootStyles(themeVariables?: ThemeVariables) { --wui-success-glass-060: rgba(38, 217, 98, 0.6); --wui-success-glass-080: rgba(38, 217, 98, 0.8); + --wui-error-glass-001: rgba(242, 90, 103, 0.01); + --wui-error-glass-002: rgba(242, 90, 103, 0.02); + --wui-error-glass-005: rgba(242, 90, 103, 0.05); + --wui-error-glass-010: rgba(242, 90, 103, 0.1); + --wui-error-glass-015: rgba(242, 90, 103, 0.15); + --wui-error-glass-020: rgba(242, 90, 103, 0.2); + --wui-error-glass-025: rgba(242, 90, 103, 0.25); + --wui-error-glass-030: rgba(242, 90, 103, 0.3); + --wui-error-glass-060: rgba(242, 90, 103, 0.6); + --wui-error-glass-080: rgba(242, 90, 103, 0.8); + --wui-icon-box-bg-error-base-100: #3c2426; --wui-icon-box-bg-blue-base-100: #20303f; --wui-icon-box-bg-success-base-100: #1f3a28; @@ -583,6 +594,17 @@ function createRootStyles(themeVariables?: ThemeVariables) { --wui-success-glass-060: rgba(38, 181, 98, 0.6); --wui-success-glass-080: rgba(38, 181, 98, 0.8); + --wui-error-glass-001: rgba(240, 81, 66, 0.01); + --wui-error-glass-002: rgba(240, 81, 66, 0.02); + --wui-error-glass-005: rgba(240, 81, 66, 0.05); + --wui-error-glass-010: rgba(240, 81, 66, 0.1); + --wui-error-glass-015: rgba(240, 81, 66, 0.15); + --wui-error-glass-020: rgba(240, 81, 66, 0.2); + --wui-error-glass-025: rgba(240, 81, 66, 0.25); + --wui-error-glass-030: rgba(240, 81, 66, 0.3); + --wui-error-glass-060: rgba(240, 81, 66, 0.6); + --wui-error-glass-080: rgba(240, 81, 66, 0.8); + --wui-icon-box-bg-error-base-100: #f4dfdd; --wui-icon-box-bg-blue-base-100: #d9ecfb; --wui-icon-box-bg-success-base-100: #daf0e4; diff --git a/packages/ui/src/utils/TypeUtil.ts b/packages/ui/src/utils/TypeUtil.ts index 7c0180d882..45fee09ca0 100644 --- a/packages/ui/src/utils/TypeUtil.ts +++ b/packages/ui/src/utils/TypeUtil.ts @@ -187,7 +187,7 @@ export type LogoType = export type PlacementType = 'bottom' | 'left' | 'right' | 'top' -export type ChipType = 'fill' | 'shade' | 'shadeSmall' | 'transparent' | 'success' +export type ChipType = 'fill' | 'shade' | 'shadeSmall' | 'transparent' | 'success' | 'error' export type ButtonType = 'accent' | 'fill' | 'shade' | 'fullWidth' | 'accentBg' diff --git a/packages/wagmi/CHANGELOG.md b/packages/wagmi/CHANGELOG.md index f45d5d2931..91cd51328c 100644 --- a/packages/wagmi/CHANGELOG.md +++ b/packages/wagmi/CHANGELOG.md @@ -1,5 +1,19 @@ # @web3modal/wagmi +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + +- Updated dependencies []: + - @web3modal/polyfills@4.0.10 + - @web3modal/scaffold@4.0.10 + - @web3modal/scaffold-react@4.0.10 + - @web3modal/scaffold-utils@4.0.10 + - @web3modal/scaffold-vue@4.0.10 + - @web3modal/siwe@4.0.10 + ## 4.0.9 ### Patch Changes diff --git a/packages/wagmi/package.json b/packages/wagmi/package.json index d994637886..deecda3ee1 100644 --- a/packages/wagmi/package.json +++ b/packages/wagmi/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wagmi", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/exports/index.js", "types": "./dist/types/exports/index.d.ts", @@ -51,16 +51,16 @@ "lint": "eslint . --ext .js,.jsx,.ts,.tsx" }, "dependencies": { - "@web3modal/polyfills": "4.0.9", - "@web3modal/scaffold": "4.0.9", - "@web3modal/scaffold-react": "4.0.9", - "@web3modal/scaffold-utils": "4.0.9", - "@web3modal/scaffold-vue": "4.0.9" + "@web3modal/polyfills": "4.0.10", + "@web3modal/scaffold": "4.0.10", + "@web3modal/scaffold-react": "4.0.10", + "@web3modal/scaffold-utils": "4.0.10", + "@web3modal/scaffold-vue": "4.0.10" }, "devDependencies": { "@wagmi/connectors": "4.1.4", "@wagmi/core": "2.2.1", - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": "18.2.0", "react-dom": "18.2.0", "viem": "2.0.10", @@ -69,7 +69,7 @@ "peerDependencies": { "@wagmi/connectors": ">=4.0.0", "@wagmi/core": ">=2.0.0", - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "viem": ">=2.0.0", @@ -90,7 +90,7 @@ } }, "optionalDependencies": { - "@web3modal/siwe": "4.0.9", + "@web3modal/siwe": "4.0.10", "react": ">=17", "react-dom": ">=17", "vue": ">=3" diff --git a/packages/wallet/CHANGELOG.md b/packages/wallet/CHANGELOG.md index 3442b28391..83e90cc3f8 100644 --- a/packages/wallet/CHANGELOG.md +++ b/packages/wallet/CHANGELOG.md @@ -1,5 +1,11 @@ # @web3modal/wallet +## 4.0.10 + +### Patch Changes + +- Add error state to wui-chip composite + ## 4.0.9 ### Patch Changes diff --git a/packages/wallet/package.json b/packages/wallet/package.json index e0a75bf9fd..93d627570f 100644 --- a/packages/wallet/package.json +++ b/packages/wallet/package.json @@ -1,6 +1,6 @@ { "name": "@web3modal/wallet", - "version": "4.0.9", + "version": "4.0.10", "type": "module", "main": "./dist/esm/index.js", "types": "./dist/types/index.d.ts",