@bytebrand/fe-ui-core-autobahn 1.0.43 → 1.0.45
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/locales/de/autobahn.json +19 -10
- package/locales/en/autobahn.json +17 -8
- package/package.json +1 -1
- package/theme/md3.css +39 -2
- package/vdp/FinanceCalculator.tsx +622 -579
- package/vdp/VdpModules.tsx +182 -98
- package/vdp/index.ts +1 -0
package/locales/de/autobahn.json
CHANGED
|
@@ -488,10 +488,10 @@
|
|
|
488
488
|
"immediately": "Sofort verfügbar"
|
|
489
489
|
},
|
|
490
490
|
"tier": {
|
|
491
|
-
"top": "Top
|
|
491
|
+
"top": "Top-Preis",
|
|
492
492
|
"good": "Guter Preis",
|
|
493
|
-
"fair": "Fairer
|
|
494
|
-
"raised": "
|
|
493
|
+
"fair": "Fairer-Preis",
|
|
494
|
+
"raised": "Erhöhter Preis",
|
|
495
495
|
"high": "Hoher Preis"
|
|
496
496
|
},
|
|
497
497
|
"sort": {
|
|
@@ -528,13 +528,13 @@
|
|
|
528
528
|
}
|
|
529
529
|
},
|
|
530
530
|
"eco": {
|
|
531
|
-
"heading": "Umwelt & Verbrauch",
|
|
531
|
+
"heading": "Umwelt & Verbrauch*",
|
|
532
532
|
"stat": {
|
|
533
533
|
"powerConsumptionWeighted": "Stromverbrauch (gew.)",
|
|
534
534
|
"fuelConsumptionWeighted": "Kraftstoff (gew.)",
|
|
535
535
|
"fuelConsumptionDischarged": "Kraftstoff (entladen)",
|
|
536
536
|
"co2WeightedCombined": "CO₂ (gew., komb.)",
|
|
537
|
-
"consumptionCombined": "Verbrauch
|
|
537
|
+
"consumptionCombined": "Verbrauch (WLTP-kombiniert)",
|
|
538
538
|
"co2Emissions": "CO₂-Emissionen (WLTP)",
|
|
539
539
|
"co2Class": "CO₂-Klasse (WLTP)"
|
|
540
540
|
},
|
|
@@ -544,7 +544,8 @@
|
|
|
544
544
|
"energyClassWltpSuffix": "Energieeffizienzklasse nach WLTP · Angaben gem. Pkw-EnVKV*",
|
|
545
545
|
"energyClass": "Energieeffizienzklasse nach WLTP (kombiniert) · Angaben gem. Pkw-EnVKV*",
|
|
546
546
|
"weightedShort": "gew. komb.",
|
|
547
|
-
"dischargedShort": "entladen komb."
|
|
547
|
+
"dischargedShort": "entladen komb.",
|
|
548
|
+
"co2ClassScaleLabel": "CO₂-Klasse (WLTP-kombiniert)"
|
|
548
549
|
},
|
|
549
550
|
"description": {
|
|
550
551
|
"heading": "Fahrzeugbeschreibung",
|
|
@@ -570,7 +571,7 @@
|
|
|
570
571
|
},
|
|
571
572
|
"marketValue": {
|
|
572
573
|
"heading": "Marktwert-Einordnung",
|
|
573
|
-
"belowAverage": "{{rating}} — {{amount}} € unter
|
|
574
|
+
"belowAverage": "{{rating}} — {{amount}} € unter Marktwert"
|
|
574
575
|
},
|
|
575
576
|
"priceMarket": {
|
|
576
577
|
"heading": "Preis & Marktwert",
|
|
@@ -680,11 +681,19 @@
|
|
|
680
681
|
"ratePerMonth": "{{amount}} € /mtl.",
|
|
681
682
|
"totalAmount": "Gesamtbetrag",
|
|
682
683
|
"totalRepayment": "Gesamtrückzahlungsbetrag",
|
|
683
|
-
"legalLeasing": "
|
|
684
|
-
"legalFinancing": "
|
|
684
|
+
"legalLeasing": "Für Ihre Finanzierungswünsche stellen wir eine Bonitätsanfrage. Bonität vorausgesetzt, ist dies ein repräsentatives Berechnungsbeispiel gem. der Angaben, welches 2/3 aller Kunden, im Sinne des § 17a Abs. 4 PangV, erhalten. Dieses freibleibende Angebot der Santander Consumer Bank AG, Santander-Platz 1, 41061 Mönchengladbach wird vermittelt durch die auto.de GmbH, Max-Planck-Str. 19, 06796 Sandersdorf-Brehna, die als ungebundener Vermittler nicht beratend tätig ist. Irrtümer vorbehalten. Preise ggf. inkl. MwSt.",
|
|
685
|
+
"legalFinancing": "Für Ihre Finanzierungswünsche stellen wir eine Bonitätsanfrage. Bonität vorausgesetzt, ist dies ein repräsentatives Berechnungsbeispiel gem. der Angaben, welches 2/3 aller Kunden, im Sinne des § 17a Abs. 4 PangV, erhalten. Dieses freibleibende Angebot der Santander Consumer Bank AG, Santander-Platz 1, 41061 Mönchengladbach wird vermittelt durch die auto.de GmbH, Max-Planck-Str. 19, 06796 Sandersdorf-Brehna, die als ungebundener Vermittler nicht beratend tätig ist. Irrtümer vorbehalten. Preise ggf. inkl. MwSt.",
|
|
685
686
|
"sheetTitleFinancing": "Kredit-Rate anpassen",
|
|
686
687
|
"sheetTitleLeasing": "Leasing-Rate anpassen",
|
|
687
|
-
"sheetTitleCash": "Kaufen - Details"
|
|
688
|
+
"sheetTitleCash": "Kaufen - Details",
|
|
689
|
+
"exampleVehiclePrice": "Fahrzeugpreis",
|
|
690
|
+
"examplePriceSuffix": "ggf. inkl. anderer Services",
|
|
691
|
+
"exampleApr": "Effektiver Jahreszins",
|
|
692
|
+
"exampleNominal": "Sollzinssatz p. a. (gebunden für die gesamte Vertragslaufzeit)",
|
|
693
|
+
"exampleNet": "Nettodarlehensbetrag",
|
|
694
|
+
"exampleDown": "Anzahlung",
|
|
695
|
+
"exampleFinal": "Schlussrate",
|
|
696
|
+
"exampleGross": "Gesamtrückzahlungsbetrag"
|
|
688
697
|
},
|
|
689
698
|
"ratings": {
|
|
690
699
|
"showLess": "Weniger anzeigen",
|
package/locales/en/autobahn.json
CHANGED
|
@@ -491,7 +491,7 @@
|
|
|
491
491
|
"top": "Top price",
|
|
492
492
|
"good": "Good price",
|
|
493
493
|
"fair": "Fair price",
|
|
494
|
-
"raised": "Increased",
|
|
494
|
+
"raised": "Increased price",
|
|
495
495
|
"high": "High price"
|
|
496
496
|
},
|
|
497
497
|
"sort": {
|
|
@@ -528,13 +528,13 @@
|
|
|
528
528
|
}
|
|
529
529
|
},
|
|
530
530
|
"eco": {
|
|
531
|
-
"heading": "Environment & consumption",
|
|
531
|
+
"heading": "Environment & consumption*",
|
|
532
532
|
"stat": {
|
|
533
533
|
"powerConsumptionWeighted": "Power consumption (weighted)",
|
|
534
534
|
"fuelConsumptionWeighted": "Fuel (weighted)",
|
|
535
535
|
"fuelConsumptionDischarged": "Fuel (discharged)",
|
|
536
536
|
"co2WeightedCombined": "CO₂ (weighted, combined)",
|
|
537
|
-
"consumptionCombined": "Consumption
|
|
537
|
+
"consumptionCombined": "Consumption (WLTP combined)",
|
|
538
538
|
"co2Emissions": "CO₂ emissions (WLTP)",
|
|
539
539
|
"co2Class": "CO₂ class (WLTP)"
|
|
540
540
|
},
|
|
@@ -544,7 +544,8 @@
|
|
|
544
544
|
"energyClassWltpSuffix": "Energy efficiency class per WLTP · figures pursuant to the German Pkw-EnVKV*",
|
|
545
545
|
"energyClass": "Energy efficiency class per WLTP (combined) · figures pursuant to the German Pkw-EnVKV*",
|
|
546
546
|
"weightedShort": "wtd. comb.",
|
|
547
|
-
"dischargedShort": "depleted comb."
|
|
547
|
+
"dischargedShort": "depleted comb.",
|
|
548
|
+
"co2ClassScaleLabel": "CO₂ class (WLTP combined)"
|
|
548
549
|
},
|
|
549
550
|
"description": {
|
|
550
551
|
"heading": "Vehicle description",
|
|
@@ -570,7 +571,7 @@
|
|
|
570
571
|
},
|
|
571
572
|
"marketValue": {
|
|
572
573
|
"heading": "Market-value positioning",
|
|
573
|
-
"belowAverage": "{{rating}} — {{amount}} € below
|
|
574
|
+
"belowAverage": "{{rating}} — {{amount}} € below market value"
|
|
574
575
|
},
|
|
575
576
|
"priceMarket": {
|
|
576
577
|
"heading": "Price & market value",
|
|
@@ -680,11 +681,19 @@
|
|
|
680
681
|
"ratePerMonth": "{{amount}} € /mo.",
|
|
681
682
|
"totalAmount": "Total amount",
|
|
682
683
|
"totalRepayment": "Total repayment amount",
|
|
683
|
-
"legalLeasing": "
|
|
684
|
-
"legalFinancing": "
|
|
684
|
+
"legalLeasing": "We run a credit check for your financing request. Subject to creditworthiness, this is a representative example per § 17a (4) PangV received by 2/3 of all customers. This non-binding offer of Santander Consumer Bank AG, Santander-Platz 1, 41061 Mönchengladbach is brokered by auto.de GmbH, Max-Planck-Str. 19, 06796 Sandersdorf-Brehna, acting as an untied intermediary without advising. Errors excepted. Prices may incl. VAT.",
|
|
685
|
+
"legalFinancing": "We run a credit check for your financing request. Subject to creditworthiness, this is a representative example per § 17a (4) PangV received by 2/3 of all customers. This non-binding offer of Santander Consumer Bank AG, Santander-Platz 1, 41061 Mönchengladbach is brokered by auto.de GmbH, Max-Planck-Str. 19, 06796 Sandersdorf-Brehna, acting as an untied intermediary without advising. Errors excepted. Prices may incl. VAT.",
|
|
685
686
|
"sheetTitleFinancing": "Adjust credit rate",
|
|
686
687
|
"sheetTitleLeasing": "Adjust leasing rate",
|
|
687
|
-
"sheetTitleCash": "Purchase - Details"
|
|
688
|
+
"sheetTitleCash": "Purchase - Details",
|
|
689
|
+
"exampleVehiclePrice": "Vehicle price",
|
|
690
|
+
"examplePriceSuffix": "possibly incl. other services",
|
|
691
|
+
"exampleApr": "Effective annual rate",
|
|
692
|
+
"exampleNominal": "Nominal rate p.a. (fixed for the entire contract term)",
|
|
693
|
+
"exampleNet": "Net loan amount",
|
|
694
|
+
"exampleDown": "Down payment",
|
|
695
|
+
"exampleFinal": "Final installment",
|
|
696
|
+
"exampleGross": "Total repayment amount"
|
|
688
697
|
},
|
|
689
698
|
"ratings": {
|
|
690
699
|
"showLess": "Show less",
|
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.45",
|
|
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
|
@@ -1195,8 +1195,17 @@
|
|
|
1195
1195
|
border-radius: var(--md-r-full); font-size: 14px; font-weight: 700; line-height: 1; white-space: nowrap; }
|
|
1196
1196
|
.md3 .fin-eval-pill .lucide { flex: none; }
|
|
1197
1197
|
/* gradient spectrum bar + circle thumb — replaces opacity-segment design */
|
|
1198
|
-
|
|
1199
|
-
|
|
1198
|
+
/* segmented evaluation bar (Figma round 12/13: discrete tier segments, CONTINUOUS —
|
|
1199
|
+
no gaps; only the outer corners are rounded so the thumb can overflow) */
|
|
1200
|
+
.md3 .fin-eval-seg { flex: 1; height: 100%; border-radius: 0; }
|
|
1201
|
+
.md3 .fin-eval-seg:first-child { border-radius: 5px 0 0 5px; }
|
|
1202
|
+
.md3 .fin-eval-seg:last-child { border-radius: 0 5px 5px 0; }
|
|
1203
|
+
.md3 .fin-eval-bar { display: flex; gap: 0; overflow: visible; }
|
|
1204
|
+
.md3 .slider-bubble { position: absolute; top: 0; transform: translateX(-50%); z-index: 1;
|
|
1205
|
+
padding: 4px 10px; border: 1px solid var(--md-outline-variant); border-radius: 8px;
|
|
1206
|
+
background: var(--md-sc-lowest); box-shadow: var(--md-e1); font-size: 13px; font-weight: 700;
|
|
1207
|
+
white-space: nowrap; }
|
|
1208
|
+
.md3 .fin-eval-bar { position: relative; width: 100%; height: 9px; border-radius: 5px; }
|
|
1200
1209
|
.md3 .fin-eval-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%);
|
|
1201
1210
|
width: 17px; height: 17px; border-radius: 50%; background: #fff;
|
|
1202
1211
|
border: 3px solid currentColor; box-shadow: 0 1px 4px rgba(0,0,0,.3); pointer-events: none; }
|
|
@@ -1630,6 +1639,34 @@
|
|
|
1630
1639
|
.md3 .bb-cta-row .mbtn--outlined:not(.bb-adjust) { box-shadow: inset 0 0 0 1.5px var(--md-primary); }
|
|
1631
1640
|
/* mobile page is WHITE like the Figma master — beats the .vdp-tint inline gray */
|
|
1632
1641
|
.md3 .vdp-tint { background: var(--md-sc-lowest) !important; }
|
|
1642
|
+
/* ---- round 12 (9-screenshot review) ---- */
|
|
1643
|
+
/* Laufzeit chips = one-row segmented control (Figma), unit suffix hidden */
|
|
1644
|
+
.md3 .fin-sheet-terms .term-chips { display: flex; flex-wrap: nowrap; gap: 0;
|
|
1645
|
+
border: 1px solid var(--fig-border); border-radius: 10px; overflow: hidden; }
|
|
1646
|
+
.md3 .fin-sheet-terms .term-chip { flex: 1 1 0; min-width: 0; height: 46px; border: 0;
|
|
1647
|
+
border-left: 1px solid var(--fig-border); border-radius: 0; padding: 0; font-size: 14px; }
|
|
1648
|
+
.md3 .fin-sheet-terms .term-chip:first-child { border-left: 0; }
|
|
1649
|
+
.md3 .fin-sheet-terms .term-chip .tc-unit { display: none; }
|
|
1650
|
+
/* sheet: no divider under the header; one under the rate row instead (Figma) */
|
|
1651
|
+
.md3 .fin-modal-head { border-bottom: 0; padding-bottom: 8px; }
|
|
1652
|
+
.md3 .fin-sheet-adjust { border-top: 1px solid var(--fig-tile-border); padding-top: 16px; }
|
|
1653
|
+
/* sheet cash rows (Zahlung/Garantie/Lieferung) — Figma sizes (round 13: bigger still) */
|
|
1654
|
+
.md3 .fin-modal .calcrow { padding: 17px 0; }
|
|
1655
|
+
.md3 .fin-modal .calcrow-label { font-size: 15px; color: var(--fig-gray); }
|
|
1656
|
+
.md3 .fin-modal .calcrow-value { font-size: 16px !important; color: var(--fig-navy); font-weight: 700 !important; }
|
|
1657
|
+
/* breathing room at the sheet's bottom edge — content must not stick to the viewport lip */
|
|
1658
|
+
.md3 .fin-modal-body { padding-bottom: 44px; }
|
|
1659
|
+
/* condition tiles: Figma value size + roomier gap to the pills above */
|
|
1660
|
+
.md3 .zustand-tile .md-title-sm { font-size: 16.5px; }
|
|
1661
|
+
.md3 .vdp-header-extras .zustand-grid { margin-top: 10px; }
|
|
1662
|
+
/* enquiry: aside without background (Figma), blue-bordered active contact chip,
|
|
1663
|
+
underlined legal links */
|
|
1664
|
+
.md3 .enquiry-aside { background: transparent; border-bottom: 0; }
|
|
1665
|
+
.md3 .enquiry-form .chip--selected { box-shadow: inset 0 0 0 1.5px var(--md-primary);
|
|
1666
|
+
background: var(--fig-chip-bg); color: var(--md-primary); }
|
|
1667
|
+
.md3 .enq-consent a { text-decoration: underline; }
|
|
1668
|
+
/* HowItWorks: text column beside the circle (title above description) */
|
|
1669
|
+
.md3 .hiw-body { display: flex; flex-direction: column; min-width: 0; }
|
|
1633
1670
|
/* phone hero rate: 44px — with the € folded into the big span (round 11) 52px pushed the
|
|
1634
1671
|
stacked /mtl. unit onto a second line; 44px fits "143 €" + stack beside the rating column */
|
|
1635
1672
|
.md3 .fin-rate-main .num { font-size: 44px !important; letter-spacing: -1.2px !important; }
|