@bytebrand/fe-ui-core 4.1.95 → 4.1.97

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.95",
3
+ "version": "4.1.97",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -12,6 +12,7 @@ $color-price-new = $lightGreen
12
12
  .old
13
13
  color: $grey-3;
14
14
  font-size: 8px;
15
+ margin-bottom: 1px;
15
16
 
16
17
  &::after
17
18
  content: ''
@@ -144,4 +145,5 @@ _:-ms-fullscreen, :root .old::after
144
145
  display: inline-block;
145
146
  position: relative;
146
147
  bottom: 0;
147
- left: -5px
148
+ left: -5px
149
+ vertical-align: baseline;
@@ -17,7 +17,7 @@
17
17
 
18
18
  &.priceItemComparable
19
19
  +media-tablet-landscape-up()
20
- [class*='VehicleFormattedPrice__price']
20
+ [class*='semimedium__']
21
21
  font-size: 16px;
22
22
 
23
23
  +media-phone-up()
@@ -69,7 +69,7 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
69
69
  const stylesItem = classnames(
70
70
  styles.priceItem,
71
71
  { [styles.priceItemFavorite]: vehicleComponentName === 'favorite' },
72
- { [styles.priceItemComparable]: vehicleComponentName === 'comparable' },
72
+ { [styles.priceItemComparable]: vehicleComponentName === 'comparable' || vehicleComponentName === 'landing'},
73
73
  { [styles.priceItemDisable]: isPriceDisable },
74
74
  { [styles.priceItemBuy]: isTotal }
75
75
  );
@@ -78,7 +78,7 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
78
78
  styles.priceItemCategory,
79
79
  { [styles.priceItemCategorySearch]: vehicleComponentName === 'search' || vehicleComponentName === 'myVehicles' },
80
80
  { [styles.priceItemCategoryFavorite]: vehicleComponentName === 'favorite' },
81
- { [styles.priceItemCategoryComparable]: vehicleComponentName === 'comparable' }
81
+ { [styles.priceItemCategoryComparable]: vehicleComponentName === 'comparable' || vehicleComponentName === 'landing'}
82
82
  );
83
83
  return (
84
84
  <div className={stylesItem}>
@@ -48,11 +48,29 @@
48
48
  grid-auto-rows: 36px;
49
49
  grid-template-columns: 100%;
50
50
 
51
+ & .carIconSearch
52
+ width: 25px;
53
+ height: 25px;
54
+ max-width: 25px;
55
+ margin-right: 5px
56
+ span
57
+ font-size: 11px;
58
+
51
59
  & > .consumptionCombined,
52
60
  & > div:last-of-type
53
61
  grid-column: auto;
54
62
  grid-row: auto;
55
63
 
64
+ & .priceRatingSegmentWrapSRL
65
+ gap: 2px;
66
+ & > div
67
+ width: 13px;
68
+ height: 12px;
69
+
70
+ & .priceRatingSRL span
71
+ font-size: 8px;
72
+ margin-bottom: 2px;
73
+
56
74
  &.vehiclePropertiesMain
57
75
  grid-auto-rows: 44px;
58
76
  grid-template-columns: 100%;
@@ -87,6 +105,14 @@
87
105
  +media-tablet-landscape-up()
88
106
  grid-auto-rows: 36px;
89
107
 
108
+ & .carIconSearch
109
+ width: 25px;
110
+ height: 25px;
111
+ max-width: 25px;
112
+ margin-right: 5px
113
+ span
114
+ font-size: 11px;
115
+
90
116
  & .priceRatingSegmentWrapSRL
91
117
  gap: 2px;
92
118
  & > div
@@ -13,7 +13,7 @@
13
13
  width: 30px;
14
14
  height: 30px;
15
15
  max-width: 28px;
16
- margin-right: 6px
16
+ margin-right: 5px
17
17
  flex-shrink: 0
18
18
 
19
19
  +media-phone-up()
@@ -29,7 +29,7 @@ export const Theme = createTheme({
29
29
  MuiMenuItem: {
30
30
  styleOverrides: {
31
31
  root: {
32
- padding: '0 6px'
32
+ padding: '6px'
33
33
  }
34
34
  }
35
35
  },
@@ -54,6 +54,7 @@ export const vehicleProps = (car?: any, isOfferAvailable: boolean = true) => {
54
54
  co2Combined: `${vehicleOption.co2}g CO2/km (komb)*`,
55
55
  co2: `${vehicleOption.co2} g/km `,
56
56
  na: 'N/A',
57
+ priceSub: '/mtl.',
57
58
  vehicleOwners: `${vehicleOption.vehicleOwners} Fahrzeughalter`,
58
59
  vehicleOwners_plural: `${count} Fahrzeughalter`,
59
60
  doorsOnly: `${vehicleOption.doorsOnly} Türen`,