From ed42f2b5f6850861ec33e3645010090c9608c755 Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Wed, 23 Feb 2022 16:59:25 -0800 Subject: [PATCH 1/2] Fixed an updated export from FAST element 2.0 --- packages/web-components/fast-router/src/contributors.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/web-components/fast-router/src/contributors.ts b/packages/web-components/fast-router/src/contributors.ts index fe070e5118e..f113acbc018 100644 --- a/packages/web-components/fast-router/src/contributors.ts +++ b/packages/web-components/fast-router/src/contributors.ts @@ -1,7 +1,7 @@ import { Behavior, HTMLDirective, - DOM, + Markup, ViewBehaviorTargets, } from "@microsoft/fast-element"; import { @@ -50,7 +50,7 @@ class NavigationContributorDirective extends HTMLDirective { } createPlaceholder(index: number) { - return DOM.createCustomAttributePlaceholder(index); + return Markup.attribute(index); } createBehavior(targets: ViewBehaviorTargets) { From 3ab4ce56b78423457a34eeb81a194bfcfcca77cb Mon Sep 17 00:00:00 2001 From: Jane Chu <7559015+janechu@users.noreply.github.com> Date: Wed, 23 Feb 2022 17:01:56 -0800 Subject: [PATCH 2/2] Change files --- ...t-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json diff --git a/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json b/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json new file mode 100644 index 00000000000..d6e89d4ac48 --- /dev/null +++ b/change/@microsoft-fast-router-d8d52093-fa07-417d-a12d-acdab4a96101.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "Fixed an updated export from FAST element 2.0", + "packageName": "@microsoft/fast-router", + "email": "7559015+janechu@users.noreply.github.com", + "dependentChangeType": "patch" +}