From f803bee9a999cbff96af4139bb20fdcc48ebc1b9 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 28 May 2024 14:18:31 -0400 Subject: [PATCH] remove animations from CEM --- custom-elements-manifest.js | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/custom-elements-manifest.js b/custom-elements-manifest.js index 66c4ac740..f60557583 100644 --- a/custom-elements-manifest.js +++ b/custom-elements-manifest.js @@ -43,7 +43,7 @@ export default { case ts.SyntaxKind.ClassDeclaration: { const className = node.name.getText(); const classDoc = moduleDoc?.declarations?.find(declaration => declaration.name === className); - const customTags = ['animation', 'dependency', 'documentation', 'since', 'status', 'title']; + const customTags = ['dependency', 'documentation', 'since', 'status', 'title']; let customComments = '/**'; node.jsDoc?.forEach(jsDoc => { @@ -62,17 +62,6 @@ export default { const parsed = parse(`${customComments}\n */`); parsed[0].tags?.forEach(t => { switch (t.tag) { - // Animations - case 'animation': - if (!Array.isArray(classDoc['animations'])) { - classDoc['animations'] = []; - } - classDoc['animations'].push({ - name: t.name, - description: noDash(t.description) - }); - break; - // Dependencies case 'dependency': if (!Array.isArray(classDoc['dependencies'])) {