mirror of
https://github.com/quorafind/Obsidian-Float-Search.git
synced 2026-07-22 07:30:25 +00:00
chore: bump version
This commit is contained in:
parent
faf7dd0b08
commit
257b8f33bc
4 changed files with 30 additions and 29 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "float-search",
|
||||
"name": "Floating Search",
|
||||
"version": "3.4.0",
|
||||
"version": "3.4.2",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "You can use search view in modal/leaf/popout window now.",
|
||||
"author": "Boninall",
|
||||
|
|
|
|||
50
package.json
50
package.json
|
|
@ -1,27 +1,27 @@
|
|||
{
|
||||
"name": "float-search",
|
||||
"version": "3.4.0",
|
||||
"description": "You can use search view in modal/leaf/popout window now.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"dev": "node esbuild.config.mjs",
|
||||
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
||||
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Boninall",
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.29.0",
|
||||
"@typescript-eslint/parser": "5.29.0",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "0.14.47",
|
||||
"obsidian": "latest",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "4.7.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"monkey-around": "^2.3.0"
|
||||
}
|
||||
"name": "float-search",
|
||||
"version": "3.4.2",
|
||||
"description": "You can use search view in modal/leaf/popout window now.",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
"dev": "node esbuild.config.mjs",
|
||||
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
|
||||
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "Boninall",
|
||||
"license": "GPL-3.0",
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.29.0",
|
||||
"@typescript-eslint/parser": "5.29.0",
|
||||
"builtin-modules": "3.3.0",
|
||||
"esbuild": "0.14.47",
|
||||
"obsidian": "latest",
|
||||
"tslib": "2.4.0",
|
||||
"typescript": "4.7.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"monkey-around": "^2.3.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import {
|
|||
Modal, OpenViewState, PaneType,
|
||||
Plugin, SearchView, setIcon,
|
||||
TAbstractFile,
|
||||
TFile,
|
||||
TFile, ViewStateResult,
|
||||
Workspace,
|
||||
WorkspaceContainer, WorkspaceItem,
|
||||
WorkspaceLeaf
|
||||
|
|
@ -660,7 +660,7 @@ class FloatSearchModal extends Modal {
|
|||
});
|
||||
|
||||
setTimeout(async () => {
|
||||
await this.searchLeaf.view.setState(this.state, true);
|
||||
await this.searchLeaf.view.setState(this.state, true as ViewStateResult);
|
||||
this.state?.current ? (this.searchLeaf.view as SearchView).searchComponent.inputEl.setSelectionRange(0, 0) : (this.searchLeaf.view as SearchView).searchComponent.inputEl.setSelectionRange(0, this.state?.query?.length);
|
||||
}, 0);
|
||||
|
||||
|
|
|
|||
|
|
@ -18,5 +18,6 @@
|
|||
"3.3.2": "0.15.0",
|
||||
"3.3.3": "0.15.0",
|
||||
"3.3.4": "0.15.0",
|
||||
"3.4.0": "0.15.0"
|
||||
"3.4.0": "0.15.0",
|
||||
"3.4.2": "0.15.0"
|
||||
}
|
||||
Loading…
Reference in a new issue