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 c88873a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 19 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"
}
20 changes: 1 addition & 19 deletions packages/web-components/fast-element/docs/api-report.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,15 @@ export type AddViewBehaviorFactory = (factory: ViewBehaviorFactory) => string;

// @public
export interface ArrayObserver extends SubscriberSet {
addSort(sort: Sort): void;
addSplice(splice: Splice): void;
flush(): void;
readonly lengthObserver: LengthObserver;
reset(oldCollection: any[] | undefined): void;
readonly sortObserver: SortObserver;
strategy: SpliceStrategy | null;
}

// @public
export const ArrayObserver: Readonly<{
readonly sorted: 0;
readonly enable: () => void;
}>;

Expand Down Expand Up @@ -784,7 +781,7 @@ export function repeat<TSource = any, TArray extends ReadonlyArray<any> = Readon
export class RepeatBehavior<TSource = any> implements ViewBehavior, Subscriber {
constructor(directive: RepeatDirective);
bind(controller: ViewController): void;
handleChange(source: any, args: Splice[] | Sort[] | ExpressionObserver): void;
handleChange(source: any, args: Splice[] | ExpressionObserver): void;
unbind(): void;
// @internal (undocumented)
views: SyntheticView[];
Expand Down Expand Up @@ -832,21 +829,6 @@ export class SlottedDirective extends NodeObservationDirective<SlottedDirectiveO
export interface SlottedDirectiveOptions<T = any> extends NodeBehaviorOptions<T>, AssignedNodesOptions {
}

// @public
export class Sort {
constructor(sorted?: number[] | undefined);
// (undocumented)
sorted?: number[] | undefined;
}

// @public
export function sortedCount<T>(array: readonly T[]): number;

// @public
export interface SortObserver extends Subscriber {
sorted: number;
}

// @public
export const SourceLifetime: Readonly<{
readonly unknown: undefined;
Expand Down

0 comments on commit c88873a

Please sign in to comment.