Skip to content

Commit

Permalink
Extract API
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and rcj-siteimprove committed Feb 17, 2025
1 parent 7769f27 commit 36171a3
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 4 deletions.
37 changes: 34 additions & 3 deletions docs/review/api/alfa-painting-order.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,43 @@
```ts

import { Array as Array_2 } from '@siteimprove/alfa-array';
import type { Device } from '@siteimprove/alfa-device';
import { Element } from '@siteimprove/alfa-dom';
import { Sequence } from '@siteimprove/alfa-sequence';
import type { Equatable } from '@siteimprove/alfa-equatable';
import type { Hash } from '@siteimprove/alfa-hash';
import type { Hashable } from '@siteimprove/alfa-hash';
import { Iterable as Iterable_2 } from '@siteimprove/alfa-iterable';
import * as json from '@siteimprove/alfa-json';
import type { Serializable } from '@siteimprove/alfa-json';

// @public
export function computePaintingOrder(root: Element, device: Device): Sequence<Element>;
// @public (undocumented)
export class PaintingOrder implements Equatable, Hashable, Serializable<PaintingOrder.JSON> {
protected constructor(elements: Array_2<Element>);
// (undocumented)
equals(value: this): boolean;
// (undocumented)
equals(value: unknown): value is this;
// (undocumented)
hash(hash: Hash): void;
// (undocumented)
static of(elements: Iterable_2<Element>): PaintingOrder;
// (undocumented)
toJSON(options?: Serializable.Options): PaintingOrder.JSON;
}

// @public (undocumented)
export namespace PaintingOrder {
// (undocumented)
export function isPaintingOrder(value: unknown): value is PaintingOrder;
// (undocumented)
export type JSON = {
[key: string]: json.JSON;
type: "painting-order";
elements: Array_2<Element.JSON>;
};
const from: (this: unknown, root: Element<string>, device: Device) => PaintingOrder;
}

// (No @packageDocumentation comment for this package)

Expand Down
2 changes: 1 addition & 1 deletion docs/review/api/alfa-style.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ export namespace Shorthands {
readonly border: Shorthand<"border-bottom-color" | "border-bottom-style" | "border-bottom-width" | "border-left-color" | "border-left-style" | "border-left-width" | "border-right-color" | "border-right-style" | "border-right-width" | "border-top-color" | "border-top-style" | "border-top-width">;
readonly "border-width": Shorthand<"border-bottom-width" | "border-left-width" | "border-right-width" | "border-top-width">;
readonly "flex-flow": Shorthand<"flex-direction" | "flex-wrap">;
readonly font: Shorthand<"font-family" | "font-size" | "font-stretch" | "font-style" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-weight" | "line-height">;
readonly font: Shorthand<"font-size" | "font-family" | "font-stretch" | "font-style" | "font-variant-caps" | "font-variant-east-asian" | "font-variant-ligatures" | "font-variant-numeric" | "font-variant-position" | "font-weight" | "line-height">;
readonly "font-variant": Shorthand<"font-variant-caps" | "font-variant-east-asian" | "font-variant-ligatures" | "font-variant-numeric">;
readonly "inset-block": Shorthand<"inset-block-end" | "inset-block-start">;
readonly "inset-inline": Shorthand<"inset-inline-end" | "inset-inline-start">;
Expand Down

0 comments on commit 36171a3

Please sign in to comment.