@teleporthq/teleport-plugin-html-base-component
Advanced tools
Comparing version 0.22.3 to 0.23.0
@@ -311,2 +311,6 @@ "use strict"; | ||
} | ||
if (attrValue.type === 'raw') { | ||
teleport_plugin_common_1.HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)); | ||
return; | ||
} | ||
if (typeof attrValue.content === 'boolean') { | ||
@@ -313,0 +317,0 @@ teleport_plugin_common_1.HASTUtils.addBooleanAttributeToNode(htmlNode, attrKey); |
@@ -307,2 +307,6 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
if (attrValue.type === 'raw') { | ||
HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)); | ||
return; | ||
} | ||
if (typeof attrValue.content === 'boolean') { | ||
@@ -309,0 +313,0 @@ HASTUtils.addBooleanAttributeToNode(htmlNode, attrKey); |
{ | ||
"name": "@teleporthq/teleport-plugin-html-base-component", | ||
"version": "0.22.3", | ||
"version": "0.23.0", | ||
"description": "A plugin for handling the skeleton/baseline of a base html component", | ||
@@ -27,9 +27,9 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-plugin-common": "^0.22.0", | ||
"@teleporthq/teleport-plugin-css": "^0.22.0", | ||
"@teleporthq/teleport-shared": "^0.22.0", | ||
"@teleporthq/teleport-types": "^0.22.0", | ||
"@teleporthq/teleport-uidl-builders": "^0.22.0" | ||
"@teleporthq/teleport-plugin-common": "^0.23.0", | ||
"@teleporthq/teleport-plugin-css": "^0.23.0", | ||
"@teleporthq/teleport-shared": "^0.23.0", | ||
"@teleporthq/teleport-types": "^0.23.0", | ||
"@teleporthq/teleport-uidl-builders": "^0.23.0" | ||
}, | ||
"gitHead": "7f670fc2d9d6468f9689712e424f5bff3c9c8a0b" | ||
"gitHead": "8d528aa48896a0163a42ebadd7df3fe6e5f47d41" | ||
} |
@@ -223,3 +223,3 @@ import { | ||
}) | ||
/* | ||
/* | ||
Since we don't generate direct component children in HTML. We need to reset this, | ||
@@ -409,2 +409,7 @@ or else the plugins like css and others try to parse and process them. | ||
if (attrValue.type === 'raw') { | ||
HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)) | ||
return | ||
} | ||
if (typeof attrValue.content === 'boolean') { | ||
@@ -411,0 +416,0 @@ HASTUtils.addBooleanAttributeToNode(htmlNode, attrKey) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
145398
1487
+ Added@teleporthq/teleport-plugin-common@0.23.6(transitive)
+ Added@teleporthq/teleport-plugin-css@0.23.6(transitive)
+ Added@teleporthq/teleport-shared@0.23.6(transitive)
+ Added@teleporthq/teleport-types@0.23.0(transitive)
+ Added@teleporthq/teleport-uidl-builders@0.23.0(transitive)
- Removed@teleporthq/teleport-plugin-common@0.22.0(transitive)
- Removed@teleporthq/teleport-plugin-css@0.22.0(transitive)
- Removed@teleporthq/teleport-shared@0.22.0(transitive)
- Removed@teleporthq/teleport-types@0.22.0(transitive)
- Removed@teleporthq/teleport-uidl-builders@0.22.0(transitive)