@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/metadata.cjs CHANGED
@@ -61,7 +61,7 @@ const COMMAND_NAMES = [
61
61
  'wait',
62
62
  ];
63
63
 
64
- const VERSION = '3.2.0';
64
+ const VERSION = '3.3.0';
65
65
 
66
66
  const FULL_RUNTIME_COMMAND_COUNT = COMMAND_NAMES.length;
67
67
  const packageInfo = {
@@ -1,6 +1,6 @@
1
1
  export declare const packageInfo: {
2
2
  readonly name: "@hyperfixi/core";
3
- readonly version: "3.2.0";
3
+ readonly version: "3.3.0";
4
4
  readonly description: "Modern hyperscript engine with fixi/htmx integration";
5
5
  readonly compatibility: "~85% official _hyperscript";
6
6
  readonly languages: 24;
package/dist/metadata.mjs CHANGED
@@ -59,7 +59,7 @@ const COMMAND_NAMES = [
59
59
  'wait',
60
60
  ];
61
61
 
62
- const VERSION = '3.2.0';
62
+ const VERSION = '3.3.0';
63
63
 
64
64
  const FULL_RUNTIME_COMMAND_COUNT = COMMAND_NAMES.length;
65
65
  const packageInfo = {
@@ -3358,6 +3358,15 @@ function parseToggleCommand(ctx, identifierNode) {
3358
3358
  args.push(classArg.expression);
3359
3359
  modifiers['as'] = literalModifier(mode);
3360
3360
  }
3361
+ else if (classArg?.type === 'binaryExpression' &&
3362
+ classArg.operator === 'of' &&
3363
+ classArg.left?.type === 'selector' &&
3364
+ typeof classArg.left.value === 'string' &&
3365
+ classArg.left.value.startsWith('*') &&
3366
+ classArg.right) {
3367
+ args.push(classArg.left);
3368
+ modifiers['on'] = classArg.right;
3369
+ }
3361
3370
  else if (classArg) {
3362
3371
  args.push(classArg);
3363
3372
  }
@@ -3356,6 +3356,15 @@ function parseToggleCommand(ctx, identifierNode) {
3356
3356
  args.push(classArg.expression);
3357
3357
  modifiers['as'] = literalModifier(mode);
3358
3358
  }
3359
+ else if (classArg?.type === 'binaryExpression' &&
3360
+ classArg.operator === 'of' &&
3361
+ classArg.left?.type === 'selector' &&
3362
+ typeof classArg.left.value === 'string' &&
3363
+ classArg.left.value.startsWith('*') &&
3364
+ classArg.right) {
3365
+ args.push(classArg.left);
3366
+ modifiers['on'] = classArg.right;
3367
+ }
3359
3368
  else if (classArg) {
3360
3369
  args.push(classArg);
3361
3370
  }
@@ -6908,6 +6908,15 @@ function parseToggleCommand(ctx, identifierNode) {
6908
6908
  args.push(classArg.expression);
6909
6909
  modifiers['as'] = literalModifier(mode);
6910
6910
  }
6911
+ else if (classArg?.type === 'binaryExpression' &&
6912
+ classArg.operator === 'of' &&
6913
+ classArg.left?.type === 'selector' &&
6914
+ typeof classArg.left.value === 'string' &&
6915
+ classArg.left.value.startsWith('*') &&
6916
+ classArg.right) {
6917
+ args.push(classArg.left);
6918
+ modifiers['on'] = classArg.right;
6919
+ }
6911
6920
  else if (classArg) {
6912
6921
  args.push(classArg);
6913
6922
  }
@@ -6906,6 +6906,15 @@ function parseToggleCommand(ctx, identifierNode) {
6906
6906
  args.push(classArg.expression);
6907
6907
  modifiers['as'] = literalModifier(mode);
6908
6908
  }
6909
+ else if (classArg?.type === 'binaryExpression' &&
6910
+ classArg.operator === 'of' &&
6911
+ classArg.left?.type === 'selector' &&
6912
+ typeof classArg.left.value === 'string' &&
6913
+ classArg.left.value.startsWith('*') &&
6914
+ classArg.right) {
6915
+ args.push(classArg.left);
6916
+ modifiers['on'] = classArg.right;
6917
+ }
6909
6918
  else if (classArg) {
6910
6919
  args.push(classArg);
6911
6920
  }
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "3.2.0";
1
+ export declare const VERSION = "3.3.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperfixi/core",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "Multilingual, tree-shakeable hyperscript",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -274,14 +274,14 @@
274
274
  "access": "public"
275
275
  },
276
276
  "dependencies": {
277
- "@lokascript/intent": "^3.2.0",
278
- "@lokascript/semantic": "^3.2.0",
277
+ "@lokascript/intent": "^3.3.0",
278
+ "@lokascript/semantic": "^3.3.0",
279
279
  "morphlex": "^1.4.0",
280
280
  "tslib": "^2.8.1"
281
281
  },
282
282
  "peerDependencies": {
283
- "@hyperfixi/patterns-reference": "^3.2.0",
284
- "@lokascript/framework": "^3.2.0"
283
+ "@hyperfixi/patterns-reference": "^3.3.0",
284
+ "@lokascript/framework": "^3.3.0"
285
285
  },
286
286
  "peerDependenciesMeta": {
287
287
  "@hyperfixi/patterns-reference": {