@astrojs/starlight 0.22.3 → 0.22.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 +12 -0
- package/components/Icons.ts +3 -0
- package/package.json +3 -3
- package/schemas/social.ts +2 -0
- package/style/markdown.css +4 -0
- package/translations/tr.json +6 -6
- package/user-components/Tabs.astro +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @astrojs/starlight
|
|
2
2
|
|
|
3
|
+
## 0.22.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1871](https://github.com/withastro/starlight/pull/1871) [`03bb126b`](https://github.com/withastro/starlight/commit/03bb126b74d9adaba1be2f0df3f34566815dd77f) Thanks [@delucis](https://github.com/delucis)! - Adds a `blueSky` icon and social link option
|
|
8
|
+
|
|
9
|
+
- [#1873](https://github.com/withastro/starlight/pull/1873) [`13f33b81`](https://github.com/withastro/starlight/commit/13f33b81fd51d18165eb52f2a0c02b890084e4bd) Thanks [@ekfuhrmann](https://github.com/ekfuhrmann)! - Adds 1 new icon: `alpine`
|
|
10
|
+
|
|
11
|
+
- [#1857](https://github.com/withastro/starlight/pull/1857) [`32cdfaf0`](https://github.com/withastro/starlight/commit/32cdfaf0155e65ff6fbe9c0cfacd6969ab0015d9) Thanks [@tarikcoskun](https://github.com/tarikcoskun)! - Updates Turkish UI translations
|
|
12
|
+
|
|
13
|
+
- [#1736](https://github.com/withastro/starlight/pull/1736) [`cfa94a34`](https://github.com/withastro/starlight/commit/cfa94a346ef10804b90db28d217be175e1c1d5ed) Thanks [@julien-deramond](https://github.com/julien-deramond)! - Prevent list items from overflowing Markdown content
|
|
14
|
+
|
|
3
15
|
## 0.22.3
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/components/Icons.ts
CHANGED
|
@@ -119,8 +119,11 @@ export const BuiltInIcons = {
|
|
|
119
119
|
'<path d="M7.2 0Q6.5 0 6 .3a1 1 0 0 0-.4.8v21.8q0 .4.4.7.5.4 1.2.4t1.2-.3q.5-.4.5-.8V1c0-.3-.2-.6-.5-.8Q7.9 0 7.2 0m9.5 8.7q-.7 0-1.1.3L11 11.7c-.2.2-.3.5-.2.9q0 .6.5 1c.3.4.7.7 1 .7q.7.2 1-.1l1.7-1v9.7q0 .4.5.7c.3.3.7.4 1.1.4q.7 0 1.2-.3c.4-.3.5-.5.5-.8V9.7q0-.4-.5-.7-.4-.3-1.2-.3"/>',
|
|
120
120
|
openCollective:
|
|
121
121
|
'<path d="M21.86 5.17a11.94 11.94 0 0 1 0 13.66l-3.1-3.1a7.68 7.68 0 0 0 0-7.46l3.1-3.1Zm-3.03-3.03-3.1 3.1a7.71 7.71 0 1 0 0 13.51l3.1 3.11a12 12 0 1 1 0-19.73Z"/><path d="M21.86 5.17a11.94 11.94 0 0 1 0 13.66l-3.1-3.1a7.68 7.68 0 0 0 0-7.46l3.1-3.1Z"/>',
|
|
122
|
+
blueSky:
|
|
123
|
+
'<path d="M12 10.8c-1-2.1-4-6-6.8-8C2.6 1 1.6 1.3.9 1.6.1 1.9 0 3 0 3.8c0 .7.4 5.6.6 6.4C1.4 13 4.3 14 7 13.6h.4H7c-4 .6-7.4 2-2.8 7 5 5.3 6.8-1 7.8-4.2 1 3.2 2 9.3 7.7 4.3 4.3-4.3 1.2-6.5-2.7-7a9 9 0 0 1-.4-.1h.4c2.7.3 5.6-.6 6.4-3.4.2-.8.6-5.7.6-6.4 0-.7-.1-1.9-.9-2.2-.7-.3-1.7-.7-4.3 1.2-2.8 2-5.7 5.9-6.8 8"/>',
|
|
122
124
|
astro:
|
|
123
125
|
'<path d="M7.233 15.856c-.456 1.5-.132 3.586.948 4.57v-.036l.036-.096c.132-.636.648-1.032 1.309-1.008.612.012.96.336 1.044 1.044.036.264.036.528.048.803v.084c0 .6.168 1.176.504 1.68.3.48.72.851 1.284 1.103l-.024-.048-.024-.096c-.42-1.26-.12-2.135.984-2.879l.336-.227.745-.492a3.647 3.647 0 0 0 1.536-2.603c.06-.456 0-.9-.132-1.331l-.18.12c-1.668.887-3.577 1.2-5.425.84-1.117-.169-2.197-.48-3-1.416l.011-.012ZM2 15.592s3.205-1.559 6.421-1.559l2.437-7.508c.084-.36.348-.6.648-.6.3 0 .552.24.648.612l2.425 7.496c3.816 0 6.421 1.56 6.421 1.56L15.539.72c-.144-.444-.42-.72-.768-.72H8.24c-.348 0-.6.276-.768.72L2 15.592Z"/>',
|
|
126
|
+
alpine: '<path d="m18.7 6 5.3 5.3-5.3 5.3-5.4-5.3L18.7 6zM5.3 6l11 11H5.8L0 11.2 5.3 6z"/>',
|
|
124
127
|
pnpm: '<path d="M0 0v7.5h7.5V0H0Zm8.25 0v7.5h7.498V0H8.25Zm8.25 0v7.5H24V0h-7.5ZM8.25 8.25v7.5h7.498v-7.5H8.25Zm8.25 0v7.5H24v-7.5h-7.5ZM0 16.5V24h7.5v-7.5H0Zm8.25 0V24h7.498v-7.5H8.25Zm8.25 0V24H24v-7.5h-7.5Z"/>',
|
|
125
128
|
biome:
|
|
126
129
|
'<path d="m12 2-5.346 9.259a12.065 12.065 0 0 1 6.326-.22l1.807.427-1.7 7.208-1.81-.427c-2.223-.524-4.36.644-5.263 2.507l-1.672-.809c1.276-2.636 4.284-4.232 7.363-3.505l.848-3.593A10.213 10.213 0 0 0 0 22.785h24L12 2Z"/>',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/starlight",
|
|
3
|
-
"version": "0.22.
|
|
3
|
+
"version": "0.22.4",
|
|
4
4
|
"description": "Build beautiful, high-performance documentation websites with Astro",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -181,9 +181,9 @@
|
|
|
181
181
|
"@astrojs/markdown-remark": "^4.2.1",
|
|
182
182
|
"@playwright/test": "^1.43.1",
|
|
183
183
|
"@types/node": "^18.16.19",
|
|
184
|
-
"@vitest/coverage-v8": "^1.
|
|
184
|
+
"@vitest/coverage-v8": "^1.6.0",
|
|
185
185
|
"astro": "^4.3.5",
|
|
186
|
-
"vitest": "^1.
|
|
186
|
+
"vitest": "^1.6.0"
|
|
187
187
|
},
|
|
188
188
|
"dependencies": {
|
|
189
189
|
"@astrojs/mdx": "^2.1.1",
|
package/schemas/social.ts
CHANGED
|
@@ -29,6 +29,7 @@ export const socialLinks = [
|
|
|
29
29
|
'matrix',
|
|
30
30
|
'openCollective',
|
|
31
31
|
'hackerOne',
|
|
32
|
+
'blueSky',
|
|
32
33
|
] as const;
|
|
33
34
|
|
|
34
35
|
export const SocialLinksSchema = () =>
|
|
@@ -73,6 +74,7 @@ export const SocialLinksSchema = () =>
|
|
|
73
74
|
matrix: 'Matrix',
|
|
74
75
|
openCollective: 'Open Collective',
|
|
75
76
|
hackerOne: 'Hacker One',
|
|
77
|
+
blueSky: 'BlueSky',
|
|
76
78
|
}[key];
|
|
77
79
|
labelledLinks[key] = { label, url };
|
|
78
80
|
}
|
package/style/markdown.css
CHANGED
package/translations/tr.json
CHANGED
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
"page.lastUpdated": "Son güncelleme:",
|
|
19
19
|
"page.previousLink": "Önceki",
|
|
20
20
|
"page.nextLink": "Sonraki",
|
|
21
|
-
"page.draft": "
|
|
21
|
+
"page.draft": "Bu içerik taslaktır ve canlı sürümde bulunmayacaktır.",
|
|
22
22
|
"404.text": "Sayfa bulunamadı. URL'i kontrol edin ya da arama çubuğunu kullanmayı deneyin.",
|
|
23
|
-
"aside.note": "
|
|
24
|
-
"aside.tip": "
|
|
25
|
-
"aside.caution": "
|
|
26
|
-
"aside.danger": "
|
|
27
|
-
"fileTree.directory": "
|
|
23
|
+
"aside.note": "Not",
|
|
24
|
+
"aside.tip": "İpucu",
|
|
25
|
+
"aside.caution": "Dikkat",
|
|
26
|
+
"aside.danger": "Tehlike",
|
|
27
|
+
"fileTree.directory": "Dizin"
|
|
28
28
|
}
|
|
@@ -65,6 +65,7 @@ const { html, panels } = processPanels(panelHtml);
|
|
|
65
65
|
border-bottom: 2px solid var(--sl-color-gray-5);
|
|
66
66
|
color: var(--sl-color-gray-3);
|
|
67
67
|
outline-offset: var(--sl-outline-offset-inside);
|
|
68
|
+
overflow-wrap: initial;
|
|
68
69
|
}
|
|
69
70
|
.tab [role='tab'][aria-selected='true'] {
|
|
70
71
|
color: var(--sl-color-white);
|