diff --git a/package.json b/package.json index e96199cd..3691f9c5 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,8 @@ "autoprefixer": "^10.4.14", "jsdom": "^22.1.0", "markdown-it-container": "^3.0.0", + "markdown-it-sub": "^1.0.0", + "markdown-it-sup": "^1.0.0", "nprogress": "^0.2.0", "postcss": "^8.4.24", "svelte": "^3.54.0", diff --git a/src/app.d.ts b/src/app.d.ts index 46192b10..bfb8b890 100644 --- a/src/app.d.ts +++ b/src/app.d.ts @@ -14,3 +14,6 @@ declare global { export {} declare const __VERSION__: string + +declare module 'markdown-it-sub' +declare module 'markdown-it-sup' diff --git a/src/lib/components/input/Button.svelte b/src/lib/components/input/Button.svelte index 40ec7b30..bb93e29f 100644 --- a/src/lib/components/input/Button.svelte +++ b/src/lib/components/input/Button.svelte @@ -44,6 +44,9 @@ sm: 'px-2 py-1', md: 'px-3 py-1.5', lg: 'px-4 py-2', + 'square-sm': 'w-6 h-6', + 'square-md': 'w-8 h-8', + 'square-lg': 'w-10 h-10', } const buttonRoundness = { diff --git a/src/lib/components/input/TextArea.svelte b/src/lib/components/input/TextArea.svelte index b2465662..31f90836 100644 --- a/src/lib/components/input/TextArea.svelte +++ b/src/lib/components/input/TextArea.svelte @@ -7,6 +7,7 @@ export let maxlength: number = -1 export let rows: number = 3 export let required: boolean = false + export let item: any = undefined let clazz = '' export { clazz as class } @@ -27,6 +28,7 @@ {/if}