diff --git a/docs/review/api/alfa-act.api.md b/docs/review/api/alfa-act.api.md index 85ee5d7486..17251192ba 100644 --- a/docs/review/api/alfa-act.api.md +++ b/docs/review/api/alfa-act.api.md @@ -138,7 +138,7 @@ export namespace Outcome { // (undocumented) export function isApplicable(value: unknown): value is Applicable; } - // Warning: (ae-incompatible-release-tags) The symbol "CantTell" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "CantTell" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export class CantTell extends Outcome { @@ -178,7 +178,7 @@ export namespace Outcome { export function isCantTell(value: Outcome): value is CantTell; // (undocumented) export function isCantTell(value: unknown): value is CantTell; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export interface JSON extends Outcome.JSON { @@ -201,7 +201,7 @@ export namespace Outcome { "@id": string; }; } - // Warning: (ae-incompatible-release-tags) The symbol "Failed" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "Failed" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export class Failed extends Outcome { @@ -249,7 +249,7 @@ export namespace Outcome { export function isFailed(value: Outcome): value is Failed; // (undocumented) export function isFailed(value: unknown): value is Failed; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export interface JSON extends Outcome.JSON { @@ -268,7 +268,7 @@ export namespace Outcome { const // (undocumented) failed: typeof Failed.of, // (undocumented) isFailed: typeof Failed.isFailed; - // Warning: (ae-incompatible-release-tags) The symbol "Inapplicable" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "Inapplicable" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export class Inapplicable extends Outcome { @@ -301,7 +301,7 @@ export namespace Outcome { export function isInapplicable(value: Outcome): value is Inapplicable; // (undocumented) export function isInapplicable(value: unknown): value is Inapplicable; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export interface JSON extends Outcome.JSON { @@ -310,7 +310,7 @@ export namespace Outcome { const // (undocumented) cantTell: typeof CantTell.of, // (undocumented) isCantTell: typeof CantTell.isCantTell; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export interface JSON { @@ -332,7 +332,7 @@ export namespace Outcome { } const // (undocumented) isApplicable: typeof Applicable.isApplicable; - // Warning: (ae-incompatible-release-tags) The symbol "Passed" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "Passed" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export class Passed extends Outcome { @@ -377,7 +377,7 @@ export namespace Outcome { export function isPassed(value: Outcome): value is Passed; // (undocumented) export function isPassed(value: unknown): value is Passed; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Value" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Outcome" which is marked as @internal // // (undocumented) export interface JSON extends Outcome.JSON { diff --git a/docs/review/api/alfa-aria.api.md b/docs/review/api/alfa-aria.api.md index 5e5645086b..9c9b2b6917 100644 --- a/docs/review/api/alfa-aria.api.md +++ b/docs/review/api/alfa-aria.api.md @@ -193,75 +193,6 @@ export namespace Feature { generic: Feature; } -// @public (undocumented) -function hasAccessibleName(device: Device, predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasAccessibleName(device: Device, name: string, ...rest: Array): Predicate; - -// @public (undocumented) -function hasAttribute(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasAttribute(name: Attribute.Name, value?: Predicate): Predicate; - -// @public (undocumented) -function hasExplicitRole(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasExplicitRole(name: N, ...rest: Array): Predicate; - -// @public (undocumented) -function hasHeadingLevel(device: Device, predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasImplicitRole(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasImplicitRole(name: N, ...rest: Array): Predicate; - -// @public -function hasIncorrectRoleWithoutName(device: Device): Predicate; - -// @public (undocumented) -function hasName(refinement: Refinement): Refinement>; - -// @public (undocumented) -function hasName(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasName(name: N, ...rest: Array): Refinement>; - -// @public (undocumented) -function hasName_2(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasName_2(name: string, ...rest: Array): Predicate; - -// @public (undocumented) -function hasNonDefaultRole(element: Element_2): boolean; - -// @public (undocumented) -function hasNonEmptyAccessibleName(device: Device): Predicate; - -// @public (undocumented) -function hasRole(device: Device, predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasRole(device: Device, name: N, ...rest: Array): Predicate; - -// @public (undocumented) -function hasRole_2(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasRole_2(name: N, ...rest: Array): Predicate; - -// @public (undocumented) -function hasValue(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasValue(value: string, ...rest: Array): Predicate; - // @public (undocumented) export class Inert extends Node<"inert"> { // (undocumented) @@ -276,24 +207,6 @@ export class Inert extends Node<"inert"> { toString(): string; } -// @public -function isIgnored(device: Device): Predicate; - -// @public -function isIncludedInTheAccessibilityTree(device: Device): Predicate; - -// @public -const isMarkedDecorative: Predicate; - -// @public -function isPerceivableForAll(device: Device): Predicate; - -// @public -function isProgrammaticallyHidden(device: Device, context?: Context): Predicate; - -// @public -const isSemanticallyDisabled: Predicate; - // @public (undocumented) export class Name implements Equatable, Serializable { // (undocumented) @@ -666,7 +579,7 @@ export namespace Node { const // (undocumented) empty: Traversal; } - const // Warning: (ae-forgotten-export) The symbol "predicate" needs to be exported by the entry point index.d.ts + const // Warning: (ae-forgotten-export) The symbol "predicate_3" needs to be exported by the entry point index.d.ts // // (undocumented) hasAttribute: typeof predicate_3.hasAttribute, // (undocumented) @@ -720,7 +633,7 @@ export namespace Role { export function from(element: Element_2): Option; export function fromExplicit(element: Element_2): Option; export function fromImplicit(element: Element_2): Option; - // Warning: (ae-forgotten-export) The symbol "Members" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "Members_2" needs to be exported by the entry point index.d.ts export type Inherited = N extends "roletype" | "none" ? never : Members_2; // (undocumented) export function isName(value: string): value is Name; @@ -745,7 +658,7 @@ export namespace Role { [M in Inherited]: SuperclassOf; }[Inherited]; export type Widget = SubclassOf<"widget">; - const // Warning: (ae-forgotten-export) The symbol "predicate" needs to be exported by the entry point index.d.ts + const // Warning: (ae-forgotten-export) The symbol "predicate_2" needs to be exported by the entry point index.d.ts // // (undocumented) hasName: typeof predicate_2.hasName; diff --git a/docs/review/api/alfa-css.api.md b/docs/review/api/alfa-css.api.md index acc515cfcf..739d284f60 100644 --- a/docs/review/api/alfa-css.api.md +++ b/docs/review/api/alfa-css.api.md @@ -53,6 +53,8 @@ export namespace Angle { hasUnit(unit: U): this is Fixed; // (undocumented) static of(value: number, unit: U): Fixed; + // Warning: (ae-forgotten-export) The symbol "Angle_2" needs to be exported by the entry point index.d.ts + // // (undocumented) static of(value: Angle_2): Fixed; // (undocumented) @@ -100,37 +102,6 @@ export namespace Angle { {}; } -// @public (undocumented) -class Angle_2 extends Dimension_2<"angle", U> { - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - hash(hash: Hash): void; - // (undocumented) - hasUnit(unit: U): this is Angle_2; - // (undocumented) - static of(value: number, unit: U): Angle_2; - // (undocumented) - scale(factor: number): Angle_2; - // (undocumented) - toJSON(): Angle_2.JSON; - // (undocumented) - toString(): string; - // (undocumented) - withUnit(unit: U): Angle_2; -} - -// @public (undocumented) -namespace Angle_2 { - // (undocumented) - function isAngle(value: unknown): value is Angle_2; - // (undocumented) - interface JSON extends Dimension_2.JSON<"angle", U> { - } - const // (undocumented) - parse: Parser; -} - // @public (undocumented) export type AnglePercentage = AnglePercentage.Calculated | Angle.Calculated | Angle.Fixed | Percentage.Calculated | Percentage.Fixed; @@ -452,6 +423,7 @@ export namespace Dimension { export interface JSON extends Numeric.Calculated.JSON { } } + // Warning: (ae-forgotten-export) The symbol "Numeric_2" needs to be exported by the entry point index.d.ts export abstract class Fixed[1] = Dimensions[1]> extends Numeric.Fixed implements IDimension, Convertible[1]>, Comparable> { protected constructor(value: number, unit: U, type: T); // (undocumented) @@ -503,36 +475,6 @@ export namespace Dimension { {}; } -// Warning: (ae-forgotten-export) The symbol "ToDimension" needs to be exported by the entry point index.d.ts -// -// @public (undocumented) -abstract class Dimension_2 = ToDimension> extends Numeric_2 { - protected constructor(value: number, unit: U, type: T); - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - hasUnit>(unit: V): this is Dimension_2; - // (undocumented) - toJSON(): Dimension_2.JSON; - // (undocumented) - get unit(): U; - // (undocumented) - protected readonly _unit: U; - // (undocumented) - abstract withUnit>(unit: V): Dimension_2; -} - -// @public (undocumented) -namespace Dimension_2 { - // (undocumented) - function isDimension(value: unknown): value is Dimension_2; - // (undocumented) - interface JSON = ToDimension> extends Numeric_2.JSON { - // (undocumented) - unit: U; - } -} - // @public (undocumented) export class Ellipse extends BasicShape<"ellipse"> { // (undocumented) @@ -696,7 +638,7 @@ export class HSL(hue: H, saturation: S, lightness: L, alpha: A): HSL; - // Warning: (ae-forgotten-export) The symbol "ToCanonical" needs to be exported by the entry point index.d.ts + // Warning: (ae-forgotten-export) The symbol "ToCanonical_2" needs to be exported by the entry point index.d.ts // // (undocumented) static of(hue: H, saturation: S, lightness: L, alpha: A): HSL, ToCanonical_2>; @@ -857,6 +799,8 @@ export namespace Integer { equals(value: unknown): value is this; // (undocumented) hash(hash: Hash): void; + // Warning: (ae-forgotten-export) The symbol "Integer_2" needs to be exported by the entry point index.d.ts + // // (undocumented) static of(value: number | Integer_2): Fixed; // (undocumented) @@ -898,31 +842,6 @@ export namespace Integer { {}; } -// @public (undocumented) -class Integer_2 extends Numeric_2<"integer"> { - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - hash(hash: Hash): void; - // (undocumented) - static of(value: number): Integer_2; - // (undocumented) - scale(factor: number): Integer_2; - // (undocumented) - toJSON(): Integer_2.JSON; -} - -// @public (undocumented) -namespace Integer_2 { - // (undocumented) - function isInteger(value: unknown): value is Integer_2; - // (undocumented) - interface JSON extends Numeric_2.JSON<"integer"> { - } - const // (undocumented) - parse: Parser; -} - // @public (undocumented) export class Keyword extends Value<"keyword", false> implements Resolvable, never> { // (undocumented) @@ -997,6 +916,8 @@ export namespace Length { isViewportRelative(): this is Fixed; // (undocumented) static of(value: number, unit: U): Fixed; + // Warning: (ae-forgotten-export) The symbol "Length_2" needs to be exported by the entry point index.d.ts + // // (undocumented) static of(value: Length_2): Fixed; resolve(resolver: Resolver): Canonical; @@ -1045,39 +966,6 @@ export namespace Length { {}; } -// @public (undocumented) -class Length_2 extends Dimension_2<"length", U> { - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - hash(hash: Hash): void; - // (undocumented) - hasUnit(unit: U): this is Length_2; - // (undocumented) - isRelative(): this is Length_2; - // (undocumented) - static of(value: number, unit: U): Length_2; - // (undocumented) - scale(factor: number): Length_2; - // (undocumented) - toJSON(): Length_2.JSON; - // (undocumented) - toString(): string; - // (undocumented) - withUnit(unit: U): Length_2; -} - -// @public (undocumented) -namespace Length_2 { - // (undocumented) - function isLength(value: unknown): value is Length_2; - // (undocumented) - interface JSON extends Dimension_2.JSON<"length", U> { - } - const // (undocumented) - parse: Parser; -} - // @public (undocumented) export type LengthPercentage = CALC extends true ? LengthPercentage.Calculated | Length.Calculated | Percentage.Calculated : CALC extends false ? Length.Fixed | Percentage.Fixed : LengthPercentage.Calculated | Length.Calculated | Percentage.Calculated | Length.Fixed | Percentage.Fixed; @@ -1224,8 +1112,12 @@ class Math_2 { resolve(this: Math_2<"length">, resolver: Expression.LengthResolver): Result, string>; // (undocumented) resolve(this: Math_2<"length-percentage">, resolver: Expression.Resolver<"px", Length_2<"px">>): Result, string>; + // Warning: (ae-forgotten-export) The symbol "Number_3" needs to be exported by the entry point index.d.ts + // // (undocumented) resolve(this: Math_2<"number">): Result; + // Warning: (ae-forgotten-export) The symbol "Percentage_2" needs to be exported by the entry point index.d.ts + // // (undocumented) resolve(this: Math_2<"percentage">, resolver?: Expression.PercentageResolver, hint?: T extends Angle_2 ? "angle" : "length"): Result; // (undocumented) @@ -1257,7 +1149,7 @@ namespace Math_2 { // (undocumented) type: "math expression"; } - const // Warning: (ae-incompatible-release-tags) The symbol "parse" is marked as @public, but its signature references "Dimension" which is marked as @internal + const // Warning: (ae-incompatible-release-tags) The symbol "parse" is marked as @public, but its signature references "Math_2" which is marked as @internal // // (undocumented) parse: Parser_2, Math_2, string, []>; @@ -1276,7 +1168,7 @@ namespace Math_2 { } export { Math_2 as Math } -// Warning: (ae-forgotten-export) The symbol "Function" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "Function_3" needs to be exported by the entry point index.d.ts // // @public (undocumented) export class Matrix extends Function_3<"matrix", false> implements Resolvable { @@ -1489,38 +1381,13 @@ namespace Number_2 { } export { Number_2 as Number } -// @public (undocumented) -class Number_3 extends Numeric_2<"number"> { - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - static of(value: number): Number_3; - // (undocumented) - scale(factor: number): Number_3; - // (undocumented) - toJSON(): Number_3.JSON; -} - -// @public (undocumented) -namespace Number_3 { - // (undocumented) - function isNumber(value: unknown): value is Number_3; - // (undocumented) - interface JSON extends Numeric_2.JSON<"number"> { - } - const // (undocumented) - parseZero: Parser; - const // (undocumented) - parse: Parser; -} - // @public (undocumented) export type Numeric = Numeric.Calculated | Numeric.Fixed; // @public (undocumented) export namespace Numeric { export abstract class Calculated extends Value implements INumeric { - // Warning: (ae-incompatible-release-tags) The symbol "__constructor" is marked as @public, but its signature references "ToMath" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "__constructor" is marked as @public, but its signature references "Numeric" which is marked as @internal protected constructor(math: ToMath, type: T); // (undocumented) equals(value: unknown): value is this; @@ -1528,11 +1395,11 @@ export namespace Numeric { hasCalculation(): this is Calculated; // (undocumented) hash(hash: Hash): void; - // Warning: (ae-incompatible-release-tags) The symbol "math" is marked as @public, but its signature references "ToMath" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "math" is marked as @public, but its signature references "Numeric" which is marked as @internal // // (undocumented) get math(): ToMath; - // Warning: (ae-incompatible-release-tags) The symbol "_math" is marked as @public, but its signature references "ToMath" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "_math" is marked as @public, but its signature references "Numeric" which is marked as @internal // // (undocumented) protected readonly _math: ToMath; @@ -1547,7 +1414,7 @@ export namespace Numeric { export namespace Calculated { // (undocumented) export interface JSON extends Value.JSON { - // Warning: (ae-incompatible-release-tags) The symbol "math" is marked as @public, but its signature references "ToMath" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "math" is marked as @public, but its signature references "Numeric" which is marked as @internal // // (undocumented) math: Serializable.ToJSON>; @@ -1608,55 +1475,6 @@ export namespace Numeric { {}; } -// @public (undocumented) -abstract class Numeric_2 implements Equatable, Hashable, Serializable { - protected constructor(value: number, type: T); - static readonly Decimals = 7; - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - hash(hash: Hash): void; - // (undocumented) - abstract scale(factor: number): Numeric_2; - // (undocumented) - toJSON(): Numeric_2.JSON; - // (undocumented) - toString(): string; - // (undocumented) - get type(): T; - // (undocumented) - protected readonly _type: T; - // (undocumented) - get value(): number; - // (undocumented) - protected readonly _value: number; -} - -// @public (undocumented) -namespace Numeric_2 { - // (undocumented) - type Dimension = "angle" | "length"; - // (undocumented) - function isNumeric(value: unknown): value is Numeric_2; - // Warning: (ae-incompatible-release-tags) The symbol "JSON" is marked as @public, but its signature references "Type" which is marked as @internal - // - // (undocumented) - interface JSON { - // (undocumented) - [key: string]: json.JSON; - // (undocumented) - type: T; - // (undocumented) - value: number; - } - // (undocumented) - type Ratio = "percentage"; - // (undocumented) - type Scalar = "integer" | "number"; - // @internal (undocumented) - type Type = Scalar | Ratio | Dimension; -} - // @public (undocumented) export type Parser = Parser_2, V, string>; @@ -1740,31 +1558,6 @@ export namespace Percentage { {}; } -// @public (undocumented) -class Percentage_2 extends Numeric_2<"percentage"> { - // (undocumented) - equals(value: unknown): value is this; - // (undocumented) - static of(value: number): Percentage_2; - // (undocumented) - scale(factor: number): Percentage_2; - // (undocumented) - toJSON(): Percentage_2.JSON; - // (undocumented) - toString(): string; -} - -// @public (undocumented) -namespace Percentage_2 { - // (undocumented) - function isPercentage(value: unknown): value is Percentage_2; - // (undocumented) - interface JSON extends Numeric_2.JSON<"percentage"> { - } - const // (undocumented) - parse: Parser; -} - // @public (undocumented) export class Perspective extends Function_3<"perspective", Value.HasCalculation<[D]>> implements Resolvable { // (undocumented) @@ -1862,7 +1655,7 @@ export class Position = Position, Component_2.Canonical, false>; @@ -2179,7 +1972,7 @@ export namespace Shadow { // (undocumented) withSpread: boolean; } - // Warning: (ae-incompatible-release-tags) The symbol "parse" is marked as @public, but its signature references "Options" which is marked as @internal + // Warning: (ae-incompatible-release-tags) The symbol "parse" is marked as @public, but its signature references "Shadow" which is marked as @internal // // (undocumented) export function parse(options?: Options): Parser; diff --git a/docs/review/api/alfa-dom.api.md b/docs/review/api/alfa-dom.api.md index 3ea372db58..2aa0a647a3 100644 --- a/docs/review/api/alfa-dom.api.md +++ b/docs/review/api/alfa-dom.api.md @@ -324,7 +324,7 @@ export namespace Element { // (undocumented) style: Block.JSON | null; } - const // Warning: (ae-forgotten-export) The symbol "predicate" needs to be exported by the entry point index.d.ts + const // Warning: (ae-forgotten-export) The symbol "predicate_3" needs to be exported by the entry point index.d.ts // // (undocumented) hasAttribute: typeof predicate_3.hasAttribute, // (undocumented) @@ -406,17 +406,6 @@ export namespace Fragment { } } -// @public (undocumented) -function getElementDescendants(node: Node, options?: Node.Traversal): Sequence; - -// @public -function getElementIdMap(node: Node): Map_2; - -// Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts -// -// @public -function getNodesBetween(node1: Node, node2: Node, includeOptions?: Options, treeOptions?: Node.Traversal): Sequence; - // @public (undocumented) export abstract class GroupingRule extends Rule { protected constructor(rules: Array); @@ -487,76 +476,6 @@ export namespace h { export function type(name: N, publicId?: string, systemId?: string): Type; } -// @public (undocumented) -function hasAttribute(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasAttribute(name: string, value?: Predicate): Predicate; - -// @public (undocumented) -function hasBox(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasChild(predicate: Predicate, options?: Node.Traversal): Predicate; - -// @public (undocumented) -function hasDescendant(predicate: Predicate, options?: Node.Traversal): Predicate; - -// @public (undocumented) -function hasDisplaySize(valueOrPredicate: number | Predicate): Predicate; - -// @public (undocumented) -function hasId(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasId(id: string, ...rest: Array): Predicate; - -// @public (undocumented) -function hasId(ids: Iterable_2): Predicate; - -// @public (undocumented) -function hasInclusiveDescendant(predicate: Predicate, options?: Node.Traversal): Predicate; - -// Warning: (ae-incompatible-release-tags) The symbol "hasInputType" is marked as @public, but its signature references "InputType" which is marked as @internal -// -// @public (undocumented) -function hasInputType(predicate: Predicate): Predicate; - -// Warning: (ae-incompatible-release-tags) The symbol "hasInputType" is marked as @public, but its signature references "InputType" which is marked as @internal -// -// @public (undocumented) -function hasInputType(inputType: InputType, ...rest: Array): Predicate; - -// @public (undocumented) -function hasName(predicate: Refinement): Refinement>; - -// @public (undocumented) -function hasName(name: N, ...rest: Array): Refinement>; - -// @public (undocumented) -function hasName_2(predicate: Refinement): Refinement>; - -// @public (undocumented) -function hasName_2(name: N, ...rest: Array): Refinement>; - -// @public (undocumented) -function hasNamespace(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasNamespace(namespace: Namespace, ...rest: Array): Predicate; - -// @public (undocumented) -function hasTabIndex(predicate?: Predicate): Predicate; - -// @public (undocumented) -function hasTabIndex(value: number, ...rest: Array_2): Predicate; - -// @public (undocumented) -function hasTextContent(predicate?: Predicate, options?: Node.Traversal): Predicate; - -// @public (undocumented) -const hasUniqueId: Predicate; - // @public (undocumented) export class ImportRule extends ConditionRule { // (undocumented) @@ -590,47 +509,6 @@ export namespace ImportRule { } } -// @internal (undocumented) -type InputType = "hidden" | "search" | "tel" | "url" | "email" | "password" | "date" | "month" | "week" | "time" | "datetime-local" | "number" | "range" | "color" | "checkbox" | "radio" | "file" | "submit" | "image" | "reset" | "button" | "text"; - -// Warning: (ae-incompatible-release-tags) The symbol "inputType" is marked as @public, but its signature references "InputType" which is marked as @internal -// -// @public (undocumented) -function inputType(element: Element<"input">): InputType; - -// @public (undocumented) -function isActuallyDisabled(element: Element): boolean; - -// @public (undocumented) -function isBrowsingContextContainer(element: Element): boolean; - -// @public -function isContent(options?: Node.Traversal): Predicate; - -// @public (undocumented) -function isDocumentElement(value: unknown): value is Element<"html">; - -// @public (undocumented) -function isDraggable(element: Element): boolean; - -// @public (undocumented) -function isEditingHost(element: Element): boolean; - -// @public -function isFallback(node: Node): boolean; - -// @public (undocumented) -function isReplaced(element: Element): element is Element<"audio" | "canvas" | "embed" | "iframe" | "img" | "input" | "object" | "video">; - -// @public (undocumented) -function isRoot(options?: Node.Traversal): Predicate; - -// @public (undocumented) -function isScopedTo(name: string, ...rest: Array): Predicate; - -// @public (undocumented) -function isSuggestedFocusable(element: Element): boolean; - // @public (undocumented) export function jsx(name: N, properties?: jsx.Properties | null, ...children: jsx.Children): Element; @@ -942,7 +820,7 @@ export namespace Node { // // (undocumented) getNodesBetween: typeof traversal.getNodesBetween; - const // Warning: (ae-forgotten-export) The symbol "predicate" needs to be exported by the entry point index.d.ts + const // Warning: (ae-forgotten-export) The symbol "predicate_2" needs to be exported by the entry point index.d.ts // // (undocumented) hasChild: typeof predicate_2.hasChild, // (undocumented) diff --git a/docs/review/api/alfa-rules.api.md b/docs/review/api/alfa-rules.api.md index b1a8fb7503..f83daf40b6 100644 --- a/docs/review/api/alfa-rules.api.md +++ b/docs/review/api/alfa-rules.api.md @@ -28,294 +28,30 @@ import { Text } from '@siteimprove/alfa-dom'; // @public const _default: Rule.Atomic>; -// @public (undocumented) -const _default_10: Rule.Atomic; - -// @public (undocumented) -const _default_11: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_12: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_13: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_14: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_15: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_16: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_17: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_18: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_19: Rule.Atomic, {}, Element>; - // @public const _default_2: Rule.Atomic, Question.Metadata, Node | Array_2>>; -// @public (undocumented) -const _default_20: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_21: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_22: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_23: Rule.Atomic>, Question.Metadata, Group>>; - -// @public (undocumented) -const _default_24: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_25: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_26: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_27: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_28: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_29: Rule.Atomic, {}, Attribute>; - // @public const _default_3: Rule.Atomic; -// @public (undocumented) -const _default_30: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_31: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_32: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_33: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_34: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_35: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_36: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_37: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_38: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_39: Rule.Atomic, Question.Metadata, Element>; - // @public @deprecated (undocumented) const _default_4: Rule.Atomic, {}, Element>; -// @public (undocumented) -const _default_40: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_41: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_42: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_43: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_44: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_45: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_46: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_47: Rule.Atomic>, Question.Metadata, Group>>; - -// @public (undocumented) -const _default_48: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_49: Rule.Atomic, {}, Element>; - // @public @deprecated (undocumented) const _default_5: Rule.Atomic, {}, Attribute>; -// @public (undocumented) -const _default_50: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_51: Rule.Atomic, {}, Attribute>; - -// @public (undocumented) -const _default_52: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_53: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_54: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_55: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_56: Rule.Composite, Question.Metadata, Element>; - -// @public (undocumented) -const _default_57: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_58: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_59: Rule.Atomic>, Question.Metadata, Group>>; - // @public (undocumented) const _default_6: Rule.Atomic, Question.Metadata, Element>; -// @public (undocumented) -const _default_60: Rule.Atomic>, {}, Group>>; - -// @public (undocumented) -const _default_61: Rule.Atomic; - -// @public (undocumented) -const _default_62: Rule.Atomic; - -// @public (undocumented) -const _default_63: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_64: Rule.Atomic; - -// @public (undocumented) -const _default_65: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_66: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_67: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_68: Rule.Atomic, Question.Metadata, Element>; - -// @public (undocumented) -const _default_69: Rule.Atomic>>; - // @public (undocumented) const _default_7: Rule.Atomic, Question.Metadata, Element>; -// @public (undocumented) -const _default_70: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_71: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_72: Rule.Atomic>>; - -// @public (undocumented) -const _default_73: Rule.Atomic; - -// @public (undocumented) -const _default_74: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_75: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_76: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_77: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_78: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_79: Rule.Atomic, {}, Element>; - // @public @deprecated (undocumented) const _default_8: Rule.Atomic; -// @public (undocumented) -const _default_80: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_81: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_82: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_83: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_84: Rule.Atomic>, Question.Metadata, Group>>; - -// @public (undocumented) -const _default_85: Rule.Atomic; - -// @public (undocumented) -const _default_86: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_87: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_88: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_89: Rule.Atomic; - // @public @deprecated (undocumented) const _default_9: Rule.Atomic; -// @public (undocumented) -const _default_90: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_91: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_92: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_93: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_94: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_95: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_96: Rule.Atomic, {}, Element>; - -// @public (undocumented) -const _default_97: Rule.Atomic, {}, Attribute>; - declare namespace deprecatedRules { export { _default_4 as DR6, diff --git a/docs/review/api/alfa-style.api.md b/docs/review/api/alfa-style.api.md index ef206b5e36..17ff5922ad 100644 --- a/docs/review/api/alfa-style.api.md +++ b/docs/review/api/alfa-style.api.md @@ -50,72 +50,6 @@ import { Tuple } from '@siteimprove/alfa-css'; import { Unit } from '@siteimprove/alfa-css'; import { URL } from '@siteimprove/alfa-css'; -// @public -function getBoundingBox(element: Element, device: Device, context?: Context): Option; - -// @public (undocumented) -function getOffsetParent(element: Element, device: Device): Option; - -// @public (undocumented) -function getPositioningParent(element: Element, device: Device): Option; - -// @public (undocumented) -function hasBorder(device: Device, context?: Context): Predicate; - -// @public -function hasBoxShadow(device: Device, context?: Context): Predicate; - -// @public (undocumented) -function hasCascadedStyle(name: N, predicate: Predicate, [source: Option]>, device: Device, context?: Context): Predicate; - -// @public @deprecated (undocumented) -function hasCascadedValueDeclaredInInlineStyleOf(context: Element, device: Device, name: Longhands.Name): Predicate; - -// @public (undocumented) -function hasComputedStyle(name: N, predicate: Predicate, [source: Option]>, device: Device, context?: Context): Predicate; - -// @public @deprecated (undocumented) -function hasInlineStyleProperty(name: Longhands.Name): Predicate; - -// @public (undocumented) -function hasOutline(device: Device, context?: Context): Predicate; - -// @public (undocumented) -function hasPositioningParent(device: Device, predicate: Predicate): Predicate; - -// @public (undocumented) -function hasSpecifiedStyle(name: N, predicate: Predicate, [source: Option]>, device: Device, context?: Context): Predicate; - -// @public (undocumented) -function hasTextDecoration(device: Device, context?: Context): Predicate; - -// @public -function hasTransparentBackground(device: Device, context?: Context): Predicate; - -// @public (undocumented) -function isFocusable(device: Device): Predicate; - -// @public (undocumented) -function isImportant(device: Device, property: Longhands.Name): Predicate; - -// @public (undocumented) -function isInert(device: Device): Predicate; - -// @public (undocumented) -function isPositioned(device: Device, ...positions: Array): Predicate; - -// @public (undocumented) -function isRendered(device: Device, context?: Context): Predicate; - -// @public (undocumented) -function isTabbable(device: Device): Predicate; - -// @public -function isVisible(device: Device, context?: Context): Predicate; - -// @public (undocumented) -function isVisibleShadow(shadow: Shadow.Canonical): boolean; - // Warning: (ae-internal-missing-underscore) The name "Longhand" should be prefixed with an underscore because the declaration is marked as @internal // // @internal (undocumented) @@ -301,7 +235,7 @@ export namespace Resolver { export function lengthPercentage(base: Length.Canonical, style: Style): LengthPercentage.Resolver; } -// Warning: (ae-forgotten-export) The symbol "Name" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "Name_2" needs to be exported by the entry point index.d.ts // Warning: (ae-internal-missing-underscore) The name "Shorthand" should be prefixed with an underscore because the declaration is marked as @internal // // @internal (undocumented) @@ -546,15 +480,15 @@ export namespace Value { // src/longhands.ts:199:7 - (ae-incompatible-release-tags) The symbol ""border-collapse"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:200:7 - (ae-incompatible-release-tags) The symbol ""border-end-end-radius"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:201:7 - (ae-incompatible-release-tags) The symbol ""border-end-start-radius"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:202:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:202:7 - (ae-forgotten-export) The symbol "Specified_2" needs to be exported by the entry point index.d.ts // src/longhands.ts:202:7 - (ae-incompatible-release-tags) The symbol ""border-image-outset"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:203:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:203:7 - (ae-forgotten-export) The symbol "Specified_4" needs to be exported by the entry point index.d.ts // src/longhands.ts:203:7 - (ae-incompatible-release-tags) The symbol ""border-image-repeat"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:204:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:204:7 - (ae-forgotten-export) The symbol "Specified_6" needs to be exported by the entry point index.d.ts // src/longhands.ts:204:7 - (ae-incompatible-release-tags) The symbol ""border-image-slice"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:205:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:205:7 - (ae-forgotten-export) The symbol "Specified_8" needs to be exported by the entry point index.d.ts // src/longhands.ts:205:7 - (ae-incompatible-release-tags) The symbol ""border-image-source"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:206:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:206:7 - (ae-forgotten-export) The symbol "Specified_9" needs to be exported by the entry point index.d.ts // src/longhands.ts:206:7 - (ae-incompatible-release-tags) The symbol ""border-image-width"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:207:7 - (ae-incompatible-release-tags) The symbol ""border-inline-end-color"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:208:7 - (ae-incompatible-release-tags) The symbol ""border-inline-end-style"" is marked as @public, but its signature references "Longhand" which is marked as @internal @@ -587,15 +521,15 @@ export namespace Value { // src/longhands.ts:235:7 - (ae-incompatible-release-tags) The symbol "float" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:236:7 - (ae-incompatible-release-tags) The symbol ""font-family"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:237:7 - (ae-incompatible-release-tags) The symbol ""font-size"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:238:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:238:7 - (ae-forgotten-export) The symbol "Specified_11" needs to be exported by the entry point index.d.ts // src/longhands.ts:238:7 - (ae-incompatible-release-tags) The symbol ""font-stretch"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:239:7 - (ae-incompatible-release-tags) The symbol ""font-style"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:240:7 - (ae-incompatible-release-tags) The symbol ""font-variant-caps"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:241:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:241:7 - (ae-forgotten-export) The symbol "Specified_12" needs to be exported by the entry point index.d.ts // src/longhands.ts:241:7 - (ae-incompatible-release-tags) The symbol ""font-variant-east-asian"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:242:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:242:7 - (ae-forgotten-export) The symbol "Specified_13" needs to be exported by the entry point index.d.ts // src/longhands.ts:242:7 - (ae-incompatible-release-tags) The symbol ""font-variant-ligatures"" is marked as @public, but its signature references "Longhand" which is marked as @internal -// src/longhands.ts:243:7 - (ae-forgotten-export) The symbol "Specified" needs to be exported by the entry point index.d.ts +// src/longhands.ts:243:7 - (ae-forgotten-export) The symbol "Specified_14" needs to be exported by the entry point index.d.ts // src/longhands.ts:243:7 - (ae-incompatible-release-tags) The symbol ""font-variant-numeric"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:244:7 - (ae-incompatible-release-tags) The symbol ""font-variant-position"" is marked as @public, but its signature references "Longhand" which is marked as @internal // src/longhands.ts:245:7 - (ae-incompatible-release-tags) The symbol ""font-weight"" is marked as @public, but its signature references "Longhand" which is marked as @internal diff --git a/docs/review/api/alfa-table.api.md b/docs/review/api/alfa-table.api.md index e1251d36ef..6950399645 100644 --- a/docs/review/api/alfa-table.api.md +++ b/docs/review/api/alfa-table.api.md @@ -251,12 +251,6 @@ export namespace Group { isGroup: Refinement; } -// @public (undocumented) -function hasElement(predicate: Predicate): Predicate; - -// @public (undocumented) -function hasElement(element: Element): Predicate; - // Warning: (ae-incompatible-release-tags) The symbol "Row" is marked as @public, but its signature references "Anchored" which is marked as @internal // // @public (undocumented) diff --git a/docs/review/api/alfa-toolchain.api.md b/docs/review/api/alfa-toolchain.api.md index 79c361510b..d81dd06411 100644 --- a/docs/review/api/alfa-toolchain.api.md +++ b/docs/review/api/alfa-toolchain.api.md @@ -60,7 +60,7 @@ export { Validation } // Warnings were encountered during analysis: // -// src/validation/validate-package-json.ts:43:5 - (ae-forgotten-export) The symbol "JSON" needs to be exported by the entry point index.d.ts +// src/validation/validate-package-json.ts:43:5 - (ae-forgotten-export) The symbol "JSON_2" needs to be exported by the entry point index.d.ts // (No @packageDocumentation comment for this package)