diff --git a/docs/components/button.md b/docs/components/button.md index 6b93f5508..8da132261 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -24,6 +24,8 @@ + + ```vue diff --git a/docs/components/categories.md b/docs/components/categories.md index 34e793066..d9e054e8e 100644 --- a/docs/components/categories.md +++ b/docs/components/categories.md @@ -2,22 +2,7 @@ @@ -25,22 +10,7 @@ ```vue diff --git a/docs/components/checkbox.md b/docs/components/checkbox.md index e81f1e265..ec3784bdc 100644 --- a/docs/components/checkbox.md +++ b/docs/components/checkbox.md @@ -8,6 +8,7 @@ const value = ref(false) Test +Value: {{ value }} ```vue diff --git a/docs/components/markdown-editor.md b/docs/components/markdown-editor.md index df35be280..4fd6f74f5 100644 --- a/docs/components/markdown-editor.md +++ b/docs/components/markdown-editor.md @@ -7,6 +7,10 @@ const description1 = ref(null); const description2 = ref(null); const description3 = ref(null); +const description4 = ref("Hello, world! This is a **bold** statement."); + +const isDisabled = ref(false); + const onImageUpload = (file) => { return URL.createObjectURL(file).replace("blob:", ""); }; @@ -79,3 +83,34 @@ const description = ref(null) ``` + +## With default value + + + + +```vue + + + +``` + +## Disabled + + + + + +```vue + + + +``` diff --git a/docs/components/modal.md b/docs/components/modal.md index bd215fb9a..06369d291 100644 --- a/docs/components/modal.md +++ b/docs/components/modal.md @@ -2,14 +2,7 @@ :::raw - - - Show Modal - + + + ``` diff --git a/docs/components/overflow-menu.md b/docs/components/overflow-menu.md index 8a338ec4e..f0822aa15 100644 --- a/docs/components/overflow-menu.md +++ b/docs/components/overflow-menu.md @@ -12,6 +12,11 @@ 'id': 'duplicate', 'action': () => {} }, + { + 'id': 'disabled', + 'disabled': true, + 'action': () => {} + }, { 'id': 'report', 'link': 'https://example.com/report', @@ -37,6 +42,9 @@ + @@ -64,6 +72,11 @@ 'id': 'duplicate', 'action': () => {} }, + { + 'id': 'disabled', + 'disabled': true, + 'action': () => {} + }, { 'id': 'report', 'link': 'https://example.com/report', @@ -83,12 +96,21 @@ } ]"> More options... - ``` + +[//]: # (# Popout Menu on hover) + +[//]: # () + +[//]: # ( ) + +[//]: # ( Hover me! ) + +[//]: # ( ) + +[//]: # ( ) + +[//]: # () + +[//]: # () +[//]: # (```vue) + +[//]: # () + +[//]: # ( Hover me!) + +[//]: # ( ) + +[//]: # () + +[//]: # (```) diff --git a/docs/components/project-card.md b/docs/components/project-card.md index f3ce61e7e..b0bc49dfd 100644 --- a/docs/components/project-card.md +++ b/docs/components/project-card.md @@ -13,22 +13,7 @@ follows="20" createdAt="2020-12-27T19:00:00.000Z" updatedAt="2021-01-01T19:00:00.000Z" - :categories="[{ - name: 'magic', - icon: '', - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['magic', 'utility', 'fabric', 'forge']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -48,22 +33,7 @@ follows="177" createdAt="2022-09-02T19:00:00.000Z" updatedAt="2023-02-18T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'management' - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['management', 'utility', 'fabric', 'forge']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="unsupported" @@ -83,26 +53,7 @@ follows="153" createdAt="2022-06-19T19:00:00.000Z" updatedAt="2023-03-03T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'adventure' - }, - { - icon: '', - name: 'technology' - }, - { - icon: '', - name: 'worldgen' - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -126,22 +77,7 @@ follows="20" createdAt="2020-12-27T19:00:00.000Z" updatedAt="2021-01-01T19:00:00.000Z" - :categories="[{ - name: 'magic', - icon: '', - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -161,22 +97,7 @@ follows="177" createdAt="2022-09-02T19:00:00.000Z" updatedAt="2023-02-18T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'management' - }, - { - icon: '', - name: 'utility', - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="unsupported" @@ -196,26 +117,7 @@ follows="153" createdAt="2022-06-19T19:00:00.000Z" updatedAt="2023-03-03T19:00:00.000Z" - :categories="[{ - icon: '', - name: 'adventure' - }, - { - icon: '', - name: 'technology' - }, - { - icon: '', - name: 'worldgen' - }, - { - icon: '\n \n \n', - name: 'fabric', - }, - { - icon: '\n \n \n', - name: 'forge' - }]" + :categories="['adventure']" projectTypeDisplay="mod" projectTypeUrl="/mod" serverSide="required" @@ -228,7 +130,7 @@