@bytebrand/fe-ui-core 4.2.170 → 4.2.172

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.170",
3
+ "version": "4.2.172",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -2,7 +2,7 @@
2
2
  @import '../../../../theme/mixins.styl'
3
3
 
4
4
  .container
5
- padding: 8px 8px 16px
5
+ padding: 8px 8px 0px
6
6
  border-top: 1px solid rgba(76,78,100,0.12);
7
7
 
8
8
  +media-tablet-landscape-up()
@@ -44,6 +44,7 @@
44
44
  padding-bottom: 8px
45
45
  grid-area: addresses
46
46
  display: grid
47
+ row-gap: 12px
47
48
 
48
49
  .orderPriceSection
49
50
  grid-area: orderPrice
@@ -62,4 +62,5 @@
62
62
  font-size: 14px
63
63
  font-weight: 700
64
64
  line-height: 16px
65
- margin-bottom: 12px
65
+ margin-bottom: 12px
66
+ padding: 0 5px
@@ -14,7 +14,6 @@ import FilterBlock from '../../../SearchFilters/common/FilterBlock/FilterBlock';
14
14
  import styles from './FiltersContainer.styl';
15
15
  import AlternativeID from '../../../SearchFilters/filters/AlternativeID';
16
16
  import MaterialField from '../../../_common/MaterialField/MaterialField';
17
- import { toJS } from 'mobx';
18
17
 
19
18
  type PathParamsType = {
20
19
  location?: any;
@@ -395,7 +394,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
395
394
  if (value.length === 6 || !value) {
396
395
  this.onFilterChange('VEHICLE_ID', upperCaseValue);
397
396
  changeFilterValue('VEHICLE_ID', upperCaseValue);
398
- search(toJS(filters), 1, true);
397
+ search(filters, 1, true);
399
398
  }
400
399
  };
401
400
 
@@ -403,7 +402,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
403
402
  const { t, onAlternativeRedirect, isAlternative, isErrorAlternativeField, Link, locationSearch, successTransition, filters } = this.props;
404
403
  const paramsFromQuery = qs.parse(location.search, { ignoreQueryPrefix: true });
405
404
 
406
- const { VEHICLE_ID } = toJS(filters);
405
+ const { VEHICLE_ID } = filters;
407
406
 
408
407
  const alternativeIDProps = {
409
408
  t,
@@ -435,7 +434,7 @@ class FiltersContainer extends React.Component<IFiltersContainerProps, {}> {
435
434
  value={VEHICLE_ID.value}
436
435
  onChange={this.onVehicleIdChange}
437
436
  size='custom'
438
- label='z.B: FCEE67'
437
+ placeholder='z.B: FCEE67'
439
438
  />
440
439
  </div>
441
440
  {this.renderFilters()}