@cosmicdrift/kumiko-renderer 0.198.0 → 0.199.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 +3 -3
- package/src/app/kumiko-screen.tsx +9 -5
- package/src/index.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.199.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,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@cosmicdrift/kumiko-framework": "0.
|
|
19
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
18
|
+
"@cosmicdrift/kumiko-framework": "0.199.0",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.199.0",
|
|
20
20
|
"react": "^19.2.6",
|
|
21
21
|
"temporal-polyfill": "^0.3.2",
|
|
22
22
|
"zod": "^4.4.3"
|
|
@@ -1282,12 +1282,16 @@ function EntityListBody({
|
|
|
1282
1282
|
? (row: ListRowViewModel) => onRowClick(row, screen.entity)
|
|
1283
1283
|
: undefined;
|
|
1284
1284
|
|
|
1285
|
-
// Searchable
|
|
1286
|
-
//
|
|
1287
|
-
//
|
|
1285
|
+
// Searchable default: explicit author choice wins, otherwise auto-on when
|
|
1286
|
+
// the entity has searchable fields (dead toolbar slot otherwise — the
|
|
1287
|
+
// server search index has nothing to filter). Gated on
|
|
1288
|
+
// schema.searchAdapterMissing !== true regardless of source (explicit or
|
|
1289
|
+
// auto) — a search bar the server can't serve would 422 at request-time
|
|
1290
|
+
// (#2032); matches the boot-time check in api/server.ts (#2051).
|
|
1288
1291
|
const searchable =
|
|
1289
|
-
|
|
1290
|
-
|
|
1292
|
+
schema.searchAdapterMissing !== true &&
|
|
1293
|
+
(screen.searchable ??
|
|
1294
|
+
Object.values(entity.fields).some((f) => "searchable" in f && f.searchable === true));
|
|
1291
1295
|
|
|
1292
1296
|
// Pager-Props nur bei pagination="pages" zusammenstellen. Server-
|
|
1293
1297
|
// total kommt async — bis es da ist, rendert RenderList die Tabelle
|
package/src/index.ts
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
// eigenen Bootstrap schreiben will. Normale Samples gehen über
|
|
10
10
|
// @cosmicdrift/kumiko-renderer-web/createKumikoApp, das alle Provider verdrahtet.
|
|
11
11
|
|
|
12
|
+
export { synthesizeActionFormEntity, synthesizeActionFormScreen } from "./app/action-form-shim";
|
|
12
13
|
export type { AppFeaturesProviderProps } from "./app/app-features-context";
|
|
13
14
|
export { AppFeaturesProvider, useAppFeatures } from "./app/app-features-context";
|
|
14
15
|
export type {
|