@bytebrand/fe-ui-core 4.1.149 → 4.1.150

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.149",
3
+ "version": "4.1.150",
4
4
  "description": "UI components for the auto.de project",
5
5
  "main": "index.ts",
6
6
  "module": "dist/common.js",
@@ -26,6 +26,8 @@ export interface IVehiclePriceItemProps {
26
26
  positionX?: string;
27
27
  positionY?: string;
28
28
  url?: string;
29
+ target?: string;
30
+ rel?: string;
29
31
  routeObj?: any;
30
32
  linkTag?: string;
31
33
  isStrikeShown?: boolean;
@@ -45,6 +47,8 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
45
47
  perMonthCurrent,
46
48
  perMonthOld,
47
49
  url,
50
+ target,
51
+ rel,
48
52
  totalOld,
49
53
  totalCurrent,
50
54
  tooltipDescription,
@@ -90,7 +94,9 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
90
94
  ...routeObj,
91
95
  onClick: this.routeToActiveTab,
92
96
  className: priceItemCategoryClassName,
93
- href: url
97
+ href: url,
98
+ target,
99
+ rel
94
100
  })}
95
101
  {tooltipDescription && (
96
102
  <Tooltip
@@ -165,7 +171,9 @@ class VehiclePriceItem extends React.Component<IVehiclePriceItemProps> {
165
171
  ...routeObj,
166
172
  onClick: this.routeToActiveTab,
167
173
  className: styles.priceItemPrice,
168
- href: url
174
+ href: url,
175
+ target,
176
+ rel
169
177
  })}
170
178
  </div>
171
179
  );
@@ -27,6 +27,8 @@ const VehicleInfo: React.FC<IVehicleInfoProps> = (props) => {
27
27
  currentSalesPrice,
28
28
  language,
29
29
  url,
30
+ target,
31
+ rel,
30
32
  regDate,
31
33
  linkTag,
32
34
  routeObj,
@@ -142,7 +144,9 @@ const VehicleInfo: React.FC<IVehicleInfoProps> = (props) => {
142
144
  ...routeObj,
143
145
  className: wrapClasses,
144
146
  onClick: () => localStorage.setItem('activeTabCDP', t('vehicleProps:title.financing')),
145
- href: url
147
+ href: url,
148
+ target,
149
+ rel
146
150
  })}
147
151
  </>
148
152
  );
@@ -28,6 +28,8 @@ export interface IVehiclePriceSectionProps {
28
28
  oldMonthlyInstallment?: number;
29
29
  positionY?: string;
30
30
  url?: string;
31
+ target?: string;
32
+ rel?: string;
31
33
  iconName?: string;
32
34
  mainImageId?: string;
33
35
  showCompareCheckboxes?: boolean;
@@ -89,6 +91,8 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
89
91
  t,
90
92
  combineRefAlternative,
91
93
  url,
94
+ target,
95
+ rel,
92
96
  isDealerSuperAdmin,
93
97
  linkTag,
94
98
  showOfferBtn,
@@ -225,6 +229,8 @@ class VehiclePrice extends React.Component<IVehiclePriceSectionProps> {
225
229
  priceSub={priceSub}
226
230
  positionY={positionY}
227
231
  url={url}
232
+ target={target}
233
+ rel={rel}
228
234
  isStrikeShown={isStrikeShown}
229
235
  iconName={iconName}
230
236
  totalCurrent={totalCurrent}
@@ -113,6 +113,8 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
113
113
  language,
114
114
  className,
115
115
  url,
116
+ target,
117
+ rel,
116
118
  onContainerClick,
117
119
  onAddOfferToMainSlideClick,
118
120
  isDealer,
@@ -212,6 +214,8 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
212
214
  linkTag,
213
215
  routeObj,
214
216
  url,
217
+ target,
218
+ rel,
215
219
  engineData,
216
220
  ...price,
217
221
  ...info
@@ -275,7 +279,9 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
275
279
  ...routeObj,
276
280
  className: `${styles.redirectClassLink} ${styles.gridAreaTitle}`,
277
281
  onClick: () => localStorage.setItem('activeTabCDP', t('vehicleProps:title.financing')),
278
- href: url
282
+ href: url,
283
+ target,
284
+ rel
279
285
  })}
280
286
 
281
287
  {createElement(linkTag, {
@@ -326,7 +332,9 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
326
332
  ...routeObj,
327
333
  className: `${styles.redirectClassLink} ${styles.gridAreaImage}`,
328
334
  onClick: () => localStorage.setItem('activeTabCDP', t('vehicleProps:title.financing')),
329
- href: url
335
+ href: url,
336
+ target,
337
+ rel
330
338
  })}
331
339
  <VehicleInfo {...vehicleInfoProps} />
332
340
  <VehiclePrice {...vehiclePriceProps} />
@@ -108,6 +108,8 @@ export interface IVehicleInfo {
108
108
  damaged?: any;
109
109
  driveType?: any;
110
110
  url?: string;
111
+ target?: string;
112
+ rel?: string;
111
113
  }
112
114
 
113
115
  export interface IVehicleTitleProps {