@meaningfully/ui 0.0.4 → 0.0.5

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 CHANGED
@@ -1,3 +1,5 @@
1
1
  # meaningfully-ui
2
2
 
3
- This is a library of UI components for [meaningfully](https://www.github.com/jeremybmerrill/meaningfully), which is an app (or collection of apps!) for semantic search over spreadsheets. See the main repo URL for more discussion.
3
+ This is a library of UI components for [meaningfully](https://www.github.com/jeremybmerrill/meaningfully), which is an app (or collection of apps!) for semantic search over spreadsheets. See the main repo URL for more discussion.
4
+
5
+
package/dist/App.svelte CHANGED
@@ -11,10 +11,11 @@
11
11
 
12
12
  interface Props {
13
13
  api: MeaningfullyAPI;
14
+ basePath: string;
14
15
  }
15
- let { api }: Props = $props();
16
+ let { api, basePath }: Props = $props();
16
17
 
17
- let url = $state("");
18
+ let url = $state(basePath || '');
18
19
  // Ensure $state returns Settings | null
19
20
  let settings = $state<Settings | null>(null);
20
21
 
@@ -83,4 +84,4 @@
83
84
  <span class="nav-link">© 2025</span>
84
85
  </nav>
85
86
 
86
- </Router>
87
+ </Router>
@@ -1,6 +1,7 @@
1
1
  import type { MeaningfullyAPI } from './types.js';
2
2
  interface Props {
3
3
  api: MeaningfullyAPI;
4
+ basePath: string;
4
5
  }
5
6
  declare const App: import("svelte").Component<Props, {}, "">;
6
7
  type App = ReturnType<typeof App>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meaningfully/ui",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "license": "MIT",
5
5
  "description": "Svelte components for meaningfully semantic search",
6
6
  "repo": "https://github.com/jeremybmerrill/meaningfully-ui",