Skip to content

Commit

Permalink
fixes build-break caused by rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasrice committed Apr 7, 2022
1 parent 0b6ba01 commit 7036e33
Show file tree
Hide file tree
Showing 12 changed files with 2,983 additions and 734 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {
child,
css,
customElement,
FASTElement,
Expand All @@ -14,7 +15,7 @@ const template = html<DesignTokensForm>`
<ul>
${repeat(
x => x.designTokens,
html<UIDesignTokenValue, DesignTokensForm>`
child<UIDesignTokenValue, DesignTokensForm>`
<li>
<td-design-token-field
:designToken=${x => x.definition}
Expand Down
30 changes: 8 additions & 22 deletions packages/web-components/fast-components/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,15 +507,7 @@ export const allComponents: {
delegatesFocus: true;
};
}, typeof TextField>;
fastTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
template: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ViewTemplate<import("@microsoft/fast-foundation").Tooltip, any, import("@microsoft/fast-element").ExecutionContext<any>>;
styles: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ElementStyles;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
template: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ViewTemplate<import("@microsoft/fast-foundation").Tooltip, any, import("@microsoft/fast-element").ExecutionContext<any>>;
styles: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ElementStyles;
}, typeof import("@microsoft/fast-foundation").Tooltip>;
fastTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof import("@microsoft/fast-foundation").Tooltip>;
fastToolbar: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
baseClass: typeof import("@microsoft/fast-foundation").Toolbar;
Expand Down Expand Up @@ -548,9 +540,11 @@ export const allComponents: {

// @public
export class Anchor extends Anchor_2 {
appearance: AnchorAppearance;
appearance?: AnchorAppearance;
// (undocumented)
appearanceChanged(oldValue: AnchorAppearance, newValue: AnchorAppearance): void;
// (undocumented)
connectedCallback(): void;
// @internal
defaultSlottedContentChanged(oldValue: any, newValue: any): void;
}
Expand Down Expand Up @@ -1276,15 +1270,7 @@ export const fastToolbar: (overrideDefinition?: import("@microsoft/fast-foundati
}, typeof Toolbar>;

// @public
export const fastTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<{
baseName: string;
template: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ViewTemplate<Tooltip, any, import("@microsoft/fast-element").ExecutionContext<any>>;
styles: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ElementStyles;
}> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<{
baseName: string;
template: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ViewTemplate<Tooltip, any, import("@microsoft/fast-element").ExecutionContext<any>>;
styles: (context: import("@microsoft/fast-foundation").ElementDefinitionContext, definition: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition>) => import("@microsoft/fast-element").ElementStyles;
}, typeof Tooltip>;
export const fastTooltip: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<import("@microsoft/fast-foundation").FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<import("@microsoft/fast-foundation").FoundationElementDefinition, typeof Tooltip>;

// @public
export const fastTreeItem: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<TreeItemOptions> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<TreeItemOptions, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
Expand Down Expand Up @@ -1698,7 +1684,7 @@ export interface Recipe<T> {
export class Search extends Search_2 {
// @public
appearance: SearchAppearance;
}
}

// @public
export type SearchAppearance = "filled" | "outline";
Expand Down Expand Up @@ -1833,7 +1819,7 @@ export const toolbarStyles: FoundationElementTemplate<ElementStyles, ToolbarOpti
export { Tooltip }

// @public
export const tooltipStyles: FoundationElementTemplate<ElementStyles>;
export const tooltipStyles: (context: ElementDefinitionContext, definition: FoundationElementDefinition) => ElementStyles;

export { TreeItem }

Expand Down Expand Up @@ -1915,7 +1901,7 @@ export const verticalSliderLabelStyles: ElementStyles;
// dist/dts/custom-elements.d.ts:339:5 - (ae-incompatible-release-tags) The symbol "fastSliderLabel" is marked as @public, but its signature references "SliderLabel" which is marked as @internal
// dist/dts/custom-elements.d.ts:378:5 - (ae-incompatible-release-tags) The symbol "fastTextArea" is marked as @public, but its signature references "TextArea" which is marked as @internal
// dist/dts/custom-elements.d.ts:395:5 - (ae-incompatible-release-tags) The symbol "fastTextField" is marked as @public, but its signature references "TextField" which is marked as @internal
// dist/dts/custom-elements.d.ts:421:5 - (ae-incompatible-release-tags) The symbol "fastToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal
// dist/dts/custom-elements.d.ts:413:5 - (ae-incompatible-release-tags) The symbol "fastToolbar" is marked as @public, but its signature references "Toolbar" which is marked as @internal

// (No @packageDocumentation comment for this package)

Expand Down
1 change: 0 additions & 1 deletion packages/web-components/fast-element/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"main": "dist/esm/index.js",
"type": "module",
"types": "dist/fast-element.d.ts",
"type": "module",
"unpkg": "dist/fast-element.min.js",
"sideEffects": [
"./dist/esm/debug.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,12 +193,12 @@ describe("The HTML binding directive", () => {
});

it("allows interpolated HTML tags in templates", async () => {
const { behavior, parentNode } = contentBinding();
const { behavior, parentNode, targets } = contentBinding();
const template = html`${x => html`<${x.knownValue}>Hi there!</${x.knownValue}>`}`;
const model = new Model(template);
model.knownValue = "button"

behavior.bind(model, defaultExecutionContext);
behavior.bind(model, ExecutionContext.default, targets);

expect(toHTML(parentNode)).to.equal(`<button>Hi there!</button>`);

Expand Down
Loading

0 comments on commit 7036e33

Please sign in to comment.