Skip to content

Commit fb0de59

Browse files
committed
release - v5.0.0
1 parent 5267a09 commit fb0de59

4 files changed

Lines changed: 138 additions & 70 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Changelog
2-
## Unreleased
2+
## [v5.0.0] - 2024.07.08
33
### BREAKING
4+
- Upgrade FACT-Finder Web-Components to version 5.0.0-pre.1
5+
- Drop support for FACT-Finder Web-Components v4
46
- Add support for PHP v8.2 and v8.3
57
- Upgrade magento libraries
68
- Upgrade composer dependencies
79
- Fix deprecations for magento/framework
8-
- Upgrade FACT-Finder Web-Components to version 5.x
910
- New SSR implementation for NG WebComponents
10-
- Upgrade bundle.js for new NG WebComponents
1111
- Upgrade SDK to support Magento v2.4.7
1212

1313
### Remove
@@ -614,6 +614,7 @@
614614
### Added
615615
- Feed Export: Export feed file is now available via separate link
616616

617+
[v5.0.0]: https://github.com/FACT-Finder-Web-Components/magento2-module/releases/tag/v5.0.0
617618
[v4.3.0]: https://github.com/FACT-Finder-Web-Components/magento2-module/releases/tag/v4.3.0
618619
[v4.2.2]: https://github.com/FACT-Finder-Web-Components/magento2-module/releases/tag/v4.2.2
619620
[v4.2.1]: https://github.com/FACT-Finder-Web-Components/magento2-module/releases/tag/v4.2.1

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@
44
[![Build status](https://github.com/FACT-Finder-Web-Components/magento2-module/workflows/build/badge.svg)](https://github.com/FACT-Finder-Web-Components/magento2-module/actions)
55
[![GitHub contributors](https://img.shields.io/github/contributors/FACT-Finder-Web-Components/magento2-module)](https://github.com/FACT-Finder-Web-Components/magento2-module/graphs/contributors)
66

7-
This is a new version of SDK (not released yet). Support for new WebComponents v5 NG
7+
This is a new version of SDK which support new WebComponents v5 NG. WebComponents v5 is in pre-released phrase.
8+
For official released WebComponents please SDK v4 available [here](https://github.com/FACT-Finder-Web-Components/magento2-module)
89

910
This document helps you integrate the FACT-Finder Web Components SDK into your Magento 2 Shop. In addition, it gives a
1011
concise overview of its primary functions. The first chapter *Installation* walks you through the suggested installation
1112
processes. The second chapter “Backend Configuration” explains the customisation options in the Magento 2 backend. The
1213
final chapter *Web Component Integration* describes how the web components interface with the shop system and how to
1314
customise them.
1415

16+
Our Magento 2 module offers a basic working integration for default Magento2 Luma theme. Most projects may require
17+
modifications in order to fit their needs. For more advanced features please check our official [WebComponnents documentation](https://web-components.fact-finder.de/documentation/4.x/install-dist).
18+
1519
## Table of contents
1620
- [Requirements](#requirements)
1721
- [Installation](#installation)

src/view/frontend/web/ff-web-components/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.

src/view/frontend/web/ff-web-components/default-styles.css

Lines changed: 128 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,35 @@ ff-products-per-page-dropdown {
2727
outline: none;
2828
}
2929

30-
ff-products-per-page-dropdown .ffw-ppp-dropdown-closed {
31-
display: none;
32-
}
33-
3430
ff-products-per-page-dropdown .ffw-ppp-dropdown-container {
3531
position: absolute;
32+
display: flex;
33+
flex-direction: column;
3634
background-color: white;
3735
outline: none;
3836
z-index: 1001;
37+
margin-top: 1px;
38+
margin-left: -1px;
3939

4040
-webkit-transition: height .4s;
4141
-moz-transition: height .4s;
4242
-ms-transition: height .4s;
4343
-o-transition: height .4s;
4444
transition: height .4s;
45+
height: 0;
46+
overflow: hidden;
4547
box-sizing: border-box;
4648
}
4749

50+
ff-products-per-page-dropdown .ffw-ppp-dropdown-closed {
51+
visibility: hidden;
52+
-webkit-transition: height .4s, visibility 0s .4s;
53+
-moz-transition: height .4s, visibility 0s .4s;
54+
-ms-transition: height .4s, visibility 0s .4s;
55+
-o-transition: height .4s, visibility 0s .4s;
56+
transition: height .4s, visibility 0s .4s;
57+
}
58+
4859
ff-products-per-page-item {
4960
display: block;
5061
cursor: pointer;
@@ -232,17 +243,26 @@ ff-paging-dropdown .ffw-paging-dropdown-container {
232243
background-color: white;
233244
outline: none;
234245
z-index: 1001;
246+
margin-top: 1px;
247+
margin-left: -1px;
235248

236249
-webkit-transition: height .4s;
237250
-moz-transition: height .4s;
238251
-ms-transition: height .4s;
239252
-o-transition: height .4s;
240253
transition: height .4s;
254+
height: 0;
255+
overflow: hidden;
241256
box-sizing: border-box;
242257
}
243258

244259
ff-paging-dropdown .ffw-paging-dropdown-closed {
245-
display: none;
260+
visibility: hidden;
261+
-webkit-transition: height .4s, visibility 0s .4s;
262+
-moz-transition: height .4s, visibility 0s .4s;
263+
-ms-transition: height .4s, visibility 0s .4s;
264+
-o-transition: height .4s, visibility 0s .4s;
265+
transition: height .4s, visibility 0s .4s;
246266
}
247267

248268

@@ -600,102 +620,145 @@ ff-slider-control {
600620
padding: 10px 0 10px 0;
601621
}
602622

623+
624+
ff-slider-control .ffw-slider-control-default .ffw-slider-control-inputs {
625+
display: flex;
626+
justify-content: space-around;
627+
align-items: center;
628+
}
629+
ff-slider-control .ffw-slider-control-default .ffw-input-container {
630+
position: relative;
631+
display: flex;
632+
align-items: center;
633+
border: 1px solid;
634+
}
635+
ff-slider-control .ffw-slider-control-default input {
636+
width: 60px;
637+
border: 0;
638+
padding: 4px 1em 4px .5em;
639+
text-align: center;
640+
}
641+
ff-slider-control .ffw-slider-control-default [data-unit] {
642+
position: absolute;
643+
right: 4px;
644+
}
645+
ff-slider-control .ffw-slider-control-default .ffw-slider-control-line {
646+
display: inline-block;
647+
width: 20px;
648+
height: 2px;
649+
background-color: black;
650+
}
651+
603652
ff-slider-control .ffw-sliderSection {
604653
margin-top: 10px;
605654
}
606655

607656
ff-slider {
608-
height: 5px;
609-
background-color: #336;
610-
margin: 5px auto;
611657
display: block;
612-
opacity: 0;
613-
transition: opacity 800ms;
658+
z-index: -1001;
659+
pointer-events: none;
614660
}
615661

616-
ff-slider .ffw-sliderWrapper {
617-
min-width: 1px;
662+
ff-slider .ffw-slider-container {
663+
top: 0;
664+
position: relative;
665+
pointer-events: none;
618666
}
619667

620-
ff-slider [slot^="slider"] {
621-
height: 10px;
622-
width: 10px;
623-
border: 1px solid black;
668+
ff-slider .ffw-triangle {
669+
pointer-events: auto;
670+
user-select: none;
671+
position: absolute;
672+
z-index: 1000;
673+
opacity: .5;
624674
cursor: pointer;
675+
touch-action: none;
676+
border-style: solid;
677+
border-color: transparent transparent #89bdff transparent;
678+
top: 50%;
679+
transition:
680+
top .2s ease-out,
681+
left .2s ease-out,
682+
transform .2s ease-out;
683+
transform: translate(-50%, -50%) scale(0.25);
625684
}
626685

627-
ff-compare {
628-
display: block;
686+
ff-slider .ffw-triangle.ffw-active {
687+
transition:
688+
top .2s ease-in,
689+
left .2s ease-in,
690+
transform .2s ease-in;
691+
transform: translateX(-100%) scale(1);
629692
}
630693

631-
ff-asn-remove-all-filter {
632-
display: inline-block;
633-
}
634-
635-
ff-breadcrumb-trail {
636-
display: inline;
694+
ff-slider .ffw-triangle.ffw-no-transition {
695+
transition: none;
637696
}
638697

639-
ff-breadcrumb-trail-item {
640-
transition: opacity 800ms;
641-
cursor: pointer;
642-
-webkit-user-select: none;
643-
-moz-user-select: none;
644-
-ms-user-select: none;
645-
user-select: none;
698+
ff-slider .ffw-line {
699+
pointer-events: auto;
700+
z-index: 999;
701+
top: 50%;
702+
position: absolute;
703+
height: 1px;
704+
transform: translateY(-50%);
705+
background-color: black;
706+
background-clip: padding-box;
707+
border-top: 25px solid transparent;
708+
border-bottom: 25px solid transparent;
646709
}
647710

648-
/* ---- ff-search-feedback ---- */
649-
650-
ff-search-feedback {
711+
ff-slider .ffw-selected-range {
712+
z-index: 1000;
713+
top: 50%;
651714
position: absolute;
652-
top: 20px;
715+
height: 2px;
716+
transform: translateY(-50%);
717+
background-color: #003ccb;
653718
}
654719

655-
ff-search-feedback[align="left"] {
656-
left: 0;
720+
ff-slider .ffw-slider-button {
721+
width: 5px;
722+
height: 5px;
723+
border: 1px solid black;
724+
position: absolute;
725+
top: 50%;
726+
z-index: 1003;
727+
pointer-events: auto;
728+
cursor: pointer;
729+
touch-action: none;
657730
}
658-
659-
ff-search-feedback[align="right"] {
660-
right: 0;
731+
ff-slider .ffw-slider-button-left {
732+
transform: translate(0, -50%);
661733
}
662-
663-
ff-search-feedback[align="left"] .ffw-content {
664-
transform: translate(0);
734+
ff-slider .ffw-slider-button-right {
735+
transform: translate(0, -50%);
665736
}
666737

667-
ff-search-feedback[align="left"] .ffw-caption {
668-
transform: translate(100%);
738+
ff-asn-remove-all-filters {
739+
display: inline-block;
669740
}
670741

671-
ff-search-feedback .ffw-noTransition {
672-
transition: 0s !important;
673-
}
674742

675-
ff-search-feedback .ffw-caption {
676-
position: absolute;
677-
right: 0;
678-
transition: transform 0.3s;
679-
cursor: pointer;
680-
}
743+
/* ---- others ---- */
681744

682-
ff-search-feedback .ffw-content {
683-
position: absolute;
684-
transition: transform 0.3s;
685-
transform: translate(100%);
686-
right: 0;
687-
text-align: left;
745+
ff-compare {
746+
display: block;
688747
}
689748

690-
ff-search-feedback .ffw-transformZero {
691-
transform: translate(0) !important;
749+
ff-breadcrumb-trail {
750+
display: inline;
692751
}
693752

694-
ff-search-feedback .ffw-transformX {
695-
transform: translate(100%) !important;
753+
ff-breadcrumb-trail-item {
754+
transition: opacity 800ms;
755+
cursor: pointer;
756+
-webkit-user-select: none;
757+
-moz-user-select: none;
758+
-ms-user-select: none;
759+
user-select: none;
696760
}
697761

698-
699762
/* ---- generic ---- */
700763

701764
/* ffw-hidden is applied by FACTFinderLitElement to all elements deriving from it so it cannot be prefixed with an element selector */

0 commit comments

Comments
 (0)