obsidian-dev-utils 82.0.0-beta.9 → 82.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -16
- package/dist/dev/main.js +30870 -0
- package/dist/dev/manifest.json +9 -0
- package/dist/lib/cjs/library.cjs +2 -2
- package/dist/lib/cjs/obsidian/editor-lock.cjs +100 -22
- package/dist/lib/cjs/obsidian/modals/minimizable-modal.cjs +3 -1
- package/dist/lib/esm/library.mjs +2 -2
- package/dist/lib/esm/obsidian/editor-lock.mjs +102 -23
- package/dist/lib/esm/obsidian/modals/minimizable-modal.mjs +3 -1
- package/dist/styles.css +12 -2
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,43 +1,61 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 82.0.0
|
|
4
|
+
|
|
5
|
+
- chore: update libs
|
|
6
|
+
- docs: cleanup
|
|
7
|
+
- test: reuse typeIntoEditor from obsidian-integration-testing
|
|
8
|
+
- feat(editor-lock): beep on a type attempt in a locked note
|
|
9
|
+
- feat(editor-lock): flash the lock indicators when typing in a locked note
|
|
10
|
+
- fix(minimizable-modal): float the minimized bar above the status bar
|
|
11
|
+
- feat(editor-lock): add Unlock to the file/tab context menu and render lockers as code
|
|
12
|
+
|
|
13
|
+
## 82.0.0-beta.10
|
|
14
|
+
|
|
15
|
+
- test: add editor-lock typing integration test with trusted input
|
|
16
|
+
- test: verify the editor stays typable while a modal is minimized
|
|
17
|
+
- test: run obsidian integration tests serially
|
|
18
|
+
- test: add typeIntoEditor helper for trusted keyboard input
|
|
19
|
+
- fix: keep editors typable while a MinimizableModal is minimized
|
|
20
|
+
|
|
3
21
|
## 82.0.0-beta.9
|
|
4
22
|
|
|
5
|
-
- refactor: use null, not undefined, for the explicit no-lock case
|
|
6
|
-
- feat: right-click a lock indicator to unlock and abort the operation
|
|
23
|
+
- refactor: use null, not undefined, for the explicit no-lock case
|
|
24
|
+
- feat: right-click a lock indicator to unlock and abort the operation
|
|
7
25
|
|
|
8
26
|
## 82.0.0-beta.8
|
|
9
27
|
|
|
10
|
-
- fix: lock editors opened after a note's path is already locked
|
|
11
|
-
- refactor!: rename lockEditor/unlockEditor to toggleEditorReadOnly
|
|
28
|
+
- fix: lock editors opened after a note's path is already locked
|
|
29
|
+
- refactor!: rename lockEditor/unlockEditor to toggleEditorReadOnly
|
|
12
30
|
|
|
13
31
|
## 82.0.0-beta.7
|
|
14
32
|
|
|
15
|
-
- feat!: require an editorLockComponent on the file-mutation API
|
|
16
|
-
- style: fix wrapped-comment capitalization in editor lock helpers
|
|
33
|
+
- feat!: require an editorLockComponent on the file-mutation API
|
|
34
|
+
- style: fix wrapped-comment capitalization in editor lock helpers
|
|
17
35
|
|
|
18
36
|
## 82.0.0-beta.6
|
|
19
37
|
|
|
20
|
-
- feat!: lock the editor during process() only via an opt-in component
|
|
21
|
-
- feat: own an EditorLockComponent in PluginBase
|
|
38
|
+
- feat!: lock the editor during process() only via an opt-in component
|
|
39
|
+
- feat: own an EditorLockComponent in PluginBase
|
|
22
40
|
|
|
23
41
|
## 82.0.0-beta.5
|
|
24
42
|
|
|
25
|
-
- feat: add EditorLockComponent for per-plugin lock ownership and auto-release
|
|
43
|
+
- feat: add EditorLockComponent for per-plugin lock ownership and auto-release
|
|
26
44
|
|
|
27
45
|
## 82.0.0-beta.4
|
|
28
46
|
|
|
29
|
-
- feat: list the locking plugins in the editor-lock indicator tooltip
|
|
47
|
+
- feat: list the locking plugins in the editor-lock indicator tooltip
|
|
30
48
|
|
|
31
49
|
## 82.0.0-beta.3
|
|
32
50
|
|
|
33
|
-
- feat: pulse the minimized modal bar to keep it noticeable
|
|
34
|
-
- feat: show editor-lock indicators in tab header and status bar
|
|
51
|
+
- feat: pulse the minimized modal bar to keep it noticeable
|
|
52
|
+
- feat: show editor-lock indicators in tab header and status bar
|
|
35
53
|
|
|
36
54
|
## 82.0.0-beta.2
|
|
37
55
|
|
|
38
|
-
- fix: actually apply the editor lock and keep app hotkeys working
|
|
39
|
-
- test: cover the file-open listener in editor-lock events test
|
|
40
|
-
- feat: restart dev build on node_modules changes
|
|
56
|
+
- fix: actually apply the editor lock and keep app hotkeys working
|
|
57
|
+
- test: cover the file-open listener in editor-lock events test
|
|
58
|
+
- feat: restart dev build on node_modules changes
|
|
41
59
|
|
|
42
60
|
## 82.0.0-beta.1
|
|
43
61
|
|
|
@@ -71,7 +89,7 @@
|
|
|
71
89
|
|
|
72
90
|
- chore: update libs
|
|
73
91
|
- feat: add return type
|
|
74
|
-
- refactor!: full-bag vault.ts functions into single params objects copySafe, getAbstractFilePathSafe, getOrCreateAbstractFileSafe, getSafeRenamePath, invokeWithFileSystemLock, isChild, isChildOrSelf, renameSafe, process (and internal invokeFileActionSafe) now take a single *Params object including app. isChild/ isChildOrSelf rename the ambiguous a/b to childPathOrFile/parentPathOrFile. ProcessParams folds in ProcessOptions (kept exported). All call sites and test mocks updated. BREAKING CHANGE: these vault functions take a single params object; app and the former positional args are now named members.
|
|
92
|
+
- refactor!: full-bag vault.ts functions into single params objects copySafe, getAbstractFilePathSafe, getOrCreateAbstractFileSafe, getSafeRenamePath, invokeWithFileSystemLock, isChild, isChildOrSelf, renameSafe, process (and internal invokeFileActionSafe) now take a single *Params object including app. isChild/ isChildOrSelf rename the ambiguous a/b to childPathOrFile/parentPathOrFile. ProcessParams folds in ProcessOptions (kept exported). All call sites and test mocks updated. BREAKING CHANGE: these vault functions take a single params object; app and the former positional args are now named members.
|
|
75
93
|
- fix: restore button text color broken by tldraw's unscoped global rule
|
|
76
94
|
- refactor!: extract param bags
|
|
77
95
|
- docs: record params/options extraction task
|