upgrade: mono-svelte: 0.4.1 -> 1.2.2
This commit is contained in:
1 parent
cac7c992d9
commit
2d03071e67
14 files changed
+54
-23
No files matched your search
+1
-1
@@ -44,7 +44,7 @@
|
||||
"@dicebear/core": "^6.0.4",
|
||||
"@dicebear/initials": "^6.0.4",
|
||||
"markdown-it": "^13.0.1",
|
||||
"mono-svelte": "^0.4.1"
|
||||
"mono-svelte": "^1.2.2"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
@@ -85,7 +85,7 @@
|
||||
cursor-pointer"
|
||||
>
|
||||
{#each admins as admin}
|
||||
<Popover openOnHover origin="top-left" class="transition-all">
|
||||
<Popover openOnHover placement="top-start" class="transition-all">
|
||||
<a
|
||||
class="block ring rounded-full ring-slate-50 dark:ring-zinc-950 transition-all"
|
||||
href="/u/{admin.person.name}@{new URL(admin.person.actor_id)
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{#if $profile?.user && (amMod($profile?.user, comment.community) || isAdmin($profile.user))}
|
||||
<CommentModerationMenu bind:item={comment} />
|
||||
{/if}
|
||||
<Menu origin="bottom-center">
|
||||
<Menu placement="bottom">
|
||||
<Button
|
||||
slot="target"
|
||||
class="!p-1"
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
cursor-pointer"
|
||||
>
|
||||
{#each moderators as moderator}
|
||||
<Popover openOnHover origin="top-left" class="transition-all">
|
||||
<Popover openOnHover placement="top-start" class="transition-all">
|
||||
<a
|
||||
class="block ring rounded-full ring-slate-50 dark:ring-zinc-950 transition-all"
|
||||
href="/u/{moderator.moderator.name}@{new URL(
|
||||
@@ -246,7 +246,7 @@
|
||||
<Icon src={Cog6Tooth} mini size="16" slot="prefix" />
|
||||
</Button>
|
||||
{/if}
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button size="square-md" slot="target">
|
||||
<Icon src={EllipsisHorizontal} size="16" mini slot="prefix" />
|
||||
</Button>
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
export let item: PostView | CommentView
|
||||
</script>
|
||||
|
||||
<Menu origin="bottom-center" class="top-0 h-[26px] w-[26px] ">
|
||||
<Menu placement="bottom" class="top-0 h-[26px] w-[26px] ">
|
||||
<Button
|
||||
class="w-[26px] h-[26px] hover:!text-green-500 dark:text-zinc-400 text-slate-600"
|
||||
size="square-md"
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
}
|
||||
</script>
|
||||
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button
|
||||
class="hover:!text-green-500 dark:text-zinc-400 text-slate-500"
|
||||
slot="target"
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
<ModerationMenu bind:item={post} community={post.community} />
|
||||
{/if}
|
||||
<Menu
|
||||
origin="bottom-right"
|
||||
placement="bottom-end"
|
||||
containerClass="overflow-auto max-h-[400px]"
|
||||
class="h-8"
|
||||
targetClass="h-full"
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
Newspaper,
|
||||
PencilSquare,
|
||||
Plus,
|
||||
ServerStack,
|
||||
Sun,
|
||||
UserCircle,
|
||||
UserGroup,
|
||||
@@ -110,9 +111,9 @@
|
||||
<Button
|
||||
href="/admin"
|
||||
aria-label="Admin"
|
||||
class="max-md:w-9 max-md:h-8 max-md:!p-0 "
|
||||
class="max-md:w-9 max-md:h-8 max-md:!p-0 dark:text-zinc-300 text-slate-700"
|
||||
>
|
||||
<Icon src={CommandLine} mini size="16" slot="prefix" />
|
||||
<Icon src={ServerStack} mini size="18" slot="prefix" />
|
||||
<span class="hidden md:inline">Admin</span>
|
||||
</Button>
|
||||
{/if}
|
||||
@@ -147,7 +148,7 @@
|
||||
<Icon mini src={GlobeAlt} size="16" slot="prefix" />
|
||||
<span class="hidden md:inline">Explore</span>
|
||||
</Button>
|
||||
<Menu origin="bottom-right" targetClass="h-8">
|
||||
<Menu placement="bottom-end" targetClass="h-8">
|
||||
<Button
|
||||
color="primary"
|
||||
slot="target"
|
||||
@@ -185,7 +186,7 @@
|
||||
</Menu>
|
||||
</div>
|
||||
<Menu
|
||||
origin="bottom-right"
|
||||
placement="bottom-end"
|
||||
itemsClass="h-8 md:h-8 z-10"
|
||||
targetClass="z-10 h-8"
|
||||
containerClass="!max-h-[28rem] z-10"
|
||||
|
||||
@@ -246,7 +246,7 @@
|
||||
<Icon src={Check} mini size="16" />
|
||||
{/if}
|
||||
</Button>
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button size="square-md" slot="target">
|
||||
<Icon src={EllipsisHorizontal} mini size="16" slot="prefix" />
|
||||
</Button>
|
||||
|
||||
@@ -263,7 +263,7 @@
|
||||
<h2 class="font-bold text-lg flex items-center space-x-1">
|
||||
<span>Allowed Instances</span>
|
||||
{#if allowInstance.instance || !(data.federated_instances.federated_instances.allowed?.length == 0)}
|
||||
<Popover openOnHover origin="bottom-right">
|
||||
<Popover openOnHover placement="bottom-end">
|
||||
<Icon
|
||||
src={ExclamationTriangle}
|
||||
solid
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
openOnHover
|
||||
class="!inline-flex"
|
||||
targetClass="inline"
|
||||
origin="bottom-center"
|
||||
placement="bottom"
|
||||
>
|
||||
<Icon
|
||||
src={InformationCircle}
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<h2 class="font-bold text-xl flex flex-row items-center gap-1">
|
||||
Blocked
|
||||
|
||||
<Popover openOnHover origin="bottom-center">
|
||||
<Popover openOnHover placement="bottom">
|
||||
<Icon src={InformationCircle} mini size="20" slot="target" />
|
||||
<p class="font-normal">
|
||||
These are the instances your instance is explicitly blocking content
|
||||
|
||||
@@ -231,7 +231,7 @@
|
||||
cursor-pointer"
|
||||
>
|
||||
{#each data.moderates as moderator}
|
||||
<Popover openOnHover origin="top-left" class="transition-all">
|
||||
<Popover openOnHover placement="top" class="transition-all">
|
||||
<a
|
||||
class="block ring rounded-full ring-slate-50 dark:ring-zinc-950 transition-all"
|
||||
href="/c/{moderator.community.name}@{new URL(
|
||||
@@ -278,7 +278,7 @@
|
||||
</div>
|
||||
<div class="flex flex-row gap-2 ml-auto">
|
||||
{#if isAdmin($profile?.user)}
|
||||
<Menu class="ml-auto" origin="bottom-right">
|
||||
<Menu class="ml-auto" placement="bottom-end">
|
||||
<Button size="square-md" slot="target">
|
||||
<ShieldIcon width={16} filled />
|
||||
</Button>
|
||||
@@ -302,7 +302,7 @@
|
||||
</MenuButton>
|
||||
</Menu>
|
||||
{/if}
|
||||
<Menu origin="bottom-right">
|
||||
<Menu placement="bottom-end">
|
||||
<Button size="square-md" slot="target">
|
||||
<Icon src={EllipsisHorizontal} slot="prefix" size="16" mini />
|
||||
</Button>
|
||||
|
||||
@@ -1088,6 +1088,26 @@
|
||||
resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.12.tgz#1da26735ce5954bf914f8f2117b5096c548bbba2"
|
||||
integrity sha512-O0UYQVkvfM/jO8a4OwoV0mAKSJw+mjWTAd1MJd/1FCX6uiMdLmMRPK/w6e9OQ0ob2WGxzIm9va/KG0Ja4zIOgg==
|
||||
|
||||
"@floating-ui/core@^1.2.4", "@floating-ui/core@^1.4.2", "@floating-ui/core@^1.5.0":
|
||||
version "1.5.0"
|
||||
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.0.tgz#5c05c60d5ae2d05101c3021c1a2a350ddc027f8c"
|
||||
integrity sha512-kK1h4m36DQ0UHGj5Ah4db7R0rHemTqqO0QLvUqi1/mUUp3LuAWbWxdxSIf/XsnH9VS6rRVPLJCncjRzUvyCLXg==
|
||||
dependencies:
|
||||
"@floating-ui/utils" "^0.1.3"
|
||||
|
||||
"@floating-ui/dom@^1.2.4":
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa"
|
||||
integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA==
|
||||
dependencies:
|
||||
"@floating-ui/core" "^1.4.2"
|
||||
"@floating-ui/utils" "^0.1.3"
|
||||
|
||||
"@floating-ui/utils@^0.1.3":
|
||||
version "0.1.6"
|
||||
resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9"
|
||||
integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A==
|
||||
|
||||
"@jest/schemas@^29.6.0":
|
||||
version "29.6.0"
|
||||
resolved "https://registry.yarnpkg.com/@jest/schemas/-/schemas-29.6.0.tgz#0f4cb2c8e3dca80c135507ba5635a4fd755b0040"
|
||||
@@ -3023,11 +3043,13 @@ mlly@^1.2.0, mlly@^1.4.0:
|
||||
pkg-types "^1.0.3"
|
||||
ufo "^1.1.2"
|
||||
|
||||
mono-svelte@^0.4.1:
|
||||
version "0.4.1"
|
||||
resolved "https://registry.yarnpkg.com/mono-svelte/-/mono-svelte-0.4.1.tgz#9237b92aaec435db315967851df651d1650a1936"
|
||||
integrity sha512-yzDxdQaSJroiL6Yt3qnOIM8thI0d4IB3uOOG0dp/oBemiTtyOBY7niJcXhF0zkU0X/LmarBWYNI8Rs139N2NHw==
|
||||
mono-svelte@^1.2.2:
|
||||
version "1.2.2"
|
||||
resolved "https://registry.yarnpkg.com/mono-svelte/-/mono-svelte-1.2.2.tgz#c8122f4fdf93a80be560fdda5f53f6d0fb13a4c9"
|
||||
integrity sha512-qB1Jn307h8llJI8eT6pHrnw40+728DcX38Z906C8o26ElKhlSyuJOdQRkwT/vKLs3r3SvmRnPsz6xovUlrzkbw==
|
||||
dependencies:
|
||||
"@floating-ui/core" "^1.5.0"
|
||||
svelte-floating-ui "^1.5.3"
|
||||
svelte-focus-trap "^1.2.0"
|
||||
svelte-hero-icons "^5.0.0"
|
||||
|
||||
@@ -3786,6 +3808,14 @@ svelte-check@^3.0.1:
|
||||
svelte-preprocess "^5.0.4"
|
||||
typescript "^5.0.3"
|
||||
|
||||
svelte-floating-ui@^1.5.3:
|
||||
version "1.5.3"
|
||||
resolved "https://registry.yarnpkg.com/svelte-floating-ui/-/svelte-floating-ui-1.5.3.tgz#689d18c3ce318c52a9c6bf7311d02bbe0531cc8b"
|
||||
integrity sha512-yjLeRQ4SNcICbMabp5S2cXc5ubBd2eua+swfTqqGBeg8ZrUvotZYK8jsRWETl/3RgLQsaZbEYKx8OmLA3wL/yw==
|
||||
dependencies:
|
||||
"@floating-ui/core" "^1.2.4"
|
||||
"@floating-ui/dom" "^1.2.4"
|
||||
|
||||
svelte-focus-trap@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/svelte-focus-trap/-/svelte-focus-trap-1.2.0.tgz#8794510edea7afb527a53c60c1207aa9b9c9cda5"
|
||||
|
||||
Reference in new issue
Block a user