@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.
@@ -9417,6 +9417,15 @@ function parseToggleCommand(ctx, identifierNode) {
9417
9417
  args.push(classArg.expression);
9418
9418
  modifiers['as'] = literalModifier(mode);
9419
9419
  }
9420
+ else if (classArg?.type === 'binaryExpression' &&
9421
+ classArg.operator === 'of' &&
9422
+ classArg.left?.type === 'selector' &&
9423
+ typeof classArg.left.value === 'string' &&
9424
+ classArg.left.value.startsWith('*') &&
9425
+ classArg.right) {
9426
+ args.push(classArg.left);
9427
+ modifiers['on'] = classArg.right;
9428
+ }
9420
9429
  else if (classArg) {
9421
9430
  args.push(classArg);
9422
9431
  }
@@ -9415,6 +9415,15 @@ function parseToggleCommand(ctx, identifierNode) {
9415
9415
  args.push(classArg.expression);
9416
9416
  modifiers['as'] = literalModifier(mode);
9417
9417
  }
9418
+ else if (classArg?.type === 'binaryExpression' &&
9419
+ classArg.operator === 'of' &&
9420
+ classArg.left?.type === 'selector' &&
9421
+ typeof classArg.left.value === 'string' &&
9422
+ classArg.left.value.startsWith('*') &&
9423
+ classArg.right) {
9424
+ args.push(classArg.left);
9425
+ modifiers['on'] = classArg.right;
9426
+ }
9418
9427
  else if (classArg) {
9419
9428
  args.push(classArg);
9420
9429
  }