@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.
@@ -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-BNDYF6Dq.js";
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.2.0';
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;