Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/svelte-5 #300

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
"root": true,
"parser": "@typescript-eslint/parser",
"env": { "node": true },
"plugins": [
"@typescript-eslint",
"fp-ts",
"@stylistic",
"newline-function-call"
],
"plugins": ["@typescript-eslint", "fp-ts", "@stylistic", "newline-function-call"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
Expand All @@ -26,6 +21,7 @@
"arrow-parens": ["error", "always"],
"fp-ts/no-lib-imports": "error",
"@stylistic/function-call-argument-newline": ["error", "consistent"],
"newline-function-call/function-call-argument-newline": ["error"]
"newline-function-call/function-call-argument-newline": ["error"],
"@typescript-eslint/consistent-type-imports": "error"
}
}
1 change: 1 addition & 0 deletions EXAMPLE_VAULT/.obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions EXAMPLE_VAULT/.obsidian/appearance.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 6 additions & 0 deletions EXAMPLE_VAULT/.obsidian/community-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[
"hot-reload",
"modalforms",
"dataview",
"templater-obsidian"
]
30 changes: 30 additions & 0 deletions EXAMPLE_VAULT/.obsidian/core-plugins-migration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"file-explorer": true,
"global-search": true,
"switcher": true,
"graph": true,
"backlink": true,
"canvas": true,
"outgoing-link": true,
"tag-pane": true,
"properties": false,
"page-preview": true,
"daily-notes": true,
"templates": true,
"note-composer": true,
"command-palette": true,
"slash-command": false,
"editor-status": true,
"bookmarks": true,
"markdown-importer": false,
"zk-prefixer": false,
"random-note": false,
"outline": true,
"word-count": false,
"slides": false,
"audio-recorder": false,
"workspaces": false,
"file-recovery": true,
"publish": false,
"sync": false
}
19 changes: 19 additions & 0 deletions EXAMPLE_VAULT/.obsidian/core-plugins.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[
"file-explorer",
"global-search",
"switcher",
"graph",
"backlink",
"canvas",
"outgoing-link",
"tag-pane",
"page-preview",
"daily-notes",
"templates",
"note-composer",
"command-palette",
"editor-status",
"bookmarks",
"outline",
"file-recovery"
]
11 changes: 11 additions & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/dataview/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "dataview",
"name": "Dataview",
"version": "0.5.67",
"minAppVersion": "0.13.11",
"description": "Complex data views for the data-obsessed.",
"author": "Michael Brenan <blacksmithgu@gmail.com>",
"authorUrl": "https://github.com/blacksmithgu",
"helpUrl": "https://blacksmithgu.github.io/obsidian-dataview/",
"isDesktopOnly": false
}
146 changes: 146 additions & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/dataview/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
/** Live Preview padding fixes, specifically for DataviewJS custom HTML elements. */
.is-live-preview .block-language-dataviewjs > p, .is-live-preview .block-language-dataviewjs > span {
line-height: 1.0;
}

.block-language-dataview {
overflow-y: auto;
}

/*****************/
/** Table Views **/
/*****************/

/* List View Default Styling; rendered internally as a table. */
.table-view-table {
width: 100%;
}

.table-view-table > thead > tr, .table-view-table > tbody > tr {
margin-top: 1em;
margin-bottom: 1em;
text-align: left;
}

.table-view-table > tbody > tr:hover {
background-color: var(--table-row-background-hover);
}

.table-view-table > thead > tr > th {
font-weight: 700;
font-size: larger;
border-top: none;
border-left: none;
border-right: none;
border-bottom: solid;

max-width: 100%;
}

.table-view-table > tbody > tr > td {
text-align: left;
border: none;
font-weight: 400;
max-width: 100%;
}

.table-view-table ul, .table-view-table ol {
margin-block-start: 0.2em !important;
margin-block-end: 0.2em !important;
}

/** Rendered value styling for any view. */
.dataview-result-list-root-ul {
padding: 0em !important;
margin: 0em !important;
}

.dataview-result-list-ul {
margin-block-start: 0.2em !important;
margin-block-end: 0.2em !important;
}

/** Generic grouping styling. */
.dataview.result-group {
padding-left: 8px;
}

/*******************/
/** Inline Fields **/
/*******************/

.dataview.inline-field-key {
padding-left: 8px;
padding-right: 8px;
font-family: var(--font-monospace);
background-color: var(--background-primary-alt);
color: var(--text-nav-selected);
}

.dataview.inline-field-value {
padding-left: 8px;
padding-right: 8px;
font-family: var(--font-monospace);
background-color: var(--background-secondary-alt);
color: var(--text-nav-selected);
}

.dataview.inline-field-standalone-value {
padding-left: 8px;
padding-right: 8px;
font-family: var(--font-monospace);
background-color: var(--background-secondary-alt);
color: var(--text-nav-selected);
}

/***************/
/** Task View **/
/***************/

.dataview.task-list-item, .dataview.task-list-basic-item {
margin-top: 3px;
margin-bottom: 3px;
transition: 0.4s;
}

.dataview.task-list-item:hover, .dataview.task-list-basic-item:hover {
background-color: var(--text-selection);
box-shadow: -40px 0 0 var(--text-selection);
cursor: pointer;
}

/*****************/
/** Error Views **/
/*****************/

div.dataview-error-box {
width: 100%;
min-height: 150px;
display: flex;
align-items: center;
justify-content: center;
border: 4px dashed var(--background-secondary);
}

.dataview-error-message {
color: var(--text-muted);
text-align: center;
}

/*************************/
/** Additional Metadata **/
/*************************/

.dataview.small-text {
font-size: smaller;
color: var(--text-muted);
margin-left: 3px;
}

.dataview.small-text::before {
content: "(";
}

.dataview.small-text::after {
content: ")";
}
1 change: 1 addition & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/hot-reload/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"id":"hot-reload","name":"Hot Reload","author":"PJ Eby","authorUrl":"https://github.com/pjeby","version":"0.1.11","minAppVersion":"0.15.9","description":"Automatically reload in-development plugins when their files are changed","isDesktopOnly":true}
Empty file.
1 change: 1 addition & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/modal-form/manifest.json
1 change: 1 addition & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/modal-form/styles.css
15 changes: 15 additions & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/obsidian42-brat/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "obsidian42-brat",
"name": "BRAT",
"version": "1.0.1",
"minAppVersion": "1.4.16",
"description": "Easily install a beta version of a plugin for testing.",
"author": "TfTHacker",
"authorUrl": "https://github.com/TfTHacker/obsidian42-brat",
"helpUrl": "https://tfthacker.com/BRAT",
"isDesktopOnly": false,
"fundingUrl": {
"Buy Me a Coffee": "https://bit.ly/o42-kofi",
"Visit my site": "https://tfthacker.com"
}
}
3 changes: 3 additions & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/obsidian42-brat/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.brat-modal .modal-button-container {
margin-top: 5px !important;
}
11 changes: 11 additions & 0 deletions EXAMPLE_VAULT/.obsidian/plugins/templater-obsidian/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"id": "templater-obsidian",
"name": "Templater",
"version": "2.3.3",
"description": "Create and use templates",
"minAppVersion": "1.5.0",
"author": "SilentVoid",
"authorUrl": "https://github.com/SilentVoid13",
"helpUrl": "https://silentvoid13.github.io/Templater/",
"isDesktopOnly": false
}
Loading
Loading