-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Break down (a bit) huge selector file * Clean up types * Imprvoe documentation * Refactor selector type * Start breaking simple.ts * Improve inheritance * Extract some simple selectors * Extract more simple selectors * Extract pseudo-class and -element * Rework exports from alfa-selector * Simplify parsing in tests * Split test file * Improve typing * Start breaking down pseudo-class.ts * Break down pseudo-class * Move stuff around * Move stuff around * Move stuff around * Allow thunks in Function.parse * Refactor parsers * Improve parsers * Fix version numbers * Improve parsers * Finish refactoring pseudo-classes * Break down pseudo-element * Improve parsers * Improve parsers * Improve parsers * Update documentation * Clean up * Clean up * Clean up * Extract API * Typo Co-authored-by: Rolf Christian Jørgensen <[email protected]> * Break down double file/directory naming * Mark unused exports as public * Improve parser * Rework List * Clean up * Rework Compound selectors * Extract API --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Rolf Christian Jørgensen <[email protected]>
- Loading branch information
1 parent
28f88a8
commit 321a7eb
Showing
83 changed files
with
5,319 additions
and
4,742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siteimprove/alfa-selector": minor | ||
--- | ||
|
||
**Breaking:** The type guards on selectors are now under the namespace of the same name. | ||
|
||
That is, use `Compound.isCompound` instead of `Selector.isCompound`, … |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siteimprove/alfa-selector": minor | ||
--- | ||
|
||
**Breaking:** `Compound` selectors are now built on top of Iterable, rather than re-inventing chained lists. | ||
|
||
That is, `Compound#left` and `Compound#right` are no more available, but `Compound.selectors` replaces them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siteimprove/alfa-selector": minor | ||
--- | ||
|
||
**Breaking:** The various kinds of selectors are now directly exported from the package, out of the `Selector` namespace. | ||
|
||
That is, use `Id` instead of `Selector.Id`, … (or `import * as Selector` and keep using `Selector.Id`). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siteimprove/alfa-css": minor | ||
--- | ||
|
||
**Added:** `Function.parse` now also accepts a `Thunk` as body parser. | ||
|
||
This notably allows to build recursive parsers by wrapping them in continuation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@siteimprove/alfa-selector": minor | ||
--- | ||
|
||
**Breaking:** `List` selectors are now built on top of Iterable, rather than re-inventing chained lists. | ||
|
||
That is, `List#left` and `List#right` are no more available, but `List.selectors` replaces them. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.