@hyperfixi/core 2.7.2 → 2.9.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/CHANGELOG.md +52 -0
- package/dist/api/hyperscript-api.d.ts +1 -0
- package/dist/ast-utils/index.js +2227 -263
- package/dist/ast-utils/index.mjs +2227 -263
- package/dist/bundle-generator/index.d.ts +1 -1
- package/dist/bundle-generator/index.js +77 -68
- package/dist/bundle-generator/index.mjs +76 -69
- package/dist/bundle-generator/template-capabilities.d.ts +2 -0
- package/dist/chunks/bridge-D9JLmPkk.js +2 -0
- package/dist/chunks/browser-modular-CPiVQXM0.js +2 -0
- package/dist/chunks/{index-D2WUNSCR.js → index-6DUg7Qjm.js} +2 -2
- package/dist/commands/index.js +117 -5
- package/dist/commands/index.mjs +117 -5
- package/dist/compatibility/browser-modular.d.ts +2 -2
- package/dist/expressions/index.d.ts +1 -1
- package/dist/htmx/hcon.d.ts +9 -0
- package/dist/htmx/htmx-translator.d.ts +1 -0
- package/dist/hyperfixi-browser-classic-i18n.js +1 -1
- package/dist/hyperfixi-browser-minimal.js +1 -1
- package/dist/hyperfixi-browser-standard.js +1 -1
- package/dist/hyperfixi-browser.js +1 -1
- package/dist/hyperfixi-classic-i18n.js +1 -1
- package/dist/hyperfixi-hx-v4.js +1 -1
- package/dist/hyperfixi-hx.js +1 -1
- package/dist/hyperfixi-hybrid-complete.js +1 -1
- package/dist/hyperfixi-hybrid-hx.js +1 -1
- package/dist/hyperfixi-minimal.js +1 -1
- package/dist/hyperfixi-multilingual.js +1 -1
- package/dist/hyperfixi-standard.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.js +5187 -727
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +5187 -727
- package/dist/lokascript-browser-classic-i18n.js +1 -1
- package/dist/lokascript-browser-minimal.js +1 -1
- package/dist/lokascript-browser-standard.js +1 -1
- package/dist/lokascript-browser.js +1 -1
- package/dist/lokascript-hybrid-complete.js +1 -1
- package/dist/lokascript-hybrid-hx.js +1 -1
- package/dist/lokascript-multilingual.js +1 -1
- package/dist/lse/index.d.ts +7 -7
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.js +31 -14
- package/dist/metadata.mjs +31 -14
- package/dist/multilingual/index.js +8 -1
- package/dist/multilingual/index.mjs +8 -1
- package/dist/parser/command-parsers/animation-commands.d.ts +2 -2
- package/dist/parser/command-parsers/async-commands.d.ts +2 -2
- package/dist/parser/command-parsers/dom-commands.d.ts +5 -5
- package/dist/parser/command-parsers/navigation-commands.d.ts +4 -0
- package/dist/parser/command-parsers/utility-commands.d.ts +2 -1
- package/dist/parser/command-parsers/variable-commands.d.ts +2 -2
- package/dist/parser/full-parser.js +117 -5
- package/dist/parser/full-parser.mjs +117 -5
- package/dist/parser/semantic-integration.d.ts +1 -0
- package/dist/performance/integration.d.ts +1 -1
- package/dist/registry/index.js +117 -5
- package/dist/registry/index.mjs +117 -5
- package/package.json +14 -20
- package/dist/chunks/bridge-DuveK8T4.js +0 -2
- package/dist/chunks/browser-modular-DW4nC6lH.js +0 -2
- package/dist/compatibility/browser-bundle-animation-generated.d.ts +0 -16
- package/dist/compatibility/browser-bundle-forms-generated.d.ts +0 -16
- package/dist/compatibility/browser-bundle-minimal-generated.d.ts +0 -16
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to @lokascript/core will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [2.1.0] - 2025-01-25
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- **Fixi.js compatibility** in hybrid-hx bundle
|
|
13
|
+
- `fx-action`, `fx-method`, `fx-trigger`, `fx-target`, `fx-swap`, `fx-ignore` attributes
|
|
14
|
+
- Full fixi event lifecycle: `fx:init`, `fx:config`, `fx:before`, `fx:after`, `fx:error`, `fx:finally`, `fx:swapped`
|
|
15
|
+
- Request dropping (anti-double-submit) - new requests dropped while one is pending
|
|
16
|
+
- `fx-ignore` attribute to exclude elements from processing
|
|
17
|
+
|
|
18
|
+
## [2.0.0] - 2025-01-19
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Complete hyperscript runtime with 43 command implementations
|
|
23
|
+
- Full AST parser with ~3800 lines of parsing logic
|
|
24
|
+
- Multilingual support via semantic parser integration
|
|
25
|
+
- TypeScript-first API with comprehensive type safety
|
|
26
|
+
- Multiple bundle options: lite (8KB), hybrid-complete (28KB), full (912KB)
|
|
27
|
+
- Custom bundle generator for tree-shaking
|
|
28
|
+
- Command pattern architecture for extensibility
|
|
29
|
+
- Expression system with 6 categories (references, logical, conversion, positional, properties, special)
|
|
30
|
+
- Unified `MultilingualHyperscript` API for 23 languages
|
|
31
|
+
- Debug control system with persistent localStorage
|
|
32
|
+
- Event metadata tracking and debugging tools
|
|
33
|
+
- htmx compatibility layer with lifecycle events
|
|
34
|
+
- Comprehensive test suite (4045+ tests passing)
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
|
|
38
|
+
- Refactored from version 1.x to 2.0 with breaking API changes
|
|
39
|
+
- Improved parser performance and error messages
|
|
40
|
+
- Enhanced TypeScript types with conditional environment types
|
|
41
|
+
- Updated bundle generation strategy for better tree-shaking
|
|
42
|
+
|
|
43
|
+
### Fixed
|
|
44
|
+
|
|
45
|
+
- Event handler binding with correct addEventListener signature
|
|
46
|
+
- Expression evaluation in various contexts
|
|
47
|
+
- Memory leaks in event listeners
|
|
48
|
+
- Edge cases in command execution
|
|
49
|
+
|
|
50
|
+
## [1.x] - Previous Versions
|
|
51
|
+
|
|
52
|
+
See git history for changes in 1.x versions.
|