Skip to content

Commit

Permalink
Extract API
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 24, 2024
1 parent cb48337 commit c82f949
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 118 deletions.
58 changes: 58 additions & 0 deletions docs/review/api/alfa-css.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,64 @@ export namespace Component {
parse: Parser_2<Slice<Token>, Component, string, []>;
}

// @public (undocumented)
export type Contain = Keyword<"none"> | Keyword<"strict"> | Keyword<"content"> | ContainFlags;

// @public (undocumented)
export namespace Contain {
const // (undocumented)
parse: Parser<Contain>;
}

// Warning: (ae-incompatible-release-tags) The symbol "ContainFlags" is marked as @public, but its signature references "Resolvable" which is marked as @internal
//
// @public (undocumented)
export class ContainFlags extends Value<"contain-flags", false> implements Resolvable<ContainFlags, never> {
// (undocumented)
equals(value: unknown): value is this;
// (undocumented)
hash(hash: Hash): void;
// (undocumented)
get inlineSize(): boolean;
// (undocumented)
get layout(): boolean;
// (undocumented)
static of(size: boolean, inlineSize: boolean, layout: boolean, style: boolean, paint: boolean): ContainFlags;
// (undocumented)
get paint(): boolean;
// (undocumented)
resolve(): ContainFlags;
// (undocumented)
get size(): boolean;
// (undocumented)
get style(): boolean;
// (undocumented)
toJSON(): ContainFlags.JSON;
// (undocumented)
toString(): string;
}

// @public (undocumented)
export namespace ContainFlags {
// (undocumented)
export function isContainFlags(value: unknown): value is ContainFlags;
// (undocumented)
export interface JSON extends Value.JSON<"contain-flags"> {
// (undocumented)
inlineSize: boolean;
// (undocumented)
layout: boolean;
// (undocumented)
paint: boolean;
// (undocumented)
size: boolean;
// (undocumented)
style: boolean;
}
const // (undocumented)
parse: Parser<ContainFlags>;
}

// @public
export type Converter<U extends string> = (value: number, from: U, to: U) => number;

Expand Down
Loading

0 comments on commit c82f949

Please sign in to comment.