@bytebrand/fe-ui-core-autobahn 1.0.207 → 1.0.208
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/cardParts.tsx +8 -6
- package/package.json +1 -1
- package/theme/md3.css +4 -4
package/cards/cardParts.tsx
CHANGED
|
@@ -1237,10 +1237,11 @@ export const PricePaths: React.FunctionComponent<PricePathsProps> = ({ car, t, c
|
|
|
1237
1237
|
<PriceHero car={car} mode="financing" t={t} alwaysShowUnit />
|
|
1238
1238
|
<div className="pp-hero-terms">
|
|
1239
1239
|
{/* ADV-405 follow-up (PM 19.11): the financing key figures replace the "Anzahlung ·
|
|
1240
|
-
Laufzeit" terms here (
|
|
1241
|
-
|
|
1240
|
+
Laufzeit" terms here (.pp-hero-terms colour) in exactly two lines, the font fitted to
|
|
1241
|
+
the narrow column (client call 19.11: "2 lines, the font size doesn't matter"); without
|
|
1242
|
+
any real figure the old terms line stays. */}
|
|
1242
1243
|
{hasCreditKeyFigures(finKf) ? (
|
|
1243
|
-
<CreditKeyFigures t={t} figures={finKf} details={detailsLink('financing')} cls="pp-ckf"
|
|
1244
|
+
<CreditKeyFigures t={t} figures={finKf} details={detailsLink('financing')} cls="pp-ckf" />
|
|
1244
1245
|
) : (
|
|
1245
1246
|
<>
|
|
1246
1247
|
{t('autobahn:card.price.financeTerms', {
|
|
@@ -1259,11 +1260,12 @@ export const PricePaths: React.FunctionComponent<PricePathsProps> = ({ car, t, c
|
|
|
1259
1260
|
<div className="pp-lease-row">
|
|
1260
1261
|
<PpRow label={t('autobahn:card.price.leasing')} value={car.lease as number} unit="mtl." t={t} />
|
|
1261
1262
|
{/* ADV-405 follow-up (leasing, 19.11): the leasing key figures replace the compact
|
|
1262
|
-
terms
|
|
1263
|
-
|
|
1263
|
+
terms — exactly two lines like everywhere else (client call 19.11: "2 lines, the font
|
|
1264
|
+
size doesn't matter"), the font fitted to the column; without any real figure the
|
|
1265
|
+
old terms stay. */}
|
|
1264
1266
|
{hasCreditKeyFigures(leaseKf) ? (
|
|
1265
1267
|
<div className="pp-sub-terms">
|
|
1266
|
-
<CreditKeyFigures t={t} figures={leaseKf} details={detailsLink('leasing')} cls="pp-ckf"
|
|
1268
|
+
<CreditKeyFigures t={t} figures={leaseKf} details={detailsLink('leasing')} cls="pp-ckf" />
|
|
1267
1269
|
</div>
|
|
1268
1270
|
) : hasLeasTerms && (
|
|
1269
1271
|
<div className="pp-sub-terms">
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bytebrand/fe-ui-core-autobahn",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.208",
|
|
4
4
|
"description": "auto.de md3 (Autobahn) design system — UI primitives, cards, chrome, VDP modules, theme CSS and locales. Ships raw TypeScript source (like fe-ui-core before it); each consumer's bundler compiles it.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"license": "UNLICENSED",
|
package/theme/md3.css
CHANGED
|
@@ -15662,10 +15662,10 @@ color: #005CFF;
|
|
|
15662
15662
|
font-size: inherit !important;
|
|
15663
15663
|
}
|
|
15664
15664
|
|
|
15665
|
-
/* ADV-405 (
|
|
15666
|
-
|
|
15667
|
-
the
|
|
15668
|
-
lines stays hidden. */
|
|
15665
|
+
/* ADV-405: CreditKeyFigures fit={false} (.ckf--flow) — the key figures in the host's own size as one
|
|
15666
|
+
wrapping paragraph. No host uses it since the client call of 19.11 ("2 lines everywhere, the font
|
|
15667
|
+
size doesn't matter": the SRL desktop column fits like the rest). Elsewhere the separator between
|
|
15668
|
+
the two lines stays hidden. */
|
|
15669
15669
|
.md3 .ckf:not(.ckf--flow) > .ckf-sep {
|
|
15670
15670
|
display: none !important; /* host dot rules (e.g. .ad-req-terms .cc-terms-dot) must not show it */
|
|
15671
15671
|
}
|