Skip to content

Commit d3f56d9

Browse files
committed
5.2.0
1 parent bff7e4d commit d3f56d9

5 files changed

Lines changed: 45 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# 5.2.0
2+
## FEATURE
3+
- Recently Viewed Products
4+
- Introduced a new component `ff-recently-viewed` to display the user's most recently viewed products.
5+
6+
## IMPROVEMENT
7+
- Suggest
8+
- Add `hide-delay` attribute to `ff-suggest` to allow configuration of the time it takes Suggest's popup to close. Use it when your users experience unreliable click behavior. Happens typically with input devices such as touchpads.
9+
- `<a>` tags within `ff-suggest-item` elements now behave "natively" on Ctrl-click etc.
10+
- Hit highlighting
11+
- Introduced new formatter `ff-hitHighlight` to be used in HTML templates of `ff-asn-group-element` and `ff-suggest-item`.
12+
- New attribute `no-auto-highlight` on `ff-asn` and `ff-suggest`.
13+
- These two elements add the highlighting markup to the underlying data.
14+
This makes the data unusable for other purposes.
15+
With `no-auto-highlight`, this no longer happens.
16+
Instead, you specify `ff-hitHighlight` in the HTML templates yourself wherever you need it.
17+
Example: `<ff-suggest-item type="productName">{{{ff-hitHighlight name}}}</ff-suggest-item>`.
18+
- We recommend to adjust your integration to use `no-auto-highlight` as this behavior will become the default in a future release.
19+
20+
## FIX
21+
- Suggest
22+
- Popup closes before click event is registered. Especially noticeable on touchpads.
23+
- `ff-asn`
24+
- Default template of `ff-asn-group-element` correctly renders hit highlighting.
25+
- Predictive Basket
26+
- Cart and checkout tracking threw an error.
27+
28+
129
# 5.1.8
230
## FIX
331
- Suggest

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ff-web-components",
3-
"version": "5.1.8",
3+
"version": "5.2.0",
44
"author": "Omikron Data Quality GmbH",
55
"description": "Web Components made to easily integrate FACT-Finder in online shops",
66
"main": "./dist/bundle.js",

dist/bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/default-styles.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,13 @@ ff-similar-products {
274274
}
275275

276276

277+
/* ---- ff-recently-viewed ---- */
278+
279+
ff-recently-viewed {
280+
display: block;
281+
}
282+
283+
277284
/* ---- ff-onfocus-suggest ---- */
278285

279286
ff-onfocus-suggest {
@@ -727,6 +734,13 @@ ff-slider .ffw-slider-button-right {
727734
transform: translate(0, -50%);
728735
}
729736

737+
/* Hidden visibility is important to take nested elements out of the tabindex chain when group is collapsed.
738+
`display:none` cannot be used because it breaks the recalculation of the slider's position. */
739+
ff-asn-group .ffw-wrapper:not([opened]),
740+
ff-asn-group-slider .ffw-wrapper:not([opened]) {
741+
visibility: hidden;
742+
}
743+
730744
ff-asn-remove-all-filters {
731745
display: inline-block;
732746
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ff-web-components",
3-
"version": "5.1.8",
3+
"version": "5.2.0",
44
"author": "Omikron Data Quality GmbH",
55
"description": "Web Components made to easily integrate FACT-Finder in online shops",
66
"repository": {

0 commit comments

Comments
 (0)