@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.
- package/README.md +1 -1
- package/dist/Alert.svelte +1 -1
- package/dist/Alert.svelte.d.ts +1 -1
- package/dist/ApiDeclarationList.svelte +1 -1
- package/dist/ApiDeclarationList.svelte.d.ts +1 -1
- package/dist/ApiIndex.svelte +3 -3
- package/dist/ApiIndex.svelte.d.ts +2 -2
- package/dist/ApiModule.svelte +4 -4
- package/dist/ApiModule.svelte.d.ts +2 -2
- package/dist/ApiModulesList.svelte +1 -1
- package/dist/ApiModulesList.svelte.d.ts +1 -1
- package/dist/Breadcrumb.svelte +3 -3
- package/dist/ColorSchemeInput.svelte +3 -3
- package/dist/ColorSchemeInput.svelte.d.ts +1 -1
- package/dist/Contextmenu.svelte +1 -1
- package/dist/ContextmenuEntry.svelte +3 -3
- package/dist/ContextmenuEntry.svelte.d.ts +2 -2
- package/dist/ContextmenuIcon.svelte +1 -1
- package/dist/ContextmenuIcon.svelte.d.ts +1 -1
- package/dist/ContextmenuLinkEntry.svelte +5 -5
- package/dist/ContextmenuLinkEntry.svelte.d.ts +1 -1
- package/dist/ContextmenuMenu.svelte +3 -3
- package/dist/ContextmenuMenu.svelte.d.ts +2 -2
- package/dist/ContextmenuRoot.svelte +2 -2
- package/dist/ContextmenuRoot.svelte.d.ts +1 -1
- package/dist/ContextmenuRootForSafariCompatibility.svelte +3 -3
- package/dist/ContextmenuRootForSafariCompatibility.svelte.d.ts +1 -1
- package/dist/ContextmenuSubmenu.svelte +5 -5
- package/dist/ContextmenuSubmenu.svelte.d.ts +1 -1
- package/dist/ContextmenuTextEntry.svelte +2 -2
- package/dist/ContextmenuTextEntry.svelte.d.ts +2 -2
- package/dist/CopyToClipboard.svelte +2 -2
- package/dist/CopyToClipboard.svelte.d.ts +1 -1
- package/dist/DeclarationDetail.svelte +3 -3
- package/dist/DeclarationDetail.svelte.d.ts +1 -1
- package/dist/DeclarationLink.svelte +4 -4
- package/dist/Dialog.svelte +2 -2
- package/dist/Dialog.svelte.d.ts +1 -1
- package/dist/DialogContent.svelte +2 -2
- package/dist/DialogContent.svelte.d.ts +1 -1
- package/dist/Docs.svelte +4 -4
- package/dist/Docs.svelte.d.ts +1 -1
- package/dist/DocsContent.svelte +2 -2
- package/dist/DocsContent.svelte.d.ts +2 -2
- package/dist/DocsFooter.svelte +2 -2
- package/dist/DocsFooter.svelte.d.ts +1 -1
- package/dist/DocsLink.svelte +4 -4
- package/dist/DocsLink.svelte.d.ts +3 -3
- package/dist/DocsMenu.svelte +1 -1
- package/dist/DocsMenu.svelte.d.ts +1 -1
- package/dist/DocsPageLinks.svelte +1 -1
- package/dist/DocsPrimaryNav.svelte +1 -1
- package/dist/DocsSearch.svelte +1 -1
- package/dist/DocsSecondaryNav.svelte +1 -1
- package/dist/DocsSecondaryNav.svelte.d.ts +1 -1
- package/dist/DocsTertiaryNav.svelte +3 -3
- package/dist/DocsTertiaryNav.svelte.d.ts +1 -1
- package/dist/EcosystemLinks.svelte +1 -1
- package/dist/GithubLink.svelte +2 -2
- package/dist/HueInput.svelte +1 -1
- package/dist/HueInput.svelte.d.ts +1 -1
- package/dist/LibraryDetail.svelte +4 -4
- package/dist/LibraryDetail.svelte.d.ts +2 -2
- package/dist/LibrarySummary.svelte +2 -2
- package/dist/LibrarySummary.svelte.d.ts +1 -1
- package/dist/MdnLink.svelte +2 -2
- package/dist/ModuleLink.svelte +4 -4
- package/dist/PendingAnimation.svelte +1 -1
- package/dist/PendingAnimation.svelte.d.ts +1 -1
- package/dist/ProjectLinks.svelte +2 -2
- package/dist/Redirect.svelte +1 -1
- package/dist/Spiders.svelte +3 -3
- package/dist/StyleVariableButton.svelte +2 -2
- package/dist/Svg.svelte +3 -3
- package/dist/Svg.svelte.d.ts +1 -1
- package/dist/ThemeInput.svelte +4 -4
- package/dist/ThemeInput.svelte.d.ts +1 -1
- package/dist/ThemeRoot.svelte +4 -4
- package/dist/ThemeRoot.svelte.d.ts +2 -2
- package/dist/TomeContent.svelte +3 -3
- package/dist/TomeContent.svelte.d.ts +1 -1
- package/dist/TomeHeader.svelte +2 -2
- package/dist/TomeLink.svelte +2 -2
- package/dist/TomeSection.svelte +3 -3
- package/dist/TomeSectionHeader.svelte +1 -1
- package/dist/TomeSectionHeader.svelte.d.ts +1 -1
- package/dist/TypeLink.svelte +1 -1
- package/dist/api_search.svelte.d.ts +3 -3
- package/dist/contextmenu_helpers.d.ts +1 -1
- package/dist/contextmenu_helpers.js +3 -3
- package/dist/contextmenu_state.svelte.d.ts +3 -3
- package/dist/contextmenu_state.svelte.js +6 -6
- package/dist/csp.d.ts +1 -1
- package/dist/declaration.svelte.d.ts +1 -1
- package/dist/declaration.svelte.js +1 -1
- package/dist/declaration_contextmenu.d.ts +2 -2
- package/dist/dialog.js +1 -1
- package/dist/docs_helpers.svelte.d.ts +1 -1
- package/dist/docs_helpers.svelte.js +3 -3
- package/dist/intersect.svelte.js +1 -1
- package/dist/library.svelte.d.ts +5 -5
- package/dist/library.svelte.js +5 -5
- package/dist/library_helpers.d.ts +1 -1
- package/dist/library_helpers.js +2 -2
- package/dist/module.svelte.d.ts +2 -2
- package/dist/module.svelte.js +2 -2
- package/dist/module_contextmenu.d.ts +2 -2
- package/dist/site.svelte.d.ts +3 -3
- package/dist/site.svelte.js +2 -2
- package/dist/style_variable_helpers.svelte.d.ts +1 -1
- package/dist/style_variable_helpers.svelte.js +1 -1
- package/dist/theme_state.svelte.d.ts +1 -1
- package/dist/theme_state.svelte.js +4 -4
- package/dist/tome.js +3 -3
- package/dist/vite_plugin_pkg_json.d.ts +3 -3
- package/dist/vite_plugin_pkg_json.js +3 -3
- package/package.json +3 -3
- package/src/lib/api_search.svelte.ts +3 -3
- package/src/lib/contextmenu_helpers.ts +3 -3
- package/src/lib/contextmenu_state.svelte.ts +8 -8
- package/src/lib/csp.ts +1 -1
- package/src/lib/declaration.svelte.ts +2 -2
- package/src/lib/declaration_contextmenu.ts +2 -2
- package/src/lib/dialog.ts +1 -1
- package/src/lib/docs_helpers.svelte.ts +3 -3
- package/src/lib/icons.ts +1 -1
- package/src/lib/intersect.svelte.ts +1 -1
- package/src/lib/library.svelte.ts +7 -7
- package/src/lib/library_helpers.ts +2 -2
- package/src/lib/logos.ts +1 -1
- package/src/lib/module.svelte.ts +3 -3
- package/src/lib/module_contextmenu.ts +2 -2
- package/src/lib/site.svelte.ts +5 -5
- package/src/lib/style_variable_helpers.svelte.ts +2 -2
- package/src/lib/theme_state.svelte.ts +4 -4
- package/src/lib/tome.ts +3 -3
- package/src/lib/vite_plugin_pkg_json.ts +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
3
|
-
import { type Tome } from './tome.
|
|
3
|
+
import { type Tome } from './tome.ts';
|
|
4
4
|
type $$ComponentProps = SvelteHTMLElements['div'] & {
|
|
5
5
|
tomes: Array<Tome>;
|
|
6
6
|
children?: Snippet<[category: string]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {is_iframed} from '@fuzdev/fuz_util/dom.
|
|
2
|
+
import {is_iframed} from '@fuzdev/fuz_util/dom.ts';
|
|
3
3
|
import type {Snippet} from 'svelte';
|
|
4
4
|
import {scrollY} from 'svelte/reactivity/window';
|
|
5
5
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
package/dist/DocsSearch.svelte
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
4
4
|
|
|
5
5
|
import DocsPageLinks from './DocsPageLinks.svelte';
|
|
6
|
-
import {tome_to_pathname, Tome} from './tome.
|
|
7
|
-
import {docs_links_context} from './docs_helpers.svelte.
|
|
8
|
-
import {library_context} from './library.svelte.
|
|
6
|
+
import {tome_to_pathname, Tome} from './tome.ts';
|
|
7
|
+
import {docs_links_context} from './docs_helpers.svelte.ts';
|
|
8
|
+
import {library_context} from './library.svelte.ts';
|
|
9
9
|
import TomeLink from './TomeLink.svelte';
|
|
10
10
|
import ModuleLink from './ModuleLink.svelte';
|
|
11
11
|
import DeclarationLink from './DeclarationLink.svelte';
|
package/dist/GithubLink.svelte
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {ensure_start, strip_start} from '@fuzdev/fuz_util/string.
|
|
2
|
+
import {ensure_start, strip_start} from '@fuzdev/fuz_util/string.ts';
|
|
3
3
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
4
4
|
import {DEV} from 'esm-env';
|
|
5
5
|
|
|
6
6
|
import Svg from './Svg.svelte';
|
|
7
|
-
import {logo_github} from './logos.
|
|
7
|
+
import {logo_github} from './logos.ts';
|
|
8
8
|
|
|
9
9
|
const {
|
|
10
10
|
path,
|
package/dist/HueInput.svelte
CHANGED
|
@@ -9,16 +9,16 @@ with file-type coloring. Uses svelte-docinfo's file type predicates for module c
|
|
|
9
9
|
-->
|
|
10
10
|
<script lang="ts">
|
|
11
11
|
import {page} from '$app/state';
|
|
12
|
-
import {format_url} from '@fuzdev/fuz_util/url.
|
|
13
|
-
import type {OmitStrict} from '@fuzdev/fuz_util/types.
|
|
12
|
+
import {format_url} from '@fuzdev/fuz_util/url.ts';
|
|
13
|
+
import type {OmitStrict} from '@fuzdev/fuz_util/types.ts';
|
|
14
14
|
import type {Snippet} from 'svelte';
|
|
15
15
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
16
16
|
|
|
17
|
-
import {library_context, type Library} from './library.svelte.
|
|
17
|
+
import {library_context, type Library} from './library.svelte.ts';
|
|
18
18
|
import ImgOrSvg from './ImgOrSvg.svelte';
|
|
19
19
|
import DeclarationLink from './DeclarationLink.svelte';
|
|
20
20
|
import ModuleLink from './ModuleLink.svelte';
|
|
21
|
-
import {url_github_file} from '@fuzdev/fuz_util/package_helpers.
|
|
21
|
+
import {url_github_file} from '@fuzdev/fuz_util/package_helpers.ts';
|
|
22
22
|
import {isTypescript, isSvelte, isCss, isJson} from 'svelte-docinfo/source.js';
|
|
23
23
|
|
|
24
24
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { OmitStrict } from '@fuzdev/fuz_util/types.
|
|
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
|
-
import { type Library } from './library.svelte.
|
|
4
|
+
import { type Library } from './library.svelte.ts';
|
|
5
5
|
type $$ComponentProps = OmitStrict<SvelteHTMLElements['div'], 'children'> & {
|
|
6
6
|
library: Library;
|
|
7
7
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {page} from '$app/state';
|
|
3
3
|
import type {Snippet} from 'svelte';
|
|
4
4
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
5
|
-
import {format_url} from '@fuzdev/fuz_util/url.
|
|
5
|
+
import {format_url} from '@fuzdev/fuz_util/url.ts';
|
|
6
6
|
|
|
7
|
-
import type {Library} from './library.svelte.
|
|
7
|
+
import type {Library} from './library.svelte.ts';
|
|
8
8
|
import ImgOrSvg from './ImgOrSvg.svelte';
|
|
9
9
|
|
|
10
10
|
const {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
3
|
-
import type { Library } from './library.svelte.
|
|
3
|
+
import type { Library } from './library.svelte.ts';
|
|
4
4
|
type $$ComponentProps = SvelteHTMLElements['div'] & {
|
|
5
5
|
library: Library;
|
|
6
6
|
repo_name?: Snippet<[repo_name: string]>;
|
package/dist/MdnLink.svelte
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {ensure_start, strip_end, strip_start} from '@fuzdev/fuz_util/string.
|
|
2
|
+
import {ensure_start, strip_end, strip_start} from '@fuzdev/fuz_util/string.ts';
|
|
3
3
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
4
4
|
|
|
5
5
|
import Svg from './Svg.svelte';
|
|
6
|
-
import {logo_mdn} from './logos.
|
|
6
|
+
import {logo_mdn} from './logos.ts';
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
path,
|
package/dist/ModuleLink.svelte
CHANGED
|
@@ -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.
|
|
3
|
+
import {ensure_start} from '@fuzdev/fuz_util/string.ts';
|
|
4
4
|
|
|
5
|
-
import {library_context} from './library.svelte.
|
|
6
|
-
import {contextmenu_attachment} from './contextmenu_state.svelte.
|
|
7
|
-
import {create_module_contextmenu} from './module_contextmenu.
|
|
5
|
+
import {library_context} from './library.svelte.ts';
|
|
6
|
+
import {contextmenu_attachment} from './contextmenu_state.svelte.ts';
|
|
7
|
+
import {create_module_contextmenu} from './module_contextmenu.ts';
|
|
8
8
|
|
|
9
9
|
const {
|
|
10
10
|
module_path,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { OmitStrict } from '@fuzdev/fuz_util/types.
|
|
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['span'], 'children'> & {
|
package/dist/ProjectLinks.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import Svg from './Svg.svelte';
|
|
3
|
-
import type {SvgData} from './svg.
|
|
3
|
+
import type {SvgData} from './svg.ts';
|
|
4
4
|
import {
|
|
5
5
|
// TODO when fuz.dev is ready
|
|
6
6
|
// logo_fuz,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
logo_fuz_docs,
|
|
17
17
|
logo_svelte_docinfo,
|
|
18
18
|
logo_fuz_app,
|
|
19
|
-
} from './logos.
|
|
19
|
+
} from './logos.ts';
|
|
20
20
|
|
|
21
21
|
// TODO refactor
|
|
22
22
|
interface ProjectItem {
|
package/dist/Redirect.svelte
CHANGED
package/dist/Spiders.svelte
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
8
|
<script lang="ts">
|
|
9
|
-
import {random_int, shuffle} from '@fuzdev/fuz_util/random.
|
|
10
|
-
import {create_random_alea} from '@fuzdev/fuz_util/random_alea.
|
|
9
|
+
import {random_int, shuffle} from '@fuzdev/fuz_util/random.ts';
|
|
10
|
+
import {create_random_alea} from '@fuzdev/fuz_util/random_alea.ts';
|
|
11
11
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
12
12
|
|
|
13
13
|
import Svg from './Svg.svelte';
|
|
14
|
-
import {logo_fuz} from './logos.
|
|
14
|
+
import {logo_fuz} from './logos.ts';
|
|
15
15
|
|
|
16
16
|
const {
|
|
17
17
|
spiders = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
3
|
-
import {default_variables} from '@fuzdev/fuz_css/variables.
|
|
3
|
+
import {default_variables} from '@fuzdev/fuz_css/variables.ts';
|
|
4
4
|
|
|
5
|
-
import {selected_variable_context} from './style_variable_helpers.svelte.
|
|
5
|
+
import {selected_variable_context} from './style_variable_helpers.svelte.ts';
|
|
6
6
|
|
|
7
7
|
const {
|
|
8
8
|
name,
|
package/dist/Svg.svelte
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {ensure_end} from '@fuzdev/fuz_util/string.
|
|
2
|
+
import {ensure_end} from '@fuzdev/fuz_util/string.ts';
|
|
3
3
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
4
4
|
|
|
5
|
-
import type {SvgData} from './svg.
|
|
5
|
+
import type {SvgData} from './svg.ts';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Renders an `SvgData` icon definition to inline `svg` markup, never via `@html`.
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
const {
|
|
31
31
|
data,
|
|
32
32
|
fill,
|
|
33
|
-
size = 'var(--font_size,
|
|
33
|
+
size = 'var(--font_size, 1em)',
|
|
34
34
|
width,
|
|
35
35
|
height,
|
|
36
36
|
label,
|
package/dist/Svg.svelte.d.ts
CHANGED
package/dist/ThemeInput.svelte
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {swallow} from '@fuzdev/fuz_util/dom.
|
|
3
|
-
import type {Theme} from '@fuzdev/fuz_css/theme.
|
|
4
|
-
import {default_themes} from '@fuzdev/fuz_css/themes.
|
|
2
|
+
import {swallow} from '@fuzdev/fuz_util/dom.ts';
|
|
3
|
+
import type {Theme} from '@fuzdev/fuz_css/theme.ts';
|
|
4
|
+
import {default_themes} from '@fuzdev/fuz_css/themes.ts';
|
|
5
5
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
6
6
|
|
|
7
|
-
import {theme_state_context} from './theme_state.svelte.
|
|
7
|
+
import {theme_state_context} from './theme_state.svelte.ts';
|
|
8
8
|
|
|
9
9
|
const get_theme_state = theme_state_context.get();
|
|
10
10
|
|
package/dist/ThemeRoot.svelte
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
<script lang="ts">
|
|
6
6
|
import {onMount, type Snippet} from 'svelte';
|
|
7
|
-
import {render_theme_style, type Theme} from '@fuzdev/fuz_css/theme.
|
|
8
|
-
import {DEFAULT_THEME} from '@fuzdev/fuz_css/themes.
|
|
7
|
+
import {render_theme_style, type Theme} from '@fuzdev/fuz_css/theme.ts';
|
|
8
|
+
import {DEFAULT_THEME} from '@fuzdev/fuz_css/themes.ts';
|
|
9
9
|
import {DEV} from 'esm-env';
|
|
10
10
|
|
|
11
11
|
import {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
load_theme as default_load_theme,
|
|
17
17
|
theme_state_context,
|
|
18
18
|
ThemeState,
|
|
19
|
-
} from './theme_state.svelte.
|
|
20
|
-
import {effect_with_count} from './rune_helpers.svelte.
|
|
19
|
+
} from './theme_state.svelte.ts';
|
|
20
|
+
import {effect_with_count} from './rune_helpers.svelte.ts';
|
|
21
21
|
|
|
22
22
|
const {
|
|
23
23
|
sync_color_scheme = default_sync_color_scheme,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type Snippet } from 'svelte';
|
|
2
|
-
import { type Theme } from '@fuzdev/fuz_css/theme.
|
|
3
|
-
import { load_color_scheme as default_load_color_scheme, save_color_scheme as default_save_color_scheme, sync_color_scheme as default_sync_color_scheme, save_theme as default_save_theme, load_theme as default_load_theme, ThemeState } from './theme_state.svelte.
|
|
2
|
+
import { type Theme } from '@fuzdev/fuz_css/theme.ts';
|
|
3
|
+
import { load_color_scheme as default_load_color_scheme, save_color_scheme as default_save_color_scheme, sync_color_scheme as default_sync_color_scheme, save_theme as default_save_theme, load_theme as default_load_theme, ThemeState } from './theme_state.svelte.ts';
|
|
4
4
|
type $$ComponentProps = {
|
|
5
5
|
sync_color_scheme?: typeof default_sync_color_scheme;
|
|
6
6
|
load_color_scheme?: typeof default_load_color_scheme;
|
package/dist/TomeContent.svelte
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import {resolve} from '$app/paths';
|
|
6
6
|
|
|
7
7
|
import TomeHeader from './TomeHeader.svelte';
|
|
8
|
-
import {tome_context, type Tome} from './tome.
|
|
9
|
-
import {DOCS_PATH_DEFAULT, docs_links_context} from './docs_helpers.svelte.
|
|
10
|
-
import {intersect} from './intersect.svelte.
|
|
8
|
+
import {tome_context, type Tome} from './tome.ts';
|
|
9
|
+
import {DOCS_PATH_DEFAULT, docs_links_context} from './docs_helpers.svelte.ts';
|
|
10
|
+
import {intersect} from './intersect.svelte.ts';
|
|
11
11
|
|
|
12
12
|
const {
|
|
13
13
|
tome,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
3
|
-
import { type Tome } from './tome.
|
|
3
|
+
import { type Tome } from './tome.ts';
|
|
4
4
|
type $$ComponentProps = SvelteHTMLElements['section'] & {
|
|
5
5
|
tome: Tome;
|
|
6
6
|
docs_path?: string;
|
package/dist/TomeHeader.svelte
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import {DEV} from 'esm-env';
|
|
4
4
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
5
5
|
|
|
6
|
-
import {tome_context, tome_to_title} from './tome.
|
|
6
|
+
import {tome_context, tome_to_title} from './tome.ts';
|
|
7
7
|
import Hashlink from './Hashlink.svelte';
|
|
8
|
-
import {docs_links_context, to_docs_path_info} from './docs_helpers.svelte.
|
|
8
|
+
import {docs_links_context, to_docs_path_info} from './docs_helpers.svelte.ts';
|
|
9
9
|
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
|
|
11
11
|
const props: SvelteHTMLElements['h1'] | SvelteHTMLElements['h2'] = $props();
|
package/dist/TomeLink.svelte
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {DEV} from 'esm-env';
|
|
3
3
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
4
4
|
|
|
5
|
-
import {tome_get_by_slug, tome_to_pathname, tome_to_title, tomes_context} from './tome.
|
|
6
|
-
import {DOCS_PATH_DEFAULT} from './docs_helpers.svelte.
|
|
5
|
+
import {tome_get_by_slug, tome_to_pathname, tome_to_title, tomes_context} from './tome.ts';
|
|
6
|
+
import {DOCS_PATH_DEFAULT} from './docs_helpers.svelte.ts';
|
|
7
7
|
|
|
8
8
|
const {
|
|
9
9
|
slug,
|
package/dist/TomeSection.svelte
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts" module>
|
|
2
|
-
import {create_context} from './context_helpers.
|
|
2
|
+
import {create_context} from './context_helpers.ts';
|
|
3
3
|
|
|
4
4
|
export type RegisterSectionHeader = (get_fragment: () => string) => string | undefined;
|
|
5
5
|
export const register_section_header_context = create_context<RegisterSectionHeader>();
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
13
13
|
import {DEV} from 'esm-env';
|
|
14
14
|
|
|
15
|
-
import {intersect} from './intersect.svelte.
|
|
16
|
-
import {docs_links_context} from './docs_helpers.svelte.
|
|
15
|
+
import {intersect} from './intersect.svelte.ts';
|
|
16
|
+
import {docs_links_context} from './docs_helpers.svelte.ts';
|
|
17
17
|
|
|
18
18
|
const {
|
|
19
19
|
children,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
section_depth_context,
|
|
11
11
|
section_id_context,
|
|
12
12
|
} from './TomeSection.svelte';
|
|
13
|
-
import {docs_links_context, docs_slugify, type DocsLinkTag} from './docs_helpers.svelte.
|
|
13
|
+
import {docs_links_context, docs_slugify, type DocsLinkTag} from './docs_helpers.svelte.ts';
|
|
14
14
|
|
|
15
15
|
const {
|
|
16
16
|
text,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
3
|
-
import { type DocsLinkTag } from './docs_helpers.svelte.
|
|
3
|
+
import { type DocsLinkTag } from './docs_helpers.svelte.ts';
|
|
4
4
|
type $$ComponentProps = // eslint-disable-next-line @typescript-eslint/no-duplicate-type-constituents
|
|
5
5
|
(SvelteHTMLElements['h2'] | SvelteHTMLElements['h3'] | SvelteHTMLElements['h4']) & {
|
|
6
6
|
text: string;
|
package/dist/TypeLink.svelte
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { Declaration } from './declaration.svelte.
|
|
2
|
-
import type { Library } from './library.svelte.
|
|
3
|
-
import type { Module } from './module.svelte.
|
|
1
|
+
import type { Declaration } from './declaration.svelte.ts';
|
|
2
|
+
import type { Library } from './library.svelte.ts';
|
|
3
|
+
import type { Module } from './module.svelte.ts';
|
|
4
4
|
export interface DeclarationSearchState {
|
|
5
5
|
query: string;
|
|
6
6
|
all: Array<Declaration>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Attachment } from 'svelte/attachments';
|
|
2
2
|
import type { ComponentProps, Snippet } from 'svelte';
|
|
3
|
-
import { type ContextmenuOpenOptions, type ContextmenuState } from './contextmenu_state.svelte.
|
|
3
|
+
import { type ContextmenuOpenOptions, type ContextmenuState } from './contextmenu_state.svelte.ts';
|
|
4
4
|
import type ContextmenuLinkEntry from './ContextmenuLinkEntry.svelte';
|
|
5
5
|
import type ContextmenuTextEntry from './ContextmenuTextEntry.svelte';
|
|
6
6
|
import type ContextmenuSeparator from './ContextmenuSeparator.svelte';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { is_editable, swallow, inside_editable } from '@fuzdev/fuz_util/dom.
|
|
2
|
-
import { EMPTY_OBJECT } from '@fuzdev/fuz_util/object.
|
|
3
|
-
import { contextmenu_open, } from './contextmenu_state.svelte.
|
|
1
|
+
import { is_editable, swallow, inside_editable } from '@fuzdev/fuz_util/dom.ts';
|
|
2
|
+
import { EMPTY_OBJECT } from '@fuzdev/fuz_util/object.ts';
|
|
3
|
+
import { contextmenu_open, } from './contextmenu_state.svelte.ts';
|
|
4
4
|
// Constants for default prop values
|
|
5
5
|
export const CONTEXTMENU_DEFAULT_OPEN_OFFSET_X = -2;
|
|
6
6
|
export const CONTEXTMENU_DEFAULT_OPEN_OFFSET_Y = -2;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Snippet } from 'svelte';
|
|
2
|
-
import type { Result } from '@fuzdev/fuz_util/result.
|
|
2
|
+
import type { Result } from '@fuzdev/fuz_util/result.ts';
|
|
3
3
|
import type { SvelteHTMLElements } from 'svelte/elements';
|
|
4
4
|
import type { Attachment } from 'svelte/attachments';
|
|
5
|
-
import { Dimensions } from './dimensions.svelte.
|
|
6
|
-
import type { SvgData } from './svg.
|
|
5
|
+
import { Dimensions } from './dimensions.svelte.ts';
|
|
6
|
+
import type { SvgData } from './svg.ts';
|
|
7
7
|
export declare const contextmenu_context: {
|
|
8
8
|
get: (error_message?: string) => () => ContextmenuState;
|
|
9
9
|
get_maybe: () => (() => ContextmenuState) | undefined;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { onDestroy } from 'svelte';
|
|
2
|
-
import { is_promise } from '@fuzdev/fuz_util/async.
|
|
2
|
+
import { is_promise } from '@fuzdev/fuz_util/async.ts';
|
|
3
3
|
import { BROWSER, DEV } from 'esm-env';
|
|
4
|
-
import { EMPTY_OBJECT } from '@fuzdev/fuz_util/object.
|
|
5
|
-
import { Dimensions } from './dimensions.svelte.
|
|
6
|
-
import { create_context } from './context_helpers.
|
|
7
|
-
import { url_to_root_relative } from './library_helpers.
|
|
8
|
-
import { icon_copy } from './icons.
|
|
4
|
+
import { EMPTY_OBJECT } from '@fuzdev/fuz_util/object.ts';
|
|
5
|
+
import { Dimensions } from './dimensions.svelte.ts';
|
|
6
|
+
import { create_context } from './context_helpers.ts';
|
|
7
|
+
import { url_to_root_relative } from './library_helpers.ts';
|
|
8
|
+
import { icon_copy } from './icons.ts';
|
|
9
9
|
export const contextmenu_context = create_context();
|
|
10
10
|
export const contextmenu_submenu_context = create_context();
|
|
11
11
|
export const contextmenu_dimensions_context = create_context(() => new Dimensions());
|
package/dist/csp.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Defined } from '@fuzdev/fuz_util/types.
|
|
1
|
+
import type { Defined } from '@fuzdev/fuz_util/types.ts';
|
|
2
2
|
/**
|
|
3
3
|
* Per-directive map of source arrays — accepted as `extend` layer entries.
|
|
4
4
|
* Excludes directives like `'upgrade-insecure-requests'` (boolean) that can't be appended to.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { generateImport, getDisplayName } from 'svelte-docinfo/declaration-helpers.js';
|
|
2
|
-
import { url_github_file } from '@fuzdev/fuz_util/package_helpers.
|
|
2
|
+
import { url_github_file } from '@fuzdev/fuz_util/package_helpers.ts';
|
|
3
3
|
// The `virtual:svelte-docinfo` module is serialized with svelte-docinfo's
|
|
4
4
|
// `compactReplacer`, which strips empty default arrays — so the runtime data
|
|
5
5
|
// is the `*Input` shape (defaulted arrays optional), not the parsed `*Json`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Declaration } from './declaration.svelte.
|
|
2
|
-
import type { ContextmenuParams } from './contextmenu_state.svelte.
|
|
1
|
+
import type { Declaration } from './declaration.svelte.ts';
|
|
2
|
+
import type { ContextmenuParams } from './contextmenu_state.svelte.ts';
|
|
3
3
|
export declare const create_declaration_contextmenu: (declaration: Declaration) => Array<ContextmenuParams>;
|
|
4
4
|
//# sourceMappingURL=declaration_contextmenu.d.ts.map
|
package/dist/dialog.js
CHANGED
|
@@ -6,7 +6,7 @@ export declare const docs_links_context: {
|
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
8
|
* Convert a string to a URL-safe fragment identifier, preserving case.
|
|
9
|
-
* Unlike `slugify` from `@fuzdev/fuz_util/path.
|
|
9
|
+
* Unlike `slugify` from `@fuzdev/fuz_util/path.ts` which lowercases,
|
|
10
10
|
* this keeps the original casing so API declarations like `AsyncStatus`
|
|
11
11
|
* and `async_status` produce distinct fragment IDs.
|
|
12
12
|
* Used by the `Tome` documentation system for heading and section anchors.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { resolve } from '$app/paths';
|
|
2
2
|
import { SvelteMap, SvelteSet } from 'svelte/reactivity';
|
|
3
|
-
import { ensure_end, ensure_start } from '@fuzdev/fuz_util/string.
|
|
4
|
-
import { create_context } from './context_helpers.
|
|
3
|
+
import { ensure_end, ensure_start } from '@fuzdev/fuz_util/string.ts';
|
|
4
|
+
import { create_context } from './context_helpers.ts';
|
|
5
5
|
export const docs_links_context = create_context();
|
|
6
6
|
/**
|
|
7
7
|
* Convert a string to a URL-safe fragment identifier, preserving case.
|
|
8
|
-
* Unlike `slugify` from `@fuzdev/fuz_util/path.
|
|
8
|
+
* Unlike `slugify` from `@fuzdev/fuz_util/path.ts` which lowercases,
|
|
9
9
|
* this keeps the original casing so API declarations like `AsyncStatus`
|
|
10
10
|
* and `async_status` produce distinct fragment IDs.
|
|
11
11
|
* Used by the `Tome` documentation system for heading and section anchors.
|
package/dist/intersect.svelte.js
CHANGED
package/dist/library.svelte.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LibraryJson } from '@fuzdev/fuz_util/library_json.
|
|
2
|
-
import type { Url } from '@fuzdev/fuz_util/url.
|
|
3
|
-
import { Declaration } from './declaration.svelte.
|
|
4
|
-
import { Module } from './module.svelte.
|
|
1
|
+
import type { LibraryJson } from '@fuzdev/fuz_util/library_json.ts';
|
|
2
|
+
import type { Url } from '@fuzdev/fuz_util/url.ts';
|
|
3
|
+
import { Declaration } from './declaration.svelte.ts';
|
|
4
|
+
import { Module } from './module.svelte.ts';
|
|
5
5
|
/**
|
|
6
6
|
* Holds a getter to the active `Library` for the current subtree.
|
|
7
7
|
*
|
|
@@ -56,7 +56,7 @@ export declare class Library {
|
|
|
56
56
|
*/
|
|
57
57
|
readonly url_prefix: string;
|
|
58
58
|
readonly pkg_json: import("@fuzdev/fuz_util/pkg_json.js").PkgJson;
|
|
59
|
-
readonly source_json: import("@fuzdev/fuz_util/library_json.
|
|
59
|
+
readonly source_json: import("@fuzdev/fuz_util/library_json.ts").SourceJson;
|
|
60
60
|
readonly name: string;
|
|
61
61
|
readonly repo_name: string;
|
|
62
62
|
/** Non-null — the constructor rejects a `pkg_json` without a parseable `repository`. */
|