@hyperfixi/core 3.2.0 → 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.
- package/dist/bundle-generator/index.cjs +12 -8
- package/dist/bundle-generator/index.mjs +12 -8
- package/dist/chunks/{bridge-Cnj8dQFV.js → bridge-CI9SOl8u.js} +2 -2
- package/dist/chunks/browser-modular-7CpI5VF2.js +2 -0
- package/dist/chunks/{index-LLuwEQp0.js → index-BwXDEK0m.js} +2 -2
- package/dist/commands/index.cjs +9 -0
- package/dist/commands/index.mjs +9 -0
- package/dist/hyperfixi-browser-classic-i18n.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-multilingual.js +1 -1
- package/dist/hyperfixi.js +1 -1
- package/dist/hyperfixi.mjs +1 -1
- package/dist/index.cjs +10 -1
- package/dist/index.min.js +1 -1
- package/dist/index.mjs +10 -1
- package/dist/lokascript-browser-classic-i18n.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/metadata.cjs +1 -1
- package/dist/metadata.d.ts +1 -1
- package/dist/metadata.mjs +1 -1
- package/dist/parser/full-parser.cjs +9 -0
- package/dist/parser/full-parser.mjs +9 -0
- package/dist/registry/index.cjs +9 -0
- package/dist/registry/index.mjs +9 -0
- package/dist/version.d.ts +1 -1
- package/package.json +5 -5
- package/dist/chunks/browser-modular-BNDYF6Dq.js +0 -2
package/dist/hyperfixi.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,e as evalHyperScript,b as evalHyperScriptAsync,c as evalHyperScriptSmart,f as hyperscript,s as styleBatcher,t as tokenize}from"./chunks/browser-modular-
|
|
1
|
+
export{O as ObjectPool,P as Parser,R as Runtime,d as debug,h as default,a as defaultAttributeProcessor,e as evalHyperScript,b as evalHyperScriptAsync,c as evalHyperScriptSmart,f as hyperscript,s as styleBatcher,t as tokenize}from"./chunks/browser-modular-7CpI5VF2.js";
|
|
2
2
|
//# sourceMappingURL=hyperfixi.mjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -3947,6 +3947,15 @@ function parseToggleCommand(ctx, identifierNode) {
|
|
|
3947
3947
|
args.push(classArg.expression);
|
|
3948
3948
|
modifiers['as'] = literalModifier(mode);
|
|
3949
3949
|
}
|
|
3950
|
+
else if (classArg?.type === 'binaryExpression' &&
|
|
3951
|
+
classArg.operator === 'of' &&
|
|
3952
|
+
classArg.left?.type === 'selector' &&
|
|
3953
|
+
typeof classArg.left.value === 'string' &&
|
|
3954
|
+
classArg.left.value.startsWith('*') &&
|
|
3955
|
+
classArg.right) {
|
|
3956
|
+
args.push(classArg.left);
|
|
3957
|
+
modifiers['on'] = classArg.right;
|
|
3958
|
+
}
|
|
3950
3959
|
else if (classArg) {
|
|
3951
3960
|
args.push(classArg);
|
|
3952
3961
|
}
|
|
@@ -26454,7 +26463,7 @@ function updateDebugStats(event) {
|
|
|
26454
26463
|
stats.confidenceHistory.reduce((a, b) => a + b, 0) / stats.confidenceHistory.length;
|
|
26455
26464
|
}
|
|
26456
26465
|
|
|
26457
|
-
const VERSION = '3.
|
|
26466
|
+
const VERSION = '3.3.0';
|
|
26458
26467
|
|
|
26459
26468
|
function createHistorySwap(config) {
|
|
26460
26469
|
const { target, strategy = 'morph', useViewTransition = false, fetchOptions = {}, transformUrl, onBeforeFetch, onAfterSwap, onError, } = config;
|