create-middag-ui 0.7.2 → 0.8.0
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/lib/scaffold.js +2 -1
- package/package.json +1 -1
package/lib/scaffold.js
CHANGED
|
@@ -939,10 +939,11 @@ function buildNavigation() {
|
|
|
939
939
|
|
|
940
940
|
const mockSharedProps = {
|
|
941
941
|
auth: { id: 1, name: "Dev User", email: "dev@localhost", capabilities: [] },
|
|
942
|
-
theme: { appearance: "light" as const },
|
|
942
|
+
theme: { appearance: "light" as const, strings: {} as Record<string, string> },
|
|
943
943
|
flash: {},
|
|
944
944
|
locale: "en",
|
|
945
945
|
version: "0.0.0-mock",
|
|
946
|
+
scope: { extension: null, context: "global" },
|
|
946
947
|
};
|
|
947
948
|
|
|
948
949
|
export function usePage<T = Record<string, unknown>>(): { props: T; url: string } {
|