From fd1a827f3c917129c27ef4dd17d6c07261d29464 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Wed, 18 May 2022 13:00:35 -0700 Subject: [PATCH] remove classes and parts from slots on `fast-foundation` templates (#5946) * fixes build-break caused by rebase * feat: update private change handlers to protected (#5872) * update attribute and observable change handlers with internal logic to be protected instead of private * Change files * udpate api docs * fixing build / test after rebase * remove class and part names from slots in fast foundation templates * Change files Co-authored-by: nicholasrice --- ...st-foundation-85e04ad1-6a33-4d0e-9ec8-0017d5523bde.json | 7 +++++++ .../src/accordion-item/accordion-item.template.ts | 4 ++-- .../fast-foundation/src/accordion-item/accordion-item.ts | 2 -- .../web-components/fast-foundation/src/accordion/README.md | 2 -- .../web-components/fast-foundation/src/avatar/README.md | 1 - .../fast-foundation/src/avatar/avatar.template.ts | 6 +++--- .../web-components/fast-foundation/src/avatar/avatar.ts | 1 - .../fast-foundation/src/directives/reflect-attributes.ts | 1 - .../src/progress-ring/progress-ring.template.ts | 2 +- .../fast-foundation/src/progress/progress.template.ts | 2 +- packages/web-components/fast-foundation/src/tabs/README.md | 2 -- .../fast-foundation/src/tabs/tabs.template.ts | 4 ++-- packages/web-components/fast-foundation/src/tabs/tabs.ts | 2 -- 13 files changed, 16 insertions(+), 20 deletions(-) create mode 100644 change/@microsoft-fast-foundation-85e04ad1-6a33-4d0e-9ec8-0017d5523bde.json diff --git a/change/@microsoft-fast-foundation-85e04ad1-6a33-4d0e-9ec8-0017d5523bde.json b/change/@microsoft-fast-foundation-85e04ad1-6a33-4d0e-9ec8-0017d5523bde.json new file mode 100644 index 00000000000..4bad6fdfbce --- /dev/null +++ b/change/@microsoft-fast-foundation-85e04ad1-6a33-4d0e-9ec8-0017d5523bde.json @@ -0,0 +1,7 @@ +{ + "type": "major", + "comment": "remove class and part names from slots in fast foundation templates", + "packageName": "@microsoft/fast-foundation", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/web-components/fast-foundation/src/accordion-item/accordion-item.template.ts b/packages/web-components/fast-foundation/src/accordion-item/accordion-item.template.ts index feb010d0131..c9340bbd839 100644 --- a/packages/web-components/fast-foundation/src/accordion-item/accordion-item.template.ts +++ b/packages/web-components/fast-foundation/src/accordion-item/accordion-item.template.ts @@ -35,10 +35,10 @@ export const accordionItemTemplate: FoundationElementTemplate< ${startSlotTemplate(context, definition)} ${endSlotTemplate(context, definition)}