starlight-theme-nova 0.1.1 → 0.2.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "starlight-theme-nova",
3
3
  "type": "module",
4
- "version": "0.1.1",
4
+ "version": "0.2.0",
5
5
  "description": "",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
@@ -34,16 +34,16 @@
34
34
  "shiki-twoslash-renderer": "0.0.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@astrojs/starlight": "^0.32.3",
37
+ "@astrojs/starlight": "^0.32.5",
38
38
  "@iconify-json/bxl": "^1.2.2",
39
39
  "@iconify-json/logos": "^1.2.4",
40
- "@iconify-json/lucide": "^1.2.30",
40
+ "@iconify-json/lucide": "^1.2.34",
41
41
  "@iconify-json/tabler": "^1.2.17",
42
42
  "@ocavue/tsconfig": "^0.2.0",
43
43
  "@types/node": "^20.17.24",
44
44
  "@unocss/cli": "^66.0.0",
45
- "astro": "^5.5.3",
46
- "typescript": "^5.7.2",
45
+ "astro": "^5.5.6",
46
+ "typescript": "^5.8.2",
47
47
  "unocss": "^66.0.0",
48
48
  "unocss-preset-animations": "^1.1.1"
49
49
  },
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  import LanguageSelect from '@astrojs/starlight/components/LanguageSelect.astro'
3
- import Search from './Search.astro'
4
- import SiteTitle from './SiteTitle.astro'
5
- import SocialIcons from './SocialIcons.astro'
6
- import ThemeSelect from './ThemeSelect.astro'
3
+ import Search from 'virtual:starlight/components/Search'
4
+ import SiteTitle from 'virtual:starlight/components/SiteTitle'
5
+ import SocialIcons from 'virtual:starlight/components/SocialIcons'
6
+ import ThemeSelect from 'virtual:starlight/components/ThemeSelect'
7
7
 
8
8
  import options from 'virtual:starlight-theme-nova/user-config'
9
9
  const nav = options.nav ?? []
@@ -4,3 +4,19 @@ declare module 'virtual:starlight-theme-nova/user-config' {
4
4
  const options: import('./user-options').ThemeNovaOptions
5
5
  export default options
6
6
  }
7
+ declare module 'virtual:starlight/components/Search' {
8
+ const Search: typeof import('./components/Search.astro').default
9
+ export default Search
10
+ }
11
+ declare module 'virtual:starlight/components/SiteTitle' {
12
+ const SiteTitle: typeof import('./components/SiteTitle.astro').default
13
+ export default SiteTitle
14
+ }
15
+ declare module 'virtual:starlight/components/SocialIcons' {
16
+ const SocialIcons: typeof import('./components/SocialIcons.astro').default
17
+ export default SocialIcons
18
+ }
19
+ declare module 'virtual:starlight/components/ThemeSelect' {
20
+ const ThemeSelect: typeof import('./components/ThemeSelect.astro').default
21
+ export default ThemeSelect
22
+ }