@webmate-studio/builder 0.2.182 → 0.2.183

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.182",
3
+ "version": "0.2.183",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -40,10 +40,6 @@ class TemplateEvaluator {
40
40
  case 'Fragment':
41
41
  return this.evalFragment(node, ctx);
42
42
  case 'Text':
43
- // Strip closing tags of built-in micro-components (only if present)
44
- if (node.value.includes('</wm-')) {
45
- return node.value.replace(/<\/wm-button>/g, '');
46
- }
47
43
  return node.value;
48
44
  case 'Expression':
49
45
  return this.evalExpression(node, ctx);
@@ -198,10 +194,10 @@ class TemplateEvaluator {
198
194
  return this.evalIslandTag(node, ctx);
199
195
  }
200
196
 
201
- // Built-in micro-components
202
- if (node.tagName === 'wm-button') {
203
- return this.evalWmButton(node, ctx);
204
- }
197
+ // Built-in micro-components (disabled for testing)
198
+ // if (node.tagName === 'wm-button') {
199
+ // return this.evalWmButton(node, ctx);
200
+ // }
205
201
 
206
202
  let result = `<${node.tagName}`;
207
203