Releases: Financial-Times/x-dash
v6.2.5
What's Changed
- CP-465 Added e2e test for hydration and serialisation by @serena97 in #617
- [ADSDEV-899] - adding width and height restrictions to radio input for privacy manager by @gitGremlin in #619
Full Changelog: v6.2.4...v6.2.5
change outline colour allow, block and save buttons for accessibility bug fix
v6.2.4 Merge pull request #616 from Financial-Times/ADSDEV-898_DAC_outline_b…
changed x-live-blog-post title tag to h2
This release uses h2 instead of h1 for x-live-blog-post
component.
The change was made to improve accessibility on live blogs post.
Apply focus outline to x-follow-button depends on theme colour
v6.2.0 Merge pull request #609 from Financial-Times/CON-1096-DAC_Non-text_co…
Add support for Preact.Fragment
v6.1.0 Merge pull request #604 from Financial-Times/feat/update-x-engine-to-…
Increase spacing within x-teaser timestamp status
This major release ensures that x-teaser timestamp statuses (e.g. 'Live' or 'New') have the required spacing between the status indicator dot and the text.
The design spec dictates 4px spacing between these elements:
o-labels
(as of v5.1.5) only adds margin-right: 2px between these two elements.
This is a major release to ensure consuming apps do not accidentally end up with additional spacing by not updating the parallel origami dependencies as per the below.
Migration steps:
This change requires consuming applications to be also using:
o-labels
: v5.1.5 or latero-teaser
: v5.2.2 or later
x-teaser has a new timestamp feature where a mix of relative and absolute timestamps are displayed
For the same calendar date, a relative time is displayed and anytime after, an absolute timestamp is displayed.
This feature can be used by passing useRelativeTimeIfToday
to be true within Teaser props
Handle multiple customSlot components
Non-breaking change to the customSlots
parameter of x-teaser-timeline
.
Now you can inject more than one custom element to the timeline, used initially for ads in the mobile app.
Make GDPR consent legislation-dependent
This patch release ensures that users under California jurisdiction do not automatically give consent under GDPR.
The change is encapsulated such that consuming apps are not required to make any changes.
Release v5.0.0 - Remove unused live blogs abstraction
Technical breaking change to live blogs to remove functionality that we moved into next-article.
- Remove unused listener logic #590