@bytebrand/fe-ui-core 4.1.134 → 4.1.136

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.134",
3
+ "version": "4.1.136",
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
  });
@@ -100,6 +100,7 @@ import NewFlagEn from './SVG/common/NewFlagEn';
100
100
  import NewFlagDe from './SVG/common/NewFlagDe';
101
101
  import AutodeLogo from './SVG/common/AutodeLogo';
102
102
  import CheckGreen from './SVG/common/CheckGreen';
103
+ import EditPriceIcon from './SVG/common/EditPriceIcon';
103
104
 
104
105
  // vehicle
105
106
  import EmergencyBrakeAssistant from './SVG/vehicle/EmergencyBrakeAssistant';
@@ -648,6 +649,7 @@ const components: IComponentsProp = {
648
649
  eyeCatch: EyeCatch,
649
650
  copyIcon: CopyIcon,
650
651
  doneIcon: DoneIcon,
652
+ editPriceIcon: EditPriceIcon,
651
653
 
652
654
  // settings
653
655
  accountIcon: AccountIcon,
@@ -702,7 +704,7 @@ const components: IComponentsProp = {
702
704
  deliveryDashboard: DeliveryDashboard,
703
705
  handingOverDashboard: HandingOverDashboard,
704
706
  pickupDashboard: PickupDashboard,
705
- dashboardQuestionMark:DashboardQuestionMark
707
+ dashboardQuestionMark: DashboardQuestionMark
706
708
  };
707
709
 
708
710
  export default components;
@@ -0,0 +1,20 @@
1
+ /* tslint:disable */
2
+ import * as React from 'react';
3
+
4
+ const EditPriceIcons = (
5
+ props: any
6
+ ) => (
7
+ <svg
8
+ width="17"
9
+ height="17"
10
+ viewBox="0 0 17 17"
11
+ fill="none"
12
+ xmlns="http://www.w3.org/2000/svg"
13
+ { ...props }
14
+ >
15
+ <path d="M1.5 16.146C1.08333 16.146 0.729333 16 0.438 15.708C0.146 15.4167 0 15.0627 0 14.646V3.646C0 3.22933 0.146 2.875 0.438 2.583C0.729333 2.29167 1.08333 2.146 1.5 2.146H8.021L6.521 3.646H1.5V14.646H12.5V9.667L14 8.146V14.646C14 15.0627 13.854 15.4167 13.562 15.708C13.2707 16 12.9167 16.146 12.5 16.146H1.5ZM10.625 2.333L11.708 3.417L6.5 8.583V9.646H7.562L12.75 4.479L13.792 5.542L8.188 11.146H5V7.979L10.625 2.333ZM13.792 5.542L10.625 2.333L12.396 0.562C12.6873 0.270667 13.038 0.125 13.448 0.125C13.8573 0.125 14.208 0.270667 14.5 0.562L15.583 1.646C15.875 1.93733 16.021 2.288 16.021 2.698C16.021 3.10733 15.875 3.458 15.583 3.75L13.792 5.542Z" fill="#005CCB"/>
16
+ </svg>
17
+ );
18
+
19
+ export default EditPriceIcons;
20
+ /* tslint:enable */
@@ -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>