From e569f220ae88371b8bd5c5cd83dd6208f15e3bec Mon Sep 17 00:00:00 2001 From: CatMe0w Date: Fri, 23 Aug 2024 03:15:37 -0600 Subject: [PATCH 1/7] Fix SVG imports --- web/src/ferrostar-core.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/ferrostar-core.ts b/web/src/ferrostar-core.ts index 35dbef70..424afafa 100644 --- a/web/src/ferrostar-core.ts +++ b/web/src/ferrostar-core.ts @@ -8,6 +8,7 @@ import init, { NavigationController, RouteAdapter } from "ferrostar"; import "./instructions-view"; import "./arrival-view"; import { BrowserLocationProvider } from "./location"; +import CloseSvg from "./assets/directions/close.svg"; @customElement("ferrostar-core") export class FerrostarCore extends LitElement { @@ -281,7 +282,7 @@ export class FerrostarCore extends LitElement {
From 970829115fd9f62c85538df4127a98d837236152 Mon Sep 17 00:00:00 2001 From: CatMe0w Date: Fri, 23 Aug 2024 04:27:33 -0600 Subject: [PATCH 2/7] Finalize web component library workflows --- web/index.html | 4 +- web/package-lock.json | 765 ++---------------------------------------- web/package.json | 14 +- web/src/main.ts | 3 + web/vite.config.js | 11 - web/vite.config.ts | 20 ++ 6 files changed, 66 insertions(+), 751 deletions(-) create mode 100644 web/src/main.ts delete mode 100644 web/vite.config.js create mode 100644 web/vite.config.ts diff --git a/web/index.html b/web/index.html index ebc873bf..0fcb310d 100644 --- a/web/index.html +++ b/web/index.html @@ -5,8 +5,6 @@ Ferrostar Web Demo - -

@@ -32,7 +30,7 @@ >