From f31f7dc68c7377dd6f8f3e7d23c2baa80ecb8dd3 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Wed, 7 Jul 2021 19:18:09 -0700 Subject: [PATCH 1/2] export horizontal scroll styles --- packages/web-components/src/horizontal-scroll/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/web-components/src/horizontal-scroll/index.ts b/packages/web-components/src/horizontal-scroll/index.ts index 3a957ff64422d..e8715d9e1913d 100644 --- a/packages/web-components/src/horizontal-scroll/index.ts +++ b/packages/web-components/src/horizontal-scroll/index.ts @@ -46,3 +46,5 @@ export const fluentHorizontalScroll = HorizontalScroll.compose `, }); + +export const horizontalScrollStyles = styles; From 43671145903e9e29fd7c6d405da51110f67f56c4 Mon Sep 17 00:00:00 2001 From: Chris Holt Date: Wed, 7 Jul 2021 19:18:47 -0700 Subject: [PATCH 2/2] Change files --- ...eb-components-84ffea97-106f-45eb-9b4c-a4043ce36e6a.json | 7 +++++++ packages/web-components/docs/api-report.md | 3 +++ packages/web-components/src/horizontal-scroll/index.ts | 4 ++++ 3 files changed, 14 insertions(+) create mode 100644 change/@fluentui-web-components-84ffea97-106f-45eb-9b4c-a4043ce36e6a.json diff --git a/change/@fluentui-web-components-84ffea97-106f-45eb-9b4c-a4043ce36e6a.json b/change/@fluentui-web-components-84ffea97-106f-45eb-9b4c-a4043ce36e6a.json new file mode 100644 index 0000000000000..8f9692439a2fd --- /dev/null +++ b/change/@fluentui-web-components-84ffea97-106f-45eb-9b4c-a4043ce36e6a.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "export horizontal scroll styles", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch" +} diff --git a/packages/web-components/docs/api-report.md b/packages/web-components/docs/api-report.md index 4447767beeafc..b9a471fc73647 100644 --- a/packages/web-components/docs/api-report.md +++ b/packages/web-components/docs/api-report.md @@ -616,6 +616,9 @@ export class HorizontalScroll extends HorizontalScroll_2 { connectedCallback(): void; } +// @public +export const horizontalScrollStyles: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: HorizontalScrollOptions) => import("@microsoft/fast-element").ElementStyles; + // Warning: (ae-internal-missing-underscore) The name "HypertextStyles" should be prefixed with an underscore because the declaration is marked as @internal // // @internal (undocumented) diff --git a/packages/web-components/src/horizontal-scroll/index.ts b/packages/web-components/src/horizontal-scroll/index.ts index e8715d9e1913d..ae3749fe6b103 100644 --- a/packages/web-components/src/horizontal-scroll/index.ts +++ b/packages/web-components/src/horizontal-scroll/index.ts @@ -47,4 +47,8 @@ export const fluentHorizontalScroll = HorizontalScroll.compose