parent
598a332965
commit
1eb04237f0
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "music-code-blocks",
|
|
||||||
"name": "Music notation",
|
|
||||||
"version": "1.0.3",
|
|
||||||
"minAppVersion": "0.9.15",
|
|
||||||
"description": "Plugin which renders music notation from code blocks. Uses the `music-abc` language.",
|
|
||||||
"author": "Til Blechschmidt",
|
|
||||||
"authorUrl": "https://github.com/TilBlechschmidt/obsidian-plugin-abcjs",
|
|
||||||
"isDesktopOnly": false
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
/* Default abcjs styles look good. Just adapting it to the current theme. */
|
|
||||||
|
|
||||||
.abcjs-container svg path {
|
|
||||||
fill: var(--text-normal);
|
|
||||||
}
|
|
||||||
|
|
||||||
.abcjs-container svg text {
|
|
||||||
fill: var(--text-normal);
|
|
||||||
}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,9 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "obsidian-emoji-toolbar",
|
|
||||||
"name": "Emoji Toolbar",
|
|
||||||
"version": "0.2.2",
|
|
||||||
"description": "Quickly search for and insert emojis into your notes.",
|
|
||||||
"author": "oliveryh",
|
|
||||||
"authorUrl": "https://github.com/oliveryh/obsidian-emoji-toolbar",
|
|
||||||
"isDesktopOnly": false
|
|
||||||
}
|
|
@ -1,7 +0,0 @@
|
|||||||
img.emoji {
|
|
||||||
height: 1em;
|
|
||||||
width: 1em;
|
|
||||||
margin: 0 0.05em 0 0.1em;
|
|
||||||
vertical-align: -0.1em;
|
|
||||||
display: inline-block;
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
# Intellij
|
|
||||||
*.iml
|
|
||||||
.idea
|
|
||||||
|
|
||||||
# npm
|
|
||||||
node_modules
|
|
||||||
|
|
||||||
# build
|
|
||||||
main.js
|
|
||||||
*.js.map
|
|
||||||
|
|
||||||
# obsidian
|
|
||||||
data.json
|
|
@ -1,20 +0,0 @@
|
|||||||
# Obsidian Icon Folder
|
|
||||||
|
|
||||||
This obsidian plugin allows you to add icons to your folder.
|
|
||||||
|
|
||||||
Right now, the current iconsets are available:
|
|
||||||
* [Remixicon](https://remixicon.com/)
|
|
||||||
|
|
||||||
## Screenshots
|
|
||||||
|
|
||||||
Here is one way to
|
|
||||||
|
|
||||||
## How to use
|
|
||||||
|
|
||||||
It is pretty simple to add a icon to your folder:
|
|
||||||
|
|
||||||
1. Right click on the folder where you want to add an icon
|
|
||||||
2. Select the `Change Icon` menu item (prefixed with a `#` icon)
|
|
||||||
3. Select the icon you want and profit!
|
|
||||||
|
|
||||||
To delete an icon, you just need to click on the `Delete Icon` (prefixed with a `trash` icon) menu item.
|
|
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "obsidian-icon-folder",
|
|
||||||
"name": "Icon Folder",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"minAppVersion": "0.9.12",
|
|
||||||
"description": "This plugin allows to add an emoji in front of a folder.",
|
|
||||||
"author": "Florian Woelki",
|
|
||||||
"authorUrl": "https://florianwoelki.com/",
|
|
||||||
"isDesktopOnly": false
|
|
||||||
}
|
|
@ -1,28 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "obsidian-icon-folder",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "This is an obsidian plugin that allows us to use an icon in the prefix of a folder name.",
|
|
||||||
"main": "main.js",
|
|
||||||
"scripts": {
|
|
||||||
"dev": "rollup --config rollup.config.js -w",
|
|
||||||
"build": "rollup --config rollup.config.js --environment BUILD:production"
|
|
||||||
},
|
|
||||||
"keywords": [],
|
|
||||||
"author": "",
|
|
||||||
"license": "MIT",
|
|
||||||
"devDependencies": {
|
|
||||||
"@rollup/plugin-commonjs": "^18.0.0",
|
|
||||||
"@rollup/plugin-node-resolve": "^11.2.1",
|
|
||||||
"@rollup/plugin-typescript": "^8.2.1",
|
|
||||||
"@types/node": "^14.14.37",
|
|
||||||
"obsidian": "^0.12.0",
|
|
||||||
"rollup": "^2.32.1",
|
|
||||||
"tslib": "^2.2.0",
|
|
||||||
"typescript": "^4.2.4"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"react": "^17.0.2",
|
|
||||||
"react-dom": "^17.0.2",
|
|
||||||
"react-icons": "^4.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,30 +0,0 @@
|
|||||||
import typescript from '@rollup/plugin-typescript';
|
|
||||||
import {nodeResolve} from '@rollup/plugin-node-resolve';
|
|
||||||
import commonjs from '@rollup/plugin-commonjs';
|
|
||||||
|
|
||||||
const isProd = (process.env.BUILD === 'production');
|
|
||||||
|
|
||||||
const banner =
|
|
||||||
`/*
|
|
||||||
THIS IS A GENERATED/BUNDLED FILE BY ROLLUP
|
|
||||||
if you want to view the source visit the plugins github repository
|
|
||||||
*/
|
|
||||||
`;
|
|
||||||
|
|
||||||
export default {
|
|
||||||
input: './src/main.ts',
|
|
||||||
output: {
|
|
||||||
dir: '.',
|
|
||||||
sourcemap: 'inline',
|
|
||||||
sourcemapExcludeSources: isProd,
|
|
||||||
format: 'cjs',
|
|
||||||
exports: 'default',
|
|
||||||
banner,
|
|
||||||
},
|
|
||||||
external: ['obsidian'],
|
|
||||||
plugins: [
|
|
||||||
typescript(),
|
|
||||||
nodeResolve({browser: true}),
|
|
||||||
commonjs(),
|
|
||||||
]
|
|
||||||
};
|
|
@ -1,70 +0,0 @@
|
|||||||
import * as remixicons from 'react-icons/ri/index';
|
|
||||||
import { App, FuzzyMatch, FuzzySuggestModal } from 'obsidian';
|
|
||||||
// @ts-ignore
|
|
||||||
import { renderToString } from 'react-dom/server';
|
|
||||||
import IconFolderPlugin from './main';
|
|
||||||
import { addToDOM } from './util';
|
|
||||||
|
|
||||||
export interface Icon {
|
|
||||||
id: string;
|
|
||||||
name: string;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default class IconsPickerModal extends FuzzySuggestModal<any> {
|
|
||||||
private plugin: IconFolderPlugin;
|
|
||||||
private path: string;
|
|
||||||
|
|
||||||
constructor(app: App, plugin: IconFolderPlugin, path: string) {
|
|
||||||
super(app);
|
|
||||||
this.plugin = plugin;
|
|
||||||
this.path = path;
|
|
||||||
}
|
|
||||||
|
|
||||||
onOpen() {
|
|
||||||
super.onOpen();
|
|
||||||
}
|
|
||||||
|
|
||||||
onClose() {
|
|
||||||
let { contentEl } = this;
|
|
||||||
contentEl.empty();
|
|
||||||
}
|
|
||||||
|
|
||||||
getItemText(item: Icon): string {
|
|
||||||
return item.name;
|
|
||||||
}
|
|
||||||
|
|
||||||
getItems(): Icon[] {
|
|
||||||
const iconKeys: Icon[] = [];
|
|
||||||
for (let icon in remixicons) {
|
|
||||||
iconKeys.push({
|
|
||||||
id: icon,
|
|
||||||
name: icon.substring(2),
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
return iconKeys;
|
|
||||||
}
|
|
||||||
|
|
||||||
onChooseItem(item: Icon): void {
|
|
||||||
addToDOM(this.plugin, this.path, item.id);
|
|
||||||
this.plugin.addFolderIcon(this.path, item.id);
|
|
||||||
}
|
|
||||||
|
|
||||||
renderSuggestion(item: FuzzyMatch<Icon>, el: HTMLElement): void {
|
|
||||||
super.renderSuggestion(item, el);
|
|
||||||
|
|
||||||
if (item.item.id !== 'default') {
|
|
||||||
const iconPreviewNode = el.createDiv('div');
|
|
||||||
iconPreviewNode.innerHTML = renderToString(
|
|
||||||
// @ts-ignore
|
|
||||||
remixicons[item.item.id]({
|
|
||||||
size: '16px',
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
iconPreviewNode.style.position = 'absolute';
|
|
||||||
iconPreviewNode.style.top = '0';
|
|
||||||
iconPreviewNode.style.left = '0';
|
|
||||||
iconPreviewNode.style.marginTop = '7px';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,72 +0,0 @@
|
|||||||
import { Plugin, MenuItem } from 'obsidian';
|
|
||||||
import IconsPickerModal from './iconsPickerModal';
|
|
||||||
import { addToDOMWithElement, removeFromDOM, waitForNode } from './util';
|
|
||||||
|
|
||||||
export default class IconFolderPlugin extends Plugin {
|
|
||||||
private folderIconData: Record<string, string>;
|
|
||||||
|
|
||||||
async onload() {
|
|
||||||
console.log('loading plugin obsidian-icon-folder');
|
|
||||||
|
|
||||||
await this.loadIconFolderData();
|
|
||||||
|
|
||||||
Object.entries(this.folderIconData).forEach(([key, value]) => {
|
|
||||||
waitForNode(`[data-path="${key}"]`).then((node) => {
|
|
||||||
addToDOMWithElement(this, key, value, node);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
|
|
||||||
this.registerEvent(
|
|
||||||
this.app.workspace.on('file-menu', (menu, file) => {
|
|
||||||
const addIconMenuItem = (item: MenuItem) => {
|
|
||||||
item.setTitle('Change icon');
|
|
||||||
item.setIcon('hashtag');
|
|
||||||
item.onClick(() => {
|
|
||||||
menu.hide();
|
|
||||||
const modal = new IconsPickerModal(this.app, this, file.path);
|
|
||||||
modal.open();
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
const removeIconMenuItem = (item: MenuItem) => {
|
|
||||||
item.setTitle('Remove icon');
|
|
||||||
item.setIcon('trash');
|
|
||||||
item.onClick(() => {
|
|
||||||
menu.hide();
|
|
||||||
this.removeFolderIcon(file.path);
|
|
||||||
removeFromDOM(file.path);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
menu.addItem(addIconMenuItem);
|
|
||||||
menu.addItem(removeIconMenuItem);
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
onunload() {
|
|
||||||
console.log('unloading plugin obsidian-icon-folder');
|
|
||||||
}
|
|
||||||
|
|
||||||
removeFolderIcon(path: string): void {
|
|
||||||
delete this.folderIconData[path];
|
|
||||||
this.saveIconFolderData();
|
|
||||||
}
|
|
||||||
|
|
||||||
addFolderIcon(path: string, iconId: string): void {
|
|
||||||
if (this.folderIconData[path]) {
|
|
||||||
removeFromDOM(path);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.folderIconData[path] = iconId;
|
|
||||||
this.saveIconFolderData();
|
|
||||||
}
|
|
||||||
|
|
||||||
async loadIconFolderData(): Promise<void> {
|
|
||||||
this.folderIconData = Object.assign({}, {}, await this.loadData());
|
|
||||||
}
|
|
||||||
|
|
||||||
async saveIconFolderData(): Promise<void> {
|
|
||||||
await this.saveData(this.folderIconData);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,6 +0,0 @@
|
|||||||
.obsidian-icon-folder-icon {
|
|
||||||
border: 1px solid transparent;
|
|
||||||
padding: 2px 2px 2px 2px;
|
|
||||||
display: flex;
|
|
||||||
margin: auto 0;
|
|
||||||
}
|
|
@ -1,78 +0,0 @@
|
|||||||
import * as remixicons from 'react-icons/ri/index';
|
|
||||||
// @ts-ignore
|
|
||||||
import { renderToString } from 'react-dom/server';
|
|
||||||
import IconFolderPlugin from './main';
|
|
||||||
|
|
||||||
export const waitForNode = (selector: string): Promise<Element> => {
|
|
||||||
return new Promise((resolve) => {
|
|
||||||
if (document.querySelector(selector)) {
|
|
||||||
return resolve(document.querySelector(selector));
|
|
||||||
}
|
|
||||||
|
|
||||||
const observer = new MutationObserver(() => {
|
|
||||||
if (document.querySelector(selector)) {
|
|
||||||
resolve(document.querySelector(selector));
|
|
||||||
observer.disconnect();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
observer.observe(document.body, {
|
|
||||||
childList: true,
|
|
||||||
subtree: true,
|
|
||||||
});
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
export const removeFromDOM = (path: string) => {
|
|
||||||
const node = document.querySelector(`[data-path="${path}"]`);
|
|
||||||
if (!node) {
|
|
||||||
console.error('element with data path not found', path);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const iconNode = node.querySelector('.obsidian-icon-folder-icon');
|
|
||||||
if (!iconNode) {
|
|
||||||
console.error('icon element does not exist', path);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
iconNode.remove();
|
|
||||||
};
|
|
||||||
|
|
||||||
export const addToDOMWithElement = (
|
|
||||||
plugin: IconFolderPlugin,
|
|
||||||
path: string,
|
|
||||||
iconId: string,
|
|
||||||
node: Element,
|
|
||||||
): void => {
|
|
||||||
const titleNode = node.querySelector('.nav-folder-title-content');
|
|
||||||
if (!titleNode) {
|
|
||||||
console.error('element with title not found');
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const iconNode = document.createElement('div');
|
|
||||||
iconNode.classList.add('obsidian-icon-folder-icon');
|
|
||||||
iconNode.innerHTML = renderToString(
|
|
||||||
// @ts-ignore
|
|
||||||
remixicons[iconId]({
|
|
||||||
size: '16px',
|
|
||||||
}),
|
|
||||||
);
|
|
||||||
|
|
||||||
node.insertBefore(iconNode, titleNode);
|
|
||||||
};
|
|
||||||
|
|
||||||
export const addToDOM = (
|
|
||||||
plugin: IconFolderPlugin,
|
|
||||||
path: string,
|
|
||||||
iconId: string,
|
|
||||||
): void => {
|
|
||||||
const node = document.querySelector(`[data-path="${path}"]`);
|
|
||||||
if (!node) {
|
|
||||||
console.error('element with data path not found', path);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
addToDOMWithElement(plugin, path, iconId, node);
|
|
||||||
};
|
|
@ -1,22 +0,0 @@
|
|||||||
{
|
|
||||||
"compilerOptions": {
|
|
||||||
"baseUrl": ".",
|
|
||||||
"inlineSourceMap": true,
|
|
||||||
"inlineSources": true,
|
|
||||||
"module": "ESNext",
|
|
||||||
"target": "es6",
|
|
||||||
"allowJs": true,
|
|
||||||
"noImplicitAny": true,
|
|
||||||
"moduleResolution": "node",
|
|
||||||
"importHelpers": true,
|
|
||||||
"lib": [
|
|
||||||
"dom",
|
|
||||||
"es5",
|
|
||||||
"scripthost",
|
|
||||||
"es2015"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"include": [
|
|
||||||
"**/*.ts"
|
|
||||||
]
|
|
||||||
}
|
|
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"1.0.0": "0.9.12"
|
|
||||||
}
|
|
@ -1,326 +0,0 @@
|
|||||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
|
|
||||||
# yarn lockfile v1
|
|
||||||
|
|
||||||
|
|
||||||
"@rollup/plugin-commonjs@^18.0.0":
|
|
||||||
version "18.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-18.1.0.tgz#5a760d757af168a50727c0ae080251fbfcc5eb02"
|
|
||||||
integrity sha512-h3e6T9rUxVMAQswpDIobfUHn/doMzM9sgkMrsMWCFLmB84PSoC8mV8tOloAJjSRwdqhXBqstlX2BwBpHJvbhxg==
|
|
||||||
dependencies:
|
|
||||||
"@rollup/pluginutils" "^3.1.0"
|
|
||||||
commondir "^1.0.1"
|
|
||||||
estree-walker "^2.0.1"
|
|
||||||
glob "^7.1.6"
|
|
||||||
is-reference "^1.2.1"
|
|
||||||
magic-string "^0.25.7"
|
|
||||||
resolve "^1.17.0"
|
|
||||||
|
|
||||||
"@rollup/plugin-node-resolve@^11.2.1":
|
|
||||||
version "11.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.1.tgz#82aa59397a29cd4e13248b106e6a4a1880362a60"
|
|
||||||
integrity sha512-yc2n43jcqVyGE2sqV5/YCmocy9ArjVAP/BeXyTtADTBBX6V0e5UMqwO8CdQ0kzjb6zu5P1qMzsScCMRvE9OlVg==
|
|
||||||
dependencies:
|
|
||||||
"@rollup/pluginutils" "^3.1.0"
|
|
||||||
"@types/resolve" "1.17.1"
|
|
||||||
builtin-modules "^3.1.0"
|
|
||||||
deepmerge "^4.2.2"
|
|
||||||
is-module "^1.0.0"
|
|
||||||
resolve "^1.19.0"
|
|
||||||
|
|
||||||
"@rollup/plugin-typescript@^8.2.1":
|
|
||||||
version "8.2.5"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-8.2.5.tgz#e0319761b2b5105615e5a0c371ae05bc2984b7de"
|
|
||||||
integrity sha512-QL/LvDol/PAGB2O0S7/+q2HpSUNodpw7z6nGn9BfoVCPOZ0r4EALrojFU29Bkoi2Hr2jgTocTejJ5GGWZfOxbQ==
|
|
||||||
dependencies:
|
|
||||||
"@rollup/pluginutils" "^3.1.0"
|
|
||||||
resolve "^1.17.0"
|
|
||||||
|
|
||||||
"@rollup/pluginutils@^3.1.0":
|
|
||||||
version "3.1.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
|
|
||||||
integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==
|
|
||||||
dependencies:
|
|
||||||
"@types/estree" "0.0.39"
|
|
||||||
estree-walker "^1.0.1"
|
|
||||||
picomatch "^2.2.2"
|
|
||||||
|
|
||||||
"@types/codemirror@0.0.108":
|
|
||||||
version "0.0.108"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/codemirror/-/codemirror-0.0.108.tgz#e640422b666bf49251b384c390cdeb2362585bde"
|
|
||||||
integrity sha512-3FGFcus0P7C2UOGCNUVENqObEb4SFk+S8Dnxq7K6aIsLVs/vDtlangl3PEO0ykaKXyK56swVF6Nho7VsA44uhw==
|
|
||||||
dependencies:
|
|
||||||
"@types/tern" "*"
|
|
||||||
|
|
||||||
"@types/estree@*":
|
|
||||||
version "0.0.50"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.50.tgz#1e0caa9364d3fccd2931c3ed96fdbeaa5d4cca83"
|
|
||||||
integrity sha512-C6N5s2ZFtuZRj54k2/zyRhNDjJwwcViAM3Nbm8zjBpbqAdZ00mr0CFxvSKeO8Y/e03WVFLpQMdHYVfUd6SB+Hw==
|
|
||||||
|
|
||||||
"@types/estree@0.0.39":
|
|
||||||
version "0.0.39"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
|
|
||||||
integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
|
|
||||||
|
|
||||||
"@types/node@*":
|
|
||||||
version "16.7.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.7.2.tgz#0465a39b5456b61a04d98bd5545f8b34be340cb7"
|
|
||||||
integrity sha512-TbG4TOx9hng8FKxaVrCisdaxKxqEwJ3zwHoCWXZ0Jw6mnvTInpaB99/2Cy4+XxpXtjNv9/TgfGSvZFyfV/t8Fw==
|
|
||||||
|
|
||||||
"@types/node@^14.14.37":
|
|
||||||
version "14.17.12"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.12.tgz#7a31f720b85a617e54e42d24c4ace136601656c7"
|
|
||||||
integrity sha512-vhUqgjJR1qxwTWV5Ps5txuy2XMdf7Fw+OrdChRboy8BmWUPkckOhphaohzFG6b8DW7CrxaBMdrdJ47SYFq1okw==
|
|
||||||
|
|
||||||
"@types/resolve@1.17.1":
|
|
||||||
version "1.17.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
|
|
||||||
integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==
|
|
||||||
dependencies:
|
|
||||||
"@types/node" "*"
|
|
||||||
|
|
||||||
"@types/tern@*":
|
|
||||||
version "0.23.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/@types/tern/-/tern-0.23.4.tgz#03926eb13dbeaf3ae0d390caf706b2643a0127fb"
|
|
||||||
integrity sha512-JAUw1iXGO1qaWwEOzxTKJZ/5JxVeON9kvGZ/osgZaJImBnyjyn0cjovPsf6FNLmyGY8Vw9DoXZCMlfMkMwHRWg==
|
|
||||||
dependencies:
|
|
||||||
"@types/estree" "*"
|
|
||||||
|
|
||||||
balanced-match@^1.0.0:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee"
|
|
||||||
integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==
|
|
||||||
|
|
||||||
brace-expansion@^1.1.7:
|
|
||||||
version "1.1.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
|
|
||||||
integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
|
|
||||||
dependencies:
|
|
||||||
balanced-match "^1.0.0"
|
|
||||||
concat-map "0.0.1"
|
|
||||||
|
|
||||||
builtin-modules@^3.1.0:
|
|
||||||
version "3.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887"
|
|
||||||
integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==
|
|
||||||
|
|
||||||
commondir@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
|
|
||||||
integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=
|
|
||||||
|
|
||||||
concat-map@0.0.1:
|
|
||||||
version "0.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
|
||||||
integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
|
|
||||||
|
|
||||||
deepmerge@^4.2.2:
|
|
||||||
version "4.2.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
|
|
||||||
integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==
|
|
||||||
|
|
||||||
estree-walker@^1.0.1:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
|
|
||||||
integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
|
|
||||||
|
|
||||||
estree-walker@^2.0.1:
|
|
||||||
version "2.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
|
|
||||||
integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
|
|
||||||
|
|
||||||
fs.realpath@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
|
|
||||||
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
|
|
||||||
|
|
||||||
fsevents@~2.3.2:
|
|
||||||
version "2.3.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
|
|
||||||
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
|
|
||||||
|
|
||||||
function-bind@^1.1.1:
|
|
||||||
version "1.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
|
|
||||||
integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
|
|
||||||
|
|
||||||
glob@^7.1.6:
|
|
||||||
version "7.1.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90"
|
|
||||||
integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ==
|
|
||||||
dependencies:
|
|
||||||
fs.realpath "^1.0.0"
|
|
||||||
inflight "^1.0.4"
|
|
||||||
inherits "2"
|
|
||||||
minimatch "^3.0.4"
|
|
||||||
once "^1.3.0"
|
|
||||||
path-is-absolute "^1.0.0"
|
|
||||||
|
|
||||||
has@^1.0.3:
|
|
||||||
version "1.0.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
|
|
||||||
integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
|
|
||||||
dependencies:
|
|
||||||
function-bind "^1.1.1"
|
|
||||||
|
|
||||||
inflight@^1.0.4:
|
|
||||||
version "1.0.6"
|
|
||||||
resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
|
|
||||||
integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
|
|
||||||
dependencies:
|
|
||||||
once "^1.3.0"
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
inherits@2:
|
|
||||||
version "2.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
|
|
||||||
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
|
|
||||||
|
|
||||||
is-core-module@^2.2.0:
|
|
||||||
version "2.6.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.6.0.tgz#d7553b2526fe59b92ba3e40c8df757ec8a709e19"
|
|
||||||
integrity sha512-wShG8vs60jKfPWpF2KZRaAtvt3a20OAn7+IJ6hLPECpSABLcKtFKTTI4ZtH5QcBruBHlq+WsdHWyz0BCZW7svQ==
|
|
||||||
dependencies:
|
|
||||||
has "^1.0.3"
|
|
||||||
|
|
||||||
is-module@^1.0.0:
|
|
||||||
version "1.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
|
|
||||||
integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=
|
|
||||||
|
|
||||||
is-reference@^1.2.1:
|
|
||||||
version "1.2.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
|
|
||||||
integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==
|
|
||||||
dependencies:
|
|
||||||
"@types/estree" "*"
|
|
||||||
|
|
||||||
"js-tokens@^3.0.0 || ^4.0.0":
|
|
||||||
version "4.0.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
|
|
||||||
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
|
|
||||||
|
|
||||||
loose-envify@^1.1.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
|
|
||||||
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
|
|
||||||
dependencies:
|
|
||||||
js-tokens "^3.0.0 || ^4.0.0"
|
|
||||||
|
|
||||||
magic-string@^0.25.7:
|
|
||||||
version "0.25.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
|
|
||||||
integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==
|
|
||||||
dependencies:
|
|
||||||
sourcemap-codec "^1.4.4"
|
|
||||||
|
|
||||||
minimatch@^3.0.4:
|
|
||||||
version "3.0.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
|
|
||||||
integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
|
|
||||||
dependencies:
|
|
||||||
brace-expansion "^1.1.7"
|
|
||||||
|
|
||||||
moment@2.29.1:
|
|
||||||
version "2.29.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3"
|
|
||||||
integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ==
|
|
||||||
|
|
||||||
object-assign@^4.1.1:
|
|
||||||
version "4.1.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
|
|
||||||
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
|
|
||||||
|
|
||||||
obsidian@^0.12.0:
|
|
||||||
version "0.12.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/obsidian/-/obsidian-0.12.11.tgz#c92fbbb29fc2d4732e156b41a66d4ba8d42baaab"
|
|
||||||
integrity sha512-Kv4m1n4nfd17FzpqHZfqFS2YZAyY+cxAUM7/5jqh1bmbPlmKoNd1XJZC7o9KvkXfTCxALiXfGRdrjHB+GUFAEA==
|
|
||||||
dependencies:
|
|
||||||
"@types/codemirror" "0.0.108"
|
|
||||||
moment "2.29.1"
|
|
||||||
|
|
||||||
once@^1.3.0:
|
|
||||||
version "1.4.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
|
||||||
integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
|
|
||||||
dependencies:
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
path-is-absolute@^1.0.0:
|
|
||||||
version "1.0.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
|
|
||||||
integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
|
|
||||||
|
|
||||||
path-parse@^1.0.6:
|
|
||||||
version "1.0.7"
|
|
||||||
resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735"
|
|
||||||
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
|
|
||||||
|
|
||||||
picomatch@^2.2.2:
|
|
||||||
version "2.3.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972"
|
|
||||||
integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw==
|
|
||||||
|
|
||||||
react-dom@^17.0.2:
|
|
||||||
version "17.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.2.tgz#ecffb6845e3ad8dbfcdc498f0d0a939736502c23"
|
|
||||||
integrity sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==
|
|
||||||
dependencies:
|
|
||||||
loose-envify "^1.1.0"
|
|
||||||
object-assign "^4.1.1"
|
|
||||||
scheduler "^0.20.2"
|
|
||||||
|
|
||||||
react-icons@^4.2.0:
|
|
||||||
version "4.2.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-4.2.0.tgz#6dda80c8a8f338ff96a1851424d63083282630d0"
|
|
||||||
integrity sha512-rmzEDFt+AVXRzD7zDE21gcxyBizD/3NqjbX6cmViAgdqfJ2UiLer8927/QhhrXQV7dEj/1EGuOTPp7JnLYVJKQ==
|
|
||||||
|
|
||||||
react@^17.0.2:
|
|
||||||
version "17.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/react/-/react-17.0.2.tgz#d0b5cc516d29eb3eee383f75b62864cfb6800037"
|
|
||||||
integrity sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==
|
|
||||||
dependencies:
|
|
||||||
loose-envify "^1.1.0"
|
|
||||||
object-assign "^4.1.1"
|
|
||||||
|
|
||||||
resolve@^1.17.0, resolve@^1.19.0:
|
|
||||||
version "1.20.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
|
|
||||||
integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==
|
|
||||||
dependencies:
|
|
||||||
is-core-module "^2.2.0"
|
|
||||||
path-parse "^1.0.6"
|
|
||||||
|
|
||||||
rollup@^2.32.1:
|
|
||||||
version "2.56.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.56.3.tgz#b63edadd9851b0d618a6d0e6af8201955a77aeff"
|
|
||||||
integrity sha512-Au92NuznFklgQCUcV96iXlxUbHuB1vQMaH76DHl5M11TotjOHwqk9CwcrT78+Tnv4FN9uTBxq6p4EJoYkpyekg==
|
|
||||||
optionalDependencies:
|
|
||||||
fsevents "~2.3.2"
|
|
||||||
|
|
||||||
scheduler@^0.20.2:
|
|
||||||
version "0.20.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
|
|
||||||
integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
|
|
||||||
dependencies:
|
|
||||||
loose-envify "^1.1.0"
|
|
||||||
object-assign "^4.1.1"
|
|
||||||
|
|
||||||
sourcemap-codec@^1.4.4:
|
|
||||||
version "1.4.8"
|
|
||||||
resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"
|
|
||||||
integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==
|
|
||||||
|
|
||||||
tslib@^2.2.0:
|
|
||||||
version "2.3.1"
|
|
||||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01"
|
|
||||||
integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==
|
|
||||||
|
|
||||||
typescript@^4.2.4:
|
|
||||||
version "4.4.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
|
|
||||||
integrity sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==
|
|
||||||
|
|
||||||
wrappy@1:
|
|
||||||
version "1.0.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
|
|
||||||
integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
|
|
File diff suppressed because one or more lines are too long
@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "obsidian-icons-plugin",
|
|
||||||
"name": "Icons",
|
|
||||||
"version": "0.3.0",
|
|
||||||
"minAppVersion": "0.10.7",
|
|
||||||
"description": "Add icons to your Obsidian notes.",
|
|
||||||
"author": "Camillo Visini",
|
|
||||||
"authorUrl": "https://github.com/visini",
|
|
||||||
"isDesktopOnly": true
|
|
||||||
}
|
|
@ -1,16 +0,0 @@
|
|||||||
.obsidian-icon {
|
|
||||||
font-size: inherit;
|
|
||||||
display: inline-block;
|
|
||||||
width: 2rem !important;
|
|
||||||
text-align: center;
|
|
||||||
/* margin-right: -0.5rem !important; */
|
|
||||||
}
|
|
||||||
|
|
||||||
p .obsidian-icon {
|
|
||||||
width: 1.75rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.obsidian-icon.react-icon > svg {
|
|
||||||
vertical-align: middle;
|
|
||||||
margin-bottom: 3px;
|
|
||||||
}
|
|
Loading…
Reference in new issue