upgrade: mono-svelte to 1.5.5
This commit is contained in:
1 parent
8129fded76
commit
a505bd5b64
5 files changed
+25
-22
No files matched your search
+1
-1
@@ -47,7 +47,7 @@
|
|||||||
"@dicebear/core": "^6.0.4",
|
"@dicebear/core": "^6.0.4",
|
||||||
"@dicebear/initials": "^6.0.4",
|
"@dicebear/initials": "^6.0.4",
|
||||||
"markdown-it": "^13.0.1",
|
"markdown-it": "^13.0.1",
|
||||||
"mono-svelte": "1.5.3"
|
"mono-svelte": "1.5.5"
|
||||||
},
|
},
|
||||||
"overrides": {
|
"overrides": {
|
||||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||||
|
|||||||
@@ -166,7 +166,7 @@
|
|||||||
link
|
link
|
||||||
href="/u/{post.creator.name}@{new URL(post.creator.actor_id).hostname}"
|
href="/u/{post.creator.name}@{new URL(post.creator.actor_id).hostname}"
|
||||||
>
|
>
|
||||||
<Icon src={UserCircle} width={16} mini />
|
<Icon src={UserCircle} width={16} mini slot="prefix" />
|
||||||
<span>{post.creator.name}</span>
|
<span>{post.creator.name}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -174,7 +174,7 @@
|
|||||||
href="/c/{post.community.name}@{new URL(post.community.actor_id)
|
href="/c/{post.community.name}@{new URL(post.community.actor_id)
|
||||||
.hostname}"
|
.hostname}"
|
||||||
>
|
>
|
||||||
<Icon src={Newspaper} width={16} mini />
|
<Icon src={Newspaper} width={16} mini slot="prefix" />
|
||||||
<span>{post.community.title}</span>
|
<span>{post.community.title}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -194,18 +194,20 @@
|
|||||||
return
|
return
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{#if fediseerLoading}
|
<svelte:fragment slot="prefix">
|
||||||
<Spinner width={14} />
|
{#if fediseerLoading}
|
||||||
{:else}
|
<Spinner width={14} />
|
||||||
<Icon src={ServerStack} width={16} mini />
|
{:else}
|
||||||
{/if}
|
<Icon src={ServerStack} width={16} mini />
|
||||||
|
{/if}
|
||||||
|
</svelte:fragment>
|
||||||
<span>{new URL(post.community.actor_id).hostname}</span>
|
<span>{new URL(post.community.actor_id).hostname}</span>
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<hr class="w-[90%] mx-auto opacity-100 dark:opacity-10 my-2" />
|
<hr class="w-[90%] mx-auto opacity-100 dark:opacity-10 my-2" />
|
||||||
<MenuDivider>Actions</MenuDivider>
|
<MenuDivider>Actions</MenuDivider>
|
||||||
{#if $profile?.user && $profile?.jwt && $profile.user.local_user_view.person.id == post.creator.id}
|
{#if $profile?.user && $profile?.jwt && $profile.user.local_user_view.person.id == post.creator.id}
|
||||||
<MenuButton on:click={() => (editing = true)}>
|
<MenuButton on:click={() => (editing = true)}>
|
||||||
<Icon src={PencilSquare} width={16} mini />
|
<Icon src={PencilSquare} width={16} mini slot="prefix" />
|
||||||
Edit
|
Edit
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -227,7 +229,7 @@
|
|||||||
}) ?? navigator.clipboard.writeText(post.post.ap_id)
|
}) ?? navigator.clipboard.writeText(post.post.ap_id)
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon src={Share} width={16} mini />
|
<Icon src={Share} width={16} mini slot="prefix" />
|
||||||
Share
|
Share
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if $profile?.jwt}
|
{#if $profile?.jwt}
|
||||||
@@ -254,7 +256,7 @@
|
|||||||
goto('/create/post?crosspost=true')
|
goto('/create/post?crosspost=true')
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Icon src={ArrowTopRightOnSquare} width={16} mini />
|
<Icon src={ArrowTopRightOnSquare} width={16} mini slot="prefix" />
|
||||||
Crosspost
|
Crosspost
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if $profile.user && post.creator.id == $profile.user.local_user_view.person.id}
|
{#if $profile.user && post.creator.id == $profile.user.local_user_view.person.id}
|
||||||
@@ -269,13 +271,13 @@
|
|||||||
}}
|
}}
|
||||||
color="danger-subtle"
|
color="danger-subtle"
|
||||||
>
|
>
|
||||||
<Icon src={Trash} width={16} mini />
|
<Icon src={Trash} width={16} mini slot="prefix" />
|
||||||
{post.post.deleted ? 'Restore' : 'Delete'}
|
{post.post.deleted ? 'Restore' : 'Delete'}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
{#if $profile.user?.local_user_view.person.id != post.creator.id}
|
{#if $profile.user?.local_user_view.person.id != post.creator.id}
|
||||||
<MenuButton on:click={() => report(post)} color="danger-subtle">
|
<MenuButton on:click={() => report(post)} color="danger-subtle">
|
||||||
<Icon src={Flag} width={16} mini />
|
<Icon src={Flag} width={16} mini slot="prefix" />
|
||||||
Report
|
Report
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
@@ -118,7 +118,7 @@
|
|||||||
href="/create/post"
|
href="/create/post"
|
||||||
disabled={$profile?.jwt == undefined}
|
disabled={$profile?.jwt == undefined}
|
||||||
>
|
>
|
||||||
<Icon src={PencilSquare} mini width={16} />
|
<Icon src={PencilSquare} mini width={16} slot="prefix" />
|
||||||
Post
|
Post
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -129,7 +129,7 @@
|
|||||||
($site?.site_view.local_site.community_creation_admin_only &&
|
($site?.site_view.local_site.community_creation_admin_only &&
|
||||||
!isAdmin($profile.user))}
|
!isAdmin($profile.user))}
|
||||||
>
|
>
|
||||||
<Icon src={Newspaper} mini width={16} />
|
<Icon src={Newspaper} mini width={16} slot="prefix" />
|
||||||
Community
|
Community
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if !$profile?.jwt}
|
{#if !$profile?.jwt}
|
||||||
|
|||||||
@@ -73,10 +73,10 @@
|
|||||||
{/if}
|
{/if}
|
||||||
{#if $profile?.user}
|
{#if $profile?.user}
|
||||||
<MenuButton link href="/profile">
|
<MenuButton link href="/profile">
|
||||||
<Icon src={UserCircle} mini width={16} /> Profile
|
<Icon src={UserCircle} mini width={16} slot="prefix" /> Profile
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton link href="/inbox">
|
<MenuButton link href="/inbox">
|
||||||
<Icon src={Inbox} mini width={16} />
|
<Icon src={Inbox} mini width={16} slot="prefix" />
|
||||||
Inbox
|
Inbox
|
||||||
{#if $profile.user.notifications.inbox > 0}
|
{#if $profile.user.notifications.inbox > 0}
|
||||||
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
|
<Badge color="red-subtle" class="text-xs ml-auto font-bold !py-0.5">
|
||||||
@@ -85,17 +85,17 @@
|
|||||||
{/if}
|
{/if}
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton link href="/saved">
|
<MenuButton link href="/saved">
|
||||||
<Icon src={Bookmark} mini width={16} /> Saved
|
<Icon src={Bookmark} mini width={16} slot="prefix" /> Saved
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
<MenuButton link href="/accounts">
|
<MenuButton link href="/accounts">
|
||||||
<Icon src={UserGroup} mini width={16} />
|
<Icon src={UserGroup} mini width={16} slot="prefix" />
|
||||||
Accounts
|
Accounts
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
|
<hr class="dark:opacity-10 w-[90%] my-2 mx-auto" />
|
||||||
<MenuDivider>App</MenuDivider>
|
<MenuDivider>App</MenuDivider>
|
||||||
<MenuButton link href="/settings">
|
<MenuButton link href="/settings">
|
||||||
<Icon src={Cog6Tooth} mini width={16} />
|
<Icon src={Cog6Tooth} mini width={16} slot="prefix" />
|
||||||
Settings
|
Settings
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
<MenuButton
|
<MenuButton
|
||||||
@@ -114,6 +114,7 @@
|
|||||||
: Moon}
|
: Moon}
|
||||||
mini
|
mini
|
||||||
size="16"
|
size="16"
|
||||||
|
slot="prefix"
|
||||||
/>
|
/>
|
||||||
<span>Color Scheme</span>
|
<span>Color Scheme</span>
|
||||||
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
<!-- svelte-ignore a11y-click-events-have-key-events -->
|
||||||
@@ -128,7 +129,7 @@
|
|||||||
</MenuButton>
|
</MenuButton>
|
||||||
{#if $userSettings.debugInfo}
|
{#if $userSettings.debugInfo}
|
||||||
<MenuButton link href="/util">
|
<MenuButton link href="/util">
|
||||||
<Icon src={BugAnt} mini width={16} />
|
<Icon src={BugAnt} mini width={16} slot="prefix" />
|
||||||
Debug
|
Debug
|
||||||
</MenuButton>
|
</MenuButton>
|
||||||
{/if}
|
{/if}
|
||||||
@@ -144,7 +145,7 @@
|
|||||||
toast({ content: 'Copied version to clipboard.' })
|
toast({ content: 'Copied version to clipboard.' })
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<Badge>{__VERSION__}</Badge>
|
<Badge color="blue-subtle">{__VERSION__}</Badge>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<Button
|
<Button
|
||||||
|
|||||||
Reference in new issue
Block a user