@teleporthq/teleport-plugin-html-base-component
Advanced tools
Comparing version 0.23.0 to 0.23.5
@@ -42,3 +42,3 @@ import { | ||
expect(((chunks[1].content as HastNode).children[0] as HastNode).properties.href).toBe( | ||
'about.html' | ||
'/about.html' | ||
) | ||
@@ -45,0 +45,0 @@ }) |
@@ -300,3 +300,3 @@ "use strict"; | ||
? (0, teleport_uidl_builders_1.staticNode)('index.html') | ||
: (0, teleport_uidl_builders_1.staticNode)("".concat(attrValue.content.split('/').pop(), ".html")); | ||
: (0, teleport_uidl_builders_1.staticNode)("".concat(attrValue.content, ".html")); | ||
teleport_plugin_common_1.HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)); | ||
@@ -303,0 +303,0 @@ return; |
@@ -296,3 +296,3 @@ var __assign = (this && this.__assign) || function () { | ||
? staticNode('index.html') | ||
: staticNode("".concat(attrValue.content.split('/').pop(), ".html")); | ||
: staticNode("".concat(attrValue.content, ".html")); | ||
HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)); | ||
@@ -299,0 +299,0 @@ return; |
{ | ||
"name": "@teleporthq/teleport-plugin-html-base-component", | ||
"version": "0.23.0", | ||
"version": "0.23.5", | ||
"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.23.0", | ||
"@teleporthq/teleport-plugin-css": "^0.23.0", | ||
"@teleporthq/teleport-shared": "^0.23.0", | ||
"@teleporthq/teleport-plugin-common": "^0.23.5", | ||
"@teleporthq/teleport-plugin-css": "^0.23.5", | ||
"@teleporthq/teleport-shared": "^0.23.5", | ||
"@teleporthq/teleport-types": "^0.23.0", | ||
"@teleporthq/teleport-uidl-builders": "^0.23.0" | ||
}, | ||
"gitHead": "8d528aa48896a0163a42ebadd7df3fe6e5f47d41" | ||
"gitHead": "fd2283a3c4fd514554c9b29b6a995f58fe36b689" | ||
} |
@@ -394,3 +394,3 @@ import { | ||
? staticNode('index.html') | ||
: staticNode(`${attrValue.content.split('/').pop()}.html`) | ||
: staticNode(`${attrValue.content}.html`) | ||
HASTUtils.addAttributeToNode(htmlNode, attrKey, String(attrValue.content)) | ||
@@ -397,0 +397,0 @@ return |
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
145268