diff --git a/.agents/skills/codeatlas-ui/API.md b/.agents/skills/codeatlas-ui/API.md index 9dd1d8e1..979f18ec 100644 --- a/.agents/skills/codeatlas-ui/API.md +++ b/.agents/skills/codeatlas-ui/API.md @@ -3051,7 +3051,7 @@ function formatRelativeTime(value: Date | number | string, locale?: string): str `import { getLocales } from "@codeatlasdev/ui"` -Registered locale ids. +Registered locale ids (built-ins first). ```ts function getLocales(): Locale[] @@ -3061,7 +3061,7 @@ function getLocales(): Locale[] `import { getMessages } from "@codeatlasdev/ui"` -Messages for a locale, with optional deep overrides. Pure: no global state read or written, so it is safe on the server. Region subtags fall back to the base language, then to English. +Messages for a locale, with optional deep overrides. Pure, so safe on the server. ```ts function getMessages(id: Locale, override?: MessagesOverride): Messages @@ -3534,7 +3534,7 @@ function useLocale(): () => Locale `import { useT } from "@codeatlasdev/ui"` -Message accessor for the component being initialised. Call it at the top level of `
diff --git a/packages/ui/src/lib/components/VirtualList/VirtualList.svelte b/packages/ui/src/lib/components/VirtualList/VirtualList.svelte index 3dffe888..37e8fb11 100644 --- a/packages/ui/src/lib/components/VirtualList/VirtualList.svelte +++ b/packages/ui/src/lib/components/VirtualList/VirtualList.svelte @@ -1,9 +1,10 @@