@astrojs/starlight 0.24.1 → 0.24.2

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @astrojs/starlight
2
2
 
3
+ ## 0.24.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2008](https://github.com/withastro/starlight/pull/2008) [`40359c7`](https://github.com/withastro/starlight/commit/40359c7b73d9c7d60f0b44a870dbc93ba941228f) Thanks [@vnepogodin](https://github.com/vnepogodin)! - Add Slovak language UI translation.
8
+
9
+ - [#2004](https://github.com/withastro/starlight/pull/2004) [`0aa2f06`](https://github.com/withastro/starlight/commit/0aa2f06d3a35a3c5182b4d461c8f3489ac145301) Thanks [@liruifengv](https://github.com/liruifengv)! - Removes an outdated export in `package.json`
10
+
11
+ - [#2007](https://github.com/withastro/starlight/pull/2007) [`44ca490`](https://github.com/withastro/starlight/commit/44ca490f36ecd6789d0865dd2506e5ea03dfa0fb) Thanks [@delucis](https://github.com/delucis)! - Updates internal dependencies
12
+
13
+ - [#1993](https://github.com/withastro/starlight/pull/1993) [`60165b2`](https://github.com/withastro/starlight/commit/60165b20c9d11a08c4c4793615778e045b41b7de) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes an i18n configuration issue when using a single root locale.
14
+
3
15
  ## 0.24.1
4
16
 
5
17
  ### Patch Changes
@@ -161,7 +173,7 @@
161
173
 
162
174
  ```css
163
175
  :root {
164
- --sl-line-height: 1.8;
176
+ --sl-line-height: 1.8;
165
177
  }
166
178
  ```
167
179
 
@@ -401,7 +413,7 @@
401
413
 
402
414
  ```css
403
415
  .sl-link-card a {
404
- line-height: 1.6;
416
+ line-height: 1.6;
405
417
  }
406
418
  ```
407
419
 
@@ -421,14 +433,14 @@
421
433
  ```css
422
434
  /* Restore vertical spacing to match Starlight v0.15 and below. */
423
435
  .sl-markdown-content
424
- :not(a, strong, em, del, span, input, code)
425
- + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
426
- margin-top: 1.5rem;
436
+ :not(a, strong, em, del, span, input, code)
437
+ + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
438
+ margin-top: 1.5rem;
427
439
  }
428
440
  .sl-markdown-content
429
- :not(h1, h2, h3, h4, h5, h6)
430
- + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
431
- margin-top: 2.5rem;
441
+ :not(h1, h2, h3, h4, h5, h6)
442
+ + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
443
+ margin-top: 2.5rem;
432
444
  }
433
445
  ```
434
446
 
@@ -440,9 +452,9 @@
440
452
  starlight-toc a[aria-current='true'],
441
453
  starlight-toc a[aria-current='true']:hover,
442
454
  starlight-toc a[aria-current='true']:focus {
443
- font-weight: 600;
444
- color: var(--sl-color-text-invert);
445
- background-color: var(--sl-color-text-accent);
455
+ font-weight: 600;
456
+ color: var(--sl-color-text-invert);
457
+ background-color: var(--sl-color-text-accent);
446
458
  }
447
459
  ```
448
460
 
@@ -515,14 +527,14 @@
515
527
  import starlight from '@astrojs/starlight';
516
528
 
517
529
  export default defineConfig({
518
- // Disable link prefetching:
519
- prefetch: false,
530
+ // Disable link prefetching:
531
+ prefetch: false,
520
532
 
521
- integrations: [
522
- starlight({
523
- // ...
524
- }),
525
- ],
533
+ integrations: [
534
+ starlight({
535
+ // ...
536
+ }),
537
+ ],
526
538
  });
527
539
  ```
528
540
 
@@ -579,12 +591,12 @@
579
591
  import starlight from '@astrojs/starlight';
580
592
 
581
593
  export default defineConfig({
582
- trailingSlash: 'always',
583
- integrations: [
584
- starlight({
585
- // ...
586
- }),
587
- ],
594
+ trailingSlash: 'always',
595
+ integrations: [
596
+ starlight({
597
+ // ...
598
+ }),
599
+ ],
588
600
  });
589
601
  ```
590
602
 
@@ -932,16 +944,16 @@
932
944
 
933
945
  ```css
934
946
  :root {
935
- --sl-hue-accent: 234;
936
- --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
937
- --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
938
- --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
947
+ --sl-hue-accent: 234;
948
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
949
+ --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
950
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
939
951
  }
940
952
 
941
953
  :root[data-theme='light'] {
942
- --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
943
- --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
944
- --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
954
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
955
+ --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
956
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
945
957
  }
946
958
  ```
947
959
 
@@ -1320,8 +1332,8 @@
1320
1332
 
1321
1333
  ```json
1322
1334
  {
1323
- "search.label": "Suchen",
1324
- "search.shortcutLabel": "(Drücke / zum Suchen)"
1335
+ "search.label": "Suchen",
1336
+ "search.shortcutLabel": "(Drücke / zum Suchen)"
1325
1337
  }
1326
1338
  ```
1327
1339
 
@@ -6,9 +6,9 @@ case `uname` in
6
6
  esac
7
7
 
8
8
  if [ -z "$NODE_PATH" ]; then
9
- export NODE_PATH="/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.8.6_@types+node@18.16.19_typescript@5.4.5/node_modules/astro/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.8.6_@types+node@18.16.19_typescript@5.4.5/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/node_modules"
9
+ export NODE_PATH="/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.10.2_@types+node@18.16.19_typescript@5.4.5/node_modules/astro/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.10.2_@types+node@18.16.19_typescript@5.4.5/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/node_modules"
10
10
  else
11
- export NODE_PATH="/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.8.6_@types+node@18.16.19_typescript@5.4.5/node_modules/astro/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.8.6_@types+node@18.16.19_typescript@5.4.5/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/node_modules:$NODE_PATH"
11
+ export NODE_PATH="/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.10.2_@types+node@18.16.19_typescript@5.4.5/node_modules/astro/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/astro@4.10.2_@types+node@18.16.19_typescript@5.4.5/node_modules:/home/runner/work/starlight/starlight/node_modules/.pnpm/node_modules:$NODE_PATH"
12
12
  fi
13
13
  if [ -x "$basedir/node" ]; then
14
14
  exec "$basedir/node" "$basedir/../astro/astro.js" "$@"
@@ -4,6 +4,6 @@
4
4
  "private": true,
5
5
  "dependencies": {
6
6
  "@astrojs/starlight": "workspace:*",
7
- "astro": "^4.8.6"
7
+ "astro": "^4.10.2"
8
8
  }
9
9
  }