starlight-sidebar-topics-dropdown 0.5.3 → 0.6.0
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 +16 -0
- package/components/TopicsDropdown.astro +7 -2
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# starlight-sidebar-topics-dropdown
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`be6f194`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/be6f1948dd7dbc0c3b55848b99123df045189536) Thanks [@trueberryless](https://github.com/trueberryless)! - Adds support for Astro v6, drops support for Astro v5.
|
|
8
|
+
|
|
9
|
+
⚠️ **BREAKING CHANGE:** The minimum supported version of Starlight is now `0.38.0`.
|
|
10
|
+
|
|
11
|
+
Please follow the [upgrade guide](https://github.com/withastro/starlight/releases/tag/%40astrojs%2Fstarlight%400.38.0) to update your project.
|
|
12
|
+
|
|
13
|
+
## 0.5.4
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#80](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/pull/80) [`c497245`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/c497245d963d5c4f2e0a1e458860f2ffad836eaf) Thanks [@VisualEhrmanntraut](https://github.com/VisualEhrmanntraut)! - Fixed bug introduced by AI hallucination while trying to add RTL layout support
|
|
18
|
+
|
|
3
19
|
## 0.5.3
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -106,6 +106,11 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
|
|
|
106
106
|
padding: 0.3rem 0.5rem;
|
|
107
107
|
cursor: pointer;
|
|
108
108
|
width: 100%;
|
|
109
|
+
--starlight-sidebar-topics-dropdown-gradient-direction: to right;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:global(html[dir="rtl"]) .starlight-sidebar-topics-dropdown-button {
|
|
113
|
+
--starlight-sidebar-topics-dropdown-gradient-direction: to left;
|
|
109
114
|
}
|
|
110
115
|
|
|
111
116
|
.starlight-sidebar-topics-dropdown-button::before {
|
|
@@ -122,7 +127,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
|
|
|
122
127
|
)::before {
|
|
123
128
|
content: "";
|
|
124
129
|
background-image: linear-gradient(
|
|
125
|
-
|
|
130
|
+
var(--starlight-sidebar-topics-dropdown-gradient-direction),
|
|
126
131
|
var(--sl-color-text-accent) calc(1.4rem + 16px + 2px),
|
|
127
132
|
var(--sl-color-gray-5) 0
|
|
128
133
|
);
|
|
@@ -132,7 +137,7 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
|
|
|
132
137
|
.starlight-sidebar-topics-dropdown-button-icon
|
|
133
138
|
) {
|
|
134
139
|
background: linear-gradient(
|
|
135
|
-
|
|
140
|
+
var(--starlight-sidebar-topics-dropdown-gradient-direction),
|
|
136
141
|
var(--sl-color-text-accent) calc(1.4rem + 16px),
|
|
137
142
|
var(--sl-color-gray-6) 0
|
|
138
143
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-sidebar-topics-dropdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Dropdown topic list for the Starlight Sidebar Topics plugin.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"starlight",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"topics",
|
|
10
10
|
"dropdown"
|
|
11
11
|
],
|
|
12
|
-
"homepage": "https://
|
|
12
|
+
"homepage": "https://starlight-sidebar-topics-dropdown.trueberryless.org/",
|
|
13
13
|
"bugs": {
|
|
14
14
|
"url": "https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/issues"
|
|
15
15
|
},
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"./package.json": "./package.json"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@astrojs/starlight": "^0.
|
|
31
|
-
"astro": "^
|
|
30
|
+
"@astrojs/starlight": "^0.38.1",
|
|
31
|
+
"astro": "^6.0.5"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@astrojs/starlight": ">=0.
|
|
35
|
-
"starlight-sidebar-topics": ">=0.
|
|
34
|
+
"@astrojs/starlight": ">=0.38",
|
|
35
|
+
"starlight-sidebar-topics": ">=0.7"
|
|
36
36
|
},
|
|
37
|
-
"packageManager": "pnpm@
|
|
37
|
+
"packageManager": "pnpm@10.10.0",
|
|
38
38
|
"engines": {
|
|
39
|
-
"node": "
|
|
39
|
+
"node": ">=22.12.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|