diff --git a/packages/api/CHANGELOG.md b/packages/api/CHANGELOG.md index 5494175fe..69549986e 100644 --- a/packages/api/CHANGELOG.md +++ b/packages/api/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.24.15](https://github.com/standardnotes/app/compare/@standardnotes/api@1.24.14...@standardnotes/api@1.24.15) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/api + ## [1.24.14](https://github.com/standardnotes/app/compare/@standardnotes/api@1.24.13...@standardnotes/api@1.24.14) (2023-02-01) **Note:** Version bump only for package @standardnotes/api diff --git a/packages/api/package.json b/packages/api/package.json index 922e22bf1..42d246835 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/api", - "version": "1.24.14", + "version": "1.24.15", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/blocks-editor/CHANGELOG.md b/packages/blocks-editor/CHANGELOG.md index e8a9db084..da1c269dd 100644 --- a/packages/blocks-editor/CHANGELOG.md +++ b/packages/blocks-editor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.16.4](https://github.com/standardnotes/app/compare/@standardnotes/blocks-editor@1.16.3...@standardnotes/blocks-editor@1.16.4) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/blocks-editor + ## [1.16.3](https://github.com/standardnotes/app/compare/@standardnotes/blocks-editor@1.16.2...@standardnotes/blocks-editor@1.16.3) (2023-02-01) ### Bug Fixes diff --git a/packages/blocks-editor/package.json b/packages/blocks-editor/package.json index 34e16263b..78801c08e 100644 --- a/packages/blocks-editor/package.json +++ b/packages/blocks-editor/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/blocks-editor", - "version": "1.16.3", + "version": "1.16.4", "private": true, "main": "./src/index.ts", "scripts": { diff --git a/packages/desktop/CHANGELOG.md b/packages/desktop/CHANGELOG.md index 15d08ceef..5bf0a6ef2 100644 --- a/packages/desktop/CHANGELOG.md +++ b/packages/desktop/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.104.125](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.144.4...@standardnotes/desktop@3.104.125) (2023-02-02) + +**Note:** Version bump only for package @standardnotes/desktop + +## [3.104.124](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.144.3...@standardnotes/desktop@3.104.124) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/desktop + ## [3.104.123](https://github.com/standardnotes/app/compare/@standardnotes/desktop@3.144.2...@standardnotes/desktop@3.104.123) (2023-02-01) **Note:** Version bump only for package @standardnotes/desktop diff --git a/packages/desktop/package.json b/packages/desktop/package.json index 74e48f885..aaeea2878 100644 --- a/packages/desktop/package.json +++ b/packages/desktop/package.json @@ -1,7 +1,7 @@ { "name": "@standardnotes/desktop", "main": "./app/dist/index.js", - "version": "3.104.123", + "version": "3.104.125", "license": "AGPL-3.0-or-later", "author": "Standard Notes.", "private": true, diff --git a/packages/encryption/CHANGELOG.md b/packages/encryption/CHANGELOG.md index ced47b35e..f234b830c 100644 --- a/packages/encryption/CHANGELOG.md +++ b/packages/encryption/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.21.14](https://github.com/standardnotes/app/compare/@standardnotes/encryption@1.21.13...@standardnotes/encryption@1.21.14) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/encryption + ## [1.21.13](https://github.com/standardnotes/app/compare/@standardnotes/encryption@1.21.12...@standardnotes/encryption@1.21.13) (2023-02-01) **Note:** Version bump only for package @standardnotes/encryption diff --git a/packages/encryption/package.json b/packages/encryption/package.json index eda00de76..33abee7b5 100644 --- a/packages/encryption/package.json +++ b/packages/encryption/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/encryption", - "version": "1.21.13", + "version": "1.21.14", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/filepicker/CHANGELOG.md b/packages/filepicker/CHANGELOG.md index f1d19c244..2facad15b 100644 --- a/packages/filepicker/CHANGELOG.md +++ b/packages/filepicker/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.28.19](https://github.com/standardnotes/app/compare/@standardnotes/filepicker@1.28.18...@standardnotes/filepicker@1.28.19) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/filepicker + ## [1.28.18](https://github.com/standardnotes/app/compare/@standardnotes/filepicker@1.28.17...@standardnotes/filepicker@1.28.18) (2023-02-01) **Note:** Version bump only for package @standardnotes/filepicker diff --git a/packages/filepicker/package.json b/packages/filepicker/package.json index 9e7f4432d..fcc2a53b7 100644 --- a/packages/filepicker/package.json +++ b/packages/filepicker/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/filepicker", - "version": "1.28.18", + "version": "1.28.19", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/files/CHANGELOG.md b/packages/files/CHANGELOG.md index 8a067b263..b9bdf0838 100644 --- a/packages/files/CHANGELOG.md +++ b/packages/files/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.14.29](https://github.com/standardnotes/app/compare/@standardnotes/files@1.14.28...@standardnotes/files@1.14.29) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/files + ## [1.14.28](https://github.com/standardnotes/app/compare/@standardnotes/files@1.14.27...@standardnotes/files@1.14.28) (2023-02-01) **Note:** Version bump only for package @standardnotes/files diff --git a/packages/files/package.json b/packages/files/package.json index 898a4f021..90c7cf021 100644 --- a/packages/files/package.json +++ b/packages/files/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/files", - "version": "1.14.28", + "version": "1.14.29", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/icons/CHANGELOG.md b/packages/icons/CHANGELOG.md index 22693154e..cc4a5e44e 100644 --- a/packages/icons/CHANGELOG.md +++ b/packages/icons/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.10.4](https://github.com/standardnotes/app/compare/@standardnotes/icons@1.10.3...@standardnotes/icons@1.10.4) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/icons + ## [1.10.3](https://github.com/standardnotes/app/compare/@standardnotes/icons@1.10.2...@standardnotes/icons@1.10.3) (2023-02-01) **Note:** Version bump only for package @standardnotes/icons diff --git a/packages/icons/package.json b/packages/icons/package.json index 9cdbcbfa3..401257a5e 100644 --- a/packages/icons/package.json +++ b/packages/icons/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/icons", - "version": "1.10.3", + "version": "1.10.4", "private": true, "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/mobile/CHANGELOG.md b/packages/mobile/CHANGELOG.md index 7fe15014c..292e28147 100644 --- a/packages/mobile/CHANGELOG.md +++ b/packages/mobile/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.51.5](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.51.4...@standardnotes/mobile@3.51.5) (2023-02-02) + +**Note:** Version bump only for package @standardnotes/mobile + +## [3.51.4](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.51.3...@standardnotes/mobile@3.51.4) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/mobile + ## [3.51.3](https://github.com/standardnotes/app/compare/@standardnotes/mobile@3.51.2...@standardnotes/mobile@3.51.3) (2023-02-01) **Note:** Version bump only for package @standardnotes/mobile diff --git a/packages/mobile/package.json b/packages/mobile/package.json index 4f7d2c810..449c59c24 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/mobile", - "version": "3.51.3", + "version": "3.51.5", "author": "Standard Notes.", "private": true, "license": "AGPL-3.0-or-later", diff --git a/packages/models/CHANGELOG.md b/packages/models/CHANGELOG.md index 31eefe147..7cfb73dfb 100644 --- a/packages/models/CHANGELOG.md +++ b/packages/models/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.43.2](https://github.com/standardnotes/app/compare/@standardnotes/models@1.43.1...@standardnotes/models@1.43.2) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/models + ## [1.43.1](https://github.com/standardnotes/app/compare/@standardnotes/models@1.43.0...@standardnotes/models@1.43.1) (2023-02-01) ### Bug Fixes diff --git a/packages/models/package.json b/packages/models/package.json index 30b99f149..b78c2eae0 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/models", - "version": "1.43.1", + "version": "1.43.2", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/releases/CHANGELOG.md b/packages/releases/CHANGELOG.md index c8d6213f3..a1d4e0da0 100644 --- a/packages/releases/CHANGELOG.md +++ b/packages/releases/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.4.148](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.147...@standardnotes/releases@1.4.148) (2023-02-02) + +**Note:** Version bump only for package @standardnotes/releases + +## [1.4.147](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.146...@standardnotes/releases@1.4.147) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/releases + ## [1.4.146](https://github.com/standardnotes/app/compare/@standardnotes/releases@1.4.145...@standardnotes/releases@1.4.146) (2023-02-01) **Note:** Version bump only for package @standardnotes/releases diff --git a/packages/releases/package.json b/packages/releases/package.json index 7cc69c95e..da9652215 100644 --- a/packages/releases/package.json +++ b/packages/releases/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/releases", - "version": "1.4.146", + "version": "1.4.148", "license": "AGPL-3.0-or-later", "main": "dist/releases.json", "types": "dist/index.d.ts", diff --git a/packages/services/CHANGELOG.md b/packages/services/CHANGELOG.md index eb2f0b9c4..5c28bead2 100644 --- a/packages/services/CHANGELOG.md +++ b/packages/services/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.56.16](https://github.com/standardnotes/app/compare/@standardnotes/services@1.56.15...@standardnotes/services@1.56.16) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/services + ## [1.56.15](https://github.com/standardnotes/app/compare/@standardnotes/services@1.56.14...@standardnotes/services@1.56.15) (2023-02-01) **Note:** Version bump only for package @standardnotes/services diff --git a/packages/services/package.json b/packages/services/package.json index 4ddc3b8f9..ab9134efb 100644 --- a/packages/services/package.json +++ b/packages/services/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/services", - "version": "1.56.15", + "version": "1.56.16", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/snjs/CHANGELOG.md b/packages/snjs/CHANGELOG.md index 47bc5254f..109c9190f 100644 --- a/packages/snjs/CHANGELOG.md +++ b/packages/snjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [2.165.4](https://github.com/standardnotes/app/compare/@standardnotes/snjs@2.165.3...@standardnotes/snjs@2.165.4) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/snjs + ## [2.165.3](https://github.com/standardnotes/app/compare/@standardnotes/snjs@2.165.2...@standardnotes/snjs@2.165.3) (2023-02-01) **Note:** Version bump only for package @standardnotes/snjs diff --git a/packages/snjs/package.json b/packages/snjs/package.json index 0858527d0..9ab5165dc 100644 --- a/packages/snjs/package.json +++ b/packages/snjs/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/snjs", - "version": "2.165.3", + "version": "2.165.4", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/toast/CHANGELOG.md b/packages/toast/CHANGELOG.md index 4f7358163..debbd8173 100644 --- a/packages/toast/CHANGELOG.md +++ b/packages/toast/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.3.23](https://github.com/standardnotes/app/compare/@standardnotes/toast@1.3.22...@standardnotes/toast@1.3.23) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/toast + ## [1.3.22](https://github.com/standardnotes/app/compare/@standardnotes/toast@1.3.21...@standardnotes/toast@1.3.22) (2023-02-01) **Note:** Version bump only for package @standardnotes/toast diff --git a/packages/toast/package.json b/packages/toast/package.json index 46a13397a..db0076ab4 100644 --- a/packages/toast/package.json +++ b/packages/toast/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/toast", - "version": "1.3.22", + "version": "1.3.23", "private": true, "main": "./src/index.ts", "scripts": { diff --git a/packages/ui-services/CHANGELOG.md b/packages/ui-services/CHANGELOG.md index ced3bc057..890b8f48f 100644 --- a/packages/ui-services/CHANGELOG.md +++ b/packages/ui-services/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [1.24.23](https://github.com/standardnotes/app/compare/@standardnotes/ui-services@1.24.22...@standardnotes/ui-services@1.24.23) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/ui-services + ## [1.24.22](https://github.com/standardnotes/app/compare/@standardnotes/ui-services@1.24.21...@standardnotes/ui-services@1.24.22) (2023-02-01) **Note:** Version bump only for package @standardnotes/ui-services diff --git a/packages/ui-services/package.json b/packages/ui-services/package.json index 9cb3dbdc2..53916ebfc 100644 --- a/packages/ui-services/package.json +++ b/packages/ui-services/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/ui-services", - "version": "1.24.22", + "version": "1.24.23", "engines": { "node": ">=16.0.0 <17.0.0" }, diff --git a/packages/web/CHANGELOG.md b/packages/web/CHANGELOG.md index ab8b2873c..b3606a4e9 100644 --- a/packages/web/CHANGELOG.md +++ b/packages/web/CHANGELOG.md @@ -3,6 +3,16 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +## [3.144.5](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.4...@standardnotes/web@3.144.5) (2023-02-02) + +### Bug Fixes + +* Fixed issue where Super toolbar would close on clicking on iOS ([7a3f376](https://github.com/standardnotes/app/commit/7a3f3761fc44896ba316975bcb62a27b2d54283a)) + +## [3.144.4](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.3...@standardnotes/web@3.144.4) (2023-02-01) + +**Note:** Version bump only for package @standardnotes/web + ## [3.144.3](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.2...@standardnotes/web@3.144.3) (2023-02-01) ### Bug Fixes diff --git a/packages/web/CHANGELOG.md.json b/packages/web/CHANGELOG.md.json index 311299168..864a64690 100644 --- a/packages/web/CHANGELOG.md.json +++ b/packages/web/CHANGELOG.md.json @@ -1,5 +1,30 @@ { "versions": [ + { + "version": "3.144.5", + "title": "[3.144.5](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.4...@standardnotes/web@3.144.5) (2023-02-02)", + "date": null, + "body": "### Bug Fixes\n\n* Fixed issue where Super toolbar would close on clicking on iOS ([7a3f376](https://github.com/standardnotes/app/commit/7a3f3761fc44896ba316975bcb62a27b2d54283a))", + "parsed": { + "_": [ + "Fixed issue where Super toolbar would close on clicking on iOS (7a3f376)" + ], + "Bug Fixes": [ + "Fixed issue where Super toolbar would close on clicking on iOS (7a3f376)" + ] + } + }, + { + "version": "3.144.4", + "title": "[3.144.4](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.3...@standardnotes/web@3.144.4) (2023-02-01)", + "date": null, + "body": "**Note:** Version bump only for package @standardnotes/web", + "parsed": { + "_": [ + "Note: Version bump only for package @standardnotes/web" + ] + } + }, { "version": "3.144.3", "title": "[3.144.3](https://github.com/standardnotes/app/compare/@standardnotes/web@3.144.2...@standardnotes/web@3.144.3) (2023-02-01)", diff --git a/packages/web/package.json b/packages/web/package.json index fcbe4dfc5..635d8eba4 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -1,6 +1,6 @@ { "name": "@standardnotes/web", - "version": "3.144.3", + "version": "3.144.5", "license": "AGPL-3.0-or-later", "main": "dist/app.js", "author": "Standard Notes.", diff --git a/packages/web/src/javascripts/Components/NoteView/SuperEditor/Plugins/MobileToolbarPlugin/MobileToolbarPlugin.tsx b/packages/web/src/javascripts/Components/NoteView/SuperEditor/Plugins/MobileToolbarPlugin/MobileToolbarPlugin.tsx index c9c994044..9bcf17a80 100644 --- a/packages/web/src/javascripts/Components/NoteView/SuperEditor/Plugins/MobileToolbarPlugin/MobileToolbarPlugin.tsx +++ b/packages/web/src/javascripts/Components/NoteView/SuperEditor/Plugins/MobileToolbarPlugin/MobileToolbarPlugin.tsx @@ -30,6 +30,7 @@ const MobileToolbarPlugin = () => { const [modal, showModal] = useModal() const [isInEditor, setIsInEditor] = useState(false) + const [isInToolbar, setIsInToolbar] = useState(false) const isMobile = useMediaQuery(MutuallyExclusiveMediaQueryBreakpoints.sm) const toolbarRef = useRef(null) @@ -151,14 +152,34 @@ const MobileToolbarPlugin = () => { } }, [editor]) - if (!isMobile || !isInEditor) { + useEffect(() => { + if (!toolbarRef.current) { + return + } + + const toolbar = toolbarRef.current + + const handleFocus = () => setIsInToolbar(true) + const handleBlur = () => setIsInToolbar(false) + + toolbar.addEventListener('focus', handleFocus) + toolbar.addEventListener('blur', handleBlur) + + return () => { + toolbar?.removeEventListener('focus', handleFocus) + toolbar?.removeEventListener('blur', handleBlur) + } + }, []) + + const isFocusInEditorOrToolbar = isInEditor || isInToolbar + if (!isMobile || !isFocusInEditorOrToolbar) { return null } return ( <> {modal} -
+
{items.map((item) => { return (