@bytebrand/fe-ui-core 4.1.137 → 4.1.138

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.137",
3
+ "version": "4.1.138",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -376,6 +376,7 @@ export default memo(VehicleSmallCard, (props, nextProps) => { // shouldComponent
376
376
  leasing: { monthlyInstallment: lMonthlyInstallment }
377
377
  },
378
378
  isCarInFavorite,
379
+ statsData,
379
380
  compareProps,
380
381
  children
381
382
  } = props;
@@ -386,6 +387,7 @@ export default memo(VehicleSmallCard, (props, nextProps) => { // shouldComponent
386
387
  && withFinalInstallment === nextProps.price.financing.withFinalInstallment
387
388
  && lMonthlyInstallment === nextProps.price.leasing.monthlyInstallment
388
389
  && isCarInFavorite === nextProps.isCarInFavorite
390
+ && statsData === nextProps.statsData
389
391
  && _get(compareProps, 'toCompare') === _get(compareProps, 'nextProps.toCompare')
390
392
  && children === nextProps.children;
391
393
  });
@@ -77,8 +77,11 @@ $indent = 10px
77
77
 
78
78
  .statsStarIcon
79
79
  margin-right: 5px
80
- width: 1.2em
81
- height: 1.3em
80
+ margin-bottom: 3px
81
+ width: 20px
82
+ height: 20px
83
+ fill: rgb(100, 100, 100)
84
+ transform:scale(0.8)
82
85
 
83
86
  .accented
84
87
  color: $primary
@@ -130,7 +130,7 @@ export default function withStats(WrappedComponent: any) {
130
130
  </span>
131
131
  </div> : null}
132
132
  {!!totalFavCount ? <div className={favoritesClassName} onClick={onFavoriteClick}>
133
- <IconSVG name='starNew' customDimensions className={favoritesIconClassName} />
133
+ <IconSVG name='star' customDimensions className={favoritesIconClassName} />
134
134
  <span>
135
135
  {totalFavCount}
136
136
  </span>