starlight-sidebar-topics-dropdown 0.5.0 → 0.5.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 CHANGED
@@ -1,18 +1,29 @@
1
1
  # starlight-sidebar-topics-dropdown
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#68](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/pull/68) [`f640d36`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/f640d367a5d622f9061f2524146fb1c49b3a21ae) Thanks [@trueberryless-org](https://github.com/apps/trueberryless-org)! - Setups trusted publishing using OpenID Connect (OIDC) authentication — no code changes.
8
+
9
+ ## 0.5.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [`3a59211`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/3a59211f9e3ad4f73186f73a8d9dbe3d7d1b0d6c) Thanks [@trueberryless](https://github.com/trueberryless)! - Update keywords and description
14
+
3
15
  ## 0.5.0
4
16
 
5
17
  ### Minor Changes
6
18
 
7
19
  - [#40](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/pull/40) [`acf6f15`](https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/commit/acf6f156d4e8eaa00b2205dbb89befbd5dea27c7) Thanks [@trueberryless](https://github.com/trueberryless)! - ⚠️ **BREAKING CHANGE:** This plugin now uses the [Starlight Sidebar Topics](https://starlight-sidebar-topics.netlify.app/) plugin as a peer dependency. Please follow the upgrade guide below to migrate to the new version.
8
-
9
20
  1. Install the [Starlight Sidebar Topics](https://starlight-sidebar-topics.netlify.app/) plugin:
10
21
 
11
22
  ```sh
12
23
  npm i starlight-sidebar-topics
13
24
  ```
14
25
 
15
- 2. Update the `starlight-sidebar-topics-dropdown` plugin in your `astro.config.mjs` (use the `starlight-sidebar-topics` plugin instead):
26
+ 2. Update the `starlight-sidebar-topics-dropdown` component in your `astro.config.mjs` (use the `starlight-sidebar-topics` plugin instead):
16
27
 
17
28
  ```diff lang="js"
18
29
  // astro.config.mjs
@@ -20,7 +31,7 @@
20
31
  +import starlightSidebarTopics from "starlight-sidebar-topics";
21
32
  ```
22
33
 
23
- 3. Exchange the `starlight-sidebar-topics-dropdown` plugin with the `starlight-sidebar-topics` plugin and add a manual override for the `Sidebar` component where you can use the dropdown component from the `starlight-sidebar-topics-dropdown` plugin:
34
+ 3. Exchange the `starlight-sidebar-topics-dropdown` component with the `starlight-sidebar-topics` plugin and add a manual override for the `Sidebar` component where you can use the dropdown component from the `starlight-sidebar-topics-dropdown` component:
24
35
 
25
36
  ```diff lang="js"
26
37
  // astro.config.mjs
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # `starlight-sidebar-topics-dropdown`
2
2
 
3
- Starlight plugin to split your docs page into multiple subpages and switch between them with a dropdown menu in the sidebar.
3
+ Dropdown topic list for the Starlight Sidebar Topics plugin.
4
4
 
5
5
  ## Documentation
6
6
 
@@ -129,8 +129,8 @@ const currentTopic = topics.find((topic) => topic.isCurrent);
129
129
  }
130
130
 
131
131
  .starlight-sidebar-topics-dropdown-button:has(
132
- .starlight-sidebar-topics-dropdown-button-icon
133
- ) {
132
+ .starlight-sidebar-topics-dropdown-button-icon
133
+ ) {
134
134
  background: linear-gradient(
135
135
  to right,
136
136
  var(--sl-color-text-accent) calc(1.4rem + 16px),
package/package.json CHANGED
@@ -1,26 +1,25 @@
1
1
  {
2
2
  "name": "starlight-sidebar-topics-dropdown",
3
- "version": "0.5.0",
4
- "description": "Starlight plugin to split your docs page into multiple subpages and switch between them with a dropdown menu in the sidebar.",
3
+ "version": "0.5.2",
4
+ "description": "Dropdown topic list for the Starlight Sidebar Topics plugin.",
5
5
  "keywords": [
6
6
  "starlight",
7
- "plugin",
7
+ "component",
8
8
  "sidebar",
9
- "subpages",
10
- "sections",
11
- "dropdown",
12
- "documentation",
13
- "astro"
9
+ "topics",
10
+ "dropdown"
14
11
  ],
15
12
  "homepage": "https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown",
16
- "bugs": "https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/issues",
13
+ "bugs": {
14
+ "url": "https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown/issues"
15
+ },
17
16
  "repository": {
18
17
  "type": "git",
19
18
  "url": "https://github.com/trueberryless-org/starlight-sidebar-topics-dropdown.git",
20
19
  "directory": "packages/starlight-sidebar-topics-dropdown"
21
20
  },
22
21
  "license": "MIT",
23
- "author": "trueberryless (https://trueberryless.org)",
22
+ "author": "trueberryless <trueberryless@gmail.com> (https://trueberryless.org)",
24
23
  "type": "module",
25
24
  "exports": {
26
25
  ".": "./index.ts",
@@ -28,11 +27,11 @@
28
27
  "./package.json": "./package.json"
29
28
  },
30
29
  "devDependencies": {
31
- "@astrojs/starlight": "^0.32.1",
32
- "astro": "^5.3.0"
30
+ "@astrojs/starlight": "^0.33.0",
31
+ "astro": "^5.6.1"
33
32
  },
34
33
  "peerDependencies": {
35
- "@astrojs/starlight": ">=0.30",
34
+ "@astrojs/starlight": ">=0.32",
36
35
  "starlight-sidebar-topics": ">=0.6"
37
36
  },
38
37
  "packageManager": "pnpm@9.3.0",