diff --git a/package-lock.json b/package-lock.json index 5f1c08a..3d41825 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.0.1", "dependencies": { "@fortawesome/free-regular-svg-icons": "^6.6.0", - "onebusaway-sdk": "^0.1.0-alpha.40" + "onebusaway-sdk": "^1.0.1" }, "devDependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.2", @@ -3269,9 +3269,9 @@ } }, "node_modules/onebusaway-sdk": { - "version": "0.1.0-alpha.40", - "resolved": "https://registry.npmjs.org/onebusaway-sdk/-/onebusaway-sdk-0.1.0-alpha.40.tgz", - "integrity": "sha512-SpkVWds2O/r8nD/vnptA2bZHUikAHtQHuaEqxewvCHeOQQSg8zGB05HxImO/ScAnPRfAhQ1tWTKXNY5++q1rww==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/onebusaway-sdk/-/onebusaway-sdk-1.0.1.tgz", + "integrity": "sha512-QBM7xB9KT1txhVkejyaUeZol36bgNaKEMs0xCvMC9IBvmyCZwIGXomUO6MilWnzlVUFF62Z2A4Dcfeu4PxbSZA==", "dependencies": { "@types/node": "^18.11.18", "@types/node-fetch": "^2.6.4", diff --git a/package.json b/package.json index 4601241..d80b5b9 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,6 @@ "type": "module", "dependencies": { "@fortawesome/free-regular-svg-icons": "^6.6.0", - "onebusaway-sdk": "^0.1.0-alpha.40" + "onebusaway-sdk": "^1.0.1" } } diff --git a/src/app.css b/src/app.css index b5c61c9..db19a19 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,11 @@ @tailwind base; @tailwind components; @tailwind utilities; + +.scroll-hidden { + -ms-overflow-style: none; /* Internet Explorer 10+ */ + scrollbar-width: none; /* Firefox */ +} +.scroll-hidden::-webkit-scrollbar { + display: none; /* Safari and Chrome */ +} diff --git a/src/components/navigation/Header.svelte b/src/components/navigation/Header.svelte index c196704..02f854e 100644 --- a/src/components/navigation/Header.svelte +++ b/src/components/navigation/Header.svelte @@ -17,7 +17,8 @@ try { const response = await fetch(`/api/oba/search?query=${encodeURIComponent(searchInput)}`); const results = await response.json(); - console.log('Search API response:', results); + console.log('Route results:', results.routeSearchResults); + console.log('Stop results:', results.stopSearchResults); dispatch('searchResults', results); } catch (error) { console.error('Error fetching search results:', error); diff --git a/src/components/navigation/ModalPane.svelte b/src/components/navigation/ModalPane.svelte index fd6e5a0..e544ec5 100644 --- a/src/components/navigation/ModalPane.svelte +++ b/src/components/navigation/ModalPane.svelte @@ -14,7 +14,11 @@ } -