@astrojs/starlight 0.1.3 → 0.1.4
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 +8 -0
- package/components/Sidebar.astro +6 -4
- package/package.json +1 -1
- package/translations/index.ts +2 -1
- package/translations/it.json +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @astrojs/starlight
|
|
2
2
|
|
|
3
|
+
## 0.1.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#190](https://github.com/withastro/starlight/pull/190) [`a3809e4`](https://github.com/withastro/starlight/commit/a3809e4f1e14f3949e9e25f7ffbdea2920408edb) Thanks [@gabrielemercolino](https://github.com/gabrielemercolino)! - Added Italian language support
|
|
8
|
+
|
|
9
|
+
- [#193](https://github.com/withastro/starlight/pull/193) [`c9ca4eb`](https://github.com/withastro/starlight/commit/c9ca4ebe10f4776999e3fff4ac4c19ac0a714bac) Thanks [@BryceRussell](https://github.com/BryceRussell)! - Fix bottom padding for sidebar on larger screen sizes
|
|
10
|
+
|
|
3
11
|
## 0.1.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/components/Sidebar.astro
CHANGED
|
@@ -28,13 +28,15 @@ const { sidebar, locale } = Astro.props;
|
|
|
28
28
|
gap: 1rem;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.sidebar > :global(:last-child) {
|
|
32
|
-
padding-bottom: 1rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
31
|
.mobile-preferences {
|
|
36
32
|
justify-content: space-between;
|
|
37
33
|
border-top: 1px solid var(--sl-color-gray-6);
|
|
38
34
|
padding: 0.5rem 0;
|
|
39
35
|
}
|
|
36
|
+
|
|
37
|
+
@media (min-width: 50rem) {
|
|
38
|
+
.sidebar > :global(:nth-last-child(2)) {
|
|
39
|
+
padding-bottom: 1rem;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
40
42
|
</style>
|
package/package.json
CHANGED
package/translations/index.ts
CHANGED
|
@@ -5,9 +5,10 @@ import de from './de.json';
|
|
|
5
5
|
import ja from './ja.json';
|
|
6
6
|
import pt from './pt.json';
|
|
7
7
|
import fr from './fr.json';
|
|
8
|
+
import it from './it.json';
|
|
8
9
|
|
|
9
10
|
const parse = i18nSchema().required().strict().parse;
|
|
10
11
|
|
|
11
12
|
export default Object.fromEntries(
|
|
12
|
-
Object.entries({ en, es, de, ja, pt, fr }).map(([key, dict]) => [key, parse(dict)])
|
|
13
|
+
Object.entries({ en, es, de, ja, pt, fr, it }).map(([key, dict]) => [key, parse(dict)])
|
|
13
14
|
);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skipLink.label": "Salta ai contenuti",
|
|
3
|
+
"search.label": "Cerca",
|
|
4
|
+
"search.shortcutLabel": "(Usa / per cercare)",
|
|
5
|
+
"search.cancelLabel": "Cancella",
|
|
6
|
+
"themeSelect.accessibleLabel": "Seleziona tema",
|
|
7
|
+
"themeSelect.dark": "Scuro",
|
|
8
|
+
"themeSelect.light": "Chiaro",
|
|
9
|
+
"themeSelect.auto": "Auto",
|
|
10
|
+
"languageSelect.accessibleLabel": "Seleziona lingua",
|
|
11
|
+
"menuButton.accessibleLabel": "Menu",
|
|
12
|
+
"sidebarNav.accessibleLabel": "Principale",
|
|
13
|
+
"tableOfContents.onThisPage": "In questa pagina",
|
|
14
|
+
"tableOfContents.overview": "Panoramica",
|
|
15
|
+
"i18n.untranslatedContent": "Questi contenuti non sono ancora disponibili nella tua lingua.",
|
|
16
|
+
"page.editLink": "Modifica pagina",
|
|
17
|
+
"page.lastUpdated": "Ultimo aggiornamento:",
|
|
18
|
+
"page.previousLink": "Indietro",
|
|
19
|
+
"page.nextLink": "Avanti"
|
|
20
|
+
}
|