@teleporthq/teleport-plugin-html-base-component
Advanced tools
Comparing version
{ | ||
"name": "@teleporthq/teleport-plugin-html-base-component", | ||
"version": "0.27.3", | ||
"version": "0.27.4-alpha.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.27.3", | ||
"@teleporthq/teleport-plugin-css": "^0.27.3", | ||
"@teleporthq/teleport-shared": "^0.27.3", | ||
"@teleporthq/teleport-types": "^0.27.3", | ||
"@teleporthq/teleport-uidl-builders": "^0.27.3" | ||
"@teleporthq/teleport-plugin-common": "^0.27.4-alpha.0", | ||
"@teleporthq/teleport-plugin-css": "^0.27.4-alpha.0", | ||
"@teleporthq/teleport-shared": "^0.27.4-alpha.0", | ||
"@teleporthq/teleport-types": "^0.27.4-alpha.0", | ||
"@teleporthq/teleport-uidl-builders": "^0.27.4-alpha.0" | ||
}, | ||
"gitHead": "14f69b861cb0838d502a5ba226bb7cb5c1291fbb" | ||
"gitHead": "182513645c9074b0739b30e28a0a45d04805e72d" | ||
} |
@@ -111,2 +111,3 @@ import { | ||
} = node.content | ||
const elementNode = HASTBuilders.createHTMLNode(elementType) | ||
@@ -232,2 +233,3 @@ templatesLookUp[key] = elementNode | ||
const combinedProps = { ...propDefinitions, ...(comp?.propDefinitions || {}) } | ||
const propsForInstance = Object.keys(combinedProps).reduce( | ||
@@ -265,2 +267,3 @@ (acc: Record<string, UIDLPropDefinition>, propKey) => { | ||
) | ||
const elementNode = HASTBuilders.createHTMLNode(StringUtils.camelCaseToDashCase(elementType)) | ||
@@ -267,0 +270,0 @@ lookUpTemplates[key] = elementNode |
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
149007
0.26%