diff --git a/change/@microsoft-fast-foundation-b1cdc933-e7be-42e8-8d85-95a5af001f1a.json b/change/@microsoft-fast-foundation-b1cdc933-e7be-42e8-8d85-95a5af001f1a.json new file mode 100644 index 00000000000..a2eacca5dc4 --- /dev/null +++ b/change/@microsoft-fast-foundation-b1cdc933-e7be-42e8-8d85-95a5af001f1a.json @@ -0,0 +1,7 @@ +{ + "type": "prerelease", + "comment": "Removed the 'applyMixins' function from exported features.", + "packageName": "@microsoft/fast-foundation", + "email": "nicholasrice@noreply.github.com", + "dependentChangeType": "prerelease" +} diff --git a/packages/web-components/fast-foundation/docs/api-report.md b/packages/web-components/fast-foundation/docs/api-report.md index f6a024ad33d..dd87f8f6af6 100644 --- a/packages/web-components/fast-foundation/docs/api-report.md +++ b/packages/web-components/fast-foundation/docs/api-report.md @@ -91,9 +91,6 @@ export type AnchorTarget = ValuesOf; // @public export function anchorTemplate(options?: AnchorOptions): ViewTemplate; -// @public -export function applyMixins(derivedCtor: any, ...baseCtors: any[]): void; - // @public export class ARIAGlobalStatesAndProperties { ariaAtomic: "true" | "false" | string | null; diff --git a/packages/web-components/fast-foundation/src/utilities/apply-mixins.ts b/packages/web-components/fast-foundation/src/utilities/apply-mixins.ts index ee174360944..1bfe7fa8f35 100644 --- a/packages/web-components/fast-foundation/src/utilities/apply-mixins.ts +++ b/packages/web-components/fast-foundation/src/utilities/apply-mixins.ts @@ -3,7 +3,7 @@ import { AttributeConfiguration } from "@microsoft/fast-element"; /** * Apply mixins to a constructor. * Sourced from {@link https://www.typescriptlang.org/docs/handbook/mixins.html | TypeScript Documentation }. - * @public + * @internal */ export function applyMixins(derivedCtor: any, ...baseCtors: any[]) { const derivedAttributes = AttributeConfiguration.locate(derivedCtor); diff --git a/packages/web-components/fast-foundation/src/utilities/index.ts b/packages/web-components/fast-foundation/src/utilities/index.ts index 1e1ea5e606f..6f1b1ffb3d3 100644 --- a/packages/web-components/fast-foundation/src/utilities/index.ts +++ b/packages/web-components/fast-foundation/src/utilities/index.ts @@ -1,4 +1,3 @@ -export * from "./apply-mixins.js"; export * from "./direction.js"; export * from "./match-media-stylesheet-behavior.js"; export * from "./property-stylesheet-behavior.js";