@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/dist/browser.cjs +3 -0
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.js +3 -0
- package/dist/browser.js.map +1 -1
- package/dist/dictionaries/index.cjs +3 -0
- package/dist/dictionaries/index.cjs.map +1 -1
- package/dist/dictionaries/index.js +3 -0
- package/dist/dictionaries/index.js.map +1 -1
- package/dist/index.cjs +3 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/lokascript-i18n.min.js +1 -1
- package/dist/lokascript-i18n.min.js.map +1 -1
- package/dist/lokascript-i18n.mjs +3 -0
- package/dist/lokascript-i18n.mjs.map +1 -1
- package/dist/plugins/vite.cjs +3 -0
- package/dist/plugins/vite.cjs.map +1 -1
- package/dist/plugins/vite.js +3 -0
- package/dist/plugins/vite.js.map +1 -1
- package/dist/plugins/webpack.cjs +3 -0
- package/dist/plugins/webpack.cjs.map +1 -1
- package/dist/plugins/webpack.js +3 -0
- package/dist/plugins/webpack.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -0
- package/src/dictionaries/en.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokascript/i18n",
|
|
3
|
-
"version": "4.
|
|
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.
|
|
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
|
/**
|
package/src/dictionaries/en.ts
CHANGED
|
@@ -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',
|