diff --git a/api-generator/build-api.js b/api-generator/build-api.js index 568cbed18..efdaf83d0 100644 --- a/api-generator/build-api.js +++ b/api-generator/build-api.js @@ -151,9 +151,13 @@ const createVeturAttributes = (component) => { }; Object.keys(fileModules).forEach((p) => { - createWebTypes(fileModules[p][p]); - createVeturTags(fileModules[p][p]); - createVeturAttributes(fileModules[p][p]); + const component = fileModules[p][p]; + + if (component) { + createWebTypes(component); + createVeturTags(component); + createVeturAttributes(component); + } }); !fs.existsSync(distDir) && fs.mkdirSync(distDir); diff --git a/components/lib/themes/primeone/presets/aura/fileupload/index.js b/components/lib/themes/primeone/presets/aura/fileupload/index.js index 9c5d1c3d4..763692301 100644 --- a/components/lib/themes/primeone/presets/aura/fileupload/index.js +++ b/components/lib/themes/primeone/presets/aura/fileupload/index.js @@ -8,7 +8,7 @@ export default { }, content: { highlightBackground: '{highlight.background}', - highlightBorderColor: '{highlight.color}', + highlightBorderColor: '{highlight.color}' }, file: { borderColor: '{surface.200}'