@bytebrand/fe-ui-core 4.1.177 → 4.1.179

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.177",
3
+ "version": "4.1.179",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -96,7 +96,7 @@ class AccordionWidget extends React.Component<IAccardionSectionProps, IAccardion
96
96
  <div className={styles.tdContent}>
97
97
  {filteredKeys.map((prop: string) => (
98
98
  <div className={styles.wrapChecked} key={prop}>
99
- <IconSVG name={prop.startsWith('extras_trailerCoupling') ? 'search_trailerHitch' : 'checkBlue'} className={styles.cellCheckIcon} customDimensions />
99
+ <IconSVG name={'checkBlue'} className={styles.cellCheckIcon} customDimensions />
100
100
  <span className={styles.checkedItem}>{t(`cbd:${prop}`)}</span>
101
101
  </div>
102
102
  ))}
@@ -54,7 +54,8 @@
54
54
  border-top: 1px solid rgba(76, 78, 100, 0.12);
55
55
 
56
56
  .priceItemPrice
57
- transform: translateX(-6px);
57
+ +media-tablet-landscape-up()
58
+ transform: translateX(-6px);
58
59
 
59
60
  .priceItemCategory
60
61
  font-size: 12px
@@ -109,6 +110,10 @@
109
110
  width: 100%;
110
111
  justify-content: space-between;
111
112
 
113
+ .priceMtl
114
+ &.priceMtlActive
115
+ transform: translateX(6px);
116
+
112
117
  .prefixOldPrice
113
118
  margin: 0 8px;
114
119
  color: rgba(51, 51, 51, 0.83);
@@ -120,9 +125,6 @@
120
125
  transform: translateY(-2px);
121
126
  display: inline-flex;
122
127
 
123
- .priceMtl
124
- transform: translateX(6px);
125
-
126
128
  .priceNewBlock
127
129
  flex-shrink: 0;
128
130
  width: 18px
@@ -137,7 +137,7 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
137
137
  numbersAfterDot={0}
138
138
  price={perMonthCurrent}
139
139
  postfix={postfix}
140
- className={styles.priceMtl}
140
+ className={classnames(styles.priceMtl, { [styles.priceMtlActive]: !!priceSub})}
141
141
  isNew={isStrikeShown}
142
142
  size='semimedium'
143
143
  sub={priceSub}
@@ -29,7 +29,7 @@
29
29
  gap: 3px;
30
30
 
31
31
  &.vehiclePriceSectionRecently
32
- padding: 2px 10px 0 10px
32
+ padding: 1px 10px 0 10px
33
33
 
34
34
  .vehiclePriceTitle
35
35
  color: rgba(76, 78, 100, 0.87);
@@ -141,7 +141,7 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
141
141
  title: t('vehicleProps:title.financing'),
142
142
  prefixOldPrice: vehicleComponentName === 'search' && !isMobileOnly && t('vehicleProps:value.prefixOldPrice'),
143
143
  postfix: '3',
144
- priceSub: t('vehicleProps:value.priceSub'),
144
+ priceSub: isMobileOnly ? null : t('vehicleProps:value.priceSub'),
145
145
  tooltipDescription: !combineRefAlternative && t('vehicleProps:title.financingDescription')
146
146
  },
147
147
  {
@@ -151,7 +151,7 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
151
151
  postfix: '1,3',
152
152
  isPriceDisable: !isLeasingActive,
153
153
  title: t('vehicleProps:title.leasing'),
154
- priceSub: t('vehicleProps:value.priceSub'),
154
+ priceSub: isMobileOnly ? null : t('vehicleProps:value.priceSub'),
155
155
  tooltipDescription: !combineRefAlternative && t('vehicleProps:title.leasingDescription')
156
156
  }
157
157
  ];
@@ -266,7 +266,7 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
266
266
  {vehicleComponentName !== 'favorite' && vehicleComponentName !== 'search' && (
267
267
  <span className={vehiclePriceTitleClassName}>{t('vehicleProps:title.monthlyFrom')}</span>
268
268
  )}
269
- {vehicleComponentName === 'search' && isMobileOnly && (
269
+ {isMobileOnly && !showCompareCheckboxes && (
270
270
  <span className={vehiclePriceTitleClassName}>{t('vehicleProps:title.monthlyFrom')}</span>
271
271
  )}
272
272
  {ListPrices}