@lokascript/i18n 4.0.0 → 4.1.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": "@lokascript/i18n",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "Keyword dictionaries, keyword providers and grammar profiles for hyperscript",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "homepage": "https://github.com/codetalcott/hyperfixi/tree/main/packages/i18n#readme",
66
66
  "dependencies": {
67
- "@lokascript/semantic": "^4.0.0",
67
+ "@lokascript/semantic": "^4.1.0",
68
68
  "esbuild": "^0.25.12",
69
69
  "happy-dom": "^20.14.5",
70
70
  "vite": "^8.3.1"
package/src/constants.ts CHANGED
@@ -72,6 +72,7 @@ export const COMMAND_PRIMARY_ROLES: Readonly<Record<string, SemanticRole>> = {
72
72
  // element being morphed — aligned with the transformer's patient marking
73
73
  // in the session-9 role-layout swap), and patient is the default.
74
74
  bind: 'destination',
75
+ viewTransition: 'style', // `start view transition using "<type>"`
75
76
  } as const;
76
77
 
77
78
  /**
@@ -49,6 +49,9 @@ export const en: Dictionary = {
49
49
  catch: 'catch',
50
50
  measure: 'measure',
51
51
  transition: 'transition',
52
+ // Upstream's block opener: English in every language, as semantic writes it
53
+ // (patterns/view-transition.ts), so no other dictionary translates it.
54
+ viewTransition: 'start view transition',
52
55
 
53
56
  // Data Commands
54
57
  increment: 'increment',