Skip to content

Commit

Permalink
Change files
Browse files Browse the repository at this point in the history
  • Loading branch information
janechu committed Feb 19, 2025
1 parent 6dc9d34 commit 2382eef
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Expose the fast registry and allow triggering definition updates",
"packageName": "@microsoft/fast-element",
"email": "[email protected]",
"dependentChangeType": "none"
}
4 changes: 2 additions & 2 deletions packages/web-components/fast-element/docs/api-report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,9 @@ export class FASTElementDefinition<TType extends Constructable<HTMLElement> = Co
updateTemplate: (template: ElementViewTemplate) => void;
}

// Warning: (ae-incompatible-release-tags) The symbol "fastElementRegistry" is marked as @public, but its signature references "TypeRegistry" which is marked as @internal
// Warning: (ae-internal-missing-underscore) The name "fastElementRegistry" should be prefixed with an underscore because the declaration is marked as @internal
//
// @public (undocumented)
// @internal
export const fastElementRegistry: TypeRegistry<FASTElementDefinition>;

// @public
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ const defaultShadowOptions: ShadowRootInit = { mode: "open" };
const defaultElementOptions: ElementDefinitionOptions = {};
const fastElementBaseTypes = new Set<Function>();

/**
* The FAST custom element registry
* @internal
*/
export const fastElementRegistry: TypeRegistry<FASTElementDefinition> = FAST.getById(
KernelServiceId.elementRegistry,
() => createTypeRegistry<FASTElementDefinition>()
Expand Down

0 comments on commit 2382eef

Please sign in to comment.