Releases: phax/ph-css
Releases · phax/ph-css
v8.2.1
- Optimized output now compacts the box-model shorthand properties (
margin,padding,border-width,border-style,border-color) so that e.g.padding:10px 10px 10px 10pxis written aspadding:10px. See #126 - thx @cjohansen- New extension point
CSSShortHandDescriptor.getOptimizedExpressionfor descriptors that want to rewrite their expression on optimized write - Formatted (non-optimized) output is unchanged
- New extension point
Full Changelog: ph-css-parent-pom-8.2.0...ph-css-parent-pom-8.2.1
v8.2.0
- Updated to ph-commons 12.2.0
- Removed OSGI bundling
- Added support for CSS Nesting (CSS Nesting Module Level 1). See #94 and #123 - thx @blutorange
- New interface
ICSSNestedRuleas a marker for all nested CSS elements - New interface
IHasCSSNestedRulesfor managing nested rules - New class
CSSNestedDeclarationsto represent nested style declarations - Added support for relative selectors in nested style rules
- Updated
CSSVisitorandICSSVisitorwithonBeginNestedDeclarations/onEndNestedDeclarationscallbacks - Updated the CSS 3.0 grammar to support nested rules and the nesting selector (
&)
- New interface
- Added support for the CSS
@propertyrule. See #121 and #122 - thx @shagkur and @blutorange- New class
CSSPropertyRulerepresenting an@propertyat-rule with its descriptors - Invalid descriptors are silently dropped during parsing
- New class
- Allow bare identifiers as values inside
calc(). This fixes parsing of CSS Color Module 5 relative-color syntax such asoklch(from var(--c) 0.18 calc(c * 0.3) h). See #125 - thx @Artur-
What's Changed
- Implement CSS Nesting Module #94 by @blutorange in #123
- Feature/add property rule support by @shagkur in #122
New Contributors
- @blutorange made their first contribution in #123
Full Changelog: ph-css-parent-pom-8.1.1...ph-css-parent-pom-8.2.0
v8.1.1
v8.1.0
- Updated to ph-commons 12.1.0
- Using JSpecify annotations
Full Changelog: ph-css-parent-pom-8.0.1...ph-css-parent-pom-8.1.0
ph-css 8.0.1
- Add support for case sensitivity in attribute selector. See #116 - thx @Aditi-1400
What's Changed
- Add support for case sensitivity in attribute selector by @Aditi-1400 in #116
New Contributors
- @Aditi-1400 made their first contribution in #116
Full Changelog: ph-css-parent-pom-8.0.0...ph-css-parent-pom-8.0.1
ph-css 8.0.0
- Requires Java 17 as the minimum version
- Updated to ph-commons 12.0.0
- Removed all deprecated methods marked for removal
- Removed the separation between CSS2 and CSS3 - all one now
- Removed class
ECSSVersionand interfaceICSSVersionAwarebecause they have no real role anymore
Full Changelog: ph-css-parent-pom-7.1.0...ph-css-parent-pom-8.0.0
ph-css 7.1.0
ph-css 7.0.5
- Extended the enum
ECSSUnitwith additional new units - Changed the parser to accept any kind of dimension. See #114 - thx @shapiroronny
- This was basically necessary, because the internal parse method created would exceed 64KB :-/
Full Changelog: ph-css-parent-pom-7.0.4...ph-css-parent-pom-7.0.5
ph-css 7.0.4
- Added additional media query features. See [#104}(https://github.com//pull/104) - thx @nhubbard
- Added new setting
CSSReaderSettings.setKeepDeprecatedProperties(boolean)to customize if they should be read or discarded. See #107 - thx @hrozhkov1 - Added the property
keepDeprecatedPropertiesto the Maven plugin - Changed the default reading charset of the Maven plugin from
UTF-8toISO-8859-1to comply to the API based reading - Added the
targetDirectoryproperty to the Maven plugin. See #106 - thx @isochronous
What's Changed
New Contributors
Full Changelog: ph-css-parent-pom-7.0.3...ph-css-parent-pom-7.0.4