diff --git a/packages/web-components/docs/api-report.md b/packages/web-components/docs/api-report.md index f1da965703c524..7124ab8142dabe 100644 --- a/packages/web-components/docs/api-report.md +++ b/packages/web-components/docs/api-report.md @@ -4,6 +4,8 @@ ```ts +import { AnchorOptions as AnchorButtonOptions } from '@microsoft/fast-foundation'; +import { ButtonOptions } from '@microsoft/fast-foundation'; import { CSSDesignToken } from '@microsoft/fast-foundation'; import { DividerOrientation } from '@microsoft/fast-foundation'; import { DividerRole } from '@microsoft/fast-foundation'; @@ -11,17 +13,28 @@ import { ElementStyles } from '@microsoft/fast-element'; import { ElementViewTemplate } from '@microsoft/fast-element'; import { FASTAccordion } from '@microsoft/fast-foundation'; import { FASTAccordionItem } from '@microsoft/fast-foundation'; +import { FASTAnchor } from '@microsoft/fast-foundation'; +import { FASTButton } from '@microsoft/fast-foundation'; import { FASTDivider } from '@microsoft/fast-foundation'; import { FASTElement } from '@microsoft/fast-element'; import { FASTElementDefinition } from '@microsoft/fast-element'; +import { FASTMenu } from '@microsoft/fast-foundation'; +import { FASTMenuItem } from '@microsoft/fast-foundation'; import { FASTProgress } from '@microsoft/fast-foundation'; import { FASTProgressRing } from '@microsoft/fast-foundation'; +import { FASTRadio } from '@microsoft/fast-foundation'; +import { FASTRadioGroup } from '@microsoft/fast-foundation'; import { FASTSlider } from '@microsoft/fast-foundation'; import { FASTSwitch } from '@microsoft/fast-foundation'; +import { FASTTab } from '@microsoft/fast-foundation'; +import { FASTTabPanel } from '@microsoft/fast-foundation'; +import { FASTTabs } from '@microsoft/fast-foundation'; +import { RadioGroupOrientation } from '@microsoft/fast-foundation'; import { SliderOrientation } from '@microsoft/fast-foundation'; import { StartEnd } from '@microsoft/fast-foundation'; import { StartEndOptions } from '@microsoft/fast-foundation'; import { StaticallyComposableHTML } from '@microsoft/fast-foundation'; +import { TabsOrientation } from '@microsoft/fast-foundation'; import type { Theme } from '@fluentui/tokens'; import { ValuesOf } from '@microsoft/fast-foundation'; @@ -83,6 +96,64 @@ export const accordionStyles: ElementStyles; // @public (undocumented) export const accordionTemplate: ElementViewTemplate; +// @public +export class AnchorButton extends FASTAnchor { + appearance?: AnchorButtonAppearance | undefined; + // (undocumented) + connectedCallback(): void; + disabled?: boolean; + // (undocumented) + protected disabledChanged(prev: boolean, next: boolean): void; + disabledFocusable?: boolean; + // (undocumented) + protected disabledFocusableChanged(prev: boolean, next: boolean): void; + // (undocumented) + disconnectedCallback(): void; + iconOnly: boolean; + shape?: AnchorButtonShape | undefined; + size?: AnchorButtonSize; +} + +// @public +export const AnchorButtonAppearance: { + readonly primary: "primary"; + readonly outline: "outline"; + readonly subtle: "subtle"; + readonly secondary: "secondary"; + readonly transparent: "transparent"; +}; + +// @public +export type AnchorButtonAppearance = ValuesOf; + +// @public +export const AnchorButtonDefinition: FASTElementDefinition; + +export { AnchorButtonOptions } + +// @public +export const AnchorButtonShape: { + readonly circular: "circular"; + readonly rounded: "rounded"; + readonly square: "square"; +}; + +// @public +export type AnchorButtonShape = ValuesOf; + +// @public +export const AnchorButtonSize: { + readonly small: "small"; + readonly medium: "medium"; + readonly large: "large"; +}; + +// @public +export type AnchorButtonSize = ValuesOf; + +// @public +export const AnchorButtonTemplate: ElementViewTemplate; + // @public export class Avatar extends FASTElement { active?: AvatarActive | undefined; @@ -332,6 +403,64 @@ export const borderRadiusSmall: CSSDesignToken; // @public (undocumented) export const borderRadiusXLarge: CSSDesignToken; +// @public +export class Button extends FASTButton { + appearance?: ButtonAppearance | undefined; + // (undocumented) + connectedCallback(): void; + disabledFocusable?: boolean; + // (undocumented) + protected disabledFocusableChanged(prev: boolean, next: boolean): void; + // (undocumented) + disconnectedCallback(): void; + iconOnly: boolean; + shape?: ButtonShape | undefined; + size?: ButtonSize; +} + +// @public +export const ButtonAppearance: { + readonly primary: "primary"; + readonly outline: "outline"; + readonly subtle: "subtle"; + readonly secondary: "secondary"; + readonly transparent: "transparent"; +}; + +// @public +export type ButtonAppearance = ValuesOf; + +// @public +export const ButtonDefinition: FASTElementDefinition; + +export { ButtonOptions } +export { ButtonOptions as CompoundButtonOptions } +export { ButtonOptions as MenuButtonOptions } +export { ButtonOptions as ToggleButtonOptions } + +// @public +export const ButtonShape: { + readonly circular: "circular"; + readonly rounded: "rounded"; + readonly square: "square"; +}; + +// @public +export type ButtonShape = ValuesOf; + +// @public +export const ButtonSize: { + readonly small: "small"; + readonly medium: "medium"; + readonly large: "large"; +}; + +// @public +export type ButtonSize = ValuesOf; + +// @public +export const ButtonTemplate: ElementViewTemplate