@astrojs/starlight 0.10.1 → 0.10.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 +12 -0
- package/components/Search.astro +7 -0
- package/package.json +1 -1
- package/translations/he.json +22 -0
- package/translations/id.json +22 -0
- package/translations/index.ts +24 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @astrojs/starlight
|
|
2
2
|
|
|
3
|
+
## 0.10.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#735](https://github.com/withastro/starlight/pull/735) [`2da8692`](https://github.com/withastro/starlight/commit/2da86929c8041f6585790c3baf1cba42220650cc) Thanks [@delucis](https://github.com/delucis)! - Use Starlight font custom property in Pagefind modal
|
|
8
|
+
|
|
9
|
+
- [#735](https://github.com/withastro/starlight/pull/735) [`2da8692`](https://github.com/withastro/starlight/commit/2da86929c8041f6585790c3baf1cba42220650cc) Thanks [@delucis](https://github.com/delucis)! - Fix RTL styling in Pagefind modal
|
|
10
|
+
|
|
11
|
+
- [#739](https://github.com/withastro/starlight/pull/739) [`a9de4a7`](https://github.com/withastro/starlight/commit/a9de4a7dcf9ec8c5c801e8a6cbb0d7faf2c34db7) Thanks [@radenpioneer](https://github.com/radenpioneer)! - Add Indonesian UI translation
|
|
12
|
+
|
|
13
|
+
- [#747](https://github.com/withastro/starlight/pull/747) [`7589515`](https://github.com/withastro/starlight/commit/75895154b11cf9368d4d6b45647b156ce32a88f0) Thanks [@nirtamir2](https://github.com/nirtamir2)! - Add Hebrew UI translations
|
|
14
|
+
|
|
3
15
|
## 0.10.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/components/Search.astro
CHANGED
|
@@ -205,6 +205,7 @@ const pagefindTranslations = {
|
|
|
205
205
|
#starlight__search {
|
|
206
206
|
--pagefind-ui-primary: var(--sl-color-accent-light);
|
|
207
207
|
--pagefind-ui-text: var(--sl-color-gray-2);
|
|
208
|
+
--pagefind-ui-font: var(--__sl-font);
|
|
208
209
|
--pagefind-ui-background: var(--sl-color-black);
|
|
209
210
|
--pagefind-ui-border: var(--sl-color-gray-5);
|
|
210
211
|
--pagefind-ui-border-width: 1px;
|
|
@@ -390,6 +391,12 @@ const pagefindTranslations = {
|
|
|
390
391
|
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 16 16'%3E%3Cpath d='M8 0v12m6 0H8'/%3E%3C/svg%3E");
|
|
391
392
|
}
|
|
392
393
|
|
|
394
|
+
/* Flip page and tree icons around the vertical axis when in an RTL layout. */
|
|
395
|
+
[dir='rtl'] .pagefind-ui__result-title::before,
|
|
396
|
+
[dir='rtl'] .pagefind-ui__result-nested::before {
|
|
397
|
+
transform: matrix(-1, 0, 0, 1, 0, 0);
|
|
398
|
+
}
|
|
399
|
+
|
|
393
400
|
#starlight__search .pagefind-ui__result-link::after {
|
|
394
401
|
content: '';
|
|
395
402
|
position: absolute;
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skipLink.label": "דלגו לתוכן",
|
|
3
|
+
"search.label": "חיפוש",
|
|
4
|
+
"search.shortcutLabel": "(לחצו / כדי לחפש)",
|
|
5
|
+
"search.cancelLabel": "ביטול",
|
|
6
|
+
"search.devWarning": "החיפוש זמין רק בסביבת ייצור. \nנסו לבנות ולהציג תצוגה מקדימה של האתר כדי לבדוק אותו באופן מקומי.",
|
|
7
|
+
"themeSelect.accessibleLabel": "בחרו פרופיל צבע",
|
|
8
|
+
"themeSelect.dark": "כהה",
|
|
9
|
+
"themeSelect.light": "בהיר",
|
|
10
|
+
"themeSelect.auto": "מערכת",
|
|
11
|
+
"languageSelect.accessibleLabel": "בחרו שפה",
|
|
12
|
+
"menuButton.accessibleLabel": "תפריט",
|
|
13
|
+
"sidebarNav.accessibleLabel": "ראשי",
|
|
14
|
+
"tableOfContents.onThisPage": "בדף זה",
|
|
15
|
+
"tableOfContents.overview": "סקירה כללית",
|
|
16
|
+
"i18n.untranslatedContent": "תוכן זה אינו זמין עדיין בשפה שלך.",
|
|
17
|
+
"page.editLink": "ערכו דף",
|
|
18
|
+
"page.lastUpdated": "עדכון אחרון:",
|
|
19
|
+
"page.previousLink": "הקודם",
|
|
20
|
+
"page.nextLink": "הבא",
|
|
21
|
+
"404.text": "הדף לא נמצא. אנא בדקו את כתובת האתר או נסו להשתמש בסרגל החיפוש."
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skipLink.label": "Lewati ke konten",
|
|
3
|
+
"search.label": "Pencarian",
|
|
4
|
+
"search.shortcutLabel": "(Tekan / untuk mencari)",
|
|
5
|
+
"search.cancelLabel": "Batal",
|
|
6
|
+
"search.devWarning": "Pencarian hanya tersedia pada build produksi. \nLakukan proses build dan pratinjau situs Anda sebelum mencoba di lingkungan lokal.",
|
|
7
|
+
"themeSelect.accessibleLabel": "Pilih tema",
|
|
8
|
+
"themeSelect.dark": "Gelap",
|
|
9
|
+
"themeSelect.light": "Terang",
|
|
10
|
+
"themeSelect.auto": "Otomatis",
|
|
11
|
+
"languageSelect.accessibleLabel": "Pilih Bahasa",
|
|
12
|
+
"menuButton.accessibleLabel": "Menu",
|
|
13
|
+
"sidebarNav.accessibleLabel": "Utama",
|
|
14
|
+
"tableOfContents.onThisPage": "Di halaman ini",
|
|
15
|
+
"tableOfContents.overview": "Selayang Pandang",
|
|
16
|
+
"i18n.untranslatedContent": "Konten ini belum tersedia dalam bahasa Anda.",
|
|
17
|
+
"page.editLink": "Edit halaman",
|
|
18
|
+
"page.lastUpdated": "Terakhir diperbaharui:",
|
|
19
|
+
"page.previousLink": "Sebelumnya",
|
|
20
|
+
"page.nextLink": "Selanjutnya",
|
|
21
|
+
"404.text": "Halaman tidak ditemukan. Cek kembali kolom URL atau gunakan fitur pencarian."
|
|
22
|
+
}
|
package/translations/index.ts
CHANGED
|
@@ -7,6 +7,8 @@ import ja from './ja.json';
|
|
|
7
7
|
import pt from './pt.json';
|
|
8
8
|
import fa from './fa.json';
|
|
9
9
|
import fr from './fr.json';
|
|
10
|
+
import he from './he.json';
|
|
11
|
+
import id from './id.json';
|
|
10
12
|
import it from './it.json';
|
|
11
13
|
import nl from './nl.json';
|
|
12
14
|
import da from './da.json';
|
|
@@ -21,7 +23,26 @@ import ru from './ru.json';
|
|
|
21
23
|
const { parse } = builtinI18nSchema();
|
|
22
24
|
|
|
23
25
|
export default Object.fromEntries(
|
|
24
|
-
Object.entries({
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
Object.entries({
|
|
27
|
+
cs,
|
|
28
|
+
en,
|
|
29
|
+
es,
|
|
30
|
+
de,
|
|
31
|
+
ja,
|
|
32
|
+
pt,
|
|
33
|
+
fa,
|
|
34
|
+
fr,
|
|
35
|
+
he,
|
|
36
|
+
id,
|
|
37
|
+
it,
|
|
38
|
+
nl,
|
|
39
|
+
da,
|
|
40
|
+
tr,
|
|
41
|
+
ar,
|
|
42
|
+
nb,
|
|
43
|
+
zh,
|
|
44
|
+
ko,
|
|
45
|
+
sv,
|
|
46
|
+
ru,
|
|
47
|
+
}).map(([key, dict]) => [key, parse(dict)])
|
|
27
48
|
);
|