@cosmicdrift/kumiko-renderer 0.171.2 → 0.173.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",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.173.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.173.0",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.173.0",
|
|
20
20
|
"react": "^19.2.6",
|
|
21
21
|
"temporal-polyfill": "^0.3.2"
|
|
22
22
|
},
|
|
@@ -2,7 +2,7 @@ import type {
|
|
|
2
2
|
EntityDefinition,
|
|
3
3
|
EntityEditScreenDefinition,
|
|
4
4
|
} from "@cosmicdrift/kumiko-framework/ui-types";
|
|
5
|
-
import type { FormValues, SubmitResult
|
|
5
|
+
import type { FormValues, SubmitResult } from "@cosmicdrift/kumiko-headless";
|
|
6
6
|
import { type ReactNode, useMemo } from "react";
|
|
7
7
|
import { buildInitialValues } from "../app/kumiko-screen";
|
|
8
8
|
import { toKebab } from "../app/qn";
|
|
@@ -36,7 +36,6 @@ export type ReferenceCreateDialogProps = {
|
|
|
36
36
|
readonly featureName: string;
|
|
37
37
|
readonly screen: EntityEditScreenDefinition;
|
|
38
38
|
readonly entity: EntityDefinition;
|
|
39
|
-
readonly translate?: Translate;
|
|
40
39
|
};
|
|
41
40
|
|
|
42
41
|
export function ReferenceCreateDialog({
|
|
@@ -46,7 +45,6 @@ export function ReferenceCreateDialog({
|
|
|
46
45
|
featureName,
|
|
47
46
|
screen,
|
|
48
47
|
entity,
|
|
49
|
-
translate,
|
|
50
48
|
}: ReferenceCreateDialogProps): ReactNode {
|
|
51
49
|
const { Modal } = usePrimitives();
|
|
52
50
|
const t = useTranslation();
|
|
@@ -73,7 +71,6 @@ export function ReferenceCreateDialog({
|
|
|
73
71
|
onSubmit={handleSubmitted}
|
|
74
72
|
onCancel={onClose}
|
|
75
73
|
{...(screen.submitLabel !== undefined && { submitLabel: screen.submitLabel })}
|
|
76
|
-
{...(translate !== undefined && { translate })}
|
|
77
74
|
/>
|
|
78
75
|
</Modal>
|
|
79
76
|
);
|