@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/index.mjs CHANGED
@@ -3945,6 +3945,15 @@ function parseToggleCommand(ctx, identifierNode) {
3945
3945
  args.push(classArg.expression);
3946
3946
  modifiers['as'] = literalModifier(mode);
3947
3947
  }
3948
+ else if (classArg?.type === 'binaryExpression' &&
3949
+ classArg.operator === 'of' &&
3950
+ classArg.left?.type === 'selector' &&
3951
+ typeof classArg.left.value === 'string' &&
3952
+ classArg.left.value.startsWith('*') &&
3953
+ classArg.right) {
3954
+ args.push(classArg.left);
3955
+ modifiers['on'] = classArg.right;
3956
+ }
3948
3957
  else if (classArg) {
3949
3958
  args.push(classArg);
3950
3959
  }
@@ -26452,7 +26461,7 @@ function updateDebugStats(event) {
26452
26461
  stats.confidenceHistory.reduce((a, b) => a + b, 0) / stats.confidenceHistory.length;
26453
26462
  }
26454
26463
 
26455
- const VERSION = '3.2.0';
26464
+ const VERSION = '3.3.0';
26456
26465
 
26457
26466
  function createHistorySwap(config) {
26458
26467
  const { target, strategy = 'morph', useViewTransition = false, fetchOptions = {}, transformUrl, onBeforeFetch, onAfterSwap, onError, } = config;