@bytebrand/fe-ui-core-autobahn 1.0.194 → 1.0.195

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/cards/CarCard.tsx CHANGED
@@ -226,7 +226,9 @@ const CarCard: React.FunctionComponent<CarCardProps> = ({
226
226
  maxWidth: 'calc(100% - 52px)',
227
227
  }}
228
228
  >
229
- <div style={{ display: 'flex', flexWrap: 'nowrap', gap: 5, alignItems: 'center' }}>
229
+ {/* ADV-424: "−X € zum UVP²" no longer fits next to −% and 0 € Anzahlung on narrow cards, so
230
+ the row wraps to a second line (inside .cc-badges, clear of the heart). The chips keep their look. */}
231
+ <div style={{ display: 'flex', flexWrap: 'wrap', gap: 5, alignItems: 'center' }}>
230
232
  {showDrop ? <DropChip t={t} amount={car.drop} /> : showSave && <SaveChip t={t} amount={car.savings!} />}
231
233
  <PercentChip pct={showPct ? car.dropPct : undefined} />
232
234
  <ZeroDownChip
package/cards/CarRow.tsx CHANGED
@@ -174,7 +174,9 @@ const CarRow: React.FunctionComponent<CarRowProps> = ({
174
174
  gap: 5,
175
175
  }}
176
176
  >
177
- <div style={{ display: 'flex', flexWrap: 'nowrap', alignItems: 'center', gap: 5 }}>
177
+ {/* ADV-424: with "−X € zum UVP²" the line can exceed the photo width (live 17.11: +25px at
178
+ 320px), so it wraps to a second line instead of running past the photo. */}
179
+ <div style={{ display: 'flex', flexWrap: 'wrap', alignItems: 'center', gap: 5 }}>
178
180
  {showDrop ? <DropChip t={t} amount={car.drop} /> : showSave && <SaveChip t={t} amount={car.savings!} />}
179
181
  <PercentChip pct={showPct ? car.dropPct : undefined} />
180
182
  <ZeroDownChip t={t} show={car.zeroDown} compact className="show-mobile" />
@@ -20,9 +20,9 @@
20
20
  "uvpRateTooltipBodyLeasing": "Die durchgestrichene UVP-Rate ist eine rechnerische Vergleichsrate auf Basis der unverbindlichen Preisempfehlung des Herstellers. Für die Berechnung werden dieselben Leasingparameter wie beim angebotenen Leasing verwendet, insbesondere Laufzeit, Sonderzahlung und Laufleistung. Die UVP-Rate ist keine früher von auto.de verlangte Rate.",
21
21
  "uvpListTooltipBody": "Die Hersteller-UVP ist die unverbindliche Preisempfehlung des Herstellers für dieses Fahrzeug zum Zeitpunkt der Erstzulassung einschließlich der bei der Berechnung berücksichtigten Ausstattung. Sie ist kein früher von auto.de verlangter Verkaufspreis.",
22
22
  "purchasePrice": "Kaufpreis",
23
- "priceDropAmount": "−{{amount}} €",
24
- "priceDropSave": "{{amount}} € sparen",
25
- "savedAmount": "{{amount}} € gespart",
23
+ "priceDropAmount": "−{{amount}} € zum UVP²",
24
+ "priceDropSave": "{{amount}} € sparen zum UVP²",
25
+ "savedAmount": "{{amount}} € gespart zum UVP²",
26
26
  "zeroDownCompact": "0 € Anz.",
27
27
  "zeroDown": "0 € Anzahlung",
28
28
  "financingFrom": "Finanzierung ab",