@bytebrand/fe-ui-core 4.0.251 → 4.0.253

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.0.251",
3
+ "version": "4.0.253",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -57,6 +57,8 @@
57
57
  width: calc(100% + 20px)
58
58
  border-top: 1px solid $grey-e
59
59
  box-sizing: border-box
60
+ display: grid
61
+ row-gap: 10px
60
62
 
61
63
  .mmsGroup:first-child
62
64
  border-top: none
@@ -1,4 +1,4 @@
1
- import React, { memo } from 'react';
1
+ import React from 'react';
2
2
  import _get from 'lodash/get';
3
3
  import styles from './MakeModel.styl';
4
4
  import MaterialSelect from '../../_common/MaterialSelect/MaterialSelect';
@@ -145,7 +145,7 @@ class MakeModel extends React.Component<IMakeModelProps> {
145
145
 
146
146
  return (
147
147
  <>
148
- <h3 className={styles.titleText}>{t('filterGroups.MAKE_MODEL_SUB')}</h3>
148
+ {/* <h3 className={styles.titleText}>{t('filterGroups.MAKE_MODEL_SUB')}</h3> */}
149
149
  {this.renderMmsGroups()}
150
150
  {MMS_GROUPS.length <= 2 ? this.renderMoreMmsButton() : false}
151
151
  {isMobileOnly && (
@@ -46,6 +46,7 @@ const VehicleDetailedSidebar: FunctionComponent<IVehicleDetailedSidebarProps> =
46
46
  activeTab,
47
47
  offerBlockOpen,
48
48
  onAdjustRateClick,
49
+ isStrikeShown: price.common.isStrikeShown,
49
50
  ...price
50
51
  };
51
52
 
@@ -173,8 +173,9 @@ export interface IVehicleDetailedSidebarPriceProps {
173
173
  priceTabActiveIndex?: number;
174
174
  onTabPriceSelect?(event: React.ChangeEvent<{}>, index: number): void;
175
175
  isAlternative?: boolean;
176
- currentSalesPrice?: number;
176
+ // currentSalesPrice?: number;
177
177
  originalSalesPrice?: number;
178
+ common: { isStrikeShown?: boolean, currentSalesPrice?: number }
178
179
  }
179
180
  export interface ITabsProps {
180
181
  t?: (key: string, options?: object) => string;