Skip to content

Commit d5b02d5

Browse files
committed
run formatter
1 parent b0ad160 commit d5b02d5

File tree

7 files changed

+17
-20
lines changed

7 files changed

+17
-20
lines changed

CHANGELOG.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
New Features
66

7-
- new command to open the docs
8-
- new command to open an offline in plugin FAQ
7+
- new command to open the docs
8+
- new command to open an offline in plugin FAQ
99

1010
Changes
1111

12-
- made error messages more readable and added links to documentation in some places
12+
- made error messages more readable and added links to documentation in some places
1313

1414
Bug Fixes
1515

16-
- fixed: Square brackets are not allowed in view fields [#136](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/136)
17-
- fixed: Lists don't display correctly inside of text view fields [#132](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/132)
18-
- fixed: bind target frontmatter ident parser fails to parse ident with non ascii letters [#119](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/119)
16+
- fixed: Square brackets are not allowed in view fields [#136](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/136)
17+
- fixed: Lists don't display correctly inside of text view fields [#132](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/132)
18+
- fixed: bind target frontmatter ident parser fails to parse ident with non ascii letters [#119](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/issues/119)
1919

2020
# 0.7.0
2121

src/inputFields/fields/ImageSuggester/ImageSuggestModalComponent.svelte

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script lang="ts">
22
import ImageSuggesterCard from './ImageSuggesterCard.svelte';
33
import { SuggesterOption } from '../Suggester/SuggesterHelper';
4-
import {TextInput} from 'obsidian-svelte';
5-
import {prepareFuzzySearch} from 'obsidian';
4+
import { TextInput } from 'obsidian-svelte';
5+
import { prepareFuzzySearch } from 'obsidian';
66
77
export let options: SuggesterOption<string>[];
88
export let onSelect: (item: string) => void;
@@ -20,7 +20,7 @@
2020
2121
const searchFn = prepareFuzzySearch(search);
2222
23-
let x: SuggesterOption<string>[] = []
23+
let x: SuggesterOption<string>[] = [];
2424
for (const option of options) {
2525
if (searchFn(option.value)?.score !== undefined) {
2626
x.push(option);
@@ -41,5 +41,4 @@
4141
</div>
4242

4343
<style>
44-
4544
</style>

src/inputFields/fields/InlineList/InlineListIPF.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AbstractInputField } from '../../AbstractInputField';
2-
import { MBLiteral, parseUnknownToLiteralArray } from '../../../utils/Literal';
3-
import { InputFieldMDRC } from '../../../renderChildren/InputFieldMDRC';
4-
import { SvelteComponent } from 'svelte';
2+
import { type MBLiteral, parseUnknownToLiteralArray } from '../../../utils/Literal';
3+
import { type InputFieldMDRC } from '../../../renderChildren/InputFieldMDRC';
4+
import { type SvelteComponent } from 'svelte';
55
import InlineListComponent from './InlineListComponent.svelte';
66
import { TextPromptModal } from '../../../utils/TextPromptModal';
77

src/inputFields/fields/InlineListSuggester/InlineListSuggesterIPF.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { AbstractInputField } from '../../AbstractInputField';
2-
import { MBLiteral, parseUnknownToLiteralArray } from '../../../utils/Literal';
3-
import { InputFieldMDRC } from '../../../renderChildren/InputFieldMDRC';
4-
import { SvelteComponent } from 'svelte';
2+
import { type MBLiteral, parseUnknownToLiteralArray } from '../../../utils/Literal';
3+
import { type InputFieldMDRC } from '../../../renderChildren/InputFieldMDRC';
4+
import { type SvelteComponent } from 'svelte';
55
import InlineListSuggesterComponent from './InlineListSuggesterComponent.svelte';
66
import { openSuggesterModalForInputField } from '../Suggester/SuggesterHelper';
77

src/inputFields/fields/Suggester/SuggesterHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { type SuggesterIPF } from './SuggesterIPF';
77
import { type ListSuggesterIPF } from '../ListSuggester/ListSuggesterIPF';
88
import { InputFieldArgumentType } from '../../../parsers/GeneralConfigs';
99
import { type MBLiteral } from '../../../utils/Literal';
10-
import { InlineListSuggesterIPF } from '../InlineListSuggester/InlineListSuggesterIPF';
10+
import { type InlineListSuggesterIPF } from '../InlineListSuggester/InlineListSuggesterIPF';
1111

1212
type SuggesterLikeIFP = SuggesterIPF | ListSuggesterIPF | InlineListSuggesterIPF;
1313

src/utils/TextPromptModal.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { App, Modal, Setting } from 'obsidian';
1+
import { type App, Modal, Setting } from 'obsidian';
22

33
export class TextPromptModal extends Modal {
44
value: string;

styles.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ div.mb-view-wrapper {
166166
display: inline;
167167
font-size: 0;
168168

169-
170169
& > .mb-inline-list-item {
171170
border: var(--mb-border-width) solid var(--background-modifier-border);
172171
border-radius: var(--mb-border-radius);
@@ -204,7 +203,6 @@ div.mb-view-wrapper {
204203
}
205204
}
206205

207-
208206
/* Suggester Input */
209207
.mb-suggest-input {
210208
background: var(--background-modifier-form-field);

0 commit comments

Comments
 (0)