@astrojs/starlight 0.24.1 → 0.24.3

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,25 @@
1
1
  # @astrojs/starlight
2
2
 
3
+ ## 0.24.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2028](https://github.com/withastro/starlight/pull/2028) [`af81ad3`](https://github.com/withastro/starlight/commit/af81ad38fd26c375c0372718fd3e152b7f1a0fa6) Thanks [@HiDeoo](https://github.com/HiDeoo)! - Fixes a search dialog height issue in Safari.
8
+
9
+ - [#2022](https://github.com/withastro/starlight/pull/2022) [`80f82b1`](https://github.com/withastro/starlight/commit/80f82b15afae1366676e0c25e674210a19606df5) Thanks [@playmr365](https://github.com/playmr365)! - Updates Czech UI translations
10
+
11
+ ## 0.24.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#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.
16
+
17
+ - [#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`
18
+
19
+ - [#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
20
+
21
+ - [#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.
22
+
3
23
  ## 0.24.1
4
24
 
5
25
  ### Patch Changes
@@ -161,7 +181,7 @@
161
181
 
162
182
  ```css
163
183
  :root {
164
- --sl-line-height: 1.8;
184
+ --sl-line-height: 1.8;
165
185
  }
166
186
  ```
167
187
 
@@ -401,7 +421,7 @@
401
421
 
402
422
  ```css
403
423
  .sl-link-card a {
404
- line-height: 1.6;
424
+ line-height: 1.6;
405
425
  }
406
426
  ```
407
427
 
@@ -421,14 +441,14 @@
421
441
  ```css
422
442
  /* Restore vertical spacing to match Starlight v0.15 and below. */
423
443
  .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;
444
+ :not(a, strong, em, del, span, input, code)
445
+ + :not(a, strong, em, del, span, input, code, :where(.not-content *)) {
446
+ margin-top: 1.5rem;
427
447
  }
428
448
  .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;
449
+ :not(h1, h2, h3, h4, h5, h6)
450
+ + :is(h1, h2, h3, h4, h5, h6):not(:where(.not-content *)) {
451
+ margin-top: 2.5rem;
432
452
  }
433
453
  ```
434
454
 
@@ -440,9 +460,9 @@
440
460
  starlight-toc a[aria-current='true'],
441
461
  starlight-toc a[aria-current='true']:hover,
442
462
  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);
463
+ font-weight: 600;
464
+ color: var(--sl-color-text-invert);
465
+ background-color: var(--sl-color-text-accent);
446
466
  }
447
467
  ```
448
468
 
@@ -515,14 +535,14 @@
515
535
  import starlight from '@astrojs/starlight';
516
536
 
517
537
  export default defineConfig({
518
- // Disable link prefetching:
519
- prefetch: false,
538
+ // Disable link prefetching:
539
+ prefetch: false,
520
540
 
521
- integrations: [
522
- starlight({
523
- // ...
524
- }),
525
- ],
541
+ integrations: [
542
+ starlight({
543
+ // ...
544
+ }),
545
+ ],
526
546
  });
527
547
  ```
528
548
 
@@ -579,12 +599,12 @@
579
599
  import starlight from '@astrojs/starlight';
580
600
 
581
601
  export default defineConfig({
582
- trailingSlash: 'always',
583
- integrations: [
584
- starlight({
585
- // ...
586
- }),
587
- ],
602
+ trailingSlash: 'always',
603
+ integrations: [
604
+ starlight({
605
+ // ...
606
+ }),
607
+ ],
588
608
  });
589
609
  ```
590
610
 
@@ -932,16 +952,16 @@
932
952
 
933
953
  ```css
934
954
  :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%);
955
+ --sl-hue-accent: 234;
956
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 54%, 20%);
957
+ --sl-color-accent: hsl(var(--sl-hue-accent), 100%, 60%);
958
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 100%, 87%);
939
959
  }
940
960
 
941
961
  :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%);
962
+ --sl-color-accent-high: hsl(var(--sl-hue-accent), 80%, 30%);
963
+ --sl-color-accent: hsl(var(--sl-hue-accent), 90%, 60%);
964
+ --sl-color-accent-low: hsl(var(--sl-hue-accent), 88%, 90%);
945
965
  }
946
966
  ```
947
967
 
@@ -1320,8 +1340,8 @@
1320
1340
 
1321
1341
  ```json
1322
1342
  {
1323
- "search.label": "Suchen",
1324
- "search.shortcutLabel": "(Drücke / zum Suchen)"
1343
+ "search.label": "Suchen",
1344
+ "search.shortcutLabel": "(Drücke / zum Suchen)"
1325
1345
  }
1326
1346
  ```
1327
1347
 
@@ -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
  }
@@ -197,7 +197,7 @@ const pagefindTranslations = {
197
197
  box-shadow: var(--sl-shadow-lg);
198
198
  }
199
199
  dialog[open] {
200
- display: grid;
200
+ display: flex;
201
201
  }
202
202
 
203
203
  dialog::backdrop {
@@ -208,6 +208,7 @@ const pagefindTranslations = {
208
208
 
209
209
  .dialog-frame {
210
210
  flex-direction: column;
211
+ flex-grow: 1;
211
212
  gap: 1rem;
212
213
  padding: 1rem;
213
214
  }