@cosmicdrift/kumiko-renderer 0.409.0 → 0.410.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.
@@ -152,7 +152,7 @@ export async function resolveSuccessMessageParams(screen, featureName, values, d
152
152
  export function resolveActionFormSummary(summary, prefill, translate, locale) {
153
153
  if (summary === undefined)
154
154
  return undefined;
155
- const params = formatSummaryParams(prefill, locale);
155
+ const params = { ...formatSummaryParams(prefill, locale), ...summary.params };
156
156
  return {
157
157
  title: translate(summary.title, params),
158
158
  ...(summary.subtitle !== undefined && { subtitle: translate(summary.subtitle, params) }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-renderer",
3
- "version": "0.409.0",
3
+ "version": "0.410.0",
4
4
  "description": "React renderer for Kumiko screens. The root export holds the platform-agnostic logic (primitives contract, hooks, KumikoScreen, navigation and SSE abstractions); ./headless the DOM-free UI logic, ./live the HTTP dispatcher, ./web the browser bindings (HTML primitives, history navigation, EventSource live events, createKumikoApp).",
5
5
  "license": "MIT",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -48,8 +48,8 @@
48
48
  }
49
49
  },
50
50
  "dependencies": {
51
- "@cosmicdrift/kumiko-framework": "0.409.0",
52
- "@cosmicdrift/kumiko-types": "0.409.0",
51
+ "@cosmicdrift/kumiko-framework": "0.410.0",
52
+ "@cosmicdrift/kumiko-types": "0.410.0",
53
53
  "@types/qrcode": "^1.5.6",
54
54
  "class-variance-authority": "^0.7.1",
55
55
  "clsx": "^2.1.1",
@@ -79,8 +79,8 @@
79
79
  }
80
80
  },
81
81
  "devDependencies": {
82
- "@cosmicdrift/kumiko-locale-de": "0.409.0",
83
- "@cosmicdrift/kumiko-testing": "0.409.0",
82
+ "@cosmicdrift/kumiko-locale-de": "0.410.0",
83
+ "@cosmicdrift/kumiko-testing": "0.410.0",
84
84
  "@tailwindcss/cli": "^4.3.3",
85
85
  "@testing-library/react": "^16.3.3",
86
86
  "@testing-library/user-event": "^14.6.8",
package/src/changes.json CHANGED
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.410.0",
4
+ "type": "improvement",
5
+ "title": "actionForm summary params",
6
+ "detail": "`summary.params` (`Record<string, string>`) of an actionForm screen interpolates fixed values, such as an app name a feature option sets, into the summary title and subtitle. They are merged with the formatted drawer prefill and win on a name clash."
7
+ },
2
8
  {
3
9
  "version": "0.409.0",
4
10
  "type": "improvement",