@bytebrand/fe-ui-core 4.1.207 → 4.1.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/source/components/OfferPanel/OfferCheckboxGroup/CheckboxContainer.tsx +1 -1
- package/source/components/SearchPageMobile/FiltersDetailed/Fuel.tsx +1 -1
- package/source/components/SearchWidgetsMobile/BasicDataWidgetMobile/BasicDataWidgetMobile.tsx +2 -2
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +1 -1
- package/source/components/VehicleSmallCardForDealerships/VehicleSmallCardForDealerships.tsx +1 -1
- package/source/framework/utils/CommonUtils.ts +3 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/fe-ui-core",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.209",
|
|
4
4
|
"description": "UI components for the auto.de project",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"module": "dist/common.js",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@babel/preset-react": "^7.16.7",
|
|
15
15
|
"@babel/preset-typescript": "^7.16.7",
|
|
16
16
|
"@bytebrand/car-schema-selectors": "^2.0.7",
|
|
17
|
-
"@bytebrand/fe-histoslider": "^2.1.
|
|
17
|
+
"@bytebrand/fe-histoslider": "^2.1.2",
|
|
18
18
|
"@bytebrand/i18n-dictionaries": "^0.7.5",
|
|
19
19
|
"@date-io/date-fns": "1.3.13",
|
|
20
20
|
"@emotion/react": "^11.9.3",
|
|
@@ -34,7 +34,7 @@ class Fuel extends React.Component<IFuelProps, {}> {
|
|
|
34
34
|
};
|
|
35
35
|
|
|
36
36
|
getOptions = (options: string[]) => options.map((option: string) => {
|
|
37
|
-
const { t, isNotDetailed} = this.props;
|
|
37
|
+
const { t, isNotDetailed } = this.props;
|
|
38
38
|
|
|
39
39
|
const agg = this.getAggregation(option);
|
|
40
40
|
|
package/source/components/SearchWidgetsMobile/BasicDataWidgetMobile/BasicDataWidgetMobile.tsx
CHANGED
|
@@ -32,7 +32,7 @@ class BasicDataWidgetMobile extends React.Component<IMakeModelProps & IMakeModel
|
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
shouldComponentUpdate(nextProps: any, nextState: any) {
|
|
35
|
-
const { MMS_GROUPS, BODY_TYPE, FIRST_REGISTRATION, MILEAGE, POWER, RATE, PRICE, CONSUMPTION, SEATS, DOORS, FUEL, t,isNotDetailed } = this.props;
|
|
35
|
+
const { MMS_GROUPS, BODY_TYPE, FIRST_REGISTRATION, MILEAGE, POWER, RATE, PRICE, CONSUMPTION, SEATS, DOORS, FUEL, t, isNotDetailed } = this.props;
|
|
36
36
|
|
|
37
37
|
const dataBlocks = {
|
|
38
38
|
MMS_GROUPS, BODY_TYPE, FIRST_REGISTRATION, MILEAGE, POWER, RATE, PRICE, CONSUMPTION, SEATS, DOORS, FUEL
|
|
@@ -67,7 +67,7 @@ class BasicDataWidgetMobile extends React.Component<IMakeModelProps & IMakeModel
|
|
|
67
67
|
const {
|
|
68
68
|
MMS_GROUPS, BODY_TYPE, FIRST_REGISTRATION, MILEAGE, POWER, RATE, PRICE, CONSUMPTION, SEATS, DOORS, FUEL,
|
|
69
69
|
onFilterChange, onChangeFilterControls, onAddMmsGroup, onRemoveMmsGroup, onDropDownFocus,
|
|
70
|
-
MM_GROUPS_EXCLUDE, onAddMmExcludeGroup, onRemoveMmExcludeGroup, t, showModal, hideModal, onAddMmsGroupClick,isNotDetailed
|
|
70
|
+
MM_GROUPS_EXCLUDE, onAddMmExcludeGroup, onRemoveMmExcludeGroup, t, showModal, hideModal, onAddMmsGroupClick, isNotDetailed
|
|
71
71
|
} = this.props;
|
|
72
72
|
const commonProps = { t, onChange: onFilterChange };
|
|
73
73
|
|
|
@@ -551,11 +551,9 @@ export const updateCookieList = () => {
|
|
|
551
551
|
if (cookieConsentList.includes(cookie)) {
|
|
552
552
|
cookieConsentList = cookieConsentList.filter(i => i !== cookie); // deny google cookie consent for _gcl_au, _ga, _gid, _gat_UA-31842-13, etc
|
|
553
553
|
isHomeGoogleGranted = false;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
else if (cookie === '_fbp') isFBGranted = false;
|
|
558
|
-
else if (cookie === 'hotjar') isHotjarGranted = false;
|
|
554
|
+
} else if (cookie === '_fbp') { // tslint:disable-line
|
|
555
|
+
isFBGranted = false;
|
|
556
|
+
} else if (cookie === 'hotjar') isHotjarGranted = false;
|
|
559
557
|
});
|
|
560
558
|
});
|
|
561
559
|
// grant google cookies
|