@bytebrand/fe-ui-core 4.2.156 → 4.2.158

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.2.156",
3
+ "version": "4.2.158",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -224,10 +224,12 @@
224
224
 
225
225
  & > div
226
226
  display flex
227
- align-items: center
227
+ align-items: center;
228
+ gap: 4px;
228
229
 
229
230
  &:first-of-type
230
231
  color: $skyBlue;
232
+ line-height: 1;
231
233
 
232
234
  .isFirstReferenceCar
233
235
  border: 1px solid $skyBlue !important;
@@ -79,4 +79,9 @@
79
79
  .switchBlockLink
80
80
  color: rgba(76, 78, 100, 0.87);
81
81
  text-decoration-line: underline;
82
- font-size: 10px;
82
+ font-size: 10px;
83
+
84
+ &:focus
85
+ text-decoration-line: underline;
86
+ &:hover
87
+ text-decoration-line: none;
@@ -69,7 +69,7 @@ const Range: React.FC<IRangeProps> = ({
69
69
  <ThemeProvider theme={Theme}>
70
70
  <Slider
71
71
  min={min}
72
- max={max}
72
+ max={withRangeLimit ? maxFinancingFirstInstallment : max}
73
73
  step={step}
74
74
  disableSwap={isMobileOnly ? true : false}
75
75
  valueLabelDisplay='auto'
@@ -54,6 +54,7 @@ interface IFiltersContainerProps extends IRouteComponentProps<PathParamsType> {
54
54
  t?: (phrase: string) => string;
55
55
  isDealerPage?: boolean;
56
56
  isAlternative?: boolean;
57
+ isReferenceSearch?: boolean;
57
58
  successTransition?: boolean;
58
59
  isErrorAlternativeField: boolean;
59
60
  Link?: any;
@@ -66,8 +67,8 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
66
67
  }
67
68
 
68
69
  componentDidUpdate(prevProps: IFiltersContainerProps) {
69
- const { location, filters, resetFiltersToDefault, clearSearchState, search, activeSorting, setActiveSorting } = this.props;
70
- if ((prevProps.location.search !== location.search) && !_startsWith(location.search, '?pageNumber')) {
70
+ const { location, filters, resetFiltersToDefault, clearSearchState, search, activeSorting, setActiveSorting, isReferenceSearch } = this.props;
71
+ if ((prevProps.location.search !== location.search) && !_startsWith(location.search, '?pageNumber') && !isReferenceSearch) {
71
72
  const queryFromFilters = this.getQueryFromFilters();
72
73
  const prevQueryFromFilters = ['pageNumber', 'activeSort'].reduce((url, param) => url.replace(new RegExp(`(^${param}=\\w*&|&${param}=\\w*)`), ''), prevProps.location.search.slice(1));
73
74
  const paramsFromQuery = qs.parse(location.search, { ignoreQueryPrefix: true });
@@ -385,6 +386,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
385
386
  render() {
386
387
  const { t, onAlternativeRedirect, isAlternative, isErrorAlternativeField, Link, locationSearch, successTransition } = this.props;
387
388
  const paramsFromQuery = qs.parse(location.search, { ignoreQueryPrefix: true });
389
+
388
390
  const alternativeIDProps = {
389
391
  t,
390
392
  successTransition,
@@ -25,7 +25,7 @@ export const COOKIE_SCHEMA_LINKS = {
25
25
  Google: 'https://policies.google.com/privacy?hl=de',
26
26
  Criteo: 'https://www.criteo.com/de/privacy/',
27
27
  Facebook: 'https://www.facebook.com/privacy/policies/cookies/?entry_point=cookie_policy_redirect&entry=0',
28
- ['Google Analytics']: 'http://datenschutzbestimmungen/',
28
+ ['Google Analytics']: 'https://policies.google.com/privacy?hl=de',
29
29
  Hotjar: 'https://www.hotjar.com/legal/policies/privacy/de/',
30
30
  Microsoft: 'https://privacy.microsoft.com/de-de/privacystatement',
31
31
  Matomo: 'https://matomo.org/privacy-policy/',
@@ -39,6 +39,7 @@ export const COOKIE_SCHEMA = {
39
39
  'cf_chl_rc_ni',
40
40
  'cf_chl_prog'
41
41
  ],
42
+ Firebase: [''],
42
43
  Matomo: ['MATOMO_SESSID','_pk_ses.1.4d04', '_pk_id.1.4d04']
43
44
  },
44
45
  analytics: {