Skip to content

Commit

Permalink
v0.97.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siteimprove-builduser committed Dec 13, 2024
1 parent fc34ba9 commit ecb174c
Show file tree
Hide file tree
Showing 182 changed files with 1,776 additions and 1,445 deletions.
5 changes: 0 additions & 5 deletions .changeset/few-clouds-play.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-islands-decide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rare-lies-invent.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-ants-work.md

This file was deleted.

14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Alfa changelog

## [0.97.0](../../compare/v0.96.0...v0.97.0) (2024-12-13)

### Added

- [@siteimprove/alfa-style](packages/alfa-style/CHANGELOG.md#0970): CSS shorthand property `mask` and corresponding longhand properties are now supported. ([#1711](https://github.com/Siteimprove/alfa/pull/1711))

- [@siteimprove/alfa-css](packages/alfa-css/CHANGELOG.md#0970): `List#cutOrExtend` is now available. ([#1711](https://github.com/Siteimprove/alfa/pull/1711))

- [@siteimprove/alfa-css](packages/alfa-css/CHANGELOG.md#0970): `List#size` is now available. ([#1711](https://github.com/Siteimprove/alfa/pull/1711))

### Fixed

- [@siteimprove/alfa-rules](packages/alfa-rules/CHANGELOG.md#0970): URI of SIA-R115 is now correct. ([#1734](https://github.com/Siteimprove/alfa/pull/1734))

## [0.96.0](../../compare/v0.95.0...v0.96.0) (2024-12-06)

### Added
Expand Down
13 changes: 13 additions & 0 deletions docs/api/alfa-css.box.coordbox.json.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [CoordBox](./alfa-css.box.coordbox.md) &gt; [JSON](./alfa-css.box.coordbox.json.md)

## Box.CoordBox.JSON type

**Signature:**

```typescript
type JSON = PaintBox.JSON | Keyword.JSON<"view-box">;
```
**References:** [Keyword.JSON](./alfa-css.keyword.json.md)

15 changes: 15 additions & 0 deletions docs/api/alfa-css.box.coordbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [CoordBox](./alfa-css.box.coordbox.md)

## Box.CoordBox type

[https://www.w3.org/TR/css-box-4/\#typedef-coord-box](https://www.w3.org/TR/css-box-4/#typedef-coord-box)

**Signature:**

```typescript
export type CoordBox = PaintBox | Keyword<"view-box">;
```
**References:** [PaintBox](./alfa-css.box.paintbox.md)

2 changes: 1 addition & 1 deletion docs/api/alfa-css.box.geometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
**Signature:**

```typescript
type Geometry = Shape | Keyword<"fill-box"> | Keyword<"stroke-box"> | Keyword<"view-box">;
export type Geometry = Shape | Keyword<"fill-box"> | Keyword<"stroke-box"> | Keyword<"view-box">;
```
**References:** [Shape](./alfa-css.box.shape.md)

2 changes: 1 addition & 1 deletion docs/api/alfa-css.box.json.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
**Signature:**

```typescript
type JSON = Keyword.JSON<"border-box"> | Keyword.JSON<"padding-box"> | Keyword.JSON<"content-box">;
export type JSON = Keyword.JSON<"border-box"> | Keyword.JSON<"padding-box"> | Keyword.JSON<"content-box">;
```
**References:** [Keyword.JSON](./alfa-css.keyword.json.md)

13 changes: 13 additions & 0 deletions docs/api/alfa-css.box.paintbox.json.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [PaintBox](./alfa-css.box.paintbox.md) &gt; [JSON](./alfa-css.box.paintbox.json.md)

## Box.PaintBox.JSON type

**Signature:**

```typescript
type JSON = VisualBox.JSON | Keyword.JSON<"fill-box"> | Keyword.JSON<"stroke-box">;
```
**References:** [Keyword.JSON](./alfa-css.keyword.json.md)

15 changes: 15 additions & 0 deletions docs/api/alfa-css.box.paintbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [PaintBox](./alfa-css.box.paintbox.md)

## Box.PaintBox type

[https://www.w3.org/TR/css-box-4/\#typedef-paint-box](https://www.w3.org/TR/css-box-4/#typedef-paint-box)

**Signature:**

```typescript
export type PaintBox = VisualBox | Keyword<"fill-box"> | Keyword<"stroke-box">;
```
**References:** [VisualBox](./alfa-css.box.visualbox.md)

11 changes: 11 additions & 0 deletions docs/api/alfa-css.box.parsecoordbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [parseCoordBox](./alfa-css.box.parsecoordbox.md)

## Box.parseCoordBox variable

**Signature:**

```typescript
parseCoordBox: CSSParser<CoordBox>
```
11 changes: 11 additions & 0 deletions docs/api/alfa-css.box.parsepaintbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [parsePaintBox](./alfa-css.box.parsepaintbox.md)

## Box.parsePaintBox variable

**Signature:**

```typescript
parsePaintBox: CSSParser<PaintBox>
```
11 changes: 11 additions & 0 deletions docs/api/alfa-css.box.parsevisualbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [parseVisualBox](./alfa-css.box.parsevisualbox.md)

## Box.parseVisualBox variable

**Signature:**

```typescript
parseVisualBox: CSSParser<VisualBox>
```
2 changes: 1 addition & 1 deletion docs/api/alfa-css.box.shape.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
**Signature:**

```typescript
type Shape = Box | Keyword<"margin-box">;
export type Shape = Box | Keyword<"margin-box">;
```
**References:** [Box](./alfa-css.box.md)

13 changes: 13 additions & 0 deletions docs/api/alfa-css.box.visualbox.json.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [VisualBox](./alfa-css.box.visualbox.md) &gt; [JSON](./alfa-css.box.visualbox.json.md)

## Box.VisualBox.JSON type

**Signature:**

```typescript
type JSON = Keyword.JSON<"content-box"> | Keyword.JSON<"padding-box"> | Keyword.JSON<"border-box">;
```
**References:** [Keyword.JSON](./alfa-css.keyword.json.md)

13 changes: 13 additions & 0 deletions docs/api/alfa-css.box.visualbox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [Box](./alfa-css.box.md) &gt; [VisualBox](./alfa-css.box.visualbox.md)

## Box.VisualBox type

[https://www.w3.org/TR/css-box-4/\#typedef-visual-box](https://www.w3.org/TR/css-box-4/#typedef-visual-box)

**Signature:**

```typescript
export type VisualBox = Keyword<"content-box"> | Keyword<"padding-box"> | Keyword<"border-box">;
```
32 changes: 32 additions & 0 deletions docs/api/alfa-css.list.cutorextend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [List](./alfa-css.list.md) &gt; [cutOrExtend](./alfa-css.list.cutorextend.md)

## List.cutOrExtend() method

Returns a copy of the current instance cut off or extended with repeated values to match the given `length`<!-- -->.

**Signature:**

```typescript
cutOrExtend(length: number): List<V>;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| length | number | |

**Returns:**

[List](./alfa-css.list.md)<!-- -->&lt;V&gt;

## Example 1

List.of(\[1, 2, 3\]).cutOrExtend(2); // returns a new List with values \[1, 2\]

## Example 2

List.of(\[1, 2, 3\]).cutOrExtend(5); // returns a new List with values \[1, 2, 3, 1, 2\]

11 changes: 11 additions & 0 deletions docs/api/alfa-css.list.size.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@siteimprove/alfa-css](./alfa-css.md) &gt; [List](./alfa-css.list.md) &gt; [size](./alfa-css.list.size.md)

## List.size property

**Signature:**

```typescript
get size(): number;
```
2 changes: 1 addition & 1 deletion docs/api/alfa-rules.alfaversion.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
**Signature:**

```typescript
alfaVersion = "0.96.0"
alfaVersion = "0.97.0"
```
8 changes: 8 additions & 0 deletions docs/api/alfa-style.longhands.longhands.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,14 @@ longHands: {
readonly "margin-left": Longhand<import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Length | import("@siteimprove/alfa-css").Keyword<"auto">, import("@siteimprove/alfa-css").Length.Canonical | import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Keyword<"auto">>;
readonly "margin-right": Longhand<import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Length | import("@siteimprove/alfa-css").Keyword<"auto">, import("@siteimprove/alfa-css").Length.Canonical | import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Keyword<"auto">>;
readonly "margin-top": Longhand<import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Length | import("@siteimprove/alfa-css").Keyword<"auto">, import("@siteimprove/alfa-css").Length.Canonical | import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Keyword<"auto">>;
readonly "mask-clip": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-clip.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-clip.js").Specified.Item>>;
readonly "mask-composite": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-composite.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-composite.js").Specified.Item>>;
readonly "mask-image": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-image.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-image.js").Specified.Item>>;
readonly "mask-mode": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-mode.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-mode.js").Specified.Item>>;
readonly "mask-origin": Longhand<import("@siteimprove/alfa-css").List<import("@siteimprove/alfa-css").Box.CoordBox>, import("@siteimprove/alfa-css").List<import("@siteimprove/alfa-css").Box.CoordBox>>;
readonly "mask-position": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-position.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-position.js").Specified.Item>>;
readonly "mask-repeat": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-repeat.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("@siteimprove/alfa-css").Tuple<[import("@siteimprove/alfa-css").Keyword<"repeat"> | import("@siteimprove/alfa-css").Keyword<"space"> | import("@siteimprove/alfa-css").Keyword<"round"> | import("@siteimprove/alfa-css").Keyword<"no-repeat">, import("@siteimprove/alfa-css").Keyword<"repeat"> | import("@siteimprove/alfa-css").Keyword<"space"> | import("@siteimprove/alfa-css").Keyword<"round"> | import("@siteimprove/alfa-css").Keyword<"no-repeat">]>>>;
readonly "mask-size": Longhand<import("@siteimprove/alfa-css").List<import("./property/mask-size.js").Specified.Item>, import("@siteimprove/alfa-css").List<import("./property/mask-size.js").Specified.Item>>;
readonly "min-height": Longhand<import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Length | import("@siteimprove/alfa-css").Keyword<"auto"> | import("@siteimprove/alfa-css").Keyword<"fit-content"> | import("@siteimprove/alfa-css").Keyword<"max-content"> | import("@siteimprove/alfa-css").Keyword<"min-content">, import("@siteimprove/alfa-css").Length.Canonical | import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Keyword<"auto"> | import("@siteimprove/alfa-css").Keyword<"fit-content"> | import("@siteimprove/alfa-css").Keyword<"max-content"> | import("@siteimprove/alfa-css").Keyword<"min-content">>;
readonly "min-width": Longhand<import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Length | import("@siteimprove/alfa-css").Keyword<"auto"> | import("@siteimprove/alfa-css").Keyword<"fit-content"> | import("@siteimprove/alfa-css").Keyword<"max-content"> | import("@siteimprove/alfa-css").Keyword<"min-content">, import("@siteimprove/alfa-css").Length.Canonical | import("@siteimprove/alfa-css").Percentage | import("@siteimprove/alfa-css").Keyword<"auto"> | import("@siteimprove/alfa-css").Keyword<"fit-content"> | import("@siteimprove/alfa-css").Keyword<"max-content"> | import("@siteimprove/alfa-css").Keyword<"min-content">>;
readonly "mix-blend-mode": Longhand<import("@siteimprove/alfa-css").Keyword.ToKeywords<"screen" | "color" | "hue" | "saturation" | "normal" | "multiply" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "luminosity" | "plus-darker" | "plus-lighter">, import("@siteimprove/alfa-css").Keyword.ToKeywords<"screen" | "color" | "hue" | "saturation" | "normal" | "multiply" | "overlay" | "darken" | "lighten" | "color-dodge" | "color-burn" | "hard-light" | "soft-light" | "difference" | "exclusion" | "luminosity" | "plus-darker" | "plus-lighter">>;
Expand Down
3 changes: 2 additions & 1 deletion docs/api/alfa-style.shorthands.shorthands.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

```typescript
shortHands: {
readonly background: Shorthand<"background-attachment" | "background-clip" | "background-color" | "background-image" | "background-origin" | "background-position-x" | "background-position-y" | "background-repeat-x" | "background-repeat-y" | "background-size">;
readonly background: Shorthand<"background-image" | "background-attachment" | "background-clip" | "background-color" | "background-origin" | "background-position-x" | "background-position-y" | "background-repeat-x" | "background-repeat-y" | "background-size">;
readonly "background-position": Shorthand<"background-position-x" | "background-position-y">;
readonly "background-repeat": Shorthand<"background-repeat-x" | "background-repeat-y">;
readonly "border-block-color": Shorthand<"border-block-end-color" | "border-block-start-color">;
Expand Down Expand Up @@ -40,6 +40,7 @@ shortHands: {
readonly "inset-inline": Shorthand<"inset-inline-end" | "inset-inline-start">;
readonly inset: Shorthand<"top" | "bottom" | "left" | "right">;
readonly margin: Shorthand<"margin-bottom" | "margin-left" | "margin-right" | "margin-top">;
readonly mask: Shorthand<"mask-image" | "mask-clip" | "mask-composite" | "mask-mode" | "mask-origin" | "mask-position" | "mask-repeat" | "mask-size">;
readonly outline: Shorthand<"outline-color" | "outline-style" | "outline-width">;
readonly overflow: Shorthand<"overflow-x" | "overflow-y">;
readonly "text-decoration": Shorthand<"text-decoration-color" | "text-decoration-line" | "text-decoration-style" | "text-decoration-thickness">;
Expand Down
2 changes: 1 addition & 1 deletion docs/review/api/alfa-rules.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { Tag } from '@siteimprove/alfa-act';
import { Text } from '@siteimprove/alfa-dom';

// @public (undocumented)
export const alfaVersion = "0.96.0";
export const alfaVersion = "0.97.0";

// @public (undocumented)
export class ARIA extends Requirement<"ARIA"> {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@changesets/cli": "^2.26.2",
"@microsoft/api-documenter": "^7.19.9",
"@microsoft/api-extractor": "^7.29.5",
"@siteimprove/alfa-toolchain": "workspace:^0.96.0",
"@siteimprove/alfa-toolchain": "workspace:^0.97.0",
"@types/node": "^22.0.0",
"knip": "^5.23.1",
"minimist": "^1.2.6",
Expand Down
2 changes: 2 additions & 0 deletions packages/alfa-act/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @siteimprove/alfa-act

## 0.97.0

## 0.96.0

## 0.95.0
Expand Down
52 changes: 26 additions & 26 deletions packages/alfa-act/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "http://json.schemastore.org/package",
"name": "@siteimprove/alfa-act",
"homepage": "https://alfa.siteimprove.com",
"version": "0.96.0",
"version": "0.97.0",
"license": "MIT",
"description": "Functionality for implementing rules specified in the ACT Rules Format",
"repository": {
Expand All @@ -22,31 +22,31 @@
"dist/**/*.d.ts"
],
"dependencies": {
"@siteimprove/alfa-applicative": "workspace:^0.96.0",
"@siteimprove/alfa-array": "workspace:^0.96.0",
"@siteimprove/alfa-earl": "workspace:^0.96.0",
"@siteimprove/alfa-either": "workspace:^0.96.0",
"@siteimprove/alfa-equatable": "workspace:^0.96.0",
"@siteimprove/alfa-functor": "workspace:^0.96.0",
"@siteimprove/alfa-future": "workspace:^0.96.0",
"@siteimprove/alfa-hash": "workspace:^0.96.0",
"@siteimprove/alfa-iterable": "workspace:^0.96.0",
"@siteimprove/alfa-json": "workspace:^0.96.0",
"@siteimprove/alfa-list": "workspace:^0.96.0",
"@siteimprove/alfa-mapper": "workspace:^0.96.0",
"@siteimprove/alfa-monad": "workspace:^0.96.0",
"@siteimprove/alfa-option": "workspace:^0.96.0",
"@siteimprove/alfa-performance": "workspace:^0.96.0",
"@siteimprove/alfa-predicate": "workspace:^0.96.0",
"@siteimprove/alfa-record": "workspace:^0.96.0",
"@siteimprove/alfa-refinement": "workspace:^0.96.0",
"@siteimprove/alfa-result": "workspace:^0.96.0",
"@siteimprove/alfa-sarif": "workspace:^0.96.0",
"@siteimprove/alfa-sequence": "workspace:^0.96.0",
"@siteimprove/alfa-string": "workspace:^0.96.0",
"@siteimprove/alfa-thunk": "workspace:^0.96.0",
"@siteimprove/alfa-trilean": "workspace:^0.96.0",
"@siteimprove/alfa-tuple": "workspace:^0.96.0"
"@siteimprove/alfa-applicative": "workspace:^0.97.0",
"@siteimprove/alfa-array": "workspace:^0.97.0",
"@siteimprove/alfa-earl": "workspace:^0.97.0",
"@siteimprove/alfa-either": "workspace:^0.97.0",
"@siteimprove/alfa-equatable": "workspace:^0.97.0",
"@siteimprove/alfa-functor": "workspace:^0.97.0",
"@siteimprove/alfa-future": "workspace:^0.97.0",
"@siteimprove/alfa-hash": "workspace:^0.97.0",
"@siteimprove/alfa-iterable": "workspace:^0.97.0",
"@siteimprove/alfa-json": "workspace:^0.97.0",
"@siteimprove/alfa-list": "workspace:^0.97.0",
"@siteimprove/alfa-mapper": "workspace:^0.97.0",
"@siteimprove/alfa-monad": "workspace:^0.97.0",
"@siteimprove/alfa-option": "workspace:^0.97.0",
"@siteimprove/alfa-performance": "workspace:^0.97.0",
"@siteimprove/alfa-predicate": "workspace:^0.97.0",
"@siteimprove/alfa-record": "workspace:^0.97.0",
"@siteimprove/alfa-refinement": "workspace:^0.97.0",
"@siteimprove/alfa-result": "workspace:^0.97.0",
"@siteimprove/alfa-sarif": "workspace:^0.97.0",
"@siteimprove/alfa-sequence": "workspace:^0.97.0",
"@siteimprove/alfa-string": "workspace:^0.97.0",
"@siteimprove/alfa-thunk": "workspace:^0.97.0",
"@siteimprove/alfa-trilean": "workspace:^0.97.0",
"@siteimprove/alfa-tuple": "workspace:^0.97.0"
},
"publishConfig": {
"access": "public",
Expand Down
2 changes: 2 additions & 0 deletions packages/alfa-affine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @siteimprove/alfa-affine

## 0.97.0

## 0.96.0

## 0.95.0
Expand Down
Loading

0 comments on commit ecb174c

Please sign in to comment.