atproto explorer pdsls.dev
atproto tool

Compare changes

Choose any two refs to compare.

-66
src/utils/types/at-uri.ts
···
-
type Did<TMethod extends string = string> = `did:${TMethod}:${string}`;
-
-
type Nsid = `${string}.${string}.${string}`;
-
-
type RecordKey = string;
-
-
const DID_RE = /^did:([a-z]+):([a-zA-Z0-9._:%\-]*[a-zA-Z0-9._\-])$/;
-
-
const NSID_RE =
-
/^[a-zA-Z](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?:\.[a-zA-Z](?:[a-zA-Z0-9]{0,62})?)$/;
-
-
const RECORD_KEY_RE = /^(?!\.{1,2}$)[a-zA-Z0-9_~.:-]{1,512}$/;
-
-
export const ATURI_RE =
-
/^at:\/\/([a-zA-Z0-9._:%-]+)(?:\/([a-zA-Z0-9-.]+)(?:\/([a-zA-Z0-9._~:@!$&%')(*+,;=-]+))?)?(?:#(\/[a-zA-Z0-9._~:@!$&%')(*+,;=\-[\]/\\]*))?$/;
-
-
const isDid = (input: unknown): input is Did => {
-
return (
-
typeof input === "string" && input.length >= 7 && input.length <= 2048 && DID_RE.test(input)
-
);
-
};
-
-
const isNsid = (input: unknown): input is Nsid => {
-
return (
-
typeof input === "string" && input.length >= 5 && input.length <= 317 && NSID_RE.test(input)
-
);
-
};
-
-
const isRecordKey = (input: unknown): input is RecordKey => {
-
return (
-
typeof input === "string" &&
-
input.length >= 1 &&
-
input.length <= 512 &&
-
RECORD_KEY_RE.test(input)
-
);
-
};
-
-
export interface AddressedAtUri {
-
repo: Did;
-
collection: Nsid;
-
rkey: string;
-
fragment: string | undefined;
-
}
-
-
export const parseAddressedAtUri = (str: string): AddressedAtUri => {
-
const match = ATURI_RE.exec(str);
-
assert(match !== null, `invalid addressed-at-uri: ${str}`);
-
-
const [, r, c, k, f] = match;
-
assert(isDid(r), `invalid repo in addressed-at-uri: ${r}`);
-
assert(isNsid(c), `invalid collection in addressed-at-uri: ${c}`);
-
assert(isRecordKey(k), `invalid rkey in addressed-at-uri: ${k}`);
-
-
return {
-
repo: r,
-
collection: c,
-
rkey: k,
-
fragment: f,
-
};
-
};
-
-
function assert(condition: boolean, message: string): asserts condition {
-
if (!condition) {
-
throw new Error(message);
-
}
-
}
+22 -1
vite.config.ts
···
import tailwindcss from "@tailwindcss/vite";
+
import { execSync } from "child_process";
import { defineConfig } from "vite";
import solidPlugin from "vite-plugin-solid";
import metadata from "./public/oauth-client-metadata.json";
···
const SERVER_HOST = "127.0.0.1";
const SERVER_PORT = 13213;
+
const getVersion = (): string => {
+
try {
+
const describe = execSync("git describe --tags --long --dirty --always").toString().trim();
+
+
const match = describe.match(/^v?(.+?)-(\d+)-g([a-f0-9]+)(-dirty)?$/);
+
+
if (match) {
+
const [, version, commits, hash, dirty] = match;
+
if (commits === "0") {
+
return `v${version}${dirty ? "-dirty" : ""}`;
+
}
+
return `v${version}.dev${commits}+g${hash}${dirty ? "-dirty" : ""}`;
+
}
+
+
return `v0.0.0.dev+g${describe}`;
+
} catch {
+
return "v0.0.0-unknown";
+
}
+
};
+
export default defineConfig({
plugins: [
tailwindcss(),
solidPlugin(),
-
// Injects OAuth-related variables
{
name: "oauth",
config(_conf, { command }) {
···
process.env.VITE_CLIENT_URI = metadata.client_uri;
process.env.VITE_OAUTH_SCOPE = metadata.scope;
+
process.env.VITE_APP_VERSION = getVersion();
},
},
],
-10
src/utils/app-urls.ts
···
export enum App {
Bluesky,
Tangled,
-
Whitewind,
Frontpage,
Pinksea,
Linkat,
···
export const appName = {
[App.Bluesky]: "Bluesky",
[App.Tangled]: "Tangled",
-
[App.Whitewind]: "Whitewind",
[App.Frontpage]: "Frontpage",
[App.Pinksea]: "Pinksea",
[App.Linkat]: "Linkat",
···
"main.bsky.dev": App.Bluesky,
"social.daniela.lol": App.Bluesky,
"tangled.org": App.Tangled,
-
"whtwnd.com": App.Whitewind,
"frontpage.fyi": App.Frontpage,
"pinksea.art": App.Pinksea,
"linkat.blue": App.Linkat,
···
return `at://${user}`;
},
-
[App.Whitewind]: (path) => {
-
if (path.length === 2) {
-
return `at://${path[0]}/com.whtwnd.blog.entry/${path[1]}`;
-
}
-
-
return `at://${path[0]}/com.whtwnd.blog.entry`;
-
},
[App.Frontpage]: (path) => {
if (path.length === 3) {
return `at://${path[1]}/fyi.unravel.frontpage.post/${path[2]}`;
+7 -1
src/components/video-player.tsx
···
});
return (
-
<video ref={video} class="max-h-80 max-w-[20rem]" controls playsinline onLoadedData={props.onLoad}>
+
<video
+
ref={video}
+
class="max-h-80 max-w-[20rem]"
+
controls
+
playsinline
+
onLoadedData={props.onLoad}
+
>
<source type="video/mp4" />
</video>
);
+15 -15
src/utils/hooks/debounced.ts
···
-
import { type Accessor, createEffect, createSignal, onCleanup } from 'solid-js';
+
import { type Accessor, createEffect, createSignal, onCleanup } from "solid-js";
export const createDebouncedValue = <T>(
-
accessor: Accessor<T>,
-
delay: number,
-
equals?: false | ((prev: T, next: T) => boolean),
+
accessor: Accessor<T>,
+
delay: number,
+
equals?: false | ((prev: T, next: T) => boolean),
): Accessor<T> => {
-
const initial = accessor();
-
const [state, setState] = createSignal(initial, { equals });
+
const initial = accessor();
+
const [state, setState] = createSignal(initial, { equals });
-
createEffect((prev: T) => {
-
const next = accessor();
+
createEffect((prev: T) => {
+
const next = accessor();
-
if (prev !== next) {
-
const timeout = setTimeout(() => setState(() => next), delay);
-
onCleanup(() => clearTimeout(timeout));
-
}
+
if (prev !== next) {
+
const timeout = setTimeout(() => setState(() => next), delay);
+
onCleanup(() => clearTimeout(timeout));
+
}
-
return next;
-
}, initial);
+
return next;
+
}, initial);
-
return state;
+
return state;
};
+30
src/utils/key.ts
···
+
import { parseDidKey, parsePublicMultikey } from "@atcute/crypto";
+
import { fromBase58Btc } from "@atcute/multibase";
+
+
export const detectKeyType = (key: string): string => {
+
try {
+
return parsePublicMultikey(key).type;
+
} catch (e) {
+
try {
+
const bytes = fromBase58Btc(key.startsWith("z") ? key.slice(1) : key);
+
if (bytes.length >= 2) {
+
const type = (bytes[0] << 8) | bytes[1];
+
if (type === 0xed01) {
+
return "ed25519";
+
}
+
}
+
} catch {}
+
return "unknown";
+
}
+
};
+
+
export const detectDidKeyType = (key: string): string => {
+
try {
+
return parseDidKey(key).type;
+
} catch (e) {
+
if (key.startsWith("did:key:")) {
+
return detectKeyType(key.slice(8));
+
}
+
return "unknown";
+
}
+
};
+1 -1
public/oauth-client-metadata.json
···
"client_uri": "https://pdsls.dev",
"logo_uri": "https://pdsls.dev/favicon.ico",
"redirect_uris": ["https://pdsls.dev/"],
-
"scope": "atproto transition:generic",
+
"scope": "atproto repo:*?action=create repo:*?action=update repo:*?action=delete blob:*/*",
"grant_types": ["authorization_code", "refresh_token"],
"response_types": ["code"],
"token_endpoint_auth_method": "none",
+13
src/auth/oauth-config.ts
···
+
import { configureOAuth, defaultIdentityResolver } from "@atcute/oauth-browser-client";
+
import { didDocumentResolver, handleResolver } from "../utils/api";
+
+
configureOAuth({
+
metadata: {
+
client_id: import.meta.env.VITE_OAUTH_CLIENT_ID,
+
redirect_uri: import.meta.env.VITE_OAUTH_REDIRECT_URL,
+
},
+
identityResolver: defaultIdentityResolver({
+
handleResolver: handleResolver,
+
didDocumentResolver: didDocumentResolver,
+
}),
+
});
+77
src/auth/scope-flow.ts
···
+
import { isDid, isHandle } from "@atcute/lexicons/syntax";
+
import { createAuthorizationUrl } from "@atcute/oauth-browser-client";
+
import { createSignal } from "solid-js";
+
+
interface UseOAuthScopeFlowOptions {
+
onError?: (error: unknown) => void;
+
onRedirecting?: () => void;
+
beforeRedirect?: (account: string) => Promise<void>;
+
}
+
+
export const useOAuthScopeFlow = (options: UseOAuthScopeFlowOptions = {}) => {
+
const [showScopeSelector, setShowScopeSelector] = createSignal(false);
+
const [pendingAccount, setPendingAccount] = createSignal("");
+
const [shouldForceRedirect, setShouldForceRedirect] = createSignal(false);
+
+
const initiate = (account: string) => {
+
if (!account) return;
+
setPendingAccount(account);
+
setShouldForceRedirect(false);
+
setShowScopeSelector(true);
+
};
+
+
const initiateWithRedirect = (account: string) => {
+
if (!account) return;
+
setPendingAccount(account);
+
setShouldForceRedirect(true);
+
setShowScopeSelector(true);
+
};
+
+
const complete = async (scopeString: string, scopeIds: string) => {
+
try {
+
const account = pendingAccount();
+
+
if (options.beforeRedirect && !shouldForceRedirect()) {
+
try {
+
await options.beforeRedirect(account);
+
setShowScopeSelector(false);
+
return;
+
} catch {}
+
}
+
+
localStorage.setItem("pendingScopes", scopeIds);
+
+
options.onRedirecting?.();
+
+
const authUrl = await createAuthorizationUrl({
+
scope: scopeString,
+
target:
+
isHandle(account) || isDid(account) ?
+
{ type: "account", identifier: account }
+
: { type: "pds", serviceUrl: account },
+
});
+
+
await new Promise((resolve) => setTimeout(resolve, 250));
+
location.assign(authUrl);
+
} catch (e) {
+
console.error(e);
+
options.onError?.(e);
+
setShowScopeSelector(false);
+
}
+
};
+
+
const cancel = () => {
+
setShowScopeSelector(false);
+
setPendingAccount("");
+
setShouldForceRedirect(false);
+
};
+
+
return {
+
showScopeSelector,
+
pendingAccount,
+
initiate,
+
initiateWithRedirect,
+
complete,
+
cancel,
+
};
+
};
+53
src/auth/scope-utils.ts
···
+
import { agent, sessions } from "./state";
+
+
export const GRANULAR_SCOPES = [
+
{
+
id: "create",
+
scope: "repo:*?action=create",
+
label: "Create records",
+
},
+
{
+
id: "update",
+
scope: "repo:*?action=update",
+
label: "Update records",
+
},
+
{
+
id: "delete",
+
scope: "repo:*?action=delete",
+
label: "Delete records",
+
},
+
{
+
id: "blob",
+
scope: "blob:*/*",
+
label: "Upload blobs",
+
},
+
];
+
+
export const BASE_SCOPES = ["atproto"];
+
+
export const buildScopeString = (selected: Set<string>): string => {
+
const granular = GRANULAR_SCOPES.filter((s) => selected.has(s.id)).map((s) => s.scope);
+
return [...BASE_SCOPES, ...granular].join(" ");
+
};
+
+
export const scopeIdsToString = (scopeIds: Set<string>): string => {
+
return ["atproto", ...Array.from(scopeIds)].join(",");
+
};
+
+
export const parseScopeString = (scopeIdsString: string): Set<string> => {
+
if (!scopeIdsString) return new Set();
+
const ids = scopeIdsString.split(",").filter(Boolean);
+
return new Set(ids.filter((id) => id !== "atproto"));
+
};
+
+
export const hasScope = (grantedScopes: string | undefined, scopeId: string): boolean => {
+
if (!grantedScopes) return false;
+
return grantedScopes.split(",").includes(scopeId);
+
};
+
+
export const hasUserScope = (scopeId: string): boolean => {
+
if (!agent()) return false;
+
const grantedScopes = sessions[agent()!.sub]?.grantedScopes;
+
if (!grantedScopes) return true;
+
return hasScope(grantedScopes, scopeId);
+
};
+14
src/auth/state.ts
···
+
import { OAuthUserAgent } from "@atcute/oauth-browser-client";
+
import { createSignal } from "solid-js";
+
import { createStore } from "solid-js/store";
+
+
export type Account = {
+
signedIn: boolean;
+
handle?: string;
+
grantedScopes?: string;
+
};
+
+
export type Sessions = Record<string, Account>;
+
+
export const [agent, setAgent] = createSignal<OAuthUserAgent | undefined>();
+
export const [sessions, setSessions] = createStore<Sessions>();
-170
src/components/account.tsx
···
-
import { Client, CredentialManager } from "@atcute/client";
-
import { Did } from "@atcute/lexicons";
-
import {
-
createAuthorizationUrl,
-
deleteStoredSession,
-
getSession,
-
OAuthUserAgent,
-
} from "@atcute/oauth-browser-client";
-
import { A } from "@solidjs/router";
-
import { createSignal, For, onMount, Show } from "solid-js";
-
import { createStore, produce } from "solid-js/store";
-
import { resolveDidDoc } from "../utils/api.js";
-
import { ActionMenu, DropdownMenu, MenuProvider, NavMenu } from "./dropdown.jsx";
-
import { agent, Login, retrieveSession, Sessions, setAgent } from "./login.jsx";
-
import { Modal } from "./modal.jsx";
-
-
export const [sessions, setSessions] = createStore<Sessions>();
-
-
const AccountDropdown = (props: { did: Did }) => {
-
const removeSession = async (did: Did) => {
-
const currentSession = agent()?.sub;
-
try {
-
const session = await getSession(did, { allowStale: true });
-
const agent = new OAuthUserAgent(session);
-
await agent.signOut();
-
} catch {
-
deleteStoredSession(did);
-
}
-
setSessions(
-
produce((accs) => {
-
delete accs[did];
-
}),
-
);
-
localStorage.setItem("sessions", JSON.stringify(sessions));
-
if (currentSession === did) setAgent(undefined);
-
};
-
-
return (
-
<MenuProvider>
-
<DropdownMenu icon="lucide--ellipsis" buttonClass="rounded-md p-2">
-
<NavMenu href={`/at://${props.did}`} label="Go to repo" icon="lucide--user-round" />
-
<ActionMenu
-
icon="lucide--x"
-
label="Remove account"
-
onClick={() => removeSession(props.did)}
-
/>
-
</DropdownMenu>
-
</MenuProvider>
-
);
-
};
-
-
export const AccountManager = () => {
-
const [openManager, setOpenManager] = createSignal(false);
-
const [avatars, setAvatars] = createStore<Record<Did, string>>();
-
-
onMount(async () => {
-
try {
-
await retrieveSession();
-
} catch {}
-
-
const localSessions = localStorage.getItem("sessions");
-
if (localSessions) {
-
const storedSessions: Sessions = JSON.parse(localSessions);
-
const sessionDids = Object.keys(storedSessions) as Did[];
-
sessionDids.forEach(async (did) => {
-
const doc = await resolveDidDoc(did);
-
const alias = doc.alsoKnownAs?.find((alias) => alias.startsWith("at://"));
-
if (alias) {
-
setSessions(did, {
-
signedIn: storedSessions[did].signedIn,
-
handle: alias.replace("at://", ""),
-
});
-
}
-
});
-
sessionDids.forEach(async (did) => {
-
const avatar = await getAvatar(did);
-
if (avatar) setAvatars(did, avatar);
-
});
-
}
-
});
-
-
const resumeSession = async (did: Did) => {
-
try {
-
localStorage.setItem("lastSignedIn", did);
-
await retrieveSession();
-
} catch {
-
const authUrl = await createAuthorizationUrl({
-
scope: import.meta.env.VITE_OAUTH_SCOPE,
-
target: { type: "account", identifier: did },
-
});
-
-
await new Promise((resolve) => setTimeout(resolve, 250));
-
-
location.assign(authUrl);
-
}
-
};
-
-
const getAvatar = async (did: Did) => {
-
const rpc = new Client({
-
handler: new CredentialManager({ service: "https://public.api.bsky.app" }),
-
});
-
const res = await rpc.get("app.bsky.actor.getProfile", { params: { actor: did } });
-
if (res.ok) {
-
return res.data.avatar;
-
}
-
return undefined;
-
};
-
-
return (
-
<>
-
<Modal open={openManager()} onClose={() => setOpenManager(false)}>
-
<div class="dark:bg-dark-300 dark:shadow-dark-700 absolute top-18 left-[50%] w-88 -translate-x-1/2 rounded-lg border-[0.5px] border-neutral-300 bg-neutral-50 p-4 shadow-md transition-opacity duration-200 dark:border-neutral-700 starting:opacity-0">
-
<div class="mb-2 px-1 font-semibold">
-
<span>Manage accounts</span>
-
</div>
-
<div class="mb-3 max-h-80 overflow-y-auto md:max-h-100">
-
<For each={Object.keys(sessions)}>
-
{(did) => (
-
<div class="flex w-full items-center justify-between">
-
<A
-
href={`/at://${did}`}
-
onClick={() => setOpenManager(false)}
-
class="flex items-center rounded-md p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
-
>
-
<Show
-
when={avatars[did as Did]}
-
fallback={<span class="iconify lucide--user-round m-0.5 size-5"></span>}
-
>
-
<img
-
src={avatars[did as Did].replace("img/avatar/", "img/avatar_thumbnail/")}
-
class="size-6 rounded-full"
-
/>
-
</Show>
-
</A>
-
<button
-
class="flex grow items-center justify-between gap-1 truncate rounded-md p-1 hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
-
onclick={() => resumeSession(did as Did)}
-
>
-
<span class="truncate">
-
{sessions[did]?.handle ? sessions[did].handle : did}
-
</span>
-
<Show when={did === agent()?.sub && sessions[did].signedIn}>
-
<span class="iconify lucide--check shrink-0 text-green-500 dark:text-green-400"></span>
-
</Show>
-
<Show when={!sessions[did].signedIn}>
-
<span class="iconify lucide--circle-alert shrink-0 text-red-500 dark:text-red-400"></span>
-
</Show>
-
</button>
-
<AccountDropdown did={did as Did} />
-
</div>
-
)}
-
</For>
-
</div>
-
<Login />
-
</div>
-
</Modal>
-
<button
-
onclick={() => setOpenManager(true)}
-
class={`flex items-center rounded-lg ${agent() && avatars[agent()!.sub] ? "p-1.25" : "p-1.5"} hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600`}
-
>
-
{agent() && avatars[agent()!.sub] ?
-
<img
-
src={avatars[agent()!.sub].replace("img/avatar/", "img/avatar_thumbnail/")}
-
class="size-5 rounded-full"
-
/>
-
: <span class="iconify lucide--circle-user-round text-lg"></span>}
-
</button>
-
</>
-
);
-
};
public/favicon.ico

This is a binary file and will not be displayed.

public/fonts/Figtree[wght].woff2

This is a binary file and will not be displayed.

+7 -1
src/styles/index.css
···
@custom-variant dark (&:where(.dark, .dark *));
+
@font-face {
+
font-family: "Figtree";
+
src: url("/fonts/Figtree[wght].woff2") format("woff2");
+
font-display: swap;
+
}
+
@theme {
-
--font-sans: "Inter", sans-serif;
+
--font-sans: "Figtree", sans-serif;
--font-mono: "Roboto Mono", monospace;
--font-pecita: "Pecita", serif;
+1
src/components/create.tsx
···
onMount(() => {
const keyEvent = (ev: KeyboardEvent) => {
if (ev.target instanceof HTMLInputElement || ev.target instanceof HTMLTextAreaElement) return;
+
if ((ev.target as HTMLElement).closest("[data-modal]")) return;
const key = props.create ? "n" : "e";
if (ev.key === key) {
+109
src/components/create/file-upload.tsx
···
+
import { Client } from "@atcute/client";
+
import { remove } from "@mary/exif-rm";
+
import { createSignal, onCleanup, Show } from "solid-js";
+
import { agent } from "../../auth/state";
+
import { Button } from "../button.jsx";
+
import { TextInput } from "../text-input.jsx";
+
import { editorInstance } from "./state";
+
+
export const FileUpload = (props: {
+
file: File;
+
blobInput: HTMLInputElement;
+
onClose: () => void;
+
}) => {
+
const [uploading, setUploading] = createSignal(false);
+
const [error, setError] = createSignal("");
+
+
onCleanup(() => (props.blobInput.value = ""));
+
+
const formatFileSize = (bytes: number) => {
+
if (bytes === 0) return "0 Bytes";
+
const k = 1024;
+
const sizes = ["Bytes", "KB", "MB", "GB"];
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
+
return Math.round((bytes / Math.pow(k, i)) * 100) / 100 + " " + sizes[i];
+
};
+
+
const uploadBlob = async () => {
+
let blob: Blob;
+
+
const mimetype = (document.getElementById("mimetype") as HTMLInputElement)?.value;
+
(document.getElementById("mimetype") as HTMLInputElement).value = "";
+
if (mimetype) blob = new Blob([props.file], { type: mimetype });
+
else blob = props.file;
+
+
if ((document.getElementById("exif-rm") as HTMLInputElement).checked) {
+
const exifRemoved = remove(new Uint8Array(await blob.arrayBuffer()));
+
if (exifRemoved !== null) blob = new Blob([exifRemoved], { type: blob.type });
+
}
+
+
const rpc = new Client({ handler: agent()! });
+
setUploading(true);
+
const res = await rpc.post("com.atproto.repo.uploadBlob", {
+
input: blob,
+
});
+
setUploading(false);
+
if (!res.ok) {
+
setError(res.data.error);
+
return;
+
}
+
editorInstance.view.dispatch({
+
changes: {
+
from: editorInstance.view.state.selection.main.head,
+
insert: JSON.stringify(res.data.blob, null, 2),
+
},
+
});
+
props.onClose();
+
};
+
+
return (
+
<div class="dark:bg-dark-300 dark:shadow-dark-700 absolute top-70 left-[50%] w-[20rem] -translate-x-1/2 rounded-lg border-[0.5px] border-neutral-300 bg-neutral-50 p-4 shadow-md transition-opacity duration-200 dark:border-neutral-700 starting:opacity-0">
+
<h2 class="mb-2 font-semibold">Upload blob</h2>
+
<div class="flex flex-col gap-2 text-sm">
+
<div class="flex flex-col gap-1">
+
<p class="flex gap-1">
+
<span class="truncate">{props.file.name}</span>
+
<span class="shrink-0 text-neutral-600 dark:text-neutral-400">
+
({formatFileSize(props.file.size)})
+
</span>
+
</p>
+
</div>
+
<div class="flex items-center gap-x-2">
+
<label for="mimetype" class="shrink-0 select-none">
+
MIME type
+
</label>
+
<TextInput id="mimetype" placeholder={props.file.type} />
+
</div>
+
<div class="flex items-center gap-1">
+
<input id="exif-rm" type="checkbox" checked />
+
<label for="exif-rm" class="select-none">
+
Remove EXIF data
+
</label>
+
</div>
+
<p class="text-xs text-neutral-600 dark:text-neutral-400">
+
Metadata will be pasted after the cursor
+
</p>
+
<Show when={error()}>
+
<span class="text-red-500 dark:text-red-400">Error: {error()}</span>
+
</Show>
+
<div class="flex justify-between gap-2">
+
<Button onClick={props.onClose}>Cancel</Button>
+
<Show when={uploading()}>
+
<div class="flex items-center gap-1">
+
<span class="iconify lucide--loader-circle animate-spin"></span>
+
<span>Uploading</span>
+
</div>
+
</Show>
+
<Show when={!uploading()}>
+
<Button
+
onClick={uploadBlob}
+
class="dark:shadow-dark-700 flex items-center gap-1 rounded-lg bg-blue-500 px-2 py-1.5 text-xs text-white shadow-xs select-none hover:bg-blue-600 active:bg-blue-700 dark:bg-blue-600 dark:hover:bg-blue-500 dark:active:bg-blue-400"
+
>
+
Upload
+
</Button>
+
</Show>
+
</div>
+
</div>
+
</div>
+
);
+
};
+87
src/components/create/handle-input.tsx
···
+
import { Handle } from "@atcute/lexicons";
+
import { createSignal, Show } from "solid-js";
+
import { resolveHandle } from "../../utils/api";
+
import { Button } from "../button.jsx";
+
import { TextInput } from "../text-input.jsx";
+
import { editorInstance } from "./state";
+
+
export const HandleInput = (props: { onClose: () => void }) => {
+
const [resolving, setResolving] = createSignal(false);
+
const [error, setError] = createSignal("");
+
let handleFormRef!: HTMLFormElement;
+
+
const resolveDid = async (e: SubmitEvent) => {
+
e.preventDefault();
+
const formData = new FormData(handleFormRef);
+
const handleValue = formData.get("handle")?.toString().trim();
+
+
if (!handleValue) {
+
setError("Please enter a handle");
+
return;
+
}
+
+
setResolving(true);
+
setError("");
+
try {
+
const did = await resolveHandle(handleValue as Handle);
+
editorInstance.view.dispatch({
+
changes: {
+
from: editorInstance.view.state.selection.main.head,
+
insert: `"${did}"`,
+
},
+
});
+
props.onClose();
+
handleFormRef.reset();
+
} catch (err: any) {
+
setError(err.message || "Failed to resolve handle");
+
} finally {
+
setResolving(false);
+
}
+
};
+
+
return (
+
<div class="dark:bg-dark-300 dark:shadow-dark-700 absolute top-70 left-[50%] w-[20rem] -translate-x-1/2 rounded-lg border-[0.5px] border-neutral-300 bg-neutral-50 p-4 shadow-md transition-opacity duration-200 dark:border-neutral-700 starting:opacity-0">
+
<h2 class="mb-2 font-semibold">Insert DID from handle</h2>
+
<form ref={handleFormRef} onSubmit={resolveDid} class="flex flex-col gap-2 text-sm">
+
<div class="flex flex-col gap-1">
+
<label for="handle-input" class="select-none">
+
Handle
+
</label>
+
<TextInput id="handle-input" name="handle" placeholder="user.bsky.social" />
+
</div>
+
<p class="text-xs text-neutral-600 dark:text-neutral-400">
+
DID will be pasted after the cursor
+
</p>
+
<Show when={error()}>
+
<span class="text-red-500 dark:text-red-400">Error: {error()}</span>
+
</Show>
+
<div class="flex justify-between gap-2">
+
<Button
+
type="button"
+
onClick={() => {
+
props.onClose();
+
handleFormRef.reset();
+
setError("");
+
}}
+
>
+
Cancel
+
</Button>
+
<Show when={resolving()}>
+
<div class="flex items-center gap-1">
+
<span class="iconify lucide--loader-circle animate-spin"></span>
+
<span>Resolving</span>
+
</div>
+
</Show>
+
<Show when={!resolving()}>
+
<Button
+
type="submit"
+
class="dark:shadow-dark-700 flex items-center gap-1 rounded-lg bg-blue-500 px-2 py-1.5 text-xs text-white shadow-xs select-none hover:bg-blue-600 active:bg-blue-700 dark:bg-blue-600 dark:hover:bg-blue-500 dark:active:bg-blue-400"
+
>
+
Insert
+
</Button>
+
</Show>
+
</div>
+
</form>
+
</div>
+
);
+
};
+12
src/components/create/menu-item.tsx
···
+
export const MenuItem = (props: { icon: string; label: string; onClick: () => void }) => {
+
return (
+
<button
+
type="button"
+
class="flex items-center gap-2 rounded-md p-2 text-left text-xs hover:bg-neutral-100 active:bg-neutral-200 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
+
onClick={props.onClick}
+
>
+
<span class={`iconify ${props.icon}`}></span>
+
<span>{props.label}</span>
+
</button>
+
);
+
};
+4
src/components/create/state.ts
···
+
import { createSignal } from "solid-js";
+
+
export const editorInstance = { view: null as any };
+
export const [placeholder, setPlaceholder] = createSignal<any>();
+1
src/components/editor.tsx
···
keymap.of([indentWithTab]),
linter(jsonParseLinter()),
themeColor.of(document.documentElement.classList.contains("dark") ? basicDark : basicLight),
+
EditorView.lineWrapping,
],
});
editorInstance.view = view;
+29 -48
src/components/create/index.tsx
···
import { addNotification, removeNotification } from "../notification.jsx";
import { TextInput } from "../text-input.jsx";
import Tooltip from "../tooltip.jsx";
+
import { ConfirmSubmit } from "./confirm-submit";
import { FileUpload } from "./file-upload";
import { HandleInput } from "./handle-input";
import { MenuItem } from "./menu-item";
···
const [openUpload, setOpenUpload] = createSignal(false);
const [openInsertMenu, setOpenInsertMenu] = createSignal(false);
const [openHandleDialog, setOpenHandleDialog] = createSignal(false);
-
const [validate, setValidate] = createSignal<boolean | undefined>(undefined);
+
const [openConfirmDialog, setOpenConfirmDialog] = createSignal(false);
const [isMaximized, setIsMaximized] = createSignal(false);
const [isMinimized, setIsMinimized] = createSignal(false);
const [collectionError, setCollectionError] = createSignal("");
···
};
};
-
const getValidateIcon = () => {
-
return (
-
validate() === true ? "lucide--circle-check"
-
: validate() === false ? "lucide--circle-x"
-
: "lucide--circle"
-
);
-
};
-
-
const getValidateLabel = () => {
-
return (
-
validate() === true ? "True"
-
: validate() === false ? "False"
-
: "Unset"
-
);
-
};
-
createEffect(() => {
if (openDialog()) {
-
setValidate(undefined);
setCollectionError("");
setRkeyError("");
}
});
-
const createRecord = async (formData: FormData) => {
+
const createRecord = async (validate: boolean | undefined) => {
+
const formData = new FormData(formRef);
const repo = formData.get("repo")?.toString();
if (!repo) return;
const rpc = new Client({ handler: new OAuthUserAgent(await getSession(repo as Did)) });
···
collection: collection ? collection.toString() : record.$type,
rkey: rkey?.toString().length ? rkey?.toString() : undefined,
record: record,
-
validate: validate(),
+
validate: validate,
},
});
if (!res.ok) {
setNotice(`${res.data.error}: ${res.data.message}`);
return;
}
+
setOpenConfirmDialog(false);
setOpenDialog(false);
const id = addNotification({
message: "Record created",
···
navigate(`/${res.data.uri}`);
};
-
const editRecord = async (recreate?: boolean) => {
+
const editRecord = async (validate: boolean | undefined, recreate: boolean) => {
const record = editorInstance.view.state.doc.toString();
if (!record) return;
const rpc = new Client({ handler: agent()! });
···
const res = await rpc.post("com.atproto.repo.applyWrites", {
input: {
repo: agent()!.sub,
-
validate: validate(),
+
validate: validate,
writes: [
{
collection: params.collection as `${string}.${string}.${string}`,
···
const res = await rpc.post("com.atproto.repo.applyWrites", {
input: {
repo: agent()!.sub,
-
validate: validate(),
+
validate: validate,
writes: [
{
collection: params.collection as `${string}.${string}.${string}`,
···
return;
}
}
+
setOpenConfirmDialog(false);
setOpenDialog(false);
const id = addNotification({
message: "Record edited",
···
>
<HandleInput onClose={() => setOpenHandleDialog(false)} />
</Modal>
+
<Modal
+
open={openConfirmDialog()}
+
onClose={() => setOpenConfirmDialog(false)}
+
closeOnClick={false}
+
>
+
<ConfirmSubmit
+
isCreate={props.create}
+
onConfirm={(validate, recreate) => {
+
if (props.create) {
+
createRecord(validate);
+
} else {
+
editRecord(validate, recreate);
+
}
+
}}
+
onClose={() => setOpenConfirmDialog(false)}
+
/>
+
</Modal>
<div class="flex items-center justify-end gap-2">
-
<button
-
type="button"
-
class="flex items-center gap-1 rounded-sm p-1.5 text-xs hover:bg-neutral-200 active:bg-neutral-300 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
-
onClick={() =>
-
setValidate(
-
validate() === true ? false
-
: validate() === false ? undefined
-
: true,
-
)
-
}
-
>
-
<Tooltip text={getValidateLabel()}>
-
<span class={`iconify ${getValidateIcon()}`}></span>
-
</Tooltip>
-
<span>Validate</span>
-
</button>
-
<Show when={!props.create && hasUserScope("create") && hasUserScope("delete")}>
-
<Button onClick={() => editRecord(true)}>Recreate</Button>
-
</Show>
-
<Button
-
onClick={() =>
-
props.create ? createRecord(new FormData(formRef)) : editRecord()
-
}
-
>
-
{props.create ? "Create" : "Edit"}
+
<Button onClick={() => setOpenConfirmDialog(true)}>
+
{props.create ? "Create..." : "Edit..."}
</Button>
</div>
</div>
+2 -2
src/components/create/confirm-submit.tsx
···
<div class="flex items-center gap-2">
<button
type="button"
-
class="-ml-2 flex min-w-30 items-center gap-1.5 rounded-lg px-2 py-1 text-xs hover:bg-neutral-200 dark:hover:bg-neutral-700"
+
class="-ml-2 flex min-w-30 items-center gap-1.5 rounded-lg px-2 py-1 text-xs hover:bg-neutral-200/50 dark:hover:bg-neutral-700"
onClick={cycleValidate}
>
<span
···
<div class="flex items-center gap-2">
<button
type="button"
-
class="-ml-2 flex items-center gap-1.5 rounded-lg px-2 py-1 text-xs hover:bg-neutral-200 dark:hover:bg-neutral-700"
+
class="-ml-2 flex items-center gap-1.5 rounded-lg px-2 py-1 text-xs hover:bg-neutral-200/50 dark:hover:bg-neutral-700"
onClick={() => setRecreate(!recreate())}
>
<span
+2 -2
src/components/sticky.tsx
···
/>
<div
-
class="sticky top-2 z-10 flex w-full flex-col items-center justify-center gap-2 rounded-lg p-3 transition-colors"
+
class="sticky top-2 z-10 flex w-full flex-col items-center justify-center gap-2 rounded-lg border-[0.5px] p-3 transition-colors"
classList={{
-
"bg-neutral-50 dark:bg-dark-300 border-[0.5px] border-neutral-300 dark:border-neutral-700 shadow-md":
+
"bg-neutral-50 dark:bg-dark-300 border-neutral-300 dark:border-neutral-700 shadow-md":
filterStuck(),
"bg-transparent border-transparent shadow-none": !filterStuck(),
}}
+1 -1
src/components/navbar.tsx
···
<A
end
href={`/at://${props.params.repo}`}
-
inactiveClass="flex min-w-0 gap-1 py-0.5 font-medium text-blue-400 hover:text-blue-500 transition-colors duration-150 dark:hover:text-blue-300"
+
inactiveClass="flex grow min-w-0 gap-1 py-0.5 font-medium text-blue-400 hover:text-blue-500 transition-colors duration-150 dark:hover:text-blue-300"
>
<Show
when={handle() !== props.params.repo}
+1 -1
src/components/backlinks.tsx
···
return (
<a
href={`/at://${did}/${collection}/${rkey}`}
-
class="grid grid-cols-[auto_1fr_auto] items-center gap-x-1 px-2 py-1.5 font-mono text-xs hover:bg-neutral-200/50 active:bg-neutral-200/50 sm:gap-x-3 sm:px-3 dark:hover:bg-neutral-700/50 dark:active:bg-neutral-700/50"
+
class="grid grid-cols-[auto_1fr_auto] items-center gap-x-1 px-2 py-1.5 font-mono text-xs select-none hover:bg-neutral-200/50 active:bg-neutral-200/50 sm:gap-x-3 sm:px-3 dark:hover:bg-neutral-700/50 dark:active:bg-neutral-700/50"
>
<span class="text-blue-500 dark:text-blue-400">{rkey}</span>
<span class="truncate text-neutral-700 dark:text-neutral-300" title={did}>
+1 -1
src/auth/login.tsx
···
<label for="username" class="hidden">
Add account
</label>
-
<div class="dark:bg-dark-100 dark:inset-shadow-dark-200 flex grow items-center gap-2 rounded-lg border-[0.5px] border-neutral-300 bg-white px-2 inset-shadow-xs focus-within:outline-[1px] focus-within:outline-neutral-600 dark:border-neutral-600 dark:focus-within:outline-neutral-400">
+
<div class="dark:bg-dark-100 flex grow items-center gap-2 rounded-lg bg-white px-2 outline-1 outline-neutral-200 focus-within:outline-[1.5px] focus-within:outline-neutral-600 dark:outline-neutral-600 dark:focus-within:outline-neutral-400">
<label
for="username"
class="iconify lucide--user-round-plus shrink-0 text-neutral-500 dark:text-neutral-400"
+1 -1
src/components/text-input.tsx
···
disabled={props.disabled}
required={props.required}
class={
-
"dark:bg-dark-100 dark:inset-shadow-dark-200 rounded-lg border-[0.5px] border-neutral-300 bg-white px-2 py-1 inset-shadow-xs select-none placeholder:text-sm focus:outline-[1px] focus:outline-neutral-600 dark:border-neutral-600 dark:focus:outline-neutral-400 " +
+
"dark:bg-dark-100 rounded-lg bg-white px-2 py-1 outline-1 outline-neutral-200 select-none placeholder:text-sm focus:outline-[1.5px] focus:outline-neutral-600 dark:outline-neutral-600 dark:focus:outline-neutral-400 " +
props.class
}
onInput={props.onInput}
+1 -1
src/views/labels.tsx
···
rows={2}
value={searchParams.uriPatterns ?? "*"}
placeholder="at://did:web:example.com/app.bsky.feed.post/*"
-
class="dark:bg-dark-100 dark:inset-shadow-dark-200 grow rounded-lg border-[0.5px] border-neutral-300 bg-white px-2 py-1.5 text-sm inset-shadow-xs focus:outline-[1px] focus:outline-neutral-600 dark:border-neutral-600 dark:focus:outline-neutral-400"
+
class="dark:bg-dark-100 grow rounded-lg bg-white px-2 py-1.5 text-sm outline-1 outline-neutral-200 focus:outline-[1.5px] focus:outline-neutral-600 dark:outline-neutral-600 dark:focus:outline-neutral-400"
/>
</label>
</div>
+1 -1
src/views/blob.tsx
···
return (
<div class="flex flex-col items-center gap-2">
<Show when={blobs() || response()}>
-
<div class="flex w-full flex-col gap-0.5 font-mono text-xs sm:text-sm">
+
<div class="flex w-full flex-col gap-0.5 pb-20 font-mono text-xs sm:text-sm">
<For each={blobs()}>
{(cid) => (
<a
+24
src/utils/route-cache.ts
···
+
import { createStore } from "solid-js/store";
+
+
export interface CollectionCacheEntry {
+
records: unknown[];
+
cursor: string | undefined;
+
scrollY: number;
+
reverse: boolean;
+
}
+
+
type RouteCache = Record<string, CollectionCacheEntry>;
+
+
const [routeCache, setRouteCache] = createStore<RouteCache>({});
+
+
export const getCollectionCache = (key: string): CollectionCacheEntry | undefined => {
+
return routeCache[key];
+
};
+
+
export const setCollectionCache = (key: string, entry: CollectionCacheEntry): void => {
+
setRouteCache(key, entry);
+
};
+
+
export const clearCollectionCache = (key: string): void => {
+
setRouteCache(key, undefined!);
+
};
+11 -5
src/views/repo.tsx
···
{(key) => (
<div class="grid grid-cols-[auto_1fr] items-center gap-x-1 text-sm text-neutral-700 dark:text-neutral-300">
<span class="iconify lucide--hash"></span>
-
<span>{verif.id.split("#")[1]}</span>
-
<span class="iconify lucide--key-round"></span>
-
<span>{detectKeyType(key())}</span>
+
<div class="flex items-center gap-2">
+
<span>{verif.id.split("#")[1]}</span>
+
<div class="flex items-center gap-1 text-neutral-500 dark:text-neutral-400">
+
<span class="iconify lucide--key-round"></span>
+
<span>{detectKeyType(key())}</span>
+
</div>
+
</div>
<span></span>
<div class="font-mono break-all">{key()}</div>
</div>
···
<For each={rotationKeys()}>
{(key) => (
<div class="grid grid-cols-[auto_1fr] items-center gap-x-1 text-sm text-neutral-700 dark:text-neutral-300">
-
<span class="iconify lucide--key-round"></span>
-
<span>{detectDidKeyType(key)}</span>
+
<span class="iconify lucide--key-round text-neutral-500 dark:text-neutral-400"></span>
+
<span class="text-neutral-500 dark:text-neutral-400">
+
{detectDidKeyType(key)}
+
</span>
<span></span>
<div class="font-mono break-all">{key.replace("did:key:", "")}</div>
</div>
+26 -15
src/views/pds.tsx
···
return (
<Show when={repos() || response()}>
-
<div class="flex w-full flex-col">
-
<div class="mb-3 flex gap-4 px-2 text-sm sm:text-base">
+
<div class="flex w-full flex-col px-2">
+
<div class="mb-3 flex gap-4 text-sm sm:text-base">
<Tab tab="repos" label="Repositories" />
<Tab tab="info" label="Info" />
<Tab tab="firehose" label="Firehose" />
</div>
-
<div class="flex flex-col gap-1 px-2">
-
<Show when={!location.hash || location.hash === "#repos"}>
-
<div class="flex flex-col divide-y-[0.5px] divide-neutral-300 pb-20 dark:divide-neutral-700">
-
<For each={repos()}>{(repo) => <RepoCard {...repo} />}</For>
-
</div>
-
</Show>
+
<Show when={!location.hash || location.hash === "#repos"}>
+
<div class="flex flex-col divide-y-[0.5px] divide-neutral-300 pb-20 dark:divide-neutral-700">
+
<For each={repos()}>{(repo) => <RepoCard {...repo} />}</For>
+
</div>
+
</Show>
+
<div class="flex flex-col gap-2">
<Show when={location.hash === "#info"}>
<Show when={version()}>
{(version) => (
-
<div class="flex items-baseline gap-x-1">
+
<div class="flex flex-col">
<span class="font-semibold">Version</span>
-
<span class="truncate text-sm">{version()}</span>
+
<span class="text-sm text-neutral-700 dark:text-neutral-300">{version()}</span>
</div>
)}
</Show>
<Show when={serverInfos()}>
{(server) => (
<>
-
<div class="flex items-baseline gap-x-1">
+
<div class="flex flex-col">
<span class="font-semibold">DID</span>
-
<span class="truncate text-sm">{server().did}</span>
+
<span class="text-sm">{server().did}</span>
</div>
-
<Show when={server().inviteCodeRequired}>
+
<div class="flex items-center gap-1">
<span class="font-semibold">Invite Code Required</span>
-
</Show>
+
<span
+
classList={{
+
"iconify lucide--check text-green-500 dark:text-green-400":
+
server().inviteCodeRequired === true,
+
"iconify lucide--x text-red-500 dark:text-red-400":
+
!server().inviteCodeRequired,
+
}}
+
></span>
+
</div>
<Show when={server().phoneVerificationRequired}>
-
<span class="font-semibold">Phone Verification Required</span>
+
<div class="flex items-center gap-1">
+
<span class="font-semibold">Phone Verification Required</span>
+
<span class="iconify lucide--check text-green-500 dark:text-green-400"></span>
+
</div>
</Show>
<Show when={server().availableUserDomains.length}>
<div class="flex flex-col">
+9 -18
src/views/logs.tsx
···
}
});
-
const FilterButton = (props: { icon: string; event: PlcEvent; label: string }) => {
+
const FilterButton = (props: { event: PlcEvent; label: string }) => {
const isActive = () => activePlcEvent() === props.event;
const toggleFilter = () => setActivePlcEvent(isActive() ? undefined : props.event);
return (
<button
classList={{
-
"flex items-center gap-1 sm:gap-1.5 rounded-lg px-3 py-2 sm:px-2 sm:py-1.5 text-base sm:text-sm transition-colors": true,
-
"bg-neutral-700 text-white dark:bg-neutral-200 dark:text-neutral-900": isActive(),
+
"font-medium rounded-lg px-2 py-1.5 text-xs sm:text-sm transition-colors": true,
+
"bg-neutral-700 text-white dark:bg-neutral-300 dark:text-neutral-900": isActive(),
"bg-neutral-200 text-neutral-700 hover:bg-neutral-300 dark:bg-neutral-700 dark:text-neutral-300 dark:hover:bg-neutral-600":
!isActive(),
}}
onclick={toggleFilter}
>
-
<span class={props.icon}></span>
-
<span class="hidden font-medium sm:inline">{props.label}</span>
+
{props.label}
</button>
);
};
···
<div class="iconify lucide--filter" />
<p class="font-medium">Filter by type</p>
</div>
-
<div class="flex flex-wrap gap-1 sm:gap-2">
-
<FilterButton icon="iconify lucide--at-sign" event="handle" label="Alias" />
-
<FilterButton icon="iconify lucide--hard-drive" event="service" label="Service" />
-
<FilterButton
-
icon="iconify lucide--shield-check"
-
event="verification_method"
-
label="Verification"
-
/>
-
<FilterButton
-
icon="iconify lucide--key-round"
-
event="rotation_key"
-
label="Rotation Key"
-
/>
+
<div class="flex flex-wrap gap-1">
+
<FilterButton event="handle" label="Alias" />
+
<FilterButton event="service" label="Service" />
+
<FilterButton event="verification_method" label="Verification" />
+
<FilterButton event="rotation_key" label="Rotation Key" />
</div>
</div>
<div class="flex items-center gap-1.5 text-sm font-medium">
+10 -11
src/components/theme.tsx
···
export const ThemeSelection = () => {
const [theme, setTheme] = createSignal(
-
localStorage.getItem("theme") === null ? "system"
+
localStorage.getItem("theme") === null ? "auto"
: localStorage.theme === "dark" ? "dark"
: "light",
);
···
document.documentElement.classList.toggle(
"dark",
newTheme === "dark" ||
-
(newTheme === "system" && window.matchMedia("(prefers-color-scheme: dark)").matches),
+
(newTheme === "auto" && window.matchMedia("(prefers-color-scheme: dark)").matches),
);
-
if (newTheme === "system") localStorage.removeItem("theme");
+
if (newTheme === "auto") localStorage.removeItem("theme");
else localStorage.theme = newTheme;
};
-
const ThemeOption = (props: { theme: string; icon: string; label: string }) => {
+
const ThemeOption = (props: { theme: string; label: string }) => {
return (
<button
classList={{
-
"flex items-center gap-2 rounded-xl border px-3 py-2": true,
+
"flex items-center min-w-21 justify-center rounded-xl border px-3 py-2": true,
"bg-neutral-200/60 border-neutral-300 dark:border-neutral-500 dark:bg-neutral-700":
theme() === props.theme,
"border-neutral-200 dark:border-neutral-600 hover:bg-neutral-200/30 dark:hover:bg-neutral-800":
···
}}
onclick={() => updateTheme(props.theme)}
>
-
<span class={"iconify " + props.icon}></span>
-
<span>{props.label}</span>
+
{props.label}
</button>
);
};
return (
-
<div class="flex flex-col gap-0.5">
+
<div class="flex flex-col gap-1">
<label class="select-none">Theme</label>
<div class="flex gap-2">
-
<ThemeOption theme="system" icon="lucide--monitor" label="System" />
-
<ThemeOption theme="light" icon="lucide--sun" label="Light" />
-
<ThemeOption theme="dark" icon="lucide--moon" label="Dark" />
+
<ThemeOption theme="auto" label="Auto" />
+
<ThemeOption theme="light" label="Light" />
+
<ThemeOption theme="dark" label="Dark" />
</div>
</div>
);
+3 -1
src/components/lexicon-schema.tsx
···
<ConstraintsList property={props.property.items!} />
</Show>
<Show when={props.property.description && !props.hideNameType}>
-
<p class="text-sm text-neutral-700 dark:text-neutral-300">{props.property.description}</p>
+
<p class="text-sm wrap-break-word text-neutral-700 dark:text-neutral-300">
+
{props.property.description}
+
</p>
</Show>
</div>
);
+1 -1
src/components/search.tsx
···
return (
<button
onclick={() => setShowSearch(!showSearch())}
-
class="dark:bg-dark-100/70 text-baseline mr-1 box-border flex h-7 items-center gap-1 rounded-md border-[0.5px] border-neutral-300 bg-neutral-100/70 px-2 text-xs hover:bg-neutral-200 active:bg-neutral-300 dark:border-neutral-600 dark:hover:bg-neutral-700 dark:active:bg-neutral-600"
+
class="dark:bg-dark-200 text-baseline dark:hover:bg-dark-100 mr-1 box-border flex h-7 items-center gap-1 rounded-md border-[0.5px] border-neutral-300 bg-neutral-100 px-2 text-xs hover:bg-neutral-200 active:bg-neutral-300 dark:border-neutral-600 dark:active:bg-neutral-700"
>
<span class="iconify lucide--search"></span>
<Show
public/ribbon.webp

This is a binary file and will not be displayed.

+9 -2
src/layout.tsx
···
</Show>
</MetaProvider>
<header
-
class={`dark:shadow-dark-700 mb-3 flex w-full items-center justify-between rounded-xl border-[0.5px] border-neutral-300 bg-neutral-50 bg-size-[95%] bg-right bg-no-repeat p-2 pl-3 shadow-xs [--header-bg:#fafafa] dark:border-neutral-700 dark:bg-neutral-800 dark:[--header-bg:#262626] ${localStorage.getItem("hrt") === "true" ? "bg-[linear-gradient(to_left,transparent_10%,var(--header-bg)_85%),linear-gradient(to_bottom,#5BCEFA90_0%,#5BCEFA90_20%,#F5A9B890_20%,#F5A9B890_40%,#FFFFFF90_40%,#FFFFFF90_60%,#F5A9B890_60%,#F5A9B890_80%,#5BCEFA90_80%,#5BCEFA90_100%)]" : ""}`}
+
class={`dark:shadow-dark-700 mb-3 flex w-full items-center justify-between rounded-xl border-[0.5px] border-neutral-300 bg-neutral-50 bg-size-[95%] bg-right bg-no-repeat p-2 pl-3 shadow-xs [--header-bg:#fafafa] [--trans-blue:#5BCEFA90] [--trans-pink:#F5A9B890] [--trans-white:#FFFFFF90] dark:border-neutral-700 dark:bg-neutral-800 dark:[--header-bg:#262626] dark:[--trans-blue:#5BCEFAa0] dark:[--trans-pink:#F5A9B8a0] dark:[--trans-white:#FFFFFFa0] ${localStorage.getItem("hrt") === "true" ? "bg-[linear-gradient(to_left,transparent_10%,var(--header-bg)_85%),linear-gradient(to_bottom,var(--trans-blue)_0%,var(--trans-blue)_20%,var(--trans-pink)_20%,var(--trans-pink)_40%,var(--trans-white)_40%,var(--trans-white)_60%,var(--trans-pink)_60%,var(--trans-pink)_80%,var(--trans-blue)_80%,var(--trans-blue)_100%)]" : ""}`}
style={{
"background-image":
props.params.repo && props.params.repo in headers ?
···
<A
href="/"
style='font-feature-settings: "cv05"'
-
class="flex items-center gap-1 text-xl font-semibold"
+
class="relative flex items-center gap-1 text-xl font-semibold"
>
<span class="iconify tabler--binary-tree-filled text-[#76c4e5]"></span>
<span>PDSls</span>
+
<Show when={localStorage.getItem("hrt") === "true"}>
+
<img
+
src="/ribbon.webp"
+
alt=""
+
class="pointer-events-none absolute -top-3 -right-4 w-8 rotate-15"
+
/>
+
</Show>
</A>
<div class="relative flex items-center gap-0.5 rounded-lg bg-neutral-50/60 px-1 py-0.5 dark:bg-neutral-800/60">
<SearchButton />
+7 -7
package.json
···
"vite-plugin-solid": "^2.11.10"
},
"dependencies": {
-
"@atcute/atproto": "^3.1.9",
+
"@atcute/atproto": "^3.1.10",
"@atcute/bluesky": "^3.2.14",
-
"@atcute/client": "^4.1.2",
+
"@atcute/client": "^4.2.0",
"@atcute/crypto": "^2.3.0",
"@atcute/did-plc": "^0.3.1",
"@atcute/identity": "^1.1.3",
-
"@atcute/identity-resolver": "^1.2.1",
-
"@atcute/leaflet": "^1.0.14",
+
"@atcute/identity-resolver": "^1.2.2",
+
"@atcute/leaflet": "^1.0.15",
"@atcute/lexicon-doc": "^2.0.6",
-
"@atcute/lexicon-resolver": "^0.1.5",
+
"@atcute/lexicon-resolver": "^0.1.6",
"@atcute/lexicons": "^1.2.6",
"@atcute/multibase": "^1.1.6",
"@atcute/oauth-browser-client": "^2.0.3",
"@atcute/repo": "^0.1.1",
"@atcute/tangled": "^1.0.13",
-
"@atcute/tid": "^1.1.0",
+
"@atcute/tid": "^1.1.1",
"@codemirror/commands": "^6.10.1",
"@codemirror/lang-json": "^6.0.2",
"@codemirror/lint": "^6.9.2",
"@codemirror/state": "^6.5.3",
-
"@codemirror/view": "^6.39.7",
+
"@codemirror/view": "^6.39.8",
"@fsegurai/codemirror-theme-basic-dark": "^6.2.3",
"@fsegurai/codemirror-theme-basic-light": "^6.2.3",
"@mary/exif-rm": "jsr:^0.2.2",
+71 -71
pnpm-lock.yaml
···
.:
dependencies:
'@atcute/atproto':
-
specifier: ^3.1.9
-
version: 3.1.9
+
specifier: ^3.1.10
+
version: 3.1.10
'@atcute/bluesky':
specifier: ^3.2.14
version: 3.2.14
'@atcute/client':
-
specifier: ^4.1.2
-
version: 4.1.2
+
specifier: ^4.2.0
+
version: 4.2.0
'@atcute/crypto':
specifier: ^2.3.0
version: 2.3.0
···
specifier: ^1.1.3
version: 1.1.3
'@atcute/identity-resolver':
-
specifier: ^1.2.1
-
version: 1.2.1(@atcute/identity@1.1.3)
+
specifier: ^1.2.2
+
version: 1.2.2(@atcute/identity@1.1.3)
'@atcute/leaflet':
-
specifier: ^1.0.14
-
version: 1.0.14
+
specifier: ^1.0.15
+
version: 1.0.15
'@atcute/lexicon-doc':
specifier: ^2.0.6
version: 2.0.6
'@atcute/lexicon-resolver':
-
specifier: ^0.1.5
-
version: 0.1.5(@atcute/identity-resolver@1.2.1(@atcute/identity@1.1.3))(@atcute/identity@1.1.3)
+
specifier: ^0.1.6
+
version: 0.1.6(@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3))(@atcute/identity@1.1.3)
'@atcute/lexicons':
specifier: ^1.2.6
version: 1.2.6
···
specifier: ^1.0.13
version: 1.0.13
'@atcute/tid':
-
specifier: ^1.1.0
-
version: 1.1.0
+
specifier: ^1.1.1
+
version: 1.1.1
'@codemirror/commands':
specifier: ^6.10.1
version: 6.10.1
···
specifier: ^6.5.3
version: 6.5.3
'@codemirror/view':
-
specifier: ^6.39.7
-
version: 6.39.7
+
specifier: ^6.39.8
+
version: 6.39.8
'@fsegurai/codemirror-theme-basic-dark':
specifier: ^6.2.3
-
version: 6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.7)(@lezer/highlight@1.2.3)
+
version: 6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.8)(@lezer/highlight@1.2.3)
'@fsegurai/codemirror-theme-basic-light':
specifier: ^6.2.3
-
version: 6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.7)(@lezer/highlight@1.2.3)
+
version: 6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.8)(@lezer/highlight@1.2.3)
'@mary/exif-rm':
specifier: jsr:^0.2.2
version: '@jsr/mary__exif-rm@0.2.2'
···
'@antfu/install-pkg@1.1.0':
resolution: {integrity: sha512-MGQsmw10ZyI+EJo45CdSER4zEb+p31LpDAFp2Z3gkSd1yqVZGi0Ebx++YTEMonJy4oChEMLsxZ64j8FH6sSqtQ==}
-
'@atcute/atproto@3.1.9':
-
resolution: {integrity: sha512-DyWwHCTdR4hY2BPNbLXgVmm7lI+fceOwWbE4LXbGvbvVtSn+ejSVFaAv01Ra3kWDha0whsOmbJL8JP0QPpf1+w==}
+
'@atcute/atproto@3.1.10':
+
resolution: {integrity: sha512-+GKZpOc0PJcdWMQEkTfg/rSNDAAHxmAUGBl60g2az15etqJn5WaUPNGFE2sB7hKpwi5Ue2h/L0OacINcE/JDDQ==}
'@atcute/bluesky@3.2.14':
resolution: {integrity: sha512-XlVuF55AYIyplmKvlGLlj+cUvk9ggxNRPczkTPIY991xJ4qDxDHpBJ39ekAV4dWcuBoRo2o9JynzpafPu2ljDA==}
···
'@atcute/cid@2.3.0':
resolution: {integrity: sha512-1SRdkTuMs/l5arQ+7Ag0F7JAueZqtzYE0d2gmbkuzi8EPweNU1kYlQs0CE4dSd81YF8PMDTOQty0K2ATq9CW9g==}
-
'@atcute/client@4.1.2':
-
resolution: {integrity: sha512-DOJ0hpdBA4QVl4SGUeOUyz5FfYhdjRW1h0XIH9YDgNTipeA0tnUbRs8hWh9Nb7nyn6zMKzO5RpaWyWWWSx9Yxw==}
+
'@atcute/client@4.2.0':
+
resolution: {integrity: sha512-vYixpXevM+dkzN4HGTfmxCJBOXNSRAMki1bfi1atFdmZGo9n1zStyClHqn0SRs8I5nOQoVG1XBkYAGSFJWqy2Q==}
'@atcute/crypto@2.3.0':
resolution: {integrity: sha512-w5pkJKCjbNMQu+F4JRHbR3ROQyhi1wbn+GSC6WDQamcYHkZmEZk1/eoI354bIQOOfkEM6aFLv718iskrkon4GQ==}
···
'@atcute/did-plc@0.3.1':
resolution: {integrity: sha512-KsuVdRtaaIPMmlcCDcxZzLg6OWm7rajczquhIHfA3s57+c34PFQbdY4Lsc2BvDwZ0fUjmbwzvQI3Zio2VcZa7w==}
-
'@atcute/identity-resolver@1.2.1':
-
resolution: {integrity: sha512-LqWFFf8D8bqW8l0zUV9oZxcXYZ8+uQTZfjURoxH1TLmtmZFSXredtQHsY70k/iSMNDPxWHJXebdlKxJm5ioNIg==}
+
'@atcute/identity-resolver@1.2.2':
+
resolution: {integrity: sha512-eUh/UH4bFvuXS0X7epYCeJC/kj4rbBXfSRumLEH4smMVwNOgTo7cL/0Srty+P/qVPoZEyXdfEbS0PHJyzoXmHw==}
peerDependencies:
'@atcute/identity': ^1.0.0
'@atcute/identity@1.1.3':
resolution: {integrity: sha512-oIqPoI8TwWeQxvcLmFEZLdN2XdWcaLVtlm8pNk0E72As9HNzzD9pwKPrLr3rmTLRIoULPPFmq9iFNsTeCIU9ng==}
-
'@atcute/leaflet@1.0.14':
-
resolution: {integrity: sha512-TWbtB7b73GChBaYwfd7aWFyGVObZ/DqrRtwkpWGm1GO8zZmQ9eJyKDUnXim7NOAs2hmKQ1u2wk2AM4AYzkF5Gg==}
+
'@atcute/leaflet@1.0.15':
+
resolution: {integrity: sha512-soA4jGsY0UxTar8rhtfQNYFXPI+qoQGgjpeMKJaO8ZCBBMRoo4OU9gsFJpUm/BYSocOBvvWSq2GV9pYEgUehTw==}
'@atcute/lexicon-doc@2.0.6':
resolution: {integrity: sha512-iDYJkuom+tIw3zIvU1ggCEVFfReXKfOUtIhpY2kEg2kQeSfMB75F+8k1QOpeAQBetyWYmjsHqBuSUX9oQS6L1Q==}
-
'@atcute/lexicon-resolver@0.1.5':
-
resolution: {integrity: sha512-0bx1/zdMQPuxvRcHW6ykAxRxktC2rEZLoAVSFoLSWDAA92Tf09F9QPK5wgXSF4MNODm1dvzMEdWSMIvlg8sr3A==}
+
'@atcute/lexicon-resolver@0.1.6':
+
resolution: {integrity: sha512-wJC/ChmpP7k+ywpOd07CMvioXjIGaFpF3bDwXLi/086LYjSWHOvtW6pyC+mqP5wLhjyH2hn4wmi77Buew1l1aw==}
peerDependencies:
'@atcute/identity': ^1.1.0
'@atcute/identity-resolver': ^1.1.3
···
'@atcute/tangled@1.0.13':
resolution: {integrity: sha512-K95jmjDXl/f1FFzOJkk07ibNbFsPmn64sdrMACxQmUibO9WcfSjzjZLPXuH6WHFnCNtIBG3x1FQ7ndQgLoZAmw==}
-
'@atcute/tid@1.1.0':
-
resolution: {integrity: sha512-U/YKL9BsBi/bcVXaIwdUBfglnjFxRfqoPd2f1uLsEIDQk1EyxepwdDQYOQ5t/aQctmtywl7lQn6KESQNG+mdfg==}
+
'@atcute/tid@1.1.1':
+
resolution: {integrity: sha512-djJ8UGhLkTU5V51yCnBEruMg35qETjWzWy5sJG/2gEOl2Gd7rQWHSaf+yrO6vMS5EFA38U2xOWE3EDUPzvc2ZQ==}
'@atcute/time-ms@1.0.0':
resolution: {integrity: sha512-iWEOlMBcO3ktB+zQPC2kXka9H/798we+IWq2sjhb+hQJNNfcJrwejzvNi/68Q3jKo/hdfwZjRU9iF8U6D32/2Q==}
···
'@atcute/uint8array@1.0.6':
resolution: {integrity: sha512-ucfRBQc7BFT8n9eCyGOzDHEMKF/nZwhS2pPao4Xtab1ML3HdFYcX2DM1tadCzas85QTGxHe5urnUAAcNKGRi9A==}
-
'@atcute/util-fetch@1.0.4':
-
resolution: {integrity: sha512-sIU9Qk0dE8PLEXSfhy+gIJV+HpiiknMytCI2SqLlqd0vgZUtEKI/EQfP+23LHWvP+CLCzVDOa6cpH045OlmNBg==}
+
'@atcute/util-fetch@1.0.5':
+
resolution: {integrity: sha512-qjHj01BGxjSjIFdPiAjSARnodJIIyKxnCMMEcXMESo9TAyND6XZQqrie5fia+LlYWVXdpsTds8uFQwc9jdKTig==}
'@atcute/util-text@0.0.1':
resolution: {integrity: sha512-t1KZqvn0AYy+h2KcJyHnKF9aEqfRfMUmyY8j1ELtAEIgqN9CxINAjxnoRCJIFUlvWzb+oY3uElQL/Vyk3yss0g==}
···
'@codemirror/state@6.5.3':
resolution: {integrity: sha512-MerMzJzlXogk2fxWFU1nKp36bY5orBG59HnPiz0G9nLRebWa0zXuv2siH6PLIHBvv5TH8CkQRqjBs0MlxCZu+A==}
-
'@codemirror/view@6.39.7':
-
resolution: {integrity: sha512-3Vif9hnNHJnl2YgOtkR/wzGzhYcQ8gy3LGdUhkLUU8xSBbgsTxrE8he/CMTpeINm5TgxLe2FmzvF6IYQL/BSAg==}
+
'@codemirror/view@6.39.8':
+
resolution: {integrity: sha512-1rASYd9Z/mE3tkbC9wInRlCNyCkSn+nLsiQKZhEDUUJiUfs/5FHDpCUDaQpoTIaNGeDc6/bhaEAyLmeEucEFPw==}
'@cyberalien/svg-utils@1.0.11':
resolution: {integrity: sha512-qEE9mnyI+avfGT3emKuRs3ucYkITeaV0Xi7VlYN41f+uGnZBecQP3jwz/AF437H9J4Q7qPClHKm4NiTYpNE6hA==}
···
peerDependencies:
tailwindcss: '>= 4.0.0'
-
'@iconify/tools@5.0.1':
-
resolution: {integrity: sha512-/znhBN9WIpJd9UtKhyEDfRKwNo8rrOy8dShF8bwSZ1i27ukTSHjeS6bmVK4tTYBYriwFhBf70JT6g8GIRwFvbw==}
+
'@iconify/tools@5.0.2':
+
resolution: {integrity: sha512-esoFiH0LYpiqqVAO+RTenh6qqGKf0V8T0T6IG7dFLCw26cjcYGG34UMHjkbuq+MMl23U39FtkzhWZsCDDtOhew==}
'@iconify/types@2.0.0':
resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==}
···
engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7}
hasBin: true
-
caniuse-lite@1.0.30001761:
-
resolution: {integrity: sha512-JF9ptu1vP2coz98+5051jZ4PwQgd2ni8A+gYSN7EA7dPKIMf0pDlSUxhdmVOaV3/fYK5uWBkgSXJaRLr4+3A6g==}
+
caniuse-lite@1.0.30001762:
+
resolution: {integrity: sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw==}
codemirror@6.0.2:
resolution: {integrity: sha512-VhydHotNW5w1UGK0Qj96BwSk/Zqbp9WbnyK2W/eVMv4QyF41INRGpjUhFJY7/uDNuudSc33a/PKr4iDqRduvHw==}
···
undici-types@7.16.0:
resolution: {integrity: sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==}
-
unicode-segmenter@0.14.4:
-
resolution: {integrity: sha512-pR5VCiCrLrKOL6FRW61jnk9+wyMtKKowq+jyFY9oc6uHbWKhDL4yVRiI4YZPksGMK72Pahh8m0cn/0JvbDDyJg==}
+
unicode-segmenter@0.14.5:
+
resolution: {integrity: sha512-jHGmj2LUuqDcX3hqY12Ql+uhUTn8huuxNZGq7GvtF6bSybzH3aFgedYu/KTzQStEgt1Ra2F3HxadNXsNjb3m3g==}
update-browserslist-db@1.2.3:
resolution: {integrity: sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w==}
···
package-manager-detector: 1.6.0
tinyexec: 1.0.2
-
'@atcute/atproto@3.1.9':
+
'@atcute/atproto@3.1.10':
dependencies:
'@atcute/lexicons': 1.2.6
'@atcute/bluesky@3.2.14':
dependencies:
-
'@atcute/atproto': 3.1.9
+
'@atcute/atproto': 3.1.10
'@atcute/lexicons': 1.2.6
'@atcute/car@3.1.3':
···
'@atcute/multibase': 1.1.6
'@atcute/uint8array': 1.0.6
-
'@atcute/client@4.1.2':
+
'@atcute/client@4.2.0':
dependencies:
'@atcute/identity': 1.1.3
'@atcute/lexicons': 1.2.6
···
'@atcute/lexicons': 1.2.6
'@atcute/multibase': 1.1.6
'@atcute/uint8array': 1.0.6
-
'@atcute/util-fetch': 1.0.4
+
'@atcute/util-fetch': 1.0.5
'@badrap/valita': 0.4.6
-
'@atcute/identity-resolver@1.2.1(@atcute/identity@1.1.3)':
+
'@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3)':
dependencies:
'@atcute/identity': 1.1.3
'@atcute/lexicons': 1.2.6
-
'@atcute/util-fetch': 1.0.4
+
'@atcute/util-fetch': 1.0.5
'@badrap/valita': 0.4.6
'@atcute/identity@1.1.3':
···
'@atcute/lexicons': 1.2.6
'@badrap/valita': 0.4.6
-
'@atcute/leaflet@1.0.14':
+
'@atcute/leaflet@1.0.15':
dependencies:
-
'@atcute/atproto': 3.1.9
+
'@atcute/atproto': 3.1.10
'@atcute/lexicons': 1.2.6
'@atcute/lexicon-doc@2.0.6':
···
'@atcute/util-text': 0.0.1
'@badrap/valita': 0.4.6
-
'@atcute/lexicon-resolver@0.1.5(@atcute/identity-resolver@1.2.1(@atcute/identity@1.1.3))(@atcute/identity@1.1.3)':
+
'@atcute/lexicon-resolver@0.1.6(@atcute/identity-resolver@1.2.2(@atcute/identity@1.1.3))(@atcute/identity@1.1.3)':
dependencies:
'@atcute/crypto': 2.3.0
'@atcute/identity': 1.1.3
-
'@atcute/identity-resolver': 1.2.1(@atcute/identity@1.1.3)
+
'@atcute/identity-resolver': 1.2.2(@atcute/identity@1.1.3)
'@atcute/lexicon-doc': 2.0.6
'@atcute/lexicons': 1.2.6
'@atcute/repo': 0.1.1
-
'@atcute/util-fetch': 1.0.4
+
'@atcute/util-fetch': 1.0.5
'@badrap/valita': 0.4.6
'@atcute/lexicons@1.2.6':
···
'@atcute/oauth-browser-client@2.0.3(@atcute/identity@1.1.3)':
dependencies:
-
'@atcute/client': 4.1.2
-
'@atcute/identity-resolver': 1.2.1(@atcute/identity@1.1.3)
+
'@atcute/client': 4.2.0
+
'@atcute/identity-resolver': 1.2.2(@atcute/identity@1.1.3)
'@atcute/lexicons': 1.2.6
'@atcute/multibase': 1.1.6
'@atcute/uint8array': 1.0.6
···
'@atcute/tangled@1.0.13':
dependencies:
-
'@atcute/atproto': 3.1.9
+
'@atcute/atproto': 3.1.10
'@atcute/lexicons': 1.2.6
-
'@atcute/tid@1.1.0':
+
'@atcute/tid@1.1.1':
dependencies:
'@atcute/time-ms': 1.0.0
···
'@atcute/uint8array@1.0.6': {}
-
'@atcute/util-fetch@1.0.4':
+
'@atcute/util-fetch@1.0.5':
dependencies:
'@badrap/valita': 0.4.6
'@atcute/util-text@0.0.1':
dependencies:
-
unicode-segmenter: 0.14.4
+
unicode-segmenter: 0.14.5
'@atcute/varint@1.0.3': {}
···
dependencies:
'@codemirror/language': 6.12.1
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
'@lezer/common': 1.5.0
'@codemirror/commands@6.10.1':
dependencies:
'@codemirror/language': 6.12.1
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
'@lezer/common': 1.5.0
'@codemirror/lang-json@6.0.2':
···
'@codemirror/language@6.12.1':
dependencies:
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
'@lezer/common': 1.5.0
'@lezer/highlight': 1.2.3
'@lezer/lr': 1.4.5
···
'@codemirror/lint@6.9.2':
dependencies:
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
crelt: 1.0.6
'@codemirror/search@6.5.11':
dependencies:
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
crelt: 1.0.6
'@codemirror/state@6.5.3':
dependencies:
'@marijn/find-cluster-break': 1.0.2
-
'@codemirror/view@6.39.7':
+
'@codemirror/view@6.39.8':
dependencies:
'@codemirror/state': 6.5.3
crelt: 1.0.6
···
'@esbuild/win32-x64@0.27.2':
optional: true
-
'@fsegurai/codemirror-theme-basic-dark@6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.7)(@lezer/highlight@1.2.3)':
+
'@fsegurai/codemirror-theme-basic-dark@6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.8)(@lezer/highlight@1.2.3)':
dependencies:
'@codemirror/language': 6.12.1
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
'@lezer/highlight': 1.2.3
-
'@fsegurai/codemirror-theme-basic-light@6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.7)(@lezer/highlight@1.2.3)':
+
'@fsegurai/codemirror-theme-basic-light@6.2.3(@codemirror/language@6.12.1)(@codemirror/state@6.5.3)(@codemirror/view@6.39.8)(@lezer/highlight@1.2.3)':
dependencies:
'@codemirror/language': 6.12.1
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
'@lezer/highlight': 1.2.3
'@iconify-json/lucide@1.2.82':
···
'@iconify/tailwind4@1.2.0(tailwindcss@4.1.18)':
dependencies:
-
'@iconify/tools': 5.0.1
+
'@iconify/tools': 5.0.2
'@iconify/types': 2.0.0
'@iconify/utils': 3.1.0
tailwindcss: 4.1.18
-
'@iconify/tools@5.0.1':
+
'@iconify/tools@5.0.2':
dependencies:
'@cyberalien/svg-utils': 1.0.11
'@iconify/types': 2.0.0
···
browserslist@4.28.1:
dependencies:
baseline-browser-mapping: 2.9.11
-
caniuse-lite: 1.0.30001761
+
caniuse-lite: 1.0.30001762
electron-to-chromium: 1.5.267
node-releases: 2.0.27
update-browserslist-db: 1.2.3(browserslist@4.28.1)
-
caniuse-lite@1.0.30001761: {}
+
caniuse-lite@1.0.30001762: {}
codemirror@6.0.2:
dependencies:
···
'@codemirror/lint': 6.9.2
'@codemirror/search': 6.5.11
'@codemirror/state': 6.5.3
-
'@codemirror/view': 6.39.7
+
'@codemirror/view': 6.39.8
commander@11.1.0: {}
···
undici-types@7.16.0:
optional: true
-
unicode-segmenter@0.14.4: {}
+
unicode-segmenter@0.14.5: {}
update-browserslist-db@1.2.3(browserslist@4.28.1):
dependencies: