From ae0a98924fe74034d29f53f3b772133aebeaff94 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 22 Apr 2020 15:41:44 -0400 Subject: [PATCH] chore(api): update api generator to include parts in the public API (#21110) --- core/scripts/api-spec-generator.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/scripts/api-spec-generator.js b/core/scripts/api-spec-generator.js index e6343e776a..2896a5504b 100644 --- a/core/scripts/api-spec-generator.js +++ b/core/scripts/api-spec-generator.js @@ -35,6 +35,9 @@ function generateComponent(component, content) { component.styles.forEach(prop => { content.push(`${component.tag},css-prop,${prop.name}`); }); + component.parts.forEach(part => { + content.push(`${component.tag},part,${part.name}`); + }); } exports.apiSpecGenerator = apiSpecGenerator;