@cosmicdrift/kumiko-renderer 0.370.0 → 0.371.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.
@@ -134,7 +134,10 @@ export function ScreenMissingState({ screenQn, homeScreenId, testId = "kumiko-sc
134
134
  useEffect(() => {
135
135
  console.warn(`[kumiko] screen "${screenQn}" is not in the schema (feature disabled, stale link or miswired screen).`);
136
136
  }, [screenQn]);
137
- return (_jsxs(Card, { options: { padded: true }, testId: testId, children: [_jsx(Text, { testId: `${testId}-title`, children: t("kumiko.screen-missing.title") }), _jsx(Text, { variant: "muted", children: t("kumiko.screen-missing.hint") }), homeScreenId !== undefined && (_jsx(ScreenMissingHomeButton, { homeScreenId: homeScreenId, testId: `${testId}-home` }))] }));
137
+ return (_jsx(Card, { options: { padded: true }, slots: {
138
+ title: _jsx(Text, { testId: `${testId}-title`, children: t("kumiko.screen-missing.title") }),
139
+ subtitle: _jsx(Text, { variant: "muted", children: t("kumiko.screen-missing.hint") }),
140
+ }, testId: testId, children: homeScreenId !== undefined ? (_jsx(ScreenMissingHomeButton, { homeScreenId: homeScreenId, testId: `${testId}-home` })) : null }));
138
141
  }
139
142
  function ScreenAccessDeniedBanner({ screenQn, testId, }) {
140
143
  const { Banner } = usePrimitives();
@@ -257,6 +257,7 @@ export const kumikoDefaultTranslations = {
257
257
  "errors.validation.failed": "Validation failed.",
258
258
  "errors.feature.disabled": "This feature is currently unavailable.",
259
259
  "errors.access.denied": "You don't have permission to do this.",
260
+ "errors.demoReadOnly": "This live demo is read-only.",
260
261
  "errors.notFound": "Not found.",
261
262
  "errors.conflict": "Conflict — the operation could not be completed.",
262
263
  "errors.versionConflict": "The record was modified in the meantime. Reload and try again.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer",
3
- "version": "0.370.0",
3
+ "version": "0.371.0",
4
4
  "description": "Platform-agnostic React renderer for Kumiko screens. Contains the shared logic — primitives-contract, hooks, KumikoScreen, navigation & SSE abstractions — that any platform-specific renderer (web, native) composes. No DOM, no EventSource, no react-dom.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -15,9 +15,9 @@
15
15
  }
16
16
  },
17
17
  "dependencies": {
18
- "@cosmicdrift/kumiko-framework": "0.370.0",
19
- "@cosmicdrift/kumiko-headless": "0.370.0",
20
- "@cosmicdrift/kumiko-types": "0.370.0",
18
+ "@cosmicdrift/kumiko-framework": "0.371.0",
19
+ "@cosmicdrift/kumiko-headless": "0.371.0",
20
+ "@cosmicdrift/kumiko-types": "0.371.0",
21
21
  "react": "^19.2.6",
22
22
  "temporal-polyfill": "^0.3.2",
23
23
  "zod": "^4.4.3"
@@ -28,7 +28,7 @@
28
28
  "@types/react-dom": "^19.2.3",
29
29
  "jsdom": "^29.1.1",
30
30
  "react-dom": "^19.2.6",
31
- "@cosmicdrift/kumiko-locale-de": "0.370.0"
31
+ "@cosmicdrift/kumiko-locale-de": "0.371.0"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
package/src/changes.json CHANGED
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.371.0",
4
+ "type": "improvement",
5
+ "title": "Missing-screen page spaces title and hint like other cards",
6
+ "detail": "The page-not-available card renders title and hint through the Card title and subtitle slots."
7
+ },
2
8
  {
3
9
  "version": "0.368.0",
4
10
  "type": "fix",