mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-17 23:42:51 +00:00
2.2 KiB
2.2 KiB
Changes to Media Query List Parser
2.1.4
August 5, 2023
- Do not allow keywords as media feature values in range context queries.
2.1.3
July 24, 2023
- Updated
@csstools/css-tokenizerto2.2.0(minor) - Updated
@csstools/css-parser-algorithmsto2.3.1(patch)
2.1.2
July 3, 2023
- Updated
@csstools/css-parser-algorithmsto2.3.0(minor)
2.1.1
June 21, 2023
- Fix parsing of
(width == 100px). This was erroneously parsed as a range query and will now instead be a general enclosed node.
2.1.0
June 1, 2023
- Fix
walkforMediaFeatureValuewith complex component values. - Add
statetowalkmethods.
This makes it possible pass down information from a parent structure to children.
e.g. you can set entry.state.inInPrintQuery = true for print and (min-width: 30cm).
2.0.4
April 10, 2023
- Updated
@csstools/css-tokenizerto2.1.1(patch) - Updated
@csstools/css-parser-algorithmsto2.1.1(patch)
2.0.3
April 10, 2023
- Add support for
env()functions as values in media queries. - Improve the detection of math function as values in media queries.
2.0.2
March 25, 2023
- Improve case insensitive string matching.
2.0.1
January 28, 2023
- Improve
typesdeclaration inpackage.json
2.0.0
January 19, 2023
- Refactor
MediaFeatureBooleanso that it follows the same structure asMediaFeaturePlain(breaking) - Change the
ParseErrorinterface, this is now a subclass ofError(breaking) - Add
getNameandgetNameTokento all nodes that have a feature name. - Add
@custom-mediaparsing.
1.0.0
November 14, 2022
- Initial version