diff --git a/change/@fluentui-web-components-2020-09-29-23-07-40-users-chhol-export-design-system-interface.json b/change/@fluentui-web-components-2020-09-29-23-07-40-users-chhol-export-design-system-interface.json new file mode 100644 index 0000000000000..62a23183aa2c7 --- /dev/null +++ b/change/@fluentui-web-components-2020-09-29-23-07-40-users-chhol-export-design-system-interface.json @@ -0,0 +1,8 @@ +{ + "type": "minor", + "comment": "export DesignSystem interface", + "packageName": "@fluentui/web-components", + "email": "chhol@microsoft.com", + "dependentChangeType": "patch", + "date": "2020-09-30T06:07:40.839Z" +} diff --git a/packages/web-components/src/design-system-provider/index.ts b/packages/web-components/src/design-system-provider/index.ts index 498181cbd1242..7ffe7c524128e 100644 --- a/packages/web-components/src/design-system-provider/index.ts +++ b/packages/web-components/src/design-system-provider/index.ts @@ -572,4 +572,7 @@ export class FluentDesignSystemProvider extends DesignSystemProvider public neutralOutlineFocusDelta: number; } -export { DesignSystem }; +export type FluentDesignSystem = Omit< + DesignSystem, + 'contrast' | 'fontWeight' | 'neutralForegroundDarkIndex' | 'neutralForegroundLightIndex' +>;