From 0e39569c30c01e54855b7f00e5b3138b4a4be0d2 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Wed, 24 Feb 2021 09:32:24 -0800 Subject: [PATCH 1/2] update card background color attribute to reflect from view --- packages/web-components/src/card/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web-components/src/card/index.ts b/packages/web-components/src/card/index.ts index e27c4cea7563a..701a24eca5605 100644 --- a/packages/web-components/src/card/index.ts +++ b/packages/web-components/src/card/index.ts @@ -32,6 +32,7 @@ export class FluentCard extends FluentDesignSystemProvider { */ @attr({ attribute: 'card-background-color', + mode: 'fromView', }) public cardBackgroundColor: string; private cardBackgroundColorChanged(prev: string | void, next: string | void): void { From 59906139855b34befd61808a0969220545659226 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Wed, 24 Feb 2021 09:33:52 -0800 Subject: [PATCH 2/2] Change files --- ...eb-components-2b72f1e1-54cc-4ce3-a0ab-8f0fad6abc7c.json | 7 +++++++ ...eb-components-2d194f07-d13e-4044-a57b-25def72e8123.json | 6 ++++++ 2 files changed, 13 insertions(+) create mode 100644 change/@fluentui-web-components-2b72f1e1-54cc-4ce3-a0ab-8f0fad6abc7c.json create mode 100644 change/@fluentui-web-components-2d194f07-d13e-4044-a57b-25def72e8123.json diff --git a/change/@fluentui-web-components-2b72f1e1-54cc-4ce3-a0ab-8f0fad6abc7c.json b/change/@fluentui-web-components-2b72f1e1-54cc-4ce3-a0ab-8f0fad6abc7c.json new file mode 100644 index 0000000000000..461e7bfa4358f --- /dev/null +++ b/change/@fluentui-web-components-2b72f1e1-54cc-4ce3-a0ab-8f0fad6abc7c.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "update card background color attribute to reflect from view", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/change/@fluentui-web-components-2d194f07-d13e-4044-a57b-25def72e8123.json b/change/@fluentui-web-components-2d194f07-d13e-4044-a57b-25def72e8123.json new file mode 100644 index 0000000000000..1138ca3671860 --- /dev/null +++ b/change/@fluentui-web-components-2d194f07-d13e-4044-a57b-25def72e8123.json @@ -0,0 +1,6 @@ +{ + "type": "patch", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch" +}