@hyperfixi/core 3.1.1 → 3.3.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.
Files changed (97) hide show
  1. package/README.md +28 -36
  2. package/dist/ast/command-slots.d.ts +1 -1
  3. package/dist/ast/nodes.d.ts +2 -0
  4. package/dist/ast-utils/index.cjs +193 -48
  5. package/dist/ast-utils/index.mjs +193 -48
  6. package/dist/ast-utils/interchange/types.d.ts +19 -1
  7. package/dist/behaviors/index.cjs +19 -0
  8. package/dist/behaviors/index.mjs +19 -0
  9. package/dist/bundle-generator/index.cjs +36 -17
  10. package/dist/bundle-generator/index.mjs +36 -17
  11. package/dist/bundle-generator/parser-templates.d.ts +1 -1
  12. package/dist/chunks/bridge-CI9SOl8u.js +2 -0
  13. package/dist/chunks/browser-modular-7CpI5VF2.js +2 -0
  14. package/dist/chunks/index-BwXDEK0m.js +2 -0
  15. package/dist/chunks/index-DQi2o8Lk.js +2 -0
  16. package/dist/chunks/index-uCOQ8Qn0.js +2 -0
  17. package/dist/commands/animation/transition.d.ts +12 -6
  18. package/dist/commands/helpers/loop-executor.d.ts +2 -2
  19. package/dist/commands/helpers/numeric-target-parser.d.ts +1 -1
  20. package/dist/commands/helpers/variable-access.d.ts +5 -2
  21. package/dist/commands/helpers/write-target.d.ts +5 -0
  22. package/dist/commands/index.cjs +938 -425
  23. package/dist/commands/index.mjs +938 -425
  24. package/dist/commands/templates/render.d.ts +4 -4
  25. package/dist/commands/utility/beep.d.ts +0 -3
  26. package/dist/expressions/index.cjs +7 -13
  27. package/dist/expressions/index.mjs +7 -13
  28. package/dist/htmx/i18n-hooks.d.ts +4 -1
  29. package/dist/hyperfixi-browser-classic-i18n.js +1 -1
  30. package/dist/hyperfixi-browser.js +1 -1
  31. package/dist/hyperfixi-classic-i18n.js +1 -1
  32. package/dist/hyperfixi-hx-v4.js +1 -1
  33. package/dist/hyperfixi-hx.js +1 -1
  34. package/dist/hyperfixi-hybrid-complete.js +1 -1
  35. package/dist/hyperfixi-hybrid-hx.js +1 -1
  36. package/dist/hyperfixi-multilingual.js +1 -1
  37. package/dist/hyperfixi.js +1 -1
  38. package/dist/hyperfixi.mjs +1 -1
  39. package/dist/index.cjs +1149 -485
  40. package/dist/index.min.js +1 -1
  41. package/dist/index.mjs +1149 -485
  42. package/dist/lib/swap-executor.d.ts +1 -1
  43. package/dist/lokascript-browser-classic-i18n.js +1 -1
  44. package/dist/lokascript-browser.js +1 -1
  45. package/dist/lokascript-hybrid-complete.js +1 -1
  46. package/dist/lokascript-hybrid-hx.js +1 -1
  47. package/dist/lokascript-multilingual.js +1 -1
  48. package/dist/metadata.cjs +9 -9
  49. package/dist/metadata.d.ts +1 -1
  50. package/dist/metadata.mjs +9 -9
  51. package/dist/parser/command-grammar.d.ts +1 -0
  52. package/dist/parser/full-parser.cjs +396 -153
  53. package/dist/parser/full-parser.mjs +396 -153
  54. package/dist/parser/helpers/parsing-helpers.d.ts +3 -0
  55. package/dist/parser/hybrid/index.cjs +3 -0
  56. package/dist/parser/hybrid/index.mjs +3 -0
  57. package/dist/parser/hybrid/parser-core.cjs +3 -0
  58. package/dist/parser/hybrid/parser-core.mjs +3 -0
  59. package/dist/parser/hybrid-parser.cjs +3 -0
  60. package/dist/parser/hybrid-parser.mjs +3 -0
  61. package/dist/parser/parser-types.d.ts +2 -0
  62. package/dist/parser/parser.d.ts +9 -0
  63. package/dist/parser/pratt-parser.d.ts +2 -0
  64. package/dist/registry/index.cjs +535 -210
  65. package/dist/registry/index.mjs +535 -210
  66. package/dist/utils/beep.d.ts +8 -0
  67. package/dist/version.d.ts +1 -1
  68. package/package.json +21 -18
  69. package/vocab/htmx/ar.js +22 -20
  70. package/vocab/htmx/bn.js +21 -5
  71. package/vocab/htmx/de.js +33 -10
  72. package/vocab/htmx/en.js +4 -1
  73. package/vocab/htmx/es.js +28 -9
  74. package/vocab/htmx/fr.js +28 -8
  75. package/vocab/htmx/he.js +22 -1
  76. package/vocab/htmx/hi.js +28 -7
  77. package/vocab/htmx/id.js +29 -10
  78. package/vocab/htmx/it.js +26 -5
  79. package/vocab/htmx/ja.js +36 -11
  80. package/vocab/htmx/ko.js +27 -6
  81. package/vocab/htmx/ms.js +24 -1
  82. package/vocab/htmx/pl.js +27 -7
  83. package/vocab/htmx/pt.js +30 -9
  84. package/vocab/htmx/qu.js +32 -9
  85. package/vocab/htmx/ru.js +28 -6
  86. package/vocab/htmx/sw.js +28 -8
  87. package/vocab/htmx/th.js +19 -1
  88. package/vocab/htmx/tl.js +24 -1
  89. package/vocab/htmx/tr.js +34 -8
  90. package/vocab/htmx/uk.js +28 -6
  91. package/vocab/htmx/vi.js +27 -19
  92. package/vocab/htmx/zh.js +28 -9
  93. package/dist/chunks/bridge-D7qrHhV0.js +0 -2
  94. package/dist/chunks/browser-modular-C4LFxfoS.js +0 -2
  95. package/dist/chunks/index-C7lqD4mo.js +0 -2
  96. package/dist/chunks/index-CAPhqA6k.js +0 -2
  97. package/dist/chunks/index-CLdRyZaP.js +0 -2
@@ -0,0 +1,8 @@
1
+ export interface BeepOutput {
2
+ value: unknown;
3
+ type: string;
4
+ representation: string;
5
+ }
6
+ export declare function beepValues(me: unknown, values: readonly unknown[]): BeepOutput[];
7
+ export declare function describeBeepValue(value: unknown): BeepOutput;
8
+ //# sourceMappingURL=beep.d.ts.map
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.1.1";
1
+ export declare const VERSION = "3.3.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,9 +1,11 @@
1
1
  {
2
2
  "name": "@hyperfixi/core",
3
- "version": "3.1.1",
3
+ "version": "3.3.0",
4
4
  "description": "Multilingual, tree-shakeable hyperscript",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
7
+ "unpkg": "dist/hyperfixi.js",
8
+ "jsdelivr": "dist/hyperfixi.js",
7
9
  "module": "dist/index.mjs",
8
10
  "types": "dist/index.d.ts",
9
11
  "exports": {
@@ -176,6 +178,7 @@
176
178
  "generate:bundle": "tsx scripts/generate-inline-bundle.ts",
177
179
  "generate:bundle:textshelf": "tsx scripts/generate-inline-bundle.ts --config bundle-configs/textshelf.config.json",
178
180
  "generate:htmx-vocab": "node scripts/gen-htmx-vocab.mjs",
181
+ "check:htmx-vocab": "node scripts/gen-htmx-vocab.mjs --check",
179
182
  "dev": "rollup -c -w",
180
183
  "test": "bash ../../scripts/vitest-run.sh",
181
184
  "test:watch": "vitest",
@@ -221,28 +224,28 @@
221
224
  "update:sizes:auto": "tsx scripts/update-bundle-sizes.ts --update"
222
225
  },
223
226
  "devDependencies": {
224
- "@playwright/test": "^1.61.1",
227
+ "@playwright/test": "^1.63.0",
225
228
  "@rollup/plugin-alias": "^6.0.0",
226
229
  "@rollup/plugin-commonjs": "^29.0.3",
227
230
  "@rollup/plugin-node-resolve": "^16.0.3",
228
231
  "@rollup/plugin-replace": "^6.0.3",
229
232
  "@rollup/plugin-terser": "^1.0.0",
230
233
  "@rollup/plugin-typescript": "^12.3.0",
231
- "@vitest/coverage-v8": "^4.0.17",
232
- "@vitest/ui": "^4.0.17",
233
- "better-sqlite3": "^13.0.1",
234
- "esbuild": "^0.28.0",
235
- "happy-dom": "^20.10.6",
234
+ "@vitest/coverage-v8": "^5.0.0",
235
+ "@vitest/ui": "^5.0.2",
236
+ "better-sqlite3": "^13.0.3",
237
+ "esbuild": "^0.25.12",
238
+ "happy-dom": "^20.14.5",
236
239
  "http-server": "^14.1.1",
237
- "jsdom": "^30.0.0",
240
+ "jsdom": "^30.1.1",
238
241
  "prettier": "^3.0.0",
239
- "rollup": "^4.62.2",
240
- "rollup-plugin-visualizer": "^7.0.0",
241
- "tsx": "^4.23.1",
242
+ "rollup": "^4.63.5",
243
+ "rollup-plugin-visualizer": "^7.1.1",
244
+ "tsx": "^4.23.15",
242
245
  "typescript": "^5.8.3",
243
- "vite": "^8.1.4",
244
- "vitest": "^4.1.5",
245
- "zod": "^4.4.3"
246
+ "vite": "^8.3.1",
247
+ "vitest": "^5.0.2",
248
+ "zod": "^4.6.5"
246
249
  },
247
250
  "keywords": [
248
251
  "hyperscript",
@@ -271,14 +274,14 @@
271
274
  "access": "public"
272
275
  },
273
276
  "dependencies": {
274
- "@lokascript/intent": "^3.1.1",
275
- "@lokascript/semantic": "^3.1.1",
277
+ "@lokascript/intent": "^3.3.0",
278
+ "@lokascript/semantic": "^3.3.0",
276
279
  "morphlex": "^1.4.0",
277
280
  "tslib": "^2.8.1"
278
281
  },
279
282
  "peerDependencies": {
280
- "@hyperfixi/patterns-reference": "^3.1.1",
281
- "@lokascript/framework": "^3.1.1"
283
+ "@hyperfixi/patterns-reference": "^3.3.0",
284
+ "@lokascript/framework": "^3.3.0"
282
285
  },
283
286
  "peerDependenciesMeta": {
284
287
  "@hyperfixi/patterns-reference": {
package/vocab/htmx/ar.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: ar
3
- // Re-generate after editing packages/semantic/src/generators/profiles/arabic.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/arabic.ts
4
5
  // or packages/i18n/src/dictionaries/ar.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,44 +19,43 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-احصل": "hx-get",
22
+ "hx-انشر": "hx-post",
19
23
  "hx-ضع": "hx-put",
24
+ "hx-احذف": "hx-delete",
20
25
  "hx-الهدف": "hx-target",
26
+ "hx-تبديل": "hx-swap",
21
27
  "hx-استبدل": "hx-swap",
28
+ "hx-محفز": "hx-trigger",
22
29
  "hx-تشغيل": "hx-trigger",
30
+ "hx-تأكيد": "hx-confirm",
31
+ "hx-تعزيز": "hx-boost",
32
+ "hx-قيم": "hx-vals",
33
+ "hx-ادفع-url": "hx-push-url",
23
34
  "hx-على": "hx-on",
24
35
  "hx-مباشر": "hx-live",
36
+ "hx-مؤشر": "hx-indicator",
37
+ "hx-تضمين": "hx-include",
38
+ "hx-اختيار": "hx-select",
39
+ "hx-تبديل-oob": "hx-swap-oob",
40
+ "hx-مزامنة": "hx-sync",
25
41
  "sse-اتصل": "sse-connect",
42
+ "sse-تبديل": "sse-swap",
26
43
  "sse-استبدل": "sse-swap",
27
44
  "ws-اتصل": "ws-connect",
28
45
  "ws-أرسل": "ws-send"
29
46
  },
30
47
  events: {
48
+ "بحث": "search",
49
+ "مفتاح-أعلى": "keyup",
50
+ "دخول-الفأرة": "mouseenter",
31
51
  "نقر": "click",
32
- "نقر مزدوج": "dblclick",
33
- "فأرة أسفل": "mousedown",
34
- "فأرة أعلى": "mouseup",
35
- "فأرة دخول": "mouseenter",
36
- "فأرة خروج": "mouseleave",
37
- "فأرة فوق": "mouseover",
38
- "فأرة خارج": "mouseout",
39
- "فأرة تحرك": "mousemove",
40
- "مفتاح أسفل": "keydown",
41
- "مفتاح أعلى": "keyup",
42
- "مفتاح ضغط": "keypress",
43
52
  "تركيز": "focus",
44
53
  "ضبابية": "blur",
45
54
  "تغيير": "change",
46
55
  "إدخال": "input",
47
56
  "إرسال": "submit",
48
- "إعادة تعيين": "reset",
49
57
  "تحميل": "load",
50
- "إلغاء تحميل": "unload",
51
- "تغيير حجم": "resize",
52
- "تمرير": "scroll",
53
- "بداية لمس": "touchstart",
54
- "نهاية لمس": "touchend",
55
- "تحرك لمس": "touchmove",
56
- "إلغاء لمس": "touchcancel"
58
+ "تمرير": "scroll"
57
59
  },
58
60
  },
59
61
  });
package/vocab/htmx/bn.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: bn
3
- // Re-generate after editing packages/semantic/src/generators/profiles/bengali.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/bengali.ts
4
5
  // or packages/i18n/src/dictionaries/bn.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,18 +19,31 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-পান": "hx-get",
22
+ "hx-পোস্ট": "hx-post",
19
23
  "hx-রাখুন": "hx-put",
24
+ "hx-মুছুন": "hx-delete",
20
25
  "hx-লক্ষ্য": "hx-target",
21
26
  "hx-বদল": "hx-swap",
22
27
  "hx-ট্রিগার": "hx-trigger",
28
+ "hx-নিশ্চিত": "hx-confirm",
29
+ "hx-বুস্ট": "hx-boost",
30
+ "hx-মান": "hx-vals",
31
+ "hx-পুশ-url": "hx-push-url",
23
32
  "hx-তে": "hx-on",
24
33
  "hx-লাইভ": "hx-live",
34
+ "hx-সূচক": "hx-indicator",
35
+ "hx-অন্তর্ভুক্ত": "hx-include",
36
+ "hx-নির্বাচন": "hx-select",
37
+ "hx-বদল-oob": "hx-swap-oob",
38
+ "hx-সিঙ্ক": "hx-sync",
25
39
  "sse-কানেক্ট": "sse-connect",
26
40
  "sse-বদল": "sse-swap",
27
41
  "ws-কানেক্ট": "ws-connect",
28
42
  "ws-পাঠান": "ws-send"
29
43
  },
30
44
  events: {
45
+ "খোঁজ": "search",
46
+ "মাউস-প্রবেশ": "mouseenter",
31
47
  "ক্লিক": "click",
32
48
  "পরিবর্তন": "change",
33
49
  "ইনপুট": "input",
@@ -36,13 +52,13 @@
36
52
  "ফোকাস": "focus",
37
53
  "ঝাপসা": "blur",
38
54
  "রিসেট": "reset",
55
+ "স্ক্রোল": "scroll",
56
+ "রিসাইজ": "resize",
57
+ "প্রতি": "every",
39
58
  "কি-ডাউন": "keydown",
40
59
  "কি-আপ": "keyup",
41
60
  "মাউস-ওভার": "mouseover",
42
- "মাউস-আউট": "mouseout",
43
- "স্ক্রোল": "scroll",
44
- "রিসাইজ": "resize",
45
- "প্রতি": "every"
61
+ "মাউস-আউট": "mouseout"
46
62
  },
47
63
  },
48
64
  });
package/vocab/htmx/de.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: de
3
- // Re-generate after editing packages/semantic/src/generators/profiles/german.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/german.ts
4
5
  // or packages/i18n/src/dictionaries/de.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,44 +19,64 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-holen": "hx-get",
22
+ "hx-posten": "hx-post",
19
23
  "hx-setzen": "hx-put",
24
+ "hx-löschen": "hx-delete",
25
+ "hx-ziel": "hx-target",
20
26
  "hx-Ziel": "hx-target",
27
+ "hx-ersetzung": "hx-swap",
28
+ "hx-tausch": "hx-swap",
21
29
  "hx-austauschen": "hx-swap",
30
+ "hx-auslöser": "hx-trigger",
22
31
  "hx-auslösen": "hx-trigger",
32
+ "hx-bestätigen": "hx-confirm",
33
+ "hx-beschleunigen": "hx-boost",
34
+ "hx-werte": "hx-vals",
35
+ "hx-verlauf-url": "hx-push-url",
23
36
  "hx-bei": "hx-on",
24
37
  "hx-direkt": "hx-live",
38
+ "hx-indikator": "hx-indicator",
39
+ "hx-einbeziehen": "hx-include",
40
+ "hx-auswahl": "hx-select",
41
+ "hx-ersetzung-oob": "hx-swap-oob",
42
+ "hx-synchronisieren": "hx-sync",
25
43
  "sse-verbinden": "sse-connect",
44
+ "sse-ersetzung": "sse-swap",
45
+ "sse-tausch": "sse-swap",
26
46
  "sse-austauschen": "sse-swap",
27
47
  "ws-verbinden": "ws-connect",
28
48
  "ws-senden": "ws-send"
29
49
  },
30
50
  events: {
51
+ "suchen": "search",
31
52
  "klick": "click",
32
53
  "doppelklick": "dblclick",
33
- "mausunten": "mousedown",
34
- "mausoben": "mouseup",
35
54
  "mauseintreten": "mouseenter",
36
55
  "mausverlassen": "mouseleave",
37
- "mausüber": "mouseover",
38
- "maushinaus": "mouseout",
39
56
  "mausbewegen": "mousemove",
40
- "tasteunten": "keydown",
41
- "tasteoben": "keyup",
42
57
  "tastedrücken": "keypress",
43
58
  "fokus": "focus",
44
- "unscharf": "blur",
59
+ "defokussieren": "blur",
45
60
  "ändern": "change",
46
61
  "eingabe": "input",
47
62
  "absenden": "submit",
48
63
  "zurücksetzen": "reset",
49
64
  "laden": "load",
50
65
  "entladen": "unload",
51
- "größeändern": "resize",
66
+ "größenänderung": "resize",
52
67
  "scrollen": "scroll",
53
68
  "berührungstart": "touchstart",
54
69
  "berührungend": "touchend",
55
70
  "berührungbewegen": "touchmove",
56
- "berührungabbrechen": "touchcancel"
71
+ "berührungabbrechen": "touchcancel",
72
+ "mausunten": "mousedown",
73
+ "mausoben": "mouseup",
74
+ "mausüber": "mouseover",
75
+ "maushinaus": "mouseout",
76
+ "tasteunten": "keydown",
77
+ "tasteoben": "keyup",
78
+ "unscharf": "blur",
79
+ "größeändern": "resize"
57
80
  },
58
81
  },
59
82
  });
package/vocab/htmx/en.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: en
3
- // Re-generate after editing packages/semantic/src/generators/profiles/english.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/english.ts
4
5
  // or packages/i18n/src/dictionaries/en.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
package/vocab/htmx/es.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: es
3
- // Re-generate after editing packages/semantic/src/generators/profiles/spanish.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/spanish.ts
4
5
  // or packages/i18n/src/dictionaries/es.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,35 +19,44 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-obtener": "hx-get",
22
+ "hx-publicar": "hx-post",
19
23
  "hx-poner": "hx-put",
24
+ "hx-eliminar": "hx-delete",
20
25
  "hx-objetivo": "hx-target",
26
+ "hx-intercambio": "hx-swap",
21
27
  "hx-intercambiar": "hx-swap",
28
+ "hx-disparador": "hx-trigger",
22
29
  "hx-disparar": "hx-trigger",
30
+ "hx-confirmar": "hx-confirm",
31
+ "hx-impulsar": "hx-boost",
32
+ "hx-valores": "hx-vals",
33
+ "hx-empujar-url": "hx-push-url",
23
34
  "hx-en": "hx-on",
24
35
  "hx-en-vivo": "hx-live",
36
+ "hx-indicador": "hx-indicator",
37
+ "hx-incluir": "hx-include",
38
+ "hx-selección": "hx-select",
39
+ "hx-intercambio-oob": "hx-swap-oob",
40
+ "hx-sincronización": "hx-sync",
25
41
  "sse-conectar": "sse-connect",
42
+ "sse-intercambio": "sse-swap",
26
43
  "sse-intercambiar": "sse-swap",
27
44
  "ws-conectar": "ws-connect",
28
45
  "ws-enviar": "ws-send"
29
46
  },
30
47
  events: {
48
+ "buscar": "search",
31
49
  "clic": "click",
32
50
  "dobleclic": "dblclick",
33
- "ratónabajo": "mousedown",
34
- "ratónarriba": "mouseup",
35
51
  "ratónentrar": "mouseenter",
36
52
  "ratónsalir": "mouseleave",
37
- "ratónencima": "mouseover",
38
- "ratónfuera": "mouseout",
39
53
  "ratónmover": "mousemove",
40
- "teclaabajo": "keydown",
41
- "teclaarriba": "keyup",
42
54
  "teclapresar": "keypress",
43
55
  "enfocar": "focus",
44
56
  "desenfocar": "blur",
45
57
  "cambiar": "change",
46
58
  "entrada": "input",
47
- "enviar": "submit",
59
+ "envío": "submit",
48
60
  "reiniciar": "reset",
49
61
  "cargar": "load",
50
62
  "descargar": "unload",
@@ -53,7 +65,14 @@
53
65
  "toqueempezar": "touchstart",
54
66
  "toqueterminar": "touchend",
55
67
  "toquemover": "touchmove",
56
- "toquecancelar": "touchcancel"
68
+ "toquecancelar": "touchcancel",
69
+ "ratónabajo": "mousedown",
70
+ "ratónarriba": "mouseup",
71
+ "ratónencima": "mouseover",
72
+ "ratónfuera": "mouseout",
73
+ "teclaabajo": "keydown",
74
+ "teclaarriba": "keyup",
75
+ "enviar": "submit"
57
76
  },
58
77
  },
59
78
  });
package/vocab/htmx/fr.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: fr
3
- // Re-generate after editing packages/semantic/src/generators/profiles/french.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/french.ts
4
5
  // or packages/i18n/src/dictionaries/fr.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,29 +19,40 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-obtenir": "hx-get",
22
+ "hx-publier": "hx-post",
19
23
  "hx-mettre": "hx-put",
24
+ "hx-supprimer": "hx-delete",
20
25
  "hx-cible": "hx-target",
26
+ "hx-remplacement": "hx-swap",
27
+ "hx-échange": "hx-swap",
21
28
  "hx-échanger": "hx-swap",
29
+ "hx-déclencheur": "hx-trigger",
22
30
  "hx-déclencher": "hx-trigger",
31
+ "hx-confirmer": "hx-confirm",
32
+ "hx-booster": "hx-boost",
33
+ "hx-valeurs": "hx-vals",
34
+ "hx-pousser-url": "hx-push-url",
23
35
  "hx-sur": "hx-on",
24
36
  "hx-en-direct": "hx-live",
37
+ "hx-indicateur": "hx-indicator",
38
+ "hx-inclure": "hx-include",
39
+ "hx-sélection": "hx-select",
40
+ "hx-remplacement-oob": "hx-swap-oob",
41
+ "hx-synchronisation": "hx-sync",
25
42
  "sse-connecter": "sse-connect",
43
+ "sse-remplacement": "sse-swap",
44
+ "sse-échange": "sse-swap",
26
45
  "sse-échanger": "sse-swap",
27
46
  "ws-connecter": "ws-connect",
28
47
  "ws-envoyer": "ws-send"
29
48
  },
30
49
  events: {
50
+ "rechercher": "search",
31
51
  "clic": "click",
32
52
  "doubleclic": "dblclick",
33
- "sourisappuyée": "mousedown",
34
- "sourisrelâchée": "mouseup",
35
53
  "sourisentrer": "mouseenter",
36
54
  "sourissortir": "mouseleave",
37
- "sourissur": "mouseover",
38
- "sourisdehors": "mouseout",
39
55
  "sourisbouger": "mousemove",
40
- "toucheappuyée": "keydown",
41
- "toucherelâchée": "keyup",
42
56
  "touchepressée": "keypress",
43
57
  "flou": "blur",
44
58
  "changer": "change",
@@ -52,7 +66,13 @@
52
66
  "touchercommencer": "touchstart",
53
67
  "toucherfin": "touchend",
54
68
  "toucherbouger": "touchmove",
55
- "toucherannuler": "touchcancel"
69
+ "toucherannuler": "touchcancel",
70
+ "sourisappuyée": "mousedown",
71
+ "sourisrelâchée": "mouseup",
72
+ "sourissur": "mouseover",
73
+ "sourisdehors": "mouseout",
74
+ "toucheappuyée": "keydown",
75
+ "toucherelâchée": "keyup"
56
76
  },
57
77
  },
58
78
  });
package/vocab/htmx/he.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: he
3
- // Re-generate after editing packages/semantic/src/generators/profiles/hebrew.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/hebrew.ts
4
5
  // or packages/i18n/src/dictionaries/he.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,18 +19,36 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-קבל": "hx-get",
22
+ "hx-פרסם": "hx-post",
19
23
  "hx-שים": "hx-put",
24
+ "hx-מחק": "hx-delete",
20
25
  "hx-יעד": "hx-target",
26
+ "hx-החלפה": "hx-swap",
21
27
  "hx-החלף": "hx-swap",
28
+ "hx-מפעיל": "hx-trigger",
22
29
  "hx-הפעל": "hx-trigger",
30
+ "hx-אישור": "hx-confirm",
31
+ "hx-האצה": "hx-boost",
32
+ "hx-ערכים": "hx-vals",
33
+ "hx-דחוף-url": "hx-push-url",
23
34
  "hx-ב": "hx-on",
24
35
  "hx-חי": "hx-live",
36
+ "hx-מחוון": "hx-indicator",
37
+ "hx-כלול": "hx-include",
38
+ "hx-בחירה": "hx-select",
39
+ "hx-החלפה-oob": "hx-swap-oob",
40
+ "hx-סנכרון": "hx-sync",
25
41
  "sse-התחבר": "sse-connect",
42
+ "sse-החלפה": "sse-swap",
26
43
  "sse-החלף": "sse-swap",
27
44
  "ws-התחבר": "ws-connect",
28
45
  "ws-שלח": "ws-send"
29
46
  },
30
47
  events: {
48
+ "חיפוש": "search",
49
+ "שחרור-מקש": "keyup",
50
+ "טעינה": "load",
51
+ "כניסת-עכבר": "mouseenter",
31
52
  "טשטש": "blur",
32
53
  "שינוי": "change",
33
54
  "לחיצה": "click",
package/vocab/htmx/hi.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // Auto-generated by packages/core/scripts/gen-htmx-vocab.mjs — do not edit by hand.
2
2
  // Localized htmx-compat attribute vocab for language: hi
3
- // Re-generate after editing packages/semantic/src/generators/profiles/hindi.ts
3
+ // Re-generate after editing packages/core/scripts/htmx-attr-vocab.mjs,
4
+ // packages/semantic/src/generators/profiles/hindi.ts
4
5
  // or packages/i18n/src/dictionaries/hi.ts.
6
+ // Several names may map to one canonical: the first is the primary (the form
7
+ // to teach), later ones are aliases kept so already-authored pages still work.
5
8
  (function () {
6
9
  if (typeof window === 'undefined' || !window.__hyperfixi_i18n) {
7
10
  if (typeof console !== 'undefined') {
@@ -16,22 +19,38 @@
16
19
  hyperfixi: {
17
20
  attrs: {
18
21
  "hx-प्राप्त": "hx-get",
22
+ "hx-पोस्ट": "hx-post",
19
23
  "hx-रखें": "hx-put",
24
+ "hx-हटाएं": "hx-delete",
20
25
  "hx-लक्ष्य": "hx-target",
21
- "hx-बदलें_स्थान": "hx-swap",
26
+ "hx-अदला-बदली": "hx-swap",
27
+ "hx-विनिमय": "hx-swap",
22
28
  "hx-ट्रिगर": "hx-trigger",
29
+ "hx-पुष्टि": "hx-confirm",
30
+ "hx-बूस्ट": "hx-boost",
31
+ "hx-मान": "hx-vals",
32
+ "hx-पुश-url": "hx-push-url",
23
33
  "hx-पर": "hx-on",
24
34
  "hx-लाइव": "hx-live",
35
+ "hx-संकेतक": "hx-indicator",
36
+ "hx-शामिल": "hx-include",
37
+ "hx-चयन": "hx-select",
38
+ "hx-अदला-बदली-oob": "hx-swap-oob",
39
+ "hx-सिंक": "hx-sync",
25
40
  "sse-कनेक्ट": "sse-connect",
26
- "sse-बदलें_स्थान": "sse-swap",
41
+ "sse-अदला-बदली": "sse-swap",
42
+ "sse-विनिमय": "sse-swap",
27
43
  "ws-कनेक्ट": "ws-connect",
28
- "ws-भेजें": "ws-send"
44
+ "ws-भेजें": "ws-send",
45
+ "hx-बदलें_स्थान": "hx-swap",
46
+ "sse-बदलें_स्थान": "sse-swap"
29
47
  },
30
48
  events: {
49
+ "खोज": "search",
31
50
  "क्लिक": "click",
32
51
  "डबल_क्लिक": "dblclick",
33
- "माउस_नीचे": "mousedown",
34
- "माउस_ऊपर": "mouseup",
52
+ "माउसनीचे": "mousedown",
53
+ "माउसऊपर": "mouseup",
35
54
  "माउस_प्रवेश": "mouseenter",
36
55
  "माउस_बाहर": "mouseleave",
37
56
  "माउस_ओवर": "mouseover",
@@ -53,7 +72,9 @@
53
72
  "टच_शुरू": "touchstart",
54
73
  "टच_समाप्त": "touchend",
55
74
  "टच_मूव": "touchmove",
56
- "टच_रद्द": "touchcancel"
75
+ "टच_रद्द": "touchcancel",
76
+ "माउस_नीचे": "mousedown",
77
+ "माउस_ऊपर": "mouseup"
57
78
  },
58
79
  },
59
80
  });