@cosmicdrift/kumiko-renderer 0.341.0 → 0.342.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/dist/primitives.d.ts +6 -2
- package/package.json +5 -5
- package/src/changes.json +6 -0
package/dist/primitives.d.ts
CHANGED
|
@@ -107,8 +107,12 @@ export type BannerProps = {
|
|
|
107
107
|
/** "error" for alerts (conflict, network error), "info" for neutral
|
|
108
108
|
* placeholders (not-found, loading), "loading" for load states, "warning"
|
|
109
109
|
* for a non-blocking but attention-grabbing notice (e.g. secretMint's
|
|
110
|
-
* "this is shown only once")
|
|
111
|
-
|
|
110
|
+
* "this is shown only once"), "primary" for a call-to-action notice (neutral
|
|
111
|
+
* background, accent in the primary color; pair it with `title` and `actions`). */
|
|
112
|
+
readonly variant?: "error" | "info" | "loading" | "warning" | "primary";
|
|
113
|
+
/** Bold heading above `children`, inside the text column. */
|
|
114
|
+
readonly title?: ReactNode;
|
|
115
|
+
readonly titleTestId?: string;
|
|
112
116
|
readonly children: ReactNode;
|
|
113
117
|
/** Optional — weitere Knöpfe/Elemente rechts vom Text (z.B. "Neu
|
|
114
118
|
* laden"). Inline, nicht als eigener Block. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cosmicdrift/kumiko-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.342.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.
|
|
19
|
-
"@cosmicdrift/kumiko-headless": "0.
|
|
20
|
-
"@cosmicdrift/kumiko-types": "0.
|
|
18
|
+
"@cosmicdrift/kumiko-framework": "0.342.0",
|
|
19
|
+
"@cosmicdrift/kumiko-headless": "0.342.0",
|
|
20
|
+
"@cosmicdrift/kumiko-types": "0.342.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.
|
|
31
|
+
"@cosmicdrift/kumiko-locale-de": "0.342.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.342.0",
|
|
4
|
+
"type": "improvement",
|
|
5
|
+
"title": "Banner gets title, titleTestId and variant \"primary\"",
|
|
6
|
+
"detail": "Banner takes title, titleTestId and variant \"primary\"\n`BannerProps` gets `title` (bold heading above the text), `titleTestId` and the variant `\"primary\"` for call-to-action notices: left accent in the primary color, neutral background, `actions` right of the text on wide screens and below it on narrow ones. Existing variants render unchanged."
|
|
7
|
+
},
|
|
2
8
|
{
|
|
3
9
|
"version": "0.341.0",
|
|
4
10
|
"type": "fix",
|