@fuzdev/fuz_ui 0.206.6 → 0.206.8

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.
Files changed (191) hide show
  1. package/README.md +3 -3
  2. package/dist/Alert.svelte +21 -25
  3. package/dist/Alert.svelte.d.ts.map +1 -1
  4. package/dist/ApiDeclarationList.svelte +2 -2
  5. package/dist/ApiDeclarationList.svelte.d.ts.map +1 -1
  6. package/dist/ApiIndex.svelte +4 -4
  7. package/dist/ApiIndex.svelte.d.ts.map +1 -1
  8. package/dist/ApiModule.svelte +13 -10
  9. package/dist/ApiModule.svelte.d.ts.map +1 -1
  10. package/dist/ApiModulesList.svelte +2 -2
  11. package/dist/ApiModulesList.svelte.d.ts.map +1 -1
  12. package/dist/Breadcrumb.svelte +31 -19
  13. package/dist/Breadcrumb.svelte.d.ts.map +1 -1
  14. package/dist/Card.svelte +17 -17
  15. package/dist/Card.svelte.d.ts.map +1 -1
  16. package/dist/ColorSchemeInput.svelte +6 -6
  17. package/dist/ColorSchemeInput.svelte.d.ts.map +1 -1
  18. package/dist/Contextmenu.svelte +6 -4
  19. package/dist/Contextmenu.svelte.d.ts.map +1 -1
  20. package/dist/ContextmenuEntry.svelte +8 -8
  21. package/dist/ContextmenuEntry.svelte.d.ts.map +1 -1
  22. package/dist/ContextmenuIcon.svelte +3 -3
  23. package/dist/ContextmenuIcon.svelte.d.ts.map +1 -1
  24. package/dist/ContextmenuLinkEntry.svelte +14 -14
  25. package/dist/ContextmenuLinkEntry.svelte.d.ts.map +1 -1
  26. package/dist/ContextmenuMenu.svelte +10 -10
  27. package/dist/ContextmenuMenu.svelte.d.ts.map +1 -1
  28. package/dist/ContextmenuRoot.svelte +7 -7
  29. package/dist/ContextmenuRootForSafariCompatibility.svelte +15 -15
  30. package/dist/ContextmenuSeparator.svelte +2 -2
  31. package/dist/ContextmenuSubmenu.svelte +15 -12
  32. package/dist/ContextmenuSubmenu.svelte.d.ts.map +1 -1
  33. package/dist/ContextmenuTextEntry.svelte +4 -4
  34. package/dist/ContextmenuTextEntry.svelte.d.ts.map +1 -1
  35. package/dist/CopyToClipboard.svelte +7 -7
  36. package/dist/CopyToClipboard.svelte.d.ts.map +1 -1
  37. package/dist/DeclarationDetail.svelte +35 -28
  38. package/dist/DeclarationDetail.svelte.d.ts.map +1 -1
  39. package/dist/DeclarationLink.svelte +7 -7
  40. package/dist/DeclarationLink.svelte.d.ts.map +1 -1
  41. package/dist/Details.svelte +3 -3
  42. package/dist/Details.svelte.d.ts.map +1 -1
  43. package/dist/Dialog.svelte +7 -7
  44. package/dist/Dialog.svelte.d.ts.map +1 -1
  45. package/dist/DialogContent.svelte +6 -6
  46. package/dist/DialogContent.svelte.d.ts.map +1 -1
  47. package/dist/Docs.svelte +14 -12
  48. package/dist/Docs.svelte.d.ts.map +1 -1
  49. package/dist/DocsContent.svelte +4 -4
  50. package/dist/DocsContent.svelte.d.ts.map +1 -1
  51. package/dist/DocsFooter.svelte +7 -8
  52. package/dist/DocsFooter.svelte.d.ts.map +1 -1
  53. package/dist/DocsLink.svelte +24 -21
  54. package/dist/DocsLink.svelte.d.ts.map +1 -1
  55. package/dist/DocsList.svelte +3 -3
  56. package/dist/DocsList.svelte.d.ts.map +1 -1
  57. package/dist/DocsMenu.svelte +13 -10
  58. package/dist/DocsMenu.svelte.d.ts.map +1 -1
  59. package/dist/DocsMenuHeader.svelte +2 -2
  60. package/dist/DocsMenuHeader.svelte.d.ts.map +1 -1
  61. package/dist/DocsPageLinks.svelte +9 -7
  62. package/dist/DocsPageLinks.svelte.d.ts.map +1 -1
  63. package/dist/DocsPrimaryNav.svelte +5 -5
  64. package/dist/DocsPrimaryNav.svelte.d.ts.map +1 -1
  65. package/dist/DocsSearch.svelte +3 -3
  66. package/dist/DocsSearch.svelte.d.ts.map +1 -1
  67. package/dist/DocsSecondaryNav.svelte +3 -3
  68. package/dist/DocsSecondaryNav.svelte.d.ts.map +1 -1
  69. package/dist/DocsTertiaryNav.svelte +8 -8
  70. package/dist/DocsTertiaryNav.svelte.d.ts.map +1 -1
  71. package/dist/EcosystemLinks.svelte +3 -3
  72. package/dist/EcosystemLinks.svelte.d.ts.map +1 -1
  73. package/dist/EcosystemLinksPanel.svelte +2 -2
  74. package/dist/EcosystemLinksPanel.svelte.d.ts.map +1 -1
  75. package/dist/GithubLink.svelte +10 -10
  76. package/dist/GithubLink.svelte.d.ts.map +1 -1
  77. package/dist/Glyph.svelte +4 -2
  78. package/dist/Glyph.svelte.d.ts.map +1 -1
  79. package/dist/Hashlink.svelte +5 -5
  80. package/dist/Hashlink.svelte.d.ts.map +1 -1
  81. package/dist/HueInput.svelte +11 -11
  82. package/dist/HueInput.svelte.d.ts.map +1 -1
  83. package/dist/ImgOrSvg.svelte +20 -20
  84. package/dist/ImgOrSvg.svelte.d.ts.map +1 -1
  85. package/dist/LibraryDetail.svelte +16 -16
  86. package/dist/LibraryDetail.svelte.d.ts.map +1 -1
  87. package/dist/LibrarySummary.svelte +10 -8
  88. package/dist/LibrarySummary.svelte.d.ts.map +1 -1
  89. package/dist/MdnLink.svelte +8 -8
  90. package/dist/MdnLink.svelte.d.ts.map +1 -1
  91. package/dist/ModuleLink.svelte +5 -5
  92. package/dist/ModuleLink.svelte.d.ts.map +1 -1
  93. package/dist/PasteFromClipboard.svelte +1 -1
  94. package/dist/PasteFromClipboard.svelte.d.ts.map +1 -1
  95. package/dist/PendingAnimation.svelte +12 -11
  96. package/dist/PendingAnimation.svelte.d.ts.map +1 -1
  97. package/dist/PendingButton.svelte +3 -3
  98. package/dist/PendingButton.svelte.d.ts.map +1 -1
  99. package/dist/ProjectLinks.svelte +7 -7
  100. package/dist/ProjectLinks.svelte.d.ts.map +1 -1
  101. package/dist/Redirect.svelte +12 -8
  102. package/dist/Redirect.svelte.d.ts.map +1 -1
  103. package/dist/Spiders.svelte +5 -5
  104. package/dist/Spiders.svelte.d.ts.map +1 -1
  105. package/dist/StyleVariableButton.svelte +6 -6
  106. package/dist/StyleVariableButton.svelte.d.ts.map +1 -1
  107. package/dist/Svg.svelte +5 -5
  108. package/dist/Svg.svelte.d.ts.map +1 -1
  109. package/dist/Teleport.svelte +2 -2
  110. package/dist/Teleport.svelte.d.ts.map +1 -1
  111. package/dist/ThemeInput.svelte +10 -8
  112. package/dist/ThemeInput.svelte.d.ts.map +1 -1
  113. package/dist/ThemeRoot.svelte +10 -11
  114. package/dist/ThemeRoot.svelte.d.ts.map +1 -1
  115. package/dist/TomeContent.svelte +11 -11
  116. package/dist/TomeContent.svelte.d.ts.map +1 -1
  117. package/dist/TomeHeader.svelte +6 -6
  118. package/dist/TomeLink.svelte +7 -7
  119. package/dist/TomeLink.svelte.d.ts.map +1 -1
  120. package/dist/TomeSection.svelte +8 -8
  121. package/dist/TomeSection.svelte.d.ts.map +1 -1
  122. package/dist/TomeSectionHeader.svelte +12 -12
  123. package/dist/TomeSectionHeader.svelte.d.ts.map +1 -1
  124. package/dist/TypeLink.svelte +11 -11
  125. package/dist/TypeLink.svelte.d.ts.map +1 -1
  126. package/dist/alert.js +1 -1
  127. package/dist/api_search.svelte.d.ts.map +1 -1
  128. package/dist/api_search.svelte.js +5 -7
  129. package/dist/autofocus.svelte.d.ts.map +1 -1
  130. package/dist/context_helpers.js +1 -1
  131. package/dist/contextmenu_helpers.d.ts.map +1 -1
  132. package/dist/contextmenu_helpers.js +3 -3
  133. package/dist/contextmenu_state.svelte.d.ts.map +1 -1
  134. package/dist/contextmenu_state.svelte.js +4 -4
  135. package/dist/csp.d.ts.map +1 -1
  136. package/dist/csp.js +27 -27
  137. package/dist/csp_of_fuzdev.d.ts.map +1 -1
  138. package/dist/csp_of_fuzdev.js +1 -1
  139. package/dist/declaration.svelte.d.ts +44 -256
  140. package/dist/declaration.svelte.d.ts.map +1 -1
  141. package/dist/declaration.svelte.js +132 -52
  142. package/dist/declaration_contextmenu.d.ts.map +1 -1
  143. package/dist/declaration_contextmenu.js +2 -2
  144. package/dist/docs_helpers.svelte.d.ts.map +1 -1
  145. package/dist/icons.js +200 -200
  146. package/dist/intersect.svelte.d.ts.map +1 -1
  147. package/dist/library.svelte.d.ts +31 -18
  148. package/dist/library.svelte.d.ts.map +1 -1
  149. package/dist/library.svelte.js +76 -21
  150. package/dist/logos.js +42 -42
  151. package/dist/module.svelte.d.ts +30 -37
  152. package/dist/module.svelte.d.ts.map +1 -1
  153. package/dist/module.svelte.js +88 -35
  154. package/dist/module_contextmenu.d.ts.map +1 -1
  155. package/dist/module_contextmenu.js +2 -2
  156. package/dist/site.svelte.d.ts.map +1 -1
  157. package/dist/style_variable_helpers.svelte.d.ts.map +1 -1
  158. package/dist/svg.d.ts.map +1 -1
  159. package/dist/theme_state.svelte.d.ts.map +1 -1
  160. package/dist/theme_state.svelte.js +1 -1
  161. package/dist/tome.d.ts.map +1 -1
  162. package/dist/tome.js +1 -1
  163. package/dist/vite_plugin_pkg_json.d.ts.map +1 -1
  164. package/dist/vite_plugin_pkg_json.js +1 -1
  165. package/package.json +4 -23
  166. package/src/lib/alert.ts +3 -3
  167. package/src/lib/api_search.svelte.ts +9 -11
  168. package/src/lib/autofocus.svelte.ts +2 -2
  169. package/src/lib/context_helpers.ts +2 -2
  170. package/src/lib/contextmenu_helpers.ts +21 -21
  171. package/src/lib/contextmenu_state.svelte.ts +32 -34
  172. package/src/lib/csp.ts +42 -54
  173. package/src/lib/csp_of_fuzdev.ts +2 -2
  174. package/src/lib/declaration.svelte.ts +157 -62
  175. package/src/lib/declaration_contextmenu.ts +5 -5
  176. package/src/lib/dialog.ts +1 -1
  177. package/src/lib/docs_helpers.svelte.ts +9 -9
  178. package/src/lib/icons.ts +205 -205
  179. package/src/lib/intersect.svelte.ts +5 -5
  180. package/src/lib/library.svelte.ts +103 -36
  181. package/src/lib/library_helpers.ts +2 -2
  182. package/src/lib/logos.ts +43 -43
  183. package/src/lib/module.svelte.ts +98 -49
  184. package/src/lib/module_contextmenu.ts +4 -4
  185. package/src/lib/site.svelte.ts +5 -5
  186. package/src/lib/storage.ts +2 -2
  187. package/src/lib/style_variable_helpers.svelte.ts +2 -2
  188. package/src/lib/svg.ts +2 -2
  189. package/src/lib/theme_state.svelte.ts +8 -8
  190. package/src/lib/tome.ts +8 -8
  191. package/src/lib/vite_plugin_pkg_json.ts +8 -8
@@ -1 +1 @@
1
- {"version":3,"file":"intersect.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/intersect.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,oBAAoB,CAAC;AAGnD,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG,eAAe,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAEpB,YAAY,MAAM,yBAAyB,GAAG,IAAI,GAAG,SAAS,KAC5D,UAAU,CAAC,WAAW,GAAG,UAAU,CA6FrC,CAAC;AAGH,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,WAAW,GAAG,UAAU,CAAC;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,UAAU,EAAE,MAAM,IAAI,CAAC;CACvB;AAGD,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;AAE5D,MAAM,WAAW,eAAe;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,WAAW,GAAG,UAAU,CAAC;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;CAC/B"}
1
+ {"version":3,"file":"intersect.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/intersect.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,MAAM,WAAW,eAAe;IAC/B;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;;OAGG;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,wBAAwB,CAAC;CACnC;AAED,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG,eAAe,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAEpB,YAAY,MAAM,yBAAyB,GAAG,IAAI,GAAG,SAAS,KAC5D,UAAU,CAAC,WAAW,GAAG,UAAU,CA6FrC,CAAC;AAGH,MAAM,MAAM,WAAW,GAAG,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;AAE1D,MAAM,WAAW,cAAc;IAC9B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,WAAW,GAAG,UAAU,CAAC;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,UAAU,EAAE,MAAM,IAAI,CAAC;CACvB;AAGD,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;AAE5D,MAAM,WAAW,eAAe;IAC/B,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,EAAE,EAAE,WAAW,GAAG,UAAU,CAAC;IAC7B,QAAQ,EAAE,oBAAoB,CAAC;CAC/B"}
@@ -44,10 +44,23 @@ export declare const parse_library_url_prefix: (value: unknown) => string;
44
44
  * Wraps `LibraryJson` with computed properties and provides the root
45
45
  * of the API documentation hierarchy: `Library` → `Module` → `Declaration`.
46
46
  *
47
+ * A `Library` and everything it materializes is immutable — `library_json` is
48
+ * assigned once in the constructor — so the computed properties across all
49
+ * three classes are plain getters, with the allocating ones (the `Module` and
50
+ * `Declaration` trees, the lookup maps) cached in a private field on first
51
+ * read. They are deliberately **not** `$derived`: Svelte's server runtime only
52
+ * memoizes a `$derived` created during a render (`ssr_context` is otherwise
53
+ * null), so a `Library` constructed at module scope — the normal shape for a
54
+ * multi-package docs site — rebuilds its entire `Module`/`Declaration` tree on
55
+ * every property read, turning a `declaration_by_name` lookup into a full
56
+ * re-materialization of the library. Reactivity is at the instance level
57
+ * instead: swap the `Library` (see `library_context`), don't mutate one.
58
+ *
47
59
  * @see `module.svelte.ts` for `Module` class
48
60
  * @see `declaration.svelte.ts` for `Declaration` class
49
61
  */
50
62
  export declare class Library {
63
+ #private;
51
64
  readonly library_json: LibraryJson;
52
65
  /**
53
66
  * URL path prefix for multi-package documentation sites.
@@ -55,43 +68,43 @@ export declare class Library {
55
68
  * Default `''` preserves single-package behavior.
56
69
  */
57
70
  readonly url_prefix: string;
58
- readonly pkg_json: import("@fuzdev/fuz_util/pkg_json.js").PkgJson;
59
- readonly source_json: import("@fuzdev/fuz_util/library_json.ts").SourceJson;
60
- readonly name: string;
61
- readonly repo_name: string;
71
+ get pkg_json(): LibraryJson['pkg_json'];
72
+ get source_json(): LibraryJson['source_json'];
73
+ get name(): string;
74
+ get repo_name(): string;
62
75
  /** Non-null — the constructor rejects a `pkg_json` without a parseable `repository`. */
63
- readonly repo_url: Url;
64
- readonly owner_name: string | null;
65
- readonly homepage_url: Url | null;
66
- readonly logo_url: Url | null;
67
- readonly logo_alt: string;
68
- readonly published: boolean;
69
- readonly npm_url: Url | null;
70
- readonly changelog_url: Url | null;
76
+ get repo_url(): Url;
77
+ get owner_name(): string | null;
78
+ get homepage_url(): Url | null;
79
+ get logo_url(): Url | null;
80
+ get logo_alt(): string;
81
+ get published(): boolean;
82
+ get npm_url(): Url | null;
83
+ get changelog_url(): Url | null;
71
84
  /**
72
85
  * Organization URL (e.g., 'https://github.com/ryanatkn'), built from `owner_name`.
73
86
  */
74
- readonly org_url: string | null;
87
+ get org_url(): string | null;
75
88
  /**
76
89
  * All modules as rich `Module` instances.
77
90
  */
78
- readonly modules: Module[];
91
+ get modules(): Array<Module>;
79
92
  /**
80
93
  * All modules sorted alphabetically by path.
81
94
  */
82
- readonly modules_sorted: Module[];
95
+ get modules_sorted(): Array<Module>;
83
96
  /**
84
97
  * All declarations across all modules as a flat array.
85
98
  */
86
- readonly declarations: Declaration[];
99
+ get declarations(): Array<Declaration>;
87
100
  /**
88
101
  * Module lookup map by path. Provides O(1) lookup.
89
102
  */
90
- readonly module_by_path: Map<string, Module>;
103
+ get module_by_path(): Map<string, Module>;
91
104
  /**
92
105
  * Declaration lookup map by name. Provides O(1) lookup.
93
106
  */
94
- readonly declaration_by_name: Map<string, Declaration>;
107
+ get declaration_by_name(): Map<string, Declaration>;
95
108
  constructor(library_json: LibraryJson, url_prefix?: string);
96
109
  /**
97
110
  * Look up modules within a directory prefix.
@@ -1 +1 @@
1
- {"version":3,"file":"library.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/library.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,kCAAkC,CAAC;AAElE,OAAO,KAAK,EAAC,GAAG,EAAC,MAAM,yBAAyB,CAAC;AAGjD,OAAO,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAW1C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe;2CAAwB,OAAO;4BAAP,OAAO;uBAAP,OAAO,WAAP,OAAO;CAAG,CAAC;AAE/D;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,iCAAiC,GAC7C,kBAAkB,MAAM,OAAO,GAAG,SAAS,EAC3C,g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AG,IAAI,CAEzB;IAED,IAAI,QAAQ,IAAI,MAAM,CAErB;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,OAAO,IAAI,GAAG,GAAG,IAAI,CAExB;IAED,IAAI,aAAa,IAAI,GAAG,GAAG,IAAI,CAE9B;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,MAAM,GAAG,IAAI,CAG3B;IAID;;OAEG;IACH,IAAI,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,CAI3B;IAID;;OAEG;IACH,IAAI,cAAc,IAAI,KAAK,CAAC,MAAM,CAAC,CAIlC;IAID;;OAEG;IACH,IAAI,YAAY,IAAI,KAAK,CAAC,WAAW,CAAC,CAErC;IAID;;OAEG;IACH,IAAI,cAAc,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAExC;IAID;;OAEG;IACH,IAAI,mBAAmB,IAAI,GAAG,CAAC,MAAM,EAAE,WAAW,CAAC,CAElD;gBAEW,YAAY,EAAE,WAAW,EAAE,UAAU,SAAK;IAetD;;;OAGG;IACH,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,GAAG,IAAI;IAW5D;;OAEG;IACH,mBAAmB,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC,WAAW,CAAC;CAGtD"}
@@ -2,7 +2,7 @@ import { ensure_start, strip_end } from '@fuzdev/fuz_util/string.ts';
2
2
  import { create_context } from './context_helpers.js';
3
3
  import { Declaration } from './declaration.svelte.js';
4
4
  import { Module } from './module.svelte.js';
5
- import { package_is_published, repo_name_parse, repo_url_github_owner, repo_url_parse, url_github_file, url_logo, url_npm_package, } from '@fuzdev/fuz_util/package_helpers.ts';
5
+ import { package_is_published, repo_name_parse, repo_url_github_owner, repo_url_parse, url_github_file, url_logo, url_npm_package } from '@fuzdev/fuz_util/package_helpers.ts';
6
6
  /**
7
7
  * Holds a getter to the active `Library` for the current subtree.
8
8
  *
@@ -56,6 +56,18 @@ export const parse_library_url_prefix = (value) => {
56
56
  * Wraps `LibraryJson` with computed properties and provides the root
57
57
  * of the API documentation hierarchy: `Library` → `Module` → `Declaration`.
58
58
  *
59
+ * A `Library` and everything it materializes is immutable — `library_json` is
60
+ * assigned once in the constructor — so the computed properties across all
61
+ * three classes are plain getters, with the allocating ones (the `Module` and
62
+ * `Declaration` trees, the lookup maps) cached in a private field on first
63
+ * read. They are deliberately **not** `$derived`: Svelte's server runtime only
64
+ * memoizes a `$derived` created during a render (`ssr_context` is otherwise
65
+ * null), so a `Library` constructed at module scope — the normal shape for a
66
+ * multi-package docs site — rebuilds its entire `Module`/`Declaration` tree on
67
+ * every property read, turning a `declaration_by_name` lookup into a full
68
+ * re-materialization of the library. Reactivity is at the instance level
69
+ * instead: swap the `Library` (see `library_context`), don't mutate one.
70
+ *
59
71
  * @see `module.svelte.ts` for `Module` class
60
72
  * @see `declaration.svelte.ts` for `Declaration` class
61
73
  */
@@ -67,47 +79,90 @@ export class Library {
67
79
  * Default `''` preserves single-package behavior.
68
80
  */
69
81
  url_prefix;
70
- pkg_json = $derived(this.library_json.pkg_json);
71
- source_json = $derived(this.library_json.source_json);
82
+ get pkg_json() {
83
+ return this.library_json.pkg_json;
84
+ }
85
+ get source_json() {
86
+ return this.library_json.source_json;
87
+ }
72
88
  // Everything below is derived from `pkg_json` — `LibraryJson` stores only the
73
89
  // raw `pkg_json`/`source_json` pair, so derivation lives in exactly one place.
74
- name = $derived(this.pkg_json.name);
75
- repo_name = $derived(repo_name_parse(this.pkg_json.name));
90
+ get name() {
91
+ return this.pkg_json.name;
92
+ }
93
+ get repo_name() {
94
+ return repo_name_parse(this.pkg_json.name);
95
+ }
96
+ #repo_url;
76
97
  /** Non-null — the constructor rejects a `pkg_json` without a parseable `repository`. */
77
- repo_url = $derived(repo_url_parse(this.pkg_json.repository));
78
- owner_name = $derived(repo_url_github_owner(this.repo_url));
79
- homepage_url = $derived(this.pkg_json.homepage ?? null);
80
- logo_url = $derived(url_logo(this.homepage_url, this.pkg_json.logo));
81
- logo_alt = $derived(this.pkg_json.logo_alt ?? `logo for ${this.repo_name}`);
82
- published = $derived(package_is_published(this.pkg_json));
83
- npm_url = $derived(this.published ? url_npm_package(this.name) : null);
84
- changelog_url = $derived(this.published ? url_github_file(this.repo_url, 'CHANGELOG.md') : null);
98
+ get repo_url() {
99
+ return (this.#repo_url ??= repo_url_parse(this.pkg_json.repository));
100
+ }
101
+ get owner_name() {
102
+ return repo_url_github_owner(this.repo_url);
103
+ }
104
+ get homepage_url() {
105
+ return this.pkg_json.homepage ?? null;
106
+ }
107
+ get logo_url() {
108
+ return url_logo(this.homepage_url, this.pkg_json.logo);
109
+ }
110
+ get logo_alt() {
111
+ return this.pkg_json.logo_alt ?? `logo for ${this.repo_name}`;
112
+ }
113
+ get published() {
114
+ return package_is_published(this.pkg_json);
115
+ }
116
+ get npm_url() {
117
+ return this.published ? url_npm_package(this.name) : null;
118
+ }
119
+ get changelog_url() {
120
+ return this.published ? url_github_file(this.repo_url, 'CHANGELOG.md') : null;
121
+ }
85
122
  /**
86
123
  * Organization URL (e.g., 'https://github.com/ryanatkn'), built from `owner_name`.
87
124
  */
88
- org_url = $derived(this.owner_name ? 'https://github.com/' + this.owner_name : null);
125
+ get org_url() {
126
+ const { owner_name } = this;
127
+ return owner_name ? 'https://github.com/' + owner_name : null;
128
+ }
129
+ #modules;
89
130
  /**
90
131
  * All modules as rich `Module` instances.
91
132
  */
92
- modules = $derived(this.source_json.modules
93
- ? this.source_json.modules.map((module_json) => new Module(this, module_json))
94
- : []);
133
+ get modules() {
134
+ return (this.#modules ??= this.source_json.modules
135
+ ? this.source_json.modules.map((module_json) => new Module(this, module_json))
136
+ : []);
137
+ }
138
+ #modules_sorted;
95
139
  /**
96
140
  * All modules sorted alphabetically by path.
97
141
  */
98
- modules_sorted = $derived([...this.modules].sort((a, b) => a.path.localeCompare(b.path)));
142
+ get modules_sorted() {
143
+ return (this.#modules_sorted ??= [...this.modules].sort((a, b) => a.path.localeCompare(b.path)));
144
+ }
145
+ #declarations;
99
146
  /**
100
147
  * All declarations across all modules as a flat array.
101
148
  */
102
- declarations = $derived(this.modules.flatMap((module) => module.declarations));
149
+ get declarations() {
150
+ return (this.#declarations ??= this.modules.flatMap((module) => module.declarations));
151
+ }
152
+ #module_by_path;
103
153
  /**
104
154
  * Module lookup map by path. Provides O(1) lookup.
105
155
  */
106
- module_by_path = $derived(new Map(this.modules.map((m) => [m.path, m])));
156
+ get module_by_path() {
157
+ return (this.#module_by_path ??= new Map(this.modules.map((m) => [m.path, m])));
158
+ }
159
+ #declaration_by_name;
107
160
  /**
108
161
  * Declaration lookup map by name. Provides O(1) lookup.
109
162
  */
110
- declaration_by_name = $derived(new Map(this.declarations.map((d) => [d.name, d])));
163
+ get declaration_by_name() {
164
+ return (this.#declaration_by_name ??= new Map(this.declarations.map((d) => [d.name, d])));
165
+ }
111
166
  constructor(library_json, url_prefix = '') {
112
167
  // `repo_url` is exposed non-null and several derived URLs depend on it, so
113
168
  // fail loud here rather than letting a missing/unparseable repository surface
package/dist/logos.js CHANGED
@@ -20,135 +20,135 @@ export const logo_gro = {
20
20
  paths: [
21
21
  {
22
22
  fill: '#6f974c',
23
- d: 'm 24.035592,57.306905 v -14.5 h 16.329497 v 14.25 z',
23
+ d: 'm 24.035592,57.306905 v -14.5 h 16.329497 v 14.25 z'
24
24
  },
25
25
  {
26
26
  fill: '#5e853f',
27
- d: 'M 43.75,93.75 H 37.5 V 87.5 H 31.25 V 81.25 H 25 V 75 H 18.75 V 62.5 H 12.5 V 50 H 6.25 V 43.75 H 4 v -21 L 22.75,16.5 h 40.5 l 0.5,61.5 -5,-0.75 -0.25,16.5 h -2.25 l -4,2.25 -2.24617,4 H 43.75 Z M 37.5,50 H 31.25 V 43.75 H 25 v 12.5 h 12.5 z',
27
+ d: 'M 43.75,93.75 H 37.5 V 87.5 H 31.25 V 81.25 H 25 V 75 H 18.75 V 62.5 H 12.5 V 50 H 6.25 V 43.75 H 4 v -21 L 22.75,16.5 h 40.5 l 0.5,61.5 -5,-0.75 -0.25,16.5 h -2.25 l -4,2.25 -2.24617,4 H 43.75 Z M 37.5,50 H 31.25 V 43.75 H 25 v 12.5 h 12.5 z'
28
28
  },
29
29
  {
30
30
  fill: '#6f492b',
31
- d: 'm 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 v -25 H 6.25 V 12.5 h 12.5 V 6.25 H 37.5 V 0 h 25 v 6.25 h 18.75 v 6.25 h 12.5 v 6.25 H 100 v 25 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z',
31
+ d: 'm 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 v -25 H 6.25 V 12.5 h 12.5 V 6.25 H 37.5 V 0 h 25 v 6.25 h 18.75 v 6.25 h 12.5 v 6.25 H 100 v 25 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z'
32
32
  },
33
33
  {
34
34
  fill: '#3b730f',
35
- d: 'm 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z',
35
+ d: 'm 50,93.75 h 6.25 V 75 H 62.5 V 50 H 56.25 V 37.5 H 50 V 31.25 H 43.75 V 25 H 31.25 V 18.75 H 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 V 62.5 H 81.25 V 75 H 75 v 6.25 H 68.75 V 87.5 H 62.5 v 6.25 H 56.25 V 100 H 50 Z'
36
36
  },
37
37
  {
38
38
  fill: '#473323',
39
- d: 'M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 V 18.75 H 43.75 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 Z',
39
+ d: 'M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 V 18.75 H 43.75 25 V 25 H 12.5 v 6.25 H 6.25 v 12.5 H 0 V 25 H 12.5 V 18.75 H 25 V 12.5 H 43.75 V 6.25 h 12.5 V 12.5 H 75 v 6.25 H 87.5 V 25 H 100 V 43.75 H 93.75 V 50 H 87.5 Z'
40
40
  },
41
41
  {
42
42
  fill: '#2e6006',
43
- d: 'M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 v -6.25 h -25 V 12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 h 12.5 V 25 h 12.5 v 6.25 H 100 v 12.5 H 93.75 V 50 H 87.5 Z',
43
+ d: 'M 87.5,37.5 H 81.25 V 31.25 H 68.75 V 25 H 62.5 v -6.25 h -25 V 12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 h 12.5 V 25 h 12.5 v 6.25 H 100 v 12.5 H 93.75 V 50 H 87.5 Z'
44
44
  },
45
45
  {
46
46
  fill: '#34251a',
47
- d: 'M 93.75,31.25 H 87.5 V 25 h 6.25 v 6.25 H 100 v 12.5 H 93.75 Z M 75,18.75 h 6.25 V 25 H 75 Z M 37.5,12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 H 53.125 37.5 Z',
48
- },
49
- ],
47
+ d: 'M 93.75,31.25 H 87.5 V 25 h 6.25 v 6.25 H 100 v 12.5 H 93.75 Z M 75,18.75 h 6.25 V 25 H 75 Z M 37.5,12.5 H 50 V 6.25 h 6.25 v 6.25 h 12.5 v 6.25 H 53.125 37.5 Z'
48
+ }
49
+ ]
50
50
  };
51
51
  export const logo_fuz = {
52
52
  label: 'a friendly brown spider facing you',
53
53
  fill: '#84522a',
54
54
  paths: [
55
55
  {
56
- d: 'M 26.253917,88.532336 29.904106,71.394855 40.667193,53.342811 40.258534,49.99234 38.417407,49.000991 22.876908,50.369035 9.4865496,53.880193 2.3019024,57.978424 0.42708056,57.27994 7.2642726,51.086985 20.811326,45.373351 37.960128,42.356792 39.354818,40.107008 38.229925,38.149883 26.030989,27.105568 14.46539,21.861786 8.0479986,18.615387 l -0.41428,-1.710463 8.2789464,1.499862 13.012873,5.003724 13.447448,10.696856 1.680801,-0.729547 0.222439,-1.343157 -3.983998,-12.128053 -5.730215,-9.573597 -0.823624,-5.1744052 1.16944,-1.165102 2.604334,6.3355162 6.612025,7.08777 4.874534,11.55989 2.800804,0.515574 4.48815,-1.359246 1.521623,-8.687062 5.685014,-8.620764 2.75965,-6.8316782 1.094578,1.128569 -1.293029,5.4222362 -4.084776,11.06803 -0.484994,8.377408 0.194311,1.192896 1.42954,1.700726 11.563936,-10.644623 9.878262,-8.331535 8.732915,-3.390708 -0.387305,1.402757 -5.294686,3.023816 -10.445054,10.705792 -9.561599,13.627899 -0.438945,1.602755 1.001398,1.666754 17.376932,3.986302 9.537375,6.940531 4.325785,4.636405 0.211208,1.557106 -6.15842,-4.279925 -10.413771,-5.155697 -15.838715,-1.696223 -0.83461,1.144484 0.774499,2.593247 9.737644,16.194355 3.925704,17.214082 0.07146,10.277289 -1.706242,1.13628 -2.009721,-9.21637 -5.894265,-16.88027 -12.292087,-17.295813 -4.177778,-0.585888 -7.294671,2.935716 -11.138052,16.645915 -6.462422,17.752509 -1.634756,7.206641 -2.070766,-1.52923 z',
57
- },
58
- ],
56
+ d: 'M 26.253917,88.532336 29.904106,71.394855 40.667193,53.342811 40.258534,49.99234 38.417407,49.000991 22.876908,50.369035 9.4865496,53.880193 2.3019024,57.978424 0.42708056,57.27994 7.2642726,51.086985 20.811326,45.373351 37.960128,42.356792 39.354818,40.107008 38.229925,38.149883 26.030989,27.105568 14.46539,21.861786 8.0479986,18.615387 l -0.41428,-1.710463 8.2789464,1.499862 13.012873,5.003724 13.447448,10.696856 1.680801,-0.729547 0.222439,-1.343157 -3.983998,-12.128053 -5.730215,-9.573597 -0.823624,-5.1744052 1.16944,-1.165102 2.604334,6.3355162 6.612025,7.08777 4.874534,11.55989 2.800804,0.515574 4.48815,-1.359246 1.521623,-8.687062 5.685014,-8.620764 2.75965,-6.8316782 1.094578,1.128569 -1.293029,5.4222362 -4.084776,11.06803 -0.484994,8.377408 0.194311,1.192896 1.42954,1.700726 11.563936,-10.644623 9.878262,-8.331535 8.732915,-3.390708 -0.387305,1.402757 -5.294686,3.023816 -10.445054,10.705792 -9.561599,13.627899 -0.438945,1.602755 1.001398,1.666754 17.376932,3.986302 9.537375,6.940531 4.325785,4.636405 0.211208,1.557106 -6.15842,-4.279925 -10.413771,-5.155697 -15.838715,-1.696223 -0.83461,1.144484 0.774499,2.593247 9.737644,16.194355 3.925704,17.214082 0.07146,10.277289 -1.706242,1.13628 -2.009721,-9.21637 -5.894265,-16.88027 -12.292087,-17.295813 -4.177778,-0.585888 -7.294671,2.935716 -11.138052,16.645915 -6.462422,17.752509 -1.634756,7.206641 -2.070766,-1.52923 z'
57
+ }
58
+ ]
59
59
  };
60
60
  export const logo_fuz_app = {
61
61
  label: 'a friendly teal spider facing you',
62
62
  fill: '#2e9e6f',
63
- paths: logo_fuz.paths,
63
+ paths: logo_fuz.paths
64
64
  };
65
65
  export const logo_fuz_css = {
66
66
  label: 'a fuzzy tuft of green moss',
67
67
  fill: '#3db33d',
68
68
  paths: logo_fuz.paths,
69
- style: 'transform: scaleX(-1) rotate(180deg)',
69
+ style: 'transform: scaleX(-1) rotate(180deg)'
70
70
  };
71
71
  export const logo_fuz_ui = {
72
72
  label: 'a friendly red spider facing you',
73
73
  fill: '#d93636',
74
- paths: logo_fuz.paths,
74
+ paths: logo_fuz.paths
75
75
  };
76
76
  export const logo_fuz_code = {
77
77
  label: 'a friendly pink spider facing you',
78
78
  fill: '#e55d95',
79
- paths: logo_fuz.paths,
79
+ paths: logo_fuz.paths
80
80
  };
81
81
  export const logo_fuz_blog = {
82
82
  label: 'a friendly yellow spider facing you',
83
83
  fill: '#d8bc31',
84
- paths: logo_fuz.paths,
84
+ paths: logo_fuz.paths
85
85
  };
86
86
  export const logo_fuz_mastodon = {
87
87
  label: 'a friendly purple spider facing you',
88
88
  fill: '#8866cc',
89
- paths: logo_fuz.paths,
89
+ paths: logo_fuz.paths
90
90
  };
91
91
  export const logo_fuz_gitops = {
92
92
  label: 'a friendly blue spider facing you',
93
93
  fill: '#6199d1',
94
- paths: logo_fuz.paths,
94
+ paths: logo_fuz.paths
95
95
  };
96
96
  export const logo_fuz_docs = {
97
97
  label: 'a friendly cyan spider facing you',
98
98
  fill: '#1ec3d2',
99
- paths: logo_fuz.paths,
99
+ paths: logo_fuz.paths
100
100
  };
101
101
  export const logo_svelte_docinfo = {
102
102
  label: 'a cyan scroll with curling ends',
103
103
  fill: '#1ec3d2',
104
104
  paths: [
105
105
  {
106
- d: 'M 83,80.28 c -9.75,-34.41 2.18,-52.33 -3.76,-70 -2.31,-7.66 -48.25,-12 -70.25,-6 -12,6 -10,24 4,24 6,0 5.51,-13.67 6,-18 0,0 -1.43,59.52 5.13,80.21 1.2,3.8 2.91,5.28 4,5.92 3.93,2.31 63.48,3.74 68.01,0.54 1.18,-0.84 3.11,-5.38 2.63,-8.75 -0.42,-2.94 -3.27,-5.78 -5.28,-6.26 -1.74,-0.41 -0.62,-0.79 -5.37,-0.59 C 77.2,81.96 71.49,85.44 47.57,84.25 41.58,84.09 11.04,79.77 64.12,56.73 51.2,46.21 46.99,49.36 37.77,43.13 37.39,42.87 55,45.85 66.37,56.98 -10.84,93.94 82.99,80.29 82.99,80.29 Z',
107
- },
108
- ],
106
+ d: 'M 83,80.28 c -9.75,-34.41 2.18,-52.33 -3.76,-70 -2.31,-7.66 -48.25,-12 -70.25,-6 -12,6 -10,24 4,24 6,0 5.51,-13.67 6,-18 0,0 -1.43,59.52 5.13,80.21 1.2,3.8 2.91,5.28 4,5.92 3.93,2.31 63.48,3.74 68.01,0.54 1.18,-0.84 3.11,-5.38 2.63,-8.75 -0.42,-2.94 -3.27,-5.78 -5.28,-6.26 -1.74,-0.41 -0.62,-0.79 -5.37,-0.59 C 77.2,81.96 71.49,85.44 47.57,84.25 41.58,84.09 11.04,79.77 64.12,56.73 51.2,46.21 46.99,49.36 37.77,43.13 37.39,42.87 55,45.85 66.37,56.98 -10.84,93.94 82.99,80.29 82.99,80.29 Z'
107
+ }
108
+ ]
109
109
  };
110
110
  export const logo_fuz_template = {
111
111
  label: 'a friendly orange pixelated spider facing you',
112
112
  fill: '#f4672f',
113
113
  paths: [
114
114
  {
115
- d: 'm 25,81.200002 h 6.2 v -12.5 h 6.3 v -18.7 h -6.3 v 6.2 H 12.5 v 6.3 H 0 v -6.3 h 6.2 v -6.2 H 25 v -6.3 h 12.5 v -6.2 h -6.3 v -6.3 H 18.7 v -6.2 H 6.2 v -6.3 H 25 v 6.3 h 12.5 v -6.3 H 31.2 V 6.2 h 6.3 v 6.300002 h 6.2 V 31.200001 H 56.2 V 12.500002 h 6.3 V 6.2 h 6.2 v 12.500001 h -6.2 v 18.800001 h 6.2 v -12.5 h 12.5 v -12.5 h 12.5 v 6.2 h -6.2 v 12.5 H 75 v 12.5 h 6.2 v 6.3 h 12.5 v 6.2 h 6.299997 v 6.3 H 87.5 v -6.3 H 75 v -6.2 h -6.3 v 12.5 H 75 v 12.5 h 6.2 V 99.99999 H 75 V 81.200002 h -6.3 v -12.5 h -6.2 v -12.5 H 43.7 v 18.8 h -6.2 v 12.5 H 31.2 V 99.99999 H 25 Z',
116
- },
117
- ],
115
+ d: 'm 25,81.200002 h 6.2 v -12.5 h 6.3 v -18.7 h -6.3 v 6.2 H 12.5 v 6.3 H 0 v -6.3 h 6.2 v -6.2 H 25 v -6.3 h 12.5 v -6.2 h -6.3 v -6.3 H 18.7 v -6.2 H 6.2 v -6.3 H 25 v 6.3 h 12.5 v -6.3 H 31.2 V 6.2 h 6.3 v 6.300002 h 6.2 V 31.200001 H 56.2 V 12.500002 h 6.3 V 6.2 h 6.2 v 12.500001 h -6.2 v 18.800001 h 6.2 v -12.5 h 12.5 v -12.5 h 12.5 v 6.2 h -6.2 v 12.5 H 75 v 12.5 h 6.2 v 6.3 h 12.5 v 6.2 h 6.299997 v 6.3 H 87.5 v -6.3 H 75 v -6.2 h -6.3 v 12.5 H 75 v 12.5 h 6.2 V 99.99999 H 75 V 81.200002 h -6.3 v -12.5 h -6.2 v -12.5 H 43.7 v 18.8 h -6.2 v 12.5 H 31.2 V 99.99999 H 25 Z'
116
+ }
117
+ ]
118
118
  };
119
119
  export const logo_fuz_util = {
120
120
  label: 'a green sauropod wearing a brown belt',
121
121
  paths: [
122
122
  {
123
123
  fill: '#5e853f',
124
- d: 'M 18.067186,15.969407 C 21.788999,13.893836 17.949371,0.38957847 10.927436,0.04361599 4.8719565,-0.25473037 1.7349173,7.4851976 0.94704854,15.249287 c -0.92008807,9.06705 -1.79155525,17.669932 0.59969726,28.291532 2.4805689,12.269719 7.0800447,23.952702 13.1393162,34.8823 6.000724,10.5946 6.775015,20.816886 4.701503,21.478748 -0.03241,0.01035 -0.07998,0.06265 0.04147,0.06596 1.294211,0.03532 10.640814,0.04592 10.677563,-0.05295 0.485896,-1.307172 -3.047914,-6.728008 -1.423246,-8.607633 1.949043,-2.254904 17.430713,0.186565 21.929,0.285178 9.05576,0.198523 17.000796,-1.770745 18.230176,-0.990103 1.997906,1.268647 0.07692,8.622864 -1.734662,9.31776 -0.123669,0.04744 -0.0605,0.05786 8.7e-5,0.05776 1.355848,-0.0022 8.671284,0.02064 9.113066,-0.03424 1.109966,-0.137881 1.121155,-9.535235 1.329075,-10.418319 C 77.607043,89.2834 96.053852,85.109995 99.112049,70.368973 103.63141,48.584901 86.877032,39.05263 85.950278,39.29966 83.317032,40.001563 101.56057,48.396651 91.102193,67.902384 88.018737,73.653284 77.350057,79.523245 75.685258,79.119008 73.64059,78.622534 65.09671,63.091297 52.400901,65.836332 43.234666,67.818217 41.919113,72.011159 30.91062,71.457371 23.396234,71.079356 15.879493,62.020499 10.825044,44.977744 8.7853926,38.10038 7.9304392,31.282385 7.7195376,25.924892 7.3556266,16.68053 7.7329856,12.199716 7.7329856,12.199716 c 0,0 7.0326794,5.610875 10.3342004,3.769691 z',
124
+ d: 'M 18.067186,15.969407 C 21.788999,13.893836 17.949371,0.38957847 10.927436,0.04361599 4.8719565,-0.25473037 1.7349173,7.4851976 0.94704854,15.249287 c -0.92008807,9.06705 -1.79155525,17.669932 0.59969726,28.291532 2.4805689,12.269719 7.0800447,23.952702 13.1393162,34.8823 6.000724,10.5946 6.775015,20.816886 4.701503,21.478748 -0.03241,0.01035 -0.07998,0.06265 0.04147,0.06596 1.294211,0.03532 10.640814,0.04592 10.677563,-0.05295 0.485896,-1.307172 -3.047914,-6.728008 -1.423246,-8.607633 1.949043,-2.254904 17.430713,0.186565 21.929,0.285178 9.05576,0.198523 17.000796,-1.770745 18.230176,-0.990103 1.997906,1.268647 0.07692,8.622864 -1.734662,9.31776 -0.123669,0.04744 -0.0605,0.05786 8.7e-5,0.05776 1.355848,-0.0022 8.671284,0.02064 9.113066,-0.03424 1.109966,-0.137881 1.121155,-9.535235 1.329075,-10.418319 C 77.607043,89.2834 96.053852,85.109995 99.112049,70.368973 103.63141,48.584901 86.877032,39.05263 85.950278,39.29966 83.317032,40.001563 101.56057,48.396651 91.102193,67.902384 88.018737,73.653284 77.350057,79.523245 75.685258,79.119008 73.64059,78.622534 65.09671,63.091297 52.400901,65.836332 43.234666,67.818217 41.919113,72.011159 30.91062,71.457371 23.396234,71.079356 15.879493,62.020499 10.825044,44.977744 8.7853926,38.10038 7.9304392,31.282385 7.7195376,25.924892 7.3556266,16.68053 7.7329856,12.199716 7.7329856,12.199716 c 0,0 7.0326794,5.610875 10.3342004,3.769691 z'
125
125
  },
126
126
  {
127
127
  fill: '#6f492b',
128
- d: 'm 51.811124,91.579144 c -0.338516,0.300927 1.649325,0.223227 1.91566,0.125562 10.084215,-3.697658 13.756737,-6.313605 15.083689,-19.379753 0.213532,-2.102603 -6.814409,-6.279564 -6.854038,-5.131405 -0.399472,11.573929 -1.610604,16.392773 -10.086139,24.32687',
128
+ d: 'm 51.811124,91.579144 c -0.338516,0.300927 1.649325,0.223227 1.91566,0.125562 10.084215,-3.697658 13.756737,-6.313605 15.083689,-19.379753 0.213532,-2.102603 -6.814409,-6.279564 -6.854038,-5.131405 -0.399472,11.573929 -1.610604,16.392773 -10.086139,24.32687'
129
129
  },
130
130
  {
131
131
  fill: '#34251a',
132
- d: 'm 57.712693,87.945562 c 0,0 1.995464,1.865412 2.68268,1.964956 0.765874,0.110938 4.011805,-1.572536 4.056136,-2.519526 0.05138,-1.097583 -3.559853,-3.060285 -3.559853,-3.060285',
132
+ d: 'm 57.712693,87.945562 c 0,0 1.995464,1.865412 2.68268,1.964956 0.765874,0.110938 4.011805,-1.572536 4.056136,-2.519526 0.05138,-1.097583 -3.559853,-3.060285 -3.559853,-3.060285'
133
133
  },
134
134
  {
135
135
  fill: '#34251a',
136
- d: 'm 61.598583,82.940048 c 0,0 3.423751,3.095396 4.286346,2.851789 0.676123,-0.190945 2.567214,-3.369081 2.28239,-4.177499 -0.333199,-0.945723 -5.337842,-1.790867 -5.337842,-1.790867',
136
+ d: 'm 61.598583,82.940048 c 0,0 3.423751,3.095396 4.286346,2.851789 0.676123,-0.190945 2.567214,-3.369081 2.28239,-4.177499 -0.333199,-0.945723 -5.337842,-1.790867 -5.337842,-1.790867'
137
137
  },
138
138
  {
139
139
  fill: '#34251a',
140
- d: 'm 63.187415,78.383306 c 0,0 4.923745,1.759016 5.668289,1.154079 0.551751,-0.448294 1.380932,-3.505132 1.032166,-4.129317 -0.767431,-1.37347 -5.791186,-3.388548 -5.791186,-3.388548',
141
- },
142
- ],
140
+ d: 'm 63.187415,78.383306 c 0,0 4.923745,1.759016 5.668289,1.154079 0.551751,-0.448294 1.380932,-3.505132 1.032166,-4.129317 -0.767431,-1.37347 -5.791186,-3.388548 -5.791186,-3.388548'
141
+ }
142
+ ]
143
143
  };
144
144
  export const logo_tsv = {
145
145
  label: 'a pixelated orange quill drawing a straight line',
146
146
  fill: '#f4672f',
147
147
  paths: [
148
148
  {
149
- d: 'M68.75 0h12.5v31.25h-12.5ZM62.5 6.25h6.25v37.5h-6.25ZM81.25 6.25h6.25v18.75h-6.25ZM56.25 12.5h6.25v18.75h-6.25ZM50 18.75h6.25v37.5h-6.25ZM43.75 25h6.25v37.5h-6.25ZM68.75 31.25h6.25v6.25h-6.25ZM37.5 37.5h6.25v12.5h-6.25ZM56.25 37.5h6.25v12.5h-6.25ZM31.25 43.75h6.25v25h-6.25ZM25 50h6.25v25h-6.25ZM37.5 56.25h6.25v6.25h-6.25ZM18.75 62.5h6.25v18.75h-6.25ZM12.5 68.75h6.25v25h-6.25ZM6.25 81.25h6.25v12.5h-6.25ZM18.75 87.5l81.25 12.5l-81.25-6.25Z',
150
- },
151
- ],
149
+ d: 'M68.75 0h12.5v31.25h-12.5ZM62.5 6.25h6.25v37.5h-6.25ZM81.25 6.25h6.25v18.75h-6.25ZM56.25 12.5h6.25v18.75h-6.25ZM50 18.75h6.25v37.5h-6.25ZM43.75 25h6.25v37.5h-6.25ZM68.75 31.25h6.25v6.25h-6.25ZM37.5 37.5h6.25v12.5h-6.25ZM56.25 37.5h6.25v12.5h-6.25ZM31.25 43.75h6.25v25h-6.25ZM25 50h6.25v25h-6.25ZM37.5 56.25h6.25v6.25h-6.25ZM18.75 62.5h6.25v18.75h-6.25ZM12.5 68.75h6.25v25h-6.25ZM6.25 81.25h6.25v12.5h-6.25ZM18.75 87.5l81.25 12.5l-81.25-6.25Z'
150
+ }
151
+ ]
152
152
  };
153
153
  export const logo_github = {
154
154
  label: 'the GitHub logo, an octocat silhouette',
@@ -157,17 +157,17 @@ export const logo_github = {
157
157
  d: 'M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z',
158
158
  'fill-rule': 'evenodd',
159
159
  'clip-rule': 'evenodd',
160
- transform: 'scale(64)',
161
- },
160
+ transform: 'scale(64)'
161
+ }
162
162
  ],
163
- viewBox: '0 0 1024 1024',
163
+ viewBox: '0 0 1024 1024'
164
164
  };
165
165
  export const logo_mdn = {
166
166
  label: 'the MDN logo, an M formed from forward slashes and vertical bars',
167
167
  fill: '#8cb4ff',
168
168
  paths: [
169
169
  {
170
- d: 'M42 .2 13.4 92.3H1.7L30.2.2Zm10.4 0v92.1H42V.2Zm40.3 0L64.2 92.3H52.5L81 .2Zm10.4 0v92.1H92.7V.2Z',
171
- },
172
- ],
170
+ d: 'M42 .2 13.4 92.3H1.7L30.2.2Zm10.4 0v92.1H42V.2Zm40.3 0L64.2 92.3H52.5L81 .2Zm10.4 0v92.1H92.7V.2Z'
171
+ }
172
+ ]
173
173
  };
@@ -4,13 +4,17 @@ import type { Library } from './library.svelte.js';
4
4
  /**
5
5
  * Rich runtime representation of a module with computed properties.
6
6
  *
7
- * Wraps svelte-docinfo's `ModuleJson` with reactive derivations,
8
- * URL generation, and `Declaration` instances.
7
+ * Wraps svelte-docinfo's `ModuleJson` with computed properties, URL
8
+ * generation, and `Declaration` instances.
9
+ *
10
+ * Computed properties are plain getters rather than `$derived` — see
11
+ * `Library` for why.
9
12
  *
10
13
  * @see {@link https://github.com/ryanatkn/svelte-docinfo svelte-docinfo} for the analysis library
11
14
  * @see `declaration.svelte.ts` for the `Declaration` wrapper class
12
15
  */
13
16
  export declare class Module {
17
+ #private;
14
18
  readonly library: Library;
15
19
  readonly module_json: ModuleJsonInput;
16
20
  /**
@@ -24,104 +28,93 @@ export declare class Module {
24
28
  * A leading `./` or a `.js` runtime extension will not match. Top-level
25
29
  * files match by bare filename; nested files require the full sub-path.
26
30
  */
27
- path: string;
31
+ get path(): string;
28
32
  /**
29
33
  * Import-style path with ./ prefix.
30
34
  */
31
- path_import: string;
32
- module_comment: string | undefined;
35
+ get path_import(): string;
36
+ get module_comment(): string | undefined;
33
37
  /**
34
38
  * Array of `Declaration` instances. Filters out default exports.
35
39
  */
36
- declarations: Declaration[];
40
+ get declarations(): Array<Declaration>;
37
41
  /**
38
42
  * API documentation URL for this module.
39
43
  */
40
- url_api: string;
44
+ get url_api(): string;
41
45
  /**
42
46
  * Public documentation link (if `homepage_url` is available).
43
47
  *
44
48
  * Absolute URL into the library's own deployed docs, for rendering a
45
49
  * foreign library's modules on a different site (e.g. an aggregator).
46
50
  */
47
- url_api_full: string | undefined;
51
+ get url_api_full(): string | undefined;
48
52
  /**
49
53
  * GitHub source URL.
50
54
  */
51
- url_github: string | undefined;
55
+ get url_github(): string | undefined;
52
56
  /**
53
57
  * Whether the module has renderable declarations (after the default-export
54
58
  * filter in `declarations`).
55
59
  */
56
- has_declarations: boolean;
57
- has_module_comment: boolean;
60
+ get has_declarations(): boolean;
61
+ get has_module_comment(): boolean;
58
62
  /**
59
63
  * Modules this imports (paths relative to src/lib).
60
64
  */
61
- dependencies: string[];
65
+ get dependencies(): NonNullable<ModuleJsonInput['dependencies']>;
62
66
  /**
63
67
  * Modules that import this (paths relative to src/lib).
64
68
  */
65
- dependents: string[];
66
- has_dependencies: boolean;
67
- has_dependents: boolean;
69
+ get dependents(): NonNullable<ModuleJsonInput['dependents']>;
70
+ get has_dependencies(): boolean;
71
+ get has_dependents(): boolean;
68
72
  /**
69
73
  * Same-name re-export edges in this module's source (`ModuleJson.reExports`)
70
74
  * — the forward view of declarations' `alsoExportedFrom`, sorted by name
71
75
  * then module. Renamed re-exports appear as declarations with `aliasOf`
72
76
  * instead, and star exports in `star_exports`.
73
77
  */
74
- re_exports: {
75
- name: string;
76
- module: string;
77
- typeOnly?: boolean | undefined;
78
- sourceLine?: number | undefined;
79
- }[];
80
- has_re_exports: boolean;
78
+ get re_exports(): NonNullable<ModuleJsonInput['reExports']>;
79
+ get has_re_exports(): boolean;
81
80
  /**
82
81
  * Modules fully re-exported via `export * from './module'`
83
82
  * (`ModuleJson.starExports`), in source order. Star-projected symbols are
84
83
  * not materialized as declarations or `re_exports` edges — this is their
85
84
  * sole encoding.
86
85
  */
87
- star_exports: string[];
88
- has_star_exports: boolean;
86
+ get star_exports(): NonNullable<ModuleJsonInput['starExports']>;
87
+ get has_star_exports(): boolean;
89
88
  /**
90
89
  * Re-export edges grouped by canonical module path, groups sorted by path.
91
90
  * Entries within each group keep their name-sorted serialized order.
92
91
  */
93
- re_exports_by_module: Map<string, Array<ReExportJsonInput>>;
92
+ get re_exports_by_module(): Map<string, Array<ReExportJsonInput>>;
94
93
  /**
95
94
  * Re-exports whose immediate target is an external package
96
95
  * (`ModuleJson.externalReExports`) — `export {x} from 'pkg'` and
97
96
  * `export * as ns from 'pkg'` forms, sorted by name then specifier.
98
97
  */
99
- external_re_exports: {
100
- name: string;
101
- specifier: string;
102
- originalName?: string | undefined;
103
- typeOnly?: boolean | undefined;
104
- sourceLine?: number | undefined;
105
- }[];
106
- has_external_re_exports: boolean;
98
+ get external_re_exports(): NonNullable<ModuleJsonInput['externalReExports']>;
99
+ get has_external_re_exports(): boolean;
107
100
  /**
108
101
  * External re-exports grouped by package specifier, groups sorted by
109
102
  * specifier. Entries within each group keep their name-sorted serialized
110
103
  * order.
111
104
  */
112
- external_re_exports_by_specifier: Map<string, Array<ExternalReExportJsonInput>>;
105
+ get external_re_exports_by_specifier(): Map<string, Array<ExternalReExportJsonInput>>;
113
106
  /**
114
107
  * External packages fully re-exported via `export * from 'pkg'`
115
108
  * (`ModuleJson.externalStarExports`), in source order. The projected
116
109
  * names are unknown — the package isn't analyzed.
117
110
  */
118
- external_star_exports: string[];
119
- has_external_star_exports: boolean;
111
+ get external_star_exports(): NonNullable<ModuleJsonInput['externalStarExports']>;
112
+ get has_external_star_exports(): boolean;
120
113
  /**
121
114
  * Whether the module re-exports anything in any form — same-name edges,
122
115
  * star exports, or the external variants of both.
123
116
  */
124
- has_any_re_exports: boolean;
117
+ get has_any_re_exports(): boolean;
125
118
  constructor(library: Library, module_json: ModuleJsonInput);
126
119
  /**
127
120
  * Look up a declaration by name within this module.
@@ -1 +1 @@
1
- {"version":3,"file":"module.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/module.svelte.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACX,eAAe,EACf,i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