@fuzdev/fuz_ui 0.205.0 → 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 +5 -5
- package/dist/Card.svelte +1 -7
- package/dist/ColorSchemeInput.svelte +4 -5
- package/dist/ColorSchemeInput.svelte.d.ts +1 -1
- package/dist/Contextmenu.svelte +1 -1
- package/dist/ContextmenuEntry.svelte +4 -6
- 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 +6 -9
- 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/ContextmenuSeparator.svelte +1 -1
- package/dist/ContextmenuSubmenu.svelte +6 -7
- 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 +7 -7
- package/dist/CopyToClipboard.svelte.d.ts +1 -1
- package/dist/CopyToClipboard.svelte.d.ts.map +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 +3 -4
- package/dist/Dialog.svelte.d.ts +1 -1
- package/dist/DialogContent.svelte +3 -3
- 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/DocsList.svelte +1 -1
- package/dist/DocsMenu.svelte +2 -2
- package/dist/DocsMenu.svelte.d.ts +1 -1
- package/dist/DocsPageLinks.svelte +10 -9
- package/dist/DocsPageLinks.svelte.d.ts.map +1 -1
- package/dist/DocsPrimaryNav.svelte +2 -2
- package/dist/DocsSearch.svelte +1 -1
- package/dist/DocsSecondaryNav.svelte +2 -2
- 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 +2 -2
- package/dist/GithubLink.svelte +2 -2
- package/dist/HueInput.svelte +1 -1
- package/dist/HueInput.svelte.d.ts +1 -1
- package/dist/LibraryDetail.svelte +14 -11
- package/dist/LibraryDetail.svelte.d.ts +2 -2
- package/dist/LibraryDetail.svelte.d.ts.map +1 -1
- package/dist/LibrarySummary.svelte +3 -4
- package/dist/LibrarySummary.svelte.d.ts +1 -1
- package/dist/MdnLink.svelte +2 -2
- package/dist/ModuleLink.svelte +4 -4
- package/dist/PendingAnimation.svelte +7 -5
- package/dist/PendingAnimation.svelte.d.ts +1 -1
- package/dist/PendingAnimation.svelte.d.ts.map +1 -1
- package/dist/PendingButton.svelte +1 -2
- package/dist/ProjectLinks.svelte +2 -2
- package/dist/Redirect.svelte +1 -1
- package/dist/Spiders.svelte +3 -3
- package/dist/StyleVariableButton.svelte +3 -4
- package/dist/Svg.svelte +4 -4
- package/dist/Svg.svelte.d.ts +1 -1
- package/dist/ThemeInput.svelte +5 -6
- 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 +2 -2
- 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 +5 -5
- 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
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.
|
|
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.
|
|
16
|
-
import {FUZ_DEV_URL} from './constants.
|
|
17
|
-
import {DocsLinks, docs_links_context} from './docs_helpers.svelte.
|
|
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,
|
package/dist/Docs.svelte.d.ts
CHANGED
package/dist/DocsContent.svelte
CHANGED
|
@@ -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.
|
|
6
|
-
import type {Tome} from './tome.
|
|
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.
|
|
4
|
-
import type { Tome } from './tome.
|
|
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;
|
package/dist/DocsFooter.svelte
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import {format_url, type Url} from '@fuzdev/fuz_util/url.
|
|
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.
|
|
7
|
+
import {logo_github} from './logos.ts';
|
|
8
8
|
|
|
9
9
|
const {
|
|
10
10
|
repo_url,
|
package/dist/DocsLink.svelte
CHANGED
|
@@ -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.
|
|
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.
|
|
9
|
-
import type {Declaration} from './declaration.svelte.
|
|
10
|
-
import type {Module} from './module.svelte.
|
|
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.
|
|
4
|
-
import type { Declaration } from './declaration.svelte.
|
|
5
|
-
import type { Module } from './module.svelte.
|
|
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;
|
package/dist/DocsList.svelte
CHANGED
package/dist/DocsMenu.svelte
CHANGED
|
@@ -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.
|
|
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 {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
{#each tomes as item (item)}
|
|
40
40
|
{@const pathname = tome_to_pathname(item)}
|
|
41
41
|
<li role="none" transition:slide>
|
|
42
|
-
<a class=
|
|
42
|
+
<a class={['menuitem', {selected: pathname === page.url.pathname}]} href={pathname}
|
|
43
43
|
><div class="ellipsis">{tome_to_title(item)}</div></a
|
|
44
44
|
>
|
|
45
45
|
</li>
|
|
@@ -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]>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
5
5
|
|
|
6
6
|
import DocsList from './DocsList.svelte';
|
|
7
|
-
import {docs_links_context} from './docs_helpers.svelte.
|
|
7
|
+
import {docs_links_context} from './docs_helpers.svelte.ts';
|
|
8
8
|
|
|
9
9
|
const {
|
|
10
10
|
sidebar = true,
|
|
@@ -36,16 +36,17 @@
|
|
|
36
36
|
<li
|
|
37
37
|
role="none"
|
|
38
38
|
transition:slide
|
|
39
|
-
class
|
|
40
|
-
class:pl_xl2={item.depth === 3}
|
|
41
|
-
class:pl_xl3={item.depth >= 4}
|
|
39
|
+
class={{pl_xl: item.depth === 2, pl_xl2: item.depth === 3, pl_xl3: item.depth >= 4}}
|
|
42
40
|
>
|
|
43
41
|
<a
|
|
44
|
-
class=
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
42
|
+
class={[
|
|
43
|
+
'menuitem',
|
|
44
|
+
{
|
|
45
|
+
selected: item.fragment === hash,
|
|
46
|
+
highlighted: docs_links.fragments_onscreen.has(item.fragment),
|
|
47
|
+
},
|
|
48
|
+
]}
|
|
49
|
+
href="#{item.fragment}"><div class="ellipsis">{item.text}</div></a
|
|
49
50
|
>
|
|
50
51
|
</li>
|
|
51
52
|
{/each}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocsPageLinks.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DocsPageLinks.svelte"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAKvD,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;
|
|
1
|
+
{"version":3,"file":"DocsPageLinks.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/DocsPageLinks.svelte"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAKvD,KAAK,gBAAgB,GAAI,kBAAkB,CAAC,KAAK,CAAC,GAAG;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAmDH,QAAA,MAAM,aAAa,sDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|
|
@@ -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';
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</script>
|
|
21
21
|
|
|
22
22
|
{#if enabled}
|
|
23
|
-
<div {...rest} class=
|
|
23
|
+
<div {...rest} class={['docs-primary-nav', rest.class, {scrolled}]}>
|
|
24
24
|
<div class="background" aria-hidden="true"></div>
|
|
25
25
|
<div class="content">
|
|
26
26
|
<nav aria-label="Primary nav">
|
package/dist/DocsSearch.svelte
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
3
3
|
|
|
4
4
|
import DocsMenu from './DocsMenu.svelte';
|
|
5
|
-
import {Tome} from './tome.
|
|
5
|
+
import {Tome} from './tome.ts';
|
|
6
6
|
|
|
7
7
|
const {
|
|
8
8
|
tomes,
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
const expand_width = $derived(!sidebar);
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
|
-
<aside {...rest} class=
|
|
19
|
+
<aside {...rest} class={['docs-secondary-nav unstyled', rest.class, {sidebar}]}>
|
|
20
20
|
<nav aria-label="Secondary nav">
|
|
21
21
|
<DocsMenu {tomes} {expand_width} />
|
|
22
22
|
</nav>
|
|
@@ -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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type {SvelteHTMLElements} from 'svelte/elements';
|
|
3
3
|
|
|
4
|
-
import {FUZ_DEV_URL} from './constants.
|
|
4
|
+
import {FUZ_DEV_URL} from './constants.ts';
|
|
5
5
|
|
|
6
6
|
const {
|
|
7
7
|
selected,
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<ul {...rest}>
|
|
15
15
|
<li>
|
|
16
16
|
<!-- eslint-disable-next-line svelte/no-navigation-without-resolve -->
|
|
17
|
-
<a rel="me" href={FUZ_DEV_URL} class
|
|
17
|
+
<a rel="me" href={FUZ_DEV_URL} class={{selected: selected === 'fuz.dev'}}>fuz.dev</a>
|
|
18
18
|
- the Fuz stack homepage{#if selected === 'fuz.dev'}, you are here{/if}
|
|
19
19
|
</li>
|
|
20
20
|
<li>
|
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 {
|
|
@@ -106,8 +106,7 @@ with file-type coloring. Uses svelte-docinfo's file type predicates for module c
|
|
|
106
106
|
<span class="title">homepage</span>
|
|
107
107
|
<div class="content">
|
|
108
108
|
<a
|
|
109
|
-
class=
|
|
110
|
-
class:selected={library.homepage_url === page.url.href}
|
|
109
|
+
class={['chip', {selected: library.homepage_url === page.url.href}]}
|
|
111
110
|
href={library.homepage_url}
|
|
112
111
|
>
|
|
113
112
|
{#if library.logo_url}
|
|
@@ -168,11 +167,15 @@ with file-type coloring. Uses svelte-docinfo's file type predicates for module c
|
|
|
168
167
|
{#each library.modules as module (module.path)}
|
|
169
168
|
<!-- TODO improve rendering and enrich data - start with the type (not just extension - mime?) -->
|
|
170
169
|
<li
|
|
171
|
-
class=
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
class={[
|
|
171
|
+
'module',
|
|
172
|
+
{
|
|
173
|
+
ts: isTypescript(module.path),
|
|
174
|
+
svelte: isSvelte(module.path),
|
|
175
|
+
css: isCss(module.path),
|
|
176
|
+
json: isJson(module.path),
|
|
177
|
+
},
|
|
178
|
+
]}
|
|
176
179
|
>
|
|
177
180
|
<div class="module-content">
|
|
178
181
|
<span class="font_size_xl">
|
|
@@ -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
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LibraryDetail.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/LibraryDetail.svelte"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAkB,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAOjE,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;CACvC,CAAC;
|
|
1
|
+
{"version":3,"file":"LibraryDetail.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/LibraryDetail.svelte"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAExD,OAAO,EAAkB,KAAK,OAAO,EAAC,MAAM,qBAAqB,CAAC;AAOjE,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IAC5E,OAAO,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;IAC7C,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,CAAC;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC;CACvC,CAAC;AA8KH;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,sDAAwC,CAAC;AAC5D,KAAK,aAAa,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AACtD,eAAe,aAAa,CAAC"}
|
|
@@ -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 {
|
|
@@ -83,8 +83,7 @@
|
|
|
83
83
|
<div class="mb_lg">
|
|
84
84
|
<!-- eslint-disable svelte/no-navigation-without-resolve -->
|
|
85
85
|
<a
|
|
86
|
-
class=
|
|
87
|
-
class:selected={library.homepage_url === page.url.href}
|
|
86
|
+
class={['chip', {selected: library.homepage_url === page.url.href}]}
|
|
88
87
|
href={library.homepage_url}>{format_url(library.homepage_url)}</a
|
|
89
88
|
>
|
|
90
89
|
<!-- eslint-enable svelte/no-navigation-without-resolve -->
|
|
@@ -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,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type {OmitStrict} from '@fuzdev/fuz_util/types.
|
|
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
|
|
|
@@ -21,10 +21,12 @@
|
|
|
21
21
|
|
|
22
22
|
<span
|
|
23
23
|
{...rest}
|
|
24
|
-
class=
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
class={[
|
|
25
|
+
'pending-animation',
|
|
26
|
+
rest.class,
|
|
27
|
+
inline ? 'display:inline-flex align-items:center' : 'display:flex',
|
|
28
|
+
{running},
|
|
29
|
+
]}
|
|
28
30
|
><span {...item_attrs} style:animation-delay="0s"
|
|
29
31
|
>{#if children}{@render children(0)}{:else}•{/if}</span
|
|
30
32
|
><span {...item_attrs} style:animation-delay="0.09s"
|
|
@@ -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'> & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingAnimation.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/PendingAnimation.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAEvD,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;CACpC,CAAC;
|
|
1
|
+
{"version":3,"file":"PendingAnimation.svelte.d.ts","sourceRoot":"../src/lib/","sources":["../src/lib/PendingAnimation.svelte"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,2BAA2B,CAAC;AAC1D,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,QAAQ,CAAC;AACpC,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,iBAAiB,CAAC;AAEvD,KAAK,gBAAgB,GAAI,UAAU,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAAG;IAC7E,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC;CACpC,CAAC;AA4BH,QAAA,MAAM,gBAAgB,sDAAwC,CAAC;AAC/D,KAAK,gBAAgB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC5D,eAAe,gBAAgB,CAAC"}
|
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,
|
|
@@ -31,8 +31,7 @@
|
|
|
31
31
|
<button
|
|
32
32
|
type="button"
|
|
33
33
|
{...rest}
|
|
34
|
-
class
|
|
35
|
-
class:plain
|
|
34
|
+
class={[rest.class, {inline, plain}]}
|
|
36
35
|
onclick={(e) => {
|
|
37
36
|
selected_variable.value = variable;
|
|
38
37
|
onclick?.(e);
|
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,
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
viewBox={data.viewBox ?? '0 0 100 100'}
|
|
80
80
|
{...rest}
|
|
81
81
|
aria-label={label ?? data.label ?? rest['aria-label']}
|
|
82
|
-
class
|
|
82
|
+
class={[rest.class, {inline}]}
|
|
83
83
|
style:width={final_width}
|
|
84
84
|
style:height={final_height}
|
|
85
85
|
style:flex-shrink={shrink ? 1 : 0}
|
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
|
|
|
@@ -35,11 +35,10 @@
|
|
|
35
35
|
<li class="row" role="none">
|
|
36
36
|
<button
|
|
37
37
|
type="button"
|
|
38
|
-
class=
|
|
38
|
+
class={['theme-button color_a', {selected}]}
|
|
39
39
|
role="menuitemradio"
|
|
40
40
|
aria-label="{theme.name} theme"
|
|
41
41
|
aria-checked={selected}
|
|
42
|
-
class:selected
|
|
43
42
|
onclick={(e) => {
|
|
44
43
|
swallow(e);
|
|
45
44
|
if (select?.(theme) !== false) {
|