Skip to content

Commit

Permalink
Merge branch 'master' into users/kingoftac/foundation/update-grid-row…
Browse files Browse the repository at this point in the history
…-style-method
  • Loading branch information
scomea committed Apr 9, 2024
2 parents bc12e53 + 5b2b801 commit b712527
Show file tree
Hide file tree
Showing 112 changed files with 1,273 additions and 1,012 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "comparisons to document.activeElement consider shadowRoot",
"packageName": "@microsoft/fast-foundation",
"email": "stephcomeau@msn.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Foundation: Update Accordion template element naming (https://github.com/microsoft/fast/pull/6796)",
"packageName": "@microsoft/fast-foundation",
"email": "47367562+bheston@users.noreply.github.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Fix toolbar stealing focus",
"packageName": "@microsoft/fast-foundation",
"email": "fcollonval@users.noreply.github.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Foundation: Update Number field, Search, Switch, Text area, and Text field templates (https://github.com/microsoft/fast/pull/6798)",
"packageName": "@microsoft/fast-foundation",
"email": "47367562+bheston@users.noreply.github.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Update Badge and Breadcrumb templates (https://github.com/microsoft/fast/pull/6797)",
"packageName": "@microsoft/fast-foundation",
"email": "47367562+bheston@users.noreply.github.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "upgrade playwright to 1.41",
"packageName": "@microsoft/fast-foundation",
"email": "863023+radium-v@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "prerelease",
"comment": "Foundation: Update Slider templates (https://github.com/microsoft/fast/pull/6800)",
"packageName": "@microsoft/fast-foundation",
"email": "47367562+bheston@users.noreply.github.com",
"dependentChangeType": "prerelease"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "upgrade playwright to 1.41",
"packageName": "@microsoft/fast-ssr",
"email": "863023+radium-v@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<svg style="display: none;">
<svg style="display: none">
<symbol
id="test-icon"
width="20"
Expand All @@ -21,4 +21,26 @@
d="M8.26 4.6a5.21 5.21 0 0 1 9.03 5.22l-.2.34a.5.5 0 0 1-.67.19l-3.47-2-1.93 3.38c1.34.4 2.5 1.33 3.31 2.52h-.09c-.34 0-.66.11-.92.31A4.9 4.9 0 0 0 9.5 12.5a4.9 4.9 0 0 0-3.82 2.06 1.5 1.5 0 0 0-1.01-.3 5.94 5.94 0 0 1 5.31-2.74l2.1-3.68-3.83-2.2a.5.5 0 0 1-.18-.7l.2-.33Zm.92.42 1.7.98.02-.02a8.08 8.08 0 0 1 3.27-2.74 4.22 4.22 0 0 0-4.99 1.78ZM14 7.8c.47-.82.7-1.46.77-2.09a5.8 5.8 0 0 0-.06-1.62 6.96 6.96 0 0 0-2.95 2.41L14 7.8Zm.87.5 1.61.93a4.22 4.22 0 0 0-.74-5.02c.07.56.09 1.1.02 1.63-.1.79-.38 1.56-.89 2.46Zm-9.63 7.3a.5.5 0 0 0-.96.03c-.17.7-.5 1.08-.86 1.3-.38.23-.87.32-1.42.32a.5.5 0 0 0 0 1c.64 0 1.33-.1 1.94-.47.34-.2.64-.5.88-.87a2.96 2.96 0 0 0 4.68-.01 2.96 2.96 0 0 0 4.74-.06c.64.9 1.7 1.41 2.76 1.41a.5.5 0 1 0 0-1c-.98 0-1.96-.64-2.29-1.65a.5.5 0 0 0-.95 0 1.98 1.98 0 0 1-3.79.07.5.5 0 0 0-.94 0 1.98 1.98 0 0 1-3.8-.08Z"
/>
</symbol>
<symbol
id="chevron-left-icon"
width="12"
height="12"
viewBox="0 0 12 12"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M7.35 2.15c.2.2.2.5 0 .7L4.21 6l3.14 3.15a.5.5 0 1 1-.7.7l-3.5-3.5a.5.5 0 0 1 0-.7l3.5-3.5c.2-.2.5-.2.7 0Z"
/>
</symbol>
<symbol
id="chevron-right-icon"
width="12"
height="12"
viewBox="0 0 12 12"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M4.65 2.15a.5.5 0 0 0 0 .7L7.79 6 4.65 9.15a.5.5 0 1 0 .7.7l3.5-3.5a.5.5 0 0 0 0-.7l-3.5-3.5a.5.5 0 0 0-.7 0Z"
/>
</symbol>
</svg>
71 changes: 48 additions & 23 deletions packages/web-components/fast-foundation/docs/api-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ export type AccordionExpandMode = ValuesOf<typeof AccordionExpandMode>;

// @public
export type AccordionItemOptions = StartEndOptions<FASTAccordionItem> & {
expandedIcon?: StaticallyComposableHTML<FASTAccordionItem>;
collapsedIcon?: StaticallyComposableHTML<FASTAccordionItem>;
expandCollapseIcon?: StaticallyComposableHTML<FASTAccordionItem>;
};

// @public
Expand Down Expand Up @@ -152,7 +151,10 @@ export const AxisScalingMode: {
export type AxisScalingMode = ValuesOf<typeof AxisScalingMode>;

// @public
export function badgeTemplate<T extends FASTBadge>(): ElementViewTemplate<T>;
export type BadgeOptions = StartEndOptions;

// @public
export function badgeTemplate<T extends FASTBadge>(options?: BadgeOptions): ElementViewTemplate<T>;

// @public
export type BreadcrumbItemOptions = StartEndOptions<FASTBreadcrumbItem> & {
Expand All @@ -163,7 +165,10 @@ export type BreadcrumbItemOptions = StartEndOptions<FASTBreadcrumbItem> & {
export function breadcrumbItemTemplate<T extends FASTBreadcrumbItem>(options?: BreadcrumbItemOptions): ElementViewTemplate<T>;

// @public
export function breadcrumbTemplate<T extends FASTBreadcrumb>(): ElementViewTemplate<T>;
export type BreadcrumbOptions = StartEndOptions;

// @public
export function breadcrumbTemplate<T extends FASTBreadcrumb>(options?: BreadcrumbOptions): ElementViewTemplate<T>;

// @public
export type ButtonOptions = StartEndOptions<FASTButton>;
Expand Down Expand Up @@ -786,10 +791,17 @@ export class FASTAnchoredRegion extends FASTElement {
export class FASTAvatar extends FASTElement {
}

// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "FASTBadge" because one of its declarations is marked as @internal
//
// @public
export class FASTBadge extends FASTElement {
}

// @internal
export interface FASTBadge extends StartEnd {
}

// @public
export class FASTBaseProgress extends FASTElement {
// @internal (undocumented)
Expand All @@ -807,6 +819,9 @@ export class FASTBaseProgress extends FASTElement {
protected valueChanged(): void;
}

// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "FASTBreadcrumb" because one of its declarations is marked as @internal
//
// @public
export class FASTBreadcrumb extends FASTElement {
// @internal (undocumented)
Expand All @@ -815,6 +830,10 @@ export class FASTBreadcrumb extends FASTElement {
protected slottedBreadcrumbItemsChanged(): void;
}

// @internal
export interface FASTBreadcrumb extends StartEnd {
}

// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
// Warning: (ae-internal-mixed-release-tag) Mixed release tags are not allowed for "FASTBreadcrumbItem" because one of its declarations is marked as @internal
//
Expand Down Expand Up @@ -1454,10 +1473,10 @@ export class FASTNumberField extends FormAssociatedNumberField {
// @internal
connectedCallback(): void;
// @internal
control: HTMLInputElement;
// @internal
defaultSlottedNodes: Node[];
// @internal
field: HTMLInputElement;
// @internal
handleBlur(): void;
// @internal
handleChange(): void;
Expand Down Expand Up @@ -1711,11 +1730,11 @@ export class FASTSearch extends FormAssociatedSearch {
protected autofocusChanged(): void;
// @internal (undocumented)
connectedCallback(): void;
// @internal
control: HTMLInputElement;
// @internal (undocumented)
defaultSlottedNodes: Node[];
// @internal
field: HTMLInputElement;
// @internal
handleChange(): void;
handleClearInput(): void;
// @internal
Expand All @@ -1738,8 +1757,6 @@ export class FASTSearch extends FormAssociatedSearch {
readOnly: boolean;
// (undocumented)
protected readOnlyChanged(): void;
// @internal
root: HTMLDivElement;
size: number;
// (undocumented)
protected sizeChanged(): void;
Expand Down Expand Up @@ -1859,7 +1876,7 @@ export class FASTSlider extends FormAssociatedSlider implements SliderConfigurat
// @internal (undocumented)
stepMultiplier: number;
// @internal (undocumented)
thumb: HTMLDivElement;
thumbContainer: HTMLDivElement;
// @internal (undocumented)
track: HTMLDivElement;
// @internal (undocumented)
Expand All @@ -1883,6 +1900,8 @@ export class FASTSlider extends FormAssociatedSlider implements SliderConfigurat
export class FASTSliderLabel extends FASTElement {
// @internal (undocumented)
connectedCallback(): void;
// @internal (undocumented)
container: HTMLDivElement;
disabled: boolean;
// @internal (undocumented)
disconnectedCallback(): void;
Expand All @@ -1899,8 +1918,6 @@ export class FASTSliderLabel extends FASTElement {
// @internal (undocumented)
positionStyle: string;
// @internal (undocumented)
root: HTMLDivElement;
// @internal (undocumented)
sliderDirection: Direction;
// @internal (undocumented)
sliderMaxPosition: number;
Expand Down Expand Up @@ -1982,10 +1999,10 @@ export class FASTTextArea extends FormAssociatedTextArea {
// (undocumented)
protected autofocusChanged(): void;
cols: number;
// @internal
control: HTMLTextAreaElement;
// @internal (undocumented)
defaultSlottedNodes: Node[];
// @internal
field: HTMLTextAreaElement;
formId: string;
// @internal
handleChange(): void;
Expand Down Expand Up @@ -2015,7 +2032,7 @@ export class FASTTextArea extends FormAssociatedTextArea {
}

// @internal
export interface FASTTextArea extends DelegatesARIATextbox {
export interface FASTTextArea extends StartEnd, DelegatesARIATextbox {
}

// Warning: (ae-different-release-tags) This symbol has another declaration with a different release tag
Expand All @@ -2029,11 +2046,11 @@ export class FASTTextField extends FormAssociatedTextField {
protected autofocusChanged(): void;
// @internal (undocumented)
connectedCallback(): void;
// @internal
control: HTMLInputElement;
// @internal (undocumented)
defaultSlottedNodes: Node[];
// @internal
field: HTMLInputElement;
// @internal
handleChange(): void;
// @internal
handleTextInput(): void;
Expand Down Expand Up @@ -2335,6 +2352,9 @@ export type GenerateHeaderOptions = ValuesOf<typeof GenerateHeaderOptions>;
// @public
export const getDirection: (rootNode: HTMLElement) => Direction;

// @public (undocumented)
export function getRootActiveElement(element: Element): Element | null;

// @public
export const hidden = ":host([hidden]){display:none}";

Expand Down Expand Up @@ -2478,8 +2498,8 @@ export function noninteractiveCalendarTemplate<T extends FASTCalendar>(options:

// @public
export type NumberFieldOptions = StartEndOptions<FASTNumberField> & {
stepDownGlyph?: StaticallyComposableHTML<FASTNumberField>;
stepUpGlyph?: StaticallyComposableHTML<FASTNumberField>;
stepDownIcon?: StaticallyComposableHTML<FASTNumberField>;
stepUpIcon?: StaticallyComposableHTML<FASTNumberField>;
};

// @public
Expand Down Expand Up @@ -2602,7 +2622,9 @@ export const ScrollEasing: {
export type ScrollEasing = ValuesOf<typeof ScrollEasing>;

// @public
export type SearchOptions = StartEndOptions<FASTSearch>;
export type SearchOptions = StartEndOptions<FASTSearch> & {
clearIcon?: StaticallyComposableHTML<FASTSearch>;
};

// @public
export function searchTemplate<T extends FASTSearch>(options?: SearchOptions): ElementViewTemplate<T>;
Expand Down Expand Up @@ -2702,7 +2724,7 @@ export const supportsElementInternals: boolean;

// @public
export type SwitchOptions = {
switch?: StaticallyComposableHTML<FASTSwitch>;
thumb?: StaticallyComposableHTML<FASTSwitch>;
};

// @public
Expand Down Expand Up @@ -2738,6 +2760,9 @@ export function tagFor(dependency: TemplateElementDependency): string;
// @beta
export type TemplateElementDependency = string | FASTElementDefinition | Constructable<FASTElement>;

// @public
export type TextAreaOptions = StartEndOptions;

// @public
export const TextAreaResize: {
readonly none: "none";
Expand All @@ -2750,7 +2775,7 @@ export const TextAreaResize: {
export type TextAreaResize = ValuesOf<typeof TextAreaResize>;

// @public
export function textAreaTemplate<T extends FASTTextArea>(): ElementViewTemplate<T>;
export function textAreaTemplate<T extends FASTTextArea>(options?: TextAreaOptions): ElementViewTemplate<T>;

// @public
export type TextFieldOptions = StartEndOptions<FASTTextField>;
Expand Down
2 changes: 1 addition & 1 deletion packages/web-components/fast-foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@
"@custom-elements-manifest/to-markdown": "^0.1.0",
"@microsoft/api-extractor": "7.24.2",
"@microsoft/tsdoc-config": "^0.13.4",
"@playwright/test": "^1.25.2",
"@playwright/test": "^1.41.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@storybook/addon-docs": "6.5.10",
"@storybook/addon-essentials": "6.5.10",
Expand Down

0 comments on commit b712527

Please sign in to comment.