@bytebrand/fe-ui-core 4.1.206 → 4.1.208

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/fe-ui-core",
3
- "version": "4.1.206",
3
+ "version": "4.1.208",
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.0",
17
+ "@bytebrand/fe-histoslider": "^2.1.1",
18
18
  "@bytebrand/i18n-dictionaries": "^0.7.5",
19
19
  "@date-io/date-fns": "1.3.13",
20
20
  "@emotion/react": "^11.9.3",
@@ -143,4 +143,4 @@ class CheckboxContainer extends React.Component<ICheckboxProps, {}> {
143
143
  }
144
144
  }
145
145
 
146
- export default CheckboxContainer;
146
+ export default CheckboxContainer;
@@ -38,7 +38,7 @@ class Fuel extends React.Component<IFuelProps, {}> {
38
38
  label: (
39
39
  <span className={styles.wrapOptions}>
40
40
  {!isNotDetailed ? <IconSVG name={option} customDimensions /> : null}
41
- <FilterLabel text={t(`cbd:${option}`)} agg={agg} />
41
+ <FilterLabel text={t(`cbd:${option}`)} agg={agg} isNotDetailed={isNotDetailed}/>
42
42
  </span>
43
43
  )
44
44
  };
@@ -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
 
@@ -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
 
@@ -184,4 +184,4 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
184
184
  );
185
185
  }
186
186
  }
187
- export default VehiclePriceItem;
187
+ export default VehiclePriceItem;
@@ -182,4 +182,4 @@ VehicleSmallCardForDealerships.defaultProps = {
182
182
  onContainerClick: () => { }
183
183
  };
184
184
 
185
- export default VehicleSmallCardForDealerships;
185
+ export default VehicleSmallCardForDealerships;
@@ -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
- // fb
556
- // tslint:disable-next-line:prefer-switch
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