@teleporthq/teleport-plugin-html-base-component
Advanced tools
Comparing version 0.38.10 to 0.38.11
@@ -718,3 +718,3 @@ "use strict"; | ||
} | ||
if (['string', 'number', 'object', 'element', 'array'].includes(usedReferenceValue === null || usedReferenceValue === void 0 ? void 0 : usedReferenceValue.type) === false) { | ||
if (['string', 'number', 'object', 'element', 'array', 'boolean'].includes(usedReferenceValue === null || usedReferenceValue === void 0 ? void 0 : usedReferenceValue.type) === false) { | ||
throw new teleport_types_1.HTMLComponentGeneratorError("Attribute is using dynamic value, but received of type ".concat(JSON.stringify(usedReferenceValue, null, 2))); | ||
@@ -721,0 +721,0 @@ } |
@@ -714,3 +714,3 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
if (['string', 'number', 'object', 'element', 'array'].includes(usedReferenceValue === null || usedReferenceValue === void 0 ? void 0 : usedReferenceValue.type) === false) { | ||
if (['string', 'number', 'object', 'element', 'array', 'boolean'].includes(usedReferenceValue === null || usedReferenceValue === void 0 ? void 0 : usedReferenceValue.type) === false) { | ||
throw new HTMLComponentGeneratorError("Attribute is using dynamic value, but received of type ".concat(JSON.stringify(usedReferenceValue, null, 2))); | ||
@@ -717,0 +717,0 @@ } |
{ | ||
"name": "@teleporthq/teleport-plugin-html-base-component", | ||
"version": "0.38.10", | ||
"version": "0.38.11", | ||
"description": "A plugin for handling the skeleton/baseline of a base html component", | ||
@@ -27,4 +27,4 @@ "author": "teleportHQ", | ||
"dependencies": { | ||
"@teleporthq/teleport-plugin-common": "^0.38.10", | ||
"@teleporthq/teleport-plugin-css": "^0.38.10", | ||
"@teleporthq/teleport-plugin-common": "^0.38.11", | ||
"@teleporthq/teleport-plugin-css": "^0.38.11", | ||
"@teleporthq/teleport-shared": "^0.38.10", | ||
@@ -34,3 +34,3 @@ "@teleporthq/teleport-types": "^0.38.3", | ||
}, | ||
"gitHead": "31ed850a98ba6eed7ca309c082a4d0a0c9101360" | ||
"gitHead": "0456f0804e1c3521487b58ee39fb4460709359f5" | ||
} |
@@ -1024,3 +1024,5 @@ import { | ||
if ( | ||
['string', 'number', 'object', 'element', 'array'].includes(usedReferenceValue?.type) === false | ||
['string', 'number', 'object', 'element', 'array', 'boolean'].includes( | ||
usedReferenceValue?.type | ||
) === false | ||
) { | ||
@@ -1027,0 +1029,0 @@ throw new HTMLComponentGeneratorError( |
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
263242
2940