diff --git a/packages/components/accordion/CHANGELOG.md b/packages/components/accordion/CHANGELOG.md index dcdcfc395..71fecc88b 100644 --- a/packages/components/accordion/CHANGELOG.md +++ b/packages/components/accordion/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/accordion +## 0.1.25 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.1.24 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.23 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.1.22 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.1.21 ### Patch Changes diff --git a/packages/components/accordion/package.json b/packages/components/accordion/package.json index cda491847..bed109a4e 100644 --- a/packages/components/accordion/package.json +++ b/packages/components/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/accordion", - "version": "0.1.21", + "version": "0.1.25", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/action-bar/CHANGELOG.md b/packages/components/action-bar/CHANGELOG.md index 513fcdd93..e6c4120b6 100644 --- a/packages/components/action-bar/CHANGELOG.md +++ b/packages/components/action-bar/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/action-bar +## 0.2.6 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/alert@1.2.15 + +## 0.2.5 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/alert@1.2.14 + +## 0.2.4 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/alert@1.2.13 + +## 0.2.3 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/alert@1.2.12 + ## 0.2.2 ### Patch Changes diff --git a/packages/components/action-bar/package.json b/packages/components/action-bar/package.json index 812a9a69d..c1bdaaa44 100644 --- a/packages/components/action-bar/package.json +++ b/packages/components/action-bar/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/action-bar", - "version": "0.2.2", + "version": "0.2.6", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/alert/CHANGELOG.md b/packages/components/alert/CHANGELOG.md index 48f91bcbe..31b7c8251 100644 --- a/packages/components/alert/CHANGELOG.md +++ b/packages/components/alert/CHANGELOG.md @@ -1,5 +1,41 @@ # @mochi-ui/alert +## 1.2.15 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/button@0.4.21 + - @mochi-ui/icon-button@0.4.22 + +## 1.2.14 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/button@0.4.20 + - @mochi-ui/icon-button@0.4.21 + +## 1.2.13 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/button@0.4.19 + - @mochi-ui/icon-button@0.4.20 + +## 1.2.12 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/button@0.4.18 + - @mochi-ui/icon-button@0.4.19 + ## 1.2.11 ### Patch Changes diff --git a/packages/components/alert/package.json b/packages/components/alert/package.json index 3f167b0c3..98cb1c447 100644 --- a/packages/components/alert/package.json +++ b/packages/components/alert/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/alert", - "version": "1.2.11", + "version": "1.2.15", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/avatar-group/CHANGELOG.md b/packages/components/avatar-group/CHANGELOG.md index de9a357d1..3a5bd2320 100644 --- a/packages/components/avatar-group/CHANGELOG.md +++ b/packages/components/avatar-group/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/avatar-group +## 0.3.9 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/avatar@0.3.6 + +## 0.3.8 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/avatar@0.3.5 + +## 0.3.7 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/avatar@0.3.4 + +## 0.3.6 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/avatar@0.3.3 + ## 0.3.5 ### Patch Changes diff --git a/packages/components/avatar-group/package.json b/packages/components/avatar-group/package.json index 5fb8e775a..117dd3d28 100644 --- a/packages/components/avatar-group/package.json +++ b/packages/components/avatar-group/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/avatar-group", - "version": "0.3.5", + "version": "0.3.9", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/avatar/CHANGELOG.md b/packages/components/avatar/CHANGELOG.md index 462857b29..436d2764a 100644 --- a/packages/components/avatar/CHANGELOG.md +++ b/packages/components/avatar/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/avatar +## 0.3.6 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/skeleton@1.0.15 + +## 0.3.5 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/skeleton@1.0.14 + +## 0.3.4 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/skeleton@1.0.13 + +## 0.3.3 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/skeleton@1.0.12 + ## 0.3.2 ### Patch Changes diff --git a/packages/components/avatar/package.json b/packages/components/avatar/package.json index f0792a9c7..6e048d271 100644 --- a/packages/components/avatar/package.json +++ b/packages/components/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/avatar", - "version": "0.3.2", + "version": "0.3.6", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/badge/CHANGELOG.md b/packages/components/badge/CHANGELOG.md index 7b34d3920..727349988 100644 --- a/packages/components/badge/CHANGELOG.md +++ b/packages/components/badge/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/badge +## 0.3.8 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.7 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.3.6 ### Patch Changes diff --git a/packages/components/badge/package.json b/packages/components/badge/package.json index fd80c1922..6e320bcbd 100644 --- a/packages/components/badge/package.json +++ b/packages/components/badge/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/badge", - "version": "0.3.6", + "version": "0.3.8", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/button/CHANGELOG.md b/packages/components/button/CHANGELOG.md index 4a43c02dd..cd5d7cba4 100644 --- a/packages/components/button/CHANGELOG.md +++ b/packages/components/button/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/button +## 0.4.21 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.4.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.4.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.4.18 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.4.17 ### Patch Changes diff --git a/packages/components/button/package.json b/packages/components/button/package.json index f8fcf9591..f7008bcb0 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/button", - "version": "0.4.17", + "version": "0.4.21", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/card/CHANGELOG.md b/packages/components/card/CHANGELOG.md index 6c9d6e9a8..440fed81f 100644 --- a/packages/components/card/CHANGELOG.md +++ b/packages/components/card/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/card +## 0.1.11 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.10 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.1.9 ### Patch Changes diff --git a/packages/components/card/package.json b/packages/components/card/package.json index 7ee9c7cb9..52f9db691 100644 --- a/packages/components/card/package.json +++ b/packages/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/card", - "version": "0.1.9", + "version": "0.1.11", "description": "...", "keywords": [ "card" diff --git a/packages/components/checkbox/CHANGELOG.md b/packages/components/checkbox/CHANGELOG.md index 3265476e5..37b17ee81 100644 --- a/packages/components/checkbox/CHANGELOG.md +++ b/packages/components/checkbox/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/checkbox +## 0.1.25 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.1.24 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.23 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.1.22 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.1.21 ### Patch Changes diff --git a/packages/components/checkbox/package.json b/packages/components/checkbox/package.json index 64d340390..df280606b 100644 --- a/packages/components/checkbox/package.json +++ b/packages/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/checkbox", - "version": "0.1.21", + "version": "0.1.25", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/content-editable/CHANGELOG.md b/packages/components/content-editable/CHANGELOG.md index 366901cdc..ac53b3236 100644 --- a/packages/components/content-editable/CHANGELOG.md +++ b/packages/components/content-editable/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/content-editable +## 1.1.13 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 1.1.12 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 1.1.11 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 1.1.10 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 1.1.9 ### Patch Changes diff --git a/packages/components/content-editable/package.json b/packages/components/content-editable/package.json index d646044d3..eec7f4e41 100644 --- a/packages/components/content-editable/package.json +++ b/packages/components/content-editable/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/content-editable", - "version": "1.1.9", + "version": "1.1.13", "description": "React component for a div with editable contents", "keywords": [ "content-editable" diff --git a/packages/components/drawer/CHANGELOG.md b/packages/components/drawer/CHANGELOG.md index aa15d7336..169ec71ba 100644 --- a/packages/components/drawer/CHANGELOG.md +++ b/packages/components/drawer/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/drawer +## 0.3.12 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.3.11 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.10 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.3.9 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.3.8 ### Patch Changes diff --git a/packages/components/drawer/package.json b/packages/components/drawer/package.json index eb9dc9402..13c89aec1 100644 --- a/packages/components/drawer/package.json +++ b/packages/components/drawer/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/drawer", - "version": "0.3.8", + "version": "0.3.12", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/dropdown/CHANGELOG.md b/packages/components/dropdown/CHANGELOG.md index ccaee6a25..d07af0326 100644 --- a/packages/components/dropdown/CHANGELOG.md +++ b/packages/components/dropdown/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/dropdown +## 0.2.12 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.2.11 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.2.10 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.2.9 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.2.8 ### Patch Changes diff --git a/packages/components/dropdown/package.json b/packages/components/dropdown/package.json index fb08c59ea..c7ec9bda4 100644 --- a/packages/components/dropdown/package.json +++ b/packages/components/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/dropdown", - "version": "0.2.8", + "version": "0.2.12", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/footer/CHANGELOG.md b/packages/components/footer/CHANGELOG.md index 86ec9c60e..92f4ac6d8 100644 --- a/packages/components/footer/CHANGELOG.md +++ b/packages/components/footer/CHANGELOG.md @@ -1,5 +1,21 @@ # @mochi-ui/footer +## 0.1.14 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/typography@0.1.1 + +## 0.1.13 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/typography@0.1.1 + ## 0.1.12 ### Patch Changes diff --git a/packages/components/footer/package.json b/packages/components/footer/package.json index 674ef702a..629dbff0c 100644 --- a/packages/components/footer/package.json +++ b/packages/components/footer/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/footer", - "version": "0.1.12", + "version": "0.1.14", "description": "...", "keywords": [ "footer" diff --git a/packages/components/form/CHANGELOG.md b/packages/components/form/CHANGELOG.md index a4df03575..c9f5fbffc 100644 --- a/packages/components/form/CHANGELOG.md +++ b/packages/components/form/CHANGELOG.md @@ -1,5 +1,21 @@ # @mochi-ui/form +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/label@0.1.20 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/label@0.1.19 + ## 0.1.18 ### Patch Changes diff --git a/packages/components/form/package.json b/packages/components/form/package.json index 557db8065..a78686045 100644 --- a/packages/components/form/package.json +++ b/packages/components/form/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/form", - "version": "0.1.18", + "version": "0.1.20", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/icon-button/CHANGELOG.md b/packages/components/icon-button/CHANGELOG.md index ebc0968b3..83653f1d3 100644 --- a/packages/components/icon-button/CHANGELOG.md +++ b/packages/components/icon-button/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/icon-button +## 0.4.22 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.4.21 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.4.20 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.4.19 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.4.18 ### Patch Changes diff --git a/packages/components/icon-button/package.json b/packages/components/icon-button/package.json index b8e48d037..547115186 100644 --- a/packages/components/icon-button/package.json +++ b/packages/components/icon-button/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/icon-button", - "version": "0.4.18", + "version": "0.4.22", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/input/CHANGELOG.md b/packages/components/input/CHANGELOG.md index f3aee085d..5dc5515d7 100644 --- a/packages/components/input/CHANGELOG.md +++ b/packages/components/input/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/input +## 0.3.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.3.8 ### Patch Changes diff --git a/packages/components/input/package.json b/packages/components/input/package.json index 66b43cd80..357577b81 100644 --- a/packages/components/input/package.json +++ b/packages/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/input", - "version": "0.3.8", + "version": "0.3.10", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/label/CHANGELOG.md b/packages/components/label/CHANGELOG.md index 90ad1a69d..db6283a91 100644 --- a/packages/components/label/CHANGELOG.md +++ b/packages/components/label/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/label +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.1.18 ### Patch Changes diff --git a/packages/components/label/package.json b/packages/components/label/package.json index b811ffb56..150e08589 100644 --- a/packages/components/label/package.json +++ b/packages/components/label/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/label", - "version": "0.1.18", + "version": "0.1.20", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/layout/CHANGELOG.md b/packages/components/layout/CHANGELOG.md index 4639bd538..eea499250 100644 --- a/packages/components/layout/CHANGELOG.md +++ b/packages/components/layout/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/layout +## 0.1.22 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/sidebar@0.1.15 + +## 0.1.21 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/sidebar@0.1.14 + +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/sidebar@0.1.13 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/sidebar@0.1.12 + ## 0.1.18 ### Patch Changes diff --git a/packages/components/layout/package.json b/packages/components/layout/package.json index e646859cb..409f0c0d2 100644 --- a/packages/components/layout/package.json +++ b/packages/components/layout/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/layout", - "version": "0.1.18", + "version": "0.1.22", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/list/CHANGELOG.md b/packages/components/list/CHANGELOG.md index 0b0727466..bad99e7a0 100644 --- a/packages/components/list/CHANGELOG.md +++ b/packages/components/list/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/list +## 0.0.33 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.0.32 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.0.31 ### Patch Changes diff --git a/packages/components/list/package.json b/packages/components/list/package.json index b015562a3..881008308 100644 --- a/packages/components/list/package.json +++ b/packages/components/list/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/list", - "version": "0.0.31", + "version": "0.0.33", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/logo/CHANGELOG.md b/packages/components/logo/CHANGELOG.md index 7588f6d9e..22919cad1 100644 --- a/packages/components/logo/CHANGELOG.md +++ b/packages/components/logo/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/logo +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.1.18 ### Patch Changes diff --git a/packages/components/logo/package.json b/packages/components/logo/package.json index 5822d495a..9ea424685 100644 --- a/packages/components/logo/package.json +++ b/packages/components/logo/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/logo", - "version": "0.1.18", + "version": "0.1.20", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/modal/CHANGELOG.md b/packages/components/modal/CHANGELOG.md index 20bd1f134..01bf92d2e 100644 --- a/packages/components/modal/CHANGELOG.md +++ b/packages/components/modal/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/modal +## 0.3.12 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.3.11 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.10 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.3.9 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.3.8 ### Patch Changes diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index 77aeced3c..9856cb408 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/modal", - "version": "0.3.8", + "version": "0.3.12", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/page-content/CHANGELOG.md b/packages/components/page-content/CHANGELOG.md index 77e7d94b6..c03bfe511 100644 --- a/packages/components/page-content/CHANGELOG.md +++ b/packages/components/page-content/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/page-content +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.1.18 ### Patch Changes diff --git a/packages/components/page-content/package.json b/packages/components/page-content/package.json index b826881d8..41d98b113 100644 --- a/packages/components/page-content/package.json +++ b/packages/components/page-content/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/page-content", - "version": "0.1.18", + "version": "0.1.20", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/page-header/CHANGELOG.md b/packages/components/page-header/CHANGELOG.md index 0a773e908..fa67d38e9 100644 --- a/packages/components/page-header/CHANGELOG.md +++ b/packages/components/page-header/CHANGELOG.md @@ -1,5 +1,41 @@ # @mochi-ui/page-header +## 0.3.12 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/icon-button@0.4.22 + - @mochi-ui/typography@0.1.1 + +## 0.3.11 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/icon-button@0.4.21 + - @mochi-ui/typography@0.1.1 + +## 0.3.10 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/icon-button@0.4.20 + - @mochi-ui/typography@0.1.1 + +## 0.3.9 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/icon-button@0.4.19 + - @mochi-ui/typography@0.1.1 + ## 0.3.8 ### Patch Changes diff --git a/packages/components/page-header/package.json b/packages/components/page-header/package.json index 0e3bc2892..e3e503b1f 100644 --- a/packages/components/page-header/package.json +++ b/packages/components/page-header/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/page-header", - "version": "0.3.8", + "version": "0.3.12", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/pagination/CHANGELOG.md b/packages/components/pagination/CHANGELOG.md index 862d0d5e4..40106a313 100644 --- a/packages/components/pagination/CHANGELOG.md +++ b/packages/components/pagination/CHANGELOG.md @@ -1,5 +1,43 @@ # @mochi-ui/pagination +## 0.5.4 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/input@0.3.10 + - @mochi-ui/select@0.3.5 + +## 0.5.3 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/input@0.3.10 + - @mochi-ui/select@0.3.4 + - @mochi-ui/separator@0.0.34 + +## 0.5.2 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/input@0.3.9 + - @mochi-ui/select@0.3.3 + - @mochi-ui/separator@0.0.33 + +## 0.5.1 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/input@0.3.8 + - @mochi-ui/select@0.3.2 + ## 0.5.0 ### Minor Changes diff --git a/packages/components/pagination/package.json b/packages/components/pagination/package.json index cc85fb352..7ef10cc85 100644 --- a/packages/components/pagination/package.json +++ b/packages/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/pagination", - "version": "0.5.0", + "version": "0.5.4", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/popover/CHANGELOG.md b/packages/components/popover/CHANGELOG.md index 0007376d5..edf89b3aa 100644 --- a/packages/components/popover/CHANGELOG.md +++ b/packages/components/popover/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/popover +## 0.3.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.3.8 ### Patch Changes diff --git a/packages/components/popover/package.json b/packages/components/popover/package.json index 25d53e15f..0a0434983 100644 --- a/packages/components/popover/package.json +++ b/packages/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/popover", - "version": "0.3.8", + "version": "0.3.10", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/profile-badge/CHANGELOG.md b/packages/components/profile-badge/CHANGELOG.md index 7d388ca38..b2ad7dca9 100644 --- a/packages/components/profile-badge/CHANGELOG.md +++ b/packages/components/profile-badge/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/profile-badge +## 0.2.9 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/avatar@0.3.6 + +## 0.2.8 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/avatar@0.3.5 + +## 0.2.7 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/avatar@0.3.4 + +## 0.2.6 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/avatar@0.3.3 + ## 0.2.5 ### Patch Changes diff --git a/packages/components/profile-badge/package.json b/packages/components/profile-badge/package.json index 4475480bd..1515e5ae3 100644 --- a/packages/components/profile-badge/package.json +++ b/packages/components/profile-badge/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/profile-badge", - "version": "0.2.5", + "version": "0.2.9", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/scroll-area/CHANGELOG.md b/packages/components/scroll-area/CHANGELOG.md index 8a73f9eb2..9d102f78a 100644 --- a/packages/components/scroll-area/CHANGELOG.md +++ b/packages/components/scroll-area/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/scroll-area +## 0.0.11 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.0.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.0.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.0.8 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.0.7 ### Patch Changes diff --git a/packages/components/scroll-area/package.json b/packages/components/scroll-area/package.json index b52526d1b..3f19640f0 100644 --- a/packages/components/scroll-area/package.json +++ b/packages/components/scroll-area/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/scroll-area", - "version": "0.0.7", + "version": "0.0.11", "description": "Custom styled, cross-browser scrollable area using native functionality", "keywords": [ "scroll-area" diff --git a/packages/components/section-header/CHANGELOG.md b/packages/components/section-header/CHANGELOG.md index 552774618..267e6497d 100644 --- a/packages/components/section-header/CHANGELOG.md +++ b/packages/components/section-header/CHANGELOG.md @@ -1,5 +1,21 @@ # @mochi-ui/section-header +## 0.2.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/typography@0.1.1 + +## 0.2.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/typography@0.1.1 + ## 0.2.8 ### Patch Changes diff --git a/packages/components/section-header/package.json b/packages/components/section-header/package.json index 9ea84a1ed..36cb17510 100644 --- a/packages/components/section-header/package.json +++ b/packages/components/section-header/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/section-header", - "version": "0.2.8", + "version": "0.2.10", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/select/CHANGELOG.md b/packages/components/select/CHANGELOG.md index 4c30dd88e..05fe00b27 100644 --- a/packages/components/select/CHANGELOG.md +++ b/packages/components/select/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/select +## 0.3.5 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.3.4 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.3.3 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.3.2 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.3.1 ### Patch Changes diff --git a/packages/components/select/package.json b/packages/components/select/package.json index 2485fd622..002743a0b 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/select", - "version": "0.3.1", + "version": "0.3.5", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/separator/CHANGELOG.md b/packages/components/separator/CHANGELOG.md index d5e7f7400..b33564177 100644 --- a/packages/components/separator/CHANGELOG.md +++ b/packages/components/separator/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/separator +## 0.0.34 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.0.33 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.0.32 ### Patch Changes diff --git a/packages/components/separator/package.json b/packages/components/separator/package.json index 0607d46bf..7f1acc136 100644 --- a/packages/components/separator/package.json +++ b/packages/components/separator/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/separator", - "version": "0.0.32", + "version": "0.0.34", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/sidebar/CHANGELOG.md b/packages/components/sidebar/CHANGELOG.md index f51267182..6ecff7854 100644 --- a/packages/components/sidebar/CHANGELOG.md +++ b/packages/components/sidebar/CHANGELOG.md @@ -1,5 +1,43 @@ # @mochi-ui/sidebar +## 0.1.15 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/accordion@0.1.25 + - @mochi-ui/typography@0.1.1 + +## 0.1.14 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/accordion@0.1.24 + - @mochi-ui/tooltip@0.2.20 + - @mochi-ui/typography@0.1.1 + +## 0.1.13 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/accordion@0.1.23 + - @mochi-ui/tooltip@0.2.19 + - @mochi-ui/typography@0.1.1 + +## 0.1.12 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/accordion@0.1.22 + - @mochi-ui/typography@0.1.1 + ## 0.1.11 ### Patch Changes diff --git a/packages/components/sidebar/package.json b/packages/components/sidebar/package.json index b5e7d2db3..ef2e1ce47 100644 --- a/packages/components/sidebar/package.json +++ b/packages/components/sidebar/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/sidebar", - "version": "0.1.11", + "version": "0.1.15", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/skeleton/CHANGELOG.md b/packages/components/skeleton/CHANGELOG.md index 6b90e8d61..c7d96ae52 100644 --- a/packages/components/skeleton/CHANGELOG.md +++ b/packages/components/skeleton/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/skeleton +## 1.0.15 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 1.0.14 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 1.0.13 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 1.0.12 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 1.0.11 ### Patch Changes diff --git a/packages/components/skeleton/package.json b/packages/components/skeleton/package.json index 206c68648..bc5059158 100644 --- a/packages/components/skeleton/package.json +++ b/packages/components/skeleton/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/skeleton", - "version": "1.0.11", + "version": "1.0.15", "description": "Skeleton is a placeholder to show a loading state and the expected shape of a component.", "keywords": [ "skeleton" diff --git a/packages/components/stepper/.eslintrc.js b/packages/components/stepper/.eslintrc.js new file mode 100644 index 000000000..6f452d4d0 --- /dev/null +++ b/packages/components/stepper/.eslintrc.js @@ -0,0 +1,4 @@ +module.exports = { + root: true, + extends: ['custom/react'], +} diff --git a/packages/components/stepper/CHANGELOG.md b/packages/components/stepper/CHANGELOG.md new file mode 100644 index 000000000..b8a311cd3 --- /dev/null +++ b/packages/components/stepper/CHANGELOG.md @@ -0,0 +1,33 @@ +# @mochi-ui/stepper + +## 1.1.1 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/typography@0.1.1 + +## 1.1.0 + +### Minor Changes + +- [#834](https://github.com/consolelabs/mochi-ui/pull/834) [`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836) Thanks [@leduyhien152](https://github.com/leduyhien152)! - Fix Stepper component + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/typography@0.1.1 + +## 1.0.0 + +### Major Changes + +- [#832](https://github.com/consolelabs/mochi-ui/pull/832) [`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641) Thanks [@leduyhien152](https://github.com/leduyhien152)! - Add Stepper component + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/typography@0.1.1 diff --git a/packages/components/stepper/README.md b/packages/components/stepper/README.md new file mode 100644 index 000000000..d6a329e1d --- /dev/null +++ b/packages/components/stepper/README.md @@ -0,0 +1,33 @@ +# @mochi-ui/stepper + +The Stepper component is used for ... + +> This is an internal utility, not intended for public usage. + +For further details, visit our +[Stepper Documentation](https://ds.mochiui.com/?path=/docs/data-display-stepper--docs). + +## Installation + +Feel free to use the package manager of your choice: + +```sh +# Using PNPM +pnpm i @mochi-ui/stepper + +# Using NPM +npm i @mochi-ui/stepper + +# Using Yarn +yarn add @mochi-ui/stepper +``` + +## Contribution + +We welcome your contributions! For guidance on how to contribute, please refer +to our [Contribution Guidelines](/CONTRIBUTING.md). + +## Licence + +This project is licensed under the terms of the +[MIT license](https://choosealicense.com/licenses/mit/). diff --git a/packages/components/stepper/package.json b/packages/components/stepper/package.json new file mode 100644 index 000000000..41dec4ec8 --- /dev/null +++ b/packages/components/stepper/package.json @@ -0,0 +1,57 @@ +{ + "name": "@mochi-ui/stepper", + "version": "1.1.1", + "description": "A stepper component is used to indicate progress through a multi-step process.", + "keywords": [ + "stepper" + ], + "author": "@consolelabs", + "homepage": "https://ds.mochiui.com", + "license": "MIT", + "main": "src/index.ts", + "sideEffects": false, + "files": [ + "dist" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/consolelabs/mochi-ui.git", + "directory": "packages/components/stepper" + }, + "bugs": { + "url": "https://github.com/consolelabs/mochi-ui.git" + }, + "scripts": { + "build": "tsup src --dts", + "build:fast": "tsup src", + "dev": "pnpm build:fast -- --watch", + "lint": "eslint src/ --cache", + "clean": "rimraf dist .turbo", + "typecheck": "tsc --noEmit", + "prepack": "clean-package", + "postpack": "clean-package restore" + }, + "peerDependencies": { + "react": "^18.2.0", + "react-dom": "^18.2.0" + }, + "dependencies": { + "@mochi-ui/icons": "workspace:*", + "@mochi-ui/theme": "workspace:*", + "@mochi-ui/typography": "workspace:*", + "class-variance-authority": "^0.7.0", + "clsx": "^2.0.0" + }, + "devDependencies": { + "clean-package": "^2.2.0", + "eslint-config-custom": "workspace:*", + "prettier": "^3.1.1", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "tsconfig": "workspace:*" + }, + "clean-package": "../../../clean-package.config.json" +} diff --git a/packages/components/stepper/src/context.ts b/packages/components/stepper/src/context.ts new file mode 100644 index 000000000..23addba8a --- /dev/null +++ b/packages/components/stepper/src/context.ts @@ -0,0 +1,50 @@ +import { createContext, useContext } from 'react' + +export type StepItemStatus = 'current' | 'complete' | 'incomplete' + +type StepperContextValue = { + /** + * The status of the step + */ + status: StepItemStatus + /** + * The total number of steps + */ + count: number + /** + * The index of the step + */ + step: number + /** + * Whether the step is the last step + */ + isLast?: boolean + /** + * Whether the step is the first step + */ + isFirst?: boolean + /** + * Whether the step is loading + */ + isLoading?: boolean + /** + * Whether the step has an error + */ + isError?: boolean + /** + * The orientation of the stepper + * @default 'vertical' + */ + orientation: 'horizontal' | 'vertical' +} + +const StepperContext = createContext({ + status: 'incomplete', + count: 0, + step: 0, + orientation: 'vertical', +}) + +const useStepperContext = () => useContext(StepperContext) + +export { type StepperContextValue, StepperContext, useStepperContext } diff --git a/packages/components/stepper/src/index.ts b/packages/components/stepper/src/index.ts new file mode 100644 index 000000000..ca756a175 --- /dev/null +++ b/packages/components/stepper/src/index.ts @@ -0,0 +1,8 @@ +// export types, component +export * from './stepper' +export * from './step-item' +export * from './step-indicator' +export * from './step-content' +export * from './step-title' +export * from './step-description' +export * from './step-separator' diff --git a/packages/components/stepper/src/step-content.tsx b/packages/components/stepper/src/step-content.tsx new file mode 100644 index 000000000..9becb6650 --- /dev/null +++ b/packages/components/stepper/src/step-content.tsx @@ -0,0 +1,26 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' + +const { stepContentClsx } = stepper + +interface StepContentProps extends PropsWithChildren { + className?: string +} + +const StepContent = forwardRef( + (props, ref) => { + const { className, ...restProps } = props + + return ( +
+ ) + }, +) + +StepContent.displayName = 'StepContent' + +export { StepContent, type StepContentProps } diff --git a/packages/components/stepper/src/step-description.tsx b/packages/components/stepper/src/step-description.tsx new file mode 100644 index 000000000..d0be3c976 --- /dev/null +++ b/packages/components/stepper/src/step-description.tsx @@ -0,0 +1,29 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' +import { Typography } from '@mochi-ui/typography' + +const { stepDescriptionClsx } = stepper + +interface StepDescriptionProps extends PropsWithChildren { + className?: string +} + +const StepDescription = forwardRef( + (props, ref) => { + const { className, ...restProps } = props + + return ( +
+ +
+ ) + }, +) + +StepDescription.displayName = 'StepDescription' + +export { StepDescription, type StepDescriptionProps } diff --git a/packages/components/stepper/src/step-indicator.tsx b/packages/components/stepper/src/step-indicator.tsx new file mode 100644 index 000000000..46f8d181b --- /dev/null +++ b/packages/components/stepper/src/step-indicator.tsx @@ -0,0 +1,52 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' +import { CheckLine, CloseLine, SpinnerLine } from '@mochi-ui/icons' +import { useStepperContext } from './context' + +const { stepIndicatorClsx, stepIndicatorIconClsx, stepIndicatorLoadingClsx } = + stepper + +interface StepIndicatorProps extends PropsWithChildren { + className?: string +} + +const StepIndicator = forwardRef( + (props, ref) => { + const { className, ...restProps } = props + const { step, status: stepStatus, isLoading, isError } = useStepperContext() + + let status: 'loading' | 'error' | 'success' | 'current' | 'incomplete' = + 'current' + let children = null + if (isLoading) { + status = 'loading' + children = + } else if (isError) { + status = 'error' + children = + } else if (stepStatus === 'complete') { + status = 'success' + children = + } else { + status = stepStatus + children = step + } + + return ( +
+ {children} +
+ ) + }, +) + +StepIndicator.displayName = 'StepIndicator' + +export { StepIndicator, type StepIndicatorProps } diff --git a/packages/components/stepper/src/step-item.tsx b/packages/components/stepper/src/step-item.tsx new file mode 100644 index 000000000..e9063c1b2 --- /dev/null +++ b/packages/components/stepper/src/step-item.tsx @@ -0,0 +1,26 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' +import { useStepperContext } from './context' + +const { stepClsx } = stepper + +interface StepProps extends PropsWithChildren { + className?: string +} + +const Step = forwardRef((props, ref) => { + const { className, ...restProps } = props + const { isLast, orientation } = useStepperContext() + + return ( +
+ ) +}) + +Step.displayName = 'Step' + +export { Step, type StepProps } diff --git a/packages/components/stepper/src/step-separator.tsx b/packages/components/stepper/src/step-separator.tsx new file mode 100644 index 000000000..348aa738f --- /dev/null +++ b/packages/components/stepper/src/step-separator.tsx @@ -0,0 +1,28 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' +import { useStepperContext } from './context' + +const { stepSeparatorClsx } = stepper + +interface StepSeparatorProps extends PropsWithChildren { + className?: string +} + +const StepSeparator = forwardRef( + (props, ref) => { + const { className, ...restProps } = props + const { isLast, orientation } = useStepperContext() + + return ( +
+ ) + }, +) + +StepSeparator.displayName = 'StepSeparator' + +export { StepSeparator, type StepSeparatorProps } diff --git a/packages/components/stepper/src/step-title.tsx b/packages/components/stepper/src/step-title.tsx new file mode 100644 index 000000000..9b8f645c4 --- /dev/null +++ b/packages/components/stepper/src/step-title.tsx @@ -0,0 +1,27 @@ +import { PropsWithChildren, forwardRef } from 'react' +import { stepper } from '@mochi-ui/theme' +import { Typography } from '@mochi-ui/typography' + +const { stepTitleClsx } = stepper + +interface StepTitleProps extends PropsWithChildren { + className?: string +} + +const StepTitle = forwardRef((props, ref) => { + const { className, ...restProps } = props + + return ( +
+ +
+ ) +}) + +StepTitle.displayName = 'StepTitle' + +export { StepTitle, type StepTitleProps } diff --git a/packages/components/stepper/src/stepper.tsx b/packages/components/stepper/src/stepper.tsx new file mode 100644 index 000000000..032f43e0a --- /dev/null +++ b/packages/components/stepper/src/stepper.tsx @@ -0,0 +1,73 @@ +import { Children, PropsWithChildren, forwardRef, useCallback } from 'react' +import { stepper } from '@mochi-ui/theme' +import { StepItemStatus, StepperContext, StepperContextValue } from './context' + +const { stepperCva } = stepper + +interface StepperProps extends PropsWithChildren { + currentStep: number + isLoading?: boolean + isError?: boolean + orientation?: 'horizontal' | 'vertical' + className?: string +} + +const Stepper = forwardRef((props, ref) => { + const { + children, + currentStep = 0, + isLoading, + isError, + orientation = 'vertical', + className, + ...restProps + } = props + + const items = Children.toArray(children) + const count = items.length + + const getStatus = useCallback( + (step: number): StepItemStatus => { + if (step < currentStep) { + return 'complete' + } + if (step > currentStep) { + return 'incomplete' + } + return 'current' + }, + [currentStep], + ) + + const getValue = useCallback( + (step: number): StepperContextValue => ({ + step, + count, + isFirst: step === 1, + isLast: step === count, + orientation, + ...(getStatus(step) === 'current' + ? { status: getStatus(step), isLoading, isError } + : { status: getStatus(step) }), + }), + [count, getStatus, isError, isLoading, orientation], + ) + + return ( +
+ {items.map((item, index) => ( + + {item} + + ))} +
+ ) +}) + +Stepper.displayName = 'Stepper' + +export { Stepper, type StepperProps } diff --git a/packages/components/stepper/stories/stepper.stories.tsx b/packages/components/stepper/stories/stepper.stories.tsx new file mode 100644 index 000000000..e89c3c4d1 --- /dev/null +++ b/packages/components/stepper/stories/stepper.stories.tsx @@ -0,0 +1,81 @@ +import { Meta, StoryObj } from '@storybook/react' + +import { + Step, + StepContent, + StepDescription, + StepIndicator, + StepSeparator, + StepTitle, + Stepper, + StepperProps, +} from '../src' + +const meta: Meta = { + title: 'Data display/Stepper', + component: Stepper, + parameters: { + // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout + layout: 'centered', + }, + // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs + tags: ['autodocs'], + argTypes: { + currentStep: { + control: { + type: 'number', + }, + }, + isLoading: { + control: { + type: 'boolean', + }, + }, + isError: { + control: { + type: 'boolean', + }, + }, + orientation: { + control: 'radio', + options: ['horizontal', 'vertical'], + table: { + defaultValue: 'vertical', + }, + }, + }, +} + +export default meta + +type Story = StoryObj + +const Template = (args: StepperProps) => { + const steps = [ + { title: 'First', description: 'Contact Info' }, + { title: 'Second', description: 'Date & Time' }, + { title: 'Third', description: 'Select Rooms' }, + ] + + return ( +
+ + {steps.map((step, index) => ( + + + + {step.title} + {step.description} + + + + ))} + +
+ ) +} + +export const Default: Story = { + render: Template, + args: {}, +} diff --git a/packages/components/stepper/tsconfig.json b/packages/components/stepper/tsconfig.json new file mode 100644 index 000000000..a31963aec --- /dev/null +++ b/packages/components/stepper/tsconfig.json @@ -0,0 +1,5 @@ +{ + "extends": "tsconfig/react-library.json", + "include": ["**/*.ts", "**/*.tsx"], + "exclude": ["dist", "node_modules"] +} diff --git a/packages/components/stepper/tsup.config.ts b/packages/components/stepper/tsup.config.ts new file mode 100644 index 000000000..a6567bef5 --- /dev/null +++ b/packages/components/stepper/tsup.config.ts @@ -0,0 +1,8 @@ +import { defineConfig } from 'tsup' + +export default defineConfig({ + clean: true, + splitting: false, + target: 'es2019', + format: ['cjs', 'esm'], +}) diff --git a/packages/components/switch/CHANGELOG.md b/packages/components/switch/CHANGELOG.md index c97e6c238..cddb88d9a 100644 --- a/packages/components/switch/CHANGELOG.md +++ b/packages/components/switch/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/switch +## 0.0.31 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.0.30 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.0.29 ### Patch Changes diff --git a/packages/components/switch/package.json b/packages/components/switch/package.json index 3d849f7d4..a834e0d78 100644 --- a/packages/components/switch/package.json +++ b/packages/components/switch/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/switch", - "version": "0.0.29", + "version": "0.0.31", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/table/CHANGELOG.md b/packages/components/table/CHANGELOG.md index c20d14be9..8f65c82b1 100644 --- a/packages/components/table/CHANGELOG.md +++ b/packages/components/table/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/table +## 0.8.5 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/skeleton@1.0.15 + +## 0.8.4 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/skeleton@1.0.14 + +## 0.8.3 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/skeleton@1.0.13 + +## 0.8.2 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/skeleton@1.0.12 + ## 0.8.1 ### Patch Changes diff --git a/packages/components/table/package.json b/packages/components/table/package.json index c35785ebc..e4bb48a51 100644 --- a/packages/components/table/package.json +++ b/packages/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/table", - "version": "0.8.1", + "version": "0.8.5", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/tabs/CHANGELOG.md b/packages/components/tabs/CHANGELOG.md index 905c2de05..5529e3943 100644 --- a/packages/components/tabs/CHANGELOG.md +++ b/packages/components/tabs/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/tabs +## 0.2.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.2.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.2.8 ### Patch Changes diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index 8fd8ea39c..bc969f21c 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/tabs", - "version": "0.2.8", + "version": "0.2.10", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/toast/CHANGELOG.md b/packages/components/toast/CHANGELOG.md index d4c032f39..83fee283d 100644 --- a/packages/components/toast/CHANGELOG.md +++ b/packages/components/toast/CHANGELOG.md @@ -1,5 +1,35 @@ # @mochi-ui/toast +## 0.1.15 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/alert@1.2.15 + +## 0.1.14 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/alert@1.2.14 + +## 0.1.13 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/alert@1.2.13 + +## 0.1.12 + +### Patch Changes + +- Updated dependencies []: + - @mochi-ui/alert@1.2.12 + ## 0.1.11 ### Patch Changes diff --git a/packages/components/toast/package.json b/packages/components/toast/package.json index 8b7e314e0..e04fb77ee 100644 --- a/packages/components/toast/package.json +++ b/packages/components/toast/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/toast", - "version": "0.1.11", + "version": "0.1.15", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/tooltip/CHANGELOG.md b/packages/components/tooltip/CHANGELOG.md index 4c719c319..ec1fb29c5 100644 --- a/packages/components/tooltip/CHANGELOG.md +++ b/packages/components/tooltip/CHANGELOG.md @@ -1,5 +1,19 @@ # @mochi-ui/tooltip +## 0.2.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.2.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + ## 0.2.18 ### Patch Changes diff --git a/packages/components/tooltip/package.json b/packages/components/tooltip/package.json index f41af04fc..aae20f198 100644 --- a/packages/components/tooltip/package.json +++ b/packages/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/tooltip", - "version": "0.2.18", + "version": "0.2.20", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/top-bar/CHANGELOG.md b/packages/components/top-bar/CHANGELOG.md index 93c5f8e9f..a1e6a0b56 100644 --- a/packages/components/top-bar/CHANGELOG.md +++ b/packages/components/top-bar/CHANGELOG.md @@ -1,5 +1,39 @@ # @mochi-ui/top-bar +## 0.1.21 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/icon-button@0.4.22 + +## 0.1.20 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/icon-button@0.4.21 + - @mochi-ui/list@0.0.33 + +## 0.1.19 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/icon-button@0.4.20 + - @mochi-ui/list@0.0.32 + +## 0.1.18 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/icon-button@0.4.19 + ## 0.1.17 ### Patch Changes diff --git a/packages/components/top-bar/package.json b/packages/components/top-bar/package.json index f35156af9..79ece6701 100644 --- a/packages/components/top-bar/package.json +++ b/packages/components/top-bar/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/top-bar", - "version": "0.1.17", + "version": "0.1.21", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/components/value-change/CHANGELOG.md b/packages/components/value-change/CHANGELOG.md index f71c62e9d..5615bed79 100644 --- a/packages/components/value-change/CHANGELOG.md +++ b/packages/components/value-change/CHANGELOG.md @@ -1,5 +1,33 @@ # @mochi-ui/value-change +## 0.0.11 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + +## 0.0.10 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + +## 0.0.9 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + +## 0.0.8 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + ## 0.0.7 ### Patch Changes diff --git a/packages/components/value-change/package.json b/packages/components/value-change/package.json index 55f76435c..581244e4f 100644 --- a/packages/components/value-change/package.json +++ b/packages/components/value-change/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/value-change", - "version": "0.0.7", + "version": "0.0.11", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index f6babd1bd..d839214e8 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,188 @@ # @mochi-ui/core +## 0.14.2 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/accordion@0.1.25 + - @mochi-ui/alert@1.2.15 + - @mochi-ui/avatar-group@0.3.9 + - @mochi-ui/badge@0.3.8 + - @mochi-ui/button@0.4.21 + - @mochi-ui/checkbox@0.1.25 + - @mochi-ui/content-editable@1.1.13 + - @mochi-ui/drawer@0.3.12 + - @mochi-ui/dropdown@0.2.12 + - @mochi-ui/footer@0.1.14 + - @mochi-ui/form@0.1.20 + - @mochi-ui/icon-button@0.4.22 + - @mochi-ui/input@0.3.10 + - @mochi-ui/layout@0.1.22 + - @mochi-ui/modal@0.3.12 + - @mochi-ui/page-header@0.3.12 + - @mochi-ui/pagination@0.5.4 + - @mochi-ui/popover@0.3.10 + - @mochi-ui/scroll-area@0.0.11 + - @mochi-ui/section-header@0.2.10 + - @mochi-ui/select@0.3.5 + - @mochi-ui/sidebar@0.1.15 + - @mochi-ui/skeleton@1.0.15 + - @mochi-ui/stepper@1.1.1 + - @mochi-ui/table@0.8.5 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/toggle-button@0.1.2 + - @mochi-ui/top-bar@0.1.21 + - @mochi-ui/typography@0.1.1 + - @mochi-ui/value-change@0.0.11 + - @mochi-ui/action-bar@0.2.6 + - @mochi-ui/toast@0.1.15 + - @mochi-ui/avatar@0.3.6 + - @mochi-ui/profile-badge@0.2.9 + +## 0.14.1 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/stepper@1.1.0 + - @mochi-ui/theme@0.20.0 + - @mochi-ui/accordion@0.1.24 + - @mochi-ui/action-bar@0.2.5 + - @mochi-ui/alert@1.2.14 + - @mochi-ui/avatar@0.3.5 + - @mochi-ui/avatar-group@0.3.8 + - @mochi-ui/badge@0.3.8 + - @mochi-ui/button@0.4.20 + - @mochi-ui/card@0.1.11 + - @mochi-ui/checkbox@0.1.24 + - @mochi-ui/content-editable@1.1.12 + - @mochi-ui/drawer@0.3.11 + - @mochi-ui/dropdown@0.2.11 + - @mochi-ui/footer@0.1.14 + - @mochi-ui/form@0.1.20 + - @mochi-ui/icon-button@0.4.21 + - @mochi-ui/input@0.3.10 + - @mochi-ui/label@0.1.20 + - @mochi-ui/layout@0.1.21 + - @mochi-ui/list@0.0.33 + - @mochi-ui/logo@0.1.20 + - @mochi-ui/modal@0.3.11 + - @mochi-ui/page-content@0.1.20 + - @mochi-ui/page-header@0.3.11 + - @mochi-ui/pagination@0.5.3 + - @mochi-ui/popover@0.3.10 + - @mochi-ui/profile-badge@0.2.8 + - @mochi-ui/scroll-area@0.0.10 + - @mochi-ui/section-header@0.2.10 + - @mochi-ui/select@0.3.4 + - @mochi-ui/separator@0.0.34 + - @mochi-ui/sidebar@0.1.14 + - @mochi-ui/skeleton@1.0.14 + - @mochi-ui/switch@0.0.31 + - @mochi-ui/table@0.8.4 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/toast@0.1.14 + - @mochi-ui/toggle-button@0.1.2 + - @mochi-ui/tooltip@0.2.20 + - @mochi-ui/top-bar@0.1.20 + - @mochi-ui/typography@0.1.1 + - @mochi-ui/value-change@0.0.10 + +## 0.14.0 + +### Minor Changes + +- [#832](https://github.com/consolelabs/mochi-ui/pull/832) [`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641) Thanks [@leduyhien152](https://github.com/leduyhien152)! - Add Stepper component + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/stepper@1.0.0 + - @mochi-ui/theme@0.19.0 + - @mochi-ui/accordion@0.1.23 + - @mochi-ui/action-bar@0.2.4 + - @mochi-ui/alert@1.2.13 + - @mochi-ui/avatar@0.3.4 + - @mochi-ui/avatar-group@0.3.7 + - @mochi-ui/badge@0.3.7 + - @mochi-ui/button@0.4.19 + - @mochi-ui/card@0.1.10 + - @mochi-ui/checkbox@0.1.23 + - @mochi-ui/content-editable@1.1.11 + - @mochi-ui/drawer@0.3.10 + - @mochi-ui/dropdown@0.2.10 + - @mochi-ui/footer@0.1.13 + - @mochi-ui/form@0.1.19 + - @mochi-ui/icon-button@0.4.20 + - @mochi-ui/input@0.3.9 + - @mochi-ui/label@0.1.19 + - @mochi-ui/layout@0.1.20 + - @mochi-ui/list@0.0.32 + - @mochi-ui/logo@0.1.19 + - @mochi-ui/modal@0.3.10 + - @mochi-ui/page-content@0.1.19 + - @mochi-ui/page-header@0.3.10 + - @mochi-ui/pagination@0.5.2 + - @mochi-ui/popover@0.3.9 + - @mochi-ui/profile-badge@0.2.7 + - @mochi-ui/scroll-area@0.0.9 + - @mochi-ui/section-header@0.2.9 + - @mochi-ui/select@0.3.3 + - @mochi-ui/separator@0.0.33 + - @mochi-ui/sidebar@0.1.13 + - @mochi-ui/skeleton@1.0.13 + - @mochi-ui/switch@0.0.30 + - @mochi-ui/table@0.8.3 + - @mochi-ui/tabs@0.2.9 + - @mochi-ui/toast@0.1.13 + - @mochi-ui/toggle-button@0.1.2 + - @mochi-ui/tooltip@0.2.19 + - @mochi-ui/top-bar@0.1.19 + - @mochi-ui/typography@0.1.1 + - @mochi-ui/value-change@0.0.9 + +## 0.13.6 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/accordion@0.1.22 + - @mochi-ui/alert@1.2.12 + - @mochi-ui/avatar-group@0.3.6 + - @mochi-ui/badge@0.3.6 + - @mochi-ui/button@0.4.18 + - @mochi-ui/checkbox@0.1.22 + - @mochi-ui/content-editable@1.1.10 + - @mochi-ui/drawer@0.3.9 + - @mochi-ui/dropdown@0.2.9 + - @mochi-ui/footer@0.1.12 + - @mochi-ui/form@0.1.18 + - @mochi-ui/icon-button@0.4.19 + - @mochi-ui/input@0.3.8 + - @mochi-ui/layout@0.1.19 + - @mochi-ui/modal@0.3.9 + - @mochi-ui/page-header@0.3.9 + - @mochi-ui/pagination@0.5.1 + - @mochi-ui/popover@0.3.8 + - @mochi-ui/scroll-area@0.0.8 + - @mochi-ui/section-header@0.2.8 + - @mochi-ui/select@0.3.2 + - @mochi-ui/sidebar@0.1.12 + - @mochi-ui/skeleton@1.0.12 + - @mochi-ui/table@0.8.2 + - @mochi-ui/tabs@0.2.8 + - @mochi-ui/toggle-button@0.1.2 + - @mochi-ui/top-bar@0.1.18 + - @mochi-ui/typography@0.1.1 + - @mochi-ui/value-change@0.0.8 + - @mochi-ui/action-bar@0.2.3 + - @mochi-ui/toast@0.1.12 + - @mochi-ui/avatar@0.3.3 + - @mochi-ui/profile-badge@0.2.6 + ## 0.13.5 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 880a69455..f6c7d8bfb 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/core", - "version": "0.13.5", + "version": "0.14.2", "sideEffects": false, "main": "src/index.ts", "files": [ @@ -30,6 +30,7 @@ "tsconfig": "workspace:*" }, "dependencies": { + "@mochi-ui/stepper": "workspace:*", "@mochi-ui/scroll-area": "workspace:*", "@mochi-ui/card": "workspace:*", "@mochi-ui/skeleton": "workspace:*", diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts index 0f032d35a..2911fbbd0 100644 --- a/packages/core/src/index.ts +++ b/packages/core/src/index.ts @@ -1,4 +1,5 @@ // Plop adding component indicator - do not remove this line +export * from '@mochi-ui/stepper' export * from '@mochi-ui/scroll-area' export * from '@mochi-ui/card' export * from '@mochi-ui/skeleton' diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index bc22eceee..f67a75fdd 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -1,5 +1,17 @@ # @mochi-ui/icons +## 0.8.0 + +### Minor Changes + +- [#838](https://github.com/consolelabs/mochi-ui/pull/838) [`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64) Thanks [@tuanddd](https://github.com/tuanddd)! - Add new icons + +## 0.7.5 + +### Patch Changes + +- [#830](https://github.com/consolelabs/mochi-ui/pull/830) [`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023) Thanks [@tuanddd](https://github.com/tuanddd)! - Fix web3 icons + ## 0.7.4 ### Patch Changes diff --git a/packages/icons/package.json b/packages/icons/package.json index 6e5e5ddb3..0f4a1a1ef 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/icons", - "version": "0.7.4", + "version": "0.8.0", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/icons/src/svg/line/calendar.svg b/packages/icons/src/svg/line/calendar.svg new file mode 100644 index 000000000..d4856a095 --- /dev/null +++ b/packages/icons/src/svg/line/calendar.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/packages/icons/src/svg/line/chart.svg b/packages/icons/src/svg/line/chart.svg new file mode 100644 index 000000000..6d2b9c600 --- /dev/null +++ b/packages/icons/src/svg/line/chart.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/icons/src/svg/line/gift.svg b/packages/icons/src/svg/line/gift.svg new file mode 100644 index 000000000..a2bd451f6 --- /dev/null +++ b/packages/icons/src/svg/line/gift.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/icons/src/svg/line/trophy.svg b/packages/icons/src/svg/line/trophy.svg new file mode 100644 index 000000000..7176bcb33 --- /dev/null +++ b/packages/icons/src/svg/line/trophy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/icons/src/svg/solid/binocular.svg b/packages/icons/src/svg/solid/binocular.svg new file mode 100644 index 000000000..1b884946b --- /dev/null +++ b/packages/icons/src/svg/solid/binocular.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/icons/src/svg/solid/fire.svg b/packages/icons/src/svg/solid/fire.svg new file mode 100644 index 000000000..a280169e8 --- /dev/null +++ b/packages/icons/src/svg/solid/fire.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/icons/src/svg/solid/trophy.svg b/packages/icons/src/svg/solid/trophy.svg new file mode 100644 index 000000000..d2f00f4c8 --- /dev/null +++ b/packages/icons/src/svg/solid/trophy.svg @@ -0,0 +1,3 @@ + + + diff --git a/packages/icons/src/svg/solid/vault2.svg b/packages/icons/src/svg/solid/vault2.svg new file mode 100644 index 000000000..89d9301a8 --- /dev/null +++ b/packages/icons/src/svg/solid/vault2.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/icons/src/svg/web3/base.svg b/packages/icons/src/svg/web3/base.svg index a2ff7498a..03640481f 100644 --- a/packages/icons/src/svg/web3/base.svg +++ b/packages/icons/src/svg/web3/base.svg @@ -1,9 +1,9 @@ - + - - + + - + diff --git a/packages/icons/src/svg/web3/mochi.svg b/packages/icons/src/svg/web3/mochi.svg index 881c746ea..db3f64767 100644 --- a/packages/icons/src/svg/web3/mochi.svg +++ b/packages/icons/src/svg/web3/mochi.svg @@ -1,10 +1,10 @@ - - + + - + - + diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md index 5b1fcc395..a13a7ac75 100644 --- a/packages/theme/CHANGELOG.md +++ b/packages/theme/CHANGELOG.md @@ -1,5 +1,17 @@ # @mochi-ui/theme +## 0.20.0 + +### Minor Changes + +- [#834](https://github.com/consolelabs/mochi-ui/pull/834) [`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836) Thanks [@leduyhien152](https://github.com/leduyhien152)! - Fix Stepper component + +## 0.19.0 + +### Minor Changes + +- [#832](https://github.com/consolelabs/mochi-ui/pull/832) [`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641) Thanks [@leduyhien152](https://github.com/leduyhien152)! - Add Stepper component + ## 0.18.0 ### Minor Changes diff --git a/packages/theme/package.json b/packages/theme/package.json index 4822f3c14..025158d7b 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-ui/theme", - "version": "0.18.0", + "version": "0.20.0", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/packages/theme/src/components/index.ts b/packages/theme/src/components/index.ts index 8fc54cbf6..ab901b9ff 100644 --- a/packages/theme/src/components/index.ts +++ b/packages/theme/src/components/index.ts @@ -40,3 +40,4 @@ export * from './action-bar' export * from './connect-wallet-widget' export * from './scroll-area' export * from './value-change' +export * from './stepper' diff --git a/packages/theme/src/components/stepper.ts b/packages/theme/src/components/stepper.ts new file mode 100644 index 000000000..03f3f9fbf --- /dev/null +++ b/packages/theme/src/components/stepper.ts @@ -0,0 +1,105 @@ +import { cva } from 'class-variance-authority' +import clsx from 'clsx' + +const stepperCva = cva('flex', { + variants: { + orientation: { + horizontal: 'flex-row', + vertical: 'flex-col', + }, + }, + defaultVariants: { + orientation: 'vertical', + }, +}) + +const stepClsx = ({ + className = '', + isLast, + orientation, +}: { + className?: string + isLast?: boolean + orientation?: 'horizontal' | 'vertical' +} = {}) => + clsx( + 'flex items-center space-x-3', + { + 'relative mb-7': orientation === 'vertical' && !isLast, + }, + className, + ) + +const stepIndicatorClsx = ({ + className = '', + status, +}: { + className?: string + status?: 'loading' | 'error' | 'success' | 'current' | 'incomplete' +} = {}) => + clsx( + 'w-6 h-6 flex items-center justify-center text-xs font-semibold z-10', + { 'bg-danger-solid rounded-full': status === 'error' }, + { 'bg-success-solid rounded-full': status === 'success' }, + { + 'border border-neutral-outline-fg rounded-full bg-background-surface': + status === 'current', + }, + { + 'border border-neutral-outline-disable-fg rounded-full bg-background-level2 text-text-tertiary': + status === 'incomplete', + }, + className, + ) + +const stepIndicatorIconClsx = ({ + className = '', +}: { className?: string } = {}) => clsx('w-4 h-4 text-text-contrast', className) + +const stepIndicatorLoadingClsx = ({ + className = '', +}: { className?: string } = {}) => + clsx('w-full h-full text-primary-solid', className) + +const stepContentClsx = ({ className = '' }: { className?: string } = {}) => + clsx('flex flex-col space-y-0.5', className) + +const stepTitleClsx = ({ className = '' }: { className?: string } = {}) => + clsx('', className) + +const stepDescriptionClsx = ({ className = '' }: { className?: string } = {}) => + clsx('font-normal', className) + +const stepSeparatorClsx = ({ + className = '', + isLast, + orientation, +}: { + className?: string + isFirst?: boolean + isLast?: boolean + orientation?: 'horizontal' | 'vertical' +} = {}) => + clsx( + 'bg-background-level3 ', + { + 'absolute left-0 top-[calc(100%+2px)] w-0.5 h-6 transform -translate-x-1/2': + orientation === 'vertical' && !isLast, + 'h-0.5 min-w-[40px] !mx-3': orientation === 'horizontal' && !isLast, + }, + className, + ) + +const stepper = { + stepperCva, + stepClsx, + stepIndicatorClsx, + stepIndicatorIconClsx, + stepIndicatorLoadingClsx, + stepContentClsx, + stepTitleClsx, + stepDescriptionClsx, + stepSeparatorClsx, +} + +export { stepper } diff --git a/packages/web3/connect-wallet-widget/CHANGELOG.md b/packages/web3/connect-wallet-widget/CHANGELOG.md index 2963a76d0..1a122b050 100644 --- a/packages/web3/connect-wallet-widget/CHANGELOG.md +++ b/packages/web3/connect-wallet-widget/CHANGELOG.md @@ -1,5 +1,59 @@ # @mochi-web3/connect-wallet-widget +## 0.2.9 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/badge@0.3.8 + - @mochi-ui/button@0.4.21 + - @mochi-ui/dropdown@0.2.12 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/typography@0.1.1 + +## 0.2.8 + +### Patch Changes + +- [#836](https://github.com/consolelabs/mochi-ui/pull/836) [`dbacd76`](https://github.com/consolelabs/mochi-ui/commit/dbacd76c7ad0192fcbeb926cbc80536c9481b50e) Thanks [@tuanddd](https://github.com/tuanddd)! - Avoid asking user to switch chain + +## 0.2.7 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/badge@0.3.8 + - @mochi-ui/button@0.4.20 + - @mochi-ui/dropdown@0.2.11 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/typography@0.1.1 + +## 0.2.6 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/badge@0.3.7 + - @mochi-ui/button@0.4.19 + - @mochi-ui/dropdown@0.2.10 + - @mochi-ui/tabs@0.2.9 + - @mochi-ui/typography@0.1.1 + +## 0.2.5 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/badge@0.3.6 + - @mochi-ui/button@0.4.18 + - @mochi-ui/dropdown@0.2.9 + - @mochi-ui/tabs@0.2.8 + - @mochi-ui/typography@0.1.1 + ## 0.2.4 ### Patch Changes diff --git a/packages/web3/connect-wallet-widget/package.json b/packages/web3/connect-wallet-widget/package.json index 4727fdbf1..1f422c132 100644 --- a/packages/web3/connect-wallet-widget/package.json +++ b/packages/web3/connect-wallet-widget/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-web3/connect-wallet-widget", - "version": "0.2.4", + "version": "0.2.9", "description": "Widget to connect wallets of various chains", "keywords": [ "connect-wallet-widget" diff --git a/packages/web3/connect-wallet-widget/src/providers/evm-provider.ts b/packages/web3/connect-wallet-widget/src/providers/evm-provider.ts index 0553e2e2f..8a7dd21d0 100644 --- a/packages/web3/connect-wallet-widget/src/providers/evm-provider.ts +++ b/packages/web3/connect-wallet-widget/src/providers/evm-provider.ts @@ -223,19 +223,25 @@ export class ProviderEVM extends ChainProvider { if (!this.signClient) throw new Error('Cannot init/find signClient') - const chainIds = [ - '1', - // , '56', '42161', '137', '10', '8453' - ] + const chainIds = ['250', '56', '42161', '137', '10', '8453'] const { uri, approval } = await this.signClient.connect({ requiredNamespaces: { eip155: { methods: ['eth_sendTransaction', 'personal_sign'], - chains: chainIds.map((cid) => `eip155:${(+cid).toString(10)}`), + chains: [`eip155:1`], events: ['chainChanged', 'accountsChanged'], }, }, + optionalNamespaces: Object.fromEntries( + chainIds.map((cid) => [ + `eip155:${(+cid).toString(10)}`, + { + methods: ['eth_sendTransaction', 'personal_sign'], + events: ['chainChanged', 'accountsChanged'], + }, + ]), + ), }) if (!uri || !this.mobileProtocol) @@ -246,13 +252,18 @@ export class ProviderEVM extends ChainProvider { const session = await approval() this.session = session + let chainId = 'eip155:1' const accounts = session.namespaces.eip155.accounts - .map((a) => a.split(':').pop() ?? '') + .map((a) => { + const [ns, c, addr] = a.split(':') + chainId = `${ns}:${c}` + return addr + }) .filter(Boolean) const sig = (await this.signClient.request({ topic: this.session.topic, - chainId: 'eip155:1', + chainId, request: { method: 'personal_sign', params: [hexedMsg, accounts[0]], diff --git a/packages/web3/login-widget/CHANGELOG.md b/packages/web3/login-widget/CHANGELOG.md index 727b37d86..005115347 100644 --- a/packages/web3/login-widget/CHANGELOG.md +++ b/packages/web3/login-widget/CHANGELOG.md @@ -1,5 +1,68 @@ # @mochi-web3/login-widget +## 0.2.23 + +### Patch Changes + +- Updated dependencies [[`c007019`](https://github.com/consolelabs/mochi-ui/commit/c007019d3f827cb6207ebcd49abc31b5c7d8aa64)]: + - @mochi-ui/icons@0.8.0 + - @mochi-ui/button@0.4.21 + - @mochi-ui/dropdown@0.2.12 + - @mochi-ui/icon-button@0.4.22 + - @mochi-ui/scroll-area@0.0.11 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/typography@0.1.1 + - @mochi-web3/connect-wallet-widget@0.2.9 + +## 0.2.22 + +### Patch Changes + +- Updated dependencies [[`dbacd76`](https://github.com/consolelabs/mochi-ui/commit/dbacd76c7ad0192fcbeb926cbc80536c9481b50e)]: + - @mochi-web3/connect-wallet-widget@0.2.8 + +## 0.2.21 + +### Patch Changes + +- Updated dependencies [[`e0cf264`](https://github.com/consolelabs/mochi-ui/commit/e0cf26419ff16ebd3ffcd577ec44896ab2c7e836)]: + - @mochi-ui/theme@0.20.0 + - @mochi-ui/button@0.4.20 + - @mochi-ui/dropdown@0.2.11 + - @mochi-ui/icon-button@0.4.21 + - @mochi-ui/scroll-area@0.0.10 + - @mochi-ui/tabs@0.2.10 + - @mochi-ui/typography@0.1.1 + - @mochi-web3/connect-wallet-widget@0.2.7 + +## 0.2.20 + +### Patch Changes + +- Updated dependencies [[`c393607`](https://github.com/consolelabs/mochi-ui/commit/c39360797bb96792c2c82287e79bcdf9eddf3641)]: + - @mochi-ui/theme@0.19.0 + - @mochi-ui/button@0.4.19 + - @mochi-ui/dropdown@0.2.10 + - @mochi-ui/icon-button@0.4.20 + - @mochi-ui/scroll-area@0.0.9 + - @mochi-ui/tabs@0.2.9 + - @mochi-ui/typography@0.1.1 + - @mochi-web3/connect-wallet-widget@0.2.6 + +## 0.2.19 + +### Patch Changes + +- Updated dependencies [[`2e4bd52`](https://github.com/consolelabs/mochi-ui/commit/2e4bd52feecd7b3ba913e31cb5f719e720434023)]: + - @mochi-ui/icons@0.7.5 + - @mochi-ui/button@0.4.18 + - @mochi-ui/dropdown@0.2.9 + - @mochi-ui/icon-button@0.4.19 + - @mochi-ui/scroll-area@0.0.8 + - @mochi-ui/tabs@0.2.8 + - @mochi-ui/typography@0.1.1 + - @mochi-web3/connect-wallet-widget@0.2.5 + ## 0.2.18 ### Patch Changes diff --git a/packages/web3/login-widget/package.json b/packages/web3/login-widget/package.json index 59c01202c..eb32417a5 100644 --- a/packages/web3/login-widget/package.json +++ b/packages/web3/login-widget/package.json @@ -1,6 +1,6 @@ { "name": "@mochi-web3/login-widget", - "version": "0.2.18", + "version": "0.2.23", "sideEffects": false, "main": "src/index.ts", "files": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d4fcda311..1852b1e3a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -110,7 +110,7 @@ importers: version: 7.2.0(@swc/core@1.3.96)(ts-node@10.9.1)(typescript@5.2.2) turbo: specifier: latest - version: 1.12.5 + version: 1.13.2 typescript: specifier: ^5.2.2 version: 5.2.2 @@ -1704,6 +1704,43 @@ importers: specifier: workspace:* version: link:../../../config/tsconfig + packages/components/stepper: + dependencies: + '@mochi-ui/icons': + specifier: workspace:* + version: link:../../icons + '@mochi-ui/theme': + specifier: workspace:* + version: link:../../theme + '@mochi-ui/typography': + specifier: workspace:* + version: link:../typography + class-variance-authority: + specifier: ^0.7.0 + version: 0.7.0 + clsx: + specifier: ^2.0.0 + version: 2.0.0 + devDependencies: + clean-package: + specifier: ^2.2.0 + version: 2.2.0 + eslint-config-custom: + specifier: workspace:* + version: link:../../../config/eslint + prettier: + specifier: ^3.1.1 + version: 3.1.1 + react: + specifier: ^18.2.0 + version: 18.2.0 + react-dom: + specifier: ^18.2.0 + version: 18.2.0(react@18.2.0) + tsconfig: + specifier: workspace:* + version: link:../../../config/tsconfig + packages/components/switch: dependencies: '@mochi-ui/theme': @@ -2150,6 +2187,9 @@ importers: '@mochi-ui/skeleton': specifier: workspace:* version: link:../components/skeleton + '@mochi-ui/stepper': + specifier: workspace:* + version: link:../components/stepper '@mochi-ui/switch': specifier: workspace:* version: link:../components/switch @@ -25331,64 +25371,64 @@ packages: safe-buffer: 5.2.1 dev: false - /turbo-darwin-64@1.12.5: - resolution: {integrity: sha512-0GZ8reftwNQgIQLHkHjHEXTc/Z1NJm+YjsrBP+qhM/7yIZ3TEy9gJhuogDt2U0xIWwFgisTyzbtU7xNaQydtoA==} + /turbo-darwin-64@1.13.2: + resolution: {integrity: sha512-CCSuD8CfmtncpohCuIgq7eAzUas0IwSbHfI8/Q3vKObTdXyN8vAo01gwqXjDGpzG9bTEVedD0GmLbD23dR0MLA==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.12.5: - resolution: {integrity: sha512-8WpOLNNzvH6kohQOjihD+gaWL+ZFNfjvBwhOF0rjEzvW+YR3Pa7KjhulrjWyeN2yMFqAPubTbZIGOz1EVXLuQA==} + /turbo-darwin-arm64@1.13.2: + resolution: {integrity: sha512-0HySm06/D2N91rJJ89FbiI/AodmY8B3WDSFTVEpu2+8spUw7hOJ8okWOT0e5iGlyayUP9gr31eOeL3VFZkpfCw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.12.5: - resolution: {integrity: sha512-INit73+bNUpwqGZCxgXCR3I+cQsdkQ3/LkfkgSOibkpg+oGqxJRzeXw3sp990d7SCoE8QOcs3iw+PtiFX/LDAA==} + /turbo-linux-64@1.13.2: + resolution: {integrity: sha512-7HnibgbqZrjn4lcfIouzlPu8ZHSBtURG4c7Bedu7WJUDeZo+RE1crlrQm8wuwO54S0siYqUqo7GNHxu4IXbioQ==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.12.5: - resolution: {integrity: sha512-6lkRBvxtI/GQdGtaAec9LvVQUoRw6nXFp0kM+Eu+5PbZqq7yn6cMkgDJLI08zdeui36yXhone8XGI8pHg8bpUQ==} + /turbo-linux-arm64@1.13.2: + resolution: {integrity: sha512-sUq4dbpk6SNKg/Hkwn256Vj2AEYSQdG96repio894h5/LEfauIK2QYiC/xxAeW3WBMc6BngmvNyURIg7ltrePg==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.12.5: - resolution: {integrity: sha512-gQYbOhZg5Ww0bQ/bC0w/4W6yQRwBumUUnkB+QPo15VznwxZe2a7bo6JM+9Xy9dKLa/kn+p7zTqme4OEp6M3/Yg==} + /turbo-windows-64@1.13.2: + resolution: {integrity: sha512-DqzhcrciWq3dpzllJR2VVIyOhSlXYCo4mNEWl98DJ3FZ08PEzcI3ceudlH6F0t/nIcfSItK1bDP39cs7YoZHEA==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.12.5: - resolution: {integrity: sha512-auvhZ9FrhnvQ4mgBlY9O68MT4dIfprYGvd2uPICba/mHUZZvVy5SGgbHJ0KbMwaJfnnFoPgLJO6M+3N2gDprKw==} + /turbo-windows-arm64@1.13.2: + resolution: {integrity: sha512-WnPMrwfCXxK69CdDfS1/j2DlzcKxSmycgDAqV0XCYpK/812KB0KlvsVAt5PjEbZGXkY88pCJ1BLZHAjF5FcbqA==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.12.5: - resolution: {integrity: sha512-FATU5EnhrYG8RvQJYFJnDd18DpccDjyvd53hggw9T9JEg9BhWtIEoeaKtBjYbpXwOVrJQMDdXcIB4f2nD3QPPg==} + /turbo@1.13.2: + resolution: {integrity: sha512-rX/d9f4MgRT3yK6cERPAkfavIxbpBZowDQpgvkYwGMGDQ0Nvw1nc0NVjruE76GrzXQqoxR1UpnmEP54vBARFHQ==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.12.5 - turbo-darwin-arm64: 1.12.5 - turbo-linux-64: 1.12.5 - turbo-linux-arm64: 1.12.5 - turbo-windows-64: 1.12.5 - turbo-windows-arm64: 1.12.5 + turbo-darwin-64: 1.13.2 + turbo-darwin-arm64: 1.13.2 + turbo-linux-64: 1.13.2 + turbo-linux-arm64: 1.13.2 + turbo-windows-64: 1.13.2 + turbo-windows-arm64: 1.13.2 dev: true /tweetnacl@1.0.3: