@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 +1 -1
- package/source/components/AccordionWidget/AccordionWidget.tsx +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl +6 -4
- package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.styl +1 -1
- package/source/components/VehicleSmallCard/VehicleData/VehiclePrice/VehiclePrice.tsx +3 -3
package/package.json
CHANGED
|
@@ -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={
|
|
99
|
+
<IconSVG name={'checkBlue'} className={styles.cellCheckIcon} customDimensions />
|
|
100
100
|
<span className={styles.checkedItem}>{t(`cbd:${prop}`)}</span>
|
|
101
101
|
</div>
|
|
102
102
|
))}
|
package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.styl
CHANGED
|
@@ -54,7 +54,8 @@
|
|
|
54
54
|
border-top: 1px solid rgba(76, 78, 100, 0.12);
|
|
55
55
|
|
|
56
56
|
.priceItemPrice
|
|
57
|
-
|
|
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
|
package/source/components/VehicleSmallCard/VehicleData/VechiclePriceItem/VechiclePriceItem.tsx
CHANGED
|
@@ -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}
|
|
@@ -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
|
-
{
|
|
269
|
+
{isMobileOnly && !showCompareCheckboxes && (
|
|
270
270
|
<span className={vehiclePriceTitleClassName}>{t('vehicleProps:title.monthlyFrom')}</span>
|
|
271
271
|
)}
|
|
272
272
|
{ListPrices}
|