Update dependencies

This commit is contained in:
Sebastian Martinez
2025-05-21 13:40:52 +02:00
parent 14f3c6f63b
commit 2c362adffb
19 changed files with 1194 additions and 892 deletions
+6 -6
View File
@@ -2,15 +2,15 @@ import type { BaseUrl } from "@http-client";
import isEqual from "lodash/isEqual";
import storedWritable from "@app/lib/localStore";
import { array, number, string, object } from "zod";
import * as z from "zod";
import { get } from "svelte/store";
import config from "@app/lib/config";
const seedSchema = object({
hostname: string(),
port: number(),
scheme: string(),
const seedSchema = z.object({
hostname: z.string(),
port: z.number(),
scheme: z.string(),
});
// Seed that is opened on cold app start on the landing page.
@@ -24,7 +24,7 @@ export const selectedSeed = storedWritable<BaseUrl | undefined>(
// A list of seeds that the user has explicitly bookmarked.
export const bookmarkedSeeds = storedWritable<BaseUrl[]>(
"bookmarkedSeeds",
array(seedSchema),
z.array(seedSchema),
[],
!window.localStorage,
);
@@ -64,7 +64,9 @@
$: if (visible) {
syntaxHighlightingLoading = true;
void highlightContent().then(output => {
// eslint-disable-next-line
highlighting = output;
// eslint-disable-next-line
syntaxHighlightingLoading = false;
});
}
+1 -1
View File
@@ -13,5 +13,5 @@
style:font-family="var(--font-family-monospace)">
{fromCommit.substring(0, 6)}..{toCommit.substring(0, 6)}
</span>
<Icon name={"chevron-down"} />
<Icon name="chevron-down" />
</Button>
+1 -4
View File
@@ -297,10 +297,7 @@
<!-- Footer -->
{#if !collapsedOnly}
<div class="sidebar-footer" style:flex-direction="row">
<Button
title={"Collapse"}
on:click={toggleSidebar}
variant="background">
<Button title="Collapse" on:click={toggleSidebar} variant="background">
<div class="icon" class:expanded>
<Icon name="chevron-left" />
</div>
+2
View File
@@ -159,6 +159,7 @@
styleBorderRadius="0"
variant={!preview ? "selected" : "not-selected"}
on:click={() => {
// eslint-disable-next-line
preview = false;
}}>
<Icon name="chevron-left-right" />Code
@@ -168,6 +169,7 @@
variant={preview ? "selected" : "not-selected"}
on:click={() => {
window.location.hash = "";
// eslint-disable-next-line
preview = true;
}}>
<Icon name="eye-open" />Preview
@@ -119,7 +119,7 @@
slot="toggle"
let:expanded
let:toggle
styleBorderRadius={"var(--border-radius-tiny) 0 0 var(--border-radius-tiny)"}
styleBorderRadius="var(--border-radius-tiny) 0 0 var(--border-radius-tiny)"
styleWidth="100%"
on:click={toggle}
title="Change branch"
@@ -81,6 +81,7 @@
tabindex="0"
class="folder"
on:click={() => {
// eslint-disable-next-line
expanded = !expanded;
}}>
<div class="icon-container" class:expanded>