@hagicode/hagilight-starlight 0.13.1-dev.137.1.2e922e4 → 0.13.1-dev.138.1.3a7d332

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.
@@ -56,6 +56,23 @@ const navigationOptions = options.map((option) => ({
56
56
  aria-label={`${accessibleLabel}: ${currentOption?.label ?? currentLocale}`}
57
57
  title={currentOption?.label ?? currentLocale}
58
58
  >
59
+ <svg
60
+ class="trigger-icon"
61
+ aria-hidden="true"
62
+ focusable="false"
63
+ viewBox="0 0 24 24"
64
+ width="16"
65
+ height="16"
66
+ fill="none"
67
+ stroke="currentColor"
68
+ stroke-width="1.8"
69
+ stroke-linecap="round"
70
+ stroke-linejoin="round"
71
+ >
72
+ <circle cx="12" cy="12" r="9"></circle>
73
+ <path d="M3 12h18"></path>
74
+ <path d="M12 3c2.6 2.7 3.9 5.7 3.9 9s-1.3 6.3-3.9 9c-2.6-2.7-3.9-5.7-3.9-9S9.4 5.7 12 3z"></path>
75
+ </svg>
59
76
  <span class="trigger-label">{currentOption?.label ?? currentLocale}</span>
60
77
  <span class="trigger-chevron" aria-hidden="true">▾</span>
61
78
  </button>
@@ -211,6 +228,13 @@ const navigationOptions = options.map((option) => ({
211
228
  outline-offset: 2px;
212
229
  }
213
230
 
231
+ .trigger-icon {
232
+ flex: none;
233
+ width: 1rem;
234
+ height: 1rem;
235
+ color: var(--sl-color-gray-2);
236
+ }
237
+
214
238
  .trigger-label {
215
239
  max-width: 10rem;
216
240
  overflow: hidden;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hagicode/hagilight-starlight",
3
- "version": "0.13.1-dev.137.1.2e922e4",
3
+ "version": "0.13.1-dev.138.1.3a7d332",
4
4
  "type": "module",
5
5
  "description": "Starlight plugin and components for HagiCode documentation",
6
6
  "repository": {
@@ -53,7 +53,7 @@
53
53
  "assets/showcase/*"
54
54
  ],
55
55
  "dependencies": {
56
- "@hagicode/hagilight-core": "0.13.1-dev.137.1.2e922e4"
56
+ "@hagicode/hagilight-core": "0.13.1-dev.138.1.3a7d332"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@astrojs/starlight": "^0.42.4",