From d3296fc1ad575ba4a0a3a1f8c937b1ea2304c569 Mon Sep 17 00:00:00 2001 From: Ryan Atkinson Date: Fri, 16 Feb 2024 11:20:08 -0800 Subject: [PATCH] publish `Page_Menu` (#4) --- .changeset/green-foxes-itch.md | 5 +++++ package.json | 5 +++++ src/lib/Page_Footer.svelte | 9 ++++++--- src/lib/Page_Header.svelte | 4 ++-- src/{routes => lib}/Page_Menu.svelte | 2 +- src/routes/+page.svelte | 2 +- src/routes/Page_Footer.svelte | 27 --------------------------- src/routes/Page_Header.svelte | 16 ---------------- src/routes/package.ts | 6 ++++++ 9 files changed, 26 insertions(+), 50 deletions(-) create mode 100644 .changeset/green-foxes-itch.md rename src/{routes => lib}/Page_Menu.svelte (79%) delete mode 100644 src/routes/Page_Footer.svelte delete mode 100644 src/routes/Page_Header.svelte diff --git a/.changeset/green-foxes-itch.md b/.changeset/green-foxes-itch.md new file mode 100644 index 000000000..a99d559ab --- /dev/null +++ b/.changeset/green-foxes-itch.md @@ -0,0 +1,5 @@ +--- +'@ryanatkn/fuz': patch +--- + +publish `Page_Menu` diff --git a/package.json b/package.json index 52c202292..20eac088d 100644 --- a/package.json +++ b/package.json @@ -308,6 +308,11 @@ "default": "./dist/Page_Header.svelte", "types": "./dist/Page_Header.svelte.d.ts" }, + "./Page_Menu.svelte": { + "svelte": "./dist/Page_Menu.svelte", + "default": "./dist/Page_Menu.svelte", + "types": "./dist/Page_Menu.svelte.d.ts" + }, "./Pending_Animation.svelte": { "svelte": "./dist/Pending_Animation.svelte", "default": "./dist/Pending_Animation.svelte", diff --git a/src/lib/Page_Footer.svelte b/src/lib/Page_Footer.svelte index c6ef52783..13ae4efb5 100644 --- a/src/lib/Page_Footer.svelte +++ b/src/lib/Page_Footer.svelte @@ -1,18 +1,21 @@ diff --git a/src/lib/Page_Header.svelte b/src/lib/Page_Header.svelte index 83109648d..c1ac55b06 100644 --- a/src/lib/Page_Header.svelte +++ b/src/lib/Page_Header.svelte @@ -2,11 +2,11 @@ import Breadcrumb from '$lib/Breadcrumb.svelte'; import type {Package_Meta} from '$lib/package_meta.js'; - export let pkg: Package_Meta; + export let pkg: Package_Meta | {url: string; package_json: null};
- {pkg.package_json.icon} + {pkg.package_json?.icon}
diff --git a/src/routes/Page_Header.svelte b/src/routes/Page_Header.svelte deleted file mode 100644 index c1ac55b06..000000000 --- a/src/routes/Page_Header.svelte +++ /dev/null @@ -1,16 +0,0 @@ - - -
- {pkg.package_json?.icon} -
- - diff --git a/src/routes/package.ts b/src/routes/package.ts index cabfdecae..0d36087c3 100644 --- a/src/routes/package.ts +++ b/src/routes/package.ts @@ -251,6 +251,11 @@ export const package_json = { default: './dist/Page_Header.svelte', types: './dist/Page_Header.svelte.d.ts', }, + './Page_Menu.svelte': { + svelte: './dist/Page_Menu.svelte', + default: './dist/Page_Menu.svelte', + types: './dist/Page_Menu.svelte.d.ts', + }, './Pending_Animation.svelte': { svelte: './dist/Pending_Animation.svelte', default: './dist/Pending_Animation.svelte', @@ -505,6 +510,7 @@ export const src_json = { './Package_Summary.svelte': {path: 'Package_Summary.svelte', declarations: []}, './Page_Footer.svelte': {path: 'Page_Footer.svelte', declarations: []}, './Page_Header.svelte': {path: 'Page_Header.svelte', declarations: []}, + './Page_Menu.svelte': {path: 'Page_Menu.svelte', declarations: []}, './Pending_Animation.svelte': {path: 'Pending_Animation.svelte', declarations: []}, './Pending_Button.svelte': {path: 'Pending_Button.svelte', declarations: []}, './Pull_Requests_Detail.svelte': {path: 'Pull_Requests_Detail.svelte', declarations: []},