@bytebrand/fe-ui-core 4.1.149 → 4.1.151

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.151",
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
@@ -221,6 +225,8 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
221
225
  t,
222
226
  id,
223
227
  url,
228
+ target,
229
+ rel,
224
230
  iconName,
225
231
  showDashboardButton,
226
232
  dashboardButtonText,
@@ -275,7 +281,9 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
275
281
  ...routeObj,
276
282
  className: `${styles.redirectClassLink} ${styles.gridAreaTitle}`,
277
283
  onClick: () => localStorage.setItem('activeTabCDP', t('vehicleProps:title.financing')),
278
- href: url
284
+ href: url,
285
+ target,
286
+ rel
279
287
  })}
280
288
 
281
289
  {createElement(linkTag, {
@@ -326,7 +334,9 @@ const VehicleSmallCard: FunctionComponent<IVehicleSmallCardProps> = (props) => {
326
334
  ...routeObj,
327
335
  className: `${styles.redirectClassLink} ${styles.gridAreaImage}`,
328
336
  onClick: () => localStorage.setItem('activeTabCDP', t('vehicleProps:title.financing')),
329
- href: url
337
+ href: url,
338
+ target,
339
+ rel
330
340
  })}
331
341
  <VehicleInfo {...vehicleInfoProps} />
332
342
  <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 {