@cosmicdrift/kumiko-renderer-web 0.82.0 → 0.84.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-renderer-web",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.84.0",
|
|
4
4
|
"description": "Web-platform bindings for @cosmicdrift/kumiko-renderer. HTML default-primitives, browser history-based navigation, EventSource-backed live events, and a one-call createKumikoApp that mounts the whole stack via react-dom.",
|
|
5
5
|
"license": "BUSL-1.1",
|
|
6
6
|
"author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
"./styles.css": "./src/styles.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@cosmicdrift/kumiko-dispatcher-live": "0.
|
|
20
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
21
|
-
"@cosmicdrift/kumiko-renderer": "0.
|
|
19
|
+
"@cosmicdrift/kumiko-dispatcher-live": "0.84.0",
|
|
20
|
+
"@cosmicdrift/kumiko-headless": "0.84.0",
|
|
21
|
+
"@cosmicdrift/kumiko-renderer": "0.84.0",
|
|
22
22
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
23
23
|
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
24
24
|
"@radix-ui/react-label": "^2.1.8",
|
|
@@ -11,6 +11,7 @@ import {
|
|
|
11
11
|
DispatcherProvider,
|
|
12
12
|
ExtensionSectionsProvider,
|
|
13
13
|
KumikoScreen,
|
|
14
|
+
kumikoDefaultTranslations,
|
|
14
15
|
} from "@cosmicdrift/kumiko-renderer";
|
|
15
16
|
import userEvent from "@testing-library/user-event";
|
|
16
17
|
import { createMockDispatcher, fireEvent, render, screen, waitFor } from "./test-utils";
|
|
@@ -352,10 +353,13 @@ describe("KumikoScreen", () => {
|
|
|
352
353
|
fireEvent.change(titleInput, { target: { value: "edited" } });
|
|
353
354
|
fireEvent.click(screen.getByTestId("render-edit-submit"));
|
|
354
355
|
|
|
355
|
-
// Banner
|
|
356
|
+
// Banner zeigt die ÜBERSETZTE version-conflict-Message (kein roher i18nKey)
|
|
357
|
+
// und bietet einen Reload-Button. Gegen das Default-Bundle assertet, damit
|
|
358
|
+
// die Verdrahtung i18nKey → translate → Banner geprüft wird, ohne am
|
|
359
|
+
// konkreten Wording festzukleben.
|
|
356
360
|
await waitFor(() => expect(screen.queryByTestId("render-edit-form-error")).toBeTruthy());
|
|
357
361
|
expect(screen.getByTestId("render-edit-form-error-key").textContent).toBe(
|
|
358
|
-
"errors.versionConflict",
|
|
362
|
+
kumikoDefaultTranslations["en"]?.["errors.versionConflict"] ?? "",
|
|
359
363
|
);
|
|
360
364
|
|
|
361
365
|
expect(detailCalls).toBe(1);
|