@astrojs/starlight 0.42.0 → 0.42.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,8 +17,14 @@ const { hasSidebar } = Astro.locals.starlightRoute;
17
17
  constructor() {
18
18
  super();
19
19
 
20
- // Close the menu when the viewport is resized between mobile and desktop sizes.
21
- matchMedia('(min-width: 50em)').addEventListener('change', () => this.hidePopover());
20
+ const desktopMediaQuery = matchMedia('(min-width: 50em)');
21
+
22
+ // Remove the popover attribute on desktop viewports. It's only needed for the mobile menu.
23
+ const resetPopoverAttribute = () => {
24
+ this.popover = desktopMediaQuery.matches ? null : 'auto';
25
+ }
26
+ resetPopoverAttribute();
27
+ desktopMediaQuery.addEventListener('change', () => resetPopoverAttribute());
22
28
 
23
29
  // Update the menu state when the sidebar popover is toggled.
24
30
  this.addEventListener('toggle', ({ newState }) => this.trapFocus(newState === 'open'));
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "0.42.0";
2
+ var version = "0.42.1";
3
3
  //#endregion
4
4
  export { version };
package/dist/schema.d.ts CHANGED
@@ -11,14 +11,14 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
11
11
  editUrl: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodURL, z.ZodBoolean]>>>;
12
12
  head: z.ZodDefault<z.ZodArray<z.ZodObject<{
13
13
  tag: z.ZodEnum<{
14
+ title: "title";
14
15
  base: "base";
15
16
  link: "link";
17
+ style: "style";
16
18
  meta: "meta";
17
- noscript: "noscript";
18
19
  script: "script";
19
- style: "style";
20
+ noscript: "noscript";
20
21
  template: "template";
21
- title: "title";
22
22
  }>;
23
23
  attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodUndefined]>>>;
24
24
  content: z.ZodOptional<z.ZodString>;
@@ -61,10 +61,8 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
61
61
  minimal: "minimal";
62
62
  }>>;
63
63
  icon: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
64
- server: "server";
65
- external: "external";
66
- error: "error";
67
64
  link: "link";
65
+ error: "error";
68
66
  "up-caret": "up-caret";
69
67
  "down-caret": "down-caret";
70
68
  "right-caret": "right-caret";
@@ -81,6 +79,7 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
81
79
  "add-document": "add-document";
82
80
  setting: "setting";
83
81
  "link-alt": "link-alt";
82
+ external: "external";
84
83
  download: "download";
85
84
  "cloud-download": "cloud-download";
86
85
  moon: "moon";
@@ -91,6 +90,7 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
91
90
  "mobile-android": "mobile-android";
92
91
  window: "window";
93
92
  database: "database";
93
+ server: "server";
94
94
  "code-branch": "code-branch";
95
95
  "open-book": "open-book";
96
96
  notes: "notes";
@@ -338,7 +338,7 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
338
338
  "seti:ignored": "seti:ignored";
339
339
  }>, z.ZodString]>, z.ZodTransform<{
340
340
  readonly type: "icon";
341
- readonly name: "server" | "external" | "error" | "link" | "up-caret" | "down-caret" | "right-caret" | "left-caret" | "up-arrow" | "down-arrow" | "right-arrow" | "left-arrow" | "bars" | "translate" | "pencil" | "pen" | "document" | "add-document" | "setting" | "link-alt" | "download" | "cloud-download" | "moon" | "sun" | "clock" | "laptop" | "desktop" | "mobile-android" | "window" | "database" | "code-branch" | "open-book" | "notes" | "information" | "magnifier" | "forward-slash" | "close" | "warning" | "approve-check-circle" | "approve-check" | "question-circle" | "question" | "rocket" | "star" | "puzzle" | "list-format" | "analytics" | "random" | "padlock" | "comment" | "comment-alt" | "heart" | "github" | "gitlab" | "bitbucket" | "forgejo" | "codePen" | "farcaster" | "discord" | "gitter" | "twitter" | "x.com" | "mastodon" | "codeberg" | "youtube" | "threads" | "linkedin" | "twitch" | "azureDevOps" | "microsoftTeams" | "instagram" | "stackOverflow" | "telegram" | "whatsApp" | "rss" | "facebook" | "email" | "phone" | "reddit" | "patreon" | "signal" | "slack" | "matrix" | "hackerOne" | "openCollective" | "blueSky" | "discourse" | "zulip" | "pinterest" | "tiktok" | "goodreads" | "hypothesis" | "astro" | "solidjs" | "alpine" | "pnpm" | "biome" | "bun" | "mdx" | "apple" | "linux" | "homebrew" | "nix" | "starlight" | "pkl" | "node" | "cloudflare" | "vercel" | "netlify" | "deno" | "jsr" | "nostr" | "backstage" | "confluence" | "jira" | "storybook" | "vscode" | "jetbrains" | "zed" | "vim" | "figma" | "sketch" | "npm" | "npmx" | "sourcehut" | "substack" | "chrome" | "edge" | "firefox" | "safari" | "seti:folder" | "seti:bsl" | "seti:mdo" | "seti:salesforce" | "seti:asm" | "seti:bicep" | "seti:bazel" | "seti:c" | "seti:c-sharp" | "seti:html" | "seti:cpp" | "seti:clojure" | "seti:coldfusion" | "seti:config" | "seti:crystal" | "seti:crystal_embedded" | "seti:json" | "seti:css" | "seti:csv" | "seti:xls" | "seti:cu" | "seti:cake" | "seti:cake_php" | "seti:d" | "seti:word" | "seti:elixir" | "seti:elixir_script" | "seti:hex" | "seti:elm" | "seti:favicon" | "seti:f-sharp" | "seti:git" | "seti:go" | "seti:godot" | "seti:gradle" | "seti:grails" | "seti:graphql" | "seti:hacklang" | "seti:haml" | "seti:mustache" | "seti:haskell" | "seti:haxe" | "seti:jade" | "seti:java" | "seti:javascript" | "seti:jinja" | "seti:julia" | "seti:karma" | "seti:kotlin" | "seti:dart" | "seti:liquid" | "seti:livescript" | "seti:lua" | "seti:markdown" | "seti:argdown" | "seti:info" | "seti:clock" | "seti:maven" | "seti:nim" | "seti:github" | "seti:notebook" | "seti:nunjucks" | "seti:npm" | "seti:ocaml" | "seti:odata" | "seti:perl" | "seti:php" | "seti:pipeline" | "seti:pddl" | "seti:plan" | "seti:happenings" | "seti:powershell" | "seti:prisma" | "seti:pug" | "seti:puppet" | "seti:purescript" | "seti:python" | "seti:react" | "seti:rescript" | "seti:R" | "seti:ruby" | "seti:rust" | "seti:sass" | "seti:spring" | "seti:slim" | "seti:smarty" | "seti:sbt" | "seti:scala" | "seti:ethereum" | "seti:stylus" | "seti:svelte" | "seti:swift" | "seti:db" | "seti:terraform" | "seti:tex" | "seti:default" | "seti:twig" | "seti:typescript" | "seti:tsconfig" | "seti:vala" | "seti:vite" | "seti:vue" | "seti:wasm" | "seti:wat" | "seti:xml" | "seti:yml" | "seti:prolog" | "seti:zig" | "seti:zip" | "seti:wgt" | "seti:illustrator" | "seti:photoshop" | "seti:pdf" | "seti:font" | "seti:image" | "seti:svg" | "seti:sublime" | "seti:code-search" | "seti:shell" | "seti:video" | "seti:audio" | "seti:windows" | "seti:jenkins" | "seti:babel" | "seti:bower" | "seti:docker" | "seti:code-climate" | "seti:eslint" | "seti:firebase" | "seti:firefox" | "seti:gitlab" | "seti:grunt" | "seti:gulp" | "seti:ionic" | "seti:platformio" | "seti:rollup" | "seti:stylelint" | "seti:yarn" | "seti:webpack" | "seti:lock" | "seti:license" | "seti:makefile" | "seti:heroku" | "seti:todo" | "seti:ignored";
341
+ readonly name: "link" | "error" | "up-caret" | "down-caret" | "right-caret" | "left-caret" | "up-arrow" | "down-arrow" | "right-arrow" | "left-arrow" | "bars" | "translate" | "pencil" | "pen" | "document" | "add-document" | "setting" | "link-alt" | "external" | "download" | "cloud-download" | "moon" | "sun" | "clock" | "laptop" | "desktop" | "mobile-android" | "window" | "database" | "server" | "code-branch" | "open-book" | "notes" | "information" | "magnifier" | "forward-slash" | "close" | "warning" | "approve-check-circle" | "approve-check" | "question-circle" | "question" | "rocket" | "star" | "puzzle" | "list-format" | "analytics" | "random" | "padlock" | "comment" | "comment-alt" | "heart" | "github" | "gitlab" | "bitbucket" | "forgejo" | "codePen" | "farcaster" | "discord" | "gitter" | "twitter" | "x.com" | "mastodon" | "codeberg" | "youtube" | "threads" | "linkedin" | "twitch" | "azureDevOps" | "microsoftTeams" | "instagram" | "stackOverflow" | "telegram" | "whatsApp" | "rss" | "facebook" | "email" | "phone" | "reddit" | "patreon" | "signal" | "slack" | "matrix" | "hackerOne" | "openCollective" | "blueSky" | "discourse" | "zulip" | "pinterest" | "tiktok" | "goodreads" | "hypothesis" | "astro" | "solidjs" | "alpine" | "pnpm" | "biome" | "bun" | "mdx" | "apple" | "linux" | "homebrew" | "nix" | "starlight" | "pkl" | "node" | "cloudflare" | "vercel" | "netlify" | "deno" | "jsr" | "nostr" | "backstage" | "confluence" | "jira" | "storybook" | "vscode" | "jetbrains" | "zed" | "vim" | "figma" | "sketch" | "npm" | "npmx" | "sourcehut" | "substack" | "chrome" | "edge" | "firefox" | "safari" | "seti:folder" | "seti:bsl" | "seti:mdo" | "seti:salesforce" | "seti:asm" | "seti:bicep" | "seti:bazel" | "seti:c" | "seti:c-sharp" | "seti:html" | "seti:cpp" | "seti:clojure" | "seti:coldfusion" | "seti:config" | "seti:crystal" | "seti:crystal_embedded" | "seti:json" | "seti:css" | "seti:csv" | "seti:xls" | "seti:cu" | "seti:cake" | "seti:cake_php" | "seti:d" | "seti:word" | "seti:elixir" | "seti:elixir_script" | "seti:hex" | "seti:elm" | "seti:favicon" | "seti:f-sharp" | "seti:git" | "seti:go" | "seti:godot" | "seti:gradle" | "seti:grails" | "seti:graphql" | "seti:hacklang" | "seti:haml" | "seti:mustache" | "seti:haskell" | "seti:haxe" | "seti:jade" | "seti:java" | "seti:javascript" | "seti:jinja" | "seti:julia" | "seti:karma" | "seti:kotlin" | "seti:dart" | "seti:liquid" | "seti:livescript" | "seti:lua" | "seti:markdown" | "seti:argdown" | "seti:info" | "seti:clock" | "seti:maven" | "seti:nim" | "seti:github" | "seti:notebook" | "seti:nunjucks" | "seti:npm" | "seti:ocaml" | "seti:odata" | "seti:perl" | "seti:php" | "seti:pipeline" | "seti:pddl" | "seti:plan" | "seti:happenings" | "seti:powershell" | "seti:prisma" | "seti:pug" | "seti:puppet" | "seti:purescript" | "seti:python" | "seti:react" | "seti:rescript" | "seti:R" | "seti:ruby" | "seti:rust" | "seti:sass" | "seti:spring" | "seti:slim" | "seti:smarty" | "seti:sbt" | "seti:scala" | "seti:ethereum" | "seti:stylus" | "seti:svelte" | "seti:swift" | "seti:db" | "seti:terraform" | "seti:tex" | "seti:default" | "seti:twig" | "seti:typescript" | "seti:tsconfig" | "seti:vala" | "seti:vite" | "seti:vue" | "seti:wasm" | "seti:wat" | "seti:xml" | "seti:yml" | "seti:prolog" | "seti:zig" | "seti:zip" | "seti:wgt" | "seti:illustrator" | "seti:photoshop" | "seti:pdf" | "seti:font" | "seti:image" | "seti:svg" | "seti:sublime" | "seti:code-search" | "seti:shell" | "seti:video" | "seti:audio" | "seti:windows" | "seti:jenkins" | "seti:babel" | "seti:bower" | "seti:docker" | "seti:code-climate" | "seti:eslint" | "seti:firebase" | "seti:firefox" | "seti:gitlab" | "seti:grunt" | "seti:gulp" | "seti:ionic" | "seti:platformio" | "seti:rollup" | "seti:stylelint" | "seti:yarn" | "seti:webpack" | "seti:lock" | "seti:license" | "seti:makefile" | "seti:heroku" | "seti:todo" | "seti:ignored";
342
342
  readonly html?: never;
343
343
  } | {
344
344
  readonly type: "raw";
@@ -364,21 +364,21 @@ declare const StarlightFrontmatterSchema: (context: SchemaContext) => z.ZodObjec
364
364
  badge: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
365
365
  text: z.ZodString;
366
366
  variant: z.ZodDefault<z.ZodEnum<{
367
- default: "default";
368
367
  success: "success";
368
+ default: "default";
369
369
  note: "note";
370
- tip: "tip";
371
- caution: "caution";
372
370
  danger: "danger";
371
+ caution: "caution";
372
+ tip: "tip";
373
373
  }>>;
374
374
  class: z.ZodOptional<z.ZodString>;
375
375
  }, z.core.$strip>]>, z.ZodTransform<{
376
376
  text: string;
377
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
377
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
378
378
  class?: string | undefined;
379
379
  }, string | {
380
380
  text: string;
381
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
381
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
382
382
  class?: string | undefined;
383
383
  }>>>;
384
384
  attrs: z.ZodDefault<z.ZodType<LinkHTMLAttributes, LinkHTMLAttributes, z.core.$ZodTypeInternals<LinkHTMLAttributes, LinkHTMLAttributes>>>;
@@ -3,24 +3,24 @@ import { z } from "astro/zod";
3
3
  declare const badgeSchema: z.ZodObject<{
4
4
  text: z.ZodString;
5
5
  variant: z.ZodDefault<z.ZodEnum<{
6
- default: "default";
7
6
  success: "success";
7
+ default: "default";
8
8
  note: "note";
9
- tip: "tip";
10
- caution: "caution";
11
9
  danger: "danger";
10
+ caution: "caution";
11
+ tip: "tip";
12
12
  }>>;
13
13
  class: z.ZodOptional<z.ZodString>;
14
14
  }, z.core.$strip>;
15
15
  declare const i18nBadgeSchema: z.ZodObject<{
16
16
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
17
17
  variant: z.ZodDefault<z.ZodEnum<{
18
- default: "default";
19
18
  success: "success";
19
+ default: "default";
20
20
  note: "note";
21
- tip: "tip";
22
- caution: "caution";
23
21
  danger: "danger";
22
+ caution: "caution";
23
+ tip: "tip";
24
24
  }>>;
25
25
  class: z.ZodOptional<z.ZodString>;
26
26
  }, z.core.$strip>;
@@ -32,12 +32,12 @@ declare const BadgeComponentSchema: z.ZodObject<{
32
32
  }>>;
33
33
  text: z.ZodString;
34
34
  variant: z.ZodDefault<z.ZodEnum<{
35
- default: "default";
36
35
  success: "success";
36
+ default: "default";
37
37
  note: "note";
38
- tip: "tip";
39
- caution: "caution";
40
38
  danger: "danger";
39
+ caution: "caution";
40
+ tip: "tip";
41
41
  }>>;
42
42
  class: z.ZodOptional<z.ZodString>;
43
43
  }, z.core.$loose>;
@@ -45,21 +45,21 @@ type BadgeComponentProps = z.input<typeof BadgeComponentSchema>;
45
45
  declare const BadgeConfigSchema: () => z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
46
46
  text: z.ZodString;
47
47
  variant: z.ZodDefault<z.ZodEnum<{
48
- default: "default";
49
48
  success: "success";
49
+ default: "default";
50
50
  note: "note";
51
- tip: "tip";
52
- caution: "caution";
53
51
  danger: "danger";
52
+ caution: "caution";
53
+ tip: "tip";
54
54
  }>>;
55
55
  class: z.ZodOptional<z.ZodString>;
56
56
  }, z.core.$strip>]>, z.ZodTransform<{
57
57
  text: string;
58
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
58
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
59
59
  class?: string | undefined;
60
60
  }, string | {
61
61
  text: string;
62
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
62
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
63
63
  class?: string | undefined;
64
64
  }>>>;
65
65
  type I18nBadgeUserConfig = string | {
@@ -70,12 +70,12 @@ type I18nBadgeUserConfig = string | {
70
70
  declare const I18nBadgeConfigSchema: () => z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
71
71
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
72
72
  variant: z.ZodDefault<z.ZodEnum<{
73
- default: "default";
74
73
  success: "success";
74
+ default: "default";
75
75
  note: "note";
76
- tip: "tip";
77
- caution: "caution";
78
76
  danger: "danger";
77
+ caution: "caution";
78
+ tip: "tip";
79
79
  }>>;
80
80
  class: z.ZodOptional<z.ZodString>;
81
81
  }, z.core.$strip>]>>;
@@ -16,14 +16,14 @@ declare const HeadConfigSchema: ({ source }: {
16
16
  source: "config" | "content";
17
17
  }) => z.ZodDefault<z.ZodArray<z.ZodObject<{
18
18
  tag: z.ZodEnum<{
19
+ title: "title";
19
20
  base: "base";
20
21
  link: "link";
22
+ style: "style";
21
23
  meta: "meta";
22
- noscript: "noscript";
23
24
  script: "script";
24
- style: "style";
25
+ noscript: "noscript";
25
26
  template: "template";
26
- title: "title";
27
27
  }>;
28
28
  attrs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodUndefined]>>>;
29
29
  content: z.ZodOptional<z.ZodString>;
@@ -28,10 +28,8 @@ declare const HeroSchema: ({ image }: SchemaContext) => z.ZodObject<{
28
28
  minimal: "minimal";
29
29
  }>>;
30
30
  icon: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEnum<{
31
- server: "server";
32
- external: "external";
33
- error: "error";
34
31
  link: "link";
32
+ error: "error";
35
33
  "up-caret": "up-caret";
36
34
  "down-caret": "down-caret";
37
35
  "right-caret": "right-caret";
@@ -48,6 +46,7 @@ declare const HeroSchema: ({ image }: SchemaContext) => z.ZodObject<{
48
46
  "add-document": "add-document";
49
47
  setting: "setting";
50
48
  "link-alt": "link-alt";
49
+ external: "external";
51
50
  download: "download";
52
51
  "cloud-download": "cloud-download";
53
52
  moon: "moon";
@@ -58,6 +57,7 @@ declare const HeroSchema: ({ image }: SchemaContext) => z.ZodObject<{
58
57
  "mobile-android": "mobile-android";
59
58
  window: "window";
60
59
  database: "database";
60
+ server: "server";
61
61
  "code-branch": "code-branch";
62
62
  "open-book": "open-book";
63
63
  notes: "notes";
@@ -305,7 +305,7 @@ declare const HeroSchema: ({ image }: SchemaContext) => z.ZodObject<{
305
305
  "seti:ignored": "seti:ignored";
306
306
  }>, z.ZodString]>, z.ZodTransform<{
307
307
  readonly type: "icon";
308
- readonly name: "server" | "external" | "error" | "link" | "up-caret" | "down-caret" | "right-caret" | "left-caret" | "up-arrow" | "down-arrow" | "right-arrow" | "left-arrow" | "bars" | "translate" | "pencil" | "pen" | "document" | "add-document" | "setting" | "link-alt" | "download" | "cloud-download" | "moon" | "sun" | "clock" | "laptop" | "desktop" | "mobile-android" | "window" | "database" | "code-branch" | "open-book" | "notes" | "information" | "magnifier" | "forward-slash" | "close" | "warning" | "approve-check-circle" | "approve-check" | "question-circle" | "question" | "rocket" | "star" | "puzzle" | "list-format" | "analytics" | "random" | "padlock" | "comment" | "comment-alt" | "heart" | "github" | "gitlab" | "bitbucket" | "forgejo" | "codePen" | "farcaster" | "discord" | "gitter" | "twitter" | "x.com" | "mastodon" | "codeberg" | "youtube" | "threads" | "linkedin" | "twitch" | "azureDevOps" | "microsoftTeams" | "instagram" | "stackOverflow" | "telegram" | "whatsApp" | "rss" | "facebook" | "email" | "phone" | "reddit" | "patreon" | "signal" | "slack" | "matrix" | "hackerOne" | "openCollective" | "blueSky" | "discourse" | "zulip" | "pinterest" | "tiktok" | "goodreads" | "hypothesis" | "astro" | "solidjs" | "alpine" | "pnpm" | "biome" | "bun" | "mdx" | "apple" | "linux" | "homebrew" | "nix" | "starlight" | "pkl" | "node" | "cloudflare" | "vercel" | "netlify" | "deno" | "jsr" | "nostr" | "backstage" | "confluence" | "jira" | "storybook" | "vscode" | "jetbrains" | "zed" | "vim" | "figma" | "sketch" | "npm" | "npmx" | "sourcehut" | "substack" | "chrome" | "edge" | "firefox" | "safari" | "seti:folder" | "seti:bsl" | "seti:mdo" | "seti:salesforce" | "seti:asm" | "seti:bicep" | "seti:bazel" | "seti:c" | "seti:c-sharp" | "seti:html" | "seti:cpp" | "seti:clojure" | "seti:coldfusion" | "seti:config" | "seti:crystal" | "seti:crystal_embedded" | "seti:json" | "seti:css" | "seti:csv" | "seti:xls" | "seti:cu" | "seti:cake" | "seti:cake_php" | "seti:d" | "seti:word" | "seti:elixir" | "seti:elixir_script" | "seti:hex" | "seti:elm" | "seti:favicon" | "seti:f-sharp" | "seti:git" | "seti:go" | "seti:godot" | "seti:gradle" | "seti:grails" | "seti:graphql" | "seti:hacklang" | "seti:haml" | "seti:mustache" | "seti:haskell" | "seti:haxe" | "seti:jade" | "seti:java" | "seti:javascript" | "seti:jinja" | "seti:julia" | "seti:karma" | "seti:kotlin" | "seti:dart" | "seti:liquid" | "seti:livescript" | "seti:lua" | "seti:markdown" | "seti:argdown" | "seti:info" | "seti:clock" | "seti:maven" | "seti:nim" | "seti:github" | "seti:notebook" | "seti:nunjucks" | "seti:npm" | "seti:ocaml" | "seti:odata" | "seti:perl" | "seti:php" | "seti:pipeline" | "seti:pddl" | "seti:plan" | "seti:happenings" | "seti:powershell" | "seti:prisma" | "seti:pug" | "seti:puppet" | "seti:purescript" | "seti:python" | "seti:react" | "seti:rescript" | "seti:R" | "seti:ruby" | "seti:rust" | "seti:sass" | "seti:spring" | "seti:slim" | "seti:smarty" | "seti:sbt" | "seti:scala" | "seti:ethereum" | "seti:stylus" | "seti:svelte" | "seti:swift" | "seti:db" | "seti:terraform" | "seti:tex" | "seti:default" | "seti:twig" | "seti:typescript" | "seti:tsconfig" | "seti:vala" | "seti:vite" | "seti:vue" | "seti:wasm" | "seti:wat" | "seti:xml" | "seti:yml" | "seti:prolog" | "seti:zig" | "seti:zip" | "seti:wgt" | "seti:illustrator" | "seti:photoshop" | "seti:pdf" | "seti:font" | "seti:image" | "seti:svg" | "seti:sublime" | "seti:code-search" | "seti:shell" | "seti:video" | "seti:audio" | "seti:windows" | "seti:jenkins" | "seti:babel" | "seti:bower" | "seti:docker" | "seti:code-climate" | "seti:eslint" | "seti:firebase" | "seti:firefox" | "seti:gitlab" | "seti:grunt" | "seti:gulp" | "seti:ionic" | "seti:platformio" | "seti:rollup" | "seti:stylelint" | "seti:yarn" | "seti:webpack" | "seti:lock" | "seti:license" | "seti:makefile" | "seti:heroku" | "seti:todo" | "seti:ignored";
308
+ readonly name: "link" | "error" | "up-caret" | "down-caret" | "right-caret" | "left-caret" | "up-arrow" | "down-arrow" | "right-arrow" | "left-arrow" | "bars" | "translate" | "pencil" | "pen" | "document" | "add-document" | "setting" | "link-alt" | "external" | "download" | "cloud-download" | "moon" | "sun" | "clock" | "laptop" | "desktop" | "mobile-android" | "window" | "database" | "server" | "code-branch" | "open-book" | "notes" | "information" | "magnifier" | "forward-slash" | "close" | "warning" | "approve-check-circle" | "approve-check" | "question-circle" | "question" | "rocket" | "star" | "puzzle" | "list-format" | "analytics" | "random" | "padlock" | "comment" | "comment-alt" | "heart" | "github" | "gitlab" | "bitbucket" | "forgejo" | "codePen" | "farcaster" | "discord" | "gitter" | "twitter" | "x.com" | "mastodon" | "codeberg" | "youtube" | "threads" | "linkedin" | "twitch" | "azureDevOps" | "microsoftTeams" | "instagram" | "stackOverflow" | "telegram" | "whatsApp" | "rss" | "facebook" | "email" | "phone" | "reddit" | "patreon" | "signal" | "slack" | "matrix" | "hackerOne" | "openCollective" | "blueSky" | "discourse" | "zulip" | "pinterest" | "tiktok" | "goodreads" | "hypothesis" | "astro" | "solidjs" | "alpine" | "pnpm" | "biome" | "bun" | "mdx" | "apple" | "linux" | "homebrew" | "nix" | "starlight" | "pkl" | "node" | "cloudflare" | "vercel" | "netlify" | "deno" | "jsr" | "nostr" | "backstage" | "confluence" | "jira" | "storybook" | "vscode" | "jetbrains" | "zed" | "vim" | "figma" | "sketch" | "npm" | "npmx" | "sourcehut" | "substack" | "chrome" | "edge" | "firefox" | "safari" | "seti:folder" | "seti:bsl" | "seti:mdo" | "seti:salesforce" | "seti:asm" | "seti:bicep" | "seti:bazel" | "seti:c" | "seti:c-sharp" | "seti:html" | "seti:cpp" | "seti:clojure" | "seti:coldfusion" | "seti:config" | "seti:crystal" | "seti:crystal_embedded" | "seti:json" | "seti:css" | "seti:csv" | "seti:xls" | "seti:cu" | "seti:cake" | "seti:cake_php" | "seti:d" | "seti:word" | "seti:elixir" | "seti:elixir_script" | "seti:hex" | "seti:elm" | "seti:favicon" | "seti:f-sharp" | "seti:git" | "seti:go" | "seti:godot" | "seti:gradle" | "seti:grails" | "seti:graphql" | "seti:hacklang" | "seti:haml" | "seti:mustache" | "seti:haskell" | "seti:haxe" | "seti:jade" | "seti:java" | "seti:javascript" | "seti:jinja" | "seti:julia" | "seti:karma" | "seti:kotlin" | "seti:dart" | "seti:liquid" | "seti:livescript" | "seti:lua" | "seti:markdown" | "seti:argdown" | "seti:info" | "seti:clock" | "seti:maven" | "seti:nim" | "seti:github" | "seti:notebook" | "seti:nunjucks" | "seti:npm" | "seti:ocaml" | "seti:odata" | "seti:perl" | "seti:php" | "seti:pipeline" | "seti:pddl" | "seti:plan" | "seti:happenings" | "seti:powershell" | "seti:prisma" | "seti:pug" | "seti:puppet" | "seti:purescript" | "seti:python" | "seti:react" | "seti:rescript" | "seti:R" | "seti:ruby" | "seti:rust" | "seti:sass" | "seti:spring" | "seti:slim" | "seti:smarty" | "seti:sbt" | "seti:scala" | "seti:ethereum" | "seti:stylus" | "seti:svelte" | "seti:swift" | "seti:db" | "seti:terraform" | "seti:tex" | "seti:default" | "seti:twig" | "seti:typescript" | "seti:tsconfig" | "seti:vala" | "seti:vite" | "seti:vue" | "seti:wasm" | "seti:wat" | "seti:xml" | "seti:yml" | "seti:prolog" | "seti:zig" | "seti:zip" | "seti:wgt" | "seti:illustrator" | "seti:photoshop" | "seti:pdf" | "seti:font" | "seti:image" | "seti:svg" | "seti:sublime" | "seti:code-search" | "seti:shell" | "seti:video" | "seti:audio" | "seti:windows" | "seti:jenkins" | "seti:babel" | "seti:bower" | "seti:docker" | "seti:code-climate" | "seti:eslint" | "seti:firebase" | "seti:firefox" | "seti:gitlab" | "seti:grunt" | "seti:gulp" | "seti:ionic" | "seti:platformio" | "seti:rollup" | "seti:stylelint" | "seti:yarn" | "seti:webpack" | "seti:lock" | "seti:license" | "seti:makefile" | "seti:heroku" | "seti:todo" | "seti:ignored";
309
309
  readonly html?: never;
310
310
  } | {
311
311
  readonly type: "raw";
@@ -4,10 +4,8 @@ import { z } from "astro/zod";
4
4
  /** String that matches the name of one of Starlight’s built-in icons. */
5
5
  type IconUserConfig = StarlightIcon;
6
6
  declare const IconSchema: () => z.ZodEnum<{
7
- server: "server";
8
- external: "external";
9
- error: "error";
10
7
  link: "link";
8
+ error: "error";
11
9
  "up-caret": "up-caret";
12
10
  "down-caret": "down-caret";
13
11
  "right-caret": "right-caret";
@@ -24,6 +22,7 @@ declare const IconSchema: () => z.ZodEnum<{
24
22
  "add-document": "add-document";
25
23
  setting: "setting";
26
24
  "link-alt": "link-alt";
25
+ external: "external";
27
26
  download: "download";
28
27
  "cloud-download": "cloud-download";
29
28
  moon: "moon";
@@ -34,6 +33,7 @@ declare const IconSchema: () => z.ZodEnum<{
34
33
  "mobile-android": "mobile-android";
35
34
  window: "window";
36
35
  database: "database";
36
+ server: "server";
37
37
  "code-branch": "code-branch";
38
38
  "open-book": "open-book";
39
39
  notes: "notes";
@@ -31,12 +31,12 @@ declare const SidebarGroupSchema: z.ZodObject<{
31
31
  badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
32
32
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
33
33
  variant: z.ZodDefault<z.ZodEnum<{
34
- default: "default";
35
34
  success: "success";
35
+ default: "default";
36
36
  note: "note";
37
- tip: "tip";
38
- caution: "caution";
39
37
  danger: "danger";
38
+ caution: "caution";
39
+ tip: "tip";
40
40
  }>>;
41
41
  class: z.ZodOptional<z.ZodString>;
42
42
  }, z.core.$strip>]>>;
@@ -57,12 +57,12 @@ declare const SidebarLinkItemSchema: z.ZodObject<{
57
57
  badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
58
58
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
59
59
  variant: z.ZodDefault<z.ZodEnum<{
60
- default: "default";
61
60
  success: "success";
61
+ default: "default";
62
62
  note: "note";
63
- tip: "tip";
64
- caution: "caution";
65
63
  danger: "danger";
64
+ caution: "caution";
65
+ tip: "tip";
66
66
  }>>;
67
67
  class: z.ZodOptional<z.ZodString>;
68
68
  }, z.core.$strip>]>>;
@@ -124,12 +124,12 @@ declare const InternalSidebarLinkItemSchema: z.ZodObject<{
124
124
  badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
125
125
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
126
126
  variant: z.ZodDefault<z.ZodEnum<{
127
- default: "default";
128
127
  success: "success";
128
+ default: "default";
129
129
  note: "note";
130
- tip: "tip";
131
- caution: "caution";
132
130
  danger: "danger";
131
+ caution: "caution";
132
+ tip: "tip";
133
133
  }>>;
134
134
  class: z.ZodOptional<z.ZodString>;
135
135
  }, z.core.$strip>]>>;
@@ -142,7 +142,7 @@ declare const InternalSidebarLinkItemShorthandSchema: z.ZodPipe<z.ZodString, z.Z
142
142
  label?: string | undefined;
143
143
  badge?: string | {
144
144
  text: string | Record<string, string>;
145
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
145
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
146
146
  class?: string | undefined;
147
147
  } | undefined;
148
148
  }, string>>;
@@ -156,12 +156,12 @@ declare const SidebarItemSchema: z.ZodUnion<readonly [z.ZodObject<{
156
156
  badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
157
157
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
158
158
  variant: z.ZodDefault<z.ZodEnum<{
159
- default: "default";
160
159
  success: "success";
160
+ default: "default";
161
161
  note: "note";
162
- tip: "tip";
163
- caution: "caution";
164
162
  danger: "danger";
163
+ caution: "caution";
164
+ tip: "tip";
165
165
  }>>;
166
166
  class: z.ZodOptional<z.ZodString>;
167
167
  }, z.core.$strip>]>>;
@@ -180,12 +180,12 @@ declare const SidebarItemSchema: z.ZodUnion<readonly [z.ZodObject<{
180
180
  badge: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
181
181
  text: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
182
182
  variant: z.ZodDefault<z.ZodEnum<{
183
- default: "default";
184
183
  success: "success";
184
+ default: "default";
185
185
  note: "note";
186
- tip: "tip";
187
- caution: "caution";
188
186
  danger: "danger";
187
+ caution: "caution";
188
+ tip: "tip";
189
189
  }>>;
190
190
  class: z.ZodOptional<z.ZodString>;
191
191
  }, z.core.$strip>]>>;
@@ -196,7 +196,7 @@ declare const SidebarItemSchema: z.ZodUnion<readonly [z.ZodObject<{
196
196
  label?: string | undefined;
197
197
  badge?: string | {
198
198
  text: string | Record<string, string>;
199
- variant: "default" | "success" | "note" | "tip" | "caution" | "danger";
199
+ variant: "success" | "default" | "note" | "danger" | "caution" | "tip";
200
200
  class?: string | undefined;
201
201
  } | undefined;
202
202
  }, string>>]>;
@@ -8,10 +8,8 @@ type SocialLinksUserConfig = {
8
8
  }[] | undefined;
9
9
  declare const LinksSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
10
10
  icon: z.ZodEnum<{
11
- server: "server";
12
- external: "external";
13
- error: "error";
14
11
  link: "link";
12
+ error: "error";
15
13
  "up-caret": "up-caret";
16
14
  "down-caret": "down-caret";
17
15
  "right-caret": "right-caret";
@@ -28,6 +26,7 @@ declare const LinksSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
28
26
  "add-document": "add-document";
29
27
  setting: "setting";
30
28
  "link-alt": "link-alt";
29
+ external: "external";
31
30
  download: "download";
32
31
  "cloud-download": "cloud-download";
33
32
  moon: "moon";
@@ -38,6 +37,7 @@ declare const LinksSchema: z.ZodOptional<z.ZodArray<z.ZodObject<{
38
37
  "mobile-android": "mobile-android";
39
38
  window: "window";
40
39
  database: "database";
40
+ server: "server";
41
41
  "code-branch": "code-branch";
42
42
  "open-book": "open-book";
43
43
  notes: "notes";