@fuzdev/fuz_ui 0.205.1 → 0.205.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.
Files changed (137) hide show
  1. package/README.md +1 -1
  2. package/dist/Alert.svelte +1 -1
  3. package/dist/Alert.svelte.d.ts +1 -1
  4. package/dist/ApiDeclarationList.svelte +1 -1
  5. package/dist/ApiDeclarationList.svelte.d.ts +1 -1
  6. package/dist/ApiIndex.svelte +3 -3
  7. package/dist/ApiIndex.svelte.d.ts +2 -2
  8. package/dist/ApiModule.svelte +4 -4
  9. package/dist/ApiModule.svelte.d.ts +2 -2
  10. package/dist/ApiModulesList.svelte +1 -1
  11. package/dist/ApiModulesList.svelte.d.ts +1 -1
  12. package/dist/Breadcrumb.svelte +3 -3
  13. package/dist/ColorSchemeInput.svelte +3 -3
  14. package/dist/ColorSchemeInput.svelte.d.ts +1 -1
  15. package/dist/Contextmenu.svelte +1 -1
  16. package/dist/ContextmenuEntry.svelte +3 -3
  17. package/dist/ContextmenuEntry.svelte.d.ts +2 -2
  18. package/dist/ContextmenuIcon.svelte +1 -1
  19. package/dist/ContextmenuIcon.svelte.d.ts +1 -1
  20. package/dist/ContextmenuLinkEntry.svelte +5 -5
  21. package/dist/ContextmenuLinkEntry.svelte.d.ts +1 -1
  22. package/dist/ContextmenuMenu.svelte +3 -3
  23. package/dist/ContextmenuMenu.svelte.d.ts +2 -2
  24. package/dist/ContextmenuRoot.svelte +2 -2
  25. package/dist/ContextmenuRoot.svelte.d.ts +1 -1
  26. package/dist/ContextmenuRootForSafariCompatibility.svelte +3 -3
  27. package/dist/ContextmenuRootForSafariCompatibility.svelte.d.ts +1 -1
  28. package/dist/ContextmenuSubmenu.svelte +5 -5
  29. package/dist/ContextmenuSubmenu.svelte.d.ts +1 -1
  30. package/dist/ContextmenuTextEntry.svelte +2 -2
  31. package/dist/ContextmenuTextEntry.svelte.d.ts +2 -2
  32. package/dist/CopyToClipboard.svelte +2 -2
  33. package/dist/CopyToClipboard.svelte.d.ts +1 -1
  34. package/dist/DeclarationDetail.svelte +3 -3
  35. package/dist/DeclarationDetail.svelte.d.ts +1 -1
  36. package/dist/DeclarationLink.svelte +4 -4
  37. package/dist/Dialog.svelte +2 -2
  38. package/dist/Dialog.svelte.d.ts +1 -1
  39. package/dist/DialogContent.svelte +2 -2
  40. package/dist/DialogContent.svelte.d.ts +1 -1
  41. package/dist/Docs.svelte +4 -4
  42. package/dist/Docs.svelte.d.ts +1 -1
  43. package/dist/DocsContent.svelte +2 -2
  44. package/dist/DocsContent.svelte.d.ts +2 -2
  45. package/dist/DocsFooter.svelte +2 -2
  46. package/dist/DocsFooter.svelte.d.ts +1 -1
  47. package/dist/DocsLink.svelte +4 -4
  48. package/dist/DocsLink.svelte.d.ts +3 -3
  49. package/dist/DocsMenu.svelte +1 -1
  50. package/dist/DocsMenu.svelte.d.ts +1 -1
  51. package/dist/DocsPageLinks.svelte +1 -1
  52. package/dist/DocsPrimaryNav.svelte +1 -1
  53. package/dist/DocsSearch.svelte +1 -1
  54. package/dist/DocsSecondaryNav.svelte +1 -1
  55. package/dist/DocsSecondaryNav.svelte.d.ts +1 -1
  56. package/dist/DocsTertiaryNav.svelte +3 -3
  57. package/dist/DocsTertiaryNav.svelte.d.ts +1 -1
  58. package/dist/EcosystemLinks.svelte +1 -1
  59. package/dist/GithubLink.svelte +2 -2
  60. package/dist/HueInput.svelte +1 -1
  61. package/dist/HueInput.svelte.d.ts +1 -1
  62. package/dist/LibraryDetail.svelte +4 -4
  63. package/dist/LibraryDetail.svelte.d.ts +2 -2
  64. package/dist/LibrarySummary.svelte +2 -2
  65. package/dist/LibrarySummary.svelte.d.ts +1 -1
  66. package/dist/MdnLink.svelte +2 -2
  67. package/dist/ModuleLink.svelte +4 -4
  68. package/dist/PendingAnimation.svelte +1 -1
  69. package/dist/PendingAnimation.svelte.d.ts +1 -1
  70. package/dist/ProjectLinks.svelte +2 -2
  71. package/dist/Redirect.svelte +1 -1
  72. package/dist/Spiders.svelte +3 -3
  73. package/dist/StyleVariableButton.svelte +2 -2
  74. package/dist/Svg.svelte +3 -3
  75. package/dist/Svg.svelte.d.ts +1 -1
  76. package/dist/ThemeInput.svelte +4 -4
  77. package/dist/ThemeInput.svelte.d.ts +1 -1
  78. package/dist/ThemeRoot.svelte +4 -4
  79. package/dist/ThemeRoot.svelte.d.ts +2 -2
  80. package/dist/TomeContent.svelte +3 -3
  81. package/dist/TomeContent.svelte.d.ts +1 -1
  82. package/dist/TomeHeader.svelte +2 -2
  83. package/dist/TomeLink.svelte +2 -2
  84. package/dist/TomeSection.svelte +3 -3
  85. package/dist/TomeSectionHeader.svelte +1 -1
  86. package/dist/TomeSectionHeader.svelte.d.ts +1 -1
  87. package/dist/TypeLink.svelte +1 -1
  88. package/dist/api_search.svelte.d.ts +3 -3
  89. package/dist/contextmenu_helpers.d.ts +1 -1
  90. package/dist/contextmenu_helpers.js +3 -3
  91. package/dist/contextmenu_state.svelte.d.ts +3 -3
  92. package/dist/contextmenu_state.svelte.js +6 -6
  93. package/dist/csp.d.ts +1 -1
  94. package/dist/declaration.svelte.d.ts +1 -1
  95. package/dist/declaration.svelte.js +1 -1
  96. package/dist/declaration_contextmenu.d.ts +2 -2
  97. package/dist/dialog.js +1 -1
  98. package/dist/docs_helpers.svelte.d.ts +1 -1
  99. package/dist/docs_helpers.svelte.js +3 -3
  100. package/dist/intersect.svelte.js +1 -1
  101. package/dist/library.svelte.d.ts +5 -5
  102. package/dist/library.svelte.js +5 -5
  103. package/dist/library_helpers.d.ts +1 -1
  104. package/dist/library_helpers.js +2 -2
  105. package/dist/module.svelte.d.ts +2 -2
  106. package/dist/module.svelte.js +2 -2
  107. package/dist/module_contextmenu.d.ts +2 -2
  108. package/dist/site.svelte.d.ts +3 -3
  109. package/dist/site.svelte.js +2 -2
  110. package/dist/style_variable_helpers.svelte.d.ts +1 -1
  111. package/dist/style_variable_helpers.svelte.js +1 -1
  112. package/dist/theme_state.svelte.d.ts +1 -1
  113. package/dist/theme_state.svelte.js +4 -4
  114. package/dist/tome.js +3 -3
  115. package/dist/vite_plugin_pkg_json.d.ts +3 -3
  116. package/dist/vite_plugin_pkg_json.js +3 -3
  117. package/package.json +3 -3
  118. package/src/lib/api_search.svelte.ts +3 -3
  119. package/src/lib/contextmenu_helpers.ts +3 -3
  120. package/src/lib/contextmenu_state.svelte.ts +8 -8
  121. package/src/lib/csp.ts +1 -1
  122. package/src/lib/declaration.svelte.ts +2 -2
  123. package/src/lib/declaration_contextmenu.ts +2 -2
  124. package/src/lib/dialog.ts +1 -1
  125. package/src/lib/docs_helpers.svelte.ts +3 -3
  126. package/src/lib/icons.ts +1 -1
  127. package/src/lib/intersect.svelte.ts +1 -1
  128. package/src/lib/library.svelte.ts +7 -7
  129. package/src/lib/library_helpers.ts +2 -2
  130. package/src/lib/logos.ts +1 -1
  131. package/src/lib/module.svelte.ts +3 -3
  132. package/src/lib/module_contextmenu.ts +2 -2
  133. package/src/lib/site.svelte.ts +5 -5
  134. package/src/lib/style_variable_helpers.svelte.ts +2 -2
  135. package/src/lib/theme_state.svelte.ts +4 -4
  136. package/src/lib/tome.ts +3 -3
  137. package/src/lib/vite_plugin_pkg_json.ts +4 -4
package/README.md CHANGED
@@ -64,7 +64,7 @@ import 'virtual:fuz.css';
64
64
  import ThemeRoot from '@fuzdev/fuz_ui/ThemeRoot.svelte';
65
65
 
66
66
  // and Fuz TypeScript modules:
67
- import {type Theme, theme_state_context} from '@fuzdev/fuz_ui/theme_state.svelte.js';
67
+ import {type Theme, theme_state_context} from '@fuzdev/fuz_ui/theme_state.svelte.ts';
68
68
  ```
69
69
 
70
70
  See [the library](https://ui.fuz.dev/docs) for more.
package/dist/Alert.svelte CHANGED
@@ -2,7 +2,7 @@
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {HTMLAttributes, SvelteHTMLElements} from 'svelte/elements';
4
4
 
5
- import {alert_status_options, type AlertStatus} from './alert.js';
5
+ import {alert_status_options, type AlertStatus} from './alert.ts';
6
6
 
7
7
  /**
8
8
  * @see {@link https://www.w3.org/WAI/ARIA/apg/patterns/alert/}
@@ -1,6 +1,6 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { HTMLAttributes, SvelteHTMLElements } from 'svelte/elements';
3
- import { type AlertStatus } from './alert.js';
3
+ import { type AlertStatus } from './alert.ts';
4
4
  type $$ComponentProps = // generic element attrs, the common denominator of the rendered roots -
5
5
  HTMLAttributes<HTMLElement> & {
6
6
  status?: AlertStatus;
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import type {Declaration} from './declaration.svelte.js';
2
+ import type {Declaration} from './declaration.svelte.ts';
3
3
  import DeclarationDetail from './DeclarationDetail.svelte';
4
4
  import TomeSection from './TomeSection.svelte';
5
5
  import TomeSectionHeader from './TomeSectionHeader.svelte';
@@ -1,4 +1,4 @@
1
- import type { Declaration } from './declaration.svelte.js';
1
+ import type { Declaration } from './declaration.svelte.ts';
2
2
  type $$ComponentProps = {
3
3
  declarations: Array<Declaration>;
4
4
  search_query?: string;
@@ -1,12 +1,12 @@
1
1
  <script lang="ts">
2
- import {set_library_context_with_fallback, type Library} from './library.svelte.js';
3
- import {tome_get_by_slug, type Tome} from './tome.js';
2
+ import {set_library_context_with_fallback, type Library} from './library.svelte.ts';
3
+ import {tome_get_by_slug, type Tome} from './tome.ts';
4
4
  import TomeContent from './TomeContent.svelte';
5
5
  import TomeLink from './TomeLink.svelte';
6
6
  import DocsSearch from './DocsSearch.svelte';
7
7
  import ApiModulesList from './ApiModulesList.svelte';
8
8
  import ApiDeclarationList from './ApiDeclarationList.svelte';
9
- import {create_api_search} from './api_search.svelte.js';
9
+ import {create_api_search} from './api_search.svelte.ts';
10
10
 
11
11
  const {
12
12
  library: library_prop,
@@ -1,5 +1,5 @@
1
- import { type Library } from './library.svelte.js';
2
- import { type Tome } from './tome.js';
1
+ import { type Library } from './library.svelte.ts';
2
+ import { type Tome } from './tome.ts';
3
3
  type $$ComponentProps = {
4
4
  /**
5
5
  * The library instance to render API docs for.
@@ -5,10 +5,10 @@
5
5
  mdz_code_context,
6
6
  mdz_codeblock_context,
7
7
  mdz_set_context_with_fallback,
8
- } from '@fuzdev/mdz/mdz_contexts.js';
8
+ } from '@fuzdev/mdz/mdz_contexts.ts';
9
9
 
10
- import {set_library_context_with_fallback, type Library} from './library.svelte.js';
11
- import {tome_get_by_slug, type Tome} from './tome.js';
10
+ import {set_library_context_with_fallback, type Library} from './library.svelte.ts';
11
+ import {tome_get_by_slug, type Tome} from './tome.ts';
12
12
  import TomeContent from './TomeContent.svelte';
13
13
  import TomeSection from './TomeSection.svelte';
14
14
  import TomeSectionHeader from './TomeSectionHeader.svelte';
@@ -17,7 +17,7 @@
17
17
  import DocsLink from './DocsLink.svelte';
18
18
  import DeclarationLink from './DeclarationLink.svelte';
19
19
  import ApiDeclarationList from './ApiDeclarationList.svelte';
20
- import {create_module_declaration_search} from './api_search.svelte.js';
20
+ import {create_module_declaration_search} from './api_search.svelte.ts';
21
21
 
22
22
  const {
23
23
  module_path: module_path_param,
@@ -1,5 +1,5 @@
1
- import { type Library } from './library.svelte.js';
2
- import { type Tome } from './tome.js';
1
+ import { type Library } from './library.svelte.ts';
2
+ import { type Tome } from './tome.ts';
3
3
  type $$ComponentProps = {
4
4
  /**
5
5
  * The module path parameter from the route (e.g., "lib/Button.svelte").
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import type {Module} from './module.svelte.js';
2
+ import type {Module} from './module.svelte.ts';
3
3
  import ModuleLink from './ModuleLink.svelte';
4
4
  import TomeSection from './TomeSection.svelte';
5
5
  import TomeSectionHeader from './TomeSectionHeader.svelte';
@@ -1,4 +1,4 @@
1
- import type { Module } from './module.svelte.js';
1
+ import type { Module } from './module.svelte.ts';
2
2
  type $$ComponentProps = {
3
3
  /**
4
4
  * The modules to display.
@@ -1,13 +1,13 @@
1
1
  <script lang="ts">
2
- import {parse_path_pieces} from '@fuzdev/fuz_util/path.js';
2
+ import {parse_path_pieces} from '@fuzdev/fuz_util/path.ts';
3
3
  import {resolve} from '$app/paths';
4
4
  import {page} from '$app/state';
5
5
  import type {Snippet} from 'svelte';
6
- import {strip_start, ensure_end} from '@fuzdev/fuz_util/string.js';
6
+ import {strip_start, ensure_end} from '@fuzdev/fuz_util/string.ts';
7
7
  import type {SvelteHTMLElements} from 'svelte/elements';
8
8
 
9
9
  import Svg from './Svg.svelte';
10
- import {site_context} from './site.svelte.js';
10
+ import {site_context} from './site.svelte.ts';
11
11
 
12
12
  const {
13
13
  path,
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
- import {swallow} from '@fuzdev/fuz_util/dom.js';
3
- import {color_schemes, type ColorScheme} from '@fuzdev/fuz_css/theme.js';
2
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
3
+ import {color_schemes, type ColorScheme} from '@fuzdev/fuz_css/theme.ts';
4
4
  import type {SvelteHTMLElements} from 'svelte/elements';
5
5
 
6
- import {theme_state_context} from './theme_state.svelte.js';
6
+ import {theme_state_context} from './theme_state.svelte.ts';
7
7
 
8
8
  const get_theme_state = theme_state_context.get();
9
9
 
@@ -1,4 +1,4 @@
1
- import { type ColorScheme } from '@fuzdev/fuz_css/theme.js';
1
+ import { type ColorScheme } from '@fuzdev/fuz_css/theme.ts';
2
2
  import type { SvelteHTMLElements } from 'svelte/elements';
3
3
  type $$ComponentProps = SvelteHTMLElements['menu'] & {
4
4
  value?: {
@@ -2,7 +2,7 @@
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {SvelteHTMLElements} from 'svelte/elements';
4
4
 
5
- import {contextmenu_attachment} from './contextmenu_state.svelte.js';
5
+ import {contextmenu_attachment} from './contextmenu_state.svelte.ts';
6
6
 
7
7
  /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
8
8
 
@@ -1,10 +1,10 @@
1
1
  <script lang="ts">
2
2
  import {onDestroy, type Snippet} from 'svelte';
3
- import {swallow} from '@fuzdev/fuz_util/dom.js';
3
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
4
4
 
5
5
  import PendingAnimation from './PendingAnimation.svelte';
6
- import {contextmenu_context, type ContextmenuRun} from './contextmenu_state.svelte.js';
7
- import type {SvgData} from './svg.js';
6
+ import {contextmenu_context, type ContextmenuRun} from './contextmenu_state.svelte.ts';
7
+ import type {SvgData} from './svg.ts';
8
8
  import ContextmenuIcon from './ContextmenuIcon.svelte';
9
9
 
10
10
  const {
@@ -1,6 +1,6 @@
1
1
  import { type Snippet } from 'svelte';
2
- import { type ContextmenuRun } from './contextmenu_state.svelte.js';
3
- import type { SvgData } from './svg.js';
2
+ import { type ContextmenuRun } from './contextmenu_state.svelte.ts';
3
+ import type { SvgData } from './svg.ts';
4
4
  type $$ComponentProps = {
5
5
  run: ContextmenuRun;
6
6
  icon?: SvgData | string | Snippet;
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import type {Snippet} from 'svelte';
3
3
 
4
- import type {SvgData} from './svg.js';
4
+ import type {SvgData} from './svg.ts';
5
5
  import Svg from './Svg.svelte';
6
6
 
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import type { Snippet } from 'svelte';
2
- import type { SvgData } from './svg.js';
2
+ import type { SvgData } from './svg.ts';
3
3
  type $$ComponentProps = {
4
4
  icon?: SvgData | string | Snippet;
5
5
  };
@@ -1,12 +1,12 @@
1
1
  <script lang="ts">
2
- import {strip_start} from '@fuzdev/fuz_util/string.js';
3
- import {swallow} from '@fuzdev/fuz_util/dom.js';
2
+ import {strip_start} from '@fuzdev/fuz_util/string.ts';
3
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
4
4
  import type {Snippet} from 'svelte';
5
5
  import {page} from '$app/state';
6
6
 
7
- import {contextmenu_context} from './contextmenu_state.svelte.js';
8
- import {icon_external_link, icon_link} from './icons.js';
9
- import type {SvgData} from './svg.js';
7
+ import {contextmenu_context} from './contextmenu_state.svelte.ts';
8
+ import {icon_external_link, icon_link} from './icons.ts';
9
+ import type {SvgData} from './svg.ts';
10
10
  import Svg from './Svg.svelte';
11
11
  import ContextmenuIcon from './ContextmenuIcon.svelte';
12
12
 
@@ -1,5 +1,5 @@
1
1
  import type { Snippet } from 'svelte';
2
- import type { SvgData } from './svg.js';
2
+ import type { SvgData } from './svg.ts';
3
3
  type $$ComponentProps = {
4
4
  href: string;
5
5
  icon?: SvgData | string | Snippet;
@@ -13,13 +13,13 @@
13
13
  * the roots own gesture detection, i.e. how the menu opens. Holds no gesture
14
14
  * state of its own; the `open_guard` it consults is owned and armed by the root.
15
15
  */
16
- import {swallow} from '@fuzdev/fuz_util/dom.js';
16
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
17
17
  import type {ComponentProps, Snippet} from 'svelte';
18
18
 
19
19
  import {
20
20
  contextmenu_dimensions_context,
21
21
  type ContextmenuState,
22
- } from './contextmenu_state.svelte.js';
22
+ } from './contextmenu_state.svelte.ts';
23
23
  import ContextmenuLinkEntry from './ContextmenuLinkEntry.svelte';
24
24
  import ContextmenuTextEntry from './ContextmenuTextEntry.svelte';
25
25
  import ContextmenuSeparator from './ContextmenuSeparator.svelte';
@@ -31,7 +31,7 @@
31
31
  contextmenu_calculate_constrained_y,
32
32
  contextmenu_popover_attachment,
33
33
  type ContextmenuOpenGuard,
34
- } from './contextmenu_helpers.js';
34
+ } from './contextmenu_helpers.ts';
35
35
 
36
36
  let {
37
37
  contextmenu,
@@ -1,10 +1,10 @@
1
1
  export { link_entry_default, text_entry_default, separator_entry_default };
2
2
  import type { ComponentProps, Snippet } from 'svelte';
3
- import { type ContextmenuState } from './contextmenu_state.svelte.js';
3
+ import { type ContextmenuState } from './contextmenu_state.svelte.ts';
4
4
  import ContextmenuLinkEntry from './ContextmenuLinkEntry.svelte';
5
5
  import ContextmenuTextEntry from './ContextmenuTextEntry.svelte';
6
6
  import ContextmenuSeparator from './ContextmenuSeparator.svelte';
7
- import { type ContextmenuOpenGuard } from './contextmenu_helpers.js';
7
+ import { type ContextmenuOpenGuard } from './contextmenu_helpers.ts';
8
8
  type $$ComponentProps = {
9
9
  /**
10
10
  * The contextmenu state owned by the root.
@@ -20,7 +20,7 @@
20
20
  contextmenu_context,
21
21
  ContextmenuState,
22
22
  contextmenu_check_global_root,
23
- } from './contextmenu_state.svelte.js';
23
+ } from './contextmenu_state.svelte.ts';
24
24
  import ContextmenuMenu, {
25
25
  link_entry_default,
26
26
  text_entry_default,
@@ -36,7 +36,7 @@
36
36
  ContextmenuBypassTracker,
37
37
  ContextmenuOpenGuard,
38
38
  type ContextmenuRootBaseProps,
39
- } from './contextmenu_helpers.js';
39
+ } from './contextmenu_helpers.ts';
40
40
 
41
41
  const {
42
42
  contextmenu = new ContextmenuState(),
@@ -1,4 +1,4 @@
1
- import { type ContextmenuRootBaseProps } from './contextmenu_helpers.js';
1
+ import { type ContextmenuRootBaseProps } from './contextmenu_helpers.ts';
2
2
  declare const ContextmenuRoot: import("svelte").Component<ContextmenuRootBaseProps, {}, "">;
3
3
  type ContextmenuRoot = ReturnType<typeof ContextmenuRoot>;
4
4
  export default ContextmenuRoot;
@@ -17,7 +17,7 @@
17
17
  * Otherwise, use the default `ContextmenuRoot.svelte` which is much simpler
18
18
  * and relies on the standard `contextmenu` event.
19
19
  */
20
- import {swallow} from '@fuzdev/fuz_util/dom.js';
20
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
21
21
  import {on} from 'svelte/events';
22
22
 
23
23
  import {
@@ -25,7 +25,7 @@
25
25
  ContextmenuState,
26
26
  contextmenu_open,
27
27
  contextmenu_check_global_root,
28
- } from './contextmenu_state.svelte.js';
28
+ } from './contextmenu_state.svelte.ts';
29
29
  import ContextmenuMenu, {
30
30
  link_entry_default,
31
31
  text_entry_default,
@@ -43,7 +43,7 @@
43
43
  ContextmenuBypassTracker,
44
44
  ContextmenuOpenGuard,
45
45
  type ContextmenuRootBaseProps,
46
- } from './contextmenu_helpers.js';
46
+ } from './contextmenu_helpers.ts';
47
47
 
48
48
  const {
49
49
  contextmenu = new ContextmenuState(),
@@ -1,4 +1,4 @@
1
- import { type ContextmenuRootBaseProps } from './contextmenu_helpers.js';
1
+ import { type ContextmenuRootBaseProps } from './contextmenu_helpers.ts';
2
2
  type $$ComponentProps = ContextmenuRootBaseProps & {
3
3
  /**
4
4
  * The number of pixels the pointer can be moved without canceling `longpress`.
@@ -1,11 +1,11 @@
1
1
  <script lang="ts">
2
2
  import {onDestroy, type Snippet} from 'svelte';
3
- import {swallow} from '@fuzdev/fuz_util/dom.js';
3
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
4
4
 
5
- import {contextmenu_context, contextmenu_dimensions_context} from './contextmenu_state.svelte.js';
6
- import {contextmenu_calculate_submenu_translate} from './contextmenu_helpers.js';
7
- import type {Dimensions} from './dimensions.svelte.js';
8
- import type {SvgData} from './svg.js';
5
+ import {contextmenu_context, contextmenu_dimensions_context} from './contextmenu_state.svelte.ts';
6
+ import {contextmenu_calculate_submenu_translate} from './contextmenu_helpers.ts';
7
+ import type {Dimensions} from './dimensions.svelte.ts';
8
+ import type {SvgData} from './svg.ts';
9
9
  import ContextmenuIcon from './ContextmenuIcon.svelte';
10
10
 
11
11
  const {
@@ -1,5 +1,5 @@
1
1
  import { type Snippet } from 'svelte';
2
- import type { SvgData } from './svg.js';
2
+ import type { SvgData } from './svg.ts';
3
3
  type $$ComponentProps = {
4
4
  icon?: SvgData | string | Snippet;
5
5
  menu: Snippet;
@@ -1,9 +1,9 @@
1
1
  <script lang="ts">
2
2
  import type {Snippet} from 'svelte';
3
3
 
4
- import type {SvgData} from './svg.js';
4
+ import type {SvgData} from './svg.ts';
5
5
  import ContextmenuEntry from './ContextmenuEntry.svelte';
6
- import type {ContextmenuRun} from './contextmenu_state.svelte.js';
6
+ import type {ContextmenuRun} from './contextmenu_state.svelte.ts';
7
7
 
8
8
  const {
9
9
  run,
@@ -1,6 +1,6 @@
1
1
  import type { Snippet } from 'svelte';
2
- import type { SvgData } from './svg.js';
3
- import type { ContextmenuRun } from './contextmenu_state.svelte.js';
2
+ import type { SvgData } from './svg.ts';
3
+ import type { ContextmenuRun } from './contextmenu_state.svelte.ts';
4
4
  type $$ComponentProps = {
5
5
  run: ContextmenuRun;
6
6
  content: string;
@@ -1,10 +1,10 @@
1
1
  <script lang="ts">
2
- import type {OmitStrict} from '@fuzdev/fuz_util/types.js';
2
+ import type {OmitStrict} from '@fuzdev/fuz_util/types.ts';
3
3
  import type {Snippet} from 'svelte';
4
4
  import type {SvelteHTMLElements} from 'svelte/elements';
5
5
  import {scale, slide} from 'svelte/transition';
6
6
 
7
- import {icon_checkmark, icon_copy} from './icons.js';
7
+ import {icon_checkmark, icon_copy} from './icons.ts';
8
8
  import Svg from './Svg.svelte';
9
9
 
10
10
  // TODO @many should this have the Button suffix?
@@ -1,4 +1,4 @@
1
- import type { OmitStrict } from '@fuzdev/fuz_util/types.js';
1
+ import type { OmitStrict } from '@fuzdev/fuz_util/types.ts';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { SvelteHTMLElements } from 'svelte/elements';
4
4
  type $$ComponentProps = OmitStrict<SvelteHTMLElements['button'], 'children'> & {
@@ -12,15 +12,15 @@ including parameters, props, members, overloads, intersects, and more.
12
12
  <script lang="ts">
13
13
  import Code from '@fuzdev/fuz_code/Code.svelte';
14
14
  import Mdz from '@fuzdev/mdz/Mdz.svelte';
15
- import {mdz_from_tsdoc} from '@fuzdev/mdz/tsdoc_mdz.js';
15
+ import {mdz_from_tsdoc} from '@fuzdev/mdz/tsdoc_mdz.ts';
16
16
  import {
17
17
  mdz_code_context,
18
18
  mdz_codeblock_context,
19
19
  mdz_set_context_with_fallback,
20
- } from '@fuzdev/mdz/mdz_contexts.js';
20
+ } from '@fuzdev/mdz/mdz_contexts.ts';
21
21
  import type {ParameterJsonInput} from 'svelte-docinfo/types.js';
22
22
 
23
- import type {Declaration} from './declaration.svelte.js';
23
+ import type {Declaration} from './declaration.svelte.ts';
24
24
  import TypeLink from './TypeLink.svelte';
25
25
  import ModuleLink from './ModuleLink.svelte';
26
26
  import DocsLink from './DocsLink.svelte';
@@ -1,4 +1,4 @@
1
- import type { Declaration } from './declaration.svelte.js';
1
+ import type { Declaration } from './declaration.svelte.ts';
2
2
  type $$ComponentProps = {
3
3
  declaration: Declaration;
4
4
  };
@@ -1,10 +1,10 @@
1
1
  <script lang="ts">
2
2
  import type {SvelteHTMLElements} from 'svelte/elements';
3
- import {ensure_start} from '@fuzdev/fuz_util/string.js';
3
+ import {ensure_start} from '@fuzdev/fuz_util/string.ts';
4
4
 
5
- import {library_context} from './library.svelte.js';
6
- import {contextmenu_attachment} from './contextmenu_state.svelte.js';
7
- import {create_declaration_contextmenu} from './declaration_contextmenu.js';
5
+ import {library_context} from './library.svelte.ts';
6
+ import {contextmenu_attachment} from './contextmenu_state.svelte.ts';
7
+ import {create_declaration_contextmenu} from './declaration_contextmenu.ts';
8
8
 
9
9
  const {
10
10
  name,
@@ -2,9 +2,9 @@
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {SvelteHTMLElements} from 'svelte/elements';
4
4
  import {SvelteSet} from 'svelte/reactivity';
5
- import {swallow} from '@fuzdev/fuz_util/dom.js';
5
+ import {swallow} from '@fuzdev/fuz_util/dom.ts';
6
6
 
7
- import {dialog_context, type DialogContext, type DialogAlign} from './dialog.js';
7
+ import {dialog_context, type DialogContext, type DialogAlign} from './dialog.ts';
8
8
 
9
9
  /**
10
10
  * This component renders a native `<dialog>` opened with `showModal()`, which
@@ -1,6 +1,6 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { SvelteHTMLElements } from 'svelte/elements';
3
- import { type DialogContext, type DialogAlign } from './dialog.js';
3
+ import { type DialogContext, type DialogAlign } from './dialog.ts';
4
4
  type $$ComponentProps = Omit<SvelteHTMLElements['dialog'], 'children' | 'onclose'> & {
5
5
  /**
6
6
  * Whether the dialog is shown. When the `<dialog>` mounts it opens via
@@ -2,8 +2,8 @@
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {HTMLAttributes, SvelteHTMLElements} from 'svelte/elements';
4
4
 
5
- import {dialog_context, type DialogContext, type DialogCloseButtonAttrs} from './dialog.js';
6
- import {icon_close} from './icons.js';
5
+ import {dialog_context, type DialogContext, type DialogCloseButtonAttrs} from './dialog.ts';
6
+ import {icon_close} from './icons.ts';
7
7
  import Svg from './Svg.svelte';
8
8
 
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { HTMLAttributes } from 'svelte/elements';
3
- import { type DialogContext, type DialogCloseButtonAttrs } from './dialog.js';
3
+ import { type DialogContext, type DialogCloseButtonAttrs } from './dialog.ts';
4
4
  type $$ComponentProps = Omit<HTMLAttributes<HTMLDivElement>, 'children'> & {
5
5
  /**
6
6
  * The content surface's padding, set as an inline style. Defaults to
package/dist/Docs.svelte CHANGED
@@ -5,16 +5,16 @@
5
5
  import {page} from '$app/state';
6
6
 
7
7
  import Breadcrumb from './Breadcrumb.svelte';
8
- import {Tome, tomes_context} from './tome.js';
8
+ import {Tome, tomes_context} from './tome.ts';
9
9
  import DocsPrimaryNav from './DocsPrimaryNav.svelte';
10
10
  import DocsSecondaryNav from './DocsSecondaryNav.svelte';
11
11
  import DocsTertiaryNav from './DocsTertiaryNav.svelte';
12
12
  import Dialog from './Dialog.svelte';
13
13
  import DialogContent from './DialogContent.svelte';
14
14
  import DocsFooter from './DocsFooter.svelte';
15
- import {site_context} from './site.svelte.js';
16
- import {FUZ_DEV_URL} from './constants.js';
17
- import {DocsLinks, docs_links_context} from './docs_helpers.svelte.js';
15
+ import {site_context} from './site.svelte.ts';
16
+ import {FUZ_DEV_URL} from './constants.ts';
17
+ import {DocsLinks, docs_links_context} from './docs_helpers.svelte.ts';
18
18
 
19
19
  const {
20
20
  tomes,
@@ -1,5 +1,5 @@
1
1
  import type { Snippet } from 'svelte';
2
- import { Tome } from './tome.js';
2
+ import { Tome } from './tome.ts';
3
3
  type $$ComponentProps = {
4
4
  tomes: Array<Tome>;
5
5
  children: Snippet;
@@ -2,8 +2,8 @@
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {SvelteHTMLElements} from 'svelte/elements';
4
4
 
5
- import type {Library} from './library.svelte.js';
6
- import type {Tome} from './tome.js';
5
+ import type {Library} from './library.svelte.ts';
6
+ import type {Tome} from './tome.ts';
7
7
  import LibrarySummary from './LibrarySummary.svelte';
8
8
 
9
9
  const {
@@ -1,7 +1,7 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { SvelteHTMLElements } from 'svelte/elements';
3
- import type { Library } from './library.svelte.js';
4
- import type { Tome } from './tome.js';
3
+ import type { Library } from './library.svelte.ts';
4
+ import type { Tome } from './tome.ts';
5
5
  type $$ComponentProps = SvelteHTMLElements['div'] & {
6
6
  tomes: Array<Tome>;
7
7
  library: Library;
@@ -1,10 +1,10 @@
1
1
  <script lang="ts">
2
- import {format_url, type Url} from '@fuzdev/fuz_util/url.js';
2
+ import {format_url, type Url} from '@fuzdev/fuz_util/url.ts';
3
3
  import type {Snippet} from 'svelte';
4
4
  import type {SvelteHTMLElements} from 'svelte/elements';
5
5
 
6
6
  import Svg from './Svg.svelte';
7
- import {logo_github} from './logos.js';
7
+ import {logo_github} from './logos.ts';
8
8
 
9
9
  const {
10
10
  repo_url,
@@ -1,4 +1,4 @@
1
- import { type Url } from '@fuzdev/fuz_util/url.js';
1
+ import { type Url } from '@fuzdev/fuz_util/url.ts';
2
2
  import type { Snippet } from 'svelte';
3
3
  import type { SvelteHTMLElements } from 'svelte/elements';
4
4
  type $$ComponentProps = SvelteHTMLElements['footer'] & {
@@ -1,13 +1,13 @@
1
1
  <script lang="ts">
2
2
  import type {Snippet} from 'svelte';
3
3
  import type {HTMLAttributes, SvelteHTMLElements} from 'svelte/elements';
4
- import type {OmitStrict} from '@fuzdev/fuz_util/types.js';
4
+ import type {OmitStrict} from '@fuzdev/fuz_util/types.ts';
5
5
 
6
6
  import ModuleLink from './ModuleLink.svelte';
7
7
  import DeclarationLink from './DeclarationLink.svelte';
8
- import {library_context} from './library.svelte.js';
9
- import type {Declaration} from './declaration.svelte.js';
10
- import type {Module} from './module.svelte.js';
8
+ import {library_context} from './library.svelte.ts';
9
+ import type {Declaration} from './declaration.svelte.ts';
10
+ import type {Module} from './module.svelte.ts';
11
11
 
12
12
  const {
13
13
  reference,
@@ -1,8 +1,8 @@
1
1
  import type { Snippet } from 'svelte';
2
2
  import type { HTMLAttributes, SvelteHTMLElements } from 'svelte/elements';
3
- import type { OmitStrict } from '@fuzdev/fuz_util/types.js';
4
- import type { Declaration } from './declaration.svelte.js';
5
- import type { Module } from './module.svelte.js';
3
+ import type { OmitStrict } from '@fuzdev/fuz_util/types.ts';
4
+ import type { Declaration } from './declaration.svelte.ts';
5
+ import type { Module } from './module.svelte.ts';
6
6
  type $$ComponentProps = // generic element attrs, the common denominator of the rendered roots -
7
7
  OmitStrict<HTMLAttributes<HTMLElement>, 'children'> & {
8
8
  reference: string;
@@ -5,7 +5,7 @@
5
5
  import type {SvelteHTMLElements} from 'svelte/elements';
6
6
 
7
7
  import DocsList from './DocsList.svelte';
8
- import {tome_to_pathname, tome_to_title, type Tome} from './tome.js';
8
+ import {tome_to_pathname, tome_to_title, type Tome} from './tome.ts';
9
9
  import DocsMenuHeader from './DocsMenuHeader.svelte';
10
10
 
11
11
  const {