Releases: BorderTech/wcomponents
Releases · BorderTech/wcomponents
v1.5.11
Enhancements
- Restored ability to override XSLT in themes.
v1.5.10
v1.4.26
v1.5.9
v1.5.8
v1.5.7
v1.5.6
Enhancements
- Ensure the xml preamble and opening
xsl:stylesheet
tag is consistent in all XSLT files - help to reduce likelihood of namespace issues in transformed HTML. - Enforce Sass lint at theme build time. See wcomponents-theme/.sass-lint.yml for default rules.
- Updated all internal uses of
org.apache.commons.lang.*
to useorg.apache.commons.lang3.*
which is the direct dependency in WComponents. #1539
Bug Fixes
- Updated WMenuGroup XSLT to prevent double separators #1544.
- Update version of npm sass module to fix build failure on Windows #1541.
- Fixed a flaw which would cause themes to fail to build if the inherit file had a terminating empty line. Part of #1492.
Note last item requires themes which inherit from any theme other than wcomponents-default to replace the theme in inherit.txt
with a Maven property in POM.xml of theme.inherit
. May be a path to a ZIP or directory tree (relative and absolute paths are both acceptable).
<properties>
<theme.inherit>/PATH/TO/the_parent_theme</theme.inherit>
</properties>
The previous method of trying to guess the parent theme from a name assuming a theme path is partially supported by using the previous inherit.txt
value along with a second Maven property theme.inheritance.dir
. This, it is plain, is a bit of a pointless waste of time since the path could be added directly to the theme.inherit
property.
<properties>
<theme.inherit>the_parent_theme</theme.inherit>
<theme.inheritance.dir>/some/path</theme.inheritance.dir>
</properties>
v1.5.5
Release Type
Bug fix release.
Bug Fixes
v1.4.25
v1.5.4
API Changes
- Added support for autocomplete to WDropdown, WEmailField, WNumberField, WPasswordField, WPhoneNumberField, WTextArea and WTextField #1007.
- Changed message property name
public static final String DEFAULT_MULTI_FORM_COMPONENT_TIP = "bordertech.wcomponents.message.multiFormComponent.tip";
topublic static final String DEFAULT_MULTIDROPDOWN_TIP = "bordertech.wcomponents.message.multiDropdown.tip";
as the tip is not suitable for use with WMultiTextField #1508. - Added message property
public static final String DEFAULT_MULTITEXTFIELD_TIP = "bordertech.wcomponents.message.multiTextField.tip";
with default (en) value of "Enter a value" #1508.
Enhancements
- Removed some style (rather than structure) CSS for mandatory indicators. Style should be the remit of themes.
- Added JavaScript unit tests for missing modules.
Bug Fixes
- Fixed XSLT error which resulted in WToggleButton not reporting its state #1525.
- Fixed missing custom class on WDefinitionList #1519.
- Fixed XSLT error causing WHeading content to include text equating to the value of its margin classes #1514.
- Fixed potential flaw caused by application-level custom CSS source order #1516.
- Fixed a flaw which caused selenium tests to fail if no class was defined in the URL #1510.
- Fixed missing inner labels on WMultiDropdown and WMultiTextField #1508.
- Fixed issue causing 'required' placeholders to be left when making a field optional #1506.
- Fixed missing name attribute on WDateField #1507